/*
Theme Name: nogi
Theme URI: https://nogi-yuko.com/
Author: nogi（村宮優子）
Description: nogi（村宮優子 公式サイト）専用テーマ。2026-08-20 確定のデザインカンプに基づく実装。
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: nogi
*/

/* =========================================================================
   nogi（村宮優子 公式サイト）  style.css
   デザインカンプ：nogi デザインカンプ.dc.html / nogi デザインカンプ SP.dc.html
   仕様書：実装引き継ぎ.md（2026-08-20 確定版）
   ========================================================================= */

/* -------------------------------------------------------------------------
   1. トークン
   ------------------------------------------------------------------------- */
:root {
  /* color */
  --c-green:        #4e6b5f;   /* プライマリ */
  --c-green-dark:   #3f584e;   /* プライマリ hover */
  --c-green-deep:   #1e3a30;   /* テキストリンク hover */
  --c-green-pale:   #8fa79a;   /* チェックマーク */
  --c-heading:      #3a4543;
  --c-text:         #5c5e5b;
  --c-text-strong:  #3d403c;
  --c-text-body:    #4a4d48;
  --c-text-sub:     #565a54;
  --c-muted:        #7e8a84;
  --c-muted-2:      #8a938d;
  --c-cream:        #f6f5ef;
  --c-header-bg:    rgba(251, 250, 247, .96);
  --c-white:        #ffffff;
  --c-line:         #e6e2d9;
  --c-line-2:       #e2e0d8;
  --c-line-3:       #e2ded3;
  --c-line-input:   #d9d4c8;
  --c-line-btn:     #b9b3a5;
  --c-rule:         #b9c3bd;
  --c-flow:         #b9b3a4;
  --c-footer-bg:    #3a4543;
  --c-footer-text:  #c4ccc8;
  --c-footer-dim:   #94a09a;
  --c-required:     #a5563a;
  --c-on-green:     #d6e2db;
  --c-on-green-dim: #bacfc5;

  /* type */
  --f-serif: 'Zen Old Mincho', 'Hiragino Mincho ProN', 'Yu Mincho', 'YuMincho', serif;
  --f-sans:  'Noto Sans JP', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', system-ui, sans-serif;
  --f-mono:  ui-monospace, Menlo, Consolas, monospace;

  /* layout */
  --maxw: 1080px;
  --gutter: 24px;
  --header-h: 80px;

  /* motion */
  --t: .2s ease;
}

/* -------------------------------------------------------------------------
   2. リセット・ベース
   ------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }

body {
  margin: 0;
  font-family: var(--f-sans);
  font-size: 15px;
  color: var(--c-text);
  background: var(--c-white);
  -webkit-font-smoothing: antialiased;
  line-height: 1.9;
}

img { max-width: 100%; border-style: none; }
h1, h2, h3, p, figure, ul, ol { margin: 0; padding: 0; }
ul, ol { list-style: none; }

a { color: var(--c-green); text-decoration: none; transition: color var(--t); }
a:hover { color: var(--c-green-deep); }

button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

:focus-visible { outline: 2px solid var(--c-green); outline-offset: 3px; }

.skip-link {
  position: absolute; left: 8px; top: -60px; z-index: 200;
  background: var(--c-green); color: #fff; padding: 12px 20px; font-size: 14px;
  transition: top var(--t);
}
.skip-link:focus { top: 8px; color: #fff; }

.u-sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px;
  padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* -------------------------------------------------------------------------
   3. 共通レイアウト
   ------------------------------------------------------------------------- */
/* 左右パディング：1440px 想定では calc((100% - 1080px)/2)、狭い画面では 24px */
.wrap { padding-inline: max(var(--gutter), calc((100% - var(--maxw)) / 2)); }

.section { padding-block: 96px; }
.section--cream { background: var(--c-cream); }
.section--green { background: var(--c-green); }

.narrow { max-width: 900px; margin-inline: auto; }

/* セクション見出し（h2 ＋ 英字ラベル） */
.sec-head {
  display: flex; align-items: baseline; gap: 18px;
  margin-bottom: 44px;
}
.sec-head__title {
  font: 600 30px/1.4 var(--f-serif);
  color: var(--c-heading);
}
.sec-head__label {
  font: 500 11.5px var(--f-mono);
  color: var(--c-muted-2);
  letter-spacing: .16em;
}
.section--green .sec-head__title { color: #fff; }
.section--green .sec-head__label { color: #9fb3a8; }

/* 下層ページの見出し帯 */
.page-head {
  padding-block: 80px 64px;
  background: var(--c-cream);
  text-align: center;
}
.page-head__label {
  font: 500 11.5px var(--f-mono);
  color: var(--c-muted-2);
  letter-spacing: .2em;
}
.page-head__title {
  margin-top: 14px;
  font: 600 38px/1.5 var(--f-serif);
  color: var(--c-heading);
}
.page-head__lead {
  margin-top: 22px;
  font-size: 15.5px;
  line-height: 2.1;
  color: var(--c-text);
}

/* -------------------------------------------------------------------------
   4. ボタン・リンク
   ------------------------------------------------------------------------- */
.btn {
  display: inline-block;
  font-size: 14.5px;
  letter-spacing: .04em;
  line-height: 1.5;
  text-align: center;
  border-radius: 0;
  transition: background-color var(--t), border-color var(--t), color var(--t);
}
.btn--primary { background: var(--c-green); color: #fff; padding: 17px 34px; }
.btn--primary:hover { background: var(--c-green-dark); color: #fff; }

.btn--ghost {
  border: 1px solid var(--c-line-btn);
  color: #2b2e2a;
  background: rgba(255, 255, 255, .7);
  padding: 17px 30px;
}
.btn--ghost:hover { border-color: var(--c-green); color: var(--c-green); background: #fff; }

.btn--cta { padding: 19px 52px; font-size: 15px; letter-spacing: .06em; }
.btn--block { display: block; width: 100%; }

/* テキストリンク（詳しく見る 等） */
.link-more {
  display: inline-block;
  padding-bottom: 4px;
  font-size: 14px;
  color: var(--c-green);
  border-bottom: 1px solid var(--c-green);
}
.link-more:hover { color: var(--c-green-deep); border-bottom-color: var(--c-green-deep); }
.link-more--on-green { color: var(--c-on-green); border-bottom-color: rgba(255, 255, 255, .4); }
.link-more--on-green:hover { color: #fff; border-bottom-color: #fff; }

/* -------------------------------------------------------------------------
   5. ヘッダー / グローバルナビ
   ------------------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  height: var(--header-h);
  background: var(--c-header-bg);
  border-bottom: 1px solid var(--c-line);
  transition: background-color .25s ease, border-color .25s ease;
}
.site-header__inner {
  display: flex; align-items: center; gap: 32px;
  height: 100%;
}
.site-header__logo { display: block; flex: none; }
.site-header__logo img { height: 44px; width: auto; display: block; }

.gnav { margin-left: auto; display: flex; align-items: center; }
.gnav__list {
  display: flex; align-items: center; gap: 36px;
  font-size: 14px; color: var(--c-text-strong);
}
.gnav__list a { color: inherit; }
.gnav__list a:hover { color: var(--c-green); }
.gnav__list a[aria-current="page"] { color: var(--c-green); font-weight: 500; }
.gnav__cta {
  margin-left: 36px;
  padding: 12px 24px;
  border-radius: 2px;
  font-size: 13.5px;
  letter-spacing: .04em;
}
.gnav__foot { display: none; }
.gnav__item--sp { display: none; }
.gnav__label--sp { display: none; }

/* ハンバーガー */
.nav-toggle { display: none; }

/* -------------------------------------------------------------------------
   6. フッター
   ------------------------------------------------------------------------- */
.site-footer {
  padding-block: 44px;
  background: var(--c-footer-bg);
  color: var(--c-footer-text);
  font-size: 13px;
}
.site-footer__inner { display: flex; align-items: center; gap: 36px; }
.site-footer__logo img {
  height: 40px; width: auto; display: block;
  filter: brightness(0) invert(1); opacity: .9;
}
.site-footer__nav { display: flex; gap: 28px; margin-left: auto; align-items: center; }
.site-footer a { color: var(--c-footer-text); }
.site-footer a:hover { color: #fff; }
.site-footer__sns { display: inline-flex; align-items: center; }
.site-footer__sns svg { display: block; }
.site-footer__copy { font: 11px var(--f-mono); color: var(--c-footer-dim); }

/* -------------------------------------------------------------------------
   7. TOP：ファーストビュー
   ------------------------------------------------------------------------- */
.hero {
  position: relative;
  height: 640px;
  overflow: hidden;
  background: var(--c-cream);
}
.hero__img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 10%;
  transform: scale(1.14) translateX(5%);
  transform-origin: center;
}
.hero__veil { display: none; }
.hero__inner {
  position: relative;
  height: 100%;
  display: flex; flex-direction: column; justify-content: center;
  gap: 26px;
  padding-inline: max(var(--gutter), calc((100% - var(--maxw)) / 2)) 0;
}
.hero__label {
  font: 500 12.5px/1 var(--f-sans);
  letter-spacing: .22em;
  color: var(--c-muted);
}
.hero__title {
  font: 600 50px/1.5 var(--f-serif);
  color: var(--c-heading);
  letter-spacing: .02em;
  white-space: nowrap;
}
.hero__name { font-size: 14px; line-height: 2; color: var(--c-text); }
.hero__name strong { display: block; color: var(--c-heading); font-size: 16px; font-weight: 500; }
.hero__cta { display: flex; gap: 14px; padding-top: 6px; }

/* -------------------------------------------------------------------------
   8. TOP：課題〜提供価値
   ------------------------------------------------------------------------- */
.issue { display: flex; flex-direction: column; gap: 36px; }
.issue__title {
  text-align: center;
  font: 600 30px/1.6 var(--f-serif);
  color: var(--c-heading);
}
.issue__rule { width: 56px; height: 1px; background: var(--c-rule); margin: -12px auto 4px; }
.issue__list { max-width: 460px; margin-inline: auto; width: 100%; }
.issue__item {
  display: flex; gap: 22px; align-items: center;
  padding: 22px 8px;
  border-bottom: 1px solid var(--c-line-2);
  font-size: 16px; line-height: 1.9;
  color: var(--c-text-body);
}
.issue__item::before {
  content: "✓";
  flex: none;
  color: var(--c-green-pale);
  font-size: 17px;
}
.issue__turn {
  text-align: center;
  font: 600 26px/1.8 var(--f-serif);
  color: var(--c-green);
  padding-top: 8px;
}
.change-cards {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  padding-top: 20px;
}
.card-top {
  background: var(--c-white);
  border-top: 2px solid var(--c-green);
  padding: 30px 26px;
}
.card-top__title { font: 600 20px/1.5 var(--f-serif); color: var(--c-heading); }
.card-top__body { margin-top: 12px; font-size: 14px; line-height: 1.9; color: var(--c-text-sub); }

/* -------------------------------------------------------------------------
   9. TOP：提供サービス
   ------------------------------------------------------------------------- */
.svc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.svc-card__img { width: 100%; height: 250px; object-fit: cover; display: block; }
.svc-card__title { margin-top: 24px; font: 600 22px/1.5 var(--f-serif); color: var(--c-heading); }
.svc-card__body { margin-top: 14px; font-size: 14.5px; line-height: 2; color: var(--c-text); }
.svc-card .link-more { margin-top: 18px; }

/* -------------------------------------------------------------------------
   10. TOP：お客様の声（濃色面）
   ------------------------------------------------------------------------- */
.section--green { padding-block: 88px; color: #f2f1ec; }
.voice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.voice-card { background: rgba(255, 255, 255, .07); padding: 32px 34px; }
.voice-card__meta { font-size: 12.5px; letter-spacing: .08em; color: var(--c-on-green-dim); }
.voice-card__text { margin-top: 14px; font: 600 19px/1.9 var(--f-serif); color: #fff; }
.section--green .link-more { margin-top: 32px; }

/* -------------------------------------------------------------------------
   11. TOP：プロフィール節
   ------------------------------------------------------------------------- */
.profile-brief {
  display: grid;
  grid-template-columns: 420px 1fr;
  grid-template-areas: "media head" "media text";
  gap: 0 64px;
  align-items: center;
}
.profile-brief__media { grid-area: media; }
.profile-brief .sec-head { grid-area: head; }
.profile-brief__text { grid-area: text; }
.profile-brief__img { width: 100%; height: 460px; object-fit: cover; object-position: center 30%; display: block; }
.profile-brief .sec-head { margin-bottom: 28px; }
.profile-brief__name { font: 600 24px/1.6 var(--f-serif); color: var(--c-heading); }
.profile-brief__role { margin-top: 10px; font-size: 13.5px; letter-spacing: .04em; color: var(--c-muted); }
.profile-brief__body { margin-top: 22px; font-size: 15px; line-height: 2.1; color: var(--c-text); }
.profile-brief .link-more { margin-top: 26px; }

/* -------------------------------------------------------------------------
   12. 共通 CTA
   ------------------------------------------------------------------------- */
.cta { padding-block: 88px 96px; text-align: center; }
.cta__title { font: 600 30px/1.7 var(--f-serif); color: var(--c-heading); }
.cta--sub .cta__title { font-size: 28px; }
.cta__lead { margin-top: 16px; font-size: 15px; line-height: 2; color: var(--c-text); }
.cta__btn { margin-top: 30px; }

/* -------------------------------------------------------------------------
   13. サービスページ
   ------------------------------------------------------------------------- */
.svc-detail {
  display: grid;
  gap: 0 56px;
  align-items: start;
  padding-block: 88px;
}
.svc-detail--img-left {
  grid-template-columns: 560px 1fr;
  grid-template-areas: "media head" "media body";
}
.svc-detail--img-right {
  grid-template-columns: 1fr 560px;
  grid-template-areas: "head media" "body media";
  padding-block: 0 88px;
}
.svc-detail__media { grid-area: media; }
.svc-detail__head { grid-area: head; }
.svc-detail__body-wrap { grid-area: body; }
.svc-detail__img { width: 100%; height: 360px; object-fit: cover; display: block; }
.svc-detail__num { font: 500 11.5px var(--f-mono); color: var(--c-muted-2); letter-spacing: .16em; }
.svc-detail__title { margin-top: 10px; font: 600 28px/1.5 var(--f-serif); color: var(--c-heading); }
.svc-detail__body { margin-top: 18px; font-size: 15px; line-height: 2.1; color: var(--c-text); }

.box {
  margin-top: 28px;
  border: 1px solid var(--c-line);
  background: #fff;
  padding: 28px 30px;
}
.box__title { font: 600 16px var(--f-serif); color: var(--c-heading); }
.dash-list {
  margin-top: 16px;
  display: flex; flex-direction: column; gap: 12px;
  font-size: 14.5px; line-height: 1.8; color: var(--c-text-strong);
}
.dash-list li { display: flex; gap: 12px; }
.dash-list li::before { content: "—"; flex: none; color: var(--c-green); }

.mini-cards { margin-top: 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.mini-card { border: 1px solid var(--c-line); background: #fff; padding: 24px 26px; }
.mini-card__title { font: 600 16px/1.5 var(--f-serif); color: var(--c-heading); }
.mini-card__body { margin-top: 12px; font-size: 13.5px; line-height: 1.9; color: var(--c-text-sub); }

/* ご利用の流れ（矢羽フロー） */
.flow { position: relative; }
.flow__svg { display: block; width: 100%; height: auto; }
.flow__svg--sp { display: none; }
.flow__steps { position: absolute; inset: 0; display: flex; }
.flow__step {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 8px;
  padding-left: 14px;
  text-align: center;
}
.flow__step:nth-child(-n+3) { width: 24.444%; }
.flow__step:nth-child(4)    { width: 26.481%; }
.flow__step-num { font: 600 11.5px var(--f-mono); color: var(--c-muted-2); letter-spacing: .12em; }
.flow__step-title { font: 600 18px/1.5 var(--f-serif); color: var(--c-heading); }

/* -------------------------------------------------------------------------
   14. 実績・お客様の声ページ
   ------------------------------------------------------------------------- */
.works-hero { width: 100%; height: 420px; object-fit: cover; object-position: center 55%; display: block; }

.works-list { border-bottom: 1px solid var(--c-line-3); }
.works-year {
  display: grid; grid-template-columns: 130px 1fr; gap: 24px;
  padding-block: 28px;
  border-top: 1px solid var(--c-line-3);
  font-size: 15px; line-height: 1.9; color: var(--c-text-strong);
}
.works-year__label { color: var(--c-green); font-weight: 600; }

.voice-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.voice-quote {
  background: var(--c-white);
  border-top: 2px solid var(--c-green);
  padding: 32px 34px;
}
.voice-quote__text { font-size: 15px; line-height: 2; color: var(--c-text-strong); }
.voice-quote__by { margin-top: 16px; font-size: 12.5px; color: var(--c-muted); font-style: normal; }

/* -------------------------------------------------------------------------
   15. プロフィールページ
   ------------------------------------------------------------------------- */
.pf-story {
  display: grid; grid-template-columns: 420px 1fr; gap: 56px;
  align-items: stretch;
  background: #fff;
}
.pf-story__img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; display: block; }
.pf-story__body {
  padding-block: 88px;
  display: flex; flex-direction: column; gap: 26px;
  font-size: 15px; line-height: 2.2; color: var(--c-text);
}
.pf-story__body > p:first-of-type { font-size: 15.5px; line-height: 2.3; color: var(--c-text-strong); }
.pf-story__h { font: 600 22px/1.65 var(--f-serif); color: var(--c-green); margin-bottom: -10px; }
.pf-story__h + .pf-story__h,
.pf-story__body > .pf-story__h:not(:first-child) { margin-top: 16px; }

.pf-band {
  padding-block: 64px;
  background: var(--c-green);
  color: #fff;
  display: flex; align-items: flex-end; justify-content: center; gap: 80px;
}
.pf-band__role { font-size: 14px; line-height: 2; color: var(--c-on-green); }
.pf-band__name { flex: none; font: 600 30px/1.5 var(--f-serif); color: #fff; }

.pf-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.pf-cols .sec-head { margin-bottom: 28px; gap: 16px; }
.pf-cols .sec-head__title { font: 600 26px var(--f-serif); }
.pf-cols .sec-head__label { font-size: 11px; }

.career { border-bottom: 1px solid var(--c-line); }
.career li {
  display: flex; gap: 24px;
  padding-block: 16px;
  border-top: 1px solid var(--c-line);
  font-size: 14.5px; line-height: 1.9; color: var(--c-text-strong);
}
.career__year {
  width: 52px; flex: none;
  color: var(--c-muted);
  font-family: var(--f-mono);
  font-size: 13px;
}
.credentials {
  background: var(--c-cream);
  padding: 28px 30px;
  font-size: 14.5px; line-height: 2.2; color: var(--c-text-strong);
}
.pf-cols .link-more { margin-top: 18px; }

.insta-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.insta-grid__item {
  height: 180px;
  background: repeating-linear-gradient(45deg, #e7e3da 0 8px, #f1eee7 8px 16px);
}

/* -------------------------------------------------------------------------
   16. お問い合わせページ
   ------------------------------------------------------------------------- */
.contact-layout {
  display: grid; grid-template-columns: 1fr 380px; gap: 64px;
  align-items: start;
  padding-block: 72px 88px;
}
.form { display: flex; flex-direction: column; gap: 26px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.form__label {
  display: block;
  font-size: 13.5px; color: #33362f; letter-spacing: .04em;
}
.form__req { color: var(--c-required); }
.form__control,
.form input[type="text"],
.form input[type="tel"],
.form input[type="email"],
.form textarea {
  display: block; width: 100%;
  margin-top: 9px;
  height: 52px;
  padding: 0 16px;
  border: 1px solid var(--c-line-input);
  border-radius: 0;
  background: #fff;
  font-family: inherit; font-size: 15px; color: var(--c-text-strong);
  transition: border-color var(--t);
}
.form textarea {
  height: 170px;
  padding: 14px 16px;
  line-height: 1.9;
  resize: vertical;
}
.form input:focus, .form textarea:focus { border-color: var(--c-green); }

.chips { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 12px; }
.chip { display: block; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span {
  display: block;
  border: 1px solid var(--c-line-input);
  background: #fff;
  padding: 12px 20px;
  font-size: 13.5px;
  color: var(--c-text-strong);
  cursor: pointer;
  transition: background-color var(--t), border-color var(--t), color var(--t);
}
.chip span:hover { border-color: var(--c-green); }
.chip input:checked + span { border-color: var(--c-green); background: var(--c-green); color: #fff; }
.chip input:focus-visible + span { outline: 2px solid var(--c-green); outline-offset: 3px; }

.agree { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--c-text-strong); }
.agree input {
  width: 16px; height: 16px; flex: none;
  margin: 0;
  accent-color: var(--c-green);
}
.agree a { border-bottom: 1px solid var(--c-green); }

.contact-note { background: var(--c-cream); padding: 34px 32px; }
.contact-note__title { font: 600 20px/1.5 var(--f-serif); color: var(--c-heading); }
.contact-note__list {
  margin-top: 20px;
  display: flex; flex-direction: column; gap: 16px;
  font-size: 14px; line-height: 1.95; color: var(--c-text);
}
.contact-note__list li { display: flex; gap: 6px; }
.contact-note__list li::before { content: "・"; flex: none; }

/* -------------------------------------------------------------------------
   17. 汎用テキストページ（プライバシーポリシー）
   ------------------------------------------------------------------------- */
.doc { max-width: 860px; margin-inline: auto; }
.doc h2 { margin-top: 48px; font: 600 22px/1.6 var(--f-serif); color: var(--c-heading); }
.doc h2:first-child { margin-top: 0; }
.doc p { margin-top: 14px; font-size: 15px; line-height: 2.1; color: var(--c-text); }
.doc ul { margin-top: 14px; }
.doc ul li { display: flex; gap: 10px; font-size: 15px; line-height: 2.1; color: var(--c-text); }
.doc ul li::before { content: "・"; flex: none; }
.doc__todo {
  margin-bottom: 40px;
  border: 1px solid var(--c-required);
  padding: 20px 24px;
  font-size: 14px; line-height: 1.9; color: var(--c-required);
}

/* -------------------------------------------------------------------------
   18. フェードイン（控えめ）
   ------------------------------------------------------------------------- */
/* JS が有効なときだけ初期状態を隠す（JS 無効時はそのまま表示） */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .7s ease, transform .7s ease;
}
.js [data-reveal].is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* =========================================================================
   19. SP（〜768px）
   ========================================================================= */
@media (max-width: 768px) {
  :root { --header-h: 60px; }

  body { font-size: 14.5px; }

  .wrap { padding-inline: var(--gutter); }
  .section { padding-block: 56px; }
  .narrow { max-width: none; }

  /* ---- ヘッダー ---- */
  .site-header__inner { gap: 0; padding-inline: 20px; }
  .site-header__logo img { height: 34px; }

  .nav-toggle {
    display: block;
    position: relative; z-index: 2;
    margin-left: auto;
    width: 24px; height: 24px;
    padding: 0;
  }
  .nav-toggle span {
    position: absolute; left: 0;
    display: block; width: 24px; height: 1.5px;
    background: var(--c-text-strong);
    transition: transform .25s ease, opacity .2s ease;
  }
  .nav-toggle span:nth-child(1) { top: 5px; }
  .nav-toggle span:nth-child(2) { top: 11px; }
  .nav-toggle span:nth-child(3) { top: 17px; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { top: 11px; transform: rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { top: 11px; transform: rotate(-45deg); }

  .gnav {
    position: fixed; inset: var(--header-h) 0 0;
    z-index: 90;
    margin: 0;
    align-items: stretch;
    background: var(--c-cream);
    display: flex; flex-direction: column;
    padding: 34px var(--gutter) 44px;
    overflow-y: auto;
    opacity: 0; visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .25s ease, transform .25s ease, visibility .25s;
  }
  .gnav.is-open { opacity: 1; visibility: visible; transform: none; }

  .gnav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .gnav__item { border-bottom: 1px solid #dcd7cb; }
  .gnav__item--sp { display: block; }
  .gnav__item a {
    display: block;
    padding: 22px 2px;
    font: 600 20px var(--f-serif);
    color: var(--c-heading);
  }
  .gnav__item--minor { border-bottom: 0; }
  .gnav__item--minor a { font: 400 13.5px var(--f-sans); color: var(--c-muted); }
  .gnav__label--pc { display: none; }
  .gnav__label--sp { display: inline; }

  .gnav__cta { display: none; }
  .gnav__foot {
    display: flex; flex-direction: column; gap: 24px;
    margin-top: auto; padding-top: 40px;
  }
  .gnav__foot .btn { padding: 18px; font-size: 14.5px; letter-spacing: .06em; }
  .gnav__foot svg { display: block; }

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

  /* ---- TOP FV（ヘッダーを写真に重ねる） ---- */
  body.is-home .site-header {
    background: transparent;
    border-bottom-color: transparent;
  }
  body.is-home .site-header.is-stuck,
  body.is-home .site-header.is-nav-active {
    background: var(--c-header-bg);
    border-bottom-color: var(--c-line);
  }
  body.is-home .hero { margin-top: calc(var(--header-h) * -1); }

  .hero { height: 560px; }
  .hero__img {
    object-position: 42% 4%;
    transform: scaleX(-1) translateX(-16%) translateY(-6%) scale(.99);
  }
  .hero__veil { display: block; position: absolute; inset: 0; background: rgba(255, 255, 255, .08); }
  .hero__inner {
    position: absolute; left: 0; right: 0; bottom: 0;
    height: auto;
    gap: 18px;
    padding: 104px var(--gutter) 34px;
    background: linear-gradient(180deg,
      rgba(251, 250, 247, 0) 0px,
      rgba(251, 250, 247, .5) 72px,
      rgba(251, 250, 247, .93) 112px,
      rgba(251, 250, 247, .98) 100%);
  }
  .hero__label { font-size: 10.5px; letter-spacing: .2em; }
  .hero__title { font-size: 24px; line-height: 1.85; letter-spacing: 0; }
  .hero__name { font-size: 12.5px; line-height: 1.9; color: var(--c-muted); }
  .hero__name strong { font-size: 14.5px; }
  .hero__cta { flex-direction: column; gap: 11px; padding-top: 4px; }
  .hero__cta .btn--primary { padding: 17px; }
  .hero__cta .btn--ghost { padding: 16px; }

  /* ---- 下層見出し帯 ---- */
  .page-head { padding-block: 48px 44px; }
  .page-head__title { font-size: 27px; margin-top: 12px; }
  .page-head__label { font-size: 10.5px; }
  .page-head__lead { margin-top: 16px; font-size: 14.5px; }

  /* ---- セクション見出し ---- */
  .sec-head { gap: 14px; margin-bottom: 26px; }
  .sec-head__title { font-size: 22px; }
  .sec-head__label { font-size: 10.5px; }

  /* ---- 課題ブロック ---- */
  .section--issue { padding-block: 56px 60px; }
  .issue { gap: 26px; }
  .issue__title { font-size: 22px; }
  .issue__rule { width: 44px; margin: -10px auto 0; }
  .issue__item { gap: 14px; align-items: flex-start; padding: 16px 2px; font-size: 14.5px; line-height: 1.85; }
  .issue__item::before { font-size: 15px; }
  .issue__turn { font-size: 20px; line-height: 1.85; padding-top: 6px; }
  .change-cards { grid-template-columns: 1fr; gap: 14px; padding-top: 8px; }
  .card-top { padding: 24px 22px; }
  .card-top__title { font-size: 18px; }
  .card-top__body { margin-top: 10px; font-size: 13.5px; }

  /* ---- 提供サービス ---- */
  .svc-grid { grid-template-columns: 1fr; gap: 36px; }
  .svc-card__img { height: 190px; }
  .svc-card__title { margin-top: 18px; font-size: 19px; }
  .svc-card__body { margin-top: 12px; font-size: 14px; }
  .svc-card .link-more { margin-top: 16px; font-size: 13.5px; }

  /* ---- 声（濃色面） ---- */
  .section--green { padding-block: 52px 56px; }
  .voice-grid { grid-template-columns: 1fr; gap: 16px; }
  .voice-card { padding: 24px 22px; }
  .voice-card__meta { font-size: 11.5px; }
  .voice-card__text { margin-top: 12px; font-size: 16.5px; line-height: 1.95; }
  .section--green .link-more { margin-top: 24px; font-size: 13.5px; }

  /* ---- TOP プロフィール節 ---- */
  .profile-brief {
    grid-template-columns: 1fr;
    grid-template-areas: "head" "media" "text";
    gap: 0;
  }
  .profile-brief__img { height: 300px; object-position: center 8%; }
  .profile-brief__text { margin-top: 22px; }
  .profile-brief .sec-head { margin-bottom: 24px; }
  .profile-brief__name { font-size: 21px; }
  .profile-brief__role { margin-top: 8px; font-size: 12.5px; line-height: 1.9; }
  .profile-brief__body { margin-top: 18px; font-size: 14.5px; }
  .profile-brief .link-more { margin-top: 22px; font-size: 13.5px; }

  /* ---- CTA ---- */
  .cta { padding-block: 52px 60px; }
  .cta__title, .cta--sub .cta__title { font-size: 21px; line-height: 1.8; }
  .cta__lead { margin-top: 14px; font-size: 14px; }
  .cta__btn { margin-top: 26px; }
  .cta__btn .btn { display: block; width: 100%; padding: 18px; font-size: 14.5px; }

  /* ---- サービス詳細 ---- */
  .svc-detail,
  .svc-detail--img-left,
  .svc-detail--img-right {
    grid-template-columns: 1fr;
    grid-template-areas: "head" "media" "body";
    gap: 0;
  }
  .svc-detail { padding-block: 52px 44px; }
  .svc-detail--img-right { padding-block: 0 52px; }
  .svc-detail__img { height: 200px; margin-top: 20px; }
  .svc-detail__num { font-size: 10.5px; }
  .svc-detail__title { margin-top: 8px; font-size: 23px; }
  .svc-detail__body { margin-top: 18px; font-size: 14.5px; }
  .box { margin-top: 22px; padding: 22px 20px; }
  .box__title { font-size: 15px; }
  .dash-list { margin-top: 14px; font-size: 14px; line-height: 1.85; }
  .dash-list li { gap: 10px; }
  .mini-cards { grid-template-columns: 1fr; gap: 14px; margin-top: 22px; }
  .mini-card { padding: 22px 20px; }
  .mini-card__title { font-size: 15.5px; }

  /* ---- フロー（縦積み） ---- */
  .flow__svg--pc { display: none; }
  .flow__svg--sp { display: block; }
  .flow__steps { flex-direction: column; }
  .flow__step,
  .flow__step:nth-child(-n+3),
  .flow__step:nth-child(4) {
    width: 100%; height: 25%;
    padding-left: 0; padding-bottom: 14px;
    gap: 5px;
  }
  .flow__step-num { font-size: 10.5px; }
  .flow__step-title { font-size: 16.5px; }

  /* ---- 実績ページ ---- */
  .works-hero { height: 220px; object-position: 58% 62%; }
  .works-year { grid-template-columns: 1fr; gap: 10px; padding-block: 22px; font-size: 14.5px; }
  .works-year__label { font-size: 12.5px; }
  .voice-cards { grid-template-columns: 1fr; gap: 14px; }
  .voice-quote { padding: 24px 22px; }
  .voice-quote__text { font-size: 14px; }
  .voice-quote__by { margin-top: 12px; font-size: 12px; }

  /* ---- プロフィールページ ---- */
  .pf-story { grid-template-columns: 1fr; gap: 0; }
  .pf-story__img { height: 320px; object-position: center 8%; }
  .pf-story__body { padding-block: 48px 52px; gap: 22px; font-size: 14.5px; line-height: 2.15; }
  .pf-story__body > p:first-of-type { font-size: 14.5px; line-height: 2.15; }
  .pf-story__h { font-size: 18px; margin-bottom: -8px; }
  .pf-story__body > .pf-story__h:not(:first-child) { margin-top: 14px; }

  .pf-band { flex-direction: column; align-items: flex-start; gap: 14px; padding-block: 40px 44px; }
  .pf-band__role { font-size: 13px; }
  .pf-band__name { font-size: 23px; }

  .pf-cols { grid-template-columns: 1fr; gap: 40px; }
  .pf-cols .sec-head { margin-bottom: 18px; }
  .pf-cols .sec-head__title { font-size: 21px; }
  .career li { gap: 16px; padding-block: 14px; font-size: 13.5px; }
  .career__year { width: 38px; font-size: 12px; padding-top: 2px; }
  .credentials { padding: 24px 22px; font-size: 13.5px; }
  .pf-cols .link-more { margin-top: 16px; font-size: 13.5px; }

  .insta-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .insta-grid__item { height: 158px; }

  /* ---- お問い合わせ ---- */
  .contact-layout { grid-template-columns: 1fr; gap: 0; padding-block: 44px 48px; }
  .form { gap: 22px; }
  .form__row { grid-template-columns: 1fr; gap: 22px; }
  .form__label { font-size: 13px; }
  .form__control, .form input, .form textarea { margin-top: 8px; }
  .form textarea { height: 150px; }
  .chips { flex-direction: column; gap: 10px; margin-top: 10px; }
  .chip span { padding: 14px 18px; }
  .agree { align-items: flex-start; line-height: 1.7; font-size: 13px; }
  .agree input { margin-top: 3px; }
  .form .btn { display: block; width: 100%; padding: 18px; font-size: 14.5px; }
  .contact-note { margin-top: 12px; padding: 26px 22px; }
  .contact-note__title { font-size: 17px; }
  .contact-note__list { margin-top: 16px; gap: 14px; font-size: 13.5px; }

  /* ---- フッター ---- */
  .site-footer { padding: 36px var(--gutter) 40px; }
  .site-footer__inner { flex-direction: column; align-items: flex-start; gap: 22px; }
  .site-footer__logo img { height: 34px; }
  .site-footer__nav { flex-direction: column; align-items: flex-start; gap: 14px; margin-left: 0; line-height: 1; }
  .site-footer__sns { order: 1; }
}

/* 中間幅（769〜1128px）：1080px コンテナに収まらない領域の微調整 */
@media (min-width: 769px) and (max-width: 1128px) {
  .svc-detail--img-left { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .svc-detail--img-right { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .profile-brief { grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: 40px; }
  .pf-story { grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: 40px; }
  .pf-band { gap: 40px; }
  .contact-layout { grid-template-columns: minmax(0, 1fr) minmax(0, 320px); gap: 40px; }
  .hero__title { font-size: 42px; }
}

/* 実績一覧内のダッシュリストは box 内と異なり上マージン不要 */
.works-year .dash-list { margin-top: 0; }

/* フォーム内 fieldset / legend のリセット */
.form fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.form legend { display: block; padding: 0; }
.chip { position: relative; }

/* -------------------------------------------------------------------------
   20. 追補：レスポンシブ用の改行・微調整
   ------------------------------------------------------------------------- */
/* デザインカンプに合わせた改行位置の出し分け */
.br-sp { display: none; }
.br-pc { display: inline; }

/* 送信ボタンはカンプ準拠で左右 60px */
.form .btn--cta { padding: 19px 60px; }

@media (max-width: 768px) {
  .br-sp { display: inline; }
  .br-pc { display: none; }

  /* プロフィールページ FV：SPは全幅写真（左右余白なし） */
  .pf-story { padding-inline: 0; }
  .pf-story__body { padding-inline: var(--gutter); }
}

/* プライバシーポリシー等の本文ページ */
.doc__lead { font-size: 15px; line-height: 2.1; color: var(--c-text); }
.doc__meta { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--c-line); font-size: 14px; line-height: 2; color: var(--c-muted); }

/* =========================================================================
   21. Contact Form 7（WordPress用）
   ========================================================================= */
.wpcf7 { margin: 0; }
.wpcf7-form { display: flex; flex-direction: column; gap: 26px; }
.wpcf7-form > p { margin: 0; }
.wpcf7-form .form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.wpcf7-form-control-wrap { display: block; }

.wpcf7-form input[type="text"],
.wpcf7-form input[type="tel"],
.wpcf7-form input[type="email"],
.wpcf7-form textarea {
  display: block; width: 100%;
  margin-top: 9px;
  height: 52px;
  padding: 0 16px;
  border: 1px solid var(--c-line-input);
  border-radius: 0;
  background: #fff;
  font-family: inherit; font-size: 15px; color: var(--c-text-strong);
  transition: border-color var(--t);
  -webkit-appearance: none; appearance: none;
}
.wpcf7-form textarea { height: 170px; padding: 14px 16px; line-height: 1.9; resize: vertical; }
.wpcf7-form input:focus, .wpcf7-form textarea:focus { border-color: var(--c-green); outline: none; }

/* 種別（ラジオ／チェックボックス）をチップUIに */
.wpcf7-form .wpcf7-radio,
.wpcf7-form .wpcf7-checkbox { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 12px; }
.wpcf7-form .wpcf7-radio .wpcf7-list-item,
.wpcf7-form .wpcf7-checkbox .wpcf7-list-item { margin: 0; }
.wpcf7-form .wpcf7-radio label,
.wpcf7-form .wpcf7-checkbox label { display: block; position: relative; margin: 0; }
.wpcf7-form .wpcf7-radio input,
.wpcf7-form .wpcf7-checkbox input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.wpcf7-form .wpcf7-radio .wpcf7-list-item-label,
.wpcf7-form .wpcf7-checkbox .wpcf7-list-item-label {
  display: block;
  border: 1px solid var(--c-line-input);
  background: #fff;
  padding: 12px 20px;
  font-size: 13.5px;
  color: var(--c-text-strong);
  cursor: pointer;
  transition: background-color var(--t), border-color var(--t), color var(--t);
}
.wpcf7-form .wpcf7-radio .wpcf7-list-item-label:hover,
.wpcf7-form .wpcf7-checkbox .wpcf7-list-item-label:hover { border-color: var(--c-green); }
.wpcf7-form .wpcf7-radio input:checked + .wpcf7-list-item-label,
.wpcf7-form .wpcf7-checkbox input:checked + .wpcf7-list-item-label {
  border-color: var(--c-green); background: var(--c-green); color: #fff;
}
.wpcf7-form .wpcf7-radio input:focus-visible + .wpcf7-list-item-label,
.wpcf7-form .wpcf7-checkbox input:focus-visible + .wpcf7-list-item-label {
  outline: 2px solid var(--c-green); outline-offset: 3px;
}

/* 同意チェック（acceptance） */
.wpcf7-form .agree { font-size: 13.5px; color: var(--c-text-strong); }
.wpcf7-form .agree .wpcf7-list-item { margin: 0; }
.wpcf7-form .agree label { display: flex; align-items: center; gap: 10px; margin: 0; cursor: pointer; }
.wpcf7-form .agree input[type="checkbox"] {
  position: static; opacity: 1;
  width: 16px; height: 16px; flex: none; margin: 0;
  accent-color: var(--c-green);
}
.wpcf7-form .agree .wpcf7-list-item-label { border: 0; padding: 0; background: none; font-size: 13.5px; }
.wpcf7-form .agree a { border-bottom: 1px solid var(--c-green); }

/* 送信ボタン */
.wpcf7-form input[type="submit"] {
  border: 0; border-radius: 0; cursor: pointer;
  background: var(--c-green); color: #fff;
  padding: 19px 60px;
  font-family: inherit; font-size: 15px; letter-spacing: .06em;
  transition: background-color var(--t);
  -webkit-appearance: none; appearance: none;
}
.wpcf7-form input[type="submit"]:hover { background: var(--c-green-dark); }
.wpcf7-spinner { margin-left: 12px; }

/* バリデーション表示 */
.wpcf7-not-valid-tip { display: block; margin-top: 8px; font-size: 13px; color: var(--c-required); }
.wpcf7-form input.wpcf7-not-valid, .wpcf7-form textarea.wpcf7-not-valid { border-color: var(--c-required); }
.wpcf7-response-output {
  margin: 24px 0 0 !important;
  padding: 16px 20px !important;
  border-width: 1px !important;
  font-size: 14px; line-height: 1.9;
}

@media (max-width: 768px) {
  .wpcf7-form { gap: 22px; }
  .wpcf7-form .form__row { grid-template-columns: 1fr; gap: 22px; }
  .wpcf7-form input[type="text"],
  .wpcf7-form input[type="tel"],
  .wpcf7-form input[type="email"],
  .wpcf7-form textarea { margin-top: 8px; }
  .wpcf7-form textarea { height: 150px; }
  .wpcf7-form .wpcf7-radio,
  .wpcf7-form .wpcf7-checkbox { flex-direction: column; gap: 10px; margin-top: 10px; }
  .wpcf7-form .wpcf7-radio .wpcf7-list-item-label,
  .wpcf7-form .wpcf7-checkbox .wpcf7-list-item-label { padding: 14px 18px; }
  .wpcf7-form .agree { line-height: 1.7; font-size: 13px; }
  .wpcf7-form .agree label { align-items: flex-start; }
  .wpcf7-form .agree input[type="checkbox"] { margin-top: 3px; }
  .wpcf7-form input[type="submit"] { display: block; width: 100%; padding: 18px; font-size: 14.5px; }
}

/* -------------------------------------------------------------------------
   22. 提供サービスが1件だけのときのレイアウト（.svc-grid--single）
       ※「個別サポート」を復活させると自動的に通常の2カラムへ戻ります
   ------------------------------------------------------------------------- */
.svc-grid--single { grid-template-columns: 1fr; }
.svc-grid--single .svc-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.svc-grid--single .svc-card__img { height: 320px; }
.svc-grid--single .svc-card__title { margin-top: 0; }

@media (max-width: 768px) {
  .svc-grid--single .svc-card { display: block; }
  .svc-grid--single .svc-card__img { height: 190px; }
  .svc-grid--single .svc-card__title { margin-top: 18px; }
}
