/* ===========================
   基本設定
   =========================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* メインカラー */
    --primary: #722F37;
    --secondary: #F5F0E8;
    --text: #333333;
    --sow-green: #4A7C59;
    
    /* その他のカラー */
    --white: #FFFFFF;
    --light-gray: #F9F9F9;
    --border: #E0E0E0;
    --shadow: rgba(0, 0, 0, 0.1);
    
    /* フォント */
    --font-family: 'Noto Sans JP', sans-serif;
}

body {
    font-family: var(--font-family);
    color: var(--text);
    line-height: 1.8;
    background-color: var(--white);
    font-size: 15px;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s ease;
}

a:hover {
    opacity: 0.7;
}

/* ===========================
   ヘッダー
   =========================== */
.header {
    background-color: var(--white);
    box-shadow: 0 2px 10px var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-img {
    height: 50px;
    width: auto;
}

.logo-tagline {
    font-size: 0.75rem;
    color: var(--text);
    line-height: 1.4;
    font-weight: 500;
    opacity: 0.85;
    letter-spacing: 0.02em;
}

.nav {
    display: flex;
    gap: 0;
}

.nav-list {
    list-style: none;
    display: flex;
    gap: 0;
    align-items: center;
}

.nav-item {
    position: relative;
}

.nav-link {
    color: var(--text);
    font-weight: 600;
    padding: 1rem 1.5rem;
    display: block;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

/* ドロップダウンメニュー */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.dropdown-toggle::after {
    content: '\f107';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.dropdown:hover .dropdown-toggle::after {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 240px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    padding: 0.5rem 0;
}

/* デスクトップでホバー時に表示 */
@media (min-width: 769px) {
    .dropdown:hover .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
}

.dropdown-item {
    display: block;
    padding: 0.75rem 1.5rem;
    color: var(--text);
    transition: all 0.3s ease;
    font-size: 0.95rem;
    border-left: 3px solid transparent;
}

.dropdown-item:hover {
    background: var(--light-gray);
    color: var(--primary);
    border-left-color: var(--primary);
    opacity: 1;
}

/* モバイルメニュー */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--primary);
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* ===========================
   ヒーローセクション
   =========================== */
.hero {
    background: linear-gradient(180deg, #0a1a3a 0%, #162447 50%, #1f3a5f 100%);
    color: var(--white);
    text-align: center;
    padding: 0;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 竹林背景 - 最大限に明るく */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://images.unsplash.com/photo-1545569341-9eb8b30979d9?w=2400&q=90') no-repeat;
    background-size: cover;
    background-position: 20% center;
    opacity: 1;
    z-index: 0;
    filter: brightness(2.0) contrast(0.95) saturate(1.4);
}

/* 夕焼けオーバーレイ - 強めの暖色 */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, 
        rgba(255, 160, 100, 0.45) 0%,      /* 強いオレンジ */
        rgba(255, 200, 140, 0.40) 30%,     /* 明るいピーチ */
        rgba(255, 220, 180, 0.35) 60%,     /* 非常に明るいピンクオレンジ */
        rgba(220, 140, 180, 0.40) 100%     /* 明るい紫 */
    );
    z-index: 1;
}

/* 星のレイヤー */
.hero .stars {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.hero .stars span {
    position: absolute;
    background: white;
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(255, 255, 255, 1), 0 0 40px rgba(200, 220, 255, 0.8), 0 0 60px rgba(150, 200, 255, 0.5);
}

/* 速く瞬く星 */
.hero .stars span:nth-child(odd) {
    animation: twinkleFast 2s infinite;
}

/* ゆっくり瞬く星 */
.hero .stars span:nth-child(even) {
    animation: twinkleSlow 3.5s infinite;
}

/* 大きく瞬く星（特別） */
.hero .stars span:nth-child(5n) {
    animation: twinkleBig 2.5s infinite;
}

@keyframes twinkleFast {
    0%, 100% { opacity: 0.3; transform: scale(0.8); }
    50% { opacity: 1; transform: scale(1.5); }
}

@keyframes twinkleSlow {
    0%, 100% { opacity: 0.4; transform: scale(0.9); }
    50% { opacity: 1; transform: scale(1.4); }
}

@keyframes twinkleBig {
    0%, 100% { opacity: 0.5; transform: scale(1) rotate(0deg); }
    25% { opacity: 0.8; transform: scale(1.6) rotate(45deg); }
    50% { opacity: 1; transform: scale(1.8) rotate(90deg); }
    75% { opacity: 0.8; transform: scale(1.6) rotate(135deg); }
}

/* 星の配置（空の上部のみ） */
.hero .stars span:nth-child(1) { top: 5%; left: 20%; width: 2px; height: 2px; animation-delay: 0s; }
.hero .stars span:nth-child(2) { top: 8%; left: 80%; width: 3px; height: 3px; animation-delay: 0.5s; }
.hero .stars span:nth-child(3) { top: 10%; left: 45%; width: 2px; height: 2px; animation-delay: 1s; }
.hero .stars span:nth-child(4) { top: 12%; left: 65%; width: 1px; height: 1px; animation-delay: 1.5s; }
.hero .stars span:nth-child(5) { top: 15%; left: 15%; width: 2px; height: 2px; animation-delay: 2s; }
.hero .stars span:nth-child(6) { top: 18%; left: 90%; width: 3px; height: 3px; animation-delay: 0.3s; }
.hero .stars span:nth-child(7) { top: 20%; left: 30%; width: 1px; height: 1px; animation-delay: 1.2s; }
.hero .stars span:nth-child(8) { top: 22%; left: 75%; width: 2px; height: 2px; animation-delay: 1.8s; }
.hero .stars span:nth-child(9) { top: 25%; left: 10%; width: 2px; height: 2px; animation-delay: 0.8s; }
.hero .stars span:nth-child(10) { top: 28%; left: 55%; width: 3px; height: 3px; animation-delay: 2.2s; }
.hero .stars span:nth-child(11) { top: 30%; left: 85%; width: 1px; height: 1px; animation-delay: 1.5s; }
.hero .stars span:nth-child(12) { top: 32%; left: 25%; width: 2px; height: 2px; animation-delay: 0.5s; }
.hero .stars span:nth-child(13) { top: 35%; left: 70%; width: 2px; height: 2px; animation-delay: 1.8s; }
.hero .stars span:nth-child(14) { top: 38%; left: 40%; width: 1px; height: 1px; animation-delay: 1s; }
.hero .stars span:nth-child(15) { top: 40%; left: 60%; width: 3px; height: 3px; animation-delay: 2.5s; }
.hero .stars span:nth-child(16) { top: 6%; left: 50%; width: 2px; height: 2px; animation-delay: 0.7s; }
.hero .stars span:nth-child(17) { top: 14%; left: 35%; width: 1px; height: 1px; animation-delay: 1.9s; }
.hero .stars span:nth-child(18) { top: 21%; left: 95%; width: 2px; height: 2px; animation-delay: 0.4s; }
.hero .stars span:nth-child(19) { top: 29%; left: 5%; width: 2px; height: 2px; animation-delay: 2.1s; }
.hero .stars span:nth-child(20) { top: 36%; left: 50%; width: 3px; height: 3px; animation-delay: 1.3s; }
.hero .stars span:nth-child(21) { top: 4%; left: 35%; width: 2px; height: 2px; animation-delay: 0.2s; }
.hero .stars span:nth-child(22) { top: 9%; left: 62%; width: 1px; height: 1px; animation-delay: 1.1s; }
.hero .stars span:nth-child(23) { top: 11%; left: 88%; width: 3px; height: 3px; animation-delay: 0.9s; }
.hero .stars span:nth-child(24) { top: 16%; left: 52%; width: 2px; height: 2px; animation-delay: 1.7s; }
.hero .stars span:nth-child(25) { top: 19%; left: 12%; width: 1px; height: 1px; animation-delay: 2.3s; }
.hero .stars span:nth-child(26) { top: 24%; left: 68%; width: 2px; height: 2px; animation-delay: 0.6s; }
.hero .stars span:nth-child(27) { top: 26%; left: 92%; width: 3px; height: 3px; animation-delay: 1.4s; }
.hero .stars span:nth-child(28) { top: 31%; left: 42%; width: 2px; height: 2px; animation-delay: 2.0s; }
.hero .stars span:nth-child(29) { top: 34%; left: 78%; width: 1px; height: 1px; animation-delay: 0.8s; }
.hero .stars span:nth-child(30) { top: 39%; left: 18%; width: 2px; height: 2px; animation-delay: 1.6s; }
.hero .stars span:nth-child(31) { top: 3%; left: 72%; width: 3px; height: 3px; animation-delay: 2.4s; }
.hero .stars span:nth-child(32) { top: 7%; left: 28%; width: 2px; height: 2px; animation-delay: 0.3s; }
.hero .stars span:nth-child(33) { top: 13%; left: 58%; width: 1px; height: 1px; animation-delay: 1.9s; }
.hero .stars span:nth-child(34) { top: 17%; left: 8%; width: 2px; height: 2px; animation-delay: 0.7s; }
.hero .stars span:nth-child(35) { top: 23%; left: 82%; width: 3px; height: 3px; animation-delay: 2.1s; }
.hero .stars span:nth-child(36) { top: 27%; left: 38%; width: 2px; height: 2px; animation-delay: 1.2s; }
.hero .stars span:nth-child(37) { top: 33%; left: 95%; width: 1px; height: 1px; animation-delay: 0.4s; }
.hero .stars span:nth-child(38) { top: 37%; left: 32%; width: 2px; height: 2px; animation-delay: 2.2s; }
.hero .stars span:nth-child(39) { top: 41%; left: 65%; width: 3px; height: 3px; animation-delay: 1.0s; }
.hero .stars span:nth-child(40) { top: 44%; left: 48%; width: 2px; height: 2px; animation-delay: 1.5s; }
.hero .stars span:nth-child(41) { top: 5.5%; left: 15%; width: 1px; height: 1px; animation-delay: 0.5s; }
.hero .stars span:nth-child(42) { top: 10.5%; left: 75%; width: 2px; height: 2px; animation-delay: 1.8s; }
.hero .stars span:nth-child(43) { top: 15.5%; left: 45%; width: 3px; height: 3px; animation-delay: 2.5s; }
.hero .stars span:nth-child(44) { top: 20.5%; left: 22%; width: 2px; height: 2px; animation-delay: 0.9s; }
.hero .stars span:nth-child(45) { top: 24.5%; left: 85%; width: 1px; height: 1px; animation-delay: 1.3s; }
.hero .stars span:nth-child(46) { top: 29.5%; left: 55%; width: 2px; height: 2px; animation-delay: 0.6s; }
.hero .stars span:nth-child(47) { top: 33.5%; left: 8%; width: 3px; height: 3px; animation-delay: 2.0s; }
.hero .stars span:nth-child(48) { top: 38.5%; left: 88%; width: 2px; height: 2px; animation-delay: 1.1s; }
.hero .stars span:nth-child(49) { top: 42%; left: 25%; width: 1px; height: 1px; animation-delay: 1.7s; }
.hero .stars span:nth-child(50) { top: 46%; left: 70%; width: 2px; height: 2px; animation-delay: 2.3s; }

.hero > .container {
    position: relative;
    z-index: 3;
    max-width: 1200px;
    padding: 2rem;
}

.hero.sow-green {
    background: linear-gradient(135deg, var(--sow-green) 0%, #5A8C69 100%);
}

.hero.sow-green::before {
    background: url('https://images.unsplash.com/photo-1490818387583-1baba5e638af?w=1600&q=80') center/cover;
}

.hero h1 {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 7rem;
    font-weight: 700;
    letter-spacing: 0.25em;
    margin-bottom: 2.5rem;
    line-height: 1.1;
    text-shadow: 0 4px 20px rgba(0,0,0,0.9), 0 8px 40px rgba(0,0,0,0.7), 0 0 80px rgba(0,0,0,0.5);
    font-style: normal;
    text-transform: uppercase;
    animation: fadeInUp 1.5s ease-out;
}

/* イタリック体バージョン（比較用） */
.hero h1.italic-style {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-weight: 900;
    letter-spacing: 0.15em;
}

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

.hero-subtitle {
    font-family: 'Noto Serif JP', serif;
    font-size: 1.5rem;
    font-weight: 400;
    letter-spacing: 0.2em;
    opacity: 0.98;
    line-height: 2;
    text-shadow: 0 2px 12px rgba(0,0,0,0.9), 0 4px 24px rgba(0,0,0,0.7);
    position: relative;
    padding-top: 2rem;
    animation: fadeInUp 1.5s ease-out 0.3s both;
}

.hero-subtitle::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 1px;
    background: rgba(255,255,255,0.7);
    box-shadow: 0 0 10px rgba(255,255,255,0.5);
}

/* ===========================
   セクション共通
   =========================== */
.section {
    padding: 6rem 2rem;
    position: relative;
}

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

.section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(114, 47, 55, 0.03) 0%, transparent 70%);
    pointer-events: none;
}

.section:nth-child(even)::before {
    left: 0;
    right: auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 4rem;
    color: var(--primary);
    position: relative;
    padding-bottom: 1.5rem;
    font-weight: 700;
}

.section-title.green {
    color: var(--sow-green);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--primary);
    border-radius: 2px;
}

.section-title.green::after {
    background-color: var(--sow-green);
}

.section-subtitle {
    font-size: 1rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text);
    line-height: 1.8;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* ===========================
   カードグリッド
   =========================== */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.card {
    background-color: var(--white);
    border-radius: 16px;
    padding: 3rem 2.5rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 50px rgba(114, 47, 55, 0.15);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.card.green .card-icon {
    color: var(--sow-green);
}

.card-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
    color: var(--primary);
}

.card.green .card-title {
    color: var(--sow-green);
}

.card-text {
    font-size: 1.05rem;
    line-height: 1.9;
    color: #555;
}

/* ===========================
   チェックリスト
   =========================== */
.checklist {
    list-style: none;
    display: grid;
    gap: 1rem;
    margin-bottom: 2rem;
}

.checklist li {
    padding-left: 2rem;
    position: relative;
}

.checklist li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 700;
    font-size: 1.2rem;
}

/* ===========================
   ステップ
   =========================== */
.steps {
    display: grid;
    gap: 2rem;
}

.step {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.step-number {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background-color: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.step-content h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--primary);
}

/* ===========================
   ボタン
   =========================== */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    background-color: var(--primary);
    color: var(--white);
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.btn:hover {
    background-color: #8B3A45;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px var(--shadow);
    opacity: 1;
}

.btn.green {
    background-color: var(--sow-green);
}

.btn.green:hover {
    background-color: #5A8C69;
}

.btn-center {
    text-align: center;
    margin-top: 2rem;
}

/* ===========================
   FAQ アコーディオン
   =========================== */
.faq-category {
    margin-bottom: 3rem;
}

.faq-category-title {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
    font-weight: 700;
}

.faq-item {
    background-color: var(--white);
    border-radius: 8px;
    margin-bottom: 1rem;
    box-shadow: 0 2px 8px var(--shadow);
    overflow: hidden;
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: var(--light-gray);
}

.faq-question-text {
    flex: 1;
}

.faq-icon {
    font-size: 1.2rem;
    color: var(--primary);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer-content {
    padding: 0 1.5rem 1.5rem 1.5rem;
    line-height: 1.8;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

/* ===========================
   料金表
   =========================== */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.pricing-card {
    background-color: var(--white);
    border-radius: 10px;
    padding: 2.5rem;
    box-shadow: 0 4px 15px var(--shadow);
    text-align: center;
    border: 3px solid var(--secondary);
    transition: all 0.3s ease;
}

.pricing-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
}

.pricing-title {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
    font-weight: 700;
}

.pricing-amount {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1rem;
}

.pricing-description {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.pricing-note {
    background-color: var(--light-gray);
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 2rem;
}

.pricing-note p {
    margin-bottom: 0.5rem;
}

/* ===========================
   店舗情報
   =========================== */
.info-box {
    background-color: var(--white);
    border-radius: 10px;
    padding: 2.5rem;
    box-shadow: 0 4px 15px var(--shadow);
    margin-bottom: 2rem;
}

.info-box.green {
    border-left: 5px solid var(--sow-green);
}

.info-title {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
    font-weight: 700;
}

.info-title.green {
    color: var(--sow-green);
}

.info-item {
    margin-bottom: 1rem;
    display: flex;
    gap: 1rem;
}

.info-label {
    font-weight: 600;
    min-width: 100px;
}

/* ===========================
   地図
   =========================== */
.map-container {
    width: 100%;
    height: 450px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px var(--shadow);
    margin-bottom: 2rem;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* ===========================
   フォーム
   =========================== */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-required {
    color: #D32F2F;
    margin-left: 0.3rem;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--border);
    border-radius: 8px;
    font-size: 1rem;
    font-family: var(--font-family);
    transition: border-color 0.3s ease;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary);
}

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

.form-note {
    font-size: 0.9rem;
    color: #666;
    margin-top: 0.3rem;
}

.contact-info-box {
    background-color: var(--light-gray);
    padding: 2rem;
    border-radius: 10px;
    margin-top: 3rem;
}

/* ===========================
   テーブル
   =========================== */
.info-table {
    width: 100%;
    border-collapse: collapse;
}

.info-table th,
.info-table td {
    padding: 1rem;
    border-bottom: 1px solid var(--border);
    text-align: left;
}

.info-table th {
    background-color: var(--light-gray);
    font-weight: 600;
    width: 30%;
}

/* ===========================
   8つの資本グリッド
   =========================== */
.capital-section {
    background: linear-gradient(135deg, #f8f4f0 0%, #ffffff 100%);
    padding: 5rem 2rem;
    position: relative;
    overflow: hidden;
}

.capital-section::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(114, 47, 55, 0.05) 0%, transparent 70%);
    border-radius: 50%;
}

.capital-intro {
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.9;
    color: #555;
}

.capital-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.capital-item {
    background: linear-gradient(135deg, #ffffff 0%, #fefefe 100%);
    padding: 2.5rem 2rem;
    border-radius: 16px;
    text-align: left;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    border: 2px solid transparent;
    overflow: hidden;
}

.capital-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: linear-gradient(to bottom, var(--primary), #8B3A45);
    transition: height 0.4s ease;
}

.capital-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(114, 47, 55, 0.2);
    border-color: var(--primary);
}

.capital-item:hover::before {
    height: 100%;
}

.capital-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    transition: transform 0.4s ease;
}

.capital-item:hover .capital-icon {
    transform: scale(1.1) rotate(5deg);
}

.capital-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary);
    position: relative;
    padding-bottom: 0.8rem;
}

.capital-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(to right, var(--primary), transparent);
}

.capital-description {
    font-size: 1rem;
    line-height: 1.8;
    color: #666;
    margin-bottom: 1rem;
}

.capital-examples {
    margin-top: 1.2rem;
    padding-top: 1.2rem;
    border-top: 1px solid #f0f0f0;
}

.capital-examples-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.capital-examples-list {
    list-style: none;
    font-size: 0.9rem;
    color: #777;
    line-height: 1.7;
}

.capital-examples-list li {
    padding-left: 1.2rem;
    position: relative;
    margin-bottom: 0.4rem;
}

.capital-examples-list li::before {
    content: '◆';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-size: 0.7rem;
    top: 0.1rem;
}

/* アイコンの色分け */
.capital-item:nth-child(1) .capital-icon { color: #E53935; } /* 健康 - 赤 */
.capital-item:nth-child(2) .capital-icon { color: #8E24AA; } /* 知的 - 紫 */
.capital-item:nth-child(3) .capital-icon { color: #1E88E5; } /* 情報 - 青 */
.capital-item:nth-child(4) .capital-icon { color: #43A047; } /* 社会 - 緑 */
.capital-item:nth-child(5) .capital-icon { color: #00897B; } /* 自然 - ティール */
.capital-item:nth-child(6) .capital-icon { color: #F4511E; } /* 文化 - オレンジ */
.capital-item:nth-child(7) .capital-icon { color: #FFB300; } /* 金融 - 金色 */
.capital-item:nth-child(8) .capital-icon { color: #6D4C41; } /* 実践 - 茶色 */

/* ===========================
   CTA セクション
   =========================== */
.cta-section {
    background-color: var(--secondary);
    padding: 4rem 2rem;
    text-align: center;
}

.cta-title {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.cta-text {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.8;
}

/* ===========================
   フッター
   =========================== */
.footer {
    background-color: var(--text);
    color: var(--white);
    padding: 3rem 2rem 1rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-top {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-brand {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.footer-tagline {
    font-size: 0.95rem;
    opacity: 0.8;
}

.footer-section h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.footer-list {
    list-style: none;
}

.footer-list li {
    margin-bottom: 0.5rem;
}

.footer-link {
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-link:hover {
    opacity: 1;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.7;
    font-size: 0.9rem;
}

/* ===========================
   レスポンシブデザイン
   =========================== */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .logo-tagline {
        font-size: 0.65rem;
        line-height: 1.3;
    }
    
    .nav {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        background-color: var(--white);
        box-shadow: 0 4px 10px var(--shadow);
        transition: left 0.3s ease;
        padding: 2rem;
    }
    
    .nav.active {
        left: 0;
    }
    
    .nav-list {
        flex-direction: column;
        gap: 0;
        align-items: stretch;
    }
    
    .nav-item {
        width: 100%;
    }
    
    .nav-link {
        display: block;
        padding: 1rem;
        text-align: left;
        border-bottom: none;
        width: 100%;
    }
    
    /* モバイルドロップダウン - 超シンプル版 */
    .dropdown-menu {
        position: static;
        box-shadow: none;
        border-radius: 0;
        padding: 0;
        margin-left: 0;
        margin-top: 0;
        background: rgba(114, 47, 55, 0.05);
        border-left: 3px solid var(--primary);
        min-width: auto;
        width: 100%;
        z-index: auto;
        transform: none;
        opacity: 1;
        visibility: visible;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    /* activeクラスで表示 */
    .dropdown.active .dropdown-menu {
        max-height: 500px;
        padding: 0.5rem 0;
    }
    
    .dropdown-item {
        padding: 0.6rem 0.8rem 0.6rem 1.5rem;
        font-size: 0.8rem;
        display: block;
        width: 100%;
        text-align: left;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .dropdown-toggle::after {
        transition: transform 0.3s ease;
    }
    
    .dropdown.active .dropdown-toggle::after {
        transform: rotate(180deg);
    }
    
    .dropdown-item {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }
    
    .section {
        padding: 4rem 1.5rem;
    }
    
    .section-title {
        font-size: 2rem;
        margin-bottom: 2.5rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 2.5rem;
    }
    
    .hero {
        min-height: 100vh;
    }
    
    /* モバイルで背景位置を調整（塔が見えるように） */
    .hero::before {
        background-position: 85% 50%;
        background-size: auto 100%;
    }
    
    .hero h1 {
        font-size: 2.8rem;
        letter-spacing: 0.1em;
        line-height: 1.3;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        letter-spacing: 0.1em;
    }
    
    .image-section {
        padding: 5rem 1.5rem;
        min-height: 400px;
    }
    
    .image-section h2 {
        font-size: 2rem;
    }
    
    .image-section p {
        font-size: 1.1rem;
    }
    
    .card-grid,
    .pricing-grid,
    .testimonials-grid,
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .stats-grid {
        gap: 3rem;
    }
    
    .stat-number {
        font-size: 3rem;
    }
    
    .card {
        padding: 2rem 1.5rem;
    }
    
    .testimonial-card {
        padding: 2rem 1.5rem;
    }
    
    .footer-top {
        grid-template-columns: 1fr;
    }
    
    .step {
        flex-direction: column;
    }
    
    .info-table th,
    .info-table td {
        display: block;
        width: 100%;
    }
    
    .info-table th {
        border-bottom: none;
        padding-bottom: 0.5rem;
    }
    
    .info-table td {
        padding-top: 0.5rem;
    }
}

@media (max-width: 480px) {
    body {
        font-size: 14px;
    }
    
    .dropdown-item {
        padding: 0.5rem 0.6rem 0.5rem 1.2rem;
        font-size: 0.75rem;
    }
    
    .section {
        padding: 3rem 1.2rem;
    }
    
    .hero {
        min-height: 100vh;
    }
    
    /* 小さいスマホで背景位置を調整（塔が見えるように） */
    .hero::before {
        background-position: 90% 50%;
        background-size: auto 100%;
    }
    
    .hero h1 {
        font-size: 2.2rem;
        letter-spacing: 0.08em;
        line-height: 1.3;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        letter-spacing: 0.08em;
    }
    
    .image-section {
        padding: 4rem 1.2rem;
        min-height: 350px;
    }
    
    .image-section h2 {
        font-size: 1.6rem;
    }
    
    .image-section p {
        font-size: 1rem;
    }
    
    .stats-grid {
        gap: 2.5rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .stat-label {
        font-size: 1rem;
    }
    
    .card {
        padding: 1.5rem;
    }
    
    .testimonial-card {
        padding: 1.5rem;
    }
    
    .btn {
        padding: 0.8rem 2rem;
        font-size: 0.95rem;
    }
}

/* ===========================
   ユーティリティ
   =========================== */
.text-center {
    text-align: center;
}

.mb-2 {
    margin-bottom: 2rem;
}

.mt-2 {
    margin-top: 2rem;
}

/* ===========================
   お知らせ・トピックス
   =========================== */
.news-section {
    background: linear-gradient(to bottom, #f8f8f8 0%, #ffffff 100%);
    padding: 4rem 2rem;
    border-bottom: 1px solid var(--border);
}

/* ===========================
   お客様の声
   =========================== */
.testimonials-section {
    background: linear-gradient(135deg, #f8f4f0 0%, #ffffff 100%);
    padding: 6rem 2rem;
    position: relative;
    overflow: hidden;
}

/* ===========================
   数字で見るながら
   =========================== */
.stats-section {
    background: linear-gradient(135deg, #722F37 0%, #8B3A45 100%);
    color: var(--white);
    padding: 6rem 2rem;
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
}

.stats-section::after {
    content: '';
    position: absolute;
    bottom: -150px;
    left: -150px;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 4rem;
    position: relative;
    z-index: 1;
    max-width: 1000px;
    margin: 0 auto;
}

.stat-item {
    text-align: center;
    position: relative;
    padding: 2rem 1rem;
}

.stat-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: rgba(255,255,255,0.3);
    border-radius: 2px;
}

.stat-number {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 0.5rem;
    color: var(--white);
    text-shadow: 0 4px 20px rgba(0,0,0,0.3);
    font-family: 'Montserrat', 'Noto Sans JP', sans-serif;
}

.stat-label {
    font-size: 1.1rem;
    font-weight: 500;
    opacity: 0.95;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.stat-description {
    font-size: 0.9rem;
    opacity: 0.8;
    line-height: 1.6;
    margin-top: 0.5rem;
}

.testimonials-section::before {
    content: '"';
    position: absolute;
    top: -50px;
    left: 50px;
    font-size: 20rem;
    color: rgba(114, 47, 55, 0.03);
    font-family: Georgia, serif;
    line-height: 1;
    z-index: 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
    position: relative;
    z-index: 1;
}

.testimonial-card {
    background: var(--white);
    border-radius: 20px;
    padding: 3rem 2.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    position: relative;
    transition: all 0.3s ease;
    border: 1px solid rgba(114, 47, 55, 0.08);
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 1rem;
    left: 1.5rem;
    font-size: 4rem;
    color: rgba(114, 47, 55, 0.15);
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(114, 47, 55, 0.15);
}

.testimonial-text {
    font-size: 1.05rem;
    line-height: 1.9;
    color: #555;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.testimonial-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid #f0f0f0;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #722F37 0%, #8B3A45 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.2rem;
}

.testimonial-info {
    flex: 1;
}

.testimonial-name {
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.3rem;
    font-size: 1.1rem;
}

.testimonial-detail {
    font-size: 0.9rem;
    color: #888;
}

.news-list {
    list-style: none;
    max-width: 900px;
    margin: 0 auto;
}

.news-item {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    margin-bottom: 1rem;
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 2px 8px var(--shadow);
    transition: all 0.3s ease;
    align-items: flex-start;
}

.news-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.news-date {
    flex-shrink: 0;
    background-color: var(--primary);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    text-align: center;
    min-width: 100px;
}

.news-category {
    display: inline-block;
    background-color: var(--secondary);
    color: var(--primary);
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-right: 0.5rem;
}

.news-category.cat-info {
    background-color: #E3F2FD;
    color: #1976D2;
}

.news-category.cat-event {
    background-color: #FFF3E0;
    color: #F57C00;
}

.news-content {
    flex: 1;
}

.news-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.news-title:hover {
    color: var(--primary);
}

.news-excerpt {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.7;
}

/* ===========================
   画像付きセクション
   =========================== */
.image-section {
    position: relative;
    padding: 8rem 2rem;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--white);
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1;
}

.image-section .container {
    position: relative;
    z-index: 2;
}

.image-section h2 {
    color: var(--white);
    text-shadow: 0 4px 20px rgba(0,0,0,0.5);
    font-size: 3rem;
    margin-bottom: 2rem;
    font-weight: 700;
}

.image-section p {
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
    font-size: 1.3rem;
    line-height: 2;
}

/* ===========================
   装飾的な要素
   =========================== */
.decorative-line {
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--primary), transparent);
    margin: 1rem 0;
}

.floating-decoration {
    position: absolute;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(114, 47, 55, 0.1) 0%, transparent 70%);
    animation: float 6s ease-in-out infinite;
    pointer-events: none;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* ===========================
   スクロールアニメーション
   =========================== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.active {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-left.active {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-right.active {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-up {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.fade-in-up.active {
    opacity: 1;
    transform: translateY(0);
}

.scale-in {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.scale-in.active {
    opacity: 1;
    transform: scale(1);
}

/* 遅延アニメーション */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }
.delay-6 { transition-delay: 0.6s; }

/* ===========================
   写真プレースホルダー
   =========================== */
.photo-placeholder {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888;
    font-size: 1rem;
    text-align: center;
    padding: 2rem;
    min-height: 200px;
    border: 2px dashed #ddd;
    transition: all 0.3s ease;
}

.photo-placeholder:hover {
    border-color: var(--primary);
    background: linear-gradient(135deg, #fef5f7 0%, #f5e8ea 100%);
}

.photo-placeholder i {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.5;
    display: block;
}

.photo-placeholder-text {
    font-weight: 600;
    color: #666;
}

.photo-placeholder-hint {
    font-size: 0.85rem;
    color: #999;
    margin-top: 0.5rem;
}

.staff-photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.staff-photo-item {
    text-align: center;
}

.staff-photo {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.staff-photo:hover {
    transform: scale(1.05);
}

.staff-name {
    font-weight: 600;
    color: var(--primary);
    margin-top: 1rem;
    font-size: 1.1rem;
}

.staff-role {
    font-size: 0.9rem;
    color: #666;
    margin-top: 0.3rem;
}

.service-photo-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.service-photo {
    width: 100%;
    aspect-ratio: 4/3;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-photo:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(114, 47, 55, 0.2);
}

/* ===========================
   サービスの流れ視覚化
   =========================== */
.flow-container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.flow-item {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
    position: relative;
}

.flow-item:last-child {
    margin-bottom: 0;
}

.flow-item::after {
    content: '';
    position: absolute;
    left: 40px;
    top: 80px;
    width: 2px;
    height: calc(100% + 3rem);
    background: linear-gradient(to bottom, var(--primary), transparent);
    z-index: 0;
}

.flow-item:last-child::after {
    display: none;
}

.flow-number {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, #8B3A45 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 900;
    box-shadow: 0 4px 15px rgba(114, 47, 55, 0.3);
    position: relative;
    z-index: 1;
    font-family: 'Montserrat', sans-serif;
}

.flow-content {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border-left: 4px solid var(--primary);
    transition: all 0.3s ease;
}

.flow-content:hover {
    transform: translateX(10px);
    box-shadow: 0 8px 25px rgba(114, 47, 55, 0.15);
}

.flow-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.flow-title i {
    font-size: 1.8rem;
}

.flow-description {
    color: #666;
    line-height: 1.8;
    font-size: 1.05rem;
}

.flow-highlight {
    background: #fff3e0;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    margin-top: 1rem;
    border-left: 3px solid #ff9800;
}

.flow-highlight strong {
    color: #e65100;
}

/* グリーン版（SOW用） */
.flow-number.green {
    background: linear-gradient(135deg, var(--sow-green) 0%, #5A8C69 100%);
}

.flow-content.green {
    border-left-color: var(--sow-green);
}

.flow-content.green .flow-title {
    color: var(--sow-green);
}

/* レスポンシブ */
@media (max-width: 768px) {
    .flow-item {
        grid-template-columns: 60px 1fr;
        gap: 1rem;
    }
    
    .flow-number {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .flow-item::after {
        left: 30px;
        top: 60px;
    }
    
    .flow-content {
        padding: 1.5rem;
    }
    
    .flow-title {
        font-size: 1.2rem;
    }
}

/* ===========================
   お知らせページ用スタイル
   =========================== */
.news-list {
    max-width: 900px;
    margin: 0 auto;
}

.news-item {
    display: flex;
    gap: 2rem;
    padding: 2rem;
    margin-bottom: 1.5rem;
    background-color: var(--white);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    align-items: flex-start;
    border-left: 4px solid var(--primary);
}

.news-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(114, 47, 55, 0.15);
}

.news-date {
    flex-shrink: 0;
    background: linear-gradient(135deg, var(--primary) 0%, #8B3A45 100%);
    color: var(--white);
    padding: 0.8rem 1.2rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.95rem;
    text-align: center;
    min-width: 110px;
    box-shadow: 0 2px 8px rgba(114, 47, 55, 0.2);
}

.news-content {
    flex: 1;
}

.news-category {
    display: inline-block;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
}

.news-category.category-info {
    background-color: #E3F2FD;
    color: #1976D2;
}

.news-category.category-event {
    background-color: #FFF3E0;
    color: #F57C00;
}

.news-category.category-service {
    background-color: #E8F5E9;
    color: #388E3C;
}

.news-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.8rem;
    line-height: 1.6;
}

.news-text {
    font-size: 1rem;
    color: #666;
    line-height: 1.8;
}

/* 統計情報埋め込み */
.stats-embed {
    max-width: 1200px;
    margin: 0 auto;
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

.stats-embed iframe {
    display: block;
    width: 100%;
}

/* 統計ページ用 - フルワイド */
.stats-embed-full {
    width: 100%;
    background: var(--white);
    overflow: hidden;
}

.stats-embed-full iframe {
    display: block;
    width: 100%;
    min-height: 1200px;
}

/* レスポンシブ対応 - お知らせページ */
@media (max-width: 768px) {
    .news-item {
        flex-direction: column;
        gap: 1rem;
    }
    
    .news-date {
        width: 100%;
        max-width: 200px;
    }
    
    .stats-embed iframe {
        height: 600px !important;
    }
}

@media (max-width: 480px) {
    .news-title {
        font-size: 1.1rem;
    }
    
    .news-text {
        font-size: 0.95rem;
    }
    
    .stats-embed iframe {
        height: 500px !important;
    }
}

/* ===========================
   画像スタイル
   =========================== */
.hero-image {
    max-width: 400px;
    width: 100%;
    margin: 2rem auto 0;
    display: block;
}

.service-image {
    width: 100%;
    max-width: 300px;
    height: auto;
    margin: 0 auto;
    display: block;
}

/* ===========================
   ページ固有の背景画像
   =========================== */

/* まごころサポートページ専用背景 */
body.page-magokoro .hero::before {
    background: url('https://sspark.genspark.ai/cfimages?u1=%2BL3E%2Feme4FBaCCVyrgqDctPibiOaDg5E63RVK24DMYv%2BzK0RK6RfZ1Fc3kGZ4zBq1KUdPdnz1uooApxn3QX%2FUwlTdHa7YziR4MLymOjA5payiKV4UNL6i1qGqG8NetEtbQ%2Fw8eISJZuMsI0AhdXr&u2=zfMA2WyEqMbdkP6U&width=2560') no-repeat !important;
    background-size: cover !important;
    background-position: center center !important;
    filter: brightness(1.1) contrast(1.05) saturate(1.1) !important;
}

/* 老人ホーム入居相談ページ専用背景 */
body.page-housing .hero::before {
    background: url('https://sspark.genspark.ai/cfimages?u1=RrjTR%2BD8nerx9nqRos7hV%2FkVt7gQ3jzcMfpdx4FQb7vMzaM4RMgvOZlRAopdkxs%2BX6U%2Fs4sqomxQzCZpFA9DAextVeI2xcmSEex9DeezRQtmKJ4TSTkA0RB3obRSMDJsZA%3D%3D&u2=NR9XGdFXiQDYd29v&width=2560') no-repeat !important;
    background-size: cover !important;
    background-position: center center !important;
    filter: brightness(1.15) contrast(1.0) saturate(1.1) !important;
}

.character-image {
    width: 100%;
    max-width: 500px;
    height: auto;
    margin: 2rem auto;
    display: block;
}

.about-image {
    width: 100%;
    max-width: 600px;
    height: auto;
    margin: 2rem auto;
    display: block;
    border-radius: 10px;
}

@media (max-width: 768px) {
    .logo-img {
        height: 40px;
    }
    
    .hero-image {
        max-width: 300px;
    }
    
    .service-image {
        max-width: 250px;
    }
}
