
/* 理念ページ：決め台詞の意味を、3つの考え方として縦に読ませる */
:root {
  --bg: #ffffff; --ink: #111111; --ink-sub: #5a5a5a; --ink-faint: #9a9a9a; --line: #e6e6e6;
  --red: #e60012; --red-dark: #c4000f;
  --font: "Zen Kaku Gothic New", "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
  --latin: "Inter Tight", "Helvetica Neue", Arial, sans-serif;
  --w: 1120px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px); }
body { background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 16px; line-height: 2; letter-spacing: .02em; margin: 0; padding-inline: 24px; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; }
a { color: inherit; }
a:hover { text-decoration-color: var(--red); }
a:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
.wrap { max-width: var(--w); margin-inline: auto; }
.note-draft { max-width: var(--w); margin: 10px auto 0; font-size: 12px; color: var(--ink-faint); }

header.site { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-block: 26px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.brand img { height: 30px; width: auto; display: block; }
.brand small { font-size: 12px; color: var(--ink-sub); border-left: 1px solid var(--line); padding-left: 14px; }
nav.main { display: flex; gap: 30px; flex-wrap: wrap; align-items: center; font-size: 14px; }
nav.main a { text-decoration: none; }
nav.main a:hover { text-decoration: underline; text-underline-offset: 5px; }
nav.main a[aria-current="page"] { text-decoration: underline; text-underline-offset: 5px; text-decoration-color: var(--red); }
nav.main .cta { background: var(--red); color: #fff; padding: 7px 18px; border-radius: 999px; font-weight: 700; }
nav.main .cta:hover { background: var(--red-dark); text-decoration: none; }

.crumb { font-size: 13px; color: var(--ink-sub); margin: 24px 0 0; }
.crumb a { text-decoration: none; }

.top { padding-block: 72px 96px; }
.label { font-family: var(--latin); font-weight: 600; font-size: 13px; letter-spacing: .08em; margin: 0 0 18px; }
.top h1 { font-weight: 900; font-size: clamp(48px, 8.6vw, 116px); line-height: 1.2; margin: 0; }
.top h1 .ph { display: inline-block; }
.top h1 .dot { color: var(--red); }
.top .intro { margin: 40px 0 0; max-width: 34em; font-size: 18px; }

.belief { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 72px; padding-block: 56px; border-top: 1px solid var(--ink); }
.belief:last-of-type { border-bottom: 1px solid var(--line); }
.belief .num { font-family: var(--latin); font-weight: 600; color: var(--red); font-size: 14px; margin: 0 0 10px; font-variant-numeric: tabular-nums; }
.belief h2 { font-weight: 900; font-size: clamp(26px, 3.2vw, 38px); line-height: 1.55; margin: 0; }
.belief h2 .ph { display: inline-block; }
.belief p { margin: 0 0 1.2em; max-width: 34em; }
.belief p:last-child { margin-bottom: 0; }

.name { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 72px; padding-block: 120px 0; }
.name h2, .msg h2 { font-weight: 900; font-size: clamp(24px, 3vw, 32px); margin: 0; line-height: 1.5; }
.name .word { font-family: var(--latin); font-weight: 600; font-size: clamp(30px, 4vw, 48px); margin: 0 0 16px; letter-spacing: -.01em; }
.name .word span { color: var(--red); }
.name p { margin: 0 0 1em; max-width: 34em; }

.msg { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 72px; padding-block: 120px 0; }
.msg p { margin: 0 0 1.2em; max-width: 34em; }
.msg .sign { margin-top: 32px; font-weight: 700; }
.msg .sign small { display: block; font-weight: 400; color: var(--ink-sub); font-size: 13px; }

.contact { margin: 140px -24px 0; background: var(--ink); color: #fff; padding: 88px 24px; }
.contact-in { max-width: var(--w); margin-inline: auto; display: flex; justify-content: space-between; align-items: end; gap: 32px; flex-wrap: wrap; }
.contact h2 { margin: 0; font-weight: 900; font-size: clamp(28px, 4vw, 48px); line-height: 1.4; }
.contact h2 .ph { display: inline-block; }
.contact a.btn { display: inline-block; background: var(--red); color: #fff; text-decoration: none; font-weight: 700; padding: 16px 34px; border-radius: 999px; }
.contact a.btn:hover { background: var(--red-dark); }


/* 社名はロゴの字で。日本語は文節で折り返す */
.wm { height: .9em; width: auto; display: inline-block; vertical-align: -0.06em; margin: 0 .12em; }
body, p, li, td, th, h1, h2, h3, dd, address { word-break: auto-phrase; line-break: strict; text-wrap: pretty; }
.word-img { height: clamp(40px, 5vw, 60px); width: auto; display: block; }
.f-co { display: grid; gap: 4px; }
.f-name { margin: 0; display: flex; align-items: center; gap: 6px; color: var(--ink); font-size: 13px; }
.f-name img { height: 22px; width: auto; }
.f-copy { margin: 0; width: 100%; font-size: 12px; }
footer.site nav { display: flex; gap: 22px; flex-wrap: wrap; }
footer.site { padding-block: 40px 56px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--ink-sub); }
footer.site img { height: 22px; width: auto; }
footer.site a { text-decoration: none; }

@media (max-width: 860px) {
  .belief, .name, .msg { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .top { padding-block: 48px 64px; }
  .name, .msg { padding-block: 88px 0; }
  nav.main { gap: 18px; }
}

/* ===== 使いやすさ（全ページ共通） ===== */
html { scroll-padding-top: 96px; }
header.site { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; }
header.site::before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 100vw; transform: translateX(-50%); background: #fff; z-index: -1; border-bottom: 1px solid transparent; }
header.site.scrolled::before { border-bottom-color: var(--line); }
.h-right { display: flex; align-items: center; gap: 26px; }
header.site .cta { background: var(--red); color: #fff; padding: 7px 18px; border-radius: 999px; font-weight: 700; font-size: 14px; text-decoration: none; white-space: nowrap; }
header.site .cta:hover { background: var(--red-dark); }
nav.main a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 2px; text-underline-offset: 6px; }
.menu-btn { display: none; font: inherit; font-size: 14px; font-weight: 700; background: none; border: 1px solid var(--ink); border-radius: 999px; padding: 6px 16px; cursor: pointer; color: var(--ink); }
.menu-btn:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
a.card-link { display: block; text-decoration: none; color: inherit; }
a.card-link:hover h3 { text-decoration: underline; text-decoration-color: var(--red); text-underline-offset: 5px; }
a.card-link:hover .fig { background: #efefef; }
.price-cta { margin-top: 28px; }
.price-cta a { display: inline-block; background: var(--red); color: #fff; text-decoration: none; font-weight: 700; padding: 13px 28px; border-radius: 999px; }
.price-cta a:hover { background: var(--red-dark); }
.ext::after { content: "↗"; font-size: .85em; margin-left: 3px; }
@media (max-width: 860px) {
  header.site { flex-wrap: nowrap; padding-block: 14px; }
  .brand small { display: none; }
  .menu-btn { display: inline-block; }
  .h-right { gap: 10px; }
  nav.main { display: none; position: absolute; left: -24px; right: -24px; top: 100%; background: #fff; flex-direction: column; align-items: stretch; gap: 0; padding: 4px 24px 16px; border-bottom: 1px solid var(--line); }
  nav.main.open { display: flex; }
  nav.main a { padding-block: 14px; border-bottom: 1px solid var(--line); font-size: 16px; }
  nav.main a[aria-current="page"] { text-decoration: none; color: var(--red); font-weight: 700; }
}
@media (max-width: 420px) {
  header.site .brand img { height: 24px; }
  header.site .cta { padding: 6px 12px; font-size: 13px; }
  .menu-btn { padding: 6px 12px; font-size: 13px; }
  .h-right { gap: 8px; }
}
@media (max-width: 600px) { .ph { display: inline !important; } }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
