:root {
  --main: #002d72;
  --main-dark: #002256;
  --main-light: #366ee7;
  --accent: #05b193;
  --text: #333333;
  --text-mid: #5c6873;
  --text-muted: #6b7280;
  --bg: #fdfdfd;
  --line: #dde4ee;
  --white: #ffffff;
  --max: 1200px;
  --article: 900px;
  --pad: clamp(16px, 3vw, 32px);
  --section-y: clamp(48px, 6vw, 80px);
  --header-h: 72px;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-size: 17px;
  font-weight: 400;
  color: var(--text);
  background: var(--bg);
  line-height: 1.9;
  letter-spacing: 0.02em;
  line-break: auto;
  word-break: keep-all;
  overflow-wrap: anywhere;
  text-wrap: pretty;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

body,
p, li, dd, dt, h1, h2, h3, h4, h5, h6,
.lead, .hero__lead, .hero__title,
.tsuyomi01, .tsuyomi01 h3, .tsuyomi01 p,
.news-title, .ueki-voice-headline, .ueki-voice-body,
.heading06, .heading07, .gorenraku,
.prose, .prose p, .prose li, .prose h2, .prose h3 {
  line-break: auto;
  word-break: keep-all;
  overflow-wrap: anywhere;
  text-wrap: pretty;
}

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

a {
  color: var(--text-mid);
  text-decoration: none;
  transition: color 0.25s ease, background 0.25s ease, opacity 0.25s ease;
}

a:hover { color: var(--main-light); }

button, input, textarea, select { font-family: inherit; font-size: 1rem; }

.skip {
  position: absolute;
  left: 12px;
  top: -9999px;
  background: #fff;
  color: var(--main);
  padding: 8px 12px;
  z-index: 100;
}
.skip:focus {
  top: 12px;
}

.container {
  width: min(var(--max), calc(100% - var(--pad) * 2));
  margin-inline: auto;
}

.container--article {
  width: min(var(--article), calc(100% - var(--pad) * 2));
  margin-inline: auto;
  min-width: 0;
  max-width: 100%;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--main);
  color: var(--white);
}

.header-inner {
  width: min(var(--max), calc(100% - var(--pad) * 2));
  margin-inline: auto;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 12px;
}

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

.logo img {
  width: auto;
  height: 64px;
  max-width: min(280px, 58vw);
  filter: none;
  background: #fff;
  border-radius: 8px;
  padding: 3px 8px;
  box-sizing: content-box;
}

.footer-logo {
  display: inline-block;
  margin: 0 0 16px;
}

.footer-logo img {
  width: auto;
  height: 52px;
  max-width: min(300px, 100%);
  display: block;
  filter: none;
  background: #fff;
  border-radius: 8px;
  padding: 4px 10px;
  box-sizing: content-box;
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 0;
}

.search-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 0;
  background: transparent;
  color: var(--white);
  cursor: pointer;
  padding: 0;
}

.search-toggle:hover { opacity: 0.8; }

.search-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 16vh 20px 40px;
  background: rgba(0, 0, 0, 0.55);
}

.search-modal.is-open { display: flex; }

.search-modal__panel {
  width: min(640px, 100%);
  background: var(--white);
  color: var(--text);
  padding: 28px 24px 18px;
  border-radius: 4px;
}

.search-form {
  display: flex;
  align-items: stretch;
}

.search-form input[type="search"] {
  flex: 1;
  min-width: 0;
  margin: 0;
  border: 1px solid #ccc;
  border-radius: 0;
  background: var(--white);
  padding: 12px 14px;
  font-size: 16px;
}

.search-form button[type="submit"] {
  border: 0;
  border-radius: 0;
  background: var(--main);
  color: var(--white);
  padding: 0 18px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
}

.search-close {
  display: block;
  margin: 16px auto 0;
  border: 0;
  background: transparent;
  color: var(--text-mid);
  cursor: pointer;
  font-family: inherit;
}

.search-page .search-form {
  max-width: 640px;
  margin: 0 auto 28px;
}

.search-count {
  margin: 0 0 16px;
  color: var(--text-mid);
}

.search-list {
  display: grid;
  gap: 16px;
}

.search-item {
  display: block;
  padding: 16px 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.search-item h2 {
  margin: 0 0 6px;
  font-size: 1.15rem;
  color: var(--main);
}

.search-item p {
  margin: 0;
  color: var(--text-mid);
  font-size: 15px;
}

.nav-toggle {
  display: none;
  width: 52px;
  height: 52px;
  border: 0;
  background: transparent;
  color: var(--white);
  padding: 8px;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle::after {
  content: "MENU";
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1;
  font-family: "Noto Serif JP", serif;
}

.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-toggle.is-open::after { content: "CLOSE"; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
}

.site-nav a {
  color: var(--white);
  font-size: 15px;
  padding: 8px 10px;
  white-space: nowrap;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  background: rgba(255, 255, 255, 0.16);
  color: var(--white);
}

/* Hero */
.hero {
  position: relative;
  height: calc(100vh - var(--header-h));
  height: calc(100svh - var(--header-h));
  overflow: hidden;
  background: #111;
}

.hero__slides {
  position: absolute;
  inset: 0;
}

.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.5s ease;
}

.hero__slide.is-active { opacity: 1; }

.hero__slide picture {
  position: absolute;
  inset: 0;
  display: block;
}

.hero__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.1);
  background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFAQMAAAC3obSmAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAAGUExURUdwTAAAAJ8qhFEAAAABdFJOUwBA5thmAAAAEklEQVQI12MwYDBgYGBoYGAAAASKAOH8MS30AAAAAElFTkSuQmCC");
  background-size: 2px;
  opacity: 0.5;
  pointer-events: none;
  z-index: 1;
}

.hero__shade {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1;
}

.hero__inner {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 48px var(--pad) 88px;
  color: var(--white);
}

.hero__copy {
  max-width: 900px;
  width: 100%;
}

.hero__text > :last-child {
  margin-bottom: 0;
}

.hero__title {
  margin: 0 0 25px;
  font-size: 64px;
  line-height: 1.3;
  font-weight: 400;
  font-feature-settings: "palt" 1;
  text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.2);
}

.hero__lead {
  margin: 0 0 0.5em;
  font-size: 20px;
  line-height: 2;
  letter-spacing: 0.05em;
  font-feature-settings: "palt" 1;
  text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.2);
}

.hero__dots {
  position: absolute;
  bottom: 56px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 3;
}

.hero__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.45);
  padding: 0;
  cursor: pointer;
  transition: background 0.25s ease;
}

.hero__dot.is-active { background: var(--white); }

.hero__scroll {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  border: 0;
  background: transparent;
  color: var(--white);
  opacity: 0.75;
  cursor: pointer;
  text-align: center;
  padding: 0 0 16px;
  transition: opacity 0.25s ease;
}

.hero__scroll:hover { opacity: 1; }

.hero__scroll-arrow {
  display: block;
  width: 20px;
  height: 20px;
  margin: 0 auto;
  fill: currentColor;
  animation: hero-scroll-float 3s ease-in-out infinite alternate;
}

.hero__scroll-label {
  display: block;
  font-size: 12px;
  letter-spacing: 1px;
  line-height: 1;
  padding-top: 4px;
}

@keyframes hero-scroll-float {
  from { transform: translateY(0); }
  to { transform: translateY(6px); }
}

/* Section headings */
.heading06,
.heading07 {
  position: relative;
  padding: 50px 0;
  margin: 0 0 24px;
  font-size: clamp(22px, 2.4vw, 26px);
  text-align: center;
  font-weight: 700;
  line-height: 1.5;
}

.heading06 span,
.heading07 span { position: relative; z-index: 2; }

.heading06::before {
  content: attr(data-en);
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(54, 110, 231, 0.2);
  font-size: clamp(48px, 8vw, 80px);
  font-style: italic;
  font-weight: 400;
  white-space: nowrap;
}

.heading06::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translate(-46%) rotate(90deg);
  width: 1px;
  height: 60px;
  background: rgba(54, 110, 231, 0.96);
}

.heading07 { color: var(--white); }

.heading07::before {
  content: attr(data-en);
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.36);
  font-size: clamp(40px, 7vw, 80px);
  font-style: italic;
  font-weight: 400;
  white-space: nowrap;
}

.heading07::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translate(-46%) rotate(90deg);
  width: 1px;
  height: 60px;
  background: var(--white);
}

.section {
  padding: var(--section-y) 0;
}

.section--soft { background: #f4f7fb; }
.section--navy {
  --seihinjirei-item-h: 350px;
  --products-split: calc(var(--seihinjirei-item-h) / 2);
  padding: 0;
  background: var(--bg);
}

.section--navy__head {
  padding: var(--section-y) 0 0;
  color: var(--white);
  background: linear-gradient(
    to bottom,
    var(--main) 0,
    var(--main) calc(100% - var(--products-split)),
    var(--bg) calc(100% - var(--products-split)),
    var(--bg) 100%
  );
}

.section--navy__head a { color: var(--white); }

.section--navy__foot {
  padding: 0 0 var(--section-y);
  background: var(--bg);
}

/* Strengths */
.tsuyomi01 {
  margin-bottom: 30px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.tsuyomi01:last-of-type { border-bottom: 0; }

.tsuyomi01 h3 {
  margin: 0 0 12px;
  font-size: clamp(20px, 2.2vw, 24px);
  color: var(--main);
  line-height: 1.5;
}

.tsuyomi01 span { color: #e44141; }

.tsuyomi01 p { margin: 0; }

/* Buttons */
.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 28px;
}

.btn,
a.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 1rem 2.5rem;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-align: center;
  border: 0;
  cursor: pointer;
}

.btn--orange,
a.btn--orange {
  color: var(--white);
  background: var(--main);
}

.btn--orange:hover,
a.btn--orange:hover {
  color: var(--main);
  background: var(--accent);
}

.btn--stack {
  flex-direction: column;
  gap: 4px;
  line-height: 1.45;
  padding: 0.9rem 2rem;
}

.btn--stack .btn__sub {
  font-size: 1.05em;
  letter-spacing: 0.04em;
}

.quote-lines {
  margin: 0 0 1em;
  padding-left: 1.2em;
}

.quote-lines li {
  margin: 0.35em 0;
}

.text-lines {
  display: grid;
  gap: 4px;
}

.text-lines p {
  margin: 0;
}

.prose p br,
.prose li br,
.tsuyomi01 p br,
.ueki-voice-body br,
.ueki-voice-headline br {
  display: none;
}

.hero__title br,
.hero__lead br {
  display: inline;
}

.btn--shiny {
  display: block;
  margin: 24px auto 0;
  text-align: center;
}

.btn--shiny a,
.swell-btn {
  display: inline-block;
  padding: 14px 36px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--main) 0%, var(--main-light) 100%);
  color: var(--white);
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(0, 45, 114, 0.25);
}

.btn--shiny a:hover,
.swell-btn:hover {
  opacity: 0.9;
  color: var(--white);
}

.btn-more {
  display: inline-block;
  margin-top: 1em;
  color: var(--main);
  font-size: 0.875rem;
  font-weight: 700;
}

.btn-blue {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin-top: 24px;
}

.gorenraku {
  max-width: 20em;
  margin: 0 auto 8px;
  text-align: center;
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.6;
}

/* News */
.news-list { list-style: none; margin: 0; padding: 0; }

.news-item { border-bottom: 1px solid var(--line); }

.news-item a {
  display: block;
  padding: 18px 0;
  color: inherit;
}

.news-item a:hover .news-title { color: var(--main-light); }

.news-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin-bottom: 6px;
  font-size: 14px;
  color: var(--text-muted);
}

.news-cat {
  color: var(--main);
  font-weight: 700;
}

.news-title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--main);
  line-height: 1.6;
}

/* Flow */
.flow-wrap {
  margin: 0 auto;
  max-width: var(--max);
}

.flow-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
}

.flow-list li {
  position: relative;
  flex: 0 0 auto;
  padding: 10px 20px;
  text-align: center;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--white);
  background: var(--main);
  border-radius: 10px;
  margin-right: 40px;
  white-space: nowrap;
}

.flow-list li::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  right: -22px;
  margin: auto;
  width: 20px;
  height: 10px;
  background: #4682b4;
}

.flow-list li::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  right: -37px;
  margin: auto;
  width: 0;
  height: 0;
  border-top: 13px solid transparent;
  border-bottom: 13px solid transparent;
  border-left: 18px solid #4682b4;
}

.flow-list li:last-child {
  margin-right: 0;
}

.flow-list li:last-child::before,
.flow-list li:last-child::after {
  content: none;
}

.flow-list__spacer {
  background: var(--bg);
  padding: 10px 20px;
  min-width: 3.5em;
  visibility: hidden;
}

.flow-list__spacer::before,
.flow-list__spacer::after {
  content: none;
}

.pc-only { display: block; }
.sp-only { display: none; }

/* Achievements grid */
.achieve-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 24px 0;
}

.achieve-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 4px;
}

/* Products tiles */
.seihinjirei {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0;
  max-width: 800px;
  margin: 24px auto 0;
}

.seihinjirei a { color: var(--white); }

.seihinjirei__item {
  flex: 1 1 140px;
  min-width: 120px;
  max-width: 160px;
  height: var(--seihinjirei-item-h, 350px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-size: cover;
  background-position: center;
  position: relative;
  padding: 12px;
  font-weight: 700;
  line-height: 1.6;
}

.seihinjirei__item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.seihinjirei__item span {
  position: relative;
  z-index: 1;
}

.products-spacer { display: none; }

/* Voice */
.ueki-voice-wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 var(--pad);
}

.ueki-voice-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.ueki-voice-card {
  background: var(--white);
  border-radius: 12px;
  padding: 28px 24px 24px;
  border: 1px solid #c9d9f9;
  box-shadow: 0 4px 20px rgba(54, 110, 231, 0.08);
  position: relative;
  overflow: hidden;
}

.ueki-voice-card::before {
  content: "\201C";
  font-family: Georgia, "Times New Roman", serif;
  font-size: 100px;
  color: var(--main-light);
  opacity: 0.1;
  position: absolute;
  top: -10px;
  left: 12px;
  line-height: 1;
  pointer-events: none;
}

.ueki-voice-tag {
  display: inline-flex;
  align-items: center;
  background: var(--main-light);
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  padding: 5px 16px;
  border-radius: 20px;
  margin-bottom: 14px;
  letter-spacing: 0.04em;
}

.ueki-voice-headline {
  font-size: 18px;
  font-weight: 700;
  color: #1a3e9a;
  margin: 0 0 16px;
  line-height: 1.7;
  padding: 10px 14px;
  background: #eef3fd;
  border-radius: 6px;
}

.ueki-voice-body {
  font-size: 16px;
  color: #3a3a3a;
  line-height: 2.1;
  margin: 0;
}

.ueki-voice-body strong { color: var(--main); }

/* Fixed inquiry */
.inquiry {
  display: block;
  position: fixed;
  right: 0;
  top: 133px;
  padding: 12px 20px;
  background-color: rgba(0, 45, 114, 0.66);
  z-index: 40;
  text-align: center;
}

.inquiry p {
  margin: 0;
  color: var(--white);
  line-height: 1.3;
  font-size: 15px;
}

.inquiry .tel {
  font-size: clamp(24px, 2.5vw, 35px);
  margin: 5px 0;
  font-weight: 700;
}

.inquiry a { color: var(--white); }
.inquiry a:hover { opacity: 0.85; color: var(--white); }

.sp-fixed-cta { display: none; }

@media (max-width: 767px) {
  .sp-fixed-cta {
    display: block;
    position: fixed;
    bottom: calc(7px + env(safe-area-inset-bottom));
    left: 50%;
    transform: translateX(-50%);
    width: min(280px, calc(100% - 32px));
    z-index: 9999;
    padding: 8px 14px;
    background-color: rgba(0, 45, 114, 0.66);
    border-radius: 50px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
  }

  .sp-fixed-cta__inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--white);
    text-decoration: none;
  }

  .sp-fixed-cta__inner:hover {
    color: var(--white);
    opacity: 0.92;
  }

  .sp-fixed-cta__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    font-size: 18px;
    line-height: 1;
  }

  .sp-fixed-cta__icon svg {
    display: block;
    width: 18px;
    height: 18px;
    fill: currentColor;
  }

  .sp-fixed-cta__body {
    display: flex;
    flex-direction: column;
    gap: 0;
    min-width: 0;
    text-align: left;
  }

  .sp-fixed-cta__label,
  .sp-fixed-cta__number,
  .sp-fixed-cta__hours {
    display: block;
    color: var(--white);
  }

  .sp-fixed-cta__label {
    font-size: 9px;
    letter-spacing: 0.05em;
    line-height: 1.3;
    opacity: 0.85;
    white-space: nowrap;
  }

  .sp-fixed-cta__number {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.05em;
    line-height: 1.2;
    white-space: nowrap;
  }

  .sp-fixed-cta__hours {
    font-size: 9px;
    line-height: 1.3;
    opacity: 0.8;
    white-space: nowrap;
  }

  body {
    padding-bottom: calc(70px + env(safe-area-inset-bottom));
  }
}

/* Footer */
.site-footer {
  background: var(--main);
  color: var(--white);
  padding: 48px 0 28px;
  font-size: 15px;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(160px, 1.2fr) minmax(120px, 0.8fr) minmax(140px, 0.9fr) minmax(260px, 360px);
  gap: 28px;
  align-items: start;
}

.footer-map__frame {
  width: 100%;
  height: 240px;
  border: 0;
  display: block;
}

.site-footer h2 {
  font-size: 1rem;
  margin: 0 0 12px;
  color: var(--white);
}

.site-footer p { margin: 0 0 8px; }

.site-footer a { color: var(--white); }
.site-footer a:hover { opacity: 0.85; color: var(--white); }

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer li { margin: 8px 0; }

.copyright {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.75);
  font-size: 14px;
}

/* Subpages */
.page-hero {
  background: var(--main);
  color: var(--white);
  padding: 40px 0 36px;
}

.page-hero .eyebrow {
  margin: 0 0 8px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 13px;
  letter-spacing: 0.14em;
}

.page-hero h1 {
  margin: 0;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.45;
}

.page-hero .lead {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.9);
  max-width: 40em;
}

.crumbs {
  margin: 0 0 12px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.75);
}

.crumbs a { color: rgba(255, 255, 255, 0.9); }
.crumbs a:hover { color: var(--white); }

/* SWELL-style subpage */
.breadcrumb {
  background: #f7f7f7;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}

.breadcrumb__list {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  width: min(var(--max), calc(100% - var(--pad) * 2));
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 14px;
  color: var(--text-mid);
}

.breadcrumb__item + .breadcrumb__item::before {
  content: "/";
  margin-right: 6px;
  color: var(--text-muted);
}

.breadcrumb__item a {
  color: var(--text-mid);
}

.breadcrumb__item a:hover {
  color: var(--main-light);
}

.breadcrumb--article .breadcrumb__list {
  width: min(var(--article), calc(100% - var(--pad) * 2));
  font-size: 13px;
}

.article-header {
  width: min(var(--article), calc(100% - var(--pad) * 2));
  margin: 0 auto;
  padding: 20px 0 0;
}

.article-header .article-eyecatch {
  width: 100%;
  margin: 0;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  line-height: 0;
}

.article-header .article-eyecatch img {
  width: 100%;
  height: auto;
  border-radius: 0;
}

.article-eyecatch__meta {
  position: absolute;
  left: 0;
  bottom: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  margin: 0;
  max-width: 100%;
  line-height: 1.4;
}

.article-eyecatch__category {
  display: inline-flex;
  align-items: center;
  padding: 7px 14px;
  background: #1a1a1a;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}

.article-eyecatch__date {
  display: inline-flex;
  align-items: center;
  padding: 7px 14px;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 13px;
}

.article-header__title {
  margin: 20px 0 0;
  font-size: clamp(22px, 2.6vw, 30px);
  line-height: 1.5;
  color: var(--main);
  font-weight: 700;
}

.page-swell--below-header {
  padding-top: 28px;
}

.page-swell {
  padding: 24px 0 var(--section-y);
  max-width: 100%;
  overflow-x: clip;
}

.page-swell__title {
  margin: 0 0 28px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(199, 199, 199, 0.5);
  font-size: 24px;
  line-height: 1.45;
  color: var(--main);
}

.page-swell__content h2:not(.heading06) {
  margin: 48px 0 24px;
  padding: 0 0 0.5em;
  font-size: clamp(22px, 2.2vw, 25px);
  color: var(--main);
}

.page-swell__content h2:not(.heading06):first-of-type {
  margin-top: 32px;
}

.page-swell__content h2:not(.heading06)::after {
  content: "";
  display: block;
  width: 100%;
  height: 2px;
  margin-top: 0.5em;
  background: repeating-linear-gradient(
    90deg,
    var(--main) 0%,
    var(--main) 29.3%,
    rgba(0, 56, 143, 0.2) 29.3%,
    rgba(0, 56, 143, 0.2) 100%
  );
}

/* page-swell 内の heading06：h2下線スタイルとの競合で縦線になるため非表示 */
.page-swell__content .heading06::after {
  content: none;
}

.intro-box {
  margin: 0 0 36px;
  padding: 27px;
  border: 4px double var(--main);
}

/* Products / cases page */
.page-top-title {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 240px;
  overflow: hidden;
}

.page-top-title__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-top-title::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.2);
  z-index: 1;
}

.page-top-title::after {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.1);
  background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFAQMAAAC3obSmAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAAGUExURUdwTAAAAJ8qhFEAAAABdFJOUwBA5thmAAAAEklEQVQI12MwYDBgYGBoYGAAAASKAOH8MS30AAAAAElFTkSuQmCC");
  background-size: 2px;
  opacity: 0.5;
  pointer-events: none;
  z-index: 2;
}

.page-top-title__body {
  position: relative;
  z-index: 3;
  width: min(var(--max), calc(100% - var(--pad) * 2));
  margin-inline: auto;
  padding: 0 var(--pad);
}

.page-top-title h1 {
  margin: 0;
  font-size: 24px;
  line-height: 1.45;
  color: var(--white);
}

.page-top-title--article {
  min-height: 0;
  padding: 18px 0 14px;
  background: var(--bg);
}

.page-top-title--article .page-top-title__img,
.page-top-title--article::before,
.page-top-title--article::after {
  display: none;
}

.page-top-title--article .page-top-title__body {
  width: min(var(--article), calc(100% - var(--pad) * 2));
  padding: 0;
}

.page-top-title--article h1 {
  color: var(--main);
  font-size: clamp(22px, 2.4vw, 28px);
}

.article-meta {
  width: min(var(--article), calc(100% - var(--pad) * 2));
  margin: 0 auto;
  padding: 0 0 10px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
}

.article-meta time {
  font-weight: 400;
}

.article-eyecatch {
  width: min(var(--article), calc(100% - var(--pad) * 2));
  margin: 8px auto 0;
}

.article-eyecatch img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.article-eyecatch--narrow {
  width: min(500px, calc(100% - var(--pad) * 2));
}

.page-swell--cases {
  padding-top: 24px;
}

.cases-page {
  padding-bottom: 8px;
}

.case-table {
  margin: 0 0 36px;
}

.case-table:last-child {
  margin-bottom: 0;
}

.case-table table {
  width: 100%;
  border: 1px solid #dcdcdc;
  border-collapse: separate;
  border-spacing: 2px;
}

.case-table th,
.case-table td {
  padding: 9px 13.5px;
  line-height: 1.6;
  vertical-align: top;
}

.case-table th {
  width: 160px;
  min-width: 160px;
  background: var(--main);
  color: var(--white);
  font-size: 18px;
  font-weight: 700;
  text-align: left;
}

.case-table td {
  background: var(--white);
}

/* About page */
.box2 {
  padding-bottom: 40px;
  margin: 2em 0 3em;
  font-weight: 700;
  background: var(--white);
  border: 3px solid #000;
  border-radius: 10px;
}

.box2 > div {
  font-size: clamp(1.6rem, 4vw, 2.6em);
  text-align: center;
  margin-bottom: 15px;
}

.box2 p {
  margin: 0;
  padding: 0;
  text-align: center;
  font-weight: 700;
  line-height: 1.8;
}

.top_midashi05 {
  margin: 112px 0 48px;
  font-size: 30px;
  line-height: 1.4;
  text-align: center;
  color: #000;
}

.about-page .heading06 {
  margin-bottom: 32px;
  padding: 56px 0 64px;
  overflow: hidden;
}

.about-page .top_midashi05:first-of-type {
  margin-top: 96px;
}

.about-page p {
  margin: 0 0 1em;
}

.about-cols {
  display: grid;
  gap: 28px;
  margin: 0 0 36px;
}

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

.about-cols figure {
  margin: 0;
}

.about-cols img {
  width: 100%;
  height: auto;
  display: block;
}

.about-media {
  display: flex;
  gap: 28px;
  align-items: flex-start;
  margin: 0 0 36px;
}

.about-media__text {
  flex: 0 0 33%;
}

.about-media--interview .about-media__text {
  flex: 1;
}

.about-media__photos {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.about-media--interview .about-media__photos {
  flex: 0 0 33%;
  grid-template-columns: 1fr;
}

.about-media__photos figure {
  margin: 0;
}

.about-media__photos img {
  width: 100%;
  height: auto;
  display: block;
}

.info-table {
  margin: 0 0 48px;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.info-table table {
  width: 100%;
  min-width: 0;
  border-collapse: collapse;
}

.info-table th,
.info-table td {
  padding: 9px 13.5px;
  border: 1px solid #dcdcdc;
  line-height: 1.6;
  vertical-align: top;
  word-break: break-word;
}

.info-table th {
  background: rgba(0, 56, 143, 0.05);
  color: var(--text);
  font-weight: 700;
}

.info-table td {
  background: var(--white);
}

.about-map {
  width: 100%;
  max-width: 100%;
  height: 450px;
  border: 0;
  margin: 0 0 36px;
}

.about-page .btn--shiny {
  margin: 32px 0 8px;
}

.btn--line {
  display: block;
  margin: 24px auto 0;
  text-align: center;
}

.btn--line .swell-btn {
  background: var(--white);
  color: var(--main);
  border: 2px solid var(--main);
  box-shadow: none;
}

.btn--line .swell-btn:hover {
  background: var(--main);
  color: var(--white);
}

.works-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px 20px;
  margin-bottom: 8px;
}

.works-item {
  margin: 0;
}

.works-item__figure {
  margin: 0;
}

.works-item__figure img {
  width: 100%;
  height: auto;
  display: block;
}

.works-item__caption {
  margin: 12px 0 0;
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
}

.works-video__frame {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  background: #000;
}

.works-video__frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.lead {
  font-size: 1.05rem;
  color: var(--text-mid);
  max-width: 40em;
}

h1, h2, h3 { line-height: 1.5; font-weight: 700; }
h2 { margin: 0 0 16px; font-size: clamp(22px, 2.4vw, 28px); color: var(--main); }
h3 { margin: 0 0 8px; font-size: 20px; }
p { margin: 0 0 1em; }

.grid-2, .grid-3, .grid-4, .flow-grid { display: grid; gap: 18px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.grid-4, .flow-grid { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

.card, .voice-card, .case, .job, .article-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
}

.media {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 36px;
  align-items: center;
}

.frame { border-radius: 8px; overflow: hidden; }
.frame img { width: 100%; object-fit: cover; border-radius: 8px; }

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.shot {
  margin: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.shot img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.shot figcaption { padding: 12px 14px; font-size: 15px; color: var(--text-mid); }

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.table-wrap table {
  width: 100%;
  border-collapse: collapse;
  min-width: 520px;
}

table { width: 100%; border-collapse: collapse; }
th, td { padding: 12px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.table-wrap th { background: #eef3fd; color: var(--main); font-weight: 700; width: 28%; }
.table-wrap tr:last-child th, .table-wrap tr:last-child td { border-bottom: 0; }

.prose { max-width: 46em; }
.prose h2 { margin-top: 1.6em; }
.prose img { border-radius: 8px; }

.faq { display: grid; gap: 10px; }
.faq details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 4px 16px;
}
.faq summary { cursor: pointer; font-weight: 700; padding: 12px 0; color: var(--main); }

.form { display: grid; gap: 14px; max-width: 720px; }
.form label { display: grid; gap: 6px; font-weight: 700; }
.form .hint { font-weight: 400; color: var(--text-muted); font-size: 15px; }
.req { color: #9a3412; font-size: 14px; margin-left: 6px; }

.mark-yellow {
  background: linear-gradient(transparent 64%, #fcf69f 0%);
  font-weight: 700;
}

.cf-form {
  max-width: 800px;
  margin: 28px auto 0;
  color: #444;
}

.cf-form table {
  width: 100%;
  min-width: 0;
  border-collapse: collapse;
  border: 1px solid #ccc;
}

.cf-form th,
.cf-form td {
  padding: 0.5em;
  text-align: left;
  vertical-align: middle;
  border: 1px solid #ccc;
  background: transparent;
  width: auto;
  font-weight: 400;
}

.cf-form th {
  width: 35%;
  background: #eee;
}

.cf-form th p,
.cf-form td p {
  margin: 0;
}

.cf-badge {
  display: inline-block;
  font-size: 0.8em;
  padding: 5px;
  margin-right: 5px;
  background: #f57500;
  color: #fff;
  border-radius: 3px;
  font-weight: 700;
  line-height: 1;
}

.cf-form input[type="text"],
.cf-form input[type="email"],
.cf-form input[type="tel"],
.cf-form textarea {
  width: 100%;
  padding: 8px 15px;
  margin: 10px 0;
  border: 1px solid #d0d5d8;
  border-radius: 3px;
  background-color: #eff1f5;
}

.cf-form textarea {
  height: 280px;
  min-height: 280px;
  resize: vertical;
}

.cf-submit {
  display: block;
  width: 400px;
  max-width: 100%;
  margin: 15px auto 0;
  padding: 15px;
  border: 0;
  border-radius: 2px;
  background: #002d72;
  color: #fff;
  font-family: inherit;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
}

.cf-submit:hover {
  box-shadow: 0 15px 30px -5px rgba(0, 0, 0, 0.15), 0 0 5px rgba(0, 0, 0, 0.1);
  transform: translateY(-4px);
  opacity: 0.7;
}

@media (max-width: 768px) {
  .cf-form table,
  .cf-form tbody,
  .cf-form tr,
  .cf-form th,
  .cf-form td {
    display: block;
    width: 100%;
  }

  .cf-form table {
    border-width: 0 0 1px;
  }

  .cf-form th,
  .cf-form td {
    padding: 3% 5%;
  }

  .cf-form td {
    border-width: 0 1px;
  }

  .cf-submit {
    width: min(250px, 100%);
  }
}

input[type="text"], input[type="email"], input[type="tel"], textarea, select {
  width: 100%;
  border: 1px solid #cfd8e3;
  border-radius: 8px;
  padding: 12px 14px;
  background: var(--white);
  color: var(--text);
}

textarea { min-height: 160px; resize: vertical; }
.check { font-weight: 500; display: flex; gap: 8px; align-items: flex-start; }
.hp { position: absolute; left: -9999px; }

.notice { border-radius: 8px; padding: 14px 16px; margin-bottom: 18px; }
.notice--ok { background: #e8f6ee; color: #14532d; }
.notice--ng { background: #fdecec; color: #7f1d1d; }
.note { color: var(--text-muted); font-size: 15px; }

.map {
  width: 100%;
  min-height: 320px;
  border: 0;
  border-radius: 8px;
}

.article-list { display: grid; gap: 14px; }
.article-card { display: block; color: inherit; text-decoration: none; }
.article-card:hover { border-color: #b9d0e4; }
.article-card time { color: var(--text-muted); font-size: 15px; }
.article-card h2, .article-card h3 { margin: 4px 0 8px; font-size: 1.1rem; color: var(--main); }

.point {
  background: #eef3fd;
  border-radius: 8px;
  padding: 4px 16px 8px;
  margin: 1.2em 0;
}

.custom-point-box-wrap {
  position: relative;
  margin: 3em 0 2em;
  padding: 1em;
  border: 4px solid #1a4b77;
  border-radius: 8px 3px 8px 5px / 4px 8px 3px 8px;
}

.custom-point-box-wrap .point-label {
  position: absolute;
  top: -0.7em;
  left: 20px;
  padding: 0 15px;
  background: var(--bg);
  color: #1a4b77;
  font-size: 1.5em;
  font-weight: 700;
  font-style: italic;
}

@media (max-width: 960px) {
  .site-nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    margin-left: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: 8px 0 16px;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
  }

  .site-nav.is-open { display: flex; }

  .site-nav a {
    color: var(--text);
    padding: 14px var(--pad);
    border-bottom: 1px solid var(--line);
  }

  .site-nav a:hover,
  .site-nav a[aria-current="page"] {
    background: #eef3fd;
    color: var(--main);
  }

  .nav-toggle { display: flex; }
  .header-tools { margin-left: auto; }
  .inquiry { display: none; }

  .achieve-grid { grid-template-columns: 1fr; }
  .ueki-voice-grid { grid-template-columns: 1fr; }
  .media, .footer-grid { grid-template-columns: 1fr; }

  .pc-only { display: none; }
  .sp-only { display: block; }

  .flow-list {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .flow-list li {
    padding: 8px 14px;
    font-size: 15px;
    margin-right: 17px;
    margin-bottom: 8px;
  }

  .flow-list li::before {
    right: -9px;
    width: 9px;
    height: 7px;
  }

  .flow-list li::after {
    right: -17px;
    border-top-width: 10px;
    border-bottom-width: 10px;
    border-left-width: 10px;
  }

  .flow-list__spacer {
    min-width: 3em;
    margin-right: 17px;
    margin-bottom: 8px;
  }

  .seihinjirei__item {
    flex: 1 1 calc(50% - 0px);
    max-width: none;
  }

  .section--navy { --seihinjirei-item-h: 200px; }

  .works-row {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .case-table table,
  .case-table tbody,
  .case-table tr,
  .case-table th,
  .case-table td {
    display: block;
    width: 100%;
  }

  .case-table table {
    border-spacing: 0;
    padding: 2px;
  }

  .case-table th {
    width: 100%;
    min-width: 0;
    margin-top: 2px;
  }

  .case-table tbody > tr:first-child > th:first-child {
    margin-top: 0;
  }

  .about-cols--2,
  .about-media {
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .about-media__text,
  .about-media--interview .about-media__photos,
  .about-media__photos {
    flex: 1 1 auto;
    width: 100%;
  }

  .about-map {
    height: 320px;
  }

  .top_midashi05 {
    margin-top: 80px;
    margin-bottom: 40px;
    font-size: 24px;
  }

  .about-page .top_midashi05:first-of-type {
    margin-top: 72px;
  }

  .info-table th,
  .info-table td {
    padding: 8px 10px;
    font-size: 14px;
  }

  .page-swell__content.about-page {
    min-width: 0;
  }
}

@media (min-width: 960px) {
  .hero__inner {
    align-items: flex-end;
    justify-content: flex-start;
    text-align: left;
    padding: 0 clamp(40px, 6vw, 120px) 96px;
  }

  .hero__copy {
    max-width: 720px;
    width: auto;
  }

  .hero__title {
    font-size: clamp(48px, 4vw, 64px);
    margin-bottom: 28px;
  }

  .hero__lead {
    font-size: clamp(16px, 1.25vw, 20px);
    line-height: 2;
  }
}

@media (max-width: 959px) {
  .hero__inner { padding-inline: 4vw; }
}

@media (min-width: 600px) and (max-width: 959px) {
  .works-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .hero__inner {
    align-items: center;
    justify-content: flex-start;
    text-align: left;
    padding: 10vh 22px 88px;
  }

  .hero__copy {
    max-width: none;
    width: 100%;
  }

  .hero__title {
    font-size: clamp(40px, 11.2vw, 48px);
    line-height: 1.28;
    margin-bottom: 22px;
    font-weight: 400;
  }

  .hero__lead {
    font-size: 15px;
    line-height: 1.85;
    letter-spacing: 0.04em;
  }

  .hero__slide--parts img {
    object-position: 72% 40%;
  }

  .heading06::before, .heading07::before { font-size: 42px; }
}

.contact-note {
  margin: 20px 0 0;
  color: var(--text-mid);
  font-size: 15px;
}

.section--compact {
  padding-top: 12px;
}

.home-contact-cta {
  margin: 36px auto 0;
  max-width: 720px;
  padding: 24px 20px;
  border: 1px solid var(--line);
  background: var(--white);
  text-align: center;
}

.home-contact-cta__lead {
  margin: 0 0 16px;
  font-weight: 700;
}

.home-contact-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  justify-content: center;
  align-items: center;
}

.home-contact-cta__tel {
  color: var(--main);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.home-contact-cta__note {
  margin: 12px 0 0;
  color: var(--text-muted);
  font-size: 14px;
}

.trouble-lead {
  margin: 0 0 18px;
  text-align: center;
}

.trouble-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.trouble-list a {
  display: grid;
  gap: 4px;
  height: 100%;
  padding: 16px 14px;
  border: 1px solid var(--line);
  background: var(--white);
  color: inherit;
  text-decoration: none;
}

.trouble-list a:hover {
  border-color: var(--main);
  color: inherit;
}

.trouble-list__label {
  color: var(--main);
  font-size: 13px;
  font-weight: 700;
}

.trouble-list__title {
  font-weight: 700;
}

.trouble-list__text {
  color: var(--text-muted);
  font-size: 14px;
}

.article-cta {
  margin: 28px 0;
  padding: 22px 20px;
  border: 1px solid var(--line);
  background: #f7f9fc;
}

.article-cta__kicker {
  margin: 0 0 6px;
  color: var(--main);
  font-size: 13px;
  font-weight: 700;
}

.page-swell__content .article-cta__title,
.article-cta__title {
  margin: 0 0 10px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.5;
}

.page-swell__content .article-cta__title::after {
  display: none;
  content: none;
}

.article-cta__text {
  margin: 0 0 16px;
}

.article-cta__actions {
  margin: 0;
}

.article-cta__links {
  margin: 0;
  font-size: 15px;
}

.article-cta--soft {
  background: var(--white);
}

.article-cta-inline {
  margin: 0 0 8px;
  padding: 12px 14px;
  border-left: 3px solid var(--main);
  background: #f7f9fc;
}

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

  .home-contact-cta__tel {
    font-size: 20px;
  }

  .cf-form textarea {
    height: 240px;
    min-height: 240px;
  }
}

.preview-banner {
  background: #8a3b12;
  color: #fff;
  text-align: center;
  padding: 10px 16px;
  font-size: 14px;
  line-height: 1.6;
}

/* コラム用模式図（HTML/SVG。金型の細部は描かない） */
.article-diagram {
  margin: 1.25em 0 1.5em;
  padding: 1rem 1rem 0.85rem;
  background: #f7f9fc;
  border: 1px solid var(--line);
  border-radius: 8px;
  max-width: 100%;
}

.article-diagram svg {
  display: block;
  width: 100%;
  max-width: 640px;
  height: auto;
  margin: 0 auto;
}

.article-diagram figcaption {
  font-size: 14px;
  color: var(--text-muted);
  text-align: center;
  margin: 0.85em 0 0;
  padding-top: 0.65em;
  border-top: 1px solid var(--line);
  line-height: 1.6;
}

.article-diagram--hero {
  max-width: 500px;
  padding: 1.1rem 1.15rem;
}

.article-eyecatch.article-diagram--hero {
  margin-left: auto;
  margin-right: auto;
}

.article-diagram__hero {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.article-diagram__kanayan {
  flex: 0 0 auto;
  width: 88px;
  height: auto;
  border-radius: 8px;
}

.article-diagram__hero-title {
  margin: 0 0 0.5em;
  font-weight: 700;
  color: var(--main);
  font-size: 15px;
}

.article-diagram__hero-list {
  margin: 0;
  padding-left: 1.15em;
  font-size: 14px;
  line-height: 1.65;
}

.article-diagram__hero-list li {
  margin-bottom: 0.35em;
}

@media (max-width: 480px) {
  .article-diagram__hero {
    flex-direction: column;
    align-items: center;
    text-align: left;
  }

  .article-diagram__kanayan {
    width: 100px;
  }
}
