@charset "utf-8";

/* ============================================================
   実家のコレカラ — 共通スタイル
   運営：OneTrack株式会社
   設計メモ：
   - Figma「サービスサイト（イメージ）」ボード TOP (1440) のトークンをそのまま移植。
     ビルメン（/birumen-saiyo-douga/）とは別サービスなので配色は独立させている。
   - 読み手に50〜70代を含むので、本文16px / 行間2.0前後 / コントラスト重視。
   - 濃い面（--deep）は「基本思想」の1セクションだけ。多用すると重くなる。
   - 和文はシステムフォント。ビルメンと同じ判断（webフォントは割に合わない）。
   ============================================================ */

:root {
  --bg:        #FDFBF7;
  --bg-soft:   #F6EFE4;
  --deep:      #2F2A26;
  --paper:     #FFFFFF;
  --line:      #E7DFD4;

  --ink:       #2F2A26;
  --ink-2:     #6B625A;
  --ink-3:     #9A9188;

  --accent:      #D97534;
  --accent-deep: #A85526;
  --accent-soft: #F4E7D8;
  --green:       #6E8265;

  --sans: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic Medium", "Yu Gothic",
          "Noto Sans JP", "Meiryo", system-ui, sans-serif;
  --serif: "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", "Noto Serif JP", serif;

  --shadow: 0 1px 2px rgba(47,42,38,.04), 0 12px 32px rgba(47,42,38,.06);
  --radius: 20px;
  --radius-s: 12px;
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
img, svg, video, iframe { display: block; max-width: 100%; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  font-size: 16px;
  line-height: 2;
  font-feature-settings: "palt";
}

a { color: var(--accent-deep); }
a:focus-visible, summary:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}
ul, ol { list-style: none; padding-left: 0; }

.skip { position: absolute; left: -9999px; top: 0; background: var(--ink); color: #fff; padding: 10px 18px; z-index: 100; }
.skip:focus { left: 0; }

.wrap   { width: min(1320px, calc(100% - 48px)); margin-inline: auto; }
.narrow { width: min(1000px, calc(100% - 48px)); margin-inline: auto; }

/* ---------------------------------------------------------- ヘッダー */

.site-head {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.94);
  backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid var(--line);
}
.head-inner {
  width: min(1400px, calc(100% - 40px)); margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; min-height: 74px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; }
.brand-mark { width: 40px; height: 40px; border-radius: 12px; background: var(--accent-soft); display: grid; place-items: center; flex: none; }
.brand-mark svg { width: 23px; height: 23px; }
.brand-name b { display: block; font-size: 20px; line-height: 1.3; }
.brand-name span { display: block; font-size: 10.5px; color: var(--ink-3); letter-spacing: .04em; }

.site-nav { display: flex; align-items: center; gap: 26px; }
.site-nav a { font-size: 14.5px; font-weight: 600; color: var(--ink-2); text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; }
.site-nav a:hover { color: var(--ink); border-bottom-color: var(--accent-soft); }
.nav-cta, .nav-cta:hover {
  background: var(--accent); color: #fff !important; border-radius: 999px;
  padding: 12px 26px !important; border-bottom: 0 !important;
}

/* ---------------------------------------------------------- 共通 */

section { padding-block: 100px; }
.sec-soft   { background: var(--bg-soft); }
.sec-deep   { background: var(--deep); color: #fff; }
.sec-accent { background: var(--accent); color: #fff; }

.sec-head { text-align: center; margin-bottom: 52px; }
.sec-head h2 { font-size: clamp(26px, 3.4vw, 38px); line-height: 1.68; }
.sec-head h2.quote-h { font-family: var(--serif); font-size: clamp(23px, 3vw, 34px); }
.sec-head p { margin-top: 18px; color: var(--ink-2); font-size: 16px; }
.sec-deep .sec-head p, .sec-accent .sec-head p { color: rgba(255,255,255,.82); }
.sec-foot { margin-top: 40px; text-align: center; font-size: 17px; font-weight: 700; color: var(--accent-deep); }

.eyebrow {
  display: inline-block; font-size: 13px; font-weight: 700;
  color: var(--accent-deep); background: var(--accent-soft);
  border-radius: 999px; padding: 8px 16px; line-height: 1.5;
}

.btn {
  display: inline-block; background: var(--accent); color: #fff; font-weight: 700;
  font-size: 17px; text-decoration: none; border-radius: 999px;
  padding: 21px 40px; line-height: 1.4;
  box-shadow: 0 6px 18px rgba(217,117,52,.28);
}
.btn:hover { background: var(--accent-deep); }
.btn.ghost {
  background: var(--paper); color: var(--ink); border: 1.5px solid var(--line);
  box-shadow: none; font-size: 16px; padding: 20px 32px;
}
.btn.ghost:hover { background: var(--bg-soft); }

/* ---------------------------------------------------------- ヒーロー */

.hero { padding-block: 96px; }
.hero-inner { display: grid; grid-template-columns: 1fr auto; gap: 64px; align-items: center; }
.hero h1 { margin-top: 26px; font-size: clamp(32px, 5vw, 54px); line-height: 1.65; letter-spacing: .01em; }
.hero-lead { margin-top: 26px; color: var(--ink-2); font-size: 17px; line-height: 2.1; }
.hero-lead + .hero-lead { margin-top: 22px; }
.hero-btns { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.hero-note { margin-top: 22px; font-size: 13.5px; color: var(--ink-3); line-height: 1.9; }
.hero-art { width: 520px; height: 460px; flex: none; }

/* ---------------------------------------------------------- 止まっている理由 */

.reason-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.reason {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px;
}
.tag {
  display: inline-block; font-size: 12px; font-weight: 700; line-height: 1.5;
  color: var(--accent-deep); background: var(--accent-soft);
  border-radius: 999px; padding: 5px 12px;
}
.reason p { margin-top: 16px; font-size: 19px; font-weight: 700; line-height: 1.8; }

/* ---------------------------------------------------------- 基本思想（濃い面） */

.creed-body { max-width: 820px; margin: 0 auto 56px; text-align: center; color: rgba(255,255,255,.84); font-size: 17px; }
.creed-body p + p { margin-top: 20px; }
.creed-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.creed-grid li {
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius); padding: 36px;
}
.creed-grid .num { display: block; font-size: 13px; color: var(--accent); }
.creed-grid .ttl { display: block; margin-top: 12px; font-size: 21px; line-height: 1.7; }
.creed-grid p { margin-top: 14px; color: rgba(255,255,255,.75); font-size: 15px; }

/* ---------------------------------------------------------- 3つの道 */

.path-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.path {
  background: var(--paper); border: 1px solid var(--line); border-radius: 24px;
  overflow: hidden; display: flex; flex-direction: column;
}
.path header { padding: 22px 32px; color: #fff; }
.path header span { display: block; font-size: 12px; opacity: .82; }
.path header b { display: block; font-size: 26px; line-height: 1.4; }
.p-keep header { background: var(--green); }
.p-use  header { background: var(--accent); }
.p-let  header { background: #6B625A; }
.path-body { padding: 28px 32px 32px; display: flex; flex-direction: column; gap: 20px; flex: 1; }
.path-lead { font-size: 19px; font-weight: 700; line-height: 1.85; }
.path-body ul { display: flex; flex-direction: column; gap: 12px; }
.path-body li { position: relative; padding-left: 18px; color: var(--ink-2); font-size: 14.5px; line-height: 1.9; }
.path-body li::before { content: ""; position: absolute; left: 2px; top: 12px; width: 6px; height: 6px; border-radius: 999px; background: currentColor; opacity: .5; }
.p-keep .path-body li::before { background: var(--green); opacity: 1; }
.p-use  .path-body li::before { background: var(--accent); opacity: 1; }
.p-let  .path-body li::before { background: #6B625A; opacity: 1; }
.who { margin-top: auto; background: var(--bg-soft); border-radius: var(--radius-s); padding: 16px 18px; font-size: 14px; line-height: 1.85; }
.who b { display: block; font-size: 12px; color: var(--ink-3); }

/* ---------------------------------------------------------- 進め方 */

.steps { display: flex; flex-direction: column; gap: 20px; }
.steps li {
  background: var(--paper); border-radius: var(--radius);
  padding: 32px 36px; display: flex; gap: 28px; align-items: flex-start;
}
.step-num {
  width: 56px; height: 56px; border-radius: 999px; background: var(--accent);
  color: #fff; font-size: 20px; font-weight: 700; flex: none;
  display: grid; place-items: center; line-height: 1;
}
.steps h3 { font-size: 22px; line-height: 1.6; }
.steps h3 em {
  font-style: normal; font-size: 11.5px; font-weight: 700; vertical-align: 3px;
  color: var(--accent-deep); background: var(--accent-soft);
  border-radius: 999px; padding: 4px 10px; margin-left: 10px; white-space: nowrap;
}
.steps p { margin-top: 10px; color: var(--ink-2); font-size: 15px; }

/* ---------------------------------------------------------- 守ろうと決めたこと */

.keep-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.keep-grid li {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 36px;
}
.check {
  width: 36px; height: 36px; border-radius: 999px; background: var(--green);
  color: #fff; font-size: 17px; font-weight: 700; display: grid; place-items: center; line-height: 1;
}
.keep-grid b { display: block; margin-top: 14px; font-size: 21px; line-height: 1.7; }
.keep-grid p { margin-top: 12px; color: var(--ink-2); font-size: 15px; }

/* ---------------------------------------------------------- うかがったお話 */

.voice-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.voice {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 36px 36px 32px;
}
.voice::before { content: "“"; display: block; font-family: var(--serif); font-size: 46px; line-height: .8; color: var(--accent-soft); }
.voice blockquote { margin-top: 14px; font-family: var(--serif); font-size: 20px; line-height: 1.85; }
.voice p { margin-top: 16px; color: var(--ink-2); font-size: 14px; }
.voice figcaption { margin-top: 20px; padding-top: 18px; border-top: 2px solid var(--accent); border-top-width: 0; font-size: 12.5px; color: var(--ink-3); line-height: 1.75; position: relative; }
.voice figcaption::before { content: ""; position: absolute; top: 0; left: 0; width: 28px; height: 2px; background: var(--accent); }

/* ---------------------------------------------------------- FAQ */

.faq details { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 4px 34px; }
.faq details + details { margin-top: 14px; }
.faq summary {
  list-style: none; cursor: pointer; padding: 24px 34px 24px 44px;
  font-size: 18px; font-weight: 700; line-height: 1.75; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before {
  content: "Q"; position: absolute; left: 0; top: 24px;
  width: 30px; height: 30px; border-radius: 8px; background: var(--accent);
  color: #fff; font-size: 15px; display: grid; place-items: center;
}
.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 34px;
  width: 10px; height: 10px; border-right: 2px solid var(--ink-3); border-bottom: 2px solid var(--ink-3);
  transform: rotate(45deg); transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq .answer { padding: 0 0 26px 44px; color: var(--ink-2); font-size: 15.5px; position: relative; }
.faq .answer::before {
  content: "A"; position: absolute; left: 0; top: 2px;
  width: 30px; height: 30px; border-radius: 8px; background: var(--accent-soft);
  color: var(--accent-deep); font-size: 15px; font-weight: 700; display: grid; place-items: center;
}

/* ---------------------------------------------------------- 運営者情報 */

.company-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
.rep, .profile { background: var(--paper); border-radius: var(--radius); padding: 40px; }
.rep-name { display: flex; flex-direction: column; margin-bottom: 22px; }
.rep-name span { font-size: 13px; color: var(--ink-3); }
.rep-name b { font-size: 25px; line-height: 1.4; }
.rep p:not(.rep-name) { font-family: var(--serif); color: var(--ink-2); font-size: 16px; line-height: 2.1; }
.rep p + p { margin-top: 16px; }
.rep p:nth-of-type(2) { font-size: 21px; color: var(--ink); }
.profile { padding-block: 20px; }
.profile dl { display: grid; grid-template-columns: 150px 1fr; }
.profile dt, .profile dd { padding: 18px 0; }
.profile dt { color: var(--ink-3); font-size: 14px; font-weight: 700; }
.profile dd { font-size: 15px; }
.profile dl > dt:not(:first-of-type),
.profile dl > dt:not(:first-of-type) + dd { border-top: 1px solid var(--line); }

/* ---------------------------------------------------------- CTA */

.contact { text-align: center; }
.contact h2 { font-size: clamp(28px, 4vw, 42px); line-height: 1.65; }
.contact > p { margin-top: 22px; font-size: 17px; color: rgba(255,255,255,.92); }
.contact-btns { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }
.contact .btn { background: var(--paper); color: var(--accent-deep); box-shadow: none; }
.contact .btn:hover { background: var(--bg-soft); }
.contact .btn.ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.contact .btn.ghost:hover { background: rgba(255,255,255,.12); }
.contact-note { margin-top: 26px; font-size: 13.5px; color: rgba(255,255,255,.8); }

/* ---------------------------------------------------------- フッター */

.site-foot { background: var(--deep); color: rgba(255,255,255,.72); padding-block: 72px 40px; }
.foot-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr; gap: 40px; }
.foot-col h4 { font-size: 12px; letter-spacing: .12em; color: var(--accent); text-transform: uppercase; }
.foot-col ul { margin-top: 16px; }
.foot-col li + li { margin-top: 9px; }
.foot-col a { color: rgba(255,255,255,.72); text-decoration: none; font-size: 14px; }
.foot-col a:hover { color: #fff; text-decoration: underline; }
.foot-brand { margin-top: 16px; }
.foot-brand b { color: #fff; font-size: 19px; }
.foot-brand p { margin-top: 12px; font-size: 13.5px; line-height: 1.9; }
.copyright { margin-top: 48px; font-size: 12px; color: rgba(255,255,255,.45); }

/* ---------------------------------------------------------- レスポンシブ */

@media (max-width: 1180px) {
  .site-nav { gap: 16px; }
  .site-nav a { font-size: 13px; }
  .nav-cta { padding: 11px 18px !important; }
  .hero-inner { gap: 40px; }
  .hero-art { width: 420px; height: 372px; }
}

@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-art { width: 100%; height: auto; max-width: 520px; margin-inline: auto; }
  .reason-grid, .creed-grid, .path-grid, .voice-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .site-nav a:not(.nav-cta) { display: none; }
}

@media (max-width: 720px) {
  body { font-size: 15.5px; }
  section { padding-block: 68px; }
  .wrap, .narrow { width: calc(100% - 36px); }
  .reason-grid, .creed-grid, .path-grid, .voice-grid,
  .keep-grid, .company-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; gap: 32px; }
  /* 読み手に50〜70代を含むので、指で押せる高さを確保する（既定は約28px） */
  .foot-col a { display: inline-block; padding-block: 7px; }
  .foot-col li + li { margin-top: 2px; }
  .profile dl { grid-template-columns: 1fr; }
  .profile dt { padding-bottom: 0; }
  .profile dd { padding-top: 4px; }
  .profile dl > dt:not(:first-of-type) + dd { border-top: 0; }
  .steps li { flex-direction: column; gap: 16px; padding: 28px 24px; }
  .steps h3 em { display: inline-block; margin-left: 0; margin-top: 6px; }
  .rep, .profile { padding: 28px 24px; }
  .reason, .keep-grid li, .creed-grid li, .voice { padding: 28px 24px; }
  .faq details { padding-inline: 22px; }
  .faq summary { font-size: 16.5px; padding-right: 26px; }
  .btn { width: 100%; text-align: center; }
  .hero-btns, .contact-btns { flex-direction: column; align-items: stretch; }
}

@media (max-width: 560px) {
  .brand-name span { display: none; }
  .brand-name b { font-size: 17px; }
  .nav-cta { padding: 10px 14px !important; font-size: 12.5px; }
  html { scroll-padding-top: 68px; }
  .head-inner { min-height: 62px; }
}
