/* 1. 基本設定（リセットと共通変数） */
:root {
    --primary-color: #003366;    /* 信頼のネイビー */
    --accent-color: #00b894;     /* 成長・開花のグリーン */
    --text-color: #333;
    --bg-light: #f8f9fa;
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

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

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header h1 {
    font-size: 24px;
    color: var(--primary-color);
    letter-spacing: 1px;
}

header ul {
    display: flex;
    list-style: none;
    align-items: center;
}

header ul li {
    margin-left: 20px;
}

header ul li a {
    text-decoration: none;
    color: var(--text-color);
    font-size: 14px;
    font-weight: bold;
}

/* 3. ファーストビュー (Hero) */
#hero {
    /* 画像を背景に設定し、その上に薄いネイビーのフィルターをかける */
    background: linear-gradient(rgba(0, 51, 102, 0.85), rgba(0, 51, 102, 0.85)), url('hero-bg.jpg');
    background-size: cover;     /* 画像を全体に広げる */
    background-position: center; /* 画像の中央を表示 */
    background-repeat: no-repeat;
    color: var(--white);
    padding: 160px 0 120px; /* 画像が見えやすいよう高さを調整 */
    text-align: center;
}
.sub-copy {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--accent-color);
    font-weight: bold;
}

#hero h2 {
    font-size: 2.8rem;
    margin-bottom: 25px;
    line-height: 1.3;
}

/* 4. ボタンデザイン */
.btn-l, .btn-s {
    display: inline-block;
    text-decoration: none;
    border-radius: 50px;
    transition: 0.3s;
    font-weight: bold;
}

.btn-l {
    background: var(--accent-color);
    color: var(--white);
    padding: 18px 40px;
    font-size: 1.2rem;
}

.btn-s {
    background: var(--primary-color);
    color: var(--white);
    padding: 8px 20px;
}

.btn-l:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,184,148,0.4);
}

/* 5. セクション共通 */
section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 50px;
    position: relative;
    padding-bottom: 15px;
}

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

.bg-light { background: var(--bg-light); }
.center-text { text-align: center; max-width: 800px; margin: 0 auto; }

/* 6. お悩み・メニューのカードデザイン */
.grid, .menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.card, .menu-item {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.menu-item .num {
    font-size: 2rem;
    font-weight: bold;
    color: var(--accent-color);
    display: block;
    margin-bottom: 10px;
}

.menu-item ul {
    list-style: none;
    margin-top: 15px;
}

.menu-item ul li::before {
    content: '✔';
    color: var(--accent-color);
    margin-right: 8px;
}

/* 7. 実績・統計 */
.stats {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-top: 40px;
}

.stat-item {
    text-align: center;
}

.stat-item span { display: block; font-size: 1rem; }
.stat-item strong { font-size: 3rem; color: var(--primary-color); }

/* 8. フッター */
footer {
    background: #222;
    color: #fff;
    padding: 40px 0;
    text-align: center;
}

footer nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
    margin-top: 20px;
}

footer nav ul li a {
    color: #aaa;
    text-decoration: none;
    font-size: 0.9rem;
}

/* 9. レスポンシブ（スマホ対応） */
@media (max-width: 768px) {
    header ul { display: none; } /* 本来はハンバーガーメニュー等にすべきですが一旦非表示 */
    #hero h2 { font-size: 1.8rem; }
    .stats { flex-direction: column; gap: 20px; }
}