@charset "UTF-8";

/* =================================================================
   AlliomWorks CupLoader 専用スタイル
   ※ 全てのセレクタの先頭に .cup-loader-page を付与しています。
   ================================================================= */

/* --- このページ内でのみ有効な基本設定 --- */
.cup-loader-page {
  /* フォントサイズやファミリーの指定を削除しました。 */
  /* これにより、サイト共通のフォント設定が自動的に適用されます。 */
  color: #333;
  line-height: 1.8;
}

/* 画像の基本設定（このページ内のみ） */
.cup-loader-page img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}

/* --- テーマカラー適用（青色 #0B308E） --- */
/* 見出し h2 */
.cup-loader-page .dlb_subtitle2_03.theme-cuploader {
  border-left-color: #0B308E !important;
  color: #0B308E !important;
}
.cup-loader-page .dlb_subtitle2_03.theme-cuploader::after {
  background-color: #0B308E !important;
}

/* 見出し h3 */
.cup-loader-page .dlb_subtitle3_06.theme-cuploader {
  border-left-color: #0B308E !important;
  border-bottom-color: #0B308E !important;
  color: #0B308E !important;
}

/* リストマーカー */
.cup-loader-page .list_disc li::before {
  color: #0B308E !important;
}

/* 太字などの強調箇所 */
.cup-loader-page .font_bold.theme-color,
.cup-loader-page .theme-cuploader {
  color: #0B308E !important;
}

/* =================================================================
   独自レイアウトパーツ
   （既存ページには存在しないパーツのため、スタイルを定義します）
   ================================================================= */

/* --- メインビジュアル --- */
.cup-loader-page #pagetitle.pic-vis {
  background-image: url('CL-mainvisual.png'); /* ※画像のパスはCMSに合わせて変更してください */
  background-color: #000;
  position: relative;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center; /* 修正: 上下左右中央寄せ */
  background-position: center center;
  background-size: cover;
  margin-bottom: 0;
  width: 100%;
}

.cup-loader-page #pagetitle.pic-vis::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0, 30, 60, 0.4);
  z-index: 1;
}

.cup-loader-page .pagetitle_block {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px;
  text-align: left; /* 左寄せに戻す場合は left */
}

/* MV内の文字（白） */
.cup-loader-page .pagetitle-sub {
  font-size: 1.5rem;
  color: #fff;
  display: block;
  margin-bottom: 10px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  font-weight: normal; /* 親スタイルの干渉を防ぐ */
}

.cup-loader-page .pagetitle-main {
  font-size: 3.5rem; /* サイズ調整 */
  font-weight: 700;
  line-height: 1.2;
  color: #fff !important; /* 強制的に白 */
  text-shadow: 2px 2px 0 #fff, -2px -2px 0 #fff, -2px 2px 0 #fff, 2px -2px 0 #fff, 0 0 10px rgba(0, 0, 0, 0.3);
  margin: 0;
}

/* レスポンシブ（MV） */
@media (max-width: 768px) {
  .cup-loader-page .pagetitle-main { font-size: 2rem; }
  .cup-loader-page .pagetitle-sub { font-size: 1rem; }
  .cup-loader-page #pagetitle.pic-vis { height: 300px; }
}

/* --- 動画セクション --- */
.cup-loader-page .video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  overflow: hidden;
  max-width: 800px;
  margin: 0 auto;
  background-color: #000;
  border-radius: 8px;
}

/* --- 途中CTA（お問い合わせ導線） --- */
.cup-loader-page .simple-mid-cta {
  text-align: center;
  background-color: #f0f7ff;
  padding: 40px 20px;
  margin: 60px 0;
  border-top: 1px solid #cce5ff;
  border-bottom: 1px solid #cce5ff;
}

.cup-loader-page .simple-cta-buttons {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.cup-loader-page .btn-cta-primary {
  background-color: #0B308E;
  color: #fff !important;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  display: inline-block;
  transition: opacity 0.3s;
}

.cup-loader-page .btn-cta-secondary {
  background-color: #fff;
  color: #0B308E !important;
  border: 2px solid #0B308E;
  padding: 13px 28px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  display: inline-block;
  transition: background-color 0.3s;
}

.cup-loader-page .btn-cta-primary:hover { opacity: 0.8; }
.cup-loader-page .btn-cta-secondary:hover { background-color: #f0f7ff; }

/* --- 汎用ユーティリティ（スコープ内のみ有効） --- */
.cup-loader-page .align_center { text-align: center; }
.cup-loader-page .font_bold { font-weight: 700; }
.cup-loader-page .box_gray { background-color: #f8f9fa; border-radius: 8px; }
.cup-loader-page .box_border { border: 2px solid #ddd; border-radius: 8px; }
.cup-loader-page .font_small { font-size: 0.9em; color: #666; }

/* Flexboxレイアウト */
.cup-loader-page .dlb_box3_area,
.cup-loader-page .dlb_box4_area,
.cup-loader-page .dlb_box2_area {
  display: flex; gap: 30px; flex-wrap: wrap;
  justify-content: space-between;
}
.cup-loader-page .dlb_box3_item { width: calc(33.333% - 20px); }
.cup-loader-page .dlb_box4_item { width: calc(25% - 22.5px); }
.cup-loader-page .dlb_box2_item { width: calc(50% - 15px); }

@media (max-width: 768px) {
  .cup-loader-page .dlb_box3_item,
  .cup-loader-page .dlb_box4_item,
  .cup-loader-page .dlb_box2_item {
    width: 100%; flex: none;
  }
}

/* フッターCTAボタン */
.cup-loader-page .btn_base {
  display: inline-block;
  padding: 15px 40px;
  background: #333;
  color: #fff !important;
  border-radius: 50px;
  font-weight: bold;
  text-decoration: none;
}
.cup-loader-page .btn_large { font-size: 1.2rem; }