/*
  使用view：
  - web/app/views/partners/seminar/202505-thanks.erb
  - web/app/views/partners/seminar/202505.erb
*/

/* リファクタリング */
/* ここから */
.seminar-body-contents h1,
.seminar-body-contents h3,
.seminar-body-contents p,
.thanks-content h1,
.thanks-content h3,
.thanks-content p {
  margin: 0;
}

.seminar-body-contents .button {
  display: none;
}

@media screen and (max-width: 1000px) {
  .seminar-body-contents .button {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 300px;
    height: 50px;
    font-size: 16px;
    font-weight: 700;
    line-height: 140%;
    margin: 0 auto;
    text-decoration: none;
    color: #333;
  }
}

.outline-black {
  background-color: #fff;
  border: 1px solid #333;
  border-radius: 8px;
}
/* ここまでのちにgrobalへ */

.seminar-body-contents {
  display: flex;
  flex-direction: column;
  gap: 64px 0;
  color: #333;
  font-family: 'Noto Sans JP';
}

.left-border-content-title {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  line-height: 140%;
  /* title-border */
  border-left: 3px solid #f6ac0e;
  padding-left: 12px;
}

@media screen and (max-width: 767px) {
  .seminar-body-contents {
    gap: 32px 0;
  }

  .left-border-content-title {
    font-size: 18px;
    /* title-border */
    padding-left: 10px;
  }
}

/* TOP */
.seminar-top-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 64px 0;
  padding: 40px 40% 0 130px;
}

.seminar-top-thumbnail {
  max-width: 700px;
}

.seminar-top-thumbnail img {
  width: 100%;
}

.seminar-top-title {
  width: 100%;
}

.seminar-top-title label {
  display: flex;
  justify-content: flex-start;
  margin-bottom: 16px;
}

.seminar-top-title p {
  font-weight: 700;
  line-height: 160%;
}

.seminar-top-title .sub {
  font-size: 24px;
}

.seminar-top-title .main {
  font-size: 30px;
}

.seminar-top-detail {
  display: flex;
  flex-direction: column;
  gap: 24px 0;

  font-size: 16px;
  font-weight: 400;
  line-height: 160%;
}

@media screen and (max-width: 1000px) {
  .seminar-top-content {
    gap: 32px 0;
    padding: 40px 8% 0 8%;
  }

  .seminar-top-title label {
    margin-bottom: 8px;
  }

  .seminar-top-title .sub {
    font-size: 20px;
  }

  .seminar-top-title .main {
    font-size: 25px;
  }

  .seminar-top-detail {
    gap: 18px 0;
    font-size: 14px;
  }
}

/* ステータス */
.status-gray {
  border-radius: 8px;
  background: #eee;
  display: flex;
  width: 72px;
  height: 30px;
  padding: 0px 8px;
  justify-content: center;
  align-items: center;

  color: #6bafff;
  font-size: 14px;
  font-weight: 400;
}

/* おすすめ */
.recommendation-content {
  display: flex;
  flex-direction: column;
  gap: 24px 0;
  padding: 0 40% 0 130px;
}

.recommendation-banner {
  height: 82px;
}

.recommendation-item {
  display: flex;
  flex-direction: column;
  gap: 8px 0;
}

.recommendation-item-list {
  width: 100%;
  border: 1px solid #1776de;
  margin: 0;
  padding: 24px;
  color: #c3c3c3;
  border-radius: 8px;
}

.recommendation-item-list li {
  margin-left: 24px;
}

.recommendation-item-list li span {
  color: #333;
  font-size: 16px;
  font-weight: 400;
  line-height: 180%;
}

@media screen and (max-width: 1000px) {
  .recommendation-content {
    gap: 20px 0;
    padding: 40px 8% 0 8%;
  }

  .recommendation-item-list {
    padding: 20px;
  }

  .recommendation-item-list li {
    margin-left: 20px;
  }

  .recommendation-item-list li span {
    font-size: 14px;
  }
}

/* プログラム内容 */
.program-content {
  display: flex;
  flex-direction: column;
  gap: 20px 0;
  padding: 48px 40% 48px 130px;
}

.program-content-area {
  display: flex;
  flex-direction: column;
  gap: 10px 0;
}

.program-content-item {
  display: flex;
  flex-direction: column;
  font-size: 16px;
  font-weight: 700;
  line-height: 180%;
}

.program-content-item h4 {
  margin: 0;
}

.program-content-item p {
  font-weight: 400;
  margin: 0 0 0 15px;
}

@media screen and (max-width: 1000px) {
  .program-content {
    gap: 18px 0;
    padding: 32px 8% 32px 8%;
  }

  .program-content-area {
    gap: 8px 0;
  }

  .program-content-item {
    font-size: 14px;
  }

  .program-content-item p {
    margin: 0 0 0 12px;
  }
}

/* 開催概要 */
.overview-content {
  display: flex;
  flex-direction: column;
  gap: 20px 0;
  padding: 0 40% 0 130px;
}

.overview-table {
  border-top: 1px solid;
}

.overview-table tr {
  border-bottom: 1px solid;
  display: flex;
}

.overview-table th {
  background-color: #d6e3ff;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 120px;
  font-size: 16px;
  font-weight: 700;
  line-height: 160%;
}

.overview-table td {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-self: center;
  padding: 16px 24px;
  font-size: 16px;
  font-weight: 400;
  line-height: 160%;
}

.overview-attention {
  font-size: 12px;
  font-weight: 400;
  line-height: 160%;
}

@media screen and (max-width: 1000px) {
  .overview-content {
    gap: 20px 0;
    padding: 0 8% 0 8%;
  }

  .overview-table th {
    font-size: 14px;
  }

  .overview-table td {
    padding: 16px 24px;
    font-size: 14px;
  }

  .overview-attention {
    font-size: 10px;
  }
}

/* インフォメーション */
.info-content {
  display: flex;
  flex-direction: column;
  gap: 64px 0;
  padding: 48px 40% 48px 130px;
}

.info-content-area {
  display: flex;
  flex-direction: column;
  gap: 20px 0;
}

.info-content-item p {
  font-size: 16px;
  font-weight: 400;
  line-height: 160%;
}

.info-content-item p a {
  text-decoration: none;
  color: #1776de;
}

@media screen and (max-width: 1000px) {
  .info-content {
    gap: 32px 0;
    padding: 32px 8% 32px 8%;
  }

  .info-content-item p {
    font-size: 14px;
  }
}

/* 登壇者 */
.speaker-area {
  display: flex;
  padding: 16px;
  gap: 0 20px;
  align-self: stretch;
  border-radius: 8px;
  background-color: #fff;
}

.speaker-item {
  display: flex;
  flex-direction: column;
  gap: 16px 0;
  font-size: 16px;
  line-height: 140%;
}

.speaker-item h4 {
  font-weight: 700;
  margin: 0;
}

.speaker-item p {
  font-weight: 400;
}

.speaker-item {
  display: flex;
  flex-direction: column;
  gap: 16px 0;
  font-size: 16px;
  line-height: 140%;
}

@media screen and (max-width: 1000px) {
  .speaker-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 8px;
    gap: 20px 0;
  }

  .speaker-area img {
    width: 280px;
  }

  .speaker-item {
    font-size: 14px;
  }

  .speaker-item {
    font-size: 14px;
  }
}

/* お問い合わせ */
.inquiry-area {
  padding: 16px;
  background-color: #fff;
}

.inquiry-area p {
  font-size: 14px;
  font-weight: 400;
  line-height: 160%;
}

.inquiry-mail {
  color: #1776de;
}

@media screen and (max-width: 1000px) {
  .inquiry-area {
    padding: 8px;
  }

  .inquiry-area p {
    font-size: 12px;
  }
}

/* thanks */
.thanks-content {
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #333;
  font-family: 'Noto Sans JP';
}

.thanks-content h1 {
  font-size: 30px;
  font-weight: 700;
  line-height: 160%;
}

.thanks-detail-are {
  text-align: center;
  margin-top: 40px;
  font-size: 16px;
  font-weight: 400;
  line-height: 160%;
}

.info-area {
  width: 400px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  text-align: center;
  gap: 16px 0;
  margin-top: 80px;
  border-radius: 8px;
  background: #f8f8f8;
}

.info-area h3 {
  font-size: 20px;
  font-weight: 700;
  line-height: 160%;
}

.info-detail-area {
  font-size: 14px;
  font-weight: 400;
  line-height: 160%;
}

@media screen and (max-width: 767px) {
  .thanks-content h1 {
    font-size: 20px;
  }

  .thanks-detail-are {
    margin-top: 20px;
    font-size: 14px;
  }

  .info-area {
    width: 300px;
    padding: 16px;
    gap: 8px 0;
    margin-top: 40px;
    border-radius: 8px;
    background: #f8f8f8;
  }

  .info-area h3 {
    font-size: 14px;
  }

  .info-detail-area {
    font-size: 10px;
  }
}

/* フォーム */
.sticky-form-wrapper {
  position: fixed;
  right: 0;
  top: 100px;
  width: 30%;
  height: 75vh;
  overflow-y: auto;
  border: 1px #d8e0e9 solid;
}

@media screen and (max-width: 1000px) {
  .sticky-form-wrapper {
    position: static;
    width: 100%;
    height: 100%;
    border: none;
  }
}
