/* ==========================================================================
   Creative Agency Theme - Main Stylesheet
   ========================================================================== */

/* --------------------------------------------------------------------------
 * 1. CSS 変数（カラーシステム・タイポグラフィ）
 * -------------------------------------------------------------------------- */
:root {
    /* カラー */
    --color-primary: #111111;
    /* 真っ黒（メイン） */
    --color-secondary: #000000;
    /* ピュアブラック（CTA） */
    --color-accent: #555555;
    /* ダークグレー（アクセント） */
    --color-bg: #ffffff;
    /* 背景色 */
    --color-bg-dark: #0a0a0a;
    /* ダーク背景 */
    --color-text: #1a1a1a;
    /* 基本テキスト */
    --color-text-muted: #666666;
    /* サブテキスト */
    --color-white: #ffffff;
    --color-border: rgba(255, 255, 255, 0.12);

    /* タイポグラフィ */
    --font-sans: "Noto Sans JP", sans-serif;
    --font-en: "Outfit", sans-serif;

    /* シャドウ */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.10);
    --shadow-lg: 0 20px 48px rgba(0, 0, 0, 0.14);

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

    /* レイアウト */
    --container-width: 1200px;
    --header-height: 72px;
}

/* --------------------------------------------------------------------------
 * 2. ベーススタイル
 * -------------------------------------------------------------------------- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    font-family: var(--font-sans);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition);
}

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

ul,
ol {
    list-style: none;
}

/* --------------------------------------------------------------------------
 * 3. コンテナ
 * -------------------------------------------------------------------------- */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* --------------------------------------------------------------------------
 * 4. ヘッダー
 * -------------------------------------------------------------------------- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    z-index: 1000;
    background: rgba(13, 17, 23, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--color-border);
    transition: background var(--transition), box-shadow var(--transition);
}

.site-header.scrolled {
    background: rgba(13, 17, 23, 0.97);
    box-shadow: var(--shadow-md);
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
    gap: 32px;
}

/* ロゴ */
.header__logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-text {
    font-family: var(--font-en);
    font-size: 1.25rem;
    font-weight: 900;
    color: var(--color-white);
    letter-spacing: 0.05em;
    background: linear-gradient(135deg, var(--color-white) 0%, var(--color-accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* --------------------------------------------------------------------------
 * 5. グローバルナビゲーション
 * -------------------------------------------------------------------------- */
.global-nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.global-nav__list {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
}

.global-nav__list li a {
    display: block;
    padding: 8px 14px;
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    border-radius: 6px;
    letter-spacing: 0.03em;
    transition: color var(--transition), background var(--transition);
    white-space: nowrap;
}

.global-nav__list li a:hover,
.global-nav__list li.current-menu-item>a {
    color: var(--color-white);
    background: rgba(255, 255, 255, 0.08);
}

/* --------------------------------------------------------------------------
 * 6. お問い合わせボタン (CTA)
 * -------------------------------------------------------------------------- */
.header__cta {
    flex-shrink: 0;
}

.btn-contact {
    display: inline-flex;
    align-items: center;
    padding: 10px 22px;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--color-white);
    background: linear-gradient(135deg, var(--color-secondary) 0%, #e84d0e 100%);
    border-radius: 50px;
    letter-spacing: 0.04em;
    white-space: nowrap;
    box-shadow: 0 4px 16px rgba(255, 107, 53, 0.40);
    transition: transform var(--transition), box-shadow var(--transition);
}

.btn-contact:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 107, 53, 0.55);
    color: var(--color-white);
}

/* --------------------------------------------------------------------------
 * 7. ハンバーガーメニュー（モバイル用）
 * -------------------------------------------------------------------------- */
.hamburger-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 4px;
    border-radius: 6px;
    transition: background var(--transition);
    flex-shrink: 0;
}

.hamburger-btn:hover {
    background: rgba(255, 255, 255, 0.08);
}

.hamburger-btn__line {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--color-white);
    border-radius: 2px;
    transition: transform var(--transition), opacity var(--transition);
    transform-origin: center;
}

/* ハンバーガーアクティブ時（×アイコンに変化） */
.hamburger-btn.is-active .hamburger-btn__line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger-btn.is-active .hamburger-btn__line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.hamburger-btn.is-active .hamburger-btn__line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* --------------------------------------------------------------------------
 * 8. モバイルメニュー
 * -------------------------------------------------------------------------- */
.mobile-menu {
    position: fixed;
    top: var(--header-height);
    right: 0;
    width: 280px;
    height: calc(100vh - var(--header-height));
    background: var(--color-bg-dark);
    border-left: 1px solid var(--color-border);
    z-index: 999;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform var(--transition);
    padding: 24px 0;
}

.mobile-menu.is-open {
    transform: translateX(0);
}

.mobile-nav__list {
    list-style: none;
    display: flex;
    flex-direction: column;
}

.mobile-nav__list li a {
    display: block;
    padding: 14px 28px;
    font-size: 1rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    border-bottom: 1px solid var(--color-border);
    transition: color var(--transition), background var(--transition);
}

.mobile-nav__list li a:hover {
    color: var(--color-white);
    background: rgba(255, 255, 255, 0.06);
}

.mobile-nav__list li a.btn-contact {
    margin: 20px 28px 0;
    border-radius: 50px;
    border-bottom: none;
    text-align: center;
}

/* オーバーレイ */
.mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 998;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition);
}

.mobile-overlay.is-visible {
    opacity: 1;
    pointer-events: auto;
}

/* --------------------------------------------------------------------------
 * 9. メインコンテンツ余白（ヘッダー固定分）
 * -------------------------------------------------------------------------- */
.site {
    padding-top: var(--header-height);
}

.site-main {
    min-height: calc(100vh - var(--header-height));
    padding: 64px 0;
}

/* --------------------------------------------------------------------------
 * 10. フッター
 * -------------------------------------------------------------------------- */
.site-footer {
    background: var(--color-bg-dark);
    color: rgba(255, 255, 255, 0.7);
}

.footer__inner {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 48px;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 56px 24px 48px;
}

.footer__logo {
    font-family: var(--font-en);
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--color-white);
    letter-spacing: 0.05em;
    display: block;
    margin-bottom: 12px;
}

.footer__tagline {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.6;
}

/* フッターナビ */
.footer-nav__list {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 0;
    list-style: none;
    flex-direction: column;
}

.footer-nav__list li a {
    display: block;
    padding: 6px 16px 6px 0;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.65);
    transition: color var(--transition);
}

.footer-nav__list li a:hover {
    color: var(--color-white);
}

/* コピーライト */
.footer__copyright {
    border-top: 1px solid var(--color-border);
}

.footer__copyright-inner {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 18px 24px;
    text-align: center;
}

.footer__copyright small {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.35);
}

/* --------------------------------------------------------------------------
 * 12. トップページ — Section 共通
 * -------------------------------------------------------------------------- */
.section {
    padding: 96px 0;
}

.section--light {
    background: var(--color-bg);
}

.section--dark {
    background: var(--color-bg-dark);
}

.section--bg {
    background: #f0f2f8;
}

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

.section-header--light .section-title,
.section-header--light .section-desc {
    color: var(--color-white);
}

.section-label {
    display: inline-block;
    font-family: var(--font-en);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    color: var(--color-secondary);
    background: rgba(255, 107, 53, 0.1);
    border: 1px solid rgba(255, 107, 53, 0.3);
    border-radius: 50px;
    padding: 4px 14px;
    margin-bottom: 16px;
}

.section-label--accent {
    color: var(--color-accent);
    background: rgba(0, 201, 255, 0.1);
    border-color: rgba(0, 201, 255, 0.3);
}

.section-title {
    font-family: var(--font-en);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 900;
    color: var(--color-text);
    line-height: 1.2;
    margin-bottom: 16px;
}

.section-desc {
    font-size: 1rem;
    color: var(--color-text-muted);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
}

.section-footer {
    margin-top: 48px;
    text-align: center;
}

.no-posts {
    text-align: center;
    color: var(--color-text-muted);
    padding: 40px 0;
}

/* --------------------------------------------------------------------------
 * 13. Hero セクション（動画背景）
 * -------------------------------------------------------------------------- */
.hero {
    position: relative;
    width: 100%;
    height: 100svh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: calc(var(--header-height) * -1);
}

.hero__video-wrap {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero__video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(13, 17, 23, 0.78) 0%, rgba(13, 17, 23, 0.45) 100%);
}

.hero__content {
    position: relative;
    z-index: 1;
    padding-top: var(--header-height);
    color: var(--color-white);
}

.hero__label {
    font-family: var(--font-en);
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    color: var(--color-accent);
    margin-bottom: 20px;
    text-transform: uppercase;
}

.hero__title {
    font-family: var(--font-en);
    font-size: clamp(2.25rem, 6vw, 4rem);
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 24px;
    letter-spacing: -0.01em;
}

.hero__title em {
    font-style: normal;
    background: linear-gradient(135deg, var(--color-secondary) 0%, #ffaa00 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero__sub {
    font-size: 1.0625rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 2;
    margin-bottom: 40px;
}

.hero__actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero__scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.hero__scroll-line {
    display: block;
    width: 1px;
    height: 48px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.6), transparent);
    animation: scrollLine 1.6s ease-in-out infinite;
}

@keyframes scrollLine {
    0% {
        transform: scaleY(0);
        transform-origin: top;
    }

    50% {
        transform: scaleY(1);
        transform-origin: top;
    }

    51% {
        transform: scaleY(1);
        transform-origin: bottom;
    }

    100% {
        transform: scaleY(0);
        transform-origin: bottom;
    }
}

.hero__scroll-text {
    font-family: var(--font-en);
    font-size: 0.625rem;
    letter-spacing: 0.2em;
    color: rgba(255, 255, 255, 0.5);
}

/* --------------------------------------------------------------------------
 * 14. ボタンシステム
 * -------------------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-size: 0.9375rem;
    font-weight: 700;
    border-radius: 50px;
    letter-spacing: 0.04em;
    text-decoration: none;
    transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
    white-space: nowrap;
    cursor: pointer;
    border: 2px solid transparent;
}

.btn--primary {
    color: var(--color-white);
    background: linear-gradient(135deg, var(--color-secondary) 0%, #e84d0e 100%);
    box-shadow: 0 4px 20px rgba(255, 107, 53, 0.4);
}

.btn--primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(255, 107, 53, 0.55);
    color: var(--color-white);
}

.btn--outline {
    color: var(--color-white);
    border-color: rgba(255, 255, 255, 0.5);
    background: transparent;
}

.btn--outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--color-white);
    color: var(--color-white);
    transform: translateY(-3px);
}

.btn--outline-dark {
    color: var(--color-text);
    border-color: rgba(0, 0, 0, 0.25);
    background: transparent;
}

.btn--outline-dark:hover {
    background: var(--color-text);
    color: var(--color-white);
    transform: translateY(-2px);
}

.btn--tel {
    color: var(--color-white);
    font-family: var(--font-en);
    font-weight: 700;
    font-size: 1.125rem;
    background: transparent;
    border-color: rgba(255, 255, 255, 0.4);
    padding: 13px 28px;
}

.btn--tel:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--color-white);
    color: var(--color-white);
}

.btn--lg {
    padding: 18px 40px;
    font-size: 1rem;
}

.btn--full {
    width: 100%;
}

/* --------------------------------------------------------------------------
 * 15. カードグリッド
 * -------------------------------------------------------------------------- */
.card-grid {
    display: grid;
    gap: 28px;
}

.card-grid--3 {
    grid-template-columns: repeat(3, 1fr);
}

.card-grid--4 {
    grid-template-columns: repeat(4, 1fr);
}

/* サービスカード */
.service-card {
    background: var(--color-white);
    border-radius: 16px;
    padding: 36px 28px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: transform var(--transition), box-shadow var(--transition);
}

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

.service-card__icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    display: block;
}

.service-card__title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 12px;
}

.service-card__text {
    font-size: 0.9375rem;
    color: var(--color-text-muted);
    line-height: 1.8;
    margin-bottom: 20px;
}

.service-card__link {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--color-secondary);
    transition: color var(--transition);
}

.service-card__link:hover {
    color: #e84d0e;
}

/* --------------------------------------------------------------------------
 * 16. 目的別ソリューション
 * -------------------------------------------------------------------------- */
.solution-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--color-border);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    overflow: hidden;
}

.solution-item {
    display: flex;
    gap: 16px;
    padding: 28px 24px;
    background: rgba(255, 255, 255, 0.04);
    transition: background var(--transition);
}

.solution-item:hover {
    background: rgba(255, 255, 255, 0.08);
}

.solution-item__icon {
    font-size: 1.75rem;
    flex-shrink: 0;
    line-height: 1;
    margin-top: 2px;
}

.solution-item__title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 8px;
}

.solution-item__text {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
}

/* --------------------------------------------------------------------------
 * 17. 制作実績 (works) カード
 * -------------------------------------------------------------------------- */
.works-card {
    border-radius: 12px;
    overflow: hidden;
    background: var(--color-white);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: transform var(--transition), box-shadow var(--transition);
}

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

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

.works-card__thumb {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #e2e8f0;
}

.works-card__thumb--no-image {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    color: #94a3b8;
}

.works-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.works-card:hover .works-card__img {
    transform: scale(1.05);
}

.works-card__body {
    padding: 20px 22px 24px;
}

.works-card__cat {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-secondary);
    background: rgba(255, 107, 53, 0.1);
    border-radius: 4px;
    padding: 2px 8px;
    margin-bottom: 10px;
}

.works-card__title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 8px;
    line-height: 1.5;
}

.works-card__excerpt {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    line-height: 1.7;
}

/* --------------------------------------------------------------------------
 * 18. 強みカード (Why Choose Us)
 * -------------------------------------------------------------------------- */
.strength-card {
    padding: 32px 24px;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    transition: background var(--transition);
}

.strength-card:hover {
    background: rgba(255, 255, 255, 0.07);
}

.strength-card__num {
    font-family: var(--font-en);
    font-size: 2.5rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.1);
    display: block;
    margin-bottom: 16px;
    line-height: 1;
}

.strength-card__title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 12px;
    line-height: 1.5;
}

.strength-card__text {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.8;
}

/* --------------------------------------------------------------------------
 * 19. Process ステップ
 * -------------------------------------------------------------------------- */
.process-steps {
    list-style: none;
    display: flex;
    flex-direction: column;
    position: relative;
    max-width: 720px;
    margin: 0 auto;
}

.process-steps::before {
    content: '';
    position: absolute;
    left: 28px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--color-secondary), var(--color-accent));
}

.process-step {
    display: flex;
    gap: 28px;
    align-items: flex-start;
    padding: 28px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    position: relative;
}

.process-step:last-child {
    border-bottom: none;
}

.process-step__num {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-secondary), #ffaa00);
    color: var(--color-white);
    font-family: var(--font-en);
    font-size: 1.25rem;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    box-shadow: 0 4px 16px rgba(255, 107, 53, 0.35);
}

.process-step__title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 8px;
    line-height: 1.4;
    padding-top: 12px;
}

.process-step__text {
    font-size: 0.9375rem;
    color: var(--color-text-muted);
    line-height: 1.8;
}

/* --------------------------------------------------------------------------
 * 20. お知らせリスト
 * -------------------------------------------------------------------------- */
.news-list {
    list-style: none;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    max-width: 760px;
    margin: 0 auto;
}

.news-item__link {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    text-decoration: none;
    transition: color var(--transition);
}

.news-item__link:hover {
    color: var(--color-secondary);
}

.news-item__date {
    font-family: var(--font-en);
    font-size: 0.875rem;
    color: var(--color-text-muted);
    white-space: nowrap;
    flex-shrink: 0;
}

.news-item__cat {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-secondary);
    background: rgba(255, 107, 53, 0.1);
    border-radius: 4px;
    padding: 2px 8px;
    white-space: nowrap;
    flex-shrink: 0;
}

.news-item__title {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--color-text);
}

/* --------------------------------------------------------------------------
 * 21. テスティモニアル (お客様の声)
 * -------------------------------------------------------------------------- */
.voice-card {
    background: var(--color-white);
    border-radius: 16px;
    padding: 32px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
}

.voice-card__stars {
    color: #f59e0b;
    font-size: 1.125rem;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.voice-card__quote {
    font-size: 0.9375rem;
    line-height: 1.9;
    color: var(--color-text);
    font-style: normal;
    flex: 1;
    margin-bottom: 24px;
}

.voice-card__footer {
    display: flex;
    flex-direction: column;
    gap: 4px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    padding-top: 16px;
}

.voice-card__company {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--color-text);
}

.voice-card__role {
    font-size: 0.8125rem;
    color: var(--color-text-muted);
}

/* --------------------------------------------------------------------------
 * 22. 料金プラン
 * -------------------------------------------------------------------------- */
.price-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: start;
    margin-bottom: 24px;
}

.price-card {
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 36px 28px;
    background: rgba(255, 255, 255, 0.04);
    transition: transform var(--transition);
    position: relative;
}

.price-card:hover {
    transform: translateY(-4px);
}

.price-card--featured {
    border-color: var(--color-secondary);
    background: var(--color-primary);
    transform: scale(1.03);
    z-index: 1;
    box-shadow: var(--shadow-md);
}

.price-card--featured:hover {
    transform: scale(1.03) translateY(-4px);
}

.price-card__badge-wrap {
    text-align: center;
    margin-bottom: 12px;
}

.price-card__recommend {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-white);
    background: var(--color-secondary);
    border-radius: 50px;
    padding: 4px 14px;
}

.price-card__header {
    margin-bottom: 24px;
}

.price-card__badge {
    font-family: var(--font-en);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-accent);
    letter-spacing: 0.15em;
    display: block;
    margin-bottom: 10px;
}

.price-card__from {
    font-family: var(--font-en);
    font-size: 1.875rem;
    font-weight: 900;
    color: var(--color-white);
    line-height: 1;
}

.price-card__features {
    list-style: none;
    margin-bottom: 28px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.price-card__features li {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
}

.price-note {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.4);
    text-align: center;
}

/* --------------------------------------------------------------------------
 * 23. CTA バナー
 * -------------------------------------------------------------------------- */
.cta-banner {
    padding: 80px 0;
    background: linear-gradient(135deg, #111111 0%, #222222 50%, #111111 100%);
    border-top: 1px solid var(--color-border);
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 60% at 50% 50%, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.cta-banner__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    position: relative;
}

.cta-banner__title {
    font-family: var(--font-en);
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 900;
    color: var(--color-white);
    margin-bottom: 12px;
    line-height: 1.2;
}

.cta-banner__sub {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.9;
}

.cta-banner__actions {
    display: flex;
    gap: 16px;
    align-items: center;
    flex-shrink: 0;
}

/* --------------------------------------------------------------------------
 * 11. レスポンシブ
 * -------------------------------------------------------------------------- */
@media screen and (max-width: 1024px) {
    .global-nav {
        display: none;
    }

    .header__cta {
        display: none;
    }

    .hamburger-btn {
        display: flex;
    }

    .footer__inner {
        flex-direction: column;
        gap: 32px;
        padding: 40px 24px 32px;
    }

    .footer-nav__list {
        flex-direction: row;
        gap: 0 8px;
    }
}

@media screen and (max-width: 640px) {
    .footer-nav__list {
        flex-direction: column;
    }
}

@media screen and (max-width: 768px) {

    /* セクション余白縮小 */
    .section {
        padding: 64px 0;
    }

    /* ヒーロー */
    .hero__title {
        font-size: 2rem;
    }

    .hero__actions {
        flex-direction: column;
    }

    .hero__actions .btn {
        width: 100%;
        justify-content: center;
    }

    /* グリッド → 1列 */
    .card-grid--3,
    .card-grid--4,
    .solution-grid,
    .price-grid {
        grid-template-columns: 1fr;
    }

    /* 料金カード中央のスケールを解除 */
    .price-card--featured {
        transform: none;
    }

    .price-card--featured:hover {
        transform: translateY(-4px);
    }

    /* CTAバナー縦積み */
    .cta-banner__inner {
        flex-direction: column;
        text-align: center;
    }

    .cta-banner__actions {
        flex-direction: column;
        width: 100%;
    }

    .cta-banner__actions .btn {
        width: 100%;
        justify-content: center;
    }

    /* ニュースリスト折り返し */
    .news-item__link {
        flex-wrap: wrap;
    }

    /* プロセス */
    .process-steps::before {
        left: 20px;
    }

    .process-step__num {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

/* ==========================================================================
   下層ページ共通スタイル
   ========================================================================== */

/* ページヒーロー（下層共通ヘッダー） */
.page-hero {
    padding: calc(var(--header-height) + 64px) 0 64px;
    background: var(--color-bg-dark);
    text-align: center;
}

.page-hero__label {
    font-family: var(--font-en);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: var(--color-accent);
    margin-bottom: 16px;
    display: block;
}

.page-hero__title {
    font-family: var(--font-en);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 900;
    color: var(--color-white);
    line-height: 1.2;
    margin-bottom: 16px;
}

.page-hero__desc {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.65);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.8;
}

/* ページメインコンテンツ */
.page-main {
    min-height: 60vh;
}

/* --------------------------------------------------------------------------
 * パンくずリスト
 * -------------------------------------------------------------------------- */
.breadcrumb {
    background: #f0f2f8;
    padding: 14px 0;
    font-size: 0.8125rem;
}

.breadcrumb__list {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    list-style: none;
}

.breadcrumb__item+.breadcrumb__item::before {
    content: '›';
    color: var(--color-text-muted);
    margin-right: 6px;
}

.breadcrumb__item a {
    color: var(--color-text-muted);
    text-decoration: none;
    transition: color var(--transition);
}

.breadcrumb__item a:hover {
    color: var(--color-secondary);
}

.breadcrumb__item--current {
    color: var(--color-text);
    font-weight: 500;
}

/* --------------------------------------------------------------------------
 * サービス詳細レイアウト
 * -------------------------------------------------------------------------- */
.service-detail__header {
    text-align: center;
    margin-bottom: 48px;
}

.service-detail__title {
    font-family: var(--font-en);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 900;
    color: var(--color-text);
    margin-bottom: 16px;
}

.service-detail__lead {
    font-size: 1rem;
    color: var(--color-text-muted);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
}

.service-detail__body {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 48px;
    align-items: start;
}

.service-detail__h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--color-text);
    margin: 32px 0 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--color-secondary);
}

.service-detail__h3:first-child {
    margin-top: 0;
}

.service-detail__list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 24px;
}

.service-detail__list li::before {
    content: '✓ ';
    color: var(--color-secondary);
    font-weight: 700;
}

.service-detail__list li {
    font-size: 0.9375rem;
    color: var(--color-text-muted);
}

.service-detail__text p {
    font-size: 0.9375rem;
    color: var(--color-text-muted);
    line-height: 1.8;
}

.service-detail__meta {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.service-meta-card {
    background: var(--color-white);
    border: 1px solid rgba(0, 0, 0, 0.07);
    border-radius: 12px;
    padding: 20px;
}

.service-meta-card__label {
    font-size: 0.8125rem;
    color: var(--color-text-muted);
    margin-bottom: 6px;
}

.service-meta-card__value {
    font-family: var(--font-en);
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--color-text);
}

/* --------------------------------------------------------------------------
 * 目的別ソリューションブロック
 * -------------------------------------------------------------------------- */
.solution-page-block__header {
    margin-bottom: 40px;
}

.solution-page-block__title {
    font-family: var(--font-en);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 900;
    color: var(--color-text);
    margin-bottom: 16px;
}

.solution-page-block__lead {
    font-size: 1rem;
    color: var(--color-text-muted);
    line-height: 1.8;
    max-width: 640px;
}

.solution-page-block__items {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.solution-page-block__cta {
    text-align: center;
}

.solution-page-item {
    background: var(--color-white);
    border-radius: 12px;
    padding: 24px;
    border: 1px solid rgba(0, 0, 0, 0.07);
}

.solution-page-item--dark {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--color-border);
}

.solution-page-item--dark .solution-page-item__title {
    color: var(--color-white);
}

.solution-page-item--dark .solution-page-item__text {
    color: rgba(255, 255, 255, 0.6);
}

.solution-page-item__title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 10px;
    line-height: 1.4;
}

.solution-page-item__text {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    line-height: 1.8;
}

/* --------------------------------------------------------------------------
 * 料金テーブル（SNS運用代行）
 * -------------------------------------------------------------------------- */
.price-table-wrap {
    overflow-x: auto;
}

.price-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9375rem;
}

.price-table th,
.price-table td {
    padding: 14px 18px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    text-align: left;
}

.price-table thead th {
    background: var(--color-text);
    color: var(--color-white);
    font-weight: 700;
}

.price-table tbody tr:nth-child(even) {
    background: rgba(0, 0, 0, 0.02);
}

.price-table tbody td {
    color: var(--color-text-muted);
}

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

.faq-item {
    background: var(--color-white);
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.07);
    overflow: hidden;
}

.faq-item[open] {
    border-color: var(--color-secondary);
}

.faq-item__q {
    font-weight: 700;
    font-size: 1rem;
    color: var(--color-text);
    padding: 18px 20px;
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    gap: 12px;
}

.faq-item__q::before {
    content: 'Q.';
    color: var(--color-secondary);
    font-family: var(--font-en);
    font-weight: 900;
    flex-shrink: 0;
}

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

.faq-item__a {
    padding: 0 20px 18px 20px;
    font-size: 0.9375rem;
    color: var(--color-text-muted);
    line-height: 1.8;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    padding-top: 16px;
    margin: 0 20px;
}

/* --------------------------------------------------------------------------
 * 会社概要
 * -------------------------------------------------------------------------- */
.company-about {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.company-about__text {
    display: flex;
    flex-direction: column;
    gap: 16px;
    font-size: 0.9375rem;
    color: var(--color-text-muted);
    line-height: 1.9;
}

.company-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9375rem;
}

.company-table th,
.company-table td {
    padding: 14px 16px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    vertical-align: top;
}

.company-table th {
    width: 35%;
    font-weight: 700;
    color: var(--color-text);
    white-space: nowrap;
}

.company-table td {
    color: var(--color-text-muted);
}

.company-table a {
    color: var(--color-secondary);
}

/* メンバーカード */
.member-card {
    background: var(--color-white);
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.member-card__avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-secondary), #333333);
    color: var(--color-white);
    font-family: var(--font-en);
    font-size: 1.75rem;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.member-card__name {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 4px;
}

.member-card__role {
    font-size: 0.8125rem;
    color: var(--color-secondary);
    font-weight: 700;
    margin-bottom: 12px;
}

.member-card__bio {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    line-height: 1.7;
}

/* --------------------------------------------------------------------------
 * お問い合わせフォーム
 * -------------------------------------------------------------------------- */
.contact-wrap {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 48px;
    align-items: start;
}

.contact-form-area__title {
    font-family: var(--font-en);
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--color-text);
    margin-bottom: 8px;
}

.contact-form-area__desc {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    margin-bottom: 32px;
}

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

.contact-form__row {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.contact-form__label {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--color-text);
}

.contact-form__req {
    font-size: 0.75rem;
    color: #fff;
    background: var(--color-secondary);
    border-radius: 4px;
    padding: 1px 6px;
    margin-left: 6px;
}

.contact-form__opt {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    margin-left: 6px;
}

.contact-form__input,
.contact-form__select,
.contact-form__textarea {
    width: 100%;
    padding: 12px 14px;
    font-size: 0.9375rem;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    background: #fff;
    color: var(--color-text);
    transition: border-color var(--transition);
    font-family: var(--font-sans);
}

.contact-form__input:focus,
.contact-form__select:focus,
.contact-form__textarea:focus {
    outline: none;
    border-color: var(--color-secondary);
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.12);
}

.contact-form__textarea {
    resize: vertical;
    min-height: 140px;
}

.contact-form__privacy {
    font-size: 0.875rem;
    color: var(--color-text-muted);
}

.contact-form__privacy a {
    color: var(--color-secondary);
}

.contact-form__checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.contact-form__submit {
    text-align: center;
}

.contact-info-card {
    background: var(--color-white);
    border-radius: 12px;
    padding: 24px;
    border: 1px solid rgba(0, 0, 0, 0.07);
    margin-bottom: 20px;
}

.contact-info-card__title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 12px;
}

.contact-info-card__tel {
    font-family: var(--font-en);
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--color-secondary);
    display: block;
    margin-bottom: 6px;
}

.contact-info-card__hours {
    font-size: 0.8125rem;
    color: var(--color-text-muted);
}

.contact-info-card__list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contact-info-card__list a {
    font-size: 0.875rem;
    color: var(--color-secondary);
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* --------------------------------------------------------------------------
 * アーカイブフィルター
 * -------------------------------------------------------------------------- */
.archive-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 40px;
}

.archive-filter__btn {
    display: inline-block;
    padding: 8px 20px;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--color-text-muted);
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 50px;
    text-decoration: none;
    transition: all var(--transition);
}

.archive-filter__btn:hover,
.archive-filter__btn.is-active {
    color: var(--color-white);
    background: var(--color-secondary);
    border-color: var(--color-secondary);
}

/* --------------------------------------------------------------------------
 * ページネーション
 * -------------------------------------------------------------------------- */
.pagination {
    margin-top: 48px;
}

.pagination .nav-links {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--color-text-muted);
    border: 1px solid rgba(0, 0, 0, 0.12);
    transition: all var(--transition);
    text-decoration: none;
}

.pagination .page-numbers:hover,
.pagination .page-numbers.current {
    background: var(--color-secondary);
    border-color: var(--color-secondary);
    color: var(--color-white);
}

.pagination .page-numbers.dots {
    border-color: transparent;
    pointer-events: none;
}

/* --------------------------------------------------------------------------
 * 記事詳細（single共通）
 * -------------------------------------------------------------------------- */
.single-article__wrap {
    max-width: 800px;
}

.single-column-wrap {
    padding-top: 48px;
    padding-bottom: 64px;
    max-width: 800px;
}

.single-works {
    padding: 48px 0 64px;
}

.single-article__header {
    margin-bottom: 32px;
}

.single-article__meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.single-article__date {
    font-family: var(--font-en);
    font-size: 0.875rem;
    color: var(--color-text-muted);
}

.single-article__title {
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 900;
    color: var(--color-text);
    line-height: 1.4;
}

.single-works__header {
    padding-top: 32px;
    margin-bottom: 32px;
}

.single-works__title {
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 900;
    color: var(--color-text);
    line-height: 1.4;
    margin: 12px 0 8px;
}

.single-works__date {
    font-family: var(--font-en);
    font-size: 0.875rem;
    color: var(--color-text-muted);
}

.single-works__thumb,
.single-article__thumb {
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 40px;
}

.single-works__thumb img,
.single-article__thumb img {
    width: 100%;
    height: auto;
}

.single-article__body {
    margin-bottom: 48px;
}

.single-article__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 32px 0;
}

.single-article__tag {
    font-size: 0.8125rem;
    color: var(--color-text-muted);
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 50px;
    padding: 4px 12px;
    text-decoration: none;
    transition: all var(--transition);
}

.single-article__tag:hover {
    color: var(--color-secondary);
    border-color: var(--color-secondary);
}

/* --------------------------------------------------------------------------
 * 前後ナビゲーション（詳細ページ）
 * -------------------------------------------------------------------------- */
.post-nav {
    margin: 40px 0;
}

.post-nav__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.post-nav__item {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 16px 20px;
    background: var(--color-white);
    border: 1px solid rgba(0, 0, 0, 0.07);
    border-radius: 10px;
    text-decoration: none;
    transition: box-shadow var(--transition), border-color var(--transition);
}

.post-nav__item:hover {
    box-shadow: var(--shadow-sm);
    border-color: var(--color-secondary);
}

.post-nav__item--next {
    text-align: right;
}

.post-nav__dir {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    font-weight: 700;
}

.post-nav__title {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--color-text);
    line-height: 1.4;
}

/* 一覧へ戻るリンク */
.single-back {
    margin-top: 24px;
}

/* --------------------------------------------------------------------------
 * エントリーコンテンツ（記事本文）
 * -------------------------------------------------------------------------- */
.entry-content {
    line-height: 2.0;
    color: #475569;
    font-size: 1.05rem;
}

.entry-content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text);
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 10px;
    margin: 48px 0 20px;
    position: relative;
}

.entry-content h2::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 48px;
    height: 2px;
    background: var(--color-secondary);
}

.entry-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-text);
    padding-left: 14px;
    border-left: 4px solid var(--color-secondary);
    margin: 36px 0 16px;
}

.entry-content p {
    margin-bottom: 1.5rem;
}

.entry-content ul,
.entry-content ol {
    padding-left: 2rem;
    margin-bottom: 1.5rem;
    background: var(--color-bg);
    border-radius: 8px;
    padding: 1.25rem 1.25rem 1.25rem 2.5rem;
}

.entry-content li {
    margin-bottom: 0.5rem;
}

.entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 24px 0;
}

.entry-content a {
    color: var(--color-secondary);
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* --------------------------------------------------------------------------
 * レスポンシブ（下層ページ追加分）
 * -------------------------------------------------------------------------- */
@media screen and (max-width: 1024px) {
    .service-detail__body {
        grid-template-columns: 1fr;
    }

    .company-about {
        grid-template-columns: 1fr;
    }

    .contact-wrap {
        grid-template-columns: 1fr;
    }

    .solution-page-block__items {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 768px) {
    .post-nav__inner {
        grid-template-columns: 1fr;
    }

    .archive-filter {
        gap: 8px;
    }
}

/* ==========================================================================
   アニメーション & エフェクト
   ========================================================================== */

/* --------------------------------------------------------------------------
 * スクロールフェードイン（Intersection Observer と連携）
 * -------------------------------------------------------------------------- */
.js-fade-init {
    opacity: 0;
    transform: translateY(28px);
    transition:
        opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: opacity, transform;
}

.js-fade-in {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* prefers-reduced-motion 対応 */
@media (prefers-reduced-motion: reduce) {
    .js-fade-init {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* --------------------------------------------------------------------------
 * CTAボタン マウス追従グロー
 * -------------------------------------------------------------------------- */
.btn--primary {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.btn--primary::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(120px circle at var(--glow-x, 50%) var(--glow-y, 50%),
            rgba(255, 255, 255, 0.22),
            transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 1;
}

.btn--primary:hover::after {
    opacity: 1;
}

/* ホバー時の浮き上がり強化（既存 translateY に上乗せ） */
.btn--primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}

/* --------------------------------------------------------------------------
 * CTAバナー パルスリング（お問い合わせボタン強調）
 * -------------------------------------------------------------------------- */
.cta-banner .btn--primary {
    animation: ctaPulse 2.4s ease-in-out infinite;
}

@keyframes ctaPulse {

    0%,
    100% {
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2), 0 0 0 0 rgba(0, 0, 0, 0.2);
    }

    50% {
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2), 0 0 0 10px rgba(0, 0, 0, 0);
    }
}

.cta-banner .btn--primary:hover {
    animation: none;
}

/* --------------------------------------------------------------------------
 * FAQアコーディオン スムーズ展開
 * -------------------------------------------------------------------------- */
@keyframes faqOpen {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --------------------------------------------------------------------------
 * ページトップボタン
 * -------------------------------------------------------------------------- */
#page-top-btn {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-secondary) 0%, #222222 100%);
    color: var(--color-white);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    z-index: 990;
}

#page-top-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

@media screen and (max-width: 768px) {
    #page-top-btn {
        bottom: 20px;
        right: 20px;
        width: 42px;
        height: 42px;
    }
}

/* --------------------------------------------------------------------------
 * シネマティック強化 — 背景グリッドパターン
 * -------------------------------------------------------------------------- */
.section--dark {
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 48px 48px;
    background-color: var(--color-bg-dark);
}

/* --------------------------------------------------------------------------
 * ヒーローセクション — 入場アニメーション
 * -------------------------------------------------------------------------- */
.hero__content {
    animation: heroEnter 1.2s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes heroEnter {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero__label {
    animation-duration: 1.0s;
    animation-delay: 0.1s;
}

.hero__title {
    animation-duration: 1.1s;
    animation-delay: 0.2s;
}

.hero__sub {
    animation-duration: 1.1s;
    animation-delay: 0.35s;
}

.hero__actions {
    animation-duration: 1.0s;
    animation-delay: 0.5s;
}

/* --------------------------------------------------------------------------
 * カード ホバー — 共通洗練強化
 * -------------------------------------------------------------------------- */
.service-card,
.works-card,
.voice-card,
.member-card {
    transition:
        transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

/* --------------------------------------------------------------------------
 * ナビゲーション アクティブリンク アンダーライン
 * -------------------------------------------------------------------------- */
.global-nav__list li a {
    position: relative;
}

.global-nav__list li a::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 14px;
    right: 14px;
    height: 2px;
    background: var(--color-secondary);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.3s ease;
    border-radius: 1px;
}

.global-nav__list li a:hover::after,
.global-nav__list li a.is-active::after,
.global-nav__list li.current-menu-item>a::after {
    transform: scaleX(1);
}

/* --------------------------------------------------------------------------
 * テキスト選択カラー
 * -------------------------------------------------------------------------- */
::selection {
    background: rgba(0, 0, 0, 0.15);
    color: var(--color-text);
}