@charset "utf-8";
/* ==========================================================================
   base.css — 素の要素・コンテナ・ユーティリティ
   命名規則
     l-   レイアウト（header / footer / container）
     c-   コンポーネント（サイト全体で再利用）
     p-   プロジェクト（そのページ・セクション固有）
     u-   ユーティリティ
     js-  JSフック（スタイルを当てない）
   ========================================================================== */

html {
  font-size: var(--fz-base);
}

body {
  background: var(--c-bg);
  color: var(--c-text);
  font-family: var(--ff-base);
  font-size: var(--fz-base);
  font-weight: 400;
  line-height: var(--lh-base);
  letter-spacing: var(--ls-base);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* hidden だと position:sticky のヘッダー追従が壊れるため clip を使う */
  overflow-x: clip;
  /* 1080pxより狭い画面でも、ページ幅は1080pxのままにする */
  min-width: 1080px;

  overflow-wrap: anywhere; /* 収まらない場合に折り返す */
  word-break: normal; /* 単語の分割はデフォルトに依存 */
  line-break: strict; /* 禁則処理を厳格に適用 */
}

@media screen and (max-width: 1080px) and (min-width: 768px) {
  body {
    /* はみ出した分は横スクロールで見られるようにする */
    overflow-x: visible;
  }
}

@media screen and (max-width: 767px) {
  body {
    min-width: 0;
    width: 100%;
    max-width: 100%;
  }
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--ff-min);
  font-weight: 500;
  line-height: var(--lh-tight);
  letter-spacing: var(--ls-wide);
  font-feature-settings: "palt";
}

img {
  max-width: 100%;
  height: auto;
}

a {
  transition: color var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.txt-c{
  text-align: center;
}

/* --------------------------------------------------------------------------
   コンテナ
   左右の余白は padding、最大幅で中央に置く。中身は flex で積む。
   -------------------------------------------------------------------------- */
.l-inner,
.l-inner--hero,
.l-inner--header,
.l-inner--narrow {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.l-inner         { max-width: calc(var(--w-main) + var(--gutter) * 2); }
.l-inner--hero   { max-width: calc(var(--w-hero) + var(--gutter) * 2); }
.l-inner--header { max-width: calc(var(--w-header) + var(--gutter) * 2); }
.l-inner--narrow { max-width: calc(var(--w-narrow) + var(--gutter) * 2); }

/* --------------------------------------------------------------------------
   タイポグラフィ補助
   -------------------------------------------------------------------------- */
.u-en {
  font-family: var(--ff-en);
  letter-spacing: var(--ls-en);
}

.u-min {
  font-family: var(--ff-min);
}

.u-nowrap { white-space: nowrap; }

/* --------------------------------------------------------------------------
   表示切替
   -------------------------------------------------------------------------- */
.u-sp-only  { display: none !important; }
.u-flip-x   { transform: scaleX(-1); }
.u-tab-down { display: none !important; }

@media screen and (max-width: 1199px) {
  .u-pc-only  { display: none !important; }
  .u-tab-down { display: revert !important; }
}

@media screen and (min-width: 768px) and (max-width: 1199px) {
  .u-tab-hide { display: none !important; }
}

@media screen and (max-width: 767px) {
  .u-sp-only  { display: revert !important; }
  .u-sp-hide  { display: none !important; }
}

/* スクリーンリーダー向けにのみ残すテキスト */
.u-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* ドロワー展開時に body へ付与 */
.u-scroll-lock {
  overflow: hidden;
}
