@charset "UTF-8";

/* ===============================
   ベース（共通 / PC基準）
=============================== */
/* はみ出し事故を根本的に防ぐ */
*, *::before, *::after { box-sizing: border-box; }

html, body { overflow-x: hidden; } /* 保険（1行だけでOK） */

body {
  color: #4b3b36;
  background-color: #fff8f4;
  margin: 0;
  line-height: 1.7;
  font-family: "Rounded M+ 1c", "Noto Sans JP", sans-serif;
}

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

h1, h2, h3 {
  font-weight: 700;
  color: #5b463e;
  margin: 0 0 0.6em;
  line-height: 1.4;
  letter-spacing: 0.1em;
}

.h3-tight { line-height: 1.4; }

p {
  margin: 0 0 1em;
  text-align: left;
  letter-spacing: 0.05em;
}

a {
  color: #4b3b36;
  text-decoration: none;
}
a:hover { opacity: 0.8; }


/* ===============================
   ヒーロー
=============================== */
.hero {
  position: relative;
  text-align: center;
  color: #4b3b36;
  background: linear-gradient(180deg, #f7cdd1 0%, #fff8f4 100%);
  overflow: hidden;
}

/* ===== スライダー共通 ===== */
.slider{
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #fff8f4;
}

/* 絶対配置で重ねる */
.slide{
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.8s ease-in-out;
}
.slide.active{ opacity: 1; }

.slide img{
  width: 100%;
  height: 100%;
  display: block;
  object-position: center;
}

/* ===== PC：1280×570 固定（切れない） ===== */

  .slider.pc-only{
    height: auto;
    aspect-ratio: 128 / 57;   /* 1280×570 */
  }
  .slider.pc-only .slide img{
    object-fit: contain;      /* ←上下切れない */
  }


/* hero-text（PC：重ねる） */
.hero-text {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  width: 90%;
  text-align: center;
  color: #4b3b36;
  background: rgba(255, 248, 244, 0.6);
  border-radius: 12px;
  padding: 20px 10px;
}

.hero h1 {
  font-size: 2rem;
  margin-bottom: 0.5em;
}
.hero p {
  font-size: 1rem;
  margin-bottom: 1em;
  text-align: center;
}

/* TELアイコン色 */
.tel-btn .tel-icon { color: #000 !important; }


/* ===============================
   ボタン
=============================== */
.btn-primary {
  display: inline-block;
  background: #f5a8b8;
  color: #fff;
  padding: 0.8em 1.8em;
  border-radius: 30px;
  font-weight: bold;
  transition: 0.3s;
  border: 4px #EDEDED solid;
  outline: none;
  box-shadow: none;
}
.btn-primary:hover { background: #f28da5; }

.cta-buttons {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 10px;
}
.cta-buttons .btn-primary { white-space: nowrap; }

/* LINEボタン */
.btn-line {
  display: inline-block;
  background-color: #06C755;
  color: #fff;
  padding: 0.8em 1.8em;
  border-radius: 30px;
  font-weight: bold;
  transition: 0.3s;
  text-align: center;
  text-decoration: none;
  border: 4px #EDEDED solid;
  outline: none;
}
.btn-line:hover {
  background-color: #05b24f;
  opacity: 0.9;
}


/* ===============================
   セクション共通
=============================== */
section {
  padding: 60px 20px;
  text-align: center;
  max-width: 960px;
  margin: 0 auto 40px;
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}

section h2 {
  border-bottom: 3px solid #f5a8b8;
  display: inline-block;
  padding-bottom: 4px;
  margin-bottom: 20px;
}

/* 見出し＋アイコン */
.section-title {
  position: relative;
  text-align: center;
  margin-bottom: 2em;
}
.section-title h2,
.section-title h3 { margin: 0; }

.section-title img {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 150px;
  height: auto;
}

/* 連絡セクション用（幅はSPで調整） */
.section-title--contact img {}


/* ===============================
   私たちの思い（ピクトグラム）
=============================== */
.icon-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 15px;
  padding: 0;
  list-style: none;
  margin-top: 20px;
}
.icon-features li {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 15px;
  background: #fff8f4;
  border: 1px solid #f7cdd1;
  border-radius: 12px;
}
.icon-features img {
  width: 100px;
  height: auto;
  margin-bottom: 10px;
}
.icon-features p {
  margin: 0;
  font-size: 0.88rem;
  text-align: center;
  line-height: 1.5;
}


/* ===============================
   サービス内容
=============================== */
.services .card {
  background: #fff8f4;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 20px;
  border: 1px solid #f7cdd1;
}


/* ===============================
   ご利用の流れ
=============================== */
.flow ol {
  list-style: none;
  padding: 0;
  counter-reset: step;
}

.flow li {
  margin-bottom: 1.5em;
  background: #fff8f4;
  border-left: 5px solid #f5a8b8;
  padding: 10px 15px;
  text-align: left;
  border-radius: 8px;
}

/* 画像つきflow */
.flow-list {
  width: 100%;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}
.flow-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fff8f4;
  border-left: 5px solid #f5a8b8;
  padding: 10px 15px;
  margin-bottom: 1em;
  border-radius: 8px;
}
.flow-list .text-block { flex: 1; margin-right: 15px; }
.flow-list img { width: 60px; height: auto; flex-shrink: 0; }


/* ===============================
   料金
=============================== */
.price-box {
  background: #fff8f4;
  border: 1px solid #f7cdd1;
  border-radius: 12px;
  padding: 20px 10px;
  margin-bottom: 10px;
}

/* テーブル共通 */
.fare-table {
  width: 100%;
  max-width: 600px;
  margin: 0 auto 2em;
  border-collapse: collapse;
  background: #f4faff;
  border: 1px solid #d4e6f1;
  border-radius: 8px;
  overflow: hidden;
  font-size: 0.95rem;
}
.fare-table th,
.fare-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid #e1eff8;
}
.fare-table th {
  background-color: #e6f2fa;
  color: #4b3b36;
  width: 25%;
  white-space: nowrap;
  font-weight: normal;
}
.fare-table tr:last-child td { border-bottom: none; }

/* 割引リスト */
ul.wari {
  padding-left: 0;
  margin-left: 20px;
  list-style-position: outside;
    margin-top: 0;
}
ul.wari li {
  margin-bottom: 0.3em;
  line-height: 1.5;
}

.coupon-title {
  margin: 4px 0 -20px;
  font-weight: bold;
}
ul.coupon li {
  line-height: 1.2;
  margin: 2px 0;
  padding-left: 1em;
}

/* 料金リスト（黒丸中央） */
.price-list {
  padding-left: 0;
  margin-left: 0;
}
.price-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-left: 1.0em;
  position: relative;
}
.price-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.6em;
  color: #000;
  line-height: 1;
}
.price-list li strong { margin-right: 30px; }


/* ===============================
   会社情報
=============================== */
.company p { line-height: 1.8; }


/* ===============================
   フォーム
=============================== */
form {
  display: grid;
  gap: 15px;
  text-align: left;
  max-width: 500px;
  margin: 0 auto;
}

label {
  font-weight: 500;
  display: block;
}

input[type="text"],
input[type="tel"],
textarea,
select {
  width: 100%;
  padding: 10px;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 1rem;
  box-sizing: border-box;
}

textarea { resize: vertical; }

.req {
  color: #e64c65;
  font-weight: bold;
  margin-left: 4px;
}

.big-date,
.big-input {
  font-size: 1.1rem;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid #ccc;
  width: 100%;
  background: #fff;
  box-sizing: border-box;
}

/* yubinbango系（.h-adr） */
.h-adr label {
  display: block;
  margin-bottom: 10px;
  margin-top: 0;
}
.h-adr input.big-input { margin-top: 4px; }

input::placeholder,
textarea::placeholder {
  color: #dcd7d4;
  opacity: 1;
}

.contact h3 {
  margin-bottom: -10px;
  padding-bottom: 1px;
}

h3 + .h-adr {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* 片道/往復 */
.trip-type {
  display: flex;
  gap: 18px;
  margin-bottom: 12px;
}
.trip-type label {
  display: flex;
  align-items: center;
  cursor: pointer;
}
.trip-type input { margin-right: 4px; }


/* ===============================
   回り込み
=============================== */
.float-left {
  float: left;
  margin-left: 5px;
  margin-right: 20px;
  margin-bottom: 10px;
  width: 120px;
  height: auto;
}
.float-right {
  float: right;
  margin-left: 5px;
  margin-right: 20px;
  margin-bottom: 10px;
  width: 120px;
  height: auto;
}

/* 角丸アイコン */
img.rounded-icon {
  border-radius: 5px;
  box-shadow: 0 3px 9px rgba(0,0,0,0.1);
}


/* ===============================
   常時表示ボタン
=============================== */
.fixed-buttons {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}
.fixed-buttons.show {
  opacity: 1;
  visibility: visible;
}

.fixed-btn {
  background-color: rgba(245, 168, 184, 0.85);
  color: #fff;
  padding: 8px 16px;
  border-radius: 25px;
  font-size: 0.85rem;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  transition: background-color 0.3s;
}
.fixed-btn:hover { background-color: rgba(242, 141, 165, 0.95); }

/* LINE固定 */
.fixed-btn-line {
  background-color: #06C755;
  color: #fff;
}
.fixed-btn-line:hover {
  background-color: #05b24f;
  opacity: 0.95;
}


/* ===============================
   リンクバナー
=============================== */
.contact-link {
  display: inline-block;
  margin-left: 2px;
  background-color: #f5a8b8;
  color: #fff;
  padding: 6px 10px;
  border-radius: 20px;
  font-size: 0.85rem;
  text-decoration: none;
  transition: background-color 0.3s;
}
.contact-link:hover { background-color: #f28da5; }


/* ===============================
   ドライバー紹介
=============================== */
.drivers-section {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 30px;
}

.driver-card {
  background: #fff8f4;
  border: 1px solid #f7cdd1;
  border-radius: 12px;
  padding: 20px;
  width: 295px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.05);
  text-align: center;
}

.driver-photo,
.driver-photo2 {
  width: 100px;
  height: 110px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 12px;
  border: 1px solid #f5a8b8;
  float: left;
  margin-right: 10px;
}

.driver-card h4 {
  margin: 0 0 8px;
  color: #4b3b36;
  font-size: 1.1rem;
  text-align: left;
  padding-left: 20px;
}

.driver-card p {
  font-size: 0.9rem;
  color: #4b3b36;
  line-height: 1.5;
}


/* ===============================
   ナビゲーション
=============================== */
.main-nav ul {
  display: flex;
  justify-content: center;
  gap: 16px;
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.main-nav a {
  display: inline-block;
  background-color: #e6f2fa;
  color: #4b3b36;
  padding: 8px 16px;
  border-radius: 20px;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s;
  letter-spacing: 0.05em;
}
.main-nav a:hover {
  background-color: #cce5f6;
  color: #4b3b36;
}

/* アンカー位置ずれ対策 */
section[id]::before {
  content: "";
  display: block;
  height: 100px;
  margin-top: -100px;
}

/* Instagram（PC） */
.main-nav li.insta a {
  padding: 6px 12px;
  background-color: #e6f2fa;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.main-nav li.insta img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}
.main-nav li.insta a:hover { background-color: #cce5f6; }


/* ===============================
   フッター
=============================== */
.site-footer {
  background: #e6f2fa;
  padding: 10px 10px;
  text-align: center;
  border-top: 2px solid #cce5f6;
}

.footer-inner {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.footer-logo {
  width: 110px;
  height: auto;
  display: block;
  opacity: 0.95;
}

/* PCコピーライト */
.footer-text {
  font-size: 1.05rem;
  color: #4b3b36;
  line-height: 1.5;
  margin: 0;
  text-align: left;
  letter-spacing: 0.03em;
}

/* footerタグ（古い指定がある場合用） */
footer {
  text-align: center;
  padding: 30px 10px;
  font-size: 0.9rem;
  color: #777;
}


/* ===============================
   Thanksページ
=============================== */
.thanks-page .btn-primary,
main .btn-primary {
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
}

.thank-card {
  max-width: 600px;
  margin: 80px auto;
  background: #fff;
  padding: 40px 25px;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
  text-align: center;
  border: 1px solid #f7cdd1;
}

.thank-card h1 {
  font-size: 1.9rem;
  margin-bottom: 0.8em;
  color: #5b463e;
}

.thank-card p {
  line-height: 1.9;
  margin-bottom: 2em;
  font-size: 1rem;
  color: #4b3b36;
}

.tel-link {
  display: inline-block;
  margin-top: 10px;
  font-size: 1.0rem;
  font-weight: bold;
  color: #4b3b36;
  background: #fff1f5;
  padding: 5px 9px;
  border-radius: 20px;
  border: 1px solid #f7cdd1;
  text-decoration: none;
  transition: 0.25s;
}
.tel-link:hover {
  background: #f5a8b8;
  color: #fff;
}

p.pcont {
  padding: 10px;
  border: 1px solid #000;
  font-size: 95%;
  line-height: 1.2em;
}
  .hero-text p {
    font-size: 1.5rem;     /* ←あなたが最後に狙ってた大きさ */
      font-weight: 600;

  }


/* ===============================
   車両紹介（正面＋横2枚）
=============================== */


.vehicle .vehicle-lead{
  margin: 0 auto 18px;
  max-width: 820px;
  text-align: left;
}

.vehicle-grid{
  max-width: 820px;          /* ←全体を少し小さめに */
  margin: 0 auto 18px;
  display: grid;
  gap: 12px;

  /* 左：正面 / 右：横（上下） */
  grid-template-columns: 1.2fr 1fr;
  grid-template-rows: 1fr 1fr;
  align-items: stretch;
}

/* 左の正面は2段ぶん使う */
.vehicle-photo.is-front{
  grid-column: 1;
  grid-row: 1 / span 2;
}

/* 右上・右下 */
.vehicle-photo.is-side1{ grid-column: 2; grid-row: 1; }
.vehicle-photo.is-side2{ grid-column: 2; grid-row: 2; }

/* 写真カード */
.vehicle-photo{
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0,0,0,0.10);
  background: #fff;
}

/* ここが「高さピタッ」の肝：親の枠に合わせて画像を埋める */
.vehicle-photo img{
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;           /* ←基本これが一番きれい */
  object-position: center;
}

/* 説明ボックス */
.vehicle-box{
  max-width: 820px;
  margin: 0 auto;
  text-align: left;
  background: #fff8f4;
  border: 1px solid #f7cdd1;
  border-radius: 12px;
  padding: 18px 16px;
}

.vehicle-box h3{
  margin: 0 0 10px;
}

.vehicle-sub{
  margin: 14px 0 8px;
  font-size: 1.0rem;
}

.vehicle-list{
  margin: 0 0 10px 1.2em;
  padding: 0;
}

.vehicle-list li{
  margin: 0.4em 0;
  line-height: 1.6;
}

.vehicle-note{
  margin: 0;
}

.vehicle-inner{
  max-width: 100%;
  margin: 0 auto;
  padding: 0 10px;     /* ← スマホで左右10px */
  box-sizing: border-box;
   
}
.vehicle-grid,
.vehicle-box{
  max-width: 820px;    /* PC時の中央幅 */
  margin: 0 auto 18px;
}

.bana2{width: 50%;}
/* バナー行だけ背景なしにする */
#company .fare-table tr th.bana {
  background-color: #fff;
}
/* ===============================
   PC / SP 出し分け
=============================== */
.pc-only { display: block; }
.sp-only { display: none; }


/* =========================================================
   スマホ（ここから下が2階目）
========================================================= */
@media screen and (max-width: 768px) {

  /* 出し分け */
  .pc-only { display: none; }
  .sp-only { display: block; }

  /* スマホ：スライダー（切れ防止・比率固定） */
  .slider.sp-only {
    height: auto;
    aspect-ratio: 483 / 215;
    background: #fff8f4;
  }
  .slider.sp-only .slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
  }

  /* hero-text（スマホ：下に移動） */
  .hero-text {
    position: static;
    transform: none;
    background: #fff8f4;
    padding: 20px 10px;
    border-radius: 12px;
    margin: 10px auto 0;
    width: calc(100% - 40px);
    box-sizing: border-box;
    text-align: center;
  }

  .hero-text h1 {
    font-size: 1.2rem;
    line-height: 1.5;
    margin-bottom: 0.6em;
    text-align: center;
  }

  /* ※ここは「最終結果」を1つに統一（ダブり禁止） */
  .hero-text p {
    font-size: 1.1rem;     /* ←あなたが最後に狙ってた大きさ */
    line-height: 1.8;
    max-width: 90%;
    margin: 0 auto 1em;
    text-align: center;
    white-space: normal;
  }

  section { padding: 40px 15px; }

  section h2 { font-size: 1.2em; }
  section.contact h2 { font-size: 1.1em; }

  /* ボタン（スマホで大きめ） */
  .btn-primary {
    font-size: 1.2rem;
    padding: 12px 24px;
    border-radius: 30px;
  }

  /* ヒーロー内ボタンの見え方（細かい調整） */
  .hero-text .btn-primary,
  .hero-text .btn-line {
    display: inline-block;
    font-size: 0.9rem;
    padding: 0.6em 0.4em;
    border-radius: 25px;
    box-shadow: 0 3px 6px rgba(0,0,0,0.1);
    margin: 0 8px;
    max-width: 95%;
    white-space: normal;
    word-break: keep-all;
  }

  /* CTAを縦並び */
  .cta-buttons {
    flex-direction: column;
    align-items: center;
    margin: 0 auto;
    width: 98%;
  }

  /* ★全角スペース事故を潰した正しいセレクタ */
  .cta-buttons .btn-primary,
  .cta-buttons .btn-line {
    width: 100%;
    max-width:75%;
  }

  /* ピクトグラム 2列 */
  .icon-features { grid-template-columns: repeat(2, 1fr); }
  .icon-features img { width: 135px; }
  .icon-features p {
    font-size: 0.75rem;
    text-align: left;
    line-height: 1.2;
  }

  /* 回り込み画像 */
  .float-left, .float-right {
    width: 100px;
    margin-right: 5px;
    margin-bottom: 5px;
  }

  /* 固定ボタン */
  .fixed-btn {
    font-size: 0.8rem;
    padding: 6px 12px;
  }

  /* ナビ（3列グリッド） */
  .main-nav ul {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    padding: 10px 12px;
    list-style: none;
    margin: 0 auto;
    max-width: 420px;
  }

  .main-nav a {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #e6f2fa;
    color: #4b3b36;
    border-radius: 20px;
    padding: 10px 6px;
    font-weight: bold;
    font-size: 0.85rem;
    text-decoration: none;
    transition: 0.3s;
  }
  .main-nav a:hover { background-color: #cce5f6; }

  .main-nav li.insta a {
    background-color: #e6f2fa;
    padding: 7px 6px;
  }
  .main-nav li.insta img {
    width: 30px;
    height: 30px;
    object-fit: contain;
    margin: 0 auto;
  }

  /* リンクバナー */
  .contact-link {
    padding: 6px 5px;
    font-size: 0.80rem;
  }

  /* 価格テーブル */
  .fare-table { font-size: 0.85rem; }
  .fare-table td { padding: 12px 5px; }
  .fare-table th {
    width: 15%;
    padding: 8px 8px;
  }

  ul.price-list { padding: 0; margin-top: 0; }
  .price-list li {
    padding-right: 0;
    font-size: 0.95em;
    margin: 0;
  }
  .price-list li strong { margin-right: 0; }

  /* 料金ボックス */
  .price-box { padding: 15px 7px; }

  /* セクションアイコン */
  .section-title img { width: 95px; }
  .section-title--contact img { width: 75px; }

  /* フッター */
  .footer-inner {
    flex-direction: row;
    justify-content: center;
    gap: 20px;
  }
  .footer-text {
    font-size: 0.9rem;
    line-height: 1.4;
    text-align: left;
  }
    
    .footer-logo {
  width: 80px;
  height: auto;
  display: block;
  opacity: 0.95;
}
    
    
    /* ===============================
   スマホ：縦1列
=============================== */
/* vehicleだけ左右を10pxにしたい */
  section.vehicle{
    padding-left: 10px;
    padding-right: 10px;
      
  }

  .vehicle-inner{
      display: block;
    width: 95%;
    margin: 0 auto;
    padding: 0;              /* ← section側に10pxを持たせたのでinnerは0 */
   
  }

  .vehicle-grid,
  .vehicle-box{
    width: min(100%, 700px); /* ← 100%を超えない＆最大400px */
    margin: 0 auto 20px;
    
  }

  .vehicle-grid{
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 4px;
    margin-left:-3.3%;
  }

  .vehicle-photo.is-front{
    grid-column: 1;
    grid-row: 1 / span 2;
    aspect-ratio: 40 / 60;
  }

  .vehicle-photo.is-side1{
    grid-column: 2;
    grid-row: 1;
    aspect-ratio: 60 / 45;
  }

  .vehicle-photo.is-side2{
    grid-column: 2;
    grid-row: 2;
     aspect-ratio: 60 / 45;}

  .vehicle-photo img{
    width: 100%;
    height: 100%;
    display: block;
    object-fit: ccover;
  }
    
}

