/* デザインの決め：Addnessゴール「6 見本からデザインの決めを書き出し…」の表に沿う */
:root {
  /* 色：Addnessのサイト（hp.addness.com）の色合いに寄せた（2026-10-24 本人） */
  --bg: #FFFFFF;
  --surface: #F4F7FF;
  --ink: #1D2330;
  --ink-sub: #4B5565;
  --deep: #0B2984;
  --deep-2: #06195E;
  --main: #1764E8;
  --accent: #7DD3FC;
  --accent-2: #A5B4FC;
  --line: #17233B;
  --rule: #DCE4F5;
  --font-ja: "Zen Kaku Gothic New", sans-serif;
  --font-en: "Outfit", sans-serif;
  --section-y: 72px;
}
@media (min-width: 768px) {
  :root { --section-y: 120px; }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-ja);
  font-size: 15px;
  line-height: 1.9;
  font-weight: 400;
  overflow-x: hidden;
}
@media (min-width: 768px) { body { font-size: 17px; } }
a { color: inherit; }
img { max-width: 100%; display: block; }
h1, h2, h3, p, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }

.container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }
@media (min-width: 768px) { .container { padding: 0 48px; } }

/* ヘッダー */
.header { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.94); backdrop-filter: blur(6px); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
@media (min-width: 768px) { .header__inner { height: 84px; } }
.logo { font-family: var(--font-en); font-weight: 700; font-size: 24px; letter-spacing: .06em; text-decoration: none; display: flex; align-items: center; gap: 10px; }
.logo__mark { width: 14px; height: 14px; border-radius: 50%; background: var(--main); box-shadow: 9px 0 0 var(--accent); margin-right: 9px; }
.nav { display: none; }
@media (min-width: 900px) {
  .nav { display: flex; gap: 32px; align-items: center; }
  .nav a { text-decoration: none; font-weight: 700; font-size: 16px; letter-spacing: .04em; }
  .nav a:hover, .nav a[aria-current="page"] { color: var(--main); }
}
.menu-btn { width: 48px; height: 48px; border: 3px solid var(--line); border-radius: 999px; background: #fff; display: grid; place-items: center; cursor: pointer; padding: 0; }
.menu-btn span { display: block; width: 18px; height: 2px; background: var(--ink); box-shadow: 0 -6px 0 var(--ink), 0 6px 0 var(--ink); }
@media (min-width: 900px) { .menu-btn { display: none; } }
.drawer { display: none; border-top: 2px solid var(--line); background: #fff; }
.drawer.is-open { display: block; }
.drawer a { display: block; padding: 16px 20px; font-weight: 700; text-decoration: none; border-bottom: 1px solid var(--rule); }
@media (min-width: 900px) { .drawer { display: none !important; } }

/* ボタン：太い線の丸ボタン。DMボタンだけ主色の地 */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 60px; padding: 0 32px;
  border: 3px solid var(--line); border-radius: 999px;
  background: #fff; color: var(--ink);
  font-weight: 700; font-size: 16px; letter-spacing: .06em; text-decoration: none;
  transition: transform .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--dm { background: var(--main); color: #fff; }
.btn__arrow { font-family: var(--font-en); }
@media (min-width: 768px) { .btn { min-height: 80px; padding: 0 48px; border-width: 4px; font-size: 18px; } }

/* 英字の小見出し */
.label { display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-en); font-weight: 700; font-size: 15px; letter-spacing: .12em; color: var(--main); }
.label::before { content: ""; width: 24px; height: 4px; border-radius: 2px; background: var(--accent); }
.h2 { font-weight: 900; font-size: 25px; line-height: 1.6; letter-spacing: .08em; margin-top: 12px; }
@media (min-width: 768px) { .h2 { font-size: 38px; letter-spacing: .12em; } }
.lead { font-size: 16px; line-height: 2; margin-top: 24px; max-width: 760px; }
@media (min-width: 768px) { .lead { font-size: 20px; } }
.sub { color: var(--ink-sub); }

.section { padding: var(--section-y) 0; }
.section--surface { background: var(--surface); }

/* 冒頭 */
.hero { padding: 40px 0 var(--section-y); }
.hero__grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .hero { padding-top: 80px; } .hero__grid { grid-template-columns: 1.6fr 1fr; gap: 48px; } }
.hero__title { font-weight: 900; font-size: clamp(22px, 6.6vw, 26px); line-height: 1.6; letter-spacing: .02em; margin-top: 16px; white-space: pre-line; word-break: keep-all; overflow-wrap: anywhere; }
@media (min-width: 768px) { .hero__title { font-size: 46px; letter-spacing: .05em; } }
/* 見出しを語の途中で折らない（対応ブラウザだけ効く） */
h1, h2, h3, .lead { word-break: auto-phrase; }
.hero__cta { margin-top: 32px; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.hero__note { font-size: 14px; color: var(--ink-sub); }

/* 図形：丸・半円・角丸の四角を重ねる */
.shapes { position: relative; width: 100%; max-width: 420px; aspect-ratio: 1 / 1; margin: 0 auto; }
.shapes span { position: absolute; display: block; }
.shapes__circle { width: 62%; height: 62%; left: 0; top: 8%; border-radius: 50%; background: var(--main); }
.shapes__half { width: 52%; height: 26%; right: 4%; top: 0; border-radius: 999px 999px 0 0; background: var(--accent); }
.shapes__square { width: 50%; height: 50%; right: 0; bottom: 0; border-radius: 32px; background: var(--surface); border: 4px solid var(--line); }
.shapes__dot { width: 14%; height: 14%; left: 30%; bottom: 6%; border-radius: 50%; background: var(--accent-2); }
.shapes__bubble { left: 10%; top: 26%; width: 42%; color: #fff; font-weight: 900; font-size: clamp(15px, 2.4vw, 22px); line-height: 1.5; letter-spacing: .08em; text-align: center; }
.shapes--small { max-width: 280px; }

/* こんな方へ */
.for-list { display: grid; gap: 12px; margin-top: 32px; }
@media (min-width: 768px) { .for-list { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.for-list li { background: #fff; border: 3px solid var(--line); border-radius: 24px; padding: 20px 24px; font-weight: 700; line-height: 1.7; }

/* 濃い帯：大切にしていること */
.deep { background: linear-gradient(160deg, var(--deep), var(--deep-2)); color: #fff; }
.deep .label { color: #fff; }
.values { display: grid; gap: 40px; margin-top: 48px; }
@media (min-width: 900px) { .values { grid-template-columns: repeat(3, 1fr); gap: 40px; } }
.values__num { font-family: var(--font-en); font-weight: 700; font-size: 22px; letter-spacing: .04em; color: var(--accent); }
@media (min-width: 768px) { .values__num { font-size: 30px; } }
.values__title { font-weight: 900; font-size: 21px; letter-spacing: .08em; margin-top: 8px; line-height: 1.6; }
@media (min-width: 768px) { .values__title { font-size: 26px; } }
.values__body { margin-top: 12px; color: #DCE6FF; }

/* 箱（サービス・入口） */
.cards { display: grid; gap: 16px; margin-top: 40px; }
@media (min-width: 768px) { .cards { grid-template-columns: repeat(2, 1fr); gap: 24px; } }
.card { display: block; background: #fff; border: 4px solid var(--line); border-radius: 24px; padding: 28px 24px; text-decoration: none; transition: transform .15s ease; }
@media (min-width: 768px) { .card { padding: 36px 40px; } }
a.card:hover { transform: translateY(-3px); }
.card__num { font-family: var(--font-en); font-weight: 700; font-size: 20px; color: var(--main); letter-spacing: .04em; }
.card__title { font-weight: 900; font-size: 19px; line-height: 1.6; letter-spacing: .06em; margin-top: 6px; }
@media (min-width: 768px) { .card__title { font-size: 22px; } }
.card__body { margin-top: 10px; color: var(--ink-sub); }
.more { margin-top: 40px; }

/* わたしについて（トップの短い版） */
.about-short { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .about-short { grid-template-columns: 1fr 1.4fr; gap: 64px; } }

/* 流れ */
.flow { display: grid; gap: 16px; margin-top: 40px; counter-reset: flow; }
@media (min-width: 900px) { .flow { grid-template-columns: repeat(4, 1fr); } }
.flow li { background: #fff; border: 3px solid var(--line); border-radius: 24px; padding: 24px; }
.flow__step { font-family: var(--font-en); font-weight: 700; font-size: 14px; letter-spacing: .12em; color: var(--main); }
.flow__title { font-weight: 900; font-size: 18px; margin-top: 4px; }
.flow__body { margin-top: 8px; color: var(--ink-sub); font-size: 15px; }

/* 費用 */
.price { margin-top: 40px; border: 4px solid var(--line); border-radius: 24px; overflow: hidden; background: #fff; }
.price__row { display: grid; gap: 4px; padding: 20px 24px; border-top: 2px solid var(--rule); }
.price__row:first-child { border-top: 0; }
@media (min-width: 768px) { .price__row { grid-template-columns: 1.2fr .8fr 1.4fr; align-items: center; gap: 24px; padding: 24px 40px; } }
.price__name { font-weight: 700; }
.price__value { font-family: var(--font-en), var(--font-ja); font-weight: 700; font-size: 24px; color: var(--main); }
.price__note { color: var(--ink-sub); font-size: 15px; }
.note { margin-top: 16px; font-size: 14px; color: var(--ink-sub); }

/* 立場の表記 */
.disclosure { margin-top: 40px; border: 3px solid var(--line); border-radius: 24px; padding: 24px; background: var(--surface); }
.disclosure__title { font-weight: 900; }
.disclosure p { margin-top: 8px; font-size: 15px; }

/* わたしについて（下層） */
.profile { display: grid; gap: 40px; margin-top: 48px; }
@media (min-width: 900px) { .profile { grid-template-columns: 1fr 1.5fr; gap: 64px; align-items: start; } }
.profile__name { font-family: var(--font-en); font-weight: 700; font-size: 40px; letter-spacing: .06em; line-height: 1.2; }
.profile__role { color: var(--main); font-weight: 700; margin-top: 8px; }
.profile__intro { font-weight: 900; font-size: 20px; line-height: 1.7; letter-spacing: .06em; }
@media (min-width: 768px) { .profile__intro { font-size: 24px; } }
.profile__body p { margin-top: 20px; }
.card__link { display: inline-block; margin-top: 12px; color: var(--main); font-weight: 700; }

/* よくある質問 */
.faq { margin-top: 40px; display: grid; gap: 16px; }
.faq details { background: #fff; border: 3px solid var(--line); border-radius: 24px; padding: 0 24px; }
.faq summary { cursor: pointer; list-style: none; padding: 20px 32px 20px 0; position: relative; font-weight: 700; line-height: 1.7; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "Q"; font-family: var(--font-en); color: var(--main); margin-right: 12px; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 18px; font-family: var(--font-en); font-size: 24px; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq__a { padding: 0 0 24px; color: var(--ink-sub); }
.faq__a a { color: var(--main); font-weight: 700; }

/* 下層の冒頭 */
.page-head { padding: 48px 0 0; }
@media (min-width: 768px) { .page-head { padding-top: 88px; } }
.page-head__title { font-weight: 900; font-size: 29px; line-height: 1.6; letter-spacing: .08em; margin-top: 12px; }
@media (min-width: 768px) { .page-head__title { font-size: 46px; letter-spacing: .12em; } }

/* 特定商取引法に基づく表記 */
.tokusho { border: 3px solid var(--line); border-radius: 24px; overflow: hidden; background: #fff; }
.tokusho dt { font-weight: 700; padding: 16px 24px 4px; border-top: 2px solid var(--rule); }
.tokusho dt:first-child { border-top: 0; }
.tokusho dd { padding: 0 24px 16px; color: var(--ink-sub); }
@media (min-width: 768px) {
  .tokusho { display: grid; grid-template-columns: 240px 1fr; }
  .tokusho dt, .tokusho dd { padding: 20px 32px; border-top: 2px solid var(--rule); }
  .tokusho dt:first-child, .tokusho dt:first-child + dd { border-top: 0; }
}
.todo { color: #B42318; font-weight: 700; }

/* 相談の入口 */
.cta { text-align: center; }
.cta .lead { margin-left: auto; margin-right: auto; }
.cta__btn { margin-top: 32px; }
.cta__note { margin-top: 12px; font-size: 14px; color: var(--ink-sub); }

/* フッター */
.footer { border-top: 4px solid var(--line); padding: 48px 0 32px; }
.footer__nav { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 16px; }
.footer__nav a { text-decoration: none; font-weight: 700; font-size: 15px; }
.footer__disclosure { margin-top: 24px; font-size: 14px; color: var(--ink-sub); max-width: 760px; }
.footer__copy { margin-top: 24px; font-family: var(--font-en); font-size: 14px; color: var(--ink-sub); }

/* スマホで画面の下に付いてくる相談ボタン */
.float-dm { position: fixed; right: 16px; bottom: 16px; z-index: 20; min-height: 56px; padding: 0 22px; font-size: 15px; box-shadow: 0 6px 20px rgba(0,0,0,.18); }
@media (min-width: 900px) { .float-dm { right: 32px; bottom: 32px; } }

/* 動き：段が下から上がりながら出る（1回だけ） */
.fade { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.fade.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .fade { opacity: 1; transform: none; transition: none; } }
