:root {
  --black: #000000;
  --orange: #F96300;
  --paper: #F1F0EF;
  --graphite: #5C5B57;
  --white: #FFFFFF;
  --mute: #B5B3AE;
  --line-dark: #3A3936;
  --line-light: #D9D7D3;

  --font-sans: "Inter Tight", "Noto Sans JP", sans-serif;
  --font-serif: "Instrument Serif", "Noto Sans JP", serif;

  --max: 1120px;
  --gutter: 24px;
  --section-y: 96px;
  --radius-card: 20px;
  --radius-pill: 9999px;
  --btn-h: 52px;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.8;
  color: var(--black);
  background: var(--white);
  word-break: auto-phrase;
  text-wrap: pretty;
  overflow-x: hidden;
}

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

h1, h2, h3 {
  margin: 0;
  font-weight: 700;
  line-height: 1.3;
  text-wrap: balance;
}
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }

:focus-visible { outline: 2px solid var(--black); outline-offset: 2px; }
.dark :focus-visible { outline-color: var(--white); }

.container { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }

.section { padding: var(--section-y) 0; }
.section h2 { font-size: clamp(28px, 4vw, 44px); margin-bottom: 48px; }
.section .note { font-size: 14px; font-weight: 400; color: var(--graphite); display: block; margin-top: 8px; line-height: 1.6; }
.dark .note { color: var(--mute); }

.bg-white { background: var(--white); color: var(--black); }
.bg-paper { background: var(--paper); color: var(--black); }
.dark { background: var(--black); color: var(--white); }

.sub { color: var(--graphite); }
.dark .sub { color: var(--mute); }

/* header */
.site-header { background: var(--white); border-bottom: 1px solid var(--line-light); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 8px 16px; flex-wrap: wrap; min-height: 68px; padding-top: 8px; padding-bottom: 8px; }
.brand { display: inline-flex; align-items: center; min-height: 44px; }
.brand img { height: 22px; width: auto; }
.header-right { display: flex; align-items: center; gap: 8px 16px; flex-wrap: wrap; }
.header-link { font-size: 14px; display: inline-flex; align-items: center; min-height: 44px; color: var(--black); }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: var(--btn-h); padding: 0 32px;
  border: 0; border-radius: var(--radius-pill);
  font-family: inherit; font-size: 16px; font-weight: 700; line-height: 1;
  text-decoration: none; cursor: pointer;
  background: var(--black); color: var(--white);
}
.btn-orange { background: var(--orange); color: var(--black); }
.btn-small { min-height: 44px; padding: 0 20px; font-size: 14px; }
.btn[disabled] { opacity: .6; cursor: default; }
.text-link { display: inline-flex; align-items: center; min-height: 44px; }

/* hero */
.hero { padding: 96px 0 104px; }
.hero .eyebrow { color: var(--paper); font-size: 14px; font-weight: 600; letter-spacing: .12em; margin-bottom: 24px; }
.hero h1 { font-size: clamp(26px, 7vw, 72px); color: var(--white); max-width: 14em; margin-bottom: 32px; line-height: 1.25; }
.accent { color: var(--orange); }
/* 斜めのセリフ体は欧文だけに使う（Instrument Serif には和文の字形がないため） */
.accent-latin { font-family: var(--font-serif); font-style: italic; font-weight: 400; color: var(--orange); }
.hero .lead { color: var(--mute); max-width: 40em; margin-bottom: 40px; font-size: 17px; }
.hero-actions { display: flex; align-items: center; gap: 16px 32px; flex-wrap: wrap; }

/* top (振り分け) */
.top { min-height: 100vh; display: flex; flex-direction: column; }
.top-main { flex: 1; display: flex; align-items: center; padding: 64px 0; }
.top-main .container { display: flex; flex-direction: column; align-items: center; text-align: center; }
.top-logo { width: 360px; margin-bottom: 32px; }
.top h1 { color: var(--white); font-size: clamp(24px, 4vw, 40px); margin-bottom: 56px; }
.cards-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; width: 100%; max-width: 860px; text-align: left; }
.big-card { display: block; background: var(--white); color: var(--black); border-radius: var(--radius-card); padding: 40px 32px; text-decoration: none; min-height: 44px; }
.big-card h2 { font-size: 28px; margin: 0 0 12px; }
.big-card p { color: var(--graphite); }
.big-card .go { display: inline-block; margin-top: 24px; font-weight: 700; color: var(--black); text-decoration: underline; text-underline-offset: 3px; }

/* problems */
.problems { border-top: 1px solid var(--line-light); }
.problem { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 48px; padding: 32px 0; border-bottom: 1px solid var(--line-light); }
.problem h3 { font-size: 22px; }
.problem p { color: var(--graphite); }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.step .num { font-size: 56px; font-weight: 600; line-height: 1; margin-bottom: 16px; }
.step h3 { font-size: 22px; margin-bottom: 8px; }
.step p { color: var(--graphite); }

/* feature cards */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { background: var(--paper); border-radius: var(--radius-card); padding: 32px 28px; }
.card h3 { font-size: 20px; margin-bottom: 12px; }
.card p { color: var(--graphite); font-size: 15px; }

/* ops */
.ops { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.ops li { border: 1px solid var(--line-dark); border-radius: var(--radius-card); padding: 28px; font-size: 18px; font-weight: 500; }
.ops li span { display: block; margin-top: 8px; font-size: 14px; font-weight: 400; color: var(--mute); }

/* sample */
.sample { background: var(--white); border-radius: var(--radius-card); overflow: hidden; border: 1px solid var(--line-light); }
.sample-hero { background: var(--black); padding: 72px 32px; display: flex; justify-content: center; }
.sample-hero img { width: 240px; }
.sample-body { padding: 40px 32px; display: grid; gap: 40px; }
.sample-label { font-size: 13px; font-weight: 600; letter-spacing: .1em; color: var(--graphite); margin-bottom: 12px; }
.swatches { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.swatch-chip { height: 72px; border-radius: 12px; border: 1px solid var(--line-light); }
.swatch-name { margin-top: 8px; font-size: 13px; line-height: 1.5; color: var(--black); }
.swatch-name small { display: block; font-size: 12px; color: var(--graphite); }
.fonts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.font-sample { background: var(--paper); border-radius: 12px; padding: 20px; }
.font-sample .aa { font-size: 40px; line-height: 1.2; }
.font-sample .nm { font-size: 13px; color: var(--graphite); }
.tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.tile { background: var(--paper); border-radius: 12px; padding: 20px; }
.tile-art { background: var(--white); border-radius: 8px; height: 96px; display: flex; align-items: center; justify-content: center; overflow: hidden; margin-bottom: 12px; }
.tile-art img { height: 24px; width: auto; }
.tile-art img.stretch { transform: scale(1.5, .7); }
.tile .nm { font-weight: 700; }

/* form */
.form-wrap { max-width: 640px; }
.form-wrap .lead { color: var(--graphite); margin: -24px 0 40px; }
.field { margin-bottom: 24px; }
.field label, .field .legend { display: block; font-weight: 700; margin-bottom: 8px; font-size: 15px; }
.req { font-weight: 400; color: var(--graphite); font-size: 13px; margin-left: 6px; }
.field input[type=text], .field input[type=email], .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 12px 16px;
  font-family: inherit; font-size: 16px; line-height: 1.5; color: var(--black);
  background: var(--white); border: 1px solid var(--graphite); border-radius: 12px;
}
.field textarea { min-height: 120px; resize: vertical; }
.consent { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 32px; }
.consent input { width: 24px; height: 24px; margin: 10px 0 0; flex: none; accent-color: var(--black); }
.consent label { display: block; padding: 8px 0; min-height: 44px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin-top: 16px; color: var(--black); font-weight: 500; }
.form-done { font-size: 20px; font-weight: 500; line-height: 1.8; padding: 32px; background: var(--paper); border-radius: var(--radius-card); }

/* faq */
.faq { max-width: 800px; border-top: 1px solid var(--line-light); }
.faq details { border-bottom: 1px solid var(--line-light); }
.faq summary { cursor: pointer; min-height: 44px; padding: 20px 0; font-weight: 700; font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 24px; font-weight: 400; flex: none; }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 0 24px; color: var(--graphite); }

/* footer */
.site-footer { background: var(--paper); color: var(--black); padding: 48px 0; }
.site-footer .container { display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; justify-content: space-between; }
.site-footer img { height: 22px; width: auto; }
.footer-info { display: flex; flex-wrap: wrap; gap: 4px 24px; align-items: center; font-size: 14px; }
.footer-info a { display: inline-flex; align-items: center; min-height: 44px; }
.dark.site-footer { background: var(--black); color: var(--mute); border-top: 1px solid var(--line-dark); }
.dark.site-footer a { color: var(--white); }

/* privacy */
.doc { max-width: 760px; padding: 80px 0; }
.doc h1 { font-size: clamp(32px, 5vw, 48px); margin-bottom: 24px; }
.doc h2 { font-size: 22px; margin: 40px 0 12px; }
.doc ul { list-style: disc; padding-left: 1.5em; }

/* problems (v2) */
.problems-list { border-top: 1px solid var(--line-light); }
.problems-list li { display: flex; align-items: flex-start; gap: 16px; padding: 24px 0; border-bottom: 1px solid var(--line-light); font-size: clamp(18px, 2.4vw, 24px); font-weight: 700; line-height: 1.6; }
.problems-list img { width: 16px; height: 16px; flex: none; margin-top: .6em; }

/* bridge */
.bridge { text-align: center; padding-bottom: 32px; }
.bridge-main { font-size: clamp(28px, 4.4vw, 48px); font-weight: 700; line-height: 1.4; text-wrap: balance; margin-bottom: 24px; }
.bridge-sub { max-width: 36em; margin: 0 auto; font-size: 15px; color: var(--graphite); }

/* values */
.values-section { padding-top: 48px; }
.values { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.value { background: var(--paper); border-radius: var(--radius-card); padding: 32px 28px; }
.value-num { font-size: 40px; font-weight: 600; line-height: 1; margin-bottom: 16px; }
.value h3 { font-size: 20px; margin-bottom: 12px; }
.value p:last-child { color: var(--graphite); font-size: 15px; }

/* before / after */
.ba-head, .ba-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; }
.ba-head p { font-size: 13px; font-weight: 600; letter-spacing: .1em; color: var(--graphite); padding-bottom: 12px; }
.ba-row { padding: 24px 0; border-top: 1px solid var(--line-light); }
.ba-row:last-child { border-bottom: 1px solid var(--line-light); }
.ba-before { color: var(--graphite); }
.ba-after { font-weight: 700; }
.ba-tag { display: none; font-size: 12px; font-weight: 600; letter-spacing: .1em; color: var(--graphite); margin-bottom: 4px; }
.sample-note { margin-top: 16px; font-size: 13px; color: var(--graphite); }

@media (max-width: 800px) {
  :root { --section-y: 64px; --gutter: 20px; }
  .hero { padding: 64px 0 72px; }
  .cards-2, .steps, .cards-3, .ops, .tiles, .fonts { grid-template-columns: 1fr; }
  .problem { grid-template-columns: 1fr; gap: 8px; padding: 24px 0; }
  .values { grid-template-columns: 1fr; }
  .ba-head { display: none; }
  .ba-row { grid-template-columns: 1fr; gap: 12px; }
  .ba-tag { display: block; }
  .top-logo { width: 240px; }
  .swatches { grid-template-columns: repeat(5, 1fr); gap: 6px; }
  .swatch-chip { height: 56px; }
  .swatch-name { font-size: 11px; }
  .swatch-name small { display: none; }
  .sample-hero { padding: 48px 20px; }
  .sample-body { padding: 28px 20px; }
  .big-card { padding: 32px 24px; }
}

/* 見出しの言葉の途中で改行しない（「ブランドガイドライ／ン」を防ぐ） */
.phrase { display: inline-block; }
