/* Manook（マヌック）の紹介サイト。静的な HTML/CSS だけ（外部のフォント・スクリプトは読み込まない。_headers の CSP も 'self' だけ）。
   A案：白地に黒に近い茶の文字。Manook の橙は「点」で使う（ボタン・小さな印・番号と、ファーストビューのアプリ画面の背後の面1か所だけ）。
   主役は Manookログ（アプリの実際の画面・見本データ）。パーソナルトレーニングは代表の活動として控えめな枠1つ。区切りは極薄の灰の区画（Manookログ・フッター）と細い線。ダークモードは付けない
   形：Nook（居心地の良い一角）のアーチ（上が半円）は、ファーストビューのアプリ画面の背後の面にだけ使う */

/* 英字だけの丸いフォント Nunito（SIL Open Font License 1.1。fonts/OFL.txt）。サイト内に置く（CSP の font-src 'self'）。
   日本語の文字は含まないので、日本語は端末のゴシックで表示される */
@font-face {
  font-family: "Nunito";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/nunito-latin-700-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Nunito";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("fonts/nunito-latin-800-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #ffffff;
  --bg-alt: #f6f5f3;          /* 区切りの区画・フッター */
  --ink: #241914;             /* 見出し・ロゴ（白の上で約 17:1） */
  --text: #3b3330;            /* 本文（白の上で約 12:1） */
  --muted: #6b625c;           /* 補助の文字（白の上で約 6:1、#F6F5F3 の上で約 5.4:1） */
  --line: #e4e1dd;            /* 区切りの細い線 */
  --line-strong: #241914;
  --accent: #b0561a;          /* ボタン・小さな印（白との比 約 5:1） */
  --accent-dark: #8f4310;     /* ボタンのホバー */
  --flame: #c2611f;           /* 面（ファーストビューのアプリ画面の背後）だけ。文字には使わない */
  --radius: 10px;
  --font-en: "Nunito", "Hiragino Sans", "Noto Sans JP", "Yu Gothic UI", "Segoe UI", system-ui, sans-serif;
  --font-ja: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic UI", "Yu Gothic", Meiryo, system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-ja);
  font-size: 16px;
  line-height: 1.85;
  letter-spacing: 0.02em;
  overflow-wrap: anywhere;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: rgba(36, 25, 20, 0.35);
  text-underline-offset: 4px;
}

a:hover {
  color: var(--accent-dark);
  text-decoration-color: currentColor;
}

a:focus-visible,
.btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
dl,
dd,
figure {
  margin: 0;
}

.wrap {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}

.wrap-narrow {
  max-width: 800px;
}

.nowrap {
  white-space: nowrap;
}

.br-wide {
  display: none;
}

@media (min-width: 720px) {
  .br-wide {
    display: inline;
  }
}

/* 小さな橙の印（丸） */
.dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  flex: none;
}

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

.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
}

.logo,
.footer-logo {
  display: inline-flex;
  flex: none;
  white-space: nowrap;
  align-items: baseline;
  gap: 8px;
  color: var(--ink);
  text-decoration: none;
}

.logo:hover {
  color: var(--ink);
}

.logo-mark {
  font-family: var(--font-en);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1;
}

.logo-kana {
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.12em;
}

.header-nav {
  display: flex;
  gap: 20px;
  font-size: 14px;
  font-weight: 600;
}

.header-nav a {
  color: var(--text);
  text-decoration: none;
  white-space: nowrap;
}

.header-nav a:hover {
  color: var(--ink);
  text-decoration: underline;
}

/* スマホは2つに絞る（パーソナルへはスクロールで届く） */
@media (max-width: 599px) {
  .header-nav {
    gap: 16px;
    font-size: 13px;
  }

  .header-nav a[href="#personal"] {
    display: none;
  }
}

@media (max-width: 399px) {
  .site-header .logo-kana {
    display: none;
  }
}

/* ---------- ボタン ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 12px 26px;
  border-radius: var(--radius);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary::after {
  content: "→";
  font-family: var(--font-en);
}

.btn-primary:hover {
  background: var(--accent-dark);
  color: #fff;
}

.btn-outline {
  border: 1px solid var(--ink);
  background: var(--bg);
  color: var(--ink);
}

.btn-outline:hover {
  background: var(--ink);
  color: #fff;
}

@media (prefers-reduced-motion: reduce) {
  .btn {
    transition: none;
  }
}

/* ---------- ファーストビュー ---------- */

.hero {
  padding: 48px 0 72px;
}

.hero-grid {
  display: grid;
  gap: 56px;
}

.eyebrow,
.section-label {
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.eyebrow-ja {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--muted);
}

/* アプリ名と準備中の表示 */
.hero-product {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  margin-top: 6px;
}

.hero-product-name {
  font-family: var(--font-en);
  font-size: 26px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: 0;
  color: var(--ink);
}

.hero-product .status {
  margin-top: 0;
  padding: 2px 12px;
  font-size: 12px;
}

.hero-title {
  margin-top: 20px;
  font-size: clamp(40px, 5.6vw, 68px);
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: 0.02em;
  color: var(--ink);
}

.hero-lead {
  max-width: 30em;
  margin-top: 24px;
  font-size: 17px;
  line-height: 1.9;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 20px;
  margin-top: 32px;
}

.hero-sublink {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}

.hero-note {
  margin-top: 16px;
  font-size: 13px;
  color: var(--muted);
}

/* アプリ画面：Nook のアーチ形の橙の面（サイトで唯一の色の面）の前にスマホの画面 */
.hero-visual {
  position: relative;
  display: grid;
  justify-items: center;
  padding-top: 28px;
}

.nook-panel {
  position: absolute;
  top: 0;
  left: 50%;
  width: min(100%, 360px);
  height: 62%;
  transform: translateX(-50%);
  border-radius: 999px 999px 0 0;
  background: var(--flame);
}

.phone {
  position: relative;
  width: 264px;
  overflow: hidden;
  border: 6px solid #1c1411;
  border-radius: 38px;
  background: #1c1411;
  box-shadow: 0 32px 64px -28px rgba(36, 25, 20, 0.55);
}

.phone img {
  width: 100%;
  border-radius: 32px;
}

.hero-caption {
  position: relative;
  margin-top: 16px;
  font-size: 12px;
  color: var(--muted);
}

@media (min-width: 900px) {
  .hero {
    padding: 80px 0 104px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    align-items: center;
    gap: 48px;
  }

  .phone {
    width: 296px;
  }
}

/* ---------- 区画の共通 ---------- */

.section {
  padding: 80px 0;
}

.section-alt {
  background: var(--bg-alt);
}

.section-head {
  max-width: 720px;
}

.section-no {
  margin-right: 12px;
  color: var(--accent);
}

.section-title {
  margin-top: 12px;
  font-size: clamp(30px, 4.4vw, 48px);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: 0.02em;
  color: var(--ink);
}

.section-lead {
  margin-top: 20px;
  font-size: 17px;
}

.sub-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 72px 0 24px;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.4;
  color: var(--ink);
}

/* 小見出しの印：橙の小さな四角 */
.sub-title::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--accent);
  flex: none;
}

.note {
  margin-top: 20px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
}

@media (min-width: 900px) {
  .section {
    padding: 120px 0;
  }
}

/* ---------- 02 パーソナルトレーニング（代表の活動として控えめに、1つの枠） ---------- */

.section-compact {
  padding: 56px 0;
}

.personal {
  padding: 28px 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
}

.personal-title {
  margin-top: 8px;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.4;
  color: var(--ink);
}

.personal-lead {
  max-width: 44em;
  margin-top: 8px;
  font-size: 15px;
}

.personal-body {
  display: grid;
  gap: 32px 56px;
  margin-top: 28px;
}

.plan-name {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  font-size: 16px;
  font-weight: 800;
  color: var(--ink);
}

.plan-badge {
  padding: 0 8px;
  border: 1px solid var(--accent);
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.06em;
}

.plan-price {
  margin-top: 4px;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
}

.plan-price-num {
  font-family: var(--font-en);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0;
}

.plan-list {
  margin-top: 12px;
  border-top: 1px solid var(--line);
}

.plan-row {
  display: grid;
  grid-template-columns: 6.2em minmax(0, 1fr);
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  line-height: 1.7;
}

.plan-row dt {
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
}

.plan-row dd {
  color: var(--ink);
}

.personal-sub {
  font-size: 16px;
  font-weight: 800;
  color: var(--ink);
}

.flow {
  margin-top: 12px;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.flow li {
  display: grid;
  grid-template-columns: 2.4em minmax(0, 1fr);
  gap: 8px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.flow-num {
  padding-top: 2px;
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--accent);
}

.flow-title {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.6;
  color: var(--ink);
}

.flow-text {
  margin-top: 2px;
  font-size: 14px;
  line-height: 1.75;
}

.btn-sm {
  min-height: 44px;
  padding: 8px 18px;
  font-size: 14px;
}

.cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

@media (max-width: 599px) {
  .cta .btn {
    width: 100%;
  }
}

@media (min-width: 900px) {
  .section-compact {
    padding: 80px 0;
  }

  .personal {
    padding: 40px 48px;
  }

  .personal-body {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ---------- 01 Manookログ ---------- */

.status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  padding: 4px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg);
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
}

.app-grid {
  display: grid;
  gap: 48px;
  margin-top: 48px;
}

.app-point {
  padding: 20px 0;
  border-top: 1px solid var(--line);
}

.app-point-en {
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.app-point-text {
  margin-top: 6px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.7;
  color: var(--ink);
}

.app-notes {
  padding-top: 4px;
  border-top: 1px solid var(--line);
}

.app-notes .note {
  margin-top: 12px;
}

/* 管理画面（ブラウザの枠）とミニアプリ（スマホの枠）を重ねる */
.app-shots {
  display: grid;
}

.browser,
.app-shots .phone-small {
  grid-area: 1 / 1;
}

.browser {
  margin-right: 16%;
  align-self: start;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg);
  box-shadow: 0 24px 48px -32px rgba(36, 25, 20, 0.35);
}

.browser-bar {
  display: flex;
  gap: 6px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  background: #fbfaf9;
}

.browser-bar span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d6d1cb;
}

.phone-small {
  justify-self: end;
  align-self: start;
  width: 34%;
  max-width: 210px;
  margin-top: 22%;
  border-width: 4px;
  border-radius: 26px;
}

.phone-small img {
  border-radius: 22px;
}

.shots-caption {
  margin-top: 16px;
  font-size: 12px;
  color: var(--muted);
}

@media (min-width: 900px) {
  .app-grid {
    grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
    align-items: start;
    gap: 64px;
  }

  .phone-small {
    width: 30%;
    margin-top: 18%;
  }
}

/* ---------- 03 運営者・お問い合わせ ---------- */

.about-grid {
  display: grid;
  gap: 0 72px;
}

.about-grid .sub-title {
  margin-top: 56px;
}

.about-statement {
  margin-bottom: 24px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.8;
  color: var(--ink);
}

.name-formula {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 20px;
  margin-bottom: 20px;
}

.name-part {
  display: flex;
  flex-direction: column;
}

.name-word {
  font-size: 30px;
  font-weight: 800;
  line-height: 1.3;
  color: var(--ink);
}

.name-en {
  font-family: var(--font-en);
}

.name-cap {
  font-size: 12px;
  color: var(--muted);
}

.name-plus {
  font-family: var(--font-en);
  font-size: 22px;
  font-weight: 700;
  color: var(--muted);
}

.info {
  margin-top: 24px;
  border-top: 1px solid var(--line);
}

.info-row {
  display: grid;
  grid-template-columns: 5em minmax(0, 1fr);
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.info-row dt {
  font-size: 14px;
  font-weight: 700;
  color: var(--muted);
}

.info-row dd {
  color: var(--ink);
}

.contact {
  scroll-margin-top: 24px;
}

.contact-item {
  padding: 20px 0 24px;
  border-top: 1px solid var(--line);
}

.contact-item:last-child {
  border-bottom: 1px solid var(--line);
}

.contact-title {
  font-size: 17px;
  font-weight: 800;
  color: var(--ink);
}

.contact-item > p {
  margin-top: 6px;
  font-size: 15px;
}

.link-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-top: 12px;
  padding: 0;
  list-style: none;
}

.link-list a {
  font-weight: 700;
}

.link-list a::after {
  content: "→";
  display: inline-block;
  margin-left: 6px;
  font-family: var(--font-en);
}

@media (min-width: 900px) {
  .about-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

.site-footer {
  padding: 40px 0;
  border-top: 1px solid var(--line);
  background: var(--bg-alt);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
}

.footer-logo .logo-mark {
  font-size: 20px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  font-size: 13px;
}

.footer-nav a {
  color: var(--text);
}

.footer-nav a[aria-current="page"] {
  font-weight: 700;
  color: var(--ink);
}

.copyright {
  font-family: var(--font-en);
  font-size: 12px;
  color: var(--muted);
}

/* ---------- 特定商取引法に基づく表記・利用規約 ---------- */

.doc {
  padding: 48px 0 96px;
}

.breadcrumb {
  margin-bottom: 40px;
  font-size: 13px;
  color: var(--muted);
}

.breadcrumb a {
  color: var(--muted);
}

.doc-title {
  margin: 12px 0 40px;
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 800;
  line-height: 1.4;
  color: var(--ink);
}

.doc-title-sub {
  display: block;
  margin-top: 4px;
  font-size: 0.55em;
  font-weight: 700;
  color: var(--muted);
}

.law-table {
  width: 100%;
  border-collapse: collapse;
  border-top: 2px solid var(--line-strong);
  font-size: 15px;
}

.law-table th,
.law-table td {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.law-table th {
  width: 13em;
  padding-right: 24px;
  font-size: 14px;
  font-weight: 700;
  color: var(--muted);
}

.law-table td {
  color: var(--ink);
}

@media (max-width: 599px) {
  .law-table th,
  .law-table td {
    display: block;
    width: auto;
  }

  .law-table th {
    padding: 16px 0 0;
    border-bottom: 0;
  }

  .law-table td {
    padding: 2px 0 16px;
  }
}

.doc-note {
  margin-top: 24px;
  font-size: 14px;
  color: var(--muted);
}

.terms {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: terms;
  border-top: 2px solid var(--line-strong);
}

.terms > li {
  counter-increment: terms;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 0 12px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.terms > li::before {
  content: counter(terms, decimal-leading-zero);
  grid-row: 1 / span 2;
  padding-top: 3px;
  font-family: var(--font-en);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--accent);
}

.terms h2 {
  margin: 0 0 4px;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.6;
  color: var(--ink);
}

.terms p {
  font-size: 15px;
}

.doc-date {
  margin-top: 32px;
  font-size: 14px;
  color: var(--muted);
}
