/*
Theme Name: Univa Academy Theme
Theme URI: https://example.com/
Description: WordPress theme generated from the static UNIVA ACADEMY site.
Author: Codex
Version: 1.0.0
*/

/* =========================================
   RESET CSS（スマホ・LINEブラウザ対策）
   ========================================= */

/* box-sizing を全要素に適用 */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* 基本余白の完全リセット */
html,
body {
  margin: 0;
  padding: 0;
}

/* フォントと行高を必ず継承させる */
body {
  line-height: 1.6;
}

/* 見出し・テキスト系のUA差異吸収 */
h1,
h2,
h3,
h4,
h5,
h6,
p,
ul,
ol,
li,
dl,
dt,
dd,
figure,
figcaption {
  margin: 0;
  padding: 0;
}

/* リストのマーカー除去 */
ul,
ol {
  list-style: none;
}

/* 画像の隙間・崩れ防止 */
img,
picture {
  display: block;
  max-width: 100%;
}

/* フォーム系（特にLINEブラウザで重要） */
button,
input,
select,
textarea {
  margin: 0;
  padding: 0;
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  border-radius: 0;
  appearance: none;
  -webkit-appearance: none;
}

/* ボタンを確実にクリック可能に */
button {
  cursor: pointer;
}

/* リンクのタップ時ハイライト除去（iOS） */
a {
  -webkit-tap-highlight-color: transparent;
}

/* =========================================
  1. BASE STYLES & VARIABLES
  ========================================= */
:root {
  /* --- Colors --- */
  --bg-base: #fbf9f9;
  --bg-white: #ffffff;
  --bg-footer: #b5d4d2;

  --color-mint: #aad4d2;
  --color-pink: #f9f4f0;
  --color-pink-deep: #db9d8f;
  --color-text-main: #444;
  --color-text-light: #777;

  /* --- Fonts (Adobe Fonts 設定) --- */

  /* ▼ サブタイトル用（黒文字）：秀英明朝 (400=Regular) */
  --font-subtitle: "dnp-shuei-mincho-pr6", serif;

  /* ▼ メインタイトル用（ピンク英語）：筑紫オールドA明朝 (300=Light) */
  --font-title: "fot-tsukuaoldmin-pr6n", serif;

  /* ▼ 本文用：源ノ角ゴシック */
  --font-sans: "source-han-sans-japanese", sans-serif;
  /* ※ 既存のコードが壊れないように古い変数名も残しておきます */
  --font-serif: var(--font-subtitle);
  --font-serif-old: var(--font-title);
}

html {
  font-size: 100%;
  /* overflow-x: hidden; */
  max-width: 100vw;
}

body {
  margin: 0;
  padding: 0;

  /* ▼ サイト全体の基本フォントを「源ノ角ゴシック」に設定 */
  font-family: var(--font-sans);
  font-weight: 300;
  /* Normal */

  line-height: 1.8;
  color: var(--color-text-main);
  background-color: var(--bg-base);
  letter-spacing: 0.05em;
  /* overflow-x: hidden; */
  max-width: 100vw;
}

h2,
h3,
h4,
p,
ul,
li {
  margin: 0;
  padding: 0;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}

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

a:hover {
  opacity: 0.7;
}

ul {
  list-style: none;
}

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}

/* =========================================
  レスポンシブ用ユーティリティ
  ========================================= */
/* スマホ版での改行用（PC版では非表示） */
.sp-br {
  display: none;
}

/* =========================================
   2. HEADER & HERO
   ========================================= */

.hero {
  height: 60vh;
  min-height: 400px;
  /* 最小高さを確保 */
  background-image: url(../images/academy/img-bg.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center 30%;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}

.hero-inner {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
  padding: 0 20px;
}

.hero-ja {
  letter-spacing: 0.1em;
  font-family: var(--font-serif);
  font-size: clamp(24px, 5vw, 42px);
  /* レスポンシブフォントサイズ */
  line-height: 1.2;
  margin: 0 0 8px 0;
}

.hero-en {
  letter-spacing: 0.1em;
  font-size: clamp(40px, 8vw, 80px);
  font-family: var(--font-serif-old);
  font-weight: normal;
  margin-bottom: 60px;
  line-height: 1.2;
  margin: 0 0 40px 0;
}

.schedule {
  font-size: clamp(16px, 4vw, 30px);
  letter-spacing: 0.1em;
  margin: 0;
  padding: 10px 30px;
  color: #e69c8f;
  background-color: #f9f4f0;
  border-radius: 999px;
  display: inline-block;
  max-width: 100%;
  font-family: var(--font-serif);
}

.hero-logo {
  position: absolute;
  top: 30px;
  right: 5%;
  width: clamp(100px, 15vw, 140px);
  z-index: 2;
}

/*----- レスポンシブ -----*/
@media (max-width: 1100px) {
  .page-header {
    height: 8vh;
  }
  .logo {
    padding: 10px;
    width: 100px;
  }
  .header-buttons {
    display: none;
  }
  .hamburger {
    background: none;
  }
  .hamburger-icon {
    width: 40px;
    height: 40px;
  }

  .hamburger-icon path {
    stroke: #fff;
  }

  .hero-logo {
    top: 20%;
    left: 50%;
    right: auto;

    transform: translate(-50%, -50%);

    width: clamp(75px, 15vw, 85px);
  }
  .hero-inner {
    top: 15%;
  }
  .hero-ja {
    font-size: clamp(10px, 4.5vw, 23px);
    margin-bottom: clamp(3px, 5px, 10px);
  }
  .hero-en {
    font-size: clamp(20px, 8vw, 60px);
    margin-bottom: clamp(20px, 40px, 40px);
  }
  .schedule {
    font-size: clamp(8px, 3vw, 20px);
  }
}
@media (max-width: 500px) {
  .hero {
    height: 40vh;
    min-height: 40vh;
  }
  .hero-inner {
    top: 5%;
  }
  .hero-en {
    margin-bottom: 30px;
  }
  .hero-inner {
    top: 20%;
  }
  .schedule {
    margin-top: -20px;
  }
}

/*LINEブラウザ対策*/

html.is-line .schedule,
body.is-line .schedule {
  margin-top: -20px !important;
}

/* ==========
 Interview
========== */
.interview {
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 20px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.interview-item {
  position: relative;
}

.interview-text {
  font-size: 0.9rem;
  font-family: var(--font-serif);
  letter-spacing: 0.1em;
  color: #e69c8f;
  margin-bottom: 10px;
}

.interview-text h3 {
  font-weight: normal;
}

.interview-image {
  position: relative;
  overflow: hidden;
}

.interview-image a {
  display: block;
  overflow: hidden;
}

.interview-image a:hover img {
  transform: scale(1.05);
  transition: transform 0.3s ease;
}

/* スライドインアニメーション用 */
.interview-image.slide-in-image {
  position: relative;
}

.interview-image.slide-in-image::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #e69c8f;
  z-index: 10;
  transform: translateX(-100%);
}

.interview-image.slide-in-image.animate::after {
  animation: slideReveal 1.2s cubic-bezier(0.77, 0, 0.175, 1) forwards;
}

.interview-image.slide-in-image img {
  opacity: 0;
}

.interview-image.slide-in-image.animate img {
  animation: fadeIn 0.6s 0.6s cubic-bezier(0.77, 0, 0.175, 1) forwards;
}

@keyframes slideReveal {
  0% {
    transform: translateX(-100%);
  }

  50% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(100%);
  }
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

/* テキストのスライドイン */
.interview-text.slide-in-left {
  opacity: 0;
  transform: translateX(-30px);
  transition:
    opacity 0.8s cubic-bezier(0.77, 0, 0.175, 1),
    transform 0.8s cubic-bezier(0.77, 0, 0.175, 1);
}

.interview-text.slide-in-left.animate {
  opacity: 1;
  transform: translateX(0);
}

/* --- レスポンシブ対応 (スマホ) --- */
@media (max-width: 900px) {
  .interview {
    grid-template-columns: 1fr;
    /* スマホでは縦並び（1列）に戻す */
    padding: 40px 20px;
  }
}

/* =========================================
  CONTACT CUSTOM (画像再現・完全版)
  ========================================= */

.contact {
  background: #f9f4f0;
  padding: 20px;
  text-align: center;
}

/* --- PC版（Flexboxで自然な配置） --- */
.contact-container {
  max-width: 800px;
  margin: 0 auto;

  display: flex;
  align-items: center; /* 上下中央揃え */
  gap: 50px; /* 画像とテキストの間隔広め */
  text-align: left;
}

/* QRコード */
.line-qrcode {
  width: 160px; /* 画像に合わせて調整 */
  height: auto;
  flex-shrink: 0;
  /* 白い枠線をつけると画像っぽくなります（任意） */
  border: 4px solid #fff;
}

/* テキスト＆ボタンエリア（PCではグループ化） */
.contact-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start; /* 左寄せ */
}

.contact-title {
  font-family: var(--font-serif), serif;
  font-weight: 400;
  font-style: normal;
  font-size: 1.2rem; /* 約24px */
  letter-spacing: 0.1em;
  color: #444;
  margin: 0 0 10px 0;
}

.contact-subtitle {
  font-family: "source-han-sans-japanese", sans-serif;
  font-size: 1rem; /* 16px */
  font-weight: 400;
  line-height: 1.8;
  color: #555;
  margin: 0 0 15px 0; /* ボタンとの距離 */
}

/* ボタンエリア */
.contact-btn-wrapper {
  width: 100%;
}

/* ボタン本体（LINEグリーン） */
.contact-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #8cc523; /* 画像に近い明るいグリーン */
  color: #fff;
  padding: 7px 0 10px; /* 高さはpaddingで確保 */
  width: 320px; /* PCでの幅 */
  border-radius: 999px;
  text-decoration: none;
  font-family: var(--font-serif);
  font-size: 1.2rem;
  letter-spacing: 0.1em;
  transition: all 0.3s;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
}

.contact-btn:hover {
  background: #7bb515;
  transform: translateY(-2px);
  opacity: 1;
}

/* =========================================
  スマホ・タブレット対応 (900px以下)
  ========================================= */
@media (max-width: 900px) {
  .contact {
    padding: 20px 20px;
  }

  /* Gridレイアウトに変更 */
  .contact-container {
    display: grid;
    /* 左:画像(固定幅) 右:残り全部 */
    grid-template-columns: 120px 1fr;
    gap: 5px 10px;
    align-items: center;
  }

  /* ★魔法のプロパティ：グループ解除★ */
  .contact-content {
    display: contents;
  }

  /* QRコード：左上 */
  .line-qrcode {
    width: 100%;
    max-width: 100px;

    /* 縦に2行分（タイトルとサブタイトルの横）を占有 */
    grid-row: 1 / 3;
    grid-column: 1 / 2;

    margin: 0 auto;
    border-width: 2px;
  }

  /* タイトル：右上 */
  .contact-title {
    grid-row: 1 / 2;
    grid-column: 2 / 3;

    font-size: 15px;
    font-weight: 500; /* 少し太くして視認性アップ */
    margin: 0;
    align-self: end; /* 下に寄せてQRとバランス */
    line-height: 1.4;
  }

  /* サブタイトル：右下 */
  .contact-subtitle {
    grid-row: 2 / 3;
    grid-column: 2 / 3;

    font-size: 12px;
    line-height: 1.6;
    margin: 2px 0 0 0;
    align-self: start; /* 上に寄せる */
  }

  /* スマホでは改行を無視して詰める */
  .contact-subtitle br {
    display: none;
  }

  /* ボタンエリア：一番下（左右ぶち抜き） */
  .contact-btn-wrapper {
    grid-row: 3 / 4;
    grid-column: 1 / -1; /* 左右いっぱい */

    display: flex;
    justify-content: center;
    margin-top: 10px;
  }

  /* ボタン本体 */
  .contact-btn {
    width: 100%;
    max-width: 300px;
    padding: 5px 0 7px;
    font-size: 16px;
  }
}

/* =========================================
  5. NEWS
  ========================================= */
.news {
  padding: 80px 20px;
  background: #fff;
}

.news-header {
  text-align: center;
  margin-bottom: 60px;
}

.news-title-en {
  font-size: 3.5rem;
  font-weight: 300;
  color: #e69c8f;
  margin-bottom: 5px;
  letter-spacing: 0.05em;
  line-height: 1.2;
  font-family: var(--font-serif);
}

.news-title-ja {
  font-size: 1.3rem;
  font-weight: 500;
  color: #000;
  letter-spacing: 0.1em;
}

.news-container {
  max-width: 1200px;
  margin: 0 auto;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-bottom: 40px;
}

.news-item a {
  display: block;
  text-decoration: none;
  color: #000;
}

.news-image {
  width: 100%;
  aspect-ratio: 4/3;
  background: #ccc;
  margin-bottom: 15px;
  overflow: hidden;
  border-radius: 4px;
}

.news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.news-item:hover .news-image img {
  transform: scale(1.05);
}

.news-item-title {
  font-size: 1rem;
  margin-bottom: 5px;
  font-weight: 500;
  font-family: var(--font-serif);
}

.news-item-text {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #666;
}

.news-more {
  text-align: right;
  font-family: var(--font-serif);
}

.more-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #000;
  text-decoration: none;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  transition: color 0.3s ease;
  gap: 10px;
}

.more-btn:hover {
  color: #e69c8f;
}

.arrow {
  width: 50px;
  height: auto;
}

.arrow path {
  stroke: currentColor;
  transition: stroke 0.3s ease;
}

.more-btn:hover .arrow path {
  stroke: #e69c8f;
}

@media (max-width: 768px) {
  .news-grid {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 0 20px 10px; /* 画面端の余白を確保 */
  }

  .news-grid::-webkit-scrollbar {
    display: none;
  }

  .news-item {
    flex: 0 0 50vw; /* ← ここが重要 */
    scroll-snap-align: start;
  }
}

/* =========================================
  6. POINT
  ========================================= */
.point {
  position: relative;
  /* z-indexは指定しない（標準）か、必要なら 1 */
  z-index: 1;

  padding: 80px 0;
  background-color: #f9f4f0;
  /* ピンク色 */

  /* ▼▼▼ 四角いままにする（影バグの発生源を断つ） ▼▼▼ */
  border-radius: 0;

  /* 念の為の影消し */
  box-shadow: none !important;
  border: none !important;

  /* マスクがはみ出さないように */
  overflow: hidden;

  margin: 0;
  margin-bottom: 0;
}

/* ▼▼▼ 左上の「白塗り」マスク ▼▼▼
  ピンクの四角の上に「右下が透明で、周りが白い」正方形を乗せます。
  これでピンクの部分が丸く見えます。
*/
.point::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 80px;
  /* 角丸の大きさ */
  height: 80px;
  z-index: 2;
  /* 円形にくり抜かれた白い背景を作る魔法のコード */
  background: radial-gradient(circle at bottom right, transparent 70%, #ffffff 70.5%);
  pointer-events: none;
}

/* ▼▼▼ 右上の「白塗り」マスク ▼▼▼
*/
.point::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 80px;
  /* 角丸の大きさ */
  height: 80px;
  z-index: 2;
  /* 左下が透明で、周りが白い */
  background: radial-gradient(circle at bottom left, transparent 70%, #ffffff 70.5%);
  pointer-events: none;
}

/* --- 以下、中身のスタイル（変更なし） --- */

.point-header {
  text-align: center;
  margin-bottom: 40px;
  opacity: 0;
  transform: translateY(30px);
  transition: all 1s ease;
}

.point-header,
.point-intro,
.point-container {
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

.point-header.show {
  opacity: 1;
  transform: translateY(0);
}

.point-title-en {
  font-size: 2rem;
  font-family: "fot-tsukuaoldmin-pr6n", serif;
  font-weight: 300;
  color: #e69c8f;
  margin-bottom: 10px;
  letter-spacing: 0.05em;
}

.point-title-ja {
  font-size: 1.5rem;
  font-family: var(--font-serif, serif);
  font-weight: 400;
  color: #000;
  letter-spacing: 0.1em;
}

.point-intro {
  font-size: 0.95rem;
  font-weight: 500;
  text-align: center;
  margin-bottom: 60px;
  line-height: 1.8;
}

.point-container {
  max-width: 1100px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

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

.point-item {
  /* background: transparent; */
  display: grid;
  grid-template-rows: subgrid;
  grid-row: span 4;
  gap: 0;
  overflow: hidden;
}

.point-image {
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: 8px 8px 0 0;
}

.point-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.point-item:hover .point-image img {
  transform: scale(1.05);
}

/* --- カードの中身 --- */
.point-content {
  /* position: relative;
  padding: 25px 15px 20px;
  text-align: center;
  background: #fff;
  min-height: 140px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 0 0 8px 8px;
  font-family: var(--font-serif);
  gap: 10px; */
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 24px 10% 0;
  text-align: center;
  background: #ffffff;
}

.point-number {
  /* position: absolute;
  top: 12px;
  left: -10px;
  font-size: 3.5rem;
  font-weight: 300;
  letter-spacing: 0.02em;
  color: rgba(225, 225, 225, 0.5);
  font-family: var(--font-serif);
  line-height: 1;
  z-index: 0;
  margin: 0; */
  position: absolute;
  left: -7%;
  top: 10px;
  font-size: 64px;
  color: #f2ede9;
  font-family: "Shippori Mincho", "Noto Serif JP", serif;
  line-height: 1;
}

.point-subtitle {
  /* position: relative;
  z-index: 1;
  font-size: 0.95rem;
  line-height: 1.4;
  font-weight: 500;
  color: #e69c8f;
  margin: 0;
  letter-spacing: 0.05em;
  font-family: var(--font-serif);
  word-break: keep-all; */
  color: #e58a7a;
  line-height: 1.8;
  letter-spacing: 0.08em;
  position: relative;
  font-family: "dnp-shuei-mincho-pr6", sans-serif;
  overflow-wrap: anywhere;
  word-break: keep-all;
}

.point-toggle {
  /* background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  display: block;
  margin: 0; */
  border: none;
  background: none;
  padding: 16px 10%;
  cursor: pointer;
  background: #ffffff;
}

.toggle-icon {
  /* font-size: 1.2rem;
  color: #ccc;
  display: inline-block;
  transform: scaleY(0.6) scaleX(1.5) rotate(0deg);
  transition:
    transform 0.4s ease,
    color 0.3s ease;
  line-height: 1;
  margin: 0; */
  display: block;
  margin: 0 auto;
  width: 14px;
  height: 14px;
  border-left: 2px solid #555555;
  border-bottom: 2px solid #555555;
  transform: rotate(-45deg);
  transition: transform 0.3s ease;
}

.point-item.active .toggle-icon {
  /* transform: scaleY(0.6) scaleX(1.5) rotate(180deg);
  color: #e69c8f; */
  transform: rotate(135deg);
}

/* --- 詳細エリア --- */
.point-detail {
  /* padding: 0 20px;
  background: #fff;
  border-radius: 8px;
  margin-top: 0;
  height: 0;
  overflow: hidden;
  opacity: 0;
  transition:
    height 0.4s ease,
    opacity 0.4s ease,
    margin-top 0.4s ease,
    padding 0.4s ease;
  font-family: var(--font-serif); */
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  background: #ffffff;
  transition:
    max-height 0.35s ease,
    opacity 0.25s ease,
    padding 0.25s ease;
  font-family: "source-han-sans-japanese", sans-serif;
}

.point-item.active .point-detail {
  /* padding: 20px;
  margin-top: 15px;
  opacity: 1; */
  max-height: 2000px;
  opacity: 1;
}

.point-detail p {
  /* font-size: 0.9rem;
  line-height: 1.9;
  color: #555;
  font-family: var(--font-serif); */
  padding: 0 10% 24px;
  font-size: 13px;
  line-height: 1.8;
  color: #555555;
  text-align: left;
  font-family: inherit;
}

.point-list {
  margin: 0 0.5em 0.5em;
  padding: 0.5em;
  background-color: rgb(247 240 234 / 0.7);
}

.point-list li {
  padding-left: 1.5em;
  font-size: 13px;
  line-height: 1.8;
  color: #555;
  margin-bottom: 8px;
  font-family: var(--font-serif);
  font-family: inherit;
  list-style: none;
}

/* スマホ対応 */
@media (max-width: 768px) {
  .point-container {
    position: relative;
    width: calc(100vw - 20px);
    margin-right: calc(50% - 50vw);
  }
  .point-container::before,
  .point-container::after {
    position: absolute;
    top: 0;
    bottom: 0;
    content: "";
    display: block;
    margin: auto 0;
    width: 1.5rem;
    height: 1.5rem;
    border-top: 5px solid #d3d3d3;
    border-left: 5px solid #d3d3d3;
    z-index: 1;
    opacity: 0.7;
  }
  .point-container::before {
    left: -1%;
    rotate: -45deg;
    animation: arrow-left 2s ease infinite;
  }
  .point-container::after {
    right: 2%;
    rotate: 135deg;
    animation: arrow-right 2s ease infinite;
  }

  .point-grid {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 0 20px 10px; /* 画面端の余白を確保 */
  }

  .point-grid::-webkit-scrollbar {
    display: none;
  }

  .point-item {
    flex: 0 0 50vw; /* ← ここが重要 */
    scroll-snap-align: start;
  }
}

@media (max-width: 600px) {
  /* 横スクロールのスナップ付きカルーセル */
  .point-grid {
    /* 既存の4列指定を解除してオートカラムを有効に */
    grid-template-columns: none;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 85%; /* 1カード=画面の約85%幅 */
    overflow-x: auto;
    gap: 16px;
    padding: 0 16px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch; /* iOS慣性スクロール */
  }

  .point-grid::-webkit-scrollbar {
    display: none;
  }

  .point-item {
    scroll-snap-align: center;
  }

  .point {
    margin: 0 0 60px 0;
    padding: 40px 0; /* 外側余白は内側に寄せる */
    border-radius: 0;
  }

  .point-intro {
    font-size: 13px;
    letter-spacing: normal;
    line-height: 2.5;
  }

  /* スマホ用のカバーサイズ調整（小さくする） */
  .point::before,
  .point::after {
    width: 40px;
    height: 40px;
  }

  .point::before {
    background: radial-gradient(circle at bottom right, transparent 70%, #ffffff 70.5%);
  }

  .point::after {
    background: radial-gradient(circle at bottom left, transparent 70%, #ffffff 70.5%);
  }
}

/* =========================================
  LINEブラウザ対応 (pointセクション)
  ========================================= */
.is-line .point-intro {
  font-size: 0.75rem;
  margin-bottom: 40px;
  line-height: 1.6;
}

.is-line .point-subtitle {
  font-size: 0.85rem;
  line-height: 1.3;
}

.is-line .point-content {
  min-height: 120px;
  padding: 20px 10px 15px;
}

.is-line .toggle-icon {
  font-size: 1rem;
}

/* =========================================
  7. CONCEPT (HTML完全準拠・スクロール版)
  ========================================= */
.concept {
  padding: 80px 0 150px;
  background: #fff;
  /* JS制御の場合、overflow: hiddenでも大丈夫ですが
     念のため visible にしておくと安心です */
  overflow: visible;
}

.concept-header {
  text-align: center;
  margin-bottom: 80px;
  padding: 0 20px;
}

/* 英語タイトル */
.concept-title-en {
  font-size: 2rem;
  font-family: var(--font-title) !important; /* 筑紫オールド */
  font-weight: 300 !important;
  font-style: normal !important;
  color: #e69c8f;
  margin-bottom: 10px;
  letter-spacing: 0.05em;
}

/* 日本語タイトル */
.concept-title-ja {
  font-size: 1.5rem;
  color: #000;
  letter-spacing: 0.1em;
  font-family: "dnp-shuei-mincho-pr6", serif; /* 秀英明朝 */
  font-weight: 400;
}

.concept-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* --- コンテンツ行の設定 --- */
.concept-right,
.concept-left {
  display: flex;
  gap: 60px;
  margin-bottom: 120px;
  /* ▼ 高さは中身（文章）に合わせる */
  height: auto !important;
  /* ▼ 画像を上に詰める（JSで動かすために必須） */
  align-items: flex-start !important;
  /* JSの座標計算の基準点 */
  position: relative;
}

.concept-right {
  flex-direction: row;
}
.concept-left {
  flex-direction: row-reverse;
}

/* --- ▼▼▼ 画像を包む箱 (.img-wrap) の設定 ▼▼▼ --- */
/* ここでサイズや配置を制御します */
.img-wrap {
  flex-shrink: 0;
  position: sticky;
  top: 100px;
  z-index: 10;
  /* JSでの移動を滑らかにする */
  /* will-change: transform; */
  /* 右レイアウトの時のサイズと位置（左にはみ出す） */
  width: calc(50% + 100px);
}

.concept-right .img-wrap {
  margin-left: -100px;
}

.concept-left .img-wrap {
  margin-right: -100px;
}

/* --- 画像自体の設定 --- */
.concept-image,
.concept-image-reverse {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
  /* フェードインアニメーション用 */
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}

/* 画像の角丸（デザイン維持） */
.concept-image {
  border-radius: 0 300px 300px 0;
}
.concept-image-reverse {
  border-radius: 300px 0 0 300px;
}

/* フェードイン表示時のクラス */
.concept-image.show,
.concept-image-reverse.show {
  opacity: 1;
  transform: translateY(0);
}

/* --- テキストエリア --- */
.concept-item {
  flex: 1;
  padding-top: 20px; /* 見栄え調整 */
  height: auto !important;
  overflow: visible !important;
}

/* --- ▼▼▼ フォント指定エリア (ご指定の内容) ▼▼▼ --- */

/* Concept.01 などの番号 */
.concept-number {
  font-size: 1.4rem;
  color: #e69c8f;
  letter-spacing: 0.1em;
  margin-bottom: 15px;
  line-height: 1;
  font-family: "dnp-shuei-mincho-pr6", serif;
  font-weight: 400;
  font-style: normal;
}

/* サブタイトル */
.concept-subtitle {
  font-size: 1.5rem;
  margin-bottom: 30px;
  color: #333;
  line-height: 1.4;
  font-family: "dnp-shuei-mincho-pr6", serif;
  font-weight: 400;
  font-style: normal;
}

/* 本文 (pタグ) */
.concept-text p {
  font-size: 1.1rem;
  letter-spacing: 0.15em;
  line-height: 2;
  margin-bottom: 15px;
  color: #444;
  font-family: "source-han-sans-japanese", sans-serif;
  font-weight: 300;
  font-style: normal;
}

/* リスト設定 */
.concept-list {
  background-color: #f9f4f0;
  padding: 25px;
  margin: 25px 0;
  border-radius: 8px;
  list-style: none;
}

/* リスト内の文字 */
.concept-list li {
  font-size: 0.95rem;
  line-height: 2;
  padding-left: 25px;
  position: relative;
  color: #444;
  margin-bottom: 5px;
  font-family: "source-han-sans-japanese", sans-serif;
  font-weight: 300;
  font-style: normal;
}

.concept-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #e69c8f;
  font-weight: bold;
}

/* --- レスポンシブ対応（スマホ・タブレット） --- */
@media (max-width: 900px) {
  .concept-right,
  .concept-left {
    display: block;
    /* 縦並びにする */
    height: auto;
    /* 高さ制限解除 */
    margin-bottom: 80px;
  }

  /* 箱の設定リセット */
  .img-wrap {
    position: initial;
    width: 100% !important;
    margin: 0 0 30px 0 !important;
    /* スマホではJSの動きを強制リセット */
    transform: none !important;
  }

  .concept-image,
  .concept-image-reverse {
    width: 100%;
    height: auto;
    /* 縦をもう少し短く */
    aspect-ratio: 16/9;
    border-radius: 12px; /* 基本角丸（個別で上書き） */
    margin-bottom: 30px;
    margin-left: 0;
    margin-right: 0;
  }

  /* 片側を“半円”にする（スマホのみ） */
  /* 左端に揃えて“はみ出し”つつ半円 */
  .concept-right .concept-image {
    border-radius: 0 9999px 9999px 0;
    width: calc(100% + 20px);
    max-width: none;
    margin-left: -20px; /* コンテナ左右の余白を相殺（左端起点） */
    margin-right: auto; /* 右側を自動で詰める → 左起点固定 */
  }

  /* 右端に揃えて“はみ出し”つつ半円 */
  .concept-left .concept-image-reverse {
    border-radius: 9999px 0 0 9999px;
    width: calc(100% + 20px);
    max-width: none;
    margin-right: -20px; /* コンテナ左右の余白を相殺（右端起点） */
    margin-left: auto; /* 左側を自動で空ける → 右起点固定 */
  }

  /* テキストエリア設定 */
  .concept-item {
    height: auto;
    /* 高さ制限解除 */
    overflow-y: visible;
    /* スクロール解除（全表示） */
    padding-right: 0;
  }

  .concept-subtitle {
    font-size: 1.3rem;
    font-weight: 300;
  }

  /* スマホ版での改行表示 */
  .sp-br {
    display: block;
  }

  .concept-text p {
    font-size: 1rem;
    letter-spacing: normal;
    line-height: 2;
  }

  .concept-list {
    font-size: 10px;
  }

  .concept {
    padding: 80px 0 20px;
  }
}

/* LINE browser: Concept section fixes */
.is-line .sp-br {
  display: block;
}

.is-line .concept-subtitle {
  font-size: 1.3rem;
  line-height: 1.5;
}

/* =========================================
  8. INSTRUCTOR (背景完全削除・レイアウト修正版)
  ========================================= */
.instructor {
  padding: 100px 5%;
  background: #e69c8f;
  border-radius: 50px;
}

/* --- Header Animation --- */
.instructor-header {
  text-align: center;
  color: #fff;
  letter-spacing: 0.1em;
  margin-bottom: 60px;
  opacity: 0;
  transform: translateY(30px);
  transition: all 1s ease;
}

.instructor-header.show {
  opacity: 1;
  transform: translateY(0);
}

.instructor-title-en {
  font-size: 2.5rem;
  font-family: var(--font-serif);
  display: block;
}

.instructor-title-jp {
  font-size: 1.5rem;
  margin-top: 10px;
  display: block;
}

/* --- PC・基本設定 (3列・横並び) --- */
.instructor-member ul {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* PCは3列 */
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.instructor-content {
  color: #fff;
  display: flex;
  flex-direction: row; /* 画像と文字を横並び */
  align-items: center; /* 上下中央揃え */
  gap: 20px;

  /* ▼▼▼ 背景・枠を完全に消す設定 ▼▼▼ */
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
  padding: 0 !important; /* 箱がなくなるので余白も削除 */

  width: 100%;
  transition: transform 0.3s;
}

.instructor-content:hover {
  transform: translateY(-5px);
  background: transparent !important; /* ホバー時も透明のまま */
}

.instructor-image {
  border: 3px solid #fff;
  border-radius: 50%;
  width: 80px;
  height: 80px;
  object-fit: cover;
  flex-shrink: 0; /* 画像が潰れないように */
}

/* テキストエリア */
.instructor-info {
  text-align: left;
}

.instructor-name {
  font-size: 1.2rem;
  font-weight: normal;
  font-family: var(--font-serif);
  line-height: 1.2;
  margin-bottom: 5px;
}

.instructor-position {
  font-size: 0.85rem;
  font-family: var(--font-serif);
  opacity: 0.9;
  line-height: 1.2;
  display: block;
}

/* =========================================
  スマホ・タブレット対応 (条件分岐)
  ========================================= */
@media (max-width: 768px) {
  .instructor {
    padding: 60px 5%;
  }

  .instructor-member ul {
    /* ▼ スマホは2列 */
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 10px; /* 縦20px, 横10pxの隙間 */
  }

  .instructor-content {
    flex-direction: row; /* スマホでも横並び維持 */
    align-items: center;
    gap: 10px; /* 画像と文字の距離を少し縮める */
  }

  .instructor-image {
    /* 2列用に少し小さく調整 */
    width: 60px;
    height: 60px;
    border-width: 2px;
  }

  .instructor-name {
    font-size: 0.9rem; /* 文字サイズ微調整 */
    margin-bottom: 3px;
  }

  .instructor-position {
    font-size: 0.7rem;
  }

  .instructor-title-en {
    font-size: 1.5rem;
    font-family: var(--font-serif);
    display: block;
  }
}

/* =========================================
  8. PRICING & SCHEDULE
  ========================================= */
.pricing-section,
.schedule-section {
  background-color: var(--bg-white);
  padding: 80px 0;
}
.pricing-section {
  padding-bottom: 0;
}
.schedule-section {
  padding-top: 0;
}
/* タイトル */
/* ▼▼▼ 変更後 ▼▼▼ */
.pricing-section-title {
  font-family: "dnp-shuei-mincho-pr6", sans-serif;
  font-weight: 300;
  font-style: normal;
  text-align: left;
  max-width: 1000px;
  margin: 20px auto;

  padding: 0; /* ★ここを0にして左端を揃える */

  box-sizing: border-box;
  letter-spacing: 0.05em;
}

/* 料金ボックス */
.pricing-box {
  background-color: #ffffff;
  border: 3px solid #aad4d2;
  padding: 40px 40px;
  margin: 0 auto 80px;
  max-width: 1000px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  border-radius: 8px;
  opacity: 0;
  transform: translateX(-100px);
  transition: all 1s ease-out;
  box-sizing: border-box;
}

.pricing-box.show {
  opacity: 1;
  transform: translateX(0);
}

/* --- 左側エリア --- */
.pricing-left {
  flex: 1;
  text-align: center;
  padding: 0;
  padding-right: 20px;
  font-family: "dnp-shuei-mincho-pr6", serif;
  font-weight: 300;
  font-style: normal;
  color: var(--color-text-main);
}

.pricing-box-title,
.pricing-box-subtitle {
  font-family: inherit;
  font-weight: inherit;
  font-style: inherit;
  color: inherit;
  font-size: 1.2rem;
  line-height: 1.6;
  margin: 0;
  display: block;
}
.pricing-box-title {
  margin-bottom: 5px;
}

/* --- 中央の棒 --- */
.pricing-divider {
  width: 1px;
  height: 80px;
  background-color: #ddd;
  flex-shrink: 0;
}

/* --- 右側エリア --- */
.pricing-right {
  flex: 1;
  padding: 0 20px 0 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* 中の塊(price-area)を中央に配置 */
  align-items: center;

  font-family: "dnp-shuei-mincho-pr6", serif;
  font-weight: 300;
  font-style: normal;
  color: var(--color-text-main);
}

/* ▼▼▼ 追加：金額と注釈をまとめるエリア ▼▼▼ */
.price-area {
  display: flex;
  flex-direction: column;
  /* 中身の要素を右端で揃える */
  align-items: flex-end;
  padding-top: 20px;
}

.price-row {
  display: flex;
  align-items: flex-end;
  gap: 10px;
}

/* ※price-val-wrapperが崩れる場合は追加 */
.price-val-wrapper {
  display: inline-block;
}

.price-badge {
  background-color: #92d4cc;
  color: #fff;
  font-size: 0.85rem;
  margin-right: 20px;
  padding: 6px 12px;
  border-radius: 2px;
  transform: translateY(-5px);
  font-family: inherit;
  font-weight: inherit;
}

.price-badge--early {
  background-color: #db9d90;
}
.price-val,
.currency {
  font-family: inherit;
  font-weight: 300;
  font-style: normal;
  font-size: 2.5rem;
  line-height: 0.8;
}

.price-note {
  font-size: 0.95rem;
  font-family: inherit;
  font-weight: inherit;
  /* 右寄せ指定は親(.price-area)に任せるため削除または継承 */
  text-align: right;
  width: 100%;
}

.tax-label {
  font-size: 1.5rem;
  margin-top: 5px;
  font-family: inherit;
  font-weight: inherit;
}

/* =========================================
  スケジュール部分（PC・共通）
  ========================================= */
.schedule-title {
  font-family: "dnp-shuei-mincho-pr6", serif;
  font-weight: 400;
  font-style: normal;
  font-size: 1.3rem;
  margin-bottom: 30px;
  letter-spacing: 0.1em;
  text-align: left;

  padding-left: 40px;
  padding-right: 20px;
  box-sizing: border-box;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.schedule-list {
  border-top: none;
  max-width: 1000px;
  margin: 0 auto;
}

.schedule-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 35px 0 35px 40px;
  border-bottom: 1px solid #eee;
  gap: 20px;
  font-family: "dnp-shuei-mincho-pr6", serif;
  font-weight: 400;
  font-style: normal;
}

/* ▼▼▼ ここが縦揃えのポイント（共通設定） ▼▼▼ */
.schedule-info {
  position: relative;
  /* 「◆」の幅ぶんだけ左に空間を空ける */
  padding-left: 1.2em;
}

/* 「◆」をCSSで描画 */
.course-name::before {
  content: "◆";
  position: absolute;
  left: 0;
  top: 0;
  color: inherit;
  font-size: 1rem; /* 本文と同じサイズに */
}

.course-name {
  font-size: 1rem;
  font-family: "dnp-shuei-mincho-pr6", sans-serif;
  font-weight: 400;
  font-style: normal;
  margin-bottom: 5px; /* 日付との隙間 */
  line-height: 1.6;
}

.course-date {
  font-family: "source-han-sans-japanese", sans-serif;
  font-weight: 400;
  font-style: normal;

  font-size: 1rem;
  /* padding-leftは不要（親の.schedule-infoで確保済み） */
}

/* =========================================
  スマホ・タブレット対応
  ========================================= */
@media (max-width: 768px) {
  /* ...Pricing部分... */

  .pricing-schedule-section .container {
    max-width: 100%;
    padding: 0 10px;
  }

  .pricing-section-title {
    margin: 20px 20px;
    padding: 0;
    width: auto;
  }

  .pricing-box {
    flex-direction: column;
    align-items: stretch;
    padding: 0;
    margin: 0 10px 80px;
    width: auto;
  }

  .pricing-left {
    width: 100%;
    padding: 0;
    text-align: center;
  }

  .pricing-right {
    width: 100%;
    padding: 0;
    /* スマホでも塊を中央に */
    align-items: center;
    gap: 10px;
  }

  /* ▼▼▼ スマホでも右端揃えを維持する設定 ▼▼▼ */
  .price-area {
    width: auto; /* 幅は中身に合わせる */
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-end; /* 中身を右端揃え */
    padding: 0;
  }

  /* スマホでバッジが折り返さないように */
  .price-row {
    flex-wrap: nowrap;
    justify-content: flex-end; /* 行自体も右寄せ気味に */
    gap: 2px;
  }

  .pricing-divider {
    width: 100%;
    height: 1px;
    margin: 25px 0;
    background-color: #ddd;
  }

  .pricing-box-title,
  .pricing-box-subtitle {
    font-size: 0.9rem;
  }

  .price-badge {
    font-size: 0.5rem;
    margin-right: 10px;
    padding: 6px 12px;
  }

  .price-val,
  .currency {
    font-size: 1.8rem;
  }

  .tax-label {
    font-size: 0.9rem;
  }

  .price-note {
    font-size: 0.75rem;
    /* line-height: 0.5; */
  }
  /* ▼▼▼ ご提示いただいた箇所の書き換え版 ▼▼▼ */
  .schedule-title {
    text-align: left;
    padding-left: 0;
    margin: 0 20px 30px;
    width: auto;
  }

  .schedule-list {
    margin: 0 20px;
  }

  .schedule-item {
    flex-direction: column; /* 縦並び */
    align-items: center; /* 中央揃え */
    padding: 25px 0;
    gap: 15px;
  }

  /* スマホでもインデント（ぶら下げ）を維持 */
  .schedule-info {
    padding-left: 1.2em; /* 共通設定を維持、必要なら調整 */
    width: 100%;
    box-sizing: border-box;
    text-align: left;
  }

  .course-name {
    font-size: 0.95rem;
    text-align: left;
    width: 100%;
  }

  .course-date {
    font-size: 0.8rem;
    width: 100%;
  }

  .schedule-item .btn {
    width: auto;
    max-width: 100%;
    margin-top: 10px;
    padding: 12px 20px;
    text-align: center;
    font-size: 0.9rem;
    white-space: nowrap;
    flex-shrink: 0;
  }
}

/* LINE browser: Pricing-Schedule section fixes */
.is-line .pricing-box-subtitle,
.is-line .pricing-box-title {
  font-size: 0.85rem;
  white-space: nowrap;
  line-height: 1.4;
}

.is-line .price-row {
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.is-line .price-badge {
  font-size: 0.7rem;
  padding: 4px 8px;
  margin-right: 0;
}

.is-line .price-val-wrapper {
  display: inline-block;
  white-space: nowrap;
}

.is-line .currency {
  font-size: 1.75rem;
}

.is-line .price-val {
  font-size: 1.75rem;
  white-space: nowrap;
}

.is-line .tax-label {
  font-size: 0.85rem;
  white-space: nowrap;
}

.is-line .price-note {
  font-size: 0.75rem;
  margin-top: 4px;
}

.is-line .course-name {
  font-size: 0.95rem;
  line-height: 1.4;
  white-space: normal;
}

.is-line .course-date {
  font-size: 0.75rem;
  white-space: normal;
  line-height: 1.4;
}

.is-line .schedule-item {
  gap: 12px;
  flex-wrap: wrap;
}

.is-line .schedule-item .btn {
  font-size: 0.85rem;
  white-space: nowrap;
  flex-shrink: 0;
}

/* =========================================
  9. CURRICULUM
  ========================================= */
.curriculum-section {
  background-color: #f7f0ea;
  padding: 80px 0;
}

.curriculum-header,
.curriculum-intro,
.curriculum-grid {
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

.curriculum-header {
  text-align: center;
  margin-bottom: 40px;
}

.curriculum-title-en {
  font-size: 1.5rem;
  font-family: "fot-tsukuaoldmin-pr6n", serif;
  font-weight: 300;
  color: #e69c8f;
  margin-bottom: 10px;
  letter-spacing: 0.05em;
}

.curriculum-title-ja {
  font-size: 1.1rem;
  color: #000;
  letter-spacing: 0.1em;
  font-family: var(--font-sans);
}

.curriculum-intro {
  font-size: 0.95rem;
  font-weight: 500;
  text-align: center;
  margin-bottom: 60px;
  line-height: 1.8;
}

.curriculum-intro p + p {
  margin-top: 10px;
}

.curriculum-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.curr-item > a {
  background-color: #fff;
  border-radius: 8px;
  padding: 20px !important;
  display: flex;
  flex-direction: column;
  height: 100%;
  text-align: center;
  transition:
    transform 0.3s,
    box-shadow 0.3s;
  cursor: pointer;
}

.curr-item > a:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
  text-decoration: none;
}

.curr-label {
  display: inline-block;
  width: 100%;
  max-width: 210px;
  padding: 7px 0;
  border-radius: 20px;
  font-size: 0.8rem;
  color: #fff;
  font-weight: bold;
  margin-bottom: 15px;
}

.curr-item.mint .curr-label {
  background-color: var(--color-mint);
}

.curr-item.pink .curr-label {
  background-color: var(--color-pink-deep);
}

.curr-text {
  font-size: 0.85rem;
  font-weight: 500;
  line-height: 1.6;
}

@media (max-width: 900px) {
  .curriculum-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .curr-label {
    font-size: 0.625rem;
    padding: 0.3em 0.5em;
    margin-bottom: 0.5em;
  }
  .curr-title {
    font-size: 0.875rem;
  }
}

@media (max-width: 768px) {
  .curriculum-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    padding: 0;
  }
  .curr-item > a {
    padding: 10px !important;
  }

  .curr-label .label-break {
    display: none;
  }
}

/* =========================================
  10. GALLERY (左寄せ・余白あり・4行版)
  ========================================= */
.gallery-section {
  background-color: var(--bg-white);
  padding: 80px 0;
  overflow: hidden;
}

/* ▼ ヘッダー位置調整（左寄せ ＆ 左に余白） */
.gallery-section .section-header {
  text-align: left;
  /* 左寄せ */
  max-width: 1080px;
  margin: 0 auto 20px auto;
  /* 下の余白を少し調整 */

  /* ▼▼▼ ここがポイント（画面端に行かない設定） ▼▼▼ */
  /* 下の画像エリアの左余白(40px)と合わせると綺麗に揃います */
  padding-left: 40px;
}

/* --- ギャラリータイトルの装飾（ご指定のスタイル） --- */
.gallery-section .en-title {
  font-family: "fot-tsukuaoldmin-pr6n", serif;
  /* 筑紫オールド明朝 */
  font-weight: 300;
  font-style: normal;
  color: #db9d8f !important;
  /* ピンク色 */
  font-size: 1.1rem;
  /* 控えめなサイズ */
  margin-bottom: 5px;
  display: block;
  line-height: 1.2;
}

.gallery-section .jp-title {
  font-family: var(--font-serif) !important;
  /* 秀英明朝 */
  color: #444;
  /* 黒グレー */
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  margin-bottom: 40px;
  display: block;
}

.container-fluid {
  width: 100%;
  padding: 0;
}

/* ▼ 行ごとのコンテナ設定 */
.gallery-row {
  display: flex;
  justify-content: flex-start;
  /* 左寄せ */
  gap: 20px;

  /* 横スクロール設定 */
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;

  /* ▼ 左余白をタイトルと同じ 40px に設定 */
  padding: 0 20px 20px 40px;

  margin-bottom: 20px;
  cursor: grab;

  scrollbar-width: none;
  -ms-overflow-style: none;
}

.gallery-row::-webkit-scrollbar {
  display: none;
}

.gallery-row.active {
  cursor: grabbing;
}

/* ▼ 個々のアイテム設定 */
.g-item {
  width: 300px;
  height: 200px;
  flex-shrink: 0;
}

.g-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  pointer-events: none;
}

/* スマホでのサイズ調整 */
@media (max-width: 768px) {
  /* スマホでは余白を少し小さくする */
  .gallery-section .section-header {
    padding-left: 20px;
    text-align: center;
  }

  .gallery-section .section-header .en-title {
    font-size: 2rem;
  }

  .gallery-section .section-header .jp-title {
    font-size: 1.5rem;
  }

  .gallery-row {
    padding: 0 20px 20px 20px;
    /* 画像の余白も合わせる */
    gap: 15px;
    margin-bottom: 15px;
  }

  .g-item {
    width: 240px;
    height: 160px;
  }
}

/* =========================================
  11. CTA & CONSULTATION (タイトル変更・アニメーション実装版)
  ========================================= */

/* --- セクション全体 --- */
.cta-section,
.consultation-section {
  background-color: #f9f8f5;
  overflow: hidden;
  width: 100%;
}
.cta-section {
  padding: 100px 0 30px;
}
.consultation-section {
  padding: 30px 0 100px;
}

/* --- 白い箱（1000px制限・余裕のある余白） --- */
.cta-box,
.consultation-box {
  background-color: #ffffff;
  max-width: 1000px;
  width: calc(100% - 40px);
  margin: 0 auto;
  box-sizing: border-box;
  padding: 60px 80px;
  border-radius: 4px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
  position: relative;
  text-align: center;
  line-height: 1.8;

  /* アニメーション設定 */
  opacity: 0;
  transform: translateX(-100px);
  transition: all 1s ease-out;
}

.cta-box.show,
.consultation-box.show {
  opacity: 1;
  transform: translateX(0);
}

/* --- タイトル（境界線に重なるデザイン） --- */
.cta-box-title,
.consultation-title {
  font-family: "fot-tsukuaoldmin-pr6n", serif;
  font-weight: 300;
  font-size: 1.7rem;
  letter-spacing: 0.15em;
  color: #000000;
  background-color: transparent !important;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  margin: 0;
  padding: 0 20px;
  white-space: nowrap;
  z-index: 10;
}

/* --- 2列レイアウト（PC） --- */
.cta-flex {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 60px;
  margin-top: 20px;
  width: 100%;
  box-sizing: border-box;
}

.left-block,
.right-block {
  width: calc(50% - 30px);
  flex: 0 0 calc(50% - 30px);
  box-sizing: border-box;
}

/* --- 共通設定：画像・ボタン・テキストの幅を100%で統一 --- */
.cta-main-image,
.benefit-image,
.cta-box .right-block a.btn,
.cta-text {
  width: 100% !important;
  max-width: none !important;
  box-sizing: border-box;
}

/* --- 左ブロック：垂直ラインの整列 --- */
.left-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5em;
  text-align: left;
}

.cta-main-image {
  margin-bottom: 30px;
}

.cta-main-image img {
  width: 100% !important;
  height: auto !important;
  display: block;
  border-radius: 2px;
}

.left-block .cta-text p {
  font-family: "source-han-sans-japanese", sans-serif;
  font-weight: 300;
  font-size: 1rem;
  color: #000000;
  margin: 0 0 1.5em 0;
  padding: 0;
  text-align: left;
}

/* --- 右ブロック：垂直ラインの整列 --- */
.right-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* 見出し */
.badge-area,
.mini-title {
  margin-bottom: 10px;
  font-family: "dnp-shuei-mincho-pr6", serif;
  font-weight: normal;
  font-size: 1.1rem;
  letter-spacing: 0.1em;
  color: #000000;
  width: 100%;
}
.mini-title {
  margin-top: 45px;
} /* ボタンとの余白を少し広げる */

.badge-area::before,
.badge-area::after,
.mini-title::before,
.mini-title::after {
  content: "＼";
  display: inline-block;
  margin-right: 5px;
  font-size: 0.8em;
}
.badge-area::after,
.mini-title::after {
  content: "／";
  margin-right: 0;
  margin-left: 5px;
}

/* ボタン（視認性向上：シャドウとホバー効果の強化） */
.cta-box .right-block a.btn {
  display: block !important;
  background-color: #aad4d2 !important;
  color: #ffffff !important;
  padding: 20px 0; /* 少し厚みを持たせる */
  border-radius: 50px;
  text-decoration: none;
  font-size: 1.25rem;
  font-weight: 500; /* 少し太くして視認性UP */
  letter-spacing: 0.1em;
  box-shadow: 0 4px 15px rgba(170, 212, 210, 0.3); /* 柔らかいシャドウを追加 */
  transition: all 0.3s ease;
}
.cta-box .right-block a.btn:hover {
  opacity: 0.9;
  transform: translateY(-2px); /* 浮き上がる効果 */
  box-shadow: 0 6px 20px rgba(170, 212, 210, 0.4);
}

/* 特典画像 */
.benefit-image {
  margin-bottom: 25px;
}
.benefit-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 2px;
}

/* 右側の説明文（特典の強調） */
.right-block .cta-text {
  margin-top: 2px;
}
.right-block .cta-text.sm-text p {
  font-family: "source-han-sans-japanese", sans-serif;
  font-weight: 300;
  font-size: 0.95rem;
  line-height: 1.8;
  color: #000000;
  margin: 0;
  text-align: left;
}

/* 特典テキストの強調（マーカー効果） */
.highlight {
  color: #db9d8f;
  font-weight: 600;
  padding: 0 2px;
}

/* CTAボックスの説明文 */
.cta-box .cta-description,
.consultation-box .cta-description {
  font-family: "dnp-shuei-mincho-pr6", serif !important;
  font-weight: 400 !important;
  font-style: normal !important;
}

/* --- 個別相談セクション --- */
.consultation-desc {
  font-family: var(--font-serif), sans-serif;
  font-weight: 300;
  font-size: 1.1rem;
  line-height: 2;
  margin: 0 auto 40px;
  max-width: 700px;
  color: #000000;
}
.consultation-box .btn {
  font-size: 1.25rem;
}
/* --- スマホ対応 --- */
@media (max-width: 768px) {
  .cta-section {
    padding: 60px 0 20px;
  }
  .consultation-section {
    padding: 20px 0 60px;
  }

  .cta-section .container {
    padding: 0 10px;
  }
  .consultation-section .container {
    padding: 0 10px;
  }

  .cta-box,
  .consultation-box {
    padding: 40px 20px 30px;
    margin: 0 10px;
    width: calc(100% - 20px);
  }

  .cta-text p {
    font-family: "dnp-shuei-mincho-pr6", serif;
    font-size: 0.8rem !important;
  }

  .cta-flex {
    display: block;
    margin-top: 10px;
  }

  .left-block {
    width: 100%;
    flex: none;
    margin-bottom: 40px; /* 上に来るブロック（画像）の下は空ける */
  }

  .right-block {
    width: 100%;
    flex: none;
    margin-bottom: 0; /* ★一番下に来るブロックの余白をゼロにする */
  }

  .cta-main-image {
    margin-bottom: 20px;
  }
  .mini-title {
    margin-top: 25px;
  }
  .cta-box .right-block a.btn {
    padding: 0.5em 0; /* スマホでは少しスリムに */
    font-size: 0.9rem;
  }

  .badge-area,
  .mini-title {
    font-size: 0.85rem;
    margin-bottom: 10px;
  }

  .cta-box-title,
  .consultation-title {
    font-size: 1.4rem;
    width: 90%;
  }

  .consultation-desc {
    font-size: 0.95rem;
    margin-bottom: 20px;
  }

  .consultation-box .btn {
    padding: 0.5em 0;
    max-width: 100%;
    font-size: 0.9rem;
  }
}

/* LINE browser: CTA-Consultation section fixes */
.is-line .badge-area,
.is-line .mini-title {
  font-size: 1rem;
  letter-spacing: normal;
  margin-bottom: 20px;
  white-space: normal;
  line-height: 1.4;
}

.is-line .badge-area::before,
.is-line .badge-area::after,
.is-line .mini-title::before,
.is-line .mini-title::after {
  font-size: 0.7em;
  margin-right: 3px;
  margin-left: 3px;
}

.is-line .cta-description,
.is-line .consultation-desc {
  font-size: 0.8rem;
  line-height: 1.6;
  white-space: normal;
  margin-bottom: 20px;
}

.is-line .cta-box .right-block a.btn {
  font-size: 1rem;
  padding: 15px 0;
  margin-top: 8px;
}

.is-line .right-block .cta-text.sm-text p {
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 10px;
}

/* =========================================
  12. FAQ & BOTTOM ACTIONS
  ========================================= */
.faq-section {
  padding: 80px 0;
  background: #fff;
}

.faq-header {
  max-width: 1100px;
  margin: 0 auto 50px;
  padding: 0 20px;
  text-align: left;
}

.faq-header .curriculum-title-ja {
  margin-bottom: 15px;
}

.faq-list {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 30px;
}

.faq-item + .faq-item {
  margin-top: 30px;
}

.faq-section .en-title {
  font-size: 2rem;
  /* 文字サイズ調整済み */
  font-family: "fot-tsukuaoldmin-pr6n", serif;
  font-weight: 300;
  font-style: normal;

  color: var(--color-pink-deep);
  margin-bottom: 10px;
  letter-spacing: 0.05em;
  font-family: var(--font-serif);
}

.q-text {
  --decor-width: 20px;

  background-color: var(--color-pink);
  padding: 20px 60px 20px 30px;
  margin: 0;
  border-radius: 4px;
  font-family: var(--font-serif);
  font-weight: normal;
  cursor: pointer;
  position: relative;
  line-height: 1.6;
}

/* ＋アイコン作成 */
.q-text::before,
.q-text::after {
  content: "";
  position: absolute;
  background-color: var(--color-pink-deep);
  transition: 0.3s;
}

.q-text::before {
  top: 50%;
  right: 25px;
  width: var(--decor-width);
  height: 2px;
  transform: translateY(-50%);
}

.q-text::after {
  top: 50%;
  right: calc(25px + var(--decor-width) / 2);
  width: 2px;
  height: var(--decor-width);
  transform: translate(50%, -50%);
}

.faq-item.active .q-text::after {
  transform: translateY(-50%) rotate(90deg);
}

.a-text {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition:
    max-height 0.3s,
    opacity 0.3s,
    padding 0.3s,
    margin 0.3s;
}

.faq-item.active .a-text {
  opacity: 1;
  padding: 30px 20px;
  margin: 15px 0 0 0;
  max-height: 1000px;
}

/* 画面下部の固定・アクションエリア */
.bottom-actions {
  /* position: sticky;
  bottom: 0; */
  width: 100%;
  display: flex;
  justify-content: center;
  padding-bottom: 96px;
  /* フッター直前で余白を広く */
  margin: 0;
  /* フッターは未変更のまま密接配置 */
  z-index: 9997;
}

.action-buttons-wrapper {
  display: flex;
  gap: 56px;
  justify-content: center;
  flex-wrap: wrap;
}

.action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1em;
  background: var(--color-mint);
  color: #fff;
  padding: 18px 36px;
  min-width: 260px;
  font-weight: 600;
  font-size: 0.95rem;
  text-align: center;
  transition:
    transform 0.2s ease,
    opacity 0.2s ease,
    background-color 0.2s ease;
}
.action-btn img {
  width: 1.3em;
}
.action-btn:hover {
  transform: translateY(-2px);
  opacity: 0.95;
}

.action-btn .icon {
  width: 22px;
  height: 22px;
}
@media (max-width: 768px) {
}
@media (max-width: 520px) {
  .faq-section .container {
    padding: 0 10px;
  }

  .faq-header {
    text-align: center;
    padding: 0;
  }
  .faq-section .en-title {
  }

  .faq-header .curriculum-title-ja {
  }
  .faq-list {
    padding: 0;
  }
  .faq-item + .faq-item {
    margin-top: 16px;
  }

  .q-text {
  }
  .a-text {
  }

  .faq-item.active .a-text {
    padding: 8px 20px;
  }

  .bottom-actions {
    padding: 56px 0;
  }

  .curriculum-title-ja,
  .curriculum-title-en {
    font-size: 1.5rem;
  }

  .q-text,
  .a-text {
    font-size: 0.85rem;
  }

  .action-buttons-wrapper {
    gap: 24px;
  }

  .action-btn {
    min-width: 300px;
    padding: 16px 40px;
    font-size: 0.95rem;
  }
}

/* =========================================
  13. BUTTONS (個別相談をさらに横長に・修正版)
  ========================================= */

/* ボタン共通 */
.btn {
  display: inline-block;
  padding: 18px 0;

  /* 基本の幅 (無料体験などはここ) */
  width: 500px;
  max-width: 90%;
  /* スマホでは画面からはみ出ないように */

  border-radius: 50px;
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0.1em;
  text-align: center;
  color: #ffffff;
  cursor: pointer;
  text-decoration: none;
  transition: opacity 0.3s;

  /* 影なし・枠線なし */
  box-shadow: none !important;
  border: none;
}

.btn:hover {
  opacity: 0.8;
  transform: none;
}

/* ミント色のボタン */
.btn-mint {
  background-color: #aad4d2 !important;
  color: #ffffff;
}

/* LINEボタン */
.btn-line {
  background-color: #8cc523 !important;
  color: #ffffff;
}

/* =========================================
 ★タイトルフォントの強制統一設定
 ========================================= */

/* 1. メインタイトル（英語・ピンク）の統一
    対象：筑紫オールド明朝 / 300 / normal */
.hero-en,
.instructor-title-en,
.news-title-en,
.point-title-en,
.concept-title-en,
.curriculum-title-en,
.gallery-section .en-title,
.faq-section .en-title,
.cta-box-title,
.consultation-title {
  font-family: var(--font-title) !important; /* 筑紫オールド */
  font-weight: 300 !important;
  font-style: normal !important;
}

/* 2. サブタイトル（日本語・黒）の統一
    対象：秀英明朝 / 400 / normal */
.hero-ja,
.instructor-title-jp,
.news-title-ja,
.point-title-ja,
.concept-title-ja,
.curriculum-title-ja,
.gallery-section .jp-title,
.faq-header .curriculum-title-ja {
  font-family: var(--font-subtitle) !important; /* 秀英明朝 */
  font-weight: 400 !important;
  font-style: normal !important;
}

/* =========================================
  【緊急修正】料金ボックスをスマホで強制的に縦並びにする設定
  style.cssの一番下に追加してください
  ========================================= */
@media (max-width: 768px) {
  /* ボックス全体を縦並びに強制変更 */
  .pricing-box {
    display: flex !important;
    flex-direction: column !important; /* ここで縦積みを強制 */
    align-items: center !important; /* 中央揃え */
    padding: 40px 20px !important;
    height: auto !important;
    width: auto !important;
    margin-left: 20px !important;
    margin-right: 20px !important;
  }

  /* 左（タイトル）と右（金額）を横幅いっぱいに */
  .pricing-left,
  .pricing-right {
    width: 100% !important;
    flex: none !important; /* 横並び比率を解除 */
    padding: 0 !important;
    text-align: center !important; /* 文字も中央寄せ */
  }

  /* 真ん中の仕切り線を横線に変更 */
  .pricing-divider {
    width: 100% !important;
    height: 1px !important;
    margin: 30px 0 !important; /* 上下の隙間 */
    background-color: #ddd !important;
  }

  /* 金額エリアの配置調整 */
  .price-area {
    align-items: center !important; /* スマホでは金額ブロック全体を中央に */
    margin: 0 auto !important;
  }

  /* 金額文字の右端揃えは維持（お好みで center にしてもOK） */
  .price-note {
    text-align: right !important;
    /* もしスマホで中央揃えにしたい場合はここを center にしてください */
  }
  /* ▼▼▼ これを追加してください ▼▼▼ */
  /* タイトルの位置をボックスの強制マージン(20px)と合わせる */
  .pricing-section-title {
    margin-left: 20px !important;
    margin-right: 20px !important;
    width: auto !important;
    padding: 0 !important;
  }
}
