@charset "utf-8";

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700&family=Montserrat:wght@400;600;700&display=swap');

/* Font Awesome */
@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.2/css/all.min.css");

/* inviewアニメーション */
@import url("inview.css");


/* ==============================================
   カスタムプロパティ
============================================== */
:root {
    --bg-primary:    #0d1117;
    --bg-secondary:  #161b22;
    --bg-card:       #1f2937;
    --accent:        #3b82f6;
    --accent-hover:  #2563eb;
    --accent-light:  rgba(59, 130, 246, 0.12);
    --text-primary:  #e2e8f0;
    --text-secondary:#94a3b8;
    --border:        #30363d;
    --header-height: 68px;
}


/* ==============================================
   ベースリセット
============================================== */
*, *::before, *::after { box-sizing: border-box; }

html, body {
    margin: 0;
    padding: 0;
    height: 100%;
}

body {
    font-family: 'Noto Sans JP', 'ヒラギノ角ゴ Pro W3', 'Hiragino Kaku Gothic Pro', 'メイリオ', Meiryo, sans-serif;
    font-size: 15px;
    line-height: 1.8;
    background: var(--bg-primary);
    color: var(--text-primary);
    -webkit-text-size-adjust: none;
    overflow-x: hidden;
}

figure  { margin: 0; }
img     { border: none; max-width: 100%; height: auto; vertical-align: middle; }
ul, ol  { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, h5, h6 { margin: 0; }
p       { margin: 0; }

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s, opacity 0.3s;
}
a:hover { opacity: 0.8; }


/* ==============================================
   ヘッダー
============================================== */
#site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background: rgba(13, 17, 23, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    z-index: 100;
}

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

/* ロゴ */
.header-logo {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: 0.03em;
    opacity: 1;
}
.header-logo:hover { opacity: 1; }

.logo-bracket {
    color: var(--accent);
}

/* PC用ナビ */
#menubar ul {
    display: flex;
    gap: 32px;
}

#menubar ul li a {
    font-size: 0.88rem;
    color: var(--text-secondary);
    letter-spacing: 0.05em;
    position: relative;
    padding-bottom: 4px;
    opacity: 1;
}

#menubar ul li a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s;
}

#menubar ul li a:hover {
    color: var(--text-primary);
    opacity: 1;
}
#menubar ul li a:hover::after {
    width: 100%;
}

/* ハンバーガーアイコン */
#menubar_hdr {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 26px;
    height: 20px;
    cursor: pointer;
    position: relative;
    z-index: 101;
}

#menubar_hdr span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text-primary);
    transition: transform 0.3s, opacity 0.3s;
}

/* ×になった状態 */
#menubar_hdr.ham span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}
#menubar_hdr.ham span:nth-child(2) {
    opacity: 0;
}
#menubar_hdr.ham span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

/* スマホ用メニュー非表示デフォルト */
#menubar { display: block; }
#menubar.display-none { display: none; }

/* スマホ用メニュー展開時 */
.small-screen #menubar.display-block {
    display: block;
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    background: var(--bg-secondary);
    padding-top: var(--header-height);
    z-index: 99;
    animation: fadeSlideIn 0.3s ease;
}

.small-screen #menubar.display-block ul {
    flex-direction: column;
    gap: 0;
    padding: 12px 20px;
}

.small-screen #menubar.display-block ul li {
    border-bottom: 1px solid var(--border);
}

.small-screen #menubar.display-block ul li a {
    display: block;
    padding: 18px 8px;
    font-size: 1rem;
    color: var(--text-primary);
}

.small-screen #menubar.display-block ul li a:hover {
    color: var(--accent);
    opacity: 1;
}

@keyframes fadeSlideIn {
    from { opacity: 0; transform: translateX(20px); }
    to   { opacity: 1; transform: translateX(0); }
}

/* スマホでハンバーガー表示 */
@media screen and (max-width: 768px) {
    #menubar_hdr { display: flex; }
    .large-screen #menubar { display: block; }
}


/* ==============================================
   ヒーローセクション
============================================== */
#hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: var(--bg-primary);
    padding: var(--header-height) 24px 80px;
    overflow: hidden;
}

/* 背景グロー装飾 */
#hero::before {
    content: '';
    position: absolute;
    top: -150px;
    right: -150px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.18) 0%, transparent 65%);
    pointer-events: none;
}

#hero::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: -80px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.08) 0%, transparent 65%);
    pointer-events: none;
}

.hero-content {
    max-width: 800px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero-sub {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 20px;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.4rem);
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: 0.05em;
    margin-bottom: 24px;
}

.hero-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 2.2;
    margin-bottom: 40px;
}

.hero-btns {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* スクロールインジケーター */
.hero-scroll {
    position: absolute;
    bottom: 36px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    color: var(--text-secondary);
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: var(--border);
    position: relative;
    overflow: hidden;
}

.scroll-line span {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--accent);
    animation: scrollDown 2s infinite;
}

@keyframes scrollDown {
    0%   { transform: translateY(-100%); }
    100% { transform: translateY(100%); }
}


/* ==============================================
   ボタン共通
============================================== */
.btn-primary,
.btn-secondary {
    display: inline-block;
    padding: 14px 36px;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    transition: background 0.3s, border-color 0.3s, color 0.3s, transform 0.2s, box-shadow 0.3s;
    opacity: 1;
}

.btn-primary {
    background: var(--accent);
    color: #fff;
    border: 1px solid var(--accent);
}

.btn-primary:hover {
    background: var(--accent-hover);
    border-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.35);
    opacity: 1;
    color: #fff;
}

.btn-secondary {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-2px);
    opacity: 1;
}


/* ==============================================
   セクション共通
============================================== */
.section {
    padding: 100px 24px;
}

.section-alt {
    background: var(--bg-secondary);
}

.section-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-title {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
}

.section-subtitle {
    font-size: 0.82rem;
    color: var(--accent);
    letter-spacing: 0.22em;
}


/* ==============================================
   サービス
============================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 36px 28px;
    transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s, opacity 1.5s 0.5s ease-out, bottom 1.5s 0.5s ease-out;
}

.service-card:hover {
    border-color: var(--accent);
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(59, 130, 246, 0.15);
}

.service-icon {
    width: 56px;
    height: 56px;
    background: var(--accent-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--accent);
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.service-card p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.9;
}

/* a要素として使うカードのリセット */
a.service-card {
    display: block;
    color: inherit;
    text-decoration: none;
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 20px;
    font-size: 0.82rem;
    color: var(--accent);
    font-weight: 500;
    letter-spacing: 0.03em;
}

.card-link i {
    font-size: 0.75rem;
    transition: transform 0.25s;
}

.service-card:hover .card-link i {
    transform: translateX(4px);
}


/* ==============================================
   プロフィール
============================================== */
.about-grid {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 64px;
    align-items: center;
}

@media screen and (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .about-img-wrap {
        max-width: 240px;
        margin: 0 auto;
    }
}

.about-img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: top center;
    border-radius: 16px;
    display: block;
}

.about-name {
    font-size: 1.9rem;
    font-weight: 700;
    margin-bottom: 6px;
    line-height: 1.4;
}

.about-name span {
    display: block;
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--text-secondary);
    letter-spacing: 0.12em;
    margin-top: 4px;
}

.about-role {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    color: var(--accent);
    letter-spacing: 0.18em;
    margin-bottom: 20px;
}

.about-desc {
    color: var(--text-secondary);
    line-height: 2;
    margin-bottom: 28px;
    font-size: 0.92rem;
}

.about-info {
    display: grid;
    grid-template-columns: 90px 1fr;
    margin-bottom: 32px;
}

.about-info dt,
.about-info dd {
    padding: 10px 0;
    border-top: 1px solid var(--border);
    font-size: 0.88rem;
    margin: 0;
}

.about-info dt {
    color: var(--text-secondary);
}

.about-info dd {
    color: var(--text-primary);
}

.about-info a {
    color: var(--accent);
}

.copy-email-wrap {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.copy-email-btn {
    background: none;
    border: none;
    padding: 2px 4px;
    cursor: pointer;
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1;
    border-radius: 4px;
    transition: color 0.2s;
}

.copy-email-btn:hover,
.copy-email-btn.copied {
    color: var(--accent);
}

.about-sns {
    display: flex;
    gap: 12px;
    margin-bottom: 32px;
}

.about-sns-link {
    width: 40px;
    height: 40px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 1.1rem;
    transition: border-color 0.3s, color 0.3s, background 0.3s;
}

.about-sns-link:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--accent-light);
    opacity: 1;
}

.about-btn {
    display: inline-block;
}


/* ==============================================
   制作実績
============================================== */
.works-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.work-item {
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--bg-card);
    transition: transform 0.3s, box-shadow 0.3s, opacity 1.5s 0.5s ease-out, bottom 1.5s 0.5s ease-out;
}

.work-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}

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

.work-img img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    transition: transform 0.5s;
}

.work-item:hover .work-img img {
    transform: scale(1.06);
}

.work-overlay {
    position: absolute;
    inset: 0;
    background: rgba(59, 130, 246, 0.82);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.work-item:hover .work-overlay {
    opacity: 1;
}

.work-overlay span {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    color: #fff;
    text-transform: uppercase;
}

.work-title {
    padding: 14px 18px;
    font-size: 0.88rem;
    color: var(--text-secondary);
}


/* ==============================================
   お問い合わせ
============================================== */
.contact-page {
    padding-top: 120px;
}

.contact-box {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.contact-desc {
    color: var(--text-secondary);
    line-height: 2.2;
    margin-bottom: 40px;
    font-size: 0.92rem;
}

.btn-contact {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 48px;
    background: var(--accent);
    color: #fff;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    transition: background 0.3s, transform 0.2s, box-shadow 0.3s;
    opacity: 1;
}

.btn-contact:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.4);
    opacity: 1;
    color: #fff;
}

.contact-form {
    text-align: left;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 8px;
    letter-spacing: 0.03em;
}

.form-group .required {
    color: var(--accent);
    margin-left: 2px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 6px;
    color: var(--text-primary);
    font-size: 0.95rem;
    font-family: inherit;
    transition: border-color 0.25s, box-shadow 0.25s;
    outline: none;
    box-sizing: border-box;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #4b5563;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

.form-group input.is-error,
.form-group textarea.is-error {
    border-color: #f87171;
    box-shadow: 0 0 0 3px rgba(248, 113, 113, 0.15);
}

.form-error {
    min-height: 1.2em;
    margin-top: 6px;
    font-size: 0.82rem;
    color: #f87171;
    line-height: 1.4;
}

.form-group textarea {
    resize: vertical;
    min-height: 140px;
    line-height: 1.7;
}

.contact-form .btn-contact {
    width: 100%;
    justify-content: center;
    padding: 16px;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    border-radius: 6px;
    margin-top: 8px;
}

.form-success {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 24px 28px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.35);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 0.95rem;
    line-height: 1.7;
}

.form-success i {
    font-size: 1.6rem;
    color: var(--accent);
    flex-shrink: 0;
}


/* ==============================================
   フッター
============================================== */
#site-footer {
    background: var(--bg-primary);
    border-top: 1px solid var(--border);
    padding: 56px 24px;
}

.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

.footer-logo {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 24px;
}

.footer-nav ul {
    display: flex;
    gap: 28px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 28px;
}

.footer-nav ul li a {
    font-size: 0.83rem;
    color: var(--text-secondary);
}

.footer-nav ul li a:hover {
    color: var(--accent);
    opacity: 1;
}

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


/* ==============================================
   ページトップボタン
============================================== */
.pagetop {
    position: fixed;
    bottom: 92px;  /* FAB(56px) + gap(12px) + bottom(24px) = 92px */
    right: 28px;
    width: 48px;
    height: 48px;
    background: var(--accent);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s, transform 0.3s, background 0.3s;
    z-index: 50;
    font-size: 0.85rem;
}

.pagetop.pagetop-show {
    opacity: 1;
    pointer-events: auto;
}

.pagetop:hover {
    background: var(--accent-hover);
    transform: translateY(-4px);
    opacity: 1;
}


/* ==============================================
   テキストフェードイン（main.jsと連携）
============================================== */
.fade-in-text {
    visibility: hidden;
}

.char {
    display: inline-block;
    opacity: 0;
    animation: charIn 0.3s ease both;
}

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


/* ==============================================
   サービス詳細ページ 共通
============================================== */

/* ページヘッダー */
.page-header {
    padding: 140px 24px 72px;
    text-align: center;
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border);
}

/* ページヘッダー 画像あり（2カラム） */
.page-header.has-img {
    text-align: left;
}

.page-header-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.page-header.has-img .page-header-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
}

.page-header.has-img .hero-btns {
    justify-content: flex-start;
}

.page-header-img img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
    display: block;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

@media screen and (max-width: 768px) {
    .page-header.has-img .page-header-inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .page-header-img {
        display: none;
    }
}

.page-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 20px;
}

.page-header h1 {
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 20px;
}

.page-header .page-desc {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.9;
    max-width: 640px;
    margin: 0 auto 36px;
}

.page-header .hero-btns {
    justify-content: center;
}

/* 特徴カードグリッド */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 28px 24px;
}

.feature-card .f-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(59, 130, 246, 0.12);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    margin-bottom: 16px;
}

.feature-card h3 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.feature-card p {
    font-size: 0.86rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* 料金カード */
.price-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.price-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 32px 24px;
    text-align: center;
}

.price-card.is-featured {
    border-color: var(--accent);
    box-shadow: 0 0 0 1px var(--accent);
    position: relative;
}

.price-card.is-featured::before {
    content: 'おすすめ';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 3px 12px;
    border-radius: 20px;
    white-space: nowrap;
}

.plan-name {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-bottom: 14px;
}

.plan-price {
    font-size: 1.9rem;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    color: var(--text-primary);
    line-height: 1;
    margin-bottom: 4px;
}

.plan-unit {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.price-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.price-card ul li {
    padding: 5px 0 5px 18px;
    position: relative;
    line-height: 1.5;
}

.price-card ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent);
}

/* ステップフロー */
.step-list {
    max-width: 640px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

.step-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    position: relative;
}

.step-item:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 19px;
    top: 40px;
    width: 2px;
    height: calc(100% - 8px);
    background: var(--border);
}

.step-num {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    z-index: 1;
}

.step-body {
    padding: 8px 0 40px;
}

.step-body h4 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.step-body p {
    font-size: 0.86rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* FAQ アコーディオン */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
    max-width: 760px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
}

.faq-q {
    padding: 18px 22px;
    font-size: 0.92rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    user-select: none;
    background: var(--bg-card);
    list-style: none;
}

.faq-q::after {
    content: '+';
    font-size: 1.3rem;
    color: var(--accent);
    flex-shrink: 0;
    line-height: 1;
    transition: transform 0.3s;
}

.faq-item.is-open .faq-q::after {
    transform: rotate(45deg);
}

.faq-a {
    padding: 0 22px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.9;
    background: var(--bg-secondary);
}

.faq-item.is-open .faq-a {
    padding: 16px 22px;
    max-height: 600px;
}

/* 実績数値グリッド（SNSページ用） */
.stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 16px;
}

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 24px 20px;
    text-align: center;
}

.stat-num {
    font-size: 2rem;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 8px;
}

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

/* 比較テーブル */
.cmp-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.88rem;
    overflow-x: auto;
    display: block;
}

.cmp-table th,
.cmp-table td {
    padding: 12px 16px;
    border: 1px solid var(--border);
    white-space: nowrap;
}

.cmp-table th {
    background: var(--bg-card);
    font-weight: 600;
    color: var(--text-secondary);
    font-size: 0.82rem;
}

.cmp-table td {
    color: var(--text-secondary);
}

.cmp-table .highlight-row td {
    color: var(--text-primary);
    font-weight: 500;
    background: rgba(59, 130, 246, 0.06);
}

/* サービスページCTA */
.service-cta {
    text-align: center;
    padding: 80px 24px;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
}

.service-cta h2 {
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 700;
    margin-bottom: 16px;
}

.service-cta p {
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.9;
    margin-bottom: 36px;
}

/* インラインリスト（チェックリスト）*/
.check-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.check-list li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.check-list li::before {
    content: '✓';
    color: var(--accent);
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 1px;
}

/* 2カラムレイアウト */
.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.two-col .col-label {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 12px;
    font-family: 'Montserrat', sans-serif;
}

.two-col h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.4;
}

.two-col p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.9;
    margin-bottom: 16px;
}

/* 実績レイアウト（SNSページ） */
.results-layout {
    display: grid;
    grid-template-columns: 1fr 240px;
    gap: 48px;
    align-items: start;
}

.results-data {
    min-width: 0;
}

.threads-ss-wrap {
    display: flex;
    justify-content: center;
    padding-top: 4px;
}

.threads-ss {
    width: 220px;
    /* スクショ上部（数値エリア）だけ見せるようにクリップ */
    height: 340px;
    object-fit: cover;
    object-position: top center;
    border-radius: 28px;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255,255,255,0.06);
}

@media screen and (max-width: 860px) {
    .results-layout {
        grid-template-columns: 1fr;
    }
    .threads-ss-wrap {
        padding-top: 0;
    }
    .threads-ss {
        width: 200px;
        height: 310px;
    }
}

/* ハイライトボックス */
.highlight-box {
    background: rgba(59, 130, 246, 0.08);
    border: 1px solid rgba(59, 130, 246, 0.25);
    border-radius: 10px;
    padding: 24px 28px;
    font-size: 0.92rem;
    line-height: 1.8;
    color: var(--text-primary);
}

.highlight-box strong {
    color: var(--accent);
}


/* ==============================================
   レスポンシブ補足
============================================== */
@media screen and (max-width: 600px) {
    .section { padding: 72px 16px; }
    .hero-desc br { display: none; }
    .contact-desc br { display: none; }
    .services-grid { grid-template-columns: 1fr; }
    .works-grid { grid-template-columns: 1fr; }
    .page-header { padding: 120px 20px 56px; }
    .two-col { grid-template-columns: 1fr; gap: 32px; }
    .price-grid { grid-template-columns: 1fr; }
    .stat-grid { grid-template-columns: repeat(2, 1fr); }
}

@media screen and (min-width: 900px) {
    body { font-size: 16px; }
}


/* ==============================================
   お問い合わせウィジェット
============================================== */
.c-widget {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9000;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
    /* パネルが閉じているときにメニューへのクリックをブロックしないよう無効化 */
    pointer-events: none;
}

/* FAB ボタン */
.c-widget__fab {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 1.25rem;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.45);
    transition: transform 0.25s, box-shadow 0.25s, background 0.2s;
    flex-shrink: 0;
    pointer-events: auto; /* 親のpointer-events:noneを上書きして常にクリック可能 */
}
.c-widget__fab:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 28px rgba(59, 130, 246, 0.55);
    background: var(--accent-hover);
}

/* FAB アイコン切り替え */
.c-widget__icon-open,
.c-widget__icon-close {
    position: absolute;
    z-index: 1;
    transition: opacity 0.22s, transform 0.22s;
}
.c-widget__icon-close {
    opacity: 0;
    transform: rotate(-45deg) scale(0.7);
}
.c-widget.is-open .c-widget__icon-open {
    opacity: 0;
    transform: rotate(45deg) scale(0.7);
}
.c-widget.is-open .c-widget__icon-close {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

/* FAB - 入力途中データあり（緑 + リップル） */
.c-widget__fab.has-data {
    background: #22c55e;
    box-shadow: 0 4px 20px rgba(34, 197, 94, 0.5);
}
.c-widget__fab.has-data:hover {
    background: #16a34a;
    box-shadow: 0 6px 28px rgba(34, 197, 94, 0.65);
    transform: scale(1.1);
}
/* リップル：パネルが閉じているときだけ表示 */
.c-widget__fab.has-data::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: rgba(34, 197, 94, 0.45);
    animation: cwFabPulse 2s ease-out infinite;
    z-index: 0;
}
.c-widget.is-open .c-widget__fab.has-data::after {
    animation: none;
    opacity: 0;
}
@keyframes cwFabPulse {
    0%   { transform: scale(1);   opacity: 0.7; }
    100% { transform: scale(1.75); opacity: 0; }
}

/* パネル */
.c-widget__panel {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 16px;
    width: 360px;
    display: flex;
    flex-direction: column;
    max-height: 560px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.55),
                0 0 0 1px rgba(255, 255, 255, 0.04);
    /* 非表示状態 */
    transform-origin: bottom right;
    transform: scale(0.88) translateY(12px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.28s;
}
.c-widget.is-open .c-widget__panel {
    transform: scale(1) translateY(0);
    opacity: 1;
    pointer-events: auto;
}

/* パネルヘッダー */
.c-widget__header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    background: var(--accent);
    border-radius: 16px 16px 0 0;
    flex-shrink: 0;
}
.c-widget__header > i {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.85);
}
.c-widget__header-title {
    font-size: 0.88rem;
    font-weight: 600;
    color: #fff;
    flex: 1;
    letter-spacing: 0.03em;
}
.c-widget__close-btn {
    background: rgba(255, 255, 255, 0.18);
    border: none;
    color: #fff;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 0.82rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}
.c-widget__close-btn:hover { background: rgba(255, 255, 255, 0.3); }

/* パネルボディ */
.c-widget__body {
    padding: 20px 20px 18px;
    overflow-y: auto;
    flex: 1;
}

/* プログレスバー */
.c-widget__progress {
    display: flex;
    gap: 6px;
    margin-bottom: 18px;
}
.c-widget__dot {
    height: 3px;
    border-radius: 2px;
    flex: 1;
    background: var(--border);
    transition: background 0.35s;
}
.c-widget__dot.is-active { background: var(--accent); }
.c-widget__dot.is-done   { background: var(--accent-hover); }

/* ステップ */
.c-widget__step { display: none; }
.c-widget__step.is-active {
    display: block;
    animation: cwStepIn 0.28s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes cwStepIn {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}
.c-widget__step-label {
    font-size: 0.7rem;
    color: var(--accent);
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 6px;
}
.c-widget__title {
    font-size: 0.97rem;
    font-weight: 700;
    line-height: 1.65;
    margin-bottom: 18px;
    color: var(--text-primary);
}

/* 種別選択ボタン */
.c-widget__choices {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}
.c-widget__choice {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 14px 8px;
    background: var(--bg-card);
    border: 1.5px solid var(--border);
    border-radius: 10px;
    color: var(--text-secondary);
    font-size: 0.75rem;
    font-family: inherit;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s, color 0.2s, transform 0.15s;
    text-align: center;
    line-height: 1.4;
}
.c-widget__choice i {
    font-size: 1.2rem;
    color: var(--accent);
}
.c-widget__choice:hover {
    border-color: var(--accent);
    color: var(--text-primary);
    transform: translateY(-2px);
}
.c-widget__choice.is-selected {
    border-color: var(--accent);
    background: var(--accent-light);
    color: var(--text-primary);
}
/* その他：全幅 */
.c-widget__choice:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    flex-direction: row;
    justify-content: center;
    gap: 8px;
    padding: 10px 16px;
}

/* フィールド */
.c-widget__fields {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 16px;
}
.c-widget__field input,
.c-widget__field textarea {
    width: 100%;
    padding: 11px 13px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 0.88rem;
    font-family: inherit;
    outline: none;
    transition: border-color 0.25s, box-shadow 0.25s;
    box-sizing: border-box;
}
.c-widget__field textarea {
    resize: vertical;
    min-height: 90px;
    line-height: 1.6;
}
.c-widget__field input::placeholder,
.c-widget__field textarea::placeholder { color: #4b5563; }
.c-widget__field input:focus,
.c-widget__field textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}
.c-widget__field input.is-error,
.c-widget__field textarea.is-error {
    border-color: #f87171;
    box-shadow: 0 0 0 3px rgba(248, 113, 113, 0.13);
}
.c-widget__error {
    min-height: 1em;
    margin-top: 4px;
    font-size: 0.75rem;
    color: #f87171;
    line-height: 1.4;
}

/* ナビ */
.c-widget__nav {
    display: flex;
    align-items: center;
    gap: 10px;
}
.c-widget__back {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 0.8rem;
    cursor: pointer;
    font-family: inherit;
    padding: 6px 0;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: color 0.2s;
    white-space: nowrap;
}
.c-widget__back:hover { color: var(--text-primary); }
.c-widget__next-btn,
.c-widget__submit-btn {
    flex: 1;
    padding: 11px 16px;
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 0.88rem;
    font-weight: 500;
    font-family: inherit;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}
.c-widget__next-btn:hover,
.c-widget__submit-btn:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(59, 130, 246, 0.38);
}
.c-widget__submit-btn:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}
.c-widget__submit-error {
    min-height: 1em;
    margin-top: 8px;
    font-size: 0.77rem;
    color: #f87171;
    text-align: center;
}

/* 完了 */
.c-widget__complete {
    text-align: center;
    padding: 6px 0 8px;
}
.c-widget__complete-icon {
    font-size: 2.8rem;
    color: #22c55e;
    margin-bottom: 12px;
    animation: cwCheckIn 0.45s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes cwCheckIn {
    from { opacity: 0; transform: scale(0.5); }
    to   { opacity: 1; transform: scale(1); }
}
.c-widget__complete .c-widget__title { margin-bottom: 8px; }
.c-widget__complete-text {
    color: var(--text-secondary);
    font-size: 0.83rem;
    line-height: 1.9;
    margin-bottom: 20px;
}
.c-widget__done-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 28px;
    background: var(--accent);
    color: #fff;
    color: #fff;
    border: none;
    border-radius: 7px;
    font-size: 0.88rem;
    font-weight: 500;
    font-family: inherit;
    cursor: pointer;
    transition: background 0.2s;
}
.c-widget__done-btn:hover { background: var(--accent-hover); }

/* モバイル：パネルを全幅に */
@media (max-width: 520px) {
    .c-widget {
        left: 12px;
        right: 12px;
        bottom: 16px;
    }
    .c-widget__panel { width: 100%; }
}


/* ==============================================
   ソーシャルフィード
============================================== */
.social-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}
@media (max-width: 768px) {
    .social-columns { grid-template-columns: 1fr; gap: 32px; }
}

.social-col-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
    font-weight: 600;
    font-size: 0.95rem;
}
.social-col-header i:first-child { font-size: 1.1rem; color: var(--accent); }
.social-col-link {
    margin-left: auto;
    font-size: 0.75rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 4px;
}
.social-col-link:hover { color: var(--accent); }
.social-col-link i { font-size: 0.65rem; }

.social-feed {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.social-post a {
    display: block;
    padding: 14px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    transition: border-color 0.2s;
}
.social-post a:hover { border-color: var(--accent); }
.social-post-text {
    font-size: 0.88rem;
    color: var(--text-primary);
    line-height: 1.7;
    margin: 0 0 8px;
}
.social-post-time {
    font-size: 0.72rem;
    color: var(--text-secondary);
}

.social-feed--grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    flex-direction: unset;
}
.social-post-img a {
    display: block;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 6px;
    border: 1px solid var(--border);
}
.social-post-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}
.social-post-img a:hover img { transform: scale(1.05); }

.social-empty {
    font-size: 0.85rem;
    color: var(--text-secondary);
}


/* ==============================================
   固定ヘッダー アンカーオフセット
============================================== */
[id] {
    scroll-margin-top: var(--header-height);
}


/* ==============================================
   ナビ ドロップダウン
============================================== */
.has-dropdown { position: relative; }

.nav-has-sub { display: inline-flex; align-items: center; gap: 5px; }

.nav-arrow {
    font-size: 0.6rem;
    transition: transform 0.25s;
}
.has-dropdown.open .nav-arrow { transform: rotate(180deg); }

/* PC: ドロップダウン本体 */
.nav-dropdown {
    display: block;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    position: absolute;
    top: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%) translateY(-6px);
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 8px 0;
    min-width: 200px;
    z-index: 200;
    box-shadow: 0 12px 32px rgba(0,0,0,0.4);
    transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
    flex-direction: column;
    gap: 0;
}
.has-dropdown.open .nav-dropdown {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.nav-dropdown-heading {
    padding: 10px 16px 4px;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent);
}
.nav-dropdown-heading:not(:first-child) {
    margin-top: 4px;
    border-top: 1px solid var(--border);
    padding-top: 12px;
}

.nav-dropdown li a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 16px;
    font-size: 0.83rem;
    color: var(--text-secondary);
    white-space: nowrap;
    letter-spacing: 0;
}
.nav-dropdown li a::after { display: none; }
.nav-dropdown li a:hover { color: var(--accent); background: rgba(59,130,246,0.06); }
.nav-dropdown li a i { font-size: 0.78rem; width: 14px; text-align: center; color: var(--accent); opacity: 0.7; }

/* スマホ: サブメニュー */
.small-screen .nav-dropdown {
    position: static;
    transform: none;
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    box-shadow: none;
    border: none;
    border-radius: 0;
    background: transparent;
    padding: 0 0 4px 16px;
    min-width: unset;
    display: none;
    transition: none;
}
.small-screen .has-dropdown.open .nav-dropdown { display: block; }
.small-screen .has-dropdown.open .nav-arrow { transform: rotate(180deg); }
.small-screen .nav-dropdown li a {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 8px;
    font-size: 0.9rem;
    border-bottom: 1px solid var(--border);
}
.small-screen .nav-dropdown li a i {
    margin-right: 10px;
}
.small-screen .nav-dropdown-heading {
    padding: 10px 8px 3px;
}
.small-screen .nav-dropdown-heading:not(:first-child) {
    border-top: none;
    padding-top: 10px;
}


/* ==============================================
   サービスカテゴリ
============================================== */
.service-category {
    margin-bottom: 52px;
}
.service-category:last-child { margin-bottom: 0; }

.category-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border);
    width: 100%;
}
.category-label i { font-size: 0.85rem; }


/* ==============================================
   404 エラーページ
============================================== */
.error-page {
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 20px 80px;
}
.error-page-inner {
    text-align: center;
    max-width: 600px;
    width: 100%;
}
.error-code {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(6rem, 20vw, 10rem);
    font-weight: 700;
    line-height: 1;
    background: linear-gradient(135deg, var(--accent) 0%, #60a5fa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0 0 16px;
}
.error-title {
    font-size: clamp(1.4rem, 4vw, 2rem);
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 20px;
}
.error-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.8;
    margin: 0 0 36px;
}
.error-btns {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 52px;
}
.error-services {
    border-top: 1px solid var(--border);
    padding-top: 36px;
}
.error-services-label {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin: 0 0 20px;
}
.error-services-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}
.error-services-list a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 6px;
    color: var(--text-secondary);
    font-size: 0.85rem;
    text-decoration: none;
    transition: border-color 0.2s, color 0.2s;
}
.error-services-list a:hover {
    border-color: var(--accent);
    color: var(--accent);
}

/* ============================================
   プライバシーポリシー
============================================ */
.policy-content {
    max-width: 800px;
    margin: 0 auto;
}

.policy-block {
    margin-bottom: 48px;
}

.policy-block h2 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    border-left: 3px solid var(--accent);
    padding-left: 12px;
    margin-bottom: 16px;
}

.policy-block p {
    color: var(--text-secondary);
    line-height: 1.9;
    margin-bottom: 12px;
}

.policy-block ul {
    list-style: disc;
    padding-left: 1.5em;
    color: var(--text-secondary);
    line-height: 1.9;
}

.policy-block ul li {
    margin-bottom: 4px;
}

.policy-block a:not(.btn-primary) {
    color: var(--accent);
    text-decoration: underline;
}

.policy-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.policy-table th,
.policy-table td {
    padding: 10px 14px;
    border: 1px solid var(--border);
    color: var(--text-secondary);
    line-height: 1.7;
}

.policy-table th {
    background: var(--bg-card);
    font-weight: 600;
    white-space: nowrap;
    width: 160px;
}

.policy-date {
    font-size: 0.85rem;
    color: var(--text-muted, var(--text-secondary));
    text-align: right;
}
