/* ============================================
   top.css - トップページ専用スタイル
   font-size基準：html 100% = 1rem = 16px
   ============================================ */


/* ============================================
   共通パーツ
   ============================================ */

#top-main {
  overflow-x: clip;
}

/* セクション共通余白 */
.section-profile,
.section-about,
.section-news,
.section-blog,
.section-event {
  padding: 6rem 200px;
}

/* セクション見出し（共通定義は style.css、ここはページ固有の色上書き） */
.section-lesson .section-heading {
  color: var(--sage);
}

.section-blog .section-heading {
  color: var(--gold);
}

/* section-sub：各セクションの section-heading と同色に */
.section-lesson .section-sub   { color: var(--sage); }
.section-blog .section-sub     { color: var(--gold); }
.section-qa .section-sub       { color: var(--brown-dark); }
.section-qa .section-heading   { margin-bottom: 10px; }
.section-contact .section-sub  { color: var(--brown-dark); }

/* sectionラベル（Produced By、About Us、News共通） */
.section-label {
  font-family: var(--font-nav);
  font-weight: 800;              /* Abhaya Libre ExtraBold */
  font-size: 1.5rem;             /* 24px */
  letter-spacing: 0.2em;
  line-height: 1.3;
  color: var(--brown-dark);
  margin-bottom: 0.25rem;
}

.section-label--en {
  font-family: var(--font-nav);
  font-weight: 400;
  font-size: 0.875rem;
  letter-spacing: 0.2em;
  line-height: 1.4;
  color: var(--brown-mid);
  margin-top: 1rem;
  width: 200px;
}

/* moreボタン */
.btn-more {
  display: inline-grid;
  margin-top: 2rem;
}

.btn-more img {
  grid-area: 1 / 1;
  width: 150px;
  height: auto;
  transition: opacity 0.4s ease;
}

.btn-more .btn-more__hover {
  opacity: 0;
}

/* PC（769px以上）のみhover演出。スマホ画面はhoverなし・タップで即遷移 */
@media (min-width: 769px) {
  .btn-more:hover .btn-more__default {
    opacity: 0;
  }

  .btn-more:hover .btn-more__hover {
    opacity: 1;
  }
}

/* ============================================
   セクション見出しバー（縦線＋丸あしらい）
   Produced By / About Us 共通
   ============================================ */

.section-title-bar {
  position: relative;
  display: flex;
  align-items: center;
  margin-bottom: 2rem;
}

/* 緑の丸あしらい：テキスト先頭文字の背後に重ねる */
.section-title-bar__dot {
  position: absolute;
  left: -3%;
  top: 40%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--sage);
  z-index: 0;
  overflow: hidden;
}

/* ノイズテクスチャ */
.section-title-bar__dot::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.7;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 0.945 0 0 0 0 0.925 0 0 0 0 0.843 0 0 0 1 0'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 200px 200px;
  pointer-events: none;
}

/* 水彩テクスチャ */
.section-title-bar__dot::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../images/suisai.png');
  background-size: cover;
  background-position: center;
  opacity: 0.4;
  mix-blend-mode: multiply;
  pointer-events: none;
}

.section-news .section-title-bar__dot {
  left: -20%;
  top: 40%;
}

/* 見出しテキスト */
.section-title-bar .section-label {
  margin-bottom: 0;
  position: relative;
  z-index: 1;
}

/* ============================================
   HERO
   ============================================ */

.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100svh;               /* スマホのアドレスバー考慮（非対応ブラウザは 100vh にフォールバック） */
  overflow: hidden;
}

/* スライダー */
.hero-slider {
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
}

.hero-slide.is-active {
  opacity: 1;
}

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

.hero-slide img[src*="shoes2026"],
.hero-slide img[src*="tapdom2025"] {
  object-position: center bottom;
  /* ★ダミー画像の間、背景色で代替表示★ */
  background-color: var(--brown-mid);
}

/* ロゴオーバーレイ */
.hero-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;    /* 中央ロゴ */
  background-color: rgba(86, 65, 35, 0.35);
  z-index: 5;
}

/* 左右あしらい共通 */
.hero-side {
  position: absolute;
  top: var(--header-height-pc);
  bottom: 0;
  display: flex;
  flex-direction: row;
  align-items: stretch;
}

.hero-side--left {
  left: 0;
}

.hero-side--right {
  right: 0;
}

/* 縦線：ヘッダー下辺からヒーロー下辺まで */
.hero-side__line {
  display: block;
  width: 1px;
  flex-shrink: 0;
  background-color: var(--gold);
}

/* 縦書きテキスト */
.hero-side__text {
  font-family: var(--font-nav);
  font-weight: 400;
  font-size: 1.5rem;
  letter-spacing: 0.2em;
  color: var(--gold);
  writing-mode: vertical-rl;
  text-orientation: mixed;
  white-space: nowrap;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 0.75rem;
}

.hero-side__instagram {
  transition: opacity var(--transition);
}

.hero-side__newtab-icon {
  width: 30px;
  height: 30px;
  display: block;
  flex-shrink: 0;
  margin-top: 6px;
}

@media (hover: hover) {
  .hero-side__instagram:hover {
    opacity: 0.65;
  }
}

.hero-side__instagram:active {
  opacity: 0.65;
}

@media (max-width: 768px) {
  .hero-side--left,
  .hero-side--right {
    display: none;
  }

  .hero-slide img[src*="yukosasaki2025_3"] {
    object-position: 30% center;
  }
}

.hero-logo-img {
  width: 360px;
  height: auto;
  display: block;
}


/* ============================================
   PROFILE
   ============================================ */

.section-profile {
  background-color: var(--cream-light);
}

.section-profile__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 4rem;
}

/* title-bar: 左列1行目 */
.section-profile__inner > .section-title-bar {
  grid-column: 1;
  grid-row: 1;
}

/* text: 左列2行目 */
.section-profile__text {
  grid-column: 1;
  grid-row: 2;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* photo: 右列、title-bar行 + text行をスパン */
.section-profile__photo {
  grid-column: 2;
  grid-row: 1 / 3;
  align-self: center;
}

.section-profile__name-ja {
  font-family: var(--font-body);
  font-size: 2rem;               /* 32px */
  font-weight: 500;
  letter-spacing: 0.15em;
  line-height: 1.2;
  color: var(--brown-dark);
  margin-bottom: 0.25rem;
}

.section-profile__name-en {
  font-family: var(--font-nav);
  font-weight: 400;
  font-size: 1rem;
  letter-spacing: 0.3em;
  line-height: 1.2;
  color: var(--brown-mid);
  margin-bottom: 2rem;
}


.section-profile__body {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-size: 1rem;           /* 14px ※本文のみ例外的に使用 */
  line-height: 2;
  color: var(--brown-dark);
  align-self: stretch;
  text-align: left;
}

.section-profile__photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  /* ★ダミー画像の間、背景色で代替表示★ */
  background-color: var(--cream);
}


/* ============================================
   ABOUT US
   ============================================ */

.section-about {
  position: relative;
  max-width: 1920px;
  margin: 0 auto;
  overflow-x: clip;
  overflow-y: visible;
  padding: 4rem 200px;
  background-color: var(--cream-light);
}

/* SP専用ラベル：PCでは非表示 */
.section-about__sp-label {
  display: none;
}

/* 背景レイヤー：コンテンツ高さに追従する絶対配置 */
.section-about__bg {
  position: absolute;
  inset: 2rem 0;
  display: flex;
}

.section-about__photo {
  flex: 2;
  overflow: visible;
  position: relative;
  z-index: 2;
  margin-top: 6rem;
  margin-right: -4rem;
}

.section-about__photo img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  object-position: center;
  display: block;
}

.section-about__sage {
  flex: 3;
  background-color: var(--sage);
  position: relative;
  z-index: 1;
  overflow: hidden;
}

/* スクロールアニメーション（左右からスライドイン） */
@media (prefers-reduced-motion: no-preference) {
  .section-about__photo {
    opacity: 0;
    transform: translateX(-20px);
    transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .section-about__sage {
    opacity: 0;
    transform: translateX(20px);
    transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.08s,
                transform 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.08s;
  }

  .section-about__photo.is-visible,
  .section-about__sage.is-visible {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ノイズテクスチャ */
.section-about__sage::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.7;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 0.945 0 0 0 0 0.925 0 0 0 0 0.843 0 0 0 1 0'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 200px 200px;
  pointer-events: none;
}

/* 水彩テクスチャ（suisai.png を assets/images/ に配置後に有効） */
.section-about__sage::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../images/suisai.png');
  background-size: cover;
  background-position: center;
  opacity: 0.4;
  mix-blend-mode: multiply;
  pointer-events: none;
}

/* コンテンツレイヤー：max-width 1200px 中央寄せ（高さを決める） */
.section-about__inner {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 3fr;
  align-items: start;
}

.section-about__col-right {
  padding: 3rem 0 3rem 4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section-about__logo-img {
  width: 400px;
  height: auto;
  display: block;
  margin-bottom: 4rem;
}

.section-about__body {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-size: 1rem;
  line-height: 2;
  color: var(--brown-dark);
  align-self: stretch;
  text-align: left;
}

/* SP */
@media (max-width: 768px) {
  .section-about__bg {
    position: relative;
    z-index: 2;
    flex-direction: column;
    align-items: flex-start;  /* photo を左寄せ */
  }

  .section-about__photo {
    flex: none;
    width: 80%;               /* 8:2 の左寄せ */
    height: 60vw;
    min-height: 200px;
    margin-top: 0;
    margin-right: 0;
    margin-bottom: -30vw;     /* inner を photo 中間から開始させる */
  }

  .section-about__sage {
    display: none;
  }

  /* inner の sage 背景が photo 下半分に重なる */
  .section-about__inner {
    position: relative;
    z-index: 1;
    max-width: 100%;
    grid-template-columns: 1fr;
    background-color: var(--sage);
    overflow: hidden;
    padding: calc(30vw + 3rem) var(--side-padding-sp) 3rem;
  }

  .section-about__inner::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.7;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 0.945 0 0 0 0 0.925 0 0 0 0 0.843 0 0 0 1 0'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23noise)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 200px 200px;
    pointer-events: none;
    z-index: 0;
  }

  .section-about__inner::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('../images/suisai.png');
    background-size: cover;
    background-position: center;
    opacity: 0.4;
    mix-blend-mode: multiply;
    pointer-events: none;
    z-index: 0;
  }

  .section-about__col-left,
  .section-about__col-right {
    position: relative;
    z-index: 1;
  }

  .section-about__col-right {
    padding: 0;
  }
}
/* ============================================
   NEWS
   ============================================ */

.section-news .section-title-bar {
  align-self: center;
}

.section-news {
  background-color: var(--cream-light);
}

.section-news__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* news-item 共通スタイルは style.css に集約済み */


/* ============================================
   LESSON
   ============================================ */

.section-lesson {
  position: relative;
  /* overflow: hidden は sticky を壊すが、overflow: clip はスクロールコンテナを作らないので sticky が機能したままクリップできる */
  overflow: clip;
}

/* 動画：sticky で固定、-100svh で inner を上に引き込む */
.lesson-video-wrap {
  position: sticky;
  top: 0;
  height: 100svh;
  margin-bottom: -100svh;
  overflow: hidden;
  z-index: 0;
}

.lesson-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.lesson-video--sp {
  display: none;
}

@media (max-width: 768px) {
  .lesson-video--pc {
    display: none;
  }
  .lesson-video--sp {
    display: block;
  }
}

/* 黒オーバーレイ 70% */
.lesson-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 1;
}

/* コンテンツを前面に */
.section-lesson__inner {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 10rem 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ロゴ */
.section-lesson__logo {
  width: 400px;
  height: auto;
  display: block;
  margin: 1.5rem;
  filter: brightness(0) saturate(100%) invert(85%) sepia(30%) saturate(400%) hue-rotate(10deg);
}

.section-lesson__lead {
  color: var(--cream-light);
  margin-bottom: 6rem;
}

/* 3つの特徴 見出し */
.lesson-features__heading {
  text-align: center;
  margin-bottom: 2rem;
}

.lesson-features__heading-sub {
  font-family: var(--font-nav);
  font-weight: 500;
  font-size: 1.25rem;              /* 20px */
  color: var(--cream-light);
}

.lesson-features__heading-main {
  font-family: var(--font-body);  /* Noto Sans JP */
  font-size: 2rem;             /* 30px */
  font-weight: 400;
  color: var(--sage);
  line-height: 0.6;
}

.lesson-features__heading-num {
  font-family: var(--font-display); /* Abril Fatface */
  font-size: 3rem;                  /* 48px */
  font-weight: 400;
  color: var(--sage);
  vertical-align: baseline;
}

/* 3つの特徴リスト */
.lesson-features {
  display: grid;
  grid-template-columns: repeat(3, minmax(170px, 1fr));
  gap: 1rem;
  width: 100%;
  margin-bottom: 3rem;
}

.lesson-feature {
  padding: 2rem 1rem;
  text-align: center;
}

.lesson-feature__num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--sage);
  font-family: var(--font-nav);     /* Abhaya Libre */
  font-weight: 400;
  font-size: 2.5rem;                  /* 48px */
  color: var(--brown-dark);
  margin: 0 auto 0.5rem;
}

.lesson-feature__title {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  color: var(--cream-light);
  padding: 0.4rem 0;
}

.lesson-feature__title::before,
.lesson-feature__title::after {
  content: '';
  display: block;
  height: 1px;
  background-color: var(--cream-light);
  margin: 0.4rem 0;
}

.lesson-feature p {
  font-size: 1rem;
  line-height: 1.8;
  color: rgba(255, 251, 237, 0.8);
  text-align: left;
}

.section-lesson__desc {
  font-size: 1rem;
  line-height: 2;
  color: rgba(255, 251, 237, 0.85);
  text-align: center;
  max-width:800px;
  margin-bottom: 3rem;
}

/* クラス一覧カード：4列→3列で中央寄せ */
.lesson-cards {
  display: grid;
  grid-template-columns: repeat(4, 250px);
  justify-content: center;
  gap: 1.5rem;
  /* section-lesson__inner の 200px padding を逃げて ~1045px に (4×250 + 3×1.5rem) */
  width: calc(100% + 400px);
  margin-left: -200px;
  margin-right: -200px;
  margin-bottom: 2rem;
}

.lesson-card {
  background-color: rgba(255, 251, 237, 0.06);
  border: 1px solid rgb(255, 255, 255);
  padding: 1.25rem;
  color: var(--cream-light);
  aspect-ratio: 1;
  overflow: auto;
}

.lesson-card--sage {
  background-color: rgba(182, 201, 160, 0.3);
  border-color: rgba(182, 201, 160, 0.4);
}

.lesson-card__title {
  font-family: var(--font-body);
  font-size: 20px;
  font-weight: 500;
  color: var(--cream-light);
  margin-bottom: 0.5rem;
  line-height: 1.2;
  text-align: center;
}

.lesson-card__note {
  display: block;
  font-size: 16px;
  font-weight: 400;
  color: rgba(255, 251, 237, 0.7);
  margin-top: 0.1rem;
  line-height: 1.2;
  text-align: center;
}

.lesson-card__location-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  text-decoration: none;
  transition: opacity 0.2s;
}

@media (hover: hover) {
  .lesson-card__location-row:hover {
    opacity: 0.7;
  }
}

.lesson-card__location-row:active {
  opacity: 0.7;
}

.lesson-card__map-link {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  color: var(--sage);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.2;
  white-space: nowrap;
}

.lesson-card__pin {
  width: 18px;
  height: auto;
  flex-shrink: 0;
}

.lesson-card__studio {
  font-size: 14px;
  font-weight: 400;
  color: var(--sage);
  line-height: 1.2;
  white-space: nowrap;
}

.lesson-card__schedule {
  font-size: 16px;
  font-weight: 500;
  color: var(--cream-light);
  margin-bottom: 0.5rem;
  line-height: 1.2;
  text-align: center;
}

.lesson-card__desc {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255, 251, 237, 0.75);
  text-align: left;
}

.section-lesson .btn-more {
  color: var(--gold);
  border-color: var(--gold);
}

/* SP */
@media (max-width: 768px) {
  .lesson-features {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .lesson-cards {
    grid-template-columns: 1fr;
  }

  .section-lesson__logo {
    width: 200px;
  }
}


/* ============================================
   BLOG
   ============================================ */

.section-blog {
  position: relative;
  overflow: hidden;
  background-color: #42341f;
}

/* 水彩テクスチャ */
.section-blog::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../images/suisai.png');
  background-size: cover;
  background-position: center;
  opacity: 0.4;
  mix-blend-mode: color-burn;
  pointer-events: none;
}

.section-blog__inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section-blog .section-heading {
  color: var(--gold);
}

.section-blog__lead {
  color: var(--gold);
  margin-bottom: 3rem;
}

.section-blog__lead-break {
  display: none;
}

.blog-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  width: 100%;
  margin-bottom: 1rem;
}

/* blog-card 共通スタイルは style.css に集約済み */

.section-blog .blog-card__date {
  color: var(--gold);
}

.section-blog .blog-card__title {
  color: var(--gold);
}


/* ============================================
   EVENT
   ============================================ */

.section-event {
  background-color: var(--cream);
  padding: 0;
}

/* ヒーロー：event_bg.png を背景（下辺が波型、PNG の透明部分からクリーム背景が見える） */
.event-hero {
  background-image: url('../images/event/event_bg.png');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: bottom center;
}

@media (min-width: 1660px) and (max-width: 1920px) {
  .event-hero {
    background-size: 1920px auto;
    background-position: bottom center;
  }
}


.event-hero__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 6rem 50px 10rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.event-hero {
  color: var(--gold);
}

.event-hero .section-heading {
  color: var(--gold);
}

.event-hero__inner p {
  font-size: 1rem;
  line-height: 2;
  color: var(--gold);
  margin-bottom: 1rem;
  max-width: 1200px;
}

.event-hero__inner .event-spf__label {
  font-family: var(--font-nav);
  font-weight: 700;
  font-size: 1.875rem;           /* 30px */
  color: var(--gold);
  margin-bottom: 1.5rem;
}

.event-hero__inner .section-sub {
  color: var(--gold);
  margin-bottom: 3rem;
}

/* ギャラリー：自動スクロールスライダー */
@keyframes event-slide {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.event-slider {
  position: relative;
  overflow: hidden;
  padding: 4rem 0 3.5rem;
}

.event-slider__track {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  width: max-content;
  animation: event-slide 120s linear infinite;
}

.event-slider__track img {
  display: block;
  width: auto;
  border-radius: 6px;
  object-fit: cover;
  flex-shrink: 0;
}

.event-slider__track img:nth-child(10n+1)  { height: 200px; margin-top: 40px; }
.event-slider__track img:nth-child(10n+2)  { height: 200px; margin-top: 10px; }
.event-slider__track img:nth-child(10n+3)  { height: 180px; margin-top: 65px; }
.event-slider__track img:nth-child(10n+4)  { height: 200px; margin-top: 10px; }
.event-slider__track img:nth-child(10n+5)  { height: 220px; margin-top: 30px; }
.event-slider__track img:nth-child(10n+6)  { height: 245px; margin-top: 55px; }
.event-slider__track img:nth-child(10n+7)  { height: 240px; margin-top: 20px; }
.event-slider__track img:nth-child(10n+8)  { height: 275px; margin-top: 70px;    }
.event-slider__track img:nth-child(10n+9)  { height: 185px; margin-top: 60px; }
.event-slider__track img:nth-child(10n+10) { height: 255px; margin-top: 15px; }

.event-slider__deco {
  display: none;
}

@keyframes deco-slide {
  from { background-position-x: 0; }
  to   { background-position-x: -1920px; }
}

.event-slider::before {
  content: '';
  position: absolute;
  top: 65%;
  left: 0;
  width: 100%;
  height: 143px;
  transform: translateY(-50%);
  background-image: url('../images/slider_deco.png');
  background-repeat: repeat-x;
  background-size: 1920px 143px;
  pointer-events: none;
  z-index: 1;
}

.section-event__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 200px 6rem;
}

.event-catchcopy {
  font-family: var(--font-nav);
  font-weight: 400;
  font-size: 1.25rem;            /* 20px */
  letter-spacing: 0.1em;
  color: rgba(255, 251, 237, 0.5);
  text-align: center;
  line-height: 1.8;
  margin-bottom: 4rem;
}

.event-archive__label {
  font-family: var(--font-nav);
  font-weight: 800;
  font-size: 2rem;
  letter-spacing: 0.1em;
  color: var(--brown-mid);
  text-align: center;
  margin-bottom: 1.5rem;
}

.event-archive img {
  width: 100%;
  aspect-ratio: 16 / 6;
  object-fit: cover;
  background-color: var(--brown-dark);
}

.event-archive__video {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 4px;
}

.event-archive__video iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.event-archive__video--soon {
  background-color: #e7ddce;
  border: 1px solid var(--brown-mid);
  display: flex;
  align-items: center;
  justify-content: center;
}

.event-archive__soon {
  font-family: var(--font-display);
  font-size: 2rem;
  letter-spacing: 0.15em;
  color: var(--brown-mid);
}

/* ============================================
   RESPONSIVE - WIDE（〜1200px）
   ============================================ */

@media (max-width: 1200px) {

  .section-profile {
    padding: 5rem 4rem;
  }

}


/* ============================================
   RESPONSIVE - TABLET（〜1024px）
   ============================================ */

@media (max-width: 900px) {

  /* Profile */
  .section-profile__inner {
    display: flex;
    flex-direction: column;
  }

  .section-profile__inner > .section-title-bar { order: 1; }
  .section-profile__photo                       { order: 2; }
  .section-profile__text                        { order: 3; }

}


@media (max-width: 1024px) {

  .section-news,
  .section-blog {
    padding: 5rem var(--side-padding-sp);
  }

  .section-about {
    padding: 4rem var(--side-padding-sp);
  }

  .section-lesson__inner {
    padding: 5rem var(--side-padding-sp);
  }

  .lesson-cards {
    grid-template-columns: repeat(auto-fill, 250px);
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }
}


/* ============================================
   RESPONSIVE - SP（〜768px）
   ============================================ */

@media (max-width: 768px) {

  /* 共通 */
  .section-profile,
  .section-news,
  .section-blog {
    padding: 4rem var(--side-padding-sp);
  }

  .section-label--en {
    width: 150px;
  }

  .section-profile__name-ja {
    font-size: 1.75rem;
  }

  .section-about__logo-img {
    width: 300px;
  }

  .section-lesson__inner {
    padding: 4rem var(--side-padding-sp);
  }

  .section-lesson__logo {
    margin: 0.75rem;
    width: 240px;
  }

  .section-lesson__lead {
    margin-bottom: 2.5rem;
    text-align: center;
  }

  .section-blog__lead-break {
    display: inline;
  }

  .lesson-features__heading {
    margin-bottom: 1rem;
  }

  .section-lesson__desc {
    margin-bottom: 1.5rem;
  }

  .lesson-cards {
    margin-bottom: 1rem;
  }

  /* About は背景を端まで広げるためサイド余白なし */
  .section-about {
    padding: 0;
  }

  /* SP専用ラベルを表示し、inner内の元のcol-leftを非表示 */
  .section-about__sp-label {
    display: block;
    padding: 1.5rem var(--side-padding-sp) 1rem;
    background-color: var(--cream-light);
  }

  .section-about__col-left {
    display: none;
  }


  /* moreボタン */
  .btn-more img {
    width: 120px;
  }

  /* Hero */
  .hero-logo-img {
    width: 250px;
  }

  /* About */
  .section-about__inner {
    grid-template-columns: 1fr;
  }

  /* Lesson */
  .lesson-features {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .lesson-cards {
    grid-template-columns: 1fr;
  }

  .lesson-card {
    aspect-ratio: unset;
  }

  /* Blog */
  /* suisai.pngは横長画像のため、そのままcoverすると拡大され画質が荒くなる。90度回転させ縦向きに配置して荒れを抑える */
  /* widthはセクションの実高さを覆うための値（ブログカード3件・768px幅想定の概算+余裕）。回転後にheightとして機能する */
  .section-blog::after {
    inset: auto;
    top: 50%;
    left: 50%;
    width: 1600px;
    height: 100vw;
    transform: translate(-50%, -50%) rotate(90deg);
  }

  .blog-cards {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  /* Event */
  .event-hero__inner {
    padding: 4rem var(--side-padding-sp) 8rem;
  }

  /* SP: 左にロゴ、右に写真を縦積み */
  .event-slider__track img:nth-child(10n+1)  { height: 130px; margin-top: 25px; }
  .event-slider__track img:nth-child(10n+2)  { height: 170px; margin-top: 5px;  }
  .event-slider__track img:nth-child(10n+3)  { height: 115px; margin-top: 40px; }
  .event-slider__track img:nth-child(10n+4)  { height: 185px; margin-top: 0;    }
  .event-slider__track img:nth-child(10n+5)  { height: 140px; margin-top: 20px; }
  .event-slider__track img:nth-child(10n+6)  { height: 155px; margin-top: 35px; }
  .event-slider__track img:nth-child(10n+7)  { height: 125px; margin-top: 12px; }
  .event-slider__track img:nth-child(10n+8)  { height: 175px; margin-top: 0;    }
  .event-slider__track img:nth-child(10n+9)  { height: 120px; margin-top: 38px; }
  .event-slider__track img:nth-child(10n+10) { height: 160px; margin-top: 8px;  }

  .section-event__inner {
    padding: 0 var(--side-padding-sp) 4rem;
  }
}

