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

/* --------------------------------------------------
   Noto Sans JP
   Source: https://fonts.google.com/noto/specimen/Noto+Sans+JP
   License: SIL Open Font License 1.1
   https://scripts.sil.org/OFL
-------------------------------------------------- */
@font-face {
  font-family: "Noto Sans JP";
  src: url("fonts/NS-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Noto Sans JP";
  src: url("fonts/NS-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}


/*--------------------------------------------------------------------------
   variables
---------------------------------------------------------------------------*/

:root {
  /* レイアウト */
  --layout-margin:  12.5%;
  --sidebar-w:      27rem;
  --sidebar-gap:    4rem;
  --pr: calc(var(--layout-margin) + var(--sidebar-w) + var(--sidebar-gap));

  /* カラー */
  --c-main:     #1A6FC4;
  --c-main-hv:  #155AA3;
  --c-sub:      #3D3D3D;
  --c-sub-hv:   #2a2a2a;
  --c-base:     #ffffff;
  --c-txt:      #444444;
  --c-txt-sub:  #888888;
  --c-bg1:      #F9F9F9;
  --c-bg2:      #EBF2FD;
  --c-bg3:      #F3F7FD;
  --c-border:   #D5D5D5;
}


/*--------------------------------------------------------------------------
   reset
---------------------------------------------------------------------------*/

h1,
h2,
h3,
h4,
h5,
h6,
p,
span,
small,
dl,
dt,
dd,
ol,
ul,
li {
	margin: 0;
	font-size: 100%;
}

ul {
	margin: 0;
	padding: 0;
	vertical-align: baseline;
}

img {
	vertical-align: top;
}

li {
	list-style-type: none;
	vertical-align: baseline;
}

input,
button,
textarea,
select {
	margin: 0;
	padding: 0;
	background: none;
	border: none;
	border-radius: 0;
	outline: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
}

/*--------------------------------------
　Base
---------------------------------------*/

html {
	font-size: 62.5%; /* 10px = 1rem */
}

body {
	color: #333333;
	font-family: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "メイリオ", sans-serif;
	font-size: 1.6rem; /* 16px */
	line-height: 1.8;
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}


img {
	max-width: 100%;
	height: auto;
}

h1 {
  color: #111;
  font-size: 42px;
  line-height: 1.3;
}

h2 {
  color: #111;
  font-size: 36px;
  line-height: 1.5em;
}

h3 {
  color: #111;
  font-size: 20px;
  line-height: 1.5em;
}

h4,
h5,
h6 {
  color: #111;
  font-size: 16px;
  line-height: 1.6em;
}

a {
	color: #666666;
	text-decoration: underline;
	transition: 0.2s ease;
}

a:hover {
	text-decoration: none;
}

.fl {
	float: left;
}

.fr {
	float: right;
}

.ct {
	text-align: center
}

.strong {
	font-weight: bold;
}

.f110 {
	font-size: 110%;
}

.f120 {
	font-size: 120%;
}

.f130 {
	font-size: 130%;
}

.f150 {
	font-size: 150%;
}

.f200 {
	font-size: 200%;
}

.f300 {
	font-size: 300%;
}

span.txt_bold {
	font-weight: bold;
}

span.marker {
	background: linear-gradient(transparent 50%, #ccc 50%);
}

.caption {
  margin-top: 0.8em;
  color: var(--c-txt-sub);
  font-size: 1.2rem;
  line-height: 1.6;
  /* word-break: break-all; */
}

.caption a {
  color: var(--c-txt-sub);
}
/*--------------------------------------
　Header
---------------------------------------*/

header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: var(--c-base);
	border-bottom: 1px solid var(--c-border);
}

header .inner {
	width: 100%;
	margin: 0;
	padding: 20px 3% 0;
	box-sizing: border-box;
}

header .mainArea {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin: 0;
}

header .boxInner {
	float: none;
}

header .sitename {
	display: none;
}

header .txt {
	font-size: 12px;
	color: var(--c-txt-sub);
	margin: 4px 0 0;
}

header .logo {
	float: none;
	width: auto;
}

header .logo a {
	display: inline-flex;
	flex-direction: column;
	gap: 0.2rem;
	text-decoration: none;
	color: var(--c-main);
	font-size: 2rem;
	font-weight: 700;
	letter-spacing: 0.05em;
	line-height: 1.2;
	transition: 0.2s ease;
	text-align: center;
}

header .logo a:hover {
	opacity: 0.7;
}

header .logo a span {
	font-size: 1.8rem;
	font-weight: 400;
	color: var(--c-txt-sub);
	letter-spacing: 0.1em;
}

/*--------------------------------------
　Global Nav
---------------------------------------*/

header nav ul {
	margin: 0;
	padding: 0;
	display: flex;
	gap: 0;
}

header nav li {
	float: none;
	margin: 0;
	padding: 0;
	font-size: 13px;
}

header nav li a {
	display: block;
	padding: 10px 20px;
	color: var(--c-txt);
	text-decoration: none;
	border-bottom: 2px solid transparent;
	transition: 0.2s ease;
}

header nav li a:hover {
	color: var(--c-main);
	border-bottom-color: var(--c-main);
	text-decoration: none;
}

/*--------------------------------------
　Pankuzu
---------------------------------------*/

#pankuzu {
	font-size: 13px;
	width: 100%;
	padding-top: 1.6rem;
	padding-left: var(--layout-margin);
	padding-right: var(--pr);
	box-sizing: border-box;
}

/*--------------------------------------
　Main Contents
---------------------------------------*/

#contents {
	position: relative;
	width: 100%;
	margin: 30px 0 0;
	padding: 0;
	box-sizing: border-box;
	flex: 1;
}

#index,
#category,
#page {
	width: 100%;
	margin: 0;
	padding: 0;
	background: none;
}

#category,
#page {
	padding-top: 4rem;
	padding-left: var(--layout-margin);
	padding-right: var(--pr);
	padding-bottom: 8rem;
	box-sizing: border-box;
}

/*--------------------------------------
　Side
---------------------------------------*/

#side {
	position: fixed;
	top: 0;
	right: var(--layout-margin);
	width: var(--sidebar-w);
	max-height: calc(100vh - var(--header-h, 8rem) - 4rem);
	overflow-y: auto;
	background: var(--c-base);
	border-radius: 16px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
	padding: 0.8rem 0;
	scrollbar-width: thin;
	scrollbar-color: var(--c-border) transparent;
}

#side::-webkit-scrollbar {
	width: 4px;
}

#side::-webkit-scrollbar-track {
	background: transparent;
}

#side::-webkit-scrollbar-thumb {
	background: var(--c-border);
	border-radius: 2px;
}

/* サイドブロック共通 */
.side-block {
  border-bottom: 1px solid var(--c-border);
  padding: 1.6rem 0;
}

.side-block:last-child {
  border-bottom: none;
}

.side-block__ttl {
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1;
  margin: 0 0 1.2rem;
  padding: 0 1.6rem;
  color: #111;
}

.side-block__footer {
  padding: 0.8rem 1.6rem 0;
  text-align: right;
}

/* おすすめ記事リスト */
.side-rec-list {
  margin: 0;
  padding: 0 1.6rem;
  list-style: none;
}

.side-rec-list__item {
  border-bottom: 1px solid var(--c-border);
}

.side-rec-list__item:last-child {
  border-bottom: none;
}

.side-rec-list__item a {
  display: flex;
  gap: 1rem;
  align-items: center;
  padding: 1rem 0;
  text-decoration: none;
  color: var(--c-txt);
  transition: 0.2s ease;
}

.side-rec-list__item a:hover {
  color: var(--c-main);
}

.side-rec-list__thumb {
  flex-shrink: 0;
  width: 5.6rem;
  height: 5.6rem;
  border-radius: 6px;
  overflow: hidden;
  background: var(--c-bg3);
}

.side-rec-list__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.side-rec-list__ttl {
  font-size: 1.3rem;
  line-height: 1.6;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* カテゴリ一覧 */
.side-cat-list {
  margin: 0;
  padding: 0 1.6rem;
  list-style: none;
}

.side-cat-list__item {
  border-bottom: 1px solid var(--c-border);
}

.side-cat-list__item:last-child {
  border-bottom: none;
}

/* カテゴリ行 */
.side-cat-list__row {
  display: flex;
  align-items: center;
  padding: 0.7rem 0;
  gap: 0.6rem;
}

.side-cat-list__name {
  flex: 1;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--c-txt);
  text-decoration: none;
  transition: 0.2s ease;
}

.side-cat-list__name:hover {
  color: var(--c-main);
}

.side-cat-list__count {
  font-size: 1.1rem;
  color: var(--c-txt-sub);
  white-space: nowrap;
  flex-shrink: 0;
}

/* アコーディオントグルボタン（矢印のみ） */
.side-accordion-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
}

.side-accordion-btn::after {
  content: '';
  display: block;
  width: 1.2rem;
  height: 1.2rem;
  background-color: var(--c-txt-sub);
  mask-image: url('img/arrow.svg');
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
  transform: rotate(90deg);
  transition: 0.2s ease;
}

.side-accordion-btn[aria-expanded="true"]::after {
  transform: rotate(270deg);
}

/* カテゴリ内記事リスト */
.side-cat-posts {
  margin: 0 0 0.8rem;
  padding: 0 0 0 1.2rem;
  list-style: none;
}

.side-cat-posts li a {
  display: block;
  padding: 0.4rem 0;
  font-size: 1.2rem;
  color: var(--c-txt);
  text-decoration: none;
  line-height: 1.5;
  transition: 0.2s ease;
}

.side-cat-posts li a:hover {
  color: var(--c-main);
}


/*--------------------------------------
　タグ
---------------------------------------*/

.article-card__footer {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 0.8rem 1.2rem 1.4rem;
}

.article-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 0.4rem 0 0;
  padding: 0;
  list-style: none !important;
}

.article-card__tags li {
  list-style: none !important;
  margin: 0;
  padding: 0;
}

.article-card__tags a {
  display: inline-block;
  padding: 0.3rem 1rem;
  font-size: 1.1rem;
  color: var(--c-txt-sub);
  background: var(--c-bg2);
  border: none;
  border-radius: 100px;
  text-decoration: none;
  white-space: nowrap;
  transition: 0.2s ease;
}

.article-card__tags a:hover {
  background: var(--c-bg3);
}


/*--------------------------------------
　記事リスト
---------------------------------------*/

.article-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}


/*--------------------------------------
　記事カード
---------------------------------------*/

.article-card {
  display: flex;
  flex-direction: column;
  background: var(--c-base);
  border-radius: 16px;
  transition: 0.25s ease;
  will-change: transform;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: 0.3s ease;
}

.article-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.article-card a {
  display: flex;
  flex-direction: column;
  flex: 1;
  text-decoration: none;
  color: inherit;
}

/* サムネイル */
.article-card__thumb {
  aspect-ratio: 5 / 2;
  overflow: hidden;
  background: var(--c-bg1);
  border-radius: 16px 16px 0 0;
}

.article-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ボディ */
.article-card__body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 12px 12px 14px;
  flex: 1;
  min-width: 0;
}

/* カテゴリー */
.article-card__cat {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--c-main);
  letter-spacing: 0.02em;
  margin: 0;
}

.article-card__cat::before {
  content: '';
  display: inline-block;
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 50%;
  background-color: var(--c-main);
  flex-shrink: 0;
}

/* タイトル */
.article-card__ttl {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.6;
  color: #111;
  margin: 0;
  min-width: 0;
  overflow-wrap: break-word;
}

/* フッター（タグ・日付） */
.article-card__footer {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 0.8rem 1.2rem 1.4rem;
}

/* 日付 */
.article-card__date {
  font-size: 1.1rem;
  color: #919191;
  margin-top: 4px;
}

/* p タグ余白リセット */
.article-card p {
  margin: 0;
}


/*--------------------------------------
　ページネーション
---------------------------------------*/

.page-numbers-wrap {
  margin-top: 4rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  font-size: 1.4rem;
  color: var(--c-txt);
  text-decoration: none;
  border-radius: 50%;
  transition: 0.2s ease;
}

.page-numbers:hover {
  background: var(--c-bg1);
  color: var(--c-main);
}

.page-numbers.current {
  background: var(--c-main);
  color: var(--c-base);
  font-weight: 700;
}

.page-numbers.dots {
  width: auto;
  background: none;
  color: var(--c-txt-sub);
}

.page-numbers.prev,
.page-numbers.next {
  width: auto;
  padding: 0 1.2rem;
  border-radius: 100px;
  background: var(--c-bg1);
  font-size: 1.2rem;
  transition: 0.2s ease;
}

.page-numbers.prev:hover,
.page-numbers.next:hover {
  background: var(--c-main);
  color: var(--c-base);
}


/*--------------------------------------
　共通パーツ
---------------------------------------*/

.sec-footer {
  margin-top: 3.2rem;
  text-align: right;
}

.btn-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding-bottom: 0.4rem;
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--c-main);
  text-decoration: none;
  letter-spacing: 0.05em;
}

.btn-link::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--c-main);
  transition: 0.3s ease;
}
.btn-link a{
  text-decoration: none;
}
.btn-link:hover::before {
  width: 100%;
}

.btn-link::after {
  content: '';
  display: inline-block;
  width: 1.6rem;
  height: 1.6rem;
  background-color: currentColor;
  mask-image: url('img/arrow.svg');
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
  flex-shrink: 0;
}


/*--------------------------------------
　記事本文（#page / #category 共通）
　※single.cssから移設
---------------------------------------*/

/* h2：左ボーダー＋大きめ */
#page h2,
#category h2 {
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1.5;
  color: #111;
  margin: 5.6rem 0 2rem;
  padding: 0.4rem 0 0.4rem 1.4rem;
  border-left: 4px solid var(--c-main);
  background: none;
  border-top: none;
  border-right: none;
  border-bottom: none;
}

/* h3：下線のみ */
#page h3,
#category h3 {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.5;
  color: #111;
  margin: 4rem 0 1.6rem;
  padding: 0 0 0.8rem;
  border-bottom: 2px solid #ddd;
  border-top: none;
  border-left: none;
  border-right: none;
  background: none;
}

/* h4：太字のみ */
#page h4,
#category h4 {
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1.5;
  color: #111;
  margin: 3.2rem 0 1.2rem;
  padding: 0;
  border: none;
  background: none;
}

/* h5：やや控えめ */
#page h5,
#category h5 {
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.5;
  color: #444;
  margin: 2.4rem 0 1rem;
  padding: 0;
  border: none;
  background: none;
}

/* 公開日・更新日 */
.article-meta {
  display: flex;
  gap: 1.6rem;
  margin: 0.8rem 0 2.4rem;
}

.article-meta time {
  font-size: 1.2rem;
  color: var(--c-txt-sub);
}

/* 記事冒頭のh2は上マージン不要 */
#page > h2:first-child,
#page h1 + h2,
#category > h2:first-child,
#category h1 + h2 {
  margin-top: 2.4rem;
}

/* 本文 */
#page p,
#category p {
  /* font-size: 1.6rem; */
  line-height: 1.9;
  margin: 0 0 2rem;
  color: #333;
}

/* マーカー強調 */
#page .marker,
#category .marker {
  background: linear-gradient( transparent 60%, rgba(26, 111, 196, 0.2) 60% );
}

/* 太字強調 */
#page .txt_bold,
#category .txt_bold {
  font-weight: 700;
  color: #111;
}

/* 画像：センター */
#page .img-center,
#category .img-center {
  text-align: center;
  margin: 2.4rem 0;
}

#page .img-center img,
#category .img-center img {
  max-width: min(100%, 60rem);
  height: auto;
}

/* 画像：左回り込み */
#page .img-left,
#category .img-left {
  float: left;
  margin: 0 2.4rem 1.6rem 0;
  max-width: 40%;
}

/* 画像：右回り込み */
#page .img-right,
#category .img-right {
  float: right;
  margin: 0 0 1.6rem 2.4rem;
  max-width: 40%;
}

#page .img-left img,
#page .img-right img,
#category .img-left img,
#category .img-right img {
  width: 100%;
  height: auto;
  display: block;
}

/* キャプション */
#page .img-caption,
#category .img-caption {
  font-size: 1.2rem;
  color: var(--c-txt-sub);
  margin-top: 0.6rem;
  line-height: 1.6;
}

/* 回り込み解除 */
#page .cf::after,
#category .cf::after {
  content: '';
  display: block;
  clear: both;
}

/* ボタン共通 */
.btn-internal,
.btn-web,
.btn-tel {
  margin: 2.4rem 0;
  text-align: center;
}

.btn-internal a,
.btn-web a,
.btn-tel a {
  position: relative;
  display: inline-block;
  width: 100%;
  max-width: 42rem;
  padding: 1.4rem 4.8rem;
  font-size: 1.5rem;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  border-radius: 100px;
  transition: 0.2s ease;
  box-sizing: border-box;
}

.btn-internal a:hover,
.btn-web a:hover,
.btn-tel a:hover {
  opacity: 0.75;
}

/* 内部リンク：アウトライン＋矢印 */
.btn-internal a {
  background: var(--c-base);
  color: var(--c-main);
  border: 2px solid var(--c-main);
}

.btn-internal a::after {
  content: '';
  display: inline-block;
  width: 1.6rem;
  height: 1.6rem;
  background-color: currentColor;
  mask-image: url('img/icon-arrow.svg');
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
  position: absolute;
  right: 2rem;
  top: 50%;
  transform: translateY(-50%);
}

/* 外部リンク：塗りつぶし＋外部アイコン（最目立つ） */
.btn-web a {
  background: var(--c-main);
  color: var(--c-base);
  border: 2px solid var(--c-main);
}

.btn-web a::after {
  content: '';
  display: inline-block;
  width: 1.6rem;
  height: 1.6rem;
  background-color: currentColor;
  mask-image: url('img/icon-external.svg');
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
  position: absolute;
  right: 2rem;
  top: 50%;
  transform: translateY(-50%);
}

/* 電話：PC非表示・SP表示（SP表示はSPレイアウト内で指定） */
.btn-tel {
  display: none;
}

/* 電話：チャコール塗りつぶし＋電話アイコン */
.btn-tel a {
  background: var(--c-sub);
  color: var(--c-base);
  border: 2px solid var(--c-sub);
}

.btn-tel a::after {
  content: '';
  display: inline-block;
  width: 1.6rem;
  height: 1.6rem;
  background-color: currentColor;
  mask-image: url('img/icon-tel.svg');
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
  position: absolute;
  right: 2rem;
  top: 50%;
  transform: translateY(-50%);
}

/* テキストリンク（.btn-link）の記事内配置 */
#page .btn-link,
#category .btn-link {
  display: block;
  width: fit-content;
  margin: 2rem 0 2rem auto;
}

/* サイトマップ：h2内リンク */
#page h2 a,
#category h2 a {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: #111;
  text-decoration: none;
  transition: 0.2s ease;
}

#page h2 a::after,
#category h2 a::after {
  content: '';
  display: inline-block;
  width: 1.6rem;
  height: 1.6rem;
  background-color: currentColor;
  mask-image: url('img/arrow.svg');
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
  flex-shrink: 0;
}

#page h2 a:hover,
#category h2 a:hover {
  color: var(--c-main);
}

/* サイトマップ：直下ul */
#page > ul,
#category > ul {
  margin: 0 0 0 1.6rem;
  padding: 0;
  list-style: none;
}

#page > ul li,
#category > ul li {
  padding: 0.4rem 0;
}

#page > ul li a,
#category > ul li a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--c-txt);
  text-decoration: none;
  font-size: 1.4rem;
  transition: 0.2s ease;
}

#page > ul li a::after,
#category > ul li a::after {
  content: '';
  display: inline-block;
  width: 1.2rem;
  height: 1.2rem;
  background-color: var(--c-main);
  mask-image: url('img/arrow.svg');
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
  flex-shrink: 0;
}

#page > ul li a:hover,
#category > ul li a:hover {
  color: var(--c-main);
}

/* リスト */
#page ul,
#page ol,
#category ul,
#category ol {
  margin: 0 0 2.4rem;
  padding: 0;
  list-style: none;
}

/* ul：丸ビュレット */
#page ul li,
#category ul li {
  position: relative;
  padding: 0.5rem 0 0.5rem 1.8rem;
  line-height: 1.8;
}

#page ul li::before,
#category ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 1.6rem;
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 50%;
  background: var(--c-main);
}

/* ol：丸ナンバリング */
#page ol,
#category ol {
  counter-reset: ol-counter;
}

#page ol li,
#category ol li {
  position: relative;
  padding: 0.5rem 0 0.5rem 3.2rem;
  line-height: 1.8;
  counter-increment: ol-counter;
}

#page ol li::before,
#category ol li::before {
  content: counter(ol-counter);
  position: absolute;
  left: 0;
  top: 0.6rem;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--c-main);
  color: var(--c-base);
  font-size: 1.1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* テーブル */
#page table,
#category table {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
  margin: 0 0 2.4rem;
}

#page th,
#category th {
  background: var(--c-bg3);
  border: 1px solid var(--c-border);
  padding: 1.2rem 1.6rem;
  font-weight: 700;
  text-align: left;
  vertical-align: top;
  color: #111;
}

#page td,
#category td {
  background: var(--c-base);
  border: 1px solid var(--c-border);
  padding: 1.2rem 1.6rem;
  vertical-align: top;
  line-height: 1.8;
}


/*--------------------------------------
　Footer
---------------------------------------*/

footer {
	margin: 0;
	padding: 0;
	background-color: #E5E5E5;
}

footer .inner {
	position: relative;
	width: 100%;
	max-width: 1100px;
	box-sizing: border-box;
	margin: 0 auto;
	box-sizing: border-box;
	padding: 0 1.6rem;
}

footer .inner p {
	width: 100%;
	margin: 0 auto;
}

.footer-disclaimer {
  font-size: 1.1rem;
  color: var(--c-txt-sub);
  text-align: center;
  margin: 2.4rem 0 1.6rem;
  padding: 1.6rem 2rem;
  line-height: 1.8;
  background: #fff;
  border-radius: 4px;
  box-sizing: border-box;
  width: 100%;
}

footer p.footer-no-reprint {
  font-size: 1.1rem;
  color: var(--c-txt-sub);
  text-align: center;
  margin: 1.6rem 0 0;
  padding: 0;
}

footer p.copy {
	padding: 20px 0;
	font-size: 12px;
	text-align: center;
}

footer p.copy a {
	color: #444;
}

.footer-cat-nav {
  padding: 2.4rem 0 0;
}

.footer-cat-nav__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem 2.4rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-cat-nav__list a {
  font-size: 1.3rem;
  color: var(--c-txt);
  text-decoration: none;
  font-weight: 600;
  transition: 0.2s ease;
}

.footer-cat-nav__list a:hover {
  color: var(--c-main);
}

.footer-nav {
  padding: 1.6rem 0 2.4rem;
  border-top: 1px solid var(--c-border);
  margin-top: 1.6rem;
}

.footer-nav__list {
  display: flex;
  justify-content: center;
  gap: 2.4rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-nav__list a {
  font-size: 1.2rem;
  color: #666;
  text-decoration: none;
  transition: 0.2s ease;
}

.footer-nav__list a:hover {
  color: var(--c-main);
  text-decoration: underline;
}

/*--------------------------------------
　PageTop
---------------------------------------*/

.pagetop {
	display: none;
}

#pagetop-btn {
  position: fixed;
  right: 2.4rem;
  bottom: 2.4rem;
  width: 4.8rem;
  height: 4.8rem;
  background: var(--c-base);
  border: none;
  border-radius: 50%;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  cursor: pointer;
  z-index: 150;
  opacity: 0;
  pointer-events: none;
  transition: 0.3s ease;
}

#pagetop-btn.is-visible {
  opacity: 1;
  pointer-events: auto;
}

#pagetop-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

#pagetop-btn::before {
  content: '';
  display: block;
  width: 2rem;
  height: 2rem;
  background-color: var(--c-txt);
  mask-image: url('img/arrow-up.svg');
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
  margin: auto;
}


/*--------------------------------------
　検索フォーム
---------------------------------------*/

#searchArea {
	width: auto;
	margin: 20px auto 100px;
	padding: 30px 0 0;
	border-top: 1px solid #d9d9d9;
}

#searchArea .boxTtl {
	margin: 0 0 20px;
	line-height: 1.5;
	font-size: 30px;
	text-align: center;
}

#searchform {
	border: none;
	padding: 20px 30px;
	box-shadow: none;
	margin: 0 35px;
	background: #f0f0f1;
}

#searchform .trParts {
	background: #fff;
	margin: 20px 0;
	border-radius: 4px;
	display: table;
	width: 100%;
}

#searchform .thParts {
	display: table-cell;
	vertical-align: middle;
	background: #DDD;
	width: 20%;
	text-align: center;
}

#searchform .tdParts {
	padding: 16px;
	display: table-cell;
	vertical-align: middle;
}

#searchform .tdParts .checkParts {
	display: inline-block;
	padding: 0 20px 0 0;
}

#searchform .tdParts input[type="checkbox"] {
	display: none;
}

#searchform .tdParts label.checkbox01 {
	position: relative;
	display: inline-block;
	padding: 3px 3px 3px 22px;
	cursor: pointer;
}

#searchform .tdParts label.checkbox01::before {
	position: absolute;
	content: '';
	top: 50%;
	left: 0;
	width: 14px;
	height: 14px;
	margin-top: -8px;
	background: #fff;
	border: 1px solid #ccc;
}

#searchform .tdParts input[type="checkbox"]:checked+label.checkbox01::after {
	position: absolute;
	content: '';
	top: 8px;
	left: 3px;
	width: 13px;
	height: 5px;
	border-left: 2px solid #333;
	border-bottom: 2px solid #333;
	-webkit-transform: rotate(-45deg);
	transform: rotate(-45deg);
}

label.radio01 {
	position: relative;
	display: inline-block;
	padding: 3px 3px 3px 20px;
	cursor: pointer;
}

label.radio01::before {
	position: absolute;
	content: '';
	top: 50%;
	left: 0;
	width: 14px;
	height: 14px;
	margin-top: -8px;
	background: #fff;
	border: 1px solid #ccc;
	border-radius: 100%;
}

#searchform .tdParts input[type="radio"] {
	display: none;
}

#searchform .tdParts input[type="radio"]:checked+label.radio01::after {
	position: absolute;
	content: '';
	top: 50%;
	left: 4px;
	width: 8px;
	height: 8px;
	margin-top: -4px;
	background: #333;
	border-radius: 100%;
}

#searchform input[type="submit"] {
	display: block;
	width: 200px;
	margin: 0 auto;
	background: 97% 50% no-repeat #333;
	background-size: 8px auto;
	border-radius: 4px;
	border: none;
	padding: 10px 26px 10px;
	color: #fff;
	font-size: 15px;
	line-height: 1.3;
	text-decoration: none;
	transition: 0.2s ease;
}

#searchform input[type="submit"]:hover {
	opacity: 0.7;
}


/*--------------------------------------
　検索結果
---------------------------------------*/

#resultArea {}

#resultArea .exBox {
	margin: 0 0 30px;
	padding: 30px;
	display: block;
	background-color: #EEE;
}

#resultArea a.exBox {
	color: #444;
	text-decoration: none;
}

#resultArea .exBox .leftArea {
	float: left;
	width: 500px;
}

#resultArea .exBox .leftArea .boxTtl {
	margin: 0 0 15px;
	padding: 0 0 15px;
	font-size: 18px;
	font-weight: bold;
	border-bottom: 1px dashed#333;
}

#resultArea .exBox .rightArea {
	float: right;
	width: 220px;
}

#resultArea .exBox .rightArea img {
	width: 220px;
	height: 120px;
	margin: 0 0 10px;
	object-fit: cover;
}

#resultArea .exBox .rightArea .btnParts {
	display: block;
	width: auto;
	margin: 0 auto;
	background: 97% 50% no-repeat #333;
	background-size: 8px auto;
	border-radius: 4px;
	border: none;
	padding: 10px 26px 10px;
	color: #fff;
	font-size: 15px;
	line-height: 1.3;
	text-decoration: none;
	text-align: center;
}


/* ページタイトル（カテゴリー・下層ページ共通） */
#category h1,
#page h1 {
  font-size: 2.8rem;
  font-weight: 700;
  color: #111;
  margin: 0 0 4rem;
  padding: 0 0 1.6rem;
  border-bottom: 1px solid var(--c-border);
  line-height: 1.4;
  background: none;
}

table {
	border: 1px solid #ccc;
	border-collapse: collapse;
	border-spacing: 0;
	empty-cells: show;
	font-size: 14px;
	margin: 20px 0px;
}

th {
	background-color: #f5f5f5;
	border: 1px solid #ccc;
	text-align: center;
	padding: 10px;
}

td {
	border: 1px solid #ccc;
	padding: 10px;
	background: #fff;
}

/*--------------------------------------
　目次
---------------------------------------*/

.toc__wrap {
	margin: 3.2rem 0;
	padding: 2.4rem 2.8rem;
	background: var(--c-bg2);
	border-radius: 4px;
}

.toc__wrap .ttl {
	font-size: 1.8rem;
	font-weight: 700;
	color: var(--c-main);
	letter-spacing: 0.1em;
}

#toc .chapter {
	counter-reset: mycounter;
	margin: 1.2rem 0 0;
	padding: 0;
	list-style: none;
}

#toc .chapter-h {
	margin: 0;
	padding: 0;
	list-style: none;
}

#toc .chapter-h::before {
	display: none;
	background: none;
	width: 0;
	height: 0;
}

#toc .chapter-h a {
	display: block;
	line-height: 1.5;
	color: var(--c-txt);
	text-decoration: none;
	padding: 0.5rem 0;
	transition: 0.2s ease;
}

#toc .chapter-h a:hover {
	color: var(--c-main);
}

#toc .chapter-h br {
	display: none;
}

#toc .chapter > .chapter-h-two {
	counter-increment: mycounter;
	position: relative;
	padding-left: 3rem;
	font-size: 1.6rem;
	font-weight: 600;
}

#toc .chapter > .chapter-h-two::before {
	content: counter(mycounter, decimal-leading-zero);
	display: block;
	position: absolute;
	left: 0;
	top: 0.6rem;
	font-size: 1.6rem;
	font-weight: 700;
	font-family: Arial, sans-serif;
	font-variant-numeric: lining-nums;
	color: var(--c-main);
	line-height: 1.5;
}

#toc .chapter .chapter-h-three {
	padding-left: 4.4rem;
	font-size: 1.3rem;
	color: var(--c-txt-sub);
}


/*--------------------------------------
　関連記事
---------------------------------------*/

#related-article.related-article01-frame {
	margin: 4rem 0;
	padding: 2.4rem;
	background: var(--c-bg2);
	border-radius: 4px;
}

#related-article .related-article01-title {
	font-size: 1.6rem;
	font-weight: 700;
	color: var(--c-txt);
	padding: 0 0 1.2rem;
	border-bottom: 2px solid var(--c-border);
}

#related-article .related-article01-title span {
	font-size: inherit;
	color: inherit;
}

#related-article .related-article01-list {
	margin: 0;
	padding: 0;
	list-style: none;
}

#related-article .related-article01-list p {
	margin: 0;
}

#related-article .related-article01-list li {
	list-style: none;
	border-bottom: 1px solid var(--c-border);
}

#related-article .related-article01-list li:last-child {
	border-bottom: none;
}

#related-article .related-article01-list li::before {
	display: none;
}

#related-article .related-article01-list a {
	display: flex;
	align-items: center;
	gap: 1.6rem;
	padding: 1.2rem 0;
	text-decoration: none;
	color: var(--c-txt);
	transition: 0.2s ease;
}

#related-article .related-article01-list a:hover {
	opacity: 0.7;
}

#related-article .relations-box--column {
	display: flex;
	align-items: center;
	gap: 1.6rem;
}

#related-article .relations-box__pic {
	flex: 0 0 9rem;
	width: 9rem;
	height: 6rem;
	overflow: hidden;
	border-radius: 4px;
}

#related-article .relations-box__pic img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

#related-article .catch-01 {
	font-size: 1.4rem;
	font-weight: 600;
	line-height: 1.6;
	color: var(--c-txt);
	margin: 0;
}

.is-hidden {
	display: none;
}

.related-article01-more {
	display: flex;
	justify-content: center;
	padding: 1.6rem 0 0;
}

.related-article01-more.is-closed {
	display: none;
}

.related-article01-btn {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	padding: 0.8rem 2.4rem;
	font-size: 1.3rem;
	font-weight: 600;
	color: var(--c-main);
	background: var(--c-base);
	border: 1px solid var(--c-main);
	border-radius: 100px;
	cursor: pointer;
	transition: 0.2s ease;
}

.related-article01-btn:hover {
	opacity: 0.7;
}


/*--------------------------------------
　ハンバーガー・オーバーレイ（デフォルト非表示）
---------------------------------------*/

#hamburger-btn,
#sidebar-overlay {
  display: none;
}


/*======================================
　SP レイアウト（max-width: 767px）
=======================================*/

@media screen and (max-width: 767px) {

  /* レイアウト変数をSP用にリセット */
  :root {
    --layout-margin: 0px;
    --pr: 0px;
  }
	body{
		font-size: 1.4rem;
	}

  /* 基本フォントサイズ */
  h1 { font-size: 32px; }
  h2 { font-size: 24px; }
  h3 { font-size: 18px; }

  /* ヘッダーnavリスト非表示（ハンバーガーはg-nav内なので.g-navは残す） */
  .g-nav__list {
    display: none;
  }

  /* ヘッダー：z-indexをパネルより上に、ロゴ中央・ハンバーガー右端 */
  header {
    z-index: 300;
  }

  header .inner {
    position: relative;
    padding: 0;
  }

  header .mainArea {
    justify-content: center;
    padding: 1.2rem 1.6rem;
    margin: 0;
  }

  header .boxInner {
    display: none;
  }
	.caption {
  font-size: 1rem;
  word-break: break-all;
}

  /* ハンバーガーボタン */
  #hamburger-btn {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: absolute;
    top: 50%;
    right: 1.6rem;
    transform: translateY(-50%);
    width: 2.4rem;
    height: 1.8rem;
    padding: 0;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1;
  }

  #hamburger-btn span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--c-txt);
    border-radius: 2px;
    transition: 0.3s ease;
  }

  body.is-menu-open #hamburger-btn span:nth-child(1) {
    transform: translateY(0.8rem) rotate(45deg);
  }

  body.is-menu-open #hamburger-btn span:nth-child(2) {
    opacity: 0;
  }

  body.is-menu-open #hamburger-btn span:nth-child(3) {
    transform: translateY(-0.8rem) rotate(-45deg);
  }

  /* パンくず */
  #pankuzu {
    padding-left: 1.6rem;
    padding-right: 1.6rem;
  }

  /* コンテンツ */
  #contents {
    padding: 0;
    margin-top: 16px;
  }

  /* ページ・カテゴリのpadding */
  #page,
  #category {
    padding-left: 1.6rem;
    padding-right: 1.6rem;
  }

  /* ページタイトル */
  #page h1,
  #category h1 {
    font-size: 2.2rem;
  }

  /* 電話ボタン：SPのみ表示 */
  .btn-tel {
    display: block;
  }

  /* カード：1列 */
  .article-list {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  .article-card__thumb {
    aspect-ratio: 16 / 9;
  }

  .article-card__ttl {
    font-size: 1.5rem;
  }

  /* サイドバー：ヘッダー下から全高スライドイン */
  #side {
    position: fixed;
    top: var(--header-h, 5rem);
    right: -100%;
    bottom: 0;
    width: 100%;
    height: auto;
    max-height: none;
    overflow-y: auto;
    background: var(--c-base);
    box-shadow: none;
    z-index: 200;
    padding: 2.4rem 2rem 4rem;
    padding-bottom: calc(4rem + env(safe-area-inset-bottom, 0px));
    transition: 0.3s ease;
    box-sizing: border-box;
    border-radius: 0;
  }

  body.is-menu-open #side {
    right: 0;
  }

  /* オーバーレイ：ヘッダー下から */
  #sidebar-overlay {
    display: none;
    position: fixed;
    top: var(--header-h, 5rem);
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 199;
  }

  body.is-menu-open #sidebar-overlay {
    display: block;
  }

}