/* ===== 全体 ===== */
.rogaining-section {
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, "Noto Sans JP", sans-serif;
  color: #333;
  line-height: 1.9;
}

/* ===== 映画風タイトル ===== */
.cinema-title {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: 0.08em;
  overflow: hidden;
}

/* 1文字ずつ */
.cinema-title span {
  display: inline-block;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
  margin-right: 0.02em;
  font-family: "Noto Sans JP", sans-serif;
}

/* 表示後 */
.cinema-title.show span {
  opacity: 1;
  transform: translateY(0);
}

/* 最初の1文字を強調 */
.cinema-title span:first-child {
  font-size: 1.8em;
  background: #2a7de1;
  color: #fff;
  padding: 5px 10px;
  border-radius: 6px;
  margin-right: 6px;

  width: 115px;
  height: 115px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  vertical-align: middle;
  transform: translateY(-3px);
}

@media (max-width: 768px) {
.cinema-title {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: 0.14em;
  overflow: hidden;
}
.cinema-title span:first-child {
	display: inline-flex;
	align-items: center;
	justify-content: center;
    font-size: 1.8em;
    background: #2a7de1;
    color: #fff;
    padding: 5px 10px;
    border-radius: 6px;
    margin-right: 4px;
    height: 80px;
    width: 80px;
}
}

/* ===== h4専用（上品系） ===== */
.sub-title {
  font-size: 20px;
  color: #2a7de1;
  margin: 50px 0 25px;
  text-align: center;
}

/* テキストを包む */
.sub-title span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

/* 左にライン */
.sub-title::before {
  content: "";
  width: 4px;
  height: 1.2em;
  background: linear-gradient(180deg, #2a7de1, #6aa9ff);
  border-radius: 2px;
}

/* 下ラインアニメ */
.sub-title::after {
  content: "";
  display: block;
  margin: 6px auto 0;
  width: 0;
  height: 2px;
  background: #2a7de1;
  transition: width 0.6s ease;
}

.sub-title.show::after {
  width: 100%;
}

/* ===== 見出し ===== */
.section-title {
  font-size: 28px;
  margin-bottom: 10px;
  border-left: 6px solid #2a7de1;
  padding-left: 12px;
}

.sub-title {
  font-size: 20px;
  margin: 40px 0 25px;
  color: #2a7de1;
}

/* ===== リード強化 ===== */
.lead {
  font-family: "Noto Serif JP", serif; /* ←印象変える */
  font-weight: 500;
  text-align: center;
  line-height: 1.8;
  letter-spacing: 0.08em;

  /* サイズ（レスポンシブ） */
  font-size: clamp(18px, 3.5vw, 26px);

  /* 余白 */
  padding: 30px 20px;
  margin-bottom: 30px;

  /* 背景を少し強める */
  background: linear-gradient(135deg, #f0f6ff, #ffffff);
  border-radius: 12px;
}

/* 強調ワード */

.lead strong {
  position: relative;
  font-weight: 700;
  color: #2a7de1;
  z-index: 1;
}

.lead strong::after {
  content: "";
  position: absolute;
  left: -5%;
  bottom: 0.1em;
  width: 110%;
  height: 0.5em;
  background: rgba(42,125,225,0.25);
  border-radius: 6px;
  transform: rotate(-2deg);
  z-index: -1;
}


/* 1行目と2行目の差をつける */
.lead br + span {
  display: block;
  margin-top: 10px;
  font-size: 1.1em;
  font-weight: 600;
}

/* ===== カード ===== */
.card {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.06);
}

/* ===== 導入カード専用 ===== */
.intro-card {
  text-align: center;
}

/* キャッチ */
.intro-catch {
  font-size: 20px;
  margin-bottom: 25px;
  line-height: 1.8;
}

.intro-catch strong {
  font-size: 24px;
  color: #2a7de1;
}

/* 3要素 */
.intro-points {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 25px 0 30px;
}

.point small {
  display: block;
  font-size: 10px;
  opacity: 0.7;
  margin-top: 2px;
}

.point {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2a7de1, #6aa9ff);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  letter-spacing: 0.05em;
  font-size: 18px;
  box-shadow: 0 6px 15px rgba(42,125,225,0.2);
}

.point p{
  margin: 2em 0 1.5em;
  padding: 0;
  font-size: 30px;
}

/*==============sp==============*/
@media (max-width: 768px) {
.point {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2a7de1, #6aa9ff);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  letter-spacing: 0.05em;
  font-size: 18px;
  box-shadow: 0 6px 15px rgba(42,125,225,0.2);
}

.point p{
  margin: 2em 0 1.5em;
  padding: 0;
  font-size: 16px;
}
}

/* 説明 */
.intro-text {
  font-size: 15px;
  color: #555;
  margin-bottom: 12px;
}

/* 結果 */
.intro-result {
  margin-top: 40px;
  font-weight: 700;
  color: #2a7de1;
  text-align: center;
  line-height: 1.5;
  font-size: clamp(20px, 4vw, 36px);
}

/*
.intro-result::before {
  content: "";
  display: block;
  width: 40px;
  height: 2px;
  background: #2a7de1;
  margin: 0 auto 15px;
  opacity: 0.6;
}
*/

/* フェード強調（任意） */
.intro-result {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
}

.intro-result.show {
  opacity: 1;
  transform: translateY(0);
}

.intro-result span {
  background: linear-gradient(transparent 60%, rgba(42,125,225,0.2) 60%);
}

/* ===== 2カラム ===== */
.flex {
  display: flex;
  gap: 30px;
  align-items: flex-start; /* ←これも効く */
}

/* 画像側 */
.flex-1 {
  flex: 1;
  max-width: 300px; /* ←暴走防止 */
}

.flex-2 {
  flex: 2;
  min-width: 0;
}

.flex-1 {
  flex: 1;
  min-width: 0;
  padding-top: 50px;
}

@media (max-width: 768px) {
  .flex-1 {
    max-width: 100%;
    text-align: center; /* ←これで中央寄せ */
  }
  .side-img {
    display: block;
    margin: 0 auto; /* ←これが本命 */
  }
}

/* 画像 */
.side-img {
  width: 100%;
  height: auto;
  display: block;
  padding-top: 0vw;
}

/* ===== テーブル ===== */
.info-table {
width: 100%;
  max-width: 800px; 
  margin: 0 auto;
  table-layout: fixed; 
  border-collapse: collapse;
}

.info-table th {
  width: 80px; 
  background: #f9fafb;
  font-weight: bold;
  text-align: left;
  padding: 12px 10px; 
  border-bottom: 1px solid #eee;
  vertical-align: top;
  font-size: 14px;
}

.info-table td {
  padding: 12px 15px;
  border-bottom: 1px solid #eee;
  line-height: 1.6;
  font-size: 15px;
}

.info-table th[colspan="2"] {
  width: 100%;
  background: #f1f5f9;
  color: #2a7de1;
  border-bottom: 2px solid #6aa9ff;
  padding: 15px;
  font-size: 16px;
}

/* スマホ対応：さらにコンパクトに */
@media screen and (max-width: 600px) {
  .info-table th {
    width: 70px; /* スマホではさらに狭く */
    font-size: 13px;
    padding: 10px 5px;
  }
  .info-table td {
    font-size: 14px;
    padding: 10px;
  }
}

/* ===== 画像 ===== */
.side-img {
    max-width: 100%;
    border-radius: 10px;
}

@media (max-width: 768px) {
.side-img {
  /*padding: 20px;*/
  display: block;
  margin: 0 auto;
}
}

/* ===== 箇条書き強調 ===== */
.point-list {
  margin: 15px 0;
  padding-left: 20px;
}

.point-list li {
  margin-bottom: 5px;
}

/* ===== レスポンシブ ===== */
@media (max-width: 768px) {
  .flex {
    flex-direction: column;
  }
}

/* ===== スクロールアニメーション ===== */
.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}

.fade-up.show {
  opacity: 1;
  transform: translateY(0);
}

/* 少しズレて出る（気持ちいいやつ） */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* 横からスッ */
.fade-left {
  opacity: 0;
  transform: translateX(40px);
  transition: all 0.8s ease;
}

.fade-left.show {
  opacity: 1;
  transform: translateX(0);
}

/* ちょい高級感 */
.card {
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.1);
}
	

/* ===== フッター余韻セクション ===== */
.closing {
  position: relative;
  margin-top: 120px;
  padding: 120px 20px;
  text-align: center;
  overflow: hidden;

  /* グラデ背景 */
  background: linear-gradient(135deg, #eef5ff 0%, #ffffff 100%);
}

/* 中央コンテンツ */
.closing-inner {
  max-width: 720px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* 上にうっすらライン */
.closing::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, rgba(42,125,225,0.3), transparent);
  transform: translateX(-50%);
}

/* キャッチ */
.closing-lead {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 30px;
  letter-spacing: 0.08em;
}

/* 本文 */
.closing-text {
  font-size: 15px;
  color: #555;
  margin-bottom: 12px;
}

/* CTA位置 */
.cta-wrap {
  margin-top: 40px;
}

/* ボタン強化 */
.cta-final {
  padding: 16px 36px;
  font-size: 16px;
  border-radius: 40px;
}

/* ===== 背景装飾（ぼかし光） ===== */
.closing::after {
  content: "";
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(42,125,225,0.15), transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
}

/* ===== 少し浮かせる ===== */
.closing-inner {
  animation: floatBlock 6s ease-in-out infinite;
}

@keyframes floatBlock {
  0% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
  100% { transform: translateY(0); }
}

/*----- 見出し整える -----*/
/* ===== H1ベース ===== */
.cinema-title {
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 800;
  letter-spacing: 0.08em;
  overflow: hidden;
  display: inline-block;
}

/* 1文字ずつ */
.cinema-title span {
  display: inline-block;
  opacity: 0;
  transform: translateY(40px) scale(0.95);
  filter: blur(6px);
}

/* 発動 */
.cinema-title.show span {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
  transition: all 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

/* 最後に全体を締める */
.cinema-title.finish {
  animation: titleFinish 0.6s ease forwards;
}

@keyframes titleFinish {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.03); }
  100% { transform: scale(1); }
}



/* ===== 全体ブロック ===== */
.hero-block {
  text-align: center;
  padding: 80px 20px;
}

/* ===== H1：映画タイトル ===== */
.hero-title {
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 800;
  letter-spacing: 0.08em;
  margin-bottom: 30px;

  opacity: 0;
  transform: translateY(40px);
  animation: fadeUp 1s ease forwards;
}

/* ===== H2：主張ライン ===== */
.hero-sub {
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 700;
  margin-bottom: 25px;
  position: relative;
  display: inline-block;
}

.hero-sub span {
  position: relative;
}

/* アンダーライン */
.hero-sub span::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 4px;
  background: linear-gradient(90deg, #2a7de1, #6aa9ff);
  border-radius: 2px;
  transition: width 0.8s ease;
}

/* 発動 */
.hero-sub.show span::after {
  width: 100%;
}



@media (max-width: 768px) {

  .hero-sub {
    padding: 0 10px; /* ←左右余白で見切れ防止 */
  }

  .hero-sub span {
    display: inline-block;
    width: 100%;        /* ←これが超重要 */
    text-align: center; /* 中央維持 */
  }

  .hero-sub span::after {
    left: 0;
    width: 0;
  }

  .hero-sub.show span::after {
    width: 100%; /* 画面幅いっぱいに伸びる */
  }
}

/* ===== H3：余韻 ===== */
.hero-lead {
  font-size: clamp(16px, 2vw, 20px);
  color: #555;
  max-width: 800px;
  margin: 0 auto;

  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 1s ease forwards;
  animation-delay: 0.5s;
}

.hero-lead span {
  display: block;
  will-change: transform, opacity;
}

.text-under {
  text-decoration: underline;
  text-decoration-color: lightskyblue;
  text-decoration-thickness: 5px;
  text-underline-offset: 2px; 
}

/* ===== アニメ ===== */
@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


