/* ── Pentagon background decorations ── */
.sec-penta {
  position: absolute;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}
.sec-penta svg {
  display: block;
}

/* ── Hero / Concept svg support ── */
.hero__vis svg {
  width: 100%;
  height: auto;
  display: block;
}
.concept__logo svg {
  width: 100%;
  height: auto;
  display: block;
}

.main-inner {
  position: relative;

  &::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    /* background-image: repeating-linear-gradient(10deg, #0000000d, #0000000d 400px, transparent 400px, transparent 1160px); */

    background-image: repeating-linear-gradient(10deg, #0000000d, #0000000d 400px, transparent 400px, transparent 1100px);
  }
}

/* ═══════════════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════════════ */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

@media (min-width: 1024px) {
  .hero {
    min-height: 100svh;
  }
}

.hero__slides {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.hero__slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: translateX(100%);
  transition: transform 0.9s ease-in-out;
}
.hero__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.hero__slide.is-active {
  transform: translateX(0);
}
.hero__slide.is-prev {
  transform: translateX(-100%);
}
.hero__overlay {
  position: absolute;
  inset: 0;

  background: linear-gradient(100deg, rgb(5 10 25 / 18%) 0%, rgb(5 10 25 / 18%) 60%, rgba(5, 10, 25, 0.15) 100%);
}
.hero__inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: clamp(32px, 5vw, 80px);
  /* width: 100%; */
  max-width: var(--w-inner);
  margin-inline: auto;
  /* padding: clamp(40px, 5vw, 64px) clamp(20px, 4vw, 60px) clamp(40px, 5vw, 64px); */
  padding: 10px;
  flex-wrap: wrap;
}
.hero__vis {
  flex: 0 0 auto;
  width: clamp(200px, 38vw, 660px);
}
.hero__vis img {
  width: 100%;
}
.hero__text {
  flex: 1;
  min-width: min(100%, 320px);
}
.hero__eyebrow {
  font-family: var(--f-jp);
  font-weight: 700;
  font-size: clamp(15px, 1.6vw, 26px);
  color: var(--c-white);
  margin-bottom: clamp(12px, 1.4vw, 16px);
  text-shadow: 0 0 6px #43c3f9;
  letter-spacing: 0.04em;
}
.hero__headline {
  font-family: var(--f-jp);
  font-weight: 700;
  font-size: clamp(38px, 5.5vw, 78px);
  line-height: 1.15;
  color: var(--c-white);
  text-shadow:
    0 0 6px #43c3f9,
    0 0 16px #43c3f9,
    0 0 32px rgba(67, 195, 249, 0.45);
  letter-spacing: 0.02em;
  margin-bottom: clamp(20px, 2.2vw, 32px);
}
.hero__sub {
  font-family: var(--f-jp);
  font-weight: 700;
  font-size: clamp(15px, 1.3vw, 20px);
  color: var(--c-white);
  line-height: 1.85;
  margin-bottom: clamp(20px, 2.8vw, 32px);
  text-shadow: 0 0 4px rgba(67, 195, 249, 0.8);
}

@media (max-width: 1023px) {
  .hero__inner {
    padding-top: 100px;
    padding-bottom: 60px;
  }
}

/* ── Hero: mobile ── */
@media (max-width: 749px) {
  .hero {
    /* min-height: 100svh; */
    align-items: flex-end;
  }
  .hero__inner {
    flex-direction: column;
    align-items: center;
    padding-top: 20px;
    padding-bottom: 20px;
    gap: 1px;
  }
  .hero__vis {
    width: 90%;
    margin-top: 5px;
    margin-bottom: 0px;
    justify-content: center;
  }

  .hero__text {
    display: inline-block;
    justify-content: center;
    min-width: 0;
    text-align: center;
  }

  .hero__eyebrow {
    font-size: 16px;
    margin-bottom: 5px;
    line-height: 1.5;
  }
  .hero__headline {
    font-size: clamp(36px, 11vw, 52px);
    margin-bottom: 10px;
  }
  .hero__sub {
    font-size: 16px;
    line-height: 1.4;
    margin-bottom: 10px;
  }

  .hero__text .btn-cta {
    display: flex;
    width: fit-content;
    margin-inline: auto;

    padding: clamp(10px, 1.5vw, 22px) clamp(20px, 4vw, 52px);
  }
}

/* ═══════════════════════════════════════════════════════
   EVENTS
═══════════════════════════════════════════════════════ */
.events {
  position: relative;
  padding-block: var(--sec-py);
  /* background: var(--c-ground); */
  overflow: hidden;
}
.events__content {
  position: relative;
  z-index: 1;
}
.events__top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: clamp(32px, 4vw, 56px);
}
.events__summary {
  font-family: var(--f-jp);
  font-weight: 500;
  font-size: clamp(15px, 1.3vw, 22px);
  line-height: 1.7;
}
.events__more {
  flex-shrink: 0;
}

@media (min-width: 750px) {
  .events__more {
    margin-left: auto;
  }
}

@media (max-width: 749px) {
  .events__more {
    margin-top: 30px;
  }
}
/* ── 静的グリッド（3件未満） ── */
.events__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(24px, 3vw, 48px);
}
@media (min-width: 640px) {
  .events__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 960px) {
  .events__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.events__empty {
  padding: 24px 6px;
  color: var(--c-text);
  font-size: 14px;
  border-top: 1px solid rgba(51, 51, 51, 0.12);
  border-bottom: 1px solid rgba(51, 51, 51, 0.12);
}

/* ── スライダー（3件以上） ── */
.events__slider-wrap {
  --ev-gap: clamp(20px, 3vw, 40px);
  position: relative;
}
.events__viewport {
  position: relative;
  overflow: hidden;
}
.events__track {
  display: flex;
  gap: var(--ev-gap);
  transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}
.events__slide {
  flex: 0 0 calc((100% - 2 * var(--ev-gap)) / 3);
  min-width: 0;
}
@media (max-width: 959px) {
  .events__slide {
    flex: 0 0 100%;
  }
}

/* ── スライダーコントロール ── */
.events__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: clamp(20px, 3vw, 32px);
}
.events__btn {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--c-white);
  border: 1.5px solid var(--c-gray-lt);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-text);
  transition:
    border-color 0.2s,
    box-shadow 0.2s,
    color 0.2s;
  cursor: pointer;
}
.events__btn:not(:disabled):hover {
  border-color: #43c3f9;
  color: #43c3f9;
  box-shadow: 0 0 0 3px rgba(67, 195, 249, 0.15);
}
.events__btn:disabled {
  opacity: 0.3;
  cursor: default;
}

/* ドット */
.events__dots {
  display: flex;
  align-items: center;
  gap: 6px;
}
.events__dot {
  width: 8px;
  height: 8px;
  border-radius: 4px;
  background: #bfbfbf;
  border: none;
  padding: 0;
  cursor: pointer;
  transition:
    width 0.3s,
    background 0.3s;
}
.events__dot.is-active {
  width: 8px;
  background: linear-gradient(to right, #7adff5, #2a8df3);
}

/* ── Event card ── */
.ecard-link {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}
.ecard-link .ecard {
  flex: 1;
}
.ecard {
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform 0.25s;
}
.ecard:hover {
  transform: translateY(-4px);
}
.ecard__img-wrap {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}
.ecard__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s;
}
.ecard:hover .ecard__img {
  transform: scale(1.03);
}
.ecard__body {
  flex: 1;
  display: grid;
  grid-template-columns: max-content 1fr;
  grid-template-rows: auto auto 1fr auto auto;
  grid-template-areas:
    'badge date'
    'title title'
    'desc  desc'
    'divider divider'
    'foot  foot';
  row-gap: 10px;
  column-gap: 10px;
  align-items: center;
}
.ecard__badge {
  grid-area: badge;
  padding: 3px 12px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  align-self: center;
}
.ecard__badge--chiba {
  color: #fff;
  background: var(--c-chiba);
}
.ecard__badge--kashiwa {
  color: #fff;
  background: var(--c-kashiwa);
}
.ecard__badge--kisarazu {
  background: var(--c-kisarazu);
  color: #fff;
}
.ecard__date {
  grid-area: date;
  font-size: 13px;
  color: var(--c-text);
  font-weight: 500;
}
.ecard__title {
  grid-area: title;
  font-weight: 600;
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 1.55;
}
.ecard__desc {
  grid-area: desc;
  font-size: 13px;
  line-height: 1.75;
  letter-spacing: 0.02em;
  color: var(--c-text);
}
.ecard__divider {
  grid-area: divider;
  height: 1px;
  background: rgba(51, 51, 51, 0.15);
  align-self: end;
}
.ecard__foot {
  grid-area: foot;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.ecard__cap {
  font-weight: 600;
  font-size: 14px;
}
.ecard__arrow {
  width: 28px;
  height: 28px;
}

@media (max-width: 749px) {
  .events__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .ecard {
    display: grid;
    grid-template-columns: 38% 1fr;
    grid-template-areas:
      'img badge'
      'img title'
      'date date'
      'desc desc'
      'divider divider'
      'foot foot';
    column-gap: 12px;
    row-gap: 0;
  }
  .ecard__img-wrap {
    grid-area: img;
    width: auto;
  }
  .ecard__body {
    display: contents;
  }
  .ecard__badge {
    grid-area: badge;
    align-self: end;
    justify-self: start;
    padding-bottom: 4px;
  }
  .ecard__title {
    grid-area: title;
    font-size: 14px;
    align-self: start;
    padding-top: 4px;
  }
  .ecard__date {
    grid-area: date;
    padding-top: 10px;
  }
  .ecard__desc {
    grid-area: desc;
    font-size: 12px;
    padding-top: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .ecard__divider {
    grid-area: divider;
    margin-top: 8px;
  }
  .ecard__foot {
    grid-area: foot;
    margin-top: 4px;
  }
  .ecard__cap {
    font-size: 12px;
  }
  .ecard__arrow {
    width: 22px;
    height: 22px;
  }
}

.events .sec-penta {
  right: 0px;
  top: 50%;
  transform: translateY(-50%);
}

.events .sec-penta svg {
  width: 800px;
  height: auto;
}

@media (max-width: 749px) {
  .events .sec-penta {
    right: -10%;
    top: 20px;
    transform: none;
  }

  .events .sec-penta svg {
    width: 350px;
    height: auto;
  }
}

/* ═══════════════════════════════════════════════════════
   NEWS
═══════════════════════════════════════════════════════ */
.news {
  padding-block: var(--sec-py);
  /* background: var(--c-ground); */
}
.news__inner {
  display: flex;
  gap: clamp(32px, 6vw, 80px);
  align-items: flex-start;
  flex-wrap: wrap;
}
.news__left {
  flex: 0 0 auto;
  width: clamp(180px, 25vw, 300px);
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.news__right {
  flex: 1;
  min-width: min(100%, 420px);
}
.news-list {
  display: flex;
  flex-direction: column;
}
.news-item__empty {
  padding: 24px 6px;
  color: var(--c-gray);
  font-size: 14px;
  border-top: 1px solid rgba(51, 51, 51, 0.12);
  border-bottom: 1px solid rgba(51, 51, 51, 0.12);
}
.news-item {
  display: flex;
  flex-direction: column;
  border-bottom: 1px solid rgba(51, 51, 51, 0.12);
  transition: background 0.15s;
}
.news-item:first-child {
  border-top: 1px solid rgba(51, 51, 51, 0.12);
}
.news-item:hover {
  background: rgba(0, 0, 0, 0.02);
}
.news-item__link {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px 6px;
  text-decoration: none;
  color: inherit;
}
.news-item__badge {
  display: inline-block;
  padding: 2px 9px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}
.news-item__badge--chiba {
  color: #fff;
  /* background: #d8f0de; */
  background: var(--c-chiba);
}
.news-item__badge--kashiwa {
  color: #fff;
  /* background: #fdecd6; */
  background: var(--c-kashiwa);
}
.news-item__badge--kisarazu {
  color: #fff;
  /* background: #d6ebf7; */
  background: var(--c-kisarazu);
}
.news-item__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.news-item__date {
  font-size: 13px;
  color: var(--c-gray);
}
.news-item__tag {
  background: var(--c-gray-lt);
  padding: 2px 9px;
  border-radius: 10px;
  font-size: 11px;
  color: var(--c-gray);
}
.news-item__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.news-item__title {
  font-weight: 500;
  font-size: clamp(14px, 1vw, 16px);
  line-height: 1.55;
  flex: 1;
}
.news-item__arrow {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════════
   CONCEPT
═══════════════════════════════════════════════════════ */
.concept {
  position: relative;
  padding-block: var(--sec-py);
  /* background: var(--c-ground); */
  overflow: hidden;
}
.concept__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: clamp(32px, 6vw, 90px);
  flex-wrap: wrap;
}
.concept__logo {
  flex: 0 0 auto;
  width: clamp(200px, 30vw, 460px);
}
.concept__logo img {
  width: 100%;
}
.concept__text {
  flex: 1;
  min-width: min(100%, 340px);
}
.concept__headline {
  font-weight: 700;
  font-size: clamp(22px, 3vw, 38px);
  line-height: 1.4;
  letter-spacing: 0.04em;
  margin-bottom: 24px;
}
.concept__body {
  font-size: clamp(15px, 1vw, 18px);
  line-height: 2.1;
  color: var(--c-text);
}

@media (min-width: 750px) {
  .advisors__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 749px) {
  .concept__logo {
    order: 1;
    flex: 0 auto;
    width: 100%;
    /* padding: 0 5%; */
  }
}
/* @media (max-width: 749px) {
  .concept__inner {
    display: block;
  }

  .concept__logo {
    width: 80%;
    margin: 0 auto 20px;
  }
} */
/* ═══════════════════════════════════════════════════════
   ADVISORS
═══════════════════════════════════════════════════════ */
.advisors {
  position: relative;
  padding-block: var(--sec-py);
  /* background: var(--c-ground); */
  overflow: hidden;
}
.advisors > .container {
  position: relative;
  z-index: 1;
}
.advisors__intro {
  font-size: clamp(15px, 1.3vw, 22px);
  line-height: 1.9;
  margin-bottom: clamp(36px, 4vw, 60px);
  font-weight: 500;
}
.advisors__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(24px, 3vw, 48px);
}
@media (min-width: 750px) {
  .advisors__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.acard {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2vw, 30px);
}
.acard__photo-link {
  display: block;
  overflow: hidden;
  flex-shrink: 0;
  width: clamp(100px, 18vw, 240px);
  height: clamp(100px, 18vw, 240px);
}
.acard__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.acard__photo-link:hover .acard__photo {
  transform: scale(1.07);
}
.acard__info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  min-width: 0;
}
.acard__info .btn-sm {
  align-self: flex-start;
}
.acard__name-en {
  font-family: var(--f-en);
  font-weight: 600;
  font-size: clamp(22px, 2.5vw, 40px);
  line-height: 1.15;
  color: var(--c-text);
}
.acard__name-jp {
  font-weight: 500;
  font-size: clamp(15px, 1.3vw, 19px);
  color: var(--c-text);
}
.acard__org {
  font-size: clamp(13px, 1vw, 15px);
  line-height: 1.6;
  color: var(--c-text);
}

@media (max-width: 749px) {
  .acard {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    height: 100%;
  }
  .acard__photo-link {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
  }
  .acard__info {
    flex: 1;
    gap: 6px;
  }
  .acard__info .btn-sm {
    margin-top: auto;
  }
  .acard__name-en {
    font-size: clamp(20px, 6vw, 24px);
  }
  .acard__name-jp {
    font-size: 15px;
  }
  .acard__org {
    font-size: 13px;
  }
}

@media (max-width: 575px) {
  .advisors .sec-head__pentagon {
    right: -0px;
  }
}

.advisors .sec-penta {
  left: 0px;
  top: 40%;
  transform: translateY(-50%);
}

.advisors .sec-penta svg {
  width: 800px;
  height: auto;
}

@media (max-width: 749px) {
  .advisors .sec-penta {
    right: -10%;
    top: 0%;
    transform: none;
    left: auto;
  }

  .advisors .sec-penta svg {
    width: 350px;
    height: auto;
  }
}

/* ═══════════════════════════════════════════════════════
   CONCEPT STORY
═══════════════════════════════════════════════════════ */
.story {
  position: relative;
  padding-block: var(--sec-py);
  overflow: hidden;
}
.story__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.story__overlay {
  position: absolute;
  inset: 0;
  background: rgba(26, 149, 197, 0.85);
  mix-blend-mode: multiply;
}
.story__inner {
  position: relative;
  z-index: 2;
}
.story__subtitle {
  font-weight: 700;
  font-size: clamp(20px, 2.5vw, 36px);
  color: var(--c-white);
  margin-top: clamp(24px, 3vw, 40px);
  margin-bottom: clamp(28px, 4vw, 48px);
  letter-spacing: 0.05em;
}
.story__cols {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(28px, 4vw, 60px);
}
@media (min-width: 750px) {
  .story__cols {
    grid-template-columns: repeat(2, 1fr);
  }
}
.story__col {
  font-weight: 600;
  font-size: clamp(14px, 1vw, 16px);
  color: var(--c-white);
  line-height: 2;
}
.story__col p {
  margin-bottom: 0;
}
.story__col .lg {
  font-size: clamp(16px, 1.2vw, 20px);
  letter-spacing: 0.04em;
}

/* ═══════════════════════════════════════════════════════
   ORGANIZATION
═══════════════════════════════════════════════════════ */
.org {
  background: var(--c-ground);
  padding-block: clamp(40px, 6vw, 80px);
}
.org__box {
  position: relative;
  background: rgba(255, 255, 255, 0.85);
  padding: clamp(28px, 4vw, 48px) clamp(24px, 4vw, 60px);
}

/* 上段：主催 ｜ メイン運営者 */
.org__top {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(20px, 4vw, 60px);
}
.org__group {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.org__group--full {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: clamp(20px, 3vw, 36px);
}

.org__label {
  text-align: center;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 16px;
}
.org__logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(20px, 3vw, 48px);
  flex-wrap: wrap;
}
.org__logos img {
  height: clamp(32px, 4vw, 52px);
  width: auto;
  object-fit: contain;
}

@media (min-width: 750px) {
  .org__top .org__label {
    text-align: left;
  }
  .org__top .org__group {
    align-items: flex-start;
  }
}

@media (max-width: 749px) {
  .org__top {
    flex-direction: column;
    gap: 28px;
  }
  .org__group {
    width: 100%;
  }
}
