/* ==========================================================
   100th Anniversary Page Styles
   ========================================================== */

/* ---------- Base ---------- */
.page-100th {
    margin: 0;
    padding: 0;
    font-family: 'Noto Serif JP', serif;
    color: #5a4a3a;
    background-color: #f9f6f1;
    overflow-x: hidden;
}

/* ---------- Header ---------- */
.header-100th {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 20px 30px;
    box-sizing: border-box;
}

.header-100th_logo img {
    height: 16px;
    width: auto;
}

/* ---------- Hero Section ---------- */
.anniversary-hero {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.anniversary-hero_bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.anniversary-hero_bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-bg-sp {
    display: none;
}

.anniversary-hero_content {
    position: relative;
    z-index: 1;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    margin-top: 22vh;
}

.anniversary-hero_title {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}

.anniversary-hero_100th {
    width: clamp(180px, 26.1vw, 498px);
    height: auto;
}

.anniversary-hero_anniversary {
    width: clamp(270px, 42.3vw, 810px);
    height: auto;
    margin-top: clamp(16px, 2vw, 36px);
}

.anniversary-hero_fukurou img {
    width: clamp(72px, 8.55vw, 164px);
    height: auto;
    margin-top: 20px;
}

/* ---------- Shine Animation ---------- */
.shine-wrap {
    position: relative;
    display: inline-block;
}

.shine-layer {
    position: absolute;
    top: 0;
    left: 0;
    filter: brightness(2);
    pointer-events: none;
    -webkit-mask-image: linear-gradient(105deg, transparent 30%, white 45%, white 55%, transparent 70%);
    mask-image: linear-gradient(105deg, transparent 30%, white 45%, white 55%, transparent 70%);
    -webkit-mask-size: 50% 100%;
    mask-size: 50% 100%;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: -80% 0;
    mask-position: -80% 0;
    animation: shine 5s ease-in-out infinite;
}

.shine-wrap--1 .shine-layer {
    animation-delay: 0s;
}

.shine-wrap--2 .shine-layer {
    animation-delay: 0.7s;
}

@keyframes shine {
    0%   { -webkit-mask-position: -80% 0; mask-position: -80% 0; }
    25%  { -webkit-mask-position: 200% 0; mask-position: 200% 0; }
    100% { -webkit-mask-position: 200% 0; mask-position: 200% 0; }
}

/* ---------- Scroll Line ---------- */
.anniversary-hero_scrollline {
    position: relative;
    width: 1px;
    height: 140px;
    margin-top: 20px;
    overflow: hidden;
}

.anniversary-hero_scrollline span {
    display: block;
    width: 1px;
    height: 100%;
    background: #bda468;
    animation: scrollLine 4s ease-in-out infinite;
    transform-origin: top;
}

@keyframes scrollLine {
    0% {
        transform: scaleY(0);
        transform-origin: top;
    }
    40% {
        transform: scaleY(1);
        transform-origin: top;
    }
    50% {
        transform: scaleY(1);
        transform-origin: bottom;
    }
    90% {
        transform: scaleY(0);
        transform-origin: bottom;
    }
    100% {
        transform: scaleY(0);
        transform-origin: bottom;
    }
}

/* ---------- Product Section ---------- */
.anniversary-product {
    background-color: #faf8f4;
    padding: 100px 0 120px;
}

.anniversary-product_inner {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 0 20px;
}

/* ---------- Product Slideshow ---------- */
.anniversary-product_slideshow {
    position: relative;
    width: 330px;
    height: 420px;
    margin: 0 auto 50px;
    background-color: #faf8f4;
}

.slide-img {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0;
    filter: blur(0px);
    transition: opacity 2.5s ease-in-out, filter 2s ease-in-out;
}

.slide-img.is-active {
    opacity: 1;
    filter: blur(0px);
}

.slide-img.is-leaving {
    opacity: 0;
    filter: blur(8px);
    transition: opacity 2s ease-in-out, filter 2s ease-in-out;
}

.anniversary-product_number {
    font-family: 'Noto Serif JP', serif;
    font-size: 108px;
    font-weight: 300;
    letter-spacing: 0.08em;
    color: #bda468;
    line-height: 1;
    margin-bottom: 8px;
}

.anniversary-product_subtitle {
    font-family: 'Noto Serif JP', serif;
    font-size: 21px;
    font-weight: 400;
    letter-spacing: 0.2em;
    color: #9a8a78;
    margin-bottom: 40px;
}

.anniversary-product_description {
    font-size: 14px;
    font-weight: 300;
    line-height: 2.2;
    letter-spacing: 0.12em;
    color: #7a6a58;
}

/* ---------- Fade-in Animation ---------- */
.fadeIn-100th {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.fadeIn-100th.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ---------- Message Section ---------- */
.anniversary-message {
    position: relative;
    padding: 100px 0 120px;
    background: url('../image/100/haikeiB.jpg') center center / cover no-repeat;
}

.anniversary-message_inner {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 40px;
}

.anniversary-message_heading {
    font-family: 'Noto Serif JP', serif;
    font-size: 42px;
    font-weight: 400;
    letter-spacing: 0.2em;
    color: #bda468;
    text-align: center;
    margin-bottom: 8px;
}

.anniversary-message_heading-sub {
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0.3em;
    color: #9a8a78;
    text-align: center;
    margin-bottom: 60px;
}

.anniversary-message_content {
    display: flex;
    align-items: flex-start;
    gap: 60px;
}

/* -- Left: Image -- */
.anniversary-message_image {
    flex: 0 0 460px;
    text-align: center;
    padding-top: 85px;
}

.anniversary-message_image-wrap {
    position: relative;
    display: inline-block;
}

.anniversary-message_image-wrap img {
    width: 100%;
    max-width: 440px;
    height: auto;
}

/* -- Right: Detail -- */
.anniversary-message_detail {
    flex: 1;
    padding-top: 10px;
}

.anniversary-message_product-name {
    font-family: 'Noto Serif JP', serif;
    font-size: 24px;
    font-weight: 500;
    letter-spacing: 0.15em;
    color: #bda468;
    margin-bottom: 32px;
}

.anniversary-message_description {
    font-size: 13px;
    font-weight: 300;
    line-height: 2.4;
    letter-spacing: 0.06em;
    color: #6a5a4a;
}

.anniversary-message_description p {
    margin-bottom: 1.2em;
}

.anniversary-message_description p:last-child {
    margin-bottom: 0;
}

.anniversary-message_description strong {
    font-weight: 600;
    color: #5a4a3a;
}

.anniversary-message_sign {
    margin-top: 2.4em;
    text-align: right;
}

.anniversary-message_sign p {
    font-family: 'Noto Serif JP', serif;
    font-size: 13px;
    font-weight: 300;
    line-height: 1.8;
    letter-spacing: 0.06em;
    color: #6a5a4a;
    margin: 0;
}

/* ---------- Footer ---------- */
.footer-100th {
    background-color: #faf8f4;
    padding: 80px 20px 60px;
}

.footer-100th_inner {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.footer-100th_logo {
    margin-bottom: 50px;
    display: flex;
    justify-content: center;
}

.footer-100th_logo img {
    height: 14px;
    width: auto;
    opacity: 0.7;
}

.footer-100th_back {
    margin-bottom: 50px;
}

.footer-100th_back-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: 'Noto Serif JP', serif;
    font-size: 13px;
    color: #9a8a78;
    text-decoration: none;
    letter-spacing: 0.15em;
    padding: 12px 32px;
    border: 1px solid #c4b48a;
    border-radius: 0;
    transition: all 0.4s ease;
}

.footer-100th_back-btn:hover {
    background-color: #c4b48a;
    color: #fff;
}

.footer-100th_arrow {
    display: inline-block;
    transition: transform 0.4s ease;
    font-size: 16px;
}

.footer-100th_back-btn:hover .footer-100th_arrow {
    transform: translateX(5px);
}

.footer-100th_copyright small {
    font-family: 'Noto Serif JP', serif;
    font-size: 10px;
    color: #b0a090;
    letter-spacing: 0.05em;
}

/* ---------- Responsive ---------- */
@media screen and (max-width: 768px) {
    .header-100th {
        padding: 15px 15px;
    }

    .header-100th_logo img {
        height: 10px;
    }

    .anniversary-hero {
        height: 100vh;
        min-height: 550px;
    }

    .anniversary-hero_content {
        margin-top: 12vh;
        gap: 3px;
    }

    .anniversary-hero_100th {
        width: 49.5vw;
    }

    .anniversary-hero_anniversary {
        width: 76.5vw;
        margin-top: 10px;
    }

    .anniversary-hero_fukurou img {
        width: 16.2vw;
    }

    .anniversary-hero_content {
        margin-top: 0;
        position: static;
    }

    .anniversary-hero {
        flex-direction: column;
        padding-bottom: 20px;
        box-sizing: border-box;
    }

    .anniversary-hero_scrollline {
        position: absolute;
        bottom: 80px;
        left: 50%;
        transform: translateX(-50%);
        height: 100px;
    }

    .anniversary-product {
        padding: 60px 0 70px;
    }

    .anniversary-product_slideshow {
        width: 180px;
        height: 230px;
    }

    .anniversary-product_number {
        font-size: 48px;
    }

    .anniversary-product_subtitle {
        font-size: 11px;
        margin-bottom: 30px;
    }

    .anniversary-product_description {
        font-size: 12px;
    }

    .hero-bg-pc {
        display: none;
    }

    .hero-bg-sp {
        display: block;
    }

    .anniversary-message {
        padding: 60px 0 70px;
        background: url('../image/100/smp_haikei_t.jpg') center center / cover no-repeat;
    }

    .anniversary-message_inner {
        padding: 0 20px;
    }

    .anniversary-message_heading {
        font-size: 28px;
    }

    .anniversary-message_heading-sub {
        margin-bottom: 36px;
    }

    .anniversary-message_content {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    .anniversary-message_image {
        flex: none;
        width: 100%;
        max-width: 280px;
        padding-top: 0;
    }

    .anniversary-message_product-name {
        font-size: 18px;
        margin-bottom: 24px;
    }

    .anniversary-message_description {
        font-size: 12px;
        line-height: 2.2;
    }

    .anniversary-message_sign p {
        font-size: 12px;
        line-height: 1.8;
    }
}
