@charset "utf-8";
/*==================================================
  台灣角川：外社聯展(一)－講談社 作品展 2026.11.27-12.10
  設計稿寬 1920；內容框寬 1371（切圖輸出為 1589/1132，約 82.76%）
  --u = 設計稿 1px 換算單位（1920 時 = 1px）
  內容框內一律用 cqw（容器寬 = 內容框寬 1371 → 1cqw ≈ 13.71px）
==================================================*/
:root{
  --teal: #188290;
  --cyan: #31daf1;
  --orange: #d37f43;
  --txt: #4d4d4d;
  --u: calc(min(100vw, 1920px) / 1920);
  --img: url(https://cp-img.bookwalker.com.tw/event/2026/20261127_kadokawa/images/);
}

.kodansha{ overflow-x: hidden; font-family: 'Noto Sans TC', 'Microsoft JhengHei', sans-serif; color: var(--txt); background-color: var(--teal);}
.kodansha img{ display: block; width: 100%; height: auto; -webkit-user-drag: none;}
.kodansha a{ text-decoration: none;}
.headerBox{ -webkit-touch-callout: none; -webkit-user-select: none; user-select: none;}

/*共用：內容框寬度（container，讓框內可用 cqw）*/
.areaWidth{ container-type: inline-size; position: relative; width: 71.4vw; max-width: 1371px; margin: 0 auto;}

/*--刊頭------------------------------------------*/
.headerBox{ position: relative; background-color: var(--cyan);}
.headerBox::before{ content: ""; position: absolute; inset: 0; background-color: var(--teal); clip-path: polygon(0 0, 100% 0, 100% 78.4%, 0 63.3%);}/*上方深藍綠斜切*/
.headerStage{ position: relative; max-width: 1920px; margin: 0 auto; aspect-ratio: 1589/499;}
.headerStage .hLayer{ position: absolute; inset: 0; width: 100%; height: 100%;}
.headerStage.hM{ display: none; aspect-ratio: 887/1263;}/*手機版刊頭*/

/*--共用底圖：bgTeal(區域1～3 藍綠白線) 包 bgOrange(區域1～2 橘底藍線)，兩張底圖各自連續不接縫--*/
.bgTeal{ background: url(https://cp-img.bookwalker.com.tw/event/2026/20261127_kadokawa/images/bg_03.png) top center / 100% auto repeat-y, var(--teal);}/*外層：藍綠底＋白線，區域2底部和區域3都透出這層*/
.bgOrange{ position: relative;}
.bgOrange::before{ content: ""; position: absolute; top: 0; left: 0; right: 0; bottom: calc(var(--u) * 366); background: url(https://cp-img.bookwalker.com.tw/event/2026/20261127_kadokawa/images/bg_02.png) top center / 100% auto repeat-y, linear-gradient(to bottom, var(--cyan) 0, var(--cyan) 40px, var(--orange) 40px);}/*橘底只鋪到區域2底部藍綠段之前；最上面 40px 墊淺藍，避免刊頭和區域1交界出現細線*/
.bgOrange > section{ position: relative; z-index: 1;}

/*--區域1：購買即送------------------------------------------*/
.area1{
  padding: calc(var(--u) * 52) 0 calc(var(--u) * 24);
  background: linear-gradient(to bottom, var(--cyan) 0, var(--cyan) 62%, transparent 62%);/*上段淺藍蓋住，下段透出共用橘底*/
}
.box1{ position: relative; border: 2px solid var(--teal); background-color: var(--cyan); padding-bottom: 5.5cqw;}
.box1::before{ content: ""; position: absolute; top: 0; left: 81%; width: 3.6cqw; aspect-ratio: 1; background-color: var(--cyan); border-top: 2px solid var(--teal); border-left: 2px solid var(--teal); transform: translateY(-50%) translateY(-1px) rotate(45deg);}/*對話框尖角*/
.a1Title{ position: relative; margin-left: -2px;}
.box1 .bookRow{ padding-top: 1.2cqw;}

/*--區域2：精選推薦------------------------------------------*/
.area2{
  padding: calc(var(--u) * 24) 0 calc(var(--u) * 58);
}

/*--區域3：熱門作品------------------------------------------*/
.area3{
  padding: 0 0 calc(var(--u) * 183);
}

/*白框+標題頁籤*/
.boxWhite{ position: relative; background-color: #fff; border: 2px solid var(--teal);}
.areaTab{ position: relative; z-index: 2; box-sizing: border-box; width: 48.9cqw; margin-bottom: -2px; background-color: #fff; border: 2px solid var(--teal); border-bottom: none;}/*頁籤大小跟著標題圖，框線貼齊圖片*/
.areaTab.tabRight{ margin-left: auto;}
.areaTab h2 img{ display: block; width: 100%;}
.box2{ padding: 4.7cqw 0 1.5cqw;}
.box3{ padding: 7.2cqw 0 6.1cqw;}

/*--書籍列（文字＋書封）------------------------------------------*/
.bookRow{ display: flex; align-items: flex-start; gap: 5cqw; padding: 4cqw 5.3cqw 4cqw 7.9cqw;}
.bookRow.rowRev{ flex-direction: row-reverse; padding: 4cqw 5.3cqw 4cqw 7.9cqw;}
.box2 .bookRow{ position: relative;}
.box2 .bookRow:not(:last-child)::after{ content: ""; position: absolute; left: 7.5cqw; right: 5cqw; bottom: 0; height: 0.44cqw; background: radial-gradient(circle, var(--teal) 0.15cqw, transparent 0.2cqw) left center / 0.88cqw 100% repeat-x;}/*點點分隔線*/
.box1 .bookRow{ padding-bottom: 0;}

.bookTxt{ flex: 1; min-width: 0; padding-top: 2.1cqw;}
.bookName{ font-size: max(17px, 2.9cqw); font-weight: 700; line-height: 1.35; color: var(--orange); margin-bottom: 1.1cqw; letter-spacing: 0.02em;}
.bookName a{ color: inherit;}
.bookName a:hover{ text-decoration: underline;}
.bookDesc{ font-size: max(14px, 2.45cqw); font-weight: 700; line-height: 1.55; letter-spacing: 0.08em; text-align: justify; color: var(--txt);}
.bookDesc + .bookDesc{ margin-top: 0.8em;}
.bookCopy{ margin-top: 1.4cqw; font-size: max(10px, 0.95cqw); font-weight: 700; line-height: 1.4; color: var(--txt);}

.bookCover{ flex: none; width: 30cqw;}
.bookCover a{ display: block; transition: transform .3s;}
.bookCover img{ border: 2px solid var(--orange); box-sizing: border-box;}
.box1 .bookCover img{ border-color: var(--teal);}
.bookCover a:hover{ transform: translateY(-0.6cqw);}

/*--熱門作品書牆------------------------------------------*/
.hotList{ display: flex; flex-wrap: wrap; justify-content: center; gap: 1.1cqw; width: 88cqw; margin: 0 auto;}
.hotList li{ width: 28.4cqw;}
.hotList a{ display: block; transition: transform .3s;}
.hotList a:hover{ transform: translateY(-0.6cqw);}
.hotList img{ border: 2px solid var(--orange); box-sizing: border-box;}

.moreBtn{ display: block; width: 87.2cqw; margin: 6cqw auto 0; transition: filter .3s, transform .3s;}
.moreBtn:hover{ filter: brightness(1.08); transform: scale(1.02);}

/*--766down(Mobile)------------------------*/
@media screen and (max-width:766px) {
  .areaWidth{ width: 92vw;}

  /*刊頭換手機版*/
  .headerStage.hPc{ display: none;}
  .headerStage.hM{ display: block;}
  .headerBox::before{ clip-path: polygon(0 0, 100% 0, 100% 58.5%, 0 55.3%);}

  .bgOrange::before{ bottom: 30vw;}
  .area1{ padding: 6vw 0 4vw; background: linear-gradient(to bottom, var(--cyan) 0, var(--cyan) 55%, transparent 55%);}
  .area2{ padding: 4vw 0 8vw;}
  .area3{ padding-bottom: 14vw;}

  .box1::before{ width: 5cqw;}
  .bookRow, .bookRow.rowRev{ flex-direction: column-reverse; align-items: center; gap: 4cqw; padding: 7cqw 7cqw;}/*手機版書封一律在上*/
  .box1 .bookRow{ padding-top: 3cqw;}
  .bookCover{ width: 52cqw;}
  .bookTxt{ width: 100%; padding-top: 0;}
  .bookName{ text-align: center; margin-bottom: 2.5cqw;}
  .bookDesc{ letter-spacing: 0.04em;}
  .bookCopy{ margin-top: 2.5cqw;}
  .box2{ padding: 4cqw 0 2cqw;}
  .box2 .bookRow:not(:last-child)::after{ left: 7cqw; right: 7cqw; height: 0.8cqw; background: radial-gradient(circle, var(--teal) 0.28cqw, transparent 0.36cqw) left center / 1.6cqw 100% repeat-x;}

  .areaTab{ width: 60cqw;}
  .box3{ padding: 8cqw 0 7cqw;}
  .hotList{ width: 84cqw; gap: 4cqw;}
  .hotList li{ width: 40cqw;}/*手機版一排兩本*/
  .moreBtn{ width: 88cqw; margin-top: 7cqw;}
}
