@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;700;900&family=Noto+Serif+JP:wght@700;900&display=swap');

:root {
    --black: #0d0d0d;
    --white: #ffffff;
    --red: #c0392b;
    --red-dark: #96281b;
    --gray: #1a1a1a;
    --gray-mid: #2a2a2a;
    --gray-light: #888;
    --text: #f0f0f0;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Noto Sans JP', sans-serif;
    background: var(--black);
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ─── SPLASH ─── */
#splash {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: var(--black);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.7s ease, visibility 0.7s ease;
}

#splash.hide {
    opacity: 0;
    visibility: hidden;
}

#splash-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    animation: splashFadeIn 0.8s ease forwards;
}

#splash-logo {
    height: 80px;
    width: auto;
    filter: drop-shadow(0 0 24px rgba(192,57,43,0.4));
}

#splash-title {
    font-family: 'Noto Serif JP', serif;
    font-size: clamp(2.4rem, 8vw, 4rem);
    font-weight: 900;
    color: var(--white);
    letter-spacing: 0.2em;
    margin: 0;
}

#splash-sub {
    font-size: clamp(0.8rem, 2vw, 1rem);
    color: rgba(255,255,255,0.45);
    letter-spacing: 0.25em;
    margin: 0;
}

@keyframes splashFadeIn {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ─── HEADER ─── */
header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    background: rgba(13,13,13,0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.header-logo img {
    height: 36px;
    width: auto;
    display: block;
}

nav ul {
    display: flex;
    gap: 32px;
}

nav ul li a {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: rgba(255,255,255,0.7);
    transition: color 0.2s;
}

nav ul li a:hover { color: var(--white); }

.header-social {
    display: flex;
    gap: 12px;
    align-items: center;
}

.header-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px; height: 32px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.15);
    transition: border-color 0.2s, background 0.2s;
}

.header-social a:hover {
    border-color: var(--white);
    background: rgba(255,255,255,0.08);
}

.header-social img { width: 16px; height: 16px; }

/* ─── HERO ─── */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 24px 60px;
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center 30%;
    background-repeat: no-repeat;
}

.hero-bg {
    position: absolute;
    inset: 0;
    /* 写真の上に重ねる暗幕 + 赤のアクセント */
    background:
        linear-gradient(to bottom,
            rgba(13,13,13,0.55) 0%,
            rgba(13,13,13,0.35) 40%,
            rgba(13,13,13,0.75) 100%),
        radial-gradient(ellipse 70% 50% at 50% 60%, rgba(192,57,43,0.15) 0%, transparent 70%);
    pointer-events: none;
}

.hero-noise {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
    pointer-events: none;
    opacity: 0.25;
}

.hero-eyebrow {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.3em;
    color: var(--text);
    text-transform: uppercase;
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
}

.hero-logo {
    position: relative;
    z-index: 1;
    margin-bottom: 28px;
}

.hero-logo img {
    height: 120px;
    width: auto;
    filter: drop-shadow(0 0 40px rgba(232,0,45,0.3));
}

.hero-title {
    font-family: 'Noto Serif JP', serif;
    font-size: clamp(3rem, 10vw, 7rem);
    font-weight: 900;
    letter-spacing: 0.15em;
    line-height: 1;
    color: var(--white);
    position: relative;
    z-index: 1;
    margin-bottom: 20px;
}

.hero-sub {
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    color: rgba(255,255,255,0.5);
    letter-spacing: 0.2em;
    position: relative;
    z-index: 1;
    margin-bottom: 48px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    border-radius: 4px;
    transition: all 0.2s;
    cursor: pointer;
    border: none;
    font-family: 'Noto Sans JP', sans-serif;
}

.btn-primary {
    background: var(--red);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--red-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(232,0,45,0.35);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 1px solid rgba(255,255,255,0.25);
}

.btn-outline:hover {
    border-color: var(--white);
    background: rgba(255,255,255,0.06);
    transform: translateY(-2px);
}

.hero-scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.3);
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    z-index: 1;
    animation: scrollBounce 2s ease-in-out infinite;
}

.hero-scroll::after {
    content: '';
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.3), transparent);
}

@keyframes scrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(6px); }
}

/* ─── SECTIONS ─── */
section {
    padding: 100px 0;
}

.section-label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.3em;
    color: var(--red);
    text-transform: uppercase;
    margin-bottom: 16px;
}

.section-title {
    font-family: 'Noto Serif JP', serif;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 900;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 20px;
}

.section-lead {
    font-size: 1rem;
    color: rgba(255,255,255,0.55);
    max-width: 680px;
    line-height: 1.9;
}

/* ─── ABOUT STRIP ─── */
.about-strip {
    background: var(--gray);
    border-top: 1px solid rgba(255,255,255,0.06);
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.about-strip .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-text p {
    color: rgba(255,255,255,0.6);
    margin-bottom: 24px;
    font-size: 0.95rem;
}

.about-text p:last-child { margin-bottom: 0; }

.about-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-kanji {
    font-family: 'Noto Serif JP', serif;
    font-size: 10rem;
    font-weight: 900;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255,255,255,0.08);
    line-height: 1;
    user-select: none;
}

/* ─── ACTIVITIES ─── */
.activities { background: var(--black); }

.activities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    margin-top: 60px;
}

.activity-item {
    background: var(--gray);
    padding: 40px 32px;
    transition: background 0.2s;
}

.activity-item:hover { background: var(--gray-mid); }

.activity-num {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--red);
    letter-spacing: 0.2em;
    margin-bottom: 16px;
}

.activity-item h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 12px;
    letter-spacing: 0.05em;
}

.activity-item p {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.45);
    line-height: 1.7;
}

/* ─── CTA ─── */
.cta {
    background: var(--red);
    text-align: center;
    padding: 100px 24px;
}

.cta .section-label { color: rgba(255,255,255,0.6); }

.cta .section-title { color: var(--white); margin-bottom: 16px; }

.cta-sub {
    color: rgba(255,255,255,0.7);
    margin-bottom: 40px;
    font-size: 0.95rem;
}

.cta .btn-outline {
    border-color: rgba(255,255,255,0.5);
    color: var(--white);
}

.cta .btn-outline:hover {
    border-color: var(--white);
    background: rgba(255,255,255,0.12);
}

/* ─── PAGE HERO (inner pages) ─── */
.page-hero {
    padding: 140px 24px 80px;
    text-align: center;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    position: relative;
    overflow: hidden;
}

.page-hero-asahi {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    overflow: hidden;
}

.page-hero-asahi svg {
    width: min(110vw, 900px);
    height: min(110vw, 900px);
    opacity: 0.06;
}

.page-hero .section-label,
.page-hero .section-title,
.page-hero .section-lead {
    position: relative;
    z-index: 1;
}

/* ─── CARD ─── */
.card {
    background: var(--gray);
    padding: 48px;
    margin-bottom: 2px;
}

.card h2 {
    font-family: 'Noto Serif JP', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
    margin: 28px 0 12px;
    letter-spacing: 0.05em;
}

.card p {
    color: rgba(255,255,255,0.6);
    font-size: 0.95rem;
    margin-bottom: 16px;
}

.card ul li {
    color: rgba(255,255,255,0.6);
    font-size: 0.95rem;
    padding: 8px 0 8px 20px;
    position: relative;
    border-bottom: 1px solid rgba(255,255,255,0.04);
}

.card ul li::before {
    content: '';
    position: absolute;
    left: 0; top: 50%;
    transform: translateY(-50%);
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--red);
}

blockquote {
    border-left: 2px solid var(--red);
    padding: 16px 24px;
    margin: 12px 0;
    color: rgba(255,255,255,0.65);
    font-size: 0.95rem;
    background: rgba(255,255,255,0.02);
}

/* ─── FORM ─── */
.form-group { margin-bottom: 24px; }

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    color: rgba(255,255,255,0.7);
    margin-bottom: 8px;
    letter-spacing: 0.05em;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: var(--white);
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 0.95rem;
    border-radius: 4px;
    transition: border-color 0.2s, background 0.2s;
}

.form-control:focus {
    outline: none;
    border-color: var(--red);
    background: rgba(255,255,255,0.07);
}

textarea.form-control { min-height: 160px; resize: vertical; }

.validation-error {
    color: #ff6b6b;
    font-size: 0.8rem;
    margin-top: 6px;
}

small {
    display: block;
    margin-top: 6px;
    color: var(--gray-light);
    font-size: 0.8rem;
}

/* ─── FLASH ─── */
.flash-message {
    padding: 16px 20px;
    margin-bottom: 24px;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 700;
    animation: fadeIn 0.3s ease;
}

.flash-message.success { background: rgba(0,180,80,0.12); border-left: 3px solid #00b450; color: #a0ffcc; }
.flash-message.error   { background: rgba(232,0,45,0.12);  border-left: 3px solid var(--red); color: #ffaaaa; }

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ─── FOOTER ─── */
footer {
    background: var(--gray);
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 48px 0 28px;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    padding-bottom: 28px;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-logo img {
    height: 28px;
    width: auto;
    opacity: 0.8;
}

.footer-logo span {
    font-family: 'Noto Serif JP', serif;
    font-size: 0.95rem;
    font-weight: 700;
    color: rgba(255,255,255,0.4);
    letter-spacing: 0.15em;
}

.footer-nav {
    display: flex;
    gap: 24px;
}

.footer-nav a {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.3);
    letter-spacing: 0.1em;
    transition: color 0.2s;
}

.footer-nav a:hover { color: rgba(255,255,255,0.7); }

.footer-social {
    display: flex;
    gap: 18px;
}

.footer-social a {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.25);
    letter-spacing: 0.1em;
    transition: color 0.2s;
}

.footer-social a:hover { color: rgba(255,255,255,0.6); }

.footer-copy {
    font-size: 0.72rem;
    color: rgba(255,255,255,0.18);
    letter-spacing: 0.15em;
    text-align: center;
}

@media (max-width: 640px) {
    .footer-inner { flex-direction: column; align-items: center; text-align: center; }
}

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
    .about-strip .container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .about-visual { display: none; }
    .activities-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
    nav { display: none; }
    .activities-grid { grid-template-columns: 1fr; }
    .card { padding: 32px 24px; }
    .hero-logo img { height: 80px; }
}
