/*
  Clear Web Shizuoka — v3
  Apple-inspired Minimalism
  White base · Generous whitespace · Subtle typography
*/

/* ── Tokens ── */
:root {
    --white: #FFFFFF;
    --bg: #FAFAFA;
    --bg-alt: linear-gradient(180deg, #edf1f7 0%, #f0f2f8 50%, #f5f6fa 100%);
    --surface: #FFFFFF;
    --border: #E5E5E5;

    --text: #1D1D1F;
    --text-2: #6E6E73;
    --text-3: #86868B;

    --accent: #0071E3;
    --accent-hover: #0077ED;

    --ff-en: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --ff-jp: 'Noto Sans JP', sans-serif;

    --radius: 16px;
    --radius-sm: 10px;
    --shadow: 0 2px 12px rgba(0, 0, 0, .06);
    --shadow-hover: 0 4px 20px rgba(0, 0, 0, .08);
    --ease: cubic-bezier(.25, .46, .45, .94);
}

/* ── Dark Mode Tokens ── */
body.dark-mode {
    --white: #121212;
    --bg: #0A0A0A;
    --bg-alt: linear-gradient(180deg, #18191C 0%, #151517 50%, var(--bg) 100%);
    --surface: #1C1C1E;
    --border: #333336;

    --text: #F5F5F7;
    --text-2: #A1A1A6;
    --text-3: #86868B;

    --shadow: 0 2px 12px rgba(0, 0, 0, .4);
    --shadow-hover: 0 4px 20px rgba(0, 0, 0, .6);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--ff-jp);
    font-weight: 400;
    color: var(--text);
    background: var(--bg);
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

img {
    display: block;
    max-width: 100%;
}

/* ── Container ── */
.container {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ── Utility ── */
.sp-only {
    display: none;
}

/* ══════════════════════════════
   Header
   ══════════════════════════════ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    transition: background .35s var(--ease), box-shadow .35s var(--ease), transform .35s var(--ease);
}

.site-header.scrolled {
    background: rgba(250, 250, 250, .85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 1px 0 var(--border);
}

.header-inner {
    max-width: 1080px;
    margin: 0 auto;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.site-logo {
    font-family: var(--ff-jp);
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: .02em;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.site-nav a {
    font-size: .875rem;
    font-weight: 500;
    color: var(--text-2);
    transition: color .25s;
}

.site-nav a:hover {
    color: var(--text);
}

.nav-cta {
    background: var(--accent) !important;
    color: var(--white) !important;
    padding: 8px 20px;
    border-radius: 980px;
    font-weight: 600 !important;
    transition: background .25s, transform .25s !important;
}

.nav-cta:hover {
    background: var(--accent-hover) !important;
    transform: scale(1.03);
}

/* Hamburger */
.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 24px;
    height: 18px;
    position: relative;
}

.hamburger span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 1.5px;
    background: var(--text);
    transition: all .3s var(--ease);
}

.hamburger span:nth-child(1) {
    top: 0;
}

.hamburger span:nth-child(2) {
    bottom: 0;
}

.hamburger.is-open span:nth-child(1) {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}

.hamburger.is-open span:nth-child(2) {
    bottom: 50%;
    transform: translateY(50%) rotate(-45deg);
}

/* ══════════════════════════════
   Theme Toggle
   ══════════════════════════════ */
.theme-toggle {
    background: transparent;
    border: none;
    color: var(--text);
    cursor: pointer;
    padding: 8px;
    margin-right: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .3s, transform .3s;
}

.theme-toggle:hover {
    background: rgba(125, 125, 125, 0.1);
    transform: scale(1.05);
}

.theme-toggle svg {
    width: 20px;
    height: 20px;
    transition: opacity 0.3s, transform 0.3s;
}

/* Default (Light Mode) */
.theme-toggle .sun-icon {
    display: none;
}

.theme-toggle .moon-icon {
    display: block;
}

/* Dark Mode */
body.dark-mode .theme-toggle .sun-icon {
    display: block;
}

body.dark-mode .theme-toggle .moon-icon {
    display: none;
}

/* ══════════════════════════════
   Buttons
   ══════════════════════════════ */
.btn {
    display: inline-block;
    font-family: var(--ff-jp);
    font-weight: 600;
    font-size: .938rem;
    border-radius: 980px;
    transition: all .3s var(--ease);
    cursor: pointer;
    border: none;
    text-align: center;
}

.btn-primary {
    background: var(--accent);
    color: var(--white);
    padding: 14px 36px;
}

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(0, 113, 227, .25);
}

.btn-line {
    background: #06c755;
    color: #fff;
    padding: 14px 36px;
    box-shadow: 0 8px 20px rgba(6, 199, 85, .18);
}

.btn-line:hover {
    background: #05b84e;
    transform: translateY(-1px);
    box-shadow: 0 12px 28px rgba(6, 199, 85, .24);
}

.btn-ghost {
    background: transparent;
    color: var(--accent);
    padding: 14px 36px;
    border: 1.5px solid var(--border);
}

.btn-ghost:hover {
    border-color: var(--accent);
}

.btn-primary-sm {
    background: var(--accent);
    color: var(--white);
    padding: 10px 24px;
    font-size: .85rem;
}

.btn-primary-sm:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
}

.btn-outline-sm {
    background: transparent;
    color: var(--accent);
    padding: 10px 24px;
    font-size: .85rem;
    border: 1.5px solid var(--border);
}

.btn-outline-sm:hover {
    border-color: var(--accent);
}

.btn-payjp-sm {
    background: linear-gradient(135deg, #111827 0%, #1f2937 100%);
    color: #fff;
    padding: 10px 24px;
    font-size: .85rem;
    box-shadow: 0 12px 24px rgba(15, 23, 42, .12);
}

.btn-payjp-sm:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 30px rgba(15, 23, 42, .16);
}

/* ══════════════════════════════
   Hero
   ══════════════════════════════ */
.hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 100vh;
    text-align: center;
    padding: 160px 0 120px;
    overflow: hidden;
    background: linear-gradient(180deg, #eef3ff 0%, #f5f0ff 30%, var(--bg) 100%);
}

/* Mesh Gradient Blobs — bold version */
.hero::before,
.hero::after,
.hero-blob-3 {
    /* Added .hero-blob-3 for the third blob */
    content: '';
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.hero::before {
    width: 650px;
    height: 650px;
    background: radial-gradient(circle, rgba(0, 113, 227, .28) 0%, rgba(0, 113, 227, 0) 70%);
    filter: blur(60px);
    top: -15%;
    right: -10%;
    animation: blobFloat 14s ease-in-out infinite alternate;
}

.hero::after {
    width: 550px;
    height: 550px;
    background: radial-gradient(circle, rgba(125, 85, 230, .25) 0%, rgba(125, 85, 230, 0) 70%);
    filter: blur(60px);
    bottom: -10%;
    left: -12%;
    animation: blobFloat 14s ease-in-out infinite alternate-reverse;
}

/* Third blob */
.hero-blob-3 {
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(255, 165, 0, .2) 0%, rgba(255, 165, 0, 0) 70%);
    filter: blur(60px);
    top: 20%;
    left: 40%;
    animation: blobFloat 16s ease-in-out infinite alternate;
    animation-delay: -8s;
    /* Offset animation for variety */
}

@keyframes blobFloat {
    0% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(40px, -30px) scale(1.1);
    }

    100% {
        transform: translate(-15px, 20px) scale(.93);
    }
}

.hero .container {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}


.hero-kicker {
    font-size: .8rem;
    font-weight: 500;
    letter-spacing: .12em;
    color: var(--text-3);
    margin-bottom: 24px;
}

.hero-heading {
    font-family: var(--ff-jp);
    font-weight: 700;
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.25;
    letter-spacing: -.02em;
    margin-bottom: 28px;
}

.hero-sub {
    font-size: 1.05rem;
    font-weight: 300;
    line-height: 1.9;
    color: var(--text-2);
    max-width: 540px;
    margin-bottom: 48px;
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: center;
}

/* ══════════════════════════════
   Feature Strip (Stats)
   ══════════════════════════════ */
.strip {
    padding: 80px 0;
    background: var(--bg);
    position: relative;
    overflow: hidden;
}

/* Subtle background accent instead of heavy dark gradient */
.strip::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 113, 227, .05) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    filter: blur(60px);
    pointer-events: none;
}

.strip-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    position: relative;
    z-index: 1;
}

.strip-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 36px 24px;
    border-radius: var(--radius);
    background: var(--surface);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s;
}

.strip-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.strip-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--accent), #5856d6);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    margin-bottom: 20px;
}

.strip-number {
    font-family: var(--ff-en);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -.02em;
    line-height: 1.1;
    margin-bottom: 6px;
}

.strip-label {
    font-size: .95rem;
    font-weight: 600;
    color: var(--text-2);
    margin-bottom: 6px;
}

.strip-desc {
    font-size: .8rem;
    color: var(--text-3);
    line-height: 1.4;
}

@media (max-width: 768px) {
    .strip-grid {
        grid-template-columns: 1fr;
        max-width: 360px;
        margin: 0 auto;
    }
}

/* ══════════════════════════════
   Sections (general)
   ══════════════════════════════ */
.section {
    padding: 120px 0;
    position: relative;
}

/* Alternating section backgrounds — visible contrast */
.section:nth-of-type(even) {
    background: var(--bg-alt);
}

.section-label {
    font-family: var(--ff-en);
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 12px;
}

.section-heading {
    font-size: clamp(1.6rem, 3.5vw, 2.4rem);
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 56px;
}

/* ══════════════════════════════
   Service Cards
   ══════════════════════════════ */
.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 40px 32px;
    transition: box-shadow .35s var(--ease), transform .35s var(--ease);
}

.card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-4px);
}

.card-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    margin-bottom: 28px;
}

.card h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 14px;
}

.card p {
    font-size: .9rem;
    font-weight: 300;
    color: var(--text-2);
    line-height: 1.8;
}

/* ══════════════════════════════
   Flow / FAQ / Consult
   ══════════════════════════════ */
.section-sub {
    font-size: .95rem;
    color: var(--text-2);
    line-height: 1.9;
}

.flow-sub {
    max-width: 680px;
    margin-bottom: 40px;
}

.flow-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

.flow-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 22px;
    box-shadow: var(--shadow);
}

.flow-step {
    display: inline-block;
    font-family: var(--ff-en);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .08em;
    color: var(--accent);
    margin-bottom: 14px;
}

.flow-card h3 {
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 12px;
}

.flow-card p {
    font-size: .86rem;
    color: var(--text-2);
    line-height: 1.8;
}

.faq-list {
    display: grid;
    gap: 16px;
}

.faq-item {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px 28px;
    box-shadow: var(--shadow);
}

.faq-item summary {
    list-style: none;
    cursor: pointer;
    font-size: .98rem;
    font-weight: 700;
    color: var(--text);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

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

.faq-item summary::after {
    content: '+';
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--accent);
    flex-shrink: 0;
}

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

.faq-item p {
    margin-top: 16px;
    font-size: .9rem;
    color: var(--text-2);
    line-height: 1.8;
}

.section-consult {
    padding-top: 0;
}

.consult-box {
    background: linear-gradient(135deg, rgba(0, 113, 227, 0.07) 0%, rgba(88, 86, 214, 0.06) 100%);
    border: 1px solid rgba(0, 113, 227, 0.12);
    border-radius: var(--radius);
    padding: 40px;
    text-align: center;
}

.consult-box .section-label {
    margin-bottom: 10px;
}

.consult-heading {
    font-size: clamp(1.4rem, 3vw, 2rem);
    line-height: 1.4;
    margin-bottom: 20px;
}

.consult-points {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 20px;
}

.consult-points span {
    display: inline-flex;
    align-items: center;
    padding: 10px 16px;
    border-radius: 999px;
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--text-2);
    font-size: .88rem;
}

.consult-text {
    max-width: 700px;
    margin: 0 auto;
    font-size: .95rem;
    color: var(--text-2);
}


/* ══════════════════════════════
   Profile / About
   ══════════════════════════════ */
.profile-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 40px 24px;
    display: flex;
    flex-direction: column;
    gap: 40px;
    box-shadow: var(--shadow);
    margin-top: 56px;
}

@media (min-width: 992px) {
    .profile-card {
        flex-direction: row;
        align-items: flex-start;
        padding: 80px 60px;
        gap: 80px;
    }
}

.profile-image {
    flex-shrink: 0;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto;
    border: 4px solid var(--bg);
    box-shadow: 0 12px 32px rgba(0, 0, 0, .08);
}

@media (min-width: 992px) {
    .profile-image {
        width: 280px;
        height: 280px;
    }
}

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

.profile-content {
    flex: 1;
}

.profile-content h3 {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--text);
    line-height: 1.5;
}

@media (min-width: 992px) {
    .profile-content h3 {
        font-size: 1.6rem;
    }
}

.profile-lead {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 32px;
}

.profile-content p {
    font-size: .95rem;
    line-height: 1.9;
    color: var(--text-2);
    margin-bottom: 20px;
}

.profile-quote {
    background: var(--bg);
    border-left: 4px solid var(--accent);
    padding: 24px;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-weight: 600;
    color: var(--text);
    margin: 40px 0;
    line-height: 1.8;
}

@media (min-width: 992px) {
    .profile-quote {
        padding: 24px 32px;
    }
}

.profile-details {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid var(--border);
}

.profile-details-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text);
}

.profile-list {
    list-style: none;
}

.profile-list li {
    font-size: .95rem;
    color: var(--text-2);
    margin-bottom: 12px;
    display: flex;
    gap: 12px;
    line-height: 1.6;
}

.profile-list li strong {
    color: var(--text);
    min-width: 50px;
}

/* ══════════════════════════════
   Pricing
   ══════════════════════════════ */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 32px;
}

.pricing-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 40px 32px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: box-shadow .35s var(--ease), transform .35s var(--ease);
}

.pricing-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-4px);
}

.pricing-card.featured {
    border-color: var(--accent);
    border-width: 2px;
}

.featured-badge {
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: var(--white);
    font-size: .7rem;
    font-weight: 700;
    padding: 4px 16px;
    border-radius: 980px;
    letter-spacing: .04em;
}

.plan-name {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.plan-for {
    font-size: .82rem;
    color: var(--text-3);
    margin-bottom: 24px;
}

.plan-price {
    font-family: var(--ff-en);
    font-size: 2.4rem;
    font-weight: 300;
    letter-spacing: -.02em;
    margin-bottom: 28px;
}

.plan-price .yen {
    font-size: 1.4rem;
    margin-right: 2px;
}

.plan-price .tax {
    font-size: .82rem;
    color: var(--text-3);
    margin-left: 4px;
    font-family: var(--ff-jp);
}

.plan-price .monthly {
    font-size: .82rem;
    color: var(--text-3);
    margin-right: 8px;
    font-family: var(--ff-jp);
}

.plan-list {
    flex-grow: 1;
    margin-bottom: 32px;
}

.plan-list li {
    font-size: .875rem;
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 8px;
}

.plan-list li::before {
    content: '✓';
    font-weight: 600;
    color: var(--accent);
    font-size: .75rem;
}

.pricing-note {
    text-align: center;
    font-size: .8rem;
    color: var(--text-3);
}

.payjp-secure-note {
    margin-top: 12px;
    text-align: center;
    font-size: .86rem;
    line-height: 1.8;
    color: var(--text-3);
}

/* Plan monthly note */
.plan-monthly-note {
    font-size: .85rem;
    color: var(--text-2);
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
}

.plan-monthly-note strong {
    color: var(--accent);
    font-size: 1.1rem;
}

.plan-actions {
    display: grid;
    gap: 10px;
    margin-top: 18px;
}

.plan-actions .btn {
    width: 100%;
}

.payjp-plan-form {
    margin: 0;
}

.payjp-plan-form .btn {
    width: 100%;
}

/* Included section */
.included-section {
    margin-top: 56px;
    padding: 40px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.included-heading {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 24px;
    text-align: center;
}

.included-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 32px;
}

.included-item {
    font-size: .875rem;
    color: var(--text-2);
    padding: 6px 0;
}

/* Option table */
.option-table-section {
    margin-top: 40px;
}

.option-table {
    width: 100%;
    border-collapse: collapse;
    font-size: .85rem;
    margin-bottom: 16px;
}

.option-table thead {
    background: var(--text);
    color: var(--white);
}

.option-table th {
    padding: 12px 16px;
    font-weight: 600;
    text-align: left;
}

.option-table td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--border);
    color: var(--text-2);
}

.option-table tbody tr:hover {
    background: rgba(0, 113, 227, .03);
}

/* ══════════════════════════════
   Pricing - New Elements (TCO, Promise, Monthly 2-tier)
   ══════════════════════════════ */

/* 選べる月額プラン */
.monthly-plans-section {
    margin-top: 56px;
    padding: 40px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.monthly-plans-heading {
    text-align: center;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 32px;
}

.monthly-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.monthly-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    position: relative;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
}

.monthly-card.recommended {
    border-color: var(--accent);
    box-shadow: 0 8px 24px rgba(0, 113, 227, 0.08);
}

.monthly-card .plan-name {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.monthly-card .plan-price {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
}

.monthly-card .plan-price span {
    font-size: .875rem;
}

.monthly-card .payjp-plan-form {
    margin-top: 18px;
}

/* 3年総コスト(TCO)比較表 */
.tco-section {
    margin-top: 40px;
    padding: 32px;
    background: linear-gradient(135deg, #fdfbfb 0%, #ebedee 100%);
    border-radius: var(--radius);
    text-align: center;
}

.tco-heading {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text);
}

.tco-desc {
    font-size: .85rem;
    color: var(--text-2);
    margin-bottom: 24px;
}

.tco-table {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.tco-table table {
    width: 100%;
    border-collapse: collapse;
    font-size: .9rem;
}

.tco-table th,
.tco-table td {
    padding: 16px;
    border-bottom: 1px solid var(--border);
}

.tco-table th {
    background: var(--surface);
    font-weight: 600;
    color: var(--text);
    width: 30%;
}

.tco-table td {
    text-align: right;
    font-weight: 700;
}

.tco-table tr.highlight td {
    color: var(--accent);
    font-size: 1.1rem;
}

.tco-table tr:last-child th,
.tco-table tr:last-child td {
    border-bottom: none;
}

/* 安心のお約束（ロックイン排除） */
.promise-section {
    margin-top: 40px;
    padding: 32px;
    background: rgba(0, 113, 227, 0.03);
    border: 1px solid rgba(0, 113, 227, 0.1);
    border-radius: var(--radius);
}

.promise-heading {
    text-align: center;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

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

.promise-item {
    background: var(--white);
    padding: 24px;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.promise-item i {
    font-size: 1.5rem;
    color: var(--accent);
    margin-bottom: 12px;
}

.promise-item h5 {
    font-size: .95rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.promise-item p {
    font-size: .8rem;
    color: var(--text-2);
    line-height: 1.5;
}

/* ══════════════════════════════
   Contact
   ══════════════════════════════ */
.section-contact {
    background: var(--white);
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.contact-left .section-heading {
    margin-bottom: 24px;
}

.contact-desc {
    font-size: .95rem;
    font-weight: 300;
    color: var(--text-2);
    line-height: 1.9;
}

.contact-quick-actions {
    margin-top: 32px;
}

.contact-quick-note {
    margin-top: 14px;
    font-size: .9rem;
    color: var(--text-2);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.form-field label {
    display: block;
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .04em;
    color: var(--text-3);
    margin-bottom: 8px;
}

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    font-family: var(--ff-jp);
    font-size: .95rem;
    padding: 12px 0;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--border);
    color: var(--text);
    transition: border-color .25s;
    border-radius: 0;
    -webkit-appearance: none;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    outline: none;
    border-bottom-color: var(--accent);
}

.form-field textarea {
    resize: vertical;
}

.contact-form .btn-primary {
    align-self: flex-start;
}

/* ══════════════════════════════
   Footer
   ══════════════════════════════ */
.site-footer {
    padding: 40px 0;
    border-top: 1px solid var(--border);
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo {
    font-weight: 700;
    font-size: .9rem;
}

.footer-nav {
    display: flex;
    gap: 28px;
}

.footer-nav a {
    font-size: .78rem;
    font-weight: 500;
    color: var(--text-3);
    transition: color .25s;
}

.footer-nav a:hover {
    color: var(--text);
}

.footer-copy {
    font-size: .72rem;
    color: var(--text-3);
}

/* ══════════════════════════════
   Responsive
   ══════════════════════════════ */

/* Tablet */
@media (max-width: 900px) {
    .card-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

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

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 420px;
        margin-left: auto;
        margin-right: auto;
        gap: 24px;
    }

    .contact-layout {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .strip-grid {
        gap: 48px;
    }
}

/* Mobile */
@media (max-width: 640px) {
    .sp-only {
        display: inline;
    }

    /* Header */
    .site-nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100dvh;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 36px;
        background: rgba(250, 250, 250, .97);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        transform: translateY(-100%);
        transition: transform .4s var(--ease);
        z-index: 99;
    }

    .site-nav.is-open {
        transform: translateY(0);
    }

    .site-nav a {
        font-size: 1.1rem;
    }

    .hamburger {
        display: block;
        z-index: 101;
    }

    /* Hero */
    .hero {
        min-height: auto;
        padding: 140px 0 80px;
    }

    .hero-heading {
        font-size: 2.2rem;
    }

    .hero-sub {
        font-size: .95rem;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .hero-actions .btn {
        width: 100%;
    }

    /* Sections */
    .section {
        padding: 80px 0;
    }

    .section-heading {
        font-size: 1.5rem;
        margin-bottom: 40px;
    }

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

    .flow-sub {
        margin-bottom: 28px;
    }

    .faq-item {
        padding: 20px;
    }

    .faq-item summary {
        font-size: .92rem;
        align-items: flex-start;
    }

    .consult-box {
        padding: 28px 20px;
        text-align: left;
    }

    .consult-points {
        justify-content: flex-start;
    }

    /* Strip */
    .strip-grid {
        flex-direction: column;
        gap: 32px;
    }

    /* Monthly Plans & TCO */
    .monthly-plans-section {
        padding: 32px 20px;
    }

    .monthly-cards {
        grid-template-columns: 1fr;
    }

    .monthly-card {
        width: 100%;
        box-sizing: border-box;
    }

    .tco-table {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    /* Footer */
    .footer-inner {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

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

/* ══════════════════════════════
   Custom Cursor (PC only)
   ══════════════════════════════ */
.cursor-dot,
.cursor-outline {
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width .2s, height .2s, background .2s, border-color .2s;
}

.cursor-dot {
    width: 6px;
    height: 6px;
    background: var(--accent);
}

.cursor-outline {
    width: 32px;
    height: 32px;
    border: 1.5px solid var(--accent);
    opacity: .45;
}

/* Hover state: expand on links/buttons */
.cursor-dot.hover {
    width: 10px;
    height: 10px;
    background: var(--accent-hover);
}

.cursor-outline.hover {
    width: 48px;
    height: 48px;
    border-color: var(--accent-hover);
    opacity: .3;
}

/* Hide on touch devices */
@media (pointer: coarse) {

    .cursor-dot,
    .cursor-outline {
        display: none !important;
    }
}

/* ══════════════════════════════
   Hero Text Split — char-by-char
   ══════════════════════════════ */
.hero-title .char {
    display: inline-block;
    /* needed for transform */
}

/* ══════════════════════════════
   Design Sample Section
   ══════════════════════════════ */
.section-designs {
    background: var(--bg);
}

.design-sample-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.design-sample-card {
    position: relative;
    background: var(--surface);
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform .25s var(--ease), box-shadow .25s var(--ease);
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
}

a.design-sample-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.design-sample-card.current {
    border-color: var(--accent);
    box-shadow: 0 0 0 2px rgba(0, 113, 227, .15);
}

.design-sample-badge {
    position: absolute;
    top: .75rem;
    left: .75rem;
    font-size: .7rem;
    font-weight: 600;
    letter-spacing: .03em;
    padding: .25rem .65rem;
    border-radius: 99px;
    background: var(--accent);
    color: #fff;
    z-index: 1;
}

.design-sample-badge.alt {
    background: #111;
}

.design-sample-badge.alt-c {
    background: #2a7a4b;
}

.design-sample-preview {
    width: 100%;
    aspect-ratio: 4 / 3;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.design-sample-mock {
    width: 100%;
    max-width: 220px;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, .1);
    background: #fff;
}

.mock-header {
    height: 14px;
    display: flex;
    align-items: center;
    padding: 0 .5rem;
    gap: .2rem;
}

.mock-hero {
    height: 60px;
}

.mock-content {
    padding: .4rem;
}

.design-sample-info {
    padding: 1.25rem 1.25rem .5rem;
    flex: 1;
}

.design-sample-name {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: .4rem;
    color: var(--text);
}

.design-sample-desc {
    font-size: .85rem;
    color: var(--text-2);
    line-height: 1.65;
    margin-bottom: .75rem;
}

.design-sample-tags {
    display: flex;
    flex-wrap: wrap;
    gap: .35rem;
}

.design-sample-tags .tag {
    font-size: .7rem;
    padding: .2rem .55rem;
    border-radius: 99px;
    background: #f0f0f3;
    color: var(--text-2);
    font-weight: 500;
}

.design-sample-tags .tag.tag-b {
    background: #fff8cc;
    color: #7a5800;
}

.design-sample-tags .tag.tag-c {
    background: #e6f5ec;
    color: #1a5c38;
}

.design-sample-cta {
    padding: .85rem 1.25rem;
    font-size: .85rem;
    font-weight: 600;
    color: var(--accent);
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: .4rem;
    transition: gap .2s;
}

a.design-sample-card:hover .design-sample-cta {
    gap: .65rem;
}

@media (max-width: 900px) {
    .design-sample-grid {
        grid-template-columns: 1fr;
        max-width: 420px;
        margin: 0 auto;
    }
}/* --- News --- */
.news-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}
@media (min-width: 768px) {
    .news-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
}
.news-card {
    background: var(--bg-card);
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    height: 100%;
}
.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}
.news-card-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 1.5rem;
    text-decoration: none;
    color: inherit;
    position: relative;
    outline: none;
}
.news-eyecatch {
    margin: -1.5rem -1.5rem 1.5rem -1.5rem;
    height: 180px;
    overflow: hidden;
}
.news-eyecatch img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.news-card:hover .news-eyecatch img {
    transform: scale(1.05);
}
.news-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.75rem;
    font-size: 0.85rem;
    color: var(--text-3);
}
.news-date {
    font-feature-settings: 'tnum';
}
.news-category {
    background: var(--bg-2);
    color: var(--accent);
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    font-weight: 500;
}
.news-title {
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.5;
    margin-bottom: 1rem;
    color: var(--text-1);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.news-icon {
    margin-top: auto;
    align-self: flex-end;
    color: var(--accent);
    opacity: 0.5;
    transition: opacity 0.3s ease, transform 0.3s ease;
}
.news-card:hover .news-icon {
    opacity: 1;
    transform: translateX(4px);
}
.news-loading {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100px;
    gap: 8px;
}
.news-loading span {
    width: 8px;
    height: 8px;
    background-color: var(--accent);
    border-radius: 50%;
    animation: newsBounce 1.4s infinite ease-in-out both;
}
.news-loading span:nth-child(1) { animation-delay: -0.32s; }
.news-loading span:nth-child(2) { animation-delay: -0.16s; }
@keyframes newsBounce {
    0%, 80%, 100% { transform: scale(0); }
    40% { transform: scale(1); }
}
.news-empty, .news-error {
    text-align: center;
    padding: 3.5rem 1rem;
    color: var(--text-3);
    background: var(--bg-card);
    border-radius: 12px;
}

@media (max-width: 768px) {
    .promise-grid {
        grid-template-columns: 1fr;
    }
}
