@charset "UTF-8";
/* ==========================================================================
   shiho — Web制作ポートフォリオ 追加CSS
   静的サイト portfolio-site-soft のデザインを WordPress（Cocoon＋ブロックエディタ）へ移植したもの。

   ・ページ本文のスタイルはすべて .shiho の中に閉じてある
     （固定ページの最外周が <div class="wp-block-group shiho"> になっている）
   ・.shiho の外に出さざるを得ないものだけ、末尾の「サイト共通」区画にまとめた
   ・色とフォントはこのファイル冒頭の .shiho { --… } を直せば全体に反映される
   ========================================================================== */

/* ==========================================================================
   1. トークンと下地
   ========================================================================== */
.shiho {
  --bg:          #FFFFFF;
  --cream:       #F7F4EF;
  --cream-hero:  #F9F8F3;   /* ヒーローのイラストの地色に合わせた色 */
  --text:        #3B3B3B;
  --text-soft:   #6B6560;
  --beige:       #E7E1D8;
  --beige-dark:  #DAD3C6;
  --terracotta:  #BE6A34;
  --terra-dark:  #A4562A;
  --khaki:       #A79470;
  --champagne:   #D9C7A8;
  --gold:        #A98F5D;
  --brown:       #8C7A5E;
  --icon:        #574C43;

  --font-ja:    "Zen Kaku Gothic New","Hiragino Sans","Hiragino Kaku Gothic ProN","Noto Sans JP","Yu Gothic Medium",Meiryo,sans-serif;
  --font-round: "Zen Maru Gothic","Hiragino Maru Gothic ProN","Hiragino Sans","Noto Sans JP",sans-serif;
  --font-en:    Georgia,"Times New Roman","Hiragino Mincho ProN",serif;

  --wrap:    1120px;
  --wrap-nr:  820px;
  --gutter:  20px;

  --r-s:    12px;
  --r:      20px;
  --r-l:    32px;
  --r-pill: 999px;

  --s-1: 8px;  --s-2: 16px; --s-3: 24px;
  --s-4: 40px; --s-5: 64px; --s-6: 96px;

  --shadow:   0 10px 30px -18px rgba(87,76,67,.45);
  --shadow-l: 0 20px 46px -26px rgba(87,76,67,.5);
  --ease: cubic-bezier(.22,.61,.36,1);

  background: var(--bg);
  color: var(--text);
  font-family: var(--font-ja);
  font-size: 15px;
  line-height: 1.95;
  letter-spacing: .04em;
  -webkit-font-smoothing: antialiased;

  /* Cocoon のコンテンツ幅に閉じ込められないよう、画面幅いっぱいに広げる */
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  overflow: hidden;
  padding-bottom: 72px;          /* スマホ下部の固定ボタンの逃げ */
}
@media (min-width: 768px) { .shiho { --gutter: 40px; font-size: 16px; padding-bottom: 0; } }

.shiho *, .shiho *::before, .shiho *::after { box-sizing: border-box; }

/* ==========================================================================
   2. Cocoon と Gutenberg の既定スタイルを打ち消す
   ========================================================================== */
.shiho h1, .shiho h2, .shiho h3, .shiho h4 {
  background: none; border: 0; padding: 0; margin: 0;
  font-family: var(--font-round); font-weight: 700;
  line-height: 1.6; letter-spacing: .06em; color: var(--text);
}
.shiho h2::before, .shiho h2::after, .shiho h3::before, .shiho h3::after { content: none; }
.shiho p { margin: 0; }
.shiho ul, .shiho ol, .shiho li { margin: 0; padding: 0; list-style: none; }
.shiho img { display: block; max-width: 100%; height: auto; }
.shiho figure { margin: 0; }
.shiho table, .shiho table td, .shiho table th { border: 0; background: none; }
.shiho .wp-block-table { margin: 0; overflow: visible; }
.shiho .wp-block-table table { border-collapse: collapse; width: 100%; }
.shiho a { color: inherit; text-decoration: none; }
.shiho :focus-visible { outline: 2px solid var(--terracotta); outline-offset: 3px; }
.shiho .wp-block-group, .shiho .wp-block-columns { margin-block: 0; }
.shiho .wp-block-image { margin: 0; }
.shiho .wp-block-columns { gap: var(--s-3); }
.shiho ::selection { background: var(--champagne); color: var(--text); }

/* ==========================================================================
   3. レイアウト部品
   ========================================================================== */
.shiho .sh-wrap    { width: 100%; max-width: var(--wrap);    margin-inline: auto; padding-inline: var(--gutter); }
.shiho .sh-wrap-nr { width: 100%; max-width: var(--wrap-nr); margin-inline: auto; padding-inline: var(--gutter); }

.shiho .sh-section { padding-block: var(--s-5); position: relative; scroll-margin-top: 64px; }
@media (min-width: 768px) { .shiho .sh-section { padding-block: var(--s-6); } }
.shiho .sec-white { background: var(--bg); }
.shiho .sec-cream { background: var(--cream); }

/* 円弧のセクション区切り */
.shiho .sh-arc { position: relative; }
.shiho .sh-arc::before {
  content: ""; position: absolute; left: 0; top: -6vw;
  width: 100%; height: 12vw; background: inherit;
  border-radius: 50% 50% 0 0 / 100% 100% 0 0; pointer-events: none;
}
.shiho .sh-arc > .sh-wrap, .shiho .sh-arc > .sh-wrap-nr { position: relative; z-index: 1; }

.shiho .t-center { text-align: center; }

/* 見出しまわり */
.shiho .label-en {
  font-family: var(--font-en); font-size: 11px; letter-spacing: .32em;
  text-transform: uppercase; color: var(--gold); margin-bottom: var(--s-1);
}
.shiho .sec-title { font-size: 22px; letter-spacing: .08em; margin-bottom: var(--s-4); }
.shiho .sec-title + .sec-sub { margin-top: calc(-1 * var(--s-4) + var(--s-2)); margin-bottom: var(--s-4); }
.shiho .sec-sub { font-size: 13px; color: var(--text-soft); letter-spacing: .06em; }
@media (min-width: 768px) { .shiho .sec-title { font-size: 29px; } .shiho .sec-sub { font-size: 14px; } }

.shiho .flow-num {
  font-family: var(--font-en); font-size: 40px; line-height: 1; font-weight: 400;
  color: var(--champagne); letter-spacing: .02em; margin-bottom: 6px;
}

/* 吹き出し */
.shiho .hello-bubble {
  display: inline-block; position: relative;
  background: var(--bg); border: 1px solid var(--beige-dark);
  border-radius: var(--r-pill); padding: 6px 18px;
  font-size: 13px; letter-spacing: .08em; color: var(--brown); box-shadow: var(--shadow);
}
.shiho .hello-bubble::after {
  content: ""; position: absolute; left: 28px; bottom: -7px; width: 12px; height: 12px;
  background: var(--bg); border-right: 1px solid var(--beige-dark); border-bottom: 1px solid var(--beige-dark);
  transform: rotate(45deg);
}

/* Cocoon がボタン系の要素に付ける装飾を打ち消す（保険） */
.shiho .wp-block-button, .shiho .wp-block-buttons { background: none !important; border: 0 !important; padding: 0 !important; box-shadow: none !important; }

/* ==========================================================================
   4. ボタン（二重構造：<em> が欧文チップ、矢印は ::after）
   ========================================================================== */
.shiho .sh-btns { display: flex; flex-wrap: wrap; gap: var(--s-2); margin: 0; }
.shiho .sh-btns.is-content-justification-center { justify-content: center; }
.shiho .sh-btn { margin: 0; }
.shiho .sh-btn .wp-block-button__link {
  display: inline-flex; align-items: center; gap: var(--s-2);
  padding: 13px 20px 13px 16px; border-radius: var(--r-pill); border: 0;
  color: #fff; background: var(--terracotta); box-shadow: var(--shadow);
  font-family: var(--font-ja); font-size: 14px; letter-spacing: .08em; line-height: 1.6;
  text-decoration: none; white-space: nowrap;
  transition: transform .25s var(--ease), background-color .25s, box-shadow .25s;
}
.shiho .sh-btn .wp-block-button__link:hover { background: var(--terra-dark); transform: translateY(-2px); box-shadow: var(--shadow-l); color: #fff; }
.shiho .sh-btn .wp-block-button__link em {
  font-style: normal; background: #fff; color: var(--terracotta);
  font-family: var(--font-en); font-size: 11px; font-weight: 700; letter-spacing: .14em;
  padding: 4px 11px; border-radius: var(--r-pill);
}
.shiho .sh-btn .wp-block-button__link::after { content: "→"; font-family: var(--font-en); opacity: .9; margin-left: 4px; }
.shiho .sh-btn--ghost .wp-block-button__link { background: var(--bg); color: var(--text); border: 1px solid var(--beige-dark); }
.shiho .sh-btn--ghost .wp-block-button__link:hover { background: var(--cream); color: var(--text); }
.shiho .sh-btn--ghost .wp-block-button__link em { background: var(--cream); color: var(--brown); }
@media (max-width: 767px) {
  .shiho .sh-btns { flex-direction: column; }
  .shiho .sh-btn, .shiho .sh-btn .wp-block-button__link { width: 100%; }
  .shiho .sh-btn .wp-block-button__link { justify-content: space-between; }
}

/* ==========================================================================
   5. ヒーロー
   ========================================================================== */
.shiho .hero { background: var(--cream-hero); position: relative; overflow: hidden; padding-block: var(--s-4) var(--s-5); }
@media (min-width: 768px) { .shiho .hero { padding-block: var(--s-5) var(--s-6); } }
.shiho .hero__grid { display: grid; gap: var(--s-3); align-items: center; position: relative; z-index: 1; }
@media (min-width: 900px) {
  .shiho .hero > .hero__grid { max-width: 1280px; }
  .shiho .hero__grid { grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); gap: clamp(24px,3vw,48px); }
  .shiho .hero .sh-btns { flex-direction: row; justify-content: flex-start; }
}
@media (min-width: 1200px) { .shiho .hero__grid { grid-template-columns: minmax(0,.86fr) minmax(0,1.14fr); } }

.shiho .hero__title { font-size: clamp(25px,5.4vw,40px); line-height: 1.62; letter-spacing: .03em; margin: var(--s-3) 0; }
@media (min-width: 900px) { .shiho .hero .hero__title { font-size: clamp(28px,3vw,36px); } }
.shiho .hero__title em { font-style: normal; background: linear-gradient(transparent 62%, var(--champagne) 62%); padding-inline: 2px; }
.shiho .hero__lead { color: var(--text-soft); font-size: 14.5px; margin-bottom: var(--s-4); }

/* イラストは枠なし。左端（文章側）と上下右端を地色に溶かす */
.shiho .hero__media { position: relative; }
.shiho .hero__fig {
  -webkit-mask-image:
    linear-gradient(90deg, transparent 0%, #000 34%, #000 92%, transparent 100%),
    linear-gradient(180deg, transparent 0%, #000 14%, #000 80%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(90deg, transparent 0%, #000 34%, #000 92%, transparent 100%),
    linear-gradient(180deg, transparent 0%, #000 14%, #000 80%, transparent 100%);
  mask-composite: intersect;
}
.shiho .hero__fig img { width: 100%; height: auto; }
@media (min-width: 900px) {
  .shiho .hero__media { margin-right: calc(-1 * max(var(--gutter), (100vw - 1280px) / 2 + var(--gutter))); }
}
@media (max-width: 899px) {
  .shiho .hero__media { margin-inline: calc(-1 * var(--gutter)); }
  .shiho .hero__fig {
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 26%, #000 84%, transparent 100%);
    mask-image: linear-gradient(180deg, transparent 0%, #000 26%, #000 84%, transparent 100%);
  }
}
.shiho .hero__badge {
  position: absolute; left: 8%; bottom: 6%;
  background: var(--bg); border-radius: var(--r-pill);
  padding: 10px 20px; box-shadow: var(--shadow); text-align: center; line-height: 1.5;
}
.shiho .hero__badge strong { font-family: var(--font-round); font-size: 14px; letter-spacing: .06em; display: block; }
.shiho .hero__badge em { font-style: normal; font-family: var(--font-en); font-size: 10px; letter-spacing: .2em; color: var(--gold); }
@media (max-width: 899px) { .shiho .hero__badge { left: var(--gutter); bottom: 10%; } }

/* ==========================================================================
   6. できること（カード）
   ========================================================================== */
.shiho .can-cards { flex-wrap: wrap; gap: var(--s-3); }
.shiho .can-cards > .can-card {
  background: var(--bg); border-radius: var(--r-l); padding: var(--s-4) var(--s-3);
  text-align: center; box-shadow: var(--shadow);
  transition: transform .35s var(--ease), box-shadow .35s;
}
.shiho .can-cards > .can-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-l); }
@media (min-width: 782px) and (max-width: 1059px) { .shiho .can-cards > .can-card { flex-basis: calc(50% - var(--s-3) / 2); flex-grow: 0; } }
@media (min-width: 1060px) { .shiho .can-cards { flex-wrap: nowrap; } }
.shiho .can-card__icon {
  width: 84px; height: 84px; margin: 0 auto var(--s-3); border-radius: 50%;
  background: var(--cream); display: grid; place-items: center; color: var(--icon);
}
.shiho .can-card__icon svg { width: 38px; height: 38px; }
.shiho .can-card__title { font-size: 16px; letter-spacing: .04em; margin-bottom: var(--s-2); }
.shiho .can-card__text { font-size: 14px; color: var(--text-soft); max-width: 20em; margin-inline: auto; }
.shiho .can-card__tags { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-top: var(--s-3); }
.shiho .can-card__tags li {
  font-size: 11px; letter-spacing: .06em; color: var(--brown);
  background: var(--cream); border-radius: var(--r-pill); padding: 3px 12px;
}

/* ==========================================================================
   7. つくったもの
   ========================================================================== */
.shiho .work-cols { gap: var(--s-4); }
.shiho .work-cols + .work-cols { margin-top: var(--s-4); }
.shiho .work-cols > .work-card {
  background: var(--bg); border-radius: var(--r-l); overflow: hidden; box-shadow: var(--shadow);
  transition: transform .35s var(--ease), box-shadow .35s;
}
.shiho .work-cols > .work-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-l); }
.shiho .work__fig { aspect-ratio: 4/3; overflow: hidden; }
.shiho .work__fig img { width: 100%; height: 100%; object-fit: cover; }
.shiho .work__fig--sq { background: var(--cream); }
.shiho .work__fig--sq img { object-fit: contain; padding: 14px; }
.shiho .work__body { padding: var(--s-3); }
.shiho .work__cat { font-family: var(--font-en); font-size: 10px; letter-spacing: .22em; color: var(--gold); text-transform: uppercase; }
.shiho .work__title { font-size: 17px; margin: 6px 0 10px; letter-spacing: .05em; }
.shiho .work__text { font-size: 13.5px; color: var(--text-soft); margin-bottom: var(--s-2); }
.shiho .work__more a { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--terracotta); }
.shiho .work__more a::after { content: "→"; font-family: var(--font-en); transition: transform .3s var(--ease); }
.shiho .work__more a:hover::after { transform: translateX(5px); }

/* ==========================================================================
   8. 制作の流れ
   ========================================================================== */
.shiho .flow-cols { gap: var(--s-2); }
.shiho .flow-cols > .flow-step { position: relative; background: var(--cream); border-radius: var(--r); padding: var(--s-3); }
.shiho .flow-cols > .flow-step h3 { font-size: 16px; margin-bottom: 8px; }
.shiho .flow-cols > .flow-step p:not(.flow-num) { font-size: 13.5px; color: var(--text-soft); }
.shiho .flow-cols > .flow-step::after {
  content: ""; position: absolute; left: 50%; bottom: -16px; transform: translateX(-50%) rotate(45deg);
  width: 10px; height: 10px; border-right: 2px solid var(--beige-dark); border-bottom: 2px solid var(--beige-dark);
}
.shiho .flow-cols > .flow-step:last-child::after { display: none; }
@media (min-width: 782px) {
  .shiho .flow-cols > .flow-step::after { left: auto; right: -13px; bottom: auto; top: 50%; transform: translateY(-50%) rotate(-45deg); }
}
@media (max-width: 781px) { .shiho .flow-cols { gap: var(--s-3); } }

/* ==========================================================================
   9. プロフィール
   ========================================================================== */
.shiho .prof-cols { gap: var(--s-4); align-items: flex-start; }
@media (min-width: 860px) { .shiho .prof-cols > .prof__media { flex: 0 0 320px; } .shiho .prof-cols { gap: var(--s-5); } }
.shiho .prof__fig { border-radius: var(--r-l); overflow: hidden; aspect-ratio: 4/5; box-shadow: var(--shadow-l); }
.shiho .prof__fig img { width: 100%; height: 100%; object-fit: cover; }
.shiho .prof__body p { font-size: 14.5px; }
.shiho .prof__body p + p { margin-top: 1.2em; }
.shiho .prof__list { margin-top: var(--s-3); background: var(--bg); border-radius: var(--r); padding: var(--s-3); }
.shiho .prof__list tr { border-bottom: 1px dashed var(--beige-dark); }
.shiho .prof__list tr:last-child { border-bottom: 0; }
.shiho .prof__list td { padding: 7px 0; vertical-align: top; font-size: 13.5px; }
.shiho .prof__list td:first-child { width: 100px; padding-right: 12px; font-size: 12px; color: var(--gold); letter-spacing: .08em; }

/* ==========================================================================
   10. よくある質問（詳細ブロック）
   ========================================================================== */
.shiho .qa { max-width: 760px; }
.shiho .qa__item {
  background: var(--bg); border-radius: var(--r); margin-bottom: var(--s-2);
  box-shadow: var(--shadow); overflow: hidden; border: 0;
}
.shiho .qa__item summary {
  list-style: none; cursor: pointer; padding: 16px 52px 16px 54px; position: relative;
  font-family: var(--font-round); font-weight: 700; font-size: 15px; letter-spacing: .05em;
}
.shiho .qa__item summary::-webkit-details-marker { display: none; }
.shiho .qa__item summary::before { content: "Q"; position: absolute; left: 18px; top: 15px; font-family: var(--font-en); color: var(--terracotta); font-size: 16px; }
.shiho .qa__item summary::after {
  content: ""; position: absolute; right: 22px; top: 24px; width: 9px; height: 9px;
  border-right: 2px solid var(--khaki); border-bottom: 2px solid var(--khaki);
  transform: rotate(45deg); transition: transform .3s var(--ease);
}
.shiho .qa__item[open] summary::after { transform: rotate(-135deg); }
.shiho .qa__item > p { padding: 0 22px 18px 54px; font-size: 14px; color: var(--text-soft); position: relative; }
.shiho .qa__item > p::before { content: "A"; position: absolute; left: 18px; top: 0; font-family: var(--font-en); color: var(--khaki); font-size: 16px; }

/* ==========================================================================
   11. お問い合わせ
   ========================================================================== */
.shiho .contact-band { background: var(--terracotta); color: #fff; text-align: center; }
.shiho .contact-band .label-en { color: var(--champagne); }
.shiho .contact-band h2 { font-size: clamp(21px,3.6vw,30px); letter-spacing: .06em; margin-bottom: var(--s-3); color: #fff; }
.shiho .contact-band p { color: rgba(255,255,255,.9); font-size: 14.5px; margin-bottom: var(--s-4); }
.shiho .contact-band .sh-btns { justify-content: center; }
.shiho .contact-band .sh-btn .wp-block-button__link { background: #fff; color: var(--terracotta); }
.shiho .contact-band .sh-btn .wp-block-button__link:hover { background: var(--cream); color: var(--terracotta); }
.shiho .contact-band .sh-btn .wp-block-button__link em { background: var(--terracotta); color: #fff; }

/* スマホ下部の固定ボタン */
.shiho-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  padding: 10px 20px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255,255,255,.94); backdrop-filter: blur(8px); border-top: 1px solid #E7E1D8;
}
.shiho-bar__btn {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 11px 16px; border-radius: 999px; background: #BE6A34; color: #fff !important;
  font-size: 13px; letter-spacing: .08em; text-decoration: none !important;
}
.shiho-bar__btn em { font-style: normal; background: #fff; color: #BE6A34; font-family: Georgia,serif; font-size: 11px; font-weight: 700; letter-spacing: .14em; padding: 4px 11px; border-radius: 999px; }
.shiho-bar__btn span { font-family: Georgia,serif; }
@media (min-width: 768px) { .shiho-bar { display: none; } }

/* ==========================================================================
   12. 事例ページ
   ========================================================================== */
.shiho .case-head { padding-top: var(--s-3); }
.shiho .crumb { font-size: 12px; color: var(--text-soft); margin-bottom: var(--s-3); }
.shiho .crumb a:hover { color: var(--terracotta); }
.shiho .case__title { font-size: clamp(23px,4.4vw,36px); line-height: 1.6; margin-top: var(--s-2); }
.shiho .case__hero { aspect-ratio: 4/3; border-radius: var(--r-l); overflow: hidden; box-shadow: var(--shadow-l); margin-top: var(--s-4); }
.shiho .case__hero img { width: 100%; height: 100%; object-fit: cover; }
.shiho .case__plate { max-width: 720px; margin: var(--s-4) auto 0; }

.shiho .case__grid { gap: var(--s-4); align-items: flex-start; }
@media (min-width: 900px) { .shiho .case__grid > .case__side { flex: 0 0 330px; } .shiho .case__grid { gap: var(--s-5); } }
.shiho .case__spec { background: var(--bg); border-radius: var(--r); padding: var(--s-3); box-shadow: var(--shadow); }
.shiho .case__spec tr { border-bottom: 1px dashed var(--beige-dark); }
.shiho .case__spec tr:last-child { border-bottom: 0; }
.shiho .case__spec td { padding: 7px 0; vertical-align: top; font-size: 13.5px; }
.shiho .case__spec td:first-child { width: 90px; padding-right: 12px; font-size: 12px; color: var(--gold); letter-spacing: .08em; }
.shiho .case__spec a { color: var(--terracotta); }

.shiho .case__body h3 {
  font-size: 18px; letter-spacing: .06em; margin: var(--s-4) 0 var(--s-2);
  padding-left: 16px; border-left: 4px solid var(--champagne); border-radius: 2px;
}
.shiho .case__body h3:first-child { margin-top: 0; }
.shiho .case__body p { font-size: 14.5px; color: var(--text-soft); }
.shiho .case__body p + p { margin-top: 1.2em; }
.shiho .case__shots { gap: var(--s-2); margin-top: var(--s-3); }
.shiho .shot { aspect-ratio: 3/4; border-radius: var(--r); overflow: hidden; }
.shiho .shot img { width: 100%; height: 100%; object-fit: cover; }

/* 作品そのものを見せる図版（チラシ・バナー・イラスト） */
.shiho .art { background: var(--bg); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow-l); }
.shiho .art img { width: 100%; height: auto; }
.shiho .art figcaption { padding: 12px 16px; font-size: 12.5px; color: var(--text-soft); border-top: 1px dashed var(--beige-dark); text-align: left; margin: 0; }
.shiho .art-single { max-width: 620px; margin-top: var(--s-3); }
.shiho .art-grid { gap: var(--s-3); margin-top: var(--s-3); }

.shiho .case-pager { display: flex; justify-content: space-between; gap: 16px; padding-top: var(--s-4); margin-top: var(--s-4); border-top: 1px dashed var(--beige-dark); font-size: 13.5px; color: var(--text-soft); }
.shiho .case-pager a:hover { color: var(--terracotta); }

/* 導線の図（アクセス解析） */
.shiho .funnel { margin: var(--s-3) 0 0; }
.shiho .funnel li { display: grid; grid-template-columns: minmax(0,1fr) 180px; gap: 6px 20px; align-items: center; padding-block: 8px; }
.shiho .funnel__bar {
  height: 44px; width: var(--w); background: var(--cream); border: 1px solid var(--beige-dark); border-radius: var(--r-pill);
  display: flex; align-items: center; padding-inline: 20px;
  font-family: var(--font-round); font-weight: 700; font-size: 14.5px; white-space: nowrap;
}
.shiho .funnel li:nth-child(4) .funnel__bar { background: #F6E7DC; border-color: var(--terracotta); color: var(--terra-dark); }
.shiho .funnel__d { font-size: 12px; color: var(--text-soft); }
.shiho .funnel__note { margin-top: var(--s-2); font-size: 12px; color: var(--gold); }
@media (max-width: 720px) {
  .shiho .funnel li { grid-template-columns: 1fr; }
  .shiho .funnel__bar { width: min(100%, calc(var(--w) + 26%)); }
}
.shiho .tick { margin-top: var(--s-2); }
.shiho .tick li { position: relative; padding-left: 24px; margin-bottom: 12px; font-size: 14px; color: var(--text-soft); }
.shiho .tick li::before {
  content: ""; position: absolute; left: 2px; top: .7em; width: 9px; height: 9px;
  border-left: 2px solid var(--terracotta); border-bottom: 2px solid var(--terracotta); transform: rotate(-45deg); border-radius: 1px;
}

/* ==========================================================================
   13. サイト共通（.shiho の外に出さざるを得ないもの）
       ここだけはページ本文の外側に効きます。
   ========================================================================== */
/* ※ body に overflow-x:hidden を付けない。iPhone の Safari では、付けるとページ内リンクで移動したあとに
     固定ヘッダーが画面から消える不具合が出る。横はみ出しの抑止は #container 側で行う */
body { background: #FFFFFF; }
#container { overflow-x: clip; }

/* 固定ページでは本文まわりの枠と余白を外す（デザインが全幅前提のため） */
body.page .main, body.page .content, body.page .entry-content {
  padding: 0; margin: 0; border: 0; max-width: none; background: transparent; box-shadow: none;
}
body.page .content { margin-block: 0; }
/* 固定ページのタイトルは本文の h1 と重複するため隠す */
body.page .entry-title { display: none; }
/* パンくずは本文側に持っているので Cocoon 側は隠す */
body.page .breadcrumb { display: none; }
/* 投稿者名（鉛筆アイコン＋名前）・投稿者ボックス・日付は出さない */
body.page .post-author, body.page .author-info, body.page .author-box,
body.page .date-tags, body.page .entry-meta, body.page .article-footer .author-box { display: none !important; }

/* --------------------------------------------------
   ヘッダー（静的サイトのデザインに合わせる）
   Cocoon 側は「トップメニュー小（右寄せ）」に設定してある。
   -------------------------------------------------- */
#header-container {
  background: rgba(255,255,255,.9); backdrop-filter: blur(8px);
  border-bottom: 1px solid #E7E1D8; box-shadow: none;
  position: sticky; top: var(--wp-admin--admin-bar--height, 0px); z-index: 50;
}
#header-container-in, #header, #header-in, #navi, #navi-in { background: transparent; box-shadow: none; }
@media (min-width: 1024px) {
  #header-container-in {
    display: flex; align-items: center; justify-content: space-between; gap: 24px;
    max-width: 1120px; margin-inline: auto; padding-inline: 40px; min-height: 64px;
  }
  #header, #navi { width: auto; max-width: none; margin: 0; padding: 0; }
  #header-in, #navi-in { width: auto; max-width: none; margin: 0; padding: 0; min-height: 0; }
}
#header-container .tagline { display: none; }

/* ロゴ：丸ゴシック */
.logo-header, .logo-header .site-name-text, .logo-header a {
  font-family: "Zen Maru Gothic","Hiragino Maru Gothic ProN",sans-serif;
  font-weight: 700; font-size: 20px; letter-spacing: .1em; color: #3B3B3B;
  text-decoration: none; line-height: 1.3;
}
.logo-header a { padding: 0; margin: 0; display: inline-block; }
.logo-header a:hover { color: #3B3B3B; opacity: .75; }
/* ロゴの右に小さく "web design"（Cocoon のロゴはサイト名しか出せないため CSS で） */
.logo-header a::after {
  content: "web design"; margin-left: 10px;
  font-family: Georgia,serif; font-weight: 400; font-size: 10px; letter-spacing: .22em;
  text-transform: uppercase; color: #A98F5D; vertical-align: baseline;
}

/* グローバルメニュー */
#navi .menu-header > li { width: auto; }
#navi .menu-header li a {
  font-family: "Zen Kaku Gothic New","Hiragino Sans",sans-serif;
  font-size: 13px; letter-spacing: .08em; color: #6B6560;
  width: auto; height: auto; line-height: 1.6; padding: 4px 0; margin-left: 26px;
}
#navi .menu-header li a:hover { background: transparent; color: #BE6A34; }
/* 「ご相談はこちら」はピル型ボタン（メニュー項目に nav-cta クラスを付けてある） */
#navi .menu-header li.nav-cta > a {
  background: #BE6A34; color: #fff; border-radius: 999px; padding: 8px 20px; margin-left: 26px;
}
#navi .menu-header li.nav-cta > a:hover { background: #A4562A; color: #fff; }

/* スマホ（1023px以下）：Cocoon の上部固定バーをヘッダーとして使う */
@media (max-width: 1023px) {
  #header-container { display: none; }
  /* ※ backdrop-filter は付けない（付けると Cocoon のスライドメニューがヘッダー内に閉じ込められて開かなくなる） */
  .mobile-header-menu-buttons {
    background: #FFFFFF;
    border-bottom: 1px solid #E7E1D8; box-shadow: none;
    /* Cocoon の JS は下スクロール時に top を負の値にしてヘッダーを隠す（inline style）。
       常時表示にするため !important で固定する（Cocoon設定「モバイルボタンを固定する」と同じ効果） */
    position: fixed !important; top: var(--wp-admin--admin-bar--height, 0px) !important;
    left: 0; right: 0; z-index: 90 !important; transition: none !important;
    display: flex; align-items: center; justify-content: space-between; padding-inline: 20px;
  }
  .mobile-header-menu-buttons .search-menu-button { display: none; }
  /* サイト名を左のロゴに（Cocoon の DOM はメニューボタンが先なので order で入れ替える） */
  .mobile-header-menu-buttons .logo-menu-button { order: -1; width: auto; flex: 0 0 auto; text-align: left; }
  .mobile-header-menu-buttons .logo-menu-button a {
    font-family: "Zen Maru Gothic","Hiragino Maru Gothic ProN",sans-serif; font-weight: 700;
    font-size: 18px; letter-spacing: .1em; color: #3B3B3B; text-decoration: none;
    padding: 0; height: auto; display: inline-block;
  }
  .mobile-header-menu-buttons .logo-menu-button a::after {
    content: "web design"; margin-left: 8px;
    font-family: Georgia,serif; font-weight: 400; font-size: 9px; letter-spacing: .2em;
    text-transform: uppercase; color: #A98F5D;
  }
  /* ハンバーガーは右端。3本線はブラウンに、「メニュー」の文字は消す */
  .mobile-header-menu-buttons .navi-menu-button { width: auto; flex: 0 0 auto; margin-left: auto; }
  .navi-menu-button .navi-menu-icon { color: #8C7A5E; }
  .navi-menu-button .navi-menu-caption { display: none; }
  body { padding-top: 0; }
  /* スライドインメニューの中身 */
  .navi-menu-content { background: #F7F4EF; }
  .navi-menu-content li a {
    font-family: "Zen Kaku Gothic New","Hiragino Sans",sans-serif; letter-spacing: .06em;
    font-size: 15px; padding: 14px 24px; color: #3B3B3B; border-bottom: 1px dashed #DAD3C6;
  }
  .navi-menu-content li.nav-cta a { color: #BE6A34; font-weight: 700; border-bottom: 0; }
}

/* フッター */
#footer { background: #F7F4EF; color: #3B3B3B; border-top: 0; }
#footer a { color: #6B6560; }
#footer a:hover { color: #BE6A34; }
.footer-bottom-logo .logo-footer, .footer-bottom-logo .site-name-text {
  font-family: "Zen Maru Gothic","Hiragino Maru Gothic ProN",sans-serif; font-weight: 700; letter-spacing: .1em;
}
.footer-bottom .copyright, .copyright { font-family: Georgia,serif; font-size: 11px; letter-spacing: .16em; color: #8C7A5E; }
.navi-footer-in .menu-footer li a { font-family: "Zen Kaku Gothic New","Hiragino Sans",sans-serif; font-size: 13px; }
@media (max-width: 767px) { #footer { padding-bottom: 80px; } }   /* 固定ボタンに隠れないように */
