:root {
  --blue: #1d5fd6;
  --blue-deep: #14418f;
  --navy: #0e2247;
  --yellow: #ffd233;
  --gray-bg: #f2f5fa;
  --ink: #1c2533;
  --ink-soft: #5a6678;
  --white: #ffffff;
  --side-w: 240px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.9;
}

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

/* ===== 左固定サイドナビ ===== */

.side-nav {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: var(--side-w);
  background: var(--navy);
  color: #fff;
  display: flex;
  flex-direction: column;
  padding: 1.6rem 1.4rem;
  z-index: 100;
}

.brand {
  color: #fff;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 2rem;
}

.brand-mark {
  font-size: 1.7rem;
  filter: drop-shadow(0 0 6px rgba(255, 210, 51, 0.6));
}

.brand-text {
  font-weight: 900;
  font-size: 1.15rem;
  letter-spacing: 0.06em;
  line-height: 1.3;
}

.brand-text small {
  display: block;
  font-size: 0.58rem;
  font-weight: bold;
  color: var(--yellow);
  letter-spacing: 0.14em;
}

.side-nav nav {
  flex: 1;
  overflow-y: auto;
  scrollbar-width: none; /* Firefox */
}

.side-nav nav::-webkit-scrollbar {
  display: none; /* Chrome / Edge */
}

.nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.nav-links a {
  display: block;
  color: #dbe4f5;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: bold;
  padding: 0.55rem 0.8rem;
  border-left: 3px solid transparent;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.nav-links a:hover {
  background: rgba(255, 255, 255, 0.08);
  border-left-color: var(--yellow);
  color: #fff;
}

.side-cta {
  margin-top: 1.2rem;
}

.side-tel a {
  color: #fff;
  font-weight: 900;
  font-size: 1.02rem;
  text-decoration: none;
  letter-spacing: 0.04em;
}

.side-book {
  display: block;
  margin-top: 0.7rem;
  background: var(--yellow);
  color: var(--navy);
  text-align: center;
  text-decoration: none;
  font-weight: 900;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  box-shadow: 0 4px 0 #c9a10e;
  transition: transform 0.12s, box-shadow 0.12s;
}

.side-book:hover {
  transform: translateY(2px);
  box-shadow: 0 2px 0 #c9a10e;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  z-index: 120;
}

.hamburger span {
  width: 26px;
  height: 3px;
  background: #fff;
  border-radius: 2px;
}

/* ===== メイン ===== */

main {
  margin-left: var(--side-w);
}

/* ===== ヒーロー ===== */

.hero {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  min-height: 100vh;
  align-items: center;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(115deg, var(--white) 0 55%, transparent 55.1%),
    linear-gradient(115deg, transparent 0 62%, rgba(255, 210, 51, 0.16) 62.1% 70%, transparent 70.1%),
    var(--gray-bg);
}

.hero-text {
  padding: 4rem 3rem 4rem 4rem;
  position: relative;
  z-index: 2;
}

.hero-tag {
  display: inline-block;
  background: var(--navy);
  color: var(--yellow);
  font-weight: 900;
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  padding: 0.25rem 1.1rem;
  transform: skewX(-10deg);
  margin-bottom: 1.4rem;
}

.hero h1 {
  font-size: clamp(2.2rem, 4.2vw, 3.6rem);
  font-weight: 900;
  line-height: 1.35;
  letter-spacing: 0.04em;
}

.hero h1 em {
  font-style: normal;
  background: linear-gradient(transparent 62%, var(--yellow) 62%);
}

.hero-lead {
  margin-top: 1.4rem;
  color: var(--ink-soft);
  font-size: 1.02rem;
}

.hero-lead strong {
  color: var(--blue-deep);
}

.hero-badges {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-top: 1.4rem;
}

.hero-badges span {
  border: 2px solid var(--blue);
  color: var(--blue-deep);
  font-size: 0.82rem;
  font-weight: bold;
  border-radius: 999px;
  padding: 0.15rem 0.9rem;
  background: #fff;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.hero-buttons.center {
  justify-content: center;
}

.btn-primary {
  background: var(--blue);
  color: #fff;
  text-decoration: none;
  font-weight: 900;
  padding: 0.9rem 2.4rem;
  border-radius: 10px;
  box-shadow: 0 5px 0 var(--blue-deep);
  transition: transform 0.12s, box-shadow 0.12s;
}

.btn-primary:hover {
  transform: translateY(3px);
  box-shadow: 0 2px 0 var(--blue-deep);
}

.btn-ghost {
  background: #fff;
  border: 2px solid var(--navy);
  color: var(--navy);
  text-decoration: none;
  font-weight: 900;
  padding: 0.9rem 2rem;
  border-radius: 10px;
}

.btn-ghost:hover {
  background: var(--navy);
  color: #fff;
}

.hero-photo {
  height: 100%;
  min-height: 480px;
  clip-path: polygon(18% 0, 100% 0, 100% 100%, 0 100%);
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ===== セクション共通 ===== */

.section {
  padding: 5rem 5vw;
}

.sec-gray {
  background: var(--gray-bg);
}

.sec-navy {
  background: var(--navy);
  color: #fff;
}

.sec-en {
  color: var(--blue);
  font-weight: 900;
  font-style: italic;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 0.85rem;
}

.sec-navy .sec-en {
  color: var(--yellow);
}

.section h2 {
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  font-weight: 900;
  letter-spacing: 0.06em;
  margin: 0.2rem 0 2.4rem;
  padding-left: 0.9rem;
  border-left: 6px solid var(--yellow);
  line-height: 1.4;
}

.section > * {
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s, transform 0.7s;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ===== お悩みチェック ===== */

.check-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
}

.check-list li {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 10px;
  padding: 0.9rem 1.1rem 0.9rem 2.7rem;
  position: relative;
  font-size: 0.96rem;
}

.check-list li::before {
  content: "✔";
  position: absolute;
  left: 1rem;
  color: var(--yellow);
  font-weight: 900;
}

.check-list strong {
  color: var(--yellow);
}

.check-msg {
  margin-top: 1.8rem;
  text-align: center;
  font-size: 1.05rem;
}

.marker {
  background: linear-gradient(transparent 60%, rgba(255, 210, 51, 0.45) 60%);
  font-weight: 900;
}

/* ===== 全幅バナー ===== */

.band {
  background: linear-gradient(rgba(14, 34, 71, 0.68), rgba(14, 34, 71, 0.68)),
    url("assets/band-training.jpg") center 35%/cover no-repeat;
  color: #fff;
  text-align: center;
  padding: 6rem 5vw;
}

.band p {
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1.7;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
}

.band strong {
  color: var(--yellow);
}

/* ===== 施術メニュー ===== */

.menu-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.8rem;
}

.menu-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 22px rgba(20, 65, 143, 0.12);
  border-top: 5px solid var(--blue);
}

.menu-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.menu-body {
  padding: 1.3rem 1.5rem 1.6rem;
}

.menu-body h3 {
  color: var(--blue-deep);
  font-size: 1.12rem;
  font-weight: 900;
  margin-bottom: 0.5rem;
}

.menu-body p {
  font-size: 0.92rem;
  color: var(--ink-soft);
}

/* ===== 選ばれる理由 ===== */

.reason-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
}

.reason-item {
  background: #fff;
  border-radius: 14px;
  padding: 1.8rem 1.6rem;
  box-shadow: 0 6px 18px rgba(20, 65, 143, 0.1);
  position: relative;
}

.reason-num {
  font-size: 2.6rem;
  font-weight: 900;
  font-style: italic;
  color: transparent;
  -webkit-text-stroke: 2px var(--blue);
  line-height: 1;
  display: block;
  margin-bottom: 0.7rem;
}

.reason-item h3 {
  font-size: 1.08rem;
  font-weight: 900;
  margin-bottom: 0.5rem;
  color: var(--navy);
}

.reason-item p {
  font-size: 0.92rem;
  color: var(--ink-soft);
}

/* ===== 施術の流れ ===== */

.flow {
  list-style: none;
  counter-reset: step;
  display: grid;
  gap: 0;
}

.flow li {
  counter-increment: step;
  position: relative;
  padding: 0 0 2.2rem 4.6rem;
}

.flow li::before {
  content: "0" counter(step);
  position: absolute;
  left: 0;
  top: -0.2rem;
  width: 3.2rem;
  height: 3.2rem;
  background: var(--blue);
  color: #fff;
  font-weight: 900;
  font-style: italic;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 1.05rem;
  box-shadow: 0 3px 0 var(--blue-deep);
}

.flow li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 1.55rem;
  top: 3.2rem;
  bottom: 0.2rem;
  width: 3px;
  background: repeating-linear-gradient(var(--blue) 0 6px, transparent 6px 12px);
}

.flow h3 {
  font-size: 1.08rem;
  font-weight: 900;
  color: var(--navy);
}

.flow p {
  font-size: 0.94rem;
  color: var(--ink-soft);
  margin-top: 0.2rem;
}

/* ===== お客様の声 ===== */

.voice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
}

.voice-card {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  padding: 1.6rem 1.5rem;
  display: flex;
  flex-direction: column;
}

.voice-card blockquote {
  font-size: 0.94rem;
  flex: 1;
}

.voice-card blockquote::before {
  content: "“";
  color: var(--yellow);
  font-size: 2.2rem;
  font-weight: 900;
  line-height: 0;
  display: block;
  margin: 0.8rem 0 0.4rem;
}

.voice-card figcaption {
  margin-top: 1rem;
  font-size: 0.84rem;
  color: #c9d5ea;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.voice-avatar {
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--navy);
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ===== 料金 ===== */

.price-wrap {
  max-width: 680px;
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(20, 65, 143, 0.12);
}

.price-table th,
.price-table td {
  border-bottom: 1px solid #e3eaf5;
  padding: 1.05rem 1.4rem;
  font-size: 0.98rem;
  text-align: left;
}

.price-table tr:last-child th,
.price-table tr:last-child td {
  border-bottom: none;
}

.price-table td {
  text-align: right;
  font-weight: 900;
  color: var(--blue-deep);
  white-space: nowrap;
}

.price-table tr.pickup {
  background: #fff8dd;
}

.tag {
  display: inline-block;
  background: var(--blue);
  color: #fff;
  font-size: 0.72rem;
  border-radius: 999px;
  padding: 0.05rem 0.7rem;
  margin-left: 0.5rem;
  vertical-align: middle;
}

.price-note {
  margin-top: 1rem;
  font-size: 0.86rem;
  color: var(--ink-soft);
}

/* ===== FAQ ===== */

.faq-list {
  display: grid;
  gap: 0.9rem;
  max-width: 820px;
}

.faq-list details {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(20, 65, 143, 0.08);
  overflow: hidden;
}

.faq-list summary {
  cursor: pointer;
  list-style: none;
  font-weight: 900;
  padding: 1.05rem 3rem 1.05rem 3.2rem;
  position: relative;
  color: var(--navy);
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::before {
  content: "Q";
  position: absolute;
  left: 1.1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1.6rem;
  height: 1.6rem;
  background: var(--blue);
  color: #fff;
  border-radius: 6px;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 1.2rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--blue);
  font-size: 1.4rem;
  font-weight: 900;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list details p {
  padding: 0 1.4rem 1.2rem 3.2rem;
  font-size: 0.93rem;
  color: var(--ink-soft);
}

/* ===== 院長 ===== */

.incho-grid {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 2.5rem;
  align-items: start;
}

.incho-avatar svg {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 6px 16px rgba(20, 65, 143, 0.2));
}

.incho-title {
  color: var(--blue);
  font-weight: 900;
  letter-spacing: 0.14em;
  font-size: 0.88rem;
}

.incho-text h3 {
  font-size: 1.5rem;
  font-weight: 900;
  margin-bottom: 1rem;
}

.incho-kana {
  font-size: 0.9rem;
  font-weight: normal;
  color: var(--ink-soft);
}

.incho-text p + p {
  margin-top: 0.8rem;
}

.incho-history {
  margin-top: 1.4rem;
  background: var(--gray-bg);
  border-radius: 12px;
  padding: 1.2rem 1.5rem;
  font-size: 0.92rem;
}

.incho-history dt {
  color: var(--blue-deep);
  font-weight: 900;
}

.incho-history dd + dt {
  margin-top: 0.7rem;
}

/* ===== 営業時間・アクセス ===== */

.hours-wrap {
  overflow-x: auto;
  margin-bottom: 2.2rem;
}

.hours-table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(20, 65, 143, 0.1);
}

.hours-table th,
.hours-table td {
  border: 1px solid #e3eaf5;
  padding: 0.8rem 0.6rem;
  text-align: center;
  font-size: 0.95rem;
}

.hours-table thead th {
  background: var(--blue);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.25);
}

.hours-table tbody th {
  background: var(--gray-bg);
  font-weight: bold;
  white-space: nowrap;
}

.hours-table td {
  color: var(--blue-deep);
  font-weight: 900;
}

.hours-table td.closed {
  color: #b6c1d2;
  background: #f7f9fc;
}

.hours-note {
  margin-top: 0.8rem;
  font-size: 0.88rem;
  color: var(--ink-soft);
}

.access-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 2.5rem;
  align-items: start;
}

.access-info dt {
  color: var(--blue-deep);
  font-weight: 900;
  margin-top: 1rem;
}

.access-info dt:first-child {
  margin-top: 0;
}

.access-info dd {
  font-size: 0.95rem;
}

.access-info a {
  color: var(--blue-deep);
}

.map-wrap iframe {
  width: 100%;
  height: 320px;
  border: 0;
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(20, 65, 143, 0.14);
}

/* ===== 予約CTA ===== */

.cta-sec {
  text-align: center;
  background:
    linear-gradient(100deg, transparent 0 78%, rgba(255, 210, 51, 0.25) 78.1%),
    linear-gradient(280deg, transparent 0 82%, rgba(29, 95, 214, 0.12) 82.1%),
    var(--white);
}

.cta-sec h2 {
  border-left: none;
  padding-left: 0;
  text-align: center;
}

/* ===== お問い合わせフォーム ===== */

.contact-form {
  margin-top: 3rem;
  max-width: 560px;
  text-align: left;
  background: var(--gray-bg);
  border-radius: 16px;
  padding: 2.2rem 2rem;
  box-shadow: 0 8px 22px rgba(20, 65, 143, 0.1);
}

.form-lead {
  font-size: 0.92rem;
  color: var(--ink-soft);
  margin-bottom: 1.6rem;
}

.form-row {
  margin-bottom: 1.3rem;
}

.form-row label {
  display: block;
  font-weight: 900;
  font-size: 0.92rem;
  color: var(--navy);
  margin-bottom: 0.4rem;
}

.form-row .req {
  display: inline-block;
  background: var(--blue);
  color: #fff;
  font-size: 0.68rem;
  font-weight: bold;
  border-radius: 999px;
  padding: 0.1rem 0.6rem;
  margin-left: 0.4rem;
  vertical-align: middle;
}

.form-row input,
.form-row textarea {
  width: 100%;
  border: 2px solid #dbe4f5;
  border-radius: 10px;
  padding: 0.7rem 0.9rem;
  font-size: 0.96rem;
  font-family: inherit;
  color: var(--ink);
  background: #fff;
  transition: border-color 0.15s;
}

.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--blue);
}

.form-row textarea {
  resize: vertical;
}

.form-honeypot {
  position: absolute;
  left: -9999px;
  top: -9999px;
}

.contact-form button[type="submit"] {
  display: block;
  width: 100%;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

/* ===== フッター ===== */

footer {
  background: var(--navy);
  color: #c9d5ea;
  text-align: center;
  padding: 2.2rem 1.5rem 5rem;
  font-size: 0.85rem;
}

footer .credits {
  margin-top: 0.6rem;
  font-size: 0.78rem;
}

footer .credits a {
  color: var(--yellow);
}

footer .copyright {
  margin-top: 0.8rem;
  opacity: 0.7;
}

/* ===== モバイル固定予約バー ===== */

.mobile-cta {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  grid-template-columns: 1fr 1fr;
  box-shadow: 0 -4px 14px rgba(0, 0, 0, 0.18);
}

.mobile-cta a {
  text-align: center;
  padding: 0.95rem 0;
  font-weight: 900;
  text-decoration: none;
  font-size: 0.98rem;
}

.mob-tel {
  background: var(--navy);
  color: #fff;
}

.mob-book {
  background: var(--yellow);
  color: var(--navy);
}

.back-home {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  width: 86px;
  height: 86px;
  border-radius: 50%;
  background: linear-gradient(155deg, #ffb46b 0%, #f0964f 45%, #c17a52 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 0.8rem;
  font-weight: bold;
  line-height: 1.4;
  text-decoration: none;
  box-shadow:
    0 16px 28px rgba(193, 122, 82, 0.45),
    0 6px 12px rgba(74, 50, 34, 0.3),
    inset 0 1px 2px rgba(255, 255, 255, 0.45),
    inset 0 -3px 5px rgba(120, 60, 20, 0.25);
  z-index: 100;
  transition: transform 0.2s, box-shadow 0.2s;
}

.back-home:hover {
  transform: translateY(-5px) scale(1.06);
  box-shadow:
    0 22px 34px rgba(193, 122, 82, 0.55),
    0 8px 14px rgba(74, 50, 34, 0.35),
    inset 0 1px 2px rgba(255, 255, 255, 0.5),
    inset 0 -3px 5px rgba(120, 60, 20, 0.3);
}

/* ===== モバイル ===== */

@media (max-width: 960px) {
  .back-home {
    width: 68px;
    height: 68px;
    font-size: 0.65rem;
    right: 1rem;
    bottom: 4.5rem;
  }

  :root {
    --side-w: 0px;
  }

  .side-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: auto;
    width: auto;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 0.7rem 1.2rem;
  }

  .brand {
    margin-bottom: 0;
  }

  .brand-text {
    font-size: 1rem;
  }

  .hamburger {
    display: flex;
  }

  .side-nav nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(14, 34, 71, 0.97);
    overflow: visible;
  }

  .nav-links {
    display: none;
    padding: 1rem 0 1.4rem;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 0.6rem 2rem;
  }

  .side-cta {
    display: none;
  }

  main {
    margin-left: 0;
    padding-top: 58px;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-text {
    padding: 2.6rem 6vw 2.2rem;
  }

  .hero-photo {
    min-height: 280px;
    clip-path: polygon(0 12%, 100% 0, 100% 100%, 0 100%);
  }

  .section {
    padding: 3.5rem 6vw;
  }

  .check-list,
  .menu-grid,
  .reason-list,
  .voice-grid,
  .incho-grid,
  .access-grid {
    grid-template-columns: 1fr;
  }

  .incho-avatar {
    max-width: 190px;
    margin: 0 auto;
  }

  .contact-form {
    padding: 1.6rem 1.4rem;
    margin-top: 2.2rem;
  }

  .mobile-cta {
    display: grid;
  }

  footer {
    padding-bottom: 6.5rem;
  }
}
