:root {
    --l-inner-lg: 1200;
    --l-inner: 1080;
    --l-inner-md: 1000;
}

:root {
    --margin-pc: 8rem;
    --margin-sp: 12rem;
    --padding-pc: 3.3333%;
    --padding-sp: 5.71%;
}

:root {
    --font-family-h: "M PLUS Rounded 1c", "Hiragino Kaku Gothic ProN",
        "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
    --font-family-base: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
    ;
    --font-en: "Edu TAS Beginner", cursive;
}

:root {
    --font-size-base: 24;
}

:root {
    /* --color-base: #1F296A; */
    --color-base: #231815;
    --color-white: #fff;
    --color-black: #231815;
    --color-pink: #EA5966;
    --color-pink-light: #F9D0DB;
    --color-pink-dullness: #CD7E9A;
    --color-blue: #1F296A;
    --color-blue-light: #00B6D6;
    --color-blue-lighter: #E2F2F3;
    --color-yellow: #FFF100;
    --color-yellow-light: #FFFBC7;
    --color-yellow-lighter: #FFFDE5;
}

:root {
    --z-index-base: 0;
    --z-index-back: -1;
    --z-index-front: 1;
}

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

:where(:root) {
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    tab-size: 4;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

:where(body) {
    margin: 0;
    height: 100%;
    /* overflow: hidden; */
}

:where(main) {
    display: block;
}

:where(p, table, blockquote, address, pre, iframe, form, figure, dl) {
    margin: 0;
    text-align: left;
}

:where(h1, h2, h3, h4, h5, h6) {
    margin: 0;
    font-family: var(--font-family-h);
    font-weight: inherit;
    font-size: inherit;
    text-align: center;
}

:where(h1) {
    font-size: calc(var(--font-size-base) / 4 * 1rem);
    font-weight: bold;
}

:where(h2) {
    font-size: calc(var(--font-size-base) / 8 * 1rem);
    font-weight: bold;
}

:where(h3) {
    font-size: calc(var(--font-size-base) / 16 * 1rem);
    font-weight: bold;
}

:where(h4) {
    font-size: calc(var(--font-size-base) / 20 * 1rem);
    font-weight: bold;
}

:where(h5) {
    font-size: calc(var(--font-size-base) / 24 * 1rem);
    font-weight: bold;
}

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

:where(dt) {
    font-weight: bold;
}

:where(dd) {
    margin-left: 0;
}

:where(hr) {
    box-sizing: content-box;
    height: 0;
    margin: 0;
    clear: both;
    overflow: visible;
    border-top-width: 1px;
    color: inherit;
}

:where(pre) {
    font-size: inherit;
    font-family: monospace, monospace;
}

:where(address) {
    font-style: inherit;
}

:where(a) {
    background-color: rgba(0, 0, 0, 0);
    color: inherit;
    display: block;
    text-decoration: none;
}

:where(abbr[title]) {
    -webkit-text-decoration: underline dotted;
    text-decoration: underline dotted;
}

:where(b, strong) {
    font-weight: bolder;
}

:where(code, kbd, samp) {
    font-size: inherit;
    font-family: monospace, monospace;
}

:where(small) {
    font-size: 80%;
}

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

:where(sub) {
    bottom: -0.25em;
}

:where(sup) {
    top: -0.5em;
}

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

:where(button, input, optgroup, select, textarea) {
    appearance: none;
    margin: 0;
    padding: 0;
    border-radius: 0;
    background: rgba(0, 0, 0, 0);
    color: inherit;
    font: inherit;
    text-align: inherit;
    text-transform: inherit;
    vertical-align: middle;
}

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

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

:where(:-moz-focusring) {
    outline: auto;
}

:where(select:disabled) {
    opacity: inherit;
}

:where(option) {
    padding: 0;
}

:where(fieldset) {
    min-width: 0;
    margin: 0;
    padding: 0;
}

:where(legend) {
    padding: 0;
}

:where(progress) {
    vertical-align: baseline;
}

:where(textarea) {
    overflow: auto;
}

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

:where([type="search"]) {
    outline-offset: -2px;
}

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

:where(::-webkit-file-upload-button) {
    -webkit-appearance: button;
    font: inherit;
}

:where([type="number"]) {
    -moz-appearance: textfield;
}

:where(label[for]) {
    cursor: pointer;
}

:where(details) {
    display: block;
}

:where(summary) {
    display: list-item;
}

:where([contenteditable]:focus) {
    outline: auto;
}

:where(table) {
    border-color: inherit;
    border-collapse: collapse;
}

:where(caption) {
    text-align: left;
}

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

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

:where([aria-busy="true" i]) {
    cursor: progress;
}

:where([aria-disabled="true" i], [disabled]) {
    cursor: not-allowed;
}

:where([aria-hidden="false" i][hidden]) {
    display: initial;
}

:where([aria-hidden="false" i][hidden]:not(:focus)) {
    clip: rect(0, 0, 0, 0);
    position: absolute;
}

:where(html) {
    font-size: calc(var(--font-size-base) * 1px);
    letter-spacing: 1.25px;
    margin: 0;
    padding: 0;
}

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

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

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

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

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

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

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

::backdrop {
    background-color: unset;
}

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

@media screen and (max-width: 430px) {
    :where(h2) {
        font-size: calc(var(--font-size-base) / 12 * 1rem);
    }

    :where(h3) {
        font-size: calc(var(--font-size-base) / 17 * 1rem);
    }
}