/* =========================================
   三宅ガーデンサービス LP
   緑と白を基調にしたシンプルなスタイル
   ========================================= */

:root {
  --green-900: #163a26;
  --green-800: #1b4d31;
  --green-700: #1f6b3e;
  --green-500: #3f9a5f;
  --green-200: #cfe6d5;
  --green-100: #e7f3ea;
  --green-50: #f4faf5;
  --white: #ffffff;
  --text: #1f2d25;
  --text-sub: #45564c;
  --line: #0a7a3a;        /* 白文字とのコントラスト比 約5.4:1 */
  --line-hover: #08652f;
  --accent: #fff3c4;
  --radius: 14px;
  --shadow: 0 4px 16px rgba(22, 58, 38, .08);
  --sticky-h: 76px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic UI", "Yu Gothic", Meiryo, sans-serif;
  font-size: 17px;
  line-height: 1.85;
  overflow-wrap: break-word;
  padding-bottom: var(--sticky-h);
}

h1, h2, h3 { line-height: 1.45; margin: 0; }
p { margin: 0 0 .8em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; }
a { color: var(--green-700); }
strong { color: var(--green-900); }

:focus-visible {
  outline: 3px solid #f2b705;
  outline-offset: 3px;
  border-radius: 6px;
}

.container {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 16px;
}

.visually-hidden,
.svg-defs {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: 8px; top: -60px;
  z-index: 100;
  background: var(--green-900);
  color: var(--white);
  padding: 10px 16px;
  border-radius: 8px;
}
.skip-link:focus { top: 8px; }

.small { font-size: .9rem; color: var(--text-sub); }
.br-sp { display: inline; }

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  font-weight: 700;
  text-decoration: none;
  border-radius: 999px;
  transition: background-color .2s, transform .2s;
  text-align: center;
  line-height: 1.4;
}
.btn-line { background: var(--line); color: var(--white); }
.btn-line:hover { background: var(--line-hover); }
.btn-line:active { transform: translateY(1px); }
.btn-icon { width: 1.4em; height: 1.4em; flex-shrink: 0; fill: currentColor; color: currentColor; }

.btn-sm { font-size: .9rem; padding: 8px 14px; min-height: 44px; }
.btn-lg {
  font-size: 1.05rem;
  padding: 16px 24px;
  min-height: 60px;
  width: 100%;
  max-width: 420px;
  box-shadow: 0 6px 16px rgba(10, 122, 58, .25);
}
.btn-block { width: 100%; font-size: 1rem; padding: 12px 16px; min-height: 54px; }

/* ---------- ヘッダー ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid var(--green-100);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 60px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--green-900);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  min-width: 0;
}
.brand-mark { width: 24px; height: 24px; color: var(--green-500); flex-shrink: 0; }
.header-cta { display: none; }

/* ---------- ファーストビュー ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 100% 0%, var(--green-100) 0 38%, transparent 38.5%),
    linear-gradient(180deg, var(--green-50), var(--white));
  padding: 48px 0 56px;
}
.hero-inner { position: relative; z-index: 1; }
.hero-area {
  display: inline-block;
  background: var(--white);
  border: 1px solid var(--green-200);
  color: var(--green-800);
  font-weight: 700;
  font-size: .9rem;
  padding: 4px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.hero-title {
  font-size: 1.85rem;
  color: var(--green-900);
  letter-spacing: .02em;
  margin-bottom: 16px;
}
.hero-lead { color: var(--text); max-width: 36em; }
.hero-tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0 28px;
}
.hero-tags li {
  background: var(--green-700);
  color: var(--white);
  font-size: .9rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 999px;
}
.cta-note { margin-top: 10px; font-size: .9rem; color: var(--text-sub); }

.hero-deco .deco { position: absolute; pointer-events: none; }
.deco-1 { width: 120px; height: 120px; right: -24px; top: 24px; color: var(--green-200); transform: rotate(20deg); }
.deco-2 { width: 64px; height: 64px; right: 70px; top: 120px; color: var(--green-500); opacity: .35; transform: rotate(-30deg); }
.deco-3 { width: 90px; height: 90px; right: 8px; bottom: 12px; color: var(--green-500); opacity: .3; }

/* ---------- セクション共通 ---------- */
.section { padding: 56px 0; }
.section-tint { background: var(--green-50); }
.section-title {
  font-size: 1.4rem;
  color: var(--green-900);
  text-align: center;
  margin-bottom: 28px;
  position: relative;
  padding-bottom: 14px;
}
.section-title::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 18px;
  height: 18px;
  transform: translateX(-50%) rotate(45deg);
  border-radius: 0 100% 0 100%;
  background: var(--green-500);
}
.section-lead { text-align: center; margin-bottom: 24px; }

.note-box {
  background: var(--white);
  border: 1px solid var(--green-200);
  border-left: 5px solid var(--green-500);
  border-radius: 10px;
  padding: 16px 18px;
  margin-top: 24px;
  font-size: .95rem;
}

/* ---------- お困りごと ---------- */
.worry-list {
  list-style: none;
  display: grid;
  gap: 12px;
  max-width: 640px;
  margin: 0 auto;
}
.worry-list li {
  position: relative;
  background: var(--green-50);
  border-radius: 10px;
  padding: 12px 16px 12px 48px;
}
.worry-list li::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 50%;
  width: 20px;
  height: 20px;
  margin-top: -10px;
  border-radius: 50%;
  background: var(--green-700);
}
.worry-list li::after {
  content: "";
  position: absolute;
  left: 22px;
  top: 50%;
  width: 8px;
  height: 4px;
  margin-top: -4px;
  border-left: 2px solid var(--white);
  border-bottom: 2px solid var(--white);
  transform: rotate(-45deg);
}
.worry-after {
  text-align: center;
  margin-top: 24px;
  font-weight: 700;
  color: var(--green-800);
}

/* ---------- 対応作業 ---------- */
.service-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px 12px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.service-card h3 { font-size: 1rem; color: var(--green-900); }
.service-icon { width: 36px; height: 36px; color: var(--green-500); }

/* ---------- 料金 ---------- */
.price-terms {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 24px;
}
.price-terms span {
  background: var(--accent);
  color: var(--green-900);
  font-weight: 700;
  font-size: .9rem;
  padding: 4px 12px;
  border-radius: 6px;
}
.price-list {
  list-style: none;
  display: grid;
  gap: 16px;
}
.price-card {
  border: 2px solid var(--green-200);
  border-radius: var(--radius);
  padding: 20px;
  background: var(--white);
}
.price-name {
  font-size: 1.1rem;
  color: var(--green-900);
  margin-bottom: 6px;
}
.price-cond { color: var(--text-sub); margin-bottom: 4px; }
.price-value {
  color: var(--green-800);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 0;
}
.price-value .num {
  font-size: 2.1rem;
  letter-spacing: .02em;
  margin-right: 2px;
  font-variant-numeric: tabular-nums;
}
.price-value .tax { font-size: .85rem; color: var(--text-sub); margin-left: 4px; }
.price-sub {
  margin-top: 8px;
  font-size: .9rem;
  color: var(--text-sub);
}

/* ---------- 大切にしていること ---------- */
.about-wrap { display: grid; gap: 24px; }
.about-lead {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--green-800);
  line-height: 1.6;
}
.profile {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px;
}
.profile-title {
  font-size: 1.1rem;
  color: var(--green-900);
  margin-bottom: 12px;
}
.profile-list { margin: 0; }
.profile-list div {
  display: grid;
  grid-template-columns: 6em 1fr;
  gap: 8px;
  padding: 10px 0;
  border-top: 1px solid var(--green-100);
}
.profile-list div:first-child { border-top: 0; }
.profile-list dt { font-weight: 700; color: var(--green-800); }
.profile-list dd { margin: 0; }

/* ---------- 流れ ---------- */
.flow-list {
  list-style: none;
  counter-reset: step;
  display: grid;
  gap: 16px;
  max-width: 720px;
  margin: 0 auto;
}
.flow-step {
  counter-increment: step;
  position: relative;
  background: var(--green-50);
  border-radius: var(--radius);
  padding: 18px 18px 18px 68px;
}
.flow-step::before {
  content: counter(step);
  position: absolute;
  left: 16px;
  top: 18px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--green-700);
  color: var(--white);
  font-weight: 700;
  display: grid;
  place-items: center;
}
.flow-step h3 {
  font-size: 1.1rem;
  color: var(--green-900);
  margin: 4px 0 8px;
}
.check-list { list-style: none; margin: 4px 0 10px; }
.check-list li { position: relative; padding-left: 1.4em; }
.check-list li::before {
  content: "";
  position: absolute;
  left: .2em;
  top: .75em;
  width: .5em;
  height: .5em;
  border-radius: 0 100% 0 100%;
  background: var(--green-500);
}

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 10px; max-width: 760px; margin: 0 auto; }
.faq-item {
  background: var(--white);
  border-radius: 10px;
  box-shadow: var(--shadow);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 16px 48px 16px 16px;
  position: relative;
  border-radius: 10px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary h3 {
  font-size: 1rem;
  color: var(--green-900);
  display: inline;
}
.faq-item summary h3::before {
  content: "Q.";
  color: var(--green-500);
  margin-right: .4em;
}
.faq-item summary::after {
  content: "";
  position: absolute;
  right: 20px;
  top: 50%;
  width: 10px;
  height: 10px;
  margin-top: -7px;
  border-right: 2px solid var(--green-700);
  border-bottom: 2px solid var(--green-700);
  transform: rotate(45deg);
  transition: transform .2s;
}
.faq-item[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq-body {
  margin: 0 16px;
  padding: 12px 0 16px;
  border-top: 1px solid var(--green-100);
}

/* ---------- LINE相談 ---------- */
.contact { background: linear-gradient(180deg, var(--white), var(--green-100)); }
.contact-card {
  position: relative;
  background: var(--white);
  border: 2px solid var(--green-200);
  border-radius: 20px;
  padding: 32px 20px;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
  overflow: hidden;
}
.contact-deco {
  width: 48px;
  height: 48px;
  color: var(--green-500);
  display: block;
  margin: 0 auto 8px;
}
.contact-title {
  font-size: 1.4rem;
  color: var(--green-900);
  margin-bottom: 12px;
}
.contact-free {
  display: inline-block;
  background: var(--accent);
  color: var(--green-900);
  font-weight: 700;
  padding: 2px 14px;
  border-radius: 6px;
}
.contact-card > p { text-align: left; }
.contact-card > .contact-free { text-align: center; }
.contact-card .btn-lg { margin: 12px 0 20px; }
.hours { margin: 0 0 8px; }
.hours dt { font-weight: 700; color: var(--green-800); }
.hours dd { margin: 0; font-size: 1.2rem; font-weight: 700; }
.contact-card > p.small { text-align: center; }

/* ---------- フッター ---------- */
.site-footer {
  background: var(--green-900);
  color: #e7f3ea;
  padding: 32px 0;
  font-size: .9rem;
  text-align: center;
}
.site-footer p { margin-bottom: 4px; }
.footer-name { font-weight: 700; font-size: 1rem; color: var(--white); }
.copyright { margin-top: 12px; opacity: .9; }

/* ---------- スマホ固定ボタン ---------- */
.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 30;
  background: rgba(255, 255, 255, .97);
  border-top: 1px solid var(--green-200);
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
}

/* ---------- タブレット以上 ---------- */
@media (min-width: 768px) {
  body { font-size: 17px; padding-bottom: 0; }
  .br-sp { display: none; }
  .header-cta { display: inline-flex; }
  .sticky-cta { display: none; }

  .hero { padding: 88px 0 96px; }
  .hero-title { font-size: 2.6rem; }
  .deco-1 { width: 220px; height: 220px; right: 4%; top: 40px; }
  .deco-2 { width: 110px; height: 110px; right: 24%; top: 200px; }
  .deco-3 { width: 150px; height: 150px; right: 8%; bottom: 24px; }

  .section { padding: 80px 0; }
  .section-title { font-size: 1.85rem; }

  .service-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
  .price-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .about-wrap { grid-template-columns: 1.2fr 1fr; align-items: start; gap: 40px; }
  .contact-card { padding: 48px 40px; }
  .contact-title { font-size: 1.7rem; }
  .contact-card > p { text-align: center; }
}
