/* =========================================================
   fudosha.net base.css
   - Fonts
   - Tokens
   - Base / reset-ish
   - Accessibility helpers
   - Global breakpoints (visibility)
   - JS enhancement
   ========================================================= */

/* -------------------------
   1) Fonts
   ------------------------- */
@font-face{
  font-family: "MOBO";
  src: url("../fonts/MOBO-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face{
  font-family: "Guanine";
  src: url("../fonts/Guanine.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* -------------------------
   2) Design tokens / variables
   ------------------------- */
:root{
  --bg: rgb(245,245,245);

  /* layout width (PC default) */
  --bgw: 60%;
  --bg-size: 90% auto;

  /* colors */
  --text: rgba(15, 18, 28, 0.92);
  --muted: rgba(15, 18, 28, 0.62);
  --line: rgba(15, 18, 28, 0.14);

  /* surfaces */
  --glass: rgba(255,255,255,0.58);
  --glass-strong: rgba(255,255,255,0.74);

  /* effects */
  --shadow: 0 10px 30px rgba(15, 18, 28, 0.12);
  --radius: 14px;

  /* layout */
  --max: 1100px;

  /* nav typography */
  --nav-pc-font: "Guanine", "MOBO", Arial, system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans JP", sans-serif;
  --nav-font: "MOBO", Arial, system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans JP", sans-serif;

  /* PC menu */
  --nav-pc-size: 17px;
  --nav-pc-lh: 1;
  --nav-pc-track: 0.14em;
  --nav-pc-font-color: rgba(15, 18, 28, 0.92);
  --nav-pc-hover-color: rgba(143, 178, 241, 1);

  /* SP overlay */
  --nav-sp-bgcolor: rgba(56,71,108,0.8);
  --nav-sp-size: 25px;
  --nav-sp-lh: 1.1;
  --nav-sp-track: 0.14em;
  --nav-sp-font-color: rgba(245, 245, 245, 1);
  --nav-sp-hover-color: rgba(143, 178, 241, 1);
}

/* SP: background width = 100% */
@media (max-width: 767px){
  :root{
    --bgw: 100%;
    --bg-size: 100% auto;
  }
}

/* -------------------------
   3) Base / reset-ish
   ------------------------- */
*{ box-sizing: border-box; }
html, body{ height: 100%; }

body{
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: "MOBO", system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans JP", Arial, sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

/* SP: prevent overflow sources */
@media (max-width: 767px){
  html, body{
    width: 100%;
    overflow-x: hidden;
  }
  img, svg, video, canvas{
    max-width: 100%;
    height: auto;
  }
}

/* -------------------------
   4) Accessibility helpers
   ------------------------- */
.skip-link{
  position: absolute;
  left: -9999px;
  top: 10px;
  padding: 10px 12px;
  background: #000;
  border: 1px solid var(--line);
  border-radius: 10px;
  z-index: 9999;
}
.skip-link:focus{ left: 10px; }

.sr-only{
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}



/* =========================================================
   JS enhancement
   ========================================================= */
html.js .banner-grid .banner{
  display: none;
}
