:root {
  --green: #00a650;
  --green-dark: #008a44;
  --green-soft: #e5f7ee;
  --mint: #8ed4ad;
  --cta: #05a960;
  --text: #222;
  --muted: rgba(0, 0, 0, 0.55);
  --white: #fff;
  --card-border: rgba(0, 0, 0, 0.1);
  --shadow: 0 4px 8px rgba(0, 0, 0, 0.04), 0 8px 20px rgba(0, 0, 0, 0.06);
  --radius: 16px;
  --max: 1120px;
  --font: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: var(--text);
  line-height: 1.7;
  background: linear-gradient(
    180deg,
    #ffffff 0%,
    #ffffff 19%,
    #d0efe1 39%,
    #a1dfc3 60%,
    #72cea5 80%,
    #43be87 100%
  );
  word-break: break-word;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  pointer-events: none;
}

a {
  color: inherit;
}

.page {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
}

.inner {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 64px;
}

.page--sub .inner {
  max-width: 800px;
  padding: 0 32px;
}

/* ── CTA ── */
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--cta);
  color: var(--white);
  font-weight: 500;
  font-size: 18px;
  letter-spacing: 0.04em;
  text-decoration: none;
  padding: 12px 16px;
  min-width: 210px;
  border-radius: 12px;
  line-height: 1.3;
  box-shadow: none;
  transition: background 0.2s, transform 0.2s;
}

.cta:hover {
  background: var(--green-dark);
}

.cta--center {
  margin: 0 auto;
}

/* ── HERO ── */
.hero {
  position: relative;
  width: 100%;
  background: #fff;
}

.hero__kv {
  display: block;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
}

.hero .cta {
  position: absolute;
  left: 50%;
  top: 75%;
  transform: translateX(-50%);
  white-space: nowrap;
}

.hero .cta:hover {
  transform: translate(-50%, -1px);
}

.hero__clip {
  display: none;
}

/* ── PAGE HEADER (subpages) ── */
.page-head {
  width: 100%;
  background: #fff;
  text-align: center;
}

.page-head__frame {
  position: relative;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
}

.page-head__bg {
  width: 100%;
  height: auto;
  display: block;
}

.page-head__home {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 28%;
  z-index: 2;
}

.page-head__content {
  position: absolute;
  left: 0;
  right: 0;
  top: 28%;
  bottom: 16%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 24px;
  z-index: 1;
}

.page-head__title {
  font-size: clamp(28px, 4.1vw, 50px);
  font-weight: 700;
  color: #000;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.page-head__lead {
  font-size: 24px;
  font-weight: 500;
  color: var(--muted);
  line-height: 1.45;
}

.page-head .cta {
  margin-top: 8px;
}

.page-head__clip {
  display: none;
}

/* ── SECTIONS ── */
.section {
  width: 100%;
  padding: 72px 0;
}

.page--sub .section {
  padding: 48px 0;
}

.page--sub .section:has(.subnav) {
  padding: 64px 0 96px;
}

.section__title {
  text-align: center;
  font-size: 48px;
  font-weight: 500;
  letter-spacing: 0.04em;
  margin-bottom: 40px;
  line-height: 1.45;
}

.section__title--sm {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.06em;
  margin-bottom: 24px;
}

.section__title--left {
  text-align: left;
  font-size: 28px;
  font-weight: 700;
  color: #000;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 20px;
}

.intro {
  text-align: center;
}

.intro__body {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.9;
}

.intro__body p + p {
  margin-top: 0.2em;
}

.intro__body .spacer {
  height: 1.2em;
}

/* ── CARDS ── */
.cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  border: none;
  box-shadow: none;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.card--wide {
  grid-column: 1 / -1;
  flex-direction: row;
  min-height: 160px;
}

.card__image {
  width: 100%;
  aspect-ratio: 467 / 240;
  flex-shrink: 0;
  background: #eee;
}

.card--wide .card__image {
  width: 160px;
  aspect-ratio: auto;
  height: auto;
}

.card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  padding: 24px;
}

.card__title {
  font-size: 20px;
  font-weight: 700;
  color: #000;
  line-height: 1.4;
}

.card__text {
  font-size: 18px;
  font-weight: 500;
  color: var(--muted);
  line-height: 1.45;
}

.card__more {
  font-weight: 500;
  font-size: 18px;
  margin-top: 4px;
  color: #000;
}

/* ── ACCESS ── */
.access {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  gap: 40px;
}

.access__text {
  font-size: 16px;
  line-height: 1.9;
  white-space: pre-line;
  text-align: left;
}

.access__map {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  overflow: hidden;
  background: #e8f4ea;
  min-height: 280px;
}

.access__map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ── SPONSORS ── */
.sponsors {
  text-align: center;
}

.sponsors__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 20px 40px;
  list-style: none;
  background: transparent;
  padding: 8px 0;
}

.sponsors__list li {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 64px;
}

.sponsors__list a {
  display: flex;
  align-items: center;
  justify-content: center;
}

.sponsors__list img {
  width: auto;
  object-fit: contain;
}

.sponsors__sine img {
  height: 80px;
}

.sponsors__joyz img {
  height: 26px;
}

.sponsors__umg img {
  height: 150px;
}

.sponsors__mikan img {
  height: 28px;
}

/* ── FEATURE BLOCKS (page1) ── */
.features {
  display: flex;
  flex-direction: column;
  gap: 64px;
}

.feature {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 32px;
  align-items: center;
  background: transparent;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
}

.feature:nth-child(even) {
  grid-template-columns: 320px 1fr;
}

.feature .feature__media {
  order: 2;
}

.feature:nth-child(even) .feature__media {
  order: 0;
}

.feature__media {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 320 / 264;
  background: #00c4e0;
}

.feature__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature__num {
  display: none;
}

.feature__title {
  font-size: 28px;
  font-weight: 700;
  color: #000;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 16px;
}

.feature__text {
  font-size: 18px;
  font-weight: 500;
  color: var(--muted);
  line-height: 1.45;
}

.feature--more {
  grid-template-columns: 1fr;
  text-align: left;
  padding: 8px 0 24px;
}

.feature--more .feature__title {
  color: #000;
  font-size: 28px;
}

/* ── SCHEDULE (page2) ── */
.note {
  text-align: left;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.45;
  margin-bottom: 28px;
  color: var(--muted);
}

.note p + p {
  margin-top: 4px;
}

.note__small {
  font-size: 13px;
  line-height: 1.45;
}

.schedule {
  width: 100%;
  border-collapse: collapse;
  background: transparent;
}

.schedule th,
.schedule td {
  padding: 20px 16px 20px 0;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid rgba(0,0,0,0.12);
  line-height: 1.4;
}

.schedule th {
  background: transparent;
  color: #6f6f6f;
  font-weight: 400;
  width: 18%;
  white-space: nowrap;
  font-size: 15px;
}

.schedule td {
  width: 41%;
}

.schedule tr:last-child td,
.schedule tr:last-child th {
  border-bottom: 1px solid rgba(0,0,0,0.12);
}

.schedule__title {
  font-weight: 400;
  font-size: 15px;
  color: #000;
}

.schedule__cast {
  color: #000;
  font-size: 15px;
  font-weight: 400;
  margin-top: 0;
  line-height: 1.4;
}

.talks {
  display: flex;
  flex-direction: column;
  gap: 48px;
  margin-top: 48px;
}

.talk {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 32px;
  align-items: center;
  background: transparent;
  border-radius: 0;
  overflow: visible;
  box-shadow: none;
}

.talk .talk__photo {
  order: 2;
}

.talk:nth-child(even) {
  grid-template-columns: 320px 1fr;
}

.talk:nth-child(even) .talk__photo {
  order: 0;
}

.talk__photo {
  background: #e8f4ea;
  min-height: 0;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 320 / 264;
}

.talk__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.talk__body {
  padding: 0;
}

.talk__title {
  font-size: 28px;
  font-weight: 700;
  color: #000;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  line-height: 1.2;
}

.talk__text {
  font-size: 18px;
  font-weight: 500;
  color: var(--muted);
  line-height: 1.45;
}

.talk__cast {
  margin-top: 16px;
  font-size: 18px;
  font-weight: 500;
  color: var(--muted);
  line-height: 1.45;
}

/* ── SUBNAV ── */
.subnav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px 48px;
}

.subnav a {
  display: block;
  background: transparent;
  border-radius: 0;
  padding: 24px 0 0;
  text-decoration: none;
  box-shadow: none;
}

.subnav a:hover {
  transform: none;
}

.subnav__label {
  font-weight: 700;
  font-size: 20px;
  color: #000;
}

.subnav__desc {
  margin-top: 8px;
  font-size: 18px;
  font-weight: 500;
  color: var(--muted);
}

/* ── FOOTER ── */
.site-footer {
  width: 100%;
  padding: 48px 0 24px;
}

.site-footer__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: nowrap;
}

.site-footer__logo {
  width: 110px;
  flex: 0 0 auto;
}

.social {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
  flex: 0 0 auto;
  width: auto;
  margin: 0;
  padding: 20px 24px;
  background: #fff;
  border-radius: 16px;
}

.social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
}

.social img {
  display: block;
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.social__youtube a {
  width: auto;
  height: 40px;
  overflow: visible;
}

.social__youtube img {
  width: auto;
  height: 40px;
  object-fit: contain;
}

.copyright {
  text-align: center;
  font-size: 18px;
  font-weight: 500;
  color: #000;
  padding: 8px 16px 32px;
}

/* ═══════════════════════════════════
   TABLET  768px – 1023px
═══════════════════════════════════ */
@media (max-width: 1023px) {
  .inner {
    padding: 0 40px;
  }

  .page--sub .inner {
    padding: 0 32px;
  }

  .page-head__title {
    font-size: 22px;
    line-height: 1.3;
  }

  .page-head__lead {
    font-size: 13px;
  }

  .page-head__frame {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .page-head__bg {
    display: none;
  }

  .page-head__clip {
    display: block;
    width: 100%;
    background-image: url("../img/figma-page-header.png");
    background-repeat: no-repeat;
  }

  .page-head__clip--logo {
    height: 64px;
    background-size: 155% auto;
    background-position: center top;
  }

  .page-head__clip--line {
    height: auto;
    aspect-ratio: 918 / 78;
    background-image: url("../img/figma-header-line.png");
    background-size: 100% auto;
    background-position: center;
  }

  .page-head__home {
    height: 64px;
    aspect-ratio: auto;
  }

  .page-head__content {
    position: static;
    top: auto;
    bottom: auto;
    gap: 6px;
    padding: 20px 24px 28px;
  }

  .page-head .cta {
    margin-top: 14px;
    font-size: 14px;
    font-weight: 500;
    padding: 8px 16px;
    min-width: 0;
    width: max-content;
    border-radius: 999px;
  }

  .section {
    padding: 56px 0;
  }

  .section__title {
    font-size: 32px;
  }

  .section__title--sm {
    font-size: 16px;
  }

  .intro__body {
    font-size: 16px;
  }

  .cards {
    grid-template-columns: 1fr;
  }

  .access {
    grid-template-columns: 1fr;
  }

  .access__map {
    aspect-ratio: 16 / 10;
  }

  .feature,
  .feature:nth-child(even) {
    grid-template-columns: 1fr;
  }

  .feature .feature__media,
  .feature:nth-child(even) .feature__media {
    order: 0;
    max-width: 320px;
    width: 100%;
    margin: 0 auto;
  }

  .talk,
  .talk:nth-child(even) {
    grid-template-columns: 1fr;
  }

  .talk .talk__photo,
  .talk:nth-child(even) .talk__photo {
    order: 0;
    aspect-ratio: 16 / 10;
  }

  .site-footer__inner {
    gap: 48px;
  }

  .sponsors__list {
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    gap: 12px 16px;
  }

  .sponsors__list li {
    height: auto;
    flex: 0 1 auto;
    min-width: 0;
  }

  .sponsors__sine img {
    height: 52px;
  }

  .sponsors__joyz img {
    height: 20px;
  }

  .sponsors__umg img {
    height: 88px;
  }

  .sponsors__mikan img {
    height: 22px;
  }
}

/* ═══════════════════════════════════
   MOBILE  < 768px
═══════════════════════════════════ */
@media (max-width: 767px) {
  .inner {
    padding: 0 20px;
  }

  .page--sub .inner {
    padding: 0 20px;
  }

  .cta {
    font-size: 14px;
    padding: 8px 12px;
    min-width: 0;
    width: auto;
  }

  .hero {
    container-type: inline-size;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero__kv {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .hero__clip {
    display: block;
    width: 100%;
    background-image: url("../img/figma-hero.png");
    background-repeat: no-repeat;
    background-size: 100cqi auto;
  }

  .hero__clip--logo {
    height: calc(100cqi * 160 / 1280);
    background-position: 0 calc(100cqi * -120 / 1280);
  }

  .hero__clip--date {
    height: calc(100cqi * 145 / 1280);
    background-position: 0 calc(100cqi * -400 / 1280);
  }

  .hero__clip--books {
    height: calc(100cqi * 116 / 1280);
    background-position: 0 calc(100cqi * -684 / 1280);
  }

  .hero .cta {
    position: static;
    transform: none;
    top: auto;
    left: auto;
    margin: 8px auto 10px;
    font-size: 12px;
    padding: 5px 10px;
    min-width: 0;
    width: max-content;
    letter-spacing: 0.02em;
  }

  .hero .cta:hover {
    transform: none;
  }

  .page-head {
    padding: 0;
  }

  .page-head__clip--logo {
    height: 52px;
    background-size: 175% auto;
  }

  .page-head__home {
    height: 52px;
  }

  .page-head__clip--line {
    height: auto;
    aspect-ratio: 918 / 78;
  }

  .page-head__content {
    gap: 4px;
    padding: 16px 20px 22px;
  }

  .page-head__title {
    font-size: 20px;
    line-height: 1.3;
  }

  .page-head__lead {
    font-size: 12px;
  }

  .page-head .cta {
    margin-top: 12px;
    font-size: 13px;
    padding: 7px 14px;
  }

  .section {
    padding: 40px 0;
  }

  .section__title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 28px;
  }

  .section__title--sm {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 20px;
  }

  .intro__body {
    font-size: 15px;
  }

  .card {
    flex-direction: column;
    min-height: 0;
  }

  .card__image {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
  }

  .card--wide {
    flex-direction: column;
  }

  .card--wide .card__image {
    width: 100%;
    height: 180px;
  }

  .card__title {
    font-size: 18px;
  }

  .card__text,
  .card__more {
    font-size: 14px;
  }

  .access__text {
    font-size: 14px;
  }

  .access__map {
    aspect-ratio: 4 / 3;
  }

  .sponsors__list {
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: center;
    gap: 0;
    padding: 0;
  }

  .sponsors__list li {
    height: auto;
    width: 100%;
    padding: 10px 0;
  }

  .sponsors__sine img {
    height: 72px;
  }

  .sponsors__joyz img {
    height: 28px;
  }

  .sponsors__umg img {
    height: 140px;
  }

  .sponsors__mikan img {
    height: 32px;
  }

  .feature,
  .feature:nth-child(even) {
    grid-template-columns: 1fr;
    padding: 0;
  }

  .feature__media {
    aspect-ratio: 16 / 10;
  }

  .feature__title {
    font-size: 24px;
  }

  .talk,
  .talk:nth-child(even) {
    grid-template-columns: 1fr;
  }

  .talk .talk__photo,
  .talk:nth-child(even) .talk__photo {
    order: 0;
    aspect-ratio: 16 / 10;
    min-height: 0;
  }

  .talk__body {
    padding: 0;
  }

  .talk__title {
    font-size: 22px;
  }

  .subnav {
    grid-template-columns: 1fr;
  }

  .subnav__label {
    font-size: 20px;
  }

  .schedule,
  .schedule tbody,
  .schedule tr,
  .schedule th,
  .schedule td {
    display: block;
    width: 100%;
  }

  .schedule th {
    width: 100%;
  }

  .schedule td {
    border-bottom: 1px solid #eee;
  }

  .site-footer__inner {
    gap: 28px;
    flex-wrap: wrap;
  }

  .copyright {
    font-size: 14px;
  }
}
