/* CSS for ENVOY Tyres brand page */

/* CSS Variables */
:root {
  --color-base-bg: #fff;
  /* メインカラー: 濃いグリーン */
  --color-main: #023b3a;
  /* ワンポイントカラー: アクセントとして使用する淡いイエロー */
  --color-highlight: #e0e483;
  --color-text-light: #FFFFFF;
  --color-shadow: rgba(0, 0, 0, 0.3);

  /* 商品ごとのカラー（インチ背景に使用） */
  --color-product-aterna: #f7ad73;
  --color-product-inch-aterna: #ff8423;
  --color-product-motiva: #648eca;
  --color-product-inch-motiva: #267af2;
  --color-product-tordera: #80c5a9;
  --color-product-inch-tordera: #04a865;
}

/* Reset and base styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  /*
   * フォント設定
   * 英語表記には Adobe Fonts の "new-science"、日本語表記には "noto-sans-cjk-jp" を使用します。
   * new-science は英字のみ対応しているため、日本語テキストは自動的に noto-sans-cjk-jp にフォールバックします。
   */
  font-family: new-science, noto-sans-cjk-jp, sans-serif;
  background: url('../img/bg_all_sp.png') top 60vh center / cover repeat-y;
  color: var(--color-main);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

ul {
  list-style: none;
}

button {
  cursor: pointer;
  font-family: new-science, noto-sans-cjk-jp, sans-serif;
}

br.pc {
  display: none;
}

.video > div {
  width: 100%;
  position: relative;
  padding-top: 56.25%;
  margin-bottom: 10px;
}

.video > div > iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.nav__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--color-highlight);
  color: var(--color-main);
  font-size: 1rem;
  /* 下線や余計な装飾を除去 */
  text-decoration: none;
  transition: 0.3s;
}
a:hover .nav__arrow {
  background: var(--color-main);
  color: var(--color-highlight);
}

/* Container */
.container {
  width: 90%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

/* Shutter */
.shutter {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #a4c2c4;
  z-index: 9999;
  -webkit-animation: byeShutter 2.6s forwards;
          animation: byeShutter 2.6s forwards;
}
.shutter::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #fff;
  width: 0;
  height: 100%;
  -webkit-animation: shutterOpen 2.6s forwards;
          animation: shutterOpen 2.6s forwards;
}
.shutter img {
  width: 60%;
  max-width: 450px;
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -webkit-animation: byeLogo 2.6s forwards;
          animation: byeLogo 2.6s forwards;
}

@keyframes byeShutter {
  70% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    display: none;
    z-index: -1;
  }
}
@keyframes shutterOpen {
  50% {
    width: 0;
    left: 50%;
  }
  90% {
    width: 100%;
    left: 0;
  }
  100% {
    width: 100%;
    left: 0;
  }
}
@keyframes byeLogo {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%);
  }
  10% {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
  40% {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
  50% {
    opacity: 0;
    transform: translate(-50%, -50%);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%);
  }
}
/* Hero Section */
.hero {
  position: relative;
  /* ファーストビューはデフォルトでは画面の縦半分のみを使用します */
  height: 50vh;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  text-align: center;
  /* ヒーロー内の基本文字色はメインカラーとし、必要に応じて各要素で上書きします */
  color: var(--color-main);
  background: url('../img/hero_bg.jpg') no-repeat center center / cover;
}

.hero__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.2);
  z-index: 0;
}

.hero__content {
  position: relative;
  z-index: 1;
  top: 50px;
  padding: 0 16px;
}

.hero__title img {
  width: 70%;
  margin: 0 auto;
  max-width: 300px;
}

.hero__subtitle {
  margin-top: 0.5rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-highlight);
}

/* Navigation */
.nav {
  width: 100%;
}

/* SP navigation */
.menu-toggle {
  display: none;
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 11;
  background: var(--color-main);
  /* メニューアイコンの文字色もワンポイントカラーに */
  color: var(--color-highlight);
  padding: 5px 0;
  border: 1px solid var(--color-highlight);
  border-radius: 5px;
  font-size: 0.75rem;
  font-weight: 700;
  box-sizing: border-box;
  width: 54px;
  height: 60px;
  text-align: center;
}
.menu-toggle span {
  width: 72%;
  height: 2px;
  display: block;
  margin: 5px auto 25px;
  background-color: var(--color-highlight);
  position: relative;
}
.menu-toggle span::before,
.menu-toggle span::after {
  content: '';
  position: absolute;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--color-highlight);
  transition: 0.3s;
}
.menu-toggle span::before {
  top: 10px;
}
.menu-toggle span::after {
  top: 20px;
}
.menu-toggle.open span {
  background-color: var(--color-main);
}
.menu-toggle.open span::before {
  transform: rotate(45deg);
}
.menu-toggle.open span::after {
  top: 10px;
  transform: rotate(-45deg);
}

/*
 * SP用ナビゲーション
 * スマートフォンではPCと同様のデザインを縦並びで表示します。
 * ヒーロー内に配置しつつ、各項目は暗いメインカラー背景、ワンポイントカラーのテキスト、
 * 丸い矢印ボタンを持ちます。
 */
.nav {
  position: static;
  /* SP ナビゲーションはメインビジュアルの下に表示され、最大幅を 1366px に制限 */
  width: 100%;
  max-width: 1366px;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 35px auto 0 auto;
  z-index: 1;
}

.nav .nav__list {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
  padding-bottom: 4px;
}

.nav .nav__item {
  width: 72%;
}

.nav .nav__item a {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 25px;
  background: var(--color-main);
  border-radius: 15px;
  /* メニューの文字色はワンポイントカラーで統一 */
  color: var(--color-highlight);
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.2;
  box-shadow: 2px 2px 2px rgba(47,47,47,0.6);
  transition: 0.3s;
}

.nav .nav__item a small {
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--color-highlight);
  transition: 0.3s;
}

.nav .nav__item a:hover {
  background-color: var(--color-highlight);
  color: var(--color-main);
}
.nav .nav__item a:hover small {
  color: var(--color-main);
}


/* PC navigation */
.nav--pc {
  display: none;
  position: fixed;
  justify-content: center;
  align-items: center;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  margin: 0;
  max-width: 1024px;
  z-index: 10;
  background-color: rgba(255, 255, 255, 0.7);
}

.nav--pc.open {
  display: flex;
  animation: fadein 0.3s ease-in-out;
}

@keyframes fadein {
  0%{
    opacity: 0;
  }
  100%{
    opacity: 1;
  }
}
.nav--pc .nav__list {
  display: flex;
  justify-content: center;
  gap: 16px;
}

/* ヒーローナビゲーションの各アイテムを均等幅にする */
.nav--pc .nav__item {
  flex: 1;
}

.nav--pc .nav__item a {
  display: flex;
  /* 英語と日本語ラベルを左側にまとめ、矢印を右側に配置する */
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  padding: 16px 24px;
  background: var(--color-main);
  /* メニューの文字色はワンポイントカラーで統一 */
  color: var(--color-highlight);
  border-radius: 8px;
  transition: 0.3s;
}


/* アイコンを使用しないため nav__icon に関するスタイルは不要になりました */

.nav--pc .nav__label small {
  display: block;
  font-size: 0.75rem;
  color: var(--color-highlight);
}

.nav--pc .nav__arrow {
  /* nav__arrow のフォントサイズは共通スタイルで指定します。余白は不要です。 */
  margin-top: 0;
}

/* Section styles */
.section {
  padding: 64px 0;
  position: relative;
}

.section__header {
  text-align: center;
  margin-bottom: 32px;
}

.section__title {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--color-main);
  line-height: 1.2;
}

.section__subtitle {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-main);
}

/* About us */

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

.feature-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  /* About us フィーチャーカードはワンポイントカラー背景 */
  background: var(--color-highlight);
  border-radius: 8px;
  padding: 24px 16px;
}

.feature-card__icon {
  max-width: 100%;
  height: 64px;
  margin-bottom: 8px;
}

.feature-card__title {
  font-size: 1rem;
  color: var(--color-main);
}

.features__text {
  margin-top: 24px;
  color: var(--color-main);
  line-height: 1.8;
  font-size: 1rem;
  font-weight: 500;
}

/* Line up */
#lineup .container {
  width: 100%;
}

.products {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.product-card {
  border: 2px solid var(--color-main);
  border-radius: 10px;
  padding: 30px 10px;
  margin: 0 8px 5px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 2px 2px 2px var(--color-shadow);
}

.product-card::before {
  content: url('../img/bg_product-card.svg');
  position: absolute;
  top: 80px;
  left: calc(50% - 120px);
  width: 680px;
  height: 100%;
  z-index: -1;
}

.product-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  z-index: -2;
  background-color: #fff;
}

.product-card__name {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 8px;
}

.product-card__logo {
  max-width: 100%;
  height: 21px;
  margin-bottom: 5px;
}

.product-card__name small {
  font-weight: 700;
  font-size: 0.75rem;
}

.product-card__range {
  /* インチ表示は各商品カラー背景に白文字、タグ風のデザインにする */
  font-size: 0.75rem;
  font-weight: 700;
  color: #ffffff;
  display: inline-block;
  padding: 2px 8px;
  margin-bottom: 20px;
}
.product-card__range span {
  letter-spacing: 0.2em;
}

.product-card__image-wrap {
  margin-bottom: 20px;
}

.product-card__image {
  max-width: 100%;
  height: 200px;
  margin-left: auto;
  margin-right: auto;
}

.product-card__icon {
  max-width: 100%;
  height: 40px;
  margin: 0 auto 16px auto;
}

.product-card__desc {
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-main);
  margin-bottom: 16px;
  line-height: 1.6;
}

.product-card__button {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  padding: 12px 24px;
  /* 商品ボタンはワンポイントカラー背景にメインカラーのテキスト */
  background: var(--color-main);
  color: var(--color-highlight);
  border-radius: 20px;
  font-size: 1rem;
  font-weight: 700;
  transition: 0.3s;
  width: 90%;
  margin: 0 auto;
}

.product-card__button .nav__label {
  display: block;
  font-size: 1.1rem;
  margin: 0 auto;
  line-height: 1.3;
}

.product-card__button .nav__label small {
  display: block;
  font-size: 1rem;
}

.product-card__button:hover {
  background: var(--color-highlight);
  color: var(--color-main);
}

/* 各商品カードの商品カラーで設定 */
.product-card--aterna::before {
  filter: brightness(0) saturate(100%) invert(63%) sepia(77%) saturate(277%) hue-rotate(341deg) brightness(102%) contrast(94%);
}
.product-card--aterna .product-card__name small {
  color: var(--color-product-aterna);
}
.product-card--aterna .product-card__range {
  background: var(--color-product-inch-aterna);
}
.product-card--motiva::before {
  filter: brightness(0) saturate(100%) invert(55%) sepia(100%) saturate(228%) hue-rotate(176deg) brightness(83%) contrast(91%);
}
.product-card--motiva .product-card__name small {
  color: var(--color-product-motiva);
}
.product-card--motiva .product-card__range {
  background: var(--color-product-inch-motiva);
}
.product-card--tordera::before {
  filter: brightness(0) saturate(100%) invert(82%) sepia(16%) saturate(699%) hue-rotate(104deg) brightness(88%) contrast(83%);
}
.product-card--tordera .product-card__name small {
  color: var(--color-product-tordera);
}
.product-card--tordera .product-card__range {
  background: var(--color-product-inch-tordera);
}

/* slickオプション */
#lineup .slick-dots {
  bottom: -40px;
}
#lineup .slick-dots li,
#lineup .slick-dots li button {
  width: 15px;
  height: 15px;
}
#lineup .slick-dots li button:before {
  content: '';
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background-color: #000;
}
#lineup .slick-dots li.slick-active button:before {
  opacity: 1;
  background-color: var(--color-main);
}
#lineup .slick-prev,
#lineup .slick-next {
  top: auto;
  bottom: -40px;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background-color: var(--color-main);
  transform: translate(0,25%);
  z-index: 1;
}
#lineup .slick-prev {
  left: calc(50% - 80px);
}
#lineup .slick-next {
  right: calc(50% - 80px);
}
#lineup .slick-prev:before,
#lineup .slick-next:before {
  content: '';
  display: block;
  width: 10px;
  height: 10px;
  margin: 0 auto;
  opacity: 1;
  background-color: var(--color-highlight);
}
#lineup .slick-prev:before {
  clip-path: polygon(0 50%, 50% 0, 100% 0, 50% 50%, 100% 100%, 50% 100%);
}
#lineup .slick-next:before {
  clip-path: polygon(0 0, 50% 0, 100% 50%, 50% 100%, 0 100%, 50% 50%);
}

/* Ambassador */
.ambassador {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
}

.ambassador__video {
  width: 100%;
}

.ambassador__video iframe {
  border-radius: 8px;
}

.ambassador__text {
  color: var(--color-main);
}

.ambassador__text h3 {
  font-size: 1.5rem;
  color: var(--color-main);
  margin-bottom: 8px;
}

.ambassador__text h3 span {
  font-size: 0.9rem;
  color: var(--color-main);
  margin-left: 4px;
}

.ambassador__text p {
  font-size: 1rem;
  line-height: 1.8;
}

/* Gallery */
.gallery__title {
  font-size: 1.5rem;
  color: var(--color-main);
  margin-bottom: 16px;
  text-align: center;
}

.gallery-pane {
  margin-bottom: 48px;
  position: relative;
}

.gallery-main {
  position: relative;
  margin: 0 auto 16px;
  width: 90%;
}

.gallery-main img,
.gallery-main iframe {
  width: 100%;
  border-radius: 8px;
}

.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 26px;
  height: 26px;
  border-radius: 30%;
  background: var(--color-main);
  /* 矢印の色もワンポイントカラーに変更 */
  color: var(--color-highlight);
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  transition: 0.3s;
}

.gallery-nav:hover {
  background: var(--color-highlight);
}

.gallery-nav span {
  width: 14px;
  height: 14px;
  background-color: var(--color-highlight);
  transition: 0.3s;
}

.gallery-nav:hover span {
  background-color: var(--color-main);
}

.gallery-nav .left {
  clip-path: polygon(0 50%, 50% 0, 100% 0, 50% 50%, 100% 100%, 50% 100%);
}

.gallery-nav .right {
  clip-path: polygon(0 0, 50% 0, 100% 50%, 50% 100%, 0 100%, 50% 50%);
}

.gallery-nav--prev {
  left: -4%;
}

.gallery-nav--next {
  right: -4%;
}

.gallery-thumbs {
  width: 80%;
  margin: 0 auto;
}

.gallery-thumbs .thumb {
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 5px;
}

.gallery-thumbs .thumb img,
.gallery-thumbs .thumb iframe {
  /* width: 80px; */
  border-radius: 4px;
  opacity: 0.7;
}

.gallery-thumbs .thumb.slick-current img,
.gallery-thumbs .thumb.slick-current iframe {
  opacity: 1;
}
.gallery-thumbs .thumb iframe {
  pointer-events: none;
}

/* Top button */
.to-top {
  position: fixed;
  bottom: 16px;
  right: 16px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  /* トップへ戻るボタンはワンポイントカラー背景にメインカラーの文字色 */
  background: var(--color-highlight);
  color: var(--color-main);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  z-index: 5;
  box-shadow: 2px 2px 2px var(--color-shadow);
  border: none;
  transition: background 0.3s, color 0.3s;
}
.to-top a {
  display: block;
  width: 100%;
}
.to-top a::before {
  content: '';
  display: block;
  width: 20px;
  height: 20px;
  margin: 0 auto;
  background-color: var(--color-main);
  clip-path: polygon(50% 0,100% 50%, 80% 65%, 62% 43%, 62% 100%, 38% 100%, 38% 43%, 20% 65%, 0 50%);
  transition: 0.3s;
}

.to-top:hover {
  background: var(--color-main);
  color: var(--color-highlight);
}

.to-top:hover a::before {
  background-color: var(--color-highlight);
}

/* 画面幅が広い場合はトップボタンをコンテンツの右端に揃える */
@media (min-width: 1366px) {
  .to-top {
    right: calc((100vw - 1366px) / 2 + 16px);
  }
}

/* Breadcrumb bar at the top of the page */
/* パンくずナビゲーション行
 * メインカラーを背景に、テキストは白で統一します。
 * ロゴバー (.logo-bar) とは別行になりますので justify-content は左揃えです。
 */
.breadcrumb-bar {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  width: 100%;
  background: var(--color-main);
  color: var(--color-text-light);
  padding: 4px 5px;
  font-size: 0.75rem;
  font-family: noto-sans-cjk-jp, sans-serif;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.breadcrumb-bar .breadcrumbs ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
}

.breadcrumb-bar .breadcrumbs li {
  display: inline;
  white-space: nowrap;
}

.breadcrumb-bar .breadcrumbs li + li::before {
  content: ">";
  margin: 0 4px;
  color: var(--color-text-light);
}

.breadcrumb-bar .breadcrumbs a {
  color: var(--color-text-light);
  text-decoration: none;
}

.breadcrumb-bar__logo img {
  height: 24px;
  width: auto;
}

/* Logo bar for the AUTOWAY logo.
 * Separates the logo onto its own row above the hero. Uses the highlight colour as background and aligns the logo to the right.
 */
.logo-bar {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  width: 100%;
  /* ロゴ行はフッターと同じ色 (#a4c2c4) にする */
  background: #a4c2c4;
  padding: 4px 16px;
}

.logo-bar__link img {
  height: 25px;
  width: auto;
}

/* Footer */
.footer {
  /* フッター背景はヘッダーフッターカラー、文字色は白 */
  background: #a4c2c4;
  /* 下側の余白を無くし、コピーライト行の下でメインカラーが終わるようにします */
  padding: 32px 0 0;
  color: #ffffff;
}

/* フッター上のナビゲーション
 * SP では縦並び、PC では横並びにします。共通して最大幅を1366pxに制限します。 */
.nav--footer {
  margin: 0 auto 50px;
}

/* 各項目のスタイル（SP 時）*/

.footer__logos {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 24px;
  padding-bottom: 32px;
}

.footer__logos img {
  max-width: 100%;
}

.footer__logos .envoy {
  height: 70px;
}

.footer__logos .footer__handshake {
  height: 60px;
}

.footer__logos .aw {
  height: 45px;
}

/*
 * サイト内リンクリスト
 * 背景をメインカラーにし、テキストには白を使用します。
 * フレックスボックスで中央寄せし、折り返しにも対応します。
 */
.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  background: var(--color-main);
  padding: 16px 0;
  font-size: 0.75rem;
}

.footer__links a {
  /* フッターリンクの文字色を白に変更 */
  color: var(--color-text-light);
  text-decoration: none;
}

/* コピーライトのスタイル
 * リンクリストの下に配置し、背景色はメインカラー、文字色はワンポイントカラーにします。
 * フォントサイズは12px相当です。
 */
.footer__copyright {
  background: var(--color-main);
  /* コピーライトの文字色を白に変更 */
  color: var(--color-text-light);
  text-align: center;
  font-size: 0.75rem;
  padding: 12px 0;
}

/* Media Queries */
@media (min-width: 768px) {
  body {
    background: url('../img/bg_all_pc.png') top 60vh center / cover repeat-y;
  }
  br.pc {
    display: block;
  }

  /* Hero for PC */
  .hero__content {
    position: absolute;
    top: 50%;
    left: 2.5%;
    transform: translateY(-50%);
    padding: 0;
  }
  .hero__title img {
    width: 300px;
    max-width: none;
  }
  .hero__subtitle {
    font-size: 2rem;
  }
  .menu-toggle {
    display: none;
  }
  .nav--pc {
    display: flex;
    position: absolute;
    background-color: transparent;
    height: auto;
    top: auto;
    left: auto;
    bottom: 2vh;
  }
  .nav--pc .nav__list {
    width: 95%;
    max-width: 960px;
    flex-direction: row;
  }
  .nav .nav__item a {
    font-size: 1rem;
    padding: 14px 10px;
  }
  .nav--sp {
    display: none !important;
  }
  /* TOPに戻るボタン: 768px+ でサイズ拡大 */
  .to-top {
    width: 65px;
    height: 65px;
    font-size: 1rem;
  }
  /* Section styles */
  .section__title {
    font-size: 3rem;
  }
  .section__subtitle {
    font-size: 1.15rem;
  }
  /* Features */
  .features {
    flex-direction: row;
    justify-content: space-between;
    max-width: 740px;
    margin: 0 auto;
  }
  .feature-card {
    flex: 1;
    padding: 20px 16px;
    border-radius: 20px;
  }
  .feature-card__icon {
    height: 70px;
  }
  .features__text {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }
  /* Products */
  .products {
    max-width: 960px;
    margin: 0 auto;
  }
  .product-card {
    margin: 0 10px;
  }
  .product-card::before {
    left: calc(50% - 100px);
    width: 840px;
  }
  .product-card__logo {
    height: 18px;
  }
  .product-card__image {
    height: 260px;
  }
  .product-card__button {
    width: 95%;
    padding: 12px 14px;
  }
  /* Ambassador */
  .ambassador {
    flex-direction: row;
    max-width: 960px;
    margin: 0 auto;
  }
  .ambassador__video {
    flex: 1;
    margin-right: 32px;
  }
  .ambassador__text {
    flex: 1;
  }
  .ambassador__text h3 {
    font-size: 1.15rem;
  }
  .ambassador__text p .pc {
    display: none;
  }
  /* Gallery */
  .gallery-pane {
    max-width: 960px;
    margin: 0 auto 50px;
  }
  .gallery__title {
    font-size: 1.9rem;
  }
  .gallery-thumbs {
    justify-content: center;
  }
  .gallery-nav {
    width: 45px;
    height: 45px;
  }
  .gallery-nav span {
    width: 19px;
    height: 17px;
  }
  .gallery-main img,
  .gallery-main iframe {
    border-radius: 15px;
  }
  .gallery-thumbs .thumb img,
  .gallery-thumbs .thumb iframe {
    border-radius: 10px;
  }
  /* footer */
  .nav--footer .nav__list {
    flex-direction: row;
    gap: 16px;
    justify-content: center;
    align-items: center;
    width: 95%;
    max-width: 960px;
  }
  .nav--footer .nav__item {
    flex: 1;
    width: auto;
  }
  .footer__logos {
    flex-direction: row;
    gap: 40px;
  }
}

/* 画面の横幅が 1024px 以上の場合、ファーストビューの高さを 60vh とする */
@media (min-width: 1024px) {
  .hero {
    height: 60vh;
  }
  .hero__content {
    left: calc(50% - 480px);
  }
  .hero__title img {
    width: 450px;
  }
  .hero__subtitle {
    font-size: 2.75rem;
  }
  .nav--pc .nav__list {
    gap: 25px;
  }
  .nav .nav__item a {
    font-size: 1.125rem;
    padding: 14px 16px;
  }
  /* セクションサブタイトル: PSD 16px */
  .section__subtitle {
    font-size: 1rem;
  }
  .feature-card__title {
    font-size: 1.15rem;
  }
  .features__text {
    font-size: 1.35rem;
  }
  .product-card__logo {
    height: 22px;
  }
  .product-card__name small,
  .product-card__range {
    font-size: 0.88rem;
  }
  .product-card__desc,
  .product-card__button .nav__label small {
    font-size: 1.15rem;
  }
  .product-card__button .nav__label {
    font-size: 1.3rem;
  }
  .ambassador__text p .pc {
    display: block;
  }
  .gallery-main {
    width: 85%;
  }
  .gallery-nav--prev {
    left: 0;
  }
  .gallery-nav--next {
    right: 0;
  }
}

/* PC ではフッターメニューを横並びにし、各項目を均等幅にする */
@media (min-width: 1366px) {
  .hero {
    height: 70vh;
  }
  .nav--pc {
    bottom: 5vh;
  }
  .footer__links {
    padding: 30px;
  }
}