/* ============================================
   FANCアカデミー 共通スタイルシート
   （ロゴの青 #17469C を基調としたデザイン）
   ============================================ */

:root {
  --blue: #17469c;        /* ロゴの青 */
  --blue-dark: #10336f;   /* 濃い青（ボタンの押した感じなど） */
  --blue-pale: #e7edf9;   /* うすい青（背景のアクセント） */
  --navy: #182f5e;        /* 見出し用の濃紺 */
  --navy-deep: #101f40;   /* フッター背景 */
  --bg: #f7f9fd;
  --bg-alt: #edf2fa;
  --text: #37414f;
  --muted: #74808f;
  --line: #dbe4f2;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 6px 24px rgba(23, 70, 156, 0.08);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.9;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
  color: var(--navy);
  line-height: 1.5;
}

img { max-width: 100%; }

a { color: var(--blue); }

.inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- ヘッダー ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo {
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

.logo-img {
  height: 46px;
  width: auto;
}

.logo .logo-en {
  font-family: "Noto Serif JP", serif;
  font-weight: 700;
  font-size: 22px;
  color: var(--navy);
  letter-spacing: 0.08em;
}

.global-nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.global-nav a {
  display: block;
  padding: 8px 12px;
  text-decoration: none;
  color: var(--navy);
  font-size: 14px;
  font-weight: 700;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
}

.global-nav a:hover { background: var(--blue-pale); }

.global-nav a.nav-cta {
  background: var(--blue);
  color: #fff;
  padding: 10px 20px;
  border-radius: 999px;
  margin-left: 8px;
}

.global-nav a.nav-cta:hover { background: var(--blue-dark); }

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 48px;
  height: 48px;
  padding: 12px;
  background: none;
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}

/* ---------- ヒーロー（トップ） ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 85% 20%, var(--blue-pale) 0%, transparent 45%),
    radial-gradient(circle at 10% 90%, #eef3fb 0%, transparent 40%),
    linear-gradient(180deg, #fdfeff 0%, var(--bg) 100%);
  padding: 90px 0 70px;
}

.hero-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}

.hero-eyebrow {
  display: inline-block;
  background: var(--blue);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 20px;
  letter-spacing: 0.06em;
}

.hero h1 {
  font-size: clamp(30px, 4.6vw, 46px);
  font-weight: 900;
  margin-bottom: 22px;
  letter-spacing: 0.02em;
}

.hero h1 .accent { color: var(--blue); }

.hero .lead {
  font-size: 16px;
  margin-bottom: 32px;
  max-width: 34em;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* ヒーロー右側の4つのチップ */
.hero-chips {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.hero-chip {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px 12px;
  text-align: center;
}

.hero-chip .chip-num {
  display: block;
  font-family: "Noto Serif JP", serif;
  font-size: 12px;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: 0.15em;
}

.hero-chip .chip-word {
  font-family: "Noto Serif JP", serif;
  font-size: 22px;
  font-weight: 900;
  color: var(--navy);
}

.hero-chip .chip-desc {
  display: block;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
  margin-top: 4px;
}

.hero-chip:nth-child(2) { transform: translateY(14px); }
.hero-chip:nth-child(3) { transform: translateY(-6px); }
.hero-chip:nth-child(4) { transform: translateY(8px); }

/* ---------- ボタン ---------- */
.btn {
  display: inline-block;
  padding: 14px 34px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  transition: transform 0.15s, background 0.2s, box-shadow 0.2s;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 6px 18px rgba(23, 70, 156, 0.32);
}

.btn-primary:hover { background: var(--blue-dark); }

.btn-outline {
  background: #fff;
  color: var(--navy);
  border: 2px solid var(--navy);
}

.btn-outline:hover { background: var(--navy); color: #fff; }

/* ---------- お知らせ帯 ---------- */
.notice-band {
  background: #eef3fc;
  border-top: 1px solid #d5e0f4;
  border-bottom: 1px solid #d5e0f4;
  padding: 18px 0;
}

.notice-band .inner {
  display: flex;
  align-items: baseline;
  gap: 14px;
  flex-wrap: wrap;
}

.notice-label {
  flex-shrink: 0;
  background: var(--blue);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 999px;
}

.notice-band p { font-size: 14px; }

/* ---------- セクション共通 ---------- */
.section { padding: 80px 0; }

.section-alt { background: var(--bg-alt); }

.section-title {
  text-align: center;
  margin-bottom: 16px;
  font-size: clamp(24px, 3.4vw, 34px);
  font-weight: 900;
}

.section-title-sub {
  display: block;
  text-align: center;
  font-family: "Noto Serif JP", serif;
  color: var(--blue);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.2em;
  margin-bottom: 8px;
}

.section-lead {
  text-align: center;
  max-width: 40em;
  margin: 0 auto 48px;
}

/* ---------- サービスカード ---------- */
.service-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.service-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 32px;
  text-decoration: none;
  color: var(--text);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(23, 70, 156, 0.16);
}

.service-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.service-badge {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--blue) 0%, #4a71c4 100%);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: "Noto Serif JP", serif;
  line-height: 1.2;
}

.service-badge .num { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; }
.service-badge .word { font-size: 17px; font-weight: 900; }

.service-card h3 { font-size: 19px; font-weight: 900; }

.service-card p { font-size: 14.5px; flex-grow: 1; }

.service-more {
  margin-top: 16px;
  font-weight: 700;
  font-size: 14px;
  color: var(--blue);
}

/* ---------- 特長 ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.feature-item {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  padding: 28px 22px;
  text-align: center;
}

.feature-item .feature-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: var(--blue-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
}

.feature-item h3 { font-size: 16px; font-weight: 900; margin-bottom: 8px; }
.feature-item p { font-size: 13.5px; text-align: left; }

/* ---------- 代表メッセージ ---------- */
.message-box {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 44px;
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 36px;
  align-items: center;
}

.message-photo {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto;
  border: 4px solid #fff;
  box-shadow: 0 6px 20px rgba(23, 70, 156, 0.2);
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
}

.message-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
}

.message-caption {
  text-align: center;
  margin-top: 14px;
  font-family: "Noto Serif JP", serif;
  font-weight: 700;
  font-size: 14px;
  color: var(--navy);
}

.message-body h3 { font-size: 21px; font-weight: 900; margin-bottom: 12px; }
.message-body p { font-size: 15px; margin-bottom: 10px; }
.message-body .signature { text-align: right; font-weight: 700; color: var(--navy); }

/* ---------- 流れ（ステップ） ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  counter-reset: step;
}

.step-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 20px;
  position: relative;
  counter-increment: step;
}

.step-item::before {
  content: "STEP " counter(step);
  display: inline-block;
  font-family: "Noto Serif JP", serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #fff;
  background: var(--navy);
  border-radius: 999px;
  padding: 3px 14px;
  margin-bottom: 12px;
}

.step-item h3 { font-size: 16px; font-weight: 900; margin-bottom: 6px; }
.step-item p { font-size: 13.5px; }

/* ---------- CTA帯 ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--blue) 100%);
  color: #fff;
  text-align: center;
  padding: 70px 24px;
}

.cta-band h2 {
  color: #fff;
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 900;
  margin-bottom: 14px;
}

.cta-band p { margin-bottom: 28px; font-size: 15px; opacity: 0.92; }

/* ---------- 下層ページ共通 ---------- */
.page-hero {
  background:
    radial-gradient(circle at 85% 30%, var(--blue-pale) 0%, transparent 50%),
    linear-gradient(180deg, #fdfeff 0%, var(--bg) 100%);
  padding: 64px 0 52px;
  text-align: center;
}

.page-hero .page-num {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Noto Serif JP", serif;
  color: var(--blue);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.15em;
  margin-bottom: 12px;
}

.page-hero h1 {
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 900;
  margin-bottom: 18px;
}

.page-hero .lead {
  max-width: 40em;
  margin: 0 auto;
  text-align: left;
}

/* ---------- チェックリスト（こんな方へ） ---------- */
.check-list {
  list-style: none;
  max-width: 640px;
  margin: 0 auto;
  display: grid;
  gap: 14px;
}

.check-list li {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px 20px 16px 54px;
  position: relative;
  font-weight: 500;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---------- コンテンツカード（講座例・サポート内容） ---------- */
.content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.content-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}

.content-card .card-tag {
  display: inline-block;
  background: var(--navy);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  border-radius: 999px;
  padding: 3px 14px;
  margin-bottom: 12px;
}

.content-card .card-tag.tag-accent { background: var(--blue); }

.content-card h3 { font-size: 17px; font-weight: 900; margin-bottom: 8px; }
.content-card p { font-size: 14px; }

/* ---------- 番号付きサポートリスト ---------- */
.num-list {
  list-style: none;
  display: grid;
  gap: 16px;
  counter-reset: numlist;
  max-width: 760px;
  margin: 0 auto;
}

.num-list li {
  counter-increment: numlist;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 24px 24px 84px;
  position: relative;
}

.num-list li::before {
  content: counter(numlist, decimal-leading-zero);
  position: absolute;
  left: 24px;
  top: 24px;
  font-family: "Noto Serif JP", serif;
  font-size: 26px;
  font-weight: 900;
  color: var(--blue);
  line-height: 1;
}

.num-list h3 { font-size: 16.5px; font-weight: 900; margin-bottom: 4px; }
.num-list p { font-size: 14px; }

/* ---------- 補足ノート ---------- */
.note-box {
  max-width: 760px;
  margin: 36px auto 0;
  background: var(--blue-pale);
  border-radius: 12px;
  padding: 20px 26px;
  font-size: 14px;
}

.note-box strong { color: var(--navy); }

/* ---------- 表（概要など） ---------- */
.info-table {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  border-collapse: collapse;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.info-table th,
.info-table td {
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  font-size: 15px;
  vertical-align: top;
}

.info-table th {
  width: 30%;
  background: var(--bg-alt);
  color: var(--navy);
  font-weight: 700;
  white-space: nowrap;
}

.info-table tr:last-child th,
.info-table tr:last-child td { border-bottom: none; }

/* ---------- プロフィール ---------- */
.profile-box {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 40px;
  max-width: 860px;
  margin: 0 auto;
}

.profile-box h3 {
  font-size: 22px;
  font-weight: 900;
  margin-bottom: 4px;
}

.profile-box .profile-role {
  color: var(--blue);
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 18px;
}

.profile-box ul {
  list-style: none;
  display: grid;
  gap: 10px;
  margin: 18px 0;
}

.profile-box ul li {
  padding-left: 22px;
  position: relative;
  font-size: 14.5px;
}

.profile-box ul li::before {
  content: "●";
  position: absolute;
  left: 0;
  color: var(--blue);
  font-size: 10px;
  top: 8px;
}

/* ---------- 連絡先ページ ---------- */
.contact-box {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 44px;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.contact-box .mail-address {
  font-size: clamp(18px, 3vw, 26px);
  font-weight: 900;
  color: var(--blue);
  font-family: "Noto Serif JP", serif;
  margin: 16px 0 24px;
  word-break: break-all;
}

/* ---------- フッター ---------- */
.site-footer {
  background: var(--navy-deep);
  color: #cdd8ea;
  padding: 56px 0 28px;
  font-size: 14px;
}

.footer-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
}

.footer-logo {
  font-family: "Noto Serif JP", serif;
  font-weight: 900;
  font-size: 24px;
  color: #fff;
  margin-bottom: 6px;
}

.footer-logo span { color: #8fb0e8; }

.footer-info p { margin-bottom: 4px; }

.footer-nav ul {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 24px;
}

.footer-nav a {
  color: #cdd8ea;
  text-decoration: none;
}

.footer-nav a:hover { color: #fff; text-decoration: underline; }

.copyright {
  text-align: center;
  margin-top: 44px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 12px;
  color: #8b9cb8;
}

/* ============================================
   スマートフォン対応
   ============================================ */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero { padding: 56px 0 50px; }
  .hero-chips { max-width: 420px; }

  .feature-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }

  .message-box {
    grid-template-columns: 1fr;
    padding: 32px 24px;
    text-align: center;
  }
  .message-body h3, .message-body p { text-align: left; }
}

@media (max-width: 720px) {
  body { font-size: 15px; }

  .menu-toggle { display: flex; }

  .logo-img { height: 40px; }

  .logo .logo-en { font-size: 18px; }

  .global-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 24px rgba(23, 70, 156, 0.14);
    display: none;
  }

  .global-nav.open { display: block; }

  .global-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 20px 20px;
  }

  .global-nav a {
    padding: 14px 10px;
    font-size: 15px;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
  }

  .global-nav a.nav-cta {
    margin: 14px 0 0;
    text-align: center;
    border-bottom: none;
  }

  .service-grid,
  .content-grid { grid-template-columns: 1fr; }

  .section { padding: 56px 0; }

  .steps { grid-template-columns: 1fr; }

  .footer-inner { grid-template-columns: 1fr; gap: 28px; }

  .profile-box, .contact-box { padding: 28px 22px; }

  .num-list li { padding: 20px 20px 20px 66px; }
  .num-list li::before { left: 18px; top: 20px; font-size: 22px; }
}

@media (max-width: 480px) {
  .feature-grid { grid-template-columns: 1fr; }
  .hero-buttons .btn { width: 100%; text-align: center; }
}
