:root {
  /* ネオンブルー系（タイトルやメイン要素向き） */
  --primary-color: #1d73d9;
  --primary-color-tint-1: #3988e0;
  --primary-color-tint-2: #589ce6;
  --primary-color-tint-3: #77b1ec;
  --primary-color-tint-4: #96c5f2;
  --primary-color-tint-5: #b4d9f7;
  --primary-color-tint-6: #d3ecfc;
  --primary-color-tint-7: #f1f9fe;
  --primary-color-shade-1: #1a68c3;
  --primary-color-shade-2: #165cab;
  --primary-color-shade-3: #125094;
  --primary-color-shade-4: #1f3a45;

  /* フレッシュグリーン系（背景やセクション区切り） */
  --secondary-color: #45b649;
  --secondary-color-tint-1: #5cc163;
  --secondary-color-tint-2: #73cb7c;
  --secondary-color-tint-3: #8ad596;
  --secondary-color-tint-4: #a1dfaf;
  --secondary-color-tint-5: #b8e9c9;
  --secondary-color-shade-1: #3ea441;
  --secondary-color-shade-2: #378e39;
  --secondary-color-shade-3: #307832;

  /* ディープパープル系（見出しやフッターの重さ出し） */
  --tertiary-color: #4b2e83;
  --tertiary-color-tint-1: #644d97;
  --tertiary-color-tint-2: #7c6cab;
  --tertiary-color-tint-3: #958bbf;
  --tertiary-color-tint-4: #aea9d3;
  --tertiary-color-tint-5: #c7c8e7;
  --tertiary-color-shade-1: #442976;
  --tertiary-color-shade-2: #3c2468;
  --tertiary-color-shade-3: #341f5b;

  /* オレンジ系アクセント（リンク・強調・CTA用） */
  --accent-color: #f5815d;
  --accent-color-tint-1: #ff8359;
  --accent-color-tint-2: #ff9670;
  --accent-color-tint-3: #ffaa87;
  --accent-color-tint-4: #ffbd9d;
  --accent-color-tint-5: #ffd0b4;
  --accent-color-tint-6: #ffe0cc; /* さらに薄いオレンジ */
  --accent-color-tint-7: #fff0e3; /* ごく淡いオレンジ */
  --accent-color-tint-8: #fff8f2; /* ほんのり背景色程度 */
  --accent-color-shade-1: #e6643c;
  --accent-color-shade-2: #cc5835;
  --accent-color-shade-3: #b34c2e;

  --white-color: #fff;

  --border-radius: 0.9rem;

  --open-color: #a9e8c3; /* ← 淡いミント系（明るめの緑） */
  --warning-color: #f6b94a; /* 少し明るく柔らかいオレンジ */
  --full-color: #e63946; /* そのままでOK（重要表示） */
  --closed-color: #b4b4b4; /* 受付終了 → グレー（終了・中立） */
}

*,
*::before,
*::after {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

html {
  font-size: 62.5%;
  overflow-x: hidden;
  /* scroll-behavior: smooth; */
}

body {
  font-family: 'Noto Sans JP', sans-serif;
  line-height: 1;
  font-weight: 400;
  overflow-x: hidden;
  color: #333;
}

a {
  text-decoration: none;
  color: #333;
}

/* ***********************************
General Reuseable Components
*********************************** */

.center-text {
  text-align: center !important;
}

.container {
  max-width: 120rem;
  margin: 0 auto;
  padding: 0 3.2rem;
}

.bread {
  margin: 2.5rem 0 2.5rem 0;
}

.bread ol {
  display: flex;
  list-style: none;
}

.bread li {
  font-size: 1.4rem;
}

.bread li:not(:last-child)::after {
  margin: 0 1.5rem 0;
  content: '\003e';
}

.bread-link:link,
.bread-link:visited {
  transition: all 0.3s;
}

.bread-link:hover,
.bread-link:active {
  color: var(--accent-color);
}

.heading-primary,
.heading-secondary,
.heading-tertiary {
  font-weight: 700;
  letter-spacing: 1px;
  color: #333;
}

.heading-primary {
  font-size: 6rem;
  line-height: 1.2;
  margin-bottom: 3.2rem;
  color: #ffd700;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
  font-family: 'Anton', sans-serif;
  font-weight: 400;
  letter-spacing: 1.5rem;
}

.heading-primary-sub {
  color: #fff;
  font-size: 2.2rem;
  font-weight: 400;
  letter-spacing: 5px;
  line-height: 1.4;
  word-break: keep-all;
}

.heading-primary-sub br + br {
  line-height: 2.2;
}

.heading-primary-sub time {
  display: block;
  font-family: 'Roboto Mono', monospace;
  letter-spacing: 0.05em;
  font-size: 2.2rem;
  line-height: 1.4;
  color: var(--white-color);
}

.heading-secondary {
  display: inline-block;
  color: #555;
  font-size: 3rem;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 4.8rem;
  word-break: keep-all;

  position: relative;
}

.heading-secondary::after {
  content: '';
  position: absolute;
  display: inline-block;
  width: 6rem;
  height: 0.3rem;
  background-color: var(--accent-color);

  left: 50%;
  bottom: -25%;
  transform: translateX(-50%);
}

.heading-tertiary {
  font-size: 2.2rem;
  line-height: 1.2;
  margin-bottom: 1.6rem;
  color: #555;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
}

.heading-tertiary ion-icon {
  font-size: 2.2rem;
  margin-top: 0.2rem;
}

.subheading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 1.8rem;
  font-weight: 500;
  margin-bottom: 1.6rem;
  letter-spacing: 0.75px;
  color: #333;
}

.subheading ion-icon {
  font-size: 2.4rem;
}

.paragraph {
  font-size: 1.6rem;
  line-height: 1.8;
}

.paragraph.small {
  font-size: 1.4rem;
  color: #555;
  margin-top: 1rem;
}

.announce {
  font-size: 2rem;
  color: #777;
  text-align: center;
  margin-top: 2rem;
  letter-spacing: 0.05rem;
}

.btns {
  display: flex;
  gap: 1.6rem;
  justify-content: center;
  margin-top: 5rem;
}

/* 共通ボタンスタイル */
.btn {
  display: inline-flex; /* アイコンと文字を横並び */
  align-items: center;
  justify-content: center;
  gap: 0.5rem;

  text-decoration: none; /* a用 */
  border: none; /* button用 */
  cursor: pointer;

  padding: 1.6rem 3.2rem;
  border-radius: 3.2rem;
  font-size: 1.8rem;
  font-weight: 400;
  letter-spacing: 1.5px;

  background-color: #fff;
  color: #222;

  transition: all 0.3s ease;
}

.btn--reserve {
  background-color: var(--primary-color-tint-1);
  color: var(--white-color, #fff);
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 1;
  border-radius: var(--border-radius);
  border: none;
  cursor: pointer;
}

.btn:hover,
.btn:active {
  background: var(--medium-green);
  color: #fff;
  border-color: #fff;
}

.btn--hero:hover {
  background: #fff176;
  color: var(--primary-color-tint-1);
}

.btn-return {
  display: inline-block;
  padding: 1rem 2rem;
  border-radius: 0.6rem;
  font-size: 1.6rem;
  font-weight: 600;
  background: #f7f7f7;
  color: #444;
  border: 1px solid #ddd;
  text-decoration: none;
  transition: all 0.3s;
}

.btn-return:hover {
  background-color: #eee;
}

.link-button {
  background: none;
  border: none;
  padding: 0;
  color: var(--primary-color);
  text-decoration: underline;
  cursor: pointer;
  font: inherit;
}

.link-button:hover {
  text-decoration: none;
}

.fade-in {
  opacity: 0;
  transform: translateY(2rem);
  transition: opacity 1.2s ease, transform 1.2s ease;
}

.fade-in.show {
  opacity: 1;
  transform: translateY(0);
}

/* ==== ローディング ==== */
.loader {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 9999;
}

.loader-section {
  position: absolute;
  inset: 0;
  width: 90%;
  max-width: 40rem;
  height: fit-content;
  margin: auto;
  padding: 4rem;
  border-radius: 5px;
  background-color: var(--white-color);
  box-shadow: 0 0 2rem rgba(0, 0, 0, 0.15);
}

.loader-message {
  text-align: center;
  font-size: 1.5rem;
  line-height: 1.6;
}

.loader-elements {
  display: flex;
  justify-content: center;
  gap: 1.7rem;
  margin-bottom: 2rem;
}

.loader-el {
  width: 1.2rem;
  height: 1.2rem;
  background: linear-gradient(135deg, #f6ad55, #f687b3);
  border-radius: 50%;
  animation: load 2s linear infinite;
  opacity: 0;
  transition: opacity 0.4s;
}

@keyframes load {
  0%,
  100% {
    transform: scale(0.8);
    opacity: 0.4;
  }
  50% {
    transform: scale(1.4);
    opacity: 1;
  }
}

.loader-el:nth-child(1) {
  animation-delay: 0.4s;
}

.loader-el:nth-child(2) {
  animation-delay: 0.8s;
}

.loader-el:nth-child(3) {
  animation-delay: 1.2s;
}

.loader-el:nth-child(4) {
  animation-delay: 1.6s;
}

.loader-el:nth-child(5) {
  animation-delay: 2s;
}

.margin-right-sm {
  margin-right: 1.6rem !important;
}

.margin-bottom-sm {
  margin-bottom: 1.6rem !important;
}

.margin-top-sm {
  margin-top: 1.6rem !important;
}

.margin-top-md {
  margin-top: 4.8rem !important;
}

.margin-top-lg {
  margin-top: 7.2rem !important;
}

.margin-bottom-sm {
  margin-bottom: 1.6rem !important;
}

.margin-bottom-md {
  margin-bottom: 4.8rem !important;
}

/* Page Scroll Buttons*/
.floating-buttons {
  transition: opacity 0.4s ease;
}

.page-top {
  width: 5.5rem;
  height: 5.5rem;
  border: none;
  border-radius: 50%;
  background-color: var(--accent-color-tint-2);
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  transition: all 0.5s;
  box-shadow: 0 0 0.5rem rgba(0, 0, 0, 0.2);
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-top::before {
  content: '';
  display: inline-block;
  width: 1.2rem;
  height: 1.2rem;
  border-top: solid 3px #fff;
  border-right: solid 3px #fff;
  margin-top: 0.6rem;
  transform: rotate(-45deg);
}

.page-top:hover,
.page-top:active {
  background-color: var(--accent-color-tint-1);
  transform: scale(1.02);
}

.is-hide {
  pointer-events: none;
}

.grid {
  display: grid;
  column-gap: 6.4rem;
  row-gap: 9.6rem;
}

.grid:not(:last-child) {
  margin-bottom: 9.6rem;
}

.grid--2-cols {
  grid-template-columns: repeat(2, 1fr);
}

.grid--3-cols {
  grid-template-columns: repeat(3, 1fr);
}

.grid--4-cols {
  grid-template-columns: repeat(4, 1fr);
}

.grid-fluid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
  gap: 6rem;
  align-items: start;
}

/* ******************************* */
/* フラッシュメッセージ */
/* ******************************* */
.flash-message {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 1rem 1.4rem;
  border-radius: 0.6rem;
  font-size: 1.4rem;
  font-weight: 600;
  margin: 1rem auto 2rem;
  width: 90%;
  max-width: 60rem;
  text-align: center;

  /* アニメーション設定 */
  animation: flashIn 0.8s ease;
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.flash-message.flash-success {
  background: #e6f8ec;
  border: 1px solid #b2e3c3;
  color: #257942;
}

.flash-message.flash-error {
  background: #ffe8e6;
  border: 1px solid #f5b5b0;
  color: #a62121;
}

.flash-message.fade-out {
  opacity: 0;
  transform: translateY(-5px);
}

@keyframes flashIn {
  from {
    opacity: 0;
    transform: translateY(-1rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* ******************************* */
/* フォーム */
/* ******************************* */

.page-login main {
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 3rem;
}

.form-base {
  display: flex;
  flex-direction: column;
  gap: 2.4rem;
  max-width: 65rem;
  margin: 0 auto;
  background-color: #f9f9f9;
  padding: 4rem;
  border-radius: 1.2rem;
  box-shadow: 0 0 1rem rgba(0, 0, 0, 0.05);
}

.error-message {
  color: #e53935;
  font-size: 1.5rem;
  font-weight: bold;
  margin-top: 0.6rem;
  display: none;
}

.error-message.active {
  display: block;
}

.alert {
  font-size: 1.6rem;
  text-align: center;
  line-height: 1.3;
  margin-bottom: 1.6rem;
}

.alert--error {
  color: #e53935;
  background: #ffeaea;
  padding: 1rem 1.6rem;
  font-weight: 600;
}

.form-group {
  margin-bottom: 2rem;
  text-align: left;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 1.6rem;
  margin-bottom: 1rem;
  color: #333;
  user-select: none;
}

.form-group .required {
  color: #e63946;
  margin-left: 0.3rem;
  font-size: 1.3rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 1rem 1.2rem;
  font-size: 1.7rem;
  border: 1px solid #ccc;
  border-radius: 0.6rem;
  background-color: var(--white-color);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-color);
  background-color: var(--white-color);
  box-shadow: 0 0 0 0.3rem rgba(244, 162, 97, 0.25);
}

.form-group textarea {
  resize: vertical;
  min-height: 8rem;
}

.form-hint {
  margin-top: 0.8rem;
  font-size: 1.5rem;
  color: #666;
}

.radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem 2rem;
}

.radio-group input[type='radio'] {
  position: absolute;
  opacity: 0; /* 見えなくする */
  width: 0;
  height: 0;
}

.radio-group label {
  position: relative;
  padding-left: 2.8rem;
  cursor: pointer;
  font-size: 1.6rem;
  color: #333;
}

.radio-group label::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 2rem;
  height: 2rem;
  border: 2px solid #4aa3c0;
  border-radius: 50%;
  background-color: var(--white-color);
  box-sizing: border-box;
}

.radio-group input[type='radio']:checked + label::after {
  content: '';
  position: absolute;
  left: 0.5rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1rem;
  height: 1rem;
  background: #4aa3c0;
  border-radius: 50%;
}

.radio-group label {
  user-select: none; /* テキスト選択を禁止 */
}

fieldset {
  background-color: #edf4fa; /* 薄い水色 */
  border: 1px solid #dbeafe; /* 淡い青の枠線 */
  border-radius: 0.5rem;
  padding: 1.5rem 2rem;
  margin-bottom: 2rem;
}

legend.heading-tertiary {
  display: flex;
  align-items: center;
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 2.4rem;
  color: #333;
}

/* ****************************** */
/*  Header */
/* ****************************** */

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 6rem;
  padding: 0 4.8rem;
  background-color: rgba(121, 238, 150, 0.85);
  position: relative;
  z-index: 9999;
  box-shadow: 0 1.2rem 3.2rem rgba(0, 0, 0, 0.08);

  /* position: fixed;
    top: 0;
    bottom: 0;
    width: 100%; */
}

.logo {
  height: 4rem;
}

/* ****************************** */
/*  Navigation */
/* ****************************** */

.main-nav-list {
  list-style: none;
  display: flex;
  gap: 3.2rem;
}

.main-nav-link:link,
.main-nav-link:visited {
  color: #555;
  font-size: 1.8rem;
  transition: all 0.3s;
}

.main-nav-link:hover,
.main-nav-link:active {
  color: var(--dark-green);
}

/* Mobile  */
.btn-mobile-nav {
  border: none;
  background: none;
  cursor: pointer;

  display: none;
}

.icon-mobile-nav {
  height: 4.8rem;
  width: 4.8rem;
  color: #333;
}

.icon-mobile-nav[name='close-outline'] {
  display: none;
}

/* ****************************** */
/* Hero Section */
/* ****************************** */

.section-hero {
  height: 90vh;
  padding: 4.8rem 0 9.6rem 0;

  display: flex;
  flex-direction: column;
  justify-content: center;

  background-image: linear-gradient(
      to right bottom,
      rgba(126, 213, 11, 0.6),
      rgba(40, 180, 131, 0.5)
    ),
    url(../images/hero-background.jpg); /* ←冬1DAYの背景そのまま使用OK */
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.hero {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-items: center;
  gap: 9.6rem;
  max-width: 130rem;
  padding: 0 3.2rem;
  margin: 0 auto;
}

.hero-img-box {
  text-align: center;
}

.hero-img {
  width: 95%;
  max-width: 45rem;
  height: auto;
}

.hero-text-box {
  background-color: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(6px);
  padding: 3rem 4rem;
  border-radius: 1.2rem;
  max-width: 48rem;
}

.hero-text-box .heading-primary {
  font-size: 4rem;
  font-weight: 700;
  text-align: center !important;
  line-height: 1.2;
  color: #ffd700;
  /* text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4); */
  font-family: 'Anton', sans-serif;
}

.hero-description {
  padding: 0 0.8rem;
  font-size: 1.7rem;
  line-height: 1.4;
  color: #111;
  letter-spacing: 1px;
  margin-top: 2rem;
}

.hero-description time {
  display: block;
  text-align: center;
  line-height: 1.6;
  font-weight: 500;
  color: #333;
}

.btn--hero:hover {
  background: #fff176;
  color: var(--primary-color-tint-1);
}

/* ****************************** */
/* About Visit Reservation 来場予約セクション */
/* ****************************** */
.section-visit-reservation {
  padding: 9.6rem 0;
  background-color: var(--white-color);
}

.reservation-note {
  font-size: 1.5rem;
  line-height: 1.75;
  border-left: 3px solid var(--primary-color);
  color: #444;
  text-align: left;
  max-width: 46rem;
  margin: 1.6rem auto 0;
  background: rgba(250, 250, 250, 0.8);
  padding: 1.2rem 2rem;
  border-radius: 0.8rem;
  box-shadow: 0 0 1rem rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(4px);
}

.tab-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.6rem;
  margin: 3.2rem 0;
}

.tab-button {
  background: var(--white-color);
  border-radius: 10rem;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  text-align: center;
  font-size: 1.7rem;
  font-weight: 600;
  padding: 1rem 2.8rem;
  cursor: pointer;
  transition: all 0.3s;

  display: flex;
  justify-content: center;
  align-items: center;
}

.tab-button.active,
.tab-button:hover {
  background-color: var(--primary-color-tint-1);
  color: var(--white-color);
}

.tab-button.active ion-icon,
.tab-button:hover ion-icon {
  color: var(--white-color);
}

.tab-button ion-icon {
  font-size: 1.6rem;
  margin-top: -0.4rem;
}

/* 表示切替シンプル版 */
.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

/* .tab-button:focus {
  outline: 3px solid var(--accent-color);
  outline-offset: 3px;
} */

.spin {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  25% {
    transform: rotate(90deg);
  }
  50% {
    transform: rotate(180deg);
  }
  75% {
    transform: rotate(280deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

#loading-spinner {
  display: none;
  justify-content: center;
  align-items: center;
  margin: 1rem 0;
}

#loading-spinner ion-icon {
  font-size: 4.2rem;
  color: #2563eb;
}

#loading-spinner.show {
  display: flex;
}

.reservation-date-list {
  list-style: none;
  padding: 0;
  margin: 0;

  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.reservation-date-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem;
  margin-bottom: 1rem;
  border: 1px solid #ddd;
  border-radius: 1rem;
  /* background-color: var(--white-color); */
  flex-wrap: wrap;

  width: 100%;
  max-width: 65rem;
}

.reservation-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.reservation-actions > * {
  margin: 0 !important;
}

.reservation-actions .btn--reserve {
  border-radius: 2rem;
  font-size: 1.5rem;
  font-weight: 600;
  padding: 0.8rem 1.4rem;
  min-width: 14rem;
  height: 4.2rem;

  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  transition: background 0.3s ease;
}

.reservation-actions .btn--reserve:hover,
.reservation-actions .btn--reserve:active {
  background: var(--primary-color-shade-1);
}

.reservation-actions .btn--reserve:disabled,
.reservation-actions .btn--reserve.disabled {
  background-color: #e5e7eb;
  color: #6d737e;
  border: 1px solid #d1d5db;
  cursor: not-allowed;
  opacity: 0.7;
  pointer-events: none;
}

.reservation-actions .btn--reserve ion-icon {
  font-size: 1.7rem;
}

.reservation-date-item.is-full {
  background-color: #fdd3d3;
  border: 1px solid #f1b5b5;
  cursor: not-allowed;
}

.reservation-date-item.is-closed {
  background-color: #f7f7f7; /* 明るい灰色（ほんのりグレー） */
  border: 1px solid #d1d5db; /* 少し濃いグレーの枠線 */
  cursor: not-allowed;
}

.reservation-date-item.is-full .reservation-time,
.reservation-date-item.is-closed .reservation-time {
  opacity: 0.5;
}

.reservation-time {
  flex: 1;
  font-size: 1.8rem;

  display: flex;
  gap: 0.5rem;
  line-height: 1;
  align-items: center;
  transition: 0.2s ease;
}

.reservation-time ion-icon {
  font-size: 2.2rem;
  margin-top: 0.2rem;
  color: var(--primary-color-tint-1);
}

/* selectメニューのoptionのステータス */
option.status-open {
  background-color: #e6f4ff;
}

/* 混雑ぎみ */
option.status-warning {
  background-color: #fff8e1;
}

/* 満席・受付終了 */
option.status-full,
option.status-closed {
  background-color: #f8d7da; /* 薄いピンク */
  color: #777;
}

.badge {
  font-size: 1.6rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  color: var(--white-color);
  color: #333;
  padding: 1rem 1.4rem;
  border-radius: 3rem;
  min-width: 10rem;
  height: 4.2rem;
  line-height: 1.2;
  background-color: #eee;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: default;
}

.badge--open {
  background-color: var(--open-color);
}

.badge--warning {
  background-color: var(--warning-color);
}

.badge--full {
  background-color: var(--full-color);
  color: var(--white-color);
  cursor: not-allowed;
}

.badge--closed {
  background-color: var(--closed-color);
  color: #666;
  cursor: not-allowed;
}

/* ****************************** */
/* Greeting Section */
/* ****************************** */
.section-greeting {
  padding: 9.6rem 0 6rem;
  background-color: #f9f6f2;
  border-top: 1px solid #eee;
}

.section-greeting .subheading ion-icon {
  font-size: 2.4rem;
  color: var(--tertiary-color);
  vertical-align: middle;
  margin-right: 0.5rem;
}

.greeting-content {
  max-width: 110rem;
  width: 80%;
  margin: 0 auto;
  display: grid;
  grid-template-rows: repeat(7, 1fr);
  grid-template-columns: repeat(12, 1fr);
}

.greeting-image {
  width: 100%;
  height: 90%;
  object-fit: cover;
  object-position: top left;
  grid-row: 1 / span 7;
  grid-column: 1 / -2;
  filter: brightness(1.02);
}

.greeting-text-box {
  background-color: rgba(255, 255, 255, 0.82);
  box-shadow: 0 2rem 4.5rem rgba(0, 0, 3, 0.2);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(0, 0, 0, 0.05);
  grid-row: 2 / span 5;
  grid-column: 6 / span 7;
  z-index: 20;
  padding: 3.6rem 2.6rem 2.6rem;
  line-height: 1.9;
  color: #333;
  border-radius: 0.8rem;
}

.greeting-text-box p {
  font-size: 1.6rem;
}

.greeting-text-box p:not(:last-of-type) {
  margin-bottom: 1.3rem;
}

.signature {
  text-align: right;
  font-weight: 600;
  margin-top: 3rem;
  color: #777;
  font-size: 2.4rem;
  line-height: 1.6;
}

.signature-ja {
  font-family: 'Shippori Mincho', serif;
  font-size: 2rem;
  color: #444;
  font-weight: 500;
}


.signature-en {
  font-family: 'Caveat', cursive;
  font-size: 2.4rem;
  font-weight: 500;
  letter-spacing: 0.05rem;
  color: var(--tertiary-color);
  display: inline-block;
  margin-top: 0.3rem;
}

/* ****************************** */
/* Categories Section */
/* ****************************** */
.section-categories {
  background-color: var(--white-color);
  padding: 9.6rem 0;
}

.category-item {
  background-color: #f2f3f5;
  border-radius: 1.6rem;
  padding: 3rem 2.4rem;
  text-align: center;
  box-shadow: 0 0.4rem 1.2rem rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.category-item:hover {
  transform: translateY(-0.4rem);
  box-shadow: 0 0.8rem 2rem rgba(0, 0, 0, 0.08);
}

/* アイコン */
.category-item ion-icon {
  font-size: 4.4rem;
  margin-bottom: 1.6rem;
  transition: transform .3s;
}

.category-item:hover ion-icon {
  transform: scale(1.1);
}

.category-title {
  position: relative;
  font-size: 1.8rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 1.2rem;
  letter-spacing: .03em;
  line-height: 1.4;
  text-align: center;
  padding-bottom: .6rem;
  transition: color .3s ease;
}

/* 下線（アクセントカラー）*/
.category-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 4rem;
  height: .25rem;
  background-color: var(--cat-color);
  opacity: .5;
  border-radius: 1rem;
  transition: width .3s ease, opacity .3s ease;
}

/* hover時にちょっとだけ色を変化（アクセント） */
.category-item:hover .category-title {
  color: var(--primary-color);
}

/* テキスト */
.category-text {
  font-size: 1.6rem;
  line-height: 1.6;
  color: #444;
  margin-bottom: 2rem;
}

/* ボタン　*/
.category-btn {
  font-size: 1.4rem;
  padding: .8rem 1.6rem;
  border-radius: .6rem;
  border: 1px solid var(--accent-color);
}

.category-btn:hover, 
.category-btn:active {
  background-color: var(--accent-color-tint-2);
  color: var(--white-color);
  font-weight: 600;
}

/*************************************************
 *  モーダル
 *************************************************/
.modal {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100vh;
  background-color: rgba(0,0,0,.6);
  backdrop-filter: blur(6px);
  z-index: 9999;
  display: none;
  opacity: 0;
  transition: opacity .6s ease;
}

.modal.show {
  display: block;
  opacity: 1;
}

.modal-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  max-width: 100rem;
  background: rgba(255, 255, 255, .90);
  border-radius: .8rem;
  box-shadow: 0 2rem 4rem rgba(0,0,0,.2);
  padding: 3.2rem;
  
  display: grid;
  grid-template-columns: 50fr 50fr;
  gap: 4rem;
  animation: modal-scale-in .35s ease-out;
}

/* ====== GALLERY ====== */
.modal-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.6rem;
}

.modal-gallery-item {
  overflow: hidden;
}

/* 通常画像 */
.modal-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: .4rem;
  transition: transform .3s ease;
}

/* brand-mark.png (placeholder)のみグレー表示 */
.modal-gallery-item.placeholder img {
  filter: grayscale(100%) brightness(90%);
  opacity: .7;
}

.modal-gallery-item.placeholder img:hover {
  filter: grayscale(60%) brightness(100%);
  opacity: 1;
}

.modal-gallery-item img:hover {
  transform: scale(1.08);
}
/* ====== TEXT AREA ====== */
.modal-text {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  margin-top: 3rem;
  color: #333;
  gap: 2rem;
}

.modal-title {
  position: relative;
  font-size: 2.8rem;
  font-weight: 100;
  font-family: "Sawarabi Mincho", sans-serif;
  text-align: center;
  line-height: 1.2;
  letter-spacing: .8px;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.modal-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 55%;
  transform: translateX(-50%);
  width: 4rem;
  height: .25rem;
  background-color: var(--cat-color);
  opacity: .5;
  border-radius: 1rem;
  transition: width .3s ease, opacity .3s ease;
}


.modal-title-icon {
  font-size: 3rem;
  color: var(--cat-color, #888);
  transform: translateY(-.4rem);
}

.modal-description {
  font-size: 1.8rem;
  line-height: 1.9;
  text-align: left;
}

/* ====== CLOSE BUTTON ====== */
.modal-close {
  position: absolute;
  padding: 1rem;
  top: -1rem;
  right: 1.5rem;
  background: transparent;
  border: none;
  font-size: 5rem;
  color: #777;
  cursor: pointer;
  transition: color .2s;
}

.modal-close:hover {
  color: #000;
}

@keyframes modal-scale-in {
  from {
    opacity: 0;
    transform: translate(-50%, -50%) scale(.95);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

@keyframes modal-fade-out {
  from {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
  to {
    opacity: 0;
    transform: translate(-50%, -50%) scale(.95);
  }
}

.modal.hide .modal-content {
  animation: modal-fade-out .25s ease forwards;
}




/* ****************************** */
/* Access */
/* ****************************** */
.section-access {
  padding: 9.6rem 0;
  border-top: solid 1px #e6e4e4;
}

.section-access .subheading ion-icon {
  font-size: 2.4rem;
  color: var(--accent-color);
  vertical-align: middle;
  margin-right: 0.5rem;
}

.access-imgbox {
  text-align: center;
}

.access-imgbox img {
  width: 80%;
}

.access-place {
  font-size: 1.9rem;
  line-height: 1.4;
}

.access-note {
  list-style: none;
}

.access-note li {
  font-size: 1.6rem;
  line-height: 1.6;

  display: flex;
  gap: 1.2rem;
  align-items: start;
}

.access-note span {
  display: inline-block;
  width: 0.6rem;
  height: 0.6rem;
  background-color: currentColor;
  margin-top: 1rem;
}
/* ****************************** */
/* Gallery */
/* ****************************** */

.section-gallery {
  padding: 9.6rem 0;
  background-color: #f6fef9;
  border-top: 1px solid #ddd;
  box-shadow: 0 -2rem 3rem rgba(0, 0, 0, 0.03) inset;
}

.section-gallery .subheading ion-icon {
  font-size: 2.4rem;
  color: var(--primary-color);
  vertical-align: middle;
  margin-right: 0.5rem;
}

.gallery-content {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 7rem;
}

.gallery-image {
  height: auto;
  max-height: 40rem;
  max-width: 60rem;
  object-fit: contain;
  border-radius: 1.2rem;
  /* box-shadow: 0 1rem 2rem rgba(0,0,0,.08); */
  transition: transform 0.3s ease;
}

.gallery-content .announce {
  font-size: 5rem;
  padding-bottom: 10rem;
}

/* ****************************** */
/* Footer Section */
/* ****************************** */
.footer {
  padding: 4.8rem 0 9.6rem;
  border-top: 1px solid #ddd;
  background-color: #f2f2f2;
}

.footer-logo {
  display: block;
}

.footer-link:link,
.footer-link:visited {
  text-decoration: none;
  font-size: 1.6rem;
  color: #333;
  transition: all 0.3s;
}

.footer-link:hover,
.footer-link:active {
  color: #555;
}

.logo-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.6rem;
}

.contacts {
  font-style: normal;
  font-size: 1.6rem;
  line-height: 1.6;
}

.copyright {
  font-size: 1.4rem;
  line-height: 1.6;
}

/* ******************************* */
/* ログイン */
/* ******************************* */
.section-login {
  padding: 9.6rem 0 9.6rem;
  font-size: 1.5rem;
}

.admin-btn-group {
  display: flex;
  justify-content: center;
}

.admin-btn-group button {
  background: var(--primary-color);
  color: #fff;
  border: none;
  border-radius: 0.5rem;
  padding: 0.8rem 2.5rem;
  cursor: pointer;
  font-weight: bold;
  letter-spacing: 0.05rem;
  transition: background 0.2s ease;
}

.admin-btn-group button:hover {
  background: var(--primary-color-shade-1);
}

/* ******************************* */
/* エラー */
/* ******************************* */

.section-error {
  padding: 9.6rem 0 9.6rem;
}

/* ******************************* */
/* ログインページ */
/* ******************************* */
.page-login .error-message {
  display: block !important;
  margin: 0;
  padding: 0.6rem 1rem;
  background-color: #fff4f4; /* 少し明るめ */
  color: #d62828; /* 文字は濃い赤 */
  border-left: 4px solid #e53935;
  border-radius: 4px;
  font-size: 1.4rem;
  font-weight: 600;
}
