:root {
  --blue: #3f8fc4;
  --blue-deep: #2f6f9c;
  --blue-soft: #eff8ff;
  --mint: #dff5ee;
  --green-deep: #326b50;
  --cream: #fff8e9;
  --orange: #f0a55f;
  --ink: #1f2329;
  --muted: #6b6f76;
  --line: #e6ded6;
  --line-strong: #d8ccc0;
  --white: #ffffff;
  --shadow: 0 16px 40px rgba(70, 47, 39, 0.1);
  --radius: 16px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: linear-gradient(180deg, #fffaf0 0%, #f7fbf6 100%);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans",
    "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  font-size: 16px;
  line-height: 1.9;
  -webkit-text-size-adjust: 100%;
}

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

a {
  color: inherit;
}

p {
  margin: 0 0 1.2em;
}

/* ---------- ヘッダー ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px clamp(16px, 4vw, 56px);
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  text-decoration: none;
  font-size: 15px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  font-size: 15px;
  flex-shrink: 0;
}

.header-cta {
  padding: 9px 18px;
  border-radius: 999px;
  background: var(--blue);
  color: var(--white);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  white-space: nowrap;
}

/* ---------- ボタン ---------- */
.button {
  display: inline-block;
  padding: 16px 32px;
  border: none;
  border-radius: 999px;
  font-family: inherit;
  font-size: 17px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.button.primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(63, 143, 196, 0.32);
}

.button.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(63, 143, 196, 0.4);
}

.button.ghost {
  background: var(--white);
  color: var(--blue-deep);
  border: 1.5px solid var(--line-strong);
}

.button.wide {
  display: block;
  width: 100%;
}

/* ---------- ヒーロー ---------- */
.hero {
  padding: clamp(48px, 9vw, 96px) clamp(16px, 5vw, 56px) clamp(40px, 7vw, 72px);
}

.hero-inner {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 20px;
  padding: 6px 16px;
  border-radius: 999px;
  background: var(--blue-soft);
  color: var(--blue-deep);
  font-size: 13px;
  font-weight: 700;
}

.hero h1 {
  margin: 0 0 24px;
  font-size: clamp(26px, 6.4vw, 46px);
  line-height: 1.5;
  letter-spacing: 0;
}

.lead {
  font-size: clamp(16px, 2.2vw, 18px);
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin: 32px 0 16px;
}

.hero-note {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
}

/* ヒーロー下の実績ストリップ */
.trust-strip {
  list-style: none;
  margin: 40px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, 1fr);
  text-align: center;
}

.trust-strip li {
  padding: 16px 12px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
}

.trust-strip strong {
  display: block;
  margin-bottom: 4px;
  font-size: 15px;
  color: var(--blue-deep);
}

/* ---------- セクション共通 ---------- */
.section {
  padding: clamp(48px, 8vw, 88px) clamp(20px, 5vw, 56px);
  /* 固定ヘッダーに見出しが隠れないように */
  scroll-margin-top: 64px;
}

.section.tinted {
  background: rgba(255, 255, 255, 0.68);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-inner {
  max-width: 980px;
  margin: 0 auto;
}

.section-inner.narrow {
  max-width: 720px;
}

.section-title {
  margin: 0 0 32px;
  font-size: clamp(22px, 4.4vw, 32px);
  line-height: 1.5;
  text-align: center;
}

.section-note {
  margin-top: 28px;
  font-size: 15px;
  color: var(--muted);
  text-align: center;
}

.emphasis {
  padding: 20px 24px;
  border-left: 4px solid var(--blue);
  background: var(--blue-soft);
  border-radius: 0 12px 12px 0;
  font-weight: 700;
}

/* ---------- チェックリスト ---------- */
.check-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.check-list li {
  position: relative;
  padding: 16px 20px 16px 52px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(70, 47, 39, 0.04);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 22px;
  width: 16px;
  height: 9px;
  border-left: 3px solid var(--orange);
  border-bottom: 3px solid var(--orange);
  transform: rotate(-45deg);
}

/* ---------- カード ---------- */
.card-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.card {
  padding: 28px 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.card-no {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--blue);
}

.card h3 {
  margin: 0 0 12px;
  font-size: 19px;
  line-height: 1.6;
}

.card p {
  margin: 0;
  font-size: 15px;
  color: var(--muted);
}

/* ---------- プロフィール ---------- */
.about-layout {
  display: grid;
  gap: 32px;
  grid-template-columns: 220px 1fr;
  align-items: start;
}

.about-photo {
  text-align: center;
}

.about-photo img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  background: var(--cream);
}

.about-name {
  margin: 14px 0 2px;
  font-size: 19px;
  font-weight: 700;
}

.about-role {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
}

.fact-list {
  margin: 20px 0 0;
  padding: 20px 24px;
  list-style: none;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  display: grid;
  gap: 10px;
}

.fact-list li {
  position: relative;
  padding-left: 20px;
  font-size: 15px;
}

.fact-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue);
}

/* ---------- FAQ ---------- */
.faq-item {
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.faq-item:first-of-type {
  border-top: 1px solid var(--line);
}

.faq-item h3 {
  margin: 0 0 10px;
  font-size: 17px;
  line-height: 1.6;
  color: var(--blue-deep);
}

.faq-item p {
  margin: 0;
  font-size: 15px;
  color: var(--muted);
}

/* ---------- 流れ ---------- */
.flow-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 16px;
}

.flow-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.flow-no {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--mint);
  color: var(--green-deep);
  font-weight: 700;
  flex-shrink: 0;
}

.flow-list h3 {
  margin: 0 0 4px;
  font-size: 17px;
}

.flow-list p {
  margin: 0;
  font-size: 15px;
  color: var(--muted);
}

/* ---------- フォーム ---------- */
.form-lead {
  text-align: center;
  color: var(--muted);
  font-size: 15px;
  margin-bottom: 28px;
}

.contact-form {
  padding: 28px clamp(20px, 4vw, 32px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.field {
  margin-bottom: 20px;
}

.field label {
  display: block;
  margin-bottom: 8px;
  font-size: 15px;
  font-weight: 700;
}

.req,
.opt {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  vertical-align: middle;
}

.req {
  background: #ffe6ea;
  color: #c2415a;
}

.opt {
  background: #eef0f2;
  color: var(--muted);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1.5px solid var(--line-strong);
  border-radius: 10px;
  background: #fdfcfa;
  font-family: inherit;
  font-size: 16px; /* iOSの自動ズーム防止のため16px以上 */
  line-height: 1.6;
  color: var(--ink);
}

.field textarea {
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(63, 143, 196, 0.16);
}

.privacy-note {
  font-size: 13px;
  color: var(--muted);
}

/* ハニーポット：画面にもスクリーンリーダーにも出さない */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ---------- クロージング ---------- */
.closing {
  text-align: center;
  padding-bottom: clamp(64px, 10vw, 96px);
}

.closing-copy {
  font-size: clamp(19px, 3.4vw, 25px);
  font-weight: 700;
  line-height: 1.8;
}

.closing .button {
  max-width: 420px;
  margin: 24px auto 0;
}

/* ---------- 完了ページ ---------- */
.thanks {
  min-height: 60vh;
  display: grid;
  place-items: center;
  padding: clamp(48px, 9vw, 96px) 20px;
  text-align: center;
}

.thanks h1 {
  font-size: clamp(24px, 5vw, 34px);
  margin-bottom: 20px;
}

/* ---------- フッター ---------- */
.site-footer {
  padding: 40px 20px calc(40px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: var(--white);
  text-align: center;
  font-size: 14px;
  color: var(--muted);
}

.footer-brand {
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 16px;
}

.footer-info {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 16px;
  max-width: 420px;
  margin: 0 auto 20px;
  text-align: left;
  font-size: 13px;
}

.footer-info dt {
  color: var(--muted);
  white-space: nowrap;
}

.footer-info dd {
  margin: 0;
  color: var(--ink);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  justify-content: center;
  margin: 0;
}

.footer-links a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- Instagram導線 ---------- */
.insta-section .section-inner {
  text-align: center;
}

.insta-action {
  margin: 28px 0 0;
}

/* ---------- 規約ページ ---------- */
.legal h1 {
  font-size: clamp(22px, 4.4vw, 30px);
  margin: 0 0 32px;
}

.legal h2 {
  font-size: 17px;
  margin: 32px 0 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}

.legal p,
.legal li {
  font-size: 15px;
  color: var(--muted);
}

.legal ul {
  padding-left: 1.4em;
}

.legal .footer-info {
  margin-left: 0;
  font-size: 15px;
}

.legal-date {
  margin-top: 32px;
  font-size: 13px;
}

.copyright {
  margin: 16px 0 0;
  font-size: 12px;
}

/* ---------- スマホ固定CTA ---------- */
.sticky-cta {
  display: none;
}

@media (max-width: 767px) {
  .about-layout {
    grid-template-columns: 1fr;
  }

  .trust-strip {
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: 32px;
  }

  .trust-strip li {
    display: flex;
    align-items: baseline;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0 8px;
    padding: 12px 14px;
  }

  .trust-strip strong {
    margin-bottom: 0;
  }

  .about-photo {
    max-width: 200px;
    margin: 0 auto;
  }

  .brand-name {
    display: none;
  }

  .hero-actions .button {
    width: 100%;
  }

  .sticky-cta {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 30;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.96);
    border-top: 1px solid var(--line);
    backdrop-filter: blur(12px);
  }

  .sticky-cta .button {
    padding: 14px 24px;
    font-size: 16px;
  }

  /* 固定CTAに隠れないよう下に余白 */
  .site-footer {
    padding-bottom: calc(96px + env(safe-area-inset-bottom));
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .button {
    transition: none;
  }
}
