:root {
    --ink: #100d0d;
    --ink-soft: #211a18;
    --crimson: #b71b36;
    --crimson-deep: #6b0a18;
    --gold: #c7a45c;
    --moss: #41503b;
    --paper: #130f10;
    --paper-muted: #211819;
    --text-main: #e6dcc9;
    --text-soft: #bfb09b;
    --white: #efe4d1;
    --line: rgba(255, 249, 236, 0.16);
    --shadow: rgba(8, 4, 4, 0.28);
    --header-height: 80px;
    --container-width: 1200px;
    --container-narrow: 800px;
    --transition-smooth: all 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
}

body {
    font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text-main);
    background:
        radial-gradient(circle at 82% 12%, rgba(143, 15, 36, 0.2), transparent 28%),
        linear-gradient(90deg, rgba(199, 164, 92, 0.045) 1px, transparent 1px),
        linear-gradient(180deg, #171112, var(--paper) 45%, #0c0909);
    background-size: auto, 34px 34px, auto;
    line-height: 1.9;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
}

h1,
h2,
h3 {
    font-family: 'Noto Serif JP', serif;
    font-weight: 600;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 40px;
}

.container.narrow {
    max-width: var(--container-narrow);
}

header {
    height: var(--header-height);
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    background-color: rgba(16, 13, 13, 0.78);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255, 249, 236, 0.12);
    display: flex;
    align-items: center;
    transition: var(--transition-smooth);
}

header.scrolled {
    height: 60px;
    background-color: rgba(16, 13, 13, 0.92);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.25);
}

.nav-container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Noto Serif JP', serif;
    font-weight: 900;
    font-size: 1.2rem;
    letter-spacing: 0.12em;
    color: var(--white);
}

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

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(239, 228, 209, 0.74);
    letter-spacing: 0.06em;
}

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

.btn-primary {
    background-color: rgba(199, 164, 92, 0.96);
    color: #140c08 !important;
    padding: 10px 22px;
    border: 1px solid rgba(255, 249, 236, 0.18);
    border-radius: 3px;
    font-weight: 700;
}

.btn-primary:hover {
    background-color: var(--white);
    transform: translateY(-2px);
}

.section {
    padding: 118px 0;
    position: relative;
}

.bg-soft {
    background: transparent;
}

.bg-dark {
    background:
        linear-gradient(180deg, rgba(143, 15, 36, 0.22), rgba(16, 13, 13, 0.2)),
        var(--ink);
    color: var(--white);
}

.section-header {
    margin-bottom: 58px;
}

.section-header.center {
    text-align: center;
}

.section-title {
    font-size: 2.45rem;
    line-height: 1.35;
    margin-bottom: 18px;
}

.section-title::first-letter {
    font-size: 1.75em;
    line-height: 0.72;
    color: var(--crimson);
}

.section-title.white {
    color: var(--white);
}

.content-text {
    max-width: 900px;
}

.content-text p {
    margin-bottom: 1.4em;
    font-size: 1.05rem;
}

.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: calc(var(--header-height) + 24px) 40px 54px;
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(90deg, rgba(10, 7, 7, 0.92) 0%, rgba(28, 12, 15, 0.78) 38%, rgba(28, 12, 15, 0.34) 68%, rgba(9, 6, 6, 0.46) 100%),
        linear-gradient(180deg, rgba(16, 13, 13, 0.12), rgba(16, 13, 13, 0.5)),
        url('speaker-img-hanai.jpeg');
    background-size: cover;
    background-position: center;
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(90deg, rgba(199, 164, 92, 0.16) 0 1px, transparent 1px 100%),
        linear-gradient(180deg, transparent 0%, rgba(16, 13, 13, 0.48) 100%);
    background-size: 72px 100%, auto;
    mix-blend-mode: screen;
    opacity: 0.42;
}

.hero-section::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 18vh;
    pointer-events: none;
    background: linear-gradient(180deg, transparent, var(--paper));
}

.hero-content {
    max-width: 760px;
    z-index: 2;
    color: var(--white);
}

.eyebrow {
    font-family: 'Noto Serif JP', serif;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.3em;
    color: var(--gold);
    margin-bottom: 22px;
    display: block;
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.45);
}

.hero-section h1 {
    font-size: clamp(3.2rem, 9vw, 7.4rem);
    line-height: 1.02;
    margin-bottom: 30px;
    color: var(--white);
    letter-spacing: 0.04em;
    text-shadow: 0 8px 34px rgba(0, 0, 0, 0.58);
}

.hero-subtitle {
    font-family: 'Noto Serif JP', serif;
    font-size: clamp(1.05rem, 1.6vw, 1.32rem);
    color: rgba(239, 228, 209, 0.84);
    margin-bottom: 40px;
    max-width: 640px;
}

.hero-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 50px;
    font-size: 1.08rem;
    font-weight: 700;
    color: var(--white);
    border-left: 3px solid var(--crimson);
    padding-left: 20px;
}

.section-header.hero-meta {
    display: block;
    border-left: 0;
    color: var(--white);
    padding-left: 0;
}

.hero-section .hero-meta {
    color: rgba(239, 228, 209, 0.86);
    border-left-color: var(--gold);
}

.btn-cta {
    display: inline-block;
    padding: 17px 42px;
    background-color: var(--gold);
    color: #140c08;
    font-weight: 800;
    font-size: 1.04rem;
    border-radius: 3px;
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.32);
}

.btn-cta:hover {
    background-color: var(--white);
    transform: translateY(-4px);
}

.intro-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 72px;
    align-items: start;
}

.atmosphere-note {
    border-left: 1px solid var(--crimson);
    padding: 10px 0 10px 26px;
    color: var(--text-soft);
}

.atmosphere-note span {
    display: block;
    font-family: 'Noto Serif JP', serif;
    font-size: 3.8rem;
    line-height: 1;
    color: var(--crimson);
    margin-bottom: 18px;
}

.atmosphere-note p {
    font-family: 'Noto Serif JP', serif;
    font-size: 1.05rem;
}

.theme-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-top: 44px;
}

.theme-item {
    min-height: 152px;
    padding: 28px;
    background: rgba(255, 249, 236, 0.055);
    border: 1px solid var(--line);
    border-top: 3px solid rgba(143, 15, 36, 0.64);
    position: relative;
}

.theme-item span {
    display: block;
    font-family: 'Noto Serif JP', serif;
    color: var(--crimson);
    font-size: 1.35rem;
    margin-bottom: 16px;
}

.theme-item p {
    margin: 0;
    font-family: 'Noto Serif JP', serif;
    font-size: 1.03rem;
}

.speaker-layout {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 70px;
    align-items: center;
}

.speaker-image {
    position: relative;
}

.speaker-image img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    object-position: center;
    display: block;
    border-radius: 4px;
    box-shadow: 0 30px 70px var(--shadow);
    filter: saturate(0.86) contrast(1.08);
    transition: var(--transition-smooth);
}

.speaker-image img:hover {
    filter: saturate(1) contrast(1.04);
    transform: scale(1.015);
}

.speaker-image::before {
    content: '';
    position: absolute;
    top: -18px;
    left: -18px;
    width: 84px;
    height: 84px;
    border-top: 3px solid var(--gold);
    border-left: 3px solid var(--gold);
    z-index: 1;
}

.speaker-image::after {
    content: '';
    position: absolute;
    right: -18px;
    bottom: -18px;
    width: 48%;
    height: 46%;
    border-right: 1px solid rgba(75, 7, 18, 0.5);
    border-bottom: 1px solid rgba(75, 7, 18, 0.5);
    pointer-events: none;
}

.speaker-name {
    font-size: 2.35rem;
    margin-bottom: 10px;
}

.speaker-name .small {
    font-size: 1.18rem;
    font-weight: 300;
}

.speaker-title {
    font-size: 1.02rem;
    color: var(--crimson);
    font-weight: 800;
    letter-spacing: 0.08em;
    margin-bottom: 12px;
}

.speaker-bio p {
    margin-bottom: 20px;
    color: var(--text-soft);
}

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

.info-grid .info-card:last-child {
    grid-column: 1 / -1;
}

.info-card {
    padding: 34px;
    background: rgba(255, 249, 236, 0.055);
    border: 1px solid var(--line);
    border-top: 3px solid rgba(199, 164, 92, 0.72);
    transition: var(--transition-smooth);
}

.info-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 46px rgba(0, 0, 0, 0.24);
}

.info-card h3 {
    font-size: 1.18rem;
    margin-bottom: 18px;
    color: var(--crimson);
}

.info-card .small {
    font-size: 0.95rem;
}

.kome {
    font-size: 0.82em;
    vertical-align: top;
    position: relative;
    top: -0.1em;
    color: var(--crimson);
    margin-left: 1px;
}

.form-container {
    padding: 40px;
    background: var(--white);
    border-radius: 4px;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.34);
    margin: 0 auto;
}

.form-container iframe {
    display: block;
    width: 100%;
    max-width: 100%;
}

.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1.2s cubic-bezier(0.2, 0.8, 0.2, 1), transform 1.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.fade-in {
    opacity: 0;
    animation: fadeIn 1s forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

.delay-3 {
    animation-delay: 0.6s;
}

.delay-4 {
    animation-delay: 0.8s;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(14px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.footer {
    padding: 90px 0 48px;
    background: #090707;
    color: rgba(239, 228, 209, 0.76);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding-bottom: 42px;
    border-bottom: 1px solid rgba(255, 249, 236, 0.14);
}

.footer-info h3 {
    color: var(--white);
    margin-bottom: 10px;
}

.footer-links {
    display: flex;
    justify-content: flex-end;
    gap: 40px;
}

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

@media (max-width: 991px) {
    .intro-layout,
    .speaker-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .atmosphere-note {
        max-width: 420px;
    }

    .theme-list {
        grid-template-columns: 1fr;
    }

    .info-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 60px;
    }

    .container,
    .nav-container {
        padding: 0 24px;
    }

    .logo {
        font-size: 1.16rem;
    }

    .nav-links {
        display: none;
    }

    .hero-section {
        min-height: 92vh;
        padding: calc(var(--header-height) + 54px) 24px 46px;
        align-items: flex-start;
        background-position: 57% center;
    }

    .hero-content {
        padding-top: 22px;
    }

    .eyebrow {
        font-size: 0.95rem;
    }

    .section {
        padding: 82px 0;
    }

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

    .hero-meta {
        flex-direction: column;
        gap: 5px;
        margin-bottom: 34px;
        font-size: 1rem;
    }

    .meta-separator {
        display: none;
    }

    .atmosphere-note span {
        font-size: 3rem;
    }

    .speaker-image img {
        aspect-ratio: 4 / 3;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }

    .info-card,
    .theme-item,
    .form-container {
        padding: 26px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
    }
}
