:root {
    --skin-lightest: #FDF8F3;
    --skin-light: #F5EAE0;
    --skin-warm: #E8D5C4;
    --skin-mid: #D4B89C;
    --skin-deep: #B8956E;
    --skin-brown: #8B6F4E;
    --lavender: #B8AECB;
    --sky-soft: #B4C8D8;
    --text-primary: #4A3728;
    --text-secondary: #7A6455;
    --text-light: #7E6F5D;
    --white-pure: #FFFFFF;
    --white-warm: #FEFCFA;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Noto Sans JP', sans-serif;
    color: var(--text-primary);
    background: var(--skin-lightest);
    line-height: 1.9;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

/* ===== HERO ===== */
.hero {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    padding: 2rem;
    background:
        radial-gradient(ellipse at 20% 30%, rgba(212,184,156,0.35) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(184,174,203,0.2) 0%, transparent 45%),
        radial-gradient(ellipse at 60% 80%, rgba(212,184,156,0.3) 0%, transparent 50%),
        radial-gradient(ellipse at 10% 90%, rgba(180,200,216,0.15) 0%, transparent 40%),
        linear-gradient(160deg, var(--skin-lightest) 0%, var(--skin-light) 50%, var(--skin-warm) 100%);
}

/* Watercolor-like blobs */
.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    pointer-events: none;
    opacity: 0.3;
}
.blob:nth-child(1) { width: 400px; height: 350px; top: -5%; left: -8%; background: var(--skin-mid); animation: drift 25s ease-in-out infinite; }
.blob:nth-child(2) { width: 300px; height: 280px; top: 10%; right: -5%; background: var(--lavender); animation: drift 20s ease-in-out infinite reverse; }
.blob:nth-child(3) { width: 350px; height: 300px; bottom: -5%; left: 15%; background: var(--skin-deep); opacity: 0.2; animation: drift 22s ease-in-out infinite 3s; }
.blob:nth-child(4) { width: 250px; height: 250px; bottom: 15%; right: 10%; background: var(--sky-soft); opacity: 0.2; animation: drift 18s ease-in-out infinite 5s; }
.blob:nth-child(5) { width: 200px; height: 180px; top: 40%; left: 5%; background: var(--skin-warm); opacity: 0.25; animation: drift 23s ease-in-out infinite 2s; }

@keyframes drift {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(15px, -10px) scale(1.05); }
    66% { transform: translate(-10px, 15px) scale(0.97); }
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 680px;
}

.hero-butterfly {
    width: 120px;
    height: 120px;
    margin: 0 auto 2rem;
    filter: drop-shadow(0 8px 24px rgba(139,111,78,0.15));
    opacity: 0;
    animation: fadeIn 1.2s ease forwards 0.3s;
}

.hero-butterfly picture,
.hero-butterfly img {
    display: block;
    width: 100%;
    height: 100%;
    transform-origin: center 60%;
}

.hero-butterfly:hover img {
    animation: touch-wiggle 0.7s cubic-bezier(0.36, 0.07, 0.19, 0.97);
}

@keyframes touch-wiggle {
    0% { transform: rotate(0deg); }
    15% { transform: rotate(-7deg); }
    35% { transform: rotate(6deg); }
    55% { transform: rotate(-3deg); }
    75% { transform: rotate(1.5deg); }
    100% { transform: rotate(0deg); }
}

.hero h1 {
    font-family: 'Zen Maru Gothic', sans-serif;
    font-size: clamp(1.8rem, 5vw, 2.8rem);
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: 0.08em;
    line-height: 1.45;
    margin-bottom: 0.6rem;
    opacity: 0;
    animation: fadeUp 0.8s ease forwards 0.8s;
}

.hero-sub {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    opacity: 0;
    animation: fadeUp 0.8s ease forwards 1s;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--skin-brown);
    color: var(--white-pure);
    text-decoration: none;
    padding: 1rem 2.5rem;
    border-radius: 60px;
    font-family: 'Zen Maru Gothic', sans-serif;
    font-size: 1.05rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 4px 20px rgba(139,111,78,0.25);
    opacity: 0;
    animation: fadeUp 0.8s ease forwards 1.2s;
    position: relative;
    overflow: hidden;
}

.hero-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    transition: left 0.5s ease;
}

.hero-cta:hover::before {
    left: 100%;
}

.hero-cta:hover {
    background: var(--text-primary);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 32px rgba(139,111,78,0.35);
}

.hero-cta svg {
    width: 20px;
    height: 20px;
}

.hero-note {
    font-size: 0.78rem;
    color: var(--text-light);
    margin-top: 1rem;
    opacity: 0;
    animation: fadeUp 0.8s ease forwards 1.4s;
}

.hero-faq-link {
    display: inline-block;
    margin-top: 1rem;
    font-size: 0.82rem;
    color: var(--skin-brown);
    text-decoration: underline;
    text-underline-offset: 3px;
    opacity: 0;
    animation: fadeUp 0.8s ease forwards 1.6s;
    transition: color 0.2s;
}

.hero-faq-link:hover { color: var(--text-primary); }

.hero-jumpnav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.6rem 0.8rem;
    margin-top: 1.8rem;
    opacity: 0;
    animation: fadeUp 0.8s ease forwards 1.6s;
}

.hero-jumpnav a {
    font-size: 0.8rem;
    color: var(--text-secondary);
    text-decoration: none;
    padding: 0.45rem 1rem;
    border: 1px solid var(--skin-mid);
    border-radius: 30px;
    transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.hero-jumpnav a:hover {
    background: var(--white-pure);
    border-color: var(--skin-brown);
    color: var(--text-primary);
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.92); }
    to { opacity: 1; transform: scale(1); }
}

/* ===== SECTIONS ===== */
section { padding: 5rem 2rem; }
.container { max-width: 720px; margin: 0 auto; }

.section-label {
    font-family: 'Zen Maru Gothic', sans-serif;
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.25em;
    color: var(--skin-brown);
    margin-bottom: 0.8rem;
}

.section-title {
    font-family: 'Zen Maru Gothic', sans-serif;
    font-size: clamp(1.3rem, 3.5vw, 1.7rem);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.8rem;
    line-height: 1.5;
}

/* ===== ABOUT ===== */
.about { background: var(--white-warm); }

.about p {
    color: var(--text-secondary);
    margin-bottom: 1.2rem;
    font-size: 0.95rem;
}

.about-stats {
    display: flex;
    gap: 1.5rem;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--skin-light);
}

.stats-source {
    font-size: 0.72rem;
    color: var(--text-light);
    margin-top: 0.8rem;
}

.stat {
    text-align: center;
    flex: 1;
    padding: 1.2rem 0.5rem;
    background: var(--skin-lightest);
    border-radius: 12px;
    transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 1px solid transparent;
}

.stat:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgba(139,111,78,0.1);
    border-color: var(--skin-mid);
    background: var(--white-pure);
}

.stat:hover .stat-number {
    transform: scale(1.08);
}

.stat-number {
    font-family: 'Zen Maru Gothic', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--skin-brown);
    transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.stat-label {
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-top: 0.3rem;
    line-height: 1.4;
}

/* ===== WHATIS ===== */
.whatis {
    background:
        radial-gradient(ellipse at 80% 50%, rgba(212,184,156,0.15) 0%, transparent 50%),
        var(--skin-lightest);
}

.whatis p {
    color: var(--text-secondary);
    margin-bottom: 1.2rem;
    font-size: 0.95rem;
}

.info-links {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.info-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem 1.5rem;
    background: var(--white-pure);
    border-radius: 14px;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 2px 8px rgba(139,111,78,0.06);
    border: 1px solid rgba(212,184,156,0.3);
}

.info-link:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(139,111,78,0.14);
    border-color: var(--skin-mid);
    background: var(--skin-lightest);
}

.info-link:hover .info-link-icon {
    background: var(--skin-warm);
    transform: scale(1.08);
}

.info-link-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--skin-light);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.2rem;
    color: var(--skin-brown);
    transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.info-link-text {
    font-size: 0.9rem;
    font-weight: 500;
}

.info-link-url {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

/* ===== PROFILE ===== */
.profile { background: var(--white-warm); }

.profile-card {
    background: var(--white-pure);
    border-radius: 18px;
    padding: 2.5rem;
    box-shadow: 0 2px 16px rgba(139,111,78,0.06);
    border: 1px solid var(--skin-light);
    position: relative;
    overflow: hidden;
    transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.profile-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 36px rgba(139,111,78,0.12);
    border-color: var(--skin-mid);
}

.profile-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--skin-warm), var(--lavender), var(--sky-soft));
}

.profile-role {
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--skin-brown);
    letter-spacing: 0.15em;
    margin-bottom: 1rem;
}

.profile-detail {
    font-size: 0.92rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    padding-left: 1rem;
    position: relative;
}

.profile-detail::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.6em;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--skin-mid);
}

.profile-detail a {
    color: var(--skin-brown);
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color 0.2s;
}

.profile-detail a:hover { color: var(--text-primary); }

.profile-note {
    font-size: 0.82rem;
    color: var(--text-secondary);
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--skin-light);
    line-height: 1.8;
}

/* ===== FAQ ===== */
.faq {
    background:
        radial-gradient(ellipse at 20% 50%, rgba(212,184,156,0.12) 0%, transparent 50%),
        var(--skin-lightest);
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.faq-item {
    background: var(--white-pure);
    border: 1px solid rgba(212,184,156,0.3);
    border-radius: 14px;
    overflow: hidden;
    transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.faq-item:hover {
    border-color: var(--skin-mid);
    box-shadow: 0 6px 20px rgba(139,111,78,0.08);
    transform: translateY(-2px);
}

.faq-item[open] {
    box-shadow: 0 8px 28px rgba(139,111,78,0.1);
    border-color: var(--skin-mid);
    background: var(--skin-lightest);
}

.faq-item summary {
    padding: 1.2rem 1.5rem;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-item summary h3 {
    font-family: 'Zen Maru Gothic', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-primary);
    margin: 0;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
    content: '+';
    font-size: 1.3rem;
    color: var(--skin-brown);
    flex-shrink: 0;
    margin-left: 1rem;
    transition: transform 0.3s ease;
}

.faq-item[open] summary::after {
    content: '−';
}

.faq-item p {
    padding: 0 1.5rem 1.2rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

.faq-item p a {
    color: var(--skin-brown);
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color 0.2s;
}

.faq-item p a:hover { color: var(--text-primary); }

/* ===== CTA BOTTOM ===== */
.cta-bottom {
    text-align: center;
    padding: 5rem 2rem;
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(ellipse at 30% 50%, rgba(212,184,156,0.25) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 50%, rgba(184,174,203,0.15) 0%, transparent 45%),
        linear-gradient(160deg, var(--skin-light) 0%, var(--skin-warm) 100%);
}

.cta-bottom .section-title {
    margin-bottom: 0.8rem;
}

.cta-bottom p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.cta-bottom .hero-cta {
    opacity: 1;
    animation: none;
}

/* ===== FOOTER ===== */
footer {
    background: var(--text-primary);
    color: rgba(255,255,255,0.75);
    text-align: center;
    padding: 2.5rem 2rem;
    font-size: 0.78rem;
}

footer a {
    color: rgba(255,255,255,0.65);
    text-decoration: none;
    transition: color 0.2s;
}

footer a:hover { color: white; }

.footer-contact { margin-bottom: 0.8rem; }
.footer-sep { margin: 0 0.5rem; }
.footer-disclaimer { margin-top: 0.5rem; font-size: 0.72rem; opacity: 0.8; }

/* ===== FOCUS ===== */
:focus-visible {
    outline: 2px solid var(--skin-brown);
    outline-offset: 3px;
    border-radius: 4px;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.skip-link:focus {
    left: 1rem;
    top: 1rem;
    width: auto;
    height: auto;
    padding: 0.75rem 1.5rem;
    background: var(--skin-brown);
    color: var(--white-pure);
    border-radius: 8px;
    font-family: 'Zen Maru Gothic', sans-serif;
    font-size: 0.9rem;
    text-decoration: none;
    z-index: 1000;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 600px) {
    .hero-butterfly { width: 100px; height: 100px; }
    .about-stats { flex-direction: column; gap: 1rem; }
    .profile-card { padding: 1.8rem; }
    section { padding: 3.5rem 1.5rem; }
    .stat { padding: 1rem 0.5rem; }
}

/* ===== SCROLL ANIMATIONS ===== */
.fade-up {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}
.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
    .fade-up { opacity: 1; transform: none; transition: none; }
    .hero-butterfly:hover img { animation: none; }
}

/* ===== HOVER: TOUCH DEVICES ===== */
@media (hover: none) {
    .info-link:active {
        transform: scale(0.97);
        background: var(--skin-lightest);
        border-color: var(--skin-mid);
    }

    .stat:active {
        transform: scale(0.97);
        background: var(--white-pure);
    }

    .profile-card:active {
        transform: scale(0.98);
    }

    .faq-item:active {
        background: var(--skin-lightest);
        border-color: var(--skin-mid);
    }

    .hero-cta:active {
        transform: scale(0.96);
        background: var(--text-primary);
    }

    /* Disable hover transforms on touch devices */
    .info-link:hover,
    .stat:hover,
    .profile-card:hover,
    .faq-item:hover {
        transform: none;
        box-shadow: none;
    }
}
