/*
renovation
*/

.renovation {
    font-family: "ten-mincho-text", serif;
    font-weight: 400;
    font-style: normal;
    font-feature-settings: "palt" on, "jp04" on;

    position: relative;
    overflow: hidden;
}

.renovation * {
    box-sizing: border-box;
}

.renovation-heading {
    border-top: 1px #0068a4 solid;
    border-bottom: 1px #0068a4 solid;
    color: #0068a4;
    font-size: clamp(20px, 10.32px + 2.62vw, 48px);
    font-family: "yu-mincho-pr6n", sans-serif;
    font-weight: bold;
    font-style: normal;
    text-align: center;
    padding: clamp(10px, 8.624px + 0.37vw, 14px) 0;
    margin-left: auto;
    margin-right: auto;
    max-width: 800px;
}

.renovation-heading-sub {
    border-bottom: 1px #0068a4 solid;
    color: #0068a4;
    font-size: clamp(20px, 15.856px + 1.12vw, 32px);
    font-family: "source-han-sans-jp-variable", sans-serif;
    font-variation-settings: "wght" 600;
    font-weight: bold;
    line-height: 1.22;
    text-align: center;
    word-break: keep-all;
    padding: 0 clamp(0px, -17.296px + 4.67vw, 50px) 10px;
    margin-left: auto;
    margin-right: auto;
    width: fit-content;
}

@media (max-width: 640px) {
    .renovation-heading-sub {
        width: 100%;
    }
}

.renovation-button {
    display: inline-flex;
    justify-content: center;

    background:
        url(../img/button_arrow.svg) center calc(50% + 4px) / clamp(220px, 192.336px + 7.48vw, 300px) auto no-repeat,
        linear-gradient(270deg, #004aa7, #0068d1);
    border-radius: 16px;

    color: white;
    font-size: clamp(14px, 12.624px + 0.37vw, 18px);
    text-align: center;
    text-decoration: none;

    padding: 16px 20px 16px;

    max-width: 95%;
    width: 400px;
    height: 72px;
}

.renovation-contact {
    display: inline-block;
    aspect-ratio: 1 / 1;
    background: url(../img/contact.webp) center / cover no-repeat;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.35));
    width: 150px;
    height: 150px;
}

/*
intro
*/

.renovation-intro {
    position: relative;
    margin-bottom: -50px;
    width: 100%;
    height: clamp(470px, 350.288px + 31.92vw, 810px);
    z-index: 0;
}

.renovation-intro__carousel {
    overflow: hidden;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.renovation-intro__carousel .swiper-wrapper,
.renovation-intro__carousel .swiper-slide {
    width: 100%;
    height: 100%;
}

.renovation-intro__carousel img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 20% center;
}

.renovation-intro__text {
    color: black;
    font-size: clamp(22px, 11.632px + 2.8vw, 52px);
    font-weight: bold;
    line-height: calc(80 / 52);

    writing-mode: vertical-rl;
    text-orientation: upright;

    position: absolute;
    top: 15%;
    right: calc((100% - min(1440px, 100%)) / 2 + clamp(18px, -6.896px + 6.73vw, 90px));
    z-index: 1;
}

/*
bg
*/

.renovation-bg-white {
    background-color: #f7f7f8;
    overflow: visible;
}

.renovation-bg-blue {
    background: linear-gradient(270deg, #004aa7, #0067cf);
}

/*
card
*/

.renovation-card {
    background-color: white;
    position: relative;
    max-width: min(1080px, 91%);
    padding-left: 50px;
    padding-right: 50px;
    margin: 0 auto;
}

@media (max-width: 900px) {
    .renovation-card {
        padding-left: 24px;
        padding-right: 24px;
    }
}

.renovation-card::before,
.renovation-card::after {
    content: "";
    position: absolute;
    top: 0;
    width: 20px;
    height: 100%;
    pointer-events: none;
}

.renovation-card::before {
    left: -20px;
    background: linear-gradient(to left,
            rgba(0, 0, 0, 0.08),
            rgba(0, 0, 0, 0));
}

.renovation-card::after {
    right: -20px;
    background: linear-gradient(to right,
            rgba(0, 0, 0, 0.08),
            rgba(0, 0, 0, 0));
}

.renovation-card--top {
    box-shadow: 0 -4px 4px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1;
}

.renovation-card--bottom {
    box-shadow: 0 8px 8px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1;
}

/*
description
*/

.renovation-description {
    text-align: center;
    position: relative;
    padding-top: 40px;
    padding-bottom: 100px;
}

.renovation-description__contact {
    position: absolute;
    right: 0px;
    top: 120px;
    transform: translateX(50%);
    z-index: 2;
}

@media (max-width: 1280px) {
    .renovation-description__contact {
        position: static;
        transform: none;
        margin: 0 auto;
    }
}

.renovation-description__heading {
    background: linear-gradient(90deg,
            transparent 0%,
            #004aa7 30%,
            #004aa7 70%,
            transparent 100%);
    color: white;
    font-size: clamp(18px, 16.96px + 0.28vw, 21.008px);
    font-weight: 500;
    padding: 4px 2px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: clamp(32px, 20.928px + 2.99vw, 64px);
    max-width: 600px;
}

.renovation-description__intro {
    font-size: clamp(16px, 7.696px + 2.24vw, 40px);
    font-weight: 500;
    line-height: 1;
    text-align: center;
    margin-bottom: clamp(20px, 6.176px + 3.74vw, 60px);
}

.renovation-description__big {
    font-size: clamp(34px, 13.936px + 5.42vw, 92px);
    font-weight: 500;
    line-height: 1;
    text-align: center;
    margin-bottom: clamp(38px, 23.472px + 3.93vw, 80px);
}

@media (max-width: 640px) {
    .renovation-description__big {
        letter-spacing: -0.08em;
    }
}

.renovation-description__text {
    font-size: clamp(12px, 8.544px + 0.93vw, 22px);
    font-weight: 500;
    line-height: calc(37 / 22);
    text-align: left;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 70px;
    max-width: 730px;
}

@media (max-width: 900px) {
    .renovation-description__text {
        border-top: 1px solid black;
        padding: 16px 12px 0;
    }
}

/*
requests
*/

.renovation-requests {
    padding-bottom: 135px;
}

.renovation-requests__heading {
    margin-bottom: clamp(30px, 21.696px + 2.24vw, 54px);
}

.renovation-requests__list {
    display: grid;
    justify-content: center;
    grid-template-columns: repeat(auto-fill, minmax(145px, 230px));
    gap: clamp(6px, 5.312px + 0.19vw, 8px);
}

@media (max-width: 640px) {
    .renovation-requests__list {
        grid-template-columns: 1fr 1fr;
    }
}

.renovation-requests__item {
    display: flex;
    align-items: center;
    justify-content: center;

    font-size: clamp(13.008px, 9.888px + 0.84vw, 22px);
    font-weight: 500;
    line-height: 1.3;
    text-align: center;

    border: 1px solid black;
    height: clamp(72px, 55.408px + 4.49vw, 120px);
}

/*
cases
*/

.renovation-cases {
    display: flex;
    flex-direction: column;
    gap: clamp(40px, 28.928px + 2.99vw, 72px);
    padding-bottom: clamp(36px, 8.688px + 7.38vw, 115.008px);
}

.renovation-case {
    --height: 540px;

    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: end;
    aspect-ratio: 144 / 54;
    position: relative;
    height: var(--height);
}

.renovation-case__image {
    position: absolute;
    right: calc(50% - 80px);
    width: min(70vw, 800px);
    height: var(--height);
    object-fit: cover;
    z-index: 1;
}

.renovation-case:nth-child(even) .renovation-case__image {
    left: calc(50% - 80px);
    right: auto;
}

.renovation-case__body {
    grid-column: 2;

    background-color: #f7f7f8;
    box-shadow: 0 14px 16px rgba(0, 0, 0, 0.2);

    padding: 16px clamp(30px, 26.544px + 0.93vw, 40px) 20px;
    margin-bottom: 45px;
    margin-right: auto;
    max-width: 440px;
    height: fit-content;
    z-index: 2;
}

.renovation-case:nth-child(even) .renovation-case__body {
    grid-column: 1;
    margin-right: 0;
    margin-left: auto;
}

.renovation-case__body__number {
    font-size: clamp(16px, 15.312px + 0.19vw, 18px);
    font-weight: 500;
}

.renovation-case__body__title {
    font-size: clamp(24px, 22.624px + 0.37vw, 28px);
    font-weight: 500;
    margin-top: clamp(12px, 11.312px + 0.19vw, 14px);
}

.renovation-case__body__description {
    font-size: 14px;
    font-weight: 500;
    line-height: calc(18 / 14);
    margin-top: 12px;
}

.renovation-case__body__description br+br {
    display: block;
    content: "";
    margin-top: 0.5em;
}

.renovation-case__body__price {
    border-top: 1px solid black;
    font-size: calc(12px - clamp(0px, -0.688px + 0.19vw, 2px));
    font-weight: 500;
    padding-top: 16px;
    margin-top: 16px;
    width: 60%;
}

@media (max-width: 900px) {
    .renovation-case {
        grid-template-columns: 1fr;
        height: auto;
        width: 100vw;
        margin-left: calc(-50vw + 50%);
    }

    .renovation-case__image {
        position: static;
        width: 100%;
        height: auto;
    }

    .renovation-case__body {
        grid-column: auto;
        margin: 0 auto;
        max-width: 100%;
    }

    .renovation-case:nth-child(even) .renovation-case__image {
        left: auto;
        right: auto;
    }
}

/*
cases-slider
*/

.renovation-cases-carousel {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    background-color: #f4f1ea;
    padding: 20px 0;
}

.renovation-case-carousel__link {
    display: block;
    aspect-ratio: 2 / 1;
    width: 100%;
    height: auto;
}

.renovation-case-carousel__link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.renovation-cases-carousel .swiper-button-prev::after,
.renovation-cases-carousel .swiper-button-next::after {
    content: '';
    display: block;
    width: clamp(32px, 26.464px + 1.5vw, 48px);
    height: clamp(32px, 26.464px + 1.5vw, 48px);
}

.renovation-cases-carousel .swiper-button-prev {
    background: url(../img/carousel_back.svg) center / contain no-repeat;
}

.renovation-cases-carousel .swiper-button-next {
    background: url(../img/carousel_next.svg) center / contain no-repeat;
}

.renovation-cases-more {
    text-align: center;
    padding-top: clamp(50px, 36.176px + 3.74vw, 90px);
    padding-bottom: clamp(60px, 42.704px + 4.67vw, 110px);
}

/*
contact-section
*/

.renovation-contact-section {
    text-align: center;
    padding-bottom: 110px;
}

@media (max-width: 640px) {
    .renovation-contact-section--hide-sp {
        display: none;
    }
}

/*
policy
*/

.renovation-policy {
    padding-bottom: 80px;
}

.renovation-policy__satisfaction {
    display: block;
    margin: 0 auto 50px;
    width: clamp(180px, 138.512px + 11.21vw, 300px);
}

.renovation-policy__heading {
    margin-bottom: clamp(44px, 35.008px + 2.43vw, 70px);
}

.renovation-policy__intro {
    font-size: clamp(22px, 17.152px + 1.31vw, 36px);
    font-weight: 500;
    line-height: 1;
    text-align: center;
    word-break: keep-all;
    margin-bottom: clamp(44px, 30.176px + 3.74vw, 84px);
}

.renovation-policy__plaza {
    display: block;
    margin: 0 auto clamp(56px, 51.152px + 1.31vw, 70px);
}

.renovation-policy__point {
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin-left: auto;
    margin-right: auto;
    padding: 36px clamp(0px, -44.96px + 12.15vw, 130px);
    max-width: 800px;
}

.renovation-policy__point+.renovation-policy__point {
    border-top: 1px solid #004aa7;
}

.renovation-policy__point-title {
    --triangle-width: 16px;
    --triangle-height: 18px;
    --triangle-gap: 10px;
    --line-height: 1.5;

    position: relative;
    font-size: 24px;
    font-weight: 500;
    line-height: var(--line-height);
    word-break: keep-all;
    text-indent: -1.5em;
    padding-left: calc(1.5em + var(--triangle-width) + var(--triangle-gap));
}

.renovation-policy__point-title::before {
    content: "";
    display: inline-block;
    vertical-align: middle;
    margin-right: var(--triangle-gap);
    width: var(--triangle-width);
    height: var(--triangle-height);
    background: linear-gradient(90deg, #004aa7 0%, #0068d1 100%);
    clip-path: polygon(0 0, 100% 50%, 0 100%);
    position: absolute;
    top: calc(1em * var(--line-height) / 2 - var(--triangle-height) / 2);
    left: 0;
}

.renovation-policy__point-desc {
    font-size: clamp(13.008px, 11.968px + 0.28vw, 16px);
    font-weight: 500;
    line-height: calc(20 / 16);
}

/*
flow
*/

.renovation-flow {
    padding-bottom: 100px;
}

.renovation-flow__heading {
    margin-bottom: 60px;
}

.renovation-flow__steps {
    display: grid;
    justify-content: center;
    grid-template-columns: repeat(auto-fit, 290px);
    column-gap: 30px;
    row-gap: clamp(48px, 39.696px + 2.24vw, 72px);
    margin-left: auto;
    margin-right: auto;
}

.renovation-flow__step {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.renovation-flow__step h4 {
    display: flex;
    align-items: last baseline;
    gap: 20px;

    color: #004aa7;
    font-size: 18px;
    font-weight: 500;
    font-family: "source-han-sans-jp-variable", sans-serif;
    font-variation-settings: "wght" 600;
    line-height: 1;
}

.renovation-flow__step-number {
    font-size: 26px;
    font-family: "bahnschrift", sans-serif;
    font-weight: 600;
    font-style: normal;
    line-height: 1;
}

.renovation-flow__step-image {
    display: block;
    max-width: 100%;
    width: auto;
}

/*
warranty
*/

.renovation-warranty {
    counter-reset: warranty-number 0;
    padding-bottom: 60px;
}

.renovation-warranty__title {
    margin-bottom: 24px;
}

.renovation-warranty__intro {
    font-size: clamp(13.008px, 11.968px + 0.28vw, 16px);
    font-weight: 500;
    line-height: calc(23 / 16);
    text-align: left;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 60px;
    max-width: 840px;
}

.renovation-warranty__items {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 100px;
    row-gap: 48px;
    margin-left: auto;
    margin-right: auto;
    max-width: 840px;
}

@media (max-width: 900px) {
    .renovation-warranty__items {
        grid-template-columns: 1fr;
        padding: 0 12px;
        column-gap: 0;
        row-gap: 64px;
    }
}

.renovation-warranty__item {
    display: flex;
    flex-direction: column;
    gap: clamp(13.008px, 11.968px + 0.28vw, 16px);

    position: relative;
}

.renovation-warranty__item-title {
    font-family: "source-han-sans-jp-variable", sans-serif;
    font-variation-settings: "wght" 600;
    font-size: clamp(16px, 13.92px + 0.56vw, 22px);
    font-weight: 500;
    color: #004aa7;
}

.renovation-warranty__item-desc {
    font-size: clamp(10.496px, 9.296px + 0.33vw, 14px);
    font-weight: 500;
    line-height: calc(18 / 14);
}

.renovation-warranty__item::before {
    content: counter(warranty-number) " ";
    color: rgba(255, 0, 0, 0.18);
    font-size: 90px;
    font-family: "alana-smooth", sans-serif;
    font-weight: 400;
    font-style: normal;
    line-height: 0.5;

    counter-increment: warranty-number;

    position: absolute;
    left: -20px;
    top: -20px;
}

/*
business
*/

.renovation-business {
    padding-bottom: 60px;
}

.renovation-business__title {
    margin-bottom: 24px;
}

.renovation-business__intro {
    font-size: clamp(13.008px, 11.968px + 0.28vw, 16px);
    font-weight: 500;
    line-height: calc(23 / 16);
    text-align: left;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 60px;
    max-width: 840px;
}

.renovation-business__logo {
    display: block;
    text-align: center;
}

.renovation-business__logo--renovation-council img {
    display: inline-block;
    width: clamp(260px, 201.824px + 18.18vw, 420px);
}

.renovation-business__logo--reform-business-group img {
    display: inline-block;
    width: clamp(180px, 143.632px + 11.36vw, 280px);
}

/*
contact-section-last
*/

.renovation-contact-section-last {
    position: relative;
    height: 75px;
}

.renovation-contact-section-last .renovation-contact {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

/*
voice
*/

.renovation-voice {
    margin-top: -80px;
    padding-top: 200px;
}

@media (max-width: 900px) {
    .renovation-voice {
        padding-left: 24px;
        padding-right: 24px;
    }
}

.renovation-voice__heading {
    margin-bottom: 60px;
}

.renovation-voice-list {
    display: grid;
    justify-content: center;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 16px;
    padding: 0 24px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 60px;
    max-width: 1288px;
}

@media (max-width: 900px) {
    .renovation-voice-list {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 0;
    }
}

.renovation-voice-list__item {
    flex: 1;
    background-color: #f4f1ea;
    box-shadow: 0 8px 8px rgba(0, 0, 0, 0.2);
    padding: 20px 20px 30px;

    font-size: 12px;
    font-weight: 500;
    line-height: calc(18 / 12);
}

.renovation-voice-list__item br+br {
    display: block;
    content: "";
    margin-top: 0.25em;
}

.renovation-voice__more {
    text-align: center;
    margin-bottom: 140px;
}