:root {
  --ink: #082b33;
  --ink-soft: #3d555c;
  --gold: #ffb726;
  --gold-text: #8a5a00;
  --paper: #f6f3ec;
  --line: #e3ddd2;
  --white: #ffffff;
  --serif: "Shippori Mincho", "Yu Mincho", "Hiragino Mincho ProN", serif;
  --sans: "Zen Kaku Gothic New", "Hiragino Sans", "Noto Sans JP", sans-serif;
  color-scheme: light;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  font-size: 16px;
  line-height: 1.75;
}

img { max-width: 100%; display: block; }

button, input, textarea, select { font: inherit; color: inherit; }

button { cursor: pointer; }

h1, h2, h3, p { margin-top: 0; }

ul { margin: 0; padding: 0; list-style: none; }

a { color: inherit; }

:focus { outline: none; }

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

#services, #about, #contact, #news { scroll-margin-top: 120px; }

.skip {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 80;
  padding: 8px 12px;
  background: var(--white);
  color: var(--ink);
}

.skip:focus { top: 8px; }

.wrap { width: min(1120px, calc(100% - 32px)); margin-inline: auto; }

.narrow { width: min(760px, calc(100% - 32px)); }

.public-top { position: sticky; top: 0; z-index: 40; }

.demo-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  min-height: 40px;
  padding: 8px 16px;
  background: var(--ink);
  color: #fff;
  font-size: 13px;
}

.demo-bar p {
  margin: 0;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: baseline;
}

.demo-bar a {
  color: var(--gold);
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.site-header {
  position: relative;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 16px;
}

.brand {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  text-decoration: none;
}

.brand-en { font-weight: 700; letter-spacing: 0.16em; font-size: 14px; }

.brand-ja { font-size: 12px; color: var(--ink-soft); }

.nav-toggle {
  display: none;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--line);
  background: var(--white);
}

.site-nav { display: flex; align-items: center; gap: 22px; }

.site-nav a { text-decoration: none; font-size: 14px; letter-spacing: 0.06em; }

.nav-contact { border: 1px solid var(--ink); padding: 8px 14px; }

.hero {
  display: flex;
  align-items: center;
  min-height: 560px;
  padding: 72px 0;
  color: rgba(255, 255, 255, 0.88);
  background:
    radial-gradient(ellipse at 88% 8%, rgba(39, 218, 255, 0.22), transparent 42%),
    radial-gradient(ellipse at 0% 100%, rgba(255, 183, 38, 0.2), transparent 38%),
    var(--ink);
}

.hero h1,
.statement h2,
.center-head h2,
.page-hero h1,
.article h1,
.band-ink h2,
.about-grid h2,
.message-block h1,
.section-head h2 {
  font-family: var(--serif);
  font-weight: 500;
}

.hero h1 {
  margin: 0 0 18px;
  color: #fff;
  font-size: clamp(36px, 5vw, 62px);
  line-height: 1.35;
  letter-spacing: 0.03em;
}

.hero-lead { max-width: 36em; margin-bottom: 28px; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }

.eyebrow {
  margin: 0 0 10px;
  color: var(--gold-text);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.hero .eyebrow,
.band-ink .eyebrow { color: var(--gold); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid transparent;
  text-decoration: none;
  letter-spacing: 0.04em;
  font-weight: 500;
}

.btn-gold { background: var(--gold); border-color: var(--gold); color: var(--ink); }

.btn-line { background: transparent; border-color: rgba(255, 255, 255, 0.75); color: #fff; }

.btn-dark { background: var(--ink); border-color: var(--ink); color: #fff; }

.band-paper { background: var(--paper); }

.band-white { background: var(--white); }

.band-ink { background: var(--ink); color: rgba(255, 255, 255, 0.88); }

.band-ink h2 {
  color: #fff;
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.45;
}

.news-band,
#services { padding: 72px 0; }

.statement { padding: 84px 0; }

.statement h2,
.center-head h2,
.section-head h2,
.about-grid h2 {
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.5;
}

.center-head { margin-bottom: 12px; text-align: center; }

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  margin-bottom: 8px;
}

.section-head h2,
.page-hero h1 { margin: 0 0 8px; }

.text-link { color: var(--ink); font-weight: 700; }

.news-feed > a,
.news-feed .faq-item {
  display: block;
  padding: 18px 4px;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  color: inherit;
  text-decoration: none;
}

.news-feed .faq-item:not(.news-item) {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 16px;
}

.news-feed .faq-item:not(.news-item) .text-title-md {
  min-width: 0;
}

.news-feed .news-item {
  display: grid;
  grid-template-columns: max-content 7.5em 3.6em minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 12px;
}

.news-feed .news-item--list {
  display: block;
  padding: 20px 4px;
}

.news-feed .news-item__meta {
  display: grid;
  grid-template-columns: max-content 7.5em 3.6em;
  align-items: center;
  column-gap: 12px;
  margin-bottom: 10px;
}

.news-date-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.5;
  white-space: nowrap;
}

.news-date {
  font-variant-numeric: tabular-nums;
  font-size: 13px;
  color: var(--ink-soft);
  white-space: nowrap;
}

.news-new {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #8a5a00;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.news-new:empty::before {
  content: "NEW";
  visibility: hidden;
}

.news-feed .news-title {
  min-width: 0;
  margin: 0;
}

.news-feed .news-item--list .news-title {
  margin-bottom: 6px;
}

.news-feed .material-symbols-outlined {
  flex: 0 0 auto;
  font-size: 22px;
  color: var(--ink-soft);
}

.news-feed h3,
.news-feed .text-title-md {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
}

.news-feed .text-body-md {
  margin: 6px 0 0;
  color: var(--ink-soft);
  font-size: 14px;
}

.news-feed > a:hover h3,
.news-feed > a:hover .text-title-md { color: var(--gold-text); }

.service {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 28px;
  align-items: center;
  padding: 28px 0;
  border-top: 1px solid var(--line);
}

.service:nth-child(even) .service-panel { order: 2; }

.service-panel {
  display: grid;
  min-height: 220px;
  place-items: center;
  font-family: var(--serif);
  font-size: 72px;
}

.tone-ink { background: var(--ink); color: rgba(255, 255, 255, 0.92); }

.tone-sand { background: #efe4cf; color: var(--ink); }

.tone-cyan { background: #d7eef2; color: var(--ink); }

.service-no {
  margin-bottom: 4px;
  color: var(--gold-text);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.service h3 { margin: 0 0 8px; font-size: 28px; font-weight: 500; }

.about-grid,
.contact-grid,
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.about-grid,
.contact-grid { padding: 72px 0; }

.footer-grid { grid-template-columns: 1.4fr 0.8fr 1.2fr; }

.facts { margin: 0; }

.facts div {
  display: grid;
  grid-template-columns: 7rem 1fr;
  gap: 8px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.facts dt { font-weight: 700; }

.facts dd { margin: 0; }

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--ink);
}

label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 14px;
  font-weight: 700;
}

input,
textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #cfc8bc;
  border-radius: 2px;
  background: var(--white);
  font-weight: 400;
}

textarea { resize: vertical; line-height: 1.75; }

.site-footer {
  padding-top: 56px;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.86);
}

.site-footer a { color: #fff; }

.footer-name { margin-bottom: 8px; font-size: 18px; }

.footer-label {
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.site-footer li { margin: 6px 0; }

.footer-copy {
  margin-top: 28px;
  padding: 16px 0 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 12px;
}

.page-hero { padding: 48px 0 8px; background: var(--white); }

.page-hero h1 { font-size: clamp(32px, 4vw, 48px); }

.page-section { padding: 8px 0 80px; }

.article-page { padding-bottom: 80px; }

.back-link { display: inline-block; margin: 28px 0 18px; }

.article { max-width: 740px; }

.article h1 {
  margin: 12px 0 20px;
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.45;
}

.article,
.prose {
  min-width: 0;
  max-width: 100%;
}

.prose { line-height: 1.9; overflow-wrap: anywhere; }

.prose p { margin: 0 0 1em; }

.message-block { padding: 48px 0 64px; }

.message-block h1 { font-size: 32px; }

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }

  .site-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 4px 16px 12px;
    background: var(--white);
    border-bottom: 1px solid var(--line);
  }

  .site-nav.is-open { display: flex; }

  .site-nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }

  .nav-contact { padding: 12px 0; border: 0; }

  .service,
  .about-grid,
  .contact-grid,
  .footer-grid { grid-template-columns: 1fr; }

  .service:nth-child(even) .service-panel { order: 0; }

  .demo-bar span { display: none; }
}
