:root {
  --bg: #f6efeb;
  --bg-strong: #f6e2db;
  --paper: #faf7f5;
  --white: #fff;
  --ink: #333;
  --muted: #72645e;
  --coral: #eb776f;
  --rose: #f28981;
  --brown: #a54726;
  --line: #ead7cf;
  --sage: #8fa08f;
  --shadow: 0 24px 56px rgba(165, 71, 38, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Noto Serif JP", "Yu Mincho", "Hiragino Mincho ProN", serif;
  line-height: 1.9;
  background: var(--bg);
  overflow-x: hidden;
}

img {
  display: block;
  width: 100%;
  height: auto;
}

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

.container {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  z-index: 30;
  top: 0;
  left: 0;
  width: 100%;
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  padding: 15px 42px;
  background: rgba(250, 247, 245, 0.94);
  border-bottom: 1px solid rgba(215, 172, 157, 0.38);
  backdrop-filter: blur(14px);
  transition: box-shadow 240ms ease, background-color 240ms ease;
}

.site-header.is-scrolled {
  background: rgba(250, 247, 245, 0.97);
  box-shadow: 0 8px 24px rgba(75, 64, 59, 0.1);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  min-width: 265px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  color: var(--white);
  font-family: "Cinzel", serif;
  font-size: 1.5rem;
  background: var(--coral);
  border-radius: 50%;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 1.13rem;
  font-weight: 600;
  line-height: 1.4;
}

.brand small {
  color: var(--brown);
  font-family: "Cinzel", serif;
  font-size: 0.78rem;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
  scrollbar-width: none;
}

.site-nav::-webkit-scrollbar {
  display: none;
}

.site-nav a {
  position: relative;
  padding: 8px 0;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 2px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

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

.site-nav .nav-action {
  padding: 10px 18px;
  color: var(--white);
  background: var(--coral);
  border-radius: 4px;
}

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

main {
  background: var(--paper);
}

section {
  scroll-margin-top: 104px;
}

.hero {
  position: relative;
  min-height: 760px;
  display: grid;
  grid-template-columns: 46% 54%;
  align-items: stretch;
  padding-top: 86px;
  overflow: hidden;
  background: var(--paper);
}

.hero-backdrop {
  position: absolute;
  z-index: 0;
  top: 86px;
  left: 0;
  width: 47%;
  height: calc(100% - 86px);
  background: var(--bg-strong);
}

.hero-copy {
  position: relative;
  z-index: 2;
  align-self: center;
  padding: 80px 3vw 92px 7.8vw;
}

.eyebrow,
.section-en {
  margin: 0 0 14px;
  color: var(--brown);
  font-family: "Cinzel", serif;
  font-size: 0.96rem;
}

.hero h1 {
  margin: 0;
  color: var(--brown);
  font-family: "Zen Old Mincho", "Noto Serif JP", serif;
  font-size: 2.85rem;
  font-weight: 500;
  line-height: 1.55;
}

.hero h1 span {
  display: block;
}

.hero-en {
  margin: 22px 0 0;
  color: var(--coral);
  font-family: "Cinzel", serif;
  font-size: 1.08rem;
  line-height: 1.8;
}

.hero-actions,
.trial-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 24px;
  font-weight: 600;
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(165, 71, 38, 0);
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(165, 71, 38, 0.16);
}

.button-primary {
  color: var(--white);
  background: var(--coral);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--brown);
}

.button-outline {
  color: var(--brown);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--brown);
}

.hero-image {
  position: relative;
  z-index: 1;
  align-self: stretch;
  min-height: 674px;
  margin: 52px 0 74px;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-notes {
  position: absolute;
  z-index: 3;
  left: 7.8vw;
  bottom: 38px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 760px;
}

.hero-notes span {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 15px;
  color: var(--brown);
  font-size: 0.86rem;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--line);
  border-radius: 4px;
}

.intro-band,
.lesson-band,
.trial-section {
  background: var(--bg);
}

.intro-band,
.point-section,
.lesson-band,
.info-section,
.trial-section {
  padding: 104px 0;
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 72px;
  align-items: center;
}

.photo-collage {
  position: relative;
  min-height: 590px;
}

.photo-collage::before {
  content: "";
  position: absolute;
  left: 10%;
  top: 7%;
  width: 52%;
  height: 74%;
  background: var(--paper);
  border: 1px solid var(--line);
}

.photo-collage img {
  position: absolute;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.photo-main {
  top: 0;
  left: 0;
  width: 72%;
  height: 370px;
}

.photo-small-a {
  right: 0;
  top: 250px;
  width: 45%;
  height: 250px;
}

.photo-small-b {
  left: 14%;
  bottom: 0;
  width: 52%;
  height: 230px;
}

.section-copy h2,
.section-heading h2,
.lesson-copy h2,
.trial-copy h2 {
  margin: 0;
  color: var(--brown);
  font-family: "Zen Old Mincho", "Noto Serif JP", serif;
  font-size: 2.35rem;
  font-weight: 500;
  line-height: 1.6;
}

.section-copy p:not(.section-en),
.lesson-copy > p,
.trial-copy p {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 1rem;
}

.section-heading {
  width: min(720px, 100%);
  margin: 0 auto 48px;
  text-align: center;
}

.section-heading p:not(.section-en) {
  margin: 14px 0 0;
  color: var(--muted);
}

.point-section {
  background: var(--paper);
}

.point-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.point-card {
  position: relative;
  min-height: 302px;
  padding: 30px 24px 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 36px rgba(165, 71, 38, 0.08);
}

.point-number {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 18px;
  color: var(--white);
  font-family: "Cinzel", serif;
  font-size: 1.45rem;
  background: var(--rose);
  border-radius: 50%;
}

.point-card h3,
.lesson-list h3,
.access-note h3 {
  margin: 0 0 10px;
  color: var(--brown);
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.7;
}

.point-card p,
.lesson-list p,
.access-note p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.lesson-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 68px;
  align-items: center;
}

.lesson-list {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.lesson-list article {
  padding: 20px 24px;
  background: rgba(255, 255, 255, 0.74);
  border-left: 4px solid var(--coral);
  border-radius: 8px;
}

.lesson-image img {
  aspect-ratio: 5 / 4;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.info-section {
  background:
    linear-gradient(rgba(250, 247, 245, 0.9), rgba(250, 247, 245, 0.96)),
    url("assets/classroom-piano.png") center / cover no-repeat;
}

.info-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
  gap: 28px;
  align-items: start;
}

.info-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.info-list div {
  display: grid;
  grid-template-columns: 124px minmax(0, 1fr);
  gap: 16px;
  min-height: 74px;
  padding: 18px 20px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.info-list div:nth-child(2n) {
  border-right: 0;
}

.info-list div:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.info-list dt {
  color: var(--brown);
  font-weight: 600;
}

.info-list dd {
  margin: 0;
  color: var(--ink);
}

.access-note {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.access-note img {
  height: 250px;
  object-fit: cover;
}

.access-note div {
  padding: 24px;
}

.gallery-strip {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  background: var(--white);
}

.gallery-strip img {
  height: 360px;
  object-fit: cover;
  transition: transform 500ms cubic-bezier(0.22, 1, 0.36, 1);
}

@media (hover: hover) and (pointer: fine) {
  .gallery-strip {
    overflow: hidden;
  }

  .gallery-strip img:hover {
    transform: scale(1.018);
  }
}

/* JavaScriptが有効な場合だけ初期状態を隠し、未対応環境でも内容を表示します。 */
.js-enabled .reveal-item {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 700ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.js-enabled .reveal-item.is-visible {
  opacity: 1;
  transform: translateY(0);
  will-change: auto;
}

.js-enabled .hero-image.hero-enter {
  opacity: 0;
  transform: scale(1.015);
  animation: hero-image-in 1200ms cubic-bezier(0.22, 1, 0.36, 1) 100ms forwards;
}

.js-enabled .hero-copy.hero-enter,
.js-enabled .hero-notes.hero-enter {
  opacity: 0;
  transform: translateY(12px);
  animation: hero-copy-in 800ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.js-enabled .hero-copy.hero-enter {
  animation-delay: 420ms;
}

.js-enabled .hero-notes.hero-enter {
  animation-delay: 650ms;
}

@keyframes hero-image-in {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes hero-copy-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.trial-section {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(246, 226, 219, 0.95), rgba(250, 247, 245, 0.84)),
    url("assets/piano-hands.png") center / cover no-repeat;
}

.trial-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 12px;
  background: var(--coral);
}

.trial-layout {
  min-height: 380px;
  display: flex;
  align-items: center;
}

.trial-copy {
  width: min(700px, 100%);
}

.trial-copy p {
  max-width: 620px;
  color: var(--ink);
}

.site-footer {
  padding: 34px 0;
  color: var(--white);
  background: #4b403b;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-inner strong {
  display: block;
  font-size: 1.05rem;
  font-weight: 600;
}

.footer-inner p {
  margin: 4px 0 0;
  color: #f6e2db;
  font-size: 0.9rem;
}

.footer-inner a {
  color: #f6e2db;
  font-family: "Cinzel", serif;
  font-size: 0.9rem;
}

@media (max-width: 1080px) {
  .site-header {
    padding: 14px 24px;
  }

  .site-nav {
    gap: 16px;
  }

  .hero h1 {
    font-size: 2.36rem;
  }

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

@media (max-width: 900px) {
  .site-header {
    position: sticky;
    min-height: auto;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .brand {
    min-width: 0;
    justify-content: center;
  }

  .site-nav {
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 6px;
  }

  section {
    scroll-margin-top: 132px;
  }

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

  .hero-backdrop {
    top: 0;
    width: 100%;
    height: 58%;
  }

  .hero-copy {
    padding: 58px 24px 34px;
  }

  .hero-image {
    min-height: 420px;
    margin: 0;
  }

  .hero-notes {
    position: static;
    padding: 18px 24px 30px;
    background: var(--paper);
  }

  .about-layout,
  .lesson-layout,
  .info-layout {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .photo-collage {
    min-height: 520px;
  }

  .info-list {
    grid-template-columns: 1fr;
  }

  .info-list div,
  .info-list div:nth-child(2n) {
    border-right: 0;
  }

  .info-list div:nth-last-child(2) {
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 30px, 1120px);
  }

  .site-header {
    padding: 12px 15px;
  }

  .brand {
    justify-content: flex-start;
  }

  .brand-mark {
    width: 42px;
    height: 42px;
    font-size: 1.3rem;
  }

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

  .brand small {
    font-size: 0.7rem;
  }

  .site-nav {
    gap: 14px;
    font-size: 0.82rem;
  }

  .site-nav .nav-action {
    padding: 8px 12px;
  }

  .hero-copy {
    order: 2;
    padding: 45px 20px 28px;
  }

  .hero h1 {
    font-size: 1.95rem;
    line-height: 1.55;
  }

  .hero h1 span {
    display: block;
  }

  .hero-en {
    font-size: 0.94rem;
  }

  .hero-actions,
  .trial-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hero-image {
    order: 1;
    min-height: 310px;
  }

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

  .hero-notes span {
    width: 100%;
  }

  .hero-notes {
    order: 3;
  }

  .intro-band,
  .point-section,
  .lesson-band,
  .info-section,
  .trial-section {
    padding: 68px 0;
  }

  .photo-collage {
    min-height: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .photo-collage::before {
    display: none;
  }

  .photo-collage img,
  .photo-main,
  .photo-small-a,
  .photo-small-b {
    position: static;
    width: 100%;
    height: 210px;
  }

  .photo-main {
    grid-column: 1 / -1;
  }

  .section-copy h2,
  .section-heading h2,
  .lesson-copy h2,
  .trial-copy h2 {
    font-size: 1.82rem;
    line-height: 1.55;
  }

  .point-grid {
    grid-template-columns: 1fr;
  }

  .point-card {
    min-height: auto;
    padding: 24px 20px;
  }

  .info-list div {
    grid-template-columns: 1fr;
    gap: 4px;
    min-height: 0;
    padding: 15px 16px;
  }

  .gallery-strip {
    grid-template-columns: 1fr;
  }

  .gallery-strip img {
    height: 260px;
  }

  .trial-layout {
    min-height: auto;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 400px) {
  .hero h1 {
    font-size: 1.72rem;
  }
}

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

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

  .js-enabled .reveal-item,
  .js-enabled .hero-enter {
    opacity: 1;
    transform: none;
  }
}
