/* ================================
   kimetu.css (max-width: 800 layout)
   ================================ */

:root {
  --bg-outside: #000;     /* 超出 800 的左右底色 */
  
  --text: #fff;

  /* 除錯邊框色（不同區塊不同色，方便日後刪除） */
  --debug-1: #ef4444;
  --debug-2: #f59e0b;
  --debug-3: #10b981;
  --debug-4: #3b82f6;
  --debug-5: #8b5cf6;
  --debug-6: #ec4899;
  --debug-7: #22d3ee;

  /* Pattern 圖：換成你的實際路徑 */
  --pattern-url: url('images/pattern.png');
}

/* ========== Reset Base ========== */
*,
*::before,
*::after {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}
html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}
body.site {
 font-family:
    'Noto Sans TC',     /* 思源黑體（優先） */
    'Noto Serif TC',    /* 思源宋體（次要備援） */
    system-ui,
    -apple-system,
    'PingFang TC',
    'Heiti TC',
    'Microsoft JhengHei',
    sans-serif;
  background: var(--bg-outside);
  font-weight: 400;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg-outside);
  
}

/* 若要某段改用宋體，可加上 class */
.font-serif {
  font-family:
    'Noto Serif TC',
    'Noto Sans TC',
    'Songti TC',
    'Microsoft JhengHei',
    serif;
}

/* ========= Layout Container ========= */
.site__wrap {
  background-color:#FFFAF1;
  max-width: 800px;         /* 最大寬度改為 800px */
  margin: 0 auto;           /* 超過 800px 時置中 */
  min-height: 100dvh;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.08);
}

/* ========= Section Base ========= */
.section {
  padding:0;
  
}
.container {
  width: 100%;
display: flex;
padding: 20px;
flex-direction: column;
align-items: center;
gap: 10px;
align-self: stretch;
}

/* ========= Header ========= */
.header {
  background: #000;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
padding: 16px 34px;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
gap: 10px;

 
}
.header__inner {

  background: #000;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
gap: 10px;
}

/* ========= Hero / Banner ========= */
.section--hero {
  padding: 0;
  
}
.hero {
  margin: 0;
 
  
}
.hero__img {
  display: block;
  width: 100%;
  height: auto; /* 維持比例 */
  background: #111;
}

.section--title{
  display: flex;
padding: 0 10px;
flex-direction: column;
align-items: flex-start;
gap: 10px;
align-self: stretch;
}


.copyright{
  display: flex;
justify-content: flex-end;
align-items: center;
align-self: stretch;
  color: #000;
text-align: right;
font-family: "Noto Serif TC";
font-size: 10px;
font-style: normal;
font-weight: 500;
line-height: normal;
  
}

.title{
  padding: 0; 
}
.title__img{
  display: block;
  width: 100%;
  height: auto; /* 維持比例 */
  
}


.title__h2{
  margin:0;
  display: flex;
  width:100%;
  height: 25px;
justify-content: center;
align-items: center;
gap: 5px;
  
color: #8F1E22;
font-family: "Noto Serif TC";
font-size: 20px;
font-style: normal;
font-weight: 800;
line-height: normal;
letter-spacing: 1px;
}

.title__h2::before,
.title__h2::after {
  content: "";
  display: inline-block;
  width: 25px;                      /* 可依實際圖片大小調整 */
  height: 25px;
  background-image: url('images/katana.png');  /* ←換成你的裝飾圖 */
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}

/* 左右距離與旋轉 */
.title__h2::before {
  margin-right: 8px;
}

.title__h2::after {
  margin-left: 8px;
  transform: scaleX(-1); /* 將右側圖水平翻轉，對稱效果 */
}

.title__h3{
  margin:0;
  display: flex;
padding: 3px 5px;
justify-content: center;
align-items: center;
gap: 10px;
align-self: stretch;
  background: #972525;
  
  color: #FFF;
font-family: "Noto Serif TC";
font-size: 14px;
font-style: normal;
font-weight: 500;
line-height: normal;
}


/* ========= Intro ========= */
.intro__block {
color: #000;
font-family: "Noto Sans TC";
font-size: 14px;
font-style: normal;
font-weight: 400;
line-height: normal;
  
}

/* ========= Exhibit Info ========= */
.section--exhibit{
  display: flex;
padding: 40px 0;
flex-direction: column;
align-items: center;
align-self: stretch;
}


.exhibit-card {
 display: flex;
padding: 20px;
flex-direction: column;
align-items: center;
gap: 5px;
background: #FDEDD2;
  color:#000;
  border: 8px solid transparent;
  border-image-source: url('images/pattern.png');
  border-image-slice: 8;     /* 不加 fill */
  border-image-width: 2;     /* 與 border 同寬 */
  border-image-repeat: repeat;
  image-rendering: pixelated;
}

.exhibit-card__hd{
  color: #000;
font-size: 14px;
font-style: normal;
font-weight: 600;
line-height: normal;
}


.exhibit-card ul li{
  margin-bottom: 10px;
  font-size: 14px;
  font-weight: 400;
  
}


.section--qrcodes{
  display: flex;
padding:20px;
flex-direction: column;
align-items: center;
gap: 10px;
align-self: stretch;
  background: #000;
  
}

/* ========= QRCodes ========= */
.qrcodes {
  width: 100%;
  background-color: #000;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: auto;
}

.qrcodes__item {
  display: flex;
  justify-content: center;
  align-items: center;
}

.qrcodes__item img {
  width:100%;
  height: auto;    /* 維持比例 */
  max-width: 300px;/* 可依實際大小調整 */
}

@media (max-width:400px){
  .qrcodes {
    grid-template-columns: repeat(1, 1fr);
  }
  
  .title__h3{
    font-size: 12px;
  }
}
@media (min-width: 800px) {
  .qrcodes {
    grid-template-columns: repeat(3, 1fr);
  }
  .title__h2{
    font-size: 24px;
  }
  .title__h3{
    font-size: 18px;
  }
}

.footer{
  background-color: #000;
  display: flex;
padding: 10px 20px;
flex-direction: column;
align-items: flex-start;
gap: 10px;
align-self: stretch;
  width: 100%;
}
.footer__inner{
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
gap: 20px;
align-self: stretch;
}
.footer__nav{
  display: flex;
align-items: flex-start;
gap: 20px;
}
.footer__col{
  display: flex;
align-items: flex-start;
gap: 20px;
}

.footer__col:hover{
  color:#972525;
}




.footer__copyright{
  color: #FFF;
text-align: center;
font-family: "Noto Sans TC";
font-size: 11px;
font-style: normal;
font-weight: 400;
line-height: normal;
}

.fb-comments{
  max-width: 800px;
  margin: 40px auto;
}

