@charset "utf-8";
/*
Theme Name: hanasaqutto
Theme URI: hanasaqutto
Description: hanasaqutto blog - ゲームUIデザイン情報メディア
Author: hana sakuno
Author URI: https://hanasaqutto.com
Version: 2.0.0
Tags: pop, blog, game, ui
License: secret
License URI: hanasaqutto
Text Domain: hanasaqutto
*/

/* ===========================
   CSS変数
=========================== */
:root {
	--color-primary:      #e9653e;
	--color-primary-dark: #d97f00;
	--color-primary-light:#fff8f0;
	--color-text:         #2a2a2a;
	--color-text-sub:     #777777;
	--color-bg:           #f8f6f3;
	--color-bg-card:      #ffffff;
	--color-border:       #e8e4df;
	--color-header-bg:    #ffffff;
	--color-footer-bg:    #1c1c1c;
	--color-footer-text:  #cccccc;
	--container-max:      1200px;
	--container-side:     1440px;
	--main-width:         760px;
	--side-width:         320px;
	--gap:                40px;
	--radius:             8px;
	--shadow:             none;
	--shadow-hover:       none;
	--transition:         0.2s ease-in-out;
}

/* ===========================
   リセット・共通
=========================== */
html, body {
	margin: 0;
	padding: 0;
	font-size: 16px;
	letter-spacing: 0.03em;
	line-height: 1.6;
	color: var(--color-text);
	font-family: 'Meiryo', sans-serif;
	border: 0;
	-webkit-font-smoothing: antialiased;
	background: var(--color-bg);
	overflow-x: hidden;
}
*, *::before, *::after {
	box-sizing: border-box;
}
img {
	max-width: 100%;
	height: auto;
	display: block;
}
a:link {
	color: var(--color-text);
	text-decoration: none;
	transition: var(--transition);
}
a:visited {
	color: var(--color-text);
}
a:hover {
	color: var(--color-primary);
	opacity: 1;
}
a:active {
	color: var(--color-primary);
}

/* ===========================
   ラッパー
=========================== */
.wrapper {
	width: 100%;
	margin: 0 auto;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}

/* ===========================
   ヘッダー
=========================== */
header {
	background: var(--color-header-bg);
	position: sticky;
	top: 0;
	z-index: 100;
}
/* ロゴ中央・ナビ右の3カラムグリッドヘッダー */
.header_inner {
	max-width: var(--container-max);
	margin: 0 auto;
	padding: 0 24px;
	height: 70px;
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
}
.header_logo {
	grid-column: 2;
	justify-self: center;
}
.header_logo a {
	display: flex;
	align-items: center;
}
.header_logo img {
	width: 170px;
	height: auto;
}
/* ハンバーガーボタン（右上オレンジ正方形） */
.hamburger {
	position: fixed;
	right: 0;
	top: 0;
	width: 70px;
	height: 70px;
	background: var(--color-primary);
	border: none;
	cursor: pointer;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	align-items: center;
	padding: 26px 23px;
	transition: background 0.2s;
	z-index: 400;
}
.hamburger span {
	display: block;
	width: 24px;
	height: 2px;
	background: #fff;
	border-radius: 2px;
	transition: transform 0.3s ease, opacity 0.3s ease;
}
.hamburger:hover {
	background: var(--color-primary-light);
}
.hamburger:hover span {
	background: var(--color-primary);
}
/* X変形 */
.hamburger.is-open span:nth-child(1) {
	transform: translateY(8px) rotate(45deg);
}
.hamburger.is-open span:nth-child(2) {
	opacity: 0;
}
.hamburger.is-open span:nth-child(3) {
	transform: translateY(-8px) rotate(-45deg);
}

/* ===========================
   ナビドロワー（右1/4スライドイン）
=========================== */
/* 背景幕 */
.nav_overlay {
	position: fixed;
	inset: 0;
	z-index: 300;
	background: rgba(0,0,0,0);
	pointer-events: none;
	transition: background 0.35s ease;
}
.nav_overlay.is-open {
	background: rgba(0,0,0,0.35);
	pointer-events: all;
}
/* ドロワーパネル */
.nav_overlay__right {
	position: absolute;
	top: 0;
	right: 0;
	width: 25%;
	min-width: 280px;
	height: 100%;
	background: #f8f6f3;
	transform: translateX(100%);
	transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
	display: flex;
	flex-direction: column;
	padding-top: 70px;
}
.nav_overlay.is-open .nav_overlay__right {
	transform: translateX(0);
}
/* 閉じるボタン（ハンバーガーと同サイズ） */
.nav_overlay__close {
	position: absolute;
	top: 0;
	right: 0;
	width: 70px;
	height: 70px;
	background: var(--color-primary);
	border: none;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 0.2s;
}
.nav_overlay__close:hover {
	background: #c8542e;
}
.nav_overlay__close span {
	position: absolute;
	width: 24px;
	height: 2px;
	background: #fff;
	border-radius: 2px;
}
.nav_overlay__close span:first-child {
	transform: rotate(45deg);
}
.nav_overlay__close span:last-child {
	transform: rotate(-45deg);
}
/* メニューリスト */
.nav_overlay__nav {
	display: flex;
	flex-direction: column;
	padding: 32px 32px;
	gap: 28px;
	overflow-y: auto;
}
/* セクション（ドット＋リスト） */
.nav_section {
	display: flex;
	flex-direction: column;
	gap: 16px;
}
/* セクションの3ドット */
.nav_section__dots {
	display: flex;
	align-items: center;
	gap: 6px;
}
.nav_section__dot {
	display: inline-block;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	border: 1.5px solid var(--color-primary);
	flex-shrink: 0;
}
.nav_section__dot--active {
	background: var(--color-primary);
	border-color: var(--color-primary);
}
.nav_overlay__list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
}
.nav_overlay__list li {
	height: 44px;
	display: flex;
	align-items: center;
}
.nav_overlay__list li a {
	font-family: 'Meiryo', sans-serif;
	font-size: 15px;
	font-weight: 400;
	color: var(--color-text);
	text-decoration: none;
	letter-spacing: 0.6px;
	padding: 8px 13px;
	display: flex;
	align-items: center;
	gap: 8px;
	width: 100%;
	transition: color 0.2s;
}
.nav_overlay__list li a::before {
	content: '';
	display: inline-block;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--color-primary);
	flex-shrink: 0;
	position: relative;
	left: -2px;
}
.nav_overlay__list li a:hover {
	color: var(--color-primary);
	opacity: 1;
}

/* ===========================
   メイン画像（非表示）
=========================== */
.main_img {
	display: none;
}

/* ===========================
   コンテナ（共通）
=========================== */
.container {
	width: 100%;
	max-width: var(--container-side);
	margin: 0 auto;
	padding: 16px 24px 40px;
	display: flex;
	gap: var(--gap);
	flex: 1;
}
.main {
	flex: 1;
	min-width: 0;
}
.side {
	width: var(--side-width);
	flex-shrink: 0;
	padding-top: 40px;
}

/* ===========================
   ヒーロースライダー（3枚同時表示）
=========================== */
.hero_slider {
	position: relative;
	width: 100%;
	background: var(--color-bg);
	padding: 20px 0 24px;
}
.hero_slider__inner {
	width: 100%;
	padding: 0;
	overflow: hidden;
}
.hero_slider__track {
	display: flex;
	gap: 16px;
	transition: transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94);
	will-change: transform;
}
/* 固定サイズ：1枚 1100px × 576px */
.hero_slide {
	flex: 0 0 1100px;
	height: 576px;
	position: relative;
	border-radius: 12px;
	overflow: hidden;
	cursor: pointer;
	background: linear-gradient(135deg, #d0ceca 0%, #b8b0a8 100%);
}
.hero_slide img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.4s ease;
}
.hero_slide:hover img {
	transform: scale(1.1);
}
.hero_slide__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(
		to top,
		rgba(0,0,0,0.75) 0%,
		rgba(0,0,0,0.15) 55%,
		rgba(0,0,0,0.0) 100%
	);
	border-radius: 10px;
}
.hero_slide__body {
	position: absolute;
	bottom: 18px;
	left: 18px;
	right: 18px;
	color: #fff;
}
.hero_slide__cat {
	display: inline-block;
	background: var(--color-primary);
	color: #fff;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.04em;
	padding: 4px 10px 2px;
	border-radius: 9999px;
	margin-bottom: 6px;
}
.hero_slide__title {
	font-size: 14px;
	font-weight: 700;
	line-height: 1.45;
	color: #fff;
	text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}
.hero_slide__date {
	font-size: 11px;
	color: rgba(255,255,255,0.7);
	margin-top: 4px;
	display: flex;
	align-items: center;
	gap: 3px;
}
.hero_slide__date::before {
	content: '\f017';
	font-family: 'Font Awesome 5 Free';
	font-weight: 400;
	font-style: normal;
	font-size: 11px;
}

/* 矢印ボタン */
.hero_slider__arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 38px;
	height: 38px;
	background: #fff;
	border: 1px solid #e8e4df;
	border-radius: 19px;
	color: #2a2a2a;
	font-size: 15px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 0.2s, border-color 0.2s, color 0.2s, opacity 0.2s;
	z-index: 10;
	line-height: 1;
}
.hero_slider__arrow:hover {
	background: var(--color-primary-light);
	border-color: var(--color-primary-light);
	color: var(--color-primary);
}
.hero_slider__arrow:disabled {
	opacity: 0.35;
	cursor: default;
}
.hero_slider__arrow:disabled:hover {
	background: #fff;
	border-color: #e8e4df;
	color: #2a2a2a;
}
.hero_slider__arrow--prev {
	left: 12px;
	padding-right: 10px;
}
.hero_slider__arrow--next {
	right: 12px;
	padding-left: 8px;
}

/* モバイル */
@media (max-width: 768px) {
	.hero_slide {
		flex: 0 0 100%;
		height: 300px;
	}
	.hero_slide__title { font-size: 13px; }
}

/* ===========================
   トップページ専用コンテナ（1カラム）
=========================== */
.container--top {
	max-width: 1440px;
	margin: 0 auto;
	padding: 20px 24px 40px;
	display: block;
	flex: 1;
}

/* ===========================
   セクションタイトル（トップページ）
=========================== */
.section_title {
	text-align: center;
	margin-bottom: 32px;
}
.section_title__dots {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 10px;
	margin-bottom: 8px;
}
.section_title__dot {
	display: inline-block;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	border: 1.5px solid var(--color-primary);
	flex-shrink: 0;
}
.section_title__dot--active {
	background: var(--color-primary);
	border-color: var(--color-primary);
}
.section_title__en {
	font-family: 'Passion One', sans-serif;
	font-size: 32px;
	font-weight: 400;
	letter-spacing: 0.96px;
	color: var(--color-text);
	line-height: 1;
	margin: 0 0 2px;
	text-transform: uppercase;
}
.section_title__ja {
	font-family: 'Meiryo', sans-serif;
	font-size: 14px;
	font-weight: 700;
	color: var(--color-text);
	letter-spacing: 0.7px;
	margin: 0;
}

/* ===========================
   記事グリッド（トップページ）
=========================== */
.post_grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 16px;
}

/* ===========================
   記事カード（トップページ・カテゴリ）
=========================== */
.post_card {
	background: transparent;
	border-radius: 0;
	overflow: visible;
	box-shadow: none;
	display: flex;
	flex-direction: column;
}
.post_card__thumb {
	display: block;
	overflow: hidden;
	aspect-ratio: 360 / 188;
	border-radius: 8px;
}
.post_card__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}
.post_card:hover .post_card__thumb img {
	transform: scale(1.1);
}
.post_card__body {
	padding: 10px 0 16px;
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 6px;
}
.post_card__meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
}
.post_card__cat {
	display: inline-block;
	background: var(--color-primary);
	color: #fff;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.04em;
	padding: 4px 10px 2px;
	border-radius: 9999px;
	white-space: nowrap;
	margin: 0;
}
.post_card__title {
	font-size: 14px;
	font-weight: 700;
	line-height: 1.55;
	margin: 0;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.post_card__title a {
	color: var(--color-text);
}
.post_card__title a:hover {
	color: var(--color-primary);
}
.post_card__date {
	font-size: 11px;
	color: var(--color-text-sub);
	white-space: nowrap;
	margin: 0;
	display: flex;
	align-items: center;
	gap: 3px;
}
.post_card__date::before {
	content: '\f017';
	font-family: 'Font Awesome 5 Free';
	font-weight: 400;
	font-style: normal;
	font-size: 11px;
}
.post_card__excerpt {
	display: none;
}

/* ===========================
   ページナビ
=========================== */
#pagenavi {
	margin-top: 40px;
}
.wp-pagenavi {
	clear: both;
	text-align: center;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	font-family: 'Amiko', sans-serif;
}
.wp-pagenavi a,
.wp-pagenavi span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	padding: 0;
	border-radius: 50%;
	border: none;
	background: #eeecea;
	color: var(--color-text);
	text-decoration: none;
	font-size: 14px;
	line-height: 1;
	padding-top: 2px;
	padding-left: 1px;
	letter-spacing: 0.48px;
	transition: var(--transition);
}
.wp-pagenavi a:hover {
	background: var(--color-primary-light);
	border-color: var(--color-primary-light);
	color: var(--color-primary);
	opacity: 1;
}
.wp-pagenavi span.current {
	background: var(--color-primary);
	color: #fff;
	font-weight: 700;
}
.wp-pagenavi a.next {
	font-size: 10px;
}

/* ===========================
   パンくずリスト
=========================== */
.pankuzu {
	margin: 0 0 16px 0;
	padding: 0;
	list-style: none;
}
.pankuzu li {
	display: inline;
	font-size: 12px;
	color: var(--color-text-sub);
}
.pankuzu li + li::before {
	content: ' › ';
	margin: 0 4px;
}
.pankuzu a {
	color: var(--color-primary);
	text-decoration: underline;
}

/* ===========================
   カテゴリ名タイトル
=========================== */
.category_name_top {
	margin: 0 0 24px 0;
}

/* ===========================
   記事一覧（カテゴリ・タグ・検索）
   ※ .post_card スタイルを流用
=========================== */
.post_list {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 24px;
}
.post_list article {
	background: var(--color-bg-card);
	border-radius: var(--radius);
	overflow: hidden;
	box-shadow: var(--shadow);
	transition: transform var(--transition), box-shadow var(--transition);
}
.post_list article:hover {
	transform: translateY(-3px);
	box-shadow: var(--shadow-hover);
}
.post_list_thumb img {
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 9;
	object-fit: cover;
}
.post_list h2 {
	font-size: 14px;
	font-weight: 700;
	padding: 12px 14px 6px;
	line-height: 1.5;
}
.post_list h2 a {
	color: var(--color-text);
}
.post_list h2 a:hover {
	color: var(--color-primary);
}
.post_list p {
	font-size: 11px;
	color: var(--color-text-sub);
	padding: 0 14px 14px;
}
.post_list article.post_card {
	background: transparent;
	box-shadow: none;
	transform: none !important;
}
.post_list .post_card__thumb {
	border-radius: 8px;
}
.post_list .post_card__body {
	padding: 10px 0 16px;
	gap: 10px;
}
.post_list .post_card__meta p {
	padding: 0;
}
.post_list .post_card__cat {
	padding: 3px 10px !important;
	color: #fff !important;
	position: relative;
	top: 1px;
}

/* ===========================
   サイドバー
=========================== */
.side_widget {
	background: var(--color-bg-card);
	border-radius: var(--radius);
	padding: 20px;
	margin-bottom: 20px;
}
.side_widget__dots {
	display: flex;
	justify-content: center;
	gap: 10px;
	margin-bottom: 8px;
}
.side_widget__dot {
	display: inline-block;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	border: 1.5px solid var(--color-primary);
	flex-shrink: 0;
}
.side_widget__dot--active {
	background: var(--color-primary);
	border-color: var(--color-primary);
}
.side_widget_title {
	font-family: 'Passion One', sans-serif;
	font-size: 26px;
	font-weight: 400;
	letter-spacing: 0.04em;
	color: var(--color-text);
	text-transform: uppercase;
	line-height: 1;
	margin-bottom: 4px;
	text-align: center;
}
.side_widget_subtitle {
	font-size: 12px;
	font-weight: 700;
	text-align: center;
	color: var(--color-text-sub);
	letter-spacing: 0.04em;
	margin-bottom: 8px;
}
/* カテゴリリスト */
.side_widget ul.cat_list {
	list-style: none;
	margin: 0;
	padding: 0;
}
.side_widget ul.cat_list li {
	border-bottom: 1px solid var(--color-border);
}
.side_widget ul.cat_list li:last-child {
	border-bottom: none;
}
.side_widget ul.cat_list li a {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 9px 4px;
	font-size: 13px;
	color: var(--color-text);
	transition: var(--transition);
}
.side_widget ul.cat_list li a::before {
	content: '';
	display: block;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--color-primary);
	flex-shrink: 0;
}
.side_widget ul.cat_list li a:hover {
	color: var(--color-primary);
}

/* 検索ボックス */
.search_widget {
	margin-bottom: 20px;
}
.search_widget form {
	display: flex;
	align-items: center;
	border-radius: var(--radius);
	overflow: hidden;
	background: var(--color-bg-card);
}
.search_widget form:focus-within {
	border-color: var(--color-primary);
}
.search_widget form input[type=text] {
	flex: 1;
	border: none;
	padding: 10px 12px;
	font-size: 14px;
	outline: none;
	background: transparent;
	color: var(--color-text);
}
.search_widget form button {
	background: transparent;
	color: var(--color-primary);
	border: none;
	padding: 0 12px;
	cursor: pointer;
	font-size: 15px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	transition: color var(--transition);
}
.search_widget form button:hover {
	color: var(--color-primary-dark);
}

/* 検索結果なし */
.search_empty {
	text-align: center;
	padding: 48px 0 56px;
}
.search_empty__icon {
	font-size: 48px;
	color: var(--color-border);
	margin-bottom: 20px;
}
.search_empty__msg {
	font-size: 15px;
	color: var(--color-text);
	margin-bottom: 8px;
}
.search_empty__sub {
	font-size: 13px;
	color: var(--color-text-sub);
	margin-bottom: 28px;
}
.search_empty__form {
	display: flex;
	align-items: center;
	max-width: 400px;
	margin: 0 auto;
	border-radius: var(--radius);
	overflow: hidden;
	background: var(--color-bg-card);
}
.search_empty__form input[type=text] {
	flex: 1;
	border: none;
	padding: 10px 14px;
	font-size: 14px;
	outline: none;
	background: transparent;
	color: var(--color-text);
}
.search_empty__form button {
	background: transparent;
	color: var(--color-primary);
	border: none;
	padding: 0 14px;
	cursor: pointer;
	font-size: 15px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	transition: color var(--transition);
}
.search_empty__form button:hover {
	color: var(--color-primary-dark);
}
.search_empty__btn {
	display: inline-block;
	padding: 10px 32px;
	border-radius: 9999px;
	background: var(--color-primary);
	color: #fff !important;
	font-size: 14px;
	text-decoration: none;
	transition: background var(--transition);
}
.search_empty__btn:hover {
	background: var(--color-primary-dark);
}

/* プロフィール */
.prof_photo {
	text-align: center;
	margin-bottom: 12px;
}
.prof_photo img {
	width: 80px;
	height: 80px;
	border-radius: 50%;
	margin: 0 auto;
	object-fit: cover;
}
.prof_name {
	text-align: center;
	font-weight: 700;
	font-size: 15px;
	margin-bottom: 8px;
}
.prof_txt {
	font-size: 13px;
	line-height: 1.7;
	color: var(--color-text-sub);
}
.prof_txt p {
	margin-bottom: 8px;
}
.prof_txt a {
	color: var(--color-primary);
	text-decoration: underline;
}
ul.sns_list {
	display: flex;
	justify-content: center;
	gap: 12px;
	margin-top: 12px;
	padding: 0;
	list-style: none;
}
ul.sns_list li img {
	width: 32px;
	height: 32px;
	opacity: 0.8;
	transition: opacity var(--transition);
}
ul.sns_list li img:hover {
	opacity: 1;
}

/* ランキング */
.post_list_rank {
	margin-bottom: 16px;
	padding-bottom: 16px;
}
.post_list_rank:last-child {
	margin-bottom: 0;
	padding-bottom: 0;
	border-bottom: none;
}
.post_list_rank img {
	width: 100%;
	height: auto;
	border-radius: 4px;
	margin-bottom: 8px;
}
.post_list_rank h2 {
	font-size: 13px;
	font-weight: 700;
	line-height: 1.5;
}
.post_list_rank h2 a {
	color: var(--color-text);
}
.post_list_rank h2 a:hover {
	color: var(--color-primary);
}
.post_list a:link,
.post_list_top a:link,
.post_list_rank a:link {
	text-decoration: none;
}

/* 広告エリア */
.ad_square {
	margin-bottom: 20px;
	text-align: center;
}
.ad_auto_top {
	text-align: center;
	margin-bottom: 24px;
}
.ad_auto_top_underlayer {
	text-align: center;
	margin-bottom: 24px;
}
.ad_In_article {
	padding: 32px 0;
	text-align: center;
}

/* ===========================
   記事ページ (single)
=========================== */
.single_box {
	background: var(--color-bg-card);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	padding: 0 0 32px;
	counter-reset: h2ttl;
	overflow-wrap: break-word;
	word-break: break-word;
	line-height: 2;
}
.single_box .single_thumbnail img {
	width: 100%;
	height: auto;
	border-radius: var(--radius) var(--radius) 0 0;
}
.single_title_meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 28px 28px 8px;
}
.single_title_meta__right {
	display: flex;
	align-items: center;
	gap: 14px;
	flex-shrink: 0;
}
.single_title_meta .post_card__date {
	color: var(--color-text-sub);
	position: relative;
	top: 1px;
}
.single_title_meta .post_card__date::before {
	position: relative;
	top: -1px;
}
.single_box h1 {
	padding: 12px 28px 8px;
	font-size: 26px;
	line-height: 1.6;
	color: var(--color-text);
	text-align: center;
}
.post_time {
	display: flex;
	justify-content: center;
	color: var(--color-text-sub);
	font-size: 13px;
	padding-bottom: 16px;
}
.single_box h2 {
	counter-increment: h2ttl;
	color: var(--color-text);
	font-size: 22px;
	margin: 52px 28px 40px;
	line-height: 1.5;
	padding: 46px 0 12px;
	border-bottom: 3px solid var(--color-primary);
	text-align: center;
	position: relative;
}
.single_box h2::before {
	content: '';
	position: absolute;
	top: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 38px;
	height: 6px;
	background-image:
		radial-gradient(circle, transparent 2px, var(--color-primary) 2px, var(--color-primary) 3px, transparent 3px),
		radial-gradient(circle, var(--color-primary) 3px, transparent 3px),
		radial-gradient(circle, transparent 2px, var(--color-primary) 2px, var(--color-primary) 3px, transparent 3px);
	background-size: 6px 6px;
	background-position: 0 0, 16px 0, 32px 0;
	background-repeat: no-repeat;
}
.single_box h2::after {
	content: counter(h2ttl, decimal-leading-zero);
	position: absolute;
	top: 14px;
	left: 50%;
	transform: translateX(-50%);
	font-family: 'Passion One', sans-serif;
	font-size: 28px;
	color: var(--color-text);
	font-weight: 400;
	line-height: 1;
}
.single_box h3 {
	color: var(--color-text);
	font-size: 18px;
	margin: 36px 28px 0;
	padding-bottom: 40px;
	line-height: 1.5;
	padding: 2px 0 0 14px;
	border-left: 4px solid var(--color-primary);
}
.single_box h3::before {
	content: none;
}
.single_box p {
	margin: 28px 28px;
	text-align: left;
	font-size: 16px;
	line-height: 1.9;
}
.single_box img {
	width: 100%;
}
.single_box a {
	color: var(--color-primary);
	text-decoration: underline;
}
#toc_container a {
	text-decoration: none !important;
	color: var(--color-text) !important;
}
#toc_container a:hover {
	color: var(--color-primary) !important;
}
.single_box .letter {
	padding: 24px;
	text-align: left;
	line-height: 2;
	color: var(--color-text);
}

/* タグボックス */
.single_box .tag_box {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	padding: 0;
	margin: 16px 28px;
	list-style: none;
	background: none;
	border: none;
	font-size: 12px;
}
ul.tag_box li {
	background: var(--color-primary);
	border-radius: 9999px;
	padding: 4px 10px 2px;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.04em;
	white-space: nowrap;
}
.single_box ul.tag_box li::before {
	content: none !important;
	display: none;
}
.single_box .tag_box a {
	text-decoration: none !important;
	color: #fff !important;
}
.single_box .tag_box a:hover {
	color: #fff !important;
	opacity: 0.8;
}

/* お問い合わせボタン */
.highlight_contact {
	text-align: center !important;
	background: #fff3f6;
	padding: 24px !important;
	border-radius: 0;
	margin: 28px 0 !important;
}
.highlight_contact__text {
	margin: 0 0 4px !important;
	padding: 0 !important;
	text-align: center !important;
}
.btn_ad_contact {
	display: inline-block;
	color: #ffffff !important;
	background: var(--color-primary);
	padding: 9px 48px 7px;
	margin: 8px 8px 12px !important;
	border-radius: 9999px;
	font-weight: 700;
	text-decoration: none !important;
	transition: background var(--transition);
}
.btn_ad_contact::before {
	content: "\f0e0";
	font-family: 'Font Awesome 5 Free';
	font-weight: 900;
	margin-right: 8px;
}
.btn_ad_contact:hover {
	background: var(--color-primary-dark);
	color: #ffffff !important;
	opacity: 1;
}

/* ===========================
   固定ページ
=========================== */
h1.page_ttl {
	text-align: center;
	padding: 28px 0 14px;
	font-family: 'Passion One', cursive;
	font-size: 48px;
	color: var(--color-text);
}
.page_under_line {
	display: block;
	width: 40px;
	border-bottom: 4px solid var(--color-primary);
	margin: 0 auto 28px;
	padding-bottom: 8px;
}

/* ===========================
   記事専用スタイル：リスト
=========================== */
.single_box ul {
	padding: 16px 20px;
	margin: 28px;
	text-align: left;
	overflow: hidden;
	background: var(--color-primary-light);
	border-radius: 6px;
	line-height: 1.9;
}
.single_box ul li::before {
	content: '';
	display: inline-block;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--color-primary);
	margin-right: 8px;
	vertical-align: middle;
	flex-shrink: 0;
}
.single_box strong {
	font-weight: 700;
}

ul.box_style_01 {
	background: #f5f5f5;
	border: 1px solid #e5e5e5;
	border-left: solid 6px #ccc8c5;
}
.single_box ul.box_style_01 li::before {
	content: none;
}
ul.box_style_02 {
	margin: 0 28px 28px;
	border: 1px solid #f8d5a2;
	background: #ffffff;
}
p.box_style_02_ttl {
	font-size: 16px;
	background: #f8d5a2;
	margin: 28px 28px 0;
	padding: 6px 16px;
	text-align: left;
	border-radius: 4px 4px 0 0;
}
p.box_style_02_ttl::before {
	padding: 0 6px 0 0;
	content: "\f02d";
	font-family: 'Font Awesome 5 Free';
	font-weight: 900;
}
.box_style_03 {
	margin: 28px;
	padding: 16px 20px;
	background: var(--color-primary-light);
	border-radius: 6px;
	line-height: 1.9;
}
.box_style_03 .box_style_03_ttl {
	font-weight: 700;
	margin: 0 0 8px !important;
	padding: 0;
}
.box_style_03 .box_style_03_ttl::before {
	content: "\f071";
	font-family: 'Font Awesome 5 Free';
	font-weight: 900;
	color: var(--color-primary);
	margin-right: 6px;
}
.box_style_03 p:not(.box_style_03_ttl) {
	margin: 0;
	padding: 2px 0;
	display: flex;
	align-items: center;
}
.box_style_03 p:not(.box_style_03_ttl)::before {
	content: '';
	display: inline-block;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--color-primary);
	margin-right: 8px;
	flex-shrink: 0;
}
div.highlight {
	background: var(--color-primary-light);
	padding: 16px 20px;
	border-radius: 6px;
	margin: 28px;
}
.highlight_ttl {
	font-weight: 700;
	margin: 0 0 8px !important;
	padding: 0;
}
.highlight_ttl::before {
	content: "\f0eb";
	font-family: 'Font Awesome 5 Free';
	font-weight: 900;
	color: var(--color-primary);
	margin-right: 6px;
}
div.highlight p:not(.highlight_ttl) {
	margin: 0 !important;
	padding: 2px 0;
	display: flex;
	align-items: center;
}
div.highlight p:not(.highlight_ttl)::before {
	content: '';
	display: inline-block;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--color-primary);
	margin-right: 8px;
	flex-shrink: 0;
}

/* ===========================
   注意書き
=========================== */
.attention {
	padding: 40px 0 0;
	color: var(--color-text-sub);
}

/* ===========================
   関連記事プラグイン
=========================== */
h3.related_post_title {
	font-size: 18px;
	margin: 48px 28px 16px;
	padding: 2px 0 0 14px;
	border-left: 4px solid var(--color-primary);
	line-height: 1.5;
}
h3.related_post_title::before {
	content: none;
}
h3.related_post_title::after {
	content: none;
}
ul.related_post {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	margin: 0 28px 28px;
	border: none !important;
	background: transparent !important;
	padding: 0 !important;
}
ul.related_post li {
	width: 150px;
	line-height: 1.3;
}
ul.related_post li::before {
	content: none !important;
}
ul.related_post li a {
	display: block;
	text-decoration: none;
	font-size: 12px;
	color: var(--color-text);
}
ul.related_post li a:hover {
	color: var(--color-primary);
}
ul.related_post li img {
	display: block;
	width: 150px;
	height: 84px;
	object-fit: cover;
	border-radius: 4px;
	margin-bottom: 6px;
}

/* ===========================
   目次
=========================== */
div#toc_container {
	width: calc(100% - 56px) !important;
	margin: 24px 28px 28px !important;
	padding: 40px !important;
	border: none !important;
	border-radius: 6px;
	background: var(--color-primary-light);
	font-size: 100% !important;
}
#toc_container div.toc_title {
	text-align: center;
	margin: 0 !important;
	padding-top: 0;
}
#toc_container div.toc_title .side_widget__dots {
	justify-content: center;
	margin-bottom: 8px;
}
.toc_title__en {
	font-family: 'Passion One', sans-serif;
	font-size: 26px !important;
	font-weight: 400;
	letter-spacing: 0.04em;
	color: var(--color-text);
	text-transform: uppercase;
	line-height: 1 !important;
	margin: 0 0 2px !important;
	text-align: center !important;
}
.toc_title__ja {
	font-size: 12px !important;
	text-align: center !important;
	font-weight: 700;
	color: var(--color-text-sub);
	letter-spacing: 0.04em;
	margin: 0 !important;
}
#toc_container li,
#toc_container ul {
	border: none;
}
#toc_container ul {
	line-height: 1.6;
	padding: 0 !important;
	margin: 0 !important;
	background: none !important;
}
#toc_container li::before {
	content: '' !important;
	display: inline-block !important;
	width: 6px !important;
	height: 6px !important;
	border-radius: 50% !important;
	background: var(--color-primary) !important;
	margin-right: 12px !important;
	flex-shrink: 0;
	vertical-align: middle;
}
#toc_container li {
	margin-bottom: 4px;
	font-size: 14px;
}
.toc_num {
	margin-right: 8px;
}

/* ===========================
   吹き出しデザイン
=========================== */
.balloon_set_box {
	display: flex;
	flex-wrap: wrap;
	margin: 28px;
}
.balloon_set_box.left { flex-direction: row; }
.balloon_set_box.right { flex-direction: row-reverse; }
.balloon {
	position: relative;
	display: inline-block;
	max-width: 300px;
	margin: 10px 20px 20px;
	padding: 10px 16px;
	background: #f0f0f0;
	text-align: left;
	border-radius: 12px;
	font-size: 14px;
	line-height: 1.7;
}
.balloon::after {
	content: '';
	border: 12px solid transparent;
	border-top-color: #f0f0f0;
	position: absolute;
	top: 0;
}
.left .balloon::after { left: -8px; }
.right .balloon::after { right: -8px; }
.icon_box {
	width: 72px;
	height: 72px;
	border-radius: 50%;
	overflow: hidden;
	flex-shrink: 0;
}
.icon_box_face1 { background: url("images/balloon_icon_80_001.png"); background-size: cover; }
.icon_box_face2 { background: url("images/balloon_icon_80_002.png"); background-size: cover; }

/* ===========================
   テーブル
=========================== */
.my-parts {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	max-width: 100%;
	margin: 28px;
}
.my-parts table {
	border-collapse: collapse;
	border: 1px solid var(--color-border);
	table-layout: fixed;
	width: 100%;
}
.my-parts th,
.my-parts td {
	border: 1px solid var(--color-border);
	padding: 8px 12px;
	text-align: center;
	background: #fff;
}
.my-parts th {
	background: var(--color-primary);
	color: #fff;
	font-weight: 700;
}

/* ===========================
   埋め込み動画
=========================== */
.movie-wrap {
	position: relative;
	padding-bottom: 56.25%;
	height: 0;
	overflow: hidden;
	margin: 28px;
}
.movie-wrap iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

/* ===========================
   コードブロック
=========================== */
pre {
	margin: 28px;
	padding: 16px;
	background: #25292f;
	color: #fff;
	white-space: pre-wrap;
	text-align: left;
	line-height: 1.6;
	border-radius: 6px;
}
code {
	font-size: 14px;
}

/* ===========================
   コンタクトフォーム
=========================== */
.must { background: #ff1a00; }
.free { background: #999; }
.must, .free {
	color: #fff;
	font-size: 11px;
	margin-right: 8px;
	padding: 2px 6px;
	border-radius: 3px;
	letter-spacing: 0.1em;
}
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 textarea {
	width: 98%;
	padding: 10px 12px;
	margin: 8px 0;
	border: 1px solid var(--color-border);
	border-radius: 6px;
	font-size: 15px;
}
input[type="submit"],
input[type="button"],
input[type="reset"] {
	-webkit-appearance: none;
	border-radius: 0;
}
input.sub-btn,
input.sub-btn:visited {
	width: 180px;
	height: 50px;
	background: var(--color-primary);
	color: #fff;
	font-size: 16px;
	letter-spacing: 0.1em;
	border: none;
	border-radius: 25px;
	margin-bottom: 24px;
	cursor: pointer;
	transition: background var(--transition);
}
input.sub-btn:hover {
	background: var(--color-primary-dark);
	opacity: 1;
}
.ajax-loader {
	width: 0 !important;
	height: 0 !important;
	padding: 0 !important;
	margin: 0 !important;
}
.center { text-align: center; }

/* ===========================
   ブログカード（外部リンク）
=========================== */
.blogcard {
	text-align: left;
	line-height: 1;
	background-color: var(--color-bg-card);
	border: 1px solid var(--color-border);
	word-wrap: break-word;
	margin: 28px;
	box-shadow: var(--shadow);
	border-radius: var(--radius);
	overflow: hidden;
}
.blogcard.ex { background-color: var(--color-bg); }
.blogcard a { text-decoration: none; transition: opacity 0.2s; }
.blogcard a:hover { opacity: 0.7; }
.blogcard_thumbnail { float: left; padding: 16px; }
.blogcard_title {
	font-size: 1em;
	font-weight: 700;
	line-height: 1.5;
	padding: 16px 16px 8px;
}
.blogcard_excerpt {
	font-size: 0.85em;
	line-height: 1.6;
	padding: 0 16px 16px;
	color: var(--color-text-sub);
}
.blogcard_link {
	font-size: 0.65em;
	padding: 0 16px 14px;
}

/* ===========================
   フッター
=========================== */
footer {
	margin-top: auto;
	background: var(--color-footer-bg);
}
.footer_inner {
	max-width: var(--container-max);
	margin: 0 auto;
	padding: 40px 24px 20px;
}
ul.footer_nav {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 0;
	justify-content: center;
	padding: 0;
	margin-bottom: 24px;
	list-style: none;
}
ul.footer_nav li {
	display: inline;
	padding: 0 12px;
}
ul.footer_nav li + li {
	border-left: 1px solid #444;
}
ul.footer_nav li.footer_first {
	border-left: none;
}
footer a:link,
footer a:visited {
	color: var(--color-footer-text);
	text-decoration: none;
	font-size: 13px;
}
footer a:hover {
	color: var(--color-primary);
	opacity: 1;
}
.copyright {
	text-align: center;
	font-size: 12px;
	color: #666;
	padding: 20px 0;
	border-top: none;
}

/* ===========================
   旧ヘッダー要素（非表示）
=========================== */
.site_title { display: none; }
.header_menu { display: none; }
.logo { display: none; }

/* ===========================
   クリアフィックス
=========================== */
.clear_box { clear: both; }

/* ===========================
   WordPressデフォルトページネーション（the_posts_pagination）
=========================== */
.nav-links {
	clear: both;
	text-align: center;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	font-family: 'Amiko', sans-serif;
	margin-top: 40px;
}
.page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	padding: 0;
	border-radius: 50%;
	border: none;
	background: #eeecea;
	color: var(--color-text);
	text-decoration: none;
	font-size: 14px;
	line-height: 1;
	letter-spacing: 0.48px;
	transition: var(--transition);
}
a.page-numbers:hover {
	background: var(--color-primary-light);
	color: var(--color-primary);
	opacity: 1;
}
.page-numbers.current {
	background: var(--color-primary);
	color: #fff;
	font-weight: 700;
}
.page-numbers.next,
.page-numbers.prev {
	font-size: 10px;
}

/* ===========================
   404ページ
=========================== */
.error404_wrap {
	text-align: center;
	padding: 80px 24px;
}
.error404_wrap h1 {
	font-family: 'Passion One', sans-serif;
	font-size: 120px;
	color: var(--color-primary);
	line-height: 1;
	margin-bottom: 16px;
}
.error404_wrap p {
	font-size: 16px;
	color: var(--color-text-sub);
	margin-bottom: 32px;
}
.error404_wrap .btn_back {
	display: inline-block;
	background: var(--color-primary);
	color: #fff;
	padding: 12px 40px;
	border-radius: 9999px;
	font-weight: 700;
	text-decoration: none;
	transition: background var(--transition);
}
.error404_wrap .btn_back:hover {
	background: var(--color-primary-dark);
	color: #fff;
}

/* ===========================
   レスポンシブ
=========================== */
@media (max-width: 1024px) {
	.container {
		flex-direction: column;
		padding: 16px 16px 40px;
	}
	.side {
		width: 100%;
		padding-top: 0;
	}
	.post_grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 20px;
	}
	.post_list {
		grid-template-columns: repeat(2, 1fr);
	}
	.header_inner {
		padding: 0 16px;
	}
	.single_box {
		border-radius: 0;
	}
	.single_box h1 {
		font-size: 22px;
		padding: 8px 16px 12px;
	}
	.single_title_meta {
		padding: 28px 16px 8px;
	}
	.single_box h2 {
		margin: 40px 16px 24px;
		font-size: 19px;
	}
	.single_box h3 {
		margin: 28px 16px 8px;
	}
	.single_box p {
		margin: 20px 16px;
	}
	.single_box ul {
		margin: 16px;
	}
	.box_style_03 {
		margin: 16px;
	}
	ul.box_style_02 {
		margin: 0 16px 16px;
	}
	p.box_style_02_ttl {
		margin: 20px 16px 0;
	}
	.highlight_contact {
		margin: 20px 16px !important;
		padding: 16px !important;
	}
	.single_box .tag_box {
		margin: 12px 16px;
	}
	div#toc_container {
		width: calc(100% - 32px) !important;
		margin: 0 16px 28px !important;
	}
	h3.related_post_title {
		margin: 40px 16px 12px;
	}
	ul.related_post {
		margin: 0 16px 16px;
	}
	.balloon_set_box {
		margin: 16px;
	}
	.my-parts {
		margin: 16px;
	}
	.movie-wrap {
		margin: 16px;
	}
	pre {
		margin: 16px;
	}
	.blogcard {
		margin: 16px 0;
	}
	.blogcard_thumbnail img {
		width: 80px;
	}
	.blogcard_excerpt { display: none; }
}

@media (max-width: 768px) {
	.post_grid {
		grid-template-columns: 1fr;
		gap: 16px;
	}
	.hero_slide {
		flex: 0 0 85vw;
		height: 200px;
	}
	.hero_slider__arrow {
		display: none;
	}
	.post_list {
		grid-template-columns: 1fr;
	}
	.container--top {
		padding: 16px 16px 40px;
	}
	.header_logo img {
		width: 110px;
	}
	ul.footer_nav li {
		padding: 0 8px;
	}
	footer a:link {
		font-size: 12px;
	}
	.section_title__en {
		font-size: 26px;
	}
	ul.related_post li {
		width: calc(50% - 8px);
	}
	ul.related_post li img {
		width: 100%;
		height: auto;
		aspect-ratio: 16 / 9;
	}
	.balloon {
		max-width: calc(100% - 96px);
	}
	.hero_slider__arrow {
		width: 30px;
		height: 30px;
		font-size: 11px;
	}
}

@media (max-width: 480px) {
	.post_grid {
		grid-template-columns: 1fr;
		gap: 12px;
	}
	.hero_slide {
		height: 220px;
	}
	.hero_slide__title {
		font-size: 12px;
	}
	.hero_slider__arrow {
		display: none;
	}
	ul.related_post li {
		width: 100%;
	}
	.balloon {
		max-width: 100%;
		margin: 8px 0 16px;
	}
	.balloon_set_box {
		gap: 8px;
	}
	.container--top {
		padding: 12px 12px 32px;
	}
	.footer_inner {
		padding: 24px 16px 12px;
	}
}
