/* ====================================
// 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;

  --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-voice: 16px;
  --font-size-developer-position: 14px;
  --font-size-developer-name: 16px;
  --font-size-media-text: 1rem;
  --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-black);
  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;
  margin-bottom: 8px;
  text-transform: uppercase;
  font-family: 'fahkwang', sans-serif;
}

.p-section-heading__main {
  font-size: 28px;
  color: var(--color-text-dark);
  font-weight: bold;
}

.p-section-heading__sub-text {
  text-align: center;
  font-size: var(--font-size-body);
  margin-bottom: 104px;
  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: 32px; /* PCでのロゴ間の余白 */
}
.p-header__logo--qsai {
  width: 82px;
  height: auto;
}
.p-header__logo--myme {
  width: 150px;
  height: auto;
}

/* 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('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 {
  margin-right: 25px;
}
#media-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);
  padding-top: 100px;
  text-align: right;
}

.p-main-visual__video-wrapper {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9のアスペクト比を維持 */
}

/* 修正: iframeをvideoタグ用に変更 */
.p-main-visual__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.p-main-visual__content {
  position: relative;
  z-index: 1;
  color: var(--color-white);
  padding: 20px;
  background-color: rgba(0, 0, 0, 0.4);
  border-radius: 8px;
}

/* ボリュームコントロールボタン */
.p-main-visual__volume-control {
  z-index: 2;
  margin-top:10px;
  cursor: pointer;
  display: inline-block;
  align-items: center;
  justify-content: flex-end;
  margin-right: 20px;
}

.p-main-visual__volume-icon {
  width: auto;
  height: 52px;
}
/* 変更 */
.p-main-visual__volume-text {
  /* テキストは画像に置き換えるため削除 */
}
/* 変更 */
.p-main-visual__volume-control picture {
  display: block;
}


/* ====================================
// カウントダウン (Countdown)
// ==================================== */
.l-countdown {
  text-align: center;
  padding: 60px 5%;
  max-width: var(--max-width-page);
  margin: 0 auto;
}

.p-countdown__text-wrapper {
  margin-bottom: 40px;
}

.p-countdown__lead {
  font-size: var(--font-size-lead);
  font-weight: normal;
  margin-bottom: 5px;
}

.p-countdown__sub-lead {
  font-size: var(--font-size-sublead);
  font-weight: normal;
  color: var(--color-text-medium);
  margin-bottom: 10px;
}

.p-countdown__new-style {
  font-size: var(--font-size-body);
  font-weight: normal;
  color: var(--color-text-medium);
  margin-top: 10px;
}

.p-countdown__new-style-bold {
  font-size: 18px;
  font-weight: bold;
  color: var(--color-black);
}

.p-countdown__timer {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  font-family: 'arial', sans-serif;
}

.p-countdown__group {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.p-countdown__value {
  font-size: 40px;
  font-weight: bold;
  width: 90px;
  height: 90px;
  border: none;
  border-radius: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.p-countdown__group:nth-child(1) .p-countdown__value {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.p-countdown__group:nth-child(2) .p-countdown__value {
  background-color: var(--color-blue-light);
  color: var(--color-text-dark);
}

.p-countdown__group:nth-child(3) .p-countdown__value {
  background-color: var(--color-text-dark);
  color: var(--color-white);
}

.p-countdown__group:nth-child(4) .p-countdown__value {
  background-color: var(--color-blue-light);
  color: var(--color-text-dark);
}

.p-countdown__label {
  font-size: var(--font-size-small);
  text-transform: capitalize;
  color: var(--color-text-dark);
  margin-top: 10px;
  font-family: 'fahkwang', sans-serif;
  letter-spacing: 1.5px;
}


/* ====================================
// 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-black);
  position: relative;
  padding-bottom: 25px;
}

/* アンカーリンクアイコンの疑似要素 */
.p-cta-nav__link::after {
  content: '';
  display: inline-block;
  width: 12px;
  height: 12px;
  background: url('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('assets/images/pc_icon_story.svg');
}
.p-cta-nav__icon--flow {
  background-image: url('assets/images/pc_icon_flow.svg');
}
.p-cta-nav__icon--feature {
  background-image: url('assets/images/pc_icon_feature.svg');
}
.p-cta-nav__icon--media {
  background-image: url('assets/images/pc_icon_media.svg');
}

.p-cta-nav__icon--recruitment {
  background-image: url('assets/images/pc_icon_creation.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('assets/images/pc_icon_story_hover.svg');
}
.p-cta-nav__item:hover .p-cta-nav__icon--flow {
  background-image: url('assets/images/pc_icon_flow_hover.svg');
}
.p-cta-nav__item:hover .p-cta-nav__icon--feature {
  background-image: url('assets/images/pc_icon_feature_hover.svg');
}
.p-cta-nav__item:hover .p-cta-nav__icon--media {
  background-image: url('assets/images/pc_icon_media_hover.svg');
}
.p-cta-nav__item:hover .p-cta-nav__icon--recruitment {
  background-image: url('assets/images/pc_icon_creation_hover.svg');
}

.p-cta-nav__item.coming_soon .p-cta-nav__icon--story {
  background-image: url(/cp2509teaser/assets/images/pc_icon_story_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;
}

.p-cta-nav__item.coming_soon .p-cta-nav__icon--media {
  background-image: url(assets/images/pc_icon_media_gray.svg);
}


/* ====================================
// ストーリー (Story)
// ==================================== */
.l-story {
  padding: 60px 5%;
  background-color: #f5fafa;
  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-black);
  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-black);
  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('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-black);
  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-black);
  line-height: 1.8;
  text-align: left;
}


/* ====================================
// サービスの特長 (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:nth-child(1) {
  transform: translateY(-32px);
  border-radius: 0 16px 16px 0;
  background-color: var(--color-blue-light);
}

.p-safety__item:nth-child(2) {
  border-radius: 16px 0 0 16px;
  background-color: var(--color-red-light);
}

.p-safety__text-wrapper {
  width: 100%;
  text-align: left;
}

.p-safety__title {
  font-size: var(--font-size-safety-title);
  color: var(--color-black);
  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-border);
}

.p-safety__title--gray::after {
  background-color: var(--color-primary);
}

.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;
}


/* ====================================
// 先行モニターの声 (early adopter)
// ==================================== */
.l-early-adopter {
  padding: 100px 5%;
  max-width: var(--max-width-page);
  margin: 0 auto;
  text-align: center;
}

.p-early-adopter__container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  max-width: var(--max-width-page);
  margin: 0 auto;
}

/* 修正: 各p-early-adopter__itemにアニメーションの初期状態を適用 */
.p-early-adopter__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 30px;
  display: flex;
  flex-direction: column;
  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__item:nth-child(1) {
  transform: translateY(32px);
}

.p-early-adopter__bubble {
  position: relative;
  padding: 30px;
  border-radius: 16px;
  text-align: center;
  margin-bottom: 30px;
  box-sizing: border-box;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  flex-grow: 1;
}

.p-early-adopter__bubble::after {
  content: '';
  position: absolute;
  bottom: -22px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 27px solid transparent;
  border-right: 27px solid transparent;
  border-top: 27px solid;
  border-radius: 2px;
}

.p-early-adopter__item:nth-child(1) .p-early-adopter__bubble {
  background-color: var(--color-red-light);
}
.p-early-adopter__item:nth-child(1) .p-early-adopter__bubble::after {
  border-top-color: var(--color-red-light);
  border-right: 0px solid transparent;
  transform: translateX(-100%);
}

.p-early-adopter__item:nth-child(2) .p-early-adopter__bubble {
  background-color: var(--color-blue-light);
}
.p-early-adopter__item:nth-child(2) .p-early-adopter__bubble::after {
  border-top-color: var(--color-blue-light);
  border-left: 0px solid transparent;
  transform: translateX(0%);
}

.p-early-adopter__voice {
  margin: 0;
  font-size: var(--font-size-voice);
  color: #344343;
  text-align: center;
}

.p-early-adopter__icon {
  width: 59px;
  height: auto;
  object-fit: cover;
  margin-bottom: 10px;
}

.p-early-adopter__attribute {
  font-size: 0.9rem;
  color: #343434;
  text-align: center;
  margin: 0;
}


/* ====================================
// 開発者の声 (developer)
// ==================================== */
.l-developer {
  padding: 0 5% 100px;
  max-width: var(--max-width-page);
  margin: 0 auto;
}

.p-developer__title {
  text-align: center;
  width: 100%;
  font-size: var(--font-size-developer-title);
  margin-bottom: 34px;
  font-weight: bold;
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
  color: var(--color-black);
}

.p-developer__title::after {
  content: '';
  display: block;
  width: 64px;
  height: 1px;
  position: absolute;
  bottom: -14px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--color-primary);
}

/* 修正: p-developer__containerにアニメーションの初期状態を適用 */
.p-developer__container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  max-width: var(--max-width-page);
  margin: 0 auto;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
/* 修正: アニメーション発火時のスタイル */
.p-developer__container.is-animated {
  opacity: 1;
  transform: translateY(0);
}


.p-developer__item-left {
  flex-basis: 153px;
  flex-shrink: 0;
  align-items: flex-start;
  gap: 5px;
}

.p-developer__image {
  width: 153px;
  height: 153px;
  object-fit: cover;
  margin-bottom: 10px;
}

.p-developer__position {
  font-size: var(--font-size-developer-position);
  color: var(--color-text-medium);
  margin: 0;
}

.p-developer__name {
  font-size: var(--font-size-developer-name);
  font-weight: bold;
  color: var(--color-black);
  margin: 0;
}

.p-developer__item-right {
  flex-grow: 1;
}

.p-developer__text {
  font-size: var(--font-size-body);
  line-height: 1.8;
}


/* ====================================
// メディア掲載 (Media)
// ==================================== */
.l-media {
  text-align: center;
  padding: 0 5% 100px;
  background-color: var(--color-white);
}

/* .p-media__container全体にアニメーションの初期状態を適用 */
.p-media__container {
  display: flex;
  gap: 20px;
  max-width: var(--max-width-page);
  margin: 0 auto;
  text-align: left;
  align-items: center;
  position: relative;
  color: inherit;
  text-decoration: none;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
/* アニメーション発火時のスタイル */
.p-media__container.is-animated {
  opacity: 1;
  transform: translateY(0);
}

.p-media__heading-wrapper {
  flex-basis: 250px;
  flex-shrink: 0;
}

/* 修正: .p-media__listのgapをPCでは40px、SPでは16pxに修正 */
.p-media__list {
  flex-grow: 1;
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 40px; /* PC: 40px */
}

.p-media__item {
  display: flex;
  align-items: center;
  gap: 40px;
}
.p-media__item > div {
  display: flex;
  flex-direction: column;
  text-align: left;
  position: relative;
}
.p-media__item > div::after {
  content: '';
  display: block;
  width: 16px;
  height: 16px;
  background: url('assets/images/arrow_follow_red.svg') no-repeat center/contain;
  position: absolute;
  top: 50%;
  right: -24px;
  transform: translateY(-50%);
}


.p-media__date {
  font-size: 14px;
  color: #344343;
  margin-bottom: 5px;
}

.p-media__item img {
  height: auto;
  width: 443px;
  border: 1px solid var(--color-border);
  border-radius: 2px;
  object-fit: cover;
}


.p-media__text {
  margin: 0;
  font-size: var(--font-size-media-text);
  color: var(--color-text-medium);
}


/* ====================================
// 共創パートナー募集 (Partner Recruitment)
// ==================================== */
.l-partner-recruitment {
  text-align: left;
  background-color: var(--color-background-light);
  padding: 60px 5%;
  color: #1d6864;
}

.p-section-heading--partner-recruitment {
  position: relative;
  margin-bottom: 60px;
}

.p-section-heading--partner-recruitment::before {
  content: '';
  position: absolute;
  top: -24px;
  left: 50%;
  transform: translateX(-36px);
  width: 72px;
  height: 8px;
  background:
    linear-gradient(#e5eeee, #e5eeee),
    linear-gradient(#da0a0a, #da0a0a),
    linear-gradient(#344343, #344343),
    linear-gradient(#e5eeee, #e5eeee),
    linear-gradient(#aabfbe, #aabfbe);
  background-size: 8px 8px;
  background-repeat: no-repeat;
  background-position: 0 0, 16px 0, 32px 0, 48px 0, 64px 0;
}

.p-partner-recruitment__container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  max-width: var(--max-width-page);
  margin: 0 auto;
}

/* 修正: p-partner-recruitment__itemにアニメーションの初期状態を適用 */
.p-partner-recruitment__item {
  margin-bottom: 40px;
  border-radius: 8px;
  padding: 0;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
  width: 100%;
}
/* 修正: アニメーション発火時のスタイル */
.p-partner-recruitment__item.is-animated {
  opacity: 1;
  transform: translateY(0);
}

/* PC: 2カラムレイアウト */
.p-partner-recruitment__item--new-layout {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.p-partner-recruitment__content-wrapper {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  width: 100%;
}
.p-partner-recruitment__image-wrapper {
  flex: 1;
}
.p-partner-recruitment__text-wrapper {
  flex: 1;
}


.p-partner-recruitment__image {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 4px;
}

.p-partner-recruitment__title {
  font-size: var(--font-size-partner-title);
  color: var(--color-black);
  margin-bottom: 45px;
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
  text-align: center;
  width: 100%;
  font-weight: 500;
}

.p-partner-recruitment__title::after {
  content: '';
  display: block;
  width: 64px;
  height: 1px;
  position: absolute;
  bottom: -14px;
  left: 50%;
  transform: translateX(-50%);
}

.p-partner-recruitment__title--red::after {
  background-color: var(--color-primary);
}

.p-partner-recruitment__title--gray::after {
  background-color: var(--color-border);
}

.p-partner-recruitment__text-box {
  background-color: var(--color-white);
  border: 24px solid var(--color-blue-light);
  border-radius: 4px;
  width: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 77px 20px;
  height: 100%;
  text-align: center;
}
.p-partner-recruitment__text-box picture {
  display: block;
  margin-top: 20px;
}
.p-partner-recruitment__text-content {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: flex-end;
  gap: 10px;
}

.p-partner-recruitment__large-text {
  font-size: 60px;
  font-weight: bold;
  color: var(--color-black);
  margin: 0;
  line-height: 1;
}

.p-partner-recruitment__small-text {
  font-size: 36px;
  color: var(--color-text-medium);
  margin: 0;
  line-height: 1;
}

.p-partner-recruitment__benefits {
  margin-top: 20px;
}

.p-partner-recruitment__benefits-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.p-partner-recruitment__benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}

.p-partner-recruitment__benefit-item:last-child {
  margin-bottom: 0;
}

.p-partner-recruitment__benefit-number {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  background-color: var(--color-primary);
  color: var(--color-white);
  font-size: 16px;
  font-weight: bold;
  border-radius: 50%;
}

.p-partner-recruitment__benefit-text {
  text-align: left;
}

.p-partner-recruitment__benefit-title {
  font-size: var(--font-size-partner-benefits-title);
  font-weight: 600;
  color: var(--color-text-dark);
  margin: 0;
  line-height: 1.5;
}

.p-partner-recruitment__benefit-description {
  font-size: var(--font-size-partner-benefits-desc);
  font-weight: 400;
  color: var(--color-text-dark);
  margin: 0;
  line-height: 1.5;
}


/* ====================================
// フッター (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;
}

.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;
}

/* バナー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('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('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('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;
}

.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('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;
}
.p-section-heading--partner-recruitment .p-section-heading__main {
  font-size: 48px;
}


/* ====================================
// レスポンシブデザイン (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;
  }
  .p-header__container {
    width: 100%;
    margin: 0;
    flex-direction: row;
    justify-content: space-between;
    padding: 0 20px; /* ここで左右の余白を設定 */
  }
  .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;
  }

  /* 修正: ハンバーガーメニューのスタイルを新しく定義 */
  .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 {
    height: auto;
    padding-top: 80px; /* ヘッダーの高さ分 */
    padding-bottom: 0;
  }
  .p-main-visual__video-wrapper {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    padding-top: 56.25%; /* 16:9の縦横比 */
    padding-bottom: 0;
    height: 0;
  }
  .p-main-visual__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    min-width: unset;
    min-height: unset;
    transform: none;
    object-fit: cover;
  }

  /* Countdown (SP) */
  .l-countdown {
    padding: 48px 0;
  }
  .p-countdown__text-wrapper {
    margin-bottom: 32px;
  }
  .p-countdown__lead {
    font-size: 14px;
    margin-top: 0;
  }
  .p-countdown__sub-lead {
    font-size: 14px;
  }
  .p-countdown__new-style {
    font-size: 14px;
  }
  .p-countdown__new-style-bold {
    font-size: 16px;
  }
  .p-countdown__timer {
    gap: 8px;
  }
  .p-countdown__value {
    width: 73px;
    height: 73px;
    font-size: 28px;
  }
  .p-countdown__label {
    font-size: 14px;
    margin-top: 8px;
    font-family: 'fahkwang', sans-serif;
  }

  /* 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;
  }
  .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-black);
    position: relative;
    padding-bottom: 20px;
  }
  .p-cta-nav__link::after {
    display: inline-block; /* noneを上書き */
  }

  /* SP向けCTaアイコンの差し替え */
  .p-cta-nav__icon--story {
    background-image: url('assets/images/sp_icon_story.svg');
  }
  .p-cta-nav__icon--flow {
    background-image: url('assets/images/sp_icon_flow.svg');
  }
  .p-cta-nav__icon--feature {
    background-image: url('assets/images/sp_icon_feature.svg');
  }
  .p-cta-nav__icon--media {
    background-image: url('assets/images/sp_icon_media.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('assets/images/sp_icon_story.svg');
  }
  .p-cta-nav__item:hover .p-cta-nav__icon--flow {
    background-image: url('assets/images/sp_icon_flow.svg');
  }
  .p-cta-nav__item:hover .p-cta-nav__icon--feature {
    background-image: url('assets/images/sp_icon_feature.svg');
  }
  .p-cta-nav__item:hover .p-cta-nav__icon--media {
    background-image: url('assets/images/sp_icon_media.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-developer__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('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-black);
    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-section-heading__sub-text {
    font-size: 14px;
    padding: 0 16px;
  }

  /* フォントサイズの修正 */
  .p-section-heading__main {
    font-size: 30px;
  }

  /* 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-wrapper {
    padding: 0 32px;
  }

  .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;
  }

  .l-developer {
    padding-bottom: 72px;
  }

  /* 修正: 各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;
  }

  .p-developer__image {
    width: 200px;
    height: 200px;
  }

  /* メディア掲載の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 {
    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('assets/images/sp_icon_line.png') no-repeat center/contain;
    position: absolute;
    top: 50%;
    left: 10px;
    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;
  }

  .p-section-heading--partner-recruitment .p-section-heading__main {
    font-size: 30px;
  }

  .l-cta-partner {
    margin-top: 48px;
  }
  .p-partner-recruitment__benefits-heading {
    text-align: center;
  }
}

/* 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;
  }
  .is-pc {
    display: block;
  }
  .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;
  }

}

/* ベースのローディング画面全体 */
.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: 1;
}

/* ドットのコンテナ */
.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;
}

/* 動画が読み込まれるまでは非表示 */
.p-main-visual__video-wrapper {
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

/* 動画読み込み後、表示される */
.p-main-visual__video-wrapper.is-loaded {
  visibility: visible;
  opacity: 1;
}

/* 最初は動画ラッパーを非表示にしておく */
.p-main-visual__video-wrapper {
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.5s ease-in-out; /* ふわっと表示させるためのトランジション */
}

/* 表示用のクラス */
.p-main-visual__video-wrapper.is-loaded {
  visibility: visible;
  opacity: 1;
}