/* ============================================================
   CSS Custom Properties
============================================================ */
:root {
    --navy: #0f172a;
    --navy-mid: #1e3a5f;
    --navy-light: #2d5282;
    --accent: #f59e0b;
    --accent-dark: #d97706;
    --accent-light: #fef3c7;
    --white: #ffffff;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-700: #334155;
    --gray-900: #0f172a;
    --font-jp: 'Noto Sans JP', sans-serif;
    --font-en: 'Inter', sans-serif;
    --shadow-sm: 0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.04);
    --shadow-md: 0 4px 16px rgba(0,0,0,.10), 0 2px 6px rgba(0,0,0,.06);
    --shadow-lg: 0 10px 40px rgba(0,0,0,.14), 0 4px 16px rgba(0,0,0,.08);
    --shadow-xl: 0 20px 60px rgba(0,0,0,.18);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================================
   Reset & Base
============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
    font-family: var(--font-jp);
    color: var(--gray-700);
    background: var(--white);
    line-height: 1.75;
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
}

.section { padding: 100px 0; }

/* ============================================================
   Buttons
============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.03em;
    transition: var(--transition);
    white-space: nowrap;
}
.btn--lg { padding: 18px 40px; font-size: 17px; }
.btn--sm { padding: 10px 22px; font-size: 14px; }
.btn--full { width: 100%; }

.btn-accent {
    background: var(--accent);
    color: var(--navy);
    box-shadow: 0 4px 20px rgba(245,158,11,.35);
}
.btn-accent:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(245,158,11,.45);
}

.btn-outline {
    background: transparent;
    color: var(--navy);
    border: 2px solid var(--gray-200);
}
.btn-outline:hover {
    border-color: var(--navy);
    background: var(--navy);
    color: var(--white);
    transform: translateY(-2px);
}

/* ============================================================
   Section Headers
============================================================ */
.section-header {
    text-align: center;
    margin-bottom: 64px;
}
.section-label {
    display: inline-block;
    font-family: var(--font-en);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: var(--accent);
    text-transform: uppercase;
    margin-bottom: 12px;
    padding: 4px 14px;
    background: var(--accent-light);
    border-radius: 50px;
}
.section-title {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 900;
    color: var(--navy);
    line-height: 1.35;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}
.section-sub {
    font-size: 16px;
    color: var(--gray-500);
    line-height: 1.8;
}
.section-header--light .section-title { color: var(--white); }
.section-header--light .section-sub { color: rgba(255,255,255,.7); }

/* ============================================================
   Reveal Animation
============================================================ */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}
.reveal:nth-child(2) { transition-delay: 0.1s; }
.reveal:nth-child(3) { transition-delay: 0.2s; }
.reveal:nth-child(4) { transition-delay: 0.1s; }
.reveal:nth-child(5) { transition-delay: 0.15s; }
.reveal:nth-child(6) { transition-delay: 0.2s; }

/* ============================================================
   Header
============================================================ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    background: var(--navy);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(255,255,255,.08);
    transition: background var(--transition), box-shadow var(--transition), padding var(--transition);
}
.site-header.scrolled {
    background: var(--navy);
    box-shadow: 0 2px 20px rgba(0,0,0,.3);
    padding: 12px 0;
}
.header-inner {
    display: flex;
    align-items: center;
    gap: 40px;
}

.site-logo {
    position: relative;
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
    height: 38px;
}
.site-logo-img {
    height: 38px;
    width: auto;
    display: block;
    transition: opacity 0.3s ease;
}

.global-nav { margin-left: auto; }
.nav-list {
    display: flex;
    align-items: center;
    gap: 32px;
}
.nav-list a {
    font-size: 14px;
    font-weight: 500;
    color: rgba(255,255,255,.85);
    transition: color var(--transition);
    position: relative;
}
.nav-list a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width var(--transition);
}
.nav-list a:hover { color: var(--accent); }
.nav-list a:hover::after { width: 100%; }

.header-cta { margin-left: 16px; }

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    margin-left: auto;
    padding: 4px;
}
.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: var(--transition);
}
.hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   Hero Section
============================================================ */
.hero {
    width: 100%;
    margin-top: 80px;
}
.hero-image {
    width: 100%;
    line-height: 0;
}
.hero-image picture {
    display: block;
}
.hero-image img {
    width: 100%;
    height: auto;
    display: block;
}
.hero-service-band {
    background: rgba(255, 255, 255, 0.96);
    border-top: 1px solid rgba(15, 23, 42, 0.06);
    box-shadow: 0 -12px 32px rgba(15, 23, 42, 0.05);
}
.hero-service-band__inner {
    min-height: 168px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding-top: 28px;
    padding-bottom: 28px;
}
.hero-service-band__copy {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 26px;
}
.hero-service-band__copy::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    bottom: 8px;
    width: 4px;
    background: var(--accent);
    border-radius: 999px;
}
.hero-service-band__lead {
    font-size: clamp(15px, 1.5vw, 22px);
    font-weight: 900;
    line-height: 1.5;
    color: var(--navy);
    letter-spacing: 0.02em;
}
.hero-service-band__brand {
    font-family: var(--font-en);
    font-size: clamp(34px, 4vw, 54px);
    font-weight: 900;
    line-height: 1.05;
    color: #09285f;
    letter-spacing: 0.03em;
}
.hero-service-band__brand span {
    color: var(--accent);
}
.hero-service-band__button {
    min-width: min(492px, 100%);
    min-height: 82px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    padding: 20px 42px;
    border-radius: 14px;
    background: linear-gradient(135deg, #ffb21a 0%, #f59e0b 52%, #f08a00 100%);
    color: var(--white);
    font-size: clamp(18px, 2vw, 27px);
    font-weight: 900;
    line-height: 1.2;
    box-shadow: 0 16px 32px rgba(245, 158, 11, 0.28);
    transition: transform var(--transition), box-shadow var(--transition), filter var(--transition);
}
.hero-service-band__button:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 42px rgba(245, 158, 11, 0.36);
    filter: saturate(1.06);
}
.hero-service-band__button svg {
    width: 34px;
    height: 34px;
    flex-shrink: 0;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   Problems Section
============================================================ */
.problems { background: var(--gray-50); }

.card-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: var(--gray-50);
    margin-bottom: 22px;
    border: 1px solid var(--gray-100);
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.problem-image {
    aspect-ratio: 3 / 2;
}

.problems-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 60px;
}
.problem-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 32px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-100);
    transition: transform var(--transition), box-shadow var(--transition);
}
.problem-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
.problem-icon {
    display: none;
}
.problem-card h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 10px;
    line-height: 1.4;
}
.problem-card p {
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.8;
}
.problems-cta {
    text-align: center;
    padding: 48px 40px;
    background: linear-gradient(135deg, var(--navy-mid) 0%, var(--navy) 100%);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}
.problems-cta-text {
    font-size: 20px;
    font-weight: 700;
    color: var(--white);
}
.problems-cta-text strong { color: var(--accent); }

/* ============================================================
   Stats Section
============================================================ */
.stats-section {
    background: var(--white);
    padding: 80px 0;
    border-top: 1px solid var(--gray-100);
    border-bottom: 1px solid var(--gray-100);
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}
.stat-item {
    text-align: center;
    padding: 40px 20px;
    position: relative;
}
.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    width: 1px;
    height: 60px;
    background: var(--gray-200);
}
.stat-number {
    font-family: var(--font-en);
    font-size: clamp(40px, 5vw, 60px);
    font-weight: 800;
    color: var(--navy);
    line-height: 1;
    margin-bottom: 12px;
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 2px;
}
.stat-unit {
    font-size: clamp(18px, 2vw, 24px);
    color: var(--accent);
    font-weight: 700;
}
.count { color: var(--accent); }
.stat-label {
    font-size: 14px;
    color: var(--gray-500);
    font-weight: 500;
    letter-spacing: 0.05em;
}

/* ============================================================
   Services Section — 3 Column Grid
============================================================ */
.services { background: var(--white); }

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

.svc-item {
    background: #fff;
    border: 1px solid #eaecf0;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    flex-direction: column;
}
.svc-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.1);
}

.svc-item-img {
    width: 100%;
    height: 200px;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 20px;
    box-sizing: border-box;
}
.svc-item-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s;
}
.svc-item:hover .svc-item-img img {
    transform: scale(1.06);
}

.svc-item-body {
    padding: 24px 26px 28px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.svc-item-num {
    font-size: 11px;
    font-weight: 800;
    color: var(--accent);
    letter-spacing: 0.1em;
    background: #fef3c7;
    padding: 3px 8px;
    border-radius: 5px;
    display: inline-block;
    margin-bottom: 12px;
    width: fit-content;
}

.svc-item-title {
    font-size: 17px;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 10px;
    line-height: 1.4;
}

.svc-item-desc {
    font-size: 13.5px;
    color: var(--gray-500);
    line-height: 1.85;
    flex: 1;
}

@media (max-width: 960px) {
    .svc-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .svc-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   Process Section
============================================================ */
.process { background: var(--white); }

.process-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    position: relative;
}
.process-steps::before {
    content: none;
}
.process-step {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 32px 28px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-100);
    position: relative;
}
.process-step .card-image {
    margin-bottom: 20px;
}
.step-number {
    font-family: var(--font-en);
    font-size: 48px;
    font-weight: 900;
    color: rgba(245, 158, 11, 0.2);
    line-height: 1;
    position: absolute;
    top: 20px;
    right: 24px;
}
.step-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 16px;
    background: var(--accent-light);
    border-radius: 10px;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.step-icon svg { width: 24px; height: 24px; }
.process-step h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 10px;
}
.process-step p {
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.8;
    margin-bottom: 12px;
}
.step-duration {
    display: inline-block;
    font-size: 12px;
    color: var(--accent-dark);
    background: var(--accent-light);
    padding: 4px 12px;
    border-radius: 50px;
    font-weight: 600;
}

/* ============================================================
   Pricing Section
============================================================ */
.pricing { background: var(--white); }

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: stretch;
    margin-bottom: 32px;
}
.pricing-card {
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    position: relative;
    transition: transform var(--transition), box-shadow var(--transition);
    display: flex;
    flex-direction: column;
}
.pricing-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.pricing-card--popular {
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(245,158,11,.1), var(--shadow-md);
    transform: scale(1.03);
    background: #fffdf5;
}
.pricing-card--popular:hover { transform: scale(1.03) translateY(-4px); }

.popular-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: var(--navy);
    font-size: 13px;
    font-weight: 900;
    padding: 6px 20px;
    border-radius: 50px;
    white-space: nowrap;
    letter-spacing: 0.05em;
}
.plan-header { margin-bottom: 32px; }
.plan-name {
    font-size: 20px;
    font-weight: 900;
    color: var(--navy);
    margin-bottom: 8px;
}
.plan-target {
    font-size: 13px;
    color: var(--gray-500);
    margin-bottom: 20px;
    line-height: 1.6;
}
.plan-price {
    display: flex;
    align-items: baseline;
    gap: 4px;
    flex-wrap: wrap;
}
.price-currency {
    font-family: var(--font-en);
    font-size: 22px;
    font-weight: 700;
    color: var(--navy);
}
.price-amount {
    font-family: var(--font-en);
    font-size: 48px;
    font-weight: 900;
    color: var(--navy);
    line-height: 1;
    letter-spacing: -0.03em;
}
.price-tax {
    font-size: 12px;
    color: var(--gray-400);
    width: 100%;
    margin-top: 4px;
}
.plan-features {
    flex: 1;
    margin-bottom: 32px;
}
.plan-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    padding: 9px 0;
    border-bottom: 1px solid var(--gray-100);
    color: var(--gray-700);
}
.plan-features li:last-child { border-bottom: none; }
.plan-features li.inactive { color: var(--gray-400); }
.check {
    color: var(--accent);
    font-weight: 700;
    font-size: 16px;
    flex-shrink: 0;
}
.pricing-note {
    text-align: center;
    font-size: 13px;
    color: var(--gray-400);
    line-height: 1.9;
}

/* ============================================================
   Profile Section
============================================================ */
.profile { background: var(--gray-50); }

.profile-inner {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 64px;
    align-items: start;
}

.profile-photo-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.profile-photo {
    width: 260px;
    height: 260px;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid var(--white);
    box-shadow: var(--shadow-lg);
    flex-shrink: 0;
}

.profile-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.profile-name-block {
    text-align: center;
}

.profile-name-en {
    font-family: var(--font-en);
    font-size: 13px;
    letter-spacing: 0.15em;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 4px;
}

.profile-name {
    font-size: 28px;
    font-weight: 900;
    color: var(--navy);
    letter-spacing: -0.01em;
    margin-bottom: 6px;
}

.profile-role {
    font-size: 14px;
    color: var(--gray-500);
    font-weight: 500;
    background: var(--white);
    padding: 4px 14px;
    border-radius: 50px;
    display: inline-block;
    border: 1px solid var(--gray-200);
}

.profile-content {
    display: flex;
    flex-direction: column;
    gap: 28px;
    padding-top: 8px;
}

.profile-bio {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.profile-bio p {
    font-size: 16px;
    line-height: 1.9;
    color: var(--gray-700);
}

.profile-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.profile-skill-tag {
    font-size: 13px;
    font-weight: 600;
    padding: 5px 14px;
    background: var(--accent-light);
    color: var(--accent-dark);
    border-radius: 50px;
    border: 1px solid rgba(245,158,11,.25);
}

.profile-stats {
    display: flex;
    gap: 32px;
    padding: 24px 28px;
    background: var(--white);
    border-radius: var(--radius-md);
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-sm);
}

.profile-stat-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
}

.profile-stat-num {
    font-family: var(--font-en);
    font-size: 32px;
    font-weight: 800;
    color: var(--navy);
    line-height: 1;
}

.profile-stat-unit {
    font-size: 13px;
    font-weight: 700;
    color: var(--accent-dark);
}

.profile-stat-label {
    font-size: 12px;
    color: var(--gray-500);
    margin-top: 4px;
}

.profile-cta {
    align-self: flex-start;
}

@media (max-width: 900px) {
    .profile-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .profile-photo-wrap {
        flex-direction: row;
        align-items: center;
        gap: 28px;
    }
    .profile-photo {
        width: 120px;
        height: 120px;
        flex-shrink: 0;
    }
    .profile-name-block {
        text-align: left;
    }
    .profile-stats {
        gap: 20px;
    }
}

@media (max-width: 600px) {
    .profile-photo-wrap {
        flex-direction: column;
    }
    .profile-name-block { text-align: center; }
    .profile-stats {
        flex-direction: column;
        gap: 16px;
    }
}

/* ============================================================
   Works Section
============================================================ */
.works { background: var(--gray-50); }

/* 7件目以降は非表示（トップページでは最大6件） */
.works-grid .works-card:nth-child(n+7) { display: none; }

/* 実績が6件以下のときはボタンを非表示、7件目があれば表示 */
.works-more {
    display: none;
    text-align: center;
    margin-top: 48px;
}
.works-grid:has(.works-card:nth-child(7)) + .works-more {
    display: block;
}
.works-more .btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 36px;
    font-size: 15px;
}

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

.works-card {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    transition: transform var(--transition), box-shadow var(--transition);
}
.works-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.works-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.works-card-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 10;
}
.works-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    display: block;
    transition: transform 0.5s ease;
}
.works-card:hover .works-card-image img {
    transform: scale(1.04);
}

.works-card-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15,23,42,.55);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition);
}
.works-card:hover .works-card-overlay {
    opacity: 1;
}
.works-card-overlay span {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--white);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.04em;
}
.works-card-overlay svg {
    width: 18px;
    height: 18px;
}

.works-card-body {
    padding: 20px 24px 24px;
}

.works-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 12px;
}
.works-tag {
    font-size: 11px;
    font-weight: 700;
    color: var(--accent-dark);
    background: var(--accent-light);
    border-radius: 50px;
    padding: 3px 10px;
    letter-spacing: 0.03em;
}

.works-card-title {
    font-size: 16px;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 8px;
    line-height: 1.4;
}

.works-card-desc {
    font-size: 13px;
    color: var(--gray-500);
    line-height: 1.8;
}

@media (max-width: 1024px) {
    .works-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
    .works-grid { grid-template-columns: 1fr; gap: 20px; }
}

/* ============================================================
   FAQ Section
============================================================ */
.faq { background: var(--gray-50); }

.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
    background: var(--white);
    border-radius: var(--radius-sm);
    margin-bottom: 12px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}
.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 24px 28px;
    font-size: 16px;
    font-weight: 700;
    color: var(--navy);
    text-align: left;
    transition: background var(--transition);
    font-family: var(--font-jp);
}
.faq-question:hover { background: var(--gray-50); }
.faq-question[aria-expanded="true"] { color: var(--accent-dark); }
.faq-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: var(--accent);
    transition: transform var(--transition);
}
.faq-question[aria-expanded="true"] .faq-icon { transform: rotate(180deg); }
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
}
.faq-answer.is-open { max-height: 400px; }
.faq-answer p {
    padding: 0 28px 24px;
    font-size: 15px;
    color: var(--gray-500);
    line-height: 1.9;
    border-top: 1px solid var(--gray-100);
    padding-top: 16px;
}

/* ============================================================
   Contact Section
============================================================ */
.contact-section {
    background: var(--white);
    position: relative;
    overflow: hidden;
}
.contact-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 10% 50%, rgba(245,158,11,.05) 0%, transparent 50%),
        radial-gradient(ellipse at 90% 20%, rgba(30,58,95,.04) 0%, transparent 50%);
    pointer-events: none;
}
.contact-inner { position: relative; z-index: 1; }

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 64px;
    align-items: start;
}
.contact-info { padding-top: 8px; }
.contact-point {
    display: flex;
    gap: 16px;
    margin-bottom: 32px;
}
.contact-point-icon {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    margin-top: 2px;
}
.contact-point-icon svg { width: 32px; height: 32px; }
.contact-point h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 6px;
}
.contact-point p {
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.75;
}

/* Contact Form */
.contact-form-wrap {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
}
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group label {
    font-size: 14px;
    font-weight: 600;
    color: var(--navy);
    display: flex;
    align-items: center;
    gap: 8px;
}
.required {
    font-size: 11px;
    background: #ef4444;
    color: var(--white);
    padding: 2px 8px;
    border-radius: 50px;
    font-weight: 600;
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-family: var(--font-jp);
    color: var(--navy);
    transition: border-color var(--transition);
    outline: none;
    background: var(--white);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(245,158,11,.15);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-group select { appearance: none; cursor: pointer; }
.form-submit { margin-top: 4px; }
.form-result-msg {
    margin-top: 16px;
    padding: 14px 18px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.6;
}
.form-result-msg--success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #6ee7b7;
}
.form-result-msg--error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

/* ============================================================
   Hero Target Tags
============================================================ */
.hero-targets {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 24px;
    justify-content: center;
}

.hero-target-tag {
    font-size: 12px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 50px;
    border: 1px solid rgba(255,255,255,.35);
    color: rgba(255,255,255,.85);
    background: rgba(255,255,255,.1);
    backdrop-filter: blur(4px);
    letter-spacing: 0.03em;
}

/* ============================================================
   Section CTA Band
============================================================ */
.section-cta {
    margin-top: 56px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.section-cta-text {
    font-size: 16px;
    color: var(--gray-500);
}

/* ============================================================
   Pricing Reason Box
============================================================ */
.pricing-reason {
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-top: 3px solid var(--accent);
    border-radius: var(--radius-md);
    padding: 36px 40px;
    margin-top: 48px;
}

.pricing-reason-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 28px;
}

.pricing-reason-header svg {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
}

.pricing-reason-header h4 {
    font-size: 17px;
    font-weight: 800;
    color: var(--navy);
    letter-spacing: -0.01em;
}

.pricing-reason-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.pricing-reason-item {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-sm);
    padding: 24px 20px;
}

.pricing-reason-item-icon {
    width: 44px;
    height: 44px;
    background: var(--accent-light);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
}

.pricing-reason-item-icon svg {
    width: 26px;
    height: 26px;
}

.pricing-reason-item h5 {
    font-size: 14px;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 8px;
    line-height: 1.4;
}

.pricing-reason-item p {
    font-size: 13px;
    color: var(--gray-500);
    line-height: 1.8;
}

@media (max-width: 768px) {
    .pricing-reason { padding: 24px 20px; }
    .pricing-reason-grid { grid-template-columns: 1fr; gap: 16px; }
}

/* ============================================================
   Renewal Advantage Section
============================================================ */
.renewal-advantage {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 60%, #0f172a 100%);
    padding: 80px 0 72px;
    position: relative;
    overflow: visible;
}
.renewal-advantage::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 70% 60% at 50% 0%, rgba(245,158,11,0.12) 0%, transparent 70%);
    pointer-events: none;
}

.renewal-advantage-header {
    text-align: center;
    margin-bottom: 56px;
}

.renewal-advantage-title {
    font-size: clamp(26px, 4vw, 38px);
    font-weight: 900;
    color: #fff;
    letter-spacing: -0.02em;
    margin: 12px 0 36px;
}

.renewal-advantage-badges {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-bottom: 32px;
    overflow: visible;
}

.advantage-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0;
}

.advantage-badge-img {
    width: 210px;
    height: 210px;
    border-radius: 50%;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at 40% 35%, #1a3a5c, #0d1e35 70%);
    border: 1px solid rgba(100,160,220,0.15);
    box-shadow:
        inset 0 1px 1px rgba(255,255,255,0.08),
        0 8px 32px rgba(0,0,0,0.5);
    overflow: hidden;
}

.advantage-badge-img img {
    width: 80%;
    height: 80%;
    object-fit: contain;
    display: block;
}

.badge-num {
    font-size: 13px;
    font-weight: 700;
    color: #f59e0b;
    letter-spacing: 0.12em;
    margin-bottom: 6px;
}

.badge-title {
    font-size: clamp(22px, 2.8vw, 30px);
    font-weight: 900;
    color: #fff;
    letter-spacing: 0.02em;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.badge-title::before {
    content: none;
}

.badge-title-accent {
    color: #f59e0b;
}

.badge-title-accent--teal {
    color: #2dd4bf;
}

.badge-title-accent--red {
    color: #f04040;
}

.badge-sub {
    font-size: 16px;
    font-weight: 800;
    color: #fff;
    letter-spacing: 0.05em;
    text-shadow: 0 0 12px rgba(245,158,11,0.5);
}

.renewal-advantage-sub {
    font-size: 14px;
    color: rgba(255,255,255,0.55);
    letter-spacing: 0.02em;
}

.renewal-reason-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 17px;
    font-weight: 700;
    color: #f59e0b;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.renewal-reason-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.renewal-reason-item {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-top: 3px solid #f59e0b;
    border-radius: 14px;
    padding: 32px 28px;
    position: relative;
    transition: background 0.2s, transform 0.2s;
}

.renewal-reason-item:hover {
    background: rgba(255,255,255,0.09);
    transform: translateY(-3px);
}

.renewal-reason-num {
    font-size: 11px;
    font-weight: 800;
    color: #f59e0b;
    letter-spacing: 0.12em;
    margin-bottom: 14px;
}

.renewal-reason-img {
    width: 100%;
    margin-bottom: 20px;
    border-radius: 10px;
    overflow: hidden;
    background: rgba(255,255,255,0.05);
}

.renewal-reason-img img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    object-position: center;
    display: block;
}

.renewal-reason-body h4 {
    font-size: 16px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 10px;
    line-height: 1.4;
}

.renewal-reason-body p {
    font-size: 13px;
    color: rgba(255,255,255,0.65);
    line-height: 1.9;
}

.renewal-reason-note {
    display: inline-block;
    margin-top: 10px;
    font-size: 12px;
    color: rgba(245,158,11,0.8);
    background: rgba(245,158,11,0.1);
    border-radius: 4px;
    padding: 3px 8px;
}

@media (max-width: 900px) {
    .renewal-reason-grid { grid-template-columns: 1fr; gap: 16px; }
    .renewal-advantage { padding: 56px 0 48px; }
    .renewal-advantage-badges { gap: 10px; }
    .advantage-badge { min-width: 100px; padding: 14px 20px; }
}

/* ============================================================
   Floating CTA Button
============================================================ */
.floating-cta {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 999;
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.4s ease, transform 0.4s ease;
    pointer-events: none;
}

.floating-cta.is-visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.floating-cta-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 22px;
    background: var(--accent);
    color: var(--navy);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 800;
    box-shadow: 0 6px 24px rgba(245,158,11,.5);
    transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
    letter-spacing: 0.03em;
    white-space: nowrap;
}

.floating-cta-btn:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 32px rgba(245,158,11,.6);
}

@media (max-width: 600px) {
    .floating-cta {
        bottom: 16px;
        right: 16px;
        left: 16px;
    }
    .floating-cta-btn {
        width: 100%;
        justify-content: center;
        padding: 16px 24px;
        font-size: 15px;
    }
}

/* ============================================================
   Contact Form 7 Styles
============================================================ */
.wpcf7 form { display: flex; flex-direction: column; gap: 20px; }
.wpcf7 .cf7-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.wpcf7 .cf7-group { display: flex; flex-direction: column; gap: 8px; }
.wpcf7 .wpcf7-form-control-wrap { display: block; }

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 select,
.wpcf7 textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-family: var(--font-jp);
    color: var(--gray-700);
    background: var(--white);
    transition: border-color var(--transition), box-shadow var(--transition);
    outline: none;
    appearance: none;
}
.wpcf7 input[type="text"]:focus,
.wpcf7 input[type="email"]:focus,
.wpcf7 input[type="tel"]:focus,
.wpcf7 select:focus,
.wpcf7 textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(245,158,11,.15);
}
.wpcf7 textarea { resize: vertical; min-height: 120px; }
.wpcf7 select { cursor: pointer; }

.wpcf7 input[type="submit"] {
    width: 100%;
    padding: 18px 32px;
    font-size: 17px;
    font-weight: 700;
    font-family: var(--font-jp);
    background: var(--accent);
    color: var(--navy);
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
    box-shadow: 0 4px 14px rgba(245,158,11,.35);
    letter-spacing: 0.05em;
    margin-top: 4px;
}
.wpcf7 input[type="submit"]:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(245,158,11,.45);
}
.wpcf7 input[type="submit"]:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.wpcf7-not-valid-tip {
    font-size: 12px;
    color: #991b1b;
    margin-top: 4px;
    display: block;
}
.wpcf7-form-control.wpcf7-not-valid {
    border-color: #fca5a5 !important;
}
.wpcf7-response-output {
    margin-top: 16px;
    padding: 14px 18px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.6;
    border: 1px solid transparent;
}
.wpcf7-response-output.wpcf7-mail-sent-ok {
    background: #d1fae5;
    color: #065f46;
    border-color: #6ee7b7;
}
.wpcf7-response-output.wpcf7-mail-sent-ng,
.wpcf7-response-output.wpcf7-validation-errors,
.wpcf7-response-output.wpcf7-spam-blocked {
    background: #fee2e2;
    color: #991b1b;
    border-color: #fca5a5;
}

/* ============================================================
   Scroll Top
============================================================ */
.scroll-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 48px;
    height: 48px;
    background: var(--navy);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition), visibility var(--transition), transform var(--transition), background var(--transition);
    z-index: 900;
    box-shadow: var(--shadow-lg);
    cursor: pointer;
}
.scroll-top.is-visible {
    opacity: 1;
    visibility: visible;
}
.scroll-top:hover {
    background: var(--accent);
    color: var(--navy);
    transform: translateY(-4px);
}

/* ============================================================
   Footer
============================================================ */
.site-footer {
    background: #070e1c;
    color: var(--white);
    padding: 80px 0 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 48px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-brand-name {
    font-size: 13px;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: 0.05em;
    margin-top: 16px;
    margin-bottom: 6px;
    font-family: var(--font-en);
}
.footer-brand-name a {
    color: var(--accent);
    text-decoration: none;
    transition: opacity var(--transition);
}
.footer-brand-name a:hover {
    opacity: 0.75;
}
.footer-tagline {
    font-size: 14px;
    color: rgba(255,255,255,.5);
    line-height: 1.85;
    margin-bottom: 20px;
}
.footer-address {
    font-size: 13px;
    color: rgba(255,255,255,.4);
    line-height: 2;
}
.footer-nav-group h4 {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255,255,255,.4);
    margin-bottom: 16px;
    font-family: var(--font-en);
}
.footer-nav-group ul { display: flex; flex-direction: column; gap: 10px; }
.footer-nav-group ul a {
    font-size: 14px;
    color: rgba(255,255,255,.6);
    transition: color var(--transition);
}
.footer-nav-group ul a:hover { color: var(--white); }
.footer-nav-group p {
    font-size: 14px;
    color: rgba(255,255,255,.5);
    line-height: 1.85;
    margin-bottom: 16px;
}
.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 0;
    gap: 24px;
    flex-wrap: wrap;
}
.copyright {
    font-size: 13px;
    color: rgba(255,255,255,.3);
    font-family: var(--font-en);
}
.footer-links {
    display: flex;
    gap: 24px;
}
.footer-links a {
    font-size: 13px;
    color: rgba(255,255,255,.3);
    transition: color var(--transition);
}
.footer-links a:hover { color: rgba(255,255,255,.7); }

/* ============================================================
   Responsive
============================================================ */
@media (max-width: 1024px) {
    .problems-grid { grid-template-columns: repeat(2, 1fr); }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .process-steps { grid-template-columns: repeat(2, 1fr); }
    .process-steps::before { display: none; }
    .pricing-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto 32px; }
    .pricing-card--popular { transform: none; }
    .pricing-card--popular:hover { transform: translateY(-4px); }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .stat-item:nth-child(2)::after { display: none; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .contact-grid { grid-template-columns: 1fr; gap: 48px; }
}

@media (max-width: 768px) {
    .container { padding: 0 20px; }
    .section { padding: 72px 0; }
    .section-header { margin-bottom: 48px; }

    .global-nav { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: var(--navy); padding: 100px 24px 40px; z-index: 999; flex-direction: column; }
    .global-nav.is-open { display: flex; }
    .nav-list { flex-direction: column; align-items: flex-start; gap: 24px; }
    .nav-list a { font-size: 22px; font-weight: 700; }
    .header-cta { display: none; }
    .hamburger { display: flex; }

    .hero { padding: 0; min-height: auto; }
    .hero-service-band__inner {
        min-height: auto;
        flex-direction: column;
        align-items: stretch;
        gap: 22px;
        padding-top: 24px;
        padding-bottom: 28px;
    }
    .hero-service-band__button {
        width: 100%;
        min-height: 68px;
        padding: 18px 22px;
        border-radius: 12px;
        gap: 12px;
    }
    .hero-service-band__button svg {
        width: 26px;
        height: 26px;
    }
    .hero-heading { font-size: 32px; }
    .hero-cta-group { flex-direction: column; align-items: flex-start; }
    .hero-cta-group .btn { width: 100%; justify-content: center; }
    .hero-features { gap: 16px; flex-direction: column; }

    .problems-grid { grid-template-columns: 1fr; }
    .services-grid { grid-template-columns: 1fr; }
    .process-steps { grid-template-columns: 1fr; }

    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .stat-item::after { display: none; }

    .form-row { grid-template-columns: 1fr; }
    .contact-form-wrap { padding: 28px 20px; }
    .wpcf7 .cf7-row { grid-template-columns: 1fr; }

    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer-bottom { flex-direction: column; text-align: center; }

    .problems-cta { flex-direction: column; text-align: center; gap: 20px; }
    .problems-cta-text { font-size: 17px; }
}

@media (max-width: 480px) {
    .hero-heading { font-size: 28px; }
    .hero-service-band__copy {
        padding-left: 18px;
    }
    .hero-service-band__lead {
        font-size: 14px;
    }
    .hero-service-band__brand {
        font-size: 31px;
    }
    .hero-service-band__button {
        font-size: 17px;
    }
    .problem-card,
    .service-card,
    .process-step {
        padding: 28px 22px;
    }
    .service-card .card-image {
        margin-left: 0;
        margin-right: 0;
    }
    .pricing-grid { max-width: 100%; }
    .pricing-card { padding: 32px 24px; }
    .price-amount { font-size: 40px; }
}

@media (max-width: 768px) {
    .global-nav {
        position: fixed !important;
        inset: 0 !important;
        width: 100vw !important;
        height: 100vh !important;
        height: 100dvh !important;
        min-height: 100vh !important;
        background: var(--navy) !important;
        z-index: 1200 !important;
        padding: 104px 24px 40px !important;
        overflow-y: auto !important;
    }

    .global-nav.is-open {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
    }

    .global-nav::before {
        content: "";
        position: fixed;
        inset: 0;
        background: var(--navy);
        z-index: -1;
    }

    .site-header .hamburger {
        position: relative;
        z-index: 1300;
    }

    .global-nav .nav-list {
        width: 100%;
    }
}
