/* ARKS合同会社 corporate site */
:root {
  --ink: #1c2229;
  --indigo: #16324f;
  --indigo-deep: #0e2338;
  --paper: #f7f7f4;
  --line: #d8d9d4;
  --gold: #a9863f;
  --muted: #5c6570;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

body {
  font-family: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.9;
  font-size: 15.5px;
  letter-spacing: 0.02em;
}
.serif { font-family: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif; }

/* Header */
header {
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.header-inner {
  max-width: 960px; margin: 0 auto; padding: 22px 24px;
  display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 10px;
}
.brand { font-family: "Shippori Mincho", serif; font-size: 21px; font-weight: 600; color: var(--indigo); text-decoration: none; letter-spacing: 0.08em; }
.brand small { font-size: 11px; color: var(--muted); letter-spacing: 0.22em; display: block; font-family: "Zen Kaku Gothic New", sans-serif; font-weight: 400; margin-top: 2px; }
nav { display: flex; gap: 26px; }
nav a { color: var(--ink); text-decoration: none; font-size: 13.5px; padding-bottom: 3px; border-bottom: 2px solid transparent; }
nav a:hover, nav a:focus-visible { border-bottom-color: var(--gold); }
nav a[aria-current="page"] { border-bottom-color: var(--indigo); font-weight: 600; }
a:focus-visible { outline: 2px solid var(--indigo); outline-offset: 3px; }

/* Hero (index) */
.hero {
  background: linear-gradient(160deg, var(--indigo) 0%, var(--indigo-deep) 100%);
  color: #eef1f4;
  position: relative;
  overflow: hidden;
}
.hero-inner {
  max-width: 960px; margin: 0 auto; padding: 88px 24px 96px;
  position: relative;
}
.hero h1 {
  font-family: "Shippori Mincho", serif;
  font-size: clamp(26px, 4.6vw, 40px);
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1.7;
  max-width: 21em;
}
.hero p { margin-top: 22px; font-size: 14.5px; color: #b9c4ce; max-width: 34em; }
.tategaki {
  position: absolute; right: 34px; top: 50%; transform: translateY(-50%);
  writing-mode: vertical-rl;
  text-orientation: upright;
  line-height: 1;
  font-family: "Shippori Mincho", serif;
  font-size: 15px; letter-spacing: 0.42em; color: rgba(238, 241, 244, 0.5);
  border-right: 1px solid rgba(169, 134, 63, 0.55);
  padding-right: 14px;
}
@media (max-width: 720px) { .tategaki { display: none; } .hero-inner { padding: 60px 24px 64px; } }

/* Main layout */
main { max-width: 960px; margin: 0 auto; padding: 56px 24px 80px; }
.page-title {
  font-family: "Shippori Mincho", serif;
  font-size: clamp(23px, 3.4vw, 30px); font-weight: 600; color: var(--indigo);
  letter-spacing: 0.08em; margin-bottom: 8px;
}
.page-lede { color: var(--muted); font-size: 13.5px; margin-bottom: 44px; }
section { margin-bottom: 56px; }
h2.sec {
  font-family: "Shippori Mincho", serif;
  font-size: 19px; font-weight: 600; color: var(--indigo);
  letter-spacing: 0.1em;
  border-left: 3px solid var(--gold); padding-left: 14px;
  margin-bottom: 22px;
}
p + p { margin-top: 14px; }

/* Definition table (会社概要) */
table.def { width: 100%; border-collapse: collapse; }
table.def th, table.def td { text-align: left; padding: 14px 10px; border-bottom: 1px solid var(--line); vertical-align: top; font-weight: 400; }
table.def th { width: 9em; color: var(--muted); font-size: 13px; letter-spacing: 0.1em; }

/* Fee tables */
table.fee { width: 100%; border-collapse: collapse; font-size: 14px; }
table.fee th, table.fee td { border: 1px solid var(--line); padding: 12px 14px; text-align: left; vertical-align: top; }
table.fee thead th { background: var(--indigo); color: #fff; font-weight: 600; letter-spacing: 0.06em; }
table.fee tbody tr:nth-child(even) { background: #efefe9; }
.note { font-size: 12.5px; color: var(--muted); margin-top: 12px; }

/* Declaration */
.decl { background: #fff; border: 1px solid var(--line); padding: clamp(24px, 5vw, 48px); }
.decl h2 { font-family: "Shippori Mincho", serif; text-align: center; font-size: 20px; color: var(--indigo); letter-spacing: 0.14em; margin-bottom: 30px; font-weight: 600; }
.decl ol { margin: 20px 0 20px 1.4em; }
.decl li { margin-bottom: 14px; }
.decl .sign { margin-top: 34px; text-align: right; line-height: 2.1; }
.stamp {
  display: inline-block; margin-top: 26px;
  border: 1.5px solid var(--gold); color: var(--gold);
  font-family: "Shippori Mincho", serif; font-size: 12.5px; letter-spacing: 0.28em;
  padding: 6px 16px 6px 18px;
}

/* Buttons / links */
.btn {
  display: inline-block; background: var(--indigo); color: #fff; text-decoration: none;
  padding: 12px 26px; font-size: 13.5px; letter-spacing: 0.1em;
  transition: background 0.2s ease;
}
.btn:hover, .btn:focus-visible { background: var(--indigo-deep); }
a.text-link { color: var(--indigo); text-decoration: underline; text-underline-offset: 3px; }

/* Footer */
footer { border-top: 1px solid var(--line); background: #efefe9; }
.footer-inner { max-width: 960px; margin: 0 auto; padding: 30px 24px; font-size: 12.5px; color: var(--muted); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
footer a { color: var(--muted); }
