/* 特定商取引法について */

main {
  /* 共通ヘッダー／フッターの色を上書きしないよう、ページ内だけに置く */
  --ink: #2a2c28;
  --green: #1d6a45;
  --green-deep: #0f5136;
  --gold: #c4a35c;
  --gold-deep: #b89645;
  --line: #e6e3db;
  --serif: "Noto Serif JP", "Yu Mincho", "Hiragino Mincho ProN", serif;
  --sans: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
  --wrap: 1040px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 15px;
  line-height: 1.85;
  letter-spacing: 0.02em;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

/* ヒーロー */
.hero::after { content: none; }

.hero {
  position: relative;
  overflow: hidden;
  min-height: 360px;
  background: #f7f6f1;
}

.hero__photo {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 52%;
  background: url("hero-house.jpg") center 42% / cover no-repeat;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 28%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 28%);
  pointer-events: none;
}

.hero__leaf {
  position: absolute;
  z-index: 1;
  width: auto;
  opacity: 1;
  filter: none;
  pointer-events: none;
  user-select: none;
}

.hero__leaf--left {
  left: -48px;
  bottom: -28px;
  width: 280px;
}

.hero__leaf--right {
  right: -20px;
  top: -30px;
  width: 168px;
  opacity: 0.95;
}

.hero__inner {
  position: relative;
  z-index: 2;
  width: min(var(--wrap), calc(100% - 48px));
  margin: 0 auto;
  padding: 22px 0 64px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 28px;
  color: #a3a69f;
  font-size: 0.72rem;
  letter-spacing: 0.02em;
}

.breadcrumb a:hover { color: #9a7433; }

.breadcrumb [aria-current="page"] { color: #8d9089; }

.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 12px;
  color: #c9a14b;
  font-family: var(--serif);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.12em;
}

.hero__eyebrow span {
  width: 84px;
  height: 1px;
  background: #c9a14b;
}

.hero h1 {
  margin: 0;
  color: #1c1c1c;
  font-family: var(--serif);
  font-size: clamp(2rem, 3.4vw, 2.7rem);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.06em;
}

.hero__lead {
  margin: 6px 0 0;
  color: #242424;
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.06em;
}

.hero__sub {
  margin: 14px 0 0;
  color: #4a4e49;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
}

.hero__date {
  margin: 8px 0 0;
  color: #9a9d96;
  font-size: 0.74rem;
}

/* 共通の節 */
.block {
  width: min(var(--wrap), calc(100% - 48px));
  margin: 0 auto;
  padding: 54px 0 20px;
  text-align: center;
}

.block__mark {
  width: 28px;
  height: 28px;
  margin: 0 auto 10px;
}

.block h2,
.more h2,
.consult h2 {
  margin: 0;
  color: #1c1c1c;
  font-family: var(--serif);
  font-size: clamp(1.45rem, 2.2vw, 1.75rem);
  font-weight: 600;
  letter-spacing: 0.08em;
}

.block__lead {
  margin: 10px 0 0;
  color: #6a6e68;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
}

/* 3つのカード */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  text-align: center;
}

.cards li {
  padding: 32px 22px 26px;
  background: #fff;
  border: 1px solid #b7c9b4;
  border-radius: 10px;
}

.cards svg {
  width: 74px;
  height: 74px;
  margin: 0 auto 12px;
  color: #2a4536;
}

.cards h3 {
  margin: 0;
  color: #1c1c1c;
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.cards h3::after {
  content: "";
  display: block;
  width: 42px;
  height: 1px;
  margin: 12px auto 0;
  background: #c4a35c;
}

.cards p {
  margin: 12px 0 0;
  color: #5c615c;
  font-size: 0.86rem;
  line-height: 1.85;
}

/* クーリング・オフ */
.block--cooling { padding-top: 48px; }

.panel {
  margin-top: 26px;
  padding: 22px 36px 26px;
  text-align: left;
  background: #f3f6ef;
  border-radius: 8px;
}

.panel__badge {
  display: inline-block;
  margin: 0 0 18px;
  padding: 6px 14px;
  color: #fff;
  background: #24503c;
  border-radius: 4px;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  line-height: 1.5;
}

.panel__split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
}

.panel__days,
.panel__notice { text-align: center; }

.panel__days {
  padding: 4px 28px 8px 12px;
  border-right: 1px solid #d4c4a4;
}

.panel__notice { padding: 4px 12px 8px 28px; }

.panel__days > p:first-child {
  margin: 0;
  color: #3a3e39;
  font-size: 1rem;
  letter-spacing: 0.04em;
}

.panel__notice > p:first-child {
  margin: 0;
  color: #1c1c1c;
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.45;
}

.panel__notice > p:first-child::after {
  content: "";
  display: block;
  width: 52px;
  height: 2px;
  margin: 10px auto 0;
  background: #c4a15a;
}

.panel__term {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 8px;
  margin: 2px 0 0;
  color: #1c1c1c;
  font-family: var(--serif);
  font-weight: 700;
  letter-spacing: 0.04em;
}

.panel__term span {
  font-size: 2.15rem;
  font-weight: 700;
  line-height: 1;
}

.panel__term strong {
  color: #c4a15a;
  font-size: 4.5rem;
  font-weight: 600;
  line-height: 0.85;
  letter-spacing: 0;
}

.panel__notice > p:last-child {
  margin: 8px 0 0;
  color: #6a6e68;
  font-size: 0.9rem;
}

.checks {
  display: grid;
  gap: 12px;
  width: min(760px, 100%);
  margin: 22px auto 0;
  padding: 0 8px;
  list-style: none;
  text-align: left;
}

.checks li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #2c2c2c;
  font-size: 0.95rem;
  line-height: 1.7;
}

.checks svg {
  width: 24px;
  height: 24px;
  margin-top: 1px;
  flex: 0 0 auto;
  color: #c4a15a;
}

.panel__notes {
  width: min(760px, 100%);
  margin: 14px auto 0;
  padding: 0 8px 0 42px;
  list-style: none;
  text-align: left;
  color: #9a9d98;
  font-size: 0.78rem;
  line-height: 1.75;
}

.panel__notes li { position: relative; padding-left: 1.2em; }

.panel__notes li::before {
  content: "※";
  position: absolute;
  left: 0;
}

/* さらに詳しく */
.more {
  position: relative;
  overflow: hidden;
  width: min(var(--wrap), calc(100% - 48px));
  margin: 48px auto 0;
  padding: 34px 28px 38px;
  text-align: center;
  background: #f6f5ef;
  border-radius: 6px;
}

.more h2,
.more p,
.more__mark,
.more__btn { position: relative; z-index: 1; }

.more__leaf {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  user-select: none;
}

.more__leaf--left {
  left: -56px;
  top: 50%;
  width: 360px;
  transform: translateY(-48%);
}

.more__leaf--right {
  right: -28px;
  top: 50%;
  width: 250px;
  transform: translateY(-52%);
}

.more__mark {
  width: 28px;
  height: 28px;
  margin: 0 auto 6px;
}

.more h2 { font-weight: 700; }

.more p {
  margin: 8px 0 0;
  color: #5a5e58;
  font-size: 0.92rem;
  letter-spacing: 0.06em;
}

.more__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  width: 470px;
  max-width: 92%;
  min-height: 54px;
  margin-top: 18px;
  padding: 12px 28px;
  color: #fff;
  background: #285139;
  border-radius: 4px;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.02rem;
  letter-spacing: 0.06em;
}

.more__btn:hover { opacity: 0.92; }

.more__btn svg { width: 20px; height: 20px; flex: none; }

/* ご相談 */
.consult {
  width: min(var(--wrap), calc(100% - 48px));
  margin: 0 auto;
  padding: 42px 0 56px;
  text-align: center;
}

.consult h2 {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.consult h2 img { width: 22px; height: 22px; }

.consult__bar {
  display: grid;
  grid-template-columns: 31% 1fr auto;
  align-items: center;
  min-height: 96px;
  margin-top: 16px;
  padding: 22px 46px 22px 0;
  background: #fff;
  border: 1px solid #e6e2d8;
  border-radius: 6px;
}

.consult__name {
  position: relative;
  margin: 0;
  padding: 0 16px;
  color: #1c1c1c;
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 500;
  letter-spacing: 0.14em;
}

.consult__name::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  width: 1px;
  height: 50px;
  background: #e1decd;
  transform: translateY(-50%);
}

.consult__tel {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: #1c1c1c;
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.consult__tel svg {
  width: 28px;
  height: 28px;
  color: #b0884c;
}

.consult__mail {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 252px;
  min-height: 50px;
  padding: 0 18px;
  color: #fff;
  background: #b0884c;
  border-radius: 4px;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.12em;
}

.consult__mail:hover { background: #a07c43; }

.consult__mail svg { width: 18px; height: 18px; flex: none; }

@media (max-width: 980px) {
  .cards { grid-template-columns: 1fr; gap: 14px; }

  .consult__bar {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 8px 16px 16px;
    gap: 12px;
  }

  .consult__name {
    padding: 12px 8px;
    border-bottom: 1px solid #e1decd;
  }

  .consult__name::after { display: none; }

  .consult__mail { width: 100%; }
}

@media (max-width: 720px) {
  .hero__inner { width: min(100% - 32px, var(--wrap)); }

  .hero { min-height: 0; }
  .hero__photo,
  .hero__leaf--right { display: none; }
  .hero h1 { font-size: 1.7rem; }
  .hero__lead { font-size: 1.12rem; }
  .hero__inner { padding-bottom: 48px; }

  .block,
  .consult,
  .more { width: min(100% - 32px, var(--wrap)); }

  .panel { padding: 22px 16px 16px; }

  .panel__split { grid-template-columns: 1fr; gap: 16px; }

  .panel__days {
    padding: 0 0 16px;
    border-right: 0;
    border-bottom: 1px solid #d7c7a4;
  }

  .panel__notice { padding: 0; }

  .panel__notice > p:first-child { font-size: 1.15rem; }
  .panel__term span { font-size: 1.55rem; }
  .panel__term strong { font-size: 3.2rem; }

  .more__btn { width: 100%; }
  .more__leaf--left { width: 180px; left: -70px; }
  .more__leaf--right { width: 120px; right: -40px; }

}
