/* v6 Phase H: base tokens / reset / typography */

:root {
  /* Heroと共有する色(hero-preview.cssと同値。継続性のため base側にも定義) */
  --green-text: #20302e;
  --muted-text: #4e544e;
  --orange: #f0983c;
  --orange-text: #442400;
  --wall-color: #d8cec2;

  /* 02_AICOACH_SITE_DESIGN_SPEC_v1.0 由来のトークン */
  --primary-green: #2E7D6B;
  --dark-green: #1f4a3d;
  --soft-green: #EAF5F1;
  --pale-green: #F6F3EC;
  --soft-orange: #FFF4DE;
  --cream: #FFFAF1;
  --border: #E4DED2;
  --white: #ffffff;

  --content-max: 1120px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  padding: 0;
  font-family: "Yu Gothic", "YuGothic", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
  color: var(--green-text);
  background: var(--cream);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}

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

a { color: inherit; }

.container {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 40px;
}

@media (max-width: 640px) {
  .container { padding: 0 18px; }
}

h1, h2, h3 { font-weight: 700; margin: 0; }

:focus-visible {
  outline: 3px solid var(--primary-green);
  outline-offset: 2px;
}

.eyebrow-tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--primary-green);
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(26px, 3.4vw, 40px);
  line-height: 1.4;
  margin-bottom: 18px;
}

.section-lead {
  font-size: 17px;
  line-height: 1.8;
  color: var(--muted-text);
  max-width: 640px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  padding: 14px 30px;
  border-radius: 16px;
  border: none;
  cursor: pointer;
  min-height: 48px;
}

.btn-primary {
  background: var(--orange);
  color: var(--orange-text);
}
.btn-primary:hover, .btn-primary:focus-visible { filter: brightness(0.96); }

.btn-ghost {
  background: transparent;
  color: var(--primary-green);
  border: 1.5px solid var(--border);
}

.btn[aria-disabled="true"] {
  cursor: default;
  opacity: 0.55;
}

section { padding: 88px 0; }

@media (max-width: 640px) {
  section { padding: 64px 0; }
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
