@charset "UTF-8";

.txt-flip {
    text-align: right;
    transform: rotateY(180deg);
}

.hrDate,
.hrLifestyle,
.hrRoof {
    padding: 80px 0;
}

.hrDate {
    position: relative;
    overflow: hidden;
    background: #ede4e0;
}

.hrDate .content {
    max-width: 780px;
    position: relative;
    z-index: 1;
}

.hrLifestyle .content {
    max-width: 740px;
}

.hrRoof .content {
    max-width: 1200px;
}

.hrDate__inner {
    margin: 0 auto;
}

.hrDate__intro {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 40px;
}

.hrDate__label {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: #8c7045;
    color: #ffffff;
    font-family: "Crimson Text", serif;
    font-size: 28px;
    line-height: 1;
    letter-spacing: 0.04em;
}

.hrDate__body {
    min-width: 0;
    padding-top: 4px;
}

.hrDate__title {
    font-size: 22px;
    line-height: 1.4 !important;
    color: #8c7045;
    font-weight: 500;
}

.hrDate__title sup {
    font-size: 0.55em;
    vertical-align: top;
}

.hrDate__text {
    margin-top: 14px;
    font-size: 16px;
    color: #231815;
}

.hrDate__text span {
    background: #2570ae;
    color: #ffffff;
}

.hrDate__caption {
    margin-top: 10px;
    font-size: 14px;
    line-height: 1.5;
    color: #231815;
    font-weight: 600;
    letter-spacing: 0.04em;
}

.hrDate__chart {
    position: relative;
    width: 100%;
}

.hrDate__chartTitle {
    font-weight: 600;    
    padding: 10px 0;
    margin: 0 0 40px 50px;
    color: #ffffff;
    background: #8c7045;
    font-size: 20px;
    line-height: 1.5;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-align: center;
}

.hrDate__status {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 2;
    min-width: 118px;
    padding: 8px 22px;
    background: #c30d23;
    color: #ffffff;
    font-size: 20px;
    line-height: 1.1;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-align: center;
    transform: translateX(-50%) translateY(-50%);
}

.hrDate__figure {
    max-width: 700px;
    margin: 0 auto;
}

.hrDate__figure img {
    width: 100%;
    height: auto;
}

.hrDate__source {
    margin: 25px 0 0 90px;
    font-size: 12px;
    line-height: 1.5;
    color: #231815;
    font-weight: 600;
    letter-spacing: 0.04em;
    
}

.hrDate__source p {
    text-indent: -12px;
    padding-left: 20px;
}

.hrDate__txtEnd {
    text-align: center;
    margin: 40px 0 0;
}

.hrDate__txtEnd span {
    background: #b72831;
    color: #ffffff;
}








.hrLifestyle__header {
    text-align: center;
    margin-bottom: 50px;
}

.hrLifestyle__title {
    font-size: 28px;
    line-height: 1.45;
    color: #8c7045;
    font-weight: 400;
    letter-spacing: 0.1em;
}

.hrLifestyle__lead {
    margin-top: 10px;
    font-size: 18px;
    line-height: 1.5;
    color: #241d19;
    font-weight: 600;
    letter-spacing: 0.08em;
}

.hrLifestyle__tabs {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 24px;
    margin-bottom: 30px;
}

.hrLifestyle__tab {
    appearance: none;
    border: 0;
    background: transparent;
    padding: 0 10px 16px;
    color: #c9beb5;
    cursor: pointer;
    transition: color 0.3s ease, opacity 0.3s ease;
    position: relative;
}

.hrLifestyle__tab::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 5px;
    width: 86px;
    height: 4px;
    background: #72533d;
    transform: translateX(-50%) scaleX(0);
    transform-origin: center;
    transition: transform 0.3s ease;
}

.hrLifestyle__tab:hover,
.hrLifestyle__tab.is-active {
    color: #72533d;
}

.hrLifestyle__tab:hover::after,
.hrLifestyle__tab.is-active::after {
    transform: translateX(-50%) scaleX(1);
}

.hrLifestyle__tabImage {
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.hrLifestyle__tabImage img {
    width: auto;
    max-height: 80px;
    max-width: 100%;
    opacity: 0.5;
    transition: opacity 0.3s ease, filter 0.3s ease;
}

.hrLifestyle__tab:hover .hrLifestyle__tabImage img,
.hrLifestyle__tab.is-active .hrLifestyle__tabImage img {
    opacity: 1;
    filter: saturate(0.2) brightness(0.7);
}

.hrLifestyle__tabLabel {
    display: block;
    margin-top: 12px;
    font-size: 20px;
    line-height: 1.1;
    font-weight: 500;
    letter-spacing: 0;
}

.hrLifestyle__viewport {
    position: relative;
    border-bottom: 1px solid #231815;
    padding-bottom: 30px;
    min-height: 465px;
}

.hrLifestyle__note {
    font-size: 12px;
    font-weight: 600;
    text-align: right;
    color: #595757;
    letter-spacing: 0;
    margin-top: 20px;
}

.hrLifestyle__slider:not(.slick-initialized) .hrLifestyleSlide:not(:first-child) {
    display: none;
}

.hrLifestyleSlide {
    padding: 0 40px 0 80px;
}

.hrLifestyleSlide__title {
    max-width: 860px;
    margin: 0 auto -10px;
    font-size: 22px;
    line-height: 1.6;
    font-weight: 500;
    letter-spacing: 0;
    color: #241d19;
}

.hrLifestyleSlide__figure {
    max-width: 1053px;
    margin: 0 auto;
    padding: 0 40px 0 60px;
}

.hrLifestyleSlide__figure img {
    width: 100%;
}

.hrLifestyle__slider .slick-arrow {
    position: absolute;
    top: 58%;
    z-index: 2;
    width: 42px;
    height: 54px;
    font-size: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    transform: translateY(-50%);
}

.hrLifestyle__slider .slick-prev {
    left: 20px;
}

.hrLifestyle__slider .slick-next {
    right: 30px;
}

.hrLifestyle__slider .slick-arrow::before {
    content: "";
    display: block;
    width: 0;
    height: 0;
    border-top: 20px solid transparent;
    border-bottom: 20px solid transparent;
}

.hrLifestyle__slider .slick-prev::before {
    border-right: 24px solid #000000;
}

.hrLifestyle__slider .slick-next::before {
    border-left: 24px solid #000000;
}

.hrRoof {
    background: #ffffff;
}

.hrRoof__title {
    margin-bottom: 55px;
    text-align: center;
    font-family: "Crimson Text", serif;
    font-size: 56px;
    line-height: 1;
    font-weight: 500;
    letter-spacing: 0.12em;
    color: #231815;
}

.hrRoof__layout {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 48px;
}

.hrRoof__stories {
    width: 53.9%;
}

.hrRoofItem {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 35px;
}

.hrRoofPhoto {
    width: 50.8%;
    overflow: visible !important;
}

.hrRoofPhoto img {
    width: 100%;
}

.hrRoofPhoto figcaption {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 4px;
    font-size: 10px;
    line-height: 1.2;
    font-style: italic;
    font-weight: 600;
    color: #231815;
    letter-spacing: 0;
    z-index: 1;
}

.hrRoofPhoto--middle figcaption {
    left: unset;
    right: 0;
}

.hrRoofCopy {
    width: 44.5%;
    color: #231916;
    align-self: center;
}

.hrRoofCopy h3 {
    margin-bottom: 10px;
    font-size: min(1.4vw, 18px);
    line-height: 1.4;
    font-weight: 500;
}

.hrRoofCopy p {
    font-size: min(1.2vw, 15px);
    line-height: 1.6;
    letter-spacing: 0;
}

.hrRoof__plan {
    width: 42.6667%;
    margin: min(5vw, 50px) 0 0;
}

.hrRoofPlan img {
    width: 100%;
}

.hrRoof__note {
    font-size: 12px;
    line-height: 1.7;
    color: #1e1e1e;
    letter-spacing: 0;
    text-indent: -1em;
    padding-left: 1em;
}

@media screen and (max-width: 768px) {
    .hrDate,
    .hrLifestyle,
    .hrRoof {
        padding: 55px 0;
    }

    .hrDate {
        padding: 40px 0;
    }

    .hrDate .content,
    .hrLifestyle .content,
    .hrRoof .content {
        max-width: none;
    }

    .hrDate__intro {
        display: block;
        margin-bottom: 30px;
    }

    .hrDate__label {
        width: 70px;
        height: 70px;
        font-size: 20px;
        margin: 0 auto 20px;
    }

    .hrDate__body {
        padding-top: 0;
        width: 100%;
    }

    .hrDate__title {
        font-size: 17px;
        letter-spacing: 0.1em;
    }

    .hrDate__text {
        font-size: 14px;
    }

    .hrDate__text br {
        display: none;
    }

    .hrDate__txtEnd {
        margin-top: 20px;
        text-align: left;
        font-size: 14px;
    }

    .hrDate__txtEnd br {
        display: none;
    }
    .hrDate__caption {
        margin-top: 8px;
        font-size: 10px;
        letter-spacing: 0.02em;
    }

    .hrDate__chartTitle {
        margin-bottom: 12px;
        font-size: 14px;
        letter-spacing: 0.04em;
    }

    .hrDate__status {
        min-width: 92px;
        padding: 6px 16px;
        font-size: 15px;
        letter-spacing: 0.06em;
    }

    .hrDate__source {
        margin-left: 0;
    }

    .hrLifestyle__header {
        margin-bottom: 34px;
    }

    .hrLifestyle__title {
        font-size: 22px;
        line-height: 1.5;
        letter-spacing: 0.06em;
    }

    .hrLifestyle__lead {
        margin-top: 8px;
        font-size: 14px;
        line-height: 1.7;
        letter-spacing: 0.04em;
    }

    .hrLifestyle__tabs {
        display: grid;
        grid-template-columns: repeat(6, minmax(0, 1fr));
        justify-content: center;
        align-items: end;
        gap: 16px 10px;
        margin-bottom: 22px;
    }

    .hrLifestyle__tab {
        grid-column: span 2;
        width: auto;
        padding: 0 2px 12px;
    }

    .hrLifestyle__tab:nth-of-type(1) {
        grid-column: 2 / span 2;
    }

    .hrLifestyle__tab:nth-of-type(2) {
        grid-column: 4 / span 2;
    }

    .hrLifestyle__tab::after {
        bottom: 3px;
        width: 44px;
        height: 3px;
    }

    .hrLifestyle__tabImage img {
        max-height: 55px;
    }

    .hrLifestyle__tabLabel {
        margin-top: 8px;
        font-size: 13px;
    }

    .hrLifestyle__viewport {
        min-height: 0;
        padding-bottom: 22px;
    }

    .hrLifestyleSlide {
        padding: 0 28px;
    }

    .hrLifestyleSlide__title {
        margin: 0 0 12px;
        font-size: 16px;
        line-height: 1.55;
    }

    .hrLifestyleSlide__figure {
        padding: 0;
    }

    .hrLifestyle__slider .slick-arrow {
        top: 60%;
        width: 24px;
        height: 38px;
    }

    .hrLifestyle__slider .slick-prev {
        left: 0;
    }

    .hrLifestyle__slider .slick-next {
        right: 0;
    }

    .hrLifestyle__slider .slick-arrow::before {
        border-top-width: 13px;
        border-bottom-width: 13px;
    }

    .hrLifestyle__slider .slick-prev::before {
        border-right-width: 15px;
    }

    .hrLifestyle__slider .slick-next::before {
        border-left-width: 15px;
    }

    .hrLifestyle__note {
        margin-top: 12px;
        font-size: 10px;
    }

    .hrRoof__title {
        margin-bottom: 32px;
        font-size: 38px;
        letter-spacing: 0.08em;
    }

    .hrRoof__layout {
        display: block;
    }

    .hrRoof__stories,
    .hrRoof__plan,
    .hrRoofPhoto,
    .hrRoofCopy {
        width: 100%;
    }

    .hrRoofItem {
        flex-direction: column;
        align-items: stretch;
        margin-bottom: 42px;
    }

    .hrRoofItem--middle {
        flex-direction: column-reverse;
    }

    .hrRoofPhoto figcaption {
        font-size: 9px;
        left: unset;
        right: 0;
    }

    .hrRoofCopy {
        margin-top: 18px;
    }

    .hrRoofCopy h3 {
        margin-bottom: 8px;
        font-size: 17px;
        line-height: 1.5;
    }

    .hrRoofCopy p {
        font-size: 13px;
        line-height: 1.8;
    }

    .hrRoof__plan {
        max-width: 430px;
        margin: 8px auto 0;
    }

    .hrRoof__note {
        margin-top: 18px;
        font-size: 10px;
        line-height: 1.7;
    }
}

