*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  font-family: "Noto Sans JP", sans-serif;
  margin: 0;
  padding: 0;
}

.wrap {
  width: 960px;
  margin: auto;
  border-left: 10px solid #244a96;
  border-right: 10px solid #244a96;
  position: relative;
}

@media screen and (max-width: 767px) {
  .wrap {
    width: 100%;
    max-width: 100%;
    border-left: none;
    border-right: none;
  }
}

.wrapper {
  margin: 0 auto;
}

h1 {
  font-size: 32px;
  margin-bottom: 40px;
}

h2 {
  font-size: 24px;
  margin-bottom: 20px;
}

p {
  font-size: 16px;
  line-height: 1.6;
}

img {
  display: block;
  max-width: 100%;
}

/* =========================
   FV
========================= */

.fv {
  position: relative;
  width: 100%;
  height: 600px;
  overflow: hidden;
}

.fv-layer {
  position: absolute;
  inset: 0;
}

.movie {
  z-index: 1;
}

.movie video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.kirakira {
  z-index: 2;
  mix-blend-mode: lighten;
  opacity: 0.4;
}

.kirakira video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fv-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fv-logo img {
  opacity: 0;
}

/* PC */
@media screen and (min-width: 768px) {
  .logo-pc {
    display: block;
    animation: logoFadeInLR 0.8s ease-out forwards;
  }

  .logo-sp {
    display: none;
  }
}

/* SP */
@media screen and (max-width: 767px) {
  .logo-sp {
    display: block;
    animation: logoFadeInLR 0.8s ease-out forwards;
  }

  .logo-pc {
    display: none;
  }
}

@keyframes logoFadeInLR {
  from {
    opacity: 0;
    transform: translateX(-24px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.logo-pc,
.logo-sp {
  max-width: none;
}

.logo-sp {
  display: none;
}

/* PC */
.logo-pc {
  display: block;
  height: auto;
  max-height: 50vh;
}

/* SP */
@media screen and (max-width: 767px) {
  .logo-pc {
    display: none;
  }

  .logo-sp {
    display: block;
    width: 88vw;
    height: auto;
    max-height: 75vh;
  }
}

@keyframes logoReveal {
  from {
    opacity: 0;
    clip-path: inset(0 100% 0 0);
  }

  to {
    opacity: 1;
    clip-path: inset(0 0 0 0);
  }
}

@media screen and (max-width: 767px) {
  .logo-pc {
    display: none !important;
  }

  .logo-sp {
    display: block !important;
    animation: logoReveal 1.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
  }

  .kirakira {
    display: none;
  }
}
/* =========================
   ストーリー導入コピー（画像のみ）
========================= */
.story-lead{
  margin: 0;
  padding: 0;
  background-color: #fffdf4;
}

.story-lead-picture{
  display: block;
  margin: 0;
  padding: 0;
  line-height: 0; /* img下の謎余白防止 */
}

.story-lead-img{
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
  padding: 0;
}
/* =========================
   Season（パララックス優先・安定版）
========================= */

.season {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 92vh;
  min-height: 700px;

  background: none;
  --parallax-y: 0px;
}

/* 背景レイヤー（動かす本体） */
.season::before {
  content: "";
  position: absolute;
  top: -12%;
  left: 50%;
  width: 960px;
  max-width: 100%;
  height: 124%;
  transform: translateX(-50%) translateY(var(--parallax-y, 0px));
  background-size: cover;
  background-position: center 42%;
  background-repeat: no-repeat;
  will-change: transform;
  z-index: 0;
}

.season>* {
  position: relative;
  z-index: 1;
}

.season-1::before {
  background-image: url("img/season_bg_1_20260115.png");
  background-position: center 38%;
}

.season-2::before {
  background-image: url("img/season_bg_2_20260115.png");
  background-position: center 44%;
}

.season-3::before {
  background-image: url("img/season_bg_3_20260115.png");
  background-position: center 34%;
}

/* SPはパララックスOFF */
@media screen and (max-width: 767px) {
  .season {
    height: auto;
    min-height: auto;
    padding: 80px 0 100px;
  }

  .season::before {
    top: 0;
    height: 100%;
    transform: translateX(-50%);
    background-size: auto 100%;
    background-position: center top;
  }
}

/* 中央寄せ */
.season-inner {
  width: 960px;
  height: 100%;
  margin: 0 auto;

  display: flex;
  justify-content: center;
  align-items: center;
}

@media screen and (max-width: 767px) {
  .season-inner {
    width: 100%;
    padding: 0 16px;
    box-sizing: border-box;
  }
}

/* =========================
   カード（重なり調整後）
========================= */

/* PC */
.season-card-wrap {
  position: relative;
  width: 620px;
  height: auto;
  padding: 0 18px 18px 0;   /* 右下だけ余白を作って影を見せる */
  box-sizing: border-box;
}

.card-shadow {
  position: absolute;
  inset: 0;
  transform: none;          /* ここではずらさない */
  background: #b02c63;
  z-index: 1;
}

.season-card {
  position: relative;
  width: 100%;
  height: auto;
  min-height: 480px;

  background: #234fa3;
  padding: 32px;
  box-sizing: border-box;
  z-index: 2;

  display: flex;
  flex-direction: column;
  gap: 14px;

  color: #fff;
  font-family: "Noto Sans JP", system-ui, sans-serif;
  overflow: visible;

  transform: translate(-18px, -18px); /* 左上に少しずらして重なりを強調 */
}

/* SP */
@media screen and (max-width: 767px) {

  .season-card-wrap {
    width: 100%;
    max-width: 360px;
    height: auto;
    padding: 0 12px 12px 0; /* 右下だけ少し見せる */
  }

  .card-shadow {
    transform: none;
  }

  .season-card {
    min-height: auto;
    padding: 24px;
    transform: translate(-12px, -12px);
  }
}

/* episodeバッジ（お椀形） */
.episode-badge{
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;

  width: 92px;
  height: 54px;
  background: #b02c63;

  /* ▼ 半円ではなく多角形バッジ形状に戻す */
  border-radius: 18px 18px 14px 14px; /* 角だけ軽く丸め */
  clip-path: polygon(
    12% 0%,
    88% 0%,
    100% 18%,
    96% 100%,
    4% 100%,
    0% 18%
  );

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  color: #fff;
  text-align: center;
  line-height: 1;
}

/* SPサイズ調整 */
@media screen and (max-width: 767px){
  .episode-badge{
    top: -26px;
    width: 86px;
    height: 50px;
  }
}

.episode-label{
  font-family: "Noto Sans JP", system-ui, sans-serif;
  font-style: italic;
  font-weight: 500;
  font-size: 10px;
  letter-spacing: .06em;
  margin-bottom: 1px;
  opacity: .92;
}

.episode-num{
  font-family: "Noto Sans JP", system-ui, sans-serif;
  font-style: italic;
  font-weight: 800;
  font-size: 24px;
  letter-spacing: .02em;
}

@media screen and (max-width: 767px){
  .episode-badge{
    top: -26px;
    width: 86px;
    height: 50px;
  }
  .episode-label{ font-size: 9px; }
  .episode-num{ font-size: 22px; }
}

/* 見出し画像 */
.season-heading{
  height: 36.5px;
  line-height: 36.5px; /* 文字や画像の縦ズレ防止 */
  overflow: hidden;
}

.season-heading img{
  height: 100%;
  width: auto;
  display: block;
}

@media screen and (max-width: 767px){

.season-heading{
  height: 24px;
  line-height: 24px; /* 文字や画像の縦ズレ防止 */
  overflow: hidden;
}

.season-heading img{
  height: 100%;
  width: auto;
  display: block;
}
}

/* テキスト */
.season-text p{
  margin: 0;
  color: #fff;
  font-size: 16px;
  line-height: 1.8;
  opacity: .95;
}
@media (max-width: 767px){
.season-text p{
  font-size: 14px;
  }
} 
/* 動画：はみ出し防止は動画枠だけ */
.season-movie {
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  margin-top: auto;
}

.season-movie iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}

@media screen and (min-width: 768px) {
  .season-movie {
    max-height: none;
  }
}

/* =========================
   追従CTA
========================= */

.cta-fixed {
  position: fixed;
  bottom: 40px;
  right: calc((100vw - 960px) / 2);

  width: 160px;
  height: 160px;

  background-image: url('img/sticy_btn_1.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;

  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 1000;
}

@media screen and (max-width: 960px) {
  .cta-fixed {
    display: none;
  }
}

.cta-fixed.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.cta-fixed:hover {
  background-image: url('img/sticy_btn_2.png');
}

@media screen and (max-width: 767px) {
  .cta-fixed {
    display: none;
  }
}


/* =========================
   既存CTA（btn-flash）
========================= */

.test {
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
}

.cta.btn-flash {
  position: relative;
  display: inline-block;
  width: auto;
  max-width: 700px;
  padding: 20px 40px;
  font-size: 24px;
  font-weight: 900;
  text-align: center;
  color: #244a96;
  text-decoration: none;
  background-image: linear-gradient(45deg, #f7dc6f 0%, #e6b94f 35%, #fff1a8 55%, #cfa63c 100%);
  border: 6px solid #244a96;
  border-radius: 20px;
  box-sizing: border-box;
  overflow: visible;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  white-space: normal;
  word-break: break-word;
  line-height: 1.3;
  z-index: 0;
}


.cta-text {
  position: relative;
  z-index: 10;
  display: inline-block;
  line-height: 1.2;
  font-family: 'Noto Sans JP', system-ui, sans-serif;
  font-weight: 900;
  text-shadow: 2px 0 0 #fff,
    -2px 0 0 #fff,
    0 2px 0 #fff,
    0 -2px 0 #fff;
}


  .cta-text{
    font-size: 18px;
    letter-spacing: .02em;
    white-space: nowrap;
  }





.cta-pc{
  display: inline;
}

/* SPは非表示 */
.cta-sp{
  display: none;
}

/* SP時 */
@media (max-width: 767px){
  .cta-pc{
    display: none;
  }
  .cta-sp{
    display: inline;
  }
}

.cta.btn-flash::before,
.cta.btn-flash::after {
  content: '';
  position: absolute;
  width: 60px;
  height: 60px;
  background-image: url('img/rose_rainbow.svg');
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0;
  pointer-events: none;
  z-index: 5;
}

.cta.btn-flash::before {
  top: -28px;
  left: -28px;
}

.cta.btn-flash::after {
  bottom: -28px;
  right: -28px;
}

.cta.btn-flash:hover::before {
  animation: roseFadeIn 0.6s ease forwards;
}

.cta.btn-flash:hover::after {
  animation: roseFadeIn 0.6s ease forwards;
  animation-delay: 0.25s;
}

@keyframes roseFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.life-hero{
  width: 100%;
  margin: 0 auto 18px;
  text-align: center;
    display: flex;
  justify-content: center;
}

.life-hero img{
  display: block;
  width: 100%;
  max-width: 800px;   /* スライダー幅と揃える */
  height: auto;
  margin: 0 auto;
  
}


/* PC */
@media (min-width: 768px){
  .life-hero{
    display: flex;
    justify-content: center;
  }

  .life-hero picture,
  .life-hero img{
    margin-left: auto;
    margin-right: auto;
  }
}


/* SP */
@media (max-width: 767px){
  .life-hero{
    margin-bottom: 14px;
  }
}

.hikaku{
  margin: 0;
  padding: 0;

  background-position: center;
  background-repeat: no-repeat;
  background-size: 100% auto; /* 横ぴったり */
}
/* =========================
   ライフステージ（スライダー）
========================= */
.life {
  background-image: linear-gradient(
      rgba(144, 190, 213, 0.2) 2px,
      transparent 2px
    ),
    linear-gradient(90deg, rgba(144, 190, 213, 0.2) 2px, transparent 2px);
  background-size: 30px 30px;
    width: 100%;
  overflow-x: hidden; 
}

/* タイトル下の文字 */
.life-lead{
    margin: 12px 0 20px;
  text-align: center;
  font-size: 16px;
  line-height: 1.7;
  color: #244a96;
  font-family: "Noto Sans JP", system-ui, sans-serif;
  font-weight: 700;
}

@media (max-width: 768px){
  .life-lead{
    font-size: 13px;
    margin: 12px 0 20px;
  }
}
/* =========================
   注釈セクション
========================= */

.life-note{
  width: 100%;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
  background: #fff;
}

.life-note-head{
  background: #244a96;
    width: 100%;
  padding: 16px 0;
  text-align: center;
}

.life-note-title{
  margin: 0;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  font-family: "Noto Sans JP", sans-serif;
}

@media (max-width: 767px){
  .life-inner,
  .life-note{
    width: 100%;
    padding-left: 0;
    padding-right: 0;
  }
}

.life-note-title-img{
  display: flex;
  justify-content: center; /* ← 横中央 */
  align-items: center;
}

.life-note-title-img img{
  max-width: 100%;
  height: 75px;
  width: auto;
    margin: 0 auto;          /* ← 念のため保険 */


}

/* SP */
@media (max-width: 767px){
  .life-note-title-img img{
    height: 40px;
    width: auto;
    
  }
}


/* 下部：注釈 */
.life-note-body{
  padding: 16px 24px 20px;
}

.life-note-body p{
  margin: 0 0 10px;
  font-size: 14px;
  line-height: 1.6;
  color: #333;
  word-break: break-all;
}


@media (max-width: 767px){
  .life-note-body p{
  font-size: 10px;
      text-align: left;

}
}

.life-note-body p:last-child{
  margin-bottom: 0;
}

/* SP */
@media (max-width: 767px){
  .life-note-head{
    padding: 14px 8px;
  }

  .life-note-title{
    font-size: 14px;
  }

  .life-note-body{
    padding: 14px 16px 18px;

  }


}
/* =========================
   注釈セクション
========================= */

.life-note{
  width: 100%;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
  background: #fff;
}

/* 上部：青帯 */
.life-note-head{
  background: #0a4b9e;
  padding: 16px 0;
  text-align: center;
}

.life-note-title{
  margin: 0;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  font-family: "Noto Sans JP", sans-serif;
}

/* 下部：注釈 */
.life-note-body{
  padding: 16px 24px 20px;
    text-align: right;

}



.life-note-body p:last-child{
  margin-bottom: 0;
}

/* SP */
@media (max-width: 767px){
  .life-note-head{
    padding: 14px 8px;
  }

  .life-note-title{
    font-size: 14px;
  }

  .life-note-body{
    padding: 14px 16px 18px;
  }


}

/* =========================
   SP：2枚表示 + 3枚目が少し見切れる（大きめ）
========================= */
@media (max-width: 767px){

  /* 外枠はそのまま */
  .life-slider{
    width: 100%;
  }

  .life-track{
    /* 2枚見せ＋少し見切れ：1枚あたり約46% */
    grid-auto-columns: 46%;
    gap: 12px;

    /* 左端が見切れない＆最初のスライドをきっちり見せる */
    padding-left: 16px;
    padding-right: 16px;
    scroll-padding-left: 16px;
    scroll-padding-right: 16px;
  }

  .life-slide{
    scroll-snap-align: start;
    scroll-margin-left: 16px;
  }
}


.life-inner {
  width: 960px;
  margin: 0 auto;
}

@media (max-width: 767px) {
  .life {
    padding: 44px 0 52px;
  }
  .life-inner {
    width: 100%;
    padding: 0 16px;
    box-sizing: border-box;
  }
}

.life-title{
  position: relative;
  margin-top: 0;
  padding-top: 20px;   /* 背景付き余白として使う */

  text-align: center;

  height: auto;        /* ← 固定をやめる */
  line-height: 0;      /* ← img下の余白防止 */
}

.life-title picture{
  display: block;
  line-height: 44.5px;
  height: 44.5px;
}

.life-title img{
  display: inline-block;
  line-height: 45px;
  height: 45px;
  max-width: 100%;
  height: 100%;
}

/* =========================
   life-title：SP時は画像を非表示
   ※ life-title 自体は残す
========================= */

@media (max-width: 767px){
    .life-title,
.life-title img,
  .life-title picture{
    display: none;
  }
}


/* 外枠 */
.life-slider {
  position: relative;
  width: min(860px, 100%);
  margin: 0 auto;

  /* ✅ 左右の見切れ防止（矢印も外に出るので hidden にしない） */
  overflow: visible;
}

/* 横スクロール本体 */
.life-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 32px) / 3); /* PC: 3枚見える */
  gap: 16px;

  overflow-x: auto;
  overflow-y: hidden;

  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;

  /* ✅ 左右の余白を完全に消す */
  padding: 0;

  /* ✅ 左端に戻れない原因を消す */
  scroll-padding-left: 0;
  scroll-padding-right: 0;

  -webkit-overflow-scrolling: touch;

  /* ✅ 「端まで行けない」対策（iOS/一部ブラウザで効く） */
  overscroll-behavior-x: contain;
}

/* スクロールバー */
.life-track::-webkit-scrollbar {
  height: 8px;
}
.life-track::-webkit-scrollbar-thumb {
  background: rgba(0,0,0,0.15);
  border-radius: 999px;
}
.life-track::-webkit-scrollbar-track {
  background: transparent;
}

.life-slide {
  scroll-snap-align: start;

  /* ✅ 左端に戻れない原因を消す */
  scroll-margin-left: 0;

  display: block;
  border-radius: 16px;
  overflow: hidden;
  background: transparent;
  transition: transform .2s ease, filter .2s ease;
}

.life-slide img {
  width: 100%;
  height: auto;
  display: block;
}

/* hover（PCだけ） */
@media (hover: hover) and (pointer: fine) {
  .life-slide:hover {
    transform: translateY(-3px);
    filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.18));
  }
}

/* SPは1.2枚見せる（スワイプ誘導） */
@media (max-width: 767px){
  .life-track{
    padding: 6px 12px 12px;

    /* ✅ 追加 */
    scroll-padding-left: 12px;
    scroll-padding-right: 12px;
  }

  .life-slide{
    scroll-margin-left: 12px;
  }
}

.life-num{  
  margin: 10px 0 18px;
  text-align: center;
  font-size: 8px;
  line-height: 1.7;
  color: #244a96;
  font-family: "Noto Sans JP", system-ui, sans-serif;
  font-weight: 700;
  }
/* =========================
   制作の裏側（交互レイアウト：完成版）
========================= */

.behind{
  padding: 0;
  background: transparent;
}

/* =========================
   外枠（青）※上下40px・左右10px
========================= */

.behind-wrap{
  width: 940px;
  margin: 0 auto;

  border-left: 10px solid #244a96;
  border-right: 10px solid #244a96;
  border-top: 40px solid #244a96;
  border-bottom: 40px solid #244a96;

  border-radius: 0;
  box-sizing: border-box;

  background: #244a96;   /* 枠内に白が出ない保険 */
  overflow: hidden;
}

@media (max-width: 767px){
  .behind-wrap{
    width: 100%;
    border-left-width: 10px;
    border-right-width: 10px;
    border-top-width: 40px;
    border-bottom-width: 40px;
  }
}

/* =========================
   紙面（黄色エリア・背景画像）
========================= */

.behind-paper{
  width: 920px;
  margin: 0 auto;

  padding: 18px 24px 12px; /* 下を短くして白帯防止 */
  box-sizing: border-box;

  background-image: url("img/hompo/haikei_youhishi_b.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  border-radius: 0;
  overflow: hidden;
}

@media (max-width: 767px){
  .behind-paper{
    width: 100%;
    padding: 16px 14px 10px;
  }
}

/* =========================
   登場人物 相関図（画像のみ / 余白なし）
========================= */
.relation {
  margin: 0;
  padding: 0;
  background-color: #fff7d7;
}

.relation-picture {
  display: block;
  padding-top: 20px;
  margin: 0;
  padding: 0;
  line-height: 0; /* ← img下の隙間防止 */
}

.relation-img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
  padding-top: 64px;
}
/* =========================
   見出し
========================= */

.behind-head{
  margin: 0 0 20px;
  text-align: center;
}

.behind-head img{
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* =========================
   行レイアウト
========================= */

.behind-rows{
  max-width: 880px;
  margin: 0 auto;
  display: grid;
  gap: 22px;
}

@media (max-width: 767px){
  .behind-rows{
    gap: 16px;
  }
}

.behind-row{
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 22px;
  align-items: center;
}

@media (max-width: 767px){
  .behind-row{
    display: grid;
    grid-template-columns: 1fr !important;
    gap: 12px !important;
    align-items: start !important;
  }

  /* すべての行で順序を統一 */
  .behind-row .photo-card{ order: 1 !important; }
  .behind-row .behind-text{ order: 2 !important; }
}

/* 交互 */
.behind-row.is-reverse{
  grid-template-columns: 0.95fr 1.05fr;
}
.behind-row.is-reverse .photo-card{ order: 2; }
.behind-row.is-reverse .behind-text{ order: 1; }

@media (max-width: 767px){
  .behind-row.is-reverse .photo-card,
  .behind-row.is-reverse .behind-text{
    order: initial !important;
  }
}

/* =========================
   写真カード
========================= */

/* 写真カード：白枠・影すべて削除 */
.photo-card{
  background: transparent !important;
  padding: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}

/* 画像そのものも余計な角丸を消す */
.photo-card img{
  border-radius: 0 !important;
}


/* マステ */
.tape{
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%) rotate(-2deg);

  width: 140px;
  height: 28px;
  background: #7fb8de;
  opacity: .9;

  box-shadow: 0 4px 10px rgba(0,0,0,.12);
}

@media (max-width: 767px){
  .tape{
    width: 120px;
    height: 24px;
  }
}

/* 軽い傾き */
.tilt-l{ transform: rotate(-1.2deg); }
.tilt-r{ transform: rotate(1.2deg); }
.tilt-l2{ transform: rotate(-0.8deg); }

/* =========================
   テキスト
========================= */

.behind-text{
  font-family: "Noto Sans JP", system-ui, sans-serif;
  color: #244a96;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.85;
}

.behind-text p{
  margin: 0 0 1em;
}

.behind-text p:last-child{
  margin-bottom: 0;
}

@media (max-width: 767px){
  .behind-text{
    font-size: 12.5px;
  }
}

/* =========================
   behind：全幅 上部画像（PC/SP 切替）
========================= */

.behind-top-visual{
  width: 100%;
  margin: 0;        /* 余白なし */
  padding: 0;       /* 余白なし */
  line-height: 0;   /* img下の隙間防止 */
}

.behind-top-visual-img{
  display: block;
  width: 100%;
  height: auto;
}

/* もし「下に少しだけ間隔ほしい」なら（任意） */
@media (min-width: 768px){
  .behind-top-visual{ margin-bottom: 16px; }
}
@media (max-width: 767px){
  .behind-top-visual{ margin-bottom: 12px; }
}


/* =========================
   CTA：PCテキスト / SP画像 完全分岐（display制御修正版）
========================= */

/* ベース：両方一旦消す */
.cta-pc-only,
.cta-sp-only{
  display: none;
}

/* PC表示 */
@media (min-width: 768px){
  .cta-pc-only{
    display: inline-block !important;
  }
  .cta-sp-only{
    display: none !important;
  }
}

/* SP表示 */
@media (max-width: 767px){
  .cta-pc-only{
    display: none !important;
  }
  .cta-sp-only{
    display: block !important;
  }
}

/* SP：画像CTA */
.cta-img-only{
  display: block;
  line-height: 0;
}

.cta-img-only img{
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
}

/* SP時：pill形状を画像側で担保する場合 */
@media (max-width: 767px){
  .cta-img-only{
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }
}


.behind-cta{
  margin-top: 32px;
  display: flex;
  justify-content: center;
}

/* CTA角丸は必ず復活させる */
.behind-paper .cta.btn-flash{
  border-radius: 20px !important;
}

/* =========================
   CTA下 ロゴ画像
========================= */

.behind-tenpo{
  margin-top: 14px;
  display: flex;
  justify-content: center;
}

.behind-tenpo picture,
.behind-tenpo img{
  display: block;
  margin: 0;
  padding: 0;
  width: min(900px, 100%);
  height: auto;
}

/* =========================
   Footer（色＆サイズ調整）
========================= */

.footer{
  margin: 0;
  background: #fff;
}

/* SNSシェア */
.footer-share{
  
  display: flex;
  flex-direction: column;
  align-items: center;   /* ← 全体を中央寄せ */
  justify-content: center;
  text-align: center;
}

.footer-share-title{
  margin: 0 0 12px;
  font-size: 12px;
  color: #666;
}

/* SNSアイコン */
.footer-share-list{
  display: flex;
  justify-content: center; /* ← 横方向中央 */
  align-items: center;
  gap: 20px;
  padding: 0;
  margin: 0;
}

.footer-share-list li{
  list-style: none;
}

.footer-share-list a{
  display: grid;
  place-items: center;
  width: 44px;            /* ←当たり判定も少し大きく */
  height: 44px;
}

.footer-share-list img{
  height: 40px;   /* ← 基本サイズ（おすすめ） */
  width: auto;
  display: block;
}

.footer-bottom{
  background: #2288DD;    /* ←ここが色調整ポイント */
  padding: 26px 0 22px;
}

/* ロゴ列 */
.footer-bottom-inner{
  width: 960px;
  margin: 0 auto;

  display: flex;
  justify-content: center;
  align-items: center;
  gap: 36px;              /* ロゴ間の余白 */
}

/* ★ 3704ロゴ */
.footer-title-img{
  height: 100px;          /* ← 指定どおり */
  width: auto;
  max-width: none;        /* ← これが重要 */
  flex-shrink: 0;         /* ← 縮まない */
  display: block;
}

/* ★ 企業ロゴ */
.footer-logo-img{
  height: 54px;           /* ← 指定どおり */
  width: auto;
  max-width: none;        /* ← これが重要 */
  flex-shrink: 0;         /* ← 縮まない */
  display: block;
}

/* コピーライト */
.footer-copy{
  margin-top: 14px;
  text-align: center;
  font-size: 12px;
  color: #fff;
}

/* 線の外側ラッパー */
.footer-line-wrap{
  background: #fff;
}

/* 実際の線 */
.footer-line{
  width: 960px;                 /* ← 既存コンテンツ幅に合わせる */
  height: 6px;                  /* ← デザイン通り少し太め */
  margin: 0 auto;               /* ← 中央寄せ */
  background: #244a96;          /* ← 右ロゴ枠と同色 */
}

/* SP */
@media (max-width: 767px){
  .footer-line{
    width: calc(100% - 32px);   /* ← 左右16px余白 */
    height: 5px;
  }
}
  .footer-share{
    padding: 24px 0 32px;   /* ← PC用の余白を明示的に付与 */
  }
/* SP */
@media (max-width: 767px){
  .footer-share{
    padding: 18px 0 22px;
  }

  .footer-share-list{
    gap: 12px;
  }

  .footer-share-list a{
    width: 40px;
    height: 40px;
  }

  .footer-share-list img{
    width: 36px;
    height: 36px;
  }

  .footer-bottom{
    padding: 14px 0 12px;
  }

  .footer-bottom-inner{
    width: 100%;
    padding: 0 16px;
    box-sizing: border-box;
    gap: 18px;
  }

  .footer-title-img{
  height: 100px;   /* ← 指定どおり */
  width: auto;
  display: block;
}

  .footer-logo-img{
  height: 54px;    /* ← 指定どおり */
  width: auto;
  display: block;
}

@media (max-width: 767px){
  .footer-title-img{ height: 80px; }
  .footer-logo-img{ height: 44px; }
}
  .footer-copy{
    font-size: 10px;
  }
  
  
}
