/*
 * 商品詳細ページ(G FIT as-01 / S FIT as-01 / X FIT HP / Z FIT EQ)共通スタイル
 */
@charset "UTF-8";
.page-lineup {
  overflow-x: hidden; }

.page-lineup .container {
  width: 95%;
  max-width: 960px;
  /* ===== Shutter (ブランドロゴ) ===== */ }

.page-lineup .shutter__logo {
  max-width: 280px;
  /* ===== Hero =====
 * bg_detail_fv_*.jpg は白地に光の筋(スウッシュ)のみの画像のため、
 * ヒーローの地色は白のまま、文字類はブランドのメインパープルで表示する。
 */ }

.product-hero {
  position: relative;
  background-color: #fff;
  background-image: url("/autoway/dp/brand/laufenn/img/bg_detail_fv_sp.jpg");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  color: var(--color-text);
  padding: 32px 6% 0;
  text-align: center;
  overflow: hidden; }

.product-hero__inner {
  position: relative;
  max-width: 960px;
  margin: 0 auto; }

.product-hero__title {
  margin-bottom: 4px; }

.product-hero__logo {
  width: 90%;
  max-width: 400px;
  height: auto;
  margin: 0 auto; }

.product-hero__ruby {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-main);
  margin-bottom: 12px; }

.product-hero__range {
  display: inline-block;
  background: var(--color-inch);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  padding: 3px 20px;
  border-radius: 20px;
  margin-bottom: 16px; }

.product-hero__icons {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 30px; }

.product-hero__icon {
  width: 62px;
  height: auto; }

.product-hero__visual {
  position: relative;
  width: 85%;
  max-width: 370px;
  /* TOPページのproduct-card__image-wrapと同じ考え方で、タイヤ画像の下半分をクロップする */
  margin: 10px auto 0;
  aspect-ratio: 1.4;
  overflow: hidden; }

.product-hero__tire {
  width: 100%;
  height: auto;
  /* ===== Features ===== */ }

.section--features {
  padding: 40px 0 32px; }

.features__catch {
  text-align: center;
  font-size: 24px;
  font-weight: 900;
  color: var(--color-main);
  letter-spacing: -0.05em;
  line-height: 1.5;
  margin-bottom: 10px; }

.features__text {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: -0.05em;
  color: var(--color-text);
  margin-bottom: 32px; }

.features__text br.pc {
  display: none; }

.features-overview {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-bottom: 50px; }

.features-score {
  max-width: 360px;
  margin: 0 auto;
  width: 100%;
  /* ENVOYと同じレイアウト・枠デザインを踏襲し、配色のみLaufennに変更 */ }

.score-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px; }

.score-item {
  display: grid;
  grid-template-columns: 1fr 15px 90px;
  align-items: center;
  gap: 10px;
  padding: 5px;
  border: 1px solid var(--color-main);
  border-radius: 5px;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1;
  color: var(--color-main);
  background: #fff; }

.score-bar {
  display: flex;
  gap: 3px;
  width: 100%; }

.score-bar__cell {
  flex: 1;
  aspect-ratio: 1 / 1;
  border: 1.5px solid var(--color-cell);
  background: #fff;
  box-sizing: border-box; }

.score-bar__cell.filled {
  background: var(--color-cell);
  border-color: var(--color-cell); }

.score-value {
  text-align: center;
  font-size: 14px;
  color: var(--color-breadcrumb-bg); }

.score-label {
  text-align: right;
  color: var(--color-breadcrumb-bg);
  font-weight: 700;
  font-size: 14px; }

.score-note {
  margin-top: 10px;
  font-size: 12px;
  font-weight: 700;
  color: var(--color-text);
  text-align: center; }

.feature-points {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: max-content;
  margin: 0 auto;
  width: 100%; }

.page-z_fit_eq .feature-points {
  max-width: 480px; }

.feature-point {
  display: flex;
  gap: 14px;
  align-items: center; }

.feature-point__icon {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  object-fit: contain; }

.feature-point__body {
  flex: 1; }

.feature-point__title {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-main);
  margin-bottom: 4px; }

.feature-point__text {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--color-text);
  /* サイズを確認するボタン: TOPへ戻るボタン(48px幅)の左側に横並びで配置する */ }

.btn-size-check {
  position: fixed;
  right: 76px;
  bottom: 16px;
  z-index: 5;
  display: block;
  width: calc(100% - 92px);
  max-width: none;
  margin: 0;
  background: var(--color-highlight);
  color: #fff;
  text-align: center;
  font-size: 18px;
  font-weight: 700;
  padding: 10px 16px;
  border-radius: 5px;
  box-shadow: 2px 2px 6px var(--color-shadow); }

.btn-size-check::after {
  content: '';
  display: inline-block;
  width: 11px;
  height: 14px;
  /* アイコンをmaskで描画し、背景色をcurrentColorにすることでhover時の色反転に追従させる */
  margin-left: 20px;
  background-color: currentColor;
  -webkit-mask: url("/autoway/dp/brand/laufenn/img/icon_size_arrow.svg") no-repeat center / contain;
  mask: url("/autoway/dp/brand/laufenn/img/icon_size_arrow.svg") no-repeat center / contain; }

.btn-size-check:hover {
  transition: opacity 0.3s, background-color 0.3s, color 0.3s;
  background: #fff;
  color: var(--color-highlight);
  /* ===== 技術詳細 =====
 * SP幅では.containerの90%制約を超えて画面幅いっぱいに広げる
 */ }

.tech-detail {
  display: flex;
  flex-direction: column;
  gap: 50px;
  width: 100vw;
  max-width: 100vw;
  margin: 0 calc(50% - 50vw) 40px;
  background: linear-gradient(to bottom, #eaeaea 0%, #fff 50%, #eaeaea 100%);
  padding: 24px 2.5% 0; }

.tech-detail__list {
  display: flex;
  flex-direction: column;
  gap: 24px; }

.tech-detail__title {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-main);
  margin-bottom: 3px; }

.tech-detail__text {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--color-text); }

.tech-detail__thumbs {
  display: flex;
  gap: 12px;
  margin-top: 20px; }

.tech-detail__thumb {
  flex: 1;
  max-width: 40%;
  margin: 0 auto; }

.tech-detail__thumb--wide {
  max-width: 80%; }

.tech-detail__thumb img {
  width: 100%;
  border-radius: 4px; }

.tech-detail__thumb-caption {
  font-size: 12px;
  font-weight: 700;
  color: var(--color-text);
  text-align: center;
  margin-top: 4px; }

.tech-detail__image {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden; }

.tech-detail__image img {
  width: 70%;
  max-width: 420px;
  /* トレッド画像の下半分をクロップする */
  height: auto;
  aspect-ratio: 0.9;
  object-fit: cover;
  object-position: top;
  /* PC幅: 左の商品説明と高さを揃え、タイヤ正面画像は下側を切って配置する
 * img側をheight:100%+object-fit:coverで枠に合わせると、左カラムが縦に長くなった際に
 * 枠が横に対して縦長になりすぎて両サイドが切れてしまう。
 * width:100%; height:auto;で常に横幅基準の自然なサイズにし、はみ出た下側だけを
 * 親のoverflow:hiddenで切る(align-items:flex-startで上端基準に固定)。
 */ }

@media (min-width: 768px) {
  /* ===== Size line up ===== */
    .tech-detail__image {
      align-self: stretch;
      align-items: flex-end;
      overflow: hidden;
      padding-top: 40px; }
    .tech-detail__image img {
      width: 100%;
      max-width: none;
      height: auto;
      aspect-ratio: 0.5; } }

.section--size {
  padding: 0 0 20px; }

.page-lineup .copyright-notice {
  margin-top: 50px; }

.size-table-wrap {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  position: relative; }

.size-table__scroll-hint {
  display: inline-block;
  position: absolute;
  bottom: 10px;
  right: 22%;
  writing-mode: vertical-rl;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--color-main);
  letter-spacing: 0.1em;
  z-index: 3;
  animation: scroll-hint-bounce 1.4s ease-in-out infinite; }

@keyframes scroll-hint-bounce {
  0%, 100% {
    transform: translateY(0); }

  50% {
    transform: translateY(4px); } }

.size-table-scroll {
  max-height: 50vh;
  overflow-y: auto;
  overflow-x: auto;
  border: 1px solid var(--color-main);
  scrollbar-width: none;
  -ms-overflow-style: none; }

.size-table-scroll::-webkit-scrollbar {
  display: none; }

.size-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
  font-size: 14px;
  font-weight: 700; }

.size-table thead th, .size-table tbody td {
  padding: 8px 4px;
  white-space: nowrap; }

.size-table tbody td {
  border-right: 1px solid #d8cbe8;
  border-bottom: 1px solid #d8cbe8;
  text-align: center;
  color: var(--color-main); }

.size-table tbody tr td:last-child {
  border-right: none; }

.size-table thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  background: var(--color-main);
  color: #fff;
  font-weight: 700;
  text-align: center;
  line-height: 1.3;
  border-right: 1px solid #fff; }

.size-table thead th:last-child {
  border-right: none; }

.size-table tbody td:nth-last-child(2) {
  text-align: left;
  padding-left: 1rem; }

.size-table__inch-range {
  position: absolute;
  bottom: 0;
  right: 5px;
  font-size: 0.68em;
  font-weight: 500; }

.size-table tbody tr:last-child td {
  border-bottom: none; }

.size-table tbody tr td:last-child a {
  display: inline-block;
  font-weight: 700;
  color: var(--color-main); }

.size-table tbody tr td:last-child a.btn-buy {
  padding: 0.2em 0.7em;
  background-color: var(--color-highlight);
  border-radius: 1em;
  color: #fff;
  box-shadow: inset -2px -2px 2px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s, color 0.3s; }

.size-table tbody tr td:last-child a.btn-buy:hover {
  background-color: #fff;
  color: var(--color-highlight);
  /* Coming soon表記(LOOPで価格が「準備中」の場合) */ }

.size-table .com_sn {
  display: block;
  line-height: 1;
  /* ===== ページ下部ナビ ===== */ }

.page-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  max-width: 440px;
  margin: 40px auto 0; }

.page-nav__button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 270px;
  background: var(--color-main);
  color: #fff;
  padding: 14px 20px;
  border-radius: 15px;
  line-height: 1.5;
  box-shadow: 2px 2px 2px rgba(47, 47, 47, 0.25);
  transition: 0.3s; }

.page-nav__button::after {
  content: '→';
  font-weight: 700;
  font-size: 1.3rem; }

.page-nav__label {
  font-size: 20px;
  font-weight: 700;
  transform: skewX(-10deg); }

.page-nav__label small {
  display: block;
  font-size: 12px; }

.page-nav__button:hover {
  background: #fff;
  color: var(--color-main);
  /* ===== Media queries ===== */ }

@media (min-width: 768px) {
  .product-hero {
    background-image: url("/autoway/dp/brand/laufenn/img/bg_detail_fv_pc.jpg");
    padding: 40px 40px 0; }

  .product-hero__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    text-align: left; }

  .product-hero__text {
    flex: 1; }

  .product-hero__title {
    margin-bottom: 10px; }

  .product-hero__logo {
    width: auto;
    margin: 0;
    height: 42px;
    max-width: max-content; }

  .product-hero__ruby {
    font-size: 18px;
    font-weight: 700; }

  .product-hero__range {
    font-size: 22px;
    margin-bottom: 30px; }

  .product-hero__icons {
    justify-content: flex-start; }

  .product-hero__icon {
    width: 80px; }

  .product-hero__visual {
    flex: 0 0 auto;
    width: auto;
    max-width: none;
    margin: 0;
    aspect-ratio: auto;
    overflow: visible; }

  .product-hero__tire {
    width: auto;
    height: 340px; }

  .features__catch {
    font-size: 24px; }

  .features__text {
    font-size: 18px;
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 50px; }

  .features-overview {
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 50px; }

  .features-score {
    flex: 0 0 360px;
    margin: 0 auto 0 0; }

  .feature-points {
    flex: 0 0 calc(100% - 380px);
    margin: 0; }

  .score-list {
    gap: 5px; }

  .score-item {
    grid-template-columns: 1fr 16px 96px;
    gap: 11px;
    font-size: 0.9rem; }

  .score-bar {
    gap: 4px; }

  .score-bar__cell {
    border-width: 1px; }

  .feature-point__icon {
    width: 100px;
    height: 100px; }

  .btn-size-check {
    font-size: 16px;
    right: 16px;
    bottom: 76px;
    width: 200px;
    padding: 12px 22px;
    border-radius: 10px; }

  .btn-size-check::after {
    width: 12px;
    margin-left: 10px; }

  .tech-detail {
    width: auto;
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;
    flex-direction: row;
    align-items: center;
    gap: 40px;
    padding: 40px 40px 0; }

  .tech-detail__list {
    flex: 1;
    gap: 28px;
    padding-bottom: 40px; }

  .tech-detail__image {
    flex: 0 0 42%; }

  .tech-detail__thumb {
    max-width: 140px;
    margin: 0 10px; }

  .tech-detail__thumb--wide {
    max-width: 280px; }

  .tech-detail__thumb-caption {
    font-size: 10px; }

  .size-table {
    font-size: 18px; }

  .size-table tbody td:nth-last-child(2) {
    padding-left: 4em;
    width: 16em; }

  .page-nav {
    flex-direction: row;
    max-width: 540px;
    gap: 40px;
    margin: 100px auto 0; }

  .page-nav__button {
    width: 250px;
    padding: 14px 30px; }

  .page-nav__label {
    font-size: 18px; }

  .page-lineup .copyright-notice {
    margin-top: 20px; } }

@media (min-width: 1024px) {
  .features__text {
    text-align: center; }

  .features__text br.pc {
    display: block; }

  .features__catch br.pc {
    display: none;
    /* 1024px以上は横幅に十分余裕があるため、枠いっぱいに敷き詰めて下側のみ切る表示に戻す */ }

  .tech-detail__image img {
    height: 100%;
    object-fit: cover;
    object-position: top;
    aspect-ratio: 0.9; }

  .product-hero {
    padding: 56px 60px 0; }

  .product-hero__logo {
    max-width: 440px; }

  .product-hero__tire {
    height: 430px; } }

@media (min-width: 1440px) {
  .btn-size-check {
    right: calc(50% - 704px); } }
