@charset "UTF-8";

/* ==========================================================================
   つばき整骨院 — static site stylesheet
   ========================================================================== */

:root {
  --green: #4f8f4a;
  --green-dark: #3c6f39;
  --green-deep: #2d5429;
  --green-light: #eef5ec;
  --green-tint: #f6faf5;
  --orange: #e8952f;
  --orange-soft: #fdf3e3;
  --pink: #d9697f;
  --ink: #333a34;
  --muted: #6f7a70;
  --line: #e2e8de;
  --bg: #ffffff;
  --cream: #faf9f5;
  --serif: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --sans: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
  --shadow: 0 10px 30px rgba(45, 84, 41, .08);
  --shadow-sm: 0 3px 12px rgba(45, 84, 41, .07);
  --w: 1080px;
  --header-h: 76px;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.95;
  color: var(--ink);
  background: var(--bg);
  letter-spacing: .04em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; line-height: 1.6; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.container { width: min(100% - 40px, var(--w)); margin-inline: auto; }
.section { padding: 72px 0; }
.section--tint { background: var(--green-tint); }
.section--cream { background: var(--cream); }
.section--tight { padding: 48px 0; }

.section-head { margin-bottom: 40px; }
.section-head--center { text-align: center; }
.section-title {
  position: relative;
  font-size: clamp(22px, 2.6vw, 28px);
  letter-spacing: .06em;
  color: var(--green-deep);
  padding-bottom: 16px;
}
.section-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 44px;
  height: 3px;
  background: var(--green);
  border-radius: 2px;
}
.section-head--center .section-title::after { left: 50%; transform: translateX(-50%); }
.section-lead { margin-top: 14px; color: var(--muted); font-size: 14px; }
.section-en {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .26em;
  color: var(--green);
  text-transform: uppercase;
  margin-bottom: 8px;
}

/* buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 26px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .08em;
  border-radius: 999px;
  border: 2px solid transparent;
  transition: transform .25s, background .25s, color .25s, box-shadow .25s;
}
.btn svg { width: 18px; height: 18px; }
.btn--tel { background: var(--orange); color: #fff; box-shadow: 0 6px 18px rgba(232, 149, 47, .35); }
.btn--tel:hover { background: #d7871f; transform: translateY(-2px); }
.btn--green { background: var(--green); color: #fff; }
.btn--green:hover { background: var(--green-dark); transform: translateY(-2px); }
.btn--line { border-color: var(--green); color: var(--green-dark); background: #fff; }
.btn--line:hover { background: var(--green); color: #fff; }
.btn--white { background: #fff; color: var(--green-dark); }
.btn--white:hover { background: var(--green-light); }
.btn--block { display: flex; width: 100%; }

/* header */
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 12px; top: 12px; background: var(--green); color: #fff; padding: 10px 18px; z-index: 999; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  height: var(--header-h);
  z-index: 100;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  transition: height .3s, box-shadow .3s;
}
.site-header.is-scrolled { height: 66px; box-shadow: 0 4px 18px rgba(45, 84, 41, .08); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 48px; width: auto; }
.brand-text {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--green-deep);
  line-height: 1.2;
}
.brand-text small {
  display: block;
  font-family: var(--sans);
  font-size: 9px;
  letter-spacing: .2em;
  color: var(--muted);
  font-weight: 500;
}
.global-nav ul { display: flex; align-items: center; gap: 2px; }
.global-nav a {
  display: block;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  border-radius: 4px;
  transition: color .2s, background .2s;
  white-space: nowrap;
}
.global-nav a:hover { color: var(--green-dark); background: var(--green-light); }
.global-nav a.is-active { color: var(--green-dark); font-weight: 700; }
.global-nav a.is-active::after {
  content: "";
  display: block;
  height: 2px;
  background: var(--green);
  margin-top: 4px;
  border-radius: 2px;
}
.header-tel {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--orange-soft);
  border: 1px solid #f3d9b0;
  border-radius: 999px;
  padding: 6px 16px;
}
.header-tel svg { width: 16px; height: 16px; color: var(--orange); flex: none; }
.header-tel span { display: block; font-size: 9px; color: #a4762f; letter-spacing: .1em; line-height: 1.3; }
.header-tel strong { display: block; font-size: 17px; color: #b86f13; letter-spacing: .02em; line-height: 1.2; }

.nav-toggle {
  display: none;
  width: 46px; height: 46px;
  background: var(--green);
  border: 0; border-radius: 6px;
  position: relative; cursor: pointer;
}
.nav-toggle span { position: absolute; left: 12px; width: 22px; height: 2px; background: #fff; transition: .3s; }
.nav-toggle span:nth-child(1) { top: 16px; }
.nav-toggle span:nth-child(2) { top: 22px; }
.nav-toggle span:nth-child(3) { top: 28px; }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.drawer {
  position: fixed; inset: 0; z-index: 99;
  background: rgba(45, 84, 41, .97);
  padding: 90px 24px 40px;
  transform: translateX(100%);
  transition: transform .35s ease;
  overflow-y: auto;
}
.drawer.is-open { transform: translateX(0); }
.drawer ul { display: grid; }
.drawer a {
  display: block;
  padding: 16px 6px;
  color: #fff;
  font-size: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, .18);
}
.drawer .drawer-tel { margin-top: 26px; color: #fff; text-align: center; }
.drawer .drawer-tel span { display: block; font-size: 11px; letter-spacing: .14em; opacity: .8; }
.drawer .drawer-tel strong { font-size: 24px; letter-spacing: .04em; }

/* hero */
.hero { position: relative; padding-top: var(--header-h); background: var(--green-light); overflow: hidden; }
.hero__visual { position: relative; }
.hero__visual img { width: 100%; height: clamp(220px, 36vw, 400px); object-fit: cover; }
.hero__visual::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(255,255,255,.45) 0%, rgba(255,255,255,.18) 45%, rgba(255,255,255,0) 72%);
}
.hero__copy {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
}
.hero__panel {
  display: inline-block;
  max-width: 640px;
  padding: 26px 30px 24px;
  background: rgba(255, 255, 255, .94);
  border-radius: 10px;
  box-shadow: 0 14px 40px rgba(20, 45, 18, .18);
  border-left: 5px solid var(--green);
}
.hero__copy-inner { width: 100%; }
.hero__title {
  font-family: var(--serif);
  font-size: clamp(24px, 3.6vw, 40px);
  line-height: 1.6;
  letter-spacing: .06em;
  color: var(--green-deep);
}
.hero__sub {
  margin-top: 12px;
  font-size: clamp(13px, 1.3vw, 15px);
  font-weight: 700;
  color: var(--green-dark);
  letter-spacing: .06em;
}
.hero__badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: #fff;
  border: 1px solid #cfe0c9;
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--green-deep);
  white-space: nowrap;
}
.badge::before { content: "✓"; color: var(--green); font-weight: 700; }

/* info strip */
.info-strip { background: var(--green); color: #fff; }
.info-strip__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px 18px;
  flex-wrap: wrap;
  padding: 16px 0;
  font-size: 13px;
  letter-spacing: .06em;
  line-height: 1.7;
}
.info-strip__item { display: inline-flex; align-items: center; gap: 8px; }
.info-strip__item + .info-strip__item::before {
  content: "";
  width: 1px; height: 14px;
  background: rgba(255,255,255,.4);
  margin-right: 10px;
}
.info-strip svg { width: 15px; height: 15px; }
.info-strip a { font-weight: 700; font-size: 17px; letter-spacing: .02em; }

/* quick links */
.quick-wrap { padding-top: 36px; }
.quick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.quick__card {
  display: block;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 4px solid var(--green);
  border-radius: 8px;
  padding: 22px 22px 20px;
  box-shadow: var(--shadow);
  transition: transform .3s, box-shadow .3s;
}
.quick__card:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(45,84,41,.14); }
.quick__card:nth-child(2) { border-top-color: var(--orange); }
.quick__card:nth-child(3) { border-top-color: var(--pink); }
.quick__card h3 { font-size: 17px; color: var(--green-deep); margin-bottom: 6px; }
.quick__card p { font-size: 12.5px; color: var(--muted); line-height: 1.85; margin: 0; }
.quick__card span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--green);
  letter-spacing: .08em;
  white-space: nowrap;
}
.quick__card span svg { width: 13px; height: 13px; flex: none; }

/* two-column split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(26px, 4vw, 56px); align-items: center; }
.split--reverse .split__media { order: 2; }
.split__body p { font-size: 14.5px; }
.media-frame { border-radius: 8px; overflow: hidden; box-shadow: var(--shadow); }
.media-frame img { width: 100%; }

/* feature list */
.feature-list { display: grid; gap: 14px; margin-top: 22px; }
.feature-list li {
  position: relative;
  padding: 14px 18px 14px 46px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 14px;
}
.feature-list li::before {
  content: "✓";
  position: absolute; left: 16px; top: 50%; transform: translateY(-50%);
  width: 20px; height: 20px;
  background: var(--green-light);
  color: var(--green);
  border-radius: 50%;
  font-size: 11px; font-weight: 700;
  display: grid; place-items: center;
}
.feature-list li strong { color: var(--green-deep); }

/* care grid */
.care-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.care-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.care-card__img { aspect-ratio: 3 / 2; overflow: hidden; }
.care-card__img img { width: 100%; height: 100%; object-fit: cover; }
.care-card__body { padding: 20px 22px 22px; }
.care-card h3 { font-size: 17px; color: var(--green-deep); margin-bottom: 8px; }
.care-card p { font-size: 13px; color: var(--muted); line-height: 1.85; margin: 0; }

/* price table */
.price-table { width: 100%; border-collapse: collapse; font-size: 14px; background: #fff; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.price-table th, .price-table td { padding: 14px 18px; border-bottom: 1px solid var(--line); text-align: left; }
.price-table thead th { background: var(--green); color: #fff; font-size: 13px; letter-spacing: .08em; }
.price-table tbody th { background: var(--green-tint); font-weight: 500; width: 36%; color: var(--green-deep); }
.price-table td b { color: var(--green-dark); font-size: 16px; }
.price-table tr:last-child th, .price-table tr:last-child td { border-bottom: 0; }

/* hours table */
.hours-table { width: 100%; border-collapse: collapse; font-size: 13px; text-align: center; background: #fff; border: 1px solid var(--line); }
.hours-table th, .hours-table td { border: 1px solid var(--line); padding: 10px 6px; }
.hours-table thead th { background: var(--green-tint); color: var(--green-deep); font-size: 12px; }
.hours-table td { color: var(--muted); }
.hours-table td.on { color: var(--green-dark); font-weight: 700; background: #f3f9f1; }
.hours-table td.off { color: #c0455c; background: #fdf3f5; }

/* voice */
.voice { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.voice-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 22px 24px;
  box-shadow: var(--shadow-sm);
}
.voice-card__meta { font-size: 11.5px; font-weight: 700; color: var(--green); letter-spacing: .08em; margin-bottom: 10px; }
.voice-card p { font-size: 13.5px; color: var(--ink); line-height: 1.95; margin: 0; }
.voice-card--quote::before {
  content: "“";
  display: block;
  font-family: var(--serif);
  font-size: 34px;
  line-height: .6;
  color: var(--green-light);
  margin-bottom: 8px;
}

/* notice / blog list */
.post-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.post-row {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 16px 4px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  transition: background .2s;
}
.post-row:hover { background: var(--green-tint); }
.post-row time { font-size: 12px; color: var(--muted); flex: none; letter-spacing: .04em; }
.post-row .cat { flex: none; font-size: 10px; font-weight: 700; color: var(--green-dark); background: var(--green-light); border-radius: 3px; padding: 2px 8px; }
.post-row .ttl { flex: 1; }

/* page hero */
.page-hero {
  padding: calc(var(--header-h) + 44px) 0 44px;
  background: var(--green-light);
  border-bottom: 1px solid var(--line);
}
.page-hero__en { display: block; font-size: 10px; font-weight: 700; letter-spacing: .26em; color: var(--green); text-transform: uppercase; margin-bottom: 6px; }
.page-hero__title { font-family: var(--serif); font-size: clamp(24px, 3vw, 32px); letter-spacing: .08em; color: var(--green-deep); }
.page-hero__lead { margin-top: 10px; font-size: 13.5px; color: var(--muted); }
.breadcrumb { display: flex; gap: 8px; align-items: center; margin-top: 16px; font-size: 11px; color: var(--muted); }
.breadcrumb a:hover { color: var(--green); }

/* content */
.content { max-width: 820px; margin-inline: auto; }
.content p { font-size: 14.5px; }
.content h3 {
  font-size: 20px;
  color: var(--green-deep);
  margin: 40px 0 16px;
  padding-left: 14px;
  border-left: 4px solid var(--green);
}
.content h3:first-child { margin-top: 0; }
.content h4 { font-size: 16px; color: var(--green-dark); margin: 26px 0 10px; }
.content ul.bullets { display: grid; gap: 8px; margin: 0 0 1em; }
.content ul.bullets li { position: relative; padding-left: 20px; font-size: 14.5px; }
.content ul.bullets li::before { content: ""; position: absolute; left: 4px; top: .85em; width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
.note {
  margin-top: 18px;
  padding: 12px 16px;
  background: var(--orange-soft);
  border-radius: 6px;
  font-size: 12.5px;
  color: #8a6320;
}
.photo-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 24px 0; }
.photo-pair img { border-radius: 8px; width: 100%; }

/* check cards (安心してご来院) */
.check-cards { display: grid; gap: 20px; }
.check-card {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 24px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.check-card img { width: 100%; height: 100%; object-fit: cover; }
.check-card__body { padding: 22px 26px 22px 0; }
.check-card h3 { font-size: 18px; color: var(--green-deep); margin-bottom: 8px; }
.check-card p { font-size: 13.5px; color: var(--ink); margin: 0; }
.check-card .note { display: inline-block; margin-top: 10px; }

/* care page */
.care-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; }
.price-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.price-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 20px 18px;
  text-align: center;
}
.price-card span { display: block; font-size: 11px; color: var(--muted); letter-spacing: .1em; }
.price-card strong { display: block; font-size: 24px; color: var(--green-dark); margin-top: 4px; }

/* cta */
.cta { background: var(--green); color: #fff; padding: 44px 0; }
.cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta__title { font-family: var(--serif); font-size: clamp(19px, 2.2vw, 24px); letter-spacing: .06em; }
.cta__text { font-size: 12.5px; opacity: .9; margin: 6px 0 0; }
.cta__actions { display: flex; gap: 10px; flex-wrap: wrap; }
/*.cta__tel { font-size: 13px; letter-spacing: .04em; display: flex; align-items: center; gap: 10px; }*/
.cta__tel { font-size: 13px; letter-spacing: .04em; display: none; align-items: center; gap: 10px; }
.cta__tel b { font-size: 26px; letter-spacing: .02em; }

/* footer */
.site-footer { background: var(--green-deep); color: rgba(255,255,255,.82); padding: 44px 0 0; font-size: 12.5px; }
.footer-top { display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px; padding-bottom: 32px; }
.footer-brand .name { font-family: var(--serif); font-size: 20px; letter-spacing: .12em; color: #fff; margin-bottom: 10px; }
.footer-brand address { font-style: normal; line-height: 1.95; color: rgba(255,255,255,.78); }
.footer-brand .tel { margin-top: 8px; font-size: 20px; color: #fff; letter-spacing: .03em; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 6px 20px; align-content: start; }
.footer-nav a { padding: 4px 0; color: rgba(255,255,255,.82); }
.footer-nav a:hover { color: #fff; text-decoration: underline; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.16); padding: 16px 0; font-size: 10.5px; color: rgba(255,255,255,.55); text-align: center; }

.to-top {
  position: fixed; right: 18px; bottom: 18px; z-index: 90;
  width: 44px; height: 44px;
  display: grid; place-items: center;
  background: var(--green); color: #fff;
  border: 0; border-radius: 50%;
  cursor: pointer; opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: .25s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top svg { width: 16px; height: 16px; }

.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s, transform .7s; }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* responsive */
@media (max-width: 1000px) {
  .global-nav a { padding: 8px 8px; font-size: 12px; }
  .header-tel { padding: 5px 12px; }
  .header-tel strong { font-size: 15px; }
}

@media (max-width: 860px) {
  :root { --header-h: 66px; }
  .global-nav, .header-tel { display: none; }
  .nav-toggle { display: block; }
  .section { padding: 52px 0; }
  .quick-wrap { padding-top: 26px; }
  .quick { grid-template-columns: 1fr; gap: 12px; }
  .hero__panel { max-width: 100%; padding: 18px 20px; border-left-width: 4px; }
  .split { grid-template-columns: 1fr; gap: 26px; }
  .split--reverse .split__media { order: 0; }
  .care-grid { grid-template-columns: 1fr; }
  .voice { grid-template-columns: 1fr; }
  .check-card { grid-template-columns: 1fr; }
  .check-card img { height: 180px; }
  .check-card__body { padding: 18px 20px 22px; }
  .care-hero { grid-template-columns: 1fr; }
  .price-cards { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .cta__inner { flex-direction: column; align-items: flex-start; }
  .hero__visual img { height: 300px; }
  .hero__visual::after { background: linear-gradient(180deg, rgba(255,255,255,.9), rgba(255,255,255,.5)); }
  .hero__copy { align-items: flex-start; padding-top: 22px; }
  .photo-pair { grid-template-columns: 1fr; }
  .post-row { flex-wrap: wrap; gap: 4px 10px; }
  .post-row .ttl { flex: 1 0 100%; }
}

@media (max-width: 560px) {
  body { font-size: 14.5px; }
  .brand img { height: 40px; }
  .brand-text { font-size: 17px; }
  .hero__title { font-size: 22px; }
  .info-strip__inner { font-size: 12px; }
  .price-table th, .price-table td { padding: 10px 12px; font-size: 13px; }
  .price-table tbody th { width: 42%; }
  .hours-table { font-size: 11px; }
  .hours-table th, .hours-table td { padding: 7px 3px; }
}
