@charset "utf-8";

/* CSS変数(--gray/--link/--darkgray/--pale-white/--light-blue等)は
   app/globals.css側で一元管理している（ダークモード対応の[data-theme="dark"]
   上書きも含む）。ここで重複定義すると、カスケードの順序次第でglobals.cssの
   ダークモード上書きが無効化されてしまうため削除した。 */

html {
	width: 100%;
	font-size: 62.5%;
}

.s-size-font {
	/* 10px */
	font-size: 1.2rem;
}

.m-size-font {
	/* 16px */
	font-size: 1.6rem;
}

.l-size-font {
	/* 20px */
	font-size: 2.0rem;
}

body,
header,
div,
dl,
dt,
dd,
ul,
li,
h1,
h2,
h3,
h4,
h5,
h6,
pre,
form,
fieldset,
input,
textarea,
p,
th,
td {
	margin: 0;
	padding: 0;
}

body {
	/* フォントサイズはクラスで指定 */
	font-size: 1.6rem;
	line-height: 1.6;
	font-family: "Helvetica Neue",
		Arial,
		"Hiragino Kaku Gothic ProN",
		"Hiragino Sans",
		Meiryo,
		sans-serif;
	color: var(--darkgray);
	background-color: var(--pale-white);
}

header .inner {
	margin: 0 auto;
}

header .inner:after {
	content: "";
	clear: both;
	display: block;
}

h1 {
	text-align: center;
	vertical-align: middle;
	padding-top: 20px;
	padding-bottom: 20px;
	background-color: #302e2e;
	color: #ffffff;
}

.h2 {
	margin-top: 10px;
	font-size: 2.4rem;
	font-weight: 700;
}

.h3 {
	font-size: 2.0rem;
	padding-left: 10px;
	margin-bottom: 10px;
}

.text-center {
	text-align: center;
}

.text-start {
	text-align: left;
}

.text-end {
	text-align: right;
}

.text-nowrap {
	white-space: nowrap;
}

.text-red {
	color: #FF0000;
}

.fst-italic {
	font-style: italic;
}

.fw-bold {
	font-weight: bold;
}

.m-10 {
	margin: 10px;
}

.mt-10 {
	margin-top: 10px;
}

.mb-10 {
	margin-bottom: 10px;
}

.mb-0 {
	margin-bottom: 0 !important;
}


.mb-20 {
	margin-bottom: 20px;
}

.my-10 {
	margin-top: 10px;
	margin-bottom: 10px;
}

.mx-auto {
	margin-left: auto;
	margin-right: auto;
}

.mx-10 {
	margin-left: 10px;
	margin-right: 10px;
}

.overflow-x-auto {
	overflow-x: auto;
}

.table {
	border-collapse: collapse
}

.table-fixed {
	table-layout: fixed;
}

.table td,
.table th {
	border: solid 0.5px #000000;
}

.table td.border-0 {
	border: 0;
}

.table td.border-t1 {
	border-top: solid 0.5px #000000;
}

.table td.diagonal {
	background-image: linear-gradient(to bottom right, transparent, transparent 49%, black 50%, black 50%, transparent 51%, transparent);
}

.table .text-vertical {
	writing-mode: tb-rl;
	white-space: nowrap;
}

.h-100 {
	height: 100%;
}

.w-100 {
	width: 100%;
}

.w-90 {
	width: 90%;
}

.w-80 {
	width: 80%;
}

.w-30px {
	width: 30px !important;
}

.h-30px {
	height: 30px !important;
}

.w-max700 {
	max-width: 700px;
}

.w-max800 {
	max-width: 800px;
}

.w-auto {
	width: auto;
	min-width: 250px;
}

.p-5 {
	padding: 5px;
}

.p-10 {
	padding: 10px;
}

.py-30 {
	padding-top: 30px;
	padding-bottom: 30px;
}

.py-40 {
	padding-top: 40px;
	padding-bottom: 40px;
}

.border {
	border: solid #000000;
}

.border-dotted {
	border: dotted #000000;
}

.border-1 {
	border-width: 1px;
}

.border-2 {
	border-width: 2px;
}

.border-radius-5 {
	border-radius: 5px;
}

.link-active {
	text-decoration: none;
	color: var(--link) !important;
}

.link-icon:before {
	content: "(↗関連)"
}

ul.circle>li:before {
	content: "●";
	font-size: 1em;
	padding-left: 0.15em;
	padding-right: 0.15em;
}

h2:nth-of-type(n+2) {
	margin-top: 50px;
}

h2+h3 {
	margin-top: 0;
}

h4+h5 {
	margin-top: 0;
}

h5+h6 {
	margin-top: 0;
}

h6 {
	font-size: 1.5rem;
	margin-top: 1em;
}

a {
	text-decoration: none;
}

a:link {
	color: #000000;
}

a:visited {
	color: #000000;
}

ins {
	text-align: center;
}

ins>div {
	width: 100%;
}

.d-flex {
	display: flex;
}

.flex-wrap {
	flex-wrap: wrap;
}

.gx-10 {
	column-gap: 10px;
}

.gy-10 {
	row-gap: 10px;
}

.gy-20 {
	row-gap: 20px;
}

.d-flex .order-1 {
	order: 1;
}

.d-flex .order-2 {
	order: 2;
}

.d-flex .order-3 {
	order: 3;
}

.justify-content-center {
	justify-content: center;
}

.align-center {
	align-items: center;
}

.d-none {
	display: none;
	;
}

.bg-black {
	background-color: #1a1a1a !important;
}

.bg-gray {
	background-color: var(--gray) !important;
}

.flex-column {
	flex-direction: column;
}


/* ナビゲーション(#top-head/#global-nav/#nav-toggle等)のスタイルは
   components/Header.css に一本化した（旧PHP版と二重定義で競合していたため）。
   ここでは他箇所でも使われるユーティリティクラスのみ残す。 */
@media screen and (max-width: 560px) {
	.sm-flex-column {
		flex-flow: column;
	}
}

.bg-pale-blue {
	background-color: rgba(194, 229, 242, 0.8);
}

.bg-white {
	background-color: #FFFFFF;
}

/* ナビゲーションここまで */

div.footer {
	padding: 30px 0;
	text-align: center;
	vertical-align: middle;
	background-color: #302e2e;
	color: #ffffff;
}

/* ==========================================================================
   ダークモード
   a:link/a:visitedが黒固定のため、ダークモード時に本文は白くなるのにリンクだけ
   黒いまま（見えない）という状態になっていた。表の罫線等もあわせて調整する。
   ========================================================================== */

[data-theme="dark"] a:link,
[data-theme="dark"] a:visited {
	color: var(--link);
}

[data-theme="dark"] .table td,
[data-theme="dark"] .table th {
	border-color: #666;
}

[data-theme="dark"] .bg-white {
	background-color: #2a2a2a;
	color: #e0e0e0;
}

[data-theme="dark"] .bg-pale-blue {
	background-color: rgba(74, 144, 164, 0.25);
}

[data-theme="dark"] .bg-black {
	background-color: #000000 !important;
}
