/*==========================
  汎用
===========================*/
.visible-md {
  display: none;
}

@media (min-width: 768px) {
  .visible-xs {
    display: none;
  }

  .visible-md {
    display: block;
  }
}

/*==========================
  共通
===========================*/
section {
  margin: 0 auto 4rem;
}

.section__inner {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto 4rem;
  padding-left: 10px;
  padding-right: 10px;
}

main {
  padding-top: 0;
}

.content-inner {
  padding: 0 1rem;
}

.bg__white {
  background: var(--white);
  padding-top: 1.6rem;
  padding-bottom: 2.5rem;
}

/* ボタン */
.link-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 32rem;
  margin: auto;
  padding: 1.4rem;
  font-size: 1.6rem;
  color: var(--white);
  font-weight: bold;
  text-align: center;
  background: var(--secondary);
  border-radius: 999px;
}

@media (min-width: 1024px) {

  section,
  .section__inner {
    padding-left: 0;
    padding-right: 0;
    margin-bottom: 5.3rem;
  }

  .content-inner {
    padding: 0 3.6rem;
  }
}

/*==========================
  パンくず
===========================*/
.conferences-bread {
  margin-bottom: 2.5rem;
  padding-top: 64px;
}

.conferences-bread__list {
  display: flex;
  overflow-x: scroll;
  white-space: nowrap;
  /* スクロールバー非表示 */
  -ms-overflow-style: none;
  /* IE/Edge 対応 */
  scrollbar-width: none;
  /* Firefox */
  margin-top: 10px;
}

/* スクロールバー非表示 */
.conferences-bread__list::-webkit-scrollbar {
  display: none;
  /* Chrome, Safari */
}

.conferences-bread__list li {
  display: flex;
  align-items: center;
  color: var(--text-primary);
  font-size: 1.2rem;
}

.conferences-bread__list li a {
  color: var(--secondary);
  font-size: 1.2rem;
  display: flex;
  align-items: center;
}

.conferences-bread__list li:not(:last-child)::after {
  content: ">";
  display: inline-block;
  padding: 0 1rem;
}

@media (min-width: 768px) {
  .conferences-bread {
    padding-top: 0;
  }

  .conferences-bread__list {
    margin-top: 20px;
  }
}

/*==========================
  タイトル
===========================*/
.ttl__mb {
  margin-bottom: 3.2rem;
}

/* h1 */
.conference__ttl {
  font-size: 2rem;
  font-weight: bold;
  line-height: 1.4;
}

/* h2 */
.section-ttl__archive {
  margin-bottom: 2.4rem;
  font-family: var(--family-oswald);
  font-size: 2rem;
  font-weight: bold;
  line-height: 1.4;
  border-bottom: 1px solid var(--gray);
  position: relative;
}

.section-ttl__archive--inner {
  font-family: var(--family-oswald);
  border-bottom: 1px solid var(--secondary);
  float: left;
  margin-bottom: -1px;
  padding: .25em .5em;
}

.section-ttl__archive::after {
  clear: both;
  content: "";
  display: block;
  height: 0;
  visibility: hidden;
}

.section-ttl__single {
  font-size: 2rem;
  font-weight: bold;
  line-height: 1.6;
  padding-left: 1.7rem;
  border-left: 2px solid var(--secondary);
  margin-bottom: 2.4rem;
}

@media (min-width: 768px) {
  .ttl__mb {
    margin-bottom: 6.4rem;
  }

  .conference__ttl {
    font-size: 2.4rem;
  }

  .section-ttl__archive {
    margin-bottom: 4rem;
    font-size: 2.4rem;
  }
}

/*==========================
  登壇者  写真・肩書・名前
===========================*/
/* 顔写真・肩書・名前 */
.speaker__info {
  display: grid;
  grid-template-columns: 100px 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 1rem;
  grid-row: 1/2;
}

.speaker__thumb {
  grid-column: 1/2;
  grid-row: 1/3;
  width: 100px;
  height: 100px;
  margin: auto;
  clip-path: circle(50% at 50% 50%);
  position: relative;
}

.speaker__thumb::before {
  content: "";
  display: block;
  width: 100px;
  height: 100px;
  margin-top: 1px;
  border: 2px solid var(--light-gray);
  border-radius: 50%;
  position: absolute;
  inset: 0;
  z-index: 1;
}

.speaker__thumb img {
  width: 100%;
  height: auto;
  vertical-align: middle;
  object-fit: cover;
  transform: scale(1.2);
}

.speaker__position {
  grid-column: 2/3;
  grid-row: 1/2;
  align-self: end;
  font-size: 1.2rem;
  font-weight: bold;
  line-height: 1.2;
}

.speaker__name {
  grid-column: 2/3;
  grid-row: 2/3;
  align-self: start;
  font-size: 1.6rem;
  font-weight: bold;
  line-height: 1.2;
}

@media (min-width: 768px) {

  /* 顔写真・肩書・名前 */
  .speaker__info {
    grid-template-columns: auto;
    grid-template-rows: repeat(2, auto) 1fr;
    gap: 1.6rem;
    text-align: center;
  }

  .speaker__thumb {
    grid-column: auto;
    grid-row: 1/2;
  }

  .speaker__position {
    grid-column: auto;
    grid-row: 2/3;
  }

  .speaker__name {
    grid-column: auto;
    grid-row: 3/4;
  }
}



/*==========================
  一覧 archive
===========================*/
/* カード */
.conference-card__wrap {
  display: grid;
  gap: 4.3rem;
  grid-template-columns: 1fr;
}

.conference-card {
  margin-top: 0;
  padding: 1.3rem 0 2rem;
  border-radius: 10px;
  border: 1px solid var(--primary);
  background: var(--white);
}

@media (min-width: 768px) {
  .conference-card__wrap {
    grid-template-columns: repeat(2, minmax(200px, 1fr));
  }

  .conference-card {
    padding-bottom: 3.3rem;
  }
}

/* カード中身 */
.conference-card__date,
.conference-card__ttl,
.conference-card__excerpt,
.conference-card__btn--wrap {
  padding-left: 1rem;
  padding-right: 1rem;
}

/* 日付 */
.conference-card__date {
  display: flex;
  align-items: baseline;
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.num-bold {
  font-size: 2.7rem;
  font-family: var(--family-oswald);
  font-weight: bold;
  line-height: 1;
}

.date__time {
  font-size: 1.4rem;
  font-family: var(--family-oswald);
}

/* タイトル */
.conference-card__ttl {
  margin-bottom: .8rem;
  font-size: 1.8rem;
  color: var(--secondary);
  font-weight: bold;
  line-height: 1.5;
}

/* 概要の抜粋 */
.conference-card__excerpt {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  /* 2行に制限 */
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 1rem;
  font-size: 1.4rem;
  line-height: 1.5;
}


/* 登壇者 */
.archive-speakers {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  padding: 1rem 1.4rem;
  border-top: 1px dotted var(--light-green);
  border-bottom: 1px dotted var(--light-green);
  width: 100%;
}

/* 顔写真・肩書・名前 */
.archive-speakers .speaker__info {
  display: grid;
  grid-template-columns: 70px 1fr;
  grid-template-rows: auto auto;
  gap: 1rem;
  width: 100%;
  text-align: left;
}

.archive-speakers .speaker__thumb,
.archive-speakers .speaker__thumb::before {
  width: 70px;
  height: 70px;
}

.archive-speakers .speaker__thumb {
  grid-column: 1/2;
  grid-row: 1/3;
}

.archive-speakers .speaker__position {
  grid-column: 2/3;
  grid-row: 1/2;
  align-self: end;
  font-weight: normal;
}

.archive-speakers .speaker__name {
  grid-column: 2/3;
  grid-row: 2/3;
  align-self: start;
}


.conference-card__btn--wrap {
  margin-top: 1.6rem;
  text-align: center;
}

.conference-card__fee {
  display: inline-block;
  margin-bottom: .8rem;
  padding-bottom: .3rem;
  font-size: 1.6rem;
  font-weight: bold;
  line-height: 1;
  color: var(--secondary);
  border-bottom: 2px solid var(--secondary);
}

.conference-card__btn.link-btn {
  width: auto;
  max-width: fit-content;
  padding: 1.2rem 2.4rem;
  line-height: 1.2;
}

@media (min-width: 768px) {
  .conference-card__date {
    margin-bottom: 2rem;
    font-size: 1.4rem;
  }

  .num-bold {
    font-size: 3.2rem;
  }

  .date__time {
    font-size: 1.6rem;
  }

  .conference-card__ttl {
    margin-bottom: 1.3rem;
    font-size: 1.9rem;
  }

  .conference-card__excerpt {
    margin-bottom: 2rem;
  }

  /* 登壇者 */
  .archive-speakers {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: start;
    gap: 3rem;
  }

  .archive-speakers:has(.speaker__info:first-child:last-child) {
    justify-content: center;
  }

  /* 顔写真・肩書・名前 */
  .archive-speakers .speaker__info {
    width: calc((100% - 3rem) / 2);
  }

  .conference-card__btn--wrap {
    margin-top: 2.4rem;
  }
}



/*==========================
  詳細 single
===========================*/
/* h1 */
.conference-single__ttl {
  display: flex;
  align-items: flex-start;
}

.conference__ttl--date {
  display: grid;
  grid-template-areas:
    "single-year single-year single-year"
    "single-month single-separator single-day";
  margin-right: 1.3rem;
  padding-right: 1.3rem;
  font-family: var(--family-oswald);
  font-weight: bold;
  line-height: 1;
  font-size: 2rem;
  text-align: center;
  border-right: 1px solid #c7c7c7;
}

.conference__ttl--date .year {
  grid-area: single-year;
  font-size: 1.4rem;
}

.conference__ttl--date .month {
  grid-area: single-month;
}

.conference__ttl--date .separator {
  grid-area: single-separator;
}

.conference__ttl--date .day {
  grid-area: single-day;
}

@media (min-width: 768px) {
  .conference__ttl--date {
    font-size: 2.4rem;
  }
}


/* FV下のボタン */
.entry-btn__fv .link-btn {
  max-width: 40rem;
}

.link-btn .entry-form__icon {
  margin-left: .6rem;
}


/* 対象参加者 */
.target-item {
  display: flex;
  line-height: 1.6;
}

.target-item:not(:last-child) {
  margin-bottom: 1rem;
}

.target-item__icon {
  margin-right: 1.2rem;
  color: var(--secondary);
}

@media (min-width: 768px) {
  .target-item:not(:last-child) {
    margin-bottom: 2.5rem;
  }
}


/* セミナー内容 */
.single-detail__inner ul,
.single-detail__inner ol {
  padding-left: 1.4rem;
}

.single-detail__inner p:not(:last-child),
.single-detail__inner ul li:not(:last-child),
.single-detail__inner ol li:not(:last-child) {
  margin-bottom: 2.5rem;
}

.single-detail__inner ul li {
  list-style-type: disc;
}

.single-detail__inner ol li {
  list-style-type: decimal;
}


/* タイムスケジュール */
.schedule-item {
  list-style-type: disc;
  list-style-position: inside;
}

.schedule-item:not(:last-child) {
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .schedule-item:not(:last-child) {
    margin-bottom: 2.5rem;
  }
}


/* 開催概要 */
.overview-list {
  margin-bottom: 1rem;
}

.overview-list {
  line-height: 1.6;
  border-collapse: collapse;
}

.overview-list dt,
.overview-list dd {
  margin: 0;
  padding: 1rem 2rem;
  border-top: 1px solid var(--light-gray);
}

.overview-list dt {
  font-weight: bold;
  background-color: var(--white-green);
}

.overview-list dd {
  background-color: var(--white);
}

.overview-list dd:last-of-type {
  border-bottom: 1px solid var(--light-gray);
}

.single-note {
  font-size: 1.2rem;
  font-weight: bold;
}

@media (min-width: 768px) {
  .overview-list {
    display: grid;
    grid-template-columns: 35.48% 1fr;
    line-height: 1.6;
    border-collapse: collapse;
  }

  .overview-list dt,
  .overview-list dd {
    margin: 0;
    padding: 2rem 1rem;
    border-top: 1px solid var(--light-gray);
  }

  .overview-list dt:nth-of-type(odd),
  .overview-list dd:nth-of-type(odd) {
    background-color: var(--white-green);
  }

  .overview-list dt:nth-of-type(even),
  .overview-list dd:nth-of-type(even) {
    background-color: var(--white);
  }

  .overview-list dt:last-of-type,
  .overview-list dd:last-of-type {
    border-bottom: 1px solid var(--light-gray);
  }

  .single-note {
    padding-left: 1rem;
    font-size: 1.4rem;
  }
}



/* 登壇者紹介 */
.single-speaker:not(:last-child) {
  margin-bottom: 4.4rem;
}

.single-speaker {
  display: grid;
  grid-template-columns: auto;
  grid-template-rows: auto 1fr;
  gap: 2rem;
  padding: 2.5rem 2rem;
  border-radius: 8px;
  border: 1px solid var(--light-gray);
  background: var(--white);
}

/* 顔写真・肩書・名前 */
.single-speaker .speaker__info {
  display: grid;
  grid-template-columns: 100px 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 1rem;
  grid-row: 1/2;
}

.single-speaker .speaker__profile {
  grid-row: 2/3;
  font-size: 1.4rem;
  padding-top: 1rem;
  border-top: 1px solid var(--light-gray);
}

@media (min-width: 768px) {
  .single-speaker {
    grid-template-columns: 170px 1fr;
    grid-template-rows: auto;
    gap: 2rem;
    padding: 2.5rem 2rem;
  }

  /* 顔写真・肩書・名前 */
  .single-speaker .speaker__info {
    grid-template-columns: auto;
    grid-template-rows: repeat(2, auto) 1fr;
    gap: 1.6rem;
    text-align: center;
  }

  .single-speaker .speaker__profile {
    grid-row: auto;
    font-size: 1.4rem;
    padding-top: 0;
    padding-left: 1.6rem;
    border-top: none;
    border-left: 1px solid var(--light-gray);
  }
}

/* 申し込みフォーム */
.single-form {
  padding-bottom: 5rem;
}

.single-form__lead {
  text-align: center;
}

.entry-form__wrap {
  max-width: 50rem;
  margin: 2rem auto 0;
  padding: 3rem 2rem;
  border-radius: .5rem;
  background: var(--white);
  box-shadow: 0 4px 12px 0 rgba(0, 0, 0, .10);
}

.entry-form__ttl--wrap {
  text-align: center;
}

.entry-form__ttl {
  display: inline-block;
  margin-bottom: 1.6rem;
  padding: 0 1.6rem;
  font-size: 2rem;
  font-weight: bold;
  line-height: 1.2;
  position: relative;
}

.entry-form__ttl::before,
.entry-form__ttl::after {
  content: "";
  display: inline-block;
  width: 1px;
  height: 20px;
  margin: auto;
  background: var(--text-primary);
  position: absolute;
  bottom: 4px;
}

.entry-form__ttl::before {
  transform: rotate(-45deg);
  left: 0;
}

.entry-form__ttl::after {
  transform: rotate(45deg);
  right: 0;
}

@media (min-width: 768px) {
  .single-form {
    padding-bottom: 7rem;
  }

  .entry-form__wrap {
    max-width: 815px;
    margin-bottom: 0;
    padding: 4rem;
  }

  .entry-form__ttl {
    margin-bottom: 2.6rem;
    font-size: 2.4rem;
  }
}
