:root {
  --main: #4A148C;
  --sub: #EDE7F6;
  --accent: #FF6F61;
  --bg: #FBF8FF;
  --paper: #FFFFFF;
  --ink: #241A2F;
  --muted: #75687D;
  --line: #D8CDE8;
  --shadow: 0 22px 60px rgba(74, 20, 140, .12);
  --mincho: "Shippori Mincho", "Yu Mincho", "Hiragino Mincho ProN", serif;
  --gothic: "Zen Kaku Gothic New", system-ui, sans-serif;
  --serif-en: "Cormorant Garamond", Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--gothic);
  font-size: 16px;
  line-height: 1.85;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, .lead, .btn, summary { text-wrap: balance; overflow-wrap: break-word; }
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 999; background: var(--accent); color: #fff; padding: 10px 16px; font-weight: 800; }
.skip-link:focus { left: 8px; top: 8px; }
a:focus-visible, button:focus-visible, summary:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 248, 255, .88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(216, 205, 232, .8);
}
.header-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 14px 22px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 22px;
  align-items: center;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  min-width: max-content;
}
.brand img { width: 38px; height: 38px; object-fit: contain; }
.brand-text { font-family: var(--mincho); font-weight: 700; font-size: 19px; letter-spacing: .02em; color: var(--main); line-height: 1.1; }
.brand-text small { display: block; font-family: var(--serif-en); font-size: 10px; color: var(--muted); letter-spacing: .12em; margin-top: 2px; }
.nav {
  display: flex;
  justify-content: center;
  gap: 18px;
  font-size: 13px;
  color: var(--muted);
}
.nav a { text-decoration: none; white-space: nowrap; }
.nav a:hover { color: var(--main); }
.header-actions { display: flex; gap: 10px; align-items: center; }
.tel-link { font-family: var(--serif-en); color: var(--main); font-weight: 700; text-decoration: none; white-space: nowrap; }
.mobile-menu { display: none; }
.mobile-menu summary {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  cursor: pointer;
  list-style: none;
}
.mobile-menu summary::-webkit-details-marker { display: none; }
.menu-lines,
.menu-lines::before,
.menu-lines::after {
  content: "";
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--main);
}
.menu-lines { position: relative; }
.menu-lines::before { position: absolute; top: -6px; left: 0; }
.menu-lines::after { position: absolute; top: 6px; left: 0; }
.mobile-nav {
  position: absolute;
  left: 16px;
  right: 16px;
  top: calc(100% + 8px);
  display: grid;
  gap: 4px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255,255,255,.98);
  box-shadow: var(--shadow);
}
.mobile-nav a {
  padding: 12px 14px;
  border-radius: 8px;
  color: var(--main);
  font-weight: 800;
  text-decoration: none;
}
.mobile-nav a:hover { background: var(--sub); }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 12px 20px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  border: 1px solid transparent;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary,
.btn-primary:visited,
.btn-primary:hover { background: var(--accent); color: #fff; box-shadow: 0 14px 34px rgba(255, 111, 97, .28); }
.btn-secondary { background: rgba(255,255,255,.72); border-color: var(--line); color: var(--main); }
.btn-dark { background: var(--main); color: #fff; }
.section {
  position: relative;
  padding: 96px 22px;
  overflow: hidden;
}
.section-inner { max-width: 1120px; margin: 0 auto; position: relative; z-index: 1; }
.eyebrow {
  font-family: var(--serif-en);
  color: var(--accent);
  font-size: 14px;
  letter-spacing: .16em;
  text-transform: uppercase;
  margin: 0 0 14px;
}
.section-title {
  font-family: var(--mincho);
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.35;
  margin: 0 0 22px;
  color: var(--main);
  font-weight: 700;
}
.lead { font-size: 18px; color: var(--muted); max-width: 740px; }
.two-col {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: 56px;
  align-items: center;
}
.two-col.reverse { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); }
.image-panel {
  border-radius: 0 42px 42px 0;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--paper);
}
.image-panel.soft { border-radius: 28px; }
.image-panel img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.image-panel img[alt="倉富健翠先生の掲載写真"] {
  object-fit: contain;
  object-position: center;
  background: #fff;
}
.profile-archive-image {
  position: relative;
  min-height: 430px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow);
}
.profile-archive-image img {
  width: 100%;
  height: 100%;
  min-height: 430px;
  object-fit: cover;
  object-position: center top;
}
.profile-archive-image .frame {
  position: absolute;
  left: -12px;
  top: -12px;
  width: 96px;
  height: 96px;
  border-left: 3px solid var(--accent);
  border-top: 3px solid var(--accent);
}
.profile-archive-image .credit {
  position: absolute;
  left: 16px;
  bottom: 14px;
  color: #fff;
  font-family: var(--serif-en);
  font-size: 12px;
  letter-spacing: .1em;
  text-shadow: 0 1px 8px rgba(0,0,0,.6);
}
.note {
  color: var(--muted);
  font-size: 14px;
}
.ruled-list { border-top: 1px solid var(--line); }
.ruled-item {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 22px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}
.ruled-item b {
  font-family: var(--serif-en);
  font-size: 36px;
  color: var(--main);
  line-height: 1;
}
.bento {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.bento-card {
  background: rgba(255,255,255,.76);
  border: 1px solid var(--line);
  padding: 24px;
  border-radius: 8px;
}
.bento-card h3, .feature h3 {
  margin: 0 0 10px;
  font-size: 20px;
  color: var(--main);
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.feature {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}
.feature img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.feature div { padding: 22px; }
.stats-band {
  background: var(--main);
  color: #fff;
}
.stats-grid {
  display: grid;
  grid-template-columns: 1.15fr repeat(3, 1fr);
  gap: 22px;
  align-items: end;
}
.stat-num {
  font-family: var(--serif-en);
  font-size: clamp(48px, 7vw, 92px);
  line-height: .9;
  color: #fff;
}
.stat-label { color: rgba(255,255,255,.76); margin-top: 12px; }
.media-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 34px;
}
.media-strip img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,.25);
}
.media-strip img[alt*="証"],
.media-strip img[alt*="認定"] {
  object-fit: contain;
  background: #fff;
}
.price-table {
  width: 100%;
  border-collapse: collapse;
  background: rgba(255,255,255,.82);
  border: 1px solid var(--line);
}
.price-table th, .price-table td {
  border-bottom: 1px solid var(--line);
  padding: 17px 18px;
  text-align: left;
}
.price-table th { color: var(--main); font-weight: 800; background: rgba(237,231,246,.7); }
.faq-list { display: grid; gap: 12px; }
.faq-list details {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0;
}
.faq-list summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 22px;
  color: var(--main);
  font-weight: 800;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list p { margin: 0; padding: 0 22px 20px; color: var(--muted); }
.steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}
.step {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
}
.step img { width: 54px; height: 54px; object-fit: contain; margin-bottom: 14px; }
.step b { font-family: var(--serif-en); color: var(--accent); font-size: 28px; display: block; }
.cta-section {
  padding: 86px 22px;
  background: linear-gradient(135deg, var(--main), #6e2bb3);
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: "";
  position: absolute;
  inset: -30%;
  background: radial-gradient(circle at 30% 30%, rgba(255,111,97,.28), transparent 34%), radial-gradient(circle at 70% 50%, rgba(237,231,246,.26), transparent 30%);
}
.cta-section .section-inner { max-width: 820px; }
.cta-section h2 { font-family: var(--mincho); font-size: clamp(30px, 4vw, 46px); line-height: 1.35; margin: 0 0 18px; }
.footer {
  background: #1b1028;
  color: #fff;
  padding: 54px 22px 28px;
}
.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
}
.footer a { color: inherit; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 14px 22px; }
.copyright { max-width: 1120px; margin: 36px auto 0; color: rgba(255,255,255,.58); font-size: 13px; }
.page-hero {
  padding: 92px 22px 70px;
  background: radial-gradient(circle at 85% 10%, rgba(255,111,97,.16), transparent 28%), linear-gradient(135deg, var(--sub), #fff);
}
.page-hero-inner { max-width: 1120px; margin: 0 auto; }
.page-hero h1 {
  font-family: var(--mincho);
  color: var(--main);
  font-size: clamp(38px, 5vw, 62px);
  line-height: 1.2;
  margin: 0 0 18px;
}
.simple-list { padding-left: 1.2em; }
.simple-list li + li { margin-top: 8px; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.gallery-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--line);
}
.certificate-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.certificate-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}
.certificate-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: contain;
  background: #eef;
}
.certificate-card div { padding: 18px; }
.certificate-card h3 { margin: 0 0 8px; color: var(--main); }
.subpage-card {
  background: rgba(255,255,255,.82);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 26px;
}
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (hover: none) {
  .btn, .nav a, .tel-link { min-height: 44px; }
}
@media (max-width: 980px) {
  .header-inner { grid-template-columns: 1fr auto; }
  .nav { grid-column: 1 / -1; justify-content: flex-start; overflow-x: auto; padding-bottom: 4px; }
  .header-actions .tel-link { display: none; }
  .two-col, .two-col.reverse, .footer-inner, .stats-grid { grid-template-columns: 1fr; }
  .bento, .feature-grid, .media-strip, .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
  .two-col,
  .two-col.reverse,
  .footer-inner,
  .stats-grid {
    grid-template-columns: 1fr;
  }
  .header-inner { gap: 10px; }
  .header-actions { justify-content: flex-end; }
  .section-title { font-size: clamp(27px, 7vw, 34px); line-height: 1.42; }
  .lead { font-size: 16px; }
  .certificate-grid { grid-template-columns: 1fr; }
  .profile-archive-image,
  .profile-archive-image img {
    min-height: 280px;
  }
}
@media (max-width: 640px) {
  body { font-size: 15px; }
  .section { padding: 68px 18px; }
  .site-header { position: sticky; }
  .header-inner { grid-template-columns: 1fr auto auto; padding: 12px 16px; position: relative; }
  .brand-text { font-size: 17px; }
  .nav { display: none; }
  .mobile-menu { display: block; order: 3; }
  .header-actions .btn { padding: 10px 14px; font-size: 13px; }
  .header-actions { order: 2; }
  .bento, .feature-grid, .media-strip, .gallery-grid, .steps { grid-template-columns: 1fr; }
  .ruled-item { grid-template-columns: 54px 1fr; }
  .price-table th, .price-table td { padding: 13px 10px; font-size: 14px; }
  .btn { width: 100%; padding-inline: 16px; }
  .hero-actions { width: 100%; }
  .header-actions .btn { width: auto; min-width: 92px; }
}
