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

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

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

.d-block {
  display: block;
}

.d-block-sp {
  display: none;
}

@media screen and (max-width: 767px) {
  .d-block {
    display: none;
  }

  .d-block-sp {
    display: block;
  }
}

.layout_no_backimage.seminar-202510 {
  padding: 125px 40px 40px;
  background: #f5f5f5;
}

@media screen and (max-width: 767px) {
  .layout_no_backimage.seminar-202510 {
    padding: 75px 16px 16px;
  }
}

.seminar-body-contents .button {
  display: flex;
  justify-content: center;
  width: 280px;
  padding: 16px 10px;
  align-items: center;
  gap: 16px;
  border-radius: 10px;
  border: 3px solid #fff;
  background: #ffd200;
  box-shadow: 3px 4px 4px 0 rgba(0, 0, 0, 0.25);
  color: #2a2c2d;
  text-align: center;
  font-size: 15px;
  font-weight: 700;
  line-height: 140%;
  letter-spacing: 1px;
  text-decoration: none;
}

.seminar-body-contents .button .arrow {
  width: 9px;
  height: 15px;
  flex-shrink: 0;
}

.outline-black {
  background-color: #fff;
  border: 1px solid #333;
  border-radius: 8px;
}

.seminar-body-contents {
  display: flex;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  gap: 40px;
  color: #333;
  font-family: 'Noto Sans JP';
}

.seminar-body-contents-inner {
  display: flex;
  flex-direction: column;
  gap: 80px 0;
  width: calc(100% - 360px);
  max-width: 840px;
  background-color: #fff;
  box-shadow: 3px 4px 8px 0 rgba(42, 44, 45, 0.25);
}

.bottom-border-content-title {
  position: relative;
  text-align: center;
  color: #000;
  font-size: 24px;
  font-weight: 700;
  line-height: 100%;
  padding-bottom: 19px;
  margin: 0 auto 32px;
}

.bottom-border-content-title._form-title {
  margin: 0 auto;
}

.bottom-border-content-title::before {
  content: '';
  position: absolute;
  display: block;
  width: 40px;
  height: 3px;
  background: #ffab00;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

@media screen and (max-width: 1000px) {
  .seminar-body-contents-inner {
    width: 100%;
    max-width: 100%;
  }
}

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

  .bottom-border-content-title {
    font-size: 20px;
    line-height: 150%;
  }
}

/* TOP */
.seminar-top-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 80px 0;
  background-color: #fff;
}

.seminar-top-header-title {
  display: flex;
  width: 840px;
  padding: 0 22.4px 0 11.2px;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(90deg, #616364 30%, #2a2c2d 100%);
}

.seminar-top-thumbnail {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  width: 100%;
}

.seminar-top-thumbnail .seminar-top-thumbnail-image {
  display: block;
  width: 100%;
}

.seminar-top-thumbnail .seminar-top-thumbnail-image-sp {
  display: none;
}

@media screen and (max-width: 767px) {
  .seminar-top-thumbnail .seminar-top-thumbnail-image {
    display: none;
  }

  .seminar-top-thumbnail .seminar-top-thumbnail-image-sp {
    display: block;
    width: 100%;
  }
}

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

.seminar-top-title .main-title {
  width: fit-content;
  text-align: center;
  margin: 0 auto 40px;
  color: #000;
  font-size: 32px;
  font-weight: 700;
  line-height: 150%;
  background: linear-gradient(to right, #ffab00, #ffe44c);
  padding: 0 2px;
  background-size: 100% 23%;
  background-repeat: no-repeat;
  background-position: 0 96%;
}

.main-title-sub {
  width: fit-content;
  margin: 0 auto;
  display: block;
  padding: 6px 8px;
  border: 1px solid #c9c9c9;
  background: #fff;
  color: #000;
  font-size: 20px;
  font-weight: 700;
  line-height: normal;
}

.main-title-sub + .main-title-sub {
  margin-top: 8px;
}

.seminar-top-reccomendation-title {
  display: flex;
  margin: 0 auto 32px;
  width: 240px;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  color: #000;
  text-align: center;
  font-size: 24px;
  font-weight: 700;
  line-height: 100%;
}

.seminar-top-reccomendation-list {
  margin: 0;
  padding: 0;
}

.seminar-top-reccomendation-list li {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #000;
  font-size: 18px;
  font-weight: 600;
  line-height: 150%;
}

.seminar-top-reccomendation-list li::before {
  content: '';
  left: 0;
  width: 24px;
  height: 24px;
  background-image: url(/../20251003-img/recommendation-list-icon.svg);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.seminar-top-reccomendation-list li + li {
  margin-top: 8px;
}

.seminar-top-detail {
  padding: 0 40px;
}

.seminar-top-detail-inner {
  display: flex;
  padding: 32px;
  flex-direction: column;
  align-items: flex-start;
  gap: 23px;
  align-self: stretch;
  border-radius: 20px;
  border: 1px solid #ffd200;
  background: #fffcf8;
  color: var(--Gray-100, #000);
  font-size: 14px;
  font-weight: 400;
  line-height: 170%;
}

.seminar-top-detail-inner-title-area {
  margin-top: 16px;
}

.seminar-top-detail-inner-title {
  color: #000;
  font-size: 15px;
  font-weight: 700;
  line-height: 170%;
  margin: 0 0 8px;
}

.seminar-top-detail-inner-title_2 {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #000;
  font-size: 18px;
  font-weight: 700;
  line-height: 170%;
  margin: 0 0 8px;
}

.seminar-top-detail-inner-title_2 span {
  width: 18px;
  height: 18px;
  background-color: #ffab00;
  border-radius: 50%;
}

.seminar-top-detail-inner-list {
  margin: 0;
  padding: 0;
}

.seminar-top-detail-inner-list li {
  position: relative;
  margin-left: 0;
  list-style: none;
  padding-left: 24px;
}

.seminar-top-detail-inner-list li::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 4px;
  background: #000;
  border-radius: 50%;
}

@media screen and (max-width: 1000px) {
  .seminar-top-content {
    width: 100%;
  }

  .seminar-top-title {
    padding: 0 24px;
  }

  .seminar-top-title .main-title {
    font-size: 25px;
    background: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .seminar-top-title .main-title .main-title-highlight {
    width: fit-content;
    display: block;
    background: linear-gradient(to right, #ffab00, #ffe44c);
    padding: 0 2px;
    font-size: 24px;
    background-size: 100% 30%;
    background-repeat: no-repeat;
    background-position: 0 96%;
  }

  .main-title-sub {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 0 0 0 8px;
    border: none;
    border-left: 5px solid #c9c9c9;
    color: #000;
    font-size: 16px;
    line-height: 100%;
    text-align: left;
  }

  .main-title-sub span {
    display: inline;
    position: relative;
    padding: 0 0 3px;
    line-height: 150%;
    z-index: -1;
    background-image: linear-gradient(90deg, #ffefa4 0%, #ffefa4 100%);
    background-repeat: no-repeat;
    background-position: 0 88%; /* 下寄せ位置（行のどの高さに置くか調整） */
    background-size: 100% 5px; /* 幅:100%／高さ:マーカーの太さ */
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
  }

  .main-title-sub .sp_only {
    display: block;
    margin: 2px 0;
    background-image: none;
  }

  .main-title-sub + .main-title-sub {
    margin-top: 24px;
  }

  .seminar-top-reccomendation-title {
    display: flex;
    margin: 0 auto 32px;
    width: 240px;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    color: #000;
    text-align: center;
    font-size: 20px;
    font-weight: 700;
    line-height: 100%;
  }

  .seminar-top-reccomendation-title img {
    width: 190px;
  }

  .seminar-top-reccomendation {
    padding: 0 24px;
  }

  .seminar-top-reccomendation-list li {
    font-size: 16px;
    align-items: flex-start;
  }

  .seminar-top-reccomendation-list li::before {
    width: 24px;
    height: 24px;
  }

  .seminar-top-reccomendation-list li + li {
    margin-top: 8px;
  }

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

  .seminar-top-detail-inner {
    padding: 24px;
  }

  .seminar-top-detail-inner-title_2 {
    gap: 5px;
    font-size: 17px;
  }

  .seminar-top-detail-inner-title_2 span {
    width: 17px;
    height: 17px;
  }

  .seminar-top-detail-inner-list li {
    padding-left: 24px;
  }

  .seminar-top-detail-inner-list li::before {
    width: 4px;
    height: 4px;
  }
}

/* プログラム構成 */
.program-content {
  display: flex;
  flex-direction: column;
  padding: 0 40px;
  background-color: #fff;
}

.program-content-list {
  width: fit-content;
  margin: 0 auto;
  padding: 0;
  list-style: none;
  counter-reset: number;
}

.program-content-list li {
  color: #000;
  font-size: 18px;
  font-weight: 600;
  line-height: 150%;
  counter-increment: number;
  position: relative;
  padding-left: 32px;
}

.program-content-list li:not(:first-child) {
  margin-top: 8px;
}

.program-content-list li::before {
  content: counter(number, decimal-leading-zero) ' ';
  position: absolute;
  left: 0;
  top: -1px;
  color: #ffab00;
  font-size: 20px;
  font-weight: 900;
  line-height: 150%;
}

@media screen and (max-width: 1000px) {
  .program-content {
    padding: 0 24px;
  }

  .program-content-list {
    width: 100%;
  }

  .program-content-list li {
    font-size: 16px;
    padding-left: 28px;
  }

  .program-content-list li:not(:first-child) {
    margin-top: 16px;
  }

  .program-content-list li::before {
    top: 0;
    font-size: 16px;
  }
}

/* 登壇者 */
.speaker-content {
  display: flex;
  flex-direction: column;
  padding: 0 40px;
}

.speaker-content-area {
  display: flex;
  padding: 32px;
  gap: 32px;
  align-self: stretch;
  border-radius: 20px;
  border: 1px solid #ffd200;
  background: #fffcf8;
}

.speaker-content-image {
  width: 167px;
}

.speaker-content-image img {
  width: 100%;
}

.speaker-content-text {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: calc(100% - 199px);
  font-size: 14px;
}

.speaker-content-text h4 {
  margin: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  color: #333;
  font-size: 24px;
  font-weight: 700;
  line-height: 100%;
}

.speaker-content-text h4 span {
  display: block;
  color: #333;
  font-size: 15px;
  font-weight: 700;
  line-height: 100%;
}

@media screen and (max-width: 1000px) {
  .speaker-content {
    padding: 0 24px;
  }

  .speaker-content-area {
    flex-direction: column;
    gap: 32px;
    padding: 24px;
  }

  .speaker-content-image {
    width: 100%;
  }

  .speaker-content-text {
    width: 100%;
  }

  .speaker-content-text h4 {
    font-size: 20px;
  }

  .speaker-content-text h4 span {
    font-size: 14px;
  }
}

/* 参加特典 */
.seminar-content {
  display: flex;
  flex-direction: column;
  padding: 0 40px;
}

.seminar-content-area {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 40px;
  color: #000;
  font-family: 'Noto Sans JP';
  font-size: 18px;
  font-weight: 600;
  line-height: 150%;
}

.seminar-content-01 {
  display: flex;
  padding: 0 24px;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.seminar-content-01-image {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  width: 100px;
  height: 100px;
}

.seminar-content-01-image img {
  width: 100%;
}

.seminar-content-02 {
  display: flex;
  padding: 0 24px;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.seminar-content-02-image {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  width: 100px;
  height: 100px;
}

.seminar-content-02-image img {
  width: 100%;
}

@media screen and (max-width: 1000px) {
  .seminar-content {
    padding: 0 24px;
  }

  .seminar-content-area {
    flex-direction: column;
    gap: 40px;
    font-size: 16px;
  }

  .seminar-content-01 {
    padding: 0;
  }
}
/* 開催概要 */
.overview-content {
  padding: 0 40px;
}

.overview-content-area {
  display: flex;
  margin-bottom: 40px;
  padding: 32px;
  flex-direction: column;
  align-items: flex-start;
  gap: 32px;
  align-self: stretch;
  border-radius: 20px;
  border: 1px solid #ffd200;
  background: #fffcf8;
}

.overview-content-area-item {
  display: flex;
  padding: 0 24px 32px 24px;
  align-items: flex-start;
  gap: 40px;
  align-self: stretch;
  border-bottom: 1px solid #c9c9c9;
}

.overview-content-area-item-title {
  display: flex;
  min-width: 104px;
  align-items: center;
  gap: 10px;
  align-self: stretch;
  color: #000;
  font-family: 'Noto Sans JP';
  font-size: 20px;
  font-style: normal;
  font-weight: 700;
  line-height: 100%;
}

.overview-content-area-item-title span {
  display: block;
  width: 20px;
  height: 20px;
  aspect-ratio: 1/1;
  background-color: #ffab00;
  border-radius: 50%;
}

.overview-content-area-item-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 12px;
  flex: 1 0 0;
  color: #000;
  font-size: 18px;
  font-weight: 500;
  line-height: 100%;
}

.overview-content-area-item-text-sub {
  color: #000;
  font-size: 14px;
  font-weight: 400;
  line-height: 170%;
  margin: 4px 0 0;
}

.overview-content-area-item-2 {
  display: flex;
  padding: 0 24px;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  align-self: stretch;
  color: #000;
  font-size: 14px;
  font-weight: 400;
  line-height: 170%;
}

.overview-content-area-item-2-title {
  color: #000;
  font-size: 20px;
  font-weight: 700;
  line-height: 100%;
  margin: 0 0 8px;
}

.overview-content-area-item-2 ol {
  width: fit-content;
  margin: 0 auto;
  padding: 0;
  list-style: none;
  counter-reset: number;
  line-height: 170%;
  font-size: 14px;
}

.overview-content-area-item-2 ol li {
  counter-increment: number;
  position: relative;
  padding-left: 20px;
}

.overview-content-area-item-2 ol li::before {
  content: counter(number) '. ';
  position: absolute;
  left: 0;
  top: -1px;
}

.overview-content .button {
  margin: 0 auto;
}

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

  .overview-content-area {
    padding: 24px;
    gap: 24px;
  }

  .overview-content-area-item {
    flex-direction: column;
    gap: 16px;
    padding: 0 0 24px;
  }

  .overview-content-area-item-title {
    font-size: 16px;
    gap: 4px;
  }

  .overview-content-area-item-title span {
    width: 16px;
    height: 16px;
  }

  .overview-content-area-item-text {
    font-size: 16px;
    line-height: 150%;
  }

  .overview-content-area-item-2 {
    font-size: 14px;
    padding: 0;
  }

  .overview-content-area-item-2-title {
    font-size: 16px;
  }
}

/* インフォメーション */
.info-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  align-self: stretch;
  padding: 0 40px;
}

.info-content-area {
  width: 100%;
  max-width: 510px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.info-content-area .bottom-border-content-title {
  margin: 0 auto 16px;
}

.info-content-item p {
  color: #000;
  font-size: 14px;
  font-weight: 400;
  line-height: 170%;
}

.info-content-item ol {
  width: fit-content;
  margin: 0 auto;
  padding: 0;
  list-style: none;
  counter-reset: number;
  line-height: 170%;
  font-size: 14px;
}

.info-content-item ol li {
  counter-increment: number;
  position: relative;
  padding-left: 20px;
}

.info-content-item ol li::before {
  content: counter(number) '. ';
  position: absolute;
  left: 0;
  top: -1px;
}

.info-content-item p a {
  color: #000;
  text-decoration-line: underline;
  text-decoration-style: solid;
}

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

  .info-content-item p {
    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: sticky;
  right: 40px;
  top: 125px;
  width: 320px;
  height: fit-content;
  overflow-y: auto;
  display: flex;
  padding: 25px 20px;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  flex: 1 0 0;
  background: #fff;
  box-shadow: 3px 4px 8px 0 rgba(42, 44, 45, 0.25);
}

.sticky-form-wrapper-inner {
  display: flex;
  padding: 0 8px 16px 8px;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  align-self: stretch;
  border-bottom: 1px solid #c9c9c9;
}

.sticky-form-wrapper-inner:last-of-type {
  padding-bottom: 6px;
}

.sticky-form-wrapper-inner:last-of-type {
  border-bottom: none;
}

.sticky-form-wrapper-inner-title {
  display: flex;
  align-items: flex-start;
  gap: 4px;
  align-self: stretch;
  color: #000;
  font-family: 'Noto Sans JP';
  font-size: 14px;
  font-style: normal;
  font-weight: 700;
  line-height: 100%;
}

.sticky-form-wrapper-inner-title span {
  width: 14px;
  height: 14px;
  aspect-ratio: 1/1;
  background-color: #ffab00;
  border-radius: 50%;
}

.sticky-form-wrapper-inner-text {
  margin: 0;
  color: #000;
  font-size: 17px;
  font-style: normal;
  font-weight: 600;
  line-height: 140%;
}

.sticky-form-wrapper-inner-text-sub {
  color: #000;
  font-size: 14px;
  font-weight: 400;
  line-height: 150%;
  margin: 0;
}

.sticky-form-wrapper .button {
  width: 100%;
}

@media screen and (max-width: 1000px) {
  .sticky-form-wrapper {
    display: none;
  }
}
