:root {
  color-scheme: light;
  --bg: #f5f2e9;
  --surface: #fffdf8;
  --ink: #1d3028;
  --muted: #56675c;
  --accent: #2e6550;
  --soft: #e9eee5;
  --line: #d5dcd0;
  --radius: 16px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: "Noto Sans JP", "Yu Gothic", Meiryo, sans-serif; line-height: 1.85; }
h1, h2, h3, p, figure { margin-top: 0; }
h1, h2, h3 { line-height: 1.4; overflow-wrap: anywhere; }
a { color: inherit; text-underline-offset: .23em; }
img { display: block; max-width: 100%; height: auto; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
.wrap { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }
.reading { max-width: 760px; margin-inline: auto; }
.skip { position: fixed; top: -100px; left: 16px; z-index: 100; padding: 12px 20px; color: var(--ink); background: var(--surface); }
.skip:focus { top: 10px; }
.header { border-bottom: 1px solid var(--line); background: var(--surface); }
.header-inner { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 28px; padding-block: 18px; }
.logo { display: flex; align-items: center; gap: 14px; margin-right: auto; text-decoration: none; }
.logo img { width: 88px; }
.logo span { font-size: 14px; font-weight: 800; }
.main-nav { display: flex; gap: 4px 18px; overflow-x: auto; max-width: 100%; }
.main-nav a { display: inline-flex; flex-shrink: 0; align-items: center; min-height: 44px; font-size: 13px; font-weight: 700; text-decoration: none; }
.main-nav a[aria-current="page"] { color: var(--accent); text-decoration: underline; text-decoration-thickness: 2px; }
.eyebrow { margin-bottom: 15px; color: var(--accent); font-size: 13px; font-weight: 800; letter-spacing: .08em; }
.home-lead { display: grid; grid-template-columns: 1.2fr .8fr; align-items: center; gap: 44px; padding-block: 66px; }
.home-lead h1 { margin-bottom: 20px; font-size: clamp(34px, 4.5vw, 64px); letter-spacing: -.045em; }
.home-lead p:last-child { margin-bottom: 0; font-size: 17px; }
.home-visual { padding: 16px; background: var(--soft); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.home-visual img { width: 100%; max-height: 410px; object-fit: contain; }
.home-copy { padding-bottom: 56px; }
.home-copy p { margin-bottom: 18px; }
.home-copy p:last-child { margin-bottom: 0; }
.section-title { font-size: clamp(24px, 2.5vw, 34px); margin-bottom: 26px; }
.pillar-nav { padding-block: 46px 64px; border-block: 1px solid var(--line); }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.card { display: flex; flex-direction: column; gap: 12px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); text-decoration: none; }
.card h3 { margin: 0; font-size: 21px; }
.card p { margin: 0; font-size: 14px; color: var(--muted); }
.card span { margin-top: auto; padding-top: 12px; font-size: 13px; font-weight: 800; color: var(--accent); }
.card:hover { border-color: var(--accent); }
.brand-table { width: 100%; border-collapse: collapse; margin-bottom: 56px; font-size: 14px; }
.brand-table caption { text-align: left; font-size: 20px; font-weight: 800; margin-bottom: 16px; }
.brand-table th, .brand-table td { padding: 14px 16px; border: 1px solid var(--line); vertical-align: top; overflow-wrap: anywhere; }
.brand-table th { width: 30%; text-align: left; background: var(--soft); }
.brand-table td { background: var(--surface); }
.home-details { padding-block: 46px 20px; }
.home-topic-nav { max-width: 960px; margin: 0 auto 46px; }
.home-topic-nav ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; list-style: none; padding: 0; margin: 0; }
.home-topic-nav a { display: block; height: 100%; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); font-size: 14px; text-decoration: none; }
.home-topic-nav a:hover { border-color: var(--accent); }
.home-knowledge { min-width: 0; }
.home-knowledge > section { margin-bottom: 52px; padding-top: 26px; border-top: 2px solid var(--accent); }
.home-knowledge h2 { font-size: clamp(25px, 3vw, 33px); margin-bottom: 24px; }
.home-knowledge h3 { font-size: 21px; margin-block: 30px 16px; }
.home-knowledge p { margin-bottom: 20px; }
.topic-links { list-style: none; padding: 0; margin: 25px 0 0; display: flex; flex-wrap: wrap; gap: 12px; }
.topic-links a { display: inline-block; padding-block: 8px; font-weight: 750; color: var(--accent); }
.table-scroll { max-width: 100%; overflow-x: auto; margin-block: 28px; border: 1px solid var(--line); border-radius: var(--radius); }
.comparison-table { width: 100%; min-width: 510px; border-collapse: collapse; font-size: 14px; }
.comparison-table caption { padding: 18px; font-size: 17px; font-weight: 800; text-align: left; background: var(--surface); }
.comparison-table th, .comparison-table td { padding: 14px 16px; border-top: 1px solid var(--line); text-align: left; vertical-align: top; overflow-wrap: anywhere; }
.comparison-table th { background: var(--soft); }
.comparison-table td { background: var(--surface); }
.breadcrumb { margin-block: 24px; display: flex; gap: 10px; align-items: center; font-size: 13px; color: var(--muted); }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; }
.article-hero { padding-block: 30px 44px; }
.article-hero h1 { max-width: 920px; font-size: clamp(30px, 3.8vw, 48px); margin-bottom: 20px; letter-spacing: -.035em; }
.article-summary { max-width: 760px; margin-bottom: 30px; color: var(--muted); font-size: 17px; }
.article-visual { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 24px; min-height: 210px; background: var(--soft); border: 1px solid var(--line); border-radius: var(--radius); }
.article-visual img { width: auto; max-width: 100%; max-height: 350px; object-fit: contain; }
.article-visual figcaption { font-size: 12px; color: var(--muted); }
.article-layout { display: grid; grid-template-columns: 235px minmax(0, 760px); gap: 54px; align-items: start; padding-bottom: 70px; }
.contents { position: sticky; top: 24px; padding: 20px; border: 1px solid var(--line); background: var(--surface); border-radius: var(--radius); font-size: 13px; }
.contents summary { font-weight: 800; cursor: pointer; }
.contents ol { padding-left: 20px; margin-bottom: 0; }
.contents li { margin-top: 12px; }
.contents a { text-decoration: none; }
.article-body { min-width: 0; }
.article-body p { margin-bottom: 22px; }
.article-body h2 { margin-block: 54px 26px; padding-top: 26px; border-top: 2px solid var(--accent); font-size: 29px; }
.article-body h3 { margin-block: 34px 18px; font-size: 21px; }
.article-figure { margin: 42px 0; padding: 20px; background: var(--soft); border: 1px solid var(--line); border-radius: var(--radius); }
.article-figure img { width: 100%; max-height: 420px; object-fit: contain; }
.article-figure figcaption { margin-top: 12px; font-size: 13px; color: var(--muted); }
.faq { padding-block: 56px; border-top: 1px solid var(--line); }
.faq details { padding: 20px 0; border-bottom: 1px solid var(--line); }
.faq summary { font-size: 17px; font-weight: 750; cursor: pointer; }
.faq details p { margin: 16px 0 0; }
.related { padding-block: 34px 64px; }
.related ul { display: flex; flex-wrap: wrap; padding: 0; gap: 12px; list-style: none; }
.related a { display: block; padding: 10px 15px; border: 1px solid var(--line); border-radius: 8px; font-size: 14px; text-decoration: none; }
.demo { margin-top: 46px; padding-top: 30px; border-top: 2px solid var(--accent); }
.demo h2 { border: 0; padding: 0; margin-top: 0; }
.footer { padding-block: 42px 24px; background: var(--surface); border-top: 1px solid var(--line); }
.footer-top { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 40px; }
.footer-logo { width: 100px; padding: 8px; background: #102a4d; border-radius: 8px; }
.footer h2 { margin-block: 16px 12px; font-size: 15px; }
.footer p, .footer li, .footer a { font-size: 13px; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 6px; }
.footer-small { padding-top: 20px; margin-top: 26px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.social-links { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 18px; }
.social-links a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; }
.social-icon { width: 19px; height: 19px; background: currentColor; mask: center / contain no-repeat; }
.social-facebook { mask-image: url('./footer/facebook.svg'); }
.social-instagram { mask-image: url('./footer/instagram.svg'); }
.social-youtube { mask-image: url('./footer/youtube.svg'); }
.social-tiktok { mask-image: url('./footer/tiktok.svg'); }
.support { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 18px; }
.support a { width: 128px; height: 54px; padding: 9px; display: flex; align-items: center; justify-content: center; border-radius: 8px; }
.support .gamcare { background: #fff; }
.support .gambleaware { background: #15243d; }
.support img { max-height: 36px; width: 100%; object-fit: contain; }
.age { display: grid; place-items: center; width: 43px; height: 43px; border: 1px solid currentColor; border-radius: 50%; font-size: 13px; font-weight: 800; }
.site-sports { --bg: #eff3f7; --ink: #10213e; --muted: #4a6179; --accent: #244fc6; --surface: #fff; --soft: #e5ecfc; --line: #ced9e9; --radius: 8px; }
.site-sports .home-lead { border-bottom: 5px solid var(--accent); }
.site-sports .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.site-sports .card { border-top: 4px solid var(--accent); }
.site-live { color-scheme: dark; --bg: #0b172b; --surface: #12213a; --ink: #fbf4e6; --muted: #b9c6da; --accent: #e5bc72; --soft: #1b2e4b; --line: #334661; --radius: 18px; }
.site-live .home-lead h1 { font-family: "Yu Mincho", serif; font-weight: 500; }
.site-live .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.site-live .card:first-child { grid-column: 1 / -1; }
.site-games { --bg: #f1f7f5; --ink: #123c37; --muted: #4d6e67; --accent: #087a6c; --surface: #fff; --soft: #deeee8; --line: #bfd9cf; --radius: 12px; }
.site-games .home-lead { grid-template-columns: .85fr 1.15fr; }
.site-games .home-lead .home-visual { order: -1; }
.site-games .card { border-left: 4px solid var(--accent); }
.site-terms { --bg: #f7f4fb; --ink: #322244; --muted: #695c77; --accent: #70449d; --surface: #fff; --soft: #ece3f4; --line: #d9cde5; --radius: 4px; }
.site-terms .home-lead { grid-template-columns: 1fr; gap: 28px; }
.site-terms .home-lead h1 { max-width: 900px; }
.site-terms .home-visual { max-width: 850px; }
.site-terms .cards { grid-template-columns: 1fr; }
.site-terms .card { display: grid; grid-template-columns: 1fr 1.4fr auto; align-items: center; }
.site-terms .card span { padding: 0; }
@media (min-width: 901px) {
  .home-lead > div > p:not(.eyebrow), .home-copy p, .home-knowledge p, .article-body p, .brand-table td { text-align: justify; }
}
@media (max-width: 1000px) {
  .article-layout { grid-template-columns: 200px minmax(0, 1fr); gap: 30px; }
  .header-inner { display: block; }
  .main-nav { margin-top: 10px; }
}
@media (max-width: 760px) {
  html { scroll-padding-top: 24px; }
  .wrap { width: calc(100% - 32px); }
  .home-lead, .site-games .home-lead { grid-template-columns: 1fr; gap: 28px; padding-block: 40px; }
  .site-games .home-lead .home-visual { order: 0; }
  .home-visual { padding: 12px; }
  .cards, .site-sports .cards, .site-live .cards { grid-template-columns: 1fr; }
  .home-topic-nav ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-live .card:first-child { grid-column: auto; }
  .site-terms .card { display: flex; align-items: start; }
  .card { padding: 23px; }
  .article-layout { grid-template-columns: 1fr; gap: 24px; }
  .contents { position: static; }
  .article-body h2 { font-size: 25px; }
  .article-body h3 { font-size: 19px; }
  .article-visual { padding: 15px; min-height: 160px; }
  .brand-table th, .brand-table td { padding: 12px 10px; }
  .footer-top { grid-template-columns: 1fr; gap: 25px; }
}
@media (max-width: 430px) {
  .home-topic-nav ul { grid-template-columns: 1fr; }
  .home-details { padding-top: 30px; }
  .comparison-table th, .comparison-table td { padding: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
