@charset "utf-8";
/* CSS Document */

/*! destyle.css v4.0.1 | MIT License | https://github.com/nicolas-cusan/destyle.css */

/* ボックスモデルとボーダーのリセット */
/* ============================================ */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&display=swap');

*,
::before,
::after {
    box-sizing: border-box;
    border-style: solid;
    border-width: 0;
    min-width: 0;
}

/* ドキュメント */
/* ============================================ */

/**
* 1. 全てのブラウザで行の高さを修正
* 2. iOSで画面回転後のフォントサイズの自動調整を防止
* 3. iOSでリンクの灰色オーバーレイを削除
*/

html {
    line-height: 1.15; /* 1 */
    -webkit-text-size-adjust: 100%; /* 2 */
    -webkit-tap-highlight-color: transparent; /* 3*/
    font-family:Avenir, Helvetica, Arial, Verdana, Roboto, "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック体", YuGothic, 'ヒラギノ角ゴシック Pro', 'Hiragino Kaku Gothic Pro', メイリオ, Meiryo, 'ＭＳ Ｐゴシック', 'MS PGothic', sans-serif;
}

/* セクション */
/* ============================================ */

/**
* 全てのブラウザでマージンを削除
*/

body {
    margin: 0;
}

/**
* IEでmain要素の表示を一貫させる
*/

main {
    display: block;
}

/* 垂直リズム */
/* ============================================ */

p,
table,
blockquote,
address,
pre,
iframe,
form,
figure,
dl {
    margin: 0;
}

/* 見出し */
/* ============================================ */

h1,
h2,
h3,
h4,
h5,
h6 {
    font-size: inherit;
    font-weight: inherit;
    margin: 0;
}

/* リスト（列挙） */
/* ============================================ */

ul,
ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

/* リスト（定義） */
/* ============================================ */

dt {
    font-weight: bold;
}

dd {
    margin-left: 0;
	line-height: 1.8rem;
}

/* グループ化コンテンツ */
/* ============================================ */

/**
* 1. Firefoxでボックスサイズを修正
* 2. EdgeとIEでオーバーフローを表示
*/

hr {
    box-sizing: content-box; /* 1 */
    height: 0; /* 1 */
    overflow: visible; /* 2 */
    border-top-width: 1px;
    margin: 0;
    clear: both;
    color: inherit;
}

/**
* 1. 全てのブラウザでフォントサイズの継承とスケーリングを修正
* 2. 全てのブラウザで奇数のemフォントサイズを修正
*/

pre {
    font-family: monospace, monospace; /* 1 */
    font-size: inherit; /* 2 */
}

address {
    font-style: inherit;
}

/* テキストレベルのセマンティクス */
/* ============================================ */

/**
* IE10でアクティブなリンクの灰色背景を削除
*/

a {
    background-color: transparent;
    text-decoration: none;
    color: inherit;
}

/**
* 1. Chrome57-で下部の境界線を削除
* 2. Chrome、Edge、IE、Opera、Safariで正しいテキスト装飾を追加
*/

abbr[title] {
    text-decoration: underline dotted; /* 2 */
}

/**
* Chrome、Edge、Safariで正しいフォントの太さを追加
*/

b,
strong {
    font-weight: bolder;
}

/**
* 1. 全てのブラウザでフォントサイズの継承とスケーリングを修正
* 2. 全てのブラウザで奇数のemフォントサイズを修正
*/

code,
kbd,
samp {
    font-family: monospace, monospace; /* 1 */
    font-size: inherit; /* 2 */
}

/**
* 全てのブラウザで正しいフォントサイズを追加
*/

small {
    font-size: 80%;
}

/**
* 全てのブラウザでsubとsup要素が行の高さに影響を与えるのを防止
*/

sub,
sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

sub {
    bottom: -0.25em;
}

sup {
    top: -0.5em;
}

/* 置換コンテンツ */
/* ============================================ */

/**
* 垂直方向の配置の問題を防止
*/

svg,
img,
embed,
object,
iframe {
    vertical-align: bottom;
}

/* フォーム */
/* ============================================ */

/**
* フォームフィールドをスタイル可能にリセット
* 1. 特にiOSでフォーム要素をスタイル可能に
* 2. 親要素からtext-transformを継承
*/

button,
input,
optgroup,
select,
textarea {
    -webkit-appearance: none; /* 1 */
    appearance: none;
    vertical-align: middle;
    color: inherit;
    font: inherit;
    background: transparent;
    padding: 0;
    margin: 0;
    border-radius: 0;
    text-align: inherit;
    text-transform: inherit; /* 2 */
}

/**
* クリック可能な要素のカーソルを修正
*/

button,
[type="button"],
[type="reset"],
[type="submit"] {
    cursor: pointer;
}

button:disabled,
[type="button"]:disabled,
[type="reset"]:disabled,
[type="submit"]:disabled {
    cursor: default;
}

/**
* Firefoxのアウトラインを改善し、入力要素とボタンのスタイルを統一
*/

:-moz-focusring {
    outline: auto;
}

select:disabled {
    opacity: inherit;
}

/**
* パディングを削除
*/

option {
    padding: 0;
}

/**
* 非表示にリセット
*/

fieldset {
    margin: 0;
    padding: 0;
    min-width: 0;
}

legend {
    padding: 0;
}

/**
* Chrome、Firefox、Operaで正しい垂直方向の配置を追加
*/

progress {
    vertical-align: baseline;
}

/**
* IE10+でデフォルトの垂直スクロールバーを削除
*/

textarea {
    overflow: auto;
}

/**
* Chromeでインクリメント・デクリメントボタンのカーソルスタイルを修正
*/

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
    height: auto;
}

/**
* Safariでアウトラインスタイルを修正
*/

[type="search"] {
    outline-offset: -2px; /* 1 */
}

/**
* macOS上のChromeとSafariで内部パディングを削除
*/

[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
}

/**
* 1. iOSとSafariでクリック可能な種類のスタイリング不能を修正
* 2. フォントの継承を修正
*/

::-webkit-file-upload-button {
    -webkit-appearance: button; /* 1 */
    font: inherit; /* 2 */
}

/**
* Firefoxの表示を修正
*/

/*[type="number"] {
    -moz-appearance: textfield;
} エラーで出るので削除　下記代わりに追加*/
 
input[type="checkbox"] {
  appearance: checkbox;
}


/**
* クリック可能なラベル
*/

label[for] {
    cursor: pointer;
}

/* インタラクティブ */
/* ============================================ */

/*
* Edge、IE10+、Firefoxで正しい表示を追加
*/

details {
    display: block;
}

/*
* 全てのブラウザで正しい表示を追加
*/

summary {
    display: list-item;
}

/*
* 編集可能なコンテンツのアウトラインを削除
*/

[contenteditable]:focus {
    outline: auto;
}

/* テーブル */
/* ============================================ */

/**
1. ChromeとSafariでテーブルの境界線の色の継承を修正
*/

table {
    border-color: inherit; /* 1 */
    border-collapse: collapse;
}

caption {
    text-align: left;
}

td,
th {
    vertical-align: top;
    padding: 0;
}

th {
    text-align: left;
    font-weight: bold;
}

/*
* 以下、オリジナルのリセット項目
* ============================================
*/

:root {
  --font-family-base: 'Noto Sans JP', sans-serif;
  --color-white: #ffffff;
  --color-black: #222;
  --color-red: #CE0003;
  --main-color: #00205b;
  --main-color-rgba: rgba(0, 48, 91, 0.6);
  --sub-color: #9cd2f8;
  --accent-color:#dea932;
  --accent-color-rgba: rgba(222, 169, 50, 0.5);
  --color-gray-dark: #ccc;
  /*--breakpoint-sm: 375px;
  --breakpoint-lg: 1024px;
  --font-size-base: 14px;
  --rem: 0.0625rem;*/
}

:where(:root) {
  overflow-wrap: anywhere;
  word-break: normal;
  line-break: strict;
  hyphens: auto;
  text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  scrollbar-gutter: stable;
  line-height: 1.5;
  overflow-x: clip;
  -webkit-tap-highlight-color: transparent;
  background-color: var(--color-background-base);
  font-family: var(--font-family-base);
  color: var(--color-black);
}

:where(body) {
  min-block-size: 100svb;
}

:where(a, area, button, [role="button"], input:not([type="range"]), label, select, summary, textarea) {
  -ms-touch-action: manipulation;
  touch-action: manipulation;
}

:where(a) {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  opacity: unset;
}

@media (any-hover: hover) {
  :where(a[href^="tel:"]) {
    pointer-events: none;
  }
}

:where(img) {
  max-width: 100%;
  width: 100%;
  height: auto;
  vertical-align: bottom;
}

:where(dialog) {
  width: unset;
  max-width: unset;
  height: unset;
  max-height: unset;
  padding: unset;
  color: unset;
  background-color: unset;
  border: unset;
  overflow: unset;
}

:root:has(dialog[open]) {
  overflow: hidden;
}

::backdrop {
  background-color: unset;
}

:where(input:not([type="checkbox"]):not([type="radio"]), textarea) {
  border: 1px solid var(--color-gray-dark);
}

textarea {
  field-sizing: content;
  min-height: 4lh;
}
