/* ライブクラフト塾 — pure-earth-792.css */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --black: #111;
    --white: #fff;
    --gray-light: #f5f5f5;
    --gray-mid: #999;
    --gray-dark: #444;
    --border: #e0e0e0;
    --accent: #1a1a1a;
    --font-main: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', sans-serif;
    --max: 1200px;
    --transition: 0.35s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    font-size: 16px;
    line-height: 1.75;
    color: var(--black);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

/* =========== CONTAINER =========== */
.container {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 24px;
}

/* =========== HEADER =========== */
#site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: background var(--transition), border-bottom var(--transition);
    padding: 0 40px;
}

#site-header.scrolled {
    background: #fff;
    border-bottom: 1px solid #eee;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo-badge {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--black);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.logo-badge svg {
    width: 36px;
    height: 36px;
}

.site-nav ul {
    display: flex;
    gap: 36px;
}

.site-nav a {
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.04em;
    color: var(--white);
    transition: opacity var(--transition);
}

#site-header.scrolled .site-nav a {
    color: var(--black);
}

.site-nav a:hover {
    opacity: 0.6;
}

.nav-cta {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.06em;
    padding: 10px 24px;
    border: 1px solid var(--white);
    transition: background var(--transition), color var(--transition), border-color var(--transition);
    color: var(--white) !important;
}

#site-header.scrolled .nav-cta {
    border-color: var(--black);
    color: var(--black) !important;
}

.nav-cta:hover {
    background: var(--black);
    color: var(--white) !important;
    border-color: var(--black);
}

#site-header.scrolled .nav-cta:hover {
    background: var(--black);
    color: var(--white) !important;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.nav-toggle span {
    display: block;
    width: 26px;
    height: 2px;
    background: var(--white);
    transition: background var(--transition);
}

#site-header.scrolled .nav-toggle span {
    background: var(--black);
}

/* =========== HERO =========== */
#hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: #111 url('../visuals/hero-bg.webp') center/cover no-repeat;
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.18) 60%, transparent 100%);
}

.hero-content {
    position: absolute;
    bottom: 80px;
    left: 60px;
    z-index: 2;
    max-width: 700px;
}

.hero-eyebrow {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.18em;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    margin-bottom: 16px;
}

.hero-headline {
    font-size: clamp(42px, 6vw, 86px);
    font-weight: 300;
    line-height: 1.1;
    color: var(--white);
    letter-spacing: -0.01em;
}

.hero-headline strong {
    font-weight: 700;
}

.hero-scroll {
    position: absolute;
    right: 48px;
    bottom: 80px;
    z-index: 2;
    writing-mode: vertical-rl;
    font-size: 11px;
    letter-spacing: 0.15em;
    color: rgba(255, 255, 255, 0.55);
    display: flex;
    align-items: center;
    gap: 10px;
}

.hero-scroll::after {
    content: '';
    display: block;
    width: 1px;
    height: 60px;
    background: rgba(255, 255, 255, 0.4);
}

/* =========== SECTION BASE =========== */
.section {
    padding: 100px 0;
}

.section-sm {
    padding: 64px 0;
}

.section-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gray-mid);
    margin-bottom: 14px;
}

.section-title {
    font-size: clamp(30px, 4vw, 52px);
    font-weight: 300;
    line-height: 1.15;
    letter-spacing: -0.01em;
    color: var(--black);
}

.section-title strong {
    font-weight: 700;
}

.section-body {
    font-size: 16px;
    line-height: 1.85;
    color: var(--gray-dark);
    margin-top: 20px;
}

/* =========== SPLIT SECTIONS =========== */
.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    align-items: stretch;
}

.split-img {
    position: relative;
    overflow: hidden;
    min-height: 520px;
}

.split-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: filter 0.4s ease;
}

.split-img:hover img {
    filter: brightness(0.9);
}

.split-text {
    padding: 80px 72px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.split-text .btn {
    margin-top: 36px;
    align-self: flex-start;
}

/* =========== BUTTON =========== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    padding: 14px 32px;
    border: 1px solid var(--black);
    color: var(--black);
    transition: background var(--transition), color var(--transition);
    cursor: pointer;
    background: none;
}

.btn:hover {
    background: var(--black);
    color: var(--white);
}

.btn-solid {
    background: var(--black);
    color: var(--white);
}

.btn-solid:hover {
    background: #333;
}

/* =========== ACCORDION =========== */
.accordion {
    border-top: 1px solid var(--border);
}

.accordion-item {
    border-bottom: 1px solid var(--border);
}

.accordion-trigger {
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    padding: 20px 0;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    color: var(--black);
    font-family: var(--font-main);
}

.accordion-trigger i {
    font-size: 14px;
    color: var(--gray-mid);
    flex-shrink: 0;
    transition: transform var(--transition);
}

.accordion-trigger[aria-expanded="true"] i {
    transform: rotate(45deg);
}

.accordion-content {
    display: none;
    padding: 0 0 20px 0;
    font-size: 15px;
    line-height: 1.8;
    color: var(--gray-dark);
}

.accordion-content.open {
    display: block;
}

/* =========== SERVICES SPLIT =========== */
#services .split-text {
    background: var(--gray-light);
}

/* =========== PROCESS TIMELINE =========== */
#process {
    background: var(--black);
    color: var(--white);
    padding: 100px 0;
}

#process .section-title {
    color: var(--white);
}

.timeline {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    margin-top: 64px;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 28px;
    left: 0;
    right: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
}

.timeline-step {
    padding: 0 40px 0 0;
    position: relative;
}

.timeline-number {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 300;
    color: var(--white);
    margin-bottom: 28px;
    background: var(--black);
    position: relative;
    z-index: 1;
}

.timeline-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--white);
}

.timeline-body {
    font-size: 14px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.6);
}

/* =========== COURSES GRID =========== */
#courses-grid {
    padding: 100px 0;
}

.courses-grid-title {
    text-align: left;
    margin-bottom: 48px;
}

.tiles {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}

.tile {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3/4;
    cursor: pointer;
}

.tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: filter 0.4s ease, transform 0.5s ease;
    filter: grayscale(100%);
}

.tile:hover img {
    filter: grayscale(0%);
    transform: scale(1.04);
}

.tile-label {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    z-index: 2;
    color: var(--white);
}

.tile-label h3 {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.3;
}

.tile-label span {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    display: block;
    margin-top: 4px;
}

.tile::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, transparent 55%);
    z-index: 1;
}

/* =========== FAQ =========== */
#faq {
    background: var(--gray-light);
    padding: 100px 0;
}

#faq .section-title {
    margin-bottom: 48px;
}

/* =========== PRICING =========== */
#pricing {
    padding: 100px 0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
    margin-top: 48px;
}

.price-card {
    background: var(--white);
    padding: 48px 36px;
    display: flex;
    flex-direction: column;
}

.price-card.featured {
    background: var(--black);
    color: var(--white);
}

.price-tag {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gray-mid);
    margin-bottom: 10px;
}

.price-card.featured .price-tag {
    color: rgba(255, 255, 255, 0.5);
}

.price-name {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
}

.price-amount {
    font-size: 40px;
    font-weight: 300;
    line-height: 1;
    margin: 20px 0;
}

.price-amount sup {
    font-size: 18px;
    font-weight: 600;
}

.price-desc {
    font-size: 14px;
    line-height: 1.8;
    color: var(--gray-dark);
    flex: 1;
    margin-bottom: 28px;
}

.price-card.featured .price-desc {
    color: rgba(255, 255, 255, 0.65);
}

.price-list {
    margin-bottom: 32px;
}

.price-list li {
    font-size: 14px;
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--gray-dark);
}

.price-card.featured .price-list li {
    border-color: rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.75);
}

.price-list li i {
    font-size: 12px;
    color: var(--black);
}

.price-card.featured .price-list li i {
    color: var(--white);
}

/* =========== FOOTER =========== */
#site-footer {
    background: var(--black);
    color: rgba(255, 255, 255, 0.7);
    padding: 80px 0 0;
}

.footer-top {
    display: grid;
    grid-template-columns: 260px 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 64px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-brand {
    font-size: 15px;
    color: var(--white);
    font-weight: 600;
    margin-bottom: 14px;
}

.footer-contact p {
    font-size: 13px;
    line-height: 2;
}

.footer-col h4 {
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 20px;
    font-weight: 700;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    transition: color var(--transition);
}

.footer-col ul li a:hover {
    color: var(--white);
}

.footer-social {
    display: flex;
    gap: 16px;
    margin-top: 20px;
}

.footer-social a {
    width: 36px;
    height: 36px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    transition: border-color var(--transition), color var(--transition);
}

.footer-social a:hover {
    border-color: var(--white);
    color: var(--white);
}

.footer-bottom {
    padding: 24px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.4);
}

.footer-bottom a:hover {
    color: rgba(255, 255, 255, 0.8);
}

/* =========== COOKIES GDPR =========== */
#cookie-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: var(--black);
    color: var(--white);
    padding: 20px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

#cookie-bar.show {
    transform: translateY(0);
}

#cookie-bar p {
    font-size: 13px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    max-width: 700px;
}

#cookie-bar p a {
    color: var(--white);
    text-decoration: underline;
}

.cookie-actions {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.cookie-accept {
    background: var(--white);
    color: var(--black);
    border: none;
    padding: 10px 24px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    font-family: var(--font-main);
    transition: opacity var(--transition);
}

.cookie-accept:hover {
    opacity: 0.85;
}

.cookie-decline {
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: rgba(255, 255, 255, 0.7);
    padding: 10px 20px;
    font-size: 13px;
    cursor: pointer;
    font-family: var(--font-main);
    transition: border-color var(--transition);
}

.cookie-decline:hover {
    border-color: rgba(255, 255, 255, 0.7);
}

/* =========== INNER PAGE HERO =========== */
.page-hero {
    padding: 160px 0 80px;
    background: var(--gray-light);
    border-bottom: 1px solid var(--border);
}

.page-hero h1 {
    font-size: clamp(32px, 5vw, 60px);
    font-weight: 300;
    letter-spacing: -0.01em;
}

.page-hero h1 strong {
    font-weight: 700;
}

.page-hero p {
    font-size: 16px;
    color: var(--gray-dark);
    margin-top: 16px;
    max-width: 560px;
}

/* =========== CONTACT FORM =========== */
.form-section {
    padding: 100px 0;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.form-info h2 {
    font-size: 32px;
    font-weight: 300;
    margin-bottom: 20px;
}

.form-info h2 strong {
    font-weight: 700;
}

.form-info p {
    font-size: 15px;
    color: var(--gray-dark);
    line-height: 1.8;
    margin-bottom: 12px;
}

.form-info .info-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    font-size: 14px;
    color: var(--gray-dark);
    margin-bottom: 16px;
}

.form-info .info-item i {
    color: var(--black);
    margin-top: 3px;
    flex-shrink: 0;
}

.form-wrap {
    background: var(--gray-light);
    padding: 48px;
}

.form-row {
    margin-bottom: 20px;
}

.form-row label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 8px;
    color: var(--black);
}

.form-row input,
.form-row select,
.form-row textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--border);
    background: var(--white);
    font-size: 15px;
    font-family: var(--font-main);
    color: var(--black);
    outline: none;
    transition: border-color var(--transition);
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
    border-color: var(--black);
}

.form-row textarea {
    resize: vertical;
    min-height: 140px;
}

.form-note {
    font-size: 12px;
    color: var(--gray-mid);
    margin-top: 8px;
}

/* =========== TEXT PAGE =========== */
.text-section {
    padding: 80px 0 100px;
}

.text-section h2 {
    font-size: 24px;
    font-weight: 600;
    margin: 40px 0 14px;
}

.text-section p {
    font-size: 15px;
    line-height: 1.85;
    color: var(--gray-dark);
    margin-bottom: 14px;
}

.text-section ul {
    list-style: disc;
    padding-left: 20px;
    margin-bottom: 14px;
}

.text-section ul li {
    font-size: 15px;
    line-height: 1.85;
    color: var(--gray-dark);
    margin-bottom: 6px;
}

/* =========== VALUES CARDS =========== */
.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
    margin-top: 64px;
}

.value-card {
    background: var(--white);
    padding: 48px 36px;
}

.value-card i {
    font-size: 28px;
    color: var(--black);
    margin-bottom: 20px;
    display: block;
}

.value-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
}

.value-card p {
    font-size: 14px;
    line-height: 1.8;
    color: var(--gray-dark);
}

/* =========== SERVICE MENU PAGE =========== */
.service-list {
    margin-top: 64px;
}

.service-item {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: start;
    gap: 40px;
    padding: 48px 0;
    border-bottom: 1px solid var(--border);
}

.service-item:first-child {
    border-top: 1px solid var(--border);
}

.service-item h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 10px;
}

.service-item p {
    font-size: 15px;
    color: var(--gray-dark);
    line-height: 1.8;
    max-width: 600px;
}

.service-item ul {
    margin-top: 14px;
    list-style: none;
}

.service-item ul li {
    font-size: 13px;
    color: var(--gray-mid);
    padding: 4px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.service-item ul li i {
    color: var(--black);
    font-size: 11px;
}

.service-price {
    text-align: right;
    flex-shrink: 0;
}

.service-price .amount {
    font-size: 34px;
    font-weight: 300;
    line-height: 1;
    white-space: nowrap;
}

.service-price .amount sup {
    font-size: 16px;
    font-weight: 600;
}

.service-price .period {
    font-size: 12px;
    color: var(--gray-mid);
    margin-top: 4px;
}

/* =========== RESPONSIVE =========== */
@media (max-width: 1024px) {
    .tiles {
        grid-template-columns: repeat(2, 1fr);
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
    }

    .timeline {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .timeline::before {
        display: none;
    }
}

@media (max-width: 768px) {
    #site-header {
        padding: 0 20px;
    }

    .site-nav {
        display: none;
        position: fixed;
        inset: 0;
        background: var(--black);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        z-index: 999;
    }

    .site-nav.open {
        display: flex;
    }

    .site-nav ul {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }

    .site-nav a {
        font-size: 20px;
        color: var(--white) !important;
    }

    .nav-cta {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-content {
        left: 24px;
        bottom: 60px;
    }

    .hero-scroll {
        display: none;
    }

    .split {
        grid-template-columns: 1fr;
    }

    .split-img {
        min-height: 300px;
    }

    .split-text {
        padding: 48px 24px;
    }

    .tiles {
        grid-template-columns: 1fr 1fr;
    }

    .section {
        padding: 64px 0;
    }

    .form-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }

    .service-item {
        grid-template-columns: 1fr;
    }

    .service-price {
        text-align: left;
    }

    #cookie-bar {
        flex-direction: column;
        align-items: flex-start;
        padding: 20px 24px;
    }

    .footer-top {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .tiles {
        grid-template-columns: 1fr;
    }
}

/* =========== ANIMATIONS =========== */
.fade-up {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}