:root {
  --main: #0b6b3a;
  --main-dark: #08502b;
  --accent: #f08c00;
  --accent-dark: #d17900;
  --text: #222;
  --muted: #666;
  --bg: #fff;
  --bg-gray: #f4f6f5;
  --border: #dde3df;
}

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

body {
  margin: 0;
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP", Meiryo, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.8;
  padding-bottom: 64px; /* スマホ固定ボタン分 */
}

img { max-width: 100%; height: auto; }
a { color: var(--main); }

.container { max-width: 1080px; margin: 0 auto; padding: 0 16px; }
.container--narrow { max-width: 720px; }
.center { text-align: center; }
.note { font-size: 0.85rem; color: var(--muted); margin-top: 16px; }

/* ===== Header ===== */
.header {
  position: sticky; top: 0; z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--border);
}
.header__inner {
  max-width: 1080px; margin: 0 auto; padding: 8px 16px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.logo { text-decoration: none; display: flex; flex-direction: column; line-height: 1.3; }
.logo__main { font-size: 1.3rem; font-weight: 700; color: var(--main); }
.logo__sub { font-size: 0.75rem; color: var(--muted); }

.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 20px; }
.nav a { text-decoration: none; color: var(--text); font-size: 0.9rem; font-weight: 600; }
.nav a:hover { color: var(--main); }

.header__tel { text-decoration: none; text-align: right; line-height: 1.2; }
.header__tel-label { display: block; font-size: 0.7rem; color: var(--muted); }
.header__tel-num { font-size: 1.3rem; font-weight: 700; color: var(--accent); }

.menu-btn { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.menu-btn span { display: block; width: 24px; height: 2px; background: var(--text); margin: 5px 0; transition: .3s; }

/* ===== Hero ===== */
.hero {
  background: linear-gradient(135deg, var(--main) 0%, var(--main-dark) 100%);
  color: #fff;
  padding: 64px 16px;
  text-align: center;
}
.hero__lead {
  display: inline-block; margin: 0 0 12px;
  background: var(--accent); padding: 2px 16px; border-radius: 999px;
  font-weight: 700; font-size: 0.95rem;
}
.hero__title { font-size: 2rem; line-height: 1.5; margin: 0 0 20px; }
.hero__title strong { color: #ffe066; }
.hero__points { list-style: none; padding: 0; margin: 0 0 28px; display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; }
.hero__points li {
  background: #fff; color: var(--main); font-weight: 700;
  padding: 6px 16px; border-radius: 6px;
}
.hero__cta { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }

/* ===== Buttons ===== */
.btn {
  display: inline-block; text-decoration: none; font-weight: 700;
  padding: 14px 28px; border-radius: 8px; font-size: 1.05rem;
  border: 0; cursor: pointer; transition: background .2s;
}
.btn--tel { background: var(--accent); color: #fff; font-size: 1.3rem; }
.btn--tel:hover { background: var(--accent-dark); }
.btn--mail { background: #fff; color: var(--main); }
.btn--insta { background: linear-gradient(45deg, #f09433, #dc2743, #bc1888); color: #fff; }
.btn--submit { background: var(--accent); color: #fff; width: 100%; font-size: 1.15rem; }
.btn--submit:hover { background: var(--accent-dark); }
.btn--submit:disabled { opacity: .6; cursor: wait; }

/* ===== Sections ===== */
html { scroll-behavior: smooth; }
.section { padding: 64px 0; scroll-margin-top: 64px; }
.section--gray { background: var(--bg-gray); }
.section--accent { background: #fff8ec; }
.section__title {
  text-align: center; font-size: 1.7rem; margin: 0 0 8px; color: var(--main);
}
.section__title::after {
  content: ""; display: block; width: 48px; height: 3px; background: var(--accent); margin: 10px auto 0;
}
.section__lead { text-align: center; color: var(--muted); margin: 0 0 32px; }

.cards { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 20px; }
.card h3 { margin: 0 0 6px; color: var(--main); font-size: 1.1rem; }
.card p { margin: 0; font-size: 0.92rem; color: var(--muted); }

.price-table { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.price-table--2 { grid-template-columns: repeat(2, 1fr); max-width: 720px; margin: 0 auto; }
.price-free { text-align: center; font-size: 1.1rem; margin: 24px 0 0; }
.price-free strong { color: var(--accent); font-size: 1.4rem; }
.price { background: #fff; border: 2px solid var(--border); border-radius: 10px; padding: 24px; text-align: center; }
.price--recommend { border-color: var(--accent); position: relative; }
.price--recommend::before {
  content: "人気"; position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: #fff; font-size: 0.8rem; font-weight: 700; padding: 0 12px; border-radius: 999px;
}
.price__name { margin: 0 0 8px; font-size: 1.05rem; }
.price__value { margin: 0; font-size: 1.6rem; font-weight: 700; color: var(--accent); }
.price__value span { font-size: 0.9rem; }
.price__desc { margin: 4px 0 0; font-size: 0.88rem; color: var(--muted); }

.flow { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.flow__item { background: var(--bg-gray); border-radius: 10px; padding: 20px; text-align: center; }
.flow__step { display: inline-block; background: var(--main); color: #fff; font-size: 0.8rem; font-weight: 700; padding: 0 10px; border-radius: 4px; }
.flow__item h3 { margin: 8px 0 4px; font-size: 1.1rem; }
.flow__item p { margin: 0; font-size: 0.9rem; color: var(--muted); }

.area-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.area-list li { background: #fff; border: 1px solid var(--border); border-radius: 6px; text-align: center; padding: 8px 4px; font-weight: 600; }

.faq details { background: #fff; border: 1px solid var(--border); border-radius: 8px; margin-bottom: 10px; }
.faq summary { padding: 16px 20px; font-weight: 700; cursor: pointer; }
.faq summary::before { content: "Q. "; color: var(--main); }
.faq details p { margin: 0; padding: 0 20px 16px; }
.faq details p::before { content: "A. "; color: var(--accent); font-weight: 700; }

.company { width: 100%; max-width: 720px; margin: 0 auto; border-collapse: collapse; }
.company th, .company td { border-bottom: 1px solid var(--border); padding: 14px 12px; text-align: left; }
.company th { width: 30%; background: var(--bg-gray); font-weight: 600; }

/* ===== Form ===== */
.contact-tel { font-size: 1.6rem; font-weight: 700; color: var(--accent); text-decoration: none; }
.form { background: #fff; border-radius: 12px; padding: 28px; box-shadow: 0 2px 12px rgba(0,0,0,.06); }
.form__row { margin-bottom: 18px; }
.form__row label { display: block; font-weight: 600; margin-bottom: 6px; }
.form__row input[type="text"],
.form__row input[type="tel"],
.form__row input[type="email"],
.form__row textarea {
  width: 100%; padding: 12px; border: 1px solid #ccc; border-radius: 6px; font-size: 16px; font-family: inherit;
}
.form__row input:focus, .form__row textarea:focus { outline: 2px solid var(--main); border-color: var(--main); }
.form__row--check label { font-weight: 400; }
.req { background: #d63031; color: #fff; font-size: 0.7rem; padding: 1px 6px; border-radius: 3px; margin-left: 8px; vertical-align: middle; }
.form__error { color: #d63031; font-weight: 600; min-height: 1em; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ===== Footer ===== */
.footer { background: #1f2a24; color: #ccd; padding: 32px 0; text-align: center; font-size: 0.9rem; }
.footer a { color: #fff; }
.footer p { margin: 4px 0; }
.footer__name { font-weight: 700; color: #fff; }
.footer__copy { margin-top: 12px !important; font-size: 0.8rem; }

/* ===== Fixed CTA (SP) ===== */
.fixed-cta { display: none; }

/* ===== Simple page (privacy / thanks) ===== */
.page { padding: 48px 0 64px; }
.page h1 { color: var(--main); font-size: 1.6rem; }
.page h2 { font-size: 1.15rem; margin-top: 28px; border-left: 4px solid var(--main); padding-left: 10px; }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .nav {
    position: fixed; top: 60px; left: 0; right: 0; background: #fff;
    border-bottom: 1px solid var(--border);
    display: none;
  }
  .nav.is-open { display: block; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav a { display: block; padding: 14px 16px; border-top: 1px solid var(--border); }
  .menu-btn { display: block; }
  .header__tel { display: none; }

  .cards, .price-table { grid-template-columns: 1fr 1fr; }
  .flow { grid-template-columns: 1fr 1fr; }
  .area-list { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 600px) {
  .hero { padding: 48px 16px; }
  .hero__title { font-size: 1.5rem; }
  .section { padding: 48px 0; }
  .section__title { font-size: 1.4rem; }
  .cards, .price-table, .flow { grid-template-columns: 1fr; }
  .area-list { grid-template-columns: repeat(3, 1fr); }
  .company th { width: 35%; }
  .form { padding: 20px 16px; }

  .fixed-cta {
    display: flex; position: fixed; bottom: 0; left: 0; right: 0; z-index: 200;
    box-shadow: 0 -2px 8px rgba(0,0,0,.15);
  }
  .fixed-cta a { flex: 1; text-align: center; padding: 16px 0; font-weight: 700; text-decoration: none; color: #fff; }
  .fixed-cta__tel { background: var(--accent); }
  .fixed-cta__mail { background: var(--main); }
}

@media (min-width: 601px) {
  body { padding-bottom: 0; }
}
