@charset "UTF-8";
/* =========================================================
   フロムパートナー松戸 デザイン（標準ブロック用）
   - ページ本文は標準ブロック + 追加CSSクラス（fp-〜）で構成
   - エディターにも読み込まれます（add_editor_style）
   - 色・サイズは :root の変数でまとめて変更できます
   ========================================================= */
:root {
  --fp-green-900: #0d4a24;
  --fp-green-800: #0f5f2e;
  --fp-green-700: #137a3a;
  --fp-green-600: #1a8f45;
  --fp-green-400: #5cbf5a;
  --fp-green-200: #cfe9c8;
  --fp-green-100: #e7f5e3;
  --fp-green-50:  #f3faf1;
  --fp-beige-100: #f7f1e6;
  --fp-beige-50:  #fbf8f2;
  --fp-orange:    #d9651e;
  --fp-orange-dk: #b9520f;
  --fp-ink:       #1d2a22;
  --fp-ink-soft:  #45554b;
  --fp-muted:     #5f6f65;
  --fp-line:      #dfe8dc;
  --fp-radius-lg: 28px;
  --fp-radius:    18px;
  --fp-shadow:    0 10px 30px rgba(19, 70, 38, .08);
  --fp-shadow-sm: 0 4px 14px rgba(19, 70, 38, .07);
  --fp-font-body: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  --fp-font-head: "Zen Maru Gothic", "Noto Sans JP", "Hiragino Maru Gothic ProN", sans-serif;
  --fp-container: 1160px;

  /* アイコン（CSSマスク） */
  --fp-i-palette: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22a10 10 0 1 1 10-10c0 2.8-2.2 4-4 4h-2a2 2 0 0 0-1.4 3.4A1.5 1.5 0 0 1 12 22z'/%3E%3Ccircle cx='7.5' cy='10.5' r='1.3'/%3E%3Ccircle cx='12' cy='7' r='1.3'/%3E%3Ccircle cx='16.5' cy='10.5' r='1.3'/%3E%3C/svg%3E");
  --fp-i-grid: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='7' height='7' rx='2'/%3E%3Crect x='14' y='3' width='7' height='7' rx='2'/%3E%3Crect x='3' y='14' width='7' height='7' rx='2'/%3E%3Crect x='14' y='14' width='7' height='7' rx='2'/%3E%3C/svg%3E");
  --fp-i-calendar: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='16' rx='3'/%3E%3Cpath d='M8 3v4M16 3v4M3 10h18M8 14h2M14 14h2M8 17.5h2'/%3E%3C/svg%3E");
  --fp-i-car: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 17H3v-5l2-5h11l4 5h1v5h-2'/%3E%3Ccircle cx='7.5' cy='17.5' r='2'/%3E%3Ccircle cx='16.5' cy='17.5' r='2'/%3E%3Cpath d='M9.5 17.5h5M5 12h15'/%3E%3C/svg%3E");
  --fp-i-bowl: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 11h18a9 9 0 0 1-18 0z'/%3E%3Cpath d='M8 7.5c0-1.5 1-2 1-3.5M12 7.5c0-1.5 1-2 1-3.5M16 7.5c0-1.5 1-2 1-3.5'/%3E%3C/svg%3E");
  --fp-i-clock: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E");
  --fp-i-leaf: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 19c0-8 5-14 15-14 0 10-6 15-14 15'/%3E%3Cpath d='M5 19l7-7'/%3E%3C/svg%3E");
  --fp-i-chat: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 5h16v11H9l-5 4z'/%3E%3Cpath d='M8 9.5h8M8 12.5h5'/%3E%3C/svg%3E");
  --fp-i-eye: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 12s3.5-6 10-6 10 6 10 6-3.5 6-10 6S2 12 2 12z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E");
  --fp-i-pen: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 20l4-1 11-11-3-3L5 16z'/%3E%3Cpath d='M14 7l3 3'/%3E%3C/svg%3E");
  --fp-i-doc: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 3h8l4 4v14H6z'/%3E%3Cpath d='M14 3v4h4M9 12h6M9 16h6'/%3E%3C/svg%3E");
  --fp-i-flag: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 21V4h11l-2 4 2 4H5'/%3E%3C/svg%3E");
  --fp-i-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
  --fp-i-plus: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E");
  --fp-i-minus: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M5 12h14'/%3E%3C/svg%3E");
}

/* ---------- アイコン共通 ---------- */
.fp-ic-palette { --fp-ic: var(--fp-i-palette); }
.fp-ic-grid { --fp-ic: var(--fp-i-grid); }
.fp-ic-calendar { --fp-ic: var(--fp-i-calendar); }
.fp-ic-car { --fp-ic: var(--fp-i-car); }
.fp-ic-bowl { --fp-ic: var(--fp-i-bowl); }
.fp-ic-clock { --fp-ic: var(--fp-i-clock); }
.fp-ic-leaf { --fp-ic: var(--fp-i-leaf); }
.fp-ic-chat { --fp-ic: var(--fp-i-chat); }
.fp-ic-eye { --fp-ic: var(--fp-i-eye); }
.fp-ic-pen { --fp-ic: var(--fp-i-pen); }
.fp-ic-doc { --fp-ic: var(--fp-i-doc); }
.fp-ic-flag { --fp-ic: var(--fp-i-flag); }

/* =========================================================
   Cocoon のトップページ枠をフル幅に（本文以外を非表示）
   ========================================================= */
.fp-site.home #content { margin-top: 0; }
.fp-site.home .content-in { width: 100%; max-width: none; padding: 0; }
.fp-site.home .main { padding: 0; border: 0; border-radius: 0; background: transparent; width: 100%; }
.fp-site.home .article { margin: 0; }
.fp-site.home .article > :not(.entry-content) { display: none; }
.fp-site.home .entry-content { margin: 0; }
.fp-site.home #breadcrumb, .fp-site.home .breadcrumb { display: none; }

/* =========================================================
   本文ベース（.fp-hero / .fp-section 内）
   ========================================================= */
.fp-hero, .fp-section {
  font-family: var(--fp-font-body);
  font-size: 18px;
  line-height: 1.9;
  color: var(--fp-ink);
  letter-spacing: .03em;
  margin: 0 !important;
  padding: 104px 0;
  box-sizing: border-box;
  width: 100%;
  max-width: none !important;
}
.fp-hero *, .fp-section * { box-sizing: border-box; }
.fp-hero > *, .fp-section > * {
  width: min(100% - 40px, var(--fp-container));
  max-width: none;
  margin-left: auto !important;
  margin-right: auto !important;
}
.fp-section > * + * { margin-top: 44px; }
.fp-section p, .fp-hero p { margin: 0; }
.fp-section p + p { margin-top: .9em; }
.fp-hero h1, .fp-hero h2, .fp-section h2, .fp-section h3, .fp-section h4, .fp-section summary {
  font-family: var(--fp-font-head);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: .04em;
  color: var(--fp-ink);
  margin: 0;
  padding: 0;
  background: none;
  border: 0;
  border-radius: 0;
}
.fp-hero h1::before, .fp-hero h1::after, .fp-section h2::before, .fp-section h2::after,
.fp-section h3::before, .fp-section h3::after, .fp-section h4::before, .fp-section h4::after { content: none; }
.fp-section h3 { font-size: 1.25rem; }
.fp-section h4 { font-size: 1.1rem; }
.fp-section ul, .fp-section ol, .fp-hero ul { margin: 0; padding: 0; list-style: none; }
.fp-section li, .fp-hero li { margin: 0; }
.fp-section figure, .fp-hero figure { margin: 0; }
.fp-section .wp-block-image img, .fp-hero .wp-block-image img { display: block; width: 100%; height: auto; }
.fp-section a { color: var(--fp-green-700); }
.fp-section .wp-block-columns, .fp-hero .wp-block-columns { margin-bottom: 0; }

/* 画像未設定（メディアで差し替える前）でも枠がわかるように */
.fp-hero .wp-block-image, .fp-section .wp-block-image {
  background: repeating-linear-gradient(45deg, var(--fp-green-50), var(--fp-green-50) 12px, #fff 12px, #fff 24px);
  border-radius: inherit;
}
.fp-section .wp-block-image img, .fp-hero .wp-block-image img { color: var(--fp-muted); font-size: 13px; }

/* グリッド内の要素が画像の元サイズで横に広がらないように */
.fp-section [class*="-grid"] > *, .fp-section [class*="-photos"] > *, .fp-section .fp-work-card > *,
.fp-section .wp-block-column, .fp-hero .wp-block-column { min-width: 0; }

.fp-bg-green { background: var(--fp-green-50); }
.fp-bg-beige { background: var(--fp-beige-50); }

/* ---------- セクション見出し ---------- */
.fp-sec-head { text-align: center; max-width: 780px !important; }
.fp-sec-head.fp-left { text-align: left; max-width: none !important; width: 100% !important; margin: 0 0 30px !important; }
.fp-sec-label {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--fp-font-head); font-weight: 700; font-size: .88rem !important;
  letter-spacing: .18em; color: var(--fp-green-600); margin-bottom: 10px !important;
}
.fp-sec-label::before, .fp-sec-label::after { content: ""; width: 20px; height: 2px; background: var(--fp-green-400); border-radius: 2px; }
.fp-section .fp-sec-title { font-size: clamp(1.7rem, 1.2rem + 1.8vw, 2.5rem); word-break: auto-phrase; }
.fp-section .fp-sec-title strong { color: var(--fp-green-700); }
.fp-sec-lead { margin-top: 18px !important; color: var(--fp-ink-soft); font-size: 1.05rem; }

/* ---------- ボタン ---------- */
.fp-hero .wp-block-buttons, .fp-section .wp-block-buttons { display: flex; flex-wrap: wrap; gap: 14px; }
.fp-center.wp-block-buttons { justify-content: center; }
.fp-hero .wp-block-button__link, .fp-section .wp-block-button__link {
  display: inline-flex; align-items: center; justify-content: center; text-align: center;
  min-height: 60px; padding: 12px 32px; border-radius: 999px; border: 2px solid transparent;
  font-family: var(--fp-font-body); font-weight: 700; font-size: 1.02rem; line-height: 1.45; letter-spacing: .04em;
  text-decoration: none; box-shadow: none; transition: background .2s, transform .2s;
}
.fp-hero .wp-block-button__link:hover, .fp-section .wp-block-button__link:hover { transform: translateY(-2px); }
.fp-btn-primary .wp-block-button__link { background: var(--fp-orange); color: #fff; box-shadow: 0 6px 16px rgba(217, 101, 30, .28); }
.fp-btn-primary .wp-block-button__link:hover { background: var(--fp-orange-dk); color: #fff; }
.fp-btn-green .wp-block-button__link { background: var(--fp-green-700); color: #fff; }
.fp-btn-green .wp-block-button__link:hover { background: var(--fp-green-800); color: #fff; }
.fp-btn-outline .wp-block-button__link { background: #fff; color: var(--fp-green-700); border-color: var(--fp-green-700); }
.fp-btn-outline .wp-block-button__link:hover { background: var(--fp-green-50); color: var(--fp-green-800); }
.fp-btn-white .wp-block-button__link { background: #fff; color: var(--fp-green-800); }
.fp-btn-white .wp-block-button__link:hover { background: var(--fp-green-50); color: var(--fp-green-900); }
.fp-btn-line .wp-block-button__link { background: #06c755; color: #fff; }
.fp-btn-line .wp-block-button__link:hover { background: #05a847; color: #fff; }

/* ---------- 共通パーツ ---------- */
.fp-tag { display: inline-block; font-size: .8rem !important; font-weight: 700; letter-spacing: .12em; color: var(--fp-green-700); background: var(--fp-green-100); padding: 3px 14px; border-radius: 999px; margin-bottom: 10px !important; }
.fp-center-note { text-align: center; font-size: 1.05rem; }
.fp-center-note strong { color: var(--fp-green-700); }
.fp-fine { font-size: .88rem !important; color: var(--fp-muted); text-align: center; }
.fp-fine-left { text-align: left; margin-top: 16px !important; }
.fp-sub-title { text-align: center; font-size: 1.45rem !important; }
.fp-who { font-size: .88rem !important; color: var(--fp-muted); }
.fp-avatar { width: 72px; height: 72px; flex: none; border-radius: 50% !important; overflow: hidden; background: var(--fp-beige-100) !important; }
.fp-avatar img { width: 100% !important; height: 100% !important; object-fit: cover; }
.fp-check-list li, .fp-dot-list li { position: relative; padding-left: 1.7em; }
.fp-check-list li + li, .fp-dot-list li + li { margin-top: 6px; }
.fp-check-list li::before { content: ""; position: absolute; left: 0; top: .35em; width: 1.1em; height: 1.1em; background: var(--fp-green-600); -webkit-mask: var(--fp-i-check) center / contain no-repeat; mask: var(--fp-i-check) center / contain no-repeat; }
.fp-dot-list li { padding-left: 1.2em; color: var(--fp-ink-soft); font-size: .98rem; }
.fp-dot-list li::before { content: ""; position: absolute; left: 0; top: .75em; width: 8px; height: 8px; border-radius: 50%; background: var(--fp-green-400); }

/* ---------- 1. ヒーロー ---------- */
.fp-hero { position: relative; padding: 64px 0 104px; background: linear-gradient(180deg, var(--fp-green-50) 0%, #fff 100%); overflow: hidden; }
.fp-hero::before { content: ""; position: absolute; right: -180px; top: -160px; width: 620px; height: 620px; border-radius: 50%; background: radial-gradient(circle, rgba(92,191,90,.18), rgba(92,191,90,0) 70%); }
.fp-hero::after { content: ""; position: absolute; left: -120px; bottom: 40px; width: 300px; height: 300px; border-radius: 42% 58% 60% 40% / 45% 40% 60% 55%; background: var(--fp-beige-100); }
.fp-hero-cols { position: relative; z-index: 1; gap: 56px !important; align-items: center !important; }
.fp-hero-eyebrow { display: inline-block; font-weight: 700; color: var(--fp-green-800); background: #fff; border: 1.5px solid var(--fp-green-200); border-radius: 999px; padding: 8px 22px; font-size: .95rem; line-height: 1.6; margin-bottom: 24px !important; }
.fp-hero .fp-hero-title { font-size: clamp(2.1rem, 1.3rem + 3vw, 3.5rem); line-height: 1.38; margin-bottom: 24px; }
.fp-hero-title strong { color: var(--fp-green-700); background: linear-gradient(transparent 68%, rgba(92,191,90,.3) 68%); white-space: nowrap; }
.fp-hero-sub { font-size: 1.12rem; color: var(--fp-ink-soft); margin-bottom: 32px !important; }
.fp-hero-points { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px !important; }
.fp-hero-points li { position: relative; background: #fff; border-radius: 999px; padding: 6px 16px 6px 36px; font-weight: 700; font-size: .92rem; color: var(--fp-green-800); box-shadow: var(--fp-shadow-sm); }
.fp-hero-points li::before { content: ""; position: absolute; left: 12px; top: 50%; width: 17px; height: 17px; transform: translateY(-50%); background: var(--fp-green-600); -webkit-mask: var(--fp-i-check) center / contain no-repeat; mask: var(--fp-i-check) center / contain no-repeat; }
.fp-hero-visual { position: relative; }
.fp-hero-photo { border-radius: 40px 40px 40px 140px !important; overflow: hidden; box-shadow: var(--fp-shadow); }
.fp-hero-photo img { aspect-ratio: 4 / 3.4; object-fit: cover; }
.fp-hero-subphoto { position: absolute !important; left: -40px; bottom: -44px; width: 42%; border-radius: 22px !important; overflow: hidden; border: 6px solid #fff; box-shadow: var(--fp-shadow); margin: 0 !important; }
.fp-hero-subphoto img { aspect-ratio: 4 / 3; object-fit: cover; }
.fp-hero-badge { position: absolute; right: -10px; top: 26px; background: #fff; border-radius: 20px; padding: 14px 20px; box-shadow: var(--fp-shadow); text-align: center; line-height: 1.4; font-size: .85rem; font-weight: 700; color: var(--fp-ink-soft); margin: 0 !important; }
.fp-hero-badge strong { font-family: var(--fp-font-head); color: var(--fp-green-700); font-size: 1.5rem; }

/* ---------- 2. 特徴 ---------- */
.fp-feature-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 24px; }
.fp-feature-grid > * { margin: 0 !important; }
.fp-feature-card { grid-column: span 2; position: relative; background: #fff; border: 1.5px solid var(--fp-line); border-radius: var(--fp-radius-lg); padding: 36px 30px 32px; box-shadow: var(--fp-shadow-sm); }
.fp-feature-card:nth-child(4) { grid-column: 2 / span 2; }
.fp-feature-card::before { content: ""; display: block; width: 72px; height: 72px; border-radius: 22px; margin-bottom: 20px; background: var(--fp-green-100) center / 38px no-repeat; }
.fp-feature-card::after { content: ""; position: absolute; left: 47px; top: 53px; width: 38px; height: 38px; background: var(--fp-green-700); -webkit-mask: var(--fp-ic) center / contain no-repeat; mask: var(--fp-ic) center / contain no-repeat; }
.fp-feature-num { position: absolute; top: 22px; right: 26px; font-family: var(--fp-font-head); font-weight: 700; font-size: 2.2rem !important; line-height: 1; color: var(--fp-green-100); }
.fp-section .fp-feature-card h3 { font-size: 1.28rem; color: var(--fp-green-800); margin-bottom: 12px; }
.fp-feature-card p:not(.fp-feature-num) { color: var(--fp-ink-soft); font-size: 1rem; }

/* ---------- 3. 仕事内容 ---------- */
.fp-work-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.fp-work-grid > * { margin: 0 !important; }
.fp-work-card { background: #fff; border-radius: var(--fp-radius-lg); overflow: hidden; box-shadow: var(--fp-shadow); display: flex; flex-direction: column; }
.fp-work-photos { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) minmax(0, 1fr); overflow: hidden; gap: 4px; aspect-ratio: 16 / 9; }
.fp-work-photos > * { margin: 0 !important; min-height: 0; }
.fp-work-photos .wp-block-image:first-child { grid-row: span 2; }
/* 写真が2枚・1枚のカード */
.fp-work-photos:has(> :nth-child(2):last-child) { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: minmax(0, 1fr); }
.fp-work-photos:has(> :nth-child(2):last-child) .wp-block-image:first-child { grid-row: auto; }
.fp-work-photos:has(> :only-child) { grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr); }
.fp-work-photos:has(> :only-child) .wp-block-image:first-child { grid-row: auto; }
.fp-work-photos img { height: 100% !important; object-fit: cover; }
.fp-work-body { padding: 30px 32px 34px; flex: 1; }
.fp-section .fp-work-body h3 { font-size: 1.45rem; }
.fp-work-catch { color: var(--fp-green-700); font-weight: 700; margin: 4px 0 16px !important; }
.fp-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px !important; }
.fp-chips li { background: var(--fp-beige-100); border-radius: 10px; padding: 5px 14px; font-size: .95rem; font-weight: 500; }
.fp-work-body > p:last-child { font-size: .98rem; color: var(--fp-ink-soft); }
.fp-work-card.fp-is-featured { grid-column: 1 / -1; display: grid; grid-template-columns: 1.1fr 1fr; }
.fp-work-card.fp-is-featured .fp-work-photos { aspect-ratio: auto; min-height: 100%; }
.fp-work-card.fp-is-featured .fp-work-body { padding: 42px 44px; }

/* ---------- 4. AI・クリエイティブ ---------- */
.fp-dark { position: relative; background: var(--fp-green-900); color: #fff; overflow: hidden; }
.fp-dark::before { content: ""; position: absolute; inset: 0; width: auto !important; margin: 0 !important; background: radial-gradient(circle at 85% 10%, rgba(92,191,90,.35), transparent 45%), radial-gradient(circle at 5% 90%, rgba(92,191,90,.2), transparent 40%); pointer-events: none; }
.fp-dark > * { position: relative; }
.fp-dark .fp-sec-label { color: #a6e59b; }
.fp-dark .fp-sec-label::before, .fp-dark .fp-sec-label::after { background: #a6e59b; }
.fp-section.fp-dark h2, .fp-section.fp-dark .fp-sub-light { color: #fff; }
.fp-section.fp-dark .fp-sec-title strong { color: #b8f0a8; }
.fp-creative-intro { gap: 48px !important; align-items: center !important; }
.fp-creative-intro p { color: rgba(255,255,255,.9); font-size: 1.05rem; }
.fp-tool-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px !important; }
.fp-tool-chips li { border: 1.5px solid rgba(255,255,255,.35); border-radius: 999px; padding: 6px 18px; font-weight: 700; font-size: .95rem; }
.fp-creative-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fp-creative-photos > * { margin: 0 !important; border-radius: 20px !important; overflow: hidden; }
.fp-creative-photos .wp-block-image:first-child { grid-column: span 2; }
.fp-creative-photos img { aspect-ratio: 4 / 3; object-fit: cover; }
.fp-creative-photos .wp-block-image:first-child img { aspect-ratio: 16 / 9; }
.fp-section .fp-sub-light { font-size: 1.35rem; display: flex; align-items: center; gap: 12px; }
.fp-sub-light::before { content: "" !important; width: 8px; height: 28px; border-radius: 4px; background: var(--fp-green-400); }
.fp-section .fp-sub-light + * { margin-top: 24px; }
.fp-ai-gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.fp-ai-gallery > * { margin: 0 !important; background: rgba(255,255,255,.07) !important; border: 1.5px solid rgba(255,255,255,.18); border-radius: var(--fp-radius); overflow: hidden; }
.fp-ai-gallery img { aspect-ratio: 4 / 3; object-fit: cover; background: rgba(255,255,255,.06); color: rgba(255,255,255,.55) !important; }
.fp-ai-gallery figcaption { margin: 0 !important; padding: 14px 16px; text-align: center; font-family: var(--fp-font-head); font-weight: 700; font-size: 1.05rem; color: #fff; }
.fp-tool-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.fp-tool-cards > * { margin: 0 !important; }
.fp-tool-card { background: #fff; color: var(--fp-ink); border-radius: var(--fp-radius); overflow: hidden; padding-bottom: 22px; }
.fp-tool-card .wp-block-image { margin-bottom: 18px !important; }
.fp-tool-card img { aspect-ratio: 16 / 9; object-fit: cover; object-position: top left; border-bottom: 1px solid var(--fp-line); }
.fp-tool-card > :not(.wp-block-image) { padding: 0 22px; }
.fp-section .fp-tool-card h4 { color: var(--fp-green-800); font-size: 1.15rem; margin-bottom: 8px; }
.fp-tool-card p { font-size: .92rem; color: var(--fp-ink-soft); }
.fp-credit { font-size: .76rem !important; color: #6b7a70 !important; line-height: 1.6; margin-top: 8px !important; }
.fp-it-program { display: grid; grid-template-columns: 1fr 1.3fr; background: #fff; color: var(--fp-ink); border-radius: var(--fp-radius-lg); overflow: hidden; }
.fp-it-program > * { margin: 0 !important; }
.fp-it-photos { display: grid; grid-template-columns: 1fr 1fr; }
.fp-it-photos > * { margin: 0 !important; }
.fp-it-photos img { height: 100% !important; object-fit: cover; }
.fp-it-body { padding: 40px 44px; }
.fp-section .fp-it-body h3 { font-size: 1.5rem; color: var(--fp-green-800); margin-bottom: 14px; }
.fp-it-body .fp-check-list { margin-top: 14px !important; font-weight: 500; }

/* ---------- 5. 制作実績 ---------- */
.fp-works-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.fp-works-grid > * { margin: 0 !important; background-color: #fff; border-radius: var(--fp-radius) !important; overflow: hidden; box-shadow: var(--fp-shadow-sm); border: 1px solid var(--fp-line); }
.fp-works-grid img { aspect-ratio: 1 / 1; object-fit: cover; }
.fp-works-grid figcaption { margin: 0 !important; padding: 12px 16px 16px; text-align: left; font-weight: 700; font-size: 1rem; color: var(--fp-ink); background: #fff; }
.fp-works-grid figcaption strong { display: block; font-size: .78rem; color: var(--fp-green-700); }

/* ---------- 6. おすすめ ---------- */
.fp-recommend-cols { gap: 56px !important; align-items: center !important; }
.fp-recommend-cols > .wp-block-column:first-child { flex: 0 0 42% !important; }
.fp-recommend-photo { border-radius: 40px 140px 40px 40px !important; overflow: hidden; box-shadow: var(--fp-shadow); }
.fp-recommend-photo img { aspect-ratio: 4 / 4.2; object-fit: cover; }
.fp-recommend-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fp-recommend-list li { position: relative; display: flex; align-items: center; background: #fff; border-radius: 16px; padding: 16px 18px 16px 58px; font-weight: 700; font-size: 1.02rem; line-height: 1.55; box-shadow: var(--fp-shadow-sm); min-height: 64px; }
.fp-recommend-list li::before { content: ""; position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; border-radius: 50%; background: var(--fp-green-600); }
.fp-recommend-list li::after { content: ""; position: absolute; left: 22px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; background: #fff; -webkit-mask: var(--fp-i-check) center / contain no-repeat; mask: var(--fp-i-check) center / contain no-repeat; }
.fp-recommend-msg { margin-top: 28px !important; background: #fff; border-left: 6px solid var(--fp-green-400); border-radius: 0 16px 16px 0; padding: 20px 24px; color: var(--fp-ink-soft); }

/* ---------- 7. 1日の流れ ---------- */
.fp-day-cols { gap: 48px !important; align-items: flex-start !important; }
.fp-day-cols > .wp-block-column:first-child { flex: 1.2 1 0 !important; }
.fp-timeline { position: relative; }
.fp-timeline::before { content: ""; position: absolute; left: 91px; top: 12px; bottom: 12px; width: 3px; background: var(--fp-green-200); border-radius: 2px; }
.fp-tl-item { position: relative; display: grid; grid-template-columns: 78px 1fr; gap: 0 40px; align-items: start; margin: 0 0 20px !important; }
.fp-tl-item:last-child { margin-bottom: 0 !important; }
.fp-tl-item::before { content: ""; position: absolute; left: 82px; top: 16px; width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 5px solid var(--fp-green-600); box-sizing: border-box; z-index: 1; }
.fp-tl-time { font-family: var(--fp-font-head); font-weight: 700; font-size: 1.12rem; color: var(--fp-green-800); text-align: right; padding-top: 10px; white-space: nowrap; }
.fp-tl-card { margin: 0 !important; background: #fff; border-radius: 16px; padding: 14px 20px; box-shadow: var(--fp-shadow-sm); border: 1px solid var(--fp-line); }
.fp-section .fp-tl-card h3 { font-size: 1.12rem; }
.fp-tl-card p { margin-top: 4px !important; color: var(--fp-ink-soft); font-size: .95rem; line-height: 1.75; }
.fp-is-work .fp-tl-card { background: var(--fp-green-100); border-color: var(--fp-green-200); }
.fp-is-rest .fp-tl-card { background: var(--fp-beige-100); border-color: #eadfca; }
.fp-vital { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px !important; }
.fp-vital li { font-size: .88rem; font-weight: 700; background: #fff; border: 1.5px solid var(--fp-green-200); color: var(--fp-green-800); border-radius: 999px; padding: 2px 14px; }
.fp-info-card { background: #fff; border-radius: var(--fp-radius); padding: 26px 28px; box-shadow: var(--fp-shadow-sm); border: 1px solid var(--fp-line); margin: 0 0 20px !important; }
.fp-section .fp-info-card h3 { display: flex; align-items: center; gap: 10px; font-size: 1.2rem; color: var(--fp-green-800); margin-bottom: 14px; }
.fp-section .fp-info-card h3::before { content: ""; width: 30px; height: 30px; flex: none; background: var(--fp-green-600); -webkit-mask: var(--fp-ic) center / contain no-repeat; mask: var(--fp-ic) center / contain no-repeat; }

/* テーブル共通 */
.fp-section .wp-block-table { margin: 0; }
.fp-section .wp-block-table table { width: 100%; border-collapse: collapse; border: 0; font-size: 1rem; }
.fp-section .wp-block-table th, .fp-section .wp-block-table td { border: 0; border-bottom: 1px solid var(--fp-line); padding: 12px 8px; text-align: left; vertical-align: top; background: none; line-height: 1.8; }
.fp-section .wp-block-table th { font-weight: 700; white-space: nowrap; color: var(--fp-ink); width: 30%; }
.fp-section .wp-block-table tr:last-child th, .fp-section .wp-block-table tr:last-child td { border-bottom: 0; }
.fp-hours tr:last-child td { color: #b3261e; font-weight: 700; }

/* ---------- 8. 工賃 ---------- */
.fp-wage-hero { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 900px !important; }
.fp-wage-hero > * { margin: 0 !important; }
.fp-wage-box { background: #fff; border: 3px solid var(--fp-green-200); border-radius: var(--fp-radius-lg); padding: 30px; text-align: center; }
.fp-wage-label { font-weight: 700; color: var(--fp-ink-soft); }
.fp-wage-value { font-family: var(--fp-font-head); font-weight: 700; color: var(--fp-green-700); font-size: clamp(2.6rem, 2rem + 2.4vw, 3.6rem); line-height: 1.2; margin: 6px 0 !important; }
.fp-wage-box p:last-child { font-size: .95rem; color: var(--fp-ink-soft); }
.fp-wage-hero + .fp-center-note { max-width: 820px !important; color: var(--fp-ink-soft); margin-top: 28px; }
.fp-case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.fp-case-grid > * { margin: 0 !important; }
.fp-case-card { background: #fff; border-radius: var(--fp-radius); padding: 28px 26px; box-shadow: var(--fp-shadow-sm); border: 1px solid var(--fp-line); display: flex; flex-direction: column; }
.fp-case-head { display: flex; gap: 14px; align-items: center; margin-bottom: 14px !important; }
.fp-case-head > * { margin: 0 !important; }
.fp-case-plan { font-weight: 700; color: var(--fp-green-800); line-height: 1.55; font-size: .95rem; }
.fp-case-plan strong { font-family: var(--fp-font-head); font-size: 1.3rem; color: var(--fp-orange-dk); }
.fp-section .fp-case-card h4 { font-size: 1.08rem; margin-bottom: 8px; }
.fp-case-card > p:not(.fp-who) { font-size: .95rem; color: var(--fp-ink-soft); flex: 1; }
.fp-case-card .fp-who { margin-top: 10px !important; }

/* ---------- 9. 昼食 ---------- */
.fp-lunch-cols { gap: 56px !important; align-items: center !important; }
.fp-lunch-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fp-lunch-photos > * { margin: 0 !important; border-radius: 20px !important; overflow: hidden; }
.fp-lunch-photos .wp-block-image:first-child { grid-column: span 2; }
.fp-lunch-photos img { aspect-ratio: 4 / 3; object-fit: cover; }
.fp-lunch-photos .wp-block-image:first-child img { aspect-ratio: 3 / 2; }
.fp-price-tag { display: inline-flex !important; align-items: baseline; gap: 8px; background: var(--fp-orange); color: #fff; border-radius: 20px; padding: 8px 26px; margin-bottom: 20px !important; font-weight: 700; }
.fp-price-tag strong { font-family: var(--fp-font-head); font-size: 2.4rem; line-height: 1.2; }
.fp-lunch-points { display: grid; gap: 14px; margin-top: 24px !important; }
.fp-lunch-points > * { margin: 0 !important; }
.fp-lunch-point { position: relative; background: #fff; border-radius: 16px; padding: 16px 18px 16px 88px; box-shadow: var(--fp-shadow-sm); min-height: 84px; }
.fp-lunch-point::before { content: ""; position: absolute; left: 18px; top: 16px; width: 52px; height: 52px; border-radius: 14px; background: var(--fp-beige-100); }
.fp-lunch-point::after { content: ""; position: absolute; left: 30px; top: 28px; width: 28px; height: 28px; background: var(--fp-orange-dk); -webkit-mask: var(--fp-ic) center / contain no-repeat; mask: var(--fp-ic) center / contain no-repeat; }
.fp-section .fp-lunch-point h3 { font-size: 1.08rem; }
.fp-lunch-point p { margin-top: 2px !important; font-size: .95rem; color: var(--fp-ink-soft); }

/* ---------- 10. 施設紹介 ---------- */
.fp-facility-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.fp-facility-grid > * { margin: 0 !important; }
.fp-facility-item { background: #fff; border-radius: var(--fp-radius); overflow: hidden; box-shadow: var(--fp-shadow-sm); border: 1px solid var(--fp-line); padding-bottom: 22px; }
.fp-facility-item.fp-is-wide { grid-column: span 2; }
.fp-facility-item .wp-block-image { margin-bottom: 18px !important; }
.fp-facility-item img { aspect-ratio: 4 / 3; object-fit: cover; }
.fp-facility-item.fp-is-wide img { aspect-ratio: 16 / 8.2; }
.fp-facility-item > :not(.wp-block-image) { padding: 0 22px; }
.fp-section .fp-facility-item h3 { font-size: 1.12rem; color: var(--fp-green-800); margin-bottom: 6px; }
.fp-facility-item p { font-size: .94rem; color: var(--fp-ink-soft); line-height: 1.8; }
.fp-more summary { list-style: none; cursor: pointer; display: flex; justify-content: center; }
.fp-more summary::-webkit-details-marker { display: none; }
.fp-section .fp-more > summary { width: fit-content; margin: 0 auto; min-height: 56px; padding: 12px 32px; border-radius: 999px; border: 2px solid var(--fp-green-700); color: var(--fp-green-700); background: #fff; align-items: center; font-family: var(--fp-font-body); font-size: 1rem; }
.fp-more[open] > summary { background: var(--fp-green-50); }
.fp-thumb-strip { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; margin-top: 28px !important; }
.fp-thumb-strip > * { margin: 0 !important; border-radius: 12px !important; overflow: hidden; }
.fp-thumb-strip img { aspect-ratio: 1; object-fit: cover; }

/* ---------- 11. 利用者さんの声 ---------- */
.fp-voice-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.fp-voice-grid > * { margin: 0 !important; }
.fp-voice-card { position: relative; background: #fff; border-radius: var(--fp-radius-lg); padding: 30px 32px 28px; box-shadow: var(--fp-shadow-sm); }
.fp-voice-card::before { content: "“"; position: absolute; top: 4px; right: 26px; font-family: Georgia, serif; font-size: 5rem; line-height: 1; color: var(--fp-green-100); }
.fp-voice-head { display: grid; grid-template-columns: 72px 1fr; column-gap: 16px; align-items: center; margin-bottom: 14px !important; }
.fp-voice-head > * { margin: 0 !important; }
.fp-voice-head .fp-avatar { grid-row: span 2; }
.fp-section .fp-voice-head h3 { font-size: 1.12rem; color: var(--fp-green-800); padding-right: 30px; align-self: end; }
.fp-voice-head .fp-who { align-self: start; }
.fp-voice-card > p { font-size: .98rem; color: var(--fp-ink-soft); }

/* ---------- 12. 流れ ---------- */
.fp-steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.fp-steps > * { margin: 0 !important; }
.fp-step { position: relative; background: #fff; border-radius: var(--fp-radius); padding: 26px 20px 24px; text-align: center; box-shadow: var(--fp-shadow-sm); border: 1px solid var(--fp-line); }
.fp-step:not(:last-child)::after { content: ""; position: absolute; right: -15px; top: 50%; width: 12px; height: 12px; border-top: 3px solid var(--fp-green-400); border-right: 3px solid var(--fp-green-400); transform: translateY(-50%) rotate(45deg); }
.fp-step-num { font-family: var(--fp-font-head); font-weight: 700; color: var(--fp-green-600); font-size: .9rem; letter-spacing: .14em; line-height: 1.2; }
.fp-step-num strong { font-size: 2rem; }
.fp-step-num::after { content: ""; display: block; width: 64px; height: 64px; margin: 14px auto; border-radius: 50%; background: var(--fp-green-100); }
.fp-step::before { content: ""; position: absolute; left: 50%; top: 106px; width: 32px; height: 32px; transform: translateX(-50%); background: var(--fp-green-700); -webkit-mask: var(--fp-ic) center / contain no-repeat; mask: var(--fp-ic) center / contain no-repeat; }
.fp-section .fp-step h3 { font-size: 1.2rem; margin-bottom: 8px; }
.fp-step p:not(.fp-step-num) { font-size: .92rem; color: var(--fp-ink-soft); text-align: left; line-height: 1.8; }

/* ---------- 13. FAQ ---------- */
.fp-faq-list { max-width: 880px !important; display: grid; gap: 14px; }
.fp-faq-list > * { margin: 0 !important; }
.fp-faq-item { background: #fff; border-radius: var(--fp-radius); border: 1.5px solid var(--fp-line); overflow: hidden; }
.fp-section .fp-faq-item > summary { list-style: none; cursor: pointer; position: relative; padding: 18px 60px 18px 72px; font-size: 1.05rem; min-height: 64px; display: flex; align-items: center; line-height: 1.6; }
.fp-faq-item > summary::-webkit-details-marker { display: none; }
.fp-faq-item > summary:hover { background: var(--fp-green-50); }
.fp-faq-item > summary::before { content: "Q"; position: absolute; left: 20px; top: 50%; transform: translateY(-50%); width: 38px; height: 38px; border-radius: 50%; background: var(--fp-green-700); color: #fff; display: grid; place-items: center; font-size: 1.05rem; }
.fp-faq-item > summary::after { content: ""; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; background: var(--fp-green-700); -webkit-mask: var(--fp-i-plus) center / contain no-repeat; mask: var(--fp-i-plus) center / contain no-repeat; }
.fp-faq-item[open] > summary::after { -webkit-mask-image: var(--fp-i-minus); mask-image: var(--fp-i-minus); }
.fp-faq-item > :not(summary) { position: relative; padding: 4px 24px 22px 72px; color: var(--fp-ink-soft); margin: 0 !important; }
.fp-faq-item > p::before { content: "A"; position: absolute; left: 20px; top: 2px; width: 38px; height: 38px; border-radius: 50%; background: var(--fp-beige-100); color: var(--fp-orange-dk); display: grid; place-items: center; font-family: var(--fp-font-head); font-weight: 700; }

/* ---------- 14. アクセス ---------- */
.fp-access-cols { gap: 40px !important; }
.fp-map { border-radius: var(--fp-radius-lg); overflow: hidden; box-shadow: var(--fp-shadow); height: 100%; min-height: 380px; background: var(--fp-green-50); }
.fp-map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; }
.fp-access-table th { color: var(--fp-green-800) !important; width: 90px !important; }
.fp-access-table strong { color: var(--fp-green-800); }
.fp-pickup { background: #fff; border-radius: var(--fp-radius-lg); padding: 36px; box-shadow: var(--fp-shadow-sm); gap: 40px !important; align-items: center !important; margin-top: 64px !important; border: 1px solid var(--fp-line); }
.fp-pickup-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.fp-pickup-photos > * { margin: 0 !important; border-radius: 16px !important; overflow: hidden; }
.fp-pickup-photos .wp-block-image:first-child { grid-column: span 2; }
.fp-pickup-photos img { aspect-ratio: 4 / 3; object-fit: cover; }
.fp-pickup-photos .wp-block-image:first-child img { aspect-ratio: 16 / 9; }
.fp-section .fp-ic-inline { display: flex; align-items: center; gap: 10px; font-size: 1.5rem; color: var(--fp-green-800); margin-bottom: 10px; }
.fp-section .fp-ic-inline::before { content: ""; width: 34px; height: 34px; flex: none; background: var(--fp-green-600); -webkit-mask: var(--fp-ic) center / contain no-repeat; mask: var(--fp-ic) center / contain no-repeat; }
.fp-pickup-points { display: grid; gap: 12px; margin-top: 18px !important; }
.fp-pickup-points li { background: var(--fp-green-50); border-radius: 14px; padding: 14px 18px; font-size: .95rem; color: var(--fp-ink-soft); }
.fp-pickup-points strong { color: var(--fp-green-800); font-size: 1rem; }
.fp-route { background: #fff; border: 1.5px solid var(--fp-line); border-radius: var(--fp-radius); overflow: hidden; }
.fp-route + .fp-route { margin-top: 16px !important; }
.fp-section .fp-route > summary { cursor: pointer; padding: 18px 24px; font-size: 1.15rem; color: var(--fp-green-800); background: var(--fp-green-50); }
.fp-route > :not(summary) { margin: 18px 24px 0 !important; }
.fp-route > :last-child { margin-bottom: 24px !important; }
.fp-route-sub { font-weight: 700; color: var(--fp-green-800); }
.fp-route-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.fp-route-steps > * { margin: 0 !important; background-color: #fff; border-radius: 12px !important; overflow: hidden; border: 1px solid var(--fp-line); }
.fp-route-steps img { aspect-ratio: 1000 / 562; object-fit: cover; }
.fp-route-steps figcaption { margin: 0 !important; padding: 10px 14px 12px; font-size: .94rem; line-height: 1.7; text-align: left; color: var(--fp-ink); background: #fff; }

/* ---------- 15. 会社案内 ---------- */
.fp-vision { background: #fff; border-radius: var(--fp-radius-lg); padding: 44px; text-align: center; }
.fp-vision p { color: var(--fp-ink-soft); max-width: 760px; margin-left: auto !important; margin-right: auto !important; }
.fp-vision-label { font-family: var(--fp-font-head); font-weight: 700; letter-spacing: .16em; color: var(--fp-green-600) !important; font-size: .9rem; }
.fp-vision-label.fp-mission { margin-top: 28px !important; padding-top: 26px; border-top: 1px dashed var(--fp-green-200); max-width: none !important; }
.fp-vision-big { font-family: var(--fp-font-head); font-weight: 700; font-size: clamp(1.25rem, 1rem + 1vw, 1.6rem); color: var(--fp-green-800) !important; margin: 6px auto 12px !important; line-height: 1.6; }
.fp-company-cols { gap: 40px !important; }
.fp-company-cols > .wp-block-column:first-child { flex: 1.3 1 0 !important; }
.fp-company-table { background: #fff; border-radius: var(--fp-radius); overflow: hidden; box-shadow: var(--fp-shadow-sm); }
.fp-section .fp-company-table th { background: var(--fp-green-50); color: var(--fp-green-800); padding: 16px 20px; }
.fp-section .fp-company-table td { padding: 16px 20px; }
.fp-greeting { background: #fff; border-radius: var(--fp-radius); padding: 28px; box-shadow: var(--fp-shadow-sm); border: 1px solid var(--fp-line); }
.fp-greeting-head { display: flex; gap: 18px; align-items: center; margin-bottom: 16px !important; }
.fp-greeting-head > * { margin: 0 !important; }
.fp-ceo { width: 96px; flex: none; border-radius: 12px !important; overflow: hidden; }
.fp-ceo img { aspect-ratio: 3 / 4; object-fit: cover; }
.fp-section .fp-greeting h3 { font-size: 1.2rem; color: var(--fp-green-800); }
.fp-greeting p { font-size: .95rem; color: var(--fp-ink-soft); }
.fp-sign { text-align: right; font-weight: 700; color: var(--fp-ink) !important; }
.fp-staff-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; max-width: 1000px !important; }
.fp-staff-grid > * { margin: 0 !important; }
.fp-staff-card { background: #fff; border-radius: var(--fp-radius); padding: 22px; border: 1px solid var(--fp-line); text-align: center; }
.fp-staff-card .fp-avatar { width: 96px; height: 96px; margin: 0 auto 12px !important; }
.fp-role { font-size: .85rem !important; font-weight: 700; color: var(--fp-green-700); }
.fp-section .fp-staff-card h4 { font-size: 1.02rem; margin: 2px 0 8px; }
.fp-staff-card p:last-child { font-size: .88rem; color: var(--fp-ink-soft); text-align: left; line-height: 1.75; }

/* ---------- 16. 新着情報（最新の投稿ブロック） ---------- */
.fp-news-grid.wp-block-latest-posts { display: grid !important; grid-template-columns: repeat(3, 1fr); gap: 24px; padding: 0 !important; }
.fp-news-grid.wp-block-latest-posts li { width: auto !important; margin: 0 !important; background: #fff; border-radius: var(--fp-radius); border: 1px solid var(--fp-line); box-shadow: var(--fp-shadow-sm); padding: 22px 24px; display: flex; flex-direction: column; }
.fp-news-grid .wp-block-latest-posts__post-title { order: 2; font-weight: 700; font-size: 1.08rem; line-height: 1.6; color: var(--fp-ink); text-decoration: none; }
.fp-news-grid .wp-block-latest-posts__post-title:hover { color: var(--fp-green-700); }
.fp-news-grid .wp-block-latest-posts__post-date { order: 1; font-size: .85rem; color: var(--fp-muted); margin-bottom: 6px; }
.fp-news-grid .wp-block-latest-posts__post-excerpt { order: 3; font-size: .92rem; color: var(--fp-ink-soft); margin-top: 8px; }
.fp-news-grid .wp-block-latest-posts__featured-image { order: 0; margin: -22px -24px 16px; }

/* ---------- 17. お問い合わせ ---------- */
.fp-contact { position: relative; background: linear-gradient(160deg, var(--fp-green-700), var(--fp-green-900)); color: #fff; overflow: hidden; }
.fp-contact .fp-sec-label { color: #b8f0a8; }
.fp-contact .fp-sec-label::before, .fp-contact .fp-sec-label::after { background: #b8f0a8; }
.fp-section.fp-contact .fp-sec-title { color: #fff; }
.fp-contact .fp-sec-lead { color: rgba(255,255,255,.92); }
.fp-contact-actions.wp-block-buttons { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; max-width: 980px !important; }
.fp-contact-actions .wp-block-button { width: 100%; margin: 0; }
.fp-contact-actions .wp-block-button__link { width: 100%; min-height: 80px; font-size: 1.08rem; }
.fp-form-wrap { background: #fff; color: var(--fp-ink); border-radius: var(--fp-radius-lg); padding: 48px; max-width: 880px !important; box-shadow: 0 20px 50px rgba(0,0,0,.18); }
.fp-section .fp-form-wrap h3 { font-size: 1.5rem; text-align: center; }
.fp-form-lead { text-align: center; color: var(--fp-ink-soft); font-size: .95rem; margin: 6px 0 28px !important; }
.fp-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 24px; }
.fp-field { display: grid; gap: 8px; margin: 0; }
.fp-full { grid-column: 1 / -1; }
fieldset.fp-field { border: 0; padding: 0; min-width: 0; }
.fp-field label, .fp-field legend { font-weight: 700; font-size: 1rem; padding: 0; }
.fp-req, .fp-opt { font-size: .74rem; font-weight: 700; border-radius: 6px; padding: 1px 8px; margin-left: 6px; vertical-align: 2px; }
.fp-req { background: #b3261e; color: #fff; }
.fp-opt { background: #e8ece9; color: #4a5a50; }
.fp-form input[type="text"], .fp-form input[type="email"], .fp-form input[type="tel"], .fp-form textarea {
  width: 100%; min-height: 56px; padding: 12px 16px; font: inherit; font-size: 1.02rem; color: var(--fp-ink);
  border: 2px solid #c9d6cd; border-radius: 12px; background: #fbfdfb; box-sizing: border-box;
}
.fp-form textarea { min-height: 170px; resize: vertical; line-height: 1.7; }
.fp-form input:focus, .fp-form textarea:focus { outline: none; border-color: var(--fp-green-600); box-shadow: 0 0 0 4px rgba(26,143,69,.18); background: #fff; }
.fp-checks { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.fp-checks label { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 8px 18px; border: 2px solid #c9d6cd; border-radius: 12px; cursor: pointer; font-weight: 500; }
.fp-checks input, .fp-consent input { width: 22px; height: 22px; accent-color: var(--fp-green-700); margin: 0; }
.fp-checks label:has(input:checked) { border-color: var(--fp-green-600); background: var(--fp-green-50); }
.fp-consent { text-align: center; }
.fp-consent label { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; }
.fp-submit { text-align: center; }
.fp-submit button { min-width: 320px; min-height: 64px; padding: 14px 34px; border: 0; border-radius: 999px; background: var(--fp-orange); color: #fff; font: inherit; font-weight: 700; font-size: 1.08rem; cursor: pointer; box-shadow: 0 6px 16px rgba(217,101,30,.28); }
.fp-submit button:hover { background: var(--fp-orange-dk); }
.fp-form-status { text-align: center; font-weight: 700; border-radius: 12px; margin: 0; }
.fp-form-status.is-ok { background: var(--fp-green-50); color: var(--fp-green-800); padding: 14px; }
.fp-form-status.is-ng { background: #fdecea; color: #b3261e; padding: 14px; }

/* ---------- Contact Form 7 ---------- */
.fp-form-wrap + .fp-form-wrap { margin-top: 32px !important; }
.fp-form-notes { max-width: 640px; margin: -12px auto 28px !important; font-size: .9rem; color: var(--fp-ink-soft); }
.fp-form-notes li { position: relative; padding-left: 1.2em; }
.fp-form-notes li::before { content: "※"; position: absolute; left: 0; }
.fp-label { font-weight: 700; font-size: 1rem; }
.fp-hint { font-size: .88rem !important; color: var(--fp-muted); margin-top: -10px !important; }
.fp-form input[type="date"] {
  width: 100%; min-height: 56px; padding: 12px 16px; font: inherit; font-size: 1.02rem; color: var(--fp-ink);
  border: 2px solid #c9d6cd; border-radius: 12px; background: #fbfdfb; box-sizing: border-box;
}
.fp-form .wpcf7-form-control-wrap { display: block; }
.fp-form .wpcf7-radio, .fp-form .wpcf7-checkbox, .fp-form .wpcf7-acceptance { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.fp-form .wpcf7-list-item { margin: 0; }
.fp-form .wpcf7-radio label, .fp-form .wpcf7-checkbox label { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 8px 18px; border: 2px solid #c9d6cd; border-radius: 12px; cursor: pointer; font-weight: 500; background: #fff; }
.fp-form .wpcf7-radio label:has(input:checked), .fp-form .wpcf7-checkbox label:has(input:checked) { border-color: var(--fp-green-600); background: var(--fp-green-50); }
.fp-form .wpcf7-radio input, .fp-form .wpcf7-checkbox input, .fp-form .wpcf7-acceptance input { width: 22px; height: 22px; accent-color: var(--fp-green-700); margin: 0; }
.fp-form .fp-consent .wpcf7-acceptance { justify-content: center; }
.fp-form .wpcf7-acceptance label { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; }
.fp-form .fp-submit .wpcf7-submit { min-width: 320px; min-height: 64px; padding: 14px 34px; border: 0; border-radius: 999px; background: var(--fp-orange); color: #fff; font: inherit; font-weight: 700; font-size: 1.08rem; cursor: pointer; box-shadow: 0 6px 16px rgba(217,101,30,.28); }
.fp-form .fp-submit .wpcf7-submit:hover { background: var(--fp-orange-dk); }
.fp-form .fp-submit .wpcf7-submit:disabled { opacity: .5; cursor: not-allowed; }
.fp-form .wpcf7-not-valid { border-color: #b3261e !important; }
.fp-form .wpcf7-not-valid-tip { color: #b3261e; font-size: .9rem; font-weight: 700; margin-top: 6px; }
/* ブラウザ側とサーバー側のチェックで同じエラー文が2つ付く場合は1つだけ表示 */
.fp-form .wpcf7-not-valid-tip + .wpcf7-not-valid-tip { display: none; }
.fp-form-wrap .wpcf7 form .wpcf7-response-output { margin: 24px 0 0; padding: 14px 18px; border-radius: 12px; font-weight: 700; text-align: center; border-width: 2px; }
.fp-form-wrap .wpcf7 form.sent .wpcf7-response-output { border-color: var(--fp-green-600); background: var(--fp-green-50); color: var(--fp-green-800); }
.fp-form-wrap .wpcf7 form.invalid .wpcf7-response-output, .fp-form-wrap .wpcf7 form.failed .wpcf7-response-output, .fp-form-wrap .wpcf7 form.unaccepted .wpcf7-response-output { border-color: #b3261e; background: #fdecea; color: #b3261e; }
@media (max-width: 781px) { .fp-form .fp-submit .wpcf7-submit { min-width: 0; width: 100%; } }

/* ---------- 固定ページ本文（プライバシーポリシー等） ---------- */
.fp-prose { font-size: 17px; line-height: 1.95; }
.fp-prose h2 { font-size: 1.3rem; }

/* =========================================================
   ヘッダー・メニュー（Cocoon）
   ========================================================= */
.fp-site { font-family: var(--fp-font-body); }
.fp-site .header-in { min-height: 0; }
.fp-site .logo-header { padding: 14px 0 10px; }
.fp-site .logo-header img { height: 64px; width: auto; }
@media (min-width: 1024px) {
  .fp-site .navi-in > ul { display: flex; flex-wrap: wrap; justify-content: center; }
  .fp-site .navi-in > ul > li { width: auto; }
  .fp-site .navi-in > ul > li > a { padding: 0 13px; font-size: 14px; }
}
.fp-site .navi-in .fp-menu-cta > a { background: var(--fp-orange); color: #fff !important; border-radius: 999px; margin: 6px 8px; height: auto; padding: 4px 20px; }
.fp-site .navi-in .fp-menu-cta > a:hover { background: var(--fp-orange-dk); }
.fp-site .navi-in a { font-weight: 500; }
.fp-site .navi-in a:hover { color: var(--fp-green-700); }

/* =========================================================
   レスポンシブ
   ========================================================= */
@media (max-width: 1080px) {
  .fp-steps { grid-template-columns: 1fr; gap: 26px; max-width: 680px !important; }
  .fp-step { display: grid; grid-template-columns: 76px 1fr; gap: 4px 18px; text-align: left; padding: 22px 24px; align-items: center; }
  .fp-step-num { grid-row: span 2; text-align: center; }
  .fp-step-num::after, .fp-step::before { display: none; }
  .fp-step:not(:last-child)::after { right: auto; left: 50%; top: auto; bottom: -21px; transform: translateX(-50%) rotate(135deg); }
}
@media (max-width: 960px) {
  .fp-hero { padding: 36px 0 80px; }
  .fp-hero-cols { flex-direction: column-reverse; gap: 40px !important; }
  .fp-hero-visual { margin: 0 10px 30px; width: calc(100% - 20px); }
  .fp-hero-photo { border-radius: 28px 28px 28px 90px !important; }
  .fp-hero-subphoto { left: -10px; bottom: -34px; width: 40%; border-width: 4px; }
  .fp-hero-badge { right: -6px; top: 14px; padding: 10px 14px; }
  .fp-hero-badge strong { font-size: 1.2rem; }
  .fp-feature-grid { grid-template-columns: 1fr 1fr; }
  .fp-feature-card, .fp-feature-card:nth-child(4) { grid-column: auto; }
  .fp-feature-card:nth-child(5) { grid-column: 1 / -1; }
  .fp-work-grid { grid-template-columns: minmax(0, 1fr); }
  .fp-work-card.fp-is-featured { grid-template-columns: minmax(0, 1fr); }
  .fp-work-card.fp-is-featured .fp-work-photos { aspect-ratio: 16 / 9; min-height: 0; }
  .fp-work-card.fp-is-featured .fp-work-body { padding: 30px 28px 34px; }
  .fp-ai-gallery { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .fp-tool-cards, .fp-case-grid, .fp-voice-grid { grid-template-columns: 1fr; }
  .fp-it-program { grid-template-columns: 1fr; }
  .fp-it-photos { aspect-ratio: 2 / 1; }
  .fp-it-body { padding: 30px 26px; }
  .fp-works-grid { grid-template-columns: repeat(3, 1fr); }
  .fp-facility-grid { grid-template-columns: 1fr 1fr; }
  .fp-thumb-strip { grid-template-columns: repeat(4, 1fr); }
  .fp-staff-grid { grid-template-columns: minmax(0, 1fr); max-width: 560px !important; }
  .fp-news-grid.wp-block-latest-posts { grid-template-columns: 1fr 1fr; }
  .fp-route-steps { grid-template-columns: 1fr 1fr; }
  .fp-recommend-cols > .wp-block-column:first-child { flex-basis: 100% !important; }
}
@media (max-width: 781px) {
  .fp-hero-cols { flex-direction: column-reverse !important; }
  .fp-recommend-photo img { aspect-ratio: 16 / 10; }
  .fp-pickup { padding: 24px 20px; }
  .fp-contact-actions.wp-block-buttons { grid-template-columns: 1fr; }
  .fp-form-wrap { padding: 32px 20px; }
  .fp-form-grid { grid-template-columns: 1fr; }
  .fp-submit button { min-width: 0; width: 100%; }
}
@media (max-width: 640px) {
  .fp-hero, .fp-section { font-size: 17px; }
  .fp-section { padding: 72px 0; }
  .fp-sec-head { text-align: left; }
  .fp-hero .wp-block-button, .fp-hero .wp-block-button__link { width: 100%; }
  .fp-hero-sub br { display: none; }
  .fp-feature-grid { grid-template-columns: 1fr; gap: 16px; }
  .fp-feature-card:nth-child(5) { grid-column: auto; }
  .fp-feature-card { padding: 26px 22px 24px 104px; min-height: 120px; }
  .fp-feature-card::before { position: absolute; left: 22px; top: 26px; width: 64px; height: 64px; margin: 0; }
  .fp-feature-card::after { left: 38px; top: 42px; width: 32px; height: 32px; }
  .fp-section .fp-feature-card h3 { font-size: 1.12rem; padding-right: 30px; }
  .fp-feature-num { font-size: 1.6rem !important; top: 16px; right: 16px; }
  .fp-work-body, .fp-work-card.fp-is-featured .fp-work-body { padding: 24px 22px 28px; }
  .fp-recommend-list { grid-template-columns: 1fr; gap: 10px; }
  .fp-timeline::before { left: 69px; }
  .fp-tl-item { grid-template-columns: 58px 1fr; gap: 0 32px; }
  .fp-tl-item::before { left: 60px; }
  .fp-tl-time { font-size: .98rem; }
  .fp-wage-hero { grid-template-columns: 1fr; }
  .fp-works-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .fp-facility-grid { grid-template-columns: 1fr; }
  .fp-facility-item.fp-is-wide { grid-column: auto; }
  .fp-facility-item.fp-is-wide img { aspect-ratio: 4 / 3; }
  .fp-thumb-strip { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .fp-voice-card { padding: 24px 20px 22px; }
  .fp-section .fp-faq-item > summary { padding: 16px 48px 16px 62px; font-size: 1rem; }
  .fp-faq-item > summary::before { left: 14px; width: 34px; height: 34px; }
  .fp-faq-item > :not(summary) { padding: 2px 18px 20px 62px; }
  .fp-faq-item > p::before { left: 14px; width: 34px; height: 34px; }
  .fp-route-steps { grid-template-columns: 1fr; }
  .fp-route > :not(summary) { margin: 16px 14px 0 !important; }
  .fp-vision { padding: 30px 22px; text-align: left; }
  .fp-staff-grid, .fp-news-grid.wp-block-latest-posts { grid-template-columns: 1fr; }
  .fp-section .fp-company-table th, .fp-section .fp-company-table td { display: block; width: 100%; }
  .fp-section .fp-company-table th { border-bottom: 0; padding-bottom: 4px; }
}
@media (prefers-reduced-motion: reduce) {
  .fp-hero *, .fp-section * { transition: none !important; animation: none !important; }
}

/* =========================================================
   ブロックエディター内の表示調整
   ========================================================= */
.editor-styles-wrapper .fp-hero-subphoto { position: relative !important; left: 0; bottom: 0; width: 50%; margin-top: 12px !important; }
.editor-styles-wrapper .fp-hero-badge { position: static; display: inline-block; margin-top: 12px !important; }
