@charset "utf-8";

/* ==========================================
リノベーション
========================================== */

.inReformWr01 {
    padding: 18rem 0 14.8rem;
}

.inReformWr02 {
    padding: 15rem 0 15rem;
}



.reformNumberTit {
    font-size: 5rem;
    font-weight: normal;
    font-family: var(--font-family02);
    letter-spacing: 0.05em;
    line-height: 1.45em;
}

.reformNumberTit strong {
    font-weight: 400;
    font-size: 6rem;
}

.reformNumberTit mark {
    color: #8E3534;
}

.reformNumber {
    font-size: 30rem;
    color: #42210B;
    opacity: 0.05;
}

.reformNumberWr01 .reformNumberTextBox {
    width: 53.49%;
    margin-top: 3.6rem;
}

.reformNumberTextList {
    margin-top: 3.5rem;
}

.reformNumber {
    position: absolute;
    top: -20rem;
    left: -11rem;
}

.reformNumberWr01 {
    width: 89.58%;
    margin: 17.8rem 0 0 auto;
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    align-items: flex-start;
}

.reformNumberWr03 {
    width: 79.17%;
    margin: 21rem auto 0 auto;
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    align-items: center;
}

.reformNumberWr01 .reformNumberImgBox01 {
    width: 39.53%;
}

.reformNumberWr03 .reformNumberTextBox {
    width: 60.53%;
}

.reformNumberImgBox05 {
    width: 31.58%;
}

.reformNumberTextBox {
    position: relative;
}

.reformNumberTextList strong {
    color: #8E3534;
    font-weight: 400;
}

.reformNumberImgBox02 {
    width: 36.98%;
}

.reformNumberImg0201 {
    width: 67.61%;
}

.reformNumberImg0202 {
    width: 50.7%;
    margin: -4rem 0 0 auto;
}

.reformNumberWr02 {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin: 13rem 0 0;
}

.reformNumberWr02 .reformNumberTextBox {
    width: 64.58%;
    margin: 11.4rem 0 0 -1.56%;
}

.reformNumberSubWr02 .reformNumberTextList {
    max-width: 90.5rem;
    width: 100%;
}

.reformBtnMg {
    margin: 7.8rem 0 0 auto;
}

.reformNumberSubWr02 {
    padding: 0 1.5rem 0 0;
}

.reformNumberImg0203 {
    width: 69.35%;
    margin: 6.9rem 0 0 auto;
}

.reformNumberWr04 {
    width: 93.75%;
    margin: 16.2rem auto 0 0;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
}

.reformNumberWr04 .reformNumberImgBox01 {
    width: 37.78%;
}

.reformNumberWr04 .reformNumberTextBox {
    width: 51.11%;
    margin-top: 11.8rem;
}

.inReformWr03 {
    padding: 15rem 0;
}

.inReformWr04 {
    padding: 0 0 15rem;
}

.reformTitMg03 {
    margin-bottom: 8rem;
}

.reformAboutWr {
    max-width: 142rem;
    width: 100%;
    margin: 0 auto;
}

.reformAboutTextBox {
    max-width: 96rem;
    width: 100%;
    text-align: center;
    margin: 5.5rem auto 0;
}

.reformCharmWr {
    margin: 5.5rem auto 0;
    background-color: var(--tertiary);
    padding: 10rem 3rem 9.7rem;
}

.reformTitMg04 {
    margin-bottom: 5.4rem;
}

.reformCharmItemWr {
    max-width: 112rem;
    width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 5rem;
}

.reformCharmTextList {
    margin-top: 3rem;
    font-size: 1.8rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    line-height: 1.944em;
}

.reformCharmTit {
    font-size: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8E3534;
    margin-bottom: 2.8rem;
}

.reformCharmTit:before {
    content: "";
    transform: rotate(-30deg);
    display: block;
    width: 1px;
    height: 2.5rem;
    background-color: #8E3534;
    margin-right: 4rem;
    margin-top: 0.5rem;
}

.reformCharmTit:after {
    content: "";
    transform: rotate(30deg);
    display: block;
    width: 1px;
    height: 2.5rem;
    background-color: #8E3534;
    margin-left: 4rem;
    margin-top: 0.5rem;
}


.reformFlowWr {
    max-width: 142rem;
    width: 100%;
    margin: 0 auto;
}

.flow-container {
    width: 100%;
    margin: 6rem auto 0;
}

.flow-steps {
    display: flex;
    justify-content: space-between;
    list-style: none;
    padding: 0;
    margin: 0;
    position: relative;
}

.flow-item {
    flex: 1;
    text-align: center;
    position: relative;
}

/* つなぎの線（PC用） */
.flow-item:not(:last-child)::after {
    content: "";
    position: absolute;
    top: calc(5rem / 2);
    left: 50%;
    width: 100%;
    height: 1px;
    background-color: #8E3534;
    z-index: 1;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 5rem;
    height: 5rem;
    background-color: #8E3534;
    color: #fff;
    border-radius: 50%;
    font-size: 2.5rem;
    position: relative;
    z-index: 2;
    margin-bottom: 2rem;
}

.step-text {
    font-size: 2.3rem;
    line-height: 1.6;
    color: #42210B;
    margin: 0;
    padding: 0 1rem;
    font-weight: normal;
    font-family: var(--font-family02);
}

/*---slider----*/


.custom-slider-wrapper {
    position: relative;
    max-width: 100%;
    margin: 10rem auto 0;
    padding: 0 10rem;
    /* 左右矢印用の余白 */
}

/* スライドの基本レイアウト */
.slide-inner {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.slide-content {
    margin-top: 4.2rem;
    width: 45.9%;
    padding-bottom: 3rem;
}

.slide-media {
    width: 45.9%;
}

.slide-media img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* テキスト部分の装飾 */
.slide-num {
    font-size: 6rem;
    color: #8E3534;
    display: block;
    line-height: 1.2em;
}

.slide-title {
    font-size: 3rem;
    letter-spacing: 0.05em;
    line-height: 1.6;
    color: #42210B;
    font-family: var(--font-family02);
    flex: 1;
}

/* フッター（ドットと数字） */
.swiper-footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-top: -3rem;
    gap: 4rem;
    width: 45.9%;
}

/* Swiperドットのカスタマイズ */
.swiper-pagination {
    position: static !important;
    width: auto !important;
}

.swiper-pagination-bullet {
    background: #ccc !important;
    opacity: 1 !important;
}

.swiper-pagination-bullet-active {
    background: #8c3d36 !important;
}

/* フラクション（1/4）と横線 */
.custom-fraction {
    display: flex;
    align-items: baseline;
    color: #8c3d36;
    font-size: 2rem;
    gap: 0.5rem;
}

.fraction-line {
    width: 40px;
    height: 1px;
    background: #8c3d36;
    position: relative;
}

.fraction-line::after {
    content: '';
    position: absolute;
    right: 0;
    top: -4px;
    width: 8px;
    height: 1px;
    background: #8c3d36;
    transform: rotate(45deg);
}

.slider-tit-set {
    display: flex;
    align-items: center;
    gap: 3.8rem;
    margin-bottom: 3.3rem;
}

.current {
    font-size: 3rem;
}

.slide-text {
    font-size: 1.8rem;
    letter-spacing: 0.05em;
    line-height: 1.944em;
}

/* ナビゲーション矢印（細いデザイン） */
.swiper-button-next,
.swiper-button-prev {
    color: #8c3d36 !important;
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 24px !important;
    font-weight: 100;
}

/* ★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★ */
/* ★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★ */

@media screen and (width <=1920px) {}

/* ☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆ */
/* ☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆ */

/* ★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★ */
/* ★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★ */

@media screen and (width <=1550px) {
    .reformNumberTit {
        font-size: 4rem;
    }

    .reformNumberTit strong {
        font-size: 5rem;
    }
}

/* ☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆ */
/* ☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆ */

/* ★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★ */
/* ★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★ */

@media screen and (width <=1024px) {
    .reformNumberTit {
        font-size: 2.5rem;
    }

    .reformNumberTit strong {
        font-size: 3.2rem;
    }

    .reformNumber {
        top: -10rem;
        left: -4rem;
        font-size: 15rem;
    }

    .reformNumberWr02 .reformNumberTextBox {
        margin: 5.4rem 0 0 -1.56%;
    }

    .reformNumberWr04 .reformNumberTextBox {
        margin-top: 5.4rem;
    }

    .reformBtnMg {
        margin: 3.8rem 0 0 auto;
    }

    .reformNumberImg0203 {
        margin: 3.9rem 0 0 auto;
    }

    .reformNumberWr01 {
        margin: 10.8rem 0 0 auto;
    }

    .reformNumberWr03 {
        margin: 15rem auto 0 auto;
    }

    .reformNumberWr04 {
        margin: 10.2rem auto 0 0;
    }

    .reformCharmItemWr {
        gap: 3rem;
    }

    .step-text {
        font-size: 1.6rem;
    }

    .custom-slider-wrapper {
        margin: 5rem auto 0;
        padding: 0 7rem;
    }

}

/* ☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆ */
/* ☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆ */

/* ★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★ */
/* ★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★ */

@media screen and (width <= 768px) {

    .reformCharmItemWr {
        grid-template-columns: repeat(1, 1fr);
        gap: 5rem;
    }

    .reformCharmWr {
        margin: 3.5rem auto 0;
        padding: 5rem 1.5rem 4.7rem;
    }

    .reformCharmTextList {
        margin-top: 1.5rem;
        font-size: 1.6rem;
    }

    .reformTitMg04 {
        margin-bottom: 2.4rem;
    }

    .flow-container {
        width: 100%;
        margin: 3rem auto 0;
        max-width: 32rem;
    }

    .flow-steps {
        flex-direction: column;
        align-items: flex-start;
        /* 左寄せ */
    }

    .flow-item {
        display: flex;
        align-items: center;
        text-align: left;
        width: 100%;
        margin-bottom: 2rem;
    }

    .flow-item:last-child {
        margin-bottom: 0;
    }

    /* つなぎの線（スマホ用：縦線） */
    .flow-item:not(:last-child)::after {
        top: 3rem;
        left: calc(5rem / 2);
        width: 1px;
        height: 100%;
    }

    .step-number {
        margin-bottom: 0;
        margin-right: 2rem;
        flex-shrink: 0;
        /* 円が潰れないように */
    }

    .step-text {
        padding: 0;
        flex: 1;
        font-size: 2rem;
    }

    /* レスポンシブ：スマホ時は縦並び */
    .slide-inner {
        flex-direction: column-reverse;
    }

    .custom-slider-wrapper {
        padding: 0 4.5rem;
        margin: 5rem auto 0;
    }

    .slide-content {
        margin-top: 2.2rem;
        width: 100%;
        padding-bottom: 0;
    }

    .slide-media {
        width: 100%;
    }

    .slide-text {
        font-size: 1.6rem;
    }

    /* フッター（ドットと数字） */
    .swiper-footer {
        margin-top: 1rem;
        gap: 4rem;
        width: 100%;
    }

    .inReformWr01 {
        padding: 10rem 0 10rem;
    }

    .inReformWr02 {
        padding: 10rem 0 10rem;
    }

    .inReformWr03 {
        padding: 10rem 0;
    }

    .inReformWr04 {
        padding: 0 0 10rem;
    }

    .reformTitMg03 {
        margin-bottom: 4rem;
    }

    .reformAboutTextBox {
        margin: 3.5rem auto 0;
    }

    .reformNumberWr01 {
        margin: 5.8rem auto 0 auto;
        width: 100%;
        padding: 0 1.5rem;
        flex-direction: column;
        align-items: center;
    }

    .reformNumberWr01 .reformNumberImgBox01 {
        width: 100%;
    }

    .reformNumberWr01 .reformNumberTextBox {
        width: 100%;
    }

    .reformNumber {
        top: -6rem;
        left: 0;
    }

    .reformNumberWr02 {
        margin: 5rem 0 0;
        flex-direction: column;
        padding: 0 1.5rem;
    }

    .reformNumberImgBox02 {
        width: 80%;
    }

    .reformNumberWr02 .reformNumberTextBox {
        width: 100%;
        margin: 5.4rem 0 0 0;
    }

    .reformNumberImg0203 {
        margin: 2.9rem 0 0 auto;
        width: 80%;
    }

    .reformBtnMg {
        margin: 2.8rem 0 0 auto;
    }

    .reformNumberWr03 {
        margin: 5rem auto 0 auto;
        flex-direction: column;
        width: 100%;
        padding: 0 1.5rem;
    }

    .reformNumberWr03 .reformNumberTextBox {
        width: 100%;
        margin: 5rem 0 0;
    }

    .reformNumberImgBox05 {
        width: 100%;
    }

    .reformNumberWr04 {
        width: 100%;
        margin: 5.2rem auto 0 0;
        align-items: center;
        flex-direction: column;
        padding: 0 1.5rem;
    }

    .reformNumberWr04 .reformNumberImgBox01 {
        width: 100%;
    }

    .reformNumberWr04 .reformNumberTextBox {
        width: 100%;
        margin-top: 5.8rem;
    }

}

/* ☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆ */
/* ☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆ */

/* ★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★ */
/* ★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★ */

@media screen and (width <=576px) {

    .reformCharmTit {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .reformCharmTit:before {
        margin-right: 2rem;
    }

    .reformCharmTit:after {
        margin-left: 2rem;
    }

    .step-number {
        font-size: 2rem;
        width: 3.5rem;
        height: 3.5rem;
    }

    .flow-item:not(:last-child)::after {
        left: calc(3.5rem / 2);
    }
    
    .step-text {
        font-size: 1.8rem;
    }

    .slide-num {
        font-size: 4rem;
    }

    .slide-title {
        font-size: 2.5rem;
    }

    .slider-tit-set {
        gap: 1.8rem;
        margin-bottom: 1.5rem;
    }

    .reformAboutTextBox {
        text-align: left;
    }
}

/* ☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆ */
/* ☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆ */

/* ★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★ */
/* ★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★ */

@media screen and (width <=414px) {

    .slide-title {
        font-size: 2.2rem;
    }

    .reformNumberTit {
        font-size: 2rem;
    }

    .reformNumberTit strong {
        font-size: 2.5rem;
    }

    .reformNumber {
        top: -5rem;
        font-size: 12rem;
    }

    .reformNumberTextList {
        margin-top: 1.5rem;
    }

}

/* ☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆ */
/* ☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆ */