/* 共通 */
body {
  font-family: 'M PLUS Rounded 1c', "YuGothic", "Hiragino Kaku Gothic ProN",
    system-ui, sans-serif;
  color: #333;
  background: #fff;
  font-size: 16px;  
}

/* 本文全体の行間を広げて読みやすくする（フッターには効かない） */
main {
  line-height: 1.7;
}

/* 本文とリストの標準文字サイズを少しだけ小さめにして、優しく */
main p,
main li {
  font-size: 0.95rem;
}


.container {
  width: 1160px;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 16px;
}

/* ヘッダーの中だけは横幅いっぱい＆左寄せにする */
.site-header .container {
  max-width: none;
  width: 100%;
  margin: 0;
  padding: 0 24px;  /* お好みで左右の余白。キツかったら16pxとかにしてOK */
}

/* ヘッダー＝左の縦ナビにする */
.site-header {
  position: fixed;          /* スクロールしてもついてくる */
  top: 0;
  left: 0;
  width: 260px;             /* サイドバーの幅 */
  height: 100vh;            /* 画面の高さいっぱい */
  background: #ffffff;
  border-right: 3px solid #f3f3f3;
  z-index: 1000;
}

/* 中身を縦に並べる */
.header-inner {
  display: flex;
  flex-direction: column;   /* ロゴ → メニューを縦並び */
  align-items: flex-start;  /* 左寄せ */
  justify-content: flex-start;
  gap: 32px;                /* ロゴとメニューの間 */
  height: 100%;
  padding: 24px 24px 32px;
}


.site-logo img {
  height: 120px;
}

/* ナビを縦並びに */
.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;   /* 縦並び */
  gap: 16px;
  font-size: 14px;
}

.site-nav a {
  display: block;
  padding: 4px 0;
  color: #222;
  text-decoration: none;
  border-radius: 0;
  transition: color 0.2s, transform 0.15s;
}

.site-nav a:hover {
  color: #f5a623;
  transform: translateX(4px); /* ちょっと右に動いておしゃれに */
}

/* お問い合わせを黄色ボタン化＋✉アイコン */
.site-nav .contact-link a {
  display: block;
  margin-top: 24px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 2px solid #ffc94d;  /* 黄色い枠 */
  background: #fff;
  font-weight: 700;
  text-align: center;
  color: #333;
  position: relative;
  transition: background 0.2s, transform 0.2s;
}

/* ✉アイコンを前に付ける */
.site-nav .contact-link a::before {
  content: "✉ ";
  margin-right: 4px;
}

/* ホバー演出 */
.site-nav .contact-link a:hover {
  background: #fffbea;
  transform: translateX(4px);
}

.site-nav li:last-child a:hover {
  background: #ffdb7d;
  transform: translateX(0);
}

/* 左サイドバーの幅ぶん、本文を右にずらす */
main {
  margin-left: 260px;
}


/* ヒーロー */
.hero {
  position: relative;
  overflow: hidden;
}

.hero-image-wrap img {
  width: 100%;
  display: block;
}

.hero-text {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  color: #ffffff;
  text-align: left;
}

.hero-copy-sub {
  font-size: 18px;
  margin-bottom: 8px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

.hero-copy-main {
  font-size: 40px;
  font-weight: bold;
  margin-bottom: 12px;
  text-shadow: 0 3px 6px rgba(0, 0, 0, 0.5);
}

.hero-copy-desc {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 20px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

.hero-button {
  display: inline-block;
  background: #ffd600;
  color: #333;
  padding: 10px 24px;
  border-radius: 999px;
  font-weight: bold;
  box-shadow: 0 3px 0 #e0b800;
  transition: transform 0.1s, box-shadow 0.1s, background 0.2s;
}

.hero-button:hover {
  transform: translateY(1px);
  box-shadow: 0 1px 0 #e0b800;
  background: #ffe766;
}

/* セクションカード */
.sections-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  padding: 40px 0 60px;
}

.section-card {
  flex: 1 1 calc(50% - 24px);
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  transition: transform 0.15s ease-out, box-shadow 0.15s ease-out;
}

.section-card a {
  display: block;
  height: 100%;
  color: inherit;
}

.section-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.section-image img {
  display: block;
  width: 100%;
}

.section-card h2 {
  font-size: 20px;
  font-weight: bold;
  padding: 16px 20px 4px;
}

.section-card p {
  font-size: 14px;
  padding: 0 20px 20px;
  line-height: 1.7;
}

/* フッター */
.site-footer {
  background: #f4f4f4;
  padding: 16px 0;
  margin-top: 40px;
}

.footer-inner {
  text-align: center;
  font-size: 12px;
  color: #666;
}

.footer-logo {
  font-weight: bold;
  margin-bottom: 4px;
}

/* ===== トップページの余白調整ここから ===== */

/* ページ全体の余白をなくす（まだ書いてなければ） */
body {
  margin: 0;
}

/* ヘッダーの下の余白を消す */
header {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

/* ヒーロー（山と海の大きなイラスト）部分 */
.hero {
  position: relative;
  width: 100%;
  margin: 0;
  padding: 0;
}

/* 山と海の画像の表示方法を調整して、上の空白を消す */
.hero img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  object-position: top;  /* ← 画像を上側にピッタリ寄せる */
}

/* 画像の上に乗っている「ぐんま子どもの旅」の文字など */
.hero-text {
  position: absolute;
  bottom: 10%;
  left: 10%;
  color: #ffffff;
}

/* ===== トップページの余白調整ここまで ===== */
/* ===== ヒーロー上部のキャッチコピー＆写真 ===== */

.hero {
  padding-top: 40px;      /* ヘッダーの下に少しだけ余白 */
}

.hero-top {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;              /* 文字と写真の間隔 */
  margin-bottom: 20px;    /* ここを変えると白い余白の高さが変わる */
}

.hero-catch {
  font-size: 42px;
  font-weight: 700;
  text-align: center;
  margin: 0;
}

.hero-top-photo img {
  max-width: 260px;       /* 写真の最大幅 */
  border-radius: 16px;    /* 角を少し丸く */
  display: block;
}

/* 画像の上のスキマ対策 */
.hero-image-wrap img {
  display: block;
  width: 100%;
}

/* スマホ用に少し縮める（あとで本格調整するときの土台） */
@media (max-width: 768px) {
  .hero-top {
    flex-direction: column;
    gap: 20px;
  }

  .hero-catch {
    font-size: 26px;
  }

  .hero-top-photo img {
    max-width: 200px;
  }

  .container {
    padding: 0 18px;   /* お好みで 16〜20px あたり */
    box-sizing: border-box;
  }
}
/* ===== heroエリアの余白リセット＆調整 ===== */

/* 全体の白い余白が広くなりすぎないようにする */
/* トップのヒーローエリア全体 */
.hero {
  position: relative;
  margin-top: 0;
  height: 70vh;          /* 画面の7割くらいの高さにする */
  min-height: 480px;     /* 小さい画面でも潰れないように */
  display: flex;
  align-items: center;   /* 中央寄せ */
  overflow: hidden;      /* はみ出した画像を隠す */
}


/* 余白をとり過ぎないように */
.hero-top {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  margin-bottom: 16px; /* ←ここが大きいと白いところが広くなる。とりあえず16px */
}

/* キャッチコピー */
.hero-catch {
  font-size: 42px;
  font-weight: 700;
  text-align: center;
  margin: 0;
}

/* 写真のスタイル（写真いらなければこのブロックごと削除してもOK） */
.hero-top-photo img {
  max-width: 260px;
  border-radius: 16px;
  display: block;
}

/* 背景画像用のラッパー（section の裏側に敷く） */
.hero-image-wrap {
  position: absolute;
  inset: 0;            /* 上下左右ぜんぶ 0 にするショートカット */
  z-index: -1;         /* テキストの後ろに回す */
}

/* 背景画像の表示方法 */
.hero-image-wrap img {
  width: 100%;
  height: 100%;        /* section の高さにフィット */
  object-fit: cover;   /* いい感じにトリミングして全体を埋める */
  object-position: center bottom;  /* 下の山を優先的に見せる */
}

/* テキストエリア */
.hero-text {
  text-align: right;           /* ← テキストも右寄せ */
  margin-right: 5%;            /* ← 右に少し余白 */
}


/* キャッチコピーのサイズ調整（お好みで微調整OK） */
.hero-copy-sub {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.hero-copy-main {
  font-size: 2.4rem;
  margin: 0 0 0.8rem;
}

.hero-copy-desc {
  margin-bottom: 1.2rem;
}



/* スマホ用ざっくり調整 */
@media (max-width: 768px) {
  .hero-top {
    flex-direction: column;
    gap: 20px;
  }

  .hero-catch {
    font-size: 26px;
  }

  .hero-top-photo img {
    max-width: 200px;
  }
}

.hero {
  justify-content: flex-end;   /* ← テキストを右寄せ */
}

.hero-text-container {
  position: absolute;
  inset: 0;                 /* 上下左右いっぱいに広げる */
  display: flex;
  align-items: center;      /* 縦方向まん中 */
  justify-content: center;  /* 横方向まん中 */
  padding: 0 2rem;
  text-align: center;
  pointer-events: none;     /* テキストの上でもクリックを邪魔しない（任意） */
}

.hero-copy-main {
  color: #ffffff;                                       /* 白文字 */
  font-size: clamp(24px, 3vw, 40px);                    /* 画面幅に応じて可変 */
  font-weight: 700;
  line-height: 1.6;
  text-shadow: 0 0 10px rgba(255, 255, 255, 1),
             0 0 20px rgba(255, 255, 255, 0.8);
             /* 黒い光彩でくっきり */
  margin: 0;
}

/* =========================
   スマホ用レイアウト調整
   ========================= */
@media (max-width: 768px) {

  /* ▼ 大きいロゴ＋社名（左サイドバー用）はスマホでは隠す */
  .site-logo {
    display: none;
  }

  .site-header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    border-right: none;
    border-bottom: 3px solid #f3f3f3;
  }

  .header-inner {
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    height: auto;
    padding: 12px 16px 16px;
    gap: 12px;
  }

  .site-nav {
    display: none;
  }

  /* サイドバー → 画面上部のヘッダーに戻す */
  .site-header {
    position: sticky;   /* スクロールしても上にくっつく */
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    border-right: none;
    border-bottom: 3px solid #f3f3f3;
  }

  /* 中身は縦積み（ロゴ → メニュー）で中央寄せ */
  .header-inner {
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    height: auto;
    padding: 12px 16px 16px;
    gap: 12px;
  }

  /* メニューは縦並びのまま、中央寄せ */
  .site-nav ul {
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-size: 13px;
  }

  .site-nav li:last-child a {
    margin-top: 12px;   /* 写真の購入ボタンだけ少し下げる */
  }

  /* 本文は左余白をなくして全幅に */
  main {
    margin-left: 0;
  }
}

/* メニュー文字をポップかわいい丸ゴシックに */
.site-nav a {
  font-family: 'M PLUS Rounded 1c', sans-serif;
}

/* サイドメニュー全体の文字サイズを大きく */
.site-nav a {
  font-size: 18px;       /* ← ここで調整（20pxでもOK） */
  font-weight: 500;
  line-height: 1.6;
}

/* ロゴ下の会社名 */
.company-name {
  font-family: 'M PLUS Rounded 1c', sans-serif;
  font-size: 24px;        /* メニューより大きく */
  font-weight: 700;       /* しっかり太字 */
  color: #3a9235;         /* 黄緑（ポップカラー） */
  margin-top: 6px;
  margin-bottom: 20px;
}

/* =========================
   トップページ下部：会社情報 & お問い合わせ
   ========================= */
.contact-summary-section {
  background: #fdf8e8;          /* ほんのりクリーム色 */
  padding: 48px 0;
}

.contact-summary-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 32px;
}

.contact-summary-left,
.contact-summary-right {
  flex: 1 1 320px;
}

/* 左側：会社情報 */
.contact-summary-label {
  font-weight: 700;
  color: #3a9235;
  font-size: 20px;
  margin-bottom: 4px;
}

.contact-summary-name {
  font-weight: 700;
  font-size: 32px;
  color: #3a9235;
  margin: 0 0 16px;
}

.contact-summary-address {
  font-size: 14px;
  margin: 4px 0 12px;
}

.contact-summary-link a {
  font-size: 14px;
  color: #3a9235;
  text-decoration: underline;
}

/* 右側：お問い合わせ */
.contact-summary-heading {
  font-weight: 700;
  margin-bottom: 8px;
}

.contact-summary-tel-label {
  font-weight: 700;
  color: #3a9235;
  font-size: 16px;
  margin-bottom: 4px;
}

.contact-summary-tel-number {
  font-weight: 700;
  color: #3a9235;
  font-size: 28px;
  margin-bottom: 12px;
}

.contact-summary-hours {
  font-size: 14px;
  margin-bottom: 16px;
}

/* 黄色いお問い合わせボタン */
.contact-summary-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  border-radius: 999px;
  background: #ffc94d;
  color: #333;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}

.contact-summary-button-icon {
  font-size: 18px;
}

.contact-summary-button:hover {
  background: #ffdb7d;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.25);
}

/* スマホ時は縦並びに */
@media (max-width: 768px) {
  .contact-summary-section {
    padding: 32px 0;
  }

  .contact-summary-inner {
    flex-direction: column;
    gap: 24px;
  }
}

/* =========================
   PC表示時は横幅を固定して
   見え方をほぼ同じにする
   ========================= */
@media (min-width: 1024px) {
  body {
    min-width: 1200px;   /* サイト全体の最小幅 */
  }

  .container {
    width: 1160px;       /* もともとの幅をキープ */
    max-width: 1160px;   /* これ以上は縮まない */
  }
}

/* PCでは会社情報ブロックを少し右寄せにする */
@media (min-width: 1024px) {
  .contact-summary-inner {
    justify-content: flex-end;  /* 右側に寄せる */
    gap: 80px;                  /* 左右のブロックの間隔 */
  }

  .contact-summary-left,
  .contact-summary-right {
    flex: 0 0 360px;            /* 横幅を揃えてコンパクトに */
  }
}

/* =========================
   「ぐんま子どもの旅とは？」紹介ブロック
   ========================= */
.intro-section {
  padding: 32x 0 20px;
  background: #f9fcff;  /* ほんのり水色背景でヒーローとの区切り */
}

.intro-title {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #333;
}

.intro-lead {
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 28px;
}

.intro-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.intro-point-card {
  flex: 1 1 260px;
  background: #ffffff;
  border-radius: 16px;
  padding: 12px 16px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
}

.intro-point-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #3a9235;  /* サイドバーと同じ系統の緑 */
}

.intro-point-card p {
  font-size: 14px;
  line-height: 1.7;
}

/* スマホ時は縦一列に */
@media (max-width: 768px) {
  .intro-section {
    padding: 24px 12px;
  }

  .intro-points {
    display: block; 
  }
}
.intro-title {
  line-height: 1.4;
}

.intro-point-card {
  margin-bottom: 12px;  /* カード同士の間隔だけ作る */
  padding: 10px 14px;   /* ← 少しだけ余裕を持たせる */
}

.intro-section {
  padding: 24px 0 12px; /* セクション全体の上下もぎゅっと */
}

html,
body {
  max-width: 100%;
  overflow-x: hidden; /* ← これでページ全体の横スクロールを止める */
}

/* =========================
   スマホ用ヘッダー＋ハンバーガーメニュー
   ========================= */

/* =========================
   スマホ用ヘッダー＋ハンバーガーメニュー
   ========================= */

/* PCでは非表示 */
.mobile-header,
.mobile-menu {
  display: none;
}

@media (max-width: 768px) {

  /* PC用サイドバーはスマホでは非表示にする */
  .site-header {
    display: none;
  }

  /* 本文は左の余白をなくして全幅に */
  main {
    margin-left: 0;
  }

  /* ───── ヘッダー本体（画面上部に固定） ───── */
  .mobile-header {
    display: block;
    position: fixed;      /* スクロールしても付いてくる */
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: #ffffff;
    border-bottom: 1px solid #eee;
  }

  .mobile-header-inner {
    max-width: 1160px;
    margin: 0 auto;
    padding: 8px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .header-left {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .header-logo {
    height: 40px;
  }

  .header-title {
    font-size: 18px;
    font-weight: 700;
    color: #3a9235;   /* 文字を緑色に */
  }

  /* ───── ハンバーガーアイコン ───── */
  .hamburger {
    width: 30px;
    height: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    margin-left: 16px;   /* ロゴとの距離を少しあける */
  }

  .hamburger span {
    display: block;
    height: 3px;
    border-radius: 999px;
    background: #3a9235;   /* 緑色の三本線 */
  }

  /* コンテンツがヘッダーの下に隠れないように余白を足す */
  body.top-page {
    padding-top: 64px;   /* ヘッダーの高さぶん。足りなければ70〜80に調整 */
  }

  /* ───── プルダウンメニュー ───── */
  .mobile-menu {
    display: block;
    position: fixed;
    inset: 0;                     /* 画面全体を覆う */
    background: rgba(255, 255, 255, 0.97);
    z-index: 999;
    transform: translateY(-100%); /* 初期状態は画面の上に隠しておく */
    transition: transform 0.25s ease-out;
    padding-top: 80px;            /* ヘッダーの高さぶん上に余白 */
  }

  .mobile-menu ul {
    list-style: none;
    margin: 0;
    padding: 0 24px 32px;
  }

  /* ★ここでメニューの行間を広げる */
  .mobile-menu li + li {
    margin-top: 20px;   /* ここを22〜24pxにしてもOK */
  }

  .mobile-menu a {
    display: block;
    font-size: 20px;    /* 押しやすいよう大きめ */
    font-weight: 600;
    text-decoration: none;
    color: #333;
  }

  /* JS で .open クラスを付けたときにメニューを表示する */
  .mobile-menu.open {
    transform: translateY(0);
  }
}

/* =========================
   スマホ用ヘッダー＆メニュー
   ========================= */

/* デフォルトでは非表示（PCのときは左サイドバーを使う） */
.mobile-header,
.mobile-menu {
  display: none;
}

/* 768px 以下（スマホ）のときに表示 */
@media (max-width: 768px) {
  /* 左サイドバーはスマホでは隠す */
  .site-header {
    display: none;
  }

  /* 画面上部にくっついてスクロールしても付いてくるヘッダー */
  .mobile-header {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 64px;
    background: #ffffff;
    border-bottom: 2px solid #f3f3f3;
    z-index: 1000;
  }

  .mobile-header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .mobile-header-left {
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .mobile-header-logo {
    width: 56px;
    height: auto;
  }

  .mobile-header-title {
    font-family: "M PLUS Rounded 1c", system-ui, -apple-system,
      BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
    color: #35a44a; /* ぐんま子どもの旅の緑 */
    letter-spacing: 0.04em;
  }

  /* ハンバーガーボタン（右側） */
  .hamburger-btn {
    width: 40px;
    height: 32px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: none;
    background: transparent;
    padding: 4px 0;
    cursor: pointer;
  }

  .hamburger-btn span {
    display: block;
    width: 100%;
    height: 3px;
    border-radius: 999px;
    background: #35a44a; /* 緑色の三本線 */
    transition: transform 0.2s ease, opacity 0.2s ease;
  }

  /* 開いたときに「×」っぽくする */
  .hamburger-btn.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .hamburger-btn.open span:nth-child(2) {
    opacity: 0;
  }
  .hamburger-btn.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  /* メニュー本体（全画面に白い板を出す） */
  .mobile-menu {
    display: none;
    position: fixed;
    top: 64px; /* ヘッダーの高さ分ずらす */
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.96);
    z-index: 900;
    overflow-y: auto;
  }

  .mobile-menu.open {
    display: block;
  }

  .mobile-menu ul {
    list-style: none;
    margin: 0;
    padding: 24px 24px 40px;
  }

  /* ← メニューの行間を広めにする（押し間違え防止） */
  .mobile-menu li + li {
    margin-top: 20px;
  }

  .mobile-menu a {
    font-size: 1.2rem;
    font-weight: 500;
    color: #333;
    text-decoration: none;
  }

  /* ヘッダーぶん本文を下げる（隠れ防止） */
  main {
    padding-top: 80px;
  }

  /* ①②③のボックスの余白を少し詰めたい場合の例
     クラス名が違う場合は、ここを実際のクラス名に変更してください */
  .about-point,
  .about-point-card {
    padding-top: 18px;
    padding-bottom: 18px;
    margin-bottom: 16px;
  }
}

/* ==========================
   About Us ページ用
   ========================== */

.about-page {
  max-width: 960px;
  margin: 0 auto;
  padding: 32px 16px 64px;
}

/* 上の大きな写真＋タイトル */
.about-hero {
  margin-bottom: 32px;
}

.about-hero-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}

.about-hero-copy {
  margin-top: 16px;
  text-align: center;
  padding: 16px;
  background: #f5fbff;        /* うすい水色 */
  border-radius: 12px;
}


.about-hero-copy h1 {
  font-size: 2rem;
  margin-bottom: 8px;
}

.about-hero-copy p {
  font-size: 0.95rem;
  color: #555;
}

/* 共通セクション */
.about-section {
  margin-bottom: 40px;
}

.about-section h2 {
  font-size: 1.4rem;
  margin-bottom: 16px;
  border-left: 4px solid #2e7d32; /* 深めの緑 */
  padding-left: 8px;
}

.about-section p {
  line-height: 1.8;
  margin-bottom: 12px;
}

.about-representative {
  margin-top: 16px;
  text-align: right;
}

/* スタッフ紹介 */
.staff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 24px;
}

.staff-card {
  text-align: center;
  padding: 16px;
}

.staff-avatar-wrap {
  width: 140px;
  height: 140px;
  margin: 0 auto 12px;
  border-radius: 50%;
  border: 4px solid #2e7d32;  /* ○枠の色 */
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
}

.staff-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;      /* 画像中央でトリミングして丸の中に収める */
}

.staff-name {
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.staff-role {
  font-size: 0.9rem;
  color: #62f56aff;
  margin-bottom: 8px;
}

.staff-desc {
  font-size: 0.85rem;
  line-height: 1.6;
}

/* 会社概要 表風レイアウト */
.company-table {
  margin-top: 16px;
  border-radius: 10px;
  border: 1px solid #e0e0e0;
  overflow: hidden;
  max-width: 1200px;          /* 横を少し広めにとる */
  background: #ffffff;
}

.company-table > div {
  display: grid;
  grid-template-columns: 160px 1fr;  /* 左の項目を少し広く */
  padding: 10px 16px;                /* 行の上下左右に余白を増やす */
  border-bottom: 1px solid #f0f0f0;
  font-size: 0.95rem;
}

/* 行ごとにうっすら色を変えるとさらに見やすい */
.company-table > div:nth-child(even) {
  background: #fafafa;
}

.company-table dt {
  font-weight: 600;
  color: #333;
}

.company-table dd {
  margin: 0;
}

/* スタッフ紹介 */
.staff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 24px;
  margin-top: 16px;
}

.staff-card {
  text-align: center;
  padding: 16px 12px;
  border: 1px solid #dddddd;   /* ← 四角の枠線 */
  border-radius: 12px;         /* ← 角を少し丸く */
  background: #ffffff;         /* ← 白いカード */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04); /* すこしだけ影 */
}

.staff-avatar-wrap {
  width: 140px;
  height: 140px;
  margin: 0 auto 12px;
  border-radius: 50%;
  border: 4px solid #2e7d32;  /* ○枠の色 */
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
}

.staff-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.staff-name {
  font-size: 1.1rem;
  margin: 4px 0;
  font-weight: 700;
}

.staff-role {
  font-size: 0.9rem;
  color: #2e7d32;
  margin-bottom: 8px;
}

.staff-desc {
  font-size: 0.85rem;
  line-height: 1.6;
}

/* やさしい背景色をつけた強調セクション */
.about-section--highlight {
  background: #f3fff3;              /* うすい黄緑寄りの白 */
  border-radius: 12px;
  padding: 24px 24px 28px;          /* 中の余白をしっかり取る */
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}

/* ==========================
   旅について ページ
   ========================== */

.travel-page {
  max-width: 960px;
  margin: 0 auto;
  padding: 32px 16px 64px;
}

/* 上の画像＋タイトル */
.travel-hero {
  margin-bottom: 32px;
}

.travel-hero-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}

.travel-hero-copy {
  margin-top: 16px;
  text-align: center;
  padding: 16px;
  background: #f5fbff;   /* うすい水色 */
  border-radius: 12px;
}

.travel-hero-copy h1 {
  font-size: 2rem;
  margin-bottom: 8px;
}

.travel-hero-copy p {
  font-size: 0.95rem;
  color: #555;
}

/* 共通セクション */
.travel-section {
  margin-bottom: 40px;
}

.travel-section h2 {
  font-size: 1.4rem;
  margin-bottom: 16px;
  border-left: 4px solid #2e7d32;
  padding-left: 8px;
}

.travel-section p {
  line-height: 1.8;
  margin-bottom: 12px;
}

/* 強調セクション（薄い背景） */
.travel-section--highlight {
  background: #f7fbf7;
  border-radius: 12px;
  padding: 24px 24px 28px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

/* 春・夏のカード */
.season-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 16px;
}

.season-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 16px 18px 20px;
  border: 1px solid #e0e0e0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.03);
}

.season-card h3 {
  font-size: 1.2rem;
  margin-bottom: 4px;
}

.season-tag {
  font-size: 0.85rem;
  margin-bottom: 8px;
}

/* 春・夏・その他で色分け */
.season-card--spring {
  border-top: 4px solid #81c784;      /* 春っぽい明るい緑 */
  background: #f6fff7;                /* うす〜い緑背景 */
}

.season-card--summer {
  border-top: 4px solid #4fc3f7;      /* 夏っぽい水色 */
  background: #f3fbff;                /* うすい水色背景 */
}

.season-card--other {
  border-top: 4px solid #ffb74d;      /* オレンジ系 */
  background: #fff8ef;                /* うすいオレンジ背景 */
}

/* タグの色も合わせておくと分かりやすい */
.season-tag--spring {
  color: #388e3c;
}

.season-tag--summer {
  color: #0277bd;
}

.season-tag--other {
  color: #ef6c00;
}


/* 安全管理カード */
.safety-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 16px;
}

.safety-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 16px 18px 20px;
  border: 1px solid #e0e0e0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.03);
}

.safety-card h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.safety-card ul {
  padding-left: 1.1em;
  margin: 0;
}

.safety-card li {
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 6px;
}

/* 注意書き */
.travel-note {
  font-size: 0.85rem;
  color: #666;
}

/* ボタン風リンク */
.btn-link {
  display: inline-block;
  margin-top: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid #2e7d32;
  color: #2e7d32;
  text-decoration: none;
  font-size: 0.9rem;
}

/* 準備中ボタン（リンク無効風） */
.btn-link-disabled {
  border-style: dashed;
  color: #999999;
  border-color: #cccccc;
  cursor: default;
}

.btn-link-disabled:hover {
  background: transparent;
  color: #999999;
}

.btn-link:hover {
  background: #2e7d32;
  color: #fff;
}

/* ==========================
   規約・旅行条件書ページ
   ========================== */

.legal-page {
  max-width: 960px;
  margin: 0 auto;
  padding: 32px 16px 64px;
}

.legal-hero {
  margin-bottom: 24px;
}

.legal-hero h1 {
  font-size: 2rem;
  margin-bottom: 8px;
}

.legal-meta {
  font-size: 0.9rem;
  color: #666;
}

.legal-section {
  margin-bottom: 32px;
  background: #fdfdfd;
  border-radius: 12px;
  padding: 20px 24px 24px;
  border: 1px solid #eeeeee;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.legal-section h2 {
  font-size: 1.3rem;
  margin-bottom: 12px;
  border-left: 4px solid #2e7d32;
  padding-left: 8px;
}

.legal-list {
  padding-left: 1.2em;
  margin: 0;
}

.legal-list li {
  margin-bottom: 4px;
  line-height: 1.7;
}

.legal-note {
  font-size: 0.85rem;
  color: #666;
}

/* 取消料テーブル */
.legal-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 8px;
  font-size: 0.9rem;
}

.legal-table th,
.legal-table td {
  border: 1px solid #e0e0e0;
  padding: 6px 8px;
}

.legal-table th {
  background: #f5f5f5;
  font-weight: 600;
  width: 45%;
}

/* ==========================
   ご利用規約・各種ポリシー 一覧
   ========================== */

.policy-index-page {
  max-width: 960px;
  margin: 0 auto;
  padding: 32px 16px 64px;
}

.policy-hero {
  text-align: center;
  margin-bottom: 32px;
}

.policy-hero h1 {
  font-size: 2rem;
  margin-bottom: 12px;
}

.policy-hero p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.8;
}

.policy-section {
  margin-bottom: 32px;
}

.policy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

/* 基本カード */
.policy-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 18px 20px 22px;
  border: 1px solid #e0e0e0;
  box-shadow: 0 2px 6px rgba(0,0,0,0.03);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.policy-card h2 {
  font-size: 1.2rem;
  margin-bottom: 4px;
}

.policy-tag {
  font-size: 0.8rem;
  color: #2e7d32;
  opacity: 0.85;
}

.policy-card p {
  font-size: 0.9rem;
  line-height: 1.7;
}

.policy-actions {
  margin-top: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* 少し目立たせたいメインカード（旅行条件書） */
.policy-card--main {
  border: 1px solid #aed581;
  background: #f7fff2;
}

/* サブボタン（グレーっぽい） */
.btn-link-sub {
  border-color: #999999;
  color: #666666;
}

.btn-link-sub:hover {
  background: #999999;
  color: #ffffff;
}

/* ==========================
   フッター
   ========================== */

.site-footer {
  margin-top: 48px;
  background: #f3f8f3;
  border-top: 3px solid #81c784;
  font-size: 0.85rem;
}

.footer-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 20px 16px 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: flex-start;
}

/* ← ロゴサイズの指定（これが重要！） */
.footer-logo {
  width: 40px;
  height: auto;
}

.footer-logo-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-title {
  font-weight: 700;
  font-size: 1.05rem;
}

.footer-copy {
  margin-top: 4px;
  font-size: 0.8rem;
  color: #555;
}

.footer-links {
  flex: 2 1 260px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  margin-bottom: 10px;
}

.footer-nav a {
  text-decoration: none;
  color: #555;
  padding-left: 10px;
  position: relative;
}

.footer-nav a::before {
  content: "・";
  position: absolute;
  left: 0;
}

.footer-policies {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px dashed #a5d6a7;
  background: white;
  font-size: 0.78rem;
}

.footer-pill::before {
  content: "🌱";
  margin-right: 4px;
}

.footer-bottom {
  border-top: 1px solid #e0e0e0;
  text-align: center;
  padding: 8px 16px 14px;
  font-size: 0.75rem;
  color: #777;
  background: #f9fbf9;
}

/* ==========================
   お申込みページ
   ========================== */

.application-page {
  max-width: 960px;
  margin: 0 auto;
  padding: 32px 16px 64px;
}

/* タイトル部分 */
.application-hero {
  text-align: center;
  margin-bottom: 32px;
}

.application-hero h1 {
  font-size: 2rem;
  margin-bottom: 12px;
}

.application-hero p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.8;
}

.application-main-button {
  margin-top: 16px;
}

/* 共通ボタン（ページ全体で使える汎用スタイル） */
.btn-link {
  display: inline-block;
  padding: 8px 20px;
  border-radius: 999px;
  border: 1px solid #2e7d32;
  background: #ffffff;
  color: #2e7d32;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease, transform 0.05s ease;
}

.btn-link:hover {
  background: #2e7d32;
  color: #ffffff;
  transform: translateY(-1px);
}

/* サブボタン（グレー） */
.btn-link-sub {
  border-color: #999999;
  color: #666666;
}

.btn-link-sub:hover {
  background: #999999;
  color: #ffffff;
}

/* お申込みの流れ */
.application-flow {
  margin-top: 24px;
  margin-bottom: 40px;
}

.application-flow h2 {
  font-size: 1.6rem;
  margin-bottom: 8px;
  border-left: 4px solid #2e7d32;
  padding-left: 8px;
}

.application-flow-lead {
  font-size: 0.9rem;
  color: #555;
  margin-bottom: 16px;
}

.application-flow-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.application-step {
  background: #ffffff;
  border-radius: 14px;
  border: 1px solid #e0e0e0;
  padding: 16px 18px 18px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.03);
  position: relative;
}

.application-step h3 {
  font-size: 1.1rem;
  margin: 0 0 6px 0;
}

.application-step p {
  font-size: 0.9rem;
  line-height: 1.7;
}

.application-step-badge {
  position: absolute;
  top: -12px;
  left: 16px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #81c784;
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.application-note {
  margin-top: 6px;
  font-size: 0.8rem;
  color: #2e7d32;
}

/* 募集中のコース */
.application-courses {
  margin-bottom: 32px;
}

.application-courses h2,
.application-contact h2 {
  font-size: 1.4rem;
  margin-bottom: 8px;
  border-left: 4px solid #2e7d32;
  padding-left: 8px;
}

.application-courses p,
.application-contact p {
  font-size: 0.9rem;
  line-height: 1.8;
}

.application-courses-links {
  margin-top: 8px;
}

.text-link {
  color: #2e7d32;
  text-decoration: underline;
}

.text-link:hover {
  text-decoration: none;
}

/* お問い合わせ案内 */
.application-contact {
  margin-bottom: 24px;
}

.application-contact-links {
  margin-top: 12px;
}

/* スマホ調整 */
@media (max-width: 600px) {
  .application-hero h1 {
    font-size: 1.7rem;
  }
}

/* ==========================
   PCサイドメニューをかわいく
   ========================== */

.site-nav ul {
  gap: 12px;
}

.site-nav a {
  padding: 8px 14px;
  background: #f7fbf7;
  border-radius: 12px;
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ホバー時の動き */
.site-nav a:hover {
  background: #e3f2fd;
  transform: translateX(6px);
  color: #2e7d32;
}



/* ==========================
   メニューの統一アイコン（緑色の小さな丸）
   ========================== */

.site-nav a::before,
.mobile-menu a::before {
  content: "●";
  color: #2e7d32;        /* 深緑でサイトカラーと統一 */
  font-size: 0.7rem;     /* 小さくて可愛い丸 */
  margin-right: 8px;
  display: inline-block;
  line-height: 1;
}

/* ==========================
   みんなの声（画像版）
   ========================== */

.voices-gallery {
  margin-top: 40px;
  margin-bottom: 60px;
}

.voices-gallery h2 {
  font-size: 1.4rem;
  margin-bottom: 20px;
  border-left: 4px solid #2e7d32;
  padding-left: 10px;
}

/* みんなの声：画像グリッド 1〜3列固定 */

.voices-gallery-grid {
  display: grid;
  gap: 24px;
}

/* スマホ：1列 */
@media (max-width: 640px) {
  .voices-gallery-grid {
    grid-template-columns: 1fr;
  }
}

/* タブレット：2列 */
@media (min-width: 641px) and (max-width: 960px) {
  .voices-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* PC：3列 */
@media (min-width: 961px) {
  .voices-gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}


.voice-image-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 12px;
  border: 1px solid #e0e0e0;
  box-shadow: 0 3px 6px rgba(0,0,0,0.05);
}

.voice-image-card img {
  width: 100%;
  border-radius: 8px;
  display: block;
}

/* タグ部分（左上） */
.voice-img-tag {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.tag-course {
  background: #e8f5e9;
  color: #1b5e20;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 0.75rem;
}

.tag-person {
  background: #e3f2fd;
  color: #0d47a1;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 0.75rem;
}

/* スマホ対応 */
@media(max-width: 600px) {
  .voices-gallery-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================
   保護者の声 かわいいデザイン版（余白調整）
   ========================== */

.parents-grid {
  display: grid;
  row-gap: 40px;   /* 上下の間隔を大きめに */
  column-gap: 32px;/* 左右の間隔も少し広げる */
}

/* PC：2列 */
@media (min-width: 761px) {
  .parents-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* 吹き出しカード本体 */
.parent-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 26px 22px 30px;      /* 中の余白を少し増やす */
  border: 2px solid #daf3e0;
  position: relative;
  box-shadow: 0 6px 14px rgba(0,0,0,0.05);
}

/* 吹き出しのしっぽ */
.parent-card::after {
  content: "";
  position: absolute;
  bottom: -14px;               /* しっぽを少し下にずらす */
  left: 46px;                  /* しっぽの位置も少し中央寄りに */
  width: 22px;
  height: 22px;
  background: #ffffff;
  border-left: 2px solid #daf3e0;
  border-bottom: 2px solid #daf3e0;
  transform: rotate(-45deg);
  border-radius: 4px;
}

/* 見出し（学年＋保護者） */
.parent-meta {
  font-size: 0.9rem;
  font-weight: 700;
  color: #2e7d32;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* 保護者の声：タイトル左の小さい動物アイコン */
.parent-meta::before {
  content: "";
  display: inline-block;
  width: 20px;
  height: 20px;
  margin-right: 6px;
  background-image: url("../images/nijimaru_.png"); /* ← パスはアイコンの場所に合わせてね */
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

/* 本文テキスト */
.parent-text {
  font-size: 0.95rem;
  line-height: 1.9;            /* 行間を少し広く */
  color: #444;
}

/* 保護者の声：リスト全体の余白調整 */
.parents-list {
  margin-top: 32px;   /* 上にゆとりをつくる */
}

/* 中ページ（保護者の声・みんなの声・よくある質問）の共通レイアウト */
.parents-page,
.voices-page,
.faq-page {
  max-width: 960px;
  margin: 0 auto;
  padding: 32px 16px 64px;
  background: #fcfffa;  /* ほぼ白の、うすい黄緑のカード背景 */
  border-radius: 16px;
}

.faq-hero-top {
  margin-bottom: 32px;
}



.parents-intro-copy {
  font-size: 0.9rem;
  color: #666;
  margin: 6px 0 18px;
}

/* ==========================
   FAQ（よくある質問）カード型
   ========================== */

.faq-section {
  max-width: 900px;
  margin: 40px auto;
  padding: 0 16px 48px;
}

/* 見出し */
.faq-section h2 {
  font-size: 1.6rem;
  margin-bottom: 24px;
  border-left: 6px solid #2e7d32;
  padding-left: 10px;
}

/* 1つのQ&Aカード全体 */
.faq-item {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.04);
  padding: 14px 18px 16px;
  margin-bottom: 20px;
}

/* ▼ いったん全部リセット（前のCSSの影響を消す） */
.faq-item .faq-question,
.faq-item .faq-answer {
  border: none;
  background: transparent;
  box-shadow: none;
  margin: 0;
  padding: 0;
}

/* 質問行 */
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  cursor: pointer;
}

/* Q丸アイコン */
.faq-q-icon {
  background: #8adf8a;
  color: #fff;
  font-weight: 700;
  border-radius: 50%;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ▼マーク */
.faq-toggle {
  margin-left: auto;
  font-size: 1.1rem;
  color: #2e7d32;
  transition: transform 0.2s;
}

/* 回答ブロック（閉じているとき） */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  transition: max-height 0.3s ease, margin-top 0.3s ease;
}

/* A丸アイコン */
.faq-a-icon {
  background: #ffe28a;
  color: #333;
  font-weight: 700;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 10px;
}

/* 回答テキスト */
.faq-answer p {
  margin: 10px 0 4px;
  line-height: 1.8;
}

/* 開いたとき */
.faq-item.open .faq-answer {
  max-height: 500px;      /* 回答の高さに合わせて余裕をもたせる */
  margin-top: 6px;
}

.faq-item.open .faq-toggle {
  transform: rotate(180deg);
}

/* ===== FAQカードの見た目を少しはっきりさせる ===== */

/* 1つのQ&Aカード全体 */
.faq-item {
  background: #f7fff7;                 /* うすい黄緑の背景 */
  border: 1px solid #d8f5d8;           /* うすい枠線 */
  border-radius: 16px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.03);
  padding: 16px 20px 18px;
  margin-bottom: 22px;
}

/* 質問行の下にうすい仕切り線を入れる */
.faq-question {
  padding-bottom: 8px;
  border-bottom: 1px dashed #d8f0d8;
}

/* 回答ブロックの上の余白を少し広げる */
.faq-answer {
  margin-top: 8px;
}

/* 開いているカードは、ちょっとだけ濃い背景に */
.faq-item.open {
  background: #f1fff1;
}

.faq-question {
  font-weight: 500;   /* これを追加 */
}

/* Q&Aの背景色を分けて、見やすくする */

.faq-item {
  background: transparent;           /* 外側は透過しておく */
  border: none;
  box-shadow: none;
  padding: 0;
  margin-bottom: 18px;
}

/* 質問行（Q） */
.faq-question {
  background: #f3fff3;              /* うすいミントグリーン */
  border-radius: 14px;
  padding: 10px 16px;
  border-bottom: none;              /* 以前の下線はいらない */
  margin-bottom: 6px;
  font-weight: 500;                 /* 文字を少し太く */
}

/* 回答ブロック（A） */
.faq-answer {
  background: #fffdf3;              /* うすいクリーム色 */
  border-radius: 14px;
  padding: 10px 16px 12px;
  margin-top: 0;                    /* 上の余白は0にしてQとの距離を調整 */
  display: flex;
  align-items: flex-start;
  gap: 8px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

/* 開いたとき（Aの領域を展開） */
.faq-item.open .faq-answer {
  max-height: 500px;
  padding-top: 10px;
}

/* Q / A 丸アイコンを少し小さめ＆可愛く */
.faq-q-icon {
  background: #7dd97d;
  width: 24px;
  height: 24px;
  font-size: 0.9rem;
}

.faq-a-icon {
  background: #ffd87a;
  width: 22px;
  height: 22px;
  font-size: 0.85rem;
  margin-top: 6px;
}

/* 共通：ページ上部のヒーロー画像 */
.page-hero img {
  width: 100%;
  height: 260px;           /* ここで縦の高さを統一 */
  object-fit: cover;
  display: block;
}

/* 共通：ヒーローの下のタイトル帯 */
.page-hero-title {
  background: #f4fbff;
  padding: 24px 16px;
  text-align: center;
  border-radius: 12px;
  margin: 16px auto 32px;
  max-width: 960px;
}

.page-hero-title h1 {
  font-size: 1.8rem;
  margin-bottom: 8px;
}

.page-hero-title p {
  font-size: 0.95rem;
  color: #555;
}

/* よくある質問のヒーロー画像をカード幅に合わせて整える */
.faq-page .page-hero {
  max-width: 960px;
  margin: 0 auto 24px;
  border-radius: 16px;
  overflow: hidden;
}

.faq-page .page-hero img {
  width: 100%;
  height: 260px;      /* 高さをそろえたいときはここを調整 */
  object-fit: cover;
}


/* ==========================
   FAQ 最終調整（色をはっきり分ける）
   ※ style.css の一番最後に置いてください
   ========================== */

/* Q&A 全体の外枠（カード同士の間隔だけ確保） */
.faq-item {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin-bottom: 20px;
}

/* 質問行（Q） */
.faq-question {
  background: #e9f7ff !important;   /* うすい水色 */
  border-radius: 14px;
  padding: 10px 16px;
  margin-bottom: 6px;
  font-weight: 500;
  border: none !important;
}

/* 回答ブロック（A） */
.faq-answer {
  background: #fff6e0 !important;   /* うすいクリーム色 */
  border-radius: 14px;
  padding: 0 16px 0;
  margin-top: 0;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

/* 開いたとき */
.faq-item.open .faq-answer {
  max-height: 500px;
  padding-top: 10px;
  padding-bottom: 10px;
}

/* Q / A 丸アイコンを少しだけ調整 */
.faq-q-icon {
  background: #54c86b;
  color: #fff;
  width: 24px;
  height: 24px;
  font-size: 0.9rem;
}

.faq-a-icon {
  background: #ffcf6a;
  width: 22px;
  height: 22px;
  font-size: 0.85rem;
  margin-top: 6px;
}

/* ==========================
   写真の購入ページ
   ========================== */

/* ページ全体の幅・余白 */
.photos-page {
  max-width: 960px;
  margin: 0 auto;
  padding: 32px 16px 64px;
}

/* ヒーローコピー内でサイト名を少し強調 */
.photos-site-name {
  font-weight: 700;
  color: #2e7d32;
}

/* 共通セクション */
.photos-section {
  margin-top: 40px;
}

.photos-section h2 {
  font-size: 1.4rem;
  margin-bottom: 16px;
  border-left: 6px solid #2e7d32;
  padding-left: 10px;
}

.photos-lead {
  margin-bottom: 18px;
  line-height: 1.8;
}

/* 特徴カードのグリッド */
.photos-feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.photos-feature-card {
  background: #f7fbff;               /* うすい水色 */
  border-radius: 16px;
  padding: 18px 16px 20px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.03);
}

.photos-feature-card h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.photos-feature-card p {
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ステップ表示 */
.photos-step-list {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.photos-step-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.photos-step-badge {
  background: #ffe28a;
  color: #333;
  font-weight: 700;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 0.8rem;
  flex-shrink: 0;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.photos-step-body h3 {
  font-size: 1.05rem;
  margin: 0 0 4px;
}

.photos-step-body p {
  margin: 0;
  line-height: 1.8;
  font-size: 0.95rem;
}

/* 注意事項ブロック */
.photos-notes {
  background: #fcfffa;
  border-radius: 16px;
  padding: 20px 18px 22px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.03);
}

.photos-notes p {
  margin-bottom: 12px;
  line-height: 1.8;
}

.photos-notes ul {
  padding-left: 1.2em;
  margin: 0;
}

.photos-notes li {
  line-height: 1.7;
  font-size: 0.95rem;
}

/* ==========================
   写真の購入（みんなのおもいで）
   ========================== */

.photo-page {
  max-width: 960px;
  margin: 0 auto;
  padding: 32px 16px 64px;
}

/* ヒーロー */

.photo-hero {
  background: #f5fbff;
  border-radius: 16px;
  padding: 24px 20px 28px;
  margin-bottom: 32px;
  text-align: center;
}

.photo-hero h1 {
  font-size: 1.8rem;
  margin-bottom: 8px;
}

.photo-hero p {
  font-size: 0.95rem;
  line-height: 1.8;
}

.photo-hero-site-name {
  font-weight: 700;
  color: #2e7d32;
}

/* CTAボタン */

.photo-cta {
  margin-top: 18px;
}

.photo-cta--bottom {
  text-align: center;
}

.photo-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  border-radius: 999px;
  background: linear-gradient(90deg, #ffcc66, #ffa94d);
  color: #4a2b00;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  box-shadow: 0 3px 8px rgba(0,0,0,0.15);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.photo-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 12px rgba(0,0,0,0.18);
}

.photo-cta-note {
  margin-top: 6px;
  font-size: 0.8rem;
  color: #777;
}

/* セクション共通 */

.photo-section {
  margin-bottom: 40px;
}

.photo-section h2 {
  font-size: 1.4rem;
  margin-bottom: 16px;
  border-left: 6px solid #2e7d32;
  padding-left: 10px;
}

.photo-lead {
  margin-bottom: 20px;
  line-height: 1.8;
}

/* 特徴カード */

.photo-feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.photo-feature-card {
  padding: 16px 18px;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 3px 8px rgba(0,0,0,0.04);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* パステル色バリエーション */
.photo-feature-card--green  { background: #f3fff5; }
.photo-feature-card--yellow { background: #fffaf0; }
.photo-feature-card--blue   { background: #f4fbff; }
.photo-feature-card--orange { background: #fff4ec; }

.photo-feature-card h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

/* ご利用の流れ */

.photo-flow {
  background: #fffdf5;
  border-radius: 16px;
  padding: 20px 18px 24px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.03);
}

.photo-step-list {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
}

.photo-step-item {
  display: flex;
  gap: 12px;
  margin-bottom: 18px;
}

.photo-step-badge {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: #ffeb99;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: #8a5a00;
}

.photo-step-body h3 {
  font-size: 1rem;
  margin: 2px 0 4px;
}

.photo-step-body p {
  font-size: 0.9rem;
  line-height: 1.8;
}

/* 保護者のみなさまへ */

.photo-message {
  background: #f7fff7;
  border-radius: 16px;
  padding: 20px 18px 24px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.03);
}

.photo-message p {
  font-size: 0.9rem;
  line-height: 1.8;
  margin-bottom: 8px;
}

/* スマホ用改行 */

.sp-only {
  display: none;
}

@media (max-width: 767px) {
  .photo-page {
    padding-top: 24px;
  }

  .photo-step-item {
    flex-direction: row;
  }

  .photo-step-badge {
    width: 54px;
    height: 54px;
  }

  .sp-only {
    display: inline;
  }
}

/* ==========================
   お問い合わせ
========================== */

.contact-page {
  max-width: 960px;
  margin: 0 auto;
  padding: 32px 16px 64px;
}

.contact-hero {
  background: #f5fbff;
  padding: 24px 18px 28px;
  border-radius: 16px;
  text-align: center;
  margin-bottom: 36px;
}

.contact-hero h1 {
  font-size: 1.8rem;
  margin-bottom: 6px;
}

/* セクション共通 */
.contact-section {
  margin-bottom: 42px;
}

.contact-section h2 {
  font-size: 1.4rem;
  margin-bottom: 12px;
  border-left: 6px solid #2e7d32;
  padding-left: 12px;
}

/* LINE */
.contact-line-box {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #f0fff4;
  padding: 16px;
  border-radius: 16px;
}

.contact-line-qr {
  width: 120px;
  height: auto;
}

.contact-small {
  font-size: 0.85rem;
  color: #777;
}

/* メールフォーム */
.contact-form label {
  display: block;
  margin-bottom: 16px;
  font-size: 0.95rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #ccc;
  margin-top: 6px;
}

.required {
  background: #ff9999;
  color: white;
  padding: 2px 6px;
  border-radius: 999px;
  font-size: 0.75rem;
}

/* 送信ボタン */
.contact-submit {
  width: 100%;
  padding: 12px;
  background: #2e7d32;
  color: #fff;
  font-weight: bold;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}

.contact-submit:hover {
  opacity: 0.9;
}

/* 電話 */
.contact-phone {
  font-size: 1.2rem;
  padding: 12px;
  background: #fff9e8;
  border-radius: 16px;
  display: inline-block;
}

/* リンク集 */
.contact-links ul {
  list-style: none;
  padding: 0;
}

.contact-links li {
  margin-bottom: 8px;
}

.contact-links a {
  color: #2e7d32;
  font-weight: bold;
  text-decoration: underline;
}

/* ========== お問い合わせページ ========== */

.contact-page {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 16px 64px;
}

.contact-section {
  background: #fcfffa;
  border-radius: 16px;
  padding: 20px 20px 24px;
  margin-bottom: 24px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.02);
}

.contact-section h2 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.contact-section p {
  font-size: 0.95rem;
  line-height: 1.7;
}

/* LINEボックス */
.contact-line-box {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 12px;
}

.contact-line-qr {
  width: 120px;
  height: 120px;
  border-radius: 16px;
  background: #fff;
  padding: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

/* フォーム */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 12px;
}

.contact-form label {
  font-size: 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  border: 1px solid #d0e7d3;
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 0.95rem;
}

.contact-form textarea {
  resize: vertical;
}

.required {
  color: #e57373;
  font-size: 0.8rem;
  margin-left: 4px;
}

.contact-submit {
  margin-top: 4px;
  align-self: flex-start;
  background: #4caf50;
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 8px 24px;
  font-size: 0.95rem;
  cursor: pointer;
}

.contact-submit:hover {
  background: #43a047;
}

.contact-small {
  font-size: 0.8rem;
  color: #777;
  margin-top: 4px;
}

/* 電話表示 */
.contact-phone {
  font-size: 1.1rem;
  font-weight: 600;
  margin-top: 8px;
}

/* LINE ボタン */
.contact-line-button-wrap {
  margin-top: 16px;
  text-align: center;
}

.contact-line-button {
  display: inline-block;
  background: #06C755;             /* LINEの緑 */
  color: #fff;
  padding: 12px 28px;
  border-radius: 30px;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-decoration: none;
  box-shadow: 0 3px 8px rgba(0,0,0,0.15);
  transition: background 0.2s, transform 0.2s;
}

.contact-line-button:hover {
  background: #05b94e;
  transform: translateY(-2px);
}

/* Q（質問行）を左揃えに統一 */
.faq-question {
  display: flex !important;
  align-items: center;
  justify-content: flex-start !important; /* ★左揃えの決定打 */
  text-align: left !important;            /* 念のため */
}

/* Q の丸アイコン */
.faq-q-icon {
  text-align: center;
  margin-right: 8px;
}

/* ───────────────
   トップ：知りたいことからえらぶ（セクションの外にあるh2用）
   ─────────────── */
.sections-grid-title {
  /* 中身ぴったりの幅でとりつつ、全体を中央に置く */
  display: flex;             /* ← inline-flex から変更 */
  justify-content: center;   /* 中身を中央寄せ */
  width: fit-content;        /* テキスト分＋パディングの幅だけ */

  margin: 0 auto 1.8rem;     /* 自動マージンで中央に配置 */
  padding: 0.6rem 1.8rem;

  align-items: center;
  gap: 0.4rem;

  border-radius: 999px;
  background: #e9f7f4;       /* うすい水色 */
  color: #1f6b5b;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.4;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.06);
}


/* 両サイドの小さい飾り */
.sections-grid-title::before,
.sections-grid-title::after {
  content: "✳";
  font-size: 0.9rem;
  opacity: 0.7;
}

/* ========== 声・FAQの下に入れる写真ギャラリー ========== */

.voice-photos {
  margin-top: 48px;
  padding: 24px 16px 32px;
  background: #fdf9e8; /* ほんのりクリーム色：サイト全体と合うやさしい色 */
  border-radius: 16px;
}

.voice-photos-title {
  font-size: 1.4rem;
  text-align: center;
  margin-bottom: 8px;
  color: #4a7e5a; /* やさしい緑（既存の薄い緑系に寄せるイメージ） */
}

.voice-photos-lead {
  text-align: center;
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 20px;
}

/* 写真を小さめ＆複数枚でかわいく */
.voice-photos-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

/* 1枚1枚のカード（ランダム感つきバージョン） */
.voice-photo-card {
  width: 140px;
  aspect-ratio: 4 / 3;
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
  position: relative;

  /* ランダム風レイアウト用の変数 */
  --shiftX: 0px;
  --shiftY: 0px;
  --rot: 0deg;

  transform: translate(var(--shiftX), var(--shiftY)) rotate(var(--rot));
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* ちょっとランダムっぽくバラす（6枚ごとにパターン） */
.voice-photos-grid .voice-photo-card:nth-child(6n + 1) {
  --shiftY: -10px;
  --rot: -4deg;
}
.voice-photos-grid .voice-photo-card:nth-child(6n + 2) {
  --shiftY: 8px;
  --rot: 3deg;
}
.voice-photos-grid .voice-photo-card:nth-child(6n + 3) {
  --shiftY: -16px;
  --rot: 2deg;
}
.voice-photos-grid .voice-photo-card:nth-child(6n + 4) {
  --shiftY: 12px;
  --rot: -5deg;
}
.voice-photos-grid .voice-photo-card:nth-child(6n + 5) {
  --shiftY: -6px;
  --rot: 4deg;
}
.voice-photos-grid .voice-photo-card:nth-child(6n + 6) {
  --shiftY: 14px;
  --rot: -3deg;
}

/* ホバー時：その位置からふわっと浮く感じ */
.voice-photo-card:hover {
  transform: translate(var(--shiftX), calc(var(--shiftY) - 8px))
    rotate(var(--rot))
    scale(1.03);
  box-shadow: 0 8px 14px rgba(0, 0, 0, 0.18);
}

.voice-photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* スマホでは少しだけ落ち着かせる */
@media (max-width: 768px) {
  .voice-photo-card {
    width: calc(50% - 12px);
    /* スマホは傾き少なめにしたいときは、ここで調整してもOK */
  }

  /* スマホのときは揺らぎを少し弱めるパターン */
  .voice-photos-grid .voice-photo-card:nth-child(6n + 1),
  .voice-photos-grid .voice-photo-card:nth-child(6n + 2),
  .voice-photos-grid .voice-photo-card:nth-child(6n + 3),
  .voice-photos-grid .voice-photo-card:nth-child(6n + 4),
  .voice-photos-grid .voice-photo-card:nth-child(6n + 5),
  .voice-photos-grid .voice-photo-card:nth-child(6n + 6) {
    --shiftY: 4px;
    --rot: 0deg;
  }
}
/* スマホでは2列にして見やすく */
@media (max-width: 768px) {
  .voice-photo-card {
    width: calc(50% - 12px);
  }
}
/* ========== にじまるニュース ========== */

/* ========== にじまるニュース（調整版） ========== */

.nijimaru-news {
  padding: 32px 0;
  background: #fff8e5; /* すこし黄みがかった背景 → お知らせ感UP */
  border-top: 3px solid #ffd27b;
  border-bottom: 3px solid #ffd27b;
}

.nijimaru-news-inner {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

/* スマホでも横並びにするため、flex-direction は常に row のまま */
/* なのでここでは flex-direction を変えない */

.nijimaru-news-icon-area {
  flex: 0 0 90px;
  display: flex;
  justify-content: center;
  padding-top: 4px;
}

.nijimaru-news-icon {
  max-width: 80px;
  height: auto;
}

/* 右側のカード全体 */
.nijimaru-news-content {
  flex: 1;
  background: #ffffff;
  border-radius: 12px;
  padding: 12px 16px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

/* 見出し行（にじまるニュース＋サブ説明＋「もっと見る」） */
.nijimaru-news-header-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 8px;
}

/* 画面がかなり狭い場合は、「もっと見る」だけ下に落ちてOK */
@media (max-width: 480px) {
  .nijimaru-news-header-row {
    flex-wrap: wrap;
  }
}

.nijimaru-news-label {
  font-size: 18px;
  font-weight: 700;
  color: #e88a00; /* にじまるニュースのタイトル色 */
  margin: 0;
}

.nijimaru-news-sub {
  margin: 4px 0 0;
  font-size: 13px;
  color: #555;
}

.nijimaru-news-more {
  align-self: center;
  font-size: 13px;
  text-decoration: none;
  color: #e88a00;
}

.nijimaru-news-more:hover {
  text-decoration: underline;
}

.nijimaru-news-list {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
}

.nijimaru-news-item {
  display: flex;
  gap: 12px;
  padding: 6px 0;
  border-bottom: 1px solid #f0e0c2;
  font-size: 14px;
}

.nijimaru-news-date {
  white-space: nowrap;
  color: #666;
}

.nijimaru-news-title {
  flex: 1;
}

.nijimaru-news-note {
  margin-top: 8px;
  font-size: 12px;
  color: #777;
}

.nijimaru-news-item--placeholder .nijimaru-news-date {
  opacity: 0.7;
}
/* ========== にじまるニュース一覧ページ ========== */

/* ========== にじまるニュース一覧ページ ========== */

.page-hero {
  padding: 40px 0 24px;
  background: #f5fbff;
}

.page-title {
  font-size: 24px;
  margin: 0 0 8px;
}

.page-lead {
  margin: 0;
  font-size: 14px;
  color: #555;
}

.news-list-section {
  position: relative;
  padding: 24px 0 48px;
  overflow: hidden;
}

/* ★ 背景ににじまるをいっぱい敷き詰める（うす〜く） */
.news-list-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../images/nijimaru3.jpg");
  background-size: 80px;        /* にじまるのサイズ */
  background-repeat: repeat;    /* いっぱい並べる */
  opacity: 0.18;                /* かなり薄くして邪魔にならないように */
  pointer-events: none;
}

/* 中身だけ前面に出す */
.news-list-section .container {
  position: relative;
  z-index: 1;
}

.news-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(221, 233, 243, 0.8);
}

/* 1行全体：にじまる＋テキスト */
.news-item {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(221, 233, 243, 0.8);
  font-size: 14px;
  align-items: flex-start;
  background: rgba(255, 255, 255, 0.8); /* 背景があるので少し白をのせる */
}

/* 左のにじまるブロック */
.news-nijimaru-wrap {
  flex: 0 0 56px;
  display: flex;
  justify-content: center;
  padding-top: 2px;
}

.news-nijimaru-icon {
  width: 48px;
  height:48px;
  object-fit: contain;
}

/* 右のテキスト部分 */
.news-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.news-date {
  white-space: nowrap;
  color: #666;
  font-size: 12px;
}

.news-title {
  flex: 1;
  color: #333;
}

/* メモ文 */
.news-note {
  margin-top: 12px;
  font-size: 12px;
  color: #777;
}

/* 画面が狭いときは少し余白を増やす */
@media (max-width: 480px) {
  .news-item {
    padding: 12px 0;
  }
}



