:root {
  --red: #B8352B;
  --ink: #1A1A1E;
  --cream: #F5F3F0;
  --white: #ffffff;
  --muted: #5E5E64;
  --subtle: #8A8A90;
  --line: #D4D4D8;
  --rose: #FBF1F0;
  --rose-line: #EDCFCB;
  --gray: #F3F4F6;
  --max: 1120px;
  --header-h: 72px;
  --font: "Noto Sans JP", "Noto Sans CJK JP", Inter, "Be Vietnam Pro", sans-serif;
}
html[lang="en"] { --font: Inter, "Noto Sans JP", "Noto Sans CJK JP", "Be Vietnam Pro", sans-serif; }
html[lang="vi"] { --font: "Be Vietnam Pro", Inter, "Noto Sans JP", "Noto Sans CJK JP", sans-serif; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--cream);
  font-size: 16.5px;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
html[lang="en"] body, html[lang="vi"] body { line-height: 1.75; }
img { max-width: 100%; display: block; }
a { color: inherit; }
a:hover { color: var(--red); }
button { font-family: inherit; }
h1, h2, h3, h4 { line-height: 1.35; font-weight: 700; letter-spacing: 0.01em; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.i18n > [lang] { display: none; }
html[lang="ja"] .i18n > [lang="ja"],
html[lang="en"] .i18n > [lang="en"],
html[lang="vi"] .i18n > [lang="vi"] { display: inline; }
.i18n.block > [lang] { display: none; }
html[lang="ja"] .i18n.block > [lang="ja"],
html[lang="en"] .i18n.block > [lang="en"],
html[lang="vi"] .i18n.block > [lang="vi"] { display: block; }
html[lang="ja"] .asks .i18n.block > ul[lang="ja"],
html[lang="en"] .asks .i18n.block > ul[lang="en"],
html[lang="vi"] .asks .i18n.block > ul[lang="vi"] { display: grid; }

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: #fff; padding: 0.6rem 1rem; z-index: 200;
}
.skip:focus { left: 1rem; top: 1rem; }

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

.header {
  position: sticky; top: 0; z-index: 80;
  background: rgba(245, 243, 240, 0.92);
  backdrop-filter: saturate(1.2) blur(12px);
  -webkit-backdrop-filter: saturate(1.2) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.header.scrolled {
  border-bottom-color: var(--line);
  background: rgba(255,255,255,0.94);
  box-shadow: 0 1px 0 rgba(26,26,30,0.04);
}
.header-inner {
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
}
.logo { display: flex; align-items: center; flex: 0 0 auto; }
.logo img, .logo svg { height: 28px; width: auto; display: block; }
.nav { display: flex; align-items: center; gap: 1.75rem; }
.nav a {
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: 0.02em;
  position: relative;
}
.nav a:hover { color: var(--red); }
.nav a.is-active::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: -6px;
  height: 2px; background: var(--red);
}
.header-tools { display: flex; align-items: center; gap: 1rem; }
.langs {
  display: inline-flex; align-items: center;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 3px;
}
.langs button {
  appearance: none; border: 0; background: transparent;
  padding: 0.25rem 0.7rem;
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--muted);
  border-radius: 999px;
  cursor: pointer;
  line-height: 1.4;
}
.langs button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.langs button:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
.menu-btn {
  display: none;
  appearance: none; border: 0; background: transparent;
  width: 40px; height: 40px; padding: 0;
  cursor: pointer; position: relative;
}
.menu-btn span, .menu-btn span::before, .menu-btn span::after {
  display: block; width: 20px; height: 1.5px; background: var(--ink);
  position: absolute; left: 10px; transition: transform .2s, opacity .2s;
}
.menu-btn span { top: 19px; }
.menu-btn span::before, .menu-btn span::after { content: ""; left: 0; }
.menu-btn span::before { top: -6px; }
.menu-btn span::after { top: 6px; }
body.nav-open .menu-btn span { background: transparent; }
body.nav-open .menu-btn span::before { top: 0; transform: rotate(45deg); }
body.nav-open .menu-btn span::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 900px) {
  .menu-btn { display: block; }
  .nav {
    display: none;
    position: absolute; left: 0; right: 0; top: var(--header-h);
    background: #fff;
    border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch;
    padding: 0.5rem 1.5rem 1.25rem;
    gap: 0;
    box-shadow: 0 12px 30px rgba(26,26,30,0.08);
  }
  body.nav-open .nav { display: flex; }
  .nav a { padding: 0.85rem 0; border-bottom: 1px solid var(--gray); font-size: 1rem; }
  .nav a.is-active::after { display: none; }
  .nav a.is-active { color: var(--red); }
}

.hero {
  position: relative;
  padding: 4.5rem 0 3.5rem;
  background: var(--cream);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 10px; background: var(--red);
}
@media (max-width: 640px) {
  .hero { padding: 2.75rem 0 2.5rem; }
  .hero::before { width: 6px; }
}
.eyebrow { display: flex; flex-direction: column; gap: 0.35rem; margin-bottom: 1.5rem; }
.eyebrow .ja-title {
  font-size: clamp(1.75rem, 3.4vw, 2.35rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.2;
}
.eyebrow .en-label {
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  color: var(--subtle);
  font-weight: 500;
  text-transform: uppercase;
}
.redline { width: 48px; height: 4px; background: var(--red); margin: 0 0 2rem; }
.hero h1 {
  font-size: clamp(1.65rem, 3.6vw, 2.55rem);
  margin: 0 0 1.4rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  max-width: 18em;
}
.hero .lead {
  font-size: clamp(0.95rem, 1.4vw, 1.08rem);
  color: #3a3a40;
  max-width: 46rem;
  margin-bottom: 2rem;
  line-height: 1.95;
}
.pills { display: flex; flex-wrap: wrap; gap: 0.55rem; margin-bottom: 2rem; }
.pill {
  display: inline-flex; align-items: center; gap: 0.45em;
  border: 1px solid #cfcfd3;
  background: #fff;
  border-radius: 999px;
  padding: 0.4rem 0.95rem 0.4rem 0.8rem;
  font-size: 0.84rem;
  text-decoration: none;
  color: var(--ink);
  line-height: 1.4;
}
.pill:hover { border-color: var(--red); color: var(--ink); }
.pill b { color: var(--red); font-weight: 700; font-variant-numeric: tabular-nums; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 3rem; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  text-decoration: none;
  padding: 0.85rem 1.5rem;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  border-radius: 2px;
  line-height: 1.3;
  transition: background .15s, color .15s, border-color .15s;
}
.btn-primary { background: var(--ink); color: #fff; border: 1px solid var(--ink); }
.btn-primary:hover { background: var(--red); border-color: var(--red); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.hero-foot {
  border-top: 1px solid #e2e0dc;
  padding-top: 1.4rem;
  display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.7;
}
.hero-foot strong { display: block; color: var(--ink); font-size: 1rem; font-weight: 700; }

section.block { padding: 5rem 0; background: #fff; }
section.block.alt { background: var(--cream); }
@media (max-width: 640px) { section.block { padding: 3.25rem 0; } }
.sec-head { margin-bottom: 2.4rem; }
.sec-kicker { display: flex; align-items: baseline; gap: 0.75rem; margin-bottom: 0.85rem; }
.sec-kicker .num { color: var(--red); font-weight: 700; font-size: 1.35rem; letter-spacing: 0.04em; }
.sec-kicker h2 { margin: 0; font-size: clamp(1.45rem, 2.4vw, 1.85rem); }
.sec-en {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--subtle);
  font-weight: 500;
  margin-top: 0.25rem;
}
.mark {
  display: flex; align-items: center; gap: 0.55rem;
  font-weight: 700;
  font-size: 0.95rem;
  margin: 0 0 1rem;
}
.mark::before { content: ""; width: 4px; height: 1em; background: var(--red); display: inline-block; }
.intro { font-size: 1.12rem; font-weight: 700; margin: 0 0 2rem; line-height: 1.7; }

.greet-title {
  font-size: clamp(1.2rem, 2.2vw, 1.55rem);
  font-weight: 700;
  margin: 0 0 1.4rem;
  line-height: 1.55;
  max-width: 28em;
}
.greet-body { max-width: 48rem; }
.greet-body p { margin-bottom: 1.05em; }
.sign { margin-top: 2rem; text-align: right; }
.sign .role { color: var(--muted); font-size: 0.9rem; }
.sign .name { font-size: 1.15rem; font-weight: 700; margin-top: 0.15rem; letter-spacing: 0.04em; }
.sign .roman { color: var(--muted); font-size: 0.92rem; margin-top: 0.1rem; }

.profile { width: 100%; border-collapse: collapse; margin-top: 0.5rem; }
.profile th, .profile td {
  text-align: left; vertical-align: top;
  padding: 1rem 1rem 1rem 0;
  border-bottom: 1px solid var(--line);
  font-weight: 400;
}
.profile tr:first-child th, .profile tr:first-child td { border-top: 2px solid var(--ink); }
.profile th { width: 11.5rem; font-weight: 700; font-size: 0.95rem; padding-right: 1.5rem; }
.profile .sub { display: block; color: var(--muted); font-size: 0.88rem; font-weight: 400; margin-top: 0.15rem; }
@media (max-width: 640px) {
  .profile th, .profile td { display: block; width: auto; padding: 0; border: 0; }
  .profile tr { display: block; padding: 0.95rem 0; border-bottom: 1px solid var(--line); }
  .profile tr:first-child { border-top: 2px solid var(--ink); }
  .profile th { margin-bottom: 0.25rem; color: var(--red); font-size: 0.8rem; letter-spacing: 0.06em; }
}

.cards { display: grid; gap: 1.25rem; }
.card { border: 1px solid var(--line); background: #fff; padding: 1.75rem 1.7rem 1.5rem; }
.card.featured { background: var(--rose); border-color: var(--rose-line); }
.card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.card .num { font-size: 1.85rem; font-weight: 300; color: var(--red); line-height: 1; letter-spacing: 0.02em; }
.badge {
  display: inline-block;
  background: var(--red); color: #fff;
  font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.06em;
  padding: 0.28rem 0.6rem;
  border-radius: 2px;
  white-space: nowrap;
}
.card h3 { margin: 0.55rem 0 0.15rem; font-size: 1.22rem; }
.card .ent {
  font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--subtle); font-weight: 500; margin-bottom: 0.9rem;
}
.card .desc { margin-bottom: 1rem; font-size: 0.97rem; }
.tags-label { font-size: 0.82rem; font-weight: 700; margin: 0 0 0.5rem; }
.tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 1.1rem; }
.tag {
  display: inline-block;
  border: 1px solid #d2d2d6; background: #fff; border-radius: 999px;
  padding: 0.22rem 0.7rem; font-size: 0.78rem; line-height: 1.45;
}
.card.featured .tag { border-color: #e0c9c6; }
.asks { background: #fff; padding: 1rem 1.1rem; margin: 0; }
.card:not(.featured) .asks { background: var(--gray); }
.asks dt { font-weight: 700; color: var(--red); font-size: 0.86rem; margin: 0 0 0.55rem; }
.asks dd { margin: 0; }
.asks ul {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: 0.35rem 1.25rem;
}
.asks li { position: relative; padding-left: 0.95em; font-size: 0.92rem; }
.asks li::before {
  content: ""; position: absolute; left: 0; top: 0.55em;
  width: 6px; height: 6px; background: var(--red);
}
@media (max-width: 720px) { .asks ul { grid-template-columns: 1fr; } }
.note { font-size: 0.86rem; color: var(--muted); margin: 0.25rem 0 0.5rem; }
.icon { width: 28px; height: 28px; color: var(--ink); margin: 0.15rem 0 0.15rem; flex: 0 0 auto; }
.card-head { display: flex; gap: 0.9rem; align-items: flex-start; }

.onestop { margin-top: 2.5rem; }
.flow { display: flex; align-items: stretch; margin: 0 0 1rem; }
.flow-step {
  flex: 1;
  background: var(--gray);
  color: var(--ink);
  text-align: center;
  padding: 1rem 1.4rem 1rem 1.8rem;
  font-weight: 700; font-size: 0.9rem;
  position: relative;
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 50%, calc(100% - 16px) 100%, 0 100%, 16px 50%);
  margin-right: -8px;
  display: flex; align-items: center; justify-content: center;
  min-height: 3.4rem;
}
.flow-step:first-child {
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 50%, calc(100% - 16px) 100%, 0 100%);
  padding-left: 1rem;
}
.flow-step:last-child {
  background: #F3D9D5;
  margin-right: 0;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 16px 50%);
}
@media (max-width: 720px) {
  .flow { flex-direction: column; }
  .flow-step, .flow-step:first-child, .flow-step:last-child {
    clip-path: none;
    margin: 0 0 0.4rem;
    padding: 0.85rem 1rem;
  }
  .flow-step:last-child { margin-bottom: 0; }
}

.why-lead { font-size: 1.2rem; font-weight: 700; margin: 0 0 2rem; line-height: 1.6; max-width: 28em; }
.points { display: grid; grid-template-columns: 1fr 1fr; gap: 0 2.5rem; }
.point { padding: 1.3rem 0; border-top: 1px solid var(--line); }
.point .pn { color: var(--red); font-weight: 700; font-size: 0.75rem; letter-spacing: 0.1em; margin-bottom: 0.3rem; }
.point h3 { margin: 0 0 0.45rem; font-size: 1.08rem; }
.point p { margin: 0; font-size: 0.95rem; }
.audience {
  background: var(--gray);
  border-left: 4px solid var(--red);
  padding: 1.3rem 1.4rem;
  margin: 1.3rem 0 0;
}
.audience h3 { margin: 0 0 0.8rem; font-size: 1.05rem; }
.audience ul { list-style: none; margin: 0; padding: 0; }
.audience li { position: relative; padding: 0.25rem 0 0.25rem 1.3em; font-size: 0.95rem; }
.audience li::before { content: "✓"; position: absolute; left: 0; color: var(--red); font-weight: 700; }
@media (max-width: 800px) { .points { grid-template-columns: 1fr; gap: 0; } }

.contact-box {
  background: var(--gray);
  border-left: 8px solid var(--red);
  padding: 2.4rem 2.2rem;
}
@media (max-width: 640px) { .contact-box { padding: 1.6rem 1.2rem; border-left-width: 6px; } }
.contact-box h2 { font-size: clamp(1.45rem, 2.5vw, 1.9rem); margin: 0 0 0.6rem; }
.contact-lead { margin-bottom: 1.6rem; color: #3a3a40; }
.contact-grid {
  display: grid;
  grid-template-columns: 7.5rem 1fr;
  gap: 0.85rem 1rem;
  margin-bottom: 1.5rem;
}
.contact-grid .k { color: var(--muted); font-size: 0.88rem; padding-top: 0.15rem; }
.contact-grid .v { font-weight: 600; font-size: 1.02rem; }
.contact-grid a { text-decoration: none; color: var(--ink); }
.contact-grid a:hover { color: var(--red); text-decoration: underline; }
.contact-grid .phone, .contact-grid .mail { font-size: 1.2rem; font-weight: 700; letter-spacing: 0.02em; }
.email-note { font-size: 0.84rem; color: var(--muted); font-weight: 400; margin-top: 0.3rem; line-height: 1.65; }
@media (max-width: 640px) {
  .contact-grid { grid-template-columns: 1fr; gap: 0.15rem; }
  .contact-grid .k { padding-top: 0.7rem; }
  .contact-grid .k:first-child { padding-top: 0; }
}
.contact-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; }

footer { background: var(--ink); color: #c8c8cc; padding: 2.4rem 0 2rem; }
footer a { color: #fff; text-decoration: none; }
footer a:hover { color: #fff; opacity: 0.85; }
.foot-inner { display: flex; justify-content: space-between; align-items: flex-end; gap: 1.5rem; flex-wrap: wrap; }
.foot-brand img { height: 26px; width: auto; margin-bottom: 0.8rem; }
.foot-brand p { margin: 0; font-size: 0.8rem; line-height: 1.7; color: #a0a0a6; }
.foot-meta { font-size: 0.8rem; text-align: right; color: #a0a0a6; line-height: 1.7; }

:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }

html[lang="ja"] h1,
html[lang="ja"] h2,
html[lang="ja"] h3,
html[lang="ja"] .greet-title,
html[lang="ja"] .why-lead,
html[lang="ja"] .intro,
html[lang="ja"] .hero .lead {
  word-break: keep-all;
  overflow-wrap: anywhere;
}
.why-lead { max-width: 40em; }

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.2rem 0;
  max-width: 36rem;
}
html[lang="ja"] .hero-meta.i18n > [lang="ja"],
html[lang="en"] .hero-meta.i18n > [lang="en"],
html[lang="vi"] .hero-meta.i18n > [lang="vi"] { display: contents; }
.hero-chip {
  white-space: nowrap;
}
.hero-chip:not(:last-child)::after {
  content: "　｜　";
  color: var(--subtle);
  font-weight: 400;
  white-space: pre;
}
@media (max-width: 720px) {
  .hero-foot { flex-direction: column; align-items: flex-start; }
  .hero-meta { justify-content: flex-start; max-width: none; flex-direction: column; gap: 0.15rem; }
  .hero-chip:not(:last-child)::after { content: none; }
  .foot-inner { align-items: flex-start; }
  .foot-meta { text-align: left; }
}
@media (max-width: 640px) {
  .contact-actions .btn { flex: 1 1 auto; min-width: 10rem; }
}
