/* =========================
   おさけ博物館 共通
========================= */

body {
  background-image:
    linear-gradient(
      rgba(246,247,251,0.82),
      rgba(246,247,251,0.82)
    ),
    url("../img/museum/background.webp");

  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.museum-main {
  width: min(1100px, 92%);
  margin: 0 auto;
  padding: 40px 0 80px;
}

/* =========================
   戻るリンク
========================= */

.museum-header {
  width: min(1100px, 92%);
  margin: 0 auto;
  padding-top: 24px;
}

.museum-back {
  font-size: 14px;
  color: #666;
  text-decoration: none;
}

.museum-back:hover {
  opacity: 0.7;
}

/* =========================
   タイトル
========================= */

.museum-hero {
  text-align: center;
  margin-bottom: 48px;
}

.museum-subtitle {
  font-size: 14px;
  color: #888;
  margin-bottom: 8px;
}

.museum-title {
  font-size: 38px;
  margin-bottom: 18px;
  line-height: 1.3;
}

.museum-description {
  font-size: 16px;
  line-height: 1.9;
  color: #555;
}

/* =========================
   共通カード
========================= */

.museum-card {
  background: #fff;
  border-radius: 24px;
  padding: 28px;
  box-shadow:
    0 4px 18px rgba(0,0,0,0.05);
  margin-bottom: 18px;
}

/* =========================
   導入
========================= */

.museum-intro {
  display: flex;
  align-items: center;
  gap: 28px;
}

.museum-character img {
  width: 180px;
  height: auto;
  display: block;
}

.museum-content h2 {
  font-size: 28px;
  margin-bottom: 24px;
}

.museum-talk {
  font-size: 18px;
  font-weight: bold;
  line-height: 1.8;
  margin-bottom: 14px;
}

.museum-text {
  font-size: 15px;
  line-height: 1.9;
  color: #555;
}

.museum-character-name {
  font-size: 14px;
  color: #777;
  margin-top: 2px;
  margin-bottom: 10px;
  line-height: 1;
  text-align: center;
}

.museum-basic-card h2 {
  margin-bottom: 14px;
}


/* =========================
   発酵・蒸留・熟成
========================= */

.museum-basic-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 36px;
}

.museum-basic-card {
  text-align: center;
}

.museum-basic-card img {
  width: 160px;
  height: auto;
  margin-bottom: 0;
}

.museum-basic-card h2 {
  font-size: 24px;
  margin-bottom: 12px;
}

/* =========================
   セクションタイトル
========================= */

.museum-section-title {
  font-size: 30px;
  margin-bottom: 24px;
  text-align: center;
}

/* =========================
   比較表
========================= */

.museum-table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.museum-kind-table {
  width: 100%;
  min-width: 100px;
  border-collapse: collapse;
  text-align: center;
  background: #fff;
}

.museum-kind-table th,
.museum-kind-table td {
  border-bottom: 1px solid #e5e7ef;
  padding: 14px 14px;
  white-space: nowrap;
}

.museum-kind-table th:first-child,
.museum-kind-table td:first-child {
  padding-left: 4px;
  padding-right: 4px;
}

.museum-kind-table th {
  background: #f1f3f9;
  font-size: 14px;
}

.museum-kind-table td {
  font-size: 14px;
}

/* 左列固定 */

.museum-kind-table th:first-child,
.museum-kind-table td:first-child {
  position: sticky;
  left: 0;
  background: #fff;
  z-index: 2;
}

.museum-kind-table th:first-child {
  background: #f1f3f9;
  z-index: 3;
}

.museum-drink-cell {
  display: flex;
  align-items: center;
  gap: 4px;
  min-width: 110px;
}

.museum-face-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  flex-shrink: 0;
}

.museum-scroll-guide {
  font-size: 13px;
  color: #777;
  text-align: center;
  margin-bottom: 12px;
}

.museum-highlight {
  background: #fff3a3;
  font-weight: bold;
}

/* =========================
   凡例
========================= */

.museum-legend {
  margin-top: 20px;
  font-size: 14px;
  line-height: 1.8;
  color: #666;
}

/* =========================
   アピールタイム
========================= */

.museum-appeal {
  margin-top: 60px;
}

.museum-appeal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.museum-appeal-card {
  text-align: center;
}

.museum-appeal-card img {
  width: 160px;
  height: auto;
  margin-bottom: 18px;
}

.museum-appeal-card h3 {
  font-size: 24px;
  margin-bottom: 6px;
}

/* =========================
   エンディング
========================= */

.museum-ending {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 50px;
}

@media (max-width: 768px) {

  .museum-ending {
    flex-direction: column;
    text-align: center;
  }

}

/* =========================
   出口
========================= */
.museum-exit {
  text-align: center;
  margin-top: 80px;
}

.museum-exit-button {
  display: inline-block;
  padding: 18px 60px;
  border-radius: 999px;
  background: #222;
  color: #fff;
  font-size: 20px;
  letter-spacing: 0.15em;
  text-decoration: none;
  transition: 0.25s;
}

.museum-exit-button:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

/* =========================
   スマホ
========================= */

@media (max-width: 768px) {

  .museum-main {
    width: 94%;
    padding: 28px 0 60px;
  }

  .museum-title {
    font-size: 30px;
  }

  .museum-description {
    font-size: 15px;
  }

  .museum-card {
    border-radius: 20px;
    padding: 22px;
  }

  /* 導入 */

  .museum-intro {
    flex-direction: column;
    text-align: center;
  }

  .museum-character img {
    width: 160px;
  }

  .museum-content h2 {
    font-size: 24px;
  }

  .museum-talk {
    font-size: 17px;
  }

  /* 発酵・蒸留・熟成 */

  .museum-basic-grid {
    grid-template-columns: 1fr;
  }

  .museum-basic-card img {
    width: 150px;
  }

  .museum-basic-card h2 {
    font-size: 22px;
  }

  /* 比較表 */

  .museum-kind-table th,
  .museum-kind-table td {
    padding: 2px 4px;
    font-size: 13px;
  }

  /* アピール */

  .museum-appeal-grid {
    grid-template-columns: 1fr;
  }

  .museum-appeal-card img {
    width: 150px;
  }

  .museum-appeal-card h3 {
    font-size: 22px;
  }

  .museum-drink-cell {
    gap: 2px;
  }
}


/* =========================
   博物館エントランス
========================= */

.museum-entrance {
  width: min(1200px, 92%);
  margin: 0 auto;
  padding: 40px 0 80px;
}

.museum-entrance-hero {
  text-align: center;
  margin-bottom: 60px;
}

.museum-entrance-floor-area {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 36px;
}

.museum-entrance-character {
  text-align: center;
}

.museum-entrance-character img {
  width: 240px;
  height: auto;
  display: block;
}

.museum-floor-list {
  width: min(520px, 100%);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.museum-floor {
  background: #fff;
  border-radius: 24px;
  padding: 26px 28px;
  box-shadow:
    0 4px 18px rgba(0,0,0,0.05);

  display: flex;
  align-items: center;
  gap: 24px;
}

.museum-floor.preparing {
  opacity: 0.45;
}

.museum-floor-number {
  font-size: 34px;
  font-weight: bold;
  min-width: 72px;
}

.museum-floor-name {
  font-size: 22px;
  font-weight: bold;
  line-height: 1.5;
}

.museum-floor-open {
  font-size: 13px;
  letter-spacing: 0.12em;
  color: #c77b00;
  font-weight: bold;
  margin-bottom: 0px;
}

.museum-floor.open {
  text-decoration: none;
  color: inherit;
  transition: 0.25s;
}

.museum-floor.open:hover {
  transform: translateY(-2px);
  box-shadow:
    0 8px 24px rgba(0,0,0,0.08);
}

/* =========================
   2F
========================= */

.museum-floor-open-small {
  font-size: 15px;
  letter-spacing: 0.08em;
  color: #888;
  margin-bottom: -8px;
}

/* =========================
   スマホ
========================= */

@media (max-width: 768px) {

  .museum-entrance {
    width: 94%;
    padding: 28px 0 60px;
  }

  .museum-entrance-floor-area {
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    gap: 18px;
  }
  .museum-entrance-character img {
    width: 140px;
  }

  .museum-floor-list {
    width: 100%;
  }

  .museum-floor {
    padding: 20px 20px;
    gap: 18px;
  }

  .museum-floor-number {
    font-size: 28px;
    min-width: 58px;
  }

  .museum-floor-name {
    font-size: 18px;
  }

  .museum-entrance-floor-area {
    flex-wrap: wrap;
    justify-content: center;
    gap: 18px;
  }

  .museum-floor-list {
    order: 2;
    width: 100%;
  }

  .museum-entrance-character.left {
    order: 0;
  }

  .museum-entrance-character.right {
    order: 1;
  }

}

/* =========================
   糖化
========================= */

.museum-saccharification-table {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.museum-saccharification-row {
  display: grid;
  grid-template-columns: 180px 140px 1fr;
  gap: 24px;
  align-items: center;

  padding-bottom: 22px;
  border-bottom: 1px solid #eceff5;
}

.museum-saccharification-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.museum-saccharification-image img {
  width: 140px;
  display: block;
  margin: 0 auto;
}

.museum-saccharification-name {
  font-size: 18px;
  font-weight: bold;
  line-height: 1.9;
}

.museum-saccharification-text .museum-talk {
  margin-bottom: 10px;
}

.museum-multi-image {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.museum-multi-image img {
  width: 100%;
}

/* =========================
   スマホ
========================= */

@media (max-width: 768px) {

  .museum-saccharification-row {
    grid-template-columns: 45px 50px 1fr;
    gap: 14px;
    align-items: start;
  }

  .museum-saccharification-image img {
    width: 56px;
  }

  .museum-multi-image {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .museum-multi-image img {
    width: 48px;
    margin: 0 auto;
  }

  .museum-saccharification-name {
    font-size: 16px;
    line-height: 2.2;
    text-align: left;
    padding-top: 4px;
  }

  .museum-saccharification-text {
    text-align: left;
  }

}

/* =========================
   製造工程
========================= */

.museum-process-section {
  margin-top: 40px;
}

.museum-process-header {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-bottom: 28px;
}

.museum-process-image {
  overflow-x: auto;
  overflow-y: hidden;

  padding-bottom: 8px;
  margin-bottom: 28px;

  -webkit-overflow-scrolling: touch;
}

.museum-process-image img {
  display: block;
  height: 260px;
  width: auto;
  border-radius: 18px;
}

.museum-process-table-wrap {
  overflow-x: auto;
}

.museum-process-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 650px;
}

.museum-process-table th {
  background: #f3f4f7;
  font-size: 15px;
  padding: 14px;
  text-align: left;
}

.museum-process-table td {
  padding: 16px 14px;
  border-bottom: 1px solid #e8ebf2;
  font-size: 14px;
  line-height: 1.8;
}

.museum-process-table tr:last-child td {
  border-bottom: none;
}

/* =========================
   スマホ
========================= */

@media (max-width: 768px) {

  .museum-process-header {
    flex-direction: column;
    text-align: center;
  }

  .museum-process-image img {
    height: 240px;
  }

}

.museum-process-ending {
  display: flex;
  align-items: center;
  gap: 24px;

  margin-top: 40px;
  padding-top: 32px;

  border-top: 1px solid #ddd;
}

.museum-process-ending-image {
  width: 120px;
  flex-shrink: 0;
}

.museum-process-ending-text {
  flex: 1;
}

@media (max-width: 768px) {

  .museum-process-ending {
    flex-direction: column;
    text-align: center;
  }

  .museum-process-ending-image {
    width: 100px;
  }

}

/* =========================
   ジン ボタニカル表だけ左列固定
========================= */

.museum-botanical-table th:first-child,
.museum-botanical-table td:first-child{

  position: sticky;
  left: 0;

  background: #fff;

  z-index: 2;

  width: 96px;
  min-width: 96px;

  padding-left: 8px;
  padding-right: 8px;

  white-space: normal;

  line-height: 1.5;

  box-shadow:
    6px 0 8px -8px rgba(0,0,0,0.18);
}

.museum-botanical-table th:first-child{
  background: #f3f4f7;
  z-index: 3;
}