@charset "UTF-8";

/* =========================================================
   生涯学習施設等予約システム並行運用
========================================================= */
/* ベースのコンテナ */
.booking-gateway {
  text-align: center;
}

.booking-gateway a {
  color: #000;
}

.booking-gateway img.external {
  display: none;
}

.gateway-desc {
  margin-bottom: 30px;
  color: #666;
}

/* ボタンの並び（PC時は左右、スマホ時は上下） */
.button-container {
  display: flex;
  flex-direction: column;
  /* デフォルトは縦並び（スマホ優先） */
  gap: 20px;
}

/* 共通ボタンスタイル */
.btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
  padding: 30px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.period {
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.system-name {
  font-size: 1rem;
}

/* 旧システムボタンの色（落ち着いたトーン） */
.btn-old {
  background-color: #e8ddb4;
  border: 2px solid #fadc00;
  color: #333;
}

/* 新システムボタンの色（目立つトーン） */
.btn-new {
  background-color: #fadc00;
  border: 2px solid #fadc00;
  color: #000;
}

/* 新システム側のバッジ（任意） */
.badge {
  position: absolute;
  top: -12px;
  right: 20px;
  background-color: #ee0000;
  color: #fff;
  font-size: 0.8rem;
  padding: 2px 10px;
  border-radius: 20px;
}

/* メディアクエリ：画面幅が600px以上（PC・タブレット）の場合に左右並び */
@media (min-width: 600px) {
  .button-container {
    flex-direction: row;
    /* 左右並びに切り替え */
  }
}