:root {
  --content: 1089px;
  --side: 24px;
  --text: #111;
  --muted: #858585;
  --cta-bg: #ffd7d2;
  --cta: #c93b00;
  --green: #a8f4bd;
  --label: #dceff7;
  --border: #777;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background: #fff;
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  -webkit-text-size-adjust: 100%;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
.content-width { width: min(var(--content), calc(100% - (var(--side) * 2))); margin-inline: auto; }
.section-space { margin-block: 80px; }
.section-space-top { margin-top: 80px; }

.site-header { padding: 12px 0 0; }
.header-inner {
  width: min(1320px, calc(100% - 48px));
  margin-inline: auto;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}
.site-logo { width: min(620px, 47vw); height: auto; }
.header-contact { color: var(--muted); font-size: 28px; font-weight: 700; line-height: 1.55; text-align: left; white-space: nowrap; }
.header-contact p { margin: 0; }
.header-contact a { text-decoration: none; }

.hero h1 { margin: 0 0 64px; text-align: center; font-size: clamp(28px, 2.7vw, 40px); line-height: 1.45; }
.hero-image { width: 100%; aspect-ratio: 1089 / 600; object-fit: cover; }

.cta-band { min-height: 145px; padding: 27px var(--side); background: var(--cta-bg); display: grid; place-items: center; }
.cta-button {
  width: min(763px, 100%);
  min-height: 90px;
  padding: 16px 40px;
  border-radius: 7px;
  background: var(--cta);
  box-shadow: 0 4px 4px rgb(0 0 0 / .22);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  text-decoration: none;
  font-size: clamp(23px, 2.2vw, 34px);
  font-weight: 700;
  letter-spacing: .04em;
  transition: opacity .2s ease, transform .2s ease;
  position: relative;
}
.cta-button:hover { opacity: .9; transform: translateY(-1px); }
.cta-button > img { width: 32px; height: 39px; object-fit: contain; }
.cta-arrow { width: 22px; height: 22px; border-radius: 50%; background: #fff; position: absolute; right: 40px; top: 50%; transform: translateY(-50%); }
.cta-arrow::after { content: ""; position: absolute; left: 8px; top: 6px; border-top: 5px solid transparent; border-bottom: 5px solid transparent; border-left: 7px solid var(--cta); }

.section-heading-band { width: 100%; min-height: 52px; background: var(--green); display: flex; align-items: center; }
.section-heading-band h2 { margin: 0; color: #6f9b79; font-size: clamp(24px, 2.3vw, 34px); line-height: 1.4; font-weight: 700; }
.class-info-body { padding-top: 80px; }
.info-table { margin: 0; border-top: 1px solid var(--border); border-left: 1px solid var(--border); font-size: 17px; font-weight: 700; }
.info-row { display: grid; grid-template-columns: 300px 1fr; }
.info-row dt, .info-row dd { margin: 0; min-height: 56px; padding: 14px 18px; border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); display: flex; align-items: center; }
.info-row dt { justify-content: center; background: var(--label); text-align: center; }
.info-row dd a { text-decoration: none; }
.flyer { width: 100%; margin-top: 80px; height: auto; }

.video-wrap { width: 100%; aspect-ratio: 16 / 9; background: #111; overflow: hidden; }
.video-wrap iframe { width: 100%; height: 100%; border: 0; display: block; }

.site-footer { background: var(--green); padding: 28px var(--side) 32px; }
.footer-inner { width: min(var(--content), calc(100% - 0px)); margin-inline: auto; display: grid; grid-template-columns: 1.15fr .85fr; gap: 60px; align-items: start; }
.footer-left .association { margin: 0 0 22px; font-size: 16px; }
.footer-left img { width: min(500px, 100%); }
.footer-left .access { margin: 24px 0 0; font-size: 16px; }
.footer-address { margin: 0; font-style: normal; font-size: 22px; font-weight: 700; line-height: 1.55; }
.footer-address a { text-decoration: none; }

@media (max-width: 800px) {
  :root { --side: 10px; }
  .section-space { margin-block: 80px; }
  .section-space-top { margin-top: 80px; }
  .site-header { padding-top: 10px; }
  .header-inner { width: calc(100% - 20px); align-items: center; gap: 10px; }
  .site-logo { width: 58%; max-width: 330px; }
  .header-contact { font-size: clamp(11px, 3.2vw, 17px); line-height: 1.5; }
  .hero h1 { margin-bottom: 40px; font-size: clamp(22px, 6vw, 30px); }
  .hero-image { aspect-ratio: 16 / 9; }
  .cta-band { min-height: auto; padding: 24px 10px; }
  .cta-button { min-height: 64px; padding: 12px 18px; gap: 8px; font-size: clamp(17px, 4.8vw, 23px); }
  .cta-button > img { width: 24px; height: 29px; }
  .cta-arrow { width: 19px; height: 19px; right: 18px; }
  .cta-arrow::after { left: 7px; top: 5px; border-top-width: 4px; border-bottom-width: 4px; border-left-width: 6px; }
  .section-heading-band { min-height: 48px; }
  .section-heading-band h2 { font-size: clamp(20px, 5.5vw, 27px); }
  .class-info-body { padding-top: 80px; }
  .info-table { font-size: 15px; border: 0; }
  .info-row { display: block; margin-bottom: 16px; border: 1px solid var(--border); }
  .info-row:last-child { margin-bottom: 0; }
  .info-row dt, .info-row dd { min-height: 0; padding: 12px 14px; border: 0; }
  .info-row dt { justify-content: flex-start; border-bottom: 1px solid var(--border); text-align: left; }
  .info-row dd { background: #fff; line-height: 1.7; }
  .flyer { margin-top: 80px; }
  .footer-inner { grid-template-columns: 1fr; gap: 30px; }
  .footer-left .association, .footer-left .access { font-size: 13px; }
  .footer-left img { width: min(360px, 90%); }
  .footer-address { font-size: 15px; }
}

@media (max-width: 430px) {
  .header-inner { align-items: flex-start; }
  .site-logo { width: 56%; }
  .hero h1 { font-size: 21px; }
  .cta-button { font-size: 17px; padding-inline: 13px; }
  .cta-button > img { width: 21px; height: 26px; }
  .cta-arrow { width: 18px; height: 18px; right: 13px; }
}
