@charset "UTF-8";
/* CSS Document */
/* =================================================
　共通CSS　/　common.css 
================================================= */
/************************************************
 共通項目
************************************************ */
body, html {
  width: 100%;
  min-width: 320px;
  height: 100vh;
  font-family: YuGothic, "游ゴシック体", "Yu Gothic", "ヒラギノ角ゴ Pro", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  margin: 0;
  padding: 0;
  -webkit-print-color-adjust: exact;
}

body {
  overflow-x: hidden; /* 横方向のオーバーフローを防止 */
}

* {
  box-sizing: border-box;
  text-decoration: none;
}

@media screen and (max-width: 400px) {
  body, html {
    font-size: 15px;
  }
}
@media screen and (min-width: 401px) and (max-width: 480px) {
  body, html {
    font-size: 16px;
  }
}
@media screen and (min-width: 481px) and (max-width: 560px) {
  body, html {
    font-size: 16.5px;
  }
}
@media screen and (min-width: 561px) and (max-width: 640px) {
  body, html {
    font-size: 17px;
  }
}
@media screen and (min-width: 641px) and (max-width: 720px) {
  body, html {
    font-size: 17.5px;
  }
}
@media screen and (min-width: 721px) and (max-width: 800px) {
  body, html {
    font-size: 18px;
  }
}
@media screen and (min-width: 801px) and (max-width: 980px), print {
  body, html {
    font-size: 18.5px;
  }
}
@media screen and (min-width: 981px) and (max-width: 1150px) {
  body, html {
    font-size: 19px;
  }
}
@media screen and (min-width: 1151px) and (max-width: 1499px) {
  body, html {
    font-size: 19.5px;
  }
}
@media all and (min-width: 1500px) {
  body, html {
    font-size: 20px;
  }
}
img {
  width: 100%;
  height: auto;
  vertical-align: bottom;
}

h1,
h2,
h3,
h4,
h5 {
  font-size: 100%;
  line-height: 150%;
  margin: 0;
  padding: 0;
}

/* --- アンカーターゲット位置調整 --- */
:target {
  scroll-margin-top: 70px;
}

/************************************************
 ブラウザリセット
************************************************ */
ul, li {
  margin: 0;
  padding: 0;
}

dl,
dt,
dd {
  margin: 0;
  padding: 0;
  border: 0;
}

a img,
iframe {
  border: none;
}

ul li {
  list-style-type: none;
}

@media (min-width: 751px) {
  a[href*="tel:"] {
    pointer-events: none;
    cursor: default;
    text-decoration: none;
  }
}
/* ***********************************************
 ページ枠 / カラム設定
************************************************ */
/* --- 全画面幅設定 主要コンテナ --- */
#hero {
  max-width: 2560px;
  margin: auto;
  padding-top: 60px; /* ヘッダーの高さ分、下にずらす */
}

@media (max-width: 1454px) {
  /* ヘッダーの高さ分、下にずらす */
  #hero {
    padding-top: 50px;
  }
}
#main-content {
  max-width: 1920px;
  margin: auto;
  padding: 0.5rem;
}

/* --- 全画面幅設定 --- */
.w100 {
  width: 100%;
  margin: 0;
  padding: 0;
}

.w2000 {
  width: 100%;
  max-width: 2000px;
  margin: auto;
  padding: 1%;
}

.w1920 {
  width: 100%;
  max-width: 1920px;
  margin: auto;
  padding: 1%;
}

.w1455 {
  width: 98%;
  max-width: 1455px;
  margin: auto;
  padding: 1%;
}

.w1200 {
  width: 100%;
  max-width: 1200px;
  margin: auto;
  padding: 1%;
}

.w1150 {
  width: 100%;
  max-width: 1150px;
  margin: auto;
  padding: 1%;
}

.w980 {
  width: 100%;
  max-width: 980px;
  margin: auto;
  padding: 1%;
}

.w800 {
  width: 100%;
  max-width: 800px;
  margin: auto;
  padding: 1%;
}

.w600 {
  width: 100%;
  max-width: 600px;
  margin: auto;
  padding: 1%;
}

/* --- 各種ロゴ　全画面幅設定 --- */
.w200-50 {
  width: 50%;
  max-width: 200px;
  margin: 30px auto;
  padding: auto;
}

.w300-60 {
  width: 60%;
  max-width: 300px;
  margin: auto;
  padding: auto;
}

.w400-70 {
  width: 70%;
  max-width: 400px;
  margin: auto;
  padding: auto;
}

.w450-90 {
  width: 90%;
  max-width: 450px;
  margin: auto;
  padding: auto;
}

.w480-95 {
  width: 95%;
  max-width: 480px;
  margin: auto;
  padding: auto;
}

/* --- 旧wrap設定 --- */
#main_wrap {
  width: 100%;
  max-width: 1150px;
  margin: 10px auto auto;
}

#main_wrap_m {
  width: 100%;
  max-width: 980px;
  margin: 10px 0.5% auto;
}

/* --- コメントエリア --- */
.com_wrap {
  width: 100%;
  background-color: #f6f6f6;
  border-radius: 20px;
  padding: 10px 2%;
}

.com_wrap_y {
  width: 100%;
  background-color: #ffffe0;
  border-radius: 20px;
  padding: 10px 2%;
}

.com_wrap_b {
  width: 100%;
  background-color: #d2f2fc;
  border-radius: 20px;
  padding: 10px 2%;
}

.com_wrap_bk {
  width: 100%;
  background-color: #000;
  border-radius: 20px;
  padding: 10px 1%;
  color: #FFF;
}

.com_wrap_g {
  width: 97%;
  background-color: #333;
  color: #fff;
  border-radius: 20px;
  padding: 10px 2%;
  margin: 10px 0 20px;
}

/* ***********************************************
 非表示設定
************************************************ */
@media screen and (max-width: 480px) {
  .ml_part, #ml_part, .l_part, #l_part, .m_part, #m_part {
    display: none;
  }
}
@media screen and (min-width: 481px) and (max-width: 767px) {
  .s_part, #s_part, .l_part, #l_part, .sl_part, #sl_part {
    display: none;
  }
}
@media all and (min-width: 768px), print {
  .s_part, #s_part, .sm_part, #sm_part, .m_part, #m_part {
    display: none;
  }
}
@media screen and (max-width: 767px) {
  .ll_part, #ll_part {
    display: none;
  }
}
@media all and (min-width: 768px), print {
  .ss_part, #ss_part {
    display: none;
  }
}
/************************************************
 インデント
************************************************ */
.t_center {
  text-align: center;
}

.t_left {
  text-align: left;
}

.t_right {
  text-align: right;
}

.center {
  margin-left: auto;
  margin-right: auto;
  padding-left: auto;
  padding-right: auto;
}

/* 1行は中央寄せ、2行以上は左寄せ
----------------------------------------------- */
.text-cl {
  text-align: center;
  width: 100%;
}

.text-cl p, .text-cl h1, .text-cl h2, .text-cl h3, .text-cl h4 {
  display: table;
  text-align: left;
  margin: auto;
}

/************************************************
 フロート/回り込み解除
************************************************ */
.left {
  float: left;
}

.right {
  float: right;
}

.clear {
  clear: both;
}

/* ***********************************************
 余白
************************************************ */
.p0, .pm0 {
  padding: 0;
}

.m0, .pm0 {
  margin: 0;
}

.space10,
.space20,
.space30,
.space40,
.space50,
.space60 {
  clear: both;
}

.space10 {
  padding-top: 10px;
}

.space20 {
  padding-top: 20px;
}

.space30 {
  padding-top: 30px;
}

.space40 {
  padding-top: 40px;
}

.space50 {
  padding-top: 50px;
}

.space60 {
  padding-top: 60px;
}

/************************************************
 フォント
************************************************ */
.bold {
  font-weight: bold;
}

.lighter {
  font-weight: lighter;
}

/* フォントカラー指定
----------------------------------------------- */
.fre {
  color: #f00;
}

.fbl {
  color: #00f;
}

.fbr {
  color: #900;
}

.fbk {
  color: #000;
}

.fwh {
  color: #fff;
}

.fye {
  color: #ff0;
}

.for {
  color: #f60;
}

.fg6 {
  color: #666;
}

.fg9 {
  color: #999;
}

.fgc {
  color: #ccc;
}

.fgr {
  color: #183b16;
}

.fve {
  color: #f04030; /* 朱色 */
}

.fpk {
  color: #f66; /* ピンク */
}

.fsb {
  color: #69c; /* スカイブルー */
}

.fmn {
  color: #1a2a3a; /* ミッドナイトブルー */
}

/* フォントサイズ指定
----------------------------------------------- */
@media screen and (max-width: 480px) {
  .f200 {
    font-size: 160%;
  }
  .f180 {
    font-size: 140%;
  }
  .f160 {
    font-size: 120%;
  }
  .f140 {
    font-size: 110%;
  }
  .f120 {
    font-size: 100%;
  }
  .f110 {
    font-size: 100%;
  }
  .f100 {
    font-soze: 100%;
  }
  .f90 {
    font-size: 90%;
  }
  .f80 {
    font-size: 80%;
  }
  .f70 {
    font-size: 70%;
  }
  .f60 {
    font-size: 60%;
  }
}
@media screen and (min-width: 481px) and (max-width: 800px) {
  .f200 {
    font-size: 180%;
  }
  .f180 {
    font-size: 160%;
  }
  .f160 {
    font-size: 140%;
  }
  .f140 {
    font-size: 120%;
  }
  .f120 {
    font-size: 110%;
  }
  .f110 {
    font-size: 100%;
  }
  .f100 {
    font-soze: 100%;
  }
  .f90 {
    font-size: 90%;
  }
  .f80 {
    font-size: 80%;
  }
  .f70 {
    font-size: 70%;
  }
  .f60 {
    font-size: 60%;
  }
}
@media all and (min-width: 801px), print {
  .f200 {
    font-size: 200%;
  }
  .f180 {
    font-size: 180%;
  }
  .f160 {
    font-size: 160%;
  }
  .f140 {
    font-size: 140%;
  }
  .f120 {
    font-size: 120%;
  }
  .f110 {
    font-size: 110%;
  }
  .f100 {
    font-soze: 100%;
  }
  .f90 {
    font-size: 90%;
  }
  .f80 {
    font-size: 80%;
  }
  .f70 {
    font-size: 70%;
  }
  .f60 {
    font-size: 60%;
  }
}
/************************************************
 hover指定
************************************************ */
/* a:hoverカラー指定
----------------------------------------------- */
.t-hover {
  color: #000;
}

.t-hover a:link {
  color: #000;
}

.t-hover a:visited {
  color: #000;
}

.t-hover a:hover {
  color: #f00;
}

.t-hover a:active {
  color: #f00;
}

.t-hover a {
  text-decoration: none;
}

.bbk .t-hover {
  color: #fff;
}

.bbk .t-hover a:link {
  color: #fff;
}

.bbk .t-hover a:visited {
  color: #fff;
}

.bbk .t-hover a:hover {
  color: #f00;
}

.bbk .t-hover a:active {
  color: #f00;
}

.bbk .t-hover a {
  text-decoration: none;
}

/* a:hover画像処理
----------------------------------------------- */
.opa_box {
  position: relative;
}

.opa_box:hover {
  color: #F00;
}

.opa_box a {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  text-indent: 100%; /*テキスト非表示*/
  white-space: nowrap; /*テキスト非表示*/
  overflow: hidden; /*テキスト非表示*/
}

.opa_box a:hover {
  opacity: 0.5;
  filter: alpha(opacity=50);
  -ms-filter: "alpha( opacity=50 )";
  background: #fff;
}

.bbk .opa_box a:hover {
  background: #000;
  filter: alpha(opacity=0);
  -ms-filter: "alpha( opacity=0 )";
}

.bbk .opa_box:hover {
  filter: brightness(250%);
}

.opa a img:hover {
  filter: alpha(opacity=50);
  -moz-opacity: 0.5;
  opacity: 0.5;
}

.bri a img:hover {
  filter: brightness(150%);
}

a.bri:hover {
  filter: brightness(150%);
}

.lift {
  transition: transform 0.4s ease;
}

.lift:hover {
  transform: translateY(-4px);
}

/************************************************
 ボタン
************************************************ */
.btn, .btn_g, .btn_y, .btn_gr, .btn_nv {
  position: relative;
  display: inline-block;
  padding: 0 4%;
  margin: 20px 0;
  text-decoration: none;
  border-radius: 50px;
  line-height: 2;
}

.btn {
  color: #fff;
  background: #03C;
}

.btn:hover {
  color: #fff;
  background: #09F;
}

.btn_g {
  color: #fff;
  background: #4f4f4f;
}

.btn_g:hover {
  color: #fff;
  background: #7f7f7f;
}

.btn_y {
  color: #fff;
  background: #efc100;
}

.btn_y:hover {
  color: #fff;
  background: #ffd211;
}

.btn_gr {
  color: #fff;
  background: #183b16;
}

.btn_gr:hover {
  color: #fff;
  background: #088A29;
}

.btn_nv {
  color: #fff;
  background: #025;
}

.btn_nv:hover {
  background: #048;
}

/************************************************
 画像を重ねる
************************************************ */
img.overlaid {
  top: 0;
  left: 0;
  position: absolute;
}

/************************************************
 背景色
************************************************ */
.bwh {
  background-color: #fff;
  color: #000;
}

.bbk {
  background-color: #000;
  color: #fff;
}

.bg3 {
  background-color: #333;
  color: #fff;
}

.bg6 {
  background-color: #666;
  color: #fff;
}

.bpk {
  background-color: #F09;
  color: #fff;
}

.blb {
  background-color: #6cf;
  color: #fff;
}

.bdy {
  background-color: #FC0;
  color: #fff;
}

.bbl {
  background: #006;
  color: #fff;
}

.bbr {
  background: #321;
  color: #fff;
}

/************************************************
 リストスタイル
************************************************ */
ol.kome, ol.maru {
  margin-left: -36px;
}

ol.kome li, ol.maru li {
  list-style: none;
  display: flex;
  align-items: baseline;
}

ol.kome li::before, ol.maru li::before {
  color: #000;
  margin: 0 8px 0 0;
}

ol.kome li::before {
  content: "※";
  color: inherit;
}

ol.maru li:before {
  content: "●";
  color: inherit;
}

ol.kome li.kome1::before {
  content: "※1";
}

ol.kome li.kome2::before {
  content: "※2";
}

ol.kome li.kome3::before {
  content: "※3";
}

ol.kome li.kome4::before {
  content: "※4";
}

ol.kome li.kome5::before {
  content: "※5";
}

ol.kome li.kome6::before {
  content: "※6";
}

ol.kome li.kome7::before {
  content: "※7";
}

ol.kome li.kome8::before {
  content: "※8";
}

ol.kome li.kome9::before {
  content: "※9";
}

ol.kome li.kome10::before {
  content: "※10";
}

/************************************************
 TABLE組み
************************************************ */
/* 2分割
----------------------------------------------- */
ul.table2 {
  display: table;
  border-collapse: separate;
  border-spacing: 10px 5px; /* 左右 上下の順で記述 */
  margin-left: auto;
  margin-right: auto;
}

ul.table2 li {
  display: table-cell;
  width: 50%;
  text-align: center;
}

/************************************************
 figureレスポンシブ
************************************************ */
div.fig {
  display: grid;
  width: 100%;
  margin-top: 15px;
  align-items: start;
}

div.fig figure {
  margin: 0;
  padding: 0;
}

div.fig figure img {
  display: block; /* imgの下に生まれる隙間を解消 */
  width: 100%; /* コンテナの幅に合わせる */
  height: auto; /* アスペクト比を維持 */
}

div.fig figure figcaption {
  padding: 4px;
}

/* 全画面共通 */
div.res22 {
  grid-template-columns: repeat(2, 1fr);
}

div.res33 {
  grid-template-columns: repeat(3, 1fr);
}

div.res44 {
  grid-template-columns: repeat(4, 1fr);
}

/* 480px以下 */
@media screen and (max-width: 480px) {
  div.fig {
    gap: 10px;
  }
  div.res112,
  div.res123,
  div.res122 {
    grid-template-columns: repeat(1, 1fr);
  }
  div.res223,
  div.res233,
  div.res234 {
    grid-template-columns: repeat(2, 1fr);
  }
  div.res346,
  div.res357 {
    grid-template-columns: repeat(3, 1fr);
  }
  div.res456,
  div.res457 {
    grid-template-columns: repeat(4, 1fr);
  }
  div.res12 {
    grid-template-columns: repeat(1, 1fr);
  }
  div.res13 {
    grid-template-columns: repeat(1, 1fr);
  }
  div.res23 {
    grid-template-columns: repeat(2, 1fr);
  }
  div.res24 {
    grid-template-columns: repeat(2, 1fr);
  }
  div.res34,
  div.res36 {
    grid-template-columns: repeat(3, 1fr);
  }
}
/* 481px 〜 767px */
@media screen and (min-width: 481px) and (max-width: 767px) {
  div.fig {
    gap: 15px;
  }
  div.res112 {
    grid-template-columns: repeat(1, 1fr);
  }
  div.res122,
  div.res123,
  div.res223 {
    grid-template-columns: repeat(2, 1fr);
  }
  div.res233,
  div.res234 {
    grid-template-columns: repeat(3, 1fr);
  }
  div.res346 {
    grid-template-columns: repeat(4, 1fr);
  }
  div.res357,
  div.res456,
  div.res457 {
    grid-template-columns: repeat(5, 1fr);
  }
  div.res12,
  div.res13 {
    grid-template-columns: repeat(1, 1fr);
  }
  div.res23,
  div.res24 {
    grid-template-columns: repeat(2, 1fr);
  }
  div.res34,
  div.res36 {
    grid-template-columns: repeat(3, 1fr);
  }
}
/* 768px以上： */
@media screen and (min-width: 768px) {
  div.fig {
    gap: 20px;
  }
  div.res112,
  div.res122 {
    grid-template-columns: repeat(2, 1fr);
  }
  div.res123,
  div.res223,
  div.res233 {
    grid-template-columns: repeat(3, 1fr);
  }
  div.res234 {
    grid-template-columns: repeat(4, 1fr);
  }
  div.res346,
  div.res456 {
    grid-template-columns: repeat(6, 1fr);
  }
  div.res357,
  div.res457 {
    grid-template-columns: repeat(7, 1fr);
  }
  div.res12 {
    grid-template-columns: repeat(2, 1fr);
  }
  div.res13,
  div.res23 {
    grid-template-columns: repeat(3, 1fr);
  }
  div.res34,
  div.res24 {
    grid-template-columns: repeat(4, 1fr);
  }
  div.res36 {
    grid-template-columns: repeat(6, 1fr);
  }
}
/************************************************
 画像一括処理
************************************************ */
/*-- imgを角丸に --*/
.radius img {
  border-radius: 8px;
}

/*-- imgに影を付ける --*/
.shadow img {
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

/************************************************
 YOUTUBEレスポンシブ
************************************************ */
.youtube_bk {
  padding: 5px 2%;
  background-color: #000;
}

.youtube {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
}

.youtube iframe {
  position: absolute;
  top: 0;
  right: 0;
  width: 100% !important;
  height: 100% !important;
}

/* CSS Document */
/* --- 1. 基本設定（すべてのアイコン共通） --- */
.fab, .far, .fas, .fa-regular, .fa-solid {
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  display: inline-block;
  font-style: normal;
  font-variant: normal;
  text-rendering: auto;
  line-height: 1;
  font-weight: 400;
}

/* --- 2. 各スタイルごとのフォント定義 --- */
/* Brands (SNS用) */
.fab {
  font-family: "Font Awesome 6 Brands";
}

@font-face {
  font-family: "Font Awesome 6 Brands";
  src: url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.2/webfonts/fa-brands-400.woff2") format("woff2");
}
/* Regular (PDF用) */
.far, .fa-regular {
  font-family: "Font Awesome 6 Free";
  font-weight: 400;
}

@font-face {
  font-family: "Font Awesome 6 Free";
  font-style: normal;
  font-weight: 400;
  src: url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.2/webfonts/fa-regular-400.woff2") format("woff2");
}
/* Solid (矢印用) */
.fas, .fa-solid {
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
}

@font-face {
  font-family: "Font Awesome 6 Free";
  font-style: normal;
  font-weight: 900;
  src: url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.2/webfonts/fa-solid-900.woff2") format("woff2");
}
/* --- 3. 個別アイコンの定義 --- */
/* Facebook */
.fa-facebook-f:before {
  content: "\f39e";
}

/* Instagram */
.fa-instagram:before {
  content: "\f16d";
}

/* YouTube */
.fa-youtube:before {
  content: "\f167";
}

/* LINE (将来用) */
.fa-line:before {
  content: "\f3c0";
}

/* PDF (fa-file-pdf / Regular) */
.fa-file-pdf:before {
  content: "\f1c1";
}

/* 外部リンク (fa-arrow-up-right-from-square / Solid) */
.fa-arrow-up-right-from-square:before {
  content: "\f08e";
}

/* Information Circle */
.fa-circle-info:before {
  content: "\f05a";
}

/* --- 4. 追加設定 / フッターアイコン用 --- */
.fab {
  background-color: #022;
}

.bbk .fab {
  background-color: #000;
}

.fa-brands, .fab {
  border: 1px solid;
  border-radius: 50%;
  padding: 9px 7.5px;
  width: 50px;
  height: 50px;
}

/* CSS Document */
/* =================================================
   ヘッダー
================================================= */
/* --- ヘッダーナビゲーション (PCデフォルト) --- */
.header-nav {
  box-sizing: border-box;
  background-color: #000; /* 黒い背景 */
  color: #fff;
  border-bottom: 1px solid #222;
  width: 100%;
  padding: 10px 3%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed; /* 画面上部に固定 */
  top: 0;
  left: 0;
  z-index: 100; /* 最前面に表示 */
  transition: transform 0.4s ease, background-color 0.4s ease; /* アニメーションを滑らかに */
}

/* スクロールで隠す設定 */
.header-nav.header-hide {
  transform: translateY(-100%); /* ヘッダーを上に押し出す */
}

/* 背景の透過・すりガラス効果（スクロール後） */
.header-nav.is-scrolled {
  background-color: rgba(0, 0, 0, 0.6) !important; /* 少し透かした黒 */
  backdrop-filter: blur(10px); /* 背景をぼかす（すりガラス） */
  -webkit-backdrop-filter: blur(10px); /* Safari用 */
  border-bottom: 1px solid rgba(255, 255, 255, 0.1); /* 境目に細いライン */
}

/* モバイル表示時の調整 */
@media screen and (max-width: 1454px) {
  .header-nav.is-scrolled {
    padding: 5px 3%; /* スクロールしたら少し高さを詰める */
  }
}
/* --- ロゴ表示 --- */
.logo-link {
  display: block;
  transition: opacity 0.3s;
}

.logo-link:hover {
  opacity: 0.6; /* ホバーで60%透過 */
}

.logo-image {
  height: 40px; /* PCでのロゴの高さ */
  width: auto;
  display: block;
}

.logo-wrapper {
  margin: 0;
  padding: 0;
  display: block;
  font-size: 0; /* 余計な隙間を排除 */
}

/* typeごとのロゴ、ナビのサイズ調整 */
.header-nav.morgan,
.header-nav.caterham,
.header-nav.itabashi {
  padding: 5px 3%;
}

.header-nav.morgan .logo-image,
.header-nav.caterham .logo-image,
.header-nav.itabashi .logo-image {
  height: 50px;
}

/* --- メニュー (PC表示) --- */
.main-menu ul {
  display: flex;
  gap: 25px;
}

.main-menu a {
  color: #fff;
  font-size: 15px;
  padding: 5px 0;
  white-space: nowrap;
  font-family: Arial, sans-serif;
}

.main-menu a:link {
  color: #fff;
}

.main-menu a:visited {
  color: #fff;
}

.main-menu a:hover {
  color: #69f;
}

.main-menu a:active {
  color: #69f;
}

.main-menu a {
  text-decoration: none;
}

/* ハンバーガーボタン (PCでは非表示) */
.menu-toggle {
  display: none;
}

/* --- ヘッダーの背後（隙間）を埋める黒い領域 --- */
.header-bg-gap {
  background-color: #000;
  width: 100%;
  /* PC（1455px以上）の時の高さ：padding 10px*2 + logo 40px = 60px */
  height: 60px;
  position: absolute; /* fixedではなくabsoluteにすることでページ最上部に留まる */
  top: 0;
  left: 0;
  z-index: 90; /* ヘッダー(100)より下、HEROより上 */
}

/* レスポンシブ（1454px以下）の時の高さ調整 */
@media screen and (max-width: 1454px) {
  .header-bg-gap {
    /* padding 10px*2 + logo 30px = 50px */
    height: 50px;
  }
}
/* =================================================
   背景動画
================================================= */
/* --- 背景動画の共通設定 --- */
.header-video-container {
  position: relative;
  width: 100%;
  /* ビデオの高さをウィンドウの高さに設定 */
  height: 100vh;
  overflow: hidden;
}

/* 背景動画の設定 */
.header-video-container video {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -o-object-fit: cover;
     object-fit: cover; /* コンテナーを覆うようにトリミング */
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: -1;
}

@media all and (max-width: 767px) {
  .header-video-container {
    height: 82vh;
  }
}
/* 画像上に表示するキャッチコピー */
.header-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 95%;
  text-align: center;
  color: #fff;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  z-index: 10;
  font-weight: bold;
  font-size: clamp(1.4rem, 5vw, 3.5rem);
  white-space: nowrap;
  font-family: Arial, sans-serif;
}

@media all and (max-width: 480px) {
  .header-content span {
    padding-left: 5%;
  }
}
@media all and (min-width: 481px) {
  .header-content span {
    padding-left: 15%;
  }
}
/* SUBコピー */
.header-copy {
  font-family: Arial, sans-serif;
  color: #999;
}

.header-copy:first-letter {
  font-size: 2em;
  color: #7172ac;
  font-weight: bold;
}

/* =================================================
   ヒーローセクション
   (スライドショー　※hero-slider.jsと連動)
================================================= */
.hero-slider {
  /*top: 60px;*/
  position: relative;
  height: 76vh;
  overflow: hidden;
  margin-bottom: 30px;
}

.hero-slider img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center;
     object-position: center;
}

@media (min-width: 768px) and (max-width: 1023px) {
  .hero-slider {
    height: 64vh;
  }
}
@media (min-width: 481px) and (max-width: 767px) {
  .hero-slider {
    height: 52vh;
  }
}
@media all and (max-width: 480px) {
  .hero-slider {
    height: 40vh;
  }
}
.slide-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.5s ease-in-out; /* フェードイン・アウトのアニメーション */
}

.slide-item.active {
  opacity: 1;
}

/* =================================================
   メディアクエリによるレイアウト調整
================================================= */
/* タブレット・スマホスタイル (991px以下) */
@media screen and (max-width: 1454px) {
  /* ロゴサイズの変更 */
  .logo-image {
    height: 30px;
  }
  .header-nav.morgan .logo-image,
  .header-nav.caterham .logo-image,
  .header-nav.itabashi .logo-image {
    height: 40px;
  }
  /* スクロールしたら少し高さを詰める */
  .header-nav.is-scrolled {
    padding: 5px 3%;
  }
  /* ヘッダーの背後（隙間）を埋める黒い領域 */
  .header-bg-gap {
    height: 50px;
  }
  /* --- ハンバーガーメニュー関連 --- */
  .main-menu {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #222;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-in-out;
  }
  /* メニューがオープンしたときのスタイル */
  .header-nav.menu-open .main-menu {
    max-height: 500px; /* すべてのメニュー項目を表示できる高さ */
  }
  .main-menu ul {
    display: block; /* 縦並びに配置 */
    padding: 10px 0;
  }
  .main-menu li a {
    display: block;
    padding: 15px 30px;
    border-bottom: 1px solid #444;
  }
  .main-menu li:last-child a {
    border-bottom: none;
  }
  /* ハンバーガーメニューボタンの表示 */
  .menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 10;
  }
  .menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: #fff;
    transition: all 0.3s;
  }
  /* Xマークアニメーション */
  .header-nav.menu-open .menu-toggle span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  .header-nav.menu-open .menu-toggle span:nth-child(2) {
    opacity: 0;
  }
  .header-nav.menu-open .menu-toggle span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }
  /* --- 動画の映り込み位置変更 (スマホ向け) --- */
  .header-video-container video {
    /* 補足 縦長スマホでは縦に大きく表示し、中央寄りの位置を主に表示 */
    -o-object-position: 50% 30%;
       object-position: 50% 30%;
    min-width: 100%;
    min-height: 150%;
  }
}
/* 中型タブレット横向き (768pxから1023px) */
@media screen and (min-width: 768px) and (max-width: 1023px) {
  /* 補足 中央より左寄りの位置を主に表示 */
  .header-video-container video {
    -o-object-position: 40% 50%;
       object-position: 40% 50%;
    min-width: 120%;
    min-height: 100%;
  }
}
/* CSS Document */
/* =================================================
フッター / footer.css
================================================= */
/************************************************
 本サイト限定の設定
************************************************ */
/* フッター全体の設定 */
footer,
footer * {
  box-sizing: border-box;
  text-decoration: none;
}

/* 色調整 */
.footer-top {
  background-color: #f0f0f3;
  color: #fff;
}

.bbk .footer-top {
  background-color: #000;
  color: #fff;
}

.footer-second {
  background-color: #f0f0f3;
  border-top: 1px solid #fff;
}

.footer-middle {
  background: #022;
  color: #fff;
}

.footer-bottom {
  background: #001919;
  color: #999;
}

.bbk .footer-top {
  background-color: #000;
  color: #fff;
}

.bbk .footer-second {
  background-color: #000;
  border-top: 1px solid #333;
}

.bbk .footer-middle {
  background-color: #111;
  color: #fff;
}

.bbk .footer-bottom {
  background-color: #000;
  color: #888;
}

/************************************************
 フッターメインエリア設定
************************************************ */
/* --- 全体コンテナーと幅の設定 --- */
.main-footer {
  width: 100%;
  margin-top: 50px 0 0;
  padding: 0;
  font-family: Arial, sans-serif, YuGothic, "游ゴシック体", "Yu Gothic", "ヒラギノ角ゴ Pro", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic";
}

.footer-band {
  width: 100%;
  padding: 20px 0;
}

.container {
  width: 90%;
  max-width: 1200px; /* PCでの最大幅 */
  margin: 0 auto;
}

/* --- 1. 上部エリア --- */
.footer-top {
  padding: 50px 0 20px;
  text-align: center;
}

.footer-cta-buttons {
  display: flex;
  flex-direction: column; /* スマホは縦並び */
  gap: 35px;
  align-items: center;
  justify-content: center;
  padding: 10px 0 30px;
}

.cta-button {
  display: flex; /* 中央揃えを確実にするため */
  align-items: center;
  justify-content: center;
  /* ボタンサイズを統一 */
  width: 100%;
  max-width: 280px;
  height: 56px; /* 高さを固定して揃える */
  font-size: clamp(18px, 1.1rem, 20px);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-decoration: none;
  border-radius: 25px;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
}

/* お問い合わせ */
.cta-button.contact {
  background-color: #d00;
  color: #fff;
  border: none;
  box-shadow: 0 2px 4px rgba(208, 0, 0, 0.3);
}

/* 試乗予約 */
.cta-button.reserve {
  background-color: #111;
  color: #fff;
  border: 2px solid #333;
}

/* ホバーエフェクト */
.cta-button:hover {
  opacity: 1;
  transform: translateY(-2px); /* 軽く浮き上がる */
}

.cta-button.contact:hover {
  background-color: #f10; /* より明るい赤へ */
  box-shadow: 0 4px 8px rgba(208, 0, 0, 0.3);
}

.cta-button.reserve:hover {
  background-color: #222;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

/* PC表示（横並び） */
@media screen and (min-width: 768px) {
  .footer-cta-buttons {
    flex-direction: row; /* 横並び */
    gap: 50px;
  }
}
/* --- 2. セカンドエリア --- */
.footer-second {
  padding: 45px 0 30px;
  text-align: center;
}

.social-icons {
  margin-bottom: 10px;
}

.social-icons a {
  color: #fff;
  font-size: 30px;
  padding: 20px;
  transition: color 0.1s;
}

.social-icons a:hover {
  color: #69f;
}

/* --- 3. 中間エリア --- */
.footer-middle {
  padding: 50px 0;
}

.footer-main-menu {
  display: flex;
  flex-direction: column; /* デフォルト（スマホ）は縦に並べる */
  gap: 0;
}

.footer-column {
  border-bottom: 1px solid #333;
}

.footer-column:last-child {
  border-bottom: none;
}

.column-title {
  font-size: 16px;
  padding: 15px 0;
  cursor: pointer; /* タップ/クリック可能であることを示す */
  position: relative;
}

/* スマホ用のプルダウンアイコン */
.column-title::after {
  content: "+";
  position: absolute;
  right: 0;
  font-size: 20px;
  transition: transform 0.3s;
}

/* メニューが開いている状態のアイコン */
.column-title.active::after {
  content: "-";
  transform: rotate(0);
}

/* サブメニューリスト (スマホでのアニメーション初期状態) */
.submenu-list {
  /* JSでmax-heightを開閉する */
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out; /* max-height のみアニメーション */
  padding-bottom: 0; /* JSによるインライン設定をしないため、CSSで管理 */
}

.submenu-list li {
  padding: 8px 0; /* リスト項目上下部にパディングを追加 */
}

.submenu-list a {
  color: #aaa;
  display: block;
  font-size: 14px;
}

.submenu-list a:hover {
  color: #69f;
}

/* --- スマホで開いた際のリスト下部の調整 --- */
@media screen and (max-width: 767px) {
  .submenu-list li:last-child {
    padding-bottom: 25px;
  }
  .u-line {
    border-bottom: 1px solid #333; /* 2段にする場合下線を追加 */
  }
}
/* --- 4. 下部エリア --- */
.footer-bottom {
  padding: 15px 0;
}

.footer-bottom-content {
  text-align: center;
}

.footer-logo {
  width: 50%;
  max-width: 200px;
  margin: 30px auto;
  text-align: center;
}

.footer-logo a {
  display: inline-block;
  transition: opacity 0.3s;
}

.footer-logo a img {
  display: block;
}

.footer-logo a:hover {
  opacity: 0.6;
}

.copyright {
  font-size: 12px;
}

/* --- メディアクエリ (PC/タブレットの横画面スタイル: min-width: 768px) --- */
@media screen and (min-width: 768px) {
  /* 3. 中間エリア (メインメニュー) - 横並びにする */
  .footer-main-menu {
    flex-direction: row; /* 横に並べる */
    justify-content: space-between;
    gap: 30px;
    padding: 20px 0;
  }
  .footer-column {
    width: 30%; /* カラム幅を調整 */
    border-bottom: none; /* 区切り線を削除 */
  }
  /* タイトル */
  .column-title {
    cursor: default; /* クリック不可にする */
    padding: 0 0 15px 0;
    font-size: 18px;
  }
  /* プルダウンアイコンを非表示 */
  .column-title::after {
    content: none;
  }
  /* サブメニューリスト (PCでは常に表示) */
  .submenu-list {
    max-height: none !important; /* PCでは高さを自動にして常に表示 */
    overflow: visible;
    padding-bottom: 0;
  }
  .submenu-list li {
    padding-bottom: 8px; /* PC用のパディングに調整 */
  }
  .submenu-list li:last-child {
    padding-bottom: 8px; /* PC用のパディングに調整 */
  }
}
/************************************************
 スクロールトップボタン
************************************************ */
.scroll-to-top {
  position: fixed; /* 画面右下に固定 */
  bottom: 20px; /* 下からの位置 */
  right: 20px; /* 右からの位置 */
  width: 60px; /* 固定サイズ */
  height: 60px; /* 固定サイズ */
  /* デザイン */
  background-color: #2c3e50; /* 濃い青/黒に近い背景色 */
  border: none;
  border-radius: 50%; /* 円形 */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3); /* 影で立体感 */
  cursor: pointer;
  /* 矢印の配置 */
  display: flex;
  justify-content: center;
  align-items: center;
  /* 非表示設定（JavaScriptで切り替える） */
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px); /* わずかに下から出現するアニメーション */
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, background-color 0.3s ease;
  /* 矢印の色と太さ (SVGの調整) */
  padding: 0; /* paddingをリセット */
}

/* 矢印SVGのスタイル */
.scroll-to-top svg {
  width: 50%; /* ボタンサイズの50%に設定 */
  height: 50%;
}

/* 矢印の線（stroke）を白くして黒背景で目立たせる */
.scroll-to-top svg path {
  stroke: #ecf0f1; /* 明るいグレー (白に近い) */
  fill: none;
  stroke-width: 5;
  transition: stroke 0.3s ease;
}

/* ホバー/タップ効果 */
.scroll-to-top:hover, .scroll-to-top:active {
  background-color: #3498db; /* ホバーで鮮やかな青に変更 */
  box-shadow: 0 6px 15px rgba(52, 152, 219, 0.5); /* 青いハイライトの影 */
}

.scroll-to-top:hover svg path, .scroll-to-top:active svg path {
  stroke: #ffffff; /* ホバーで矢印の色を純粋な白に */
}

/* JavaScriptでクラスが付与された時の表示スタイル */
.scroll-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* ============================================================
   1. Swiper初期化前の表示制御
============================================================ */
.swiper-slide.no-effect {
  opacity: 1 !important;
  z-index: 100 !important;
  visibility: visible !important;
}

.no-effect img {
  animation: none !important;
  clip-path: none !important;
  filter: none !important;
  transform: none !important;
}

/* ============================================================
   2. スライダー基本設定
============================================================ */
.swiper {
  width: 100%;
  background: #fff;
  overflow: hidden;
  position: relative;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.4);
  margin-bottom: 20px;
}

.swiper-wrapper {
  width: 100%;
  height: auto;
  position: relative; /* 重複していた位置指定を統合 */
}

/* --- レスポンシブ：アスペクト比の一括管理 --- */
@media screen and (min-width: 961px) {
  .swiper-wrapper {
    aspect-ratio: 12/5;
    max-height: 85vh;
  }
}
@media screen and (min-width: 768px) and (max-width: 960px) {
  .swiper-wrapper {
    aspect-ratio: 3/2;
  }
}
@media screen and (min-width: 481px) and (max-width: 767px) {
  .swiper-wrapper {
    aspect-ratio: 1/1;
  }
}
@media screen and (max-width: 480px) {
  .swiper-wrapper {
    aspect-ratio: 4/5;
  }
}
/* --- スライド内要素のフィッティング --- */
.swiper-slide {
  position: absolute !important;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0 !important;
  z-index: 1;
  pointer-events: none;
  visibility: hidden;
}

/* リンク・picture・imgをすべて枠いっぱいに広げる */
.swiper-slide a.slide-link,
.swiper-slide picture,
.swiper-slide img {
  display: block;
  width: 100% !important;
  height: 100% !important;
  -o-object-fit: cover;
     object-fit: cover;
  text-decoration: none;
}

/* ============================================================
   3. スライドの重なり制御（JS用）
============================================================ */
.swiper-slide.is-previous-view {
  opacity: 1 !important;
  z-index: 10 !important;
  visibility: visible !important;
}

.swiper-slide-active,
.swiper-slide-duplicate-active {
  opacity: 1 !important;
  z-index: 20 !important;
  visibility: visible !important;
  pointer-events: auto;
}

/* ============================================================
   4. ページネーション設定
============================================================ */
.swiper-pagination {
  bottom: 20px !important;
  display: flex;
  justify-content: center;
  gap: 18px;
  z-index: 110;
}

.swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: #eee;
  opacity: 1;
  margin: 0 !important;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  cursor: pointer;
}

.swiper-pagination-bullet-active {
  background: #000 !important;
}

.swiper-pagination-bullet svg {
  position: absolute;
  width: 14px;
  height: 14px;
  top: -2px;
  left: -2px;
  transform: rotate(-90deg);
}

.swiper-pagination-bullet circle {
  fill: none;
  stroke: #f00;
  stroke-width: 2;
  stroke-dasharray: 38;
  stroke-dashoffset: 38;
  transition: none;
}

/* ============================================================
   5. アニメーションエフェクト
============================================================ */
.effect-1.swiper-slide-active img {
  animation: anim-5 1.5s ease-out forwards;
}

@keyframes anim-5 {
  0% {
    transform: scale(1.1);
    opacity: 0;
    filter: saturate(0);
  }
  100% {
    transform: scale(1);
    opacity: 1;
    filter: saturate(1);
  }
}
.effect-2.swiper-slide-active img {
  animation: anim-3 1.8s ease-out forwards;
}

@keyframes anim-3 {
  0% {
    filter: blur(25px);
    opacity: 0;
    transform: scale(1.1);
  }
  100% {
    filter: blur(0);
    opacity: 1;
    transform: scale(1);
  }
}
.effect-3.swiper-slide-active img {
  animation: anim-6 2s ease-out forwards;
}

@keyframes anim-6 {
  0% {
    transform: scale(1.3);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}
.effect-4.swiper-slide-active img {
  animation: anim-4 1.5s ease-in-out forwards;
}

@keyframes anim-4 {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
.effect-5.swiper-slide-active img {
  animation: anim-1 1.5s ease-out forwards;
}

@keyframes anim-1 {
  0% {
    clip-path: circle(0% at 50% 50%);
    opacity: 0;
  }
  100% {
    clip-path: circle(100% at 50% 50%);
    opacity: 1;
  }
}
.effect-6.swiper-slide-active img {
  animation: anim-2 1.5s ease-in-out forwards;
}

@keyframes anim-2 {
  0% {
    clip-path: inset(40% 0 40% 0);
    opacity: 0;
    transform: scale(1.05);
  }
  100% {
    clip-path: inset(0 0 0 0);
    opacity: 1;
    transform: scale(1);
  }
}
.effect-7.swiper-slide-active img {
  animation: anim-7 1.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

@keyframes anim-7 {
  0% {
    transform: rotate(-5deg) scale(0.9);
    opacity: 0;
  }
  100% {
    transform: rotate(0deg) scale(1);
    opacity: 1;
  }
}
.effect-8.swiper-slide-active img {
  animation: anim-8 1.5s ease-in-out forwards;
}

@keyframes anim-8 {
  0% {
    clip-path: polygon(0 0, 0 0, 0 0, 0 0);
    opacity: 0;
  }
  100% {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    opacity: 1;
  }
}
/* CSS Document */
/* =================================================
　トップページCSS　/　top-page.css 
================================================= */
/* ***********************************************
　トップページカラム設定
************************************************ */
#upper-container {
  width: 100%;
  max-width: 1455px;
  margin: auto;
  padding: 0.5rem;
}

#lower-container {
  width: 100%;
  padding: 5px 0 10px;
  margin: 50px 0 0;
  background: #f0f0f3;
}

#lower-container .lower-wrapper {
  width: 100%;
  max-width: 1455px;
  margin: auto;
  padding: 0.5rem;
}

/* ***********************************************
 TOP COLUMN　（Dealer & Lineup）
************************************************ */
/* Meet the Witham Cars
----------------------------------------------- */
/* 外側のコンテナ */
.top-meet-banner {
  width: 100%;
  max-width: 800px;
  margin: 30px auto 40px;
  text-align: center;
  padding: 0 15px;
  box-sizing: border-box;
}

/* リンク本体 */
.top-meet-link {
  display: inline-block;
  text-decoration: none;
  padding: 15px 40px;
  border-top: 1px solid #eaeaea;
  border-bottom: 1px solid #eaeaea;
  transition: all 0.4s ease;
  position: relative;
}

/* --- ヘッダー（国旗 + Subtitle） --- */
.top-meet-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 3px;
}

/* 国旗画像 */
.top-meet-flag {
  height: 12px;
  width: auto;
  display: inline-block;
  vertical-align: middle;
}

/* サブテキスト */
.top-meet-subtitle {
  color: #800000;
  font-size: 0.8rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  font-family: serif;
}

/* --- メインテキスト --- */
.top-meet-title {
  display: block;
  color: #000000;
  font-size: 1.8rem;
  margin: 0;
  font-weight: 400;
  letter-spacing: 0.1em;
  line-height: 1.2;
  font-family: "Times New Roman", serif;
}

.top-meet-bold {
  font-weight: 700;
}

/* --- ディーラーテキスト：グレー --- */
.top-meet-dealer {
  display: block;
  color: #888888;
  font-size: 0.8rem;
  margin: 4px 0 0 0;
  letter-spacing: 0.1em;
  font-family: sans-serif;
  line-height: 1.2;
}

/* --- ホバー時の演出 --- */
.top-meet-link:hover {
  border-color: #800000;
  background-color: #fafafa;
}

/* ホバー */
.top-meet-link:hover .top-meet-title {
  color: #333;
}

/* --- レスポンシブデザイン --- */
@media (max-width: 767px) {
  .top-meet-banner {
    margin: 30px auto 50px;
  }
  .top-meet-link {
    padding: 12px 20px;
    width: 80%;
  }
  .top-meet-subtitle {
    font-size: 0.7rem;
  }
  .top-meet-title {
    font-size: 1.5rem;
  }
  .top-meet-dealer {
    font-size: 0.7rem;
  }
}
@media (max-width: 480px) {
  .top-meet-banner {
    margin: 20px auto 40px;
  }
  .top-meet-link {
    padding: 12px 20px;
    width: 98%; /* スマホでは幅を広げる */
  }
  .top-meet-subtitle {
    font-size: 0.6rem;
  }
  .top-meet-title {
    font-size: 1.3rem;
  }
  .top-meet-dealer {
    font-size: 0.6rem;
  }
}
/* 一言コメント
----------------------------------------------- */
/* ベースのコンテナ */
div.top-comment {
  width: 94%;
  max-width: 1150px;
  margin: 20px auto 60px;
  font-family: "Times New Roman", "Playfair Display", "Yu Mincho", serif;
}

div.top-comment dl {
  display: flex;
  align-items: center;
  border-top: 1px solid #d1d1d1;
  border-bottom: 1px solid #d1d1d1;
  padding: 15px 0;
  position: relative;
}

/* ラベル部分 */
div.top-comment dt {
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  font-weight: bold;
  color: #8b0000;
  padding: 2px 12px;
  border-left: 3px solid #8b0000;
  margin: 0 20px 0 10px;
  flex-shrink: 0;
}

/* コメント部分 */
div.top-comment dd {
  flex-grow: 1;
  margin: 0;
  color: #8b0000;
  font-size: 1rem;
  line-height: 1.6;
  overflow: hidden;
}

/* 1行なら中央、2行なら左寄せ */
div.top-comment dd p {
  display: table;
  margin: 0 auto;
  text-align: left;
}

/* リンクの設定 */
div.top-comment dd a {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.3s ease;
  border-bottom: 1px solid transparent;
}

div.top-comment dd a:hover {
  opacity: 0.8;
  border-bottom: 1px solid #8b0000;
}

/* レスポンシブ対応 */
@media screen and (max-width: 767px) {
  div.top-comment dl {
    flex-direction: column;
    padding: 12px 0;
  }
  div.top-comment dt {
    border-left: none;
    border-bottom: 2px solid #8b0000;
    margin-right: 0;
    margin-bottom: 15px;
    padding: 0 0 2px 0;
    font-size: 1.2rem;
  }
  div.top-comment dd {
    width: 100%;
    font-size: 0.9rem;
  }
}
/* STOCK CAR LIST タイトル＆バナー
----------------------------------------------- */
/* 全体を囲むリンクコンテナ */
.sct-link-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none; /* 下線を消す */
  width: calc(100% - 20px);
  max-width: 600px;
  margin: 40px auto;
  cursor: pointer;
}

/* タイトル部分（以前のデザインを継承） */
.sct-title {
  font-family: "Playfair Display", "Times New Roman", serif;
  font-size: 2.2rem;
  font-weight: 600;
  color: #2c2c2c;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  text-align: center;
  margin-bottom: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.7;
}

.sct-title span {
  display: block;
  font-family: "Inter", sans-serif;
  font-size: 0.9rem;
  font-weight: 400;
  color: #8a8a8a;
  letter-spacing: 0.1em;
  text-transform: none;
}

/* ボタン本体 */
.sct-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #1a1a1a;
  color: #ccc;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  padding: 15px 20px;
  border-radius: 20px;
  transition: background-color 0.4s ease, color 0.4s ease;
  width: 100%;
  max-width: 400px;
  box-sizing: border-box;
  letter-spacing: 0.15em;
}

/* アイコン（〇の中に矢印） */
.sct-icon {
  display: inline-block;
  width: 24px;
  height: 24px;
  border: 2px solid #b0914f;
  border-radius: 50%;
  margin-left: 15px;
  position: relative;
  transition: all 0.4s ease;
  flex-shrink: 0;
}

/* 矢印（CSSで描画） */
.sct-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 45%;
  width: 6px;
  height: 6px;
  border-top: 2px solid #b0914f;
  border-right: 2px solid #b0914f;
  transform: translate(-50%, -50%) rotate(45deg);
  transition: all 0.4s ease;
}

/* --- ホバー時の変化 --- */
.sct-link-container:hover .sct-btn {
  background-color: #123;
  color: #b0914f;
}

.sct-link-container:hover .sct-icon {
  background-color: #b0914f;
}

.sct-link-container:hover .sct-icon::after {
  border-color: #123;
}

/* --- レスポンシブ対応 --- */
/* タブレット・スマホ（768px以下） */
@media (max-width: 768px) {
  .sct-title {
    font-size: 1.6rem;
  }
  .sct-btn {
    font-size: 0.9rem;
    padding: 12px 20px;
  }
}
/* 極小画面（360px以下） */
@media (max-width: 360px) {
  .sct-title {
    font-size: 1.2rem;
  }
  .sct-title span {
    font-size: 0.8rem;
  }
  .sct-btn {
    font-size: 0.85rem;
    padding: 10px 15px;
  }
  .sct-icon {
    margin-left: 10px;
  }
}
/* 中古車・取り扱いメーカー
----------------------------------------------- */
/* 中古車・取り扱いメーカー
----------------------------------------------- */
.top-ucbs-wrap {
  width: 100%;
  /* 1200pxから980pxに変更 */
  max-width: 980px;
  margin: 10px auto 40px;
}

.top-ucbs {
  width: 100%;
  margin: 10px auto;
}

/* リスト全体のスタイル：Flexboxで中央揃え */
ul.top-ucbs-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center; /* 横方向の中央揃え */
  list-style: none;
  padding: 0;
  margin: 0;
}

/* 各ロゴの幅（PC時：6個並ぶ設定） */
ul.top-ucbs-list li {
  width: 16.6%; /* 100% / 6個 */
  box-sizing: border-box;
}

ul.top-ucbs-list li img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* --- レスポンシブ設定 --- */
/* 767px以下：KTMを非表示 */
@media screen and (max-width: 767px) {
  .item-ktm {
    display: none;
  }
  /* 残り5個になるので幅を調整 */
  ul.top-ucbs-list li {
    width: 20%;
  }
}
/* 640px以下：さらにMINIを非表示（最終的に4つ） */
@media screen and (max-width: 640px) {
  .item-mini {
    display: none;
  }
  /* 残り4個になるので幅を調整 */
  ul.top-ucbs-list li {
    width: 25%;
  }
}
/************************************************
 event/news/workshop　バナー
************************************************ */
/* --- News Topics 下部 誘導ボタンセクション --- */
.nav-gate-section {
  width: 100%;
  padding: 70px 0 40px;
  font-family: Arial, sans-serif, YuGothic, "游ゴシック体", "Yu Gothic", "ヒラギノ角ゴ Pro", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic";
}

.nav-gate-container {
  width: 96%;
  max-width: 1200px;
  margin: 0 auto;
}

/* ボタンの外枠（スマホは縦並び） */
.nav-gate-wrapper {
  display: flex;
  flex-direction: column;
  gap: 35px;
  align-items: center;
  justify-content: center;
}

/* ボタン共通の独自スタイル */
.nav-gate-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 280px;
  height: 56px;
  font-size: clamp(17px, 1.1rem, 19px);
  font-weight: 700;
  letter-spacing: 0.08em; /* 既存デザインより少し広めに設定して視認性アップ */
  text-decoration: none;
  border-radius: 28px; /* 既存より少し丸みを強調 */
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  box-sizing: border-box;
  position: relative;
}

/* ホバー挙動 */
.nav-gate-btn:hover {
  transform: translateY(-3px); /* 既存より少し強めに浮かせて目を引く */
  opacity: 1;
}

/* EVENT: 赤 */
.gate-event {
  background-color: #d00;
  color: #fff;
  box-shadow: 0 4px 10px rgba(208, 0, 0, 0.2);
}

.gate-event:hover {
  background-color: #f10;
  box-shadow: 0 6px 15px rgba(208, 0, 0, 0.3);
}

/* SALES: 青 */
.gate-sales {
  background-color: #004a99; /* 落ち着いたロイヤルブルー */
  color: #fff;
  box-shadow: 0 4px 10px rgba(0, 74, 153, 0.2);
}

.gate-sales:hover {
  background-color: #0066cc;
  box-shadow: 0 6px 15px rgba(0, 74, 153, 0.3);
}

/* MAINTENANCE: 黒 */
.gate-maintenance {
  background-color: #111;
  color: #fff;
  border: 1px solid #444;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.gate-maintenance:hover {
  background-color: #222;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

/* --- PC表示（横並び）の制御 --- */
@media screen and (min-width: 768px) {
  .nav-gate-wrapper {
    flex-direction: row; /* 横並び */
  }
  .nav-gate-btn {
    /* PCでの3枚並び用に幅を最適化 */
    max-width: 260px;
  }
}
@media screen and (min-width: 768px) and (max-width: 960px) {
  .nav-gate-wrapper {
    gap: 20px;
  }
}
@media screen and (min-width: 961px) and (max-width: 1200px) {
  .nav-gate-wrapper {
    gap: 60px;
  }
}
@media screen and (min-width: 1201px) {
  .nav-gate-wrapper {
    gap: 120px;
  }
}
/* =================================================
ディーラーサイトバナー / top-page.css 
================================================= */
/* 1. figure要素のサイズ固定を確実にするための設定 */
/* 共通CSSのdiv.fig figureに依存しつつ、オーバーフローを制御 */
.zoom-hover-effect figure {
  position: relative;
  overflow: hidden;
}

/* 2. a要素（画像コンテナ）のサイズ設定 */
.zoom-hover-effect .image-container {
  display: block;
  position: relative;
  overflow: hidden;
  filter: none !important;
  opacity: 1 !important;
  border-radius: 8px;
  max-width: 561px;
  margin: auto;
}

/* 3. 画像（ズーム対象）のスタイル */
.zoom-hover-effect .image-container .square-image {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  transition: transform 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transform-origin: center center;
  filter: none !important;
  opacity: 1 !important;
}

/* 4. ズームのアニメーション */
.zoom-hover-effect .image-container:hover .square-image {
  transform: scale(1.05);
}

/* 5. ロゴのスタイル */
.zoom-hover-effect .logo {
  position: absolute;
  top: 30px;
  left: 15px;
  z-index: 10;
  width: 40%;
  height: auto;
}

.zoom-hover-effect .logo-image {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0px 2px 5px rgba(0, 0, 0, 0.4));
}

/* 6. クリック誘導マークの全体コンテナ（位置調整） */
.zoom-hover-effect .click-indicator {
  position: absolute;
  bottom: calc(1rem + 5px);
  right: 15px;
  width: 40px;
  height: 40px;
  z-index: 10;
  display: flex; /* シェブロンを中央配置するためにflexboxを使用 */
  justify-content: center;
  align-items: center;
}

/* 7. クリック誘導マークの左隣のロゴ */
.zoom-hover-effect .another-logo {
  position: absolute;
  bottom: calc(1.5rem - 3.4% + 20px);
  /* .click-indicator の右端 (right: 15px) から左に移動して配置 */
  right: 70px;
  /* 15px (右端からのマージン) + 40px (誘導マークの幅) + 15px (誘導マークとのスペース) = 70px */
  width: 40%; /* 下の画像全体の幅の40%に固定 */
  height: auto;
  z-index: 10;
}

/* 8. シェブロンのスタイル（CSSで描画とセンタリング改善） */
.zoom-hover-effect .click-indicator .chevron {
  position: relative;
  display: block;
  width: 12px;
  height: 12px;
}

/* シェブロンの上線 */
.zoom-hover-effect .click-indicator .chevron::before {
  content: "";
  position: absolute;
  top: -2px; /* 位置調整 */
  left: -16px; /* 位置調整 */
  width: 100%;
  height: 4px;
  background-color: white;
  transform-origin: top left;
  transform: rotate(60deg); /* translateYを削除 */
}

/* シェブロンの下線 */
.zoom-hover-effect .click-indicator .chevron::after {
  content: "";
  position: absolute;
  bottom: -2px; /* 位置調整 */
  left: -16px; /* 位置調整 */
  width: 100%;
  height: 4px;
  background-color: white;
  transform-origin: bottom left;
  transform: rotate(-60deg);
}

/* 9. SVG（円）のアニメーション */
.circle-animation {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

/* 円のベース */
.base-circle {
  fill: none;
  stroke: white;
  stroke-width: 3;
  opacity: 0.8;
}

/* アニメーションする円 */
.animated-circle {
  fill: none;
  stroke: transparent;
  stroke-width: 3;
  stroke-dasharray: 283;
  stroke-dashoffset: 283;
  transition: stroke-dashoffset 0s, stroke 0.4s linear;
}

/* ホバー時のアニメーション */
.zoom-hover-effect .image-container:hover .animated-circle {
  stroke-dashoffset: 0;
  stroke: red;
  transition: stroke-dashoffset 0.2s linear, stroke 0s linear;
}

.dealer-site {
  width: 100%;
  max-width: 1200px;
  padding-left: 1%;
  margin: 30px auto 60px;
}

.dealer-site figure {
  display: inline-block;
  vertical-align: top;
  padding: 0;
}

@media screen and (max-width: 480px) {
  .dealer-site figure {
    width: 97.3%;
  }
  .dealer-site .dls-l, .dealer-site .dls-r {
    margin: 0 1% 10px 1%;
  }
}
@media screen and (min-width: 481px) and (max-width: 800px) {
  .dealer-site figure {
    width: 97.3%;
  }
  .dealer-site .dls-l, .dealer-site .dls-r {
    margin: 0 1% 10px 1%;
  }
}
@media screen and (min-width: 801px), print {
  .dealer-site figure {
    width: 47.3%;
  }
  .dealer-site .dls-l {
    margin: 0 2% 10px 0;
  }
  .dealer-site .dls-r {
    margin: 0 0 10px 2%;
  }
}
.dealer-site figure figcaption {
  text-align: center;
  margin: 10px 0 0;
  padding: 0;
  color: #666;
  font-family: "Yu Mincho", "YuMincho", "Noto Serif JP", serif;
  letter-spacing: 0.15em;
}

.bbk .dealer-site figure figcaption {
  color: #999;
}

.dealer-site figure figcaption h2 {
  font-size: 120%;
  margin: 0;
  padding: 0;
}

.dealer-site figure figcaption p {
  margin: 0;
  padding: 0;
}

/* =================================================
   店舗情報 / shops 
================================================= */
.top-shop-wrap {
  display: flex;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 20px auto;
  padding: 0 10px;
  box-sizing: border-box;
  gap: 40px;
}

.top-shop-card {
  margin: 0;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

.top-shop-link {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  width: 100%;
}

.top-shop-img {
  width: 100%;
  overflow: hidden;
  background: #000;
}

.top-shop-img img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.top-shop-card-info {
  padding: 15px 10px;
  text-align: center;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.top-shop-tag {
  font-size: 10px;
  color: #3498db;
  letter-spacing: 0.1em;
  font-weight: bold;
  margin: 0 0 5px;
}

.top-shop-name {
  font-size: clamp(0.8rem, 1.6vw, 1rem);
  font-family: "Noto Serif JP", serif;
  margin: 5px 0 15px;
  font-weight: 600;
  line-height: 1.3;
}

.top-shop-btn {
  display: inline-block;
  margin-top: auto;
  padding: 8px 15px;
  font-size: 11px;
  letter-spacing: 0.05em;
  border: 1px solid #ccc;
  color: #666;
  text-decoration: none;
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}

@media screen and (min-width: 768px) and (max-width: 1023px) {
  .top-shop-wrap {
    gap: 25px;
  }
}
@media screen and (min-width: 768px) {
  .top-shop-card {
    flex: 1;
  }
  .top-shop-img {
    aspect-ratio: 3/2;
  }
}
@media screen and (min-width: 481px) and (max-width: 767px) {
  .top-shop-wrap {
    gap: 10px;
  }
  .top-shop-card {
    flex: 0 0 calc(33.333% - 7px);
    min-width: 0;
  }
  .top-shop-img {
    aspect-ratio: 1/1;
  }
  .top-shop-btn {
    font-size: 11px;
    padding: 6px 10px;
  }
}
@media screen and (max-width: 480px) {
  .top-shop-wrap {
    gap: 10px;
  }
  .top-shop-card:nth-child(1) {
    flex: 0 0 100%;
  }
  .top-shop-card:nth-child(2),
  .top-shop-card:nth-child(3) {
    flex: 0 0 calc(50% - 5px);
  }
  .top-shop-card:nth-child(2) .top-shop-img,
  .top-shop-card:nth-child(3) .top-shop-img {
    aspect-ratio: 1/1;
  }
  .top-shop-card:nth-child(1) .top-shop-img {
    height: calc((100vw - 30px) / 2);
  }
  .top-shop-btn {
    font-size: 11px;
    padding: 6px 10px;
  }
}
.top-shop-card:hover {
  transform: translateY(-4px);
  border-color: #3498db;
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.top-shop-card:hover .top-shop-img img {
  transform: scale(1.05);
}

.top-shop-card:hover .top-shop-btn {
  background: #3498db;
  color: #fff;
  border-color: #3498db;
}

/* CSS Document */
/* ***********************************************
 共通価格スタイル　
************************************************ */
.price-l,
.price-s {
  font-family: "Lora", serif;
  font-weight: 700;
}

/* ***********************************************
 在庫車両詳細ページ　Stock Car Detail
************************************************ */
/* 基本設定（フォント・全体のトーン）
----------------------------------------------- */
.scd-main-wrap {
  font-family: "Lora", "Times New Roman", "ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", "MS P明朝", serif;
  background-color: #fdfcf5;
  color: #333;
}

/* ロゴエリア
----------------------------------------------- */
.stock-logo {
  width: 100%;
  background: #000;
  text-align: center;
  padding: 10px 0;
  border-bottom: 1px solid #d4af37;
}

.stock-logo img {
  max-width: 250px;
  width: 25%;
  min-width: 150px;
}

.scd-maker-name {
  font-size: 1rem;
  margin: 2px 0;
  color: #ddd;
  text-transform: uppercase;
}

/* タイトル・車名
----------------------------------------------- */
p.scd-title {
  padding: 15px 5%;
  background: #000;
  color: #fdfcf5;
  text-align: center;
  border-radius: 8px 8px 0px 0px;
  margin: 0;
  font-size: clamp(0.9rem, 2.5vw, 1.1rem);
  font-weight: bold;
  letter-spacing: 0.1em;
}

/* 車名 */
.scd-name {
  color: #fdfcf5;
  font-size: clamp(1.3rem, 3.6vw, 2rem);
  text-align: center;
  padding: 10px 10px 15px;
  background: #000;
  font-family: "Lora", serif;
  font-weight: 700;
  line-height: 1.3;
  word-break: keep-all;
  overflow-wrap: break-word;
  letter-spacing: 0.05em;
}

/* 塊として扱うための汎用クラス */
.u-block {
  display: inline-block;
  white-space: nowrap;
  vertical-align: middle;
}

/* エディション名の塊全体 */
.scd-edition {
  display: inline-block;
  white-space: nowrap;
  font-size: 80%;
  font-weight: 400;
  color: #ddd;
  vertical-align: middle;
  position: relative;
  margin-left: 0.5em;
  margin-top: -0.3em;
}

/* ステータス
----------------------------------------------- */
.scd-status {
  background-color: #000;
  padding: 0 0 15px;
  text-align: center;
  font-size: clamp(1rem, 2.4vw, 1.2rem);
  color: #d4af37;
  font-weight: bold;
  font-family: "ヒラギノ明朝 Pro W6", serif;
  letter-spacing: 0.15em;
}

.scd-status::before {
  content: "—";
  margin-right: 0.2em;
}

.scd-status::after {
  content: "—";
  margin-left: 0.2em;
}

/* プライスエリア
----------------------------------------------- */
.scd-pr {
  background: #fdfcf5;
  text-align: center;
  overflow: hidden;
  color: #333;
  border: 4px solid #e0d8b0;
  border-top: none;
  border-radius: 0 0 8px 8px;
}

.scd-pr div {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  border-top: #e0d8b0 solid 4px;
  font-size: 0.9rem;
  color: #666;
}

.scd-pr .vbp,
.scd-pr .af,
.scd-pr .tpa {
  background-color: #fff;
}

.scd-pr .price-l,
.scd-pr .price-s {
  color: #032;
}

.scd-pr .price-l {
  font-size: 160%;
  margin: 0 0.05em;
  letter-spacing: -0.02em;
}

.scd-pr .price-s {
  font-size: 130%;
}

@media screen and (max-width: 360px) {
  .scd-pr .price-s,
  .scd-pr .price-l {
    font-size: 120%;
  }
}
/* モバイル表示 (767px以下) */
@media screen and (max-width: 767px) {
  .scd-pr {
    font-size: 90%;
  }
  .scd-pr .vbp, .scd-pr .af {
    float: left;
    height: 75px;
    padding-top: 20px;
    font-weight: 500;
  }
  .scd-pr .vbp {
    border-right: #e0d8b0 solid 4px;
    width: 55%;
  }
  .scd-pr .af {
    width: 45%;
  }
  .scd-pr .tpa {
    float: left;
    width: 100%;
    height: 90px;
    padding: 20px 0 2px;
    font-weight: bold;
    font-size: 140%;
    border-top: #e0d8b0 solid 4px;
    color: #032;
  }
  /* 支払総額のラベルを強調 */
  .scd-pr .tpa::before {
    content: "TOTAL PRICE";
    display: block;
    font-size: 0.7rem;
    font-weight: normal;
    color: #666;
    margin-bottom: -5px;
  }
}
/* PC表示 (768px以上) */
@media screen and (min-width: 768px) {
  .scd-pr .vbp {
    float: left;
    width: 50%;
    height: 80px;
    padding-top: 25px;
    border-right: #e0d8b0 solid 2px;
    border-bottom: #e0d8b0 solid 4px;
    font-weight: normal;
  }
  .scd-pr .af {
    float: left;
    clear: left;
    width: 50%;
    height: 80px;
    padding-top: 25px;
    border-right: #e0d8b0 solid 2px;
    font-weight: normal;
  }
  .scd-pr .tpa {
    float: right;
    width: 50%;
    height: 160px;
    padding-top: 35px;
    font-weight: bold;
    font-size: 150%;
    border-left: #e0d8b0 solid 2px;
    margin-top: -80px;
    color: #032;
  }
  /* 支払総額のラベルを強調 */
  .scd-pr .tpa::before {
    content: "TOTAL PRICE";
    display: block;
    font-size: 0.8rem;
    font-weight: normal;
    color: #666;
    margin-bottom: -5px;
  }
}
/* 注釈・車検備考
----------------------------------------------- */
.scd-price-note,
.scd-shaken-note {
  clear: both;
  margin: 15px 5px;
  padding: 18px 20px;
  background: #f0f0f3;
  border: 1px solid #ccc;
  font-size: 0.85rem;
  line-height: 1.7;
  list-style: none;
  text-align: left;
  color: #555;
  border-radius: 8px;
  box-shadow: 1px 1px 1px #eee;
}

/* 注釈内の各項目 */
.scd-price-note li,
.scd-shaken-note li {
  position: relative;
  padding-left: 1.2em;
  margin-bottom: 0.4em;
}

/* 文頭の装飾 */
.scd-price-note li::before,
.scd-shaken-note li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #999;
  font-weight: bold;
}

/* 基本情報ブロック SPECIFICATIONS
----------------------------------------------- */
@media screen and (max-width: 767px) {
  ul.scd-info {
    width: 100%;
  }
}
@media all and (min-width: 768px), print {
  ul.scd-info {
    width: 50%;
    float: left;
  }
}
ul.scd-info {
  margin: 0;
  padding: 0;
  list-style: none;
}

ul.scd-info li {
  display: table;
  border-collapse: separate;
  border-spacing: 5px 3px;
  font-weight: normal;
  width: 100%;
}

ul.scd-info div.point {
  display: table-cell;
  width: 38%;
  padding: 6px;
  font-size: 85%;
  font-family: "ヒラギノ明朝 Pro W3", serif; /* 明朝体に */
  color: #333;
}

ul.scd-info div.detail {
  display: table-cell;
  width: 62%;
  padding: 6px 10px;
  font-size: 95%;
  vertical-align: middle;
  font-family: "Lora", "ヒラギノ明朝 Pro W6", serif;
  font-weight: 600;
}

/* 色分け設定
----------------------------------------------- */
.scd-info-bl div.point {
  background: #e6eef5;
  border-left: 8px solid #004488;
}

.scd-info-bl div.point.js-location-frame {
  background: #eef9ef;
  border-left: 8px solid #066;
}

.scd-info-bl div.detail {
  background: #fdfcf5;
  border-bottom: 1px solid #ccc;
}

.scd-info-ye div.point {
  background: #f6f0d9;
  border-left: 8px solid #d4af37;
}

.scd-info-ye div.detail {
  background: #fdfcf5;
  border-bottom: 1px solid #e0d8b0;
}

/* 店舗情報の強調
----------------------------------------------- */
.detail.location {
  font-weight: bold;
  color: #004488;
}

/* 店舗リンクのスタイル */
.scd-location-link {
  color: inherit;
  transition: color 0.3s ease;
  text-decoration: underline;
}

.scd-location-link:hover {
  color: #b8860b;
  text-decoration: none;
}

/* 記録簿行の制御 */
.js-record-row {
  display: none;
}

/* 走行距離未入力時の棒 */
.u-mileage-none {
  display: inline-block;
  width: 35px;
  height: 1px;
  background-color: #333;
  vertical-align: middle;
}

/* オプション FEATURES
----------------------------------------------- */
/* 総額表示：これまで同様、重厚感のある帯デザイン */
p.scd-opta {
  background: #1a2436; /* 注釈エリアと連動した深いネイビー、または#000 */
  border-left: 8px solid #d4af37; /* シャンパンゴールド */
  padding: 12px 15px;
  margin: 20px 0.5% 10px;
  font-weight: bold;
  color: #fdfcf5;
  letter-spacing: 0.05em;
  font-family: "Lora", "ヒラギノ明朝 Pro W6", serif;
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  border-radius: 0 4px 4px 0;
}

/* リスト全体のコンテナ */
ul.scd-option {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* 各オプション行 */
ul.scd-option li {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  background: #e0e3e6;
  color: #333;
  padding: 12px 15px;
  margin: 4px 0.5%;
  border-left: 8px solid #90a0b0;
  font-size: 92%;
  border-radius: 0 4px 4px 0;
}

ul.scd-option li {
  line-height: 1.5;
}

ul.scd-option li p {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  margin: 0;
  padding: 0;
  text-align: right;
  min-width: 80px;
  margin-left: 10px;
  color: #b30000;
  font-weight: bold;
  font-family: "Lora", serif;
  white-space: nowrap;
}

ul.scd-option li p::before {
  display: block;
  font-size: 0.65rem;
  font-weight: normal;
  color: #333;
  margin-bottom: 2px;
  letter-spacing: 0.05em;
  font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", sans-serif;
  line-height: 1.2;
}

/* クラス別ラベル */
ul.scd-option li.is-new-op p::before {
  content: "新車OP価格";
}

ul.scd-option li.is-ref-op p::before {
  content: "参考OP価格";
}

/* 価格自体のフォントサイズ微調整 */
ul.scd-option li p {
  font-size: 0.9rem;
}

/* 価格がない行（ラベルが出ない行）の高さ調整 */
ul.scd-option li:not(.is-new-op):not(.is-ref-op) p {
  justify-content: center;
}

/* ポイント HIGHLIGHTS
----------------------------------------------- */
.scd-comment {
  width: 100%;
  background-color: #f6f0d9;
  border-radius: 20px;
  border: 2px solid #d4af37;
  padding: 15px;
  margin: 20px 0;
  box-shadow: 1px 1px 1px #ccc;
}

/* ギャラリー GALLERY
----------------------------------------------- */
.scd-fig {
  width: 100%;
  padding: 10px 0;
  display: grid;
}

.scd-fig figure {
  margin: 0;
  padding: 0;
}

@media screen and (max-width: 480px) {
  .scd-fig {
    grid-template-columns: repeat(4, 1fr);
    gap: 7px;
  }
}
@media screen and (min-width: 481px) and (max-width: 767px) {
  .scd-fig {
    grid-template-columns: repeat(5, 1fr);
    gap: 7px;
  }
}
@media screen and (min-width: 768px) and (max-width: 960px) {
  .scd-fig {
    grid-template-columns: repeat(6, 1fr);
    gap: 8px;
  }
}
@media screen and (min-width: 961px), print {
  .scd-fig {
    grid-template-columns: repeat(8, 1fr);
    gap: 8px;
  }
}
.scd-fig figure,
.scd-fig figure a {
  display: block;
  line-height: 0;
}

/* ***********************************************
 在庫車両一覧ページ　stock-car.html
************************************************ */
/*   1. プライス（車両価格・支払総額）
----------------------------------------------- */
.scl-vbp .price-l {
  font-size: 140%;
}

.scl-vbp .price-s {
  margin-right: 0.2em;
}

.scl-tpa .price-l {
  font-size: 200%;
}

.scl-tpa .price-s {
  font-size: 140%;
  margin-right: 0.2em;
}

.scl-vbp dd,
.scl-tpa dd {
  display: flex;
  justify-content: center;
  align-items: baseline;
  margin: 0;
  line-height: 1.2;
  color: #b3995d !important;
}

.scl-vbp dd {
  font-size: 14px;
}

.scl-tpa dd {
  font-size: 16px;
}

/*   2. グリッドコンテナ（レスポンシブ）
----------------------------------------------- */
/* セクション幅・位置調整 */
.stock-list-section {
  width: 100%;
  max-width: 1455px;
  margin: auto;
}

.stock-list-container {
  max-width: 1455px;
  margin: 0 auto;
  padding: 20px 0;
  display: grid;
  gap: 30px 20px;
  width: 95%;
}

/* ブレークポイント指定 */
@media screen and (min-width: 1281px) {
  .stock-list-container {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media screen and (max-width: 1280px) {
  .stock-list-container {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media screen and (max-width: 960px) {
  .stock-list-container {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media screen and (max-width: 640px) {
  .stock-list-container {
    grid-template-columns: repeat(1, 1fr);
  }
}
/*   3. カード本体
----------------------------------------------- */
.scl-card {
  position: relative;
  background: #111;
  border: 1px solid #333;
  border-radius: 8px;
  overflow: hidden;
  margin: 0;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.3s ease, border-color 0.3s ease, filter 0.4s ease, opacity 0.4s ease;
}

/* 通常時のホバー挙動 */
.scl-card:hover {
  transform: translateY(-5px);
  border-color: #666;
}

.scl-logo {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 10;
  width: 30%;
  max-width: 220px;
  pointer-events: none;
}

.scl-logo img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 0 1px rgba(0, 0, 0, 0.5));
}

.scl-img {
  position: relative;
  width: 100%;
  aspect-ratio: 3/2;
  overflow: hidden;
}

.scl-img img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

/*   4. ステータスエリア（NEW / カテゴリー / ステータステキスト）
----------------------------------------------- */
.scl-status-wrapper {
  position: relative;
  background: #1a1a1a;
  border-bottom: 1px solid #333;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 65px;
}

.scl-new-label {
  position: absolute;
  left: 15px;
  background: #d23;
  color: #000 !important;
  font-size: 10px;
  font-weight: bold;
  padding: 3px 6px 1px;
  border-radius: 2px;
}

.scl-category-label {
  position: absolute;
  right: 15px;
  background: #333;
  color: #ccc !important;
  font-size: 11px;
  font-weight: bold;
  padding: 3px 6px 1px;
  border-radius: 2px;
}

.scl-status-text {
  color: #b3995d !important;
  font-size: 14px;
  font-weight: bold;
  letter-spacing: 0.05em;
  text-align: center;
}

/*   5. テキスト情報
----------------------------------------------- */
figcaption {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.scl-maker {
  font-size: 0.8rem;
  text-align: center;
  margin: 0 0 5px;
  color: #888;
  line-height: 1.1;
}

/* 車名の塊ごと改行制御 */
.scl-name-block {
  display: inline-block;
  white-space: nowrap;
  margin-right: 0.3em;
}

.scl-name {
  font-size: 1.25rem;
  text-align: center;
  margin: 0 0 20px 0;
  color: #fff;
  line-height: 1.3;
}

.scl-edition {
  font-size: 1rem;
  color: #ccc;
}

.scl-bottom-content {
  margin-top: auto;
  display: flex;
  flex-direction: column;
}

/* スペック項目 */
.scl-info {
  display: flex;
  flex-wrap: wrap;
  gap: 15px 0;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid #222;
}

.scl-info dl {
  width: 50%;
  text-align: center;
  margin: 0;
}

/* 展示場所 / 入荷時期 */
.scl-location {
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid #222;
  text-align: center;
}

.scl-location dl {
  width: 100%;
  margin: 0;
}

/* 共通テキスト設定 */
.scl-card dt {
  font-size: 12px;
  color: #888;
  margin-bottom: 5px;
}

.scl-card dd {
  font-size: 15px;
  color: #fff;
  font-weight: 500;
  margin: 0;
}

.scl-vbp dt, .scl-tpa dt {
  font-size: 13px !important;
  color: #888;
  margin-bottom: 6px;
}

.scl-vbp, .scl-tpa {
  text-align: center;
  margin-bottom: 12px;
}

/* 全体リンク */
.scl-card > a {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  text-indent: -9999px;
  z-index: 20;
}

/*   6. SOLDOUT専用スタイル
----------------------------------------------- */
.page-subtitle.is-soldout {
  border-left: 20px solid #999;
  border-bottom: 2px solid #999;
}

/* ブレークポイント指定 / SOLDOUT */
@media screen and (min-width: 1281px) {
  .stock-list-container.is-soldout {
    grid-template-columns: repeat(5, 1fr);
  }
}
@media screen and (max-width: 1280px) {
  .stock-list-container.is-soldout {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media screen and (max-width: 960px) {
  .stock-list-container.is-soldout {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media screen and (max-width: 640px) {
  .stock-list-container.is-soldout {
    grid-template-columns: repeat(2, 1fr);
  }
}
.is-soldout .scl-card {
  filter: grayscale(100%);
  opacity: 0.7;
  /* pointer-events: none を外してhoverを有効に */
}

/* ホバーで色を戻す（リフトは無効） */
.is-soldout .scl-card:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: none !important;
  border-color: #333; /* 枠も光らせない */
}

/* リンクを無効化する透明なレイヤー */
.scl-link-disabled {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 21; /* aタグ(z-index:20)より上に重ねてクリックを遮断 */
}

/* SOLDOUT車名： model, grade, editionすべて 1rem */
.is-soldout .scl-name {
  font-size: 1rem !important;
  margin-bottom: 10px;
}

.is-soldout .scl-name-block,
.is-soldout .scl-edition {
  font-size: 0.8rem !important;
}

/* SOLDOUTスペック項目調整 */
.is-soldout .is-soldout-info {
  border-bottom: none;
  margin-bottom: 0;
}

/* SOLDOUTオーバーレイ */
.soldout-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  font-weight: bold;
  z-index: 5;
  border: 1px solid #fff;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

@media screen and (min-width: 1281px) {
  .soldout-overlay {
    font-size: 14px;
    padding: 8px 15px;
  }
}
@media screen and (max-width: 1280px) {
  .soldout-overlay {
    font-size: 13px;
    padding: 7px 13px;
  }
}
@media screen and (max-width: 960px) {
  .soldout-overlay {
    font-size: 12px;
    padding: 6px 11px;
  }
}
@media screen and (max-width: 640px) {
  .soldout-overlay {
    font-size: 11px;
    padding: 5px 9px;
  }
}
@media screen and (max-width: 380px) {
  .soldout-overlay {
    font-size: 10px;
    padding: 4px 7px;
  }
}
/* ホバー時にオーバーレイを非表示にする */
.is-soldout .scl-card:hover .soldout-overlay {
  opacity: 0;
}

/* SOLDOUT時のテキスト色（金色をグレーへ） */
.is-soldout .scl-status-text,
.is-soldout dd {
  color: #888 !important;
}

/*   7. 中古車リクエストオーダー
----------------------------------------------- */
.request-btn {
  text-align: center;
  padding: 30px 0;
  margin: 20px 5px;
}

.request-btn a {
  position: relative;
  display: inline-block;
  padding: 0 4%;
  margin: 20px 0;
  text-decoration: none;
  border-radius: 50px;
  line-height: 2;
  font-size: 1.1em;
  background: #111;
  border: 1px solid #333;
}

.request-btn a dd {
  color: #fff;
  font-size: clamp(1rem, 2.5vw, 1.2rem);
}

.request-btn a dt {
  color: #ff0;
  font-size: clamp(1.2rem, 3vw, 1.5rem);
}

.request-btn a:hover {
  background: #222;
  border: 1px solid #666;
}

/* ***********************************************
   トップページ車両カルーセル (Owl Carousel 用)
************************************************ */
/* 1. プライス（ブリティッシュグリーン）
----------------------------------------------- */
.sct-tpa .price-l {
  font-family: "Lora", serif;
  font-size: 160%;
  font-weight: 700;
}

.sct-tpa .price-s {
  font-family: "Lora", serif;
  font-size: 110%;
  font-weight: 700;
  margin-right: 0.2em;
}

.sct-tpa dd {
  display: flex;
  justify-content: center;
  align-items: baseline;
  margin: 0;
  line-height: 1.2;
  color: #032 !important;
}

/* 2. カード本体 (最大幅 230px)
----------------------------------------------- */
.sct-card {
  position: relative;
  background: #fff;
  border: 1px solid #a0a0a0;
  border-radius: 6px;
  overflow: hidden;
  margin: 10px 5px; /* カルーセル間の余白 */
  display: flex;
  flex-direction: column;
  height: calc(100% - 20px);
  max-width: 230px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.sct-card:hover {
  transform: translateY(-5px);
  border-color: #004225;
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

/* ロゴ・画像エリア */
.sct-logo {
  position: absolute;
  top: 6px;
  left: 6px;
  z-index: 10;
  width: 35%;
  max-width: 80px;
  pointer-events: none;
}

.sct-logo img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 0 1px rgba(0, 0, 0, 0.5));
}

.sct-img {
  position: relative;
  width: 100%;
  aspect-ratio: 3/2;
  overflow: hidden;
  background: #f9f9f9;
}

.sct-img img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

/* 3. ステータスエリア (NEW / カテゴリー)
----------------------------------------------- */
.sct-status-wrapper {
  position: relative;
  background: #f8f8f8;
  border-bottom: 1px solid #eee;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 45px;
}

.sct-new-label {
  position: absolute;
  left: 8px;
  background: #d23;
  color: #fff !important;
  font-size: 9px;
  font-weight: bold;
  padding: 2px 5px;
  border-radius: 2px;
}

.sct-category-label {
  position: absolute;
  right: 8px;
  background: #666;
  color: #fff !important;
  font-size: 9px;
  font-weight: bold;
  padding: 2px 5px;
  border-radius: 2px;
}

.sct-status-text {
  color: #004225 !important;
  font-size: 11px;
  font-weight: bold;
  text-align: center;
}

/* 4. テキスト情報
----------------------------------------------- */
figcaption {
  padding: 15px 10px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  text-align: center;
}

/* 車名の塊制御 */
.sct-name-block {
  display: inline-block;
  white-space: nowrap;
  margin-right: 0.2em;
}

.sct-name {
  font-size: 0.95rem;
  font-weight: 600;
  margin: 0 0 12px 0;
  color: #333;
  line-height: 1.4;
  min-height: 2.8em; /* 2行分確保して高さを揃える */
}

/* 支払総額セクション */
.sct-bottom-content {
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px dotted #ddd;
}

.sct-tpa dt {
  font-size: 10px;
  color: #888;
  margin-bottom: 4px;
}

/* 全体リンク */
.sct-card > a {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  text-indent: -9999px;
  z-index: 20;
}

/* 5. Owl Carousel 特有の調整
----------------------------------------------- */
/* Owlのカクつき防止 */
.owl-item .sct-card {
  margin: 10px auto;
}

/* CSS Document */
/************************************************
 ページタイトル
************************************************ */
/* =================================================
   メインページ / itabashiページ
================================================= */
.round_ti {
  font-weight: bold;
  -webkit-background-clip: text;
  color: transparent;
  background-image: linear-gradient(135deg, #00897b, #0d47a1);
  display: inline-block;
  position: relative;
  transform-style: preserve-3d;
  margin: 1.75em 0 1.75em 1.75em;
  line-height: 1.3;
}

.round_ti::before {
  position: absolute;
  bottom: -0.875em;
  left: -1.75em;
  z-index: -1;
  transform: translateZ(-1px);
  width: 3.5em;
  height: 3.5em;
  border-radius: 50%;
  background: #c6d6d6;
  content: "";
}

/* --- 黒背景の場合の色調整 --- */
.bbk .round_ti {
  background-image: linear-gradient(135deg, #24ff72, #2196f3);
}

.bbk .round_ti::before {
  background: #122;
}

/* --- レスポンシブ対応 --- */
@media screen and (max-width: 480px) {
  .round_ti {
    font-size: 190%;
  }
}
@media screen and (min-width: 481px) and (max-width: 800px) {
  .round_ti {
    font-size: 215%;
  }
}
@media all and (min-width: 801px), print {
  .round_ti {
    font-size: 240%;
  }
}
/* =================================================
   ブランドページ
================================================= */
/* --- ディーラー名　h1タイトル --- */
.brand-title {
  text-align: center;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  font-size: clamp(1.8rem, 5vw, 3rem);
  font-family: "Yu Mincho", "YuMincho", "Noto Serif JP", serif;
}

/* --- プロファイルページのh2タイトル --- */
.profile-title {
  font-weight: bold;
  font-size: clamp(1.8rem, 5vw, 3rem);
  font-size: 160%;
  border-bottom: 5px solid #A3A3A3;
  padding: 0.2em 0.5em;
  margin: 20px 0;
  border-left: solid 10px #900;
}

/* =================================================
   一般ページ
================================================= */
/* 各ページのh1タイトル
----------------------------------------------- */
.page-title {
  font-size: clamp(1.3rem, 3vw, 3rem);
  text-align: center;
  border-bottom: 1px solid #999;
  padding: 10px 0;
  margin: 10px 0 20px;
}

/* 左と下にオレンジの帯（主にh2タグ）
----------------------------------------------- */
.page-subtitle {
  border-left: 20px solid orange;
  border-bottom: 2px solid orange;
  padding-left: 10px;
  display: inline-block;
  margin: 20px 0 20px 2.5%;
  font-size: clamp(1.3rem, 2.5vw, 2.2rem);
  width: 95%;
}

/* --- イタリック体のサブタイトル--- */
.page-subtitle span {
  padding-left: 10px;
  font-size: 0.8em;
  font-style: italic;
  font-family: Georgia, "Times New Roman", Times, serif;
}

/* 三角矢印と色文字（主にh3タグ）
----------------------------------------------- */
.page-caption {
  padding-left: 5px;
  margin: 20px 0 10px;
  font-size: clamp(1.1rem, 1.8vw, 2rem);
  color: #c00;
}

.page-caption::before {
  content: "▶";
  margin-right: 10px;
  font-size: 90%;
  color: #000;
}

/* --- 黒背景の場合の色調整 --- */
.bbk .page-caption {
  color: orange;
}

.bbk .page-caption::before {
  color: #fff;
}

/* リクルートページのh1タイトル
----------------------------------------------- */
/* --- タイトル--- */
.mci-h1 {
  text-align: center;
  font-size: 180%;
  font-weight: bold;
  color: #599;
}

/* --- タイトルの上下に線を表示--- */
.mci-title {
  position: relative;
  padding: 2rem 1rem;
}

.mci-title:before,
.mci-title:after {
  position: absolute;
  left: 0;
  width: 100%;
  height: 4px;
  content: "";
  background-image: linear-gradient(to left, #30cfd0 0%, #1E4D3B 100%);
}

.mci-title:before {
  top: 0;
}

.mci-title:after {
  bottom: 0;
}

/* イタリック体のキャッチフレーズ
----------------------------------------------- */
.signature-text {
  font-family: "Playfair Display", serif;
  font-style: italic;
  color: var(--primary-color);
  margin: 30px 0;
}

/* =================================================
   汎用タイトルタグ / サイズは別タグで指定
================================================= */
/*最初の一文字だけ大きくする */
.headline:first-letter {
  font-size: 2em;
  color: #7172ac;
  font-weight: bold;
}

/* c-titleタグ
----------------------------------------------- */
/* .mci-h2(orange) .pg_ti2(f160 bordeaux line-grey) .pg_sti2(f120 blue line-grey) */
.c-title-01,
.c-title-s01 {
  width: 100%;
  display: inline-block;
  padding-left: 10px;
  margin: 10px 0;
}

.c-title-01 {
  border-left: 15px solid var(--accent-color);
}

.c-title-s01 {
  border-left: 5px solid var(--accent-color);
}

/* .pg_sti(f110 grey) .pg_sti4(f120 bordeaux)  .info_ti(f120 teal)*/
.c-title-02 {
  text-align: center;
  background-color: var(--accent-color);
  color: #fff;
  padding: 10px 0;
  margin: 20px 0;
  border-radius: 8px;
}

/* .pg_sti3(f120 pink) */
.c-title-03 {
  font-weight: bold;
  display: inline;
  background-image: linear-gradient(transparent 70%, var(--accent-color) 0);
}

.c-title-04 {
  color: var(--accent-color);
  --square-size: 0.6em; /* 1マスのサイズ */
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1em;
  font-weight: bold;
  color: var(--accent-color);
  padding: 10px 2%;
  margin: 20px 0;
}

.c-title-04::before,
.c-title-04::after {
  content: "";
  flex: 1;
  /* 高さ = 1マスのサイズ × 2段分 */
  height: calc(var(--square-size) * 2);
  /* 1マス（正方形）を45度回転させて配置し、透明な部分を作る */
  background-image: conic-gradient(var(--accent-color) 90deg, transparent 90deg 180deg, var(--accent-color) 180deg 270deg, transparent 270deg);
  /* 1パターンのサイズ（2マス分） */
  background-size: calc(var(--square-size) * 2) calc(var(--square-size) * 2);
  background-repeat: repeat-x;
}

.c-title-05 {
  font-weight: bold;
  color: var(--accent-color);
}

.c-title-05::before {
  content: "▶ ";
}

.c-title-06 {
  font-weight: bold;
  font-family: "Noto Sans Japanese", sans-serif;
  color: var(--accent-color);
  text-shadow: 1px 1px 1px color-mix(in srgb, var(--accent-color) 50%, transparent);
  border-bottom: 2px solid var(--accent-color);
  width: -moz-fit-content;
  width: fit-content;
  margin: 20px auto;
}

.c-title-07 {
  display: flex;
  align-items: center;
  text-align: center;
  width: 100%;
  gap: 1em;
  margin: 30px 0;
}

.c-title-07:before,
.c-title-07:after {
  content: "";
  flex-grow: 1;
  height: 1px;
  background-color: var(--accent-color);
}

.c-title-08 {
  position: relative;
  margin-top: 50px;
  /* 変数を使用 */
  color: var(--accent-color);
  padding: 5px;
}

.c-title-08:after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 7px;
  /* backgroundの各色指定部分を変数に置き換え */
  background: repeating-linear-gradient(-45deg, var(--accent-color), var(--accent-color) 2px, #fff 2px, #fff 4px);
}

/* borderカラータグ */
.c-line {
  border: 2px solid var(--accent-color);
}

.c-line-s {
  border: 1px solid var(--accent-color);
}

/* 色のバリエーション（変数だけを上書き） */
.is-red {
  --accent-color: #f00;
}

.is-crimson {
  --accent-color: #c00;
}

.is-vermilion {
  --accent-color: #f04030;
}

.is-bordeaux {
  --accent-color: #640125;
}

.is-pink {
  --accent-color: #fc5185;
}

.is-orange {
  --accent-color: orange;
}

.is-gold {
  --accent-color: #b8860b;
}

.is-yellow {
  --accent-color: #fc0;
}

.bbk .is-yellow {
  --accent-color: #ff0;
}

.is-green {
  --accent-color: #0c6;
}

.bbk .is-green {
  --accent-color: #0f9;
}

.is-grey {
  --accent-color: #444;
}

.is-ash {
  --accent-color: #aaa;
}

.is-white {
  --accent-color: #fff;
}

.is-blue {
  --accent-color: #09f;
}

.is-navy {
  --accent-color: #025;
}

.is-midnight {
  --accent-color: #1a2a3a;
}

.is-teal {
  --accent-color: #066;
}

.is-black {
  --accent-color: #000;
}

/* オプション：下線を追加するクラス */
.has-line {
  border-bottom: 2px solid var(--accent-color);
  padding-bottom: 4px;
}

.has-line-grey {
  border-bottom: 2px solid #999;
  padding-bottom: 4px;
}

.rms_ti {
  font-family: "Times New Roman", Times, serif;
  font-size: 160%;
  font-weight: bold;
  font-style: italic;
  margin: 30px 0 10px;
}

.rms_ti span {
  font-style: normal;
  color: #FC3;
  font-size: 70%;
}

.italic {
  font-family: "Times New Roman", Times, serif;
  font-style: italic;
}

.mci-h2 {
  border-left: 15px solid orange;
  padding-left: 10px;
  display: inline-block;
  margin: 20px 0;
}

.pg_ti2 {
  font-weight: bold;
  font-size: 160%;
  border-bottom: 5px solid #A3A3A3;
  padding: 0.2em 0.5em;
  margin: 20px 0;
  border-left: solid 10px #900;
}

.pg_sti {
  font-size: 110%;
  text-align: center;
  background-color: #666;
  color: #fff;
  padding: 5px 0;
  margin: 5px 0;
}

.pg_sti2 {
  font-weight: bold;
  font-size: 120%;
  border-bottom: 1px solid #A3A3A3;
  padding: 0.2em 0.5em;
  margin: 20px 0;
  border-left: solid 5px #27acd9;
}

.pg_sti3 {
  font-weight: bold;
  display: inline;
  font-size: 120%;
  background-image: linear-gradient(rgba(0, 0, 0, 0) 70%, rgb(252, 81, 133) 70%);
}

.pg_sti4 {
  font-size: 120%;
  text-align: center;
  background-color: #640125;
  color: #fff;
  padding: 10px 0;
  margin: 20px 0;
}

.info_ti {
  padding: 5px 0;
  margin: 10px auto;
  text-align: center;
  font-size: calc(80% + 0.6vw);
  color: #fff;
  background-color: #066;
  border-radius: 50px;
}

/* CSS Document */
/************************************************
 Itabashiメインページ
************************************************ */
/* =================================================
トップカラム / top_page.css 
================================================= */
@media all and (max-width: 1054px) {
  .copy_l_part {
    display: none;
  }
}
/* --- サブタイトル --- */
.ti-wrapper {
  width: 100%;
  max-width: 1455px;
  margin: 0 auto;
}

/* =================================================
店舗紹介バナー / top_page.css 
================================================= */
.shop-wrapper {
  width: 100%;
  max-width: 1455px;
  margin: 0 auto;
}

/*
 * 1. バナー全体のコンテナ設定
 */
.banner-container {
  width: 100%;
  position: relative;
  overflow: hidden;
  margin: 20px auto;
  border-radius: 8px;
}

/* レスポンシブ設定 */
@media screen and (min-width: 1281px), print {
  .banner-container {
    padding-top: 35%;
    height: 0;
  }
}
@media screen and (min-width: 1025px) and (max-width: 1280px) {
  .banner-container {
    padding-top: 40%;
    height: 0;
  }
}
@media screen and (min-width: 769px) and (max-width: 1024px) {
  .banner-container {
    padding-top: 45%;
    height: 0;
  }
}
@media screen and (min-width: 601px) and (max-width: 768px) {
  .banner-container {
    padding-top: 50%;
    height: 0;
  }
}
@media screen and (min-width: 481px) and (max-width: 600px) {
  .banner-container {
    padding-top: 55%;
    height: 0;
  }
}
@media screen and (max-width: 480px) {
  .banner-container {
    padding-top: 60%;
    height: 0;
  }
}
/* aタグにも角丸を適用 */
.banner-container a {
  display: block;
  border-radius: 8px; /* コンテナと同じ値を設定 */
  overflow: hidden;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
}

/*
 * 2. 画像要素の設定とスクロールアニメーション
 */
.scrolling-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 120%; /* バナー枠の高さの1.5倍 */
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 8px; /* コンテナ・aタグと同じ値を設定 */
  /* アニメーションの適用 */
  /* 下から上へスクロールし、その後上から下へ戻る (alternate) */
  animation: scrollUpDown 20s linear infinite alternate;
}

/* スクロールアニメーションの定義 */
@keyframes scrollUpDown {
  0% {
    /* アニメーション開始点: 画像の下端がバナーの下端に揃う位置 */
    /* 画像を上に20%（バナー枠の高さ分）移動させる */
    transform: translateY(-20%);
  }
  100% {
    /* アニメーション終了点: 画像の上端がバナーの上端に揃う位置 */
    /* 画像は移動しない */
    transform: translateY(0%);
  }
}
/* CSS Document */
/* =================================================
情報ページ
(service / recruit / company / policy 等)
================================================= */
.mci-main {
  background-color: #234;
  border-radius: 20px;
  width: 98%;
  padding: 0 1%;
  margin: 20px auto;
}

.mci-logo {
  padding: auto;
  margin: 20px auto 40px;
  max-width: 480px;
  width: 70%;
}

.mci-img1 {
  width: 100%;
  max-width: 1200px;
  padding: auto;
  margin: 40px auto 0;
}

.mci-img1 img {
  max-width: 1200px;
  border-radius: 20px;
}

.mci-img2 img {
  max-width: 380px;
  border-radius: 20px;
}

@media screen and (min-width: 981px) and (max-width: 1150px) {
  .mci-img2 img {
    margin-left: 50px;
  }
}
@media screen and (min-width: 1151px) {
  .mci-img2 img {
    margin-left: 90px;
  }
}
@media screen and (min-width: 600px) {
  .mci-part {
    display: none;
  }
}
.mci-section {
  padding: 20px 0;
  margin: 50px 0 20px;
}

.mci-table {
  overflow-x: auto;
}

.mci-table table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  background-color: #222e3c;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
  border-top: 1px solid #678;
}

.mci-table th, .mci-table td {
  padding: 12px 15px;
  text-align: left;
  border-bottom: 1px solid #678;
}

.mci-table th {
  background-color: #234;
  color: var(--primary-color);
  font-weight: 500;
  width: 30%;
}

.mci-table tr:nth-child(even) td {
  background-color: #123;
}

.mci-line img {
  vertical-align: middle;
  max-width: 232px;
  width: 50%;
  margin: 15px 0;
}

.mci-p8 {
  font-size: 120%;
  font-weight: bold;
}

.mci-contact {
  padding: 20px 5%;
  margin: 20px 0;
  border: solid 2px #999;
  border-radius: 20px;
}

.mci-mail {
  font-weight: bold;
  margin-top: 10px;
  padding: 10px;
  background-color: #999;
  display: inline-block;
  border-radius: 4px;
}

/* --- レスポンシブ対応 --- */
@media (max-width: 768px) {
  .mci-table th, .mci-table td {
    padding: 10px;
  }
  .mci-table th {
    width: 40%;
  }
}
/* =================================================
試乗予約ページ
================================================= */
.td-wrap {
  border-radius: 20px;
  border: 2px solid #999;
  margin: 40px auto;
  padding: 0 15px;
}

.td-img img {
  border-radius: 20px;
}

.td-ti {
  font-size: clamp(1.3rem, 5vw, 2.2rem);
  text-align: center;
}

.td-loc {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(1.1rem, 4vw, 1.6rem);
  color: #ff0;
  font-weight: bold;
  text-decoration: none;
}

.td-loc::before {
  content: "試乗場所";
  color: #c66;
  font-size: 0.8rem;
  padding: 5px 10px;
  margin-right: 20px;
  border: 1px solid #c66;
  border-radius: 20px;
  line-height: 1;
}

.td-loc a {
  text-decoration: none;
  color: #ff0;
}

.td-loc a:hover {
  color: #cc0;
}

.td-cond {
  border-radius: 20px;
  border: 2px solid #3498db;
  margin: 40px auto;
  padding: 20px 10px;
}

/* =================================================
整備・モディファイページ
================================================= */
/* 1. 外側のラッパー：バナー自体を画面中央に配置 */
.wc-banner-wrapper {
  display: flex;
  justify-content: center;
  padding: 10px 0;
  width: 100%;
  box-sizing: border-box;
}

/* 2. バナーコンテナ */
.wc-banner-container {
  display: inline-block;
  max-width: 900px; /* 最大横幅 */
  width: 100%;
  padding: 2% 2% 0;
  border: 5px solid #707070;
  border-radius: 40px;
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  color: #333;
  background-color: #fff;
  box-sizing: border-box;
}

/* 3. コンテンツの中央寄せ */
.wc-banner-content {
  text-align: center;
}

.wc-banner-title {
  margin: 0;
  padding: 0;
  font-size: clamp(16px, 2.5vw, 24px); /* 画面幅に合わせて可変 */
  font-weight: bold;
}

.wc-banner-main-text {
  margin: 0;
  padding: 0;
  font-weight: bold;
  display: flex;
  justify-content: center;
  align-items: baseline;
  flex-wrap: wrap; /* スマホで入り切らない場合に折り返す */
  gap: 2px;
}

.wc-banner-label {
  color: #6b6b2d;
  font-size: clamp(18px, 3vw, 28px);
}

.wc-banner-number {
  color: #e60012;
  font-size: clamp(35px, 6vw, 60px);
  line-height: 1;
}

.wc-banner-unit {
  font-size: clamp(18px, 3vw, 30px);
}

.wc-banner-highlight {
  color: #e60012;
  font-size: clamp(24px, 4.5vw, 45px);
}

.wc-banner-action {
  font-size: clamp(18px, 3vw, 30px);
}

/* 4. 下段の詳細項目（括弧付き） */
.wc-banner-details {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 10px;
  font-weight: bold;
  color: #555;
}

.wc-banner-details-inner {
  font-size: clamp(12px, 1.8vw, 18px);
  line-height: 1.6;
}

.wc-banner-details-inner p {
  margin: 0;
  /* PCでは1行にしたいが、スマホでは自動で折り返す設定 */
}

.wc-banner-bracket-left,
.wc-banner-bracket-right {
  font-size: clamp(40px, 8vw, 80px);
  font-weight: 100;
  color: #999;
  display: inline-block;
  transform: scaleY(1.3);
  margin: 0 10px;
}

/* 5. レスポンシブ調整（スマホ用） */
@media (max-width: 600px) {
  .wc-banner-container {
    padding: 15px 10px;
  }
  .wc-banner-details-inner p {
    white-space: normal; /* スマホではテキストを折り返す */
    word-break: break-all;
    text-align: left;
  }
  .wc-banner-bracket-left,
  .wc-banner-bracket-right {
    display: none; /* 小さい画面では括弧を消してスッキリさせる（任意） */
  }
}
@media screen and (min-width: 520px) and (max-width: 600px) {
  .wc-banner-details-inner p {
    padding: 0 15px;
  }
}
/* CSS Document */
/* =================================================
   Brand ページ CSS
================================================= */
/* -------------------------------------------------
   ブランドメインページ
   (zoom.css & zoom.jsと連動)
------------------------------------------------- */
/* --- メインボタン --- */
.dlr-btn {
  width: 100%;
  margin-top: 15px;
  display: grid; /* Gridレイアウトを適用 */
  gap: 20px; /* 要素間の余白 */
}

.dlr-btn figure {
  margin: 0;
  padding: 0;
  text-align: center;
}

.dlr-btn .image-wrapper {
  border-radius: 8px;
  overflow: hidden;
  position: relative;
}

.dlr-btn .image-wrapper img {
  width: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  height: 30vh; /* 767px以下のデフォルト高さ */
}

/* --- レスポンシブ設定 --- */
/* 767px以下（スマホ・縦並び） */
@media screen and (max-width: 767px) {
  .dlr-btn {
    grid-template-columns: 1fr; /* 1列（縦並び） */
  }
  .dlr-btn .image-wrapper img {
    height: 20vh; /* 767px以下のデフォルト高さ */
  }
}
/* 480px以下 */
@media screen and (max-width: 480px) {
  .dlr-btn .image-wrapper img {
    height: 15vh; /* 480px以下の指定高さ */
  }
}
/* 768px以上（PC・横並び） */
@media screen and (min-width: 768px) {
  .dlr-btn {
    /* ご指定のGridプロパティ：2列横並び */
    grid-template-columns: repeat(2, 1fr);
  }
}
hr.dlr-hr {
  border: 1px solid #3498db;
  width: 96%;
  max-width: 1455px;
  padding: auto;
  margin: 40px auto 0;
}

/* --- モデルラインナップ --- */
.models .image-wrapper {
  height: 40vh; /* 高さ30vh固定 */
  border-radius: 8px;
}

.model-info {
  padding: 15px;
}

.model-name {
  text-align: center; /* 中央寄せ */
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 1.7em;
}

.models .zoom_box:hover .model-name {
  color: #F00;
}

.model-specs {
  text-align: right; /* 右寄せ */
  font-size: 1.2em;
  margin-bottom: 50px;
}

.model-specs, .model-name {
  font-style: italic; /* イタリック体 */
}

@media (min-width: 768px) {
  /* PC表示 */
  .model-image-wrapper img {
    width: 100%; /* PCでは幅100%表示 */
  }
  .model-specs {
    margin-top: -2.5rem;
  }
}
@media (max-width: 767px) {
  /* スマホ表示 */
  .model-image-wrapper img {
    width: auto; /* 幅100%表示されない状態 */
    min-width: 100%; /* 親の幅を覆うための最小幅 */
  }
  .model-specs {
    margin-top: 5px;
  }
}
/* -------------------------------------------------
   ブランドメインページ
------------------------------------------------- */
/* --- モデルタイトル＆セパレートライン --- */
.model-sti {
  display: flex;
  align-items: center;
  color: #578;
  font-size: 1.8rem;
  font-style: italic;
  letter-spacing: 0.05em;
  white-space: nowrap;
  padding: 20px 0;
}

.model-sti:before,
.model-sti:after {
  content: "";
  flex-grow: 1;
  height: 1px;
  background-color: #333;
}

.model-sti:before {
  margin-right: 15px;
}

.model-sti:after {
  margin-left: 15px;
}

/* --- ロゴ --- */
.model-logo {
  margin-bottom: 40px;
}

.invert {
  filter: invert(1);
}

/* --- 車両本体価格 --- */
.base-price {
  text-align: center;
  color: #9c9;
  padding: 0;
  margin: 0 0 20px;
}

/* --- 車両説明文 --- */
.feature-wrap {
  color: #ccc;
}

.feature-wrap img {
  border-radius: 20px;
}

/* -------------------------------------------------
   車両ページ
------------------------------------------------- */
/* Carネーム
----------------------------------------------- */
.car-name-area {
  text-align: center;
}

.car-name-area .list-price {
  margin: 0 1% 5px;
}

.car-name-area .list-price .grade {
  margin: 0 15px 5px 0;
  padding: 0.1rem 0 0;
  font-size: 90%;
  color: #999;
}

.car-name-area .list-price .price {
  margin: 0 0 20px;
  padding: 0;
  font-size: 140%;
}

.car-name-area .list-price .price::after {
  content: "円 ～";
  font-size: 90%;
  padding-left: 0.2em;
}

/* Carパフォーマンス
----------------------------------------------- */
@media screen and (max-width: 800px) {
  .car-pfm-area {
    margin: 0 auto 10px;
  }
  .car-pfm-area .pfm-group {
    width: 100%;
    border-bottom: 2px #333 solid;
  }
  .car-pfm-area .pfm-group div {
    width: 33.3%;
  }
  .car-pfm-area .pfm-border1 {
    border-top: 2px #333 solid;
  }
  .car-pfm-area .pfm-border2 {
    border-right: 2px #333 solid;
  }
}
@media screen and (min-width: 801px), print {
  .car-pfm-area {
    margin: 10px auto 30px;
  }
  .car-pfm-area .pfm-group {
    width: 50%;
    float: left;
  }
  .car-pfm-area .pfm-group div {
    width: 16.6%;
  }
}
@media screen and (max-width: 480px) {
  .car-pfm-area .pfm-group dl {
    font-size: 120%;
  }
  .car-pfm-area .pfm-group span {
    font-size: 80%;
  }
}
@media screen and (min-width: 481px) and (max-width: 800px) {
  .car-pfm-area .pfm-group dl {
    font-size: 140%;
  }
  .car-pfm-area .pfm-group span {
    font-size: 70%;
  }
}
@media screen and (min-width: 801px), print {
  .car-pfm-area .pfm-group dl {
    font-size: 160%;
  }
  .car-pfm-area .pfm-group span {
    font-size: 60%;
  }
}
.car-pfm-area .pfm-group {
  display: table;
  border-collapse: separate;
  border-spacing: 0px 0px; /* 左右 上下の順で記述 */
}

.car-pfm-area .pfm-group div {
  display: table-cell;
  padding-top: 4px;
  text-align: center;
  font-weight: bold;
  border-left: 2px #333 solid;
}

.car-pfm-area .pfm-group dt {
  font-size: 80%;
  color: #c00;
  padding: 0 0 10px;
}

.car-pfm-area .pfm-border3 {
  border-right: 2px #333 solid;
}

/* Carギャラリー
----------------------------------------------- */
.car-fig {
  width: 100%;
  padding: 10px 0;
  display: grid;
}

.car-fig figure {
  margin: 0;
  padding: 0;
}

@media screen and (max-width: 480px) {
  .car-fig {
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
  }
}
@media screen and (min-width: 481px) and (max-width: 640px) {
  .car-fig {
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
  }
}
@media screen and (min-width: 641px) and (max-width: 767px) {
  .car-fig {
    grid-template-columns: repeat(5, 1fr);
    gap: 6px;
  }
}
@media screen and (min-width: 768px) and (max-width: 960px) {
  .car-fig {
    grid-template-columns: repeat(6, 1fr);
    gap: 7px;
  }
}
@media screen and (min-width: 961px) and (max-width: 1120px) {
  .car-fig {
    grid-template-columns: repeat(7, 1fr);
    gap: 7px;
  }
}
@media screen and (min-width: 1121px) and (max-width: 1279px) {
  .car-fig {
    grid-template-columns: repeat(8, 1fr);
    gap: 7px;
  }
}
@media screen and (min-width: 1280px) and (max-width: 1455px) {
  .car-fig {
    grid-template-columns: repeat(9, 1fr);
    gap: 8px;
  }
}
@media screen and (min-width: 1456px), print {
  .car-fig {
    grid-template-columns: repeat(10, 1fr);
    gap: 8px;
  }
}
.car-fig figure,
.car-fig figure a {
  display: block;
  line-height: 0;
}

/* リンクボタン／PDF等
----------------------------------------------- */
.link-box {
  position: relative;
  color: #fff;
}

.link-box:hover {
  color: #F00;
}

.link-box a {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  text-indent: 100%; /*テキスト非表示*/
  white-space: nowrap; /*テキスト非表示*/
  overflow: hidden; /*テキスト非表示*/
}

.link-btn {
  border: 1px solid #333;
  border-radius: 20px;
  padding: 10px;
  margin: 20px auto;
  max-width: 320px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.link-btn i {
  font-size: 2.5rem;
  margin-left: 10px;
}

.link-btn span {
  font-style: italic;
  letter-spacing: 0.1em;
}

.link-btn-gr {
  background-image: linear-gradient(0deg, #040, #141 50%, #040);
}

.bbk .link-btn-gr {
  background-image: linear-gradient(0deg, #020, #131 50%, #020);
}

.link-btn-bl {
  background-image: linear-gradient(0deg, #004, #114 50%, #004);
}

.bbk .link-btn-bl {
  background-image: linear-gradient(0deg, #002, #113 50%, #002);
}

.link-btn-wh {
  background-color: #fff;
  color: #000;
}

/* SEVEN エンジンヒストリー
----------------------------------------------- */
.seven-engine-wrapper {
  max-width: 1200px;
  margin: 60px auto 20px;
  padding: 0 20px;
  line-height: 1.8;
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
}

.seven-engine-intro {
  margin-bottom: 60px;
  color: #ccc;
}

.seven-engine-card {
  display: flex;
  gap: 40px;
  margin-bottom: 80px;
  padding-bottom: 40px;
  border-bottom: 1px solid #333;
}

.seven-engine-card:last-of-type {
  border-bottom: none;
}

/* 画像エリア固定幅設定 */
.seven-engine-media {
  flex: 0 0 35%; /* 横幅の35%を維持 */
}

.seven-engine-media img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5); /* 影を強く */
  display: block;
  border: 1px solid #222;
}

/* テキストエリア */
.seven-engine-info {
  flex: 1;
}

.seven-engine-tag {
  display: inline-block;
  background: #ff1a1a; /* 赤タグに変更 */
  color: #fff;
  font-size: 0.75rem;
  font-weight: bold;
  padding: 3px 12px;
  margin-bottom: 12px;
  border-radius: 2px;
}

.seven-engine-name {
  font-size: 1.6rem;
  margin: 0 0 15px 0;
  color: #008049; /* 明るい緑 */
  border-left: 5px solid #008049;
  padding-left: 15px;
  font-weight: 700;
}

.seven-engine-text {
  font-size: 1rem;
  margin-bottom: 25px;
  color: #eee;
}

/* サンプルモデル表示（全サイズ左寄せ） */
.seven-engine-sample-box {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #222; /* 濃いグレー */
  padding: 15px;
  border-radius: 8px;
  text-align: left; /* 左寄せ固定 */
  border: 1px solid #333;
}

.seven-engine-sample-img {
  width: 130px;
  height: auto;
  border-radius: 4px;
}

.seven-engine-sample-caption {
  font-size: 0.85rem;
  font-weight: bold;
  margin: 0;
  color: #fff;
}

.seven-engine-sample-caption span {
  color: #ff1a1a; /* 明るい赤 */
  display: block;
  font-size: 1.1rem;
  margin-top: 2px;
}

/* --- レスポンス設定 --- */
/* PC: 768px以上 */
@media screen and (min-width: 768px) {
  .seven-engine-card:nth-child(even) {
    flex-direction: row-reverse;
  }
  .seven-engine-media img {
    margin-top: 110px;
  }
}
/* SP: 767px以下 */
@media screen and (max-width: 767px) {
  .seven-engine-card {
    flex-direction: column; /* 縦並び */
    gap: 20px;
    margin-bottom: 60px;
  }
  .seven-engine-media {
    flex: 0 0 100%;
    width: 100%;
  }
  .seven-engine-media img {
    width: 100%;
    height: 30vh; /* 高さ30vh固定 */
    -o-object-fit: cover;
       object-fit: cover; /* 横長にトリミング */
    -o-object-position: center;
       object-position: center;
  }
  .seven-engine-info {
    width: 100%;
  }
  .seven-engine-name {
    font-size: 1.35rem;
  }
  .seven-engine-sample-box {
    flex-direction: row; /* スマホでも横並びを維持 */
    justify-content: flex-start;
    padding: 10px;
  }
  .seven-engine-sample-img {
    width: 80px; /* スマホ用に少し小さく */
  }
}
/* CSS Document */
/* ***********************************************
　店舗紹介ページ　shops.html
************************************************ */
.shop-info-wrap {
  width: 100%;
  max-width: 1200px;
  margin: 20px auto;
  padding: auto;
}

.shop-info-wrap figure {
  display: inline-block;
  vertical-align: top;
  width: 100%;
  margin: 30px auto;
  background: #f0f0f3;
  border: solid 1px #ccc;
  border-radius: 20px;
  filter: drop-shadow(2px 2px 2px rgba(0, 0, 0, 0.6));
  clear: both;
}

.shop-info-img {
  width: 100%;
  max-width: 230px;
  float: left;
  padding: 20px 20px 0;
}

.shop-info-img img {
  border-radius: 8px;
}

.shop-info-data {
  float: left;
}

.shop-info-data dl {
  margin: 20px;
}

.shop-info-data dt {
  font-weight: bold;
  color: #3498db;
  padding-top: 10px;
  float: left;
  clear: left;
  width: 100px;
}

.shop-info-data dd {
  margin-left: 110px;
  padding-top: 10px;
}

.shop-info-data dt, .shop-info-data dd {
  /* ddが残りの幅を全て使うようにする */
  flex-grow: 1;
  /* ddとdtの縦方向の揃えを上端に合わせる */
  align-self: flex-start;
  /* 日本語とアルファベットの高さの違いによる行間問題を補正する */
  line-height: 1.6;
}

/* 画面幅が狭くなったときの対応 (ブレークポイント) */
@media (max-width: 1024px) {
  .shop-info-data {
    flex-direction: column; /* 上下に並べる */
    gap: 20px;
  }
  .shop-info-img, .shop-info-data {
    flex: 1 1 100%;
    min-width: unset;
  }
  .map-container iframe {
    height: 400px;
  }
}
.shop-info-name {
  text-align: center;
  font-size: clamp(1.1rem, 3vw, 1.6rem);
  border-bottom: 1px solid #999;
  padding: 15px 0 5px;
}

@media screen and (min-width: 545px) and (max-width: 720px) {
  .shop-info-part {
    display: none;
  }
}
@media all and (min-width: 881px), print {
  .shop-info-part {
    display: none;
  }
}
.shop-info-pr {
  width: 96%;
  color: #c00;
  float: left;
  padding: 10px;
  text-align: center;
  font-size: 90%;
}

.shop-info-pr p {
  display: table;
  text-align: left;
  padding: 0;
  margin: 0 auto;
}

.shop-info-box {
  position: relative;
}

.shop-info-box:hover {
  color: #F00;
}

.shop-info-box a {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  text-indent: 100%; /*テキスト非表示*/
  white-space: nowrap; /*テキスト非表示*/
  overflow: hidden; /*テキスト非表示*/
}

.shop-info-box a:hover {
  opacity: 0.2;
  filter: alpha(opacity=20);
  -ms-filter: "alpha( opacity=20 )";
  background: #fff;
}

/* ***********************************************
　各店・店舗詳細ページ
************************************************ */
/* =================================================
　　店舗情報とGoogleマップセクション
================================================= */
.store-info-map {
  display: flex;
  flex-wrap: wrap; /* 画面幅が狭い時に折り返す */
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  gap: 40px; /* 要素間のスペース */
}

.info-container, .map-container {
  flex: 1 1 45%; /* 基本的に横幅の45%を占め、折り返しを許可 */
  min-width: 300px; /* 最小幅 */
}

.info-container h2 {
  text-align: left;
  border-bottom: 2px solid #3498db;
  padding-bottom: 5px;
  margin-bottom: 20px;
}

.info-container dl {
  margin: 0;
}

.info-container dt {
  font-weight: bold;
  color: #3498db;
  padding-top: 10px;
  float: left;
  clear: left;
  width: 100px;
}

.info-container dd {
  margin-left: 110px;
  padding-top: 10px;
}

.info-container dt, .info-container dd {
  /* ddが残りの幅を全て使うようにする */
  flex-grow: 1;
  /* ddとdtの縦方向の揃えを上端に合わせる */
  align-self: flex-start;
  /* 日本語とアルファベットの高さの違いによる行間問題を補正する */
  line-height: 1.6;
}

/* --- Googleマップのスタイル  --- */
.map-container {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.map-link {
  display: block;
  height: 100%; /* リンク全体をコンテナに合わせる */
}

.map-container iframe {
  width: 100%;
  height: 600px;
  border: 0;
  display: block; /* iframeの下の余白を消す */
  border-radius: 8px;
}

/* 画面幅が狭くなったときの対応 (ブレークポイント) */
@media (max-width: 1024px) {
  .store-info-map {
    flex-direction: column; /* 上下に並べる */
    gap: 20px;
  }
  .info-container, .map-container {
    flex: 1 1 100%;
    min-width: unset;
  }
  .map-container iframe {
    height: 400px;
  }
}
hr.shop-hr {
  border: 1px solid #3498db;
  max-width: 1160px;
  width: 96%;
  padding: auto;
  margin: 40px auto 0;
}

/* =================================================
　フロア紹介セクション 
　(zoom.css & zoom.jsと連動)
================================================= */
.floor-sections {
  max-width: 1200px;
  margin: 60px auto;
  padding: auto;
}

.floor-item {
  margin-bottom: 20px;
  padding: 20px;
  border-radius: 10px;
  background-color: #000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.floor-item h3 {
  margin-top: 25px;
}

.floor-item .image-wrapper {
  border-radius: 8px;
}

@media (min-width: 801px) {
  .floor-item .image-wrapper {
    height: 600px; /* 画像の高さを固定 */
  }
}
@media (min-width: 481px) and (max-width: 800px) {
  .floor-item .image-wrapper {
    height: 400px; /* 画像の高さを固定 */
  }
}
@media (max-width: 480px) {
  .floor-item .image-wrapper {
    height: 300px; /* 画像の高さを固定 */
  }
}
/* --- image-wrapper内のfigure要素設定 --- */
.shop-fig-space {
  margin: -60px 0 40px;
}

.shop-fig figure {
  overflow: hidden;
  border-radius: 8px;
}

.shop-fig img {
  border-radius: 8px;
  -o-object-fit: cover;
     object-fit: cover;
  aspect-ratio: 1/1;
}

/* ***********************************************
　Meet The Witham Cars ＆ スタッフ紹介
************************************************ */
/* =================================================
　Meet the Witham Cars
================================================= */
/* --- #main-contentの padding:0 Ver. --- */
#meet-wrap {
  max-width: 1920px;
  margin: auto;
  padding: 0;
}

/* --- 行間調整 --- */
#meet-wrap p {
  line-height: 1.8;
  margin-bottom: 30px;
}

#meet-wrap h1 {
  font-family: "Noto Serif JP", sans-serif;
  text-shadow: 1px 1px 1px #ccc;
}

/* --- 背景画像 --- */
.meet-us,
.meet-passion {
  max-width: 1920px;
  width: 100%;
  margin: 0 auto 50px;
  padding: 50px 0;
}

.meet-us {
  background-image: url("/assets/img/pages/meet/bg-us.webp");
  background-position: 40% 10%;
}

.meet-passion {
  background-image: url("/assets/img/pages/meet/bg-passion.webp");
  background-position: 50% 25%;
}

/* --- ロゴ --- */
div.meet-logo {
  width: 25%;
  min-width: 180px;
  max-width: 380px;
  height: auto;
  margin: 60px auto;
  padding: auto;
}

@media screen and (max-width: 768px) {
  div.meet-logo {
    margin: 40px auto;
  }
}
/* =================================================
　スタッフリスト
================================================= */
div.meet-crew a {
  text-decoration: none;
  color: #000;
}

div.meet-crew img {
  width: 100%;
  height: auto;
  text-align: center;
  border-radius: 12px;
  box-shadow: 1px 1px 1px #ccc;
}

div.meet-crew h5 {
  font-weight: bold;
  text-align: center;
  padding: 1px 0;
  margin: 0 -3px;
  font-size: 85%;
  font-weight: normal;
  border-bottom: 1px solid #aaa;
}

div.meet-crew p {
  color: #777;
  font-size: 70%;
  text-align: center;
  padding: 0;
  margin: 0;
}

div.crew-res {
  width: 100%;
  max-width: 980px;
  margin: auto;
  padding: 0;
}

@media screen and (max-width: 480px) {
  div.crew-res figure {
    width: 22.9%;
  }
}
@media screen and (min-width: 481px) and (max-width: 767px) {
  div.crew-res figure {
    width: 18.1%;
  }
}
@media screen and (min-width: 768px), print {
  div.crew-res figure {
    width: 12.6%;
  }
}
/* =================================================
　個別スタッフ紹介ページ
================================================= */
#crew {
  width: 100%;
  padding: 20px 0;
  margin: 60px 0 0;
  background-color: #dee;
}

#crew img {
  border-radius: 8px;
}

@media screen and (max-width: 480px) {
  .crew-img {
    width: 69%;
    max-width: 300px;
    padding: auto;
    margin: auto;
  }
  .crew-img img {
    margin: 5px 5px 5px -7px;
  }
  .crew-name {
    width: 100%;
    margin: 10px auto;
  }
  .post {
    padding-top: 2px;
    padding-right: 10px;
  }
  .crew-clm-t {
    width: 96%;
    margin: auto;
    padding: auto;
  }
  .crew-clm-l, .crew-clm-r {
    width: 96%;
    padding: 20px 2%;
  }
  .crew-img2, .crew-img3, .crew-img4 {
    width: 48%;
    margin-right: 2%;
    float: left;
  }
}
@media screen and (min-width: 481px) and (max-width: 800px) {
  .crew-img {
    width: 35%;
    margin-right: 5%;
    float: left;
  }
  .crew-img img {
    margin: 5px;
  }
  .crew-name {
    width: 60%;
    float: left;
    margin-bottom: 10px;
  }
  .crew-clm-t {
    width: 100%;
    margin: auto;
    padding: 0 2%;
  }
  .crew-clm-l, .crew-clm-r {
    width: 100%;
    padding: 20px 2%;
  }
  .crew-img2 {
    width: 35%;
    margin-right: 5%;
    float: left;
  }
  .crew-img3 {
    width: 35%;
    margin: 0 15% 0 0;
    float: left;
  }
  .crew-img4 {
    width: 35%;
    margin: 0 0 0 15%;
    float: left;
  }
}
@media screen and (min-width: 801px), print {
  .crew-img {
    width: 26%;
    margin-right: 5%;
    float: left;
  }
  .crew-img img {
    margin: 5px 5px 20px;
  }
  .crew-name {
    width: 69%;
    float: left;
    margin-bottom: 20px;
  }
  .crew-clm-l {
    width: 48%;
    padding: 20px 2% 20px 0;
    float: left;
  }
  .crew-clm-r {
    width: 48%;
    padding: 20px 0 20px 2%;
    float: left;
  }
  .crew-img2, .crew-img3, .crew-img4 {
    width: 48%;
    margin-right: 2%;
    float: left;
  }
}
.crew-img, .crew-img2 {
  height: auto;
}

.crew-img img {
  border: 10px solid #9aa;
  box-shadow: 1px 1px 1px #ccc;
}

.crew-name {
  text-align: center;
  padding-bottom: 10px;
  border-bottom: 1px solid #999;
  line-height: 1.2em;
}

.crew-name .post {
  line-height: 2em !important;
}

h4.crew-subtitle {
  text-align: center;
  padding: 20px 0 0px;
  margin: 0;
  clear: both;
}

p.crew-subtitle {
  text-align: center;
  padding: 0;
  margin: 0 0 20px;
  clear: both;
  font-weight: bold;
}

.crew-img-w {
  margin-top: 10px;
}

/* CSS Document */
/* =================================================
　イベントページ（個別ページ）CSS 
================================================= */
/* ***********************************************
 /pages/events/～
************************************************ */
.ev_ti {
  padding: 10px 0;
  margin: 0;
  text-align: center;
}

@media screen and (max-width: 380px) {
  .ev_ti {
    font-size: 90%;
  }
}
@media screen and (min-width: 381px) and (max-width: 600px) {
  .ev_ti {
    font-size: 100%;
  }
}
@media all and (min-width: 601px), print {
  .ev_ti {
    font-size: 115%;
  }
}
div.ev_line {
  padding: 10px 0;
  margin: 0;
  border-top: solid 6px #666;
  border-bottom: solid 6px #666;
  background: #999;
}

div.ev_line hr {
  height: 0;
  margin: 5px 0;
  padding: 0;
  border: 0;
  border-top: 4px dashed #ccc;
}

.ev_sti {
  font-size: calc(120% + 0.7vw);
  padding: 5px 1%;
  text-shadow: 2px 2px 4px #666;
}

.ev_sti span {
  padding-right: 5px;
}

div.ev_wrap {
  width: 100%;
  max-width: 980px;
  margin: auto;
  padding: 0;
}

div.ev_container {
  width: 96%;
  margin: auto;
  padding: 2%;
}

div.ev_container p img {
  margin-bottom: 10px;
}

.ev_cal_ti {
  font-size: 160%;
  text-align: center;
  padding: 0.2em 0.5em;
  margin-bottom: 5px;
  background: linear-gradient(to right, rgb(255, 124, 111), #ffc994);
  color: white;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.56);
}

/**
 * Owl Carousel v2.3.4
 * Copyright 2013-2018 David Deutsch
 * Licensed under: SEE LICENSE IN https://github.com/OwlCarousel2/OwlCarousel2/blob/master/LICENSE
 */
.owl-carousel, .owl-carousel .owl-item {
  -webkit-tap-highlight-color: transparent;
  position: relative;
}

.owl-carousel {
  display: none;
  width: 100%;
  z-index: 1;
}

.owl-carousel .owl-stage {
  position: relative;
  touch-action: manipulation;
  -moz-backface-visibility: hidden;
}

.owl-carousel .owl-stage:after {
  content: ".";
  display: block;
  clear: both;
  visibility: hidden;
  line-height: 0;
  height: 0;
}

.owl-carousel .owl-stage-outer {
  position: relative;
  overflow: hidden;
  -webkit-transform: translate3d(0, 0, 0);
}

.owl-carousel .owl-item, .owl-carousel .owl-wrapper {
  -webkit-backface-visibility: hidden;
  -moz-backface-visibility: hidden;
  -ms-backface-visibility: hidden;
  -webkit-transform: translate3d(0, 0, 0);
  -moz-transform: translate3d(0, 0, 0);
  -ms-transform: translate3d(0, 0, 0);
}

.owl-carousel .owl-item {
  min-height: 1px;
  float: left;
  -webkit-backface-visibility: hidden;
  -webkit-touch-callout: none;
}

.owl-carousel .owl-item img {
  display: block;
  width: 100%;
}

.owl-carousel .owl-dots.disabled, .owl-carousel .owl-nav.disabled {
  display: none;
}

.no-js .owl-carousel, .owl-carousel.owl-loaded {
  display: block;
}

.owl-carousel .owl-dot, .owl-carousel .owl-nav .owl-next, .owl-carousel .owl-nav .owl-prev {
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}

.owl-carousel .owl-nav button.owl-next, .owl-carousel .owl-nav button.owl-prev, .owl-carousel button.owl-dot {
  background: 0 0;
  color: inherit;
  border: none;
  padding: 0 !important;
  font: inherit;
}

.owl-carousel.owl-loading {
  opacity: 0;
  display: block;
}

.owl-carousel.owl-hidden {
  opacity: 0;
}

.owl-carousel.owl-refresh .owl-item {
  visibility: hidden;
}

.owl-carousel.owl-drag .owl-item {
  touch-action: pan-y;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}

.owl-carousel.owl-grab {
  cursor: move;
  cursor: grab;
}

.owl-carousel.owl-rtl {
  direction: rtl;
}

.owl-carousel.owl-rtl .owl-item {
  float: right;
}

.owl-carousel .animated {
  animation-duration: 1s;
  animation-fill-mode: both;
}

.owl-carousel .owl-animated-in {
  z-index: 0;
}

.owl-carousel .owl-animated-out {
  z-index: 1;
}

.owl-carousel .fadeOut {
  animation-name: fadeOut;
}

@keyframes fadeOut {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
.owl-height {
  transition: height 0.5s ease-in-out;
}

.owl-carousel .owl-item .owl-lazy {
  opacity: 0;
  transition: opacity 0.4s ease;
}

.owl-carousel .owl-item .owl-lazy:not([src]), .owl-carousel .owl-item .owl-lazy[src^=""] {
  max-height: 0;
}

.owl-carousel .owl-item img.owl-lazy {
  transform-style: preserve-3d;
}

.owl-carousel .owl-video-wrapper {
  position: relative;
  height: 100%;
  background: #000;
}

.owl-carousel .owl-video-play-icon {
  position: absolute;
  height: 80px;
  width: 80px;
  left: 50%;
  top: 50%;
  margin-left: -40px;
  margin-top: -40px;
  background: url(owl.video.play.png) no-repeat;
  cursor: pointer;
  z-index: 1;
  -webkit-backface-visibility: hidden;
  transition: transform 0.1s ease;
}

.owl-carousel .owl-video-play-icon:hover {
  transform: scale(1.3, 1.3);
}

.owl-carousel .owl-video-playing .owl-video-play-icon, .owl-carousel .owl-video-playing .owl-video-tn {
  display: none;
}

.owl-carousel .owl-video-tn {
  opacity: 0;
  height: 100%;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: contain;
  transition: opacity 0.4s ease;
}

.owl-carousel .owl-video-frame {
  position: relative;
  z-index: 1;
  height: 100%;
  width: 100%;
}

/**
 * Owl Carousel v2.3.4
 * Copyright 2013-2018 David Deutsch
 * Licensed under: SEE LICENSE IN https://github.com/OwlCarousel2/OwlCarousel2/blob/master/LICENSE
 */
.owl-theme .owl-dots, .owl-theme .owl-nav {
  text-align: center;
  -webkit-tap-highlight-color: transparent;
}

.owl-theme .owl-nav {
  margin-top: 10px;
}

.owl-theme .owl-nav [class*=owl-] {
  color: #FFF;
  font-size: 14px;
  margin: 5px;
  padding: 4px 7px;
  background: #D6D6D6;
  display: inline-block;
  cursor: pointer;
  border-radius: 3px;
}

.owl-theme .owl-nav [class*=owl-]:hover {
  background: #869791;
  color: #FFF;
  text-decoration: none;
}

.owl-theme .owl-nav .disabled {
  opacity: 0.5;
  cursor: default;
}

.owl-theme .owl-nav.disabled + .owl-dots {
  margin-top: 10px;
}

.owl-theme .owl-dots .owl-dot {
  display: inline-block;
  zoom: 1;
}

.owl-theme .owl-dots .owl-dot span {
  width: 10px;
  height: 10px;
  margin: 5px 7px;
  background: #D6D6D6;
  display: block;
  -webkit-backface-visibility: visible;
  transition: opacity 0.2s ease;
  border-radius: 30px;
}

.owl-theme .owl-dots .owl-dot.active span, .owl-theme .owl-dots .owl-dot:hover span {
  background: #869791;
}

body.lb-disable-scrolling {
  overflow: hidden;
}

.lightboxOverlay {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 9999;
  background-color: black;
  opacity: 0.8;
  display: none;
}

.lightbox {
  position: absolute;
  left: 0;
  width: 100%;
  z-index: 10000;
  text-align: center;
  line-height: 0;
  font-weight: normal;
  outline: none;
}

.lightbox .lb-image {
  display: block;
  height: auto;
  max-width: inherit;
  max-height: none;
  border-radius: 3px;
  /* Image border */
  border: 4px solid white;
}

.lightbox a img {
  border: none;
}

.lb-outerContainer {
  position: relative;
  width: 250px;
  height: 250px;
  margin: 0 auto;
  border-radius: 4px;
  /* Background color behind image.
     This is visible during transitions. */
  background-color: white;
}

.lb-outerContainer:after {
  content: "";
  display: table;
  clear: both;
}

.lb-loader {
  position: absolute;
  top: 43%;
  left: 0;
  height: 25%;
  width: 100%;
  text-align: center;
  line-height: 0;
}

.lb-cancel {
  display: block;
  width: 32px;
  height: 32px;
  margin: 0 auto;
  background: url(/assets/img/lightbox/loading.gif) no-repeat;
}

.lb-nav {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  z-index: 10;
}

.lb-container > .nav {
  left: 0;
}

.lb-nav a {
  outline: none;
  background-image: url("data:image/gif;base64,R0lGODlhAQABAPAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==");
}

.lb-prev, .lb-next {
  height: 100%;
  cursor: pointer;
  display: block;
}

.lb-nav a.lb-prev {
  width: 34%;
  left: 0;
  float: left;
  background: url(/assets/img/lightbox/prev.png) left 48% no-repeat;
  opacity: 0;
  transition: opacity 0.6s;
}

.lb-nav a.lb-prev:hover {
  opacity: 1;
}

.lb-nav a.lb-next {
  width: 64%;
  right: 0;
  float: right;
  background: url(/assets/img/lightbox/next.png) right 48% no-repeat;
  opacity: 0;
  transition: opacity 0.6s;
}

.lb-nav a.lb-next:hover {
  opacity: 1;
}

.lb-dataContainer {
  margin: 0 auto;
  padding-top: 5px;
  width: 100%;
  border-bottom-left-radius: 4px;
  border-bottom-right-radius: 4px;
}

.lb-dataContainer:after {
  content: "";
  display: table;
  clear: both;
}

.lb-data {
  padding: 0 4px;
  color: #ccc;
}

.lb-data .lb-details {
  width: 85%;
  float: left;
  text-align: left;
  line-height: 1.1em;
}

.lb-data .lb-caption {
  font-size: 13px;
  font-weight: bold;
  line-height: 1em;
}

.lb-data .lb-caption a {
  color: #4ae;
}

.lb-data .lb-number {
  display: block;
  clear: left;
  padding-bottom: 1em;
  font-size: 12px;
  color: #999999;
}

.lb-data .lb-close {
  display: block;
  float: right;
  width: 30px;
  height: 30px;
  background: url(/assets/img/lightbox/close.png) top right no-repeat;
  text-align: right;
  outline: none;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.lb-data .lb-close:hover {
  cursor: pointer;
  opacity: 1;
}

/* CSS Document */
.faq-accordion {
  max-width: 1150px;
  margin: 0 auto;
}

.faq-panel {
  border: 1px solid #ddd;
  margin-bottom: 10px;
}

.faq-panel-inner {
  height: 0;
  overflow: hidden;
  transition: height 0.3s ease;
}

.faq-panel-header {
  width: 100%;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #135;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  text-align: left;
  color: #ddd;
}

.faq-panel-header:hover {
  background: #357;
}

.faq-icon {
  font-size: 20px;
  transition: transform 0.3s;
}

.faq-panel-header.active .faq-icon {
  transform: rotate(45deg);
}

.faq-panel-content {
  height: 0;
  overflow: hidden;
  transition: height 0.3s ease-out;
  background-color: #9bd;
  color: #000;
}

.faq-panel-body {
  padding: 20px;
  border-top: 1px solid #eee;
}

/* CSS Document */
/* =================================================
フェードイン・アニメーション　※JavaScriptと連動
================================================= */
.fade-in-target {
  /* 初期位置：Y軸方向で少し下げる */
  transform: translateY(100px);
  /* 初期透明度：完全に透明 */
  opacity: 0;
  /* スムーズなアニメーションのために、アニメーション前の状態にもトランジションを設定しておくと良い */
  transition: opacity 1s ease-out, transform 1s ease-out;
}

/* JavaScriptで要素が画面内に入ったときに付与するクラス */
.is-visible {
  /* 最終位置：元の位置に戻す */
  transform: translateY(0);
  /* 最終透明度：完全に表示 */
  opacity: 1;
}

/* CSS Document */
.fadein {
  opacity: 0;
  bottom: -40px;
  position: relative;
  transition-duration: 2s;
}
.fadein:nth-of-type(5) {
  box-shadow: none;
  transform: rotate(0deg);
}

.fadein.active {
  opacity: 1;
  bottom: 0;
  /*  
    &:nth-of-type(5) {
      animation:gokigen 8s linear 2s infinite ;
    }
  */
}

/*
@keyframes gokigen {
  0% , 50%{
      transform: rotate(0deg);
  }
  25%{
      transform: rotate(10deg);
  }
  75%{
      transform: rotate(-10deg);
  }
}
*/
/* =================================================
   ニュースカルーセル
   ================================================= */
.carousel-wrapper {
  max-width: 1455px;
  margin: 2rem auto 4rem;
  position: relative;
  overflow: hidden;
  -webkit-user-select: none;
  -moz-user-select: none;
       user-select: none;
}

.news-carousel {
  position: relative;
  width: 100%;
  cursor: grab;
  touch-action: none;
}

.carousel-track {
  display: flex;
  padding: 1rem 0;
  will-change: transform;
}

/* 記事1つの基本設定 */
.news-item {
  flex-shrink: 0;
  box-sizing: border-box;
  padding: 0 10px; /* アイテム間の隙間 */
  display: flex;
  flex-direction: column;
}

/* 画像とドラッグ防止 */
.news-item img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  pointer-events: none;
  -webkit-user-drag: none;
}

/* 枠のデザイン */
.news-frame {
  border: 1px solid #ddd;
  background-color: white;
  padding: 1rem;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  height: auto;
  position: relative; /* 追加 */
}

/* 「詳細はこちら」の文字は消したまま、リンクの判定だけ枠全体に広げる */
.news-frame a {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  text-indent: -9999px; /* 文字を画面外へ飛ばす */
  z-index: 10; /* 前面に持ってくる */
  display: block !important; /* display: none を上書き */
}

.news-image-wrapper {
  width: 100%;
  padding-top: 100%; /* 正方形を維持 */
  position: relative;
  overflow: hidden;
  margin-bottom: 0.75rem;
  border-radius: 0.25rem;
}

.news-image {
  position: absolute;
  top: 0;
  left: 0;
}

.news-title {
  font-size: 1rem;
  font-weight: 600;
  color: #333;
  line-height: 1.4;
  margin: 0 0 1rem 0;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  min-height: 2.8em; /* タイトルの高さを揃える */
}

.news-frame a {
  display: none;
}

/* NEWバッジ */
.new-badge {
  display: inline-block;
  padding: 2px 8px;
  margin-right: 8px;
  font-size: 11px;
  background-color: #c00;
  color: white;
  border-radius: 4px;
  vertical-align: middle;
}

/* Brandページの設定 */
[data-page-type=morgan] .news-frame, [data-page-type=caterham] .news-frame {
  background-color: black !important;
  border: 1px solid #333 !important;
}

[data-page-type=morgan] .news-title, [data-page-type=caterham] .news-title {
  color: #aaa !important;
}

/* =======================================
   表示枚数の精密制御 (vwベース)
   ======================================= */
/* PCサイズ: 3個半 (100 / 3.5 = 28.57%) */
@media (min-width: 1025px) {
  .news-item {
    width: 28.57vw;
  }
}
/* タブレットサイズ: 2個半 (100 / 2.5 = 40%) */
@media (min-width: 768px) and (max-width: 1024px) {
  .news-item {
    width: 40vw;
  }
}
/* スマホサイズ: 1個と左右1/3 (100 / 1.66 = 60%) */
@media (max-width: 767px) {
  .news-item {
    width: 60vw;
  }
  /* 左右1/3ずつ見せるために、開始位置を調整 */
  .carousel-track {
    padding-left: 20vw;
  }
}
/* 最大幅制限 (1456px以上の時、巨大化を防ぐ) */
@media (min-width: 1456px) {
  .news-item {
    width: 400px;
  }
}
/* =======================================
   左右ボタン
   ======================================= */
.carousel-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  width: 3.5rem;
  height: 3.5rem;
  background: white;
  border: none;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  color: #6B7280;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-control svg {
  stroke-width: 4;
  width: 2.25rem;
  height: 2.25rem;
}

.prev-btn {
  left: 0.5rem;
}

.next-btn {
  right: 0.5rem;
}

.carousel-control:disabled {
  opacity: 0.3;
}

/* CSS Document */
/* =================================================
NEWS LIST STYLE
================================================= */
/* --- 全体共通設定 --- */
.gt-news-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  box-sizing: border-box;
}

.gt-news-item {
  width: 100%;
  background-color: #eeeeee;
  border-radius: 20px;
  padding: 25px;
  margin-bottom: 25px;
  box-sizing: border-box;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: row;
  align-items: center;
  position: relative;
  transition: transform 0.4s ease, background-color 0.4s ease;
}

/* ホバー時の挙動：全体背景とタイトル色 */
.gt-news-item:hover {
  background-color: #f5f5f5;
  transform: translateY(-4px);
}

.gt-news-item:hover .gt-news-title {
  color: #c00 !important; /* ホバー時にタイトルを赤へ */
}

/* 記事全面をリンクにするオーバーレイ */
.gt-news-link-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 5;
  text-indent: -9999px;
  overflow: hidden;
  display: block;
}

/* NEW!バッジ */
.gt-news-badge {
  display: none;
  background-color: #ff0000;
  color: #ffffff !important;
  font-size: 0.65rem;
  font-weight: bold;
  padding: 3px 8px;
  border-radius: 10px;
  margin-left: 10px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 1.4em;
  vertical-align: middle;
  flex-shrink: 0;
}

.gt-news-item.gt-is-new .gt-news-badge {
  display: inline-flex;
}

/* 画像ボックス 1:1固定 */
.gt-news-image-box {
  flex-shrink: 0;
  width: 160px;
  height: 160px;
  background-color: #8e9196;
  border: 4px solid #ffffff;
  border-radius: 12px;
  overflow: hidden;
}

.gt-news-img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
}

/* --- PC表示の設定（769px以上） --- */
@media (min-width: 769px) {
  .gt-news-top-wrapper {
    display: contents;
  }
  .gt-news-meta {
    margin-left: 30px;
    border-bottom: 1px solid #999999;
    padding-bottom: 10px;
    align-self: flex-start;
    margin-top: 10px;
    display: block;
    line-height: 1.2;
  }
  .gt-news-meta-inner {
    display: inline-flex;
    align-items: center;
  }
  .gt-news-date {
    font-weight: normal;
    font-size: 1.2rem;
    color: #000 !important;
    line-height: 1;
    display: inline-block;
  }
  .gt-news-meta .gt-news-badge {
    position: relative;
    top: -1.5px;
  }
  .gt-news-body {
    flex: 1;
    position: absolute;
    left: 215px;
    top: 95px;
    max-width: calc(100% - 260px);
  }
  .gt-news-title {
    font-size: 1.2rem;
    font-weight: bold;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    color: #333 !important;
    transition: color 0.3s ease; /* 色変化を滑らかに */
  }
}
/* --- スマホ・タブレット表示の設定（768px以下） --- */
@media (max-width: 768px) {
  .gt-news-item {
    flex-direction: column !important;
    align-items: flex-start;
    padding: 20px;
  }
  .gt-news-top-wrapper {
    display: flex !important;
    flex-direction: row !important;
    align-items: center;
    width: 100%;
    margin-bottom: 15px;
  }
  .gt-news-image-box {
    width: 100px;
    height: 100px;
    flex-shrink: 0;
  }
  .gt-news-meta {
    margin-left: 15px;
    flex: 1;
  }
  .gt-news-meta-inner {
    width: 100%;
    border-bottom: 1px solid #999999;
    padding-bottom: 5px;
    display: flex;
    align-items: center;
  }
  .gt-news-date {
    font-size: 1.1rem;
    color: #000 !important;
    line-height: 1.2;
  }
  .gt-news-body {
    width: 100%;
  }
  .gt-news-title {
    font-size: 1rem;
    color: #333 !important;
    font-weight: bold;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    transition: color 0.3s ease;
  }
}
/* --- 回り込み設定（360px以下） --- */
@media (max-width: 360px) {
  .gt-news-meta-inner {
    display: block;
  }
  .gt-news-badge {
    margin-left: 0;
    margin-top: 5px;
  }
}
/* --- もっと見るボタン --- */
.gt-btn-container {
  text-align: center;
  margin-top: 20px;
  margin-bottom: 40px;
}

.gt-more-button {
  background-color: #333;
  color: #fff;
  border: none;
  padding: 12px 60px;
  font-size: 1rem;
  font-weight: bold;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.gt-more-button:hover {
  background-color: #ff0000;
  box-shadow: 0 4px 12px rgba(255, 0, 0, 0.3);
}

/* リンクがない記事（gt-no-link）の挙動を制限 */
.gt-news-item.gt-no-link {
  cursor: default; /* 指マークにしない */
}

.gt-news-item.gt-no-link:hover {
  background-color: #eeeeee; /* 背景色を変えない */
  transform: none; /* 浮かせない */
}

.gt-news-item.gt-no-link:hover .gt-news-title {
  color: #333 !important; /* タイトルを赤くしない */
}

/* CSS Document */
/* =================================================
   EVENT LIST STYLE
   ================================================= */
/* --- 全体共通設定 --- */
.gt-recent-event-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  box-sizing: border-box;
}

.gt-event-item {
  width: 100%;
  background-color: #eeeeee;
  border-radius: 20px;
  padding: 25px;
  margin-bottom: 25px;
  box-sizing: border-box;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
  position: relative;
  transition: transform 0.4s ease, background-color 0.4s ease;
  display: flex;
  flex-direction: column;
}

.gt-event-item:hover {
  background-color: #f5f5f5;
  transform: translateY(-4px);
}

.gt-event-item:hover .gt-event-title {
  color: #c00 !important;
}

/* --- 補足文のデザイン --- */
.gt-event-subtitle {
  margin-top: 5px;
  font-size: 0.85rem; /* タイトルより小さめ */
  color: #666;
  line-height: 1.5;
}

/* リンクオーバーレイ */
.gt-event-link-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 5;
  display: block;
}

/* 上部ラップ（画像 + メタ情報） */
.gt-event-top-wrapper {
  display: flex;
  width: 100%;
  align-items: flex-start;
  margin-bottom: 15px;
}

/* 画像ボックス */
.gt-event-image-box {
  flex-shrink: 0;
  width: 160px;
  height: 160px;
  background-color: #8e9196;
  border: 4px solid #ffffff;
  border-radius: 12px;
  overflow: hidden;
}

.gt-event-img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
}

/* メタ情報 */
.gt-event-meta {
  margin-left: 30px;
  flex: 1;
}

/* --- カテゴリーバッジ --- */
.gt-event-badge {
  color: #fff;
  font-size: 0.7rem;
  font-weight: bold;
  padding: 3px 10px;
  border-radius: 20px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}

.cat-meeting {
  background-color: #06f;
}

.cat-circuit {
  background-color: #f60;
}

.cat-academy {
  background-color: #184;
}

.cat-touring {
  background-color: #a03;
}

.cat-race {
  background-color: #f00;
}

.cat-party {
  background-color: #f27;
}

/* PC表示（769px以上）での位置調整 */
@media (min-width: 769px) {
  .gt-event-body {
    /* タイトルの下に余裕を持たせる */
    padding-bottom: 5px;
  }
}
/* スマホ表示（768px以下）での位置調整 */
@media (max-width: 768px) {
  .gt-event-subtitle {
    font-size: 0.8rem;
    margin-top: 3px;
  }
}
/* --- PC表示の設定（769px以上） --- */
@media (min-width: 769px) {
  .gt-event-date-area {
    border-bottom: 1px solid #999999;
    padding-bottom: 8px;
    margin-bottom: 8px;
    font-size: 1.3rem;
    color: #000;
    display: flex;
    align-items: center;
  }
  .gt-date-separator {
    margin: 0 10px;
  }
  .gt-event-sub-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .gt-event-location {
    font-size: 1rem;
    color: #666;
  }
  .gt-event-body {
    width: 100%;
    padding-left: 194px; /* 画像幅+ボーダー+余白 */
    margin-top: -65px;
    box-sizing: border-box;
  }
  .gt-event-title {
    font-size: 1.4rem;
    font-weight: bold;
    line-height: 1.4;
    color: #333 !important;
    transition: color 0.3s ease;
  }
}
/* --- スマホ・タブレット表示（768px以下） --- */
@media (max-width: 768px) {
  .gt-event-item {
    padding: 20px;
  }
  .gt-event-image-box {
    width: 100px;
    height: 100px;
  }
  .gt-event-meta {
    margin-left: 15px;
  }
  .gt-event-date-area {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    font-size: 1.1rem;
    line-height: 1.2; /* 少し行間に余裕を持たせる */
    color: #000;
  }
  .gt-date-separator {
    display: inline-block; /* 回転させるためにblock要素にする */
    width: 1em; /* 幅を固定 */
    text-align: center; /* 中央寄せ */
    margin: 2px 0 2px 0.5em; /* 位置の微調整 */
    transform: rotate(90deg); /* 90度回転 */
    font-weight: bold;
    color: #999;
    line-height: 1;
  }
  .gt-event-sub-info {
    margin-top: 8px;
    border-top: 1px solid #999;
    padding-top: 5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
  }
  .gt-event-body {
    padding-left: 0;
    margin-top: 0;
  }
  .gt-event-title {
    font-size: 1rem;
    font-weight: bold;
    margin-top: 5px;
  }
  .gt-event-subtitle {
    font-size: 0.8rem;
    margin-top: 3px;
  }
}
/* --- 回り込み設定（480px以下） --- */
@media (max-width: 480px) {
  .gt-event-sub-info {
    flex-direction: column; /* 縦並びに変更 */
    align-items: flex-start;
  }
  .gt-event-location {
    margin-bottom: 6px; /* バッジとの間隔 */
    font-size: 0.85rem;
  }
  .gt-event-badge {
    margin-top: 2px;
  }
}
/* --- もっと見るボタン (イベント用) --- */
.gt-btn-container {
  text-align: center;
  margin-top: 20px;
  margin-bottom: 40px;
}

.gt-more-button {
  background-color: #333;
  color: #fff;
  border: none;
  padding: 12px 60px;
  font-size: 1rem;
  font-weight: bold;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.gt-more-button:hover {
  background-color: #ff0000;
  box-shadow: 0 4px 12px rgba(255, 0, 0, 0.3);
}

/* --- 今後の予定（upcoming）専用の背景色 --- */
.gt-event-item.is-upcoming {
  background-color: #fee6d3;
}

/* ホバー時の色も変えたい場合 */
.gt-event-item.is-upcoming:hover {
  background-color: #fef6e3;
}

/* CSS Document */
/* --- 全体のコンテナ --- */
.wp-custom-grid {
  display: grid !important;
  max-width: 1455px !important;
  margin: 40px auto !important;
  padding: 0 10px !important;
  list-style: none !important;
  box-sizing: border-box !important;
  /* 【767px以下：スマホ】1列2個表示 / 合計4件表示 */
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 15px !important;
}

/* 5番目以降の記事を隠す（スマホ時：1〜4枚目のみ表示） */
.wp-custom-card:nth-child(n+5) {
  display: none !important;
}

/* 【768px以上：タブレット】1列3個表示 / 合計6件表示 */
@media (min-width: 768px) {
  .wp-custom-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 25px !important;
  }
  /* 5,6枚目を再表示させ、7番目以降を隠す */
  .wp-custom-card:nth-child(n+5) {
    display: flex !important;
  }
  .wp-custom-card:nth-child(n+7) {
    display: none !important;
  }
}
/* 【1024px以上：PC】1列4個表示 / 合計8件表示 */
@media (min-width: 1024px) {
  .wp-custom-grid {
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 30px !important;
  }
  /* 7,8枚目を再表示させる */
  .wp-custom-card:nth-child(n+7) {
    display: flex !important;
  }
}
/* --- カードデザイン --- */
.wp-custom-card {
  display: flex !important;
  flex-direction: column !important;
  text-decoration: none !important;
  color: #333 !important;
  background: #fff !important;
  border: 1px solid #ccc !important;
  border-radius: 8px;
  transition: transform 0.3s ease !important;
  overflow: hidden !important;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
}

.wp-custom-card:hover {
  transform: translateY(-5px) !important;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
}

/* 画像比率 4:3 */
.wp-custom-img {
  width: 100% !important;
  aspect-ratio: 3/2 !important;
  background-size: cover !important;
  background-position: center !important;
  background-color: #f5f5f5 !important;
}

.wp-custom-body {
  padding: 15px !important;
  flex-grow: 1 !important;
}

/* 日付(左寄せ)・New!(右寄せ) */
.wp-custom-meta {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  margin-bottom: 12px !important;
}

.wp-custom-date {
  font-size: 18px !important;
  font-weight: bold !important;
  color: #222 !important;
}

/* New! 赤地に白文字・角丸 */
.wp-custom-new {
  background-color: #ff0000 !important;
  color: #ffffff !important;
  font-size: 11px !important;
  font-weight: bold !important;
  padding: 3px 6px !important;
  border-radius: 20px !important;
  line-height: 1 !important;
}

/* タイトル2行制限 */
.wp-custom-title {
  font-size: 16px !important;
  line-height: 1.6 !important;
  height: 3.2em !important;
  margin: 0 !important;
  display: -webkit-box !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 2 !important;
  overflow: hidden !important;
  font-weight: 600 !important;
}

.wp-custom-more {
  display: none !important;
}

/* =============================================
   カテゴリー：納車整備 (pdi) 用の個別スタイル
   ============================================= */
/* 1. ボーダーの色を変更 */
.grid-pdi .wp-custom-card,
.grid-pdi-all .wp-custom-card {
  border: 2px solid #09f !important;
}

.grid-mot .wp-custom-card,
.grid-mot-all .wp-custom-card {
  border: 2px solid #ff0 !important;
}

.grid-maintenance .wp-custom-card,
.grid-maintenance-all .wp-custom-card {
  border: 2px solid #0f9 !important;
}

/* 2. 表示件数の制御 */
.grid-pdi .wp-custom-card,
.grid-mot .wp-custom-card,
.grid-maintenance .wp-custom-card,
.grid-pdi-all .wp-custom-card,
.grid-mot-all .wp-custom-card,
.grid-maintenance-all .wp-custom-card {
  display: flex !important;
}

@media (max-width: 767px) {
  /* スマホ時：X枚目以降を隠す */
  .grid-pdi .wp-custom-card:nth-child(n+5),
  .grid-mot .wp-custom-card:nth-child(n+5),
  .grid-maintenance .wp-custom-card:nth-child(n+7),
  .grid-pdi-all .wp-custom-card:nth-child(n+31),
  .grid-mot-all .wp-custom-card:nth-child(n+31),
  .grid-maintenance-all .wp-custom-card:nth-child(n+61) {
    display: none !important;
  }
}
/* タブレット時（768px〜）：X枚目以降を隠す */
@media screen and (min-width: 768px) and (max-width: 1023px) {
  .grid-pdi .wp-custom-card:nth-child(n+7),
  .grid-mot .wp-custom-card:nth-child(n+7),
  .grid-maintenance .wp-custom-card:nth-child(n+7),
  .grid-pdi-all .wp-custom-card:nth-child(n+46),
  .grid-mot-all .wp-custom-card:nth-child(n+46),
  .grid-maintenance-all .wp-custom-card:nth-child(n+91) {
    display: none !important;
  }
}
/* PC時（1024px〜）：X枚目以降を隠す */
@media (min-width: 1024px) {
  .grid-pdi .wp-custom-card:nth-child(n+5),
  .grid-mot .wp-custom-card:nth-child(n+5),
  .grid-maintenance .wp-custom-card:nth-child(n+9),
  .grid-pdi-all .wp-custom-card:nth-child(n+61),
  .grid-mot-all .wp-custom-card:nth-child(n+61),
  .grid-maintenance-all .wp-custom-card:nth-child(n+121) {
    display: none !important;
  }
}
/* CSS Document */
/* =================================================
　ズームアニメーション基本設定  zoom.js と連動
================================================= */
/* --- ズームアニメーション基本設定 --- */
/* --- image-wrapper --- */
.image-wrapper {
  overflow: hidden; /* 画像のズームで外枠からはみ出さないようにする */
  /* 画像を中央に配置するための設定 */
  display: flex;
  justify-content: center;
  align-items: center;
}

.image-wrapper img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover; /* 画像がコンテナを覆うように調整 */
  display: block;
}

/* --- 画像に重ねる文字のレイヤー --- */
.text-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* 文字を真ん中に配置するための設定 */
  display: flex;
  justify-content: center;
  align-items: center;
  /* 文字の装飾（例） */
  background-color: rgba(0, 0, 0, 0.4);
  color: #fff;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  font-size: 1em;
  font-weight: bold;
  text-align: center;
  padding: 10px;
}

.text-overlay span {
  font-size: clamp(0.8rem, 0.5em, 1.5rem);
}

/* --- zoom-trigger ※JavaScriptと連動 --- */
.zoom-trigger.visible img {
  transform: scale(1); /* 画面に入ったときの初期スケール */
}

.zoom-trigger.visible img:hover {
  transform: scale(1.05); /* マウスオーバーでズーム */
}

.zoom-trigger.visible figure img:hover {
  transform: scale(1.1); /* マウスオーバーでズーム */
}

.zoom-trigger img {
  transform: scale(1); /* 初期スケール */
  transition: transform 1s cubic-bezier(0.25, 0.46, 0.45, 0.94); /* ズームのアニメーション */
}

/* =================================================
　zoom_box設定 ：　carousel.css / carousel.js にも連動
================================================= */
.zoom_box {
  position: relative;
  /* ズームした画像が枠外にはみ出るのを防ぐ */
  overflow: hidden;
}

/* リンクを枠全体に適用する設定 */
.zoom_box a {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  text-indent: 100%; /* テキスト非表示 */
  white-space: nowrap; /* テキスト非表示 */
  overflow: hidden; /* テキスト非表示 */
  z-index: 10; /* リンクを画像より前面に持ってくる */
}

/* ズーム対象の img 要素に対する設定 */
.zoom_box img {
  /* 初期状態 */
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  /* トランジションの設定 */
  transition: transform 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transform-origin: center center;
}

/* ズームのアニメーション: .zoom_boxがホバーされたときに画像をズーム */
.zoom_box:hover img {
  transform: scale(1.05); /* ズーム率 */
}

.zoom_box:hover .zoom11 img {
  transform: scale(1.1); /* ズーム率 */
}/*# sourceMappingURL=style.css.map */