/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}
body {
  line-height: 1;
}
ol,
ul {
  list-style: none;
}
blockquote,
q {
  quotes: none;
}
blockquote:before,
blockquote:after,
q:before,
q:after {
  content: "";
  content: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
/* ========================================
   共通スタイル
======================================== */
body {
  font-family: "futura-pt", sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
@media screen and (max-width: 768px) {
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.heading-title {
  font-size: 40px;
  font-weight: 600;
  line-height: 1.2;
  margin: 0;
  color: #333;
  letter-spacing: 1px;
  text-align: center;
  padding: 30px 0;
}

.heading-accent {
  color: #4a90e2;
 /*color:#9C27B0;*/
}

/* ========================================
   レイアウト
======================================== */
section {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px;
}

@media screen and (max-width: 768px) {
  section{
    padding:0;
  }
}

/* 背景画像（フルワイド） */
.experience__background,
.plan__background,
.nekoma__background {
  width: 100%;
  max-width: 100%;
  margin: 0;
}

.pc {
  display:block;
}

.sp {
  display:none;
}
/* ========================================
   reservationボタン
======================================== */
/*
 * 画面右下 固定CTAボタン
 */
.floating-cta-button {
  /* 1. 位置の固定（画面右下に追従） */
  position: fixed;
  bottom: 25px; /* 画面下からの距離 */
  right: 25px;  /* 画面右からの距離 */
  z-index: 1000; /* 他の要素より手前に表示 */

  /* 2. 形（円形） */
  width: 130px;  /* ボタンの幅 */
  height: 130px; /* ボタンの高さ */
  border-radius: 50%; /* 角を50%丸めて円にする */

  /* 3. "豪華な" 装飾（金色のグラデーションと影） */
  background: linear-gradient(145deg, #f0c94b, #d4af37, #b8860b);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.35); /* 浮いているように見せる影 */
  border: 2px solid #f3d46a; /* （お好みで）金色のフチ */
  
  /* 4. 中のテキスト「Book Now」のスタイル */
  display: flex;           /* Flexbox を使用 */
  justify-content: center; /* 水平方向の中央揃え */
  align-items: center;     /* 垂直方向の中央揃え */
  
  color: white;         /* 文字色（白） */
  font-size: 1.2rem;    /* 文字サイズ */
  font-weight: bold;    /* 太字 */
  text-align: center;   /* 中央揃え（改行用） */
  text-decoration: none;/* リンクの下線を削除 */
  line-height: 1.3;     /* 行間 */

  /* 5. アニメーション（ホバー時に滑らかに変化させる） */
  transition: all 0.3s ease-in-out;
}

/* * ボタンにマウスを乗せた時（ホバー）のスタイル 
 */
.floating-cta-button:hover {
  transform: scale(1.05); /* 1.05倍に少し拡大 */
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4); /* 影を少し濃く、広く */
  background: linear-gradient(145deg, #f3d46a, #e0bd50, #c7941a); /* 少し明るい金色に */
}

/* ========================================
   FVセクション（ファーストビュー）
======================================== */
.header_logo_image_wrapper{
  text-align: center;
}

.header_logo_image {
  width: 30%;
  display: inline-block;
  padding: 20px;
}

.fv__logo {
  text-align: center;
  margin-bottom: 20px;
}

.fv__logo img {
  height: 130px;
  display:inline;
}

/* 見出しエリア */
.fv__heading-wrapper {
  display: flex;
  align-items: flex-start;
  margin: 20px 0;
  background-color:rgba(255, 255, 255, 0.5);
  padding: 20px;
}

.fv__heading-line {
  width: 3px;
  background-color: #000;
  height: 140px;
  margin-right: 15px;
  flex-shrink: 0;
}

.fv__heading-content {
  display: block;
}

.fv__heading-text,
.fv__heading-subtext {
  font-size: 40px;
  font-weight: 600;
  line-height: 1.2;
  margin: 0;
  color: #333;
  letter-spacing: 1px;
}

.fv__heading-accent {
  color: #4a90e2;
  /*color:#9C27B0;*/
}

/* 動画エリア */
.fv__video {
  text-align: center;
  position:relative;
  padding:0;
  height: 730px;
}

@media screen and (max-width: 768px) {
  .fv__video {
    height: 300px;
  }
}

.fv__video-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: -1;
}

.fv__video-container video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
}
.fv__video-icon {
  width: 197px;
  position: absolute;
  bottom: -76px;
  right: 200px;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.fv__video-icon:hover {
  opacity: 0.8;
}

@media screen and (max-width: 768px) {
  .fv__heading-line {
    height: 136px;
  }
  .fv__heading-text,
  .fv__heading-subtext {
    font-size: 36px;
  }

  .fv__video-icon {
    width: 130px;
    bottom: -40px;
    right: 12px;
  }
}

/* ========================================
   Experienceセクション（体験紹介）
======================================== */
.experience_logo_image-wrapper{
  width:60%;
  margin:0 auto;
}

.experience__image {
  width: 100%;
}

.experience__text {
  max-width: 100%;
}

@media screen and (max-width: 768px) {
  .experience__text {
    width:80%;
    margin: 0 auto;
  }
}

.experience__description {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.8;
  color: #333;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}

/* ========================================
   Planセクション（プラン詳細）
======================================== */
.plan__image {
  width: 100%;
  margin-bottom: 30px;
}

@media screen and (max-width: 768px) {
  .plan__image {
    margin:20px 0;
  }
}

/* ========================================
   NEKOMAセクション（NEKOMA紹介）
======================================== */
.nekoma__wrapper {
  height: 175vw;
}
@media screen and (max-width: 768px) {
  .nekoma__wrapper {
    height: auto;
  }
}

.nekoma__img-top {
  position: absolute;
  top: -4%;
  left: 25%;
  width: 50%; /* ← 追加 */
}

.nekoma__img-middle{
   margin: 0 auto;
}

.nekoma__img-bottom {

}

.nekoma-price-include-wrapper{
  display:flex;
  justify-content: space-between;
  align-items: center;
}

@media screen and (max-width: 768px) {
  .nekoma-price-include-wrapper {
    flex-direction: column;
  }
}

.nekoma-price-include{
  width:50%;
}

@media screen and (max-width: 768px) {
  .nekoma-price-include {
    width:80%;
    padding: 15px 0;
    font-size: 20px;
    text-align: center;
  }
}


.nekoma-price-include h3{
    margin: 0;
    font-size: 1.1em;
    font-weight: bold;
    line-height: 1.4;
    letter-spacing: 2;
    padding-bottom: 10px;
}

.nekoma__img-bottom-price {
  display: flex;
  justify-content: center;
  align-items: center;
}
.calcu_price-big-text {
  font-size:30px;
}

.calcu_icon-wrapper {
  width:20%;
}

.calcu_price-wrapper {
  width:70%;
}

.nekoma__background-bottom{
  position: absolute;
  top: 26%;
  left: 0%;
}

.nekoma__image {
  width: 100%;
  margin-bottom: 30px;
}

.nekoma__button-wrapper {
  text-align: center;
  margin: 40px 0;
}

@media screen and (max-width: 768px) {
  .nekoma__button-wrapper {
    margin:20px 0 40px;
  }
}

.nekoma__price-button {
  display: inline-block;
  padding: 20px 40px;
  color: #0e3773;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.1;
  text-decoration: none;
  border: 2px solid #0e3773;
  border-radius: 50px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.nekoma__price-button:hover {
  background-color: #0e3773;
  color: #ffffff;
}

/* ========================================
   Vehicleセクション（車両紹介・Nekoma紹介）
======================================== */
.vehicle {
  background-image: url("img/pc/part4_big_contents.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 80px 20px;
  max-width: 100%;
  height: 3000px;
  position: relative;
}

@media screen and (max-width: 768px) {
  .vehicle{
    background-image: url("img/sp/vehicle-bg-sp.png");
    height: 2700px;
  }
}

.vehicle__content_a {
  max-width: 500px;
  margin: 0 auto 60px;
  display: flex;
  align-items: center;
  gap: 60px;
  position: absolute;
  top: 5%;
  left: 17%;
}

@media screen and (max-width: 768px) {
  .vehicle__content_a {
    max-width: 400px;
    top: 3%;
    left: 10%;
  }
}

.vehicle__content_b {
  max-width: 400px;
  margin: 0 auto 60px;
  display: flex;
  align-items: center;
  gap: 60px;
  position: absolute;
  top: 36%;
  left: 63%;
}

@media screen and (max-width: 768px) {
  .vehicle__content_b {
    top: 52%;
    left: 12%;
  }
}

.vehicle__content_c {
  max-width: 400px;
  margin: 0 auto 60px;
  display: flex;
  align-items: center;
  gap: 60px;
  position: absolute;
  top: 64%;
  left: 11%;
}

@media screen and (max-width: 768px) {
  .vehicle__content_c {
    top: 82%;
    left: 15%;
  }
}

.vehicle__text {
  flex: 1;
}

.vehicle__title {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.3;
  color: #ffffff;
  margin-bottom: 20px;
  letter-spacing: 1px;
}

.vehicle__description {
  font-size: 24px;
  font-weight: 400;
  line-height: 1.5;
  color: #ffffff;
  letter-spacing: 0.5px;
}

.vehicle__description a{
  color:#fff;
}

.vehicle__image {
  flex: 1;
}

.vehicle__image img {
  width: 100%;
  height: auto;
  display: block;
}

.vehicle__access {
  max-width: 800px;
  margin: 0 auto 60px;
  text-align: left;
  padding: 40px 20px;
  display: flex;
  flex-flow: column;
  position: absolute;
  top: 22%;
  left: 36%;
}

@media screen and (max-width: 768px) {
  .vehicle__access {
    top: 25%;
    left: 17%;
  }
}

@media screen and (max-width: 768px) {
  .vehicle__title {
    font-size: 28px;
    margin-bottom: 10px;
  }
  
  .vehicle__description {
    font-size: 20px;
  }

}

/* ========================================
   日程スケジュールセクション2
======================================== */
.day-schedule {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px;
}

.day-schedule img {
  width: 100%;
}

.day-schedule-text {
  display: flex;
  justify-content: space-between;
  line-height: 1.5;
  font-size: 18px;
  gap: 20px;
  padding: 5px;
}

@media screen and (max-width: 768px) {
  .day-schedule-text {
    flex-direction: column;
    width: 90%;
    margin: 20px auto;
  }
}

.day-schedule-text-l {
  width:50%;
}

@media screen and (max-width: 768px) {
  .day-schedule-text-l {
    width:100%;
  }
}

.day-schedule-text-r {
  width:50%;
}

@media screen and (max-width: 768px) {
  .day-schedule-text-r {
    width:100%;
  }
}

.day-schedule2_break {
  position: relative;
}

.day-schedule2_day2 {
  position: absolute;
  bottom: 60%;
  left: 11%;
}

@media screen and (max-width: 768px) {
  .day-schedule2_day2{
    bottom: 32%;
    width: 30%;
  }
}

.day-schedule-under-img {
  position:relative;
}

.day-schedule-under-text {
  position:absolute;
  bottom:0;
  right:0;
  line-height: 1.5;
  font-size: 18px;
  width:50%;
  margin-left: auto;
}

@media screen and (max-width: 768px) {
  .day-schedule-under-text {
    position:unset;
    width: 90%;
  }
}

/* ========================================
   日程スケジュールセクション3
======================================== */

.day-schedule3_break {
  position: relative;
}

.day-schedule3_day3 {
  position: absolute;
  bottom: 60%;
  left: 11%;
}

@media screen and (max-width: 768px) {
  .day-schedule3_day3{
    bottom: 32%;
    width: 30%;
  }
}

/* ========================================
   日程スケジュールセクション3
======================================== */
/* 基本設定 */
/*body {
    font-family: Arial, "Helvetica Neue", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
}*/

/* 全体を囲うコンテナ */
.campervan-container {
    width: 100%;
    margin: 0 auto;
    position: relative;
    margin-top: 40px;

    /* 【追加】左右のボーダー */
    border-left: 1px solid #000;
    border-right: 1px solid #000;

}

/* 上下の水平線 */
.campervan-line {
    border: 0;
    border-top: 1px solid #000;
    margin: 10px 0;
}

/* タイトル部分 */
.campervan-title-wrapper {
    position: absolute;
    top: -50px; /* 位置は微調整が必要な場合があります */
    
    /* 【修正】left: 37% の決め打ちをやめ、中央寄せに変更 */
    left: 50%;
    transform: translateX(-50%);
    width: fit-content; /* 【追加】コンテンツ幅に合わせる */
    white-space: nowrap; /* 【追加】タイトルが変な位置で改行しないように */

    margin: 25px auto;
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    background-color: #fff;
    
    /* 【追加】線と被る部分の左右に余白を持たせる */
    padding: 0 10px; 
}

/* pタグのマージンリセット（※用） */
.campervan-title-wrapper p {
    margin: 0;
}

/* タイトル見出し */
.campervan-title {
    margin: 0;
    font-size: 1.1em;
    font-weight: bold;
    line-height: 1.4;
}

/* 説明文 */
.campervan-description {
    text-align: center;
    margin: 35px 0 25px;
    line-height: 1.5;
    font-size: 0.9em;
}

/* リスト全体のコンテナ */
.campervan-locations-container {
    display: flex; /* リスト(ul)を横並びにする */
    justify-content: center; /* 横並びにしたリストを中央に配置 */
    align-items: flex-start; /* 上端揃え */
    margin-bottom: 20px;
    padding: 0 20px;
    font-size: 18px;
    flex-wrap: wrap; 
}

/* 各リスト(カラム) */
.campervan-locations-list {
    list-style-type: none;
    padding: 0;
    margin: 0 10px; /* 列間のマージン */
    text-align: left;
    
    /* 【追加】PC版(4列)のための最小幅 */
    min-width: 100px; 
    
    /* 【追加】レスポンシブ対応（スマホで2列にするための設定） */
    flex-basis: 120px; /* ベースの幅 */
    flex-grow: 1; /* 空きスペースを均等に埋める */
}

/* リストの項目 */
.campervan-locations-list li {
    position: relative;
    padding-left: 0.7em;
    margin-bottom: 0.7em; /* 行間 */
    line-height: 1.4;
    white-space: nowrap; /* 画像に合わせて改行しない */
}

/* リストの '•' (ビュレット) */
.campervan-locations-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    top: 0;
    font-size: 1em;
}

/* (a Shinkansen station) の注釈 */
.campervan-note {
    font-size: 0.9em;
    padding-left: 1.2em; /* '•' の位置とインデントを合わせる */
    display: block; /* 改行させる */
}


/* 【追加】スマートフォン向けのレスポンシブ設定 */
@media (max-width: 500px) {

    /* タイトルが画面幅を超える場合に対応 */
    .campervan-title-wrapper {
        white-space: normal; /* 改行を許可 */
        text-align: center;
        width: 80%; /* 幅を制限 */
    }

    /* リストコンテナの左右マージンを調整 */
    .campervan-locations-container {
        justify-content: space-around; /* 均等配置 */
    }

    /* 各リスト(カラム)を2列にする */
    .campervan-locations-list {
        /* 2列にするため、幅を約半分に設定 */
        flex-basis: 40%; 
        min-width: 120px; /* 最小幅の確保 */
    }
}

.perfect-match-wrapper{
  text-align:center;
  padding:30px 0;
  line-height: 1.5;
}

@media screen and (max-width: 768px) {
  .perfect-match-wrapper{
    width:80%;
    margin:0 auto;
  }
}

.perfect-match-wrapper h4 {
    margin: 0;
    font-size: 1.1em;
    font-weight: bold;
    line-height: 1.4;
    letter-spacing: 2;
    padding-bottom:10px;
}

/* ========================================
   2タイプのcmapervan説明
======================================== */
.camper-section {
    max-width: 1100px;
    margin: 30px auto;
    padding: 0 20px;
}

@media screen and (max-width: 768px) {
  .camper-section{
    padding: 0;
  }
}

.camper-section h3 {
    text-align: center;
    font-size: 1.8rem;
    line-height: 1.5;
    margin-bottom: 25px;
    color: #222;
}
/* --- 2つのカードをまとめるコンテナ --- */
.camper-container {
    display: flex;
}

.camper-card {
    width:50%;
    background-color: #ffffff;
    overflow: hidden; /* 角丸を効かせるため */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    /* SPでは幅100% */
}
/* --- カードのヘッダー (青/グレーの部分) --- */
.camper-header {
    padding: 14px 24px;
    color: white;
}
.camper-header p {
    margin: 0;
    font-size: 1.25rem;
    font-weight: bold;
}

@media screen and (max-width: 768px) {
  .camper-header p{
    font-size: 1.00rem;
  }
}

/* 個別の色指定 */
.family-header {
    background-color: #316AB1; /* 画像から抽出 */
}
.compact-header {
    background-color: #3D4F63; /* 画像から抽出 */
}
/* --- 画像エリア (背景色が濃いグレーの部分) --- */
.camper-image-area {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px 20px;
    min-height: 200px;
    position:relative;
}
.camper-image-area img {
    position: absolute;
    bottom: -38px;
    left: 10%;
    max-width: 35%;
    height: auto;
    display: block;
}

@media screen and (max-width: 768px) {
  .camper-image-area img{
    bottom: -38px;
    left: 25%;
    max-width: 50%;
  }
}

/* 個別の色指定 */
.family-bg {
    background-image: url("img/pc/family-size-campervan.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.compact-bg {
    background-image: url("img/pc/compact-campervan.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
/* --- 詳細テキストエリア (白い部分) --- */
.camper-details {
    padding: 40px 20px 30px;
}

.camper-specs {
    display: flex;
    /* SP版: サイズと定員を縦積みに */
    flex-direction: column;
    gap: 16px;
    margin-bottom: 20px;
}

.camper-specs p,
.camper-description p {
    margin: 0;
    line-height: 1.7;
    font-size: 0.95rem;
}
.camper-description p {
    color: #555;
}
/* --- PC版のスタイル (画面幅が 768px 以上の場合) --- */
@media (min-width: 768px) {
    .camper-section h3 br {
        display: none; /* PCでは h3 の改行を無効化 */
    }
    .camper-container {
        /* PC版: 横並びにする */
        flex-direction: row; 
        max-width:800px;
        margin: 0 auto;
    }
    .camper-card {
        /* 2つのカードが均等に幅を持つ */
        flex: 1; 
    }
    .camper-specs {
        /* PC版: サイズと定員を横並びに */
        flex-direction: row;
        justify-content: space-between; /* 両端に寄せる */
        gap: 20px; /* 隙間 */
    }
    .camper-specs div {
        flex-basis: 50%; /* 各項目が約半分の幅を持つ */
    }
}

/* ========================================
   Campervan Pickup Drop-off Locations List
======================================== */
.location-section-wrapper {
    max-width: 800px;
    margin: 40px auto;
    padding: 20px;
}

/* --- タイトルエリア (※と罫線) --- */
.location-title-area {
    display: flex;
    align-items: center; /* 罫線とタイトルを垂直中央揃え */
    justify-content: center;
    gap: 15px; /* 罫線とタイトルの間の隙間 */
    margin-bottom: 20px;
}

.location-title-line {
    flex-grow: 1; /* 左右の余白を埋める */
    height: 1px;
    background-color: #000;
}

/* ※ と タイトル をまとめるグループ */
.location-title-content {
    display: flex;
    align-items: flex-start; /* ※ と タイトルの1行目を揃える */
    flex-shrink: 0; /* タイトルが縮まないように */
}

.location-title-content .asterisk p {
    margin: 0;
    font-size: 1.1rem;
    font-weight: bold;
    line-height: 1.4; /* h4と高さを合わせる */
    margin-right: 5px;
}

.location-title-content .title-text h4 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: bold;
    line-height: 1.4;
    text-align: left; /* ブロック内では左揃え */
}

/* --- サブタイトル --- */
.location-subtitle {
    text-align: center;
    margin-bottom: 30px;
}

.location-subtitle p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #444;
}
/* --- リストエリア --- */
.location-list ul {
    display: grid;
    
    /* PC版: 4カラムグリッド */
    grid-template-columns: repeat(4, 1fr);
    
    gap: 10px 20px; /* 行の隙間, 列の隙間 */
    
    /* <ul> のデフォルトスタイルをリセット */
    list-style: none;
    padding: 0;
    margin: 0;
}
.location-list li {
    position: relative;
    /* カスタムビュレット(•)のための余白 */
    padding-left: 1.2em; 
    font-size: 0.95rem;
    line-height: 1.5;
}
/* カスタムビュレット(•)を作成 */
.location-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    top: 0;
    font-weight: bold;
    color: #333;
}
/* --- SP(スマホ)版のスタイル --- */
@media (max-width: 767px) {
    .location-title-area {
        /* SPでは罫線を非表示に */
        justify-content: center;
    }
    .location-title-line {
        display: none;
    }
    .location-title-content .title-text h4 {
        text-align: center;
    }
    .location-list ul {
        /* SP版: 2カラムに変更 */
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .location-list ul {
        /* 最小画面: 1カラムに変更 */
        grid-template-columns: 1fr;
    }
}

/* ========================================
   Price simulation
======================================== */

.price-simulation{
  background-color: #317cee;
  padding: 20px;
  text-align:center;
  color:#fff;
  font-size: 30px;
  max-width: 800px;
  margin: 0 auto;
}

/* ========================================
   FAQ
======================================== */
.accordion-container {
    max-width: 700px;
    margin: 0 auto;
    background-color: #ffffff;
    border-radius: 8px;
    overflow: hidden; /* 枠線の最後を綺麗に見せるため */
}
.accordion-item {
    /* 画像のデザインに基づき、項目ごとに下線を引く */
    border-bottom: 1px solid #e0e0e0;
}
.accordion-item:last-child {
    /* 最後の項目は下線なし */
    border-bottom: none;
}
.accordion-question {
    /* 質問部分のフレックスボックス設定 */
    display: flex;
    justify-content: space-between; /* 両端揃え */
    align-items: flex-start;  /* 上端揃え (テキストが複数行の場合) */
    width: 100%;
    padding: 16px 20px;
    /* buttonタグのデフォルトスタイルをリセット */
    background-color: #ffffff;
    border: none;
    cursor: pointer;
    text-align: left;
    font-size: 16px;
    color: #333;
    
    /* スムーズな背景色変更（任意） */
    transition: background-color 0.2s ease;
}
.accordion-question:hover {
    background-color: #f9f9f9;
}
.question-content {
    /* Qアイコンとテキストをグループ化 */
    display: flex;
    align-items: flex-start; /* アイコンとテキストの上端を揃える */
    margin-right: 16px; /* テキストとプラスボタンの間に余白 */
}
.icon-q {
    /* Qアイコンのスタイル */
    flex-shrink: 0; /* アイコンが縮まないように */
    width: 30px;
    height: 30px;
    background-color: #4A90E2; /* 画像に近い青 */
    color: white;
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 6px;
    margin-right: 12px;
    font-size: 18px;
}
.question-text {
    /* 質問テキスト */
    line-height: 1.5;
}
.toggle-icon {
    /* プラス／マイナス アイコン */
    flex-shrink: 0;
    font-size: 28px;
    font-weight: 300;
    color: #4A90E2;
    margin-top: -2px; /* 位置微調整 */
    
    /* アイコンの切り替わりをスムーズに（任意） */
    transition: transform 0.3s ease;
}
/* JavaScriptで .active クラスが付いたときのアイコン回転（任意） */
.accordion-question.active .toggle-icon {
     /* 90度回転させる例 (マイナス記号の代わり) */
     /* transform: rotate(45deg); */
}
.accordion-answer {
    /* 回答部分のスタイル */
    /* max-height 0 で非表示にし、トランジションを効かせる */
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background-color: #fafafa; /* 回答部分の背景色（任意） */
}
.answer-content {
    /* 回答テキストのパディング */
    /* Qアイコンの幅 + マージン分 (30px + 12px) + 質問のパディング分 (20px) = 62px */
    padding: 0px 20px 16px 62px;
    font-size: 15px;
    line-height: 1.6;
    color: #555;
}

/* 回答が開いたときのスタイル (JSで制御) */
/* .accordion-answer.open {
    max-height: 500px; /* JSで scrollHeight を設定するため不要 
} */

/* ========================================
   Price Sumilation
======================================== */
.reservation-container {
    max-width: 800px;
    margin: 20px auto;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

/* ヘッダー */
.reservation-header {
    background-color: #1976D2; /* 画像の青 */
    color: white;
    padding: 16px 24px;
}

.reservation-header h2 {
    margin: 0;
    font-size: 1.5rem;
}

/* フォーム全体 */
#main-form {
    padding: 24px;
    max-width: 800px;
    margin: 0 auto;
}

/* 確認・完了画面 (デフォルトは非表示) */
#confirmation-screen,
#completion-screen {
    display: none;
    padding: 24px;
    text-align:center;
}

#completion-screen h3 {
    color: #1976D2;
}

#return-button{
  margin: 40px 0;
}

/* フォームグループ (追加・削除しやすいように) */
.form-section {
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 20px;
    padding-bottom: 20px;
}

.form-section:last-of-type {
    border-bottom: none;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

/* 赤色の (※) マーク */
.required-mark {
    color: red;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="number"],
.form-group input[type="date"],
.form-group input[type="datetime-local"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box; /* パディングを含めた幅計算 */
    font-size: 1rem;
}

.form-group textarea {
    min-height: 100px;
}

/* ラジオボタンのスタイル */
.radio-group label {
    font-weight: normal;
    display: inline-flex;
    align-items: center;
    margin-right: 20px;
    cursor: pointer;
}

.radio-group input[type="radio"] {
    margin-right: 8px;
    transform: scale(1.1);
}

/* 2列レイアウト用 */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

/* 3列レイアウト用 */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 10px;
}

/* 金額表示 */
.price-display-wrapper {
    border-top: 2px solid #e0e0e0;
    border-bottom: 2px solid #e0e0e0;
    padding: 20px 0;
    text-align: center;
    margin: 20px 0;
}

.price-display {
    font-size: 2.2rem;
    font-weight: bold;
    color: #000;
}

.price-display span {
    font-size: 1.1rem;
    font-weight: normal;
    color: #333;
    margin-left: 8px;
}

/* メインボタン */
.submit-btn {
    display: block;
    width: 100%;
    background-color: #1976D2;
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    padding: 14px;
    border: none;
    border-radius: 25px; /* 角丸 */
    cursor: pointer;
    transition: background-color 0.2s;
    text-align: center; /* buttonタグでない場合(aタグなど)も想定 */
    text-decoration: none;
    box-sizing: border-box;
}

.submit-btn:hover {
    background-color: #1565C0;
}

/* 確認画面のボタン */
.confirmation-buttons {
    display: flex;
    gap: 16px;
    margin-top: 20px;
}

.btn-secondary {
    background-color: #757575;
}

.btn-secondary:hover {
    background-color: #616161;
}

/* 確認画面の表示 */
#confirmation-details {
    border: 1px solid #eee;
    background: #fdfdfd;
    padding: 16px;
    border-radius: 4px;
}

#confirmation-details p {
    margin: 0 0 10px 0;
    border-bottom: 1px dashed #ccc;
    padding-bottom: 10px;
}

#confirmation-details p strong {
    display: inline-block;
    width: 150px;
    color: #555;
}

/* バリデーションエラー */
.error-message {
    color: #D32F2F;
    font-size: 0.85rem;
    margin-top: 4px;
    display: none; /* JSで表示 */
}

input.is-invalid,
select.is-invalid,
textarea.is-invalid {
    border-color: #D32F2F;
    background-color: #FFEBEE;
}

/* スマホ対応 */
@media (max-width: 600px) {
    .grid-2, .grid-3 {
        grid-template-columns: 1fr; /* スマホでは1列に */
    }
}
   
/* フォームグループ (input[type="file"] を追加) */
.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="number"],
.form-group input[type="date"],
.form-group input[type="datetime-local"],
.form-group input[type="file"], /* ← 追記 */
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box; 
    font-size: 1rem;
}

/* ファイル入力欄のスタイルを少し調整 */
.form-group input[type="file"] {
    padding: 8px;
    background-color: #f9f9f9;
}

/* 4列レイアウト用 (Passenger) */
.passenger-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

/* 必須マーク(※)をラベルのテキストに合わせて赤くする (任意) */
.form-group label:first-child {
    color: #333; /* デフォルトの色 */
}
.form-group label:first-child:after {
    content: ""; /* デフォルト */
}
/* ラベルテキストに '(※)' が含まれる場合 */
.form-group label:first-child:where(:contains('(※)')) {
    color: #D32F2F; /* 赤色 */
}

/* スマホ対応 (passenger-grid を 2x2 に) */
@media (max-width: 600px) {
    .grid-2, .grid-3 {
        grid-template-columns: 1fr; /* 既存 */
    }
    .passenger-grid {
        grid-template-columns: 1fr 1fr; /* 2x2 に */
    }
}
/* ========================================
   Gallery
======================================== */

/* 2つの「組」をまとめるコンテナ */
.gallery-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

@media screen and (max-width: 768px) {
  .gallery-container {
    margin-bottom: 50px;
  }
}

.gallery-group {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

@media screen and (max-width: 768px) {
  .gallery-group{
    width: 400px;
    height: 400px;
    margin: 0 auto;
  }
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    display: block;
}

@media (min-width: 768px) {
    .gallery-container {
        flex-direction: row;
    }
    .gallery-group {
        flex: 1; 
    }
}

/* ========================================
   Footer
======================================== */

footer {
  background-color:#2d73d9;
  text-align:left;
}

.footer_contents{
  width:20%;
  margin:0 auto;
  padding: 40px 0;
}

@media screen and (max-width: 768px) {
  .footer_contents{ 
    width:60%;
  }
}

.footer_contents p{
  color:#fff;
  line-height: 1.5;
}

.footer_contents a{
  color:#fff;
}

        
/* レスポンシブ対応 */
@media screen and (max-width: 768px) {
  .pc {
    display:none;
  }

  .sp {
    display:block;
  }

  .vehicle__content {
    flex-direction: column;
    gap: 30px;
  }

}
