:root {
  --navy: #302A2F;
  --navy-deep: #1F1B1F;
  --navy-soft: #52474F;
  --paper: #F9F7F3;
  --paper-alt: #F0EBEA;
  --ink: #414042;
  --ink-soft: #7C7B7B;
  --teal: #746A72;
  --teal-deep: #635C62;
  --line: #E2DADC;
  --focus: #746A72;
  --heading: #4D4049;
}
@media (prefers-color-scheme: dark) {
  :root {
    --navy: #BAAAB7;
    --navy-deep: #1F1B1F;
    --navy-soft: #8F7F8C;
    --paper: #1D1D1E;
    --paper-alt: #312E31;
    --ink: #FAF9F6;
    --ink-soft: #ADACAA;
    --teal: #AB97A7;
    --teal-deep: #BCACB9;
    --line: #4F484E;
    --focus: #AB97A7;
    --heading: #CDBDC9;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Zen Kaku Gothic New", "BIZ UDPGothic", "Yu Gothic UI", "Yu Gothic Medium", "Yu Gothic", "YuGothic", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}
a { color: var(--navy); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}
img, svg { max-width: 100%; }

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

/* ---- nav ---- */
.site-nav {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 28px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.site-logo {
  font-size: 16px; font-weight: 600; letter-spacing: 0.01em; color: #857883; text-decoration: none;
  white-space: nowrap; display: flex; align-items: center; gap: 4px;
}
.logo-mark { width: 70px; height: 70px; display: block; flex-shrink: 0; object-fit: contain; }
.logo-short { display: none; }
.nav-parent-link { display: none; }
@media (min-width: 900px) {
  .nav-parent-link {
    display: block; margin: 0 0 0 12px; font-size: 12.5px; color: var(--ink-soft); white-space: nowrap;
  }
  .nav-parent-link a { color: inherit; text-decoration: underline; }
}
@media (max-width: 1099.98px) {
  .logo-full { display: none; }
}
@media (max-width: 640px) {
  /* PC向けに入れた強制改行(<br class="pc-br">)は、スマホでは解除して自然に折り返す */
  .pc-br { display: none; }
  /* 改行制御用のnowrapスパンも、スマホでは解除してはみ出しを防ぐ */
  .hero p.lede .nw { white-space: normal; }
}

/* hamburger toggle (mobile only) */
.nav-toggle {
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  width: 40px; height: 40px; padding: 0; margin-left: auto;
  border: none; background: none; border-radius: 4px; cursor: pointer;
}
.nav-toggle:hover { background: var(--paper-alt); }
.nav-toggle-bar {
  display: block; width: 22px; height: 2.5px; background: var(--navy); border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

.site-nav-links {
  display: none; gap: 2px; font-size: 15.5px; font-weight: 600; color: var(--ink);
  position: absolute; top: calc(100% - 6px); right: 16px; left: auto; width: max-content; max-width: 260px; flex-direction: column;
  background: var(--paper); border: 1px solid var(--line); border-radius: 12px;
  box-shadow: 0 10px 28px rgba(60, 45, 60, 0.16);
  padding: 8px 18px 12px;
}
@media (max-width: 599.98px) {
  .site-nav .site-logo { margin-right: auto; }
  .site-nav .nav-home { order: 1; margin-left: 0; }
  .site-nav .nav-toggle { order: 2; margin-left: 0; margin-right: 6px; }
  .site-nav .nav-cta { order: 3; }
  .site-nav .nav-parent-link { order: 0; }
}
.site-nav-links.is-open { display: flex; }
.site-nav-links a { color: inherit; text-decoration: none; padding: 10px 4px; white-space: nowrap; }
.site-nav-links a:hover { color: var(--teal); }
.site-nav-links a.is-active { color: var(--teal); }
@media (min-width: 600px) {
  .nav-toggle { display: none; }
  .site-nav-links {
    display: flex; position: static; flex-direction: row; gap: 18px;
    background: none; border: none; border-radius: 0; box-shadow: none; min-width: 0; padding: 0;
  }
  .site-nav-links a { padding: 0; }
}
.nav-cta {
  font-size: 13.5px; font-weight: 600; background: var(--teal); color: #fff;
  padding: 7px 16px; border-radius: 999px; text-decoration: none; white-space: nowrap;
  letter-spacing: 0.02em;
}
.nav-cta:hover { background: var(--teal-deep); }
/* HOME button on MCP pages (corporate mauve, matches the logo gradient) */
.nav-home {
  display: inline-flex; align-items: center; gap: 6px; flex-shrink: 0;
  margin-left: auto; margin-right: 12px;
  padding: 6px 14px 6px 10px; border-radius: 999px; text-decoration: none;
  background: linear-gradient(135deg, #B69CB4 0%, #8F7A8C 100%); color: #fff;
  font-size: 12.5px; font-weight: 700; letter-spacing: 0.08em;
  box-shadow: 0 2px 8px rgba(143, 122, 140, 0.30);
  transition: filter .2s ease, box-shadow .2s ease;
}
.nav-home svg { width: 18px; height: 18px; display: block; }
.nav-home:hover { filter: brightness(1.06); box-shadow: 0 4px 12px rgba(143, 122, 140, 0.38); }
.nav-home:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
@media (min-width: 600px) { .site-nav-links { margin-left: auto; margin-right: 20px; } .site-nav-links + .nav-home { margin-left: 0; } }
@media (max-width: 640px) { .nav-home { padding: 7px; margin-right: 8px; } .nav-home-label { display: none; } }
@media (prefers-reduced-motion: reduce) { .nav-home { transition: none; } }

/* ---- hero (photo background, bold overlay) ---- */
.hero {
  position: relative; padding: 100px 0 90px; overflow: hidden;
  background: linear-gradient(135deg, #C9B7C6 0%, #AB97A7 55%, #8F7A8C 100%);
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background-image: url("hero-abstract.jpg");
  background-size: cover; background-position: center;
}
.hero-overlay {
  position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(135deg, rgba(171,151,167,0.55) 0%, rgba(143,122,140,0.45) 60%, rgba(31,27,31,0.35) 100%);
}
.hero-logo-deco {
  position: absolute; top: 50%; right: -60px; transform: translateY(-50%);
  width: 380px; max-width: 50vw; height: auto; opacity: 0.25; pointer-events: none; z-index: 0;
}
@media (max-width: 640px) { .hero-logo-deco { opacity: 0.16; width: 260px; } }
/* top hero: break only between phrases, never inside them */
.hero .nw { white-space: nowrap; }
.hero.hero-dawn h1 { text-wrap: wrap; font-family: "Cormorant", "Segoe Print", serif; font-style: italic; font-weight: 600; font-size: clamp(34px, 5.2vw, 56px); line-height: 1.2; letter-spacing: 0.01em; letter-spacing: 0; }
.hero.hero-dawn p.lede { max-width: none; text-wrap: wrap; }
.hero.hero-dawn p.lede { margin-bottom: 14px; }
.hero-org { padding-top: 16px; border-top: 1px solid rgba(143,122,140,0.35); text-align: center; }
.hero-org .eyebrow { margin: 0 0 8px; }
.hero-org-name { margin: 0 0 10px; font-size: 15px; font-weight: 600; color: #9A8E98; letter-spacing: 0.03em; }
.hero-about { margin: 0; font-size: 19.5px; font-weight: 600; color: #857883; line-height: 1.8; letter-spacing: 0.02em; }
.hero h1 .dot, .hero-tagline-en .dot { font-size: 0.8em; margin-left: 0.04em; }
/* MCP (business) hero: the keyword "マイクロクレデンシャル導入支援" is the h1 for SEO, but it keeps the original small eyebrow-pill look (h1.eyebrow overrides the generic .hero h1 rule below). The English line is now a <p>, restyled to look exactly like the original h1 tagline. Visual result is unchanged from before. */
.hero.hero-match h1.eyebrow { font-size: 14.5px; font-weight: 700; letter-spacing: 0.14em; color: #7A6378; text-transform: uppercase; margin: 0 0 16px; background: #DCE4F0; display: inline-block; padding: 5px 14px; border-radius: 3px; line-height: normal; word-break: normal; overflow-wrap: normal; text-wrap: initial; }
.hero.hero-match .hero-tagline-en { color: #726A71; font-family: "Cormorant", "Segoe Print", serif; font-style: italic; font-weight: 600; font-size: clamp(32px, 4.8vw, 54px); line-height: 1.2; text-wrap: wrap; letter-spacing: 0; margin: 0 0 20px; word-break: keep-all; overflow-wrap: break-word; }
.hero.hero-match p.lede { color: #50607E; max-width: none; text-wrap: wrap; font-size: 18px; margin-bottom: 0; }
@media (max-width: 640px) { .hero.hero-match .hero-content { text-align: center; padding: 26px 18px; } .hero.hero-match .hero-actions { justify-content: center; } .hero.hero-match h1.eyebrow { font-size: 12px; letter-spacing: 0.04em; } .hero.hero-match .hero-tagline-en { font-size: clamp(21px, 6.2vw, 28px); } .hero.hero-match p.lede { font-size: 15px; } .hero.hero-match .pc-br { display: none; } }
/* dawn-flower gradient button (lavender -> sky -> peach) */
.btn-ghost.btn-bloom {
  background: linear-gradient(120deg, #7670A6 0%, #717EA6 48%, #9C7A78 100%);
  color: #fff; border: none; font-weight: 700; text-shadow: 0 1px 2px rgba(60, 50, 80, 0.25);
  box-shadow: 0 4px 14px rgba(110, 100, 140, 0.20);
  transition: box-shadow .2s ease, transform .2s ease, filter .2s ease;
}
.btn-ghost.btn-bloom:hover { filter: brightness(1.04) saturate(1.08); box-shadow: 0 6px 18px rgba(120, 110, 180, 0.30); transform: translateY(-1px); color: #fff; }
.btn-ghost.btn-bloom:focus-visible { outline: 3px solid #8C93D6; outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .btn-ghost.btn-bloom { transition: none; } .btn-ghost.btn-bloom:hover { transform: none; } }
/* hero card text colors (card is always light): plum-black title, deep plum lede, mauve label */
.hero.hero-dawn h1 { color: #716A71; }
.hero.hero-dawn p.lede { color: #50607E; }
.hero.hero-dawn .eyebrow { color: #7A6378; background: #DCE4F0; }
@media (max-width: 640px) { .hero.hero-dawn .hero-content { text-align: center; padding: 26px 18px; } .hero.hero-dawn .eyebrow { font-size: 12px; letter-spacing: 0.04em; padding: 5px 10px; } .hero.hero-dawn h1 { font-size: clamp(30px, 9vw, 42px); } .hero-about { font-size: clamp(15px, 4.35vw, 17.5px); line-break: strict; letter-spacing: 0; } .hero-about .nw { display: block; white-space: normal; } }
/* dawn palette (top page only): lavender sky -> peach horizon -> periwinkle water */
.hero-dawn .hero-bg { filter: saturate(0.62) hue-rotate(-18deg) brightness(1.07); }
.hero-dawn .hero-overlay {
  background: linear-gradient(to bottom,
    rgba(167, 200, 222, 0.50) 0%,
    rgba(196, 210, 222, 0.36) 24%,
    rgba(232, 214, 222, 0.30) 38%,
    rgba(240, 222, 200, 0.42) 47%,
    rgba(238, 204, 210, 0.42) 53%,
    rgba(214, 192, 210, 0.34) 64%,
    rgba(182, 156, 180, 0.34) 80%,
    rgba(143, 122, 140, 0.40) 100%);
}
/* sunrise glow over the top-page photo (index.html only) */
.hero-sun {
  --sun-x: 11%; --sun-y: 49%;
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(circle at var(--sun-x) var(--sun-y), rgba(255,244,214,1) 0, rgba(255,222,160,0.95) 1.6%, rgba(255,186,124,0.55) 4.5%, rgba(255,160,140,0.22) 13%, rgba(255,160,140,0) 30%),
    radial-gradient(ellipse 2.6% 20% at var(--sun-x) calc(var(--sun-y) + 17%), rgba(255,212,160,0.5) 0, rgba(255,212,160,0) 100%),
    radial-gradient(ellipse 55% 7% at var(--sun-x) calc(var(--sun-y) + 1%), rgba(255,200,150,0.45) 0, rgba(255,200,150,0) 100%);
  mix-blend-mode: screen;
  animation: hero-sunrise 3.2s ease-out both;
}
@media (max-width: 640px) { .hero-sun { --sun-x: 78%; --sun-y: 47%; } }
@keyframes hero-sunrise {
  from { opacity: 0; transform: translateY(5%); }
  to   { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) { .hero-sun { animation: none; } }
.hero .wrap { display: flex; justify-content: center; }
.hero-content {
  position: relative; z-index: 1; max-width: 860px; width: 100%;
  background: rgba(255,253,248,0.9); padding: 32px 36px; border-radius: 12px;
  text-align: center;
}
.hero-actions { justify-content: center; }
.eyebrow {
  font-size: 14.5px; font-weight: 700; letter-spacing: 0.14em; color: var(--teal-deep);
  text-transform: uppercase; margin: 0 0 16px; background: rgba(255,255,255,0.92);
  display: inline-block; padding: 5px 14px; border-radius: 3px;
}
.hero h1 {
  font-family: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "BIZ UDPGothic", "BIZ UDGothic", "Yu Gothic UI", sans-serif;
  font-size: clamp(30px, 4.6vw, 44px); line-height: 1.5;
  margin: 0 0 20px; font-weight: 700; text-wrap: balance; color: var(--navy-deep);
  word-break: keep-all; overflow-wrap: break-word;
}
.hero p.lede { color: var(--ink-soft); font-size: 19px; max-width: 48ch; margin: 0 0 30px; font-weight: 600; text-wrap: balance; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.btn-primary {
  background: var(--teal); color: #fff; font-size: 16.5px; padding: 15px 30px;
  border-radius: 999px; text-decoration: none; display: inline-block; font-weight: 700;
}
.btn-primary:hover { background: var(--teal-deep); }
.btn-ghost {
  border: 2px solid var(--navy); color: var(--navy); font-size: 16.5px; padding: 13px 28px;
  border-radius: 999px; text-decoration: none; display: inline-block; font-weight: 700;
}
.btn-ghost:hover { background: rgba(30,58,95,0.08); }
.hero-reassure { font-size: 14.5px; color: var(--ink-soft); margin: 18px 0 0; font-weight: 600; }

/* solid divider band (Umidas-style) */
.band { height: 14px; background: var(--teal); }

/* ---- sections ---- */
.section { padding: 52px 0; scroll-margin-top: 104px; }
#top { scroll-margin-top: 0; }
.section.alt { background: var(--paper-alt); }
.section h2 {
  font-family: "BIZ UDGothic", "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", sans-serif;
  font-size: clamp(21px, 3vw, 28px); margin: 0 0 10px; font-weight: 700; color: var(--heading);
}
.section-lede .nw { white-space: nowrap; }
.section h2 .nw { white-space: nowrap; }
.article-title .nw { white-space: nowrap; }
.section .section-lede {
  color: var(--ink-soft); font-size: 18px; margin: 0 0 28px; max-width: 40em; font-weight: 600;
  word-break: normal; line-break: strict; overflow-wrap: break-word;
}

/* block-level centering for text-only sections (text itself stays left-aligned;
   the whole block is centered within the wider .wrap so it doesn't read as
   left-leaning next to the centered hero). Grid-based sections (services,
   pricing, strengths, flow) are intentionally excluded: centering just the
   intro text there would misalign it from the full-width grid below it. */
#mission h2, #greeting h2, #corp h2, #business h2, #founder h2, #member h2 {
  max-width: 40em; margin-left: auto; margin-right: auto;
}
#mission .section-lede, #greeting .greeting-body, #corp .org-info, #business .section-lede, #member .section-lede {
  margin-left: auto; margin-right: auto;
}
.sources {
  max-width: 720px; margin: 8px auto 0; padding-top: 14px; border-top: 1px solid var(--line);
  color: var(--ink-soft); font-size: 11px; line-height: 1.6;
}
.sources summary { cursor: pointer; font-weight: 700; font-size: 12px; width: fit-content; }
.sources ol { margin: 6px 0 0; padding-left: 1.6em; }
.img-text { max-width: 900px; margin: 0 auto 20px; font-size: 11px; line-height: 1.7; color: var(--ink-soft); }
.img-text summary { cursor: pointer; font-size: 10.5px; font-weight: 400; opacity: 0.55; width: fit-content; }
.img-text summary:hover, .img-text summary:focus-visible { opacity: 0.85; }
.img-text div { margin-top: 8px; }
.img-text p { margin: 8px 0 0; }
.img-text ul { margin: 8px 0 0; padding-left: 1.4em; }
.img-text-title { font-weight: 700; color: var(--ink); opacity: 1; margin-top: 0; }
.compare-table { width: 100%; border-collapse: collapse; margin: 10px 0 0; font-size: 12.5px; }
.compare-table th { background: var(--teal); color: #fff; font-weight: 700; padding: 8px 12px; text-align: left; }
.compare-table td { border: 1px solid var(--line); padding: 10px 12px; vertical-align: top; width: 50%; }
.compare-table ul { margin: 0; padding-left: 1.2em; }
.compare-table li { margin: 0 0 4px; }
.compare-note { margin: 10px 0 0; font-size: 11px; }
@media (max-width: 480px) {
  .compare-table { font-size: 11px; }
  .compare-table th, .compare-table td { padding: 7px 8px; }
}
#mission img { margin-left: auto; margin-right: auto; }
#founder .profile-row { max-width: 680px; margin-left: auto; margin-right: auto; }

/* voice quote */
.voice-quote {
  font-size: clamp(22px, 3vw, 28px); font-weight: 800;
  color: var(--navy); border-left: 6px solid var(--teal);
  padding: 6px 0 6px 22px; margin: 0 0 30px; text-wrap: balance;
}

/* pain points */
.pain-list { display: grid; gap: 14px; padding: 0; margin: 0; list-style: none; }
@media (min-width: 720px) {
  .pain-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pain-list li:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
.pain-list li {
  font-size: 18px; font-weight: 600; padding: 14px 18px 14px 44px; position: relative; color: var(--ink);
  background: var(--paper-alt); border-radius: 6px; border-left: 4px solid var(--navy);
}
.pain-list li::before { content: "✓"; position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--teal); font-weight: 800; font-size: 19px; }

.diag-promo {
  margin-top: 28px; padding: 22px 26px; border-radius: 10px;
  background: var(--paper); border: 2px dashed var(--teal);
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 16px;
}
.diag-promo-text { margin: 0; font-size: 16px; font-weight: 700; color: var(--navy); }

.bridge-bubble {
  position: relative; max-width: 820px; margin: 56px auto -20px; z-index: 1;
}
@media (min-width: 600px) {
  .bridge-bubble { margin-bottom: -50px; }
}
@media (min-width: 860px) {
  .bridge-bubble { margin-bottom: -85px; }
}
#concerns { padding-bottom: 56px; }
.bridge-bubble-shape { display: block; width: 100%; height: auto; }
.bridge-bubble-text {
  position: absolute; top: 0; left: 0; width: 100%; height: 60%;
  display: flex; align-items: center; justify-content: center; text-align: center;
  margin: 0; padding: 0 12%;
  font-size: clamp(14px, 3.6vw, 26px); font-weight: 800; line-height: 1.5; color: var(--navy);
  white-space: nowrap;
}
@media (max-width: 480px) {
  .bridge-bubble-text { white-space: normal; }
}

/* strengths — bold numbered cards */
.strength-grid { display: grid; gap: 18px; counter-reset: strength; }
@media (min-width: 640px) {
  .strength-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .strength-grid .strength-card:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
.strength-card {
  background: #635C62; color: #fff; border-radius: 8px; padding: 26px 22px;
  font-size: 17px; font-weight: 600; line-height: 1.75; position: relative;
}
.strength-card::before {
  counter-increment: strength; content: counter(strength, decimal-leading-zero);
  display: block; font-size: 27px; font-weight: 800; color: var(--teal); margin-bottom: 12px;
}

/* services — photo-topped Umidas-style cards */
.service-grid { display: grid; gap: 24px; }
@media (min-width: 720px) { .service-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.service-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: 8px; overflow: hidden;
  box-shadow: 0 2px 10px rgba(20,39,63,0.06);
}
.service-photo {
  position: relative; aspect-ratio: 4/3; background-size: cover; background-position: center;
}
.service-photo-badge svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.service-photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,39,63,0.05) 40%, rgba(20,39,63,0.82) 100%);
}
.service-photo .photo-label {
  position: absolute; left: 16px; bottom: 14px; z-index: 1; color: #fff;
  font-size: 17.5px; font-weight: 800; text-shadow: 0 1px 3px rgba(0,0,0,0.4);
}
.service-body { padding: 22px; }
.service-card p.tagline { font-size: 14.5px; color: var(--teal-deep); font-weight: 700; margin: 0 0 14px; }
.service-card ul { margin: 0; padding-left: 18px; font-size: 16px; color: var(--ink-soft); }
.service-card li { margin-bottom: 6px; font-weight: 500; }

/* pricing */
.price-message {
  background: #635C62; color: #fff; border-radius: 10px;
  padding: 40px 36px; margin: 0 0 20px;
}
.price-message-main {
  font-size: clamp(19px, 2.6vw, 24px); font-weight: 800; line-height: 1.7;
  margin: 0 0 22px; text-wrap: balance;
}
.price-message-monitor {
  background: #fdf0e0; border: 2px solid #e0a76e;
  border-radius: 10px; padding: 22px 24px; display: flex; flex-direction: column; gap: 12px;
  box-shadow: 0 0 0 4px rgba(224,167,110,0.18), 0 8px 20px rgba(0,0,0,0.22);
}
.monitor-badge {
  display: inline-flex; align-items: center; gap: 6px; align-self: flex-start;
  background: linear-gradient(135deg, #dba066, #c98c53); color: #fff;
  font-size: 14.5px; font-weight: 800; letter-spacing: 0.03em; padding: 7px 18px; border-radius: 999px;
  box-shadow: 0 3px 10px rgba(201,140,83,0.45);
}
.price-message-monitor p { margin: 0; font-size: 17.5px; font-weight: 700; color: #302A2F; line-height: 1.85; }
.monitor-period { display: block; font-size: 14px; color: #7C7B7B; font-weight: 600; margin-top: 4px; }
.pricing-cta { text-align: center; margin-top: 28px; }
.table-wrap { overflow-x: auto; margin-top: 26px; }

/* column (note) */
.column-box {
  background: var(--paper); border: 1px solid var(--line); border-left: 4px solid var(--teal);
  border-radius: 8px; padding: 28px 30px; max-width: 72ch;
}
.column-box p { margin: 0 0 20px; font-size: 16.5px; color: var(--ink); font-weight: 500; line-height: 1.85; }
.column-list { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 20px; }
/* PC: articles flow sideways (newest on the left), scroll when there are many */
@media (min-width: 640px) {
  #column .column-box { max-width: none; }
  #column .column-list { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x proximity; padding: 4px 2px 14px; margin-bottom: 0; }
  #column .column-list li { flex: 0 0 260px; scroll-snap-align: start; }
  #column .column-list a { height: 100%; }
}
.column-list a {
  display: block; border-radius: 8px; overflow: hidden; text-decoration: none; color: var(--ink);
  border: 1px solid var(--line); background: var(--paper);
  box-shadow: 0 2px 10px rgba(20,39,63,0.06);
}
.column-thumb { display: block; aspect-ratio: 16/9; background-size: cover; background-position: center; background-color: var(--paper-alt); }
.column-title { display: block; padding: 14px 16px; font-size: 15.5px; font-weight: 700; line-height: 1.6; }
.column-list a:hover .column-title { color: var(--teal); }
.column-thumb.column-thumb-top { background-position: center top; }
.column-date { display: block; padding: 12px 16px 0; font-size: 12.5px; color: var(--ink-soft); letter-spacing: 0.04em; font-variant-numeric: tabular-nums; }
.column-date + .column-title { padding-top: 4px; }
.column-note { display: block; margin-top: 8px; font-size: 13.5px; font-weight: 600; color: #50607E; }
.column-ext { display: block; margin-top: 6px; font-size: 12.5px; font-weight: 500; color: var(--ink-soft); }
.new-badge { display: inline-block; font-size: 10.5px; font-weight: 700; color: #fff; background: var(--teal); padding: 2px 8px; border-radius: 10px; margin-bottom: 6px; }
.refs-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.refs-list a {
  display: inline-flex; align-items: center; gap: 8px; color: var(--navy); font-size: 16.5px; font-weight: 700;
  text-decoration: none;
}
.refs-list a::before { content: "→"; color: var(--teal); font-weight: 800; }
.refs-list a:hover { color: var(--teal-deep); }

/* article page */
.article-wrap { max-width: 760px; }
.article-back { margin: 0 0 20px; font-size: 14.5px; }
.article-back a { color: var(--teal-deep); font-weight: 700; text-decoration: none; }
.article-back a:hover { text-decoration: underline; }
.article-back-bottom { margin: 40px 0 0; }
.article-title {
  font-family: "BIZ UDGothic", "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", sans-serif;
  font-size: clamp(24px, 4vw, 32px); font-weight: 700; color: var(--navy); line-height: 1.5;
  margin: 0 0 24px; text-wrap: balance;
}
.article-eyecatch {
  aspect-ratio: 16/9; background-size: cover; background-position: center;
  border-radius: 8px; margin-bottom: 36px;
}
.article-body p { font-size: 16.5px; line-height: 1.95; margin: 0 0 22px; color: var(--ink); }
.article-body h2 {
  font-size: 22px; font-weight: 800; color: var(--navy); margin: 48px 0 20px;
  padding-top: 8px; border-top: 1px solid var(--line);
}
.article-body h2:first-child { border-top: none; padding-top: 0; margin-top: 0; }
.article-body h3 { font-size: 18px; font-weight: 800; color: var(--ink); margin: 32px 0 16px; }
.article-body blockquote {
  margin: 0 0 22px; padding: 18px 22px; background: var(--paper-alt);
  border-left: 4px solid var(--teal); border-radius: 4px;
}
.article-body blockquote p { margin: 0 0 8px; font-size: 15.5px; color: var(--ink-soft); }
.article-body blockquote p:last-child { margin-bottom: 0; }
.article-body ul { margin: 0 0 22px; padding-left: 22px; }
.article-body ul li { margin-bottom: 14px; font-size: 16.5px; line-height: 1.85; }
.article-refs { margin: 0 0 32px; padding-left: 22px; }
.article-refs li { margin-bottom: 10px; font-size: 14.5px; color: var(--ink-soft); line-height: 1.7; }
.article-disclaimer { font-size: 13px; color: var(--ink-soft); border-top: 1px solid var(--line); padding-top: 20px; }

/* diagnosis tool */
.diag-form { display: flex; flex-direction: column; gap: 28px; margin-top: 36px; }
.diag-form[hidden] { display: none; }
.diag-q {
  border: 1px solid var(--line); border-radius: 10px; padding: 22px 24px;
  background: var(--paper-alt); margin: 0;
}
.diag-q-legend {
  font-size: 16.5px; font-weight: 800; color: #50607E; padding: 0 4px; margin: 0 0 14px;
}
.diag-q label {
  display: block; font-size: 15.5px; font-weight: 500; color: var(--ink);
  padding: 8px 4px; cursor: pointer;
}
@media (min-width: 760px) {
  .diag-q label { font-size: 18px; padding: 9px 4px; }
}
.diag-q input { margin-right: 10px; }
.diag-submit { text-align: center; }
.diag-submit .btn-primary { font-size: 17px; padding: 16px 40px; border: none; cursor: pointer; }
.diag-result {
  margin-top: 36px; padding: 32px 30px; border: 2px solid var(--teal); border-radius: 10px;
  background: var(--paper);
}
.diag-result h2 { color: var(--navy); font-size: 22px; margin: 14px 0 12px; }
.diag-result p { color: var(--ink); font-size: 16px; line-height: 1.85; margin: 0 0 18px; }
.diag-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 4px; }
.diag-badge-pattern { background: #635C62; }
.diag-summary {
  background: var(--paper-alt); border-left: 4px solid var(--teal); border-radius: 4px;
  padding: 16px 20px; font-size: 15px; color: var(--ink);
}
.diag-subhead { color: var(--navy); font-size: 17px; font-weight: 800; margin: 28px 0 12px; }
.diag-points { margin: 0 0 26px; padding-left: 22px; }
.diag-points li { font-size: 15.5px; color: var(--ink); margin-bottom: 8px; }
.diag-disclaimer { font-size: 13px; color: var(--ink-soft); border-top: 1px solid var(--line); padding-top: 18px; margin-bottom: 0; }
.diag-retry { margin: 16px 0 0; font-size: 14px; }
.diag-retry a { color: var(--teal-deep); font-weight: 700; }
table.price {
  width: 100%; border-collapse: collapse; font-size: 15.5px; min-width: 560px;
}
table.price th, table.price td {
  text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top;
}
table.price th { background: #635C62; color: #fff; font-weight: 700; font-size: 13.5px; }
table.price td.amount { font-variant-numeric: tabular-nums; white-space: nowrap; color: var(--navy); font-weight: 800; }
.price-note { font-size: 13.5px; color: rgba(255,255,255,0.75); margin-top: 16px; }

/* flow */
.flow-row { display: grid; gap: 26px; }
@media (min-width: 720px) { .flow-row { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.flow-item { position: relative; background: var(--paper); border-radius: 8px; overflow: hidden; border-top: 4px solid var(--teal); box-shadow: 0 2px 10px rgba(20,39,63,0.06); }
.flow-photo { aspect-ratio: 4/3; background-size: cover; background-position: center; }.flow-body { padding: 20px 20px 24px; }
.flow-item .flow-num {
  font-size: 29px; font-weight: 800; color: var(--navy); display: block; margin-bottom: 10px;
}
.flow-item h3 { font-size: 16.5px; margin: 0 0 6px; font-weight: 800; color: var(--ink); }
.flow-item p { font-size: 15.5px; color: var(--ink-soft); margin: 0; font-weight: 500; }
.flow-footnote { font-size: 13.5px; color: var(--ink-soft); margin-top: 28px; }

/* greeting (top page) */
.greeting-body { max-width: 40em; }
.greeting-body p { font-size: 18px; line-height: 1.85; color: var(--ink-soft); font-weight: 600; margin: 0 0 1.4em; }
.greeting-rmc { margin: 0 0 1.6em; padding: 18px 22px; border-left: 4px solid var(--teal); background: var(--paper); border-radius: 0 8px 8px 0; display: grid; gap: 8px; }
.greeting-rmc > div { display: flex; align-items: flex-start; gap: 16px; }
.greeting-rmc dt { font-size: 26px; font-weight: 800; color: var(--navy); line-height: 1.3; }
.greeting-rmc dd { margin: 0; font-size: 16.5px; color: var(--ink); font-weight: 600; line-height: 1.3; }
.greeting-rmc dd span { font-weight: 800; color: var(--navy); }
.greeting-body p.greeting-sign { text-align: right; margin: 2em 0 0; font-size: 15px; color: var(--ink-soft); }
.greeting-sign-name { display: block; font-size: 16px; font-weight: 500; color: var(--ink); margin-top: 4px; letter-spacing: 0.08em; }

/* member sign-up (top page) */
.contact-form.member-form { margin: 24px auto 0; max-width: 560px; }
.member-form .diag-submit { text-align: left; }
.member-interests { margin-top: 6px; }
.member-interests-label { font-size: 15.5px; font-weight: 700; color: var(--ink); margin: 0 0 4px; padding: 0 4px; }
.member-interests-note { font-weight: 500; font-size: 13.5px; color: var(--ink-soft); margin-left: 4px; }
.member-interests label { display: flex; align-items: flex-start; gap: 10px; padding: 6px 4px; font-size: 15.5px; cursor: pointer; }
.member-interests input { margin: 0.3em 0 0; width: 18px; height: 18px; flex-shrink: 0; accent-color: var(--teal-deep); }
.contact-newsletter-field label { font-size: 14px; font-weight: 500; color: var(--ink-soft); }
.member-privacy { font-size: 13.5px; color: var(--ink-soft); margin: 0; }
.member-privacy a { color: var(--teal-deep); }
.member-error { font-size: 14px; color: #b0432f; margin: 0; font-weight: 700; }
.member-success { max-width: 560px; margin: 24px auto 0; }
.member-success p { margin: 0; font-weight: 600; }

/* profile */
.profile-body { max-width: 68ch; font-size: 16.5px; color: var(--ink); font-weight: 500; }
.profile-body strong { color: var(--navy); }
.profile-name { font-size: 16px; font-weight: 500; margin: 0 0 14px; color: var(--ink); letter-spacing: 0.04em; }
.profile-row { display: flex; gap: 28px; flex-wrap: wrap; align-items: flex-start; }
.profile-photo {
  width: 170px; max-width: 100%; height: auto; aspect-ratio: 3 / 4; border-radius: 10px; object-fit: cover; flex-shrink: 0;
  box-shadow: 0 6px 20px rgba(20,39,63,0.14);
}
@media (max-width: 600px) { .profile-photo { width: 50%; max-width: 200px; } }
.profile-text { flex: 1; min-width: 240px; }

/* section heading icon (diamond motif, echoes the logo mark) */
.section-icon {
  display: inline-block; width: 13px; height: 13px; margin: 0 12px 0 2px; vertical-align: middle; position: relative; top: -0.1em;
  background: var(--teal); transform: rotate(45deg); border-radius: 2px;
}

/* partners photo band */
.partner-photo {
  aspect-ratio: 21/9; background-size: cover; background-position: center 30%;
  border-radius: 8px; margin-bottom: 28px; position: relative; overflow: hidden;
}
.partner-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(20,39,63,0.55), rgba(20,39,63,0)); }

/* faq */
.faq-item { border-top: 1px solid var(--line); padding: 20px 0; }
.faq-item:first-child { border-top: none; }
.faq-q { font-size: 16.5px; font-weight: 800; margin: 0 0 8px; display: flex; gap: 12px; color: #50607E; }
.faq-q .q-mark { color: var(--teal); font-weight: 800; }
.faq-a { font-size: 16.5px; color: var(--ink-soft); margin: 0; padding-left: 28px; font-weight: 500; }
.faq-source { font-size: 12.5px; color: var(--ink-soft); margin: 10px 0 0; padding-left: 28px; opacity: .8; }

/* contact */
.contact-box {
  background: #635C62; color: #fff; border-radius: 10px;
  padding: 44px 36px; text-align: center; max-width: 620px; margin: 0 auto;
}
.contact-box p { color: rgba(255,255,255,0.9); font-size: 17.5px; margin: 0 0 26px; font-weight: 500; }
.contact-box .btn-primary { font-size: 17px; padding: 16px 36px; }
.contact-note { font-size: 13.5px; color: rgba(255,255,255,0.75); margin-top: 20px; }
.contact-lede { text-align: center; font-size: 17px; font-weight: 600; color: var(--ink-soft); margin: 8px 0 0; }
.contact-form { max-width: 620px; margin: 28px auto 0; }
.contact-field {
  display: block; font-size: 15.5px; font-weight: 700; color: var(--ink);
  margin-bottom: 12px;
}
.contact-field:last-child { margin-bottom: 0; }
.diag-q .contact-field { padding: 4px; }
.contact-field .req {
  font-size: 15.5px; font-weight: 700; color: #b0432f; margin-left: 4px;
  vertical-align: middle;
}
.contact-field input, .contact-field textarea, .contact-field select {
  display: block; width: 100%; margin-top: 8px; padding: 12px 14px;
  border: 1px solid var(--line); border-radius: 6px; font-size: 15.5px;
  font-family: inherit; color: var(--ink); background: var(--paper);
  box-sizing: border-box; resize: vertical;
}
.contact-privacy-note {
  font-size: 13.5px; color: var(--ink-soft); text-align: center; margin-top: 24px;
}
.contact-privacy-note a { color: var(--teal-deep); font-weight: 700; }

/* back to top */
.back-to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 15;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--teal); color: #fff; text-decoration: none;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; font-weight: 800; line-height: 1;
  box-shadow: 0 4px 14px rgba(20,39,63,0.28);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--teal-deep); }

/* footer */
.site-footer { background: var(--paper-alt); }
.site-footer-inner {
  padding: 30px 24px 40px; font-size: 13.5px; color: var(--ink-soft);
  display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; flex-wrap: wrap;
}
.site-footer a { color: var(--ink-soft); }
.footer-fine-print { font-size: 11px; opacity: 0.7; max-width: 46ch; }

/* corp info (法人概要) */
.org-info { margin: 0; display: grid; gap: 14px; max-width: 68ch; }
.org-info > div { display: grid; grid-template-columns: 7em 1fr; gap: 12px; border-top: 1px solid var(--line); padding-top: 14px; }
.org-info > div:first-child { border-top: none; padding-top: 0; }
.org-info dt { margin: 0; font-size: 14.5px; font-weight: 700; color: var(--ink-soft); }
.org-info dd { margin: 0; font-size: 16px; color: var(--ink); font-weight: 500; }
