@charset "UTF-8";
/* ==========================================================================
   base.css : 変数 / フォント / リセット / ユーティリティ(.u-)
   ========================================================================== */

@font-face {
  font-family: "CA Sans";
  src: url("../font/ca_sans.woff") format("woff"),
       url("../font/ca_sans.ttf") format("truetype"),
       url("https://www.cyberagent.co.jp/files/user/font/ca_sans.woff") format("woff"),
       url("https://www.cyberagent.co.jp/files/user/font/ca_sans.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

:root {
  /* color */
  --color-bg: #000;
  --color-text: #cdb27a;          /* 本文のゴールド */
  --color-text-strong: #fff;
  --color-gold: #d9b872;
  --color-gold-light: #f1dca8;
  --color-gold-nav: #cdaa6f;
  --color-green: #82be28;
  --color-green-hover: #97d234;
  --color-box: #1d1812;           /* 枠の単色 */
  --color-box-line: rgba(217, 184, 114, .22);

  /* font */
  --font-sans: "Noto Sans JP", "Noto Sans CJK JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  --font-serif: "EB Garamond", "Adobe Garamond Pro", "Cormorant Garamond", "Times New Roman", serif;
  --font-ca: "CA Sans", "Noto Sans JP", "Noto Sans CJK JP", sans-serif;

  /* size */
  --logo-h: calc(clamp(60px, 5.8vw, 92px) * .82);   /* ロゴの高さ */
  --header-pt: 30px;                                  /* ロゴ上部の余白（PC） */
  --header-pb: 14px;
  --header-h: calc(var(--header-pt) + var(--logo-h) + var(--header-pb));
  --container-w: 1080px;
  --gutter: clamp(20px, 5vw, 48px);
}

@media (max-width: 767px) {
  :root { --header-pt: 20px; }                        /* ロゴ上部の余白（スマホ） */
}

/* ---- reset ---- */
*, *::before, *::after { box-sizing: border-box; }
html {
  background: var(--color-bg);
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: var(--header-h);
}
html.is-menuOpen { overflow: hidden; }
body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-sans);
  font-size: clamp(14px, 1.15vw, 16px);
  line-height: 1.9;
  letter-spacing: .04em;
  word-break: normal;
  overflow-wrap: anywhere;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }

:focus-visible { outline: 2px solid var(--color-gold-light); outline-offset: 3px; }

/* ---- utility ---- */
.u-sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.u-font-serif { font-family: var(--font-serif); }
.u-font-ca { font-family: var(--font-ca); }
.u-align-center { text-align: center; }
.u-hidden-sm { display: none; }
@media (min-width: 768px) {
  .u-hidden-sm { display: initial; }
  .u-hidden-md { display: none; }
}
/* 改行を画面幅で切り替える（<br class="u-br-sm"> はスマホのみ改行） */
.u-br-sm { display: inline; }
@media (min-width: 768px) { .u-br-sm { display: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
