/* =========================
   Bike detail button
========================= */

.model-detail-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;

  min-width: 116px;
  height: 30px;
  padding: 0 16px;

  border: 1px solid #777;
  border-radius: 999px;
  background: #fff;

  color: #666;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;

  box-sizing: border-box;
}

.model-detail-btn::after {
  content: ">";
  color: #ff0000;
  font-size: 19px;
  font-weight: 900;
  line-height: 1;
  transform: translateY(-1px);
}

.model-detail-btn:hover {
  background: #f5f5f5;
}

/* =========================
   Overlay
========================= */

.spec-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.32);
  z-index: 9990;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

body.spec-open .spec-overlay {
  opacity: 1;
  pointer-events: auto;
}

/* =========================
   Drawer - base
========================= */

.spec-drawer--light {
  position: fixed;
  top: 0;
  right: 0;
  width: min(760px, 94vw);
  height: 100dvh;
  background: #ffffff;
  color: #111111;
  z-index: 10000;
  box-shadow: -12px 0 40px rgba(0, 0, 0, 0.18);
  transform: translateX(105%);
  transition: transform 0.42s cubic-bezier(0.22, 1, 0.36, 1);
  border-left: 1px solid #d9d9d9;
  display: flex;
  flex-direction: column;

  /* フォント */
  font-family: "Yu Gothic", "Yu Gothic Medium", "Hiragino Kaku Gothic ProN",
    "Hiragino Sans", "Meiryo", "Roboto", Arial, sans-serif;
}

body.spec-open .spec-drawer--light {
  transform: translateX(0);
}

.spec-drawer__handle {
  display: none;
  flex: 0 0 auto;
}

.spec-drawer__inner {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  touch-action: pan-y;
  padding: 88px 40px 42px;
  box-sizing: border-box;
}

.spec-drawer__close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 46px;
  height: 46px;
  border: 1px solid #cfcfcf;
  border-radius: 50%;
  background: #ffffff;
  color: #111111;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.spec-drawer__close:hover {
  background: #111111;
  color: #ffffff;
  border-color: #111111;
}

.spec-drawer__header {
  /*margin-bottom: 24px;*/
  padding-bottom: 20px;
  /*border-bottom: 1px solid #dcdcdc;*/
}

.spec-drawer__eyebrow {
  margin: 0 0 10px;
  color: #666666;
  font-size: 12px;
  letter-spacing: 0.16em;
}

.spec-drawer__title {
  margin: 0 0 14px;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.2;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: #111111;
}

.spec-drawer__lead {
  margin: 0;
  color: #444444;
  font-size: 15px;
  line-height: 1.8;
}

/* =========================
   Spec table
========================= */

.spec-sheet {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.spec-sheet__table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  border-top: 1px solid #dcdcdc;
}

.spec-sheet__table th,
.spec-sheet__table td {
  padding: 12px 16px; /* 行高を少し圧縮 */
  border-bottom: 1px solid #e2e2e2;
  vertical-align: middle;
  text-align: left;
}

.spec-sheet__table th {
  width: 34%;
  background: #f2f2f2;
  color: #555555;
  font-size: 14px;
  font-weight: normal;
  line-height: 1.6;
  letter-spacing: 0.04em;
}

.spec-sheet__table td {
  color: #111111;
  font-size: 16px;
  line-height: 1.6;
  word-break: break-word;
}

.spec-sheet__section th {
  width: auto;
  background: #e1e1e1;
  padding-top: 14px;
  padding-bottom: 8px;
  border-bottom: none;
  color: #111111;
  font-size: 19px;
  font-weight: 500;
  letter-spacing: 0.06em;
  line-height: 1.4;
}

.spec-sheet__section + tr th,
.spec-sheet__section + tr td {
  padding-top: 10px;
}

.spec-sheet__note {
  margin-top: 18px;
  color: #666666;
  font-size: 12px;
  line-height: 1.8;
}

body.spec-open {
  overflow: hidden;
}

/* =========================
   Mobile
========================= */
@media screen and (max-width: 767px) {
  .model-detail-btn {
    margin-top: 8px;
    padding: 8px 12px;
    font-size: 11px;
  }

  .spec-drawer--light {
    top: auto;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: min(84dvh, calc(100dvh - 16px));
    max-height: min(84dvh, calc(100dvh - 16px));
    transform: translateY(105%);
    border-left: none;
    border-top: 1px solid #d9d9d9;
    border-radius: 18px 18px 0 0;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.18);
    display: flex;
    flex-direction: column;
  }

  body.spec-open .spec-drawer--light {
    transform: translateY(0);
  }

  .spec-drawer__handle {
    display: block;
    width: 54px;
    height: 5px;
    border-radius: 999px;
    background: #cfcfcf;
    margin: 10px auto 0;
  }

  .spec-drawer__inner {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-y: contain;
    touch-action: pan-y;
    padding: 28px 20px 26px;
  }

  .spec-drawer__close {
    top: 12px;
    right: 12px;
    width: 40px;
    height: 40px;
    font-size: 24px;
  }

  .spec-drawer__header {
    margin-bottom: 16px;
    padding-bottom: 14px;
  }

  .spec-drawer__eyebrow {
    font-size: 11px;
    margin-bottom: 8px;
  }

  .spec-drawer__title {
    font-size: 26px;
    margin-bottom: 10px;
  }

  .spec-drawer__lead {
    font-size: 14px;
    line-height: 1.7;
  }

  /* スマホでも2列維持 */
  .spec-sheet__table {
    width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
  }

  .spec-sheet__table th,
  .spec-sheet__table td {
    display: table-cell;
    box-sizing: border-box;
    vertical-align: middle;
    padding: 8px 8px;
  }

  .spec-sheet__table th {
    width: 74%;
    background: #f2f2f2;
    border-bottom: 1px solid #e2e2e2;
    padding-right: 12px;
    font-size: 13px;
    line-height: 1.45;
    color: #555555;
    text-align: left;
  }

  .spec-sheet__table td {
    width: 26%;
    border-bottom: 1px solid #e2e2e2;
    text-align: center;
    font-size: 15px;
    line-height: 1.2;
    color: #111111;
    white-space: nowrap;
    padding-left: 6px;
    padding-right: 6px;
  }

  .spec-sheet__table td.spec-sheet__flag {
    font-size: 19px;
    line-height: 1;
    font-weight: 600;
    letter-spacing: 0.08em;
  }

  .spec-sheet__section th {
    width: auto !important;
    background: #e1e1e1;
    padding-top: 14px;
    padding-bottom: 6px;
    border-bottom: none;
    font-size: 17px;
    line-height: 1.35;
    color: #111111;
  }
}



html {
  width: 100%;
  overflow-x: clip;
  scrollbar-gutter: stable;
}

body {
  width: 100%;
  overflow-x: clip;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}



/* =========================
   Compatibility drawer heading
========================= */

/* COMPATIBILITY FUNCTION CHART */
.spec-drawer__eyebrow {
  display: block;
  width: fit-content;
  margin: 0 0 14px;
  padding: 6px 12px;
  border: 1px solid #777;
  background: #fff;
  color: #555;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.12em;
}

/* 機種名 */
.spec-drawer__title {
  display: block;
  width: fit-content;
  margin: 0 0 14px;
  padding-bottom: 7px;
  border-bottom: 2px solid #111;
  color: #111;
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 500;
  line-height: 1.2;
}

/* 表上部の凡例 */
.spec-sheet__legend th {
  padding: 12px 16px;
  border-top: 1px solid #dcdcdc;
  border-bottom: 1px solid #dcdcdc;
  background: #fff;
  color: #555;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.7;
  text-align: left;
}

.spec-sheet__legend-mark {
  color: #111;
  font-weight: 700;
}

.spec-sheet__legend-separator {
  display: inline-block;
  margin: 0 8px;
  color: #bbb;
}

/* iOS only の文字が長いため折り返しを許可 */
.spec-sheet__flag--ios {
  white-space: normal !important;
  font-size: 13px !important;
  line-height: 1.35 !important;
}

/* スマホ調整 */
@media screen and (max-width: 767px) {
  .spec-drawer__eyebrow {
    padding: 5px 9px;
    font-size: 10px;
    letter-spacing: 0.08em;
  }

  .spec-drawer__title {
    padding-bottom: 5px;
    border-bottom-width: 2px;
  }

  .spec-sheet__legend th {
    padding: 10px 8px;
    font-size: 10px;
  }

  .spec-sheet__legend-separator {
    margin: 0 4px;
  }

  .spec-sheet__flag--ios {
    font-size: 10px !important;
  }
}

/* =========================
   News box
========================= */

.news-box {
  width: calc(90% - 40px);
  max-width: 1000px;
  margin: 30px auto 0 auto;
  border: 1px solid #aaa;
  background: #fff;
  box-sizing: border-box;
}

/* News見出し */
.news-box__title {
  display: flex;
  align-items: center;
  gap: 9px;

  min-height: 46px;
  margin: 0;
  padding: 8px 16px;

  border-bottom: 1px solid #ccc;

  color: #333;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.4;
  text-align: left;
  box-sizing: border-box;
}

/* 見出し左側の四角 */
.news-box__mark {
  display: block;
  width: 9px;
  height: 9px;
  background: #333;
}

/* スクロールする範囲 */
.news-box__scroll {
  max-height: 160px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;

  padding: 0 16px;
  background: #fff;
}

/* ニュース1件 */
.news-box__item {
  display: grid;
  grid-template-columns: 145px minmax(0, 1fr);
  gap: 15px;
  align-items: start;

  padding: 12px 4px;
  border-bottom: 1px solid #ddd;
	
  text-align: left;
}

.news-box__item:last-child {
  border-bottom: 0;
}

/* 日付 */
.news-box__date {
  color: #555;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.7;
  white-space: nowrap;
}

/* ニュース本文 */
.news-box__text {
  min-width: 0;
  margin: 0;

  color: #444;
  font-size: 14px;
  line-height: 1.7;
  overflow-wrap: anywhere;
}

/* =========================
   Scrollbar
========================= */

.news-box__scroll {
  scrollbar-width: thin;
  scrollbar-color: #999 #eee;
}

.news-box__scroll::-webkit-scrollbar {
  width: 10px;
}

.news-box__scroll::-webkit-scrollbar-track {
  background: #eee;
}

.news-box__scroll::-webkit-scrollbar-thumb {
  border: 2px solid #eee;
  border-radius: 10px;
  background: #999;
}

.news-box__scroll::-webkit-scrollbar-thumb:hover {
  background: #777;
}

.app_news{
	display:block;
	font-size:16px;
	font-weight: 700;
	margin:20px 0 40px -10px;
	min-height: 100px;
}


/* =========================
   Smartphone
========================= */



@media screen and (max-width: 1024px) {
  .news-box {
    width: calc(100% - 28px);
    margin: 20px auto 62px auto;
  }
}


@media screen and (max-width: 767px) {
  .news-box {
    width: calc(100% - 28px);
    margin: 20px auto 62px auto;
  }

  .news-box__title {
    min-height: 42px;
    padding: 7px 12px;
    font-size: 19px;
  }

  .news-box__mark {
    width: 8px;
    height: 8px;
  }

  .news-box__scroll {
    max-height: 250px;
    padding: 0 12px;
  }

  .news-box__item {
    display: block;
    padding: 11px 2px;
  }

  .news-box__date {
    display: block;
    margin-bottom: 2px;
    font-size: 12px;
    white-space: normal;
  }

  .news-box__text {
    font-size: 13px;
    line-height: 1.65;
  }
}
	

