/*
 * FILE_INDEX
 * 概要: リセットCSS・CSS変数定義・基本要素スタイル（html/body/a/p/section等）
 * INDEX:
 *   IDX:010 charset-and-fonts
 *   IDX:020 reset-css
 *   IDX:030 form-reset
 *   IDX:040 css-variables
 *   IDX:050 html-font-size
 *   IDX:060 body-defaults
 *   IDX:070 element-base-styles
 *   IDX:080 section-defaults
 * 編集チートシート:
 *   カラー変数追加 → IDX:040
 *   フォントサイズ調整 → IDX:050
 *   基本要素スタイル → IDX:070
 * 依存:
 *   Google Fonts (Noto Sans JP, Oswald)
 * 注意:
 *   [WP override A/F] を含む。body padding-top は SP header 高さ依存
 */
/* IDX:010 charset-and-fonts */
@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;400;500;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Oswald:wght@300;500;600&display=swap");
/* IDX:020 reset-css */
/*
  * Reset CSS
*/
/* Box sizing rules */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* list Remove default style */
ul,
ol {
  padding: 0;
  list-style: none;
}

/* Remove default margin */
body,
h1,
h2,
h3,
h4,
p,
ul,
ol,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

/* Set core root defaults */
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

/* Set core body defaults */
body {
  text-rendering: optimizespeed;
  line-height: 1.5;
  overflow-x: hidden;
}

/* A elements that don't have a class get default styles */
a:not([class]) {
  text-decoration-skip-ink: auto;
  -webkit-text-decoration-skip: ink;
}

/* Make images easier to work with */
img {
  max-width: 100%;
  display: block;
}

/* Natural flow and rhythm in articles by default */
article > * + * {
  margin-top: 1em;
}

/* IDX:030 form-reset */
/* フォームリセット */
input,
button,
textarea,
select {
  font: inherit;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background: transparent;
  border: none;
  border-radius: 0;
}

/* stylelint-disable */
textarea {
  resize: vertical;
}

/* stylelint-enable */
input[type=radio] {
  visibility: hidden;
}

input[type=checkbox] {
  -webkit-appearance: checkbox;
  -moz-appearance: checkbox;
}

input[type=submit],
input[type=button],
label,
button,
select {
  cursor: pointer;
}

/* IDX:040 css-variables */
/* =====================
 * Baseスタイル
===================== */
:root,
:root[theme=Default] {
  --pc-max-width:1300px;
  --pc-max-width2:1000px;
  --pc-max-width3:820px;
  --pc-max-width4:620px;
  --f-family-main: "Noto Sans JP", sans-serif;
  --f-family-en: "Oswald", sans-serif;
  --f-font-size: 15px;
  --f-font-h2-size: 26px;
  --f-font-h3-size: 24px;
  --f-font3-size: 30px;
  --f-font-min-size: 10px;
  --f-line-height: 2.8;
  --f-line-height2: 2.0;
  --f-line-height3: 1.8;
  --f-h2-marginbottom: 40px;
  --f-h3-marginbottom: 16px;
  --c-white: #fff;
  --c-white2: #FDFCFA;
  --c-black: #505050;
  --c-gray:#F2F5F7;
  --c-gray2:#C1C4C5;
  --c-blue:#005B9C;
  --c-blue2:#304fc2;
  --c-blue3:#0065c0;
  --c-blue4:#1b8fea;
  --c-light-blue:#f2f7fa;
  --c-light-blue2:#e8f4fe;
  --c-light-blue3:#91ccfd;
  --c-light-blue4:#F3F7FB;
  --c-green:#009C8F;
  --c-light-green:#F9FFFD;
  --c-light-green2:#EBFFFB;
  --c-light-green3:#EDF6F2;
  --t-all1:all 0.5s ease;
}
@media (max-width: 768px) {
  :root,
  :root[theme=Default] {
    --c-black: #000;
    --f-font-size: 14px;
    --f-font-h2-size: 20px;
    --f-font-h3-size: 18px;
    --f-h2-marginbottom: 24px;
    --f-h3-marginbottom: 8px;
  }
}

/* IDX:050 html-font-size */
html {
  /* ----------------------------
  * リキッドレイアウト rootのfont-sizeを可変にして、単位をremで指定することでレイアウトを可変にする
    // 計算式参考サイト：https://lpeg.info/html/css_calc_font.html
    // font-size: calc([最小値px] + ([最大値] - [最小値]) * ((100vw - [最小画面幅px]) / ([最大画面幅] - [最小画面幅])));
    // clampと併用して上限下限を設定すること。しないと無限に変化し続ける
  * ---------------------------- */
  font-size: 18px;
  color: var(--c-black);
}
@media (max-width: 1140px) {
  html {
    font-size: clamp(12px, 12px + 4 * (100vw - 768px) / 372, 16px);
  }
}
@media (max-width: 768px) {
  html {
    font-size: 16px;
  }
}
@media (max-width: 375px) {
  html {
    font-size: clamp(12px, 4.2666666667vw, 16px);
  }
}

/* IDX:060 body-defaults */
body {
  font-family: var(--f-family-main);
  font-size: var(--f-font-size);
  line-height: var(--f-line-height);
  background-color: var(--c-3);
  overflow-wrap: break-word;
  word-break: break-all;
  background-color: var(--c-white);
}
/* [WP override F] */
@media (max-width: 768px) {
  body {
    padding-top: 8.0rem !important;
  }
}


/* IDX:070 element-base-styles */
img {
  height: auto;
  vertical-align: top;
}

a {
  display: inline-block;
  color: inherit;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s;
}
a:hover {
  color: #848484;
  transition: all 0.3s;
}

button {
  transition: 0.3s;
}
button:hover, button:focus {
  opacity: 0.7;
}

p {
  line-height: var(--f-line-height);
  text-wrap: pretty;
  line-break: strict;
}
/* [WP override A] */
body, p { font-size: 17px !important; }


/* IDX:080 section-defaults */
section {
  width: 100%;
  position: relative;
}
@media (max-width: 768px) {
  section {
    margin-left: auto;
    margin-right: auto;
  }
}
section h2, section .page-title {
  font-size: var(--f-font-h2-size);
  font-weight: 300;
  text-align: center;
  margin: auto;
  margin-bottom: var(--f-h2-marginbottom);
}
section h3 {
  font-size: var(--f-font-h3-size);
  margin-bottom: var(--f-h3-marginbottom);
}
section p, section li, section dt, section dd, section h3, section h4, section table td, section th {
  text-align: left;
  font-weight: 300;
}
section img {
  margin: auto;
}
