/* menu-price-th04-bnr.css — ベースライン(自動読込・module-base.css前提)。編集せず上書きで調整。 */
@charset "UTF-8";

.th04_bnr :is(h2:where(:not([data-sm-h])),:where([data-sm-h="h2"])):before, .th04_bnr :is(h2:where(:not([data-sm-h])),:where([data-sm-h="h2"])):after,
.th04_bnr h3:before,
.th04_bnr h3:after {
  content: none;
}
.th04_bnr .parallax_1 {
  height: auto;
  padding: 3% 0;
  background-image: url(images/th04-bnr-bg-1.webp);
  background-size: auto 100%;
}
.th04_bnr .th04_bnr_block {
  overflow: hidden;
  background: #fff;
  color: var(--color-text);
  margin: 0 2% 2%;
  padding: 1em;
}
.th04_bnr .th04_bnr_block ul {
  padding: 0;
  margin: 0;
}
.th04_bnr .th04_bnr_block ul.row_inline li {
  margin-left: 2%;
}
.th04_bnr .th04_bnr_block ul.row_inline li:nth-child(3n+1) {
  margin-left: 0;
}
.th04_bnr .th04_bnr_block li {
  list-style: none;
  padding: 0;
}
.th04_bnr .th04_bnr_block li img {
  width: 100%;
}
.th04_bnr .th04_bnr_block a {
  color: var(--color-text);
  text-decoration: none;
}
.th04_bnr .th04_bnr_block a:hover {
  text-decoration: underline;
}

@media (min-width: 768px) {
  .th04_bnr .parallax_1 {
    position: relative;
    height: 1280px;
    padding: 0;
    background-size: cover;
  }
  .th04_bnr .container {
    position: relative;
    height: 100%;
    max-width: none;
  }
  .th04_bnr .th04_bnr_block {
    position: absolute;
    width: calc(50vw - 25px);
    max-width: 100%;
    margin: auto;
    padding: 1em;
  }
  .th04_bnr .th04_bnr_block.th04_bnr_first {
    top: 7%;
  }
  .th04_bnr .th04_bnr_block.th04_bnr_second {
    top: 50%;
    transform: translateY(-50%);
  }
  .th04_bnr .th04_bnr_block.th04_bnr_third {
    bottom: 7%;
  }
  .th04_bnr .th04_bnr_block.th04_bnr_first {
    right: 10px;
  }
  .th04_bnr .th04_bnr_block.th04_bnr_second {
    left: 10px;
  }
  .th04_bnr .th04_bnr_block.th04_bnr_third {
    right: 10px;
  }
}
@media (min-width: 1200px) {
  .th04_bnr .container {
    position: static;
  }
  .th04_bnr .th04_bnr_block {
    max-width: 600px;
  }
}
@media (min-width: 1300px) {
  .th04_bnr .container {
    position: relative;
    max-width: 1300px;
  }
}

/* SM-FIX3-20260819 */
/* 2026-08-19: 768px 以上で白いパネルが【重なって】文字が二重に見えていた。
   .parallax_1 を height:1280px に固定し、その中に .th04_bnr_block を
   position:absolute（first=top:7% / second=中央 / third=bottom:7%）で散らす設計だが、
   生成される中身（メニュー3件）だとパネル高が 793px になり、first(90〜883) と
   third(397〜1190) が 486px ぶん重なる。中身の量が設計の前提を超えている。
   重なりを構造的に無くすため、PC でも通常フローに戻して縦に積む。
   左右の振り分け（右・左・右）と白パネルの意匠は margin で維持する。 */
@media (min-width: 768px){
  .th04_bnr .parallax_1{ height: auto; padding: 4% 0; }
  .th04_bnr .container{ height: auto; }
  .th04_bnr .th04_bnr_block{
    position: relative; top: auto; bottom: auto; left: auto; right: auto;
    transform: none; margin: 0 0 3%;
  }
  .th04_bnr .th04_bnr_block.th04_bnr_first,
  .th04_bnr .th04_bnr_block.th04_bnr_third{ margin-left: auto; margin-right: 10px; }
  .th04_bnr .th04_bnr_block.th04_bnr_second{ margin-right: auto; margin-left: 10px; }
  .th04_bnr .th04_bnr_block:last-child{ margin-bottom: 0; }
}
