/* CSS変数は共通CSSで定義 */

/* 最新情報セクションのタイトルは背景色に合わせて色を変更 */
.latest-information-section .section-title {
  color: var(--ivory);
}

.section-inner {
  width: 100%;
  max-width: 1200px;
  padding: 0 100px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 auto;
}

.section-inner.align-right {
  align-items: flex-end;
}

.about-will-section {
  display: flex;
  padding: 60px 0px 60px 0px;
  flex-direction: column;
  align-items: center;
}

.will-title-cover {
  width: 100%;
  margin-bottom: 48px;
}

.will-title-cover .section-title {
  margin-bottom: 0;
}

.about-will-description {
  color: var(--gray);
  text-align: center;
  font-family: var(--noto);
  font-size: var(--font_28);
  font-style: normal;
  font-weight: 400;
  line-height: 129.945%; /* 46.78px */
  letter-spacing: 3.24px;
  align-self: stretch;
  margin: 0;
}

.latest-information-section {
  display: flex;
  padding: 60px 0px 60px 0px;
  flex-direction: column;
  align-items: center;
  background: var(--shinonome);
}

.latest-information-section .section-title {
  margin-top: 0;
  margin-bottom: 48px;
}

.latest-information-section .section-inner {
  padding: 0;
}

.latest-information-section .button-frame {
  margin-right: 60px
}

.slide-wrapper {
  display: flex;
  overflow: hidden;
  gap: 48px;
  position: relative;
  width: 100%;
}

.slider {
  display: flex;
  align-items: flex-start;
  gap: 48px;
  align-self: stretch;
  will-change: transform;
  flex-shrink: 0;
}

.slide {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.slide img {
  width: 400px;
  height: 250px;
  border-radius: 12px;
  object-fit: cover;
  object-position: center;
}

/* 縦長の画像もトリミングして表示 */
.slide img.portrait {
  object-fit: cover;
}

/* 横長の画像はトリミングして表示 */
.slide img.landscape {
  object-fit: cover;
}

.event-name {
  color: var(--ivory);
  text-align: center;
  font-family: var(--noto);
  font-size: var(--font_24);
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.event-text {
  color: var(--ivory);
  text-align: center;
  font-family: var(--noto);
  font-size: var(--font_16);
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.activity-button {
  display: inline-flex;
  margin-top: 40px;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  align-self: flex-end;
}

.about-seminar-section {
  display: flex;
  padding: 60px 0px 60px 0px;
  flex-direction: column;
  align-items: center;
}

.about-seminar-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  align-self: stretch;
}

.about-seminar-content .section-title {
  margin-top: 0;
  margin-bottom: 48px;
}

.about-seminar-description {
  color: var(--gray);
  text-align: center;
  font-family: var(--noto);
  font-size: var(--font_28);
  font-style: normal;
  font-weight: 400;
  line-height: 129.945%; /* 46.78px */
  letter-spacing: 3.24px;
  align-self: stretch;
  margin: 0;
}

.seminar-detail-button {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  text-decoration: none;
  margin-top: 40px;
  align-self: flex-end;
}

/* 統一されたボタンスタイル */
.button-frame.button-gray {
  display: flex;
  padding: 16px 20px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  border-radius: 12px;
  background: var(--gray);
  cursor: pointer;
  transition: all 0.2s ease;
}

.button-frame.button-gray:hover {
  background: #6a6a6a;
  transform: scale(1.02);
  box-shadow: 0 4px 12px rgba(83, 83, 83, 0.3);
}

.button-frame.button-white {
  display: flex;
  padding: 16px 20px;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 10px;
  border-radius: 12px;
  background: var(--ivory);
  cursor: pointer;
  transition: all 0.2s ease;
}

.button-frame.button-white:hover {
  background: #f5f0e8;
  transform: scale(1.02);
  box-shadow: 0 4px 12px rgba(255, 252, 247, 0.4);
}

.button-text.button-gray {
  overflow: hidden;
  color: var(--ivory);
  text-overflow: ellipsis;
  font-family: var(--noto);
  font-size: var(--font_20);
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}

.button-text.button-white {
  overflow: hidden;
  color: var(--gray);
  text-overflow: ellipsis;
  font-family: var(--noto);
  font-size: var(--font_20);
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}

.join-flow-and-condition-section {
  display: flex;
  padding: 60px 0px;
  flex-direction: column;
  align-items: center;
}

.join-flow-and-condition-section .section-title {
  margin-top: 0;
  margin-bottom: 48px;
}

.join-flow-and-condition-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 42px;
}

.join-flow-details {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 54px;
  padding-left: 46px;
  border-left: 2px solid var(--gray);
}

.join-flow {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 54px;
  padding-left: 46px;
  border-left: 1px solid var(--gray);
}

.join-flow-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.join-flow-title {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.step {
  display: flex;
  padding: 14px 18px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-radius: 18px;
  background: var(--purple_Kimberly);
}

.step-number {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  color: var(--ivory);
  font-family: var(--ubuntu);
  font-size: var(--font_32);
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}

.step-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.step-title {
  display: flex;
  align-items: flex-start;
  color: var(--purple_Kimberly);
  font-family: var(--noto);
  font-size: var(--font_22);
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}

.step-text {
  display: flex;
  align-items: flex-start;
  color: var(--purple_Kimberly);
  font-family: var(--noto);
  font-size: var(--font_18);
  font-style: normal;
  font-weight: 500;
  text-transform: capitalize;
}

.step-explanation {
  display: flex;
  padding: 0px 24px 20px 24px;
  justify-content: center;
  align-items: center;
  align-self: stretch;
  flex: 1 0 0;
  color: var(--gray);
  font-family: var(--noto);
  font-size: var(--font_20);
  font-style: normal;
  font-weight: 500;
  line-height: 199.8%;
  text-transform: capitalize;
}

.join-conditions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 28px;
  align-self: stretch;
}

.join-condition-block {
  width: 360px;
  height: 180px;
  display: flex;
  padding: 24px 36px;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  border-radius: 12px;
  background: var(--shinonome);
}

/* 入会条件のボックス内で、condition-detailとdetail-miniの間隔を狭くする */
.join-condition-block .condition-detail {
  margin-bottom: 4px;
}

.join-condition-block .detail-mini {
  margin-bottom: 0;
}

.condition-title {
  margin-bottom: 12px;
  font-family: var(--noto);
  font-size: var(--font_24);
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  color: var(--ivory);
  overflow: hidden;
  text-overflow: ellipsis;
}

.condition-detail {
  font-family: var(--noto);
  font-size: var(--font_20);
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  color: var(--ivory);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.detail-mini {
  font-family: var(--noto);
  font-size: var(--font_16);
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  color: var(--ivory);
  margin-top: 0;
  margin-bottom: 0;
}

@media (max-width: 900px) {
  .section-inner {
    padding: 0 20px;
  }

  .section-inner.align-right {
    align-items: center;
  }

  .latest-information-section .button-frame {
    margin: 0 auto;
  }

  .nav-wrapper {
    display: flex;
  }

  /* 
  hamburger(ハンバーガーアイコン)
  =================================== */
  /* .hamburger {
    position: absolute;
    right: 30px;
    top: 33px;
    width: 50px;
    height: 40px;
    cursor: pointer;
    z-index: 300;
  }

  .hamburger__line {
    position: absolute;
    width: 50px;
    height: 3px;
    right: 0;
    background-color: #000;
    transition: all 0.5s;
  }

  .hamburger__line--1 {
    top: 1px;
  }

  .hamburger__line--2 {
    top: 18px;
  }

  .hamburger__line--3 {
    top: 36px;
  }

  /*ハンバーガーがクリックされたら*/
  .open .hamburger__line--1 {
    transform: rotate(-45deg);
    top: 11px;
  }

  .open .hamburger__line--2 {
    opacity: 0;
  }

  .open .hamburger__line--3 {
    transform: rotate(45deg);
    top: 11px;
  } */

  /* 
  black-bg(ハンバーガーメニュー解除用bg)
  =================================== */
  .black-bg {
    position: fixed;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background-color: #000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s;
    cursor: pointer;
    z-index: 100;
  }

  /*ハンバーガーメニューが開いたら表示*/
  .open .black-bg {
    opacity: 0.3;
    visibility: visible;
  }

  .link-box {
    display: none;
  }

  .head-image-container img {
    height: 400px;
  }

  .head-letter {
    right: 41px;
    bottom: 33px;
    font-size: var(--font_48);
    padding: 10px 16px;
  }

  .about-will-section {
    padding: 60px 0px 40px 0px;
  }

  .will-title-cover {
    margin-bottom: 32px;
  }

  .will-title-cover .section-title {
    margin-bottom: 0;
  }

  .about-will-description {
    font-size: var(--font_24);
    letter-spacing: 2px;
  }

  .about-seminar-description {
    font-size: var(--font_24);
  }

  .latest-information-section {
    padding: 60px 0px 40px 0px;
  }

  .slide-wrapper {
    display: flex;
    overflow: hidden;
    gap: 48px;
  }

  .slider {
    justify-content: center;
    gap: 48px;
  }

  .slide {
    display: flex;
    width: 200px;
    padding: 20px;
    justify-content: center;
    align-items: center;
    gap: 10px;
  }

  .slide img {
    width: 200px;
    height: 125px;
    border: 1px solid var(--gray);
    object-fit: cover;
    object-position: center;
  }

  /* 縦長の画像もトリミングして表示 */
  .slide img.portrait {
    object-fit: cover;
  }

  /* 横長の画像はトリミングして表示 */
  .slide img.landscape {
    object-fit: cover;
  }

  .event-name {
    font-size: var(--font_20);
  }

  .about-seminar-section {
    padding: 60px 0px 40px 0px;
    align-items: center;
  }


  .join-flow-and-condition-section {
    padding: 60px 0px 40px 0px;
  }

  .join-flow-and-condition-content {
    gap: 56px;
  }

  /* .join-flow-details,
  .join-flow {
    border-left: 3px solid var(--gray);
  } */

  .join-flow-title {
    align-items: center;
  }

  .step {
    gap: 10px;
  }

  .join-condition-block {
    width: 300px;
    height: 132px;
    padding: 16px 20px;
  }

  .condition-title {
    font-size: var(--font_24);
  }

  .condition-detail {
    font-size: var(--font_16);
    white-space: normal;
    align-self: center;
  }

  .detail-mini {
    font-size: var(--font_14);
    align-self: center;
  }

}

/* ───────────────────────────
① Smart phone  (0 – 639 px)
─────────────────────────── */
@media (max-width: 639px) {

  /* common.cssの.descriptionスタイルを適用 */
  .description {
    font-size: var(--font_18);
  }

  .join-conditions {
    flex-direction: column;
  }

  .button-frame.button-gray,
  .button-frame.button-white {
    padding: 16px 20px;
    border-radius: 8px;
  }

  .button-text.button-gray,
  .button-text.button-white {
    font-size: var(--font_18);
  }

  /* ボタンを中央寄せ */
  .activity-button,
  .seminar-detail-button {
    align-self: center;
  }
}
