:root {
  --color-text: #151515;
  --color-muted: #5f646d;
  --color-line: #d9dde5;
  --color-bg: #f7f4ef;
  --color-panel: #ffffff;
  --color-accent: #0f766e;
  --color-accent-dark: #134e4a;
  --font-sans: "Zen Kaku Gothic New", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-serif: "Zen Old Mincho", "Zen Antique", serif;
  --content-max: 1200px;
  --header-height: 72px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-snap-type: y mandatory;
}

body {
  margin: 0;
  color: var(--color-text);
  background: var(--color-bg);
  font-family: var(--font-sans);
  line-height: 1.7;
}

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

.sp-break {
  display: none;
}

.quote-break {
  display: none;
}

h1,
h2,
h3,
.site-logo {
  font-family: var(--font-serif);
}

.site-header {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(16px, 2.8vw, 46px);
  min-height: var(--header-height);
  padding: 12px clamp(20px, 4.8vw, 94px);
  color: #fff;
  background: transparent;
  transition: color 220ms ease;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.7vw, 30px);
  margin: 0;
  flex: 0 0 auto;
  line-height: 1;
  white-space: nowrap;
}

.site-logo a {
  display: block;
  width: clamp(178px, 15vw, 264px);
  line-height: 0;
}

.site-logo img {
  display: block;
  width: 100%;
  height: auto;
  transition: filter 220ms ease, opacity 220ms ease;
}

.site-logo-kana {
  color: rgba(255, 255, 255, 0.92);
  font-family: var(--font-serif);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.15em;
  line-height: 1;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.52);
}

.menu-toggle,
.menu-backdrop {
  display: none;
}

body.menu-open {
  overflow: hidden;
}

.nav-list {
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-end;
  align-items: center;
  gap: 8px clamp(14px, 1.8vw, 30px);
  margin: 0;
  padding: 0;
  list-style: none;
  font-family: var(--font-serif);
  font-size: clamp(14px, 1.2vw, 18px);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  transition: text-shadow 220ms ease;
}

.nav-list a {
  display: block;
  padding: 4px 0;
}

.nav-contact {
  min-width: 156px;
  padding: 9px 20px 11px !important;
  border-radius: 999px;
  background: #fff0d6;
  color: #3d352b;
  font-family: var(--font-sans);
  font-weight: 800;
  letter-spacing: 0;
  text-align: center;
  text-shadow: none;
  box-shadow: inset 0 0 18px rgba(125, 83, 34, 0.16), 0 3px 14px rgba(0, 0, 0, 0.18);
  transition: background-color 220ms ease, color 220ms ease, box-shadow 220ms ease;
}

@media (max-width: 1280px) {
  .site-header {
    gap: 20px;
    padding-inline: clamp(18px, 3.2vw, 54px);
  }

  .site-logo {
    gap: 16px;
  }

  .site-logo a {
    width: clamp(168px, 14vw, 220px);
  }

  .site-logo-kana {
    letter-spacing: 0.28em;
  }

  .nav-list {
    gap: 8px clamp(10px, 1.2vw, 18px);
    font-size: clamp(13px, 1vw, 16px);
  }

  .nav-contact {
    min-width: 140px;
    padding-inline: 18px !important;
  }
}

@media (max-width: 1120px) {
  .site-logo-kana {
    display: none;
  }
}

.section-nav {
  display: block;
  position: fixed;
  z-index: 20;
  top: 50%;
  right: clamp(16px, 3vw, 40px);
  transform: translateY(-50%);
}

.section-nav-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.section-dot {
  display: block;
  width: 12px;
  height: 12px;
  border: 1px solid rgba(83, 62, 43, 0.62);
  border-radius: 50%;
  background: rgba(185, 169, 145, 0.58);
  box-shadow: 0 0 0 1px rgba(255, 245, 226, 0.34), 0 2px 8px rgba(46, 35, 25, 0.2);
  transition: background-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.section-dot:hover,
.section-dot[aria-current="true"] {
  background: #8a6d4c;
  border-color: rgba(73, 49, 30, 0.82);
  box-shadow: 0 0 0 5px rgba(138, 109, 76, 0.2), 0 0 18px rgba(86, 61, 38, 0.5);
  transform: scale(1.28);
}

.snap-section {
  display: grid;
  min-height: 100svh;
  padding: calc(var(--header-height) + 40px) clamp(20px, 6vw, 88px) 64px;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.snap-section:nth-child(even) {
  background: #ffffff;
}

.snap-section:nth-child(odd):not(.hero) {
  background: #eef4f1;
}

.section-inner {
  align-self: center;
  width: min(var(--content-max), 100%);
  margin: 0 auto;
  position: relative;
}

.hero {
  color: #fff;
  background:
    linear-gradient(90deg, rgba(9, 13, 16, 0.56), rgba(9, 13, 16, 0.18) 56%, rgba(9, 13, 16, 0.42)),
    url("assets/mv_bg_image0.jpg") center / cover;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(0deg, rgba(9, 13, 16, 0.48), rgba(9, 13, 16, 0) 42%);
  pointer-events: none;
}

.hero_bg1,
.hero_bg2 {
  position: absolute;
  z-index: 0;
  display: block;
  height: auto;
  opacity: 0;
  pointer-events: none;
  animation-name: heroFadeIn;
  animation-duration: 1.4s;
  animation-timing-function: ease;
  animation-fill-mode: forwards;
}

.hero_bg1 {
  width: min(69%, 1030px);
  right: 0;
  bottom: 0;
  opacity: 0.86;
  animation-delay: 0.35s;
}

.hero_bg2 {
  width: min(100%, 1300px);
  left: max(-250px, -14vw);
  top: 0;
  opacity: 0.78;
  animation-delay: 1.05s;
}

.hero .section-inner {
  z-index: 1;
  align-self: center;
  width: min(var(--content-max), 100%);
  margin: clamp(28px, 6vh, 84px) auto 0;
  padding-left: clamp(10px, 2vw, 28px);
}
@keyframes heroFadeIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.hero h1,
.snap-section h2 {
  margin: 0 0 20px;
  line-height: 1.15;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 780px;
  margin-bottom: clamp(42px, 7vh, 76px);
  color: #fff;
  font-size: clamp(40px, 4vw, 64px);
  font-weight: 700;
  letter-spacing: 0.02em;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.44);
}

.hero .lead {
  max-width: 720px;
  margin: 0 0 clamp(30px, 4.2vh, 48px);
  color: rgba(255, 255, 255, 0.94);
  font-family: var(--font-serif);
  font-size: 19px;
  line-height: 1.72;
  letter-spacing: 0.06em;
  text-shadow: 0 3px 14px rgba(0, 0, 0, 0.52);
}

.hero-name {
  display: block;
  width: min(444px, 44vw);
  height: auto;
  margin: 0 0 clamp(36px, 6vh, 66px);
}

.hero-actions {
  display: flex;
  flex-wrap: nowrap;
  gap: clamp(18px, 2.4vw, 44px);
  align-items: center;
}

.hero-actions a {
  display: block;
  width: clamp(208px, 16vw, 280px);
  max-width: 280px;
  flex: 0 1 280px;
  transition: filter 180ms ease, transform 180ms ease;
}

.hero-actions a:hover {
  filter: brightness(1.05);
  transform: translateY(-2px);
}

.hero-actions img {
  display: block;
  width: 100%;
  height: auto;
}

@media (min-width: 761px) and (max-height: 850px) {
  .hero {
    padding-top: calc(var(--header-height) + 18px);
    padding-bottom: 30px;
  }

  .hero .section-inner {
    width: min(var(--content-max), 100%);
    margin: 24px auto 0;
    padding-left: clamp(10px, 2vw, 28px);
  }

  .hero h1 {
    margin-bottom: 28px;
    font-size: clamp(42px, 4.1vw, 54px);
    line-height: 1.12;
  }

  .hero .lead {
    margin-bottom: 20px;
    font-size: 19px;
    line-height: 1.55;
  }

  .hero-name {
    width: min(330px, 31vw);
    margin-bottom: 24px;
  }

  .hero-actions {
    flex-wrap: nowrap;
    gap: 24px;
  }

  .hero-actions a {
    width: clamp(192px, 16.8vw, 280px);
    max-width: 280px;
    flex-basis: 280px;
  }
}

#section-02 {
  position: relative;
  overflow: hidden;
  color: #fff;
  background-image: url(assets/shojyunan_bg2.jpg);
  background-size: cover;
  background-position: 10%;
}

#section-02::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(circle at 31% 33%, rgba(235, 219, 163, 0.18), transparent 28%),
    linear-gradient(90deg, rgba(10, 11, 10, 0.1), rgba(140, 132, 107, 0.34) 45%, rgba(142, 132, 106, 0.62)),
    linear-gradient(0deg, rgba(217, 207, 178, 0.68), rgba(217, 207, 178, 0) 26%);
  pointer-events: none;
}

#section-02::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: rgba(9, 10, 9, 0.18);
  pointer-events: none;
}

.profile-bg-moji {
  position: absolute;
  z-index: 1;
  right: clamp(18px, 4vw, 72px);
  bottom: clamp(18px, 3vh, 42px);
  width: min(56vw, 780px);
  height: auto;
  opacity: 0.48;
  pointer-events: none;
}

.js-enabled .profile-bg-moji {
  opacity: 0;
}

.profile-bg-moji.scrollin {
  opacity: 0.48 !important;
}

#section-02 .profile-content {
  z-index: 2;
  align-self: center;
  width: min(900px, 52vw);
  margin: clamp(30px, 6vh, 76px) clamp(48px, 9vw, 160px) 0 auto;
  text-align: right;
}

#section-02 .profile-content h2 {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  gap: 18px;
  margin-bottom: clamp(30px, 4vh, 46px);
  color: #fff;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.08em;
  text-shadow: 0 4px 16px rgba(0, 0, 0, 0.36);
}

#section-02 .profile-content h2 img {
  display: block;
  width: min(193px, 18vw);
  height: auto;
}

#section-02 .profile-content h2 small {
  font-size: 28px;
  font-weight: 400;
  letter-spacing: 0.1em;
}

#section-02 .profile-lead {
  margin-bottom: clamp(46px, 7vh, 76px);
}

#section-02 .profile-lead p,
#section-02 .profile-body p {
  display: block;
  width: 100%;
  max-width: none;
  margin: 0;
  color: #fff;
  text-align: right;
  text-shadow: 0 3px 13px rgba(0, 0, 0, 0.42);
}

#section-02 .profile-lead p {
  font-family: var(--font-serif);
  font-size: 19px;
  line-height: 1.86;
  letter-spacing: 0.1em;
}

#section-02 .profile-body p {
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.72;
  letter-spacing: 0.06em;
}
#section-03 {
  position: relative;
  overflow: hidden;
  background-image: url(assets/shojyunan_bg3.jpg);
  background-size: cover;
  background-position: center;
}

#section-03::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
 
}

#section-03 .path-content {
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(420px, 1fr) minmax(360px, 0.82fr);
  gap: clamp(48px, 7vw, 110px);
  align-items: center;
  margin-top: clamp(12px, 3vh, 34px);
}

.path-text {
  padding-left: clamp(10px, 2vw, 28px);
}

#section-03 h2 {
  margin-bottom: clamp(24px, 3.8vh, 44px);
  color: #111;
  font-size: clamp(34px, 3vw, 46px);
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: 0.16em;
}

.path-lead {
  margin-bottom: clamp(20px, 3vh, 32px);
}

#section-03 .path-lead p {
  max-width: none;
  margin: 0;
  color: #111;
  font-family: var(--font-serif);
  font-size: 19px;
  line-height: 1.78;
  letter-spacing: 0.08em;
}

.path-history {
  display: grid;
  gap: 4px;
  max-width: 650px;
  margin: 0;
  padding: 18px 22px;
  background: rgba(255, 255, 255, 0.66);
  color: #333;
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.55;
  letter-spacing: 0.05em;
}

.path-history div {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 14px;
}

.path-history dt {
  font-weight: 400;
}

.path-history dd {
  margin: 0;
}

.path-images {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(24px, 4vh, 40px);
}

.path-image-button {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.path-images img {
  display: block;
  width: 100%;
  aspect-ratio: 713 / 411;
  object-fit: cover;
  box-shadow: 0 8px 24px rgba(54, 42, 20, 0.12);
}

.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.image-lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.image-lightbox__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(10, 10, 9, 0.78);
}

.image-lightbox__dialog {
  position: relative;
  z-index: 1;
  width: min(920px, 92vw);
  max-height: 88svh;
}

.image-lightbox__image {
  display: block;
  width: 100%;
  max-height: 88svh;
  object-fit: contain;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.38);
}

.image-lightbox__close {
  position: absolute;
  top: -14px;
  right: -14px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: #fff0d6;
  color: #2b261f;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.24);
}

@media (min-width: 761px) and (max-width: 1100px) {
  #section-03 {
    padding-top: calc(var(--header-height) + 22px);
    padding-bottom: 32px;
  }

  #section-03 .path-content {
    grid-template-columns: minmax(390px, 1fr) minmax(310px, 0.78fr);
    gap: clamp(28px, 5vw, 54px);
    margin-top: 0;
  }

  #section-03 h2 {
    margin-bottom: 18px;
    font-size: clamp(30px, 3.5vw, 38px);
  }

  .path-lead {
    margin-bottom: 16px;
  }

  #section-03 .path-lead p {
    font-size: 18px;
    line-height: 1.58;
    letter-spacing: 0.06em;
  }

  .path-history {
    gap: 2px;
    padding: 14px 18px;
    font-size: 12px;
    line-height: 1.42;
  }

  .path-history div {
    grid-template-columns: 60px 1fr;
    gap: 10px;
  }

  .path-images {
    gap: 18px;
  }

  .path-images img {
    width: min(100%, 360px);
    justify-self: end;
  }

  #section-06 .price-content {
    width: min(640px, 68vw);
    margin-right: clamp(48px, 7vw, 86px);
  }

  #section-06 h2 {
    margin-bottom: 32px;
    font-size: clamp(28px, 3.4vw, 36px);
  }

  .price-list {
    gap: 22px;
  }

  .price-plan {
    gap: 18px;
    padding: 16px 20px;
  }

  .price-menu ul {
    grid-template-columns: repeat(3, max-content);
    gap: 7px 16px;
    font-size: 13px;
  }

  .price-fee {
    min-width: 104px;
  }

  .price-fee p {
    font-size: 20px;
  }
}
#section-04 {
  position: relative;
  overflow: hidden;
  color: #fff;
  background-image: url(assets/shojyunan_bg4.jpg);
  background-size: cover;
  background-position: 80%;
}

#section-04::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(0deg, rgba(34, 38, 36, 0.36), rgba(245, 235, 202, 0.26) 34%, rgba(246, 238, 210, 0.28)),
    linear-gradient(90deg, rgba(40, 44, 41, 0.44), rgba(63, 76, 74, 0.42) 46%, rgba(28, 36, 36, 0.16));
  pointer-events: none;
}

#section-04 .teacher-content {
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(220px, 0.68fr) minmax(360px, 1fr);
  gap: clamp(36px, 7vw, 138px);
  align-items: center;
  margin-top: clamp(10px, 3vh, 34px);
}

.teacher-photo {
  justify-self: center;
  width: min(310px, 27vw);
}

.teacher-photo img {
  display: block;
  width: 100%;
  height: auto;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
}

.teacher-text {
  text-align: right;
  padding-right: clamp(18px, 4vw, 54px);
}

#section-04 h2 {
  margin-bottom: clamp(44px, 6vh, 66px);
  color: #fff;
  font-size: clamp(36px, 3.2vw, 50px);
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: 0.08em;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.46);
}

.teacher-body {
  margin-bottom: clamp(36px, 5vh, 54px);
}

#section-04 .teacher-body p {
  max-width: none;
  margin: 0;
  color: #fff;
  font-family: var(--font-serif);
  font-size: 19px;
  line-height: 1.85;
  letter-spacing: 0.08em;
  text-align: right;
  text-shadow: 0 3px 14px rgba(0, 0, 0, 0.58);
}

.teacher-quote {
  width: min(540px, 100%);
  margin: 0 0 0 auto;
  padding: 30px 42px;
  background: rgba(20, 20, 18, 0.56);
  color: #fff;
  text-align: center;
}

.teacher-quote blockquote {
  margin: 0 0 14px;
  font-family: var(--font-serif);
  font-size: clamp(26px, 2.5vw, 36px);
  line-height: 1.3;
  letter-spacing: 0.08em;
}

.teacher-quote figcaption {
  font-family: var(--font-serif);
  font-size: 20px;
  letter-spacing: 0.08em;
}

@media (min-width: 761px) and (max-height: 850px) {
  #section-04 {
    padding-top: calc(var(--header-height) + 18px);
    padding-bottom: 30px;
  }

  #section-04 .teacher-content {
    margin-top: 0;
  }

  .teacher-photo {
    width: min(280px, 25vw);
  }

  #section-04 h2 {
    margin-bottom: 26px;
    font-size: clamp(32px, 3vw, 42px);
  }

  .teacher-body {
    margin-bottom: 28px;
  }

  #section-04 .teacher-body p {
    line-height: 1.65;
  }

  .teacher-quote {
    padding: 22px 34px;
  }

  .teacher-quote blockquote {
    font-size: clamp(24px, 2.2vw, 30px);
  }
}
#section-05 {
  position: relative;
  overflow: hidden;
  color: #fff;
  background-image: url(assets/shojyunan_bg5.jpg);
  background-size: cover;
  background-position: 90%;
}

#section-05::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
 
  pointer-events: none;
}

.shojyunan-bg-text {
  position: absolute;
  z-index: 1;
  left: clamp(-22px, -1vw, -8px);
  bottom: clamp(-14px, -2vh, 8px);
  color: rgba(255, 255, 255, 0.12);
  font-family: var(--font-serif);
  font-size: clamp(112px, 16vw, 220px);
  line-height: 0.9;
  letter-spacing: 0.04em;
  opacity: 1;
  pointer-events: none;
  white-space: nowrap;
}

.js-enabled .shojyunan-bg-text {
  opacity: 0;
}

.shojyunan-bg-text.scrollin {
  opacity: 1 !important;
}

#section-05 .shojyunan-content {
  z-index: 2;
  align-self: center;
  width: min(var(--content-max), 100%);
  margin-top: clamp(10px, 3vh, 34px);
}

#section-05 h2 {
  margin-bottom: clamp(56px, 9vh, 92px);
  color: #fff;
  font-size: clamp(28px, 2.7vw, 40px);
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: 0.08em;
  text-shadow: 0 4px 16px rgba(0, 0, 0, 0.54);
}

.shojyunan-lead {
  margin-bottom: clamp(94px, 14vh, 150px);
}

#section-05 .shojyunan-lead p {
  max-width: 680px;
  margin: 0;
  color: #fff;
  font-family: var(--font-serif);
  font-size: 19px;
  line-height: 1.9;
  letter-spacing: 0.08em;
  text-shadow: 0 3px 14px rgba(0, 0, 0, 0.58);
}

.shojyunan-note {
  color: #fff;
}

#section-05 .shojyunan-note p {
  max-width: 500px;
  margin: 0;
  color: #fff;
  font-family: var(--font-serif);
  letter-spacing: 0.08em;
  text-shadow: 0 3px 14px rgba(0, 0, 0, 0.58);
}

#section-05 .shojyunan-note-title {
  width: fit-content;
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.72);
  font-size: clamp(26px, 2.5vw, 34px);
  line-height: 1.35;
}

#section-05 .shojyunan-note p:not(.shojyunan-note-title) {
  font-size: 15px;
  line-height: 1.8;
}
#section-06 {
  position: relative;
  overflow: hidden;
  background-image: url(assets/shojyunan_bg8.jpg);
  background-size: cover;
  background-position: center;
  color: #111;
}

#section-06::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
 
  pointer-events: none;
}

#section-06 .price-content {
  z-index: 1;
  align-self: center;
  width: min(720px, 58vw);
  margin: clamp(22px, 5vh, 62px) clamp(48px, 6vw, 104px) 0 auto;
}

#section-06 h2 {
  margin-bottom: clamp(42px, 7vh, 76px);
  color: #111;
  font-size: clamp(30px, 3vw, 42px);
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: 0.08em;
}

.price-list {
  display: grid;
  gap: clamp(18px, 3.4vh, 28px);
}

.price-plan {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) max-content;
  gap: clamp(20px, 3vw, 42px);
  align-items: center;
  padding: clamp(18px, 2.6vh, 26px) clamp(22px, 3vw, 34px);
  background: rgba(255, 255, 255, 0.64);
  box-shadow: 0 10px 26px rgba(74, 55, 24, 0.08);
}

.price-number {
  position: absolute;
  z-index: 0;
  left: clamp(-118px, -8vw, -74px);
  top: 42%;
  width: clamp(94px, 9vw, 142px);
  height: auto;
  opacity: 0.82;
  transform: translate(-20px, -50%);
  pointer-events: none;
}

.js-enabled .price-number {
  opacity: 0;
}

.price-number.scrollin {
  opacity: 0.82 !important;
  transform: translate(0, -50%) !important;
}

.price-plan:nth-child(1) .price-number {
  transition-delay: 0ms;
}

.price-plan:nth-child(2) .price-number {
  transition-delay: 220ms;
}

.price-plan:nth-child(3) .price-number {
  transition-delay: 440ms;
}

.price-menu,
.price-fee {
  position: relative;
  z-index: 1;
}

.price-menu {
  align-self: end;
}

.price-menu ul {
  display: grid;
  grid-template-columns: repeat(4, max-content);
  gap: 9px 22px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-family: var(--font-serif);
  font-size: 15px;
  line-height: 1.55;
  letter-spacing: 0.04em;
}

.price-plan:nth-child(2) .price-menu ul {
  grid-template-columns: repeat(3, max-content);
}

.price-plan:nth-child(3) .price-menu ul {
  grid-template-columns: repeat(3, max-content);
}

.price-menu li::before {
  content: "□";
  margin-right: 2px;
  font-size: 0.9em;
}

.price-fee {
  align-self: end;
  min-width: 118px;
  padding-bottom: 0.12em;
  font-family: var(--font-serif);
  text-align: right;
  white-space: nowrap;
}

.price-fee p {
  max-width: none;
  margin: 0;
  color: #111;
  font-size: 24px;
  line-height: 1.25;
}

.price-fee p:first-child {
  margin-bottom: -2px;
  line-height: 1.05;
}

.price-note {
  max-width: none;
  margin: clamp(26px, 5vh, 48px) 0 0;
  color: #111;
  font-family: var(--font-serif);
  font-size: 15px;
  line-height: 1.7;
  letter-spacing: 0.04em;
}
#section-07 {
  position: relative;
  overflow: hidden;
  background-image: url(assets/shojyunan_bg9.jpg);
  background-size: cover;
  background-position: center;
  color: #111;
}

#section-07::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(90deg, rgba(252, 244, 221, 0.82), rgba(251, 243, 218, 0.2) 46%, rgba(252, 244, 221, 0.7)),
    linear-gradient(0deg, rgba(252, 244, 221, 0.6), rgba(252, 244, 221, 0.02) 48%, rgba(252, 244, 221, 0.62));
  pointer-events: none;
}

#section-07 .area-content {
  z-index: 1;
  align-self: center;
  width: min(var(--content-max), 100%);
  margin-top: clamp(10px, 3vh, 34px);
}

#section-07 h2 {
  margin-bottom: 28px;
  color: #111;
  font-size: clamp(28px, 2.5vw, 38px);
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: 0.12em;
}

.area-panel {
  width: min(520px, 42vw);
  background: rgba(255, 255, 255, 0.58);
  color: #111;
}

.area-summary {
  margin-bottom: 34px;
  padding: 34px 42px;
}

.area-summary ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-family: var(--font-serif);
  font-size: 17px;
  line-height: 1.6;
  letter-spacing: 0.05em;
}

.area-summary li::before {
  content: "■";
  margin-right: 4px;
  font-size: 0.72em;
}

.area-detail {
  padding: 42px;
}

.area-detail h3 {
  margin: 0 0 28px;
  color: #111;
  font-size: 24px;
  font-weight: 400;
  letter-spacing: 0.1em;
}

#section-07 .area-detail p {
  max-width: none;
  margin: 0;
  color: #111;
  font-family: var(--font-serif);
  font-size: 15px;
  line-height: 2;
  letter-spacing: 0.05em;
}
#section-08 {
  position: relative;
  overflow: hidden;
  background-image: url(assets/shojyunan_bg7.jpg);
  background-size: cover;
  background-position: center;
  color: #111;
}

#section-08::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  
  pointer-events: none;
}

#section-08 .flow-content {
  z-index: 1;
  align-self: center;
  width: min(var(--content-max), 100%);
  margin-top: clamp(8px, 3vh, 34px);
}

#section-08 h2 {
  margin-bottom: clamp(34px, 6vh, 62px);
  color: #111;
  font-size: clamp(28px, 2.5vw, 38px);
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: 0.1em;
}

.flow-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(28px, 6vw, 82px);
  align-items: start;
  margin-bottom: clamp(36px, 6vh, 64px);
}

.flow-step {
  display: block;
  width: 100%;
  max-width: 220px;
  height: auto;
  justify-self: center;
  opacity: 1;
}

.js-enabled .flow-step {
  opacity: 0;
}

.flow-step:nth-child(1) {
  transition-delay: 0ms;
}

.flow-step:nth-child(2) {
  transition-delay: 180ms;
}

.flow-step:nth-child(3) {
  transition-delay: 360ms;
}

.flow-step:nth-child(4) {
  transition-delay: 540ms;
}

.flow-actions {
  display: flex;
  justify-content: center;
  gap: clamp(30px, 6vw, 82px);
}

.flow-actions a {
  display: block;
  width: min(280px, 25.6vw);
  max-width: 280px;
  transition: filter 180ms ease, transform 180ms ease;
}

.flow-actions a:hover {
  filter: brightness(1.05);
  transform: translateY(-2px);
}

.flow-actions img {
  display: block;
  width: 100%;
  height: auto;
}
#section-09 {
  position: relative;
  overflow: hidden;
  color: #fff;
  background-image: url(assets/shojyunan_bg6.jpg);
  background-size: cover;
  background-position: 60%;
}

#section-09::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  
  pointer-events: none;
}

#section-09 .gallery-content {
  z-index: 1;
  align-self: center;
  width: min(var(--content-max), 100%);
  margin-top: clamp(10px, 3vh, 34px);
}

#section-09 h2 {
  margin-bottom: clamp(72px, 10vh, 108px);
  color: #fff;
  font-size: clamp(28px, 2.5vw, 38px);
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: 0.12em;
  text-shadow: 0 4px 16px rgba(0, 0, 0, 0.48);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(26px, 4.2vw, 68px) clamp(38px, 5vw, 82px);
}

.gallery-item {
  display: block;
  width: 100%;
  aspect-ratio: 366 / 284;
  object-fit: cover;
  opacity: 1;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18);
}

.js-enabled .gallery-item {
  opacity: 0;
}

.gallery-item:nth-child(1) {
  transition-delay: 0ms;
}

.gallery-item:nth-child(2) {
  transition-delay: 120ms;
}

.gallery-item:nth-child(3) {
  transition-delay: 240ms;
}

.gallery-item:nth-child(4) {
  transition-delay: 360ms;
}

.gallery-item:nth-child(5) {
  transition-delay: 480ms;
}

.gallery-item:nth-child(6) {
  transition-delay: 600ms;
}

.gallery-item:nth-child(7) {
  transition-delay: 720ms;
}

.gallery-item:nth-child(8) {
  transition-delay: 840ms;
}
#section-10 {
  position: relative;
  overflow: hidden;
  color: #fff;
  background-image: url(assets/shojyunan_bg10.jpg);
  background-size: cover;
  background-position: 90%;
}

#section-10::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(90deg, rgba(17, 18, 16, 0.82), rgba(32, 31, 28, 0.62) 52%, rgba(20, 18, 16, 0.56)),
    linear-gradient(0deg, rgba(12, 13, 12, 0.86), rgba(12, 13, 12, 0.18) 48%, rgba(55, 56, 49, 0.38));
  pointer-events: none;
}

#section-10 .closing-content {
  z-index: 1;
  align-self: center;
  width: min(var(--content-max), 100%);
  min-height: calc(100svh - var(--header-height) - 104px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-top: clamp(18px, 4vh, 48px);
  padding-bottom: 44px;
}
ul.nav-list li:nth-child(7) {
    border: none;
}
#section-10 h2 {
  max-width: 820px;
  margin: 0 0 clamp(58px, 9vh, 96px);
  color: rgba(255, 255, 255, 0.94);
  font-family: var(--font-serif);
  font-size: clamp(30px, 3vw, 44px);
  font-weight: 400;
  line-height: 1.62;
  letter-spacing: 0.12em;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.56);
}

.closing-body {
  margin-bottom: 34px;
}

#section-10 .closing-body p {
  max-width: none;
  margin: 0;
  color: rgba(255, 255, 255, 0.95);
  font-family: var(--font-serif);
  font-size: 19px;
  line-height: 2.05;
  letter-spacing: 0.12em;
  text-shadow: 0 3px 14px rgba(0, 0, 0, 0.58);
}

.closing-name {
  display: block;
  width: min(320px, 34vw);
  height: auto;
  margin: 0 0 26px;
}

.closing-actions {
  display: flex;
  gap: 24px;
  align-items: center;
}

.closing-actions a {
  display: block;
  width: min(280px, 22vw);
  max-width: 280px;
  transition: filter 180ms ease, transform 180ms ease;
}

.closing-actions a:hover {
  filter: brightness(1.05);
  transform: translateY(-2px);
}

.closing-actions img {
  display: block;
  width: 100%;
  height: auto;
}

#section-10 .closing-copy {
  position: absolute;
  left: 50%;
  bottom: clamp(28px, 5vh, 52px);
  max-width: none;
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
  font-family: var(--font-sans);
  font-size: 12px;
  line-height: 1;
  letter-spacing: 0.18em;
  text-align: center;
  transform: translateX(-50%);
}


.lead {
  max-width: 680px;
  margin: 0 0 32px;
  color: inherit;
  font-size: clamp(17px, 2vw, 22px);
}

.section-number {
  display: none;
  margin: 0 0 18px;
  color: var(--color-accent-dark);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
}
#section-02{
  background-image: url(assets/shojyunan_bg2.jpg);
}
.hero .section-number {
  color: #5eead4;
}

.snap-section h2 {
  font-size: clamp(32px, 5vw, 64px);
}

.snap-section p {
    max-width: 720px;
    margin: 10px 0 24px;
    color: #1d1e20;
    font-size: 16px;
}

.hero p {
  color: rgba(255, 255, 255, 0.9);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: var(--color-accent);
  color: #fff;
  font-weight: 700;
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.6);
  background: transparent;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}

.feature-card {
  min-height: 180px;
  padding: 24px;
  border: 1px solid var(--color-line);
  border-radius: 8px;
  background: var(--color-panel);
}

.feature-card h3 {
  margin: 0 0 12px;
  font-size: 21px;
}

.feature-card p {
  margin: 0;
  font-size: 15px;
}

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 760px;
  margin-top: 32px;
}

details {
  border: 1px solid var(--color-line);
  border-radius: 8px;
  background: var(--color-panel);
}

summary {
  cursor: pointer;
  padding: 18px 20px;
  font-weight: 700;
}

details p {
  padding: 0 20px 20px;
}

.site-footer {
  min-height: 42svh;
  padding: 56px clamp(20px, 6vw, 88px);
  scroll-snap-align: end;
  background: #111827;
  color: #fff;
}

.footer-list {
  display: flex;
  gap: 20px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

@media (max-width: 760px) {
  :root {
    --header-height: 64px;
  }

  .site-header {
    align-items: center;
    flex-direction: row;
    gap: 16px;
    min-height: 74px;
    padding: 14px 18px;
  }

  .site-logo {
    width: min(210px, 52vw);
  }

  .site-logo a {
    width: 100%;
  }

  .site-logo-kana {
    display: none;
  }

  .menu-toggle {
    position: relative;
    z-index: 32;
    display: inline-grid;
    place-items: center;
    width: 48px;
    height: 48px;
    margin-left: auto;
    border: 1px solid rgba(255, 240, 214, 0.58);
    border-radius: 999px;
    background: rgba(17, 18, 15, 0.55);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.24);
    cursor: pointer;
    transition: background-color 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
  }

  .menu-toggle span {
    position: absolute;
    width: 20px;
    height: 2px;
    border-radius: 999px;
    background: #fff0d6;
    transition: transform 220ms ease, opacity 180ms ease;
  }

  .menu-toggle span:nth-child(1) {
    transform: translateY(-7px);
  }

  .menu-toggle span:nth-child(3) {
    transform: translateY(7px);
  }

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

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

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

  .menu-backdrop {
    position: fixed;
    inset: 0;
    z-index: 24;
    display: block;
    background: rgba(0, 0, 0, 0.48);
    opacity: 0;
    pointer-events: none;
    transition: opacity 240ms ease;
  }

  .site-nav {
    position: fixed;
    z-index: 30;
    top: 0;
    left: 0;
    width: min(82vw, 340px);
    height: 100svh;
    padding: 96px 28px 32px;
    background:
      linear-gradient(145deg, rgba(15, 17, 15, 0.96), rgba(32, 28, 22, 0.92)),
      url("assets/pr1_bg_moji.png") center / cover;
    box-shadow: 18px 0 34px rgba(0, 0, 0, 0.32);
    transform: translateX(-100%);
    transition: transform 280ms ease;
  }

  .nav-list {
    overflow-x: visible;
    width: 100%;
    padding-bottom: 0;
    white-space: normal;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    font-size: 18px;
  }

  .nav-list li {
    border-bottom: 1px solid rgba(255, 240, 214, 0.18);
  }

  .nav-list a {
    padding: 16px 4px;
  }

  .nav-contact {
    background: #fff0d6;
    color: #3d352b;
    min-width: 0;
    margin-top: 22px;
    padding: 13px 18px 15px !important;
    box-shadow: inset 0 0 18px rgba(125, 83, 34, 0.16), 0 3px 14px rgba(0, 0, 0, 0.18);
  }

  body.menu-open .menu-backdrop {
    opacity: 1;
    pointer-events: auto;
  }

  body.menu-open .site-nav {
    transform: translateX(0);
  }

  .snap-section {
    min-height: 100svh;
    padding-top: calc(var(--header-height) + 20px);
    padding-bottom: 24px;
  }

  .pc-break,
  .profile-body br {
    display: none;
  }

  .sp-break {
    display: block;
  }

  .quote-break {
    display: block;
  }

  .path-lead p,
  #section-04 .teacher-body p,
  #section-05 .shojyunan-lead p,
  #section-07 .area-detail p,
  #section-10 .closing-body p {
    font-size: 17px;
    line-height: 1.55;
  }

  .hero {
    background-position: 42% center;
  }

  .hero_bg1 {
    width: 118%;
    right: -42%;
    bottom: 0;
    opacity: 0.52;
  }

  .hero_bg2 {
    width: 155%;
    left: -42%;
    top: 6%;
    opacity: 0.72;
  }

  .hero .section-inner {
    width: 100%;
    margin: clamp(24px, 4vh, 44px) 0 0;
    padding-left: 0;
  }

  .hero h1 {
    margin-bottom: 24px;
    font-size: clamp(32px, 8.4vw, 44px);
  }

  .hero .lead {
    margin-bottom: 20px;
        font-size: 18px;
        letter-spacing: 0.03em;
        line-height: 1.75;
  }

  .hero-name {
    width: min(330px, 72vw);
    margin-bottom: 24px;
  }

  .hero-actions {
    flex-wrap: wrap;
    gap: 14px;
  }

  .hero-actions a {
    width: min(256px, 82vw);
    max-width: 230px;
    flex: 0 1 min(256px, 82vw);
  }

  #section-02 {
    background-position: 31% center;
  }

  #section-02::before {
    background:
      linear-gradient(90deg, rgba(9, 10, 9, 0.2), rgba(137, 128, 104, 0.55)),
      linear-gradient(0deg, rgba(217, 207, 178, 0.7), rgba(217, 207, 178, 0) 24%);
  }

  .profile-bg-moji {
    right: -18vw;
    bottom: 4vh;
    width: 118vw;
  }

  #section-02 .profile-content {
    width: 100%;
    margin: 0;
    text-align: right;
  }

  #section-02 .profile-content h2 {
    gap: 12px;
    margin-bottom: 22px;
  }

  #section-02 .profile-content h2 img {
    width: min(193px, 46vw);
  }

  #section-02 .profile-content h2 small {
    font-size: 22px;
  }

  #section-02 .profile-lead {
    margin-bottom: 24px;
  }

  #section-02 .profile-lead p {
    font-size: 17px;
    line-height: 1.55;
  }

  #section-02 .profile-body p {
    font-size: 14px;
    line-height: 1.65;
  }

  #section-03 {
    background-position: 42% center;
  }

  #section-03 .path-content {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .path-text {
    padding-left: 0;
  }

  #section-03 h2 {
    margin-bottom: 18px;
    font-size: clamp(28px, 8vw, 36px);
    letter-spacing: 0.1em;
  }

  #section-03 .path-lead p {
    font-size: 17px;
    line-height: 1.55;
  }

  .path-history {
    padding: 14px;
    font-size: 12px;
    line-height: 1.2;
  }

  .path-history div {
    grid-template-columns: 62px 1fr;
    gap: 10px;
  }

  .path-images {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 18px;
  }

  .path-images img {
    aspect-ratio: 713 / 411;
  }

  #section-04 {
    background-position: 64% center;
  }

  #section-04 .teacher-content {
    grid-template-columns: minmax(0, 0.72fr) minmax(0, 1fr);
    gap: 18px 16px;
    align-items: stretch;
    margin-top: 0;
  }

  .teacher-text {
    display: contents;
    padding-right: 0;
  }

  .teacher-photo {
    grid-column: 1;
    grid-row: 3;
    align-self: stretch;
    width: 100%;
  }

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

  #section-04 h2 {
    grid-column: 1 / -1;
    grid-row: 1;
    margin-bottom: 0;
    font-size: clamp(28px, 8vw, 38px);
  }

  .teacher-body {
    grid-column: 1 / -1;
    grid-row: 2;
    margin-bottom: 0;
  }

  #section-04 .teacher-body p {
    font-size: 17px;
    line-height: 1.55;
  }

  .teacher-quote {
    grid-column: 2;
    grid-row: 3;
    align-self: stretch;
    display: grid;
    place-content: center;
    padding: 16px 14px;
  }

  .teacher-quote blockquote {
    font-size: 18px;
  }

  .teacher-quote figcaption {
    font-size: 14px;
  }

  #section-05 {
    background-position: 72% center;
  }

  .shojyunan-bg-text {
    left: -18px;
    bottom: -14px;
    font-size: clamp(74px, 22vw, 118px);
  }

  #section-05 .shojyunan-content {
    margin-top: 0;
  }

  #section-05 h2 {
    margin-bottom: 22px;
    font-size: clamp(25px, 7.4vw, 32px);
  }

  .shojyunan-lead {
    margin-bottom: 32px;
  }

  #section-05 .shojyunan-lead p {
    font-size: 17px;
    line-height: 1.55;
  }

  #section-05 .shojyunan-note-title {
    font-size: clamp(24px, 7vw, 30px);
  }

  #section-06 {
    background-position: 38% center;
  }

  #section-06 .price-content {
    width: 100%;
    margin: clamp(48px, 9vh, 78px) 0 0;
  }

  #section-06 h2 {
    margin-bottom: 28px;
    font-size: clamp(26px, 7.4vw, 34px);
  }

  .price-list {
    gap: 22px;
  }

  .price-plan {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 18px 20px;
  }

  .price-number {
    left: auto;
    right: 10px;
    top: -16px;
    z-index: 1;
    width: clamp(84px, 25vw, 118px);
    opacity: 0.96;
    filter: drop-shadow(0 2px 8px rgba(65, 46, 18, 0.28));
    transform: translate(14px, -22px);
  }

  .js-enabled .price-number {
    opacity: 0;
  }

  .price-number.scrollin {
    opacity: 0.96 !important;
    transform: translate(0, -22px) !important;
  }

  .price-menu ul,
  .price-plan:nth-child(2) .price-menu ul,
  .price-plan:nth-child(3) .price-menu ul {
    display: flex;
    flex-wrap: wrap;
    gap: 7px 18px;
    font-size: 13px;
  }

  .price-menu li {
    white-space: nowrap;
  }

  .price-fee {
    min-width: 0;
    padding-bottom: 0;
    text-align: left;
  }

  .price-fee p {
    display: inline;
    font-size: 20px;
    line-height: 1.6;
  }

  .price-note {
    margin-top: 24px;
    font-size: 13px;
  }

  #section-07 {
    background-position: 62% center;
  }

  #section-07 .area-content {
    margin-top: clamp(44px, 8vh, 76px);
  }

  #section-07 h2 {
    margin-bottom: 24px;
    font-size: clamp(26px, 7.5vw, 34px);
  }

  .area-panel {
    width: min(520px, 100%);
  }

  .area-summary {
    margin-bottom: 24px;
    padding: 26px 24px;
  }

  .area-detail {
    padding: 30px 24px;
  }

  .area-detail h3 {
    margin-bottom: 22px;
    font-size: 22px;
  }

  #section-08 {
    background-position: 52% center;
  }

  #section-08 .flow-content {
    margin-top: clamp(42px, 8vh, 72px);
  }

  #section-08 h2 {
    margin-bottom: 28px;
    font-size: clamp(26px, 7.5vw, 34px);
  }

  .flow-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 18px;
    margin-bottom: 24px;
  }

  .flow-step {
    max-width: 142px;
  }

  .flow-actions {
    flex-direction: column;
    align-items: center;
    gap: 14px;
  }

  .flow-actions a {
    width: min(240px, 78vw);
  }

  #section-09 {
    background-position: center;
  }

  #section-09 .gallery-content {
    margin-top: clamp(40px, 8vh, 70px);
  }

  #section-09 h2 {
    margin-bottom: 28px;
    font-size: clamp(26px, 7.5vw, 34px);
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  #section-10 {
    background-position: 78% center;
  }

  #section-10 .closing-content {
    min-height: calc(100svh - var(--header-height) - 72px);
    margin-top: 0;
    padding-bottom: 50px;
  }

  #section-10 h2 {
    margin-bottom: 24px;
    font-size: clamp(24px, 6.4vw, 31px);
    line-height: 1.45;
    letter-spacing: 0.08em;
  }

  #section-10 .closing-body p {
    font-size: 17px;
    line-height: 1.55;
    letter-spacing: 0.08em;
  }

  .closing-name {
    width: min(230px, 62vw);
    margin-bottom: 18px;
  }

  .closing-actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .closing-actions a {
    width: min(240px, 70vw);
  }

  #section-10 .closing-copy {
    width: 100%;
    bottom: 28px;
    font-size: 10px;
    letter-spacing: 0.14em;
  }

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

  .section-nav {
    right: 10px;
  }

  .section-dot {
    width: 10px;
    height: 10px;
  }
}

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



/*-------section heading size---------*/

#section-03 h2,
#section-04 h2,
#section-05 h2,
#section-06 h2,
#section-07 h2,
#section-08 h2,
#section-09 h2 {
  font-size: 33px;
}

@media (max-width: 760px) {
  #section-03 h2,
  #section-04 h2,
  #section-05 h2,
  #section-06 h2,
  #section-07 h2,
  #section-08 h2,
  #section-09 h2 {
    font-size: clamp(30px, 7.5vw, 33px);
  }
}

.path-lead p,
#section-04 .teacher-body p,
#section-05 .shojyunan-lead p,
#section-07 .area-detail p,
#section-10 .closing-body p {
  font-size: 18px;
}

@media (max-width: 760px) {
  .hero .section-inner,
  #section-02 .profile-content,
  #section-03 .path-content,
  #section-04 .teacher-content,
  #section-05 .shojyunan-content,
  #section-06 .price-content,
  #section-07 .area-content,
  #section-08 .flow-content,
  #section-09 .gallery-content,
  #section-10 .closing-content {
    margin-top: 0 !important;
  }

  .path-lead p,
  #section-04 .teacher-body p,
  #section-05 .shojyunan-lead p,
  #section-07 .area-detail p,
  #section-10 .closing-body p {
    font-size: 17px;
    line-height: 1.55;
  }
}

@media (max-width: 760px) {
#section-05 {
        background-position: 87% center;
        background-image: linear-gradient(to bottom right, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, .7)), url(assets/shojyunan_bg5.jpg);
    }

    #section-02 {
        background-position: 6%;
    }

 #section-03 {
        background-position: 58% center;
    }

.hero_bg1 {
       width: 128%;
        right: -31%;
        bottom: 9%;
        opacity: 0.52;
    }
 .hero_bg2 {
        width: 160%;
        left: -30%;
        top: 0%;
        opacity: 0.72;
    }
#section-06 {
        background-position: 28% center;
    }
#section-10 {
        background-position: 92% center;
    }
    .profile-lead p {
    text-align: left !important;
}
#section-02 .profile-body p {
        font-size: 14px;
        line-height: 1.65;
    }
    #section-02 .profile-content h2 {
      justify-content: flex-start;}
}

/*-------ふわっと---------*/

.scroll-space {
    box-sizing: border-box;
}
.scroll-space .blue {
    background: #77BBCF;
    width: 200px;
    height: 200px;
    padding: 30px;
    margin: 0 auto 50px;
}
.scroll-space .pink {
    background: #FFB4B4;
    width: 200px;
    height: 200px;
    padding: 30px;
    margin: 0 auto 50px;
}
.scroll-space .yellow {
    background: #F8913C;
    width: 200px;
    height: 200px;
    padding: 30px;
    margin: 0 auto 50px;
}
.scroll-space .green {
    background: #26AA5A;
    width: 200px;
    height: 200px;
    padding: 30px;
    margin: 0 auto 50px;
}
.fadein {
    opacity: 1;
    transform: translate(0, 0);
    transition: all 1.5s;
}

.js-enabled .fadein:not(.hero_bg1):not(.hero_bg2) {
    opacity: 0;
}

.fadein.fadein-left {
    transform: translate(-30px, 0);
}
.fadein.fadein-right {
    transform: translate(30px, 0);
}
.fadein.fadein-up {
    transform: translate(0, -30px);
}
.fadein.fadein-bottom {
    transform: translate(0, 30px);
}
.fadein.scrollin {
    opacity: 1 !important;
    transform: translate(0, 0) !important;
}

.hero .hero_bg1.fadein,
.hero .hero_bg2.fadein {
  opacity: 0;
  transition: none;
}

.hero .hero_bg1.fadein {
  animation: heroFadeIn 1.4s ease 0.35s forwards;
}

.hero .hero_bg2.fadein {
  animation: heroFadeIn 1.4s ease 1.05s forwards;
}

.section-inner {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.9s ease, transform 0.9s ease;
}

.js-enabled .section-inner:not(.is-visible) {
  opacity: 0;
  transform: translateY(28px);
}

.section-inner.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .section-inner {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
