@charset "UTF-8";

/* ========================================
  Foundation CSS
  共通リセット・フォント
  PCファースト / SPはメディアクエリで対応
======================================== */

/* ------------------------------
  リセット / ノーマライズ
------------------------------ */
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}


html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend, select,
table, caption, tbody, tfoot, thead, tr, th, td {
  margin: 0;
  padding: 0;
  border: 0;
  vertical-align: baseline;
  font-size: 100%;
  font-family: inherit;
}

article, aside, details, figcaption, figure,
footer, header, hgroup, main, menu, nav, section {
  display: block;
}

body {
  font-family: var(--font-family-base);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-white);
}

ol, ul {
  list-style: none;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ------------------------------
  Font
------------------------------ */
@font-face {
  font-family: 'Noto Sans JP';
  src: url('../fonts/noto-sans-jp/noto-sans-jp-v55-japanese-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Noto Sans JP';
  src: url('../fonts/noto-sans-jp/noto-sans-jp-v55-japanese-500.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Noto Sans JP';
  src: url('../fonts/noto-sans-jp/noto-sans-jp-v55-japanese-600.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Noto Sans JP';
  src: url('../fonts/noto-sans-jp/noto-sans-jp-v55-japanese-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'ZenKaku Gothic New';
  src: url('/assets/fonts/ZenKakuGothicNew/ZenKakuGothicNew-300.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'ZenKaku Gothic New';
  src: url('/assets/fonts/ZenKakuGothicNew/ZenKakuGothicNew-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'ZenKaku Gothic New';
  src: url('/assets/fonts/ZenKakuGothicNew/ZenKakuGothicNew-500.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'ZenKaku Gothic New';
  src: url('/assets/fonts/ZenKakuGothicNew/ZenKakuGothicNew-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'ZenKaku Gothic New';
  src: url('/assets/fonts/ZenKakuGothicNew/ZenKakuGothicNew-900.woff2') format('woff2');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Zen Maru Gothic';
  src: url('/assets/fonts/ZenMaruGothic/ZenMaruGothic-300.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Zen Maru Gothic';
  src: url('/assets/fonts/ZenMaruGothic/ZenMaruGothic-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Zen Maru Gothic';
  src: url('/assets/fonts/ZenMaruGothic/ZenMaruGothic-500.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Zen Maru Gothic';
  src: url('/assets/fonts/ZenMaruGothic/ZenMaruGothic-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Zen Maru Gothic';
  src: url('/assets/fonts/ZenMaruGothic/ZenMaruGothic-900.woff2') format('woff2');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

/* ------------------------------
  見出し・テキストベース
------------------------------ */
h1 { font-size: var(--fs-32); line-height: var(--lh-md); font-weight: var(--fw-bold); }
h2 { font-size: var(--fs-28); line-height: var(--lh-md); font-weight: var(--fw-bold); }
h3 { font-size: var(--fs-24); line-height: var(--lh-md); font-weight: var(--fw-bold); }
h4 { font-size: var(--fs-20); line-height: var(--lh-md); font-weight: var(--fw-bold); }
h5 { font-size: var(--fs-16); line-height: var(--lh-md); font-weight: var(--fw-bold); }
h6 { font-size: var(--fs-14); line-height: var(--lh-md); font-weight: var(--fw-bold); }

/* ------------------------------
  フォント・テキスト共通
------------------------------ */
strong { font-weight: bold; }
em { font-style: italic; }
u { text-decoration: underline; }
sup { vertical-align: super; font-size: 0.75em; }
sub { vertical-align: sub; font-size: 0.75em; }

/* ------------------------------
  リスト・テーブル基本
------------------------------ */
ul, ol {
  padding-left: 1.5em;
}

li {
  margin-bottom: 0.5em;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

th, td {
  padding: 0.5em;
  text-align: left;
  border: 1px solid var(--color-border);
}

/* ------------------------------
  リンク共通
------------------------------ */
a:hover,
a:focus {
  text-decoration: underline;
}

/* ------------------------------
  ブレークポイント (SP)
  767px以下はスマホ
------------------------------ */
@media screen and (max-width: 767px) {
  h1 { font-size: var(--fs-22); }
  h2 { font-size: var(--fs-20); }
  h3 { font-size: var(--fs-18); }
  h4 { font-size: var(--fs-16); }
  h5 { font-size: var(--fs-14); }
  h6 { font-size: var(--fs-12); }
}