/* ========================================
   多次元統合療法 - メインスタイル
   ======================================== */

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

body {
  font-family: 'Noto Serif JP', serif;
  color: #fff;
  overflow-x: hidden;
  background-color: #333;
  min-height: 100vh;
}

/* コース一覧ページ用 */
body.page-course {
  background: #f4f8f9;
  color: #333;
  min-height: auto;
}

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

/* レスポンシブ時のみ表示する改行 */
br.sp-only { display: none; }

/* --- Hero Wrapper (FV) --- */
/* TOPページ: FVの上にヘッダーセクション（FV画像サイズは変更しない） */
body.top-page .hero-wrapper,
body.home .hero-wrapper {
  margin-top: 64px;
}

/* 16:9画像に合わせたレスポンシブ高さ */
.hero-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  min-height: 60vh; /* フォールバック */
}

/* PC: FVを画面いっぱいに表示 */
@media (min-width: 769px) {
  .hero-wrapper {
    height: 100vh;
    min-height: 0;
  }
}

/* 横長ビューポート（タブレット横）: 16:9を維持、最大100vh */
@media (min-aspect-ratio: 16/9) and (max-width: 768px) {
  .hero-wrapper {
    height: min(56.25vw, 100vh);
    min-height: 0;
    max-height: 100vh;
  }
}

/* 縦長ビューポート（スマホ縦）: 画面高さに合わせる */
@media (max-aspect-ratio: 16/9) {
  .hero-wrapper {
    height: 100vh;
    min-height: 0;
  }
}

.hero-slider {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.slide-item {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

.slide-item.active { opacity: 1; }

/* スライド画像（保守性のためCSSで管理） */
.hero-slider .slide-item:nth-child(2) { background-image: url('../img/home/FV1.jpg'); }
.hero-slider .slide-item:nth-child(3) { background-image: url('../img/home/FV2.jpg'); }
.hero-slider .slide-item:nth-child(4) { background-image: url('../img/home/FV3.jpg'); }

.overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.2);
  z-index: 1;
}

/* --- Header/Footer は common.css で定義 --- */

/* Hero Content */
.hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  width: 100%;
  z-index: 5;
  padding: 0 20px;
  pointer-events: none;
}

.hero-sub {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 22px;
  margin-bottom: 20px;
  letter-spacing: 1px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.hero-main {
  font-size: 44px;
  font-weight: 500;
  margin-bottom: 20px;
  letter-spacing: 2px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
  white-space: nowrap;
}

.hero-tagline {
  font-family: 'Lato', sans-serif;
  font-size: 15px;
  letter-spacing: 3px;
  opacity: 0.9;
  text-transform: uppercase;
}

/* Circle Badge - 全レイヤー最上部に表示 */
.circle-badge {
  position: fixed;
  bottom: 50px;
  right: 50px;
  padding: 15px 30px;
  border: 1px solid rgba(255,255,255,0.8);
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 2147483647;
  background: rgba(100, 100, 100, 0.5);
  backdrop-filter: blur(2px);
  cursor: pointer;
  transition: all 0.3s;
}

.circle-badge:hover {
  background: rgba(100, 100, 100, 0.7);
  border-color: #fff;
  transform: translateY(-2px);
}

.badge-sub {
  font-size: 9px;
  letter-spacing: 1px;
  margin-bottom: 2px;
  font-family: 'Noto Serif JP', serif;
}

.badge-main {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 28px;
  margin: 5px 0;
}

.circle-badge .badge-sub:last-of-type { margin-top: 5px; }

/* Mobile Banner */
.mobile-banner { display: none; }

/* --- Message Section --- */
.message-section {
  background-color: #fff;
  color: #333;
  padding: 100px 20px 120px;
  position: relative;
  z-index: 15;
}
.message-container {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.message-title {
  font-family: 'Noto Serif JP', serif;
  font-size: 36px;
  font-weight: 700;
  text-align: center;
  margin: 0 auto 50px;
  padding-bottom: 20px;
  border-bottom: 2px solid #333;
  display: inline-block;
  letter-spacing: 0.05em;
}
.message-container .message-body { text-align: center; display: block; }
.message-body {
  text-align: center;
}
.message-body p {
  font-family: 'Noto Serif JP', serif;
  font-size: 15px;
  line-height: 2.2;
  margin-bottom: 24px;
  color: #333;
}
.message-body p:last-child { margin-bottom: 0; }
/* メッセージセクションは常に表示（スクロールアニメに依存しない） */
.message-section .js-anim-item { opacity: 1; transform: translateY(0); }
.message-section.is-visible .js-anim-item { opacity: 1; transform: translateY(0); }
.message-section.is-visible .message-title { transition-delay: 0.1s; }
.message-section.is-visible .message-body { transition-delay: 0.2s; }

/* --- Instructor Section --- */
.instructor-section {
  position: relative;
  background: linear-gradient(180deg, #f4fcfc 0%, #e8f2f2 100%);
  padding: 140px 20px;
  color: #2c3e50;
  width: 100%;
  overflow: hidden;
  z-index: 20;
}

.bg-pattern {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-image: radial-gradient(#4a7c6f 1px, transparent 1px);
  background-size: 30px 30px;
  opacity: 0.1;
  pointer-events: none;
  z-index: 0;
}

.bg-watermark {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Playfair Display', serif;
  font-size: 20vw;
  color: rgba(74, 124, 111, 0.05);
  white-space: nowrap;
  pointer-events: none;
  z-index: 0;
}

.instructor-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.instructor-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 80px;
}

.instructor-wrapper + .instructor-wrapper { margin-top: 150px; }
.instructor-reverse { flex-direction: row-reverse; }

.instructor-img-box {
  flex: 0 0 auto;
  width: 280px;
  max-width: 280px;
  position: relative;
}

/* teacher2.png(476x692px)のアスペクト比に合わせた枠 */
.img-frame {
  width: 100%;
  aspect-ratio: 476 / 692;
  position: relative;
  background: #fff;
  box-shadow: 20px 20px 0px rgba(74, 124, 111, 0.15);
  border: 1px solid rgba(74, 124, 111, 0.2);
}

.img-frame::after {
  content: '';
  position: absolute;
  top: -15px; left: -15px;
  width: calc(100% + 30px);
  height: calc(100% + 30px);
  border: 1px solid rgba(74, 124, 111, 0.4);
  z-index: -1;
  pointer-events: none;
}

.instructor-img {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center top;
  transition: transform 1.5s cubic-bezier(0.25, 1, 0.5, 1), filter 1.5s ease;
  filter: grayscale(10%) sepia(5%);
}

.instructor-img-box:hover .instructor-img {
  transform: scale(1.03);
  filter: grayscale(0%) sepia(0%);
}

/* 講師画像（保守性のためCSSで管理） */
.instructor-wrapper:not(.instructor-reverse) .instructor-img { background-image: url('../img/home/teacher2.jpg'); }
.instructor-wrapper.instructor-reverse .instructor-img { background-image: url('../img/home/teacher1.png'); }

.instructor-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.instructor-label {
  display: inline-block;
  font-family: 'Playfair Display', serif;
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #4a7c6f;
  margin-bottom: 15px;
  border-bottom: 1px solid #4a7c6f;
  padding-bottom: 5px;
  font-weight: 600;
  align-self: flex-start;
}

.instructor-name {
  font-family: 'Noto Serif JP', serif;
  font-size: 32px;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin: 0 0 30px;
  color: #2c3e50;
  line-height: 1.3;
}

.name-en {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 16px;
  color: #5d8d7b;
  font-weight: 400;
  margin-top: 5px;
  letter-spacing: 0.05em;
}

.instructor-desc {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 15px;
  line-height: 2;
  letter-spacing: 0.05em;
  text-align: justify;
  color: #555;
  margin-bottom: 25px;
}

.instructor-achievements {
  list-style: none;
  padding: 0;
  margin: 0 0 40px;
}

.instructor-achievements li {
  font-family: 'Noto Serif JP', serif;
  font-size: 15px;
  color: #2f4f4f;
  margin-bottom: 10px;
  padding-left: 0;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
}

.instructor-achievements li::before {
  content: '◆';
  flex-shrink: 0;
  color: #4a7c6f;
  font-size: 9px;
  line-height: 1;
}

/* Instructor Animation */
.js-anim-item {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s cubic-bezier(0.25, 1, 0.5, 1), transform 1s cubic-bezier(0.25, 1, 0.5, 1);
}

.instructor-section.is-visible .js-anim-item {
  opacity: 1;
  transform: translateY(0);
}

.instructor-section.is-visible .js-anim-item:nth-child(1) { transition-delay: 0.1s; }
.instructor-section.is-visible .instructor-content .js-anim-item:nth-child(1) { transition-delay: 0.2s; }
.instructor-section.is-visible .instructor-content .js-anim-item:nth-child(2) { transition-delay: 0.3s; }
.instructor-section.is-visible .instructor-content .js-anim-item:nth-child(3) { transition-delay: 0.4s; }
.instructor-section.is-visible .instructor-content .js-anim-item:nth-child(4) { transition-delay: 0.5s; }
.instructor-section.is-visible .instructor-content .js-anim-item:nth-child(5) { transition-delay: 0.6s; }

/* --- Program Section --- */
.program-section {
  position: relative;
  background-color: #f4f8f9;
  padding: 120px 20px;
  color: #333;
  width: 100%;
  overflow: hidden;
}

.program-bg-text {
  position: absolute;
  top: 10%; left: 0;
  font-family: 'Playfair Display', serif;
  font-size: 200px;
  color: rgba(0, 0, 0, 0.02);
  font-weight: 700;
  pointer-events: none;
  z-index: 0;
  line-height: 0.8;
}

.program-container {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.program-header {
  text-align: center;
  margin-bottom: 70px;
}

.section-subtitle {
  display: block;
  font-family: 'Lato', sans-serif;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #6c9a93;
  margin-bottom: 15px;
}

.program-title {
  font-family: 'Noto Serif JP', serif;
  font-size: 32px;
  letter-spacing: 0.1em;
  margin-bottom: 30px;
  font-weight: 500;
  margin-top: 0;
  color: #333;
}

.program-desc {
  font-family: 'Noto Serif JP', serif;
  font-size: 14px;
  line-height: 2.2;
  max-width: 700px;
  margin: 0 auto;
  color: #666;
}

.program-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.program-card {
  width: 100%;
  height: 400px;
  position: relative;
  cursor: pointer;
}

.card-inner {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.card-bg {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
  filter: brightness(1.15) saturate(0.8);
}

/* プログラムカード画像（保守性のためCSSで管理） */
.program-card:nth-child(1) .card-bg { background-image: url('../img/home/program1.png'); }
.program-card:nth-child(2) .card-bg { background-image: url('../img/home/program2.png'); }
.program-card:nth-child(3) .card-bg { background-image: url('../img/home/program3.png'); }

.program-card:nth-child(3) .card-bg {
  filter: brightness(1.6) saturate(0.8);
}

.program-card:hover .card-bg { transform: scale(1.1); }

.card-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: linear-gradient(to bottom, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.25) 40%, rgba(0,0,0,0.5) 100%);
  color: #fff;
  padding: 30px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  transition: background 0.5s ease;
}

.align-bottom-left {
  justify-content: flex-end;
  align-items: center;
  text-align: left;
}

.card-tag {
  font-family: 'Lato', sans-serif;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  background: rgba(255,255,255,0.25);
  padding: 4px 10px;
  border-radius: 20px;
  backdrop-filter: blur(4px);
  margin-bottom: 15px;
  display: inline-block;
  text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.card-title-main {
  font-family: 'Noto Serif JP', serif;
  font-size: 22px;
  letter-spacing: 0.05em;
  margin: 0 0 5px;
  font-weight: 700;
  line-height: 1.4;
  text-shadow: 0 1px 2px rgba(0,0,0,0.5), 0 2px 4px rgba(0,0,0,0.3);
}

.card-sub-jp {
  font-family: 'Noto Serif JP', serif;
  font-size: 13px;
  margin: 0 0 15px;
  opacity: 0.95;
  font-weight: 300;
  text-shadow: 0 1px 2px rgba(0,0,0,0.5), 0 2px 4px rgba(0,0,0,0.3);
}

.card-info-box {
  font-family: 'Noto Serif JP', serif;
  font-size: 13px;
  color: #fff;
  border-top: 1px solid rgba(255,255,255,0.4);
  padding-top: 10px;
  margin-top: 5px;
  line-height: 1.6;
  min-height: 72px;
  text-shadow: 0 1px 2px rgba(0,0,0,0.5), 0 2px 4px rgba(0,0,0,0.3);
}

.card-info-box p { margin: 0; }

.card-link {
  margin-top: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.program-card:hover .card-link {
  opacity: 1;
  transform: translateY(0);
}

.card-link span {
  font-family: 'Lato', sans-serif;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-shadow: 0 1px 2px rgba(0,0,0,0.4);
}

.arrow-line {
  width: 30px;
  height: 1px;
  background-color: #fff;
  position: relative;
}

.arrow-line::after {
  content: '';
  position: absolute;
  right: 0;
  top: -3px;
  width: 6px;
  height: 6px;
  border-top: 1px solid #fff;
  border-right: 1px solid #fff;
  transform: rotate(45deg);
}

.card-click-layer {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 10;
}

.program-footer-btn { margin-top: 60px; text-align: center; }

.btn-primary {
  display: inline-block;
  background-color: #333;
  color: #fff;
  padding: 18px 60px;
  font-family: 'Noto Serif JP', serif;
  font-size: 16px;
  letter-spacing: 0.1em;
  text-decoration: none;
  transition: all 0.3s;
  border: 1px solid #333;
  min-width: 300px;
}

.btn-primary:hover {
  background-color: #fff;
  color: #333;
}

.notice-text {
  font-family: 'Noto Serif JP', serif;
  font-size: 13px;
  color: #d16b6b;
  margin-top: 15px;
  letter-spacing: 0.05em;
  font-weight: 500;
}

/* Program Animation */
.js-program-item {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s cubic-bezier(0.25, 1, 0.5, 1), transform 1s cubic-bezier(0.25, 1, 0.5, 1);
}

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

.program-section.is-visible .js-program-item:nth-child(1) { transition-delay: 0.1s; }
.program-section.is-visible .program-grid .js-program-item:nth-child(1) { transition-delay: 0.3s; }
.program-section.is-visible .program-grid .js-program-item:nth-child(2) { transition-delay: 0.4s; }
.program-section.is-visible .program-grid .js-program-item:nth-child(3) { transition-delay: 0.5s; }
.program-section.is-visible .program-footer-btn { transition-delay: 0.6s; }

/* --- News Section (Custom Facebook Feed風) --- */
.news-section {
  position: relative;
  background-color: #f0f2f5;
  padding: 100px 20px;
  color: #333;
  width: 100%;
  overflow: hidden;
}

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

.news-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 40px;
  padding: 0 10px 20px;
  border-bottom: 1px solid #eee;
}

.news-header .sub-title {
  display: block;
  font-family: 'Lato', sans-serif;
  font-size: 12px;
  color: #666;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 5px;
}

.news-title-main {
  font-family: 'Playfair Display', serif;
  font-size: 40px;
  letter-spacing: 0.05em;
  font-weight: 500;
  margin: 0;
  line-height: 1;
}

.news-header-note {
  font-size: 12px;
  color: #888;
  margin: 8px 0 0;
  font-family: 'Noto Sans JP', sans-serif;
}

.news-fb-link {
  font-size: 13px;
  color: #1877f2;
  text-decoration: none;
  white-space: nowrap;
  transition: opacity 0.3s;
}
.news-fb-link:hover { opacity: 0.7; }

/* --- Custom Facebook Feed風 カード型マルチカラム --- */
.news-cff-grid {
  display: grid;
  grid-template-columns: minmax(340px, 1.5fr) 1fr 1fr;
  gap: 24px;
  padding: 0 0 40px;
}

@media (max-width: 1024px) {
  .news-cff-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .news-cff-grid { grid-template-columns: 1fr; }
}

.news-cff-card {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.06);
  overflow: hidden;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.news-cff-card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.12), 0 4px 8px rgba(0,0,0,0.08);
  transform: translateY(-2px);
}

.news-cff-card--feed .news-cff-card-inner {
  padding: 0;
  min-height: 600px;
}

.news-cff-card--feed .news-cff-card-inner iframe {
  display: block;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0;
}
/* PC/SPでiframe切り替え: PCは500px幅、SPは280px幅で右側切れ防止 */
.news-fb-iframe-sp { display: none !important; }
.news-fb-iframe-pc { display: block !important; }

.news-cff-card--cta .news-cff-cta-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
  min-height: 280px;
  text-decoration: none;
  color: #333;
  transition: background 0.3s;
}

.news-cff-card--cta .news-cff-cta-link:hover {
  background: #f7f8fa;
}

.news-cff-cta-icon {
  color: #1877f2;
  margin-bottom: 16px;
  opacity: 0.9;
}

.news-cff-cta-text {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 15px;
  line-height: 1.6;
  text-align: center;
  margin-bottom: 20px;
  color: #333;
}

.news-cff-cta-btn {
  display: inline-block;
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 600;
  color: #1877f2;
  border: 1px solid #1877f2;
  border-radius: 6px;
  transition: background 0.3s, color 0.3s;
  font-family: 'Lato', sans-serif;
}

.news-cff-card--cta .news-cff-cta-link:hover .news-cff-cta-btn {
  background: #1877f2;
  color: #fff;
}

.news-fb-embed {
  display: flex;
  justify-content: center;
  padding: 20px 0 40px;
}
.news-fb-embed .fb-page { margin: 0 auto; }

/* --- YouTube連携 --- */
.news-youtube-block {
  display: none !important;
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid #eee;
}

.news-youtube-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
  padding: 0 10px;
}

.news-youtube-title {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  font-weight: 500;
  margin: 0;
  color: #333;
}

.news-youtube-note {
  font-size: 12px;
  color: #888;
  margin: 0;
  font-family: 'Noto Sans JP', sans-serif;
}

.news-youtube-link {
  font-size: 13px;
  color: #ff0000;
  text-decoration: none;
  white-space: nowrap;
  transition: opacity 0.3s;
}
.news-youtube-link:hover { opacity: 0.7; }

.news-youtube-embed {
  position: relative;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  background: #f8f9fa;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  overflow: hidden;
}

.news-youtube-comingsoon {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 280px;
  padding: 48px 24px;
}

.comingsoon-label {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: #333;
  margin-bottom: 24px;
}

.comingsoon-text {
  font-size: 14px;
  color: #888;
  margin: 0;
  font-family: 'Noto Sans JP', sans-serif;
}

.news-youtube-embed-inner {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  overflow: hidden;
}

.news-youtube-embed-inner iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.news-nav-buttons { display: flex; gap: 10px; }

.nav-btn {
  width: 45px;
  height: 45px;
  border: none;
  background: #333;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Lato', sans-serif;
  transition: all 0.3s;
  border-radius: 4px;
}

.nav-btn:hover { background: #666; }

.news-scroll-wrapper {
  display: flex;
  gap: 30px;
  overflow-x: visible;
  padding: 20px 10px 40px;
  scroll-behavior: smooth;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.news-scroll-wrapper::-webkit-scrollbar { display: none; }

.news-card {
  min-width: 300px;
  width: 300px;
  flex-shrink: 0;
  cursor: pointer;
  background: #fff;
  transition: transform 0.3s ease;
}

.news-card:hover { transform: translateY(-5px); }

.news-img-box {
  position: relative;
  width: 100%;
  height: 200px;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 15px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.news-img {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 0.5s ease;
}

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

.category-label {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #fff;
  color: #333;
  padding: 4px 12px;
  font-size: 11px;
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  z-index: 2;
  border-radius: 2px;
}

.news-content { padding: 0 5px; }

.news-date {
  display: block;
  font-family: 'Lato', sans-serif;
  font-size: 12px;
  color: #999;
  margin-bottom: 8px;
}

.news-head {
  font-family: 'Noto Serif JP', serif;
  font-size: 16px;
  font-weight: 500;
  margin: 0 0 10px;
  line-height: 1.5;
}

.news-desc {
  font-family: 'Noto Serif JP', serif;
  font-size: 13px;
  line-height: 1.6;
  color: #666;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-footer { margin-top: 30px; text-align: center; }

.btn-view-more {
  display: inline-block;
  padding: 12px 40px;
  border: 1px solid #333;
  color: #333;
  text-decoration: none;
  font-family: 'Lato', sans-serif;
  font-size: 13px;
  letter-spacing: 1px;
  transition: all 0.3s;
}

.btn-view-more:hover {
  background: #333;
  color: #fff;
}

/* --- Voice Section --- */
.voice-section {
  position: relative;
  background-color: #fff;
  padding: 100px 20px;
  color: #333;
  width: 100%;
  overflow: hidden;
}

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

.voice-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 65px;
  padding: 0 10px;
}

.voice-title-main {
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  letter-spacing: 0.05em;
  font-weight: 500;
  margin: 0;
  color: #333;
}

.voice-nav-buttons { display: flex; gap: 10px; }

.voice-nav-buttons .nav-btn {
  border-radius: 50%;
  border: 1px solid #ddd;
  background: #fff;
  color: #666;
}

.voice-nav-buttons .nav-btn:hover {
  background: #333;
  color: #fff;
  border-color: #333;
}

.voice-scroll-wrapper {
  display: flex;
  align-items: stretch;
  gap: 30px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 10px 10px 40px;
  scroll-behavior: smooth;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.voice-scroll-wrapper::-webkit-scrollbar { display: none; }

/* お客様の声 - 全カード高さ統一（一番右＝最長に合わせる） */
.voice-card {
  flex-shrink: 0;
  background: #fefcf9;
  border-radius: 12px;
  padding: 32px 36px 40px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease;
  min-height: 0;
  height: 100%;
}
.voice-card--short { min-width: 420px; max-width: 420px; width: 420px; }
.voice-card--medium { min-width: 460px; max-width: 460px; width: 460px; }
.voice-card--long { min-width: 500px; max-width: 500px; width: 500px; }

.voice-card:hover { transform: translateY(-5px); }

.voice-card-header {
  text-align: center;
  margin-bottom: 20px;
}

.voice-heart {
  display: block;
  font-size: 28px;
  color: #d45858;
  margin-bottom: 12px;
  line-height: 1;
}

.voice-card-title {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(16px, 2.2vw, 18px);
  font-weight: 700;
  color: #333;
  margin: 0 0 8px;
  letter-spacing: 0.05em;
}

.voice-author {
  font-family: 'Noto Serif JP', serif;
  font-size: 14px;
  color: #666;
}

.voice-quote {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(15px, 1.8vw, 17px);
  font-weight: 600;
  line-height: 1.7;
  color: #333;
  text-align: center;
  margin: 0 0 24px;
  padding: 0 10px;
}

.voice-body-text {
  flex: 1 1 auto;
  min-height: 0;
}
.voice-body-text p {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(13px, 1.5vw, 14px);
  line-height: 1.95;
  color: #555;
  text-align: justify;
  margin: 0 0 1em;
}
.voice-body-text p:last-child { margin-bottom: 0; }

/* 分量に応じたフォントサイズ調整 */
.voice-card--long .voice-body-text p {
  font-size: clamp(12px, 1.4vw, 13px);
  line-height: 2;
}
.voice-card--short .voice-body-text p {
  font-size: clamp(14px, 1.6vw, 15px);
}

/* --- Q&A Section --- */
.qa-section {
  position: relative;
  background-color: #eef4f6;
  padding: 100px 20px;
  color: #333;
  width: 100%;
}

.qa-container { max-width: 1000px; margin: 0 auto; }

.qa-title-main {
  font-family: 'Noto Serif JP', serif;
  font-size: 32px;
  letter-spacing: 0.1em;
  font-weight: 500;
  margin: 0 0 40px;
  color: #333;
  text-align: center;
}

.qa-tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

.qa-tab-btn {
  background: transparent;
  border: 1px solid #ccc;
  border-radius: 30px;
  padding: 10px 25px;
  font-family: 'Noto Serif JP', serif;
  font-size: 14px;
  color: #666;
  cursor: pointer;
  transition: all 0.3s ease;
  outline: none;
}

.qa-tab-btn:hover {
  background: rgba(255, 255, 255, 0.5);
  border-color: #999;
}

.qa-tab-btn.active {
  background: #6c9a93;
  color: #fff;
  border-color: #6c9a93;
  box-shadow: 0 4px 10px rgba(108, 154, 147, 0.3);
}

.qa-content-area { min-height: 300px; }

.qa-panel {
  display: none;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.qa-panel.active {
  display: block;
  animation: fadeInPanel 0.5s forwards;
}

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

.qa-list {
  border-top: 1px solid rgba(0,0,0,0.1);
  margin-bottom: 50px;
}

.qa-item {
  display: flex;
  align-items: center;
  padding: 30px 10px;
  border-bottom: 1px solid rgba(0,0,0,0.1);
}

.qa-number {
  font-family: 'Playfair Display', serif;
  color: #6c9a93;
  width: 60px;
  flex-shrink: 0;
  padding-top: 5px;
}

.qa-number .q-mark {
  font-size: 28px;
  font-weight: 500;
  font-style: italic;
}

.qa-content { flex-grow: 1; }

.qa-category {
  display: inline-block;
  font-family: 'Noto Serif JP', serif;
  font-size: 10px;
  color: #fff;
  background-color: #999;
  padding: 2px 8px;
  border-radius: 4px;
  margin-bottom: 8px;
}

.qa-question {
  font-family: 'Noto Serif JP', serif;
  font-size: 16px;
  color: #333;
  margin: 0 0 10px;
  line-height: 1.6;
  font-weight: 500;
  letter-spacing: 0.05em;
}

.qa-answer {
  font-family: 'Noto Serif JP', serif;
  font-size: 14px;
  color: #666;
  margin: 0;
  line-height: 1.8;
}

.qa-footer { margin-top: 20px; text-align: right; }

.qa-footer .view-more-link {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  font-family: 'Playfair Display', serif;
  font-size: 14px;
  letter-spacing: 0.1em;
  color: #333;
  text-decoration: none;
  transition: opacity 0.3s;
}

.qa-footer .view-more-link:hover { opacity: 0.7; }

.qa-footer .arrow-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid #ccc;
  font-size: 16px;
  transition: all 0.3s;
}

.qa-footer .view-more-link:hover .arrow-circle {
  border-color: #333;
  transform: translateX(5px);
}

/* ========================================
   Responsive (768px以下) - TOPページメインコンテンツ
   ヘッダー・フッターは common.css
   ======================================== */
@media (max-width: 768px) {
  br.sp-only { display: block; }
  .circle-badge { display: none; }
  /* SP版FV: 画像をそのままの縦横比で表示、黒の letterbox を非表示 */
  .hero-wrapper {
    height: 56.25vw; /* 16:9 で画像と一致、黒部分なし */
    min-height: 0;
  }
  .slide-item {
    background-size: contain;
    background-position: center;
  }
  .hero-content { padding: 0 16px; }
  .hero-sub { font-size: 16px; margin-bottom: 12px; }
  .hero-main { font-size: 26px; white-space: normal; line-height: 1.4; margin-bottom: 12px; }
  .hero-tagline { font-size: 12px; letter-spacing: 2px; }

  .mobile-banner {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    position: fixed;
    bottom: 16px;
    left: 16px;
    right: 16px;
    max-width: calc(100% - 32px);
    margin: 0 auto;
    background: rgba(255,255,255,0.25);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 14px 24px;
    border-radius: 12px;
    z-index: 2147483647;
    gap: 8px;
    border: 1px solid rgba(255,255,255,0.6);
    box-shadow: 0 4px 24px rgba(0,0,0,0.15), inset 0 1px 0 rgba(255,255,255,0.3);
    color: #333;
    text-decoration: none;
    transition: all 0.3s;
  }

  .mobile-banner:hover { color: #333; background: rgba(255,255,255,0.35); }
  .mobile-banner-main { font-family: 'Playfair Display', serif; font-style: italic; font-size: 16px; }
  .mobile-banner-sub { font-size: 10px; letter-spacing: 0.5px; font-family: 'Noto Serif JP', serif; color: #555; }
  br.pc-only { display: none; }

  /* Message SP */
  .message-section { padding: 60px 20px 80px; }
  .message-title { font-size: 26px; margin-bottom: 36px; padding-bottom: 16px; }
  .message-body p { font-size: 14px; line-height: 2.0; margin-bottom: 20px; }

  /* Instructor SP */
  .instructor-section { padding: 50px 20px; }
  .bg-watermark { font-size: 25vw; top: 0; transform: translate(-50%, 0); }
  .instructor-wrapper { flex-direction: column; gap: 40px; }
  .instructor-wrapper.instructor-reverse { flex-direction: column; }
  .instructor-wrapper + .instructor-wrapper { margin-top: 60px; }
  .instructor-img-box { width: 50%; max-width: 180px; margin: 0 auto; }
  .instructor-content { width: 100%; text-align: left; }
  .instructor-label { align-self: center; margin-bottom: 20px; }
  .instructor-name { text-align: center; font-size: 26px; }
  .instructor-desc { text-align: justify; font-size: 14px; }
  .instructor-achievements li { font-size: 14px; }

  /* Program SP */
  .program-section { padding: 50px 20px; }
  .program-bg-text { font-size: 80px; top: 5%; }
  .program-title { font-size: 26px; }
  .program-desc { font-size: 13px; }
  .program-grid { grid-template-columns: 1fr; gap: 20px; }
  .program-card { height: 320px; }
  .card-link { opacity: 0.8; transform: translateY(0); }
  .btn-primary { width: 100%; padding: 15px 0; min-width: auto; box-sizing: border-box; }

  /* News SP */
  .news-section { padding: 40px 20px; }
  @media (max-width: 360px) {
    /* 320px幅スマホ: paddingを0にしてFacebook埋め込み(320px)が収まるように */
    .news-section { padding: 40px 0; }
  }
  .news-header { flex-wrap: wrap; gap: 15px; padding-right: 0; margin-bottom: 25px; }
  .news-title-main { font-size: 32px; }
  .news-fb-link { width: 100%; text-align: center; }
  .news-cff-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding-bottom: 20px;
  }
  .news-fb-iframe-pc { display: none !important; }
  .news-fb-iframe-sp { display: block !important; }
  .news-cff-card--feed { width: 100%; max-width: 320px; margin: 0 auto; box-sizing: border-box; }
  .news-cff-card--feed .news-cff-card-inner { min-height: 350px; width: 100%; max-width: 100%; overflow: hidden; box-sizing: border-box; }
  .news-cff-card--feed .news-cff-card-inner iframe { width: 100% !important; max-width: 100% !important; min-width: 0 !important; }
  .news-cff-card--cta { display: none; }
  .news-fb-embed { padding: 10px 0 20px; }
  .news-fb-embed .fb-page { max-width: 100%; }

  /* Voice SP */
  .voice-section { padding: 40px 0 40px 20px; }
  .voice-header { padding-right: 20px; margin-bottom: 15px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; }
  .voice-title-main { font-size: 28px; flex-shrink: 0; }
  .voice-nav-buttons { display: flex; gap: 8px; flex-shrink: 0; }
  .voice-nav-buttons .nav-btn { width: 40px; height: 40px; min-width: 40px; min-height: 40px; border-color: #6c9a93; color: #6c9a93; font-size: 18px; }
  .voice-nav-buttons .nav-btn:hover { background: #6c9a93; color: #fff; border-color: #6c9a93; }
  .voice-scroll-wrapper { gap: 15px; padding: 0 20px 30px 0; align-items: flex-start; }
  .voice-card,
  .voice-card--short,
  .voice-card--medium,
  .voice-card--long {
    min-width: 300px;
    max-width: 85vw;
    width: 85vw;
    padding: 28px 24px 32px;
    min-height: auto;
  }
  .voice-heart { font-size: 24px; margin-bottom: 10px; }
  .voice-card-title { font-size: 16px; }
  .voice-author { font-size: 13px; }
  .voice-quote { font-size: 14px; margin-bottom: 20px; padding: 0 5px; }
  .voice-body-text p { font-size: 13px; line-height: 1.9; }
  .voice-card--long .voice-body-text p { font-size: 12px; line-height: 1.95; }

  /* Q&A SP */
  .qa-section { padding: 40px 20px; }
  .qa-title-main { font-size: 26px; margin-bottom: 30px; }
  .qa-tabs {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding-bottom: 10px;
    margin-bottom: 30px;
  }
  .qa-tab-btn {
    width: 100%;
    white-space: normal;
    font-size: 12px;
    padding: 12px 16px;
    line-height: 1.4;
    text-align: center;
  }
  .qa-item { padding: 20px 0; }
  .qa-number { width: 40px; }
  .qa-number .q-mark { font-size: 24px; }
  .qa-question { font-size: 15px; }
  .qa-answer { font-size: 13px; }
}
