:root {
  --blue: #053ca5;
  --blue-deep: #001f72;
  --yellow: #ffd51f;
  --ink: #050505;
  --paper: #f8f8f5;
  --line: rgba(5, 5, 5, 0.18);
  --white-line: rgba(255, 255, 255, 0.38);
  --font-wide: Impact, "Arial Narrow", "Helvetica Condensed", sans-serif;
  --font-body: "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.8;
}

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

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: minmax(250px, 1fr) auto auto;
  align-items: stretch;
  min-height: 86px;
  color: #fff;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.22));
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 18px clamp(18px, 4vw, 54px);
  letter-spacing: 0;
}

.brand-logo {
  width: 58px;
  height: 58px;
  flex: 0 0 auto;
  object-fit: cover;
  border-radius: 4px;
}

.brand-text {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.brand-main,
.section-kicker,
.hero h1,
.gallery-title h2,
.block-label,
.intro-text h2,
.details h2,
.schedule-band h2,
.coach-faq h2,
.join-instagram h2 {
  font-family: var(--font-wide);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.96;
}

.brand-main {
  font-family: var(--font-body);
  font-size: clamp(17px, 2.1vw, 28px);
  font-weight: 900;
  line-height: 1.18;
  white-space: nowrap;
}

.brand-sub {
  margin-top: 3px;
  font-family: var(--font-wide);
  font-size: 13px;
  letter-spacing: 1.3px;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.6vw, 40px);
  padding: 0 30px;
  font-family: var(--font-wide);
  font-size: 14px;
  letter-spacing: 1.1px;
}

.nav a {
  opacity: 0.92;
}

.header-contact {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding: 0 clamp(22px, 4vw, 54px);
  background: var(--blue);
  font-family: var(--font-wide);
  font-size: 14px;
  letter-spacing: 1.1px;
}

.hero {
  position: relative;
  min-height: 560px;
  height: 86svh;
  max-height: 760px;
  overflow: hidden;
  color: #fff;
  background: #000;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 45% center;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.52) 34%, rgba(0, 0, 0, 0.1) 76%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.24), rgba(0, 0, 0, 0.1));
}

.hero-content {
  position: absolute;
  left: clamp(22px, 5vw, 64px);
  bottom: clamp(86px, 17vh, 180px);
  max-width: min(1120px, calc(100% - 44px));
}

.eyebrow {
  margin: 0 0 24px;
  color: var(--yellow);
  font-family: var(--font-wide);
  letter-spacing: 2px;
}

.hero h1 {
  margin: 0;
  font-size: clamp(64px, 8vw, 118px);
  text-shadow: 0 8px 30px rgba(0, 0, 0, 0.45);
}

@media (min-width: 681px) {
  .hero h1 {
    white-space: nowrap;
  }
}

.hero-copy {
  margin: 26px 0 30px;
  font-size: clamp(20px, 2.4vw, 30px);
  font-weight: 800;
  letter-spacing: 0.08em;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  min-height: 60px;
  padding: 0 38px;
  border: 1px solid currentColor;
  font-family: var(--font-wide);
  font-size: 15px;
  letter-spacing: 1.4px;
  white-space: nowrap;
}

.button-outline {
  color: #fff;
  background: rgba(0, 0, 0, 0.08);
}

.button-dark {
  color: var(--ink);
  background: transparent;
}

.hero-instagram {
  position: absolute;
  right: clamp(22px, 5vw, 64px);
  bottom: 54px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-wide);
  letter-spacing: 1.2px;
  text-align: left;
}

.hero-instagram-text {
  display: grid;
  gap: 0;
}

.hero-instagram-text span {
  font-size: 13px;
}

.hero-instagram-text strong {
  font-size: 20px;
}

.hero-instagram-mark {
  width: 38px;
  height: 38px;
  stroke-width: 1.8;
}

.intro {
  display: grid;
  grid-template-columns: 37% 63%;
  grid-template-rows: auto auto;
  min-height: 500px;
  background: #fff;
}

.intro-blue {
  position: relative;
  display: flex;
  align-items: center;
  gap: 44px;
  padding: 70px 42px;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 65% 70%, rgba(255, 255, 255, 0.12), transparent 31%),
    linear-gradient(135deg, var(--blue-deep), var(--blue));
  grid-row: 1 / 3;
}

.intro-blue::after,
.join-panel::after {
  content: "CORSAIRS";
  position: absolute;
  right: -20px;
  bottom: -34px;
  color: rgba(255, 255, 255, 0.08);
  font-family: Georgia, serif;
  font-size: clamp(70px, 11vw, 150px);
  font-weight: 900;
  line-height: 1;
}

.intro-logo {
  width: clamp(96px, 12vw, 150px);
  aspect-ratio: 1;
  height: auto;
  margin: 0 0 22px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  object-fit: cover;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.28);
}

.since,
.vertical-title,
.side-copy {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-family: var(--font-wide);
  letter-spacing: 2.5px;
}

.since,
.side-copy {
  color: var(--yellow);
  font-size: 21px;
}

.section-kicker {
  margin: 0;
  font-size: clamp(58px, 7vw, 96px);
}

.intro-team-title {
  margin: 0 0 8px;
  color: var(--yellow);
  font-family: var(--font-body);
  font-size: clamp(20px, 2.7vw, 34px);
  font-weight: 900;
  line-height: 1.2;
}

.team-name {
  margin: 8px 0 0;
  font-family: var(--font-wide);
  font-size: clamp(22px, 2.4vw, 34px);
  letter-spacing: 1.4px;
}

.intro-main,
.news-panel {
  display: flex;
  gap: 44px;
  padding: 72px clamp(28px, 4vw, 62px);
}

.intro-main {
  grid-column: 2;
  grid-row: 1;
}

.vertical-title {
  align-self: flex-start;
  padding-bottom: 74px;
  border-bottom: 2px solid var(--blue);
  color: var(--blue);
  font-size: 28px;
}

.intro-text h2,
.details h2,
.schedule-band h2,
.coach-faq h2,
.join-instagram h2 {
  margin: 0 0 30px;
  font-size: clamp(34px, 4.4vw, 60px);
}

.intro-text p {
  margin: 0 0 14px;
  max-width: 520px;
  font-weight: 600;
}

.intro-text p:last-child {
  margin-bottom: 0;
  font-weight: 800;
}

.news-panel {
  grid-column: 2;
  grid-row: 2;
  border-top: 1px solid var(--line);
}

.news-panel ul {
  display: grid;
  gap: 0;
  margin: 0 0 34px;
  padding: 0;
  list-style: none;
}

.news-panel li {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.7;
}

.news-panel time {
  display: block;
  font-family: var(--font-wide);
  font-size: 15px;
}

.gallery {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 28px;
  padding: 42px clamp(22px, 4vw, 54px) 54px;
  color: #fff;
  background: #000;
}

.gallery-title {
  display: flex;
  justify-content: center;
}

.gallery-title h2 {
  margin: 0;
  writing-mode: vertical-rl;
  font-size: 44px;
  letter-spacing: 4px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}

.gallery-grid img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border: 1px solid var(--white-line);
}

.details {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  min-height: 560px;
  background: #fff;
}

.detail-block {
  padding: clamp(54px, 7vw, 92px) clamp(28px, 6vw, 80px);
}

.block-label {
  margin: 0 0 26px;
  color: var(--blue);
  font-size: 27px;
}

.info-list {
  display: grid;
  gap: 18px;
  margin: 0;
}

.info-list div {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.info-list dt {
  color: var(--blue);
  font-family: var(--font-wide);
  font-size: 18px;
}

.info-list dd {
  margin: 0;
  font-weight: 700;
}

.photo-panel img {
  width: 100%;
  height: 100%;
  min-height: 460px;
  object-fit: cover;
}

.schedule-band {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(28px, 6vw, 80px);
  padding: clamp(54px, 7vw, 86px) clamp(24px, 6vw, 86px);
  color: #fff;
  background: #000;
}

.schedule-band .block-label,
.coach .block-label,
.join-panel .block-label {
  color: var(--yellow);
}

.schedule-list {
  display: grid;
  gap: 16px;
  align-content: center;
}

.schedule-list p {
  display: grid;
  grid-template-columns: minmax(170px, 0.46fr) 1fr;
  gap: 18px;
  margin: 0;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--white-line);
}

.schedule-list strong {
  font-family: var(--font-wide);
  font-size: 20px;
  line-height: 1.25;
}

.schedule-list span {
  font-weight: 700;
  line-height: 1.8;
}

.course-card {
  padding: 24px 26px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.06);
}

.course-card h3 {
  margin: 0 0 14px;
  color: var(--yellow);
  font-family: var(--font-wide);
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1;
}

.course-card p {
  display: block;
  margin: 0 0 14px;
  padding: 0;
  border: 0;
  font-weight: 700;
  line-height: 1.9;
}

.course-card p:last-child {
  margin-bottom: 0;
}

.course-lead {
  color: #fff;
  font-size: 20px;
}

.course-time {
  color: var(--yellow);
  font-family: var(--font-wide);
  font-size: 18px;
  letter-spacing: 1px;
}

.coach-faq {
  display: grid;
  grid-template-columns: 2fr 1fr;
  background: var(--paper);
}

.coach,
.faq {
  padding: clamp(48px, 6vw, 84px) clamp(28px, 6vw, 78px);
}

.coach {
  color: #fff;
  background:
    linear-gradient(rgba(0, 31, 114, 0.86), rgba(0, 31, 114, 0.86)),
    url("assets/circle.jpg") center / cover;
}

.coach-copy > p:not(.block-label),
.join-panel p:not(.block-label) {
  max-width: 520px;
  font-weight: 700;
}

.coach-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 5vw, 56px);
  align-items: center;
}

.coach-photo {
  margin: 0;
  align-self: stretch;
}

.coach-photo img {
  width: 100%;
  max-height: 760px;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 24px 42px rgba(0, 0, 0, 0.36));
}

.coach-photo figcaption {
  margin-top: 12px;
  color: var(--yellow);
  font-family: var(--font-wide);
  font-size: 18px;
  letter-spacing: 1px;
}

.coach-profile {
  display: grid;
  gap: 20px;
  max-width: 720px;
  margin-top: 32px;
}

.coach-profile-block {
  padding: 22px 24px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  background: rgba(0, 0, 0, 0.22);
}

.coach-profile h3 {
  margin: 0 0 14px;
  color: var(--yellow);
  font-family: var(--font-wide);
  font-size: 24px;
  letter-spacing: 1px;
  line-height: 1;
}

.coach-profile ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.coach-profile li {
  position: relative;
  padding-left: 20px;
  font-weight: 800;
  line-height: 1.65;
}

.coach-profile li::before {
  content: "";
  position: absolute;
  top: 0.75em;
  left: 0;
  width: 8px;
  height: 8px;
  background: var(--yellow);
}

details {
  border-top: 1px solid var(--line);
}

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

summary {
  cursor: pointer;
  padding: 22px 0;
  font-weight: 800;
}

details p {
  margin: 0 0 22px;
}

.join-instagram {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 420px;
}

.instagram-panel,
.join-panel {
  padding: clamp(44px, 6vw, 72px) clamp(28px, 6vw, 78px);
}

.thumbs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 26px 0 32px;
}

.thumbs img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.instagram-widget {
  margin: 26px 0 32px;
}

.lightwidget-widget {
  display: block;
  width: 100%;
  min-height: 180px;
  border: 0;
  overflow: hidden;
}

.join-panel {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--blue-deep));
}

.join-panel > *:not(.side-copy) {
  position: relative;
  z-index: 1;
}

.side-copy {
  position: absolute;
  right: 28px;
  top: 36px;
  z-index: 1;
}

.footer {
  display: grid;
  grid-template-columns: minmax(160px, 0.8fr) 1fr 64px;
  align-items: center;
  gap: 20px;
  padding-right: 34px;
  color: #fff;
  background: #000;
}

.footer .brand {
  padding-top: 24px;
  padding-bottom: 24px;
}

.footer .brand-main {
  font-size: 32px;
}

.footer .brand-logo {
  width: 50px;
  height: 50px;
}

.footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 34px;
  justify-content: center;
  font-family: var(--font-wide);
  font-size: 14px;
  letter-spacing: 1.2px;
}

.footer-social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.footer-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
}

.instagram-mark {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: #fff;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.line-mark {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.footer small {
  grid-column: 1 / -1;
  padding: 0 0 24px;
  text-align: center;
  font-family: var(--font-wide);
  font-size: 11px;
  letter-spacing: 1.1px;
  opacity: 0.78;
}

@media (max-width: 1050px) {
  .site-header {
    grid-template-columns: minmax(220px, 1fr) auto;
  }

  .nav {
    display: none;
  }

  .intro,
  .details,
  .schedule-band,
  .coach-faq,
  .join-instagram {
    grid-template-columns: 1fr;
  }

  .intro {
    grid-template-rows: auto;
  }

  .intro-blue,
  .intro-main,
  .news-panel {
    grid-column: auto;
    grid-row: auto;
  }

  .intro-blue {
    min-height: 330px;
  }

  .news-panel {
    border-top: 1px solid var(--line);
  }

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

@media (max-width: 680px) {
  .site-header {
    min-height: 74px;
  }

  .brand {
    padding: 14px 18px;
    gap: 10px;
  }

  .brand-logo {
    width: 46px;
    height: 46px;
  }

  .brand-main {
    font-size: 17px;
  }

  .brand-sub {
    font-size: 11px;
  }

  .header-contact {
    padding: 0 18px;
    font-size: 12px;
  }

  .hero {
    min-height: 560px;
    height: 88svh;
  }

  .hero-image {
    object-position: 52% center;
  }

  .hero-content {
    bottom: 118px;
  }

  .hero h1 {
    font-size: 58px;
  }

  .hero-copy {
    font-size: 18px;
  }

  .button {
    width: 100%;
    min-height: 56px;
    padding: 0 22px;
    font-size: 13px;
  }

  .hero-instagram {
    left: 22px;
    right: auto;
    bottom: 32px;
  }

  .intro-blue,
  .intro-main,
  .news-panel {
    padding: 42px 24px;
  }

  .intro-main,
  .news-panel {
    gap: 24px;
  }

  .section-kicker {
    font-size: 56px;
  }

  .team-name {
    font-size: 20px;
  }

  .vertical-title {
    font-size: 22px;
  }

  .intro-text h2,
  .details h2,
  .schedule-band h2,
  .coach-faq h2,
  .join-instagram h2 {
    font-size: 36px;
  }

  .gallery {
    grid-template-columns: 1fr;
    padding: 32px 18px 40px;
  }

  .gallery-title {
    justify-content: flex-start;
  }

  .gallery-title h2 {
    writing-mode: horizontal-tb;
    font-size: 34px;
  }

  .gallery-grid {
    gap: 12px;
  }

  .gallery-grid img {
    height: 160px;
  }

  .detail-block,
  .coach,
  .faq,
  .instagram-panel,
  .join-panel,
  .schedule-band {
    padding: 42px 24px;
  }

  .photo-panel img {
    min-height: 360px;
  }

  .coach-layout {
    grid-template-columns: 1fr;
  }

  .coach-photo {
    max-width: 340px;
  }

  .info-list div,
  .schedule-list p {
    grid-template-columns: 1fr;
    gap: 4px;
  }

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

  .footer {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 18px 16px 28px;
    text-align: center;
  }

  .footer .brand {
    width: 100%;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 10px 0 0;
  }

  .footer .brand-main {
    max-width: 100%;
    font-size: 20px;
    line-height: 1.35;
    white-space: normal;
  }

  .footer .brand-sub {
    font-size: 12px;
  }

  .footer nav {
    width: 100%;
    gap: 12px 18px;
    font-size: 12px;
    justify-content: center;
  }

  .footer-social {
    justify-self: center;
  }

  .footer small {
    padding: 0;
    font-size: 10px;
    line-height: 1.6;
  }
}
