:root {
  --text: #000000;
  --card: #ffffff;
  --content-max: 1280px;
  --content-gutter: 24px;
  --container-pl: 131px;
  --container-pr: 86px;
  --font-base: "Inter", "Noto Sans TC", "PingFang TC", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-base);
  font-style: normal;
  color: var(--text);
  background: var(--bg);
}

.container {
  width: min(var(--content-max), calc(100% - (var(--content-gutter) * 2)));
  margin: 0 auto;
  padding: 0 var(--container-pr) 0 var(--container-pl);
}

.site-header,
.site-footer {
  background: var(--card);
  border-bottom: 1px solid var(--line);
}

.site-footer {
  margin-top: 60px;
  font-size: 20px;
  line-height: 24px;
}

.header-hero {
  min-height: 388px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.header-hero-inner {
  min-height: inherit;
  display: block;
  align-items: center;
  padding-top: 89px;
}

.header-content {
  width: 100%;
}

.header-hero-home {
  min-height: 566px;
}

.header-hero-default {
  min-height: 388px;
}

.shared-header-content {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.shared-header-title {
  margin: 0;
  max-width: 720px;
  font-weight: 600;
  font-size: 48px;
  line-height: 1.15;
  color: #ffffff;
}

.shared-header-logo {
  width: 108px;
  height: 108px;
  object-fit: contain;
  flex: 0 0 auto;
}

.site-footer {
  height: 106px;
  background: linear-gradient(90deg, #8f04fd 0%, #bc01b8 100%);
  color: #ffffff;
  border-bottom: 0;
  margin-top: 120px;
}

.site-footer .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 24px;
  margin-top: 24px;
}

.hero img {
  max-width: 100%;
  height: auto;
  border: 1px dashed var(--line);
  border-radius: 8px;
  display: block;
  margin-top: 16px;
}

.home-hero {
  margin-top: -252px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 48px;
  align-items: start;
  padding-bottom: 75px;
  font-weight: 400;
  font-size: 24px;
  color: #FFFFFF;
}

.purchase-ticket {
  grid-column: 1;
  
  width: 176px;
  height: 176px;
  overflow: visible;
}

.purchase-ticket img {
  width: 176px;
  height: 176px;
  transition: transform 220ms ease;
  transform-origin: center;
  will-change: transform;
}

.forum-info {
  grid-column: 2;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: 1fr 2fr;
  gap: 16px;
  padding-top: 40px;
}

.forum-schedule-icon {
  grid-column: 1;
  grid-row: 1;
}

.forum-schedule {
  grid-column: 2;
  grid-row: 1;
}

.location-icon {
  grid-column: 1;
  grid-row: 2;
}

.location {
  grid-column: 2;
  grid-row: 2;
}

.forum-info p {
  margin: 0;
}

.home-content {
  margin: 32px auto;
  
}

.speach-title{
  display: flex;
  align-items: center;
  gap: 80px;
  flex-wrap: wrap;
}

.speach-title-icon {
  width: 168px;
  height: 133px;
}

.speach-title-icon img {
  width: 168px;
  height: 133px;
}

.speach-title h3 {
  margin: 0;
  min-width: 440px;
  font-weight: 400;
  font-size: 40px;
  line-height: 44px;
}

.description {
  margin-top: 16px;
  padding: 16px 0;
  font-weight: 400;
  font-size: 20px;
  line-height: 35px;
}

.description p {
  margin-top: 32px;
}

.home-hr {
  width: auto;
  margin-top: 32px;
  margin-bottom: 32px;
  margin-right: calc(-1 * var(--container-pr));
  margin-left: calc(-1 * var(--container-pl));
}

.speaker {
  max-width: 1200px;
  
  
  font-size: 20px;
  line-height: 24px;
}

.speaker-title {
  margin-left: 12px;
}

.speaker-title .bold {
  font-weight: 700;
}

.speaker-title {
  margin-left: 12px;
}

.speaker-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(460px, 1fr));
  column-gap: 60px;
  row-gap: 32px;
}

.speaker-info-item {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  row-gap: 16px;
  align-items: end;
}

.speaker-info-item img {
  width: 100%;
  
  height: auto;
  display: block;
}

.speaker-info-item p {
  margin: 0;
}

.speaker-text {
  padding-left: 10px;
  align-self: end;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.download-message {
  margin-top: 48px;
  
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.arrow img {
  width: 112px;
  height: 32px;
}

.download-text {
  flex: 1 1 360px;
  min-width: 0;
  font-weight: 400;
  font-size: 36px;
  line-height: 44px;
}

.download-text p {
  margin: 0;
  white-space: normal;
  overflow-wrap: anywhere;
}

.home-hr svg {
  width: 100%;
  height: auto;
  display: block;
}

.round-button {
  width: 216px;
  height: 58px;
  background: url("../images/round-button.gif") no-repeat center;
  background-size: 216px 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.round-button a {
  font-size: 28px;
  text-decoration: none;
  color: inherit;
}

.action-page {
  
  
  min-height: 760px;
  padding-top: 48px;
  padding-bottom: 96px;
}



.action-message {
  
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.action-message p {
  flex: 1 1 360px;
  min-width: 0;
  margin: 0;
  font-weight: 400;
  font-size: 36px;
  line-height: 44px;
  white-space: normal;
  overflow-wrap: anywhere;
}

.application-form {
  
  margin: 70px auto 0;
  
}

.form-row {
  display: flex;
  align-items: center;
  gap: 44px;
  margin-bottom: 32px;
}

.form-row label {
  font-size: 16px;
  line-height: 19px;
}

.form-row input {
  flex: 1 1 auto;
  min-width: 0;
  height: 45px;
  border: 1px solid #000000;
  border-radius: 10px;
  background: transparent;
  font-size: 24px;
  padding: 0 12px;
}

.application-note {
  margin: 50px 0 16px;
  font-size: 16px;
  line-height: 30px;
}

.submit-image-button,
.download-image-button {
  display: block;
  width: fit-content;
  margin: 0 auto;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.submit-image-button img,
.download-image-button img {
  width: 310px;
  height: 138px;
  display: block;
}



.download-page .action-message {
  justify-content: center;
  
}



.download-image-button {
  margin-top: 0;
  
}

.download-button-wrap {
  margin-top: 100px;
}


@media (max-width: 1280px) {
  :root {
    --container-pr: clamp(20px, 6.72vw, 86px);
    --container-pl: clamp(20px, 10.24vw, 131px);
  }

  .container {
    padding-right: var(--container-pr);
    padding-left: var(--container-pl);
  }
}

@media (max-width: 767px) {
  :root {
    --container-pr: 16px;
    --container-pl: 16px;
  }

  .container {
    padding-right: var(--container-pr);
    padding-left: var(--container-pl);
  }

  .shared-header-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .shared-header-logo {
    order: 1;
  }

  .shared-header-title {
    order: 2;
    font-size: 44px;
  }

  .home-hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }

  .forum-info {
    order: 1;
    grid-column: auto;
    grid-row: auto;
  }

  .purchase-ticket {
    order: 2;
    grid-column: auto;
    grid-row: auto;
  }

  .forum-info,
  .purchase-ticket,
  .shared-header-logo,
  .shared-header-title {
    margin-left: auto;
    margin-right: auto;
  }

  .action-message {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .action-message p {
    flex: none;
  }

  .form-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .form-row label {
    font-size: 20px;
    line-height: 1.3;
  }

  .form-row input {
    width: 100%;
  }

  .speaker-info {
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  }
}

@media (hover: hover) and (pointer: fine) {
  .purchase-ticket:hover img {
    transform: scale(1.1);
  }
}

@media (max-width: 640px) {
  .home-hero {
    margin-top: 0;
    color: #000000;
  }

  .speach-title h3 {
    min-width: 0;
  }

  .speaker-info-item {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .speaker-info-item img,
  .speaker-text {
    min-width: 0;
  }

  .speaker-text {
    padding-left: 0;
    align-self: start;
  }
}


