/* =====================================================
   MEGABOX PRODUCT PAGE CSS（整理版・確定）
   File: /emanon-business/custom-css/pages/page-product.css
   Updated: 2025-12-21
===================================================== */


/* =====================================================
   PRODUCT PAGE RESET（emanon干渉解除）
===================================================== */

.product-page {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

/* emanonの中央寄せ・inner制約を解除 */
.product-page > * {
  width: 100%;
}

.l-content,
.l-content__inner {
  max-width: none !important;
  padding: 0 !important;
}


/* =====================================================
   BASE SETTINGS
===================================================== */

@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600;700;800&display=swap');

.product-page,
.product-page * {
  box-sizing: border-box;
  font-family: 'Noto Sans JP','游ゴシック体','Yu Gothic',YuGothic,sans-serif;
  color: #333;
}

.product-page section {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 20px;
}

.product-page h2 {
  text-align: center;
  font-size: 48px;
  font-weight: 800;
  line-height: 1.3;
}


/* =====================================================
   FV / MAIN VISUAL
===================================================== */

/* FVのみ section制約を解除 */
.product-page section.main-visual.products {
  max-width: none;
  padding: 0;
}

.main-visual.products {
  position: relative;
  height: 60vh;
  min-height: 420px;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.main-visual.products .single-ttl {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  font-size: 4.8rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.05em;
  text-shadow: 0 4px 20px rgba(0,0,0,0.45);
}


/* =====================================================
   ABOUT MEGABOX
===================================================== */

/* emanonのsection paddingを無効化 */
.product-page section.about-wrap {
  padding: 0;
}

.about-wrap {
  background: #fff;
}

/* ---------- TITLE ---------- */

.about-head {
  text-align: center;
  padding: 60px 20px 40px;
}

.about-head__icon {
  margin-bottom: 0px;
}

.about-head__icon img {
  width: 120px;
  height: auto;
  display: block;
  margin: 0 auto;
}

.about-head__title {
  font-size: 56px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: 0.04em;
  margin: 0;
}

.about-head__line {
  display: block;
  width: 120px;
  height: 4px;
  margin: 18px auto 14px;

  background: linear-gradient(
    90deg,
    #ffd2a3 0%,   /* 左：薄いオレンジ */
    #ff9a2f 45%,  /* 中：標準オレンジ */
    #ea5b00 100%  /* 右：濃いオレンジ */
  );
}

.about-head__ruby {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin: 0;
}

/* ---------- MOVIE ---------- */

.about-bg {
  position: relative;
  margin-bottom: 80px;
}

.about-bg::before {
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(6px);
}

.about-bg__inner {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

.about-movie {
  position: relative;
  padding-top: 56.25%;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.about-movie iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}


/* =====================================================
   PRODUCT SLIDE
===================================================== */

.product-slide {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  overflow: hidden;
}

.product-slide__track {
  display: flex;
  width: max-content;
  animation: slide-left 40s linear infinite;
}

.product-slide__list {
  display: flex;
  gap: 20px;
}

.product-slide__item {
  flex: 0 0 auto;
  width: 320px;
}

.product-slide__item img {
  width: 100%;
  display: block;
}

@keyframes slide-left {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* =====================================================
   STRENGTHS SECTION（TEXT WIDE / IMAGE FULL BLEED）
===================================================== */

.strength-wrap {
  position: relative;
  overflow: hidden;
  padding: 90px 0; /* ← 上下を詰める */
}

/* -----------------------------
   BACKGROUND
----------------------------- */
.strength-wrap::before,
.strength-wrap::after {
  content: "";
  position: absolute;
  top: 0;
  width: 50%;
  height: 100%;
  z-index: 0;
}

.strength-wrap::before {
  left: 0;
  background: #ffffff;
}

.strength-wrap::after {
  right: 0;
  background: #fff2eb;
}

/* =============================
   TITLE
============================= */

.strength-head {
  position: relative;
  z-index: 2;
  text-align: center;
  margin-bottom: 70px; /* ← 詰める */
}

.strength-title .en {
  font-size: 20px;
  font-weight: 600;
  color: #f47a20;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}

.strength-title .main {
  font-size: 60px;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 10px;
}

.strength-title .ruby {
  font-size: 15px;
  font-weight: 700;
}

/* =============================
   LIST
============================= */

.strength-list {
  position: relative;
  z-index: 2;
}

/* 1アイテム */
.strength-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 32px;              /* ← GAPを縮小 */
  margin-bottom: 80px;   /* ← 縦間隔を縮小 */
}

/* 最後だけ余白なし */
.strength-item:last-child {
  margin-bottom: 0;
}

/* 交互反転 */
.strength-item.reverse {
  direction: rtl;
}

.strength-item.reverse > * {
  direction: ltr;
}

/* =============================
   IMAGE（はみ出し維持）
============================= */

.strength-image img {
  width: 53vw;        /* 少しだけ抑える */
  max-width: none;
  display: block;
  border-radius: 28px;
}

/* 左配置 */
.strength-item:not(.reverse) .strength-image img {
  margin-left: -6vw;
}

/* 右配置 */
.strength-item.reverse .strength-image img {
  margin-right: -6vw;
}

/* =============================
   TEXT（横幅を最大化）
============================= */

.strength-text {
  max-width: 640px;  /* ← 広げる */
  padding: 0;        /* ← 完全撤廃 */
}

.strength-text h3 {
  font-size: 36px;
  font-weight: 800;
  line-height: 1.4;
  margin-bottom: 18px;
}

.strength-text h3 .hl {
  color: #f47a20;
}

.strength-text p {
  font-size: 16px;
  line-height: 1.9;
  color: #444;
  font-weight: 600;
}


/* =====================================================
   FLOW SECTION（FINAL）
===================================================== */

.flow-wrap {
  width: 100%;
  padding: 120px 0;
  background: #ffffff;
}

/* =============================
   TITLE
============================= */

.flow-wrap h2 {
  text-align: center;
  margin-bottom: 70px;
}

.flow-wrap h2 .main {
  display: block;
  font-size: 56px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #f15a00;
  margin-bottom: 12px;
}

.flow-wrap h2 .ruby {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: #333;
}

/* =============================
   ORANGE PANEL
============================= */

.flow-wrap .wrap-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.flow-lists {
  list-style: none;
  margin: 0;
  padding: 50px 40px;

  /* ★ 左→右に濃くなるグラデーション */
  background: linear-gradient(
    90deg,
    #ffb24d 0%,
    #ff8a1d 40%,
    #f15a00 100%
  );

  border-radius: 32px;
}

/* =============================
   FLOW ITEM
============================= */

.flow-lists li {
  position: relative;
  display: grid;
  grid-template-columns: 240px 1fr 80px;
  gap: 30px;
  align-items: center;

  padding: 26px 0;
  color: #ffffff;
}

/* dotted separator */
.flow-lists li:not(:last-child) {
  border-bottom: 1px dashed rgba(255,255,255,0.5);
}

/* =============================
   STEP NUMBER
============================= */

.step-number {
  background: #ffffff;
  color: #f15a00;
  font-weight: 800;
  font-size: 16px;
  padding: 12px 20px;
  border-radius: 8px;
  text-align: center;
  white-space: nowrap;
}

/* =============================
   MESSAGE（★白文字）
============================= */

.step-msg {
  font-size: 16px;
  line-height: 1.8;
  color: #ffffff;
  font-weight: 500;
}

/* -----------------------------
   ARROW (DEFAULT = OUTLINE)
----------------------------- */
.flow-lists li::after {
  content: "";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 56px;
  background: url("https://megabox-nasu.com/wp-content/uploads/2025/12/arrow-cl.webp")
    no-repeat center / contain;
}

/* -----------------------------
   ARROW (WHITE = SCHEDULE ITEM)
----------------------------- */
.flow-lists li.arrow-wh::after {
  background-image: url("https://megabox-nasu.com/wp-content/uploads/2025/12/arrow-wh.webp");
}


/* =============================
   SCHEDULE TEXT
============================= */

.step-sche {
  position: absolute;
  right: 120px;
  font-size: 16px;
  font-weight: 700;
  white-space: nowrap;
  color: #ffffff;
}


/* =============================
   PRICE
============================= */

.price-wrap {
  position: relative;
  padding: 120px 0 80px;
  overflow: hidden;

  /* 背景画像 */
  background-image: url("https://megabox-nasu.com/wp-content/uploads/2025/12/bg-price.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* -----------------------------
   WHITE OVERLAY
----------------------------- */
.price-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.88); /* ← 白オーバレイ濃度 */
  z-index: 0;
}

/* 中身は必ず前面へ */
.price-wrap > * {
  position: relative;
  z-index: 1;
}

.price-wrap > h2 {
  max-width: 1200px;
  margin: 0 auto 60px;
  padding: 0 20px;
  text-align: center;
}

.price-wrap h2 .main {
  display: block;
  font-size: 56px;
  font-weight: 800;
  color: #f04700;
  margin-bottom: 12px;
}

.price-wrap h2 .ruby {
  display: block;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #333;
}

/* =====================================================
   PRICE SLIDE（PRODUCT SLIDE SAME STRUCTURE）
===================================================== */

.price-slide {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  overflow: hidden;
}

.price-slide__track {
  display: flex;
  width: max-content;
  animation: price-slide-left 45s linear infinite;
}

.price-slide__list {
  display: flex;
  gap: 32px;
}

.price-slide__item {
  flex: 0 0 auto;
  width: 320px;
}

/* =============================
   CARD（完全固定）
============================= */

.price-card {
  height: 440px;
  background: #fff;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
}

/* =============================
   IMAGE
============================= */

.price-pic {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.price-pic img {
  width: 240px;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

/* =============================
   PRICE BAR
============================= */

.price-pack {
  background: #f04700;
  padding: 20px 16px;
  text-align: center;
}

.price-pack .ttl {
  display: block;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}

.price-pack .price {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
}


@keyframes price-slide-left {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* =============================
   PRICE NOTE FIX
============================= */

.price-wrap > h3 {
  max-width: 1200px;
  margin: 40px auto 0;
  padding: 0 20px;
  text-align: center;
}

.price-wrap h3 .ruby {
  font-size: 16px;
  font-weight: 700;
  color: #333;
}


/* =====================================================
   QUALITY SECTION
===================================================== */

.quality-wrap {
  background: #3b3b3b;
  color: #fff;
  padding: 120px 40px 140px;
}

/* =============================
   TITLE
============================= */

.quality-wrap h2 {
  max-width: 1200px;
  margin: 0 auto 80px;
  text-align: left;
}

.quality-wrap h2 .main {
  display: block;
  font-size: 64px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: 0.04em;
  margin-bottom: 24px;
  color: #ffffff;
}

.quality-wrap h2 .ruby {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  opacity: 0.9;
}

.quality-wrap h2 .ruby::after {
  content: "";
  display: block;
  width: 60px;
  height: 1px;
  background: rgba(255,255,255,0.6);
}

/* =============================
   CARD LIST
============================= */

.quality-lists {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0;
  list-style: none;

  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

/* =============================
   CARD
============================= */

.quality-lists li {
  position: relative;
  background: #ffffff;
  border-radius: 24px;
  padding: 40px 32px 0px;
  color: #333;
  box-shadow: 0 16px 40px rgba(0,0,0,0.15);
  min-height: 300px;
}

/* =============================
   LAUREL ICON
============================= */

.quality-lists li::before,
.quality-lists li::after {
  content: "";
  position: absolute;
  top: 28px;
  width: 40px;
  height: 64px;
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.9;
}

.quality-lists li::before {
  left: 24px;
  background-image: url("https://megabox-nasu.com/wp-content/uploads/2025/12/leaf-left.webp");
}

.quality-lists li::after {
  right: 24px;
  background-image: url("https://megabox-nasu.com/wp-content/uploads/2025/12/leaf-right.webp");
}

/* =============================
   CARD TITLE
============================= */

.quality-lists h3 {
  text-align: center;
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 24px;
  letter-spacing: 0.05em;
}

/* =============================
   TEXT
============================= */

.quality-lists .txt {
  font-size: 16px;
  line-height: 1.6;
  font-weight: 500;
  color: #444;
}


/* =====================================================
   HERO / UNSUNG HERO（LEFT-TOP BG FIXED）
===================================================== */

.hero-wrap {
  position: relative;
  width: 100%;
  overflow: hidden;
  background-color: #ffffff;

  /* ★ 背景画像は「置く」だけ */
  background-image: url("https://megabox-nasu.com/wp-content/uploads/2025/12/bg-hero.webp");
  background-repeat: no-repeat;
  background-position: left top;
  background-size: auto;      /* cover 絶対禁止 */

  padding: 140px 20px 0;
}

/* =====================================================
   INNER
===================================================== */

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

/* =====================================================
   TITLE
===================================================== */

.hero-title {
  margin-bottom: 28px;
}

.hero-title .en {
  display: block;
  font-size: 56px;
  font-weight: 800;
  color: #f15a00;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}

.hero-title .jp {
  display: block;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #333;
}

/* =====================================================
   MESSAGE
===================================================== */

.hero-msg {
  max-width: 900px;
  margin: 0 auto 48px;
  font-size: 17px;
  line-height: 2;
  font-weight: 600;
  color: #333;
  text-align: left;
}

/* =====================================================
   GALLERY
===================================================== */

.hero-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.hero-gallery img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
}

/* -----------------------------
   INNER BOX (BACKGROUND)
----------------------------- */
.possibility-box {
  max-width: 1200px;
  margin: 0 auto;
  padding: 70px 0 80px;
  border-radius: 20px;
  background: url("https://megabox-nasu.com/wp-content/uploads/2025/12/possibility-inner-bg.webp")
    no-repeat left center / auto 100%;
}

/* 共通インナー幅 */
.possibility-box .msg,
.possibility-lists {
  max-width: 720px;     /* ← メッセージとリストを統一 */
  margin-left: auto;
  margin-right: auto;
}

/* -----------------------------
   SECTION TITLE
----------------------------- */
.possibility-wrap h2 {
  max-width: 1200px;
  margin: 0 auto 40px;
  padding: 0 20px;
  text-align: left;
}

.possibility-wrap h2 .main {
  display: block;
  font-size: 48px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: 0.02em;
}

.possibility-wrap h2 .ruby {
  display: inline-block;
  margin-top: 16px;
  font-size: 14px;
  font-weight: 700;
  color: #f15a00;
  position: relative;
  padding-right: 70px;
}

.possibility-wrap h2 .ruby::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 56px;
  height: 2px;
  background: #f15a00;
  transform: translateY(-50%);
}

/* -----------------------------
   MESSAGE
----------------------------- */
.possibility-box .msg {
  padding: 0 20px;
  font-size: 16px;
  line-height: 1.9;
  font-weight: 600;
  color: #111;
  margin-bottom: 48px;
}

/* -----------------------------
   LISTS
----------------------------- */
.possibility-lists {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px 22px;
  list-style: none;
  padding: 0 20px;
}

/* ボックス */
.possibility-lists li {
  background: #000;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  text-align: center;
  padding: 16px 14px;
  border-radius: 2px;
}


/* =========================
   Product lineup
========================= */
.lineup-wrap {
  background: #f3f3f3;
  padding: 90px 20px 80px;
}

.lineup-inner {
  max-width: 1100px;
  margin: 0 auto;
}

/* 見出し */
.lineup-ttl {
  margin-bottom: 24px;
}

.lineup-ttl .main {
  display: block;
  font-size: 56px;
  font-weight: 700;
  color: #333;
}

.lineup-ttl .main::first-letter {
  color: #ff5a00;
}

.lineup-ttl .ruby {
  display: block;
  margin-top: 6px;
  font-size: 18px;
  font-weight: 700;
  color: #ff5a00;
}

/* 説明文 */
.lineup-lead {
  max-width: 1200px;
  font-size: 18px;
  line-height: 1.8;
  font-weight: 700;
  margin-bottom: 48px;
}

/* 商品グリッド */
.lineup-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px 28px;
  margin-bottom: 60px;
}

.lineup-item {
  display: block;
  overflow: hidden;
  background: #000;
}

.lineup-item img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.lineup-item:hover img {
  transform: scale(1.05);
}

/* ★ オーバーレイ・テキスト完全削除 */
.lineup-label,
.lineup-item::before,
.lineup-item::after {
  display: none !important;
}

/* 下部ボタン */
.lineup-btns {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

.round-btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 999px;
  background: #ff5a00;
  color: #fff;
  font-size: 14.5px;
  font-weight: 700;
  text-decoration: none;
}

/* =========================
   Specification
========================= */
.specific-wrap {
  padding: 90px 20px 100px;
  background: #fff;
}

.specific-wrap h2 {
  text-align: center;
  margin-bottom: 48px;
}

.specific-wrap h2 .main {
  display: block;
  font-size: 56px;
  font-weight: 700;
  color: #ff5a00;
}

.specific-wrap h2 .ruby {
  display: block;
  margin-top: 6px;
  font-size: 16px;
  font-weight: 700;
  color: #333;
}

/* 内側ラップ */
.specific-wrap .wrap-inner {
  max-width: 1100px;
  margin: 0 auto;
}

/* =========================
   横スクロール制御
========================= */
.horizontal-scroll {
  overflow-x: auto;
  margin-bottom: 48px;
  -webkit-overflow-scrolling: touch;
}

.horizontal-scroll__inner {
  min-width: 100%;
}

/* =========================
   テーブル共通
========================= */
.material-table {
  width: 100%;
  min-width: 900px; /* ← SPで潰れないための肝 */
  border-collapse: collapse;
  background: #fff;
}

.material-table td {
  border: 1px solid #444;
  padding: 14px 12px;
  font-size: 14px;
  line-height: 1.6;
  vertical-align: top;
}

/* セクション見出し行 */
.material-table tr:first-child td {
  background: #f1f1f1;
  font-weight: 700;
}



/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 768px) {

  .main-visual.products {
    height: 45vh;
    min-height: 300px;
  }

  .main-visual.products .single-ttl {
    font-size: 2.1rem;
  }

  .about-head {
    padding: 40px 16px 30px;
  }

  .about-head__icon img {
    width: 100px;
    padding: 0;
  }

  .about-head__title {
    font-size: 38px;
  }

  .about-head__line {
    width: 90px;
    height: 3px;
  }

  .product-page section {
    padding: 60px 16px;
  }

  .product-slide__item {
    width: 220px;
  }

  .strength-wrap {
    padding: 70px 0;
  }

  .strength-title .main {
    font-size: 38px;
  }

  .strength-item {
    grid-template-columns: 1fr;
    gap: 26px;
    margin-bottom: 60px;
  }

  .strength-text {
    max-width: none;
    padding: 0 20px;
  }


  /* はみ出しロジックを完全に無効化 */
  .strength-item.reverse .strength-image img,
  .strength-item:not(.reverse) .strength-image img {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .strength-image img {
    width: 100%;
    max-width: 100%;
    display: block;
    border-radius: 20px;
  }


  /* リスト全体 */
  .flow-lists {
    padding: 32px 20px;
  }

  /* 各ステップを縦並びに */
  .flow-lists li {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 24px 0 36px;
    text-align: left;
  }

  /* STEP番号 */
  .step-number {
    width: fit-content;
    margin-bottom: 6px;
  }

  /* メッセージ */
  .step-msg {
    font-size: 15px;
    line-height: 1.7;
  }

  /* -------- スケジュール -------- */
  .step-sche {
    position: static;          /* absolute解除 */
    margin-top: 10px;
    font-size: 15px;
    font-weight: 700;
    text-align: center;
    color: #ffffff;
  }

  /* -------- 矢印 -------- */
  .flow-lists li::after {
    position: static;          /* absolute解除 */
    display: block;
    margin: 14px auto 0;       /* 中央配置 */
    transform: none;

    width: 40px;
    height: 48px;

    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
  }

  /* 最後のステップは矢印を消す */
  .flow-lists li:last-child::after {
    display: none;
  }

  .price-wrap {
    padding: 80px 0 60px;
  }

  .price-wrap h2 .main {
    font-size: 40px;
  }

  .price-swiper {
    padding: 0 16px 32px;
  }

  .price-swiper .swiper-slide {
    width: 280px;
  }


  /* グリッド解除（最重要） */
  .quality-lists {
    display: block !important;
  }

  /* li の高さ制約を完全解除 */
  .quality-lists li {
    height: auto !important;
    min-height: unset !important;
    align-self: auto !important;

    padding: 26px 20px 18px;
    margin-bottom: 20px;
  }

  .quality-lists li:last-child {
    margin-bottom: 0;
  }

  /* タイトル */
  .quality-lists h3 {
    font-size: 19px;
    line-height: 1.45;
    margin: 0;
    text-align: center;
  }

  /* 本文 */
  .quality-lists .txt {
    font-size: 15.5px;
    line-height: 1.7;
    margin-top: 14px;
    margin-bottom: 0;
  }

  /* 月桂樹 */
  .quality-lists li::before,
  .quality-lists li::after {
    width: 34px;
    height: 34px;
    top: 22px;
  }

  .hero-wrap {
    padding: 100px 16px 0;
    background-size: 520px auto;   /* SPでは控えめ */
  }

  .hero-title .en {
    font-size: 40px;
  }

  .hero-title .jp {
    font-size: 15px;
  }

  .hero-msg {
    font-size: 15.5px;
    line-height: 1.9;
    margin-bottom: 36px;
  }

  .hero-gallery {
    grid-template-columns: 1fr;
  }

  .hero-gallery img {
    height: 220px;
  }

  .possibility-box {
    padding: 40px 0 50px;
    background-position: left top;
    background-size: auto 100%;
  }

  .possibility-box .msg,
  .possibility-lists {
    max-width: 100%;
  }

  .possibility-box .msg {
    font-size: 15px;
    line-height: 1.85;
    margin-bottom: 36px;
  }

  .possibility-lists {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .possibility-lists li {
    font-size: 14px;
    padding: 14px 12px;
  }

  .lineup-wrap {
    padding: 60px 16px;
  }

  .lineup-ttl .main {
    font-size: 36px;
  }

  .lineup-lead {
    font-size: 14.5px;
    margin-bottom: 36px;
  }

  .lineup-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 16px;
  }

  .lineup-btns {
    gap: 12px;
  }

  .round-btn {
    font-size: 13.5px;
    padding: 12px 22px;
  }

  .specific-wrap {
    padding: 60px 16px 80px;
  }

  .specific-wrap h2 .main {
    font-size: 36px;
  }

  .specific-wrap h2 .ruby {
    font-size: 14px;
  }

  /* スマホでは必ず横スク */
  .horizontal-scroll {
    overflow-x: scroll;
  }

  .material-table {
    min-width: 820px;
  }

  .material-table td {
    font-size: 13px;
    padding: 12px 10px;
  }
}