*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { font-size: 17px; }

body { overflow-x: hidden; background: #fff; font-family: 'Noto Sans JP', sans-serif; }

/* ============ トップ画像・SVG ============ */
.top-wrap {
  display: block;
  line-height: 0;
}

.top-wrap picture {
  display: block;
}

.top-image {
  display: block;
  width: 100vw;
  height: auto;
  opacity: 0;
  animation: img-fade-in 2s ease-out 0.3s forwards;
}

.top-svg {
  position: absolute;
  bottom: calc(50% + 10px);
  left: 50%;
  width: 48%;
  height: auto;
  opacity: 0;
  filter: drop-shadow(1px 1px 2px rgba(0,0,0,0.65));
  animation: svg-float-in 2s ease-out 0.3s forwards;
}

.top-text {
  position: relative;
  background: #2c5896;
  margin: 30px 0;
  padding: 30px 30px;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 0.04em;
  overflow: visible;
}

@keyframes img-fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes svg-float-in {
  from { opacity: 0; transform: translateX(-50%) translateY(16px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

@keyframes sway {
  0%   { transform: translateY(50%) rotate(-5deg); }
  50%  { transform: translateY(50%) rotate( 5deg); }
  100% { transform: translateY(50%) rotate(-5deg); }
}

.tsubu-img {
  position: absolute;
  bottom: 0;
  right: 20px;
  width: clamp(60px, 16vw, 105px);
  height: auto;
  transform-origin: bottom center;
  animation: sway 2.8s ease-in-out infinite;
  z-index: 1;
}

/* ============ キャラクター紹介 ============ */
.chara-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  background: #fff;
  padding: 12px;
}

.chara-block {
  background: #e8e8e8;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 12px 16px;
  font-family: 'Noto Sans JP', sans-serif;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.chara-block.visible {
  opacity: 1;
  transform: translateY(0);
}

.chara-block img {
  display: block;
  width: 100%;
  max-width: 110px;
  height: auto;
  object-fit: contain;
  object-position: bottom center;
  margin-bottom: 12px;
}

.chara-info {
  text-align: center;
  width: 100%;
}

.chara-name {
  font-size: clamp(0.9rem, 3.5vw, 1rem);
  font-weight: 900;
  color: #2c5896;
  margin-bottom: 5px;
  letter-spacing: 0.02em;
}

.chara-role {
  display: inline-block;
  background: #2c5896;
  color: #fff;
  font-size: clamp(0.75rem, 2.8vw, 0.85rem);
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 8px;
  letter-spacing: 0.05em;
}

.chara-desc {
  font-size: clamp(0.85rem, 3.2vw, 0.95rem);
  color: #555;
  line-height: 1.6;
}

/* ============ 製品グリッド ============ */
.products-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 0;
}

.product-link {
  display: block;
  position: relative;
  border-radius: 10px;
  transition: opacity 0.3s ease;
}
.product-link:active { opacity: 0.7; }
.product-link:hover { z-index: 2; }
.product-link img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
  transition: transform 0.3s ease;
}
.product-link:hover img {
  transform: scale(1.07);
}
.products-grid:hover .product-link:not(:hover) {
  opacity: 0.5;
}

.products-caption {
  margin-top: 12px;
  margin-bottom: 40px;
  font-size: 0.86rem;
  color: #999;
  letter-spacing: 0.03em;
}

/* ============ 吹き出し(バス車内トーク) ============ */
.speech-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 28px;
  text-align: left;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.speech-row.visible {
  opacity: 1;
  transform: translateY(0);
}
.speech-row.reverse {
  flex-direction: row-reverse;
}
.speech-char-img {
  width: clamp(76px, 21vw, 138px);
  height: auto;
  flex-shrink: 0;
  object-fit: contain;
}
.speech-char-img--sm {
  width: clamp(64px, 16vw, 104px);
}
.speech-bubble {
  position: relative;
  background: #fff;
  border: 1.5px solid #2c5896;
  border-radius: 14px;
  padding: 12px 14px;
  font-size: clamp(0.88rem, 3.4vw, 1rem);
  line-height: 1.8;
  color: #333;
  flex: 1;
}
.speech-bubble::before {
  content: '';
  position: absolute;
  top: 16px;
  left: -13px;
  border: 7px solid transparent;
  border-right: 12px solid #2c5896;
  border-left: none;
}
.speech-bubble::after {
  content: '';
  position: absolute;
  top: 18px;
  left: -10px;
  border: 6px solid transparent;
  border-right: 10px solid #fff;
  border-left: none;
}
.speech-row.reverse .speech-bubble::before {
  left: auto;
  right: -13px;
  border-right: none;
  border-left: 12px solid #2c5896;
}
.speech-row.reverse .speech-bubble::after {
  left: auto;
  right: -10px;
  border-right: none;
  border-left: 10px solid #fff;
}

/* ============ 3つのポイント ============ */
.keypoint-block {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.keypoint-block.visible {
  opacity: 1;
  transform: translateY(0);
}
.keypoint-num {
  position: absolute;
  top: -18px;
  left: 2px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1;
  font-family: 'Noto Sans JP', sans-serif;
}
.keypoint-num--filled { background: #2c5896; color: #fff; }
.keypoint-num--outline { background: #fff; border: 2.5px solid #2c5896; color: #2c5896; }

/* ============ コース工程表 ============ */
.course-card {
  position: relative;
  z-index: 1;
  background: #fdf8ef;
  border: 1px solid #d9cdb4;
  border-radius: 16px;
  margin-top: -20vw;
  padding: 28px 20px;
  padding-top: calc(20vw + 20px);
  box-shadow: 2px 3px 14px rgba(0,0,0,0.06);
}
.today-wrap {
  position: relative;
  z-index: 2;
}
.course-stop-item {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 8px 12px;
  opacity: 0;
  transform: translateX(-24px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}
.course-stop-item.visible {
  opacity: 1;
  transform: translateX(0);
}
.stop-desc {
  grid-column: 1 / -1;
  font-size: clamp(0.88rem, 3.3vw, 1rem);
  color: #555;
  line-height: 1.8;
}
.stop-info { flex: 1; }
.stop-badge {
  display: inline-block;
  background: #2c5896;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 3px 12px;
  border-radius: 20px;
  margin-bottom: 6px;
}
.stop-name {
  font-size: clamp(1rem, 4vw, 1.15rem);
  font-weight: 700;
  color: #1a2a40;
  letter-spacing: 0.02em;
}
@keyframes tecko-pop {
  0%   { opacity: 0; transform: translateY(16px) rotate(10deg); }
  60%  { opacity: 1; transform: translateY(-6px) rotate(-8deg); }
  80%  { transform: translateY(2px) rotate(4deg); }
  100% { opacity: 1; transform: translateY(0) rotate(-5deg); }
}
.stop-tecko {
  width: clamp(48px, 13vw, 68px);
  height: auto;
  flex-shrink: 0;
  opacity: 0;
}
.course-stop-item.visible .stop-tecko {
  animation: tecko-pop 1.1s ease 0.35s forwards;
}
.course-connector {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 8px 0;
  gap: 2px;
}
.connector-dots {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.connector-dots span {
  display: block;
  width: 3px;
  height: 3px;
  background: #2c5896;
  border-radius: 50%;
  margin: 0 auto;
}
.connector-arrow {
  color: #2c5896;
  font-size: 1rem;
  line-height: 1;
}

/* ============ 本社・コレクションカード ============ */
.honsha-card {
  background: #fff;
  border-radius: 12px;
  padding: 20px 16px;
  text-align: center;
}
.honsha-img {
  display: inline-block;
  max-width: 90%;
  height: auto;
  margin-bottom: 16px;
}
.company-img {
  display: inline-block;
  width: 85%;
  height: auto;
  border-radius: 8px;
}

/* ============ ボタン(CTA) ============ */
.cta-btn {
  display: block;
  text-align: center;
  text-decoration: none;
  font-weight: 700;
  padding: 16px 20px;
}
.cta-btn--filled {
  background: #2c5896;
  color: #fff;
  border-radius: 8px;
  font-size: clamp(1rem, 4vw, 1.15rem);
  letter-spacing: 0.06em;
}
.cta-btn--outline {
  border: 3px solid #2c5896;
  background: #fff;
  color: #2c5896;
  font-size: clamp(0.95rem, 3.8vw, 1.1rem);
  letter-spacing: 0.08em;
}

/* ============ 開催スケジュール ============ */
.schedule-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 20px;
}
.schedule-card {
  background: #fff;
  border-radius: 12px;
  padding: 16px 12px;
  text-align: center;
  border-top: 4px solid #2c5896;
}
.schedule-label {
  font-size: clamp(0.92rem, 3.5vw, 1.04rem);
  font-weight: 700;
  color: #2c5896;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}
.schedule-time {
  font-size: clamp(1rem, 4vw, 1.15rem);
  font-weight: 900;
  color: #1a2a40;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}
.schedule-desc {
  font-size: clamp(0.84rem, 3.1vw, 0.95rem);
  color: #666;
  line-height: 1.6;
}

/* ============ バスアニメーション ============ */
@keyframes bus-drive {
  from { transform: translateX(-120vw); }
  to   { transform: translateX(0); }
}
.bus-wrap {
  position: relative;
  overflow: visible;
  height: clamp(45px, 14vw, 70px);
  margin: -16px 0 14px;
  z-index: 2;
}
.bus-img {
  position: absolute;
  right: 0;
  bottom: 0;
  width: clamp(70px, 28vw, 170px);
  height: auto;
  transform: translateX(-120vw);
}
.bus-img.bus-run {
  animation: bus-drive 1.4s cubic-bezier(0.15, 0.8, 0.3, 1) forwards;
}

/* ============ アクセス案内カード ============ */
.info-card-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 24px;
  text-align: left;
}
.info-card {
  background: #f6f5f4;
  border-radius: 12px;
  padding: 18px 16px;
  text-align: center;
}
.info-card-title {
  font-size: clamp(1rem, 4vw, 1.15rem);
  font-weight: 700;
  color: #2c5896;
  margin-bottom: 4px;
}
.info-card-subtitle {
  font-size: clamp(1.05rem, 3.9vw, 1.2rem);
  font-weight: 700;
  color: #1a2a40;
  margin-bottom: 8px;
  padding-top: 20px;
}
.info-card-desc {
  font-size: clamp(0.86rem, 3.2vw, 0.96rem);
  color: #555;
  line-height: 1.6;
}

/* ============ 地図カード・ピンマーカー ============ */
@keyframes pin-bounce {
  0%, 100% { transform: translateY(0); }
  40%       { transform: translateY(-6px); }
  60%       { transform: translateY(-3px); }
}
.map-card {
  margin-top: 20px;
  border: 2px solid #2c5896;
  border-radius: 12px;
  background: #fff;
  padding: 16px;
  text-align: center;
}
.map-card-inner {
  position: relative;
  display: inline-block;
  width: 100%;
}
.map-caption {
  margin-top: 6px;
  font-size: 0.82rem;
  color: #aaa;
  text-align: right;
  letter-spacing: 0.02em;
}
.pin-marker {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
  animation: pin-bounce 1.8s ease-in-out infinite;
}
.pin-marker--map { position: absolute; top: 10px; left: 0; }
.pin-head {
  width: 26px;
  height: 26px;
  background: #2c5896;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  box-shadow: 0 3px 8px rgba(0,0,0,0.3);
  position: relative;
}
.pin-head::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 9px;
  height: 9px;
  background: #fff;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
.pin-tail {
  width: 3px;
  height: 8px;
  background: #2c5896;
  margin-top: -2px;
  border-radius: 0 0 2px 2px;
}

/* ============ 参加者の声 ============ */
.voice-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 28px;
  text-align: left;
}
.voice-card {
  position: relative;
  background: #fff;
  border: 1.5px solid #2c5896;
  border-radius: 14px;
  padding: 32px 35px 35px;
  overflow: hidden;
}
.voice-card::before {
  content: '';
  position: absolute;
  top: -10px;
  left: 18px;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 10px solid #2c5896;
}
.voice-card::after {
  content: '';
  position: absolute;
  top: -8px;
  left: 19px;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-bottom: 9px solid #fff;
}
.voice-quote {
  font-size: clamp(0.92rem, 3.5vw, 1.04rem);
  color: #333;
  line-height: 1.85;
  font-weight: 500;
}
.voice-attribution {
  margin-top: 40px;
  font-size: clamp(0.82rem, 3vw, 0.92rem);
  color: #2c5896;
  font-weight: 700;
}
.voice-avatar {
  position: absolute;
  bottom: 0;
  right: 10px;
  max-width: clamp(50px, 16vw, 75px);
  height: auto;
}
.voice-avatar--sm { max-width: clamp(44px, 14vw, 66px); }

/* ============ YouTube案内 ============ */
.youtube-intro {
  margin-top: 24px;
  border: 2px solid #2c5896;
  border-radius: 14px;
  background: #fff;
  padding: 36px 30px 44px;
  text-align: left;
  position: relative;
  overflow: visible;
}
.youtube-intro-text {
  font-size: clamp(0.98rem, 3.8vw, 1.1rem);
  font-weight: 500;
  line-height: 1.6;
  color: #333;
  letter-spacing: 0.03em;
}
.video-label-row {
  margin-top: 28px;
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: flex-start;
}
.video-label-img {
  display: inline-block;
  height: auto;
}
.video-embed {
  margin-top: 20px;
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 12px;
}
.video-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 12px;
}
.please-img {
  display: inline-block;
  max-width: 70%;
  height: auto;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.please-img.bounce {
  opacity: 1;
  transform: translateY(0);
}

/* ============ 覗きキャラ・申し込みCTA ============ */
.peek-section {
  position: relative;
  overflow: visible;
  background: transparent;
}
.peek-char {
  position: absolute;
  top: 0;
  width: clamp(55px, 16vw, 80px);
  height: auto;
  transform: translateY(10px);
  transition: transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 9;
  pointer-events: none;
}
.peek-char.peek-left { left: 8px; }
.peek-char.peek-right { right: 8px; }
.peek-char--sm { width: clamp(44px, 13vw, 64px); }

.moushikomi-wrap {
  position: relative;
  z-index: 10;
  background: #f6f5f4;
  padding: 50px 20px 25px;
  text-align: center;
}
@keyframes floating {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}
.moushikomi-img {
  display: inline-block;
  width: 80%;
  height: auto;
  animation: floating 2.4s ease-in-out infinite;
}

/* ============ フッター前CTA ============ */
.final-lead {
  position: relative;
  z-index: 2;
  font-size: clamp(1rem, 4vw, 1.15rem);
  font-weight: 500;
  line-height: 1.6;
  color: #333;
  letter-spacing: 0.04em;
  text-align: center;
  margin-bottom: 20px;
}
.final-note {
  margin-top: 10px;
  font-size: clamp(0.82rem, 3vw, 0.92rem);
  color: #999;
  text-align: center;
  letter-spacing: 0.02em;
}

/* ============ 見出しSVG共通 ============ */
.heading-svg {
  display: inline-block;
  width: auto;
  height: clamp(60px, 16vw, 88px);
  opacity: 0;
  transform: translateY(20px) scale(0.92);
}
.heading-svg--lg { height: clamp(80px, 22vw, 120px); }
.heading-svg.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.heading-hr {
  margin: 5px auto 0;
  border: none;
  border-top: 4px solid #2c5896;
  width: 80%;
}
.heading-hr--gap40 { margin-bottom: 40px; }

/* ============ 汎用レイアウト・テキスト ============ */
.img-stack { position: relative; line-height: 0; }
.full-img { display: block; width: 85%; height: auto; margin-left: auto; margin-right: auto; }
.full-img.myconcity-svg { width: 70%; padding-top: 20px; padding-bottom: 20px; }
.full-img.myconcity-map { width: 75%; padding-bottom: 10px; }
.myconcity-label-row { display: flex; align-items: center; justify-content: center; gap: 8px; }
.myconcity-label-row .full-img.myconcity-svg { margin-left: 0; margin-right: 0; }

/* 本日の見学コース（.pad-32）内はスマホでも100%幅のまま */
.pad-32 .full-img { width: 100%; margin-left: 0; margin-right: 0; }
.rounded-8 { border-radius: 8px; }
.text-center { text-align: center; }
.accent { color: #2c5896; }

.center-pad { text-align: center; padding: 40px 20px; }
.center-pad-x { text-align: center; padding: 0 20px; }
.pad-32 { padding: 32px 20px; }
.bg-cream { background: #f6f5f4; }
.bg-white { background: #fff; }

.body-text {
  margin-top: 20px;
  font-size: clamp(1rem, 4vw, 1.15rem);
  font-weight: 500;
  color: #333;
  line-height: 1.6;
  letter-spacing: 0.04em;
  text-align: left;
}
.body-text--mt24 { margin-top: 24px; font-size: 16px; }
.font-zen { font-family: 'Zen Maru Gothic', 'Hiragino Maru Gothic ProN', sans-serif; }

.note-text {
  margin-top: 16px;
  font-size: clamp(0.88rem, 3.3vw, 1rem);
  color: #555;
  line-height: 1.6;
  text-align: left;
}

/* ============ 余白・幅ユーティリティ(個別調整用) ============ */
.mt-10 { margin-top: 10px; }
.mt-16 { margin-top: 16px; }
.mt-20 { margin-top: 20px; }
.mt-24 { margin-top: 24px; }
.mt-28 { margin-top: 28px; }
.mt-32 { margin-top: 32px; }
.mt-40 { margin-top: 40px; }
.mt-60 { margin-top: 60px; }
.mt-72 { margin-top: 72px; }
.w-18 { max-width: 18%; }
.w-28 { max-width: 28%; }
.w-40 { max-width: 40%; }

/* ============ iPad (768px–1024px): トップ縦積み ============ */
@media (min-width: 768px) and (max-width: 1024px) {
  .top-image {
    width: 100%;
    height: auto;
  }
  .top-text {
    margin: 0;
    padding: 30px 80px;
    font-size: clamp(1rem, 2vw, 1.1rem);
  }
  .tsubu-img {
    width: clamp(73px, 19.4vw, 128px);
    bottom: 280px;
    right: 60px;
  }
}

/* ============ PC (1025px 以上): トップ画像全面＋テキスト下配置 ============ */
@media (min-width: 1025px) {

  /* トップ: 画像を全面表示し、テキストをその下に配置 */
  .top-wrap {
    display: block;
  }

  .top-wrap .img-stack {
    position: relative;
    line-height: 0;
  }

  .top-image {
    display: block;
    width: 100%;
    height: auto;
  }

  .top-svg {
    width: 48%;
    left: 50%;
    bottom: calc(50% - 100px);
  }

  /* テキストエリア */
  .top-text {
    margin: 0;
    padding: 40px 260px 40px;
    font-size: clamp(0.92rem, 1.4vw, 1.05rem);
    line-height: 1.65;
  }

  .tsubu-img {
    width: clamp(60px, 9vw, 250px);
    right: 95px;
    bottom: 80px;
  }

  /* 4つの製品: 2×2 → 横4列 */
  .products-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .products-caption {
    margin-top: 30px;
    margin-bottom: 40px;
  }

  .speech-bubble {
    border-radius: 30px;
    padding: 30px 40px;
  }

  /* 角丸が大きくなった分、吹き出しの三角を丸みの下（直線部分）まで下げる */
  .speech-bubble::before {
    top: 40px;
  }
  .speech-bubble::after {
    top: 42px;
  }

  .note-text {
    padding-left: 60px;
    padding-right: 60px;
  }
}

/* ============ タブレット＋PC 共通 (768px 以上) ============ */
@media (min-width: 768px) {

  /* ── セクション内コンテンツ：最大760px幅でセンタリング ── */
  /* padding の max() で背景はフルブリード、内容だけ中央に収束させる */
  .center-pad,
  .center-pad-x,
  .pad-32 {
    padding-left:  max(40px, calc(50% - 380px));
    padding-right: max(40px, calc(50% - 380px));
  }

  /* ── フル幅画像：タブレット・PCでは70%に縮小して中央揃え ── */
  .full-img {
    width: 70%;
    margin-left: auto;
    margin-right: auto;
  }
  .full-img.myconcity-svg {
    width: 55%;
    padding-top: 40px;
    padding-bottom: 20px;
  }
  .full-img.myconcity-map {
    width: 60%;
    padding-bottom: 20px;
  }

  /* 本日の見学コース（.pad-32）内は対象外、元の幅（100%）に戻す */
  .pad-32 .full-img {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  /* 数字バッジ／ピンが乗る画像は、画像を包む枠ごと70%にして中央揃え（バッジ位置のズレ防止） */
  .keypoint-block .img-stack,
  .map-card-inner {
    width: 70%;
    margin-left: auto;
    margin-right: auto;
  }

  /* キャプションも画像と同じ幅・位置にして、画像の右端に右揃え */
  .map-caption {
    width: 70%;
    margin-left: auto;
    margin-right: auto;
  }

  .map-card {
    padding-bottom: 46px;
  }
  .keypoint-block .img-stack .full-img,
  .map-card-inner .full-img {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  .body-text--mt24 {
    font-size: clamp(1rem, 4vw, 1.15rem);
    line-height: 1.6;
    margin-left: 40px;
    margin-right: 40px;
    margin-bottom: 80px;
  }

  .mt-60 {
    margin-top: 120px;
  }

  /* ── キャラクター紹介 ── */
  .chara-row {
    max-width: 840px;
    margin: 0 auto;
    padding: 56px 40px;
    gap: 28px;
  }
  .chara-block img { max-width: 150px; }

  /* ── 吹き出し・コース工程・地図・YouTube ── */
  .speech-row,
  .course-card,
  .info-card-list,
  .map-card,
  .youtube-intro,
  .voice-list {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
  }

  /* ── 動画グリッド：2行2列 ── */
  .video-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px 32px;
    max-width: 760px;
    margin: 32px auto 0;
  }
  .video-grid .video-label-row { margin-top: 0; }
  .video-grid .video-embed     { margin-top: 12px; }

  /* ── バス・today-wrap（背景なしブロック） ── */
  .today-wrap,
  .bus-wrap {
    max-width: 840px;
    margin-left: auto;
    margin-right: auto;
  }

  /* ── アクセスカード：スマホ縦→PC横並び ── */
  .info-card-list { flex-direction: row; justify-content: center; }

  /* ── 参加者の声：2カラム ── */
  .voice-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 32px;
  }

  /* ── スケジュール ── */
  .schedule-grid {
    max-width: 560px;
    margin: 20px auto 0;
    gap: 28px;
  }

  /* ── お申し込みCTA ── */
  .moushikomi-wrap { padding: 64px 40px 32px; }
  .moushikomi-img  { max-width: 460px; }

  /* peekキャラの位置をコンテンツ幅に追従 */
  .peek-char         { width: clamp(80px, 7vw, 110px); }
  .peek-char.peek-left  { left:  max(8px, calc(50% - 440px)); }
  .peek-char.peek-right { right: max(8px, calc(50% - 440px)); }

  /* ── CTAボタン ── */
  .cta-btn {
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }

  /* ── トップSVG：PC幅で大きくなりすぎないよう上限 ── */
  .top-svg { width: min(48%, 480px); }

  /* ── 見出しSVGの高さ上限調整 ── */
  .heading-svg    { height: clamp(60px, 10vw, 88px); }
  .heading-svg--lg { height: clamp(80px, 13vw, 120px); }

  /* ── バス走行アニメ：PC幅でも確実に左端から ── */
  @keyframes bus-drive {
    from { transform: translateX(calc(-100% - 100vw)); }
    to   { transform: translateX(0); }
  }

  /* ── セクション縦余白：SP の 40px → PC で 72px に ── */
  .center-pad      { padding-top: 72px; padding-bottom: 72px; }
  .pad-32          { padding-top: 56px; padding-bottom: 56px; }

  /* ── 見出しSVG → HR → 本文 の余白 ── */
  .heading-hr        { margin-top: 12px; }
  .heading-hr--gap40 { margin-bottom: 60px; }
  .body-text         { margin-top: 32px; margin-left: 40px; margin-right: 40px; }

  /* ── 吹き出し段落間 ── */
  .speech-row { margin-top: 48px; gap: 28px; }

  .mt-28 { margin-top: 32px; }

  /* ── コースカード：vw ベースのオーバーラップを PC 固定値に ── */
  .course-card {
    margin-top:  -100px;
    padding:      44px 36px;
    padding-top:  140px;
  }

  .company-img {
    display: inline-block;
    width: 45%;
  }

  /* ── 参加者の声カード内パディング ── */
  .voice-card { padding: 36px 24px 44px; }

  /* ── スケジュールカード ── */
  .schedule-card { padding: 24px 20px; }

  /* ── YouTube セクション ── */
  .youtube-intro   { padding: 48px 36px 56px; }
  .video-label-row { margin-top: 48px; }
  .video-embed     { margin-top: 24px; }

  /* ── フッター前 CTA ── */
  .final-lead { margin-bottom: 28px; }
  .final-note { margin-top: 16px; }
  .final-note-br { display: none; }
}

/* ============ iPad (768px–1024px): TOP以降のセクションに左右90pxパディング ============ */
@media (min-width: 768px) and (max-width: 1024px) {
  .center-pad,
  .center-pad-x,
  .pad-32,
  .chara-row,
  .peek-section {
    padding-left: 90px;
    padding-right: 90px;
  }

  /* 4つの製品: 2×2のまま、サイズだけ調整 */
  .products-grid {
    max-width: 600px;
    gap: 16px;
    margin-left: auto;
    margin-right: auto;
  }

  .products-caption {
    margin-top: 30px;
    margin-bottom: 40px;
  }

  .speech-bubble {
    border-radius: 30px;
    padding: 30px 40px;
  }

  /* 角丸が大きくなった分、吹き出しの三角を丸みの下（直線部分）まで下げる */
  .speech-bubble::before {
    top: 40px;
  }
  .speech-bubble::after {
    top: 42px;
  }

  .note-text {
    padding-left: 30px;
    padding-right: 30px;
  }

  .body-text {
    max-width: 550px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* ============ スマホのみ (767px 以下) ============ */
@media (max-width: 767px) {
  .info-card-desc {
    white-space: nowrap;
  }
  .bus-img.bus-run {
    bottom: -25px;
  }
  .map-card {
    margin-left: 30px;
    margin-right: 30px;
  }

  /* ── フッター前 CTA ── */
  .final-lead { text-align: left; }
  .final-lead-br { display: none; }
}
