/*
Theme Name: GPF
Theme URI: https://gpfinc.net/
Author: 合同会社ぞろ屋
Author URI: https://zoroya.co.jp/
Description: GPF株式会社 植物工場販売サイトのオリジナルテーマ。スタンドアロン構成、ACF Free + CPT で編集可能化、style.css 1本に集約。
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 8.0
License: GPL v2 or later
Text Domain: gpf
*/

/* =========================================================
   GPF 株式会社 共通スタイル _shared.css 初版
   ---------------------------------------------------------
   採用パターン : H-02 Split Editorial (横書き版) × L-08 Fresh Guidance
   SPEC.md     : Section 3.1〜3.8 確定値準拠
   作成日       : 2026-05-21 ／ 制作 : 合同会社ぞろ屋
   ========================================================= */

:root {
  /* ---- Color tokens (SPEC.md 3.2) ---- */
  --gpf-primary:        #1F4D2C;
  --gpf-primary-dark:   #143822;
  --gpf-secondary:      #4A7C5A;
  --gpf-accent-light:   #A8C8A5;
  --gpf-text-main:      #1A1A1A;
  --gpf-text-sub:       #555555;
  --gpf-border:         #E5E5E5;
  --gpf-base:           #FFFFFF;
  --gpf-base-alt:       #FAFAF8;
  --gpf-fv-bg:          #FAF6ED;  /* FV専用のほんのりベージュ */

  /* ---- Typography ---- */
  --gpf-font-body:    "Noto Sans JP", system-ui, -apple-system, "Hiragino Sans", "Yu Gothic UI", sans-serif;
  --gpf-font-heading: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", "MS Mincho", serif;
  --gpf-font-numeral: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", "MS Mincho", serif;

  /* ---- Layout ---- */
  --gpf-container-max:    1200px;
  --gpf-container-gutter: 24px;
  --gpf-hero-split:       1fr 1.1fr;

  /* ---- UI ---- */
  --gpf-cta-radius:    6px;
  --gpf-shadow-sm:     0 2px 8px rgba(20, 56, 34, .06);
  --gpf-shadow-md:     0 6px 20px rgba(20, 56, 34, .10);
}

/* =========================================================
   Reset & base
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--gpf-font-body);
  font-size: 16px;
  line-height: 1.75;
  color: var(--gpf-text-main);
  background: var(--gpf-base);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

/* =========================================================
   Container
   ========================================================= */
.container {
  width: 100%;
  max-width: var(--gpf-container-max);
  margin-inline: auto;
  padding-inline: var(--gpf-container-gutter);
}

/* =========================================================
   Header (fixed, transparent → on-scroll white)
   ========================================================= */
.hdr {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  background: var(--gpf-base);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, box-shadow .3s ease;
}
html[data-scrolled="true"] .hdr {
  border-color: var(--gpf-border);
  box-shadow: var(--gpf-shadow-sm);
}
.hdr__inner {
  max-width: none;
  margin-inline: 0;
  padding: 12px 40px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
}
.hdr__logo {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}
.hdr__logo-img {
  height: 40px;
  width: auto;
  display: block;
}
/* ========== グローバルナビ（wp_nav_menu / fallback 両対応） ========== */
.hdr__nav-wrap { /* wp_nav_menu の container */ }
.hdr__nav {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 32px;
  font-size: 16px;
  color: var(--gpf-text-main);
}
.hdr__nav > li,
.hdr__nav .hdr__nav-item {
  position: relative;
  list-style: none;
}
.hdr__nav > li > a,
.hdr__nav > .hdr__nav-item > a,
.hdr__nav > .hdr__nav-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  color: var(--gpf-text-main);
  text-decoration: none;
  font-weight: 600;
  transition: color .2s ease;
}
.hdr__nav > li > a:hover,
.hdr__nav > .hdr__nav-item > a:hover { color: var(--gpf-primary); }

/* ▾ マーカー（子があるとき） */
.hdr__nav .menu-item-has-children > a::after,
.hdr__nav .hdr__nav-item--has-sub > a::after {
  content: "▾";
  display: inline-block;
  margin-left: 4px;
  font-size: 10px;
  opacity: .55;
  transition: transform .2s ease;
}
.hdr__nav .menu-item-has-children:hover > a::after,
.hdr__nav .hdr__nav-item--has-sub:hover > a::after { transform: rotate(180deg); }

/* 親メニューのアイコンは非表示（リッチサブメニューの画像はそのまま生かす） */
.hdr__nav > li > a::before { display: none !important; }

.hdr__nav .icon-products > a::before {
  background-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231F4D2C' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 2C8 6 6 10 6 13a6 6 0 0 0 12 0c0-3-2-7-6-11Z'/%3E%3Cpath d='M12 7v14'/%3E%3C/svg%3E");
}
.hdr__nav .icon-start > a::before {
  background-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231F4D2C' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='m13 6 6 6-6 6'/%3E%3Ccircle cx='5' cy='12' r='2' fill='%231F4D2C'/%3E%3C/svg%3E");
}
.hdr__nav .icon-credentials > a::before {
  background-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B8860B' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 21h8M12 17v4M6 4h12v5a6 6 0 0 1-12 0V4Z'/%3E%3Cpath d='M6 6H3v3a3 3 0 0 0 3 3'/%3E%3Cpath d='M18 6h3v3a3 3 0 0 1-3 3'/%3E%3C/svg%3E");
}
.hdr__nav .icon-company > a::before {
  background-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231F4D2C' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='3' width='16' height='18' rx='1'/%3E%3Cpath d='M8 7h2M14 7h2M8 11h2M14 11h2M8 15h2M14 15h2M10 21v-4h4v4'/%3E%3C/svg%3E");
}
.hdr__nav .icon-news > a::before {
  background-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231F4D2C' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 4h16v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V4Z'/%3E%3Cpath d='M8 8h8M8 12h8M8 16h5'/%3E%3C/svg%3E");
}

/* ========== サブメニュー（wp_nav_menu出力: .sub-menu / fallback: .hdr__nav-sub） ========== */
.hdr__nav .sub-menu,
.hdr__nav .hdr__nav-sub {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  list-style: none;
  margin: 0;
  padding: 14px 0;
  min-width: 240px;
  background: var(--gpf-base);
  border: 1px solid var(--gpf-border);
  border-radius: 8px;
  box-shadow: 0 12px 32px rgba(20,56,34,.12);
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s;
  z-index: 110;
  display: flex;
  flex-direction: column;
}
.hdr__nav .menu-item-has-children:hover .sub-menu,
.hdr__nav .menu-item-has-children:focus-within .sub-menu,
.hdr__nav .hdr__nav-item--has-sub:hover .hdr__nav-sub,
.hdr__nav .hdr__nav-item--has-sub:focus-within .hdr__nav-sub {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  transition-delay: 0s;
}
.hdr__nav .sub-menu li { list-style: none; }
.hdr__nav .sub-menu a,
.hdr__nav .hdr__nav-sub a {
  display: block;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  color: var(--gpf-text-main);
  text-decoration: none;
}
.hdr__nav .sub-menu a::after,
.hdr__nav .hdr__nav-sub a::after { display: none; }
.hdr__nav .sub-menu a:hover,
.hdr__nav .hdr__nav-sub a:hover {
  background: var(--gpf-base-alt);
  color: var(--gpf-primary);
}

/* ===== 4つの始め方サブメニュー：リッチカードレイアウト ===== */
.hdr__nav .icon-start > .sub-menu {
  padding: 16px;
  min-width: 360px;
  gap: 4px;
}
.hdr__nav .is-rich a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border-radius: 8px;
  white-space: normal;
}
.hdr__nav .is-rich a:hover {
  background: var(--gpf-base-alt);
}
.hdr__nav .is-rich .rich__icon {
  display: inline-block;
  width: 56px; height: 56px;
  border-radius: 50%;
  background-color: var(--gpf-fv-bg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  flex-shrink: 0;
  border: 1px solid rgba(74,124,90,.3);
  box-shadow: 0 2px 6px rgba(20,56,34,.08);
}
.hdr__nav .rich-smallbiz .rich__icon {
  background-image: url('assets/factory/factori-img12.jpg');
}
.hdr__nav .rich-enterprise .rich__icon {
  background-image: url('assets/factory/factori-img20.webp');
}
.hdr__nav .rich-switching .rich__icon {
  background-image: url('assets/factory/factori-img08.webp');
}
.hdr__nav .rich-restaurant .rich__icon {
  background-image: url('assets/case-study/梅田ガレリアSR/umeda-galleria-sr-10.webp');
}
.hdr__nav .is-rich .rich__body {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.hdr__nav .is-rich .rich__body strong {
  font-family: var(--gpf-font-heading);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .02em;
  color: var(--gpf-text-main);
}
.hdr__nav .is-rich .rich__body small {
  font-size: 11px;
  color: var(--gpf-text-sub);
  letter-spacing: .04em;
}
/* 「4つの始め方」サブメニュー先頭の「4つの始め方」リンクは通常表示 */
.hdr__nav .icon-start > .sub-menu > li:first-child a {
  font-weight: 700;
  color: var(--gpf-primary);
  border-bottom: 1px solid var(--gpf-border);
  border-radius: 6px 6px 0 0;
  padding: 10px 14px;
  margin-bottom: 6px;
}

/* ===== 親メニューアイコンを画像PNG化（生成後の差し替え） ===== */
.hdr__nav .icon-products > a::before    { background-image: url('assets/gpf_menu_icons/icon-menu-products.png');    background-size: contain; }
.hdr__nav .icon-start > a::before       { background-image: url('assets/gpf_menu_icons/icon-menu-start.png');       background-size: contain; }
.hdr__nav .icon-credentials > a::before { background-image: url('assets/gpf_menu_icons/icon-menu-credentials.png'); background-size: contain; }
.hdr__nav .icon-company > a::before     { background-image: url('assets/gpf_menu_icons/icon-menu-company.png');     background-size: contain; }
.hdr__nav .icon-news > a::before        { background-image: url('assets/gpf_menu_icons/icon-menu-news.png');        background-size: contain; }

.hdr__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--gpf-primary);
  color: #fff;
  padding: 10px 18px;
  border-radius: var(--gpf-cta-radius);
  font-size: 14px;
  font-weight: 500;
  transition: background .2s ease;
}
.hdr__cta:hover { background: var(--gpf-primary-dark); }
.hdr__cta svg { width: 14px; height: 14px; }
.hdr__burger {
  display: none;
  background: none; border: none;
  width: 44px; height: 44px;
  flex-direction: column;
  align-items: center; justify-content: center;
  gap: 6px;
}
.hdr__burger span {
  width: 22px; height: 1.5px;
  background: var(--gpf-text-main);
  transition: transform .25s ease;
}

/* =========================================================
   Hero (H-02 Split Editorial – horizontal variant)
   ========================================================= */
.hero {
  position: relative;
  min-height: 100svh;
  background: var(--gpf-fv-bg);
  overflow: hidden;
}
.hero__inner {
  max-width: none;
  margin-inline: 0;
  padding-inline: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  min-height: 100svh;
}

/* Left pane ---------------------------------------------- */
.hero__left {
  position: relative;
  z-index: 1;
  padding: 64px 56px 64px 48px;
  max-width: 760px;
  margin-left: auto;
  margin-right: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero__title {
  font-family: var(--gpf-font-heading);
  font-weight: 900;
  font-size: clamp(36px, 5.2vw, 64px);
  line-height: 1.32;
  letter-spacing: .015em;
  color: var(--gpf-text-main);
  margin: 0 0 24px;
  white-space: nowrap;   /* 改行禁止・写真に被ってOK */
}
.hero__title .num {
  font-family: var(--gpf-font-numeral);
  font-weight: 900;
  font-style: normal;
  font-size: 1.7em;
  letter-spacing: -.02em;
  padding-right: .04em;
  line-height: 1;
  /* リッチゴールドグラデーション */
  background: linear-gradient(
    135deg,
    #8B6914 0%,
    #B8860B 25%,
    #DAA520 45%,
    #E6C068 60%,
    #B8860B 80%,
    #8B6914 100%
  );
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
          color: transparent;
}
.hero__subtitle {
  font-size: 17px;
  line-height: 1.95;
  color: var(--gpf-text-sub);
  margin: 0 0 36px;
  max-width: 560px;
}
.hero__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--gpf-primary);
  color: #fff;
  padding: 18px 36px;
  border-radius: var(--gpf-cta-radius);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: .04em;
  margin-bottom: 40px;
  align-self: flex-start;
  transition: background .25s ease, transform .25s ease;
  box-shadow: var(--gpf-shadow-sm);
  max-width: 100%;
}
.hero__cta:hover {
  background: var(--gpf-primary-dark);
  transform: translateY(-1px);
  box-shadow: var(--gpf-shadow-md);
}
.hero__cta svg { width: 18px; height: 18px; }

/* Trust badges (3 white cards, inside left pane) --------- */
.hero__badges {
  display: grid;
  grid-template-columns: repeat(3, auto);   /* 1fr→auto : コンテンツ幅で広がる */
  gap: 12px;
  margin-top: 16px;
  max-width: none;                          /* 720→解除 : 写真側にはみ出してOK */
  position: relative;
  z-index: 2;
}
.badge {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 22px;
  background: var(--gpf-base);
  border: 1px solid var(--gpf-border);
  border-radius: 8px;
  line-height: 1.4;
  color: var(--gpf-text-main);
  white-space: nowrap;                      /* カード内テキスト全部1行強制 */
}
.badge__icon {
  flex: 0 0 auto;
  width: 64px; height: 64px;
  display: grid; place-items: center;
}
.badge__icon img {
  width: 100%; height: 100%;
  object-fit: contain;
  display: block;
}
.badge__text strong {
  display: block;
  font-family: var(--gpf-font-heading);
  font-size: 30px;
  font-weight: 900;
  letter-spacing: .01em;
  line-height: 1.15;
  white-space: nowrap;
  /* リッチゴールドグラデーション */
  background: linear-gradient(
    135deg,
    #8B6914 0%,
    #B8860B 25%,
    #DAA520 45%,
    #E6C068 60%,
    #B8860B 80%,
    #8B6914 100%
  );
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
          color: transparent;
}
.badge__text strong small {
  font-size: .5em;
  font-weight: 700;
  letter-spacing: .04em;
  padding: 0 .12em;
  vertical-align: baseline;
  /* 「約・件・年続く」はゴールドを継承せず通常色に戻す */
  background: none;
  -webkit-text-fill-color: var(--gpf-text-main);
          color: var(--gpf-text-main);
}
.badge__text span {
  display: block;
  font-size: 12.5px;
  color: var(--gpf-text-sub);
  margin-top: 6px;
  letter-spacing: .01em;
  white-space: nowrap;
}

/* Right pane (photo) ------------------------------------- */
.hero__right {
  position: relative;
  min-height: 480px;
  overflow: hidden;
}
.hero__photo {
  position: absolute; inset: 0;
}
.hero__photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: right bottom;            /* 画像の右下を起点 */
  transform: scale(1.22);                   /* 右下基準で1.22倍に拡大 */
  transform-origin: right bottom;           /* → 上左方向にはみ出し、エアコンを枠外へ */
  filter: saturate(1.02) contrast(1.02);
  animation: gpfImgIn 1.0s ease both;       /* transformを上書きしないfade専用 */
}
/* Left-edge soft fade : 写真 → ベージュペインを溶かす */
.hero__photo::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(
      to right,
      var(--gpf-fv-bg) 0%,
      rgba(250,246,237,.6) 6%,
      rgba(250,246,237,0) 18%
    ),
    linear-gradient(
      135deg,
      rgba(31,77,44,.18) 0%,
      rgba(31,77,44,0) 45%,
      rgba(20,56,34,.12) 100%
    );
  pointer-events: none;
}

/* Decorative botanical assets (PNG transparents) --------- */
.hero__leaf,
.hero__blob,
.hero__curves {
  position: absolute;
  pointer-events: none;
  z-index: 0;
}
.hero__leaf img,
.hero__blob img,
.hero__curves img { width: 100%; height: auto; display: block; }

/* Soft blob: 大きな有機シェイプ（左ペイン背景・コピーに被ってOK） */
.hero__blob {
  top: -16%;
  left: -16%;
  width: 1500px;
  opacity: 1;
}

/* Curve lines: 右上から大きく流れるアクセント */
.hero__curves {
  top: -30%;
  right: -20%;
  width: 1250px;
  opacity: 1;
  transform: rotate(8deg);
}

/* Leaf branches: コピー領域まで大胆に進出 */
.hero__leaf--top {
  top: 0;
  left: -140px;
  width: 820px;
  opacity: 1;
  transform: rotate(-4deg);
}
.hero__leaf--bottom {
  bottom: -200px;
  left: -120px;
  width: 800px;
  opacity: 1;
  transform: scaleY(-1) rotate(-8deg);
}

/* =========================================================
   Mobile fixed CTA (SP only)
   ========================================================= */
.sp-fixed-cta {
  display: none;
  position: fixed; left: 12px; right: 12px; bottom: 12px;
  z-index: 90;
  background: var(--gpf-primary);
  color: #fff;
  text-align: center;
  font-size: 15px; font-weight: 600;
  padding: 14px 16px;
  border-radius: var(--gpf-cta-radius);
  box-shadow: var(--gpf-shadow-md);
}

/* =========================================================
   Keyframes
   ========================================================= */
@keyframes gpfFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes gpfImgIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes gpfRiseIn {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero__title    { animation: gpfRiseIn  .9s ease .1s both; }
.hero__subtitle { animation: gpfRiseIn  .9s ease .25s both; }
.hero__cta      { animation: gpfRiseIn  .9s ease .35s both; }
.hero__badges   { animation: gpfRiseIn  .9s ease .5s both; }

/* =========================================================
   Responsive (768px breakpoint)
   ========================================================= */
@media (max-width: 960px) {
  .hdr__nav { gap: 20px; font-size: 14px; }
  .hdr__nav > li > a::before { width: 22px; height: 22px; }
  .hero__left {
    padding: 48px 24px;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
  }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__right { min-height: 360px; order: 2; }
  .hero__title { font-size: clamp(28px, 6vw, 44px); }
}

@media (max-width: 768px) {
  .hdr__inner { padding: 12px 18px; grid-template-columns: auto 1fr auto; }
  .hdr__nav { display: none; }
  .hdr__cta { display: none; }
  .hdr__burger { display: inline-flex; }
  .hdr__logo { font-size: 15px; }

  .hero { padding-top: 64px; }
  .hero__inner { padding-inline: 0; min-height: auto; }
  .hero__right {
    min-height: 220px;
    max-height: 32svh;     /* バッジまで一気に見える高さに抑制 */
    order: 1;              /* 写真を上に */
  }
  .hero__left {
    padding: 32px 20px 28px;
    order: 2;              /* テキストを下に */
  }
  .hero__title {
    font-size: clamp(26px, 7vw, 36px);
    line-height: 1.4;
    margin-bottom: 18px;
  }
  .hero__subtitle {
    font-size: 15px;
    line-height: 1.85;
    margin-bottom: 24px;
  }
  .hero__cta {
    width: 100%;
    padding: 16px 20px;
    font-size: 15px;
    margin-bottom: 28px;
  }
  .hero__badges {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 0 0 96px;
    /* SP固定CTAとの被り回避 padding-bottom */
  }
  .badge { padding: 4px 0; }

  .hero__leaf--top    { width: 110px; top: 70px; }
  .hero__leaf--bottom { display: none; }

  .sp-fixed-cta { display: block; }
}

/* =========================================================
   サブページ共通：subhero / breadcrumb / generic blocks
   ========================================================= */
.subhero {
  position: relative;
  padding: 160px 24px 100px;
  background: var(--gpf-fv-bg);
  overflow: hidden;
  text-align: center;
}
.subhero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.subhero__bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: .70;
  filter: saturate(1) contrast(1);
}
/* 写真の上にベージュ→白の上品なオーバーレイ＋ビネット */
.subhero__bg::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at center, rgba(250,246,237,.30) 0%, rgba(250,246,237,.55) 70%, rgba(250,246,237,.72) 100%),
    linear-gradient(180deg, rgba(255,255,255,.32) 0%, rgba(250,246,237,.52) 100%);
  z-index: 1;
}
.subhero__bg::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, transparent 60%, rgba(31,77,44,.08) 100%);
  z-index: 1;
}
/* 四隅のあしらい（葉装飾＋金色細線） */
.subhero::before,
.subhero::after {
  content: "";
  position: absolute;
  width: 320px; height: 320px;
  background-image: url('assets/gpf_fv_transparent_assets/deco-leaf-branch.png');
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  pointer-events: none;
  z-index: 2;
  opacity: .55;
}
.subhero::before {
  top: -40px; left: -60px;
  transform: rotate(-6deg);
}
.subhero::after {
  bottom: -60px; right: -60px;
  transform: scaleX(-1) rotate(-10deg);
}
.subhero__inner {
  position: relative;
  z-index: 3;
  max-width: 960px;
  margin: 0 auto;
}
/* 金色の細い飾り線（タイトル下） */
.subhero__inner::after {
  content: "";
  display: block;
  width: 64px;
  height: 2px;
  margin: 26px auto 0;
  background: linear-gradient(90deg, transparent, #B8860B, transparent);
}
.subhero__eyebrow {
  font-family: var(--gpf-font-numeral);
  font-style: italic;
  font-size: 14px;
  letter-spacing: .3em;
  color: var(--gpf-secondary);
  text-transform: uppercase;
  margin: 0 0 16px;
}
.subhero__title {
  font-family: var(--gpf-font-heading);
  font-weight: 900;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.45;
  letter-spacing: .03em;
  color: var(--gpf-text-main);
  margin: 0 0 20px;
}
.subhero__lead {
  font-size: 15px;
  line-height: 2;
  color: var(--gpf-text-sub);
  max-width: 680px;
  margin: 0 auto;
}

.breadcrumb {
  padding: 16px 24px;
  background: var(--gpf-base);
  border-bottom: 1px solid var(--gpf-border);
  font-size: 12px;
  color: var(--gpf-text-sub);
}
.breadcrumb__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.breadcrumb a {
  color: var(--gpf-text-sub);
  transition: color .2s ease;
}
.breadcrumb a:hover { color: var(--gpf-primary); }
.breadcrumb__sep { color: var(--gpf-border); }
.breadcrumb__current { color: var(--gpf-text-main); font-weight: 500; }

/* ページ共通の見出し小ブロック */
.sub-block {
  max-width: 920px;
  margin: 0 auto 56px;
}
.sub-block__title {
  font-family: var(--gpf-font-heading);
  font-weight: 900;
  font-size: clamp(22px, 2.6vw, 30px);
  line-height: 1.5;
  letter-spacing: .03em;
  color: var(--gpf-text-main);
  margin: 0 0 24px;
  padding-left: 16px;
  border-left: 4px solid var(--gpf-primary);
}
.sub-block__body p {
  font-size: 15px;
  line-height: 2;
  color: var(--gpf-text-main);
  margin: 0 0 18px;
  letter-spacing: .03em;
}
.sub-block__body strong {
  font-weight: 900;
  font-size: 1.06em;
  color: var(--gpf-primary-dark);
  background: linear-gradient(transparent 58%, rgba(218,165,32,.38) 58%);
  padding: 0 .14em;
}

/* ============================================================
   創業ストーリー：エモーショナル演出（全て左寄せのまま強調）
   - <p><em>...</em></p> 形式の独白は左サイドバー付き大判プルクオート
   - .story-moment クラスは背景色＋縦罫線付き大判
   - .story-declaration は大判太字・色強調
   - .story-number は数字をブランド色で特大化
   ============================================================ */

/* 池田さんの「内なる声」（独白）— 左罫線付きプルクオート */
.sub-block__body p > em:only-child {
  display: block;
  font-style: normal;
  font-family: var(--gpf-font-heading);
  font-size: clamp(18px, 2.6vw, 24px);
  font-weight: 700;
  line-height: 1.75;
  color: var(--gpf-primary-dark);
  letter-spacing: .04em;
  margin: 32px 0;
  padding: 6px 0 6px 22px;
  border-left: 4px solid var(--gpf-primary);
}

/* 物語のキーモーメント — 薄い背景＋左罫線付きカード */
.sub-block__body .story-moment {
  font-family: var(--gpf-font-heading);
  font-size: clamp(17px, 2.2vw, 22px) !important;
  font-weight: 900;
  line-height: 1.75;
  letter-spacing: .04em;
  color: var(--gpf-primary-dark);
  margin: 32px 0 !important;
  padding: 18px 20px;
  background: linear-gradient(to right, rgba(218,165,32,.10), rgba(218,165,32,0) 80%);
  border-left: 4px solid var(--gpf-primary);
  border-radius: 0 8px 8px 0;
}
/* キーモーメント内の strong はマーカーを外して色だけ */
.sub-block__body .story-moment strong {
  background: none !important;
  padding: 0 !important;
  color: var(--gpf-primary);
}

/* 強い断言（短い宣言文）— 大判太字・余白多め */
.sub-block__body .story-declaration {
  font-family: var(--gpf-font-heading);
  font-size: clamp(20px, 3vw, 28px) !important;
  font-weight: 900;
  letter-spacing: .05em;
  color: var(--gpf-primary);
  margin: 28px 0 !important;
  line-height: 1.5;
}

/* 数字を特大化（インライン） */
.sub-block__body .story-number {
  font-family: var(--gpf-font-numeral, var(--gpf-font-heading));
  font-size: 1.55em;
  font-weight: 900;
  color: var(--gpf-primary);
  letter-spacing: .02em;
  line-height: 1;
  display: inline-block;
  vertical-align: baseline;
  margin: 0 .05em;
}

/* スマホ調整 */
@media (max-width: 768px) {
  .sub-block__body p > em:only-child {
    font-size: 16px;
    padding: 4px 0 4px 16px;
    margin: 24px 0;
  }
  .sub-block__body .story-moment {
    padding: 14px 16px;
    margin: 24px 0 !important;
  }
  .sub-block__body .story-declaration {
    margin: 22px 0 !important;
  }
}

/* スペックリスト（縦並びdt/dd） */
.spec-list {
  list-style: none;
  padding: 0; margin: 0;
  border-top: 1px solid var(--gpf-border);
}
.spec-list li {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 20px;
  padding: 18px 16px;
  border-bottom: 1px solid var(--gpf-border);
  font-size: 14px;
  line-height: 1.85;
}
@media (max-width: 640px) {
  .spec-list li {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 14px 12px;
  }
}
.spec-list li > strong {
  font-family: var(--gpf-font-heading);
  font-weight: 700;
  color: var(--gpf-primary-dark);
  letter-spacing: .04em;
}
.spec-list li > span {
  color: var(--gpf-text-main);
  letter-spacing: .03em;
}

/* 共通フォーム要素 */
.form-group { margin-bottom: 22px; }
.form-label {
  display: block;
  font-family: var(--gpf-font-heading);
  font-weight: 700;
  font-size: 14px;
  color: var(--gpf-text-main);
  margin-bottom: 8px;
  letter-spacing: .04em;
}
.form-label__req {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 8px;
  background: var(--gpf-primary);
  color: #fff;
  font-size: 10px;
  border-radius: 4px;
  vertical-align: middle;
  letter-spacing: .08em;
}
.form-label__opt {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 8px;
  background: var(--gpf-base-alt);
  color: var(--gpf-text-sub);
  font-size: 10px;
  border-radius: 4px;
  vertical-align: middle;
}
.form-input, .form-textarea, .form-select {
  width: 100%;
  padding: 14px 16px;
  font: inherit;
  font-size: 14px;
  border: 1px solid var(--gpf-border);
  border-radius: 6px;
  background: var(--gpf-base);
  color: var(--gpf-text-main);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.form-input:focus, .form-textarea:focus, .form-select:focus {
  outline: none;
  border-color: var(--gpf-primary);
  box-shadow: 0 0 0 3px rgba(31,77,44,.12);
}
.form-textarea { min-height: 160px; resize: vertical; line-height: 1.85; }
.form-radio-list {
  display: grid;
  gap: 10px;
}
.form-radio {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px 16px;
  border: 1px solid var(--gpf-border);
  border-radius: 8px;
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease;
}
.form-radio:hover { border-color: var(--gpf-primary); background: var(--gpf-base-alt); }
.form-radio input { margin-top: 4px; accent-color: var(--gpf-primary); }
.form-radio__text {
  font-size: 14px;
  line-height: 1.65;
  color: var(--gpf-text-main);
}
.form-radio__text small {
  display: block;
  font-size: 12px;
  color: var(--gpf-text-sub);
  margin-top: 4px;
}
.form-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  background: var(--gpf-primary);
  color: #fff;
  padding: 22px 32px;
  border: none;
  border-radius: var(--gpf-cta-radius);
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .04em;
  cursor: pointer;
  transition: background .25s ease;
  box-shadow: var(--gpf-shadow-sm);
}
.form-submit:hover { background: var(--gpf-primary-dark); }
.form-submit svg { width: 18px; height: 18px; flex-shrink: 0; }
.form-note {
  font-size: 12.5px;
  color: var(--gpf-text-sub);
  line-height: 1.85;
  margin: 0 0 24px;
}

/* ブランド統一イラスト（gpf-illust-*.webp/.png） */
.gpf-illust {
  max-width: 480px;
  margin: 0 auto 56px;
  text-align: center;
}
.gpf-illust img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 14px;
  background: var(--gpf-base-alt);
  box-shadow: 0 8px 24px rgba(20,56,34,.06);
}
.gpf-illust figcaption {
  font-family: var(--gpf-font-numeral);
  font-style: italic;
  font-size: 13px;
  color: var(--gpf-secondary);
  margin-top: 14px;
  letter-spacing: .08em;
}
.gpf-illust--wide { max-width: 720px; }
.gpf-illust--sm   { max-width: 360px; }

/* ページ画像セクション */
.start-figure {
  max-width: 920px;
  margin: 0 auto 56px;
}
.start-figure img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: 12px;
  display: block;
  box-shadow: 0 8px 24px rgba(20,56,34,.08);
}
.start-figure figcaption {
  font-family: var(--gpf-font-numeral);
  font-style: italic;
  font-size: 13px;
  color: var(--gpf-secondary);
  margin-top: 12px;
  text-align: center;
  letter-spacing: .08em;
}
.start-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  max-width: 920px;
  margin: 0 auto 56px;
}
.start-gallery img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 10px;
  display: block;
  box-shadow: 0 6px 20px rgba(20,56,34,.06);
}
.start-gallery--2 { grid-template-columns: 1fr 1fr; }
.start-gallery--2 img { aspect-ratio: 16/10; }
@media (max-width: 768px) {
  .start-gallery { grid-template-columns: 1fr 1fr; gap: 8px; }
  .start-gallery--2 { grid-template-columns: 1fr; }
  .start-figure { margin-bottom: 36px; }
}

/* 4パターン比較表（/start/ インデックスで使用） */
.start-compare {
  width: 100%;
  border-collapse: collapse;
  background: var(--gpf-base);
  border: 1px solid var(--gpf-border);
  border-radius: 12px;
  overflow: hidden;
  font-size: 13px;
}
.start-compare th, .start-compare td {
  padding: 14px 12px;
  text-align: center;
  border-bottom: 1px solid var(--gpf-border);
  border-right: 1px solid var(--gpf-border);
  vertical-align: middle;
}
.start-compare th:last-child, .start-compare td:last-child { border-right: none; }
.start-compare thead th {
  background: var(--gpf-primary-dark);
  color: #fff;
  font-family: var(--gpf-font-heading);
  font-weight: 700;
  letter-spacing: .04em;
  font-size: 13px;
}
.start-compare tbody th {
  background: var(--gpf-base-alt);
  color: var(--gpf-primary-dark);
  font-weight: 700;
  text-align: left;
  font-size: 12.5px;
  padding-left: 18px;
  letter-spacing: .04em;
}
.start-compare tbody td {
  color: var(--gpf-text-main);
  font-size: 13px;
  letter-spacing: .02em;
}
@media (max-width: 768px) {
  .start-compare { font-size: 11px; }
  .start-compare th, .start-compare td { padding: 10px 6px; }
  .start-compare tbody th { font-size: 11px; padding-left: 10px; }
}

/* =========================================================
   ユーティリティ：SP専用の改行
   ========================================================= */
.sp-br { display: none; }
@media (max-width: 768px) {
  .sp-br { display: inline; }
}

/* =========================================================
   Section base (top.html 下層セクション)
   ========================================================= */
.sec {
  position: relative;
  padding: 120px 24px;
  background: var(--gpf-base);
}
.sec--alt { background: var(--gpf-base-alt); }
.sec__inner {
  max-width: 1200px;
  margin-inline: auto;
}
.sec-head { text-align: center; margin-bottom: 64px; }
.sec-head__eyebrow {
  font-family: var(--gpf-font-numeral);
  font-style: italic;
  font-size: 14px;
  letter-spacing: .3em;
  color: var(--gpf-secondary);
  margin: 0 0 16px;
  text-transform: uppercase;
}
.sec-head__title {
  font-family: var(--gpf-font-heading);
  font-weight: 900;
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 1.45;
  letter-spacing: .02em;
  color: var(--gpf-text-main);
  margin: 0 0 24px;
}
.sec-head__lead {
  font-size: 15px;
  line-height: 2;
  color: var(--gpf-text-sub);
  max-width: 720px;
  margin: 0 auto;
}

/* =========================================================
   2. Lead section（2カラム・画像コラージュ × テキスト）
   ========================================================= */
.sec--lead {
  padding: 100px 24px;
  background: var(--gpf-fv-bg);
}
.lead-card {
  background: var(--gpf-base);
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(20,56,34,.06);
  padding: 64px;
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: 64px;
  align-items: center;
}

/* ---- 左：画像コラージュ ---- */
.lead-visual {
  position: relative;
  aspect-ratio: 4/5;
  min-height: 480px;
}
.lead-visual__bg {
  position: absolute;
  top: -20px; left: -40px;
  width: 110%;
  height: 110%;
  z-index: 0;
  pointer-events: none;
  opacity: .35;
}
.lead-visual__bg img { width: 100%; height: auto; display: block; }
.lead-visual__circle {
  position: absolute;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(20,56,34,.18);
  z-index: 1;
}
.lead-visual__circle img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.lead-visual__circle--top {
  top: 0; right: -6%;         /* 控えめに右へ */
  width: 88%;                 /* 105% → 88% でテキストとの衝突回避 */
  aspect-ratio: 1;
}
.lead-visual__circle--bottom {
  bottom: 0; left: 0;
  width: 64%;                 /* 元のサイズに戻す */
  aspect-ratio: 1;
}
.lead-visual__badge {
  position: absolute;
  bottom: 8%;
  right: 6%;
  z-index: 2;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: var(--gpf-primary);
  color: #fff;
  display: grid;
  place-items: center;
  text-align: center;
  font-family: var(--gpf-font-heading);
  font-weight: 700;
  font-size: 13px;
  line-height: 1.7;
  letter-spacing: .08em;
  box-shadow: 0 8px 24px rgba(20,56,34,.25);
  border: 4px solid var(--gpf-base);
}

/* ---- 右：テキスト ---- */
.lead-text {}
.lead-text__eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  letter-spacing: .12em;
  color: var(--gpf-secondary);
  margin: 0 0 28px;
}
.lead-text__eyebrow svg {
  width: 18px; height: 18px;
  color: var(--gpf-primary);
}
.lead-text__eyebrow .en {
  font-family: var(--gpf-font-numeral);
  font-style: italic;
  font-weight: 700;
  letter-spacing: .28em;
  color: var(--gpf-primary);
}
.lead-text__eyebrow .sep { color: var(--gpf-border); }
.lead-text__eyebrow .ja { color: var(--gpf-text-sub); font-weight: 500; }

.lead-text__title {
  font-family: var(--gpf-font-heading);
  font-weight: 900;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.55;
  letter-spacing: .03em;
  color: var(--gpf-text-main);
  margin: 0 0 28px;
}
.lead-mark {
  color: var(--gpf-text-main);
  position: relative;
  display: inline-block;
  padding: 0 .04em;
}
.lead-mark::before {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0.06em;
  height: .42em;
  background: linear-gradient(180deg, transparent 0%, rgba(218,165,32,.35) 0%);
  z-index: -1;
  border-radius: 2px;
}
.lead-text__num {
  font-family: var(--gpf-font-numeral);
  font-weight: 900;
  font-size: 1.4em;
  padding: 0 .04em;
  line-height: 1;
  background: linear-gradient(135deg, #8B6914 0%, #B8860B 25%, #DAA520 45%, #E6C068 60%, #B8860B 80%, #8B6914 100%);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
          color: transparent;
}
.lead-text__num small {
  font-size: .5em;
  font-weight: 700;
  background: none;
  -webkit-text-fill-color: var(--gpf-text-main);
          color: var(--gpf-text-main);
}

.lead-text__rule {
  display: block;
  width: 64px;
  height: 3px;
  background: linear-gradient(90deg, #DAA520, #B8860B);
  margin: 0 0 28px;
  border-radius: 2px;
}

.lead-text__body p {
  font-size: 14.5px;
  line-height: 2;
  color: var(--gpf-text-main);
  margin: 0 0 14px;
  letter-spacing: .03em;
}
.lead-text__body strong {
  font-weight: 700;
  color: var(--gpf-primary-dark);
}

.lead-text__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 36px 0 36px;
}
.lead-mini {
  padding: 22px 16px;
  background: var(--gpf-base);
  border: 1px solid var(--gpf-border);
  border-radius: 12px;
  text-align: center;
}
.lead-mini__icon {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: rgba(168,200,165,.2);
  color: var(--gpf-primary);
  margin-bottom: 12px;
}
.lead-mini__icon svg { width: 24px; height: 24px; }
.lead-mini__title {
  font-family: var(--gpf-font-heading);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .04em;
  color: var(--gpf-text-main);
  margin: 0 0 8px;
  line-height: 1.4;
}
.lead-mini__desc {
  font-size: 11.5px;
  line-height: 1.7;
  color: var(--gpf-text-sub);
  margin: 0;
}

.lead-text__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  background: var(--gpf-primary);
  color: #fff;
  padding: 20px 28px;
  border-radius: var(--gpf-cta-radius);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .04em;
  transition: background .25s ease, transform .25s ease;
  box-shadow: var(--gpf-shadow-sm);
}
.lead-text__cta:hover { background: var(--gpf-primary-dark); transform: translateY(-1px); }
.lead-text__cta svg { width: 18px; height: 18px; }

/* =========================================================
   3. 4つの始め方
   ========================================================= */
.start-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
.start-card {
  background: var(--gpf-base);
  border: 1px solid var(--gpf-border);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease;
}
.start-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--gpf-shadow-md);
}
.start-card__media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}
.start-card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(1.02);
}
.start-card__num {
  position: absolute;
  top: 16px; left: 20px;
  font-family: var(--gpf-font-numeral);
  font-weight: 900;
  font-style: italic;
  font-size: 36px;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0,0,0,.4);
  line-height: 1;
}
.start-card__body { padding: 28px 28px 32px; flex: 1; display: flex; flex-direction: column; }
.start-card__cat {
  display: inline-block;
  align-self: flex-start;
  font-size: 12px;
  letter-spacing: .1em;
  background: var(--gpf-primary);
  color: #fff;
  padding: 6px 14px;
  border-radius: 99px;
  margin: 0 0 14px;
  font-weight: 600;
}
.start-card__title {
  font-family: var(--gpf-font-heading);
  font-weight: 900;
  font-size: 26px;            /* 22 → 26（約1.2倍） */
  line-height: 1.45;
  letter-spacing: .015em;
  color: var(--gpf-text-main);
  margin: 0 0 18px;
}
.start-card__desc {
  font-size: 16px;          /* 14 → 16（+2pt） */
  line-height: 1.9;
  color: var(--gpf-text-sub);
  margin: 0 0 22px;
}
.start-card__meta {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.start-card__meta li {
  background: var(--gpf-base);
  border: 1px solid var(--gpf-border);
  border-radius: 10px;
  padding: 16px 8px 18px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.start-card__meta__icon {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(218,165,32,.18), rgba(184,134,11,.10));
  color: #B8860B;
  margin-bottom: 10px;
}
.start-card__meta__icon svg { width: 22px; height: 22px; }
.start-card__meta li span:not(.start-card__meta__icon) {
  display: block;
  color: var(--gpf-text-sub);
  font-size: 11px;
  letter-spacing: .08em;
  margin-bottom: 6px;
}
.start-card__meta li strong {
  display: block;
  font-family: var(--gpf-font-heading);
  font-weight: 700;
  font-size: 14px;
  line-height: 1.5;
  color: var(--gpf-primary-dark);
  letter-spacing: .02em;
}

/* 詳しく見るCTA上の葉装飾 */
.start-card__link-deco {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 6px 0 14px;
}
.start-card__link-deco__line {
  flex: 1;
  max-width: 60px;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(184,134,11,.5), transparent);
}
.start-card__link-deco svg { width: 16px; height: 16px; }

/* 詳しく見るCTAボタン（全幅・緑枠・hoverで塗り） */
.start-card__link {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: var(--gpf-base);
  color: var(--gpf-primary);
  border: 1.5px solid var(--gpf-primary);
  padding: 18px 20px;
  border-radius: var(--gpf-cta-radius);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .04em;
  transition: background .25s ease, color .25s ease;
}
.start-card__link:hover {
  background: var(--gpf-primary);
  color: #fff;
}
.start-card__link svg { width: 16px; height: 16px; }

/* =========================================================
   4. FACTS（実証・参考画像準拠 v2）
   ========================================================= */
.sec--facts {
  position: relative;
  padding: 120px 24px;
  overflow: hidden;
}
/* 全幅背景画像（2レイヤー：base + 半透明植物工場） */
.facts-bg {
  position: absolute; inset: 0;
  z-index: 0;
}
.facts-bg__img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
}
/* あしらい（葉・blob・curves）を大胆に */
.facts-deco {
  position: absolute;
  z-index: 1;
  pointer-events: none;
}
.facts-deco img { width: 100%; height: auto; display: block; }
.facts-deco--tl {
  top: -60px; left: -80px;
  width: 460px;
  opacity: .6;
  transform: rotate(-8deg);
}
.facts-deco--br {
  bottom: -100px; right: -100px;
  width: 480px;
  opacity: .55;
  transform: scaleX(-1) rotate(-12deg);
}
.facts-deco--blob {
  top: 40%; right: -8%;
  width: 720px;
  opacity: .5;
  transform: translateY(-50%);
}
.facts-deco--curves {
  top: -20%; left: 20%;
  width: 800px;
  opacity: .75;
  transform: rotate(4deg);
}

.facts-inner { position: relative; z-index: 2; }

/* ---- Head ---- */
.facts-head { text-align: center; margin-bottom: 64px; }
.facts-eyebrow {
  font-family: var(--gpf-font-numeral);
  font-style: italic;
  font-size: 14px;
  letter-spacing: .4em;
  color: var(--gpf-secondary);
  margin: 0 0 18px;
  text-transform: uppercase;
}
.facts-title {
  font-family: var(--gpf-font-heading);
  font-weight: 900;
  font-size: clamp(30px, 4vw, 50px);
  line-height: 1.4;
  letter-spacing: .03em;
  color: var(--gpf-text-main);
  margin: 0 0 28px;
}
.facts-lead {
  font-family: var(--gpf-font-heading);
  font-weight: 500;
  font-size: clamp(15px, 1.6vw, 18px);
  line-height: 1.85;
  color: var(--gpf-text-main);
  margin: 0 0 20px;
}
.facts-sub {
  font-size: 14px;
  line-height: 2;
  color: var(--gpf-text-sub);
  margin: 0;
  max-width: 760px;
  margin-inline: auto;
}

/* ---- Grid ---- */
.facts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 64px;
}

/* ---- Card 基本（右画像レイアウト） ---- */
.fact-card {
  position: relative;
  background: var(--gpf-base);
  border-radius: 12px;
  overflow: hidden;
  min-height: 280px;
  box-shadow: 0 6px 24px rgba(20,56,34,.08);
}
.fact-card__num {
  position: absolute;
  top: 14px; left: 14px;
  z-index: 4;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--gpf-primary-dark);
  color: #fff;
  display: grid;
  place-items: center;
  font-family: var(--gpf-font-numeral);
  font-style: italic;
  font-weight: 700;
  font-size: 14px;
}

/* 右半分の画像ビジュアル */
.fact-card__visual {
  position: absolute;
  top: 0; right: 0;
  width: 60%; height: 100%;
  z-index: 1;
  overflow: hidden;
}
.fact-card__visual img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(.92) contrast(.98);
}
/* 左→右にホワイトフェードで左半分のテキストを読みやすく */
.fact-card__visual::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(
    to right,
    rgba(255,255,255,1) 0%,
    rgba(255,255,255,.85) 18%,
    rgba(255,255,255,.55) 35%,
    rgba(255,255,255,.25) 60%,
    rgba(255,255,255,.1) 100%
  );
}

.fact-card__body {
  position: relative;
  z-index: 3;
  padding: 56px 26px 26px;       /* 番号バッジ(top14+32+10余白)の下にタイトル */
  display: flex;
  flex-direction: column;
  height: 100%;
  /* 見出しは多少画像に被ってOK・本文以下はフェード内に収める */
}
.fact-card__body > .fact-card__desc,
.fact-card__body > .fact-card__pill,
.fact-card__body > .fact-card__loc,
.fact-card__body > .fact-card__rating,
.fact-card__body > .fact-card__rating-note {
  max-width: 60%;     /* ホワイトフェードの読みやすい範囲に収める */
}

/* ---- Title ---- */
.fact-card__title {
  font-family: var(--gpf-font-heading);
  font-weight: 900;
  font-size: clamp(28px, 2.6vw, 36px);
  line-height: 1.35;
  letter-spacing: .02em;
  color: var(--gpf-text-main);
  margin: 4px 0 16px;
  display: block;
}
.fact-card__title--small { font-size: clamp(22px, 2vw, 28px); line-height: 1.45; }
.fact-card__title .num {
  font-family: var(--gpf-font-numeral);
  font-weight: 900;
  font-size: 1.6em;
  letter-spacing: -.01em;
  background: linear-gradient(135deg, #8B6914 0%, #B8860B 25%, #DAA520 45%, #E6C068 60%, #B8860B 80%, #8B6914 100%);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
          color: transparent;
}
.fact-card__title .num small {
  font-size: .42em;
  font-weight: 700;
  margin-left: .04em;
  background: none;
  -webkit-text-fill-color: var(--gpf-text-main);
          color: var(--gpf-text-main);
}
.fact-card__pre {
  font-family: var(--gpf-font-heading);
  font-size: .6em;
  font-weight: 700;
  color: var(--gpf-text-main);
  margin-right: .14em;
  vertical-align: .25em;
}
.fact-card__title-sub {
  display: block;        /* 確実に改行 */
  margin-top: 10px;      /* 数字との間隔を確保 */
  font-family: var(--gpf-font-heading);
  font-weight: 700;
  font-size: .58em;
  letter-spacing: .04em;
  color: var(--gpf-text-main);
  line-height: 1.5;
}
.fact-card--dark .fact-card__title-sub { color: #fff; }

/* ---- Body content ---- */
.fact-card__desc {
  font-size: 12.5px;
  line-height: 1.85;
  color: var(--gpf-text-sub);
  margin: 0 0 14px;
  letter-spacing: .02em;
}
.fact-card__desc small { font-size: .9em; opacity: .85; }
.fact-card__loc {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: auto 0 0;
  padding-top: 12px;
  font-size: 12px;
  color: var(--gpf-primary-dark);
  font-weight: 600;
  letter-spacing: .02em;
}
.fact-card__loc svg { width: 14px; height: 14px; flex-shrink: 0; }
.fact-card__pill {
  display: inline-block;
  margin: auto 0 0;
  padding: 8px 14px;
  background: var(--gpf-base);
  border: 1px solid var(--gpf-primary);
  border-radius: 99px;
  color: var(--gpf-primary);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .04em;
  align-self: flex-start;
}
.fact-card__icon-lg {
  display: block;
  width: 88px;
  margin-bottom: 12px;
  color: var(--gpf-primary);
}
.fact-card__icon-lg svg { width: 100%; height: auto; }
.fact-card__corner {
  position: absolute;
  bottom: 18px; right: 18px;
  width: 88px; height: 72px;
  z-index: 2;
}
.fact-card__corner svg { width: 100%; height: 100%; display: block; }

/* ---- Rating ---- */
.fact-card__rating {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 12px 0 4px;
}
.fact-card__rating-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
}
.fact-card__rating .num {
  font-family: var(--gpf-font-numeral);
  font-weight: 900;
  font-size: 44px;
  line-height: 1;
  background: linear-gradient(135deg, #8B6914 0%, #B8860B 25%, #DAA520 45%, #E6C068 60%, #B8860B 80%, #8B6914 100%);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
          color: transparent;
}
.fact-card__rating .num small {
  font-size: .5em;
  font-weight: 700;
  background: none;
  -webkit-text-fill-color: var(--gpf-text-main);
          color: var(--gpf-text-main);
}
.fact-card__rating-note {
  font-size: 11px;
  letter-spacing: .08em;
  margin: 0;
  padding: 4px 12px 0 0;
  border-top: 1px solid rgba(184,134,11,.45);
  display: inline-block;
  color: var(--gpf-text-sub);
}

/* ---- Footer message + CTA ---- */
.facts-footer { text-align: center; }
.facts-footer__msg {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  font-family: var(--gpf-font-heading);
  font-weight: 700;
  font-size: clamp(18px, 2.2vw, 26px);
  line-height: 1.7;
  letter-spacing: .03em;
  color: var(--gpf-text-main);
  margin: 0 0 32px;
}
.facts-footer__deco {
  display: inline-block;
  width: 60px; height: 30px;
  flex-shrink: 0;
}
.facts-footer__deco svg { width: 100%; height: 100%; display: block; }
.facts-footer__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: var(--gpf-primary);
  color: #fff;
  padding: 22px 64px;
  border-radius: var(--gpf-cta-radius);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .04em;
  min-width: 420px;
  box-shadow: var(--gpf-shadow-sm);
  transition: background .25s ease, transform .25s ease;
}
.facts-footer__cta:hover { background: var(--gpf-primary-dark); transform: translateY(-1px); }
.facts-footer__cta svg { width: 18px; height: 18px; }

/* =========================================================
   5. DELIVERY RECORD（納品実績・参考画像準拠）
   ========================================================= */
.sec--delivery {
  position: relative;
  padding: 120px 24px;
  background: var(--gpf-base);
  overflow: hidden;
}
.delivery-deco {
  position: absolute;
  pointer-events: none;
  z-index: 0;
}
.delivery-deco img { width: 100%; height: auto; display: block; }
.delivery-deco--tl {
  top: -60px; left: -80px;
  width: 420px;
  opacity: .5;
  transform: rotate(-8deg);
}
.delivery-deco--br {
  bottom: -80px; right: -80px;
  width: 380px;
  opacity: .45;
  transform: scaleX(-1) rotate(-12deg);
}
.delivery-deco--curves {
  top: -10%; right: -10%;
  width: 700px;
  opacity: .65;
}
.delivery-inner { position: relative; z-index: 1; }

/* ---- Head ---- */
.delivery-head { text-align: center; margin-bottom: 64px; }
.delivery-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin: 0 0 24px;
  font-family: var(--gpf-font-numeral);
  font-style: italic;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .28em;
  color: #B8860B;
  text-transform: uppercase;
}
.delivery-eyebrow__line {
  display: inline-block;
  width: 48px; height: 1px;
  background: linear-gradient(to right, transparent, #DAA520, transparent);
}
.delivery-eyebrow__diamond {
  font-size: 8px;
  color: #DAA520;
}
.delivery-title {
  font-family: var(--gpf-font-heading);
  font-weight: 900;
  font-size: clamp(28px, 3.6vw, 44px);
  line-height: 1.5;
  letter-spacing: .03em;
  color: var(--gpf-text-main);
  margin: 0 0 24px;
}
.delivery-lead {
  font-size: 14.5px;
  line-height: 1.9;
  color: var(--gpf-text-sub);
  margin: 0;
  letter-spacing: .03em;
}

/* ---- Grid ---- */
.delivery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 56px;
}

/* ---- Card ---- */
.delivery-card {
  position: relative;
  background: var(--gpf-base);
  border: 1px solid var(--gpf-border);
  border-radius: 10px;
  overflow: hidden;
  min-height: 180px;
  box-shadow: 0 4px 18px rgba(20,56,34,.05);
}
.delivery-card__visual {
  position: absolute;
  top: 0; right: 0;
  width: 58%; height: 100%;
  z-index: 1;
  overflow: hidden;
}
.delivery-card__visual img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(.9);
}
.delivery-card__visual::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(
    to right,
    rgba(255,255,255,1) 0%,
    rgba(255,255,255,.88) 16%,
    rgba(255,255,255,.55) 36%,
    rgba(255,255,255,.2) 65%,
    rgba(255,255,255,.05) 100%
  );
}
.delivery-card__body {
  position: relative;
  z-index: 2;
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  height: 100%;
}
.delivery-card__icon {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(218,165,32,.18), rgba(184,134,11,.12));
  border: 1px solid rgba(184,134,11,.35);
  color: #B8860B;
  display: grid;
  place-items: center;
  margin-bottom: 6px;
  flex-shrink: 0;
}
.delivery-card__icon svg { width: 22px; height: 22px; }
.delivery-card__cat {
  font-family: var(--gpf-font-heading);
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: .08em;
  color: #B8860B;
  margin: 0;
}
.delivery-card__name {
  font-family: var(--gpf-font-heading);
  font-weight: 900;
  font-size: clamp(18px, 1.8vw, 22px);
  line-height: 1.4;
  letter-spacing: .03em;
  color: var(--gpf-text-main);
  margin: 0;
  white-space: nowrap;       /* 「東京大学・筑波大学」を改行させない */
}
.delivery-card__name .num {
  font-family: var(--gpf-font-numeral);
  font-weight: 900;
  font-size: 1.35em;
  letter-spacing: 0;
  background: linear-gradient(135deg, #8B6914 0%, #B8860B 25%, #DAA520 45%, #E6C068 60%, #B8860B 80%, #8B6914 100%);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
          color: transparent;
}
.delivery-card__name small {
  font-size: .6em;
  font-weight: 700;
  margin-left: .1em;
}
.delivery-card__note {
  font-size: 11.5px;
  line-height: 1.7;
  color: var(--gpf-text-sub);
  margin: auto 0 0;
  letter-spacing: .04em;
  max-width: 60%;
}

/* ---- Bottom CTA link ---- */
.delivery-cta {
  text-align: center;
  position: relative;
  z-index: 1;
}
.delivery-cta .link-arrow {
  font-size: 16px;
  letter-spacing: .04em;
}

/* ===== 旧 .creds-* スタイル（廃止予定・無害だが残置） ===== */
.creds-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.creds-item {
  padding: 28px 24px;
  background: var(--gpf-base-alt);
  border-left: 3px solid var(--gpf-primary);
  border-radius: 4px;
}
.creds-item__cat {
  font-size: 12px;
  letter-spacing: .12em;
  color: var(--gpf-secondary);
  margin: 0 0 8px;
  font-weight: 500;
}
.creds-item__name {
  font-family: var(--gpf-font-heading);
  font-weight: 900;
  font-size: 19px;
  letter-spacing: .02em;
  color: var(--gpf-text-main);
  margin: 0 0 8px;
  line-height: 1.5;
}
.creds-item__note {
  font-size: 13px;
  line-height: 1.65;
  color: var(--gpf-text-sub);
  margin: 0;
}
.creds-cta { text-align: center; margin-top: 48px; }
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--gpf-primary);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: .04em;
  border-bottom: 1px solid currentColor;
  padding-bottom: 3px;
  transition: gap .25s ease;
}
.link-arrow:hover { gap: 14px; }
.link-arrow svg { width: 16px; height: 16px; }

/* =========================================================
   6. 代表メッセージ（参考画像 04_ceo_message.png 準拠）
   ========================================================= */
.sec--message {
  position: relative;
  padding: 120px 24px;
  background: var(--gpf-fv-bg);
  overflow: hidden;
}
.message-bg { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.message-bg__leaf {
  position: absolute;
  top: -40px; right: -60px;
  width: 360px;
  opacity: .35;
  transform: scaleX(-1) rotate(8deg);
}
.message-bg__blob {
  position: absolute;
  bottom: -80px; left: -80px;
  width: 600px;
  opacity: .55;
}
.message-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 72px;
  align-items: flex-start;
}

/* ---- Left: Portrait + Sign ---- */
.message-portrait { position: sticky; top: 100px; text-align: center; }
.message-portrait__frame {
  position: relative;
  width: 100%;
  aspect-ratio: 4/5;
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(160deg, rgba(168,200,165,.35), rgba(31,77,44,.08));
  box-shadow: 0 12px 36px rgba(20,56,34,.12);
  margin-bottom: 24px;
}
.message-portrait__img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
.message-portrait__caption {
  padding: 0 12px;
}
.message-portrait__title {
  font-size: 12px;
  letter-spacing: .14em;
  color: var(--gpf-text-sub);
  margin: 0 0 6px;
}
.message-portrait__name {
  font-family: var(--gpf-font-heading);
  font-weight: 900;
  font-size: 22px;
  letter-spacing: .15em;
  color: var(--gpf-text-main);
  margin: 0 0 8px;
}
.message-portrait__sign {
  font-family: "Allura", "Noto Serif JP", cursive;
  font-size: 28px;
  font-weight: 400;
  color: var(--gpf-secondary);
  margin: 0;
  line-height: 1;
  letter-spacing: .02em;
}

/* ---- Right: Message body ---- */
.message-body { padding: 32px 40px 40px; background: rgba(255,255,255,.7); border-radius: 16px; backdrop-filter: blur(4px); }
.message-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  letter-spacing: .12em;
  color: var(--gpf-secondary);
  margin: 0 0 28px;
}
.message-eyebrow svg {
  width: 18px; height: 18px;
  color: var(--gpf-primary);
}
.message-eyebrow__en {
  font-family: var(--gpf-font-numeral);
  font-style: italic;
  font-weight: 700;
  letter-spacing: .25em;
  color: var(--gpf-primary);
}
.message-eyebrow__sep { color: var(--gpf-border); }
.message-eyebrow__ja { font-weight: 500; color: var(--gpf-text-sub); }

.message-headline {
  font-family: var(--gpf-font-heading);
  font-weight: 900;
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.45;
  letter-spacing: .02em;
  color: var(--gpf-text-main);
  margin: 0 0 32px;
}
.message-headline__num {
  font-family: var(--gpf-font-numeral);
  font-weight: 900;
  font-size: 1.2em;
  padding: 0 .05em;
  background: linear-gradient(135deg, #8B6914 0%, #B8860B 25%, #DAA520 45%, #E6C068 60%, #B8860B 80%, #8B6914 100%);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
          color: transparent;
}

.message-text p {
  font-size: 14.5px;
  line-height: 2;
  color: var(--gpf-text-main);
  margin: 0 0 18px;
  letter-spacing: .03em;
}
.message-text strong {
  font-weight: 700;
  color: var(--gpf-primary-dark);
  background: linear-gradient(transparent 65%, rgba(218,165,32,.25) 65%);
  padding: 0 .1em;
}
.message-text em {
  font-style: normal;
  font-weight: 700;
  color: var(--gpf-text-main);
}

.message-quote {
  position: relative;
  margin: 32px 0;
  padding: 32px 28px 28px;
  background: linear-gradient(135deg, rgba(168,200,165,.18), rgba(168,200,165,.05));
  border-left: 3px solid var(--gpf-primary);
  border-radius: 4px;
}
.message-quote__mark {
  position: absolute;
  top: -8px; left: 20px;
  font-family: var(--gpf-font-numeral);
  font-style: italic;
  font-weight: 700;
  font-size: 56px;
  line-height: 1;
  color: var(--gpf-primary);
  opacity: .4;
}
.message-quote p {
  font-size: 14.5px;
  line-height: 1.95;
  color: var(--gpf-text-main);
  margin: 0 0 12px;
}
.message-quote p:last-child { margin-bottom: 0; }
.message-quote strong {
  color: var(--gpf-primary-dark);
  font-weight: 700;
  background: linear-gradient(transparent 60%, rgba(218,165,32,.25) 60%);
  padding: 0 .1em;
}

.message-stats {
  list-style: none;
  padding: 24px 0 0;
  margin: 32px 0 0;
  border-top: 1px solid var(--gpf-border);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.message-stats li {
  text-align: center;
  padding: 8px 4px;
}
.message-stats__icon {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 40px; height: 40px;
  border: 1.5px solid var(--gpf-primary);
  border-radius: 50%;
  color: var(--gpf-primary);
  margin-bottom: 10px;
}
.message-stats__icon svg { width: 20px; height: 20px; }
.message-stats strong {
  display: block;
  font-family: var(--gpf-font-heading);
  font-weight: 900;
  font-size: 22px;
  letter-spacing: .02em;
  color: var(--gpf-text-main);
  line-height: 1.2;
}
.message-stats strong small {
  font-size: .55em;
  font-weight: 700;
  margin-left: 2px;
}
.message-stats li > span {
  display: block;
  font-size: 11.5px;
  color: var(--gpf-text-sub);
  margin-top: 4px;
  letter-spacing: .04em;
}

.message-cta {
  margin-top: 36px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--gpf-primary);
  color: #fff;
  padding: 18px 36px;
  border-radius: var(--gpf-cta-radius);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: .04em;
  transition: background .25s ease, transform .25s ease;
  box-shadow: var(--gpf-shadow-sm);
}
.message-cta:hover { background: var(--gpf-primary-dark); transform: translateY(-1px); }
.message-cta svg { width: 18px; height: 18px; }

/* =========================================================
   7. ブログ
   ========================================================= */
.sec--blog { overflow: hidden; }
.blog-deco {
  position: absolute;
  pointer-events: none;
  z-index: 0;
}
.blog-deco img { width: 100%; height: auto; display: block; }
.blog-deco--l {
  top: 60px; left: 3%;
  width: 560px;
  opacity: .85;
  transform: rotate(-10deg);
}
.blog-deco--r {
  bottom: 60px; right: 3%;
  width: 560px;
  opacity: .8;
  transform: scaleX(-1) rotate(-8deg);
}
.sec--blog .sec__inner { position: relative; z-index: 1; }
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.blog-card a {
  display: block;
  background: var(--gpf-base);
  border: 1px solid var(--gpf-border);
  border-radius: 10px;
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
  height: 100%;
}
.blog-card a:hover {
  transform: translateY(-3px);
  box-shadow: var(--gpf-shadow-md);
}
.blog-card__img {
  aspect-ratio: 16/9;
  overflow: hidden;
}
.blog-card__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.blog-card a:hover .blog-card__img img { transform: scale(1.04); }
.blog-card__body { padding: 22px 24px 26px; }
.blog-card__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  color: var(--gpf-text-sub);
  margin: 0 0 12px;
  letter-spacing: .08em;
}
.blog-card__meta span {
  display: inline-block;
  padding: 3px 10px;
  background: var(--gpf-base-alt);
  border-radius: 99px;
  color: var(--gpf-primary);
  font-weight: 500;
}
.blog-card__title {
  font-family: var(--gpf-font-heading);
  font-weight: 700;
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: .02em;
  color: var(--gpf-text-main);
  margin: 0 0 12px;
}
.blog-card__excerpt {
  font-size: 13px;
  line-height: 1.85;
  color: var(--gpf-text-sub);
  margin: 0;
}

/* =========================================================
   8. FAQ
   ========================================================= */
.sec--faq { position: relative; overflow: hidden; background: var(--gpf-base); }
.faq-bg {
  position: absolute; inset: 0;
  z-index: 0;
  pointer-events: none;
}
.faq-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
}
.faq-inner { position: relative; z-index: 1; }
.faq-list { max-width: 860px; margin: 0 auto; }
.faq-item {
  background: var(--gpf-base);
  border: 1px solid var(--gpf-border);
  border-radius: 8px;
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 22px 56px 22px 28px;
  font-family: var(--gpf-font-heading);
  font-weight: 700;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: .02em;
  color: var(--gpf-text-main);
  position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before {
  content: "Q";
  font-family: var(--gpf-font-numeral);
  font-style: italic;
  font-weight: 700;
  color: var(--gpf-primary);
  margin-right: 14px;
  font-size: 20px;
}
.faq-item summary::after {
  content: "";
  position: absolute;
  right: 28px;
  top: 50%;
  width: 12px; height: 12px;
  border-right: 2px solid var(--gpf-primary);
  border-bottom: 2px solid var(--gpf-primary);
  transform: translateY(-65%) rotate(45deg);
  transition: transform .25s ease;
}
.faq-item[open] summary::after { transform: translateY(-25%) rotate(-135deg); }
.faq-item__body {
  padding: 0 28px 24px 60px;
  font-size: 14px;
  line-height: 1.95;
  color: var(--gpf-text-sub);
}
.faq-item__body p { margin: 0; }

/* =========================================================
   9. Final CTA
   ========================================================= */
.sec--final-cta {
  position: relative;
  padding: 120px 24px;
  overflow: hidden;
  color: #fff;
  background: var(--gpf-primary-dk, #143822);
}
.cta-bg {
  position: absolute; inset: 0;
  background-image: url('assets/factory/factori-img06.JPG');
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: .55;
  z-index: 0;
}
.cta-bg::after {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at center, rgba(20,56,34,.35) 0%, rgba(20,56,34,.55) 70%, rgba(20,56,34,.70) 100%),
    linear-gradient(180deg, rgba(31,77,44,.30) 0%, rgba(20,56,34,.55) 100%);
  pointer-events: none;
}
.cta-inner { position: relative; z-index: 1; text-align: center; }
.final-cta__eyebrow {
  font-family: var(--gpf-font-numeral);
  font-style: italic;
  font-size: 14px;
  letter-spacing: .3em;
  color: var(--gpf-accent-light);
  margin: 0 0 18px;
  text-transform: uppercase;
}
.final-cta__title {
  font-family: var(--gpf-font-heading);
  font-weight: 900;
  font-size: clamp(28px, 3.6vw, 44px);
  line-height: 1.45;
  letter-spacing: .02em;
  margin: 0 0 24px;
  color: #fff;
}
.final-cta__lead {
  font-size: 15px;
  line-height: 2;
  color: rgba(255,255,255,.85);
  max-width: 640px;
  margin: 0 auto 40px;
}
.final-cta__buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(
    135deg,
    #B8860B 0%, #DAA520 50%, #B8860B 100%
  );
  color: #fff;
  padding: 20px 40px;
  border-radius: var(--gpf-cta-radius);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .04em;
  box-shadow: 0 4px 16px rgba(184,134,11,.4);
  transition: transform .25s ease, box-shadow .25s ease;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(184,134,11,.5); }
.btn-primary svg { width: 18px; height: 18px; }
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: #fff;
  padding: 20px 32px;
  border: 1.5px solid rgba(255,255,255,.5);
  border-radius: var(--gpf-cta-radius);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: .04em;
  transition: background .25s ease, border-color .25s ease;
}
.btn-ghost:hover { background: rgba(255,255,255,.1); border-color: #fff; }
.final-cta__steps {
  font-size: 12.5px;
  line-height: 2.4;
  color: rgba(255,255,255,.75);
  letter-spacing: .04em;
  margin: 0;
}
.final-cta__steps span {
  display: inline-block;
  padding: 0 14px;
  position: relative;
}
.final-cta__steps span:not(:last-child)::after {
  content: "→";
  position: absolute;
  right: -8px;
  color: var(--gpf-accent-light);
}

/* =========================================================
   Footer
   ========================================================= */
.ftr { background: var(--gpf-primary-dark); color: rgba(255,255,255,.85); }

/* Chef's Leaf banner */
.ftr-banner {
  background: var(--gpf-base-alt);
  padding: 40px 24px;
  border-bottom: 4px solid var(--gpf-primary);
}
.ftr-banner__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.ftr-banner__eyebrow {
  font-family: var(--gpf-font-numeral);
  font-style: italic;
  font-size: 13px;
  letter-spacing: .3em;
  color: var(--gpf-primary);
  margin: 0 0 8px;
}
.ftr-banner__title {
  font-family: var(--gpf-font-heading);
  font-weight: 700;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.6;
  color: var(--gpf-text-main);
  margin: 0;
}
.ftr-banner__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--gpf-primary);
  color: #fff;
  padding: 16px 28px;
  border-radius: var(--gpf-cta-radius);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .04em;
  white-space: nowrap;
  transition: background .25s ease, transform .25s ease;
}
.ftr-banner__cta:hover { background: var(--gpf-primary); transform: translateY(-1px); }
.ftr-banner__cta svg { width: 14px; height: 14px; }

/* Footer main */
.ftr__main { padding: 72px 24px 48px; }
.ftr__main-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 40px;
}
.ftr__brand {}
.ftr__logo {
  height: 44px;
  width: auto;
  margin-bottom: 16px;
  filter: brightness(0) invert(1);
  opacity: .9;
}
.ftr__tag {
  font-family: var(--gpf-font-heading);
  font-weight: 500;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255,255,255,.7);
  margin: 0 0 24px;
}
.ftr__sns {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 12px;
}
.ftr__sns a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 50%;
  color: rgba(255,255,255,.8);
  transition: background .2s ease, border-color .2s ease;
}
.ftr__sns a:hover { background: rgba(255,255,255,.1); border-color: #fff; color: #fff; }
.ftr__sns svg { width: 16px; height: 16px; }

.ftr__col h4 {
  font-family: var(--gpf-font-heading);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .15em;
  color: #fff;
  margin: 0 0 18px;
  text-transform: uppercase;
}
.ftr__col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.ftr__col li { margin-bottom: 10px; }
.ftr__col a {
  font-size: 13px;
  color: rgba(255,255,255,.65);
  line-height: 1.7;
  transition: color .2s ease;
}
.ftr__col a:hover { color: #fff; }

/* NAP */
.ftr__nap {
  border-top: 1px solid rgba(255,255,255,.15);
  padding: 32px 24px;
}
.ftr__nap-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 2fr 1fr 1fr;
  gap: 32px;
}
.ftr__nap-item { font-size: 12.5px; line-height: 1.7; color: rgba(255,255,255,.7); }
.ftr__nap-label {
  font-family: var(--gpf-font-heading);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: .15em;
  color: var(--gpf-accent-light);
  margin: 0 0 6px;
  text-transform: uppercase;
}
.ftr__nap-item p { margin: 0; }

.ftr__copy {
  text-align: center;
  padding: 24px;
  font-size: 11px;
  color: rgba(255,255,255,.5);
  border-top: 1px solid rgba(255,255,255,.1);
  letter-spacing: .08em;
}
.ftr__copy p { margin: 0; }

/* =========================================================
   Responsive: 960px
   ========================================================= */
@media (max-width: 960px) {
  .sec { padding: 80px 20px; }
  .sec--lead { padding: 72px 20px; }
  .sec--final-cta { padding: 80px 20px; }
  .sec-head { margin-bottom: 48px; }

  .start-grid { grid-template-columns: 1fr; gap: 24px; }
  .proof-grid { grid-template-columns: repeat(2, 1fr); }
  .creds-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid  { grid-template-columns: repeat(2, 1fr); }

  .lead-card {
    grid-template-columns: 1fr;
    gap: 48px;
    padding: 48px 32px;
  }
  .lead-visual { min-height: 420px; max-width: 480px; margin: 0 auto; width: 100%; }
  .lead-text__cards { grid-template-columns: repeat(3, 1fr); gap: 10px; }

  .facts-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .facts-deco--tl { width: 280px; top: -40px; left: -50px; }
  .facts-deco--br { width: 300px; bottom: -60px; right: -60px; }
  .facts-deco--blob { width: 500px; }
  .facts-deco--curves { width: 600px; }
  .facts-footer__cta { min-width: auto; padding: 20px 40px; }
  .fact-card__body { max-width: 75%; }

  .delivery-grid { grid-template-columns: repeat(2, 1fr); }
  .delivery-deco--tl { width: 240px; }
  .delivery-deco--br { width: 220px; }
  .delivery-deco--curves { width: 480px; }

  .blog-deco--l { width: 360px; opacity: .65; left: 2%; }
  .blog-deco--r { width: 360px; opacity: .6; right: 2%; }

  .message-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .message-portrait { position: static; max-width: 320px; margin: 0 auto; }
  .message-body { padding: 28px 28px 32px; }

  .ftr__main-inner {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .ftr__brand { grid-column: 1 / -1; }
  .ftr__nap-inner { grid-template-columns: 1fr 1fr; }
}

/* =========================================================
   Responsive: 768px
   ========================================================= */
@media (max-width: 768px) {
  .sec { padding: 64px 18px; }
  .sec--lead { padding: 56px 18px; }
  .sec--final-cta { padding: 72px 18px; }
  .sec-head { margin-bottom: 40px; }
  .sec-head__title { font-size: clamp(22px, 6vw, 28px); line-height: 1.5; }
  .sec-head__lead { font-size: 14px; }

  .lead p { font-size: 14.5px; line-height: 2; }
  .lead__opener { font-size: 19px !important; line-height: 1.7 !important; }
  .lead__closer { font-size: 16px !important; padding-top: 24px; }

  .start-card__media { aspect-ratio: 16/9; }
  .start-card__body { padding: 22px 22px 26px; }
  .start-card__title { font-size: 23px; }
  .start-card__meta { grid-template-columns: 1fr 1fr 1fr; gap: 6px; }
  .start-card__meta li { padding: 12px 4px 14px; }
  .start-card__meta__icon { width: 34px; height: 34px; }
  .start-card__meta__icon svg { width: 18px; height: 18px; }
  .start-card__meta li strong { font-size: 12.5px; }
  .start-card__link { padding: 16px; font-size: 14px; }

  .proof-grid { grid-template-columns: 1fr; gap: 16px; }
  .proof-card { padding: 28px 22px; }
  .proof-card__num { font-size: 44px; }

  .sec--facts { padding: 80px 16px; }
  .facts-head { margin-bottom: 44px; }
  .facts-title { font-size: clamp(22px, 6.5vw, 32px); }
  .facts-sub { font-size: 13px; }
  .facts-grid { grid-template-columns: 1fr; gap: 12px; margin-bottom: 48px; }
  .fact-card { min-height: 200px; }
  .fact-card__body { padding: 52px 22px 22px; }
  .fact-card__title { font-size: clamp(22px, 6vw, 28px); }
  .fact-card__rating .num { font-size: 36px; }
  .fact-card__visual { width: 55%; }
  .facts-deco--tl { width: 180px; opacity: .35; }
  .facts-deco--br { display: none; }
  .facts-deco--blob { display: none; }
  .facts-deco--curves { display: none; }

  .sec--delivery { padding: 64px 16px; }
  .delivery-head { margin-bottom: 36px; }
  .delivery-title { font-size: clamp(20px, 5.5vw, 26px); line-height: 1.55; }
  .delivery-grid { grid-template-columns: 1fr; gap: 12px; }
  .delivery-card { min-height: 150px; }
  .delivery-card__body { padding: 18px 20px; max-width: 70%; }
  .delivery-card__name { font-size: 18px; max-width: 100%; }
  .delivery-card__note { font-size: 11px; max-width: 100%; }
  .delivery-deco--tl { width: 160px; opacity: .35; }
  .delivery-deco--br { display: none; }
  .delivery-deco--curves { display: none; }

  .blog-deco--l { width: 200px; opacity: .45; top: 20px; left: 2%; }
  .blog-deco--r { width: 200px; opacity: .4; bottom: 20px; right: 2%; }
  .facts-footer__msg {
    font-size: clamp(15px, 4.5vw, 19px);
    flex-direction: column;
    gap: 10px;
  }
  .facts-footer__deco { width: 40px; height: 20px; }
  .facts-footer__cta { padding: 18px 24px; font-size: 14px; width: 100%; }

  .creds-grid { grid-template-columns: 1fr; }
  .blog-grid  { grid-template-columns: 1fr; }

  .sec--lead { padding: 64px 14px; }
  .lead-card { padding: 36px 20px; border-radius: 14px; gap: 36px; }
  .lead-visual { min-height: 360px; }
  .lead-visual__badge {
    width: 170px; height: 170px;
    font-size: 14.5px;
    line-height: 1.7;
    letter-spacing: .06em;
    bottom: 2%; right: 2%;
  }
  .lead-text__eyebrow { font-size: 11.5px; margin-bottom: 22px; }
  .lead-text__title { font-size: clamp(20px, 6vw, 26px); margin-bottom: 22px; line-height: 1.6; }
  .lead-text__body p { font-size: 13.5px; line-height: 1.95; }
  .lead-text__cards {
    grid-template-columns: 1fr;
    gap: 10px;
    margin: 28px 0;
  }
  .lead-mini { padding: 16px 14px; display: flex; align-items: center; text-align: left; gap: 14px; }
  .lead-mini__icon { margin-bottom: 0; flex-shrink: 0; }
  .lead-mini__title { margin-bottom: 4px; font-size: 14px; }
  .lead-mini__desc { font-size: 11.5px; }
  .lead-mini__desc br { display: none; }
  .lead-text__cta { padding: 16px 20px; font-size: 14px; }

  .message-body { padding: 24px 20px 28px; }
  .message-headline { font-size: clamp(22px, 6vw, 28px); margin-bottom: 24px; }
  .message-text p { font-size: 13.5px; line-height: 1.95; }
  .message-quote { padding: 24px 20px 20px; margin: 24px 0; }
  .message-quote p { font-size: 13.5px; }
  .message-quote__mark { font-size: 44px; }
  .message-stats { gap: 8px; }
  .message-stats__icon { width: 36px; height: 36px; }
  .message-stats__icon svg { width: 18px; height: 18px; }
  .message-stats strong { font-size: 17px; }
  .message-stats li > span { font-size: 10.5px; }
  .message-portrait__name { font-size: 18px; }
  .message-portrait__sign { font-size: 24px; }

  .message-bg__leaf { width: 220px; }
  .message-bg__blob { width: 400px; }

  .faq-item summary { padding: 18px 44px 18px 22px; font-size: 14.5px; }
  .faq-item summary::before { font-size: 17px; margin-right: 10px; }
  .faq-item summary::after { right: 20px; width: 10px; height: 10px; }
  .faq-item__body { padding: 0 22px 20px 50px; font-size: 13.5px; }

  .final-cta__title { font-size: clamp(22px, 6vw, 28px); }
  .final-cta__lead { font-size: 14px; }
  .final-cta__buttons { flex-direction: column; gap: 12px; }
  .btn-primary, .btn-ghost { padding: 16px 24px; width: 100%; justify-content: center; }
  .final-cta__steps { font-size: 11.5px; line-height: 2; }
  .final-cta__steps span { padding: 0 8px; display: inline; }
  .final-cta__steps span::after { display: none !important; }

  .ftr-banner__inner { flex-direction: column; text-align: center; gap: 20px; }
  .ftr__main { padding: 56px 18px 36px; }
  .ftr__main-inner { grid-template-columns: 1fr; gap: 28px; }
  .ftr__brand { grid-column: auto; }
  .ftr__nap-inner { grid-template-columns: 1fr; gap: 20px; }
  .ftr__nap { padding: 24px 18px; }
}



/* =========================================================
   投稿ページ（single.php）：Hero + 2カラム + 関連 + サイドバー
   ========================================================= */
.post-hero {
  position: relative;
  padding: 140px 24px 72px;
  background: linear-gradient(180deg, var(--gpf-base) 0%, var(--gpf-fv-bg) 100%);
  border-bottom: 1px solid var(--gpf-border);
  overflow: hidden;
}
.post-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(31,77,44,.04) 1px, transparent 1px);
  background-size: 56px 56px;
  pointer-events: none;
  z-index: 0;
}
.post-hero__inner {
  position: relative;
  z-index: 1;
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 44%);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
.post-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
  font-size: 13px;
  color: var(--gpf-text-sub);
}
.post-breadcrumb a { color: var(--gpf-text-main); text-decoration: none; }
.post-breadcrumb a:hover { color: var(--gpf-primary); }
.post-breadcrumb span { color: var(--gpf-secondary); }

.post-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}
.post-cat {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 14px;
  border-radius: 99px;
  background: var(--gpf-primary);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  text-decoration: none;
}
.post-cat:hover { background: var(--gpf-primary-dk, #143822); }
.post-date {
  font-family: var(--gpf-font-numeral);
  font-style: italic;
  color: var(--gpf-text-sub);
  font-size: 13px;
  letter-spacing: .06em;
}
.post-title {
  margin: 0;
  font-family: var(--gpf-font-heading);
  font-size: clamp(28px, 3.8vw, 44px);
  font-weight: 800;
  line-height: 1.4;
  color: var(--gpf-text-main);
  overflow-wrap: anywhere;
}
.post-excerpt {
  margin: 20px 0 0;
  max-width: 640px;
  color: var(--gpf-text-sub);
  font-size: 15px;
  line-height: 1.95;
}
.post-hero__visual { position: relative; min-width: 0; }
.post-hero__image {
  width: 100%;
  aspect-ratio: 16 / 11;
  overflow: hidden;
  border-radius: 16px;
  background: var(--gpf-base-alt);
  box-shadow: 0 24px 60px rgba(20,56,34,.12);
}
.post-hero__image img {
  width: 100%; height: 100%;
  object-fit: cover;
}

/* 本文 + サイドバー */
.post-layout {
  width: min(1180px, calc(100% - 32px));
  margin: clamp(40px, 6vw, 72px) auto clamp(80px, 9vw, 120px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 36px;
  align-items: start;
}
.post-article {
  min-width: 0;
  background: #fff;
  border: 1px solid var(--gpf-border);
  border-radius: 14px;
  box-shadow: 0 20px 56px rgba(20,56,34,.06);
  overflow: hidden;
}
.post-content {
  padding: clamp(28px, 5vw, 56px);
  color: var(--gpf-text-main);
  font-size: 16px;
  line-height: 2.0;
}
.post-content > *:first-child { margin-top: 0; }
.post-content p { margin: 0 0 1.4em; }
.post-content h2 {
  position: relative;
  margin: 2.6em 0 1em;
  padding: 14px 18px 14px 22px;
  border-left: 6px solid var(--gpf-primary);
  border-radius: 6px;
  background: linear-gradient(90deg, var(--gpf-base-alt) 0%, transparent 100%);
  font-family: var(--gpf-font-heading);
  font-size: clamp(22px, 2.6vw, 28px);
  font-weight: 800;
  line-height: 1.55;
}
.post-content h3 {
  margin: 2em 0 .8em;
  padding-left: 14px;
  border-left: 4px solid var(--gpf-secondary);
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 700;
  line-height: 1.6;
}
.post-content h4 {
  margin: 1.6em 0 .6em;
  font-size: 17px;
  font-weight: 700;
}
.post-content strong { font-weight: 700; color: var(--gpf-text-main); }
.post-content a {
  color: var(--gpf-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
  word-break: break-word;
}
.post-content a:hover { color: var(--gpf-secondary); }
.post-content ul,
.post-content ol {
  list-style: none;
  margin: 24px 0;
  padding: 20px 24px 20px 28px;
  border: 1px solid var(--gpf-border);
  border-radius: 10px;
  background: var(--gpf-base);
}
.post-content li {
  position: relative;
  margin: 0 0 8px;
  padding-left: 24px;
  line-height: 1.9;
  list-style: none;
}
.post-content li:last-child { margin-bottom: 0; }
.post-content ul li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: .75em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gpf-primary);
}
.post-content ol { counter-reset: post-ol; }
.post-content ol li { counter-increment: post-ol; }
.post-content ol li::before {
  content: counter(post-ol);
  position: absolute;
  left: -4px;
  top: .35em;
  width: 22px; height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--gpf-primary);
  color: #fff;
  font-family: var(--gpf-font-numeral);
  font-size: 12px;
  font-weight: 800;
}
.post-content figure,
.post-content .wp-block-image { margin: 30px 0; }
.post-content img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 10px 28px rgba(20,56,34,.08);
}
.post-content figcaption,
.post-content .wp-element-caption {
  margin-top: 10px;
  color: var(--gpf-text-sub);
  font-size: 13px;
  line-height: 1.7;
  text-align: center;
}
.post-content blockquote,
.post-content .wp-block-quote {
  position: relative;
  margin: 30px 0;
  padding: 24px 28px 24px 54px;
  border-left: 5px solid var(--gpf-primary);
  border-radius: 0 10px 10px 0;
  background: var(--gpf-base);
  font-weight: 500;
}
.post-content blockquote::before,
.post-content .wp-block-quote::before {
  content: "\201C";
  position: absolute;
  left: 16px;
  top: 6px;
  color: var(--gpf-primary);
  font-family: Georgia, serif;
  font-size: 52px;
  line-height: 1;
  opacity: .3;
}
.post-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 26px 0;
  border-radius: 8px;
  overflow: hidden;
  font-size: 15px;
}
.post-content th,
.post-content td {
  border: 1px solid var(--gpf-border);
  padding: 12px 14px;
  vertical-align: top;
}
.post-content th {
  background: var(--gpf-base-alt);
  font-weight: 700;
}
.post-content iframe {
  width: 100%;
  max-width: 100%;
  border-radius: 10px;
}

.post-share {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0 clamp(28px, 5vw, 56px) clamp(28px, 4vw, 42px);
}
.post-share a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border: 1px solid var(--gpf-border);
  border-radius: 99px;
  background: #fff;
  color: var(--gpf-text-main);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: border-color .2s, color .2s;
}
.post-share a:hover {
  border-color: var(--gpf-primary);
  color: var(--gpf-primary);
}
.post-share svg { width: 16px; height: 16px; }

/* 関連記事 */
.post-related {
  padding: 0 clamp(28px, 5vw, 56px) clamp(36px, 6vw, 56px);
}
.post-related__title {
  margin: 0 0 20px;
  padding-bottom: 12px;
  border-bottom: 3px solid var(--gpf-primary);
  font-family: var(--gpf-font-heading);
  font-size: 20px;
  font-weight: 800;
}
.post-related__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.post-related__card {
  display: block;
  overflow: hidden;
  border: 1px solid var(--gpf-border);
  border-radius: 12px;
  background: #fff;
  text-decoration: none;
  color: inherit;
  transition: transform .2s, box-shadow .2s;
}
.post-related__card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(20,56,34,.10);
}
.post-related__thumb {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--gpf-base-alt);
}
.post-related__thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.post-related__body { padding: 14px 16px 16px; }
.post-related__body time {
  display: block;
  margin-bottom: 4px;
  color: var(--gpf-text-sub);
  font-family: var(--gpf-font-numeral);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .06em;
}
.post-related__body h3 {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.65;
  font-weight: 700;
}

/* サイドバー */
.post-sidebar {
  position: sticky;
  top: 88px;
  display: grid;
  gap: 18px;
}
.side-box {
  overflow: hidden;
  border: 1px solid var(--gpf-border);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(20,56,34,.05);
  padding: 22px;
}
.side-title {
  position: relative;
  margin: 0 0 14px;
  padding-left: 12px;
  font-family: var(--gpf-font-heading);
  font-size: 15px;
  font-weight: 800;
  border-left: 4px solid var(--gpf-primary);
  line-height: 1.4;
}
.side-list { display: grid; gap: 14px; }
.side-post {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 12px;
  align-items: start;
  text-decoration: none;
  color: inherit;
}
.side-post:hover .side-post__body strong { color: var(--gpf-primary); }
.side-post__thumb {
  aspect-ratio: 16 / 11;
  overflow: hidden;
  border-radius: 6px;
  background: var(--gpf-base-alt);
}
.side-post__thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.side-post__body { min-width: 0; }
.side-post__body time {
  display: block;
  margin-bottom: 3px;
  color: var(--gpf-text-sub);
  font-family: var(--gpf-font-numeral);
  font-size: 11px;
  font-weight: 600;
}
.side-post__body strong {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.55;
}

.side-cats { display: grid; gap: 0; }
.side-cats a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--gpf-border);
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
  color: var(--gpf-text-main);
}
.side-cats a:last-child { border-bottom: 0; }
.side-cats a:hover .side-cats__name { color: var(--gpf-primary); }
.side-cats__count {
  min-width: 30px;
  padding: 2px 8px;
  border-radius: 99px;
  background: var(--gpf-base-alt);
  color: var(--gpf-secondary);
  font-family: var(--gpf-font-numeral);
  font-size: 11px;
  font-weight: 700;
  text-align: center;
}

.side-cta {
  background: linear-gradient(145deg, var(--gpf-base) 0%, var(--gpf-base-alt) 100%);
  text-align: center;
}
.side-cta__eyebrow {
  margin: 0 0 8px;
  font-family: var(--gpf-font-numeral);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .2em;
  color: var(--gpf-secondary);
}
.side-cta__title {
  margin: 0 0 12px;
  font-family: var(--gpf-font-heading);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.55;
}
.side-cta__lead {
  margin: 0 0 16px;
  font-size: 12.5px;
  color: var(--gpf-text-sub);
  line-height: 1.75;
}
.side-cta__btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  min-height: 44px;
  border-radius: 99px;
  background: var(--gpf-primary);
  color: #fff;
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: none;
  transition: background .2s;
}
.side-cta__btn:hover { background: var(--gpf-primary-dk, #143822); }

@media (max-width: 1020px) {
  .post-hero__inner,
  .post-layout {
    grid-template-columns: 1fr;
  }
  .post-sidebar {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    display: grid;
    gap: 16px;
  }
  .side-box:last-child { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .post-hero { padding-top: 96px; }
  .post-title { font-size: 26px; line-height: 1.45; }
  .post-layout { gap: 24px; margin-top: 28px; }
  .post-content { padding: 24px 20px; font-size: 15.5px; line-height: 1.95; }
  .post-content h2 { font-size: 20px; padding: 12px 14px 12px 18px; }
  .post-related__grid { grid-template-columns: 1fr; }
  .post-sidebar { grid-template-columns: 1fr; }
}

/* =========================================================
   コラム一覧（page-blog.php）：カテゴリタブ + カードグリッド
   ========================================================= */
.col-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  max-width: 920px;
  margin: 0 auto 36px;
}
.col-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border: 1px solid var(--gpf-border);
  border-radius: 99px;
  background: #fff;
  color: var(--gpf-text-main);
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color .2s, color .2s, background .2s;
  font-family: inherit;
  line-height: 1.4;
}
.col-tab:hover {
  border-color: var(--gpf-primary);
  color: var(--gpf-primary);
}
.col-tab.is-active {
  background: var(--gpf-primary);
  border-color: var(--gpf-primary);
  color: #fff;
}
.col-tab__count {
  font-family: var(--gpf-font-numeral);
  font-size: 11px;
  font-weight: 700;
  padding-left: 6px;
  border-left: 1px solid currentColor;
  opacity: .7;
}
.col-tab.is-active .col-tab__count { opacity: 1; }

.col-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1080px;
  margin: 0 auto;
}
.col-card {
  display: block;
  overflow: hidden;
  border: 1px solid var(--gpf-border);
  border-radius: 12px;
  background: #fff;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 6px 18px rgba(20,56,34,.05);
  transition: transform .25s, box-shadow .25s;
}
.col-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(20,56,34,.10);
}
.col-card__thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  background: var(--gpf-base-alt);
  overflow: hidden;
}
.col-card__thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.col-card__cat {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 12px;
  border-radius: 4px;
  background: var(--gpf-primary);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
}
.col-card__body { padding: 18px 20px 20px; }
.col-card__date {
  display: block;
  margin-bottom: 6px;
  font-family: var(--gpf-font-numeral);
  font-size: 12px;
  font-weight: 600;
  color: var(--gpf-text-sub);
  letter-spacing: .06em;
}
.col-card__title {
  margin: 0 0 10px;
  font-family: var(--gpf-font-heading);
  font-size: 15.5px;
  font-weight: 700;
  line-height: 1.6;
  color: var(--gpf-text-main);
}
.col-card__excerpt {
  margin: 0;
  font-size: 12.5px;
  color: var(--gpf-text-sub);
  line-height: 1.85;
}
.col-empty {
  grid-column: 1 / -1;
  padding: 40px;
  text-align: center;
  color: var(--gpf-text-sub);
  font-size: 14px;
  background: var(--gpf-base);
  border: 1px solid var(--gpf-border);
  border-radius: 10px;
  margin-top: 16px;
}

@media (max-width: 900px) {
  .col-grid { grid-template-columns: 1fr; gap: 16px; }
  .col-tabs { gap: 6px; }
  .col-tab { padding: 8px 14px; font-size: 12.5px; }
}

/* =========================================================
   4つの始め方 各ページ：画像 + こんな方に向いています の2カラム
   ========================================================= */
.start-top-2col {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(24px, 4vw, 44px);
  align-items: center;
  margin: 0 0 56px;
}
.start-top-2col__visual {
  margin: 0;
}
.start-top-2col__visual img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 14px;
  background: var(--gpf-base-alt);
  box-shadow: 0 14px 36px rgba(20,56,34,.10);
  display: block;
}
.start-top-2col__visual figcaption {
  margin-top: 12px;
  font-family: var(--gpf-font-numeral);
  font-style: italic;
  font-size: 13px;
  color: var(--gpf-secondary);
  letter-spacing: .04em;
  text-align: center;
}
.start-top-2col__body {
  margin: 0 !important;
}
.start-top-2col__body .sub-block__title {
  margin-top: 0;
}

@media (max-width: 820px) {
  .start-top-2col {
    grid-template-columns: 1fr;
    gap: 22px;
    margin-bottom: 40px;
  }
  .start-top-2col__visual img {
    aspect-ratio: 16 / 10;
  }
}


/* =========================================================
   投稿ページ：著者ボックス（記事末尾 / 共有リンク前）
   ========================================================= */
.post-author {
  display: grid;
  grid-template-columns: 128px 1fr;
  gap: 24px;
  align-items: center;
  margin: 36px clamp(28px, 5vw, 56px) 28px;
  padding: 28px;
  border: 1px solid var(--gpf-border);
  border-radius: 14px;
  background: linear-gradient(135deg, #fff 0%, var(--gpf-base) 100%);
  box-shadow: 0 12px 30px rgba(20,56,34,.06);
}
.post-author__photo img {
  width: 128px;
  height: 128px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
  border: 4px solid #fff;
  box-shadow: 0 10px 26px rgba(20,56,34,.12);
  display: block;
}
.post-author__label {
  display: inline-flex;
  margin: 0 0 8px;
  color: var(--gpf-secondary);
  font-family: var(--gpf-font-numeral);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.post-author__name {
  margin: 0 0 10px;
  font-family: var(--gpf-font-heading);
  font-size: 22px;
  font-weight: 800;
  line-height: 1.4;
  color: var(--gpf-text-main);
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 10px;
}
.post-author__name small {
  font-family: var(--gpf-font-base, var(--gpf-font-heading));
  font-size: 12.5px;
  font-weight: 500;
  color: var(--gpf-text-sub);
  letter-spacing: .02em;
}
.post-author__text {
  margin: 0 0 14px;
  color: var(--gpf-text-sub);
  font-size: 14px;
  line-height: 1.9;
}
.post-author__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--gpf-primary);
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: none;
}
.post-author__link:hover { color: var(--gpf-secondary); }
.post-author__link svg { width: 16px; height: 16px; }

@media (max-width: 720px) {
  .post-author {
    grid-template-columns: 1fr;
    gap: 18px;
    margin: 28px 18px 24px;
    padding: 24px 20px;
    text-align: center;
  }
  .post-author__photo img { margin: 0 auto; width: 112px; height: 112px; }
  .post-author__name { justify-content: center; }
  .post-author__text { text-align: left; }
}


/* =========================================================
   マニュアル・サイト初期設定ページ専用
   ========================================================= */
.manual-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.manual-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0 0 12px;
}
.manual-cta__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 99px;
  background: var(--gpf-primary);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid var(--gpf-primary);
  transition: background .2s, border-color .2s;
}
.manual-cta__btn:hover { background: var(--gpf-primary-dk, #143822); }
.manual-cta__btn svg { width: 18px; height: 18px; }
.manual-cta__btn--ghost {
  background: #fff;
  color: var(--gpf-primary);
}
.manual-cta__btn--ghost:hover {
  background: var(--gpf-base-alt);
  color: var(--gpf-primary-dk, #143822);
}

.manual-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--gpf-border);
  border-radius: 14px;
  padding: 28px 32px 28px 80px;
  box-shadow: 0 10px 28px rgba(20,56,34,.04);
}
.manual-card__num {
  position: absolute;
  top: 28px;
  left: 24px;
  font-family: var(--gpf-font-numeral);
  font-style: italic;
  font-weight: 800;
  font-size: 28px;
  color: var(--gpf-secondary);
  margin: 0;
  line-height: 1;
  min-width: 40px;
  text-align: left;
}
.manual-card--warn {
  background: linear-gradient(135deg, #fff7f0 0%, #fff 100%);
  border-color: rgba(218, 165, 32, .4);
}
.manual-card--warn .manual-card__num { color: #B8860B; }
.manual-card--support {
  background: linear-gradient(135deg, var(--gpf-base) 0%, var(--gpf-base-alt) 100%);
  border-color: rgba(74,124,90,.3);
}
.manual-card__title {
  margin: 0 0 14px;
  font-family: var(--gpf-font-heading);
  font-size: 20px;
  font-weight: 800;
  color: var(--gpf-text-main);
  line-height: 1.45;
}
.manual-card__body p {
  margin: 0 0 12px;
  font-size: 14.5px;
  line-height: 1.95;
  color: var(--gpf-text-main);
}
.manual-card__body p:last-child { margin-bottom: 0; }

.manual-list {
  list-style: none;
  padding: 0;
  margin: 8px 0 14px;
}
.manual-list > li {
  position: relative;
  padding-left: 32px;
  margin-bottom: 12px;
  font-size: 14.5px;
  line-height: 1.85;
  counter-increment: manual-counter;
}
.manual-list { counter-reset: manual-counter; }
.manual-list > li::before {
  content: counter(manual-counter);
  position: absolute;
  left: 0;
  top: 2px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--gpf-primary);
  color: #fff;
  font-family: var(--gpf-font-numeral);
  font-size: 12px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.manual-list--check > li::before {
  content: "✓";
  background: var(--gpf-secondary);
  font-family: inherit;
  font-size: 12px;
}
.manual-list--ng > li::before {
  content: "×";
  background: #B8860B;
  font-family: inherit;
  font-weight: 800;
}
.manual-sublist {
  list-style: none;
  padding: 0;
  margin: 10px 0 4px 12px;
}
.manual-sublist li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 6px;
  font-size: 13.5px;
  line-height: 1.85;
}
.manual-sublist li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--gpf-secondary);
}

.manual-note {
  margin-top: 14px !important;
  padding: 12px 16px;
  background: var(--gpf-base);
  border-left: 3px solid var(--gpf-secondary);
  border-radius: 4px;
  font-size: 13px !important;
  line-height: 1.8 !important;
  color: var(--gpf-text-sub);
}
.manual-warn {
  margin-top: 14px !important;
  padding: 12px 16px;
  background: #fff7f0;
  border-left: 3px solid #DAA520;
  border-radius: 4px;
  font-size: 13px !important;
  line-height: 1.8 !important;
  color: #6B4416;
}

.manual-contact {
  list-style: none;
  padding: 0;
  margin: 0;
}
.manual-contact li {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--gpf-border);
  font-size: 14px;
  line-height: 1.7;
}
.manual-contact li:last-child { border-bottom: 0; }
.manual-contact li strong {
  font-weight: 700;
  color: var(--gpf-primary);
}

.manual-plugins {
  list-style: none;
  padding: 0;
  margin: 0;
}
.manual-plugins li {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--gpf-border);
  font-size: 14px;
  line-height: 1.7;
}
.manual-plugins li:last-child { border-bottom: 0; }
.manual-plugins li strong {
  font-weight: 700;
  color: var(--gpf-text-main);
}

.manual-card code,
.manual-grid code {
  display: inline-block;
  padding: 1px 8px;
  background: var(--gpf-base);
  border-radius: 4px;
  font-family: ui-monospace, Consolas, monospace;
  font-size: 13px;
  color: var(--gpf-primary-dk, #143822);
  border: 1px solid var(--gpf-border);
  word-break: break-all;
}

@media (max-width: 720px) {
  .manual-card { padding: 24px 22px 24px 22px; }
  .manual-card__num {
    position: static;
    margin: 0 0 8px;
  }
  .manual-contact li,
  .manual-plugins li {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 12px 0;
  }
  .manual-cta { flex-direction: column; }
  .manual-cta__btn { justify-content: center; }
}
