/* ============================================
   等身大パネル特集ページ 用CSS
   ファイル設置先:/wp-content/themes/tenjiku_tcd091/css/
   対象ページ:page-id-2199(/toushin-panel/)
   カラー:#94b0ad / #5a8188 / #d2ddd4 / #004758 / #ffffff
   ============================================ */

/* ============================================
   ▼ 全幅化リセット
   TENJIKUテーマのコンテンツ幅の制約を解除し、
   特集ページを画面いっぱいに広げます
   ============================================ */

/* 親要素の幅制限・余白・枠線をすべて解除
   【重要】.inner や article などの汎用クラス/タグ名は指定しないこと。
   フッターの記事カルーセル(article.item)など、
   本文の外にある要素まで巻き込んでレイアウトが崩れます。
   対象は「本文を包む親要素」だけに限定しています。      */
.page-id-2199 #container,
.page-id-2199 #main_col,
.page-id-2199 #main_contents,
.page-id-2199 #main_content,
.page-id-2199 #contents,
.page-id-2199 #article,
.page-id-2199 .post_content {
  max-width: 100% !important;
  width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  border: none !important;
  background: none !important;
  box-shadow: none !important;
  float: none !important;
}

/* 本文エリアの上下余白も詰める */
.page-id-2199 .post_content,
.page-id-2199 .entry-content {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

/* サイドバーがある場合は非表示 */
.page-id-2199 #side_col,
.page-id-2199 .side_col,
.page-id-2199 #sidebar {
  display: none !important;
}

/* ページタイトル・パンくずの余白調整(必要に応じて display:none に変更可) */
.page-id-2199 #page_header,
.page-id-2199 .page_header {
  margin-bottom: 0 !important;
}

/* 横スクロール防止(body側で行う。個々の要素に overflow:hidden を付けると
   100vw の背景が切り取られてしまうため) */
.page-id-2199 {
  overflow-x: hidden;
}

/* 親要素の overflow:hidden を解除(100vw背景のクリッピング防止)
   ※ #container の overflow-x:hidden が背景を切り取る原因になるため、
     必ずここに含めること
   ※ ここでも article などの汎用セレクタは使わないこと     */
.page-id-2199 #container,
.page-id-2199 #main_col,
.page-id-2199 #main_contents,
.page-id-2199 #main_content,
.page-id-2199 #contents,
.page-id-2199 #article,
.page-id-2199 .post_content {
  overflow: visible !important;
  overflow-x: visible !important;
  overflow-y: visible !important;
}

/* ※フッターの記事カルーセル(#footer_carousel / .post_carousel)には
   一切CSSを当てないこと。
   width や max-width を上書きするとカードが潰れて崩れます。
   上のリセットから article / .inner を除外してあるので、
   カルーセルはテーマ本来のCSSがそのまま効きます。          */

/* テーマ側の見出し装飾をリセット(特集ページの本文内のみ)
   ※ .tp-lp を必ず挟むこと。挟まないとフッターの記事タイトル(h3)にも効きます */
.page-id-2199 .tp-lp h1,
.page-id-2199 .tp-lp h2,
.page-id-2199 .tp-lp h3,
.page-id-2199 .tp-lp h4 {
  background: none !important;
  border: none !important;
  padding: 0;
  text-align: left;
}


/* テーマ側のリスト装飾をリセット(特集ページ内のみ) */
.page-id-2199 .tp-lp ul,
.page-id-2199 .tp-lp ol {
  list-style: none;
}
.page-id-2199 .tp-lp ul li::marker {
  content: none;
}
.page-id-2199 .tp-lp .tp-lp-hero-chips li,
.page-id-2199 .tp-lp .tp-lp-flow li {
  list-style: none !important;
  background-image: none;
}


/* WordPressの自動整形(wpautop)がセクション間に挿入する
   空の <p> / <br> を非表示にする
   ※ .tp-lp の直下に置いているのは <section> のみなので、
     直下の <p> はすべて自動挿入されたものです */
.page-id-2199 .tp-lp > p,
.page-id-2199 .tp-lp > br,
.page-id-2199 .post_content > p:empty,
/* グリッド/フレックスの直下に混入すると、マス目を1つ占有して
   カードが1つ飛ばしに並ぶ原因になるため、こちらも無効化する */
.page-id-2199 .tp-lp .tp-lp-grid > p,
.page-id-2199 .tp-lp .tp-lp-grid > br,
.page-id-2199 .tp-lp .tp-lp-onestop-grid > p,
.page-id-2199 .tp-lp .tp-lp-onestop-grid > br,
.page-id-2199 .tp-lp .tp-lp-standhow-imgs > p,
.page-id-2199 .tp-lp .tp-lp-standhow-imgs > br,
.page-id-2199 .tp-lp .tp-lp-standhow > p,
.page-id-2199 .tp-lp .tp-lp-compare > p,
.page-id-2199 .tp-lp .tp-lp-flow > p,
.page-id-2199 .tp-lp .tp-lp-options > p,
.page-id-2199 .tp-lp .tp-lp-hero-chips > p {
  display: none !important;
  margin: 0 !important;
  padding: 0 !important;
  height: 0 !important;
}

/* ============================================
   ▼ ここから特集ページ本体のスタイル
   ============================================ */

.tp-lp {
  font-family: 'futura-pt', 'Zen Kaku Gothic New', sans-serif;
  color: #004758;
  line-height: 1.9;
  width: 100%;
  max-width: 100%;
  text-align: left;
  /* ※ overflow-x: hidden は指定しないこと。
     指定すると下の 100vw 背景がこの要素の幅で切り取られてしまいます。
     横スクロール防止は body(.page-id-2199)側で行っています */
}
.tp-lp img { max-width: 100%; height: auto; display: block; }

/* ヒーロー・最終CTAの背景を画面いっぱいに広げる
   (ティント背景セクションは .tp-lp-section の後で別途指定しています) */
.tp-lp .tp-lp-hero,
.tp-lp .tp-lp-final {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  display: flow-root; /* 中の要素で高さが潰れるのを防ぐ */
  box-sizing: border-box;
}

/* ---- 共通:セクション ---- */
.tp-lp-section {
  max-width: 1080px;
  margin: 0 auto;
  padding: 88px 24px;
}
/* ティント背景セクションは画面いっぱいに広げる
   ※ .tp-lp-section の max-width:1080px を打ち消すため、
     必ず .tp-lp-section より後に、この指定を置くこと

   【重要】中身の中央揃えは「子要素の margin:auto」ではなく
   「セクション自身の左右パディング」で行っています。
   子要素側で margin: 0 0 20px !important; のような指定があると
   margin-left:auto が打ち消され、見出しだけ左端に張り付くためです。
   計算式:(画面幅 - 中身の幅1032px) ÷ 2 = 50vw - 516px          */
.tp-lp .tp-lp-section--tint {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  background: #eef4f0;
  padding-top: 88px;
  padding-bottom: 88px;
  padding-left: max(24px, calc(50vw - 516px));
  padding-right: max(24px, calc(50vw - 516px));
  box-sizing: border-box;
  display: flow-root;
}

/* ---- 共通:見出し ---- */
.tp-lp-eyebrow {
  font-family: 'futura-pt', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.35em;
  color: #5a8188;
  margin: 0 0 14px !important;
  text-transform: uppercase;
}
.tp-lp-eyebrow--light { color: #d2ddd4; }
.tp-lp-h2 {
  font-size: 34px !important;
  font-weight: 700 !important;
  line-height: 1.5 !important;
  letter-spacing: 0.04em;
  margin: 0 0 20px !important;
  position: relative;
  padding-bottom: 22px !important;
}
.tp-lp-h2::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 56px; height: 3px;
  background: linear-gradient(90deg, #94b0ad, #5a8188);
  border-radius: 2px;
}
.tp-lp-h3 {
  font-size: 22px;
  font-weight: 700;
  margin: 72px 0 28px;
}
.tp-lp-section-lead {
  font-size: 15.5px;
  color: #33616e;
  margin: 0 0 44px !important;
  max-width: 720px;
}

/* ---- ヒーロー(背景画像+グラデーションオーバーレイ) ---- */
.tp-lp-hero {
  position: relative;
  padding: 130px 24px 110px;
  background-image:
    /* 上に重ねる緑グラデーション(不透明度を上げると画像が暗く、下げると明るくなります) */
    linear-gradient(135deg,
      rgba(0, 71, 88, 0.92) 0%,
      rgba(0, 71, 88, 0.78) 35%,
      rgba(90, 129, 136, 0.72) 65%,
      rgba(148, 176, 173, 0.62) 100%),
    /* ▼ここに背景画像のURLを入れてください */
    url('https://cuvic-saitama.com/wp-content/uploads/2026/07/toushin-panel11.jpg');
  background-size: cover, cover;
  background-position: center, center;
  background-repeat: no-repeat, no-repeat;
  color: #fff;
}

/* 下端をふんわり白へなじませる(不要なら削除可) */
.tp-lp-hero::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 120px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.85));
  pointer-events: none;
}

.tp-lp-hero-inner {
  max-width: 1032px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.tp-lp-hero .tp-lp-eyebrow { color: #d2ddd4; }
.tp-lp-hero-title {
  font-size: 46px !important;
  font-weight: 800 !important;
  line-height: 1.42 !important;
  letter-spacing: 0.03em;
  color: #fff;
  margin: 0 0 26px !important;
  text-shadow: 0 2px 20px rgba(0, 40, 50, 0.35);
}
.tp-lp-hero-title span {
  background: linear-gradient(transparent 62%, rgba(148,176,173,0.55) 62%);
}
.tp-lp-hero-lead {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 12px !important;
  text-shadow: 0 2px 14px rgba(0, 40, 50, 0.3);
}
.tp-lp-hero-sub {
  font-size: 14.5px;
  color: #d2ddd4;
  margin: 0 0 34px !important;
  max-width: 620px;
}
.tp-lp-hero-chips {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 0 0 40px !important;
}
.tp-lp-hero-chips li {
  list-style: none !important;
  list-style-type: none !important;
  list-style-image: none !important;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.5);
  color: #fff;
  font-size: 13.5px;
  font-weight: 700;
  padding: 9px 18px;
  border-radius: 50px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
/* テーマ側が付与するマーカー・疑似要素を打ち消す */
.tp-lp-hero-chips li::marker {
  content: none !important;
  color: transparent !important;
  font-size: 0 !important;
}
.tp-lp-hero-chips li::before {
  content: none !important;
  display: none !important;
}
.tp-lp-hero-btns { display: flex; flex-wrap: wrap; gap: 14px; }

/* ヒーロー内のボタンは背景画像上でも映える配色に */
.tp-lp-hero .tp-lp-btn--primary {
  background: #fff;
  color: #004758;
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
}
.tp-lp-hero .tp-lp-btn--primary:hover {
  background: #d2ddd4;
  color: #004758;
}
.tp-lp-hero .tp-lp-btn--ghost {
  background: rgba(255,255,255,0.1);
  border: 1.5px solid #fff;
  color: #fff;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.tp-lp-hero .tp-lp-btn--ghost:hover {
  background: #fff;
  color: #004758;
}

/* ---- ボタン ---- */
.tp-lp .tp-lp-btn {
  display: inline-block;
  padding: 17px 38px;
  font-size: 15.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  border-radius: 50px;
  text-align: center;
  transition: transform .18s, box-shadow .18s, background .25s, color .25s;
}
.tp-lp .tp-lp-btn--primary {
  color: #fff;
  background: linear-gradient(135deg, #5a8188, #004758);
  box-shadow: 0 6px 18px rgba(0,71,88,0.22);
}
.tp-lp .tp-lp-btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0,71,88,0.3);
  color: #fff;
}
.tp-lp .tp-lp-btn--ghost {
  color: #004758;
  background: #fff;
  border: 1.5px solid #004758;
}
.tp-lp .tp-lp-btn--ghost:hover { background: #004758; color: #fff; }
.tp-lp .tp-lp-btn--white {
  color: #004758;
  background: #fff;
}
.tp-lp .tp-lp-btn--white:hover { transform: translateY(-2px); color: #004758; }
.tp-lp .tp-lp-btn--product {
  display: block;
  color: #fff;
  background: #5a8188;
  padding: 14px 20px;
  font-size: 14.5px;
  margin-top: 18px;
}
.tp-lp .tp-lp-btn--product:hover { background: #004758; color: #fff; }

/* ---- グリッド・カード ---- */
.tp-lp-grid { display: grid; gap: 26px; }
.tp-lp-grid--3 { grid-template-columns: repeat(3, 1fr); }
.tp-lp-card {
  background: #fff;
  border: 1px solid #d2ddd4;
  border-radius: 14px;
  overflow: hidden;
  transition: transform .2s, box-shadow .2s;
}
.tp-lp-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(0,71,88,0.1);
}
.tp-lp-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.tp-lp-card-body { padding: 22px 22px 26px; }
.tp-lp-card-body h3 {
  font-size: 18px !important;
  font-weight: 700 !important;
  margin: 6px 0 10px;
}
.tp-lp-card-body h3 em {
  font-style: normal;
  color: #5a8188;
}
.tp-lp-card-body p { font-size: 14px; margin: 0 0 10px; color: #2b5a68; }
.tp-lp-card-num {
  font-family: 'futura-pt', sans-serif;
  font-size: 12px !important;
  font-weight: 600;
  letter-spacing: 0.3em;
  color: #94b0ad !important;
  margin: 0 !important;
}
.tp-lp-card-note {
  font-size: 12.5px !important;
  color: #5a8188 !important;
  border-top: 1px solid #e2ebe4;
  padding-top: 10px;
  margin-bottom: 0 !important;
}
.tp-lp-card-alert {
  font-size: 12.5px !important;
  color: #b0533f !important;
  margin-bottom: 0 !important;
}

/* ---- のぼり vs パネル ---- */
.tp-lp-vs {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: start;
  margin-top: 48px;
}
.tp-lp-vs-col img { border-radius: 12px; aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.tp-lp-vs-col--win img { box-shadow: 0 10px 26px rgba(90,129,136,0.3); }
.tp-lp-vs-label {
  font-size: 15px;
  font-weight: 700;
  text-align: center;
  padding: 10px;
  border-radius: 8px;
  margin: 0 0 14px !important;
}
.tp-lp-vs-label--no { background: #f0f0f0; color: #888; }
.tp-lp-vs-label--yes { background: #004758; color: #fff; }
.tp-lp-vs-mark {
  align-self: center;
  font-family: 'futura-pt', sans-serif;
  font-weight: 700;
  font-size: 15px;
  color: #fff;
  background: #94b0ad;
  width: 52px; height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.tp-lp-vs-text { font-size: 14px; margin: 14px 0 0 !important; color: #2b5a68; }
.tp-lp-vs-text strong { color: #004758; }

/* ---- 手作り vs 業者(2カラム比較) ---- */
.tp-lp-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: stretch;
  margin-top: 48px;
}
.tp-lp-compare-col {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #d2ddd4;
  border-radius: 14px;
  overflow: hidden;
}
.tp-lp-compare-col--yes {
  border-color: #94b0ad;
  box-shadow: 0 12px 30px rgba(90,129,136,0.18);
}
.tp-lp-compare-col img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.tp-lp-compare-col--no img {
  filter: grayscale(35%);
}

/* 上部ラベル */
.tp-lp-compare-label {
  margin: 0;
  padding: 13px 16px;
  font-size: 15px;
  font-weight: 700;
  text-align: center;
  letter-spacing: 0.05em;
}
.tp-lp-compare-label--no {
  background: #f0f2f1;
  color: #8a9997;
}
.tp-lp-compare-label--yes {
  background: #004758;
  color: #fff;
}

/* 画像下の文章 */
.tp-lp-compare-body {
  padding: 26px 26px 30px;
  flex: 1;
}
.tp-lp-compare-body h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 10px;
}
.tp-lp-compare-col--no .tp-lp-compare-body h3 { color: #8a9997; }
.tp-lp-compare-col--yes .tp-lp-compare-body h3 { color: #004758; }
.tp-lp-compare-body p {
  font-size: 14px;
  margin: 0;
  color: #2b5a68;
}
.tp-lp-compare-add {
  margin-top: 18px !important;
  padding-top: 18px;
  border-top: 1px solid #e2ebe4;
}
.tp-lp-compare-add strong { color: #004758; }

/* 比較の下のCTA */
.tp-lp-compare-cta {
  margin-top: 40px;
  text-align: center;
}

/* ---- CTAバンド ---- */
.tp-lp-cta-band {
  margin-top: 56px;
  background: #fff;
  border: 1.5px solid #94b0ad;
  border-radius: 16px;
  padding: 36px 40px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.tp-lp-cta-band p { margin: 0; font-size: 15.5px; }
.tp-lp-cta-band strong { color: #5a8188; }

.tp-lp-info-band {
  margin-top: 48px;
  background: #eef4f0;
  border-radius: 16px;
  padding: 30px 36px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.tp-lp-info-band p { margin: 0; font-size: 14.5px; flex: 1; min-width: 280px; }

/* ---- 製作の流れ ---- */
.tp-lp-flow {
  list-style: none;
  padding: 0;
  margin: 48px 0 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  counter-reset: flow;
}
.tp-lp-flow li {
  background: #fff;
  border-radius: 14px;
  padding: 30px 22px 26px;
  position: relative;
  border-top: 4px solid #94b0ad;
}
.tp-lp-flow-num {
  font-family: 'futura-pt', sans-serif;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #94b0ad, #5a8188);
  color: #fff;
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 14px;
}
.tp-lp-flow h3 { font-size: 15.5px !important; margin: 0 0 10px; line-height: 1.6; }
.tp-lp-flow p { font-size: 13px; color: #2b5a68; margin: 0 0 14px; }

/* ---- タグ ---- */
.tp-lp-tag {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  color: #5a8188;
  border: 1px solid #94b0ad;
  border-radius: 50px;
  padding: 3px 12px;
  background: #f4f8f5;
  vertical-align: middle;
}
.tp-lp-tag--green {
  color: #2e7050;
  border-color: #7fbf9e;
  background: #eef8f2;
  margin-bottom: 10px;
}

/* ---- スタンド設置方法 ---- */
/* ---- スタンド設置方法 ---- */
.tp-lp-standhow {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  margin-top: 48px;
}
.tp-lp-standhow-col {
  background: #f6faf7;
  border: 1px solid #d2ddd4;
  border-radius: 14px;
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
}
.tp-lp-standhow-col h3 {
  font-size: 17px !important;
  margin: 0 0 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

/* 画像グリッド */
.tp-lp-standhow-imgs {
  display: grid;
  gap: 12px;
  margin-bottom: 24px;
}
/* 分割式:2×2 */
.tp-lp-standhow-imgs--4 {
  grid-template-columns: 1fr 1fr;
}
/* ネオボード:上段2枚・下段は左に1枚(右は空欄) */
.tp-lp-standhow-imgs--3 {
  grid-template-columns: 1fr 1fr;
}

/* 各画像 */
.tp-lp-standhow-img {
  position: relative;
  margin: 0;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e2ebe4;
}
.tp-lp-standhow-img img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  display: block;
}

/* 左上の番号バッジ */
.tp-lp-standhow-num {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 2;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'futura-pt', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #94b0ad, #5a8188);
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0,71,88,0.25);
}

/* 画像下の説明文 */
.tp-lp-standhow-steps {
  margin: 0 0 18px !important;
  padding: 0 !important;
  list-style: none !important;
  counter-reset: standhow;
}
.tp-lp-standhow-steps li {
  list-style: none !important;
  position: relative;
  counter-increment: standhow;
  font-size: 13.5px;
  color: #2b5a68;
  padding-left: 30px;
  margin-bottom: 10px;
  line-height: 1.75;
}
.tp-lp-standhow-steps li::before {
  content: counter(standhow);
  position: absolute;
  left: 0;
  top: 3px;
  width: 21px;
  height: 21px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'futura-pt', sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: #5a8188;
  background: #fff;
  border: 1px solid #94b0ad;
  border-radius: 50%;
}
.tp-lp-standhow-steps li strong {
  display: block;
  color: #004758;
  font-size: 14.5px;
  margin-bottom: 2px;
}

/* 特徴の注記(カード下端に固定) */
.tp-lp-standhow-col .tp-lp-card-note {
  margin-top: auto !important;
  margin-bottom: 0 !important;
}

/* ---- スタンド商品カード ---- */
.tp-lp-product {
  background: #fff;
  border: 1px solid #d2ddd4;
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .2s, box-shadow .2s;
}
.tp-lp-product:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(0,71,88,0.12);
}
.tp-lp-product img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: #fff;
  padding: 18px;
  box-sizing: border-box;
  border-bottom: 1px solid #eef2ee;
}
.tp-lp-product-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.tp-lp-product-body h4 {
  font-size: 17px !important;
  margin: 0 0 4px;
  min-height: 3.1em; /* 商品名が1行/2行でも高さを揃える */
  display: flex;
  align-items: flex-start;
}
.tp-lp-product-spec { font-size: 12.5px !important; color: #7a99a2 !important; margin: 0 0 12px !important; }
.tp-lp-product-price {
  font-family: 'futura-pt', 'Zen Kaku Gothic New', sans-serif;
  font-size: 26px !important;
  font-weight: 700;
  color: #004758 !important;
  margin: 0 0 12px !important;
  min-height: 38px; /* 価格表記の有無で高さが変わらないように */
  display: flex;
  align-items: center;
}
.tp-lp-product-price small { font-size: 12px; font-weight: 400; color: #7a99a2; }
.tp-lp-product-price--ask { font-size: 16px; color: #5a8188; }
.tp-lp-product-body > p { font-size: 13.5px; color: #2b5a68; margin: 0 0 4px; }
/* 商品説明文(最後のp)だけを伸縮させ、ボタンを下端に押し下げる */
.tp-lp-product-body > p:last-of-type { margin-bottom: 0; }

/* 商品カードのボタン2つ(商品ページ / 依頼する) */
.tp-lp-product-btns {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: auto; /* ← カード下端にボタンを揃える */
  padding-top: 18px;
}
/* テーマ側が a タグに付けるマージンを打ち消す */
.tp-lp .tp-lp-product-btns .tp-lp-btn {
  margin: 0 !important;
}
/* WordPressが自動挿入する br / 空の p を無効化(ボタン間の余分な隙間の原因) */
.tp-lp .tp-lp-product-btns br,
.tp-lp .tp-lp-product-btns p:empty,
.tp-lp .tp-lp-product-btns > p {
  display: none !important;
}
.tp-lp .tp-lp-btn--shop {
  display: block;
  color: #004758;
  background: #fff;
  border: 1.5px solid #94b0ad;
  padding: 12px 20px;
  font-size: 14px;
}
.tp-lp .tp-lp-btn--shop:hover {
  background: #eef4f0;
  border-color: #004758;
  color: #004758;
}

/* ---- タブ ---- */
.tp-lp-tabs {
  display: flex;
  gap: 6px;
  border-bottom: 2px solid #d2ddd4;
  margin: 44px 0 0;
}
.tp-lp-tab {
  appearance: none;
  border: none;
  background: transparent;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  color: #7a99a2;
  padding: 14px 22px;
  cursor: pointer;
  position: relative;
  transition: color .2s;
}
.tp-lp-tab:hover { color: #004758; }
.tp-lp-tab.is-active { color: #004758; }
.tp-lp-tab.is-active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 3px;
  background: #5a8188;
}
.tp-lp-tabpanel { display: none; padding-top: 36px; }
.tp-lp-tabpanel.is-active { display: block; }

/* ---- 仕様テーブル ---- */
.tp-lp-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,71,88,0.06);
}
.tp-lp-table th,
.tp-lp-table td {
  padding: 16px 20px;
  font-size: 14.5px;
  border-bottom: 1px solid #e6eee8;
  text-align: left;
  vertical-align: top;
}
.tp-lp-table th {
  width: 180px;
  background: #f2f7f3;
  color: #004758;
  font-weight: 700;
}
.tp-lp-table tr:last-child th,
.tp-lp-table tr:last-child td { border-bottom: none; }

/* ---- オプション一覧 ---- */
.tp-lp-option {
  background: #fff;
  border: 1px solid #d2ddd4;
  border-radius: 12px;
  padding: 24px;
}
.tp-lp-option h4 { font-size: 15.5px; margin: 0 0 8px; }
.tp-lp-option p { font-size: 13.5px; color: #2b5a68; margin: 0; }

/* ---- 著作権注意 ---- */
.tp-lp-legal {
  border: 1.5px solid #d8a08f;
  background: #fdf7f5;
  border-radius: 14px;
  padding: 32px 36px;
}
.tp-lp-legal h3 { color: #b0533f; font-size: 17px !important; margin: 0 0 12px; }
.tp-lp-legal p { font-size: 14px; margin: 0; color: #6b5049; }

/* ---- FAQ ---- */
.tp-lp-faq details {
  background: #fff;
  border: 1px solid #d2ddd4;
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
}
.tp-lp-faq summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 52px 20px 24px;
  font-size: 15.5px;
  font-weight: 700;
  position: relative;
}
.tp-lp-faq summary::-webkit-details-marker { display: none; }
.tp-lp-faq summary::before {
  content: "Q";
  font-family: 'futura-pt', sans-serif;
  color: #5a8188;
  font-weight: 700;
  margin-right: 12px;
}
.tp-lp-faq summary::after {
  content: "+";
  position: absolute;
  right: 22px; top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  color: #94b0ad;
  transition: transform .2s;
}
.tp-lp-faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.tp-lp-faq details p {
  margin: 0;
  padding: 0 24px 22px 48px;
  font-size: 14px;
  color: #2b5a68;
}

/* ---- 他の看板メニューへの誘導(ONE STOP SERVICE) ---- */
.tp-lp-onestop {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 56px;
  align-items: center;
}
.tp-lp-onestop-text .tp-lp-h2 {
  font-size: 30px !important;
}
.tp-lp-onestop-text .tp-lp-section-lead {
  margin-bottom: 32px !important;
}

/* 画像グリッド(3×2) */
.tp-lp-onestop-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
/* WordPressが自動挿入する p / br がグリッドのマス目を
   占有してしまうのを防ぐ(カードが1つ飛ばしに並ぶ原因) */
.tp-lp .tp-lp-onestop-grid > p,
.tp-lp .tp-lp-onestop-grid > br {
  display: none !important;
}

/* 各カード(クリックで特集ページへ) */
.tp-lp .tp-lp-onestop-card {
  display: block;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  background: #fff;
  border: 1px solid #d2ddd4;
  transition: transform .22s, box-shadow .22s;
}
.tp-lp .tp-lp-onestop-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(0,71,88,0.18);
}
.tp-lp-onestop-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  transition: transform .35s;
}
.tp-lp .tp-lp-onestop-card:hover img {
  transform: scale(1.05);
}

/* 画像下のラベル */
.tp-lp-onestop-label {
  display: block;
  padding: 12px 8px;
  background: #004758;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  letter-spacing: 0.04em;
  position: relative;
  z-index: 1;
  transition: background .25s;
}
.tp-lp .tp-lp-onestop-card:hover .tp-lp-onestop-label {
  background: #5a8188;
}

/* ---- 最終CTA ---- */
.tp-lp-final {
  background:
    radial-gradient(ellipse at 15% 20%, rgba(148,176,173,0.3), transparent 55%),
    linear-gradient(150deg, #004758, #14606f 55%, #5a8188);
  color: #fff;
  text-align: center;
  padding: 96px 24px;
}
.tp-lp-final h2 {
  font-size: 32px !important;
  font-weight: 700 !important;
  line-height: 1.55;
  margin: 0 0 18px;
  color: #fff;
  text-align: center !important;
}
.tp-lp-final p {
  font-size: 15px;
  color: #d2ddd4;
  margin: 0 0 36px;
}

/* ---- レスポンシブ ---- */
@media screen and (max-width: 960px) {
  .tp-lp-grid--3 { grid-template-columns: repeat(2, 1fr); }
  .tp-lp-flow { grid-template-columns: repeat(2, 1fr); }
}
@media screen and (max-width: 768px) {
  .tp-lp-section { padding: 64px 20px; }
  .tp-lp .tp-lp-section--tint {
    padding-top: 64px;
    padding-bottom: 64px;
    padding-left: 20px;
    padding-right: 20px;
  }
  .tp-lp-hero { padding: 84px 20px 76px; background-attachment: scroll; }
  .tp-lp-hero-title { font-size: 27px !important; }
  .tp-lp-hero-lead { font-size: 16px !important; }
  .tp-lp-h2 { font-size: 25px !important; }
  .tp-lp-grid--3 { grid-template-columns: 1fr; }
  .tp-lp-flow { grid-template-columns: 1fr; }
  .tp-lp-vs { grid-template-columns: 1fr; }
  .tp-lp-vs-mark { justify-self: center; }
  .tp-lp-compare { grid-template-columns: 1fr; }
  .tp-lp-onestop { grid-template-columns: 1fr; gap: 36px; }
  .tp-lp-onestop-text .tp-lp-h2 { font-size: 24px !important; }
  .tp-lp-onestop-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .tp-lp-onestop-label { font-size: 12.5px; padding: 10px 4px; }
  .tp-lp-standhow { grid-template-columns: 1fr; }
  .tp-lp-cta-band,
  .tp-lp-info-band { flex-direction: column; align-items: flex-start; padding: 28px 24px; }
  .tp-lp-tabs { overflow-x: auto; }
  .tp-lp-tab { white-space: nowrap; padding: 12px 14px; font-size: 13.5px; }
  .tp-lp-table th { width: 110px; }
  .tp-lp-table th, .tp-lp-table td { padding: 12px 14px; font-size: 13px; }
  .tp-lp-final h2 { font-size: 24px !important; }
  .tp-lp .tp-lp-btn { width: 100%; box-sizing: border-box; }
  .tp-lp-hero-btns { flex-direction: column; }
}
