@charset "UTF-8";

/* 初期設定 */
html{
    font-size: 0.5208vw;
    scroll-behavior: smooth;
}

body, h1, h2, h3, h4, h5, p, ul{
    margin: 0;
    padding: 0;
}

body{
    background-color: #0168b5;
    font-family: "Hiragino Sans W3", "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", "メイリオ", "Meiryo", "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
    font-weight: normal;
    color: #ffffff;
    line-height: normal;
}

h2{
    text-align: center;
}

a{
    text-decoration: none;
}

strong{
    color: #eb6e8c;
}

.pc_only{
    display: block;
}

.sp_only{
    display: none;
}

.pc_flex{
    display: flex;
}

.sp_flex{
    display: none;
}

.pc_inline{
    display: inline;
}

.sp_inline{
    display: none;
}

br.sp_only{
    display: none;
}


/* ヘッダー */
header{
    position: fixed;
    background: white;
    width: calc(100% - 29rem);
    padding: 0 15rem;
    height: 11.4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 16%);
    z-index: 1000;
}

header img{
    width: 20.317rem;
}

header a{
    padding: 2rem 7rem;
    color: #fff;
    font-weight: bold;
    font-size: 2rem;
    border-radius: 10rem;
    letter-spacing: .1em;
    background: #eb6e8c;
    box-shadow: 2px 4px 0 #cc9faa;
}

header a:hover{
    transition: .3s;
    transform: translate(2px, 4px);
    box-shadow: none;
}


/* メイン */
main{
    background: #0168b5;
    color: #707070;
    padding-top: 11.4rem;
    overflow-x: hidden;
}


/* メインビジュアル */
#mv{
    padding: 0 0 6%;
    color: #ffffff;
}

#mv img {
    width: 100%;
}

#mv .wrap{
    width: 85%;
    max-width: 1645px;
    margin: 50px auto 0;
}

#mv .wrap h1{
    font-size: 9.4rem;
    line-height: 1.3;
    position: relative;
    z-index: 10;
}

#mv .wrap h1 span{
    font-size: 12.8rem;
    color: #FFEB3B;
}

#mv .wrap h1 small{
    font-size: 7.9rem;
}

#mv .wrap .overview{
    width: 100%;
    margin-top: -28rem;
    margin-bottom: 6.9rem;
}

#mv .wrap .attention{
    font-size: 2.8rem;
    font-weight: bold;
    text-align: center;
    position: relative;
    width: fit-content;
    margin: auto;
    line-height: 1;
    margin-bottom: 3.2rem;
}

#mv .wrap .attention:before{
    position: absolute;
    content: "";
    width: 6.429rem;
    height: 5.52rem;
    left: -7rem;
    bottom: -1rem;
    background: url("../img/attention_left.svg") no-repeat center center/contain;
}

#mv .wrap .attention::after{
    position: absolute;
    content: "";
    width: 6.429rem;
    height: 5.52rem;
    right: -6.5rem;
    bottom: -1rem;
    background: url("../img/attention_right.svg") no-repeat center center/contain;
}

#mv .wrap .attention span{
    position: relative;
    z-index: 10;
}

#mv .wrap .attention span::before{
    position: absolute;
    content: "";
    width: 100%;
    height: .6rem;
    background: #FFEB3B;
    bottom: .1rem;
    z-index: -1;
}

#mv .wrap > p{
    font-size: 1.8rem;
    text-align: center;
    margin-top: 5rem;
}

/* コンバージョンボタン */
#mv .wrap .cta{
    display: flex;
    justify-content: space-around;
    align-items: stretch;
    width: 48%;
    max-width: 920px;
    margin: auto;
}

#mv .cta a{
    padding: 1.5rem 3.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 25rem;
    width: 27rem;
}

#mv .cta a p{
    font-size: 2.2rem;
    color: #333333;
    margin-left: 2.2rem;
    font-weight: bold;
}

#mv .cta .line{
    letter-spacing: .1em;
    background: #00cf2e;
    box-shadow: 2px 4px 0 #98cca4;
}

#mv .cta .line:hover{
    transition: .3s;
    transform: translate(2px, 4px);
    box-shadow: none;
}

#mv .cta .line img{
    width: 4.6rem;
}

#mv .cta .mail{
    letter-spacing: .1em;
    background: #eb6e8c;
    box-shadow: 2px 4px 0 #cc9faa;
}

#mv .cta .mail:hover{
    transition: .3s;
    transform: translate(2px, 4px);
    box-shadow: none;
}

#mv .cta .mail img{
    width: 4.4rem;
}

/* マイホームを購入したいけど… */
#worries {
    background-color: #707070;
    background: url(../img/worries_bk.jpg) center 0 no-repeat;
    background-size: cover;
    background-position: center;
    /* height: 714px; */
}

#worries img {
    width: 100%;
}

#worries .wrap{
    width: 60%;
    max-width: 1645px;
    margin: 0 auto;
    padding: 6% 0 0;
}

/* それ、不動産のプロにお任せください!! */
#solution {
    background-color: #ffffff;
}

#solution .wrap img {
    width: 100%;
}

#solution .wrap{
    width: 60%;
    max-width: 1645px;
    margin: 0 auto;
    padding: 6% 0 0;
}

/* おまとめの事例 */
#exam {
    background: url(../img/exam_bk.png) center 0 no-repeat;
    background-size: cover;
    background-position: center;
}

#exam .wrap img {
    width: 100%;
}

#exam .wrap{
    width: 60%;
    max-width: 1645px;
    margin: 0 auto;
    padding: 6% 0;
}

/* 共通 */
#exam .wrap h2, #voice .wrap h2, #faq .wrap h2{
    line-height: 1.5;
    position: relative;
    color: #FFEB3B;
    z-index: 10;
}

#exam .wrap h2 small, #voice .wrap h2 small, #faq .wrap h2 small{
    font-size: 3.6rem;
    font-weight: normal;
    color: #fff;
}

#exam .wrap h2 span, #voice .wrap h2 span, #faq .wrap h2 span{
    font-size: 5.5rem;
}

#exam .wrap .example_img{
    width: 100%;
    margin-top: 6.4rem;
}

#exam .wrap p{
    color: #333333;
    font-size: 4rem;
    font-weight: bold;
    margin-top: 4.7rem;
    margin-bottom: 5.75rem;
    position: relative;
    z-index: 10;
    text-shadow: 1px 0 1px #fff,
                 -1px 0 1px #fff,
                 0 -1px 1px #fff,
                 0 1px 1px #fff;
}

#exam .wrap p::before{
    position: absolute;
    content: "";
    width: 46.684rem;
    height: 9.671rem;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: url("../img/examp_arrow.svg") no-repeat center center/contain;
    z-index: -1;
}

#exam .wrap div{
    position: relative;
    width: 100%;
}

#exam .wrap div::before{
    position: absolute;
    content: "";
    left: 4.3rem;
    top: -1.75rem;
    width: 17.204rem;
    height: 11.613rem;
    background: url("../img/result_left.svg") no-repeat center center/contain;
}

#examp .wrap div::after{
    position: absolute;
    content: "";
    right: -4.28rem;
    top: -6.2rem;
    width: 23.39rem;
    height: 26.806rem;
    background: url("../img/result_right.svg") no-repeat center center/contain;
}

#examp .wrap div .result{
    width: 100%;
}
/* ここまでいらないはず */

/* コンバージョンボタン */
.cta_wrap{
    background: #ffffff;
    padding: 6.5rem 0 6%;
}

.attention{
    font-size: 2.8rem;
    font-weight: bold;
    text-align: center;
    position: relative;
    width: fit-content;
    margin: auto;
    line-height: 1;
    margin-bottom: 3.2rem;
}

.attention:before{
    position: absolute;
    content: "";
    width: 6.429rem;
    height: 5.52rem;
    left: -7rem;
    bottom: -1rem;
    background: url("../img/attention_left2.svg") no-repeat center center/contain;
}

.attention::after{
    position: absolute;
    content: "";
    width: 6.429rem;
    height: 5.52rem;
    right: -6.5rem;
    bottom: -1rem;
    background: url("../img/attention_right2.svg") no-repeat center center/contain;
}

.attention span{
    position: relative;
    z-index: 10;
}

.attention span::before{
    position: absolute;
    content: "";
    width: 100%;
    height: .7rem;
    background: #FFEB3B;
    bottom: .1rem;
    z-index: -1;
}

.cta{
    display: flex;
    justify-content: space-around;
    align-items: stretch;
    width: 40%;
    max-width: 920px;
    margin: auto;
}

.cta a{
    padding: 1.5rem 3.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 25rem;
    width: 27rem;
}

.cta a p{
    font-size: 2.2rem;
    color: #333333;
    margin-left: 2.2rem;
    font-weight: bold;
}

.cta .line{
    letter-spacing: .1em;
    background: #00cf2e;
    box-shadow: 2px 4px 0 #98cca4;
}

.cta .line:hover{
    transform: translate(2px, 4px);
    box-shadow: none;
}

.cta .line img{
    width: 4.6rem;
}

.cta .mail{
    letter-spacing: .1em;
    background: #eb6e8c;
    box-shadow: 2px 4px 0 #cc9faa;
}

.cta .mail:hover{
    transform: translate(2px, 4px);
    box-shadow: none;
}

.cta .mail img{
    width: 4.4rem;
}

/* お客様の声 */
#voice {
/*    background-color: #0168b5;*/
    background:repeating-linear-gradient(
        -45deg, #0176cf, #0176cf 20px, #0168b5 0, #0168b5 50px   
    );
}

#voice .wrap img {
    width: 100%;
}

#voice .wrap{
    width: 60%;
    max-width: 1645px;
    margin: 0 auto;
    padding: 6% 0;
}

/* よくあるご質問 */
#faq{
    background-color: #707070;
}

#faq .wrap{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 60%;
    max-width: 920px;
    margin: auto;
    padding: 10rem 0;
}

#faq .wrap h2{
    margin-bottom: 4.6rem;
}

#faq .wrap .content{
    width: 100%;
    margin-bottom: 3.5rem;
}

#faq .wrap .content div{
    background: white;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 16%);
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 2.8rem 6rem 2.8rem 7rem;
    width: calc(100% - 13rem);
}

#faq .wrap .content .question{
    margin-bottom: .5rem;
    background: #F5F5F5;
}

#faq .wrap .content div p:first-child{
    margin-right: 4.3rem;
    font-size: 3.7rem;
    font-weight: bold;
}

#faq .wrap .content .question p:first-child{
    color: #0168b5;
}

#faq .wrap .content .answer p:first-child{
    color: #eb6e8c;
}

#faq .wrap .content .question p:nth-child(2){
    font-size: 2.8rem;
    font-weight: bold;
}

#faq .wrap .content .answer p:nth-child(2){
    font-size: 2.8rem;
}

/* フォーム */
#form{
    margin: 0;
    padding: 0;
    background-color: #ffffff;
}

#form .wrap{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 48%;
    max-width: 920px;
    margin: auto;
    padding: 10rem 0 6rem;
}

#form .wrap h2{
    font-size: 5.5rem;
    position: relative;
    z-index: 10;
}

#form .wrap h2 small{
    font-size: 3rem;
}

#form .wrap h2::before{
    position: absolute;
    content: "";
    width: 22rem;
    height: 1.5rem;
    bottom: 1.5rem;
    left: 1.7rem;
    z-index: -1;
    background: #FFEB3B;
}

#form .wrap h2 small .pink{
    color: #eb6e8c;
}

#form .wrap h2 small .dot{
    position: relative;
}

#form .wrap h2 small .dot::before{
    position: absolute;
    content: "";
    width: 1rem;
    height: 1rem;
    border-radius: 100%;
    background: #0168b5;
    top: -1rem;
    left: 50%;
    transform: translate(-50%, 0);
}

#form h3{
    margin: 0;
    text-align: center;
    font-size: 18px;
    color: #eb6e8c;
}

#form p{
    margin: 0.83em 0 0;
    text-align: center;
    font-size: 22px;
}

/* 入力フォーム */
.form-wrap{
    margin: 0 auto;
    padding: 0 0 12rem;
    background: #ffffff;
    width: 60%;
    max-width: 980px;
}
.form-wrap table{
    margin: 0 0 40px 0;
    width: 100%;
}
.form-wrap th{
    width: 40%;
    padding: 10px 30px 10px 0;
    text-align: right;
    font-weight: bold;
    border-bottom: 1px dotted #222222;
    max-width: 90%;
    font-weight: bold;
    font-size: 18px;
}
.form-wrap td{
    padding: 10px 20px;
    text-align: left;
    border-bottom: 1px dotted #404040;
    max-width: 90%;
    font-weight: bold;
    font-size: 18px;
}

/* 必須マーク */
.form-wrap th span.req{
    display: inline-block;
    margin: 0 0 0 0.5em;
    padding: 0.2em 0.8em;
    text-align: center;
    font-size: 11px;
    color: #ffffff;
    background: #eb6e8c;
    border-radius: 3px;
    vertical-align: middle;
}

.form-wrap td input[type="text"].t01{
    max-width: 100%;
}

.form-wrap td input[type="text"], .form-wrap td input[type="email"],.form-wrap td select, .form-wrap td textarea,
.form-wrap td input[type="tel"], .form-wrap td input[type="date"]{
    width: 100%;
    height: 37px;
    padding: 9px 10px;
    font-size: 20px;
    border: 1px #B3B3B3 solid;
    border-radius: 6px;
    outline: none;
    -webkit-box-shadow: 0 0 0 #108fd6, inset 1px 1px 3px #eee;
    box-shadow: 0 0 0 #108fd6, inset 1px 1px 3px #eee;
    box-sizing: border-box;
    -webkit-transition: all .4s;
    -moz-transition: all .4s;
    -ms-transition: all .4s;
    -o-transition: all .4s;
    transition: all .4s;
}

.form-wrap td textarea{
    width: 100%;
    max-width: 528px;
    height: 140px;
    vertical-align: top;
}

.form-wrap td select{
    width: 100%;
    height: 37px;
    padding: 0 10px;
    max-width: 100%;
}

/* reCAPTCHA */
.form-wrap .recaptcha-center {
    display: block; /* インライン要素の扱いをリセット */
    margin: 0 auto; /* 左右中央に配置 */
    width: fit-content; /* コンテンツサイズに合わせる */
}

/* 送信ボタン */
.form-wrap .btn input{
    margin: 3rem auto 0;
    padding: 1.5rem 3.5rem;
    width: 27rem;
    display: block;
    text-align: center;
    font-weight: bold;
    background: #eb6e8c;
    color: #ffffff;
    font-size: 22px;
    border-radius: 1.5em;
    border: none;
    box-shadow: 2px 4px 0 #cc9faa;
}

.btn input:hover{
    transition: .3s;
    transform: translate(2px, 4px);
    box-shadow: none;
}

#copyright p{
    margin: 2px 0;
    font-size: 13px;
    text-align: center;
    color: #ffffff;
}

/* サンクスページ */
#thanks{
    margin: 0;
    padding: 0 0 10em;
    text-align: center;
    background-color: #ffffff;
    font-size: 25px;
    line-height: normal;
}

#thanks .wrap img {
    width: 100%;
}

#thanks .wrap{
    width: 90%;
    max-width: 1645px;
    margin: 0 auto;
    padding: 10% 0 0;
}

#thanks h2{
    color: #707070;
}

#thanks p{
    margin: 2em 0 0;
}

#thanks p a{
    color: #eb6e8c;
    text-decoration: underline;
}

/* レスポンシブ対応 */
@media screen and (max-width: 767px) {
    html{
        font-size: 2.5vw;
    }

    body{
        line-height: 1.5em;
    }

    h2{
        font-size: 1.4em;
    }

    .pc_only{
        display: none;
    }
    
    .sp_only{
        display: block;
    }

    .pc_flex{
        display: none !important;
    }

    .sp_flex{
        display: flex !important;
    }

    .pc_inline{
        display: none;
    }

    .sp_inline{
        display: inline;
    }


    /* ヘッダー */
    header{
        width: calc(100% - 3.6rem);
        padding: 0 1.8rem;
        height: 3rem;
    }
    
    header img{
        width: 7rem;
    }

    main{
        padding-top: 5.1rem;
    }
    

    /* メインビジュアル */
    #mv{
        padding: 0;
    }

    #mv .wrap{
        margin: 3rem auto;
        width: 92.5%;
    }

    #mv .wrap .txt{
        width: 34.3rem;
        margin: auto;
        margin-bottom: 1rem;
    }

    #mv .wrap .overview{
        width: 100%;
        margin-top: 0;
        margin-bottom: 4rem;
    }

    #mv .wrap .attention{
        font-size: 1.6rem;
        margin-bottom: 1.66rem;
    }
    
    #mv .wrap .attention:before{
        width: 3.2rem;
        height: 3.2rem;
        left: -3.5rem;
        bottom: -.8rem;
    }
    
    #mv .wrap .attention::after{
        width: 3.2rem;
        height: 3.2rem;
        right: -3.5rem;
        bottom: -.8rem;
    }
    
    #mv .wrap .attention span::before{
        height: .4rem;
    }

    #mv .wrap > p{
        margin-top: 3rem;
        font-size: 1rem;
    }
    
    #mv .wrap .cta{
        width: 100%;
    }

    #mv .cta a{
        padding: 1rem 1.5rem;
        border-radius: 6.1rem;
        width: 14rem;
    }
    
    #mv .cta a p{
        font-size: 1.2rem;
        margin-left: .9rem;
    }

    #mv .cta .line:hover{
        transform: translate(1px, 2px);
    }
    
    #mv .cta .line img{
        width: 2.5rem;
    }

    #mv .cta .mail:hover{
        transform: translate(1px, 2px);
    }
  
    #mv .cta .mail img{
        width: 2.4rem;
    }

    /* おまとめの事例 */
    #worries .wrap, #solution .wrap, #exam .wrap, #voice .wrap, #faq .wrap, #form .wrap, #thanks .wrap{
        width: 92.5%;
        padding: 7rem 0 5rem;
    }

    #examp .wrap h2 small, #voice .wrap h2 small, #faq .wrap h2 small, #form .wrap h2 small{
        font-size: 2rem;
    }

    #examp .wrap h2 span, #voice .wrap h2 span, #faq .wrap h2 span{
        font-size: 4rem;
    }

    #examp .wrap .example_img{
        margin-top: 2rem;
    }

    #examp .wrap p{
        font-size: 3rem;
        margin: 4rem 0;
    }
    
    #examp .wrap p::before{
        width: 100%;
    }
    
    #examp .wrap div::before{
        left: -6rem;
        top: 17rem;
        width: 20rem;
        height: 8rem;
    }
    
    #examp .wrap div::after{
        right: -12rem;
        top: 10rem;
        height: 18rem;
    }
    
    #examp .wrap div .result{
        width: 100%;
    }

    /* コンバージョンボタン */
    .cta_wrap{
        padding: 4rem 0 3rem;
    }

    .attention{
        font-size: 1.6rem;
        margin-bottom: 1.66rem;
    }

    .attention:before{
        width: 3.2rem;
        height: 3.2rem;
        left: -3.5rem;
        bottom: -.8rem;
    }
    
    .attention::after{
        width: 3.2rem;
        height: 3.2rem;
        right: -3.5rem;
        bottom: -.8rem;
    }

    .attention span::before{
        width: 100%;
        height: 0.4rem;
        bottom: .1rem;
    }

    .cta{
        width: 100%;
    }

    .cta a{
        padding: 1rem 1.5rem;
        border-radius: 6.1rem;
        width: 14rem;
    }
    
    .cta a p{
        font-size: 1.2rem;
        margin-left: .9rem;
    }

    .cta .line:hover{
        transform: translate(1px, 2px);
    }
    
    .cta .line img{
        width: 2.5rem;
    }

    .cta .mail:hover{
        transform: translate(1px, 2px);
    }
  
    .cta .mail img{
        width: 2.4rem;
    }

    /* お客様の声 */
    #voice .wrap .content{
        margin-top: 2rem;
        padding: 2rem 2rem;
        width: 88%; /* 要確認 */
    }

    #voice .wrap .content h3{
        font-size: 2.5rem;
        margin: 0 auto;
        line-height: 1.3;
    }
 
    #voice .wrap .content:nth-child(2) h3::before{
        width: 6rem;
        height: 0.4rem;
        top: 2.6rem;
        left: 22rem;
    }
   
    #voice .wrap .content:nth-child(3) h3::before{
        width: 10.2rem;
        height: 0.4rem;
        top: 6rem;
        left: 0;
    }

    #voice .wrap .content img{
        width: 20rem;
    }
    
    #voice .wrap .content:nth-child(2) img{
        margin: 2rem auto;
        width: 12rem;
        transform: translateX(0rem);
    }

    #voice .wrap .content:nth-child(3) img{
        margin: 2rem auto;
        width: 12rem;
        transform: translateX(0rem);
    }

    #voice .wrap .content p{
        font-size: 1.3rem;
        width: 100%;
        line-height: 1.9rem;
    }
    
    #voice .wrap .content p span{
        height: 1.5rem;
    }

    /* よくあるご質問 */
    #faq .wrap h2{
        margin-bottom: 0;
    }

    #faq .wrap .content{
        margin: 2rem 0 0;
        line-height: 1.4rem;
    }

    #faq .wrap .content div {
        padding: 2rem;
        width: 88%;
    }

    #faq .wrap .content .question{
        margin-bottom: .5rem;
    }
    
    #faq .wrap .content div p:first-child{
        margin-right: 1rem;
        font-size: 2rem;
    }

    #faq .wrap .content .question p:nth-child(2){
        font-size: 1.5rem;
    }

    #faq .wrap .content .answer p:nth-child(2){
        font-size: 1.5rem;
    }

    /* フォーム */
    #form .wrap h2{
        font-size: 4rem;
        line-height: 5rem;
    }

    #form .wrap h2 small{
        font-size: 1.4rem;
        line-height: 0rem;
    }

    #form .wrap h2::before{
        width: 16rem;
        height: 1rem;
        bottom: 0.6rem;
        left: 0;
        background: #FFEB3B;
    }
     
    #form .wrap h2 small .dot::before{
        width: 0.5rem;
        height: 0.5rem;
        top: -0.5rem;
        left: 50%;
        transform: translate(-50%, 0);
    }
    
    #form h3{
        margin: 0;
        text-align: center;
        font-size: 18px;
        color: #eb6e8c;
    }

    #form p{
        font-size: 15px;
    }

    #form h3{
        font-size: 15px;
    }

    /* 入力フォーム */
    .form-wrap{
        margin: 0 auto;
        padding: 0 0 50px;
        width: 92.5%;
    }
    .form-wrap th{
        padding: 10px 5px;
        text-align: left;
        font-size: 15px;
    }
    .form-wrap td{
        padding: 10px 5px;
        max-width: 100%;
        font-size: 14px;
        font-weight: normal;
    }
    .form-wrap td input[type="text"], .form-wrap td input[type="email"],.form-wrap td select, .form-wrap td textarea,
    .form-wrap td input[type="tel"], .form-wrap td input[type="date"], .form-wrap td input[type="radio"] {
        font-size: 14px;    
    }
    
    /* 必須マーク */
    .form-wrap th span.req{
        padding: 0 0.5em;
        font-size: 9px;
    }

    /* 送信ボタン */
    .form-wrap .btn input{
        padding: 1rem 0;
        font-size: 15px;
    }

    /* コピーライト */
    #copyright p{
        margin: 1px 0;
        font-size: 11px;
    }

    /* サンクスページ */
    #thanks{
        margin: 0;
        padding: 0;
        font-size: 15px;
    }
}

@media screen and (min-width: 3841px){
    #mv .wrap{
        max-width: unset !important;
    }

    #mv .cta{
        max-width: unset !important;
    }
    
    #mv .cta a{
        width: 28rem;
    }

    #examp .wrap{
        max-width: unset !important;
    }
}