@charset "UTF-8";

@import url('https://fonts.googleapis.com/css2?family=Jost:ital,wght@0,100..900;1,100..900&family=Zen+Maru+Gothic:wght@400;700&display=swap');

:root {
  --color-primary: #006AB0;
  --color-primary-light: #BEE5F7;
  --color-secondary: #F555A8;
  --color-secondary-light: #FF000526;

  --font-primary: "Zen Maru Gothic", sans-serif;
  --font-secondary: 'Jost', sans-serif;
}

body {
  font-family: var(--font-primary);
  line-height: 1.9;
  font-size: 16px;
}

main {
  max-width: 1640px;
  margin: 0 auto;
}

img {
  max-width: 100%;
  height: auto;
}

/*
 * componets
 *
 */
.container {
  padding: 80px 0;
}

.inner {
  max-width: 960px;
  margin: 0 auto;
}

.title-lg {
  font-size: 48px;
  margin-bottom: 40px;
  font-weight: bold;
  text-align: center;
  color: var(--color-primary);
}

.title-lg > span {
  font-family: var(--font-secondary);
  display: block;
  font-size: 24px;
}

.title-md {
  font-size: 24px;
  margin-bottom: 20px;
  font-weight: bold;
  text-align: center;
  color: var(--color-primary);
}

.title-md > span {
  display: block;
  font-size: 16px;
}

.box {
  background-color: #fff;
  border-radius: 30px;
  padding: 30px;
}

.button-wrapper {
  text-align: center;
  margin-top: 20px;
}

.button-wrapper .button {
  margin-left: auto;
  margin-right: auto;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 54px;
  border-radius: 54px;
  border: 2px solid var(--color-secondary);
  color: var(--color-secondary);
  padding: 10px 40px;
  transition: background-color 0.3s ease, color 0.3s ease;
  font-size: 18px;
  font-weight: bold;
  background-color: #fff;
  cursor: pointer;

  &:hover {
    background-color: var(--color-secondary);
    color: #FFF;
  }
}

@media all and (max-width: 640px) {
  .container {
    padding: 40px 0;
  }

  .inner {
    padding: 0 20px;
  }

  .title-lg {
    font-size: 30px;
    margin-bottom: 20px;
  }

  .title-lg > span {
    font-size: 18px;
  }

  /* .title-md {
    font-size: 24px;
  } */

  .title-md > span {
    font-size: 14px;
  }

  .box {
    padding: 20px;
  }

  .button {
    width: 100%;
    font-size: 16px;
    padding: 10px;
  }
}

/*
 * hero
 *
 */
.hero {
  width: 100%;
}

.hero img {
  width: 100%;
}

.movie {
  aspect-ratio: 16 / 9;
  width: 100%;
}

/*
 * event
 *
 */
.event {
  background-color: var(--color-primary-light);
}

.event-images_wrapper {
  overflow: hidden;
  background-image: linear-gradient(to bottom,
    #fff 0%,
    #fff 50%,
    var(--color-primary-light) 51%,
    var(--color-primary-light) 100%
  );
}

.event-images {
  display: flex;
  gap: 50px;
  margin: 0 -100px;
  align-items: flex-start;
}

.event-images img {
  flex: 1;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 450 / 278;
}

.event-images img:nth-child(even) {
  margin-top: 100px;
}

.event-box {
  font-weight: bold;
}

.event-box_wrapper {
  display: flex;
  margin-top: 40px;
  gap: 40px;
  flex-flow: wrap;
}

.event-box_wrapper .event-box:first-child {
  width: calc(60% - 20px);
}

.event-box_wrapper .event-box:last-child {
  width: calc(40% - 20px);
}

.event-box_date + .event-box_date {
  margin-top: 20px;
}

.event-box_date dt {
  display: inline-block;
  background-color: var(--color-primary);
  color: #FFF;
  border-radius: 10px;
  font-weight: bold;
  line-height: 1;
  padding: 6px 10px;
  margin-bottom: 10px;
  letter-spacing: 0.1em;
}

.event-box_date a {
  color: var(--color-primary);
}

.event-box_point + .event-box_point {
  margin-top: 20px;
}

.event-box_point dt {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  background-color: var(--color-primary-light);
  color: var(--color-primary);
  border-radius: 10px;
  font-weight: bold;
  line-height: 1;
  padding: 6px 10px;
  margin-bottom: 10px;
  letter-spacing: 0.1em;
}

@media all and (max-width: 640px) {
  .event-images {
    gap: 10px;
  }

  .event-images img:nth-child(even) {
    margin-top: 20px;
  }

  .event-box_wrapper {
    flex-direction: column;
    margin-top: 20px;
    gap: 20px;
  }

  .event-box_wrapper .event-box:first-child,
  .event-box_wrapper .event-box:last-child {
    width: 100%;
  }
}


/*
 * schedule
 *
 */
.schedule {
  background-color: var(--color-primary-light);
  background-image: url(/2025/wp-content/themes/tsss2024/files/img/osaka-expo/event_bg.jpg);
  background-size: cover;
  background-position: top center;
}

.schedule-container {
  margin-top: 40px;
}

.schedule-day {
  background-color: #fff;
  border-radius: 10px;
  overflow: hidden;
}

.schedule-day + .schedule-day {
  margin-top: 30px;
}

.schedule-day-header {
  background-color: var(--color-primary);
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 30px;
  cursor: pointer;
}

.schedule-day-title {
  font-size: 24px;
  font-weight: bold;
  line-height: 1.9;
  letter-spacing: 0.1em;
  margin: 0;
}

.schedule-day-arrow {
  width: 30px;
  height: 30px;
  color: #fff;
}

.schedule-day-content_inner {
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.schedule-event {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--color-primary);
}

.schedule-event:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.schedule-event-header {
  display: flex;
  align-items: center;
  gap: 20px;
}

.schedule-event-time {
  font-size: 16px;
  font-weight: bold;
  letter-spacing: 0.1em;
}

.schedule-event-tags {
  display: flex;
  align-items: center;
  gap: 10px;
}

.schedule-tag {
  font-size: 16px;
  font-weight: bold;
  letter-spacing: 0.1em;
  padding: 4px 20px;
  border-radius: 10px;
  text-align: center;
  background-color:#e4e4e4;
}

.schedule-tag-talk_session,
.schedule-tag-lectures {
  background-color: var(--color-primary-light);
  color: var(--color-primary);
}

.schedule-tag-free {
  background-color: var(--color-secondary-light);
  color: var(--color-secondary);
}

.schedule-event-content {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.schedule-event-info {
  display: flex;
  flex-direction: column;
}

.schedule-event-title {
  font-size: 24px;
  font-weight: bold;
  line-height: 1.7;
  color: var(--color-primary);
}

.schedule-event-sub {
  font-weight: bold;
}

.schedule-event-button {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 10px;
}

.schedule-button {
  border: 2px solid var(--color-secondary);
  border-radius: 50px;
  background-color: #fff;
  color: var(--color-secondary);
  font-size: 18px;
  font-weight: bold;
  letter-spacing: 0.1em;
  padding: 10px 40px;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.schedule-button:hover {
  background-color: var(--color-secondary);
  color: #fff;
}

/* アコーディオン機能 */
.schedule-day-content {
  overflow: hidden;
}

.schedule-day.collapsed .schedule-day-content {
  display: none;
}

.schedule-day.collapsed .schedule-day-arrow {
  transform: rotate(0deg);
}

.schedule-day-arrow {
  transition: transform 0.3s ease;
}

@media all and (max-width: 640px) {
  .schedule-container {
    margin-top: 20px;
  }

  .schedule-day-header {
    padding: 15px 20px;
  }

  .schedule-day + .schedule-day {
    margin-top: 20px;
  }

  .schedule-day-title {
    font-size: 18px;
  }

  .schedule-day-arrow {
    width: 24px;
    height: 24px;
  }

  .schedule-day-content {
    padding: 20px;
    gap: 20px;
  }

  .schedule-event {
    gap: 8px;
    padding-bottom: 20px;
  }

  .schedule-event-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .schedule-event-time {
    font-size: 14px;
  }

  .schedule-tag {
    font-size: 14px;
    padding: 3px 15px;
  }

  .schedule-event-title {
    font-size: 18px;
  }

  .schedule-event-sub,
  .schedule-event-description {
    font-size: 14px;
  }

  .schedule-button {
    font-size: 16px;
    padding: 10px 30px;
  }
}

/*
 * schedule detail
 *
 */

.schedule-detail {
  border-bottom: 2px solid var(--color-primary);
}

.schedule-detail-box {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.schedule-detail_hero {
  position: relative
}

.schedule-detail_hero_wrapper {
  position: absolute;
  top: 38%;
  left: 0;
  width: 100%;
  text-align: center;
  padding: 0 40px;
  transform: translateY(-50%);
  color: #fff;
  font-weight: bold;
}

.schedule-detail_hero_wrapper h1 {
  font-size: 36px;
  line-height: 1.2;
}

.schedule-detail-content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.schedule-detail-thumbnail {
  width: 40%;
}

.schedule-detail-title {
  font-size: 30px;
  font-weight: bold;
  color: var(--color-primary);
}

.schedule-detail-main {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.schedule-detail-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.schedule-detail-datetime {
  font-size: 30px;
  font-weight: bold;
}

.schedule-detail-tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.schedule-detail-subtitle {
  font-size: 14px;
  font-weight: bold;
}

.schedule-detail-description {
  font-size: 20px;
}

.schedule-detail-description p + p {
  margin-top: 20px;
}

.schedule-detail-description h2,
.schedule-detail-description h3,
.schedule-detail-description h4 {
  color: var(--color-primary);
  margin-top: 30px;
  margin-bottom: 15px;
}

@media all and (max-width: 640px) {
  .schedule-detail-title {
    font-size: 24px;
  }

  .schedule-detail_hero_wrapper {
    top: 42%;
  }

  .schedule-detail_hero_wrapper h1 {
    font-size: 32px;
    line-height: 1.2;
  }

  .schedule-detail-main {
    flex-direction: column;
    gap: 20px;
  }

  .schedule-detail-thumbnail {
    flex: none;
    width: 100%;
  }

  .schedule-detail-datetime {
    font-size: 24px;
  }

  .schedule-detail-content-wrapper {
    gap: 20px;
  }

  .schedule-detail-subtitle,
  .schedule-detail-description {
    font-size: 18px;
  }
}

/*
 * access
 *
 */
.access {
  background-color: var(--color-primary);
  background-image: url(/2025/wp-content/themes/tsss2024/files/img/osaka-expo/access_bg.png);
  background-size: cover;
  background-position: top center;
}

.access-text {
  font-weight: bold;
}

.access-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}

.access-map {
  margin-top: 20px;
  aspect-ratio: 16 / 9;
  width: 100%;
}

.access-map_image {
  margin-top: 40px;
}

.access-reservation {
  margin-top: 40px;
}

.access-reservation .title-md {
  text-align: left;
}

@media all and (max-width: 640px) {
  .access-buttons {
    flex-direction: column;
    gap: 10px;
  }
}

/*
 * news
 *
 */
.news {
  background-color: var(--color-primary);
}

.news-inner {
  background-color: var(--color-primary-light);
  margin-top: -2px;
}

.news-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 40px;
}

.news-item {
  background-color: #fff;
  border-radius: 10px;
  padding: 20px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.news-date {
  font-weight: bold;
  white-space: nowrap;
}

.news-title {
  font-weight: bold;
  color: var(--color-primary);
  flex: 1;
}

.news-title a {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.news-title a:hover {
  opacity: 0.7;
}

@media all and (max-width: 640px) {
  .news-list {
    margin-top: 20px;
    gap: 10px;
  }

  .news-item {
    padding: 15px;
    gap: 10px;
  }

  .news-date,
  .news-title {
    font-size: 14px;
  }
}


/*
 * Organizer
 *
 */
.organizer {
  text-align: center;
  font-weight: bold;
  font-size: 24px;
  padding-left: 20px;
  padding-right: 20px;
}

.organizer-cooperation {
  margin-top: 40px;
}

.organizer-main {
  display: flex;
  justify-content: center;
}

.organizer-cooperation h3 {
  color: var(--color-primary)
}

.organizer-main h3 {
  display: inline-block;
  color: var(--color-primary)
}

.organizer-cooperation p {
  font-size: 20px;
}

@media all and (max-width: 640px) {
  .organizer-main {
    display: block;
  }


  .organizer-cooperation p {
    font-size: 16px;
  }
}
