/***********************************
      　　　車両単品試作CSS
***********************************/
/* 全体 */
html {
  font-size: 62.5%;
}

body {
  font-family: sans-serif;
  font-size: 2rem;
  text-size-adjust: 100%;
  background-color: #F7F0D4;
  /* 京王アイボリー */
}

/*** ページ上部 ***/
/* 見出し帯 */
.section-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  box-sizing: border-box;
  --radius-br: 0px;
  /* 右下だけ変化させる想定 */
  transition: border-radius 0.05s linear;
  border-radius: 6px 6px 6px var(--radius-br);
  background-color: #6cc2f0;
  /* 見出し地色 */
  padding: 20px 20px;
  transition: padding 0.3s ease, box-shadow 0.3s ease;
}

/* スクロール後 */
.section-header.is-shrink {
  padding: 10px 16px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.section-header.is-detached {
  border-radius: 6px;
}

/* タイトル文字 */
.section-title {
  margin: 0;
  text-align: left;
  font-family: "ヒラギノ丸ゴ ProN W4", "HiraMaruProN-W4", "HG丸ｺﾞｼｯｸM-PRO", "HGMaruGothicMPRO", sans-serif;
  font-size: 3rem;
  font-weight: normal;
  color: #f7f7f3;
  /* タイトル文字 */
  letter-spacing: 0.05em;
  transition: font-size 0.3s ease;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.18);
}

/* スクロール後の文字サイズ */
.section-header.is-shrink .section-title {
  font-size: 1.35rem;
}

.header-links {
  position: absolute;
  top: 16px;
  right: 16px;
  text-align: right;
  font-size: 0.9rem;
  line-height: 1.6;
  /* スマホ対応時は1.4(予定) */
  font-family: "ヒラギノ丸ゴ ProN W4", "HiraMaruProN-W4", "HG丸ｺﾞｼｯｸM-PRO", "HGMaruGothicMPRO", sans-serif;
}

/* リンク */
.header-links a {
  color: #FFFFFF;
  /* 前後ページリンク色 */
  text-decoration: none;
  margin: 0 0.2em;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.18);
}

.header-links a:hover {
  text-decoration: underline;
}

.section-header.is-shrink .header-links {
  top: 8px;
  font-size: 0.8rem;
}

.header-meta {
  position: sticky;
  top: var(--header-height);
  /* ← ヘッダーの高さ分 */
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  /* ← 左右に分離 */
  margin: 0;
  /*margin: 0 16px;*/
  width: 100%;
  font-family: "ヒラギノ丸ゴ ProN W4", "HiraMaruProN-W4", "HG丸ｺﾞｼｯｸM-PRO", "HGMaruGothicMPRO", sans-serif;
}

.meta-text {
  margin-left: auto;
  text-align: right;
  text-shadow: 0 1px 5px #F7F0D4;
  /* 更新日 影色 背景処理要検討 */
}

/* ハンバーガーメニュー＋開設 */
.meta-row {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* 最終更新 */
.meta-update-date {
  margin-top: 0;
}

.meta-menu-toggle {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
}

.meta-menu-icon {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #FFFFFF;
  /* 丸地色 */
  flex-shrink: 0;
}

.meta-menu-dot {
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background-color: #2C67B2;
  /* 小丸地色 */
  top: 7px;
  /* 閉状態 */
  left: 25%;
  transform: translateX(-50%);
  transition: transform 0.3s ease;
}

.meta-menu-text {
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #f7f7f3;
  line-height: 1;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.18);
}

.meta-menu-toggle.is-open .meta-menu-dot {
  transform: translate(9px, 12px);
}

.meta-menu-inner {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: linear-gradient(
      /* グラデーションセクション */
      to bottom,
      #6cc2f0 0%,
      /* 見出し色 */
      #3295CE 100%
      /* グラデーション */
    );
  border-radius: 0 0 6px 6px;
  /* 角丸 */
}

/* 前後ページ矢印 */
.nav-arrow {
  color: rgba(255, 255, 255, 0.85);
  margin: 0 0.2em;
}

/*** 可変メニュー ***/
.meta-menu-wrapper {
  position: relative;
}

.meta-menu-panel {
  position: absolute;
  top: 100%;
  left: 0;
  display: none;
  /* ← 初期は必ず非表示 */
  margin-top: 4px;
  background-color: #3295CE;
  /* メニュー地色 */
  border-radius: 6px 6px 6px 6px;
  padding: 6px 0;
  max-height: 80vh;
  /* 幅 */
  overflow-y: auto;
  /* メニュー縦スクロール */
  width: max-content;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  z-index: 10;
}

.meta-menu-wrapper.is-open .meta-menu-panel {
  display: block;
}

.meta-menu-list,
.meta-menu-list ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.meta-menu-list li a {
  display: block;
  padding: 6px 28px;
  font-size: 1.7rem;
  color: #f7f7f3;
  /* メニュー文字色 */
  text-decoration: none;
  white-space: nowrap;
  /* 折り返し防止 */
}

.meta-menu-list li a:hover {
  background-color: #2C67B2;
  /* ホバー時地色 */
  color: #f7f7f3;
  /* ホバー時文字色 */
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.18);
}

.meta-menu-panel.is-open {
  display: block;
}

/*スマホ用*/
@media (max-width: 1024px) {
  .meta-menu-list li a {
    font-size: 3rem;
  }

  .meta-menu-icon {
    position: relative;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #FFFFFF;
    /* 丸地色 */
    flex-shrink: 0;
  }

  .meta-menu-dot {
    position: absolute;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background-color: #2C67B2;
    /* 小丸地色 */
    top: 7px;
    /* 閉状態 */
    left: 25%;
    transform: translateX(-50%);
    transition: transform 0.3s ease;
  }

  .meta-menu-text {
    font-size: 2rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: #f7f7f3;
    line-height: 1;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.18);
  }

  .meta-menu-toggle.is-open .meta-menu-dot {
    transform: translate(12px, 25px);
  }
}

/*テキスト系*/
.header_text {
  line-height: 35px;
  /* 行間 */
  /*pタグ小文字問題の解決策*/
  padding-left: 10px;
  padding-right: 10px;
  /*pタグ小文字問題の解決策 ここまで*/
}

.all_page_standard_text {
  width: 900px;
  height: auto;
  margin: 0 auto;
  text-align: justify;
  text-justify: inter-ideograph;
}

@media screen and (max-width: 1023px) {
  .PC {
    display: none;
  }

  body {
    font-family: sans-serif;
    font-size: 2rem;
  }

  a {
    font-size: 2rem;
    /* スマホ文字サイズ */
    text-decoration: none;
  }

  img.spimg {
    width: 100%;
  }

  .DownMenu_sub {
    font-size: 2rem;
  }
}

@media screen and (min-width: 1024px) {
  .smartphone {
    display: none;
  }

  body {
    font-family: sans-serif;
    font-size: 1.6rem;
  }

  a {
    font-size: 1.6rem;
    text-decoration: none;
  }

  .DownMenu_sub {
    font-size: 1.6rem;
  }

  .box_one_item_2car {
    width: 35%;
    margin: auto;
  }
}

/* 中央配置(共通) */
.center {
  text-align: center;
}

/*新画像構成 2022/02〜*/
.main_contents {
  width: 100%;
  max-width: 1700px;
  margin: auto;
  text-align: center;
}

.main_contents img {
  width: 100%;
}

.main_contents_middle {
  width: 100%;
  max-width: 1200px;
  margin: auto;
  text-align: center;
}

.main_contents_middle img {
  width: 100%;
}

.main_contents_1987 {
  /*プラロード単品用*/
  width: 100%;
  max-width: 1300px;
  margin: auto;
  text-align: center;
}

.main_contents_1987 img {
  /*プラロード単品用*/
  width: 100%;
}

.flexbox {
  display: flex;
}

.box {
  width: 100%;
  margin: auto;
}

.box_one_item {
  /* 1行1製品用 */
  width: 50%;
  margin: auto;
}

.box_one_car {
  /* 1両単品用 */
  width: 23%;
  margin: auto;
}

@media screen and (max-width: 1023px) {
  a.popup {
    pointer-events: none;
    /*画像ポップアップ無効化*/
  }

  .flexbox {
    display: block;
  }

  .flexbox .box {
    width: 100%;
    margin: 0 auto;
  }

  .flexbox .box_one_item {
    width: 100%;
    margin: 0 auto;
  }

  .flexbox .box_one_car {
    width: 48%;
    margin: 0 auto;
  }

  .flexbox .box_ECDL {
    width: 100%;
    margin: 0 auto;
  }

  .flexbox .box_ECDL>.box_DL_one_car {
    width: 48%;
    margin: auto;
  }
}

/* 現在地メニュー */
.DownMenu_size {
  width: 100%;
  height: 50px;
}

.DownMenu {
  overflow: hidden;
  line-height: 45px;
}

.DownMenu_sub {
  float: left;
}

/* 画面下前後ページ表示 */
.container {
  display: flex;
  justify-content: space-between;
}

.container span {
  flex-grow: 1;
  text-align: center;
  padding: 10px;
  /* オプション: 内側の余白を追加 */
}

.bottom_menu {
  width: 600px;
  height: auto;
  margin: 0 auto;
  text-align: justify;
  text-justify: inter-ideograph;
}


/* 単品ページ装飾 */
div.line {
  /*width: 100%;*/
  height: 25px;
  background-image: linear-gradient(90deg, #2A94D0 25%, #FFFFFF 25%, #FFFFFF 50%, #2A94D0 50%, #2A94D0 75%, #FFFFFF 75%, #FFFFFF 100%);
  /*青白*/
  background-size: 200.00px 200.00px;
}

/* セット品ページ装飾 */
div.set_line {
  /*width: 100%;*/
  height: 25px;
  background-image: linear-gradient(90deg, #ffac5e 25%, #e0dfeb 25%, #e0dfeb 50%, #ffac5e 50%, #ffac5e 75%, #e0dfeb 75%, #e0dfeb 100%);
  /*臙脂白*/
  background-size: 200.00px 200.00px;
}