@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Jost:wght@400;500;700;800&family=Noto+Sans+JP:wght@400;500;700;800;900&display=swap");

:root {
  --black: #111;
  --white: #fff;
  --yellow: #f4e500;
  --pink: #f4a8c6;
  --gray: #e2e2e3;
  --beige: #d9d4cb;
  --field: #e2e2e3;
  --required: #e23b2e;
  --optional: #2f6fd0;
  --qa-bg: #ecf3c9;
  --measure: 1280px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Jost", "Noto Sans JP", sans-serif;
  color: var(--black);
  background: var(--white);
  line-height: 1.7;
  letter-spacing: 0.02em;
  font-size: 16px;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: inherit;
}
:where(a, button, summary, input, select, textarea):focus-visible {
  outline: 3px solid var(--optional);
  outline-offset: 2px;
}

/* ===== .inner ===== */
.inner {
  max-width: var(--measure);
  margin-inline: auto;
  padding-inline: 40px;
}

main > section {
  padding-block: 80px;
}

/* ===== utility ===== */
.utility {
  font-size: 13px;
  font-weight: 700;
}
.utility .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 8px;
}
.utility a {
  text-decoration: none;
}
.utility a:hover {
  text-decoration: underline;
}
.utility img {
  width: 100px;
}
/* the in-card utility (inside header) is mobile-only */
header .utility {
  display: none;
}

/* ===== header (tag selector) ===== */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--black);
  color: #fff;
}
header .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 60px;
}
header h1 {
  margin: 0;
  line-height: 1;
}
header h1 a {
  display: block;
}
header h1 img {
  width: clamp(180px, 26vw, 280px);
}

/* nav toggle (mobile) */
.nav-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--black);
  cursor: pointer;
}
.nav-toggle span {
  width: 22px;
  height: 1px;
  background: #fff;
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-nav > ul {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 24px);
}
.site-nav > ul > li > a,
.site-nav > ul > li > button {
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  white-space: nowrap;
  display: block;
  background: transparent;
  border: 0;
  color: #fff;
  cursor: pointer;
  font-family: inherit;
  padding: 4px 0;
}

/* accordion sub-nav: "セミナーを探す" */
.has-sub {
  position: relative;
}
.has-sub > button {
  background: var(--yellow) !important;
  color: var(--black) !important;
  padding: 8px 16px !important;
  font-weight: 800;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.has-sub > button span {
  font-size: 18px;
  line-height: 1;
}
.has-sub > ul {
  position: absolute;
  top: 100%;
  right: 0;
  background: #6b6b6b;
  min-width: 240px;
  display: none;
  z-index: 200;
}
.has-sub.open > ul {
  display: block;
}
.has-sub > ul > li {
  border-bottom: 1px solid #888;
}
.has-sub > ul > li:last-child {
  border-bottom: 0;
}
.has-sub > ul > li a {
  display: block;
  padding: 14px 20px;
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  color: #fff;
  text-align: center;
}
.has-sub > ul > li a:hover {
  background: rgba(255, 255, 255, 0.1);
}
.has-sub > ul > li.disable a {
  color: #aaa;
  pointer-events: none;
}

/* ===== hero ===== */
.hero {
  aspect-ratio: 1440 / 810;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
#hero-top {
  aspect-ratio: auto;
  display: block;
  overflow: hidden;
  position: relative;
  background: url("../images/bg_gradation_top.png") center / cover no-repeat;
  padding-block: clamp(20px, 4vw, 56px);
}
#hero-top ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  transform: translateX(0);
}
#hero-top li {
  flex: 0 0 80%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.6;
  transition: opacity 0.6s ease;
}
#hero-top li[data-active] {
  opacity: 1;
}
#hero-top picture {
  display: block;
  width: 100%;
}
#hero-top li img {
  display: block;
  width: 100%;
  max-width: var(--measure);
  height: auto;
  margin-inline: auto;
}
#hero-top button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: clamp(48px, 4.6vw, 60px);
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}
#hero-top button[data-dir="prev"] {
  left: clamp(8px, 2vw, 24px);
}
#hero-top button[data-dir="next"] {
  right: clamp(8px, 2vw, 24px);
}
#hero-top button img {
  display: block;
  width: 100%;
  height: auto;
}
#hero-seminar {
  aspect-ratio: auto;
  overflow: visible;
  background: url("../images/bg_gradation_seminar_heighschool.png") center / cover no-repeat;
  padding-block: clamp(20px, 4vw, 56px);
}
#hero-seminar img {
  width: 100%;
  max-width: var(--measure);
  height: auto;
  object-fit: initial;
  margin-inline: auto;
}
#hero-lower {
  aspect-ratio: 1440 / 340;
  overflow: hidden;
  background: url("../images/bg_gradation_lower.png") center / cover no-repeat;
}
#hero-lower img {
  width: 100%;
  max-width: var(--measure);
  height: auto;
  object-fit: contain;
  margin-inline: auto;
}

/* ===== .secTtl (section title with ribbon) ===== */
.secTtl {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  margin: 0 0 40px;
}
#news .secTtl {
  background: var(--black);
  display: flex;
  align-items: baseline;
  line-height: 1;
  padding: 0.5em 1em;
  margin-bottom: 0;
}
#news .secTtl img {
  height: 28px;
  width: auto;
}
#news .secTtl span {
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

#qa .secTtl img {
  height: 52px;
  width: auto;
}
#qa .secTtl span {
  font-size: 18px;
  font-weight: 700;
}

/* ===== banner-title ===== */
.banner-title {
  background: var(--black);
  color: #fff;
  text-align: center;
  font-size: clamp(1.3rem, 4.5vw, 1.9rem);
  font-weight: 800;
  padding: 16px;
  margin: 0;
  letter-spacing: 0.06em;
}
.banner-lead {
  text-align: center;
  margin: 16px 0 40px;
}
.banner-lead .alert {
  color: var(--required);
  display: block;
  font-weight: 700;
}

/* ===== buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  text-align: center;
  border: 2px solid var(--black);
  background: var(--white);
  color: var(--black);
  padding: 12px 24px;
  box-shadow: 4px 4px 0 var(--black);
  transition:
    transform 0.08s,
    box-shadow 0.08s;
  font-family: inherit;
  font-size: 14px;
}
.btn:active {
  transform: translate(3px, 3px);
  box-shadow: 1px 1px 0 var(--black);
}
.btn.primary {
  background: var(--yellow);
  font-size: clamp(1.2rem, 3.4vw, 1.5rem);
  padding: 16px 32px;
}
.btn .arrow::after {
  content: "\25B6";
  font-size: 0.75em;
}

.btn-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  font-weight: 700;
  border: 2px solid currentColor;
  border-radius: 999px;
  padding: 10px 28px;
  background: transparent;
  cursor: pointer;
  font-size: 15px;
  font-family: inherit;
}
.btn-pill:hover {
  background: rgba(255, 255, 255, 0.12);
}

.actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin-top: 40px;
}

/* ===== NEWS ===== */
#news {
  background: var(--gray);
}
.news {
  list-style: none;
  margin: 0;
  padding: 0;
}
.news li {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 24px;
  align-items: baseline;
  padding: 1em 0;
  border-bottom: 2px solid var(--black);
}
.news time {
  font-family: "Jost", sans-serif;
  font-weight: 500;
  font-size: 1.5rem;
  font-variant-numeric: tabular-nums;
}
.news a {
  text-decoration: none;
  font-weight: 700;
}
.news a:hover {
  text-decoration: underline;
}

/* ===== SEMINARS ===== */
#seminars {
  background: var(--white);
}

.seminars-copy {
  text-align: center;
  margin: 0 auto 16px;
  position: relative;
  padding-top: 7%;
}
.seminars-copy::before {
  content: "";
  display: block;
  width: 10%;
  padding-top: calc(76% * 0.1);
  background: url("../images/symbol_yen.svg") center / cover no-repeat;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-27%);
}
.seminars-copy img {
  max-width: 60vw;
  margin-inline: auto;
}

.seminars-sub {
  text-align: center;
  margin: 0 0 3.5em;
}
.seminars-sub br:first-of-type {
  display: none;
}

#seminars .secTtl img {
  height: auto;
  max-width: 480px;
}

.seminars {
  display: grid;
  gap: 40px;
}

.seminar-card {
  display: grid;
  gap: 2em;
  grid-template-columns: 1fr 1.75fr;
  align-items: start;
}
.seminar-card figure {
  margin: 0;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}
.seminar-card figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.tags {
  display: flex;
  gap: 14px;
  margin: 0 0 12px;
}
.tag {
  border: 1px solid var(--black);
  font-size: 13px;
  font-weight: 700;
  padding: 1px 12px;
}
.seminar-card h3 {
  margin: 0 0 10px;
  background: var(--yellow);
  display: inline-block;
  font-size: 1.4rem;
  line-height: 1.1;
  font-weight: 700;
}
.seminar-card dl {
  margin: 0 0 16px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 12px;
  font-size: 14px;
}
.seminar-card dt {
  font-weight: 700;
  white-space: nowrap;
}
.seminar-card dd {
  margin: 0;
  font-weight: 700;
}

/* seminar card link buttons - border all around + shadow */
.links {
  position: relative;
}
.links .btn {
  display: inline-block;
  font-size: 14px;
  padding: 1em 1em;
  border-top: 1px solid var(--black);
  border-bottom: 1px solid var(--black);
  border-left: none;
  border-right: none;
  box-shadow: none;
  margin-right: 1em;
  line-height: 1.4;
  translate: 0.3s;
}
.links .btn:hover {
  background: #ececec;
}
.links .btn .arrow::after {
  margin-left: 1em;
}
.links.disable .btn {
  display: none;
}
.links.disable::before {
  content: "COMING SOON";
  display: inline-block;
  font-size: 14px;
  letter-spacing: 0.1em;
  padding: 1em 1em;
  border-top: 1px solid var(--black);
  border-bottom: 1px solid var(--black);
  line-height: 1.4;
}

/* ===== Q&A ===== */
#qa {
  background: var(--qa-bg);
  border-top: solid 2px var(--black);
  border-bottom: solid 2px var(--black);
  padding-block: 100px;
}
#qa .secTtl {
  border-bottom: solid 2px var(--black);
  margin-bottom: 0.5rem;
  padding: 0 1.5rem;
}
.qa details {
  border-bottom: 2px solid var(--black);
}
.qa summary {
  list-style: none;
  cursor: pointer;
  padding: 1em 1.5rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 17px;
}
.qa summary::-webkit-details-marker {
  display: none;
}
.qa summary .q {
  font-family: "Jost", sans-serif;
  font-weight: 600;
  font-size: 1.9rem;
  flex-shrink: 0;
}
.qa summary::after {
  content: "";
  margin-left: auto;
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: var(--black);
  background-image: linear-gradient(var(--qa-bg), var(--qa-bg)), linear-gradient(var(--qa-bg), var(--qa-bg));
  background-size:
    50% 2px,
    2px 50%;
  background-position: center;
  background-repeat: no-repeat;
}
.qa details[open] summary::after {
  background-size:
    50% 2px,
    0 0;
}
.qa .answer {
  padding: 0 1.5rem 1em;
}
.qa .answer p {
  margin-block-start: 0;
}

/* ===== logo rows ===== */
.logo-row {
  margin-block: 40px;
}
.logo-row h2 {
  text-align: center;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 0 0 24px;
}
.logo-row h2::before,
.logo-row h2::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--black);
  max-width: 200px;
}
.logo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.logo-grid span {
  background: #c9c9c9;
  aspect-ratio: 16 / 5;
}
.logo-grid.host {
  grid-template-columns: 1fr;
  max-width: 480px;
  margin-inline: auto;
}
.logo-grid.host > span {
  max-width: 240px;
  margin-inline: auto;
  aspect-ratio: 16 / 4;
}
.logo-grid.host .sub {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.logos img {
  display: block;
  width: 100%;
  height: auto;
  text-align: center;
  margin: 0 auto;
}
.logos .tse {
  width: 160px;
}
.logos .tse img {
  width: 110px;
}
.logos .fsa {
  width: 160px;
}
.logos .j-flec {
  width: 200px;
}
.logos .tokyo {
  width: 130px;
}
.logos li span {
  display: block;
  text-align: center;
  font-size: 13px;
  padding-top: 1em;
  white-space: nowrap;
  font-weight: 500;
  letter-spacing: 0;
}
.logos li span em {
  font-style: normal;
  display: block;
  font-weight: 400;
  text-align: center;
  font-size: 11px;
}

.center-head {
  text-align: center;
  font-size: clamp(1.4rem, 5vw, 2rem);
  font-weight: 800;
  margin: 48px 0 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}
.center-head::before,
.center-head::after {
  content: "";
  flex: 1;
  height: 4px;
  background: var(--black);
}

/* year buttons - using shadow_box.svg */
.years {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  padding-bottom: 12px;
  max-width: 40em;
  margin: 0 auto;
}
.year-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.5em 2em 0.75em;
  font-weight: 800;
  font-size: 18px;
  text-decoration: none;
  color: var(--black);
  background: url("../images/shadow_box.svg") center / 100% 100% no-repeat;
  min-width: 180px;
  justify-content: center;
}
.year-btn span {
  font-size: 10px;
}

/* ===== seminar detail ===== */
.ribbon {
  display: inline-block;
  background: var(--black);
  color: #fff;
  font-weight: 800;
  font-size: clamp(1.25rem, 4vw, 1.75rem);
  padding: 2px 8px;
  margin: 0 0 10px;
  letter-spacing: 0.04em;
}
.ribbon img {
  height: clamp(30px, 4vw, 50px);
  width: auto;
  display: block;
}
.breadcrumb {
  font-size: 14px;
  margin: 24px auto;
}
.breadcrumb ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
}
.breadcrumb li + li::before {
  content: ">";
  margin-right: 8px;
}
.breadcrumb a {
  text-decoration: none;
}

/* ===== steps (3 balloons + decorations) ===== */
.steps {
  position: relative;
  overflow: hidden;
  padding-block: 0 !important;
  padding-bottom: 80px;
}
.lead-copy {
  margin: 8px 0 0;
  text-align: center;
}
.lead-copy img {
  width: min(640px, 84%);
  margin-inline: auto;
}
.lead-sub {
  text-align: center;
  padding: 24px 0 0;
  font-size: 18px;
}
.lead-sub br {
  display: none;
}
.lead-sub mark {
  background: transparent;
  color: #e95599;
  font-weight: 700;
}
.steps .balloons {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: clamp(4px, 1.5vw, 24px);
  max-width: var(--measure);
  margin-inline: auto;
  padding: 40px 0 10vw;
}
.steps .balloons figure {
  position: relative;
  margin: 0;
  width: min(32%, 360px);
}
.steps .balloons figure:nth-child(1) {
  margin-top: clamp(48px, 7vw, 104px);
}
.steps .balloons figure:nth-child(2) {
  margin-top: clamp(20px, 3.5vw, 52px);
}
.steps .balloons figure img {
  width: 100%;
}
.steps .balloons figure::before,
.steps .balloons figure::after {
  content: "";
  position: absolute;
  width: clamp(14px, 1.6vw, 23px);
  aspect-ratio: 22.72 / 24.93;
  background: url("../images/object_star.svg") center / contain no-repeat;
  z-index: 3;
}
/* balloon01: top-left + bottom-right */
.steps .balloons figure:nth-child(1)::before {
  top: 8%;
  left: -7%;
}
.steps .balloons figure:nth-child(1)::after {
  bottom: 20%;
  right: -3%;
}
/* balloon02 & 03: top-right + bottom-right */
.steps .balloons figure:nth-child(2)::before,
.steps .balloons figure:nth-child(3)::before {
  top: 6%;
  right: -7%;
}
.steps .balloons figure:nth-child(2)::after,
.steps .balloons figure:nth-child(3)::after {
  bottom: 20%;
  right: -3%;
}

/* decorations */
.steps .hill,
.steps .bill,
.steps .pig,
.steps .coin,
.steps .circle {
  position: absolute;
  display: block;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  pointer-events: none;
}
.steps .hill {
  left: 0;
  bottom: 0;
  width: 100%;
  aspect-ratio: 1439 / 194;
  background-image: url("../images/hill.png");
  background-size: 100% 100%;
  z-index: 0;
}
.steps .bill {
  left: 9%;
  bottom: 2vw;
  width: clamp(70px, 8vw, 116px);
  aspect-ratio: 113.48 / 128.34;
  z-index: 1;
  background-image: url("../images/object_bill.svg");
}
.steps .pig {
  left: 58%;
  bottom: 11.5vw;
  width: clamp(48px, 5vw, 70px);
  aspect-ratio: 67.78 / 68.12;
  z-index: 1;
  background-image: url("../images/object_pig.svg");
}
.steps .coin {
  right: 9%;
  bottom: 11vw;
  width: clamp(72px, 8vw, 104px);
  aspect-ratio: 103.26 / 99.87;
  z-index: 1;
  background-image: url("../images/object_coin.svg");
}
.steps .circle {
  left: 39%;
  bottom: 26%;
  width: clamp(40px, 4.5vw, 58px);
  aspect-ratio: 1;
  z-index: 1;
  background-image: url("../images/object_circle.svg");
}
#guests {
  padding-block: 0;
  padding-top: 80px;
}
.guests {
  margin: 24px 0 0;
}
.guests img {
  width: 100%;
}

.program {
  border: 2px solid var(--black);
}
.program ol {
  list-style: none;
  margin: 0;
  padding: 0;
}
.program > ol > li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  padding: 20px;
}
.program > ol > li + li {
  border-top: 1px solid var(--black);
}
.program .no {
  font-family: "Jost", sans-serif;
  font-weight: 800;
  font-size: clamp(1.5rem, 4vw, 2rem);
  line-height: 1.2;
}
.program h3 {
  margin: 0 0 4px;
  font-size: clamp(1.05rem, 2.6vw, 1.3rem);
}
.program p {
  margin: 0;
  font-size: 15px;
  font-weight: 500;
}
.program ul {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
}
.program ul li {
  position: relative;
  padding-left: 1.5em;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.6;
}
.program ul li::before {
  content: "\25A0";
  position: absolute;
  left: 0;
  top: 0.15em;
  font-size: 0.8em;
}

.tag-label {
  font-weight: 700;
  margin: 0 0 4px;
  font-size: 20px;
}
.talkspot {
  background: #f8f4cf;
  text-align: center;
  position: relative;
  overflow: hidden;
  color: var(--black);
  border-top: solid 2px var(--black);
  border-bottom: solid 2px var(--black);
}
.talkspot .ts-band {
  position: relative;
  z-index: 1;
  background: var(--black);
  color: #fff;
  font-weight: 700;
  font-size: clamp(0.95rem, 3vw, 1.5rem);
  padding: 2px 16px;
  margin: 0 0 24px;
}
.talkspot .ts-band br,
.talkspot .ts-lead br {
  display: none;
}
.talkspot h2 {
  font-size: clamp(1.8rem, 6vw, 2.8rem);
  margin: 8px 0;
}
.talkspot .ts-lead {
  font-weight: 700;
  font-size: clamp(1.05rem, 3vw, 1.3rem);
  margin: 0 0 8px;
}
.talkspot ul {
  list-style: none;
  padding: 0;
  margin: 24px auto;
  max-width: 34em;
  text-align: left;
}
.talkspot ul li {
  padding-left: 1.2em;
  text-indent: -1.2em;
  font-weight: 500;
}
.talkspot ul li::before {
  content: "\25A0";
  margin-right: 6px;
}
.talkspot .ts-btn {
  margin: 28px 0 0;
}
.talkspot .ts-bill,
.talkspot .ts-coin,
.talkspot .ts-circle {
  position: absolute;
  background: center / contain no-repeat;
  pointer-events: none;
}
.talkspot .ts-bill {
  left: 5%;
  top: 4vw;
  width: clamp(58px, 7vw, 96px);
  aspect-ratio: 113.48 / 128.34;
  background-image: url("../images/object_bill.svg");
  z-index: 3;
}
.talkspot .ts-coin {
  right: 7%;
  top: 12px;
  width: clamp(64px, 8vw, 100px);
  aspect-ratio: 103.26 / 99.87;
  background-image: url("../images/object_coin.svg");
  z-index: 1;
}
.talkspot .ts-circle {
  right: 18%;
  top: 116px;
  width: clamp(34px, 4vw, 50px);
  aspect-ratio: 1;
  background-image: url("../images/object_circle.svg");
  z-index: 1;
}
.toEntry {
  padding: 40px 20px 10px;
  display: block;
  text-align: center;
}
.overview {
  border: 1px solid var(--black);
}
.overview dl {
  margin: 0;
}
.overview > dl > div {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 24px;
  padding: 20px;
  align-items: center;
}
.overview > dl > div + div {
  border-top: 1px solid var(--black);
}
.overview dt {
  font-weight: 700;
  text-align: center;
}
.overview dd {
  margin: 0;
}
.overview dd ul {
  padding-inline-start: 0;
}
.overview dd ul li {
  list-style: none;
}
.overview .map {
  aspect-ratio: 16 / 7;
  background: var(--gray);
  margin-top: 8px;
}
.overview .map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.notice {
  text-align: center;
  margin-top: 40px;
}
.notice h2 {
  font-size: 18px;
  font-weight: 400;
  margin: 0;
}
.notice .caution {
  display: block;
  text-align: center;
}
.notice .caution ul {
  display: inline-block;
  text-align: left;
  list-style: none;
  font-size: 15px;
  padding-inline: 0;
}
.notice .caution ul li {
  text-indent: -1em;
  padding-left: 1em;
}

.cta-band {
  background: url("../images/bg_gradation_seminar_heighschool.png") center / cover no-repeat;
  text-align: center;
  color: var(--black);
  border-top: solid 2px var(--black);
}
.cta-band .note {
  font-size: 13px;
  margin: 12px 0 0;
}

/* CTA buttons using shadow_box_yellow.svg */
.talkspot .btn.primary,
.cta-band .btn.primary {
  background: url("../images/shadow_box_yellow.svg") no-repeat;
  background-size: 100% 100%;
  border: 0;
  box-shadow: none;
  color: var(--black);
  padding: 0.8em 2.6em 1em 2.2em;
}
.talkspot .btn.primary:active,
.cta-band .btn.primary:active {
  transform: translate(2px, 2px);
  box-shadow: none;
}

/* form action buttons using shadow_box_white.svg */
.actions .btn.primary {
  background: url("../images/shadow_box_white.svg") no-repeat;
  background-size: 100% 100%;
  border: 0;
  box-shadow: none;
  color: var(--black);
  padding: 0.6em 2.6em 1em 2.2em;
  min-width: 18em;
}
.actions .btn.primary:active {
  transform: translate(2px, 2px);
  box-shadow: none;
}

/* ===== forms ===== */
.form-block {
  display: grid;
  gap: 32px;
  margin-top: 40px;
}
.companion[hidden] {
  display: none;
}
.companion {
  display: grid;
  gap: 32px;
}
.summary-head {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 1.5em;
  align-items: center;
}
.summary-head figure {
  margin: 0;
}
.summary-head h2 {
  margin: 0 0 8px;
  font-size: 1.15rem;
}
.summary-head p {
  margin: 3px 0;
  font-size: 14px;
}

.field {
  display: grid;
  gap: 10px;
}
.field > .label,
.field > .conditional > .label {
  font-weight: 800;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.badge {
  font-size: 12px;
  font-weight: 700;
  padding: 2px 12px;
  border: 2px solid currentColor;
  border-radius: 4px;
}
.badge.req {
  color: var(--required);
}
.badge.opt {
  color: var(--optional);
}
.note-sm {
  font-size: 13px;
  color: #6c6c6c;
  margin: -4px 0 0;
}

input[type="text"],
input[type="email"],
input[type="number"],
select,
textarea {
  width: 100%;
  font: inherit;
  padding: 14px;
  border: none;
  background: var(--field);
  color: var(--black);
  border-radius: 2px;
}
input::placeholder,
textarea::placeholder {
  color: #8d877e;
}
textarea {
  resize: vertical;
  min-height: 8em;
}
select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--black) 50%), linear-gradient(135deg, var(--black) 50%, transparent 50%);
  background-position:
    calc(100% - 20px) center,
    calc(100% - 14px) center;
  background-size:
    6px 6px,
    6px 6px;
  background-repeat: no-repeat;
  padding-right: 40px;
}
.choices {
  display: grid;
  gap: 12px;
}
.choices.cols {
  grid-template-columns: repeat(2, 1fr);
}
.choices.cols-3 {
  grid-template-columns: repeat(3, 1fr);
}
.choice {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--field);
  padding: 14px 16px;
  cursor: pointer;
}
.choice input {
  width: 1.1em;
  height: 1.1em;
  accent-color: var(--black);
}
.consent {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  flex-wrap: wrap;
}
.consent input {
  width: 1.2em;
  height: 1.2em;
  accent-color: var(--black);
}
.terms-box {
  background: var(--field);
  max-height: 14em;
  overflow-y: auto;
  padding: 16px;
  font-size: 14px;
  color: #44403a;
}
.terms-box p {
  margin: 0 0 1em;
}
.conditional[hidden] {
  display: none;
}
.conditional {
  margin-top: 12px;
  display: grid;
  gap: 10px;
}

/* confirm review */
.review {
  background: #e9e7e3;
  padding: clamp(20px, 4vw, 32px);
}
.review dl {
  margin: 0;
}
.review dl > div {
  padding: 16px 0;
  border-bottom: 1px solid #9c968d;
}
.review dl > div:last-child {
  border-bottom: 0;
}
.review dt {
  font-weight: 700;
  margin: 0 0 4px;
}
.review dd {
  margin: 0;
}

/* thanks */
.thanks {
  text-align: center;
}
.thanks .banner-title {
  margin-bottom: 24px;
}
.thanks-heading {
  font-family: "Jost", sans-serif;
  font-size: clamp(2rem, 9vw, 3.5rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  margin: 0;
}
.thanks figure {
  margin: 32px auto;
  max-width: 320px;
}
.thanks .message {
  margin: 32px auto 0;
  padding: 32px 40px;
  background: var(--gray);
  text-align: left;
}
.thanks .message p {
  margin: 0;
}

/* ===== legal pages ===== */
.legal {
  display: grid;
  gap: 32px;
}
.legal section {
  display: grid;
  gap: 12px;
}
.legal h2 {
  background: #727171;
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  padding: 10px 16px;
  margin: 0;
}
.legal h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 8px 0 0;
}
.legal h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin: 4px 0 0;
}
.legal p,
.legal li {
  font-size: 15px;
  margin-block: 0;
}
.legal li {
  margin-bottom: 4px;
}
.legal a {
  color: var(--optional);
  text-decoration: underline;
}
.legal ol,
.legal ul {
  margin: 0;
  padding-left: 1.4em;
}
.legal ul.plain {
  list-style: none;
  padding-left: 0;
}
.legal ul.plain li {
  padding-left: 1.3em;
  text-indent: -1.3em;
}
.legal ul.plain li::before {
  content: "\25CF";
  margin-right: 8px;
  font-size: 0.7em;
  vertical-align: middle;
}

/* ===== footer (tag selector) ===== */
footer {
  background: var(--black);
  color: #fff;
  padding-block: 48px;
}
footer .inner {
  text-align: center;
  display: grid;
  gap: 14px;
  justify-items: center;
}
footer nav {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
}
footer nav a {
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
}
footer nav a:hover {
  text-decoration: underline;
}
footer p {
  margin: 0;
  font-size: 14px;
}
footer p a {
  color: inherit;
  text-decoration: none;
}
footer p a:hover {
  text-decoration: underline;
}
footer .btn-pill {
  color: #fff;
  font-size: 14px;
}
footer .copyright {
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.03em;
}

/* ===== to-top (fixed) ===== */
#totop {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 90;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s,
    visibility 0.3s;
  width: 100px;
}
#totop.visible {
  opacity: 1;
  visibility: visible;
}
#totop img {
  width: 100%;
}

/* ============================================================
   SP (max-width: 768px)
   ============================================================ */
@media (max-width: 768px) {
  body {
    font-size: 14px;
  }
  .inner {
    padding-inline: 16px;
  }
  main > section {
    padding-block: 35px;
  }

  .nav-toggle {
    display: inline-flex;
    position: fixed;
    top: 30px;
    right: 10px;
    z-index: 1100;
  }
  /* hide the black header bar on mobile; only the round button floats */
  header {
    position: static;
    background: transparent;
  }
  header .inner {
    min-height: 0;
    padding: 0;
  }
  header h1 {
    display: none;
  }
  .site-nav {
    display: none;
  }

  /* ---- open: black overlay + white card panel ---- */
  body:has(.site-nav[data-open="true"]) {
    overflow: hidden;
  }
  body:has(.site-nav[data-open="true"])::before {
    content: "";
    position: fixed;
    inset: 0;
    background: #000;
    z-index: 900;
  }
  /* hamburger -> close (X), on the overlay outside the card */
  body:has(.site-nav[data-open="true"]) .nav-toggle {
    background: #fff;
  }
  body:has(.site-nav[data-open="true"]) .nav-toggle span {
    height: 2px;
    background: var(--black);
  }
  body:has(.site-nav[data-open="true"]) .nav-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  body:has(.site-nav[data-open="true"]) .nav-toggle span:nth-child(2) {
    opacity: 0;
  }
  body:has(.site-nav[data-open="true"]) .nav-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
  /* white card */
  body:has(.site-nav[data-open="true"]) header {
    position: fixed;
    top: 50px;
    left: 16px;
    right: 16px;
    max-height: calc(100% - 80px);
    z-index: 1000;
    background: #fff;
    overflow-y: auto;
    padding: 10px;
  }
  body:has(.site-nav[data-open="true"]) header > .inner {
    max-width: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }
  body:has(.site-nav[data-open="true"]) header h1 {
    display: block;
    background: var(--black);
    padding: 16px 0;
    text-align: center;
  }
  body:has(.site-nav[data-open="true"]) header h1 img {
    width: 200px;
    margin-inline: auto;
  }
  body:has(.site-nav[data-open="true"]) .site-nav {
    display: block;
  }
  body:has(.site-nav[data-open="true"]) .site-nav > ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  body:has(.site-nav[data-open="true"]) .site-nav > ul > li {
    margin-inline: 24px;
    border-bottom: 1px solid var(--black);
  }
  body:has(.site-nav[data-open="true"]) .site-nav > ul > li.has-sub {
    border-bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 14px 0;
  }
  body:has(.site-nav[data-open="true"]) .site-nav > ul > li > a {
    color: var(--black);
    text-align: center;
    padding: 14px 0;
    font-size: 15px;
  }
  body:has(.site-nav[data-open="true"]) .has-sub > button {
    width: auto;
  }
  body:has(.site-nav[data-open="true"]) .has-sub > ul {
    position: static;
    min-width: auto;
    width: 100%;
    margin-top: 12px;
  }
  /* in-card utility, in flow after the nav */
  body:has(.site-nav[data-open="true"]) header .utility {
    display: block;
    margin-top: 20px;
    color: var(--black);
  }
  body:has(.site-nav[data-open="true"]) header .utility .inner {
    min-height: 0;
    justify-content: center;
    gap: 14px;
    padding: 14px 0;
  }
  /* black bar at the very bottom of the card */
  body:has(.site-nav[data-open="true"]) header > .inner::after {
    content: "";
    flex: 0 0 auto;
    height: 22px;
    margin-top: 12px;
    background: var(--black);
  }

  .hero {
    aspect-ratio: auto;
  }
  #hero-seminar {
    padding-block: 0;
  }
  #hero-top {
    padding-block: 0;
  }
  #hero-top li {
    flex-basis: 100%;
    opacity: 1;
  }
  #hero-top button {
    width: 32px;
  }
  #hero-top button[data-dir="prev"] {
    left: 4px;
  }
  #hero-top button[data-dir="next"] {
    right: 4px;
  }

  .seminar-card {
    grid-template-columns: 1fr;
  }
  .links {
    display: flex;
    gap: 10px;
    width: 100%;
  }
  .links .btn {
    margin-right: 0;
    flex: 1;
    text-align: center;
  }
  .choices.cols,
  .choices.cols-3 {
    grid-template-columns: 1fr;
  }
  .overview > dl > div {
    grid-template-columns: 6em 1fr;
    gap: 12px;
  }
  .notice .caution ul {
    padding-inline-start: 0;
    font-size: 13px;
  }
  .talkspot .ts-bill {
    left: 2.5%;
    top: 6%;
  }
  .talkspot .ts-coin {
    right: 2.5%;
    top: 6%;
  }
  .summary-head {
    grid-template-columns: 1fr;
  }
  .logo-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .year-btn {
    min-width: 140px;
    padding: 8px 20px 10px;
    font-size: 14px;
  }
  #totop {
    width: 60px;
    bottom: 12px;
    right: 12px;
  }

  .seminars-copy {
    padding-top: 18%;
  }
  .seminars {
    gap: 30px;
  }
  #qa {
    padding-block: 50px;
  }
  .seminars-copy img {
    max-width: 80%;
  }
  .seminars-sub br:first-of-type {
    display: inline;
  }
  .seminar-card h3 {
    font-size: 1.3rem;
  }
  .qa .answer p {
    font-size: 16px;
  }
  .seminars-copy::before {
    width: 20%;
    padding-top: calc(76% * 0.2);
  }
  #news .secTtl img {
    height: 20px;
  }
  .news time {
    font-size: 1.1rem;
  }
  .qa summary {
    font-size: 16px;
  }
  #seminars .secTtl img {
    max-width: 320px;
  }

  .steps {
    padding-bottom: clamp(90px, 26vw, 140px);
  }
  .steps .balloons {
    flex-direction: column;
    align-items: stretch;
    padding-inline: 16px;
    gap: 0;
  }
  .steps .balloons figure {
    width: 66%;
    margin-top: 0 !important;
  }
  .steps .balloons figure:nth-child(odd) {
    align-self: flex-start;
  }
  .steps .balloons figure:nth-child(even) {
    align-self: flex-end;
    margin-top: -10% !important;
  }
  .steps .balloons figure:nth-child(3) {
    margin-top: -10% !important;
  }
  .steps .balloons figure:nth-child(1)::before {
    width: clamp(40px, 4.5vw, 58px);
    aspect-ratio: 1;
    background-image: url("../images/object_circle.svg");
    top: 20%;
    right: -35%;
    left: auto;
  }
  .steps .balloons figure:nth-child(2)::before {
    left: -40%;
    right: auto;
  }
  .steps .balloons figure:nth-child(2)::after {
    width: clamp(40px, 4.5vw, 58px);
    aspect-ratio: 1;
    background-image: url("../images/object_circle.svg");
    left: -38%;
    bottom: 30%;
    right: auto;
  }
  .steps .balloons figure:nth-child(3)::before {
    right: -40%;
    left: auto;
  }
  .steps .balloons figure:nth-child(3)::after {
    right: -8%;
    left: auto;
  }
  .steps .bill {
    left: 4%;
    bottom: 0%;
    width: 84px;
  }
  .steps .pig {
    left: auto;
    right: 8%;
    bottom: 3%;
    width: 60px;
  }
  .steps .coin {
    display: none;
  }
  .lead-sub br,
  .talkspot .ts-band br,
  .talkspot .ts-lead br {
    display: inline;
  }
  .steps .circle {
    left: auto;
    right: 10%;
    bottom: 22%;
  }
}
