@charset "UTF-8";

/* ==========================================================================
   茨城エアコン修理ショップ LP
   カラー・構成の根拠: docs/design.md / docs/page-structure.md
   ========================================================================== */

/* ---- デザイントークン ---- */
:root {
  --navy-dark: #0d193f;   /* ヒーロー背景・コピーライトバー */
  --navy: #002f75;        /* 電話ボックス・料金バー・見出し帯 */
  --blue: #0367bd;        /* 電話CTA・アイコン */
  --blue-text: #1a4a9c;   /* 見出し・キーワード強調 */
  --yellow: #f5e31a;      /* 価格・メインコピー強調 */
  --orange: #ed5d21;      /* フォーム系CTA */
  --orange-light: #f5822d;
  --red: #d7261d;         /* 必須ラベル・チェック・取り消し線 */
  --gold: #c9a24b;        /* 実績バッジの縁取り */
  --text: #333;
  --bg: #f4f6f9;
  --card-radius: 14px;
  --shadow: 0 2px 10px rgba(13, 25, 63, 0.08);
}

/* ---- リセット・ベース ---- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  /* 固定ヘッダーの高さ分、アンカー移動位置をずらす */
  scroll-padding-top: 84px;
}

body {
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  /* 固定フッターCTAの高さ分の余白 */
  padding-bottom: 84px;
}

img {
  max-width: 100%;
  display: block;
}

ul, ol {
  list-style: none;
}

a {
  text-decoration: none;
  color: inherit;
}

em {
  font-style: normal;
}

.icon {
  width: 1.2em;
  height: 1.2em;
  vertical-align: -0.2em;
}

.container {
  max-width: 1400px;
  margin-inline: auto;
  padding-inline: 20px;
}

.section {
  padding-block: 24px;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  /* 隣り合うカードの高さを揃える */
  align-items: stretch;
}

/* 白カード共通 */
.card {
  background: #fff;
  border-radius: var(--card-radius);
  box-shadow: var(--shadow);
  padding: 28px;
}

/* 紺帯のセクション見出し（カード上部までフルブリード） */
.card__bar {
  background: var(--navy);
  color: #fff;
  font-size: 18px;
  text-align: center;
  border-radius: var(--card-radius) var(--card-radius) 0 0;
  padding: 10px;
  margin: -28px -28px 20px;
}

/* ==========================================================================
   0. サイトヘッダー
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: #fff;
  box-shadow: 0 1px 8px rgba(13, 25, 63, 0.12);
}

.site-header__inner {
  max-width: 1400px;
  margin-inline: auto;
  padding: 10px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.site-header__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 900;
  color: var(--navy);
}

.site-header__logo img {
  width: 36px;
  height: 36px;
}

.site-header__contact {
  display: flex;
  align-items: center;
  gap: 20px;
}

.site-header__tel {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--blue-text);
}

.site-header__tel .icon {
  width: 26px;
  height: 26px;
  color: var(--blue);
}

.site-header__tel-body {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.site-header__tel-body strong {
  font-size: 20px;
  font-weight: 900;
}

.site-header__tel-body small {
  font-size: 11px;
  color: #667;
}

.site-header__cta {
  background: linear-gradient(180deg, var(--orange-light), var(--orange));
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  padding: 10px 24px;
  border-radius: 999px;
  box-shadow: 0 2px 0 #b93f0e;
  transition: transform 0.15s;
}

.site-header__cta:hover {
  transform: translateY(1px);
  box-shadow: 0 1px 0 #b93f0e;
}

/* ==========================================================================
   1. ファーストビュー
   ========================================================================== */
.hero {
  /* 写真の上に紺のグラデーションを重ねて文字の可読性を確保する */
  background:
    linear-gradient(115deg, rgba(13, 25, 63, 0.94) 0%, rgba(18, 48, 110, 0.88) 55%, rgba(29, 85, 168, 0.72) 100%),
    url("../assets/images/hero-bg.jpg") center / cover no-repeat;
  color: #fff;
  padding: 110px 20px 96px;
}

.hero__inner {
  max-width: 1400px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 40px;
  align-items: center;
}

.hero__site-label {
  font-size: 15px;
  font-weight: 500;
}

.hero__site-name {
  font-size: 30px;
  font-weight: 900;
  letter-spacing: 0.04em;
  margin-bottom: 24px;
}

.hero__title {
  font-size: 26px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 28px;
}

.hero__title em {
  display: inline-block;
  font-size: 44px;
  font-weight: 900;
  background: linear-gradient(180deg, #fdf6c8 20%, var(--yellow) 60%, #d8b900 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--yellow);
}

/* 実績バッジ（メダル風の円） */
.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.hero__badge {
  flex-shrink: 0; /* 狭い画面でも真円を維持する */
  width: 128px;
  height: 128px;
  border-radius: 50%;
  border: 3px solid var(--gold);
  outline: 2px solid rgba(201, 162, 75, 0.5);
  outline-offset: 3px;
  background: radial-gradient(circle at 35% 30%, #16306e, #0a1840);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.hero__badge-label {
  font-size: 13px;
  font-weight: 700;
}

.hero__badge-value {
  font-size: 30px;
  font-weight: 900;
  line-height: 1.2;
}

.hero__badge-value small {
  font-size: 12px;
  font-weight: 700;
}

/* 電話CTAボックス */
.hero__cta {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.hero__tel-box {
  background: var(--navy);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
}

.hero__tel-hours {
  background: rgba(255, 255, 255, 0.12);
  font-size: 14px;
  font-weight: 700;
  padding: 6px;
}

.hero__tel-number {
  display: block;
  font-size: 32px;
  font-weight: 900;
  letter-spacing: 0.02em;
  padding: 10px 8px 6px;
}

.hero__tel-free {
  background: #fff;
  color: var(--navy);
  font-size: 16px;
  font-weight: 700;
  padding: 8px;
  margin: 0 10px 10px;
  border-radius: 6px;
}

.hero__tel-free strong {
  font-size: 22px;
  color: var(--blue);
}

/* フォームCTAボタン（オレンジ） */
.hero__form-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(180deg, var(--orange-light), var(--orange));
  border-radius: 10px;
  padding: 12px 14px;
  box-shadow: 0 3px 0 #b93f0e;
  transition: transform 0.15s;
}

.hero__form-btn:hover {
  transform: translateY(2px);
  box-shadow: 0 1px 0 #b93f0e;
}

.hero__form-btn-tag {
  background: #fff;
  color: var(--orange);
  font-size: 13px;
  font-weight: 900;
  text-align: center;
  line-height: 1.3;
  border-radius: 6px;
  padding: 6px 8px;
  flex-shrink: 0;
}

.hero__form-btn-text {
  display: flex;
  flex-direction: column;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
}

.hero__form-btn-text small {
  font-size: 12px;
}

.hero__form-btn-arrow {
  margin-left: auto;
  font-size: 20px;
  font-weight: 900;
}

/* ==========================================================================
   2. 料金訴求バー
   ========================================================================== */
.price-bar {
  background: linear-gradient(100deg, var(--navy) 0%, #0a3d8f 100%);
  color: #fff;
}

.price-bar__inner {
  max-width: 1400px;
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 20px;
  padding: 20px;
}

.price-bar__label {
  font-size: 20px;
  font-weight: 900;
  border-right: 2px solid rgba(255, 255, 255, 0.4);
  padding-right: 20px;
}

.price-bar__base {
  font-size: 18px;
  font-weight: 700;
  text-align: center;
}

.price-bar__old {
  display: block;
  font-size: 22px;
  text-decoration: line-through;
  text-decoration-color: var(--red);
  text-decoration-thickness: 3px;
}

.price-bar__arrow {
  font-size: 30px;
  font-weight: 900;
  color: var(--yellow);
}

.price-bar__new {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--yellow);
}

.price-bar__web-only {
  background: var(--yellow);
  color: var(--navy);
  font-size: 16px;
  font-weight: 900;
  border-radius: 4px;
  padding: 2px 14px;
}

.price-bar__new em {
  font-size: 56px;
  font-weight: 900;
  line-height: 1;
}

.price-bar__unit {
  font-size: 24px;
  font-weight: 900;
}

.price-bar__unit small {
  font-size: 13px;
}

/* クレジットカード帯 */
.price-bar__cards {
  background: #fff;
  color: var(--text);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 14px;
  padding: 12px 20px;
}

.price-bar__cards-label {
  font-size: 13px;
  color: #666;
}

.price-bar__cards-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
}

.price-bar__cards-list img {
  height: 28px;
  width: auto;
}

/* ==========================================================================
   3. お悩み訴求（トラブル事例）
   ========================================================================== */
.trouble {
  background: #fff;
  padding-block: 44px;
}

.trouble__title {
  font-size: 28px;
  font-weight: 900;
  color: var(--blue-text);
  text-align: center;
}

.trouble__lead {
  font-size: 18px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 28px;
}

.trouble__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.trouble__item {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.trouble__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 画像下部の白帯キャプション */
.trouble__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(255, 255, 255, 0.95);
  font-size: 17px;
  font-weight: 700;
  color: #1a2c50;
  text-align: center;
  padding: 12px 10px;
}

.trouble__caption em {
  color: var(--blue);
}

/* ==========================================================================
   4. 安心お見積り宣言 / 5. 取り扱いメーカー
   ========================================================================== */
.promise__title {
  font-size: 26px;
  font-weight: 900;
  color: var(--blue-text);
  text-align: center;
  border-bottom: 3px solid var(--blue-text);
  padding-bottom: 12px;
  margin-bottom: 20px;
}

.promise__title .icon {
  color: var(--blue);
}

/* 宣言3項目をカード内で2カラムに並べる */
.promise__list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 48px;
}

.promise__list li {
  position: relative;
  font-size: 16px;
  padding-left: 32px;
}

/* 赤いチェックアイコン */
.promise__list li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 2px;
  width: 20px;
  height: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #fff;
  border: 2px solid var(--red);
  border-radius: 3px;
  color: var(--red);
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
}

.promise__list strong {
  font-size: 17px;
}

.promise__list em {
  color: var(--blue);
  font-weight: 700;
}

.makers__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

/* メーカーロゴ */
.makers__logo {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 74px;
  border: 1px solid #e3e9f2;
  border-radius: 6px;
  padding: 12px 16px;
}

.makers__logo img {
  max-width: 100%;
  max-height: 42px;
  width: auto;
  object-fit: contain;
}

.makers__corona {
  margin-top: 10px;
  border: 1px solid #e3e9f2;
  border-radius: 6px;
  padding: 12px;
  text-align: center;
  font-size: 24px;
  font-weight: 900;
  font-family: Georgia, serif;
  color: var(--navy);
}

.makers__corona small {
  display: block;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 11px;
  font-weight: 500;
  color: #556;
}

/* ==========================================================================
   6. 対応エリア / 7. お客様の声
   ========================================================================== */
.area__label {
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.area__main {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 18px;
}

.area__map {
  width: 150px;
  height: auto;
}

.area__catch {
  line-height: 1.3;
}

.area__catch em {
  display: block;
  font-size: 40px;
  font-weight: 900;
  color: var(--blue-text);
  border-bottom: 4px solid var(--blue-text);
}

.area__catch span {
  font-size: 24px;
  font-weight: 900;
  color: #1a2c50;
}

.area__cities {
  font-size: 16px;
  margin-bottom: 16px;
}

.area__note {
  font-size: 14px;
  color: #555;
}

/* 体験談2件をカード内で2カラムに並べる */
.voice__list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

/* 属性ラベルと星評価の行 */
.voice__head {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 12px;
}

.voice__name {
  display: inline-block;
  background: var(--blue);
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  border-radius: 4px;
  padding: 4px 16px;
}

.voice__stars {
  color: #f5a623;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 2px;
  line-height: 1;
}

.voice__stars span {
  color: #1a2c50;
  font-size: 14px;
  letter-spacing: normal;
  margin-left: 6px;
}

.voice__text {
  font-size: 15px;
}

/* ==========================================================================
   8. 施工完了までの流れ
   ========================================================================== */
.flow__title {
  font-size: 26px;
  font-weight: 900;
  color: var(--blue-text);
  text-align: center;
  margin-bottom: 28px;
}

.flow__list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.flow__step {
  position: relative;
  background: #f6f9fd;
  border-radius: 14px;
  padding: 24px 16px;
  text-align: center;
}

/* ステップ間の矢印 */
.flow__step:not(:last-child)::after {
  content: "❯";
  position: absolute;
  top: 50%;
  right: -23px;
  transform: translateY(-50%);
  font-size: 22px;
  font-weight: 900;
  color: var(--blue);
}

.flow__number {
  position: absolute;
  top: -12px;
  left: -8px;
  width: 36px;
  height: 36px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--blue);
  color: #fff;
  font-size: 18px;
  font-weight: 900;
  border-radius: 50%;
}

.flow__icon {
  width: 52px;
  height: 52px;
  color: var(--blue);
  margin: 4px auto 10px;
}

.flow__name {
  font-size: 17px;
  font-weight: 900;
  color: var(--blue-text);
  margin-bottom: 8px;
}

.flow__text {
  font-size: 14px;
  text-align: left;
}

/* ==========================================================================
   9. よくあるご質問 / 10. お問い合わせフォーム
   ========================================================================== */
.faq__title,
.contact__title {
  font-size: 24px;
  font-weight: 900;
  color: var(--blue-text);
  text-align: center;
  margin-bottom: 20px;
}

.faq__item {
  border: 1px solid #b9c6e2;
  border-radius: 8px;
  margin-bottom: 12px;
}

.faq__item summary {
  position: relative;
  list-style: none;
  cursor: pointer;
  font-size: 17px;
  font-weight: 700;
  color: var(--blue-text);
  padding: 14px 44px 14px 16px;
}

.faq__item summary::-webkit-details-marker {
  display: none;
}

/* 開閉アイコン（＋／−） */
.faq__item summary::after {
  content: "＋";
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  color: var(--blue);
}

.faq__item[open] summary::after {
  content: "−";
}

.faq__item p {
  font-size: 16px;
  padding: 0 16px 14px;
  /* JSによる高さアニメーション中のはみ出しを隠す */
  overflow: hidden;
}

.contact__lead {
  font-size: 15px;
  margin-bottom: 28px;
}

.contact__field {
  display: grid;
  grid-template-columns: 190px 1fr;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}

.contact__field label {
  font-size: 16px;
  font-weight: 700;
}

.contact__required {
  display: inline-block;
  background: var(--red);
  color: #fff;
  font-size: 11px;
  border-radius: 3px;
  padding: 1px 8px;
  margin-left: 4px;
}

.contact__field input {
  font: inherit;
  font-size: 16px;
  border: 1px solid #c9d4e8;
  border-radius: 6px;
  padding: 12px 14px;
  width: 100%;
}

.contact__field input:focus {
  outline: 2px solid var(--blue);
  border-color: transparent;
}

.contact__submit {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  width: 100%;
  font: inherit;
  font-size: 17px;
  font-weight: 900;
  color: #fff;
  background: linear-gradient(180deg, var(--orange-light), var(--orange));
  border: none;
  border-radius: 8px;
  padding: 14px;
  margin-top: 28px;
  cursor: pointer;
  box-shadow: 0 3px 0 #b93f0e;
  transition: transform 0.15s;
}

.contact__submit:hover {
  transform: translateY(2px);
  box-shadow: 0 1px 0 #b93f0e;
}

/* ==========================================================================
   11. 会社概要 ＋ 対応エリア一覧・受付時間
   ========================================================================== */
.company__table {
  display: grid;
  grid-template-columns: 140px 1fr;
}

.company__table dt {
  font-size: 15px;
  font-weight: 700;
  color: var(--blue-text);
  border-bottom: 1px solid #e3e9f2;
  padding: 12px 0;
}

.company__table dd {
  font-size: 16px;
  border-bottom: 1px solid #e3e9f2;
  padding: 12px 0;
}

.company__map {
  width: 100%;
  height: 200px;
  border: 0;
  border-radius: 8px;
  margin-top: 10px;
}

.summary__title {
  font-size: 16px;
  font-weight: 900;
  color: #1a2c50;
  margin-bottom: 10px;
}

.summary__cities {
  font-size: 16px;
  margin-bottom: 14px;
}

.summary__note {
  font-size: 14px;
  color: #555;
  margin-bottom: 20px;
}

.summary__hours {
  border-top: 1px solid #e3e9f2;
}

.summary__hours dt {
  font-size: 14px;
  font-weight: 700;
  color: var(--blue-text);
  padding-top: 14px;
}

.summary__hours dd {
  font-size: 16px;
  font-weight: 700;
  border-bottom: 1px solid #e3e9f2;
  padding-bottom: 14px;
}

/* ==========================================================================
   12. コピーライト
   ========================================================================== */
.site-footer {
  position: relative;
  background: var(--navy-dark);
  color: #fff;
  text-align: center;
  padding: 16px;
  margin-top: 24px;
}

.site-footer small {
  font-size: 13px;
}

/* ページトップへ戻る */
.site-footer__top {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--blue);
  border-radius: 50%;
  font-size: 20px;
  font-weight: 900;
}

/* ==========================================================================
   13. 固定フッターCTA
   ========================================================================== */
.fixed-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.fixed-cta__tel,
.fixed-cta__mail {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  color: #fff;
  padding: 10px;
}

.fixed-cta__tel {
  background: linear-gradient(180deg, #1478cf, var(--blue));
}

.fixed-cta__mail {
  background: linear-gradient(180deg, var(--orange-light), var(--orange));
}

.fixed-cta .icon {
  width: 32px;
  height: 32px;
}

.fixed-cta__body {
  display: flex;
  flex-direction: column;
  text-align: center;
  line-height: 1.35;
}

.fixed-cta__body small {
  font-size: 12px;
  font-weight: 700;
}

.fixed-cta__body strong {
  font-size: 22px;
  font-weight: 900;
}

/* ==========================================================================
   レスポンシブ
   ========================================================================== */
@media (max-width: 900px) {
  .hero__inner {
    grid-template-columns: 1fr;
  }

  .hero__badges {
    justify-content: center;
  }

  .hero__content {
    text-align: center;
  }

  .two-col {
    grid-template-columns: 1fr;
  }

  /* カード内の2カラムも縦積みにする */
  .promise__list,
  .voice__list {
    grid-template-columns: 1fr;
  }

  .flow__list {
    grid-template-columns: repeat(2, 1fr);
  }

  /* 2列折り返し時は横矢印を非表示 */
  .flow__step:not(:last-child)::after {
    display: none;
  }
}

@media (max-width: 600px) {
  body {
    padding-bottom: 76px;
  }

  .hero {
    padding: 60px 20px 52px;
  }

  .site-header__inner {
    padding: 8px 14px;
  }

  .site-header__logo {
    font-size: 15px;
    white-space: nowrap;
    gap: 6px;
  }

  .site-header__logo img {
    width: 28px;
    height: 28px;
  }

  .site-header__tel-body strong {
    font-size: 16px;
  }

  .site-header__tel-body small {
    display: none;
  }

  /* モバイルでは固定フッターCTAがあるためヘッダーのボタンは非表示 */
  .site-header__cta {
    display: none;
  }

  .hero__site-name {
    font-size: 24px;
  }

  .hero__title {
    font-size: 20px;
  }

  .hero__title em {
    font-size: 32px;
  }

  .hero__badge {
    width: 100px;
    height: 100px;
  }

  .hero__badge-value {
    font-size: 22px;
  }

  .price-bar__label {
    border-right: none;
    padding-right: 0;
  }

  .price-bar__new em {
    font-size: 42px;
  }

  .trouble__list {
    grid-template-columns: 1fr;
  }

  .flow__list {
    grid-template-columns: 1fr;
  }

  .contact__field {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .fixed-cta__body strong {
    font-size: 15px;
  }

  .fixed-cta__body small {
    font-size: 10px;
  }

  .fixed-cta .icon {
    width: 22px;
    height: 22px;
  }

  .site-footer {
    padding-right: 70px;
  }
}
