/* ===== Design tokens ===== */
:root {
  --cream: #fffef3;
  --gray: #707070;
  --white: #fff;
  --cyan: #00d1ff;
  --cyan2: #00b2f3;
  --purple: #4914f5;
  --pink: #ff7faa;
  --card-border: #824800;

  --grad-heading: linear-gradient(90deg, #00d1ff 0%, #4914f5 100%);
  --grad-hero: linear-gradient(90deg, #ff7faa 0%, #00b2f3 100%);
  --grad-btn: linear-gradient(149deg, #00d1ff 30%, #4914f5 130%);
  --grad-banner: linear-gradient(146deg, #00d1ff 35%, #4914f5 130%);

  --maxw: 1140px;
  --font-jp: "Noto Sans JP", sans-serif;
  --font-en: "Roboto", "Noto Sans JP", sans-serif;
}

/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-jp);
  color: var(--gray);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: inherit; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 24px;
}

/* ===== Gradient text helpers ===== */
.gradient-hero,
.gradient-heading {
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.gradient-hero { background-image: var(--grad-hero); }
.gradient-heading { background-image: var(--grad-heading); }

/* ===== Buttons ===== */
.btn-cta,
.btn-profile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  height: 50px;
  padding: 0 36px;
  border-radius: 30px;
  background-image: var(--grad-btn);
  color: var(--white);
  font-family: var(--font-jp);
  font-weight: 700;
  font-size: 18px;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 6px 18px rgba(73, 20, 245, 0.22);
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}
.btn-cta:hover,
.btn-profile:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(73, 20, 245, 0.32);
  filter: brightness(1.05);
}
.btn-cta__icon {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}
.btn-cta--bordered { border: 4px solid var(--white); }
.btn-profile { font-family: var(--font-jp); }

.cta-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  margin-top: 60px;
}
.cta-note { margin: 0; font-size: 16px; color: var(--gray); }

/* ===== Sections & headings ===== */
main { display: block; }
.section { padding-block: 70px; }

.section-heading {
  position: relative;
  margin: 0 0 56px;
  padding-left: 96px;
  min-height: 56px;
  display: flex;
  align-items: flex-end;
}
.section-heading::before {
  content: attr(data-num);
  position: absolute;
  left: 0;
  top: -6px;
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 75px;
  line-height: 1;
  letter-spacing: -2px;
  background-image: var(--grad-heading);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.section-heading span {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 35px;
  line-height: 1.1;
  text-transform: capitalize;
  background-image: var(--grad-heading);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

/* ===== Hero ===== */
.hero { padding-top: 90px; padding-bottom: 10px; }
.hero__inner {
  max-width: 880px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 48px;
}
.hero__eyebrow {
  margin: 0;
  font-family: var(--font-en);
  font-weight: 700;
  font-size: clamp(16px, 2vw, 20px);
  letter-spacing: 1px;
}
.hero__title {
  margin: 0;
  font-family: var(--font-en);
  font-weight: 800;
  font-size: clamp(24px, 4vw, 40px);
  line-height: 1.35;
  letter-spacing: 0.5px;
}
.hero__title-sub { display: inline-block; }
.hero__lead {
  margin: 0;
  max-width: 820px;
  text-align: justify;
  font-family: var(--font-en);
  font-size: clamp(16px, 1.6vw, 18px);
  line-height: 1.9;
  color: var(--gray);
}
.hero__lead p { margin: 0 0 14px; }
.hero__lead p:last-child { margin-bottom: 0; }

/* ===== 01 Outline ===== */
.outline-list {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 38px;
  padding-left: 40px;
}
.outline-row {
  display: grid;
  grid-template-columns: 200px 1fr;
  align-items: baseline;
  gap: 16px;
}
.outline-row dt {
  font-weight: 700;
  font-size: 18px;
  color: var(--gray);
}
.outline-row dd { margin: 0; }
.outline-value {
  display: block;
  font-family: var(--font-en);
  font-weight: 700;
  font-size: clamp(20px, 2.4vw, 30px);
  line-height: 1.4;
  color: var(--cyan2);
}
.outline-link {
  display: inline-block;
  margin-top: 10px;
  font-size: 16px;
  color: var(--gray);
  text-decoration: underline;
  word-break: break-all;
}

/* ===== 02 Program ===== */
.program { padding-left: 40px; }
.program-row {
  display: grid;
  grid-template-columns: 170px 120px 1fr;
  gap: 28px;
  align-items: start;
  padding: 36px 8px;
  border-top: 1px solid var(--gray);
}
.program-row:last-child { border-bottom: 1px solid var(--gray); }
.program-time {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 22px;
  color: var(--gray);
  white-space: nowrap;
}
.program-cat {
  font-weight: 700;
  font-size: 18px;
  color: var(--gray);
}
.program-detail {
  font-size: 18px;
  line-height: 1.7;
  color: var(--gray);
}
.program-detail ul {
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
  font-size: 17px;
}
.program-sub {
  display: block;
  margin-top: 6px;
  font-size: 16px;
}

/* ===== 03 Introduction (speaker cards) ===== */
.speakers {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  align-items: stretch;
}
.card {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 28px 26px 32px;
  text-align: center;
}
.card__photo {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 22px;
  flex: none;
}
.card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.card__name {
  margin: 0 0 10px;
  font-weight: 700;
  font-size: 23px;
  color: var(--gray);
}
.card__affil {
  margin: 0 0 20px;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.7;
  color: var(--gray);
}
.card__bio {
  font-family: var(--font-en);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.75;
  color: var(--gray);
  text-align: left;
  flex: 1 1 auto;
  margin-bottom: 24px;
}
.card__bio p { margin: 0 0 14px; }
.card__bio p:last-child { margin-bottom: 0; }
.card .btn-profile { margin-top: auto; min-width: 240px; }

/* ===== Fixed CTA banner (sticky-bottom, releases above footer) ===== */
.banner {
  position: sticky;
  bottom: 0;
  z-index: 50;
  width: 100%;
  background-image: var(--grad-banner);
  padding-block: 18px;
  box-shadow: 0 -6px 20px rgba(0, 0, 0, 0.18);
}
.banner__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}
.banner__text { text-align: center; color: var(--white); }
.banner__title {
  margin: 0 0 4px;
  font-family: var(--font-en);
  font-weight: 800;
  font-size: clamp(14px, 1.6vw, 22px);
  letter-spacing: 0.4px;
}
.banner__date {
  margin: 0;
  font-family: var(--font-en);
  font-weight: 800;
  font-size: clamp(20px, 2.6vw, 36px);
  letter-spacing: 0.6px;
  line-height: 1.1;
}

/* ===== Inquiry + footer ===== */
.footer { margin-top: 20px; }
.inquiry {
  padding-block: 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.inquiry__heading {
  display: flex;
  align-items: center;
  gap: 18px;
  width: 100%;
  max-width: 1110px;
  margin-bottom: 40px;
}
.inquiry__line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--cyan), var(--purple));
  opacity: 0.6;
}
.inquiry__title {
  margin: 0;
  font-weight: 700;
  font-size: 40px;
  line-height: 1;
  text-transform: capitalize;
}
.inquiry__sub {
  margin: 0 0 22px;
  font-weight: 700;
  font-size: 23px;
  color: var(--gray);
}
.inquiry__contact {
  margin: 0 0 32px;
  font-weight: 500;
  font-size: 15px;
  line-height: 2;
  color: var(--gray);
}
.inquiry__contact a { text-decoration: underline; }
.btn-mail { min-width: 240px; }

.footer__bar {
  position: relative;
  background-image: var(--grad-heading);
  color: var(--white);
  padding: 70px 24px 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 44px;
}
.footer__related {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 1px;
}
.footer__related-label { margin: 0 0 4px; }
.footer__related a { text-decoration: underline; }
.footer__logo {
  width: 163px;
  height: auto;
  margin-top: 14px;
}
.footer__copy {
  margin: 0;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.8px;
  text-align: center;
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .section { padding-block: 56px; }
  .section-heading { padding-left: 76px; }
  .section-heading::before { font-size: 60px; }
  .section-heading span { font-size: 30px; }

  .outline-list { padding-left: 0; }
  .outline-row { grid-template-columns: 1fr; gap: 4px; }

  .program { padding-left: 0; }
  .program-row {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 24px 4px;
  }
  .program-cat {
    display: inline-block;
    font-size: 22px;
  }

  .speakers { grid-template-columns: 1fr; gap: 28px; }

  .banner__inner { gap: 14px; }
}

@media (max-width: 600px) {
  .container { padding-inline: 18px; }
  .hero { padding-top: 60px; }
  .hero__inner { gap: 32px; }
  /* スマホでタイトルを1行に収める（約453px以上は24pxのまま、それ未満はvwで縮小） */
  .hero__title { font-size: clamp(15px, 5.3vw, 24px); letter-spacing: 0; }
  .inquiry { padding-block: 56px; }
  .inquiry__title { font-size: 32px; }
  .footer__bar { padding: 50px 18px 44px; }
  .btn-cta, .btn-profile { font-size: 16px; padding: 0 24px; gap: 12px; }
  .banner__inner { flex-direction: column; }
}

/* ===== Utility: 表示切替・改行制御 =====
   SP/PC の境界は 900px（既存ブレークポイントに合わせています）。
   隠す側だけ display:none を当てる方式なので、<br> 以外の要素にも使えます。 */

/* 常に非表示 */
.display-none { display: none !important; }

/* PC（≧901px）でのみ非表示 ＝ スマホ専用（例: <br class="sp_only">） */
@media (min-width: 901px) {
  .sp_only { display: none !important; }
}

/* スマホ（≦900px）でのみ非表示 ＝ PC専用（例: <br class="pc_only">） */
@media (max-width: 900px) {
  .pc_only { display: none !important; }
}
