:root {
  --blue: #2E6BE6;
  --blue-dark: #1E4FB8;
  --blue-pale: #EAF2FE;
  --pale: #F6FAFF;
  --yellow: #FFC93C;
  --yellow-dark: #F5B914;
  --ink: #223047;
  --gray: #64748B;
  --white: #FFFFFF;
  --radius: 20px;
  --font-round: 'Zen Maru Gothic', sans-serif;
  --font-body: 'Noto Sans JP', sans-serif;
  --shadow: 0 6px 28px rgba(46, 107, 230, 0.10);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.8;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

/* ===== Header ===== */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 40px;
  padding-top: calc(env(safe-area-inset-top, 0px) + 14px);
  padding-left: max(40px, env(safe-area-inset-left, 0px));
  padding-right: max(40px, env(safe-area-inset-right, 0px));
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid rgba(46, 107, 230, 0.08);
}
.logo { display: flex; align-items: center; }
.logo svg { height: 34px; width: auto; display: block; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a {
  font-size: 15px; font-weight: 500; color: var(--ink);
  transition: color 0.2s;
}
.nav a:hover { color: var(--blue); }
.nav .nav-cta {
  background: var(--yellow); color: var(--ink);
  font-family: var(--font-round); font-weight: 700;
  padding: 10px 26px; border-radius: 999px;
  box-shadow: 0 3px 12px rgba(245, 185, 20, 0.35);
  transition: transform 0.2s, box-shadow 0.2s;
}
.nav .nav-cta:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(245, 185, 20, 0.45); color: var(--ink); }
.header-toggle {
  display: none; background: none; border: none; cursor: pointer;
  width: 32px; height: 32px;
  flex-direction: column; justify-content: center; align-items: center;
  gap: 5px; padding: 0; z-index: 101;
}
.header-toggle span {
  display: block; width: 22px; height: 2px; border-radius: 2px;
  background: var(--ink);
  transition: transform 0.3s, opacity 0.2s;
}
.header-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.header-toggle.is-open span:nth-child(2) { opacity: 0; }
.header-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Hero ===== */
.hero {
  position: relative;
  padding-top: calc(env(safe-area-inset-top, 0px) + 62px);
  background: var(--pale);
  overflow: hidden;
}
.hero-media { position: relative; overflow: hidden; }
.hero-media img {
  display: block; width: 100%; height: auto;
  aspect-ratio: 2688 / 1520; object-fit: cover;
  margin-top: -4%;
}
.hero-overlay {
  position: absolute; top: 0; left: 0; right: 0; height: 62%;
  background: linear-gradient(180deg,
    var(--pale) 0%,
    rgba(246, 250, 255, 0.85) 34%,
    rgba(246, 250, 255, 0.4) 68%,
    rgba(246, 250, 255, 0) 100%);
}
.hero-text {
  position: absolute; top: 5.5%; left: 0; right: 0;
  text-align: center; padding: 0 24px;
}
.hero-inner {
  max-width: 860px; margin: 0 auto;
  display: flex; flex-direction: column; align-items: center;
  text-align: center;
  position: relative; z-index: 2;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--white); color: var(--blue);
  font-size: 13px; font-weight: 700;
  padding: 7px 16px; border-radius: 999px;
  box-shadow: var(--shadow);
  margin-bottom: 24px;
}
.hero-eyebrow svg { width: 15px; height: 15px; }
.hero-title {
  font-family: var(--font-round);
  font-size: clamp(38px, 4.6vw, 58px);
  font-weight: 900; line-height: 1.35; letter-spacing: 0.02em;
  margin-bottom: 22px;
}
.hero-title .marker {
  background: linear-gradient(transparent 62%, var(--yellow) 62%);
}
.hero-lead { font-size: 15.5px; color: var(--gray); max-width: 640px; margin: 0 auto; }
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; justify-content: center; }
.hero-cta-block {
  background: var(--white); text-align: center;
  padding: 46px 24px 10px;
}
.hero-cta-block .hero-ctas { margin-bottom: 26px; }
.hero-cta-block .btn-ghost { background: var(--pale); }
.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--yellow); color: var(--ink);
  font-family: var(--font-round); font-size: 18px; font-weight: 700;
  padding: 18px 44px; border-radius: 999px;
  box-shadow: 0 6px 20px rgba(245, 185, 20, 0.4);
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 10px 26px rgba(245, 185, 20, 0.5); }
.btn-primary svg { width: 18px; height: 18px; transition: transform 0.2s; }
.btn-primary:hover svg { transform: translateX(4px); }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--blue); font-size: 15px; font-weight: 700;
  padding: 13px 26px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: opacity 0.2s;
}
.btn-ghost:hover { opacity: 0.7; }
.hero-badges { display: flex; gap: 12px; margin-bottom: 0; flex-wrap: wrap; justify-content: center; }
.hero-badge {
  display: flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.85); border-radius: 999px;
  font-size: 13px; font-weight: 700; color: var(--ink);
  padding: 8px 16px;
}
.hero-badge svg { width: 16px; height: 16px; flex-shrink: 0; }

/* Hero visual (photo) */
.hero-visual { position: relative; display: flex; justify-content: center; margin-top: 44px; width: 100%; }
.hero-photo { position: relative; width: 100%; max-width: 780px; }
.hero-photo img {
  width: 100%; height: auto; display: block; border-radius: 28px;
  box-shadow: 0 18px 50px rgba(46, 107, 230, 0.18);
}
.hp-dot { position: absolute; border-radius: 50%; }
.hp-dot-a { width: 46px; height: 46px; background: var(--yellow); top: -18px; right: -14px; animation: floaty 4s ease-in-out infinite; }
.hp-dot-b { width: 26px; height: 26px; background: var(--blue); bottom: 34px; left: -13px; opacity: 0.85; animation: floaty 5.5s 0.6s ease-in-out infinite; }
.hp-dot-c { width: 16px; height: 16px; background: var(--yellow); bottom: -10px; right: 64px; animation: floaty 4.8s 1.1s ease-in-out infinite; }
.blob {
  position: absolute; border-radius: 50%; z-index: 1;
  filter: blur(0px);
}
.blob-1 { width: 340px; height: 340px; background: rgba(46,107,230,0.07); top: -80px; right: -100px; }
.blob-2 { width: 220px; height: 220px; background: rgba(255,201,60,0.16); bottom: -60px; left: -60px; }
.float-anim { animation: floaty 5s ease-in-out infinite; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* ===== Sections common ===== */
.section { padding: 120px 40px; }
.section-inner { max-width: 1120px; margin: 0 auto; }
.section-eyebrow {
  font-family: var(--font-round); font-size: 14px; font-weight: 700;
  color: var(--blue); letter-spacing: 0.12em; text-transform: uppercase;
  margin-bottom: 12px; display: flex; align-items: center; gap: 10px;
}
.section-eyebrow::before {
  content: ""; width: 22px; height: 3px; border-radius: 3px; background: var(--yellow);
}
.section-title {
  font-family: var(--font-round);
  font-size: clamp(28px, 3.4vw, 40px); font-weight: 900; line-height: 1.4;
  margin-bottom: 20px;
}
.section-lead { font-size: 16px; color: var(--gray); max-width: 680px; margin-bottom: 56px; }

/* fade in */
.fade { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.fade.is-visible { opacity: 1; transform: translateY(0); }

/* ===== About ===== */
.about-wrap {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 64px;
  align-items: center; margin-bottom: 64px;
}
.about-wrap .section-lead { margin-bottom: 0; }
.about-photo { position: relative; }
.about-photo::before {
  content: ""; position: absolute; width: 130px; height: 130px;
  border-radius: 50%; background: var(--yellow);
  right: -26px; bottom: -26px; z-index: 0; opacity: 0.9;
}
.about-photo::after {
  content: ""; position: absolute; width: 90px; height: 90px;
  border-radius: 50%; background: var(--blue-pale);
  left: -22px; top: -22px; z-index: 0;
}
.about-photo img {
  position: relative; z-index: 1;
  width: 100%; height: auto; display: block; border-radius: 28px;
  box-shadow: var(--shadow);
}
.about-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.about-card {
  background: var(--pale); border-radius: var(--radius);
  padding: 40px 32px; text-align: center;
  transition: transform 0.25s, box-shadow 0.25s;
}
.about-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.about-icon {
  width: 72px; height: 72px; border-radius: 50%;
  background: var(--white); box-shadow: var(--shadow);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 22px;
}
.about-icon svg { width: 34px; height: 34px; }
.about-card h3 {
  font-family: var(--font-round); font-size: 19px; font-weight: 700; margin-bottom: 12px;
}
.about-card p { font-size: 14.5px; color: var(--gray); text-align: left; }

/* ===== Services ===== */
.services { background: var(--blue-pale); }
.service-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.service-card {
  background: var(--white); border-radius: var(--radius);
  padding: 36px; display: flex; gap: 24px; align-items: flex-start;
  box-shadow: 0 2px 12px rgba(46,107,230,0.06);
  transition: transform 0.25s, box-shadow 0.25s;
  position: relative;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.service-icon {
  width: 64px; height: 64px; flex-shrink: 0; border-radius: 18px;
  background: var(--blue-pale);
  display: flex; align-items: center; justify-content: center;
}
.service-icon svg { width: 30px; height: 30px; }
.service-body { min-width: 0; }
.service-body h3 {
  font-family: var(--font-round); font-size: 20px; font-weight: 700;
  margin-bottom: 4px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
}
.service-tag {
  font-size: 11px; font-weight: 700; color: var(--blue);
  background: var(--blue-pale); border-radius: 999px; padding: 3px 10px;
}
.service-body p { font-size: 14.5px; color: var(--gray); margin-bottom: 14px; }
.service-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 14px; font-weight: 700; color: var(--blue);
}
.service-link svg { width: 14px; height: 14px; transition: transform 0.2s; }
.service-card:hover .service-link svg { transform: translateX(4px); }
.service-card.wide { grid-column: 1 / -1; }

/* ===== Flow ===== */
.flow-list {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px;
  counter-reset: step;
}
.flow-item {
  background: var(--pale); border-radius: var(--radius);
  padding: 30px 22px; position: relative;
}
.flow-num {
  font-family: var(--font-round); font-size: 13px; font-weight: 700;
  color: var(--blue); letter-spacing: 0.08em; margin-bottom: 10px;
  display: flex; align-items: center; gap: 8px;
}
.flow-num::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  font-size: 26px; font-weight: 900; color: var(--blue);
}
.flow-item h3 { font-family: var(--font-round); font-size: 16.5px; font-weight: 700; margin-bottom: 8px; }
.flow-item p { font-size: 13.5px; color: var(--gray); }
.flow-item::after {
  content: ""; position: absolute; top: 50%; right: -14px; z-index: 2;
  width: 12px; height: 12px;
  border-top: 3px solid var(--yellow); border-right: 3px solid var(--yellow);
  transform: translateY(-50%) rotate(45deg); border-radius: 2px;
}
.flow-item:last-child::after { display: none; }

/* ===== Guide ===== */
.guide { background: var(--pale); }
.guide-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.guide-card {
  background: var(--white); border-radius: var(--radius);
  padding: 44px 40px; box-shadow: 0 2px 12px rgba(46,107,230,0.06);
  transition: transform 0.25s, box-shadow 0.25s;
  display: block;
}
.guide-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.guide-photo {
  border-radius: 16px; overflow: hidden; aspect-ratio: 16 / 9;
  margin-bottom: 24px; background: var(--blue-pale);
}
.guide-photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s; }
.guide-card:hover .guide-photo img { transform: scale(1.04); }
.guide-label {
  display: inline-block; font-size: 12px; font-weight: 700;
  color: var(--ink); background: var(--yellow); border-radius: 999px;
  padding: 4px 14px; margin-bottom: 18px;
}
.guide-card h3 { font-family: var(--font-round); font-size: 23px; font-weight: 900; margin-bottom: 10px; }
.guide-card p { font-size: 14.5px; color: var(--gray); margin-bottom: 18px; }

/* ===== FAQ ===== */
.faq-list { max-width: 800px; }
.faq-item {
  background: var(--white); border: 1.5px solid var(--blue-pale);
  border-radius: 16px; margin-bottom: 14px; overflow: hidden;
}
.faq-item summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; gap: 16px;
  font-family: var(--font-round); font-size: 16.5px; font-weight: 700;
  padding: 22px 26px;
  transition: background 0.2s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { background: var(--pale); }
.faq-q {
  flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%;
  background: var(--blue); color: var(--white);
  font-family: var(--font-round); font-size: 15px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.faq-toggle { margin-left: auto; flex-shrink: 0; width: 14px; height: 14px; position: relative; }
.faq-toggle::before, .faq-toggle::after {
  content: ""; position: absolute; background: var(--blue); border-radius: 2px;
  top: 50%; left: 50%; transition: transform 0.25s;
}
.faq-toggle::before { width: 14px; height: 2.5px; transform: translate(-50%, -50%); }
.faq-toggle::after { width: 2.5px; height: 14px; transform: translate(-50%, -50%); }
.faq-item[open] .faq-toggle::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-a { padding: 0 26px 24px 74px; font-size: 14.5px; color: var(--gray); }

/* ===== CTA ===== */
.cta {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  border-radius: 48px; max-width: 1120px;
  margin: 0 auto; padding: 90px 40px; text-align: center;
  position: relative; overflow: hidden;
}
.cta .blob-c1 { position: absolute; width: 300px; height: 300px; border-radius: 50%; background: rgba(255,255,255,0.06); top: -100px; left: -80px; }
.cta .blob-c2 { position: absolute; width: 220px; height: 220px; border-radius: 50%; background: rgba(255,201,60,0.15); bottom: -80px; right: -40px; }
.cta-title {
  font-family: var(--font-round); color: var(--white);
  font-size: clamp(26px, 3.4vw, 38px); font-weight: 900; line-height: 1.5;
  margin-bottom: 16px; position: relative; z-index: 2;
}
.cta-lead { color: rgba(255,255,255,0.85); font-size: 15.5px; margin-bottom: 36px; position: relative; z-index: 2; }
.cta .btn-primary { position: relative; z-index: 2; }

/* ===== Footer ===== */
.footer { background: var(--ink); color: var(--white); padding: 80px 40px 40px; margin-top: 120px; }
.footer-inner { max-width: 1120px; margin: 0 auto; }
.footer-top { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 48px; margin-bottom: 56px; }
.footer-logo svg { height: 32px; width: auto; margin-bottom: 18px; }
.footer-desc { font-size: 13.5px; color: rgba(255,255,255,0.65); }
.footer-col h4 {
  font-family: var(--font-round); font-size: 13px; font-weight: 700;
  color: rgba(255,255,255,0.5); letter-spacing: 0.1em; margin-bottom: 18px;
}
.footer-col ul li { margin-bottom: 12px; }
.footer-col a { font-size: 14px; color: rgba(255,255,255,0.85); transition: color 0.2s; }
.footer-col a:hover { color: var(--yellow); }
.footer-license {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding: 36px 0; margin-bottom: 8px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.license-item { border-left: 2px solid rgba(255,255,255,0.2); padding-left: 18px; }
.license-label { font-size: 11.5px; color: rgba(255,255,255,0.5); margin-bottom: 4px; }
.license-value { font-size: 14.5px; font-weight: 700; word-break: break-all; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 28px; display: flex; justify-content: space-between; align-items: center;
  font-size: 12.5px; color: rgba(255,255,255,0.5); flex-wrap: wrap; gap: 12px;
}

/* ===== Mobile ===== */
@media (max-width: 900px) {
  .about-wrap { grid-template-columns: 1fr; gap: 44px; margin-bottom: 44px; }
  .about-photo { margin: 0 12px; }
  .hero-visual { margin-top: 36px; }
  .hero-visual svg { max-width: 290px; }
  .about-grid { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: 1fr; }
  .flow-list { grid-template-columns: 1fr; }
  .flow-item::after {
    top: auto; bottom: -14px; right: 50%;
    transform: translateX(50%) rotate(135deg);
  }
  .guide-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 36px; }
  .footer-license { grid-template-columns: 1fr; gap: 18px; }
}
@media (max-width: 768px) {
  .header {
    padding-left: max(20px, env(safe-area-inset-left, 0px));
    padding-right: max(20px, env(safe-area-inset-right, 0px));
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .service-card { flex-direction: column; align-items: center; text-align: center; gap: 16px; padding: 30px 22px; }
  .service-body h3 { justify-content: center; }
  .service-body p { text-align: left; }
  .header-toggle { display: flex; }
  .nav {
    display: none; position: fixed; inset: 0;
    padding-top: calc(env(safe-area-inset-top, 0px) + 80px);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
    flex-direction: column; align-items: center; justify-content: center;
    gap: 28px; z-index: 99;
  }
  .nav.is-open { display: flex; }
  .nav a { font-size: 22px; font-weight: 700; }
  .hero { padding-top: calc(env(safe-area-inset-top, 0px) + 58px); }
  .hero-media img { margin-top: -7%; aspect-ratio: 1360 / 2048; }
  .hero-text { top: 4.5%; }
  .btn-primary { font-size: 16.5px; padding: 17px 24px; }
  .hero-cta-block { padding: 34px 24px 6px; }
  .hero-title { font-size: clamp(32px, 8.6vw, 42px); }
  .section { padding: 80px 24px; }
  .cta { padding: 70px 28px; border-radius: 32px; }
  .footer { padding: 60px 24px 32px; }
  .btn-primary { width: 100%; justify-content: center; }
}

/* ===== Subpage: page header ===== */
.page-header {
  position: relative; overflow: hidden;
  padding: calc(env(safe-area-inset-top, 0px) + 150px) 40px 70px;
  background: linear-gradient(180deg, var(--pale) 0%, var(--blue-pale) 100%);
}
.page-header-inner { max-width: 1120px; margin: 0 auto; position: relative; z-index: 2; }
.ph-eyebrow {
  font-family: var(--font-round); font-size: 14px; font-weight: 700;
  color: var(--blue); letter-spacing: 0.12em; text-transform: uppercase;
  margin-bottom: 10px; display: flex; align-items: center; gap: 10px;
}
.ph-eyebrow::before { content: ""; width: 22px; height: 3px; border-radius: 3px; background: var(--yellow); }
.ph-title {
  font-family: var(--font-round);
  font-size: clamp(30px, 4vw, 46px); font-weight: 900; line-height: 1.4;
  margin-bottom: 14px;
}
.ph-lead { font-size: 15.5px; color: var(--gray); max-width: 720px; }
.breadcrumb { display: flex; gap: 8px; align-items: center; font-size: 12.5px; color: var(--gray); margin-bottom: 26px; flex-wrap: wrap; }
.breadcrumb a { color: var(--blue); font-weight: 500; }
.breadcrumb span::before { content: "/"; margin-right: 8px; color: #B9C6DB; }
@media (max-width: 768px) {
  .page-header { padding: calc(env(safe-area-inset-top, 0px) + 110px) 24px 50px; }
}

/* ===== Article (guide pages) ===== */
.article-layout { display: grid; grid-template-columns: 1fr 300px; gap: 56px; align-items: start; }
.article { max-width: 760px; }
.article-hero { border-radius: 20px; overflow: hidden; margin-bottom: 40px; aspect-ratio: 16 / 8; }
.article-hero img { width: 100%; height: 100%; object-fit: cover; display: block; }
.article h2 {
  font-family: var(--font-round); font-size: 25px; font-weight: 900; line-height: 1.5;
  margin: 64px 0 20px; padding-left: 16px; border-left: 5px solid var(--yellow);
}
.article h2:first-of-type { margin-top: 0; }
.article h3 {
  font-family: var(--font-round); font-size: 18.5px; font-weight: 700;
  margin: 36px 0 12px; color: var(--blue);
}
.article p { font-size: 15.5px; margin-bottom: 18px; }
.article ul, .article ol { margin: 0 0 18px 0; padding-left: 4px; }
.article ul li, .article ol li {
  font-size: 15.5px; margin-bottom: 10px; padding-left: 28px; position: relative; list-style: none;
}
.article ul li::before {
  content: ""; position: absolute; left: 6px; top: 10px;
  width: 8px; height: 8px; border-radius: 50%; background: var(--yellow);
}
.article ol { counter-reset: olc; }
.article ol li::before {
  counter-increment: olc; content: counter(olc);
  position: absolute; left: 0; top: 2px;
  width: 21px; height: 21px; border-radius: 50%;
  background: var(--blue); color: #fff;
  font-family: var(--font-round); font-size: 12.5px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.article .point-box {
  background: var(--blue-pale); border-radius: 16px;
  padding: 24px 28px; margin: 26px 0;
}
.point-box .point-label {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--font-round); font-size: 13.5px; font-weight: 700; color: var(--blue);
  margin-bottom: 8px;
}
.point-box p { font-size: 14.5px; margin-bottom: 0; }
.article table { width: 100%; border-collapse: collapse; margin: 20px 0 28px; font-size: 14.5px; }
.article table th, .article table td { border: 1.5px solid var(--blue-pale); padding: 12px 14px; text-align: left; vertical-align: top; }
.article table th { background: var(--pale); font-family: var(--font-round); font-weight: 700; white-space: nowrap; }
.toc {
  background: var(--white); border: 1.5px solid var(--blue-pale); border-radius: 20px;
  padding: 28px; position: sticky; top: 110px;
}
.toc-title {
  font-family: var(--font-round); font-size: 15px; font-weight: 700;
  margin-bottom: 16px; display: flex; align-items: center; gap: 8px; color: var(--blue);
}
.toc ol { counter-reset: toc; }
.toc li { list-style: none; margin-bottom: 12px; }
.toc a { font-size: 13.5px; font-weight: 500; color: var(--ink); display: flex; gap: 10px; transition: color 0.2s; }
.toc a:hover { color: var(--blue); }
.toc a::before {
  counter-increment: toc; content: counter(toc, decimal-leading-zero);
  font-family: var(--font-round); font-weight: 700; color: var(--yellow-dark); flex-shrink: 0;
}
@media (max-width: 900px) {
  .article-layout { grid-template-columns: 1fr; gap: 36px; }
  .toc { position: static; }
}

/* ===== Profile / legal tables (company, privacy) ===== */
.profile-table { border-top: 1.5px solid var(--blue-pale); max-width: 860px; }
.profile-row {
  display: grid; grid-template-columns: 240px 1fr; gap: 32px;
  padding: 22px 8px; border-bottom: 1.5px solid var(--blue-pale);
}
.profile-row dt { font-family: var(--font-round); font-weight: 700; font-size: 15px; color: var(--blue); }
.profile-row dd { font-size: 15px; }
@media (max-width: 768px) {
  .profile-row { grid-template-columns: 1fr; gap: 6px; padding: 18px 4px; }
}
.legal { max-width: 860px; }
.legal h2 {
  font-family: var(--font-round); font-size: 20px; font-weight: 900;
  margin: 48px 0 14px; padding-left: 14px; border-left: 5px solid var(--yellow);
}
.legal h2:first-of-type { margin-top: 0; }
.legal p, .legal li { font-size: 14.5px; color: var(--ink); }
.legal p { margin-bottom: 14px; }
.legal ul, .legal ol { margin: 0 0 14px 22px; }
.legal li { margin-bottom: 8px; }
.legal ul li { list-style: disc; }
.legal ol li { list-style: decimal; }
.legal-updated { color: var(--gray); font-size: 13px; margin-top: 40px; }

/* ===== Service detail blocks (services page) ===== */
.svc-detail {
  display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: center;
  padding: 70px 0; border-bottom: 1.5px solid var(--blue-pale);
}
.svc-detail:first-of-type { padding-top: 0; }
.svc-detail:last-of-type { border-bottom: none; }
.svc-visual {
  background: var(--blue-pale); border-radius: 24px;
  display: flex; align-items: center; justify-content: center;
  min-height: 260px; position: relative; overflow: hidden;
}
.svc-visual svg { width: 110px; height: 110px; }
.svc-visual .num {
  position: absolute; top: 18px; left: 26px;
  font-family: var(--font-round); font-size: 15px; font-weight: 700; color: var(--blue);
}
.svc-body h2 {
  font-family: var(--font-round); font-size: 27px; font-weight: 900;
  margin-bottom: 6px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
}
.svc-body .svc-for { font-size: 13.5px; font-weight: 700; color: var(--yellow-dark); margin-bottom: 14px; }
.svc-body p { font-size: 15px; color: var(--gray); margin-bottom: 18px; }
.svc-steps { margin-bottom: 24px; }
.svc-steps li {
  font-size: 14.5px; margin-bottom: 8px; padding-left: 30px; position: relative; list-style: none;
}
.svc-steps { counter-reset: svc; }
.svc-steps li::before {
  counter-increment: svc; content: counter(svc);
  position: absolute; left: 0; top: 2px;
  width: 21px; height: 21px; border-radius: 50%;
  background: var(--yellow); color: var(--ink);
  font-family: var(--font-round); font-size: 12.5px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.badge-soon {
  font-size: 12px; font-weight: 700; color: var(--gray);
  background: var(--pale); border: 1.5px solid var(--blue-pale);
  border-radius: 999px; padding: 4px 12px;
}
@media (max-width: 900px) {
  .svc-detail { grid-template-columns: 1fr; gap: 28px; padding: 48px 0; }
  .svc-visual { min-height: 200px; }
}

/* ===== Sticky CTA bar (mobile) ===== */
.cta-bar {
  display: none;
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  padding: 10px 14px calc(env(safe-area-inset-bottom, 0px) + 10px);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid rgba(46, 107, 230, 0.1);
  transform: translateY(110%);
  transition: transform 0.3s ease;
}
.cta-bar.is-visible { transform: translateY(0); }
.cta-bar a {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--yellow); color: var(--ink);
  font-family: var(--font-round); font-size: 15.5px; font-weight: 700;
  padding: 14px 18px; border-radius: 999px;
  box-shadow: 0 4px 14px rgba(245, 185, 20, 0.4);
}
.cta-bar a svg { width: 16px; height: 16px; }
@media (max-width: 768px) {
  .cta-bar { display: block; }
}

/* ===== Voice (Google reviews) ===== */
.voice { background: var(--pale); }
.voice-head {
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
  margin-bottom: 40px;
}
.voice-rating {
  display: flex; align-items: center; gap: 10px;
  background: var(--white); border-radius: 999px;
  padding: 10px 22px; box-shadow: var(--shadow);
}
.voice-rating .score { font-family: var(--font-round); font-size: 22px; font-weight: 900; color: var(--ink); }
.voice-stars { display: flex; gap: 2px; }
.voice-stars svg { width: 17px; height: 17px; fill: var(--yellow); }
.voice-rating .count { font-size: 12.5px; color: var(--gray); }
.voice-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 28px; }
.voice-card {
  background: var(--white); border-radius: var(--radius);
  padding: 30px 28px;
  box-shadow: 0 2px 12px rgba(46, 107, 230, 0.06);
  display: flex; flex-direction: column; gap: 14px;
}
.voice-card .voice-stars svg { width: 15px; height: 15px; }
.voice-card p { font-size: 14.5px; color: var(--ink); flex: 1; }
.voice-meta { font-size: 12.5px; color: var(--gray); }
.voice-note { font-size: 12.5px; color: var(--gray); }
.voice-note a { color: var(--blue); font-weight: 700; }
@media (max-width: 900px) {
  .voice-grid { grid-template-columns: 1fr; }
}

/* responsive line breaks */
.br-sp { display: none; }
@media (max-width: 768px) {
  .br-sp { display: inline; }
  .br-pc { display: none; }
}

/* ===== Blog ===== */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.blog-card {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 2px 12px rgba(46, 107, 230, 0.06);
  transition: transform 0.25s, box-shadow 0.25s;
  display: flex; flex-direction: column;
}
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.blog-card-cover { aspect-ratio: 16 / 9; background: var(--blue-pale); }
.blog-card-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.blog-card-body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.blog-card-date { font-size: 12.5px; color: var(--gray); }
.blog-card-title { font-family: var(--font-round); font-size: 17.5px; font-weight: 700; line-height: 1.5; }
.blog-card-excerpt { font-size: 13.5px; color: var(--gray); flex: 1; }
.blog-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.blog-tag {
  font-size: 11.5px; font-weight: 700; color: var(--blue);
  background: var(--blue-pale); border-radius: 999px; padding: 3px 12px;
}
.blog-empty {
  background: var(--pale); border-radius: var(--radius);
  padding: 60px 30px; text-align: center; color: var(--gray); font-size: 15px;
}
.blog-article-head { max-width: 760px; margin-bottom: 36px; }
.blog-article-head h1 {
  font-family: var(--font-round); font-size: clamp(26px, 3.4vw, 38px);
  font-weight: 900; line-height: 1.5; margin: 14px 0 16px;
}
.blog-article-cover { max-width: 760px; border-radius: 20px; overflow: hidden; margin-bottom: 40px; }
.blog-article-cover img { width: 100%; height: auto; display: block; }
@media (max-width: 900px) {
  .blog-grid { grid-template-columns: 1fr; }
}

/* 記事内画像 */
.article img {
  display: block; max-width: 100%; height: auto;
  border-radius: 14px; margin: 6px 0 10px;
}

/* ===== ミニ診断 ===== */
.quiz-wrap { max-width: 640px; margin: 0 auto; }
.quiz-card {
  background: var(--white); border-radius: 24px;
  padding: 40px 36px; box-shadow: var(--shadow);
}
.quiz-progress { display: flex; gap: 8px; justify-content: center; margin-bottom: 26px; }
.quiz-progress span {
  width: 34px; height: 6px; border-radius: 3px; background: var(--blue-pale);
}
.quiz-progress span.done { background: var(--yellow); }
.quiz-q {
  font-family: var(--font-round); font-size: 21px; font-weight: 900;
  line-height: 1.5; text-align: center; margin-bottom: 26px;
}
.quiz-opts { display: flex; flex-direction: column; gap: 12px; }
.quiz-opt {
  display: block; width: 100%; text-align: left;
  background: var(--pale); border: 2px solid var(--blue-pale);
  border-radius: 14px; padding: 15px 18px;
  font-family: var(--font-body); font-size: 15px; font-weight: 500; color: var(--ink);
  cursor: pointer; transition: border-color 0.15s, transform 0.15s, background 0.15s;
}
.quiz-opt:hover { border-color: var(--blue); background: var(--blue-pale); transform: translateY(-2px); }
.quiz-back {
  margin-top: 20px; background: none; border: none; cursor: pointer;
  color: var(--gray); font-size: 13px; font-family: var(--font-body);
}
.quiz-result-label {
  display: inline-block; font-size: 13px; font-weight: 700; color: var(--ink);
  background: var(--yellow); border-radius: 999px; padding: 5px 16px; margin-bottom: 14px;
}
.quiz-result-type {
  font-family: var(--font-round); font-size: 30px; font-weight: 900; margin-bottom: 14px;
}
.quiz-result-desc { font-size: 15px; margin-bottom: 18px; }
.quiz-result-jobs {
  background: var(--pale); border-radius: 14px; padding: 18px 20px;
  font-size: 14px; margin-bottom: 26px;
}
.quiz-result-jobs b { font-family: var(--font-round); color: var(--blue); display: block; margin-bottom: 6px; }
.quiz-restart { margin-top: 18px; background: none; border: none; cursor: pointer; color: var(--gray); font-size: 13px; }
/* 診断への誘導バナー */
.shindan-banner {
  background: linear-gradient(135deg, var(--blue-pale) 0%, var(--pale) 100%);
  border-radius: 24px; padding: 44px 40px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.shindan-banner h3 { font-family: var(--font-round); font-size: 24px; font-weight: 900; margin-bottom: 8px; }
.shindan-banner p { font-size: 14px; color: var(--gray); }
@media (max-width: 768px) {
  .quiz-card { padding: 30px 22px; }
  .shindan-banner { padding: 32px 24px; }
}

/* 記事内の目次 */
.article-toc {
  background: var(--pale); border: 1.5px solid var(--blue-pale);
  border-radius: 16px; padding: 24px 28px; margin-bottom: 40px;
}
.article-toc-title {
  font-family: var(--font-round); font-size: 15px; font-weight: 700;
  color: var(--blue); margin-bottom: 12px;
}
.article-toc ol { counter-reset: atoc; margin: 0; padding: 0; }
.article-toc li { list-style: none; margin-bottom: 9px; padding: 0; }
.article-toc li::before { content: none; }
.article-toc a {
  font-size: 14px; font-weight: 500; color: var(--ink);
  display: flex; gap: 10px; transition: color 0.2s;
}
.article-toc a:hover { color: var(--blue); }
.article-toc a::before {
  counter-increment: atoc; content: counter(atoc, decimal-leading-zero);
  font-family: var(--font-round); font-weight: 700; color: var(--yellow-dark); flex-shrink: 0;
}

/* 目次には記事本文のリスト装飾を効かせない（優先度上書き） */
.article .article-toc ol { counter-reset: atoc; margin: 0; padding: 0; }
.article .article-toc li { padding-left: 0; margin-bottom: 9px; }
.article .article-toc li::before { content: none; counter-increment: none; }

/* 分割禁止ユニット（見出し・短文をひとかたまりで折り返す） */
.keep-together { display: inline-block; }

/* 記事内テーブルのスマホ縦積み（回答列が潰れる崩れの修正） */
@media (max-width: 768px) {
  .article table { border-collapse: separate; border-spacing: 0; }
  .article table tr {
    display: block; margin-bottom: 14px;
    border: 1.5px solid var(--blue-pale); border-radius: 12px; overflow: hidden;
  }
  .article table th, .article table td {
    display: block; width: 100%; border: none; white-space: normal;
  }
  .article table th { border-bottom: 1.5px solid var(--blue-pale); }
}
