/**
 * カラーパレットとレイアウト変数
 *
 * WordPress CSS Coding Standards準拠
 * すべての色とサイズ値をCSS変数で一元管理
 */
:root {
	--color-primary: #1161A6;
	--color-font: #5B646F;
	--color-alternate: #F6F7FF;
  --color-copyright: #171733;
	--color-red: #DC2126;
	--color-white: #ffffff;
	--color-black: #000000;
	--color-selection-bg: var(--color-primary);
	--color-selection-text: var(--color-white);
	--container: 960px;
	--header-pc: 99px;
	--logo-pc: 55px;
	--gap-pc: 33px;
	--menu-size: 66px;
	--menu-line: 3px;
	--menu-space: 11px;
}


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


body {
	position: relative;
	overflow: visible;
	width: 100%;
	min-block-size: 100dvh;
	inline-size: 100%;
	background: var(--color-black);
	color: var(--color-font);
	font-family: Meiryo, "M PLUS Rounded 1c", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Hiragino Sans", "Yu Gothic UI", Arial, sans-serif;
	font-size: 1.6rem;
	font-weight: 400;
	font-feature-settings: "palt" 1;
	font-variant-east-asian: proportional-width;
	font-synthesis: none;
	line-height: normal;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-size-adjust: 100%;
	-webkit-text-size-adjust: 100%;
	color-scheme: light;
	scrollbar-gutter: stable both-edges;
}


.google-font {
	font-family: Meiryo, "M PLUS Rounded 1c", sans-serif !important;
}


::selection {
	background-color: var(--color-selection-bg);
	color: var(--color-selection-text);
}


a,
a:visited {
	color: inherit;
	text-decoration: none;
}


a:hover,
a:focus:not(:focus-visible) {
	text-decoration: none;
	outline: none;
}


:focus {
	outline: none;
}


li {
	list-style: none;
}


input[type="text"],
input[type="email"],
textarea {
	border-radius: 0;
	-webkit-appearance: none;
	appearance: none;
}


input[type="submit"],
input[type="button"],
button {
	border: none;
	border-radius: 0;
	cursor: pointer;
	-webkit-appearance: button;
	appearance: button;
}


input[type="search"]::-webkit-search-decoration {
	display: none;
}


.hidden {
	display: none !important;
}


p {
	color: var(--color-font);
	font-size: 1.6rem;
	font-weight: 400;
	line-height: 1.8;
}


.wp-pagenavi {
	position: relative;
	overflow: hidden;
	width: 100%;
	height: auto;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 11px;
}


.wp-pagenavi span,
.page.larger,
.page.smaller {
	position: relative;
	overflow: hidden;
	display: block;
	width: 44px;
	height: 44px;
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: var(--color-alternate);
	color: var(--color-font);
	font-size: 2rem;
	font-weight: 600;
	line-height: 41px;
	cursor: pointer;
}


.wp-pagenavi span.current {
	background-color: var(--color-primary);
}


.page.larger:hover {
	background-color: var(--color-alternate);
}


a.nextpostslink,
a.previouspostslink {
	position: relative;
	overflow: hidden;
	display: block;
	width: 44px;
	height: 44px;
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: var(--color-alternate);
	color: var(--color-font);
	font-size: 2rem;
	font-weight: 600;
	line-height: 41px;
	cursor: pointer;
}


input[type="text"],
input[type="email"],
input[type="tel"] {
	position: relative;
	overflow: hidden;
	width: 100%;
	height: auto;
	padding: 11px;
	border: 1px solid var(--color-border);
	border-radius: 5.5px;
	box-sizing: border-box;
	font-size: 1.6rem;
	font-weight: 400;
	line-height: 1.5;
}


input[type="submit"] {
	position: relative;
	overflow: hidden;
	width: 220px;
	height: 55px;
	margin: 0 auto;
	padding: 0;
	border: 2px solid var(--color-primary);
	border-radius: 27.5px;
	box-sizing: border-box;
	display: block;
	background-color: var(--color-white);
	color: var(--color-primary);
	font-size: 1.6rem;
	font-weight: 700;
	line-height: 1;
	cursor: pointer;
	transition: all 0.25s ease;
}


input[type="submit"]:hover {
	background-color: var(--color-primary);
	color: var(--color-white);
}


textarea {
	position: relative;
	overflow: hidden;
	width: 100%;
	height: auto;
	padding: 11px;
	border: 1px solid var(--color-border);
	border-radius: 2px;
	box-sizing: border-box;
	font-size: 1.6rem;
	font-weight: 400;
	line-height: 1.5;
}


.wpcf7-spinner {
	display: none !important;
}


.nav-toggle {
	position: fixed;
	top: 0;
	right: 0;
	z-index: 100;
	overflow: hidden;
	width: var(--menu-size);
	height: var(--menu-size);
	display: none;
	align-items: center;
	justify-content: center;
	background-color: var(--color-gray);
	cursor: pointer;
	opacity: 0.5;
	transition: all 0.3s cubic-bezier(.77, 0, .18, 1);
}


.nav-toggle:hover {
	opacity: 1;
}


.nav-toggle::after,
.nav-toggle::before {
	position: absolute;
	top: calc(50% - 1px);
	width: calc(var(--menu-size) / 2);
	height: var(--menu-line);
	display: block;
	content: "";
	background: var(--color-white);
	border-radius: calc(var(--menu-line) / 2);
}


.nav-toggle::before {
	transform: translateY(calc(var(--menu-space) * -1));
	box-shadow: 0 var(--menu-space) 0 var(--color-white);
	animation: nav-toggle-top 0.4s forwards;
}


.nav-toggle::after {
	transform: translateY(var(--menu-space));
	animation: nav-toggle-bottom 0.4s forwards;
}

.nav-toggle.active {
	opacity: 1;
}

.nav-toggle.active::before {
	animation: nav-toggle-top-active 0.4s forwards;
}


.nav-toggle.active::after {
	animation: nav-toggle-bottom-active 0.4s forwards;
}


.nav-toggle.load::before,
.nav-toggle.load::after {
	animation: none;
}


/**
 * アニメーション
 */
@keyframes nav-toggle-top {
	0% {
		box-shadow: none;
		transform: translateY(0) rotate(45deg);
	}

	50% {
		box-shadow: none;
		transform: translateY(0) rotate(0);
	}

	100% {
		transform: translateY(calc(var(--menu-space) * -1)) rotate(0);
	}
}


@keyframes nav-toggle-top-active {
	0% {
		transform: translateY(calc(var(--menu-space) * -1)) rotate(0);
	}

	50% {
		box-shadow: none;
		background: var(--color-white);
		transform: translateY(0) rotate(0);
	}

	100% {
		box-shadow: none;
		background: var(--color-white);
		transform: translateY(0) rotate(45deg);
	}
}


@keyframes nav-toggle-bottom {
	0% {
		box-shadow: none;
		transform: translateY(0) rotate(-45deg);
	}

	50% {
		box-shadow: none;
		transform: translateY(0) rotate(0);
	}

	100% {
		transform: translateY(var(--menu-space)) rotate(0);
	}
}


@keyframes nav-toggle-bottom-active {
	0% {
		transform: translateY(var(--menu-space)) rotate(0);
	}

	50% {
		box-shadow: none;
		background: var(--color-white);
		transform: translateY(0) rotate(0);
	}

	100% {
		box-shadow: none;
		background: var(--color-white);
		transform: translateY(0) rotate(-45deg);
	}
}


@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(22px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.mobile-panel {
	position: fixed;
	top: 66px;
	left: 0;
	z-index: 99;
	width: 100%;
	height: calc(100dvh - 66px);
	background-color: var(--color-white);
	transform: translateY(-100%);
	transition: all 0.6s cubic-bezier(.77, 0, .18, 1);
}

.mobile-panel.active {
	opacity: 1;
	transform: translateY(0%);
}

.mobile-menu-list {
	overflow: hidden;
	position: relative;
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
  background-color: rgba(17, 97, 166, 0.09);
}

.mobile-menu-item {
	overflow: hidden;
	position: relative;
	width: 100%;
	height: 55px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.6rem;
	font-weight: 700;
	line-height: 55px;
	border-bottom: 2px solid rgba(17, 97, 166, 0.18);
	transition: all 0.3s cubic-bezier(.77, 0, .18, 1);
}

.mobile-menu-item span {
	color: var(--color-primary);
	opacity: 1 !important;
	transition: all 0.3s cubic-bezier(.77, 0, .18, 1);
}

.mobile-menu-item.mobile-menu-item-active,
.mobile-menu-item:hover {
	background-color: rgba(17, 97, 166, 0.64) !important;
}

.mobile-menu-item.mobile-menu-item-active span,
.mobile-menu-item:hover span {
	color: var(--color-white) !important;
}

.fadeIn {
	opacity: 0;
	transform: translateY(16.5px);
	transition: opacity 0.9s ease-out, transform 0.9s ease-out;
}

.fadeIn.visible {
	opacity: 1;
	transform: translateY(0);
}

/* いいねボタンを押した際のメッセージを消したい */
.wpulike-notification .wpulike-message.wpulike-success {
	display: none;
}

/* いいねボタンを取り消した際のメッセージを消したい */
.wpulike-notification .wpulike-message {
	display: none;
}

.wpulike .wp_ulike_general_class {
	display: inline-flex;
	align-items: center;
	transform: scale(0.8);
}

.wpulike .wp_ulike_general_class span {
	transition: all 0.3s cubic-bezier(.77, 0, .18, 1);
}

.wpulike-robeen .count-box {
	font-weight: 600;
	padding: 0 0 0 8px;
	font-size: 16px;
	color: inherit;
}

#ctf .ctf-header {
	display: none !important;
}

#ctf.ctf-narrow .ctf-author-box {
	overflow: hidden;
	position: relative;
	width: 100%;
	margin: 0 !important;
}

#ctf p.ctf-tweet-text {
	padding: 0 !important;
	margin: 0 !important;
	line-height: 1.4;
	font-size: 1.5rem;
}

#ctf .ctf-header-text .ctf-header-user,
#ctf .ctf-header-text p {
	float: left;
	clear: both;
	width: auto;
	margin: 0 0 0 60px !important;
	padding: 0 !important;
	text-align: left;
	font-size: 1.5rem;
	font-weight: 400;
}