/* ============================================================
   桜ヶ丘塾 LP - style.css
   モバイルファースト / @media (min-width: 768px) のみ使用
   ============================================================ */

/* ============================================================
   1. CSS Variables
   ============================================================ */
:root {
  --color-base:         #FFFFFF;
  --color-main:         #2B4A2E;
  --color-main-light:   #3D6641;
  --color-main-pale:    #F0F4F0;
  --color-blue:         #2B3F5C;
  --color-accent:       #E8739A;
  --color-accent-hover: #D45A82;
  --color-accent-pale:  #FDF0F4;
  --color-bg-pink:      #F8EEF2;
  --color-text:         #1A1A1A;
  --color-muted:        #6B7280;
  --color-border:       #E2EAE2;
  --color-blue-pale:    #F0F4F8;

  --font-ja: 'Zen Kaku Gothic New', sans-serif;
  --font-en: 'Outfit', sans-serif;

  --radius-sm:   8px;
  --radius-md:   16px;
  --radius-lg:   24px;
  --radius-full: 9999px;

  --shadow-btn:      0 4px 16px rgba(232,115,154,0.35);
  --shadow-btn-hover:0 6px 24px rgba(232,115,154,0.50);
  --shadow-card:     0 2px 16px rgba(43,74,46,0.08);

  --max-outer:  1280px;
  --max-inner:  1100px;
  --max-text:   1000px;
  --sp-side:    20px;
}

/* ============================================================
   2. Reset & Base
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-ja);
  font-size: 1rem;
  line-height: 1.9;
  letter-spacing: 0.02em;
  color: var(--color-text);
  background: var(--color-base);
  overflow-x: hidden;

  @media (min-width: 768px) {
    body {
      padding-bottom: 0;
    }
  }
}

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

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

ul, ol {
  list-style: none;
}

/* p,td,dd {
  text-align: justify;
  line-height: 1.4;
} */

/* ============================================================
   3. Utility
   ============================================================ */
.l-container {
  max-width: var(--max-inner);
  margin-inline: auto;
  padding-inline: var(--sp-side);
}

.u-en {
  font-family: var(--font-en);
}

/* SP時：リード文・説明文の改行を非表示 */
@media (max-width: 767px) {
  .p-fv__desc br,
  .p-event__lead br,
  .p-course__lead br { display: none; }
}

/* ============================================================
   4. Component: Button
   ============================================================ */
.c-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  font-family: var(--font-ja);
  font-weight: 700;
  font-size: 0.9375rem;
  cursor: pointer;
  border: none;
  transition: background 0.25s, box-shadow 0.25s, transform 0.25s;
  text-decoration: none;
  white-space: nowrap;
}

.c-btn--primary {
  background: var(--color-accent);
  color: #fff;
  box-shadow: var(--shadow-btn);
}
.c-btn--primary:hover {
  background: var(--color-accent-hover);
  box-shadow: var(--shadow-btn-hover);
  transform: translateY(-2px);
}
.c-btn--primary:active {
  transform: translateY(0);
}

.c-btn--outline {
  background: transparent;
  color: var(--color-main);
  border: 2px solid var(--color-main);
}
.c-btn--outline:hover {
  background: var(--color-main);
  color: #fff;
  transform: translateY(-2px);
}

.c-btn--arrow::after {
  content: '→';
  font-family: var(--font-en);
  font-weight: 600;
  transition: transform 0.2s;
}
.c-btn--arrow:hover::after {
  transform: translateX(4px);
}

/* ============================================================
   5. Component: Section Header
   ============================================================ */
.c-section-header {
  text-align: center;
  margin-bottom: 40px;
}

.c-section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-en);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--color-accent);
  text-transform: uppercase;
  /* margin-bottom: 10px; */
}
.c-section-label::before,
.c-section-label::after {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: var(--color-accent);
  opacity: 0.5;
}

.c-section-title {
  font-size: clamp(1.375rem, 4vw, 2rem);
  font-weight: 900;
  line-height: 1.4;
  letter-spacing: -0.01em;
}
.c-section-title em {
  font-style: normal;
  color: var(--color-main);
}

/* ============================================================
   6. Component: Fade-up animation
   ============================================================ */
.js-fade {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.js-fade.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   7. Header
   ============================================================ */
.p-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  transition: box-shadow 0.3s;
}
.p-header.is-scrolled {
  box-shadow: 0 2px 20px rgba(43,74,46,0.1);
}

.p-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  gap: 16px;
}

.p-header__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.p-header__logo-img {
  height: 32px;
  width: auto;
}

.p-header__logo-top {
  display: flex;
  align-items: center;
  gap: 6px;
}

.p-header__logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
  gap: 2px;
}

.p-header__logo-name {
  font-size: 1.0625rem;
  font-weight: 900;
  color: var(--color-main);
  letter-spacing: 0.02em;
  line-height: 1.3;
}


.p-header__logo-sub {
  display: none; /* SP非表示 */
}

.p-header__nav {
  display: none; /* SP非表示 */
}

.p-header__actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}
.p-header__sns {
  /* display: none; */
  align-items: center;
}

.p-header__sns-link {
  /* display: none;  */
}
.p-header__cta {
  padding: 8px 16px;
  font-size: 0.8125rem;
}


@media (min-width: 768px) {
  /* Header */
  .p-header__inner      { height: 68px; }
  .p-header__logo-img   { height: 44px; }
  .p-header__logo-name  {
    font-size: 1.125rem;
    display: none;
  }
  .p-header__logo-sub   {
    display: block;
    font-size: 0.625rem;
    color: var(--color-muted);
    letter-spacing: 0.08em;
    font-family: var(--font-en);
  }
  .p-header__nav_outer {
    display: flex;
    gap: min(40px,2vw);
  }
  .p-header__nav {
    display: flex;
    align-items: center;
    gap: 4px;
  }
  .p-header__nav a {
    padding: 8px 14px;
    font-size: 0.84375rem;
    font-weight: 500;
    border-radius: var(--radius-sm);
    transition: all 0.2s;
    white-space: nowrap;
  }
  .p-header__nav a:hover {
    background: var(--color-main-pale);
    color: var(--color-main);
  }
  .p-header__sns {
    display: flex;
    gap: 8px;
  }
  .p-header__sns-link {
    width: 36px; height: 36px;
    border-radius: 50%;
    /* background: var(--color-main-pale); */
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-main);
    transition: all 0.2s;
  }
  .p-header__sns-link:hover { background: var(--color-main); color: #fff; }
  .p-header__cta { padding: 10px 20px; }
}

@media(max-width: 1024px) {
  .p-header__logo-sub {
    display: none; /* SP非表示 */
  }
  .p-header__nav a {
    padding: 8px 8px;
  }
}

/* ============================================================
   8. FV（ファーストビュー）
   ============================================================ */
.p-fv {
  padding-top: 60px;
  /* min-height: 100svh; */
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: var(--color-base);
}

/* 背景装飾 */
.p-fv__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.p-fv__bg-circle1 {
  position: absolute;
  top: -80px;
  right: -60px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(240,244,240,0.9) 0%, rgba(240,244,240,0) 70%);
}
.p-fv__bg-circle2 {
  position: absolute;
  bottom: -40px;
  left: -40px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232,115,154,0.07) 0%, rgba(232,115,154,0) 70%);
}
.p-fv__bg-dots {
  position: absolute;
  top: 60px;
  right: 10%;
  width: 120px;
  height: 120px;
  background-image: radial-gradient(circle, rgba(43,74,46,0.12) 1.5px, transparent 1.5px);
  background-size: 16px 16px;
  opacity: 0.5;
}

/* 花びら */
.p-fv__petal {
  position: absolute;
  border-radius: 50% 0 50% 0;
  background: var(--color-accent);
  animation: petalFloat 6s ease-in-out infinite;
}
.p-fv__petal--1 { width: 40px; height: 40px; top: 18%; left: 6%;  opacity: 0.12; animation-duration: 6s;   animation-delay: 0s; }
.p-fv__petal--2 { width: 28px; height: 28px; top: 60%; left: 12%; opacity: 0.08; animation-duration: 8s;   animation-delay: 1.5s; }
.p-fv__petal--3 { width: 36px; height: 36px; top: 30%; right: 6%; opacity: 0.10; animation-duration: 7s;   animation-delay: 3s; }
.p-fv__petal--4 { width: 20px; height: 20px; top: 70%; right: 10%;opacity: 0.07; animation-duration: 9s;   animation-delay: 0.8s; }
.p-fv__petal--5 { width: 32px; height: 32px; top: 45%; left: 3%;  opacity: 0.06; animation-duration: 10s;  animation-delay: 2.5s; }
.p-fv__petal--6 { width: 18px; height: 18px; top: 10%; right: 22%;opacity: 0.09; animation-duration: 7.5s; animation-delay: 4s; }

@keyframes petalFloat {
  0%   { transform: rotate(0deg)   translateY(0px)   translateX(0px); }
  25%  { transform: rotate(8deg)   translateY(-12px) translateX(6px); }
  50%  { transform: rotate(-4deg)  translateY(-6px)  translateX(-4px); }
  75%  { transform: rotate(10deg)  translateY(-16px) translateX(8px); }
  100% { transform: rotate(0deg)   translateY(0px)   translateX(0px); }
}

/* FV内コンテンツ */
.p-fv__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--max-inner);
  margin-inline: auto;
  padding: 40px var(--sp-side);
  display: flex;
  flex-direction: column-reverse;
  gap: 32px;
}

.p-fv__title {
  font-size: clamp(1.625rem, 6vw, 2rem);
  font-weight: 900;
  line-height: 1.35;
  letter-spacing: -0.01em;
}
.p-fv__title .highlight {
  position: relative;
  color: var(--color-main);
  display: inline-block;
}
.p-fv__title .highlight::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0;
  right: 0;
  height: 6px;
  background: rgba(232,115,154,0.25);
  border-radius: 3px;
  z-index: -1;
}

.p-fv__desc {
  font-size: 0.9375rem;
  line-height: 1.9;
  color: #4A5568;
  margin: 24px auto 0;
}

.p-fv__visual {
  position: relative;
}
.p-fv__img-wrap {
    position: relative;
}
.p-fv__img {
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(43,74,46,0.15);
}
.p-fv__img-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}
.p-fv__img--main {
  width: 72%;
  aspect-ratio: 1;
  border-radius: 42% 58% 55% 45% / 45% 42% 58% 55%;
  margin-right: auto;
}
.p-fv__img--sub {
  width: 55%;
  aspect-ratio: 1;
  border-radius: 50%;
  margin-top: -15%;
  margin-right: 8%;
}

.p-fv__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


/* ハッシュタグバッジ追加 */
.p-fv__hashtag {
    position: absolute;
    background: #fff;
    border: 1.5px solid var(--color-accent);
    color: var(--color-accent);
    border-radius: var(--radius-full);
    padding: 5px 14px;
    font-size: 0.75rem;
    font-weight: 700;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(232,115,154,0.15);
  }
  .p-fv__hashtag--1 { top: 8%;  right: min(8px,4vw); }
  .p-fv__hashtag--2 { bottom: 22%; left: min(8px,4vw); }



.p-fv__float-sub {
  font-size: 0.6875rem;
  font-weight: 400;
  color: var(--color-muted);
}

@keyframes floatUD {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}

.p-fv__btns {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 40px auto 0;
}

.p-fv__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.p-fv__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  padding: 5px 12px;
  font-size: 0.75rem;
  color: var(--color-muted);
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}
.p-fv__badge strong {
  color: var(--color-main);
  font-weight: 700;
  font-family: var(--font-en);
  font-size: 0.875rem;
}

@media (min-width: 768px) {
  /* FV */
  .p-fv { padding-top: 68px; }
  .p-fv__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    /* gap: 60px; */
    align-items: center;
    padding: 60px var(--sp-side);
  }
  .p-fv__content {
    grid-column: 1;
    grid-row: 1 / 4;
    max-width: 400px;
  }
  .p-fv__visual  { grid-column: 2; grid-row: 1 / 4; }
  /* .p-fv__btns    { flex-direction: row; } */
  .p-fv__bg-circle1 { width: 520px; height: 520px; top: -120px; right: -80px; }
  .p-fv__bg-circle2 { width: 320px; height: 320px; bottom: -60px; left: -60px; }

  .p-fv__img--main { max-width: 380px; }
  .p-fv__img--sub  { max-width: 290px; }
}


/* ============================================================
    9. About（塾のこと）
    ============================================================ */
.p-about {
  padding: 80px 0 0;
}

/* ロウ単位でサブ背景を交互に */
.p-about__list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-bottom: 80px;
  @media (min-width: 768px) {
    gap: 40px;
  }
}


.p-about__row {
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-radius: 16px;
  padding: 20px 20px;
  @media (min-width: 768px) {
    flex-direction: unset;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 64px;
    padding: 40px 80px;
  }
}

/* 1番目：薄いグリーン */
.p-about__row:nth-child(1) {
  background: var(--color-main-pale);
}

/* 2番目：薄いブルー */
.p-about__row:nth-child(2) {
  background: var(--color-blue-pale);
  flex-direction: column-reverse;
}

/* 3番目：薄いピンク */
.p-about__row:nth-child(3) {
  background: var(--color-bg-pink);
}

/* 画像左・テキスト右レイアウト */
.p-about__row--reverse .p-about__body {
  order: 2;
}
.p-about__row--reverse .p-about__media {
  order: 1;
}

/* 番号 */
.p-about__num {
  display: block;
  font-family: var(--font-en);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-accent); /* #E8739A */
  letter-spacing: 0.08em;
  /* margin-bottom: 8px; */
  /* 番号の後ろの横線 */
  display: flex;
  align-items: center;
  gap: 10px;
  @media(min-width: 768px) {
    margin-bottom: 8px;  
  }
}
.p-about__num::after {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--color-accent);
}

/* 見出し */
.p-about__item-title {
  color: var(--color-main);
  line-height: 1.6;
  @media(min-width: 768px) {
    font-size: 1.125rem;
    font-weight: 700;
    /* color: var(--color-main); */
    margin-bottom: 16px;
        
  }
}

/* 本文 */
.p-about__item-text {
  font-size: 0.9375rem;
  line-height: 1.8;
  color: #4A5568;
  margin-top: 12px;
}

/* 画像 */
.p-about__img {
  max-width: 480px;
  margin: 0 auto;

  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  display: block;
  object-fit: cover;
  aspect-ratio: 3/2;
}

/* ============================================================
   10. Course（授業案内）
   ============================================================ */
.p-course {
  padding: 80px 0;
  background: var(--color-main-pale);
}

.p-course__lead {
  font-size: 0.875rem;
  color: var(--color-muted);
  margin-top: 8px;
  line-height: 1.4;
}

/* カード */
.p-course__card {
  background: #fff;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--color-border);
  margin-bottom: 28px;
}
.p-course__card:last-child {
  margin-bottom: 0;
}

/* カードヘッダー（緑帯） */
.p-course__card-header {
  background: var(--color-main);
  color: #fff;
  padding: 18px 24px;
}
.p-course__card-title {
  font-size: 1.125rem;
  font-weight: 800;
  margin-bottom: 4px;
  line-height: 1.4;
}
.p-course__card-grade {
  font-size: 0.875rem;
  font-weight: 500;
  opacity: 0.8;
  margin-left: 4px;
}
.p-course__card-sub {
  font-size: 0.75rem;
  opacity: 0.65;
  letter-spacing: 0.02em;
}

/* カードボディ（SP：縦積み） */
.p-course__card-body {
  display: flex;
  flex-direction: column;
}

/* 写真プレースホルダー */
 .p-course__photo {
     aspect-ratio: 3/2;
     background: var(--color-main-pale);
     display: flex;
     align-items: center;
     justify-content: center;
     color: var(--color-main);
     opacity: 0.8;
     font-size: 0.8125rem;
     flex-shrink: 0;
   }

/* 詳細エリア */
.p-course__detail {
  padding: min(3.6vw,18px);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* 授業情報 dl */
.p-course__info {
  /* display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 16px;
  align-items: baseline; */
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.875rem;
  font-size: 0.9375rem;
  /* align-items: center; */
}
.p-course__info dt {
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
  background: var(--color-main);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  white-space: nowrap;
  letter-spacing: 0.1em;
  align-self: start;
  margin-top: 0px;
  text-align: center;
}
.p-course__info dd {
  color: #444;
  font-weight: 500;
  line-height: 1.6;
  margin-top: -4px;
  padding-left: 12px;
  text-align: left;
}
.p-course__dd-notice {
  display: block;
  font-size: 0.6875rem;
  color: #bbb;
  margin-top: 2px;
  line-height: 1.6;
}

/* 料金エリア */
.p-course__fee-label {
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--color-main);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 8px;
  margin-bottom: 12px;
}

.p-course__fee-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.8125rem;
}

/* 学年見出し行 */
.p-course__fee-grade td {
  font-weight: 700;
  color: var(--color-main);
  font-size: 1rem;
  font-size: .875rem;
  padding: 10px 4px 4px;
  border-top: 1px solid var(--color-border);
}

.p-course__fee-grade:first-child td {
  border-top: none;
  padding-top: 4px;
}


/* 料金行 */
.p-course__fee-table td {
  padding: 6px 4px;
  color: #444;
  vertical-align: middle;
}
.p-course__fee-item {
  color: var(--color-muted);
  font-size: 0.8rem;
  width: 90px;

}
.p-course__fee-amount {
  font-family: var(--font-en);
  font-size: .8rem;
  font-size: .9rem;
  font-weight: 700;
  width: 60px;
  color: var(--color-main);
  text-align: right;
}
.p-course__fee-amount--sub {
  font-size: 0.75rem;
  font-size: .9rem;
  /* font-weight: 600; */
  color: #555;
}
.p-course__fee-note {
  font-size: 0.75rem;
  color: #bbb;
  padding-left: 8px;
  line-height: 1.6;
}
.p-course__fee-notice {
  font-size: 0.6875rem;
  color: #bbb;
  margin-top: 10px;
  line-height: 1.6;
}

/* CTA */
.p-course__card-cta {
  padding: 16px 24px;
  border-top: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: center;
}
.p-course__cta-note {
  font-size: 0.75rem;
  color: var(--color-muted);

}

@media (min-width:768px) {
  /* Course */
  .p-course {
    padding: 100px 0;
  }
  .p-course__card-body {
    display: grid;
    grid-template-columns: min(46vw,500px) 1fr;
    flex-direction: row;
    align-items: stretch;
  }
  .p-course__photo {
    max-width: min(46vw,500px);
    aspect-ratio: auto;
    min-height: 280px;
    aspect-ratio: auto;
    flex-shrink: 0;
    overflow: hidden;
  }
  /* 写真内画像 */
  .p-course__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
  }

  /* 中学生コース：縦長写真・写真幅を広げてコンテンツを圧縮 */
  .p-course__card-body:has(.p-course__photo--tall) {
    grid-template-columns: min(46vw,500px) 1fr;
  }
  /* 中学生コース：縦長写真 */
  .p-course__photo--tall {
    /* aspect-ratio: 2/3; */
    aspect-ratio: auto;
    overflow: hidden;
  }
  .p-course__photo--tall img {
    width: 100%;
    max-width: min(46vw,500px);
    height: 100%;
    object-fit: cover;
    object-position: -100px top; /* 先生の顔を上側に寄せる */
  }
  /* 詳細：残り幅・縦スクロールなし */
  .p-course__detail {
    flex: 1;
    padding: 20px 24px;
    gap: 12px;
    /* 写真の高さ内に収める */
    min-height: 0;
  }

   /* infoのフォントを少し詰める */
  .p-course__info {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    font-size: 0.875rem;
    /* font-size: 0.9375rem; */
    gap: 16px 16px;
  }
  .p-course__info dd {
    padding-left: 0;
    line-height: 1.8;
  }

   /* 料金ラベル */
  .p-course__fee-label {
    margin-bottom: 8px;
    padding-bottom: 6px;
  }

  /* 料金テーブル行の余白を詰める */
  .p-course__fee-table td {
    padding: 4px 8px 4px;
  }
  .p-course__fee-grade td {
    padding: 6px 4px 2px;
  }
  .p-course__fee-amount {
    font-size: 0.9375rem;
  }
  .p-course__card-cta {
    flex-direction: column;
    justify-content: center;
    padding: 20px 28px;
    align-items: center;
    gap: 4px;
  }
  .p-course__card-cta .c-btn {
      min-width: 260px;
    }
}

/* ============================================================
    11. Event & Place（イベント・3つめの居場所）
    ============================================================ */
.p-event {
  padding: 80px 0;
  background: var(--color-base);
}

/* セクションリード文 */
.p-event__lead {
  font-size: 0.9375rem;
  line-height: 1.9;
  color: var(--color-muted);
  margin-top: 16px;
  text-align: center;
}

/* タイトル内「3つめ」のピンク下線 */
.p-event__title-em {
  font-style: normal;
  color: var(--color-main);
  position: relative;
  display: inline-block;
}
.p-event__title-em::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--color-bg-pink);
  border-radius: 2px;
  opacity: 0.7;
}

/* カード一覧（SP：縦積み） */
.p-event__cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 40px;
  margin-bottom: 48px;
}

/* 各カード */
.p-event__card {
  background: var(--color-main-pale);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

/* カード上辺アクセントライン */
.p-event__card-img {
  position: relative;
}
.p-event__card-img::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--color-main);
}
.p-event__card--accent .p-event__card-img::after {
  background: var(--color-accent);
}

/* 写真：400×267固定比率 */
.p-event__card-img img {
  width: 100%;
  height: 267px;
  object-fit: cover;
  display: block;
}

/* カード本文エリア */
.p-event__card-body {
  padding: 20px 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* タグ（STUDY / INTENSIVE / COMMUNITY） */
.p-event__card-tag {
  display: inline-block;
  font-family: var(--font-en);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--color-main);
  background: rgba(43, 74, 46, 0.08);
  padding: 3px 10px;
  border-radius: 4px;
  align-self: flex-start;
}
.p-event__card--blue .p-event__card-img::after {
  background: var(--color-blue);
}
/* 追加：タグ（青） */
.p-event__card--blue .p-event__card-tag {
  color: var(--color-blue);
  background: rgba(43, 63, 92, 0.08);
}
.p-event__card--blue {
  background: var(--color-blue-pale);
}

.p-event__card--blue .p-event__card-tag {
  color: var(--color-blue);
  background: rgba(43, 63, 92, 0.08);
}
.p-event__card--accent {
  background: var(--color-accent-pale);
}
.p-event__card--accent .p-event__card-tag {
  color: var(--color-accent);
  background: rgba(232, 115, 154, 0.10);
}



/* カードタイトル */
.p-event__card-title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--color-main);
  line-height: 1.4;
}

/* カード本文 */
.p-event__card-desc {
  font-size: 0.875rem;
  line-height: 1.6;
  color: #555;
}

/* 注釈（※別途料金） */
.p-event__card-note {
  font-size: 0.75rem;
  color: var(--color-muted);
  margin-top: 4px;
}

/* CTA */
.p-event__cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.p-event__cta-note {
  font-size: 0.75rem;
  color: var(--color-muted);
}

  /* 花びら背景を内包するための基点 */
  .p-event {
    position: relative;
    overflow: hidden;
  }
  .p-event__bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
  }
  
  /* l-containerを花びらより前面に */
  .p-event > .l-container {
    position: relative;
    z-index: 1;
  }

/* PC：3カラムグリッド */
@media (min-width: 768px) {
  .p-event {
    padding: 100px 0;
  }
  .p-event__cards {
    flex-direction: row;
    align-items: stretch;
  }
  .p-event__card {
    flex: 1;
    display: flex;
    flex-direction: column;
  }
  .p-event__card-img img {
    height: 267px; /* 400:267比率を維持 */
  }
  .p-event__card-body {
    flex: 1; /* カード高さを揃える */
  }
  .p-event__cta {
    flex-direction: column;
  }
}



/* ============================================================
  11. Teacher（教室長プロフィール）
  ============================================================ */
  .p-teacher {
  padding: 80px 0;
  background: var(--color-blue-pale);
  position: relative;
  overflow: hidden;
}

/* 花びら背景を内包するための基点 */
.p-teacher__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

/* l-containerを花びらより前面に */
.p-teacher > .l-container {
  position: relative;
  z-index: 1;
}

/* ① キャッチメッセージ */
.p-teacher__catch {
  background: var(--color-accent-pale);
  border-radius: var(--radius-md);
  padding: min(28px,6vw) min(30px,6vw);
  margin-bottom: min(48px,4vw);
  position: relative;
  overflow: hidden;
}

.p-teacher__catch::before {
  content: '\201C';
  font-family: var(--font-en);
  font-size: 80px;
  line-height: 1;
  color: var(--color-accent);
  opacity: 0.35;
  position: absolute;
  top: 12px;
  left: 20px;
}

.p-teacher__catch-text {
  font-size: clamp(1rem, 2.5vw, 1.1875rem);
  font-weight: 700;
  color: var(--color-main);
  line-height: 1.7;
  padding-left: 32px;
  position: relative;
}

/* ② 写真＋名前＋基本スペック */
.p-teacher__profile {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 48px;
}

.p-teacher__photo-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.p-teacher__photo {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--color-base);
  box-shadow: 0 4px 20px rgba(43,74,46,0.12);
  flex-shrink: 0;
}

.p-teacher__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.p-teacher__name {
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--color-main);
  text-align: center;
  line-height: 1.3;
}

.p-teacher__name-en {
  font-family: var(--font-en);
  font-size: 0.75rem;
  color: var(--color-muted);
  letter-spacing: 0.08em;
  text-align: center;
  line-height: 1;
}

/* スペック一覧 */
.p-teacher__spec {
  display: flex;
  flex-direction: column;
}

.p-teacher__spec-row {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 8px 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.875rem;
  align-items: baseline;
}
.p-teacher__spec-row:first-child {
  border-top: 1px solid var(--color-border);
}

.p-teacher__spec-label {
  font-size: 0.75rem;
  color: var(--color-muted);
  font-weight: 500;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}

.p-teacher__spec-value {
  color: var(--color-text);
  line-height: 1.6;
}

/* ③ ストーリー本文 */
.p-teacher__story {
  display: flex;
  flex-direction: column;
  gap: 48px;
  margin-bottom: 48px;
}

.p-teacher__story-block {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* 写真 */
.p-teacher__story-img {
  border-radius: var(--radius-md);
  overflow: hidden;
  width: 100%;
  aspect-ratio: 3/2;
}

.p-teacher__story-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* テキスト */
.p-teacher__story-body {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.p-teacher__story-heading {
  font-size: 1rem;
  font-weight: 800;
  color: var(--color-main);
  line-height: 1.5;
  padding-left: 14px;
  border-left: 3px solid var(--color-accent);
}

.p-teacher__story-text {
  font-size: 0.9375rem;
  line-height: 1.9;
  color: #4A5568;
}

/* ④ スペックバー */
.p-teacher__specs-bar {
  background: var(--color-base);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.p-teacher__specs-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.p-teacher__specs-label {
  font-family: var(--font-en);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--color-accent);
  text-transform: uppercase;
}

.p-teacher__specs-value {
  font-size: 0.875rem;
  color: var(--color-text);
  line-height: 1.6;
}

/* ============================================================
    PC（min-width: 768px）
    ============================================================ */
@media (min-width: 768px) {

  .p-teacher {
    padding: 100px 0;
  }

  /* ② 写真＋スペック：横並び */
  .p-teacher__profile {
    flex-direction: row;
    align-items: flex-start;
    gap: 48px;
  }

  .p-teacher__photo {
    width: 260px;
    height: 260px;
  }

  .p-teacher__photo-col {
    flex-shrink: 0;
  }

  /* ③ ストーリー：横並び・交互レイアウト */
  .p-teacher__story-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
  }

  /* reverseブロック：写真を左・テキストを右に */
  .p-teacher__story-block--reverse .p-teacher__story-img {
    order: -1;
  }

  /* 写真サイズをPC指定に */
  .p-teacher__story-img {
    aspect-ratio: 3/2;
  }

  /* ④ スペックバー：3列 */
  .p-teacher__specs-bar {
    flex-direction: row;
    gap: 0;
    padding: 28px 32px;
  }

  .p-teacher__specs-item {
    flex: 1;
    padding: 0 24px;
    border-left: 1px solid var(--color-border);
  }

  .p-teacher__specs-item:first-child {
    padding-left: 0;
    border-left: none;
  }
}

/* ============================================================
   12. Instagram導線
   ============================================================ */
.p-instagram {
  padding: 80px 0;
  background: var(--color-main-pale);
  text-align: center;
}

.p-instagram__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 24px;
}

.p-instagram__thumb {
  aspect-ratio: 1;
  background: var(--color-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  position: relative;
}
.p-instagram__thumb::after {
  content: '📷';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  opacity: 0.3;
}

.p-instagram__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-main);
  font-weight: 700;
  font-size: 0.9375rem;
  border-bottom: 2px solid currentColor;
  padding-bottom: 2px;
  transition: opacity 0.2s;
}
.p-instagram__link:hover { opacity: 0.7; }

/* ============================================================
   13. CTA Banner
   ============================================================ */
.p-cta {
  padding: 64px 0;
  background: var(--color-main);
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.p-cta::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 280px; height: 280px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
}
.p-cta::after {
  content: '';
  position: absolute;
  bottom: -60px; left: -40px;
  width: 180px; height: 180px;
  border-radius: 50%;
  background: rgba(232,115,154,0.1);
}
.p-cta__inner {
  position: relative;
  z-index: 1;
  max-width: 600px;
  margin-inline: auto;
  padding-inline: var(--sp-side);
}
.p-cta__title {
  font-size: clamp(1.25rem, 4vw, 2rem);
  font-weight: 900;
  line-height: 1.4;
  margin-bottom: 12px;
}
.p-cta__desc {
  font-size: 0.9375rem;
  opacity: 0.8;
  line-height: 1.9;
  margin-bottom: 32px;
}
.p-cta__btn {
  font-size: 1rem;
  padding: 16px 40px;
}
.p-cta__sub-link {
  /* display: block; */
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 20px;
  color: rgba(255,255,255,0.6);
  font-size: 0.8125rem;
  text-decoration: underline;
}

/* ============================================================
   14. Footer
   ============================================================ */
.p-footer {
  background: var(--color-accent-pale);
  color: var(--color-text);
  font-weight: 600;
  padding: 48px 0 24px;
  padding-bottom: 80px; /* 固定CTAの高さ分 */
}

.p-footer__inner {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-bottom: 32px;
}

.p-footer__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.p-footer__logo-name {
  font-size: 1.125rem;
  font-weight: 900;
}
.p-footer__desc {
  font-size: 0.8125rem;
  opacity: 0.6;
  line-height: 1.9;
}
.p-footer__sns {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}
.p-footer__sns-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.p-footer__sns-link:hover { background: rgba(255,255,255,0.2); }

.p-footer__nav {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.p-footer__nav-group h4 {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  opacity: 0.5;
  text-transform: uppercase;
  font-family: var(--font-en);
  margin-bottom: 10px;
}
.p-footer__nav-group ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.p-footer__nav-group a {
  font-size: 0.8125rem;
  opacity: 0.75;
  transition: opacity 0.2s;
}
.p-footer__nav-group a:hover { opacity: 1; }

.p-footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: center;
  font-size: 0.75rem;
  opacity: 0.5;
}

/* ============================================================
   15. 固定CTA（SPのみ）
   ============================================================ */
.p-fixed-cta {
  display: flex;
  position: fixed;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%) translateY(80px);
  z-index: 200;
  width: calc(100% - 40px);
  max-width: 400px;
  height: 60px;
  background: var(--color-accent);
  color: #fff;
  border-radius: var(--radius-full);
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  box-shadow: var(--shadow-btn);
  opacity: 0;
  transition: opacity 0.4s ease, transform 0.4s ease;
  pointer-events: none;
}
.p-fixed-cta.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}
.p-fixed-cta::after {
  content: ' →';
  font-family: var(--font-en);
  margin-left: 4px;
}

/* ============================================================
   16. Media Queries（PC: min-width 768px）
   ============================================================ */
@media (min-width: 768px) {
  /* Instagram */
  .p-instagram        { padding: 100px 0; }
  .p-instagram__grid  { grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 600px; margin-inline: auto; margin-bottom: 32px; }

  /* CTA */
  .p-cta { padding: 80px 0; }

  /* Footer */
  .p-footer__inner {
    flex-direction: row; gap: 48px;
  }
  .p-footer__info {
    flex-shrink: 0; width: 260px;
  }
  .p-footer__nav {
    grid-template-columns: repeat(3, 1fr); flex: 1;
  }
  .p-footer__bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }

  /* 固定CTA非表示 */
  .p-fixed-cta { display: none; }
}
