:root {
  --teal: #02b9b2;
  --teal-deep: #00837d;
  --ink: #0b2b26;
  --body: #33443f;
  --muted: #56645f;
  --faint: #97a5a1;
  --line: #e5e5e5;
  --line-soft: #ebebeb;
  --paper: #ffffff;
  --mist: #f7f7f7;
  --mist-2: #f4f4f4;
  --tint: #e9f8f7;
  --sage: #bcd3ce;
  --foam: #ddeae7;
  --yellow: #ffd000;
  --yellow-soft: #fff7cc;
  --footer: #06201c;
  --dark: var(--ink);
  --max: 1240px;
  --serif: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
  --sans: "Noto Sans JP", sans-serif;
  --en: Manrope, "Noto Sans JP", sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.8;
  letter-spacing: 0.02em;
  line-break: strict;
  word-break: normal;
}

h1, h2, h3, h4, p, li, .lead, .hero-lead, .section-head p {
  text-wrap: pretty;
}

img { max-width: 100%; height: auto; display: block; }
.brand-logo,
.footer-logo {
  max-width: none;
  object-fit: contain;
}
a { color: var(--teal-deep); }
a:hover { color: var(--ink); }
a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--teal-deep);
  outline-offset: 3px;
}
button, input, select, textarea { font: inherit; }

.wrap {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
}

.kicker {
  font-family: var(--en);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.18em;
  color: var(--teal-deep);
}

h1, h2, h3, .brand-name {
  font-family: var(--serif);
  letter-spacing: 0.01em;
}

.mark {
  background: linear-gradient(transparent 78%, var(--teal) 78%);
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

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

.header-inner {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: nowrap;
}

.brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  text-decoration: none;
  color: var(--ink);
  flex: 0 1 auto;
  min-width: 0;
  max-width: 240px;
}

.brand-logo {
  display: block;
  width: auto;
  height: 44px;
  max-width: 180px;
  flex: 0 0 auto;
}

.brand-name {
  font-family: var(--en);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: 0.08em;
}

.brand-sub {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.04em;
  white-space: nowrap;
  line-height: 1.2;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.2vw, 20px);
  flex: 1 1 auto;
  min-width: 0;
  flex-wrap: nowrap;
  justify-content: flex-end;
  font-size: 13px;
  font-weight: 500;
}

.nav a:not(.btn) {
  white-space: nowrap;
}

.nav a {
  color: var(--ink);
  text-decoration: none;
}

.nav a[aria-current="page"] { color: var(--teal-deep); }

.header-cta { display: none; }

.nav-toggle {
  display: none;
  flex: 0 0 auto;
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 999px;
  min-height: 40px;
  padding: 0 16px;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 0 28px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  border: 1.5px solid transparent;
  cursor: pointer;
}

.btn-sm { min-height: 44px; padding: 0 22px; font-size: 14px; }
.btn-yellow { background: var(--yellow); color: var(--ink); }
.btn-yellow:hover { color: var(--ink); filter: brightness(0.97); }
.btn-line { background: var(--paper); color: var(--ink); border: 2px solid var(--ink); }
.btn-line:hover { color: var(--ink); background: var(--mist-2); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { color: #fff; background: var(--teal-deep); }
.btn-white { background: #fff; color: var(--ink); }

/* Hero */
.hero { border-bottom: 1px solid var(--line-soft); }

.hero-copy { max-width: 36rem; }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 72px;
  align-items: center;
  padding: 104px 0 88px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
}

.badge i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
  display: block;
}

.hero h1 {
  margin: 22px 0 0;
  font-weight: 900;
  font-size: clamp(32px, 4.4vw, 64px);
  line-height: 1.25;
  letter-spacing: 0;
}
.hero-line,
.hero h1 .mark {
  display: inline-block;
  white-space: nowrap;
}
.hero h1 .mark {
  background-image: linear-gradient(var(--teal), var(--teal));
  background-repeat: no-repeat;
  background-size: 100% 0.22em;
  background-position: 0 92%;
  padding: 0 0.06em 0.04em;
}

.hero-lead {
  margin: 22px 0 0;
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.9;
  color: var(--body);
  font-weight: 500;
}

.pills, .actions, .chips { display: flex; flex-wrap: wrap; gap: 10px; }
.pills { margin-top: 26px; }
.actions { margin-top: 28px; gap: 14px; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: var(--ink);
  color: #fff;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
}

.chips { margin-top: 18px; align-items: center; font-family: var(--en); font-weight: 700; font-size: 14px; }
.chip { padding: 6px 14px; background: var(--mist-2); border-radius: 6px; }
.chips span.x { color: var(--faint); }

.panel {
  background: var(--mist);
  border: 1px solid var(--line-soft);
  border-radius: 24px;
  padding: 32px 28px;
}

.panel-label {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
  margin-bottom: 18px;
  font-size: 12px;
  color: var(--muted);
}

.panel-label strong {
  font-family: var(--en);
  letter-spacing: 0.14em;
  font-size: 13px;
}

.stack {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 36px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
}

.stack h3 { margin: 0 0 8px; font-size: 13px; }
.stack .old h3 { color: var(--muted); font-family: var(--sans); font-weight: 700; }
.layer {
  padding: 9px 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 14px;
  color: var(--muted);
  margin-top: 6px;
}
.layer.lg {
  padding: 20px 14px;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  border: 1.5px solid var(--teal);
}
.layer.accent { background: var(--teal); border-color: var(--teal); color: var(--ink); }
.layer.dark { background: var(--ink); border-color: var(--ink); color: #fff; }
.arrow { text-align: center; color: var(--teal); font-size: 22px; font-weight: 700; }
.panel p { margin: 18px 0 0; padding-top: 16px; border-top: 1px solid var(--line); font-size: 14px; color: var(--body); }

.roles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  margin: 28px 0 80px;
}
.roles article { padding: 28px 30px; border-right: 1px solid var(--line); }
.roles article:last-child { border-right: 0; background: var(--ink); color: #fff; }
.roles h3 { margin: 8px 0; font-size: 20px; font-weight: 700; }
.roles p { margin: 0; font-size: 14px; color: var(--muted); }
.roles article:last-child p { color: #ddeae7; }
.roles .kicker { color: var(--teal); }

/* Sections */
.section { padding: 120px 0; }
.section-mist { background: var(--mist); }
.section-dark { background: var(--ink); color: #fff; }
.section-head { display: flex; flex-direction: column; gap: 12px; margin-bottom: 40px; }
.section-head.center { text-align: center; align-items: center; }
.section-head h2 {
  margin: 0;
  font-weight: 900;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.4;
}
.section-head p { margin: 0; max-width: 720px; color: var(--body); }
.section-dark .section-head p,
.section-dark p { color: #ddeae7; }
.section-dark .card {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
}
.section-dark .card p,
.section-dark .card li { color: #ddeae7; }
.split {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(260px, 0.7fr);
  gap: 40px;
  align-items: start;
}
.section-dark .kicker { color: var(--teal); }

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

.service-banner-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.service-banner {
  display: flex;
  flex-direction: column;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: var(--paper);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
a.service-banner:hover {
  border-color: var(--teal);
  box-shadow: 0 8px 24px rgba(11, 43, 38, 0.06);
}
.service-banner--static {
  cursor: default;
}
.service-banner-img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: var(--mist);
}
.service-banner-label {
  padding: 0 16px 16px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--ink);
}
a.service-banner .service-banner-label::after {
  content: " →";
  color: var(--teal-deep);
  font-weight: 700;
}

.card {
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 32px 28px;
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.card h3 { margin: 0; font-size: 24px; font-weight: 900; line-height: 1.4; }
.card p { margin: 0; color: var(--body); font-size: 15px; }
.num {
  font-family: var(--en);
  font-weight: 800;
  font-size: 42px;
  line-height: 1;
  color: #e5e5e5;
}
.card .star {
  font-size: 28px;
  line-height: 1;
  color: var(--teal);
}
.review-card { gap: 20px; }
.review-body {
  margin: 0;
  color: var(--body);
  font-size: 15px;
  line-height: 1.9;
}
.review-meta {
  list-style: none;
  margin: auto 0 0;
  padding: 14px 0 0;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
}
.review-meta li {
  display: grid;
  grid-template-columns: 3.2em 1fr;
  column-gap: 10px;
  align-items: baseline;
}
.review-meta span {
  color: var(--teal-deep);
}
.line { display: block; }
.nowrap { white-space: nowrap; }
@media (max-width: 640px) {
  .page-hero h1.migration-title { font-size: 26px; }
}
@media (max-width: 640px) {
  .page-hero.guide-hero h1 { font-size: 24px; }
}
.card-foot {
  margin-top: auto;
  padding: 14px 16px;
  background: var(--mist);
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
}
.card-foot b { font-family: var(--en); font-size: 22px; }

.icon-box {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--tint);
  color: var(--teal-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--en);
  font-weight: 800;
}

.problem {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.checks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.checks li {
  padding: 14px 16px 14px 44px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  position: relative;
}
.checks li::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--teal);
  position: absolute;
  left: 18px;
  top: 22px;
}

.callout {
  margin-top: 28px;
  padding: 28px 32px;
  border-radius: 20px;
  background: var(--ink);
  color: #fff;
}
.callout p {
  margin: 0;
  max-width: none;
  color: #fff;
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.5;
}

.flow-row, .asset-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.flow-row span, .asset {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 14px;
  font-weight: 700;
  font-size: 14px;
}
.section-dark .flow-row span { background: transparent; border-color: rgba(255,255,255,.25); color: #fff; }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
table { width: 100%; border-collapse: collapse; min-width: 640px; }
th, td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; font-size: 15px; }
th { background: var(--mist); font-weight: 700; }
tr:last-child td { border-bottom: 0; }
td.yes { color: var(--teal-deep); font-weight: 700; }

.price-card .yen {
  font-family: var(--en);
  font-weight: 800;
  font-size: 40px;
  line-height: 1;
}
.price-card .yen small { font-size: 16px; margin-left: 4px; }
.price-note {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.6;
  color: var(--muted);
}
.card-foot .price-note { margin-top: 4px; }
.price-card ul { margin: 0; padding-left: 1.1em; color: var(--body); }

.work-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.work-links li {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
  align-items: baseline;
  padding: 12px 0;
  border-top: 1px solid var(--line-soft);
}
.work-links a { font-weight: 700; text-decoration: none; }
.work-links span { color: var(--muted); font-size: 14px; }

.work-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 350px));
  gap: 24px;
}
.work-card {
  width: 100%;
  max-width: 350px;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
}
.work-card .work-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px 16px 16px;
}
.work-card .work-body > .kicker { margin-top: 0; font-size: 11px; }
.work-card h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.45;
}
.work-card h3 a {
  color: inherit;
  text-decoration: none;
}
.work-card h3 a:hover { color: var(--teal-deep); }
.work-card p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
}
.work-thumb {
  display: block;
  overflow: hidden;
  border-bottom: 1px solid var(--line-soft);
  background: var(--mist);
}
.work-thumb img {
  display: block;
  width: 100%;
  max-width: 350px;
  height: auto;
}
.work-more {
  margin-top: 28px;
  padding: 18px 22px;
  border-radius: 16px;
  background: var(--tint);
  color: var(--ink);
  font-weight: 700;
  text-align: center;
}
@media (max-width: 1180px) {
  .work-grid { grid-template-columns: repeat(3, minmax(0, 350px)); }
}
@media (max-width: 860px) {
  .work-grid { grid-template-columns: repeat(2, minmax(0, 350px)); }
}
@media (max-width: 520px) {
  .work-grid { grid-template-columns: minmax(0, 1fr); }
  .work-card { max-width: none; }
  .work-thumb img { max-width: 100%; }
}
/* トップ: 信頼材料の帯 */
.trust-strip {
  border-bottom: 1px solid var(--line-soft);
  background: var(--mist);
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px 32px;
  padding: 26px 0;
}
.trust-grid > div { display: flex; flex-direction: column; gap: 4px; }
.trust-grid strong { font-size: 16px; font-weight: 900; line-height: 1.5; }
.trust-grid span { font-size: 14px; color: var(--muted); line-height: 1.7; }
@media (max-width: 860px) {
  .trust-grid { grid-template-columns: 1fr; gap: 16px; padding: 22px 0; }
}

/* 制作実績: 事例 */
.case-list { display: grid; gap: 24px; }
.case {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
}
.case-thumb {
  display: block;
  border-right: 1px solid var(--line-soft);
  background: var(--mist);
}
.case-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.case-body { padding: 22px 26px 26px; }
.case-body > .kicker { margin-top: 0; font-size: 11px; }
.case-body h3 { margin: 6px 0 14px; font-size: 22px; font-weight: 900; line-height: 1.4; }
.case-body h3 a { color: inherit; text-decoration: none; }
.case-body h3 a:hover { color: var(--teal-deep); }
.case-dl {
  display: grid;
  grid-template-columns: 7em 1fr;
  gap: 10px 18px;
  margin: 0;
}
.case-dl dt {
  font-family: var(--en);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--teal-deep);
  padding-top: 3px;
}
.case-dl dd { margin: 0; color: var(--body); font-size: 15px; line-height: 1.8; }
@media (max-width: 860px) {
  .case { grid-template-columns: 1fr; }
  .case-thumb { border-right: 0; border-bottom: 1px solid var(--line-soft); }
  .case-thumb img { aspect-ratio: 16 / 9; height: auto; }
  .case-dl { grid-template-columns: 1fr; gap: 4px; }
  .case-dl dd { margin-bottom: 10px; }
}

/* 運営者情報: プロフィール */
.card.profile { margin-bottom: 40px; }
.card.profile h2 { margin: 6px 0 12px; font-size: 26px; }
.card.profile ul { margin: 14px 0 0; padding-left: 1.2em; }
.card.profile li { margin: 6px 0; color: var(--body); }

.price-card.featured { background: var(--ink); color: #fff; border-color: var(--ink); }
.price-card.featured p, .price-card.featured li { color: #ddeae7; }
.price-card.featured .kicker { color: var(--teal); }

details.faq {
  border-bottom: 1px solid var(--line);
  background: #fff;
}
details.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 8px;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: "+"; font-family: var(--en); color: var(--teal-deep); font-size: 22px; }
details.faq[open] summary::after { content: "–"; }
details.faq p { margin: 0; padding: 0 8px 18px; color: var(--body); }

.closing {
  background: var(--ink);
  color: #fff;
  padding: 136px 0;
  text-align: center;
}
.closing h2 { margin: 0; font-size: clamp(30px, 4.6vw, 60px); font-weight: 900; line-height: 1.45; }
.closing p { color: var(--foam); }
.closing .actions { justify-content: center; }

.site-footer { background: var(--footer); color: var(--sage); padding: 64px 0 40px; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.site-footer a { color: var(--sage); text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer h2, .site-footer h3 { color: #fff; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.footer-brand {
  display: inline-block;
  background: #fff;
  border-radius: 12px;
  padding: 14px 18px;
  line-height: 0;
  margin: 0 0 12px;
}
.footer-logo {
  display: block;
  width: auto;
  height: 48px;
  max-width: 220px;
}
.site-footer .brand-name { color: #fff; }
.footer-lead {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 8px 0 0;
}
.footer-address {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 16px 0 0;
  font-style: normal;
  line-height: 1.6;
}
.footer-address strong { color: #fff; font-weight: 700; }
.copy { margin-top: 28px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.15); font-size: 12px; }

/* Inner pages */
.page-hero { padding: 88px 0 72px; background: var(--tint); }
.page-hero-dark { background: var(--ink); color: #fff; }
.page-hero-dark .crumb,
.page-hero-dark .crumb a,
.page-hero-dark .lead { color: var(--sage); }
.page-hero-dark .kicker { color: var(--teal); }
.page-hero-dark h1 .mark,
.page-hero-dark h1 span { color: var(--teal); }
.crumb { font-size: 13px; color: var(--muted); margin: 0 0 18px; }
.crumb a { color: var(--muted); text-decoration: none; }
.page-hero h1 {
  margin: 10px 0 0;
  font-size: clamp(34px, 4.8vw, 60px);
  font-weight: 900;
  line-height: 1.35;
  max-width: 16em;
}
.page-hero .lead { max-width: 760px; color: var(--body); font-size: 17px; }

.steps { display: grid; gap: 14px; }
.step {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 16px;
  align-items: start;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}
.step b { font-family: var(--en); font-size: 28px; color: var(--teal); line-height: 1; }
.step h3 { margin: 0; font-size: 18px; }
.step p { margin: 4px 0 0; color: var(--body); }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.filter {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  min-height: 40px;
  padding: 0 16px;
  cursor: pointer;
  color: var(--ink);
  font-weight: 500;
}
.filter.is-on { background: var(--ink); color: #fff; border-color: var(--ink); }
.filter-result {
  margin: -8px 0 20px;
  font-size: 14px;
  color: var(--muted);
}

.price-notice {
  margin: 0 0 24px;
  padding: 16px 20px;
  border: 2px solid var(--teal);
  border-radius: 14px;
  background: var(--tint);
}
.price-notice p {
  margin: 0;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.7;
}
.price-notice strong {
  display: block;
  margin-bottom: 4px;
  font-size: 16px;
  color: var(--teal-deep);
}
.section-head + .price-notice {
  margin-top: -8px;
}
.article-prose .price-notice {
  margin: 1.2em 0 1.6em;
}

.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.post-card.is-filtered-out { display: none !important; }
.post-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  min-height: 100%;
}
.post-card:hover { color: inherit; border-color: var(--teal); }
.post-card img, .ph {
  aspect-ratio: 16/9;
  object-fit: cover;
  background: var(--tint);
  width: 100%;
}
.ph { display: flex; align-items: flex-end; padding: 16px; font-family: var(--en); font-weight: 800; letter-spacing: 0.12em; color: var(--teal-deep); font-size: 13px; }
.post-card div { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.post-card time, .meta { font-size: 12px; color: var(--muted); letter-spacing: 0.04em; }
.post-card h3 { margin: 0; font-size: 18px; line-height: 1.5; font-weight: 700; }
.post-card p { margin: 0; color: var(--body); font-size: 14px; }

.article {
  padding-bottom: 40px;
  --article-width: 760px;
}
.article .wrap > .crumb,
.article .wrap > .article-head,
.article .wrap > .eyecatch,
.article .wrap > .lead-in,
.article .wrap > .toc,
.article .wrap > .prose,
.article .wrap > .related,
.article .wrap > .related-card,
.article .wrap > .author {
  width: 100%;
  max-width: var(--article-width);
  margin-left: auto;
  margin-right: auto;
}
.cat {
  display: inline-block;
  font-family: var(--en);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--teal-deep);
}
.eyecatch { margin: 28px 0; border-radius: 16px; width: 100%; max-height: 460px; object-fit: cover; }

.prose { max-width: 760px; }
.prose h2 { font-size: 28px; margin: 2em 0 0.6em; padding-left: 14px; border-left: 4px solid var(--teal); line-height: 1.4; }
.prose h3 { font-size: 22px; margin: 1.6em 0 0.5em; padding-bottom: 0.35em; border-bottom: 1px solid var(--line); }
.prose h4 { font-size: 18px; margin: 1.3em 0 0.4em; }
.prose p, .prose li { color: var(--body); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin: 0.25em 0; }
.prose a { font-weight: 700; }
.prose img { border-radius: 12px; margin: 1em 0; }
.prose pre {
  background: var(--ink);
  color: #f4fffd;
  padding: 18px 20px;
  border-radius: 12px;
  overflow: auto;
  line-height: 1.6;
}
.prose code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.92em; }
.prose blockquote {
  margin: 1.4em 0;
  padding: 4px 0 4px 16px;
  border-left: 3px solid var(--teal);
  color: var(--body);
}
.prose table { min-width: 0; font-size: 14px; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }

.author {
  margin-top: 40px;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--mist);
}
.author strong { display: block; }

.card-illust {
  display: block;
  width: 100%;
  height: 168px;
  object-fit: contain;
  margin-bottom: 4px;
}

.explain-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 32px 48px;
  align-items: center;
}
.explain-split .explain {
  margin: 0;
  max-width: none;
}
.explain-body > p {
  margin: 0 0 20px;
  color: var(--body);
  font-size: 17px;
  line-height: 1.8;
}
.explain-body .asset-row { margin: 0; }

.explain {
  margin: 8px auto 32px;
  max-width: 920px;
}
.explain img {
  width: 100%;
  height: auto;
  border-radius: 22px;
  background: #fff;
}
.explain figcaption {
  margin-top: 12px;
  text-align: center;
  color: var(--muted);
  font-size: 15px;
}
.explain-labels {
  display: grid;
  gap: 8px;
  margin-top: 14px;
  text-align: center;
  font-weight: 700;
  font-size: 14px;
  color: var(--ink);
}
.explain-labels.cols-3 { grid-template-columns: repeat(3, 1fr); }
.explain-labels.cols-4 { grid-template-columns: repeat(4, 1fr); }
.explain-labels.cols-5 { grid-template-columns: repeat(5, 1fr); font-size: 13px; }
@media (max-width: 640px) {
  .explain-labels.cols-3,
  .explain-labels.cols-4,
  .explain-labels.cols-5 { grid-template-columns: 1fr 1fr; }
}

.contact-main {
  display: grid;
  gap: 24px;
  align-content: start;
}
.line-contact-card {
  display: flex;
  align-items: center;
  gap: 20px 24px;
  padding: 20px 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--mist);
}
.line-contact-icon {
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
}
.line-contact-content {
  flex: 1 1 120px;
  min-width: 0;
}
.line-contact-title {
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--ink);
}
.line-contact-note {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}
.line-contact-action {
  flex: 0 0 auto;
}
.btn-line-app {
  background: #06c755;
  color: #fff;
  border-color: #06c755;
  white-space: nowrap;
}
.btn-line-app:hover {
  color: #fff;
  filter: brightness(0.96);
}
@media (max-width: 720px) {
  .line-contact-card {
    flex-direction: column;
    align-items: flex-start;
  }
  .line-contact-action {
    width: 100%;
  }
  .line-contact-action .btn-line-app {
    width: 100%;
    text-align: center;
  }
}

.form-alert {
  margin: 0 0 16px;
  padding: 12px 14px;
  background: #fef2f2;
  color: #7f1d1d;
  border-left: 3px solid #dc2626;
  border-radius: 12px;
}
.form {
  display: grid;
  gap: 16px;
  max-width: 720px;
}
.form label:not(.agree-label) { display: grid; gap: 6px; font-weight: 700; font-size: 14px; }
.form label:not(.agree-label) span { font-weight: 500; color: var(--muted); }
.req { color: #c2410c; font-weight: 700; font-size: 12px; margin-left: 6px; }
.form label:not(.agree-label) span.req { color: #c2410c; font-weight: 700; }
.form input:not([type="checkbox"]):not([type="radio"]), .form select, .form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  background: #fff;
  color: var(--ink);
}
.form textarea { min-height: 160px; resize: vertical; }
.form label.agree-label {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 10px;
  font-weight: 500;
  cursor: pointer;
}
.form label.agree-label span {
  font-weight: 500;
  color: var(--ink);
  line-height: 1.6;
}
.form label.agree-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  min-width: 18px;
  margin: 3px 0 0;
  padding: 0;
  flex-shrink: 0;
  border-radius: 4px;
  accent-color: var(--teal);
}
.checks-inline { display: flex; flex-wrap: wrap; gap: 8px 16px; font-weight: 500; }
.hp { position: absolute; left: -9999px; }

.note {
  font-size: 13px;
  color: var(--muted);
}

.empty { padding: 28px; border: 1px dashed var(--line); border-radius: 16px; color: var(--muted); }

@media (min-width: 1180px) {
  .brand-logo { height: 48px; max-width: 200px; }
  .nav { font-size: 14px; gap: 20px; }
}

@media (max-width: 1100px) {
  .nav { font-size: 12px; gap: 10px; }
  .nav .btn-sm { min-height: 40px; padding: 0 16px; }
}

@media (max-width: 980px) {
  .hero-grid, .problem, .grid-3, .grid-4, .posts, .service-banner-grid, .footer-grid, .roles, .split, .explain-split { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .roles article { border-right: 0; border-bottom: 1px solid var(--line); }
  .nav-toggle { display: inline-flex; }
  .header-cta { display: inline-flex; flex: 0 0 auto; }
  .nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 12px 24px 20px;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .nav.is-open { display: flex; }
  .nav a:not(.btn) { white-space: normal; }
  .header-inner { position: static; flex-wrap: wrap; }
  .brand { max-width: calc(100% - 120px); }
  .brand-logo { height: 40px; max-width: 160px; }
  .site-header { position: sticky; }
}

@media (max-width: 640px) {
  .wrap, .header-inner { width: min(var(--max), calc(100% - 32px)); }
  .stack { grid-template-columns: 1fr; }
  .arrow { transform: rotate(90deg); }
  .hero-grid { padding-top: 48px; gap: 32px; }
  .section { padding: 72px 0; }
  .page-hero { padding: 56px 0 40px; }
  .closing { padding: 88px 0; }
}

/* Editorial articles */
.article.is-entry { padding-top: 40px; }
.article.is-entry .eyecatch {
  max-height: none;
  object-fit: contain;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
}
.article-prose .article-figure {
  margin: 1.8em 0;
}
.article-prose .article-figure img {
  margin: 0;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--paper);
}
.article-prose .article-figure figcaption {
  margin-top: 10px;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}
.article-head .meta { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.article-head a.cat { text-decoration: none; }
.lead-in p { font-size: 17px; }
.toc {
  margin: 8px 0 28px;
  padding: 18px 20px 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--mist);
}
.toc .kicker { display: block; margin-bottom: 8px; }
.toc ol { margin: 0; padding-left: 1.25em; }
.toc li { margin: 0.35em 0; line-height: 1.6; }
.toc a { color: var(--ink); font-weight: 500; text-decoration: none; }
.toc a:hover { color: var(--teal-deep); }
.toc ol ol { margin-top: 0.2em; }
.toc ol ol a { font-size: 14px; color: var(--body); }
.article-prose h2,
.article-prose h3 { scroll-margin-top: 96px; }
.article-prose p { margin: 0 0 1.15em; }
.article-prose ul,
.article-prose ol { margin: 0 0 1.2em; }
.article-prose li { margin: 0.45em 0; }
.article-prose strong { color: var(--ink); font-weight: 700; }
.article-prose .table-wrap { margin: 1.2em 0 0.6em; }
.article-prose .table-wrap table { min-width: 640px; }
.article-prose .note { margin-top: 0; }
.box {
  margin: 1.4em 0;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}
.article-prose .box p { margin: 0 0 0.6em; }
.article-prose .box p:last-child { margin-bottom: 0; }
.box-point { background: var(--tint); border-color: transparent; }
.box-label {
  display: block;
  margin-bottom: 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--teal-deep);
}
.related { margin-top: 36px; }
.related h2 {
  margin: 0 0 12px;
  font-size: 22px;
  padding-left: 14px;
  border-left: 4px solid var(--teal);
}
.related ul { list-style: none; margin: 0; padding: 0; }
.related li { border-top: 1px solid var(--line); }
.related a {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 14px 2px;
  text-decoration: none;
  font-weight: 700;
}
.related a span { font-weight: 500; color: var(--muted); font-size: 14px; }
.related-card {
  margin: 28px 0 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fafafa;
}
.related-card__label {
  margin: 0;
  padding: 10px 16px 0;
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--muted);
}
.related-card__link {
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 10px 16px 14px;
  color: inherit;
  text-decoration: none;
}
.related-card__link > div {
  min-width: 0;
}
.related-card__link:hover .related-card__title { color: var(--teal-deep); }
.related-card figure { margin: 0; }
.related-card img {
  display: block;
  width: 128px;
  height: 84px;
  object-fit: cover;
  border-radius: 8px;
  background: var(--line);
}
.related-card__title {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
}
.related-card__excerpt {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}
@media (max-width: 640px) {
  .related-card__link { grid-template-columns: 1fr; }
  .related-card img { width: 100%; height: auto; aspect-ratio: 16 / 10; }
}
.author p { margin: 8px 0 0; }
.author-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--teal-deep);
}
@media (max-width: 640px) {
  .article-prose h2 { font-size: 22px; }
  .article-prose h3 { font-size: 18px; }
  .lead-in p { font-size: 16px; }
  .article.is-entry { padding-top: 28px; }
}

/* 参照デザイン：大きな見出し、ミントの地、番号つきの罫線 */
.hero-sub {
  margin: 8px 0 0;
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(19px, 2vw, 24px);
  line-height: 1.8;
  color: var(--ink);
}
.hero-lead { color: var(--muted); font-size: 15px; font-weight: 400; }
.browser {
  margin: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 28px 64px rgba(11, 43, 38, 0.16);
}
.browser-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0;
  height: 38px;
  padding: 0 16px;
  background: var(--ink);
  color: var(--sage);
  font-size: 12px;
  font-style: normal;
}
.browser-bar span { width: 10px; height: 10px; border-radius: 50%; background: var(--teal); }
.browser-bar span:nth-child(2) { background: var(--yellow); }
.browser-bar span:nth-child(3) { background: var(--sage); }
.browser-bar em { margin-left: 8px; font-style: normal; }
.browser img { width: 100%; height: auto; background: #fff; }
.browser-note { margin: 0; padding: 12px 16px 14px; color: var(--muted); font-size: 12px; }
#service, #price { background: var(--tint); }
#reasons, #compare, #support, #flow { background: #fff; }
#works { background: var(--mist-2); }
.svc-list {
  display: flex;
  flex-direction: column;
  border-top: 2px solid var(--ink);
  margin-top: 8px;
}
.svc-list article {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 8px 24px;
  align-items: center;
  padding: 36px 0;
  border: 0;
  border-radius: 0;
  border-bottom: 1px solid var(--sage);
  background: transparent;
}
.svc-list .num { margin: 0; font-size: 44px; color: var(--teal); line-height: 1; }
.svc-list h3, .svc-list h2 { margin: 0; font-size: 26px; font-weight: 900; line-height: 1.4; }
.svc-lead { margin: 4px 0 0; font-weight: 700; color: var(--teal-deep); }
#service .svc-list article > div {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.45fr) auto;
  gap: 6px 28px;
  align-items: center;
}
#service .svc-list h3 { grid-column: 1; grid-row: 1; }
#service .svc-lead { grid-column: 1; grid-row: 2; }
#service .svc-list article > div > p:not(.svc-lead):not(:last-child) {
  grid-column: 2;
  grid-row: 1 / span 2;
  margin: 0;
  color: var(--body);
  font-size: 15px;
}
#service .svc-list article > div > p:last-child {
  grid-column: 3;
  grid-row: 1 / span 2;
  margin: 0;
  font-weight: 700;
  justify-self: end;
  white-space: nowrap;
}
#service .svc-list article > div > p:last-child a { text-decoration: none; }
#service .svc-list article > div > p:last-child a::after { content: " →"; }
#reasons .wrap {
  display: grid;
  grid-template-columns: minmax(260px, 0.82fr) minmax(0, 1.18fr);
  gap: 72px;
  align-items: start;
}
#reasons .section-head { position: sticky; top: 108px; margin-bottom: 0; }
.reason-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  border-top: 2px solid var(--ink);
  counter-reset: reason;
}
.reason-list li {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 20px;
  margin: 0;
  padding: 36px 0;
  border: 0;
  border-radius: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  counter-increment: reason;
}
.reason-list li::before {
  content: counter(reason);
  grid-column: 1;
  grid-row: 1 / span 2;
  align-self: start;
  font-family: var(--en);
  font-weight: 800;
  font-size: 32px;
  line-height: 1.2;
  color: var(--teal);
}
.reason-list h3,
.reason-list p { grid-column: 2; min-width: 0; }
.reason-list h3 { margin: 0 0 8px; font-size: 24px; font-weight: 900; }
.reason-list p { margin: 0; color: var(--body); font-size: 15px; line-height: 1.9; }
#ai-design { background: var(--ink); color: #fff; }
#ai-design .kicker { color: var(--teal); }
#ai-design .section-head p,
#ai-design .ai-flow p { color: var(--sage); }
#ai-design h2, #ai-design h3 { color: #fff; }
#ai-design h2 span { color: var(--teal); }
.ai-flow {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
}
.ai-flow li {
  margin: 0;
  padding: 36px 28px 36px 0;
  border: 0;
  border-radius: 0;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
  background: transparent;
}
.ai-flow li:last-child { border-right: 0; padding-right: 0; }
.ai-flow li:nth-child(3) {
  background: rgba(255, 208, 0, 0.1);
  border-top: 4px solid var(--yellow);
  margin-top: -1px;
  padding-left: 28px;
}
.ai-flow span {
  display: block;
  font-family: var(--en);
  color: var(--teal);
  font-weight: 800;
  letter-spacing: 0.14em;
  font-size: 13px;
}
.ai-flow li:nth-child(3) span { color: var(--yellow); }
.ai-flow h3 { margin: 14px 0; font-size: 24px; font-weight: 900; line-height: 1.5; }
#ai-design .btn-line { background: var(--teal); color: var(--ink); border-color: transparent; }
#compare thead th { background: transparent; }
#compare thead th:first-child { border-bottom: 2px solid var(--ink); }
#compare thead th:nth-child(2) { border-bottom: 2px solid var(--teal); font-family: var(--serif); font-size: 20px; }
#compare thead th:nth-child(3) { border-bottom: 2px solid var(--yellow); font-family: var(--serif); font-size: 20px; }
.work-card { box-shadow: 0 16px 40px rgba(11, 43, 38, 0.1); border-radius: 16px; }
.support-pills {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin: 8px 0 36px;
  padding: 0;
  list-style: none;
  border-top: 2px solid var(--ink);
}
.support-pills li {
  padding: 28px 24px 28px 0;
  background: transparent;
  border-radius: 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
}
#support .grid-2 > article:not([class]) {
  border: 0;
  border-radius: 16px;
  padding: 32px;
}
#support .grid-2 > article:nth-child(1) { background: var(--tint); }
#support .grid-2 > article:nth-child(2) { background: var(--yellow-soft); }
.price-line {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) auto;
  gap: 16px 24px;
  align-items: baseline;
  margin: 0;
  padding: 24px 0;
  border: 0;
  border-radius: 0;
  border-bottom: 1px solid var(--sage);
  background: transparent;
}
#price .price-line:first-of-type { border-top: 2px solid var(--ink); }
.price-line h3 { margin: 0 0 4px; font-size: 18px; font-weight: 700; }
.price-line p { margin: 0; color: var(--body); }
.price-line .yen { color: var(--ink); font-family: var(--en); font-weight: 800; font-size: 28px; white-space: nowrap; }
.price-line .yen small { font-size: 14px; font-weight: 700; }
#flow .steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 2px solid var(--ink);
}
#flow .step {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 32px 28px 32px 0;
  border: 0;
  border-radius: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
}
#flow .step b { font-size: 14px; letter-spacing: 0.12em; }
ol.steps { list-style: none; margin: 0; padding: 0; }
.subnav ul { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 28px; padding: 0; list-style: none; }
.subnav a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
  font-size: 14px;
}
.subnav a[aria-current="page"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.prose-wide { max-width: 820px; }
.prose-wide h2 { margin: 36px 0 12px; font-size: 28px; }
.work-method, .work-note, .work-detail { margin: 8px 0 0; }
.work-method { font-size: 13px; font-weight: 700; color: var(--teal-deep); }
@media (max-width: 980px) {
  #reasons .wrap,
  #service .svc-list article > div,
  .ai-flow,
  .support-pills,
  #flow .steps,
  .price-line { grid-template-columns: 1fr; }
  #reasons .section-head { position: static; }
  .ai-flow li,
  .ai-flow li:nth-child(3) { border-right: 0; padding-left: 0; padding-right: 0; border-bottom: 1px solid rgba(255,255,255,0.14); }
  #service .svc-list article > div > p:not(.svc-lead):not(:last-child),
  #service .svc-list article > div > p:last-child {
    grid-column: 1;
    grid-row: auto;
    justify-self: start;
    white-space: normal;
  }
  .svc-list article { grid-template-columns: 64px minmax(0, 1fr); }
  .price-line .yen { white-space: normal; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
