@charset "UTF-8";

/* ============================================================
   加藤緑地 様 ご提案用サンプル（現行ホームページの刷新版）

   現行サイトの世界観を引き継ぐ：
   - 主色は現行サイトの実測色 #008D56（青みの深緑）
   - アクセントは現行の橙 #ED5829（現行の追従ボタンの色）
   - 見出しは明朝（現行は UD明朝 で全文を組んでいた）
   - 下端を円弧で切り取るヒーロー／濃緑の帯／白カードの左右交互ブロック
   引き継がずに変えたところ：
   - 本文はゴシック18px（長文の明朝は高齢の施主に読みにくいため）
   - スマホでの組み直し、電話リンク、見出し階層
   ============================================================ */

:root {
  /* 文字サイズ（03_レビューゲートの18px仕様＝正本） */
  --fs-body: 18px;
  --fs-lead: 20px;
  --fs-h3: 24px;
  --fs-h4: 20px;
  --fs-label: 15px;
  --fs-note: 14px;
  --fs-deco: 15px;

  /* 配色（現行サイトの実測） */
  --green: #008d56;
  --green-d: #007044;
  --green-dd: #005434;
  --green-pale: #edf5f1;
  --orange: #ed5829;
  --ink: #242323;
  --ink-soft: #5a5856;
  --line: #dce5e0;
  --paper: #ffffff;

  --wrap: 1120px;
  --read: 720px;

  color-scheme: only light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family:
    "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP",
    "Yu Gothic Medium", "Yu Gothic", Meiryo, sans-serif;
  font-size: var(--fs-body);
  line-height: 1.9;
}

img,
svg {
  max-width: 100%;
}
img {
  height: auto;
  display: block;
}
a {
  color: var(--green-d);
}

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

/* 明朝は「見せる文字」だけに使う */
.mincho,
h1,
h2,
h3 {
  font-family:
    "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", "Noto Serif JP", serif;
  font-weight: 500;
  line-height: 1.5;
  margin: 0;
}

.sec {
  padding: 84px 0;
}

/* 見出し：現行の中央寄せ明朝を踏襲 */
.sec-head {
  text-align: center;
  margin: 0 0 44px;
  font-size: clamp(27px, 4.2vw, 36px);
  letter-spacing: 0.06em;
  color: var(--green-d);
}
.sec-head::after {
  content: "";
  display: block;
  width: 34px;
  height: 1px;
  background: currentColor;
  margin: 20px auto 0;
  opacity: 0.55;
}
.sec-head.on-green {
  color: #fff;
}

/* ── 提案専用の注釈（濃色ベタにしない＝白いヘッダーが顔に見えるように） ── */
.proposal-note {
  background: var(--green-pale);
  border-bottom: 1px solid var(--line);
  color: #3c4a43;
  font-size: var(--fs-note);
  line-height: 1.75;
  padding: 11px 0;
}
.proposal-note p {
  margin: 0;
}
.proposal-note p + p {
  margin-top: 5px;
  color: #5a6862;
}
.proposal-note b {
  color: var(--green-dd);
}

/* ── ヘッダー（現行どおり白地・社章＋社名・電話） ── */
.header {
  background: rgba(255, 255, 255, 0.96);
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
}
.header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 13px 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 13px;
  text-decoration: none;
  color: inherit;
}
.brand__mark {
  width: 52px;
  height: 52px;
  color: var(--green);
  flex: none;
}
.brand__name {
  font-family: "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-size: 27px;
  letter-spacing: 0.14em;
  line-height: 1.2;
  display: block;
  color: var(--green-d);
}
.brand__sub {
  display: block;
  font-size: var(--fs-label);
  color: var(--ink-soft);
  letter-spacing: 0.04em;
}
.header__tel {
  text-align: right;
  line-height: 1.3;
}
.header__tel .num {
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 30px;
  letter-spacing: 0.01em;
  color: var(--ink);
  text-decoration: none;
  display: block;
}
.header__tel .cap {
  font-size: var(--fs-label);
  color: var(--ink-soft);
  display: block;
}

.nav {
  border-top: 1px solid var(--line);
}
.nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}
.nav a {
  display: block;
  padding: 13px 20px;
  color: var(--ink);
  text-decoration: none;
  font-size: var(--fs-body);
}
.nav a:hover {
  color: var(--green);
}
.menu-btn {
  display: none;
}

/* ── ヒーロー（現行どおり下端を円弧で切り取る） ── */
.hero {
  position: relative;
  background: #1b231e;
  overflow: hidden;
}
.hero__media {
  position: relative;
}
.hero__img {
  width: 100%;
  min-height: 460px;
  max-height: 74vh;
  object-fit: cover;
  object-position: 72% 52%;
}
/* 下端の円弧 */
.hero__arc {
  position: absolute;
  left: 50%;
  bottom: -1px;
  transform: translateX(-50%);
  width: 160%;
  height: 120px;
  background: var(--paper);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}
.hero__body {
  position: absolute;
  inset: 0 0 60px;
  display: grid;
  place-items: center;
  /* 松が帯の右に見えるよう、帯を左へ寄せる */
  text-align: center;
  padding: 0 20px;
}
.hero__panel {
  background: rgba(0, 141, 86, 0.82);
  color: #fff;
  padding: 28px clamp(22px, 4vw, 48px) 32px;
  max-width: 640px;
  margin-right: clamp(0px, 26vw, 380px);
}
.hero__catch {
  font-size: clamp(24px, 4.2vw, 40px);
  letter-spacing: 0.06em;
  margin: 0;
}
.hero__rule {
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.5);
  margin: 22px 0;
}
.hero__name {
  font-family: "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-size: clamp(30px, 5.4vw, 50px);
  letter-spacing: 0.2em;
  display: block;
  line-height: 1.3;
}
.hero__work {
  display: block;
  margin-top: 14px;
  font-size: clamp(15px, 2.1vw, 19px);
  letter-spacing: 0.05em;
  line-height: 1.8;
}

/* ── ごあいさつ（社章＋明朝の大きな一文＝現行の見せ場） ── */
.greet {
  padding-top: 26px;
  text-align: center;
}
.greet__mark {
  width: 86px;
  height: 86px;
  color: var(--green);
  margin: 0 auto 26px;
}
.greet__lead {
  font-size: clamp(24px, 3.6vw, 36px);
  line-height: 1.75;
  letter-spacing: 0.05em;
  margin: 0 0 34px;
}
.greet__body {
  text-align: left;
}
.greet__body p {
  margin: 0 0 1.2em;
}
.greet__body p:last-of-type {
  margin-bottom: 0;
}
.src-note {
  display: block;
  font-size: var(--fs-note);
  color: var(--ink-soft);
  margin-top: 24px;
  text-align: left;
}

/* ── 丸写真3枚（現行どおり） ── */
.circles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 3vw, 34px);
  margin-top: 56px;
}
.circles figure {
  margin: 0;
  text-align: center;
}
.circles img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 50%;
  border: 6px solid #fff;
  box-shadow: 0 3px 14px rgba(0, 0, 0, 0.13);
}
.circles figcaption {
  margin-top: 14px;
  font-size: var(--fs-label);
  color: var(--ink-soft);
  letter-spacing: 0.04em;
}

/* ── 主な事業内容（濃緑の帯＋白カードの左右交互＝現行の骨格） ── */
.service {
  background: var(--green);
  padding: 84px 0 90px;
}
.svc-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  background: var(--paper);
  margin-bottom: 46px;
}
.svc-row:last-of-type {
  margin-bottom: 34px;
}
.svc-row__text {
  padding: clamp(28px, 4vw, 52px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.svc-row h3 {
  font-size: clamp(23px, 2.8vw, 28px);
  color: var(--green-d);
  letter-spacing: 0.09em;
  margin-bottom: 20px;
}
.svc-row p {
  margin: 0;
}
.svc-row__media {
  min-height: 300px;
}
.svc-row__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.svc-row--flip .svc-row__text {
  order: 2;
}
.svc-row--flip .svc-row__media {
  order: 1;
}
.img-note {
  font-size: var(--fs-note);
  color: #ddeee6;
  margin: 30px 0 0;
  text-align: center;
}

/* ── 切る枝と、残す枝（新設のギミック） ── */
.prune {
  background: var(--green-pale);
}
.prune__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 52px);
  align-items: center;
}
.prune__stage {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 10px 10px 4px;
}
.tree {
  width: 100%;
  height: auto;
  display: block;
}
.tree .br,
.tree .trunk {
  fill: #4a4034;
  stroke: none;
}
.tree .soil {
  stroke: #4a4034;
  stroke-width: 1.5;
  fill: none;
  opacity: 0.28;
}
.tree .crown {
  fill: var(--green);
  opacity: 0.15;
  transition: opacity 0.45s ease;
}
.tree .crown--after {
  opacity: 0;
}
.is-after .tree .crown--before {
  opacity: 0;
}
.is-after .tree .crown--after {
  opacity: 0.15;
}
.tree .cut {
  transition:
    fill 0.35s ease,
    opacity 0.45s ease;
}
.is-after .tree .cut {
  opacity: 0;
}
.is-mark .tree .cut {
  fill: var(--orange);
}

.prune__switch {
  display: flex;
  gap: 8px;
  margin: 0 0 16px;
}
.prune__switch button {
  flex: 1;
  font: inherit;
  font-size: var(--fs-body);
  padding: 13px 6px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink-soft);
  cursor: pointer;
  line-height: 1.4;
}
.prune__switch button[aria-pressed="true"] {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}
.prune__caption {
  text-align: center;
  font-size: var(--fs-label);
  color: var(--ink-soft);
  margin: 8px 0 0;
  min-height: 3em;
}
.prune__quote {
  margin: 0 0 26px;
  padding: 22px 26px;
  background: var(--paper);
  border-left: 4px solid var(--green);
  font-family: "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-size: var(--fs-lead);
  line-height: 1.85;
}
.prune__quote p {
  margin: 0;
}
.prune__list {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
}
.prune__list li {
  padding: 14px 0;
  border-top: 1px solid var(--line);
}
.prune__list b {
  font-size: var(--fs-h4);
  font-weight: 600;
  display: block;
  color: var(--green-d);
  font-family: "Hiragino Mincho ProN", "Yu Mincho", serif;
}
.prune__note {
  font-size: var(--fs-note);
  color: var(--ink-soft);
  margin-top: 22px;
}

/* ── 施工事例 ── */
.flow-sec,
.about {
  background: var(--green-pale);
}

.works__box {
  background: var(--green-pale);
  border: 1px solid var(--line);
  padding: clamp(28px, 4vw, 46px);
}
.works__box p {
  margin: 0 0 1em;
}
.works__box p:last-child {
  margin-bottom: 0;
}
.ba {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 18px;
  margin: 26px 0 24px;
}
.ba figure {
  margin: 0;
}
.ba__slot {
  aspect-ratio: 4 / 3;
  background: repeating-linear-gradient(
    -45deg,
    #e4eee8 0 10px,
    #edf5f1 10px 20px
  );
  border: 1px dashed #b9cfc4;
  display: grid;
  place-items: center;
  color: #6e8579;
  font-size: var(--fs-label);
}
.ba figcaption {
  margin-top: 10px;
  text-align: center;
  font-size: var(--fs-label);
  color: var(--ink-soft);
}

/* ── ご相談の流れ ── */
.flow {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: f;
}
.flow li {
  counter-increment: f;
  position: relative;
  padding: 0 0 30px 68px;
  border-left: 1px solid var(--line);
  margin-left: 21px;
}
.flow li:last-child {
  border-left-color: transparent;
  padding-bottom: 0;
}
.flow li::before {
  content: counter(f);
  position: absolute;
  left: -21px;
  top: -3px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  display: grid;
  place-items: center;
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 19px;
}
.flow h3 {
  font-size: var(--fs-h4);
  margin-bottom: 3px;
  color: var(--green-d);
}
.flow p {
  margin: 0;
}

/* ── 対応エリア ── */
.area__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
}
.area__tags li {
  border: 1px solid var(--line);
  padding: 8px 18px;
  font-size: var(--fs-body);
}
.area__tags li.is-main {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
}

/* ── 会社概要 ── */
.about table {
  width: 100%;
  border-collapse: collapse;
}
.about th,
.about td {
  text-align: left;
  padding: 17px 18px;
  border-bottom: 1px solid var(--line);
  font-size: var(--fs-body);
  vertical-align: top;
  font-weight: 400;
}
.about th {
  width: 11em;
  color: var(--green-d);
  font-weight: 600;
}
.about tr:first-child th,
.about tr:first-child td {
  border-top: 1px solid var(--line);
}

/* ── お問い合わせ（現行どおり中央・電話を大きく） ── */
.contact {
  text-align: center;
  background: var(--green-pale);
}
.contact__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  color: var(--green);
}
.contact p {
  margin: 0 auto;
  max-width: 34em;
}
.tel-big {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin: 24px 0 6px;
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(38px, 7vw, 56px);
  letter-spacing: 0.01em;
  color: var(--ink);
  text-decoration: none;
  line-height: 1.15;
}
.tel-big svg {
  width: 0.72em;
  height: 0.72em;
  color: var(--orange);
  flex: none;
}
.contact .cap {
  font-size: var(--fs-label);
  color: var(--ink-soft);
}

/* ── フッター ── */
.footer {
  background: var(--green-dd);
  color: #cfe3d9;
  font-size: var(--fs-note);
  padding: 40px 0 44px;
}
.footer__id {
  color: #fff;
  font-size: var(--fs-body);
  margin: 0 0 8px;
  letter-spacing: 0.04em;
}
.footer p {
  margin: 0 0 10px;
}
.footer .copy {
  font-family: "Helvetica Neue", Arial, sans-serif;
  letter-spacing: 0.05em;
}
.footer .disc {
  line-height: 1.75;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.telbar {
  display: none;
}

/* ============================================================
   スマホ・タブレット
   ============================================================ */
@media (max-width: 940px) {
  .svc-row {
    grid-template-columns: minmax(0, 1fr);
  }
  .svc-row--flip .svc-row__text {
    order: 2;
  }
  .svc-row--flip .svc-row__media {
    order: 1;
  }
  .svc-row__media {
    min-height: 0;
    aspect-ratio: 3 / 2;
  }
  .prune__grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 780px) {
  body {
    padding-bottom: 74px;
  }
  .sec {
    padding: 56px 0;
  }
  .service {
    padding: 56px 0 60px;
  }

  .brand__mark {
    width: 42px;
    height: 42px;
  }
  .brand__name {
    font-size: 22px;
  }
  .header__tel {
    display: none;
  }

  .menu-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font: inherit;
    font-size: var(--fs-body);
    color: var(--ink);
    background: transparent;
    border: 1px solid var(--line);
    padding: 9px 14px;
    cursor: pointer;
    line-height: 1;
  }
  .menu-btn .bars {
    width: 20px;
    height: 14px;
    position: relative;
    display: block;
    flex: none;
  }
  .menu-btn .bars::before,
  .menu-btn .bars::after,
  .menu-btn .bars i {
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--green-d);
  }
  .menu-btn .bars::before {
    top: 0;
  }
  .menu-btn .bars i {
    top: 6px;
  }
  .menu-btn .bars::after {
    bottom: 0;
  }

  /* ヘッダー直下の全幅ドロップダウン（fixedにしない） */
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--paper);
    border-bottom: 3px solid var(--green);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
  }
  .nav.is-open {
    display: block;
  }
  .nav ul {
    display: block;
  }
  .nav a {
    padding: 15px 20px;
    border-bottom: 1px solid var(--line);
  }

  .hero__img {
    min-height: 500px;
    max-height: none;
  }
  .hero__arc {
    height: 64px;
  }
  .hero__body {
    inset: 0 0 40px;
  }
  .hero__panel {
    padding: 24px 20px 26px;
    /* スマホでは帯を寄せない（寄せると幅が足りず、キャッチが泣き別れる） */
    margin-right: 0;
    max-width: 100%;
  }

  .greet__mark {
    width: 68px;
    height: 68px;
  }
  .circles {
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;
    max-width: 320px;
    margin-inline: auto;
  }
  .flow li {
    padding-left: 58px;
  }
  .about th,
  .about td {
    display: block;
    width: auto;
  }
  .about th {
    border-bottom: 0;
    padding-bottom: 0;
  }
  .ba {
    grid-template-columns: minmax(0, 1fr);
  }

  .telbar {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 80;
    background: var(--orange);
    box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.25);
  }
  .telbar a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 10px;
    color: #fff;
    text-decoration: none;
    font-size: 22px;
    font-family: "Helvetica Neue", Arial, sans-serif;
  }
  .telbar .cap {
    font-family: "Hiragino Sans", sans-serif;
    font-size: var(--fs-label);
  }
}

/* 狭い画面ではキャッチの字を詰める（詰めないと「おまかせくださ／い！」と泣き別れる） */
@media (max-width: 400px) {
  .hero__catch {
    font-size: 21px;
    letter-spacing: 0.02em;
  }
  .hero__panel {
    padding: 22px 16px 24px;
  }
}

/* iPhone SE 相当（320px）はさらに詰める */
@media (max-width: 340px) {
  .hero__catch {
    font-size: 19px;
    letter-spacing: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tree .cut,
  .tree .crown {
    transition: none;
  }
}
