/* ====================================
// CSS変数（カスタムプロパティ）の定義
// ==================================== */
:root {
  --color-primary: #da0a0a;
  --color-secondary: #80a3a1;
  --color-text-dark: #344343;
  --color-text-medium: #555;
  --color-background-light: #f5fafa;
  --color-white: #ffffff;
  --color-black: #333333;
  --color-border: #aabfbe;
  --color-red-light: #f6e8e8;
  --color-blue-light: #e5eeee;
  --color-green-dark: #1D6864; /* 新規追加 */
  --color-border-light: #E5EEEE; /* 新規追加 */

  --font-size-lead: 16px;
  --font-size-sublead: 16px;
  --font-size-body: 16px;
  --font-size-small: 14px;
  --font-size-cta-nav: 1rem;
  --font-size-story-title: 20px;
  --font-size-flow-title: 20px;
  --font-size-safety-title: 20px;
  --font-size-partner-title: 20px;
  --font-size-partner-benefits-heading: 17px;
  --font-size-partner-benefits-title: 14px;
  --font-size-partner-benefits-desc: 14px;

  --max-width-page: 1120px;
  --max-width-cta-nav: 1120px;

  --breakpoint-sp: 768px;
}


/* ====================================
// ユーティリティ & ベーススタイル
// ==================================== */
body {
  font-family: 'Zen Kaku Gothic New', sans-serif;
  margin: 0;
  padding: 0;
  color: var(--color-text-dark);
  line-height: 1.6;
}

h1, h2, h3 {
  margin: 0;
  line-height: 1.2;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}

/* 共通セクションヘディング */
.p-section-heading {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  display: inline-block;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* 一文字ずつアニメーションさせるためのスタイル */
/* .p-section-heading__sub span (テキストの場合) のスタイルは残す */
.p-section-heading__main span,
.p-story__title span {
  display: inline-block;
  opacity: 0;
  transform: translateY(20px);
  letter-spacing: 1.5px;
}

.p-story__title {
  opacity: 0;
  transform: translateY(20px);
}

.p-story__title.is-animated {
  opacity: 1;
  animation: fade-in-up .6s;
  transform: translateY(0);
}

/* アニメーションキーフレーム */
@keyframes fade-in-up {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fade-in {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.p-section-heading__sub {
  font-size: var(--font-size-small);
  color: var(--color-secondary);
  font-weight: normal;
  text-transform: uppercase;
  font-family: 'fahkwang', sans-serif;
  display: block; /* imgがインライン要素にならないように */
  /* 見出し画像用: JSアニメーションに合わせた初期状態 */
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease-out 0.1s, transform 0.6s ease-out 0.1s;
}
/* 見出し画像用: JSアニメーション完了時の状態 */
.p-section-heading.is-animated .p-section-heading__sub {
    opacity: 1;
    transform: translateY(0);
}

/* ストーリーセクションのロゴ画像のサイズを調整 */
.p-section-heading--story .p-section-heading__sub {
  height: 22px;
  width: auto;
}

/* 体験の流れセクションのロゴ画像のサイズを調整 */
.p-section-heading--flow .p-section-heading__sub {
  height: 22px;
  width: auto;
}

/* サービスの特長セクションのロゴ画像のサイズを調整 */
.p-section-heading--safety .p-section-heading__sub {
  height: 22px;
  width: auto;
}

/* 追加: 共創パートナーの皆さまセクションのロゴ画像のサイズを調整 */
.p-section-heading--partner .p-section-heading__sub {
  height: 22px;
  width: auto;
}

/* 追加: 共創パートナー様向けおすすめポイントのロゴ画像のサイズを調整 */
.p-section-heading--partner-point .p-section-heading__sub {
  height: 22px;
  width: auto;
}

/* 追加: 生活習慣の改善を支える商品・サービスを募集のロゴ画像のサイズを調整 */
.p-section-heading--partner-recruitment .p-section-heading__sub {
  height: 22px;
  width: auto;
}

/* 追加: 共創ストーリーのロゴ画像のサイズを調整 */
.p-section-heading--co-creation-story .p-section-heading__sub {
  height: 22px;
  width: auto;
}

.p-section-heading__main {
  font-size: 28px;
  color: var(--color-text-dark);
  font-weight: bold;
  margin-top: 8px;
}

.p-section-heading__sub-text {
  text-align: center;
  font-size: var(--font-size-body);
  margin-top: 0;
  margin-bottom: 64px;
  color: var(--color-text-medium);
}


/* ====================================
// ヘッダー (Header)
// ==================================== */
.l-header {
  width: 100%;
  height: 80px;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  padding: 10px 20px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.p-header__container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 80px;
  height: 80px;
}

.p-header__logos {
  display: flex;
  align-items: center;
  gap: 20px; /* 修正: ロゴ間の余白を20pxに統一 */
}
.p-header__logo--qsai {
  width: 82px;
  height: auto;
}
.p-header__logo--myme {
  width: 150px;
  height: auto;
}

/* 新規追加: ロゴ間の「by」テキストのスタイル */
.p-header__logo-separator {
  /* PCのフォントサイズ: 16px */
  font-size: 16px; 
  color: var(--color-text-dark);
  font-weight: 500;
  /* 上下中央揃えはp-header__logosのalign-items: center;で対応済み */
  font-family: 'fahkwang', sans-serif;
}

/* PC用ナビゲーション */
.p-header__nav--pc {
  display: flex;
  align-items: center;
}

.p-header__nav-list {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 20px;
}

.p-header__nav-item a {
  color: var(--color-text-dark);
  font-size: var(--font-size-small);
  font-weight: bold;
  text-decoration: none;
  transition: color 0.3s;
  position: relative;
  padding-right: 20px;
}

/* アンカーリンクアイコンの疑似要素 */
.p-header__nav-item a::after {
  content: '';
  display: inline-block;
  width: 12px;
  height: 12px;
  background: url('/cp2509teaser/assets/images/arrow_anchorlink.svg') no-repeat center/contain;
  position: absolute;
  top: 65%;
  right: 0;
  transform: translateY(-50%);
  vertical-align: middle;
}

.p-header__nav-item a:hover {
  color: var(--color-secondary);
}

.p-header__nav-item a.is-active {
  color: var(--color-primary);
}

/* 修正: media-nav-item を削除し、partner-nav-item, co-creation-nav-item に余白を追加 */
#co-creation-nav-item {
  margin-right: 25px;
}
#co-creation-nav-item a::after {
  right: -5px;
}


/* 修正: ハンバーガーメニューのスタイルを新しく定義 */
.menu-toggle {
  display: block;
  background: none;
  border: none;
  cursor: pointer;
  width: 30px;
  height: 30px;
  position: relative;
  z-index: 1010;
  padding: 0;
}
.menu-icon {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transition: opacity 0.3s ease;
}
.menu-icon.menu-close {
  opacity: 0;
}
.menu-toggle.is-active .menu-icon.menu-open {
  opacity: 0;
}
.menu-toggle.is-active .menu-icon.menu-close {
  opacity: 1;
}
.sp-menu, .menu-overlay {
  display: none;
}


/* ====================================
// メインビジュアル (Main Visual)
// ==================================== */
.l-main-visual {
  position: relative;
  width: 100%;
  overflow: hidden;
  display: block;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: var(--color-white);
  /* 16:9のアスペクト比を維持 */
  padding-top: 56.25%;
  height: 0;
  margin-top: 100px;
}
/* 新規追加: 動画表示時にJSから付与するクラス */
.l-main-visual.is-video-active-sp {
  /* PCと同じくpadding-topで高さを制御し、height:0にする */
  padding-top: 56.25%; 
  height: 0;
  margin-top: 100px; /* PCの余白を維持 */
}
@media (max-width: 768px) {
  /* SP時のメインビジュアルコンテナの基本設定 */
  .l-main-visual {
    /* 動画非表示時 (テキストスライド) の高さ */
    padding-top: 0; 
    height: calc(100vh - 77px); 
    margin-top: 77px; 
    
    /* 動画アクティブ時 (is-video-active) に、この設定を上書きしてアスペクト比を適用するため、
       ここではデフォルトのテキストスライド時の高さを維持 */
  }
  
  /* 修正: SPで動画がアクティブになった際の親要素のスタイル */
  .l-main-visual.is-video-active-sp {
    /* SPで動画表示がアクティブになったら、padding-topで高さを制御 */
    padding-top: calc(56.25% + 40px); /* 16:9のアスペクト比に、ボタン分の高さを追加 */
    height: 0 !important; /* !important で calc(100vh - 60px) を確実に上書き */
    margin-top: 77px; /* SPのヘッダー下余白 */
  }

  /* 動画ラッパー */
  .p-main-visual__video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
  }
  .p-main-visual__video-wrapper.is-loaded {
    visibility: visible;
    opacity: 1;
  }
}

  /* SPでの動画コンテナのアスペクト比維持と高さ調整 */
  @media (max-width: 768px) {
    /* 動画がアクティブな場合 (is-loaded) のみ、アスペクト比を適用 */
    .p-main-visual__video-wrapper.is-loaded {
      /* 親要素が height:0 になるため、子要素は absolute で親要素いっぱいに広がる */
      position: absolute; /* absoluteに戻す */
      padding-top: 0; /* padding-topを解除 */
      height: calc(100% - 40px); /* ボタンの高さ分を引く */
      top: 0; 
    }
    
    /* ただし、テキストスライドも flex されており、これはテキストスライド表示時には必要ないが、
       ここでは動画の縦横比を優先するため、このままにする。 */
  }


  /* 動画要素 */
  .p-main-visual__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

/* ボリュームコントロールボタン */
.p-main-visual__volume-control {
  z-index: 10;
  cursor: pointer;
  display: inline-block;
  align-items: center;
  justify-content: flex-end;
  
  position: absolute;
  bottom: 8px; 
  right: 8px; 
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease-in-out;
}
/* 動画アクティブ時のみ表示 */
.p-main-visual__volume-control.is-video-active {
  opacity: 1;
  visibility: visible;
}

.p-main-visual__volume-icon {
  width: auto;
  height: 52px;
}
@media (max-width: 768px) {
  /* SP時にはボタンを動画の外側（親要素 l-main-visual の下端）に配置 */
  .p-main-visual__volume-control {
    position: absolute; /* absoluteを維持し、l-main-visualを基準に配置 */
    bottom: 0; 
    right: 16px; /* SPの左右パディングに合わせて調整 */
    height: 40px; /* SP時のボタンの実際の高さを確保 */
    display: flex;
    align-items: center;
    justify-content: flex-end;
  }
  
  .p-main-visual__volume-icon {
    height: 38px;
  }
}

.p-main-visual__volume-control picture {
  display: block;
}

/* ▼ 新規追加: 固定表示するロゴのラッパー (l-main-visual直下) */
.p-main-visual__fixed-logo-wrapper {
  position: absolute;
  bottom: 65px; /* PCでの位置 */
  left: 50%;
  transform: translateX(-50%);
  z-index: 10; /* 動画やスライドの上に表示 */
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease-in-out 0.5s; /* フェードインの遅延時間を調整 */
}

/* スライドショーが表示されたらロゴを表示 */
.p-main-visual__text-slide-wrapper.is-visible + .p-main-visual__fixed-logo-wrapper {
  opacity: 1;
  visibility: visible;
}

/* ▼ 既存のロゴスタイルを固定ロゴ用に修正 */
.p-main-visual__logo {
  width: 233px; /* PCでの幅を固定 */
  height: auto;
  display: block; /* imgをブロック要素に */
}


/* ▼ テキストスライド部分のスタイル */
.p-main-visual__text-slide-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 5; /* 動画とローダーの間 */
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease-in-out;
}

.p-main-visual__text-slide-wrapper.is-visible {
  opacity: 1;
  visibility: visible;
}

/* 共通背景画像 */
.p-main-visual__text-slide-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.p-main-visual__text-slide-image {
  width: 100%;
  height: 100%; /* 修正: 親要素の高さに合わせる */
  object-fit: cover; /* 修正: 縦横比を保ちながら領域を覆う */
}

/* 修正: l-main-visual が height:0 になった場合、text-slide-wrapper の高さも調整が必要 */
@media (max-width: 768px) {
  .l-main-visual.is-video-active-sp .p-main-visual__text-slide-wrapper.is-visible {
    /* 動画と高さが合わないよう、動画表示中は非表示にする */
    opacity: 0;
    visibility: hidden;
  }
}

.p-main-visual__text-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1s ease-in-out;
}

.p-main-visual__text-slide.is-active {
  opacity: 1;
  visibility: visible;
}

.p-main-visual__text-slide-content h2 {
  white-space: nowrap;
}

#text-slide-a .p-main-visual__text-slide-content h2{
  position: absolute;
  bottom: 250px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  z-index: 2;
}

#text-slide-b .p-main-visual__text-slide-content h2{
  position: absolute;
  bottom: 260px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  z-index: 2;
}

.p-main-visual__title {
  font-weight: bold;
  color: #344343;
  line-height: 1.5;
}

.p-main-visual__title .p-main-visual__title_pattern--a {
  font-size: 26px;
  font-weight: 500;
}

.p-main-visual__title .p-main-visual__title_pattern--b {
  font-size: 32px;
  font-weight: 500;
}

.p-main-visual__title .p-main-visual__title_pattern--b_strong {
  font-size: 60px;
}

/* ローディング画面 */
.loader {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #f7f7f7;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 100; /* ローディングを最前面に */
}

/* ドットのコンテナ */
.loader-dots {
  display: flex;
  gap: 8px; /* ドット間のスペース */
  margin-bottom: 20px; /* Loadingテキストとの間隔 */
}

/* 個々のドットのスタイル */
.dot {
  width: 12px;
  height: 12px;
  border-radius: 2px;
  background-color: transparent; /* 初期色は透明に */

  /* ▼▼▼ アニメーション設定をこちらに変更 ▼▼▼ */
  animation: sequential-appear 2.5s infinite;
}

/* ▼▼▼ 5つのドットの色とアニメーションのタイミングをここで一括定義 ▼▼▼ */
.loader-dots .dot:nth-child(1) { animation-delay: 0s; }
.loader-dots .dot:nth-child(2) { animation-delay: 0.2s; }
.loader-dots .dot:nth-child(3) { animation-delay: 0.4s; }
.loader-dots .dot:nth-child(4) { animation-delay: 0.6s; }
.loader-dots .dot:nth-child(5) { animation-delay: 0.8s; }

.dot.white { --dot-color: #d8d8d8; }
.dot.light-gray { --dot-color: #e0e0e0; }
.dot.red { --dot-color: #cc0000; }
.dot.black { --dot-color: #333333; }
.dot.gray { --dot-color: #a0a0a0; }

/* ▼▼▼ ループするための新しいアニメーション定義 ▼▼▼ */
@keyframes sequential-appear {
  0% {
  background-color: transparent; /* 開始時：透明 */
  }
  /* 5%の時点でパッと表示され、40%まで表示を維持 */
  5%, 40% {
  background-color: var(--dot-color); /* 表示 */
  }
  /* 45%の時点でパッと消える */
  45%, 100% {
  background-color: transparent; /* 終了時：透明 */
  }
}

/* Loading テキスト */
.loading-text {
  font-family: sans-serif; /* 適宜フォントを指定 */
  font-size: 1.2em;
  color: #555;
  letter-spacing: 2px;
}


/* ====================================
// お知らせ (News)
// ==================================== */
.l-news {
  padding: 64px 5% 100px;
  max-width: var(--max-width-page);
  margin: 0 auto;
}

.p-news__container {
  display: flex;
  gap: 157px;
  max-width: 1120px; /* お知らせセクションの最大幅を調整 */
  margin: 0 auto;
}

/* 左側: ロゴとタイトル */
.p-news__header {
  margin-top: 15px; /* リストとの位置調整 */
}

.p-news__logo {
  width: auto;
  height: 22px;
  margin-bottom: 10px;
}

.p-news__title {
  font-size: 28px;
  font-weight: bold;
  color: #344343;
  margin: 0;
  text-align: left;
}

/* 右側: お知らせリスト */
.p-news__list-wrapper {
  flex-grow: 1;
}

.p-news__list {
  padding: 0;
  margin: 0;
  list-style: none;
}

.p-news__item {
  display: block;
  color: var(--color-text-dark);
  text-decoration: none;
  transition: opacity 0.3s ease;
  line-height: 1.5;
}

.p-news__item:not(:last-child) {
  border-bottom: 1px solid #E5EEEE;
  padding-bottom: 16px;
}

.p-news__item:not(:first-child) {
  padding-top: 16px;
}

a.p-news__item:hover {
  opacity: 0.7;
}

.p-news__content {
  margin: 0;
}

.p-news__detail {
  display: flex;
  align-items: center;
  margin-left: 0;
  /* リンク矢印のためにrelativeを設定 */
  position: relative; 
}

/* リンクがある場合の矢印追加 */
.p-news__detail.is-linked::after {
  content: '';
  display: block;
  width: 12px; /* 矢印の幅 */
  height: 12px; /* 矢印の高さ */
  background: url('/myme/assets/images/arrow_textlink.svg') no-repeat center/contain;
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  transition: transform 0.3s ease;
}

/* ホバー時の矢印アニメーション（aタグにhoverがかかった時） */
.p-news__item:hover .p-news__detail.is-linked::after {
  transform: translateY(-50%) translateX(5px);
}

.p-news__image {
  flex-basis: 154px;
  flex-shrink: 0;
  margin-right: 20px;
}
.p-news__image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 2px;
  border: solid 0.5px #AABFBE;
}

.p-news__text-box {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  /* 矢印分のスペースを確保 */
  padding-right: 20px; 
}

.p-news__meta {
  list-style: none;
  padding: 0;
  margin: 0 0 4px 0;
}

.p-news__date {
  font-size: 14px;
}

.p-news__text {
  font-size: 16px;
  font-weight: normal;
  color: var(--color-text-dark);
  margin: 0;
  line-height: 1.2;
}


/* ====================================
// CTaナビゲーション (CTa Navigation)
// ==================================== */
.l-cta-nav {
  padding: 40px 5% 100px;
  max-width: var(--max-width-cta-nav);
  margin: 0 auto;
  text-align: center;
}

.p-cta-nav__list {
  display: flex;
  justify-content: center;
  gap: 20px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.p-cta-nav__item {
  flex-basis: 200px;
  background-color: var(--color-white);
  border: 1px solid var(--color-primary);
  border-radius: 4px;
  padding: 20px 10px;
  box-sizing: border-box;
  transition: background-color 0.3s ease;
}

.p-cta-nav__item:hover {
  background-color: var(--color-red-light);
}

.p-cta-nav__link {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: var(--color-text-dark);
  position: relative;
  padding-bottom: 25px;
}

/* アンカーリンクアイコンの疑似要素 */
.p-cta-nav__link::after {
  content: '';
  display: inline-block;
  width: 12px;
  height: 12px;
  background: url('/cp2509teaser/assets/images/arrow_anchorlink.svg') no-repeat center/contain;
  position: absolute;
  bottom: 5px;
  left: 50%;
  transform: translateX(-50%);
  transition: transform 0.3s ease-in-out;
}

/* ホバー時に矢印が下に移動 */
.p-cta-nav__item:hover .p-cta-nav__link::after {
  transform: translate(-50%, 5px);
}

.p-cta-nav__text {
  text-align: center;
  font-size: var(--font-size-cta-nav);
  font-weight: bold;
  color: var(--color-primary);
}

.p-cta-nav__icon {
  width: 90px;
  height: 90px;
  display: inline-block;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  margin-bottom: 10px;
  transition: background-image 0.3s ease, transform 0.3s ease;
}

.p-cta-nav__icon--story {
  background-image: url('/myme/assets/images/anchor_icon_01_pc.svg');
}

.p-cta-nav__icon--flow {
  background-image: url('/myme/assets/images/anchor_icon_02_pc.svg');
}
.p-cta-nav__icon--feature {
  background-image: url('/myme/assets/images/anchor_icon_03_pc.svg');
}

.p-cta-nav__icon--recruitment {
  background-image: url('/myme/assets/images/anchor_icon_04_pc.svg');
}

.p-cta-nav__icon--co-creation {
  background-image: url('/myme/assets/images/anchor_icon_05_pc.svg');
}

/* ホバー時に画像を切り替える修正 */
.p-cta-nav__item:hover .p-cta-nav__icon {
  transform: scale(0.85);
}
.p-cta-nav__item:hover .p-cta-nav__icon--story {
  background-image: url('/myme/assets/images/anchor_icon_01_hover_pc.svg');
}
.p-cta-nav__item:hover .p-cta-nav__icon--flow {
  background-image: url('/myme/assets/images/anchor_icon_02_hover_pc.svg');
}
.p-cta-nav__item:hover .p-cta-nav__icon--feature {
  background-image: url('/myme/assets/images/anchor_icon_03_hover_pc.svg');
}
.p-cta-nav__item:hover .p-cta-nav__icon--recruitment {
  background-image: url('/myme/assets/images/anchor_icon_04_hover_pc.svg');
}
.p-cta-nav__item.coming_soon .p-cta-nav__icon--co-creation {
  background-image: url('/myme/assets/images/pc_icon_co-creation_gray.svg');
}

.p-cta-nav__item.coming_soon .p-cta-nav__text {
  color:#aabfbe;
}

.l-experience-flow.l-experience-flow-step1 ,.l-safety-factor.l-safety-factor-step1 {
  background-color: #f5fafa;
}

.l-support.l-support--step1 {
  outline: none;
}
.l-partner-recruitment.l-partner-recruitment--step1 {
  background:none;
}

.p-cta-nav__item.coming_soon .p-cta-nav__link::after {
  content:"coming soon";
  width:fit-content;
  display:block;
  height: unset;
  color:#ffffff;
  background:#343434;
  border-radius:2px;
  font-size:12px;
  padding: 1px 5px 5px;
  box-sizing:border-box;
  bottom: -4px;
}

.p-cta-nav__item.coming_soon {
  border-color:#aabfbe;
  pointer-events:none;
}

/* ====================================
// ストーリー (Story)
// ==================================== */
.l-story {
  padding: 60px 5%;
  background-color: #ffffff;
  width: 100%;
  box-sizing: border-box;
}

.p-story__item {
  display: flex;
  align-items: center;
  gap: 64px;
  margin: 0 auto 80px;
  flex-direction: row;
  max-width: var(--max-width-page);
}

/* 2つ目のアイテムの並び順の反転を削除 */
.p-story__item:nth-child(2) {
  flex-direction: row;
}

.p-story__item:last-child {
  margin-bottom: 0;
}

.p-story__image-wrapper {
  flex-basis: 42%;
  flex-shrink: 0;
}

.p-story__image-wrapper img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0;
  object-fit: cover;
}

.p-story__text-wrapper {
  flex-basis: 58%;
  flex-grow: 1;
}

.p-story__title {
  color: var(--color-text-dark);
  font-size: var(--font-size-story-title);
  margin-bottom: 34px;
  font-weight: bold;
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
  text-align: left;
  width: 100%;
}

/* p-story__titleの子要素spanにもアニメーションを適用 */
.p-story__title span {
  display: inline-block;
  opacity: 0;
  transform: translateY(20px);
}

.p-story__title::after {
  content: '';
  display: block;
  width: 64px;
  height: 1px;
  background-color: var(--color-primary);
  position: absolute;
  bottom: -14px;
  left: 0;
}

/* 修正: アニメーションを適用するテキストのスタイル */
.p-story__text {
  font-size: var(--font-size-body);
  color: var(--color-text-dark);
  line-height: 1.8;
  background-image: linear-gradient(130deg,currentColor,currentColor 47.5%,rgba(141,141,141,.5) 52.5%,rgba(141,141,141,.5));
  background-position: 100% 0;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 300% 100%;
  transition: background-position 2s ease-out;
}

.p-story__text.is-visible {
  background-position: 0 0;
}

/* 修正: 注釈のフォントサイズを調整 */
.p-story__footnote {
  font-size: 14px; /* PC */
  line-height: 1.4;
  color: var(--color-text-medium);
  margin-top: 15px;
}


/* l-experience-shape-topとl-support-shape-topの定義 */
.l-experience-shape-top,
.l-experience-shape-down {
  display: block;
  width: 100%;
}
.l-experience-shape-top img,
.l-experience-shape-down img {
  width: 100%;
  height: auto;
}
.l-support-shape-top {
  width: 100%;
  height: auto;
}
.l-support-shape-down {
  width: 100%;
  height: auto;
}
.l-support-shape-top img,
.l-support-shape-down img {
  width: 100%;
  height: auto;
}


/* ====================================
// 体験の流れ (experience flow)
// ==================================== */
.l-experience-flow {
  text-align: center;
  background-color: transparent;
  padding: 100px 0 0;
}

.p-flow__container {
  display: flex;
  gap: 40px;
  justify-content: center;
  flex-wrap: wrap;
  max-width: var(--max-width-page);
  margin: 0 auto;
}

.p-flow__item {
  flex-basis: calc(25% - 30px);
  margin-bottom: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.p-flow__item.is-animated {
  opacity: 1;
  transform: translateY(0);
}

/* PC版の矢印画像に置き換え */
.p-flow__item:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -32px;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  background: url('/cp2509teaser/assets/images/pc_icon_flow_arrow.svg') no-repeat center/contain;
  z-index: 1;
}

.p-flow__item img {
  width: 250px;
  height: 375px;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 20px;
}

.p-flow__title {
  font-size: var(--font-size-flow-title);
  color: var(--color-text-dark);
  margin-bottom: 34px;
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
  text-align: center;
  width: 100%;
}

.p-flow__title::after {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  position: absolute;
  bottom: -14px;
  left: 50%;
  transform: translateX(-50%);
}

.p-flow__title--hakaru::after {
  background-color: var(--color-border);
}

.p-flow__title--wakaru::after {
  background-color: var(--color-primary);
}

.p-flow__title--kawaru::after {
  background-color: var(--color-border);
}

.p-flow__title--tuzukeru::after {
  background-color: var(--color-primary);
}

.p-flow__bold-text {
  font-weight: bold;
  margin-bottom: 10px;
  font-size: var(--font-size-body);
  text-align: left;
  color: #1d6864;
  width: 100%;
}

/* 修正: p-flow__textのフォントサイズとテキストアラインメント */
.p-flow__text {
  font-size: 14px;
  color: var(--color-text-dark);
  line-height: 1.8;
  text-align: left;
}

.p-flow__note {
  margin: 0;
  font-size: 14px;
  color: var(--color-text-dark);
}


/* ====================================
// サービスの特長 (Safety factor)
// ==================================== */
.l-safety-factor {
  background-color: transparent;
  padding: 100px 0;
  text-align: center;
}

.p-safety__container {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin: 0 auto;
  position: relative;
}

.p-safety__item {
  flex-basis: calc(50% - 10px);
  margin-bottom: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: var(--color-white);
  position: relative;
  overflow: hidden;
  padding-top: 48px;
  padding-bottom: 48px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.p-safety__item.is-animated {
  opacity: 1;
  transform: translateY(0);
}

.p-safety__item picture {
  width: 443px;
}

.p-safety__item:nth-child(1) {
  border-radius: 0 16px 16px 0;
}

.p-safety__item:nth-child(2) {
  transform: translateY(260px);
  border-radius: 16px 0 0 16px;
}

.l-safety-factor .p-safety__container:last-child {
  justify-content: flex-start;
}

.p-safety__text-wrapper {
  width: 100%;
  text-align: left;
}

.p-safety__title {
  font-size: var(--font-size-safety-title);
  color: var(--color-text-dark);
  margin-bottom: 34px;
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
  text-align: center;
  width: 100%;
}

.p-safety__title::after {
  content: '';
  display: block;
  width: 64px;
  height: 1px;
  position: absolute;
  bottom: -14px;
  left: 50%;
  transform: translateX(-50%);
}

.p-safety__title--red::after {
  background-color: var(--color-primary);
  
}

.p-safety__title--gray::after {
  background-color: var(--color-border);
}

.p-safety__text {
  font-size: 16px;
  color: #344343;
  line-height: 1.8;
  margin-top: 10px;
  margin-bottom: 0;
  text-align: left;
}


/* ====================================
// サポート (Support)
// ==================================== */
.l-support {
  position: relative;
  overflow: hidden;
  outline: solid 29px #ffffff;
}

.l-support__background-img {
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  width: 100%;
  height: auto;
  object-fit: cover;
}


.p-support__content {
  padding: 140px 20px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.p-support__content p {
  font-weight: 600;
  font-size: 26px;
  margin: 0;
  line-height: 1.8;
}

.p-support__content p:first-child {
  font-size: 20px;
}

/* 修正: l-support-shape-topとl-support-shape-down内のimgにwidth:100%を適用 */
.l-support-shape-top img,
.l-support-shape-down img {
  width: 100%;
  height: auto;
}


/* ====================================
// LINEバナー (修正セクション)
// ==================================== */
.l-line-banner {
  background-color: var(--color-white);
  /* 修正: 最大幅をページ幅に合わせ、余白の指定を解除 */
  max-width: 833px;
  margin: 0 auto 100px; /* 下余白も調整 */
  text-align: center;
  box-sizing: border-box;
}

.p-line-banner__container {
  /* 2カラムレイアウト */
  display: flex;
  justify-content: space-between;
  align-items: center;
  /* 修正: コンテナの上下パディングを追加して、ロゴに十分なスペースを与える */
  padding: 40px 0;
  margin: 0;
  background-color: transparent; /* 背景色はセクションで指定 */
}

/* 左側 (コンテンツ部分) */
.p-line-banner__left {
  flex-basis: 40%; /* 修正: 4:6の比率に調整 */
  flex-shrink: 0;
  padding: 0 64px 0 0;
  text-align: left;
}
.p-line-banner__logo {
  width: 233px; /* ロゴサイズ */
  height: auto;
  margin-bottom: 24px;
}

.p-line-banner__description-text {
  font-size: 16px;
  font-weight: bold;
  color: #80A3A1;
  margin-bottom: 32px;
  margin-top: 0;
  line-height: 1.6;
}

.p-line-banner__links-wrapper {
  display: flex;
  align-items: center;
  gap: 32px; /* LINEリンクとQRコードの間の余白 */
}
.p-line-banner__link {
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: opacity 0.3s;
}
.p-line-banner__link:hover {
  opacity: 0.7;
}

/* LINEロゴ + テキスト2 (ボーダー、padding付き) */
.p-line-banner__link--line {
  border: 1px solid var(--color-primary); /* #DA0A0A 1px */
  border-radius: 4px;
  padding: 12px;
  color: var(--color-primary);
  /* QRコードと横並びにするため、リンクをインラインブロックまたはフレックスに */
  display: flex;
  gap: 14px; /* アイコンとテキストの間 */
  align-items: center;
}
.p-line-banner__line-icon {
  width: 60px;
  height: 60px;
  object-fit: contain;
}
.p-line-banner__link-text {
  font-size: 16px;
  font-weight: bold;
  line-height: 1.5;
  color: #DA0A0A;
  /* 修正: 疑似要素を配置するための設定 */
  position: relative;
  padding-right: 28px; /* 矢印分のスペースを確保 */
  white-space: nowrap;
}

/* ▼ 新規追加: p-line-banner__link-text の疑似要素 (矢印) */
.p-line-banner__link-text::after {
  content: '';
  display: block;
  width: 16px; /* 矢印の幅 */
  height: 16px; /* 矢印の高さ */
  background: url('/myme/assets/images/arrow_textlink.svg') no-repeat center/contain;
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  transition: transform 0.3s ease;
}

.p-line-banner__link--line:hover {
  opacity: 0.7;
}

/* ホバー時の矢印アニメーション */
.p-line-banner__link--line:hover .p-line-banner__link-text::after {
  transform: translateY(-50%) translateX(5px);
}

/* QRコード */
.p-line-banner__link--qr {
  border: 1px solid var(--color-border); /* #AABFBE 1px */
  border-radius: 4px;
  padding: 0;
  display: inline-block;
}

.p-line-banner__qr-code {
  width: 80px; /* QRコード画像サイズを固定 */
  height: auto;
  display: block;
}

/* 右側 (画像部分) */
.p-line-banner__right {
  flex-basis: 60%; /* 修正: 4:6の比率に調整 */
  display: flex;
  justify-content: flex-end;
  align-items: center;
}
.p-line-banner__image {
  max-width: 443px; /* 最大幅を指定 */
  height: auto;
  width: 100%;
  display: block;
  object-fit: cover;
}


/* ====================================
// 共創パートナーの皆さま (変更セクション)
// ==================================== */
.l-partner-section {
  padding: 60px 5% 0;
  max-width: var(--max-width-page);
  margin: 0 auto;
  text-align: center;
}
.p-section-heading--partner {
  margin-bottom: 60px;
}


/* ====================================
// 共創パートナー様向けおすすめポイント (追加セクション)
// ==================================== */
.l-partner-point {
  text-align: left;
  background-color: var(--color-background-light);
  padding: 60px 5%;
  color: var(--color-green-dark); /* #1d6864; */
}
.p-section-heading--partner-point {
  position: relative;
  margin-bottom: 40px;
}

/* 変更: 3カラムレイアウトと間隔設定 */
.p-partner-point__container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin: 0 auto 48px;
  gap: 40px; /* PC: gap 40px */
}

/* 変更: アイテムの基本的なスタイルとアニメーション */
.p-partner-point__item {
  /* 3カラムにするための計算: (max-width - 2*gap) / 3 = 100% / 3 - 2*40/3 ≈ 33.333% - 26.666px */
  /* box-sizing: border-box を使用するため、計算式を修正 */
  flex-basis: 347px; 
  flex-shrink: 0;
  
  /* 新しいデザイン要件 */
  border: 8px solid var(--color-border-light); /* #E5EEEE */
  padding: 24px;
  box-sizing: border-box; /* paddingとborderを幅に含める */
  border-radius: 0; 
  background-color: var(--color-white); 

  /* 既存アニメーションは維持 */
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
  margin-bottom: 0; 
}
.p-partner-point__item.is-animated {
  opacity: 1;
  transform: translateY(0);
}

/* 変更: ヘッダー (数字とタイトル) を横並びに */
.p-partner-point__header {
  display: flex;
  align-items: center;
  margin-bottom: 24px;
}

/* 変更: ラベル型数字のスタイル */
.p-partner-point__number {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  color: var(--color-white);
  font-size: 20px;
  font-weight: bold;
  margin-right: 16px;
}

/* 変更: 奇数/偶数で背景色を切り替え */
.p-partner-point__number--odd {
  background-color: var(--color-primary); /* #DA0A0A */
}
.p-partner-point__number--even {
  background-color: #344343; /* #E5EEEE */
}

/* 変更: タイトルのスタイル */
.p-partner-point__title {
  font-size: 20px; /* 20px */
  font-weight: bold;
  color: var(--color-green-dark); /* #1D6864 */
  line-height: 1.5;
  margin: 0;
}

/* 変更: テキストのスタイル */
.p-partner-point__text {
  font-size: 14px; /* 14px */
  color: var(--color-text-dark); /* #344343 */
  line-height: 1.6;
  margin: 0;
}

/* --- 新規追加: データ提供ブロックのスタイル --- */

.p-partner-point__data {
  max-width: var(--max-width-page);
  margin: 0 auto;
  text-align: center;
  margin-bottom: 60px; /* 下のセクションとの余白 */
}

.p-partner-point__data-title {
  font-size: 20px;
  color: var(--color-text-dark); /* #344343 */
  font-weight: bold;
  margin-bottom: 34px; /* 疑似要素の装飾分、余白を増やす */
  text-align: center;
  position: relative; /* 疑似要素の基準 */
  display: inline-block; /* 疑似要素の幅をタイトルに合わせる */
  padding-bottom: 10px; /* 疑似要素との間隔 */
}

/* ▼ 追加: p-safety__title--red と同様の疑似要素装飾 */
.p-partner-point__data-title::after {
  content: '';
  display: block;
  width: 64px;
  height: 1px;
  background-color: var(--color-primary); /* 赤線 */
  position: absolute;
  bottom: -14px; /* p-safety__title の位置に合わせる */
  left: 50%;
  transform: translateX(-50%);
}

.p-partner-point__data-content {
  display: flex;
  gap: 40px;
  align-items: center;
  margin-bottom: 32px;
}

.p-partner-point__data-text-wrapper {
  flex-basis: 50%;
  text-align: left;
}

.p-partner-point__data-text {
  font-size: 20px;
  color: var(--color-green-dark); /* #1D6864 */
  font-weight: bold;
  line-height: 1.6;
  margin: 0;
}

.p-partner-point__data-image-wrapper {
  flex-basis: 50%;
  flex-shrink: 0;
  border: 8px solid var(--color-border-light); /* #E5EEEE */
  padding: 57px 67px;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--color-white);
}

/* PC: ユーザーデータ全体をアイコンと横並びにするための設定 */
.p-partner-point__data-user-data {
  display: flex;
  align-items: center;
  gap: 24px;
  /* 修正: PCではテキスト・数字のラッパーとアイコンを横並びにする */
  flex-direction: row; 
  /* ユーザーデータ全体を中央に配置する */
  justify-content: center;
}

/* PC: テキストと数字をまとめるラッパー（縦並びの親要素） */
.p-partner-point__data-user-data-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center; /* テキストと数字を右寄せにする */
  gap: 4px; /* テキストと数字の間隔 */
}

/* PC: アイコンの配置をリセット（横並びになったため） */
.p-partner-point__data-user-data > .p-partner-point__data-user-data-icon {
  order: unset; /* orderをリセット */
  margin-left: 0;
  margin-top: 0;
  margin-bottom: 0;
}
.p-partner-point__data-user-data > .p-partner-point__data-user-data-wrapper {
  order: unset; /* orderをリセット */
}

/* ▼ ユーザー数テキストのフォントサイズ調整 */
.p-partner-point__data-user-data-text {
  font-size: 18px; /* 指定の18px */
  font-weight: bold;
  color: var(--color-text-dark);
  line-height: 1.4;
  text-align: right; /* 右寄せ */
  white-space: nowrap; /* テキストが改行しないように */
}

.p-partner-point__data-user-data-number {
  /* 数字部分全体のコンテナ */
  display: flex;
  align-items: flex-end; /* 数字のベースラインを揃えるため */
  justify-content: flex-end; /* 右寄せ */
  gap: 4px; /* 各要素の間隔を調整 */
  line-height: 1; /* 行の高さを1に設定して、上下のスペースを詰める */
  font-weight: bold;
  color: var(--color-text-dark);
}

.p-partner-point__data-user-data-number--prefix {
  font-size: 32px; /* 指定の32px */
  margin-bottom: -2px; /* ベースラインの微調整 */
}

.p-partner-point__data-user-data-number--main {
  font-size: 37px; /* 指定の37px */
  margin: 0px 0 -3px;
}

.p-partner-point__data-user-data-number--suffix {
  font-size: 32px; /* 指定の32px */
  margin-bottom: -2px; /* ベースラインの微調整 */
}
/* ▲ ユーザー数テキストのフォントサイズ調整 ここまで */

.p-partner-point__data-user-data-icon {
  width: 90px;
  height: 90px;
  object-fit: contain;
  flex-shrink: 0;
}

.p-partner-point__data-note {
  font-size: 14px;
  color: var(--color-text-medium);
  line-height: 1.6;
  text-align: center;
  padding: 0 16px; /* SP向けに左右余白を考慮 */
}

.p-partner-point__data-note a:after {
    content: "";
    display: inline-block;
    width: 1em;
    height: 1em;
    margin-left: 0.3em;
    vertical-align: middle;
    background-image: url("https://corporate.kyusai.co.jp/cmn/icon/icon-blank-blue.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.p-partner-point__data-note a {
  color: #125dff;
}


/* ====================================
// 生活習慣の改善を支える商品・サービスを募集 (変更セクション)
// ==================================== */
/* p-partner-recruitment のセクションヘッダースタイルを変更 */
.l-partner-recruitment {
  text-align: center;
  background-color: var(--color-background-light);
  padding: 0 5% 60px; /* 余白を調整 */
  color: #1d6864;
}
.p-section-heading--partner-recruitment {
  position: relative;
  margin-bottom: 48px; /* CTAボタンとの余白を調整 */
}

/* 募集コンテンツのラッパー（コンテナ） */
.p-partner-recruitment__container {
  display: flex;
  flex-direction: column; /* アイテムを縦に並べる */
  max-width: 1000px; /* PCでの最大幅を設定 */
  margin: 0 auto 60px;
  gap: 60px;
}

/* 各コンテンツアイテムのベーススタイル */
.p-partner-recruitment__item {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.p-partner-recruitment__item.is-animated {
  opacity: 1;
  transform: translateY(0);
}

/* 画像とテキストを囲むFlexbox */
.p-partner-recruitment__content-wrapper {
  display: flex;
  align-items: center;
  gap: 40px; /* 画像とテキストの間隔 */
}

/* 偶数セット目の反転レイアウト */
.p-partner-recruitment__item--reverse .p-partner-recruitment__content-wrapper {
  flex-direction: row-reverse; /* 画像を右、テキストを左に */
}

/* 画像ラッパー */
.p-partner-recruitment__image {
  flex-basis: 50%;
  flex-shrink: 0;
  width: 100%;
}
.p-partner-recruitment__image img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 4px;
  object-fit: cover;
}

/* テキストラッパー */
.p-partner-recruitment__text-wrapper {
  flex-basis: 50%;
  flex-grow: 1;
  text-align: left;
}

/* テキストコンテンツのスタイル (p-partner-pointから流用・調整) */
.p-partner-recruitment__text-wrapper .p-partner-point__header {
  margin-bottom: 24px;
  align-items: center;
}
.p-partner-recruitment__text-wrapper .p-partner-point__title {
  font-size: 20px;
  color: #1D6864;
  line-height: 1.5;
  margin: 0;
}
.p-partner-recruitment__text-wrapper .p-partner-point__number {
  /* p-partner-point のスタイルをそのまま使用 */
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  font-size: 20px;
  margin-right: 16px;
}
.p-partner-recruitment__text-wrapper .p-partner-point__text {
  font-size: 16px;
  color: var(--color-text-dark);
  line-height: 1.8;
  margin: 0;
}


/* ====================================
// 共創ストーリー (変更セクション: 旧テストカルーセル)
// ==================================== */
.l-test-carousel {
  padding: 100px 0;
}
.p-section-heading--co-creation-story {
  /* co-creation-story 用のスタイルを調整 */
  margin-bottom: 48px;
}

/* ====================================
// フッター (footer)
// ==================================== */
.l-footer {
  background-color: #344343;
  color: #ffffff;
  text-align: center;
  padding: 20px;
  font-size: var(--font-size-small);
}
/* ====================================
// 追従バナー (follow banners)
// ==================================== */
.l-follow-banners {
  position: fixed;
  bottom: 16px;
  right: 16px;
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 16px;
  
  /* ▼ PCでの追加・修正点 ▼ */
  opacity: 0; /* 初期状態で非表示 */
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.l-follow-banners.is-visible {
  opacity: 1; /* JSでメインビジュアルが画面外に出たら表示 */
  visibility: visible;
}

.p-follow-banner__link {
  display: block;
  width: 280px;
  height: 60px;
  padding: 8px 10px;
  box-sizing: border-box;
  border-radius: 6px;
  text-decoration: none;
  font-size: 16px;
  font-weight: bold;
  position: relative;
  display: flex;
  align-items: center;
}

.p-follow-banner__item {
  transition: opacity 0.3s;
}

.p-follow-banner__item:hover {
  opacity: 0.7;
}

/* バナー1 */
.p-follow-banner__link--primary {
  background-color: var(--color-primary);
  color: var(--color-white);
  border: none;
  padding-right: 40px;
}
.p-follow-banner__link--primary::after {
  content: '';
  display: inline-block;
  width: 20px;
  height: 20px;
  background: url('/cp2509teaser/assets/images/arrow_follow_white.svg') no-repeat center/contain;
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
}

/* バナー2 */
.p-follow-banner__link--secondary {
  background-color: var(--color-text-dark);
  color: var(--color-white);
  border: 1px solid var(--color-border);
  padding-left: 50px;
  padding-right: 40px;
}
.p-follow-banner__link--secondary::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 24px;
  background: url('/cp2509teaser/assets/images/pc_icon_line.png') no-repeat center/contain;
  position: absolute;
  top: 50%;
  left: 10px;
  transform: translateY(-50%);
}
.p-follow-banner__link--secondary::after {
  content: '';
  display: inline-block;
  width: 20px;
  height: 20px;
  background: url('/cp2509teaser/assets/images/arrow_follow_white.svg') no-repeat center/contain;
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
}

.p-follow-banner__text {
  text-align: center;
  width: 100%;
}

/* 共創パートナーお問い合わせバナー（フッター上） */
.p-cta-banner {
  display: block;
  width: 280px;
  height: 60px;
  padding: 8px 10px;
  box-sizing: border-box;
  border-radius: 6px;
  text-decoration: none;
  font-size: 16px;
  font-weight: bold;
  position: relative;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s;
}

.p-cta-banner:hover {
  opacity: 0.7;
}

.p-cta-banner--primary {
  background-color: var(--color-primary);
  color: var(--color-white);
  border: none;
  padding-right: 40px;
}
.p-cta-banner--primary::after {
  content: '';
  display: inline-block;
  width: 20px;
  height: 20px;
  background: url('/cp2509teaser/assets/images/arrow_follow_white.svg') no-repeat center/contain;
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
}
.p-cta-banner__text {
  text-align: center;
  white-space: nowrap;
}


/* ====================================
// レスポンシブデザイン (Responsive)
// ==================================== */
/* SPでのスタイル（最大768px） */
@media (max-width: 768px) {
  /* PC用ナビゲーションを非表示 */
  .p-header__nav--pc {
    display: none;
  }

  main {
    width: 100vw;
    overflow: hidden;
  }

  /* 修正: ヘッダーのレイアウトをSP用に変更 */
  .l-header {
    padding: 10px 0; /* 左右の余白を削除 */
    box-sizing: border-box;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 77px; /* SPヘッダーの高さを60pxに修正 */
  }
  .p-header__container {
    width: 100%;
    margin: 0;
    flex-direction: row;
    justify-content: space-between;
    padding: 0 20px; /* ここで左右の余白を設定 */
    height: 77px; /* SPヘッダーの高さに合わせる */
  }
  .p-header__logos {
    display: flex;
    align-items: center;
    gap: 20px; /* SPでのロゴ間の余白 */
  }
  .p-header__logo--qsai {
    width: 81px;
    height: auto;
  }
  .p-header__logo--myme {
    width: 105px;
    height: auto;
  }

  /* SP: ロゴ間の「by」テキストのスタイル */
  .p-header__logo-separator {
    /* SPのフォントサイズ: 14px */
    font-size: 14px; 
  }

  /* 修正: ハンバーガーメニューのスタイルを新しく定義 */
  .menu-toggle {
    display: block;
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 30px;
    position: relative;
    z-index: 1010;
    padding: 0;
  }
  .menu-icon {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: opacity 0.3s ease;
  }
  .menu-icon.menu-close {
    opacity: 0;
  }
  .menu-toggle.is-active .menu-icon.menu-open {
    opacity: 0;
  }
  .menu-toggle.is-active .menu-icon.menu-close {
    opacity: 1;
  }

  /* 修正: SPメニューのスタイルを新しく定義 */
  .sp-menu {
    display: block;
    position: fixed;
    top: 60px;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--color-background-light);
    z-index: 999;
    transform: translateY(-100%);
    transition: transform 0.3s ease-in-out;
    padding-top: 60px; /* ヘッダーの高さ分 */
    box-sizing: border-box;
    overflow-y: auto;
  }
  .sp-menu.is-active {
    transform: translateY(0);
  }
  .sp-menu-inner {
    padding: 20px 32px;
  }
  .sp-menu .menu-list {
    list-style: none;
    padding: 0;
    margin: 0 0 24px 0;
    border-top: 1px solid var(--color-blue-light);
  }
  .sp-menu .menu-list li a {
    display: block;
    padding: 16px 0;
    font-size: 16px;
    color: var(--color-text-dark);
    text-decoration: none;
    border-bottom: 1px solid var(--color-blue-light);
  }
  .sp-menu .p-follow-banner__link--sp-menu {
    width: 100%;
    font-size: 13px;
    height: auto;
    padding: 16px;
    text-align: left;
    white-space: normal;
  }
   .p-follow-banner__text {
    text-align: left;
  }
  .sp-menu .p-follow-banner__link--sp-menu::after {
    top: auto;
    bottom: 50%;
    transform: translateY(50%);
    right: 16px;
  }

  /* 修正: オーバーレイのスタイルを新しく定義 */
  .menu-overlay {
    display: block;
    position: fixed;
    top: 60px;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease-in-out;
  }
  .menu-overlay.is-active {
    opacity: 1;
    visibility: visible;
  }
  .no-scroll {
    overflow: hidden;
  }
  /* 既存のハンバーガーメニュー関連スタイルを削除 */
  .p-header__hamburger,
  .p-header__hamburger.is-active .p-header__hamburger-icon,
  .p-header__hamburger.is-active .p-header__hamburger-icon::before,
  .p-header__hamburger.is-active .p-header__hamburger-icon::after,
  .p-header__hamburger-icon::before,
  .p-header__hamburger-icon::after,
  .p-header__nav-sp,
  .p-header__nav-sp.is-active,
  .p-header__close-button,
  .p-header__close-button::before {
    display: none;
  }

  /* Main Visual */
  /* 削除
  .p-main-visual__volume-control {
    bottom: 8px;
    right: 8px;
  } */
  /* 変更 */
  .p-main-visual__volume-control picture {
    width: auto;
    height: 38px;
  }
  /* 変更 */
  .p-main-visual__volume-icon {
    width: auto;
    height: 38px;
  }
  .p-main-visual__volume-text {
    font-size: 0.8rem;
  }

  /* SP向けメインビジュアルの高さと余白の調整 */
  .l-main-visual {
    padding-top: 0; 
    padding-bottom: 0;
    
    /* 修正: 動画表示時に無駄な余白が出ないように、デフォルトはテキストスライド用の高さにし、
       動画が表示された時（.p-main-visual__video-wrapper.is-loaded）は、
       padding-topを基準にした高さに上書きされるよう調整 */
    height: calc(100vh - 77px); 
    margin-top: 77px; 
    
    /* 動画表示時の親要素の高さ調整は、動画ラッパーのアスペクト比に依存させる */
    display: block; /* flexを解除 */
    align-items: flex-start; /* flexを解除 */
    justify-content: flex-start; /* flexを解除 */
  }
  
  /* 動画ラッパー */
  .p-main-visual__video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%; /* 基本は親要素いっぱいに設定 */
    
    /* 動画が非表示時は height:100% のまま */
    
    /* 動画がアクティブな場合 (.is-loaded) は、アスペクト比を適用し高さを設定 */
    transform: none;
    padding-bottom: 0;
  }
  
  /* 動画がアクティブな場合 (is-loaded) のみ、親要素の高さに合わせて縦横比を調整する */
  .l-main-visual .p-main-visual__video-wrapper.is-loaded {
    position: absolute; /* absolute に戻す */
    padding-top: 0; /* padding-topを解除 */
    /* 修正: 高さをボタンの高さ分引いたものにする */
    height: calc(100% - 40px); /* 親要素の height からボタンの高さ (40px) を引く */
    top: 0; 
    
    /* この設定により、l-main-visualの高さは動画ラッパーの高さに縮まり、
       動画と親要素が縦横比に合った高さになる */
  }
  
  /* テキストスライドがアクティブな場合 (.is-visible) は、親要素の高さ (100vh - 60px) を維持する */
  .p-main-visual__text-slide-wrapper.is-visible {
    position: absolute;
    top: 0;
    height: 100%; /* 親要素の height: calc(100vh - 60px); に合わせる */
    width: 100%;
  }

  /* 動画要素 */
  .p-main-visual__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .p-main-visual__title .p-main-visual__title_pattern--b {
    font-size: 18px;
  }

  .p-main-visual__title .p-main-visual__title_pattern--b_strong {
    font-size: 32px;
  }
  
  /* ▼ 新規追加: ロゴのスタイル (SP) */
  .p-main-visual__logo {
    width: 150px; /* SPでの幅 */
    height: auto;
  }
  /* ▲ 新規追加: ロゴのスタイル (SP) */


  /* News (お知らせ) */
  .l-news {
    padding: 72px 16px;
  }
  .p-news__container {
    flex-direction: column;
    gap: 32px;
  }
  .p-news__header {
    flex-basis: auto;
    text-align: center;
    margin: 0;
    padding: 0 16px;
  }
  .p-news__title {
    text-align: center;
  }
  .p-news__list-wrapper {
    padding: 0 16px 10px;
    border-top: none;
  }
  .p-news__item {
    padding: 16px 0;
  }
  .p-news__detail {
    /* SPでは矢印の右側を少し空ける */
    padding-right: 20px; 
  }
  
  /* SPの矢印の位置調整 */
  .p-news__detail.is-linked::after {
    right: -5px; /* 右端から少しはみ出すように調整 */
  }

  .p-news__image {
    flex-basis: 80px;
    margin-right: 16px;
  }
  .p-news__text-box {
    /* SPでは矢印分のパディングを削除（親のp-news__detailで対応） */
    padding-right: 0;
  }
  
  .p-news__date {
    font-size: 13px;
  }
  .p-news__text {
    font-size: 14px;
  }

  /* Story */
  .p-story__item {
    flex-direction: column;
    margin: 0 auto 12px;
    gap: 40px;
  }
  .p-story__item:nth-child(2) {
    flex-direction: column;
  }
  .p-story__text-wrapper {
    margin-top: 20px;
  }
  .p-story__title {
    margin-bottom: 34px;
    text-align: center;
  }
  .p-story__title::after {
    bottom: -14px;
    left: 50%;
    transform: translateX(-50%);
  }
  .p-story__text {
    font-size: 14px;
    line-height: 1.8;
  }
  .p-story__text.is-visible {
    background-position: 0 0;
  }
  /* 修正: 注釈のフォントサイズを調整 */
  .p-story__footnote {
    font-size: 13px;
  }

  /* CTa Navigation (SP) */
  .l-cta-nav {
    padding: 48px 16px 72px;
  }
  .p-cta-nav__list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
  .p-cta-nav__item {
    flex-basis: auto;
    padding: 16px 0;
    box-sizing: border-box;
  }
  .p-cta-nav__link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--color-text-dark);
    position: relative;
    padding-bottom: 20px;
  }
  .p-cta-nav__link::after {
    display: inline-block; /* noneを上書き */
  }

  /* SP向けCTaアイコンの差し替え */
  .p-cta-nav__icon--story {
    background-image: url('/myme/assets/images/anchor_icon_01_sp.svg');
  }
  .p-cta-nav__icon--flow {
    background-image: url('/myme/assets/images/anchor_icon_02_sp.svg');
  }
  .p-cta-nav__icon--feature {
    background-image: url('/myme/assets/images/anchor_icon_03_sp.svg');
  }
  .p-cta-nav__icon--recruitment {
    background-image: url('/myme/assets/images/anchor_icon_04_sp.svg');
  }
  .p-cta-nav__icon--co-creation {
    background-image: url('/myme/assets/images/anchor_icon_05_sp.svg');
  }

  /* SP向けアイコンサイズの修正 */
  .p-cta-nav__icon {
    width: 70px;
    height: 70px;
    margin-bottom: 8px; /* ここを修正 */
  }

  /* SP向けCTaアイコンのホバー画像を無効化（PCのものを上書き） */
  .p-cta-nav__item:hover .p-cta-nav__icon--story {
    background-image: url('/myme/assets/images/anchor_icon_01_sp.svg');
  }
  .p-cta-nav__item:hover .p-cta-nav__icon--flow {
    background-image: url('/myme/assets/images/anchor_icon_02_sp.svg');
  }
  .p-cta-nav__item:hover .p-cta-nav__icon--feature {
    background-image: url('/myme/assets/images/anchor_icon_03_sp.svg');
  }
  .p-cta-nav__item:hover .p-cta-nav__icon--recruitment {
    background-image: url('/myme/assets/images/anchor_icon_04_sp.svg');
  }
  .p-cta-nav__item:hover .p-cta-nav__icon--co-creation {
    background-image: url('/myme/assets/images/anchor_icon_05_sp.svg');
  }

  /* フォントサイズの修正 */
  .p-cta-nav__text {
    font-size: var(--font-size-small); /* 14px */
  }

  /* experience flow */
  .l-experience-flow {
    padding: 72px 0 0;
  }
  .p-flow__container,
  .p-safety__container,
  .p-early-adopter__container,
  .p-media__container,
  .p-partner-recruitment__container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
  .p-flow__item {
    flex-basis: auto;
    margin: 0 auto 20px;
    padding: 0 16px;
  }
  .p-flow__item:not(:last-child)::after {
    top: auto;
    bottom: -28px;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    width: 24px;
    height: 24px;
    background: url('/cp2509teaser/assets/images/sp_icon_flow_arrow.svg') no-repeat center/contain;
    z-index: 1;
  }

  .p-flow__item img {
    width: 100%;
    height: auto;
    margin-bottom: 24px;
    object-fit: cover;
    border-radius: 4px;
  }

  .p-flow__title {
    font-size: var(--font-size-flow-title);
    color: var(--color-text-dark);
    margin-bottom: 34px;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
    text-align: center;
    width: 100%;
  }

  .p-flow__title::after {
    content: '';
    display: block;
    width: 32px;
    height: 1px;
    position: absolute;
    bottom: -14px;
    left: 50%;
    transform: translateX(-50%);
  }

  .p-flow__title--hakaru::after {
    background-color: var(--color-border);
  }

  .p-flow__title--wakaru::after {
    background-color: var(--color-primary);
  }

  .p-flow__title--kawaru::after {
    background-color: var(--color-border);
  }

  .p-flow__title--tuzukeru::after {
    background-color: var(--color-primary);
  }

  .p-flow__bold-text {
    font-weight: bold;
    margin-bottom: 10px;
    font-size: var(--font-size-body);
    color: #1d6864;
    width: 100%;
    margin-top: 0;
    text-align: center
  }
  /* SP: p-flow__textのフォントサイズとテキストアラインメント */
  .p-flow__text {
    font-size: 14px;
    color: var(--color-text-medium);
    text-align: left;
    width: 100%;
  }

  .p-flow__note {
    padding: 0 16px;
    text-align: left;
  }

  .p-section-heading__sub-text {
    font-size: 14px;
    margin-top: 0;
    margin-bottom: 46px;
  }

  /* フォントサイズの修正 */
  .p-section-heading__main {
    font-size: 24px;
  }

  /* SP用の変更 */
  .p-safety__item {
    width: 100%;
    transform: none;
    padding-top: 32px;
    padding-bottom: 32px;
  }
  .p-safety__item > picture {
    width: 295px;
  }

  .p-safety__item:nth-child(1) {
    transform: translateX(-16px);
    overflow: hidden;
  }

  .p-safety__item:nth-child(1) h3,
  .p-safety__item:nth-child(1) picture,
  .p-safety__item:nth-child(1) p {
    margin-left: 16px;
  }

  .p-safety__item:nth-child(2) {
    transform: translateX(16px);
    overflow: hidden;
  }

  .p-safety__item:nth-child(2) h3,
  .p-safety__item:nth-child(3) picture,
  .p-safety__item:nth-child(4) p {
    margin-right: 16px;
  }

  .p-safety__text {
    font-size: 14px;
  }

  .p-safety__text-wrapper {
    padding: 0 32px;
  }

  .p-safety__item:nth-of-type(odd) {
    background-color: var(--color-blue-light);
  }

  .p-safety__item:nth-of-type(even) {
    background-color: var(--color-red-light);
  }

  .p-support__content {
    padding: 75px 33px;
    text-align: center;
    line-height: 1.8;
  }

  .p-support__content p {
    font-size: 22px;
  }

  .p-support__content p:first-child {
    font-size: 17px;
  }

  .l-support-shape-down {
    top: -1px;
    position:relative;
  }

  .l-support-shape-top {
    bottom: -5px;
  }

  .p-early-adopter__bubble {
    padding: 24px;
  }

  .l-early-adopter {
    padding: 72px 16px 0;
  }

  .l-safety-factor {
    padding: 72px 0;
  }

  /* 修正: 各p-early-adopter__itemにアニメーションの初期状態を適用 */
  .p-early-adopter__item {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
  }
  /* 修正: アニメーション発火時のスタイル */
  .p-early-adopter__item.is-animated {
    opacity: 1;
    transform: translateY(0);
  }

  .p-early-adopter__voice {
    font-size: 14px;
    text-align: left;
  }

  /* メディア掲載のSP変更 */
  .p-media__item {
    flex-wrap: wrap;
    gap: 16px; /* SP: 16px */
  }
  .l-media {
    padding: 0 16px 72px;
  }
  .p-media__text {
    margin-right: 24px;
  }
  .p-media__item > div::after {
    right: 5px;
  }

  /* 共創パートナー募集のSP変更 */
  .l-partner-recruitment {
    padding: 60px 16px;
  }
  .p-partner-recruitment__container {
    flex-direction: column;
  }
  .p-partner-recruitment__item {
    width: 100%;
    margin-bottom: 20px;
  }
  .p-partner-recruitment__item:last-child {
    margin-bottom: 0;
  }
  .p-partner-recruitment__content-wrapper {
    flex-direction: column;
    gap: 20px;
  }
  .p-partner-recruitment__text-wrapper {
    margin-top: 0;
  }
  .p-partner-recruitment__image {
    margin-bottom: 0;
  }

  /* 追従バナーのSP変更 */
  .l-follow-banners {
    opacity: 1; 
    visibility: visible;
    position: fixed;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    right: auto;
    z-index: 100;
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 8px;
    width: 358px;
    box-sizing: border-box;
  }

  .p-follow-banner__item {
    flex-grow: 1;
    flex-basis: auto;
    max-width: 175px;
  }

  .p-follow-banner__link {
    width: 100%;
    height: 56px;
    padding: 8px 9px;
    font-size: 14px;
    align-items: center;
    justify-content: center;
  }
  .p-follow-banner__link--secondary::before {
    content: '';
    display: inline-block;
    width: 24px;
    height: 24px;
    background: url('/cp2509teaser/assets/images/sp_icon_line.png') no-repeat center/contain;
    position: absolute;
    top: 50%;
    left: 9px;
    transform: translateY(-50%);
  }
  .is-sp {
    display: block;
  }
  .is-pc {
    display: none;
  }
  .p-follow-banner__link--secondary {
    padding-left: 45px;
  }

  /* ハンバーガーアイコンをSPのみ表示 */
  .menu-toggle {
    display: block;
  }
  .menu-icon {
    display: block;
  }
  .p-header__nav--pc {
    display: none;
  }

  .sp-menu {
    top: 60px;
    z-index: 999;
  }
  .menu-overlay {
    top: 60px;
    z-index: 998;
  }

  .l-cta-partner {
    margin-top: 48px;
  }
  .p-partner-recruitment__benefits-heading {
    text-align: center;
  }
  /* SP: LINEバナー */
  .l-line-banner {
    padding: 80px 16px;
    /* SPでは最大幅を解除 */
    max-width: 100%;
    margin-bottom: 0;
  }
  .p-line-banner__container {
    padding: 0;
    flex-direction: column; /* SPでは縦積み */
    gap: 32px;
  }
  .p-line-banner__left {
    flex-basis: auto;
    padding: 0 16px;
    text-align: center;
  }
  .p-line-banner__logo {
    width: 233px;
    margin-bottom: 16px;
  }
  .p-line-banner__description-text {
    font-size: 14px;
    margin-bottom: 24px;
  }
  .p-line-banner__links-wrapper {
    flex-direction: row;
    gap: 32px;
  }
  .p-line-banner__link--line {
    width: 100%;
    justify-content: center;
    padding: 12px;
    font-size: 14px;
  }
  .p-line-banner__link--qr {
    width: 130px;
    display: flex;
    justify-content: center;
    padding: 4px;
  }
  .p-line-banner__qr-code {
    width: 100%;
  }
  .p-line-banner__right {
    flex-basis: auto;
    justify-content: center;
    padding: 0 16px;
  }
  .p-line-banner__image {
    width: 100%;
    max-width: 320px; /* SPでの画像の最大幅を調整 */
  }

  /* SP: 共創パートナーの皆さま */
  .l-partner-section {
    padding: 72px 16px 0;
  }
  .p-section-heading--partner {
    margin-bottom: 40px;
  }
  
  /* SP: 共創パートナー様向けおすすめポイント */
  .l-partner-point {
    padding: 60px 16px;
  }

  .p-section-heading--partner-point {
    margin-bottom: 32px;
  }

  .p-partner-point__container {
    flex-direction: column; /* SPでは縦並び */
    gap: 20px; /* SPのアイテム間の間隔を調整 */
    margin-bottom: 40px; /* 下のブロックとの余白を調整 */
  }
  .p-partner-point__item {
    flex-basis: auto; /* SPで幅を調整 */
    width: 100%;
    padding: 24px; /* SPのパディングを調整 */
    margin-bottom: 0; /* flexでgapを使うため */
  }
  .p-partner-point__header {
    flex-direction: row; /* 横並び維持 */
    align-items: center;
    margin-bottom: 16px; /* SPのタイトル下の余白を調整 */
    justify-content: flex-start;
  }
  .p-partner-point__number {
    width: 32px; /* SPのサイズ調整 */
    height: 32px; /* SPのサイズ調整 */
    font-size: 20px;
    margin-right: 16px; /* SPの数字とタイトルの間隔を調整 */
  }
  .p-partner-point__title {
    font-size: 20px; /* SPのフォントサイズ調整 */
    line-height: 1.6;
  }
  .p-partner-point__text {
    font-size: 14px;
  }
  
  /* SP: データ提供ブロックのスタイル */
  .p-partner-point__data {
    margin-bottom: 40px;
  }
  .p-partner-point__data-title {
    font-size: 20px;
    margin-bottom: 34px; /* 疑似要素の装飾分、余白を増やす */
  }
  /* ▼ p-safety__title--red と同様の疑似要素装飾 (SP調整) */
  .p-partner-point__data-title::after {
    bottom: -14px;
  }

  .p-partner-point__data-content {
    flex-direction: column;
    gap: 20px;
  }
  .p-partner-point__data-text-wrapper {
    flex-basis: auto;
    text-align: center;
  }
  .p-partner-point__data-text {
    font-size: 20px;
    text-align: center;
  }
  .p-partner-point__data-image-wrapper {
    flex-basis: auto;
    width: 100%;
    padding: 19px 0px;
}
  
  /* 修正: SPでユーザーデータ全体（アイコン含む）を縦並び(column)から横並び(row)に変更 */
  .p-partner-point__data-user-data {
    flex-direction: column;
    align-items: center; /* アイコンとテキストブロックを中央寄せ */
    justify-content: center;
    gap: 16px; /* SPでの横方向の間隔 */
  }

  /* SP: テキストと数字をまとめるラッパー（縦並びの親要素） */
  .p-partner-point__data-user-data-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center; /* 中央寄せ */
    gap: 4px;
  }

  /* SP: orderとマージンを調整し、アイコンとテキストブロックを横並びにする */
  .p-partner-point__data-user-data > .p-partner-point__data-user-data-wrapper {
    order: 1; /* テキストブロックを左側（1番目）に配置 */
    flex-shrink: 0;
  }
  .p-partner-point__data-user-data > .p-partner-point__data-user-data-icon {
    order: 2; /* アイコンを右側（2番目）に配置 */
    margin-left: 0;
    margin-top: 0;
  }
  
  /* ▼ ユーザー数テキストのフォントサイズ調整 (SP) */
  .p-partner-point__data-user-data-text {
    font-size: 18px; /* SPでのフォントサイズを調整 */
    text-align: center;
  }

  .p-partner-point__data-user-data-number--prefix {
    font-size: 32px; /* SPでのサイズを調整 */
  }

  .p-partner-point__data-user-data-number--main {
    font-size: 37px; /* SPでのサイズを調整 */
  }

  .p-partner-point__data-user-data-number--suffix {
    font-size: 32px; /* SPでのサイズを調整 */
  }
  /* ▲ ユーザー数テキストのフォントサイズ調整 (SP) ここまで */

  .p-partner-point__data-user-data-icon {
    width: 85px;
    height: auto;
}
  .p-partner-point__data-note {
    font-size: 14px;
    padding: 0;
    text-align: left;
  }


  /* SP: 生活習慣の改善を支える商品・サービスを募集 */
  .l-partner-recruitment {
    padding: 0 16px 72px;
  }
  .p-section-heading--partner-recruitment {
    margin-bottom: 32px;
  }
  
  .l-cta-partner {
    margin-top: 0;
  }

  /* SP: 共創ストーリー (旧テストカルーセル) */
  .l-test-carousel {
    padding: 72px 0;
  }

  /* SP: 生活習慣の改善を支える商品・サービスを募集 */
  .l-partner-recruitment {
    padding: 0 16px 72px;
  }
  .p-section-heading--partner-recruitment {
    margin-bottom: 48px;
  }
  
  /* SP: 募集コンテンツのコンテナ */
  .p-partner-recruitment__container {
    gap: 8px; /* SPでのアイテム間隔を調整 */
  }
  
  /* SP: 各コンテンツアイテム */
  .p-partner-recruitment__item {
    padding: 0 16px;
  }
  
  /* SP: 画像とテキストを囲むラッパー（縦並びに変更） */
  .p-partner-recruitment__content-wrapper {
    flex-direction: column;
    gap: 20px;
  }

  /* SP: 偶数セット目の反転レイアウトをリセット */
  .p-partner-recruitment__item--reverse .p-partner-recruitment__content-wrapper {
    flex-direction: column;
  }
  
  /* SP: 画像ラッパー */
  .p-partner-recruitment__image {
    flex-basis: auto;
    width: 100%;
  }

  /* SP: テキストラッパー */
  .p-partner-recruitment__text-wrapper {
    flex-basis: auto;
    width: 100%;
    text-align: left; /* SPではテキストを左寄せに */
  }
  
  /* SP: テキストコンテンツの調整 */
  .p-partner-recruitment__text-wrapper .p-partner-point__header {
    justify-content: flex-start;
    margin-bottom: 16px;
  }
  .p-partner-recruitment__text-wrapper .p-partner-point__title {
    text-align: left;
  }

  .p-partner-recruitment__text-wrapper .p-partner-point__text {
    font-size: 14px;
  }

  /* ▼ 修正: ロゴの分だけmargin-bottomを減らす (SP) */
  .p-main-visual__text-slide--a .p-main-visual__title {
    line-height: 1;
  }

  .p-main-visual__text-slide--b .p-main-visual__title {
    line-height: 1;
  }

  #text-slide-a .p-main-visual__text-slide-content h2 {
    bottom: 315px;
  }
  #text-slide-b .p-main-visual__text-slide-content h2 {
    bottom: 350px;
  }
  .p-main-visual__fixed-logo-wrapper {
    bottom: 180px;
  }

  .p-main-visual__title .p-main-visual__title_pattern--a {
    font-size: 15px;
  }

  .p-main-visual__title .p-main-visual__title_pattern--b {
    font-size: 20px;
  }

  .p-main-visual__title .p-main-visual__title_pattern--b_strong {
    font-size: 34px;
  }
}

/* PCでのスタイル（最小769px） */
@media (min-width: 769px) {
  .menu-toggle,
  .menu-icon {
    display: none;
  }
  
  .p-partner-recruitment__item {
    align-items: baseline;
  }
  
  .p-partner-recruitment__benefits {
    padding: 0;
  }
  .is-sp {
    display: none !important;
  }
  .is-pc {
    display: block;
  }
  /* h2が一つ目の要素のため、 二つ目から色付けスタート*/
  .l-safety-factor .p-safety__container:nth-child(2) .p-safety__item:nth-child(2),
  .l-safety-factor .p-safety__container:nth-child(3) .p-safety__item:nth-child(1) {
    background-color: var(--color-blue-light);
  }

  .l-safety-factor .p-safety__container:nth-child(2) .p-safety__item:nth-child(1),
  .l-safety-factor .p-safety__container:nth-child(3) .p-safety__item:nth-child(2),
  .l-safety-factor .p-safety__container:last-child .p-safety__item {
    background-color: var(--color-red-light);
  }
  .p-partner-recruitment__item--new-layout {
    display: block;
    width: 100%;
  }
  .p-partner-recruitment__content-wrapper {
    flex-direction: row;
    align-items: center;
  }
  .p-partner-recruitment__text-wrapper {
    margin-top: 0;
  }
  .p-partner-recruitment__benefits-heading {
    margin-top: 0;
  }
  .p-story__title br:nth-of-type(1) ,.p-story__title br:nth-of-type(3) {
    display:none;
  }
  /* 見出し画像のアニメーション初期状態を解除（JSで個別に制御） */
  .p-section-heading .p-section-heading__sub {
    opacity: 1;
    transform: translateY(0);
  }
  .p-section-heading.is-animated .p-section-heading__sub {
      opacity: 1;
      transform: translateY(0);
  }
  /* PC: 共創パートナーの皆さま */
  .l-partner-section {
    padding: 60px 5% 0;
  }

  /* PC: 共創パートナー様向けおすすめポイント */
  .l-partner-point {
    padding: 60px 5%;
  }

  .p-partner-point__item {
    align-items: flex-start; /* PCでは上揃え */
    width: auto;
  }

  .p-partner-point__item:last-child .p-partner-point__header {
    align-items: flex-start;
  }

  .p-partner-point__content-wrapper {
    flex-direction: row;
    align-items: center;
  }
  .p-partner-point__benefits-heading {
    margin-top: 0;
    text-align: left;
  }

  /* PC: 生活習慣の改善を支える商品・サービスを募集 */
  .l-partner-recruitment {
    padding: 0 5% 100px;
  }

  /* PC: 共創ストーリー (旧テストカルーセル) */
  .l-test-carousel {
    padding: 100px 0;
  }
  
  /* PC: データ提供ブロックのスタイル */
  .p-partner-point__data-note {
    padding: 0;
  }

  /* PC: 生活習慣の改善を支える商品・サービスを募集 */
  .l-partner-recruitment {
    padding: 0 5% 100px;
  }

  /* PC: 募集コンテンツのコンテナ */
  .p-partner-recruitment__container {
    margin: 0 auto 40px; /* CTAボタンの上余白を調整 */
  }

  /* PC: 奇数セット目のレイアウトを確定 */
  .p-partner-recruitment__item:not(.p-partner-recruitment__item--reverse) .p-partner-recruitment__content-wrapper {
    flex-direction: row; /* 画像(左) + テキスト(右) */
  }

  /* 左側: ロゴとタイトル */
  .p-news__header {
    width: 120px;
  }

}

/* style.css の任意の場所に追加 */
/* ====================================
// 募集セクションのリストスタイル調整
// ==================================== */
/* p-partner-recruitment__text内のリストに適用 */
.p-partner-recruitment__text-wrapper ul {
  list-style: disc; /* 黒丸のリストスタイルを設定 */
  padding-left: 1.5em; /* リストマーカー分の左パディング */
  margin: 0;
  color: var(--color-text-dark);
}
.p-partner-recruitment__text-wrapper ul li {
  font-size: 16px; /* 本文のフォントサイズを維持 (PC) */
  line-height: 1.8;
  color: var(--color-text-dark);
}
@media (max-width: 768px) {
  .p-partner-recruitment__text-wrapper ul li {
    font-size: 14px; /* SPのフォントサイズを維持 */
  }
}

/* 画面サイズが769px以上、1024以下未満の設定 */
@media (min-width: 769px) and (max-width: 1024px){
  .p-main-visual__title {
    line-height: 1.2;
  }
  .p-main-visual__title .p-main-visual__title_pattern--a {
    font-size: 17px;
  }
  .p-main-visual__title .p-main-visual__title_pattern--b {
    font-size: 24px;
  }
  .p-main-visual__title .p-main-visual__title_pattern--b_strong {
    font-size: 36px;
  }
  #text-slide-a .p-main-visual__text-slide-content h2 {
    bottom: 150px;
  }
  #text-slide-b .p-main-visual__text-slide-content h2 {
    bottom: 200px;
  }
  .p-main-visual__fixed-logo-wrapper {
    bottom: 25px;
  }
 }

 #submit-final-btn:disabled {
   opacity: 0.6; /* ボタンを半透明にして非アクティブに見せる */
   cursor: default; /* カーソルを「クリック可能」なポインターから標準の矢印に戻す */
   pointer-events: none; /* クリックイベント自体を無効化する（念のため） */
 }