:root {
  --bg: #ffffff;
  --bg-soft: #f5f9fc;
  --bg-blue: #eaf5fb;
  --text: #17313b;
  --muted: #5d7078;
  --line: #d9e7ee;
  --brand: #0b78a0;
  --brand-dark: #075c7b;
  --accent: #f2762e;
  --accent-dark: #ce581a;
  --ok: #18765b;
  --no: #a44848;
  --shadow: 0 18px 48px rgba(21, 65, 84, 0.11);
  --radius: 8px;
  --container: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Noto Sans JP", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.85;
  letter-spacing: 0;
}

img,
iframe {
  max-width: 100%;
}

img {
  height: auto;
  display: block;
}

.pc-only {
  display: inline;
}

a {
  color: var(--brand);
}

a:hover {
  color: var(--brand-dark);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.header-inner,
.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

.header-inner {
  width: min(100% - 32px, 1280px);
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  padding: 6px 0;
  text-decoration: none;
}

.site-logo img {
  display: block;
  width: min(292px, 46vw);
  height: auto;
}

.menu-toggle {
  display: none;
}

.site-nav {
  display: flex;
  align-items: center;
  flex: 0 1 auto;
  flex-wrap: nowrap;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
}

.site-nav::-webkit-scrollbar {
  display: none;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-height: 40px;
  padding: 8px 10px;
  color: var(--text);
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  word-break: keep-all;
  border-radius: 6px;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  background: var(--bg-blue);
  color: var(--brand-dark);
}

.site-nav .nav-cta {
  background: var(--text);
  color: #fff;
}

.site-nav .nav-cta:hover {
  background: var(--brand-dark);
  color: #fff;
}

.hero {
  position: relative;
  min-height: 760px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-image:
    linear-gradient(90deg, rgba(255,255,255,0.98) 0%, rgba(255,255,255,0.94) 42%, rgba(255,255,255,0.5) 70%, rgba(255,255,255,0.06) 100%),
    url("hero-template-real-example.webp");
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  border-bottom: 1px solid var(--line);
}

.hero .container {
  position: relative;
  padding: 44px 0;
}

.hero-content {
  width: min(100%, 720px);
}

.eyebrow,
.label {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  gap: 8px;
  min-height: 32px;
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--brand-dark);
  font-size: 13px;
  font-weight: 800;
}

.hero .eyebrow {
  border-color: #e4d5bc;
  background: rgba(246, 239, 227, 0.94);
  color: #3f3a31;
}

.hero h1 {
  max-width: 720px;
  margin: 18px 0;
  font-size: clamp(36px, 3.6vw, 48px);
  line-height: 1.24;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 660px;
  margin: 0;
  color: #2b4a55;
  font-size: clamp(17px, 1.55vw, 20px);
  font-weight: 500;
  line-height: 1.8;
}

.hero-summary {
  max-width: 660px;
  margin: 18px 0 0;
  padding: 4px 0 4px 14px;
  border: 0;
  border-left: 4px solid #c5a05d;
  border-radius: 0;
  background: transparent;
  color: var(--brand-dark);
  font-size: 17px;
  font-weight: 800;
  line-height: 1.6;
}

.hero-visual {
  display: none;
  margin: 0;
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 680px;
  gap: 14px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.hero-meta li {
  display: flex;
  min-width: 0;
  min-height: 126px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 10px;
  border: 1px solid rgba(205, 174, 119, 0.65);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 8px 20px rgba(90, 69, 43, 0.06);
  color: var(--text);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.55;
  text-align: center;
}

.hero-meta img {
  width: 56px;
  height: 56px;
  flex: 0 0 56px;
  object-fit: contain;
}

.mini-stat {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255,255,255,0.86);
  font-size: 14px;
  font-weight: 800;
}

.hero-actions {
  gap: 16px;
  margin-top: 24px;
}

.hero-actions .button {
  min-width: 210px;
  min-height: 56px;
  border-radius: 12px;
  font-size: 17px;
}

.hero-button-primary {
  border-color: #0a5594;
  background: #0a5594;
  box-shadow: 0 12px 24px rgba(10, 85, 148, 0.2);
  color: #fff;
}

.hero-button-primary:hover {
  border-color: #074477;
  background: #074477;
  color: #fff;
}

.hero-button-secondary {
  border-color: #0a5594;
  background: rgba(255, 255, 255, 0.94);
  color: #0a5594;
}

.hero-button-secondary:hover {
  background: #eef6fb;
  color: #074477;
}

.product-intro {
  background: linear-gradient(180deg, #ffffff 0%, #f7fbfd 100%);
}

.product-intro .section-head {
  max-width: 860px;
  margin-inline: auto;
}

.product-intro .section-head p + p {
  margin-top: 8px;
}

.product-intro-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 40px;
}

.product-intro-card {
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 14px;
  min-height: 100%;
  padding: 30px 24px;
  border: 1px solid rgba(217, 231, 238, 0.94);
  border-radius: var(--radius);
  background: #fff;
  text-align: center;
  box-shadow: 0 12px 30px rgba(21, 65, 84, 0.07);
}

.product-intro-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #eaf5fb;
  color: var(--brand-dark);
}

.product-intro-icon::before,
.product-intro-icon::after {
  content: "";
  position: absolute;
  display: block;
}

.product-intro-icon-edit::before {
  width: 25px;
  height: 7px;
  border-radius: 999px;
  background: currentColor;
  transform: rotate(-38deg);
}

.product-intro-icon-edit::after {
  right: 19px;
  bottom: 18px;
  width: 20px;
  height: 3px;
  border-radius: 999px;
  background: #8fc4da;
}

.product-intro-icon-video::before {
  width: 32px;
  height: 24px;
  border: 3px solid currentColor;
  border-radius: 6px;
}

.product-intro-icon-video::after {
  width: 0;
  height: 0;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 11px solid currentColor;
  transform: translateX(2px);
}

.product-intro-icon-file::before {
  width: 30px;
  height: 36px;
  border: 3px solid currentColor;
  border-radius: 5px;
  background: #fff;
}

.product-intro-icon-file::after {
  top: 17px;
  right: 17px;
  width: 12px;
  height: 12px;
  border-top: 3px solid #8fc4da;
  border-right: 3px solid #8fc4da;
}

.product-intro-card h3 {
  margin: 0;
  color: var(--text);
  font-size: 20px;
  line-height: 1.45;
}

.product-intro-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.product-intro-image {
  display: grid;
  place-items: center;
  width: 100%;
  margin: 0;
}

.product-intro-image img {
  display: block;
  width: 180px;
  height: 180px;
  object-fit: contain;
}

.anchor-target {
  scroll-margin-top: 92px;
}

.product-intro-lead {
  max-width: 760px;
  margin: 34px auto 0;
  color: #24445d;
  font-weight: 800;
  line-height: 1.8;
  text-align: center;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border-radius: 8px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 800;
  line-height: 1.35;
  text-align: center;
}

.button.primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 12px 24px rgba(242, 118, 46, 0.22);
}

.button.primary:hover {
  background: var(--accent-dark);
  color: #fff;
}

.button.secondary {
  background: #fff;
  color: var(--brand-dark);
  border-color: var(--line);
}

.button.secondary:hover {
  background: var(--bg-blue);
  color: var(--brand-dark);
}

.button.dark {
  background: var(--text);
  color: #fff;
}

.button.dark:hover {
  background: var(--brand-dark);
  color: #fff;
}

.section {
  padding: 88px 0;
}

.section.compact {
  padding: 64px 0;
}

.section.soft {
  background: var(--bg-soft);
}

.section.blue {
  background: var(--bg-blue);
}

.section-head {
  display: grid;
  gap: 10px;
  margin-bottom: 34px;
}

.section-head.center {
  text-align: center;
  justify-items: center;
}

.section-head h2,
.page-hero h1 {
  margin: 0;
  font-size: clamp(28px, 4.4vw, 46px);
  line-height: 1.24;
  letter-spacing: 0;
}

.section-head p,
.page-hero p,
.lead {
  max-width: 820px;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

.grid {
  display: grid;
  gap: 18px;
}

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

.grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 10px 24px rgba(21, 65, 84, 0.06);
}

.card h3 {
  margin: 0 0 10px;
  font-size: 20px;
  line-height: 1.45;
}

.card p {
  margin: 0;
  color: var(--muted);
}

.check-list,
.x-list,
.plain-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li,
.x-list li,
.plain-list li {
  position: relative;
  padding-left: 30px;
}

.check-list li::before,
.x-list li::before {
  position: absolute;
  left: 0;
  top: 0.1em;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 900;
}

.check-list li::before {
  content: "✓";
  background: #e8f6f1;
  color: var(--ok);
}

.x-list li::before {
  content: "!";
  background: #fbefef;
  color: var(--no);
}

.plain-list li::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 0.75em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand);
}

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 32px;
  align-items: start;
}

.fit-stack {
  display: grid;
  gap: 42px;
}

.diagnosis-section {
  background:
    linear-gradient(180deg, #ffffff 0%, #f7fbfd 100%);
}

.diagnosis-stack {
  display: grid;
  gap: 22px;
}

.diagnosis-card {
  position: relative;
  overflow: hidden;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 14px 34px rgba(21, 65, 84, 0.07);
}

.diagnosis-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
}

.diagnosis-card::after {
  position: absolute;
  right: 28px;
  top: 22px;
  color: rgba(11, 120, 160, 0.1);
  font-size: 76px;
  font-weight: 900;
  line-height: 1;
}

.diagnosis-card-fit {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.96) 0%, rgba(241,250,254,0.92) 100%);
}

.diagnosis-card-fit::before {
  background: linear-gradient(90deg, var(--brand), #7cc5d9);
}

.diagnosis-card-fit::after {
  content: "✓";
}

.diagnosis-card-unfit {
  background:
    linear-gradient(180deg, #ffffff 0%, #f8fafb 100%);
}

.diagnosis-card-unfit::before {
  background: linear-gradient(90deg, #9aa8ae, #d8e1e5);
}

.diagnosis-card-unfit::after {
  content: "!";
  color: rgba(95, 111, 118, 0.12);
}

.diagnosis-head {
  display: grid;
  gap: 10px;
  max-width: 820px;
  margin-bottom: 24px;
  padding-right: 96px;
}

.diagnosis-head h2 {
  margin: 0;
  font-size: clamp(26px, 3.4vw, 38px);
  line-height: 1.28;
  letter-spacing: 0;
}

.diagnosis-head p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

.diagnosis-list {
  gap: 12px;
}

.diagnosis-list li {
  min-height: 52px;
  padding: 12px 16px 12px 48px;
  border: 1px solid rgba(217, 231, 238, 0.88);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
}

.diagnosis-list li::before {
  left: 16px;
  top: 14px;
}

.diagnosis-card-unfit .diagnosis-list li {
  background: rgba(255, 255, 255, 0.82);
}

.diagnosis-card-unfit .x-list li::before {
  background: #f4f1ee;
  color: #8a6759;
}

.diagnosis-note {
  max-width: 760px;
  margin: 24px auto 0;
  padding: 16px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: #3c5964;
  text-align: center;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(21, 65, 84, 0.05);
}

.precheck-section {
  padding: 56px 0;
  background: linear-gradient(180deg, #ffffff 0%, #f7fbfd 100%);
}

.precheck-card {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 18px;
  max-width: 920px;
  margin: 0 auto;
  padding: 26px;
  border: 1px solid rgba(217, 231, 238, 0.94);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(244,250,253,0.96) 100%);
  box-shadow: 0 14px 34px rgba(21, 65, 84, 0.07);
}

.precheck-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid #cfe5ef;
  border-radius: 14px;
  background: #eaf5fb;
}

.precheck-icon::before {
  content: "";
  width: 10px;
  height: 18px;
  border: solid var(--brand);
  border-width: 0 3px 3px 0;
  transform: rotate(45deg) translate(-1px, -2px);
}

.precheck-copy {
  display: grid;
  gap: 12px;
}

.precheck-copy h2 {
  margin: 0;
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.35;
  letter-spacing: 0;
}

.precheck-copy p {
  margin: 0;
  color: var(--muted);
}

.precheck-note {
  margin-top: 4px;
  padding: 14px 16px;
  border: 1px solid rgba(217, 231, 238, 0.92);
  border-radius: var(--radius);
  background: #fff;
  color: #3c5964;
  font-weight: 700;
}

.note {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--muted);
}

.story-copy {
  display: grid;
  gap: 14px;
  color: var(--muted);
}

.story-copy p {
  margin: 0;
}

.story-card {
  border-left: 4px solid var(--brand);
}

.case-section {
  background: #fff;
}

.case-layout {
  display: grid;
  grid-template-columns: minmax(240px, 320px) 1fr;
  gap: 38px;
  align-items: start;
}

.case-photo {
  width: min(100%, 320px);
  margin: 0;
  justify-self: center;
}

.case-photo img {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 18px 42px rgba(21, 65, 84, 0.14);
}

.case-content {
  display: grid;
  gap: 20px;
}

.case-intro {
  display: grid;
  gap: 12px;
  color: var(--muted);
  font-size: 17px;
}

.case-intro p {
  margin: 0;
}

.case-quote {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 24px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--brand);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(245,249,252,0.94) 100%);
  box-shadow: 0 12px 28px rgba(21, 65, 84, 0.07);
  color: #3f5862;
  font-size: 15px;
  line-height: 1.9;
}

.case-quote p {
  margin: 0;
}

.case-quote .text-link {
  margin-top: 6px;
}

.recommendation-section {
  background: #fff;
}

.recommendation-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  gap: 34px;
  align-items: center;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(245,249,252,0.96) 100%);
  box-shadow: 0 14px 34px rgba(21, 65, 84, 0.07);
}

.recommendation-copy {
  display: grid;
  gap: 12px;
}

.recommendation-copy h2 {
  margin: 0;
  font-size: clamp(26px, 3.5vw, 38px);
  line-height: 1.32;
  letter-spacing: 0;
}

.recommendation-copy p {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
}

.recommendation-figure {
  width: min(100%, 360px);
  margin: 0;
  justify-self: center;
  text-align: center;
}

.recommendation-image-button {
  display: block;
  width: 100%;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 16px 34px rgba(21, 65, 84, 0.12);
  cursor: pointer;
}

.recommendation-image-button:hover,
.recommendation-image-button:focus-visible {
  border-color: #b9d7e4;
  box-shadow: 0 18px 38px rgba(21, 65, 84, 0.16);
  outline: none;
}

.recommendation-image-button img {
  width: 100%;
  border-radius: 10px;
  background: var(--bg-soft);
}

.recommendation-figure figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.video-card {
  max-width: 960px;
  margin: 32px auto 0;
  padding: 16px;
  border: 1px solid rgba(80, 160, 210, 0.18);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(15, 80, 120, 0.12);
}

.content-video-card {
  max-width: none;
  margin: 0;
}

.video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 16px;
  background: #eef7fb;
}

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

.video-note {
  max-width: 720px;
  margin: 18px auto 0;
  color: var(--muted);
  text-align: center;
  font-weight: 700;
}

.section-visual {
  display: block;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 18px 42px rgba(19, 68, 96, 0.12);
  object-fit: cover;
}

.visual-wrap {
  margin: -4px 0 32px;
}

.visual-wrap.center {
  max-width: 980px;
  margin-right: auto;
  margin-left: auto;
}

.story-card .section-visual {
  margin-bottom: 18px;
  box-shadow: 0 12px 28px rgba(19, 68, 96, 0.1);
}

.feature-band {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 32px;
  align-items: center;
}

.feature-band-stacked {
  grid-template-columns: 1fr;
}

.feature-band .section-visual {
  min-height: 320px;
  aspect-ratio: 16 / 10;
}

.real-product-image,
.real-flow-image,
.real-edit-image {
  max-width: 1240px;
  margin: 36px auto 34px;
}

.real-edit-image {
  margin-top: 0;
}

.zoomable-image {
  display: block;
  text-decoration: none;
}

.real-product-image img,
.real-flow-image img,
.real-edit-image img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid rgba(217, 231, 238, 0.85);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(15, 45, 70, 0.1);
}

.real-product-image figcaption,
.real-flow-image figcaption,
.real-edit-image figcaption {
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.7;
  text-align: center;
}

.image-zoom-note {
  display: none;
}

.steps {
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps li {
  counter-increment: step;
  position: relative;
  min-height: 180px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.steps li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-weight: 900;
}

.steps h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.steps p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

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

.work-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 24px rgba(21, 65, 84, 0.07);
}

.work-card figure {
  margin: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
}

.work-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.work-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 10px;
  padding: 18px;
}

.work-body h3 {
  margin: 0;
  font-size: 18px;
  line-height: 1.45;
}

.work-type {
  margin: 0;
  color: var(--brand-dark);
  font-size: 13px;
  font-weight: 800;
}

.work-body p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.work-button {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 42px;
  padding: 8px 16px;
  border: 1px solid rgba(11, 120, 160, 0.2);
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.work-button:hover {
  background: var(--brand-dark);
  color: #fff;
}

.text-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  width: fit-content;
  color: var(--brand-dark);
  font-weight: 800;
  text-decoration: none;
}

.text-link:hover {
  text-decoration: underline;
}

.service-comparison {
  background: linear-gradient(180deg, #eef8fc 0%, #ffffff 48%, #f7fbfd 100%);
}

.service-comparison__heading {
  max-width: 900px;
  margin-inline: auto;
}

.service-comparison__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 26px;
}

.comparison-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 30px;
  border: 1px solid rgba(217, 231, 238, 0.95);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(21, 65, 84, 0.08);
}

.comparison-card--template {
  border: 2px solid rgba(11, 120, 160, 0.34);
  box-shadow: 0 18px 44px rgba(11, 120, 160, 0.13);
}

.comparison-card__badge {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  min-height: 28px;
  margin-bottom: 18px;
  padding: 5px 11px;
  border-radius: 999px;
  background: #eaf5fb;
  color: var(--brand-dark);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
}

.comparison-card--service .comparison-card__badge {
  margin-top: 1px;
}

.comparison-card__header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.comparison-card__icon {
  display: grid;
  place-items: center;
  flex: 0 0 62px;
  width: 62px;
  height: 62px;
  border-radius: 18px;
  background: #eef8fc;
  color: var(--brand-dark);
}

.comparison-card--template .comparison-card__icon {
  background: #e5f4fb;
}

.comparison-card__icon svg {
  width: 38px;
  height: 38px;
}

.comparison-card__icon svg * {
  fill: none;
  stroke: currentColor;
  stroke-width: 2.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.comparison-card__type {
  display: block;
  margin-bottom: 4px;
  color: var(--brand-dark);
  font-size: 13px;
  font-weight: 800;
}

.comparison-card h3 {
  margin: 0;
  color: var(--text);
  font-size: 24px;
  line-height: 1.38;
}

.comparison-card__summary {
  margin: 0 0 20px;
  color: #314c57;
  font-weight: 700;
  line-height: 1.75;
}

.comparison-card__list {
  display: grid;
  gap: 12px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

.comparison-card__list li {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  align-items: start;
  gap: 9px;
  color: #344f59;
  line-height: 1.7;
}

.comparison-card__check,
.comparison-card__note-icon {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  margin-top: 2px;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
}

.comparison-card__check {
  background: #e8f6ef;
  color: #18765b;
}

.comparison-card__note-icon {
  background: #fff2dc;
  color: #b86b17;
  font-family: Arial, sans-serif;
}

.comparison-card__suitable {
  margin-top: auto;
  padding: 18px;
  border: 1px solid rgba(217, 231, 238, 0.9);
  border-radius: 16px;
  background: #f6fbfe;
}

.comparison-card__suitable strong {
  display: block;
  margin-bottom: 6px;
  color: var(--brand-dark);
  font-size: 15px;
}

.comparison-card__suitable p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.service-comparison__message {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-top: 28px;
  padding: 22px 24px;
  border: 1px solid rgba(11, 120, 160, 0.18);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 12px 30px rgba(21, 65, 84, 0.07);
}

.service-comparison__message-icon {
  display: grid;
  place-items: center;
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #eaf5fb;
  color: var(--brand-dark);
}

.service-comparison__message-icon svg {
  width: 30px;
  height: 30px;
}

.service-comparison__message-icon svg * {
  fill: none;
  stroke: currentColor;
  stroke-width: 2.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-comparison__message strong {
  display: block;
  margin-bottom: 4px;
  color: var(--text);
  font-size: 18px;
}

.service-comparison__message p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.compare {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.compare th,
.compare td {
  padding: 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.compare th {
  width: 22%;
  background: var(--bg-soft);
}

.compare tr:last-child th,
.compare tr:last-child td {
  border-bottom: 0;
}

.assurance {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.assurance-icon-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.assurance-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100%;
  padding: 26px 22px;
  border: 1px solid rgba(217, 231, 238, 0.95);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(21, 65, 84, 0.08);
  text-align: center;
}

.assurance-card__icon {
  display: grid;
  place-items: center;
  width: 100%;
  margin: 0 0 16px;
}

.assurance-card__icon img {
  display: block;
  width: 108px;
  height: 108px;
  object-fit: contain;
}

.assurance-card h3 {
  margin: 0 0 10px;
  color: var(--brand-dark);
  font-size: 19px;
  line-height: 1.45;
}

.assurance-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.assurance .card strong {
  display: block;
  color: var(--brand-dark);
  font-size: 22px;
  line-height: 1.35;
}

.pricing {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.price-card.recommended {
  background: #fffaf7;
  border: 2px solid rgba(242, 118, 46, 0.72);
  box-shadow: 0 24px 60px rgba(242, 118, 46, 0.18);
  transform: translateY(-6px);
}

.price-card.recommended .price strong {
  color: var(--accent-dark);
}

.plan-labels {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.label.accent {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.plan-description {
  margin: 0;
  color: var(--muted);
}

.plan-type {
  margin: -8px 0 0;
  color: var(--brand-dark);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.6;
}

.price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  color: var(--text);
  font-weight: 900;
}

.price strong {
  font-size: clamp(36px, 5vw, 52px);
  line-height: 1;
}

.price span {
  color: var(--muted);
  font-weight: 700;
}

.included {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.included li {
  padding: 4px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg-soft);
  font-size: 13px;
  font-weight: 700;
}

.faq-list {
  display: grid;
  gap: 12px;
}

details {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 26px rgba(21, 65, 84, 0.05);
}

summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  list-style: none;
  padding: 18px 20px;
  color: var(--text);
  font-weight: 800;
  line-height: 1.5;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  display: grid;
  place-items: center;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  margin-top: -2px;
  border-radius: 50%;
  background: var(--bg-blue);
  color: var(--brand-dark);
  font-size: 18px;
  font-weight: 900;
  line-height: 1;
}

details[open] summary {
  border-bottom: 1px solid var(--line);
  background: var(--bg-soft);
}

details[open] summary::after {
  content: "-";
  background: #fff;
}

.faq-answer {
  padding: 18px 20px;
  color: var(--muted);
  line-height: 1.85;
}

.faq-answer p {
  margin: 0 0 12px;
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

.page-hero {
  min-height: 320px;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 64px 0 54px;
  background-color: var(--bg-blue);
  background-size: cover;
  background-position: center right;
  border-bottom: 1px solid var(--line);
}

.page-hero.works-hero {
  background-image:
    linear-gradient(90deg, rgba(255,255,255,0.97) 0%, rgba(255,255,255,0.9) 43%, rgba(234,245,251,0.62) 73%, rgba(234,245,251,0.26) 100%),
    url("subpage-works-hero.webp");
}

.page-hero.contents-hero {
  background-image:
    linear-gradient(90deg, rgba(255,255,255,0.97) 0%, rgba(255,255,255,0.9) 43%, rgba(234,245,251,0.64) 74%, rgba(234,245,251,0.3) 100%),
    url("subpage-contents-hero.webp");
}

.page-hero.faq-hero {
  background-image:
    linear-gradient(90deg, rgba(255,255,255,0.97) 0%, rgba(255,255,255,0.9) 44%, rgba(234,245,251,0.66) 74%, rgba(234,245,251,0.32) 100%),
    url("subpage-faq-hero.webp");
}

.page-hero.story-hero {
  background-image:
    linear-gradient(90deg, rgba(255,255,255,0.94) 0%, rgba(255,255,255,0.86) 46%, rgba(234,245,251,0.58) 76%, rgba(234,245,251,0.28) 100%),
    url("story-hero-workspace.webp");
  background-position: center center;
}

.page-hero.voices-hero {
  background-color: #fffaf2;
  background-image:
    linear-gradient(90deg, rgba(255,255,255,0.94) 0%, rgba(255,255,255,0.86) 48%, rgba(255,255,255,0.48) 78%, rgba(255,255,255,0.28) 100%),
    url("voices/voices-hero-bg.webp");
  background-position: center center;
}

.page-hero .container {
  display: grid;
  gap: 14px;
  position: relative;
}

.page-hero h1 {
  max-width: 720px;
}

.page-hero p {
  max-width: 760px;
  color: #3c5964;
}

.media-frame {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.media-frame iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  border: 0;
}

.materials-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.material-card {
  position: relative;
  display: grid;
  align-content: start;
  gap: 12px;
  min-height: 0;
  padding: 24px;
  overflow: hidden;
  border: 1px solid rgba(217, 231, 238, 0.94);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, #ffffff 0%, #f8fbfd 100%);
  box-shadow: 0 12px 30px rgba(21, 65, 84, 0.06);
}

.material-card::after {
  content: "";
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(11, 120, 160, 0.08);
}

.material-card > * {
  position: relative;
  z-index: 1;
}

.material-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top center;
  border: 1px solid rgba(217, 231, 238, 0.9);
  border-radius: 10px;
  background: var(--bg-soft);
}

.material-chip,
.mini-chip {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 28px;
  padding: 4px 10px;
  border: 1px solid #cfe5ef;
  border-radius: 999px;
  background: #eaf5fb;
  color: var(--brand-dark);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.3;
}

.material-card h3 {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: 21px;
  line-height: 1.42;
}

.material-card p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--muted);
}

.support-materials {
  margin-top: 26px;
  padding: 24px;
  border: 1px solid rgba(217, 231, 238, 0.92);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
}

.support-materials-head {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
}

.support-materials-head h3 {
  margin: 0;
  font-size: 24px;
  line-height: 1.4;
}

.support-materials-head p {
  margin: 0;
  color: var(--muted);
}

.support-material-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.support-material-list article {
  display: grid;
  grid-template-columns: 104px 1fr;
  gap: 14px;
  align-items: start;
  padding: 16px;
  border: 1px solid rgba(217, 231, 238, 0.86);
  border-radius: var(--radius);
  background: var(--bg-soft);
}

.support-material-list img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid rgba(217, 231, 238, 0.86);
  border-radius: 8px;
  background: #fff;
}

.support-material-list .mini-chip {
  margin-bottom: 8px;
}

.support-material-list h4 {
  margin: 0 0 6px;
  font-size: 17px;
  line-height: 1.45;
}

.support-material-list p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.kit-section .section-head {
  margin-bottom: 38px;
}

.kit-group {
  display: grid;
  gap: 20px;
}

.kit-group + .kit-group {
  margin-top: 42px;
}

.kit-group-head {
  display: grid;
  gap: 10px;
  max-width: 880px;
}

.kit-group-head h3 {
  margin: 0;
  font-size: clamp(24px, 3.2vw, 34px);
  line-height: 1.35;
}

.kit-group-head p {
  margin: 0;
  color: var(--muted);
}

.kit-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.kit-card-grid-two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.kit-card {
  display: grid;
  grid-template-rows: auto 1fr;
  align-items: start;
  overflow: hidden;
  border: 1px solid rgba(217, 231, 238, 0.94);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 12px 30px rgba(21, 65, 84, 0.07);
}

.kit-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: contain;
  object-position: center;
  padding: 12px;
  border-bottom: 1px solid rgba(217, 231, 238, 0.9);
  background: #f7fbfd;
}

.kit-card-body {
  display: grid;
  align-self: start;
  align-content: start;
  justify-items: start;
  text-align: left;
  gap: 11px;
  padding: 20px;
}

.kit-card h4 {
  margin: 0;
  font-size: 20px;
  line-height: 1.42;
}

.kit-card p {
  margin: 0;
  color: var(--muted);
}

.compact-list {
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.kit-group-recommended {
  padding: 26px;
  border: 1px solid rgba(242, 181, 118, 0.38);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.92) 0%, rgba(255,248,238,0.72) 100%);
}

.kit-card-recommended {
  border-color: rgba(242, 181, 118, 0.46);
  box-shadow: 0 16px 38px rgba(154, 93, 38, 0.08);
}

.kit-card-featured {
  border-color: rgba(11, 120, 160, 0.26);
  background:
    linear-gradient(180deg, #ffffff 0%, #f7fbfd 100%);
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.material-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 2px;
}

.material-chip-soft {
  border-color: rgba(242, 181, 118, 0.4);
  background: #fff7eb;
  color: #8a5a22;
}

.kit-card-recommended .material-chip {
  border-color: rgba(242, 181, 118, 0.44);
  background: #fff6e9;
  color: #8a5a22;
}

.parts-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
}

.parts-card {
  display: grid;
  align-content: start;
  gap: 14px;
  align-items: start;
  text-align: left;
  padding: 22px;
  border: 1px solid rgba(217, 231, 238, 0.94);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 12px 30px rgba(21, 65, 84, 0.07);
}

.feature-group-title {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 60px;
}

.feature-group-title img {
  width: 56px;
  height: 56px;
  flex: 0 0 56px;
  object-fit: contain;
}

.feature-group-title h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.42;
}

.parts-card ul {
  grid-column: 1 / -1;
  display: grid;
  align-content: start;
  justify-items: start;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: left;
}

.parts-card li {
  position: relative;
  width: 100%;
  padding-left: 18px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}

.parts-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.78em;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #8fc4da;
}

.parts-note {
  display: grid;
  gap: 8px;
  max-width: 900px;
  margin: 26px auto 0;
  padding: 20px 22px;
  border: 1px solid rgba(217, 231, 238, 0.96);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #ffffff 0%, #f5f9fc 100%);
  box-shadow: 0 10px 28px rgba(21, 65, 84, 0.06);
}

.parts-note h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.45;
}

.parts-note p {
  margin: 0;
  color: var(--muted);
}

.section-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 36px;
}

.content-card {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 22px;
  align-items: center;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.content-card img {
  width: 100%;
  max-height: 160px;
  object-fit: contain;
  border-radius: 8px;
  background: var(--bg-soft);
}

.content-card h2,
.content-card h3 {
  margin: 0 0 8px;
  font-size: 24px;
  line-height: 1.35;
}

.content-card p {
  margin: 0;
  color: var(--muted);
}

.template-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.template-count-note {
  max-width: 880px;
  margin: 24px auto 0;
  color: var(--muted);
  line-height: 1.8;
  text-align: center;
}

.template-gallery-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.template-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 10px 24px rgba(21, 65, 84, 0.07);
}

.template-card img {
  width: 100%;
  aspect-ratio: 800 / 455;
  object-fit: cover;
  object-position: top center;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
}

.template-card-body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
}

.template-card-body span,
.template-card-body strong {
  color: var(--brand-dark);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.4;
}

.template-card-body small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.template-card-button {
  width: 100%;
  padding: 0;
  border: 1px solid var(--line);
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.template-card-button:hover {
  border-color: #b9d7e4;
  box-shadow: 0 14px 30px rgba(21, 65, 84, 0.11);
  transform: translateY(-1px);
}

.template-card-button:focus-visible {
  outline: 3px solid rgba(11, 120, 160, 0.24);
  outline-offset: 3px;
}

.template-gallery-note {
  max-width: 880px;
  margin: 28px auto 0;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-soft);
  color: var(--muted);
}

body.modal-open {
  overflow: hidden;
}

.template-modal[hidden] {
  display: none;
}

.template-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 20px;
}

.template-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(13, 52, 67, 0.74);
}

.template-modal-panel {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 12px;
  width: min(1080px, calc(100vw - 40px));
  max-height: calc(100dvh - 40px);
  padding: 18px;
  border: 1px solid rgba(255,255,255,0.42);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
}

.template-modal-title {
  margin: 0;
  padding-right: 48px;
  color: var(--brand-dark);
  font-weight: 800;
}

.template-modal-panel img {
  width: 100%;
  max-height: calc(100dvh - 150px);
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-soft);
}

.template-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--text);
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
}

.template-modal-close:hover,
.template-modal-close:focus-visible {
  background: var(--bg-blue);
  color: var(--brand-dark);
}

.category {
  margin-top: 44px;
}

.category h2 {
  margin: 0 0 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
  font-size: 26px;
}

.law-hero {
  background-image:
    linear-gradient(90deg, rgba(255,255,255,0.97) 0%, rgba(255,255,255,0.9) 43%, rgba(234,245,251,0.66) 74%, rgba(234,245,251,0.3) 100%),
    url("subpage-faq-hero.webp");
}

.law-section {
  padding: 72px 0;
  background: #f7fbfd;
}

.law-card {
  overflow: hidden;
  border: 1px solid rgba(217, 231, 238, 0.94);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 14px 40px rgba(21, 65, 84, 0.08);
}

.law-table {
  width: 100%;
  border-collapse: collapse;
}

.law-table th,
.law-table td {
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  line-height: 1.8;
}

.law-table th {
  width: 28%;
  background: #f1f7fb;
  color: var(--text);
  font-weight: 800;
  text-align: left;
}

.law-table td {
  color: #334b57;
}

.law-table td p {
  margin: 0 0 12px;
}

.law-table td p:last-child {
  margin-bottom: 0;
}

.law-table tr:last-child th,
.law-table tr:last-child td {
  border-bottom: none;
}

.mail-address-img {
  display: inline-block;
  width: 132px;
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

.mail-address-inline {
  margin-left: 4px;
}

.story-page {
  background:
    linear-gradient(180deg, #ffffff 0%, #f7fbfd 100%);
}

.story-container {
  max-width: 920px;
}

.story-article {
  display: grid;
  gap: 28px;
}

.story-chapter {
  position: relative;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 12px 30px rgba(21, 65, 84, 0.06);
}

.story-number {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-weight: 900;
}

.story-chapter h2 {
  margin: 0 0 18px;
  font-size: clamp(24px, 3.4vw, 34px);
  line-height: 1.35;
  letter-spacing: 0;
}

.story-chapter p {
  margin: 0 0 14px;
  color: #3f5862;
}

.story-chapter p:last-child {
  margin-bottom: 0;
}

.story-highlight {
  padding: 14px 16px;
  border: 1px solid #d7ebf3;
  border-radius: var(--radius);
  background: #eef8fc;
  color: var(--brand-dark);
  font-weight: 800;
}

.story-quote-box {
  display: grid;
  gap: 8px;
  margin: 18px 0;
  padding: 18px 20px;
  border-left: 4px solid var(--brand);
  border-radius: var(--radius);
  background: var(--bg-soft);
}

.story-quote-box p {
  margin: 0;
  color: var(--text);
  font-weight: 700;
}

.story-parts-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 42%);
  gap: 24px;
  align-items: center;
}

.story-parts-text {
  min-width: 0;
}

.story-visual-card {
  margin: 4px 0 0;
  padding: 12px;
  border: 1px solid rgba(217, 231, 238, 0.9);
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff 0%, #f7fbfd 100%);
  box-shadow: 0 14px 34px rgba(21, 65, 84, 0.08);
}

.story-visual-card img {
  width: 100%;
  border-radius: 12px;
}

.story-visual-card figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.gift-story-intro {
  background: linear-gradient(180deg, #ffffff 0%, #fbf8f3 100%);
}

.gift-story-intro__inner {
  position: relative;
  max-width: 820px;
  margin-inline: auto;
  padding: 48px 54px;
  border: 1px solid #eadfce;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 14px 34px rgba(90, 69, 43, 0.07);
}

.life-english-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.57fr) minmax(350px, 0.43fr);
  grid-template-areas:
    "heading screen"
    "text screen"
    "actions screen";
  max-width: 1120px;
  column-gap: 46px;
  row-gap: 0;
}

.gift-story-intro__inner.life-english-intro::before {
  display: none;
}

.life-english-intro__heading {
  grid-area: heading;
  min-width: 0;
}

.life-english-intro__heading::before {
  content: "";
  display: block;
  width: 52px;
  height: 3px;
  margin-bottom: 20px;
  border-radius: 999px;
  background: #d4b98d;
}

.life-english-intro__text {
  grid-area: text;
  min-width: 0;
  max-width: 700px;
}

.life-english-intro__screen {
  grid-area: screen;
  align-self: start;
  width: 100%;
  margin: 0;
}

.life-english-intro__screen figcaption {
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.life-english-intro__actions {
  grid-area: actions;
  margin-top: 24px;
}

.life-english-browser {
  overflow: hidden;
  border: 1px solid #d9e2e7;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 14px 30px rgba(21, 65, 84, 0.1);
}

.life-english-browser__bar {
  position: relative;
  display: flex;
  align-items: center;
  height: 36px;
  padding: 0 12px 0 56px;
  border-bottom: 1px solid #e4ebef;
  background: #f6f8f9;
  color: #71828a;
  font-size: 11px;
  line-height: 1;
}

.life-english-browser__bar::before {
  content: "";
  position: absolute;
  left: 14px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #eaa49a;
  box-shadow: 14px 0 #e6c985, 28px 0 #9fcbaa;
}

.life-english-browser img {
  width: 100%;
  height: auto;
}

.life-english-story {
  scroll-margin-top: 92px;
}

.life-english-story .gift-story-text {
  max-width: 760px;
}

.life-english-story__experience {
  display: grid;
  grid-template-columns: minmax(250px, 300px) minmax(0, 1fr);
  align-items: start;
  gap: 32px;
  margin-top: 28px;
}

.life-english-story__teacher {
  width: min(100%, 300px);
  margin: 0;
}

.life-english-story__teacher-image {
  width: 100%;
  height: auto;
  object-fit: contain;
  border: 1px solid #eadfce;
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(90, 69, 43, 0.1);
}

.life-english-story__teacher-caption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.life-english-project {
  margin-top: 36px;
  padding: 24px;
  border: 1px solid #e7dccb;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 10px 26px rgba(90, 69, 43, 0.07);
}

.life-english-project__screen {
  width: 100%;
  margin: 0;
}

.life-english-project__content {
  margin-top: 24px;
}

.life-english-project__eyebrow {
  display: block;
  margin-bottom: 6px;
  color: #725c3e;
  font-size: 13px;
  font-weight: 800;
}

.life-english-project h3 {
  margin: 0 0 10px;
  color: var(--text);
  font-size: 27px;
  line-height: 1.35;
}

.life-english-project__content > p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.life-english-project__actions {
  margin-top: 22px;
}

.life-english-project__actions .button span {
  margin-left: 3px;
  font-size: 0.92em;
}

.life-english-project__note {
  margin: 16px 0 0 !important;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.gift-story-intro__inner::before {
  content: "";
  display: block;
  width: 52px;
  height: 3px;
  margin-bottom: 20px;
  border-radius: 999px;
  background: #d4b98d;
}

.gift-story-intro__inner h2 {
  margin: 16px 0 24px;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.35;
}

.gift-story-text {
  max-width: 760px;
  color: #3f5862;
  line-height: 1.95;
}

.gift-story-text p {
  margin: 0 0 16px;
}

.gift-story-text p:last-child {
  margin-bottom: 0;
}

.gift-story-section {
  border-color: #e7dccb;
  background: linear-gradient(180deg, #ffffff 0%, #fdfaf5 100%);
  box-shadow: 0 14px 34px rgba(90, 69, 43, 0.07);
}

.gift-story-label {
  margin-bottom: 16px;
  border-color: #e7dccb;
  background: #fffdf9;
  color: #725c3e;
}

.story-chapter.gift-story-section h2 {
  margin-bottom: 22px;
}

.testimonials-section {
  background: linear-gradient(180deg, #f7fbfd 0%, #ffffff 100%);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.testimonial-card {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 100%;
  flex-direction: column;
  padding: 34px 26px 26px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(21, 65, 84, 0.08);
}

.testimonial-card::before {
  content: "“";
  position: absolute;
  top: 4px;
  left: 18px;
  color: rgba(11, 120, 160, 0.18);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 54px;
  font-weight: 700;
  line-height: 1;
}

.testimonial-card__title {
  position: relative;
  margin: 12px 0 14px;
  color: var(--text);
  font-size: 20px;
  line-height: 1.5;
}

.testimonial-card__body {
  margin: 0;
  color: var(--muted);
  line-height: 1.9;
}

.testimonial-card__footer {
  display: grid;
  gap: 10px;
  margin-top: auto;
  padding-top: 22px;
}

.testimonial-card__author,
.voice-detail-card__author {
  color: var(--text);
  font-style: normal;
  font-weight: 800;
  line-height: 1.7;
}

.testimonial-card__author span,
.voice-detail-card__author span {
  display: block;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.testimonial-card__link {
  width: fit-content;
  color: var(--brand);
  font-weight: 800;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.testimonial-card__link::after {
  content: " →";
}

.testimonial-notes {
  max-width: 880px;
  margin: 24px auto 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.testimonial-notes p {
  margin: 0;
}

.testimonial-actions {
  justify-content: center;
  margin-top: 24px;
}

.voices-section {
  background: var(--bg-soft);
}

.voices-list {
  display: grid;
  max-width: 1040px;
  gap: 28px;
  margin-inline: auto;
}

.voice-detail-card {
  display: grid;
  grid-template-columns: minmax(240px, 0.78fr) minmax(0, 1.62fr);
  gap: 32px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(21, 65, 84, 0.08);
}

.voice-detail-card__head {
  align-self: start;
}

.voice-detail-card__portrait {
  width: 160px;
  height: 160px;
  margin: 0 0 20px;
  padding: 4px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 10px 24px rgba(21, 65, 84, 0.1);
}

.voice-detail-card__portrait img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
}

.voice-detail-card__number {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--brand);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.voice-detail-card h2 {
  margin: 0 0 18px;
  color: var(--text);
  font-size: clamp(22px, 2.5vw, 30px);
  line-height: 1.45;
}

.voice-detail-card__author {
  display: block;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.voice-detail-card__quote {
  position: relative;
  margin: 0;
  padding: 8px 0 8px 28px;
  border-left: 3px solid #a8d5e5;
}

.voice-detail-card__quote::before {
  content: "“";
  position: absolute;
  top: -10px;
  left: 8px;
  color: rgba(11, 120, 160, 0.16);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 48px;
  line-height: 1;
}

.voice-detail-card__quote p {
  position: relative;
  margin: 0 0 16px;
  color: #3a535d;
  line-height: 1.95;
}

.voice-detail-card__quote p:last-child {
  margin-bottom: 0;
}

.cta-section {
  padding: 72px 0;
  background-color: #0d3443;
  background-image:
    linear-gradient(90deg, rgba(5, 18, 25, 0.78) 0%, rgba(5, 18, 25, 0.68) 48%, rgba(5, 18, 25, 0.56) 100%),
    url("cta-parallax-bg.webp");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: #fff;
}

.cta-section h2 {
  margin: 0 0 12px;
  font-size: clamp(28px, 4.4vw, 44px);
  line-height: 1.25;
}

.cta-section p {
  max-width: 760px;
  margin: 0;
  color: rgba(255,255,255,0.82);
}

.cta-section .button.secondary {
  border-color: rgba(255,255,255,0.38);
  background: rgba(255,255,255,0.08);
  color: #fff;
}

.site-footer {
  padding: 36px 0;
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--brand-dark);
  text-decoration: underline;
}

@media (min-width: 941px) {
  .comparison-card__header {
    align-items: flex-start;
    min-height: 96px;
  }

  .page-hero h1 {
    max-width: none;
    white-space: nowrap;
    line-height: 1.18;
    letter-spacing: 0;
  }
}

@media (min-width: 941px) and (max-width: 1120px) {
  .header-inner {
    width: min(100% - 24px, 1280px);
    gap: 12px;
  }

  .site-logo img {
    width: min(260px, 34vw);
  }

  .site-nav a {
    padding-inline: 8px;
    font-size: 13px;
  }

  .hero {
    background-image:
      linear-gradient(90deg, rgba(255,255,255,0.99) 0%, rgba(255,255,255,0.96) 50%, rgba(255,255,255,0.62) 76%, rgba(255,255,255,0.08) 100%),
      url("hero-template-real-example.webp");
  }

  .hero-content {
    width: min(100%, 650px);
  }

  .hero h1 {
    font-size: 46px;
  }

  .page-hero h1 {
    font-size: 40px;
  }

  .page-hero.story-hero h1,
  .page-hero.works-hero h1 {
    font-size: 36px;
  }
}

@media (min-width: 1121px) {
  .page-hero h1 {
    font-size: 46px;
  }

  .page-hero.story-hero h1,
  .page-hero.works-hero h1 {
    font-size: 44px;
  }
}

@media (max-width: 940px) {
  .header-inner {
    position: relative;
    min-height: 68px;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    padding: 6px 0;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    z-index: 30;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    overflow: visible;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 0 0 10px 10px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 18px 36px rgba(21, 65, 84, 0.16);
  }

  .site-header.menu-open .site-nav {
    display: flex;
  }

  .site-nav a {
    width: 100%;
    min-height: 44px;
    justify-content: flex-start;
    padding: 9px 12px;
    font-size: 15px;
  }

  .site-nav .nav-cta {
    justify-content: center;
    margin-top: 4px;
    background: var(--accent);
  }

  .site-nav .nav-cta:hover {
    background: var(--accent-dark);
  }

  .site-logo img {
    width: min(230px, calc(100vw - 92px));
  }

  .site-logo {
    padding-block: 0;
  }

  .menu-toggle {
    display: inline-grid;
    width: 44px;
    height: 44px;
    margin-left: auto;
    padding: 10px;
    place-content: center;
    gap: 5px;
    border: 1px solid var(--line);
    border-radius: 7px;
    background: #fff;
    color: var(--brand-dark);
    cursor: pointer;
  }

  .menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    transition: transform 0.2s ease, opacity 0.2s ease;
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .hero {
    min-height: auto;
    background-image:
      linear-gradient(90deg, rgba(255,255,255,0.99) 0%, rgba(255,255,255,0.95) 62%, rgba(255,255,255,0.58) 100%),
      url("hero-template-real-example.webp");
    background-position: right center;
  }

  .hero .container {
    padding: 52px 0 46px;
  }

  .hero-content {
    width: min(100%, 670px);
  }

  .hero h1 {
    font-size: clamp(36px, 6vw, 46px);
  }

  .hero-meta {
    max-width: 670px;
    gap: 10px;
  }

  .hero-meta li {
    min-height: 118px;
  }

  .hero-meta img {
    width: 52px;
    height: 52px;
    flex-basis: 52px;
  }

  .page-hero {
    min-height: 270px;
    padding: 52px 0 44px;
    background-position: center right;
  }

  .page-hero.works-hero {
    background-image:
      linear-gradient(90deg, rgba(255,255,255,0.98) 0%, rgba(255,255,255,0.93) 50%, rgba(234,245,251,0.72) 82%, rgba(234,245,251,0.44) 100%),
      url("subpage-works-hero.webp");
  }

  .page-hero.contents-hero {
    background-image:
      linear-gradient(90deg, rgba(255,255,255,0.98) 0%, rgba(255,255,255,0.93) 50%, rgba(234,245,251,0.74) 82%, rgba(234,245,251,0.46) 100%),
      url("subpage-contents-hero.webp");
  }

  .page-hero.faq-hero {
    background-image:
      linear-gradient(90deg, rgba(255,255,255,0.98) 0%, rgba(255,255,255,0.93) 50%, rgba(234,245,251,0.76) 82%, rgba(234,245,251,0.48) 100%),
      url("subpage-faq-hero.webp");
  }

  .page-hero.story-hero {
    background-image:
      linear-gradient(90deg, rgba(255,255,255,0.97) 0%, rgba(255,255,255,0.91) 50%, rgba(234,245,251,0.68) 82%, rgba(234,245,251,0.4) 100%),
      url("story-hero-workspace.webp");
    background-position: center right;
  }

  .visual-wrap {
    margin-bottom: 26px;
  }

  .feature-band .section-visual {
    min-height: auto;
  }

  .story-card .section-visual {
    max-height: 280px;
  }

  .grid.two,
  .grid.three,
  .grid.four,
  .split,
  .recommendation-card,
  .case-layout,
  .feature-band,
  .steps,
  .assurance,
  .pricing {
    grid-template-columns: 1fr;
  }

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

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

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

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

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

  .material-card {
    min-height: auto;
  }

  .support-material-list {
    grid-template-columns: 1fr;
  }

  .price-card.recommended {
    transform: none;
  }

  .service-comparison__grid {
    grid-template-columns: 1fr;
  }

  .story-parts-layout {
    grid-template-columns: 1fr;
  }

  .story-visual-card {
    max-width: 640px;
  }

  .life-english-intro {
    grid-template-columns: 1fr;
    grid-template-areas:
      "heading"
      "text"
      "screen"
      "actions";
    max-width: 760px;
    gap: 0;
  }

  .life-english-intro__screen {
    margin-top: 28px;
  }

  .life-english-story__experience {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .life-english-story__teacher {
    width: min(100%, 280px);
  }

  .life-english-story__after {
    margin-top: 24px;
  }

  .testimonial-grid,
  .voice-detail-card {
    grid-template-columns: 1fr;
  }

  .testimonial-grid {
    max-width: 720px;
    margin-inline: auto;
  }

  .voice-detail-card {
    gap: 24px;
  }

  .template-preview-grid,
  .template-gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .steps li {
    min-height: auto;
  }

  .compare,
  .compare tbody,
  .compare tr,
  .compare th,
  .compare td {
    display: block;
    width: 100%;
  }

  .compare th {
    border-bottom: 0;
  }

  .compare td {
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 767px) {
  .pc-only {
    display: none;
  }

  .hero {
    min-height: auto;
    align-items: stretch;
    background-color: #fbfcfd;
    background-image: none;
  }

  .hero .container {
    padding: 38px 0 42px;
  }

  .hero-content {
    width: 100%;
  }

  .hero h1 {
    margin: 18px 0;
    font-size: clamp(29px, 8.4vw, 38px);
    line-height: 1.28;
  }

  .hero-copy {
    font-size: 16px;
    line-height: 1.8;
  }

  .hero-summary {
    margin-top: 16px;
    font-size: 15px;
  }

  .hero-visual {
    display: block;
    margin-top: 22px;
  }

  .hero-visual img {
    width: 100%;
    border: 1px solid rgba(217, 231, 238, 0.9);
    border-radius: 12px;
    box-shadow: 0 10px 24px rgba(21, 65, 84, 0.08);
  }

  .hero-meta {
    grid-template-columns: 1fr;
    max-width: none;
    gap: 10px;
    margin-top: 22px;
  }

  .hero-meta li {
    min-height: 70px;
    flex-direction: row;
    justify-content: flex-start;
    gap: 14px;
    padding: 10px 16px;
    font-size: 15px;
    text-align: left;
  }

  .hero-meta img {
    width: 46px;
    height: 46px;
    flex-basis: 46px;
  }

  .hero-meta br {
    display: none;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
    margin-top: 22px;
  }

  .hero-actions .button {
    width: 100%;
    min-height: 52px;
  }
}

@media (max-width: 640px) {
  .header-inner,
  .container {
    width: min(100% - 28px, var(--container));
  }

  .site-logo img {
    width: min(230px, 64vw);
  }

  body {
    font-size: 15px;
    line-height: 1.78;
  }

  .section {
    padding: 64px 0;
  }

  .section.compact {
    padding: 48px 0;
  }

  .product-intro .section-head {
    justify-items: start;
    text-align: left;
  }

  .product-intro-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 30px;
  }

  .product-intro-card {
    justify-items: start;
    padding: 24px 20px;
    text-align: left;
  }

  .testimonial-grid {
    margin-top: 30px;
  }

  .testimonial-card,
  .voice-detail-card {
    padding: 26px 20px;
  }

  .testimonial-card__title {
    font-size: 19px;
  }

  .testimonial-card__body,
  .voice-detail-card__quote p {
    line-height: 1.85;
  }

  .testimonial-notes {
    font-size: 13.5px;
  }

  .voice-detail-card__quote {
    padding-left: 20px;
  }

  .voice-detail-card__portrait {
    width: 144px;
    height: 144px;
    margin-bottom: 18px;
  }

  .product-intro-icon {
    width: 56px;
    height: 56px;
  }

  .product-intro-image img {
    width: 150px;
    height: 150px;
  }

  .anchor-target {
    scroll-margin-top: 82px;
  }

  .product-intro-lead {
    margin-top: 26px;
    text-align: left;
  }

  .real-product-image,
  .real-flow-image,
  .real-edit-image {
    margin: 28px auto 30px;
  }

  .real-product-image img,
  .real-flow-image img,
  .real-edit-image img {
    border-radius: 14px;
  }

  .image-zoom-note {
    display: block;
    margin: 10px 0 0;
    color: #607480;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.6;
    text-align: center;
  }

  .assurance-icon-grid {
    grid-template-columns: 1fr;
  }

  .assurance-card {
    padding: 24px 20px;
  }

  .assurance-card__icon img {
    width: 92px;
    height: 92px;
  }

  .service-comparison__heading {
    justify-items: start;
    text-align: left;
  }

  .comparison-card {
    padding: 24px 20px;
    border-radius: 18px;
  }

  .comparison-card__header {
    align-items: flex-start;
    gap: 13px;
  }

  .comparison-card__icon {
    flex-basis: 54px;
    width: 54px;
    height: 54px;
    border-radius: 16px;
  }

  .comparison-card__icon svg {
    width: 34px;
    height: 34px;
  }

  .comparison-card h3 {
    font-size: 21px;
  }

  .service-comparison__message {
    display: grid;
    gap: 14px;
    padding: 20px;
  }

  .cta-section {
    background-color: #07111f;
    background-image:
      linear-gradient(180deg, rgba(5, 18, 25, 0.82) 0%, rgba(5, 18, 25, 0.78) 100%),
      url("cta-parallax-bg.webp");
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: scroll;
  }

  .page-hero {
    min-height: 240px;
    padding: 42px 0 38px;
  }

  .page-hero.works-hero,
  .page-hero.contents-hero,
  .page-hero.faq-hero,
  .page-hero.story-hero,
  .page-hero.law-hero {
    background-position: center right;
  }

  .page-hero.works-hero {
    background-image:
      linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(255,255,255,0.94) 66%, rgba(234,245,251,0.78) 100%),
      url("subpage-works-hero.webp");
  }

  .page-hero.contents-hero {
    background-image:
      linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(255,255,255,0.94) 66%, rgba(234,245,251,0.8) 100%),
      url("subpage-contents-hero.webp");
  }

  .page-hero.faq-hero {
    background-image:
      linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(255,255,255,0.94) 66%, rgba(234,245,251,0.82) 100%),
      url("subpage-faq-hero.webp");
  }

  .page-hero.story-hero {
    background-image:
      linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(255,255,255,0.94) 66%, rgba(234,245,251,0.8) 100%),
      url("story-hero-workspace.webp");
    background-position: center right;
  }

  .page-hero.voices-hero {
    background-image:
      linear-gradient(180deg, rgba(255,255,255,0.93) 0%, rgba(255,255,255,0.84) 100%),
      url("voices/voices-hero-bg.webp");
    background-position: center center;
  }

  .page-hero.law-hero {
    background-image:
      linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(255,255,255,0.94) 66%, rgba(234,245,251,0.82) 100%),
      url("subpage-faq-hero.webp");
  }

  .law-section {
    padding: 48px 0;
  }

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

  .law-table tr {
    border-bottom: 1px solid var(--line);
  }

  .law-table tr:last-child {
    border-bottom: none;
  }

  .law-table th {
    padding: 14px 16px 8px;
    border-bottom: 0;
  }

  .law-table td {
    padding: 0 16px 16px;
    border-bottom: 0;
  }

  .actions {
    align-items: stretch;
  }

  .button {
    width: 100%;
    min-height: 52px;
  }

  .section-visual {
    border-radius: 12px;
    box-shadow: 0 10px 24px rgba(19, 68, 96, 0.1);
  }

  .visual-wrap {
    margin: -2px 0 22px;
  }

  .feature-band .section-visual {
    aspect-ratio: 4 / 3;
  }

  .template-preview-grid,
  .template-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .template-count-note {
    margin-top: 20px;
    text-align: left;
  }

  .works-grid {
    grid-template-columns: 1fr;
  }

  .template-card-body {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
    padding: 10px;
  }

  .template-card-body small {
    white-space: normal;
  }

  .template-gallery-note {
    margin-top: 20px;
    padding: 16px;
  }

  .template-modal {
    padding: 12px;
  }

  .template-modal-panel {
    width: calc(100vw - 24px);
    max-height: calc(100dvh - 24px);
    padding: 14px;
  }

  .template-modal-panel img {
    max-height: calc(100dvh - 130px);
  }

  .recommendation-card {
    gap: 24px;
    padding: 22px;
  }

  .recommendation-figure {
    width: min(90%, 340px);
  }

  .recommendation-image-button {
    padding: 10px;
  }

  .video-card {
    margin-top: 24px;
    padding: 10px;
    border-radius: 14px;
  }

  .video-frame {
    border-radius: 10px;
  }

  .video-note {
    text-align: left;
  }

  .story-chapter {
    padding: 22px;
  }

  .gift-story-intro__inner {
    padding: 32px 22px;
  }

  .gift-story-intro__inner h2 {
    font-size: clamp(25px, 8vw, 32px);
  }

  .life-english-intro__heading h2 {
    margin-bottom: 24px;
  }

  .life-english-intro__screen figcaption,
  .life-english-story__teacher-caption {
    font-size: 14px;
  }

  .life-english-story__teacher {
    width: min(100%, 260px);
  }

  .gift-story-text {
    line-height: 1.85;
  }

  .life-english-project {
    margin-top: 24px;
    padding: 20px;
  }

  .life-english-project__actions {
    flex-direction: column;
  }

  .life-english-project__actions .button {
    width: 100%;
  }

  .life-english-project__note {
    font-size: 14px;
  }

  .story-quote-box {
    padding: 16px;
  }

  .diagnosis-card {
    padding: 22px;
  }

  .diagnosis-card::after {
    display: none;
  }

  .diagnosis-head {
    padding-right: 0;
    margin-bottom: 18px;
  }

  .diagnosis-list li {
    min-height: auto;
    padding: 11px 12px 11px 44px;
  }

  .diagnosis-list li::before {
    left: 12px;
    top: 13px;
  }

  .diagnosis-note {
    text-align: left;
  }

  .precheck-card {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 20px;
  }

  .precheck-icon {
    width: 40px;
    height: 40px;
  }

  .case-layout {
    gap: 24px;
  }

  .case-photo {
    width: min(100%, 300px);
  }

  .case-quote {
    padding: 20px;
    font-size: 14px;
    line-height: 1.85;
  }

  .card,
  .price-card,
  .feature-band,
  .kit-group-recommended,
  .kit-card-body,
  .material-card,
  .support-materials,
  .content-card {
    padding: 18px;
  }

  .support-material-list article {
    grid-template-columns: 1fr;
  }

  .support-material-list img {
    width: min(180px, 100%);
  }

  .materials-grid {
    grid-template-columns: 1fr;
  }

  .kit-card-grid,
  .kit-card-grid-two,
  .parts-grid {
    grid-template-columns: 1fr;
  }

  .parts-card,
  .parts-note {
    padding: 18px;
  }

  .feature-group-title {
    gap: 10px;
    min-height: 50px;
  }

  .feature-group-title img {
    width: 46px;
    height: 46px;
    flex-basis: 46px;
  }

  .kit-group + .kit-group {
    margin-top: 30px;
  }

  .section-actions {
    align-items: stretch;
  }

  .content-card {
    grid-template-columns: 1fr;
  }

  .content-card img {
    max-height: 220px;
  }
}
