/* ===================================================================
   上田いたる公式サイト — Design System
   ブランドカラーはリーフレット・名刺と完全整合
   =================================================================== */

:root {
  /* Teal palette — Xバナー準拠：メイン濃ティール #026177 系 / サブ薄ティール #a9dfe2 */
  --teal-900: #013F52;
  --teal-800: #026177;   /* MAIN — Xバナー背景と同一 */
  --teal-700: #0A7286;
  --teal-600: #138989;   /* 丸のダークティール */
  --teal-500: #2FA0A5;
  --teal-200: #A9DFE2;   /* 丸のライトティール（サブ） */
  --teal-100: #CFECEE;
  --teal-50:  #E8F5F6;

  /* Navy */
  --navy-900: #071E38;
  --navy-800: #0D2B4E;
  --navy-700: #143560;

  /* Yellow (accent) */
  --yellow: #F5C518;
  --yellow-warm: #E8A61A;
  --yellow-dark: #C48A12;

  /* Cream / neutral */
  --cream: #F0E8CC;
  --cream-soft: #F5EFD6;
  --paper: #FAFAF7;
  --paper-warm: #F6F2E8;

  /* Ink */
  --ink: #1A1A1A;
  --ink-2: #333;
  --ink-3: #555;
  --ink-mute: #777;
  --line: #E0DDD3;

  /* Layout */
  --max-w: 1200px;
  --pad-x: clamp(20px, 5vw, 56px);

  /* Type */
  --font-jp: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
  --font-latin: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-jp);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "palt";
  line-height: 1.75;
  font-size: 16px;
}

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

/* ================================
   NAV
   ================================ */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s;
}
.nav.scrolled { box-shadow: 0 4px 20px rgba(0,0,0, .06); }
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 14px var(--pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  display: flex; align-items: center; gap: 14px;
  text-decoration: none;
}
.brand-party-logo {
  height: 32px;
  width: auto;
  display: block;
  border-radius: 4px;
  box-shadow: 0 1px 3px rgba(0,0,0,.08);
}
.brand-name {
  font-weight: 900;
  color: var(--navy-800);
  font-size: 19px;
  letter-spacing: 0.02em;
  line-height: 1;
  border-left: 1px solid var(--line);
  padding-left: 14px;
}
.brand-name .en { display: block; font-size: 10px; letter-spacing: 0.22em; color: var(--teal-600); margin-top: 4px; font-weight: 600; font-family: var(--font-latin); }

.nav-links {
  display: flex; gap: 26px; align-items: center;
  list-style: none; margin: 0; padding: 0;
}
.nav-links a {
  text-decoration: none; color: var(--ink-2);
  font-weight: 600; font-size: 14.5px;
  padding: 6px 0;
  position: relative;
}
.nav-links a:hover { color: var(--teal-700); }
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 2px; background: var(--teal-600);
  transform: scaleX(0); transform-origin: left;
  transition: transform .3s;
}
.nav-links a:hover::after { transform: scaleX(1); }

.nav-cta {
  padding: 10px 20px;
  background: var(--teal-600);
  color: #fff;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  font-size: 13.5px;
  letter-spacing: 0.04em;
  transition: transform .2s, box-shadow .2s, background .2s;
  box-shadow: 0 4px 12px rgba(19,138,138, 0.28);
}
.nav-cta:hover { transform: translateY(-1px); background: var(--teal-700); box-shadow: 0 6px 16px rgba(19,138,138, 0.4); }

/* CTAグループ（右端の2ボタン） */
.nav-ctas {
  display: flex; align-items: center; gap: 10px;
}
.nav-cta-ghost {
  background: transparent;
  color: var(--teal-700);
  border: 1.5px solid var(--teal-600);
  box-shadow: none;
  padding: 8.5px 16px;
}
.nav-cta-ghost:hover {
  background: rgba(19,138,138, .08);
  color: var(--teal-800);
  border-color: var(--teal-700);
  box-shadow: none;
}

/* 政策ドロップダウン */
.nav-links .has-submenu { position: relative; }
.nav-parent {
  background: none; border: 0; padding: 6px 0;
  font-family: inherit; font-weight: 600; font-size: 14.5px;
  color: var(--ink-2); cursor: pointer;
  display: inline-flex; align-items: center; gap: 4px;
  position: relative;
}
.nav-parent:hover { color: var(--teal-700); }
.nav-parent::after {
  content: ""; position: absolute; left: 0; right: 14px; bottom: 0;
  height: 2px; background: var(--teal-600);
  transform: scaleX(0); transform-origin: left;
  transition: transform .3s;
}
.nav-parent:hover::after,
.has-submenu.nav-parent-active .nav-parent::after,
.has-submenu[data-open="true"] .nav-parent::after { transform: scaleX(1); }
.nav-caret {
  font-size: 10px;
  line-height: 1;
  color: var(--teal-600);
  transition: transform .25s;
}
.has-submenu[data-open="true"] .nav-caret,
.nav-parent[aria-expanded="true"] .nav-caret { transform: rotate(180deg); }

.nav-submenu {
  position: absolute;
  top: calc(100% + 10px);
  left: -18px;
  min-width: 240px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(11, 31, 59, 0.12);
  padding: 8px;
  list-style: none;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
  z-index: 10;
}
.nav-submenu::before {
  content: "";
  position: absolute;
  top: -6px; left: 34px;
  width: 12px; height: 12px;
  background: #fff;
  border-left: 1px solid var(--line);
  border-top: 1px solid var(--line);
  transform: rotate(45deg);
}
.has-submenu:hover .nav-submenu,
.has-submenu:focus-within .nav-submenu,
.has-submenu[data-open="true"] .nav-submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-submenu a {
  display: flex;
  flex-direction: column;
  padding: 12px 14px;
  border-radius: 8px;
  text-decoration: none;
  color: var(--navy-800);
  font-weight: 700;
  font-size: 14.5px;
  line-height: 1.3;
  transition: background .18s, color .18s;
}
.nav-submenu a::after { display: none; }
.nav-submenu a:hover,
.nav-submenu a:focus-visible {
  background: rgba(19,138,138, .08);
  color: var(--teal-800);
}
.nav-submenu a[aria-current="page"] {
  background: rgba(19,138,138, .12);
  color: var(--teal-800);
}
.nav-sub-desc {
  display: block;
  margin-top: 4px;
  font-size: 11.5px;
  font-weight: 500;
  color: var(--ink-3, #6b7280);
  letter-spacing: .02em;
}

.nav-toggle { display: none; }

@media (max-width: 980px) {
  .nav-cta-ghost { display: none; }
}

@media (max-width: 860px) {
  .nav-links, .nav-cta, .nav-ctas { display: none; }
  .nav-toggle {
    display: flex; flex-direction: column; gap: 5px;
    background: none; border: none; padding: 8px; cursor: pointer;
  }
  .nav-toggle span {
    display: block; width: 24px; height: 2px; background: var(--ink);
    transition: transform .3s;
  }
  .nav.open .nav-links {
    display: flex; flex-direction: column;
    position: absolute; top: 100%; left: 0; right: 0;
    background: white;
    padding: 20px var(--pad-x);
    gap: 18px;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 4px 20px rgba(0,0,0, .06);
    align-items: stretch;
  }
  .nav.open .nav-ctas {
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: absolute;
    top: calc(100% + 1px);
    left: 0; right: 0;
    padding: 0 var(--pad-x) 20px;
    background: white;
    box-shadow: 0 4px 20px rgba(0,0,0, .06);
    /* リンクリスト分ぶんだけ下げる */
    margin-top: 0;
  }
  /* モバイルでは submenu を常時展開表示 */
  .nav.open .has-submenu .nav-parent { display: none; }
  .nav.open .nav-submenu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: 0;
    padding: 0;
    min-width: 0;
  }
  .nav.open .nav-submenu::before { display: none; }
  .nav.open .nav-submenu a {
    padding: 6px 0;
    font-size: 14.5px;
    font-weight: 600;
    color: var(--ink-2);
  }
  .nav.open .nav-sub-desc { display: none; }
  .nav-cta-ghost { display: inline-block; text-align: center; }
}

/* ================================
   HERO — refined editorial
   ================================ */
.hero {
  position: relative;
  background: #0b1f3b;
  color: #fff;
  overflow: hidden;
  min-height: min(94vh, 860px);
  isolation: isolate;
}

/* Layered geometric background */
.hero-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero-bg-panel {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 46%;
  background:
    linear-gradient(155deg, #138a8a 0%, #0d6e6e 55%, #0a5c5c 100%);
  clip-path: polygon(12% 0, 100% 0, 100% 100%, 0 100%);
}
.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,.6), rgba(0,0,0,.05) 60%, transparent);
}
.hero-bg-arc {
  position: absolute;
  right: -220px; top: -220px;
  width: 640px; height: 640px;
  border-radius: 50%;
  border: 1px solid rgba(169,223,226,.22);
  box-shadow: inset 0 0 0 1px rgba(169,223,226,.10);
}
.hero-bg-arc::after {
  content: "";
  position: absolute;
  inset: 60px;
  border-radius: 50%;
  border: 1px solid rgba(169,223,226,.14);
}
.hero-bg-numeral {
  position: absolute;
  left: clamp(20px, 3vw, 56px);
  bottom: -14px;
  font-family: var(--font-jp);
  font-size: clamp(160px, 22vw, 320px);
  font-weight: 900;
  line-height: 0.85;
  color: transparent;
  -webkit-text-stroke: 1px rgba(169,223,226,.14);
  letter-spacing: 0.02em;
  user-select: none;
}

.hero-grid {
  position: relative; z-index: 2;
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  min-height: min(94vh, 860px);
  align-items: stretch;
}

/* ---- COPY ---- */
.hero-copy {
  padding: clamp(72px, 9vw, 120px) clamp(28px, 5vw, 72px) 60px;
  display: flex; flex-direction: column;
  justify-content: center;
  position: relative;
}

.hero-meta {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-latin);
  font-size: 12px;
  letter-spacing: 0.24em;
  font-weight: 700;
  color: var(--teal-200);
  margin-bottom: 32px;
  align-self: flex-start;
}
.hero-meta-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #c81d25;
  box-shadow: 0 0 0 4px rgba(200,29,37,.18);
}

.hero-title {
  font-size: clamp(40px, 5.6vw, 74px);
  font-weight: 900;
  color: #fff;
  line-height: 1.16;
  margin: 0 0 30px;
  letter-spacing: 0.005em;
  font-feature-settings: "palt";
}
.hero-title .hero-title-jp {
  display: block;
}
.hero-title em {
  font-style: normal;
  color: var(--teal-200);
  position: relative;
  padding: 0 4px;
}
.hero-title em::after {
  content: "";
  position: absolute;
  left: 4px; right: 4px; bottom: -4px;
  height: 3px;
  background: #c81d25;
  border-radius: 2px;
}

.hero-sub {
  font-size: clamp(14.5px, 1.15vw, 16.5px);
  color: rgba(255,255,255,.82);
  line-height: 2;
  margin: 0 0 40px;
  max-width: 520px;
  font-weight: 500;
}

/* ============ HERO MANIFESTO (3-step declaration) ============ */
.hero-manifesto {
  margin: -8px 0 32px;
  padding: 20px 0 22px 22px;
  border-left: 3px solid #c81d25;
  max-width: 620px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.hero-manifesto-lead {
  margin: 0;
  font-size: clamp(20px, 1.9vw, 26px);
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.01em;
  line-height: 1.4;
  font-feature-settings: "palt";
}
.hero-manifesto-lead .hm-quote {
  color: var(--teal-200);
  font-style: normal;
}
.hero-manifesto-body {
  margin: 0;
  font-size: clamp(15px, 1.15vw, 17px);
  font-weight: 600;
  color: rgba(255,255,255,.88);
  letter-spacing: 0.02em;
  line-height: 1.6;
  font-feature-settings: "palt";
}
.hero-manifesto-slam {
  margin: 4px 0 0;
  font-size: clamp(17px, 1.5vw, 21px);
  font-weight: 900;
  color: #fff;
  letter-spacing: 0.015em;
  line-height: 1.4;
  font-feature-settings: "palt";
  position: relative;
  display: inline-block;
  align-self: flex-start;
}
.hero-manifesto-slam .hm-bang {
  color: #c81d25;
  font-weight: 900;
  margin-left: 0;
  font-size: 1em;
  display: inline-block;
}

@media (max-width: 720px) {
  .hero-manifesto {
    padding-left: 16px;
    border-left-width: 2px;
    margin-bottom: 28px;
  }
}

.hero-role-block {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px 0 22px;
  border-top: 1px solid rgba(255,255,255,.14);
  border-bottom: 1px solid rgba(255,255,255,.14);
  margin-bottom: 32px;
  max-width: 560px;
}
.hero-role-item {
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-size: 14px;
}
.hero-role-item::before {
  content: "";
  flex-shrink: 0;
  width: 10px; height: 2px;
  background: var(--teal-200);
  transform: translateY(-4px);
}
.hero-role-value {
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.hero-role-title {
  font-size: 15px;
}
.hero-role-area {
  color: rgba(255,255,255,.82);
  font-weight: 500;
  font-size: 13.5px;
  letter-spacing: 0.08em;
}

.hero-ctas {
  display: flex; gap: 14px; flex-wrap: wrap;
  margin-bottom: 36px;
}
.btn-primary, .btn-secondary {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 28px;
  font-weight: 800;
  font-size: 15px;
  text-decoration: none;
  border-radius: 999px;
  transition: all .25s;
  border: none;
  cursor: pointer;
}
.btn-primary {
  background: var(--teal-600);
  color: #fff;
  box-shadow: 0 8px 24px rgba(19,138,138,.32);
}
.btn-primary:hover { background: var(--teal-700); transform: translateY(-2px); }
.btn-primary::after { content: "→"; transition: transform .25s; }
.btn-primary:hover::after { transform: translateX(4px); }
.btn-secondary {
  background: transparent;
  color: var(--navy-800);
  border: 1.5px solid var(--navy-800);
}
.btn-secondary:hover { background: var(--navy-800); color: #fff; }

.hero .btn-primary {
  background: #fff;
  color: #0b1f3b;
  box-shadow: 0 8px 24px rgba(0,0,0, .18);
}
.hero .btn-primary:hover {
  background: var(--teal-200);
  color: #0b1f3b;
  box-shadow: 0 12px 28px rgba(169,223,226, .3);
}
.hero .btn-secondary {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,.4);
}
.hero .btn-secondary:hover {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.7);
  color: #fff;
}

.hero-social {
  display: flex; gap: 10px; align-items: center;
}
.hero-social .lbl {
  font-family: var(--font-latin);
  font-size: 10.5px;
  color: rgba(255,255,255,.55);
  font-weight: 700;
  margin-right: 6px;
  letter-spacing: 0.24em;
}
.hero-social a {
  width: 36px; height: 36px;
  display: inline-flex; align-items: center; justify-content: center;
  background: transparent;
  border-radius: 50%;
  color: rgba(255,255,255,.7);
  transition: all .2s;
  border: 1px solid rgba(255,255,255,.2);
}
.hero-social a:hover {
  background: var(--teal-200);
  color: #0b1f3b;
  border-color: var(--teal-200);
  transform: translateY(-1px);
}
.hero-social svg { width: 15px; height: 15px; }

/* ---- VISUAL ---- */
.hero-visual {
  position: relative;
  overflow: hidden;
  min-height: 560px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.hero-name-vertical {
  position: absolute;
  top: clamp(40px, 6vw, 72px);
  right: clamp(20px, 3vw, 44px);
  z-index: 4;
  display: flex;
  flex-direction: row-reverse;
  align-items: flex-start;
  gap: 14px;
  color: #fff;
  pointer-events: none;
}
.hero-name-kanji {
  display: inline-block;
  writing-mode: vertical-rl;
  font-weight: 900;
  font-size: clamp(48px, 5.6vw, 84px);
  line-height: 1;
  letter-spacing: 0.14em;
  text-shadow: 0 4px 24px rgba(0,0,0, .28);
}
.hero-name-ruby {
  display: inline-block;
  writing-mode: vertical-rl;
  font-family: var(--font-latin);
  font-size: clamp(10px, 0.75vw, 12px);
  letter-spacing: 0.42em;
  font-weight: 700;
  color: var(--teal-200);
  margin-top: 6px;
}

.hero-portrait-stage {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: clamp(70px, 9vw, 110px) clamp(20px, 4vw, 56px) 0;
}
.hero-portrait-plate {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: min(88%, 540px);
  height: calc(100% - 44px);
  background: transparent;
  border: 1px solid rgba(169,223,226,.35);
  border-bottom: none;
  border-top-left-radius: 270px;
  border-top-right-radius: 270px;
}
.hero-portrait-plate::before {
  content: "";
  position: absolute;
  left: 14px; right: 14px; top: 14px; bottom: 0;
  border: 1px solid rgba(169,223,226,.18);
  border-bottom: none;
  border-top-left-radius: 256px;
  border-top-right-radius: 256px;
}
.hero-portrait-frame {
  position: relative;
  z-index: 2;
  width: min(84%, 500px);
  height: calc(100% - 40px);
  border-top-left-radius: 250px;
  border-top-right-radius: 250px;
  overflow: hidden;
  background: linear-gradient(180deg, #A9DFE2 0%, #7fc9cd 100%);
  box-shadow:
    0 30px 60px -20px rgba(0,0,0,.5),
    inset 0 -80px 80px -40px rgba(11,31,59,.35);
}
.hero-portrait {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 15%;
}
.hero-portrait-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(11,31,59,.75) 100%);
  pointer-events: none;
}

.hero-tag {
  position: absolute;
  left: clamp(20px, 3.2vw, 44px);
  right: clamp(20px, 3.2vw, 44px);
  bottom: clamp(28px, 4vw, 48px);
  z-index: 4;
  color: #fff;
  font-size: clamp(20px, 2.2vw, 30px);
  font-weight: 900;
  letter-spacing: 0.02em;
  line-height: 1.35;
  padding: 18px 22px 18px 26px;
  background: rgba(11,31,59,.62);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.20);
  border-left: 5px solid #c81d25;
  border-radius: 2px;
  box-shadow: 0 12px 30px rgba(0,0,0,.28);
  font-feature-settings: "palt";
  text-align: left;
}

@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .hero-visual {
    order: 1;
    min-height: 520px;
  }
  .hero-copy {
    order: 2;
    padding: 56px var(--pad-x) 64px;
  }
  .hero-bg-panel {
    width: 100%;
    height: 55%;
    top: 0;
    clip-path: polygon(0 0, 100% 0, 100% 88%, 0 100%);
  }
  .hero-name-vertical {
    top: 32px;
    right: 20px;
  }
  .hero-tag {
    left: 16px;
    right: 16px;
    bottom: 16px;
    font-size: 18px;
    padding: 14px 16px 14px 20px;
  }
}

/* ================================
   SECTION base
   ================================ */
.section {
  padding: clamp(60px, 8vw, 120px) 0;
  position: relative;
}
.section-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}
.section-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 800;
  color: var(--teal-700);
  letter-spacing: 0.25em;
  margin-bottom: 16px;
  text-transform: uppercase;
}
.section-eyebrow::before {
  content: ""; display: block;
  width: 32px; height: 3px;
  background: var(--yellow);
}
.section-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 900;
  color: var(--navy-800);
  line-height: 1.3;
  margin: 0 0 20px;
  letter-spacing: -0.01em;
}
.section-sub {
  font-size: 16px;
  color: var(--ink-3);
  line-height: 1.9;
  margin: 0 0 40px;
  max-width: 720px;
}

/* ================================
   GREETING
   ================================ */
.greeting {
  background: white;
}
.greeting-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}
.greeting-text p {
  font-size: 16px;
  line-height: 2;
  color: var(--ink-2);
  margin: 0 0 20px;
}
.greeting-image {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  border-radius: 8px;
  background: var(--cream);
}
.greeting-image img { width: 100%; height: 100%; object-fit: cover; }
.greeting-image::after {
  content: "";
  position: absolute;
  bottom: -20px; right: -20px;
  width: 140px; height: 140px;
  background: var(--yellow);
  z-index: -1;
  border-radius: 6px;
}
.greeting-image-wrap { position: relative; }

@media (max-width: 800px) {
  .greeting-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* ================================
   PILLARS (3つの柱 tabs)
   ================================ */
.pillars {
  background: var(--paper-warm);
  position: relative;
}
.pillars::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 60%;
  background: linear-gradient(to bottom, var(--cream-soft), transparent);
  z-index: 0;
  opacity: 0.4;
}
.pillars .section-inner { position: relative; z-index: 1; }

.pillar-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 40px 0 0;
}
.pillar-tab {
  background: white;
  border: 2px solid transparent;
  padding: 24px 22px;
  border-radius: 12px;
  cursor: pointer;
  text-align: left;
  transition: all .25s;
  font-family: inherit;
  position: relative;
}
.pillar-tab:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(11, 71, 80, .12);
}
.pillar-tab.active {
  background: var(--teal-800);
  border-color: var(--teal-800);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(11, 71, 80, .3);
}
.pillar-num {
  font-size: 44px;
  font-weight: 900;
  color: var(--yellow);
  line-height: 1;
  margin-bottom: 8px;
  font-family: var(--font-latin);
  letter-spacing: -0.02em;
}
.pillar-tab-title {
  font-size: 17px; font-weight: 800;
  color: var(--navy-800);
  line-height: 1.5;
  margin: 0;
}
.pillar-tab.active .pillar-tab-title { color: white; }
.pillar-tab-hint {
  font-size: 12px; font-weight: 600;
  color: var(--ink-mute); margin-top: 8px;
  letter-spacing: 0.1em;
}
.pillar-tab.active .pillar-tab-hint { color: rgba(255,255,255, .7); }

.pillar-content {
  background: white;
  border-radius: 16px;
  padding: 50px clamp(24px, 4vw, 60px);
  margin-top: 24px;
  box-shadow: 0 20px 50px rgba(11, 71, 80, .08);
  position: relative;
  overflow: hidden;
}
.pillar-panel {
  display: none;
}
.pillar-panel.active {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  animation: fadeIn .4s;
}
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.pillar-main h3 {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 900;
  color: var(--navy-800);
  line-height: 1.3;
  margin: 0 0 20px;
}
.pillar-main .lead {
  font-size: 15.5px;
  color: var(--ink-2);
  line-height: 1.9;
  margin: 0 0 24px;
}
.pillar-main .highlight-band {
  background: var(--teal-700);
  color: white;
  padding: 10px 16px;
  border-radius: 4px;
  font-weight: 800;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}
.pillar-main .highlight-band .accent-dot {
  background: var(--yellow);
  color: var(--navy-800);
  padding: 2px 8px;
  border-radius: 3px;
  font-size: 12px;
  font-weight: 900;
}

.pillar-list {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 16px;
}
.pillar-list li {
  background: var(--paper-warm);
  padding: 20px 22px;
  border-radius: 8px;
  border-left: 4px solid var(--teal-600);
}
.pillar-list li h4 {
  font-size: 15px; font-weight: 800;
  color: var(--teal-800);
  margin: 0 0 8px;
  display: flex; align-items: center; gap: 10px;
}
.pillar-list li h4::before {
  content: "";
  width: 6px; height: 6px;
  background: var(--yellow);
  border-radius: 50%;
}
.pillar-list li p {
  margin: 0;
  font-size: 14px;
  line-height: 1.85;
  color: var(--ink-2);
}

@media (max-width: 800px) {
  .pillar-tabs { grid-template-columns: 1fr; }
  .pillar-panel.active { grid-template-columns: 1fr; gap: 30px; }
  .pillar-content { padding: 32px 22px; }
}

/* ================================
   PILLARS SUMMARY (トップ用・3カード + ディープリンク)
   ================================ */

/* 循環図（創る・育てる・守る） */
.pillar-cycle-figure {
  margin: 40px auto 8px;
  max-width: 960px;
  padding: 20px 24px 12px;
  background: linear-gradient(180deg, #ffffff 0%, #f4fbfb 100%);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 10px 28px rgba(11, 71, 80, .06);
  text-align: center;
}
.pillar-cycle-scroll {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: #138a8a #e6f2f2;
}
.pillar-cycle-scroll::-webkit-scrollbar { height: 8px; }
.pillar-cycle-scroll::-webkit-scrollbar-track { background: #e6f2f2; border-radius: 4px; }
.pillar-cycle-scroll::-webkit-scrollbar-thumb { background: #138a8a; border-radius: 4px; }
.pillar-cycle-figure img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 900px;
  margin: 0 auto;
  image-rendering: -webkit-optimize-contrast;
}
.pillar-cycle-caption {
  margin-top: 8px;
  color: #55736f;
  font-size: 13px;
  letter-spacing: .04em;
}
.pillar-cycle-hint {
  display: none;
  margin-top: 6px;
  color: #138a8a;
  font-size: 12px;
  letter-spacing: .04em;
}
@media (max-width: 720px) {
  .pillar-cycle-figure {
    padding: 12px 8px 10px;
    border-radius: 14px;
    margin: 28px -4px 4px;
  }
  .pillar-cycle-scroll {
    /* スマホ時は横スクロールで潰れないように */
    overflow-x: auto;
  }
  .pillar-cycle-scroll img {
    /* 最小幅を確保して縮小されないようにする */
    width: 680px;
    min-width: 680px;
    max-width: none;
    height: auto;
  }
  .pillar-cycle-caption { font-size: 12px; }
  .pillar-cycle-hint { display: block; }
}

.pillar-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin: 44px 0 0;
}
.pillar-summary-card {
  background: white;
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--line);
  box-shadow: 0 10px 28px rgba(11, 71, 80, .06);
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
  position: relative;
}
.pillar-summary-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 44px rgba(11, 71, 80, .16);
  border-color: var(--teal-500);
}
.pillar-summary-card:hover .psc-arrow {
  transform: translateX(6px);
}

/* accent top bar (former illust slot area) */
.pillar-summary-card::before {
  content: "";
  display: block;
  height: 6px;
  background: linear-gradient(90deg, var(--teal-600), var(--teal-500));
}

/* body */
.psc-body {
  padding: 28px 26px 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.psc-head {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 10px;
}
.psc-num {
  font-family: var(--font-latin);
  font-size: 32px;
  font-weight: 900;
  color: var(--yellow);
  line-height: 1;
  letter-spacing: -0.02em;
}
.psc-en {
  font-family: var(--font-latin);
  font-size: 11px;
  font-weight: 700;
  color: var(--ink-mute);
  letter-spacing: 0.22em;
}
.psc-title {
  font-size: 20px;
  font-weight: 900;
  color: var(--navy-800);
  line-height: 1.45;
  margin: 0 0 10px;
  letter-spacing: -0.005em;
}
.psc-lead {
  font-size: 14px;
  line-height: 1.85;
  color: var(--ink-2);
  margin: 0 0 16px;
}
.psc-chips {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.psc-chips li {
  font-size: 12px;
  font-weight: 700;
  color: var(--teal-800);
  background: var(--teal-50);
  border: 1px solid var(--teal-100);
  padding: 4px 10px;
  border-radius: 999px;
  line-height: 1.5;
}
.psc-cta {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 800;
  font-size: 14px;
  color: var(--teal-700);
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.psc-arrow {
  display: inline-block;
  transition: transform .25s ease;
  font-weight: 900;
}

/* Deep-link CTA */
.pillars-deep-cta {
  margin-top: 36px;
  background: white;
  border: 1px solid var(--line);
  border-left: 6px solid var(--teal-600);
  border-radius: 12px;
  padding: 22px clamp(20px, 3vw, 32px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  box-shadow: 0 8px 24px rgba(11, 71, 80, .05);
}
.pdc-text { flex: 1; min-width: 240px; }
.pdc-eyebrow {
  display: block;
  font-family: var(--font-latin);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.22em;
  color: var(--teal-700);
  margin-bottom: 6px;
}
.pdc-title {
  font-size: clamp(16px, 2vw, 20px);
  font-weight: 900;
  color: var(--navy-800);
  line-height: 1.55;
  margin: 0;
}
.pdc-btn { flex-shrink: 0; }

@media (max-width: 900px) {
  .pillar-summary-grid { grid-template-columns: 1fr; gap: 18px; }
  .pillars-deep-cta { flex-direction: column; align-items: flex-start; }
  .pdc-btn { width: 100%; text-align: center; }
}

/* ================================
   PROMISES (信頼の約束)
   ================================ */
.promises {
  background: var(--navy-800);
  color: white;
  position: relative;
  overflow: hidden;
}
.promises::before {
  content: "";
  position: absolute;
  top: -100px; right: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, var(--teal-700), transparent 70%);
  opacity: 0.4;
}
.promises .section-eyebrow { color: var(--yellow); }
.promises .section-eyebrow::before { background: var(--yellow); }
.promises .section-title { color: white; }
.promises .section-sub { color: rgba(255, 255, 255, .8); }

.promise-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 30px;
}
.promise-card {
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .12);
  padding: 30px 24px;
  border-radius: 12px;
  transition: transform .25s, background .25s;
}
.promise-card:hover {
  background: rgba(255, 255, 255, .1);
  transform: translateY(-4px);
}
.promise-num {
  font-family: var(--font-latin);
  font-size: 32px;
  font-weight: 900;
  color: var(--yellow);
  line-height: 1;
  margin-bottom: 14px;
}
.promise-card h4 {
  font-size: 18px; font-weight: 800;
  margin: 0 0 10px;
  color: white;
}
.promise-card p {
  font-size: 13.5px;
  color: rgba(255, 255, 255, .78);
  line-height: 1.8;
  margin: 0;
}

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

/* ================================
   PROFILE section
   ================================ */
.profile-section {
  background: var(--paper);
}
.profile-grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 60px;
  align-items: start;
}
.profile-card {
  position: sticky;
  top: 100px;
  background: white;
  padding: 30px;
  border-radius: 12px;
  border: 1px solid var(--line);
  box-shadow: 0 10px 30px rgba(11, 71, 80, .06);
}
.profile-card img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}
.profile-card .name {
  font-size: 26px; font-weight: 900;
  color: var(--navy-800);
  margin: 0 0 4px;
}
.profile-card .name-en {
  font-family: var(--font-latin);
  font-size: 12px;
  color: var(--ink-mute);
  letter-spacing: 0.2em;
  margin: 0 0 16px;
  text-transform: uppercase;
}
.profile-card .role-list {
  list-style: none; padding: 0; margin: 0 0 20px;
  display: flex; flex-direction: column; gap: 8px;
}
.profile-card .role-list li {
  font-size: 13px;
  color: var(--ink-2);
  padding: 6px 10px;
  background: var(--paper-warm);
  border-left: 3px solid var(--teal-600);
  border-radius: 2px;
}
.profile-card .stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.profile-card .stat-num {
  font-family: var(--font-latin);
  font-size: 28px; font-weight: 900;
  color: var(--teal-700);
  line-height: 1;
}
.profile-card .stat-lbl {
  font-size: 11px; color: var(--ink-mute);
  font-weight: 600;
  margin-top: 4px;
  letter-spacing: 0.05em;
}

.profile-body h3 {
  font-size: 22px; font-weight: 900;
  color: var(--navy-800);
  margin: 0 0 12px;
  padding-left: 16px;
  border-left: 4px solid var(--teal-700);
  line-height: 1.4;
}
.profile-body h3:not(:first-child) { margin-top: 40px; }
.profile-body p {
  font-size: 15.5px;
  line-height: 1.95;
  color: var(--ink-2);
  margin: 0 0 16px;
}

@media (max-width: 900px) {
  .profile-grid { grid-template-columns: 1fr; gap: 30px; }
  .profile-card { position: static; }
}

/* ================================
   TIMELINE
   ================================ */
.timeline-section {
  background: var(--teal-50);
}
.timeline {
  position: relative;
  margin-top: 40px;
  padding-left: 40px;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 12px; top: 12px; bottom: 12px;
  width: 2px;
  background: var(--teal-200);
}
.timeline-item {
  position: relative;
  margin-bottom: 32px;
  background: white;
  border-radius: 8px;
  padding: 18px 24px;
  border: 1px solid var(--line);
  box-shadow: 0 4px 12px rgba(11, 71, 80, .04);
}
.timeline-item::before {
  content: "";
  position: absolute;
  left: -35px; top: 24px;
  width: 14px; height: 14px;
  background: var(--yellow);
  border: 3px solid var(--teal-700);
  border-radius: 50%;
}
.timeline-year {
  font-family: var(--font-latin);
  font-size: 14px; font-weight: 800;
  color: var(--teal-700);
  letter-spacing: 0.05em;
}
.timeline-item h4 {
  font-size: 17px; font-weight: 800;
  color: var(--navy-800);
  margin: 4px 0 6px;
}
.timeline-item p {
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-3);
  margin: 0;
}

/* ================================
   ACTIVITY (SNS + photos)
   ================================ */
.activity {
  background: white;
}
.activity-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 32px;
}
.sns-card {
  background: var(--paper-warm);
  border-radius: 12px;
  padding: 24px;
  border: 1px solid var(--line);
  transition: all .25s;
  text-decoration: none;
  color: inherit;
  display: flex; flex-direction: column;
  min-height: 220px;
  position: relative;
  overflow: hidden;
}
.sns-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 34px rgba(11, 71, 80, .12);
}
.sns-card .sns-head {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 14px;
}
.sns-card .sns-icon {
  width: 44px; height: 44px;
  background: var(--navy-800);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: white;
}
.sns-card.x .sns-icon { background: #000; }
.sns-card.yt .sns-icon { background: #FF0000; }
.sns-card.ig .sns-icon { background: linear-gradient(135deg, #F58529, #DD2A7B, #8134AF); }
.sns-card.fb .sns-icon { background: #1877F2; }
.sns-card .sns-icon svg { width: 22px; height: 22px; }
.sns-card .sns-name { font-weight: 800; font-size: 17px; color: var(--navy-800); }
.sns-card .sns-handle { font-size: 12px; color: var(--ink-mute); font-family: var(--font-latin); }
.sns-card .sns-desc { font-size: 13.5px; color: var(--ink-3); line-height: 1.75; margin: 0 0 16px; flex: 1; }
.sns-card .sns-cta {
  align-self: flex-start;
  font-weight: 700;
  font-size: 13px;
  color: var(--teal-700);
  padding-top: 12px;
  border-top: 1px solid var(--line);
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.sns-card .sns-cta::after { content: "→"; transition: transform .25s; }
.sns-card:hover .sns-cta::after { transform: translateX(4px); }

.activity-photos {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 40px;
}
.activity-photos.profile-photos {
  margin-top: 56px;
}
.activity-photo {
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 8px;
  position: relative;
  cursor: pointer;
}
.activity-photo img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s;
}
.activity-photo:hover img { transform: scale(1.06); }
.activity-photo .caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 20px 14px 12px;
  background: linear-gradient(transparent, rgba(0,0,0, .8));
  color: white;
  font-size: 12px; font-weight: 700;
  transform: translateY(10px);
  opacity: 0;
  transition: transform .3s, opacity .3s;
}
.activity-photo:hover .caption { transform: translateY(0); opacity: 1; }

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

/* ================================
   SNS EMBEDS (X timeline + YouTube)
   ================================ */
.sns-embeds {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 44px;
}
.sns-embed {
  background: white;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px;
  box-shadow: 0 8px 24px rgba(2, 97, 119, .06);
  display: flex; flex-direction: column;
  min-height: 520px;
}
.sns-embed .embed-head {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.sns-embed .embed-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: white;
  flex-shrink: 0;
}
.sns-embed.x-embed .embed-icon { background: #000; }
.sns-embed.yt-embed .embed-icon { background: #FF0000; }
.sns-embed.ig-embed .embed-icon,
.sns-embed .embed-icon.ig-icon { background: linear-gradient(135deg, #F58529, #DD2A7B, #8134AF); }
.sns-embed .embed-icon svg { width: 20px; height: 20px; }
.sns-embed .embed-meta { flex: 1; }
.sns-embed .embed-meta .n { font-weight: 800; font-size: 15.5px; color: var(--navy-800); }
.sns-embed .embed-meta .h { font-size: 12px; color: var(--ink-mute); font-family: var(--font-latin); }
.sns-embed .embed-link {
  font-size: 12px; font-weight: 700;
  color: var(--teal-700);
  text-decoration: none;
  padding: 6px 12px;
  border: 1.5px solid var(--teal-500);
  border-radius: 999px;
  transition: all .2s;
}
.sns-embed .embed-link:hover { background: var(--teal-700); color: white; border-color: var(--teal-700); }

.sns-embed .embed-body {
  flex: 1;
  overflow: hidden;
  border-radius: 8px;
  position: relative;
  min-height: 440px;
}
.sns-embed.x-embed .embed-body {
  overflow-y: auto;
  background: #ffffff;
  min-height: 440px;
  max-height: 520px;
}
.sns-embed.x-embed .embed-body iframe {
  width: 100% !important;
  min-height: 440px;
  border: 0;
  display: block;
}
/* Facebook Page Plugin */
.sns-embed.fb-embed .embed-icon,
.sns-embed .embed-icon.fb-icon { background: #1877F2; }
.sns-embed.fb-embed .embed-body.fb-embed-body {
  background: #ffffff;
  padding: 0;
  min-height: 640px;
  overflow: hidden;
  border-radius: 8px;
  display: flex;
  justify-content: center;
}
.sns-embed.fb-embed .embed-body.fb-embed-body iframe {
  width: 100% !important;
  max-width: 500px;
  min-height: 640px;
  border: 0;
  display: block;
}
.embed-fallback {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  height: 100%;
  min-height: 380px;
  padding: 24px;
  text-align: center;
  color: var(--ink-mute);
  font-size: 14px;
}
.embed-fallback-btn {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--teal-700);
  color: #fff;
  font-weight: 700;
  font-size: 13.5px;
  text-decoration: none;
  transition: transform .15s ease, background .15s ease;
}
.embed-fallback-btn:hover { background: #0f7373; transform: translateY(-1px); }
.sns-embed.yt-embed .embed-body {
  background: #000;
  aspect-ratio: 16 / 9;
  min-height: auto;
}
.sns-embed.yt-embed .embed-body iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.sns-links-mini {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 20px;
}
.sns-link-mini {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 20px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  transition: all .25s;
}
.sns-link-mini:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(2, 97, 119, .1);
  border-color: var(--teal-500);
}
.sns-link-mini .mini-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: white;
  flex-shrink: 0;
}
.sns-link-mini.ig .mini-icon { background: linear-gradient(135deg, #F58529, #DD2A7B, #8134AF); }
.sns-link-mini.fb .mini-icon { background: #1877F2; }
.sns-link-mini.yt .mini-icon { background: #FF0000; }
.sns-link-mini.x .mini-icon { background: #000; }
.sns-links-mini.sns-links-mini-3col { grid-template-columns: repeat(3, 1fr); }
.sns-embeds.sns-embeds-single { grid-template-columns: minmax(0, 780px); justify-content: center; }

/* X custom feed */
.sns-embed.x-embed .embed-body.x-feed-body {
  background: #ffffff;
  padding: 0;
  min-height: 400px;
  max-height: 640px;
  overflow-y: auto;
  border-radius: 8px;
}
.x-feed {
  display: flex;
  flex-direction: column;
}
.x-item {
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
  transition: background .15s;
}
.x-item:last-child { border-bottom: 0; }
.x-item:hover { background: #fafbfc; }
.x-item-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.x-item-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: #000;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.x-item-avatar svg { width: 16px; height: 16px; }
.x-item-user { flex: 1; min-width: 0; }
.x-item-name {
  font-weight: 800;
  font-size: 14.5px;
  color: var(--navy-800);
  line-height: 1.2;
}
.x-item-handle {
  font-size: 12.5px;
  color: var(--ink-mute);
  font-family: var(--font-latin);
  line-height: 1.2;
  margin-top: 2px;
}
.x-item-date {
  font-size: 12px;
  color: var(--ink-mute);
  font-family: var(--font-latin);
  white-space: nowrap;
}
.x-item-body {
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--ink);
  word-break: break-word;
  white-space: pre-wrap;
  margin-bottom: 8px;
}
.x-item-inline-link,
.x-item-tag {
  color: var(--teal-700);
  text-decoration: none;
  font-weight: 600;
}
.x-item-inline-link:hover,
.x-item-tag:hover { text-decoration: underline; }
.x-item-image {
  display: block;
  margin: 10px 0;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--line);
}
.x-item-image img {
  display: block;
  width: 100%;
  max-height: 320px;
  object-fit: cover;
}
.x-item-link {
  display: inline-block;
  margin-top: 4px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--teal-700);
  text-decoration: none;
}
.x-item-link:hover { text-decoration: underline; }

/* Loading / fallback states */
.x-feed-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 380px;
  color: var(--ink-mute);
  font-size: 13.5px;
}
.x-spinner {
  width: 32px; height: 32px;
  border: 3px solid var(--line);
  border-top-color: var(--teal-700);
  border-radius: 50%;
  animation: x-spin 0.8s linear infinite;
}
@keyframes x-spin { to { transform: rotate(360deg); } }
.x-feed-fallback {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 380px;
  padding: 24px;
  text-align: center;
  color: var(--ink-mute);
  font-size: 14px;
}
.sns-link-mini .mini-icon svg { width: 20px; height: 20px; }
.sns-link-mini .mini-text .n { font-weight: 800; font-size: 15px; color: var(--navy-800); }
.sns-link-mini .mini-text .h { font-size: 12px; color: var(--ink-mute); font-family: var(--font-latin); }
.sns-link-mini .mini-cta {
  margin-left: auto;
  color: var(--teal-700);
  font-weight: 800;
  font-size: 13px;
}

@media (max-width: 900px) {
  .sns-embeds { grid-template-columns: 1fr; }
  .sns-links-mini,
  .sns-links-mini.sns-links-mini-3col { grid-template-columns: 1fr; }
}

/* ================================
   NEWS
   ================================ */
.news {
  background: var(--paper-warm);
}
.news-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 30px;
}
.news-item {
  background: white;
  border-radius: 12px;
  padding: 24px;
  border: 1px solid var(--line);
  transition: all .25s;
  text-decoration: none;
  color: inherit;
  display: block;
  position: relative;
}
.news-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(11, 71, 80, .08);
  border-color: var(--teal-500);
}
.news-item .meta {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 12px;
}
.news-item .date {
  font-family: var(--font-latin);
  font-size: 12px; font-weight: 700;
  color: var(--ink-mute);
  letter-spacing: 0.05em;
}
.news-item .tag {
  font-size: 10.5px; font-weight: 800;
  background: var(--teal-100);
  color: var(--teal-800);
  padding: 3px 8px;
  border-radius: 3px;
  letter-spacing: 0.1em;
}
.news-item .tag.event { background: var(--yellow); color: var(--navy-800); }
.news-item .tag.press { background: var(--navy-800); color: white; }
.news-item h4 {
  font-size: 15.5px; font-weight: 800;
  color: var(--navy-800);
  line-height: 1.55;
  margin: 0 0 8px;
}
.news-item p {
  font-size: 13px; color: var(--ink-3);
  line-height: 1.7;
  margin: 0;
}

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

/* ================================
   JOIN
   ================================ */
.join {
  background: linear-gradient(135deg, var(--teal-800), var(--teal-900));
  color: white;
  position: relative;
  overflow: hidden;
}
.join::before {
  content: "";
  position: absolute;
  bottom: -100px; left: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, var(--yellow), transparent 70%);
  opacity: 0.15;
}
.join .section-title { color: white; }
.join .section-eyebrow { color: var(--yellow); }
.join .section-eyebrow::before { background: var(--yellow); }
.join .section-sub { color: rgba(255,255,255, .85); }

.join-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin: 40px 0;
}
.join-card {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .14);
  padding: 30px;
  border-radius: 12px;
  transition: all .25s;
  text-decoration: none;
  color: inherit;
  display: flex; flex-direction: column;
  min-height: 220px;
  position: relative;
  cursor: pointer;
}
.join-card:hover {
  background: rgba(255, 255, 255, .1);
  transform: translateY(-4px);
  border-color: var(--yellow);
}
.join-card .num {
  font-family: var(--font-latin);
  color: var(--yellow);
  font-size: 40px;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 14px;
}
.join-card h4 {
  font-size: 20px; font-weight: 800;
  margin: 0 0 10px;
  color: white;
}
.join-card p {
  font-size: 13.5px;
  color: rgba(255,255,255, .82);
  line-height: 1.8;
  margin: 0 0 16px;
  flex: 1;
}
.join-card .arrow {
  align-self: flex-start;
  color: var(--yellow);
  font-weight: 800;
  font-size: 14px;
  transition: transform .25s;
}
.join-card:hover .arrow { transform: translateX(6px); }

.office-info {
  background: rgba(0,0,0, .2);
  padding: 30px;
  border-radius: 12px;
  margin-top: 40px;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 30px;
}
.office-info h4 {
  color: var(--yellow);
  font-size: 12px;
  letter-spacing: 0.2em;
  margin: 0 0 12px;
  font-weight: 800;
}
.office-info .name-row {
  font-size: 18px;
  font-weight: 800;
  color: white;
  margin-bottom: 6px;
}
.office-info .details {
  font-size: 14px;
  color: rgba(255,255,255, .8);
  line-height: 1.9;
  margin: 0;
}
.office-info a {
  color: var(--yellow);
  text-decoration: none;
  border-bottom: 1px dotted rgba(245,197,24, .4);
}

.office-cta { display: flex; align-items: center; }
.contact-btn {
  display: flex;
  align-items: center;
  gap: 20px;
  width: 100%;
  padding: 22px 26px;
  background: linear-gradient(135deg, #138a8a 0%, #0f6f6f 100%);
  border: 1px solid rgba(169, 223, 226, .35);
  border-radius: 14px;
  color: #fff !important;
  text-decoration: none !important;
  border-bottom: none !important;
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.contact-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(0,0,0,.35);
  background: linear-gradient(135deg, #17a0a0 0%, #138a8a 100%);
}
.contact-btn__icon {
  flex: 0 0 auto;
  width: 56px; height: 56px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.14);
  border-radius: 50%;
  color: #fff;
}
.contact-btn__icon svg { width: 28px; height: 28px; }
.contact-btn__body { flex: 1 1 auto; display: flex; flex-direction: column; line-height: 1.3; }
.contact-btn__label {
  font-size: 11px; letter-spacing: .28em; font-weight: 700;
  color: rgba(255,255,255,.75);
}
.contact-btn__title {
  font-size: 24px; font-weight: 800; margin-top: 2px; color: #fff;
}
.contact-btn__sub {
  font-size: 12px; margin-top: 4px; color: rgba(255,255,255,.8);
}
.contact-btn__arrow {
  flex: 0 0 auto;
  font-size: 24px; font-weight: 700; color: #fff;
  transition: transform .25s ease;
}
.contact-btn:hover .contact-btn__arrow { transform: translateX(6px); }
@media (max-width: 700px) {
  .contact-btn { padding: 18px 18px; gap: 14px; }
  .contact-btn__icon { width: 48px; height: 48px; }
  .contact-btn__title { font-size: 20px; }
}

@media (max-width: 700px) {
  .join-grid { grid-template-columns: 1fr; }
  .office-info { grid-template-columns: 1fr; gap: 16px; }
}

/* ================================
   FOOTER
   ================================ */
.footer {
  background: var(--navy-900);
  color: rgba(255, 255, 255, .7);
  padding: 40px var(--pad-x) 30px;
  text-align: center;
  font-size: 13px;
}
.footer a {
  color: rgba(255,255,255, .85);
  text-decoration: none;
}
.footer a:hover { color: var(--yellow); }
.footer .foot-links {
  display: flex; justify-content: center; gap: 24px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.footer .copyright { font-size: 12px; color: rgba(255,255,255, .5); }

/* Fade-in on scroll */
[data-fade] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .8s ease, transform .8s ease;
}
[data-fade].in {
  opacity: 1;
  transform: translateY(0);
}

/* Utility */
.emphasis {
  background: linear-gradient(transparent 65%, var(--yellow) 65%);
  padding: 0 2px;
  font-weight: 800;
}

/* ================================
   LIFE FEEL STRIP （生活実感バー）
   ================================ */
.lifefeel {
  background: var(--paper-warm);
  padding: clamp(56px, 7vw, 88px) var(--pad-x);
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.lifefeel::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--teal-600) 0 60%, #c81d25 60% 100%);
}
.lifefeel-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.lifefeel-head {
  margin-bottom: 40px;
  max-width: 780px;
}
.lifefeel-eyebrow {
  display: inline-block;
  font-family: var(--font-latin);
  letter-spacing: 0.14em;
  font-size: 12.5px;
  font-weight: 800;
  color: var(--teal-800);
  margin-bottom: 12px;
  font-family: var(--font-jp);
  letter-spacing: 0.2em;
}
.lifefeel-lead {
  font-size: clamp(19px, 2.1vw, 26px);
  font-weight: 800;
  color: #0b1f3b;
  line-height: 1.6;
  margin: 0;
  letter-spacing: 0.01em;
  text-wrap: pretty;
}
.lifefeel-lead .lifefeel-but {
  color: #c81d25;
  margin-left: 4px;
}
.lifefeel-grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.lifefeel-grid li {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 22px 22px 20px;
  position: relative;
  transition: transform .2s;
}
.lifefeel-grid li::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--teal-600);
}
.lifefeel-grid li.lf-emphasis::before {
  background: #c81d25;
}
.lifefeel-grid li.lf-emphasis .lf-num {
  color: #c81d25;
}
.lf-num {
  font-family: var(--font-latin);
  font-size: clamp(32px, 4vw, 46px);
  font-weight: 900;
  color: #0b1f3b;
  line-height: 1;
  letter-spacing: 0.005em;
  margin-bottom: 10px;
  font-feature-settings: "tnum";
}
.lf-unit {
  font-family: var(--font-jp);
  font-size: 0.42em;
  font-weight: 800;
  color: var(--ink-2);
  margin-left: 4px;
  letter-spacing: 0.03em;
}
.lf-label {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink-2);
  line-height: 1.55;
}
.lf-sub {
  display: inline-block;
  margin-top: 4px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--ink-mute);
  letter-spacing: 0.02em;
}
.lifefeel-foot {
  margin: 32px 0 0;
  font-size: 15.5px;
  color: var(--ink-2);
  font-weight: 600;
  line-height: 1.9;
  text-wrap: pretty;
}

.only-desktop { display: inline; }
@media (max-width: 720px) {
  .only-desktop { display: none; }
  .lifefeel-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .lifefeel-grid li { padding: 18px 16px 16px; }
  .lifefeel-lead { font-size: 18px; }
  .lifefeel-foot { font-size: 14px; }
}

/* ================================
   STREET STRIP （街頭活動フォト帯）
   ================================ */
.streetstrip {
  background: #0b1f3b;
  color: #fff;
  padding: clamp(64px, 7vw, 92px) 0 clamp(56px, 6vw, 80px);
  position: relative;
  overflow: hidden;
}
.streetstrip::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 12% 10%, rgba(169,223,226,.10), transparent 50%),
    radial-gradient(circle at 88% 90%, rgba(200,29,37,.08), transparent 55%);
  pointer-events: none;
}
.streetstrip-head {
  max-width: var(--max-w);
  margin: 0 auto 44px;
  padding: 0 var(--pad-x);
  position: relative;
}
.ss-eyebrow {
  display: inline-block;
  font-family: var(--font-latin);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.28em;
  color: var(--teal-200);
  margin-bottom: 14px;
}
.ss-title {
  font-size: clamp(26px, 3.4vw, 40px);
  font-weight: 900;
  color: #fff;
  margin: 0 0 16px;
  letter-spacing: 0.01em;
  line-height: 1.35;
  text-wrap: balance;
}
.ss-sub {
  font-size: 15px;
  color: rgba(255,255,255,.78);
  line-height: 1.9;
  margin: 0;
  max-width: 620px;
}

.streetstrip-marquee {
  position: relative;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent 0, #000 6%, #000 94%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 6%, #000 94%, transparent 100%);
}
.streetstrip-track {
  display: flex;
  gap: 18px;
  width: max-content;
  animation: streetscroll 80s linear infinite;
  will-change: transform;
  padding: 4px 9px;
}
.streetstrip-marquee:hover .streetstrip-track {
  animation-play-state: paused;
}
.streetstrip-track figure {
  position: relative;
  margin: 0;
  flex: 0 0 auto;
  width: 260px;
  height: 320px;
  border-radius: 3px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0,0,0,.35);
  background: #143560;
}
.streetstrip-track figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s ease;
}
.streetstrip-track figure:hover img {
  transform: scale(1.05);
}
.streetstrip-track figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 32px 14px 12px;
  color: #fff;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  background: linear-gradient(180deg, transparent 0%, rgba(11,31,59,.85) 55%, rgba(11,31,59,.95) 100%);
}

@keyframes streetscroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@media (max-width: 720px) {
  .streetstrip-track figure {
    width: 190px;
    height: 240px;
  }
  .streetstrip-track figcaption { font-size: 11.5px; padding: 26px 12px 10px; }
  .ss-sub { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .streetstrip-track { animation: none; }
}

/* ================================
   LIFEFEEL — 生活実感 追記
   ================================ */
.lifefeel-body {
  font-size: 17px;
  line-height: 2;
  color: #2b2b2b;
  font-weight: 500;
  margin: 0;
  text-wrap: pretty;
  max-width: 820px;
}

.income-compare {
  margin: 36px 0 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: clamp(16px, 3vw, 40px);
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid #138a8a;
  border-radius: 6px;
  padding: clamp(28px, 4vw, 44px) clamp(24px, 4vw, 48px) clamp(20px, 3vw, 28px);
  position: relative;
  box-shadow: 0 12px 30px rgba(11,31,59,.06);
}
.ic-side {
  text-align: center;
  padding: 8px 0;
}
.ic-num {
  font-family: var(--font-latin);
  font-weight: 900;
  font-size: clamp(56px, 9vw, 108px);
  color: #0b1f3b;
  line-height: 0.95;
  letter-spacing: -0.02em;
  font-feature-settings: "tnum";
}
.ic-unit {
  font-family: var(--font-jp);
  font-size: 0.32em;
  font-weight: 800;
  color: #2b2b2b;
  margin-left: 6px;
  letter-spacing: 0.04em;
}
.ic-place {
  margin-top: 6px;
  font-size: clamp(15px, 1.6vw, 20px);
  font-weight: 800;
  color: #138a8a;
  letter-spacing: 0.08em;
}
.ic-kumamoto .ic-place { color: #c81d25; }
.ic-tokyo .ic-place { color: #0b1f3b; opacity: .68; }
.ic-divider {
  width: 1px;
  align-self: stretch;
  background: linear-gradient(180deg, transparent, #d7dbe0 25%, #d7dbe0 75%, transparent);
}
.ic-source {
  grid-column: 1 / -1;
  margin-top: clamp(12px, 2vw, 20px);
  padding-top: 14px;
  border-top: 1px dashed #e2e6ec;
  text-align: center;
  font-size: 12px;
  color: #6b7280;
  letter-spacing: 0.04em;
}
@media (max-width: 720px) {
  .income-compare {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 24px 20px;
  }
  .ic-divider {
    width: 60%; height: 1px;
    justify-self: center;
    background: linear-gradient(90deg, transparent, #d7dbe0 25%, #d7dbe0 75%, transparent);
  }
  .ic-num { font-size: 56px; }
  .lifefeel-body { font-size: 16px; }
}

/* ================================
   PROFILE PHOTOS — 1枚集中
   ================================ */
.profile-photos.profile-photos-single {
  grid-template-columns: minmax(320px, 640px);
  justify-content: center;
}
.profile-photos.profile-photos-single .activity-photo {
  aspect-ratio: 16 / 10;
  border-radius: 10px;
}
.profile-photos.profile-photos-single .caption {
  transform: translateY(0);
  opacity: 1;
  font-size: 13px;
  padding: 30px 16px 14px;
}

/* ================================
   ACTIVITY LAYOUT — 日付入り活動ログ + FB (補助的)
   ================================ */
.activity-layout {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 32px;
  margin-top: 32px;
  align-items: start;
}
.activity-log-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid #e5e8ed;
}
.activity-log-list li {
  padding: 22px 4px 22px 0;
  border-bottom: 1px solid #e5e8ed;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 24px;
  align-items: baseline;
}
.al-date {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.al-d {
  font-family: var(--font-latin);
  font-weight: 900;
  font-size: 20px;
  color: #0b1f3b;
  letter-spacing: 0.01em;
}
.al-p {
  font-size: 12.5px;
  font-weight: 700;
  color: #138a8a;
  letter-spacing: 0.04em;
}
.al-body {
  font-size: 15px;
  line-height: 1.9;
  color: #2b2b2b;
}
.activity-log-more {
  margin: 18px 0 0;
  font-size: 14px;
}
.activity-log-more a {
  color: #138a8a;
  font-weight: 800;
  text-decoration: none;
}
.activity-log-more a:hover { text-decoration: underline; }

.activity-fb {
  position: relative;
}
.activity-fb .sns-embed {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #e5e8ed;
  background: #fff;
}
.activity-fb .embed-head {
  padding: 12px 14px;
}
.activity-fb .embed-head .n { font-size: 14px; }
.activity-fb .embed-head .h { font-size: 11px; }
.activity-fb .fb-embed-body iframe { min-height: 560px; }

/* ================================
   ADDITIONS 2026-09 — hero-page cleanup
   ================================ */

/* 県民所得カード：注記 */
.ic-source-note {
  margin-top: 6px;
  font-size: 11.5px;
  color: #8a8f97;
  letter-spacing: 0.02em;
  font-weight: 500;
  line-height: 1.7;
}

/* くらしのいま：大見出しに統一（既存 .lifefeel-eyebrow は非使用に） */
.lifefeel-head .section-eyebrow { color: var(--teal-700); }
.lifefeel-head .section-title { margin-bottom: 24px; }

/* 英語ラベルの非表示（ロゴ／縦書き脇の ITARU UEDA は残す） */
.office-info h4 { display: none !important; }

/* Facebook 埋め込み：中央1カラム、固定高さ、ヘッダー行を隠すためのクリップ */
.activity-fb-solo {
  margin: 40px auto 0;
  max-width: 500px;
  width: 100%;
}
.activity-fb-solo .sns-embed {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #e5e8ed;
  background: #fff;
  box-shadow: 0 12px 30px rgba(11,31,59,.06);
}
.activity-fb-solo .embed-head {
  padding: 14px 16px;
  border-bottom: 1px solid #eef1f4;
  display: flex; align-items: center; gap: 12px;
}
.activity-fb-solo .embed-head .n { font-size: 15px; font-weight: 800; color: #0b1f3b; }
.activity-fb-solo .embed-head .h { font-size: 11.5px; color: #6b7280; letter-spacing: 0.06em; }
.fb-embed-note {
  margin: 0;
  padding: 10px 16px 0;
  font-size: 12.5px;
  color: #6b7280;
  line-height: 1.7;
}
/* 高さを固定して、上端のヘッダー行（フォロワー数など）が残った場合に隠す */
.fb-embed-clip {
  position: relative;
  height: 540px;              /* 固定高さ */
  overflow: hidden;
  margin-top: 10px;
}
.fb-embed-clip iframe {
  position: absolute;
  top: -46px;                 /* ヘッダー行を上に逃がす（表示に応じて 30〜60px で調整） */
  left: 0;
  width: 100%;
  height: calc(100% + 46px);
  min-height: 0;
}
@media (max-width: 720px) {
  .activity-fb-solo { max-width: 100%; padding: 0 12px; }
  .fb-embed-clip { height: 500px; }
}


@media (max-width: 900px) {
  .activity-layout { grid-template-columns: 1fr; gap: 24px; }
  .activity-log-list li {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 18px 0;
  }
  .al-d { font-size: 18px; }
}

/* ================================
   ACTIVITY FEED LAYOUT — FBメイン + 右にX/YT/IG（PC）/下（SP）
   ================================ */
.activity-feed-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 32px;
  margin-top: 40px;
  align-items: start;
}
.activity-fb-main {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #e5e8ed;
  background: #fff;
  box-shadow: 0 12px 30px rgba(11,31,59,.06);
}
.activity-fb-main .embed-head {
  padding: 14px 16px;
  border-bottom: 1px solid #eef1f4;
  display: flex; align-items: center; gap: 12px;
}
.activity-fb-main .embed-head .n { font-size: 15px; font-weight: 800; color: #0b1f3b; }
.activity-fb-main .embed-head .h { font-size: 11.5px; color: #6b7280; letter-spacing: 0.06em; }
.activity-fb-main .fb-embed-clip {
  position: relative;
  height: 720px;
  overflow: hidden;
  margin-top: 0;
}
.activity-fb-main .fb-embed-clip iframe {
  position: absolute;
  top: -46px;
  left: 0;
  width: 100%;
  height: calc(100% + 46px);
  min-height: 0;
}

.activity-sns-side {
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: sticky;
  top: 88px;
}
.sns-side-label {
  font-size: 11.5px;
  font-weight: 800;
  color: #138a8a;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0 4px 4px;
}
.activity-sns-side .sns-link-mini {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 10px;
  border: 1px solid #e5e8ed;
  background: #fff;
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.activity-sns-side .sns-link-mini:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(11,31,59,.08);
  border-color: #cfd7de;
}

@media (max-width: 900px) {
  .activity-feed-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .activity-sns-side {
    position: static;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }
  .activity-sns-side .sns-side-label {
    grid-column: 1 / -1;
    padding: 0 2px;
  }
  .activity-sns-side .sns-link-mini {
    flex-direction: column;
    text-align: center;
    padding: 12px 8px;
    gap: 6px;
  }
  .activity-sns-side .sns-link-mini .mini-cta { display: none; }
  .activity-fb-main .fb-embed-clip { height: 560px; }
}
@media (max-width: 520px) {
  .activity-sns-side .sns-link-mini .mini-text .h { display: none; }
}


/* ================================================================
   OWNER LOGIC (事業オーナーが増えると、なぜ手取りが増えるのか)
   labor-first framing — placed under LIFEFEEL
   ================================================================ */
.owner-logic {
  margin: 56px auto 0;
  max-width: 1120px;
  padding: 40px 36px 44px;
  background: linear-gradient(180deg, #ffffff 0%, var(--teal-50) 100%);
  border: 1px solid var(--teal-100);
  border-radius: 20px;
  box-shadow: 0 20px 60px -30px rgba(1, 63, 82, 0.25);
}
.owner-logic .ol-head { text-align: center; margin-bottom: 32px; }
.owner-logic .ol-eyebrow {
  display: inline-block;
  font-size: 11px; letter-spacing: 0.22em; font-weight: 800;
  color: var(--teal-700);
  background: #fff;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--teal-200);
  margin-bottom: 14px;
}
.owner-logic .ol-title {
  font-size: 28px; font-weight: 900; line-height: 1.45;
  color: var(--navy-800);
  margin: 0 0 14px;
  letter-spacing: 0.01em;
}
.owner-logic .ol-title strong { color: var(--teal-700); }
.owner-logic .ol-sub {
  font-size: 15px; line-height: 1.85; color: var(--ink-2);
  max-width: 720px; margin: 0 auto;
}
.owner-logic .ol-sub strong { color: #c81d25; font-weight: 800; }

.ol-steps {
  list-style: none; padding: 0; margin: 32px 0 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 16px;
  align-items: stretch;
}
.ol-step {
  background: #fff;
  border: 1px solid var(--teal-100);
  border-radius: 16px;
  padding: 22px 20px 20px;
  display: flex; flex-direction: column; gap: 10px;
  position: relative;
  box-shadow: 0 6px 20px -12px rgba(1, 63, 82, 0.2);
}
.ol-step .ol-num {
  font-family: var(--font-latin, 'Inter', sans-serif);
  font-size: 13px; font-weight: 900; letter-spacing: 0.14em;
  color: var(--teal-700);
}
.ol-step .ol-step-title {
  font-size: 17px; font-weight: 900; line-height: 1.5;
  color: var(--navy-800);
}
.ol-step p {
  font-size: 13.5px; line-height: 1.85;
  color: var(--ink-2);
  margin: 0;
}
.ol-step-final {
  background: var(--teal-800);
  border-color: var(--teal-800);
  color: #fff;
}
.ol-step-final .ol-num { color: var(--teal-200); }
.ol-step-final .ol-step-title { color: #fff; }
.ol-step-final p { color: rgba(255,255,255,.9); }

.ol-step-arrow {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: var(--teal-600);
  font-weight: 900;
}

.ol-foot {
  margin: 32px auto 0;
  padding: 22px 24px;
  background: #fff;
  border-left: 4px solid #c81d25;
  border-radius: 6px;
  font-size: 15px; line-height: 1.9;
  color: var(--ink-2);
  max-width: 860px;
}
.ol-foot strong { color: var(--navy-800); font-weight: 900; }

@media (max-width: 900px) {
  .owner-logic { padding: 32px 20px 36px; margin-top: 40px; }
  .owner-logic .ol-title { font-size: 22px; }
  .ol-steps {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .ol-step-arrow {
    font-size: 22px;
    transform: rotate(90deg);
    padding: 4px 0 !important;
  }
}


/* ===================================================================
   日本語の禁則処理と「1文字ぶら下がり」防止
   - 見出し・リード類の折り返しを文節単位に近づけ、末尾1文字だけ
     次行に落ちる現象を抑制する。
   - PC〜タブレット幅（>720px）でのみ厳格に効かせ、狭い画面では
     ブラウザの標準折返しに任せる。
   =================================================================== */
/* 意味の区切りを1行に固めるユーティリティ。
   HTML 側で <span class="nobr">…</span> で囲んだ範囲は改行しない。
   狭い画面（≤720px）ではブラウザの自然折返しに戻す。 */
.nobr { white-space: nowrap; display: inline-block; }
@media (max-width: 720px){
  .nobr { white-space: normal; display: inline; }
}

/* 見出し・リード類は text-wrap: pretty で末尾1文字ぶら下がりを回避。
   line-break: strict は日本語の禁則を強く効かせるための保険。 */
.hero-manifesto-lead,
.hero-manifesto-body,
.hero-manifesto-slam,
.section-title,
.ss-title,
.hero-sub,
.pd-ch h2,
.pd-ch-lead {
  line-break: strict;
  text-wrap: pretty;
}
/* policy カバーは HTML 側で明示的に <br class="cover-br"> を入れているため、
   keep-all も併用して意図した位置以外での折返しを抑える。 */
.pd-cover h1,
.pd-cover-lead {
  word-break: keep-all;
  overflow-wrap: anywhere;
  line-break: strict;
  text-wrap: pretty;
}
/* ヒーロー見出しは HTML 側で行分割済み。各行は原則1行で見せる。
   モバイル幅ではブラウザ標準の折返しに戻す。 */
.hero-title-jp {
  white-space: nowrap;
}
.section-lead,
.lead,
p.lead {
  text-wrap: pretty;
}
@media (max-width: 720px){
  .hero-title-jp { white-space: normal; }
  .pd-cover h1,
  .pd-cover-lead {
    word-break: normal;
    line-break: auto;
  }
}
