﻿@charset "UTF-8";

/* --------------------
    mainvisual 
-------------------- */


.mainvisual {
    width: 100%;
    position: relative;
    margin-bottom: 60px;   
}

.mainvisual .mainimg {
    position: absolute;
    top: 0;
    left: 0;
    width: 77vw; /* 1025 / 1330 */
    height: calc(77vw * 0.58); /* w1025:h600 = 1:0.58 */
}

.mainvisual .mainimg img {
    max-width: 100%;
    object-fit: cover;
    object-position: 50% 0;
}

.mainvisual .main_bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: calc(77vw * 0.5); /* w1025:h520 = 1:0.5 */
    background-color: #dce9f1;
    z-index: -10;
}

.mainvisual h2 {
    font-size: 2.5rem; /* 40px */
    font-weight: bold;
    color: #0080c8;
    position: absolute;
    top: calc(77vw * 0.58 * 0.5); /* mainimgの高さの半分 */
    left: 68%; 
    z-index: 20;
}


@media screen and (max-width: 1330px) {
    .mainvisual h2 {
        right: 10%;
        left: inherit;
    }
}


@media screen and (max-width: 760px) {
    .mainvisual h2 {
        font-size: 2rem; /* 32px */
        top: 145px;
    }

    .mainvisual .mainimg {
        width: 82%; /* 320 / 390 */
        height: 378px;
    }

    .mainvisual .mainimg img {
        height: 378px;
        object-position: 50% 50%;
    }

    .mainvisual .main_bg {
        height: 340px;
    }
}

@media screen and (max-width: 520px) {
    .mainvisual h2 {
        font-size: 1.625rem; /* 26px */
        top: 165px;
    }
}

/* --------------------
        guidance 
-------------------- */

#guidance {
    text-align: center;
    padding-top: calc(77vw * 0.58 + 60px); /* mainimgのheight + 60px */
    margin-bottom: 100px;
}

#guidance h3 {
    margin-bottom: 40px;
    letter-spacing: 0.1em;
}
#guidance p {
    line-height: 36px;
}

@media screen and (max-width: 760px) {
    #guidance {
        padding: 428px 26px 0;
        margin-bottom: 80px;
    }

    #guidance p {
        line-height: 32px;
    }
}

@media screen and (max-width: 520px) {

    #guidance {
        padding: 428px 0 0;
    }
    #guidance p {
        text-align: left;
    }
}


/* --------------------
    price_example 
-------------------- */
#price_example {
    text-align: center;
}

#price_example h4 {
    color: #6498d2;
    margin-bottom: 40px;
}

#price_example p {
    padding: 0 5% 100px;
    line-height: 36px;
    text-align: left;
}
.price_area {
    border-top: 1px solid #251e1c;
    border-bottom: 1px solid #251e1c;
    height: 74px;
    padding: 0 5%;
    display: flex;
    align-items: center;
    margin-bottom: 36px;
    text-align: left;
}

.price_area span {
    display: block;
    line-height: 74px;
    font-size: 1.5rem; /* 24px */
}

.price_area span.example_box {
    width: 46px;
    height: 46px;
    border-radius: 10px;
    background-color: #585757;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 6%;
}

.price_area span.price_letter {
    width: 20%;
    text-align: left;
}

.price_area span.price_tax {
    margin-left: 5px;
    font-size: 0.9375rem; /* 15px */
}

@media screen and (max-width: 570px) {
    .price_area span {
        font-size: 1.125rem; /* 18px */
    }

    .price_area span.price_tax {
        font-size: 0.75rem; /* 12px */
    }


}

@media screen and (max-width: 520px) {
    #price_example h4 {
        margin-bottom: 30px;
        line-height: 29px;
    }

    .price_area {
        height: 62px;
        padding: 0;
        flex-wrap: wrap;
        margin-bottom: 27px;
    }

    .price_area span {
        display: block;
        line-height: 62px;
    }

    .price_area span.example_box {
        width: 40px;
        height: 40px;
        margin-right: 30px;
    }

    .price_area.rough {
        height: 96px;
        padding: 12px 0 22px;
    }

    .price_area.rough span {
        line-height: 26px;
    }


    .price_area.rough span.price_letter {
        width: calc(100% - 70px);
    }

    .price_area.rough span.price_amount {
        margin-left: 70px;
    }

    #price_example p {
        padding: 0 0 45px;
        line-height: 29px;
    }
}


/* --------------------
    image_photo 
-------------------- */

img.image_photo_sp {
    display: none;
}

@media screen and (max-width: 760px) {
    img.image_photo_sp {
        display: inline-block;
        width: 100%;
        margin-top: 65px;
        vertical-align: bottom;
    }
    
}



/* --------------------
    price_cocokara 
-------------------- */

#price_cocokara {
    width: 100%;
    background-color: #f6f8f9;
    text-align: center;
    padding: 80px 0 85px;
}

#price_cocokara h4.price_catch {
    color: #0080c8;
}

.price_white_bg_container {
    display: flex;
    justify-content: center;
    gap: 4%;
    margin-top: 55px;
}

.price_white_bg {
    width: 50%;
    background-color: #fff;
    border-radius: 10px;
    padding: 70px 35px 120px;
    text-align: left;
}

.price_white_bg h4 {
    line-height: 42px;
    padding-left: 20px;
    position: relative;
    color: #fff;
    width: calc(100% - 35px);
    margin-bottom: 86px;
    margin-left: 35px;
}

.price_white_bg h4::before {
    content: '';
    width: 38px;
    height: 42px;
    background-color: #585757;
    position: absolute;
    top: 0;
    left: -38px;
}

.price_white_bg h4.orange_bg {
    background-color: #d68013;
}
.price_white_bg h4.blue_bg {
    background-color: #0080c8;
    
}

.price_white_bg h4 span.little_letter {
    line-height: 42px;
    vertical-align: bottom;
}

.price_bar {
    border-top: 1px solid #251e1c;
    border-bottom: 1px solid #251e1c;
    height: 52px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 36px;
    text-align: left;
}

.price_white_bg.first_time .price_bar {
    margin-bottom: 25px;
}
.price_white_bg.second_time_after .price_bar {
    margin-bottom: 84px; 
}

.price_bar span.price_amount {
    display: block;
    line-height: 52px;
    font-size: 1.5rem; /* 24px */
}

.price_bar span.price_tax {
    margin-left: 5px;
    font-size: 0.9375rem; /* 15px */
}

.price_white_bg p {
    line-height: 36px;
}
.price_white_bg p.orange_catch {
    color: #d68013;
    font-weight: bold;
}
.price_white_bg p.normal_catch {
    font-weight: bold;
    position: relative;
    padding-left: 15px;
}
.price_white_bg p.normal_catch::before {
    position: absolute;
    content: '\025cf';
    top: 0;
    left: 0;
    font-size: 1.5rem;
}
.price_white_bg p.blue_catch {
    color: #0080c8;
    font-weight: bold;
}
.price_desc_container {
    margin-bottom: 90px;
}

.price_white_bg img {
    width: 100%;
}

.btn_maintenance {
    display: block;
    width: 423px;
    height: 110px;
    background-color: #ae6600;
    border-radius: 20px;
    color: #fff;
    margin: 80px auto 85px;
    text-align: center;
    line-height: 110px;
    font-size: 1.4rem;
    transition: all 0.5s;
}

.btn_maintenance:hover {
    /* border: 2px solid #ae6600;
    background-color: #fff;
    color: #ae6600; */
    opacity: 0.8;
}

@media screen and (max-width: 930px) {
    .price_white_bg h4 span.little_letter {
        font-size: 1rem; /* 16px */
    }
}
@media screen and (max-width: 830px) {
    .price_white_bg h4 span.little_letter {
        font-size: 0.75rem; /* 12px */
    }
}
@media screen and (max-width: 760px) {
    #price_cocokara {
        background-color: #fff;
        padding: 40px 0 75px;
    }

    .price_white_bg_container {
        flex-direction: column;
        margin-top: 40px;
    }
    
    .price_white_bg_container.inner {
        width: 100%;
        padding: 0 26px;
    }

    .price_white_bg {
        width: 100%;
        padding: 0 0 55px;
    }

    .price_white_bg h4 {
        line-height: 36px;
        padding-left: 16px;
        margin: 0 26px 20px 33px;
        width: calc(100% - 33px);
        font-size: 1.125rem; /* 18px */
    }
    .price_white_bg h4 span.little_letter {
        font-size: 1rem; /* 16px */
        line-height: 36px;
    }
    .price_white_bg h4::before {
        width: 33px;
        height: 36px;
        left: -33px;
    }
    .price_bar {
        height: 62px;
    }
    .price_white_bg.first_time .price_bar {
        margin-bottom: 16px;
    }
    .price_white_bg.second_time_after .price_bar {
        margin-bottom: 16px;
    }
    .price_white_bg p {
        line-height: 29px;
    }

    .price_bar span.price_amount {
        display: block;
        line-height: 62px;
        font-size: 1.125rem; /* 18px */
    }
    
    .price_bar span.price_tax {
        font-size: 0.75rem; /* 12px */
    }

    .price_white_bg img {
        display: none;
    }

    .price_desc_container {
        margin-bottom: 0;
    }

    .btn_maintenance {
        display: block;
        width: calc(100% - 52px);
        height: 88px;
        margin: 0 26px;
        line-height: 88px;
        font-size: 1.125rem; /* 18px */
    }
}