/**
 * ASAKURAグローバル・アカデミー株式会社 (ASGA) 公式サイト
 * カスタムスタイルシート
 *
 * 構成: FV / Header / Philosophy / Service / Profile / Books
 * 配色: クリムゾン #E54B5C, 深紅 #8A2835, 金 #a88040, 金(淡) #e9ce9e（Editorial Grace）
 * フォント: Shippori Mincho (和文) / Cormorant Garamond (欧文)
 */

/* === 横スクロール抑制（SP対策） === */
html, body {
  /*overflow-x: hidden;*/
}
#fig-code-root .min-h-screen.bg-white {
  overflow-x: hidden;
}

/* === FV === */
.fv-asga-content { color: #fff; padding-left: 8%; padding-right: 4%; }
.fv-asga-block { max-width: 52%; }
.fv-asga-eyebrow { font-family: 'Cormorant Garamond', serif; font-size: clamp(11px, 0.95vw, 18px); letter-spacing: 0.45em; color: #d4b88a; margin-bottom: clamp(20px, 1.8vw, 34px); display: flex; align-items: center; gap: clamp(12px, 0.9vw, 16px); font-weight: 400; text-shadow: 0 0 16px rgba(0,0,0,0.85), 0 2px 8px rgba(0,0,0,0.75); }
.fv-asga-eyebrow::before { content: ''; width: clamp(28px, 2.5vw, 48px); height: 1px; background: #d4b88a; }
.fv-asga-main { font-family: 'Shippori Mincho', serif; letter-spacing: 0.06em; line-height: 1.35; margin-bottom: 0; text-shadow: 0 0 20px rgba(0,0,0,0.9), 0 2px 10px rgba(0,0,0,0.85), 0 0 40px rgba(0,0,0,0.6); }
.fv-asga-main-line1 { display: block; font-size: clamp(22px, 2.1vw, 40px); font-weight: 400; color: rgba(255,255,255,0.88); margin-bottom: clamp(10px, 0.9vw, 16px); }
.fv-asga-main-line2 { display: block; font-size: clamp(38px, 4.8vw, 84px); font-weight: 600; color: #fff; white-space: nowrap; }
.fv-asga-main-line2 .fv-asga-main-line1 { display: inline !important; }
.fv-asga-accent { color: #e9ce9e; }
.fv-asga-divider { width: clamp(40px, 3.2vw, 60px); height: 1px; background: #d4b88a; margin-top: clamp(22px, 2vw, 36px); margin-bottom: clamp(16px, 1.3vw, 24px); opacity: 0.7; }
.fv-asga-sub { font-family: 'Shippori Mincho', serif; font-size: clamp(13px, 1vw, 19px); letter-spacing: 0.2em; line-height: 2; color: rgba(255,255,255,0.92); text-shadow: 0 0 16px rgba(0,0,0,0.9), 0 2px 10px rgba(0,0,0,0.85); }
@media (max-width: 1279px) { .fv-asga-main-line2 { white-space: normal; } .fv-asga-block { max-width: 65%; } .fv-asga-content { padding-left: 6%; } }
@media (max-width: 767px) { #hero-asga { height: 85vh; align-items: flex-end; padding-bottom: 15vh; } .fv-asga-content { padding-left: 6%; padding-right: 6%; } .fv-asga-block { max-width: 92%; } .fv-asga-eyebrow { letter-spacing: 0.3em; } .fv-asga-sub { letter-spacing: 0.15em; } }

/* === Header === */
.header-asga { background: rgba(26,20,16,0.35); backdrop-filter: blur(2px); -webkit-backdrop-filter: blur(2px); transition: background 0.4s ease, backdrop-filter 0.4s ease; }
.header-asga-brand-mark { color: #e9ce9e; font-weight: 600; text-shadow: 0 1px 8px rgba(0,0,0,0.4); }
.header-asga-brand-name { color: #fff; font-weight: 400; text-shadow: 0 1px 8px rgba(0,0,0,0.4); }
.header-asga-link { color: rgba(255,255,255,0.88); text-shadow: 0 1px 6px rgba(0,0,0,0.35); letter-spacing: 0.05em; }
.header-asga-link:hover { color: #e9ce9e; }
.header-asga.scrolled { background: rgba(255,255,255,0.95); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); box-shadow: 0 2px 12px rgba(0,0,0,0.06); }
.header-asga.scrolled .header-asga-brand-mark { color: #b45309; text-shadow: none; }
.header-asga.scrolled .header-asga-brand-name { color: #1f2937; text-shadow: none; }
.header-asga.scrolled .header-asga-link { color: #4a4035; text-shadow: none; }
.header-asga.scrolled .header-asga-link:hover { color: #b45309; }

/* === Philosophy === */
.msg-section-asga { font-family: 'Shippori Mincho', serif; }
.msg-asga-eyebrow { font-family: 'Cormorant Garamond', serif; letter-spacing: 0.5em; font-size: clamp(13px, 1.05vw, 16px); color: #a88040; font-weight: 500; }
.msg-asga-title { font-family: 'Shippori Mincho', serif; letter-spacing: 0.15em; font-weight: 500; color: #2a2520; }
.msg-asga-headline { font-family: 'Shippori Mincho', serif; font-size: clamp(26px, 3.2vw, 46px); line-height: 1.6; letter-spacing: 0.12em; color: #1f1a15; font-weight: 500; }
.msg-asga-dramatic { font-family: 'Shippori Mincho', serif; font-size: clamp(20px, 2.4vw, 34px); line-height: 1.7; letter-spacing: 0.08em; color: #1f1a15; font-weight: 500; }
.msg-asga-p { font-family: 'Shippori Mincho', serif; font-size: clamp(16px, 1.25vw, 20px); line-height: 2.1; letter-spacing: 0.06em; color: #3a342d; }
.msg-asga-p-bang { font-family: 'Shippori Mincho', serif; font-size: clamp(18px, 1.4vw, 22px); line-height: 2.0; letter-spacing: 0.06em; color: #2a2520; font-weight: 500; }
.msg-asga-emphasis { background: rgba(229, 75, 92, 0.05); border-left: 2px solid #a88040; padding: 20px 28px; margin: 24px 0; }
.msg-asga-closing { font-family: 'Shippori Mincho', serif; font-size: clamp(22px, 2.4vw, 34px); line-height: 1.7; letter-spacing: 0.12em; color: #1f1a15; font-weight: 500; }
.msg-asga-rule-long { height: 1px; background: linear-gradient(to right, transparent, rgba(168,128,64,0.5), transparent); margin: 36px 0; }
.msg-asga-sig { font-family: 'Shippori Mincho', serif; letter-spacing: 0.15em; }
.msg-asga-call { max-width: 700px; margin: 32px auto 8px; padding: 24px 20px; border-top: 1px solid rgba(168,128,64,0.25); border-bottom: 1px solid rgba(168,128,64,0.25); text-align: center; }
.msg-asga-call-item { font-family: 'Shippori Mincho', serif; font-size: clamp(17px, 1.5vw, 21px); line-height: 2.0; letter-spacing: 0.08em; color: #2a2520; }
.msg-asga-call-item + .msg-asga-call-item { margin-top: 20px; }
.msg-asga-call-accent { color: #8A2835; font-weight: 600; letter-spacing: 0.1em; }
@media (max-width: 767px) { .msg-asga-call { padding: 20px 16px; } }

/* === Service (原案構造にトンマナ統一を上書き) === */
#service { font-family: 'Shippori Mincho', serif; }
#service h2 {
  font-family: 'Shippori Mincho', serif !important;
  letter-spacing: 0.15em !important;
  font-weight: 500 !important;
  color: #2a2520 !important;
}
#service h3 {
  font-family: 'Shippori Mincho', serif !important;
  font-size: clamp(20px, 1.9vw, 26px) !important;
  letter-spacing: 0.1em !important;
  color: #1f1a15 !important;
  font-weight: 500 !important;
  line-height: 1.4 !important;
}
/* リード文「人生後半を〜3つの教育プログラム」 */
#service > div > div:first-child > p.text-xl {
  font-family: 'Shippori Mincho', serif !important;
  font-size: clamp(16px, 1.35vw, 20px) !important;
  letter-spacing: 0.1em !important;
  color: #4a4035 !important;
  line-height: 2.0 !important;
}
/* サブキャッチ（～〜～） */
#service p.text-lg.text-amber-700 {
  font-family: 'Shippori Mincho', serif !important;
  color: #8A2835 !important;
  font-size: clamp(13px, 1.05vw, 15px) !important;
  letter-spacing: 0.08em !important;
  font-weight: 400 !important;
  margin-bottom: 20px !important;
}
/* 引用ボックス（年齢を重ねる不安〜など） */
#service .bg-amber-50.border-l-4 {
  background: rgba(229, 75, 92, 0.06) !important;
  border-left-color: #a88040 !important;
  border-left-width: 2px !important;
  padding: 18px 22px !important;
}
#service .bg-amber-50 p,
#service .bg-amber-50 p.italic {
  font-family: 'Shippori Mincho', serif !important;
  font-size: clamp(15px, 1.3vw, 18px) !important;
  letter-spacing: 0.08em !important;
  color: #1f1a15 !important;
  font-style: normal !important;
  font-weight: 500 !important;
  line-height: 1.55 !important;
}
/* 本文 */
#service .text-gray-700,
#service .text-gray-800 {
  font-family: 'Shippori Mincho', serif !important;
  font-size: clamp(14px, 1.05vw, 16px) !important;
  line-height: 1.85 !important;
  letter-spacing: 0.05em !important;
  color: #3a342d !important;
}
/* グラデ引用ボックス */
#service .bg-gradient-to-r.from-amber-50\/50 {
  background: linear-gradient(to right, rgba(229, 75, 92, 0.08), transparent) !important;
  border-left: 1px solid rgba(229, 75, 92, 0.3) !important;
  padding: 20px 24px !important;
}
/* 円形バッジ 01/02/03 */
#service .absolute.w-20.h-20.bg-amber-700 {
  background: #E54B5C !important;
  box-shadow: 0 6px 20px rgba(229, 75, 92, 0.35) !important;
  font-family: 'Cormorant Garamond', serif !important;
  font-style: italic !important;
  font-weight: 400 !important;
  font-size: 28px !important;
  letter-spacing: 0 !important;
}
/* アイコン背景 amber-100 → 薄め */
#service .bg-amber-100 {
  background: rgba(229, 75, 92, 0.10) !important;
}
/* アイコンの色 amber-700 → 落ち着いた金 */
#service .text-amber-700 {
  color: #a88040 !important;
}
/* サービスタイトル下の罫線 */
#service .w-24.h-1.bg-amber-700 { background: #E54B5C !important; }
#philosophy .w-24.h-1.bg-amber-700 { background: #E54B5C !important; }
/* section上下padding少し詰める */
#service.py-24 { padding-top: 5rem; padding-bottom: 5rem; }
@media (min-width: 640px) {
  #service.sm\:py-32 { padding-top: 7rem; padding-bottom: 7rem; }
}
/* 各サービス間 space-y-32 を詰める */
#service .space-y-32 > * + * { margin-top: 6rem !important; }
/* 画像 shadow-2xl を少し抑える */
#service .shadow-2xl {
  box-shadow: 0 20px 50px -20px rgba(0,0,0,0.35) !important;
}

/* === Profile (案② 名前横に写真、実績カード・History はフル幅) === */
#profile { font-family: 'Shippori Mincho', serif; }
#profile .w-24.h-1.bg-amber-700 { background: #E54B5C !important; }
.profile-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 80px;
  align-items: end;
  max-width: 1120px;
  margin: 0 auto 80px;
}
.profile-info { padding-top: 0; }
.profile-eyebrow {
  font-family: 'Cormorant Garamond', serif;
  letter-spacing: 0.3em;
  font-size: clamp(12px, 0.95vw, 14px);
  color: #a88040;
  margin-bottom: 12px;
}
.profile-name {
  font-family: 'Shippori Mincho', serif !important;
  font-size: clamp(30px, 3.2vw, 46px) !important;
  letter-spacing: 0.15em;
  color: #1f1a15;
  font-weight: 500;
  margin-bottom: 14px;
  line-height: 1.3;
}
.profile-title {
  font-family: 'Shippori Mincho', serif;
  font-size: clamp(16px, 1.4vw, 20px);
  letter-spacing: 0.1em;
  color: #8A2835;
  font-weight: 500;
  margin-bottom: 32px;
}
.profile-summary {
  padding: 22px 0 26px;
  border-top: 1px solid rgba(184,88,40,0.2);
  border-bottom: 1px solid rgba(184,88,40,0.2);
}
.profile-summary p {
  font-family: 'Shippori Mincho', serif;
  font-size: clamp(15px, 1.15vw, 17px);
  line-height: 2;
  letter-spacing: 0.06em;
  color: #3a342d;
  margin-bottom: 1.2em;
}
.profile-summary p:last-child {
  margin-bottom: 0;
}
.profile-photo-wrap { position: relative; width: 100%; }
.profile-photo {
  width: 100%;
  aspect-ratio: 2/3;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 50px -15px rgba(0,0,0,0.25);
  position: relative;
}
.profile-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.profile-photo-accent {
  position: absolute;
  top: -12px;
  right: -12px;
  left: 24px;
  bottom: 24px;
  border: 1px solid rgba(184,88,40,0.3);
  border-radius: 12px;
  z-index: -1;
  pointer-events: none;
}
/* 実績カード: トンマナ統一 */
#profile .grid.md\:grid-cols-3 p.text-4xl,
#profile .grid.md\:grid-cols-3 p.text-5xl {
  font-family: 'Shippori Mincho', serif;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: #1f1a15;
}
#profile .grid.md\:grid-cols-3 p.text-sm { color: #3a342d; letter-spacing: 0.05em; }
#profile .grid.md\:grid-cols-3 p.text-xs { color: #E54B5C !important; letter-spacing: 0.05em; }
/* History 見出し */
#profile h3 { font-family: 'Shippori Mincho', serif; letter-spacing: 0.12em; }
#profile h4 { font-family: 'Shippori Mincho', serif; letter-spacing: 0.08em; }
/* 約束ボックス */
#profile .bg-gradient-to-br .text-xl,
#profile .bg-gradient-to-br .text-2xl { font-family: 'Shippori Mincho', serif; letter-spacing: 0.1em; line-height: 1.9; }
@media (max-width: 900px) {
  .profile-hero { grid-template-columns: 1fr; gap: 48px; max-width: 520px; }
  .profile-info { padding-top: 0; }
  .profile-photo-wrap { max-width: 380px; margin: 0 auto; }
  .profile-eyebrow, .profile-name, .profile-title, .profile-summary { text-align: center; }
}

/* === Books === */
#books { font-family: 'Shippori Mincho', serif; }
#books .w-24.h-1.bg-amber-700 { background: #E54B5C !important; }
.books-subtitle {
  font-family: 'Shippori Mincho', serif;
  font-size: clamp(14px, 1.15vw, 17px);
  line-height: 2.0;
  letter-spacing: 0.1em;
  color: #3a342d;
  max-width: 620px;
  margin: 0 auto;
}
.books-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 20px 18px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 16px;
}
.book-item {
  aspect-ratio: 7/10;
  border-radius: 3px;
  overflow: hidden;
  box-shadow: 0 4px 12px -3px rgba(0,0,0,0.18), 0 2px 4px rgba(0,0,0,0.08);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  background: #FEFAFB;
}
.book-item:hover {
  transform: translateY(-6px) scale(1.04);
  box-shadow: 0 16px 32px -8px rgba(0,0,0,0.28), 0 4px 8px rgba(0,0,0,0.1);
  z-index: 2;
}
.book-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.books-note {
  text-align: center;
  font-family: 'Shippori Mincho', serif;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: #8a8378;
  margin-top: 40px;
}
@media (max-width: 1024px) {
  .books-grid { grid-template-columns: repeat(6, 1fr); gap: 16px 14px; }
}
@media (max-width: 767px) {
  .books-grid { grid-template-columns: repeat(4, 1fr); gap: 14px 12px; }
}
@media (max-width: 420px) {
  .books-grid { grid-template-columns: repeat(3, 1fr); gap: 12px 10px; }
}

/* === セクション背景色: 白 / 薄ベージュ 2色交互 === */
#philosophy,
#profile,
#media,
#company {
  background: #ffffff !important;
  background-image: none !important;
}

#service,
#books,
#contact {
  background: #FEFAFB !important;
  background-image: none !important;
}

/* === Contact (パターンC + メールフォームプロ連携) === */
#contact { font-family: 'Shippori Mincho', serif; }
#contact .w-24.h-1.bg-amber-700 { background: #E54B5C !important; }

/* ヒーロー部（ハートアイコン+見出し+リード） */
.contact-hero { text-align: center; margin-bottom: 48px; }
.contact-heart-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 80px; height: 80px; margin-bottom: 24px;
  background: linear-gradient(135deg, #FF6B3D 0%, #E84A1C 100%);
  border-radius: 50%;
  box-shadow: 0 8px 20px rgba(232, 74, 28, 0.3);
  color: #fff;
}
.contact-headline {
  font-family: 'Shippori Mincho', serif;
  font-size: clamp(24px, 2.6vw, 32px);
  letter-spacing: 0.1em;
  color: #1f1a15;
  font-weight: 500;
  margin-bottom: 14px;
  line-height: 1.5;
}
.contact-sub {
  font-family: 'Shippori Mincho', serif;
  font-size: clamp(15px, 1.3vw, 18px);
  letter-spacing: 0.1em;
  color: #8A2835;
  margin-bottom: 20px;
}
.contact-desc {
  font-family: 'Shippori Mincho', serif;
  color: #3a342d;
  line-height: 2;
  letter-spacing: 0.06em;
  max-width: 560px;
  margin: 0 auto;
}

/* フォーム外枠 */
.contact-form-wrap {
  background: #ffffff;
  border-radius: 16px;
  padding: 40px clamp(20px, 4vw, 44px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
  border: 1px solid rgba(232, 200, 160, 0.35);
}
.contact-form-lead {
  font-family: 'Shippori Mincho', serif;
  text-align: center;
  color: #3a342d;
  line-height: 2;
  letter-spacing: 0.05em;
  margin-bottom: 32px;
  font-size: clamp(14px, 1.05vw, 16px);
}

/* フォーム行 */
#mailformpro .form-row { margin-bottom: 22px; }
#mailformpro .form-row-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
#mailformpro .form-group { display: flex; flex-direction: column; }

/* ラベル */
#mailformpro .form-label {
  display: flex; align-items: center; gap: 8px;
  font-family: 'Shippori Mincho', serif;
  font-size: 15px;
  color: #2a2520;
  font-weight: 500;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}
#mailformpro .req-tag {
  background: #E54B5C;
  color: #fff;
  padding: 2px 8px;
  border-radius: 3px;
  font-size: 11px;
  letter-spacing: 0.1em;
  font-weight: 400;
}

/* 入力欄 */
#mailformpro .form-input,
#mailformpro .form-select,
#mailformpro .form-textarea {
  width: 100%;
  padding: 12px 16px;
  font-family: 'Shippori Mincho', serif;
  font-size: 15px;
  border: 1px solid rgba(168, 128, 64, 0.3);
  border-radius: 6px;
  background: #FEFAFB;
  color: #1f1a15;
  outline: none;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
}
#mailformpro .form-input:focus,
#mailformpro .form-select:focus,
#mailformpro .form-textarea:focus {
  border-color: #E54B5C;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(229, 75, 92, 0.1);
}
#mailformpro .form-textarea {
  width: 100% !important;
  min-height: 140px;
  resize: vertical;
  line-height: 1.7;
  font-family: 'Shippori Mincho', serif;
  box-sizing: border-box;
  display: block;
}
#mailformpro .form-select {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23a88040' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
  background-color: #FEFAFB;
}

/* 送信ボタン */
#mailformpro .form-submit-wrap {
  text-align: center;
  margin-top: 36px;
}
#mailformpro .form-submit-btn {
  display: inline-block;
  min-width: 280px;
  padding: 16px 40px;
  background: linear-gradient(135deg, #FF6B3D 0%, #E84A1C 100%);
  color: #fff;
  border: none;
  border-radius: 999px;
  font-family: 'Shippori Mincho', serif;
  font-size: 17px;
  letter-spacing: 0.2em;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(232, 74, 28, 0.3);
  transition: transform 0.2s, box-shadow 0.2s;
}
#mailformpro .form-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(232, 74, 28, 0.4);
}
#mailformpro .form-submit-btn:active {
  transform: translateY(0);
  box-shadow: 0 4px 12px rgba(232, 74, 28, 0.3);
}

/* 締めメッセージ */
.contact-closing {
  text-align: center;
  font-family: 'Shippori Mincho', serif;
  color: #4a4035;
  font-style: italic;
  line-height: 1.9;
  letter-spacing: 0.05em;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid rgba(232, 200, 160, 0.5);
}

/* モバイル */
@media (max-width: 640px) {
  #mailformpro .form-row-2col {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  #mailformpro .form-submit-btn {
    min-width: 100%;
    padding: 14px 20px;
    letter-spacing: 0.15em;
  }
  .contact-form-wrap { padding: 28px 18px; }
  .contact-heart-icon { width: 64px; height: 64px; }
  .contact-heart-icon svg { width: 32px; height: 32px; }
}

/* メールフォームプロの確認画面カスタマイズ（送信後表示される） */
#mailformpro.confirm .form-row { margin-bottom: 16px; }
#mailformpro.confirm .form-label {
  color: #8A2835 !important;
  border-bottom: 1px dashed rgba(168,128,64,0.3);
  padding-bottom: 6px;
  margin-bottom: 6px;
}
#mailformpro.confirm .form-input,
#mailformpro.confirm .form-select,
#mailformpro.confirm .form-textarea {
  background: transparent !important;
  border: none !important;
  padding: 4px 0 !important;
  color: #1f1a15;
}

/* === index.html Contact案内 CTAボタン（別ページへ誘導） === */
.contact-cta-wrap {
  text-align: center;
  margin: 48px 0 32px;
}
.contact-cta-btn {
  display: inline-flex;
  align-items: center;
  min-width: 320px;
  padding: 18px 40px;
  background: linear-gradient(135deg, #FF6B3D 0%, #E84A1C 100%);
  color: #fff;
  border: none;
  border-radius: 999px;
  font-family: 'Shippori Mincho', serif;
  font-size: 17px;
  letter-spacing: 0.2em;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(232, 74, 28, 0.3);
  transition: transform 0.2s, box-shadow 0.2s;
  justify-content: center;
}
.contact-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(232, 74, 28, 0.4);
  color: #fff;
}
@media (max-width: 640px) {
  .contact-cta-btn {
    min-width: 100%;
    padding: 16px 20px;
    letter-spacing: 0.15em;
    font-size: 16px;
  }
}

/* === contact.html 「トップページに戻る」リンク === */
.contact-back-wrap {
  text-align: center;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(232, 200, 160, 0.4);
}
.contact-back-link {
  display: inline-flex;
  align-items: center;
  color: #8A2835;
  font-family: 'Shippori Mincho', serif;
  font-size: 15px;
  letter-spacing: 0.1em;
  text-decoration: none;
  padding: 8px 24px;
  border: 1px solid rgba(168, 128, 64, 0.3);
  border-radius: 999px;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.contact-back-link:hover {
  background: rgba(229, 75, 92, 0.05);
  border-color: #E54B5C;
  color: #E54B5C;
}

/* === MailformPro ローディング画面の無効化（オーバーレイ残存対策） === */
#mfp_loading_screen,
#mfp_loading {
  display: none !important;
}

/* ========================================
   Thanks Page (thanks.html) - ASGAデザイン
   ======================================== */

.thanks-hero {
  text-align: center;
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 50%, #fdf4e3 100%);
  padding: 60px 32px;
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(229, 75, 92, 0.08);
  border: 1px solid rgba(168, 128, 64, 0.15);
  margin-bottom: 40px;
}

.thanks-heart-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 90px;
  height: 90px;
  margin: 0 auto 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, #E54B5C 0%, #8A2835 100%);
  color: #fff;
  box-shadow: 0 10px 30px rgba(229, 75, 92, 0.3);
  animation: thanks-pulse 2s ease-in-out infinite;
}

@keyframes thanks-pulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 10px 30px rgba(229, 75, 92, 0.3);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(229, 75, 92, 0.4);
  }
}

.thanks-headline {
  font-family: 'Shippori Mincho', serif;
  font-size: 28px;
  font-weight: 500;
  color: #1f1a15;
  margin: 0 0 20px;
  letter-spacing: 0.04em;
  line-height: 1.5;
}

@media (min-width: 768px) {
  .thanks-headline {
    font-size: 34px;
  }
}

.thanks-lead {
  font-family: 'Shippori Mincho', serif;
  font-size: 16px;
  color: #2a2016;
  line-height: 1.9;
  margin: 0 0 28px;
}

@media (min-width: 768px) {
  .thanks-lead {
    font-size: 17px;
  }
}

.thanks-desc {
  font-family: 'Shippori Mincho', serif;
  font-size: 15px;
  color: #2a2016;
  line-height: 2;
  margin: 0 0 20px;
}

.thanks-desc-sub {
  color: #3d342a;
  font-size: 14px;
}

.thanks-divider {
  width: 60px;
  height: 1px;
  background: linear-gradient(to right, transparent, #a88040, transparent);
  margin: 32px auto;
}

.thanks-closing {
  font-family: 'Shippori Mincho', serif;
  font-size: 16px;
  color: #8A2835;
  font-style: italic;
  line-height: 1.9;
  margin: 0 0 16px;
  letter-spacing: 0.02em;
}

.thanks-signature {
  font-family: 'Shippori Mincho', serif;
  font-size: 13px;
  color: #5c4e38;
  line-height: 1.8;
  margin: 0;
  letter-spacing: 0.05em;
}

.thanks-back-wrap {
  text-align: center;
  margin-top: 40px;
  padding: 24px 0;
}

.thanks-back-link {
  display: inline-flex;
  align-items: center;
  padding: 14px 36px;
  background: #fff;
  color: #8A2835;
  font-family: 'Shippori Mincho', serif;
  font-size: 15px;
  text-decoration: none;
  border: 1.5px solid #a88040;
  border-radius: 999px;
  transition: all 0.3s ease;
  letter-spacing: 0.05em;
}

.thanks-back-link:hover {
  background: #E54B5C;
  color: #fff;
  border-color: #E54B5C;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(229, 75, 92, 0.25);
}

/* モバイル調整 */
@media (max-width: 640px) {
  .thanks-hero {
    padding: 40px 20px;
  }
  .thanks-heart-icon {
    width: 72px;
    height: 72px;
    margin-bottom: 20px;
  }
  .thanks-heart-icon svg {
    width: 36px;
    height: 36px;
  }
  .thanks-headline {
    font-size: 22px;
  }
  .thanks-lead,
  .thanks-desc {
    font-size: 14px;
  }
}

/* ========================================
   Thanks Page - 次のアクション（SNS・メディアリンク）
   ======================================== */

.thanks-next-section {
  text-align: center;
  margin: 56px 0 24px;
}

.thanks-next-title {
  font-family: 'Shippori Mincho', serif;
  font-size: 20px;
  color: #1f1a15;
  margin: 0 0 8px;
  letter-spacing: 0.08em;
  font-weight: 500;
}

.thanks-next-sub {
  font-family: 'Shippori Mincho', serif;
  font-size: 14px;
  color: #5c4e38;
  margin: 0;
  letter-spacing: 0.04em;
}

/* SNSカードグリッド */
.thanks-sns-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 0 0 40px;
}

.thanks-sns-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px 12px;
  background: #fff;
  border: 1px solid rgba(168, 128, 64, 0.2);
  border-radius: 16px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(229, 75, 92, 0.04);
}

.thanks-sns-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(229, 75, 92, 0.15);
  border-color: rgba(229, 75, 92, 0.4);
}

.thanks-sns-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  color: #fff;
  margin-bottom: 10px;
}

.thanks-sns-voicy .thanks-sns-icon {
  background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
}

.thanks-sns-youtube .thanks-sns-icon {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

.thanks-sns-instagram .thanks-sns-icon {
  background: linear-gradient(135deg, #ec4899 0%, #a855f7 100%);
}

.thanks-sns-facebook .thanks-sns-icon {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
}

.thanks-sns-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
}

.thanks-sns-name {
  font-family: 'Shippori Mincho', serif;
  font-size: 14px;
  color: #1f1a15;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.thanks-sns-desc {
  font-family: 'Shippori Mincho', serif;
  font-size: 12px;
  color: #5c4e38;
  letter-spacing: 0.02em;
}

/* メディアリンク */
.thanks-explore-section {
  padding: 32px 28px;
  background: #faf7f0;
  border-radius: 16px;
  border: 1px solid rgba(168, 128, 64, 0.15);
  margin-bottom: 32px;
}

.thanks-explore-title {
  font-family: 'Shippori Mincho', serif;
  font-size: 15px;
  color: #1f1a15;
  margin: 0 0 20px;
  letter-spacing: 0.06em;
  text-align: center;
  font-weight: 500;
}

.thanks-explore-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.thanks-explore-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px 8px;
  background: #fff;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.thanks-explore-link:hover {
  border-color: #E54B5C;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(229, 75, 92, 0.1);
}

.thanks-explore-label {
  font-family: 'Cormorant Garamond', serif;
  font-size: 16px;
  color: #E54B5C;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.thanks-explore-text {
  font-family: 'Shippori Mincho', serif;
  font-size: 12px;
  color: #2a2016;
  letter-spacing: 0.02em;
}

/* モバイル対応 */
@media (max-width: 640px) {
  .thanks-sns-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .thanks-sns-card {
    padding: 18px 10px;
  }
  .thanks-sns-icon {
    width: 44px;
    height: 44px;
  }
  .thanks-explore-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
  .thanks-explore-section {
    padding: 24px 18px;
  }
}

/* ========================================
   FV（ファーストビュー）フェードインアニメーション
   ======================================== */

@keyframes fv-fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.fv-asga-eyebrow {
  opacity: 0;
  animation: fv-fadeIn 1s ease-out 0.3s forwards;
}

.fv-asga-main-line1 {
  display: block;
  opacity: 0;
  animation: fv-fadeIn 1.2s ease-out 0.8s forwards;
}

.fv-asga-main-line2 {
  display: block;
  opacity: 0;
  animation: fv-fadeIn 1.2s ease-out 1.3s forwards;
}

.fv-asga-divider {
  opacity: 0;
  animation: fv-fadeIn 1s ease-out 1.8s forwards;
}

.fv-asga-sub {
  opacity: 0;
  animation: fv-fadeIn 1s ease-out 2.2s forwards;
}

/* ========================================
   スクロール連動 - 左からスライドイン
   ======================================== */

.slide-in-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
  will-change: opacity, transform;
}

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

/* ========================================
   スクロール連動 - 下からフェードアップ
   ======================================== */

.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
  will-change: opacity, transform;
}

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

/* ========================================
   スクロール連動 - フェードインのみ（位置変化なし）
   ======================================== */

.fade-in {
  opacity: 0;
  transition: opacity 0.6s ease-out;
  will-change: opacity;
}

.fade-in.is-visible {
  opacity: 1;
}

/* ========================================
   前要素のアニメ完了を待ってフェードアップ
   ======================================== */

.wait-for-trigger {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
  will-change: opacity, transform;
}

.wait-for-trigger.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========================================
   Service - 左右交互スライドイン
   （slide-in-left-plain / slide-in-right-plain は位置変化のみ・Y方向変化なし）
   ======================================== */

.slide-in-left-plain {
  opacity: 0;
  transform: translateX(-60px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
  will-change: opacity, transform;
}

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

.slide-in-right-plain {
  opacity: 0;
  transform: translateX(60px);
  transition: opacity 0.6s ease-out 0.2s, transform 0.6s ease-out 0.2s;
  will-change: opacity, transform;
}

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

/* ========================================
   Contact - ハートアイコンのズームイン
   （scale 0 → 1、バネ感のあるイージング）
   ======================================== */

.zoom-in {
  opacity: 0;
  transform: scale(0);
  transition: opacity 0.6s ease-out, transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
  will-change: opacity, transform;
}

.zoom-in.is-visible {
  opacity: 1;
  transform: scale(1);
}

/* ========================================
   Philosophy 代表メッセージ 連鎖高速化
   （本文9段落 + 締めくくり4要素の transition を短縮）
   ======================================== */

#philosophy [data-wait-for] {
  transition-duration: 0.35s;
}

/* ========================================
   SP ハンバーガーボタン（洗練スタイル）
   ======================================== */

#hb-toggle {
  background: transparent;
  border: 1px solid rgba(31, 26, 21, 0.15);
  border-radius: 6px;
  color: #1f1a15;
  transition: background 0.2s, border-color 0.2s;
}

#hb-toggle:hover {
  background: rgba(229, 75, 92, 0.08);
  border-color: rgba(229, 75, 92, 0.3);
}

/* ========================================
   SP フルスクリーンメニュー
   ======================================== */

.mobile-menu {
  position: fixed;
  inset: 0;
  background: linear-gradient(135deg, rgba(15, 10, 5, 0.98), rgba(40, 25, 15, 0.98));
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 26px;
  padding: 60px 30px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s;
}

.mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
}

.mobile-menu-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}

.mobile-menu-close:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.4);
}

.mobile-menu-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
}

.mobile-menu-nav a {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  color: #fff;
  letter-spacing: 0.12em;
  text-decoration: none;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s ease, transform 0.5s ease, color 0.2s;
}

.mobile-menu-nav a:hover,
.mobile-menu-nav a:active {
  color: #e9ce9e;
}

.mobile-menu.is-open .mobile-menu-nav a {
  opacity: 1;
  transform: translateY(0);
}

.mobile-menu.is-open .mobile-menu-nav li:nth-child(1) a { transition-delay: 0.1s; }
.mobile-menu.is-open .mobile-menu-nav li:nth-child(2) a { transition-delay: 0.16s; }
.mobile-menu.is-open .mobile-menu-nav li:nth-child(3) a { transition-delay: 0.22s; }
.mobile-menu.is-open .mobile-menu-nav li:nth-child(4) a { transition-delay: 0.28s; }
.mobile-menu.is-open .mobile-menu-nav li:nth-child(5) a { transition-delay: 0.34s; }
.mobile-menu.is-open .mobile-menu-nav li:nth-child(6) a { transition-delay: 0.4s; }
.mobile-menu.is-open .mobile-menu-nav li:nth-child(7) a { transition-delay: 0.46s; }
.mobile-menu.is-open .mobile-menu-nav li:nth-child(8) a { transition-delay: 0.52s; }
.mobile-menu.is-open .mobile-menu-nav li:nth-child(9) a { transition-delay: 0.58s; }

.mobile-menu-nav-sub {
  font-size: 13px !important;
  color: rgba(255, 255, 255, 0.55) !important;
  font-family: 'Shippori Mincho', serif !important;
  margin-top: 16px;
  letter-spacing: 0.15em !important;
}

/* body scroll lock */
body.menu-open {
  overflow: hidden;
}

/* ========================================
   SP改行ユーティリティ（Figma出力で抜けていた）
   br要素限定で既存レイアウトに影響を与えない
   ======================================== */

/* 独立カスタムクラス（確実に効く） */
.br-sp {
  display: inline !important;
}
@media (min-width: 768px) {
  .br-sp {
    display: none !important;
  }
}

/* SPのみ改行（640px以上で非表示） */
@media (min-width: 640px) {
  br.sm\:hidden {
    display: none;
  }
}

/* PCのみ改行（640px以上で表示、SPで非表示） */
br.hidden {
  display: none;
}
@media (min-width: 640px) {
  br.sm\:block {
    display: inline;
  }
}

/* =========================================================
   締めボックス: 極淡ピンクの背景（Editorial Grace・ロゴ呼応）
   対象: Philosophy / Profile / Media / Company の締めボックス
   現状のTailwind指定 `bg-gradient-to-br from-amber-50 to-white` を上書き
   ========================================================= */
.bg-gradient-to-br.from-amber-50.to-white.rounded-2xl {
  background: linear-gradient(135deg, #FEFAFB 0%, #FFFFFF 100%) !important;
}

/* =========================================================
   Media / Company セクションの罫線色（書き漏れ修正）
   他セクションは既に上書き済みだったが、この2つが漏れていた
   ========================================================= */
#media .w-24.h-1.bg-amber-700 { background: #E54B5C !important; }
#company .w-24.h-1.bg-amber-700 { background: #E54B5C !important; }

/* =========================================================
   Profile NEW STAGE (2026年) カード: ロゴカラーに統一
   - 2026年の円: クリムゾン→深紅のグラデ
   - NEW STAGE タグ: クリムゾン
   - カード枠線: クリムゾン
   - タイトル文字: 深紅
   ========================================================= */

/* 2026年円のグラデーション */
#profile .bg-gradient-to-br.from-amber-600.to-amber-700 {
  background: linear-gradient(135deg, #E54B5C 0%, #8A2835 100%) !important;
}

/* NEW STAGE タグ（rounded-full限定でセクション罫線と区別） */
#profile .bg-amber-700.rounded-full {
  background: #E54B5C !important;
}

/* カード枠の太ボーダー */
#profile .border-2.border-amber-700 {
  border-color: #E54B5C !important;
}

/* 「ASAKURAグローバル・アカデミー株式会社設立」タイトル色 */
#profile .text-amber-900 {
  color: #8A2835 !important;
}

/* =========================================================
   Editorial Grace - Header Logo
   ========================================================= */

.header-asga-logo-group {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 22px !important;
  letter-spacing: -0.01em !important;
  font-family: 'Shippori Mincho', serif;
  font-weight: 400 !important;
}
.header-asga-logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
  border-radius: 4px;
}
@media (max-width: 640px) {
  .header-asga-logo { width: 38px; height: 38px; }
  .header-asga-logo-group { gap: 10px; font-size: 16px !important; }
}

/* =========================================================
   Header - Editorial 明るい背景用にカラー調整
   新FV（明るい背景）に合わせて、ヘッダー文字を暗色に
   ========================================================= */

.header-asga {
  background: rgba(254,250,251,0.78) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  border-bottom: 1px solid rgba(229,75,92,0.08);
}
/* 案②同等: max-widthを解除して画面端から40pxの余白に */
.header-asga > .max-w-7xl {
  max-width: none !important;
  padding-left: 40px !important;
  padding-right: 40px !important;
}
@media (max-width: 640px) {
  .header-asga > .max-w-7xl {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }
}
.header-asga-brand-mark {
  color: #8A2835 !important;
  text-shadow: none !important;
}
.header-asga-brand-name {
  color: #2a2520 !important;
  text-shadow: none !important;
}
.header-asga-link {
  color: #4a4038 !important;
  text-shadow: none !important;
}
.header-asga-link:hover {
  color: #E54B5C !important;
}
.header-asga.scrolled {
  background: rgba(255,255,255,0.97) !important;
  box-shadow: 0 2px 12px rgba(138,40,53,0.06);
}
.header-asga.scrolled .header-asga-brand-mark { color: #8A2835 !important; }
.header-asga.scrolled .header-asga-brand-name { color: #1a1512 !important; }
.header-asga.scrolled .header-asga-link { color: #4a4038 !important; }
.header-asga.scrolled .header-asga-link:hover { color: #E54B5C !important; }

/* =========================================================
   FV — 背景画像一体型レイアウト（2026-04-23 新デザイン）
   画像: img/hero-bg.jpg（朝倉先生 + 背景一体型）
   ========================================================= */

#hero-asga {
  width: 100vw;
  height: 100vh;
  min-height: 680px;
  position: relative;
  overflow: hidden;
  background-color: #FEFAFB;
}

/* 背景画像（imgタグで配置、ヘッダー下から表示） */
.fv-hero-image {
  position: absolute;
  top: 72px;
  left: 0;
  width: 100%;
  height: calc(100% - 72px);
  object-fit: cover;
  object-position: center 15%;
  z-index: 1;
  display: block;
}

/* 左側の薄白フェード（テキストの視認性確保） */
.fv-hero-fade {
  position: absolute;
  top: 72px; left: 0;
  width: 60%; height: calc(100% - 72px);
  background: linear-gradient(
    to right,
    rgba(254, 250, 251, 0.5) 0%,
    rgba(254, 250, 251, 0.2) 50%,
    transparent 100%
  );
  z-index: 2;
  pointer-events: none;
}

/* テキストコンテンツ（左側中央） */
.fv-hero-content {
  position: absolute;
  top: 50%; left: 0;
  transform: translateY(-50%);
  padding-left: clamp(40px, 8vw, 140px);
  max-width: 65%;
  z-index: 5;
}

/* eyebrow（ASAKURA GLOBAL ACADEMY） */
#hero-asga .fv-asga-eyebrow {
  font-family: 'Cormorant Garamond', serif !important;
  font-size: clamp(13px, 1.15vw, 17px) !important;
  letter-spacing: 0.4em !important;
  color: #8A2835 !important;
  font-weight: 600 !important;
  margin-bottom: 40px !important;
  display: flex;
  align-items: center;
  gap: 16px;
  text-shadow: none !important;
  opacity: 0;
  animation: fv-fadeIn 1s ease-out 0.3s forwards;
}
#hero-asga .fv-asga-eyebrow::before {
  content: '';
  width: 48px !important;
  height: 1px !important;
  background: #8A2835 !important;
}

/* main title（人生後半を、／最高のステージに。） */
#hero-asga .fv-asga-main {
  margin-bottom: 46px !important;
  text-shadow: none !important;
}
#hero-asga .fv-asga-main-line1 {
  display: block;
  font-family: 'Shippori Mincho', serif !important;
  font-size: clamp(32px, 3.4vw, 48px) !important;
  font-weight: 400 !important;
  color: #2a2520 !important;
  margin-bottom: 18px !important;
  letter-spacing: 0.02em !important;
  text-shadow: none !important;
  opacity: 0;
  animation: fv-fadeUp 1.2s ease-out 0.8s forwards;
}
#hero-asga .fv-asga-main-line2 {
  display: block;
  font-family: 'Shippori Mincho', serif !important;
  font-size: clamp(52px, 6.2vw, 92px) !important;
  font-weight: 500 !important;
  color: #1a1512 !important;
  line-height: 1.2 !important;
  letter-spacing: 0.02em !important;
  white-space: normal !important;
  text-shadow: none !important;
  opacity: 0;
  animation: fv-fadeUp 1.2s ease-out 1.2s forwards;
}
#hero-asga .fv-asga-accent {
  color: #8A2835 !important;
  font-style: normal;
  font-family: 'Shippori Mincho', serif !important;
  font-weight: 500 !important;
}

/* divider（◆菱形区切り線） */
#hero-asga .fv-asga-divider {
  display: flex !important;
  align-items: center;
  width: 100% !important;
  max-width: 440px !important;
  height: auto !important;
  background: transparent !important;
  margin-top: 0 !important;
  margin-bottom: 28px !important;
  opacity: 0;
  animation: fv-fadeIn 1s ease-out 1.6s forwards;
}
#hero-asga .fv-asga-divider::before,
#hero-asga .fv-asga-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, transparent, #c9a26c, transparent);
}
#hero-asga .fv-asga-divider .fv-diamond {
  display: inline-block;
  width: 10px;
  height: 10px;
  background: #c9a26c;
  transform: rotate(45deg);
  margin: 0 16px;
  flex-shrink: 0;
}

/* sub（28年で20万人以上の指導実績 ...） */
#hero-asga .fv-asga-sub {
  font-family: 'Shippori Mincho', serif !important;
  font-size: clamp(18px, 1.7vw, 26px) !important;
  color: #4a4038 !important;
  line-height: 2.0 !important;
  letter-spacing: 0.12em !important;
  max-width: 540px !important;
  padding-top: 0 !important;
  border-top: none !important;
  text-shadow: none !important;
  opacity: 0;
  animation: fv-fadeUp 1s ease-out 2s forwards;
}

/* SCROLLインジケーター */
.fv-scroll-hint {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Cormorant Garamond', serif;
  font-size: 11px;
  letter-spacing: 0.5em;
  color: #8A2835;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  z-index: 10;
  opacity: 0;
  animation: fv-fadeIn 1s ease-out 2.5s forwards;
}
.fv-scroll-hint::after {
  content: '';
  width: 1px; height: 32px;
  background: linear-gradient(to bottom, #8A2835, transparent);
  animation: fv-scrollPulse 2s ease-in-out infinite;
}

@keyframes fv-fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fv-fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes fv-scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(0.7); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* =========================================================
   SP版 FV（スマホ対応）
   SP用画像 hero-bg-sp.jpg は文字なし背景画像
   テキストはCSSで描画し、アニメーションも付与
   ========================================================= */
@media (max-width: 768px) {
  #hero-asga {
    height: auto;
    min-height: auto;
    max-height: none;
    position: relative;
  }
  /* SP画像は全面、アスペクト比固定 */
  .fv-hero-image {
    position: relative;
    top: 0;
    width: 100%;
    height: auto;
    object-fit: contain;
    aspect-ratio: 941/1672;
  }
  /* 白フェードはSPでは不要 */
  .fv-hero-fade {
    display: none;
  }
  /* CSSテキスト: 画像の上側（左の白い空間）にオーバーレイ */
  .fv-hero-content {
    position: absolute;
    top: 22%;
    left: 0;
    transform: none;
    padding: 0 28px 0 28px;
    max-width: 65%;
    z-index: 5;
  }
  /* eyebrow: brタグで改行される前提 */
  #hero-asga .fv-asga-eyebrow {
    font-size: 11px !important;
    letter-spacing: 0.4em !important;
    margin-bottom: 28px !important;
    line-height: 1.7 !important;
  }
  #hero-asga .fv-asga-eyebrow::before {
    width: 32px !important;
  }
  /* main title */
  #hero-asga .fv-asga-main {
    margin-bottom: 28px !important;
  }
  #hero-asga .fv-asga-main-line1 {
    font-size: 26px !important;
    margin-bottom: 10px !important;
  }
  #hero-asga .fv-asga-main-line2 {
    font-size: 34px !important;
    line-height: 1.3 !important;
  }
  /* divider */
  #hero-asga .fv-asga-divider {
    max-width: 200px !important;
    margin-bottom: 18px !important;
  }
  #hero-asga .fv-asga-divider .fv-diamond {
    width: 8px;
    height: 8px;
    margin: 0 12px;
  }
  /* sub */
  #hero-asga .fv-asga-sub {
    font-size: 12px !important;
    line-height: 1.9 !important;
    letter-spacing: 0.1em !important;
    max-width: 100% !important;
    -webkit-text-stroke: 2px #F5F1EF;
    text-stroke: 2px #F5F1EF;
    paint-order: stroke;
  }
  /* SCROLL: 画像の下端付近に */
  .fv-scroll-hint {
    bottom: 24px;
    font-size: 10px;
    letter-spacing: 0.4em;
  }
  .fv-scroll-hint::after {
    height: 24px;
  }
}

/* =========================================================
   大型モニター向け（1536px以上）のバランス調整
   左余白を多めに取り、テキストを中央寄りに配置
   ========================================================= */
@media (min-width: 1536px) {
  .fv-editorial-left {
    padding: 80px 5% 40px 20%;
  }
  #hero-asga.fv-editorial .fv-asga-eyebrow {
    font-size: 14px !important;
    margin-bottom: 48px !important;
  }
  #hero-asga.fv-editorial .fv-asga-eyebrow::before {
    width: 52px !important;
  }
  #hero-asga.fv-editorial .fv-asga-main {
    margin-bottom: 40px !important;
  }
  #hero-asga.fv-editorial .fv-asga-main-line1 {
    font-size: 38px !important;
    margin-bottom: 14px !important;
  }
  #hero-asga.fv-editorial .fv-asga-main-line2 {
    font-size: 66px !important;
  }
  #hero-asga.fv-editorial .fv-asga-sub {
    font-size: 18px !important;
    max-width: 500px !important;
    padding-top: 28px !important;
  }
}

.fv-editorial-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 5%;
  display: block;
}

.fv-editorial-right::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(229,75,92,0.05) 0%, transparent 50%);
  pointer-events: none;
  z-index: 2;
}

/* =========================================================
   SP版 Service カードアニメーション修正
   連鎖型triggerではなく、各カードがviewportに入った時に発火
   （common.jsが .is-visible を追加しても、SPでは初期状態を維持。
    IntersectionObserverで付与される .sp-in-view で初めて表示）
   ========================================================= */
@media (max-width: 768px) {
  #service .slide-in-left-plain,
  #service .slide-in-right-plain {
    opacity: 0;
    transform: translateY(36px);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
  }
  #service .slide-in-left-plain.is-visible,
  #service .slide-in-right-plain.is-visible {
    /* is-visible付与だけでは表示しない（連鎖trigger無効化） */
    opacity: 0;
    transform: translateY(36px);
  }
  #service .slide-in-left-plain.sp-in-view,
  #service .slide-in-right-plain.sp-in-view,
  #service .slide-in-left-plain.is-visible.sp-in-view,
  #service .slide-in-right-plain.is-visible.sp-in-view {
    /* viewport進入時に付与されるクラスで初めて表示 */
    opacity: 1 !important;
    transform: translateY(0) !important;
  }
}


/* =========================================================
   ① フッター色統一（ASAKURA + ハート + hover を深紅に）
   FV書き換え時に消失したCSSを再追加
   ========================================================= */

footer .text-amber-400 {
  color: #E54B5C !important;
}
footer svg.text-amber-400,
footer svg.lucide-heart {
  color: #E54B5C !important;
  stroke: #E54B5C !important;
  fill: none;
}
footer a.hover\:text-amber-400:hover,
footer a:hover {
  color: #E54B5C !important;
}

/* =========================================================
   ② Service番号円（01/02/03）のSP対応
   SP時に w-20 h-20 (80px) が大きくはみ出るため縮小
   色もサイト全体の深紅 #8A2835 に合わせる
   ========================================================= */

/* PC/SP共通: 深紅グラデ + z-index強化 */
#service .absolute.bg-amber-700.rounded-full,
#service .w-20.h-20.bg-amber-700 {
  background: linear-gradient(135deg, #E54B5C 0%, #8A2835 100%) !important;
  box-shadow: 0 6px 20px rgba(138, 40, 53, 0.35) !important;
  z-index: 10 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #fff !important;
}

/* SP時: サイズ縮小、位置調整（画像の左上に少し被せる形） */
@media (max-width: 640px) {
  #service .w-20.h-20.bg-amber-700.rounded-full {
    width: 64px !important;
    height: 64px !important;
    top: -14px !important;
    left: -14px !important;
    font-size: 20px !important;
    z-index: 20 !important;
  }
}

/* Privacy */
#privacy .privacy { margin-bottom: 40px; }
#privacy .privacy:last-child { margin-bottom: 0; }
#privacy .privacy h2 {
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: solid 1px #333;
}
#privacy .privacy ul,
#privacy .privacy .data { margin-top: 20px; }
#privacy .privacy.last .data { margin-top: 0;}
#privacy .privacy li { padding-left: 15px; }
#privacy .privacy p,
#privacy .privacy li { line-height: 1.8; }

/* sitemap */
#sitemap li {
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: solid 1px #eee;
}
#sitemap li:last-child { border-bottom: 0; }
#sitemap a { display: block; }
#sitemap a:hover { color: #E54B5C; }
