@charset "UTF-8";

/* PC Layout */


/* Header */


.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    height: 70px;
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr) auto;
    align-items: center;
    column-gap: 24px;
    padding: 0 20px;
    background: var(--color-bg);
    border-bottom: 1px solid var(--color-border);
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.brand-logo {
    width: 54px;
    flex-shrink: 0;
}

.brand-copy {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

.brand-text {
    font-family: var(--font-serif);
    font-size: 22px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.08em;
    color: var(--color-heading);
    white-space: nowrap;
}

.brand-subtext {
    display: block;
    max-width: 260px;
    font-size: 9px;
    line-height: 1.45;
    letter-spacing: 0.04em;
    color: var(--color-text-muted);
}

.nav-toggle {
    display: none;
}

.main-nav {
    justify-self: end;
    min-width: 0;
}

.main-nav ul {
    display: flex;
    justify-content: flex-end;
    gap: 26px;
}

.main-nav a {
    font-size: 14px;
    color: var(--color-text);
    white-space: nowrap;
}

.header-contact {
    justify-self: end;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 150px;
    height: 42px;
    padding: 0 18px;
    border: 1px solid var(--color-accent);
    border-radius: 4px;
    background: var(--color-accent);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.04em;
}

.header-contact:hover {
    background: var(--color-accent-dark);
    border-color: var(--color-accent-dark);
    color: #fff;
}


/* Footer */


.site-footer {
    position: relative;
    min-height: 220px;
    padding: 42px 0 20px;
    background: var(--color-bg);
    border-top: 1px solid var(--color-border);
}

.footer-container {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 48px;
    align-items: start;
    width: auto;
    max-width: none;
    margin: 0;
    padding-right: 28px;
    padding-left: 28px;
}

.footer-brand {
    display: flex;
    align-items: center;
}

.footer-logo {
    display: block;
    flex-shrink: 0;
}

.footer-logo img {
    width: 130px;
    height: auto;
}

.footer-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 16px;
}

.footer-nav {
    order: 1;
}

.footer-nav ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 14px 28px;
}

.footer-nav a {
    font-size: 13px;
    line-height: 1.6;
    color: var(--color-text);
}

.footer-nav a:hover {
    color: var(--color-accent);
}

.footer-company-info {
    order: 2;
    width: 100%;
    margin-top: 30px;
    padding-top: 0;
    border-top: none;
    color: var(--color-text-muted);
    font-size: 13px;
    font-weight: 400;
    line-height: 1.8;
    letter-spacing: 0.04em;
    text-align: right;
}

.footer-company-info p {
    margin: 0;
    white-space: nowrap;
}

.footer-sns {
    order: 3;
    display: flex;
    gap: 18px;
    align-items: center;
    justify-content: flex-end;
}

.footer-sns a {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
}

.footer-sns img {
    max-width: 38px;
    max-height: 38px;
    object-fit: contain;
}

.footer-back-to-top {
    order: 4;
    display: inline-block;
    margin-top: 2px;
    padding-bottom: 4px;
    border-bottom: 1px solid var(--color-text-muted);
    color: var(--color-text-muted);
    font-size: 11px;
    line-height: 1;
    letter-spacing: 0.12em;
}

.footer-back-to-top:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
}

.footer-bottom {
    width: calc(100% - 56px);
    margin: 28px 28px 0;
    padding-top: 18px;
    border-top: 1px solid rgba(47, 42, 36, 0.12);
    color: var(--color-text-muted);
    font-size: 13px;
    text-align: center;
}

@media screen and (max-width: 1340px) {
    .footer-container {
        grid-template-columns: 200px 1fr;
        gap: 36px;
        padding-right: 28px;
        padding-left: 28px;
    }

    .footer-logo img {
        width: 120px;
    }

    .footer-nav ul {
        gap: 12px 20px;
    }

    .footer-company-info {
        font-size: 12px;
    }
}


/* Hero */


.hero {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        90deg,
        rgba(0, 0, 0, 0.9) 0%,
        rgba(0, 0, 0, 0.20) 38%,
        rgba(0, 0, 0, 0) 50%
    );
}

.hero-movie {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    margin: 0 auto;
    padding: 0 0 0 80px;
    color: #fff;
}

.hero h1 {
    font-family: var(--font-serif);
    font-size: 42px;
    line-height: 1.55;
    letter-spacing: 0.08em;
}

.hero-lead,
.hero-content p {
    margin-top: 22px;
    color: #fff;
    font-size: 16px;
}

.instagram-link {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    margin-top: 28px;
    padding: 16px 30px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 999px;
    background: #111;
    color: #fff;
    font-size: 14px;
    line-height: 1.4;
    transition: background 0.4s ease, opacity 0.4s ease;
}

.instagram-link:hover {
    background: var(--color-accent);
    color: #fff;
    opacity: 0.86;
}

.instagram-link img {
    width: 36px;
}


/* Common Sections */


.section {
    padding: 80px 40px;
}
  
.section-index {
    margin-bottom: 10px;
    font-size: 24px;
}
  
.section h2 {
    font-size: 28px;
    line-height: 1.5;
}
  
.section p {
    margin-top: 14px;
}
  
.section-text .button,
.section-header .button {
    margin-top: 24px;
}


/* About */

.about-section {
    padding: 80px 0;
}

.about-main {
    width: 86%;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 56px;
    align-items: center;
}

.about-section .section-index {
    margin-bottom: 12px;
    font-size: 32px;
    line-height: 1;
    letter-spacing: 0.08em;
    color: var(--color-section-index);
}

.about-section .section-text h2 {
    font-size: 26px;
    line-height: 1.5;
}

.about-section .section-text p {
    margin-top: 18px;
    font-size: 14px;
    line-height: 2;
}

.about-person {
    width: 600px;
    margin-left: auto;
    display: grid;
    grid-template-columns: 200px 380px;
    gap: 20px;
    align-items: end;
    justify-self: end;
}

.about-profile-title {
    font-size: 13px;
    line-height: 1;
    letter-spacing: 0.04em;
    color: var(--color-text-muted);
}

.about-profile-name {
    margin-top: 6px;
    font-family: var(--font-serif);
    font-size: 22px;
    line-height: 1;
    letter-spacing: 0.2em;
    color: var(--color-heading);
}

.about-image {
    display: flex;
    justify-content: flex-end;
}

.about-image img {
    display: block;
    width: 100%;
    border-radius: 4px;
}

@media screen and (max-width: 1240px) {
    .about-main {
        grid-template-columns: 370px 1fr;
        gap: 0;
    }

    .about-person {
        width: 534px;
        grid-template-columns: 200px 320px;
        gap: 14px;
    }
}

.about-feature-grid {
    width: 86%;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-top: 48px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(47, 42, 36, 0.06);
}

.about-feature-card {
    position: relative;
    min-height: 170px;
    padding: 30px 24px;
    text-align: center;
}

.about-feature-card:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 15%;
    right: 0;
    width: 1px;
    height: 70%;
    background: var(--color-border);
}

.about-feature-icon {
    display: flex;
    justify-content: center;
    margin-bottom: 16px;
}

.about-feature-icon img {
    width: auto;
    height: 50px;
    object-fit: contain;
}

.about-feature-card h3 {
    font-size: 15px;
    line-height: 1.5;
    color: var(--color-heading);
}

.about-feature-card p {
    margin-top: 10px;
    font-size: 13px;
    line-height: 1.8;
    color: var(--color-text-muted);
}

@media screen and (max-width: 1340px) {

    .about-feature-card {
        padding: 26px 18px;
    }
}


/* Child Cafeteria */


.child-cafeteria-section {
    width:100%;
    padding: 80px 0;
    background: var(--color-bg-dark);
}

.child-main {
    width: 86%;
    max-width: 1200px;
    margin: 0 auto 60px;
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 100px;
    align-items: center;
}

.child-cafeteria-section .section-index {
    margin-bottom: 12px;
    font-size: 32px;
    line-height: 1;
    letter-spacing: 0.08em;
    color: var(--color-section-index);
}

.child-cafeteria-section .section-text h2 {
    font-size: 26px;
    line-height: 1.5;
}

.child-cafeteria-section .section-text p {
    margin-top: 18px;
    font-size: 14px;
    line-height: 2;
}

.child-main-slider {
    position: relative;
    height: 320px;
    overflow: hidden;
    border-radius: 4px;
}

.child-main-slider img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    animation: childMainFade 16s infinite;
}

.child-main-slider img:nth-child(1) {
    animation-delay: 0s;
}

.child-main-slider img:nth-child(2) {
    animation-delay: 4.5s;
}

.child-main-slider img:nth-child(3) {
    animation-delay: 9s;
}

.child-main-slider img:nth-child(4) {
    animation-delay: 13.5s;
}

.child-main-slider img:first-child {
    opacity: 1;
}

@keyframes childMainFade {
    0% {
        opacity: 0;
    }
    6% {
        opacity: 1;
    }
    31% {
        opacity: 1;
    }
    37% {
        opacity: 0;
    }
    100% {
        opacity: 0;
    }
}

.child-role {
    width: 86%;
    max-width: 1200px;
    margin: 0 auto 60px;
}

.child-role > h3 {
    margin-bottom: 22px;
    font-family: var(--font-serif);
    font-size: 22px;
    line-height: 1.5;
    color: var(--color-heading);
}

.child-role-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.child-role-card {
    overflow: hidden;
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(47, 42, 36, 0.06);
}

.child-role-image {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    margin:0 12px;
    border-radius: 4px;
    background: #fff;
    display: grid;
    place-items: end center;
}

.child-role-image img {
    width: 92%;
    height: 92%;
    object-fit: contain;
}

.child-role-card h4 {
    margin-top: 18px;
    padding: 0 18px;
    font-size: 16px;
    line-height: 1.5;
    color: var(--color-heading);
    text-align: center;
}

.child-role-card p {
    margin-top: 8px;
    padding: 0 18px;
    font-size: 14px;
    line-height: 1.8;
    color: var(--color-text-muted);
    text-align: left;
}

.child-role-card p:last-child {
    padding-bottom: 24px;
}

.child-role-card ul {
    margin-top: 8px;
    padding: 0 18px 0 34px;
    color: var(--color-text-muted);
    font-size: 14px;
    line-height: 1.8;
    text-align: left;
    list-style: disc;
}

.child-support {
    width: 86%;
    max-width: 1200px;
    margin: 0 auto;
    border-radius: 4px;
    background: #efe8df;
    border: 1px solid var(--color-border);
    box-shadow: 0 12px 30px rgba(47, 42, 36, 0.06);
}

.child-support-text {
    padding: 34px 40px;
    text-align: center;
}

.child-support-text h3 {
    font-family: var(--font-serif);
    font-size: 22px;
    line-height: 1.6;
    color: var(--color-heading);
}

.child-support-text p {
    margin-top: 12px;
    font-size: 14px;
    line-height: 1.9;
    color: var(--color-text-muted);
}


/* Future Contents */


.future-contents-section {
    padding: 80px 0;
    background: var(--color-bg);
}

.future-contents-inner {
    width: 86%;
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 40px;
    margin-bottom: 40px;
}

.section-header .section-index {
    margin-bottom: 12px;
    font-size: 32px;
    line-height: 1;
    letter-spacing: 0.08em;
    color: var(--color-section-index);
}

.section-header h2 {
    margin-bottom: 10px;
}

.section-header p {
    margin-top: 16px;
    font-size: 14px;
    line-height: 2;
    color: var(--color-text-muted);
}

.future-heading {
    display: flex;
    align-items: center;
    gap: 10px;
}

.future-heading-icon {
    width: 100px;
    height: auto;
    margin:0 10px 0 0 ;
    flex-shrink: 0;
}

.section-header h2 {
    font-family: var(--font-serif);
    font-size: 26px;
    line-height: 1.5;
    color: var(--color-heading);
}

.section-header p {
    margin-top: 8px;
    font-size: 14px;
    line-height: 1.8;
    color: var(--color-text-muted);
}

.future-contents-link {
    gap: 8px;
}

.future-contents-link-icon {
    width: 18px;
    height: auto;
    flex-shrink: 0;
}

.card-grid {
    display: grid;
    gap: 22px;
}

.future-video-grid {
    grid-template-columns: repeat(4, 1fr);
}

.content-card {
    overflow: hidden;
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 12px 30px rgba(47, 42, 36, 0.06);
}

.future-video-card-link {
    display: block;
}

.future-video-thumbnail {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.future-video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.future-video-thumbnail::after {
    content: "動画を見る";
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    background: rgba(0, 0, 0, 0.34);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.08em;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.future-video-play {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #fff;
    transform: translate(-50%, -50%);
    transition: opacity 0.25s ease;
}

.future-video-play::before {
    content: "";
    display: block;
    margin-left: 3px;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-left: 12px solid #111;
}

.future-video-card:hover .future-video-thumbnail img {
    transform: scale(1.04);
}

.future-video-card:hover .future-video-thumbnail::after {
    opacity: 1;
}

.future-video-card:hover .future-video-play {
    opacity: 0;
}

.future-video-time {
    position: absolute;
    right: 8px;
    bottom: 8px;
    padding: 2px 6px;
    background: rgba(0, 0, 0, 0.72);
    color: #fff;
    font-size: 13px;
    line-height: 1.4;
}

.future-video-body {
    padding: 14px 10px 18px 20px;
}

.future-video-body .future-video-category {
    display: inline-block;
    margin-bottom: 10px;
    padding: 4px 8px;
    border-radius: 2px;
    background: var(--color-accent);
    color: #fff;
    font-size: 11px;
    line-height: 1;
}

.future-video-body h3 {
    margin-bottom: 10px;
    font-size: 15px;
    line-height: 1.5;
    color: var(--color-heading);
}

.future-video-body p {
    margin-top: 8px;
    font-size: 13px;
    line-height: 1.8;
    color: var(--color-text-muted);
}

@media screen and (max-width: 1340px) {
    .future-video-grid {
        gap: 18px;
    }

    .future-video-body h3 {
        font-size: 14px;
    }

    .future-video-body p {
        font-size: 13px;
    }
}


/* Partner */


.partner-section {
    padding: 64px 0;
    background: var(--color-bg-dark);
}

.partner-inner {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 48px;
    align-items: center;
    width: 86%;
    max-width: 1200px;
    margin: 0 auto;
}

.partner-text .section-index {
    margin-bottom: 12px;
    font-size: 32px;
    line-height: 1;
    letter-spacing: 0.08em;
    color: var(--color-section-index);
}

.partner-text h2 {
    font-family: var(--font-serif);
    font-size: 24px;
    line-height: 1.5;
    color: var(--color-heading);
}

.partner-text p {
    margin-top: 12px;
    font-size: 14px;
    line-height: 1.9;
    color: var(--color-text-muted);
}

.partner-contents {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 24px;
    align-items: center;
}

.logo-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    overflow: hidden;
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 10px 24px rgba(47, 42, 36, 0.05);
}

.logo-card {
    display: grid;
    place-items: center;
    min-height: 86px;
}

.logo-card {
    min-height: 100px;
}

.logo-card a {
    padding: 6px 8px;
}

.logo-card img {
    max-width: 190px;
    max-height: 78px;
    object-fit: contain;
}

.partner-button {
    display: flex;
    justify-content: flex-end;
}

@media screen and (max-width: 1340px) {
    .partner-inner {
        grid-template-columns: 240px 1fr;
        gap: 36px;
    }

    .partner-contents {
        gap: 18px;
    }

    .logo-card a {
        padding: 6px 8px;
    }
    .logo-card img {
        max-width: 150px;
        max-height: 64px;
    }
}


/* Future Exhibitions */


.future-exhibitions-section {
    padding: 60px 0;
    background: var(--color-bg);
}

.future-exhibitions-inner {
    width: 86%;
    max-width: 1200px;
    margin: 0 auto;
}

.future-exhibitions-heading span {
    font-size: 14px;
    line-height: 1.5;
}

.future-exhibitions-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.future-exhibitions-card {
    overflow: hidden;
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 12px 30px rgba(47, 42, 36, 0.06);
}

.future-exhibitions-card .content-card-link {
    display: block;
}

.future-exhibitions-card .content-card-image {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.future-exhibitions-card .content-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.future-exhibitions-card .content-card-image::after {
    content: "動画を見る";
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    background: rgba(0, 0, 0, 0.34);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.08em;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.future-exhibitions-card:hover .content-card-image img {
    transform: scale(1.04);
}

.future-exhibitions-card:hover .content-card-image::after {
    opacity: 1;
}

.future-exhibitions-card .content-card-body {
    padding: 14px 10px 18px 20px;
    text-align: left;
}

.future-exhibitions-card .future-video-category {
    display: inline-block;
    margin-bottom: 10px;
    padding: 4px 8px;
    border-radius: 2px;
    background: #91a85b;
    color: #fff;
    font-size: 11px;
    line-height: 1;
}

.future-exhibitions-card .content-card-date {
    margin: 0 0 8px;
    color: var(--color-text-muted);
    font-size: 12px;
    line-height: 1.4;
}

.future-exhibitions-card h3 {
    margin-bottom: 10px;
    font-size: 15px;
    line-height: 1.5;
    color: var(--color-heading);
}

.future-exhibitions-card .content-card-body > p:not(.future-video-category):not(.content-card-date) {
    margin-top: 8px;
    font-size: 13px;
    line-height: 1.8;
    color: var(--color-text-muted);
}

@media screen and (max-width: 1340px) {
    .future-exhibitions-grid {
        gap: 18px;
    }

    .future-exhibitions-card h3 {
        font-size: 14px;
    }
}


/* Event */


.event-section {
    padding: 80px 0;
    background: var(--color-bg-dark);
}

.event-inner {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 48px;
    align-items: start;
    width: 86%;
    max-width: 1200px;
    margin: 0 auto;
}

.event-text .section-index {
    margin-bottom: 12px;
    font-size: 32px;
    line-height: 1;
    letter-spacing: 0.08em;
    color: var(--color-section-index);
}

.event-text h2 {
    font-family: var(--font-serif);
    font-size: 24px;
    line-height: 1.5;
    color: var(--color-heading);
}

.event-text p {
    margin-top: 12px;
    font-size: 14px;
    line-height: 1.9;
    color: var(--color-text-muted);
}

.event-text .button {
    margin-top: 24px;
}

.event-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.event-card {
    overflow: hidden;
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 12px 30px rgba(47, 42, 36, 0.06);
}

.event-card .content-card-link {
    display: block;
}

.event-card .content-card-image {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.event-card .content-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.event-card .content-card-image::after {
    content: "詳細を読む";
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    background: rgba(0, 0, 0, 0.34);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.08em;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.event-card:hover .content-card-image img {
    transform: scale(1.04);
}

.event-card:hover .content-card-image::after {
    opacity: 1;
}

.event-card .content-card-body {
    padding: 14px 10px 18px 20px;
}

.content-card-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.content-card-label {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 2px;
    background: #4f8fb8;
    color: #fff;
    font-size: 11px;
    line-height: 1;
}

.content-card-meta time {
    color: var(--color-text-muted);
    font-size: 12px;
    line-height: 1;
}

.event-card h3 {
    margin-bottom: 10px;
    font-size: 15px;
    line-height: 1.5;
    color: var(--color-heading);
}

.event-card p {
    margin-top: 8px;
    font-size: 13px;
    line-height: 1.8;
    color: var(--color-text-muted);
}

@media screen and (max-width: 1340px) {
    .event-inner {
        grid-template-columns: 240px 1fr;
        gap: 36px;
    }

    .event-grid {
        gap: 18px;
    }
}


/* Event Archive Page */


.event-archive-section {
    width: 86%;
    max-width: 1200px;
    margin: 0 auto;
}

.event-archive-grid {
    grid-template-columns: repeat(3, 1fr);
}

.event-archive-page .news-empty {
    grid-column: 1 / -1;
    margin: 0;
    padding: 20px 0;
    color: var(--color-text-muted);
    font-size: 14px;
    text-align: center;
}


/* Event Detail Page */


.event-detail-page {
    padding: 80px 0 90px;
    background: var(--color-bg-dark);
}

.event-detail-panel {
    width: 86%;
    max-width: 900px;
    margin: 0 auto;
    padding: 46px 52px;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 4px;
    box-shadow: 0 12px 30px rgba(47, 42, 36, 0.06);
}

.event-detail-meta {
    margin-bottom: 18px;
}

.event-detail-panel h1 {
    font-family: var(--font-serif);
    font-size: 30px;
    line-height: 1.6;
    color: var(--color-heading);
}

.event-detail-image {
    display: block;
    width: 100%;
    margin-top: 28px;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 4px;
}

.event-detail-lead {
    margin-top: 28px;
    color: var(--color-text-muted);
    font-size: 15px;
    line-height: 2;
}

.event-detail-body {
    margin-top: 34px;
    color: var(--color-text);
    font-size: 15px;
    line-height: 2;
}

.event-detail-body p {
    margin-top: 18px;
}

.event-detail-body p:first-child {
    margin-top: 0;
}

.event-detail-body h2 {
    margin-top: 40px;
    font-family: var(--font-serif);
    font-size: 22px;
    line-height: 1.6;
    color: var(--color-heading);
}

.event-detail-body h3 {
    margin-top: 30px;
    font-size: 17px;
    line-height: 1.7;
    color: var(--color-heading);
}

.detail-actions {
    width: 86%;
    max-width: 900px;
    margin: 28px auto 0;
    display: flex;
    align-items: center;
    gap: 18px;
}

.detail-actions .text-link {
    color: var(--color-text-muted);
    font-size: 14px;
    text-decoration: underline;
    text-underline-offset: 3px;
}


/* Store */


.store-section {
    padding: 80px 0;
    background: var(--color-bg);
}

.store-inner {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 48px;
    align-items: start;
    width: 86%;
    max-width: 1200px;
    margin: 0 auto;
}

.store-text .section-index {
    margin-bottom: 12px;
    font-size: 32px;
    line-height: 1;
    letter-spacing: 0.08em;
    color: var(--color-section-index);
}

.store-text h2 {
    font-family: var(--font-serif);
    font-size: 24px;
    line-height: 1.5;
    color: var(--color-heading);
}

.store-text p {
    margin-top: 12px;
    font-size: 14px;
    line-height: 1.9;
    color: var(--color-text-muted);
}

.store-text .button {
    margin-top: 24px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
}

.product-card {
    overflow: hidden;
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 12px 30px rgba(47, 42, 36, 0.06);
}

.product-card .content-card-link {
    display: block;
}

.product-card .content-card-image {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: var(--color-bg-dark);
}

.product-card .content-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.product-card .content-card-image::after {
    content: "グッズを見る";
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    background: rgba(0, 0, 0, 0.34);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.08em;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.product-card:hover .content-card-image img {
    transform: scale(1.04);
}

.product-card:hover .content-card-image::after {
    opacity: 1;
}

.product-card .content-card-body {
    padding: 12px 12px 16px;
}

.product-card h3 {
    font-size: 13px;
    line-height: 1.5;
    color: var(--color-heading);
}

.product-price {
    margin-top: 6px;
    color: var(--color-text);
    font-size: 12px;
    font-weight: 600;
    line-height: 1.5;
}

.product-description {
    margin-top: 6px;
    color: var(--color-text-muted);
    font-size: 12px;
    line-height: 1.7;
}

@media screen and (max-width: 1340px) {
    .store-inner {
        grid-template-columns: 240px 1fr;
        gap: 36px;
    }

    .product-grid {
        gap: 14px;
    }

    .product-card h3 {
        font-size: 12px;
    }

    .product-price {
        font-size: 11px;
    }
}


/* Sponsor */


.sponsor-cta {
    background-color: #f4f0e8;
}

.sponsor-cta-inner {
    display: grid;
    grid-template-columns: 60% 40%;
    align-items: stretch;
    min-height: 360px;
}

.cta-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    max-width: none;
    padding-left: 0;
    text-align: left;
}


.sponsor-cta-image {
    overflow: hidden;
}

.sponsor-cta-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.cta-content h2,
.cta-content p,
.cta-buttons {
    width: 560px;
    max-width: 80%;
    text-align: center;
}

.cta-content h2 {
    font-family: var(--font-serif);
    font-size: 30px;
    margin-bottom: 30px;
    line-height: 1;
    letter-spacing: 0.08em;
    color: var(--color-heading);
}

.cta-content p {
    margin-bottom: 20px;
    font-size: 15px;
    line-height: 1.9;
    color: var(--color-text);
}

.cta-buttons {
    display: flex;
    gap: 16px;
    margin-top: 28px;
}

.cta-buttons .button {
    min-width: 220px;
    height: 42px;
    padding: 0 18px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

.cta-buttons .button:not(.primary) {
    border-color: var(--color-border);
    background: #fff;
    color: var(--color-text);
}

.cta-buttons .button:not(.primary)::after {
    color: var(--color-text-muted);
}

.cta-buttons .button:not(.primary):hover {
    border-color: var(--color-border);
    background: var(--color-border);
    color: var(--color-text);
}

.cta-buttons .button:not(.primary):hover::after {
    color: var(--color-text);
}

@media screen and (max-width: 1130px) {
    .sponsor-cta-inner {
        width: 92%;
        max-width: none;
    }

    .cta-content h2 {
        font-size: 30px;
        line-height: 1.6;
    }
}


/* YouTube Card Hover - 03 / 05 Common */
.future-video-play {
    display: none;
}

.future-video-thumbnail::before,
.future-exhibitions-card .content-card-image::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 2;
    width: 58px;
    height: 42px;
    background: url("../assets/youtube-icon.png") center / contain no-repeat;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.32));
    transform: translate(-50%, -50%);
    transition: transform 0.25s ease, background-image 0.25s ease;
}

.future-video-thumbnail::after,
.future-exhibitions-card .content-card-image::after {
    content: "動画を視聴する";
    position: absolute;
    inset: 0;
    z-index: 1;
    display: grid;
    place-items: center;
    padding-top: 82px;
    background: rgba(0, 0, 0, 0.34);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.08em;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.future-video-card:hover .future-video-thumbnail img,
.future-exhibitions-card:hover .content-card-image img {
    transform: scale(1.04);
}

.future-video-card:hover .future-video-thumbnail::before,
.future-exhibitions-card:hover .content-card-image::before {
    background-image: url("../assets/youtube-licon_red.png");
    transform: translate(-50%, -50%) scale(1.04);
}

.future-video-card:hover .future-video-thumbnail::after,
.future-exhibitions-card:hover .content-card-image::after {
    opacity: 1;
}

.future-video-time {
    z-index: 3;
}


/* Contact Page */


.sub-page {
    padding: 80px 0 90px;
}

.sub-hero {
    width: 86%;
    max-width: 1200px;
    margin: 0 auto 48px;
}

.sub-hero .eyebrow {
    margin-bottom: 12px;
    font-family: var(--font-serif);
    font-size: 32px;
    line-height: 1;
    letter-spacing: 0.08em;
    color: var(--color-section-index);
}

.sub-hero h1 {
    font-family: var(--font-serif);
    font-size: 34px;
    line-height: 1.5;
    color: var(--color-heading);
}

.sub-hero p {
    margin-top: 16px;
    font-size: 15px;
    line-height: 2;
    color: var(--color-text-muted);
}

.contact-layout {
    width: 86%;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 64px;
    align-items: start;
}

.contact-copy {
    padding-top: 20px;
}

.contact-copy h2 {
    font-family: var(--font-serif);
    font-size: 24px;
    line-height: 1.6;
    color: var(--color-heading);
}

.contact-copy p {
    margin-top: 18px;
    font-size: 14px;
    line-height: 2;
    color: var(--color-text-muted);
}

.contact-form {
    padding: 42px;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 6px;
    box-shadow: 0 12px 30px rgba(47, 42, 36, 0.06);
}

.contact-form label,
.contact-type-group {
    display: block;
    margin-top: 24px;
}

.contact-form label:first-child {
    margin-top: 0;
}

.form-label-text,
.contact-type-group legend {
    display: block;
    margin-bottom: 8px;
    color: var(--color-heading);
    font-size: 14px;
    font-weight: 600;
}

.required-badge {
    display: inline-block;
    margin-left: 6px;
    padding: 2px 6px;
    border-radius: 2px;
    background: var(--color-accent);
    color: #fff;
    font-size: 11px;
    line-height: 1.4;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--color-border);
    border-radius: 4px;
    background: #fff;
    color: var(--color-text);
    font: inherit;
}

.contact-form textarea {
    resize: vertical;
}

.contact-type-group {
    padding: 0;
    border: 0;
}

.contact-type-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px 16px;
}

.contact-type-options label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 0;
    padding: 10px 12px;
    border: 1px solid var(--color-border);
    border-radius: 4px;
    background: var(--color-bg);
    font-size: 14px;
}

.contact-form .button {
    margin-top: 30px;
    min-width: 220px;
}


/* Static Pages */


.static-page-panel {
    width: 86%;
    max-width: 960px;
    margin: 0 auto;
    padding: 42px 48px;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 6px;
    box-shadow: 0 12px 30px rgba(47, 42, 36, 0.06);
}

.static-page-panel h2 {
    margin-top: 36px;
    font-family: var(--font-serif);
    font-size: 22px;
    line-height: 1.6;
    color: var(--color-heading);
}

.static-page-panel h2:first-child {
    margin-top: 0;
}

.static-page-panel h3 {
    margin-top: 28px;
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-heading);
}

.static-page-panel p {
    margin-top: 12px;
    font-size: 14px;
    line-height: 2;
    color: var(--color-text-muted);
}

.static-page-panel ul {
    margin-top: 12px;
    padding-left: 1.4em;
    list-style: disc;
}

.static-page-panel li {
    margin-top: 6px;
    font-size: 14px;
    line-height: 1.9;
    color: var(--color-text-muted);
}


/* FAQ */


.faq-list {
    display: grid;
    gap: 18px;
}

.faq-item {
    padding: 24px 28px;
    border: 1px solid var(--color-border);
    border-radius: 4px;
    background: var(--color-bg);
}

.faq-item h2 {
    margin-top: 0;
    font-family: var(--font-serif);
    font-size: 17px;
    line-height: 1.7;
    color: var(--color-heading);
}

.faq-item p {
    margin-top: 10px;
    font-size: 14px;
    line-height: 2;
    color: var(--color-text-muted);
}



/* Company / Legal Table */


.company-table {
    width: 100%;
}

.company-table div {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 24px;
    padding: 18px 0;
    border-bottom: 1px solid var(--color-border);
}

.company-table div:first-child {
    border-top: 1px solid var(--color-border);
}

.company-table dt {
    color: var(--color-heading);
    font-weight: 600;
}

.company-table dd {
    margin: 0;
    color: var(--color-text-muted);
    line-height: 1.9;
}

.company-page .static-page-panel a {
    color: var(--color-accent);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.company-page .static-page-panel a:hover {
    color: var(--color-accent-dark);
}


/* Contact Modal */


body.modal-open {
    overflow: hidden;
}

.contact-modal[aria-hidden="true"] {
    display: none;
}

.contact-modal[aria-hidden="false"] {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: grid;
    place-items: center;
    padding: 40px 20px;
}

.contact-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(47, 42, 36, 0.35);
}

.contact-modal-panel {
    position: relative;
    z-index: 1;
    width: min(720px, 100%);
    max-height: calc(100vh - 80px);
    overflow: auto;
    padding: 42px;
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 18px 48px rgba(47, 42, 36, 0.18);
}

.contact-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border: 1px solid var(--color-border);
    border-radius: 50%;
    background: #fff;
    color: var(--color-text-muted);
    cursor: pointer;
}

.contact-modal-panel .eyebrow {
    margin-bottom: 10px;
    font-family: var(--font-serif);
    color: var(--color-section-index);
    font-size: 22px;
    line-height: 1;
    letter-spacing: 0.08em;
}

.contact-modal-panel h2 {
    font-family: var(--font-serif);
    font-size: 26px;
    line-height: 1.5;
    color: var(--color-heading);
}

.modal-lead {
    margin-top: 10px;
    color: var(--color-text-muted);
}

.confirm-list {
    margin-top: 28px;
    border-top: 1px solid var(--color-border);
}

.confirm-list div {
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: 18px;
    padding: 16px 0;
    border-bottom: 1px solid var(--color-border);
}

.confirm-list dt {
    color: var(--color-heading);
    font-weight: 600;
}

.confirm-list dd {
    margin: 0;
    color: var(--color-text-muted);
    white-space: pre-wrap;
}

.modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 14px;
    margin-top: 28px;
}

.quiet-note {
    margin-top: 18px;
    color: var(--color-text-muted);
    font-size: 12px;
    line-height: 1.8;
}

@media screen and (max-width: 1340px) {
    .contact-layout {
        grid-template-columns: 320px 1fr;
        gap: 44px;
    }

    .contact-form {
        padding: 34px;
    }
}

/* Thanks Page */
.thanks-page {
    min-height: calc(100vh - 70px);
    display: grid;
    place-items: center;
    padding: 100px 0;
}

.thanks-panel {
    width: 86%;
    max-width: 760px;
    padding: 56px 48px;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 6px;
    box-shadow: 0 12px 30px rgba(47, 42, 36, 0.06);
    text-align: center;
}

.thanks-panel .eyebrow {
    margin-bottom: 16px;
    font-family: var(--font-serif);
    color: var(--color-section-index);
    font-size: 32px;
    line-height: 1;
    letter-spacing: 0.08em;
}

.thanks-panel h1 {
    font-family: var(--font-serif);
    font-size: 32px;
    line-height: 1.6;
    color: var(--color-heading);
}

.thanks-panel p {
    margin-top: 20px;
    font-size: 15px;
    line-height: 2;
    color: var(--color-text-muted);
}

.thanks-panel .button {
    margin-top: 32px;
}


/* Privacy Policy */


.privacy-page .static-page-panel {
    max-width: 980px;
}

.privacy-page .static-page-panel a {
    color: var(--color-accent);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.privacy-page .static-page-panel a:hover {
    color: var(--color-accent-dark);
}

.privacy-page .static-page-panel h2 {
    padding-top: 4px;
}

.privacy-page .static-page-panel ul {
    margin-top: 14px;
    margin-bottom: 4px;
}

.privacy-page .static-page-panel li {
    padding-left: 2px;
}



/* Legal Page */


.legal-page .static-page-panel,
.legal-page .company-panel {
    width: 86%;
    max-width: 980px;
    margin: 0 auto;
    padding: 42px 48px;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 6px;
    box-shadow: 0 12px 30px rgba(47, 42, 36, 0.06);
}

.legal-page .company-table {
    width: 100%;
}

.legal-page .company-table div {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 24px;
    padding: 18px 0;
    border-bottom: 1px solid var(--color-border);
}

.legal-page .company-table dt {
    color: var(--color-heading);
    font-weight: 600;
}

.legal-page .company-table dd {
    margin: 0;
    color: var(--color-text-muted);
    font-size: 13px;
    line-height: 1.9;
}

.legal-page .quiet-note {
    margin-top: 22px;
    color: var(--color-text-muted);
    font-size: 12px;
    line-height: 1.8;
}

.legal-page .company-table div:first-child {
    border-top: none;
}