@charset "UTF-8";

/**
 * Foundation: foundation.css
 * サイト全体の土台となる共通設定を管理する。
 * ブラウザのリセット、カラー・フォントの変数定義、bodyへの基本スタイルを含む。
 * * 依存関係:
 * - :root (CSSカスタムプロパティ)
 */

:root {
  /* Theme Colors (サイトの個性を決める色) */
  --color-primary: #002E54;
  --color-secondary: #0059A8;
  --color-tertiary: #B5001F;

  /* Base Colors (基本となるモノトーン) */
  --color-font-base: #000;
  --color-black-900: #000;
  --color-sky-blue: #B9E3F9;
  --color-white-900: #fff;
  
  /* 役割（セマンティック）としての定義 */
  --color-border-black: #000;
  --color-text-link: #074AFF;

  /* Border Radius */
  --border-radius-circle: 50%;
  --border-radius-xs: 8px;
  --border-radius-sm: 12px;
  --border-radius-md: 15px;
  --border-radius-ml: 20px;

  /* ease */
  --easeInOutQuint: cubic-bezier(0.86, 0, 0.07, 1);
  
  /* Font Family */
  --font-base: "Noto Sans JP", sans-serif;
  --font-en: "M PLUS Rounded 1c", sans-serif;
  --font-m-plus: "M PLUS Rounded 1c", sans-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-default: 0.1em;
  --ls-wide: 0.2em;

  /* Line Height */
  --line-height-none: 0;
  --line-height-one-line: 1;
  --line-height-xs: 1.5;
  --line-height-sm: 1.75;
  --line-height-md: 2;
  --line-height-lg: 2.2;
  --line-height-xl: 2.5;

  /* Text Decoration */
  --text-deco-offset: 0.2em;

  /* Transition */
  --transition-base: all 0.3s;

  /* Z Index */
  --zindex-normal: 10;
  --zindex-header: 200;
  --zindex-pagetop: 100;
  --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%;
}