/*コンテンツ幅*/

.wrap {
    max-width: calc(1188px + 3rem);
    margin: 0 auto;
    padding: 0 1.5rem;
}

@media screen and (max-width: 768px) {
    .wrap {
        width: 100%;
        padding: 0 1rem;
    }
}


/*見出し*/

h1 {
    color: #7BA9C366;
    font-family: "Barlow Semi Condensed";
    font-size: 8.6875rem;
    font-style: normal;
    font-weight: 400;
    line-height: 100%;
    display: flex;
    align-items: flex-end;
    gap: 1.5rem;
}

h1 span {
    color: #131F33;
    font-family: "Noto Sans JP";
    font-size: 1.25rem;
    line-height: 200%;
}


/*リンクボタン*/

a.btn {
    display: inline-flex;
    padding: 0.75rem 1.5rem 0.75rem 2rem;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    border-radius: 0.4375rem;
    background: #131F33;
    color: #FFF;
    font-family: "Barlow Semi Condensed";
    font-size: 1rem;
    font-weight: 600;
    line-height: 150%;
    text-align: center;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

a.btn::after {
    background: #FFF;
    position: absolute;
    top: 0;
    left: 0;
    content: '';
    width: 100%;
    height: 100%;
    transform: scale(0, 1);
    transform-origin: left top;
    transition: .2s cubic-bezier(0.45, 0, 0.55, 1);
    z-index: -1;
}

a.btn:hover {
    color: #131F33;
}

a.btn:hover::after {
    transform: scale(1, 1);
}

a.btn span {
    position: relative;
    display: inline-block;
    padding: 0 0 0 16px;
    color: #000;
    vertical-align: middle;
    text-decoration: none;
    font-size: 15px;
}

a.btn span::before,
a.btn span::after {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    margin: auto;
    content: "";
    vertical-align: middle;
}

a.btn span::before {
    left: 0px;
    width: 9px;
    height: 1.54px;
    background: #fff;
}

a.btn span::after {
    left: 0px;
    width: 9px;
    height: 9px;
    border-top: 1.54px solid #fff;
    border-right: 1.54px solid #fff;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}

a.btn:hover span::before {
    background: #131F33;
}

a.btn:hover span::after {
    border-top: 1.54px solid #131F33;
    border-right: 1.54px solid #131F33;
}

a.btn2 {
    display: inline-flex;
    padding: 0.75rem 1.5rem 0.75rem 2rem;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    border-radius: 0.4375rem;
    background: #fff;
    color: #131F33;
    font-family: "Barlow Semi Condensed";
    font-size: 1rem;
    font-weight: 600;
    line-height: 150%;
    text-align: center;
    transition: all .3s;
}

a.btn2:hover {
    background: #131F33;
    color: #fff;
}

a.btn2 span {
    position: relative;
    display: inline-block;
    padding: 0 0 0 16px;
    vertical-align: middle;
    text-decoration: none;
    font-size: 15px;
}

a.btn2 span::before,
a.btn2 span::after {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    margin: auto;
    content: "";
    vertical-align: middle;
}

a.btn2 span::before {
    left: 0px;
    width: 9px;
    height: 1.54px;
    background: #131F33;
}

a.btn2 span::after {
    left: 0px;
    width: 9px;
    height: 9px;
    border-top: 1.54px solid #131F33;
    border-right: 1.54px solid #131F33;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}

a.btn2:hover span::before {
    background: #fff;
}

a.btn2:hover span::after {
    border-top: 1.54px solid #fff;
    border-right: 1.54px solid #fff;
}


/*---▼共通ファーストビュー▼---*/

.fv_wrap .fv_inner {
    padding-top: 6rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid #BBD2DF;
}

@media screen and (max-width: 768px) {
    .fv_wrap .wrap {
        padding: 0;
    }
    .fv_wrap .fv_inner {
        padding: 0 1.5rem;
    }
}


/*---▼下のお問い合わせセクション▼---*/

.bottom_sec {
    position: relative;
    height: 29.8125rem;
}

.bottom_sec .bk-logo {
    position: absolute;
    width: 17.4375rem;
    height: 21.8125rem;
    flex-shrink: 0;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;
}

.bottom_sec .wrap {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    text-align: center;
    width: 100%;
}

.bottom_sec h2 {
    color: #131F33;
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 200%;
    display: block;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.bottom_sec a {
    display: inline-flex;
    padding: 1rem 2rem 1rem 1.5rem;
    justify-content: center;
    align-items: center;
    gap: 0.625rem;
    border-radius: 0.5rem;
    background: #E00522;
    color: #FFF;
    font-size: 1.25rem;
    font-weight: 500;
    line-height: 150%;
    transition: all .3s;
}

.bottom_sec a img {
    width: 1.16669rem;
    height: 0.93338rem;
    flex-shrink: 0;
}

.bottom_sec a:hover {
    background: #fff;
    color: #E00522;
    opacity: 1;
}

.bottom_sec a .mail_icon_hover,
.bottom_sec a:hover .mail_icon {
    display: none;
}

.bottom_sec a:hover .mail_icon_hover,
.bottom_sec a .mail_icon {
    display: block;
}

@media screen and (max-width: 768px) {
    h1 {
        font-size: 5.25rem;
        font-style: normal;
        display: block;
    }
    h1 span {
        display: block;
        padding-top: 1rem;
        font-size: 1rem;
    }
    .bottom_sec h2 {
        font-size: 1.75rem;
        margin-top: 4rem;
    }
    .bottom_sec .bk-logo {
        top: -32%;
        width: 12.24338rem;
        height: 14.5625rem;
    }
    .bottom_sec {
        position: relative;
        height: 28.8125rem;
        padding-top: 0;
    }
    .bottom_sec a {
        font-size: 1.125rem;
    }
    .bottom_sec a img {
        width: 1.75rem;
        height: 1.75rem;
    }
    .fv_wrap .fv_inner {
        padding-top: 4.47rem;
        padding-bottom: 2rem;
        border-bottom: 1px solid #BBD2DF;
    }
}


/*---▼お問い合わせフォーム▼---*/

.form_sec {
    margin-top: 4rem;
    margin-bottom: 6.5rem;
}

.form_sec .text_sec h2 {
    text-align: center;
    font-size: 2.25rem;
    font-weight: 500;
    line-height: 160%;
}

.form_sec .text_sec h2 span {
    color: #E00522;
    font-family: "Barlow Semi Condensed";
    font-size: 1.5rem;
    display: block;
}

.form_sec .text_sec h2 span img {
    width: 2.5rem;
    height: 2.5rem;
    margin: auto;
}

.form_sec .text_sec p {
    line-height: 200%;
    text-align: center;
    margin-top: 1.5rem;
    margin-bottom: 4rem;
}

.form_sec .form_content {
    padding: 4.5rem 5rem;
    padding-top: 2rem;
    margin: 0 6rem;
    background: #FFF;
    border-radius: 1rem;
    box-shadow: 0px 8px 25px 0px rgba(19, 31, 51, 0.16);
}

.form_sec .form_content dl {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 4rem;
    margin: 2.5rem 0;
}

.form_sec .form_content dl dt {
    width: 11.3rem;
}

.form_sec .form_content dl dt p {
    font-weight: 500;
}

.form_sec .form_content dl dd {
    width: calc(100% - 11.3rem - 4rem);
}

.form_sec .form_content dl .wpcf7-list-item {
    display: block;
    margin-bottom: 0.5rem;
}

.form_sec .form_content dl dd input,
textarea {
    position: relative;
    border-radius: 0.25rem;
    border: 1px solid #CECECE;
    padding: 0.86rem;
    width: 100%;
}

.form_sec .form_content dl dd input[type="radio"i] {
    display: inline-block;
    width: auto !important;
    margin-right: 0.5rem;
}

.form_sec .form_content dl dt p span {
    font-size: 0.8125rem;
    font-style: normal;
    font-weight: 700;
    padding-left: 0.5rem;
    color: #E00522;
}

.form__btn-wrapper {
    text-align: center;
}

.form__btn {
    padding: 1rem 1.5rem;
    border-radius: 0.5rem;
    background: #E00522;
    text-align: center;
    font-size: 1.25rem;
    font-weight: 500;
    line-height: 150%;
    color: #fff;
    transition: all .5s;
    border: 2px solid #E00522;
}

.form__btn:hover {
    cursor: pointer;
    background: #fff;
    color: #E00522;
}

@media screen and (max-width: 768px) {
    /*ファーストビューの場合*/
    .fv_wrap .form_sec.sub .form_content {
        margin: 0 1.5rem;
        padding: 1.5rem 1rem;
    }
    .form_sec .text_sec h2 span {
        font-size: 1.25rem;
    }
    .form_sec .text_sec h2 {
        font-size: 1.5rem;
    }
    .form_sec .text_sec p {
        font-size: 0.875rem;
        text-align: justify;
    }
    .form_sec .text_sec p.btn {
        text-align: center;
    }
    .form_sec .form_content {
        padding: 2rem 1.5rem;
        padding-top: 2rem;
        margin: 0;
    }
    .form_sec .form_content dl {
        display: block;
    }
    .form_sec .form_content dl dd {
        width: auto;
        margin-top: 1rem;
    }
    .form__btn {
        font-size: 1.125rem;
        width: 90%;
    }
}


/*---▼　追従ボタン　---*/

@media (min-width: 768px) {
    .bottom_link {
        display: none!important;
    }
}

@media screen and (max-width: 768px) {
    .bottom_link {
        position: fixed;
        bottom: 0;
        right: 0;
        left: 0;
        display: block;
        text-align: center;
        background: #fff;
        padding: 0.5rem 0.5rem 1rem 0.5rem;
        transition: 0.5s;
        z-index: 5;
    }
    .bottom_link h2 {
        text-align: center;
        font-size: 0.875rem;
        font-weight: 700;
        line-height: 200%;
        display: flex;
        align-items: center;
        gap: 0.25rem;
        justify-content: center;
        margin-bottom: 0.38rem;
    }
    .bottom_link img {
        width: 0.875rem;
        height: 1.625rem;
    }
    .bottom_link img:last-child {
        transform: scale(-1, 1);
    }
    .bottom_link a {
        display: inline-flex;
        padding: 1rem 2rem 1rem 1.5rem;
        justify-content: center;
        align-items: center;
        gap: 0.625rem;
        border-radius: 0.5rem;
        background: #E00522;
        color: #FFF;
        font-size: 1.125rem;
        font-weight: 500;
        line-height: 150%;
    }
    .is-hidden {
        visibility: hidden;
        opacity: 0;
    }
}
