/* ============================================================
   zerostep — メインスタイルシート
   カラー: Royal Blue #00489d / Metallic Gold #E0CA82
   ============================================================ */

:root {
  --blue: #00489d;
  --blue-dark: #003070;
  --blue-light: #e8f0fb;
  --blue-mid: #1a5db5;
  --gold: #E0CA82;
  --gold-dark: #c9ae5a;
  --gold-light: #f5edcc;
  --white: #ffffff;
  --off-white: #f8f9fb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-400: #9ca3af;
  --gray-600: #6b7280;
  --gray-800: #1f2937;
  --text: #1a1a2e;
  --text-light: #4a5568;

  --font-jp: 'BIZ UDPGothic', 'Noto Sans JP', sans-serif;
  --font-en: 'Montserrat', sans-serif;

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;

  --shadow-sm: 0 1px 3px rgba(17, 24, 39, 0.06);
  --shadow-md: 0 4px 16px rgba(17, 24, 39, 0.08);
  --shadow-lg: 0 10px 30px rgba(17, 24, 39, 0.10);

  --transition: 0.25s ease;
  --transition-slow: 0.5s ease;

  --header-h: 72px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  font-size: 16px;
}

html {
  overflow-x: hidden;
}

body {
  font-family: var(--font-jp);
  color: var(--text);
  background: var(--white);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

ul,
ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 5vw, 2.5rem);
}

.section {
  padding: clamp(3.5rem, 7vw, 5.5rem) 0;
  position: relative;
}

/* ---------- Section labels ---------- */
.section-en {
  display: block;
  font-family: var(--font-en);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--gold-dark);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 700;
  color: var(--blue-dark);
  line-height: 1.3;
  margin-bottom: 1rem;
}

.section-desc {
  font-size: 1rem;
  color: var(--text-light);
  margin-top: 1rem;
  line-height: 1.9;
}

.section-header {
  text-align: center;
  margin-bottom: clamp(3rem, 6vw, 5rem);
}

.section-gold-bar {
  width: 40px;
  height: 2px;
  background: var(--gold-dark);
  margin: 0 auto;
}

.gold-line-top {
  display: none;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.75rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.95rem;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
}

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

.btn-outline {
  background: transparent;
  color: var(--blue);
  border: 1.5px solid var(--blue);
}

.btn-outline:hover {
  background: var(--blue);
  color: var(--white);
}

.btn-ghost {
  background: transparent;
  color: var(--blue);
  border: 1.5px solid var(--blue-light);
  padding: 0.75rem 1.75rem;
}

.btn-ghost:hover {
  background: var(--blue-light);
  border-color: var(--blue);
}

.btn-gold {
  background: var(--gold);
  color: var(--blue-dark);
  font-weight: 700;
}

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

.btn-white-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.7);
}

.btn-white-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--white);
}

.btn-instagram {
  background: #c13584;
  color: var(--white);
}

.btn-instagram:hover {
  background: #a52d70;
}

.btn-line {
  background: #06C755;
  color: var(--white);
}

.btn-line:hover {
  background: #05b54e;
}

.btn-sm {
  padding: 0.6rem 1.3rem;
  font-size: 0.88rem;
}

.btn-full {
  width: 100%;
  justify-content: center;
}

.btn-arrow {
  transition: transform var(--transition);
  display: inline-block;
}

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

/* ---------- HEADER ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(0, 45, 110, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
  transition: var(--transition);
}

.site-header.scrolled {
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.header-inner {
  max-width: 1200px;
  margin: 0;
  padding: 0 clamp(1rem, 4vw, 2rem);
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.header-gold-line {
  height: 2px;
  background: var(--gold-dark);
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

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

.nav-list {
  display: flex;
  align-items: center;
  gap: 0.1rem;
  flex-wrap: nowrap;
}

.nav-list li {
  white-space: nowrap;
}

.nav-list a {
  display: block;
  padding: 0.5rem 0.6rem;
  font-size: 0.83rem;
  font-weight: 500;
  color: var(--text);
  border-radius: var(--radius-sm);
  transition: var(--transition);
  position: relative;
}

.nav-list a::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--gold-dark);
  transform: translateX(-50%);
  transition: width var(--transition);
  border-radius: 2px;
}

.nav-list a {
  color: rgba(255, 255, 255, 0.9) !important;
}

.nav-list a:hover {
  color: var(--gold) !important;
}

.nav-list a:hover::after {
  width: calc(100% - 1.7rem);
}

.nav-cta {
  background: var(--blue) !important;
  color: var(--white) !important;
  border-radius: var(--radius-sm) !important;
  padding: 0.5rem 1.2rem !important;
  font-weight: 700 !important;
}

.nav-cta::after {
  display: none !important;
}

.nav-cta:hover {
  background: var(--blue-mid) !important;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  width: 44px;
  height: 44px;
  justify-content: center;
  align-items: center;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ============================================================
   HERO — 2段構成
   上段：ブルー背景＋ロゴ
   下段：沖縄写真コラージュ
   ============================================================ */
.hero {
  margin-top: var(--header-h);
  display: flex;
  flex-direction: column;
}

/* --- 上段 --- */
.hero-top {
  background:
    linear-gradient(160deg, rgba(0, 31, 74, 0.80) 0%, rgba(0, 72, 157, 0.70) 50%, rgba(18, 96, 192, 0.66) 100%),
    url('../images/kokusai-dori.webp') center center / cover no-repeat;
  position: relative;
  overflow: hidden;
  padding: clamp(1rem, 3vw, 1.6rem) 1.5rem clamp(0.8rem, 2vw, 1.4rem);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 13px), 0 100%);
}


.hero-top-inner {
  position: relative;
  z-index: 1;
  max-width: 560px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 78px 1fr;
  grid-template-rows: auto auto auto;
  gap: 0.5rem 1.2rem;
  align-items: center;
}

/* 沖縄初バッジ */
.hero-okinawa-badge {
  grid-column: 1;
  grid-row: 1;
  display: flex;
  justify-content: center;
  align-self: center;
}

.okinawa-stamp {
  width: 72px;
  height: 72px;
  border: 3px solid var(--gold);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-weight: 700;
  line-height: 1.1;
  position: relative;
  background: rgba(224, 202, 130, 0.08);
}

.okinawa-stamp::before {
  content: '';
  position: absolute;
  inset: 4px;
  border: 1px dashed rgba(224, 202, 130, 0.4);
  border-radius: 50%;
}

.stamp-line1 {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
}

.stamp-line2 {
  font-size: 2rem;
  font-family: var(--font-en);
}

/* キャッチコピー（バッジ右横） */
.hero-catch {
  grid-column: 2;
  grid-row: 1;
  text-align: left;
  padding-top: 0;
  align-self: center;
}

.hero-catch p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
}

.hero-catch strong {
  display: block;
  font-size: clamp(0.95rem, 1.8vw, 1.25rem);
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.01em;
  white-space: nowrap;
}

/* ロゴ（全幅中央） */
.hero-logo-wrap {
  grid-column: 1 / -1;
  grid-row: 2;
  text-align: center;
  padding: 0.3rem 0 0.2rem;
}

.hero-logo-inner {
  position: relative;
  display: inline-block;
}

.hero-logo {
  max-width: 380px;
  width: 100%;
  margin: 0 auto;
  filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.3));
  display: block;
}

.hero-logo-icons {
  position: absolute;
  top: 20%;
  right: -2.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  line-height: 1;
}

.logo-icon {
  font-size: 1.6rem;
  line-height: 1;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.4));
}

/* サブテキスト */
.hero-sub {
  display: none;
}

/* ボタン */
.hero-buttons {
  grid-column: 1 / -1;
  grid-row: 3;
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* --- 下段：写真コラージュ --- */
.hero-collage {
  display: flex;
  flex-direction: column;
  position: relative;
}


.collage-strip {
  display: flex;
  height: clamp(180px, 28vw, 320px);
  overflow: hidden;
}

.collage-item {
  flex: 1;
  position: relative;
  overflow: hidden;
  background: var(--bg, var(--blue));
  transition: flex var(--transition-slow);
}

.collage-item:hover {
  flex: 1.4;
}

.collage-img-wrap {
  position: absolute;
  inset: 0;
}

.collage-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
  filter: brightness(0.92);
}

.collage-img-wrap.castle-img img {
  object-position: center 75%;
}

/* 両端パネル：ブランドカラーのオリジナル柄 */
.collage-pattern {
  background-color: #ffffff;
  background-image: url("../images/pattern-pineapple.svg");
  background-repeat: repeat;
  background-size: 300px 300px;
  transition: background-size var(--transition-slow);
}

.collage-item-pattern:hover .collage-pattern {
  background-size: 325px 325px;
}

.collage-item:hover .collage-img-wrap img {
  transform: scale(1.08);
}

/* 写真なし時の色プレースホルダー */
.collage-item.no-img .collage-img-wrap {
  display: none;
}

.collage-item.no-img {
  opacity: 0.9;
}

/* 仕切り線 */
.collage-item+.collage-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: rgba(255, 255, 255, 0.3);
  z-index: 2;
}

/* テキストオーバーレイ */
.collage-overlay-text {
  position: absolute;
  z-index: 3;
  font-size: clamp(1.3rem, 2.5vw, 2rem);
  font-weight: 700;
  color: #111;
  line-height: 1.3;
  text-shadow: 0 1px 4px rgba(255, 255, 255, 0.5);
  writing-mode: vertical-rl;
  text-orientation: mixed;
  letter-spacing: 0.15em;
}

.left-text {
  top: 1.2rem;
  left: 50%;
  transform: translateX(-50%);
}

.right-text {
  top: 1.2rem;
  left: 50%;
  transform: translateX(-50%);
}

/* 募集バナー */
.hero-recruit-bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--blue-dark);
  border-top: 3px solid var(--gold);
  padding: 0.9rem 1.5rem;
  flex-wrap: wrap;
}

.recruit-tag {
  background: var(--gold);
  color: var(--blue-dark);
  font-weight: 800;
  font-size: 0.72rem;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  letter-spacing: 0.05em;
  flex-shrink: 0;
}

.hero-recruit-bar p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
  font-weight: 500;
  flex: 1;
  min-width: 200px;
}

.hero-recruit-bar a {
  color: var(--gold);
  font-weight: 700;
  font-size: 0.88rem;
  white-space: nowrap;
  transition: color var(--transition);
}

.hero-recruit-bar a:hover {
  color: var(--white);
}

/* ---------- PAGE HERO (別ページ用) ---------- */
.page-hero {
  margin-top: var(--header-h);
  background:
    /* 左側スクリム：見出しの可読性を確保（右側は写真を残す） */
    linear-gradient(90deg, rgba(0, 31, 74, 0.45) 0%, rgba(0, 31, 74, 0.45) 45%, rgba(0, 31, 74, 0) 78%),
    linear-gradient(160deg, rgba(0, 31, 74, 0.93) 0%, rgba(0, 48, 112, 0.90) 55%, rgba(0, 72, 157, 0.88) 100%),
    var(--blue-dark) url('../images/kokusai-dori.webp') center center / cover no-repeat;
  padding: 3rem 0 2.5rem;
  border-bottom: 3px solid var(--gold-dark);
}

/* スマホは本文が全幅に回り込むため、スクリムを全面にかける */
@media (max-width: 768px) {
  .page-hero {
    background:
      linear-gradient(90deg, rgba(0, 31, 74, 0.45) 0%, rgba(0, 31, 74, 0.45) 100%),
      linear-gradient(160deg, rgba(0, 31, 74, 0.93) 0%, rgba(0, 48, 112, 0.90) 55%, rgba(0, 72, 157, 0.88) 100%),
      var(--blue-dark) url('../images/kokusai-dori.webp') center center / cover no-repeat;
  }
}

.page-hero .section-en {
  display: block;
  margin-bottom: 0.4rem;
}

.page-hero-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

.page-hero-desc {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1rem;
}

/* ---------- PAGE NAV ---------- */
.page-nav-section {
  background: var(--white);
  padding: 1.5rem 0 2rem;
  border-bottom: 2px solid var(--gray-200);
}

.page-nav-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.75rem;
}

.page-nav-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  padding: 1rem 0.5rem;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--gray-200);
  text-align: center;
  transition: var(--transition);
  background: var(--off-white);
  text-decoration: none;
}

.page-nav-card:hover {
  border-color: var(--blue);
  background: var(--blue-light);
  transform: translateY(-2px);
}

.page-nav-icon {
  font-size: 1.6rem;
  line-height: 1.2;
}

.page-nav-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--blue-dark);
  line-height: 1.3;
}

.page-nav-desc {
  font-size: 0.7rem;
  color: var(--gray-600);
}

/* ---------- ABOUT ---------- */
.about-section {
  background: var(--off-white);
}

.about-message {
  text-align: center;
  margin-bottom: 4rem;
}

.about-tagline {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--blue-dark);
  line-height: 1.2;
}

.about-tagline span {
  position: relative;
  display: inline-block;
  color: var(--blue);
}

.about-tagline span::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: -4px;
  right: -4px;
  height: 8px;
  background: var(--gold-light);
  z-index: -1;
  border-radius: 2px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
  max-width: 820px;
  margin: 0 auto;
}

.about-lead {
  font-size: 1.1rem;
  font-weight: 500;
  line-height: 2;
  color: var(--text);
  margin-bottom: 1.5rem;
  border-left: 4px solid var(--gold-dark);
  padding-left: 1.25rem;
}

.about-text p {
  color: var(--text-light);
  margin-bottom: 1.2rem;
  line-height: 1.9;
}

.about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.tag {
  background: var(--blue-light);
  color: var(--blue);
  border: 1px solid rgba(0, 72, 157, 0.2);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 600;
}

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.stat-card {
  background: var(--white);
  border: 2px solid var(--blue-light);
  border-radius: var(--radius-md);
  padding: 1.5rem 1rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.stat-card:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.stat-num {
  font-family: var(--font-en);
  font-size: 2rem;
  font-weight: 800;
  color: var(--blue);
  line-height: 1.1;
}

.stat-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gray-600);
  letter-spacing: 0.05em;
}

.about-service-type {
  grid-column: 1 / -1;
  background: var(--blue);
  color: var(--white);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  text-align: center;
}

.about-service-type p {
  font-size: 0.78rem;
  opacity: 0.8;
  margin-bottom: 0.25rem;
}

.about-service-type strong {
  font-size: 1rem;
  font-weight: 700;
}

/* ---------- SERVICE ---------- */
.service-section {
  background: var(--white);
}

/* メインサービスカード */
.service-main-card {
  background: var(--blue-dark);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 5vw, 3rem);
  margin-bottom: 2.5rem;
  position: relative;
  overflow: hidden;
  color: var(--white);
  border-top: 3px solid var(--gold-dark);
}

.service-main-badge {
  display: inline-block;
  background: var(--gold);
  color: var(--blue-dark);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-sm);
  letter-spacing: 0.08em;
  margin-bottom: 1.25rem;
}

.service-main-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2.5rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.service-main-label {
  display: block;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.65);
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}

.service-main-text h3 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.3;
  margin-bottom: 1rem;
}

.service-main-text h3 em {
  font-style: normal;
  color: var(--gold);
  display: block;
  font-size: 0.8em;
}

.service-main-text p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
  line-height: 1.9;
  margin-bottom: 1.25rem;
}

.service-main-list {
  margin-bottom: 1.75rem;
}

.service-main-list li {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
  padding: 0.4rem 0 0.4rem 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
}

.service-main-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 6px;
  height: 6px;
  margin-top: -3px;
  background: var(--gold);
  border-radius: 50%;
}

.seminar-section {
  margin-top: 3.5rem;
}

.seminar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.seminar-card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, #ffffff 55%, #f1f6fe 100%);
  border: 1px solid var(--gray-200, #e5e7eb);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

/* セミナーカードの背景イラスト */
.seminar-card-bg {
  position: absolute;
  right: -8px;
  bottom: -10px;
  width: 148px;
  color: var(--blue);
  opacity: 0.09;
  pointer-events: none;
  transition: opacity var(--transition), transform var(--transition);
}

.seminar-card-bg svg {
  display: block;
  width: 100%;
  height: auto;
}

.seminar-card:hover .seminar-card-bg {
  opacity: 1;
}

/* 写真タイプの背景（栄養学） */
.seminar-card-photo {
  width: 172px;
  height: 130px;
  right: 0;
  bottom: 0;
  opacity: 1;
}

.seminar-card-has-photo p {
  padding-right: 92px;
}

.seminar-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--transition-slow);
}

.seminar-card-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(255, 255, 255, 0) 55%, rgba(255, 255, 255, 0.8) 85%, #fff 100%),
    linear-gradient(to right, #fff 0%, rgba(255, 255, 255, 0.7) 22%, rgba(255, 255, 255, 0) 50%);
}

.seminar-card:hover .seminar-card-photo {
  opacity: 1;
  transform: none;
}

.seminar-card:hover .seminar-card-photo img {
  transform: scale(1.06);
}

.seminar-card-icon,
.seminar-card h3,
.seminar-card p {
  position: relative;
  z-index: 1;
}

.seminar-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.seminar-card-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: #eff6ff;
  color: var(--blue);
  margin-bottom: 1rem;
}

.seminar-card-icon svg {
  width: 26px;
  height: 26px;
}

.seminar-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.6rem;
}

.seminar-card p {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.75;
}

/* スクリーンリーダー用テキスト */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* セミナーカード全体をリンクにする */
.seminar-card-link {
  position: absolute;
  inset: 0;
  z-index: 3;
  border-radius: inherit;
}

.seminar-card-link:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

.seminar-card-has-photo {
  cursor: pointer;
}

.seminar-card-has-photo h3::after {
  content: '→';
  display: inline-block;
  margin-left: 0.4rem;
  color: var(--blue);
  font-size: 0.9em;
  opacity: 0;
  transform: translateX(-4px);
  transition: var(--transition);
}

.seminar-card-has-photo:hover h3::after {
  opacity: 1;
  transform: translateX(0);
}

/* アンカーで飛んだセミナーを目立たせる */
.seminar-detail-card {
  scroll-margin-top: calc(var(--header-h) + 24px);
}

.seminar-detail-card:target {
  border-color: var(--gold-dark);
  box-shadow: 0 0 0 3px rgba(224, 202, 130, 0.45), var(--shadow-md);
}

.service-note a {
  color: var(--blue);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.service-note a:hover {
  color: var(--blue-dark);
}

.seminar-more {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

/* ============================================================
   企業の方へ
   ============================================================ */

.section-tint {
  background: var(--off-white);
}

.biz-lead {
  max-width: 820px;
  margin: 0 auto 3.5rem;
  padding: 2rem 2.25rem;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-left: 5px solid var(--gold-dark);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.biz-lead p {
  font-size: 0.95rem;
  line-height: 2;
  color: var(--text-light);
  margin-bottom: 0.9rem;
}

.biz-lead p:last-child {
  margin-bottom: 0;
}

.biz-lead-strong {
  font-size: 1.05rem !important;
  font-weight: 700;
  color: var(--blue-dark) !important;
}

.biz-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.biz-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.biz-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.biz-card-photo {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--gray-100);
}

.biz-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--transition-slow);
}

.biz-card:hover .biz-card-photo img {
  transform: scale(1.06);
}

.biz-card-body {
  flex: 1;
  padding: 1.5rem 1.75rem 1.4rem;
}

.biz-card h3 {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.75rem;
}

.biz-card h3 svg {
  width: 24px;
  height: 24px;
  color: var(--blue);
  flex-shrink: 0;
}

.biz-card p {
  font-size: 0.92rem;
  line-height: 1.95;
  color: var(--text-light);
  margin-bottom: 1.1rem;
}

.biz-check-list {
  list-style: none;
  border-top: 1px dashed var(--gray-200);
  padding-top: 1rem;
}

.biz-check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.88rem;
  line-height: 1.7;
  color: var(--text-light);
  margin-bottom: 0.55rem;
}

.biz-chk {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.biz-steps {
  list-style: none;
  max-width: 800px;
  margin: 2.5rem auto 0;
  counter-reset: step;
}

.biz-step {
  display: flex;
  gap: 1.4rem;
  padding: 0 0 2rem 0;
  position: relative;
}

.biz-step:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 23px;
  top: 48px;
  bottom: 0;
  width: 2px;
  background: var(--gray-200);
}

.biz-step-num {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 0.95rem;
  z-index: 1;
}

.biz-step-body h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  margin: 0.75rem 0 0.5rem;
}

.biz-step-body p {
  font-size: 0.92rem;
  line-height: 1.9;
  color: var(--text-light);
}

.biz-faq {
  max-width: 820px;
  margin: 2rem auto 0;
}

.biz-faq details {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  margin-bottom: 0.85rem;
  overflow: hidden;
}

.biz-faq summary {
  cursor: pointer;
  padding: 1.1rem 1.35rem;
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--text);
  list-style: none;
  position: relative;
  padding-right: 3rem;
  transition: var(--transition);
}

.biz-faq summary::-webkit-details-marker {
  display: none;
}

.biz-faq summary::after {
  content: '+';
  position: absolute;
  right: 1.35rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.3rem;
  color: var(--blue);
  line-height: 1;
}

.biz-faq details[open] summary::after {
  content: '−';
}

.biz-faq summary:hover {
  background: var(--off-white);
}

.biz-faq-body {
  padding: 0 1.35rem 1.3rem;
  font-size: 0.92rem;
  line-height: 2;
  color: var(--text-light);
}

@media (max-width: 820px) {
  .biz-grid {
    grid-template-columns: 1fr;
  }

  .biz-lead {
    padding: 1.5rem 1.4rem;
  }
}

/* ============================================================
   プライバシーポリシー
   ============================================================ */

.policy-body {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.policy-lead {
  font-size: 0.95rem;
  line-height: 2;
  color: var(--text-light);
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--gray-200);
}

.policy-body h2 {
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--blue-dark);
  margin: 2.5rem 0 1rem;
  padding-left: 0.9rem;
  border-left: 4px solid var(--gold-dark);
}

.policy-body p {
  font-size: 0.93rem;
  line-height: 2;
  color: var(--text-light);
  margin-bottom: 0.9rem;
}

.policy-body ul {
  margin: 0 0 1.1rem 1.3rem;
  list-style: disc;
}

.policy-body li {
  font-size: 0.93rem;
  line-height: 1.95;
  color: var(--text-light);
  margin-bottom: 0.35rem;
}

.policy-body a {
  color: var(--blue);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.policy-body a:hover {
  color: var(--blue-dark);
}

.policy-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0 0.5rem;
  font-size: 0.92rem;
}

.policy-table th,
.policy-table td {
  border: 1px solid var(--gray-200);
  padding: 0.85rem 1rem;
  text-align: left;
  line-height: 1.8;
  vertical-align: top;
}

.policy-table th {
  width: 30%;
  background: var(--off-white);
  color: var(--text);
  font-weight: 700;
  white-space: nowrap;
}

.policy-table td {
  color: var(--text-light);
}

.policy-date {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--gray-200);
  font-size: 0.85rem;
  color: var(--gray-600);
}

.policy-back {
  margin-top: 1.5rem;
}

@media (max-width: 560px) {
  .policy-table th,
  .policy-table td {
    display: block;
    width: 100%;
    border-bottom: none;
  }

  .policy-table tr {
    display: block;
    border-bottom: 1px solid var(--gray-200);
  }

  .policy-table th {
    border-bottom: none;
  }
}

/* ============================================================
   セミナー・プログラムページ
   ============================================================ */

.seminar-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-top: 2.5rem;
}

.seminar-detail-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.seminar-detail-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.seminar-detail-photo {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--gray-100);
}

.seminar-detail-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--transition-slow);
}

.seminar-detail-card:hover .seminar-detail-photo img {
  transform: scale(1.06);
}

.seminar-detail-num {
  position: absolute;
  left: 0;
  top: 0;
  background: var(--blue);
  color: var(--white);
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  padding: 0.3rem 0.8rem;
  border-bottom-right-radius: 10px;
}

.seminar-detail-body {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  flex: 1;
  padding: 1.4rem 1.4rem 1.5rem;
}

.seminar-detail-body h3 {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
}

.seminar-detail-body h3 svg {
  width: 22px;
  height: 22px;
  color: var(--blue);
  flex-shrink: 0;
}

.seminar-detail-body p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.85;
}

/* このセミナーをおすすめしている入口（トップの入口カードへ戻るリンク） */
/* カードの底に付けたフッター。セミナー例の量が違っても、空きがフッターの上にまとまる */
.seminar-gates {
  margin: auto -1.4rem -1.5rem;
  padding: 0.95rem 1.4rem 1.05rem;
  background: var(--gold-light);
  border-top: 1px solid rgba(201, 174, 90, 0.35);
}

.seminar-gates--all .seminar-gates-label {
  margin-bottom: 0.15rem;
}

.seminar-gates-all {
  font-size: 0.84rem !important;
  line-height: 1.6 !important;
  color: var(--blue) !important;
}

.seminar-gates-label {
  font-size: 0.74rem !important;
  font-weight: 700;
  color: var(--blue-dark) !important;
  letter-spacing: 0.04em;
  line-height: 1.5 !important;
  margin-bottom: 0.45rem;
}

.seminar-gates-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.seminar-gates-list a {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  font-size: 0.84rem;
  line-height: 1.5;
  color: var(--blue);
  text-decoration: none;
  transition: var(--transition);
}

.seminar-gates-list a::after {
  content: "→";
  margin-left: auto;
  color: var(--gold-dark);
  transition: transform var(--transition);
}

.seminar-gates-list a em {
  font-style: normal;
  font-family: var(--font-en);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--gold-dark);
  white-space: nowrap;
}

.seminar-gates-list a:hover {
  color: var(--blue-dark);
  text-decoration: underline;
}

.seminar-gates-list a:hover::after {
  transform: translateX(3px);
}

.entry-gate {
  scroll-margin-top: calc(var(--header-h) + 24px);
}

.seminar-ex-label {
  margin-top: 0.5rem;
  padding-top: 0.6rem;
  border-top: 1px dashed var(--gray-200);
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--gray-600);
  letter-spacing: 0.04em;
}

.seminar-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  padding-top: 0.45rem;
}

.seminar-tags span {
  font-size: 0.76rem;
  color: var(--blue);
  background: var(--blue-light);
  border-radius: 999px;
  padding: 0.25rem 0.7rem;
}

.seminar-tags span.is-more {
  color: var(--gray-600);
  background: var(--gray-100);
}

@media (max-width: 980px) {
  .seminar-detail-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 620px) {
  .seminar-detail-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

@media (max-width: 900px) {
  .seminar-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .seminar-grid {
    grid-template-columns: 1fr;
  }

  .seminar-card-bg {
    width: 124px;
  }
}

/* メイン事業カード内：2事業の並列 */
.service-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 3.5vw, 2.75rem);
  margin: 1.75rem 0 2rem;
}

.service-duo-col + .service-duo-col {
  border-left: 1px solid rgba(255, 255, 255, 0.18);
  padding-left: clamp(1.5rem, 3.5vw, 2.75rem);
}

.service-duo-col h4 {
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.4;
  margin-bottom: 0.85rem;
}

.service-duo-col h4 em {
  font-style: normal;
  display: block;
  color: var(--gold);
  font-size: 0.74em;
  font-weight: 600;
  margin-top: 0.25rem;
}

.service-duo-col > p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
  line-height: 1.85;
  margin-bottom: 1.1rem;
}

.service-duo-col .service-main-list {
  margin-bottom: 0;
}

@media (max-width: 860px) {
  .service-duo {
    grid-template-columns: 1fr;
  }

  .service-duo-col + .service-duo-col {
    border-left: 0;
    padding-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    padding-top: 1.75rem;
  }
}

.service-main-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.service-os-info {
  color: var(--gold);
  font-size: 0.88rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.service-main-img {
  width: 260px;
  flex-shrink: 0;
}

.service-main-img img {
  border-radius: var(--radius-md);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
  width: 100%;
}

/* サブサービス */
.service-sub-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.service-card {
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
}

.service-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.service-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 1rem;
  color: var(--blue);
}

.service-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.service-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--text);
}

.service-new-badge {
  display: inline-block;
  margin-left: 0.5rem;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #fff;
  background: #e11d48;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  vertical-align: middle;
  white-space: nowrap;
}

.service-card p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 1rem;
}

/* チラシ画像は切らずに全体を見せる。枠は2:1にそろえ、形の違うチラシ（正方形など）は
   左右の空きに同じ画像をぼかして敷く */
.service-slide-img {
  position: relative;
  aspect-ratio: 2 / 1;
  overflow: hidden;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  margin: -2rem -1.5rem 1.25rem;
  background: var(--gray-100);
}

.service-slide-img .service-slide-bg {
  position: absolute;
  inset: -20px;
  width: calc(100% + 40px);
  height: calc(100% + 40px);
  object-fit: cover;
  filter: blur(18px) brightness(0.95);
}

.service-slide-img img:not(.service-slide-bg) {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.service-card-body {
  padding: 0;
}

.service-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.25rem 0.7rem;
  border-radius: var(--radius-sm);
  letter-spacing: 0.05em;
}

.service-blue {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
}

.service-blue::before {
  background: #3b82f6;
}

.service-blue .service-tag {
  background: #dbeafe;
  color: #1d4ed8;
}

.service-green {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
}

.service-green::before {
  background: #22c55e;
}

.service-green .service-tag {
  background: #dcfce7;
  color: #15803d;
}

.service-pink {
  background: #fdf2f8;
  border: 1px solid #f9a8d4;
}

.service-pink::before {
  background: #ec4899;
}

.service-pink .service-tag {
  background: #fce7f3;
  color: #be185d;
}

.service-yellow {
  background: #fefce8;
  border: 1px solid #fde047;
}

.service-yellow::before {
  background: #eab308;
}

.service-yellow .service-tag {
  background: #fef9c3;
  color: #854d0e;
}

.service-purple {
  background: #faf5ff;
  border: 1px solid #d8b4fe;
}

.service-purple::before {
  background: #a855f7;
}

.service-purple .service-tag {
  background: #f3e8ff;
  color: #7e22ce;
}

.service-teal {
  background: #f0fdfa;
  border: 1px solid #99f6e4;
}

.service-teal::before {
  background: #14b8a6;
}

.service-teal .service-tag {
  background: #ccfbf1;
  color: #0f766e;
}

.service-note {
  text-align: center;
  margin-top: 2.5rem;
  font-size: 0.85rem;
  color: var(--gray-600);
  background: var(--gray-100);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-sm);
  display: inline-block;
  margin-left: auto;
  margin-right: auto;
}

/* ---------- NEWS ---------- */
.news-section {
  background: var(--off-white);
}

/* スライド型ニュースカード */
.news-slides {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-bottom: 1rem;
}

.news-slide-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  text-decoration: none;
}

.news-slide-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.news-slide-img {
  height: 160px;
  overflow: hidden;
}

.news-slide-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

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

.news-slide-body {
  padding: 1rem;
  flex: 1;
}

.news-slide-body time {
  font-size: 0.78rem;
  color: var(--gray-600);
  font-family: var(--font-en);
  display: block;
  margin: 0.35rem 0 0.4rem;
}

.news-slide-body h4 {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.5;
  margin-bottom: 0.5rem;
}

.news-slide-body p {
  font-size: 0.8rem;
  color: var(--text-light);
  line-height: 1.7;
}

.news-list {
  border-top: 2px solid var(--gray-200);
}

.news-item {
  display: grid;
  grid-template-columns: 130px 90px 1fr;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--gray-200);
  transition: var(--transition);
}

.news-item:hover {
  background: var(--blue-light);
  padding-left: 0.5rem;
  border-radius: var(--radius-sm);
}

.news-date {
  font-family: var(--font-en);
  font-size: 0.85rem;
  color: var(--gray-600);
  font-weight: 500;
  letter-spacing: 0.05em;
}

.news-cat {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.25rem 0.7rem;
  border-radius: var(--radius-sm);
  text-align: center;
  letter-spacing: 0.05em;
}

.cat-info {
  background: var(--blue-light);
  color: var(--blue);
}

.cat-event {
  background: #fef3c7;
  color: #b45309;
}

.cat-recruit {
  background: #fce7f3;
  color: #be185d;
}

.news-title-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
  transition: color var(--transition);
}

.news-title-link:hover {
  color: var(--blue);
}

.news-actions {
  text-align: center;
  margin-top: 2.5rem;
}

/* ---------- DEAR SIR ---------- */
.dear-section {
  background: var(--white);
}

.dear-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 4rem;
}

.dear-card {
  background: var(--off-white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  transition: var(--transition);
}

.dear-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.dear-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.dear-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--blue-dark);
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--gold-light);
}

.dear-card p {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.9;
  margin-bottom: 1.25rem;
}

.dear-list {
  margin-bottom: 1.5rem;
}

.dear-list li {
  font-size: 0.9rem;
  color: var(--text-light);
  padding: 0.35rem 0;
  border-bottom: 1px solid var(--gray-200);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.dear-list li:last-child {
  border-bottom: none;
}

.dear-flow {
  background: var(--blue-dark);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 5vw, 3.5rem);
  color: var(--white);
  border-top: 3px solid var(--gold-dark);
}

.flow-title {
  font-size: 1.3rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 2.5rem;
  color: var(--gold);
}

.flow-steps {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  justify-content: center;
}

.flow-step {
  flex: 1;
  max-width: 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.75rem;
}

.step-num {
  font-family: var(--font-en);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
}

.step-content h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--white);
}

.step-content p {
  font-size: 0.85rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.8);
}

.flow-arrow {
  font-size: 1.5rem;
  color: var(--gold);
  flex-shrink: 0;
  padding-top: 1rem;
  align-self: flex-start;
}

/* ---------- SNS ---------- */
.sns-section {
  background: var(--off-white);
}

.sns-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 800px;
  margin: 0 auto;
}

.sns-grid.sns-single {
  grid-template-columns: 1fr;
  max-width: 480px;
}

.sns-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.sns-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.sns-icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
}

.sns-instagram .sns-icon-wrap {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  color: var(--white);
}

.sns-line .sns-icon-wrap {
  background: #06C755;
  color: var(--white);
}

.sns-icon {
  width: 32px;
  height: 32px;
}

.sns-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.75rem;
}

.sns-card p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

/* ---------- RECRUIT ---------- */
.recruit-section {
  background: var(--blue-dark);
  position: relative;
  overflow: hidden;
}

.recruit-bg {
  display: none;
}

.recruit-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.recruit-title {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.4;
  margin-bottom: 1.5rem;
}

.recruit-desc {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.9;
  margin-bottom: 2.5rem;
  font-size: 0.95rem;
}

.recruit-points {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.recruit-point {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(224, 202, 130, 0.25);
  border-radius: var(--radius-sm);
  padding: 0.5rem 1.1rem;
  color: var(--gold);
  font-size: 0.88rem;
  font-weight: 600;
}

.recruit-point::before {
  content: '—';
  color: var(--gold-dark);
}

.point-icon {
  font-size: 1rem;
}

/* ---------- CONTACT ---------- */
.contact-section {
  background: var(--white);
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.contact-info h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--blue-dark);
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--gold-light);
}

.contact-tel {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-en);
  font-size: 2rem;
  font-weight: 800;
  color: var(--blue);
  margin-bottom: 0.5rem;
  transition: var(--transition);
}

.contact-tel:hover {
  color: var(--blue-dark);
}

.tel-icon {
  display: inline-flex;
  color: var(--blue);
}

.contact-hours {
  font-size: 0.85rem;
  color: var(--gray-600);
  margin-bottom: 0.75rem;
}

.contact-no-sales {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  color: #b91c1c;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 6px;
  padding: 0.4rem 0.75rem;
  margin-bottom: 2rem;
}

.contact-address,
.contact-access {
  margin-bottom: 1.5rem;
}

.contact-address p,
.contact-access p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.8;
}

.contact-address strong,
.contact-access strong {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--blue-dark);
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}

.contact-form-wrap {
  background: var(--off-white);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border: 1px solid var(--gray-200);
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.required {
  background: #ef4444;
  color: var(--white);
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  margin-left: 0.4rem;
  vertical-align: middle;
}

.optional {
  background: #ef4444;
  color: var(--white);
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  margin-left: 0.4rem;
  vertical-align: middle;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-family: var(--font-jp);
  font-size: 0.95rem;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition);
  outline: none;
  appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0, 72, 157, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-note {
  font-size: 0.8rem;
  color: var(--gray-600);
  margin-bottom: 1.25rem;
  font-style: italic;
}

/* ---------- COMPANY ---------- */
.company-section {
  background: var(--off-white);
}

.company-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.company-table {
  width: 100%;
  border-collapse: collapse;
}

.company-table th,
.company-table td {
  padding: 1rem;
  border-bottom: 1px solid var(--gray-200);
  font-size: 0.9rem;
  line-height: 1.7;
  text-align: left;
  vertical-align: top;
}

.company-table th {
  width: 36%;
  font-weight: 700;
  color: var(--blue-dark);
  white-space: nowrap;
  background: var(--blue-light);
}

.company-table td a {
  color: var(--blue);
  text-decoration: underline;
}

.company-map iframe {
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  display: block;
}

/* ---------- FOOTER ---------- */
.site-footer {
  background: #0d1b3e;
  color: rgba(255, 255, 255, 0.8);
}

.footer-gold-line {
  height: 2px;
  background: var(--gold-dark);
}

.site-footer .container {
  padding-top: 4rem;
  padding-bottom: 2rem;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand {
  flex: 0 0 260px;
}

.footer-right {
  display: flex;
  gap: 3rem;
  align-items: flex-start;
  justify-content: flex-end;
}

.footer-future-group {
  display: none;
}

.footer-logo-link {
  display: inline-block;
  margin-bottom: 1rem;
}

.footer-logo-img {
  height: 50px;
  width: auto;
  filter: brightness(0) invert(1);
}

.footer-catch {
  font-size: 0.88rem;
  line-height: 1.9;
  margin-bottom: 1.25rem;
  color: rgba(255, 255, 255, 0.65);
}

.footer-sns {
  display: flex;
  gap: 0.75rem;
}

.footer-sns a {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  color: rgba(255, 255, 255, 0.7);
}

.footer-sns a:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--blue-dark);
}

.footer-sns svg {
  width: 18px;
  height: 18px;
}

.footer-nav-group h4 {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.footer-nav-group ul li {
  margin-bottom: 0.5rem;
}

.footer-nav-group ul li a {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.65);
  transition: color var(--transition);
}

.footer-nav-group ul li a:hover {
  color: var(--white);
}

.footer-future li span {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.35);
}

.footer-contact-info h4 {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.footer-tel {
  font-family: var(--font-en);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  display: block;
  margin-bottom: 0.25rem;
  transition: color var(--transition);
}

.footer-tel:hover {
  color: var(--gold);
}

.footer-contact-info p {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 0.25rem;
}

.footer-address {
  line-height: 1.7;
  margin-top: 0.75rem !important;
}

.footer-no-sales {
  font-size: 0.74rem !important;
  color: rgba(255, 255, 255, 0.7) !important;
  line-height: 1.6;
  margin-top: 0.4rem;
}

.table-note {
  display: inline-block;
  margin-top: 0.3rem;
  font-size: 0.78rem;
  color: #b91c1c;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-copy {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
  font-family: var(--font-en);
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
  transition: color var(--transition);
}

.footer-links a:hover {
  color: rgba(255, 255, 255, 0.8);
}

/* ---------- BACK TO TOP ---------- */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 1.5rem;
  width: 48px;
  height: 48px;
  background: var(--blue);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: var(--shadow-md);
  z-index: 900;
  opacity: 0;
  transform: translateY(20px);
  transition: var(--transition);
  pointer-events: none;
}

.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.back-to-top:hover {
  background: var(--blue-dark);
  transform: translateY(-2px);
}

/* ---------- SCROLL ANIMATIONS ---------- */
.reveal-up,
.reveal-left,
.reveal-right {
  opacity: 0;
  transition: opacity 0.7s ease, transform 0.7s ease;
  transition-delay: var(--delay, 0s);
}

.reveal-up {
  transform: translateY(40px);
}

.reveal-left {
  transform: translateX(-40px);
}

.reveal-right {
  transform: translateX(40px);
}

.reveal-up.in-view,
.reveal-left.in-view,
.reveal-right.in-view {
  opacity: 1;
  transform: translate(0, 0);
}

/* ---------- ENTRY：入口カードの選択 ---------- */
.entry-gate {
  cursor: pointer;
}

/* ホバー／カード内のリンクにフォーカスが当たったとき */
.entry-gates:not(.has-selection) .entry-gate:hover,
.entry-gates:not(.has-selection) .entry-gate:focus-within {
  border-color: var(--gold-dark);
}

/* 選んでいない入口は控えめに。
   カードを半透明にすると裏の線が透けるので、カードは不透明のまま白いベールをかける */
.entry-gate {
  position: relative;
}

.entry-gate::after {
  content: "";
  position: absolute;
  inset: -5px -1px -1px; /* 上の太い線と枠線までベールをかける */
  border-radius: inherit;
  background: rgba(248, 250, 252, 0.6);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.entry-gates.has-selection .entry-gate:not(.is-selected)::after {
  opacity: 1;
}

.entry-gates.has-selection .entry-gate:not(.is-selected):hover::after {
  opacity: 0.4;
}

.entry-gates.has-selection .entry-gate.is-selected {
  opacity: 1;
  border-color: var(--gold-dark);
  border-top-color: var(--gold-dark);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(31, 58, 110, 0.16);
}

/* 入口からゴールへ、線を流す（ホバー中・選択中のカードに対応する線） */
.conv-line {
  transition: opacity 0.4s ease, stroke-width 0.4s ease;
}

.entry-diverge.is-flowing .conv-line {
  opacity: 0.15;
}

/* 光を流している道のり（ゴールからそのカードまで）を濃く重ねる */
.conv-route {
  fill: none;
  stroke: var(--gold-dark);
  stroke-width: 2;
  opacity: 0.6;
}

/* 流れる光：pathLength=100 で線の長さに関係なく同じ速さに見せる。
   パスはゴール→カードの向きなので、dashoffset を増やすとカード→ゴールへ進む。
   光の粒（spark）と、長さの違う尾を2本重ねて、後ろほど薄くなるように見せる */
.conv-flow {
  fill: none;
  stroke-linecap: round;
  stroke-dashoffset: -100;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.conv-tail-long {
  stroke: var(--gold);
  stroke-width: 3;
  stroke-dasharray: 18 200;
}

.conv-tail {
  stroke: var(--gold-dark);
  stroke-width: 3.5;
  stroke-dasharray: 8 200;
}

.conv-spark {
  stroke: #fffdf5;
  stroke-width: 8;
  stroke-dasharray: 0.01 200;
  filter: url(#convGlow);
}

.conv-flow.is-active {
  animation: convFlowUp var(--flow-dur, 1.6s) cubic-bezier(0.45, 0, 0.3, 1) infinite;
}

.conv-tail-long.is-active { opacity: 0.6; }
.conv-tail.is-active      { opacity: 0.9; }
.conv-spark.is-active     { opacity: 1; }

@keyframes convFlowUp {
  from { stroke-dashoffset: -100; }
  to   { stroke-dashoffset: 18; }
}

/* 光がゴールに届くタイミングでドットを光らせる */
.entry-diverge.is-flowing .conv-dot {
  animation: convDotPulse var(--flow-dur, 1.6s) ease-in infinite;
}

/* 光が届くたびに、「ゴールは、『働く』」の文字を光らせる（「働く」をいちばん強く） */
.entry-goal:has(+ .entry-diverge.is-flowing) .entry-goal-main {
  animation: goalTextGlow var(--flow-dur, 1.6s) ease-out infinite;
}

.entry-goal:has(+ .entry-diverge.is-flowing) .entry-goal-main span {
  animation: goalWordGlow var(--flow-dur, 1.6s) ease-out infinite;
}

@keyframes goalTextGlow {
  0%, 68% { text-shadow: 0 0 0 rgba(255, 255, 255, 0); }
  82%     { text-shadow: 0 0 14px rgba(255, 255, 255, 0.75), 0 0 30px rgba(224, 202, 130, 0.45); }
  100%    { text-shadow: 0 0 0 rgba(255, 255, 255, 0); }
}

@keyframes goalWordGlow {
  0%, 68% { text-shadow: 0 0 0 rgba(245, 225, 150, 0); color: var(--gold); }
  82%     { text-shadow: 0 0 12px rgba(255, 240, 190, 1), 0 0 28px rgba(245, 225, 150, 0.9), 0 0 48px rgba(224, 202, 130, 0.6); color: #fff3c8; }
  100%    { text-shadow: 0 0 0 rgba(245, 225, 150, 0); color: var(--gold); }
}

@keyframes convDotPulse {
  0%, 70% { box-shadow: 0 0 0 0 rgba(224, 202, 130, 0); }
  85%     { box-shadow: 0 0 10px 3px rgba(224, 202, 130, 0.9); }
  100%    { box-shadow: 0 0 0 0 rgba(224, 202, 130, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .conv-flow.is-active {
    animation: none;
    opacity: 0;
  }
  .entry-diverge.is-flowing .conv-dot,
  .entry-goal:has(+ .entry-diverge.is-flowing) .entry-goal-main,
  .entry-goal:has(+ .entry-diverge.is-flowing) .entry-goal-main span {
    animation: none;
  }
  .entry-gates.has-selection .entry-gate.is-selected {
    transform: none;
  }
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    flex-direction: column;
    gap: 2rem;
  }

  .footer-brand {
    flex: none;
  }

  .footer-right {
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: flex-start;
  }

  .footer-future-group {
    display: none;
  }

  .page-nav-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 600px) {
  .hero-top-inner {
    grid-template-columns: 1fr;
  }

  .hero-okinawa-badge {
    grid-column: 1;
    grid-row: 1;
    justify-content: center;
  }

  .hero-catch {
    grid-column: 1;
    grid-row: 2;
    text-align: center;
  }

  .hero-catch strong {
    white-space: normal;
    font-size: 1rem;
  }

  .hero-logo-wrap {
    grid-row: 3;
  }

  .hero-buttons {
    grid-row: 4;
  }
}

/* ナビ項目が増えたため、1300px以下はドロワー表示に切り替える */
@media (max-width: 1300px) {
  .hamburger {
    display: flex;
  }

  .global-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(80vw, 320px);
    height: 100vh;
    background: var(--white);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.15);
    padding: calc(var(--header-h) + 2rem) 2rem 2rem;
    transition: right var(--transition-slow);
    z-index: 999;
    overflow-y: auto;
  }

  .global-nav.open {
    right: 0;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
  }

  .nav-list a {
    padding: 1rem;
    font-size: 1rem;
    border-radius: var(--radius-sm);
    border-bottom: 1px solid var(--gray-100);
    color: var(--text) !important;
  }

  .nav-list a:hover {
    color: var(--blue) !important;
  }

  .nav-list .nav-cta {
    color: var(--white) !important;
  }

  .nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 998;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition);
  }

  .nav-overlay.show {
    opacity: 1;
    pointer-events: auto;
  }
}

@media (max-width: 768px) {
  :root {
    --header-h: 60px;
  }

  .hamburger {
    display: flex;
  }

  .global-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(80vw, 320px);
    height: 100vh;
    background: var(--white);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.15);
    padding: calc(var(--header-h) + 2rem) 2rem 2rem;
    transition: right var(--transition-slow);
    z-index: 999;
    overflow-y: auto;
  }

  .global-nav.open {
    right: 0;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
  }

  .nav-list a {
    padding: 1rem;
    font-size: 1rem;
    border-radius: var(--radius-sm);
    border-bottom: 1px solid var(--gray-100);
    color: var(--text) !important;
  }

  .nav-list a:hover {
    color: var(--blue) !important;
  }

  .nav-list .nav-cta {
    color: var(--white) !important;
  }

  .nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 998;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition);
  }

  .nav-overlay.show {
    opacity: 1;
    pointer-events: auto;
  }

  .hero-logo {
    max-width: 280px;
  }

  .collage-strip {
    height: 160px;
  }

  .collage-overlay-text {
    font-size: 1rem;
  }

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

  .about-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-main-inner {
    grid-template-columns: 1fr;
  }

  .service-main-img {
    width: 100%;
  }

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

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

  .news-slides {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .contact-wrapper {
    grid-template-columns: 1fr;
  }

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

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

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .news-item {
    grid-template-columns: 110px 80px 1fr;
    gap: 0.5rem;
  }

  .flow-steps {
    flex-direction: column;
    align-items: center;
  }

  .flow-arrow {
    transform: rotate(90deg);
  }

  .flow-step {
    max-width: 100%;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  /* フッター：メニューとお問い合わせを横並びに固定 */
  .footer-right {
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 1.5rem;
    width: 100%;
  }

  .footer-nav-group,
  .footer-contact-info {
    flex: 1 1 0;
    min-width: 0;
    word-break: break-word;
  }

  .footer-tel {
    font-size: 1.1rem;
  }
}

@media (max-width: 480px) {
  .news-item {
    grid-template-columns: 1fr;
    gap: 0.25rem;
    padding: 1rem 0;
  }

  .news-slides {
    grid-template-columns: 1fr;
  }

  .hero-buttons {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
  }

  .hero-buttons .btn {
    font-size: 0.85rem;
    padding: 0.75rem 1.25rem;
  }

  .recruit-points {
    flex-direction: column;
    align-items: center;
  }

  .collage-strip {
    height: 120px;
  }

  .page-nav-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
  }

  .page-nav-card {
    padding: 0.75rem 0.3rem;
  }

  .page-nav-icon {
    font-size: 1.3rem;
  }

  .page-nav-title {
    font-size: 0.72rem;
  }

  .page-nav-desc {
    display: none;
  }
}

/* ============================================================
   FAMILY PAGE — New Design
   ============================================================ */

/* Hero (light background) */
.fam-hero {
  margin-top: var(--header-h);
  background: linear-gradient(180deg, #eef3fb 0%, #f8fafd 60%, #ffffff 100%);
  padding: 4.5rem 0 3.5rem;
  text-align: center;
}

.fam-hero-inner {
  max-width: 740px;
  margin: 0 auto;
}

.fam-hero-eyebrow {
  display: block;
  font-size: 0.95rem;
  color: var(--gold-dark);
  font-style: italic;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}

.fam-hero-title {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700;
  color: var(--blue-dark);
  line-height: 1.25;
  margin-bottom: 1.25rem;
}

.fam-hero-desc {
  font-size: 1rem;
  color: var(--text-light);
  line-height: 1.9;
}

/* Section wrapper */
.fam-section {
  padding: clamp(3rem, 6vw, 5rem) 0;
  background: linear-gradient(180deg, #ffffff 0%, #f0f5fb 40%, #f0f5fb 70%, #ffffff 100%);
}

/* Two-column card grid */
.fam-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: stretch;
  margin-bottom: 2.5rem;
}

/* Base card */
.fam-card {
  position: relative;
  border-radius: 20px;
  padding: 2.5rem 2rem 2rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* ---- Navy card (left) ---- */
.fam-card--navy {
  background: var(--blue-dark);
  box-shadow: var(--shadow-md);
}


/* ---- Light card (right) ---- */
.fam-card--light {
  background: #ffffff;
  border: 1px solid #dde6f4;
  box-shadow: var(--shadow-sm);
}

/* Teal gradient accent in upper-left */
.fam-card--light .fam-deco-teal {
  position: absolute;
  top: 0;
  left: 0;
  width: 210px;
  height: 210px;
  background: linear-gradient(135deg, rgba(13, 148, 136, 0.13) 0%, rgba(13, 148, 136, 0.06) 40%, transparent 70%);
  border-radius: 20px 0 100% 0;
  pointer-events: none;
}


/* Card header row: icon + heading */
.fam-card-top {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
  position: relative;
  z-index: 2;
}

/* Icon circle */
.fam-icon-wrap {
  width: 82px;
  height: 82px;
  min-width: 82px;
  background: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  padding: 14px;
}

.fam-icon-wrap--teal {
  box-shadow: 0 4px 20px rgba(13, 148, 136, 0.22);
}

.fam-icon-wrap svg {
  width: 100%;
  height: 100%;
}

/* Heading */
.fam-card-heading {
  font-size: clamp(1.05rem, 2.2vw, 1.3rem);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.4;
}

.fam-card-heading--dark {
  color: var(--blue-dark);
}

/* Gold divider bar */
.fam-gold-bar {
  width: 40px;
  height: 2px;
  background: var(--gold-dark);
  margin-bottom: 1.25rem;
  position: relative;
  z-index: 2;
}

/* Description text */
.fam-card-desc {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
  line-height: 1.9;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 2;
}

.fam-card-desc--dark {
  color: var(--text-light);
}

/* Checkmark list */
.fam-check-list {
  margin-bottom: 1.75rem;
  position: relative;
  z-index: 2;
  flex: 1;
}

.fam-check-list li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.9);
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.fam-check-list li:last-child {
  border-bottom: none;
}

.fam-check-list--dark li {
  color: var(--text-light);
  border-bottom-color: var(--gray-200);
}

.fam-chk {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* Buttons */
.fam-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.9rem 1.75rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  transition: var(--transition);
  position: relative;
  z-index: 2;
  text-decoration: none;
  align-self: flex-start;
  cursor: pointer;
}

.fam-btn--solid {
  background: #001a42;
  color: #ffffff;
  border: 2px solid #001a42;
}

.fam-btn--solid:hover {
  background: #002d70;
  border-color: #002d70;
}

.fam-btn--outline {
  background: transparent;
  color: var(--blue-dark);
  border: 2px solid var(--blue-dark);
}

.fam-btn--outline:hover {
  background: var(--blue-dark);
  color: #ffffff;
}

/* Email line (support institutions) */
.fam-mail {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  font-size: 0.85rem;
  line-height: 1.7;
  color: var(--text-light);
  position: relative;
  z-index: 2;
}

.fam-mail svg {
  flex-shrink: 0;
  color: var(--blue-dark);
}

.fam-mail a {
  color: var(--blue-dark);
  font-weight: 700;
  text-decoration: none;
  word-break: break-all;
}

.fam-mail a:hover {
  text-decoration: underline;
}

.fam-btn-arrow {
  font-size: 1.1rem;
  line-height: 1;
  margin-left: 0.1rem;
}

/* Bottom consultation banner */
.fam-consult-banner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  background: linear-gradient(135deg, #e4edf8 0%, #dce8f5 100%);
  border-radius: 16px;
  padding: 1.75rem 2rem;
  position: relative;
  overflow: hidden;
}

.fam-consult-icon-wrap {
  width: 58px;
  height: 58px;
  min-width: 58px;
  background: rgba(58, 123, 213, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.fam-consult-text {
  flex: 1;
  position: relative;
  z-index: 1;
}

.fam-consult-text h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--blue-dark);
  margin-bottom: 0.35rem;
}

.fam-consult-text p {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.7;
}

.fam-consult-scene {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 260px;
  pointer-events: none;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.fam-consult-scene svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Responsive */
@media (max-width: 768px) {
  .fam-grid {
    grid-template-columns: 1fr;
  }

  .fam-consult-banner {
    flex-wrap: wrap;
  }

  .fam-consult-scene {
    display: none;
  }

  .fam-btn {
    align-self: stretch;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .fam-hero {
    padding: 3rem 0 2.5rem;
  }

  .fam-icon-wrap {
    width: 68px;
    height: 68px;
    min-width: 68px;
    padding: 12px;
  }

  .fam-card {
    padding: 2rem 1.5rem 1.75rem;
  }
}

/* ============================================================
   ABOUT PAGE (about.html)
   ============================================================ */

/* 概要リード */
.about-lead-block {
  max-width: 820px;
  margin: 0 auto;
}

.about-lead-block p {
  font-size: 1rem;
  line-height: 2;
  color: var(--text-light);
  margin-bottom: 1.25rem;
}

.about-lead-block strong {
  color: var(--blue-dark);
}

.about-intro-actions {
  margin-top: 2rem;
  text-align: center;
}

/* 名前に込めた思い・ビジョン */
.vision-name {
  max-width: 820px;
  margin: 0 auto 3rem;
  text-align: center;
}

.vision-name p {
  font-size: 1rem;
  line-height: 2;
  color: var(--text-light);
  margin-bottom: 1rem;
}

.vision-name strong {
  color: var(--blue-dark);
}

.vision-name-lead {
  font-size: 1.35rem !important;
  font-weight: 700;
  color: var(--text) !important;
  line-height: 1.7 !important;
}

.vision-name-lead span {
  color: var(--blue);
}

.vision-catch {
  font-family: var(--font-en), var(--font-jp);
  font-size: 1.6rem !important;
  font-weight: 700;
  color: var(--gold-dark) !important;
  margin: 1.5rem 0 !important;
}

.vision-statement {
  background: var(--blue);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 3rem 2.5rem;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.vision-statement::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gold);
}

.vision-statement-label {
  display: inline-block;
  font-family: var(--font-en);
  font-weight: 700;
  letter-spacing: 0.1em;
  font-size: 0.8rem;
  color: var(--gold);
  margin-bottom: 1rem;
}

.vision-statement-title {
  font-size: 1.55rem;
  font-weight: 700;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.vision-statement-body {
  font-size: 0.98rem;
  line-height: 2;
  color: rgba(255, 255, 255, 0.9);
  max-width: 640px;
  margin: 0 auto;
}

/* 代表メッセージ */
.message-block {
  max-width: 840px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 3rem 3rem 2.5rem;
  box-shadow: var(--shadow-sm);
}

.message-block p {
  font-size: 1rem;
  line-height: 2.1;
  color: var(--text-light);
  margin-bottom: 1.4rem;
}

.message-sign {
  text-align: right;
  margin-top: 2rem !important;
  margin-bottom: 0 !important;
  line-height: 1.6 !important;
}

.message-sign-org {
  display: block;
  font-size: 0.85rem;
  color: var(--text-light);
}

.message-sign-name {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--blue-dark);
  letter-spacing: 0.08em;
}

/* 役員紹介 */
.officer-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.officer-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.officer-head {
  background: var(--blue-light);
  padding: 1.5rem 1.75rem;
  border-bottom: 2px solid var(--gold);
}

.officer-role {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  color: #fff;
  background: var(--blue);
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
  margin-bottom: 0.6rem;
}

.officer-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--blue-dark);
  line-height: 1.3;
}

.officer-name-en {
  display: block;
  font-family: var(--font-en);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-light);
  letter-spacing: 0.05em;
  margin-top: 0.2rem;
}

.officer-table th {
  width: 42%;
  background: transparent;
}

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

/* 企業情報 */
.company-info-wrap {
  max-width: 820px;
  margin: 0 auto;
}

.company-info-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}

/* 社会貢献・協賛活動 */
.contribution-section {
  background: var(--off-white);
}

.contribution-card {
  max-width: 880px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 2.5rem;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-left: 5px solid var(--gold-dark);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2.75rem;
  box-shadow: var(--shadow-sm);
}

.contribution-media {
  flex: 0 0 360px;
  width: 360px;
}

.contribution-media img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 280px;
  object-fit: cover;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.contribution-body {
  flex: 1;
}

.contribution-banner {
  max-width: 640px;
  margin: 2.25rem auto 0;
  text-align: center;
}

.contribution-banner img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.contribution-banner figcaption {
  margin-top: 0.85rem;
  font-size: 0.82rem;
  color: var(--text-light);
  line-height: 1.6;
}

.contribution-label {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--gold-dark);
  background: none;
  padding: 0;
  margin-bottom: 0.85rem;
}

.contribution-label::before {
  content: "";
  display: inline-block;
  width: 20px;
  height: 2px;
  background: var(--gold-dark);
}

.contribution-body h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--blue-dark);
  line-height: 1.4;
  margin-bottom: 1.25rem;
}

.contribution-body h3 span {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-light);
  margin-top: 0.3rem;
}

.contribution-body p {
  font-size: 1rem;
  line-height: 2;
  color: var(--text-light);
  margin-bottom: 1.2rem;
}

.contribution-actions {
  margin-top: 1.75rem;
}

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

  .message-block {
    padding: 2rem 1.5rem;
  }

  .vision-statement {
    padding: 2.5rem 1.5rem;
  }

  .vision-statement-title {
    font-size: 1.3rem;
  }

  .vision-name-lead {
    font-size: 1.2rem !important;
  }

  .vision-catch {
    font-size: 1.35rem !important;
  }

  .contribution-card {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
    padding: 2rem 1.5rem;
  }

  .contribution-media {
    flex-basis: auto;
    width: 130px;
  }

  .contribution-actions {
    text-align: center;
  }
}
/* ============================================================
   ENTRY — 状況別の入口（トップページ）
   ============================================================ */
.entry-section {
  background: var(--off-white);
}

.entry-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
  gap: 1rem;
  margin-top: 2.25rem;
}

.entry-card a {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  height: 100%;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-left: 4px solid var(--blue);
  border-radius: var(--radius-md);
  padding: 1.1rem 1.15rem;
  text-decoration: none;
  color: var(--text);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.entry-card a:hover,
.entry-card a:focus-visible {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-left-color: var(--gold-dark);
}

.entry-chk {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  margin-top: 3px;
}

.entry-text {
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.65;
}

.entry-link {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--blue);
  transition: var(--transition);
}

.entry-card a:hover .entry-link {
  color: var(--gold-dark);
}

.entry-foot {
  margin-top: 2.25rem;
  padding: 1.6rem 1.25rem;
  text-align: center;
  background: var(--white);
  border: 1px dashed var(--gold-dark);
  border-radius: var(--radius-lg);
}

.entry-foot p {
  font-size: 0.95rem;
  line-height: 1.9;
  color: var(--text-light);
  margin-bottom: 1.15rem;
}

.entry-foot strong {
  color: var(--blue-dark);
}

@media (max-width: 600px) {
  .entry-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   START — はじめての方へ（start.html）
   ============================================================ */
.start-section {
  padding: clamp(3rem, 6vw, 5rem) 0;
}

.start-section--tint {
  background: linear-gradient(180deg, #ffffff 0%, #f0f5fb 40%, #f0f5fb 70%, #ffffff 100%);
}

.start-points {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  margin-top: 2.25rem;
}

.start-point {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-top: 4px solid var(--gold-dark);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.35rem;
  box-shadow: var(--shadow-sm);
}

.start-point h3 {
  font-size: 1.05rem;
  color: var(--blue-dark);
  line-height: 1.5;
  margin-bottom: 0.75rem;
}

.start-point p {
  font-size: 0.92rem;
  line-height: 1.9;
  color: var(--text-light);
}

.start-flow {
  list-style: none;
  max-width: 780px;
  margin: 2.25rem auto 0;
}

.start-flow li {
  position: relative;
  display: flex;
  gap: 1.1rem;
  padding-bottom: 1.75rem;
}

.start-flow li:last-child {
  padding-bottom: 0;
}

.start-flow li::before {
  content: '';
  position: absolute;
  left: 21px;
  top: 46px;
  bottom: 6px;
  width: 2px;
  background: var(--gray-200);
}

.start-flow li:last-child::before {
  display: none;
}

.start-step-num {
  flex: 0 0 auto;
  position: relative;
  z-index: 1;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 1rem;
}

.start-step-body {
  flex: 1 1 auto;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 1.15rem 1.25rem;
  box-shadow: var(--shadow-sm);
}

.start-step-body h3 {
  font-size: 1.05rem;
  color: var(--blue-dark);
  margin-bottom: 0.55rem;
}

.start-step-body p {
  font-size: 0.92rem;
  line-height: 1.9;
  color: var(--text-light);
}

.start-step-time {
  display: inline-block;
  margin-left: 0.6rem;
  padding: 0.15rem 0.6rem;
  border-radius: 999px;
  background: var(--gold-light);
  color: #7a6420;
  font-size: 0.75rem;
  font-weight: 700;
  vertical-align: middle;
}

.start-faq {
  max-width: 780px;
  margin: 2.25rem auto 0;
}

.start-faq details {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  margin-bottom: 0.85rem;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.start-faq summary {
  cursor: pointer;
  list-style: none;
  padding: 1.05rem 3rem 1.05rem 1.25rem;
  font-weight: 700;
  font-size: 0.97rem;
  color: var(--blue-dark);
  position: relative;
}

.start-faq summary::-webkit-details-marker {
  display: none;
}

.start-faq summary::after {
  content: '+';
  position: absolute;
  right: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  line-height: 1;
  color: var(--gold-dark);
}

.start-faq details[open] summary::after {
  content: '−';
}

.start-faq .start-faq-body {
  padding: 0 1.25rem 1.2rem;
  font-size: 0.92rem;
  line-height: 1.95;
  color: var(--text-light);
}

.start-cta {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
  background: var(--blue);
  color: var(--white);
  border-radius: var(--radius-xl);
  padding: 2.5rem 1.5rem;
}

.start-cta h2 {
  font-size: clamp(1.3rem, 3vw, 1.7rem);
  line-height: 1.5;
  margin-bottom: 1rem;
}

.start-cta p {
  font-size: 0.95rem;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1.75rem;
}

.start-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: center;
  align-items: center;
}

.start-cta-tel {
  color: var(--white);
  font-family: var(--font-en);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-decoration: none;
  border-bottom: 2px solid var(--gold);
  padding-bottom: 2px;
}

.start-cta-tel:hover {
  color: var(--gold);
}

.start-cta-note {
  margin-top: 1.25rem;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.75);
}


/* ============================================================
   ナビ8項目対応（「はじめての方へ」追加にともなう幅調整）
   ※ハンバーガーは768px以下なので、769px以上のみに適用
   ============================================================ */
@media (min-width: 769px) {
  .nav-list {
    gap: 0.1rem;
  }

  .nav-list a {
    padding: 0.5rem 0.62rem;
    font-size: 0.84rem;
  }

  .nav-list a:hover::after {
    width: calc(100% - 1.24rem);
  }

}

.nav-list a.nav-start {
  font-weight: 700;
}


/* ============================================================
   ENTRY — 枝分かれ→同じゴール（収束表現）
   ============================================================ */
.entry-converge,
.entry-diverge {
  position: relative;
  margin-top: 0.5rem;
  line-height: 0;
}

.entry-converge svg,
.entry-diverge svg {
  display: block;
  width: 100%;
  height: 96px;
}

/* 分岐版：ゴールの枠の下に三角の口を付け、その先端から線を分ける */
.entry-goal {
  position: relative;
}

.entry-goal::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -13px;
  width: 26px;
  height: 14px;
  margin-left: -13px;
  background: var(--blue);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
}

.entry-diverge {
  margin-top: 13px;
  margin-bottom: 0.25rem;
  height: 96px;
}

/* JSでカードの位置から描き直した線は、入口カードの下まで伸ばしてカードの裏に通す */
.entry-diverge svg.is-drawn {
  position: absolute;
  top: 0;
  left: 0;
  overflow: visible;
  pointer-events: none;
}

.entry-gates {
  position: relative;
  z-index: 1;
}

.entry-diverge .conv-dot {
  top: -3px;
  bottom: auto;
  width: 7px;
  height: 7px;
  margin-left: -3.5px;
  box-shadow: none;
}

.conv-line {
  fill: none;
  stroke: var(--gold-dark);
  stroke-width: 1.5;
  opacity: 0.4;
}

.conv-line.is-center {
  stroke-width: 2.5;
  opacity: 0.9;
}

.conv-dot {
  position: absolute;
  left: 50%;
  bottom: -7px;
  width: 14px;
  height: 14px;
  margin-left: -7px;
  border-radius: 50%;
  background: var(--gold-dark);
  box-shadow: 0 0 0 5px rgba(224, 202, 130, 0.35);
}

.entry-cta {
  text-align: center;
  margin-top: 2rem;
}

.entry-goal {
  margin-top: 0;
  text-align: center;
  background: var(--blue);
  color: var(--white);
  border-radius: var(--radius-xl);
  padding: 2.75rem 1.5rem 2.5rem;
  box-shadow: var(--shadow-lg);
}

.entry-goal-main {
  font-size: clamp(1.9rem, 5vw, 3rem);
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 0.6rem;
}

.entry-goal-main span {
  color: var(--gold);
}

.entry-goal-lead {
  font-size: clamp(1rem, 2.2vw, 1.25rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 1.1rem;
}

.entry-goal-desc {
  font-size: 0.95rem;
  line-height: 1.95;
  color: rgba(255, 255, 255, 0.9);
}

.entry-goal-note {
  max-width: 620px;
  margin: 1.75rem auto 0;
  padding: 1.15rem 1.25rem;
  border: 1px dashed rgba(224, 202, 130, 0.7);
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.92);
}

.entry-goal-note strong {
  color: var(--gold);
}

@media (max-width: 600px) {
  .entry-converge svg {
    height: 64px;
  }

  .entry-goal {
    padding: 2.25rem 1.15rem 2rem;
  }
}


/* ============================================================
   ENTRY — 入口01/02/03
   ============================================================ */
.entry-gates {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.75rem 1.25rem; /* 段のすき間は、幹線から枝を出す場所 */
  margin-top: 2.25rem;
}

.entry-gate {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-top: 5px solid var(--blue);
  border-radius: var(--radius-lg);
  padding: 1.6rem 1.4rem 1.35rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.entry-gate:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-top-color: var(--gold-dark);
}

.gate-head {
  padding-bottom: 1rem;
  margin-bottom: 1.1rem;
  border-bottom: 1px dashed var(--gray-200);
}

.gate-num {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--gold-dark);
  margin-bottom: 0.5rem;
}

.gate-num em {
  font-family: var(--font-en);
  font-style: normal;
  font-size: 1.5rem;
  font-weight: 800;
  vertical-align: -0.12em;
  margin-left: 0.15rem;
}

.gate-title {
  font-size: 1.12rem;
  line-height: 1.55;
  color: var(--blue-dark);
}

.gate-list {
  list-style: none;
  flex: 1 1 auto;
}

.gate-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.93rem;
  line-height: 1.7;
  margin-bottom: 0.75rem;
}

.gate-chk {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin-top: 3px;
}

/* タグの長さに関係なく「くわしく見る」を右下に固定 */
.gate-foot {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.6rem;
  margin-top: 1.1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--gray-100);
}

.gate-tag {
  display: inline-block;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  background: var(--blue-light);
  color: var(--blue);
  font-size: 0.76rem;
  font-weight: 700;
}

.gate-link {
  align-self: flex-end;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--blue);
  text-decoration: none;
  transition: var(--transition);
}

.entry-gate:hover .gate-link {
  color: var(--gold-dark);
}

/* 入口ごとのおすすめセミナー */
.gate-seminars {
  margin-top: auto;
  padding-top: 0.9rem;
  border-top: 1px dashed var(--gray-200);
}

.gate-seminars-label {
  display: block;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--gray-600);
  letter-spacing: 0.04em;
  margin-bottom: 0.5rem;
}

.gate-seminars-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.gate-seminars-list a {
  font-size: 0.78rem;
  line-height: 1.4;
  color: var(--blue);
  background: var(--blue-light);
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.28rem 0.7rem;
  text-decoration: none;
  transition: var(--transition);
}

.gate-seminars-list a:hover {
  background: var(--blue);
  color: var(--white);
}

.gate-seminars-list a:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

/* 入口を選んだら、その入口で必要なセミナー（スキル）を順番に光らせる */
.entry-gate.is-selected .gate-seminars-label {
  color: var(--gold-dark);
}

.entry-gate.is-selected .gate-seminars-list a {
  background: var(--gold);
  border-color: var(--gold-dark);
  color: var(--blue-dark);
  font-weight: 700;
  animation: skillLight 0.6s ease both, skillGlow 2.4s ease-in-out 0.6s infinite;
}

.entry-gate.is-selected .gate-seminars-list a:nth-child(2) {
  animation-delay: 0.15s, 0.75s;
}

.entry-gate.is-selected .gate-seminars-list a:nth-child(3) {
  animation-delay: 0.3s, 0.9s;
}

.entry-gate.is-selected .gate-seminars-list a:hover {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
}

@keyframes skillLight {
  0%   { background: var(--blue-light); border-color: transparent; color: var(--blue); transform: scale(1); box-shadow: 0 0 0 0 rgba(224, 202, 130, 0); }
  50%  { transform: scale(1.08); box-shadow: 0 0 0 6px rgba(224, 202, 130, 0.55); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(224, 202, 130, 0); }
}

@keyframes skillGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(224, 202, 130, 0); }
  50%      { box-shadow: 0 0 10px 2px rgba(224, 202, 130, 0.75); }
}

@media (prefers-reduced-motion: reduce) {
  .entry-gate.is-selected .gate-seminars-list a {
    animation: none;
  }
}

/* どの入口でも結局すべてのスキルが必要、というメッセージ */
.entry-all-skills {
  margin-top: 2rem;
  padding: 1.1rem 1.4rem;
  text-align: center;
  font-size: 0.92rem;
  line-height: 2;
  color: var(--text);
  background: var(--off-white);
  border: 1px solid var(--gray-200);
  border-left: 4px solid var(--gold-dark);
  border-radius: var(--radius-md);
}

.entry-all-skills a {
  font-weight: 700;
  color: var(--blue);
  white-space: nowrap;
}

.entry-all-skills a:hover {
  color: var(--blue-dark);
}

.entry-aside {
  margin-top: 1.5rem;
  text-align: center;
  font-size: 0.9rem;
  line-height: 1.9;
  color: var(--text-light);
}

.entry-aside a {
  font-weight: 700;
  color: var(--blue);
  white-space: nowrap;
}

@media (max-width: 900px) {
  .entry-gates {
    grid-template-columns: 1fr;
    row-gap: 1.75rem;
  }
}


/* ============================================================
   ENTRY HUB — 真ん中にゴール（地球）、周りに入口（2026-09-17）
   ============================================================ */
.hub-goal > *:not(.hub-globe):not(.hub-orbit):not(.hub-earth){position:relative;z-index:2}
.hub-goal{overflow:visible;background:radial-gradient(circle at 35% 30%, #2f63c0 0%, var(--blue) 55%, #0a2f6e 100%)}
.hub-globe{position:absolute;inset:0;width:100%;height:100%;border-radius:50%;z-index:1;pointer-events:none}
.hub-globe path,.hub-globe ellipse,.hub-globe line{fill:none;stroke:#fff;stroke-width:.6;vector-effect:non-scaling-stroke}
.globe-lat line{opacity:.13}
.hub-orbit{position:absolute;inset:-18px;border-radius:50%;z-index:1;pointer-events:none;animation:hubSpin 14s linear infinite}
.hub-orbit-2{inset:-34px;animation-duration:22s;animation-direction:reverse}
.hub-orbit i{position:absolute;top:-5px;left:50%;width:10px;height:10px;margin-left:-5px;border-radius:50%;background:var(--gold);box-shadow:0 0 10px 3px rgba(224,202,130,.8)}
.hub-orbit-2 i{width:7px;height:7px;margin-left:-3.5px;top:-3.5px;opacity:.85}
@keyframes hubSpin{to{transform:rotate(360deg)}}
.hub-lines line{animation:hubFlow 1.1s linear infinite}
.hub-lines line.is-on{stroke-dasharray:2 7;animation-duration:.45s}
@keyframes hubFlow{to{stroke-dashoffset:-9}}
@media (prefers-reduced-motion: reduce){
  .hub-orbit,.hub-lines line{animation:none}
}
@media (max-width:960px){ .hub-orbit{display:none} .hub-globe{border-radius:var(--radius-xl)} }

/* ===== 入口をクリックしたとき ===== */
.entry-hub .entry-gate{cursor:pointer}
.entry-hub.has-selection .entry-gate:not(.is-selected){opacity:.4!important;transform:scale(.97)!important;filter:grayscale(.6)}
.entry-hub .entry-gate.is-selected{border-top-color:var(--gold-dark);box-shadow:0 0 0 3px var(--gold),var(--shadow-lg);transform:translateY(-4px)}
.entry-hub .entry-gate{transition:opacity .3s,transform .3s,box-shadow .3s}
.hub-lines line.is-picked{stroke:var(--gold);stroke-width:4;opacity:1;animation-duration:.35s}
.entry-hub.has-selection .hub-lines line:not(.is-picked){opacity:.15}
.hub-goal-from{display:none;font-size:.78rem;font-weight:700;color:var(--gold);letter-spacing:.04em;margin:-.1rem 0 .35rem;line-height:1.5}
.entry-hub.has-selection .hub-goal-from{display:block;animation:hubPop .45s ease}
.entry-hub.has-selection .hub-goal{animation:hubPulse .6s ease}
@keyframes hubPop{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
@keyframes hubPulse{0%{transform:scale(1)}40%{transform:scale(1.04)}100%{transform:scale(1)}}
.hub-hint{text-align:center;font-size:.85rem;color:var(--gray-600);margin-top:1.25rem}
@media (prefers-reduced-motion: reduce){ .entry-hub.has-selection .hub-goal,.entry-hub.has-selection .hub-goal-from{animation:none} }

/* ===== つながり＋ロゴの地球 ===== */
.hub-goal{box-shadow:0 18px 40px rgba(10,47,110,.28)}
.hub-lines{z-index:3}
.hub-lines line{stroke-width:2.5;opacity:.75;stroke-dasharray:3 6}
.hub-lines circle{fill:var(--gold-dark)}
.hub-earth{position:absolute;inset:0;border-radius:50%;overflow:hidden;z-index:1;pointer-events:none;
  background-image:url(../images/logo-white-new.png),url(../images/logo-white-new.png);
  background-size:230px auto,230px auto;background-repeat:repeat;background-position:0 0,115px 70px;
  opacity:.16;animation:earthTurn 26s linear infinite}
.hub-goal::before{content:"";position:absolute;inset:0;border-radius:50%;z-index:1;pointer-events:none;
  background:radial-gradient(circle at 35% 30%,rgba(255,255,255,.14) 0%,rgba(255,255,255,0) 40%,rgba(5,25,70,.55) 100%)}
@keyframes earthTurn{from{background-position:0 0,115px 70px}to{background-position:-460px 0,-345px 70px}}
@media (prefers-reduced-motion: reduce){ .hub-earth{animation:none} }
@media (max-width:960px){ .hub-earth,.hub-goal::before{border-radius:var(--radius-xl)} }

/* ===== v5 調整 ===== */
.hub-goal{width:100%;height:auto;aspect-ratio:1/1;overflow:visible;padding:1.9rem}
.entry-hub.has-selection .hub-goal-en{display:none}
.hub-goal-from{font-size:.82rem;letter-spacing:.12em;margin:0 0 .3rem}
.hub-lines line.base{stroke:var(--gold-dark);stroke-width:1.6;stroke-dasharray:none;opacity:.45;animation:none}
.hub-lines line.flow{stroke:var(--gold);stroke-width:3;stroke-dasharray:3 9;opacity:.95}
.hub-lines line.flow.is-picked{stroke-width:4.5;animation-duration:.35s}
.hub-lines line.base.is-picked{stroke-width:3;opacity:.9}
.entry-hub.has-selection .hub-lines line:not(.is-picked){opacity:.12}
@keyframes hubFlow{to{stroke-dashoffset:-12}}
.hub-goal-main{font-size:1.72rem;white-space:nowrap}
.hub-goal-main .sp-br{display:none}  /* 「ゴールは、」の改行はスマホだけ */

/* ===== 案1：番号を丸（星）にして線をつなぐ ===== */
.hub-badge{position:absolute;width:46px;height:46px;margin:-23px 0 0 -23px;border-radius:50%;z-index:4;
  display:flex;align-items:center;justify-content:center;font-family:var(--font-en);font-weight:800;font-size:1rem;color:#fff;
  background:radial-gradient(circle at 35% 30%,#2f63c0,var(--blue) 60%,#0a2f6e);border:3px solid var(--gold);
  box-shadow:0 0 0 5px rgba(224,202,130,.25),0 6px 14px rgba(10,47,110,.25);pointer-events:none;transition:transform .3s,box-shadow .3s}
.entry-hub .entry-gate:hover .hub-badge,.entry-hub .entry-gate.is-selected .hub-badge{transform:scale(1.15);box-shadow:0 0 0 7px rgba(224,202,130,.45),0 0 18px rgba(224,202,130,.9)}
.entry-hub .entry-gate{overflow:visible}
.entry-hub.has-selection .entry-gate:not(.is-selected) .hub-badge{filter:none}
@media (max-width:960px){ .hub-badge{display:none} }

.entry-hub{position:relative;display:grid;grid-template-columns:repeat(3,1fr);gap:3.25rem 3rem;margin-top:2.5rem}
.entry-hub .entry-gate{position:relative;z-index:1}
.hub-lines{position:absolute;inset:0;width:100%;height:100%;z-index:0;overflow:visible;pointer-events:none}
.hub-lines line{stroke:var(--gold-dark);stroke-width:2;stroke-dasharray:2 7;stroke-linecap:round;opacity:.55;transition:all .25s}
.hub-lines line.is-on{stroke-dasharray:none;stroke-width:3;opacity:1}
.hub-lines circle{fill:var(--gold-dark)}
.hub-goal{position:relative;z-index:2;align-self:center;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;
  background:var(--blue);color:#fff;border-radius:50%;aspect-ratio:1/1;padding:2.2rem;box-shadow:0 0 0 10px rgba(224,202,130,.25),0 0 0 22px rgba(224,202,130,.12),var(--shadow-lg)}
.hub-goal-en{font-family:var(--font-en);font-weight:800;letter-spacing:.3em;font-size:.8rem;color:var(--gold);margin-bottom:.3rem}
.hub-goal-main{font-size:2rem;font-weight:700;line-height:1.3;margin-bottom:.6rem}
.hub-goal-main span{color:var(--gold)}
.hub-goal-lead{font-size:.98rem;font-weight:700;line-height:1.6;margin-bottom:.7rem}
.hub-goal-desc{font-size:.8rem;line-height:1.75;color:rgba(255,255,255,.88);margin-bottom:.7rem}
.hub-goal-note{font-size:.76rem;line-height:1.7;color:rgba(255,255,255,.9);border-top:1px dashed rgba(224,202,130,.7);padding-top:.6rem}
.hub-goal-note strong{color:var(--gold)}
@media (max-width:960px){
  .entry-hub{grid-template-columns:1fr 1fr;gap:1.25rem}
  .hub-goal{grid-column:1/-1;border-radius:var(--radius-xl);aspect-ratio:auto;padding:2.25rem 1.25rem;box-shadow:var(--shadow-lg)}
  .hub-lines{display:none}
}
@media (max-width:640px){ .entry-hub{grid-template-columns:1fr} }


/* ゴールの文字を読みやすく：ロゴの地模様を薄く＋文字の後ろを少し暗く */
.hub-earth {
  opacity: .07;
  background-size: 300px auto, 300px auto;
}
.hub-goal::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(circle at center, rgba(8,35,90,.55) 0%, rgba(8,35,90,.35) 45%, rgba(8,35,90,0) 72%);
}
.hub-goal-main,
.hub-goal-lead,
.hub-goal-desc,
.hub-goal-note {
  text-shadow: 0 1px 6px rgba(5,20,60,.6);
}
@media (max-width: 960px) {
  .hub-goal::after { border-radius: var(--radius-xl); }
}

/* スマホ・タブレットでもゴールは丸（地球）。説明文と手帳の一文は丸の下に出す */
.hub-goal-after { display: none; }
@media (max-width: 960px) {
  .entry-hub .hub-goal {
    width: min(100%, 340px);
    justify-self: center;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    padding: 1.6rem;
    box-shadow: 0 0 0 8px rgba(224,202,130,.25), 0 0 0 18px rgba(224,202,130,.1), var(--shadow-lg);
  }
  .hub-earth,
  .hub-globe,
  .hub-goal::before,
  .hub-goal::after { border-radius: 50%; }
  .entry-hub .hub-goal .hub-goal-desc,
  .entry-hub .hub-goal .hub-goal-note { display: none; }
  .hub-goal-main { font-size: clamp(1.3rem, 6vw, 1.55rem); }
  .hub-goal-lead { font-size: .9rem; margin-bottom: 0; }
  .hub-goal-after {
    display: block;
    grid-column: 1 / -1;
    max-width: 480px;
    margin: .6rem auto .4rem;
    text-align: center;
  }
  .hub-goal-after .hub-goal-desc {
    font-size: .88rem;
    line-height: 1.85;
    color: var(--gray-700, #374151);
    text-shadow: none;
    margin-bottom: .8rem;
  }
  .hub-goal-after .hub-goal-note {
    font-size: .85rem;
    line-height: 1.8;
    color: var(--blue-dark);
    text-shadow: none;
    border: 1px dashed var(--gold-dark);
    border-radius: var(--radius-md);
    padding: .7rem 1rem;
  }
  .hub-goal-after .hub-goal-note strong { color: var(--gold-dark); }
}

/* ============================================================
   ENTRY HUB スマホ・タブレット — PCと同じ3×3。中央に小さい地球（2026-09-18）
   入口カードは「番号＋見出し」だけにして、押すと下の枠に中身を出す
   ============================================================ */
.hub-detail { display: none; }

@media (max-width: 960px) {
  .entry-hub {
    grid-template-columns: 1fr 1.35fr 1fr;
    gap: 2.1rem .5rem;
  }

  /* 線と番号の丸をPCと同じように出す（小さめ） */
  .hub-lines { display: block; }
  .hub-lines line.base { stroke-width: 1.2; }
  .hub-lines line.flow { stroke-width: 2; stroke-dasharray: 2 7; }
  .hub-lines line.flow.is-picked { stroke-width: 3; }
  .hub-lines line.base.is-picked { stroke-width: 2; }
  .hub-badge {
    display: flex;
    width: 20px; height: 20px; margin: -10px 0 0 -10px;
    font-size: .56rem; border-width: 2px;
    box-shadow: 0 0 0 2px rgba(224,202,130,.25), 0 3px 8px rgba(10,47,110,.25);
  }
  .entry-hub .entry-gate:hover .hub-badge,
  .entry-hub .entry-gate.is-selected .hub-badge {
    box-shadow: 0 0 0 4px rgba(224,202,130,.45), 0 0 10px rgba(224,202,130,.9);
  }

  /* 真ん中の地球 */
  .entry-hub .hub-goal {
    grid-column: auto;
    width: 84%;
    max-width: none;
    justify-self: center;
    align-self: center;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    padding: .5rem .4rem;
    box-shadow: 0 0 0 4px rgba(224,202,130,.25), 0 0 0 9px rgba(224,202,130,.1), 0 10px 22px rgba(10,47,110,.28);
  }
  .hub-earth { background-size: 95px auto, 95px auto; background-position: 0 0, 48px 30px; }
  .hub-goal-en { font-size: .5rem; letter-spacing: .16em; margin-bottom: .15rem; }
  .hub-goal-from { font-size: .54rem; letter-spacing: .02em; margin: 0 0 .15rem; }
  .hub-goal-main {
    font-size: clamp(.6rem, 2.7vw, .92rem);
    line-height: 1.45;
    margin-bottom: 0;
    white-space: normal;
  }
  .hub-goal-main .sp-br { display: inline; }
  .entry-hub .hub-goal .hub-goal-lead,
  .entry-hub .hub-goal .hub-goal-desc,
  .entry-hub .hub-goal .hub-goal-note { display: none; }

  /* 入口カードは見出しだけ */
  .entry-hub .entry-gate {
    padding: .65rem .45rem .6rem;
    border-top-width: 3px;
    border-radius: var(--radius-md);
    justify-content: center;
  }
  .entry-hub .entry-gate .gate-head {
    padding-bottom: 0;
    margin-bottom: 0;
    border-bottom: 0;
  }
  .entry-hub .entry-gate .gate-num { font-size: .55rem; letter-spacing: .06em; margin-bottom: .1rem; }
  .entry-hub .entry-gate .gate-num em { font-size: .9rem; margin-left: .1rem; }
  .entry-hub .entry-gate .gate-title { font-size: .72rem; line-height: 1.45; }
  .entry-hub .entry-gate .gate-list,
  .entry-hub .entry-gate .gate-seminars,
  .entry-hub .entry-gate .gate-foot { display: none; }
  .entry-hub .entry-gate:hover { transform: none; }

  /* 地球の下：ふだんは説明文、入口を押すとその入口の中身 */
  .hub-goal-after {
    order: 1;
    margin: .2rem auto;
  }
  .entry-hub.has-selection .hub-goal-after { display: none; }
  .hub-detail {
    display: none;
    grid-column: 1 / -1;
    order: 2;
    margin: .2rem 0;
    padding: 1.1rem 1.1rem 1rem;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-top: 4px solid var(--gold-dark);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
  }
  .entry-hub.has-selection .hub-detail { display: block; animation: hubPop .35s ease; }
  .hub-detail .hub-detail-head {
    display: flex;
    align-items: baseline;
    gap: .5rem;
    padding-bottom: .7rem;
    margin-bottom: .9rem;
    border-bottom: 1px dashed var(--gray-200);
  }
  .hub-detail .gate-num { font-size: .72rem; margin: 0; }
  .hub-detail .gate-num em { font-size: 1.2rem; }
  .hub-detail .gate-title { font-size: 1rem; line-height: 1.5; }
  .hub-detail .gate-list li { font-size: .88rem; line-height: 1.65; margin-bottom: .6rem; }
  .hub-detail .gate-foot { margin-top: .9rem; }
}

/* タブレット幅は文字と番号の丸を少し大きく。地球が大きくなりすぎないよう頭打ちにする */
@media (min-width: 641px) and (max-width: 960px) {
  .entry-hub {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2.6rem 1rem;
  }
  .entry-hub .hub-goal { width: min(84%, 220px); padding: 1rem; }
  .hub-earth { background-size: 150px auto, 150px auto; background-position: 0 0, 75px 45px; }
  .hub-goal-en { font-size: .68rem; letter-spacing: .24em; margin-bottom: .3rem; }
  .hub-goal-from { font-size: .72rem; margin: 0 0 .25rem; }
  .hub-goal-main { font-size: 1.05rem; line-height: 1.5; }
  .entry-hub .entry-gate { padding: 1rem .9rem; }
  .entry-hub .entry-gate .gate-num { font-size: .72rem; }
  .entry-hub .entry-gate .gate-num em { font-size: 1.15rem; }
  .entry-hub .entry-gate .gate-title { font-size: .95rem; line-height: 1.6; }
  .hub-badge {
    width: 32px; height: 32px; margin: -16px 0 0 -16px;
    font-size: .8rem; border-width: 3px;
    box-shadow: 0 0 0 4px rgba(224,202,130,.25), 0 4px 10px rgba(10,47,110,.25);
  }
  .hub-lines line.base { stroke-width: 1.6; }
  .hub-lines line.flow { stroke-width: 2.6; }
}

@media (max-width: 380px) {
  .entry-hub { gap: 1.8rem .35rem; }
  .entry-hub .hub-goal { width: 78%; }
  .entry-hub .entry-gate { padding: .55rem .35rem .5rem; }
  .entry-hub .entry-gate .gate-title { font-size: .66rem; }
  .hub-badge { width: 18px; height: 18px; margin: -9px 0 0 -9px; font-size: .5rem; }
}

@media (prefers-reduced-motion: reduce) {
  .entry-hub.has-selection .hub-detail { animation: none; }
}

/* ============================================================
   HERO — 中央のフック（ロゴ画像→文言、2026-09-17）
   ============================================================ */
.hero-top-inner { max-width: 820px; }
.hero-hook {
  grid-column: 1 / -1;
  grid-row: 2;
  text-align: center;
  padding: 1.2rem 0 1.4rem;
}
.hero-hook-main {
  font-size: clamp(1.75rem, 4.4vw, 3rem);
  font-weight: 700;
  line-height: 1.45;
  color: #fff;
  letter-spacing: .03em;
  text-shadow: 0 3px 18px rgba(0,0,0,.45);
}
.hero-hook-main small {
  display: block;
  font-size: .5em;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: .06em;
  margin-top: .5rem;
  text-shadow: 0 2px 10px rgba(0,0,0,.5);
}
.hero-hook-sub {
  display: inline-block;
  margin-top: 1.1rem;
  padding: .55rem 1.1rem;
  border-radius: 999px;
  background: rgba(10,30,70,.55);
  border: 1px solid rgba(224,202,130,.7);
  color: #fff;
  font-size: clamp(.85rem, 1.6vw, 1.02rem);
  font-weight: 700;
  line-height: 1.6;
}
.hero-btn-tel {
  background: rgba(255,255,255,.12);
  color: #fff;
  border: 2px solid rgba(255,255,255,.85);
}
.hero-btn-tel:hover { background: #fff; color: var(--blue); }
@media (max-width: 600px) {
  .hero-hook { grid-column: 1; grid-row: 3; padding: .6rem 0 .9rem; }
  .hero-hook-sub { border-radius: 14px; }
}

/* 保護者カードも白に（教育機関カードとそろえる、2026-09-17） */
.fam-icon-wrap--blue {
  box-shadow: 0 4px 20px rgba(0, 72, 157, 0.2);
}

/* ロゴの右上：Googleマップのピン風「那覇・泉崎」（2026-09-17） */
.logo-area {
  display: flex;
  align-items: flex-start;
  flex-shrink: 0;
}
.logo-pin {
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  margin: 14px 0 0 -4px;
  padding: .2rem .6rem .2rem .35rem;
  border-radius: 999px;
  background: #fff;
  color: #1f2937;
  font-size: .72rem;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(0,0,0,.25);
  transition: transform .2s, box-shadow .2s;
}
.logo-pin:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,.3);
}
.logo-pin-icon {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
}
@media (max-width: 600px) {
  .logo-pin { margin-top: 10px; font-size: .66rem; padding: .18rem .5rem .18rem .3rem; }
  .logo-pin-icon { width: 14px; height: 14px; }
}

/* ヒーローの文言を横1行＋サブ（2026-09-17） */
.hero-top-inner { max-width: 1040px; }
.hero-hook-main { font-size: clamp(1.5rem, 3.6vw, 2.8rem); }
.hero-hook-main .nowrap { display: inline-block; white-space: nowrap; }
.hero-hook-lead {
  margin-top: .6rem;
  font-size: clamp(1rem, 1.9vw, 1.35rem);
  font-weight: 700;
  color: var(--gold);
  letter-spacing: .06em;
  text-shadow: 0 2px 10px rgba(0,0,0,.5);
}

/* 「那覇・泉崎」ピンはヘッダーの右上へ。ピンがはねて、足元に波紋（2026-09-17） */
.logo-pin { display: none; }
.header-pin {
  position: absolute;
  top: 50%;
  right: clamp(12px, 2vw, 28px);
  transform: translateY(-50%);
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .35rem .8rem .35rem .45rem;
  border-radius: 999px;
  background: #fff;
  color: #1f2937;
  font-size: .8rem;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  text-decoration: none;
  box-shadow: 0 2px 10px rgba(0,0,0,.28);
}
.header-pin:hover { box-shadow: 0 4px 14px rgba(0,0,0,.35); }
.header-pin-icon {
  position: relative;
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  overflow: visible;
  transform-origin: 50% 100%;
  animation: pinBounce 2.4s ease-in-out infinite;
}
.header-pin::before {
  content: "";
  position: absolute;
  left: calc(.45rem + 10px);
  top: calc(50% + 9px);
  width: 8px;
  height: 4px;
  margin: -2px 0 0 -4px;
  border-radius: 50%;
  background: rgba(234,67,53,.55);
  animation: pinRipple 2.4s ease-out infinite;
  pointer-events: none;
}
@keyframes pinBounce {
  0%, 55%, 100% { transform: translateY(0); }
  15% { transform: translateY(-6px); }
  30% { transform: translateY(0); }
  40% { transform: translateY(-2px); }
}
@keyframes pinRipple {
  0%, 25% { transform: scale(1); opacity: 0; }
  32% { opacity: .9; }
  70% { transform: scale(4.5); opacity: 0; }
  100% { transform: scale(4.5); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .header-pin-icon, .header-pin::before { animation: none; }
}
/* メニューがハンバーガーになる幅：ハンバーガーの左に置く */
@media (max-width: 1300px) {
  .header-pin { right: calc(clamp(1rem, 4vw, 2rem) + 52px); }
}
@media (max-width: 600px) {
  .header-pin { font-size: .7rem; padding: .28rem .6rem .28rem .35rem; }
  .header-pin-icon { width: 16px; height: 16px; }
  .header-pin::before { left: calc(.35rem + 8px); top: calc(50% + 7px); }
}

/* ヒーロー：キャッチから下の入口へ誘導（2026-09-17） */
.hero-hook-brand {
  position: relative;
  color: var(--gold);
}
.hero-hook-brand::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: .02em;
  height: .09em;
  border-radius: 999px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left center;
  animation: brandLine 1s .9s ease-out forwards;
}
@keyframes brandLine { to { transform: scaleX(1); } }
.hero-hook-lead { color: #fff; }

.hero-scroll-cue {
  grid-column: 1 / -1;
  grid-row: 4;
  justify-self: center;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: .15rem;
  margin-top: 1.1rem;
  color: #fff;
  text-decoration: none;
  font-size: .92rem;
  font-weight: 700;
  letter-spacing: .06em;
}
.hero-scroll-text {
  padding-bottom: .15rem;
  border-bottom: 1px solid rgba(224,202,130,.8);
  text-shadow: 0 2px 8px rgba(0,0,0,.45);
}
.hero-scroll-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  color: var(--gold);
  animation: cueBounce 1.8s ease-in-out infinite;
}
.hero-scroll-cue:hover .hero-scroll-arrow { background: var(--gold); color: var(--blue-dark); }
@keyframes cueBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(7px); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-scroll-arrow { animation: none; }
  .hero-hook-brand::after { animation: none; transform: scaleX(1); }
}
@media (max-width: 600px) {
  .hero-scroll-cue { grid-column: 1; grid-row: 5; font-size: .84rem; margin-top: .8rem; }
  .hero-scroll-arrow { width: 32px; height: 32px; }
}

/* 「zerostep」の下線はなし（2026-09-17） */
.hero-hook-brand::after { display: none; }

/* 公式SNS：Instagramの最近の投稿（画像だけ、2026-09-17） */
.ig-feed { width: 100%; max-width: 1040px; margin: 3rem auto 0; }
.ig-feed-title { text-align: center; font-size: 1.3rem; color: var(--blue-dark); margin-bottom: 1.5rem; }
.ig-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.ig-item { display: block; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 12px; box-shadow: 0 2px 10px rgba(0,0,0,.08); background: #e5e7eb; }
.ig-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.ig-item:hover img { transform: scale(1.05); }
.ig-more { text-align: center; margin-top: 1.5rem; font-weight: 700; }
.ig-more a { color: var(--blue); }
@media (max-width: 900px) { .ig-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .ig-grid { grid-template-columns: 1fr 1fr; gap: .75rem; } }

/* ---------- 問い合わせフォーム：電話かメールのどちらか ---------- */
.form-either {
  font-size: 0.82rem;
  line-height: 1.7;
  color: var(--text-light);
  background: var(--blue-light);
  border-radius: var(--radius-md);
  padding: 0.6rem 0.85rem;
  margin-bottom: 0.9rem;
}
.form-either strong { color: var(--blue); }

/* ---------- スマホ下部の固定ボタン（見学・相談／電話） ---------- */
.cv-bar { display: none; }
@media (max-width: 768px) {
  .cv-bar {
    display: flex;
    gap: 0.5rem;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 950;
    padding: 0.55rem 0.75rem calc(0.55rem + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 -2px 12px rgba(17, 24, 39, 0.10);
    transition: transform 0.3s ease;
  }
  .cv-bar.is-hidden { transform: translateY(110%); }
  .cv-bar-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.92rem;
    text-decoration: none;
  }
  .cv-bar-btn--main { flex: 1.4; background: var(--blue); color: var(--white); }
  .cv-bar-btn--tel { background: var(--white); color: var(--blue); border: 2px solid var(--blue); }
  body { padding-bottom: calc(66px + env(safe-area-inset-bottom)); }
  .back-to-top { bottom: calc(80px + env(safe-area-inset-bottom)); }
}

/* ヒーローの金が写真の上でくすむので、ヒーロー内だけ明るい金にする（2026-10-07） */
.hero-top { --hero-gold: #F7D774; }
.hero-hook-brand { color: var(--hero-gold); text-shadow: 0 2px 14px rgba(0,0,0,.55); }
.hero-hook-brand::after { background: var(--hero-gold); }
.hero-buttons .btn-gold { background: var(--hero-gold); color: var(--blue-dark); box-shadow: 0 4px 14px rgba(0,0,0,.25); }
.hero-buttons .btn-gold:hover { background: #fff; }

/* ---------- 料金・受給者証ページ（2026-10-07） ---------- */
.fee-table-wrap { max-width: 820px; margin: 0 auto; overflow-x: auto; }
.fee-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  font-size: 0.95rem;
}
.fee-table thead th {
  background: var(--blue);
  color: var(--white);
  font-weight: 700;
  padding: 0.85rem 1rem;
  text-align: left;
}
.fee-table tbody th,
.fee-table tbody td {
  padding: 1rem;
  border-top: 1px solid var(--gray-200);
  line-height: 1.7;
  vertical-align: middle;
}
.fee-table tbody th { white-space: nowrap; color: var(--blue); font-weight: 700; }
.fee-amount { white-space: nowrap; font-weight: 700; font-size: 1.15rem; color: var(--text); text-align: right; }
.fee-amount--zero { color: var(--blue); }
.fee-table thead th:last-child { text-align: right; }
.fee-notes { max-width: 820px; margin: 1.5rem auto 0; font-size: 0.9rem; line-height: 1.9; color: var(--text-light); }
.fee-key {
  background: var(--gold-light);
  border-left: 4px solid var(--gold-dark);
  border-radius: var(--radius-md);
  padding: 0.9rem 1.1rem;
  color: var(--text);
  margin-bottom: 0.8rem;
}
.fee-notes ul { padding-left: 1.2em; list-style: disc; }
.fee-source { max-width: 780px; margin: 1.75rem auto 0; font-size: 0.85rem; line-height: 1.9; color: var(--text-light); }
@media (max-width: 600px) {
  .fee-table { font-size: 0.85rem; }
  .fee-table thead th, .fee-table tbody th, .fee-table tbody td { padding: 0.75rem 0.6rem; }
  .fee-amount { font-size: 1rem; }
}
