@charset "utf-8";
/* CSS Document */

/* =========================
   BASE
========================= */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}


button,
a {
  -webkit-tap-highlight-color: transparent;
}

img {
  display: block;
  max-width: 100%;
}

.container {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
}


/* =========================
   HEADER
========================= */

.header {
  position: sticky;
  top: 0;
  z-index: 20;

  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid #eee;
  backdrop-filter: blur(10px);
}

.header-inner {
  width: min(1120px, calc(100% - 48px));
  height: 70px;
  margin: auto;

  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  color: #111;
  font-weight: 700;
  text-decoration: none;
}

.header-nav {
  display: flex;
  gap: 24px;
}

.header-nav a {
  color: #333;
  font-size: 14px;
  text-decoration: none;
}


/* =========================
   INTRO
========================= */


.intro {
  padding: 0 0 80px;
  text-align: center;
background-color: #004ea2;
}


.main_img {
background-image: url(/PC/ja/asset/img/nw/feature/michelin_movie/main_pc.webp);
background-size: cover;
background-position: center;
background-repeat: no-repeat;
aspect-ratio: 1920 / 520;
width: 100%;
max-height: 400px;
min-height: 400px;
position: relative;
margin-bottom: 20px;
}


.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.intro-label {
  margin: 0 0 12px;
  font-size: 13px;
  letter-spacing: 0.15em;
}

.intro h1 {
  margin: 0;
  font-size: clamp(36px, 6vw, 64px);
  line-height: 1.15;
  letter-spacing: -0.04em;
}

.intro-text {
  margin: 24px 0 0;
  color: #666;
  font-size: 15px;
  line-height: 1.8;
}


/* =========================
   PRODUCT NAV
========================= */

.product-nav {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  max-width: 880px;
  margin:40px auto 0;
}

.product-nav-card {
  padding: 0;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
position: relative;
}

.product-nav-card:hover {
  transform: translateY(-4px);

  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.08);
}

.product-nav-card.coming_soon:hover {
  transform: translateY(0);

  box-shadow:
    0 0 0 rgba(0, 0, 0, 0.0);
}
.product-nav-card__image {
  position: relative;
  display: block;
}

.product-nav-card__image img {
  display: block;
  width: 100%;
}

.coming_soon .product-nav-card__image::before {
  content: '';
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.coming_soon .product-nav-card__image::after {
  content: 'COMING SOON';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;

  color: #fff;
  font-size: 18px;
  font-weight: bold;
  font-style: italic;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.product-nav-card span {
  display: block;

  margin-bottom: 7px;

  color: #999;
  font-size: 11px;
}

.product-nav-card strong {
  font-size: 17px;
}


/* =========================
   PRODUCT SECTION
========================= */

.product-section {
  padding: 100px 0;

  /*
   sticky header対策
  */
  scroll-margin-top: 70px;
}

.product-01,.product-03,.product-05 {
  background: #EFEFEF;
}

.product-02,.product-04,.product-06 {
  background: #F4F4F4;
}



/* 商品タイトル */

.product-heading {
  display: flex;
  gap: 18px;
-webkit-box-align: center;
align-items: center;
  margin-bottom: 42px;
}

.product-number {
  font-family: "din-2014", sans-serif;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: #f4e126;
  font-size: 100px;
  font-weight: 700;
}

.product-small {
  margin: 0 0 7px;

  color: #888;

  font-size: 11px;
  letter-spacing: 0.12em;
}

.product-heading h2 {
  margin: 0;

  font-size: 38px;
  line-height: 1.2;
}

.product-description {
  margin: 12px 0 0;

  color: #666;

  font-size: 14px;
  line-height: 1.7;
}


/* =========================
   MOVIES
========================= */

.movie-grid {
  display: grid;

  /*
   PCも3本
  */
  grid-template-columns: repeat(3, minmax(0, 1fr));

  gap: 24px;

  /*
   動画が2本の場合も
   左寄せになりすぎないように
  */
  justify-content: center;
}

.movie-card {
  min-width: 0;
  padding: 0;

  text-align: left;

  background: transparent;
  border: 0;

  cursor: pointer;
}

.movie-thumbnail {
  position: relative;

  width: 100%;

  /*
   Shorts比率
  */
  aspect-ratio: 9 / 16;

  overflow: hidden;

  background: #ddd;

  border-radius: 16px;
	
  line-height: 0;
}

.movie-thumbnail img {
  display: block;
  width: 100%;
  height: 100%;


  object-fit: cover;

  transition: transform 0.35s ease;
}

.movie-card:hover img {
  transform: scale(1.03);
}


/* 再生ボタン */

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;

  width: 58px;
  height: 58px;

  display: grid;
  place-items: center;

  transform: translate(-50%, -50%);

  padding-left: 4px;

  background: rgba(255, 255, 255, 0.92);
  color: #222;

  border-radius: 50%;

  font-size: 18px;

  box-shadow:
    0 5px 20px rgba(0, 0, 0, 0.15);
}

.movie-number {
  display: block;

  margin-top: 14px;

  color: #999;

  font-size: 11px;
}

.movie-card strong {
  display: block;

  margin-top: 3px;

  color: #222;

  font-size: 15px;
  line-height: 1.4;
}


/* =========================
   FOOTER
========================= */

.footer {
  padding: 50px 24px;

  text-align: center;

  background: #fff;
}

.footer nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;

  gap: 24px;
}

.footer a {
  color: #555;

  font-size: 13px;
  text-decoration: none;
}


/* =========================
   MODAL
========================= */

.video-modal {
  position: fixed;
  inset: 0;

  z-index: 100;

  display: none;

  padding: 24px;
}

.video-modal.is-open {
  display: grid;
  place-items: center;
}

.video-modal-bg {
  position: absolute;
  inset: 0;

  background: rgba(0, 0, 0, 0.82);
}

.video-modal-content {
  position: relative;
  z-index: 1;

  width: min(430px, 100%);
}

.youtube-frame {
  width: 100%;
  aspect-ratio: 9 / 16;

  overflow: hidden;

  background: #000;

  border-radius: 16px;
}

.youtube-frame iframe {
  width: 100%;
  height: 100%;

  border: 0;
}

.modal-close {
  position: absolute;
   top: -42px;
    right: 0;

  width: 40px;
  height: 40px;

  padding: 0;

  color: #fff;
  background: transparent;

  border: 0;

  font-size: 34px;
  line-height: 1;

  cursor: pointer;
}


/* =========================
   MOBILE
========================= */

@media (max-width: 767px) {
	
	 .main_img {
     aspect-ratio: unset;
    background-image: url(/PC/ja/asset/img/nw/feature/michelin_movie/main_sp.webp);
        height: 600px;
        max-height: 600px;
    background-size: cover;
    background-position: center bottom;
    background-repeat: no-repeat;
  }

  .container {
    width: calc(100% - 32px);
  }


  /* header */

  .header-inner {
    width: calc(100% - 32px);
    height: 58px;
  }

  .header-nav {
    gap: 12px;
  }

  .header-nav a {
    font-size: 11px;
  }


  /* intro */

  .intro {
    padding: 0 0 54px;
  }

  .intro h1 {
    font-size: 36px;
  }

  .intro-text {
    font-size: 13px;
  }


  /* 商品ナビ */

  .product-nav {
    grid-template-columns: repeat(2, 1fr);

    gap: 10px;

    margin-top: 36px;
  }

  .product-nav-card {
    padding: 17px 8px;
  }


  /* section */

  .product-section {
    padding: 58px 0;

    scroll-margin-top: 58px;
  }

  .product-heading {
        gap: 0;
        margin-bottom: 24px;
        -webkit-box-pack: center;
        justify-content: center;
        position: relative;
        flex-wrap: wrap;
  }

  .product-number {
        font-size: 40px;
        width: 100%;
  }

.product-name{
     position: relative;
     z-index: 2;
     text-align: center;
 }
  .product-heading h2 {
    font-size: 26px;

  }

  .product-description {
    margin-top: 7px;
    font-size: 12px;
  }


  /*
   ★ここが今回のポイント

   スマホでも横3列。
  */

  .movie-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 8px;
  }

  .movie-thumbnail {
    border-radius: 9px;
  }

  .play-button {
    width: 38px;
    height: 38px;

    font-size: 13px;
  }

  .movie-number {
    margin-top: 8px;

    font-size: 9px;
  }

  .movie-card strong {
    font-size: 11px;
    line-height: 1.35;
  }


  /* modal */

  .video-modal {
inset: var(--header-height, 80px) 0 0 0;
  }

  .video-modal-content {
    width: min(390px, 92vw);
  }
}

@media (max-width: 600px) {
	
	 .main_img {
     aspect-ratio: unset;
    background-image: url(/PC/ja/asset/img/nw/feature/michelin_movie/main_sp.webp);
        height: 400px;
        max-height: 400px;
    background-size: cover;
    background-position: center bottom;
    background-repeat: no-repeat;
  }
  }
	
/* PCだけで改行を消したい場合 */

@media (min-width: 768px) {
  .sp-only {
    display: none;
  }
}

@media (max-width: 767px) {

  .video-modal {
    inset: var(--header-height, 80px) 0 0 0;
    padding: 48px 16px 16px;

    /* 横方向中央 */
    display: none;
  }

  .video-modal.is-open {
    display: flex;

    /* 横中央 */
    justify-content: center;

    /* 上から配置 */
    align-items: flex-start;
  }

  .video-modal-content {
    /* 画面からはみ出さない幅 */
    width: min(360px, 100%);

    /* 念のため中央寄せ */
    margin-left: auto;
    margin-right: auto;
  }

  .youtube-frame {
    width: 100%;
    aspect-ratio: 9 / 16;
    margin: 0 auto;

    overflow: hidden;
    border-radius: 14px;
  }

  .youtube-frame iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
  }

}

.product_btn{
width: 100%;
display: flex;
-webkit-box-pack: center;
justify-content: center;
margin-top: 30px;
}



.link_btn {
    font-size: 16px;
    height: 80px;
    width: 90%;
	max-width: 600px;
    font-weight: 700;
    letter-spacing: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    padding: 0 14px;
    border-radius: 4px;
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
    transition: all .3s;
}
.link_btn--primary {
    background-color: #004ea2;
    border-color: #004ea2;
    color: #fff;
}
.link_btn--primary:hover {
    background-color: #fff;
    color: #004ea2;
}

@media (max-width: 767px) {

  .movie-grid {
    display: flex;
    justify-content: flex-start;

    gap: 14px;

    width: 100%;

    overflow-x: auto;
    overflow-y: hidden;

    /* ★動画単位で停止 */
    scroll-snap-type: x mandatory;

    scroll-behavior: smooth;

    -webkit-overflow-scrolling: touch;

    scrollbar-width: none;

    padding: 0 0 10px;

    cursor: grab;

    user-select: none;
    -webkit-user-select: none;
  }


  .movie-grid::-webkit-scrollbar {
    display: none;
  }
  .movie-grid-one {
   -webkit-box-pack: center;
justify-content: center;

  }


  .movie-card {
    /*
     * 動画を大きめに表示
     */
    flex: 0 0 60%;

    min-width: 0;

    /*
     * ★停止ポイント
     */
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }


  /*
   * 最後の動画だけ
   * 右端に合わせる
   */
  .movie-card:last-child {
    scroll-snap-align: end;
  }


  /*
   * PCドラッグ中
   */
  .movie-grid.is-dragging {
    cursor: grabbing;

    /*
     * 掴んでいる間だけ
     * 自由に動かせる
     */
    scroll-snap-type: none;
  }


  .movie-grid img {
    -webkit-user-drag: none;
  }


  /* =========================
     ページネーション
  ========================== */

  .movie-pagination {
    display: flex;

    justify-content: center;
    align-items: center;

    gap: 7px;

    margin-top: 12px;
  }


  .movie-pagination button {
    width: 7px;
    height: 7px;

    padding: 0;

    border: 0;
    border-radius: 50%;

    background: #ccc;

    cursor: pointer;

    transition:
      width 0.25s ease,
      background 0.25s ease,
      border-radius 0.25s ease;
  }


  .movie-pagination button.is-active {
    width: 22px;

    border-radius: 10px;

    background: #004ea2
  }


}

  /* =========================
     各商品
  ========================== */

.product-page-link.is-return {
  background: #333;
}

.product-page-link.is-return:hover {
  background: #fff;
  border-color: #333;
  color: #333;
}