/*
Theme Name: 安心行政書士事務所
Theme URI: https://example.com/anshin-office
Author: Anshin Office
Author URI: https://example.com
Description: 相続・離婚相談、個人事業主の方を地域密着でサポートする行政書士事務所向けWordPressテーマ。温かみのあるデザインとアクセシビリティを重視。
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: anshin-office
Tags: one-column, custom-colors, custom-logo, featured-images, accessibility-ready
Requires at least: 6.0
Requires PHP: 7.4
*/

/* =============================================
   安心行政書士事務所 - メインスタイルシート
   配色: Main #5D7254 / Accent #E8A07A / Base #FDFCF8
   フォント: Shippori Mincho (見出し) / Noto Sans JP (本文)
   ============================================= */

/* --- CSS Custom Properties（デザイントークン） --- */
:root {
    --color-main: #5D7254;
    --color-main-dark: #4A5C43;
    --color-main-light: #7A9470;
    --color-main-pale: #E8EFE5;
    --color-accent: #E8A07A;
    --color-accent-dark: #D4865A;
    --color-accent-light: #F2C4A8;
    --color-base: #FDFCF8;
    --color-base-warm: #F7F4EC;
    --color-text: #3A3A3A;
    --color-text-light: #6B6B6B;
    --color-white: #FFFFFF;
    --color-border: #E0DDD5;
    --font-heading: 'Shippori Mincho', serif;
    --font-body: 'Noto Sans JP', sans-serif;
    --radius: 16px;
    --radius-sm: 10px;
    --radius-lg: 24px;
    --radius-full: 9999px;
    --shadow-sm: 0 2px 8px rgba(93, 114, 84, 0.08);
    --shadow-md: 0 4px 20px rgba(93, 114, 84, 0.1);
    --shadow-lg: 0 8px 40px rgba(93, 114, 84, 0.12);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --container-max: 1120px;
}

/* --- リセット & ベース --- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.8;
    color: var(--color-text);
    background-color: var(--color-base);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--color-main);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--color-accent);
}

ul {
    list-style: none;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

/* --- アニメーション --- */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* =============================================
   ヘッダー
   ============================================= */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 16px 0;
    transition: background 0.4s ease, box-shadow 0.4s ease, padding 0.4s ease;
}

.site-header.scrolled {
    background: rgba(253, 252, 248, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow-sm);
    padding: 10px 0;
}

.header-inner {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--color-white);
    transition: var(--transition);
}

.site-header.scrolled .site-logo {
    color: var(--color-main);
}

.logo-icon {
    font-size: 1.6rem;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 0.05em;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-list a {
    color: var(--color-white);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    position: relative;
    padding: 4px 0;
}

.site-header.scrolled .nav-list a {
    color: var(--color-text);
}

.nav-list a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-accent);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.nav-list a:hover::after {
    width: 100%;
}

.nav-cta {
    background: var(--color-accent) !important;
    color: var(--color-white) !important;
    padding: 10px 24px !important;
    border-radius: var(--radius-full);
    font-weight: 600 !important;
    letter-spacing: 0.05em;
}

.nav-cta:hover {
    background: var(--color-accent-dark) !important;
    transform: translateY(-1px);
}

.nav-cta::after {
    display: none !important;
}

/* ハンバーガーメニュー */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 28px;
    height: 2px;
    background: var(--color-white);
    border-radius: 2px;
    transition: var(--transition);
}

.site-header.scrolled .hamburger span {
    background: var(--color-main);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* =============================================
   ヒーローエリア
   ============================================= */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
            rgba(93, 114, 84, 0.55) 0%,
            rgba(93, 114, 84, 0.35) 50%,
            rgba(232, 160, 122, 0.2) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 24px 120px;
}

.hero-title {
    margin-bottom: 24px;
}

.hero-title-vertical {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 600;
    color: var(--color-white);
    line-height: 1.6;
    letter-spacing: 0.12em;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
    writing-mode: vertical-rl;
    display: inline-block;
    text-orientation: mixed;
    height: auto;
    padding: 20px 16px;
}

.hero-subtitle {
    font-family: var(--font-body);
    font-size: clamp(0.95rem, 2vw, 1.15rem);
    color: rgba(255, 255, 255, 0.92);
    margin-bottom: 40px;
    font-weight: 400;
    letter-spacing: 0.04em;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.1);
}

.hero-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--color-accent);
    color: var(--color-white);
    padding: 16px 40px;
    border-radius: var(--radius-full);
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    box-shadow: 0 4px 20px rgba(232, 160, 122, 0.4);
    transition: var(--transition);
    min-height: 54px;
}

.hero-cta-btn:hover {
    background: var(--color-accent-dark);
    color: var(--color-white);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(232, 160, 122, 0.5);
}

.hero-wave {
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    z-index: 3;
}

.hero-wave svg {
    display: block;
    width: 100%;
    height: 80px;
}

/* =============================================
   セクション共通
   ============================================= */
.section-header {
    text-align: center;
    margin-bottom: 56px;
}

.section-label {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    color: var(--color-accent);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(1.6rem, 4vw, 2.2rem);
    font-weight: 600;
    color: var(--color-main);
    letter-spacing: 0.05em;
    line-height: 1.5;
}

.section-desc {
    font-size: 0.95rem;
    color: var(--color-text-light);
    margin-top: 12px;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}

/* 手書き風アンダーライン */
.handwritten-underline {
    position: relative;
    display: inline;
}

.handwritten-underline::after {
    content: '';
    position: absolute;
    left: -4px;
    right: -4px;
    bottom: 0;
    height: 10px;
    background: var(--color-accent-light);
    opacity: 0.5;
    border-radius: 4px;
    z-index: -1;
    transform: skewX(-3deg);
}

/* =============================================
   よくあるお悩み
   ============================================= */
.problems {
    padding: 100px 0 80px;
    background: var(--color-base);
}

.problems-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

.problem-bubble {
    background: var(--color-white);
    border-radius: var(--radius);
    padding: 28px 24px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border);
    transition: var(--transition);
    position: relative;
}

.problem-bubble::before {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 28px;
    width: 20px;
    height: 20px;
    background: var(--color-white);
    border-right: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    transform: rotate(45deg);
}

.problem-bubble:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.bubble-icon {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--color-main-pale);
    display: flex;
    align-items: center;
    justify-content: center;
}

.bubble-text {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--color-text);
    padding-top: 4px;
}

.bubble-text strong {
    color: var(--color-main);
    font-weight: 600;
}

/* 解決メッセージ */
.problems-resolve {
    text-align: center;
    padding: 40px 24px;
    background: linear-gradient(135deg, var(--color-main), var(--color-main-light));
    border-radius: var(--radius-lg);
    color: var(--color-white);
    position: relative;
    overflow: hidden;
}

.problems-resolve::before {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
}

.problems-resolve::after {
    content: '';
    position: absolute;
    bottom: -40px;
    left: -40px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
}

.resolve-circle {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.resolve-text {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
}

.resolve-text strong {
    font-weight: 700;
}

.resolve-btn {
    display: inline-block;
    background: var(--color-white);
    color: var(--color-main);
    padding: 14px 40px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.04em;
    transition: var(--transition);
    position: relative;
    z-index: 1;
    min-height: 48px;
}

.resolve-btn:hover {
    background: var(--color-base);
    color: var(--color-main);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

/* =============================================
   お客様の声
   ============================================= */
.voice {
    padding: 100px 0;
    background: var(--color-base-warm);
}

.voice-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.voice-card {
    background: var(--color-white);
    border-radius: var(--radius);
    padding: 32px 28px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.voice-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.voice-card-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
}

.voice-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--color-main-pale);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.voice-avatar span {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-main);
}

.voice-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.voice-tag {
    font-size: 0.75rem;
    padding: 3px 10px;
    border-radius: var(--radius-full);
    font-weight: 500;
}

.voice-tag-area {
    background: var(--color-main-pale);
    color: var(--color-main);
}

.voice-tag-age {
    background: var(--color-accent-light);
    color: var(--color-accent-dark);
}

.voice-stars {
    color: var(--color-accent);
    font-size: 1rem;
    letter-spacing: 3px;
    margin-bottom: 14px;
}

.voice-text {
    font-size: 0.9rem;
    line-height: 1.8;
    color: var(--color-text);
    flex: 1;
    margin-bottom: 16px;
}

.voice-text strong {
    color: var(--color-main);
    font-weight: 600;
}

.voice-category {
    display: inline-block;
    font-size: 0.8rem;
    color: var(--color-text-light);
    border: 1px solid var(--color-border);
    padding: 4px 12px;
    border-radius: var(--radius-full);
    align-self: flex-start;
}

/* =============================================
   相談までの流れ
   ============================================= */
.flow {
    padding: 100px 0;
    background: var(--color-base);
}

.flow-steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 16px;
}

.flow-step {
    flex: 1;
    max-width: 320px;
    text-align: center;
    padding: 40px 24px;
    background: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border);
    transition: var(--transition);
    position: relative;
}

.flow-step:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.step-number {
    font-family: var(--font-heading);
    font-size: 2.6rem;
    font-weight: 700;
    color: var(--color-accent);
    line-height: 1;
    margin-bottom: 16px;
    opacity: 0.7;
}

.step-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--color-main-pale);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.step-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--color-main);
    margin-bottom: 12px;
    letter-spacing: 0.04em;
}

.step-desc {
    font-size: 0.88rem;
    line-height: 1.8;
    color: var(--color-text-light);
}

.flow-connector {
    display: flex;
    align-items: center;
    padding-top: 100px;
    opacity: 0.5;
}

/* =============================================
   スタッフ紹介
   ============================================= */
.team {
    padding: 100px 0;
    background: var(--color-base-warm);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.team-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border);
    transition: var(--transition);
}

.team-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.team-photo {
    position: relative;
    height: 220px;
    background: linear-gradient(135deg, var(--color-main-pale), var(--color-base-warm));
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-photo-placeholder {
    opacity: 0.6;
}

.team-info {
    padding: 24px;
}

.team-role {
    display: inline-block;
    font-size: 0.78rem;
    color: var(--color-accent-dark);
    background: var(--color-accent-light);
    padding: 3px 12px;
    border-radius: var(--radius-full);
    margin-bottom: 8px;
    font-weight: 500;
}

.team-name {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-main);
    margin-bottom: 14px;
    letter-spacing: 0.05em;
}

.team-detail {
    border-top: 1px solid var(--color-border);
    padding-top: 14px;
}

.team-hobby {
    font-size: 0.85rem;
    color: var(--color-text-light);
    margin-bottom: 10px;
}

.detail-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-main);
    background: var(--color-main-pale);
    padding: 2px 8px;
    border-radius: 4px;
    margin-right: 8px;
}

.team-message {
    font-size: 0.88rem;
    line-height: 1.7;
    color: var(--color-text);
    font-style: italic;
    position: relative;
    padding-left: 16px;
}

.team-message::before {
    content: '';
    position: absolute;
    left: 0;
    top: 4px;
    bottom: 4px;
    width: 3px;
    background: var(--color-accent-light);
    border-radius: 3px;
}

/* =============================================
   CTAセクション
   ============================================= */
.cta {
    padding: 100px 0;
    background: var(--color-base);
}

.cta-inner {
    text-align: center;
    padding: 64px 40px;
    background: linear-gradient(135deg, var(--color-main), var(--color-main-light));
    border-radius: var(--radius-lg);
    color: var(--color-white);
    position: relative;
    overflow: hidden;
}

.cta-decoration {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
}

.cta-decoration-left {
    width: 200px;
    height: 200px;
    top: -50px;
    left: -50px;
}

.cta-decoration-right {
    width: 300px;
    height: 300px;
    bottom: -100px;
    right: -80px;
}

.cta-title {
    font-family: var(--font-heading);
    font-size: clamp(1.4rem, 3.5vw, 2rem);
    font-weight: 600;
    letter-spacing: 0.06em;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.cta-text {
    font-size: 0.95rem;
    opacity: 0.92;
    margin-bottom: 36px;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
}

.cta-text strong {
    font-weight: 700;
    font-size: 1.15em;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.03em;
    transition: var(--transition);
    min-height: 54px;
}

.cta-btn-phone {
    background: var(--color-white);
    color: var(--color-main);
}

.cta-btn-phone:hover {
    background: var(--color-base);
    color: var(--color-main);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.cta-btn-line {
    background: #06C755;
    color: var(--color-white);
}

.cta-btn-line:hover {
    background: #05a847;
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(6, 199, 85, 0.3);
}

.cta-btn-mail {
    background: var(--color-accent);
    color: var(--color-white);
}

.cta-btn-mail:hover {
    background: var(--color-accent-dark);
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(232, 160, 122, 0.3);
}

.cta-hours {
    font-size: 0.85rem;
    opacity: 0.8;
    position: relative;
    z-index: 1;
}

/* =============================================
   フッター
   ============================================= */
.site-footer {
    background: var(--color-main-dark);
    color: rgba(255, 255, 255, 0.8);
    padding: 64px 0 0;
}

.footer-inner {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}

.footer-logo .logo-icon {
    font-size: 1.4rem;
    color: var(--color-accent-light);
}

.footer-logo .logo-text {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-white);
}

.footer-address {
    font-style: normal;
    font-size: 0.88rem;
    line-height: 1.9;
    opacity: 0.8;
}

.footer-nav h4 {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: 16px;
    letter-spacing: 0.04em;
}

.footer-nav ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-nav a {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-nav a:hover {
    color: var(--color-accent-light);
}

.footer-bottom {
    padding: 24px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.8rem;
    opacity: 0.6;
}

/* =============================================
   SP常駐ボタン
   ============================================= */
.sp-fixed-btns {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    padding: 0;
}

.sp-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex: 1;
    padding: 14px 0;
    font-size: 0.88rem;
    font-weight: 600;
    text-align: center;
    letter-spacing: 0.03em;
    min-height: 56px;
}

.sp-btn-phone {
    background: var(--color-main);
    color: var(--color-white);
}

.sp-btn-phone:hover {
    color: var(--color-white);
    background: var(--color-main-dark);
}

.sp-btn-line {
    background: #06C755;
    color: var(--color-white);
}

.sp-btn-line:hover {
    color: var(--color-white);
    background: #05a847;
}

/* =============================================
   レスポンシブ
   ============================================= */

/* タブレット */
@media (max-width: 960px) {
    .voice-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .flow-steps {
        flex-wrap: wrap;
    }

    .flow-connector {
        display: none;
    }

    .flow-step {
        max-width: 100%;
        flex: 1 1 calc(50% - 16px);
    }

    .footer-inner {
        grid-template-columns: 1fr 1fr;
    }
}

/* スマートフォン */
@media (max-width: 768px) {
    html {
        font-size: 15px;
    }

    .hamburger {
        display: flex;
    }

    .global-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: var(--color-base);
        z-index: 1000;
        transition: right 0.4s ease;
        padding: 80px 32px 32px;
        box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
    }

    .global-nav.active {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        gap: 0;
    }

    .nav-list a {
        color: var(--color-text) !important;
        display: block;
        padding: 14px 0;
        font-size: 1rem;
        border-bottom: 1px solid var(--color-border);
    }

    .nav-cta {
        text-align: center;
        margin-top: 16px;
        border-bottom: none !important;
    }

    /* ヒーロー */
    .hero-title-vertical {
        font-size: clamp(1.7rem, 6vw, 2.4rem);
        padding: 16px 12px;
    }

    .hero-subtitle {
        font-size: 0.9rem;
    }

    .hero-cta-btn {
        padding: 14px 32px;
        font-size: 0.95rem;
    }

    /* グリッド調整 */
    .problems-grid {
        grid-template-columns: 1fr;
    }

    .voice-grid {
        grid-template-columns: 1fr;
    }

    .team-grid {
        grid-template-columns: 1fr;
    }

    .flow-steps {
        flex-direction: column;
        align-items: center;
    }

    .flow-step {
        width: 100%;
        max-width: 400px;
    }

    /* CTA */
    .cta-inner {
        padding: 48px 24px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    /* フッター */
    .footer-inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    /* SP固定ボタン表示 */
    .sp-fixed-btns {
        display: flex;
    }

    /* SP固定ボタン分の余白 */
    .site-footer {
        padding-bottom: 70px;
    }
}

/* モバイル（小型） */
@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .problems,
    .voice,
    .flow,
    .team,
    .cta {
        padding: 72px 0;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .problem-bubble {
        padding: 20px 18px;
    }

    .voice-card {
        padding: 24px 20px;
    }

    .flow-step {
        padding: 32px 20px;
    }
}

/* =============================================
   ナビオーバーレイ
   ============================================= */
.nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.nav-overlay.active {
    opacity: 1;
    visibility: visible;
}