@import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville&family=Noto+Serif+JP&display=swap');

body {
    font-family: 'Noto Sans JP', 'メイリオ', 'Meiryo', 'ＭＳＰゴシック', 'Hiragino Kaku Gothic Pro', 'ヒラギノ角ゴ Pro W3', sans-serif;
    ;
    color: #323232;
    background-color: #EDEEF0;
    line-height: 1.8;
    margin: 0;
    padding: 0;
}


a {
    text-decoration: none;
    color: #323232;

}

a:hover {
    opacity: 0.7;
}
img{
    display: block;
}
.container {
    margin-right:auto;
    margin-left:auto;
    max-width: 1200px;
    padding: 0 15px;
    position: relative;
    width: 100%;
    
}

.section {
    padding: 80px 0;

}

.section-title {
    font-size: 30px;
    padding: 30px 0;
    margin-bottom: 20px;
    text-align: center;
    background-color: #ffffff;
    transform: translate(0, 50%);
    transition: 2s;
    opacity: 0;
}
/* ↓loading用 */
/* 背景固定 */
#splash{
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 999;
    text-align: center;
    color: #ffffff;
}
/* Loading画像中央配置 */
#splash_text{
    position: absolute;
    top:50%;
    left: 50%;
    z-index: 999;
    transform: translate(-50%,-50%);
    color:#ffffff;
    width: 100%;
}
/* 割れる画面アニメ */
.loader_cover{
    width: 100%;
    height: 50%;
    background: #333;
    transition: all .2s cubic-bezier(.04, .435, .315, .9);
    transform: scaleY(1);
}

/* 上の画面 */
.loader_cover-up{
    transform-origin: center top;
}
/* 下の画面 */
.loader_cover-down{
    position: absolute;
    bottom:0;
    transform-origin:center bottom;
}
/* クラスを付けたら動く */
.coveranime{
    transform:scaleY(0);
}
#header {
    transition: 2s;
    position: fixed;
    top:0;
    left: 0;
    width: 100%;
    z-index: 998;
    padding: 0 15px;
}
.header-flex{
    display: flex;
    justify-content: space-between;
}

#wrapper{
    position: relative;
    max-width: 100%;
}
.home{   
    margin: 0 auto;
}

.main-logo a{
    display: block;
}

.main2 {
    display: none;
}

.header-nav {
    margin-top: 20px;
}

.header-nav ul {
    display: flex;
    padding: 0;

}

.header-nav li {
    list-style: none;
    margin-right: 30px;
}


.header-nav a {
    color: #323232;
}

.header-nav a span {
    border: 1px solid #ffffff;
    margin: 0 40px;
}
.header-nav.scroll-nav a{
    color:#323232;
}


/* ヘッダーcontact area*/
.header-contact-box{
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #356f92;
    background-image: linear-gradient(43deg, #356f92 0%, #266fa1 46%, #046fc3 100%);
    
}
.header-contact-btn_set{
    display: flex;
    flex-direction: column;
    align-items: center;
}
.header-contact-btn_txt{
    font-size: 13px;
    margin-top:8px;
    color:#ffffff;
}


/* headerをスクロールして変化させる */
#header.scroll-nav {
    background-color: #ffffff;
    height: 100px;

}

/* トップ */
.mv-area{
    position: relative;
    padding: 12.428571vw 0;
    height: 100vh;
}
.mv-area__inner{
    position: relative;
    display: flex;
    justify-content: center;
}

.top {
    height: auto;
    position: relative;
    opacity: 0;
    transition: 3s;
}

.mainBtn {
    display: flex;
    justify-content: center;
    margin-top: 100px;

}

.mainBtn a {
    font-weight: bold;
    font-size: 20px;
    color: #ffffff;


}


/* トップのスクロール */
.mainScroll {
    position: absolute;
    left: 50%;
    bottom: 10px;
    height: 50px;

}

.mainScroll span {
    color: #ffffff;
    letter-spacing: 0.1em;
    position: absolute;
    font-size: 0.7em;
    left: -15px;
    right: -15px;
    bottom:50px;


}

.mainScroll::after {
    content: "";
    /*描画位置*/
    position: absolute;
    top: 0;
    /*線の形状*/
    width: 1px;
    height: 30px;
    background: #eee;
    /*線の動き1.4秒かけて動く。永遠にループ*/
    animation: pathmove 1.4s ease-in-out infinite;
    opacity: 0;
}

/*高さ・位置・透過が変化して線が上から下に動く*/
@keyframes pathmove {
    0% {
        height: 0;
        top: 0;
        opacity: 0;
    }

    30% {
        height: 30px;
        opacity: 1;
    }

    100% {
        height: 0;
        top: 50px;
        opacity: 0;
    }
}


/* inviewで動かす */
.header-flex.show {
    opacity: 1;
}

.menu-trigger.show {
    opacity: 1;
}

.section-title.show {
    transform: translate(0, 0);
    opacity: 1;

}

.top.show {
    opacity: 1;
}

/* 来店特典エリア */

.benefits {
    margin-bottom: 20px;
    opacity: 0;
    transform: translate(0, 50%);
    transition: 2s;
}

/* inview で動かす*/
.benefits.show {
    opacity: 1;
    transform: translate(0, 0);
}
.benefits-bnr-pc{
    margin: 0 auto;
    display: block;
}
.benefits-bnr-sp{
    display: none;
}

/* 問題提起・共感エリア */
.problem {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 30px;
    transform: translate(0, 100%);
    transition: 2s;
    opacity: 0;
}

/* inviewで動かす */
.problem.show {
    transform: translate(0, 0);
    opacity: 1;
}

.problem h2 {
    font-size: 32px;

}

.sympathy {
    margin: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    transform: translate(0, 50%);
    transition: 2s;
    opacity: 0;
    max-width: 600px;
}

.sympathy p {
    font-size: 21px;
    letter-spacing: 0.2em;
    color: #386F91;
}

/* inviewで動かす */
.sympathy.show {
    opacity: 1;
    transform: translate(0, 0);
}

/* 建築家マッチングスタジオ */
.studio.section {
    background-color: #ffffff;
}

.architectArea {
    transform: translate(0, 25%);
    transition: 3s;
    opacity: 0;
}

/* inviewで動かす */
.architectArea.show {
    opacity: 1;
    transform: translate(0, 0);
}

.architectArea  p {
    text-align: justify;
}

.architect-txt{
    max-width: 600px;
    margin: 0 auto;

}
.advisor {
    background-color: #EDEEF0;
    color: rgb(210, 105, 30);
    font-size: 21px;
    text-align: center;
}
.house{
    width: 100%;
}
.architects {
    padding-top: 20px;
    margin: 50px 0;
    display: flex;
    justify-content: space-evenly;
}

.architects-item {
    width: 30%;
}

.architects-title {
    font-weight: bold;
    font-size: 18px;
    letter-spacing: 0.2em;
    text-align: center;
}

.explanation-subtitle {
    color: rgb(210, 105, 30);
    font-size: 18px;
    letter-spacing: 0.2em;
    margin: 5px;
}

.architect {
    display: flex;
    padding-top: 15px;
}

.architect img {
    width: 30%;
}

.architect p {
    margin: 0 10px;
    font-size: 16px;
}

.architect span {
    font-size: 17px;
    font-weight: bold;
    letter-spacing: 0.2em;
}

/* マッチングカウンター山田 */
.matchingCounter {
    display: flex;
    justify-content: flex-end;
    position: relative;
    margin-top:30px ;
}

.matchingCounter-img {
    width: 50%;
    transform: translate(50%, 0);
    transition: 2s;
    opacity: 0;
    z-index: -1;

}

/* inviewで動かす */
.matchingCounter-img.show {
    transform: translate(0, 0);
    opacity: 1;

}

.explanation {
    background-color: #fff;
    position: absolute;
    left: 120px;
    top: 20px;
    transform: translate(0, 50%);
    transition: 2s;
    opacity: 0;
    max-width: 500px;
    padding: 75px 60px;
}

.explanation p {
    margin: 5px;
    text-align: justify;
}

.explanation-title {
    color: #386F91;
    font-size: 20px;
}

/* inviewで動かす */
.explanation.show {
    opacity: 0.8;
    transform: translate(0, 0);
}
.matching-txt{
    max-width: 600px;
    margin: 30px auto;
    padding-top: 40px;
    transform: translate(0, 50%);
    transition: 2s;
    opacity: 0;
}
.matching-txt.show{
    opacity: 1;
    transform: translate(0,0);
}
/* カウンター紹介 */
.counter h2 {
    background-color: #ffffff;
    text-align: center;
    letter-spacing: 0.2em;
}

.infection {
    width: 60%;
    margin: auto;
    margin-top: 100px;
    display: block;
    padding: 10px;
    transform: translate(0, 50%);
    transition: 3s;
    opacity: 0;
}

/* inviewで動かす */
.infection.show {
    transform: translate(0, 0);
    opacity: 1;
}

.hamamatsu-counter {
    width: 30%;
}

.counters {
    display: flex;
    justify-content: space-evenly;
    margin: auto;
    margin-top: 80px;
    transform: translate(0, 25%);
    transition: 3s;
    opacity: 0;

}

.counter-item {
    display: flex;
    flex-direction: column;
    align-items: center;

}

.counter-item-title {
    font-size: 21px;
    font-weight: bold;
}

.counter-item img {
    width: 100%;
    margin: 0 0 20px;
}


.address p {
    text-align: left;
    margin: 0;
}

/* inviewで動かす */
.counters.show {
    opacity: 1;
    transform: translate(0, 0);
}

/* マッチングステップ共通 */


/* inviewで動かす */
.step-item1.show {
    opacity: 1;
    transform: translate(0, 0);
    z-index: 3;
}

.step-item2.show {
    opacity: 1;
    transform: translate(0, 0);
    z-index: 2;

}

.step-item3.show {
    opacity: 1;
    transform: translate(0, 0);
    z-index: 1;
}

.step-item4.show {
    opacity: 1;
    transform: translate(0, 0);
}


/* マッチングステップ */
.steps li{
    text-align: left;
}
.steps p{
    width: 100%;
    text-align: left;
}
.step-title{
    font-size: 28px;
    line-height:1.6;
    text-decoration: underline 12px #FFE600;
    text-underline-offset:2px;
    font-size: 28px;
}
.subTitle{
    font-size:18px;
}
.subTitle span{
    color: rgb(210, 105, 30);
    padding: 5px;
    display: block;
}
.step-item1 {
    display: flex;
    justify-content: center;
    transform: translate(0, 50%);
    transition: 3s;
    opacity: 0;
    width: 100%;
    padding:50px 0 0 0;
    margin-bottom:45px;
}
.step-inner1{
    max-width: 450px;
    background-color: #dadada;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align:center;
    padding: 40px 60px;
    border-radius:50px;
    position: relative;
}
.nmb01{
    position: absolute;
    top:-35px;
    left:15px;
}
.step-tel{
    display: flex;
    gap: 8px;
    text-decoration: none;
    margin-bottom:15px;
    align-items: center;
    text-align: left;
    width: 100%;
}
.step-form{
    display: flex;
    gap: 8px;
    text-decoration: none;
    margin-bottom:15px;
    align-items: center;
    text-align: left;
    width: 100%;
}

.step-item2 {
    display: flex;
    justify-content: center;
    transform: translate(0, 50%);
    transition: 3s;
    opacity: 0;
    width: 100%;
    padding:50px 0 0 0;
    margin-bottom:45px;
}
.step-inner2{
    max-width: 450px;
    background-color: #f4f5f7;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align:center;
    padding: 40px 60px;
    border-radius:50px;
    position: relative;
}
.nmb02{
    position: absolute;
    top:-35px;
    right:15px;
}
.step-item3 {
    display: flex;
    justify-content: center;
    transform: translate(0, 50%);
    transition: 3s;
    opacity: 0;
    width: 100%;
    padding:50px 0 0 0;
    margin-bottom:45px;
}
.step-inner3{
    max-width: 450px;
    background-color: #dadada;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align:center;
    padding: 40px 60px;
    border-radius:50px;
    position: relative;
}
.nmb03{
    position: absolute;
    top:-35px;
    left:15px;
}
.step-item4 {
    display: flex;
    justify-content: center;
    transform: translate(0, 50%);
    transition: 3s;
    opacity: 0;
    width: 100%;
    padding:50px 0 0 0;
    margin-bottom:45px;
}
.step-inner4{
    max-width: 450px;
    background-color: #f4f5f7;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align:center;
    padding: 40px 60px;
    border-radius:50px;
    position: relative;
}
.nmb04{
    position: absolute;
    top:-35px;
    right:15px;
}

/* YAMADAが選ばれる理由 */
.choices {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    align-items: center;
    transform: translate(0, 50%);
    transition: 3s;
    opacity: 0;
    padding: 80px 0;
}
.choices p{
    text-align: left;
}
.choice-item1 {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 20px;
    max-width: 300px;
}

.choice-item2 {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 20px;
    max-width: 300px;

}

.choice-item3 {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 20px;
    max-width: 300px;
}


.choice-item4 {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 20px;
    max-width: 300px;
}
.choice-item5 {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 20px;
    max-width: 300px;
}

/* inviewで動かす */
.choices.show {
    transform: translate(0, 0);
    opacity: 1;
}

.choices2.show {
    transform: translate(0, 0);
    opacity: 1;
}


/* お客様との約束 */
.promise {
    margin: auto;
    margin-top: 80px;
    margin-bottom: 50px;
    transform: translate(0, 50%);
    transition: 3s;
    opacity: 0;
    text-align: center;
}
.promise img{
    margin: auto;
}
.promise-sub{
    font-size: 21px;
    color:rgb(210, 105, 30);;
}
.promise p{
    font-size: 16px;
}

/* inviewで動かす */
.promise.show {
    transform: translate(0, 0);
    opacity: 1;
}


/* フォームテーブル共通設定 */
form {
    margin-bottom: 100px;
    transform: translate(0, 25%);
    transition: 2s;
    opacity: 0;
}

form table {
    background-color: #f4f5f7;
    width: auto;
    margin: auto;
    margin-top: 30px;

    border: none;


}

.formHeading, .tableFlex {
    padding: 13px 10px;
    border-bottom: 1px solid darkgray;

}

form th {
    font-size: 20px;
    text-align: left;
    vertical-align: top;
}


form table span {
    background-color: rgb(210, 105, 30);
    color: #ffffff;
    font-size: 15px;
    margin: 0 30px;
    display:flex;
    justify-content: center;
    align-items: center;
    max-height: 24px;
    max-width: 36px;
    width: 100%;
}

.tableFlex {
    display: flex;
}

.tableBox {
    height: 40px;

}

/* お名前 */
.name {

    width: 210px;
}


/* 郵便 */
.post {
    height: 30px;
}


/* 住所 */
.address {

    width: 100%;
}


/* 電話番号 */
.tel {
    width: 210px;
}


/* メールアドレス */
.email {

    width: 210px;
}

.emailArea {
    display: flex;
}

/* 家づくりの状況 */

.others {

    width: 210px;
    margin: 10px;
}

/* ご質問など */
.question {
    display: flex;
    justify-content: space-around;
    justify-content: flex-start;
    align-items: baseline;
}

textarea {
    margin: 20px;
    width: 600px;
    height: 200px;

}

/* テーブルボタン設定 */
.formBtn {
    margin: auto;
    color: #ffffff;
    font-size: 20px;
    width: 250px;
    height: 80px;
    background-color: #387397;
    border: none;
    display: block;
    margin-top: 30px;

}

.formBtn:hover {
    opacity: 0.7;
}

/* inviewで動かす */
.formArea.show {
    transform: translate(0, 0);
    opacity: 1;
}

/* フォーム下のナビ */
.nav2 {
    display: flex;
    justify-content: center;
    margin: auto;
}


.mainLogo {
    width: 50%;
}

.nav2-logo {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-right:30px;
}

.nav2-logo a {
    display: block;
    text-align: center;
}

.under-nav li {
    list-style: none;
    line-height: 36px;
}

.nav2 hr {
    margin: 0;
}

.socialBtn2 {
    width: 45px;
    height: 45px;
    background-color: #ffffff;
    opacity: 0.7;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;

}

.socialBtn2:hover {
    opacity: 0.9;
}

.socialBtn2 img {
    width: 50%;
}

/* フッター */
.copyright {
    display: flex;
    justify-content: flex-end;
}

/* リターンボタン */
.top-link {
    width: 50px;
    height: 50px;
    position: fixed;
    right: 10px;
    bottom:10px;
    z-index: 999;
    background-color: #356f92;
    background-image: linear-gradient(43deg, #356f92 0%, #266fa1 46%, #046fc3 100%);

}
.top-link a{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}
/* フッターメニュー */
/*メニューをページ下部に固定*/
#sp-fixed-menu{
   position: fixed;
   width: 100%;
   bottom: 0px;
   font-size: 0;
   opacity: 0.9;
   z-index: 99;
}

/*メニューを横並びにする*/
#sp-fixed-menu ul{
   display: flex;
   list-style: none;
   padding:0;
   margin:0;
   width:100%;
}

#sp-fixed-menu li{
   justify-content: center;
   align-items: center;
   width: 50%;
   padding:0;
   margin:0;
   font-size: 14px;
   border-right: 1px solid #fff;
}

/*左側メニューの色*/
#sp-fixed-menu li:first-child{
    background-color: #356f92;
    background-image: linear-gradient(43deg, #356f92 0%, #266fa1 46%, #046fc3 100%);

}

/*右側メニューの色*/
#sp-fixed-menu li:last-child{
   background: rgb(210, 105, 30);
}

/*ボタンを調整*/
#sp-fixed-menu li a{
   color: #fff;
   text-align: center;
   display:block;
   width: 100%;
   padding:20px;
}




@media screen and (max-width:1200px){
    .sympathy{
        flex-direction: column;
    }

}
@media screen and (max-width:1000px){
       .header-nav a {
    font-size: 12px;
    }
    .header-contact-box{
        width: 80px;
        height: 80px;
    }
    .header-contact-btn_txt{
        font-size: 11px;
    } 
}


/* レスポンシブデザイン：スマートフォン375px以上 */
@media screen and (min-width:375px) {
    #wrapper{
        box-sizing: border-box;
        overflow: hidden;
    }
    #header{
        background: #ffffff;
        height: auto;
    }
    #header.scroll-nav{
        height: auto;
    }
    .home-mv-slider__item .pc{
        display: none;
    }
   
    .header-flex{
        padding: 0;
    }
    .main-logo{
        padding: 10px 0;
    }
    .mv-area{
        padding: 48.428571vw 0;
    }
    .mv-area-ttl-box .pc{
        display: none;
    }
    .main1{
        max-width: 150px;
    }

    .header-flex.scroll-nav {
        height: 40px;
    }

    .header-nav {
        display: none;
    }

    /* ハンバーガーメニュー */
    .menu-trigger {
        width: 50px;
        height: 50px;
        position: absolute;
        right: 8px;
        top: 6px;
        z-index: 1;
        opacity: 0;
        transition: 3s;
        background-color: #356f92;
        background-image: linear-gradient(43deg, #356f92 0%, #266fa1 46%, #046fc3 100%);

    }


    .ham-item1 {
        background-color: #ffffff;
        width: 50%;
        height: 3px;
        position: absolute;
        top: 8px;
        left: 50%;
        transform: translateX(-50%);
        -webkit-transform: translateX(-50%);
         -ms-transform: translateX(-50%);
    }

    .ham-item2 {
        background-color: #ffffff;
        width: 50%;
        height: 3px;
        position: absolute;
        top: 18px;
          left: 50%;
        transform: translateX(-50%);
        -webkit-transform: translateX(-50%);
        -ms-transform: translateX(-50%);
    }

    .ham-item3 {
        background-color: #ffffff;
        width: 50%;
        height: 3px;
        position: absolute;
        top: 28px;
          left: 50%;
        transform: translateX(-50%);
        -webkit-transform: translateX(-50%);
        -ms-transform: translateX(-50%);
    }
    .ham-item3::after{
        content: "Menu";
        position:absolute;
        top:5px;
        font-size:13px;
        font-family: "Cardo";
        color: #ffffff;
        left: 50%;
        transform: translateX(-50%);
        -webkit-transform: translateX(-50%);
        -ms-transform: translateX(-50%);
    }
    /* クリックで変化する */
    .ham-item1.on {
        transform: rotate(45deg);
        top: 20px;
        left: 25%;
    }

    .ham-item2.on {
        top: 20px;
        left:25%;
        transform: rotate(-45deg);
    }

    .ham-item3.on {
        display: none;
    }

    .ham-nav.on {
        transform: translate(0, 0);
        opacity: 1;

    }

    /* ハンバーガーnav */
    .ham-nav {
        width: 100%;
        height:100vh;
        padding: 30px 0;
        background-color: #EDEEF0;
        flex-direction: column;
        align-items: center;
        position: absolute;
        top: 0;
        left: 0;
        transform: translate(0, -100%);
        transition: 2s;
        display: flex;
        opacity: 0;
        z-index: 1;
    }

    .homeBtn {
        background-color: #f4f5f7;
        width: 90%;
        height: 45px;
        display: flex;
        justify-content: center;
        align-items: center;
        color: #323232;
    }

    .homeBtn:active {
        background-color: cadetblue;

    }

    .ham-nav nav {
        width: 90%;
    }

    .ham-nav ul {
        padding: 0;

    }

    .ham-nav li {
        list-style: none;
        background-color: #f4f5f7;
        margin-top: 10px;
        height: 45px;
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
    }

    .ham-nav li:active {
        background-color: cadetblue;
    }

    .ham-nav a {
        color: #323232;
        width: 100%;
        text-align: center;
    }

    .socialBtn {
        width: 45px;
        height: 45px;
        background-color: #ffffff;
        opacity: 0.7;
        border-radius: 50%;
        display: flex;
        justify-content: center;
        align-items: center;
        border: 1px solid #323232;
        margin: 10px 0 20px 0;

    }

    .socialBtn:hover {
        opacity: 0.9;
    }

    .socialBtn img {
        width: 50%;
    }

    .closeBtn {
        background-color: #f4f5f7;
        width: 90%;
        height: 45px;
        display: flex;
        justify-content: center;
        align-items: center;
        color: #323232;
        margin-top: 30px;
    }

    .closeBtn:active {
        background-color: #386F91;
        opacity: 0.7;
    }

   .benefits-bnr-pc{
    display: none;
   }
   .benefits-bnr-sp{
    display: block;
    margin: auto;
    width: 100%;
   }

    .problem {
        margin-top: 40px;
    }

    .problem h2 {
        font-size: 30px;
    }

    .sympathy p {
        text-align: left;
        font-size: 17px;
    }
    .section{
        padding: 60px 0;
    }

    .step .section-title {
        font-size: 30px;
    }

    .step-item1 .table-title {
        font-size: 20px;
    }


    .step-item2 .table-title {
        font-size: 18px;
    }

    .step-item3 .table-title {
        font-size: 19px;
    }

    .step-item4 .table-title {
        font-size: 19px;
    }

    .hearing img {
        width: 70px;
    }

    .table-subTitle {
        font-size: 18px;
    }

    .architects {
        flex-direction: column;
        margin: 0;
    }

    .architects-item {
        width: 100%;
    }


    .architect {
        align-items: center;
        margin-bottom: 10px;
    }

    .architect img {
        width: 30%;
    }

    .matchingCounter {
        flex-direction: column-reverse;
        align-items: center;
        justify-content: center;
    }

    .matchingCounter-img {
        width: 100%;

    }


    .explanation-title {
        font-size: 20px;
    }
    .explanation{
        position: static;
        padding: 20px 14px 30px;
    }
    .infection {
        width: 100%;
    }

    .counters {
        flex-direction: column;
        width: 100%;
    }

    .counters hr {
        width: 100%;
    }

    .counter-item img {
        width: 100%;
    }


    .number {
        flex-direction: column;
    }

    .steps {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    .step-inner1{
        padding: 40px;
    }
    .step-inner2{
        padding: 40px;
    }
    .step-inner3{
        padding: 40px;
    }
    .step-inner4{
        padding: 40px;
    }
    .choices {
        flex-direction: column;
    }

    .choices2 {
        flex-direction: column;
    }

    /* slick調整 */
    .slider img {
        width: 80%;
    }

    .promise {
        max-width: 100%;
    }
    .promise img{
    width: 100%;
}

    /* フォーム */
    form tr {
        display: flex;
        flex-direction: column;
        width: 100%;
        position: relative;

    }

    .formHeading {
        border-bottom: none;
    }

    form table {

        width: 100%;

    }

    form span {
        position: absolute;
        top: 9%;
        right: 0%;
    }


    textarea {
        width: 100%;
    }

    .mainLogo {
        width: 100px;
    }

    .nav2 {
        flex-direction: column;
        align-items: center;
    }

    .under-nav li {
        line-height: 30px;

    }

    .under-nav li a {
        display: block;

    }

    .copyright {
        justify-content: center;
    }
}


@media screen and (max-width:767px) {
    .header-contact-box{
        display: none;
    }
    .top-link{
    right: 0;
    bottom: 65px;
    }
}
/* レスポンシブデザイン：タブレット768px以上 */
@media screen and (min-width:768px) {
    .header-flex{
        gap:10px;
    }
 
    .header-nav {
        display: block;
        margin-top: 0;

    }
    .header-nav li{
        margin-right:10px;
    }
    
    .menu-trigger {
        display: none;
    }
    .slick-slide img {
        width: auto;
    }
    .mv-area{
        padding:27.428571vw 0;
    }
    .main-logo{
        padding: 10px 0 0;
    }
    

    .ham-nav {
        display: none;
    }

    .topLogo img {
        width: 250px;
    }
    .home-mv-slider__item .pc{
        display: block;
    }
    .home-mv-slider__item .sp{
        display: none;
    }
    .slick-slide img {
    height: auto;
    width: auto;
}

    .textArea h2 {
        font-size: 24px;
    }

    .benefits-bnr-sp{
        display: none;
    }
    .benefits-bnr-pc{
        display: block;
        width:100%;
        max-width: 800px;
    }
   
    .advisor {
    font-size: 21px;
    }
    .sympathy p {
        font-size: 27px;
    }
    .architects {
        flex-direction: row;
        justify-content: space-evenly;
    }

    .architects-item {
        width: 30%;
    }

    .architect {

        margin-bottom: 0;
    }
    .explanation{
        position: absolute;
        padding: 20px 25px 30px;
        top: 53%;
    }
    .explanation-title{
        font-size:24px;
    }
   .matching-txt{
    margin: 50px auto;
   }
    .matchingCounter-img {
        width: auto;
    }
    .counter-item{
        padding: 0 40px;
    }

 

    .step-item1 {
        width: 100%;
    }

    .step-item2 {
        width: 100%;
    }

    .step-item2 {
        width: 100%;
    }

    .step-item3 {
        width: 100%;
    }

    .step-item4 {
        width: 100%;
    }

    .step-tel,.step-form{
        justify-content: center;
    }
    .step-inner1,.step-inner2,.step-inner3,.step-inner4 {
        padding: 40px 60px;
        max-width: 650px;
    }
   
    .subTitle{
        font-size:21px;
    }
    .choices {
        flex-direction: row;
    }

    .choices2 {
        flex-direction: row;
    }

    .promise img{
    width: auto;
}


    form tr {

        display: table-row;
        width: 100%;
        position: relative;

    }

    .formHeading {
        border-bottom: 1px solid darkgray;
    }



    form span {
        position: static;
    }
    .tableFlex{
        padding: 20px 12px;
    }
    .address-sp {
        width: 52px;
    }

    textarea {
        width: 100%;
    }
    .nav2{
        flex-direction: row;
        margin-bottom: 30px;
    }
    .under-nav ul{
        padding: 0;
    }
    .copyright{
        justify-content: flex-end;
    }
    .for-sp{
      display:none;
    }
}

/* レスポンシブデザイン：PC1200px以上 */
@media screen and (min-width:1200px) {
    #header{
        height: auto;
    }
    #header.scroll-nav{
        height: auto;
    }
    .header-nav {
        margin-top: 20px;
        padding: 0;
    }

    .main1{
        max-width: 250px;
    } 
   .header-nav li {
    margin-right: 24px;
    }
    .mv-area{
        padding: 9.428571vw  0 7.428571vw 54.428571vw;
    }
    .mv-area .pc{
        display: block;
    }
    .mv-area .sp{
        display: none;
    }

    .section{
        padding: 80px 0;
    }


    .textArea {
        top: 0;
        left: 50%;
        position: absolute;
        width: 500px;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    .textArea h2 {
        font-size: 28px;
    }

    .benefits-sheet {
        font-size: 18px;
    }
    .sympathy p{
        font-size: 24px;
    }

    .architect {
        flex-direction: row;
        justify-content: flex-start;
    }

    .architect p {
        margin: 0 25px;
        font-size: 16px;
        letter-spacing: 0.2em;
    }


    .matchingCounter {
        flex-direction: row;
        justify-content: flex-end;
    }

    .explanation {
        position: absolute;
        top:20px;
        padding: 75px 60px;
    }

    .infection {
        width: 60%;
    }

    .counters {
        flex-direction: row;
    }


    .counter-item img {
        margin: 0;
    }




    .table-subTitle {
        font-size: 24px;
    }




    .remote img {
        width: 100px;
    }

    form table {
        width: 80%;
    }

    .nav2 {
        flex-direction: row;
        align-items: normal;
    }


    .copyright {
        justify-content: flex-end;
    }
     @media screen and (min-width:1800px) {
        .mv-area{
        padding: 6.428571vw 0 7.428571vw 54.428571vw;
    }
     }
   
}