/* ===========================================
 * サービスTOPページ
 * ======================================== */

/* コンテナー
/* -----------------------------------------*/
#fv,
#main_container {
    max-width: 1024px;
    margin: auto;
}

/* 店舗名
/* -----------------------------------------*/
#head_showroom {
    text-align: center;
    font-family: Hiragino Kaku Gothic Pro;
    font-size: 24px;
    font-weight: 600;
    line-height: 20px;
}

#head_showroom img {
    margin-right: 18px;
}

@media only screen and (max-width: 768px) {
    #head_showroom {
        font-size: 18px;
    }

    #head_showroom img {
        display: block;
        margin-left: auto;
        margin-right: auto;
        margin-top: 46px;
        margin-bottom: 16px;
    }
}

/* ファーストビュー
/* -----------------------------------------*/
/* 枠 */
.fv_inner {
    position: relative;
    margin-top: 40px
}

/* 画像 */
.fv_img {
    z-index: 1;
}

/* メッセージ */
.fv_msg {
    position: absolute;
    bottom: 40px;
    left: 0;
    background: #ffffff;
    color: #1E1E1E;
    z-index: 10;
    padding: 24px;
    border-radius: 0 4px 4px 0;
}

#fv_msg_1 {
    font-family: Hiragino Kaku Gothic Pro;
    font-size: 13px;
    font-weight: 600;
    line-height: 22px;
    letter-spacing: 0.02em;
}

#fv_msg_2 {
    margin-top: 5px;
    font-family: Hiragino Kaku Gothic Pro;
    font-size: 16px;
    font-weight: 600;
    line-height: 22px;
    letter-spacing: 0.08em;
}

/* メニュー */
.fv_menu {
    position: absolute;
    right: 0;
    top: 33px;
    background: #315C7D;
    padding: 27px 42px;
    min-width: 329px;
    border-radius: 4px 0px 0px 4px;
    backdrop-filter: blur(2px);
}

.fv_menu a {
    font-family: Hiragino Kaku Gothic Pro;
    font-size: 13px;
    font-weight: 600;
    line-height: 14px;
    text-decoration-line: none;
    color: #ffffff;
}

.fv_menu_inner_list {
    position: relative;
}

.fv_menu_inner_list:not(:last-child) {
    margin-bottom: 17px;
}

.fv_menu_inner_list:first-child:before {
    content: '';
    background-image: url('/items/images/about/common/mark_circle_white.svg');
    width: 18px;
    height: 18px;
    background-size: contain;
    position: absolute;
    left: -26px;
    top: 50%;
    transform: translateY(-50%);
}

.fv_menu_inner_list:hover:before {
    content: '';
    background-image: url('/items/images/about/common/mark_circle_white.svg') !important;
    width: 18px;
    height: 18px;
    background-size: contain;
    position: absolute;
    left: -26px;
    top: 50%;
    transform: translateY(-50%);
}

.fv_menu_inner:hover .fv_menu_inner_list:first-child:before {
    background-image: none;
}

.fv_menu_subinner {
    padding-left: 38px;
    margin-top: -2px;
    pointer-events: none;
    overflow: hidden;
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    -webkit-transition: top 0.4s ease, opacity 0.4s ease, z-index 0s;
    -o-transition: top 0.4s ease, opacity 0.4s ease, z-index 0s;
    transition: top 0.4s ease, opacity 0.4s ease, z-index 0s;
}

.fv_menu_subinner_list {
    margin-top: 20px;
    line-height: 13px;
    position: relative;
}

.fv_menu_subinner_list:before {
    content: '';
    background-image: url('/items/images/about/common/mark_arrow.svg');
    width: 6px;
    height: 10px;
    background-size: contain;
    position: absolute;
    left: -19px;
    top: 50%;
    transform: translateY(-50%);
}

.fv_menu_inner_list:nth-child(2):hover,
.is-show {
    margin-bottom: 192px;
    -webkit-transition: top 0.4s ease, opacity 0.4s ease, z-index 0s 0.4s;
    -o-transition: top 0.4s ease, opacity 0.4s ease, z-index 0s 0.4s;
    transition: top 0.4s ease, opacity 0.4s ease, z-index 0s 0.4s;
}

.fv_menu_inner_list:nth-child(2):hover .fv_menu_subinner,
.is-show .fv_menu_subinner {
    pointer-events: visible;
    top: 24px;
    opacity: 1;
    z-index: 10;
    -webkit-transition: top 0.4s ease, opacity 0.4s ease, z-index 0s 0.4s;
    -o-transition: top 0.4s ease, opacity 0.4s ease, z-index 0s 0.4s;
    transition: top 0.4s ease, opacity 0.4s ease, z-index 0s 0.4s;
}

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

    /* 枠 */
    .fv_inner {
        margin-top: 36px;
    }

    /* 画像 */
    .fv_img {
        padding-top: 69px;
        width: 100%;
        height: auto;
    }

    /* メッセージ */
    .fv_msg {
        top: 0;
        bottom: auto;
        left: 50%;
        transform: translateX(-50%);
        padding: 0;
        width: 100%;
        text-align: center;
        max-width: 340px;
    }

    #fv_msg_1 {
        font-size: 14px;
        font-weight: 300;
        line-height: 14px;
        letter-spacing: 0.05em;
    }

    #fv_msg_2 {
        margin-top: 8px;
        font-size: 18px;
        padding-bottom: 3px;
        border-bottom: 1px solid #1E1E1E;
    }

    /* メニュー */
    .fv_menu {
        position: absolute;
        right: 18px;
        left: 18px;
        top: auto;
        bottom: 32px;
        background: none;
        padding: 0;
        min-width: 324px;
        border-radius: 0;
        backdrop-filter: initial;
    }

    .fv_menu a {
        font-family: Hiragino Kaku Gothic Pro;
        font-size: 13px;
        font-weight: 600;
        line-height: 20px;
        text-decoration-line: none;
        color: #ffffff;
        padding: 8px 14px;
        display: block;
    }

    .fv_menu_inner_list {
        border-radius: 26px;
        background-color: #E1E1E1;
    }

    .fv_menu_inner_list:first-child {
        background-color: #315C7D;
    }

    .fv_menu_inner_list:not(:last-child) {
        margin-bottom: 10px;
    }

    .fv_menu_inner_list:first-child:before,
    .fv_menu_inner_list:hover:before {
        width: 20px;
        height: 20px;
        left: auto;
        right: 10px;
    }

    .fv_menu_inner_list:nth-child(2):hover .fv_menu_subinner,
    .is-show .fv_menu_subinner {
        opacity: 0 !important;
        z-index: -1 !important;
    }

    .fv_menu_inner_list:nth-child(2):hover,
    .is-show {
        margin-bottom: 10px !important;
    }
}

/* リード文
/* -----------------------------------------*/

#lead {
    margin-bottom: 80px;
}

.lead_point {
    font-family: Hiragino Kaku Gothic Pro;
    font-size: 28px;
    font-weight: 600;
    line-height: 34px;
    letter-spacing: 0.12em;
    text-align: center;
    margin-bottom: 16px;
}

.lead_second_point {
    text-align: center;
    margin-bottom: 32px;
}

.lead_second_point_normal {
    font-family: Hiragino Kaku Gothic Pro;
    font-size: 18px;
    font-weight: 300;
    line-height: 28px;
    letter-spacing: 0.08em;
    text-align: center;
    margin-bottom: 16px;
}

.lead_second_point_bold {
    font-family: Hiragino Kaku Gothic Pro;
    font-size: 18px;
    font-weight: 600;
    line-height: 28px;
    letter-spacing: 0.08em;
    text-align: center;
}

.lead_second_point_bold span {
    border: 1px solid #1E1E1E;
    margin: 0 6px;
    padding: 0 8px;
}

.lead_normal {
    font-family: Hiragino Kaku Gothic Pro;
    font-size: 16px;
    font-weight: 300;
    line-height: 24px;
    letter-spacing: 0.08em;
    text-align: center;
}

.lead_normal p {
    position: relative;
}

@media only screen and (max-width: 768px) {
    #lead {
        margin-bottom: 63px;
        padding: 0 18px;
    }

    .lead_point {
        letter-spacing: 0.05em;
        margin-bottom: 24px;
    }

    .lead_second_point {
        margin-bottom: 24px;
    }

    .lead_second_point_bold span {
        margin: 0 8px 9px 8px;
        display: inline-block;
    }

    .lead_normal {
        font-size: 14px;
        text-align: left;
    }
}

/* 中古リノベーションという賢い買い方
/* -----------------------------------------*/
#howto {
    border-top: 2px solid #1E1E1E;
    padding-top: 32px;
    margin-bottom: 88px;
}

/* 見出し */
#howto h2 {
    font-family: Hiragino Kaku Gothic Pro;
    font-size: 24px;
    font-weight: 600;
    line-height: 28px;
    letter-spacing: 0.1em;
    margin-bottom: 64px;
}

#howto h2 span {
    font-size: 30px;
    line-height: 30px;
    letter-spacing: 0.12em;
}

/* 2列レイアウト画像 */
.col2 {
    display: flex;
    column-gap: 24px;
}

.col2>div {
    width: calc(50% - 12px);
}

.col2 img {
    width: 100%;
    height: auto;
}

/* ポイント */
.howto_point {
    margin-top: 56px;
    margin-bottom: 24px;
    text-align: center;
}

.howto_point1 {
    font-family: Hiragino Kaku Gothic Pro;
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
    letter-spacing: 0.05em;
}

.howto_point2 {
    font-family: Hiragino Kaku Gothic Pro;
    font-size: 18px;
    font-weight: 600;
    line-height: 18px;
    letter-spacing: 0.1em;
    margin: 16px auto 0;
    padding-top: 16px;
    padding-bottom: 16px;
    border-top: 1px solid #1E1E1E;
    border-bottom: 1px solid #1E1E1E;
    width: fit-content;
}

@media only screen and (max-width: 768px) {
    #howto {
        margin-bottom: 112px;
        padding: 0 18px;
        display: flex;
        flex-direction: column;
    }

    /* 見出し */
    #howto h2 {
        font-size: 20px;
        line-height: 20px;
        text-align: center;
        margin-top: 32px;
        margin-bottom: 40px;
        order: 1;
    }

    #howto h2 span {
        font-size: 24px;
        line-height: 24px;
        display: block;
        margin-top: 8px;
    }

    /* 2列レイアウト画像 */
    .col2 {
        display: block;
        order: 3;
    }

    .col2>div {
        width: 100%;
        margin-bottom: 32px;
    }

    .col2>div>p {
        font-family: Hiragino Kaku Gothic Pro;
        font-size: 14px;
        font-weight: 600;
        line-height: 28px;
        letter-spacing: 0.1em;
        text-align: center;
        position: relative;
        margin-bottom: 24px;
    }

    .col2>div>p>span {
        padding: 0 6px;
        display: inline;
        background: #fff;
    }

    .col2>div>p:before {
        content: '';
        border-bottom: 1px solid #000000;
        width: 100%;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        z-index: -1;
    }

    /* ポイント */
    .howto_point {
        margin-top: 0;
        margin-bottom: 32px;
        order: 2;
    }

    .howto_point_sp {
        font-family: Hiragino Kaku Gothic Pro;
        font-size: 14px;
        font-weight: 300;
        line-height: 24px;
        letter-spacing: 0em;
        text-align: center;
    }

    .howto_point_sp span {
        font-size: 16px;
        font-weight: 600;
        line-height: 28px;
        letter-spacing: 0.1em;
        text-align: center;
    }

    #howto .btn_blue {
        order: 4;
    }
}

/* リノベ不動産でお家を購入するための6step
/* -----------------------------------------*/
#step {
    border-top: 2px solid #1E1E1E;
    padding-top: 32px;
    margin-bottom: 152px;
}

/* 見出し */
#step h2 {
    font-family: Hiragino Kaku Gothic Pro;
    font-size: 24px;
    font-weight: 600;
    line-height: 24px;
    letter-spacing: 0.12em;
    margin-bottom: 65px;
}

.step_title_bold {
    font-size: 30px;
    margin-bottom: 8px;
}

.step_title_num {
    font-family: DIN;
    font-size: 50px;
    font-weight: 500;
    line-height: 50px;
    letter-spacing: 0.12em;
}

.step_title_num_step {
    font-family: DIN;
    font-size: 24px;
    font-weight: 500;
    line-height: 24px;
    letter-spacing: 0em;
}

/* 3列レイアウト */
.col3 {
    display: flex;
    row-gap: 64px;
    flex-wrap: wrap;
}

.col3>div {
    width: calc((100% / 3) - (56px / 3));
}

.col3>div:nth-child(3n-2),
.col3>div:nth-child(3n-1) {
    margin-right: 28px;
}

.col3 img {
    width: 100%;
    height: auto;
}

/* step番号 */
.step_inner_num {
    font-family: DIN;
    font-size: 16px;
    font-weight: 500;
    line-height: 20px;
    margin-bottom: 4px;
}

.step_inner_num span {
    margin-left: 2px;
    font-size: 30px;
    line-height: 20px;
}

/* step見出し */
.step_inner h3 {
    font-family: Hiragino Kaku Gothic Pro;
    font-size: 15px;
    font-weight: 600;
    line-height: 15px;
    letter-spacing: 0.12em;
    color: #1E1E1E;
    margin-top: 18px;
    margin-bottom: 16px;
}

/* step説明 */
.step_inner p {
    font-family: Hiragino Kaku Gothic Pro;
    font-size: 13px;
    font-weight: 300;
    line-height: 20px;
    letter-spacing: 0.08em;
}

@media only screen and (max-width: 768px) {
    #step {
        padding-top: 34px;
        margin-bottom: 124px;
        padding-left: 16px;
        padding-right: 16px;
    }

    /* 見出し */
    #step h2 {
        text-align: center;
        font-size: 20px;
        line-height: 18px;
        margin-bottom: 40px;
    }

    .step_title_bold {
        font-size: 24px;
        line-height: 18px;
        margin-bottom: 0;
        display: block;
    }

    .step_title_num {
        display: block;
        margin-top: 8px;
    }

    /* 3列レイアウト */
    .col3 {
        display: block;
    }

    .col3>div {
        width: 100%;
        margin-bottom: 80px;
    }

    .col3>div:nth-child(3n-2),
    .col3>div:nth-child(3n-1) {
        margin-right: 0;
    }

    /* step番号 */
    .step_inner_num span {
        margin-left: 5px;
        font-size: 34px;
    }

    /* step見出し */
    .step_inner h3 {
        font-size: 18px;
        margin-top: 24px;
    }
}