@charset "UTF-8";
/* CSS Document */

/* ---------- 固定バー本体 ---------- */
#applyBar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  /* スクロールで表示：初期は非表示 */
  transform: translateY(100%);
  opacity: 0;
  transition: transform 0.35s ease, opacity 0.35s ease;
  pointer-events: none;
}
#applyBar.applyBar--visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

/* ボタンエリアの黒透過背景：960px以上のみ表示 */
#applyBtnArea {
  position: relative;
}
@media (min-width: 960px) {
  #applyBtnArea {
    background: rgba(0, 0, 0, 0.8);
  }
}

/* ボタン群のコンテナ（最大960px中央寄せ） */
#applyBtnInner {
  display: flex;
  max-width: 960px;
  margin: 0 auto;
}

/* 各ゴールドグラデーションボタン */
.applyBtnItem {
  flex: 1;
  border: none;
  cursor: pointer;
  padding: 20px 16px;
  background: linear-gradient(
    180deg,
    #e1c36a 0%,
    #f3eabf 50%,
    #e1c36a 100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.15s;
  min-height: 56px;
}
.applyBtnItem:hover  { opacity: 0.88; }
.applyBtnItem:active { opacity: 0.75; }
.applyBtnItem + .applyBtnItem {
  border-left: 1px solid rgba(155, 110, 20, 0.45);
}

/* ボタン内の画像（デザインフォント画像） */
.applyBtnItem img.btnImg {
  display: block;
/*  height: 32px;*/
  width: auto;
  max-width: 70%;
}

/* 画像が読み込めなかった場合のテキストフォールバック */
.applyBtnFallback {
  display: none;
  color: #5a2000;
  font-size: 15px;
  font-weight: bold;
  letter-spacing: 0.06em;
  line-height: 1.2;
  text-align: center;
}

/* ---------- 応募締切帯（全幅ゴールド） ---------- */
#applyDeadline {
  background: #cba753;
  color: #fff;
  text-align: center;
  padding: 7px 16px;
  font-size: 14px;
  letter-spacing: 0.05em;
  white-space: nowrap;
  /* ※960px以上も背景はそのまま全幅 */
}
#applyDeadline .dlLabel {
  display: inline-block;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 20px;
  padding: 1px 12px;
  font-size: 11px;
  margin-right: 10px;
  vertical-align: middle;
  letter-spacing: 0.03em;
}
#applyDeadline .dlDate {
  vertical-align: middle;
  font-size: 15px;
}

/* ===================== オーバーレイ ===================== */
#applyOverlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  z-index: 10000;
  cursor: pointer;
}
body.applyModalOpen #applyOverlay {
  display: block;
}

/* ===================== モーダル共通 ===================== */
.applyModal {
  display: none;
  position: fixed;
  left: 50%;
  bottom: 96px; /* JS で動的更新 */
  transform: translateX(-50%) translateY(16px);
  z-index: 10001;
  width: 92%;
  max-width: 720px;
/*  border-radius: 8px 8px 0 0;*/
  overflow: hidden;
  opacity: 0;
  transition: transform 0.25s ease, opacity 0.25s ease;
  box-shadow: 0 -4px 24px rgba(0,0,0,0.3);
}
.applyModal.active {
  display: block;
}
.applyModal.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* 閉じる「×」ボタン */
.applyModalCloseBtn {
  position: absolute;
  top: 10px;
  right: 14px;
  background: none;
  border: none;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  padding: 4px;
  z-index: 2;
}

/* ===================== TEL モーダル ===================== */
#applyModalTel {
  background: #fff;
}
#applyModalTel .applyModalCloseBtn {
  color: #888;
}
.telModalInner {
  padding: 40px 24px 32px;
  text-align: center;
}
.telModalLabel {
  color: #e1c36a;
  font-size: 20px;
  letter-spacing: 0.07em;
  margin: 0 0 18px;
  text-align: center;
}
.telModalBtn {
  display: block;
  width: 100%;
  max-width: 560px;
  margin: 0 auto 20px;
  background: #e1c36a;
  color: #fff;
  font-size: 28px;
  letter-spacing: 0.1em;
  padding: 20px 12px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s;
  font-family: inherit;
}
@media (max-width: 480px) {
  .telModalBtn { font-size: 22px; padding: 16px 10px; }
}
.telModalBtn:hover  { background: #f3eabf; }
.telModalBtn:active { background: #f3eabf; }
.telModalHours {
  color: #555;
  font-size: 13px;
  margin: 0;
  letter-spacing: 0.03em;
  text-align: center;
}

/* ===================== WEB モーダル ===================== */
#applyModalWeb {
  background: #e1c36a;
  max-height: 80vh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
#applyModalWeb .applyModalCloseBtn {
  color: rgba(255, 255, 255, 0.85);
}
.webModalInner {
  padding: 14px 14px 12px;
}
/* 閉じるボタン分の上部余白 */
.webModalInner {
  padding-top: 20px;
}
.webModalInner p{
	text-align: center;
	color: #fff;
	font-size: 20px;
	margin-bottom: 20px;
}
.webGrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 8px;
}
.webStoreCard {
  background: #fff;
  border-radius: 4px;
  padding: 20px 12px;
  text-align: center;
  cursor: pointer;
  text-decoration: none;
  display: flex;           /* 追加 */
  align-items: center;     /* 追加：縦センター */
  justify-content: center; /* 追加：横センター */
  min-height: 72px;        /* 追加：カードの高さを揃える */
  transition: opacity 0.15s;
}
.webStoreCard:hover  { opacity: 0.85; }
.webStoreCard:active { opacity: 0.7; }
.webStoreName {
  display: block;
  color: #333;
  font-size: 16px;
  letter-spacing: 0.03em;
  line-height: 1.6;
  margin: 0; /* margin-bottom: 14px を削除 */
  text-align: center;
}
.webStoreLogoWrap {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 30px;
}
.webStoreLogoWrap img {
  max-height: 30px;
  width: auto;
  display: block;
}
.webBottomCard:hover  { opacity: 0.85; }
.webBottomCard:active { opacity: 0.7; }
@media (max-width: 780px) {
	.webStoreName {
		  font-size: 16px;
	}
}