:root {
  --ink: #111418;
  --ink-2: #3a414c;
  --muted: #6b7280;
  --line: #e3e6ea;
  --paper: #f6f7f8;
  --tide: #1f6fb2;
  --tide-2: #4fa3d9;
  --tide-soft: #eaf3fa;
  --head: "Zen Kaku Gothic New", sans-serif;
  --sans: "Noto Sans JP", sans-serif;
  --en: "Montserrat", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--sans); color: var(--ink); background: #fff; line-height: 1.85; -webkit-font-smoothing: antialiased; }
img, video { display: block; width: 100%; }
a { color: inherit; text-decoration: none; }
p, li, summary, dd { text-wrap: pretty; word-break: auto-phrase; }
h1, h2, h3 { text-wrap: balance; word-break: auto-phrase; }
.wrap { width: min(1080px, 100% - 32px); margin-inline: auto; }

/* Header */
.hd { position: fixed; inset: 0 0 auto; z-index: 20; display: flex; justify-content: space-between; align-items: center; padding: 12px 24px; background: rgba(17,20,24,.92); backdrop-filter: blur(8px); color: #fff; }
.hd-logo { font-family: var(--en); font-weight: 800; font-size: 18px; letter-spacing: .04em; }
.hd-logo span { color: var(--tide-2); }
.hd-cta { background: var(--tide); color: #fff; font-weight: 700; font-size: 14px; padding: 9px 20px; border-radius: 999px; }

/* Hero */
.hero { position: relative; background: var(--ink); color: #fff; overflow: hidden; }
.hero { padding-bottom: 90px; }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 70px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 70' preserveAspectRatio='none'%3E%3Cpath d='M0 40 C 240 0 480 0 720 34 S 1200 70 1440 30 V70 H0Z' fill='%23ffffff'/%3E%3C/svg%3E") center / 100% 100% no-repeat; }
.hero-in { position: relative; z-index: 1; width: min(1160px, 100% - 32px); margin-inline: auto; padding: 120px 0 20px; display: grid; grid-template-columns: 1fr 1.05fr; grid-template-areas: "top ba" "copy ba"; column-gap: 44px; row-gap: 0; align-items: center; }
.hero-top { grid-area: top; align-self: end; }
.hero-copy { grid-area: copy; align-self: start; }
.ba-wrap { grid-area: ba; }
.hero-what { font-size: 18px; font-weight: 700; margin: 0 0 14px; }
.hero-what b { color: var(--tide-2); }
.pill { display: inline-block; font-size: 13px; font-weight: 700; padding: 6px 16px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.25); }
.hero h1 { font-family: var(--head); font-weight: 900; font-size: clamp(34px, 5.4vw, 60px); line-height: 1.35; margin: 18px 0 16px; }
.hero h1 em { font-style: normal; color: var(--tide-2); }
.hero-lead { font-size: 16px; opacity: .88; max-width: 30em; }
.hero-price { margin: 22px 0 0; font-size: 15px; }
.hero-price b { font-size: 22px; font-family: var(--head); margin-right: 6px; }
.hero-price small { display: block; font-size: 12px; opacity: .75; }
.badges { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 28px; }
.badges li { padding: 10px 16px; border-radius: 12px; background: rgba(255,255,255,.06); border: 1px solid rgba(79,163,217,.6); line-height: 1.4; }
.badges b { display: block; font-family: var(--head); font-size: 17px; color: var(--tide-2); }
.badges span { font-size: 12px; opacity: .85; }
.btn-main { display: inline-flex; flex-direction: column; align-items: center; background: var(--tide); color: #fff; font-family: var(--head); font-weight: 900; font-size: 19px; padding: 15px 40px; border-radius: 999px; box-shadow: 0 14px 30px -14px rgba(31,111,178,.9); transition: transform .2s, background .2s; }
.btn-main small { font-family: var(--sans); font-weight: 500; font-size: 12px; opacity: .92; }
.btn-main:hover { transform: translateY(-2px); background: #1a5f99; }
.btn-main.center { display: flex; width: fit-content; margin: 32px auto 0; }
.btn-sub { display: inline-block; margin-left: 18px; padding: 10px 0; font-weight: 700; font-size: 15px; border-bottom: 1px solid rgba(255,255,255,.5); }

/* Sections */
.sec { padding: 92px 0; }
.sec.soft { background: var(--paper); }
.en { font-family: var(--en); font-weight: 800; font-size: 13px; letter-spacing: .22em; color: var(--tide); }
.sec h2, .contact h2 { font-family: var(--head); font-weight: 900; font-size: clamp(26px, 3.6vw, 38px); line-height: 1.45; margin: 8px 0 18px; }
.lead { color: var(--ink-2); max-width: 46em; }
.note { font-size: 13px; color: var(--muted); margin-top: 14px; }

.problems { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 32px; }
.problems li { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 24px 22px; }
.problems b { font-family: var(--en); font-weight: 800; font-size: 26px; color: var(--tide); }
.problems h3 { font-family: var(--head); font-size: 18px; margin: 4px 0 6px; }
.problems p { font-size: 14px; color: var(--ink-2); }
.answer { margin-top: 28px; font-family: var(--head); font-weight: 700; font-size: 19px; }
.answer em { font-style: normal; color: var(--tide); }

/* Story */
.story { background: var(--ink); color: #fff; }
.story .en { color: var(--tide-2); }
.story .lead { color: #c9ced6; }
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 32px; }
.steps li { border-top: 2px solid var(--tide-2); padding-top: 14px; }
.steps b { font-family: var(--en); font-size: 13px; color: var(--tide-2); letter-spacing: .1em; }
.steps h3 { font-family: var(--head); font-size: 18px; margin: 4px 0 6px; }
.steps p { font-size: 14px; color: #c9ced6; }
.how { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; }
.how li { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); border-radius: 14px; padding: 18px 20px; font-size: 14px; color: #c9ced6; }
.how b { display: block; color: #fff; font-family: var(--head); font-size: 17px; margin-bottom: 2px; }

/* Monitor */
.mon-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 28px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 26px 26px; }
.card h3 { font-family: var(--head); font-size: 19px; margin-bottom: 10px; }
.card ul { list-style: none; display: grid; gap: 6px; }
.card ul li { padding-left: 24px; position: relative; font-size: 15px; }
.card ul li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 12px; height: 7px; border-left: 2px solid var(--tide); border-bottom: 2px solid var(--tide); transform: rotate(-45deg); }
.card .big { font-family: var(--head); font-weight: 900; font-size: 40px; line-height: 1.2; }
.card .big small { font-size: 15px; font-weight: 700; margin-left: 4px; }
.terms { margin-top: 24px; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 26px; }
.terms h3 { font-family: var(--head); font-size: 19px; margin-bottom: 10px; }
.terms dl { display: grid; grid-template-columns: 9em 1fr; }
.terms dt, .terms dd { padding: 12px 0; border-top: 1px solid var(--line); font-size: 14px; }
.terms dt { font-weight: 700; }

/* Price */
.plans { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 22px; }
.plan { border: 1px solid var(--line); border-radius: 16px; padding: 22px 24px; }
.plan h3 { font-family: var(--head); font-size: 19px; }
.plan .yen { font-family: var(--head); font-weight: 900; font-size: 30px; margin: 4px 0 6px; }
.plan .yen small { font-size: 14px; margin-left: 2px; }
.plan p { font-size: 14px; color: var(--ink-2); }
.fee { display: grid; grid-template-columns: 1fr auto; margin-top: 10px; }
.fee dt, .fee dd { padding: 10px 0; border-top: 1px solid var(--line); font-size: 14px; }
.fee dd { text-align: right; font-weight: 700; padding-left: 16px; }
details.more { margin-top: 18px; border: 1px solid var(--line); border-radius: 14px; padding: 0 20px; background: #fff; }
details.more > summary { cursor: pointer; padding: 16px 0; font-weight: 700; list-style: none; position: relative; padding-right: 28px; }
details.more > summary::-webkit-details-marker { display: none; }
details.more > summary::after { content: "+"; position: absolute; right: 0; top: 12px; font-size: 22px; color: var(--tide); }
details.more[open] > summary::after { content: "−"; }
details.more > :last-child { padding-bottom: 20px; }

/* Flow */
.flow { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-top: 30px; counter-reset: f; }
.flow li { background: #fff; border-radius: 16px; padding: 20px 18px; border: 1px solid var(--line); }
.flow b { font-family: var(--en); font-size: 12px; letter-spacing: .1em; color: var(--tide); }
.flow h3 { font-family: var(--head); font-size: 17px; margin: 2px 0 6px; }
.flow p { font-size: 13.5px; color: var(--ink-2); }
.asks { margin-top: 24px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 22px 24px; }
.asks-title { font-weight: 700; margin-bottom: 6px; }
.asks ul { padding-left: 1.2em; font-size: 14px; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 18px 28px 18px 0; font-weight: 700; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "Q"; font-family: var(--en); font-weight: 800; color: var(--tide); margin-right: 10px; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 14px; font-size: 22px; color: var(--tide); }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 0 18px 26px; color: var(--ink-2); font-size: 15px; }

/* Contact */
.contact { background: var(--ink); color: #fff; padding: 92px 0; }
.contact .en { color: var(--tide-2); }
.contact-lead { color: #c9ced6; max-width: 44em; }
.cform { margin-top: 28px; background: #fff; color: var(--ink); border-radius: 18px; padding: 28px; display: grid; gap: 16px; max-width: 760px; }
.cform-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cform label { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 14px; font-weight: 700; }
.cform label > input, .cform label > select, .cform label > textarea { flex: 1 0 100%; }
.cform label b { display: inline-block; margin-left: 2px; font-size: 11px; color: #fff; background: var(--tide); padding: 1px 8px; border-radius: 4px; vertical-align: 2px; }
.cform input, .cform select, .cform textarea { font: inherit; font-weight: 400; font-size: 16px; padding: 11px 13px; border: 1px solid #cfd4da; border-radius: 10px; background: #fff; width: 100%; }
.cform fieldset { border: 0; display: grid; gap: 6px; }
.cform legend { font-size: 14px; font-weight: 700; margin-bottom: 6px; }
.cform .choices { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.cform .choices label { display: flex; align-items: center; gap: 6px; font-weight: 400; font-size: 15px; }
.cform .choices input { width: auto; }
.cform button { font: inherit; font-family: var(--head); font-weight: 900; font-size: 18px; color: #fff; background: var(--tide); border: 0; border-radius: 999px; padding: 15px; cursor: pointer; }
.cform button:disabled { opacity: .6; }
.cform-hp { position: absolute; left: -9999px; }
.cform-note { font-size: 12px; color: var(--muted); }
.cform-note a { text-decoration: underline; }
.cform-msg.ok { color: #157347; font-weight: 700; }
.cform-msg.err { color: #c0392b; font-weight: 700; }

.ft { padding: 36px 16px 44px; text-align: center; font-size: 13px; color: var(--muted); }
.ft a { text-decoration: underline; }


/* Header subtitle */
.hd-logo small { font-family: var(--sans); font-weight: 500; font-size: 12px; letter-spacing: 0; opacity: .7; margin-left: 12px; }

/* Before / After */
.ba { position: relative; aspect-ratio: 4 / 3.3; border-radius: 16px; overflow: hidden; box-shadow: 0 30px 70px -24px rgba(0,0,0,.8); background: #fff; user-select: none; }
.ba-after, .ba-before { position: absolute; inset: 0; }
.ba-after img { height: 100%; object-fit: cover; object-position: 40% center; }
.ba-after::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10,14,20,.88) 0%, rgba(10,14,20,.5) 38%, rgba(10,14,20,0) 62%); }
.ba-after-txt { position: absolute; z-index: 1; right: 6%; bottom: 6%; width: 62%; color: #fff; text-align: right; }
.ba-kicker { font-size: 11px; letter-spacing: .12em; opacity: .85; }
.ba-title { font-family: "Zen Old Mincho", serif; font-weight: 900; font-size: clamp(24px, 3vw, 38px); line-height: 1.35; margin: 6px 0 10px; text-shadow: 0 2px 18px rgba(0,0,0,.5); }
.ba-story { font-family: "Zen Old Mincho", serif; font-size: 13px; line-height: 2; opacity: .95; }
.ba-btn { display: inline-block; margin-top: 14px; font-size: 12px; font-weight: 700; padding: 8px 16px; border-radius: 999px; background: #fff; color: var(--ink); }
.ba-before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); background: #f3f1ea; color: #333; display: grid; place-items: center; }
.job { width: 86%; background: #fff; border: 1px solid #cfcac0; padding: 18px 20px; font-family: "MS Gothic", "Osaka", monospace; font-size: 13px; line-height: 1.7; box-shadow: 0 2px 0 #e2ddd2; }
.job-h { font-weight: 700; border-bottom: 2px solid #333; padding-bottom: 6px; margin-bottom: 8px; }
.job dl { display: grid; grid-template-columns: 4.5em 1fr; }
.job dt, .job dd { padding: 5px 0; border-bottom: 1px dotted #bbb; }
.job dt { color: #666; }
.ba-tag { position: absolute; top: 12px; z-index: 3; font-family: var(--en); font-weight: 800; font-size: 11px; letter-spacing: .15em; padding: 4px 10px; border-radius: 4px; }
.ba-tag.before { left: 12px; background: #333; color: #fff; }
.ba-tag.after { right: 12px; background: var(--tide); color: #fff; }
.ba-line { position: absolute; z-index: 2; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: #fff; box-shadow: 0 0 12px rgba(0,0,0,.4); pointer-events: none; }
.ba-line i { position: absolute; top: 50%; left: 50%; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%; background: #fff; color: var(--ink); display: grid; place-items: center; font-style: normal; font-weight: 700; box-shadow: 0 6px 18px rgba(0,0,0,.35); }
.ba-range { position: absolute; z-index: 4; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.ba-hint { text-align: center; margin: 12px 0 0; font-size: 13px; color: #aab3bf; }
.ba-hint small { display: block; opacity: .7; }

/* Samples */
.samples { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 32px; }
.sample { position: relative; border-radius: 18px; overflow: hidden; aspect-ratio: 3 / 4; color: #fff; background: #000; isolation: isolate; }
.sample img { position: absolute; inset: 0; height: 100%; object-fit: cover; transition: transform .8s ease; z-index: -2; }
.sample::before { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.82) 0%, rgba(0,0,0,.1) 55%); z-index: -1; }
.sample:hover img { transform: scale(1.06); }
.sample > div { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px; }
.sample > div > span { font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.35); }
.sample h3 { font-family: "Zen Old Mincho", serif; font-weight: 900; font-size: 24px; line-height: 1.45; margin: 10px 0 4px; }
.sample p { font-size: 13px; opacity: .88; }
.sample b { display: inline-block; margin-top: 12px; font-size: 14px; border-bottom: 1px solid #fff; }
.sample b::after { content: " →"; }

/* Convert */
.convert { display: grid; grid-template-columns: 1fr 1fr 1.2fr; gap: 0; margin-top: 36px; align-items: stretch; }
.cv-box { position: relative; padding: 24px 22px; border-radius: 16px; }
.cv-box + .cv-box { margin-left: 30px; }
.cv-box + .cv-box::before { content: "→"; position: absolute; left: -26px; top: 50%; transform: translateY(-50%); color: var(--tide-2); font-size: 22px; font-weight: 700; }
.cv-label { font-size: 12px; font-weight: 700; letter-spacing: .08em; color: #8f99a6; margin-bottom: 10px; }
.memo { background: #f3f1ea; color: #444; }
.cv-memo { font-family: "MS Gothic", "Osaka", monospace; font-size: 15px; line-height: 2; }
.q { background: rgba(255,255,255,.06); border: 1px dashed rgba(255,255,255,.3); }
.cv-q { font-weight: 700; color: #fff; }
.cv-a { margin-top: 10px; font-size: 14px; color: #c9ced6; border-left: 3px solid var(--tide-2); padding-left: 12px; }
.out { background: #fff; color: var(--ink); }
.cv-out { font-family: "Zen Old Mincho", serif; font-weight: 700; font-size: 17px; line-height: 2.05; }
.cv-catch { margin-top: 12px; font-family: "Zen Old Mincho", serif; font-weight: 900; font-size: 22px; color: var(--tide); }

/* Preview */
.preview { background: linear-gradient(180deg, var(--tide-soft), #fff); }
.preview-in { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.checks { list-style: none; display: grid; gap: 4px; margin: 18px 0 24px; }
.checks li { padding-left: 26px; position: relative; font-weight: 700; }
.checks li::before { content: ""; position: absolute; left: 3px; top: .55em; width: 12px; height: 7px; border-left: 2px solid var(--tide); border-bottom: 2px solid var(--tide); transform: rotate(-45deg); }
.pv-mail { background: #fff; border-radius: 16px; padding: 18px; box-shadow: 0 24px 50px -24px rgba(17,20,24,.45); border: 1px solid var(--line); transform: rotate(1.5deg); }
.pv-from { font-size: 12px; color: var(--muted); }
.pv-sub { font-weight: 700; margin-bottom: 12px; }
.pv-shot { position: relative; border-radius: 10px; overflow: hidden; }
.pv-shot img { aspect-ratio: 4 / 3; object-fit: cover; filter: brightness(.82); }
.pv-shot p { position: absolute; left: 16px; bottom: 14px; color: #fff; font-family: "Zen Old Mincho", serif; font-weight: 900; font-size: 22px; line-height: 1.45; text-shadow: 0 2px 14px rgba(0,0,0,.6); }


/* Sample card readability */
.sample::before { background: linear-gradient(0deg, rgba(0,0,0,.95) 0%, rgba(0,0,0,.8) 38%, rgba(0,0,0,.35) 58%, rgba(0,0,0,0) 75%); }
.sample h3, .sample p { text-shadow: 0 2px 10px rgba(0,0,0,.7); }

/* Use */
.uses { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 28px; }
.uses li { border: 1px solid var(--line); border-radius: 16px; padding: 24px 22px; }
.uses b { font-family: var(--en); font-weight: 800; color: var(--tide); }
.uses h3 { font-family: var(--head); font-size: 18px; margin: 4px 0 6px; }
.uses p { font-size: 14px; color: var(--ink-2); }

/* About */
.about-in { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.about-tbl { display: grid; grid-template-columns: 6em 1fr; border-top: 1px solid var(--line); }
.about-tbl dt, .about-tbl dd { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.about-tbl dt { font-weight: 700; color: var(--muted); }

.cform-help { font-size: 13px; color: var(--muted); margin-top: -6px; }

@media (max-width: 900px) {
  .hero-in { grid-template-areas: "top" "ba" "copy"; row-gap: 22px; }
  .uses, .about-in { grid-template-columns: 1fr; }
  .samples, .preview-in { grid-template-columns: 1fr; }
  .sample { aspect-ratio: 4 / 3; }
  .convert { grid-template-columns: 1fr; }
  .cv-box + .cv-box { margin: 34px 0 0; }
  .cv-box + .cv-box::before { content: "↓"; left: 50%; top: -30px; transform: translateX(-50%); }
  .hd-logo small { display: none; }
  .hero-in { grid-template-columns: 1fr; padding-top: 100px; }
  .problems, .how { grid-template-columns: 1fr; }
  .mon-grid, .plans { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .flow { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .ba-story { display: none; }
  .pv-shot p { font-size: 18px; }
  .card .big small { display: block; margin: 4px 0 0; }
  .pv-mail { transform: none; }
  .ba { aspect-ratio: 3 / 4; }
  .ba-after img { object-position: 74% center; }
  .ba-after-txt { width: 78%; }
  .job { font-size: 12px; padding: 14px; width: 90%; }
  .hd { padding: 10px 16px; }
  .hd-cta { font-size: 13px; padding: 8px 14px; }
  .btn-main { width: 100%; padding-inline: 20px; }
  .btn-sub { margin: 14px 0 0; }
  .steps { grid-template-columns: 1fr; }
  .terms dl { grid-template-columns: 1fr; }
  .terms dd { border-top: 0; padding-top: 0; }
  .cform { padding: 20px; }
  .cform-row { grid-template-columns: 1fr; }
  .sec, .contact { padding: 72px 0; }
}

/* 単語の途中で改行しない（Safari でも効くように） */
.nw { display: inline-block; }
br.sp { display: none; }
@media (max-width: 560px) { br.sp { display: inline; } }
