/* POWER CODE pcg78.com
   見た目は ChatGPT のデザイン見本（design_spec.md）に合わせる。色・余白・文字の大きさは見本の数値どおり */
:root {
  --bg: #111212; --surface: #1b1c1c; --paper: #efeee9; --muted: #b8bcb6; --muted-dark: #51524e;
  --green: #2f8f3a; --btn: #246f2d; --btn-hover: #1b5722; --line: #3a3d39;
  --font: "Noto Sans JP", sans-serif;
}
html[lang="zh-Hant"] { --font: "Noto Sans TC", "Noto Sans JP", sans-serif; }
html[lang="ko"] { --font: "Noto Sans KR", "Noto Sans JP", sans-serif; }
html[lang="en"] { --font: "Noto Sans JP", sans-serif; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--paper); font-family: var(--font); font-size: 16px; line-height: 1.8; }
a { color: inherit; text-decoration: none; }
a:focus-visible, summary:focus-visible, button:focus-visible { outline: 3px solid var(--green); outline-offset: 4px; }
h1, h2, h3, p { margin: 0 0 24px; }
h1 { font-size: 72px; line-height: 1.2; font-weight: 900; }
h2 { font-size: 48px; line-height: 1.3; font-weight: 900; }
h3 { font-size: 26px; line-height: 1.4; }
img { display: block; width: 100%; object-fit: cover; }
section { padding: 80px 0; }
.wrap { max-width: 1280px; margin: auto; width: calc(100% - 160px); }
.eyebrow { font-family: "Barlow Condensed", sans-serif; font-weight: 700; letter-spacing: .08em; font-size: 24px; color: var(--muted); }
.english { font-family: "Barlow Condensed", sans-serif; font-weight: 700; font-size: 88px; line-height: 1; margin-bottom: 32px; }
.muted { color: var(--muted); }
.small { font-size: 14px; line-height: 1.7; }
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; align-items: start; }
.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card { padding: 32px; border: 1px solid var(--line); min-width: 0; background: var(--surface); display: flex; flex-direction: column; }
.card .buttons { margin-top: auto; padding-top: 24px; }
.paper { background: var(--paper); color: #111212; border-color: var(--paper); }
.paper .muted { color: var(--muted-dark); }
.buttons { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 32px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 12px 24px; font-weight: 700; line-height: 1.5;
  background: var(--btn); color: #fff; border: 1px solid var(--btn); overflow-wrap: anywhere; text-align: center; }
.btn:hover { background: var(--btn-hover); }
.outline { background: transparent; border-color: currentColor; color: inherit; }
.outline:hover { background: rgba(255,255,255,.06); }
.paper .outline { color: #111212; }
.line-btn { background: #06c755; border-color: #06c755; }
.line-btn:hover { background: #05a647; }

/* ヘッダー */
.header { padding: 20px 0; border-bottom: 1px solid var(--line); }
.header-top { display: flex; align-items: center; gap: 24px; }
.brand { font-family: "Barlow Condensed", sans-serif; font-weight: 700; font-size: 32px; letter-spacing: .02em; line-height: 1; }
.brand span { color: var(--green); }
.langs { margin-left: auto; display: flex; gap: 6px; }
.langs a { padding: 8px 12px; font-size: 14px; font-weight: 700; border: 1px solid var(--line); line-height: 1.3; }
.langs a[aria-current="true"] { background: var(--paper); color: #111212; border-color: var(--paper); }
.nav { display: flex; gap: 24px; flex-wrap: wrap; margin-top: 20px; font-size: 14px; }
.nav a[aria-current="page"] { color: var(--green); font-weight: 700; }
.mobile-nav { display: none; }
.lang-hint { background: var(--btn); color: #fff; font-size: 14px; }
.lang-hint .wrap { display: flex; gap: 16px; align-items: center; padding: 10px 0; flex-wrap: wrap; }
.lang-hint a { text-decoration: underline; font-weight: 700; }
.lang-hint button { margin-left: auto; background: none; border: 0; color: #fff; font-size: 20px; cursor: pointer; }

/* トップ */
.hero { background: linear-gradient(90deg, rgba(17,18,18,.92), rgba(17,18,18,.45)), url("/assets/g/floor_wide.jpg") center/cover; padding: 112px 0; }
.hero p { max-width: 640px; }
.hero h1 { max-width: 820px; }
.floor-photo { height: 100%; min-height: 560px; object-position: center 25%; }
.floor-thumbs { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 32px; }
.floor-thumbs img { aspect-ratio: 4 / 3; }
/* 帯：文字は左の黒地、CODY（横長のイラスト）は右に全身。絵の左はしは黒に溶かす（2026-10-12 文字がロゴと重なって見にくかったため） */
.band { position: relative; min-height: 460px; display: flex; align-items: flex-end; padding: 0; overflow: hidden; background: var(--bg); }
.band::before { content: ""; position: absolute; top: 0; bottom: 0; right: max(0px, calc((100% - 1280px) / 2)); width: min(max(calc(100% - 520px), 55%), 820px);
  background: url("/assets/g/chara_cody_row2.jpg") 25% 8% / cover no-repeat;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 14%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent 0, #000 14%, #000 90%, transparent); }
.band .wrap { position: relative; padding: 56px 0; }
.band p { font-family: "Barlow Condensed", sans-serif; font-weight: 700; font-size: 64px; line-height: 1; margin: 0; }
.band p span { color: var(--green); }
.amount { font-size: 32px; font-weight: 900; line-height: 1.3; overflow-wrap: anywhere; }
.amount small { font-size: 16px; font-weight: 700; }
.number { font-family: "Barlow Condensed", sans-serif; font-weight: 700; color: var(--green); font-size: 36px; line-height: 1; margin-bottom: 16px; }
.icon { width: 40px; height: 40px; margin-bottom: 20px; }
.qr { width: 150px; height: 150px; background: #fff; padding: 8px; margin: 8px 0 12px; }
.qr svg { width: 100%; height: 100%; display: block; }
.map { width: 100%; aspect-ratio: 4 / 3; border: 1px solid var(--line); display: block; filter: grayscale(.4); }
.figure img { border: 1px solid var(--line); }
.figure figcaption { margin-top: 8px; }
figure { margin: 0; }

/* 下層 */
.page-head { padding: 72px 0 40px; }
.anchors { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }
.anchors a { border: 1px solid var(--paper); padding: 12px 20px; font-weight: 700; font-size: 14px; }
.stack > * + * { margin-top: 24px; }
.dl { margin: 0 0 24px; }
.dl div { padding: 14px 0; border-bottom: 1px solid rgba(17,18,18,.15); display: grid; grid-template-columns: 9em 1fr; gap: 16px; }
.card:not(.paper) .dl div, section > .wrap > .dl div { border-bottom-color: var(--line); }
.dl dt { font-weight: 700; }
.dl dd { margin: 0; }
.table { width: 100%; border-collapse: collapse; margin-bottom: 24px; }
.table th, .table td { padding: 22px 16px; text-align: left; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; vertical-align: top; }
.table th { color: var(--muted); font-weight: 500; font-size: 14px; }
.table td.price { font-size: 26px; font-weight: 900; }
.list { margin: 0 0 24px; padding-left: 1.3em; }
.list li { margin: 6px 0; }
.price-photo { height: 100%; min-height: 420px; object-position: center 20%; }
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.gallery img { aspect-ratio: 4 / 3; }
.legal { max-width: 800px; }
.legal p, .legal li { line-height: 1.9; }
.legal h2 { margin-top: 40px; font-size: 26px; }
.legal .dl div { grid-template-columns: 13em 1fr; }
details { border-bottom: 1px solid var(--line); padding: 22px 0; }
summary { cursor: pointer; font-weight: 700; font-size: 18px; list-style: none; position: relative; padding-right: 40px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 0; top: -4px; font-size: 28px; color: var(--green); }
details[open] summary::after { content: "−"; }
details p { margin: 14px 0 0; color: var(--muted); }
.faq-cat { margin-top: 48px; }
.notice { border-left: 4px solid var(--green); padding: 16px 20px; background: var(--surface); margin-bottom: 24px; }
footer { border-top: 1px solid var(--line); padding: 56px 0; }
footer .nav { line-height: 2; margin-top: 12px; }

@media (max-width: 900px) {
  .wrap { width: calc(100% - 48px); }
  section { padding: 56px 0; }
  h1 { font-size: 42px; } h2 { font-size: 30px; } h3 { font-size: 22px; }
  .english { font-size: 50px; }
  .grid, .three { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .card { padding: 24px; }
  .hero { padding: 72px 0; background-position: 65% center; }
  .buttons { flex-direction: column; align-items: stretch; gap: 12px; }
  .header { padding: 14px 0; }
  .header-top { gap: 12px; flex-wrap: wrap; }
  .brand { font-size: 26px; }
  .header-top > .btn, .header > .wrap > .nav { display: none; }
  .langs { order: 3; margin: 4px 0 0; width: 100%; display: grid; grid-template-columns: repeat(4, 1fr); }
  .langs a { text-align: center; padding: 10px 2px; font-size: 13px; }
  .mobile-nav { display: block; margin-left: auto; }
  .mobile-nav summary { font-family: "Barlow Condensed", sans-serif; font-size: 22px; padding: 4px 12px; border: 1px solid var(--line); }
  .mobile-nav summary::after { display: none; }
  .mobile-nav[open] .nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--bg); border-bottom: 1px solid var(--line); padding: 16px 24px 24px; flex-direction: column; gap: 4px; margin: 0; z-index: 10; font-size: 16px; }
  .header { position: relative; }
  .mobile-nav .nav a { padding: 8px 0; }
  .floor-photo { min-height: 420px; }
  .band { display: block; min-height: 0; }
  .band::before { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; -webkit-mask-image: none; mask-image: none; }
  .band .wrap { padding: 20px 0 40px; }
  .band p { font-size: 40px; }
  .table thead { display: none; }
  .table, .table tbody, .table tr, .table td { display: block; }
  .table tr { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .table td { border: 0; padding: 4px 0; }
  .table td::before { content: attr(data-label); display: block; font-size: 13px; color: var(--muted); }
  .gallery { grid-template-columns: 1fr 1fr; gap: 10px; }
  .price-photo { min-height: 320px; }
  .dl div, .legal .dl div { grid-template-columns: 1fr; gap: 2px; }
  .page-head { padding: 48px 0 24px; }
  .qr-block { display: none; }
}

/* 「近日開始」の1行と、文章の中のリンク（今の入り方の説明で使う） */
.soon { border-left: 4px solid var(--green); padding: 10px 16px; background: var(--surface); color: var(--muted); font-size: 15px; }
.card p a, .list a, .dl dd a { text-decoration: underline; text-underline-offset: 3px; }
/* 設備ページの先頭の1枚は横幅いっぱい（2026-10-05） */
.gallery img.wide { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
/* 使い方：ビジター／月会員を選ぶボタン（2026-10-05） */
.aud { margin: 0 0 48px; }
.aud-q { font-size: 20px; font-weight: 700; margin-bottom: 16px; }
.aud-btns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.aud-btns button { font: inherit; font-size: 20px; font-weight: 700; padding: 22px 16px; background: var(--surface); color: var(--paper); border: 2px solid var(--line); cursor: pointer; }
.aud-btns button:hover { border-color: var(--green); }
.aud-btns button.on { background: var(--btn); border-color: var(--green); }
@media (max-width: 900px) { .aud-btns { grid-template-columns: minmax(0, 1fr); } .aud-btns button { font-size: 18px; } }
/* 2026-10-06 ジム写真2026：設備ページは縦長の写真を4列（スマホ2列）で、使い方には入口・コンビニボックスの写真 */
.gallery.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.gallery.four img { aspect-ratio: 3 / 4; }
.gallery.four img.wide { aspect-ratio: 16 / 9; }
.howto-photos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; max-width: 760px; margin-bottom: 56px; }
.howto-photos img { aspect-ratio: 3 / 4; }
.howto-photos figure:only-child img { aspect-ratio: 4 / 3; }
@media (max-width: 900px) { .gallery.four { grid-template-columns: 1fr 1fr; } }
/* 設備ページの写真に名前（2026-10-06） */
.gallery figure.tile { margin: 0; position: relative; }
.gallery figure.tile img { display: block; width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.gallery figure.tile figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 12px 10px; background: linear-gradient(0deg, rgba(17,18,18,.92), rgba(17,18,18,0)); font-weight: 700; font-size: 15px; line-height: 1.4; }
.gallery figure.tile figcaption span { display: block; color: var(--green); font-family: "Barlow Condensed", sans-serif; font-size: 15px; letter-spacing: .04em; }
@media (max-width: 900px) { .gallery figure.tile figcaption { font-size: 13px; padding: 22px 8px 8px; } }
/* 設備ページ：ルールの絵（貼り紙と同じ・2026-10-06） */
.rule-icons { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 24px; }
.rule-icons figure { margin: 0; background: var(--surface); border: 1px solid var(--line); padding: 12px 8px 10px; text-align: center; }
.rule-icons img { width: 72%; aspect-ratio: 1; object-fit: contain; margin: 0 auto 6px; }
.rule-icons figcaption { font-size: 13px; font-weight: 700; line-height: 1.4; }
/* トップ選手・インフルエンサー（日本語のトップだけ・2026-10-06） */
.celebs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.celebs figure, .videos figure { margin: 0; }
.celebs img { aspect-ratio: 1; border: 1px solid var(--line); }
.celebs figcaption, .videos figcaption { margin-top: 8px; font-size: 14px; line-height: 1.6; color: var(--muted); }
.celebs figcaption a, .videos figcaption a { color: var(--paper); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.celeb-videos-title { margin: 40px 0 16px; }
.videos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.videos a.video { position: relative; display: block; border: 1px solid var(--line); }
.videos a.video img { aspect-ratio: 16 / 9; }
.videos .play { position: absolute; left: 50%; top: 50%; width: 56px; height: 40px; margin: -20px 0 0 -28px; border-radius: 10px; background: rgba(17,18,18,.8); }
.videos .play::after { content: ""; position: absolute; left: 23px; top: 12px; border-style: solid; border-width: 8px 0 8px 14px; border-color: transparent transparent transparent #fff; }
.videos a.video:hover .play { background: var(--btn); }
@media (max-width: 900px) { .celebs { grid-template-columns: 1fr 1fr; gap: 10px; } .videos { grid-template-columns: 1fr 1fr; gap: 10px; } }
/* 新しいロゴ（2026-10-06）。黒を透明にしたPNG */
.hero-logo { display: block; width: min(420px, 80%); height: auto; margin: -40px 0 8px -8px; }
.footer-logo { display: block; width: 200px; height: auto; margin: 0 0 16px -6px; }
@media (max-width: 900px) { .hero-logo { width: min(280px, 78%); margin-top: -24px; } .footer-logo { width: 160px; } }
/* キャラクター（POWER・CODY・2026-10-12）。透明WebP＋吹き出し */
.with-chara { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: end; }
.chara { margin: 0; display: flex; flex-direction: column; align-items: center; }
.chara img { display: block; height: 400px; width: auto; max-width: 100%; object-fit: contain; }
.chara.half img { height: 340px; }
.chara.wide img { height: auto; width: 480px; max-width: 100%; }
.bubble { position: relative; background: var(--paper); color: #111212; font-weight: 900; font-size: 18px; line-height: 1.4; text-align: center; padding: 10px 18px; border-radius: 18px; margin-bottom: 14px; max-width: 280px; }
.bubble::after { content: ""; position: absolute; left: 50%; bottom: -10px; margin-left: -10px; border: 10px solid transparent; border-bottom: 0; border-top-color: var(--paper); }
.chara.side { flex-direction: row-reverse; justify-content: flex-end; gap: 18px; margin-bottom: 20px; }
.chara.side img { height: 200px; }
.chara.side .bubble { margin: 0; }
.chara.side .bubble::after { left: -10px; top: 50%; bottom: auto; margin: -10px 0 0; border: 10px solid transparent; border-left: 0; border-right-color: var(--paper); }
@media (max-width: 900px) {
  .with-chara { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .chara img { height: 260px; }
  .chara.half img { height: 240px; }
  .chara.side img { height: 150px; }
  .bubble { font-size: 16px; }
}
/* キャラの横の見出しは「、」「。」でだけ折り返す（「入／館。」のように単語の途中で切らない）。はみ出すときだけどこでも折る */
.with-chara h1, .with-chara h2 { word-break: keep-all; overflow-wrap: anywhere; }
/* キャラクターの名前（絵の下）。2人の絵（power_cody）は POWER＝左 55%・CODY＝右 45% の立ち位置に合わせる（2026-11-01 カラーの絵） */
.chara-body { display: flex; flex-direction: column; align-items: center; }
.chara.side .chara-body { flex-shrink: 0; }
.chara-names { display: flex; justify-content: center; gap: 24px; width: 100%; margin: 10px 0 0; font-family: "Barlow Condensed", sans-serif; font-weight: 700; font-size: 26px; letter-spacing: .12em; line-height: 1; }
.chara-names span { border-bottom: 3px solid var(--green); padding-bottom: 4px; }
.chara-names.pair { display: grid; grid-template-columns: 55% 45%; gap: 0; justify-items: center; }
/* 横並び（power_nod2）は、名前用の箱の中で絵の幅が 0 につぶれる（max-width:100% が箱の幅を参照して循環する）→ 絵の幅を固定の扱いに */
.chara.side img { max-width: none; width: auto; }
/* 館内ルールの絵 2版目（POWER・CODY の 4:3 の場面の絵・8枚）。小さいと何の場面か分からないので2列×4段 */
.rule-icons { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.rule-icons img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; margin: 0 auto 6px; }
.rule-icons figure { padding: 8px 6px 10px; }
.rule-icons figcaption { font-size: 15px; }
/* 館内ルールのページ（/rules/・2026-10-12）。絵を大きく：パソコン2列・スマホ1列 */
.rule-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.rule-card { background: var(--surface); border: 1px solid var(--line); padding: 20px 24px 24px; min-width: 0; }
.rule-card img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: contain; margin: 0 0 12px; }
.rule-card h2 { font-size: 28px; margin: 4px 0 8px; }
.rule-card p { margin: 0; }
.rule-card .number { margin: 0; }
@media (max-width: 900px) { .rule-cards { grid-template-columns: minmax(0, 1fr); gap: 16px; } .rule-card { padding: 12px 16px 20px; } .rule-card h2 { font-size: 24px; } }
/* 館内ルールの動画（2026-10-14・縦長の動画） */
.rule-card .watch { margin-top: 14px; }
.rule-video-wrap { max-width: 560px; text-align: center; }
.rule-video-title { font-size: clamp(28px, 6vw, 44px); margin: 4px 0 12px; }
.rule-video { display: block; width: 100%; max-width: 420px; aspect-ratio: 9 / 16; margin: 0 auto 16px; background: #000; border: 1px solid var(--line); }
.rule-video-wrap .buttons { justify-content: center; }
