/* =========================================
   GHP style.css  (整理版 Final)
   - PC / Tablet / Smartphone 対応
========================================= */
/* ===== Base ===== */ :root {
  --brand: #1aa8a8;
  --brand-d: #0f8e8e;
  --accent: #f7d74b;
  --ink: #22313a;
  --muted: #6b7a85;
  --bg: #f5f8fa;
  --card: #ffffff;
  --line: #e6eef2;
  --radius: 14px;
  --shadow: 0 6px 20px rgba(18, 62, 82, .08);
}
* {
  box-sizing: border-box;
}
html, body {
  margin: 0;
  padding: 0;
}
body {
  color: var(--ink);
  background: var(--bg);
  font-family: "Noto Sans JP", "Hiragino Sans", "Yu Gothic UI", "Meiryo", sans-serif;
  line-height: 1.8;
  letter-spacing: .02em;
  font-size: 16px;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: var(--brand);
  text-decoration: none;
}
a:hover {
  opacity: .9;
}
/* ===== Layout ===== */
.container {
  width: min(1100px, 92%);
  margin-inline: auto;
}
/* ===== Header / Footer ===== */
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
}
.site-header .container {
  display: flex;
  align-items: center;
}
.site-header .logo img {
  height: 36px;
  width: auto;
  display: block;
  margin: 0;
}
.site-footer {
  background: #fff;
  border-top: 1px solid var(--line);
  margin-top: 56px;
}
.site-footer p {
  margin: 0;
  padding: 18px 0;
  color: var(--muted);
  text-align: center;
  font-size: .9rem;
}
/* ===== Hero（背景層：テキストのみ） ===== */
.hero {
  background: #f5f7f8;
  padding: 40px 0 28px;
  box-shadow: var(--shadow);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 95%);
  position: relative;
  z-index: 10;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: center;
}
.eyebrow {
  display: inline-block;
  font-size: .85rem;
  color: #fff;
  background: var(--brand);
  padding: .25rem .65rem;
  border-radius: 999px;
  letter-spacing: .06em;
  margin: 0 0 10px;
}
.hero__title {
  font-size: clamp(1.6rem, 1.2rem + 1.8vw, 2.4rem);
  line-height: 1.35;
  margin: .2rem 0 .8rem;
}
.hero__lead {
  color: var(--muted);
  margin: 0;
}
/* ===== Hero image（独立レイヤー） ===== */
.hero-float {
  position: relative;
  z-index: 50;
  margin-top: -480px;
}
.hero-float .container {
  display: flex;
  justify-content: flex-end;
  padding-right: 40px;
}
.hero-float__img {
  width: clamp(300px, 28vw, 400px);
  height: auto;
  transform: translateX(-16px);
  pointer-events: none;
}
/* ===== Makers ===== */
.makers {
  position: relative;
  z-index: 20;
  margin-top: -120px;
}
.makers-box {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 60px 24px 28px;
  position: relative;
  margin-bottom: 60px;
}
.makers__label {
  margin: 0 0 16px;
  color: var(--ink);
  font-size: 1.2rem;
  font-weight: 700;
  text-align: left;
  padding-left: 40px;
}
.logo-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 40px;
}
.logo-list figure {
  margin: 0;
  line-height: 0;
}
.logo-list img {
  height: 60px;
  width: auto;
  filter: saturate(.95);
  transition: transform .2s ease;
}
.logo-list img.logo-yanmar, .logo-list img.logo-aisin {
  height: 80px;
}
.logo-list img:hover {
  transform: scale(1.05);
}
/* ===== Section Titles ===== */
.sec-title {
  font-size: clamp(1.3rem, 1.05rem + 1.2vw, 1.8rem);
  line-height: 1.35;
  margin: 0 0 20px;
  text-align: center;
  color: #02808f;
}
.sec-title::before {
  display: none;
}
/* ===== Reasons ===== */
.reasons {
  padding: 36px 0;
  background: #fff;
}
.reason-images {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-top: 24px;
}
.reason-image img {
  width: 100%;
  max-width: 900px;
  margin-inline: auto;
}
.source {
  margin: 14px auto 0;
  font-size: .88rem;
  color: var(--muted);
  max-width: 900px;
  text-align: left;
}
/* ===== Merits ===== */
.merits {
  padding: 34px 0 10px;
  background: #fff;
  border: none;
  border-radius: 0;
  box-shadow: none;
}
.merit-list {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
.merit {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 18px 0;
}
/* 見出し */
.merit__head {
  position: relative;
  display: flex;
  align-items: center;
  gap: 18px;
  max-width: 900px;
  margin: 0 auto 16px;
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.4;
  padding-right: 280px; /* 右上アイコン分 */
}
.merit__head span {
  font-size: 3.2rem;
  font-weight: 600;
  color: #d1e0e5;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.8rem;
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
}
.merit__icon--right {
  position: absolute;
  top: 0;
  right: 0;
  width: 260px;
  height: auto;
}
/* 本文・画像 */
.merit__lead {
  margin: .8rem auto 0;
  max-width: 900px;
  text-align: left;
}
.merit__image {
  margin: 16px auto 0;
  max-width: 900px;
}
.merit__image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}
/* 04：被り回避 */
#merit04 .merit__head {
  padding-bottom: 60px;
}
#merit04 .merit__icon--right {
  top: 10px;
  right: 0;
  width: 240px;
}
/* メリット上のショートカットボタン */
.merit-nav-wrap {
  background: #f6f7f9;
  padding: 30px 0;
  margin-bottom: 40px;
}
.merit-nav {
  position: relative;
  display: flex;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}
.merit-nav a {
  position: relative;
  display: block;
  width: 200px;
  transition: transform .2s ease;
}
.merit-nav a img {
  width: 100%;
  height: auto;
  display: block;
  box-shadow: none;
  border-radius: 0;
}
.merit-nav a:hover {
  transform: translateY(-4px);
}
/* 画像間の縦セパレーター（PC） */
.merit-nav a:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 10%;
  bottom: 10%;
  width: 2px;
  background: #d1e0e5;
}
/* ===== FAQ ===== */
.faq {
  padding: 34px 0;
  background: #fff;
}
.qa {
  background: #fff;
  border: 2px solid #01b0ab;
  border-radius: 0;
  margin: 0 auto 20px;
  box-shadow: none;
  max-width: 900px;
  width: 100%;
}
.qa > summary {
  list-style: none;
  cursor: pointer;
  padding: 14px 56px 14px 22px;
  position: relative;
  font-weight: 600;
}
.qa > summary::-webkit-details-marker {
  display: none;
}
.qa > summary::before {
  content: "Q. ";
  color: #01b0ab;
  font-weight: 700;
  font-size: 1.5rem;
  margin-right: 4px;
}
.qa > summary::after {
  content: "+";
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 2px solid #01b0ab;
  background: #fff;
  color: #01b0ab;
  font-weight: 700;
  font-size: 1.4rem;
}
.qa[open] > summary::after {
  content: "–";
}
.qa__a {
  padding: 16px 22px;
  color: var(--muted);
  background: #f6f7f9;
  border-top: 2px solid #01b0ab;
}
.qa__a::before {
  content: "A. ";
  color: #e53935;
  font-weight: 700;
  font-size: 1.5rem;
  display: inline-block;
  margin-right: 4px;
}
.qa__figure {
  margin: 12px 0;
}
.qa__figure img {
  max-width: 720px;
  width: 100%;
  border-radius: 0;
  box-shadow: none;
  margin-inline: auto;
}
.qa__figure figcaption {
  font-size: .9rem;
  color: var(--muted);
  margin-top: 6px;
  text-align: center;
}
.qa__a--bulk {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  flex-wrap: wrap;
}
.qa__a--bulk .qa__figure {
  flex: 0 0 240px;
  margin: 0;
}
.qa__a--bulk .qa__figure img {
  width: 100%;
}
.qa__a--bulk p {
  flex: 1;
  margin: 0;
}
/* ===== Contact ===== */
.contact {
  background: #007f8e;
  padding: 48px 0;
}
.contact__lead {
  text-align: center;
  margin: 0 0 24px;
  color: #fff;
  font-size: 1.1rem;
  line-height: 1.7;
}
.contact__btn-wrap {
  text-align: center;
}
.contact__btn {
  display: inline-block;
  background: #fff;
  color: #007f8e;
  padding: 14px 36px;
  border-radius: 6px;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  transition: background .3s ease, color .3s ease;
}
.contact__btn:hover {
  background: #e6eef2;
  color: #005f6b;
}
/* ===== 省エネ強調文＆マーカー ===== */
.merit__lead--highlight {
  color: #1aa8a8;
  font-weight: 700;
  font-size: 1.2em;
  margin-top: 1rem;
}
.marker {
  background-color: #fff58c;
  padding: 0 .2em;
  border-radius: 2px;
}
/* ===== 固定申し込みボタン ===== */
.fixed-contact-btn {
  position: fixed;
  right: 0;
  bottom: 0;
  z-index: 9999;
  display: block;
}
.fixed-contact-btn img {
  width: 300px;
  height: auto;
  display: block;
  border: none;
}
/* =========================================
   Responsive
========================================= */
/* >=1024 (Desktop large) */
@media (min-width:1024px) {
  .hero__text {
    padding-left: 40px;
    padding-right: 60px;
  }
  .hero__lead {
    margin-bottom: 120px;
    max-width: 720px;
    margin-left: 0;
    margin-right: auto;
    text-align: left;
  }
}
/* 768–1023 (Tablet) */
@media (min-width:768px) and (max-width:1023px) {
  .hero__text {
    padding-left: 24px;
    padding-right: 40px;
  }
  .hero__lead {
    margin-bottom: 100px;
    max-width: 600px;
    text-align: left;
  }
  .hero-float {
    margin-top: -200px;
  }
  .hero-float__img {
    width: clamp(260px, 34vw, 340px);
    transform: translateX(-16px);
  }
  .merit__icon--right {
    width: 200px;
  }
}
/* >=768 (Desktop/Tablet shared) */
@media (min-width:768px) {
  .hero__grid {
    grid-template-columns: 1fr clamp(320px, 34vw, 440px);
    align-items: start;
  }
  .hero__text {
    grid-column: 1 / 2;
    padding-right: 0;
  }
}
/* <=767 (Smartphone) */
@media (max-width:767px) {
  html, body {
    font-size: 15px;
  }
  .container {
    width: min(94%, 640px);
  }
  /* Hero：画像を見出し直後に・小さめ・さらに上に */
  .hero {
    padding: 28px 0 40px;
  }
  .hero__title {
    font-size: clamp(1.25rem, 4.5vw, 1.6rem);
  }
  .hero__lead {
    margin-bottom: 36px;
  }
  .hero__grid {
    display: flex;
    flex-direction: column;
  }
  .hero-float {
    position: static;
    margin: -25px 0 40px;
    order: 2;
    width: 100%;
  }
  .hero-float .container {
    padding-right: 0;
    justify-content: center;
  }
  .hero-float__img {
    width: 70%;
    max-width: 320px;
    transform: none;
    margin: 0 auto;
  }
  /* Makers：2列 */
  .makers {
    margin-top: -40px;
  }
  .makers-box {
    padding: 20px 14px;
    margin-bottom: 32px;
  }
  .makers__label {
    font-size: 1.05rem;
    padding-left: 16px;
  }
  .logo-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 16px;
    justify-items: center;
  }
  .logo-list figure {
    width: 100%;
    display: flex;
    justify-content: center;
    margin: 0;
  }
  .logo-list img {
    max-width: 80%;
    height: auto;
  }
  .logo-list img.logo-yanmar, .logo-list img.logo-aisin {
    height: auto;
  }
  /* Section title */
  .sec-title {
    font-size: clamp(1.1rem, 4.2vw, 1.35rem);
    margin-bottom: 14px;
  }
  /* Reasons */
  .reasons {
    padding: 24px 0;
  }
  .reason-images {
    gap: 18px;
    margin-top: 16px;
  }
  .source {
    max-width: 94%;
  }
  /* Merit：ナビは2列、縦線なし */
  .merit-nav-wrap {
    padding: 16px 0 18px;
    margin-bottom: 20px;
  }
  .merit-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .merit-nav a {
    width: 100%;
  }
  .merit-nav a:not(:last-child)::after {
    display: none;
  }
  /* Merit：本文 */
  .merit {
    padding: 14px 0;
  }
  .merit__head {
    gap: 12px;
    font-size: 1.35rem;
    padding-right: 140px;
    margin-bottom: 12px;
  }
  .merit__head span {
    font-size: 2.6rem;
    width: 3rem;
  }
  .merit__icon--right {
    width: 110px;
    top: 2px;
    right: 0;
  }
  /* 04は見出し下に小さめで表示 */
  #merit04 .merit__head {
    padding-right: 0;
    padding-bottom: 12px;
  }
  #merit04 .merit__icon--right {
    position: static;
    display: block;
    width: 50vw;
    max-width: 200px;
    height: auto;
    margin: 12px auto 0;
  }
  .merit__lead, .merit__image {
    max-width: 94%;
  }
  /* FAQ */
  .faq {
    padding: 24px 0;
  }
  .qa {
    max-width: 100%;
    margin-bottom: 14px;
  }
  .qa > summary {
    padding: 12px 52px 12px 18px;
  }
  .qa > summary::after {
    width: 30px;
    height: 30px;
    font-size: 1.2rem;
    right: 12px;
  }
  .qa__a {
    padding: 12px 18px;
  }
  .qa__figure img {
    max-width: 100%;
  }
  /* バルク：スマホでは縦積み */
  .qa__a--bulk {
    display: block;
  }
  .qa__a--bulk .qa__figure {
    margin-bottom: 10px;
  }
  .qa__a--bulk p {
    margin: 0;
  }
  /* 固定ボタン：セーフエリア考慮＆小さめ */
  .fixed-contact-btn {
    right: max(8px, env(safe-area-inset-right));
    bottom: max(8px, env(safe-area-inset-bottom));
  }
  .fixed-contact-btn img {
    width: 120px;
  }
}

/* ===== 固定申し込みボタン（スマホは下限固定・横100%） ===== */
@media (max-width: 767px) {
  .fixed-contact-btn{
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;                     /* 画面最下部に固定 */
    width: 100%;
    z-index: 9999;
    display: block;
    /* iPhone等のセーフエリア考慮 */
    padding-bottom: env(safe-area-inset-bottom);
    background: transparent;       /* 画像のみの帯なら透明でOK */
  }
  .fixed-contact-btn img{
    width: 100%;
    height: auto;
    display: block;
  }

  /* ボタンに隠れないよう下に余白を確保（画像高さの目安分） */
  main{
    padding-bottom: calc(96px + env(safe-area-inset-bottom));
  }
}

/* === FAQ: 災害対策用バルク & LPガスは災害に強い === */
@media (max-width: 767px) {
  /* 画像をさらに小さく（横幅70%→50%程度に） */
  .qa__a--bulk .qa__figure img {
    width: 50% !important;   /* ←通常より小さめ表示 */
    max-width: 220px !important; /* 上限も縮小 */
    margin: 0 auto 12px !important; /* 中央寄せ＋下余白 */
  }

  /* 画像と説明文の間隔を少し広げて見やすく */
  .qa__a--bulk p {
    margin-top: 8px !important;
  }
}

/* === merit04：スマホ時は見出し下でさらに小さく表示 === */
@media (max-width: 767px) {
  #merit04 .merit__icon--right {
    position: static !important;   /* 見出し右上から外す */
    display: block !important;
    width: 35vw !important;        /* ★さらに小さく（画面幅の35%） */
    max-width: 140px !important;   /* 最大幅もより小さく */
    margin: 12px auto 0 !important;/* 見出し下に中央寄せ */
    height: auto !important;
  }
}