/*
Theme Name: STALDIA
Theme URI: 
Author: STALDIA
Author URI: https://staldia.com/
Description: The theme to SEO and usability.
Version: 1.00
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: staldia
Tags: responsive, accessibility-ready
*/

/* common */
.stl-back-white-vertical-gradient{background: linear-gradient(180deg, #fff, var(--off-white));}
.stl-back-gray-white-vertical-gradient{background: linear-gradient(0deg, #fff, var(--off-white));}
.stl-back-off-white{background: var(--off-white);}
.stl-back-black{background: #000;}
.stl-back-white{background: #fff;}
.stl-title-inner{
    position: relative;
    display: inline-block;
}

/* breadcrumb */
.stl-breadcrumb-nav{
    width: 100%;
    overflow: auto;
}
.stl-breadcrumb-list{
    display: flex;
    flex-wrap: nowrap;
    gap: 1.5em;
    padding: 1em 0;
}
.stl-breadcrumb-item{
    position: relative;
    white-space: nowrap;
}
.stl-breadcrumb-item:before{
    content: "";
    position: absolute;
    width: .5em;
    height: .5em;
    border-right: 2px solid;
    border-top: 2px solid;
    border-color: rgb(var(--stl-accent-rgb));
    top: 50%;
    right: 100%;
    transform: translate(-.6em, -50%) rotate(45deg);
}
.stl-breadcrumb-item:first-of-type:before{display: none;}
.stl-breadcrumb-link{
    display: block;
    height: 100%;
    font-size: 14px;
    min-width: 1.5em;
    padding: .25em;
}
.stl-breadcrumb-home-icon{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    height: 1em;
    object-fit: contain;
}

/* contact-form */
.stl-form-container{
    position: relative;
    background: var(--off-white);
    color: #555;
    overflow: hidden;
}
.stl-form-title{
    position: absolute;
    font-size: 13.43vw;
    font-weight: 700;
    top: -.125em;
    left: -.05em;
    line-height: .9;
    letter-spacing: .2em;
    opacity: .7;
    white-space: nowrap;
}
.stl-form-title:after{
    content: ".";
    color: rgb(var(--stl-accent-rgb));
    font-size: .8em;
}
.stl-form{
    display: grid;
    padding: 15vw 7vw 7vw;
    gap: 2em 0;
    max-width: 850px;
    margin: auto;
}
.stl-form-item{
    display: grid;
    gap: .5em 2em;
}
.stl-form-label{padding: .75em 0;}
.stl-form-label-text{
    position: relative;
    display: inline-block;
    letter-spacing: .125em;
}
.stl-form-label-text:before{
    content: "任意";
    background: #000;
    font-size: 12px;
    padding: .25em .5em;
    border-radius: 5px;
    top: 50%;
    left: 100%;
    color: #fff;
    transform: translate(1em, -50%);
    white-space: nowrap;
    margin-right: 1em;
}
.stl-form-required-item .stl-form-label-text:before{
    content: "必須";
    background: rgb(var(--stl-accent-rgb));
}
.stl-form-field, .stl-form-detail-field{
    background: #fff;
    padding: .75em;
    width: 100%;
}
.stl-form-field::placeholder, .stl-form-detail-field::placeholder{color: #ccc;}
.stl-form-highlight{border: 2px solid red;}
.stl-form-select-wrap{
    position: relative;
    background: #fff;
    z-index: 1;
}
.stl-form-select-wrap:before{
    content: "";
    position: absolute;
    width: .4em;
    height: .4em;
    border-top: 2px solid #555;
    border-right: 2px solid #555;
    top: 50%;
    right: .5em;
    transform: translateY(-55%) rotate(135deg);
    z-index: -1;
}
.stl-form-select{
    padding-right: 1.5em;
    width: 100%;
    background: transparent;
}
.stl-form-textarea{
    resize: vertical;
    min-height: 6em;
    line-height: 1.6;
}
.stl-form-detail-item{
    margin: 1em 0;
    display: none;
}
.stl-form-submit-button{
    padding: .75em 0;
    background: #000;
    color: #fff;
    text-align: center;
    width: 10em;
    margin: 2em auto 0;
    transition: .5s;
}
.stl-form-submit-button:hover{background: #555;}
.stl-form-submit-button:disabled{background: #aaa;}
.stl-form-error-text{
    font-weight: 700;
    color: red;
    line-height: 1.6;
}
.stl-form-hp{display: none;}
.stl-form-loading-fixed{
    position: fixed;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .6);
    z-index: 20000;
    top: 0;
    left: 0;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    display: none;
}
.stl-form-loading-text{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.stl-form-loading-text:before{
    content: "送信中...";
    color: #fff;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, calc(-50% - 1em));
}
.stl-form-loading-indicator{
    position: absolute;
    width: 100%;
    height: 1em;
    top: 50%;
    left: 0;
    transform: translateY(1em);
}
.stl-form-loading-indicator-inner{
    position: absolute;
    width: 1em;
    height: 1em;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.stl-form-loading-indicator-inner:first-of-type{transform: translate(calc(-50% - 1.5em), -50%);}
.stl-form-loading-indicator-inner:last-of-type{transform: translate(calc(-50% + 1.5em), -50%);}
.stl-form-loading-indicator-inner:before, .stl-form-loading-indicator-inner:after{
    content: "";
    position: absolute;
    width: .4em;
    height: .4em;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(var(--stl-accent-rgb));
    border-radius: 50%;
}
.stl-form-loading-indicator-inner:after{animation: stlFormIndicator 1.5s ease 0s infinite forwards;}
.stl-form-loading-indicator-inner:first-of-type:after{animation-delay: -1s;}
.stl-form-loading-indicator-inner:nth-of-type(2):after{animation-delay: -.5s;}
@keyframes stlFormIndicator{
    0%{
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
    40%{opacity: 1;}
    80%{
        transform: translate(-50%, -50%) scale(3);
        opacity: 0;
    }
    100%{
        transform: translate(-50%, -50%) scale(3);
        opacity: 0;        
    }
}
@media(max-width: 575px){
    .stl-form{padding-top: 25vw;}
}
@media(min-width: 576px){
    .stl-form-item{grid-template-columns: 12em 1fr;}
}
@media(min-width: 992px){
    .stl-form{padding-top: 7vw;}
    .stl-form-title{
        top: -.05em;
        left: 0;
        font-size: calc((40.55em + 14vw) / 7.45);
        writing-mode: vertical-lr;
    }
}

/* footer */
.stl-footer{
    background: #000;
    color: #fff;
}
.stl-footer-main{
    display: grid;
    gap: 5vw;
    padding: 7vw 5vw 5vw;
}
.stl-footer-siteinfo-section{text-align: center;}
.stl-footer-logo-wrap{
    width: 30%;
    min-width: 100px;
    margin: auto;
}
.stl-footer-logo-link{padding: 1em;}
.stl-footer-logo-img{
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.stl-footer-siteinfo-wrap{
    text-align: left;
    display: inline-block;
    font-size: 14px;
}
.stl-footer-sitename{padding: 1em 0;}
.stl-footer-siteinfo-content{line-height: 1.6;}
.stl-footer-menu{
    display: grid;
    grid-template-columns: 1fr 1fr;
}
.stl-footer-menu a{
    display: grid;
    padding: 1em;
    line-height: 1.6;
    white-space: nowrap;
}
.stl-footer-menu-item-ja{font-size: 12px;}
.stl-footer-menu-item-en{
    position: relative;
    order: -1;
}
.stl-footer-menu-item-en:before, .stl-footer-menu-item-en:after{
    content: "";
    position: absolute;
    width: .4em;
    height: .4em;
    top: 50%;
    left: 0;
    transform: translate(-1em, -50%);
    background: rgb(var(--stl-accent-rgb));
    border-radius: 50%;
}
.stl-footer-menu-item-en:before{
    transform: translate(-1em, -50%) scale(0);
}
.stl-footer-menu a:hover .stl-footer-menu-item-en:before{
    animation: stlFooterNavHoverEffect 1s ease 0s infinite forwards;
}
@keyframes stlFooterNavHoverEffect{
    0%{
        transform: translate(-1em, -50%) scale(1);
        opacity: 1;
    }
    50%{opacity: 1;}
    100%{
        transform: translate(-1em, -50%) scale(3);
        opacity: 0;
    }
}
.stl-footer-contact-list{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5em;
    margin-top: 1em;
}
.stl-footer-contact-item{width: 3em;}
.stl-footer-contact-link{
    padding: .75em;
    border: 1px solid;
    border-radius: 50%;
    border-color: #fff;
    transition: .3s;
}
.stl-footer-contact-link:hover{border-color: rgb(var(--stl-accent-rgb));}
.stl-footer-contact-icon{
    width: 100%;
    height: 100%;
    transition: .3s;
}
.stl-footer-contact-link:hover .stl-footer-contact-icon{opacity: .8;}
.stl-footer-copyright{
    font-size: 12px;
    text-align: right;
    padding: 2em;
}
/* SP */
@media(max-width: 575px){
    .stl-footer-menu{
        width: 80%;
        margin: auto;
    }
    .stl-footer-copyright{text-align: center;}
}
/* Tab&PC */
@media(min-width: 576px){
    .stl-footer-main{grid-template-columns: 1fr 1fr 1fr;}
}
/* PC */
@media(min-width: 992px){
    .stl-footer-copyright{padding-right: 2.5em;}
}