@charset "UTF-8";

/* ==========================================================================
   Reset
   カンプ再現を前提とした最小構成のリセット。
   ブラウザ既定の装飾を落としつつ、アクセシビリティ上必要な挙動は残す。
   ========================================================================== */

/* box-sizing
   padding と border を width に含める。
   これが無いと「幅300pxにpadding20px」で実寸340pxになり、カンプと合わなくなる。 */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* 既定マージンの除去
   見出し・段落・リストの上下マージンはブラウザごとに値が違う。
   余白は CSS変数のスケールで統一管理するため、一度ゼロに戻す。 */
body,
h1, h2, h3, h4, h5, h6,
p,
figure,
blockquote,
dl, dd {
  margin: 0;
}

/* 見出しのフォントサイズ・太さ
   既定の h1=2em などはカンプと一致しないため継承に戻す。
   サイズは各セクションの CSS で明示する。 */
h1, h2, h3, h4, h5, h6 {
  font-size: inherit;
  font-weight: inherit;
}

/* リストの装飾除去
   role="list" を付けたリストは読み上げ対象として残る。
   装飾を消すと一部スクリーンリーダーがリストとして認識しなくなるため、
   マークアップ側で role="list" を付けること。 */
ul, ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* ルート要素 */
html {
  /* ページ内リンクでスクロールを滑らかに */
  scroll-behavior: smooth;
  /* iOS で横向きにしたとき文字が拡大されるのを防ぐ */
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100svh;
  /* line-height は日本語では 1.7〜1.8 が読みやすい。
     英語圏のリセットでよく使われる 1.5 は日本語には詰まって見える。 */
  line-height: 1.8;
  /* 約物（括弧・句読点）の余分な空きを詰める */
  font-feature-settings: "palt";
  /* 単語途中での改行を避けつつ、長い英単語ははみ出させない */
  word-break: normal;
  overflow-wrap: anywhere;
  /* 文字の描画を滑らかに */
  -webkit-font-smoothing: antialiased;
}

/* 見出しやボタンなど短い文字列は行間を詰める */
h1, h2, h3, h4, h5, h6,
button {
  line-height: 1.4;
}

/* メディア要素
   inline 既定だと下に4pxの隙間ができる。これが「なぜか余白が残る」の原因になりやすい。 */
img,
picture,
video,
canvas,
svg,
iframe {
  display: block;
  max-width: 100%;
}

img,
video {
  height: auto;
}

/* フォーム要素
   フォントは既定で継承されないため明示する。
   これが無いとフォーム内だけ別の書体になる。 */
input,
button,
textarea,
select {
  font: inherit;
  color: inherit;
  margin: 0;
}

button {
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
}

textarea {
  resize: vertical;
}

/* リンク
   色とアンダーラインは各所で指定する。 */
a {
  color: inherit;
  text-decoration: none;
}

/* テーブル */
table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* キーボード操作時のフォーカス表示
   マウス操作では出さず、Tabキー操作時のみ表示する。
   outline を全消しするとキーボードだけで操作する人が現在地を見失う。 */
:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}

/* アニメーションを減らす設定をしている人への配慮
   OS側で「視差効果を減らす」を有効にしている場合、動きを抑制する。 */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* 視覚的には隠すが読み上げには残す
   ロゴ画像内のテキストや、アイコンのみのボタンの説明文に使う。 */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}


/* ==========================================================================
   Design tokens
   色・文字・余白はここで一括管理する。値を変えたいときはここを1行直す。
   ========================================================================== */
:root {
  /* 色 */
  --color-text: #263d34;
  --color-text-accent: #52735c;
  --color-text-dark: #2e4939;
  --color-text-muted: #708176;
  --color-text-faint: #6e7d73;
  --color-placeholder: #87948b;
  --color-bg: #fafaf6;
  --color-bg-pale: #f1f5ee;
  --color-bg-green: #c6d9c3;
  --color-white: #ffffff;
  --color-line: #d4dfd4;
  --color-line-green: #b5c4b2;
  --color-input-border: #d9d9d9;
  --color-orange: #f1ab3e;
  --color-btn-text: #294735;
  --color-error: #b3412f;
  --color-error-bg: #fbeeea;
  --color-focus-ring: rgba(82, 115, 92, 0.15);
  --hero-overlay: linear-gradient(90deg, rgba(20, 43, 32, 0.65) 0%, rgba(20, 43, 32, 0) 100%);

  /* 文字 */
  --font-base: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  --fw-regular: 400;
  --fw-medium: 500;
  --fw-bold: 700;
  --lh-body: 1.9;
  --lh-text: 1.85;
  --lh-heading: 1.55;
  --lh-sub: 1.65;

  /* レイアウト */
  --container: 1200px;
  --gutter: 120px;
  --section-y: 100px;
  --header-h: 100px;

  /* 余白スケール */
  --space-2xs: 8px;
  --space-xs: 12px;
  --space-sm: 20px;
  --space-md: 24px;
  --space-lg: 48px;
  --space-xl: 80px;
  --space-2xl: 100px;
}

@media (max-width: 1280px) {
  :root {
    --gutter: 48px;
  }
}

@media (max-width: 960px) {
  :root {
    --header-h: 72px;
  }
}

@media (max-width: 767px) {
  :root {
    --gutter: 25px;
    --section-y: 64px;
    --header-h: 64px;
  }
}

/* ==========================================================================
   Base
   ========================================================================== */
body {
  font-family: var(--font-base);
  font-weight: var(--fw-regular);
  font-size: 16px;
  line-height: var(--lh-body);
  color: var(--color-text);
  background: var(--color-white);
}

body.is-menu-open {
  overflow: hidden;
}

/* ページ内リンクで固定ヘッダーに隠れないように */
[id] {
  scroll-margin-top: calc(var(--header-h) + 16px);
}

.container {
  width: min(var(--container), 100% - var(--gutter) * 2);
  margin-inline: auto;
}

.section {
  padding-block: var(--section-y);
}

.section--bg { background: var(--color-bg); }
.section--pale { background: var(--color-bg-pale); }
.section--green { background: var(--color-bg-green); }
.section--white { background: var(--color-white); }

/* セクション内の縦並び（Figmaの48px間隔） */
.stack > * + * { margin-top: var(--space-lg); }

/* 段落の間の1行空き（Figmaの空行と同じ間隔） */
.prose > p + p { margin-top: calc(1em * var(--lh-body)); }

.text-lead { font-size: 17px; }

@media (max-width: 767px) {
  .stack > * + * { margin-top: 30px; }
  .text-lead { font-size: 16px; }
}

/* --------------------------------------------------------------------------
   英字見出し（オレンジの丸＋英字）
   -------------------------------------------------------------------------- */
.eyebrow {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: 12px;
  font-weight: var(--fw-bold);
  line-height: var(--lh-body);
  color: var(--color-text-accent);
}

.eyebrow::before {
  content: "";
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-orange);
}

.eyebrow--medium { font-weight: var(--fw-medium); }
.eyebrow--dark { color: var(--color-text-dark); }

/* --------------------------------------------------------------------------
   見出し
   -------------------------------------------------------------------------- */
.heading {
  font-size: 42px;
  font-weight: var(--fw-medium);
  line-height: var(--lh-heading);
}

.heading--40 { font-size: 40px; }
.heading--38 { font-size: 38px; }
.heading--36 { font-size: 36px; }
.heading--34 { font-size: 34px; }
.heading--32 { font-size: 32px; }
.heading--30 { font-size: 30px; }

@media (max-width: 767px) {
  .heading,
  .heading--40,
  .heading--38,
  .heading--36,
  .heading--34,
  .heading--32 { font-size: 29px; }
  .heading--30 { font-size: 24px; }
}

/* 画面幅によって出し分ける改行 */
@media (max-width: 767px) {
  .br-pc { display: none; }
}
@media (min-width: 768px) {
  .br-sp { display: none; }
}

/* --------------------------------------------------------------------------
   ボタン
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 340px;
  max-width: 100%;
  height: 56px;
  padding: 0 var(--space-xs);
  border-radius: 28px;
  background: var(--color-orange);
  color: var(--color-btn-text);
  font-size: 15px;
  font-weight: var(--fw-medium);
  line-height: 1;
  white-space: nowrap;
  transition: opacity 0.2s;
}

.btn::after {
  content: "→";
  margin-left: 0.8em;
  transition: transform 0.2s;
}

.btn:hover { opacity: 0.85; }
.btn:hover::after { transform: translateX(4px); }

.btn--white { background: var(--color-white); }
.btn--lg { height: 58px; }
.btn--w360 { width: 360px; }
.btn--w380 { width: 380px; }

@media (max-width: 767px) {
  .btn,
  .btn--w360,
  .btn--w380 { width: 100%; }
}

/* --------------------------------------------------------------------------
   線画アイコン＋番号
   -------------------------------------------------------------------------- */
.num-icon {
  display: flex;
  align-items: center;
  gap: 18px;
}

.num-icon img {
  width: 52px;
  height: 52px;
}

.num-icon__num {
  font-size: 52px;
  line-height: var(--lh-heading);
  color: var(--color-text-accent);
}

.rule {
  height: 1px;
  border: 0;
  background: var(--color-line);
}

/* hr の既定余白を消す（:where で強さを0にし、.stack の間隔は残す） */
:where(.rule) {
  margin: 0;
}

/* --------------------------------------------------------------------------
   写真・イラスト
   -------------------------------------------------------------------------- */
.photo {
  width: 100%;
  min-width: 0; /* 横並びのとき、写真の縦横比で枠より広がらないように */
  object-fit: cover;
}

.illust {
  width: 100%;
  min-width: 0;
  object-fit: contain;
}

/* --------------------------------------------------------------------------
   ＋付きの箇条書き
   -------------------------------------------------------------------------- */
.plus-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.plus-list li {
  position: relative;
  padding-left: 1.6em;
}

.plus-list li::before {
  content: "＋";
  position: absolute;
  left: 0;
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-white);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 42px;
  height: var(--header-h);
  padding-inline: 55px;
}

.site-header__logo {
  flex: none;
  display: block;
  width: 248px;
  height: 64px;
}

.site-header__logo picture {
  display: block;
  height: 100%;
}

.site-header__logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.global-nav {
  flex: 1;
}

.global-nav__list {
  display: flex;
  gap: 36px;
  font-size: 14px;
  font-weight: var(--fw-medium);
}

.global-nav__list a {
  transition: color 0.2s;
}

.global-nav__list a:hover,
.global-nav__list a[aria-current="page"] {
  color: var(--color-text-accent);
}

.site-header__cta {
  flex: none;
  width: 200px;
}

.menu-button,
.drawer {
  display: none;
}

@media (max-width: 1100px) {
  .site-header__inner { gap: 24px; padding-inline: 24px; }
  .site-header__logo { width: 180px; }
  .global-nav__list { gap: 20px; font-size: 13px; }
}

@media (max-width: 960px) {
  .site-header__inner { justify-content: space-between; }
  /* タブレット・スマホは余白を切り落としたロゴ（logo-sp.png）を左端にそろえる */
  .site-header__logo { width: auto; height: 40px; }
  .site-header__logo img { width: auto; }
  .global-nav,
  .site-header__cta { display: none; }

  .menu-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    font-size: 13px;
    font-weight: var(--fw-medium);
  }

  .menu-button__icon {
    position: relative;
    width: 18px;
    height: 12px;
  }

  .menu-button__icon::before,
  .menu-button__icon::after,
  .menu-button__icon span {
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    height: 1.5px;
    background: currentColor;
    transition: transform 0.25s, opacity 0.25s;
  }

  .menu-button__icon::before { top: 0; }
  .menu-button__icon span { top: 5.25px; }
  .menu-button__icon::after { bottom: 0; }

  .menu-button[aria-expanded="true"] .menu-button__icon::before { transform: translateY(5.25px) rotate(45deg); }
  .menu-button[aria-expanded="true"] .menu-button__icon span { opacity: 0; }
  .menu-button[aria-expanded="true"] .menu-button__icon::after { transform: translateY(-5.25px) rotate(-45deg); }

  .drawer {
    display: block;
    position: fixed;
    inset: var(--header-h) 0 0 0;
    padding: 24px var(--gutter) 48px;
    background: var(--color-bg-pale);
    overflow-y: auto;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.25s, visibility 0.25s;
  }

  .drawer.is-open {
    visibility: visible;
    opacity: 1;
  }

  .drawer__list li {
    border-bottom: 1px solid var(--color-line);
  }

  .drawer__list a {
    display: block;
    padding: 18px 0;
    font-size: 16px;
    font-weight: var(--fw-medium);
  }

  .drawer__cta {
    margin-top: 32px;
  }

  .drawer .btn { width: 100%; }

  .drawer__tel {
    margin-top: 24px;
    font-size: 13px;
    color: var(--color-text-accent);
  }

  .drawer__tel a {
    display: block;
    font-size: 28px;
    font-weight: var(--fw-medium);
    color: var(--color-text);
  }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  padding-block: var(--space-2xl);
  background: var(--color-white);
}

.site-footer__logo {
  display: block;
  width: 250px;
  height: 72px;
}

.site-footer__logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.site-footer__name {
  font-size: 14px;
  font-weight: var(--fw-medium);
}

.site-footer__nav {
  font-size: 13px;
}

.site-footer__nav ul {
  display: flex;
  flex-wrap: wrap;
}

.site-footer__nav li + li::before {
  content: "／";
  margin-inline: 0.4em;
}

.site-footer__nav a:hover {
  color: var(--color-text-accent);
  text-decoration: underline;
}

.site-footer__copy {
  font-size: 11px;
  color: var(--color-text-faint);
}

@media (max-width: 767px) {
  .site-footer { padding-block: var(--section-y); }
}

/* ==========================================================================
   共通：お問い合わせ案内（各ページ下部）
   ========================================================================== */
.contact-cta__icon {
  width: 48px;
  height: 48px;
}

.contact-cta__body {
  display: flex;
  align-items: flex-start;
  gap: 130px;
  max-width: 1090px;
}

.contact-cta__tel {
  flex: 0 1 600px;
}

.tel-number {
  display: block;
  font-size: 48px;
  font-weight: var(--fw-medium);
  line-height: var(--lh-heading);
}

.tel-hours {
  margin-top: var(--space-2xs);
  font-size: 14px;
}

@media (max-width: 960px) {
  .contact-cta__body { gap: 48px; }
}

@media (max-width: 767px) {
  .contact-cta__body {
    flex-direction: column;
    gap: 32px;
  }
  .contact-cta__tel { flex-basis: auto; }
  .tel-number { font-size: 36px; }
}

/* ==========================================================================
   トップ：メインビジュアル
   ========================================================================== */
.hero {
  position: relative;
  height: 740px;
  background: var(--color-bg-green);
  color: var(--color-white);
  overflow: hidden;
}

.hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: var(--hero-overlay);
}

.hero__inner {
  position: relative;
  z-index: 2;
  height: 100%;
}

.hero__copy {
  position: absolute;
  top: 125px;
  left: 0;
  display: flex;
  flex-direction: column;
  gap: 22px;
  max-width: 850px;
}

.hero__en {
  font-size: 12px;
  font-weight: var(--fw-medium);
}

.hero__title {
  font-size: 56px;
  font-weight: var(--fw-medium);
  line-height: var(--lh-heading);
}

.hero__lead {
  max-width: 680px;
  font-size: 17px;
  font-weight: var(--fw-medium);
}

.hero__bottom {
  position: absolute;
  top: 660px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 14px;
}

.hero__scroll {
  font-size: 11px;
}

@media (max-width: 1100px) {
  .hero__title { font-size: 48px; }
}

@media (max-width: 767px) {
  .hero {
    height: auto;
    color: var(--color-text-dark);
  }
  .hero::before { display: none; }
  /* スマホは家族3人（写真の中央〜右側）が収まるように、右寄せで少し横長に切り抜く */
  .hero__image {
    position: static;
    height: auto;
    aspect-ratio: 5 / 4;
    object-position: 100% 50%;
  }
  .hero__copy {
    position: static;
    gap: 18px;
    padding-block: 30px 44px;
  }
  .hero__title { font-size: 30px; }
  .hero__lead { font-size: 15px; }
  .hero__bottom { display: none; }
}

/* ==========================================================================
   イントロダクション（トップ01・協会について）
   ========================================================================== */
.intro__grid {
  display: flex;
  justify-content: space-between;
  gap: 96px;
}

.intro__message {
  flex: 0 1 550px;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.intro__desc {
  flex: 0 1 554px;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.intro__illust {
  height: 280px;
}

/* トップページ用：短い紹介文＋ボタン（協会についてページには影響しない） */
.section--intro-top {
  padding-block: 72px;
}

@media (max-width: 767px) {
  .section--intro-top { padding-block: var(--section-y); }
}

@media (max-width: 960px) {
  .intro__grid { gap: 48px; }
}

@media (max-width: 767px) {
  .intro__grid {
    flex-direction: column;
    gap: 32px;
  }
  .intro__message,
  .intro__desc { flex-basis: auto; }
  .intro__illust { height: 220px; }
}

/* ==========================================================================
   トップ02：2つの認定資格
   ========================================================================== */
.licenses__intro .licenses__illust {
  height: 270px;
}

.licenses__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 64px;
}

.license-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* 小さめのアイコン＋番号（44px／40px） */
.num-icon--sm img {
  width: 44px;
  height: 44px;
}

.num-icon--sm .num-icon__num {
  font-size: 40px;
}

.license-card__en {
  font-size: 11px;
  font-weight: var(--fw-medium);
  color: var(--color-text-accent);
}

.license-card__name {
  font-size: 32px;
  font-weight: var(--fw-medium);
  line-height: var(--lh-heading);
}

.license-card__catch {
  font-size: 22px;
  font-weight: var(--fw-medium);
  line-height: var(--lh-sub);
  color: var(--color-text-accent);
}

.license-card__photo {
  height: 250px;
}

.license-card__desc {
  font-size: 18px;
  line-height: var(--lh-text);
}

/* 3つのサポート（アイコン＋短い言葉） */
.support-icons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding-top: var(--space-2xs);
}

.support-icons li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: var(--fw-medium);
  line-height: 1.8;
  text-align: center;
}

.licenses__cta {
  display: flex;
  justify-content: center;
}

.licenses__btn {
  width: 440px;
}

@media (max-width: 767px) {
  .licenses__intro .licenses__illust { height: 220px; }
  .licenses__grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .license-card__name { font-size: 28px; }
  .license-card__catch { font-size: 20px; }
  .license-card__photo { height: 220px; }
  .license-card__desc { font-size: 16px; }
  .support-icons { gap: 8px; }
  .support-icons li { font-size: 13px; }
  .licenses__btn { width: 100%; }
}

/* ==========================================================================
   サポートの範囲（トップ03・認定資格）
   ========================================================================== */
.support__grid {
  display: flex;
  align-items: flex-start;
  gap: 72px;
}

.support__image {
  flex: 0 0 520px;
  height: 430px;
}

.support__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.icon-heading {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 26px;
  font-weight: var(--fw-medium);
  color: var(--color-text-accent);
}

.icon-heading img {
  width: 44px;
  height: 44px;
}

@media (max-width: 960px) {
  .support__grid { gap: 40px; }
  .support__image { flex-basis: 40%; height: 360px; }
}

@media (max-width: 767px) {
  .support__grid {
    flex-direction: column;
    gap: 32px;
  }
  .support__image {
    flex-basis: auto;
    height: 280px;
  }
  .icon-heading { font-size: 22px; }
}

/* ==========================================================================
   理念
   ========================================================================== */
.philosophy__grid {
  display: flex;
  align-items: center;
  gap: 64px;
}

.philosophy__text {
  flex: 0 1 640px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.philosophy__statement {
  font-size: 30px;
  font-weight: var(--fw-medium);
  line-height: var(--lh-heading);
  color: var(--color-text-accent);
}

.philosophy__closing {
  font-size: 27px;
  font-weight: var(--fw-medium);
  line-height: var(--lh-heading);
}

.philosophy__image {
  flex: 0 1 496px;
  min-width: 0;
  height: 520px;
}

@media (max-width: 767px) {
  .philosophy__grid {
    flex-direction: column;
    align-items: stretch;
    gap: 30px;
  }
  /* スマホは見出しの下に写真（Figma スマホ版の並び） */
  .philosophy__text { display: contents; }
  .philosophy__text > .eyebrow { order: 1; }
  .philosophy__text > .heading { order: 2; }
  .philosophy__image { order: 3; flex: none; height: 280px; }
  .philosophy__statement { order: 4; font-size: 22px; line-height: var(--lh-text); }
  .philosophy__text > .prose { order: 5; }
  .philosophy__closing { order: 6; font-size: 20px; }
}

/* ==========================================================================
   代表理事紹介
   ========================================================================== */
.director__grid {
  display: flex;
  align-items: flex-start;
  gap: 100px;
}

.director__photo {
  flex: 0 0 410px;
  height: 480px;
  object-position: center 30%;
}

.director__profile {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.director__message {
  font-size: 28px;
  font-weight: var(--fw-medium);
  line-height: var(--lh-heading);
}

.director__role {
  font-size: 13px;
  color: var(--color-text-accent);
}

.director__name {
  font-size: 38px;
  font-weight: var(--fw-medium);
  line-height: var(--lh-heading);
}

@media (max-width: 960px) {
  .director__grid { gap: 48px; }
  .director__photo { flex-basis: 40%; }
}

@media (max-width: 767px) {
  .director__grid {
    flex-direction: column;
    gap: 32px;
  }
  .director__photo {
    flex-basis: auto;
    height: 380px;
  }
  .director__message { font-size: 22px; line-height: var(--lh-body); }
  .director__name { font-size: 32px; }
}

/* ==========================================================================
   認定証・認定カード
   ========================================================================== */
.cert__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 45px;
}

.cert__item img {
  width: 100%;
  height: 280px;
  object-fit: contain;
}

.cert__item figcaption {
  margin-top: 20px;
  font-size: 15px;
  font-weight: var(--fw-medium);
}

@media (max-width: 767px) {
  .cert__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* ==========================================================================
   トップ07：資格取得・FC加盟
   ========================================================================== */
.fc-top {
  color: var(--color-text-dark);
}

.fc-top__title {
  font-size: 44px;
  font-weight: var(--fw-medium);
  line-height: var(--lh-heading);
}

.fc-top__sub {
  font-size: 25px;
  font-weight: var(--fw-medium);
}

.fc-top__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 42px;
}

.fc-card {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.fc-card .rule { background: var(--color-line-green); }
.fc-card .num-icon__num { color: var(--color-text-dark); }

.fc-card__title {
  font-size: 26px;
  font-weight: var(--fw-medium);
}

.fc-card__photo {
  height: 230px;
}

.fc-card__catch {
  font-size: 19px;
  font-weight: var(--fw-medium);
  line-height: var(--lh-sub);
  color: var(--color-text);
}

.fc-top__closing {
  font-size: 29px;
  font-weight: var(--fw-medium);
  line-height: var(--lh-sub);
  color: var(--color-text);
}

.fc-top__closing-text { color: var(--color-text); }

@media (max-width: 960px) {
  .fc-top__grid { grid-template-columns: 1fr; gap: 32px; }
  .fc-card__photo { height: 320px; }
}

@media (max-width: 767px) {
  .fc-top__title { font-size: 29px; }
  .fc-top__sub { font-size: 20px; }
  .fc-card__photo { height: 212px; }
  .fc-top__closing { font-size: 22px; }
}

/* ==========================================================================
   下層：ページタイトル
   ========================================================================== */
.page-title {
  padding-block: 36px 64px;
  background: var(--color-bg-pale);
}

.breadcrumb {
  font-size: 12px;
  line-height: var(--lh-text);
  color: var(--color-text-muted);
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
}

.breadcrumb li + li::before {
  content: "/";
  margin-inline: 0.6em;
}

.breadcrumb a:hover { text-decoration: underline; }

.page-title__grid {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
  margin-top: 40px;
}

.page-title__text {
  flex: 0 1 620px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.page-title__heading {
  font-size: 56px;
  font-weight: var(--fw-medium);
  line-height: var(--lh-heading);
}

.page-title__lead {
  font-size: 18px;
  line-height: var(--lh-text);
}

.page-title__image {
  flex: 0 1 500px;
  min-width: 0;
  height: 280px;
}

/* お問い合わせページ：パンくずを文章側に入れ、右にイラスト */
.page-title--illust .page-title__grid { margin-top: 0; }
.page-title--illust .page-title__text { flex-basis: 760px; gap: var(--space-md); }
.page-title--illust .page-title__heading { font-size: 60px; }
.page-title--illust .page-title__image { flex-basis: 360px; }

@media (max-width: 767px) {
  .page-title { padding-block: 20px 48px; }
  .page-title__grid,
  .page-title--illust .page-title__grid {
    flex-direction: column;
    align-items: stretch;
    gap: 32px;
    margin-top: 28px;
  }
  .page-title--illust .page-title__grid { margin-top: 0; }
  .page-title__text,
  .page-title--illust .page-title__text { flex-basis: auto; gap: 16px; }
  .page-title__heading,
  .page-title--illust .page-title__heading { font-size: 34px; }
  .page-title__lead { font-size: 16px; }
  .page-title__image,
  .page-title--illust .page-title__image { flex-basis: auto; height: 220px; }
}

/* ==========================================================================
   下層：ページ内ナビゲーション
   ========================================================================== */
.page-nav {
  padding-block: 27px;
  background: var(--color-white);
}

.page-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 56px;
  border-bottom: 1px solid var(--color-line);
  font-size: 14px;
  font-weight: var(--fw-medium);
  line-height: var(--lh-text);
  color: var(--color-text-accent);
}

.page-nav a {
  display: inline-block;
  transition: opacity 0.2s;
}

.page-nav a::after {
  content: "↓";
  margin-left: 0.6em;
}

.page-nav a[data-arrow="right"]::after { content: "→"; }

.page-nav a:hover { opacity: 0.7; }

@media (max-width: 767px) {
  .page-nav { padding-block: 20px; }
  .page-nav ul {
    gap: 6px 24px;
    padding-bottom: 12px;
    font-size: 13px;
  }
}

/* ==========================================================================
   下層：文章＋イラスト（ブランドの目的・資格の役割・パートナーへのメッセージ）
   ========================================================================== */
.text-illust {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.text-illust__text {
  flex: 0 1 760px;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.text-illust__lead {
  font-size: 18px;
  line-height: var(--lh-text);
}

.text-illust__lead--19 { font-size: 19px; }

.text-illust__image {
  flex: 0 1 360px;
  min-width: 0;
  height: 280px;
}

.section--purpose { padding-block: 76px; }
.section--role { padding-block: 80px 56px; }
.section--message { padding-block: 80px 88px; }

@media (max-width: 767px) {
  .text-illust {
    flex-direction: column;
    align-items: stretch;
    gap: 32px;
  }
  .text-illust__text { flex-basis: auto; }
  .text-illust__lead,
  .text-illust__lead--19 { font-size: 16px; }
  .text-illust__image { flex-basis: auto; height: 220px; }
  .section--purpose,
  .section--role,
  .section--message { padding-block: var(--section-y); }
}

/* ==========================================================================
   協会について：2つの認定資格への案内
   ========================================================================== */
.section--related { padding-block: 72px; }

.related__stack > * + * { margin-top: 40px; }

.related__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 70px;
}

.related__item {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  font-size: 28px;
  font-weight: var(--fw-medium);
  line-height: var(--lh-heading);
}

.related__item img {
  width: 52px;
  height: 52px;
}

@media (max-width: 767px) {
  .section--related { padding-block: var(--section-y); }
  .related__stack > * + * { margin-top: 30px; }
  .related__list { grid-template-columns: 1fr; gap: 20px; }
  .related__item { font-size: 22px; }
}

/* ==========================================================================
   認定資格：各資格の詳細
   ========================================================================== */
.section--detail { padding-block: 88px; }

.license-detail__grid {
  display: flex;
  align-items: flex-start;
  gap: 88px;
  margin-top: 40px;
}

.license-detail__intro {
  flex: 0 0 400px;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.license-detail__catch {
  font-size: 23px;
  font-weight: var(--fw-medium);
  line-height: var(--lh-text);
}

.license-detail__photo {
  height: 280px;
}

.license-detail__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 28px;
  font-size: 17px;
  line-height: var(--lh-text);
}

.support-box {
  padding: 28px 30px;
  background: var(--color-bg-pale);
  font-size: 16px;
  line-height: var(--lh-text);
}

.support-box__title {
  font-size: 20px;
  font-weight: var(--fw-medium);
}

.support-box .plus-list {
  margin-top: 18px;
  gap: 18px;
}

@media (max-width: 960px) {
  .license-detail__grid { gap: 48px; }
  .license-detail__intro { flex-basis: 40%; }
}

@media (max-width: 767px) {
  .section--detail { padding-block: var(--section-y); }
  .license-detail__grid {
    flex-direction: column;
    gap: 32px;
    margin-top: 32px;
  }
  .license-detail__intro { flex-basis: auto; width: 100%; }
  .license-detail__catch { font-size: 20px; }
  .license-detail__photo { height: 220px; }
  .license-detail__body { font-size: 16px; }
  .support-box { padding: 24px 20px; }
  .support-box__title { font-size: 18px; }
}

/* ==========================================================================
   資格取得・FC加盟：導入・支援内容・説明会
   ========================================================================== */
.section--intro-fc { padding-block: 72px; }

.fc-intro__stack > * + * { margin-top: 40px; }

.fc-intro__lead {
  max-width: 1080px;
  font-size: 18px;
  line-height: var(--lh-text);
}

.section--feature { padding-block: 80px; }

.feature__grid {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
  margin-top: 40px;
}

.feature__text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.feature__title {
  font-size: 34px;
  font-weight: var(--fw-medium);
  line-height: var(--lh-heading);
}

.feature__catch {
  font-size: 24px;
  font-weight: var(--fw-medium);
  line-height: var(--lh-text);
}

.feature__body {
  font-size: 17px;
  line-height: var(--lh-text);
}

.feature__photo {
  flex: 0 0 560px;
  height: 380px;
}

/* 写真が左に来る段（HTMLは文章→写真の順のまま、見た目だけ入れ替える） */
.feature--reverse .feature__grid { flex-direction: row-reverse; }

.section--session { padding-block: 64px 72px; }

.session__stack > * + * { margin-top: 40px; }

@media (max-width: 1100px) {
  .feature__photo { flex-basis: 45%; height: 320px; }
}

@media (max-width: 767px) {
  .section--intro-fc,
  .section--feature,
  .section--session { padding-block: var(--section-y); }
  .fc-intro__stack > * + *,
  .session__stack > * + * { margin-top: 30px; }
  .fc-intro__lead { font-size: 16px; }
  .feature__grid,
  .feature--reverse .feature__grid {
    flex-direction: column;
    align-items: stretch;
    gap: 32px;
    margin-top: 32px;
  }
  .feature__photo { flex-basis: auto; height: 220px; }
  .feature__title { font-size: 28px; }
  .feature__catch { font-size: 20px; }
  .feature__body { font-size: 16px; }
}

/* ==========================================================================
   お問い合わせ：電話
   ========================================================================== */
.section--phone { padding-block: 64px; }

.phone-box {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
  padding: 40px 56px;
  background: var(--color-bg-pale);
}

.phone-box__guide {
  flex: 0 1 420px;
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.phone-box__title {
  font-size: 26px;
  font-weight: var(--fw-medium);
  line-height: var(--lh-heading);
}

.phone-box__note {
  font-size: 15px;
  line-height: var(--lh-text);
}

.phone-box .tel-number { font-size: 46px; }
.phone-box .tel-hours { font-size: 15px; }

@media (max-width: 767px) {
  .section--phone { padding-block: 48px; }
  .phone-box {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    padding: 32px 24px;
  }
  .phone-box__title { font-size: 22px; }
  .phone-box .tel-number { font-size: 34px; }
}

/* ==========================================================================
   お問い合わせ：フォーム
   ========================================================================== */
.section--form { padding-block: 72px 88px; }

.form-head > * + * { margin-top: 40px; }

.contact-form {
  max-width: 920px;
  margin: 40px auto 0;
}

.contact-form__fields {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  padding: var(--space-md);
  border-radius: 8px;
  background: var(--color-white);
}

.field {
  display: flex;
  flex-direction: column;
  gap: var(--space-2xs);
}

.field__label {
  font-size: 16px;
  font-weight: var(--fw-medium);
  line-height: var(--lh-heading);
}

.field__tag {
  margin-left: 0.6em;
  font-size: 13px;
  color: var(--color-text-accent);
}

.field__tag--required { color: var(--color-error); }

.field__input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--color-input-border);
  border-radius: 8px;
  background: var(--color-white);
  font-size: 16px;
  line-height: var(--lh-heading);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.field__input::placeholder { color: var(--color-placeholder); }

.field__input:focus {
  outline: none;
  border-color: var(--color-text-accent);
  box-shadow: 0 0 0 3px var(--color-focus-ring);
}

textarea.field__input { min-height: 180px; }

.field__error {
  font-size: 13px;
  color: var(--color-error);
}

.field__error:empty { display: none; }

.field.is-invalid .field__input { border-color: var(--color-error); }

.consent {
  margin-top: 28px;
  padding-left: var(--space-md);
}

.consent__label {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font-size: 16px;
  line-height: var(--lh-text);
  cursor: pointer;
}

.consent__label input {
  flex: none;
  width: 20px;
  height: 20px;
  margin: 0;
  accent-color: var(--color-text-accent);
  cursor: pointer;
}

.consent__label a {
  color: var(--color-text-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.consent .field__error { margin-top: 4px; }

/* Cloudflare Turnstile（人間による送信かの確認欄） */
.captcha {
  margin-top: 28px;
  padding-left: var(--space-md);
}

.captcha .cf-turnstile {
  min-height: 65px;
}

.captcha .field__error { margin-top: 4px; }

.contact-form__submit {
  margin-top: 28px;
}

.contact-form__submit .btn[disabled] {
  opacity: 0.6;
  cursor: wait;
}

.form-message {
  margin-top: 20px;
  padding: 16px 20px;
  border-radius: 8px;
  background: var(--color-error-bg);
  color: var(--color-error);
  font-size: 15px;
}

/* スパム対策の入力欄（人には見えない） */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

@media (max-width: 767px) {
  .section--form { padding-block: var(--section-y); }
  .form-head > * + * { margin-top: 30px; }
  .contact-form { margin-top: 30px; }
  .contact-form__fields { padding: 20px 16px; }
  .consent,
  .captcha { padding-left: 4px; }
}

/* ==========================================================================
   送信完了・個人情報保護方針
   ========================================================================== */
.thanks {
  max-width: 760px;
}

.thanks .btn { margin-top: 40px; }

.policy {
  max-width: 880px;
  font-size: 15px;
}

.policy h2 {
  margin-top: var(--space-lg);
  padding-bottom: var(--space-2xs);
  border-bottom: 1px solid var(--color-line);
  font-size: 20px;
  font-weight: var(--fw-medium);
}

.policy h3 {
  margin-top: var(--space-md);
  font-size: 16px;
  font-weight: var(--fw-medium);
}

.policy p,
.policy ol,
.policy ul { margin-top: var(--space-xs); }

.policy ol {
  padding-left: 1.6em;
  list-style: decimal;
}

.policy ul {
  padding-left: 1.4em;
  list-style: disc;
}

.policy a {
  color: var(--color-text-accent);
  text-decoration: underline;
}

.policy__sign {
  margin-top: var(--space-lg);
  padding: var(--space-md);
  background: var(--color-bg-pale);
}

/* ==========================================================================
   スクロール時の表示アニメーション
   JavaScript が動いたとき（html に .js が付いたとき）だけ隠すので、
   JS が無効な環境でも中身は必ず表示される。
   ========================================================================== */
.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}
