/* ==========================================================================
   Design tokens
   ========================================================================== */

@property --angle {
  syntax: '<angle>';
  inherits: false;
  initial-value: 0deg;
}

:root {
  --bg-1: #ffffff;
  --bg-2: #eefbfc;
  --bg-3: #f3f1fb;

  --card-bg-solid: #ffffff;
  --card-border: rgba(31, 42, 68, 0.10);
  --line: rgba(31, 42, 68, 0.09);
  --line-soft: rgba(31, 42, 68, 0.05);

  --nav-bg: rgba(255, 255, 255, 0.62);

  --text-main: #1f2a44;
  --text-sub: #57607a;
  --text-faint: #8891a6;

  --cyan: #34cddb;
  --cyan-text: #0e8a97;
  --violet: #a78bfa;
  --gold: #d4af6a;

  --shadow: rgba(110, 150, 200, 0.22);

  --nav-height: 72px;

  --max-site: 1280px;
  --max-content: 1160px;
  --max-narrow: 800px;

  --radius-lg: 20px;
  --radius-md: 16px;
  --radius-sm: 12px;

  /* 見出し専用フォント */
  --font-jp-heading: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Helvetica Neue", Arial, sans-serif;
  /* 日本語本文の基本フォント(全サイト共通・長文でも読み疲れにくいものを優先) */
  --font-jp-body: "IBM Plex Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Helvetica Neue", Arial, sans-serif;
  /* 英語ラベル・eyebrow・ボタン用 */
  --font-en: "Manrope", "IBM Plex Sans JP", "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  position: relative;
  min-height: 100vh;
  overflow-x: hidden;
  background: linear-gradient(160deg, var(--bg-1) 0%, var(--bg-2) 35%, var(--bg-3) 70%, var(--bg-1) 100%);
  color: var(--text-main);
  font-family: var(--font-jp-body);
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.8;
}

/* 見出しは本文と別系統のフォントを使い、階層差を明確にする(h1〜h6共通) */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-jp-heading);
}

img {
  max-width: 100%;
  display: block;
}

/* ==========================================================================
   Background decoration (grid / orbs / particles) — injected by main.js
   ========================================================================== */

.bg-grid {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(31, 42, 68, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(31, 42, 68, 0.035) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(ellipse at center, black 0%, transparent 72%);
  mask-image: radial-gradient(ellipse at center, black 0%, transparent 72%);
  z-index: 0;
  pointer-events: none;
}

.bg-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.5;
  z-index: 0;
  pointer-events: none;
}

.bg-orb.one {
  width: 440px;
  height: 440px;
  background: radial-gradient(circle, rgba(52, 205, 219, 0.5), transparent 70%);
  top: -140px;
  left: -120px;
  animation: floatA 20s ease-in-out infinite;
}

.bg-orb.two {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(167, 139, 250, 0.42), transparent 70%);
  top: 60vh;
  right: -140px;
  animation: floatB 22s ease-in-out infinite;
}

.bg-orb.three {
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(212, 175, 106, 0.38), transparent 70%);
  top: 120vh;
  left: 6%;
  opacity: 0.4;
  animation: floatA 24s ease-in-out infinite reverse;
}

.bg-orb.four {
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(52, 205, 219, 0.35), transparent 70%);
  top: 190vh;
  right: 4%;
  opacity: 0.35;
  animation: floatB 26s ease-in-out infinite;
}

@keyframes floatA {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(30px, 40px); }
}

@keyframes floatB {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-40px, -25px); }
}

.particles {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.particle {
  position: absolute;
  bottom: -10px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  opacity: 0;
  animation: particleRise linear infinite;
}

@keyframes particleRise {
  0% { transform: translateY(0) scale(1); opacity: 0; }
  10% { opacity: 0.7; }
  90% { opacity: 0.3; }
  100% { transform: translateY(-60vh) scale(0.6); opacity: 0; }
}

/* ==========================================================================
   Layout containers
   ========================================================================== */

main {
  position: relative;
  z-index: 1;
}

.container {
  max-width: var(--max-content);
  margin: 0 auto;
  padding: 0 24px;
}

.container-wide {
  max-width: var(--max-site);
  margin: 0 auto;
  padding: 0 24px;
}

.container-narrow {
  max-width: var(--max-narrow);
  margin: 0 auto;
  padding: 0 24px;
}

@media (max-width: 640px) {
  .container-narrow {
    padding: 0 12px; /* .sectionの左右16pxと合わせて計40pxだった余白を28pxに縮小し、本文の表示幅を広げる */
  }
}

.section {
  position: relative;
  padding: 96px 16px;
  scroll-margin-top: var(--nav-height);
}

.section + .section {
  border-top: 1px solid var(--line-soft);
}

.section-hero {
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - var(--nav-height));
  display: flex;
  align-items: center;
  padding: calc(var(--nav-height) + 56px) 16px 80px;
}

/* ==========================================================================
   Nature background (forest & river photo) — hero section
   ========================================================================== */

.nature-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.nature-photo {
  position: absolute;
  inset: 0;
  background-image: url("/__assets__/1093340138e6452d4b80d2bf.jpg");
  background-size: cover;
  background-position: 65% center;
}

.nature-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--bg-1) 0%, var(--bg-1) 30%, rgba(255, 255, 255, 0.45) 44%, rgba(255, 255, 255, 0.05) 62%, rgba(255, 255, 255, 0) 100%);
}

@media (max-width: 900px) {
  .nature-photo::before {
    background: linear-gradient(180deg, var(--bg-1) 0%, var(--bg-1) 30%, rgba(255, 255, 255, 0.5) 46%, rgba(255, 255, 255, 0.05) 68%);
  }
}

.nature-tint {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(52, 205, 219, 0.07), rgba(167, 139, 250, 0.04) 60%, rgba(212, 175, 106, 0.03));
  mix-blend-mode: soft-light;
}

.firefly {
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: radial-gradient(circle, #ffffff, #34cddb 70%, transparent 100%);
  box-shadow: 0 0 8px 2px rgba(52, 205, 219, 0.5);
  animation: fireflyDrift 5s ease-in-out infinite;
}

.firefly-gold {
  background: radial-gradient(circle, #fff6e6, #d4af6a 70%, transparent 100%);
  box-shadow: 0 0 8px 2px rgba(212, 175, 106, 0.5);
  animation-duration: 6.5s;
}

@keyframes fireflyDrift {
  0%, 100% { opacity: 0.2; transform: translateY(0); }
  50% { opacity: 0.9; transform: translateY(-10px); }
}

/* ==========================================================================
   Nature section band (forest aerial photo) — used on full sections
   ========================================================================== */

.nature-section {
  overflow: hidden;
}

.nature-section-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(180deg, rgba(255, 255, 255, 0.62), rgba(255, 255, 255, 0.32) 50%, rgba(255, 255, 255, 0.66)),
    url("/__assets__/795fb3c2ac9aad1ff307ff37.jpg");
  background-size: cover;
  background-position: center 40%;
}

.nature-section > .container,
.nature-section > .container-wide,
.nature-section > .container-narrow {
  position: relative;
  z-index: 1;
}

/* 写真背景の上に乗る見出し・リード文の可読性対策(背景ボックスなし、濃い文字色+白い光暈) */
.nature-section .section-head .eyebrow,
.nature-section .section-head .section-title,
.nature-section .section-head .section-lede {
  text-shadow: 0 0 14px rgba(255, 255, 255, 0.9), 0 0 3px rgba(255, 255, 255, 0.95);
}

.nature-section .section-head .section-lede {
  color: var(--text-main);
}

/* Profileセクションなど、section-headを介さずabout-body直下にテキストが並ぶ構成向け */
.nature-section .about-body .eyebrow,
.nature-section .about-body .section-title,
.nature-section .about-body p {
  text-shadow: 0 0 14px rgba(255, 255, 255, 0.9), 0 0 3px rgba(255, 255, 255, 0.95);
}

.nature-section .about-body p:not(.eyebrow) {
  color: var(--text-main);
}

/* .about-body p の既存指定より詳細度を上げ、eyebrowの本来のアクセントカラーを保つ */
.nature-section .about-body .eyebrow {
  color: var(--cyan-text);
}

/* ==========================================================================
   Nature panel (forest / river photo behind a single card)
   ========================================================================== */

.nature-panel {
  position: relative;
  overflow: hidden;
}

.nature-panel > *:not(.nature-panel-bg) {
  position: relative;
  z-index: 1;
}

.nature-panel-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(180deg, rgba(255, 255, 255, 0.68), rgba(255, 255, 255, 0.4) 50%, rgba(255, 255, 255, 0.72)),
    url("/__assets__/795fb3c2ac9aad1ff307ff37.jpg");
  background-size: cover;
  background-position: center 40%;
}

.nature-panel-bg.nature-bg-river,
.nature-section-bg.nature-bg-river {
  background-image:
    linear-gradient(180deg, rgba(255, 255, 255, 0.68), rgba(255, 255, 255, 0.4) 50%, rgba(255, 255, 255, 0.72)),
    url("/__assets__/1093340138e6452d4b80d2bf.jpg");
  background-position: center 70%;
}

/* 写真背景の上に乗るパネル内テキストの可読性対策(背景ボックスなし、濃い文字色+白い光暈) */
.nature-panel .eyebrow,
.nature-panel .section-title,
.nature-panel .section-lede,
.nature-panel > p:not(.eyebrow) {
  text-shadow: 0 0 14px rgba(255, 255, 255, 0.9), 0 0 3px rgba(255, 255, 255, 0.95);
}

.nature-panel .section-lede,
.nature-panel > p:not(.eyebrow) {
  color: var(--text-main);
}

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-en);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--cyan-text);
  text-transform: uppercase;
  margin: 0 0 14px;
}

.eyebrow .status-dot {
  width: 6px;
  height: 6px;
  min-width: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 8px 2px rgba(52, 205, 219, 0.45);
  animation: pulse 2.4s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.75); }
}

.section-title {
  font-family: var(--font-jp-heading);
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.5;
  color: var(--text-main);
  margin: 0 0 14px;
}

.section-lede {
  font-size: 0.98rem;
  color: var(--text-sub);
  margin: 0;
}

.divider {
  position: relative;
  width: 64px;
  height: 2px;
  margin: 20px auto 0;
  background: rgba(31, 42, 68, 0.1);
  border-radius: 2px;
  overflow: hidden;
}

.section-head .divider {
  margin: 20px auto 0;
}

.divider::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  animation: scan 3.2s ease-in-out infinite;
}

@keyframes scan {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* ==========================================================================
   Grid utilities
   ========================================================================== */

.grid {
  display: grid;
  gap: 24px;
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

@media (max-width: 980px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Navbar
   ========================================================================== */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: 50;
  background: var(--nav-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line-soft);
  transition: border-color 0.3s ease;
}

.navbar.scrolled {
  border-bottom-color: var(--line);
}

.nav-inner {
  max-width: var(--max-site);
  height: 100%;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.03em;
  text-decoration: none;
  background: linear-gradient(100deg, var(--text-main), var(--cyan), var(--violet), var(--text-main));
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 8s linear infinite;
  white-space: nowrap;
}

@keyframes shimmer {
  to { background-position: -220% center; }
}

#navLinks {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
}

.nav-link {
  position: relative;
  display: inline-block;
  padding: 8px 14px;
  color: var(--text-sub);
  text-decoration: none;
  font-size: 0.88rem;
  letter-spacing: 0.02em;
  border-radius: 999px;
  white-space: nowrap;
  transition: color 0.25s ease, background 0.25s ease;
}

.nav-link:hover,
.nav-link:focus-visible {
  color: var(--text-main);
  background: var(--line-soft);
}

.nav-link.active {
  color: var(--cyan-text);
  background: rgba(52, 205, 219, 0.12);
}

.nav-toggle {
  display: none;
  width: 34px;
  height: 34px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-main);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 1280px) {
  .nav-toggle { display: flex; }

  #navLinks {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--card-bg-solid);
    border-bottom: 1px solid var(--line-soft);
    max-height: 0;
    overflow: hidden;
    visibility: hidden;
    transition: max-height 0.35s ease;
  }

  #navLinks.open {
    max-height: calc(100vh - var(--nav-height));
    max-height: calc(100dvh - var(--nav-height));
    overflow-y: auto;
    visibility: visible;
  }

  .nav-link {
    display: block;
    border-radius: 0;
    padding: 16px 24px;
    text-align: center;
  }

  .nav-logo {
    min-width: 0;
    white-space: normal;
    font-size: clamp(0.8rem, 3.5vw, 1.05rem);
  }

  .nav-toggle { flex-shrink: 0; }
}

/* ==========================================================================
   Reveal-on-scroll (used for below-the-fold content)
   ========================================================================== */

.reveal {
  transition: opacity 0.7s ease, transform 0.7s ease;
}

/* JS実行時のみ初期状態を非表示にする(progressive enhancement)。
   JSが無効・読み込み失敗の場合は .js クラスが付与されず、
   .reveal要素は通常表示のまま(opacity/transformの指定なし)になる。 */
.js .reveal {
  opacity: 0;
  transform: translateY(24px);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }
.reveal-d4 { transition-delay: 0.32s; }
.reveal-d5 { transition-delay: 0.4s; }
.reveal-d6 { transition-delay: 0.48s; }

@keyframes slideInUp {
  to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   Card (flat surface + hairline border — no blur, no heavy shadow)
   ========================================================================== */

.glass-card {
  position: relative;
  background: var(--card-bg-solid);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
}

.glow-border::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: conic-gradient(from var(--angle), var(--cyan) 0%, var(--cyan) 60%, var(--violet) 60%, var(--violet) 90%, var(--gold) 90%, var(--gold) 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.35;
  z-index: -1;
  animation: spin 11s linear infinite;
}

@keyframes spin {
  to { --angle: 360deg; }
}

.card-hover {
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.card-hover:hover {
  transform: translateY(-3px);
  border-color: var(--cyan);
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-family: var(--font-en);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.btn-primary {
  background: var(--cyan);
  color: #ffffff;
}

.btn-primary:hover,
.btn-primary:focus-visible {
  transform: translateY(-2px);
  background: var(--cyan-text);
}

.btn-secondary {
  background: var(--card-bg-solid);
  color: var(--cyan-text);
  border-color: var(--cyan);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  background: rgba(52, 205, 219, 0.12);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 9px 18px;
  font-size: 0.82rem;
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.25fr 0.85fr;
  gap: 56px;
  align-items: center;
  max-width: var(--max-site);
  margin: 0 auto;
  padding: 0 24px;
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
  .hero-grid .btn-row { justify-content: center; }
}

.hero-name {
  font-family: var(--font-jp-heading);
  font-size: clamp(2rem, 4vw, 2.9rem);
  font-weight: 600;
  margin: 6px 0 16px;
  letter-spacing: 0.05em;
  background: linear-gradient(100deg, var(--text-main) 0%, var(--cyan) 35%, var(--violet) 60%, var(--text-main) 90%);
  background-size: 220% auto;
  background-position: 0% center;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 7s linear infinite;
}

.hero-title {
  font-size: 1.05rem;
  color: var(--cyan-text);
  font-weight: 500;
  margin: 0 0 22px;
  letter-spacing: 0.01em;
}

.hero-copy {
  font-size: 1.05rem;
  color: var(--text-main);
  max-width: 480px;
  margin: 0 0 32px;
}

/* 写真の上に乗るヒーロー文字の可読性対策。背景ボックスは敷かず、
   文字色を濃くし、白い光暈(text-shadow)で縁取ることでコントラストを確保する。 */
.hero-grid .eyebrow,
.hero-grid .hero-role,
.hero-grid .hero-title,
.hero-grid .hero-value,
.hero-grid .hero-copy {
  text-shadow: 0 0 14px rgba(255, 255, 255, 0.9), 0 0 3px rgba(255, 255, 255, 0.95);
}

@media (max-width: 900px) {
  .hero-copy { margin-left: auto; margin-right: auto; }
}

.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.avatar-ring {
  position: relative;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: conic-gradient(from 0deg, var(--cyan) 0%, var(--cyan) 60%, var(--violet) 60%, var(--violet) 90%, var(--gold) 90%, var(--gold) 100%);
  box-shadow: 0 0 50px rgba(52, 205, 219, 0.28);
  animation: spin 16s linear infinite;
}

@media (max-width: 480px) {
  .avatar-ring { width: 180px; height: 180px; }
}

.avatar {
  width: 88%;
  height: 88%;
  border-radius: 50%;
  background: linear-gradient(145deg, #ffffff, #eaf7f9);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(48px, 9vw, 72px);
  font-weight: 700;
  color: var(--cyan-text);
  text-shadow: 0 0 16px rgba(52, 205, 219, 0.25);
}

/* ==========================================================================
   About
   ========================================================================== */

.about-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 48px;
  align-items: center;
}

@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; text-align: center; }
}

.about-photo {
  width: 220px;
  height: 220px;
  margin: 0 auto;
  border-radius: 50%;
  background: linear-gradient(145deg, #ffffff, #eaf3fb);
  border: 1px solid var(--card-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  font-weight: 700;
  color: var(--cyan-text);
}

.about-body p {
  color: var(--text-sub);
  margin: 0 0 20px;
}

.about-body p:last-of-type {
  margin-bottom: 28px;
}

/* ==========================================================================
   Pillar / concept cards
   ========================================================================== */

.pillar-card {
  padding: 34px 28px;
  text-align: center;
}

.pillar-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: conic-gradient(from 0deg, var(--cyan) 0%, var(--cyan) 60%, var(--violet) 60%, var(--violet) 90%, var(--gold) 90%, var(--gold) 100%);
  color: #ffffff;
  font-weight: 700;
  font-size: 1.1rem;
}

.pillar-card h3 {
  font-size: 1.08rem;
  color: var(--text-main);
  margin: 0 0 10px;
}

.pillar-card p {
  font-size: 0.92rem;
  color: var(--text-sub);
  margin: 0;
}

/* ==========================================================================
   Session cards
   ========================================================================== */

.session-card {
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 24px 22px;
}

.session-card h3 {
  font-size: 1.08rem;
  color: var(--text-main);
  margin: 0;
}

.session-tag {
  display: inline-flex;
  align-self: flex-start;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(52, 205, 219, 0.1);
  color: var(--cyan-text);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.session-desc {
  font-size: 0.9rem;
  color: var(--text-sub);
  flex: 1;
  margin: 0;
}

.session-meta {
  font-size: 0.78rem;
  color: var(--text-faint);
  margin: 0;
}

.session-price {
  font-size: 0.92rem;
  color: var(--cyan-text);
  font-weight: 700;
  margin: 0;
}

.session-card .btn {
  align-self: flex-start;
  margin-top: 4px;
}

/* ==========================================================================
   Blog / post cards
   ========================================================================== */

.post-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 0;
}

.post-thumb {
  aspect-ratio: 16 / 9;
  background-image:
    linear-gradient(135deg, rgba(52, 205, 219, 0.12), rgba(31, 42, 68, 0.18)),
    url("/__assets__/2c0f41d095941287c77d4fe0.jpg");
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  overflow: hidden;
}

.post-body {
  padding: 24px 24px 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.post-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.76rem;
  color: var(--text-faint);
}

.tag {
  display: inline-block;
  padding: 3px 11px;
  border-radius: 999px;
  background: rgba(52, 205, 219, 0.1);
  color: var(--cyan-text);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.post-body h3 {
  font-size: 1.02rem;
  color: var(--text-main);
  margin: 0;
  line-height: 1.5;
}

.post-excerpt {
  font-size: 0.88rem;
  color: var(--text-sub);
  margin: 0;
  flex: 1;
}

.post-link {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--cyan-text);
  text-decoration: none;
}

.post-link:hover {
  text-decoration: underline;
}

/* ==========================================================================
   Prose (blog article typography)
   ========================================================================== */

.prose {
  color: var(--text-main);
  font-family: var(--font-jp-body);
  font-weight: 400;
  font-size: 1.0625rem; /* 約17px。長文ブログでの可読性を優先 */
  line-height: 1.92;
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 640px) {
  .prose {
    font-size: 0.95rem; /* 約15px。スマホでは本文が大きすぎるとの指摘を受けて縮小 */
  }
}

.prose > *:first-child { margin-top: 0; }

.prose h2 {
  position: relative;
  font-size: 1.4rem;
  font-weight: 700;
  margin: 2.2em 0 0.9em;
  padding-bottom: 0.5em;
  color: var(--text-main);
  scroll-margin-top: calc(var(--nav-height) + 16px);
}

.prose h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 44px;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--violet));
}

.prose h3 {
  font-size: 1.14rem;
  font-weight: 700;
  margin: 1.8em 0 0.6em;
  color: var(--cyan-text);
  scroll-margin-top: calc(var(--nav-height) + 16px);
}

.prose p {
  margin: 0 0 1.6em;
  color: var(--text-sub);
}

.prose a {
  color: var(--cyan-text);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.prose ul,
.prose ol {
  margin: 0 0 1.4em;
  padding-left: 1.3em;
  color: var(--text-sub);
}

.prose li {
  margin-bottom: 0.5em;
}

.prose blockquote {
  margin: 2em 0;
  padding: 20px 24px;
  border-left: 3px solid var(--cyan);
  background: rgba(255, 255, 255, 0.5);
  border-radius: 0 16px 16px 0;
  color: var(--text-main);
  font-style: italic;
}

.prose blockquote p:last-child { margin-bottom: 0; }

.prose figure {
  margin: 2em 0;
}

.prose img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 20px 50px var(--shadow);
}

.prose figcaption {
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-faint);
  margin-top: 10px;
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 2em 0;
  font-size: 0.92rem;
}

.prose th,
.prose td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.prose th {
  color: var(--text-main);
  font-weight: 700;
  background: rgba(52, 205, 219, 0.06);
}

.prose hr {
  border: none;
  border-top: 1px solid var(--line);
  margin: 3em 0;
}

.prose code {
  background: rgba(52, 205, 219, 0.1);
  padding: 0.15em 0.4em;
  border-radius: 6px;
  font-size: 0.9em;
  color: var(--cyan-text);
}

/* ==========================================================================
   Article layout (blog detail)
   ========================================================================== */

.breadcrumb {
  font-size: 0.82rem;
  color: var(--text-faint);
  margin: 0 0 20px;
}

.breadcrumb a {
  color: var(--text-sub);
  text-decoration: none;
}

.breadcrumb a:hover { color: var(--cyan-text); }

.article-header {
  max-width: var(--max-narrow);
  margin: 0 auto 40px;
}

.article-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--text-main);
  margin: 14px 0;
  line-height: 1.5;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 240px;
  gap: 48px;
  max-width: var(--max-content);
  margin: 0 auto;
  align-items: start;
}

@media (max-width: 980px) {
  .article-layout { grid-template-columns: 1fr; }
}

.toc {
  position: sticky;
  top: calc(var(--nav-height) + 24px);
  padding: 22px 22px;
  font-size: 0.85rem;
}

@media (max-width: 980px) {
  .toc { position: static; }
}

.toc-title {
  font-weight: 700;
  color: var(--text-main);
  margin: 0 0 12px;
  letter-spacing: 0.03em;
  font-size: 0.78rem;
  text-transform: uppercase;
}

.toc ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.toc a {
  color: var(--text-sub);
  text-decoration: none;
  line-height: 1.5;
}

.toc a:hover,
.toc a.active {
  color: var(--cyan-text);
}

.related-posts {
  max-width: var(--max-content);
  margin: 60px auto 0;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  position: relative;
  z-index: 1;
  padding: 48px 16px 40px;
  border-top: 1px solid var(--line-soft);
}

.footer-inner {
  max-width: var(--max-site);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links a {
  color: var(--text-sub);
  text-decoration: none;
  font-size: 0.84rem;
}

.footer-links a:hover { color: var(--cyan-text); }

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--card-bg-solid);
  border: 1px solid var(--line);
  color: var(--cyan-text);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.footer-social a:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 22px rgba(52, 205, 219, 0.22);
  border-color: var(--cyan);
}

.footer-social svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.copyright {
  width: 100%;
  text-align: center;
  font-size: 0.72rem;
  font-family: "SFMono-Regular", Menlo, Consolas, monospace;
  letter-spacing: 0.04em;
  color: var(--text-faint);
  margin-top: 12px;
}

/* ==========================================================================
   Accessibility
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  .bg-orb, .particle, .firefly, .glow-border::before, .avatar-ring, .hero-name,
  .nav-logo, .divider::after, .status-dot, .reveal {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ==========================================================================
   Small screens
   ========================================================================== */

@media (max-width: 480px) {
  .section { padding: 72px 16px; }
  .glass-card { border-radius: 20px; }
  .section-title { font-size: 1.3rem; }
}

/* ==========================================================================
   Homepage redesign additions (front-page.php)
   「静かな自然と、信頼できる知性をつなぐウェルネス・ラボ」
   既存クラス(.glass-card, .section 等)の定義は変更せず、新規クラスのみ追加。
   ========================================================================== */

/* Flat panel: glass-cardより控えめな、平面+細い境界線のカード */
.panel {
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  transition: border-color 0.25s ease;
}

.panel:hover {
  border-color: rgba(52, 205, 219, 0.35);
}

/* Hero / Profile 用の写真プレースホルダー(本人写真が用意でき次第、imgに差し替え可能) */
.portrait-frame {
  position: relative;
  width: 100%;
  max-width: 360px;
  aspect-ratio: 4 / 5;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  background: linear-gradient(155deg, rgba(52, 205, 219, 0.14), rgba(167, 139, 250, 0.12) 55%, rgba(212, 175, 106, 0.10));
  border: 1px solid var(--card-border);
  box-shadow: 0 30px 70px var(--shadow);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.portrait-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(31, 42, 68, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(31, 42, 68, 0.035) 1px, transparent 1px);
  background-size: 28px 28px;
}

.portrait-frame::after {
  content: "";
  position: absolute;
  top: 22px;
  left: 22px;
  width: 34px;
  height: 3px;
  border-radius: 2px;
  background: var(--gold);
  opacity: 0.85;
}

.portrait-frame .portrait-mark {
  position: relative;
  z-index: 1;
  font-size: clamp(6rem, 16vw, 9rem);
  font-weight: 700;
  line-height: 1;
  color: rgba(31, 42, 68, 0.08);
  transform: translateY(14%);
  user-select: none;
}

.portrait-frame--sm {
  max-width: 220px;
}

.portrait-frame--sm .portrait-mark {
  font-size: clamp(4rem, 10vw, 5.5rem);
}

/* Hero: 名前の上に置く肩書き(2行想定)。1行目が折り返さないよう、やや小さめ・タイトに */
.hero-role {
  font-family: var(--font-jp-body);
  font-size: 0.92rem;
  color: var(--cyan-text);
  font-weight: 500;
  line-height: 1.7;
  margin: 0;
  letter-spacing: 0.01em;
}

@media (min-width: 901px) {
  .hero-role {
    white-space: nowrap;
  }
}

/* Hero: 肩書きと1-2文説明の間に置く「提供価値」の一文(重要コピーなので本文よりやや強く) */
.hero-value {
  font-family: var(--font-jp-body);
  font-size: 1.18rem;
  font-weight: 600;
  line-height: 1.75;
  letter-spacing: 0.01em;
  color: var(--text-main);
  margin: 0 0 16px;
  max-width: 500px;
}

@media (max-width: 900px) {
  .hero-value { margin-left: auto; margin-right: auto; }
}

/* 初めての方へ */
.for-you-card {
  padding: 30px 26px;
}

.for-you-title {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--text-main);
  margin: 0 0 10px;
  line-height: 1.5;
}

.for-you-desc {
  font-size: 0.88rem;
  color: var(--text-sub);
  margin: 0;
  line-height: 1.7;
}

/* セッション: 「目的から選ぶ」ピル。PC4列/タブレット2列×2行/スマホ1列で幅・高さを揃える */
.purpose-pills {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin: 0 0 40px;
}

@media (max-width: 980px) {
  .purpose-pills { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .purpose-pills { grid-template-columns: 1fr; }
}

.purpose-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--card-bg-solid);
  color: var(--text-sub);
  font-size: 0.85rem;
  line-height: 1.4;
  text-decoration: none;
  transition: border-color 0.25s ease, color 0.25s ease, background 0.25s ease;
}

.purpose-pill:hover,
.purpose-pill:focus-visible {
  border-color: var(--cyan);
  color: var(--cyan-text);
  background: rgba(52, 205, 219, 0.08);
}

/* セッション代表4件はPC 2列×2行、スマホ1列(高さはgrid既定のstretchで揃う) */
#session .session-preview-grid {
  grid-template-columns: repeat(2, 1fr);
}

@media (max-width: 640px) {
  #session .session-preview-grid { grid-template-columns: 1fr; }
}

/* 信頼要素: カードではなく、細い境界線で区切ったテキスト帯。PC4列/タブレット2列×2行/スマホ1列 */
.trust-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.trust-item {
  padding: 24px 20px;
  text-align: center;
  border-left: 1px solid var(--line);
}

.trust-item:first-child {
  border-left: none;
}

.trust-text {
  margin: 0;
  color: var(--text-main);
  font-size: 0.95rem;
  line-height: 1.6;
}

@media (max-width: 860px) {
  .trust-row { grid-template-columns: repeat(2, 1fr); }
  .trust-item:nth-child(odd) { border-left: none; }
  .trust-item:nth-child(n+3) { border-top: 1px solid var(--line); }
}

@media (max-width: 640px) {
  .trust-row { grid-template-columns: 1fr; }
  .trust-item { border-left: none; border-top: 1px solid var(--line); }
  .trust-item:first-child { border-top: none; }
}

/* セクション間の余白調整: セッション→信頼要素→プロフィールの間の余白を詰める */
#trust.section {
  padding-top: 48px;
  padding-bottom: 48px;
}

#profile.section {
  padding-top: 56px;
}

/* ブログ: アイキャッチが無い場合の上品なプレースホルダー */
.post-thumb--empty {
  color: var(--text-faint);
}

.post-thumb-mark {
  width: 34px;
  height: 34px;
}

/* ブログ最新記事: PC4列/タブレット2列×2行/スマホ1列(本番の最新4件表示を前提) */
.blog-preview-grid {
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 980px) {
  .blog-preview-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .blog-preview-grid { grid-template-columns: 1fr; }
}

/* 投稿が1件のみの場合(現在のLocal環境)に左端へ孤立して見えないよう中央寄せで表示 */
.blog-preview-grid > article:only-child {
  grid-column: 1 / -1;
  max-width: 420px;
  margin: 0 auto;
}

/* お問い合わせパネル */
.contact-panel {
  padding: 56px 40px;
}

@media (max-width: 640px) {
  .contact-panel { padding: 40px 24px; }
}

/* ==========================================================================
   お問い合わせフォーム(/inquiry/)
   ========================================================================== */

.inquiry-form {
  max-width: 560px;
  margin: 0 auto;
}

.form-field {
  margin-bottom: 22px;
}

.form-field label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 8px;
}

.form-required {
  color: var(--cyan-text);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.02em;
}

.form-field input[type="text"],
.form-field input[type="email"],
.form-field input[type="tel"],
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--card-bg-solid);
  color: var(--text-main);
  font-size: 0.95rem;
  font-family: inherit;
}

.form-field textarea {
  resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(52, 205, 219, 0.15);
}

/* ハニーポット: スパムボット対策の非表示フィールド(人間には見せない) */
.form-field--hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* 無料セルフチェックへの入口。色・書体・ボタンは既存テーマを継承。 */
.section.self-check-section {
  padding-top: 32px;
  padding-bottom: 32px;
}

.self-check-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 32px;
  padding: 32px;
}

.self-check-card .section-title {
  font-size: clamp(1.2rem, 2vw, 1.6rem);
}

.self-check-action { text-align: center; }

.self-check-meta {
  margin: 0 0 12px;
  color: var(--text-sub);
  font-size: 0.82rem;
}

.self-check-card-session {
  margin-bottom: 56px;
  padding: 24px 32px;
}

.self-check-card-session .section-title { font-size: 1.2rem; }

@media (max-width: 860px) {
  .self-check-card {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    padding: 24px;
  }
}

@media (max-width: 480px) {
  .self-check-section > .container-wide { padding: 0 12px; }
  .self-check-card { padding: 20px 16px; }
  .self-check-card .btn {
    width: 100%;
    padding-left: 12px;
    padding-right: 12px;
  }
}

/* 公開ツール一覧と、実際に子項目がある場合のメニュー。 */
.self-check-heading { margin-bottom: 24px; }
.self-check-heading .eyebrow { margin-bottom: 8px; }
.self-check-list { display: grid; gap: 24px; }
.self-check-list .self-check-card .section-title { font-size: 1.2rem; }
#navLinks > .menu-item-has-children { position: relative; }
.nav-submenu-toggle {
  color: var(--text-sub);
  background: transparent;
  border: 0;
  border-radius: var(--radius-md);
  min-width: 44px;
  min-height: 44px;
  cursor: pointer;
  font: inherit;
}
.nav-submenu-toggle:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }
#navLinks .sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  padding: 8px;
  margin: 0;
  list-style: none;
  background: var(--card-bg-solid);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}
#navLinks .submenu-open > .sub-menu { display: block; }
#navLinks .sub-menu .nav-link { display: block; white-space: normal; }
@media (max-width: 1280px) {
  #navLinks > .menu-item-has-children { padding-right: 48px; }
  #navLinks > .menu-item-has-children > .nav-submenu-toggle { position: absolute; right: 12px; top: 6px; }
  #navLinks .sub-menu { position: static; min-width: 0; padding: 0 0 8px 12px; border: 0; }
  #navLinks .sub-menu .nav-link { font-size: 0.82rem; }
}

/* Blog discovery and social access — September 2026. */
.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.header-line {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 8px 16px;
  border: 1px solid #087481;
  border-radius: 999px;
  background: #087481;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
}
.blog-topics {
  margin: 0 0 32px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  text-align: left;
}
.blog-topics-title {
  margin: 0 0 16px;
  font-size: 1.1rem;
  color: var(--text-main);
}
.topic-links, .social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.topic-link, .social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 9px 17px;
  border: 1px solid #c7dcdf;
  border-radius: 999px;
  background: #fff;
  color: #12616b;
  text-decoration: none;
  font-size: 0.86rem;
  line-height: 1.5;
}
.topic-link[aria-current="page"] {
  background: #087481;
  border-color: #087481;
  color: #fff;
}
.topic-link:hover, .social-links a:hover {
  background: #eaf6f7;
  color: #124e57;
}
.topic-more { margin-top: 14px; }
.topic-more summary {
  width: fit-content;
  min-height: 44px;
  padding: 9px 0;
  color: #12616b;
  font-size: 0.86rem;
  cursor: pointer;
}
.topic-more .topic-links { padding-top: 8px; }
.post-meta .tag { text-decoration: none; }
.post-meta .tag:hover { text-decoration: underline; }
.post-thumb-label { color: var(--text-sub); font-size: 0.9rem; }
.contact-panel .nature-panel-bg {
  background-image: linear-gradient(rgba(255,255,255,.91), rgba(255,255,255,.94)), url("/__assets__/1093340138e6452d4b80d2bf.jpg");
}
.contact-panel .eyebrow, .contact-panel .section-title, .contact-panel .section-lede {
  text-shadow: none;
}
.contact-panel .btn-primary { background: #087481; }
.contact-social {
  margin-top: 30px;
  padding-top: 26px;
  border-top: 1px solid #c7dcdf;
}
.contact-social h3 { margin: 0 0 16px; font-size: 0.95rem; color: var(--text-main); }
.contact-social .social-links { justify-content: center; }
.footer-channels { width: 100%; }
.footer-channels > p { margin: 0 0 12px; font-size: 0.86rem; font-weight: 600; }
.pillar-card h3 { line-height: 1.65; text-wrap: balance; }
.for-you-title, #for-you .section-lede { text-wrap: pretty; }
.pillar-icon { background: #e8f5f6; color: #12616b; }
.header-line:focus-visible, .topic-link:focus-visible, .social-links a:focus-visible,
.topic-more summary:focus-visible, .post-meta .tag:focus-visible {
  outline: 3px solid #087481;
  outline-offset: 4px;
}
@media (max-width: 1100px) and (min-width: 901px) {
  .nav-inner { gap: 8px; }
  .nav-links { gap: 0; }
  .nav-link { padding-left: 9px; padding-right: 9px; }
}
@media (max-width: 1280px) {
  .nav-toggle { order: 3; width: 44px; height: 44px; }
  .header-line { margin-left: auto; padding: 8px 13px; }
}
@media (max-width: 480px) {
  .nav-inner { gap: 8px; }
  .nav-logo { font-size: 0.84rem; line-height: 1.35; }
  .blog-topics { padding: 20px 16px; }
  .topic-link, .social-links a { padding: 9px 13px; }
  .contact-panel { padding: 32px 20px; }
  .contact-panel .btn-row .btn { width: 100%; }
}

/* ==========================================================================
   2026-10-17 表示調整（文章の折り返し・見出しの揃え）
   ========================================================================== */

/* ヒーロー: 説明文の列が狭く不自然に改行されていたため幅を広げる */
.hero-value { max-width: 600px; }
.hero-copy { max-width: 560px; }
.hero-value,
.hero-copy { text-wrap: balance; word-break: auto-phrase; }

/* ヒーロー: 名前の英字表記と肩書きを語の途中で折り返さない */
@media (min-width: 360px) {
  .hero-name-en { white-space: nowrap; }
}
/* 肩書きは語の単位で折り返す（word-break: keep-all は iPhone の Safari で改行しなくなるため使わない） */
.u-nowrap { white-space: nowrap; }
/* 長い行があっても列の幅が広がって右にはみ出さないようにする */
.hero-grid > * { min-width: 0; }

/* ブログ記事カード: カテゴリーと日付を途中で折り返さず、収まらない場合は次の行へ */
.post-meta { flex-wrap: wrap; row-gap: 6px; }
.post-meta > * { white-space: nowrap; }

/* トップのセミナー見出しを、ほかのセクションと同じ中央揃えにする */
#seminars.mks-home .section-head { text-align: center; }

/* お問い合わせ: PCだけで使う改行 */
@media (max-width: 640px) {
  .u-pc-br { display: none; }
}

/* フォームの「任意」ラベル（「必須」と同じ書式で控えめな色） */
.form-optional {
  color: var(--text-faint);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.02em;
}
