@charset "UTF-8";

/* =========================
   基本設定
========================= */
body {
  margin: 0;
  font-family: "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  background: #ffffff;
  color: #000;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

a {
  color: inherit;
  text-decoration: none;
}

.wrap {
  width: 70%;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .wrap {
    width: 100%;
  }
}

/* =========================
   見出し
========================= */
h2 {
  background-color: #FD1650;
  color: #ffffff;
  padding: 12px;
  text-align: center;
  margin: 30px 0 10px;
  font-size: 28px;
  line-height: 1.4;
}

@media (max-width: 768px) {
  h2 {
    font-size: 4vw;
  }
}

/* =========================
   PC / SP 表示切替
========================= */
.pc {
  display: block;
}
.sp {
  display: none;
}

@media (max-width: 750px) {
  .pc {
    display: none;
  }
  .sp {
    display: block;
  }
}

/* =========================
   CTAボタン制御
========================= */
.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

/* ボタン画像 */
.cta-buttons img {
  width: 260px;
  max-width: 100%;
  height: auto;
}

/* スマホ：縦並び */
@media (max-width: 750px) {
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .cta-buttons img {
    width: 80%;
  }
}

/* =========================
   CTAエリア（背景色＋余白復活）
========================= */
.contact-area {
  background-color: #FFF000;   /* ← 元が黄色ならここ */
  padding: 25px 0;             /* 中の上下余白 */
  margin-top: 20px;            /* 直上画像との隙間 */
}

/* CTA直上のメイン画像との余白確保 */
.wrap > a img {
  margin-bottom: 20px;
}

/* =========================
   CTAボタン サイズ＆影調整
========================= */

/* 共通：影を追加 */
.cta-buttons img {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* PC：少し大きくする */
@media (min-width: 751px) {
  .cta-buttons img {
    width: 300px;            /* ← 260px → 少し大きく */
  }
}

/* ホバー時（PCのみ・自然な演出） */
@media (hover: hover) {
  .cta-buttons img:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
  }
}



/* =========================
   YouTube
========================= */
.youtube {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 30px auto;
  aspect-ratio: 16 / 9;
}

.youtube iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* =========================
   車両一覧（スマホ2列対応）
========================= */
.flex-box {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 30px;
}

/* PC：3列 */
.flex-item {
  width: 32%;
  margin-bottom: 20px;
  border: 1px solid #000;
  border-radius: 5px;
  padding: 10px;
  box-sizing: border-box;
  background: #fff;
}

/* タブレット〜スマホ：2列 */
@media (max-width: 900px) {
  .flex-item {
    width: 48%;
  }
}

/* 極小スマホだけ1列にしたい場合（任意） */
@media (max-width: 360px) {
  .flex-item {
    width: 100%;
  }
}

/* =========================
   車両名（共通）
========================= */
.car-title {
  background-color: #5fcfdf; /* 水色 */
  color: #ffffff;            /* 白文字 */
  text-align: center;        /* センター */
  padding: 8px 5px;
  margin: 10px 0 8px;
  font-weight: bold;
  font-size: 15px;           /* PC/SP共通 */
}

/* =========================
   車両価格テキスト
========================= */
.flex-item p {
  font-size: 12.5px;         /* 少し小さめ */
  line-height: 1.5;
  margin: 0;
  text-align: left;
}


/* =========================
   アクセス
========================= */
.access-text {
  text-align: center;
  line-height: 1.8;
  margin: 10px 0 20px;
}

/* =========================
   Google Map
========================= */
.ggmap {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
}

.ggmap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* =========================
   フッター
========================= */
#Copyright {
  background-color: #182641;
  color: #ffffff;
  text-align: center;
  padding: 20px 0;
  margin-top: 40px;
  font-weight: bold;
}

/* =========================
   スマホ固定電話ボタン
========================= */
@media (max-width: 640px) {

  body {
    padding-bottom: 80px;
  }

  .footer_area {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0,0,0,0.1);
    z-index: 9999;
  }

  .footer_area_inner {
    width: 100%;
    text-align: center;
    padding: 10px 0;
  }

  .inquiry_btn {
    background-color: #FF8200;
    color: #ffffff;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    width: 80%;
    padding: 10px 0;
    border-radius: 3px;
    font-size: 18px;
    line-height: 1.4;
  }
}

/* =========================
   H1 見出し
========================= */
.page-title {
  background-color: #FD1650;   /* ピンク */
  color: #ffffff;              /* 白文字 */
  text-align: center;
  font-size: 26px;
  font-weight: bold;
  margin: 30px 0 20px;
  padding: 15px 10px;          /* 背景を見せるための余白 */
  line-height: 1.4;
}

/* SP調整 */
@media (max-width: 768px) {
  .page-title {
    font-size: 20px;
    padding: 12px 8px;
  }
}


/* PCでは改行しない */
.sp-only {
  display: none;
}

/* SPでは改行する */
@media (max-width: 768px) {
  .page-title {
    font-size: 20px;
  }

  .sp-only {
    display: inline;
  }
}