/* ロールコール 公式サイト（Sky & Navy） */
:root {
  --main-cyan: #17c3cf;
  --main-cyan-dark: #0fa3b1;
  --main-cyan-shade: #0a7f8c;
  --main-cyan-pale: #ddf6f8;
  --base-navy: #1f3a7a;
  --base-navy-deep: #15254f;
  --panel-white: #ffffff;
  --panel-light: #f4f7fb;
  --line-border: #d3dce7;
  --pale-sky: #d9ecfa;
  --ink-navy: #1e2f5c;
  --ink-sub: #5e6f92;
  --ink-link: #2b7bd6;
  --reward-gold: #f6c443;
  --skew: 14px;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--panel-light);
  color: var(--ink-navy);
  font-family: "M PLUS 1p", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  font-weight: 500;
  line-height: 1.8;
}

a {
  color: var(--ink-link);
}

/* ---------- ヘッダー ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line-border);
}

.site-header .inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--base-navy);
  text-decoration: none;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: 0.08em;
}

.logo .mark {
  width: 14px;
  height: 14px;
  background: var(--main-cyan);
  transform: rotate(45deg);
  border-radius: 2px;
  box-shadow: 3px 3px 0 var(--base-navy);
}

.genre-tag {
  display: inline-block;
  padding: 2px 16px 2px 10px;
  background: var(--main-cyan);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  clip-path: polygon(0 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
}

/* ---------- ヒーロー ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 72px 16px 112px;
  background:
    radial-gradient(circle at 85% 20%, rgba(255, 255, 255, 0.9) 0, rgba(255, 255, 255, 0) 45%),
    linear-gradient(160deg, #ffffff 0%, var(--pale-sky) 55%, #bfe6f2 100%);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 48px), 0 100%);
}

/* 網点（右下に向かって薄れる） */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(var(--main-cyan) 1.4px, transparent 1.6px);
  background-size: 14px 14px;
  opacity: 0.22;
  -webkit-mask-image: linear-gradient(115deg, transparent 35%, #000 100%);
  mask-image: linear-gradient(115deg, transparent 35%, #000 100%);
  pointer-events: none;
}

/* 斜めの帯 */
.hero::after {
  content: "";
  position: absolute;
  right: -10%;
  top: 38%;
  width: 70%;
  height: 120px;
  background: linear-gradient(90deg, rgba(23, 195, 207, 0) 0%, rgba(23, 195, 207, 0.25) 100%);
  transform: skewY(-12deg);
  pointer-events: none;
}

.hero .inner {
  position: relative;
  z-index: 1;
  max-width: 1080px;
  margin: 0 auto;
}

.hero .eyebrow {
  margin: 0 0 8px;
  color: var(--main-cyan-shade);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.4em;
}

.hero h1 {
  margin: 0;
  color: var(--base-navy);
  font-size: clamp(44px, 11vw, 96px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: 0.04em;
  text-shadow: 3px 3px 0 #fff, 6px 6px 0 rgba(23, 195, 207, 0.35);
}

.hero .lead {
  margin: 20px 0 0;
  max-width: 560px;
  font-size: clamp(15px, 2.4vw, 18px);
  font-weight: 700;
}

.store-row {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.store-button {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  min-width: 180px;
  padding: 8px 28px 8px 18px;
  background: var(--base-navy);
  color: #fff;
  text-decoration: none;
  line-height: 1.3;
  clip-path: polygon(0 0, 100% 0, calc(100% - var(--skew)) 100%, 0 100%);
  box-shadow: 0 3px 0 var(--base-navy-deep);
}

.store-button small {
  font-size: 11px;
  opacity: 0.8;
}

.store-button span {
  font-size: 17px;
  font-weight: 800;
}

.coming-soon {
  display: inline-block;
  padding: 4px 16px;
  border-radius: 999px;
  background: var(--panel-white);
  border: 1px solid var(--line-border);
  color: var(--ink-sub);
  font-size: 13px;
  font-weight: 800;
}

/* ---------- セクション ---------- */
main {
  display: block;
}

.section {
  max-width: 1080px;
  margin: 0 auto;
  padding: 48px 16px;
}

.section-label {
  display: inline-block;
  margin: 0 0 24px;
  padding: 4px 32px 4px 16px;
  background: var(--main-cyan);
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.06em;
  clip-path: polygon(0 0, 100% 0, calc(100% - var(--skew)) 100%, 0 100%);
}

.section-label small {
  margin-left: 10px;
  font-size: 11px;
  letter-spacing: 0.3em;
  opacity: 0.85;
}

.academy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(150px, 100%), 1fr));
  gap: 14px;
}

.academy-card {
  position: relative;
  padding: 18px 20px 18px 24px;
  background: var(--panel-white);
  border: 1px solid var(--line-border);
  border-radius: 4px;
  box-shadow: 0 3px 8px rgba(31, 58, 122, 0.08);
  overflow: hidden;
}

.academy-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 8px;
  background: var(--academy);
}

.academy-card .romaji {
  display: block;
  color: var(--ink-sub);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.3em;
}

.academy-card .name {
  display: block;
  font-size: 20px;
  font-weight: 800;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
  gap: 16px;
}

.feature {
  padding: 22px 22px 24px;
  background: var(--panel-white);
  border: 1px solid var(--line-border);
  border-radius: 4px;
  box-shadow: 0 3px 8px rgba(31, 58, 122, 0.08);
}

.feature .no {
  display: inline-block;
  margin-bottom: 6px;
  color: var(--main-cyan-dark);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.2em;
}

.feature h3 {
  margin: 0 0 8px;
  font-size: 19px;
  font-weight: 800;
}

.feature p {
  margin: 0;
  color: var(--ink-sub);
  font-size: 14px;
}

.contact-panel {
  padding: 22px;
  background: var(--panel-white);
  border: 1px solid var(--line-border);
  border-radius: 4px;
}

.contact-panel p {
  margin: 0;
}

/* ---------- 規約などの文書 ---------- */
.doc {
  max-width: 860px;
  margin: 32px auto 56px;
  padding: 0 16px;
}

.doc-panel {
  background: var(--panel-white);
  border: 1px solid var(--line-border);
  border-radius: 4px;
  box-shadow: 0 3px 8px rgba(31, 58, 122, 0.08);
  padding: 28px clamp(18px, 4vw, 40px) 36px;
}

.doc h1 {
  display: inline-block;
  margin: 0 0 6px;
  padding: 6px 36px 6px 16px;
  background: var(--main-cyan);
  color: #fff;
  font-size: clamp(18px, 3.6vw, 24px);
  font-weight: 800;
  line-height: 1.4;
  clip-path: polygon(0 0, 100% 0, calc(100% - var(--skew)) 100%, 0 100%);
}

.doc .updated {
  margin: 0 0 24px;
  color: var(--ink-sub);
  font-size: 13px;
}

.doc h2 {
  margin: 32px 0 10px;
  padding-left: 12px;
  border-left: 4px solid var(--main-cyan);
  font-size: 17px;
  font-weight: 800;
  line-height: 1.5;
}

.doc p,
.doc li {
  font-size: 15px;
}

.doc ol,
.doc ul {
  padding-left: 1.4em;
}

.doc li + li {
  margin-top: 4px;
}

.doc table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.doc th,
.doc td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--line-border);
  text-align: left;
  vertical-align: top;
}

.doc th {
  width: 34%;
  background: var(--panel-light);
  font-weight: 800;
}

.doc .note {
  color: var(--ink-sub);
  font-size: 13px;
}

/* ---------- フッター ---------- */
.site-footer {
  background: linear-gradient(180deg, var(--base-navy) 0%, var(--base-navy-deep) 100%);
  color: #fff;
  clip-path: polygon(0 24px, 100% 0, 100% 100%, 0 100%);
  padding: 56px 16px 32px;
}

.site-footer .inner {
  max-width: 1080px;
  margin: 0 auto;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-bottom: 20px;
}

.site-footer a {
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--main-cyan);
}

.site-footer small {
  display: block;
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
}

@media (max-width: 560px) {
  .genre-tag {
    display: none;
  }

  .hero {
    padding-top: 48px;
  }

  .doc th,
  .doc td {
    display: block;
    width: 100%;
  }

  .doc th {
    border-bottom: none;
    padding-bottom: 4px;
  }

  .doc td {
    padding-top: 4px;
  }
}
