@charset "UTF-8";

/* =========================================================
   有限会社イトウ塗装工業 ご提案用サンプル
   配色はロゴから実測：黄 #FFDF00／緑 #419D3E／黒
   モチーフ：ロゴの刷毛（はけ）のストローク
   ========================================================= */

:root {
  color-scheme: only light;

  /* 文字サイズ（03_レビューゲートの18px仕様＝正本。数値を直接書かず必ずこの変数を使う） */
  --fs-body: 18px;
  --fs-h3: 24px;
  --fs-h4: 20px;
  --fs-label: 15px;
  --fs-note: 14px;
  --fs-deco: 15px;

  /* 色 */
  --yellow: #ffdf00; /* ロゴ実測 */
  --yellow-soft: #fff8d0;
  --green: #419d3e; /* ロゴ実測。白文字には使わない（コントラスト3.4） */
  --green-deep: #2e7031; /* 白文字を載せる帯用（コントラスト6.0） */
  --green-dark: #1f4d22;
  --ink: #16160e;
  --ink-soft: #3d3d33;
  --line: #dcdace;
  --paper: #ffffff;
  --paper-tint: #fbfaf4;

  --wrap: 1120px;
  --radius: 6px;
}

/* ---------- 土台 ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family:
    "BIZ UDPGothic", "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
  font-size: var(--fs-body);
  line-height: 1.9;
  -webkit-text-size-adjust: 100%;
}

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

a {
  color: inherit;
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
figure,
table {
  margin: 0;
  padding: 0;
}
ul {
  list-style: none;
}

.wrap {
  width: min(100% - 40px, var(--wrap));
  margin-inline: auto;
}

/* ---------- 提案専用の注釈 ---------- */
.proposal-note {
  background: var(--ink);
  color: #ffffff;
  padding: 14px 20px;
  text-align: center;
}
.proposal-note__main,
.proposal-note__sub {
  max-width: 980px;
  margin-inline: auto;
  font-size: var(--fs-note);
  line-height: 1.8;
}
.proposal-note__main strong {
  color: var(--yellow);
}
.proposal-note__sub {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
}
.proposal-note a {
  color: var(--yellow);
}

/* ---------- ヘッダー ---------- */
.header {
  position: relative;
  background: var(--paper);
  border-bottom: 4px solid var(--yellow);
}
.header__upper {
  width: min(100% - 40px, var(--wrap));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
}
.header__logo {
  display: block;
  flex: 0 0 auto;
}
.header__logo img {
  width: 260px;
  height: auto;
}

.header__contact {
  text-align: right;
}
.header__contact-label {
  font-size: var(--fs-label);
  color: var(--ink-soft);
  line-height: 1.5;
}
.header__tel {
  display: inline-block;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 900;
  font-size: 30px;
  line-height: 1.2;
  letter-spacing: 0.01em;
  text-decoration: none;
  color: var(--green-dark);
}

/* メニューボタン（スマホのみ表示・文字ラベル必須） */
.header__toggle {
  display: none;
  align-items: center;
  gap: 8px;
  background: var(--ink);
  color: #ffffff;
  border: 0;
  border-radius: var(--radius);
  padding: 10px 14px;
  font-family: inherit;
  font-size: var(--fs-body);
  font-weight: 700;
  cursor: pointer;
}
.header__toggle-bars {
  display: inline-block;
  width: 20px;
}
.header__toggle-bars i {
  display: block;
  height: 2px;
  background: var(--yellow);
  margin: 4px 0;
}

/* ナビ（PCは全幅の下段） */
.nav {
  background: var(--paper-tint);
  border-top: 1px solid var(--line);
}
.nav__list {
  width: min(100% - 40px, var(--wrap));
  margin-inline: auto;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}
.nav__list a {
  display: block;
  padding: 14px 18px;
  font-size: var(--fs-body);
  text-decoration: none;
  font-weight: 700;
  white-space: nowrap;
}
.nav__list a:hover {
  color: var(--green-dark);
  background: var(--yellow-soft);
}

/* ---------- ヒーロー ---------- */
.hero {
  position: relative;
  background: var(--ink);
  color: #ffffff;
  overflow: hidden;
  min-height: 520px;
  display: flex;
  align-items: center;
}
.hero::before {
  /* ロゴの丸に呼応する黄色の円 */
  content: "";
  position: absolute;
  top: -140px;
  right: -120px;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: var(--yellow);
  opacity: 0.13;
}
.hero__photo {
  position: absolute;
  inset: 0 0 0 auto;
  width: 46%;
}
.hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 34%;
}
.hero__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    var(--ink) 0%,
    rgba(22, 22, 14, 0.72) 34%,
    rgba(22, 22, 14, 0.15) 100%
  );
}
/* ヒーロー写真の説明（何の工程かを明記する） */
.hero__photoCap {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 2;
  font-size: var(--fs-label);
  font-weight: 700;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.72);
  border-left: 3px solid var(--yellow);
  padding: 6px 14px;
  border-radius: 0 var(--radius) var(--radius) 0;
}

.hero__inner {
  position: relative;
  z-index: 1;
  width: min(100% - 40px, var(--wrap));
  margin-inline: auto;
  padding: 56px 0;
  max-width: 100%;
}
.hero__area {
  display: inline-block;
  font-size: var(--fs-label);
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--ink);
  background: var(--yellow);
  padding: 5px 14px;
  border-radius: 100px;
}
.hero__copy {
  margin-top: 22px;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 900;
  font-size: clamp(28px, 4.4vw, 46px);
  line-height: 1.42;
  letter-spacing: 0.01em;
}
.hero__copy span {
  display: block;
}
.hero__copy span:last-child {
  color: var(--yellow);
}
.hero__lead {
  margin-top: 20px;
  max-width: 30em;
  line-height: 1.9;
}
.hero__actions {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.hero__badges {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.hero__badges li {
  font-size: var(--fs-label);
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 100px;
  padding: 5px 14px;
}

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: var(--radius);
  padding: 14px 28px;
  font-weight: 700;
  font-size: var(--fs-body);
}
.btn--tel {
  background: var(--yellow);
  color: var(--ink);
  line-height: 1.3;
}
.btn__label {
  font-size: var(--fs-label);
}
.btn__num {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 900;
  font-size: 28px;
  letter-spacing: 0.01em;
}
.btn--ghost {
  border: 2px solid rgba(255, 255, 255, 0.6);
  color: #ffffff;
}
.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.12);
}

/* ---------- セクション共通 ---------- */
.section {
  padding: 72px 0;
}
.section--greeting {
  background: var(--paper);
}
.section--paint {
  background: var(--paper-tint);
}
.section--parts {
  background: var(--paper);
}
.section--gallery {
  background: var(--paper-tint);
}
.section--company {
  background: var(--paper);
}

.section--price {
  background: var(--green-deep);
  color: #ffffff;
}
.section--contact {
  background: var(--ink);
  color: #ffffff;
}

/* 見出し＝刷毛のストローク（ロゴのモチーフ） */
.head {
  margin-bottom: 12px;
}
.head__ja {
  display: block;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 900;
  font-size: clamp(26px, 3.4vw, 34px);
  line-height: 1.4;
  letter-spacing: 0.02em;
}
.head__en {
  display: inline-block;
  margin-top: 10px;
  font-size: var(--fs-deco);
  letter-spacing: 0.18em;
  font-weight: 700;
  color: var(--green-dark);
  padding: 3px 0 6px;
  background: linear-gradient(var(--yellow), var(--yellow)) left bottom / 100%
    8px no-repeat;
}
.head--onDark .head__en {
  color: #ffffff;
}

.section__lead {
  margin: 18px 0 34px;
  max-width: 46em;
  line-height: 1.95;
}
.section--price .section__lead {
  color: rgba(255, 255, 255, 0.94);
}

/* ---------- ごあいさつ ---------- */
.greeting {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}
.greeting__lead {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 900;
  font-size: clamp(21px, 2.4vw, 26px);
  line-height: 1.6;
  margin-bottom: 22px;
}
.greeting__body p + p {
  margin-top: 18px;
}
.greeting__figure figcaption {
  margin-top: 10px;
  font-size: var(--fs-label);
  color: var(--ink-soft);
  line-height: 1.7;
}
.greeting__figure img {
  border-radius: var(--radius);
}

/* ---------- 料金 ---------- */
.plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.plan {
  background: #ffffff;
  color: var(--ink);
  border-radius: var(--radius);
  padding: 26px 18px 22px;
  text-align: center;
  border-top: 8px solid var(--yellow);
}
.plan__size {
  font-size: var(--fs-h4);
  font-weight: 700;
  line-height: 1.5;
}
.plan__price {
  margin: 8px 0 6px;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 900;
  color: var(--green-dark);
  line-height: 1.1;
}
.plan__price b {
  font-size: clamp(44px, 6vw, 60px);
}
.plan__price span {
  font-size: 22px;
  margin-left: 4px;
}
.plan__limit {
  display: inline-block;
  font-size: var(--fs-label);
  font-weight: 700;
  background: var(--ink);
  color: var(--yellow);
  padding: 3px 14px;
  border-radius: 100px;
}

.price-detail {
  margin-top: 26px;
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 20px;
}
.price-detail__col {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius);
  padding: 22px 24px;
}
.price-detail__title {
  font-size: var(--fs-h3);
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 10px;
  color: var(--yellow);
}
.price-detail__text {
  line-height: 1.9;
}
.price-detail__note {
  margin-top: 10px;
  font-size: var(--fs-label);
  color: #ffffff;
}
.price-detail__big {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 900;
  font-size: 34px;
  line-height: 1.3;
  color: var(--yellow);
  margin-bottom: 8px;
}
.price-say {
  margin-top: 24px;
  line-height: 1.95;
  border-left: 4px solid var(--yellow);
  padding-left: 18px;
}

/* ---------- ギミック：塗料のものさし ---------- */
.gauge {
  background: #ffffff;
  border: 2px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
}
.gauge__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}
.gauge__tab {
  font-family: inherit;
  font-size: var(--fs-body);
  font-weight: 700;
  line-height: 1.4;
  padding: 11px 18px;
  border: 2px solid var(--line);
  background: #ffffff;
  color: var(--ink-soft);
  border-radius: 100px;
  cursor: pointer;
}
.gauge__tab:hover {
  border-color: var(--green);
  color: var(--ink);
}
.gauge__tab.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--yellow);
}

.gauge__stage {
  padding-top: 4px;
}
.gauge__scale {
  position: relative;
  height: 22px;
  margin-bottom: 6px;
}
.gauge__scale span {
  position: absolute;
  transform: translateX(-50%);
  font-size: var(--fs-label);
  color: var(--ink-soft);
  white-space: nowrap;
}
.gauge__scale span:first-child {
  transform: none;
}
.gauge__scale span:last-child {
  transform: translateX(-100%);
}

.gauge__track {
  position: relative;
  height: 54px;
  background: repeating-linear-gradient(
    90deg,
    #f0efe7 0 1px,
    transparent 1px 33.33%
  );
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.gauge__bar {
  position: absolute;
  inset: 0 auto 0 0;
  width: 40%;
  background: linear-gradient(90deg, var(--green), var(--green-deep));
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 14px;
  transition: width 0.45s ease;
}
.gauge__barText {
  color: #ffffff;
  font-weight: 700;
  font-size: var(--fs-body);
  white-space: nowrap;
}

.gauge__readout {
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.gauge__cell {
  background: #ffffff;
  padding: 16px 14px;
}
.gauge__cell--calc {
  background: var(--yellow-soft);
}
.gauge__cellLabel {
  font-size: var(--fs-label);
  color: var(--ink-soft);
  line-height: 1.5;
}
.gauge__cellValue {
  margin-top: 4px;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 900;
  font-size: 21px;
  line-height: 1.4;
}
.gauge__cell--calc .gauge__cellValue {
  color: var(--green-dark);
}
.gauge__comment {
  margin-top: 16px;
  line-height: 1.9;
}

/* ---------- 塗れるところ ---------- */
.parts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.part {
  border: 2px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 10px;
  text-align: center;
  background: #ffffff;
  position: relative;
}
.part::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 12px;
  transform: translateX(-50%);
  width: 34px;
  height: 6px;
  border-radius: 100px;
  background: var(--yellow);
}
.part__name {
  display: inline-block;
  margin-top: 14px;
  font-size: var(--fs-h4);
  font-weight: 700;
  line-height: 1.5;
}
.parts__kinds {
  margin-top: 20px;
  font-size: var(--fs-label);
  color: var(--ink-soft);
  line-height: 1.8;
}

.waterproof {
  margin-top: 34px;
  background: var(--green-deep);
  color: #ffffff;
  border-radius: var(--radius);
  padding: 26px 28px;
  display: grid;
  grid-template-columns: minmax(0, auto) minmax(0, 1fr);
  gap: 12px 30px;
  align-items: center;
}
.waterproof__title {
  font-size: var(--fs-h3);
  font-weight: 700;
  line-height: 1.5;
  white-space: nowrap;
}
.waterproof__list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.waterproof__list li {
  font-size: var(--fs-body);
  font-weight: 700;
  background: rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 100px;
  padding: 6px 18px;
}

/* ---------- 仕事の様子 ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.gallery__item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
}
.gallery__cap {
  margin-top: 8px;
  font-size: var(--fs-label);
  font-weight: 700;
  color: var(--ink-soft);
}

/* ---------- 会社概要 ---------- */
.company {
  width: 100%;
  border-collapse: collapse;
  border-top: 1px solid var(--line);
}
.company th,
.company td {
  border-bottom: 1px solid var(--line);
  padding: 16px 18px;
  text-align: left;
  font-size: var(--fs-body);
  line-height: 1.8;
  vertical-align: top;
}
.company th {
  width: 12em;
  font-weight: 700;
  background: var(--paper-tint);
  white-space: nowrap;
}
.company td span {
  display: inline-block;
  margin-right: 1.2em;
}

/* ---------- お問い合わせ ---------- */
.contact__lead {
  margin-bottom: 26px;
  line-height: 1.95;
}
.contact__tel {
  display: inline-flex;
  flex-direction: column;
  text-decoration: none;
  background: var(--yellow);
  color: var(--ink);
  border-radius: var(--radius);
  padding: 20px 42px;
  text-align: center;
}
.contact__telLabel {
  font-size: var(--fs-label);
  font-weight: 700;
}
.contact__telNum {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 900;
  font-size: clamp(34px, 5vw, 46px);
  line-height: 1.2;
  letter-spacing: 0.01em;
}
.contact__addr {
  margin-top: 16px;
  font-size: var(--fs-body);
}

/* ---------- フッター ---------- */
.footer {
  background: var(--paper-tint);
  border-top: 4px solid var(--yellow);
  padding: 40px 0 110px;
  text-align: center;
}
.footer__logo {
  width: 240px;
  margin: 0 auto 18px;
}
.footer__line {
  font-size: var(--fs-body);
  line-height: 1.9;
}
.footer__copy {
  margin-top: 14px;
  font-size: var(--fs-label);
  color: var(--ink-soft);
  letter-spacing: 0.04em;
}
.footer__note {
  margin: 22px auto 0;
  max-width: 900px;
  font-size: var(--fs-note);
  line-height: 1.8;
  color: var(--ink-soft);
  text-align: left;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 16px;
}

/* ---------- スマホ用 固定電話バー ---------- */
.fixedbar {
  display: none;
  position: fixed;
  inset: auto 0 0 0;
  z-index: 40;
  background: var(--ink);
  padding: 8px 12px;
}
.fixedbar__tel {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: var(--yellow);
  color: var(--ink);
  text-decoration: none;
  border-radius: var(--radius);
  padding: 10px 12px;
}
.fixedbar__label {
  font-size: var(--fs-label);
  font-weight: 700;
}
.fixedbar__num {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 900;
  font-size: 26px;
  line-height: 1.2;
}

/* =========================================================
   タブレット
   ========================================================= */
@media (max-width: 1000px) {
  .greeting {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }
  .price-detail {
    grid-template-columns: minmax(0, 1fr);
  }
  .gauge__readout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .waterproof {
    grid-template-columns: minmax(0, 1fr);
  }
  .waterproof__title {
    white-space: normal;
  }
}

/* =========================================================
   スマートフォン
   ========================================================= */
@media (max-width: 767px) {
  .section {
    padding: 52px 0;
  }

  /* ヘッダー：メニューはヘッダー直下の全幅ドロップダウン（fixedにしない） */
  .header__logo img {
    width: 190px;
  }
  .header__contact {
    display: none;
  }
  .header__toggle {
    display: inline-flex;
  }

  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 30;
    background: var(--paper);
    border-top: 1px solid var(--line);
    border-bottom: 4px solid var(--yellow);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.16);
  }
  .nav.is-open {
    display: block;
  }
  .nav__list {
    display: block;
    width: 100%;
  }
  .nav__list li + li {
    border-top: 1px solid var(--line);
  }
  .nav__list a {
    padding: 16px 20px;
    white-space: normal;
  }

  /* ヒーロー：写真を上、文字を下に */
  .hero {
    display: block;
    min-height: 0;
  }
  .hero::before {
    width: 260px;
    height: 260px;
    top: -90px;
    right: -70px;
  }
  .hero__photo {
    position: relative;
    width: 100%;
    height: 250px;
  }
  .hero__photo::after {
    background: linear-gradient(
      180deg,
      rgba(22, 22, 14, 0.15) 0%,
      rgba(22, 22, 14, 0.55) 70%,
      var(--ink) 100%
    );
  }
  .hero__inner {
    padding: 26px 0 44px;
  }
  .hero__lead {
    max-width: none;
  }
  .hero__actions {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .btn {
    width: 100%;
  }

  .plans {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }
  .plan {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, auto);
    align-items: center;
    text-align: left;
    padding: 18px 20px;
  }
  .plan__price {
    margin: 0;
    grid-row: span 2;
    text-align: right;
  }
  .plan__limit {
    justify-self: start;
  }

  .parts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .gauge {
    padding: 18px 16px;
  }
  .gauge__tabs {
    gap: 8px;
  }
  .gauge__tab {
    padding: 10px 14px;
  }
  .gauge__readout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .company th,
  .company td {
    display: block;
    width: auto;
    white-space: normal;
  }
  .company th {
    border-bottom: 0;
    padding-bottom: 6px;
  }
  .company td {
    padding-top: 0;
  }

  .contact__tel {
    display: flex;
    padding: 18px 20px;
  }
  .company td span {
    display: block;
    margin-right: 0;
  }

  .footer {
    padding-bottom: 120px;
  }
  .footer__logo {
    width: 200px;
  }

  .fixedbar {
    display: block;
  }
}

@media (max-width: 380px) {
  .header__logo img {
    width: 160px;
  }
  .fixedbar__tel {
    gap: 8px;
  }
  .fixedbar__num {
    font-size: 23px;
  }
}

/* =========================================================
   追加：写真キャプションの注記／メールフォーム／地図
   ========================================================= */

/* 「イメージ写真」のタグ */
.figcap-tag {
  display: inline-block;
  margin-left: 8px;
  font-size: var(--fs-note);
  font-weight: 700;
  color: var(--ink-soft);
  background: var(--yellow-soft);
  border: 1px solid var(--yellow);
  border-radius: 100px;
  padding: 1px 10px;
  white-space: nowrap;
}

.paint-figure {
  margin-bottom: 30px;
}
.paint-figure img {
  width: 100%;
  aspect-ratio: 4 / 3;
  max-height: 340px;
  object-fit: cover;
  border-radius: var(--radius);
}
.paint-figure figcaption {
  margin-top: 10px;
  font-size: var(--fs-label);
  color: var(--ink-soft);
  line-height: 1.7;
}

.calc-note {
  margin-top: 22px;
  font-size: var(--fs-note);
  line-height: 1.8;
  color: var(--ink-soft);
}

/* ---------- メールフォーム ---------- */
.form {
  margin-top: 38px;
  background: #ffffff;
  color: var(--ink);
  border-radius: var(--radius);
  padding: 30px 32px;
}
.form__title {
  font-size: var(--fs-h3);
  font-weight: 700;
  line-height: 1.5;
}
.form__note {
  margin-top: 8px;
  line-height: 1.9;
}
.form__demo {
  margin-top: 14px;
  font-size: var(--fs-note);
  line-height: 1.8;
  color: var(--ink-soft);
  background: var(--yellow-soft);
  border-left: 4px solid var(--yellow);
  padding: 12px 16px;
  border-radius: 0 var(--radius) var(--radius) 0;
}
.form__row {
  margin-top: 22px;
}
.form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 20px;
}
.form__label {
  display: block;
  font-size: var(--fs-body);
  font-weight: 700;
  line-height: 1.6;
  margin-bottom: 8px;
}
.form__req {
  display: inline-block;
  margin-left: 10px;
  font-size: var(--fs-label);
  font-weight: 700;
  color: #ffffff;
  background: var(--green-deep);
  border-radius: 100px;
  padding: 1px 12px;
  vertical-align: 2px;
}
.form__input {
  width: 100%;
  font-family: inherit;
  font-size: var(--fs-body);
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper-tint);
  border: 2px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 14px;
}
.form__input::placeholder {
  color: #8a8878;
}
.form__input:focus {
  outline: 3px solid var(--yellow);
  outline-offset: 1px;
  border-color: var(--green-deep);
  background: #ffffff;
}
.form__input--area {
  resize: vertical;
}
.form__checks {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
}
.form__check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-body);
  border: 2px solid var(--line);
  border-radius: 100px;
  padding: 8px 18px;
  cursor: pointer;
}
.form__check input {
  width: 20px;
  height: 20px;
  accent-color: var(--green-deep);
}
.form__check:hover {
  border-color: var(--green);
}
.form__submit {
  margin-top: 28px;
  width: 100%;
  max-width: 360px;
  font-family: inherit;
  font-size: var(--fs-body);
  font-weight: 700;
  color: var(--ink);
  background: var(--yellow);
  border: 0;
  border-radius: var(--radius);
  padding: 16px 24px;
  cursor: pointer;
}
.form__submit:hover {
  background: #ffe947;
}
.form__result {
  margin-top: 14px;
  font-size: var(--fs-body);
  font-weight: 700;
  color: var(--green-dark);
  line-height: 1.7;
}

/* ---------- 地図 ---------- */
.map {
  margin-top: 38px;
  background: #ffffff;
  color: var(--ink);
  border-radius: var(--radius);
  padding: 30px 32px;
}
.map__frame {
  margin-top: 16px;
  border-radius: var(--radius);
  overflow: hidden;
  line-height: 0;
}
.map__frame iframe {
  width: 100%;
  height: 380px;
  border: 0;
}

@media (max-width: 767px) {
  .form,
  .map {
    padding: 22px 18px;
  }
  .form__grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .form__submit {
    max-width: none;
  }
  .map__frame iframe {
    height: 300px;
  }
  .paint-figure img {
    max-height: 220px;
  }
}
