:root {
  /* カジュアル・モダン・アットホームな配色（赤・ベージュ・ゴールド） */
  --primary: #b32d2d;
  /* 落ち着いた赤 */
  --primary-dark: #8a1c1c;
  --primary-light: #d64545;
  --accent: #c9a96e;
  /* ゴールド */
  --accent-light: #f5eadc;
  --bg-white: #ffffff;
  --bg-light: #faf8f5;
  /* 温かみのある明るいベージュ */
  --bg-pale: #f2ede4;
  /* 少し濃いベージュ */
  --text-main: #3b312b;
  /* 濃いブラウン（黒の代わり） */
  --text-mid: #6b5c54;
  --text-light: #9c8e85;

  --insta-grad: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);

  --font-display: 'Zen Maru Gothic', sans-serif;
  --font-heading: 'Zen Maru Gothic', sans-serif;
  --font-body: 'Noto Sans JP', sans-serif;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--text-main);
  background: var(--bg-light);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  font-size: 16px;
  line-height: 1.6;
  /* テキスト選択禁止 */
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* 画像のドラッグ禁止 */
img {
  -webkit-user-drag: none;
  -khtml-user-drag: none;
  -moz-user-drag: none;
  -o-user-drag: none;
}

img {
  max-width: 100%;
  height: auto;
  pointer-events: none;
}

a {
  color: inherit;
  text-decoration: none;
  transition: 0.3s;
}

ul {
  list-style: none;
}

@media (max-width: 767px) {
  body {
    font-size: 14px;
  }
}

.sp-only {
  display: none;
}

@media (max-width: 767px) {
  .sp-only {
    display: block;
  }

  .pc-only {
    display: none !important;
  }
}

/* Scroll Reveal Animations */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-left.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-right.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.section-label {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  color: var(--accent);
  text-transform: uppercase;
  display: block;
  margin-bottom: 14px;
  font-weight: bold;
}

.accent-line {
  width: 40px;
  height: 3px;
  background: var(--primary);
  margin: 20px auto;
  border-radius: 2px;
}

.accent-line-left {
  margin-left: 0;
}

.section-wrap {
  max-width: 1400px;
  margin: 0 auto;
  padding: clamp(60px, 10vw, 100px) clamp(24px, 6vw, 60px);
}

.sec-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.05em;
  text-align: center;
}

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: 0.05em;
  height: 56px;
  padding: 0 40px;
  background: #fff;
  color: var(--primary);
  border: 2px solid var(--primary);
  border-radius: 30px;
  transition: all 0.3s;
  white-space: nowrap;
}

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

.btn-insta-large {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: 0.05em;
  height: 56px;
  padding: 0 40px;
  background: var(--insta-grad);
  color: #fff;
  border: none;
  border-radius: 30px;
  transition: all 0.3s;
  white-space: nowrap;
}

.btn-insta-large:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(220, 39, 67, 0.3);
}

.cta-buttons-wrap {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Header */
#site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: all 0.4s ease;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  backdrop-filter: blur(8px);
}

.header-inner {
  max-width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 4%;
}

.site-logo {
  display: inline-flex;
  align-items: center;
}

.site-logo img {
  height: 65px;
  width: auto;
  object-fit: contain;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 40px);
}

.pc-nav {
  display: flex;
  gap: clamp(16px, 2.2vw, 36px);
}

.pc-nav a {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-main);
  position: relative;
  padding: 4px 0;
}

.pc-nav a:hover {
  color: var(--primary);
}

.btn-header-insta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--insta-grad);
  color: #fff;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: bold;
}

.btn-header-insta:hover {
  opacity: 0.9;
}

/* Hamburger & SP Menu */
.hamburger-btn {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 6px;
  z-index: 2001;
}

.hamburger-btn span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--primary);
  transition: all 0.3s;
  border-radius: 2px;
}

.hamburger-btn.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.hamburger-btn.active span:nth-child(2) {
  opacity: 0;
}

.hamburger-btn.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

#sp-menu {
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, 0.98);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.sp-menu-close {
  position: absolute;
  top: 15px;
  right: 4%;
  background: none;
  border: none;
  font-size: 44px;
  color: var(--primary);
  cursor: pointer;
  line-height: 1;
  padding: 5px 10px;
  z-index: 2001;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s;
}

.sp-menu-close:hover {
  opacity: 0.7;
}

#sp-menu.open {
  opacity: 1;
  pointer-events: auto;
}

#sp-menu nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  text-align: center;
}

#sp-menu nav a {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary);
}

.sp-menu-cta {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  max-width: 280px;
}

.sp-menu-cta a {
  width: 100%;
}

/* FV (First View) - レイアウト維持 */
#fv {
  position: relative;
  width: 100%;
  height: 100svh;
  min-height: 650px;
  overflow: hidden;
  display: flex;
  background: var(--bg-white);
  margin-top: 70px;
}

.fv-text-part {
  flex: 3;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 clamp(20px, 4vw, 60px);
  background-color: var(--primary-dark);
  background-image: linear-gradient(rgba(138, 28, 28, 0.65), rgba(138, 28, 28, 0.65)), url('../img/fvbg.png');
  background-size: cover;
  background-position: center;
  position: relative;
  z-index: 10;
}

.fv-image-part {
  flex: 5;
  position: relative;
  height: 100%;
  overflow: hidden;
}

.fv-bg-slider {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.fv-bg-slide {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  opacity: 0;
  animation: bgFade 18s infinite ease-in-out;
}

.fv-bg-slide:nth-child(1) {
  animation-delay: 0s;
}

.fv-bg-slide:nth-child(2) {
  animation-delay: 6s;
}

.fv-bg-slide:nth-child(3) {
  animation-delay: 12s;
}

@keyframes bgFade {
  0% {
    opacity: 0;
    transform: scale(1.05);
  }

  10% {
    opacity: 1;
    transform: scale(1.05);
  }

  33% {
    opacity: 1;
    transform: scale(1.02);
  }

  43% {
    opacity: 0;
    transform: scale(1.0);
  }

  100% {
    opacity: 0;
  }
}

.fv-eyebrow {
  font-family: var(--font-display);
  font-size: clamp(0.9rem, 1.5vw, 1.1rem);
  font-weight: bold;
  color: var(--accent);
  margin-bottom: 24px;
  animation: fadeUp 1.5s 0.4s both cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fv-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.5;
  letter-spacing: 0.05em;
  margin-bottom: 32px;
  animation: fadeUp 1.5s 0.6s both cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fv-divider {
  width: 2px;
  height: 60px;
  background: var(--accent);
  margin: 0 auto 32px;
  animation: fadeUp 1.5s 0.7s both cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fv-sub {
  font-family: var(--font-body);
  font-size: clamp(0.9rem, 1vw, 1.1rem);
  color: rgba(255, 255, 255, 0.9);
  line-height: 2;
  animation: fadeUp 1.5s 0.85s both cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fv-stamp {
  position: absolute;
  bottom: 60px;
  left: 60px;
  width: 140px;
  height: 140px;
  border: 2px solid var(--accent);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: var(--accent);
  font-weight: bold;
  font-family: 'Zen Maru Gothic', sans-serif;
  font-size: 18px;
  line-height: 1.2;
  z-index: 20;
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: inset 0 0 0 2px var(--accent), 0 4px 8px rgba(0, 0, 0, 0.15);
  animation: stampPop 0.5s 1.2s cubic-bezier(0.175, 0.885, 0.32, 1.275) both;
}
.fv-stamp svg {
  width: 32px;
  height: 32px;
  margin-bottom: 2px;
}
@keyframes stampPop {
  0% { transform: scale(2) rotate(-30deg); opacity: 0; }
  100% { transform: scale(1) rotate(-15deg); opacity: 1; }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* CTA Section */
.cta-section {
  background-color: var(--primary-dark);
  background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg stroke='%23ffffff' stroke-width='1.5' stroke-opacity='0.1'%3E%3Cpath d='M0 20 L20 0 M20 40 L40 20 M0 20 L20 40 M20 0 L40 20' /%3E%3C/g%3E%3C/svg%3E");
  padding: clamp(50px, 6vw, 70px) 24px;
  text-align: center;
}

.cta-section h2 {
  font-family: var(--font-display);
  font-size: 20px;
  color: #fff;
  margin-bottom: 24px;
}

/* About Section */
#about {
  background: #fff;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

.about-images {
  position: relative;
  width: 100%;
  padding-bottom: 15%;
}

.about-img-main {
  width: 80%;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  display: block;
}

.about-img-sub {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 55%;
  border-radius: 12px;
  border: 6px solid #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  display: block;
}

.about-text h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--primary);
  margin-bottom: 24px;
  line-height: 1.4;
}

.about-text p {
  line-height: 2;
  color: var(--text-mid);
  margin-bottom: 20px;
}

.about-recommend {
  margin-top: 32px;
  background: var(--bg-light);
  padding: 24px;
  border-radius: 8px;
  border: 1px solid var(--bg-pale);
}

.about-recommend-title {
  font-family: var(--font-display);
  color: var(--primary);
  font-weight: bold;
  text-align: center;
  margin-bottom: 16px;
  font-size: 1.1rem;
}

.about-recommend-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-bottom: 16px;
}

@media (min-width: 768px) {
  .about-recommend-list {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
}

.about-recommend-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--text-main);
}

.about-recommend-list li::before {
  content: '✔';
  color: var(--primary);
  font-weight: bold;
}

.about-recommend-footer {
  text-align: center;
  font-weight: bold;
  color: var(--primary-dark);
  border-top: 1px dashed var(--text-light);
  padding-top: 16px;
  margin-bottom: 0 !important;
}

/* Features Section */
#features {
  background: var(--bg-pale);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  margin-top: 48px;
}

.feature-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
}

.feature-img {
  width: 100%;
  padding-top: 60%;
  position: relative;
}

.feature-img img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-content {
  padding: 32px 24px;
  flex: 1;
}

.feature-content h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--primary);
  margin-bottom: 16px;
  border-bottom: 2px solid var(--accent);
  padding-bottom: 12px;
}

.feature-content p {
  color: var(--text-mid);
  line-height: 1.8;
}

/* Menu Section */
#menu {
  background: #fff;
}

.menu-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-top: 40px;
}

@media (min-width: 900px) {
  .menu-layout {
    grid-template-columns: 1fr 1fr;
  }
}

.menu-layout-single {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-top: 40px;
}

.menu-box {
  background: var(--bg-light);
  border-radius: 12px;
  padding: 40px;
  border: 1px solid var(--bg-pale);
}

.menu-box h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--primary);
  text-align: center;
  margin-bottom: 10px;
}

.menu-note {
  text-align: center;
  font-size: 0.85rem;
  color: var(--primary-light);
  margin-bottom: 24px;
}

.menu-item {
  margin-bottom: 24px;
}

.menu-item:last-child {
  margin-bottom: 0;
}

.menu-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-bottom: 1px dotted var(--text-light);
  margin-bottom: 8px;
  padding-bottom: 4px;
}

.menu-name {
  font-weight: 700;
  color: var(--text-main);
}

.menu-price {
  font-weight: 700;
  color: var(--primary);
  font-size: 1.1rem;
}

.menu-desc {
  color: var(--text-mid);
  line-height: 1.5;
}

.course-banner {
  background: var(--primary);
  color: #fff;
  border-radius: 12px;
  margin-bottom: 40px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(179, 45, 45, 0.15);
}

.course-banner-top {
  display: flex;
  align-items: stretch;
}

.course-banner-img {
  flex: 1;
  min-height: 100%;
  position: relative;
  align-self: stretch;
}

.course-banner-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.course-banner-content {
  flex: 1.2;
  padding: clamp(24px, 4vw, 40px);
  text-align: left;
}

.course-banner-content h3 {
  font-family: var(--font-display);
  margin-bottom: 12px;
}

.course-banner-content p {
  opacity: 0.9;
  line-height: 1.8;
}

/* Voice Section */
#voice {
  background: var(--bg-pale);
}

.voice-grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin: 48px auto 0;
}

.voice-card {
  background: #fff;
  padding: 32px;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
  position: relative;
}

.voice-card::before {
  content: '“';
  font-size: 80px;
  color: var(--accent-light);
  position: absolute;
  top: -10px;
  left: 20px;
  font-family: serif;
  line-height: 1;
}

.voice-stars {
  color: #ffb400;
  font-size: 1.3rem;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

.voice-text {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.voice-text.is-expanded {
  display: block;
  -webkit-line-clamp: unset;
}

.voice-more-btn {
  background: none;
  border: none;
  color: var(--primary);
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: bold;
  cursor: pointer;
  margin-top: 12px;
  padding: 2px 0;
  border-bottom: 1px solid var(--primary);
  display: inline-block;
  position: relative;
  z-index: 1;
}

.voice-more-btn:hover {
  opacity: 0.8;
}

.voice-card p {
  position: relative;
  z-index: 1;
  line-height: 1.8;
  color: var(--text-mid);
}

/* Message Section */
#message {
  background-image: url('../img/messagebg.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
}

#message::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
}

#message .section-wrap {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
}

.message-content-wrap {
  background: rgba(255, 255, 255, 0.95);
  padding: clamp(40px, 6vw, 60px);
  border-radius: 12px;
  max-width: 800px;
  width: 100%;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.message-content {
  text-align: center;
}

.message-content h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  color: var(--primary);
  margin-bottom: 24px;
  line-height: 1.5;
}

.message-content p {
  color: var(--text-mid);
  line-height: 2;
  margin-bottom: 16px;
}

/* Access Section */
#access {
  background: var(--bg-light);
}

.access-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
}

.info-row {
  display: flex;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--bg-pale);
  padding-bottom: 12px;
}

.info-dt {
  width: 100px;
  font-weight: bold;
  color: var(--primary);
}

.info-dd {
  flex: 1;
  color: var(--text-main);
}

.map-wrap {
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: 12px;
  overflow: hidden;
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.payment-sec {
  margin: 48px auto 0;
  padding: clamp(24px, 4vw, 32px);
  background: #fff;
  border: 1px solid var(--primary);
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}

.payment-sec-title {
  font-weight: bold;
  margin-bottom: 24px;
  color: var(--primary);
  border-bottom: 1px dotted var(--text-light);
  padding-bottom: 12px;
  text-align: center;
  font-size: 1.1rem;
}

.payment-categories-wrap {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.payment-category-title {
  font-size: 0.85rem;
  font-weight: bold;
  color: var(--primary);
  display: block;
  margin-bottom: 8px;
}

.payment-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.payment-list span {
  font-size: 0.75rem;
  background: #fff;
  padding: 4px 10px;
  border-radius: 4px;
  color: var(--text-mid);
  border: 1px solid var(--bg-pale);
}

/* Footer */
footer {
  background: var(--text-main);
  color: #fff;
  padding: 60px 24px 30px;
  text-align: center;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: bold;
  color: #fff;
  margin-bottom: 24px;
  display: inline-block;
}

.footer-copy {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 40px;
}

/* Page Top Button */
.page-top {
  position: fixed;
  right: 24px;
  bottom: 90px;
  z-index: 99;
  width: 50px;
  height: 50px;
  background: #fff;
  color: var(--primary);
  border: 2px solid var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
}

.page-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* SP Fixed CTA */
#sp-fixed-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 900;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
  padding: 10px 16px;
  padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px));
  gap: 12px;
}

#sp-fixed-cta a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 0;
  border-radius: 30px;
  font-size: 0.9rem;
  font-weight: bold;
}

.cta-tel {
  background: var(--primary);
  color: #fff;
  border: 2px solid var(--primary);
}

.cta-insta {
  background: var(--insta-grad);
  color: #fff;
}

/* Menu Image Slider */
.menu-slider-wrap {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-bottom: 0px;
  overflow: hidden;
  padding: 40px 0 0;
}

.menu-slider {
  display: flex;
  overflow: hidden;
  width: 100%;
}

.menu-slide-track {
  display: flex;
  gap: 16px;
  animation: scroll-left 40s linear infinite;
  width: max-content;
}

.menu-slide-track:hover {
  animation-play-state: paused;
}

.menu-slide-track img {
  height: clamp(160px, 20vw, 240px);
  width: clamp(240px, 30vw, 360px);
  object-fit: cover;
  border-radius: 12px;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  pointer-events: auto;
  transition: opacity 0.3s ease;
}

.menu-slide-track img:hover {
  opacity: 0.85;
}

@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(calc(-50% - 8px));
  }
}

/* Lightbox Modal */
.lightbox {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.85);
  justify-content: center;
  align-items: center;
  backdrop-filter: blur(5px);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.lightbox.active {
  display: flex;
  opacity: 1;
}

.lightbox-close {
  position: absolute;
  top: 30px;
  right: 40px;
  color: #fff;
  font-size: 48px;
  font-weight: bold;
  cursor: pointer;
  z-index: 10001;
  line-height: 1;
  transition: color 0.2s ease;
}

.lightbox-close:hover {
  color: var(--primary);
}

.lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
  transform: scale(0.95);
  transition: transform 0.3s ease;
}

.lightbox.active img {
  transform: scale(1);
}

/* Media Queries */
@media (max-width: 767px) {
  .header-inner {
    padding: 10px 4%;
  }

  .site-logo img {
    height: 50px;
  }

  .hamburger-btn {
    display: flex;
  }

  .course-banner-top {
    flex-direction: column;
  }

  .course-banner-img {
    flex: none;
    width: 100%;
    height: 200px;
    position: relative;
    align-self: auto;
  }

  .course-banner-content {
    text-align: center;
  }

  .course-banner-content p {
    text-align: left;
  }

  .about-grid,
  .access-grid {
    grid-template-columns: 1fr;
  }

  .about-images {
    order: -1;
  }

  #message {
    background-attachment: scroll;
  }

  .message-content-wrap {
    background: rgba(255, 255, 255, 0.85);
    padding: 20px;
  }

  .message-content {
    text-align: left;
  }

  .message-content .accent-line {
    margin-left: 0;
  }

  .cta-buttons-wrap {
    flex-direction: column;
  }

  .cta-buttons-wrap a {
    width: 100%;
  }

  #fv {
    height: auto;
    min-height: 100svh;
    flex-direction: column;
  }

  .fv-image-part {
    flex: none;
    width: 100%;
    height: 45svh;
    order: -1;
  }

  .fv-text-part {
    flex: 1;
    padding: 40px 24px 60px;
    justify-content: flex-start;
  }

  .fv-stamp {
    bottom: 20px;
    top: auto;
    right: auto;
    left: 20px;
    width: 90px;
    height: 90px;
    font-size: 13px;
  }
  .fv-stamp svg {
    width: 24px;
    height: 24px;
  }

  #sp-fixed-cta.visible {
    display: flex;
  }

  .menu-box {
    padding: 25px;
  }

  body {
    padding-bottom: calc(70px + env(safe-area-inset-bottom, 0px));
  }
}

/* バナー注意事項 */
.banner-notes {
  max-width: 1000px;
  margin: 24px auto 0;
  text-align: center;
  font-size: 16px;
  color: var(--text-light);
  line-height: 1.6;
  padding: 0 16px;
}
.banner-notes-title {
  font-weight: bold;
  margin-bottom: 8px;
}

@media screen and (max-width: 768px) {
  .banner-notes {
    font-size: 14px;
    text-align: left;
  }
}