@charset "UTF-8";

/* ============================================================
   Medical Web Design - Stylish CSS v2.0
   ============================================================ */

/* --- リセットCSS --- */
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; padding: 0; overflow-x: hidden; }

/* --- デザイントークン（CSS変数） --- */
:root {
    /* プライマリカラー */
    --primary:        #0a6ebd;
    --primary-dark:   #084f8c;
    --primary-light:  #3a9fd4;
    --primary-pale:   #e8f4fb;

    /* アクセントカラー */
    --accent:         #00bfa5;
    --accent-dark:    #00897b;
    --accent-light:   #b2dfdb;

    /* ゴールド */
    --gold:           #c9a227;
    --gold-light:     #f5e6b2;
    --gold-bg:        #fffdf4;

    /* テキスト */
    --text-primary:   #1a1a2e;
    --text-secondary: #4a5568;
    --text-muted:     #718096;

    /* 背景 */
    --bg-white:       #ffffff;
    --bg-light:       #f7fafd;
    --bg-section:     #f0f7ff;

    /* ボーダー */
    --border:         #e2e8f0;
    --border-light:   #edf2f7;

    /* グラデーション */
    --grad-primary:   linear-gradient(135deg, #0a6ebd 0%, #0d9488 100%);
    --grad-hero:      linear-gradient(135deg, #0a4d8c 0%, #0a6ebd 50%, #0d9488 100%);
    --grad-gold:      linear-gradient(135deg, #c9a227 0%, #e8c84a 100%);

    /* シャドウ */
    --shadow-sm:      0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.06);
    --shadow-md:      0 4px 16px rgba(0,0,0,0.08), 0 2px 6px rgba(0,0,0,0.05);
    --shadow-lg:      0 10px 40px rgba(0,0,0,0.1), 0 4px 12px rgba(0,0,0,0.06);
    --shadow-xl:      0 20px 60px rgba(0,0,0,0.12), 0 8px 20px rgba(0,0,0,0.08);
    --shadow-primary: 0 8px 24px rgba(10, 110, 189, 0.3);

    /* 角丸 */
    --radius-sm:      6px;
    --radius-md:      12px;
    --radius-lg:      20px;
    --radius-xl:      32px;
    --radius-full:    9999px;

    /* トランジション */
    --transition:     all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================================
   ベーススタイル
   ============================================================ */
html { scroll-behavior: smooth; }

body {
    font-family: 'Noto Sans JP', 'Inter', sans-serif;
    color: var(--text-primary);
    line-height: 1.7;
    background-color: var(--bg-white);
    width: 100%;
    -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; padding: 0; margin: 0; }
img { max-width: 100%; height: auto; display: block; }
p { overflow-wrap: break-word; }

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

/* ============================================================
   アニメーション
   ============================================================ */
.fade-in {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.fade-in.is-visible {
    opacity: 1;
    transform: translateY(0);
}
.fade-in:nth-child(2) { transition-delay: 0.1s; }
.fade-in:nth-child(3) { transition-delay: 0.2s; }
.fade-in:nth-child(4) { transition-delay: 0.3s; }

/* ============================================================
   ヘッダー
   ============================================================ */
header {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255,255,255,0.8);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(10, 110, 189, 0.08);
    transition: var(--transition);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 72px;
    padding: 12px 24px;
}

.logo {
    font-size: 20px;
    font-weight: 700;
    background: var(--grad-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
    white-space: nowrap;
}

.nav-menu {
    display: flex;
    gap: 4px;
    align-items: center;
}

.nav-menu a {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    white-space: nowrap;
    min-height: 44px;
    min-width: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.nav-menu a:hover {
    color: var(--primary);
    background: var(--primary-pale);
}

.btn-contact-head {
    background: var(--grad-primary) !important;
    color: white !important;
    padding: 10px 20px !important;
    border-radius: var(--radius-full) !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    box-shadow: var(--shadow-primary);
    transition: var(--transition) !important;
    -webkit-text-fill-color: white !important;
    min-height: 44px;
    min-width: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-contact-head:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(10, 110, 189, 0.4) !important;
}

/* ============================================================
   共通ボタン
   ============================================================ */
.btn-outline {
    border: 2px solid var(--primary);
    color: var(--primary) !important;
    background: transparent;
    border-radius: var(--radius-full);
    font-weight: 700;
    transition: var(--transition);
    min-height: 44px;
    min-width: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-outline:hover {
    background: var(--grad-primary);
    color: #fff !important;
    border-color: transparent;
    box-shadow: var(--shadow-primary);
    transform: translateY(-2px);
}

.required {
    background: linear-gradient(135deg, #e53935, #c62828);
    color: #fff;
    font-size: 11px;
    padding: 2px 8px;
    border-radius: var(--radius-full);
    margin-left: 8px;
    vertical-align: middle;
    font-weight: 600;
}

/* ============================================================
   セクション共通タイトル
   ============================================================ */
.section-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 56px;
    color: var(--text-primary);
    line-height: 1.3;
    letter-spacing: -0.02em;
}

.section-title span {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--primary);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 8px;
    font-family: 'Inter', 'Noto Sans JP', sans-serif;
}

.section-title::after {
    content: '';
    display: block;
    width: 48px;
    height: 3px;
    background: var(--grad-primary);
    border-radius: var(--radius-full);
    margin: 16px auto 0;
}

/* ============================================================
   ヒーローセクション
   ============================================================ */
.hero {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--grad-hero);
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('https://images.unsplash.com/photo-1519494026892-80bbd2d6fd0d?ixlib=rb-1.2.1&auto=format&fit=crop&w=1353&q=80') center/cover no-repeat;
    opacity: 0.15;
    z-index: 0;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 70% 50%, rgba(13, 148, 136, 0.3) 0%, transparent 60%),
        radial-gradient(ellipse at 20% 80%, rgba(10, 110, 189, 0.4) 0%, transparent 50%);
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
    padding: 80px 24px;
    width: 100%;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.25);
    color: rgba(255,255,255,0.95);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.1em;
    padding: 6px 16px;
    border-radius: var(--radius-full);
    margin-bottom: 24px;
}

.hero-eyebrow::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
    display: inline-block;
}

.hero h1 {
    font-size: clamp(1.8rem, 4vw, 3.2rem);
    font-weight: 900;
    color: #fff;
    line-height: 1.25;
    margin-bottom: 24px;
    letter-spacing: -0.03em;
    text-shadow: 0 2px 20px rgba(0,0,0,0.2);
}

.hero h1 em {
    font-style: normal;
    background: linear-gradient(135deg, #7dd3fc, #a7f3d0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.88);
    margin-bottom: 40px;
    max-width: 560px;
    line-height: 1.8;
    font-weight: 400;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    align-items: center;
}

.hero-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    color: var(--primary) !important;
    font-size: 1rem;
    font-weight: 700;
    padding: 16px 36px;
    border-radius: var(--radius-full);
    box-shadow: 0 8px 32px rgba(0,0,0,0.2);
    transition: var(--transition);
    -webkit-text-fill-color: var(--primary) !important;
}

.hero-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 48px rgba(0,0,0,0.25);
    background: var(--primary-pale);
}

.hero-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.4);
    color: #fff !important;
    font-size: 1rem;
    font-weight: 600;
    padding: 16px 36px;
    border-radius: var(--radius-full);
    transition: var(--transition);
    -webkit-text-fill-color: #fff !important;
}

.hero-btn-secondary:hover {
    background: rgba(255,255,255,0.25);
    transform: translateY(-3px);
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 56px;
    padding-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.2);
    flex-wrap: wrap;
}

.hero-stat-number {
    font-size: 2.2rem;
    font-weight: 900;
    color: #fff;
    line-height: 1;
    letter-spacing: -0.04em;
}

.hero-stat-number span {
    font-size: 1rem;
    font-weight: 600;
    opacity: 0.8;
}

.hero-stat-label {
    font-size: 12px;
    color: rgba(255,255,255,0.7);
    margin-top: 4px;
    font-weight: 500;
}

/* ============================================================
   お悩みセクション
   ============================================================ */
.trouble-section {
    padding: 96px 0;
    background: var(--bg-white);
    position: relative;
}

.trouble-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--grad-primary);
}

.trouble-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 48px;
}

.trouble-item {
    background: var(--bg-light);
    border: 1px solid var(--border-light);
    border-left: 4px solid var(--accent);
    padding: 24px 28px;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    transition: var(--transition);
}

.trouble-item:hover {
    border-left-color: var(--primary);
    box-shadow: var(--shadow-md);
    transform: translateX(4px);
}

.trouble-text {
    font-size: 15px;
    font-weight: 600;
    margin: 0;
    color: var(--text-primary);
}

.trouble-text::before {
    content: "✓ ";
    color: var(--accent);
    font-weight: 700;
    font-size: 16px;
}

.trouble-solution {
    text-align: center;
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-top: 0;
    padding: 32px 40px;
    background: var(--bg-section);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
}

.trouble-solution strong {
    font-size: 1.35rem;
    font-weight: 900;
    background: var(--grad-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============================================================
   特徴セクション（選ばれる理由）
   ============================================================ */
.features {
    padding: 96px 0;
    background: var(--bg-section);
}

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

.feature-item {
    background: var(--bg-white);
    padding: 40px 32px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid var(--border-light);
    position: relative;
    overflow: hidden;
}

.feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--grad-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.feature-item:hover::before {
    transform: scaleX(1);
}

.feature-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.feature-icon-wrap {
    width: 72px;
    height: 72px;
    background: var(--primary-pale);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: var(--transition);
}

.feature-item:hover .feature-icon-wrap {
    background: var(--grad-primary);
}

.feature-icon {
    font-size: 32px;
    display: block;
}

.feature-item h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.feature-item p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin: 0;
}

/* ============================================================
   制作実績セクション
   ============================================================ */
.works-section {
    padding: 96px 0;
    background: var(--bg-white);
}

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

.work-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid var(--border-light);
    display: block;
    text-decoration: none;
    color: inherit;
}

.work-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.work-img {
    position: relative;
    overflow: hidden;
}

.work-img::after {
    content: 'デモを見る →';
    position: absolute;
    inset: 0;
    background: rgba(10, 110, 189, 0.85);
    color: white;
    font-weight: 700;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.work-card:hover .work-img::after {
    opacity: 1;
}

.work-img img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: var(--transition-slow);
}

.work-card:hover .work-img img {
    transform: scale(1.08);
}

.work-info {
    padding: 24px;
}

.work-info h3 {
    margin: 0 0 8px 0;
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
}

.work-cat {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.work-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    background: var(--primary-pale);
    color: var(--primary);
    padding: 4px 12px;
    border-radius: var(--radius-full);
    margin-bottom: 12px;
}

.work-desc {
    font-size: 13px;
    margin: 0;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ============================================================
   補助金セクション
   ============================================================ */
.subsidy-section {
    padding: 96px 0;
    background: var(--gold-bg);
}

.subsidy-box {
    background: var(--bg-white);
    border: 2px solid var(--gold);
    border-radius: var(--radius-xl);
    padding: 56px 48px;
    position: relative;
    box-shadow: 0 8px 40px rgba(201,162,39,0.15);
    text-align: center;
    overflow: hidden;
}

.subsidy-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: var(--grad-gold);
}

.subsidy-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--grad-gold);
    color: white;
    padding: 8px 24px;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.05em;
    margin-bottom: 24px;
    box-shadow: 0 4px 16px rgba(201,162,39,0.3);
}

.subsidy-badge::before {
    content: '★';
    font-size: 12px;
}

.subsidy-title {
    color: var(--text-primary);
    font-size: 1.7rem;
    font-weight: 900;
    margin: 0 0 20px;
    letter-spacing: -0.02em;
    line-height: 1.3;
}

.subsidy-desc {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
    line-height: 1.9;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.subsidy-merit {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--gold-light);
    padding: 14px 28px;
    border-radius: var(--radius-md);
    font-weight: 700;
    color: #8b6914;
    font-size: 15px;
    border: 1px solid rgba(201,162,39,0.3);
}

.subsidy-merit::before {
    content: '✓';
    color: var(--gold);
    font-size: 18px;
}

/* ============================================================
   料金プランセクション
   ============================================================ */
.plans {
    padding: 96px 0;
    background: var(--bg-section);
}

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

.plan-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid var(--border-light);
    position: relative;
}

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

.plan-card.featured {
    border-color: var(--primary);
    box-shadow: var(--shadow-primary);
    transform: scale(1.02);
}

.plan-card.featured:hover {
    transform: scale(1.02) translateY(-6px);
}

.plan-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--grad-primary);
    color: white;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    letter-spacing: 0.05em;
    z-index: 1;
}

.plan-img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    display: block;
}

.plan-body {
    padding: 28px;
}

.plan-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 4px;
}

.price {
    font-size: 2rem;
    font-weight: 900;
    color: var(--primary);
    margin: 12px 0;
    letter-spacing: -0.04em;
    line-height: 1;
}

.price span {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 400;
    letter-spacing: 0;
}

.plan-desc {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-light);
}

.plan-details {
    margin: 0;
}

.plan-details li {
    padding: 8px 0 8px 24px;
    position: relative;
    font-size: 13px;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-light);
}

.plan-details li:last-child {
    border-bottom: none;
}

.plan-details li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 700;
    font-size: 14px;
}

/* ============================================================
   月額保守プラン
   ============================================================ */
.maintenance-wrapper {
    max-width: 840px;
    margin: 56px auto 0;
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-light);
}

.maintenance-header {
    background: var(--grad-primary);
    color: white;
    padding: 20px 32px;
    font-weight: 700;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.maintenance-header::before {
    content: '🛡';
    font-size: 20px;
}

.maintenance-body {
    padding: 40px;
}

.maintenance-body > p:first-child {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 24px;
    font-size: 15px;
    line-height: 1.8;
}

.maintenance-price {
    font-size: 2.4rem;
    font-weight: 900;
    color: var(--primary);
    text-align: center;
    margin-bottom: 32px;
    letter-spacing: -0.04em;
}

.maintenance-price span {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 400;
    letter-spacing: 0;
}

.maintenance-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 20px;
    text-align: left;
}

.maintenance-details li {
    padding: 12px 16px 12px 36px;
    background: var(--bg-light);
    border-radius: var(--radius-sm);
    position: relative;
    font-size: 14px;
    color: var(--text-secondary);
    width: auto;
    min-width: unset;
    border-bottom: none;
}

.maintenance-details li::before {
    content: "✔";
    color: var(--accent);
    position: absolute;
    left: 12px;
    font-weight: 700;
}

/* ============================================================
   制作の流れセクション
   ============================================================ */
.flow-section {
    padding: 96px 0;
    background: var(--bg-white);
}

.flow-steps {
    max-width: 760px;
    margin: 0 auto;
    position: relative;
}

.flow-steps::before {
    content: '';
    position: absolute;
    left: 40px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary), var(--accent));
    opacity: 0.2;
}

.step {
    display: flex;
    gap: 24px;
    margin-bottom: 24px;
    position: relative;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    overflow: visible;
}

.step-number {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    background: var(--grad-primary);
    color: #fff;
    font-weight: 700;
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    letter-spacing: 0.05em;
    box-shadow: var(--shadow-primary);
    position: relative;
    z-index: 1;
    padding: 0;
    text-align: center;
}

.step-number strong {
    font-size: 20px;
    letter-spacing: -0.02em;
    line-height: 1;
    display: block;
}

.step-content {
    flex: 1;
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 24px 28px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    margin-top: 8px;
}

.step-content:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--primary-pale);
}

.step-content h4 {
    margin: 0 0 8px 0;
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary);
}

.step-content p {
    margin: 0;
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* ============================================================
   FAQセクション
   ============================================================ */
.faq-section {
    padding: 96px 0;
    background: var(--bg-section);
}

.faq-list {
    max-width: 760px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    transition: var(--transition);
    margin-bottom: 0;
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 0;
}

.faq-item:hover {
    box-shadow: var(--shadow-md);
}

.faq-q {
    font-weight: 700;
    font-size: 15px;
    color: var(--text-primary);
    padding: 20px 24px 20px 60px;
    position: relative;
    margin-bottom: 0;
}

.faq-q::before {
    content: "Q";
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    background: var(--grad-primary);
    color: white;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 900;
}

.faq-a {
    font-size: 14px;
    padding: 0 24px 20px 60px;
    color: var(--text-secondary);
    line-height: 1.8;
    position: relative;
}

.faq-a::before {
    content: "A";
    position: absolute;
    left: 20px;
    top: 0;
    width: 28px;
    height: 28px;
    background: var(--accent-light);
    color: var(--accent-dark);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 900;
}

/* ============================================================
   お問い合わせセクション
   ============================================================ */
.contact-section {
    padding: 96px 0;
    background: var(--bg-white);
}

.contact-box {
    max-width: 640px;
    margin: 0 auto;
    width: 100%;
}

.contact-form-wrap {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    padding: 48px;
    box-shadow: var(--shadow-lg);
}

label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

input[type="text"],
input[type="email"],
textarea,
select {
    width: 100%;
    padding: 14px 16px;
    margin-bottom: 24px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-md);
    font-size: 15px;
    font-family: 'Noto Sans JP', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-primary);
    transition: var(--transition);
    outline: none;
}

input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus,
select:focus {
    border-color: var(--primary);
    background: var(--bg-white);
    box-shadow: 0 0 0 3px rgba(10, 110, 189, 0.1);
}

textarea {
    height: 160px;
    resize: vertical;
}

button[type="submit"] {
    background: var(--grad-primary);
    color: white;
    border: none;
    padding: 18px 48px;
    font-size: 1rem;
    font-weight: 700;
    border-radius: var(--radius-full);
    cursor: pointer;
    display: block;
    margin: 0 auto;
    font-family: 'Noto Sans JP', sans-serif;
    box-shadow: var(--shadow-primary);
    transition: var(--transition);
    letter-spacing: 0.05em;
}

button[type="submit"]:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 48px rgba(10, 110, 189, 0.4);
}

.contact-tel {
    margin-top: 40px;
    padding: 36px;
    background: var(--bg-section);
    border-radius: var(--radius-lg);
    text-align: center;
    border: 1px solid var(--border-light);
}

.contact-tel p {
    margin: 0 0 8px 0;
    font-weight: 600;
    color: var(--text-muted);
    font-size: 14px;
}

.tel-number {
    display: block;
    font-size: 2.4rem;
    font-weight: 900;
    color: var(--primary);
    margin-bottom: 8px;
    letter-spacing: -0.04em;
    transition: var(--transition);
}

.tel-number:hover {
    color: var(--primary-dark);
}

.tel-time {
    font-size: 13px !important;
    font-weight: 400 !important;
    color: var(--text-muted) !important;
}

.success-message {
    background: linear-gradient(135deg, #e8f5e9, #f1f8e9);
    color: #2e7d32;
    padding: 24px;
    margin-bottom: 32px;
    font-weight: 600;
    text-align: center;
    border-radius: var(--radius-md);
    border: 1px solid #a5d6a7;
}

/* ============================================================
   フッター
   ============================================================ */
footer {
    background: var(--text-primary);
    color: rgba(255,255,255,0.7);
    padding: 48px 0 32px;
    font-size: 14px;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.footer-brand .footer-logo {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
    display: block;
}

.footer-brand p {
    font-size: 13px;
    color: rgba(255,255,255,0.5);
    line-height: 1.7;
    margin: 0;
}

.footer-links {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 0;
}

.footer-links a {
    color: rgba(255,255,255,0.6);
    font-size: 13px;
    transition: var(--transition);
    padding: 4px 0;
    margin: 0;
    min-height: 44px;
    min-width: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.footer-links a:hover {
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 24px;
    text-align: center;
    color: rgba(255,255,255,0.4);
    font-size: 12px;
}

/* ============================================================
   内部ページ共通（page-header, company-table, btn-back）
   ============================================================ */
.page-header {
    background: var(--grad-hero);
    padding: 80px 0;
    text-align: center;
    margin-bottom: 64px;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('https://images.unsplash.com/photo-1519494026892-80bbd2d6fd0d?ixlib=rb-1.2.1&auto=format&fit=crop&w=1353&q=80') center/cover no-repeat;
    opacity: 0.08;
}

.page-header .container {
    position: relative;
    z-index: 1;
}

.page-header h1 {
    color: #fff;
    font-size: 2.2rem;
    font-weight: 900;
    margin: 0;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 20px rgba(0,0,0,0.2);
}

.page-header p {
    color: rgba(255,255,255,0.8);
    margin: 12px 0 0;
    font-size: 15px;
}

.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0 0 32px;
    color: var(--primary);
    font-weight: 600;
    font-size: 14px;
    padding: 8px 16px;
    background: var(--primary-pale);
    border-radius: var(--radius-full);
    transition: var(--transition);
}

.btn-back:hover {
    background: var(--primary);
    color: #fff;
    transform: translateX(-4px);
}

.btn-back::before {
    content: "←";
    font-size: 16px;
}

.company-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 64px;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.company-table th,
.company-table td {
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-light);
    text-align: left;
    font-size: 15px;
}

.company-table th {
    width: 28%;
    background: var(--bg-section);
    font-weight: 700;
    color: var(--primary);
    font-size: 14px;
}

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

/* ============================================================
   実績一覧ページ（works.html）
   ============================================================ */
.works-page-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-bottom: 64px;
}

/* ============================================================
   レスポンシブ対応
   ============================================================ */
@media (max-width: 1024px) {
    .feature-grid,
    .works-grid,
    .plan-grid,
    .works-page-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .header-inner {
        flex-direction: column;
        padding: 12px 16px;
        gap: 12px;
    }
    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
        gap: 4px;
        margin-top: 0;
    }
    .nav-menu a {
        font-size: 13px;
        padding: 6px 10px;
    }

    .hero { min-height: auto; }
    .hero .container { padding: 64px 20px; }
    .hero h1 { font-size: 1.8rem; }
    .hero p { font-size: 15px; }
    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    .hero-btn-primary,
    .hero-btn-secondary {
        width: 100%;
        justify-content: center;
    }
    .hero-stats { gap: 24px; }

    .trouble-grid { grid-template-columns: 1fr; }
    .trouble-item { width: 100%; }

    .feature-grid,
    .works-grid,
    .plan-grid,
    .works-page-grid {
        grid-template-columns: 1fr;
    }

    .plan-card.featured { transform: none; }
    .plan-card.featured:hover { transform: translateY(-6px); }

    .flow-steps::before { display: none; }
    .step {
        flex-direction: column;
        background: transparent;
        box-shadow: none;
        overflow: visible;
    }
    .step-number {
        width: 100%;
        height: 56px;
        flex-direction: row;
        gap: 8px;
        border-radius: var(--radius-md);
    }
    .step-number strong { font-size: 18px; }
    .step-content { margin-top: 0; padding: 20px; }

    .maintenance-details { grid-template-columns: 1fr; }
    .maintenance-body { padding: 24px; }
    .maintenance-details li { width: 100%; min-width: unset; }

    .contact-form-wrap { padding: 28px 20px; }

    .footer-inner { flex-direction: column; gap: 24px; }
    .footer-links { gap: 12px; }

    .company-table th,
    .company-table td { display: block; width: 100%; }
    .company-table th {
        background: transparent;
        padding-bottom: 4px;
        border-bottom: none;
    }
    .company-table td { padding-top: 4px; }

    .page-header { padding: 56px 0; }
    .page-header h1 { font-size: 1.6rem; }

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

    .subsidy-box { padding: 40px 24px; }
    .subsidy-title { font-size: 1.4rem; }
}

/* ============================================================
   スクロールバーカスタマイズ
   ============================================================ */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-light); }
::-webkit-scrollbar-thumb {
    background: var(--primary-light);
    border-radius: var(--radius-full);
}

/* ============================================================
   選択テキストカラー
   ============================================================ */
::selection {
    background: rgba(10, 110, 189, 0.15);
    color: var(--primary-dark);
}
