/*
Theme Name: パソコン送って修理（Cocoon Child）
Description: okutte-pc.com 用の Cocoon 子テーマ。2026年リニューアル版。
Template: cocoon-master
Version: 1.3.3
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; }
}
