/* グリーシス LP。色はアプリの globals.css（brand-*）と揃えてある */
:root {
  --brand-50: #f0fdfa;
  --brand-100: #ccfbf1;
  --brand-200: #99f6e4;
  --brand-300: #5eead4;
  --brand-600: #0f766e;
  --brand-700: #115e59;
  --brand-900: #0b3b38;
  --brand-950: #042f2e;
  --amber: #f59e0b;
  --partner: #5ec4b6;
  --ink: #16302e;
  --ink-soft: #456260;
  --line: #d5e5e2;
  --mist: #eef6f4;
  --white: #ffffff;
  --display: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Noto Sans JP", sans-serif;
  --body: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--white); color: var(--ink); font-family: var(--body); line-height: 1.8; overflow-x: hidden; word-break: auto-phrase; }
h1, h2, h3, h4, p, ul, ol { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img, svg { display: block; }
a { color: var(--brand-600); }
a:hover { color: var(--brand-700); }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3 { font-family: var(--display); font-weight: 900; letter-spacing: .01em; }
h2 { font-size: clamp(28px, 4.2vw, 42px); line-height: 1.45; text-align: center; }

.wrap { width: min(100%, 1160px); margin-inline: auto; padding-inline: 24px; }
.wrap--narrow { max-width: 920px; }
.wrap--faq { max-width: 820px; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 20px; border-radius: 999px; background: var(--brand-600); color: var(--white); font-weight: 700; font-size: 14px; text-decoration: none; transition: background-color .2s, transform .2s; white-space: nowrap; }
.btn:hover { background: var(--brand-700); color: var(--white); transform: translateY(-2px); }
.btn--large { min-height: 60px; padding: 0 40px; font-size: 18px; }
.btn--white { background: var(--white); color: var(--brand-700); }
.btn--white:hover { background: var(--brand-100); color: var(--brand-900); }

/* ヘッダー */
.site-header { position: sticky; top: 0; z-index: 10; background: var(--white); border-bottom: 1px solid var(--line); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-block: 10px; }
.logo { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: var(--ink); font-family: var(--display); font-weight: 900; font-size: 20px; text-decoration: none; }
.logo:hover { color: var(--ink); }
.site-nav { display: flex; align-items: center; gap: 16px; }
.site-nav__login { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); font-size: 14px; text-decoration: none; }

/* ヒーロー：ロゴの弧をそのまま大きくして、画面を抱える */
.hero { position: relative; overflow: hidden; background: var(--brand-50); }
.hero__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 32px; min-height: 680px; }
.hero__copy { position: relative; z-index: 2; padding-block: 64px; }
.hero h1 { font-size: clamp(36px, 4.6vw, 58px); line-height: 1.35; }
.hero__lead { margin-block: 24px 36px; font-size: clamp(16px, 1.6vw, 18px); color: var(--ink-soft); }
.hero__visual { position: relative; align-self: end; height: 680px; }
.hero__arc { position: absolute; left: 50%; top: -90px; width: 760px; max-width: none; transform: translateX(-50%); }
.phone { position: absolute; left: 50%; top: 222px; text-align: left; width: 290px; height: 600px; transform: translateX(-50%); padding: 10px; border-radius: 42px; background: var(--brand-950); box-shadow: 0 24px 60px rgb(4 47 46 / .28); }
.screen { display: flex; flex-direction: column; gap: 10px; height: 100%; padding: 16px 12px; border-radius: 33px; background: var(--white); overflow: hidden; }

.tracker { padding: 12px; border-radius: 16px; background: var(--mist); }
.tracker__head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; font-size: 11px; }
.tracker__head span { color: var(--brand-700); font-weight: 700; }
.tracker__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; }
i.o, i.a, i.x, i.today { display: block; aspect-ratio: 1; border-radius: 50%; }
i.o { background: var(--brand-600); }
i.a { background: var(--partner); }
i.x { background: var(--white); border: 2px solid var(--line); }
i.today { border: 2px dashed var(--amber); }

.bubble { word-break: normal; max-width: 88%; padding: 9px 13px; border-radius: 16px; font-size: 13px; line-height: 1.65; }
.bubble b { color: var(--brand-700); }
.bubble--ai { align-self: flex-start; background: var(--mist); border-bottom-left-radius: 4px; }
.bubble--me { align-self: flex-end; background: var(--brand-600); color: var(--white); border-bottom-right-radius: 4px; }

/* コンセプト */
.concept { padding-block: 104px 88px; }
.voices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 20px; margin-block: 56px; }
.voices li { position: relative; padding: 22px 26px; border-radius: 22px; background: var(--mist); font-weight: 500; }
.voices li::after { content: ""; position: absolute; left: 30px; bottom: -10px; width: 20px; height: 20px; background: var(--mist); border-radius: 0 0 16px 0; transform: skewX(-20deg); }
.voices li:nth-child(even) { transform: translateY(14px); }
.concept__turn { margin-top: 72px; font-family: var(--display); font-weight: 900; font-size: clamp(20px, 2.6vw, 26px); line-height: 1.7; text-align: center; }

.concept__key { display: inline-block; margin-top: 16px; padding-inline: 4px; color: var(--brand-700); font-size: clamp(24px, 4vw, 40px); font-weight: 900; line-height: 1.5; background: linear-gradient(transparent 66%, rgb(245 158 11 / .45) 66%, rgb(245 158 11 / .45) 94%, transparent 94%); }
.concept__key em { font-style: normal; -webkit-text-emphasis: filled circle var(--amber); text-emphasis: filled circle var(--amber); -webkit-text-emphasis-position: over right; text-emphasis-position: over right; }

/* 無理なく続く習慣を：スクロールに合わせて2つの点が弧を進む */
.statement { position: relative; overflow: hidden; background: var(--brand-950); color: var(--white); text-align: center; }
.statement__arc { position: absolute; inset: 0; width: 100%; height: 100%; }
.statement__dot { position: absolute; left: 0; top: 0; border-radius: 50%; will-change: transform; }
.statement__dot--user { width: 26px; height: 26px; margin: -13px; background: #fbbf24; }
.statement__dot--partner { width: 16px; height: 16px; margin: -8px; background: var(--brand-200); }
.statement__body { position: relative; padding-block: 176px 112px; }
.statement__main { font-family: var(--display); font-weight: 900; font-size: clamp(32px, 5vw, 56px); line-height: 1.3; }
.statement__sub { margin-top: 24px; font-size: clamp(15px, 1.6vw, 18px); color: var(--brand-100); }

/* 3つの理由 */
.reasons { padding-block: 112px 88px; background: var(--white); }
.reason { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 72px; margin-top: 88px; }
.reason--flip .reason__text { order: 2; }
.reason h3 { margin-block: 14px 18px; font-size: clamp(24px, 2.7vw, 32px); line-height: 1.5; }
.reason__text > p:last-child { color: var(--ink-soft); }
.reason__label { display: flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 700; color: var(--brand-600); }
.reason__label span { display: flex; flex: none; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 50%; background: var(--amber); color: var(--ink); font-family: var(--display); font-size: 26px; line-height: 1; font-weight: 900; }
.stage { display: flex; flex-direction: column; justify-content: center; gap: 14px; min-height: 360px; padding: 36px; border-radius: 36px; background: var(--brand-50); }
.stage--chat .bubble { font-size: 14px; }
.stage--chat .bubble--ai { background: var(--white); }
.notice { display: flex; gap: 12px; width: 92%; padding: 14px 16px; border-radius: 20px; background: var(--white); box-shadow: 0 8px 24px rgb(4 47 46 / .08); font-size: 14px; line-height: 1.6; }
.notice img { flex: none; border-radius: 9px; }
.notice--shift { align-self: flex-end; }
.notice__meta { display: flex; justify-content: space-between; gap: 8px; font-size: 12px; }
.notice__meta time { color: var(--ink-soft); }
.report { padding: 24px; border-radius: 22px; background: var(--white); box-shadow: 0 8px 24px rgb(4 47 46 / .08); font-size: 14px; line-height: 1.7; }
.report__kicker { font-weight: 700; color: var(--brand-600); }
.report__week { display: grid; grid-template-columns: repeat(7, 22px); gap: 8px; margin-block: 12px 16px; }
.report h4 { margin-top: 12px; font-size: 13px; color: var(--brand-700); }
.mock-note { margin-top: 32px; font-size: 12px; color: var(--ink-soft); text-align: right; }

/* 3ステップ：ロゴの琥珀の点に番号を入れる */
.steps { padding-block: 104px; background: var(--mist); }
.steps__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin-top: 88px; }
.steps__list li { position: relative; padding: 60px 28px 28px; border-radius: 24px; background: var(--white); text-align: center; }
.steps__num { position: absolute; left: 50%; top: -38px; display: flex; flex-direction: column; align-items: center; justify-content: center; width: 76px; height: 76px; margin-left: -38px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 6px var(--mist); color: var(--ink); font-size: 12px; font-weight: 700; line-height: 1.1; letter-spacing: .06em; }
.steps__num b { font-family: var(--display); font-size: 26px; font-weight: 900; line-height: 1; }
.steps h3 { margin-block: 6px 10px; font-size: 21px; line-height: 1.5; }
.steps__list li > p:last-child { font-size: 15px; color: var(--ink-soft); }

/* 目的の例 */
.goals { padding-block: 104px; }
.goals__list { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-block: 44px 28px; }
.goals__list li { padding: 8px 18px; border: 1.5px solid var(--line); border-radius: 999px; font-size: 15px; font-weight: 500; transition: border-color .2s, background-color .2s; }
.goals__list li:hover { border-color: var(--brand-600); background: var(--brand-50); }
.goals__note { font-size: 14px; color: var(--ink-soft); text-align: center; }

/* よくある質問 */
.faq { padding-block: 104px; background: var(--brand-50); }
.faq__list { margin-top: 48px; }
.faq__list > div { padding-block: 24px; border-bottom: 1px solid var(--line); }
.faq__list > div:last-child { border-bottom: 0; }
.faq h3 { margin-bottom: 8px; font-size: 18px; line-height: 1.6; }
.faq__list p { font-size: 15px; color: var(--ink-soft); }

/* 最後の呼びかけ */
.closing { position: relative; overflow: hidden; background: var(--brand-600); color: var(--white); text-align: center; }
.closing__arc { position: absolute; left: 50%; top: 32px; width: 420px; max-width: none; transform: translateX(-50%); }
.closing__body { position: relative; padding-block: 216px 96px; }
.closing h2 { margin-bottom: 32px; font-size: clamp(30px, 4.6vw, 46px); }

/* フッター */
.site-footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 24px; padding-block: 16px; font-size: 13px; color: var(--ink-soft); }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 0 20px; }
.site-footer a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink-soft); }

/* 2カラムのまま幅が狭いときは、弧が説明文に重ならないよう小さくして右へ寄せる */
@media (min-width: 861px) and (max-width: 1180px) {
  .hero__arc { left: 58%; width: 600px; top: -64px; }
  .phone { left: 58%; top: 178px; width: 264px; }
}

@media (max-width: 860px) {
  .hero__inner { grid-template-columns: minmax(0, 1fr); gap: 0; min-height: 0; text-align: center; }
  .hero__copy { padding-block: 48px 8px; }
  .hero__visual { height: 540px; overflow: visible; }
  .hero__arc { width: 560px; top: -64px; }
  .phone { top: 166px; width: 264px; }
  .concept, .steps, .goals, .faq { padding-block: 72px; }
  .reasons { padding-block: 72px; }
  .voices { grid-template-columns: minmax(0, 1fr); gap: 22px; margin-block: 40px; }
  .voices li:nth-child(even) { transform: none; }
  .concept__turn { margin-top: 48px; }
  .statement__body { padding-block: 128px 80px; }
  .reason { grid-template-columns: minmax(0, 1fr); gap: 28px; margin-top: 64px; }
  .reason--flip .reason__text { order: 0; }
  .stage { min-height: 0; padding: 22px 16px; border-radius: 26px; }
  .notice { width: 96%; }
  .steps__list { grid-template-columns: minmax(0, 1fr); gap: 64px; margin-top: 72px; }
  .closing__arc { width: 320px; top: 28px; }
  .closing__body { padding-block: 176px 72px; }
}

@media (max-width: 400px) {
  .logo span { font-size: 17px; }
  .logo img { width: 30px; height: auto; }
  .site-nav { gap: 10px; }
  .btn--small { padding: 0 14px; font-size: 13px; }
  .btn--large { padding: 0 28px; }
  .hero__lead br, .statement__sub br { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .goals__list li { transition: none; }
  .btn:hover { transform: none; }
}
