/* ================================================================
   custom.css — 癒しの手 ランディング（アプリ9画面 / ライトテーマ）
   配色：背景 #f7faf9 / カード #ffffff / ティール #167c77 / ゴールド #fdbc43
   クーポン仕様：当選 → 24時間後に利用可能 → さらに7日間有効
   ================================================================ */

.ap-body {
  margin: 0; background: #f7faf9; color: #2a2a2a;
  font-family: var(--font-noto-sans-jp), "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  -webkit-font-smoothing: antialiased; line-height: 1.7;
}
.ap-body * { box-sizing: border-box; }
.ap-body img { max-width: 100%; }
.ap-body button { font-family: inherit; }
/* style.css の .hidden より後に読み込まれるため明示的に優先させる */
.ap-body .hidden { display: none !important; }
.ap-body input { color: #2a2a2a; }

.ap-app { max-width: 480px; margin: 0 auto; min-height: 100vh; padding-bottom: 74px; position: relative; background: #f7faf9; }
.ap-view { display: none; }
.ap-view.is-on { display: block; }

/* ---------------- ヘッダー ---------------- */
.ap-bar {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between;
  gap: 8px; padding: 10px 14px;
  background: rgba(255, 255, 255, .95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #e6ebe9;
}
.ap-bar-logo { width: 122px; height: auto; display: block; }
.ap-bar-sub { justify-content: space-between; }
.ap-bar-title { font-size: 15px; font-weight: 700; color: #167c77; letter-spacing: .02em; }
.ap-bar-spacer { width: 34px; }
.ap-bar-btn {
  width: 34px; height: 34px; border-radius: 10px; border: 0;
  background: transparent; color: #167c77; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.ap-bar-btn svg { width: 22px; height: 22px; }

/* ---------------- 1. ホーム ---------------- */
.ap-hero { position: relative; }
.ap-hero > img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.ap-hero::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.05) 40%, rgba(0,0,0,.62) 100%);
}
.ap-hero-text { position: absolute; left: 18px; right: 18px; bottom: 18px; z-index: 2; }
.ap-hero-text h1 { margin: 0 0 8px; font-size: 25px; font-weight: 800; line-height: 1.4; letter-spacing: .02em; color: #fff; text-shadow: 0 2px 10px rgba(0,0,0,.35); }
.ap-hero-text p { margin: 0; font-size: 12.5px; color: #f2f0ea; line-height: 1.8; text-shadow: 0 1px 8px rgba(0,0,0,.45); }
.ap-hero-cta { padding: 14px 16px 4px; background: #fff; }

.ap-campaign {
  margin: 16px; padding: 18px 16px 16px; text-align: center;
  border-radius: 18px; border: 2px solid #fdbc43;
  background: #fffbe8;
  box-shadow: 0 8px 22px rgba(15, 23, 42, .07);
}
.ap-campaign-kicker { margin: 0; font-size: 11.5px; letter-spacing: .12em; color: #b8860b; font-weight: 700; }
.ap-campaign-title { margin: 6px 0 2px; font-size: 19px; font-weight: 800; line-height: 1.5; color: #2a2a2a; }
.ap-campaign-title strong { color: #c0392b; font-size: 22px; }
.ap-campaign-sub { margin: 0 0 14px; font-size: 12.5px; color: #6b7280; }
.ap-campaign-note { margin: 12px 0 0; font-size: 10.5px; color: #8d8a84; line-height: 1.7; }

.ap-block { padding: 18px 16px 4px; background: #f7faf9; }
.ap-block-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 12px; }
.ap-block-head h2 { margin: 0; font-size: 17px; font-weight: 800; color: #167c77; }
.ap-h3 { margin: 0 0 10px; font-size: 14.5px; font-weight: 800; color: #167c77; }
.ap-more { border: 0; background: transparent; color: #167c77; font-size: 12.5px; font-weight: 700; cursor: pointer; text-decoration: underline; }

.ap-popular { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.ap-pop-item { border: 0; background: transparent; padding: 0; cursor: pointer; text-align: center; }
.ap-pop-item img {
  width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 12px;
  border: 1px solid #e6ebe9; box-shadow: 0 6px 16px rgba(15, 23, 42, .08);
}
.ap-pop-item span { display: block; margin-top: 6px; font-size: 11.5px; color: #4b5563; font-weight: 600; }

.ap-footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 16px; padding: 22px 16px 0; }
.ap-footer-links a { color: #6b7280; font-size: 11.5px; text-decoration: none; }
.ap-photo-credit { margin: 16px 0 0; text-align: center; font-size: 10px; color: #a8b0ae; }
.ap-copyright { margin: 12px 0 0; padding-bottom: 8px; text-align: center; font-size: 10.5px; color: #9aa3a0; }

/* ---------------- 共通パーツ ---------------- */
.ap-cta {
  display: block; width: 100%; border: 0; cursor: pointer;
  background: #167c77; color: #fff;
  font-size: 16px; font-weight: 800; letter-spacing: .04em;
  padding: 15px 12px; border-radius: 14px;
  box-shadow: 0 8px 20px rgba(22, 124, 119, .22);
}
.ap-cta:active { transform: translateY(1px); }
.ap-cta-gold { background: linear-gradient(135deg, #fdd27a, #fdbc43); color: #5a3d05; box-shadow: 0 8px 20px rgba(253, 188, 67, .3); }
.ap-cta-ghost { margin-top: 10px; background: #fff; color: #167c77; border: 1px solid #cfe0dd; box-shadow: none; }
.ap-cta:disabled { filter: grayscale(.5) brightness(.95); cursor: default; }
.ap-sec-head { padding: 18px 16px 4px; text-align: center; }
.ap-h2 { margin: 0; font-size: 21px; font-weight: 800; color: #167c77; }
.ap-sub { margin: 8px 0 0; font-size: 12.5px; color: #6b7280; line-height: 1.75; }
.ap-sub strong { color: #c0392b; }
.ap-lead-center { margin: 14px 16px 0; text-align: center; font-size: 12.5px; color: #6b7280; }
.ap-try { margin: 16px 16px 12px; text-align: center; font-size: 14px; font-weight: 700; line-height: 1.75; color: #2a2a2a; }
.ap-note-center { margin: 10px 16px 0; text-align: center; font-size: 10.5px; color: #9aa3a0; }

.ap-info-card {
  margin: 14px 16px 0; padding: 14px 15px;
  background: #fff; border: 1px solid #e6ebe9; border-radius: 14px;
  box-shadow: 0 4px 14px rgba(15, 23, 42, .05);
}
.ap-info-card dt { display: inline-block; width: 74px; color: #167c77; font-size: 12px; font-weight: 700; }
.ap-info-card dd { display: inline; margin: 0; font-size: 12.5px; }
.ap-info-card > div { margin-bottom: 5px; }
.ap-info-card p { margin: 10px 0 0; padding-top: 10px; font-size: 11px; color: #6b7280; border-top: 1px solid #eef2f0; line-height: 1.7; }

/* ルーレット */
.ap-wheel-wrap { position: relative; width: min(300px, 80vw); margin: 6px auto 18px; }
.ap-wheel { display: block; width: 100%; height: auto; filter: drop-shadow(0 10px 22px rgba(15, 23, 42, .16)); }
.ap-pointer {
  position: absolute; top: -6px; left: 50%; transform: translateX(-50%);
  width: 0; height: 0; z-index: 4;
  border-left: 11px solid transparent; border-right: 11px solid transparent;
  border-top: 18px solid #167c77;
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .25));
}
.ap-go {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 62px; height: 62px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ffffff, #e8f1ef);
  border: 3px solid #167c77; color: #167c77;
  font-size: 16px; font-weight: 800; letter-spacing: .06em; cursor: pointer;
  box-shadow: 0 0 0 6px rgba(22, 124, 119, .12);
}
#ap-spin { margin: 0 16px; width: calc(100% - 32px); }

/* ---------------- 3. 抽選結果 ---------------- */
.ap-congrats { padding: 22px 16px 16px; text-align: center; }
.ap-gift { font-size: 40px; line-height: 1; }
.ap-congrats h2 { margin: 10px 0 6px; font-size: 20px; font-weight: 800; color: #167c77; }
.ap-congrats p { margin: 0; font-size: 13px; color: #4b5563; }

.ap-coupon-big {
  position: relative; margin: 4px 16px 0; padding: 20px 16px; text-align: center;
  border-radius: 16px; border: 2px solid #fdbc43;
  background: linear-gradient(150deg, #fffdf3, #fff6dc);
  box-shadow: 0 8px 22px rgba(253, 188, 67, .22);
  display: flex; flex-direction: column; gap: 4px;
}
.ap-coupon-new { position: absolute; top: -9px; right: 14px; background: #e74c3c; color: #fff; font-size: 10px; font-weight: 800; padding: 2px 9px; border-radius: 999px; }
.ap-coupon-name { font-size: 11.5px; color: #b8860b; font-weight: 700; }
.ap-coupon-value { font-size: 38px; font-weight: 800; color: #c0392b; line-height: 1.25; }
.ap-coupon-note { margin: 14px 16px 0; text-align: center; font-size: 12px; color: #4b5563; line-height: 1.8; }
.ap-coupon-note b { color: #c0392b; }
.ap-unlock {
  margin: 12px 16px 0; padding: 12px 14px; text-align: center;
  background: #fffbe8; border: 1px dashed #fdbc43;
  border-radius: 12px; font-size: 12.5px; color: #8a6d1f;
}
.ap-unlock b { font-variant-numeric: tabular-nums; font-size: 15px; color: #c0392b; }

.ap-detail-card { margin: 16px; padding: 14px 15px; background: #fff; border: 1px solid #e6ebe9; border-radius: 14px; box-shadow: 0 4px 14px rgba(15, 23, 42, .05); }
.ap-detail-card h3 { margin: 0 0 10px; font-size: 13.5px; font-weight: 800; color: #167c77; }
.ap-detail-card > div { display: flex; justify-content: space-between; gap: 10px; padding: 7px 0; border-bottom: 1px dashed #eef2f0; }
.ap-detail-card > div:last-child { border-bottom: 0; }
.ap-detail-card dt { color: #6b7280; font-size: 12px; margin: 0; }
.ap-detail-card dd { margin: 0; font-size: 12.5px; font-weight: 700; text-align: right; }
#view-result .ap-cta { margin: 16px 16px 0; width: calc(100% - 32px); }

/* ---------------- 4. 一覧 ---------------- */
.ap-list-lead { margin: 14px 16px; font-size: 12.5px; color: #6b7280; }
.ap-filters { padding: 0 16px 6px; }
.ap-filter-row { display: flex; gap: 7px; overflow-x: auto; padding-bottom: 8px; scrollbar-width: none; }
.ap-filter-row::-webkit-scrollbar { display: none; }
.ap-chip {
  flex: none; border: 1px solid #d9e3e0; background: #fff;
  color: #4b5563; font-size: 12px; font-weight: 700;
  padding: 7px 13px; border-radius: 999px; cursor: pointer; white-space: nowrap;
}
.ap-chip.is-on { background: #167c77; border-color: #167c77; color: #fff; }

.ap-list { padding: 6px 16px 8px; display: flex; flex-direction: column; gap: 12px; }
.ap-card-item {
  display: flex; gap: 12px; padding: 12px; border-radius: 16px;
  background: #fff; border: 1px solid #e6ebe9; cursor: pointer;
  box-shadow: 0 6px 18px rgba(15, 23, 42, .06);
}
.ap-card-item img { width: 96px; height: 120px; object-fit: cover; border-radius: 12px; flex: none; }
.ap-card-info { flex: 1; min-width: 0; }
.ap-card-top { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.ap-card-name { font-size: 16px; font-weight: 800; color: #2a2a2a; }
.ap-card-tag { font-size: 10px; font-weight: 800; color: #fff; background: linear-gradient(135deg, #ff7a45, #ff4d4f); padding: 3px 7px; border-radius: 5px; }
.ap-card-ok { font-size: 10px; font-weight: 800; color: #0b6b3a; background: #d6f5e3; padding: 3px 7px; border-radius: 5px; }
.ap-card-meta { margin: 5px 0 0; font-size: 11.5px; color: #6b7280; }
.ap-card-meta .ap-stars { color: #e6a700; font-weight: 700; }
.ap-card-price { margin: 6px 0 0; font-size: 13px; font-weight: 800; color: #167c77; }
.ap-card-desc { margin: 5px 0 0; font-size: 11.5px; color: #8a9491; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------------- 5. 詳細 ---------------- */
.ap-detail-photo { position: relative; }
.ap-detail-photo img { display: block; width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.ap-detail-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.2) 0%, rgba(0,0,0,0) 30%, rgba(0,0,0,.45) 100%); }
.ap-avail-detail { position: absolute; top: 48px; left: 14px; z-index: 3; background: #2ecc71; color: #fff; font-size: 11.5px; font-weight: 800; padding: 5px 11px; border-radius: 999px; box-shadow: 0 3px 10px rgba(0,0,0,.18); }
.ap-detail-back { position: absolute; top: 8px; left: 10px; z-index: 4; background: rgba(255, 255, 255, .88); color: #167c77; }
.ap-detail-body { padding: 4px 16px 20px; margin-top: -34px; position: relative; z-index: 2; background: #f7faf9; border-radius: 20px 20px 0 0; }
.ap-name-row { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; padding-top: 8px; }
.ap-name { margin: 0; font-size: 25px; font-weight: 800; color: #2a2a2a; }
.ap-tag { background: linear-gradient(135deg, #ff7a45, #ff4d4f); color: #fff; font-size: 10.5px; font-weight: 800; padding: 4px 8px; border-radius: 6px; white-space: nowrap; }
.ap-area { display: flex; align-items: center; gap: 5px; margin: 5px 0 13px; font-size: 12.5px; color: #6b7280; }
.ap-area svg { width: 14px; height: 14px; color: #167c77; }
.ap-stats { display: grid; grid-template-columns: repeat(3, 1fr); text-align: center; background: #fff; border: 1px solid #e6ebe9; border-radius: 14px; padding: 11px 0; box-shadow: 0 4px 14px rgba(15, 23, 42, .05); }
.ap-stats > div + div { border-left: 1px solid #eef2f0; }
.ap-stats b { display: block; font-size: 19px; font-weight: 800; color: #167c77; }
.ap-stats small { font-size: 10.5px; color: #6b7280; }
.ap-intro-text { margin: 0 0 12px; font-size: 12.5px; color: #4b5563; line-height: 1.85; }
.ap-spec { margin: 0; border-top: 1px solid #e6ebe9; }
.ap-spec > div { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px solid #e6ebe9; font-size: 12.5px; }
.ap-spec dt { color: #6b7280; margin: 0; }
.ap-spec dd { margin: 0; font-weight: 700; }

.ap-courses { display: flex; flex-direction: column; gap: 10px; }
.ap-course-card { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 14px; border-radius: 14px; background: #fff; border: 1px solid #e6ebe9; box-shadow: 0 4px 14px rgba(15, 23, 42, .05); }
.ap-course-card .ap-course-min { font-size: 14.5px; font-weight: 800; color: #2a2a2a; }
.ap-course-card .ap-course-price { font-size: 15px; font-weight: 800; color: #167c77; margin-top: 2px; }
.ap-course-card .ap-course-desc { font-size: 11px; color: #8a9491; margin-top: 3px; }
.ap-course-btn { flex: none; border: 0; border-radius: 10px; cursor: pointer; background: #167c77; color: #fff; font-size: 13px; font-weight: 800; padding: 10px 18px; box-shadow: 0 6px 14px rgba(22, 124, 119, .22); }
.ap-notice-bar { position: sticky; bottom: 74px; z-index: 30; margin: 0 16px 10px; padding: 11px 14px; text-align: center; background: #fffbe8; border: 1px solid #fdbc43; border-radius: 12px; font-size: 12px; color: #8a6d1f; font-weight: 600; }

/* ---------------- 6-7. 予約 / 確認 ---------------- */
.ap-card-row {
  display: flex; align-items: center; gap: 10px; margin: 14px 16px 0; padding: 12px 14px;
  background: #fff; border: 1px solid #e6ebe9; border-radius: 14px; font-size: 12.5px;
  box-shadow: 0 4px 14px rgba(15, 23, 42, .05);
}
.ap-card-row > span { color: #6b7280; }
.ap-card-row > b { margin-left: auto; font-size: 15px; color: #167c77; }
.ap-mini-btn { border: 1px solid #167c77; background: #fff; color: #167c77; font-size: 11.5px; font-weight: 700; padding: 5px 11px; border-radius: 8px; cursor: pointer; }
.ap-form-block { padding: 18px 16px 0; }
.ap-radio-list { display: flex; flex-direction: column; gap: 8px; }
.ap-radio { display: flex; align-items: center; gap: 10px; cursor: pointer; padding: 12px 14px; border-radius: 12px; background: #fff; border: 1px solid #d9e3e0; font-size: 13px; }
.ap-radio.is-on { border-color: #167c77; background: #eef6f5; }
.ap-radio input { accent-color: #167c77; width: 17px; height: 17px; flex: none; }
.ap-radio .ap-radio-price { margin-left: auto; font-weight: 800; color: #167c77; }
.ap-two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ap-field { display: block; margin-top: 10px; }
.ap-field > span { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; color: #4b5563; margin-bottom: 6px; }
.ap-field > span i { font-style: normal; font-size: 9.5px; background: #e74c3c; color: #fff; padding: 2px 5px; border-radius: 4px; }
.ap-field input { width: 100%; padding: 13px 13px; font-size: 14.5px; background: #fff; border: 1px solid #d9e3e0; border-radius: 12px; color: #2a2a2a; font-family: inherit; }
.ap-field input::placeholder { color: #a8b0ae; }
.ap-field input:focus { outline: 2px solid rgba(22, 124, 119, .35); border-color: #167c77; }
.ap-coupon-check { display: flex; align-items: center; gap: 10px; margin: 18px 16px 0; padding: 13px 14px; border-radius: 12px; background: #fffbe8; border: 1px dashed #fdbc43; font-size: 12.5px; cursor: pointer; color: #6b5a26; }
.ap-coupon-check.is-locked { background: #f4f6f5; border-color: #dfe5e3; color: #8a9491; }
.ap-coupon-check input { accent-color: #167c77; width: 18px; height: 18px; flex: none; }
.ap-coupon-check small { color: #b8860b; font-size: 11px; }
.ap-coupon-check.is-locked small { color: #8a9491; }
.ap-price-box { margin: 16px; padding: 14px 15px; background: #fff; border: 1px solid #e6ebe9; border-radius: 14px; box-shadow: 0 4px 14px rgba(15, 23, 42, .05); }
.ap-price-box > div { display: flex; justify-content: space-between; padding: 6px 0; font-size: 12.5px; }
.ap-price-box dt { color: #6b7280; margin: 0; }
.ap-price-box dd { margin: 0; font-weight: 700; }
.ap-price-discount dd { color: #e74c3c; }
.ap-price-total { border-top: 1px solid #eef2f0; margin-top: 6px; padding-top: 10px !important; }
.ap-price-total dt { color: #2a2a2a !important; font-weight: 700; }
.ap-price-total dd { color: #167c77; font-size: 18px; }
#bk-to-confirm, #cf-submit { margin: 0 16px; width: calc(100% - 32px); }
#bk-msg, #cf-msg { margin: 12px 16px 0; }

.ap-confirm-card { margin: 14px 16px 0; padding: 15px; background: #fff; border: 1px solid #e6ebe9; border-radius: 14px; box-shadow: 0 4px 14px rgba(15, 23, 42, .05); }
.ap-confirm-card > div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px dashed #eef2f0; font-size: 12.5px; }
.ap-confirm-card > div:last-child { border-bottom: 0; }
.ap-confirm-card dt { color: #6b7280; margin: 0; flex: none; }
.ap-confirm-card dd { margin: 0; text-align: right; font-weight: 700; word-break: break-all; }
.ap-confirm-card .ap-sum-total dd { color: #167c77; font-size: 16px; }
.ap-terms { display: flex; align-items: center; gap: 9px; margin: 16px; font-size: 12.5px; color: #4b5563; cursor: pointer; }
.ap-terms input { accent-color: #167c77; width: 18px; height: 18px; }
.ap-terms a { color: #167c77; }

/* ---------------- 8. 完了 ---------------- */
.ap-done-head { padding: 26px 16px 12px; text-align: center; }
.ap-check { width: 66px; height: 66px; margin: 0 auto 14px; border-radius: 50%; border: 3px solid #167c77; color: #167c77; display: flex; align-items: center; justify-content: center; font-size: 30px; font-weight: 800; box-shadow: 0 0 0 8px rgba(22, 124, 119, .1); background: #fff; }
.ap-done-head h2 { margin: 0 0 6px; font-size: 20px; font-weight: 800; color: #167c77; }
.ap-done-head p { margin: 0; font-size: 13px; color: #6b7280; }
.ap-resno { margin: 14px 16px 0; padding: 13px 15px; text-align: center; background: #fff; border: 1px solid #fdbc43; border-radius: 12px; }
.ap-resno dt { font-size: 11.5px; color: #6b7280; margin: 0 0 4px; }
.ap-resno dd { margin: 0; font-size: 19px; font-weight: 800; color: #c0392b; letter-spacing: .06em; }
.ap-done-note { margin: 14px 16px 0; text-align: center; font-size: 11.5px; color: #8a9491; line-height: 1.8; }
#view-done .ap-cta { margin: 16px 16px 0; width: calc(100% - 32px); }

/* ---------------- 9. クーポン ---------------- */
.ap-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin: 14px 16px 0; background: #fff; border: 1px solid #e6ebe9; border-radius: 12px; padding: 5px; }
.ap-tab { border: 0; background: transparent; color: #6b7280; padding: 10px 6px; border-radius: 9px; font-size: 13px; font-weight: 700; cursor: pointer; }
.ap-tab.is-on { background: #167c77; color: #fff; }
.ap-coupon-list { padding: 14px 16px 8px; display: flex; flex-direction: column; gap: 12px; }
.ap-coupon-item { display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: 16px; border: 2px solid #fdbc43; background: linear-gradient(150deg, #fffdf3, #fff7e0); box-shadow: 0 6px 18px rgba(253, 188, 67, .18); }
.ap-coupon-item.is-used { opacity: .6; border-color: #dfe5e3; background: #fff; box-shadow: none; }
.ap-coupon-badge { flex: none; width: 62px; height: 62px; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; background: #fff; border: 2px solid #fdbc43; color: #c0392b; line-height: 1.1; }
.ap-coupon-badge b { font-size: 17px; font-weight: 800; }
.ap-coupon-badge small { font-size: 9px; color: #b8860b; }
.ap-coupon-info { flex: 1; min-width: 0; }
.ap-coupon-info h3 { margin: 0 0 4px; font-size: 13.5px; font-weight: 800; color: #2a2a2a; }
.ap-coupon-info p { margin: 0; font-size: 10.5px; color: #6b7280; line-height: 1.7; }
.ap-coupon-info .ap-coupon-detail { margin-top: 7px; border: 1px solid #167c77; background: #fff; color: #167c77; font-size: 11px; font-weight: 700; padding: 5px 11px; border-radius: 8px; cursor: pointer; }
.ap-empty { text-align: center; color: #9aa3a0; font-size: 12.5px; padding: 30px 0; }

/* ---------------- 下部タブ ---------------- */
.ap-tabbar {
  position: fixed; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: 480px; z-index: 60;
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: rgba(255, 255, 255, .98); backdrop-filter: blur(10px);
  border-top: 1px solid #e6ebe9;
  box-shadow: 0 -4px 16px rgba(15, 23, 42, .06);
  padding: 6px 0 8px;
}
.ap-tabbar-item { border: 0; background: transparent; color: #9aa3a0; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 10px; font-weight: 700; padding: 4px 0; }
.ap-tabbar-item svg { width: 23px; height: 23px; }
.ap-tabbar-item.is-on { color: #167c77; }

/* ---------------- ドロワー ---------------- */
.ap-drawer { position: fixed; inset: 0; z-index: 80; background: #fff; padding: 26px 22px; overflow-y: auto; }
.ap-drawer nav { display: flex; flex-direction: column; }
.ap-drawer nav a { color: #2a2a2a; text-decoration: none; font-size: 16px; font-weight: 700; padding: 15px 4px; border-bottom: 1px solid #eef2f0; }
.ap-dl-block { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 22px; padding: 13px 16px; border-radius: 14px; background: #2a2a2a; text-decoration: none; }
.ap-dl-block svg { width: 26px; height: 26px; }
.ap-dl-block-text { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.25; }
.ap-dl-block-text small { font-size: 10.5px; color: #cfcfcf; }
.ap-dl-block-text strong { font-size: 15px; color: #fff; }

/* ---------------- FAQ（ホーム内） ---------------- */
.ap-faq-list { display: flex; flex-direction: column; gap: 9px; }
.ap-faq-item { background: #fff; border: 1px solid #e6ebe9; border-radius: 12px; overflow: hidden; box-shadow: 0 3px 10px rgba(15, 23, 42, .04); }
.ap-faq-q { display: flex; align-items: center; gap: 9px; width: 100%; background: transparent; border: 0; cursor: pointer; text-align: left; padding: 13px; color: #2a2a2a; font-size: 12.5px; font-weight: 600; }
.ap-q { color: #167c77; font-weight: 800; font-size: 11.5px; flex: none; }
.ap-qtext { flex: 1; }
.ap-faq-q svg { width: 17px; height: 17px; color: #167c77; flex: none; transition: transform .25s ease; }
.ap-faq-q.is-open svg { transform: rotate(180deg); }
.ap-faq-a { display: flex; gap: 9px; font-size: 11.5px; color: #4b5563; line-height: 1.85; border-top: 1px solid #eef2f0; margin: 0 13px 13px; padding: 11px 0 0; }
.ap-a { color: #167c77; font-weight: 800; flex: none; }
.ap-faq-a p { margin: 0; white-space: pre-line; }

.ap-form-msg { padding: 11px; border-radius: 10px; font-size: 12.5px; text-align: center; background: #fdecea; border: 1px solid #f5b7b1; color: #c0392b; }
.ap-form-msg.is-ok { background: #e8f8f0; border-color: #a3e0c0; color: #1e7a4c; }

/* ---------------- PC ---------------- */
@media (min-width: 768px) {
  .ap-app { border-left: 1px solid #e6ebe9; border-right: 1px solid #e6ebe9; background: #f7faf9; }
  .ap-hero-text h1 { font-size: 28px; }
}
