/*
Theme Name: きくらげ 2026
Theme URI: https://kikurage.kumamoto.jp/
Author: 熊本県きくらげブランド協議会
Description: 熊本県きくらげブランド協議会のためのテーマ。配色はロゴとヒーロー画像から実測した色だけで構成しています。テーマを切り替えればいつでも元に戻せます。
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: kikurage-2026
Tags: one-column, custom-logo, custom-menu, editor-style, translation-ready
*/

/* =========================================================
   1. 色とフォント
   すべてロゴ（kikurage-logo_only.png）とヒーロー画像
   （kikurage-hero.jpg）から抽出した実測値です。
   ========================================================= */
:root {
  --sumi:     #2C110A;  /* きくらげ最暗部 */
  --kikurage: #5B2212;  /* きくらげ本体 */
  --kasshoku: #844C38;  /* 中間の茶 */
  --zaru:     #D5B282;  /* ざるの籐 */
  --sand:     #EFD2A9;  /* 木肌 */
  --paper:    #FAF6EF;  /* 紙 */
  --paper-2:  #F3EADD;
  --moss:     #667856;  /* 里山の緑 */
  --kasumi:   #DCE4E6;  /* 霞んだ空 */
  --sumi-ink: #463D35;  /* ロゴの墨 */
  --ki:       #F4EA6C;  /* ロゴ swoosh の黄 */
  --line:     #E2D5C2;
  --muted:    #7A6A57;

  --mincho: "Zen Old Mincho", "Yu Mincho", "Hiragino Mincho ProN", serif;
  --gothic: "Zen Kaku Gothic New", "Hiragino Sans", "Yu Gothic", system-ui, sans-serif;

  --wrap: 1080px;
  --narrow: 760px;
}

/* =========================================================
   2. 土台
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--sumi);
  font-family: var(--gothic);
  font-size: 16px;
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}

img, svg, video { max-width: 100%; height: auto; }
img { display: block; }

a { color: var(--kikurage); }
a:focus-visible, button:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid var(--kikurage);
  outline-offset: 3px;
}

.wrap   { width: min(var(--wrap), 100% - 48px); margin-inline: auto; }
.narrow { width: min(var(--narrow), 100% - 48px); margin-inline: auto; }

.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px; overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
.skip-link:focus {
  position: fixed; top: 8px; left: 8px; z-index: 999;
  width: auto; height: auto; clip: auto;
  background: var(--sumi); color: #fff; padding: 10px 16px; border-radius: 3px;
}

/* =========================================================
   3. ヘッダー
   ========================================================= */
.site-head {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 30;
}
.site-head .wrap { display: flex; align-items: center; gap: 24px; min-height: 76px; }

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; }
.brand img { width: 46px; height: auto; }
.brand .nm {
  font-family: var(--mincho); font-weight: 700; font-size: 17px;
  letter-spacing: .04em; line-height: 1.35;
}
.brand .nm small {
  display: block; font-family: var(--gothic); font-weight: 400;
  font-size: 10.5px; letter-spacing: .16em; color: var(--muted);
}

.gnav { margin-left: auto; }
.gnav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 26px; }
.gnav li { position: relative; }
.gnav a {
  display: block; font-size: 13.5px; color: var(--sumi); text-decoration: none;
  padding: 6px 0; border-bottom: 2px solid transparent; white-space: nowrap;
}
.gnav a:hover, .gnav a:focus-visible { border-bottom-color: var(--ki); outline: none; }
.gnav .current-menu-item > a, .gnav .current_page_item > a { border-bottom-color: var(--kasshoku); }

/* 子メニュー */
.gnav ul ul {
  position: absolute; left: -14px; top: 100%; z-index: 40;
  display: block; flex-direction: column; gap: 0; min-width: 232px;
  background: var(--sumi-ink); padding: 8px 0; border-radius: 3px;
  opacity: 0; visibility: hidden; transform: translateY(-4px);
  transition: opacity .16s ease, transform .16s ease, visibility .16s;
  box-shadow: 0 14px 34px -20px rgba(44,17,10,.8);
}
.gnav li:hover > ul, .gnav li:focus-within > ul { opacity: 1; visibility: visible; transform: none; }
.gnav ul ul a { color: #EDE5D8; padding: 8px 18px; border-bottom: 0; font-size: 13px; }
.gnav ul ul a:hover, .gnav ul ul a:focus-visible { background: rgba(255,255,255,.1); border-bottom: 0; }

/* モバイル開閉 */
.nav-toggle {
  display: none; margin-left: auto;
  background: none; border: 1px solid var(--line); border-radius: 3px;
  padding: 9px 14px; font: inherit; font-size: 13px; color: var(--sumi); cursor: pointer;
}

/* =========================================================
   4. トップページ
   ========================================================= */
.hero { background: var(--kasumi); }
.hero img { width: 100%; }

/* 注目のお知らせ（ヒーロー直下・該当が無ければ出ない） */
.notice {
  background: var(--sand);
  border-bottom: 1px solid rgba(70, 61, 53, .14);
}
.notice a {
  display: flex;
  align-items: center;
  gap: 8px 18px;
  flex-wrap: wrap;
  padding: 16px 0;
  text-decoration: none;
  color: var(--sumi);
}
.notice .chip {
  flex: none;
  background: var(--sumi-ink);
  color: var(--ki);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
  padding: 4px 12px;
  border-radius: 2px;
}
.notice .d {
  flex: none;
  font-family: var(--mincho);
  font-size: 13px;
  color: #6E5B48;
  font-variant-numeric: tabular-nums;
  letter-spacing: .06em;
}
.notice .t {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 15.5px;
  font-weight: 700;
  line-height: 1.6;
}
.notice .go { flex: none; color: var(--kikurage); font-size: 17px; transition: transform .15s ease; }
.notice a:hover .t { color: var(--kikurage); }
.notice a:hover .go { transform: translateX(4px); }

/* 宣言 */
.sengen {
  background: var(--sumi); color: #F7EFE3;
  padding: clamp(56px, 9vw, 104px) 0;
  position: relative; overflow: hidden;
}
.sengen::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(120% 90% at 50% 0%, rgba(244,234,108,.10), transparent 62%);
}
.sengen .narrow { position: relative; }
.sengen .eyebrow {
  font-size: 11.5px; letter-spacing: .34em; color: var(--zaru);
  margin: 0 0 26px; text-align: center;
}
.sengen h2 {
  font-family: var(--mincho); font-weight: 700;
  font-size: clamp(26px, 5.4vw, 46px); line-height: 1.62; letter-spacing: .05em;
  margin: 0; text-align: center; text-wrap: balance; color: #F7EFE3;
}
.sengen h2 em {
  font-style: normal;
  background: linear-gradient(transparent 66%, rgba(244,234,108,.32) 66%);
  padding-bottom: 2px;
}
.sengen .quote {
  margin: 40px auto 0; max-width: 46ch; font-size: 14.5px; line-height: 2.05;
  color: #D9CBB6; border-left: 2px solid var(--kasshoku); padding-left: 20px;
}
.sengen .quote cite { display: block; margin-top: 10px; font-style: normal; font-size: 12.5px; color: var(--muted); }

/* 数字 */
.figures { background: var(--paper-2); padding: clamp(44px, 6vw, 72px) 0; }
.figures .grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1px; background: var(--line); border: 1px solid var(--line);
}
.fig { background: var(--paper); padding: 30px 26px; }
.fig .k { font-size: 11.5px; letter-spacing: .2em; color: var(--muted); margin: 0 0 12px; }
.fig .v {
  font-family: var(--mincho); font-weight: 700; color: var(--kikurage);
  font-size: clamp(28px, 4.4vw, 40px); line-height: 1.25;
  font-variant-numeric: tabular-nums; margin: 0;
}
.fig .v span { font-size: .5em; font-weight: 400; margin-left: 4px; color: var(--sumi); }
.fig p.n { margin: 12px 0 0; font-size: 13px; line-height: 1.8; color: var(--muted); }

/* セクション共通 */
.sec { padding: clamp(64px, 9vw, 112px) 0; }
.sec-head { margin-bottom: clamp(32px, 5vw, 56px); }
.sec-head .en { font-size: 11px; letter-spacing: .3em; color: var(--moss); margin: 0 0 12px; }
.sec-head h2 {
  font-family: var(--mincho); font-weight: 700;
  font-size: clamp(23px, 3.4vw, 32px); line-height: 1.5; letter-spacing: .05em;
  margin: 0; text-wrap: balance;
}
.sec-head p { margin: 16px 0 0; max-width: 62ch; color: #4C3A2C; font-size: 15px; }

/* 循環 */
.cycle { background: var(--paper); }
.steps {
  display: grid; grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.step { padding: 30px 20px 32px; position: relative; }
.step + .step { border-left: 1px solid var(--line); }
.step .no { font-family: var(--mincho); font-size: 12px; color: var(--moss); letter-spacing: .1em; margin: 0 0 14px; }
.step h3 { font-family: var(--mincho); font-size: 17px; font-weight: 700; line-height: 1.5; margin: 0 0 10px; letter-spacing: .03em; }
.step p { margin: 0; font-size: 13px; line-height: 1.85; color: var(--muted); }
.step::after {
  content: ""; position: absolute; top: 42px; right: -7px; z-index: 2;
  width: 12px; height: 12px;
  border-top: 1.5px solid var(--kasshoku); border-right: 1.5px solid var(--kasshoku);
  transform: rotate(45deg); background: var(--paper);
}
.step:last-child::after { display: none; }

.cycle-return {
  padding: 20px 24px; background: var(--moss); color: #F2F4EC;
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap; font-size: 14.5px;
}
.cycle-return .arw { font-family: var(--mincho); font-size: 20px; color: var(--ki); }
.cycle-return b { font-weight: 700; letter-spacing: .04em; }

/* 味わい */
.taste { background: var(--paper-2); }
.dishes { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: clamp(24px, 4vw, 44px); }
.dish { text-align: center; }
.dish .ph {
  width: min(240px, 100%); aspect-ratio: 1; margin: 0 auto 20px;
  border-radius: 50%; overflow: hidden; border: 1px solid var(--zaru);
  box-shadow: 0 10px 30px -18px rgba(44,17,10,.55); background: var(--paper);
}
.dish .ph img { width: 100%; height: 100%; object-fit: cover; }
.dish h3 { font-family: var(--mincho); font-size: 18px; font-weight: 700; margin: 0 0 8px; letter-spacing: .04em; }
.dish p { margin: 0; font-size: 13.5px; color: var(--muted); line-height: 1.85; }

/* 導線 */
.paths { background: var(--sumi); color: #F7EFE3; }
.paths .sec-head h2 { color: #F7EFE3; }
.paths .sec-head .en { color: var(--zaru); }
.paths .sec-head p { color: #CDBBA3; }
.pcards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; }
.pcard {
  display: block; text-decoration: none; color: inherit;
  background: rgba(255,255,255,.045);
  border: 1px solid rgba(213,178,130,.28); border-radius: 3px;
  padding: 28px 26px 24px;
  transition: background .18s ease, border-color .18s ease;
}
.pcard:hover, .pcard:focus-visible { background: rgba(255,255,255,.09); border-color: var(--zaru); }
.pcard .n { font-size: 11px; letter-spacing: .26em; color: var(--zaru); margin: 0 0 14px; }
.pcard h3 { font-family: var(--mincho); font-size: 20px; font-weight: 700; margin: 0 0 10px; letter-spacing: .04em; }
.pcard p { margin: 0 0 18px; font-size: 13.5px; color: #C9B79E; line-height: 1.85; }
.pcard .go { font-size: 13px; color: var(--ki); letter-spacing: .04em; }

/* =========================================================
   5. お知らせ一覧（トップ／アーカイブ共通）
   ========================================================= */
.news { background: var(--paper); }
.post-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.post-list li { border-bottom: 1px solid var(--line); }
.post-list a {
  display: flex; gap: 24px; align-items: baseline; flex-wrap: wrap;
  padding: 20px 4px; text-decoration: none; color: inherit;
}
.post-list a:hover .t, .post-list a:focus-visible .t { color: var(--kikurage); }
.post-list .d {
  font-family: var(--mincho); font-size: 13px; color: var(--muted);
  font-variant-numeric: tabular-nums; letter-spacing: .06em; flex: none; width: 7.5em;
}
.post-list .t { font-size: 15px; line-height: 1.7; }
.more-link { margin-top: 28px; }
.more-link a { display: inline-block; font-size: 13.5px; border-bottom: 1px solid var(--zaru); text-decoration: none; }

/* =========================================================
   6. 記事・固定ページ
   ========================================================= */
.page-head { background: var(--paper-2); border-bottom: 1px solid var(--line); padding: clamp(40px, 6vw, 68px) 0; }
.page-head .en { font-size: 11px; letter-spacing: .3em; color: var(--moss); margin: 0 0 12px; }
.page-head h1 {
  font-family: var(--mincho); font-weight: 700;
  font-size: clamp(24px, 4vw, 36px); line-height: 1.45; letter-spacing: .04em;
  margin: 0; text-wrap: balance;
}
.page-head .meta { margin: 14px 0 0; font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }

.article-body { padding: clamp(44px, 7vw, 80px) 0 clamp(64px, 9vw, 104px); }

.post-thumb { margin: 0 0 clamp(28px, 4vw, 44px); }
.post-thumb img { width: 100%; border-radius: 3px; }

.entry-content { font-size: 16px; line-height: 2.0; }
.entry-content > * + * { margin-top: 1.5em; }
.entry-content h2 {
  font-family: var(--mincho); font-weight: 700; font-size: 21px; line-height: 1.55;
  letter-spacing: .04em; margin: 2.4em 0 .9em;
  border-left: 5px solid var(--kikurage); background: var(--paper-2);
  padding: 12px 18px; border-radius: 2px;
}
.entry-content h3 {
  font-family: var(--mincho); font-weight: 700; font-size: 18px; line-height: 1.6;
  margin: 2em 0 .7em; padding-bottom: 8px; border-bottom: 1px solid var(--line);
}
.entry-content h4 { font-size: 16px; font-weight: 700; margin: 1.8em 0 .6em; }
.entry-content p { margin: 0; }
.entry-content ul, .entry-content ol { padding-left: 1.4em; }
.entry-content li + li { margin-top: .4em; }
.entry-content a { text-decoration: none; border-bottom: 1px solid var(--zaru); }
.entry-content a:hover { border-bottom-color: var(--kikurage); }
.entry-content blockquote {
  border-left: 3px solid var(--zaru); padding: 4px 0 4px 20px; margin-left: 0;
  color: #4C3A2C;
}
.entry-content figure { margin-inline: 0; }
.entry-content figcaption { font-size: 13px; color: var(--muted); margin-top: 8px; }
.entry-content hr { border: 0; border-top: 1px solid var(--line); margin: 2.5em 0; }
.entry-content code {
  background: var(--paper-2); border-radius: 3px; padding: 2px 6px; font-size: .92em;
}
.entry-content .alignwide { width: min(var(--wrap), 100vw - 48px); margin-inline: calc(50% - min(var(--wrap), 100vw - 48px) / 2); }
.entry-content .alignfull  { width: 100vw; margin-inline: calc(50% - 50vw); max-width: none; }
.entry-content .aligncenter { margin-inline: auto; }

/* --- 表（会員一覧・販売店・飲食店）---------------------------------
   Cocoon 時代の「追加CSS 項目18」をテーマに取り込んだものです。
   追加CSSはテーマごとに保存されるため、こちらへ移してあります。   */
.entry-content figure.wp-block-table { overflow-x: auto; width: 100%; align-self: stretch; }

.entry-content .wp-block-table table {
  width: 100%; table-layout: auto; border-collapse: collapse; font-size: 15px;
}
.entry-content .wp-block-table thead th {
  background: var(--sumi-ink); color: #fff; font-weight: 500;
  text-align: left; letter-spacing: .04em; padding: 11px 14px; border: none;
}
.entry-content .wp-block-table tbody tr { background: transparent; }
.entry-content .wp-block-table tbody tr:nth-child(even) { background: var(--paper-2); }
.entry-content .wp-block-table tbody th,
.entry-content .wp-block-table tbody td {
  background: transparent; color: inherit; text-align: left; font-weight: 400;
  vertical-align: top; line-height: 1.8; padding: 12px 14px;
  border: none; border-bottom: 1px solid var(--line);
}
.entry-content .wp-block-table tbody tr > :first-child { font-weight: 700; width: 32%; }
.entry-content .wp-block-table tbody td strong,
.entry-content .wp-block-table tbody td .bold { font-weight: inherit; }
.entry-content .wp-block-table .has-text-align-center { text-align: left; }
.entry-content .wp-block-table td { font-variant-numeric: tabular-nums; }

.entry-content .wp-block-table a { color: var(--kikurage); border-bottom: 1px solid rgba(91,34,18,.3); }
.entry-content .wp-block-table a.tel { color: inherit; border-bottom: none; white-space: nowrap; }
.entry-content .wp-block-table a.tel::before {
  content: "TEL"; display: inline-block; margin-right: 7px; padding: 0 5px;
  border: 1px solid var(--line); border-radius: 3px;
  font-size: 10px; font-weight: 700; letter-spacing: .08em; line-height: 1.6;
  color: var(--muted); vertical-align: 1px;
}
.entry-content .wp-block-table a.tel:hover { color: var(--kikurage); }
.entry-content .wp-block-table a.tel:hover::before { border-color: var(--kikurage); color: var(--kikurage); }

/* 販売店・飲食店はカード表示（2列） */
@media (min-width: 601px) {
  .page-id-45 .entry-content .wp-block-table table,
  .page-id-61 .entry-content .wp-block-table table { display: block; }
  .page-id-45 .entry-content .wp-block-table tbody,
  .page-id-61 .entry-content .wp-block-table tbody {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 12px;
  }
  .page-id-45 .entry-content .wp-block-table tbody tr,
  .page-id-61 .entry-content .wp-block-table tbody tr {
    display: block; background: #fff; border: 1px solid var(--line);
    border-left: 3px solid var(--zaru); border-radius: 4px; padding: 12px 14px;
  }
  .page-id-45 .entry-content .wp-block-table tbody td,
  .page-id-61 .entry-content .wp-block-table tbody td {
    display: block; width: auto; border: none; padding: 1px 0;
    font-size: 14px; line-height: 1.65;
  }
  .page-id-45 .entry-content .wp-block-table tbody tr > :first-child,
  .page-id-61 .entry-content .wp-block-table tbody tr > :first-child {
    font-size: 15px; margin-bottom: 3px;
  }
}

/* スマホは表をカードに */
@media (max-width: 600px) {
  .entry-content .wp-block-table thead { display: none; }
  .entry-content .wp-block-table table,
  .entry-content .wp-block-table tbody,
  .entry-content .wp-block-table tbody tr,
  .entry-content .wp-block-table tbody th,
  .entry-content .wp-block-table tbody td { display: block; width: auto; }
  .entry-content .wp-block-table tbody tr {
    background: #fff; border: 1px solid var(--line);
    border-left: 3px solid var(--zaru); border-radius: 4px;
    margin-bottom: 10px; padding: 11px 13px;
  }
  .entry-content .wp-block-table tbody tr > * {
    border: none; padding: 2px 0; font-size: 14px; line-height: 1.7;
  }
  .entry-content .wp-block-table tbody tr > :first-child { font-size: 15px; }
  .entry-content .wp-block-table tbody td:empty { display: none; }
}

/* ページ送り */
.pagination { margin-top: 44px; display: flex; gap: 8px; flex-wrap: wrap; }
.pagination .page-numbers {
  display: inline-block; min-width: 40px; text-align: center;
  padding: 8px 12px; border: 1px solid var(--line); border-radius: 3px;
  text-decoration: none; font-size: 14px; color: var(--sumi);
  font-variant-numeric: tabular-nums;
}
.pagination .page-numbers.current { background: var(--sumi-ink); color: #fff; border-color: var(--sumi-ink); }
.pagination a.page-numbers:hover { border-color: var(--kasshoku); }

.post-nav { margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 14px; }
.post-nav a { text-decoration: none; border-bottom: 1px solid var(--zaru); }

/* =========================================================
   7. フッター
   ========================================================= */
.site-foot { background: var(--sumi-ink); color: #E8E0D3; padding: 40px 0 28px; font-size: 13.5px; }
.site-foot .cols { display: flex; flex-wrap: wrap; gap: 20px 64px; justify-content: flex-start; }
.site-foot .cols > div:first-child { flex: 0 1 340px; }
.site-foot .foot-nav { flex: 1 1 380px; }
.site-foot .nm { font-family: var(--mincho); font-size: 17px; font-weight: 700; margin: 0 0 12px; letter-spacing: .04em; }
.site-foot p { margin: 0; line-height: 1.95; color: #C4B9A8; }
.site-foot a { color: #E8E0D3; text-decoration: none; }
.site-foot a:hover { color: var(--ki); }

/* 縦一列にせず、折り返しの横並びにする */
.site-foot ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 26px; }
.site-foot li { line-height: 1.85; }
.site-foot .sub-menu { display: none; }

.site-foot .copy {
  margin-top: 24px; padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,.12);
  font-size: 11.5px; color: #9C9081; letter-spacing: .04em;
}

@media (max-width: 600px) {
  .site-foot { padding: 32px 0 24px; }
  .site-foot .cols { gap: 18px; }
  .site-foot ul { gap: 2px 20px; }
}

/* =========================================================
   8. 画面が狭いとき
   ========================================================= */
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .gnav {
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: 8px 24px 20px; display: none;
  }
  .gnav.is-open { display: block; }
  .gnav ul { flex-direction: column; gap: 0; }
  .gnav > div > ul > li { border-bottom: 1px solid var(--line); }
  .gnav a { padding: 12px 0; font-size: 14.5px; }
  .gnav ul ul {
    position: static; opacity: 1; visibility: visible; transform: none;
    background: transparent; box-shadow: none; padding: 0 0 8px 16px; min-width: 0;
  }
  .gnav ul ul a { color: var(--muted); padding: 8px 0; }
  .gnav ul ul a:hover { background: none; }

  .steps { grid-template-columns: 1fr; }
  .step + .step { border-left: 0; border-top: 1px solid var(--line); }
  .step::after { top: auto; bottom: -7px; right: auto; left: 28px; transform: rotate(135deg); }

  .wrap, .narrow { width: min(100% - 32px, var(--wrap)); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* =========================================================
   9. お問い合わせフォーム（Contact Form 7）
   ========================================================= */
.wpcf7 { max-width: 720px; }
.wpcf7 form > p { margin: 0 0 22px; }

/* 項目名 */
.wpcf7 label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .02em;
  line-height: 1.7;
  color: var(--sumi-ink);
}

/* 「必須」バッジ */
.wpcf7 .mark {
  display: inline-block;
  margin-left: 8px;
  padding: 1px 7px;
  border-radius: 3px;
  background: #a4331f;
  color: #fff;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .08em;
  vertical-align: 2px;
}

/* 入力欄 */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 select,
.wpcf7 textarea {
  width: 100%;
  max-width: 100%;
  margin-top: 8px;
  padding: 12px 14px;
  border: 1px solid #d8cec0;
  border-radius: 4px;
  background: #fff;
  color: var(--sumi);
  font-family: inherit;
  font-size: 16px;          /* iOS で勝手に拡大されないよう 16px 以上にする */
  font-weight: 400;
  line-height: 1.7;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.wpcf7 textarea { min-height: 190px; resize: vertical; }
.wpcf7 ::placeholder { color: #a89a88; }

.wpcf7 input:focus,
.wpcf7 select:focus,
.wpcf7 textarea:focus {
  outline: none;
  border-color: var(--kikurage);
  box-shadow: 0 0 0 3px rgba(91, 34, 18, .12);
}

/* 同意チェック */
.wpcf7 .consent {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 14px 16px;
}
.wpcf7 .consent .wpcf7-list-item { margin: 0; }
.wpcf7 .consent label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14.5px;
  font-weight: 400;
  cursor: pointer;
}
.wpcf7 .consent input[type="checkbox"] {
  flex: none;
  width: 18px;
  height: 18px;
  margin: 3px 0 0;
  accent-color: var(--kikurage);
  cursor: pointer;
}

/* Turnstile の余白（プラグインが inline で -15px を入れているため） */
.wpcf7 .cf7-cf-turnstile { margin: 6px 0 20px !important; }

/* 送信ボタン */
.wpcf7 input[type="submit"] {
  display: block;
  width: 100%;
  max-width: 340px;
  margin: 8px auto 0;
  padding: 15px 24px;
  border: 0;
  border-radius: 4px;
  background: var(--kikurage);
  color: #fff;
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .08em;
  cursor: pointer;
  transition: background .15s ease;
}
.wpcf7 input[type="submit"]:hover { background: #7a3320; }
.wpcf7 input[type="submit"]:active { transform: translateY(1px); }
/* Turnstile の確認が済むまでの待機状態。
   ただの灰色だと「壊れている」と見えるので、きくらげ色を薄めた色にする */
.wpcf7 input[type="submit"]:disabled {
  background: #b58d7c;
  cursor: not-allowed;
}
.wpcf7 .wpcf7-spinner { vertical-align: middle; }

/* エラー表示 */
.wpcf7 .wpcf7-not-valid { border-color: #a4331f; background: #fdf6f4; }
.wpcf7 .wpcf7-not-valid-tip {
  display: block;
  margin-top: 6px;
  color: #a4331f;
  font-size: 13px;
  font-weight: 400;
}
.wpcf7 .wpcf7-response-output {
  margin: 20px 0 0 !important;
  padding: 14px 16px !important;
  border-width: 1px !important;
  border-radius: 4px;
  font-size: 14px;
  line-height: 1.8;
}
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.spam .wpcf7-response-output {
  border-color: #a4331f !important;
  background: #fdf6f4;
  color: #8a2b1a;
}
.wpcf7 form.sent .wpcf7-response-output {
  border-color: #2e6b4c !important;
  background: #eef5f0;
  color: #2e6b4c;
}

@media (max-width: 600px) {
  .wpcf7 form > p { margin-bottom: 18px; }
  .wpcf7 input[type="submit"] { max-width: none; }
  .wpcf7 textarea { min-height: 160px; }
}

@media print {
  .site-head, .site-foot, .gnav, .nav-toggle { display: none; }
  body { background: #fff; }
}
