@charset "utf-8";

/*
  新機種ページ（/new-product.html）
  色は添付デザインの青（見出し・チェック・表ヘッダー）に合わせている。
  画面幅の指定はモバイルを基準にし、広い画面向けの差分だけを各クラスの中に書く。
*/

.new-product {
  --blue: #0081cc;
  --heading: #1a90d0;
  --border: #8ecff0;
  --panel: #e5eff2;
  --text: #333333;
  --muted: #666666;
  --line: #e3e3e3;
  --header-gray: #f3f3f3;
  --width: 1280px;

  box-sizing: border-box;
  color: var(--text);
  font-size: clamp(0.875rem, 0.7rem + 0.5vw, 1rem);
  line-height: 1.75em;
  text-align: left;
  background: #fff;
}

.new-product *,
.new-product *::before,
.new-product *::after {
  box-sizing: border-box;
}

.new-product img {
  display: block;
  width: 100%;
  height: auto;
}

.new-product h1,
.new-product h2 {
  font-weight: bold;
  line-height: 1.5;
}

.new-product__inner {
  width: min(var(--width), calc(100% - 40px));
  margin: 0 auto;
}

/* .new-product__inner > section {
  margin-top: 80px;
}

.new-product__inner > section:first-child {
  margin-top: 56px;
} */
.new-product__inner{
  display: flex;
  flex-direction: column;
  gap: clamp(2.5rem, -1rem + 10vw, 5rem);
  margin-block: clamp(5rem, 1.5rem + 10vw, 7.5rem);
}


/* ヒーロー */

.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  height: clamp(17.5rem, -1.75rem + 55vw, 31.25rem);
  padding: 48px 20px;
  background: #0b3a66 url("/images/newProduct/newProduct_heroGb.webp") center center / cover no-repeat;
}

.hero h1 {
  color: #fff;
  font-size: clamp(22px, 3vw, 36px);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-align: center;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.25);
}


/* 新機種の特徴（製品写真＋要点） */

.intro {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px 40px;
  align-items: center;
  padding: 24px 20px;
  border: 2px solid var(--border);
  border-radius: 16px;

  @media (min-width: 992px) {
    grid-template-columns: 1.15fr 0.85fr;
    padding: 36px 40px;
  }
}

.intro h2,
.feature h2,
.functions h2,
.compare h2,
.price-banner h2,
.options h2 {
  color: var(--heading);
  font-size: clamp(1.5rem, 0.1rem + 4vw, 2.5rem);
  font-weight: 400;
}

.intro__devices {
  margin: 0;
}


/* チェックリスト */

.check-list li {
  position: relative;
  margin-top: 14px;
  padding-left: 36px;
}

.check-list li:first-child {
  margin-top: 16px;
}

.check-list li::before {
  content: "";
  position: absolute;
  top: 0.25em;
  left: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath d='M6 11.2l3.2 3.2L16.2 7.5' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 22px no-repeat;
}

.note {
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}


/* 左右2カラムの機能紹介 */

.feature {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px 48px;
  align-items: center;

  @media (min-width: 992px) {
    grid-template-columns: 0.9fr 1.1fr;
  }
}

.feature--image-left .feature__figure {
  order: 0;

  @media (min-width: 992px) {
    order: -1;
  }
}

.feature__figure {
  margin: 0;
}

.feature__body p {
  margin-top: 16px;
}


/* その他搭載機能 */

.functions h2,
.compare h2,
.options h2 {
  text-align: center;
}

.function-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(0.25rem, -1.325rem + 4.5vw, 1.375rem);
  margin-top: 36px;
}

.function-list li {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 108px;
  padding: 16px 12px;
  border: 2px solid var(--border);
  border-radius: 10px;
  color: #444;
  line-height: 1.6;
  text-align: center;

  @media (min-width: 561px) {
    width: calc((100% - 22px) / 2);
  }

  @media (min-width: 992px) {
    width: calc((100% - 66px) / 4);
  }
}


/* 比較表 */

.compare-table,
.option-table {
  width: 100%;
  margin-top: 28px;
  border-collapse: collapse;
  border: 1px solid var(--line);
  text-align: center;
  .is-feature-header{
    background-color: var(--blue) !important;
    color: #fff !important;
  }
  .is-feature{
    background-color: var(--panel) !important;
  }
  .is-feature-even{
    background-color: #cde1e8!important;
  }
}

.compare-table th,
.compare-table td,
.option-table th,
.option-table td {
  padding: 16px 12px;
  border: 1px solid var(--line);
  vertical-align: middle;
}

.compare-table thead th {
  background: var(--header-gray);
  font-weight: bold;
  text-align: center;
}

.compare-table thead th.is-new {
  background: var(--blue);
  color: #fff;
}

.compare-table tbody th {
  font-weight: normal;
  text-align: center;
}

.compare-table tbody tr:nth-child(even) th,
.compare-table tbody tr:nth-child(even) td {
  background: #f7f7f7;
}

.compare-table {
  min-width: 640px;
}


/* 基本料金 */

.price-banner {
  padding: 40px 24px;
  border-radius: 12px;
  background: var(--panel);
  text-align: center;
}

.price-banner p {
  margin-top: 16px;
}


/* オプション料金 */

.options__lead {
  margin-top: 16px;
  text-align: center;
}

.option-table thead th {
  background: var(--blue);
  color: #fff;
  font-weight: bold;
  text-align: center;
}

.option-table tbody th {
  width: 22%;
  font-weight: normal;
  text-align: center;
}

.option-table td:last-child {
  width: 22%;
  white-space: nowrap;
  text-align: center;
}

.option-table td:nth-child(2) {
  text-align: left;
}

.option-table .note {
  display: inline-block;
  margin-top: 4px;
}

.option-table {
  min-width: 720px;
}


/* 横スクロール（狭い画面の表） */

.table-wrap {
  overflow-x: auto;
}
