/* =========================================================
   main.css — 各セクションの見た目
   デザイントークン（色・フォント）は style.css の :root で定義
   ========================================================= */

/* ---------- ヘッダー ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--color-border);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.site-header__logo-text {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: .02em;
}
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav__list {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 15px;
}
.site-nav__cta { padding: 10px 22px; font-size: 14px; }

/* ハンバーガーボタン（スマホのみ表示） */
.site-header__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
}
.site-header__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  margin-inline: auto;
  transition: transform .3s, opacity .3s;
}

/* ---------- ① ヒーロー ---------- */
.hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(180deg, #f7f1ec 0%, #faf7f4 100%);
}
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__video { width: 100%; height: 100%; object-fit: cover; }
.hero__inner { position: relative; z-index: 1; text-align: center; padding-block: 80px; }
.hero__eyebrow {
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: .1em;
  color: var(--color-accent);
  margin: 0 0 16px;
}
.hero__title { font-size: 34px; line-height: 1.55; margin: 0 0 20px; }
.hero__lead {
  max-width: 620px;
  margin: 0 auto 32px;
  color: var(--color-text-muted);
  font-size: 16px;
}
.hero__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- ② 選ばれる理由 ---------- */
.values__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}
.value-card {
  background: var(--color-surface);
  border-radius: var(--radius);
  padding: 32px 26px;
  text-align: center;
}
.value-card__icon { font-size: 34px; margin-bottom: 14px; }
.value-card__title { font-size: 18px; margin-bottom: 12px; }
.value-card__text { font-size: 14px; color: var(--color-text-muted); margin: 0; }

/* ---------- ③ 撮影事例 ---------- */
.cases__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--gap);
}
.case-card { display: block; }
.case-card__thumb {
  aspect-ratio: 16 / 10;
  background: var(--color-surface);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}
.case-card__thumb img { width: 100%; height: 100%; object-fit: cover; }
.case-card__placeholder { font-size: 28px; color: #cbbfb6; }
.case-card__title { font-size: 15px; font-family: var(--font-base); font-weight: 500; }
.cases__more { text-align: center; margin-top: 40px; }

/* ---------- ③ 撮影できるシーン ---------- */
.scenes__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.scene-card {
  background: var(--color-surface);
  border-radius: var(--radius);
  padding: 26px 18px;
  text-align: center;
}
.scene-card__icon { font-size: 32px; margin-bottom: 10px; line-height: 1; }
.scene-card__name { font-size: 16px; margin-bottom: 8px; }
.scene-card__text { font-size: 13px; color: var(--color-text-muted); margin: 0; line-height: 1.7; }
.scenes__more { text-align: center; margin-top: 36px; }
.scenes__note { font-size: 14px; color: var(--color-text-muted); margin: 0 0 18px; }

/* ---------- ④ 料金プラン ---------- */
.pricing { background: var(--color-surface); }
.pricing__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
  align-items: stretch;
}
.plan-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
}
.plan-card--featured { border: 2px solid var(--color-accent); }
.plan-card__badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-accent);
  color: #fff;
  font-size: 12px;
  padding: 4px 16px;
  border-radius: 999px;
  font-family: var(--font-display);
}
.plan-card__name { font-size: 17px; margin-bottom: 12px; }
.plan-card__price {
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 700;
  margin: 0 0 14px;
  color: var(--color-accent-dark);
}
.plan-card__price span { font-size: 15px; font-weight: 400; color: var(--color-text); }
.plan-card__desc { font-size: 13px; color: var(--color-text-muted); margin: 0; }
.pricing__note { text-align: center; font-size: 13px; color: var(--color-text-muted); margin-top: 28px; }

/* ---------- ⑤ ご利用の流れ ---------- */
.flow__list {
  display: flex;
  justify-content: center;
  gap: 16px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}
.flow-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  flex: 1;
  max-width: 180px;
  position: relative;
}
.flow-step:not(:last-child)::after {
  content: "→";
  position: absolute;
  right: -14px;
  top: 14px;
  color: var(--color-accent);
}
.flow-step__num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 18px;
}
.flow-step__label { font-size: 14px; text-align: center; }

/* ---------- ⑥ お客様の声＋レッスン ---------- */
.split { background: var(--color-surface); }
.split__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
.c-heading--left { text-align: left; margin-bottom: 24px; }
.voice-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 24px;
  margin: 0 0 16px;
}
.voice-card__body { margin: 0 0 10px; font-size: 15px; }
.voice-card__name { font-size: 13px; color: var(--color-text-muted); font-style: normal; }
.split__col--lesson { display: flex; flex-direction: column; align-items: flex-start; }
.lesson-pitch__text { font-size: 15px; color: var(--color-text-muted); margin: 0 0 16px; }
.lesson-pitch__price {
  font-family: var(--font-display);
  font-size: 26px;
  color: var(--color-accent-dark);
  margin: 0 0 20px;
}

/* ---------- ⑦ 記事メディア ---------- */
.media__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}
.media__list--archive { grid-template-columns: repeat(3, 1fr); }
.media-card { display: block; }
.media-card__thumb {
  aspect-ratio: 16 / 9;
  background: var(--color-surface);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 12px;
}
.media-card__thumb img { width: 100%; height: 100%; object-fit: cover; }
.media-card__title { font-size: 15px; font-family: var(--font-base); font-weight: 500; margin-bottom: 6px; line-height: 1.6; }
.media-card__date { font-size: 12px; color: var(--color-text-muted); }

/* ---------- ⑧ 最終CTA ---------- */
.cta {
  background: linear-gradient(180deg, #f7f1ec 0%, #f2e7df 100%);
  padding-block: 72px;
}
.cta__inner { text-align: center; }
.cta__title { font-size: 26px; margin: 0 0 12px; }
.cta__lead { color: var(--color-text-muted); margin: 0 0 28px; }

/* ---------- フッター ---------- */
.site-footer { background: #2c2a28; color: #e8e2dc; }
.site-footer__inner {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  padding-block: 56px;
  flex-wrap: wrap;
}
.site-footer__logo { font-family: var(--font-display); font-size: 22px; }
.site-footer__tagline { font-size: 13px; color: #a49c94; margin-top: 10px; }
.site-footer__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, auto);
  gap: 10px 40px;
  font-size: 14px;
}
.site-footer__bottom { border-top: 1px solid #45403b; padding-block: 20px; }
.site-footer__bottom small { color: #a49c94; font-size: 12px; }

/* ---------- ページネーション ---------- */
.pagination { margin-top: 48px; text-align: center; }
.pagination .page-numbers {
  display: inline-block;
  padding: 8px 14px;
  margin: 0 4px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
}
.pagination .current { background: var(--color-accent); color: #fff; border-color: var(--color-accent); }
.no-posts { text-align: center; color: var(--color-text-muted); }

/* =========================================================
   レスポンシブ（スマホ表示）
   ========================================================= */
@media (max-width: 768px) {

  /* ヘッダー：メニューを開閉式に */
  .site-header__toggle { display: flex; }
  .site-nav {
    position: fixed;
    inset: 68px 0 auto 0;
    flex-direction: column;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--color-border);
    padding: 8px 20px 24px;
    transform: translateY(-120%);
    transition: transform .3s ease;
    box-shadow: 0 12px 24px rgba(0,0,0,.06);
  }
  .site-nav.is-open { transform: translateY(0); }
  .site-nav__list { flex-direction: column; align-items: stretch; gap: 0; width: 100%; }
  .site-nav__list li { border-bottom: 1px solid var(--color-border); }
  .site-nav__list a { display: block; padding: 14px 4px; }
  .site-nav__cta { margin-top: 16px; align-self: stretch; justify-content: center; }

  /* トグルの×アニメーション */
  .site-header__toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .site-header__toggle.is-open span:nth-child(2) { opacity: 0; }
  .site-header__toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  /* ヒーロー */
  .hero { min-height: 420px; }
  .hero__title { font-size: 24px; }
  .hero__lead { font-size: 15px; }

  /* グリッドを縦積みに */
  .values__grid { grid-template-columns: 1fr; }
  .cases__grid { grid-template-columns: 1fr 1fr; }
  .scenes__grid { grid-template-columns: 1fr 1fr; }
  .pricing__grid { grid-template-columns: 1fr; gap: 28px; }
  .split__grid { grid-template-columns: 1fr; gap: 40px; }
  .media__list,
  .media__list--archive { grid-template-columns: 1fr; }

  /* 流れ：横スクロールを避けて2×2に */
  .flow__list { gap: 24px 8px; }
  .flow-step { flex: 0 0 40%; }
  .flow-step:not(:last-child)::after { display: none; }

  .cta__title { font-size: 21px; }
}

/* ---------- 記事・固定ページ本文 ---------- */
.l-container--narrow { max-width: 760px; }
.entry__header { text-align: center; margin-bottom: 32px; }
.entry__title { font-size: 28px; line-height: 1.5; }
.entry__date { font-size: 13px; color: var(--color-text-muted); display: block; margin-top: 10px; }
.entry__thumb { border-radius: var(--radius); overflow: hidden; margin-bottom: 32px; }
.entry__content { font-size: 16px; line-height: 1.9; }
.entry__content h2 { font-size: 22px; margin: 40px 0 16px; }
.entry__content h3 { font-size: 18px; margin: 32px 0 12px; }
.entry__content p { margin: 0 0 20px; }
.entry__content img { border-radius: 10px; margin: 16px 0; }
.entry__content a { color: var(--color-accent-dark); text-decoration: underline; }
.entry__content a.c-btn { text-decoration: none; }
.entry__content a.c-btn--primary { color: #fff; }
.entry__content a.c-btn--outline { color: var(--color-text); }
.entry__back { text-align: center; margin-top: 48px; }

/* ---------- お問い合わせページ ---------- */
.contact-page__lead {
  text-align: center;
  color: var(--color-text-muted);
  margin: 0 0 40px;
  font-size: 15px;
}
.contact-page__form { margin-bottom: 48px; }

/* Contact Form 7 のフォームをcamelife風に整える */
.wpcf7-form p { margin: 0 0 20px; }
.wpcf7-form label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--color-text);
}
.wpcf7-form-control-wrap { display: block; }
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="date"],
.wpcf7 select,
.wpcf7 textarea {
  width: 100%;
  padding: 12px 14px;
  font-size: 15px;
  font-family: var(--font-base);
  color: var(--color-text);
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  box-sizing: border-box;
  transition: border-color .2s;
}
.wpcf7 input:focus,
.wpcf7 select:focus,
.wpcf7 textarea:focus {
  outline: none;
  border-color: var(--color-accent);
}
.wpcf7 textarea { min-height: 140px; resize: vertical; }

/* 送信ボタン */
.wpcf7 input[type="submit"] {
  display: inline-block;
  width: 100%;
  padding: 15px 30px;
  font-size: 16px;
  font-family: var(--font-display);
  color: #fff;
  background: var(--color-accent);
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: background .2s;
}
.wpcf7 input[type="submit"]:hover { background: var(--color-accent-dark); }

/* 必須マーク・確認メッセージ */
.wpcf7 .wpcf7-not-valid-tip { color: #c0392b; font-size: 13px; margin-top: 6px; }
.wpcf7 .wpcf7-response-output {
  border-radius: 10px;
  padding: 14px 16px !important;
  margin: 20px 0 0 !important;
  font-size: 14px;
}

/* フォーム以外の連絡先 */
.contact-page__alt {
  text-align: center;
  border-top: 1px solid var(--color-border);
  padding-top: 32px;
}
.contact-page__alt-title { font-family: var(--font-display); font-size: 15px; margin: 0 0 12px; }
.contact-page__alt-text { font-size: 15px; margin: 0 0 12px; }
.contact-page__alt-text a { color: var(--color-accent-dark); text-decoration: underline; }

/* 同意チェックボックス（プライバシーポリシー） */
.wpcf7-acceptance {
  display: block;
  text-align: center;
  margin: 8px 0 24px;
  font-size: 14px;
}
.wpcf7-acceptance .wpcf7-list-item { margin: 0; }
.wpcf7-acceptance label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 400;
  cursor: pointer;
  color: var(--color-text-muted);
}
.wpcf7-acceptance input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--color-accent);
  cursor: pointer;
}
.wpcf7-acceptance a { color: var(--color-accent-dark); text-decoration: underline; }

/* ---------- サービスページ：FAQ ---------- */
.faq-list { display: flex; flex-direction: column; gap: 12px; margin: 0 0 40px; }
.faq-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 4px 20px;
  background: #fff;
}
.faq-item summary {
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 15px;
  padding: 16px 0;
  list-style: revert;
}
.faq-item summary::marker { color: var(--color-accent); }
.faq-item p { font-size: 14px; color: var(--color-text-muted); margin: 0 0 16px; padding-top: 4px; }

/* ---------- サービスページ：注記 ---------- */
.service-note { font-size: 13px; color: var(--color-text-muted); text-align: center; margin: -12px 0 40px; }

/* ---------- サービスページ：中間CTA ---------- */
.service-cta {
  text-align: center;
  background: var(--color-surface);
  border-radius: var(--radius);
  padding: 40px 24px;
  margin: 48px 0;
}
.service-cta__title { font-size: 20px; margin: 0 0 20px; }

/* ---------- 運営者ページ：プロフィール ---------- */
.profile-header { text-align: center; margin-bottom: 48px; }
.profile-photo {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 20px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
}
.profile-photo img { width: 100%; height: 100%; object-fit: cover; }
.profile-name { font-size: 20px; margin-bottom: 4px; }
.profile-role { font-size: 13px; color: var(--color-text-muted); }

/* 想いを伝える大きめの一文 */
.about-quote {
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1.8;
  text-align: center;
  color: var(--color-text);
  margin: 48px 0;
  padding: 0 8px;
}

/* 経歴リスト */
.about-history {
  list-style: none;
  margin: 0 0 40px;
  padding: 0;
  border-top: 1px solid var(--color-border);
}
.about-history li {
  display: flex;
  gap: 20px;
  padding: 16px 0;
  border-bottom: 1px solid var(--color-border);
  font-size: 14px;
}
.about-history .about-history__year {
  flex: 0 0 90px;
  color: var(--color-accent-dark);
  font-family: var(--font-display);
}

/* ---------- エリアページ：交通費込みバッジ ---------- */
.area-badge {
  display: inline-block;
  background: var(--color-surface);
  color: var(--color-accent-dark);
  font-size: 12px;
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 16px;
}
