@charset "utf-8";

#contents{
    position: relative;
}

html,body{
    height: 100%;
}

.overflowHidden {
    overflow: hidden;
}

/* ヘッダー
--------------------- */
#header{
    display: flex;
    position: relative;
    z-index: 1;
}

.header-logo{
    width: 160px;
    height: auto;
    position: absolute;
    top: 60px;
    left: 60px;
}

#header-gnav{
    position:fixed;
    z-index: 999;
    top:0;
    right: -120%;
    width:100%;
    height: 100vh;
    background:#3D3D3D;
    transition: all 0.6s;
    font-family: var(--font-family-urw);
    display: flex;
}
/*アクティブクラスがついたら位置を0に*/
#header-gnav.panelactive{
    right: 0;
}
.header-gnav-img{
    width: 50%;
    background-image: url(../parts/img/header-gnav-img.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
}
.header-gnav-img a{
    position: absolute;
    width: 130px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
}
/*ナビゲーション*/
#header-gnav ul {
    width: 50%;
    margin-top: 15%;
}
/* メニューリストレイアウト設定 */
#header-gnav li{
    text-align: center;
    margin-bottom: 15px;
}
#header-gnav li a{
    color: #fff;
    text-decoration: none;
    /* padding:15px; */
    display: block;
    text-transform: uppercase;
    width: 100%;
    height: 50px;
}
/* メニューボタンCSS */
.header-gnav-openbtn{
    position:absolute;
    z-index: 9999;
    top: 50px;
    right: 40px;
    cursor: pointer;
    width: 32px;
    height:50px;
}
/* close*/  
.header-gnav-openbtn span{
    display: inline-block;
    transition: all .4s;
    position: absolute;
    height: 1px;
    border-radius: 2px;
    background-color: #111;
    width: 100%;
}
.header-gnav-openbtn span:nth-of-type(1) {
  top:22px; 
}
.header-gnav-openbtn span:nth-of-type(2) {
  top:31px;
}
.header-gnav-openbtn.active span:nth-of-type(1) {
    top: 18px;
    transform: translateY(6px) rotate(-45deg);
    width: 100%;
    background-color: #fff;
}
.header-gnav-openbtn.active span:nth-of-type(2){
    top: 30px;
    transform: translateY(-6px) rotate(45deg);
    width: 100%;
    background-color: #fff;
}


/* ページタイトル
--------------------- */
.contact-visual-area{
    background: url(../parts/img/contact-mv-01.png) center center no-repeat;
    background-size: cover;
    width: 100%;
    height: 520px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 100px;
}
.contact-page-ttl{
    font-size: 3.2rem;
    font-family: var(--font-family-urw);
}

/* 遅延フェードイン */
.fadein-delay {
    opacity: 0;
    animation-name: fadein-delay;
    animation-duration: 0.8s;
    animation-timing-function: ease;
    animation-delay:1.0s;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
 }
 @keyframes fadein-delay {
    0% {
       opacity: 0;
    }
    100% {
       opacity: 1;
    }
 }

.contact-page-ttl::after{
    display: block;
    content: '';
    position: absolute;
    bottom: -50px;
    left: 50%;
    width: 1px;
    height: 190px;
    background-color: #999999;
    animation: border_anim 0.8s linear forwards;
}

@keyframes border_anim {
	0%{
		height: 0;
	}
	100%{
		height: 190px;
	}
}


/* お問い合わせ先の選択
--------------------- */
.contact-selection {
    padding: 0 18%;
    margin-bottom: 120px;
}

.contact-selection h2 {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 2.2rem;
    font-weight: 400;
    text-align: center;
    margin-bottom: 20px;
}

.contact-selection-intro {
    text-align: center;
    margin-bottom: 44px;
}

.contact-selection-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
}

.contact-selection-option {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 36px 28px;
    border: 1px solid #808080;
    color: #111;
    background: #fff;
    text-decoration: none;
    transition: background-color .3s, border-color .3s;
}

.contact-selection-option:hover,
.contact-selection-option[aria-expanded="true"] {
    background: #f4f4f4;
    border-color: #111;
}

.contact-selection-option:focus-visible {
    outline: 2px solid #111;
    outline-offset: 5px;
}

.contact-selection-label {
    font-size: 2rem;
    font-weight: 400;
}

.contact-selection-description {
    font-size: 1.3rem;
}

.contact-selection-action {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-top: 16px;
    margin-top: auto;
    font-size: 1.2rem;
}

.contact-selection-arrow {
    position: relative;
    flex: 0 0 32px;
    height: 1px;
    background: currentColor;
    transition: transform .3s;
}

.contact-selection-arrow::after {
    position: absolute;
    top: -3px;
    right: 0;
    width: 6px;
    height: 6px;
    border-top: 1px solid currentColor;
    border-right: 1px solid currentColor;
    transform: rotate(45deg);
    content: '';
}

.contact-selection-option:hover .contact-selection-arrow {
    transform: translateX(4px);
}

.contactform-sec[hidden] {
    display: none;
}

[data-contact-form-content][hidden],
.contact-complete[hidden] {
    display: none;
}

#corporate-contact {
    scroll-margin-top: 48px;
}

.contact-complete {
    max-width: 720px;
    padding: 48px 40px;
    margin: 0 auto;
    border: 1px solid #808080;
    background: #f4f4f4;
    text-align: center;
    scroll-margin-top: 48px;
}

.contact-complete h3 {
    font-size: 2.4rem;
    font-weight: 400;
    white-space: pre-line;
    overflow-wrap: anywhere;
}

.contact-complete-home {
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 12px 28px;
    margin-top: 32px;
    border: 1px solid #111;
    color: #111;
    font-size: 1.3rem;
    text-decoration: none;
}

.contact-complete-home:hover {
    background: #fff;
}

.contact-complete-home:focus-visible {
    outline: 2px solid #111;
    outline-offset: 5px;
}

@media only screen and (max-width: 960px) {
    .contact-selection {
        padding: 0 8%;
        margin-bottom: 80px;
    }
}

@media only screen and (max-width: 559px) {
    .contact-selection h2 {
        font-size: 1.8rem;
    }

    .contact-selection-intro {
        font-size: 1.3rem;
        margin-bottom: 32px;
    }

    .contact-selection-options {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .contact-selection-option {
        padding: 28px 24px;
    }

    .contact-complete {
        padding: 32px 24px;
    }

    .contact-complete h3 {
        font-size: 2rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .contact-selection-option,
    .contact-selection-arrow {
        transition: none;
    }
}

/* フォーム
--------------------- */
.contactform-sec{
    padding: 0 18%;
    margin-bottom: 200px;
}
.contact-info{
    margin-bottom: 100px;
}
.contact-info h3{
    font-size: 2.2rem;
    font-family: var(--font-family-urw);
    text-align: center;
    margin-bottom: 40px;
}
.contact-info p{
    text-align: center;
}
.contact-info span{
    color: #C10000;
}
:focus {
    outline: none;
}
.contact-form-wrap{
    padding: 0 20%;
}
.form-row{
    margin: 0 auto 40px;
}
.row-privacy{
    text-align: center;
}
.privacy-link{
    border-bottom: 1px solid #808080;
}
.form-label{
    align-self: center;
}
.form-label span{
    font-size: 1.0rem;
    color: #C10000;
    padding-left: 5px;
}
.wpcf7-text{
    border: 1px solid #808080;
    padding: 0 20px;
    font-size: 1.5rem;
    border-radius: 0;
    box-sizing: border-box;
    height: 40px;
    width: 100%;
}
.wpcf7-textarea{
    border: 1px solid #808080;
    padding: 20px;
    font-size: 1.5rem;
    border-radius: 0;
    box-sizing: border-box;
    height: 300px;
    width: 100%;
}
.wpcf7-select{
    border: 1px solid #808080;
    padding: 0 20px;
    font-size: 1.5rem;
    border-radius: 0;
    box-sizing: border-box;
    height: 40px;
    width: 100%;
}
.form-ex{
    color: #3D3D3D;
    font-size: 0.9rem;
}
.wpcf7-confirm{
    cursor: pointer;
    background: #111;
    border: none;
    height: 50px;
    color: #fff;
    width: 200px;
    margin: 0 auto;
    font-weight: 100;
    font-size: 16px;
}

.wpcf7c-conf{
    background-color: #EAEAEA;
    color: #111;
    border: 1px solid #808080;
    font-size: 1.5rem;
}


/* チェックボックス */
.wpcf7 input[type=checkbox] {
    display: none;
}

.wpcf7 input[type=checkbox] + span {
    cursor: pointer;
    position: relative;
    margin: 0;
    padding: 0 1em 0 2.8em;
    font-size: inherit;
    box-sizing: border-box;
    transition: opacity .25s ease;
}

.wpcf7 input[type=checkbox] + span::before {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 1.5em;
    height: 1.5em;
    border: 1px solid #c3c3c3;
    background-color: #fefefe;
    box-sizing: border-box;
}

.wpcf7 input[type=checkbox] + span::after {
    content: "";
    opacity: 0;
    display: block;
    position: absolute;
    top: 0.2em;
    left: 0.5em;
    width: 0.4em;
    height: .8em;
    border-bottom: 3px solid #000;
    border-right: 3px solid #000;
    box-sizing: border-box;
    transform: rotate(40deg);
    transition: opacity .25s ease;
}

.wpcf7 input[type=checkbox]:checked + span {
    color: #4a4a4a;
    transition: all .25s ease;
}

.wpcf7 input[type=checkbox]:checked + span::before {
    opacity: 1;
    border: 1px solid #c3c3c3;
    background-color: #4a4a4a;
    transition: opacity .25s ease;
}

.wpcf7 input[type=checkbox]:checked + span::after {
    opacity: 1;
    border-bottom: 1px solid #fff;
    border-right: 1px solid #fff;
    transition: opacity .25s ease;
}

/* 送信ボタン */
.row-submit{
    margin-top: 60px;
}
.submit-btn{
    width: 500px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    justify-content: space-between;

}
.wpcf7 input[type="submit"]:disabled{
    cursor: not-allowed;
    box-shadow: none !important;
    border: 1px solid #f8f8f8 !important;
    background-color: #f8f8f8 !important;
    color: #929292 !important;
    border-radius: 0;
}
.wpcf7 input[type="submit"]:hover{
    background-color: #4a4a4a;
    color: #fff;
}
.wpcf7 input[type="button"]:hover{
    background-color: #4a4a4a;
    color: #fff;
}
.wpcf7 input[type="submit"]:focus{
    outline: 0;
    border: 1px #c3c3c3 solid;
    box-shadow: 0 0 2px 2px rgba(30, 30, 30, 0.1);
}
/* フォーム入力確認
--------------------- */
/* 枠線を消す */
input:-webkit-autofill.wpcf7c-conf {
    -webkit-box-shadow: 0 0 0px 1000px #fff inset !important;
    border: none !important;
    background: #fff !important;
    font-size: 1.5rem;
}
input:-webkit-autofill.wpcf7c-conf:focus {
    border: none !important;
}
.wpcf7c-conf {
    background: #fff !important;
    border-color: #fff !important;
}
.wpcf7c-conf:focus {
    border-color: transparent !important;
}
.custom-wpcf7c-confirmed select{
    color: #000;
}
.custom-wpcf7c-confirmed span.form-ex{
    display: none;
}
/* 戻るボタン */
.wpcf7-back {
    cursor: pointer;
    width: 200px;
    height: 50px;
    box-shadow: none;
    border: 1px #a5a5a5 solid;
    border-radius: 0;
    background-color: #a5a5a5;
    color: #fff;
    font-size: 16px;
    font-weight: 100;
    text-align: center;
    box-sizing: border-box;
    transition: all .25s;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    margin-bottom: 20px;
}
.wpcf7-submit{
    cursor: pointer;
    width: 200px;
    height: 50px;
    box-shadow: none;
    border: 1px #111 solid;
    border-radius: 0;
    background-color: #111;
    color: #fff;
    font-size: 16px;
    font-weight: 100;
    text-align: center;
    box-sizing: border-box;
    transition: all .25s;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    margin-bottom: 20px;
}

.wpcf7 form.sent .wpcf7-response-output{
    padding: 30px;
    margin-bottom: 20px;
    border: 3px solid #5582c6;
    border-radius: 10px;
    text-align: center;
    border-color: #5582c6 !important;
    color:#5582c6;
}
.wpcf7 form.invalid .wpcf7-response-output {
    padding: 30px;
    margin-bottom: 20px;
    border: 3px solid #c65556;
    border-radius: 10px;
    text-align: center;
    border-color: #c65556 !important;
    color:#c65556;
}





/* TB 560px ~ 959px
--------------------- */
@media only screen and (max-width: 960px) {

    /* ヘッダー
    --------------------- */
    .header-logo{
        left: 30px;
    }

    .header-gnav-openbtn {
        top: 50px;
    }

    /* フォーム
    --------------------- */
    .contactform-sec{
        padding: 0 8%;
        margin-bottom: 150px;
    }
    .contact-form-wrap {
        padding: 0 10%;
    }
}

/* SP ~559px
--------------------- */
@media only screen and (max-width: 559px) {

    .pc{
        display: none;
    }

    /* ヘッダー
    --------------------- */
    .header-gnav-openbtn {
        top: 20px;
    }
    .header-logo {
        width: 100px;
        top: 30px;
    }

    .header-gnav-img{
        display: none;
    }
    #header-gnav ul{
        width: 100%;
    }


    /* フォーム
    --------------------- */
    .contact-info {
        margin-bottom: 80px;
    }
    .contact-info p {
        text-align: left;
    }
    .contact-form-wrap {
        padding: 0;
    }
    .submit-btn{
        width: 320px;
    }
    .wpcf7-back {
        width: 120px;
    }
    .wpcf7-submit{
        width: 120px;
    }
}

/* SP ~400px
--------------------- */
@media only screen and (max-width: 400px) {
    /* ヘッダー
    --------------------- */
    .header-gnav-openbtn {
        top: 20px;
    }
}
