@charset "utf-8";
/* 文字樣式比照 tapple.me：Noto Sans 400／700／900、深藍字 #142346、
   標題漸層字（#fc5c6c → #86f → #00c2da）、粉橘漸層膠囊按鈕（#fc5c6c → #ffd37e）。
   版面沿用原本設計，這支只改文字與新增區塊。 */
:root {
  --c-ink: #142346;
  --t-pink: #fc5c6c;
  --t-pink2: #e64c5b;
  --t-cyan: #00c2da;
  --t-yellow: #ffd37e;
  --t-gray: #8a94a6;
  --t-grad: linear-gradient(127deg, #fc5c6c 0%, #8866ff 55%, #00c2da 100%);
  --t-btn: linear-gradient(100deg, #fc5c6c, #ffd37e);
}
body { color: var(--c-ink); font-size: 14px; font-weight: 400; line-height: 1.9; letter-spacing: .03em; }
a:link, a:visited { color: inherit; }
.tx-grad {
  background: var(--t-grad); -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
}

/* 既有區塊的文字改成 tapple 風格（粗體標題、深藍字） */
.catch-copy .txt { font-size: 16px; line-height: 2; }
.catch-copy .txt strong { font-weight: 700; color: var(--t-pink); }
.txt-01 { font-size: 16px; font-weight: 700; }
.mission-txt-ja h2 { font-size: 30px; font-weight: 900; line-height: 1.5; }
.mission-txt-ja p { font-size: 15px; }
.spec-list li b { font-weight: 700; color: var(--t-pink); }
.spec-list li.is-ng b { color: var(--t-gray); }
.service-list-ttl { font-size: 22px; font-weight: 900; }
.service-list-txt { font-size: 14px; }
.project-list-txt { font-size: 18px; font-weight: 700; }
.products-sub-ttl { font-weight: 700; }
.products-list-ttl { font-weight: 700; }
.products-list-txt { font-weight: 700; }
.products-container-pickup-ttl { font-family: var(--f-ja); font-size: 20px; font-weight: 900; line-height: 1.4; }
.products-container-pickup-txt { font-size: 14px; }
.news-list-ttl { font-size: 15px; font-weight: 700; }
.news-lead { font-weight: 700; }
.recruit-txt-02 { font-size: 13px; }
.footer-cta p { font-size: 16px; font-weight: 700; }

/* 共用：漸層膠囊按鈕 */
.t-btn {
  display: inline-flex; align-items: center; justify-content: center; min-width: 208px; height: 62px; padding: 0 32px;
  border-radius: 999px; color: #fff !important; font-size: 17px; font-weight: 900; letter-spacing: .06em;
  background: var(--t-btn); box-shadow: 0 10px 24px rgba(252, 92, 108, .25); transition: .3s;
}
.t-btn:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(252, 92, 108, .35); }
.t-btn.is-white { color: var(--t-pink) !important; background: #fff; box-shadow: 0 10px 24px rgba(0, 0, 0, .12); }
.t-btn.is-line { min-width: 0; height: 52px; color: var(--t-pink) !important; font-size: 15px; background: #fff; border: 2px solid var(--t-pink); box-shadow: none; }
.t-note { color: var(--t-gray); font-size: 11px; line-height: 1.7; }

/* ===== 新區塊 1：漸層大字＋置中說明（圖 6） ===== */
.t-stat { padding: 40px 16px 160px; text-align: center; }
.t-stat-ttl { font-size: clamp(30px, 4.6vw, 56px); font-weight: 900; line-height: 1.45; letter-spacing: .02em; }
.t-stat .t-note { margin: 24px 0 48px; }
.t-stat-txt { font-size: 17px; font-weight: 500; line-height: 2; }

/* ===== 新區塊 2：常見問題 Q／A（圖 8） ===== */
.t-qa { display: flex; justify-content: space-between; max-width: 1120px; margin: 0 auto 160px; padding: 0 16px; }
.t-qa-head { width: 30%; }
.t-qa-ttl { font-size: 34px; font-weight: 900; line-height: 1.3; }
.t-qa-en { margin: 4px 0 0; color: var(--t-pink); font-size: 15px; font-weight: 700; }
.t-qa-body { width: 64%; }
.t-qa-list > li { display: flex; align-items: center; gap: 24px; padding: 20px 0; border-bottom: 1px solid #e3e6ec; }
.t-qa-list > li:first-child { padding-top: 0; }
.t-qa-txt { flex: 1; }
.t-qa-q, .t-qa-a { display: flex; align-items: flex-start; gap: 16px; }
.t-qa-q { margin: 0 0 16px; font-size: 19px; font-weight: 900; line-height: 1.5; }
.t-qa-a { font-size: 14px; }
.t-qa-q::before, .t-qa-a::before {
  flex: 0 0 32px; height: 32px; border-radius: 3px; color: #fff; font-size: 15px; font-weight: 900; line-height: 32px;
  text-align: center; background: var(--t-pink);
}
.t-qa-q::before { content: "Q"; }
.t-qa-a::before { content: "A"; margin-top: -4px; }
.t-qa-arrow {
  flex: 0 0 40px; height: 40px; border: 2px solid var(--t-pink); border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center; transition: .3s;
}
.t-qa-arrow svg { width: 14px; height: 14px; stroke: var(--t-pink); transition: .3s; }
.t-qa-arrow:hover { background: var(--t-pink); }
.t-qa-arrow:hover svg { stroke: #fff; }
.t-qa-more { margin: 24px 0 0; text-align: right; }

/* ===== 新區塊 3：粉橘漸層＋淡照片背景（圖 9） ===== */
.t-band { isolation: isolate; position: relative; overflow: hidden; margin: 0 0 160px; padding: 80px 16px; color: #fff; }
.t-band::before {
  content: ""; position: absolute; inset: -20px; z-index: -2;
  background: var(--band-bg) center / cover no-repeat; filter: grayscale(.2) blur(2px);
}
.t-band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(252, 92, 108, .9), rgba(255, 190, 120, .85)); }
.t-band-inner { display: flex; align-items: center; justify-content: space-between; gap: 56px; max-width: 1120px; margin: 0 auto; }
.t-band-txt { flex: 1; }
.t-band-ttl { margin: 0 0 16px; font-size: 26px; font-weight: 900; line-height: 1.5; }
.t-band-lead { font-size: 15px; font-weight: 500; }
.t-band .t-note { margin: 12px 0 32px; color: rgba(255, 255, 255, .85); }
.t-band-img { flex: 0 0 48%; overflow: hidden; border-radius: 12px; box-shadow: 0 20px 40px rgba(120, 30, 40, .25); }
.t-band-img img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }

/* ===== 新區塊 4：柔和漸層背景＋手機與圖示（圖 7） ===== */
.t-dl { isolation: isolate; position: relative; overflow: hidden; padding: 120px 16px; }
.t-dl::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(40% 50% at 15% 85%, rgba(252, 92, 108, .16), transparent 70%),
    radial-gradient(35% 45% at 85% 20%, rgba(0, 194, 218, .14), transparent 70%),
    radial-gradient(30% 40% at 60% 90%, rgba(136, 102, 255, .12), transparent 70%),
    #fbfbfe;
}
.t-dl-inner { display: flex; align-items: center; justify-content: space-between; gap: 48px; max-width: 1040px; margin: 0 auto; }
.t-dl-txt { flex: 1; max-width: 440px; }
.t-dl-ttl { margin: 0 0 24px; font-size: 34px; font-weight: 900; line-height: 1.4; }
.t-dl-lead { font-size: 16px; font-weight: 500; }
.t-dl .t-note { margin: 16px 0 32px; }
.t-dl-visual { position: relative; flex: 0 0 46%; }
.t-dl-visual img { display: block; width: 100%; max-width: 440px; margin-left: auto; }
.t-dl-icon {
  position: absolute; left: 0; bottom: 10%; display: flex; flex-direction: column; align-items: center; justify-content: center;
  width: 136px; height: 136px; border-radius: 30px; background: #fff; box-shadow: 0 16px 36px rgba(20, 35, 70, .14);
}
.t-dl-icon b { font-family: var(--f-din); font-size: 34px; font-weight: 600; line-height: 1; }
.t-dl-icon span { margin: 6px 0 0; color: var(--t-gray); font-size: 12px; font-weight: 700; }

@media screen and (max-width: 896px) {
  body { font-size: 14px; }
  .mission-txt-ja h2 { font-size: 22px; }
  .t-stat { padding: 0 16px 80px; }
  .t-stat-txt { font-size: 15px; }
  .t-qa { display: block; margin-bottom: 80px; }
  .t-qa-head, .t-qa-body { width: auto; }
  .t-qa-head { margin: 0 0 32px; }
  .t-qa-ttl { font-size: 26px; }
  .t-qa-q { font-size: 16px; }
  .t-qa-arrow { display: none; }
  .t-qa-more { text-align: center; }
  .t-band { margin-bottom: 80px; padding: 56px 16px; }
  .t-band-inner { flex-direction: column; gap: 32px; }
  .t-band-ttl { font-size: 21px; }
  .t-band-img { flex-basis: auto; width: 100%; }
  .t-dl { padding: 64px 16px; }
  .t-dl-inner { flex-direction: column-reverse; gap: 32px; }
  .t-dl-ttl { font-size: 26px; }
  .t-dl-txt { text-align: center; }
  .t-dl-visual { width: 100%; }
  .t-dl-visual img { max-width: 300px; margin: 0 auto; }
  .t-dl-icon { width: 96px; height: 96px; border-radius: 22px; left: 4%; }
  .t-dl-icon b { font-size: 24px; }
}

/* ===== 常見問題：合併版（Q／A 設計＋分類篩選＋展開） ===== */
.t-qa-lead { margin: 24px 0 24px; font-size: 14px; font-weight: 700; line-height: 1.8; }
.t-qa-nav { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.t-qa-nav button {
  padding: 4px 18px; border-radius: 999px; color: var(--c-ink); font-size: 13px; font-weight: 700;
  background: #f4f5f8; transition: .3s;
}
.t-qa-nav button:hover { color: var(--t-pink); }
.t-qa-nav button.is-active { color: #fff; background: var(--t-pink); }
.t-qa-item[hidden] { display: none; }
.t-qa-a-body p + p, .t-qa-a-body ol { margin-top: .4em; }
.t-qa-a-body ol { padding-left: 1.4em; }
.t-qa-item:not(.is-open) .t-qa-a-body > :not(:first-child) { display: none; }
.t-qa-item:not(.is-open) .t-qa-a-body > p:first-child {
  display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden;
}
.t-qa-arrow { cursor: pointer; background: transparent; }
.t-qa-item.is-open .t-qa-arrow { background: var(--t-pink); }
.t-qa-item.is-open .t-qa-arrow svg { stroke: #fff; transform: rotate(90deg); }
@media screen and (max-width: 896px) {
  .t-qa-nav { flex-direction: row; flex-wrap: wrap; }
  .t-qa-arrow { display: inline-flex; flex-basis: 32px; height: 32px; }
}

/* ===== 捲動後的 navbar：整條白底固定列，選單不再消失、間距拉開 ===== */
.header.is-fixed::before {
  content: ""; position: fixed; top: 0; left: 0; right: 0; height: 72px; z-index: 180;
  background: rgba(255, 255, 255, .94); border-bottom: 1px solid #eceef3;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); box-shadow: 0 4px 20px rgba(20, 35, 70, .05);
}
.header.is-fixed .fade-logo { top: 15px; }
.header.is-fixed .fade-logo svg { width: 52px; }
.header.is-fixed .header-btn { top: 16px; }
.header.is-fixed .header-nav {
  opacity: 1; pointer-events: auto; position: fixed; top: 0; height: 72px; margin: 0; z-index: 195;
  left: auto; right: max(88px, calc((100vw - 1100px) / 2 + 72px)); align-items: center;
}
.header.is-fixed .header-nav li { margin: 0 0 0 48px; }
.header.is-fixed .header-nav li a { padding: 8px 0; font-size: 13px; font-weight: 600; letter-spacing: .12em; }
.header.is-fixed .header-nav li a:hover { color: var(--t-pink); }
.header.is-fixed .header-nav li a::before { background: var(--t-pink); }
.header.is-fixed .header-btn::before { background: var(--c-ink); }
@media screen and (max-width: 1180px) {
  .header.is-fixed .header-nav li { margin-left: 28px; }
}
@media screen and (max-width: 896px) {
  .header.is-fixed::before { height: 64px; }
  .header.is-fixed .fade-logo { top: 11px; left: 16px; }
  .header.is-fixed .fade-logo svg { width: 46px; }
  .header.is-fixed .header-btn { top: 4px; right: 12px; }
}

/* 全螢幕選單：還原原始設計（深黑底、英文大字＋下方小字說明） */
.hbg-menu { background: #171717; }
.header-nav li a span { letter-spacing: .12em; }

/* ===== 最後一區（BUY NOW）：不連結、文字全白 ===== */
.recruit-bg, .recruit-bg .recruit-inner, .recruit-bg .recruit-txt-01, .recruit-bg .recruit-txt-02,
.recruit-bg .recruit-txt-03, .recruit-bg .recruit-txt-04, .recruit-bg .recruit-note { color: #fff !important; }
.recruit-bg { cursor: default; }
.recruit-btn .t-btn { cursor: default; min-width: 200px; height: 64px; font-size: 18px; color: var(--t-pink) !important; }
.recruit-btn .t-btn:hover { transform: none; box-shadow: 0 10px 24px rgba(0, 0, 0, .12); }
.recruit-txt-04 .sp { flex: 0 0 .5em; }
.recruit-txt-04 { font-weight: 200; }

/* ===== 步驟卡片：可點擊＋播放標籤 ===== */
.project-list-item > div[role="button"] { cursor: pointer; }
.project-list-item > div[role="button"]:focus-visible { outline: 3px solid var(--t-pink); outline-offset: -3px; }
.project-list-img { position: relative; }
.project-list-play {
  position: absolute; left: 16px; bottom: 16px; z-index: 2; padding: 4px 14px; border-radius: 999px;
  color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .08em; background: var(--t-pink);
  box-shadow: 0 6px 16px rgba(228, 0, 101, .35); transition: .3s;
}
.project-list-item > div:hover .project-list-play { background: #fff; color: var(--t-pink); }

/* ===== 教學彈窗（原生 dialog） ===== */
.pp-modal {
  width: min(960px, 94vw); max-height: 92vh; padding: 0; border: 0; border-radius: 20px; overflow: auto;
  color: var(--c-ink); background: #fff; box-shadow: 0 30px 90px rgba(0, 0, 0, .4); overscroll-behavior: contain;
}
.pp-modal::backdrop { background: rgba(20, 24, 36, .62); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.pp-modal[open] { animation: ppIn .4s cubic-bezier(.2, .8, .2, 1); }
@keyframes ppIn { from { opacity: 0; transform: translateY(24px) scale(.97); } to { opacity: 1; transform: none; } }
body.is-modal-open { overflow: hidden; }
.pp-close {
  position: absolute; top: 16px; right: 16px; z-index: 5; width: 44px; height: 44px; border: 1px solid #dfe2ea;
  border-radius: 50%; background: #fff; transition: .3s;
}
.pp-close::before, .pp-close::after { content: ""; position: absolute; top: 50%; left: 50%; width: 16px; height: 2px; background: var(--c-ink); }
.pp-close::before { transform: translate(-50%, -50%) rotate(45deg); }
.pp-close::after { transform: translate(-50%, -50%) rotate(-45deg); }
.pp-close:hover { background: var(--t-pink); border-color: var(--t-pink); }
.pp-close:hover::before, .pp-close:hover::after { background: #fff; }
.pp-grid { display: grid; grid-template-columns: 330px 1fr; gap: 48px; align-items: center; padding: 48px; }
.pp-visual { display: flex; justify-content: center; padding: 28px 0; border-radius: 16px;
  background: radial-gradient(70% 60% at 30% 20%, rgba(252, 92, 108, .14), transparent 70%), radial-gradient(60% 60% at 80% 80%, rgba(0, 194, 218, .14), transparent 70%), #f7f8fc; }
.pp-phone {
  width: min(250px, 70%); aspect-ratio: 9 / 19; padding: 3px; border-radius: 38px;
  background: linear-gradient(145deg, #e4e6e9, #8d9298 40%, #cfd2d6 62%, #7c8187); box-shadow: 0 18px 40px rgba(20, 35, 70, .25);
}
.pp-screen { position: relative; width: 100%; height: 100%; padding: 6px; border-radius: 35px; overflow: hidden; background: #0a0a0b; }
.pp-screen video { display: block; width: 100%; height: 100%; border-radius: 29px; object-fit: cover; background: #fff; }
.pp-dial { display: flex; flex-direction: column; align-items: center; padding: 38px 14px 18px; background: #f4f2f8; border: 6px solid #0a0a0b; border-radius: 35px; }
.pp-dial-num { margin: 8px 0 14px; font-size: 34px; font-weight: 600; letter-spacing: .06em; }
.pp-dial-keys { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; width: 100%; }
.pp-dial-keys i { display: grid; place-items: center; aspect-ratio: 1.5; border-radius: 999px; font-family: var(--f-din); font-size: 20px; font-style: normal; background: #fff; }
.pp-dial-keys i:nth-child(10) { outline: 2px solid var(--t-pink); }
.pp-eid { width: 100%; margin-top: auto; padding: 12px; border-radius: 14px; font-size: 11px; line-height: 1.6; background: #fff; box-shadow: 0 8px 20px rgba(20, 35, 70, .12); }
.pp-eid b { display: inline-block; margin-bottom: 4px; padding: 0 10px; border-radius: 999px; color: #fff; font-size: 11px; background: var(--t-pink); }
.pp-eid span { display: block; font-size: 12px; letter-spacing: .04em; }
.pp-eid em { display: block; margin-top: 4px; color: var(--t-pink); font-style: normal; font-weight: 700; }
.pp-tag { display: inline-block; margin: 0 0 12px; padding: 2px 14px; border-radius: 999px; color: #fff; font-size: 12px; letter-spacing: .1em; background: var(--c-dark); }
.pp-text h2 { margin: 0 0 20px; font-size: 26px; font-weight: 900; line-height: 1.45; }
.pp-steps { counter-reset: n; display: grid; gap: 12px; margin: 0 0 24px; }
.pp-steps li { position: relative; padding-left: 40px; counter-increment: n; font-size: 15px; line-height: 1.8; }
.pp-steps li::before {
  content: counter(n); position: absolute; left: 0; top: 2px; display: grid; place-items: center; width: 26px; height: 26px;
  border-radius: 50%; color: #fff; font: 700 13px/1 var(--f-din); background: var(--t-pink);
}
.pp-steps b, .pp-notes b { color: var(--t-pink); font-weight: 700; }
.pp-notes { display: grid; gap: 8px; padding: 18px 20px; border-radius: 12px; font-size: 13.5px; line-height: 1.8; background: #fff4f5; }
.pp-notes li { position: relative; padding-left: 18px; }
.pp-notes li::before { content: ""; position: absolute; left: 2px; top: .8em; width: 7px; height: 7px; border-radius: 50%; background: var(--t-pink); }
.pp-fine { margin: 14px 0 0; color: var(--t-gray); font-size: 11px; }
@media screen and (max-width: 896px) {
  .pp-grid { grid-template-columns: 1fr; gap: 24px; padding: 64px 20px 28px; }
  .pp-visual { padding: 20px 0; }
  .pp-phone { width: min(230px, 62%); }
  .pp-text h2 { font-size: 21px; }
  .project-list-play { left: 12px; bottom: 12px; }
}
@media (prefers-reduced-motion: reduce) { .pp-modal[open] { animation: none; } }

/* ===== 彈窗：影片不加手機框；STEP 03 圖文教學 ===== */
.pp-visual--video { align-items: center; padding: 24px; }
.pp-visual--video video {
  display: block; width: min(250px, 100%); aspect-ratio: 9 / 16; border-radius: 22px; object-fit: cover;
  background: #fff; box-shadow: 0 18px 44px rgba(20, 35, 70, .28);
}
.pp-modal--wide { width: min(1080px, 94vw); }
.pp-modal--wide .pp-grid { grid-template-columns: 310px 1fr; align-items: start; }
.pp-shots { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 0 0 24px; }
.pp-shots figure { margin: 0; overflow: hidden; border-radius: 14px; background: linear-gradient(135deg, #7e2b6e, #0066b8); }
.pp-shots img { display: block; width: 100%; height: auto; }
.pp-shots figcaption { padding: 10px 14px; color: #fff; font-size: 13px; font-weight: 700; text-align: center; background: rgba(20, 24, 36, .55); }
.pp-shots figcaption b { margin-right: 4px; color: #ffd37e; }
@media screen and (max-width: 896px) {
  .pp-modal--wide .pp-grid { grid-template-columns: 1fr; }
  .pp-visual--video video { width: min(230px, 62%); }
  .pp-shots { grid-template-columns: 1fr; }
}

/* 步驟卡片：直式圖（STEP 02）完整顯示在淡色底上 */
.project-list-img.is-contain { background: linear-gradient(135deg, #eef2fb, #fdeef2); }
.project-list-img.is-contain img { object-fit: contain; padding: 10px 0 0; }
.pp-methods li { padding-left: 40px; }
.pp-methods li > b:first-child { display: inline-block; margin-right: 4px; color: var(--c-ink); }

/* ===== T-money 領取地點（機場） ===== */
.airport-list { margin: 40px 0 0; }
.airport-ttl { display: flex; align-items: baseline; gap: 12px; margin: 0 0 20px; font-size: 20px; font-weight: 900; }
.airport-ttl small { color: var(--c-gray); font-size: 12px; font-weight: 400; letter-spacing: .12em; }
.airport-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.airport-grid > li { padding: 24px; border: 1px solid var(--c-line); border-radius: 12px; background: #fff; transition: .3s; }
.airport-grid > li:hover { border-color: var(--t-pink); box-shadow: 0 10px 24px rgba(252, 92, 108, .12); }
.airport-name { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 14px; font-size: 16px; font-weight: 900; line-height: 1.4; }
.airport-name span { flex: none; padding: 1px 10px; border-radius: 999px; color: #fff; font-size: 11px; letter-spacing: .08em; background: var(--c-dark); }
.airport-spots > li { display: grid; grid-template-columns: auto 1fr; gap: 2px 12px; padding: 10px 0; border-top: 1px solid var(--c-line); font-size: 13px; line-height: 1.6; }
.airport-spots > li b { color: var(--t-pink); font-weight: 700; }
.airport-spots > li span { color: #363636; }
.airport-spots > li em { grid-column: 2; width: fit-content; font-style: normal; color: var(--c-gray); font-family: var(--f-din); letter-spacing: .04em; }
.airport-spots > li em.is-24h { color: #fff; padding: 0 10px; border-radius: 999px; font-family: var(--f-ja); font-size: 12px; font-weight: 700; background: var(--t-pink); }
.airport-note { margin: 16px 0 0; font-size: 13px; color: #363636; }
.airport-note b { color: var(--t-pink); font-weight: 700; }
@media screen and (max-width: 896px) {
  .airport-list { margin-top: 28px; }
  .airport-grid { grid-template-columns: 1fr; }
  .airport-grid > li { padding: 18px; }
}

/* 機場卡片：Google 地圖按鈕 */
.airport-map {
  display: inline-flex; align-items: center; gap: 8px; margin: 0 0 12px; padding: 6px 16px 6px 12px; border: 1.5px solid var(--t-pink);
  border-radius: 999px; color: var(--t-pink) !important; font-size: 13px; font-weight: 700; line-height: 1.4; background: #fff; transition: .3s;
}
.airport-map svg { width: 16px; height: 16px; flex: none; }
.airport-map:hover { color: #fff !important; background: var(--t-pink); }
.airport-map:hover svg circle { fill: var(--t-pink); }
.airport-map:focus-visible { outline: 3px solid var(--t-pink); outline-offset: 2px; }

/* ===== 左欄 sticky：右邊內容很長時，左邊的大數字與說明跟著捲動 ===== */
.mission { align-items: flex-start; }
.mission-img { position: sticky; top: 112px; align-self: flex-start; margin-bottom: 0; }
@media screen and (max-width: 896px) {
  .mission-img { position: static; margin-bottom: 24px; }
}

/* 粉橘漸層區與下方深色方案區之間不留白（兩區直接相連） */
.t-band { margin-bottom: 0; }
@media screen and (max-width: 896px) { .t-band { margin-bottom: 0; } }

/* 方案內容四欄圖卡：遮罩上深下淺，白底圖上的白字也讀得到 */
.service-list-item a::after { background: linear-gradient(to bottom, rgba(0, 0, 0, .62) 0%, rgba(0, 0, 0, .42) 45%, rgba(0, 0, 0, .3) 100%); }


/* ===== 多語系：字型與對齊 ===== */
html:lang(en), html:lang(vi) { --f-ja: "Noto Sans", "Noto Sans TC", sans-serif; }
html:lang(ja) { --f-ja: "Noto Sans JP", "Noto Sans TC", sans-serif; }
html:lang(ko) { --f-ja: "Noto Sans KR", "Noto Sans TC", sans-serif; }
html:lang(en) body, html:lang(vi) body { text-align: left; font-feature-settings: normal; }
html:lang(ko) body { word-break: keep-all; }
html:lang(ja) .ttl-02, html:lang(ko) .ttl-02 { letter-spacing: .02em; }
html:lang(en) .header-nav li a span, html:lang(vi) .header-nav li a span { letter-spacing: .06em; }

/* ===== 語言切換下拉（比照 Docomo 頁：地球圖示＋目前語言） ===== */
.lang-switch { position: relative; z-index: 205; margin: 0 14px 0 28px; font-family: var(--f-ja); }
.lang-switch summary {
  list-style: none; display: flex; align-items: center; gap: 8px; padding: 9px 14px; border: 1px solid var(--c-line);
  border-radius: 999px; background: #fff; color: var(--c-ink); font-size: 13px; font-weight: 500; line-height: 1;
  white-space: nowrap; cursor: pointer; user-select: none; transition: .3s;
}
.lang-switch summary::-webkit-details-marker { display: none; }
.lang-switch summary svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; flex: none; }
.lang-switch summary::after {
  content: ""; width: 6px; height: 6px; margin-left: 2px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px); transition: transform .3s;
}
.lang-switch[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
.lang-switch summary:hover, .lang-switch[open] summary { color: var(--t-pink); border-color: var(--t-pink); }
.lang-switch summary:focus-visible { outline: 3px solid var(--t-pink); outline-offset: 2px; }
.lang-switch ul {
  position: absolute; top: calc(100% + 8px); right: 0; min-width: 168px; padding: 8px; border-radius: 14px;
  background: #fff; box-shadow: 0 16px 40px rgba(20, 35, 70, .2); border: 1px solid #eceef3;
}
.lang-switch li a {
  position: relative; display: block; padding: 10px 36px 10px 14px; border-radius: 8px; color: var(--c-ink) !important;
  font-size: 14px; font-weight: 500; line-height: 1.2; white-space: nowrap;
}
.lang-switch li a:hover { color: var(--t-pink) !important; background: #fff4f5; }
.lang-switch li a[aria-current] { color: var(--t-pink) !important; font-weight: 700; }
.lang-switch li a[aria-current]::after { content: "✓"; position: absolute; right: 14px; top: 50%; transform: translateY(-50%); font-size: 13px; }

/* 捲動後：語言鈕固定在白底列、靠近右上圓鈕；選單再往左讓出位置 */
.header.is-fixed .lang-switch { position: fixed; top: 19px; margin: 0; right: calc(max(16px, (100vw - 1100px) / 2) + 54px); }
.header.is-fixed .header-nav { right: calc(max(16px, (100vw - 1100px) / 2) + 54px + 168px + 20px); }
.header.is-fixed .header-nav li { margin-left: 40px; }
@media screen and (max-width: 1180px) {
  .header.is-fixed .header-nav li { margin-left: 24px; }
}

/* 手機選單裡的語言列 */
.hbg-lang {
  display: flex; flex-wrap: wrap; gap: 10px 24px; max-width: 1100px; margin: 56px auto 0; padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, .25); font-family: var(--f-ja);
}
.hbg-lang a { color: #fff; font-size: 15px; font-weight: 500; opacity: .75; transition: .3s; }
.hbg-lang a:hover { opacity: 1; color: var(--t-pink); }
.hbg-lang a[aria-current] { opacity: 1; text-decoration: underline; text-decoration-color: var(--t-pink); text-underline-offset: 6px; }

@media screen and (max-width: 896px) {
  .lang-switch { margin: 0 12px 0 auto; }
  .header-btn { margin: 0; }
  .lang-switch summary { padding: 11px 12px; }
  .lang-switch summary span { display: none; }
  .header.is-fixed .lang-switch { top: 14px; right: 78px; }
  .hbg-lang { margin-top: 40px; }
}

/* ===== 粉橘漸層帶：右側改放直式 T-money 卡 ===== */
.t-band-inner { align-items: center; justify-content: space-between; }
.t-band-img {
  flex: 0 0 auto; width: 250px; margin: 0 clamp(0px, 4vw, 72px) 0 0; overflow: visible; border-radius: 16px; background: none;
  box-shadow: 0 28px 56px rgba(120, 30, 40, .38); transform: rotate(3deg); transition: transform .4s ease;
}
.t-band-img:hover { transform: rotate(0) scale(1.03); }
.t-band-img img { display: block; width: 100%; height: auto; aspect-ratio: 430 / 674; object-fit: cover; border-radius: 16px; }
@media screen and (max-width: 896px) {
  .t-band-img { width: min(220px, 62%); margin: 8px auto 0; transform: rotate(2deg); }
}

/* ===== 商品尚未上架：購買按鈕保留外觀、不可點、不做滑過動畫 ===== */
.hero-kv-frame { display: block; overflow: hidden; border-radius: 8px; }
a:not([href]) { cursor: default; }
.t-btn:not([href]):hover { transform: none; box-shadow: 0 10px 24px rgba(0, 0, 0, .12); }
.link-detail:not([href]):hover span { color: inherit; }
.link-detail:not([href]):hover span::before { transform: scale(0, 1); }
.link-detail:not([href]):hover i::before { width: 0; height: 0; }
.link-detail:not([href]):hover i::after { filter: none; }
.products .link-detail:not([href]):hover i::after { border-color: transparent transparent transparent var(--c-white); }
.products-list-item .link-detail:not([href]):hover i::before { width: 0; height: 0; }
.products-container-pickup-item a:not([href]):hover img { transform: none; }
.products-container-pickup-item a:not([href]):hover .products-container-pickup-row .col i::before { width: 0; height: 0; }
.products-container-pickup-item a:not([href]):hover .products-container-pickup-row .col i::after { border-color: transparent transparent transparent var(--c-white); }
.products-list-item:hover { border-color: var(--c-dark2); }

/* ===== 手機版 RWD 優化（2026-12-03） ===== */
@media screen and (max-width: 896px) {
  /* 防止任何區塊把頁面撐出橫向捲軸 */
  html, body { overflow-x: clip; }

  /* 主視覺：滿版（左右不留白、不圓角） */
  .hero-kv { max-width: none; padding: 0; }
  .hero-kv a, .hero-kv-frame { border-radius: 0; }
  .hero-kv img { width: 100%; }

  /* 頁首：縮小上下留白，主視覺更快出現 */
  .header-inner { padding: 16px; }
  .header-btn, .header-btn::before { width: 48px; height: 48px; }
  .header.is-fixed .header-btn { top: 8px; right: 12px; }
  .header.is-fixed .lang-switch { top: 13px; right: 72px; }

  /* 開頭文案 */
  .catch-copy { margin-bottom: 64px; padding-top: 32px; transform: none; }
  .ttl-02 { font-size: clamp(24px, 7.6vw, 40px); line-height: 1.15; }
  .catch-copy .txt { font-size: 15px; line-height: 1.9; }
  .catch-tags { gap: 6px; margin-top: 24px; }
  .catch-tags li { padding: 4px 12px; }

  /* 手動換行在窄螢幕會斷得很怪，交給瀏覽器自動換行 */
  .t-stat-txt br, .t-band-lead br, .recruit-txt-02 br { display: none; }
  .t-stat-ttl { font-size: clamp(26px, 8vw, 40px); }

  /* 特色輪播：用滑動＋圓點，左右鈕在手機上收起 */
  .works-nav { display: none; }
  .works-dots { margin: -16px 0 32px; }
  .works-slide { flex-basis: 80vw; }
  .works-ttl { font-size: 22px; }
  .works-txt { font-size: 13px; line-height: 1.7; }

  /* 號碼／T-money 區 */
  .mission-num { font-size: 72px; margin-bottom: 16px; }
  .mission-txt-ja h2 { font-size: 21px; }
  .spec-list li { gap: 12px; padding: 14px 0; font-size: 14px; }
  .spec-list li b { flex: 0 0 80px; }
  .airport-ttl { font-size: 18px; }
  .airport-spots > li { font-size: 13.5px; }

  /* 安裝步驟卡片 */
  .project-list-txt { font-size: 16px; }
  .project-list-item + .project-list-item { margin-top: 16px; }

  /* 方案大圖：改成方形，避免圖上文字擠出圖外 */
  .products-container-pickup-item.is-01 img, .products-container-pickup-item.is-02 img { aspect-ratio: 1 / 1; }
  .products-container-pickup-item + .products-container-pickup-item { margin-top: 16px; }
  .products-container-pickup-txt { font-size: 13px; line-height: 1.8; }
  .products-container-pickup-logo { font-size: 26px; }

  /* 天數卡：手機一律兩欄，T-money 標籤不壓到天數 */
  .products-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .products-list-item { padding: 40px 14px 16px; }
  .products-list-item.is-gift::after { top: 10px; right: 10px; padding: 1px 10px; font-size: 11px; }
  .products-list-ttl b { font-size: 36px; }
  .products-list-price { font-size: 20px; line-height: 1.4; }
  .products-list-price small { display: block; margin: 2px 0 0; }
  .products-list-txt { margin-bottom: 16px; font-size: 13px; line-height: 1.6; }
  .products-list-item .link-detail i { width: 36px; height: 36px; margin-left: 10px; }

  /* 常見問題 */
  .t-qa-list > li { gap: 12px; }
  .t-qa-q { margin-bottom: 10px; }
  .t-qa-q::before, .t-qa-a::before { flex-basis: 28px; height: 28px; line-height: 28px; font-size: 14px; }
  .t-qa-q, .t-qa-a { gap: 12px; }

  /* 粉橘漸層帶、按鈕 */
  .t-band-txt { text-align: center; }
  .t-btn { min-width: 0; width: 100%; max-width: 320px; height: 56px; font-size: 16px; }

  /* BUY NOW 區 */
  .recruit-txt-01, .recruit-txt-03 { font-size: clamp(28px, 8.4vw, 44px); line-height: 1.2; }
  .recruit-txt-02 { font-size: 13.5px; line-height: 1.9; }

  /* 頁尾 */
  .footer { padding: 64px 0 48px; }
  .footer-cta .link-detail { font-size: 15px; }

  /* 教學彈窗：手機上幾乎全螢幕 */
  .pp-modal, .pp-modal--wide { width: calc(100vw - 16px); max-height: calc(100dvh - 16px); border-radius: 16px; }
}
@media screen and (max-width: 480px) {
  .products-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media screen and (max-width: 340px) {
  .products-list { grid-template-columns: 1fr; }
}

/* 觸控裝置：點過的卡片不要卡在 hover 狀態（深色底、放大圖） */
@media (hover: none) {
  .project-list-item > div:hover { color: inherit; background: none; box-shadow: none; }
  .project-list-item > div:hover .project-list-img img,
  .works-slide a:hover .works-img img,
  .products-container-pickup-item a:hover img,
  .hero-kv a:hover img { transform: none; }
  .works-slide a:hover .works-img::before { background: rgba(0, 0, 0, 0); }
  .project-list-item > div:hover .project-list-cat span { color: var(--c-white); background: var(--c-dark); }
  .t-btn:hover { transform: none; }
}
