@charset "UTF-8";
/* ==========================================================================
   にぎわい研究所（NGY）共通スタイルシート
   --------------------------------------------------------------------------
   色を変えたいときは、この下の :root{...} の中の数字（#F28C28 など）だけを
   書き換えてください。それだけでサイト全体の色が変わります。
   ========================================================================== */

:root {
  /* --- オレンジ系（このサイトの基調色） --- */
  --brand:        #f28c28; /* ブランドオレンジ：見出しの下線、アイコン、装飾の面 */
  --brand-light:  #ffb347; /* 明るいオレンジ：グラデーションの片方 */
  --brand-pale:   #fff3e6; /* 極薄オレンジ：セクションの背景色 */
  --brand-pale2:  #ffe9d2; /* 薄オレンジ：枠線やタグの背景 */
  --brand-deep:   #c2410c; /* 濃いオレンジ：白文字を乗せるボタン・リンクの文字色 */
  --brand-deeper: #9a3412; /* さらに濃いオレンジ：ボタンにマウスを乗せたとき */

  /* --- 文字と地色 --- */
  --text:      #333333; /* 本文の文字色 */
  --text-mute: #6b6b6b; /* 補助的な文字色（日付、注釈など） */
  --line:      #e7e0d8; /* 罫線の色 */
  --bg:        #ffffff; /* 背景の白 */
  --footer-bg: #3a3330; /* フッターの色（黒よりオレンジと相性がよい焦げ茶） */

  /* --- レイアウトの共通値 --- */
  --wrap:   1100px; /* 本文の最大幅 */
  --radius: 14px;   /* 角丸の大きさ */
  --shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  --shadow-hover: 0 10px 28px rgba(194, 65, 12, 0.14);
}

/* ==========================================================================
   1. 全体のリセットと基本設定
   ========================================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  /* ページ内リンクで飛んだとき、固定ヘッダーに隠れないようにする余白 */
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  font-family: "Helvetica Neue", "Hiragino Kaku Gothic ProN", "Hiragino Sans",
    "Noto Sans JP", Meiryo, sans-serif;
  font-size: 16px;
  line-height: 1.9;
  color: var(--text);
  background: var(--bg);
  /* 文字の自動調整を切って、スマホでの見た目を安定させる */
  -webkit-text-size-adjust: 100%;
}

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

a {
  color: var(--brand-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--brand-deeper);
}

ul,
ol {
  padding-left: 1.4em;
}

/* 本文の幅をそろえるための共通の箱 */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 24px;
}

/* 画面には出さないが、読み上げソフトには読ませたい文字 */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* キーボード操作でどこを選んでいるか分かるようにする */
:focus-visible {
  outline: 3px solid var(--brand-deep);
  outline-offset: 2px;
}

/* ==========================================================================
   2. ヘッダー（全ページ共通・画面上部に固定）
   ========================================================================== */

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
}

.header__logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.header__logo img {
  width: 200px;
  height: auto;
}

/* --- パソコン用のメニュー --- */
.gnav ul {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.gnav a {
  display: block;
  padding: 10px 12px;
  font-size: 0.94rem;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  border-radius: 8px;
  white-space: nowrap;
}

.gnav a:hover {
  color: var(--brand-deep);
  background: var(--brand-pale);
}

/* 今いるページのメニュー項目に下線を出す */
.gnav a[aria-current="page"] {
  color: var(--brand-deep);
  box-shadow: inset 0 -3px 0 var(--brand);
}

/* メニューの中の「お問い合わせ」だけボタン風にする */
.gnav .gnav__cta a {
  margin-left: 8px;
  padding: 10px 18px;
  color: #fff;
  background: var(--brand-deep);
  border-radius: 999px;
  box-shadow: none;
}

.gnav .gnav__cta a:hover {
  color: #fff;
  background: var(--brand-deeper);
}

/* --- スマホ用のハンバーガーボタン（パソコンでは隠す） --- */
.navtoggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  background: none;
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
}

.navtoggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 4px auto;
  background: var(--text);
  transition: transform 0.25s, opacity 0.25s;
}

/* ボタンが「開いている」状態のとき、3本線を×印に変える */
.navtoggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.navtoggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.navtoggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* ==========================================================================
   3. ボタン
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 30px;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
  border: 2px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.2s, box-shadow 0.2s;
}

/* 主役のボタン（濃いオレンジ＋白文字） */
.btn--primary {
  color: #fff;
  background: var(--brand-deep);
  box-shadow: 0 4px 14px rgba(194, 65, 12, 0.25);
}

.btn--primary:hover {
  color: #fff;
  background: var(--brand-deeper);
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

/* 脇役のボタン（白地＋オレンジの枠） */
.btn--outline {
  color: var(--brand-deep);
  background: #fff;
  border-color: var(--brand-deep);
}

.btn--outline:hover {
  color: #fff;
  background: var(--brand-deep);
  transform: translateY(-2px);
}

/* オレンジの帯の上に置く白いボタン */
.btn--onbrand {
  color: var(--brand-deep);
  background: #fff;
}

.btn--onbrand:hover {
  color: var(--brand-deeper);
  background: var(--brand-pale);
  transform: translateY(-2px);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

/* ==========================================================================
   4. セクションと見出し
   ========================================================================== */

.section {
  padding-block: 80px;
}

/* 薄オレンジの背景のセクション */
.section--pale {
  background: var(--brand-pale);
}

.section__head {
  margin-bottom: 44px;
  text-align: center;
}

/* 見出しの上に出る小さな英字ラベル */
.section__label {
  display: block;
  margin: 0 0 6px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--brand-deep);
  text-transform: uppercase;
}

.section__title {
  margin: 0;
  font-size: clamp(1.5rem, 3.4vw, 2.1rem);
  line-height: 1.5;
  letter-spacing: 0.02em;
}

/* 見出しの下に引くオレンジの短い線 */
.section__title::after {
  content: "";
  display: block;
  width: 56px;
  height: 4px;
  margin: 18px auto 0;
  background: linear-gradient(90deg, var(--brand), var(--brand-light));
  border-radius: 999px;
}

.section__lead {
  max-width: 760px;
  margin: 20px auto 0;
  color: var(--text-mute);
  text-align: center;
}

/* 左寄せの見出し（下層ページの中で使う） */
.subhead {
  margin: 56px 0 20px;
  padding-left: 14px;
  font-size: 1.3rem;
  line-height: 1.6;
  border-left: 5px solid var(--brand);
}

.subhead:first-child {
  margin-top: 0;
}

.subhead--sm {
  margin: 32px 0 12px;
  padding: 0;
  font-size: 1.08rem;
  color: var(--brand-deeper);
  border: none;
}

/* ==========================================================================
   5. ヒーロー（トップページの一番上）
   ========================================================================== */

.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #fff8f0 0%, var(--brand-pale) 55%, #ffe4c7 100%);
}

/* 背景の飾りの丸 */
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.hero::before {
  top: -140px;
  right: -120px;
  width: 460px;
  height: 460px;
  background: radial-gradient(circle, rgba(242, 140, 40, 0.28), transparent 68%);
}

.hero::after {
  bottom: -180px;
  left: -140px;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(255, 179, 71, 0.3), transparent 68%);
}

.hero__inner {
  position: relative;
  z-index: 1;
  padding-block: 92px 84px;
}

.hero__label {
  display: inline-block;
  margin: 0 0 18px;
  padding: 6px 16px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--brand-deeper);
  background: #fff;
  border-radius: 999px;
  box-shadow: var(--shadow);
}

.hero__title {
  margin: 0 0 8px;
  font-size: clamp(1.85rem, 5.2vw, 3.1rem);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.01em;
}

/* キャッチの中で強調したい語をオレンジにする */
.hero__title em {
  font-style: normal;
  color: var(--brand-deep);
}

.hero__text {
  max-width: 620px;
  margin: 22px 0 0;
  font-size: 1.02rem;
}

/* ヒーロー下の3つの数字 */
.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
}

.hero__stats li {
  flex: 1 1 150px;
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid #fff;
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.hero__stats strong {
  display: block;
  font-size: 1.6rem;
  line-height: 1.3;
  color: var(--brand-deep);
}

.hero__stats span {
  font-size: 0.85rem;
  color: var(--text-mute);
}

/* ==========================================================================
   6. カード（サービス紹介などで使う四角い箱）
   ========================================================================== */

.grid {
  display: grid;
  gap: 24px;
}

.grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
  display: flex;
  flex-direction: column;
  padding: 30px 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

/* リンクになっているカードだけ、マウスを乗せたときに浮かせる */
a.card {
  color: inherit;
  text-decoration: none;
}

a.card:hover {
  border-color: var(--brand);
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.card__icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 18px;
  font-size: 1.5rem;
  background: var(--brand-pale);
  border-radius: 14px;
}

.card__title {
  margin: 0 0 10px;
  font-size: 1.12rem;
  line-height: 1.6;
}

.card__text {
  margin: 0;
  font-size: 0.94rem;
  color: var(--text-mute);
}

.card__list {
  margin: 16px 0 0;
  padding: 0;
  font-size: 0.92rem;
  list-style: none;
}

.card__list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 6px;
}

/* 箇条書きの点をオレンジのチェックにする */
.card__list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  font-weight: 700;
  color: var(--brand);
}

/* カードの一番下に置くリンク（縦位置をそろえる） */
.card__more {
  margin-top: auto;
  padding-top: 18px;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--brand-deep);
}

/* 「お悩み」提示用のカード（番号つき） */
.problem {
  position: relative;
  padding: 34px 26px 28px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.problem__no {
  position: absolute;
  top: -16px;
  left: 22px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  background: var(--brand);
  border-radius: 50%;
}

.problem h3 {
  margin: 6px 0 10px;
  font-size: 1.05rem;
  line-height: 1.6;
}

.problem p {
  margin: 0;
  font-size: 0.93rem;
  color: var(--text-mute);
}

/* ==========================================================================
   7. 代表者紹介（写真と文章の2段組み）
   ========================================================================== */

.profile-flex {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 44px;
  align-items: start;
}

.profile-photo {
  padding: 14px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.profile-photo img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
  /* 写真の背景が白いため、枠線がないと白いカードに溶けてしまう。
     ごく薄い線を引いて写真の輪郭が分かるようにする */
  border: 1px solid var(--line);
}

.profile-photo figcaption {
  margin-top: 10px;
  font-size: 0.82rem;
  color: var(--text-mute);
  text-align: center;
}

/* 写真がまだ無いときに出す代わりの箱 */
.photo-placeholder {
  display: grid;
  place-items: center;
  aspect-ratio: 3 / 4;
  padding: 20px;
  font-size: 0.88rem;
  line-height: 1.7;
  color: var(--brand-deeper);
  text-align: center;
  background: var(--brand-pale);
  border: 2px dashed var(--brand);
  border-radius: 10px;
}

/* 肩書きなどを並べるタグ */
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
}

.tags li {
  padding: 5px 14px;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--brand-deeper);
  background: var(--brand-pale2);
  border-radius: 999px;
}

/* ==========================================================================
   8. 実績・箇条書きリスト
   ========================================================================== */

/* オレンジの点がつく箇条書き */
.checklist {
  margin: 0;
  padding: 0;
  list-style: none;
}

.checklist li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 12px;
}

.checklist li::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 6px;
  width: 8px;
  height: 8px;
  background: var(--brand);
  border-radius: 50%;
}

/* 2列に分けたい長い箇条書き */
.checklist--2col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 32px;
}

/* 実績を1件ずつ並べる箱 */
.record {
  padding: 22px 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 5px solid var(--brand);
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.record h3 {
  margin: 0 0 8px;
  font-size: 1.02rem;
  line-height: 1.6;
}

.record p {
  margin: 0;
  font-size: 0.93rem;
  color: var(--text-mute);
}

/* 年ごとのセミナー実績（日付＋内容） */
.timeline {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.timeline li {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 16px;
  padding: 13px 4px;
  font-size: 0.94rem;
  border-bottom: 1px solid var(--line);
}

.timeline time {
  font-weight: 700;
  color: var(--brand-deep);
  white-space: nowrap;
}

/* 折りたたみ（実績が長いので「もっと見る」形式にする） */
.accordion {
  margin-top: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.accordion > summary {
  padding: 18px 24px;
  font-weight: 700;
  color: var(--brand-deep);
  cursor: pointer;
  list-style: none;
}

.accordion > summary::after {
  content: "＋ 開く";
  float: right;
  font-size: 0.85rem;
}

.accordion[open] > summary::after {
  content: "− 閉じる";
}

.accordion__body {
  padding: 0 24px 24px;
}

/* ==========================================================================
   9. 表（会社概要など）
   ========================================================================== */

.table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.table th,
.table td {
  padding: 18px 22px;
  font-size: 0.96rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}

.table th {
  width: 190px;
  font-weight: 700;
  color: var(--brand-deeper);
  background: var(--brand-pale);
  white-space: nowrap;
}

.table tr:last-child th,
.table tr:last-child td {
  border-bottom: none;
}

/* 横に長い表をスマホでも見られるようにする外枠 */
.table-scroll {
  overflow-x: auto;
}

/* ==========================================================================
   10. ブログ記事一覧・記事本文
   ========================================================================== */

.posts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.post-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.post-card:hover {
  color: inherit;
  border-color: var(--brand);
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.post-card__thumb {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--brand-pale);
}

.post-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* アイキャッチ画像が無い記事のための代わりの絵柄 */
.post-card__thumb--none {
  display: grid;
  place-items: center;
  font-size: 1.8rem;
  background: linear-gradient(135deg, var(--brand-pale), var(--brand-pale2));
}

.post-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 22px 22px 24px;
}

.post-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 10px;
  font-size: 0.82rem;
  color: var(--text-mute);
}

.badge {
  padding: 3px 12px;
  font-weight: 700;
  color: var(--brand-deeper);
  background: var(--brand-pale2);
  border-radius: 999px;
}

.post-card__title {
  margin: 0 0 10px;
  font-size: 1.04rem;
  line-height: 1.65;
}

.post-card__text {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-mute);
}

/* --- カテゴリ絞り込みのボタン --- */
.filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 36px;
}

.filter button {
  padding: 8px 18px;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--brand-deep);
  cursor: pointer;
  background: #fff;
  border: 1px solid var(--brand-pale2);
  border-radius: 999px;
  transition: background 0.2s, color 0.2s;
}

.filter button:hover {
  background: var(--brand-pale);
}

.filter button[aria-pressed="true"] {
  color: #fff;
  background: var(--brand-deep);
  border-color: var(--brand-deep);
}

/* --- ページ送り --- */
.pager {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: center;
  margin-top: 44px;
}

.pager button {
  padding: 10px 22px;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--brand-deep);
  cursor: pointer;
  background: #fff;
  border: 2px solid var(--brand-deep);
  border-radius: 999px;
}

.pager button:disabled {
  color: #aaa;
  cursor: default;
  background: #f5f5f5;
  border-color: var(--line);
}

.pager__status {
  font-size: 0.9rem;
  color: var(--text-mute);
}

/* --- 読み込み中・エラー・記事なしの表示 --- */
.state {
  padding: 60px 24px;
  text-align: center;
  color: var(--text-mute);
  background: #fff;
  border: 2px dashed var(--brand-pale2);
  border-radius: var(--radius);
}

.state--error {
  color: var(--brand-deeper);
  background: var(--brand-pale);
  border-color: var(--brand);
}

/* くるくる回る読み込みマーク */
.spinner {
  display: inline-block;
  width: 26px;
  height: 26px;
  margin-bottom: 12px;
  border: 3px solid var(--brand-pale2);
  border-top-color: var(--brand);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* 動きを減らす設定にしている人には、回転を止める */
@media (prefers-reduced-motion: reduce) {
  .spinner {
    animation: none;
  }
  html {
    scroll-behavior: auto;
  }
}

/* ==========================================================================
   10-2. 社長ブログの見出しリスト（london3.jp から読み込む部分）
   ========================================================================== */

.feed {
  margin: 0;
  padding: 0;
  list-style: none;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.feed__item + .feed__item {
  border-top: 1px solid var(--line);
}

.feed__link {
  display: block;
  padding: 18px 24px;
  color: inherit;
  text-decoration: none;
  transition: background 0.2s;
}

.feed__link:hover {
  color: inherit;
  background: var(--brand-pale);
}

.feed__date {
  display: block;
  margin-bottom: 4px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--brand-deep);
}

.feed__title {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.65;
}

/* リンク先が別サイトであることが分かるように矢印を付ける */
.feed__title::after {
  content: " ↗";
  font-size: 0.85em;
  color: var(--brand);
}

.feed__text {
  display: block;
  margin-top: 6px;
  font-size: 0.88rem;
  color: var(--text-mute);
}

/* 別サイトから読み込んでいることを伝える注意書き */
.feed-note {
  margin: 16px 0 0;
  font-size: 0.86rem;
  color: var(--text-mute);
  text-align: center;
}

/* --- 記事本文（MicroCMSのリッチエディタが出すHTMLの見た目） --- */
.article {
  max-width: 780px;
  margin-inline: auto;
}

.article__header {
  padding-bottom: 28px;
  margin-bottom: 32px;
  border-bottom: 2px solid var(--brand-pale2);
}

.article__title {
  margin: 12px 0 0;
  font-size: clamp(1.5rem, 4vw, 2.05rem);
  line-height: 1.5;
}

.article__eyecatch {
  width: 100%;
  margin-bottom: 32px;
  border-radius: var(--radius);
}

.article__body > *:first-child {
  margin-top: 0;
}

.article__body h2 {
  margin: 52px 0 18px;
  padding: 10px 0 10px 16px;
  font-size: 1.35rem;
  line-height: 1.6;
  background: var(--brand-pale);
  border-left: 5px solid var(--brand);
  border-radius: 0 8px 8px 0;
}

.article__body h3 {
  margin: 40px 0 14px;
  padding-bottom: 8px;
  font-size: 1.15rem;
  line-height: 1.6;
  border-bottom: 2px solid var(--brand-pale2);
}

.article__body h4 {
  margin: 32px 0 12px;
  font-size: 1.05rem;
  color: var(--brand-deeper);
}

.article__body p {
  margin: 0 0 1.6em;
}

.article__body ul,
.article__body ol {
  margin: 0 0 1.6em;
  padding-left: 1.6em;
}

.article__body li {
  margin-bottom: 8px;
}

.article__body img {
  height: auto;
  margin-block: 1.2em;
  border-radius: 10px;
}

.article__body blockquote {
  margin: 0 0 1.6em;
  padding: 18px 24px;
  color: var(--text-mute);
  background: var(--brand-pale);
  border-left: 5px solid var(--brand-light);
  border-radius: 0 8px 8px 0;
}

.article__body pre {
  padding: 18px;
  overflow-x: auto;
  font-size: 0.88rem;
  background: #2d2926;
  border-radius: 10px;
  color: #f5efe9;
}

.article__body code {
  padding: 2px 6px;
  font-size: 0.9em;
  background: var(--brand-pale2);
  border-radius: 4px;
}

.article__body pre code {
  padding: 0;
  background: none;
}

.article__body table {
  width: 100%;
  margin-bottom: 1.6em;
  border-collapse: collapse;
  font-size: 0.93rem;
}

.article__body th,
.article__body td {
  padding: 12px 14px;
  text-align: left;
  border: 1px solid var(--line);
}

.article__body th {
  background: var(--brand-pale);
}

/* 記事の下に置く「一覧に戻る」など */
.article__foot {
  padding-top: 32px;
  margin-top: 52px;
  border-top: 2px solid var(--brand-pale2);
}

/* ==========================================================================
   11. お問い合わせフォーム
   ========================================================================== */

.form {
  max-width: 720px;
  margin-inline: auto;
  padding: 40px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.field {
  margin-bottom: 24px;
}

.field label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.94rem;
  font-weight: 700;
}

/* 「必須」「任意」のしるし */
.req,
.opt {
  margin-left: 8px;
  padding: 2px 9px;
  font-size: 0.74rem;
  font-weight: 700;
  vertical-align: 2px;
  border-radius: 4px;
}

.req {
  color: #fff;
  background: var(--brand-deep);
}

.opt {
  color: var(--text-mute);
  background: #f0ece7;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 13px 15px;
  font-family: inherit;
  font-size: 1rem;
  color: var(--text);
  background: #fffdfb;
  border: 1px solid #d9d2c9;
  border-radius: 10px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.field textarea {
  min-height: 190px;
  line-height: 1.8;
  resize: vertical;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--brand);
  outline: none;
  box-shadow: 0 0 0 3px rgba(242, 140, 40, 0.2);
}

.field__note {
  margin: 8px 0 0;
  font-size: 0.84rem;
  color: var(--text-mute);
}

/* チェックボックス（同意欄） */
.check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.92rem;
}

.check input {
  width: 20px;
  height: 20px;
  margin-top: 3px;
  flex-shrink: 0;
  accent-color: var(--brand-deep);
}

.form__submit {
  width: 100%;
  margin-top: 8px;
  font-size: 1.05rem;
}

/* 迷惑メール対策の隠しフィールド（人には見せない） */
.hidden-field {
  display: none;
}

/* ==========================================================================
   12. 問い合わせを促すオレンジの帯（CTA）
   ========================================================================== */

.cta {
  padding-block: 72px;
  color: #fff;
  text-align: center;
  background: linear-gradient(135deg, var(--brand-deep) 0%, var(--brand) 55%, var(--brand-light) 100%);
}

.cta h2 {
  margin: 0 0 14px;
  font-size: clamp(1.4rem, 3.4vw, 2rem);
  line-height: 1.5;
}

.cta p {
  max-width: 640px;
  margin: 0 auto 30px;
  font-size: 1rem;
}

.cta .btn-row {
  justify-content: center;
  margin-top: 0;
}

/* ==========================================================================
   13. 下層ページの見出し部分（ページタイトルの帯）
   ========================================================================== */

.pagehead {
  padding-block: 62px 54px;
  text-align: center;
  background: linear-gradient(135deg, #fff8f0, var(--brand-pale));
  border-bottom: 1px solid var(--brand-pale2);
}

.pagehead__label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--brand-deep);
  text-transform: uppercase;
}

.pagehead h1 {
  margin: 0;
  font-size: clamp(1.6rem, 4vw, 2.3rem);
  line-height: 1.5;
}

.pagehead p {
  max-width: 720px;
  margin: 18px auto 0;
  color: var(--text-mute);
}

/* パンくずリスト（今どのページにいるかの道しるべ） */
.breadcrumb {
  padding-block: 14px;
  font-size: 0.82rem;
  color: var(--text-mute);
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.breadcrumb li + li::before {
  content: "›";
  margin-right: 8px;
  color: var(--brand);
}

/* ==========================================================================
   14. フッター
   ========================================================================== */

.footer {
  padding-block: 56px 0;
  font-size: 0.92rem;
  color: #e7ded6;
  background: var(--footer-bg);
}

.footer a {
  color: #e7ded6;
  text-decoration: none;
}

.footer a:hover {
  color: var(--brand-light);
  text-decoration: underline;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 44px;
}

.footer__logo {
  display: inline-block;
  padding: 10px 14px;
  margin-bottom: 16px;
  background: #fff;
  border-radius: 10px;
}

.footer__logo img {
  width: 180px;
}

.footer__addr {
  margin: 0;
  font-style: normal;
  line-height: 2;
  color: #bfb4ab;
}

.footer h2 {
  margin: 0 0 14px;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--brand-light);
}

.footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer li {
  margin-bottom: 10px;
}

.footer__bottom {
  padding-block: 20px;
  font-size: 0.82rem;
  color: #a99e95;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

/* ==========================================================================
   15. タブレット・スマホ対応
   --------------------------------------------------------------------------
   画面の幅が狭くなったときの見た目を上書きします。
   ========================================================================== */

/* --- タブレット（1024px以下） --- */
@media (max-width: 1024px) {
  .grid--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .posts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .profile-flex {
    grid-template-columns: 240px 1fr;
    gap: 32px;
  }
  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* --- スマホ（768px以下） --- */
@media (max-width: 768px) {
  body {
    font-size: 15.5px;
  }

  .header__logo img {
    width: 150px;
  }

  /* ハンバーガーボタンを出す */
  .navtoggle {
    display: block;
  }

  /* メニューは普段隠しておき、ボタンを押したときだけ出す */
  .gnav {
    position: absolute;
    top: 100%;
    left: 0;
    display: none;
    width: 100%;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
  }

  .gnav.is-open {
    display: block;
  }

  .gnav ul {
    flex-direction: column;
    gap: 0;
    align-items: stretch;
    padding: 10px 16px 20px;
  }

  .gnav a {
    padding: 15px 10px;
    font-size: 1rem;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
  }

  .gnav a[aria-current="page"] {
    box-shadow: none;
    background: var(--brand-pale);
  }

  .gnav .gnav__cta a {
    margin: 16px 0 0;
    text-align: center;
    border: none;
  }

  /* 余白を全体的に詰める */
  .section {
    padding-block: 52px;
  }

  .section__head {
    margin-bottom: 32px;
  }

  .hero__inner {
    padding-block: 56px 52px;
  }

  .pagehead {
    padding-block: 40px 36px;
  }

  .cta {
    padding-block: 52px;
  }

  /* 横並びをすべて縦積みにする */
  .grid--2,
  .grid--3,
  .grid--4,
  .posts,
  .checklist--2col {
    grid-template-columns: 1fr;
  }

  .grid {
    gap: 20px;
  }

  .profile-flex {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .profile-photo {
    max-width: 280px;
    margin-inline: auto;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .form {
    padding: 26px 20px;
  }

  .card {
    padding: 26px 22px;
  }

  /* 表を縦積みにして、スマホでも読めるようにする */
  .table th,
  .table td {
    display: block;
    width: auto;
    padding: 14px 18px;
    border-bottom: none;
  }

  .table th {
    padding-bottom: 6px;
  }

  .table td {
    padding-top: 0;
    border-bottom: 1px solid var(--line);
  }

  /* セミナー実績の日付を上に出す */
  .timeline li {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .btn {
    width: 100%;
  }

  .btn-row {
    flex-direction: column;
  }

  .accordion > summary {
    padding: 16px 18px;
  }

  .accordion__body {
    padding: 0 18px 20px;
  }
}

/* --- 印刷したとき --- */
@media print {
  .header,
  .footer,
  .cta,
  .navtoggle,
  .filter,
  .pager {
    display: none;
  }
  body {
    color: #000;
  }
}
