/* 基本的なリセット */
*, *::before, *::after {
    box-sizing: border-box;
}

body, h1, h2, h3, h4, h5, h6, p, ul, ol, figure, figcaption, blockquote, dl, dd {
    margin: 0;
    padding: 0;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit; /* 親要素の色を継承 */
}

img {
    max-width: 100%;
    height: auto;
    display: block; /* 余分なスペースをなくす */
}

/* ======== CSS変数 ======== */
:root {
  --main-color: #C2AEA5; /* 主な色（ボタン、強調など） */
  --sub-color: #005047; /* アクセント色（見出しのライン、CTAのホバーなど） */
  --bg-color: #FAF8F6; /* 背景色（白〜生成りベース） */
  --text-color: #333; /* 基本の文字色 */
  --light-text-color: #666; /* やや薄い文字色 */
  --font-serif: "Yu Mincho", "Hiragino Mincho ProN", serif; /* 明朝体 */
  --font-sans: "Hiragino Sans", "Meiryo", sans-serif; /* ゴシック体 */
}

/* ======== body の基本スタイル ======== */
body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-serif); /* 読みやすさ優先で明朝体 */
    line-height: 1.8; /* 行間広め */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ===== 本文はゴシックで読みやすく ===== */
p,
li {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 2.0;
  letter-spacing: 0.04em;
}

p {
  margin-bottom: 1.5em;
}

p:last-child {
  margin-bottom: 0;
}

/* コンテンツの幅を制限し、中央に寄せるためのコンテナ */
.container {
    max-width: 1100px; /* 広めのコンテンツ幅 */
    margin: 0 auto;
    padding: 0 20px; /* 左右の余白 */
}

/* トップページの本文エリアの調整 */
main > section.container {
    max-width: 900px;
}

/* ======== ヘッダー ======== */
header {
    background-color: #fff; /* 白い背景 */
    padding: 20px 0;
    border-bottom: 1px solid var(--main-color); /* メインカラーで下線を引く */
    position: sticky; /* スクロールしても上部に固定 */
    top: 0;
    z-index: 1000; /* 他の要素より手前に表示 */
}

header .container {
    display: flex;
    justify-content: space-between; /* 両端に配置 */
    align-items: center; /* 垂直方向中央揃え */
}

header h1 {
    font-size: 24px;
    letter-spacing: 2px;
}

header h1 a {
    color: var(--text-color);
    font-family: var(--font-serif);
}

header nav ul {
    display: flex; /* ナビメニューを横並び */
    gap: 30px; /* メニュー間の間隔 */
}

header nav a {
    font-size: 16px;
    font-family: var(--font-sans); /* ナビはゴシックで読みやすく */
    color: var(--light-text-color);
    transition: color 0.3s ease;
}

header nav a:hover {
    color: var(--main-color);
}

/* ヘッダーのCTAボタン */
header > a { /* 直接のaタグがCTAボタン */
    display: inline-block;
    padding: 10px 25px;
    background-color: var(--main-color);
    color: #fff;
    font-family: var(--font-sans);
    font-weight: bold;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

header > a:hover {
    background-color: var(--sub-color);
}

/* ======== メインビジュアル (hero) ======== */
.hero {
  background-image: linear-gradient(rgba(250,248,246,0.60), rgba(250,248,246,0.60)), url("images/hero.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero .hero-title {
    font-family: var(--font-serif);
    font-size: 3.5em; /* 大きめの文字 */
    line-height: 1.4;
    color: rgba(0, 80, 71, 0.75); /* 指定されたサブカラー */
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3); /* 薄めの影 */
    max-width: 800px; /* 読みやすい幅に制限 */
    padding: 0 20px; /* 左右に余白 */
    font-weight: 400; /* 太字にしない */
    letter-spacing: 0.08em; /* 少し広げる */
}

/* ======== 各セクションの共通スタイル ======== */
main section {
    padding: 80px 20px; /* 上下の余白広め */
}

section:nth-of-type(even) { /* 偶数番目のセクションに背景色をつけて変化をつける */
    background-color: #f8f5f3; /* 生成り色より少し濃い色 */
}

/* ======== 見出し (h2/h3) ======== */
h2, h3 {
    font-family: var(--font-serif);
    text-align: center;
    margin-bottom: 60px; /* 見出しの下の余白広め */
    position: relative;
    padding-bottom: 15px; /* 下線との隙間 */
}

h2 {
    font-size: 2.8em;
    color: var(--sub-color); /* アクセントカラーをメインに */
    letter-spacing: 2px;
}

h3 {
    font-size: 2em;
    color: var(--text-color);
    letter-spacing: 1px;
}

h2::after { /* h2の下にサブカラーの細い線 */
    content: '';
    display: block;
    width: 60px;
    height: 1px;
    background-color: var(--sub-color);
    margin: 0 auto;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
}

/* ======== コンセプトセクション ======== */
.concept .container {
    display: flex;
    align-items: center;
    gap: 60px; /* 写真とテキストの間の余白 */
}

.concept .container > div {
    flex: 1; /* 写真とテキストが均等な幅を占める */
}

.concept .container > div:first-child {
    background-color: #eee; /* 写真のプレースホルダー */
    min-height: 300px;
    background-image: url('https://via.placeholder.com/600x400/eee/ffffff?text=Concept+Image'); /* 仮画像 */
    background-size: cover;
    background-position: center;
}

.concept h3 {
    text-align: left;
    margin-bottom: 20px;
    padding-bottom: 0; /* h3の下線は今回はなし */
}

.concept h3::after {
    display: none;
}

/* ======== お知らせセクション ======== */
.news ul {
    max-width: 800px;
    margin: 0 auto 40px auto;
    border-top: 1px solid #ddd;
}

.news li {
    display: flex;
    padding: 20px 0;
    border-bottom: 1px solid #ddd;
    align-items: baseline;
}

.news time {
    font-size: 14px;
    color: var(--light-text-color);
    margin-right: 30px;
    flex-shrink: 0; /* 縮まないように */
}

.news li a {
    font-family: var(--font-sans);
    color: var(--text-color);
    transition: color 0.3s ease;
}

.news li a:hover {
    color: var(--main-color);
}

.news > a { /* 「お知らせ一覧へ」リンク */
    display: block;
    text-align: center;
    margin-top: 40px;
    color: var(--main-color);
    font-family: var(--font-sans);
    font-weight: bold;
    transition: color 0.3s ease;
}

.news > a:hover {
    color: var(--sub-color);
}

/* ======== コース・料金プレビュー ======== */
.menu-cards {
    display: grid; /* グリッドレイアウト */
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* レスポンシブ対応 */
    gap: 40px; /* カード間の余白 */
    max-width: 1000px;
    margin: 0 auto 60px auto;
}

.menu-cards .card {
    background-color: #fff;
    border: 1px solid #f0e9e5;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.menu-cards .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.menu-cards .card > div:first-child { /* 画像のプレースホルダー */
    min-height: 200px;
    background-color: #ccc;
    background-image: url('https://via.placeholder.com/400x250/ccc/ffffff?text=Menu+Image'); /* 仮画像 */
    background-size: cover;
    background-position: center;
}

.menu-cards .card h4 {
    font-family: var(--font-serif);
    font-size: 1.5em;
    margin: 25px 20px 10px;
    color: var(--main-color);
}

.menu-cards .card p {
    font-family: var(--font-sans);
    font-size: 15px;
    color: var(--light-text-color);
    padding: 0 20px 25px;
}

.menu-preview > a { /* 「コース一覧へ」リンク */
    display: block;
    text-align: center;
    color: var(--main-color);
    font-family: var(--font-sans);
    font-weight: bold;
    transition: color 0.3s ease;
}

.menu-preview > a:hover {
    color: var(--sub-color);
}


/* ======== 予約への誘導 (CTA) ======== */
.cta {
    background-color: var(--main-color); /* メインカラーを背景に */
    color: #fff;
    text-align: center;
    padding: 80px 20px;
}

.cta h3 {
    font-family: var(--font-serif);
    font-size: 2.5em;
    margin-bottom: 30px;
    color: #fff; /* 白 */
}

.cta h3::after {
    background-color: #fff; /* 下線も白 */
}

.cta p {
    font-family: var(--font-sans);
    font-size: 1.1em;
    margin-bottom: 40px;
}

.cta div { /* 電話番号とボタンを囲むdiv */
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.cta div p {
    font-size: 2em;
    font-weight: bold;
    letter-spacing: 1px;
    margin-bottom: 0;
}

.cta a { /* オンライン予約ボタン */
    display: inline-block;
    padding: 15px 40px;
    background-color: #fff;
    color: var(--main-color);
    font-family: var(--font-sans);
    font-weight: bold;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.cta a:hover {
    background-color: var(--sub-color);
    color: #fff;
}

/* ======== フッター ======== */
footer {
    background-color: #fff;
    color: var(--light-text-color);
    padding: 40px 20px;
    text-align: center;
    font-family: var(--font-sans);
    font-size: 14px;
    border-top: 1px solid #eee;
}

footer div p {
    margin-bottom: 10px;
}

footer nav ul {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 20px 0;
}

footer nav a {
    color: var(--light-text-color);
    transition: color 0.3s ease;
}

footer nav a:hover {
    color: var(--main-color);
}

footer small {
    display: block;
    margin-top: 20px;
}

/* フッターのサロン情報スタイル */
footer .footer-info {
    max-width: 500px; /* フッター情報の最大幅を制限 */
    margin: 0 auto 20px auto; /* 中央寄せ、下部に余白 */
    line-height: 1.8; /* 行間調整 */
}

footer .footer-info p {
    margin-bottom: 5px; /* 各情報の行間 */
}

footer .footer-info p:last-child {
    margin-bottom: 0;
}


/* ======== 下層ページの共通スタイル ======== */
.page-title {
    padding: 60px 0;
    background-color: #f8f5f3; /* 偶数セクションと同じ背景色 */
    text-align: center;
}

.page-title h1 {
    font-size: 2.8em;
    color: var(--sub-color);
    letter-spacing: 2px;
}

section.bg-section {
    background-color: #f8f5f3;
}

.section-intro {
    max-width: 800px;
    margin: -30px auto 60px auto;
    text-align: center;
    font-family: var(--font-sans);
    color: var(--light-text-color);
}

.notice {
    font-family: var(--font-sans);
    font-size: 14px;
    color: var(--light-text-color);
    text-align: center;
    margin-top: 30px;
}

/* ======== menu.html のスタイル ======== */

/* 体のメンテナンス：料金表 */
.menu-table {
    max-width: 900px;
    margin: 0 auto;
    border: 1px solid #e0d9d4;
    border-radius: 8px;
    overflow: hidden;
    background-color: #fff;
}

.menu-table-header, .menu-table-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    align-items: center;
    border-bottom: 1px solid #e0d9d4;
}
.menu-table-header {
    background-color: #f8f5f3;
    font-family: var(--font-sans);
    font-weight: bold;
    color: var(--sub-color);
}

.menu-table-header div, .menu-table-row div {
    padding: 20px;
    text-align: center;
}

.menu-table-row div {
    font-family: var(--font-sans);
}

.menu-table-row:last-child {
    border-bottom: none;
}

.menu-table-row strong {
    font-size: 1.2em;
    color: var(--main-color);
}

.menu-table-row small {
    font-size: 12px;
    color: var(--light-text-color);
}


/* 肌のメンテナンス：カード */
.menu-cards-large {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.card-large {
    background-color: #fff;
    padding: 40px;
    border: 1px solid #f0e9e5;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.card-large h3 {
    margin-bottom: 20px;
    padding-bottom: 15px;
    font-size: 1.8em;
    color: var(--main-color);
}

.card-large h3::after {
    content: '';
    display: block;
    width: 40px;
    height: 1px;
    background-color: var(--main-color);
    margin: 0 auto;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
}

.card-large p {
    font-family: var(--font-sans);
    margin-bottom: 30px;
}

.card-large .price-info p {
    margin-bottom: 10px;
    font-family: var(--font-sans);
    font-weight: bold;
}
.card-large .price-info small {
    font-weight: normal;
}

/* オプション */
.options-list {
    max-width: 800px;
    margin: 0 auto;
    border-top: 1px solid #ddd;
}

.options-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #ddd;
}

.options-list h4 {
    font-family: var(--font-serif);
    font-size: 1.2em;
    margin: 0;
    color: var(--text-color);
}

.options-list p {
    font-family: var(--font-sans);
    font-size: 1.2em;
    font-weight: bold;
    color: var(--sub-color);
    margin: 0;
}

/* 託児サービス */
.childcare-info {
    text-align: center;
}
.childcare-info h2 small {
    font-size: 0.5em;
    color: var(--light-text-color);
    vertical-align: middle;
}

/* ======== access.html のスタイル ======== */
.access-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
    align-items: center;
}

.access-info-box {
    background: #fff;
    padding: 40px;
    border: 1px solid #f0e9e5;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.access-info-box h3 {
    text-align: left;
    margin-bottom: 20px;
    padding-bottom: 0;
    font-size: 1.5em;
}
.access-info-box h3::after { display: none; }

.access-info-box p {
    font-family: var(--font-sans);
    line-height: 2;
    margin-bottom: 20px;
}

.map-placeholder {
    width: 100%;
    height: 400px;
    background-color: #e9e9e9;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--light-text-color);
    font-family: var(--font-sans);
}

.directions-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.direction-card {
    background-color: #fff;
    padding: 40px;
    border-radius: 8px;
    text-align: center;
}

.direction-card h3 {
    margin-bottom: 20px;
    color: var(--main-color);
}

.direction-card p {
    font-family: var(--font-sans);
}

.contact-box {
    max-width: 600px;
    margin: 0 auto;
    padding: 40px;
    background-color: #f8f5f3;
    border-radius: 8px;
    text-align: center;
}

.contact-box p {
    margin-bottom: 20px;
    font-family: var(--font-sans);
}
.contact-box p:last-child {
    margin-bottom: 0;
}

.contact-box .button {
    display: inline-block;
    padding: 10px 30px;
    background-color: var(--main-color);
    color: #fff;
    font-weight: bold;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}
.contact-box .button:hover {
    background-color: var(--sub-color);
}

.contact-box .tel {
    font-size: 1.8em;
    font-weight: bold;
    color: var(--sub-color);
}

/* フッターのコンテナ調整 */
footer .container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ======== レスポンシブ対応 ======== */
@media (max-width: 768px) {
  .hero .hero-title {
    font-size: 1.3rem; /* モバイル表示用に小さく */
    line-height: 1.7;
    color: rgba(0, 80, 71, 0.65); /* 少し薄い色に */
  }

  header .container {
    flex-direction: column; /* スマホで縦並び */
    gap: 15px;
  }

  header nav ul {
    flex-wrap: wrap; /* ナビメニューを折り返し */
    justify-content: center;
    gap: 15px;
  }

  main section {
    padding: 60px 16px;
  }

  h2, h3 {
    margin-bottom: 40px;
  }

  h2 {
    font-size: 2em;
  }

  h3 {
    font-size: 1.5em;
  }

  .concept .container {
    flex-direction: column;
  }
  .concept .container > div:first-child {
    min-height: 200px;
  }

  .news ul {
    margin-bottom: 20px;
  }
  .news li {
    flex-direction: column;
    align-items: flex-start;
    padding: 15px 0;
  }
  .news time {
    margin-bottom: 5px;
  }

  .menu-cards {
    grid-template-columns: 1fr; /* スマホで1列表示 */
    gap: 30px;
  }

  .menu-table {
    display: block; /* テーブル表示をブロックに変更 */
  }
  .menu-table-header {
    display: none; /* ヘッダーは非表示 */
  }
  .menu-table-row {
    grid-template-columns: 1fr; /* 1列表示 */
    padding: 15px;
  }
  .menu-table-row div {
    text-align: left;
    padding: 5px 0;
  }
  .menu-table-row div:first-child {
    font-size: 1.1em;
    font-weight: bold;
    color: var(--main-color);
  }
  .menu-table-row div:not(:first-child) {
    font-size: 0.9em;
  }

  .menu-cards-large {
    grid-template-columns: 1fr; /* スマホで1列表示 */
    gap: 30px;
  }

  .card-large {
    padding: 30px;
  }
  .card-large h3 {
    font-size: 1.5em;
  }

  .options-list li {
    flex-direction: column;
    align-items: flex-start;
    padding: 15px 0;
  }
  .options-list h4 {
    margin-bottom: 5px;
  }

  .access-container {
    grid-template-columns: 1fr; /* スマホで1列表示 */
  }
  .map-placeholder {
    height: 300px;
  }

  .directions-grid {
    grid-template-columns: 1fr; /* スマホで1列表示 */
    gap: 30px;
  }

  .contact-box {
    padding: 30px;
  }
  .contact-box .tel {
    font-size: 1.5em;
  }

  footer .container {
    flex-direction: column;
    gap: 20px;
  }
  footer nav ul {
    flex-direction: column;
    gap: 10px;
  }
}

/* お客様の声セクションのスタイル */
.voice {
  margin-top: 40px;
}

.voice p {
  font-style: italic;
  opacity: 0.9;
}

.voice blockquote {
  background-color: #fff; /* 白い背景 */
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05); /* 薄い影で浮き出し効果 */
  margin: 40px auto 0 auto; /* 中央寄せ、上部に余白 */
  max-width: 700px; /* 幅を制限 */
}
.voice blockquote footer {
    text-align: right;
    margin-top: 20px;
    color: var(--light-text-color);
    font-size: 0.9em;
}

/* 共感セクションのスタイル */
.intro {
    margin-top: 60px; /* ヒーロー画像との間に余白 */
}

/* 共通ボタンのスタイル */
.btn {
    display: inline-block;
    padding: 15px 30px;
    background-color: var(--main-color); /* 既存のテーマカラーを使用 */
    color: #fff;
    font-family: var(--font-sans);
    font-weight: bold;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: var(--sub-color);
}

/* メニュー導線ブロックのスタイル */
.menu-link {
    text-align: center; /* ボタンを中央寄せ */
    margin-top: 60px; /* 上部に余白 */
}

.menu-link p {
    margin-bottom: 20px; /* 説明文とボタンの間に余白 */
}

/* LINEボタンのスタイル */
.line-btn {
    background-color: #00B900; /* LINEのブランドカラーを意識 */
    color: #fff;
    /* .btnで既に設定されているので、font-family, font-weight, border-radius, text-decoration, transitionは不要 */
    margin-top: 20px; /* 上部に余白 */
}

.line-btn:hover {
    background-color: #008f00; /* ホバー時の色 */
}


