@charset "utf-8";
/* ============================================================
   carport.css ― カーポート紹介ページ（page-carport.php）専用スタイル
   2026 リニューアル版。front-page.css のトークン／共通枠／コンポーネント
   （.fp-sec-ttl / .fp-btn-list / .fp-faq-* など）を再利用する前提で、
   カーポート固有のスタイルのみをここに定義する。全要素を .cp-body 配下に限定。
   PC＝固定px（front-page と同じ 1200px コンテンツ幅）。
   SP（@media ≤768px）＝1カラム化＋可読性確保（フォントは max(14px, …) で下支え）。
   ※SP用の Figma コンプは未提供のため、SP は暫定の比率調整。
   ============================================================ */

/* ---- メインラッパー（#fp-main 内・1200px 中央寄せガター） ---- */
.cp-body .cp-main {
  padding: 48px var(--fp-gut) 100px;
  box-sizing: border-box;
}

.cp-body .cp-main p {
  letter-spacing: .04em;
}

/* ---- パンくず ---- */
.cp-breadcrumb {
  font-size: 13px;
  color: var(--fp-text-weak);
  letter-spacing: .04em;
  margin-bottom: 28px;
}
.cp-breadcrumb a { color: var(--fp-text-weak); }
.cp-breadcrumb a:hover { color: var(--fp-green); text-decoration: underline; }
.cp-breadcrumb span { margin: 0 8px; }
.cp-breadcrumb .current { color: var(--fp-text); }

/* ---- ページタイトル（汎用ページ .page-title-header と統一：英字上＋和文＋下線） ---- */
.cp-pagehead {
  text-align: center;
  margin-bottom: 56px;
}
.cp-pagehead .en {
  display: block;
  font-size: 15px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--fp-green);
  line-height: 1;
}
.cp-pagehead .ja {
  margin: 14px 0 0;
  font-family: "Noto Serif JP", serif;
  font-size: 36px;
  font-weight: 500;
  letter-spacing: .08em;
  color: #000;
  line-height: 1.3;
}
.cp-pagehead::after {
  content: "";
  display: block;
  width: 60px;
  height: 2px;
  margin: 24px auto 0;
  background: linear-gradient(to right, var(--fp-green) 0 30px, var(--fp-text-weak) 30px 60px);
}

/* ============================================================
   イントロ（キャッチ＋メインビジュアル＋導入文）
   ============================================================ */
.cp-catch {
  margin: 0 0 32px;
  font-family: "Noto Serif JP", serif;
  font-size: 28px;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: .04em;
  color: #222;
}

.cp-hero {
  margin: 0 0 32px;
}
.cp-hero img {
  display: block;
  width: 100%;
  height: auto;
}
.cp-hero figcaption {
  margin-top: 10px;
  text-align: right;
  font-size: 13px;
  color: var(--fp-text-weak);
  letter-spacing: .04em;
}

.cp-intro-text p {
  margin: 0 0 24px;
  font-size: 16px;
  line-height: 2;
}
.cp-intro-text p:last-child { margin-bottom: 0; }
.cp-intro-text strong { font-weight: 700; }

/* ---- セクション共通の縦余白 ---- */
.cp-section {
  margin-top: 120px;
}
.cp-section > .fp-sec-ttl {
  margin-bottom: 44px;
}

/* 中央寄せボタン行 */
.cp-btn-center {
  text-align: center;
  margin: 48px 0 0;
}

/* テキストリンク（→ 矢印付き・緑） */
.cp-textlink {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--fp-green);
  font-size: 14px;
  letter-spacing: .04em;
}
.cp-textlink:hover { color: var(--fp-green-dark); text-decoration: underline; }
.cp-textlink .cp-arr {
  display: inline-block;
  width: 28px;
  height: 7px;
  background: url("../img/top/arrow-green-long.svg") no-repeat right center / contain;
}

/* ============================================================
   LINEUP（人気メーカー・モデル）
   ============================================================ */
/* 注目2モデル（幅広・縦並び：画像左＋本文右） */
.cp-feature {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
.cp-feature-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  background: #fff;
  border: 1px solid var(--fp-line);
  box-shadow: 0 3px 14px rgba(0, 0, 0, .05);
}
.cp-feature-img {
  position: relative;
  overflow: hidden;
}
.cp-feature-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cp-badge {
  position: absolute;
  left: 0;
  bottom: 16px;
  padding: 6px 18px 6px 16px;
  background: var(--fp-green);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .04em;
}
.cp-feature-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 32px 40px;
}
.cp-maker {
  margin: 0 0 6px;
  font-size: 13px;
  letter-spacing: .12em;
  color: var(--fp-text-weak);
}
.cp-model-name {
  margin: 0 0 14px;
  font-family: "Noto Serif JP", serif;
  font-weight: 600;
  font-size: 22px;
  letter-spacing: .06em;
  line-height: 1.4;
  color: #1d1d1d;
}
.cp-model-desc {
  margin: 0 0 18px;
  font-size: 15px;
  line-height: 1.9;
}

/* モデルグループ（高意匠／積雪・強風／高機能／プレミアム） */
.cp-model-group { margin-top: 64px; }
.cp-group-ttl {
  margin: 0 0 28px;
  padding-left: 16px;
  border-left: 5px solid var(--fp-green);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: .06em;
  line-height: 1.3;
  color: #1d1d1d;
}
.cp-model-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px 40px;
}
.cp-model-card {
  background: #fff;
}
.cp-model-card-body {
  padding: 18px 4px 0;
}
.cp-model-card .cp-model-name {
  font-size: 19px;
  margin-bottom: 10px;
}
.cp-model-card .cp-model-desc {
  margin-bottom: 0;
  font-size: 14.5px;
  line-height: 1.85;
}

/* 画像プレースホルダ（素材未確定枠） */
.cp-ph {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  background:
    repeating-linear-gradient(135deg, #eef1ed 0 14px, #e8ebe6 14px 28px);
  border: 1px solid #dde2da;
  color: #8a9486;
  font-size: 13px;
  letter-spacing: .06em;
  text-align: center;
  box-sizing: border-box;
  padding: 8px;
}
.cp-ph span { display: block; }

/* 実画像枠（ワイヤーフレーム書き出し画像）。アスペクト比は要素側の inline style で指定。 */
.cp-imgbox {
  width: 100%;
  overflow: hidden;
  background: #f1f3f0;
}
.cp-imgbox img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 屋根勾配の一体図解（横長・トリミングせず中央表示） */
.cp-slope-figure {
  margin: 22px 0;
  text-align: center;
}
.cp-slope-figure img {
  display: block;
  width: 100%;
  max-width: 760px;
  height: auto;
  margin: 0 auto;
}

/* ============================================================
   お問い合せ（CTA）
   ============================================================ */
.cp-contact {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  background: var(--fp-bg-soft);
  border: 1px solid var(--fp-line);
  border-radius: 8px;
  padding: 44px 40px;
  text-align: center;
  box-sizing: border-box;
}
.cp-contact.cp-section { margin-top: 96px; }
.cp-contact-ttl {
  margin: 0 0 28px;
  font-family: "Noto Serif JP", serif;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: .06em;
  color: #1d1d1d;
}
.cp-contact-btns {
  display: flex;
  justify-content: center;
  gap: 16px;
}
.cp-contact-tel,
.cp-contact-mail {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: 360px;
  height: 92px;
  border-radius: 8px;
  box-sizing: border-box;
  transition: background .2s, color .2s, opacity .2s;
}
.cp-contact-tel {
  background: var(--fp-green);
  color: #fff;
}
.cp-contact-tel:hover {
  /* background: var(--fp-green-dark); */
  color: #fff;
  opacity: .7;
}
.cp-contact-tel .ico img { width: auto; height: 38px; }
.cp-contact-tel .txt { display: flex; flex-direction: column; line-height: 1.2; text-align: left; }
.cp-contact-tel .num {
  font-family: "Noto Serif JP", serif;
  font-weight: 600;
  font-size: 30px;
  letter-spacing: .03em;
}
.cp-contact-tel .time { font-size: 13px; margin-top: 4px; }
.cp-contact-mail {
  background: #fff;
  border: 1px solid var(--fp-green);
  color: var(--fp-green);
  font-size: 18px;
  letter-spacing: .04em;
}
.cp-contact-mail:hover { background: var(--fp-green); color: #fff; }
.cp-contact-mail:hover .ico { filter: brightness(0) invert(1); }
.cp-contact-mail .ico { width: auto; height: 22px; }

/* ============================================================
   WORKS（施工事例）
   ============================================================ */
.cp-works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.cp-work-card { background: #fff; }
.cp-work-link { display: block; color: inherit; text-decoration: none; }
.cp-work-link:hover { color: inherit; }
.cp-work-link:hover .cp-work-title { color: var(--fp-green); }
.cp-works-empty { margin: 0; color: var(--fp-text-weak); font-size: 15px; }
.cp-work-img {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  margin-bottom: 16px;
}
.cp-work-img img { width: 100%; height: 100%; object-fit: cover; }
.cp-work-city {
  margin: 0 0 6px;
  font-size: 13px;
  color: var(--fp-text-weak);
  letter-spacing: .08em;
}
.cp-work-title {
  margin: 0 0 10px;
  font-family: "Noto Serif JP", serif;
  font-weight: 600;
  font-size: 19px;
  letter-spacing: .05em;
  color: #1d1d1d;
}
.cp-work-ex {
  margin: 0;
  font-size: 14px;
  line-height: 1.85;
}

/* ============================================================
   GUIDE（選び方・設置のポイント）
   ============================================================ */
.cp-lead {
  margin: 0 0 8px;
  font-size: 16px;
  line-height: 2;
}
.cp-guide-block { margin-top: 56px; }
.cp-guide-block > p { font-size: 15.5px; line-height: 2; margin: 0 0 18px; }

/* 大見出し（1 / 2 / 3） */
.cp-guide-h {
  display: flex;
  align-items: center;
  margin: 0 0 22px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--fp-line);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: .04em;
  line-height: 1.4;
  color: #1d1d1d;
}
.cp-guide-h .num {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  margin-right: 14px;
  border-radius: 5px;
  background: var(--fp-green);
  color: #fff;
  font-size: 17px;
}

/* 小見出し（◆ 屋根の勾配 など） */
.cp-guide-sub {
  margin: 32px 0 14px;
  padding-left: 14px;
  border-left: 4px solid var(--fp-green);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .04em;
  line-height: 1.45;
  color: #222;
}
.cp-guide-sub.cp-circle { display: flex; align-items: baseline; }
.cp-guide-sub.cp-circle span {
  flex: 0 0 auto;
  margin-right: 8px;
  color: var(--fp-green);
  font-size: 22px;
}

.cp-mk { font-weight: 700; color: #333; }

/* 結論ライン（→ … がおすすめ！） */
.cp-point {
  margin: 18px 0;
  padding: 14px 20px;
  background: #eaf4ee;
  border-left: 4px solid var(--fp-green);
  color: var(--fp-green-dark);
  font-weight: 700;
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: .04em;
}

.cp-link-row { margin: 14px 0 0; }

.cp-compare-label {
  margin: 32px 0 10px;
}

/* 比較画像（2枚並び） */
.cp-compare-imgs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin: 20px 0 8px;
}

/* その他（カラー・機能・拡張性）の作例ギャラリー（4枚＝2×2） */
.cp-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin: 22px 0 8px;
}

/* 2カラム（スペック比較） */
.cp-two-col {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px 40px;
  margin: 18px 0;
}
.cp-spec .cp-mk { display: block; margin-bottom: 10px; }
.cp-spec ul,
.cp-bullets {
  list-style: none;
  margin: 0;
  padding: 0;
}
.cp-spec li,
.cp-bullets li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 10px;
  font-size: 15px;
  line-height: 1.85;
}
.cp-spec li::before,
.cp-bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .7em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--fp-green);
}
.cp-spec li b,
.cp-bullets li b { font-weight: 700; }

/* スペックボックス（車種の目安） */
.cp-spec-box {
  margin: 20px 0;
  padding: 24px 30px;
  background: #fafbfa;
  border: 1px solid #d8ddd6;
  border-radius: 8px;
}
.cp-spec-box-ttl {
  margin: 0 0 14px;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: .04em;
  color: #1d1d1d;
}
.cp-spec-box ul { list-style: none; margin: 0; padding: 0; }
.cp-spec-box li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 10px;
  font-size: 15px;
  line-height: 1.8;
}
.cp-spec-box li:last-child { margin-bottom: 0; }
.cp-spec-box li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .65em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--fp-green);
}

/* 屋根勾配の図解（3枚） */
.cp-slope-imgs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 22px 0;
}
.cp-slope-imgs figure { margin: 0; }
.cp-slope-imgs figcaption {
  margin-top: 10px;
  text-align: center;
  font-size: 13.5px;
  color: #555;
  letter-spacing: .03em;
}

/* おすすめの選び方（コールアウト枠） */
.cp-callout {
  margin: 32px 0 0;
  padding: 28px 32px;
  background: var(--fp-bg-soft);
  border: 1px solid var(--fp-green);
  border-radius: 8px;
  overflow: hidden;          /* フロート配置のイラストを内包 */
}
.cp-callout-illust {
  float: right;
  width: 150px;
  height: auto;
  margin: 0 0 8px 20px;
}
.cp-callout-ttl {
  margin: 0 0 14px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .04em;
  color: #1d1d1d;
}
.cp-callout-ttl::before {
  content: "\1F4A1";
  margin-right: 8px;
}
.cp-callout ul { list-style: none; margin: 0; padding: 0; }
.cp-callout li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 12px;
  font-size: 15px;
  line-height: 1.85;
}
.cp-callout li:last-child { margin-bottom: 0; }
.cp-callout li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .7em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--fp-green);
}
.cp-callout li b { font-weight: 700; color: var(--fp-green-dark); }

/* よくある失敗例 */
.cp-fail { margin-top: 8px; }
.cp-fail-item { margin-bottom: 24px; }
.cp-fail-item:last-child { margin-bottom: 0; }
.cp-fail-ttl {
  margin: 0 0 8px;
  font-weight: 700;
  font-size: 16.5px;
  letter-spacing: .03em;
  color: #1d1d1d;
}
.cp-fail-ttl::before {
  content: "\2715";
  margin-right: 8px;
  color: #d8453a;
  font-weight: 700;
}
.cp-fail-item p:not(.cp-fail-ttl) {
  margin: 0;
  font-size: 15px;
  line-height: 1.9;
}

/* ============================================================
   メッセージ（福島県でのカーポート設置なら〜）
   ============================================================ */
.cp-message {
  padding: 48px 56px;
  background: var(--fp-bg-soft);
  border-radius: 8px;
}
.cp-message-ttl {
  margin: 0 0 8px;
  text-align: center;
  font-family: "Noto Serif JP", serif;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: .05em;
  line-height: 1.5;
  color: #1d1d1d;
}
.cp-message-sub {
  margin: 0 0 28px;
  text-align: center;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: .04em;
  color: var(--fp-green-dark);
}
.cp-message p:not(.cp-message-sub) {
  margin: 0 0 18px;
  font-size: 16px;
  line-height: 2;
}
.cp-message p:last-child { margin-bottom: 0; }

/* ============================================================
   REASON（選ばれる理由）
   ============================================================ */
.cp-reason-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.cp-reason-item {
  display: flex;
  align-items: flex-start;
  gap: 28px;
  padding: 28px 32px;
  background: #fff;
  border: 1px solid var(--fp-line);
  box-shadow: 0 3px 12px rgba(0, 0, 0, .04);
}
.cp-reason-ico {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--fp-green);
}
.cp-reason-ico img { width: 34px; height: 34px; }
.cp-reason-body h3 {
  margin: 4px 0 12px;
  font-family: "Noto Serif JP", serif;
  font-weight: 600;
  font-size: 21px;
  letter-spacing: .05em;
  line-height: 1.5;
  color: #1d1d1d;
}
.cp-reason-body p {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.85;
}

/* ============================================================
   FAQ（front-page の .fp-faq-* を流用・微調整）
   ============================================================ */
.cp-faq-list .fp-faq-item dt .t { line-height: 1.5; }

/* ============================================================
   SP（≤768px）― 1カラム化＋可読性確保
   ※SPコンプ未提供のため暫定。フォントは max(14px, …) で下支え。
   ============================================================ */
@media (max-width: 768px) {

  /* SP固定ヘッダー（高さ75px）の分だけ本文上部を確保（重なり・パンくず隠れ防止） */
  .cp-body #fp-main { padding-top: 75px; }

  .cp-body .cp-main {
    padding: 20px 20px 56px;
  }

  /* パンくず */
  .cp-breadcrumb {
    font-size: 12px;
    margin-bottom: 20px;
    white-space: nowrap;
    overflow-x: auto;
  }

  /* ページタイトル */
  .cp-pagehead { margin-bottom: 36px; }
  .cp-pagehead .en { font-size: 14px; letter-spacing: .25em; }
  .cp-pagehead .ja { font-size: 28px; margin-top: 12px; }

  /* イントロ */
  .cp-catch { font-size: 21px; line-height: 1.7; margin-bottom: 24px; }
  .cp-hero figcaption { font-size: 12px; }
  .cp-intro-text p { font-size: 15px; line-height: 1.95; margin-bottom: 20px; }

  /* セクション余白 */
  .cp-section { margin-top: 64px; }
  .cp-section > .fp-sec-ttl { margin-bottom: 30px; }
  .cp-btn-center { margin-top: 36px; }

  /* LINEUP */
  .cp-feature { grid-template-columns: 1fr; gap: 24px; }
  .cp-feature-card { grid-template-columns: 1fr; }
  .cp-feature-img { aspect-ratio: 16 / 10; }
  .cp-feature-body { padding: 20px 20px 24px; }
  .cp-model-name { font-size: 20px; }
  .cp-model-desc { font-size: 14px; }
  .cp-model-group { margin-top: 44px; }
  .cp-group-ttl { font-size: 18px; margin-bottom: 20px; }
  .cp-model-grid { grid-template-columns: 1fr; gap: 28px; }
  .cp-model-card .cp-model-name { font-size: 18px; }
  .cp-model-card .cp-model-desc { font-size: 14px; }

  /* お問い合せ */
  .cp-contact { padding: 32px 20px; border-radius: 6px; }
  .cp-contact.cp-section { margin-top: 64px; }
  .cp-contact-ttl { font-size: 20px; margin-bottom: 20px; }
  .cp-contact-btns { flex-direction: column; align-items: center; gap: 14px; }
  .cp-contact-tel,
  .cp-contact-mail { width: 100%; max-width: 360px; height: 80px; }
  .cp-contact-tel .num { font-size: 26px; }
  .cp-contact-tel .time { font-size: 12px; }
  .cp-contact-mail { font-size: 16px; }

  /* WORKS */
  .cp-works-grid { grid-template-columns: 1fr; gap: 28px; }
  .cp-work-title { font-size: 18px; }
  .cp-work-ex { font-size: 14px; }

  /* GUIDE */
  .cp-lead { font-size: 15px; line-height: 1.95; }
  .cp-guide-block { margin-top: 44px; }
  .cp-guide-block > p { font-size: 14.5px; line-height: 1.95; }
  .cp-guide-h { font-size: 18px; padding-bottom: 12px; margin-bottom: 18px; }
  .cp-guide-h .num { width: 26px; height: 26px; margin-right: 10px; font-size: 15px; }
  .cp-guide-sub { font-size: 16px; margin: 26px 0 12px; }
  .cp-guide-sub.cp-circle span { font-size: 19px; }
  .cp-point { font-size: 15px; padding: 12px 16px; }
  .cp-compare-imgs { grid-template-columns: 1fr; gap: 16px; }
  .cp-two-col { grid-template-columns: 1fr; gap: 20px; }
  .cp-spec li, .cp-bullets li { font-size: 14px; }
  .cp-spec-box { padding: 20px; }
  .cp-spec-box li { font-size: 14px; }
  .cp-slope-imgs { grid-template-columns: 1fr; gap: 18px; max-width: 320px; margin-left: auto; margin-right: auto; }
  .cp-gallery { grid-template-columns: 1fr 1fr; gap: 12px; }
  .cp-callout { padding: 22px 20px; }
  .cp-callout-illust { width: 96px; margin: 0 0 6px 12px; }
  .cp-callout-ttl { font-size: 16px; }
  .cp-callout li { font-size: 14px; }
  .cp-fail-ttl { font-size: 15.5px; }
  .cp-fail-item p:not(.cp-fail-ttl) { font-size: 14px; }

  /* メッセージ */
  .cp-message { padding: 32px 22px; }
  .cp-message-ttl { font-size: 20px; }
  .cp-message-sub { font-size: 15px; }
  .cp-message p:not(.cp-message-sub) { font-size: 15px; line-height: 1.95; }

  /* REASON */
  .cp-reason-list { gap: 18px; }
  .cp-reason-item { gap: 18px; padding: 22px 20px; }
  .cp-reason-ico { width: 56px; height: 56px; }
  .cp-reason-ico img { width: 28px; height: 28px; }
  .cp-reason-body h3 { font-size: 18px; }
  .cp-reason-body p { font-size: 14px; }
}
