@charset "UTF-8";
/* 第二階層用共通CSS */
@import url('second_level.css');

/*------------------------------------------------
  原状回復工事
------------------------------------------------*/
.page_title {
    background-image: url('../images/header_bg_4.jpg');
}
.page_title.title_cleaning {
    background-image: url('../images/header_bg_1.jpg');
}
.page_title.title_interior {
    background-image: url('../images/header_bg_3.jpg');
}
.page_title.title_facility {
    background-image: url('../images/header_bg_2.jpg');
}
.page_title_item {
    max-width: 690px;
}

/*------------------------------------------------
  原状回復工事 扉ページ
------------------------------------------------*/

.main_inner {
    padding-top: 60px;
}
.restoration_block {
    margin: auto;
    width: var(--layout-sp-width);
    max-width: 1480px;
}
.restoration_block .common_heading {
    margin: auto;
    max-width: var(--layout-inner-width);
    padding-bottom: 30px;
}
.restoration_main_block {
    border: 1px solid rgba(255,255,255,0);
    background-color: #f2f2f2;
    margin-top: 70px;
    margin-right: calc(50% - 50vw);
    padding-right: calc(50vw - 50%);
    padding-left: 20px;
    border-top-left-radius: 30px;
    position: relative;
}
.restoration_main_block::before {
    content: '';
    width: 280px;
    height: 63px;
    background-image: url('../images/image01.png');
    background-repeat: no-repeat;
    background-size: cover;
    position: absolute;
    top: -63px;
    right: 0;
    z-index: 1;
}
.restoration_main_top_image {
    position: absolute;
    top: 0;
    left: 0;
    border-top-left-radius: 30px;
    overflow: hidden;
    max-height: 445px;
    box-shadow: 10px 10px 15px rgba(0,0,0,.25);
}
.restoration_main_block_inner {
    margin: auto;
    margin-top: 50px;
    width: 100%;
    max-width: var(--layout-inner-width);
    position: relative;
    z-index: 1;
}
.restoration_heading {
    max-width: 750px;
    background-color: #fff;
    border-radius: 15px;
    padding: 20px 20px 30px;
    box-shadow: 0 0 16px rgba(0,0,0,.25);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 60px;
}
.restoration_heading_catch {
    font-size: 1.6rem;
    font-weight: 900;
    line-height: 1.5;
    margin-bottom: 1em;
}
.restoration_heading_lead p {
    margin-bottom: 1.5em;
}
.restoration_heading_lead p:last-of-type {
    margin-bottom: 0;
}
.service_list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}
.service_list_item {
    background-color: #fff;
    overflow: hidden;
    border-radius: 15px;
    display: flex;
}
.service_list_item_inner {
    display: block;
    background-color: #fff;
    padding-bottom: 1em;
    display: flex;
    flex-direction: column;
    width: 100%;
}
.service_list_name {
    font-weight: 700;
    text-align: center;
    color: var(--tertiary-color);
    padding: 1em;
}
.service_content {
    flex-grow: 1;
    padding: 1em;
}
.service_list_btn a {
    display: block;
    margin: auto;
    width: calc(100% - 40px);
    max-width: 276px;
    line-height: 1.4;
    font-weight: 700;
    color: #fff;
    background-color: var(--tertiary-color);
    border-radius: 100px;
    padding: 1em 1.5em;
    position: relative;
}
.service_list_btn a::before,
.service_list_btn a::after {
    content: '';
    position: absolute;
    top: 50%;
}
.service_list_btn a::before {
    width: 16px;
    height: 16px;
    background-color: #fff;
    border-radius: 50%;
    right: 1.5em;
    transform: translateY(-50%);
}
.service_list_btn a::after {
    width: 6px;
    height: 6px;
    border-right: 2px solid var(--tertiary-color);
    border-bottom: 2px solid var(--tertiary-color);
    right: calc(1.5em + 6px);
    transform: translateY(-50%) rotate(-45deg);
}
.service_content_list_item {
    font-weight: 500;
    position: relative;
    padding-left: calc(8px + 0.5em);
}
.service_content_list_item::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 580%;
    background-color: #000;
    position: absolute;
    top: 0.75em;
    left: 0;
}
.restoration_explanation {
    padding-top: 60px;
    border-top: 2px solid var(--tertiary-color);
}
.restoration_explanation_heading {
    font-weight: 900;
    font-size: 1.6rem;
    line-height: 1.5;
}
.restoration_explanation_detail p {
    margin-bottom: 2.5em;
    line-height: 1.5;
    font-weight: 500;
}
.restoration_explanation_detail p:last-of-type {
    margin-bottom: 0;
}
.restoration_explanation_inner {
    margin: auto;
    width: var(--layout-sp-width);
    max-width: var(--layout-inner-width);
}
.restoration_explanation_photo img {
    border-radius: 15px;
}
.restoration_explanation_photo.only_sp {
    margin-top: 20px;
    margin-bottom: 20px;
}
.restoration_explanation_heading {
    border-bottom: 2px solid var(--tertiary-color);
    padding-bottom: 0.5em;
    margin-bottom: 0.5em;
}
.restoration_explanation_split {
    display: flex;
    flex-direction: column;
}

@media screen and (max-width: 900px) {
    .service_list_btn {
        margin-top: 30px;
        margin-bottom: 30px;
    }
}

@media screen and (min-width: 768px) {
    .main_inner {
        padding-top: 90px;
    }
    .restoration_block .common_heading {
        padding-bottom: 45px;
    }
    .restoration_main_block {
        margin-top: 100px;
        border-top-left-radius: 50px;
        padding-left: 0;
    }
    .restoration_main_block_inner {
        margin-top: 80px;
        width: 80%;
    }
    .restoration_main_block::before {
        width: 540px;
        height: 121px;
        top: -121px;
    }
    .restoration_main_top_image {
        border-top-left-radius: 50px;
    }
    .restoration_heading {
        border-radius: 22px;
    }
    .restoration_heading_catch {
        font-size: 1.8rem;
    }
    .service_list_item_inner {
        padding-bottom: 30px;
    }
    .service_list_name {
        font-size: 1.8rem;
        padding-top: 30px;
    }
    .service_content {
        padding: 30px;
    }
    .restoration_explanation_heading {
        font-size: 1.8rem;
    }
    .restoration_explanation {
        padding-top: 90px;
    }
    .restoration_explanation_heading {
        padding-bottom: 0.75em;
        margin-bottom: 0.75em;
    }
    .restoration_explanation_split {
        flex-direction: row;
        gap: 20px;
    }
    .restoration_explanation_photo {
        width: 240px;
    }
    .restoration_explanation_content {
        width: calc(100% - 260px);
    }
    .block_lower .restoration_explanation_photo {
        order: 2;
    }
    .block_lower .restoration_explanation_content {
        order: 1;
    }
}

@media screen and (min-width: 901px) {
    .service_list {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 24px;
    }
    .service_list_item {
        border-radius: 22px;
        width: calc(50% - 12px);
    }
    .restoration_explanation_split {
        gap: 30px;
    }
    .restoration_explanation_photo {
        width: 350px;
    }
    .restoration_explanation_content {
        width: calc(100% - 380px);
    }
}

@media screen and (min-width: 1161px) {
    .main_inner {
        padding-top: 120px;
    }
    .restoration_block .common_heading {
        padding-bottom: 60px;
    }
    .restoration_main_block {
        margin-top: 150px;
        border-top-left-radius: 80px;
    }
    .restoration_main_block_inner {
        margin-top: -150px;
    }
    .restoration_main_block::before {
        width: 722px;
        height: 162px;
        top: -162px;
    }
    .restoration_main_top_image {
        border-top-left-radius: 80px;
    }
    .restoration_heading {
        padding: 70px 90px 60px;
        border-radius: 30px;
        margin-bottom: 120px;
    }
    .restoration_heading_catch {
        font-size: 2.4rem;
    }
    .service_list {
        gap: 46px;
        justify-content: space-between;
    }
    .service_list_item {
        border-radius: 30px;
        width: calc((100% / 3) - 31px);
    }
    .service_list_item_inner {
        padding-bottom: 46px;
    }
    .service_list_name {
        font-size: 2rem;
    }
    .service_list_btn a {
        padding: 1.25em 2em;
    }
    .common_estimate_banner {
        margin-top: 70px;
        margin-bottom: 120px;
    }
    .service_content {
        padding: 40px;
    }
    .restoration_explanation_heading {
        font-size: 2.4rem;
    }
    .restoration_explanation {
        padding-top: 120px;
    }
    .restoration_explanation_photo img {
        border-radius: 30px;
    }
    .restoration_explanation_heading {
        padding-bottom: 1em;
        margin-bottom: 1em;
    }
    .restoration_explanation_split {
        gap: 40px;
    }
    .restoration_explanation_photo {
        width: 560px;
    }
    .restoration_explanation_content {
        width: calc(100% - 600px);
    }
}

@media screen and (min-width: 1301px) {
    .restoration_heading {
        margin-bottom: 180px;
    }
}

@media screen and (min-width: 1601px) {
    .restoration_heading {
        height: 520px;
        margin-bottom: 210px;
    }
    .restoration_explanation {
        padding-top: 170px;
    }
}
