/* TETSU式メソッド LP — mobile-first */
:root {
  --c-main: #0f8a6c;
  --c-main-dark: #0a6550;
  --c-accent: #ff7a2f;
  --c-accent-dark: #e5631a;
  --c-text: #222;
  --c-muted: #666;
  --c-bg: #fff;
  --c-bg-soft: #f2f8f5;
  --c-line: #dde6e2;
  --radius: 12px;
  --shadow: 0 4px 16px rgba(0, 0, 0, .08);
  --header-h: 60px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP", Meiryo, sans-serif;
  color: var(--c-text);
  background: var(--c-bg);
  line-height: 1.75;
  font-size: 16px;
  padding-bottom: 72px; /* sticky CTA */
}
a { color: var(--c-main-dark); }
h1, h2, h3 { line-height: 1.4; margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

.container { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }
.pc-only { display: none; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid var(--c-line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 12px; }
.logo { text-decoration: none; color: var(--c-text); display: flex; flex-direction: column; line-height: 1.2; }
.logo-sub { font-size: 11px; color: var(--c-muted); }
.logo-main { font-size: 18px; font-weight: 800; color: var(--c-main); }
.header-tel {
  display: flex; flex-direction: column; align-items: flex-end;
  text-decoration: none; color: var(--c-main-dark); line-height: 1.2;
}
.header-tel-label { font-size: 11px; color: var(--c-muted); }
.header-tel-num { font-size: 16px; font-weight: 700; letter-spacing: .02em; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 12px 24px; border-radius: 999px;
  font-weight: 700; text-decoration: none; border: 2px solid transparent;
  cursor: pointer; font-size: 16px; font-family: inherit;
  transition: background-color .2s, transform .1s;
}
.btn:active { transform: translateY(1px); }
.btn:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, a:focus-visible {
  outline: 3px solid var(--c-accent); outline-offset: 2px;
}
.btn-primary { background: var(--c-accent); color: #fff; box-shadow: 0 4px 0 var(--c-accent-dark); }
.btn-primary:hover { background: var(--c-accent-dark); }
.btn-outline { background: #fff; color: var(--c-main-dark); border-color: var(--c-main); }
.btn-lg { min-height: 56px; font-size: 18px; padding: 14px 32px; }
.btn-block { width: 100%; }

/* Photo placeholder (no external images) */
.photo-placeholder {
  display: flex; align-items: center; justify-content: center; text-align: center;
  background: repeating-linear-gradient(45deg, #e6efeb, #e6efeb 10px, #eef5f2 10px, #eef5f2 20px);
  border: 2px dashed #b9cec6; border-radius: var(--radius);
  color: #7a958b; font-size: 13px; font-weight: 700; letter-spacing: .1em;
}

/* Hero */
.hero { background: linear-gradient(160deg, var(--c-bg-soft), #fff 70%); padding: 32px 0 40px; }
.hero-inner { display: flex; flex-direction: column; gap: 24px; }
.hero-title { font-size: 28px; font-weight: 900; }
.hero-title em { font-style: normal; color: var(--c-accent); }
.hero-lead { margin: 16px 0 12px; font-size: 16px; }
.hero-badge {
  display: inline-block; margin: 0 0 20px; padding: 4px 14px;
  background: var(--c-main); color: #fff; font-weight: 700; border-radius: 4px; font-size: 15px;
}
.chips { display: grid; gap: 10px; margin-bottom: 24px; }
.chip {
  display: flex; align-items: center; gap: 10px;
  background: #fff; border: 1px solid var(--c-line); border-radius: 999px;
  padding: 10px 16px; font-weight: 700; font-size: 15px; box-shadow: var(--shadow);
}
.chip-icon {
  flex: 0 0 28px; height: 28px; border-radius: 50%;
  background: var(--c-main); color: #fff; display: grid; place-items: center; font-size: 14px;
}
.hero .btn-lg { width: 100%; }
.hero-photo { aspect-ratio: 4 / 3; width: 100%; }

/* Sections */
.section { padding: 56px 0; }
.section-title { text-align: center; font-size: 24px; font-weight: 800; margin-bottom: 28px; }
.section-title--sm { font-size: 20px; }
.section-en { display: block; font-size: 13px; letter-spacing: .2em; color: var(--c-main); font-weight: 700; }
.section-lead { text-align: center; margin: 0 0 24px; }

/* Courses */
.courses { background: #fff; }
.course-list { display: grid; gap: 24px; }
.course-card {
  background: #fff; border: 2px solid var(--c-line); border-radius: var(--radius);
  padding: 20px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 14px;
}
.course-card--accent { border-color: var(--c-accent); }
.course-photo { aspect-ratio: 16 / 9; }
.course-name { font-size: 22px; font-weight: 800; color: var(--c-main-dark); text-align: center; }
.course-price { text-align: center; margin: 0; font-weight: 700; }
.course-price strong { font-size: 40px; color: var(--c-accent); margin: 0 4px; line-height: 1; }
.course-price small { font-size: 13px; color: var(--c-muted); }
.course-points li { position: relative; padding: 8px 0 8px 28px; border-bottom: 1px dashed var(--c-line); }
.course-points li::before {
  content: "✓"; position: absolute; left: 4px; top: 8px; color: var(--c-main); font-weight: 900;
}
.course-goals { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.course-goals li {
  background: var(--c-bg-soft); border-radius: 8px; padding: 10px 4px; text-align: center;
  display: flex; flex-direction: column; line-height: 1.3;
}
.course-goals span { font-size: 13px; font-weight: 700; }
.course-goals b { font-size: 22px; color: var(--c-accent); }
.course-card .btn { margin-top: auto; }
.course-note { margin: -6px 0 0; text-align: center; font-size: 12px; color: var(--c-muted); }

/* Contact */
.contact { background: var(--c-bg-soft); }
.form-notice {
  background: #fff7e6; border: 2px solid #f0b24a; border-radius: 8px;
  padding: 12px 16px; margin-bottom: 20px; font-size: 14px;
}
.contact-form { background: #fff; border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 700; margin-bottom: 6px; font-size: 15px; }
.req, .opt { font-size: 11px; padding: 1px 6px; border-radius: 3px; margin-left: 6px; vertical-align: 2px; }
.req { background: var(--c-accent); color: #fff; }
.opt { background: #e5e5e5; color: #555; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px; font-size: 16px; font-family: inherit;
  border: 1px solid #c8d3cf; border-radius: 8px; background: #fff;
}
.form-result { margin: 16px 0 0; padding: 12px; background: #fff7e6; border-radius: 8px; font-size: 14px; }

/* Legal */
.legal { font-size: 14px; }
.legal-table { margin: 0; border-top: 1px solid var(--c-line); }
.legal-table > div { border-bottom: 1px solid var(--c-line); padding: 12px 0; }
.legal-table dt { font-weight: 700; color: var(--c-main-dark); }
.legal-table dd { margin: 4px 0 0; }

/* Footer */
.site-footer { background: var(--c-main-dark); color: #fff; text-align: center; padding: 32px 0; }
.site-footer p { margin: 4px 0; }
.site-footer a { color: #fff; font-weight: 700; }
.footer-name { font-weight: 700; }

/* Sticky CTA (mobile) */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: grid; grid-template-columns: 1fr 2fr; gap: 8px;
  padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .97); border-top: 1px solid var(--c-line);
}
.sticky-cta .btn { min-height: 48px; padding: 8px 12px; font-size: 15px; }

/* Tablet+ */
@media (min-width: 768px) {
  .pc-only { display: inline; }
  .hero { padding: 64px 0; }
  .hero-inner { flex-direction: row; align-items: center; gap: 40px; }
  .hero-text { flex: 1 1 55%; }
  .hero-photo { flex: 1 1 45%; aspect-ratio: 4 / 5; }
  .hero-title { font-size: 40px; }
  .hero .btn-lg { width: auto; }
  .section { padding: 80px 0; }
  .section-title { font-size: 30px; }
  .course-list { grid-template-columns: 1fr 1fr; }
  .contact-form { padding: 32px; }
  .legal-table > div { display: grid; grid-template-columns: 180px 1fr; gap: 16px; }
  .legal-table dd { margin: 0; }
}

/* Desktop: header phone is enough, hide sticky CTA */
@media (min-width: 1024px) {
  body { padding-bottom: 0; }
  .sticky-cta { display: none; }
  .header-tel-num { font-size: 22px; }
}
