/* ========================================
   MK - Site B
   Lifestyle/Intelligence Layer Design
   Color: White, Gold, Beige, Marble
======================================== */

:root {
    --white: #ffffff;
    --cream: #faf8f5;
    --beige: #e8e4dc;
    --beige-dark: #d4cfc4;
    --gold: #a07d4f;
    --gold-dark: #8a6a3d;
    --gold-light: #c9a870;
    --charcoal: #1a1a1a;
    --charcoal-light: #3a3a3a;
    --warm-gray: #7a7268;
    --deep-brown: #4a3c2e;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Serif JP', 'Cormorant Garamond', serif;
    background-color: var(--white);
    color: var(--charcoal);
    line-height: 2;
    font-weight: 300;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Cormorant Garamond', 'Noto Serif JP', serif;
    font-weight: 500;
    letter-spacing: 0.08em;
}

/* Navigation */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 1.5rem 0;
    transition: all 0.3s ease;
}

.navbar-brand {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    font-weight: 500;
    color: var(--charcoal) !important;
    letter-spacing: 0.2em;
}

.header-logo {
    height: 45px;
    width: auto;
}

.footer-logo {
    height: 55px;
    width: auto;
    margin-bottom: 1.5rem;
    background: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
}

.nav-link {
    color: var(--charcoal-light) !important;
    font-family: 'Cormorant Garamond', serif;
    font-size: 0.95rem;
    letter-spacing: 0.15em;
    margin-left: 2.5rem;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--gold) !important;
}

/* Dropdown Menu */
.dropdown-menu {
    background: var(--white);
    border: 1px solid var(--beige);
    border-radius: 0;
    padding: 0.5rem 0;
    margin-top: 0.5rem;
    min-width: 220px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.dropdown-header {
    font-family: 'Cormorant Garamond', serif;
    color: var(--gold);
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    padding: 0.75rem 1.25rem 0.5rem;
    text-transform: uppercase;
}

.dropdown-item {
    font-family: 'Noto Serif JP', serif;
    color: var(--charcoal);
    font-size: 0.9rem;
    padding: 0.5rem 1.25rem;
    transition: all 0.2s ease;
}

.dropdown-item:hover {
    background: var(--cream);
    color: var(--gold);
}

.dropdown-divider {
    border-color: var(--beige);
    margin: 0.5rem 0;
}

.dropdown-toggle::after {
    margin-left: 0.5rem;
    vertical-align: middle;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    background: url('image/top_b.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    position: relative;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(250, 248, 245, 0.65) 0%, rgba(255, 255, 255, 0.60) 100%);
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-subtitle {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1rem;
    letter-spacing: 0.4em;
    color: var(--gold);
    margin-bottom: 2rem;
    text-shadow: 0 1px 8px rgba(255, 255, 255, 0.7);
}

.bsm-logo {
    max-width: 260px;
    height: auto;
    margin: 1.5rem 0 2rem;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.hero-title {
    font-size: 3.8rem;
    font-weight: 500;
    color: var(--charcoal);
    line-height: 1.5;
    margin-bottom: 2rem;
    letter-spacing: 0.1em;
    text-shadow: 0 2px 10px rgba(255, 255, 255, 0.8), 0 4px 20px rgba(255, 255, 255, 0.5);
}

.hero-line {
    width: 80px;
    height: 2px;
    background: var(--gold);
    margin: 2.5rem auto;
}

.hero-description {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--charcoal);
    line-height: 2.2;
    text-shadow: 0 2px 12px rgba(255, 255, 255, 0.9), 0 4px 20px rgba(255, 255, 255, 0.6);
}

.hero-tagline {
    font-family: 'Noto Serif JP', serif;
    font-size: 1.3rem;
    font-weight: 400;
    color: var(--gold);
    letter-spacing: 0.2em;
    margin: 1.5rem 0;
    font-style: italic;
}

.hero-quote {
    font-family: 'Noto Serif JP', serif;
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--charcoal);
    letter-spacing: 0.1em;
    margin: 1.5rem 0;
    text-shadow: 0 2px 12px rgba(255, 255, 255, 0.9);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
}

.scroll-indicator span {
    display: block;
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--gold), transparent);
    animation: scrollPulse 2s infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

/* Section Styles */
.section-padding {
    padding: 120px 0;
}

.section-subtitle {
    font-family: 'Cormorant Garamond', serif;
    font-size: 0.9rem;
    letter-spacing: 0.4em;
    color: var(--gold);
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 500;
    color: var(--charcoal);
    margin-bottom: 1rem;
    letter-spacing: 0.08em;
}

.section-line {
    width: 50px;
    height: 2px;
    background: var(--gold);
    margin: 2rem auto 3rem;
}

/* Background Colors */
.bg-cream {
    background-color: var(--cream);
}

.bg-warm {
    background: linear-gradient(180deg, var(--beige) 0%, var(--cream) 100%);
}

/* Philosophy */
.philosophy-text {
    font-size: 1.15rem;
    color: var(--charcoal-light);
    margin-bottom: 2rem;
    line-height: 2.4;
}

/* Vision Card */
.vision-card {
    background: var(--white);
    border: 1px solid var(--beige-dark);
    padding: 3rem;
    margin-top: 3rem;
}

.vision-label {
    font-family: 'Cormorant Garamond', serif;
    font-size: 0.9rem;
    letter-spacing: 0.3em;
    color: var(--gold);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

/* Main Image */
.main-image-container {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(184, 152, 110, 0.15);
}

.main-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.6s ease;
}

.main-image-container:hover .main-image {
    transform: scale(1.03);
}

.vision-text {
    font-size: 1.1rem;
    color: var(--charcoal);
    line-height: 2.2;
    margin-bottom: 0;
}

.vision-sub {
    font-size: 1rem;
    color: var(--gold);
    margin-top: 1.5rem;
    margin-bottom: 0;
    font-style: italic;
}

/* Visual Break - Marble Texture */
.visual-break {
    height: 200px;
    position: relative;
    overflow: hidden;
}

.marble-texture {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
        var(--cream) 0%,
        var(--beige) 25%,
        var(--white) 50%,
        var(--beige-dark) 75%,
        var(--cream) 100%);
    opacity: 0.7;
}

.marble-texture::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200"><path d="M0,100 Q50,80 100,100 T200,100" fill="none" stroke="rgba(184,152,110,0.1)" stroke-width="1"/><path d="M0,120 Q50,100 100,120 T200,120" fill="none" stroke="rgba(184,152,110,0.08)" stroke-width="1"/><path d="M0,80 Q50,60 100,80 T200,80" fill="none" stroke="rgba(184,152,110,0.06)" stroke-width="1"/></svg>') repeat;
}

/* Intro Text */
.intro-text {
    font-size: 1.05rem;
    color: var(--charcoal-light);
    line-height: 2.2;
}

/* Energy Cards */
.energy-card {
    background: var(--white);
    border: 1px solid var(--beige);
    padding: 2.5rem;
    height: 100%;
    transition: all 0.3s ease;
}

.energy-card:hover {
    border-color: var(--gold);
}

.energy-card h3 {
    font-size: 1.5rem;
    color: var(--charcoal);
    margin-bottom: 0.5rem;
}

.energy-keywords {
    font-size: 0.9rem;
    color: var(--gold);
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
}

.energy-card p:last-child {
    color: var(--charcoal-light);
    margin-bottom: 0;
}

/* TAMARA Section */
.tamara-section {
    margin-top: 3rem;
    padding: 3rem;
    background: var(--white);
    border: 1px solid var(--gold);
}

.tamara-section h3 {
    font-size: 1.8rem;
    color: var(--gold);
    letter-spacing: 0.3em;
    margin-bottom: 1.5rem;
}

.tamara-section p {
    color: var(--charcoal-light);
    margin-bottom: 0;
}

.tamara-sub {
    font-size: 0.95rem;
    color: var(--warm-gray);
    margin-top: 1.5rem;
    line-height: 2.2;
}

/* Activation List */
.activation-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 0 0;
    text-align: left;
    display: inline-block;
}

.activation-list li {
    font-size: 1rem;
    color: var(--charcoal-light);
    line-height: 2.2;
    padding-left: 1.5rem;
    position: relative;
}

.activation-list li::before {
    content: '•';
    color: var(--gold);
    position: absolute;
    left: 0;
}

/* Program Category */
.program-category {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.3rem;
    color: var(--gold);
    letter-spacing: 0.2em;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--beige);
}

/* Journey Cards */
.journey-card-link,
.journey-card-link:hover,
.journey-card-link:visited,
.journey-card-link:active {
    display: block;
    text-decoration: none;
    color: inherit;
    height: 100%;
}

.journey-card {
    text-align: center;
    padding: 2.5rem 2rem;
    background: var(--cream);
    border: 1px solid var(--beige);
    height: 100%;
    transition: all 0.3s ease;
    cursor: pointer;
}

.journey-card-link:hover .journey-card,
.journey-card:hover {
    border-color: var(--gold);
    background: var(--white);
}

.journey-card-link:hover .journey-card h4 {
    color: var(--gold);
}

.journey-number {
    font-family: 'Cormorant Garamond', serif;
    font-size: 0.9rem;
    letter-spacing: 0.3em;
    color: var(--gold);
    display: block;
    margin-bottom: 1rem;
}

.journey-card h4 {
    font-family: 'Noto Serif JP', serif;
    font-size: 1.1rem;
    color: var(--charcoal);
    margin-bottom: 1rem;
    font-weight: 400;
}

.program-link {
    color: var(--charcoal);
    text-decoration: none;
    transition: color 0.3s ease;
}

.program-link:hover {
    color: var(--gold);
}

.journey-card p {
    font-size: 0.9rem;
    color: var(--charcoal-light);
    line-height: 2;
    margin-bottom: 0;
}

/* Program Block */
.program-block {
    background: var(--cream);
    border: 1px solid var(--beige);
    padding: 2.5rem;
    height: 100%;
}

.program-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
}

.program-list li {
    padding: 0.5rem 0;
    color: var(--charcoal);
    font-size: 1rem;
    border-bottom: 1px solid var(--beige);
}

.program-list li:last-child {
    border-bottom: none;
}

.program-note {
    font-size: 0.9rem;
    color: var(--warm-gray);
    margin-bottom: 0;
}

/* Resonance Cards */
.resonance-card {
    background: var(--white);
    padding: 3rem;
    border: 1px solid var(--beige);
    height: 100%;
    transition: all 0.3s ease;
}

.resonance-card:hover {
    border-color: var(--gold);
    box-shadow: 0 10px 40px rgba(184, 152, 110, 0.1);
}

.resonance-text {
    font-size: 1.15rem;
    color: var(--charcoal);
    font-style: italic;
    line-height: 2.2;
    margin-bottom: 2rem;
}

.resonance-author {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.resonance-author span:first-child {
    font-size: 1rem;
    color: var(--charcoal);
    letter-spacing: 0.1em;
}

.author-detail {
    font-size: 0.85rem;
    color: var(--warm-gray);
}

/* Message Section */
.message-content {
    margin-top: 2rem;
}

.message-content p {
    font-size: 1.1rem;
    color: var(--charcoal-light);
    margin-bottom: 2rem;
    line-height: 2.4;
}

.message-signature {
    font-style: italic;
    color: var(--charcoal);
    margin-top: 3rem;
}

.author-name-large {
    font-family: 'Noto Serif JP', serif;
    font-size: 1.2rem;
    color: var(--charcoal);
    margin-top: 2rem;
    margin-bottom: 0.25rem;
}

.author-title-small {
    font-size: 0.9rem;
    color: var(--warm-gray);
    margin-bottom: 0;
}

/* Contact Form */
.contact-intro {
    font-size: 1rem;
    color: var(--charcoal-light);
    margin-bottom: 1rem;
}

.contact-intro-sub {
    font-size: 0.95rem;
    color: var(--charcoal-light);
    margin-bottom: 2rem;
}

.contact-form .form-control,
.contact-form select {
    background: var(--white);
    border: none;
    border-bottom: 1px solid var(--beige-dark);
    border-radius: 0;
    padding: 1rem 0.5rem;
    font-family: 'Noto Serif JP', serif;
    font-size: 0.95rem;
    color: var(--charcoal);
    transition: border-color 0.3s ease;
}

.contact-form .form-control::placeholder {
    color: var(--warm-gray);
}

.contact-form .form-control:focus,
.contact-form select:focus {
    box-shadow: none;
    border-color: var(--gold);
    background: var(--white);
}

.contact-form select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23a07d4f' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    padding-right: 2.5rem;
    cursor: pointer;
}

.contact-form select option {
    font-family: 'Noto Serif JP', serif;
}

.btn-gold {
    background: var(--gold);
    border: 2px solid var(--gold);
    color: var(--white);
    padding: 1.1rem 3.5rem;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.05rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    transition: all 0.3s ease;
}

.btn-gold:hover {
    background: var(--gold-dark);
    border-color: var(--gold-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(160, 125, 79, 0.3);
}

/* Honeypot (spam prevention) */
.hp-field {
    position: absolute;
    left: -9999px;
    top: -9999px;
    opacity: 0;
    height: 0;
    width: 0;
    overflow: hidden;
    pointer-events: none;
}

/* Form States */
.btn-sending {
    opacity: 0.7;
    cursor: wait;
}

.form-result {
    padding: 2.5rem;
    background: var(--white);
    border: 1px solid var(--beige);
    margin-top: 2rem;
}

.form-result-title {
    font-family: 'Noto Serif JP', serif;
    font-size: 1.15rem;
    color: var(--charcoal);
    margin-bottom: 1rem;
}

.form-result-text {
    font-size: 0.95rem;
    color: var(--charcoal-light);
    line-height: 2;
    margin-bottom: 0;
}

.form-result-text a {
    color: var(--gold);
    text-decoration: underline;
}

.form-result-text a:hover {
    color: var(--gold-dark);
}

/* Company Info Light */
.company-info-light {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--beige);
}

.company-info-light p {
    font-size: 0.9rem;
    color: var(--charcoal-light);
    margin-bottom: 0.5rem;
}

.company-info-light strong {
    color: var(--charcoal);
}

/* Footer */
.footer {
    background: var(--charcoal);
    padding: 4rem 0 2rem;
}

.footer-brand {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    color: var(--white);
    letter-spacing: 0.3em;
    margin-bottom: 1.5rem;
}

.footer-copy {
    font-size: 0.85rem;
    color: var(--warm-gray);
    margin-bottom: 1.5rem;
}

.footer-links a {
    color: var(--warm-gray);
    font-size: 0.85rem;
    text-decoration: none;
    margin: 0 1rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--gold);
}

/* Responsive */
@media (max-width: 991px) {
    .hero-title {
        font-size: 2.8rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .nav-link {
        margin-left: 0;
        padding: 0.75rem 0;
    }
}

@media (max-width: 767px) {
    .hero-section {
        padding-top: 100px;
    }

    .hero-title {
        font-size: 2.2rem;
    }

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

    .visual-break {
        height: 100px;
    }

    .resonance-card,
    .energy-card,
    .journey-card {
        padding: 2rem;
    }

    .vision-card,
    .tamara-section {
        padding: 2rem;
    }
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Selection Color */
::selection {
    background: var(--gold);
    color: var(--white);
}

/* ========================================
   Subpage Styles
======================================== */

/* Page Hero (shorter than main hero) */
.page-hero {
    min-height: 70vh;
    background: linear-gradient(180deg, var(--cream) 0%, var(--white) 100%);
    display: flex;
    align-items: center;
    padding-top: 80px;
}

.page-hero .hero-title {
    font-size: 2.8rem;
    font-weight: 500;
}

/* Wish Cards */
.wish-card {
    background: var(--white);
    border: 1px solid var(--beige);
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.wish-card:hover {
    border-color: var(--gold);
}

.wish-card span {
    color: var(--charcoal);
    font-size: 1rem;
}

/* Highlight Text */
.highlight-text {
    font-size: 1.2rem;
    color: var(--gold);
    font-style: italic;
}

/* Quote Text */
.quote-text {
    font-size: 1.15rem;
    color: var(--charcoal);
    font-style: italic;
}

/* Feature Cards */
.feature-card {
    padding: 2rem;
}

.feature-number {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1rem;
    letter-spacing: 0.3em;
    color: var(--gold);
    display: block;
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-size: 1.3rem;
    color: var(--charcoal);
    margin-bottom: 1rem;
}

.feature-card p {
    font-size: 0.95rem;
    color: var(--charcoal-light);
    line-height: 2;
    margin-bottom: 0;
}

/* Benefit Cards for Site B */
.benefit-card-b {
    background: var(--white);
    border: 1px solid var(--beige);
    padding: 1.25rem;
    text-align: center;
    color: var(--charcoal);
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.benefit-card-b:hover {
    border-color: var(--gold);
    background: var(--cream);
}

/* Instructor Cards for Site B */
.instructor-card-b {
    background: var(--cream);
    border: 1px solid var(--beige);
    padding: 2.5rem;
    height: 100%;
    text-align: center;
}

.instructor-card-b h4 {
    font-family: 'Noto Serif JP', serif;
    font-size: 1.2rem;
    color: var(--charcoal);
    margin-bottom: 0.5rem;
}

.instructor-role {
    font-size: 0.9rem;
    color: var(--gold);
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--beige);
}

.instructor-card-b p:last-child {
    font-size: 0.9rem;
    color: var(--charcoal-light);
    text-align: left;
    margin-bottom: 0;
}

.instructor-image {
    width: 160px;
    height: 160px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--beige);
    box-shadow: 0 4px 20px rgba(184, 152, 110, 0.15);
}

.instructor-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.instructor-card-b:hover .instructor-image img {
    transform: scale(1.05);
}

/* Experience Items */
.experience-item {
    background: var(--cream);
    border: 1px solid var(--beige);
    padding: 1.5rem;
    text-align: center;
    color: var(--charcoal);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.experience-item:hover {
    border-color: var(--gold);
}

/* Planning Cards */
.planning-card {
    background: var(--white);
    border: 1px solid var(--beige);
    padding: 2.5rem 2rem;
    height: 100%;
    transition: all 0.3s ease;
}

.planning-card:hover {
    border-color: var(--gold);
}

.planning-number {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1rem;
    letter-spacing: 0.3em;
    color: var(--gold);
    display: block;
    margin-bottom: 1.5rem;
}

.planning-card h3 {
    font-size: 1.2rem;
    color: var(--charcoal);
    margin-bottom: 1rem;
}

.planning-card p {
    font-size: 0.9rem;
    color: var(--charcoal-light);
    line-height: 2;
    margin-bottom: 0;
}

/* Program Table for Site B */
.program-table-b {
    width: 100%;
    border-collapse: collapse;
}

.program-table-b tr {
    border-bottom: 1px solid var(--beige);
}

.program-table-b tr:last-child {
    border-bottom: none;
}

.program-table-b th {
    font-family: 'Noto Serif JP', serif;
    font-weight: 400;
    color: var(--gold);
    font-size: 0.9rem;
    padding: 1.25rem 1.5rem;
    text-align: left;
    vertical-align: top;
    width: 120px;
    letter-spacing: 0.05em;
}

.program-table-b td {
    color: var(--charcoal);
    font-size: 0.95rem;
    padding: 1.25rem 1.5rem;
    line-height: 1.9;
}

.program-table-b td small {
    display: block;
    color: var(--warm-gray);
    font-size: 0.85rem;
    margin-top: 0.5rem;
}

/* Responsive for Subpages */
@media (max-width: 767px) {
    .page-hero {
        min-height: 60vh;
        padding-top: 100px;
    }

    .page-hero .hero-title {
        font-size: 1.8rem;
    }

    .feature-card,
    .instructor-card-b,
    .planning-card {
        padding: 1.5rem;
    }

    .vision-card {
        padding: 1.5rem;
    }

    .program-table-b th,
    .program-table-b td {
        padding: 1rem;
        display: block;
        width: 100%;
    }

    .program-table-b th {
        padding-bottom: 0.25rem;
        border-bottom: none;
    }

    .program-table-b td {
        padding-top: 0.25rem;
    }
}

/* ========================================
   Legal Pages Styles
======================================== */

/* Legal Hero (shorter header for legal pages) */
.legal-hero {
    min-height: 40vh;
    background: linear-gradient(180deg, var(--cream) 0%, var(--white) 100%);
    position: relative;
    display: flex;
    align-items: center;
    padding-top: 80px;
}

.legal-hero .hero-title {
    font-size: 2rem;
    margin-bottom: 0;
}

.legal-hero .hero-subtitle {
    margin-bottom: 1rem;
}

.legal-hero .hero-line {
    width: 50px;
    height: 1px;
    background: var(--gold);
    margin: 1.5rem auto 0;
}

/* Legal Content */
.legal-content {
    color: var(--charcoal);
    line-height: 2;
}

.legal-content h2 {
    font-family: 'Noto Serif JP', serif;
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--charcoal);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--beige);
}

.legal-content p {
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.legal-content ol,
.legal-content ul {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.legal-content li {
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
}

.legal-content ul ul {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

.legal-content a {
    color: var(--gold);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.legal-content a:hover {
    color: var(--gold-dark);
}

.legal-intro {
    font-size: 1rem;
    color: var(--charcoal);
    padding: 1.5rem;
    background: var(--cream);
    border-left: 3px solid var(--gold);
    margin-bottom: 2rem;
}

.legal-note {
    font-size: 0.95rem;
    color: var(--charcoal-light);
    font-style: italic;
    margin-top: 2rem;
    padding: 1.5rem;
    background: var(--cream);
    border: 1px solid var(--beige);
}

.legal-footer {
    text-align: right;
    font-size: 0.95rem;
    color: var(--warm-gray);
    margin-top: 3rem;
    padding-top: 1rem;
    border-top: 1px solid var(--beige);
}

/* Legal Table */
.legal-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 2rem;
}

.legal-table tr {
    border-bottom: 1px solid var(--beige);
}

.legal-table th {
    font-family: 'Noto Serif JP', serif;
    font-weight: 400;
    color: var(--gold);
    font-size: 0.9rem;
    padding: 1rem 1.5rem;
    text-align: left;
    vertical-align: top;
    width: 140px;
    background: var(--cream);
}

.legal-table td {
    color: var(--charcoal);
    font-size: 0.95rem;
    padding: 1rem 1.5rem;
    line-height: 1.8;
}

.legal-table td a {
    color: var(--gold);
    text-decoration: underline;
}

.legal-table td a:hover {
    color: var(--gold-dark);
}

/* Cancel Policy Table */
.cancel-table {
    margin: 2rem 0;
}

.cancel-table .table {
    background: transparent;
    margin-bottom: 0;
}

.cancel-table .table thead th {
    background: var(--cream);
    border-bottom: 2px solid var(--beige);
    color: var(--charcoal);
    font-family: 'Noto Serif JP', serif;
    font-size: 0.9rem;
    font-weight: 400;
    padding: 1rem 1.5rem;
}

.cancel-table .table tbody td {
    background: transparent;
    border-bottom: 1px solid var(--beige);
    color: var(--charcoal);
    font-size: 0.95rem;
    padding: 1rem 1.5rem;
}

/* Responsive for Legal Pages */
@media (max-width: 767px) {
    .legal-hero {
        min-height: 35vh;
        padding-top: 100px;
    }

    .legal-hero .hero-title {
        font-size: 1.5rem;
    }

    .legal-table th,
    .legal-table td {
        padding: 0.75rem 1rem;
        display: block;
        width: 100%;
    }

    .legal-table th {
        padding-bottom: 0.25rem;
    }

    .legal-table td {
        padding-top: 0.25rem;
        padding-bottom: 1rem;
    }
}
