/* PC レイアウト共通スタイル */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
    overflow-y: scroll; /* 常にスクロールバーを表示し、スクロール時の幅ずれを防ぐ */
    scrollbar-gutter: stable; /* 対応ブラウザではスクロールバー分の余白を確保 */
}

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

/* カラーパレット - グレー主体、アクセントは青系 */
:root {
    --color-base: #0c0c0c;
    --color-base-dark: #0a0a0a;
    --color-base-light: #141414;
    --color-base-lighter: #1e1e1e;
    --color-base-lightest: #2a2a2a;
    --color-accent: #b0b0b0;
    --color-accent-dark: #888888;
    --color-accent-light: #d8d8d8;
    --color-accent-sub: #a0a0a0;
    --color-accent-sub2: #909090;
    --color-accent-blue: #6a8ab0;
    --color-accent-blue-light: rgba(100, 140, 180, 0.15);
    --color-text: #ffffff;
    --color-text-muted: #b8b8b8;
    --color-text-sub: #888888;
    --color-border: #404040;
    --color-border-light: #505050;
    --color-metallic: #1a1a1a;
    --color-metallic-light: #252525;
    --color-metallic-lighter: #323232;
}

body {
    font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
    color: var(--color-text);
    overflow-x: hidden;
    background: 
        radial-gradient(ellipse at 20% 30%, rgba(180, 180, 180, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 70%, rgba(160, 160, 160, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(180, 180, 180, 0.04) 0%, transparent 70%),
        linear-gradient(135deg, #0a0a0a 0%, #121212 25%, #0a0a0a 50%, #121212 75%, #0a0a0a 100%),
        linear-gradient(45deg, #080808 0%, #0e0e0e 50%, #080808 100%);
    background-size: 
        100% 100%,
        100% 100%,
        100% 100%,
        200% 200%,
        300% 300%;
    background-position: 
        0% 0%,
        0% 0%,
        0% 0%,
        0% 0%,
        0% 0%;
    position: relative;
    font-weight: 400;
}

@keyframes metallic-shift {
    0%, 100% {
        background-position: 
            0% 0%,
            0% 0%,
            0% 0%;
    }
    50% {
        background-position: 
            100% 100%,
            50% 50%,
            25% 25%;
    }
}

/* ローディング画面 */
.boot-loader {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: grid;
    place-items: center;
    background: 
        radial-gradient(ellipse at 50% 50%, rgba(180, 180, 180, 0.12) 0%, transparent 70%),
        radial-gradient(ellipse at 30% 70%, rgba(160, 160, 160, 0.08) 0%, transparent 60%),
        rgba(0, 0, 0, 0.96);
    transition: opacity 0.4s ease, visibility 0.4s ease;
    opacity: 1;
    visibility: visible;
}

body.is-ready .boot-loader {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.boot-loader.is-hide {
    opacity: 0;
    visibility: hidden;
}

.boot-loader__inner {
    text-align: center;
    width: min(420px, 80vw);
}

.boot-loader__title {
    font-size: 32px;
    font-weight: 700;
    letter-spacing: 0.2em;
    margin-bottom: 32px;
    background: linear-gradient(135deg, #b0b0b0 0%, #a0a0a0 50%, #909090 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: textGlow 2s ease-in-out infinite;
    text-shadow: 0 0 20px rgba(180, 180, 180, 0.5);
}

@keyframes textGlow {
    0%, 100% {
        filter: brightness(1);
        opacity: 1;
    }
    50% {
        filter: brightness(1.3);
        opacity: 0.9;
    }
}

.boot-loader__bar {
    width: 100%;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 16px;
    position: relative;
    box-shadow: 
        inset 0 1px 2px rgba(0, 0, 0, 0.5),
        0 0 10px rgba(180, 180, 180, 0.2);
}

.boot-loader__bar::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, 
        transparent 0%,
        rgba(180, 180, 180, 0.25) 50%,
        transparent 100%
    );
    width: 40%;
    left: 0;
}

.boot-loader__barFill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, 
        #b0b0b0 0%,
        #a0a0a0 50%,
        #909090 100%
    );
    transition: width 0.3s ease;
    box-shadow: 
        0 0 10px rgba(180, 180, 180, 0.6),
        0 0 20px rgba(160, 160, 160, 0.4);
    position: relative;
    overflow: hidden;
}

.boot-loader__barFill::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, 
        transparent 0%,
        rgba(255, 255, 255, 0.3) 50%,
        transparent 100%
    );
    width: 50%;
    left: 0;
}

.boot-loader__pct {
    font-size: 14px;
    color: var(--color-text-muted);
    letter-spacing: 0.1em;
    font-weight: 500;
}

.boot-loader__pct span {
    color: var(--color-accent);
    font-weight: 700;
    text-shadow: 0 0 10px rgba(180, 180, 180, 0.5);
}

/* メタリックな背景デザイン */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 2px 2px, rgba(180, 180, 180, 0.03) 0.5px, transparent 0.5px),
        radial-gradient(circle at 4px 4px, rgba(160, 160, 160, 0.02) 0.5px, transparent 0.5px),
        radial-gradient(circle at 6px 6px, rgba(180, 180, 180, 0.015) 0.5px, transparent 0.5px);
    background-size: 
        8px 8px,
        12px 12px,
        16px 16px;
    background-position: 
        0 0,
        0 0,
        0 0;
    opacity: 0.5;
    z-index: 0;
    pointer-events: none;
}

@keyframes metallic-glow {
    0%, 100% {
        background-position: 
            0% 0%,
            0% 0%,
            0% 0%,
            0% 0%,
            0% 0%,
            0% 0%;
    }
    33% {
        background-position: 
            100% 50%,
            50% 100%,
            25% 25%,
            10% 20%,
            90% 80%,
            50% 50%;
    }
    66% {
        background-position: 
            50% 100%,
            100% 0%,
            75% 75%,
            20% 10%,
            80% 90%,
            50% 50%;
    }
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(0deg, transparent 0%, rgba(180, 180, 180, 0.02) 50%, transparent 100%);
    background-size: 100% 2px;
    background-position: 0 0;
    opacity: 0.25;
    z-index: 0;
    pointer-events: none;
}

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

.page-wrap {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
    overflow-x: hidden;
}

/* ------------------------------
   ヘッダー
------------------------------ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 20;
    background: rgba(12, 12, 14, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 2px solid rgba(180, 180, 180, 0.2);
    box-shadow: 0 0 20px rgba(180, 180, 180, 0.1);
}

.page-wrap {
    padding-top: 80px;
}

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

.logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    letter-spacing: 0.12em;
    font-size: 16px;
}

.logo-img {
    width: 52px;
    height: 52px;
    display: block;
    object-fit: contain;
}

.global-nav ul {
    display: flex;
    gap: 28px;
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 13px;
}

.global-nav a {
    position: relative;
    padding-bottom: 4px;
    color: var(--color-text-muted);
    opacity: 0.8;
    transition: opacity 0.2s ease, color 0.2s ease;
}

.global-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 1px;
    background: linear-gradient(90deg, var(--color-accent) 0%, var(--color-accent-sub) 100%);
    transition: width 0.2s ease;
    box-shadow: 0 0 8px rgba(180, 180, 180, 0.5);
}

.global-nav a:hover {
    opacity: 1;
    color: var(--color-accent);
    text-shadow: 0 0 10px rgba(180, 180, 180, 0.5);
}

.global-nav a:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
}

.nav-close {
    display: none;
}

/* PC版：ホームページ・オプションサービスのドロップダウンメニュー */
.global-nav-list > li.nav-item-has-dropdown {
    position: relative;
}

.global-nav .global-nav-dropdown {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    min-width: 180px;
    margin: 0;
    padding: 4px 0;
    list-style: none;
    background: rgba(18, 18, 22, 0.98);
    border: 1px solid rgba(180, 180, 180, 0.25);
    border-radius: 4px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6), 0 0 20px rgba(180, 180, 180, 0.08);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    z-index: 100;
}

.global-nav-list > li.nav-item-has-dropdown:hover .global-nav-dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.global-nav .global-nav-dropdown li {
    margin: 0;
    padding: 0;
}

.global-nav .global-nav-dropdown a {
    display: block;
    padding: 6px 20px;
    font-size: 13px;
    color: var(--color-text-muted);
    white-space: nowrap;
}

.global-nav .global-nav-dropdown a:hover {
    background: rgba(255, 255, 255, 0.06);
    color: var(--color-accent);
}

.global-nav .global-nav-dropdown a::after {
    display: none;
}

.nav-dropdown-trigger::before {
    content: '';
    display: inline-block;
    margin-left: 4px;
    vertical-align: middle;
    border: 4px solid transparent;
    border-top-color: currentColor;
    border-bottom: none;
}

/* ------------------------------
   ヒーローエリア
------------------------------ */
.main-contents {
    flex: 1;
}

.hero {
    position: relative;
    overflow: hidden;
    padding: 0 0 64px;
}

.hero-bg-layer {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero-bg-grid {
    background-image:
        radial-gradient(circle at 2px 2px, rgba(255, 255, 255, 0.01) 0.5px, transparent 0.5px),
        radial-gradient(circle at 4px 4px, rgba(200, 200, 200, 0.008) 0.5px, transparent 0.5px);
    background-size:
        6px 6px,
        8px 8px;
    background-position:
        0 0,
        0 0;
    opacity: 0.4;
}

.hero-bg-glow {
    background:
        radial-gradient(circle at 30% 40%, rgba(180, 180, 180, 0.12), transparent 55%),
        radial-gradient(circle at 70% 60%, rgba(160, 160, 160, 0.1), transparent 55%),
        radial-gradient(circle at 50% 50%, rgba(180, 180, 180, 0.08), transparent 60%);
    opacity: 0.6;
    animation: glowPulse 6s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% {
        opacity: 0.4;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.05);
    }
}

.hero-inner {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 32px;
    display: grid;
    grid-template-rows: auto auto;
    gap: 40px;
}

.hero-heading {
    text-align: center;
}

/* タイトル画像：左右余白なしで全幅表示 */
.hero .hero-title-image {
    width: 100%;
    margin: 0 0 24px;
    padding: 0;
    text-align: center;
}

.hero .hero-title-image .title-img {
    width: 100%;
    max-width: none;
    height: auto;
    display: block;
    margin: 0;
    vertical-align: top;
}

.hero-label {
    display: inline-block;
    padding: 6px 18px;
    border-radius: 0;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(180, 180, 180, 0.35);
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 20px;
    font-weight: 500;
    box-shadow: 
        0 0 12px rgba(180, 180, 180, 0.35),
        inset 0 0 10px rgba(180, 180, 180, 0.08);
}

.hero-title {
    margin: 0 0 20px;
    font-size: 36px;
    letter-spacing: 0.1em;
    font-weight: 700;
    line-height: 1.6;
    background: linear-gradient(135deg, #ffffff 0%, #b0b0b0 30%, #a0a0a0 70%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(180, 180, 180, 0.3);
    animation: titleShimmer 4s ease-in-out infinite;
}

@keyframes titleShimmer {
    0%, 100% {
        filter: brightness(1);
    }
    50% {
        filter: brightness(1.2);
    }
}

.hero-sub {
    margin: 0;
    font-size: 14px;
    color: var(--color-text-sub);
    line-height: 2;
}

/* ------------------------------
   ツリーナビ
------------------------------ */
.tree-nav {
    position: relative;
    padding: 48px 56px 40px;
    border-radius: 0;
    background: 
        linear-gradient(135deg, rgba(12, 12, 14, 0.95) 0%, rgba(18, 18, 22, 0.95) 100%),
        radial-gradient(ellipse at 50% 50%, rgba(180, 180, 180, 0.05) 0%, transparent 70%);
    box-shadow:
        0 24px 60px rgba(0, 0, 0, 0.9),
        0 0 0 1px rgba(180, 180, 180, 0.2),
        inset 0 1px 0 rgba(180, 180, 180, 0.1),
        inset 0 -1px 0 rgba(0, 0, 0, 0.5),
        0 0 40px rgba(180, 180, 180, 0.1);
    border: 1px solid rgba(180, 180, 180, 0.3);
    backdrop-filter: blur(10px);
}

.tree-nav {
    overflow: visible;
}

.tree-row {
    position: relative;
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 32px;
    overflow: visible;
}

.tree-row:last-child {
    margin-bottom: 0;
}

/* 階層表現：線ではなく色分けと図形で表現 */
.tree-row-root::after {
    display: none;
}

/* 第1層から第2層への接続線 */
.tree-row-level1 {
    position: relative;
    margin-bottom: 20px;
}

/* プロモーションボタンから下への縦線 */
.tree-row-level1 .tree-branch .btn-primary::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 20px;
    background: rgba(180, 180, 180, 0.6);
    z-index: 10;
    pointer-events: none;
    box-shadow: 0 0 8px rgba(180, 180, 180, 0.4);
}

/* 第2層の上に水平線を描画 */
.tree-row-level2 {
    position: relative;
    overflow: visible;
}

.tree-row-level2::before {
    content: '';
    position: absolute;
    top: 0;
    /* 左端のボタン中心から右端のボタン中心まで */
    /* gridレイアウト: 3列、gap 40px、各セルは等幅 */
    /* 左端セル中心位置: セル幅/2 = (全体幅 - 2*gap) / 6 */
    /* 右端セル中心位置: 全体幅 - セル幅/2 = 全体幅 - (全体幅 - 2*gap) / 6 */
    /* 左端セル中心から右端セル中心までの距離 = 右端セル中心 - 左端セル中心 */
    /* = 100% - (100% - 80px) / 6 - (100% - 80px) / 6 */
    /* = 100% - (100% - 80px) / 3 */
    /* = 100% - 100%/3 + 80px/3 */
    /* = 2*100%/3 + 80px/3 */
    left: calc((100% - 80px) / 6); /* 左端セルの中心位置 */
    width: calc(100% - (100% - 80px) / 3); /* 左端セル中心から右端セル中心までの距離 */
    height: 2px;
    /* 垂直線と同じ色で全面に描画し、両端で消えずに繋がって見えるようにする */
    background: rgba(180, 180, 180, 0.6);
    z-index: 1;
    box-shadow: 0 0 8px rgba(180, 180, 180, 0.4);
}

/* ボタン共通 */
.btn-node {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 180px;
    padding: 14px 32px;
    border-radius: 0;
    font-size: 14px;
    letter-spacing: 0.08em;
    font-weight: 500;
    position: relative;
    overflow: visible;
    white-space: nowrap;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

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

/* ツリー表示の段階的なアニメーション */
.tree-row-level1 .btn-node {
    animation-delay: 0.1s;
}

.tree-row-level2 .btn-node {
    animation-delay: 0.3s;
}

.tree-children .btn-node {
    animation-delay: 0.5s;
}

.btn-node span,
.btn-node i {
    position: relative;
    z-index: 1;
}

/* トップボタン：最も目立つデザイン - サイズと影で階層を表現 */
.btn-main {
    min-width: 280px;
    font-size: 16px;
    background: linear-gradient(135deg, #606060 0%, #505050 30%, #404040 60%, #505050 100%);
    color: var(--color-text);
    border: 1px solid var(--color-accent-light);
    box-shadow:
        0 12px 32px rgba(0, 0, 0, 0.8),
        0 6px 16px rgba(160, 160, 160, 0.2),
        inset 0 2px 6px rgba(255, 255, 255, 0.2),
        inset 0 -3px 6px rgba(0, 0, 0, 0.7),
        inset 0 0 20px rgba(180, 180, 180, 0.06),
        0 0 0 1px rgba(180, 180, 180, 0.15);
}

.btn-main::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
    transition: left 0.5s ease;
}

.btn-main:hover {
    transform: translateY(-4px) scale(1.02);
    background: linear-gradient(135deg, #707070 0%, #606060 30%, #505050 60%, #606060 100%);
    border-color: var(--color-accent-light);
    box-shadow:
        0 16px 40px rgba(0, 0, 0, 0.9),
        0 8px 20px rgba(160, 160, 160, 0.25),
        inset 0 2px 8px rgba(255, 255, 255, 0.25),
        inset 0 -3px 8px rgba(0, 0, 0, 0.8),
        inset 0 0 25px rgba(180, 180, 180, 0.08),
        0 0 0 1px rgba(180, 180, 180, 0.25);
}

.btn-main:hover::before {
    left: 100%;
}

/* 第1層ボタン：サイズと影の強さで階層を表現 */
.btn-primary {
    background: 
        linear-gradient(135deg, rgba(0, 20, 40, 0.8) 0%, rgba(0, 10, 30, 0.9) 50%, rgba(0, 20, 40, 0.8) 100%),
        radial-gradient(ellipse at 50% 50%, rgba(180, 180, 180, 0.1) 0%, transparent 70%);
    color: var(--color-text);
    border: 1px solid rgba(180, 180, 180, 0.4);
    box-shadow:
        0 8px 24px rgba(0, 0, 0, 0.7),
        0 4px 12px rgba(180, 180, 180, 0.2),
        inset 0 2px 4px rgba(180, 180, 180, 0.1),
        inset 0 -2px 4px rgba(0, 0, 0, 0.6),
        0 0 20px rgba(180, 180, 180, 0.2);
    border-radius: 0;
    position: relative;
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(135deg, 
        rgba(180, 180, 180, 0.4) 0%,
        rgba(160, 160, 160, 0.2) 50%,
        rgba(180, 180, 180, 0.4) 100%
    );
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
    filter: blur(8px);
}

.btn-primary:hover {
    background: 
        linear-gradient(135deg, rgba(0, 30, 50, 0.9) 0%, rgba(0, 20, 40, 1) 50%, rgba(0, 30, 50, 0.9) 100%),
        radial-gradient(ellipse at 50% 50%, rgba(180, 180, 180, 0.2) 0%, transparent 70%);
    transform: translateY(-2px) scale(1.02);
    border-color: rgba(180, 180, 180, 0.8);
    box-shadow:
        0 10px 28px rgba(0, 0, 0, 0.8),
        0 5px 14px rgba(180, 180, 180, 0.4),
        inset 0 2px 6px rgba(180, 180, 180, 0.2),
        inset 0 -2px 6px rgba(0, 0, 0, 0.7),
        0 0 30px rgba(180, 180, 180, 0.5);
}

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

/* 水平線から第2層ボタンへ伸びる垂直線（実要素.tree-vlineで描画。overflowで切れないようにする） */
.tree-row-level2 .tree-branch .tree-vline {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 20px;
    background: rgba(180, 180, 180, 0.6);
    z-index: 1;
    pointer-events: none;
    box-shadow: 0 0 8px rgba(180, 180, 180, 0.4);
}

/* 第2層ボタン：小さめのサイズと弱い影で階層を表現 */
.btn-secondary {
    width: 140px;
    min-width: 140px;
    max-width: 140px;
    padding-inline: 16px;
    font-size: 13px;
    background: 
        linear-gradient(135deg, rgba(0, 10, 25, 0.7) 0%, rgba(0, 5, 15, 0.8) 50%, rgba(0, 10, 25, 0.7) 100%),
        radial-gradient(ellipse at 50% 50%, rgba(160, 160, 160, 0.08) 0%, transparent 70%);
    color: var(--color-text-muted);
    border: 1px solid rgba(160, 160, 160, 0.3);
    box-shadow:
        0 4px 12px rgba(0, 0, 0, 0.6),
        0 2px 6px rgba(160, 160, 160, 0.15),
        inset 0 1px 3px rgba(160, 160, 160, 0.1),
        inset 0 -2px 3px rgba(0, 0, 0, 0.5),
        0 0 15px rgba(160, 160, 160, 0.15);
    border-radius: 0;
    position: relative;
}

.btn-secondary::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(135deg, 
        rgba(160, 160, 160, 0.3) 0%,
        rgba(180, 180, 180, 0.2) 50%,
        rgba(160, 160, 160, 0.3) 100%
    );
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
    filter: blur(6px);
}

.btn-secondary:hover {
    background: 
        linear-gradient(135deg, rgba(0, 15, 30, 0.8) 0%, rgba(0, 10, 20, 0.9) 50%, rgba(0, 15, 30, 0.8) 100%),
        radial-gradient(ellipse at 50% 50%, rgba(160, 160, 160, 0.15) 0%, transparent 70%);
    color: var(--color-text);
    transform: translateY(-1px) scale(1.02);
    border-color: rgba(160, 160, 160, 0.6);
    box-shadow:
        0 6px 16px rgba(0, 0, 0, 0.7),
        0 3px 8px rgba(160, 160, 160, 0.3),
        inset 0 2px 4px rgba(160, 160, 160, 0.15),
        inset 0 -2px 4px rgba(0, 0, 0, 0.6),
        0 0 25px rgba(160, 160, 160, 0.4);
}

.btn-secondary:hover::before {
    opacity: 1;
}

/* ------------------------------
   ツリー構造：色分けと図形で階層を表現
------------------------------ */
.tree-row-level2 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    justify-items: center;
    gap: 40px;
    padding-top: 20px;
    margin-bottom: 0;
}

/* 第2層の枝：コンテナとして機能 */
.tree-branch {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 20px;
    width: 100%;
    max-width: 100%;
    height: 100%;
    overflow: visible;
}

/* 親ボタンから子ボタンへの接続線 */
.tree-branch:has(.tree-children) .btn-primary {
    position: relative;
    overflow: visible;
}

.tree-branch:has(.tree-children) .btn-primary::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 20px;
    background: rgba(180, 180, 180, 0.6);
    z-index: 10;
    pointer-events: none;
    box-shadow: 0 0 8px rgba(180, 180, 180, 0.4);
}

/* 子ボタンエリアの接続線 */
.tree-children {
    position: relative;
    display: flex;
    gap: 12px;
    padding-top: 20px;
    width: 100%;
    justify-content: center;
    flex-wrap: nowrap;
}

/* 子ボタンから上への接続線 */
.tree-children .btn-secondary {
    position: relative;
}


/* 子ボタンエリアの上に水平線を描画（垂直線と繋がって見えるよう全面を同じ色で描画） */
.tree-children::before {
    content: '';
    position: absolute;
    top: 0;
    height: 2px;
    background: rgba(160, 160, 160, 0.6);
    z-index: 1;
    /* 最初の子ボタンの中心から最後の子ボタンの中心まで */
    /* 3つ並び: ボタン幅（140px）+ gap（12px）+ ボタン幅（140px）= 292px → 302pxに調整（border等の影響を考慮） */
    /* 2つ並び: ボタン幅（140px）+ gap（12px）= 152px */
    left: 50%;
    transform: translateX(-50%);
    width: 302px;
    box-shadow: 0 0 8px rgba(160, 160, 160, 0.4);
}

/* 2つ並びの場合は幅を調整 */
.tree-children:has(.btn-secondary:nth-child(2):last-child)::before {
    width: 152px;
}

/* 各子ボタンから上への接続線（縦線）※::afterで描画し、.btn-secondary::before（ホバーグロー）と競合しないようにする */
.tree-children .btn-secondary::after {
    content: '';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 20px;
    background: rgba(160, 160, 160, 0.6);
    z-index: 1;
    pointer-events: none;
    box-shadow: 0 0 8px rgba(160, 160, 160, 0.4);
}


/* 第2層のボタンにアクセントカラーを適用 */
.tree-row-level2 .tree-branch .btn-primary {
    background: 
        linear-gradient(135deg, rgba(0, 25, 50, 0.85) 0%, rgba(0, 15, 35, 0.9) 40%, rgba(0, 20, 45, 0.85) 70%, rgba(0, 15, 35, 0.9) 100%),
        radial-gradient(ellipse at 50% 50%, rgba(180, 180, 180, 0.12) 0%, transparent 70%);
    box-shadow:
        0 8px 24px rgba(0, 0, 0, 0.7),
        0 4px 12px rgba(180, 180, 180, 0.25),
        inset 0 2px 4px rgba(180, 180, 180, 0.12),
        inset 0 -2px 4px rgba(0, 0, 0, 0.6),
        0 0 20px rgba(180, 180, 180, 0.25);
    border-color: rgba(180, 180, 180, 0.5);
}

.tree-row-level2 .tree-branch .btn-primary:hover {
    background: 
        linear-gradient(135deg, rgba(0, 35, 60, 0.95) 0%, rgba(0, 25, 45, 1) 40%, rgba(0, 30, 55, 0.95) 70%, rgba(0, 25, 45, 1) 100%),
        radial-gradient(ellipse at 50% 50%, rgba(180, 180, 180, 0.2) 0%, transparent 70%);
    box-shadow:
        0 10px 28px rgba(0, 0, 0, 0.8),
        0 5px 14px rgba(180, 180, 180, 0.4),
        inset 0 2px 6px rgba(180, 180, 180, 0.2),
        inset 0 -2px 6px rgba(0, 0, 0, 0.7),
        0 0 35px rgba(180, 180, 180, 0.5);
    border-color: rgba(180, 180, 180, 0.9);
}


/* ------------------------------
   情報セクション
------------------------------ */
.info-section {
    padding: 120px 0;
    position: relative;
    scroll-margin-top: 100px;
    overflow: hidden;
    opacity: 0;
    transform: translateX(60px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.info-section.is-visible {
    opacity: 1;
    transform: translateX(0);
}

/* サブページ（お問い合わせ・プライバシー・利用規約・会社概要）：スクロールアニメなしで常に表示・トップと同じグレー系 */
.info-section.subpage-section,
.info-section.subpage-section .info-section-title,
.info-section.subpage-section .info-section-content {
    opacity: 1;
    transform: none;
}

.info-section.subpage-section {
    background:
        radial-gradient(ellipse at 20% 30%, rgba(180, 180, 180, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 70%, rgba(160, 160, 160, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(180, 180, 180, 0.04) 0%, transparent 70%),
        linear-gradient(135deg, #0a0a0a 0%, #121212 25%, #0a0a0a 50%, #121212 75%, #0a0a0a 100%),
        linear-gradient(45deg, #080808 0%, #0e0e0e 50%, #080808 100%);
}

.info-section.subpage-section::before {
    background:
        radial-gradient(circle at 20% 30%, rgba(180, 180, 180, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(160, 160, 160, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(180, 180, 180, 0.05) 0%, transparent 50%);
}

.info-section.subpage-section::after {
    background:
        radial-gradient(circle at 60% 20%, rgba(180, 180, 180, 0.04) 0%, transparent 40%),
        radial-gradient(circle at 30% 80%, rgba(160, 160, 160, 0.04) 0%, transparent 40%);
}

.info-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(138, 43, 226, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(0, 191, 255, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(255, 20, 147, 0.08) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.info-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 60% 20%, rgba(180, 180, 180, 0.04) 0%, transparent 40%),
        radial-gradient(circle at 30% 80%, rgba(80, 120, 160, 0.05) 0%, transparent 40%);
    pointer-events: none;
    z-index: 0;
}

.info-section:nth-child(even) {
    background: 
        radial-gradient(ellipse at 50% 50%, rgba(180, 180, 180, 0.03) 0%, transparent 70%),
        rgba(14, 14, 14, 0.4);
}

.info-section:nth-child(odd) {
    background: 
        radial-gradient(ellipse at 50% 50%, rgba(180, 180, 180, 0.025) 0%, transparent 70%),
        radial-gradient(ellipse at 70% 50%, rgba(70, 110, 150, 0.03) 0%, transparent 50%),
        rgba(18, 18, 18, 0.4);
}

/* プロモーションセクションのみ背景を青系に（デザインは共通のまま） */
#section-promotion {
    background: 
        radial-gradient(ellipse at 50% 50%, rgba(60, 100, 150, 0.08) 0%, transparent 70%),
        radial-gradient(ellipse at 80% 30%, rgba(40, 80, 130, 0.05) 0%, transparent 55%),
        radial-gradient(ellipse at 20% 70%, rgba(50, 90, 140, 0.04) 0%, transparent 55%),
        rgba(12, 18, 28, 0.5);
}
#section-promotion::before {
    background: 
        radial-gradient(circle at 60% 20%, rgba(70, 110, 160, 0.06) 0%, transparent 40%),
        radial-gradient(circle at 30% 80%, rgba(50, 90, 140, 0.06) 0%, transparent 40%);
}
#section-promotion::after {
    background: 
        radial-gradient(circle at 60% 20%, rgba(60, 100, 150, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 30% 80%, rgba(40, 80, 130, 0.05) 0%, transparent 40%);
}

#section-promotion .promotion-image {
    margin: 0 0 32px;
    width: 100%;
}

#section-promotion .promotion-image .promotion-img {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0;
    vertical-align: top;
    border-radius: 8px;
    border: 1px solid rgba(180, 180, 180, 0.2);
}

/* 情報セクション：プロモーションから青系・赤系を交互に（mainの2番目＝プロモーションは#section-promotionで青系） */
/* 赤系：mainの3,5,7,9…番目の子（ホームページ、制作ステップ、電子広告・看板、連携提案…） */
.info-section:nth-child(2n+3) {
    background: 
        radial-gradient(ellipse at 50% 50%, rgba(140, 60, 60, 0.08) 0%, transparent 70%),
        radial-gradient(ellipse at 80% 30%, rgba(130, 40, 50, 0.05) 0%, transparent 55%),
        radial-gradient(ellipse at 20% 70%, rgba(140, 50, 55, 0.04) 0%, transparent 55%),
        rgba(28, 12, 14, 0.5);
}
.info-section:nth-child(2n+3)::before {
    background: 
        radial-gradient(circle at 60% 20%, rgba(160, 70, 70, 0.06) 0%, transparent 40%),
        radial-gradient(circle at 30% 80%, rgba(140, 50, 55, 0.06) 0%, transparent 40%);
}
.info-section:nth-child(2n+3)::after {
    background: 
        radial-gradient(circle at 60% 20%, rgba(150, 60, 60, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 30% 80%, rgba(130, 40, 50, 0.05) 0%, transparent 40%);
}

/* 青系：mainの4,6,8,10…番目の子（料金、オプションサービス、ラジオCM、実績…）※プロモーションと同じトーン */
.info-section:nth-child(2n+4) {
    background: 
        radial-gradient(ellipse at 50% 50%, rgba(60, 100, 150, 0.08) 0%, transparent 70%),
        radial-gradient(ellipse at 80% 30%, rgba(40, 80, 130, 0.05) 0%, transparent 55%),
        radial-gradient(ellipse at 20% 70%, rgba(50, 90, 140, 0.04) 0%, transparent 55%),
        rgba(12, 18, 28, 0.5);
}
.info-section:nth-child(2n+4)::before {
    background: 
        radial-gradient(circle at 60% 20%, rgba(70, 110, 160, 0.06) 0%, transparent 40%),
        radial-gradient(circle at 30% 80%, rgba(50, 90, 140, 0.06) 0%, transparent 40%);
}
.info-section:nth-child(2n+4)::after {
    background: 
        radial-gradient(circle at 60% 20%, rgba(60, 100, 150, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 30% 80%, rgba(40, 80, 130, 0.05) 0%, transparent 40%);
}

/* セクション別：枠・ボタン・アクセントを背景色に合わせる */
/* 青系セクション（プロモーション、料金、オプションサービス、ラジオCM、実績） */
.info-section:nth-child(2n+2) .making-steps > li {
    border-color: rgba(100, 140, 180, 0.35);
    border-left-color: rgba(120, 160, 210, 0.9);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2), 0 0 20px rgba(80, 120, 160, 0.08);
}
.info-section:nth-child(2n+2) .making-steps > li::before {
    background: linear-gradient(135deg, rgba(120, 160, 210, 0.95) 0%, rgba(90, 130, 180, 0.95) 100%);
}
.info-section:nth-child(2n+2) .role-label {
    background: rgba(120, 160, 210, 0.9);
}
.info-section:nth-child(2n+2) .option-service-block {
    border-color: rgba(100, 140, 180, 0.35);
    border-left-color: rgba(120, 160, 210, 0.9);
}
.info-section:nth-child(2n+2) .option-service-detail dt {
    border-bottom-color: rgba(100, 140, 180, 0.25);
}
.info-section:nth-child(2n+2) .price-item {
    border-color: rgba(100, 140, 180, 0.4);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5), 0 0 24px rgba(80, 120, 160, 0.15);
}
.info-section:nth-child(2n+2) .price-item:hover {
    border-color: rgba(120, 160, 210, 0.6);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.6), 0 0 36px rgba(80, 120, 160, 0.3);
}
.info-section:nth-child(2n+2) .portfolio-item {
    border-color: rgba(100, 140, 180, 0.4);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5), 0 0 24px rgba(80, 120, 160, 0.15);
}
.info-section:nth-child(2n+2) .portfolio-item:hover {
    border-color: rgba(120, 160, 210, 0.6);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.6), 0 0 36px rgba(80, 120, 160, 0.3);
}
.info-section:nth-child(2n+2) .portfolio-image {
    border-color: rgba(100, 140, 180, 0.3);
}
.info-section:nth-child(2n+2) .company-detail dt {
    border-bottom-color: rgba(100, 140, 180, 0.4);
}
.info-section:nth-child(2n+2) .company-detail dt::before {
    background: rgba(120, 160, 210, 0.9);
    box-shadow: 0 0 8px rgba(80, 120, 160, 0.5);
}
.info-section:nth-child(2n+2) .form-group input,
.info-section:nth-child(2n+2) .form-group select,
.info-section:nth-child(2n+2) .form-group textarea {
    border-color: rgba(80, 120, 160, 0.4);
}
.info-section:nth-child(2n+2) .form-group input:focus,
.info-section:nth-child(2n+2) .form-group select:focus,
.info-section:nth-child(2n+2) .form-group textarea:focus {
    border-color: rgba(120, 160, 210, 0.8);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3), 0 0 12px rgba(80, 120, 160, 0.35), inset 0 1px 2px rgba(0, 0, 0, 0.2);
}
.info-section:nth-child(2n+2) .btn-submit {
    border-color: rgba(100, 140, 180, 0.6);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6), 0 2px 6px rgba(80, 120, 160, 0.25), inset 0 1px 3px rgba(120, 160, 210, 0.15), inset 0 -2px 3px rgba(0, 0, 0, 0.5), 0 0 15px rgba(80, 120, 160, 0.25);
}
.info-section:nth-child(2n+2) .btn-submit:hover {
    border-color: rgba(120, 160, 210, 0.9);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.7), 0 3px 8px rgba(80, 120, 160, 0.4), inset 0 2px 4px rgba(120, 160, 210, 0.2), inset 0 -2px 4px rgba(0, 0, 0, 0.6), 0 0 25px rgba(80, 120, 160, 0.4);
}
.info-section:nth-child(2n+2) .info-section-title::before {
    background: rgba(120, 160, 210, 0.5);
}

/* 赤系セクション（ホームページ、制作ステップ、電子広告・看板、連携提案、お問い合わせ） */
.info-section:nth-child(2n+3) .making-steps > li {
    border-color: rgba(160, 100, 100, 0.35);
    border-left-color: rgba(200, 120, 120, 0.9);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2), 0 0 20px rgba(140, 80, 80, 0.08);
}
.info-section:nth-child(2n+3) .making-steps > li::before {
    background: linear-gradient(135deg, rgba(200, 120, 120, 0.95) 0%, rgba(170, 100, 100, 0.95) 100%);
}
.info-section:nth-child(2n+3) .role-label {
    background: rgba(200, 120, 120, 0.9);
}
.info-section:nth-child(2n+3) .option-service-block {
    border-color: rgba(160, 100, 100, 0.35);
    border-left-color: rgba(200, 120, 120, 0.9);
}
.info-section:nth-child(2n+3) .option-service-detail dt {
    border-bottom-color: rgba(160, 100, 100, 0.25);
}
.info-section:nth-child(2n+3) .price-item {
    border-color: rgba(160, 100, 100, 0.4);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5), 0 0 24px rgba(140, 80, 80, 0.15);
}
.info-section:nth-child(2n+3) .price-item:hover {
    border-color: rgba(200, 120, 120, 0.6);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.6), 0 0 36px rgba(140, 80, 80, 0.3);
}
.info-section:nth-child(2n+3) .portfolio-item {
    border-color: rgba(160, 100, 100, 0.4);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5), 0 0 24px rgba(140, 80, 80, 0.15);
}
.info-section:nth-child(2n+3) .portfolio-item:hover {
    border-color: rgba(200, 120, 120, 0.6);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.6), 0 0 36px rgba(140, 80, 80, 0.3);
}
.info-section:nth-child(2n+3) .portfolio-image {
    border-color: rgba(160, 100, 100, 0.3);
}
.info-section:nth-child(2n+3) .company-detail dt {
    border-bottom-color: rgba(160, 100, 100, 0.4);
}
.info-section:nth-child(2n+3) .company-detail dt::before {
    background: rgba(200, 120, 120, 0.9);
    box-shadow: 0 0 8px rgba(140, 80, 80, 0.5);
}
.info-section:nth-child(2n+3) .form-group input,
.info-section:nth-child(2n+3) .form-group select,
.info-section:nth-child(2n+3) .form-group textarea {
    border-color: rgba(140, 80, 80, 0.4);
}
.info-section:nth-child(2n+3) .form-group input:focus,
.info-section:nth-child(2n+3) .form-group select:focus,
.info-section:nth-child(2n+3) .form-group textarea:focus {
    border-color: rgba(200, 120, 120, 0.8);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3), 0 0 12px rgba(140, 80, 80, 0.35), inset 0 1px 2px rgba(0, 0, 0, 0.2);
}
.info-section:nth-child(2n+3) .btn-submit {
    border-color: rgba(160, 100, 100, 0.6);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6), 0 2px 6px rgba(140, 80, 80, 0.25), inset 0 1px 3px rgba(200, 120, 120, 0.15), inset 0 -2px 3px rgba(0, 0, 0, 0.5), 0 0 15px rgba(140, 80, 80, 0.25);
}
.info-section:nth-child(2n+3) .btn-submit:hover {
    border-color: rgba(200, 120, 120, 0.9);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.7), 0 3px 8px rgba(140, 80, 80, 0.4), inset 0 2px 4px rgba(200, 120, 120, 0.2), inset 0 -2px 4px rgba(0, 0, 0, 0.6), 0 0 25px rgba(140, 80, 80, 0.4);
}
.info-section:nth-child(2n+3) .info-section-title::before {
    background: rgba(200, 120, 120, 0.5);
}

.info-section-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
    position: relative;
    z-index: 1;
}

.info-section-title {
    margin: 0 0 40px;
    color: var(--color-text);
    text-align: center;
    position: relative;
    padding-bottom: 24px;
    opacity: 0;
    transform: translateX(24px);
    transition: opacity 0.4s ease-out 0.1s, transform 0.4s ease-out 0.1s;
}

.info-section.is-visible .info-section-title {
    opacity: 1;
    transform: translateX(0);
}

.info-section-title-ja {
    display: block;
    font-size: 52px;
    font-weight: 700;
    letter-spacing: 0.12em;
    line-height: 1.2;
    margin-bottom: 8px;
}

.info-section-title-en {
    display: block;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    opacity: 0.85;
}

.info-section-title::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 2px;
    background: rgba(255, 255, 255, 0.4);
}

.info-section-title::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 180px;
    height: 1px;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.25) 50%,
        transparent 100%
    );
}

.info-section-content {
    color: var(--color-text-muted);
    line-height: 1.8;
    font-size: 16px;
    opacity: 0;
    transform: translateX(24px);
    transition: opacity 0.4s ease-out 0.15s, transform 0.4s ease-out 0.15s;
}

.info-section.is-visible .info-section-content {
    opacity: 1;
    transform: translateX(0);
}

.info-section-content p {
    margin: 0 0 24px;
}

.info-section-content h3 {
    font-size: 28px;
    font-weight: 600;
    margin: 48px 0 24px;
    color: var(--color-text);
    letter-spacing: 0.05em;
}

.info-section-content ul,
.info-section-content ol {
    margin: 24px 0;
    padding-left: 32px;
    line-height: 2;
}

.info-section-content li {
    margin-bottom: 12px;
}

.philosophy-title-image {
    margin: 0 0 32px;
    text-align: center;
}

.philosophy-title-image .philosophy-title-img {
    width: 100%;
    max-width: 900px;
    height: auto;
    display: block;
    margin: 0 auto;
    vertical-align: top;
}

.info-section-content .philosophy-lead {
    font-size: 1.15em;
    font-weight: 500;
    margin-bottom: 1.5em;
}

.info-section-content .philosophy-pillars {
    list-style: none;
    padding-left: 0;
    margin-top: 1.5em;
}

.info-section-content .philosophy-pillars li {
    margin-bottom: 2em;
    padding-left: 0;
}

.info-section-content .philosophy-pillars li:last-child {
    margin-bottom: 0;
}

.info-section-content .philosophy-pillars strong {
    display: inline-block;
    margin-bottom: 0.35em;
}

/* 制作ステップ：縦並びボックス、D-ING／顧客の区別 */
.making-steps {
    list-style: none;
    padding-left: 0;
    margin: 32px 0 0;
    counter-reset: making-step;
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.making-steps > li {
    margin: 0;
    padding: 28px 32px;
    counter-increment: making-step;
    background: rgba(18, 18, 32, 0.6);
    border: 1px solid rgba(180, 180, 180, 0.2);
    border-radius: 10px;
    border-left: 4px solid var(--color-accent);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}
.making-steps > li::before {
    content: counter(making-step);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.2em;
    height: 2.2em;
    min-width: 2.2em;
    margin-right: 14px;
    font-size: 18px;
    font-weight: 700;
    color: var(--color-base-dark);
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-sub) 100%);
    border-radius: 6px;
    text-align: center;
    vertical-align: middle;
}
.making-steps > li strong {
    display: inline;
    vertical-align: middle;
    font-size: 20px;
}
.making-step-desc {
    margin: 14px 0 16px 0;
    padding-left: 0;
    font-size: 15px;
    color: var(--color-text-muted);
    line-height: 1.7;
}
.making-step-roles {
    margin: 0;
    padding-left: 0;
    list-style: none;
    font-size: 14px;
    line-height: 1.8;
}
.making-step-roles li {
    margin-bottom: 10px;
    padding-left: 0;
}
.making-step-roles li:last-child {
    margin-bottom: 0;
}
.role-label {
    display: inline-block;
    min-width: 4em;
    padding: 2px 8px;
    margin-right: 8px;
    font-size: 12px;
    font-weight: 600;
    color: var(--color-base-dark);
    background: var(--color-accent);
    border-radius: 3px;
}

.info-section-content strong {
    color: var(--color-text);
    font-weight: 600;
}

/* プロモーション導入文 */
.promotion-lead {
    font-size: 17px;
    line-height: 1.85;
    color: var(--color-text);
    margin-bottom: 28px;
}

/* オプションサービス紹介 */
.option-lead {
    font-size: 17px;
    line-height: 1.75;
    color: var(--color-text-muted);
    margin-bottom: 40px;
}

/* セクション内画像：コンテンツ幅に合わせる（プロモーション・制作ステップ・電子広告） */
.making-step-img {
    margin: 0 0 32px;
    width: 100%;
}
.making-step-img img {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    border: 1px solid rgba(160, 160, 160, 0.2);
}

/* 電子広告・電子看板セクションの画像 */
.signage-image {
    margin: 0 0 40px;
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(160, 160, 160, 0.2);
}
.signage-image img {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
}
#section-signage .signage-image {
    border-color: rgba(160, 100, 100, 0.35);
}

/* ラジオCMセクションの画像 */
.commercial-image {
    margin: 0 0 40px;
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(160, 160, 160, 0.2);
}
.commercial-image img {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
}

.option-service-block {
    margin-bottom: 40px;
    padding: 28px 32px;
    background: rgba(18, 18, 32, 0.6);
    border: 1px solid rgba(160, 160, 160, 0.2);
    border-radius: 8px;
    border-left: 4px solid var(--color-accent);
}

.option-service-block:last-child {
    margin-bottom: 0;
}

.option-service-block h3 {
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 12px;
    color: var(--color-text);
}

.option-service-block p {
    font-size: 15px;
    line-height: 1.65;
    color: var(--color-text-muted);
    margin: 0 0 8px;
}

.option-service-block p:last-child {
    margin-bottom: 0;
}

.option-service-head {
    font-size: 22px;
    font-weight: 600;
    color: var(--color-text);
    margin: 0 0 16px;
    line-height: 1.4;
}

.option-service-desc {
    font-size: 15px;
    line-height: 1.7;
    color: var(--color-text-muted);
    margin: 0 0 20px;
}

.option-service-price {
    font-size: 16px;
    font-weight: 600;
    color: var(--color-accent-light);
    margin: 0 0 12px;
    letter-spacing: 0.02em;
}

.option-service-detail {
    margin: 0;
}

.option-service-detail dt {
    font-size: 16px;
    font-weight: 600;
    color: var(--color-text);
    margin: 20px 0 8px;
    padding-bottom: 6px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.option-service-detail dt:first-child {
    margin-top: 0;
}

.option-service-detail dd {
    font-size: 15px;
    line-height: 1.65;
    color: var(--color-text-muted);
    margin: 0 0 0 1em;
    padding-left: 0;
}

.option-price {
    font-size: 14px;
    font-weight: 500;
    color: var(--color-accent);
}

/* 料金リスト */
.price-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    margin: 48px 0;
}

.price-item {
    background: 
        linear-gradient(135deg, rgba(18, 18, 32, 0.95) 0%, rgba(22, 22, 42, 0.95) 100%),
        radial-gradient(ellipse at 50% 50%, rgba(180, 180, 180, 0.08) 0%, transparent 70%);
    border: 1px solid rgba(180, 180, 180, 0.35);
    padding: 36px 32px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    box-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.5),
        0 0 24px rgba(180, 180, 180, 0.12);
}

.price-item:hover {
    transform: translateY(-4px);
    border-color: rgba(180, 180, 180, 0.5);
    box-shadow: 
        0 8px 28px rgba(0, 0, 0, 0.6),
        0 0 36px rgba(180, 180, 180, 0.25);
}

.price-item h3 {
    font-size: 22px;
    margin: 0 0 20px;
    color: var(--color-text);
    line-height: 1.4;
    font-weight: 600;
}

.price-item .price {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-accent-light);
    margin: 20px 0;
    line-height: 1.6;
    letter-spacing: 0.02em;
    text-shadow: 0 0 12px rgba(180, 180, 180, 0.5);
}

.price-item .price-initial,
.price-item .price-monthly {
    display: block;
}

.price-item .price-monthly {
    margin-top: 4px;
}

.price-item p {
    margin: 10px 0;
    font-size: 15px;
    line-height: 1.65;
    color: var(--color-text-muted);
}

.price-item p:last-child {
    margin-bottom: 0;
    color: var(--color-text-sub);
    font-size: 14px;
}

/* ポートフォリオリスト */
.portfolio-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin: 48px 0;
}

.portfolio-item {
    background: 
        linear-gradient(135deg, rgba(18, 18, 32, 0.95) 0%, rgba(22, 22, 42, 0.95) 100%),
        radial-gradient(ellipse at 50% 50%, rgba(160, 160, 160, 0.08) 0%, transparent 70%);
    border: 1px solid rgba(160, 160, 160, 0.35);
    padding: 36px 32px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    box-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.5),
        0 0 24px rgba(160, 160, 160, 0.12);
}

.portfolio-item:hover {
    transform: translateY(-4px);
    border-color: rgba(160, 160, 160, 0.5);
    box-shadow: 
        0 8px 28px rgba(0, 0, 0, 0.6),
        0 0 36px rgba(160, 160, 160, 0.25);
}

.portfolio-item > h3 {
    font-size: 22px;
    margin: 0 0 16px;
    color: var(--color-text);
    line-height: 1.4;
    font-weight: 600;
}

.portfolio-item p {
    margin: 10px 0;
    font-size: 15px;
    line-height: 1.65;
    color: var(--color-text-muted);
}

.portfolio-item a {
    color: var(--color-accent);
    text-decoration: none;
    transition: color 0.3s ease, text-shadow 0.3s ease;
    word-break: break-all;
}

.portfolio-item a:hover {
    color: var(--color-accent-light);
    text-shadow: 0 0 8px rgba(180, 180, 180, 0.6);
}

.portfolio-image {
    width: 100%;
    max-height: 280px;
    margin-bottom: 24px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(160, 160, 160, 0.2);
}

.portfolio-image a {
    display: block;
    text-decoration: none;
    width: 100%;
    height: 100%;
}

.portfolio-image img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    object-position: top center;
    display: block;
}

.info-section-content a {
    color: var(--color-accent);
    text-decoration: none;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.info-section-content a:hover {
    color: var(--color-accent-light);
    text-shadow: 0 0 8px rgba(180, 180, 180, 0.6);
}

/* 会社概要 */
.company-info {
    margin-top: 32px;
}

.company-detail {
    margin: 0;
    padding: 0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.company-detail dt {
    margin-top: 32px;
    margin-bottom: 12px;
    font-size: 18px;
    font-weight: 600;
    color: var(--color-text);
    border-bottom: 1px solid rgba(180, 180, 180, 0.3);
    padding-bottom: 12px;
    position: relative;
}

.company-detail dt:first-child {
    margin-top: 0;
}

.company-detail dt::before {
    content: '';
    position: absolute;
    left: -16px;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 4px;
    background: var(--color-accent);
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(180, 180, 180, 0.6);
}

.company-detail dd {
    margin: 0 0 24px 24px;
    padding-left: 16px;
    line-height: 1.8;
    color: var(--color-text-muted);
}

.company-detail dd ul {
    margin: 12px 0;
    padding-left: 24px;
}

.company-detail dd p {
    margin: 12px 0;
}

/* お問い合わせフォーム */
.form-message {
    margin: 24px 0;
    padding: 20px 24px;
    border-radius: 8px;
    border: 1px solid;
}
.form-message p {
    margin: 0;
    font-size: 15px;
    line-height: 1.7;
}
.form-message-success {
    background: rgba(60, 120, 80, 0.15);
    border-color: rgba(80, 160, 100, 0.5);
    color: var(--color-text);
}
.form-message-error {
    background: rgba(140, 60, 60, 0.15);
    border-color: rgba(180, 80, 80, 0.5);
    color: var(--color-text);
}

.contact-form .field-error {
    display: block;
    margin-top: 6px;
    font-size: 13px;
    color: #e88;
}

.contact-form .form-group input[aria-invalid="true"],
.contact-form .form-group select[aria-invalid="true"],
.contact-form .form-group textarea[aria-invalid="true"] {
    border-color: rgba(220, 100, 100, 0.8);
    box-shadow: 0 0 0 1px rgba(220, 100, 100, 0.3);
}

.contact-form {
    margin-top: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text);
}

.form-group .required {
    color: #c0c0c0;
    margin-left: 4px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    background: rgba(26, 26, 26, 0.8);
    border: 1px solid var(--color-border);
    color: var(--color-text);
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 
        0 2px 8px rgba(0, 0, 0, 0.3),
        inset 0 1px 2px rgba(0, 0, 0, 0.2);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 
        0 2px 8px rgba(0, 0, 0, 0.3),
        0 0 12px rgba(180, 180, 180, 0.3),
        inset 0 1px 2px rgba(0, 0, 0, 0.2);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.btn-submit {
    width: 100%;
    padding: 16px;
    background: 
        linear-gradient(135deg, rgba(0, 25, 50, 0.9) 0%, rgba(0, 15, 35, 0.95) 50%, rgba(0, 20, 45, 0.9) 100%),
        radial-gradient(ellipse at 50% 50%, rgba(180, 180, 180, 0.15) 0%, transparent 70%);
    border: 1px solid rgba(180, 180, 180, 0.5);
    color: var(--color-text);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    box-shadow:
        0 4px 12px rgba(0, 0, 0, 0.6),
        0 2px 6px rgba(180, 180, 180, 0.2),
        inset 0 1px 3px rgba(180, 180, 180, 0.1),
        inset 0 -2px 3px rgba(0, 0, 0, 0.5),
        0 0 15px rgba(180, 180, 180, 0.2);
}

.btn-submit:hover {
    transform: translateY(-2px);
    border-color: rgba(180, 180, 180, 0.8);
    box-shadow:
        0 6px 16px rgba(0, 0, 0, 0.7),
        0 3px 8px rgba(180, 180, 180, 0.4),
        inset 0 2px 4px rgba(180, 180, 180, 0.15),
        inset 0 -2px 4px rgba(0, 0, 0, 0.6),
        0 0 25px rgba(180, 180, 180, 0.4);
}

/* ------------------------------
   フッター
------------------------------ */
.site-footer {
    border-top: 2px solid rgba(180, 180, 180, 0.2);
    background: rgba(12, 12, 14, 0.95);
    padding: 20px 0 28px;
    position: relative;
    z-index: 1;
    box-shadow: 0 0 20px rgba(180, 180, 180, 0.1);
}

.footer-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    font-size: 11px;
    color: var(--color-text-sub);
}

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

.footer-nav a {
    opacity: 0.75;
    color: var(--color-text-sub);
    transition: opacity 0.2s ease, color 0.2s ease;
}

.footer-nav a:hover {
    opacity: 1;
    color: var(--color-accent);
    text-shadow: 0 0 8px rgba(180, 180, 180, 0.4);
}

/* ------------------------------
   オーバーレイ
------------------------------ */
.overlay {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.overlay.is-open {
    display: flex;
    opacity: 1;
}

.overlay-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
}

.overlay-container {
    position: relative;
    z-index: 1001;
    width: 95%;
    max-width: 1000px;
    max-height: 95vh;
    background: 
        linear-gradient(135deg, rgba(12, 12, 14, 0.98) 0%, rgba(18, 18, 22, 0.98) 50%, rgba(12, 12, 14, 0.98) 100%),
        radial-gradient(ellipse at 50% 50%, rgba(180, 180, 180, 0.08) 0%, transparent 70%);
    border: 1px solid rgba(180, 180, 180, 0.3);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.8),
        0 4px 16px rgba(0, 0, 0, 0.6),
        0 2px 8px rgba(0, 0, 0, 0.4),
        inset 0 1px 4px rgba(180, 180, 180, 0.1),
        inset 0 -1px 4px rgba(0, 0, 0, 0.3),
        0 0 40px rgba(180, 180, 180, 0.2);
    border-radius: 0;
    overflow: hidden;
    transform: translateY(20px) scale(0.98);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-top: 20px;
    backdrop-filter: blur(10px);
}

.overlay-container::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, 
        rgba(180, 180, 180, 0.4) 0%,
        rgba(160, 160, 160, 0.2) 25%,
        rgba(180, 180, 180, 0.3) 50%,
        rgba(160, 160, 160, 0.2) 75%,
        rgba(180, 180, 180, 0.4) 100%
    );
    z-index: -1;
    opacity: 0.5;
}

/* 第3層のページ：背景に1枚目のページを表示 */
.overlay-container.is-third-level::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: 20px;
    bottom: 20px;
    background: 
        linear-gradient(135deg, rgba(10, 10, 10, 0.95) 0%, rgba(20, 20, 20, 0.95) 50%, rgba(10, 10, 10, 0.95) 100%);
    border: 1px solid rgba(160, 160, 160, 0.1);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.8),
        0 4px 16px rgba(0, 0, 0, 0.6),
        inset 0 1px 4px rgba(255, 255, 255, 0.05),
        inset 0 -1px 4px rgba(0, 0, 0, 0.3);
    z-index: -1;
    opacity: 1;
}

.overlay-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent 0%,
        rgba(180, 180, 180, 0.7) 20%,
        rgba(160, 160, 160, 0.5) 50%,
        rgba(180, 180, 180, 0.7) 80%,
        transparent 100%
    );
    z-index: 1;
    box-shadow: 0 0 10px rgba(180, 180, 180, 0.4);
}

.overlay.is-open .overlay-container {
    transform: translateY(0) scale(1);
    box-shadow:
        0 12px 40px rgba(0, 0, 0, 0.85),
        0 6px 20px rgba(0, 0, 0, 0.7),
        0 3px 10px rgba(0, 0, 0, 0.5),
        inset 0 1px 4px rgba(180, 180, 180, 0.1),
        inset 0 -1px 4px rgba(0, 0, 0, 0.3),
        0 0 50px rgba(180, 180, 180, 0.3);
}

/* 第3層のページ：2枚重なっているように表示 */
.overlay-container.is-third-level {
    transform: translateY(40px) translateX(20px) scale(0.96);
    z-index: 1002;
}

.overlay-container.is-third-level::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: 20px;
    bottom: 20px;
    background: 
        linear-gradient(135deg, rgba(10, 10, 10, 0.95) 0%, rgba(20, 20, 20, 0.95) 50%, rgba(10, 10, 10, 0.95) 100%);
    border: 1px solid rgba(160, 160, 160, 0.1);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.8),
        0 4px 16px rgba(0, 0, 0, 0.6),
        inset 0 1px 4px rgba(255, 255, 255, 0.05),
        inset 0 -1px 4px rgba(0, 0, 0, 0.3);
    z-index: -1;
}

.overlay.is-open .overlay-container.is-third-level {
    transform: translateY(20px) translateX(10px) scale(1);
    box-shadow:
        0 16px 50px rgba(0, 0, 0, 0.9),
        0 8px 25px rgba(0, 0, 0, 0.75),
        0 4px 12px rgba(0, 0, 0, 0.6),
        inset 0 1px 4px rgba(255, 255, 255, 0.05),
        inset 0 -1px 4px rgba(0, 0, 0, 0.3);
}

.overlay-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, rgba(12, 12, 14, 0.95) 0%, rgba(18, 18, 22, 0.95) 100%);
    border: 2px solid rgba(180, 180, 180, 0.4);
    color: var(--color-text);
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    z-index: 1002;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border-radius: 0;
    box-shadow:
        0 4px 12px rgba(0, 0, 0, 0.6),
        inset 0 1px 2px rgba(180, 180, 180, 0.1),
        inset 0 -1px 2px rgba(0, 0, 0, 0.4),
        0 0 15px rgba(180, 180, 180, 0.2);
}

.overlay-close::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, 
        rgba(180, 180, 180, 0.4) 0%,
        rgba(160, 160, 160, 0.3) 50%,
        rgba(180, 180, 180, 0.4) 100%
    );
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
    filter: blur(4px);
}

.overlay-close:hover {
    background: linear-gradient(135deg, rgba(14, 14, 16, 0.98) 0%, rgba(20, 20, 22, 0.98) 100%);
    border-color: rgba(180, 180, 180, 0.8);
    transform: scale(1.1) rotate(90deg);
    box-shadow:
        0 6px 16px rgba(0, 0, 0, 0.7),
        0 0 12px rgba(180, 180, 180, 0.5),
        inset 0 2px 4px rgba(180, 180, 180, 0.2),
        inset 0 -2px 4px rgba(0, 0, 0, 0.5);
    color: var(--color-accent);
    text-shadow: 0 0 10px rgba(180, 180, 180, 0.6);
}

.overlay-close:hover::before {
    opacity: 1;
}

.overlay-body {
    padding: 48px 40px;
    overflow-y: auto;
    max-height: 90vh;
    color: var(--color-text);
}

.overlay-body h2 {
    margin: 0 0 20px;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--color-text);
}

.overlay-body h3 {
    margin: 24px 0 12px;
    font-size: 20px;
    font-weight: 500;
    color: var(--color-text);
}

.overlay-body p {
    margin: 0 0 16px;
    line-height: 1.8;
    color: var(--color-text-muted);
}

.overlay-body ul,
.overlay-body ol {
    margin: 16px 0;
    padding-left: 24px;
    line-height: 1.8;
    color: var(--color-text-muted);
}

.overlay-body li {
    margin-bottom: 8px;
}

.overlay-body strong {
    color: var(--color-text);
    font-weight: 500;
}

.overlay-content {
    width: 100%;
}

/* 会社概要ページのスタイル */
.company-info {
    margin-top: 24px;
}

.company-detail {
    margin: 0;
    padding: 0;
}

.company-detail dt {
    margin-top: 20px;
    margin-bottom: 8px;
    font-size: 16px;
    font-weight: 500;
    color: var(--color-text);
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 8px;
}

.company-detail dt:first-child {
    margin-top: 0;
}

.company-detail dd {
    margin: 0 0 16px 0;
    padding-left: 16px;
    line-height: 1.8;
    color: var(--color-text-muted);
}

.company-detail dd ul {
    margin: 8px 0;
    padding-left: 20px;
}

.company-detail dd p {
    margin: 8px 0;
}

.overlay-loading,
.overlay-error {
    text-align: center;
    padding: 40px;
    color: var(--color-text-muted);
}

.overlay-error {
    color: #c0c0c0;
}

/* お問い合わせフォーム */
.contact-form {
    margin-top: 24px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text);
}

.form-group .required {
    color: #c0c0c0;
    margin-left: 4px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    background: rgba(26, 26, 26, 0.8);
    border: 1px solid var(--color-border);
    color: var(--color-text);
    font-size: 14px;
    font-family: inherit;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-accent);
    background: rgba(26, 26, 26, 0.95);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.btn-submit {
    width: 100%;
    padding: 14px 32px;
    background: linear-gradient(135deg, #4a4a4a 0%, #3a3a3a 40%, #2a2a2a 70%, #3a3a3a 100%);
    color: var(--color-text);
    border: 1px solid var(--color-border);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.08em;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow:
        0 8px 24px rgba(0, 0, 0, 0.7),
        0 4px 12px rgba(160, 160, 160, 0.2),
        inset 0 2px 4px rgba(255, 255, 255, 0.15),
        inset 0 -2px 4px rgba(0, 0, 0, 0.6),
        inset 0 0 15px rgba(180, 180, 180, 0.06);
}

.btn-submit:hover {
    background: linear-gradient(135deg, #5a5a5a 0%, #4a4a4a 40%, #3a3a3a 70%, #4a4a4a 100%);
    transform: translateY(-2px);
    box-shadow:
        0 10px 28px rgba(0, 0, 0, 0.8),
        0 5px 14px rgba(160, 160, 160, 0.25),
        inset 0 2px 6px rgba(255, 255, 255, 0.2),
        inset 0 -2px 6px rgba(0, 0, 0, 0.7),
        inset 0 0 20px rgba(180, 180, 180, 0.08);
}


/* 実績リスト */
.portfolio-list {
    display: grid;
    gap: 20px;
    margin: 24px 0;
}

.portfolio-item {
    padding: 20px;
    background: rgba(26, 26, 26, 0.5);
    border: 1px solid var(--color-border);
    border-radius: 0;
}

.portfolio-item h3 {
    margin: 0 0 8px;
    font-size: 18px;
}

.portfolio-item p {
    margin: 4px 0;
    font-size: 14px;
}

/* ------------------------------
   レスポンシブ微調整（PC内）
------------------------------ */
@media (max-width: 1100px) {
    /* 中幅以下：ヘッダーナビをハンバーガーメニューに切り替え（溢出防止） */
    .nav-toggle {
        display: flex !important;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 5px;
        width: 44px;
        height: 44px;
        padding: 0;
        border: 1px solid rgba(255, 255, 255, 0.3);
        border-radius: 6px;
        background: rgba(255, 255, 255, 0.06);
        color: var(--color-text);
        cursor: pointer;
        transition: background 0.2s ease, border-color 0.2s ease;
    }
    .nav-toggle:hover {
        background: rgba(255, 255, 255, 0.1);
        border-color: rgba(255, 255, 255, 0.5);
    }
    .nav-toggle span {
        display: block;
        width: 20px;
        height: 2px;
        background: currentColor;
        border-radius: 1px;
        transition: transform 0.25s ease, opacity 0.2s ease;
    }
    .nav-toggle.is-open span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }
    .nav-toggle.is-open span:nth-child(2) {
        opacity: 0;
    }
    .nav-toggle.is-open span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .nav-close {
        display: block !important;
        width: 100%;
        max-width: 320px;
        margin: 0 24px 16px;
        padding: 14px 20px;
        font-size: 15px;
        color: var(--color-text);
        background: rgba(255, 255, 255, 0.08);
        border: 1px solid rgba(255, 255, 255, 0.2);
        border-radius: 8px;
        cursor: pointer;
        transition: background 0.2s ease, border-color 0.2s ease;
    }
    .nav-close:hover {
        background: rgba(255, 255, 255, 0.12);
        border-color: rgba(255, 255, 255, 0.35);
    }

    .global-nav {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 9998;
        background: #0a0a0a;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 72px;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity 0.25s ease, visibility 0.25s ease;
    }
    .global-nav.is-open {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }
    .global-nav ul,
    .global-nav .global-nav-list {
        display: flex !important;
        flex-direction: column;
        flex-wrap: nowrap;
        gap: 0;
        margin: 0;
        padding: 0 24px 48px;
        list-style: none;
        font-size: 16px;
        align-items: stretch;
        width: 100%;
        max-width: 320px;
        max-height: calc(100vh - 72px);
        overflow-y: auto;
    }
    .global-nav li {
        margin: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }
    .global-nav li:last-child {
        border-bottom: none;
    }
    .global-nav a {
        display: block;
        padding: 16px 12px;
        font-size: 15px;
        color: var(--color-text);
        opacity: 0.9;
    }
    .global-nav a:hover,
    .global-nav a:focus {
        opacity: 1;
        color: var(--color-accent);
        background: rgba(255, 255, 255, 0.04);
    }
    .global-nav a::after {
        display: none;
    }

    /* 中幅以下：ドロップダウンを常に表示するサブメニューに */
    .global-nav .global-nav-dropdown {
        position: static;
        transform: none;
        min-width: 0;
        padding: 0 0 0 16px;
        margin: 0;
        background: transparent;
        border: none;
        border-radius: 0;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }
    .global-nav .global-nav-dropdown li {
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }
    .global-nav .global-nav-dropdown a {
        padding: 12px 12px;
        font-size: 14px;
    }
    .global-nav .nav-dropdown-trigger::before {
        display: none;
    }

    .tree-nav {
        padding: 32px 32px 28px;
    }

    .tree-row {
        gap: 26px;
    }

    .overlay-container {
        width: 95%;
        max-width: 700px;
    }

    .overlay-body {
        padding: 36px 32px;
    }
}

