@charset "UTF-8";
/* --------------------------------------------------
  Template by espace（https://espace.monbalcon.net/）
  Copyright: 2020 espace.

  利用規約を遵守の上、ご利用ください。
  二次配布、販売は禁止しています。
  --------------------------------------------------*/

/* ----- ▼ CSS変数設定 ここから ▼ ----- */
@import url("https://fonts.googleapis.com/css2?family=Bad+Script&family=Noto+Sans+JP&family=Noto+Serif+JP&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Material+Symbols+Rounded:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200");
:root {
    --text-color: #333;
    --bg-color: #f9f1ea;
    --bg-light-color: #fff;
    --required-color: #81a8a0;
    --bg-light-color: #fff;
    --menu-scroll-text-color: var(--bg-light-color);
    --theme-color1-light: #b7bbdd;
    --theme-color1-default: #9ca0c5;
    --theme-color1-op: rgba(156, 160, 197, 0.5);
    --theme-color2-light: #ede0dd;
    --theme-color2-default: #e1d0d0;
    --theme-color2-dark: #c7aaaa;
    --theme-color2-link: #a88181;
    --animation: 0.7s;
    --font-family-basic: Yu Gothic, Meiryo, Hiragino Kaku Gothic ProN, sans-serif;
    --font-family-menu: "Noto Serif JP", Yu Mincho, YuMincho, Hiragino Mincho Pro, serif;
    --font-family-sitename: "Bad Script", Yu Gothic, Meiryo, Hiragino Kaku Gothic ProN, sans-serif;
    --font-family-heading-1: "Noto Serif JP", Yu Mincho, YuMincho, Hiragino Mincho Pro, serif;
    --font-family-heading-2: "Noto Sans JP", Yu Mincho, YuMincho, Hiragino Mincho Pro, serif;
    --font-family-icon: Material Symbols Rounded;
    --font-size-small: 1.2rem;
    --font-size-basic: 1.6rem;
    --line-height-basic: 2.65rem;
    --modal-bg-color: var(--theme-color1-light);
    --modal-overlay-color: rgba(0, 0, 0, 0.3);
    --modal-button-text-color: var(--theme-color2-dark);
    --modal-button-bg-color: var(--theme-color2-light);
    --modal-button-border-color: var(--theme-color2-default);
    --modal-yes-color: #3b33ac;
    --modal-no-color: #ac3333;
    --modal-input-border-color: var(--theme-color2-default);
    --header-img: url("img/layout/header-default.svg");
    --footer-img: url("img/layout/footer-default.svg");
		/* 大きな縦長画像の表示サイズ */
		--largeimg-size: 600px;
		/* 投稿内の縦長画像の最大サイズを設定できます。不要な場合は数値と単位を削除してください。 */
		
		/* 小さな画像のサムネサイズ */
		--miniimg-size: 200px;
		/* 投稿内の「NSFW画像」と「smallタグで囲んだ画像」のサムネサイズを設定できます。100px以上推奨。 */
}

@media (prefers-color-scheme: dark) {
    :root {
        --text-color: #aaa1a0;
        --bg-color: #081927;
        --bg-light-color: #0e2335;
        --required-color: red;
        --bg-light-color: #0e2335;
        --menu-scroll-text-color: #c0c2d4;
        --theme-color1-light: #4f526b;
        --theme-color1-default: #606382;
        --theme-color1-op: rgba(96, 99, 130, 0.7);
        --theme-color2-light: #6c5858;
        --theme-color2-default: #887474;
        --theme-color2-dark: #bca4a0;
        --theme-color2-link: #bca4a0;
        --modal-bg-color: var(--theme-color1-light);
        --modal-overlay-color: rgba(0, 0, 0, 0.3);
        --modal-yes-color: #3b33ac;
        --modal-no-color: #ac3333;
        --header-img: url("img/layout/header-dark.svg");
        --footer-img: url("img/layout/footer-dark.svg");
    }
}
/* ----- ▲ CSS変数設定 ここまで ▲ ----- */

/* ----- ▼ リセット　ここから（基本的には触らない方が良い部分） ▼ ----- */
/*
  Josh's Custom CSS Reset
  https://www.joshwcomeau.com/css/custom-css-reset/
*/
*,
*::before,
*::after {
    box-sizing: border-box;
}

* {
    margin: 0;
}

body {
    -webkit-font-smoothing: antialiased;
}

input,
button,
textarea,
select {
    font: inherit;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
    overflow-wrap: break-word;
}

#root,
#__next {
    isolation: isolate;
}

/*
  Add by espace
*/
* {
    word-break: normal;
}

:focus {
    outline: none;
}

html {
    font-size: 62.5%;
}

body {
    word-wrap: break-word;
}

picture,
video,
canvas,
svg {
    display: block;
    max-width: 100%;
    margin-block: 0;
    margin-inline: auto;
}

a,
button {
    cursor: pointer;
}

a {
    text-decoration: none;
}

img {
    vertical-align: middle;
    max-inline-size: 100%;
}

p,
dl,
ul,
ol,
form,
blockquote,
.box,
.scrollbox {
    margin-block: 2.5rem;
    margin-inline: auto;
}

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

main {
    hanging-punctuation: allow-end;
}
/* ----- ▲ リセット　ここまで（基本的には触らない方が良い部分） ▲ ----- */

/* ----- ▼ PCレイアウト　ここから ▼ ----- */
/* 基本 */
html {
    background: var(--bg-color);
}

body,
button,
input,
textarea,
select {
    font: 500 var(--font-size-basic) / var(--line-height-basic) var(--font-family-basic);
    color: var(--text-color);
}

html {
    position: relative;
    overflow-x: hidden;
}
html::after,
html::before {
    content: "";
    position: absolute;
    display: block;
    max-width: 100vw;
    z-index: -1;
    pointer-events: none;
}
html::before {
    top: -10px;
    left: -10px;
    height: 30vh;
    aspect-ratio: 3.3/1;
    background: var(--header-img) top center/cover;
    z-index: 1;
}
html::after {
    bottom: 0;
    left: 0;
    width: 100%;
    aspect-ratio: 3/1;
    background: var(--footer-img) top center/cover;
}

body.get-header {
    margin-top: 36rem;
}
header {
    position: absolute;
    top: 6rem;
    left: 6rem;
    width: calc(100vw - 12rem);
    width: calc(100% - 12rem);
    margin: 0;
}

main,
footer {
    max-width: 1000px;
    margin: auto;
}

main {
    margin-top: 28rem;
    margin-bottom: 16rem;
}

footer {
    margin-top: 12rem;
    padding-block: 6rem;
}

/* メニュー */
.menu:not(#spotlight) {
    top: -6rem;
    left: 0;
    width: calc(100vw - 12rem);
    width: 100%;
    padding: 3rem;
    font: 400 var(--font-size-small) / 1 var(--font-family-menu);
    transition: background var(--animation), top var(--animation);
    z-index: 70;
}
.menu:not(#spotlight) ul {
    display: flex;
    justify-content: center;
    gap: 3.6rem;
}
.menu:not(#spotlight) ul li a {
    color: var(--theme-color1-default) !important;
}
.menu:not(#spotlight) ul li a::after {
    content: none !important;
}
.menu:not(#spotlight).scroll {
    position: fixed;
    top: 0;
    padding: 1.5rem;
    background: var(--theme-color1-op);
}
.menu:not(#spotlight).scroll ul li a {
    color: var(--menu-scroll-text-color) !important;
}

.manu-toggler {
    display: none;
}

.fixed-menu {
    position: fixed;
    bottom: 3rem;
    right: 3rem;
    z-index: 60;
}
.fixed-menu ul li.next::before {
    content: none;
}
.fixed-menu ul li a,
.fixed-menu ul li button,
.fixed-menu ul li span {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    margin: 0;
    padding: 0;
    border-radius: 2rem;
    background: var(--bg-light-color);
    color: var(--theme-color2-default) !important;
    transition: color var(--animation);
}
.fixed-menu ul li a::before,
.fixed-menu ul li button::before,
.fixed-menu ul li span::before {
    font: 400 24px/1 "Material Symbols Rounded";
}
.fixed-menu ul li a:hover,
.fixed-menu ul li button:hover {
    background: var(--bg-light-color) !important;
    color: var(--theme-color1-light);
}
.fixed-menu ul li a::after {
    content: none !important;
}
.fixed-menu ul li button {
    border: 0;
}
.fixed-menu ul li span {
    opacity: 0.5;
}
.fixed-menu ul li.pagetop a::before,
.fixed-menu ul li.pagetop button::before,
.fixed-menu ul li.pagetop span::before {
    content: "\eacf";
}
.fixed-menu ul li.prev a::before,
.fixed-menu ul li.prev button::before,
.fixed-menu ul li.prev span::before {
    content: "\e314";
}
.fixed-menu ul li.next a::before,
.fixed-menu ul li.next button::before,
.fixed-menu ul li.next span::before {
    content: "\e315";
}
.fixed-menu ul li.home a::before,
.fixed-menu ul li.home button::before,
.fixed-menu ul li.home span::before {
    content: "\e88a";
}
.fixed-menu ul li.toc a::before,
.fixed-menu ul li.toc button::before,
.fixed-menu ul li.toc span::before {
    content: "\ea19";
}
.fixed-menu ul li.characters a::before,
.fixed-menu ul li.characters button::before,
.fixed-menu ul li.characters span::before {
    content: "\e7ef";
}
.fixed-menu ul li.images a::before,
.fixed-menu ul li.images button::before,
.fixed-menu ul li.images span::before {
    content: "\e413";
}

/* 見出し */
h1 {
    background: var(--theme-color1-default);
    font: 400 4rem/1 var(--font-family-sitename);
    color: var(--bg-light-color);
}
h1 a,
h1 a span {
    display: block;
    padding: 3rem;
}
h1 span {
    pointer-events: none;
}
h1 a {
    background: transparent;
    text-align: center;
    color: var(--bg-light-color) !important;
    transition: background var(--animation);
}
h1 a::after {
    content: none !important;
}
h1 a span {
    border: 1px solid var(--bg-color);
}
h1 a:hover {
    background: var(--theme-color2-default);
}

h2,
h3,
h4,
h5,
h6 {
    letter-spacing: 0.125rem;
}
h2 span,
h3 span,
h4 span,
h5 span,
h6 span {
    display: inline-block;
    padding-inline: 2.125rem 2rem;
    padding-block: 0 0.125rem;
}

h2 {
    position: relative;
    margin-block: 12rem 6rem;
    font: 400 var(--font-size-basic) / 1 var(--font-family-heading-1);
    color: var(--theme-color1-default);
    text-align: center;
}
h2 span {
    background: var(--bg-color);
}
h2::before {
    content: "";
    position: absolute;
    top: 50%;
    display: block;
    height: 2px;
    width: 100%;
    background: var(--theme-color2-light);
    z-index: -1;
}

h3,
h4,
h5,
h6 {
    margin-block: 6rem;
    font: 400 var(--font-size-basic) / 1 var(--font-family-heading-2);
}
h3 span,
h4 span,
h5 span,
h6 span {
    border: 2px solid var(--theme-color1-default);
    padding-block: 4px;
}

h3 {
    color: var(--bg-color);
}
h3 span {
    background: var(--theme-color1-default);
}

h4,
h5,
h6 {
    color: var(--theme-color1-default);
}

h5 span,
h6 span {
    border-inline: 0;
}

h6 span {
    border-block-start: 0;
}

/* リスト */
ul.no-style,
ol.no-style {
    padding: 0;
    list-style: none;
}
ul.column,
ol.column {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
}
ul.column > *,
ol.column > * {
    margin: 0 !important;
}
ul.column.gap,
ol.column.gap {
    gap: 0.5rem 2.5rem;
}
ul.column.column-2 > *,
ol.column.column-2 > * {
    inline-size: calc((100% - 2.5rem) / 2) !important;
}
ul.column.column-3 > *,
ol.column.column-3 > * {
    inline-size: calc((100% - 2.5rem) / 3) !important;
}
ul .description,
ol .description {
    margin-inline-start: 1rem;
}
ul .description::before,
ol .description::before {
    content: "…";
    margin-inline-end: 1rem;
}
ul .description:has(ul.small),
ul .description:has(ol.small),
ol .description:has(ul.small),
ol .description:has(ol.small) {
    display: flex;
    justify-content: flex-start;
}
ul .description:has(ul.small)::before,
ul .description:has(ol.small)::before,
ol .description:has(ul.small)::before,
ol .description:has(ol.small)::before {
    content: "└";
}
ul .description > ul.small,
ol .description > ul.small {
    display: inline-block;
    margin-block: 0;
    margin-inline: 0;
}

dl dd {
    margin-block-end: 1.25rem;
    padding-inline-start: 5rem;
    padding-block-end: 1.25rem;
}
dl dd:last-of-type {
    padding-block-end: 0 !important;
    border-block-end: 0 !important;
}
dl.inline {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem 0;
}
dl.inline dt,
dl.inline dd {
    margin-block-end: 0;
    padding-block-end: 1.25rem;
}
dl.inline dt:last-of-type,
dl.inline dd:last-of-type {
    padding-block-end: 0 !important;
    border-block-end: 0 !important;
}
dl.inline dt {
    inline-size: 20rem;
}
dl.inline dd {
    inline-size: calc(100% - 20rem);
    padding-inline-start: 0;
}

ul li.next {
    list-style: none;
}
ul li.next::before {
    content: "→";
    margin-inline-end: 0.4rem;
    font-size: 120%;
}
ul.small {
    list-style: none;
    padding-inline-start: 0;
}
ul.small li {
    display: inline;
}
ul.small li::before {
    color: var(--theme-color2-default);
}
ul.small li:not(:first-child):not(.next)::before {
    content: ":";
    margin-block: 0;
    margin-inline: 0.2rem 0.4rem;
    font-weight: 900;
}
ul.small li.next::before {
    margin-block: 0;
    margin-inline: 0.2rem 0.4rem;
}

dl dd {
    border-block-end: 1px solid var(--theme-color2-default);
}
dl.inline dt,
dl.inline dd {
    border-block-end: 1px solid var(--theme-color2-default);
}
dl.border {
    padding-block: 1.4rem;
    padding-inline: 2rem;
    border: 2px solid var(--theme-color2-default);
    border-radius: 1rem;
}

/* フォーム */
.required::after {
    content: "*";
    color: var(--required-color);
}

.form-block {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}
.form-block > dl:first-child {
    margin-block-start: 0;
}
.form-block > dl:last-of-type {
    margin-block-end: 0;
}
.form-block dl dt,
.form-block dl dd {
    margin: 0;
    padding: 0;
    border-block-end: 0;
}
.form-block dl dd > * {
    margin: 0;
}
.form-block dl.inline {
    gap: 1.25rem 0;
}
.form-block dl.inline dt {
    inline-size: 13rem;
}
.form-block dl.inline dd {
    inline-size: calc(100% - 13rem);
}
.form-block > *,
.form-block dl dd > * {
    inline-size: 100%;
}

input,
textarea,
select,
button:not(.manu-toggler),
input[type="submit"],
input[type="button"] {
    border: 2px solid var(--theme-color2-default);
    background: var(--bg-light-color);
}

textarea { 
	width:100%;
 }

.postbutton { 
	width:100%;
	margin: 0px 0px 10px 0px; /* 外側の時計回りの余白 */
 }

input,
textarea,
select {
    border-radius: 1rem;
}
button:not(.manu-toggler),
input[type="submit"],
input[type="button"] {
    border-radius: 2rem;
    background: var(--theme-color2-light);
    font-weight: bold;
    color: var(--theme-color2-dark);
    transition: background var(--animation);
}
button:not(.manu-toggler):disabled,
input[type="submit"]:disabled,
input[type="button"]:disabled {
    filter: grayscale(0.8);
}
button:not(.manu-toggler):not(:disabled):hover,
input[type="submit"]:not(:disabled):hover,
input[type="button"]:not(:disabled):hover {
    background: var(--theme-color2-default);
}

/* リンク */
a.arrow::before,
span.arrow::before {
    content: "\e315";
    margin-inline-end: 0.4rem;
    font-family: "Material Symbols Rounded";
    vertical-align: middle;
}
a.btn,
span.btn {
    overflow: hidden;
    padding-block: 0.4rem;
    padding-inline: 0.8rem;
    border: 2px solid var(--theme-color2-default);
    border-radius: 2rem;
    background: var(--bg-light-color);
    color: var(--theme-color2-dark);
    font-weight: bold;
    transition: background var(--animation), color var(--animation);
}
a.btn.btn-block,
span.btn.btn-block {
    display: block;
    margin-block: 0.6rem;
    text-align: center;
}
a.btn.btn-arrow::after,
span.btn.btn-arrow::after {
    content: "\e315";
    margin-inline-start: 0.4rem;
    font-family: "Material Symbols Rounded";
    vertical-align: middle;
}
a.btn.btn-arrow.btn-block,
span.btn.btn-arrow.btn-block {
    position: relative;
    padding-inline-end: 2rem;
}
a.btn.btn-arrow.btn-block::after,
span.btn.btn-arrow.btn-block::after {
    position: absolute;
    right: 0.6rem;
}

a:not(.btn):not(.btn-link):not(.ebs-link-btn) {
    position: relative;
    color: var(--theme-color2-link);
}
a:not(.btn):not(.btn-link):not(.ebs-link-btn)::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    height: 2px;
    width: 100%;
    background: var(--theme-color2-light);
    transition: all var(--animation);
}
a:not(.btn):not(.btn-link):not(.ebs-link-btn):has(img)::after {
    content: none;
}
a:not(.btn):not(.btn-link):not(.ebs-link-btn):hover::after {
    opacity: 0;
    bottom: -6px;
}
a.btn:hover,
a.btn-block:hover {
    background: var(--theme-color2-default);
    color: var(--bg-light-color);
}

span.btn,
span.btn-block {
    filter: grayscale(1);
}

/* てがろぐ用CSS */
a.taglink::before {
    margin-inline-end: 0.4rem;
    font-family: "Material Symbols Rounded";
    vertical-align: middle;
	margin: 0px 0px 0px 0px; /* 外側の時計回りの余白 */
 }
 a.taglink {
	background: var(--theme-color2-light);
	margin: 0px 10px 0px 0px; /* 外側の時計回りの余白 */
 }

a.url::before {
    content: "\e315";
    margin-inline-end: 0.4rem;
    font-family: "Material Symbols Rounded";
    vertical-align: middle;
 }

a.readmorebutton { 
    overflow: hidden;
    padding-block: 0.4rem;
    padding-inline: 0.8rem;
    border: 2px solid var(--theme-color2-default);
    border-radius: 2rem;
    background: var(--bg-light-color);
    color: var(--theme-color2-dark);
    font-weight: bold;
    transition: background var(--animation), color var(--animation);
 }
 a.readmorebutton {
    display: block;
    margin-block: 0.6rem;
    text-align: center;
	width: 100%;
}
a.readmorebutton::after {
    content: "\e315";
    margin-inline-start: 0.4rem;
    font-family: "Material Symbols Rounded";
    vertical-align: middle;
}
a.readmorebutton {
    position: relative;
}
a.readmorebutton::after {
    position: absolute;
    right: 0.6rem;
}

a:not(.readmorebutton) {
    position: relative;
    color: var(--theme-color2-link);
}
a:not(.readmorebutton)::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    height: 2px;
    width: 100%;
    background: var(--theme-color2-light);
    transition: all var(--animation);
}
a:not(.readmorebutton)::after {
    content: none;
}
a:not(.readmorebutton):hover::after {
    opacity: 0;
    bottom: -6px;
}
a.readmorebutton:hover {
    background: var(--theme-color2-default);
    color: var(--bg-light-color);
}

span.readmorebutton {
    filter: grayscale(1);
}

a.prevlink,
a.pagenumlink,
a.nextlink { 
	overflow: hidden;
    padding-block: 0.4rem;
    padding-inline: 0.8rem;
    border: 2px solid var(--theme-color2-default);
    border-radius: 2rem;
    background: var(--bg-light-color);
    color: var(--theme-color2-dark);
    font-weight: bold;
    transition: background var(--animation), color var(--animation);
 }
 a.prevlink,
 a.pagenumlink,
 a.nextlink {
	 display: inline-block;
	 margin-block: 0.6rem;
	 text-align: center;
 }
 a.prevlink.pagenumlink.nextlink::after {
	 content: "\e315";
	 margin-inline-start: 0.4rem;
	 font-family: "Material Symbols Rounded";
	 vertical-align: middle;
 }
 a.prevlink.pagenumlink.nextlink {
	 position: relative;
 }
 a.prevlink.pagenumlink.nextlink::after {
	 position: absolute;
	 right: 0.6rem;
 }
 
 a:not(.prevlink):not(.pagenumlink):not(.nextlink) {
	 position: relative;
	 color: var(--theme-color2-link);
 }
 a:not(.prevlink):not(.pagenumlink):not(.nextlink)::after {
	 content: "";
	 position: absolute;
	 left: 0;
	 bottom: -4px;
	 height: 2px;
	 width: 100%;
	 background: var(--theme-color2-light);
	 transition: all var(--animation);
 }
 a:not(.prevlink):not(.pagenumlink):not(.nextlink):has(img)::after {
	 content: none;
 }
 a:not(.prevlink):not(.pagenumlink):not(.nextlink):hover::after {
	 opacity: 0;
	 bottom: -6px;
 }
 a.prevlink:hover,
 a.pagenumlink:hover,
 a.nextlink:hover  {
	 background: var(--theme-color2-default);
	 color: var(--bg-light-color);
 }
 
 span.prevlink,
 span.pagenumlink,
 span.nextlink {
	 filter: grayscale(1);
 }

  a.pagenumhere  {
	background: var(--theme-color2-dark);
	color: var(--bg-light-color);
  }


/* img -------------------------------------------- */
.embeddedimage { 
	display: block;
	line-height: 1;
	margin: auto;
    width: 60%;    /* 横幅を割合で指定 */
    height: auto;  /* 高さは自動指定 */
 }

 img.nsfw{
	filter: blur(15px);
	opacity: 0.2;
}
a.imagelink.nsfw{
	background: var(--theme-color2-dark);
	color: var(--bg-light-color);
	overflow: hidden;
	position: relative;
	text-decoration: none;
}




/* 装飾 */
b,
em,
strong {
    font-weight: bold;
}

em {
    font-style: normal;
    background: linear-gradient(transparent 50%, var(--theme-color2-default) 50%);
}

strong {
    background: var(--theme-color2-default);
}

hr {
    height: 1rem;
    width: 25rem;
    margin-block: 12rem;
    margin-inline: auto;
    border: 0;
    background: transparent radial-gradient(var(--theme-color2-default) 30%, transparent 30%) center/1rem 1rem;
}

.box {
    padding: 2rem;
    border: 2px solid var(--theme-color2-default);
    border-radius: 1rem;
}
.box > *:first-child {
    margin-block-start: 0;
    padding-block-start: 0;
}
.box > *:last-child {
    margin-block-end: 0;
    padding-block-end: 0;
}

.dir {
    padding: 2rem;
    border: 2px solid var(--theme-color2-default);
    border-radius: 1rem;
}
.dir + .dir {
    margin-block-start: 4rem;
}
.dir .dir-image {
    text-align: center;
}
.dir .dir-image img {
    max-width: 100%;
}
.dir .dir-image.dir-image-sm,
.dir .dir-image.dir-image-md,
.dir .dir-image.dir-image-lg {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
}
.dir .dir-image.dir-image-sm > * {
    width: 25%;
}
.dir .dir-image.dir-image-md > * {
    width: 50%;
}
.dir ul.dir-info {
    display: flex;
    justify-content: end;
    flex-wrap: wrap;
    gap: 2rem;
    padding: 0;
    font-size: small;
    list-style: none;
}
.dir ul.dir-info li::before {
    margin-inline-end: 0.4rem;
    font: 400 1.6rem/1 "Material Symbols Rounded";
    vertical-align: middle;
}
.dir ul.dir-info li.date::before {
    content: "\ebcc";
}

details {
    margin-block: 2.5rem;
}
details summary {
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--theme-color2-dark);
    transition: background var(--animation), color var(--animation);
    cursor: pointer;
}
details summary.btn {
    justify-content: space-between;
    padding: 0.5rem 2rem;
    padding-block: 0.4rem;
    padding-inline: 0.8rem;
    background: var(--bg-light-color);
    border: 2px solid var(--theme-color2-default);
    border-radius: 2rem;
    font-weight: bold;
    text-align: left;
    color: var(--theme-color2-dark);
}
details summary.btn:hover {
    background: var(--theme-color2-default);
    color: var(--bg-light-color);
}
details summary::after {
    content: "\e313";
    display: block;
    font-family: "Material Symbols Rounded";
    font-size: 2.4rem;
    font-variation-settings: "FILL" 0, "wght" 700, "GRAD" 0, "opsz" 48;
    transition: transform var(--animation);
}
details summary::-webkit-details-marker {
    display: none;
}
details > summary + div {
    padding-block-start: 0;
}
details > summary + div > *:first-child {
    margin-block-start: 0;
}
details > *:not(summary) {
    transition: padding-block-start var(--animation), padding-block-end var(--animation);
}
details > *:not(summary):last-child {
    padding-block-end: 0;
}
details > *:not(summary):last-child > *:last-child {
    margin-block-end: 0;
}
details[open] > summary::after {
    transform: rotate(180deg);
}
details[open] > summary + div {
    padding-block-start: 2rem;
}
details[open] > *:not(summary):last-child {
    padding-block-end: 3rem;
}

.scrollbox {
    overflow-y: auto;
    max-block-size: 14rem;
}
.scrollbox::-webkit-scrollbar {
    inline-size: 1rem;
}
.scrollbox::-webkit-scrollbar-track {
    background-color: transparent;
}
.scrollbox::-webkit-scrollbar-thumb {
    background-color: var(--theme-color2-default);
    border-radius: 1rem;
}
.scrollbox > *:first-child {
    margin-block-start: 0;
    padding-block-start: 0;
}
.scrollbox > *:last-child {
    margin-block-start: 0;
    padding-block-start: 0;
}

.onlyrow {
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.material-symbols-rounded {
    font-size: initial;
    vertical-align: unset;
}

.column {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    margin-block: 2.5rem;
    margin-inline: auto;
}
.column > * {
    margin: 0 !important;
}
.column.column-2 {
    grid-template-columns: repeat(2, 1fr);
}
.column.column-3 {
    grid-template-columns: repeat(3, 1fr);
}
.column.column-4 {
    grid-template-columns: repeat(4, 1fr);
}
.column.column-gap-sm {
    gap: 1.25rem;
}

.text-left {
    text-align: left;
}
.text-center {
    text-align: center;
}
.text-right {
    text-align: right;
}
.text-bold {
    font-weight: bold;
}
.text-small {
    font-size: smaller;
}
.text-large {
    font-size: larger;
}

.emg-base a {
    position: initial !important;
}
/* ----- ▲ PCレイアウト　ここまで ▲ ----- */

/* ----- ▼ SPレイアウト　ここから ▼ ----- */
@media only screen and (max-width: 1000px) {
    /* 基本 */
    body,
    button,
    input,
    textarea {
        font-size: 1.6rem;
        line-height: 2.65rem;
    }
    html {
        max-width: 100vw;
    }
    html::after,
    html::before {
        aspect-ratio: 1/0.5;
    }
    html::before {
        top: 13vh;
        left: 0;
        height: auto;
        width: 100%;
    }
    html::after {
        width: 200%;
    }
    main,
    footer {
        margin-left: 1.2rem;
        margin-right: 1.2rem;
    }
    /* リスト */
    ul.no-style,
    ol.no-style {
        padding: 0;
        list-style: none;
    }
    ul.column,
    ol.column {
        display: flex;
        flex-direction: column;
    }
    ul.column.column-2 > *,
    ul.column.column-3 > *,
    ol.column.column-2 > *,
    ol.column.column-3 > * {
        inline-size: 100% !important;
    }
    ul .description,
    ol .description {
        display: block;
        margin-inline-start: 10px;
    }
    ul .description::before,
    ol .description::before {
        content: "└";
        margin-inline-end: 10px;
    }
    dl.border,
    dl.inline {
        display: block;
    }
    dl.border dt,
    dl.border dd,
    dl.inline dt,
    dl.inline dd {
        inline-size: 100%;
    }
    dl.border dt,
    dl.inline dt {
        padding-block-end: 0;
        border-block-end: 0;
    }
    dl.border dd,
    dl.inline dd {
        padding-inline-start: 5rem;
        margin-block-end: 1.25rem;
    }
    dl.border dd:last-of-type,
    dl.inline dd:last-of-type {
        margin-block-end: 0;
    }
    /* フォーム */
    .form-inline input {
        inline-size: 40%;
    }
    .form-block dl {
        flex-direction: column;
    }
    .form-block dl.inline dt,
    .form-block dl.inline dd {
        inline-size: 100%;
    }
    /* 装飾 */
    .column.column-sp-1 {
        grid-template-columns: 1fr;
    }
    .column.column-sp-2 {
        grid-template-columns: repeat(2, 1fr);
    }
    .column.column-sp-3 {
        grid-template-columns: repeat(3, 1fr);
    }
    .column.column-sp-gap-sm {
        gap: 1.25rem;
    }
}
/* ----- ▲ SPレイアウト　ここまで ▲ ----- */
