/* ============================================
   奥行きページ共通CSS（assets/css/pages.css）
   ・ページヒーロー（.page-hero）
   ・番号付きセクション（.feature）
   ・生育タイムライン（.growth）／比較画像（.compare）
   ・レーダーチャート（.radar）／比較表（.spec-table）
   ・「緑」= rgb(79, 95, 58)（--color-green）
============================================ */

:root {
  --page-width: 1000px;       /* 奥行きページのコンテンツ幅 */
  --page-section-gap: 72px;   /* セクション同士の間隔（PC） */
}

.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.page-main {
  /* OSがダークモードでも、奥行きページは常にライト配色で表示する */
  --color-bg-card: #ffffff;
  --color-text: #2b2b26;
  --color-text-sub: #5c5a4f;
  --color-line: #e2ddcc;
  background: #fff;
  color: var(--color-text);
}

.page-main img {
  max-width: 100%;
}

/* ============================================
   ページヒーロー
============================================ */
.page-hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 380px;
  overflow: hidden;
  background: #e9e5d6; /* 画像読み込み前の背景色 */
}

.page-hero__bg {
  position: absolute;
  inset: 0;
  display: block;
}

.page-hero__bg img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 文字の可読性を保つための白いグラデーション（暗い写真のページは別途調整） */
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.82) 0%, rgba(255, 255, 255, 0.5) 40%, rgba(255, 255, 255, 0) 72%);
}

.page-hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--page-width);
  margin: 0 auto;
  padding: 56px 20px;
}

.page-hero__title {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(24px, 3.2vw, 38px);
  line-height: 1.6;
  margin: 0 0 16px;
  color: var(--color-text);
}

.page-hero__lead {
  font-size: 14px;
  line-height: 2;
  margin: 0 0 24px;
  color: var(--color-text);
}

.page-hero__label {
  display: inline-block;
  background: var(--color-green);
  color: #fff;
  font-size: 12px;
  line-height: 1;
  padding: 9px 22px;
  border-radius: var(--radius-btn);
}

/* ============================================
   番号付きセクション（.feature）
   grid-template-areas で「PC：写真と文章を左右」「SP：見出し→写真→文章」を切り替える
============================================ */
.page-sections {
  max-width: var(--page-width);
  margin: 0 auto;
  padding: 72px 20px 96px;
}

.feature {
  display: grid;
  column-gap: 48px;
}

.feature + .feature {
  margin-top: var(--page-section-gap);
}

/* 写真が左（01・03） */
.feature--media-left {
  grid-template-columns: minmax(0, var(--col-a, 3fr)) minmax(0, var(--col-b, 7fr)); /* --col-a=写真 / --col-b=文章 */
  grid-template-rows: auto 1fr;
  grid-template-areas:
    "media head"
    "media body";
}

.feature--media-left .feature__media {
  align-self: start;
}

/* 写真が右（02） */
.feature--media-right {
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  grid-template-rows: auto 1fr;
  grid-template-areas:
    "head media"
    "body media";
}

.feature--media-right .feature__media {
  align-self: start;
}

/* 写真なし・全幅（04） */
.feature--full {
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas:
    "head"
    "body";
}

.feature__head {
  grid-area: head;
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 20px;
}

.feature__num {
  flex: none;
  font-family: var(--font-serif);
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 400;
  line-height: 1;
  color: var(--color-orange);
}

.feature__title {
  font-family: var(--font-serif);
  font-size: clamp(18px, 2.2vw, 24px);
  font-weight: 600;
  line-height: 1.5;
  margin: 0;
}

.feature__media {
  grid-area: media;
  min-width: 0;
}

.feature__body {
  grid-area: body;
  min-width: 0;
}

.feature__photo {
  display: block;
  width: 100%;
  aspect-ratio: var(--photo-ratio, 3 / 4);
  object-fit: cover;
  border-radius: var(--radius-card);
}

.feature__photo--square {
  --photo-ratio: 1 / 1;
}

/* 全幅セクション（.feature--full）の中に置く写真：幅を抑え、文章の下に余白をあけて表示 */
.feature__photo--narrow {
  max-width: 420px;
}

.feature__body .feature__photo {
  margin-top: 24px;
}

.feature__text {
  font-size: 14px;
  line-height: 2;
  color: var(--color-text-sub);
  margin: 0 0 1em;
}

.feature__text:last-child {
  margin-bottom: 0;
}

/* ============================================
   01：生育タイムライン（4月〜8月）
============================================ */
.growth {
  --growth-size: 64px;
  position: relative;
  display: flex;
  list-style: none;
  margin: 32px 0 0;
  padding: 0;
}

/* 丸写真の中心を通る矢印線 */
.growth::before {
  content: "";
  position: absolute;
  top: calc(var(--growth-size) / 2);
  left: 10%;
  right: 0;
  border-top: 1px solid var(--color-green);
}

.growth::after {
  content: "";
  position: absolute;
  top: calc(var(--growth-size) / 2 - 4px);
  right: 2px;
  width: 8px;
  height: 8px;
  border-top: 1px solid var(--color-green);
  border-right: 1px solid var(--color-green);
  transform: rotate(45deg);
}

.growth__item {
  position: relative;
  z-index: 1;
  flex: 1 1 0;
  min-width: 0;
  text-align: center;
}

.growth__photo {
  display: block;
  width: var(--growth-size);
  height: var(--growth-size);
  margin: 0 auto 8px;
  border-radius: 50%;
  object-fit: cover;
  background: #fff;
  box-shadow: 0 0 0 3px #fff;
}

.growth__label {
  font-size: 12px;
  color: var(--color-green);
}

/* ============================================
   02：一般的な果樹／大岩農園の果樹 の比較画像
============================================ */
.compare {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
}

.compare__item {
  flex: 1 1 0;
  min-width: 0;
  margin: 0;
  text-align: center;
}

.compare__caption {
  font-size: 13px;
  color: var(--color-text-sub);
  margin-bottom: 8px;
}

.compare__photo {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: var(--radius-card);
}

.compare__arrow {
  flex: none;
  width: 10px;
  height: 10px;
  border-top: 2px solid var(--color-green);
  border-right: 2px solid var(--color-green);
  transform: rotate(45deg);
}

/* ============================================
   03：レーダーチャート＋凡例
============================================ */
.radar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 28px;
  margin: 28px 0 0;
}

.radar__chart {
  display: block;
  flex: none;
  width: min(260px, 100%);
  height: auto;
}

.radar__legend {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 12px;
  color: var(--color-text-sub);
}

.radar__legend li {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.radar__legend li::before {
  content: "";
  width: 20px;
  height: 2px;
  background: var(--legend-color);
}

.radar__legend-normal {
  --legend-color: #b9b5a5;
}

.radar__legend-nada {
  --legend-color: var(--color-orange);
}

/* ============================================
   04：河内晩柑／愛南ゴールド／ナダオレンジ 比較表
============================================ */
.spec-table-wrap {
  margin-top: 24px;
  overflow-x: auto;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 13px;
  line-height: 1.8;
}

.spec-table th,
.spec-table td {
  border: 1px solid var(--color-line);
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
  word-break: break-word;
}

.spec-table thead th {
  background: #f4f1e6;
  font-family: var(--font-serif);
  font-weight: 600;
  text-align: center;
  color: var(--color-text);
}

.spec-table thead th:first-child {
  width: 18%;
}

.spec-table tbody th {
  background: #f4f1e6;
  font-weight: 500;
  color: var(--color-green);
}

/* ナダオレンジの列だけ薄いオレンジで強調 */
.spec-table .is-nada {
  background: rgba(224, 145, 63, 0.1);
}

.spec-table thead .is-nada {
  background: rgba(224, 145, 63, 0.22);
}

/* ============================================
   写真の比率バリエーション（4:3 横長）
============================================ */
.feature__photo--landscape {
  --photo-ratio: 4 / 3;
}

/* ============================================
   佐田岬ページ：写真を少し大きめに（写真:文章 = 5:6）
============================================ */
.page-sadamisaki .feature--media-left {
  --col-a: 5fr;
  --col-b: 6fr;
}

/* ============================================
   年表（.history）：昭和40年代〜現在
============================================ */
.history {
  margin: 24px 0 0;
  padding: 0;
}

.history__row {
  position: relative;
  margin: 0 0 8px;
  padding: 10px 14px 10px 30px;
  background: #f4f1e6;
  border-radius: var(--radius-card);
}

.history__row::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 18px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-green);
}

.history__term {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.6;
  color: var(--color-green);
}

.history__desc {
  margin: 0;
  font-size: 13px;
  line-height: 1.8;
  color: var(--color-text);
}

/* ============================================
   ページ下部のCTAボタン（ボタン自体は .about-nada__btn を共通利用）
============================================ */
.page-cta {
  margin-top: var(--page-section-gap);
  text-align: center;
}

.page-cta .about-nada__btn {
  font-size: 14px;
  padding: 13px 32px;
}

/* ============================================
   暗い写真のヒーロー（白文字）：.page-hero--dark を付ける
============================================ */
.page-hero--dark::after {
  background: linear-gradient(90deg, rgba(20, 24, 14, 0.7) 0%, rgba(20, 24, 14, 0.4) 45%, rgba(20, 24, 14, 0.05) 80%);
}

.page-hero--dark .page-hero__title,
.page-hero--dark .page-hero__lead {
  color: #fff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

/* ============================================
   STEPフロー（.steps）：収穫 → 選別 → 出荷 など
============================================ */
.steps {
  --step-icon: 72px;
  display: flex;
  list-style: none;
  margin: 32px 0 0;
  padding: 0;
}

.steps__item {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  padding: 0 4px;
  text-align: center;
}

/* 項目と項目の間の矢印 */
.steps__item:not(:last-child)::after {
  content: "";
  position: absolute;
  top: calc(var(--step-icon) / 2);
  right: 0;
  width: 8px;
  height: 8px;
  border-top: 1px solid var(--color-green);
  border-right: 1px solid var(--color-green);
  transform: translate(50%, -50%) rotate(45deg);
}

.steps__icon {
  display: block;
  width: var(--step-icon);
  height: var(--step-icon);
  margin: 0 auto 10px;
  padding: 4px; /* 線画アイコンの余白。丸ごと入った画像の場合は 0 に */
  border: 1px solid var(--color-green);
  border-radius: 50%;
  object-fit: contain;
  background: #fff;
}

.steps__no {
  display: block;
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--color-green);
}

.steps__name {
  display: block;
  font-size: 13px;
  line-height: 1.5;
  color: var(--color-text);
}

/* ============================================
   動画カード（.video-card）：サムネイル＋再生ボタン＋タイトル
============================================ */
.video-card {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: var(--page-section-gap);
  padding: 24px;
  background: #f4f1e6;
  border-radius: var(--radius-card);
}

/* YouTube埋め込み（16:9のレスポンシブ） */
.video-card__embed {
  position: relative;
  flex: none;
  width: min(360px, 45%);
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--radius-card);
  background: #1b241a;
}

.video-card__embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-card__title {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(16px, 2vw, 20px);
  font-weight: 600;
  line-height: 1.6;
  color: var(--color-text);
}

/* ============================================
   よくあるご質問（.faq）：<details>によるアコーディオン
============================================ */
.faq {
  max-width: 800px;
  margin: 0 auto;
}

.faq__item {
  margin: 0 0 12px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-card);
  background: #fff;
}

.faq__question {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  cursor: pointer;
  list-style: none; /* 標準の三角マーカーを消す */
}

/* Safari用：標準の三角マーカーを消す */
.faq__question::-webkit-details-marker {
  display: none;
}

.faq__question:hover {
  background: #faf8f1;
}

.faq__question:focus-visible {
  outline: 2px solid var(--color-green);
  outline-offset: 2px;
}

.faq__q {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--color-green);
  color: #fff;
  font-family: var(--font-serif);
  font-size: 13px;
  line-height: 1;
}

.faq__question-text {
  flex: 1;
  min-width: 0;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.6;
}

/* 開閉を示す矢印（閉：下向き／開：上向き） */
.faq__question::after {
  content: "";
  flex: none;
  width: 8px;
  height: 8px;
  margin-right: 4px;
  border-right: 1.5px solid var(--color-green);
  border-bottom: 1.5px solid var(--color-green);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}

.faq__item[open] .faq__question::after {
  transform: rotate(-135deg);
}

/* 回答：左端をQバッジの右（質問文の頭）にそろえる（18 + 32 + 14 = 64px） */
.faq__answer {
  padding: 0 18px 18px 64px;
}

.faq__answer p {
  margin: 0;
  font-size: 14px;
  line-height: 2;
  color: var(--color-text-sub);
}

/* ============================================
   もっと知りたい方へ（.more-links）：画像＋名称の4リンク
============================================ */
.more-links {
  margin-top: var(--page-section-gap);
  padding: 28px 24px 32px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-card);
  text-align: center;
}

.more-links__title {
  margin: 0 0 24px;
  font-family: var(--font-serif);
  font-size: clamp(18px, 2.2vw, 22px);
  font-weight: 600;
}

.more-links__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.more-links__link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.more-links__photo {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--radius-card);
}

.more-links__name {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--color-text);
}

.more-links__link:hover .more-links__name {
  color: var(--color-green);
}

/* ============================================
   情報ページ（会社案内など）：.info
============================================ */
.page-hero--compact {
  min-height: 260px;
}

.page-hero--compact .page-hero__inner {
  padding-top: 44px;
  padding-bottom: 44px;
}

.info {
  max-width: 800px;
  margin: 0 auto;
}

.info-section + .info-section {
  margin-top: 56px;
}

.info-section__title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
  font-family: var(--font-serif);
  font-size: clamp(18px, 2.2vw, 22px);
  font-weight: 600;
}

/* 見出し横のオレンジの丸（現行サイトの「●」を踏襲） */
.info-section__title::before {
  content: "";
  flex: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-orange);
}

.info-section__text {
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 2;
  color: var(--color-text-sub);
}

/* 項目名／内容の一覧（会社概要） */
.info-list {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--color-line);
}

.info-list__row {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 16px;
  padding: 14px 4px;
  border-bottom: 1px solid var(--color-line);
}

.info-list__term {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.8;
  color: var(--color-green);
}

.info-list__desc {
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
  color: var(--color-text);
  overflow-wrap: anywhere;
}

.info-list__desc a {
  color: var(--color-green);
}

/* 沿革は年表（.history）を流用。見出し直下なので上余白をなくす */
.info-section .history {
  margin-top: 0;
}

/* Googleマップ埋め込み（16:9のレスポンシブ） */
.map {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--radius-card);
  background: #e9e5d6;
}

.map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.map-note {
  margin: 12px 0 0;
  font-size: 13px;
  line-height: 1.8;
  color: var(--color-text-sub);
}

/* 商標登録証 */
.trademark {
  margin: 48px 0 0;
  text-align: center;
}

.trademark__img {
  display: block;
  width: min(320px, 100%);
  height: auto;
  margin: 0 auto 12px;
  border: 1px solid var(--color-line);
}

.trademark__caption {
  font-size: 13px;
  color: var(--color-text-sub);
}

/* ============================================
   ページ冒頭（見出し＋写真＋文章）：.page-intro
   ヒーロー写真に向かない正方形の写真（商品など）を、切らずに見せるときに使う
============================================ */
.page-intro {
  background: #f4f1e6;
}

.page-intro__inner {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  grid-template-areas:
    "title media"
    "body media";
  grid-template-rows: auto 1fr;
  align-items: start;
  column-gap: 48px;
  max-width: var(--page-width);
  margin: 0 auto;
  padding: 64px 20px;
}

.page-intro__title {
  grid-area: title;
  margin: 0 0 24px;
  font-family: var(--font-serif);
  font-size: clamp(26px, 3.2vw, 38px);
  font-weight: 600;
  line-height: 1.5;
}

.page-intro__media {
  grid-area: media;
  min-width: 0;
}

.page-intro__photo {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--radius-card);
}

.page-intro__body {
  grid-area: body;
  min-width: 0;
}

.page-intro__body p {
  margin: 0 0 1em;
  font-size: 14px;
  line-height: 2.1;
  color: var(--color-text-sub);
}

.page-intro__body p:last-child {
  margin-bottom: 0;
}

/* ============================================
   プロフィール（.profiles / .profile）：説明＋外部リンクボタン
============================================ */
.profiles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.profile {
  display: flex;
  flex-direction: column;
  padding: 28px 28px 32px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-card);
  background: #fff;
}

.profile__text {
  flex: 1; /* 文章の長さが違っても、ボタンを下にそろえる */
  margin: 0 0 24px;
  font-size: 14px;
  line-height: 2;
  color: var(--color-text-sub);
}

/* ボタンは共通の .about-nada__btn を利用。文字が長いので折り返しを許可し、外部リンクのアイコンを添える */
.profile .about-nada__btn {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 8px;
  line-height: 1.5;
  text-align: left;
  white-space: normal;
}

.profile__icon {
  flex: none;
  width: 12px;
  height: 12px;
}

/* ============================================
   お問い合わせフォーム（自作）：.contact-form
   ・処理は inc/contact.php、表示は page-contact.php
   ・送信ボタンは共通の .about-nada__btn を利用
============================================ */
.contact-form {
  max-width: 640px;
  margin: 0 auto;
}

.contact-form__note {
  margin: 0 0 8px;
  font-size: 14px;
  line-height: 2;
  color: var(--color-text-sub);
}

.contact-form__tel {
  margin: 0 0 32px;
  font-size: 14px;
  color: var(--color-text-sub);
}

.contact-form__tel a {
  margin-left: 4px;
  font-size: 16px;
  font-weight: 700;
  color: var(--color-green);
  text-decoration: none;
}

.contact-form .cf-field {
  margin: 0 0 24px;
}

.contact-form .cf-field label {
  display: block;
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.6;
  color: var(--color-green);
}

.contact-form .cf-required {
  margin-left: 8px;
  padding: 2px 8px;
  border-radius: var(--radius-btn);
  background: var(--color-orange);
  color: #fff;
  font-size: 11px;
  font-weight: 500;
  vertical-align: middle;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
  display: block;
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #cfc9b6;
  border-radius: var(--radius-card);
  background: #fff;
  color: var(--color-text);
  font-family: inherit;
  font-size: 16px; /* iPhoneで入力時に拡大されないよう16px以上 */
  line-height: 1.6;
  -webkit-appearance: none;
  appearance: none;
}

.contact-form textarea {
  min-height: 200px;
  resize: vertical;
}

.contact-form input[type="text"]:focus,
.contact-form input[type="email"]:focus,
.contact-form textarea:focus {
  border-color: var(--color-green);
  outline: 2px solid rgba(79, 95, 58, 0.25);
  outline-offset: 0;
}

/* 入力エラー */
.contact-form .is-invalid {
  border-color: #b4561a;
}

.contact-form .cf-error {
  margin: 6px 0 0;
  font-size: 13px;
  line-height: 1.6;
  color: #b4561a;
}

/* ボット対策の入力欄（画面外に隠す。display:none だとボットに見抜かれやすい） */
.contact-form .cf-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* 全体メッセージ（エラー＝オレンジ／送信完了＝緑） */
.contact-form .cf-alert {
  margin: 0 0 28px;
  padding: 14px 16px;
  border: 1px solid var(--color-orange);
  border-radius: var(--radius-card);
  background: #fff8ef;
  font-size: 14px;
  line-height: 1.8;
  color: var(--color-text);
}

.contact-form .cf-alert p {
  margin: 0;
}

.contact-form .cf-alert--success {
  padding: 24px 20px;
  border-color: var(--color-green);
  background: #f1f4ea;
  text-align: center;
}

.contact-form .cf-alert__title {
  margin-bottom: 6px;
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 600;
}

/* プライバシーポリシーの案内（送信ボタンの上） */
.contact-form .cf-privacy {
  margin: 0;
  font-size: 13px;
  line-height: 1.9;
  text-align: center;
  color: var(--color-text-sub);
}

.contact-form .cf-privacy a {
  color: var(--color-green);
}

.contact-form .cf-privacy + .cf-submit {
  margin-top: 20px;
}

/* 送信ボタン */
.contact-form .cf-submit {
  display: flex;
  justify-content: center;
  margin-top: 32px;
}

.contact-form .cf-submit .about-nada__btn {
  min-width: 240px;
  padding: 14px 40px;
  font-family: inherit;
  font-size: 15px;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}

.contact-form .cf-submit .about-nada__btn:disabled {
  opacity: 0.6;
  cursor: default;
}

/* 送信完了後の「トップページへ戻る」 */
.contact-form .cf-back {
  margin: 28px 0 0;
  text-align: center;
}

.contact-form .cf-back .about-nada__btn {
  padding: 13px 32px;
  font-size: 14px;
}

/* ============================================
   縦長（4:5）の人物写真：.page-intro__photo--portrait
   顔が切れないよう、上寄りを基準にトリミング
============================================ */
.page-intro__photo--portrait {
  aspect-ratio: 4 / 5;
  object-position: center 25%;
}

/* ============================================
   約束のポイント（白いカードのリスト）：.promise-list
============================================ */
.promise-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.promise-list__item {
  padding: 16px 18px;
  border-radius: var(--radius-card);
  background: #fff;
  font-family: var(--font-serif);
  font-size: clamp(16px, 1.8vw, 19px);
  font-weight: 600;
  line-height: 1.7;
  color: var(--color-text);
}

/* ============================================
   メッセージ文＋署名：.message
============================================ */
.message {
  max-width: 640px;
  margin: 0 auto;
}

.message p {
  margin: 0 0 2em;
  font-size: 15px;
  line-height: 2.2;
  color: var(--color-text);
}

/* 一番伝えたい一文（「私が目指すのは、納得の柑橘づくり。」） */
.message .message__keyline {
  font-family: var(--font-serif);
  font-size: clamp(18px, 2.2vw, 22px);
  font-weight: 600;
  line-height: 1.8;
  color: var(--color-green);
}

.message__sign {
  margin-top: 56px;
  text-align: right;
}

.message .message__company {
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
  color: var(--color-text-sub);
}

.message .message__name {
  margin: 4px 0 0;
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.6;
  color: var(--color-text);
}

.message__role {
  margin-right: 8px;
  font-size: 13px;
  font-weight: 400;
  color: var(--color-text-sub);
}

/* ============================================
   見出しだけの帯：.page-title（写真なし。プライバシーポリシーなど文章中心のページ用）
============================================ */
.page-title {
  background: #f4f1e6;
}

.page-title__inner {
  max-width: var(--page-width);
  margin: 0 auto;
  padding: 56px 20px;
}

.page-title__title {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(26px, 3.2vw, 38px);
  font-weight: 600;
  line-height: 1.5;
}

.page-title__lead {
  margin: 12px 0 0;
  font-size: 14px;
  line-height: 1.9;
  color: var(--color-text-sub);
}

/* ============================================
   規約・方針などの文章ページ：.legal
============================================ */
.legal {
  max-width: 760px;
  margin: 0 auto;
}

.legal__intro {
  margin: 0 0 48px;
  font-size: 14px;
  line-height: 2.1;
  color: var(--color-text-sub);
}

.legal__section + .legal__section {
  margin-top: 44px;
}

.legal__title {
  margin: 0 0 14px;
  padding-left: 14px;
  border-left: 4px solid var(--color-green);
  font-family: var(--font-serif);
  font-size: clamp(17px, 2vw, 20px);
  font-weight: 600;
  line-height: 1.5;
}

.legal__section p {
  margin: 0 0 1em;
  font-size: 14px;
  line-height: 2.1;
  color: var(--color-text-sub);
}

.legal__section ul,
.legal__section ol {
  margin: 0 0 1em;
  padding-left: 1.6em;
  font-size: 14px;
  line-height: 2.1;
  color: var(--color-text-sub);
}

.legal__section li + li {
  margin-top: 0.25em;
}

.legal__section a {
  color: var(--color-green);
}

.legal__section .info-list {
  margin-top: 4px;
}

.legal__date {
  margin: 56px 0 0;
  font-size: 13px;
  text-align: right;
  color: var(--color-text-sub);
}

/* ============================================
   SP（〜768px）
============================================ */
@media (max-width: 768px) {
  .page-hero {
    align-items: flex-start;
    aspect-ratio: 4 / 5; /* nada_hero_sp.jpg は 4:5（例：1200×1500px）で用意 */
    min-height: 360px;
    max-height: 560px;
  }

  .page-hero::after {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.88) 0%, rgba(255, 255, 255, 0.6) 55%, rgba(255, 255, 255, 0) 100%);
  }

  .page-hero__inner {
    padding: 36px 16px;
  }

  .page-hero__title {
    font-size: 22px;
    margin-bottom: 12px;
  }

  .page-hero__lead {
    font-size: 13px;
    margin-bottom: 18px;
  }

  .page-hero--dark::after {
    background: linear-gradient(180deg, rgba(20, 24, 14, 0.72) 0%, rgba(20, 24, 14, 0.45) 60%, rgba(20, 24, 14, 0.1) 100%);
  }

  .page-sections {
    padding: 48px 16px 72px;
  }

  /* 見出し → 写真 → 文章 の縦積みに */
  .feature,
  .feature--media-left,
  .feature--media-right,
  .feature--full {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto;
    grid-template-areas:
      "head"
      "media"
      "body";
    column-gap: 0;
  }

  .feature + .feature {
    margin-top: 56px;
  }

  .feature__head {
    margin-bottom: 16px;
  }

  .feature__media {
    margin-bottom: 20px;
  }

  .page-cta {
    margin-top: 56px;
  }

  .steps {
    --step-icon: 40px;
    margin-top: 24px;
  }

  .steps__item {
    padding: 0 2px;
  }

  .steps__icon {
    padding: 1px;
    margin-bottom: 8px;
  }

  .steps__no {
    font-size: 9px;
  }

  .steps__name {
    font-size: 10.5px;
  }

  .video-card {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    margin-top: 48px;
    padding: 16px;
  }

  .video-card__embed {
    width: 100%;
  }

  .video-card__title {
    font-size: 16px;
    text-align: center;
  }

  .faq__question {
    gap: 12px;
    padding: 14px;
  }

  .faq__q {
    width: 28px;
    height: 28px;
    font-size: 12px;
  }

  .faq__question-text {
    font-size: 14px;
  }

  /* 14 + 28 + 12 = 54px */
  .faq__answer {
    padding: 0 14px 16px 54px;
  }

  .faq__answer p {
    font-size: 13px;
  }

  /* 情報ページ（会社案内など） */
  .page-hero--compact {
    aspect-ratio: auto;
    min-height: 240px;
    max-height: none;
  }

  .page-hero--compact .page-hero__inner {
    padding-top: 32px;
    padding-bottom: 32px;
  }

  .info-section + .info-section {
    margin-top: 44px;
  }

  .info-list__row {
    grid-template-columns: 84px minmax(0, 1fr);
    gap: 12px;
    padding: 12px 2px;
  }

  .info-list__term {
    font-size: 12px;
  }

  .info-list__desc {
    font-size: 13px;
  }

  .map {
    aspect-ratio: 4 / 3;
  }

  .trademark {
    margin-top: 36px;
  }

  /* ページ冒頭：見出し → 写真 → 文章 の縦積み */
  .page-intro__inner {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto;
    grid-template-areas:
      "title"
      "media"
      "body";
    column-gap: 0;
    padding: 40px 16px;
  }

  .page-intro__title {
    margin-bottom: 20px;
  }

  .page-intro__media {
    margin-bottom: 20px;
  }

  .page-intro__body p {
    font-size: 13px;
  }

  /* プロフィール：1列 */
  .profiles {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .profile {
    padding: 20px 18px 24px;
  }

  .profile__text {
    font-size: 13px;
    margin-bottom: 20px;
  }

  /* お問い合わせフォーム */
  .contact-form__tel {
    margin-bottom: 24px;
  }

  .contact-form .cf-field {
    margin-bottom: 20px;
  }

  .contact-form textarea {
    min-height: 160px;
  }

  .contact-form .cf-alert--success {
    padding: 20px 16px;
  }

  .contact-form .cf-submit .about-nada__btn {
    width: 100%;
    max-width: 320px;
  }

  /* 約束のポイント・メッセージ文 */
  .promise-list__item {
    padding: 14px;
    font-size: 15px;
  }

  .message p {
    margin-bottom: 1.8em;
    font-size: 14px;
    line-height: 2.1;
  }

  .message__sign {
    margin-top: 40px;
  }

  .message .message__name {
    font-size: 20px;
  }

  /* 見出しだけの帯・規約ページ */
  .page-title__inner {
    padding: 36px 16px;
  }

  .legal__intro {
    margin-bottom: 36px;
    font-size: 13px;
  }

  .legal__section + .legal__section {
    margin-top: 36px;
  }

  .legal__section p,
  .legal__section ul,
  .legal__section ol {
    font-size: 13px;
  }

  .legal__date {
    margin-top: 44px;
  }

  .more-links {
    margin-top: 48px;
    padding: 20px 14px 24px;
  }

  .more-links__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 12px;
  }

  /* SP：「ナダオレンジとは」ページの01・03の写真は正方形表示 */
  .page-about-nada .feature__photo {
    aspect-ratio: 1 / 1;
  }

  /* SP：レーダーチャートを中央寄せ（凡例はその下） */
  .radar {
    flex-direction: column;
    align-items: center;
  }

  .growth {
    --growth-size: 44px;
    margin-top: 24px;
  }

  .growth__label {
    font-size: 11px;
  }

  .compare {
    gap: 8px;
  }

  .compare__caption {
    font-size: 12px;
  }

  .spec-table {
    font-size: 11.5px;
  }

  .spec-table th,
  .spec-table td {
    padding: 8px 6px;
  }

  .spec-table thead th:first-child {
    width: 22%;
  }
}
