:root {
  --light-gray: #ffff;
  --gray: #ffff;
  --black: #11191A;
  --menu: #317984;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Noto Sans JP", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-size: 14px;
  font-feature-settings: "palt";
  line-height: 1.6;
  color: var(--black);
}

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

.container {
  display: flex;
  background: linear-gradient(
    135deg,
    #E8FDFC 0%,   /* 少し濃いミント  */
    #F2FBFA 40%,  /* ほぼ白ミント   */
    #E0F4F4 100%  /* 今の背景色に近い */
  );
}

.left-block,
.right-block {
  display: none;
}

.main {
  width: 100%;
  position: relative;
  background: #fff;
  overflow: hidden;
}

.main-visual {
  /* ここからFigma通りにする */
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 40px 20px;
  background: linear-gradient(270deg, #7FC6A5 0%, #16A9CB 100%);
  color: #fff;

  /* 既存の position: relative も残す */
  position: relative;
}

.main-visual__copy {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  font-size: 36px;
  font-weight: 700;
  width: 100%;
  text-align: center;
}

.mv-head-img {
  width: 100%;
  height: auto;
  display: block;
}

.mv-lead {
  align-self: stretch;
  text-align: center;
  color: #fff;
  font-size: 23px;
  font-weight: 700;
  line-height: 1.5;
}

/* ここから追加（mv-lead のすぐ下に入れる） */

/* 参加無料〜在勤のまとまり全体（幅335pxで中央） */
.mv-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 335px;
  gap: 10px;
  margin: 0 auto 10px;
}

/* 上2つのタグのグループ（FigmaのAutoLayoutと同じ） */
.mv-tag-group {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 10px;        /* Figmaの gap:10px */
  width: 100%;      /* 親（335px）に合わせて stretch */
}

/* タグ共通の見た目 */
.mv-tag {
  display: flex;
  padding: 4px 10px;
  justify-content: center;
  align-items: center;
  background: #FFF;

  color: #0A90AF;
  text-align: center;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 150%; /* 21px */
  letter-spacing: 1.4px;
  border-radius: 4px;
}

/* 左：「参加無料」 */
.mv-tag--wide {
  width: 81px;
  white-space: nowrap;
  border-radius: 0;
}

/* 右：「先着25名」→ 幅固定 */
.mv-tag--narrow {
  width: 85px;
  white-space: nowrap;
  border-radius: 0;
}

/* 下の白帯「在住 or 在勤〜」 */
.mv-note {
  display: flex;
  width: 335px;
  padding: 4px 10px;
  justify-content: center;
  align-items: center;
  background: #FFF;
  white-space: nowrap;

  color: #0A90AF;
  text-align: center;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 150%; /* 21px */
  letter-spacing: 1.4px;
  border-radius: 0;
}

.mv-btn {
  display: flex; padding: 20px; 
  justify-content: center;
  align-items: center; 
  gap: 8px; 
  align-self: stretch;

  border-radius: 60px;
  background: #11191A;
  box-shadow: 3px 6px 10px 0 rgba(0, 0, 0, 0.25);

  color: #FFF;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 20px;
  font-style: normal;
  font-weight: 700;
  line-height: 150%; /* 30px */

  text-decoration: none; /* aタグの下線消し */
  cursor: pointer;
}

.mv-btn__icon {
  display: flex;
  align-items: center;
}
/* ここまでFV */

/* Overview セクション全体 */
.overview {
  padding: 0px 40px 40px 40px; 
  position: relative;
}

.corner-photo {
  position: absolute;
  width: 98px;
  height: 98px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* 左上 */
.corner-photo--tl {
  left: -13px;
  top: -21px;
}

/* 右上 */
.corner-photo--tr {
  right: -10px;
  top: -50px;
}

/* 左下 */
.corner-photo--bl {
  left: -12px;
  bottom: -64px;
}

/* 右下 */
.corner-photo--br {
  right: -10px;
  bottom: -54px;
}


/* 縦並びのベース（gapは使わず margin で管理） */
.overview-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
}

/* Overview ラベル → グループ①までの余白：24px */
.overview-label {
  margin: 0 0 24px;
  text-align: center;      /* ← */
  width: 100%;
}

/* グループ①：タイトルブロック（中のgap10 + 下に30） */
.overview-title-group {
  display: flex;
  flex-direction: column;
  align-items: center;     /* ←中央揃え */
  text-align: center;      /* ←文字の中央寄せ */
  gap: 10px;
  margin: 0 0 30px;
  width: 100%;
}

/* グループ②：本文＋補足（中のgap10） */
.overview-desc-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;          /* 本文と補足の間：10 */
  align-self: stretch;
}

/* 本文・補足のデフォルトmarginを消しておくとキレイ */
.overview-note {
  align-self: stretch;
  margin: 0;
  color: #6B6B6B;
  font-family: "Noto Sans JP";
  font-size: 10px;
  font-style: normal;
  font-weight: 400;
  line-height: 150%; /* 15px */
}


/* ここまでoverview */

/* merit セクション全体 */
.merit-section {
  background: #E5F3F3; /* フィグマの背景カラー（薄いブルー系）に合わせる */
  padding: 40px 20px;
  width: 100%;
}

.merit-label {
  text-align: center;
  margin: 0 0 24px;
}

/* 4つを束ねる */
.merit-list {
  display: flex;
  flex-direction: column;
  gap: 60px; /* 4つのブロック間の余白 */
}

/* 1つのメリットブロック */
.merit-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px; /* タイトル+本文 ↔ 画像 */
  text-align: center;
}

/* タイトル行（番号＋見出し） */
.merit-title {
  display: flex;
  align-items: center;
  gap: 10px; /* 四角とタイトルの間 */
  color:#317984;
}

/* 番号の四角 */
.merit-number {
  width: 36px;
  height: 36px;
  background: #317984;
  border-radius: 6px;
  color: #fff;
  font-weight: 700;
  font-size: 20px;

  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 0
}

/* 本文 */
.merit-text {
  margin: 0;
}

/* イラスト画像 */
.merit-img {
  width: 100%;
  max-width: 320px;
  height: auto;
}

/* ここまでmerit */

/* ===========================
   time schedule
   =========================== */

/* セクション全体 */
.time-section {
  padding: 40px 20px;
  background: linear-gradient(270deg, #7FC6A5 0%, #16A9CB 100%);
  color: #FFF;
}

/* タイトル（time schedule） */
.time-label {
  text-align: center;
  align-self: center;
  margin: 0 0 24px;
}

/* 「ライフデザイン〜懇親会」のグループ ＋ 講師ブロック のまとまり */
.time-body {
  display: flex;
  flex-direction: column;
  gap: 32px; /* 上の3つ ↔ 講師 */
  align-items: stretch;
}

/* ライフ/キャリア/懇親会 3つ縦並び：gap20 */
.time-program-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 0px 24px;
}

/* 各項目：タイトル＋本文のセット → gap4 */
.time-program-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.time-program-title,
.time-program-text {
  margin: 0;
}

/* ── 講師ブロック ───────────────── */

/* 講師パート全体：上に線＋上padding20 */
.time-speakers {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  align-self: stretch;

  padding-top: 20px;
  border-top: 1px solid #FFF;
}

.time-speakers-title {
  margin: 0;
}

/* 2人の講師を横並び：gap20 */
.time-speakers-list {
  display: flex;
  gap: 20px;
  width: 100%;
}

/* 講師カード共通 */
.time-speaker {
  flex: 1;
  display: flex;
  flex-direction: column;
  color: #FFF;
}

/* 写真 */
.time-speaker-photo {
  width: 100%;
  height: auto;
  display: block;
}

/* 名前・本文のmarginリセット */
.time-speaker-name,
.time-speaker-text {
  margin: 0;
}

/* 講師①： Iグループ（写真+名前） ↔ 本文 gap32 */
.time-speaker--a {
  gap: 32px;
}

/* Iグループ：写真＋名前 gap8 */
.time-speaker-head {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* 講師②：写真＋名前＋本文 全部まとめて gap8 */
.time-speaker--b {
  gap: 8px;
}

/* ここまでtime schedule */

/* Event セクション全体のレイアウト */
.event-section {
  display: flex;
  padding: 0 40px;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  align-self: stretch;
}

/* タイトル（中央揃え） */
.event-title {
  text-align: center;
  width: 100%;
}

/* 日時〜参加費をまとめるブロック */
.event-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px; /* 各ブロック間の余白 */
  width: 100%;
}

/* 1ブロック（日時・対象など） */
.event-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;

  align-self: stretch; /* ← これだけで親幅に自然に広がる */
}


/* ラベル（グラデーション背景） */
.event-block__label {
  display: flex;
  width: 85px;
  height: 26px;
  padding: 10px;
  justify-content: center;
  align-items: center;
  gap: 10px;

  background: var(--Linear, linear-gradient(270deg, #7FC6A5 0%, #16A9CB 100%));
  color: #FFF;

  font-family: "Noto Sans JP";
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: 150%; /* 24px */
}

/* 本文 */
.event-block__text {
  color: #0D7579;
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: 150%;
}

/* URL 専用スタイル（あなたの指定完全対応） */

.event-link {
  color: #0D7579;
  font-family: "Noto Sans JP";
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 180%;

  text-decoration-line: underline;
  text-decoration-style: solid;
  text-decoration-skip-ink: auto;
  text-decoration-thickness: auto;
  text-underline-offset: auto;
  text-underline-position: from-font;
  word-break: break-all;
}

.event-detail {
  color: #0D7579;
  font-family: "Noto Sans JP";
  font-size: 16px;
  font-style: normal;
  font-weight: 700;        /* ← BOLD */
  line-height: 150%;
  margin: 0;
}


/* ここまでevent */

/* こんな方におすすめ セクション全体 */
.recommend-section {
  background: #E5F3F3;      /* merit と同じ薄いブルー */
  padding: 40px 20px;       /* merit / time と同じ外側余白 */
  width: 100%;
}

/* セクションタイトル */
.recommend-label {
  text-align: center;
  margin: 0 0 24px;
}

/* 4つのカードを縦に並べる */
.recommend-list {
  display: flex;
  flex-direction: column;
  align-items: center;      /* 中のカードを真ん中に */
  gap: 10px;                /* カード同士の余白 */
}

/* 1つ分のカード（白い角丸の箱） */
.recommend-item {
  display: flex;
  width: 100%;
  padding: 10px 40px 10px 20px;
  align-items: center;
  gap: 20px;             /* ← 丸とテキストの距離はここで固定 */
  border-radius: 20px;
  background: #FFF;
}

/* 左の丸グラデーション */
.recommend-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  border-radius: 50%;
  background: linear-gradient(270deg, #7FC6A5 0%, #16A9CB 100%);
}

/* テキスト側（中央揃え・幅は自動で伸ばす） */
.recommend-text {
  margin: 0;
  color: #11191A;
  text-align: center;
  font-family: "Noto Sans JP";
  font-size: 14px;
  font-weight: 700;
  line-height: 150%;

  flex: 1;       /* ← これが超大事！テキストが横幅を吸収して中央揃えが成立 */
}





/* ここまでrecommend */

/* セクション全体：幅388・下パディング70・gap24 */
.contact-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  width: 100%;
  max-width: 388px;
  padding-bottom: 70px;
  margin: 0 auto;
}

/* 「お問い合わせ」を中央寄せするだけ（フォント指定はしない） */
.contact-title {
  text-align: center;
  width: 100%;
  align-items: center;
}

/* 運営／連絡先ブロック：中身のgap4・コンテンツに応じて拡大 */
.contact-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  align-items: center;
  width: 100%;  
}

/* ここまでcontact */

.content {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 40px 20px;
}

.content--alternative-bg {
  background-color: var(--gray);
}

.content__title--white {
  color: #fff;
}

.float-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--black);
  color: #fff;
  border-radius: 50%;
  position: fixed;
  z-index: 10;
  left: auto;
  right: 12px;
  bottom: 12px;
  width: 72px;
  height: 72px;
  text-align: center;
  font-weight: 700;
  line-height: 130%;
  font-size: 12px;
  opacity: 0;                    /* 最初は見えない */
  transform: translateY(16px);   
  pointer-events: none;          
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.float-btn.show {
  opacity: 1;                    /* ふわっと見える */
  transform: translateY(0);      /* 元の位置に戻る */
  pointer-events: auto;          /* クリックできるように */
}


.cta-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  background: var(--black);
  border-radius: 36px;
  box-shadow: 0px 4px 0px 0px #11191A;
  text-align: center;
  padding: 16px 24px;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  margin: 0 auto;
  width: 300px;
}

.cta-btn::after {
  content: "";
  display: inline-block;
  width: 0;
  height: 0;
  border-style: solid;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  border-left: 7px solid #fff;
  border-right: 0;
  margin-top: 2px;
}

.logo {
  display: block;
  width: 60px;
  margin: 0 auto;
  padding: 24px 0 8px;
}

.sp-footer {
  font-size: 10px;
  text-align: center;
  padding-bottom: 120px;
  color: var(--black);
}


/* 要素フェイドイン用 */
.fade {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1.5s, transform 1s;
}

.fade.active {
  opacity: 1;
  transform: translateY(0px);
}

@media screen and (min-width: 640px) {
  .main {
    width: 480px;
    margin: 24px auto;
    border-radius: 24px;
    box-shadow: 0 0 16px rgba(0, 201, 208, 0.528);
    margin-right: auto;
    margin-left: auto;
  }

  .left-block {
  padding: 24px 20px;
  margin-bottom: 0 20px 24px; /* 下に本編が続くので余白 */
}


  .header__logo {
    width: 88px;
  }

  .menu {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    max-width: 220px;
  }

  .menu__anchor {
    font-weight: 600;
    display: flex;
    flex-direction: column;
  }

  .menu__anchor li {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 12px 8px;
    border-top: 1px solid var(--black);
  }

  .menu__anchor li:last-of-type {
    border-bottom: 1px solid var(--black);
  }

  .menu__anchor li::before {
    content: "";
    display: block;
    width: 0;
    height: 0;
    border-style: solid;
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
    border-left: 7px solid var(--black);
    border-right: 0;
  }

  .float-btn {
    right: 32px;
    bottom: 32px;
    margin: 0;
    width: 120px;
    height: 120px;
    font-size: 20px;
  }

  .right-block {
    display: none;
  }
}

@media only screen and (min-width: 440px) {
  .realityshow > .main {
    width: 440px;
    margin-top: 24px;
    margin-bottom: 24px;
    margin-right: auto;
    margin-left: auto;
    border-radius: 24px;
    background: #fff;
  }
  
}

@media screen and (min-width: 1080px) {

  /* PCでは左メニューを出す＆固定化する */
  .left-block {
  display: flex;
  flex-direction: column;
  position: fixed;

  left: 100px;
  top: 50%;                 /* 画面の50%位置へ */
  transform: translateY(-50%); /* 自身の高さの半分を上に戻す → 完全中央 */

  width: 240px;
  border-radius: 24px;
  padding: 24px 20px;
  z-index: 9;
}

  .menu__anchor {
    font-size: 16px;
    font-weight: 600;
    display: flex;
    flex-direction: column;
    color: #0D7579;
  }

  .menu__anchor li {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 16px 8px;
    border-top: 1px solid var(--menu);
  }

  .menu__anchor li:last-of-type {
    border-bottom: 1px solid var(--menu);
  }

  .menu__anchor li::before {
    content: "";
    display: block;
    width: 0;
    height: 0;
    border-style: solid;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-left: 7px solid var(--menu);
    border-right: 0;
  }
}

@media screen and (min-width: 424px){
    .recommend-text-br-last {
      display: none;
    }
  }




/* ===========================
   Typography System
   =========================== */

/* H1 */
.typo-h1 {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 27px;
  line-height: 150%;
}

/* H2 */
.typo-h2 {
  font-weight: 700;
  font-size: 23px;
  line-height: 150%;
}

/* H3 */
.typo-h3 {
  font-weight: 700;
  font-size: 20px;
  line-height: 150%;
}

/* H4 */
.typo-h4 {
  font-weight: 700;
  font-size: 16px;
  line-height: 150%;
  letter-spacing: 0.2px;
}

/* 見出し */
.typo-headline {
  font-weight: 700;
  font-size: 20px;
  line-height: 150%;
}

/* 本文 */
.typo-body {
  font-weight: 400;
  font-size: 16px;
  line-height: 180%;
}

/* 補足 */
.typo-note {
  font-weight: 400;
  font-size: 14px;
  line-height: 180%;
}

/* グラデーションテキスト */
.typo-headline-gradient {
  background: var(--Linear, linear-gradient(270deg, #7FC6A5 0%, #16A9CB 100%));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.typo-body-bold {
  font-weight: 700;
  font-size: 16px;
  line-height: 180%;
}

/* 全体の gap70 を適用するラッパー */
.main-content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 70px;
  width: 100%;
}

/* merit のみ、下の gap を 0 にする */
.merit-section {
  margin-bottom: -70px; /* gap70を打ち消す */
}