@charset "utf-8";

.allfont {
  font-family:
    MazdaTypeMedium,
    MazdaTypeRegular,
    Noto Sans JP,
    Hiragino Kaku Gothic ProN,
    HiraKakuProN-W3,
    Meiryo,
    Yu Gothic Medium,
    sans-serif !important;
  background-color: #fff;
}
.all100 {
  width: 100%;
  background-color: #333333;
}
.bg_green {
  background-color: #000;
  background: url('../images/bg_green.png') repeat-y center top;
}
@media screen and (min-width: 1280px) {
  .w1280 {
    width: 1280px;
    margin-left: auto;
    margin-right: auto;
    background-color: #fff;
    padding: 0;
  }

  .foot_bnrbox {
    width: 100%;
    background-color: #666666;
  }

  .main_v {
    width: 1280px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media screen and (max-width: 1280px) {
  .w1280 {
    width: 100%;
    background-color: #fff;
    padding: 0;
    min-width: 980px;
  }

  .foot_bnrbox {
    width: 100%;
    min-width: 980px;
    background-color: #666666;
  }

  .main_v {
    width: 100%;
    min-width: 980px;
  }
}

.main_v img {
  width: 100%;
}

.w1280 .date {
  width: 100%;
  text-align: center;
  background-color: #35210f;
  padding: 5px 0 8px 0;
  color: #fff;
  font-size: 3.2rem;
  font-weight: 700;
  border-bottom: 3px solid #dfca8b;
}

.w1280 .date small {
  font-size: 2rem;
}

.w1280 .date span {
  display: inline-block;
  font-size: 2.4rem;
  background-color: #fff;
  color: #35210f;
  margin: 0 1em 0 0;
  padding: 0 1em;
  line-height: 1.6;
}

.w1280 .contbox01 {
  width: 100%;
  background-color: #fff;
  padding: 50px 0;
  min-width: 980px;
  margin: 0 auto;
}

.w1280 .contbox01 .contbox01_inn01 {
  width: 980px;
  border: 5px solid #00842e;
  background-color: #fff;
  margin: 0 auto;
  border-radius: 34px;
}

.w1280 .contbox01 .contbox01_inn01 .tit img {
  width: 100%;
}
.w1280 .contbox01 .contbox01_inn01 .copy {
  text-align: left;
  margin: 20px 0 20px 30px;
  font-size: 2rem;
  color: #000;
  line-height: 1.6;
}
.w1280 .contbox01 .contbox01_inn01 .copy .red-circle {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 1.5em;
  /* 丸の幅 */
  height: 1.5em;
  /* 丸の高さ（幅と同じにする） */
  background-color: #d3526c;
  /* 丸の色（赤） */
  color: #fff;
  /* 数字の色（白） */
  border-radius: 50%;
  /* 正方形を真ん丸にする設定 */
  font-weight: 400;
  /* 数字を太字にする（お好みで） */
  font-size: 1.4rem;
  /* 文字のサイズ */
  transform: translateY(-2px);
}

.w1280 .contbox01 .contbox01_inn01 .copy .black-circle {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 1.5em;
  /* 丸の幅 */
  height: 1.5em;
  /* 丸の高さ（幅と同じにする） */
  background-color: #000;
  /* 丸の色（赤） */
  color: #fff;
  /* 数字の色（白） */
  border-radius: 50%;
  /* 正方形を真ん丸にする設定 */
  font-weight: 400;
  /* 数字を太字にする（お好みで） */
  font-size: 1.4rem;
  /* 文字のサイズ */
  transform: translateY(-2px);
}

.blackbg {
  background-color: #000;
  color: #fff;
  width: 94%;
  margin: 20px auto;
  padding: 10px 20px;
}
.blackbg .txtflex {
  display: flex;
  align-items: center;
  margin-bottom: 5px;
}
.blackbg .txtflex .tit01 {
  width: 70%;
  text-align: center;
  font-size: 2.6rem;
}
.blackbg .txtflex .txt01 {
  width: 30%;
  text-align: left;
  line-height: 1.4;
}
.w1280 .contbox01 .contbox01_inn01 .grid01 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  /* アイテム間の余白 */
  width: 95%;
  margin: 20px auto;
}

.w1280 .contbox01 .contbox01_inn01 .memo {
  width: 95%;
  margin: 10px auto;
  font-size: 1.4rem;
  color: #333;
  letter-spacing: -0.02em;
}

.w1280 .contbox01 .contbox01_inn01 .memo li {
  margin: 0;
  line-height: 1.8;
}

.w1280 .contbox01 .contbox01_inn01 .grid01 .grid01_inn {
  text-align: center;
}

.w1280 .contbox01 .contbox01_inn01 .grid01 .grid01_inn .ph {
  text-align: center;
  margin: 10px 0;
}

.w1280 .contbox01 .contbox01_inn01 .grid01 .grid01_inn .ph img {
  width: 90%;
}

.w1280 .contbox01 .contbox01_inn01 .grid01 .grid01_inn .flex_mini {
  display: -webkit-flex;
  display: flex;
  -webkit-align-items: flex-start;
  align-items: flex-start;

  width: 100%;
  color: #333;
  padding: 5px 5px 5px 10px;
  /* 🔽 ここから追加するコード 🔽 */
  box-sizing: border-box;
  /* padding（余白）を高さの計算に含める設定 */
  min-height: 60px;
  /* 2行分の高さを確保する（※数値は微調整してください） */
  /* 🔼 ここまで 🔼 */
}

.w1280 .contbox01 .contbox01_inn01 .grid01 .grid01_inn .flex_mini .red-circle {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 1.5em;
  /* 丸の幅 */
  height: 1.5em;
  /* 丸の高さ（幅と同じにする） */
  background-color: #d3526c;
  /* 丸の色（赤） */
  color: #fff;
  /* 数字の色（白） */
  border-radius: 50%;
  /* 正方形を真ん丸にする設定 */
  font-weight: 700;
  /* 数字を太字にする（お好みで） */
  font-size: 1.6rem;
  /* 文字のサイズ */
}

.w1280
  .contbox01
  .contbox01_inn01
  .grid01
  .grid01_inn
  .flex_mini
  .black-circle {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 1.5em;
  /* 丸の幅 */
  height: 1.5em;
  /* 丸の高さ（幅と同じにする） */
  background-color: #000;
  /* 丸の色（赤） */
  color: #fff;
  /* 数字の色（白） */
  border-radius: 50%;
  /* 正方形を真ん丸にする設定 */
  font-weight: 700;
  /* 数字を太字にする（お好みで） */
  font-size: 1.6rem;
  /* 文字のサイズ */
}

.red-circle {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 1.5em;
  /* 丸の幅 */
  height: 1.5em;
  /* 丸の高さ（幅と同じにする） */
  background-color: #d3526c;
  /* 丸の色（赤） */
  color: #fff;
  /* 数字の色（白） */
  border-radius: 50%;
  /* 正方形を真ん丸にする設定 */
  font-weight: 700;
  /* 数字を太字にする（お好みで） */
  font-size: 1.6rem;
  /* 文字のサイズ */
}

.black-circle {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 1.5em;
  /* 丸の幅 */
  height: 1.5em;
  /* 丸の高さ（幅と同じにする） */
  background-color: #000;
  /* 丸の色（赤） */
  color: #fff;
  /* 数字の色（白） */
  border-radius: 50%;
  /* 正方形を真ん丸にする設定 */
  font-weight: 700;
  /* 数字を太字にする（お好みで） */
  font-size: 1.6rem;
  /* 文字のサイズ */
}
.w1280 .contbox01 .contbox01_inn01 .grid01 .grid01_inn .flex_mini .goodsname {
  margin: 0 0 0 5px;
  font-weight: 700;
  font-size: 1.6rem;
  line-height: 1.4;
  text-align: left;
}

.w1280red {
  width: 100%;
  background-color: #981e23;
  padding: 0;
}
.w1280red .contbox02_ph {
  text-align: center;
}
.w1280yellow {
  width: 100%;
  background-color: #f7e000;
  padding: 0;
  margin-top: 30px;
}
.w1280remon {
  width: 100%;
  background-color: #fffbcc;
  padding: 0;
  margin-top: 30px;
  padding: 20px 0;
}
.w1280yellow .contbox03_tit {
  text-align: center;
}
.contbox03_inn01 h2.tit {
  text-align: center;
  font-size: 3rem;
  border-bottom: 2px solid #c40018;
  width: 960px;
  margin: 0 auto 30px auto;
  color: #c40018;
  font-family: serif;
}
.remongrid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  /* アイテム間の余白 */
  width: 960px;
  margin: 20px auto;
}
.remongrid .remonflex {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  /* アイテム間の余白 */
  width: 100%;
  margin: 20px auto 0 auto;
  letter-spacing: -0.005em;
}
.remongrid .remonflex .phbox img {
  width: 96%;
}
.remongrid .remonflex .txtbox {
  color: #000;
  position: relative;
}
.remongrid .remonflex .txtbox .tit small {
  font-size: 1.4rem;
  line-height: 1.2;
  display: block;
  margin-bottom: 5px;
}
.remongrid .remonflex .txtbox .tit {
  font-size: 2rem;
  line-height: 1.4;
  margin-bottom: 10px;
}
.remongrid .remonflex .txtbox .txt {
  font-size: 1.4rem;
  line-height: 1.4;
}
.remongrid .remonflex .txtbox .noteimg {
  position: absolute;
  bottom: 0;
  left: 0;
  font-size: 1.4rem;
}
.remonbnr {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  /* アイテム間の余白 */
  width: 960px;
  margin: 20px auto 0 auto;
  text-align: center;
}
.remonbnr li img {
  width: 96%;
}
.note03 {
  margin: 20px 0;
  text-align: center;
  font-size: 1.4rem;
  color: #000;
}

.contbox04_inn01 h2.tit {
  text-align: center;
  font-size: 3rem;
  border-bottom: 2px solid #00842e;
  width: 960px;
  margin: 0 auto 30px auto;
  color: #00842e;
  font-family: serif;
}
.contbox04_inn01 .bnrevent {
  margin: 30px auto;
  text-align: center;
}

/* グリッドのコンテナ */
.car-grid {
  display: grid;
  /* 全体を6等分(6カラム)のグリッドとして定義 */
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
  /* アイテム間の余白 */
  max-width: 1000px;
  margin: 0 auto;
}

/* 1行目の大きめのアイテム */
.item.large {
  /* 6カラムのうち、3カラム分を使用（結果的に2列になる） */
  grid-column: span 3;
}
/* 1番目（左側）のアイテムの「左」に余白をあける */
.item.large:nth-child(1) {
  margin-left: 40px; /* 画像を見ながら数値を調整してください */
}

/* 2番目（右側）のアイテムの「右」に余白をあける */
.item.large:nth-child(2) {
  margin-right: 40px; /* 左と同じ数値にします */
}
/* 2行目以降の小さめのアイテム */
.item.small {
  /* 6カラムのうち、2カラム分を使用（結果的に3列になる） */
  grid-column: span 2;
}

/* --- 以下は見た目の装飾用です --- */
.item {
  color: white;
  text-align: center;
}
.item a {
  display: block;
  text-decoration: none;
}
.item a:hover {
  opacity: 0.6;
  transition-duration: 0.3s;
}
.item img {
  width: 100%;
}
.item.large img {
  width: 90%;
}
.item a span {
  display: block;
  text-decoration: none;
  font-size: 2rem;
  font-weight: 700;
  color: #000;
}
.item a span.link {
  display: block;
  background-color: #000;
  color: #fff;
  text-decoration: none;
  padding: 2px 0;
  font-size: 1.6rem;
}
.item.large a span.link {
  display: block;
  background-color: #000;
  color: #fff;
  text-decoration: none;
  padding: 2px 0;
  width: 90%;
  margin: 0 auto;
  font-size: 1.6rem;
}

.foot_bnrbox .linksbox {
  width: 980px;
  padding: 30px 0;
  margin: 0 auto 0 auto;
  display: flex; /* gridからflexに変更 */
  justify-content: center; /* 左右中央に配置（均等配置なら space-between） */
  gap: 20px; /* アイテム間の余白 */
}

/* pタグの不要な余白をリセット */
.foot_bnrbox .snsline {
  margin: 0;
}
.foot_bnrbox .linksbox .txtline a {
  margin-bottom: 20px;
  text-decoration: none;
  display: block;
  text-align: center;
  background-color: #7e2926;
  border: 1px solid #edcf8c;
  color: #fff;
  padding: 5px 0;
  width: 100%;
  font-size: 1.8rem;
}

.foot_bnrbox .linksbox a img {
  width: 100%;
}
.foot_bnrbox .linksbox .event a img {
  border: 1px solid #fff;
}
.foot_bnrbox .linksbox a:hover {
  opacity: 0.6;
  transition-duration: 0.3s;
}

/* =========================================
   スマホ用レスポンシブ（768px以下）
========================================= */
@media screen and (max-width: 768px) {
  /* 1. PC用の固定幅・最小幅を解除（横スクロール防止） */
  .w1280,
  .foot_bnrbox,
  .main_v,
  .w1280 .contbox01,
  .w1280 .contbox01 .contbox01_inn01,
  .contbox01_inn02,
  .contbox01_inn03,
  .contbox01_inn04,
  .foot_bnrbox .linksbox {
    width: 100%;
    min-width: 100%; /* 980pxの制限を解除 */
    box-sizing: border-box;
  }

  /* はみ出しを防ぐために少し左右に余白を入れる */
  .w1280 .contbox01 .contbox01_inn01,
  .contbox01_inn02,
  .contbox01_inn03,
  .contbox01_inn04 {
    padding-left: 10px;
    padding-right: 10px;
  }

  /* 2. 車のグリッドレイアウト（スマホでは全て1列にする） */
  .car-grid {
    grid-template-columns: 1fr; /* 6等分を解除し、シンプルに1列に変更 */
    gap: 10px; /* スマホ用に隙間を少し狭く */
    padding: 0 10px;
  }

  /* 1行目の大きいアイテムも、2行目以降の小さいアイテムも同じ幅（1セル分）にする */
  .item.large,
  .item.small {
    grid-column: span 1;
  }

  /* PCで設定した1行目の「左右のへこみ（余白）」をリセット */
  .item.large:nth-child(1) {
    margin-left: 0;
  }
  .item.large:nth-child(2) {
    margin-right: 0;
  }
  .contbox01_inn04 h2.tit {
    text-align: center;
    font-size: 2.4rem;
    width: 90%;
    margin: 0 auto 10px auto;
  }
  /* スマホでは画像のサイズやボタンの幅を他の車と揃える */
  .item.large img {
    width: 100%;
  }
  .item.large a span.link {
    width: 100%;
  }

  /* 3. その他のレイアウトのスマホ最適化 */
  /* 文字サイズをスマホ向けに少し小さく調整 */
  .w1280 .date {
    font-size: 2em;
  }
  .w1280 .date span {
    display: block;
    width: 70%;
    margin: 10px auto 5px auto;
    font-size: 1.8rem;
  }
  .contbox01 .contbox01_inn01 .tit {
    margin: 10px 0 0 0;
  }
  .contbox01_inn02 .flex_inn02 .txt {
    font-size: 2rem;
  }
  .contbox01_inn02 .flex_inn02 .txt span.tit {
    font-size: 2.6rem;
  }

  /* grid01（3列）や フッターリンク（3列）をスマホでは1列（縦並び）にする */
  .w1280 .contbox01 .contbox01_inn01 .grid01,
  .foot_bnrbox .linksbox {
    grid-template-columns: 1fr;
    width: 100%;
  }

  /* 横並び（Flex）を縦並びに変更 */
  .contbox01_inn02 .flex_inn02,
  .contbox01_inn03 .flex_inn03_01 {
    flex-direction: column;
    align-items: center;
  }

  .contbox01_inn02 .flex_inn02 .txt,
  .contbox01_inn02 .flex_inn02 .ph,
  .contbox01_inn03 .flex_inn03_01 .txt {
    width: 100%;
    margin-bottom: 15px; /* 縦並びになった時の要素間の隙間 */
  }
  .foot_bnrbox .linksbox .txtline a {
    margin: 0 auto 10px auto;
    text-decoration: none;
    display: block;
    text-align: center;
    background-color: #7e2926;
    border: 1px solid #edcf8c;
    color: #fff;
    padding: 5px 0;
    width: 90%;
    font-size: 1.8rem;
  }
  .foot_bnrbox .linksbox p {
    text-align: center;
  }
  .foot_bnrbox .linksbox p a img {
    width: 90%;
  }
}

/* ------------------------------------------------------------------------------------------------全体のリセットと基本設定 */

/* 大枠のコンテナ */
.event-wrapper {
  width: 960px;
  margin: 0 auto;
  background-color: #ffde00; /* 背景の黄色 */
  padding: 20px 30px;
  font-family: "Hiragino Kaku Gothic ProN", "Meiryo", sans-serif;
  color: #111;

  position: relative;
}

/* --- 修正ポイント：行（Row）ごとのコンテナ --- */
.event-row {
  display: flex;
  justify-content: space-between;
  align-items: stretch; /* これにより、左右のセルの高さが自動的に揃います */
  position: relative; /* 🔽 追加：縦線を引く基準位置にします */
}

/* 左右のセル */
.event-cell {
  width: 48%;
  border-bottom: 2px solid #e60012; /* ここで罫線を引くことで、必ず左右同じ高さに揃う */
  padding-bottom: 20px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
}
/* 3. 🔽 新規追加：各行の「中央の隙間」に縦線を引く */
.event-row::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 40px; /* 🔽 20px から 30px（など）に変更して縦線を短くする */
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  background-color: #e60012;
}

/* 4. 🔽 新規追加：最後の行の調整 */
.event-row.last-row::after {
  bottom: 0; /* 最後の行は margin-bottom が無いため、下まで線を伸ばします */
}
.event-cell.f00 {
  padding-top: 71px;
}
/* 最後の行は全体の底に罫線を引かない */
.last-row .event-cell {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}

/* 最後の行の右側など、空枠用の調整 */
.empty-cell {
  border-bottom: none !important;
}

/* 1行目右側の分割線用 */
.split-top {
  border-bottom: 2px solid #e60012;
  padding-bottom: 20px;
  margin-bottom: 20px;
}

/* 画像とテキストを横並びにするフレックスボックス */
.event-item-flex {
  display: flex;
  gap: 15px;
  align-items: flex-start;
}

/* --- 各パーツのスタイル（前回と同様） --- */
.item-img_l {
  width: 430px;
  flex-shrink: 0;
  position: relative;
}

.item-img {
  width: 190px;
  flex-shrink: 0;
  position: relative;
}
.item-img_l img,
.item-img img {
  width: 100%;
  height: auto;
  display: block;
}

.item-text {
  flex-grow: 1;
  position: relative;
}

.title-red {
  color: #e60012;
  font-weight: 900;
  font-size: 1.8rem;
  line-height: 1.3;
  margin-bottom: 8px;
}

.title-large {
  font-size: 2.8rem;
  margin-bottom: 0;
  line-height: 1.2;
}

.subtitle {
  text-align: right;
  font-size: 1.3rem;
  font-weight: bold;
  margin-bottom: 0;
}

.desc-bold {
  font-size: 1.3rem;
  font-weight: bold;
  line-height: 1.4;
  margin-bottom: 5px;
}

.desc-note {
  font-size: 1.1rem;
  line-height: 1.4;
}

.logo-box {
  display: inline-block;
  border: 1px solid #000;
  padding: 2px 6px;
  font-size: 1.1rem;
  font-weight: bold;
  background: #fff;
  margin-bottom: 5px;
}

.logo-jaf {
  display: inline-block;
  background-color: #001e62;
  color: #fff;
  padding: 2px 8px;
  font-size: 1.2rem;
  font-weight: bold;
  border-radius: 2px;
  margin-bottom: 5px;
}

.badge-outdoor {
  position: absolute;
  top: 0;
  right: -10px;
  background-color: #d95e16;
  color: #fff;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: bold;
  text-align: center;
  line-height: 1.1;
  z-index: 2;
}

.badge-smartphone {
  position: absolute;
  bottom: -5px;
  left: -5px;
  background-color: #e60012;
  color: #fff;
  padding: 5px 8px;
  font-size: 1.2rem;
  font-weight: bold;
  text-align: center;
  line-height: 1.2;
  z-index: 2;
}
.lineline {
  position: relative;
  padding: 80px 0;
  text-align: center;
  width: 960px;
  margin: 0 auto;
  color: #000;
  font-size: 2.0rem;
}

.lineline:before {
  position: absolute;
  top: calc(50% - 1px);
  left: 0;
  width: 100%;
  height: 1px;
  content: '';
  background: #000;
}

.lineline span {
  position: relative;
  padding: 0 1em;
  background: #fff;
}

/* =========================================
   スマホ用レスポンシブ（768px以下）全体まとめ
========================================= */
@media screen and (max-width: 768px) {
  /* -----------------------------
     1. 全体・共通コンテナの幅リセット（はみ出し防止）
  ----------------------------- */
  .w1280,
  .foot_bnrbox,
  .main_v,
  .w1280 .contbox01,
  .w1280 .contbox01 .contbox01_inn01,
  .foot_bnrbox .linksbox,
  .event-wrapper,
  .contbox03_inn01 h2.tit,
  .remongrid,
  .remonbnr,
  .contbox04_inn01 h2.tit {
    width: 100%;
    min-width: 100%; /* PC用の固定幅を解除 */
    box-sizing: border-box;
  }

  /* 見出しの文字サイズと幅の調整 */
  .contbox03_inn01 h2.tit,
  .contbox04_inn01 h2.tit {
    font-size: 2.2rem;
    width: 95%;
  }

  /* -----------------------------
     2. 上部キャンペーンエリア (contbox01)
  ----------------------------- */
  .w1280 .contbox01 .contbox01_inn01 {
    padding: 15px 10px;
    border-width: 3px; 
  }
  .w1280 .contbox01 .contbox01_inn01 .copy {
    margin: 15px 5px;
    font-size: 1.5rem;
  }
  .blackbg .txtflex {
    flex-direction: column; /* 横並びを縦並びに */
  }
  .blackbg .txtflex .tit01,
  .blackbg .txtflex .txt01 {
    width: 100%;
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 10px;
  }
  .w1280 .contbox01 .contbox01_inn01 .grid01 {
    grid-template-columns: 1fr; /* プレゼントを3列から1列に */
  }
  .w1280 .date {
    font-size: 2rem;
  }
  .w1280 .date span {
    display: block;
    width: 90%;
    margin: 10px auto 5px auto;
    font-size: 1.6rem;
  }

  /* -----------------------------
     3. イベントエリア (event-wrapper)
  ----------------------------- */
  .event-wrapper {
    padding: 15px 10px;
  }
  .event-row::after {
    display: none; /* 中央の赤い縦線を消す */
  }
  .event-row {
    flex-direction: column; /* 左右のセルを縦並びに */
  }
  .event-cell {
    width: 100%;
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-right: none !important; /* スマホでは縦線を消す */
    padding-right: 0 !important;
    padding-left: 0 !important;
  }
  .event-cell.f00 {
    padding-top: 0; /* PC用の高さ調整をリセット */
  }
  .event-item-flex.split-top {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 15px;
  }
  /* イベント内の画像とテキストをスマホでは縦並びに */
  .event-item-flex {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .item-img_l, 
  .item-img {
    width: 90%; /* 画像をスマホの画面幅に合わせる */
    margin: 0 auto 10px auto;
  }
  .subtitle {
    text-align: center;
  }

  /* -----------------------------
     4. イエローエリア (remongrid)
  ----------------------------- */
  .remongrid {
    grid-template-columns: 1fr; /* 2列から1列に */
    padding: 0 10px;
  }
  .remongrid .remonflex {
    grid-template-columns: 1fr; /* 画像とテキストも縦並びに */
    text-align: center;
  }
  .remongrid .remonflex .txtbox .noteimg {
    position: static; /* 絶対配置を解除して下に自然に配置 */
    margin-top: 10px;
  }
  .remonbnr {
    grid-template-columns: 1fr; /* バナー3列を1列に */
    padding: 0 10px;
  }

  /* -----------------------------
     5. 車ラインナップ (car-grid)
  ----------------------------- */
  .car-grid {
    grid-template-columns: 1fr; /* 6等分を解除して1列に */
    padding: 0 15px;
  }
  .item.large,
  .item.small {
    grid-column: span 1;
  }
  .item.large:nth-child(1) { margin-left: 0; }
  .item.large:nth-child(2) { margin-right: 0; }
  .item.large img { width: 100%; }
  .item.large a span.link { width: 100%; }

  /* -----------------------------
     6. フッターバナー (foot_bnrbox)
  ----------------------------- */
  .foot_bnrbox .linksbox {
    flex-direction: column; /* 3列を縦1列に */
    padding: 20px 15px;
  }
  .foot_bnrbox .linksbox p {
    text-align: center;
  }
  .foot_bnrbox .linksbox p a img {
    width: 90%;
    max-width: 400px;
  }


  .lineline {
    position: relative;
    padding: 30px 0;
    text-align: center;
    width: 96%;
    margin: 0 auto;
    color: #000;
    font-size: 1.4rem;
  }
  
  .lineline:before {
    position: absolute;
    top: calc(50% - 1px);
    left: 0;
    width: 100%;
    height: 1px;
    content: '';
    background: #000;
  }
  
  .lineline span {
    position: relative;
    padding: 0 1em;
    background: #fff;
  }
  
}


