/*
Theme Name: パソコン送って修理（Cocoon Child）
Description: okutte-pc.com 用の Cocoon 子テーマ。2026年リニューアル版。
Template: cocoon-master
Version: 1.4.1
Text Domain: okutte-pc-child
*/

/* ============================================================
   色・基本設定
   ============================================================ */
/* 女性・子育て中の方・ご年配の方に向けて、
   冷たい紺色ではなく、イラストの配達員の制服に合わせた深い緑青色と、
   温かみのあるオレンジ・クラフト紙色でまとめています。
   （変数名は以前のまま。--opc-navy が基本色、--opc-blue がリンク・アクセント色） */
:root {
  --opc-navy: #1e5651;
  --opc-blue: #23807a;
  --opc-blue-pale: #e5f3f0;
  --opc-orange: #e8640f;
  --opc-orange-dark: #c24f05;
  --opc-cream: #fff7ef;
  --opc-text: #3a332d;
  --opc-muted: #6b6159;
  --opc-line: #e6dccb;
  --opc-white: #ffffff;
  --opc-radius: 16px;
  --opc-shadow: 0 3px 14px rgba(90, 64, 30, .10);
}

/* 文字は大きめ・行間ゆったり（ご年配の方も読みやすいように） */
body {
  color: var(--opc-text);
  background: var(--opc-white);
  font-family: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  font-size: 17px;
  line-height: 1.9;
}
.article p, .article li, .article td, .article th, .article dd { font-size: 17px; }

a { color: var(--opc-blue); }

/* ============================================================
   ボタン
   ============================================================ */
.opc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4em;
  padding: .8em 1.6em;
  border-radius: 999px;
  background: var(--opc-orange);
  color: #fff !important;
  font-weight: 700;
  text-decoration: none !important;
  line-height: 1.3;
  box-shadow: 0 3px 0 var(--opc-orange-dark);
  transition: transform .15s, box-shadow .15s;
}
.opc-btn:hover { transform: translateY(2px); box-shadow: 0 1px 0 var(--opc-orange-dark); }
.opc-btn-sm { padding: .45em 1.1em; font-size: .85em; }
.opc-btn-lg { padding: 1em 2em; font-size: 1.1em; }
.opc-btn-ghost {
  background: #fff;
  color: var(--opc-navy) !important;
  border: 2px solid var(--opc-navy);
  box-shadow: none;
}
.opc-btn-ghost:hover { box-shadow: none; background: var(--opc-blue-pale); }

/* ============================================================
   ヘッダー上部の帯
   ============================================================ */
.opc-topbar { background: var(--opc-navy); color: #fff; font-size: 14px; }
.opc-topbar-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 16px;
}
.opc-topbar-lead { margin: 0; }
.opc-topbar-lead strong { color: #ffd8a8; }
.opc-topbar-contact { display: flex; align-items: center; gap: 14px; }
.opc-topbar-tel {
  color: #fff !important;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none !important;
  letter-spacing: .02em;
}
.opc-topbar-tel .opc-ico { margin-right: 4px; }
.opc-topbar-hours { opacity: .85; }

/* ============================================================
   Cocoon ヘッダー・メニューの調整
   ============================================================ */
/* ページ全体の背景：旧サイトのクラフト紙に合わせた生成り色 */
body { background: #f6eedc; }
.main { background: transparent !important; }
.article table { background: #fff; }

.header-container { background: #fff; border-bottom: 1px solid var(--opc-line); }
.header .site-name-text { color: var(--opc-navy); font-weight: 800; letter-spacing: .03em; }
.navi { background: #fff; }
.navi-in > ul > li > a { color: var(--opc-navy); font-weight: 700; font-size: 16px; }
.navi-in > ul > li > a:hover { background: var(--opc-blue-pale); color: var(--opc-blue); }
@media (min-width: 1024px) {
  /* キャッチフレーズは上部の帯に出しているので、ロゴ上の重複表示を消す */
  .header-container .tagline { display: none; }
  /* メニュー項目を文字幅に合わせ、1行に収める */
  .navi-in > ul > li { width: auto; flex: 1 1 auto; }
  .navi-in > ul > li > a { padding: 0 10px; white-space: nowrap; }
}

/* ------------------------------------------------------------
   スマホ・タブレットのメニュー（ハンバーガー）
   Cocoon 標準の下部ボタンのうち「メニュー」だけを右上に出す。
   ほかのボタン（ホーム・検索など）は、下部の電話・見積りボタンと重なるので隠す
   ------------------------------------------------------------ */
.mobile-footer-menu-buttons { display: none !important; }
@media (max-width: 1023px) {
  body .mobile-footer-menu-buttons {
    display: block !important;
    position: fixed !important;
    top: 6px !important;
    right: 8px !important;
    bottom: auto !important;
    left: auto !important;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: none !important;
    box-shadow: none !important;
    z-index: 1000;
  }
  /* ログイン中は画面上部にWordPressの管理バーが出るので、その下にずらす */
  body.admin-bar .mobile-footer-menu-buttons { top: 38px !important; }
  body .mobile-footer-menu-buttons > li:not(.navi-menu-button) { display: none !important; }
  body .mobile-footer-menu-buttons .navi-menu-button { width: auto !important; margin: 0 !important; }
  body .mobile-footer-menu-buttons #navi-menu-open {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 50px;
    padding: 0;
    border-radius: 14px;
    background: var(--opc-orange);
    color: #fff !important;
    box-shadow: 0 3px 10px rgba(0, 0, 0, .2);
  }
  body .mobile-footer-menu-buttons #navi-menu-open .menu-icon { font-size: 22px; line-height: 1; }
  body .mobile-footer-menu-buttons #navi-menu-open .menu-caption { font-size: 11px; font-weight: 700; line-height: 1.2; margin-top: 3px; }
  /* 開いたメニューの文字を大きく、押しやすく */
  .menu-drawer a {
    display: block;
    padding: 14px 22px !important;
    border-bottom: 1px solid var(--opc-line);
    color: var(--opc-navy) !important;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
  }
  /* 管理バーは幅782px以下で高さ46px、幅600px以下ではスクロールで消える */
  @media (max-width: 782px) {
    body.admin-bar .mobile-footer-menu-buttons { top: 52px !important; }
  }
  /* キャッチフレーズはメインビジュアルと同じ内容なので、ボタンと重ならないよう隠す */
  .header .tagline { display: none; }
}

/* ============================================================
   固定ページの本文
   ============================================================ */
.page .entry-title {
  color: var(--opc-navy);
  font-size: 30px;
  font-weight: 800;
  border: none;
  padding: 0;
  margin-bottom: 8px;
}
.page .article h2,
.single .article h2 {
  background: none;
  border: none;
  border-left: 6px solid var(--opc-blue);
  padding: 4px 0 4px 14px;
  color: var(--opc-navy);
  font-size: 26px;
  font-weight: 900;
  margin: 2.6em 0 1em;
}
.page .article h3,
.single .article h3 {
  border: none;
  border-bottom: 2px solid var(--opc-line);
  padding: 0 0 6px;
  color: var(--opc-navy);
  font-size: 20px;
  margin: 2em 0 .8em;
}
.article .opc-lead { font-size: 1.1em; color: var(--opc-text); }
.article table th { background: var(--opc-blue-pale); color: var(--opc-navy); white-space: nowrap; }
.article table th, .article table td { border-color: var(--opc-line); padding: 10px 14px; vertical-align: top; }

/* トップページは見出しを隠し、全幅レイアウトに */
.home .entry-title,
.home .date-tags,
.home .sns-share,
.home .sns-follow,
.home .breadcrumb { display: none; }
.home .article { margin-bottom: 0; }

/* トップページのセクション */
.opc-section { margin: 72px 0; }
.opc-section-title {
  text-align: center;
  font-size: 32px !important;
  font-weight: 900;
  color: var(--opc-navy) !important;
  margin: 0 0 10px !important;
  padding: 0 0 14px !important;
  border: none !important;
  background: none !important;
  position: relative;
}
/* 見出しの下に短いオレンジの線 */
.opc-section-title::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 56px;
  height: 4px;
  margin-left: -28px;
  border-radius: 2px;
  background: var(--opc-orange);
}
.opc-voice-title::after { display: none; }
.opc-section-sub { text-align: center; color: var(--opc-muted); margin: 0 0 32px; font-size: 16px; }
.opc-section-cream {
  /* 旧サイトのクラフト紙の質感 */
  background: #ead9ae url(img/kraft.jpg) repeat;
  border-radius: var(--opc-radius);
  padding: 48px 28px;
}

/* ============================================================
   ボックス類
   ============================================================ */
.opc-box,
.opc-warn,
.opc-issue {
  border-radius: var(--opc-radius);
  padding: 22px 26px;
  margin: 1.6em 0;
}
.opc-box { background: var(--opc-blue-pale); }
.opc-warn { background: #fff4e6; border: 2px solid #ffc078; }
.opc-warn > h3:first-child,
.opc-box > h3:first-child { margin-top: 0 !important; border: none !important; padding: 0 !important; }
.opc-warn ul, .opc-box ul { margin-bottom: 0; }
.opc-issue { background: #fff; border: 1px solid var(--opc-line); box-shadow: var(--opc-shadow); }
.opc-issue > h3:first-child { margin-top: 0 !important; }

/* ご利用の流れ（詳細ページ） */
.opc-step {
  position: relative;
  background: #fff;
  border: 1px solid var(--opc-line);
  border-left: 6px solid var(--opc-blue);
  border-radius: var(--opc-radius);
  padding: 20px 24px;
  margin: 0 0 28px;
}
.opc-step:not(:last-of-type)::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -22px;
  transform: translateX(-50%);
  border: 10px solid transparent;
  border-top-color: var(--opc-orange);
}
.opc-step > h3:first-child { margin-top: 0 !important; border: none !important; padding: 0 !important; }
.opc-step ul { margin-bottom: 0; }

/* 料金表 */
.opc-price-table th { min-width: 11em; }
.opc-price-table td:last-child { font-weight: 800; color: var(--opc-orange-dark); white-space: nowrap; text-align: right; }
.opc-price-table td.opc-price-cat {
  background: var(--opc-navy);
  color: #fff;
  font-weight: 700;
  text-align: left !important;
}
.opc-formula { width: 100%; background: #fff; }
.opc-formula td strong { color: var(--opc-orange-dark); font-size: 1.2em; }
.opc-address { background: #fff; border: 1px dashed var(--opc-blue); border-radius: 10px; padding: 12px 18px; margin: 1em 0; }
.opc-address p { margin: 0; }

/* 表はスマホで横スクロール */
@media (max-width: 767px) {
  .wp-block-table { overflow-x: auto; }
  .wp-block-table table { min-width: 560px; }
  .opc-price-table td:last-child { white-space: normal; }
}

.opc-meta {
  display: inline-block;
  background: var(--opc-cream);
  border-radius: 8px;
  padding: 8px 14px;
  font-size: .95em;
}
.opc-meta strong { color: var(--opc-orange-dark); margin-right: .3em; }
.opc-note { color: var(--opc-muted); font-size: .9em; }
.opc-more-link { text-align: right; font-weight: 700; }
.opc-more-link a { text-decoration: none; }

.opc-symptoms { list-style: none; padding-left: 0 !important; }
.opc-symptoms li { position: relative; padding-left: 1.6em; }
.opc-symptoms li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--opc-orange);
  font-weight: 700;
}

/* ============================================================
   メインビジュアル
   ============================================================ */
.opc-hero {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 32px;
  align-items: center;
  /* 旧サイトのメイン画像と同じ空色 */
  background: #aedcec;
  border-radius: 20px;
  padding: 48px 40px;
  margin-top: 8px;
  overflow: hidden;
}
.opc-hero-visual img {
  display: block;
  width: 100%;
  height: auto;
  /* 画像の左右の端をぼかして背景になじませる */
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 4%, #000 88%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0, #000 4%, #000 88%, transparent 100%);
}
.opc-hero-eyebrow {
  display: inline-block;
  background: var(--opc-navy);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 999px;
  margin: 0 0 12px;
}
.opc-hero-title {
  font-size: 46px;
  line-height: 1.35;
  font-weight: 900;
  color: var(--opc-navy);
  margin: 0 0 16px;
}
.opc-hero-title span { color: var(--opc-orange); }
.opc-hero-lead { font-size: 17px; margin: 0 0 20px; }
.opc-hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  padding: 0 !important;
  margin: 0 0 24px !important;
}
.opc-hero-badges li {
  background: #fff;
  border: 1px solid var(--opc-line);
  border-radius: 10px;
  padding: 8px 14px;
  font-size: 13px;
  color: var(--opc-muted);
  line-height: 1.4;
}
.opc-hero-badges strong { display: block; color: var(--opc-orange-dark); font-size: 17px; }
.opc-hero-buttons { display: flex; flex-wrap: wrap; gap: 12px; }

.opc-svg { width: 1em; height: 1em; }

/* ============================================================
   選ばれる理由
   ============================================================ */
.opc-merits-wrap { display: grid; grid-template-columns: 300px 1fr; gap: 28px; align-items: center; }
.opc-merits-fig { margin: 0; text-align: center; }
.opc-merits-fig img { width: 100%; max-width: 300px; height: auto; }
.opc-merits { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.opc-merit {
  background: #fff;
  border-radius: var(--opc-radius);
  padding: 26px;
  box-shadow: var(--opc-shadow);
}
.opc-merit-ico {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--opc-blue-pale);
  color: var(--opc-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}
.opc-merit-ico .opc-svg { width: 28px; height: 28px; }
.opc-merit-num { margin: 0; color: var(--opc-orange); font-weight: 700; font-size: 13px; letter-spacing: .1em; }
.opc-merit-title {
  margin: 2px 0 8px !important;
  padding: 0 !important;
  border: none !important;
  font-size: 20px !important;
  color: var(--opc-navy);
}
.opc-merit p:last-child { margin: 0; font-size: 16px; }

/* ============================================================
   修理メニュー
   ============================================================ */
.opc-services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.opc-service {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: #fff;
  border: 1px solid var(--opc-line);
  border-radius: var(--opc-radius);
  padding: 22px;
  color: var(--opc-text) !important;
  text-decoration: none !important;
  transition: border-color .15s, box-shadow .15s, transform .15s;
}
.opc-service:hover { border-color: var(--opc-blue); box-shadow: var(--opc-shadow); transform: translateY(-2px); }
.opc-service-img {
  display: block;
  height: 150px;
  margin: -22px -22px 10px;
  background: #fff;
  border-bottom: 1px solid var(--opc-line);
  border-radius: var(--opc-radius) var(--opc-radius) 0 0;
  overflow: hidden;
}
.opc-service-img img { width: 100%; height: 100%; object-fit: contain; padding: 12px; box-sizing: border-box; }
.opc-service-title { font-size: 21px; font-weight: 800; color: var(--opc-navy); }
.opc-service-text { font-size: 15px; color: var(--opc-muted); flex: 1; }
.opc-service-more { font-size: 15px; font-weight: 700; color: var(--opc-orange-dark); }

/* ============================================================
   ご利用の流れ（簡易版）
   ============================================================ */
.opc-flow {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  list-style: none;
  padding: 0 !important;
  margin: 0 0 12px !important;
  counter-reset: none;
}
.opc-flow-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: #fff;
  border-radius: var(--opc-radius);
  padding: 20px 12px;
  box-shadow: var(--opc-shadow);
  position: relative;
}
.opc-flow-step:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -10px;
  top: 50%;
  border: 8px solid transparent;
  border-left-color: var(--opc-orange);
  transform: translateY(-50%);
  z-index: 1;
}
.opc-flow-num { font-size: 13px; font-weight: 800; color: var(--opc-orange); letter-spacing: .08em; }
.opc-flow-ico { color: var(--opc-blue); margin: 6px 0; }
.opc-flow-ico .opc-svg { width: 36px; height: 36px; }
.opc-flow-title { font-weight: 800; color: var(--opc-navy); margin-bottom: 6px; }
.opc-flow-text { font-size: 15px; color: var(--opc-muted); line-height: 1.7; }

/* ============================================================
   料金の目安
   ============================================================ */
.opc-prices-wrap { display: grid; grid-template-columns: 1fr 280px; gap: 28px; align-items: center; }
.opc-prices-fig { order: 2; margin: 0; text-align: center; }
.opc-prices-fig img { width: 100%; max-width: 280px; height: auto; }
.opc-flow-deco { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin: 20px 0 0; }
.opc-flow-truck { width: 46%; max-width: 420px; height: auto; }
.opc-flow-done { width: 30%; max-width: 260px; height: auto; }
.opc-voice-title img { display: inline-block; width: 260px; max-width: 80%; height: auto; }

/* 各ページ冒頭の見出し画像（文字の見出しは画面上だけ隠す） */
.opc-pagehead { text-align: center; margin: 0 0 28px; }
.opc-pagehead img { max-width: 100%; height: auto; }
.opc-has-pagehead .entry-title {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
/* ============================================================
   料金の表示
   数字は大きく太く、「円〜」は小さく。最大料金は下に小さく添える
   ============================================================ */
.opc-yen { color: var(--opc-orange-dark); white-space: nowrap; line-height: 1.1; }
.opc-yen b { font-size: 30px; font-weight: 900; letter-spacing: .01em; font-feature-settings: "palt"; }
.opc-yen small { font-size: 16px; font-weight: 700; margin-left: 2px; }
/* 「最大○円」の小さな札（作業名の下に置き、金額の高さはどの項目もそろえる） */
.opc-pnote {
  display: table;
  margin-top: 6px;
  padding: 1px 10px;
  border-radius: 999px;
  background: #f4ecdd;
  color: var(--opc-muted);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.7;
  letter-spacing: .02em;
}

/* 「診断無料 0円」の帯 */
.opc-pl-free {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 18px;
  background: var(--opc-cream);
  border: 2px solid var(--opc-orange);
  border-radius: var(--opc-radius);
  padding: 14px 22px;
  margin: 0 0 20px;
}
.opc-pl-free-label { font-weight: 800; font-size: 18px; color: var(--opc-navy); }
.opc-pl-free .opc-yen b { font-size: 40px; }
.opc-pl-free-note { font-size: 15px; color: var(--opc-text); }

/* トップページの料金カード */
.opc-price-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  list-style: none;
  padding: 0 !important;
  margin: 0 0 12px !important;
}
.opc-price-cards li {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 8px;
  background: #fff;
  border-radius: var(--opc-radius);
  box-shadow: var(--opc-shadow);
  padding: 16px 18px;
  margin: 0 !important;
}
.opc-pc-name { font-weight: 700; font-size: 16px; color: var(--opc-text); line-height: 1.5; }
.opc-pc-price { text-align: right; }

/* 料金表ページ */
.opc-pricelist { margin: 1.5em 0; }
.opc-pl-cat {
  margin: 2em 0 .8em !important;
  padding: 6px 16px !important;
  border: none !important;
  border-radius: 999px;
  background: var(--opc-navy) !important;
  color: #fff !important;
  font-size: 18px !important;
  display: inline-block;
}
.opc-pl-items { list-style: none; padding: 0 !important; margin: 0 !important; display: grid; gap: 12px; }
.opc-pl-item {
  background: #fff;
  border-radius: var(--opc-radius);
  box-shadow: var(--opc-shadow);
  padding: 16px 22px;
  margin: 0 !important;
}
/* 左に「作業名・最大○円・説明」、右に金額。金額はカードの縦中央にそろえる */
.opc-pl-item { display: grid; grid-template-columns: 1fr auto; column-gap: 24px; align-items: center; }
.opc-pl-head { display: contents; }
.opc-pl-name { grid-column: 1; grid-row: 1; font-size: 19px; font-weight: 800; color: var(--opc-navy); line-height: 1.5; }
.opc-pl-price { grid-column: 2; grid-row: 1 / span 2; align-self: center; text-align: right; }
.opc-pl-desc { grid-column: 1; grid-row: 2; margin: 6px 0 0 !important; font-size: 15px !important; color: var(--opc-muted); line-height: 1.7; }

/* ============================================================
   対応メーカー
   ============================================================ */
.opc-makers ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0 !important;
  margin: 0 0 12px !important;
  justify-content: center;
}
.opc-makers li {
  background: #fff;
  border: 1px solid var(--opc-line);
  border-radius: 999px;
  padding: 4px 14px;
  font-size: 14px;
}
.opc-makers p { text-align: center; color: var(--opc-muted); }

/* ============================================================
   お客様の声
   ============================================================ */
.opc-voice dl { margin: 0; }
.opc-voice dt {
  font-weight: 800;
  color: var(--opc-navy);
  margin-top: 18px;
}
.opc-voice dd {
  margin: 6px 0 0;
  background: #fff;
  border-radius: var(--opc-radius);
  padding: 16px 20px;
  box-shadow: var(--opc-shadow);
}
/* お客様のお名前（熊本市 ○○様）は右寄せで別の行に */
.opc-voice dd span {
  display: block;
  text-align: right;
  margin-top: 6px;
  font-size: 14px;
  color: var(--opc-muted);
}

/* ============================================================
   お問合せボックス
   ============================================================ */
.opc-cta {
  background: var(--opc-navy);
  color: #fff;
  border-radius: 20px;
  padding: 40px 28px;
  text-align: center;
  margin: 48px 0;
}
.opc-cta-band { border-radius: 0; margin: 0; }
.opc-cta-title { font-size: 26px; font-weight: 800; margin: 0 0 6px; }
.opc-cta-sub { margin: 0 0 24px; opacity: .9; }
.opc-cta-sub strong { color: #ffd8a8; }
.opc-cta-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  max-width: 760px;
  margin: 0 auto;
}
.opc-cta-tel, .opc-cta-form {
  display: flex;
  flex-direction: column;
  gap: 2px;
  border-radius: 14px;
  padding: 16px 12px;
  text-decoration: none !important;
  line-height: 1.4;
}
.opc-cta-tel { background: #fff; color: var(--opc-navy) !important; }
.opc-cta-form { background: var(--opc-orange); color: #fff !important; }
.opc-cta-label { font-size: 13px; font-weight: 700; opacity: .85; }
.opc-cta-num { font-size: 26px; font-weight: 900; letter-spacing: .02em; }
.opc-cta-hours { font-size: 13px; }

/* ============================================================
   フッター
   ============================================================ */
.footer { background: #173f3b; color: #dfe9e6; }
.footer a { color: #fff; }
.opc-footer-info {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 32px;
  padding: 36px 20px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, .15);
  margin-bottom: 16px;
  font-size: 14px;
  text-align: left;
}
.opc-footer-shop p { margin: 0 0 4px; }
.footer .footer-bottom { padding-left: 20px; padding-right: 20px; }
.opc-footer-name { font-size: 18px; font-weight: 800; color: #fff; }
.opc-footer-shoplink { margin-top: 10px !important; }
.opc-footer-sitemap {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px 20px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.opc-footer-sitemap a { text-decoration: none; }
.opc-footer-sitemap a::before { content: "› "; color: var(--opc-orange); }

/* ============================================================
   スマホ下部固定ボタン
   ============================================================ */
.opc-mobilebar { display: none; }

/* ============================================================
   レスポンシブ
   ============================================================ */
@media (max-width: 1023px) {
  .opc-topbar-lead { display: none; }
  .opc-topbar-in { justify-content: center; }
  .opc-hero { grid-template-columns: 1fr; padding: 36px 24px; }
  .opc-hero-visual { max-width: 420px; margin: 0 auto; }
  .opc-merits-wrap, .opc-prices-wrap { grid-template-columns: 1fr; }
  .opc-merits-fig img { max-width: 240px; }
  .opc-prices-fig { order: 0; }
  .opc-prices-fig img { max-width: 220px; }
  .opc-services { grid-template-columns: repeat(2, 1fr); }
  .opc-flow { grid-template-columns: 1fr; }
  .opc-flow-step { flex-direction: row; flex-wrap: wrap; text-align: left; gap: 0 12px; }
  .opc-flow-step:not(:last-child)::after {
    right: auto; left: 50%; top: auto; bottom: -14px;
    border-left-color: transparent; border-top-color: var(--opc-orange);
    transform: translateX(-50%);
  }
  .opc-flow-text { flex-basis: 100%; }
}

@media (max-width: 767px) {
  body { padding-bottom: 64px; }
  .opc-topbar-hours, .opc-topbar .opc-btn { display: none; }
  .opc-hero-title { font-size: 32px; }
  body, .article p, .article li, .article td, .article th, .article dd { font-size: 16px; }
  .opc-hero-lead { font-size: 15px; }
  .opc-hero-buttons .opc-btn { flex: 1 1 100%; }
  .opc-section { margin: 48px 0; }
  .opc-section-title { font-size: 25px !important; }
  .opc-section-cream { padding: 32px 16px; }
  .opc-merits, .opc-services { grid-template-columns: 1fr; }
  .opc-price-cards { grid-template-columns: 1fr 1fr; gap: 10px; }
  .opc-price-cards li { padding: 12px 14px; }
  .opc-pc-name { font-size: 15px; }
  .opc-yen b { font-size: 26px; }
  .opc-pl-item { padding: 14px 16px; column-gap: 12px; }
  /* スマホでは金額を作業名の横に置き、説明は横幅いっぱいに */
  .opc-pl-price { grid-row: 1; }
  .opc-pl-desc { grid-column: 1 / -1; }
  .opc-pl-name { font-size: 17px; }
  .opc-flow-truck { width: 62%; }
  .opc-flow-done { width: 36%; }
  .opc-cta { padding: 32px 16px; }
  .opc-cta-buttons { grid-template-columns: 1fr; }
  .opc-cta-num { font-size: 22px; }
  .opc-footer-info { grid-template-columns: 1fr; padding: 28px 16px 16px; }
  .page .entry-title { font-size: 24px; }
  .page .article h2 { font-size: 21px; }
  .opc-box, .opc-warn, .opc-issue { padding: 18px; }

  .opc-mobilebar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 999;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, .15);
  }
  .opc-mobilebar a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 56px;
    font-weight: 800;
    font-size: 16px;
    text-decoration: none;
    color: #fff;
  }
  .opc-mobilebar-tel { background: var(--opc-navy); }
  .opc-mobilebar-inq { background: var(--opc-orange); }
  /* Cocoon の「トップへ戻る」ボタンを固定ボタンの上に */
  .go-to-top { bottom: 72px !important; }
}

/* ============================================================
   装飾と動き（2026-11 追加。pchonpo.com・cest-la-vie.info と同じ考え方）
   ・トップの各セクションを画面いっぱいの帯にし、上に波をつける（白い帯は水玉）
   ・見出しの上に薄い英語、見出しの下線は左右に伸びる
   ・スクロールで、カードや写真がふわっと順番に出る（js/opc.js）
   ・メイン画像：雲が流れ、箱がふわふわ浮かぶ
   ・ご利用の流れ：トラックが走ってきて、「直りました」が跳ねる
   ・料金の数字が数えあがる、ボタンに光が走る、カードは持ち上がる
   ============================================================ */
html, body { overflow-x: clip; }

/* ---------- 見出しの上の薄い英語 ---------- */
.article .opc-en {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 0 auto 4px !important;
  font-family: "Montserrat", "Arial Black", Arial, sans-serif;
  font-size: 14px !important;
  font-weight: 800;
  letter-spacing: .32em;
  color: var(--opc-orange);
  line-height: 1.4;
}
.article .opc-en::before, .article .opc-en::after { content: ""; width: 28px; height: 2px; border-radius: 2px; background: currentColor; opacity: .5; }
/* 見出しの下線：見出しが出たあと、左右に伸びる */
.opc-section-title::after { transition: width .8s ease .35s, margin-left .8s ease .35s; }
.opc-js .opc-section-title.opc-reveal::after { width: 0; margin-left: 0; }
.opc-js .opc-section-title.opc-reveal.is-in::after { width: 56px; margin-left: -28px; }

/* ---------- トップの帯（画面いっぱい） ---------- */
.home .entry-content > .opc-section {
  position: relative;
  margin: 0 calc(50% - 50vw) !important;
  padding: 84px calc(50vw - 50%) 88px !important;
  border-radius: 0 !important;
}
.home .entry-content > .opc-section > * { max-width: 1100px; margin-left: auto; margin-right: auto; }
.home .entry-content > .opc-hero { margin-bottom: 56px; }
/* 最後の帯（メーカー）と下のお問合せ帯のあいだに隙間を作らない */
.home .entry-content { margin-bottom: 0 !important; }
.home .main { padding-bottom: 0 !important; }
/* 帯の色：理由・料金＝白に水玉／修理メニュー＝生成り／流れ・お客様の声＝クラフト紙／メーカー＝薄い緑 */
.home .entry-content > .opc-section:nth-of-type(2),
.home .entry-content > .opc-section:nth-of-type(5) {
  background-color: #fff;
  background-image: radial-gradient(rgba(35, 128, 122, .09) 2px, transparent 2.5px);
  background-size: 22px 22px;
}
.home .entry-content > .opc-section:nth-of-type(3) { background: #f6eedc; }
.home .entry-content > .opc-section:nth-of-type(7) { background: var(--opc-blue-pale); }
/* 帯の上の波（帯と同じ色） */
.home .entry-content > .opc-section::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: -29px;
  height: 30px;
  max-width: none;
  background: inherit;
  background-image: none;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 30' preserveAspectRatio='none'%3E%3Cpath d='M0 30V14c240 18 480 18 720 4s480-18 720 0v12z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 30' preserveAspectRatio='none'%3E%3Cpath d='M0 30V14c240 18 480 18 720 4s480-18 720 0v12z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
  pointer-events: none;
}
.home .entry-content > .opc-section:nth-of-type(2)::before,
.home .entry-content > .opc-section:nth-of-type(5)::before { background-color: #fff; }
.home .entry-content > .opc-section.opc-section-cream::before { background-color: #ead9ae; }
/* 帯の右下に、薄い大きな英字（奥行き） */
.home .entry-content > .opc-section::after {
  position: absolute;
  right: 3vw; bottom: 10px;
  max-width: none;
  font-family: "Montserrat", "Arial Black", Arial, sans-serif;
  font-size: clamp(60px, 9vw, 130px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: .02em;
  color: rgba(30, 86, 81, .05);
  pointer-events: none;
  white-space: nowrap;
}
.home .entry-content > .opc-section:nth-of-type(2)::after { content: "REASON"; }
.home .entry-content > .opc-section:nth-of-type(3)::after { content: "SERVICE"; }
.home .entry-content > .opc-section:nth-of-type(4)::after { content: "FLOW"; color: rgba(90, 64, 30, .07); }
.home .entry-content > .opc-section:nth-of-type(5)::after { content: "PRICE"; }
.home .entry-content > .opc-section:nth-of-type(6)::after { content: "VOICE"; color: rgba(90, 64, 30, .07); }
.home .entry-content > .opc-section:nth-of-type(7)::after { content: "MAKER"; }
.home .entry-content > .opc-section > * { position: relative; z-index: 1; }

/* ---------- メイン画像 ---------- */
.opc-hero { position: relative; }
/* 雲がゆっくり流れる */
.opc-hero::before, .opc-hero::after {
  content: "";
  position: absolute;
  z-index: 0;
  width: 220px; height: 70px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .55);
  box-shadow: 60px -26px 0 -6px rgba(255, 255, 255, .55), 120px 0 0 -10px rgba(255, 255, 255, .5);
  pointer-events: none;
  animation: opc-cloud 38s linear infinite;
}
.opc-hero::before { top: 22px; left: -260px; }
.opc-hero::after { bottom: 40px; left: -260px; transform: scale(.7); animation-duration: 52s; animation-delay: -20s; opacity: .8; }
@keyframes opc-cloud { from { translate: 0 0; } to { translate: calc(100vw + 300px) 0; } }
.opc-hero > * { position: relative; z-index: 1; }
/* 開いたとき：文字が下から順に、画像はぽんっと */
.opc-hero-text > * { animation: opc-up .9s cubic-bezier(.2, .7, .2, 1) both; }
.opc-hero-text > *:nth-child(2) { animation-delay: .12s; }
.opc-hero-text > *:nth-child(3) { animation-delay: .24s; }
.opc-hero-text > *:nth-child(4) { animation-delay: .36s; }
.opc-hero-text > *:nth-child(5) { animation-delay: .48s; }
.opc-hero-visual { animation: opc-pop 1s cubic-bezier(.2, .8, .3, 1.3) .2s both; }
.opc-hero-visual img { animation: opc-bob 4.5s ease-in-out 1.2s infinite; }
@keyframes opc-up { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes opc-pop { from { opacity: 0; transform: scale(.85) rotate(-3deg); } to { opacity: 1; transform: none; } }
@keyframes opc-bob { 50% { transform: translateY(-10px) rotate(1deg); } }
/* 3つの札が順番に弾む */
.opc-hero-badges li { animation: opc-pop .7s cubic-bezier(.2, .8, .3, 1.5) both; }
.opc-hero-badges li:nth-child(1) { animation-delay: .6s; }
.opc-hero-badges li:nth-child(2) { animation-delay: .75s; }
.opc-hero-badges li:nth-child(3) { animation-delay: .9s; }

/* ---------- ふわっと出る ---------- */
.opc-js .opc-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1), box-shadow .2s, border-color .2s;
}
.opc-js .opc-reveal.is-in { opacity: 1; transform: none; }
/* 理由の絵・料金の絵は、少し回りながら */
.opc-js .opc-merits-fig.opc-reveal, .opc-js .opc-prices-fig.opc-reveal { transform: scale(.8) rotate(-6deg); }
.opc-js .opc-merits-fig.opc-reveal.is-in, .opc-js .opc-prices-fig.opc-reveal.is-in { transform: none; }
.opc-merits-fig img, .opc-prices-fig img { animation: opc-bob 5s ease-in-out infinite; }

/* ---------- カード：マウスを乗せると持ち上がる ---------- */
.opc-merit, .opc-price-cards li, .opc-flow-step { transition: transform .25s, box-shadow .25s; }
.opc-merit:hover, .opc-price-cards li:hover, .opc-flow-step:hover,
.opc-js .opc-merit.is-in:hover, .opc-js .opc-price-cards li.is-in:hover, .opc-js .opc-flow-step.is-in:hover { transform: translateY(-5px); box-shadow: 0 12px 26px rgba(90, 64, 30, .16); }
.opc-merit:hover .opc-merit-ico { background: var(--opc-orange); color: #fff; transform: rotate(-8deg) scale(1.08); }
.opc-merit-ico { transition: background .25s, color .25s, transform .25s; }
.opc-js .opc-service.is-in:hover, .opc-service:hover { transform: translateY(-5px); box-shadow: 0 12px 26px rgba(90, 64, 30, .16); }
.opc-service-img img { transition: transform .5s; }
.opc-service:hover .opc-service-img img { transform: scale(1.08); }
.opc-service-more { transition: letter-spacing .25s; }
.opc-service:hover .opc-service-more { letter-spacing: .08em; }
/* 流れのアイコン：出たときにぽんっと弾む */
.opc-js .opc-flow-step.is-in .opc-flow-ico { animation: opc-pop .6s cubic-bezier(.2, .8, .3, 1.6) both; animation-delay: inherit; }

/* ---------- ボタン：マウスを乗せると光がすっと走る ---------- */
.opc-btn, .opc-cta-tel, .opc-cta-form { position: relative; overflow: hidden; }
.opc-btn::before, .opc-cta-tel::before, .opc-cta-form::before {
  content: "";
  position: absolute;
  top: 0; left: -80%;
  width: 50%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .5), transparent);
  transform: skewX(-20deg);
  pointer-events: none;
}
.opc-btn:hover::before, .opc-cta-tel:hover::before, .opc-cta-form:hover::before { left: 130%; transition: left .7s ease; }
.opc-cta-tel, .opc-cta-form { transition: transform .2s, box-shadow .2s; }
.opc-cta-tel:hover, .opc-cta-form:hover { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(0, 0, 0, .2); }

/* ---------- ご利用の流れ：トラックが走ってくる ---------- */
.opc-flow-deco.opc-truck-wait .opc-flow-truck { transform: translateX(-120%); opacity: 0; }
.opc-flow-deco.opc-truck-wait .opc-flow-done { transform: scale(0); opacity: 0; }
.opc-flow-deco.opc-truck-go .opc-flow-truck { transform: none; opacity: 1; transition: transform 1.6s cubic-bezier(.25, .8, .3, 1), opacity .4s; animation: opc-rumble .5s ease-in-out 1.6s 3; }
.opc-flow-deco.opc-truck-go .opc-flow-done { transform: none; opacity: 1; transition: transform .6s cubic-bezier(.2, .8, .3, 1.6) 1.5s, opacity .3s 1.5s; animation: opc-bob 3.5s ease-in-out 2.4s infinite; }
@keyframes opc-rumble { 50% { transform: translateY(-3px) rotate(-.6deg); } }

/* ---------- ヘッダー：上の帯とメニューがついてくる（パソコンのみ） ---------- */
@media (min-width: 1024px) {
  /* スマホは右上のメニューボタンと重なるので、ついてくるのはパソコンだけ（スマホは下の固定ボタンがある） */
  .opc-topbar { position: sticky; top: 0; z-index: 1001; }
  body.admin-bar .opc-topbar { top: 32px; }
  #header-container { position: sticky; top: var(--opc-topbar-h, 40px); z-index: 1000; transition: box-shadow .3s; }
  body.admin-bar #header-container { top: calc(32px + var(--opc-topbar-h, 40px)); }
  .header .logo { transition: padding .3s; }
  .header .site-name-text { transition: font-size .3s; }
  .opc-scrolled #header-container { box-shadow: 0 6px 18px rgba(30, 86, 81, .14); }
  .opc-scrolled .header .logo { padding-top: 4px !important; padding-bottom: 4px !important; }
  .opc-scrolled .header .site-name-text { font-size: 22px; }
}

/* ---------- 下の階層のページ：見出し画像がぽんっと ---------- */
.opc-js .opc-pagehead.opc-reveal { transform: scale(.9); }
.opc-js .opc-pagehead.opc-reveal.is-in { transform: none; }

@media (max-width: 767px) {
  .home .entry-content > .opc-section { padding: 60px 16px 64px !important; }
  .home .entry-content > .opc-section::before { top: -19px; height: 20px; }
  .opc-hero::before, .opc-hero::after { width: 140px; height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  .opc-hero::before, .opc-hero::after, .opc-hero-text > *, .opc-hero-visual, .opc-hero-visual img, .opc-hero-badges li,
  .opc-merits-fig img, .opc-prices-fig img { animation: none !important; }
}

/* ============================================================
   旧サイトの部品（2026-11 追加）
   色は前のまま（深い緑・オレンジ・生成り）。旧サイトの画像だけを使う：
   ご利用の流れの絵（旧メイン画像）・札・選ばれる理由の画像・メーカーのロゴ・方眼紙のメモとテープ留め
   ============================================================ */
:root { --opc-tape: #d9b47e; }

/* ---------- ご利用の流れ：旧サイトのメイン画像（配達員とトラック）と「安さ、早さが違います！」の札 ---------- */
.opc-flow-main { position: relative; max-width: 820px; margin: 0 auto 28px !important; text-align: center; }
.opc-flow-main-img { display: block; width: 100%; height: auto; }
.opc-flow-sticker {
  position: absolute;
  right: -10px; top: -14px;
  width: 120px; height: auto;
  animation: opc-wobble 3s ease-in-out infinite;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, .2));
}
.opc-js .opc-flow-main.opc-reveal { transform: scale(.92); }
.opc-js .opc-flow-main.opc-reveal.is-in { transform: none; }
@keyframes opc-wobble { 0%, 100% { transform: rotate(-8deg) scale(1); } 50% { transform: rotate(6deg) scale(1.06); } }

/* ---------- 選ばれる理由・お客様の声：方眼紙のメモをテープで留めた形（旧サイトの「お客様の声」の枠） ---------- */
.opc-merit, .opc-voice dd {
  position: relative;
  background-color: #fff;
  background-image: linear-gradient(rgba(120, 100, 80, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(120, 100, 80, .07) 1px, transparent 1px);
  background-size: 14px 14px;
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(90, 50, 20, .14);
}
.opc-merit::before, .opc-voice dd::before {
  content: "";
  position: absolute;
  top: -10px; right: 18px;
  width: 78px; height: 22px;
  background: rgba(217, 180, 126, .85);
  clip-path: polygon(0 0, 100% 0, 95% 50%, 100% 100%, 0 100%, 5% 50%);
  rotate: 18deg;
}
.opc-merit:nth-child(even)::before { right: auto; left: 18px; rotate: -16deg; }
.opc-voice dd::before { top: -8px; width: 64px; }
.opc-merit-img { height: 130px; display: flex; align-items: flex-end; justify-content: center; margin-bottom: 8px; }
.opc-merit-img img { max-height: 130px; width: auto; max-width: 100%; }
.opc-merit-4 .opc-merit-img { height: auto; min-height: 130px; align-items: center; }
.opc-merit-4 .opc-merit-img img { max-height: none; width: 100%; }
.opc-merit:hover .opc-merit-img img { animation: opc-pop .5s cubic-bezier(.2, .8, .3, 1.6); }

/* ---------- 対応メーカー：旧サイトのロゴ ---------- */
.opc-makers li.opc-maker-logo { padding: 6px 12px; display: flex; align-items: center; }
.opc-makers li.opc-maker-logo img { display: block; width: 77px; height: 28px; }

/* ---------- お問合せ帯：「その場〜10分ほどで概算お見積り！」の札 ---------- */
.opc-cta-in { position: relative; }
.opc-cta-sticker {
  position: absolute;
  left: 2%; top: -6px;
  width: 130px; height: auto;
  animation: opc-wobble 3.4s ease-in-out infinite;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, .25));
}

@media (max-width: 1023px) {
  .opc-cta-sticker { position: static; display: block; margin: 0 auto 8px; width: 110px; }
}
@media (max-width: 767px) {
  /* スマホは絵の吹き出しと重なるので、札は出さない */
  .opc-flow-sticker { display: none; }
  .opc-cta-title { font-size: 21px; }
}
@media (prefers-reduced-motion: reduce) {
  .opc-flow-sticker, .opc-cta-sticker { animation: none !important; }
}
/* ============================================================
   屋号は上の帯へ（2026-11）
   ヘッダーのサイト名の段は消して、メニューをすぐ下に詰める
   ============================================================ */
#header.header, .header-container .header { display: none !important; }
.opc-topbar-lead { display: flex; align-items: baseline; gap: 14px; min-width: 0; }
.opc-topbar-name { color: #fff !important; font-size: 20px; font-weight: 900; letter-spacing: .06em; text-decoration: none !important; white-space: nowrap; }
.opc-topbar-name:hover { color: #ffd8a8 !important; }
.opc-topbar-catch { font-size: 13px; opacity: .92; }
@media (min-width: 1024px) {
  .opc-topbar-in { padding-top: 8px; padding-bottom: 8px; }
}
@media (max-width: 1180px) { .opc-topbar-catch { display: none; } }
@media (max-width: 1023px) {
  /* スマホ・タブレット：屋号は左、電話は右。右上のメニューボタンの分をあける */
  .opc-topbar-lead { display: flex !important; }
  .opc-topbar-in { justify-content: space-between !important; padding: 10px 76px 10px 14px; min-height: 50px; box-sizing: border-box; }
  .opc-topbar-name { font-size: 18px; }
}
@media (max-width: 1023px) { .opc-topbar-tel { white-space: nowrap; } .opc-topbar-contact { gap: 8px; } }
@media (max-width: 400px) {
  .opc-topbar-in { padding-left: 10px; padding-right: 70px; gap: 6px; }
  .opc-topbar-name { font-size: 15px; letter-spacing: 0; }
  .opc-topbar-tel { font-size: 14px !important; }
}
/* ============================================================
   大手らしい装飾（2026-11）
   ・メイン画像は画面いっぱいの帯に。水玉と大きな輪の模様、下の端は斜め
   ・すぐ下に「数字で見る」カード（白い大きなカードがメイン画像に重なる）
   ・見出しの英語に番号（01 REASON など）
   ・帯ごとに、大きな輪・斜めのしま模様
   ・お問合せ帯は、緑のグラデーションにしま模様と輪
   ============================================================ */
.home .main { padding-top: 0 !important; }
.home .content, .home #content { margin-top: 0 !important; }

/* ---------- メイン画像の帯 ---------- */
.home .entry-content > .opc-hero {
  margin: 0 calc(50% - 50vw) !important;
  padding: 70px calc(50vw - 50%) 150px !important;
  border-radius: 0;
  background-color: #aedcec;
  background-image:
    radial-gradient(circle at 88% 18%, transparent 0 150px, rgba(255, 255, 255, .45) 151px 154px, transparent 155px),
    radial-gradient(circle at 95% 75%, rgba(255, 255, 255, .28) 0 110px, transparent 111px),
    radial-gradient(circle at 4% 90%, transparent 0 90px, rgba(30, 86, 81, .12) 91px 93px, transparent 94px),
    radial-gradient(rgba(255, 255, 255, .55) 1.6px, transparent 2.2px),
    linear-gradient(160deg, #d6eef6 0%, #aedcec 55%, #98cfe3 100%);
  background-size: auto, auto, auto, 22px 22px, auto;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 60px), 0 100%);
  box-shadow: none;
}
.opc-hero-title span { background: linear-gradient(transparent 68%, rgba(255, 216, 168, .95) 68%); padding: 0 .08em; }
/* 画像の後ろに白い光の円 */
.opc-hero-visual { position: relative; }
.opc-hero-visual::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 50%; top: 50%;
  width: 110%; aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, .85) 0, rgba(255, 255, 255, .35) 45%, transparent 70%);
}
.opc-hero-badges li { border: 0; border-left: 4px solid var(--opc-orange); border-radius: 8px; box-shadow: 0 4px 12px rgba(30, 86, 81, .12); }

/* ---------- 数字で見る ---------- */
.opc-stats {
  position: relative;
  z-index: 3;
  margin: -110px calc(50% - 50vw) 0 !important;
  padding: 0 calc(50vw - 50%) 10px;
  /* 下半分は次の白い帯と同じ色にしてつなぐ */
  background: linear-gradient(to bottom, transparent 0 60%, #fff 60%);
}
.opc-stats ul {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: 1100px;
  margin: 0 auto !important;
  padding: 30px 12px 26px !important;
  list-style: none;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 18px 40px rgba(30, 86, 81, .18);
  overflow: hidden;
}
/* カードの上の、オレンジから緑へのグラデーションの線 */
.opc-stats ul::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: linear-gradient(90deg, var(--opc-orange), #f4a340 40%, var(--opc-blue)); }
.opc-stats li { display: flex; flex-direction: column; align-items: center; gap: 2px; margin: 0 !important; padding: 4px 10px; text-align: center; }
.opc-stats li + li { border-left: 1px solid var(--opc-line); }
.opc-stat-ico { display: flex; align-items: center; justify-content: center; width: 50px; height: 50px; margin-bottom: 6px; border-radius: 50%; background: linear-gradient(135deg, var(--opc-blue), var(--opc-navy)); color: #fff; box-shadow: 0 6px 14px rgba(30, 86, 81, .25); }
.opc-stat-ico .opc-svg { width: 26px; height: 26px; }
.opc-stat-num { color: var(--opc-navy); line-height: 1.1; white-space: nowrap; }
.opc-stat-num b { font-family: "Montserrat", "Arial Black", Arial, sans-serif; font-size: 46px; font-weight: 900; letter-spacing: .01em; }
.opc-stat-num small { margin-left: 3px; font-size: 16px; font-weight: 800; }
.opc-stat-label { font-size: 14px; font-weight: 700; color: var(--opc-muted); }
/* 次の帯（理由）は白同士なので波を消す */
.home .entry-content > .opc-section:nth-of-type(2)::before { display: none; }

/* ---------- 見出しの番号 ---------- */
.article .opc-en .opc-en-num { padding: 2px 9px; border-radius: 999px; background: var(--opc-navy); color: #fff; font-size: 12px; letter-spacing: .08em; }
.article .opc-en .opc-en-word { margin-left: -4px; }

/* ---------- 帯の模様：大きな輪・しま模様 ---------- */
.home .entry-content > .opc-section:nth-of-type(2),
.home .entry-content > .opc-section:nth-of-type(5) {
  background-image:
    radial-gradient(circle at 0% 8%, transparent 0 230px, rgba(35, 128, 122, .12) 231px 234px, transparent 235px),
    radial-gradient(circle at 100% 96%, rgba(232, 100, 15, .07) 0 200px, transparent 201px),
    radial-gradient(rgba(35, 128, 122, .09) 2px, transparent 2.5px);
  background-size: auto, auto, 22px 22px;
}
.home .entry-content > .opc-section:nth-of-type(3) {
  background-color: #f6eedc;
  background-image:
    radial-gradient(circle at 100% 0%, transparent 0 260px, rgba(232, 100, 15, .14) 261px 264px, transparent 265px),
    radial-gradient(circle at 0% 100%, rgba(35, 128, 122, .08) 0 190px, transparent 191px),
    repeating-linear-gradient(135deg, rgba(30, 86, 81, .035) 0 2px, transparent 2px 16px);
}
.home .entry-content > .opc-section:nth-of-type(7) {
  background-image:
    radial-gradient(circle at 100% 0%, transparent 0 200px, rgba(35, 128, 122, .16) 201px 204px, transparent 205px),
    repeating-linear-gradient(45deg, rgba(30, 86, 81, .04) 0 2px, transparent 2px 18px);
}

/* ---------- カードに色の線 ---------- */
.opc-service { box-shadow: inset 0 4px 0 var(--opc-orange), var(--opc-shadow); }
.opc-service:hover, .opc-js .opc-service.is-in:hover { box-shadow: inset 0 4px 0 var(--opc-orange), 0 12px 26px rgba(90, 64, 30, .16); }
.opc-flow-step { border-top: 4px solid var(--opc-blue); }

/* ---------- お問合せ帯 ---------- */
.opc-cta {
  background-color: var(--opc-navy);
  background-image:
    radial-gradient(circle at 92% 10%, transparent 0 160px, rgba(255, 255, 255, .12) 161px 164px, transparent 165px),
    radial-gradient(circle at 6% 100%, rgba(255, 255, 255, .07) 0 150px, transparent 151px),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, .045) 0 2px, transparent 2px 18px),
    linear-gradient(135deg, #23807a 0%, var(--opc-navy) 60%, #173f3b 100%);
}
.opc-cta-band { padding-top: 64px; padding-bottom: 64px; }
.opc-cta-title { font-size: 30px; letter-spacing: .04em; }
.opc-cta-tel, .opc-cta-form { box-shadow: 0 8px 20px rgba(0, 0, 0, .2); }

/* ---------- 上の帯・フッター ---------- */
.opc-topbar { background: linear-gradient(90deg, #173f3b, var(--opc-navy) 50%, #23807a); }
.footer { border-top: 6px solid transparent; border-image: linear-gradient(90deg, var(--opc-orange), #f4a340 40%, var(--opc-blue)) 1; }

@media (max-width: 1023px) {
  .home .entry-content > .opc-hero { padding: 48px 24px 120px !important; clip-path: none; }
  .opc-stats { background: linear-gradient(to bottom, #98cfe3 0 90px, #fff 90px); }
  .opc-stats { margin-top: -90px !important; padding: 0 16px 10px; }
  .opc-stats ul { grid-template-columns: repeat(2, 1fr); row-gap: 18px; padding: 26px 8px 20px !important; }
  .opc-stats li:nth-child(3) { border-left: 0; }
}
@media (max-width: 767px) {
  .home .entry-content > .opc-hero { padding: 36px 16px 100px !important; }
  .opc-stat-num b { font-size: 36px; }
  .opc-stat-ico { width: 42px; height: 42px; }
  .opc-stat-label { font-size: 13px; }
  .opc-cta-title { font-size: 22px; }
}
/* ============================================================
   下の階層のページの装飾（2026-11）
   ・見出し画像の帯：画面いっぱい、空色に水玉と輪、下は斜め。後ろに大きな薄い英語、上に「ホーム › ページ名」
   ・本文は大見出し（h2）ごとに画面いっぱいの帯（js/opc.js の initPageBands）。白に水玉／生成りにしま模様を交互に、上に波
   ・大見出しに番号、箱・表・チェックの箇条書きも装飾
   ============================================================ */
.opc-has-pagehead .main { padding-top: 0 !important; }
.opc-has-pagehead .content, .opc-has-pagehead #content { margin-top: 0 !important; }
.opc-has-pagehead .main, .opc-has-pagehead .article { overflow: visible; }

/* ---------- 見出し画像の帯 ---------- */
.opc-has-pagehead .opc-pagehead {
  position: relative;
  margin: 0 calc(50% - 50vw) !important;
  padding: 26px calc(50vw - 50%) 86px !important;
  text-align: center;
  background-color: #aedcec;
  background-image:
    radial-gradient(circle at 90% 20%, transparent 0 130px, rgba(255, 255, 255, .45) 131px 134px, transparent 135px),
    radial-gradient(circle at 8% 85%, rgba(255, 255, 255, .28) 0 100px, transparent 101px),
    radial-gradient(rgba(255, 255, 255, .55) 1.6px, transparent 2.2px),
    linear-gradient(160deg, #d6eef6 0%, #aedcec 55%, #98cfe3 100%);
  background-size: auto, auto, 22px 22px, auto;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 44px), 0 100%);
  overflow: hidden;
}
.opc-has-pagehead .opc-pagehead::after {
  content: attr(data-en);
  position: absolute;
  left: 50%; bottom: 34px;
  transform: translateX(-50%);
  font-family: "Montserrat", "Arial Black", Arial, sans-serif;
  font-size: clamp(54px, 9vw, 130px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: .04em;
  color: rgba(255, 255, 255, .5);
  white-space: nowrap;
  pointer-events: none;
}
.opc-has-pagehead .opc-pagehead > * { position: relative; z-index: 1; }
.opc-has-pagehead .opc-pagehead img { filter: drop-shadow(0 10px 18px rgba(30, 86, 81, .22)); animation: opc-pop .9s cubic-bezier(.2, .8, .3, 1.3) both; }
.article .opc-crumb { max-width: 1100px; margin: 0 auto 14px !important; text-align: left; font-size: 13px !important; font-weight: 700; color: var(--opc-navy); }
.opc-crumb a { color: var(--opc-navy); text-decoration: none; }
.opc-crumb a:hover { text-decoration: underline; }
.opc-crumb span { margin: 0 8px; color: var(--opc-orange); }
/* 見出し画像は帯の中で出すので、ふわっと出る動きは付けない */
.opc-js .opc-has-pagehead .opc-pagehead.opc-reveal { opacity: 1; transform: none; }

/* ---------- 本文の帯 ---------- */
.opc-banded { counter-reset: opc-h2; }
.opc-psec {
  position: relative;
  margin: 0 calc(50% - 50vw) !important;
  padding: 60px calc(50vw - 50%) 70px !important;
}
.opc-psec > * { max-width: 1000px; margin-left: auto !important; margin-right: auto !important; }
.opc-psec-a {
  background-color: #fff;
  background-image:
    radial-gradient(circle at 100% 0%, transparent 0 200px, rgba(35, 128, 122, .1) 201px 204px, transparent 205px),
    radial-gradient(rgba(35, 128, 122, .08) 2px, transparent 2.5px);
  background-size: auto, 22px 22px;
}
.opc-psec-b {
  background-color: #f6eedc;
  background-image:
    radial-gradient(circle at 0% 100%, rgba(232, 100, 15, .07) 0 180px, transparent 181px),
    repeating-linear-gradient(135deg, rgba(30, 86, 81, .035) 0 2px, transparent 2px 16px);
}
.opc-psec-intro { padding-top: 34px !important; }
/* 帯の上の波（帯と同じ色） */
.opc-psec:not(.opc-psec-intro)::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: -23px;
  height: 24px;
  max-width: none;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 30' preserveAspectRatio='none'%3E%3Cpath d='M0 30V14c240 18 480 18 720 4s480-18 720 0v12z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 30' preserveAspectRatio='none'%3E%3Cpath d='M0 30V14c240 18 480 18 720 4s480-18 720 0v12z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
  pointer-events: none;
}
.opc-psec-a:not(.opc-psec-intro)::before { background: #fff; }
.opc-psec-b:not(.opc-psec-intro)::before { background: #f6eedc; }
/* 最後の帯とお問合せ帯のあいだに隙間を作らない */
.opc-has-pagehead .entry-content { margin-bottom: 0 !important; }
.opc-has-pagehead .main { padding-bottom: 0 !important; }
.opc-has-pagehead .article { margin-bottom: 0 !important; }

/* ---------- 大見出し：番号つき、下にグラデーションの線 ---------- */
.opc-banded .opc-psec > h2:first-child {
  counter-increment: opc-h2;
  position: relative;
  margin: 0 auto 26px !important;
  padding: 0 0 14px !important;
  border: 0 !important;
  font-size: 28px;
  color: var(--opc-navy);
}
.opc-banded .opc-psec > h2:first-child::before {
  content: counter(opc-h2, decimal-leading-zero);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px; height: 42px;
  margin-right: 14px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--opc-orange), #f4a340);
  color: #fff;
  font-family: "Montserrat", "Arial Black", Arial, sans-serif;
  font-size: 16px;
  font-weight: 900;
  vertical-align: 4px;
  box-shadow: 0 5px 12px rgba(232, 100, 15, .3);
}
.opc-banded .opc-psec > h2:first-child::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--opc-orange) 0, var(--opc-orange) 80px, var(--opc-line) 80px);
}

/* ---------- 箱 ---------- */
.opc-banded .opc-issue { border: 0; border-top: 4px solid var(--opc-blue); border-radius: 12px; box-shadow: 0 8px 22px rgba(30, 86, 81, .1); transition: transform .25s, box-shadow .25s; }
.opc-banded .opc-issue:hover, .opc-js .opc-banded .opc-issue.is-in:hover { transform: translateY(-3px); box-shadow: 0 14px 28px rgba(30, 86, 81, .15); }
.opc-banded .opc-box { position: relative; border-left: 5px solid var(--opc-blue); background-color: var(--opc-blue-pale); background-image: radial-gradient(rgba(35, 128, 122, .1) 1.5px, transparent 2px); background-size: 16px 16px; }
.opc-banded .opc-warn { position: relative; padding-left: 74px; border-width: 2px; border-style: dashed; }
.opc-banded .opc-warn::before {
  content: "!";
  position: absolute;
  left: 20px; top: 22px;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--opc-orange);
  color: #fff;
  font-size: 22px;
  font-weight: 900;
  line-height: 38px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(232, 100, 15, .3);
}
.opc-banded .opc-step { border: 0; border-top: 4px solid var(--opc-orange); box-shadow: 0 8px 22px rgba(30, 86, 81, .1); }

/* ---------- チェックの箇条書き：緑の丸に白いチェック ---------- */
.opc-banded .opc-symptoms li { padding-left: 2em; margin-bottom: .35em; }
.opc-banded .opc-symptoms li::before {
  content: "✓";
  top: .25em;
  width: 1.35em; height: 1.35em;
  border-radius: 50%;
  background: var(--opc-blue);
  color: #fff;
  font-size: .8em;
  line-height: 1.35em;
  text-align: center;
}

/* ---------- 表：見出しの行は緑、行は1行おきに色 ---------- */
.opc-banded .wp-block-table table { border-radius: 10px; overflow: hidden; box-shadow: 0 6px 18px rgba(30, 86, 81, .08); }
.opc-banded .wp-block-table th { background: var(--opc-navy); color: #fff; }
.opc-banded .wp-block-table tr:nth-child(even) td { background: #fbf7ee; }

@media (max-width: 767px) {
  .opc-has-pagehead .opc-pagehead { padding: 18px 16px 64px !important; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 24px), 0 100%); }
  .opc-has-pagehead .opc-pagehead::after { bottom: 26px; }
  .opc-psec { padding: 44px 16px 52px !important; }
  .opc-psec:not(.opc-psec-intro)::before { top: -15px; height: 16px; }
  .opc-banded .opc-psec > h2:first-child { font-size: 21px; }
  .opc-banded .opc-psec > h2:first-child::before { min-width: 34px; height: 34px; font-size: 13px; margin-right: 10px; vertical-align: 2px; }
  .opc-banded .opc-warn { padding-left: 62px; }
  .opc-banded .opc-warn::before { left: 14px; top: 18px; width: 34px; height: 34px; line-height: 34px; font-size: 19px; }
}