:root {
  --pink: #e85f82;
  --pink-dark: #ce486c;
  --pink-soft: #ffe7ec;
  --blush: #fff6f5;
  --cream: #fffaf2;
  --ink: #3b2417;
  --muted: #7a6254;
  --green: #7f9d74;
  --line: #f4c8ce;
  --shadow: 0 18px 40px rgba(111, 61, 41, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  line-height: 1.8;
  background:
    radial-gradient(circle at 4% 21%, rgba(232, 95, 130, 0.12), transparent 19rem),
    radial-gradient(circle at 96% 62%, rgba(127, 157, 116, 0.1), transparent 18rem),
    linear-gradient(180deg, #fff 0%, var(--cream) 46%, #fff 100%);
}

body::before,
body::after {
  position: fixed;
  z-index: -1;
  color: rgba(232, 95, 130, 0.28);
  font-family: Georgia, serif;
  font-size: clamp(3rem, 7vw, 7rem);
  line-height: 1;
  pointer-events: none;
}

body::before {
  content: "✿";
  top: 10rem;
  left: 1.5rem;
  transform: rotate(-16deg);
}

body::after {
  content: "✿";
  right: 2rem;
  bottom: 5rem;
  transform: rotate(18deg);
}

a {
  color: inherit;
  text-decoration: none;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.5rem;
  align-items: center;
  padding: 0.8rem clamp(1rem, 4vw, 4rem);
  border-bottom: 1px solid rgba(244, 200, 206, 0.7);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 3px 16px rgba(82, 43, 29, 0.04);
  backdrop-filter: blur(16px);
  transition: background-color 240ms ease, box-shadow 240ms ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 7px 24px rgba(82, 43, 29, 0.1);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: max-content;
  gap: 0.6rem;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(1.1rem, 2vw, 1.55rem);
  letter-spacing: 0;
}

.brand strong {
  color: var(--pink);
  font-size: 1.18em;
  letter-spacing: 0.08em;
}

.site-nav {
  display: flex;
  min-width: 0;
  max-width: 100%;
  justify-content: center;
  gap: clamp(0.8rem, 2.6vw, 2rem);
  color: #5a3a28;
  font-size: 0.92rem;
  font-weight: 700;
  white-space: nowrap;
}

.site-nav a {
  position: relative;
  padding: 0.35rem 0;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: -0.2rem;
  left: 0;
  height: 2px;
  background: var(--pink);
  content: "";
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 2.75rem;
  border: 0;
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.header-cta {
  min-width: 10.5rem;
  padding: 0.6rem 1.1rem;
  color: #fff;
  background: linear-gradient(135deg, var(--pink), #ee7893);
  box-shadow: 0 8px 20px rgba(232, 95, 130, 0.26);
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.48fr) minmax(22rem, 0.52fr);
  min-height: min(760px, calc(100vh - 4.5rem));
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255, 246, 245, 0.92), rgba(255, 255, 255, 0.75) 47%, transparent 62%),
    linear-gradient(180deg, #fff, #fff7f4);
}

.hero::before {
  position: absolute;
  top: -3.5rem;
  left: -4rem;
  width: min(28vw, 20rem);
  aspect-ratio: 1;
  background:
    radial-gradient(circle at 34% 23%, rgba(246, 169, 184, 0.78) 0 4%, transparent 4.4%),
    radial-gradient(circle at 52% 31%, rgba(246, 169, 184, 0.72) 0 3.6%, transparent 4%),
    radial-gradient(circle at 27% 47%, rgba(246, 169, 184, 0.68) 0 3.4%, transparent 3.8%),
    radial-gradient(circle at 59% 55%, rgba(251, 211, 218, 0.76) 0 4.5%, transparent 5%),
    linear-gradient(145deg, transparent 42%, rgba(111, 61, 41, 0.16) 43% 44%, transparent 45%);
  content: "";
  opacity: 0.7;
  transform: rotate(-16deg);
}

.hero::after {
  position: absolute;
  right: -2rem;
  bottom: -1px;
  left: -2rem;
  height: 5rem;
  background: #fff;
  clip-path: polygon(0 62%, 35% 82%, 69% 54%, 100% 73%, 100% 100%, 0 100%);
  content: "";
}

.hero-copy {
  position: relative;
  z-index: 2;
  align-self: center;
  max-width: 42rem;
  padding: clamp(6rem, 10vw, 9rem) clamp(1.25rem, 5vw, 7rem) clamp(5rem, 8vw, 7rem);
}

.eyebrow,
.flower-label {
  margin: 0 0 0.7rem;
  color: var(--pink-dark);
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.hero h1,
.section h2 {
  margin: 0;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", "Times New Roman", serif;
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: 0;
}

.hero h1 {
  font-size: clamp(2.05rem, 3vw, 3.25rem);
}

.hero h1 span {
  color: var(--pink);
}

.mobile-break {
  display: none;
}

.lead {
  max-width: 35rem;
  margin: 1.25rem 0 1.8rem;
  font-size: clamp(1rem, 1.4vw, 1.15rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
}

.button {
  padding: 0.78rem 1.45rem;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease, filter 180ms ease;
}

.button:hover,
.button:focus-visible,
.header-cta:hover,
.header-cta:focus-visible {
  transform: translateY(-3px);
  filter: brightness(1.035);
}

.button-primary:hover,
.button-primary:focus-visible {
  box-shadow: 0 15px 28px rgba(206, 72, 108, 0.34);
}

.button-quiet:hover,
.button-quiet:focus-visible {
  background: #fff3f6;
  box-shadow: 0 9px 18px rgba(111, 61, 41, 0.1);
}

.header-cta:hover,
.header-cta:focus-visible {
  box-shadow: 0 12px 24px rgba(206, 72, 108, 0.32);
}

.button-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--pink), #ed7891);
  box-shadow: 0 12px 24px rgba(232, 95, 130, 0.28);
}

.button-quiet {
  color: var(--pink-dark);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.78);
}

.hero-image {
  position: relative;
  min-height: 32rem;
  overflow: hidden;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 500ms ease, filter 500ms ease;
}

@media (hover: hover) and (pointer: fine) {
  .hero-image:hover img {
    transform: scale(1.018);
    filter: drop-shadow(0 12px 20px rgba(72, 42, 30, 0.12));
  }
}

/* JavaScriptが利用できる場合だけ、控えめな登場アニメーションを有効にします。 */
.js .hero-image {
  opacity: 0;
  transform: translateY(8px);
}

.js .hero-copy > * {
  opacity: 0;
  transform: translateY(14px);
}

.js .hero.is-ready .hero-image {
  opacity: 1;
  transform: none;
  transition: opacity 800ms ease, transform 800ms ease;
}

.js .hero.is-ready .hero-image img {
  animation: hero-gentle-zoom 8s ease-out both;
}

.js .hero.is-ready .hero-copy > * {
  opacity: 1;
  transform: none;
  transition: opacity 650ms ease, transform 650ms ease;
}

.js .hero.is-ready .hero-copy > :nth-child(1) { transition-delay: 180ms; }
.js .hero.is-ready .hero-copy > :nth-child(2) { transition-delay: 280ms; }
.js .hero.is-ready .hero-copy > :nth-child(3) { transition-delay: 390ms; }
.js .hero.is-ready .hero-copy > :nth-child(4) { transition-delay: 500ms; }

@keyframes hero-gentle-zoom {
  from { transform: scale(1); }
  to { transform: scale(1.025); }
}

.js .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 600ms ease, transform 600ms ease;
  transition-delay: var(--reveal-delay, 0ms);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

.section {
  position: relative;
  padding: clamp(4rem, 8vw, 7rem) clamp(1rem, 4vw, 4rem);
}

.section-inner {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.narrow {
  width: min(760px, 100%);
  text-align: center;
}

.flower-label {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.flower-label::before,
.flower-label::after {
  color: rgba(232, 95, 130, 0.65);
  content: "✿";
  font-size: 1.1rem;
}

.section h2 {
  margin-bottom: 1.2rem;
  font-size: clamp(1.8rem, 3vw, 2.65rem);
}

.intro {
  background: #fff;
}

.intro p:not(.flower-label) {
  margin: 0.45rem auto;
}

.features {
  border-top: 1px solid rgba(244, 200, 206, 0.65);
  background:
    linear-gradient(180deg, #fff, var(--blush)),
    radial-gradient(circle at 50% 0, rgba(232, 95, 130, 0.1), transparent 24rem);
  text-align: center;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.2rem;
  margin-top: 2rem;
  text-align: left;
}

.feature-card,
.access-card,
.info-list,
.contact-panel {
  border: 1px solid rgba(244, 200, 206, 0.78);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow);
}

.feature-card {
  padding: 1.55rem;
}

.feature-icon {
  display: grid;
  width: 4.5rem;
  height: 4.5rem;
  margin-bottom: 1rem;
  place-items: center;
  border: 2px solid #f3c6cf;
  border-radius: 50%;
  color: var(--pink);
  background: #fff3f6;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 1.75rem;
  font-weight: 800;
}

.feature-card h3,
.access-card h3 {
  margin: 0 0 0.45rem;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 1.22rem;
  line-height: 1.55;
}

.feature-card p,
.access-card p,
.teacher p,
.contact p,
.lesson-band p {
  margin: 0;
  color: var(--muted);
}

.lesson-band {
  background:
    linear-gradient(100deg, rgba(255, 255, 255, 0.95), rgba(255, 246, 245, 0.9)),
    radial-gradient(circle at 84% 18%, rgba(127, 157, 116, 0.13), transparent 20rem);
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(20rem, 1.1fr);
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: center;
}

.lesson-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.4rem;
}

.lesson-notes span {
  padding: 0.35rem 0.75rem;
  border: 1px solid rgba(127, 157, 116, 0.35);
  border-radius: 999px;
  color: #49663f;
  background: #f3f8ee;
  font-size: 0.9rem;
  font-weight: 800;
}

.info-list {
  margin: 0;
  padding: 0.3rem 1.5rem;
}

.info-list div {
  display: grid;
  grid-template-columns: 9.5rem 1fr;
  gap: 1rem;
  padding: 1.05rem 0;
  border-bottom: 1px solid rgba(244, 200, 206, 0.72);
}

.info-list div:last-child {
  border-bottom: 0;
}

.info-list dt {
  color: var(--pink-dark);
  font-weight: 800;
}

.info-list dd {
  margin: 0;
}

.teacher {
  background: #fff;
}

.teacher-layout {
  display: grid;
  grid-template-columns: 12rem minmax(0, 1fr);
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: center;
  width: min(880px, 100%);
}

.teacher-mark {
  display: grid;
  aspect-ratio: 1;
  place-items: center;
  border-radius: 50%;
  background:
    radial-gradient(circle, #fff 0 45%, transparent 46%),
    linear-gradient(135deg, #ffe5eb, #fff8ed);
  box-shadow: var(--shadow);
}

.teacher-mark img {
  width: 56%;
  animation: flower-float 5s ease-in-out infinite;
}

@keyframes flower-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

.kana {
  color: var(--pink-dark) !important;
  font-weight: 800;
}

.access {
  background: var(--blush);
  text-align: center;
}

.access-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.7rem;
  text-align: left;
}

.access-card {
  padding: 1.45rem;
}

.contact {
  background:
    linear-gradient(120deg, rgba(232, 95, 130, 0.12), rgba(127, 157, 116, 0.1)),
    #fff;
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem;
  align-items: center;
  padding: clamp(1.5rem, 4vw, 3rem);
}

.contact-action {
  display: grid;
  gap: 0.8rem;
  justify-items: stretch;
  min-width: 17rem;
}

.phone {
  color: var(--pink-dark);
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
}

.site-footer {
  padding: 2rem 1rem;
  color: #fff;
  background: #42281b;
  text-align: center;
}

.site-footer p,
.site-footer small {
  margin: 0;
}

@media (max-width: 1040px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .site-nav {
    grid-column: 1 / -1;
    justify-content: flex-start;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    padding-bottom: 0.1rem;
  }

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

  .hero-copy {
    padding-top: 5rem;
    padding-bottom: 3rem;
  }

  .hero-image {
    min-height: 24rem;
  }

  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  body {
    line-height: 1.75;
  }

  .site-header {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.7rem;
    padding: 0.7rem 1rem;
  }

  .menu-toggle {
    position: relative;
    display: grid;
    width: 2.8rem;
    height: 2.8rem;
    padding: 0.7rem;
    place-content: center;
    gap: 0.3rem;
    border: 1px solid rgba(244, 200, 206, 0.9);
    border-radius: 50%;
    color: var(--pink-dark);
    background: #fff7f8;
    cursor: pointer;
    transition: background-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
  }

  .menu-toggle:hover,
  .menu-toggle:focus-visible {
    background: var(--pink-soft);
    box-shadow: 0 6px 16px rgba(206, 72, 108, 0.16);
  }

  .menu-toggle span {
    display: block;
    width: 1.25rem;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    transition: transform 220ms ease, opacity 180ms ease;
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(0.4rem) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-0.4rem) rotate(-45deg);
  }

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

  .brand img {
    width: 32px;
    height: 32px;
  }

  .header-cta {
    min-width: 0;
    padding: 0.55rem 0.8rem;
    font-size: 0.85rem;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: grid;
    grid-column: auto;
    gap: 0;
    max-height: 0;
    padding: 0 1rem;
    overflow: hidden;
    visibility: hidden;
    border-top: 0 solid transparent;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 12px 24px rgba(82, 43, 29, 0.1);
    font-size: 0.84rem;
    opacity: 0;
    transform: translateY(-0.5rem);
    transition: max-height 280ms ease, padding 280ms ease, opacity 200ms ease, transform 200ms ease, visibility 0s linear 280ms;
  }

  .site-nav.is-open {
    max-height: 22rem;
    padding: 0.45rem 1rem 0.8rem;
    visibility: visible;
    border-top-width: 1px;
    border-top-color: rgba(244, 200, 206, 0.7);
    opacity: 1;
    transform: none;
    transition-delay: 0s;
  }

  .site-nav a {
    padding: 0.7rem 0.25rem;
    border-bottom: 1px solid rgba(244, 200, 206, 0.48);
  }

  .site-nav a:last-child {
    border-bottom: 0;
  }

  .site-nav a::after {
    display: none;
  }

  .header-cta {
    display: none;
  }

  .hero::before {
    width: 13rem;
  }

  .hero-copy {
    order: 2;
    padding: 2.2rem 1.1rem 3.8rem;
  }

  .hero h1 {
    font-size: clamp(2rem, 10vw, 2.75rem);
  }

  .mobile-break {
    display: block;
  }

  .button {
    width: 100%;
  }

  .hero-image {
    order: 1;
    min-height: 0;
    aspect-ratio: 4 / 3;
    margin-bottom: 0.25rem;
  }

  .hero-image img {
    object-position: center 52%;
  }

  .section {
    padding: 3.5rem 1rem;
  }

  .feature-grid,
  .two-column,
  .teacher-layout,
  .access-grid,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .teacher-layout {
    text-align: center;
  }

  .teacher-mark {
    width: min(12rem, 70vw);
    margin: 0 auto;
  }

  .info-list {
    padding: 0.2rem 1rem;
  }

  .info-list div {
    grid-template-columns: 1fr;
    gap: 0.15rem;
  }

  .contact-action {
    min-width: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }

  .js .hero-image,
  .js .hero-copy > *,
  .js .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 420px) {
  .brand span {
    font-size: 0.88rem;
  }

  .brand strong {
    letter-spacing: 0.04em;
  }

  .feature-card,
  .access-card {
    padding: 1.2rem;
  }
}
