@charset "UTF-8";
/*
    Template: swell
    Theme Name: SWELL CHILD
    Theme URI: https://swell-theme.com/
    Description: SWELLの子テーマ
    Version: 1.0.0
    Author: LOOS WEB STUDIO
    Author URI: https://loos-web-studio.com/

    License: GNU General Public License
    License URI: http://www.gnu.org/licenses/gpl.html
*/

/* =====================================================================
   ちから商会 公式サイト — 子テーマの見た目
   貼り先: 外観 → テーマファイルエディター → SWELL CHILD → style.css（丸ごと置き換え）
   元のカンプ: projects/ちから商会/公式サイト/デザイン案/湯河原町企業サイト設計_8/
   値の出どころ: カンプの実測（30_要件定義.md 追記 2026-09-29）

   ⛔ ここに書かないもの
   - text-wrap: balance（日本語で語中改行を起こす。品質標準で禁止）
   - <br> に頼った改行（改行は .nb と .ln で指定する。下の「改行」）

   切り替えの幅
   - スマホ   〜767px   … カンプ SP（375px）
   - 中間     768〜1199px … PCの書体の大きさのまま、横に並ばないものは縦に積む
   - PC      1200px〜  … カンプ PC（1440px）そのまま
   ===================================================================== */

/* ---------- 1. 色・書体・幅 ---------- */
:root {
  --cs-ink: #1a1a1a;
  --cs-text: #3f3f3f;
  --cs-sub: #717171;
  --cs-line: #d9d9d9;
  --cs-yellow: #fcc800;
  --cs-kinari: #f9f7f2;
  --cs-kinari2: #ece5d6;
  --cs-sep: #c9bfa8;
  --cs-dark: #282828;
  --cs-sans: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  --cs-min: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --cs-num: "Barlow Condensed", "Noto Sans JP", sans-serif;
  --cs-w: min(1120px, calc(100% - 80px));
  --cs-bounce: cubic-bezier(0.68, -0.6, 0.32, 2);

  /* SWELL本体の色を上書き（カスタマイザーの色設定より、こちらが優先される） */
  --swl-font_family: var(--cs-sans);
  --swl-font_weight: 400;
  --color_main: #1a1a1a;
  --color_text: #3f3f3f;
  --color_link: #1a1a1a;
  --color_htag: #1a1a1a;
  --color_bg: #ffffff;
  --color_header_bg: #ffffff;
  --color_header_text: #1a1a1a;
  --color_footer_bg: #f9f7f2;
  --color_footer_text: #3f3f3f;
}
@media (max-width: 767px) {
  :root { --cs-w: calc(100% - 40px); }
}

/* ---------- 2. サイト全体 ---------- */
body {
  font-family: var(--cs-sans);
  font-weight: 400;
  color: var(--cs-text);
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
}
/* 太い字は500だけ読んでいる。700を指定すると別の書体に落ちるので、500に揃える */
b, strong, th, dt,
.post_content h3, .post_content h4 { font-weight: 500; }

/* 改行: 文節を .nb で包み、PCの行を .ln で指定する（<br> は使わない）
   .nb … 途中で折らない塊（文節）
   .ln … 768px以上で1行として扱う塊。中は .nb で包むので、幅が足りなければ文節の切れ目で折れる */
.nb { display: inline-block; }
.ln { display: block; }
@media (max-width: 767px) {
  .ln { display: inline; }
  .ln.nb { display: inline-block; }
}
p, li { text-wrap: pretty; word-break: auto-phrase; }

/* ---------- 3. ヘッダー（SWELLのものを使い、見た目だけ合わせる） ---------- */
.l-header__bar,
#fix_header { display: none !important; }
#header {
  background: #ffffff;
  box-shadow: none;
  border: 0;
}
#header .l-header__inner {
  width: var(--cs-w);
  max-width: none;
  margin: 0 auto;
  padding: 18px 0 16px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  border-bottom: 1px solid var(--cs-line);
}
/* SWELLはスマホで屋号を右へ回し（order:2）中央寄せにする。左に戻す */
#header .l-header__logo { order: 0; padding: 0; line-height: 1; text-align: left; }
#header .l-header__gnav { order: 1; }
/* SWELLはスマホでヘッダーを画面上に貼り付ける。カンプは貼り付けない（下の追従ボタンがあるため） */
#header[data-spfix="1"] { position: relative; }
#header .c-headLogo { height: auto; margin: 0; }
#header .c-headLogo__link {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 0;
  font-family: var(--cs-min);
  font-size: 22px;
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: 0.08em;
  color: var(--cs-ink);
}
#header .c-headLogo__link::after {
  content: "CHIKARA SHOKAI";
  font-family: var(--cs-num);
  font-size: 13px;
  line-height: 1;
  letter-spacing: 0.34em;
  color: var(--cs-sub);
}
#header .l-header__customBtn,
#header .l-header__menuBtn { display: none !important; }
#header .l-header__gnav { display: block; margin-left: auto; height: auto; }
#header .c-gnav { display: flex; align-items: center; gap: 28px; height: auto; }
#header .c-gnav > .menu-item { height: auto; }
#header .c-gnav > .menu-item > a {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  height: auto;
  padding: 0;
  font-size: 15px;
  line-height: 1.95;
  letter-spacing: 0.06em;
  color: var(--cs-text);
}
#header .c-gnav > .menu-item > a::after { content: none; }
#header .c-gnav > .menu-item > a .ttl { font-size: inherit; line-height: inherit; }
#header .c-gnav > .menu-item > a .c-smallNavTitle { display: none; }
/* メニューの最後の1つ（お問い合わせ）を丸い枠のボタンにする */
#header .c-gnav > .menu-item:last-child > a {
  border: 1px solid var(--cs-ink);
  border-radius: 999px;
  padding: 11px 22px;
  color: var(--cs-ink);
  transition: padding 0.6s var(--cs-bounce);
}
#header .c-gnav > .menu-item:last-child > a::after {
  content: "→";
  position: static;
  width: auto;
  height: auto;
  background: none;
  transform: none;
  font-family: var(--cs-num);
}
#header .c-gnav > .menu-item:last-child > a:hover { padding: 11px 34px; }
#header .c-gnav > .menu-item:not(:last-child) > a:hover { color: var(--cs-sub); }

@media (max-width: 767px) {
  #header .l-header__inner { padding: 12px 0 10px; }
  #header .c-headLogo__link { gap: 2px; font-size: 19px; letter-spacing: 0.1em; }
  #header .c-headLogo__link::after { font-size: 12px; letter-spacing: 0.3em; }
  #header .c-gnav > .menu-item > a { font-size: 14px; letter-spacing: 0.04em; padding: 8px 0; line-height: 1.95; }
  /* スマホは画面下に「お問い合わせ」が常にあるので、ヘッダーには出さない */
  #header .c-gnav > .menu-item:last-child:not(:first-child) { display: none; }
}

/* SWELLの「ページの先頭へ」の丸ボタンは出さない（カンプに無い部品。reCAPTCHAのマーク・フッターのリンクと重なった。すだち Gate 7 B） */
.p-fixBtnWrap { display: none !important; }
/* SWELLのスマホ用メニュー（開くボタンを隠しているので開かない）。Tabで中に入らないように消す（すだち Gate 7 H） */
#sp_menu { display: none !important; }

/* ---------- 4. フッター（functions.php が出す .cs-footer を使う。SWELLのフッターは隠す） ---------- */
#footer { display: none; }
.cs-footer { background: var(--cs-kinari); padding: 56px 0; }
.cs-footer__inner {
  width: var(--cs-w);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
}
.cs-footer__id { display: flex; flex-direction: column; gap: 10px; }
.cs-footer__name { font-family: var(--cs-min); font-size: 22px; line-height: 1.3; letter-spacing: 0.06em; color: var(--cs-ink); }
.cs-footer__area { font-size: 15px; line-height: 1.95; color: var(--cs-text); }
.cs-footer__mail { font-family: var(--cs-num); font-size: 17px; line-height: 1.95; letter-spacing: 0.06em; color: var(--cs-text); }
.cs-footer__nav { display: flex; align-items: center; gap: 0 24px; padding-top: 6px; font-size: 13px; line-height: 1.95; color: var(--cs-sub); }
.cs-footer__nav a { color: var(--cs-sub); text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }
.cs-footer__nav a:hover { color: var(--cs-ink); }
@media (max-width: 767px) {
  .cs-footer { padding: 40px 0; }
  .cs-footer__inner { display: block; }
  .cs-footer__id { gap: 0; }
  .cs-footer__name { font-size: 19px; letter-spacing: 0.1em; }
  .cs-footer__area { margin-top: 10px; font-size: 14px; line-height: 1.6; }
  .cs-footer__mail { margin-top: 4px; font-size: 16px; line-height: 1.6; }
  .cs-footer__nav { margin-top: 24px; padding-top: 6px; border-top: 1px solid var(--cs-line); gap: 0 12px; font-size: 12px; }
}

/* ---------- 5. スマホの追従ボタン（functions.php が出す） ---------- */
.cs-fixcta { display: none; }
@media (max-width: 767px) {
  .cs-fixcta {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 90;
    height: calc(56px + env(safe-area-inset-bottom, 0px));
    padding-bottom: env(safe-area-inset-bottom, 0px);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--cs-yellow);
    color: var(--cs-ink);
    font-size: 16px;
    letter-spacing: 0.08em;
    text-decoration: none;
  }
  .cs-fixcta::after { content: "→"; font-family: var(--cs-num); font-size: 18px; }
  .cs-fixcta:hover { color: var(--cs-ink); }
  body:has(.cs-fixcta) { padding-bottom: calc(56px + env(safe-area-inset-bottom, 0px)); }
  body:has(.cs-fixcta) .p-fixBtnWrap { bottom: calc(56px + 16px + env(safe-area-inset-bottom, 0px)); }
  body:has(.cs-fixcta) .grecaptcha-badge { bottom: calc(56px + 14px) !important; }
}

/* ---------- 6. 固定ページの土台（SWELLの余白・幅をはずす） ---------- */
.home #main_visual,
.home #post_slider { display: none; }
/* SWELLはトップにだけ「.top #content{padding-top:4em}」をページ内に書き出す。IDで書かれているのでIDで打ち消す */
.page #content.l-content { padding-top: 0; margin-bottom: 0; }
.page .l-mainContent__inner > .post_content { margin: 0; }
/* サイドバーが残っていても崩れないように（本来は設定でOFFにする） */
.page #sidebar { display: none; }
.page.-sidebar-on .l-content { display: block; }
.page.-sidebar-on .l-mainContent { width: 100%; }
.page.-sidebar-on .l-content .alignfull { left: calc(50% - 50vw + var(--swl-scrollbar_width, 0px) / 2); }

.page .post_content {
  font-size: 17px;
  line-height: 1.95;
  letter-spacing: 0.045em;
  color: var(--cs-text);
}
@media (max-width: 767px) {
  .page .post_content { font-size: 16px; letter-spacing: 0.035em; }
}

/* トップの節の外枠
   SWELLは「サイドバーなし」のとき、全幅ブロックを「本文幅＋32px」までしか広げない
   （.-sidebar-off .l-content .alignfull）。画面の端から端まで広げ直す */
.page .post_content > .cs-hero,
.page .post_content > .cs-pillars,
.page .post_content > .cs-sec,
.page .post_content > .cs-sub { margin: 0; }
.page .l-content .post_content > .alignfull:is(.cs-hero, .cs-pillars, .cs-sec, .cs-sub) {
  position: relative;
  left: calc(50% - 50vw + var(--swl-scrollbar_width, 0px) / 2) !important;
  width: calc(100vw - var(--swl-scrollbar_width, 0px)) !important;
  max-width: none !important;
}
.page .post_content > .cs-sec--05 { margin-top: -1px; }
.page :is(.cs-hero, .cs-pillars, .cs-sec, .cs-sub) > .wp-block-group__inner-container {
  width: var(--cs-w);
  max-width: none;
  margin: 0 auto;
}
/* 節の中は余白をいったん0にして、下で1つずつ付け直す（SWELLの「下に2em」を消す） */
.page :is(.cs-hero, .cs-pillars, .cs-sec, .cs-sub) * { margin: 0; }
.page :is(.cs-hero, .cs-pillars, .cs-sec, .cs-sub) .wp-block-group__inner-container > * { margin-bottom: 0; }

/* ---------- 7. 部品 ---------- */

/* 見出しの書体（SWELLの見出しの飾りを消す） */
.page :is(.cs-hero, .cs-sec, .cs-sub) :is(h1, h2) {
  font-family: var(--cs-min);
  font-weight: 500;
  color: var(--cs-ink);
  background: none;
  border: 0;
  padding: 0;
  position: static;
}
.page :is(.cs-hero, .cs-sec, .cs-sub) :is(h1, h2)::before,
.page :is(.cs-hero, .cs-sec, .cs-sub) :is(h1, h2)::after { content: none; }
.page .ff-min, .page .ff-min p { font-family: var(--cs-min); }
.page .fw-md, .page .fw-md p, .page .fw-md li { font-weight: 500; }

/* 節の番号 01〜05 */
.page .cs-num {
  font-family: var(--cs-num);
  font-weight: 600;
  font-size: 88px;
  line-height: 0.8;
  color: var(--cs-yellow);
  letter-spacing: 0;
  flex: none;
}
/* 節の見出し（番号の右に並べる） */
.page .cs-head > .wp-block-group__inner-container {
  display: flex;
  align-items: baseline;
  gap: 28px;
}
.page .cs-head.is-stack > .wp-block-group__inner-container { display: block; }
.page .cs-head.is-stack .cs-head__title { margin-top: 24px; }
.page .cs-head__title {
  font-size: 32px;
  line-height: 1.5;
  letter-spacing: 0.07em;
}

/* 黄色いボタン */
.page .cs-btns { display: flex; gap: 16px; }
.page .cs-btn { margin: 0; }
.page .cs-btn .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 15px 30px;
  border: 0;
  border-radius: 999px;
  background: var(--cs-yellow);
  color: var(--cs-ink);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.95;
  letter-spacing: 0.06em;
  text-decoration: none;
  box-shadow: none;
  opacity: 1;
  transition: padding 0.6s var(--cs-bounce);
}
.page .cs-btn .wp-block-button__link::after {
  content: "→";
  font-family: var(--cs-num);
  font-size: 17px;
  display: inline-block;
}
.page .cs-btn .wp-block-button__link:hover { padding: 15px 44px; color: var(--cs-ink); opacity: 1; }
.page .cs-btn.is-large .wp-block-button__link { padding: 16px 32px; font-size: 17px; }
.page .cs-btn.is-large .wp-block-button__link::after { font-size: 19px; }
.page .cs-btn.is-large .wp-block-button__link:hover { padding: 16px 48px; }

/* 下線つきの文字リンク（料金を見る →） */
.page .cs-textlink { font-size: 15px; line-height: 1.95; letter-spacing: 0.06em; }
.page .cs-textlink a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--cs-ink);
  color: var(--cs-ink);
  text-decoration: none;
}
.page .cs-textlink a::after { content: "→"; font-family: var(--cs-num); }
.page .cs-textlink a:hover { color: var(--cs-sub); }

/* 本文の型 */
.page .cs-sec .cs-lead { max-width: 640px; font-size: 15px; line-height: 1.8; color: var(--cs-text); }
.page .cs-sec .cs-note { max-width: 640px; font-size: 15px; line-height: 1.8; color: var(--cs-sub); }
.page .cs-sec .cs-pull {
  max-width: 900px;
  padding-left: 28px;
  border-left: 3px solid var(--cs-yellow);
  font-family: var(--cs-min);
  font-size: 32px;
  line-height: 1.5;
  letter-spacing: 0.02em;
  color: var(--cs-ink);
}

/* ---------- 8. トップ ---------- */

/* 1画面目 */
.page .cs-hero { background: #ffffff; }
.page .cs-hero > .wp-block-group__inner-container {
  display: grid;
  grid-template-columns: 6fr 4fr;
  gap: 56px;
  align-items: start;
  padding: 48px 0 38px;
}
.page .cs-hero__title {
  font-size: clamp(40px, 3.889vw, 56px);
  line-height: 1.5;
  letter-spacing: 0.07em;
}
.page .cs-hero__side > .wp-block-group__inner-container {
  display: flex;
  flex-direction: column;
  gap: 22px;
  max-width: 640px;
  padding-top: 10px;
}
.page .cs-hero__lead { font-size: 17px; line-height: 1.8; color: var(--cs-ink); }
.page .cs-hero .cs-btns { align-self: flex-start; }
.page .cs-hero__note {
  padding-top: 12px;
  border-top: 1px solid var(--cs-line);
  font-size: 15px;
  line-height: 1.8;
  color: var(--cs-text);
}

/* 事業の柱5つ ＋ 黄の帯 */
.page .cs-pillars { background: #ffffff; }
.page .cs-pillars::after { content: ""; display: block; height: 8px; background: var(--cs-yellow); }
.page .cs-pillars .cs-pillars__list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--cs-line);
}
.page .cs-pillars .cs-pillars__list li {
  padding: 22px 0 20px;
  list-style: none;
  text-align: center;
  font-size: 17px;
  line-height: 1.3;
  letter-spacing: 0.16em;
  color: var(--cs-ink);
  transition: background 0.4s ease;
}
.page .cs-pillars .cs-pillars__list li::before,
.page .cs-pillars .cs-pillars__list li::marker { content: none; }
.page .cs-pillars .cs-pillars__list li + li { border-left: 1px solid var(--cs-line); }
.page .cs-pillars .cs-pillars__list li:hover { background: var(--cs-kinari); }

/* 01 足りないのは、やる気ではなく人です。 */
.page .cs-sec--01 { background: var(--cs-kinari); padding: 100px 0; }
.page .cs-sec--01 .cs-head { max-width: 760px; }
.page .cs-voices { margin-top: 56px; }
.page .cs-voices > .wp-block-group__inner-container { display: flex; flex-direction: column; }
.page .cs-voices .cs-voice {
  padding: 26px 0;
  border-top: 1px solid var(--cs-line);
  font-family: var(--cs-min);
  font-size: 22px;
  line-height: 1.7;
  letter-spacing: 0.03em;
  color: var(--cs-ink);
}
.page .cs-voices .cs-voice:nth-child(1) { margin-left: 10.357%; max-width: 720px; }
.page .cs-voices .cs-voice:nth-child(2) { margin-left: 17.857%; max-width: 840px; }
.page .cs-voices .cs-voice:nth-child(3) { margin-left: 5.357%;  max-width: 760px; }
.page .cs-voices .cs-voice:nth-child(4) { margin-left: 32.143%; max-width: 680px; border-bottom: 1px solid var(--cs-line); }
.page .cs-kakko { font-size: 1.4em; }
.page .cs-sec--01 .cs-note { margin: 48px 0 0 18.214%; }
.page .cs-sec--01 .cs-pull { margin: 76px 0 0 10.357%; }

/* 02 会社の一日は、これだけの手作業でできています。 */
.page .cs-sec--02 {
  background: var(--cs-kinari2);
  padding: 100px 0 148px;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 64px), 0 100%);
}
.page .cs-sec--02 .cs-lead { margin: 32px 0 0 10.357%; }
.page .cs-marquee {
  position: relative;
  width: calc(100vw - var(--swl-scrollbar_width, 0px));
  margin: 60px 0 0 calc(50% - 50vw + var(--swl-scrollbar_width, 0px) / 2) !important;
  padding-top: 4px;
  overflow: hidden;
  background: #ffffff;
}
.page .cs-marquee__row { border-top: 1px solid var(--cs-line); }
.page .cs-marquee__row:first-child { border-top: 0; }
.page .cs-marquee__row:last-child { border-bottom: 1px solid var(--cs-line); }
.page .cs-marquee__row > .wp-block-group__inner-container {
  display: flex;
  align-items: baseline;
  flex-wrap: nowrap;
  width: max-content;
  padding: 10px 0;
  will-change: transform;
}
.page .cs-marquee__row p {
  flex: none;
  white-space: nowrap;
  font-size: 15px;
  line-height: 1.4;
  letter-spacing: 0.04em;
  color: var(--cs-ink);
}
.page .cs-marquee__row p::before {
  content: "";
  display: inline-block;
  width: 1px;
  height: 16px;
  margin: 0 24px;
  background: var(--cs-sep);
  vertical-align: baseline;
}
/* 流れる帯を止めるボタン（functions.php が出す。WCAG 2.2.2。動きを減らす設定の人には出さない） */
.page .cs-sec--02 .cs-mq-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  margin: 4px 0 0 auto;
  padding: 0;
  border: 0;
  background: none;
  font-family: var(--cs-sans);
  font-size: 13px;
  line-height: 1.6;
  letter-spacing: 0.04em;
  color: var(--cs-text);
  cursor: pointer;
}
.page .cs-sec--02 .cs-mq-toggle::before {
  content: "";
  width: 8px;
  height: 10px;
  border-left: 2px solid currentColor;
  border-right: 2px solid currentColor;
  box-sizing: border-box;
}
.page .cs-sec--02 .cs-mq-toggle[data-paused="true"]::before {
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 8px solid currentColor;
  border-right: 0;
}
.page .cs-sec--02 .cs-mq-toggle:hover { color: var(--cs-ink); text-decoration: underline; text-underline-offset: 3px; }
.page .cs-sec--02 .cs-mq-toggle:focus-visible { outline: 2px solid var(--cs-ink); outline-offset: 2px; }
.page .cs-sec--02 .cs-pull { margin-top: 64px; }
.page .cs-sec--02 .cs-lead--after { margin: 40px 0 0 31px; }

/* 03 気になっている一か所を、直すところから始められます。 */
.page .cs-sec--03 { background: #ffffff; padding: 60px 0 100px; }
.page .cs-sec--03 > .wp-block-group__inner-container {
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: 72px;
  align-items: start;
}
.page .cs-sec--03 .cs-num { display: block; }
.page .cs-sec03__intro .cs-lead { margin-top: 24px; }
.page .cs-sec03__body > .wp-block-group__inner-container { display: flex; flex-direction: column; }
.page .cs-craft { padding-bottom: 24px; }
.page .cs-craft .cs-craft__title {
  margin-bottom: 10px;
  font-size: 19px;
  line-height: 1.5;
  letter-spacing: 0.06em;
  color: var(--cs-ink);
}
.page .cs-craft .cs-craft__text { font-size: 17px; line-height: 1.8; color: var(--cs-text); }
.page .cs-sec03__body .cs-why {
  padding-top: 24px;
  border-top: 1px solid var(--cs-line);
  font-size: 19px;
  line-height: 1.8;
  letter-spacing: 0.02em;
  color: var(--cs-ink);
}
.page .cs-sec03__body .cs-price { margin-top: 36px; padding: 28px 36px 32px; background: var(--cs-yellow); }
.page .cs-price .cs-price__row { padding: 20px 0 14px; border-top: 1px solid var(--cs-ink); }
.page .cs-price .cs-price__row:first-child { padding: 14px 0; border-top: 0; }
.page .cs-price .cs-price__row:last-child { padding: 20px 0 0; }
.page .cs-price__row > .wp-block-group__inner-container {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
}
.page .cs-price .cs-price__label {
  padding-bottom: 12px;
  font-size: 19px;
  line-height: 1.4;
  letter-spacing: 0.1em;
  color: var(--cs-ink);
}
.page .cs-price .cs-price__amount {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  font-size: 19px;
  line-height: 1.95;
  letter-spacing: 0.06em;
  color: var(--cs-ink);
  white-space: nowrap;
}
.page .cs-price .cs-price__num {
  font-family: var(--cs-num);
  font-weight: 600;
  font-size: 88px;
  line-height: 0.78;
  letter-spacing: 0;
}
.page .cs-sec03__body .cs-tax { margin-top: 12px; font-size: 13px; line-height: 1.7; color: var(--cs-sub); }
.page .cs-sec03__body .cs-textlink { align-self: flex-start; margin-top: 20px; }

/* 04 直したその先に、事業が伸びて、利益が残るところまで。 */
.page .cs-sec--04 { background: var(--cs-kinari2); padding: 100px 0; }
.page .cs-sec--04 .cs-lead { margin: 32px 0 0 10.357%; }
.page .cs-goals { margin-top: 72px; }
.page .cs-goals > .wp-block-group__inner-container { display: grid; grid-template-columns: repeat(4, 1fr); }
.page .cs-goal { padding: 20px 24px 0; border-top: 1px solid var(--cs-ink); text-align: center; }
.page .cs-goal + .cs-goal { border-left: 1px solid var(--cs-line); }
.page .cs-goal .cs-goal__title { font-size: 15px; line-height: 1.7; letter-spacing: 0.06em; color: var(--cs-ink); }
.page .cs-goal .cs-goal__text { margin-top: 8px; font-size: 15px; line-height: 1.8; color: var(--cs-text); }
.page .cs-illust { margin-top: 64px; aspect-ratio: 16 / 5; overflow: hidden; }
.page .cs-illust img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* 05 近くで、話せる相手でありたい。 */
.page .cs-sec--05 {
  position: relative;
  isolation: isolate;
  padding: 152px 0 100px;
  background: var(--cs-kinari2);
  color: var(--cs-kinari);
}
.page .cs-sec--05::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--cs-dark);
  clip-path: polygon(0 72px, 100% 0, 100% 100%, 0 100%);
}
.page .cs-sec--05 .cs-head__title { color: var(--cs-kinari); }
.page .cs-profile { margin-top: 48px; }
.page .cs-profile > .wp-block-group__inner-container {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 56px;
  align-items: start;
}
.page .cs-portrait { width: 300px; aspect-ratio: 3 / 4; overflow: hidden; }
.page .cs-portrait img { display: block; width: 100%; height: 100%; object-fit: cover; }
.page .cs-profile .cs-profile__name {
  margin-top: 20px;
  font-size: 17px;
  line-height: 1.3;
  letter-spacing: 0.1em;
  color: var(--cs-kinari);
}
.page .cs-profile__body > .wp-block-group__inner-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 640px;
}
.page .cs-profile__body p { font-size: 15px; line-height: 1.8; color: var(--cs-kinari2); }
.page .cs-profile__body .cs-close {
  margin-top: 40px;
  font-size: 32px;
  line-height: 1.5;
  letter-spacing: 0.02em;
  color: var(--cs-kinari);
}
.page .cs-profile__body .cs-btns { align-self: flex-start; margin-top: 12px; }

/* ---------- 9. 中間の幅（768〜1199px）: 横に並ばないものを縦に積む ---------- */
@media (min-width: 768px) and (max-width: 1199px) {
  .page .cs-hero > .wp-block-group__inner-container { grid-template-columns: 1fr; gap: 32px; }
  .page .cs-pillars .cs-pillars__list li { font-size: 15px; letter-spacing: 0.08em; }
  .page .cs-sec--03 > .wp-block-group__inner-container { grid-template-columns: 1fr; gap: 48px; }
  .page .cs-goals > .wp-block-group__inner-container { grid-template-columns: repeat(2, 1fr); row-gap: 32px; }
  .page .cs-goal + .cs-goal { border-left: 0; }
  .page .cs-goal:nth-child(even) { border-left: 1px solid var(--cs-line); }
  .page .cs-profile > .wp-block-group__inner-container { grid-template-columns: 240px 1fr; gap: 40px; }
  .page .cs-portrait { width: 240px; }
  .page .cs-profile__body .cs-close { font-size: 26px; }
}

/* ---------- 10. スマホ（〜767px） ---------- */
@media (max-width: 767px) {
  .page .cs-num { font-size: 56px; }
  .page .cs-head > .wp-block-group__inner-container { display: block; }
  .page .cs-head .cs-num { display: block; }
  .page .cs-head .cs-head__title,
  .page .cs-head.is-stack .cs-head__title {
    margin-top: 16px;
    font-size: 22px;
    line-height: 1.6;
    letter-spacing: 0.05em;
  }
  .page .cs-btn .wp-block-button__link { padding: 13px 24px; gap: 10px; font-size: 14px; letter-spacing: 0.04em; }
  .page .cs-btn .wp-block-button__link::after { font-size: 16px; }
  .page .cs-btn .wp-block-button__link:hover { padding: 13px 36px; }
  .page .cs-btn.is-large .wp-block-button__link { padding: 14px 26px; font-size: 14px; }
  .page .cs-btn.is-large .wp-block-button__link::after { font-size: 16px; }
  .page .cs-btn.is-large .wp-block-button__link:hover { padding: 14px 40px; }
  .page .cs-textlink { font-size: 14px; letter-spacing: 0.04em; }
  .page .cs-textlink a { gap: 8px; }
  .page .cs-sec .cs-lead,
  .page .cs-sec .cs-note { font-size: 14px; }
  .page .cs-sec .cs-pull { padding-left: 16px; font-size: 20px; line-height: 1.6; }

  /* 1画面目 */
  .page .cs-hero > .wp-block-group__inner-container { display: block; padding: 16px 0 12px; }
  .page .cs-hero__title { font-size: min(40px, 10.66vw); line-height: 1.24; letter-spacing: 0.015em; }
  .page .cs-hero__side { margin-top: 14px; }
  .page .cs-hero__side > .wp-block-group__inner-container { display: block; padding-top: 0; }
  .page .cs-hero__lead { font-size: 16px; }
  .page .cs-hero__lead + .cs-hero__lead { margin-top: 8px; }
  .page .cs-hero .cs-btns { margin-top: 12px; }
  .page .cs-hero__note { margin-top: 16px; padding-top: 10px; font-size: 14px; }

  /* 柱: 3つと2つの2段に分ける */
  .page .cs-pillars::after { height: 6px; }
  .page .cs-pillars .cs-pillars__list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    column-gap: 16px;
    row-gap: 5px;
    padding: 14px 0;
  }
  .page .cs-pillars .cs-pillars__list::after { content: ""; order: 2; flex-basis: 100%; height: 0; }
  .page .cs-pillars .cs-pillars__list li {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    padding: 0;
    font-size: 15px;
    letter-spacing: 0.08em;
    white-space: nowrap;
    order: 1;
  }
  .page .cs-pillars .cs-pillars__list li:nth-child(n+4) { order: 3; }
  .page .cs-pillars .cs-pillars__list li + li { border-left: 0; }
  .page .cs-pillars .cs-pillars__list li:not(:first-child):not(:nth-child(4))::before {
    content: "";
    display: block;
    width: 1px;
    height: 14px;
    background: var(--cs-line);
  }
  .page .cs-pillars .cs-pillars__list li:hover { background: none; }

  /* 01 */
  .page .cs-sec--01 { padding: 64px 0; }
  .page .cs-voices { margin-top: 32px; }
  .page .cs-voices .cs-voice,
  .page .cs-voices .cs-voice:nth-child(n) {
    margin-left: 0;
    max-width: none;
    padding: 18px 0;
    font-size: 17px;
    letter-spacing: 0.02em;
  }
  .page .cs-kakko { font-size: 1.35em; }
  .page .cs-sec--01 .cs-note { margin: 36px 0 0; }
  .page .cs-sec--01 .cs-pull { margin: 44px 0 0; }

  /* 02 */
  .page .cs-sec--02 { padding: 64px 0 92px; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 40px), 0 100%); }
  .page .cs-sec--02 .cs-lead { margin: 20px 0 0; }
  .page .cs-marquee { margin-top: 36px !important; padding-top: 0; }
  .page .cs-marquee__row > .wp-block-group__inner-container { padding: 8px 0; }
  .page .cs-marquee__row p::before { height: 14px; margin: 0 16px; }
  .page .cs-sec--02 .cs-pull { margin-top: 40px; font-size: 22px; letter-spacing: 0.02em; }
  .page .cs-sec--02 .cs-lead--after { margin: 28px 0 0; }

  /* 03 */
  .page .cs-sec--03 { padding: 40px 0 64px; }
  .page .cs-sec--03 > .wp-block-group__inner-container { display: block; }
  .page .cs-sec03__intro .cs-lead { margin-top: 18px; }
  .page .cs-sec03__body { margin-top: 32px; }
  .page .cs-craft { padding-bottom: 20px; }
  .page .cs-craft .cs-craft__title { margin-bottom: 8px; font-size: 16px; line-height: 1.3; font-weight: 400; }
  .page .cs-craft .cs-craft__text { font-size: 16px; }
  .page .cs-sec03__body .cs-why { padding-top: 20px; font-size: 16px; letter-spacing: 0.035em; }
  .page .cs-sec03__body .cs-price { margin: 28px -20px 0; padding: 18px 20px 20px; }
  .page .cs-price .cs-price__row { padding: 14px 0 12px; }
  .page .cs-price .cs-price__row:first-child { padding: 10px 0 12px; }
  .page .cs-price .cs-price__row:last-child { padding: 14px 0 0; }
  .page .cs-price__row > .wp-block-group__inner-container { gap: 12px; }
  .page .cs-price .cs-price__label { padding-bottom: 6px; font-size: 16px; letter-spacing: 0.08em; }
  .page .cs-price .cs-price__amount { gap: 6px; font-size: 16px; }
  .page .cs-price .cs-price__num { font-size: 64px; }
  .page .cs-sec03__body .cs-textlink { margin-top: 18px; }

  /* 04 */
  .page .cs-sec--04 { padding: 64px 0; }
  .page .cs-sec--04 .cs-lead { margin: 20px 0 0; }
  .page .cs-goals { margin-top: 36px; }
  .page .cs-goals > .wp-block-group__inner-container { grid-template-columns: 1fr; gap: 24px 16px; }
  .page .cs-goal { padding: 12px 0 0; }
  .page .cs-goal + .cs-goal { border-left: 0; }
  .page .cs-goal .cs-goal__title { font-size: 16px; line-height: 1.3; font-weight: 400; }
  .page .cs-goal .cs-goal__text { margin-top: 6px; font-size: 14px; }
  .page .cs-illust { margin: 36px -20px 0; }

  /* 05 */
  .page .cs-sec--05 { padding: 96px 0 64px; }
  .page .cs-sec--05::before { background: var(--cs-ink); clip-path: polygon(0 40px, 100% 0, 100% 100%, 0 100%); }
  .page .cs-profile { margin-top: 28px; }
  .page .cs-profile > .wp-block-group__inner-container { display: block; }
  .page .cs-portrait { width: 210px; }
  .page .cs-profile .cs-profile__name { margin-top: 16px; font-size: 14px; line-height: 1.5; letter-spacing: 0.06em; white-space: nowrap; }
  .page .cs-profile__body { margin-top: 24px; }
  .page .cs-profile__body > .wp-block-group__inner-container { display: block; }
  .page .cs-profile__body p { font-size: 14px; }
  .page .cs-profile__body p + p { margin-top: 14px; }
  /* 360pxでも「ちから商会に任せてみませんか。」が1行に収まる大きさ（375pxで21px） */
  .page .cs-profile__body .cs-close { margin-top: 36px; font-size: min(21px, 5.6vw); line-height: 1.6; }
  .page .cs-profile__body .cs-btns { margin-top: 20px; }
}

/* ---------- 12. 下層ページ（料金・お問い合わせ・プライバシーポリシー） ---------- */
/* 下層は地を生成りにする（カンプ AD_*_v1）。トップ（.home）は白のまま */
.page:not(.home) { background: var(--cs-kinari); }
.page:not(.home) #header { background: var(--cs-kinari); }
.page:not(.home) .cs-footer { border-top: 1px solid var(--cs-line); }
/* SWELLのページタイトルは使わない（本文の h1 を使う） */
.page:not(.home) .c-pageTitle,
.page:not(.home) .p-articleHead { display: none; }
/* パンくず（SWELLのものを使い、見た目だけ合わせる） */
.page:not(.home) #breadcrumb { margin: 0; padding: 28px 0 0; background: none; border: 0; box-shadow: none; }
.page:not(.home) #breadcrumb .p-breadcrumb__list {
  width: var(--cs-w);
  max-width: none;
  margin: 0 auto;
  padding: 0;
  font-size: 13px;
  line-height: 1.6;
  letter-spacing: 0.04em;
  color: var(--cs-sub);
}
.page:not(.home) #breadcrumb .p-breadcrumb__text { color: var(--cs-sub); }
.page:not(.home) #breadcrumb a.p-breadcrumb__text:hover { color: var(--cs-ink); }
.page:not(.home) #breadcrumb .__home::before { display: none; }

.page .cs-sub { padding: 24px 0 100px; }
.page .cs-sub > .wp-block-group__inner-container > * { max-width: 760px; }
.page .cs-sub .cs-sub__title { font-size: 32px; line-height: 1.5; letter-spacing: 0.07em; }
.page .cs-sub .cs-sub__text { margin-top: 16px; font-size: 16px; line-height: 1.9; color: var(--cs-text); }
.page .cs-sub .cs-sub__title + .cs-sub__text { margin-top: 24px; }
.page .cs-sub .cs-sub__lead {
  margin-top: 32px;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0.05em;
  color: var(--cs-ink);
}
.page .cs-sub .cs-form { margin-top: 64px; }
.page .cs-sub .cs-sub__alt { margin-top: 72px; padding-top: 40px; border-top: 1px solid var(--cs-line); }
.page .cs-sub .cs-sub__alt p { font-size: 16px; line-height: 1.9; color: var(--cs-text); }
.page .cs-sub .cs-mail { margin-top: 16px; }
.page .cs-sub .cs-mail a {
  display: inline-block;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--cs-ink);
  font-family: var(--cs-num);
  font-size: 24px;
  line-height: 1.4;
  letter-spacing: 0.02em;
  color: var(--cs-ink);
  text-decoration: none;
}
.page .cs-sub .cs-mail a:hover { color: var(--cs-sub); }

/* 料金（事業の索引 → 5つの表 → 見積の出し方 → 別途 → お問い合わせ） */
.page .cs-sub--price > .wp-block-group__inner-container > * { max-width: 880px; }
.page .cs-sub .cs-pindex {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin-top: 48px;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--cs-line);
  border-bottom: 1px solid var(--cs-line);
}
.page .cs-sub .cs-pindex li { list-style: none; text-align: center; }
.page .cs-sub .cs-pindex li + li { border-left: 1px solid var(--cs-line); }
.page .cs-sub .cs-pindex a {
  display: block;
  padding: 16px 0 14px;
  font-size: 15px;
  line-height: 1.4;
  letter-spacing: 0.08em;
  color: var(--cs-ink);
  text-decoration: none;
  transition: background 0.4s ease;
}
.page .cs-sub .cs-pindex a:hover { background: #ffffff; }
.page .cs-sub .cs-pblock { margin-top: 64px; }
.page .cs-sub .cs-pblock .cs-pblock__head { font-size: 22px; line-height: 1.5; letter-spacing: 0.05em; scroll-margin-top: 24px; }
.page .cs-sub .cs-ptable { margin-top: 16px; }
.page .cs-sub .cs-ptable table { width: 100%; border-collapse: collapse; border: 0; border-top: 1px solid var(--cs-ink); }
.page .cs-sub .cs-ptable td {
  padding: 16px 0;
  border: 0;
  border-bottom: 1px solid var(--cs-line);
  background: none;
  font-size: 16px;
  line-height: 1.7;
  color: var(--cs-ink);
  vertical-align: baseline;
}
.page .cs-sub .cs-ptable td:nth-child(2) { padding-left: 24px; text-align: right; white-space: nowrap; font-weight: 500; letter-spacing: 0.04em; }
.page .cs-sub .cs-ptable td:nth-child(3) { width: 7.5em; padding-left: 24px; text-align: right; white-space: nowrap; font-size: 14px; color: var(--cs-sub); }
.page .cs-sub .cs-pnote { margin-top: 56px; }
.page .cs-sub .cs-pnote p { font-size: 16px; line-height: 1.9; color: var(--cs-text); }
.page .cs-sub .cs-pnote .cs-tax + p { margin-top: 8px; }
.page .cs-sub .cs-pextra { margin-top: 40px; }
.page .cs-sub .cs-pextra .cs-pextra__head { font-size: 19px; line-height: 1.6; letter-spacing: 0.05em; }
.page .cs-sub .cs-pextra__list { margin-top: 12px; padding: 0 0 0 16px; list-style: none; border-left: 1px solid var(--cs-line); }
.page .cs-sub .cs-pextra__list li { list-style: none; font-size: 15px; line-height: 2; color: var(--cs-text); }
.page .cs-sub .cs-pcta { margin-top: 72px; padding-top: 48px; border-top: 1px solid var(--cs-line); }
.page .cs-sub .cs-pcta .cs-sub__lead { margin-top: 0; }
.page .cs-sub .cs-pcta .cs-btns { margin-top: 24px; }
@media (max-width: 767px) {
  .page .cs-sub .cs-pindex { display: flex; flex-wrap: wrap; justify-content: center; column-gap: 20px; row-gap: 0; margin-top: 36px; padding: 6px 0; }
  .page .cs-sub .cs-pindex li + li { border-left: 0; }
  .page .cs-sub .cs-pindex a { padding: 8px 0; font-size: 14px; letter-spacing: 0.04em; min-height: 44px; box-sizing: border-box; display: flex; align-items: center; }
  .page .cs-sub .cs-pblock { margin-top: 48px; }
  .page .cs-sub .cs-pblock .cs-pblock__head { font-size: 20px; }
  .page .cs-sub .cs-ptable tr { display: grid; grid-template-columns: 1fr auto; column-gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--cs-line); }
  .page .cs-sub .cs-ptable td,
  .page .cs-sub .cs-ptable td:nth-child(2),
  .page .cs-sub .cs-ptable td:nth-child(3) { display: block; width: auto; padding: 0; border: 0; font-size: 15px; }
  .page .cs-sub .cs-ptable td:nth-child(1) { grid-column: 1 / -1; }
  .page .cs-sub .cs-ptable td:nth-child(2) { grid-column: 1; margin-top: 4px; text-align: left; }
  .page .cs-sub .cs-ptable td:nth-child(3) { grid-column: 2; margin-top: 4px; font-size: 13px; }
  .page .cs-sub .cs-pnote { margin-top: 44px; }
  .page .cs-sub .cs-pnote p { font-size: 15px; }
  .page .cs-sub .cs-pcta { margin-top: 56px; padding-top: 40px; }
}

/* プライバシーポリシー（読ませるためではなく、置いてあるためのページ。罫1本で節を切るだけ） */
.page .cs-sub .cs-policy { margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--cs-line); }
.page .cs-sub .cs-policy .cs-policy__head { font-size: 20px; line-height: 1.6; letter-spacing: 0.05em; }
.page .cs-sub .cs-policy p { margin-top: 12px; font-size: 16px; line-height: 1.9; color: var(--cs-text); }
.page .cs-sub .cs-policy .cs-policy__head + p { margin-top: 16px; }
.page .cs-sub .cs-policy :is(.cs-policy__list, .cs-policy__links) { margin-top: 12px; padding: 0; list-style: none; }
.page .cs-sub .cs-policy :is(.cs-policy__list, .cs-policy__links) li {
  position: relative;
  padding-left: 1.2em;
  font-size: 16px;
  line-height: 1.9;
  color: var(--cs-text);
  list-style: none;
}
.page .cs-sub .cs-policy .cs-policy__list li::before { content: "・"; position: absolute; left: 0; }
.page .cs-sub .cs-policy .cs-policy__links li { padding-left: 16px; border-left: 1px solid var(--cs-line); }
.page .cs-sub .cs-policy .cs-policy__links li + li { margin-top: 4px; }
.page .cs-sub .cs-policy a { color: var(--cs-ink); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 767px) {
  .page .cs-sub .cs-policy { margin-top: 40px; padding-top: 28px; }
  .page .cs-sub .cs-policy .cs-policy__head { font-size: 19px; }
  .page .cs-sub .cs-policy p,
  .page .cs-sub .cs-policy :is(.cs-policy__list, .cs-policy__links) li { font-size: 15px; }
}

/* お問い合わせのスマホでは、右下の reCAPTCHA のマーク（下から14px・高さ60px）がフッターのリンクに重なった
   （すだち Gate 7 測り直し: 360pxで18px・375pxで3px）。マークは隠さず、フッターの下に余白を足す */
@media (max-width: 767px) {
  /* フッターは #body_wrap の外に出ている（functions.php の wp_footer）ので、:has で判定する */
  body:has(#body_wrap.cs-is-contact) .cs-footer { padding-bottom: 104px; }
}

/* お問い合わせページでは、ヘッダーの「お問い合わせ」を出さない（カンプ AD_contact_v1 の⑦） */
.cs-is-contact #header .c-gnav > .menu-item:last-child:not(:first-child) { display: none; }

/* お問い合わせフォーム（Contact Form 7） */
.page .wpcf7 { font-family: var(--cs-sans); }
.page .wpcf7 .cf7-field { margin-top: 28px; }
.page .wpcf7 .cf7-field:first-child { margin-top: 0; }
.page .wpcf7 .cf7-field label {
  display: block;
  margin-bottom: 8px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0.06em;
  color: var(--cs-ink);
}
.page .wpcf7 .cf7-req {
  display: inline-block;
  margin-left: 8px;
  padding: 0 6px;
  border: 1px solid var(--cs-ink);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0.04em;
  vertical-align: 1px;
}
.page .wpcf7 .cf7-opt { margin-left: 8px; font-size: 12px; font-weight: 400; color: var(--cs-sub); }
.page .wpcf7 .cf7-hint { margin: 0 0 8px; font-size: 14px; line-height: 1.7; color: var(--cs-sub); }
.page .wpcf7 .wpcf7-form-control-wrap { display: block; }
.page .wpcf7 :is(input[type="text"], input[type="email"], input[type="tel"], select, textarea) {
  display: block;
  width: 100%;
  box-sizing: border-box;
  margin: 0;
  padding: 12px 14px;
  border: 1px solid #8f8f8f;
  border-radius: 2px;
  background: #ffffff;
  box-shadow: none;
  font-family: var(--cs-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--cs-ink);
}
.page .wpcf7 :is(input, select, textarea):focus { outline: 2px solid var(--cs-ink); outline-offset: 1px; border-color: var(--cs-ink); }
.page .wpcf7 ::placeholder { color: #9a9a9a; }
.page .wpcf7 select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 40px;
  background: #ffffff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%231a1a1a' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 16px center;
}
.page .wpcf7 textarea { min-height: 180px; resize: vertical; }
.page .wpcf7 .cf7-consent { margin-top: 36px; font-size: 14px; line-height: 1.8; color: var(--cs-text); }
.page .wpcf7 .cf7-consent a { color: var(--cs-ink); text-decoration: underline; text-underline-offset: 3px; }
.page .wpcf7 .cf7-submit { margin-top: 16px; display: flex; align-items: center; gap: 12px; }
.page .wpcf7 .wpcf7-submit {
  appearance: none;
  -webkit-appearance: none;
  margin: 0;
  padding: 14px 32px;
  border: 0;
  border-radius: 999px;
  background: var(--cs-yellow);
  color: var(--cs-ink);
  font-family: var(--cs-sans);
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: padding 0.6s var(--cs-bounce);
}
.page .wpcf7 .wpcf7-submit:hover { padding: 14px 44px; opacity: 1; }
.page .wpcf7 .wpcf7-submit:disabled { opacity: 0.6; cursor: default; }
.page .wpcf7 .cf7-note { margin-top: 16px; font-size: 13px; line-height: 1.8; color: var(--cs-sub); }
.page .wpcf7 .wpcf7-not-valid-tip { margin-top: 6px; font-size: 13px; color: #b3261e; }
.page .wpcf7 form .wpcf7-response-output { margin: 24px 0 0; padding: 12px 16px; font-size: 14px; line-height: 1.7; }

@media (max-width: 767px) {
  .page:not(.home) #breadcrumb { padding-top: 20px; }
  .page .cs-sub { padding: 16px 0 64px; }
  .page .cs-sub .cs-sub__title { font-size: 26px; line-height: 1.5; letter-spacing: 0.05em; }
  .page .cs-sub .cs-sub__text,
  .page .cs-sub .cs-sub__alt p { font-size: 15px; }
  .page .cs-sub .cs-sub__lead { font-size: 19px; }
  .page .cs-sub .cs-form { margin-top: 48px; }
  .page .cs-sub .cs-sub__alt { margin-top: 56px; padding-top: 32px; }
  .page .cs-sub .cs-mail a { font-size: 20px; }
  .page .wpcf7 .wpcf7-submit:hover { padding: 14px 32px; }
}

/* ---------- 11. 動き ---------- */
@keyframes cs-mq-left  { from { transform: translateX(0); }    to { transform: translateX(-50%); } }
@keyframes cs-mq-right { from { transform: translateX(-50%); } to { transform: translateX(0); } }

@media (prefers-reduced-motion: reduce) {
  .page .cs-marquee__row > .wp-block-group__inner-container { animation: none !important; transform: none !important; }
  .page .cs-btn .wp-block-button__link,
  #header .c-gnav > .menu-item:last-child > a { transition: none; }
  .page .cs-btn .wp-block-button__link:hover { padding: 15px 30px; }
  .page .cs-btn.is-large .wp-block-button__link:hover { padding: 16px 32px; }
  #header .c-gnav > .menu-item:last-child > a:hover { padding: 11px 22px; }
}
