@import url("https://fonts.googleapis.com/css2?family=Courier+Prime:wght@400;700&family=Zen+Kaku+Gothic+Antique:wght@400;700&family=Kaisei+Tokumin:wght@700&display=swap");

:root {
  --paper: #d6dbe0;
  --paper-2: #e3e7eb;
  --ink: #1b2026;
  --ink-2: #4a535d;
  --ink-3: #68717b;
  --cream: #e9edf1;
  --red: #b3261e;
  --mono: "Courier Prime", "Courier New", monospace;
  --price: "Kaisei Tokumin", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --max: 920px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; }
body { overflow-x: clip; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Zen Kaku Gothic Antique", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
  font-size: 16px;
  line-height: 1.95;
}

a { color: inherit; }
a:hover { text-decoration: none; }

.wrap { max-width: calc(var(--max) + 10vw); margin: 0; padding: 0 5vw; }

.site-header { background: var(--ink); color: var(--cream); }
.site-header .wrap { max-width: none; display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 26px; padding-top: 18px; padding-bottom: 16px; }
.logo { font-family: var(--mono); font-weight: 700; font-size: 20px; color: inherit; text-decoration: none; margin-right: auto; }
.logo span { color: inherit; }
.nav { display: flex; flex-wrap: wrap; gap: 4px 24px; }
.nav a { font-size: 14px; text-decoration: none; padding: 2px 0; border-bottom: 1px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--cream); }
.nav a.lang { border: 1px solid currentColor; padding: 1px 10px; font-size: 13px; }
.nav a.lang:hover { background: var(--cream); color: var(--ink); }

.top { position: relative; min-height: 92vh; background: #1b1714; color: var(--cream); display: flex; flex-direction: column; overflow: hidden; }
.top video, .top .still { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.top::after { content: ""; position: absolute; inset: 0; background: rgba(20, 15, 11, 0.5); }
.top > .site-header, .top > .label { position: relative; z-index: 1; }
.top > .site-header { background: transparent; }
.label { margin-top: auto; padding: 0 5vw 7vh; max-width: 900px; }
.label .cat { font-family: var(--mono); font-size: 14px; letter-spacing: 0.18em; margin: 0 0 14px; }
.label h1 { font-family: var(--mono); font-weight: 700; font-size: clamp(64px, 12vw, 168px); line-height: 0.95; letter-spacing: -0.03em; margin: 0; }
.label p { font-size: clamp(17px, 2.2vw, 24px); margin: 22px 0 0; }
.label .btn { margin-top: 30px; }

.btn { display: inline-block; padding: 13px 28px; font-size: 15px; font-weight: 700; text-decoration: none; border: 1px solid currentColor; border-radius: 0; background: transparent; color: inherit; cursor: pointer; font-family: inherit; line-height: 1.5; }
.btn-primary { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.btn-primary:hover { background: var(--red); border-color: var(--red); }
.top .btn:hover { background: var(--cream); color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--cream); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn[disabled] { opacity: 0.6; cursor: default; }

main { padding-bottom: 0; }
.page-head { padding: 9vw 0 0; }
.page-head h1 { font-size: clamp(30px, 5vw, 52px); line-height: 1.3; font-weight: 700; margin: 0 0 10px; letter-spacing: 0.02em; }
.page-head p { color: var(--ink-2); margin: 0; }

section { padding-top: 7vw; }
h2 { font-size: 14px; font-weight: 700; letter-spacing: 0.2em; line-height: 1.6; margin: 0 0 4px; padding: 0; border: 0; display: flex; gap: 14px; align-items: baseline; }
h2 .mono { font-family: var(--mono); color: var(--red); letter-spacing: 0; }
h3 { font-size: 16px; font-weight: 700; line-height: 1.6; margin: 0; padding: 22px 0 4px; border-top: 1px solid var(--ink); color: var(--ink); }
h3 + p { margin-top: 0; }
p { margin: 0 0 14px; }
.note { color: var(--ink-2); font-size: 14px; }
section > h2 + p, section > h2 + dl, section > h2 + ul, section > h2 + .template { margin-top: 14px; }
#h-notes + h3 { margin-top: 14px; }

.price-table { width: 100%; border-collapse: collapse; margin-top: 14px; }
.price-table th, .price-table td { padding: 16px 0; border-top: 1px solid var(--ink); vertical-align: baseline; text-align: left; font-weight: 400; }
.price-table tr:last-child th, .price-table tr:last-child td { border-bottom: 1px solid var(--ink); }
.price-table thead th { font-size: 13px; letter-spacing: 0.2em; color: var(--ink-2); padding: 8px 0; border-top: 0; }
.price-table td.no { width: 3.2em; font-family: var(--mono); color: var(--ink-3); }
.price-table td.price { text-align: right; white-space: nowrap; padding-left: 28px; padding-right: 0; font-family: var(--price); font-weight: 700; font-size: 20px; line-height: 1.3; letter-spacing: 0; }
.price-table td.price .per { display: inline-block; margin-right: 0.5em; }
.price-table td.price .amt { display: inline-block; min-width: 5.4em; text-align: left; }
html[lang="en"] .price-table td.price .amt { min-width: 6.6em; }
.price-table td.price .sfx { display: inline-block; width: 1em; margin-right: -1em; text-align: left; }
.price-table thead th.price { text-align: right; padding-right: 0; }
.price-table .plan { font-weight: 700; display: block; }
.price-table .memo { color: var(--ink-2); font-size: 14px; display: block; line-height: 1.8; margin-top: 4px; }
.tag { display: inline-block; color: var(--red); border: 1px solid var(--red); font-size: 12px; font-weight: 700; line-height: 1.5; padding: 0 6px; margin-left: 10px; vertical-align: 2px; background: transparent; border-radius: 0; }

.faq { margin: 0; }
.faq dt { font-weight: 700; font-size: 18px; line-height: 1.7; margin-top: 7vw; padding: 20px 0 0; border-top: 1px solid var(--ink); border-left: 0; }
.faq dt::before { content: "Q. "; font-family: var(--mono); color: var(--red); }
.faq dd { margin: 10px 0 0; }

.works { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; list-style: none; margin: 20px 0 0; padding: 0; }
.works.wide { grid-template-columns: repeat(2, 1fr); gap: 40px 26px; margin-top: 0; }
.works a.thumb { display: block; }
.works img, .works iframe { width: 100%; height: auto; aspect-ratio: 16 / 9; display: block; border: 0; border-radius: 0; background: #1b1714; object-fit: cover; }
.works .title { display: block; font-size: 14px; line-height: 1.7; margin-top: 10px; }
.works.wide .title { font-weight: 700; }
.works .by { display: block; font-size: 13px; color: var(--ink-2); }

.template { background: transparent; border: 0; border-radius: 0; padding: 0; }
.template ul { margin: 0; padding: 0; list-style: none; border-bottom: 1px solid var(--ink); }
.template li { border-top: 1px solid var(--ink); padding: 9px 0; }

.copy-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin: 18px 0 14px; }
.copy-row .note { margin: 0; }

.form { margin-top: 14px; }
.form .field { margin-bottom: 22px; }
.form label { display: block; font-size: 14px; font-weight: 700; margin-bottom: 6px; }
.form input, .form textarea { width: 100%; background: var(--paper-2); color: var(--ink); border: 1px solid var(--ink); border-radius: 0; padding: 12px 14px; font-size: 16px; font-family: inherit; line-height: 1.7; }
.form textarea { min-height: 220px; resize: vertical; }
.form input:focus, .form textarea:focus { outline: 2px solid var(--red); outline-offset: 2px; }
.form [aria-invalid="true"] { border-color: var(--red); border-width: 2px; }
.form .error { color: var(--red); font-size: 14px; font-weight: 700; margin: 6px 0 0; }
.form .help { color: var(--ink-2); font-size: 13px; margin: 6px 0 0; }
.form-message { border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); padding: 24px 0; font-weight: 700; }

.cta { margin: 9vw 0 0 -5vw; width: 100vw; padding: 8vw 5vw; background: var(--ink); color: var(--cream); border: 0; border-radius: 0; text-align: left; }
.cta p { color: inherit; font-size: clamp(18px, 2.4vw, 26px); line-height: 1.7; margin: 0 0 22px; max-width: var(--max); }
.cta .btn-primary { background: var(--cream); color: var(--ink); border-color: var(--cream); }
.cta .btn-primary:hover { background: var(--red); color: var(--cream); border-color: var(--red); }

.site-footer { background: var(--ink); color: var(--cream); border-top: 1px solid rgba(233, 237, 241, 0.25); padding: 26px 0 60px; font-size: 13px; }
.site-footer .wrap { max-width: none; display: flex; flex-wrap: wrap; gap: 6px 22px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer .copy { margin-left: auto; font-family: var(--mono); }

@media (max-width: 640px) {
  .works, .works.wide { grid-template-columns: 1fr; }
  .price-table thead { display: none; }
  .price-table tbody tr { display: block; border-top: 1px solid var(--ink); padding: 14px 0; }
  .price-table tbody tr:last-child { border-bottom: 1px solid var(--ink); }
  .price-table tbody th, .price-table tbody td { display: block; border: 0 !important; padding: 0; }
  .price-table td.no { display: none !important; }
  .price-table td.price { text-align: left; font-size: 18px; margin-top: 6px; white-space: normal; padding-left: 0; padding-right: 0; }
  .price-table td.price .amt, .price-table td.price .sfx { display: inline; min-width: 0; width: auto; margin: 0; }
  .nav a { padding: 9px 0; }
  .site-footer a { padding: 8px 0; }
  .logo { width: 100%; }
  .site-footer .copy { margin-left: 0; width: 100%; }
  .top { min-height: 88vh; }
}

@media (prefers-reduced-motion: reduce) {
  .top video { display: none; }
}
.page-head.band { position: relative; margin-left: -5vw; width: 100vw; min-height: 240px; height: 27vh; padding: 0 5vw 2.6vw; display: flex; flex-direction: column; justify-content: flex-end; background: #1b1714; color: var(--cream); overflow: hidden; }
.page-head.band::before { content: ""; position: absolute; inset: 0; background: var(--ph) center / cover no-repeat; filter: grayscale(1) contrast(1.05); }
.page-head.band::after { content: ""; position: absolute; inset: 0; background: rgba(22, 28, 35, 0.55); }
.page-head.band > * { position: relative; z-index: 1; }
.page-head.band h1 { font-size: clamp(30px, 4.4vw, 52px); margin-bottom: 4px; }
.page-head.band p { color: var(--cream); }
@media (max-width: 640px) { .page-head.band { min-height: 190px; height: 24vh; padding-bottom: 6vw; } }
