/* TOP DRAFT - SP prototype design system */
:root {
  --bg: #ffffff;
  --text: #141414;
  --text-2: rgba(20, 20, 20, 0.74);
  --text-3: rgba(20, 20, 20, 0.54);
  --fill: rgba(20, 20, 20, 0.08);
  --fill-soft: rgba(20, 20, 20, 0.04);
  --stroke: rgba(20, 20, 20, 0.12);
  --stroke-soft: rgba(20, 20, 20, 0.08);
  --container-max: 768px;
  --header-height: 66px;
  --sticky-cta-height: 72px;
  --font-sans: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", Meiryo, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.page--with-sticky-cta {
  padding-bottom: var(--sticky-cta-height);
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-height);
  background: var(--bg);
  border-bottom: 1px solid var(--stroke-soft);
}

.site-header__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.site-logo {
  display: block;
  color: var(--text);
  text-align: center;
  text-decoration: none;
}

.site-logo:hover {
  text-decoration: none;
}

.site-logo__small {
  font-size: 10px;
  letter-spacing: 0.1em;
}

.site-logo__brand {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.site-nav {
  position: absolute;
  right: 20px;
  display: flex;
  gap: 16px;
}

.site-nav a {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-2);
  text-decoration: none;
}

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

/* TOP hero */
.hero {
  min-height: 405px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--text);
  padding: 24px;
}

.hero__label {
  color: rgba(255, 255, 255, 0.7);
  font-size: 11px;
  letter-spacing: 0.12em;
  margin-bottom: 8px;
}

.hero__title {
  color: #fff;
  font-size: clamp(28px, 8vw, 40px);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.hero__line {
  width: 34px;
  border-top: 2px solid #fff;
  margin: 18px auto;
}

.hero__catch {
  color: #fff;
  font-size: 15px;
  line-height: 1.65;
  font-weight: 600;
}

/* Sections */
.pad { padding: 46px 0 56px; }
.pad-support { padding: 50px 0 58px; background: var(--fill-soft); }
.pad-howto { padding: 54px 0 60px; }
.pad-feature {
  padding: 12px 0 58px;
  border-top: 1px solid var(--stroke-soft);
}
.pad-coach { padding: 44px 0 60px; background: var(--fill-soft); }

.section-eyebrow {
  color: var(--text-3);
  font-size: 12px;
  line-height: 18px;
  letter-spacing: 0.06em;
}

.section-title {
  margin-top: 6px;
  color: var(--text);
  font-size: clamp(24px, 6vw, 30px);
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.body-text {
  margin: 0;
  color: var(--text-2);
  font-size: 14px;
  line-height: 1.9;
}

.stack-12 > * + * { margin-top: 12px; }
.stack-15 > * + * { margin-top: 15px; }
.stack-24 > * + * { margin-top: 24px; }
.stack-26 > * + * { margin-top: 26px; }
.stack-30 > * + * { margin-top: 30px; }

.events-heading {
  color: var(--text);
  font-size: 16px;
  line-height: 24px;
  font-weight: 700;
  padding: 12px 0 10px;
  border-bottom: 2px solid var(--text);
}

/* Cards */
.card {
  border: 1px solid var(--stroke);
  background: var(--bg);
}

.placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--fill);
  color: var(--text-3);
  font-size: 12px;
  letter-spacing: 0.04em;
}

.event-visual {
  position: relative;
  height: 184px;
}

.event-visual .placeholder,
.event-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.event-tag {
  position: absolute;
  left: 12px;
  top: 12px;
  padding: 5px 10px;
  background: var(--text);
  color: var(--bg);
  font-size: 11px;
  line-height: 16px;
  font-weight: 700;
}

.card-body { padding: 15px 14px 17px; }

.month {
  color: var(--text-3);
  font-size: 12px;
  line-height: 18px;
  margin-bottom: 10px;
}

.card-title {
  color: var(--text);
  font-size: 15px;
  line-height: 24px;
  font-weight: 700;
  margin-bottom: 12px;
}

.link-row {
  display: flex;
  justify-content: flex-end;
}

.text-link {
  display: inline-block;
  padding: 0;
  border-bottom: 1px solid var(--text);
  color: var(--text);
  font-size: 13px;
  line-height: 20px;
  text-decoration: none;
}

.text-link:hover {
  opacity: 0.7;
  text-decoration: none;
}

.support-visual .placeholder { height: 178px; }

.support-label {
  color: var(--text-3);
  font-size: 12px;
  margin-bottom: 8px;
}

.support-title {
  color: var(--text);
  font-size: 17px;
  line-height: 24px;
  font-weight: 700;
  margin-bottom: 12px;
}

.lead {
  padding-left: 14px;
  border-left: 3px solid var(--text);
  color: var(--text);
  font-size: 19px;
  line-height: 1.5;
  font-weight: 800;
}

.subhead {
  color: var(--text);
  font-size: 18px;
  line-height: 1.55;
  font-weight: 800;
  padding-top: 8px;
}

.feature-title {
  color: var(--text);
  font-size: 19px;
  line-height: 1.5;
  font-weight: 800;
}

.feature-image .placeholder { height: 218px; }
.coach-image .placeholder { height: 205px; }

.opportunity {
  border: 1px solid var(--stroke);
  padding: 18px;
  background: var(--bg);
}

.opportunity h3 {
  margin: 0 0 12px;
  color: var(--text);
  font-size: 13px;
  line-height: 20px;
  font-weight: 700;
}

.opportunity ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.opportunity li {
  color: var(--text-2);
  font-size: 12px;
  line-height: 21px;
  margin: 0 0 8px;
}

.coach-label {
  color: var(--text);
  font-size: 12px;
  line-height: 18px;
  font-weight: 700;
  margin-top: 4px;
}

.coach-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

@media (min-width: 480px) {
  .coach-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.coach {
  display: flex;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--stroke);
  background: var(--bg);
}

.avatar {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: 999px;
  background: var(--fill);
}

.coach-name {
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
  line-height: 18px;
}

.coach-origin {
  color: var(--text-2);
  font-size: 10px;
  line-height: 15px;
  font-weight: 700;
  margin-top: 4px;
}

.coach-profile {
  color: var(--text-2);
  font-size: 10px;
  line-height: 16px;
  margin-top: 4px;
}

/* Event detail page */
.event-hero {
  margin: 0 -20px;
}

.event-hero__image {
  aspect-ratio: 2 / 1;
  width: 100%;
  object-fit: cover;
  background: var(--fill);
}

.event-header {
  padding: 24px 0 8px;
}

.event-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.tag {
  display: inline-block;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 700;
  border: 1px solid var(--stroke);
  color: var(--text-2);
  background: var(--bg);
}

.tag--dark {
  background: var(--text);
  color: var(--bg);
  border-color: var(--text);
}

.event-title {
  margin: 0 0 16px;
  font-size: clamp(1.125rem, 4vw, 1.5rem);
  font-weight: 800;
  line-height: 1.45;
}

.event-organizer {
  display: flex;
  align-items: center;
  gap: 12px;
}

.event-organizer__logo {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--text);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 800;
  flex-shrink: 0;
}

.event-organizer__name {
  margin: 0;
  font-weight: 700;
  font-size: 14px;
}

.event-organizer__category {
  margin: 2px 0 0;
  font-size: 12px;
  color: var(--text-3);
}

.event-content {
  padding: 24px 0 32px;
}

.content-section {
  margin-bottom: 32px;
}

.content-section__heading {
  margin: 0 0 12px;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.5;
}

.content-section__body p {
  margin: 0 0 16px;
  color: var(--text-2);
  font-size: 14px;
  line-height: 1.9;
}

.content-section__body p:last-child {
  margin-bottom: 0;
}

.content-section__body ul {
  margin: 0;
  padding-left: 1.25em;
  color: var(--text-2);
  font-size: 14px;
}

.content-section__body li {
  margin-bottom: 8px;
}

.content-image {
  margin: 24px 0;
  border: 1px solid var(--stroke);
}

.content-image img {
  width: 100%;
}

.overview-section {
  margin-bottom: 40px;
}

.overview-section__title {
  margin: 0 0 12px;
  font-size: 16px;
  font-weight: 700;
}

.overview-box {
  border: 1px solid var(--stroke);
  background: var(--bg);
}

.overview-list {
  margin: 0;
}

.overview-list__row {
  display: grid;
  grid-template-columns: 120px 1fr;
  border-bottom: 1px solid var(--stroke-soft);
}

.overview-list__row:last-child {
  border-bottom: none;
}

.overview-list__term {
  margin: 0;
  padding: 16px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-3);
  background: var(--fill-soft);
}

.overview-list__detail {
  margin: 0;
  padding: 16px;
  font-size: 14px;
  color: var(--text-2);
}

@media (max-width: 480px) {
  .overview-list__row {
    grid-template-columns: 1fr;
  }

  .overview-list__term {
    padding-bottom: 4px;
  }

  .overview-list__detail {
    padding-top: 0;
  }
}

.deadline-badge {
  display: inline-block;
  margin-bottom: 12px;
  padding: 6px 12px;
  background: var(--text);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

/* Sticky CTA */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  padding: 12px 20px;
  background: var(--bg);
  border-top: 1px solid var(--stroke);
}

.sticky-cta__inner {
  max-width: var(--container-max);
  margin: 0 auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px 24px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  border: none;
  cursor: pointer;
  background: var(--text);
  color: #fff;
}

.btn:hover {
  opacity: 0.9;
  color: #fff;
  text-decoration: none;
}

/* Legal pages */
.legal-page {
  flex: 1;
  padding: 32px 0 48px;
}

.legal-box {
  border: 1px solid var(--stroke);
  padding: 32px 24px;
}

.legal-box__title {
  margin: 0 0 24px;
  font-size: clamp(1.25rem, 4vw, 1.5rem);
  font-weight: 800;
}

.legal-document h2 {
  margin: 32px 0 12px;
  font-size: 1rem;
  font-weight: 800;
}

.legal-document h2:first-child {
  margin-top: 0;
}

.legal-document p {
  margin: 0 0 16px;
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.9;
}

.legal-document ul {
  margin: 0 0 16px;
  padding-left: 1.25em;
  font-size: 14px;
  color: var(--text-2);
}

.legal-document li {
  margin-bottom: 4px;
}

.legal-document a {
  color: var(--text);
  word-break: break-all;
}

/* Footer */
.site-footer {
  padding: 38px 20px 30px;
  background: var(--text);
  color: var(--bg);
  margin-top: auto;
}

.site-footer a {
  color: var(--bg);
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

.site-footer__inner {
  max-width: var(--container-max);
  margin: 0 auto;
}

.site-footer__brand-small {
  font-size: 9px;
  letter-spacing: 0.12em;
}

.site-footer__brand {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 22px;
}

.site-footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer__links li {
  margin-bottom: 9px;
}

.site-footer__links a {
  font-size: 11px;
}

.site-footer__copyright {
  color: rgba(255, 255, 255, 0.55);
  font-size: 9px;
  line-height: 15px;
  margin: 13px 0 0;
}
