/* ペーパークラフト合同会社 — コーポレートサイト
   配色・角丸はゲームアプリのデザインに合わせている */
:root {
  --ink: #2B2440;
  --ink-soft: #6B6480;
  --surface: #FFFFFF;
  --bg: #FFF8F1;
  --bg-tint: #FFEED9;
  --primary: #FF5C7A;
  --primary-dark: #E03A5C;
  --accent: #FFD23F;
  --teal: #4ECDC4;
  --line: #F0E4D8;
  --r-card: 24px;
  --r-pill: 999px;
  --shadow: 0 12px 28px rgba(43, 36, 64, .10);
  --font: "BIZ UDPGothic", "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --ink: #F6EFFA; --ink-soft: #B9B0CC; --surface: #2A2440; --bg: #1E1B2E;
    --bg-tint: #26213A; --line: #3A3354; --shadow: 0 12px 28px rgba(0, 0, 0, .35);
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font); font-size: 16px; line-height: 1.9;
  -webkit-text-size-adjust: 100%;
}
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 20px; }
a { color: var(--primary-dark); }
@media (prefers-color-scheme: dark) { a { color: #FF8FA5; } }
img, svg { max-width: 100%; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 10; }
.skip:focus { left: 8px; top: 8px; }
.muted { color: var(--ink-soft); }

/* header */
.site-header { background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 5; }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; color: var(--ink); text-decoration: none; padding: 8px 0; }
.mark { width: 26px; height: 26px; border-radius: 8px; background: linear-gradient(135deg, var(--primary), var(--accent)); display: inline-block; transform: rotate(-8deg); }
nav { display: flex; gap: 4px; flex-wrap: wrap; }
nav a { color: var(--ink); text-decoration: none; font-weight: 700; font-size: 15px; padding: 8px 12px; border-radius: var(--r-pill); }
nav a:hover { background: var(--bg-tint); }
nav a[aria-current="page"] { background: var(--primary); color: #fff; }

/* hero */
.hero { background: linear-gradient(180deg, #FFEED9 0%, #FFD9E8 100%); padding: 72px 0 80px; }
@media (prefers-color-scheme: dark) { .hero { background: linear-gradient(180deg, #2A2440 0%, #3A2646 100%); } }
.hero h1 { font-size: clamp(30px, 6vw, 52px); line-height: 1.35; margin: 0 0 20px; font-weight: 700; }
.hero h1 em { font-style: normal; color: var(--primary-dark); }
@media (prefers-color-scheme: dark) { .hero h1 em { color: #FF8FA5; } }
.hero p { max-width: 640px; font-size: 17px; margin: 0 0 28px; }
.page-head { background: var(--bg-tint); padding: 44px 0 36px; }
.page-head h1 { margin: 0; font-size: clamp(26px, 4.5vw, 36px); font-weight: 700; }
.page-head p { margin: 8px 0 0; color: var(--ink-soft); }

/* buttons */
.btn { display: inline-block; background: var(--primary); color: #fff !important; text-decoration: none; font-weight: 700; padding: 13px 28px; border-radius: var(--r-pill); box-shadow: 0 8px 18px rgba(255, 92, 122, .35); }
.btn:hover { background: var(--primary-dark); }
.btn.ghost { background: transparent; color: var(--ink) !important; box-shadow: none; border: 2px solid var(--ink); margin-left: 8px; }

/* sections */
section { padding: 56px 0; }
section + section { border-top: 1px solid var(--line); }
h2 { font-size: 26px; font-weight: 700; margin: 0 0 8px; line-height: 1.4; }
h2 + .lead { color: var(--ink-soft); margin: 0 0 28px; }
h3 { font-size: 19px; margin: 28px 0 8px; font-weight: 700; }
.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.card { background: var(--surface); border-radius: var(--r-card); box-shadow: var(--shadow); padding: 28px; border: 1px solid var(--line); }
.card h3 { margin-top: 0; }
.card p { margin: 0; }
.icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; font-size: 24px; margin-bottom: 14px; background: var(--bg-tint); }

/* tables */
table.info { width: 100%; border-collapse: collapse; background: var(--surface); border-radius: var(--r-card); overflow: hidden; box-shadow: var(--shadow); }
table.info th, table.info td { text-align: left; padding: 18px 22px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.info tr:last-child th, table.info tr:last-child td { border-bottom: 0; }
table.info th { width: 180px; background: var(--bg-tint); white-space: nowrap; }
@media (max-width: 600px) {
  table.info th, table.info td { display: block; width: 100%; padding: 10px 18px; }
  table.info th { border-bottom: 0; padding-bottom: 2px; }
  table.info td { padding-top: 2px; }
}

/* steps */
ol.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; counter-reset: s; }
ol.steps li { counter-increment: s; background: var(--surface); border-radius: 18px; padding: 18px 20px 18px 64px; position: relative; border: 1px solid var(--line); }
ol.steps li::before { content: counter(s); position: absolute; left: 18px; top: 16px; width: 32px; height: 32px; border-radius: 50%; background: var(--primary); color: #fff; font-weight: 700; display: grid; place-items: center; }
ol.steps b { display: block; }

/* product showcase */
.showcase { display: grid; gap: 36px; grid-template-columns: 1.1fr .9fr; align-items: center; }
@media (max-width: 760px) { .showcase { grid-template-columns: 1fr; } }
.badge { display: inline-block; background: var(--accent); color: #2B2440; font-weight: 700; font-size: 13px; padding: 2px 12px; border-radius: var(--r-pill); }
.phone { width: 260px; max-width: 100%; margin: 0 auto; background: linear-gradient(180deg, #FFEED9, #FFD9E8); border: 8px solid #2B2440; border-radius: 36px; padding: 22px 16px 26px; box-shadow: var(--shadow); text-align: center; color: #2B2440; }
.phone .who { font-size: 12px; font-weight: 700; background: #fff; display: inline-block; padding: 2px 12px; border-radius: 999px; }
.phone .who i { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: #4D99E6; margin-right: 5px; }
.phone .odai { background: #fff; border-radius: 18px; padding: 14px 10px; margin: 14px 0; box-shadow: 0 6px 14px rgba(43, 36, 64, .12); }
.phone .odai small { display: block; color: #6B6480; font-size: 11px; font-weight: 700; }
.phone .odai b { font-size: 17px; }
.phone .start { font-size: 12px; color: #6B6480; font-weight: 700; }
.phone .kana { font-size: 54px; font-weight: 700; line-height: 1.1; color: #FF5C7A; }
.phone .bar2 { height: 10px; border-radius: 99px; background: #fff; margin: 14px 4px; overflow: hidden; }
.phone .bar2 span { display: block; height: 100%; width: 62%; background: #36C76A; border-radius: 99px; }
.phone .fake-input { background: #fff; border-radius: 14px; padding: 10px; font-size: 13px; color: #6B6480; font-weight: 700; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 16px 0 0; list-style: none; }
.tags li { background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 2px 14px; font-size: 14px; font-weight: 700; }
.notice { background: var(--bg-tint); border-radius: 16px; padding: 14px 18px; font-size: 15px; }

/* legal prose */
.prose { max-width: 760px; }
.prose h2 { font-size: 21px; margin-top: 40px; padding-bottom: 6px; border-bottom: 2px solid var(--line); }
.prose h3 { font-size: 17px; }
.prose table { border-collapse: collapse; width: 100%; margin: 12px 0; }
.prose th, .prose td { border: 1px solid var(--line); padding: 8px 12px; text-align: left; }
.prose th { background: var(--bg-tint); }
.prose section { padding: 0; border: 0; }

/* footer */
.site-footer { background: #2B2440; color: #EDE7F6; padding: 44px 0 28px; margin-top: 40px; }
.site-footer a { color: #EDE7F6; }
.site-footer .muted { color: #B9B0CC; margin: 4px 0 0; font-size: 14px; }
.foot-grid { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.foot-brand { font-weight: 700; font-size: 18px; margin: 0; }
.foot-links { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, auto); gap: 6px 32px; font-size: 14px; }
.copy { margin: 28px 0 0; font-size: 13px; color: #B9B0CC; border-top: 1px solid #453D63; padding-top: 18px; }
