@charset "UTF-8";

/**
 * Foundation: foundation.css
 * サイト全体の土台となる共通設定を管理する。
 * ブラウザのリセット、カラー・フォントの変数定義、bodyへの基本スタイルを含む。
 * * 依存関係:
 * - :root (CSSカスタムプロパティ)
 */

:root {
  /* Theme Colors (サイトの個性を決める色) */
  /* --color-primary: #002E54;
  --color-secondary: #0059A8; */

  /* Base Colors (基本となるモノトーン) */
  --color-font-base: #000;
  --color-black-900: #000;
  --color-white-900: #fff;

  --color-cyan-400: #00FFF5;
  --color-navy-900: #040252;
  --color-navy-950: #022167;
  --color-navy-700: #080072;
  --color-yellow-400: #FFFF00;  
  
  /* 役割（セマンティック）としての定義 */
  --color-border-white: #fff;
  --bg-filter-navy: rgba(2, 33, 103, 0.2);

  /* Border Radius */
  --border-radius-circle: 50%;
  --border-radius-xs: 5px;
  --border-radius-sm: 10px;
  --border-radius-md: 15px;
  --border-radius-md-sp: calc(15px / 2);
  --border-radius-lg: 20px;
  --border-radius-lg-sp: calc(20px / 2);  

  /* Contents Padding */
  --contents-padding: 1.25rem;
  
  /* Font Family */
  --font-base: "Zen Kaku Gothic New", sans-serif;
  --font-number: "Noto Serif Display", serif;
  --font-zenkaku-go-new: "Zen Kaku Gothic New", sans-serif;
  --font-zen-old-min: "Zen Old Mincho", serif;

  /* Font Weight */
  --font-weight-light: 300;
  --font-weight-regular: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  --font-weight-extra-bold: 800;
  --font-weight-black: 900;

  /* Letter Space */
  --ls-nallow: 0.03em;
  --ls-default: 0.05em;

  /* Line Height */
  --line-height-none: 0;
  --line-height-one-line: 1;
  --line-height-xs: 1.45;
  --line-height-sm: 1.875;
  --line-height-md: 2;
  --line-height-lg: 2.2;
  --line-height-xl: 2.5;

  /* Hover Opacity */
  --hover-opacity: 0.6;

  /* Transition */
  --transition-base: all 0.3s;

  /* Z Index */
  --zindex-normal: 10;
  --zindex-star: 80;
  --zindex-pagetop: 100;
  --zindex-header: 200;
  --zindex-modal: 300;
}

html{
	scroll-behavior: smooth;
}

body{
  color: var(--color-font-base);
  font-family: var(--font-base);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

main {
	display: block;
}

h1,h2,h3,h4,h5{
  text-rendering: optimizeLegibility;
}

a {
	color: var(--color-font-base);
	transition: var(--transition-base);
}

a:before,
a:after {
	transition: var(--transition-base);
}

button {
	color: var(--color-font-base);
	transition: var(--transition-base);
}

button:before,
button:after {
	transition: var(--transition-base);
}

img {
	height: auto;
	max-width: 100%;
}