@import url('https://fonts.googleapis.com/css2?family=Lato:wght@400;500;700&display=swap');

/* 配色・タイポグラフィはsoudanmadoguchi.com(tailwind.config.js)のトークンに合わせている:
   main=#D09C9C, mainLight=#F6F2F3, bgGray=#F4F4F4, textBlack=#464341,
   textGray=#4D4F5C, textLightGray=#707070。ロゴの緑(#4a7c3f系)は
   さくらファミリーの共通ブランドカラーとしてリンク等のアクセントに残す。 */
:root {
  --main: #d09c9c;
  --main-dark: #c08787;
  --main-light: #f6f2f3;
  --bg-gray: #f4f4f4;
  --green: #4a7c3f;
  --green-light: #6aa84f;
  --ink: #464341;
  --ink-soft: #707070;
  --ink-gray: #4d4f5c;
  --white: #ffffff;
  --max-width: 900px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "游ゴシック体", "Yu Gothic", YuGothic, "ヒラギノ角ゴ Pro", "Hiragino Kaku Gothic Pro", Meiryo, sans-serif;
  color: var(--ink);
  line-height: 1.85;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--green);
}

a:hover {
  color: var(--green-light);
}

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

.eyebrow {
  display: block;
  font-family: Lato, sans-serif;
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.15em;
  color: var(--main);
  text-align: center;
  margin-bottom: 0.5em;
}

/* Header */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 14px 24px;
  border-bottom: 1px solid #eee;
}

.site-brand {
  display: flex;
  align-items: baseline;
  gap: 10px;
  text-decoration: none;
}

.site-logo {
  height: 32px;
  width: auto;
}

.site-brand-sub {
  font-size: 0.82rem;
  color: var(--ink-soft);
  white-space: nowrap;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 22px;
}

.site-nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.92rem;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--main-dark);
  border-bottom-color: var(--main);
}

/* Hero */
.hero {
  position: relative;
  height: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero.tone-warm,
.hero.tone-cool {
  background: linear-gradient(135deg, var(--main-light) 0%, #f2e3e3 55%, #ecd3d3 100%);
}

.hero h1 {
  position: relative;
  z-index: 1;
  color: var(--ink);
  font-size: 2rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  margin: 0;
  text-align: center;
  padding: 0 16px;
}

.hero-bar {
  height: 6px;
  background: var(--main);
}

/* Main content */
main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 48px 24px 72px;
}

main.on-tint {
  background: var(--bg-gray);
  max-width: none;
  padding: 0;
}

main.on-tint .inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 48px 24px 72px;
}

h2 {
  font-size: 1.4rem;
  border-left: 5px solid var(--main);
  padding-left: 12px;
  margin: 2.4em 0 0.9em;
}

h2:first-child {
  margin-top: 0;
}

h3 {
  font-size: 1.1rem;
  color: var(--ink);
  margin: 1.8em 0 0.6em;
}

p {
  margin: 0.4em 0 1.1em;
}

/* Table of contents */
.toc {
  list-style: none;
  margin: 0;
  padding: 0;
}

.toc li {
  margin: 0.5em 0;
}

.toc a {
  text-decoration: underline;
}

.toc .sub {
  padding-left: 1.4em;
  font-size: 0.95em;
}

/* Flow steps */
.step {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  margin-bottom: 2.2em;
}

.step-num {
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--main);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-family: Lato, sans-serif;
}

.step-body h3 {
  margin: 0 0 0.3em;
}

.step-body p {
  margin: 0;
}

/* Fee card */
.fee-highlight {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  background: var(--white);
  border: 1px solid #e6e0e0;
  border-radius: 16px;
  padding: 24px 28px;
  margin: 1.5em 0 2.5em;
}

.fee-highlight .amount {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--main-dark);
}

.fee-note {
  font-size: 0.85rem;
  color: var(--ink-soft);
}

/* Buttons (matches soudanmadoguchi's filled CTA style) */
.btn {
  display: inline-block;
  padding: 12px 40px;
  background: var(--main);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  border-radius: 4px;
  border: none;
  cursor: pointer;
}

.btn:hover {
  background: var(--main-dark);
  color: #fff;
}

/* Contact */
.contact-phone {
  display: inline-block;
  font-family: Lato, sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  margin: 0.4em 0;
}

.contact-fax {
  font-size: 1.1rem;
}

.contact-block {
  text-align: center;
  padding: 2em 0;
  border-bottom: 1px solid #e6e0e0;
}

.contact-block:last-of-type {
  border-bottom: none;
}

.contact-area {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  list-style: none;
  padding: 0;
  margin: 0.6em 0;
  justify-content: center;
}

.contact-area li {
  background: var(--white);
  border: 1px solid var(--main);
  color: var(--main-dark);
  border-radius: 999px;
  padding: 2px 14px;
  font-size: 0.9rem;
}

/* Contact CTA footer (site-wide) */
.cta-footer {
  background: var(--main-light);
  text-align: center;
  padding: 44px 24px;
}

.cta-footer h2 {
  border: none;
  padding: 0;
  margin: 0 0 0.3em;
  font-size: 1.2rem;
  font-weight: 500;
}

.cta-footer .line-btn {
  display: inline-block;
  margin: 20px 0;
  padding: 12px 40px;
  background: #06c755;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  border-radius: 4px;
}

.cta-footer .line-btn:hover {
  background: #05b34c;
  color: #fff;
}

.cta-footer .emergency {
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin-top: 1.6em;
}

.cta-footer .partner {
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin-top: 2.2em;
  padding-top: 1.4em;
  border-top: 1px solid #e6e0e0;
}

/* Numbered lists / treatment photo pairs */
.plain-list {
  padding-left: 1.4em;
  margin: 0.4em 0 1.1em;
}

.plain-list li {
  margin-bottom: 0.3em;
}

.photo-pair {
  display: flex;
  gap: 12px;
  margin: 1em 0 1.6em;
}

.photo-pair img {
  width: 50%;
  border-radius: 10px;
  object-fit: cover;
  aspect-ratio: 3/2;
}

.illustration {
  max-width: 360px;
  margin: 1em auto 2em;
}

.area-map {
  max-width: 360px;
  margin: 1em auto 2em;
}

@media (min-width: 640px) {
  .area-map {
    max-width: 100%;
  }
}

.video-wrap {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 10px;
  margin: 1em 0 2em;
}

.video-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Fee table */
.fee-table-wrap {
  overflow-x: auto;
  margin: 1.5em 0;
}

.fee-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.fee-table caption {
  text-align: left;
  font-size: 0.8rem;
  color: var(--ink-soft);
  margin-bottom: 0.5em;
}

.fee-table th,
.fee-table td {
  border: 1px solid #e6e0e0;
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
}

.fee-table thead th {
  background: var(--main-light);
}

.fee-table td:last-child,
.fee-table th:last-child {
  white-space: nowrap;
}

.fee-notes {
  font-size: 0.82rem;
  color: var(--ink-soft);
  padding-left: 1.2em;
}

/* FAQ */
.faq-list {
  margin: 1em 0 2em;
}

.faq-item {
  border-bottom: 1px solid #e6e0e0;
  padding: 14px 0;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 500;
  color: var(--ink);
}

.faq-item summary::marker {
  color: var(--main);
}

.faq-item[open] summary {
  color: var(--main-dark);
}

.faq-item p {
  margin: 0.8em 0 0;
  color: var(--ink-soft);
}

/* Staff cards */
.staff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 28px;
  margin: 1.5em 0;
}

.staff-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 12px;
}

.staff-card h3 {
  margin: 0 0 0.5em;
}

.staff-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.85rem;
  color: var(--ink-soft);
}

.staff-card li {
  margin-bottom: 0.25em;
}

/* Footer */
.site-footer {
  text-align: center;
  font-size: 0.8rem;
  color: var(--ink-soft);
  padding: 28px 16px 40px;
}

@media (max-width: 640px) {
  .photo-pair {
    flex-direction: column;
  }
  .photo-pair img {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .site-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .hero h1 {
    font-size: 1.5rem;
  }
  .step {
    gap: 12px;
  }
}
