@charset "UTF-8";
/*
Theme Name: Studio Fellow
Theme URI: https://studio-fellow.com/
Author: STUDIO FELLOW
Author URI: https://studio-fellow.com/
Description: STUDIO FELLOW のオフィシャルサイト用オリジナルテーマ。Expositio をベースに親子テーマを統合し、Web 標準・SEO に配慮して再構成。
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: studio-fellow
Requires at least: 5.0
Requires PHP: 7.0
*/

/* Google Fonts は functions.php 側で <link rel="stylesheet"> として
 * HTML <head> に出力する。ここで @import を使うとメイン CSS ロード後
 * に直列で Google Fonts を取りに行くことになり、Safari 等でローディング
 * バーを長く引きずる原因になるため。 */


/**
 * Table of Contents:
 *
 * 1.0 - Base / Reset
 * 2.0 - Typography
 * 3.0 - Basic Structure
 * 4.0 - Header & Navigation
 * 5.0 - Content
 * 6.0 - Images & Gallery
 * 7.0 - Footer
 * 8.0 - Forms
 * 9.0 - Accessibility
 * 10.0 - Mobile (max-width: 950px)
 * 11.0 - Print
 * 12.0 - Reduced Motion
 * -----------------------------------------------------------------------------
 */

/* ============================================================
   STUDIO FELLOW - Custom overrides (merged from child theme)
   ============================================================ */
* {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

/* iOS Safari のタップ 300ms 遅延とスクロール/タップ競合を抑制。
   スマホでエントリー遷移時の反応取りこぼしを回避する。 */
a,
button,
[role="button"],
input[type="button"],
input[type="submit"],
.menu-toggle,
#navigation-close {
	touch-action: manipulation;
}

html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td {
	border: 0;
	font-family: inherit;
	font-size: 100%;
	font-style: inherit;
	font-weight: inherit;
	margin: 0;
	outline: 0;
	padding: 0;
	vertical-align: baseline;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
nav,
section {
	display: block;
}

audio,
canvas,
video {
	display: inline-block;
	max-width: 100%;
}

html {
	height: 100%;
	font-size: 62.5%;
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust: 100%;
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
}

body,
button,
input,
select,
textarea {
	color: #222223;
	/*font-family: Lusitana, serif;*/
	font-family: 'Economica', sans-serif;
	font-size: 19px;
	font-size: 1.9rem;
	font-weight: 400;
	line-height: 29px;
	line-height: 2.9rem;
	letter-spacing:0.1em;
}

body {
	height: 100%;
	background: #fff;
	/* 日本語は OS のシステムフォントに任せる（iOS: Hiragino Sans /
	 * macOS: Hiragino Kaku Gothic ProN / Windows: Yu Gothic /
	 * Android: Noto Sans CJK JP）。Google Fonts から Noto Sans JP を
	 * 取らなくなる分ローディングが大幅に軽くなる。 */
	font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic Medium", "Yu Gothic", Meiryo, sans-serif;
	font-weight:300;
	font-size:130%;
	letter-spacing:0.1em;
}

a {
	color: #222223;
	text-decoration: none;
}

a:hover {
	color: #646464;
	border-bottom: 1px solid #646464;
}

a:hover,
a:active {
	outline: 0;
}
a:focus-visible {
	outline: 2px solid #222223;
	outline-offset: 2px;
	border-radius: 1px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
	font-weight: 400;
	margin: 28px 0 14px;
	margin: 2.8rem 0 1.4rem;
}

h1 {
	font-size: 28px;
	font-size: 2.8rem;
	line-height: 38px;
	line-height: 3.8rem;
}

h2 {
	font-size: 26px;
	font-size: 2.6rem;
	line-height: 36px;
	line-height: 3.6rem;
}

h3 {
	font-size: 24px;
	font-size: 2.4rem;
	line-height: 34px;
	line-height: 3.4rem;
}

h3.style-h3 {
	font-size: 24px;
	font-size: 2.4rem;
	line-height: 38px;
	line-height: 3.8rem;
	margin-bottom:40px;
}

h4 {
	font-size: 22px;
	font-size: 2.2rem;
	line-height: 32px;
	line-height: 3.2rem;
}

h5 {
	font-size: 20px;
	font-size: 2rem;
	line-height: 30px;
	line-height: 3rem;
}

h6 {
	font-size: 18px;
	font-size: 1.8rem;
	line-height: 28px;
	line-height: 2.8rem;
}

address {
	font-style: italic;
	margin-bottom: 28px;
	margin-bottom: 2.8rem;
}

abbr[title] {
	border-bottom: 1px dotted #222223;
	cursor: help;
}

b,
strong {
	font-weight: 400;
}

cite,
dfn,
em,
i {
	font-style: italic;
}

mark,
ins {
	text-decoration: none;
}

p {
	margin-bottom: 28px;
	margin-bottom: 2.8rem;
}

code,
kbd,
tt,
var,
samp,
pre {
	font-family: monospace, serif;
	font-size: 16px;
	font-size: 1.6rem;
	-webkit-hyphens: none;
	-moz-hyphens: none;
	-ms-hyphens: none;
	hyphens: none;
	line-height: 26px;
	line-height: 2.6rem;
}

pre {
	border: 1px solid rgba(0, 0, 0, 0.1);
	margin-bottom: 28px;
	margin-bottom: 2.8rem;
	max-width: 100%;
	overflow: auto;
	padding: 12px;
	padding: 1.2rem;
	white-space: pre;
	white-space: pre-wrap;
	word-wrap: break-word;
}

blockquote,
q {
	-webkit-hyphens: none;
	-moz-hyphens: none;
	-ms-hyphens: none;
	hyphens: none;
	quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
	content: "";
	content: none;
}

blockquote {
	font-size: 20px;
	font-size: 2rem;
	font-style: italic;
	font-weight: 400;
	line-height: 30px;
	line-height: 3rem;
	margin-bottom: 28px;
	margin-bottom: 2.8rem;
}

blockquote cite,
blockquote small {
	font-size: 16px;
	font-size: 1.6rem;
	font-weight: 400;
	line-height: 26px;
	line-height: 2.6rem;
}

blockquote em,
blockquote i,
blockquote cite {
	font-style: normal;
}

blockquote strong,
blockquote b {
	font-weight: 400;
}

small {
	font-size: smaller;
}

big {
	font-size: 125%;
}

sup,
sub {
	font-size: 75%;
	height: 0;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sup {
	bottom: 1ex;
}

sub {
	top: .5ex;
}

dl {
	margin-bottom: 28px;
	margin-bottom: 2.8rem;
}

dt {
	font-weight: bold;
}

dd {
	margin-bottom: 28px;
	margin-bottom: 2.8rem;
}

ul,
ol {
	list-style: none;
	margin: 0 0 28px 20px;
	margin: 0 0 2.8rem 2rem;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

li > ul,
li > ol {
	margin: 0 0 0 20px;
	margin: 0 0 0 2rem;
}

img {
	-ms-interpolation-mode: bicubic;
	border: 0;
	vertical-align: top;
}

figure {
	margin: 0;
}

fieldset {
	border: 1px solid rgba(0, 0, 0, 0.1);
	margin: 0 0 28px;
	margin: 0 0 2.8rem;
	padding: 12px 12px 0;
	padding: 1.2rem 1.2rem 0;
}

legend {
	white-space: normal;
}

button,
input,
select,
textarea {
	font-size: 100%;
	margin: 0;
	max-width: 100%;
	vertical-align: baseline;
}

button,
input {
	line-height: normal;
}

input,
textarea {
	/* Removing the inner shadow, rounded corners on iOS inputs */
	background-image: -webkit-linear-gradient(rgba(255, 255, 255, 0), rgba(255, 255, 255, 0));
}

button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
	-webkit-appearance: button;
	cursor: pointer;
}

button[disabled],
input[disabled] {
	cursor: default;
}

input[type="checkbox"],
input[type="radio"] {
	padding: 0;
}

input[type="search"] {
	-webkit-appearance: textfield;
}

input[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
	border: 0;
	padding: 0;
}

textarea {
	overflow: auto;
	vertical-align: top;
}

table,
th,
td {
	border: 1px solid rgba(0, 0, 0, 0.1);
}

table {
	border-collapse: separate;
	border-spacing: 0;
	border-width: 1px 0 0 1px;
	margin-bottom: 28px;
	margin-bottom: 2.8rem;
	width: 100%;
}

caption,
th,
td {
	font-weight: normal;
	text-align: left;
}

th {
	border-width: 0 1px 1px 0;
	font-weight: bold;
}

td {
	border-width: 0 1px 1px 0;
}

del {
	color: #222223;
}

hr {
	background-color: rgba(0, 0, 0, 0.1);
	border: 0;
	height: 1px;
	margin-bottom: 28px;
	margin-bottom: 2.8rem;
}

/* Support a widely-adopted but non-standard selector for text selection styles
 * to achieve a better experience. See http://core.trac.wordpress.org/ticket/25898.
 */
::selection {
	background: #646464;
	color: #fff;
	text-shadow: none;
}

::-moz-selection {
	background: #646464;
	color: #fff;
	text-shadow: none;
}

/**
 * 2.0 Repeatable Patterns
 * -----------------------------------------------------------------------------
 */
@font-face {
	font-family: expositio;
	src: url("fonts/expositio.eot?") format("eot"), url("fonts/expositio.woff") format("woff"), url("fonts/expositio.ttf") format("truetype");
	font-weight: normal;
	font-style: normal;
}

/* Input fields */
input,
textarea {
	border: 1px solid #222223;
	border-radius: 2px;
	color: #222223;
	padding: 0.4rem 1rem;
	margin-bottom: 0.3rem;
}

input:focus,
textarea:focus {
	border: 1px solid #646464;
	outline: 0;
}
input:focus-visible,
textarea:focus-visible {
	outline: 2px solid #222223;
	outline-offset: 2px;
}

/* Buttons */
button,
.contributor-posts-link,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	background-color: #222223;
	border: 0;
	border-radius: 2px;
	color: #ffffff;
	padding: 0.5rem 2rem;
	margin-bottom: 0.3rem;
	vertical-align: bottom;
}

button:hover,
button:focus,
input[type="button"]:hover,
input[type="button"]:focus,
input[type="reset"]:hover,
input[type="reset"]:focus,
input[type="submit"]:hover,
input[type="submit"]:focus {
	background-color: #646464;
	color: #fff;
}
button:focus-visible,
input[type="button"]:focus-visible,
input[type="reset"]:focus-visible,
input[type="submit"]:focus-visible {
	outline: 2px solid #222223;
	outline-offset: 2px;
}

button:active,
.contributor-posts-link:active,
input[type="button"]:active,
input[type="reset"]:active,
input[type="submit"]:active {
	background-color: #646464;
	color: #fff;
}

/* Placeholder text color -- selectors need to be separate to work. */
::-webkit-input-placeholder {
	color: #222223;
}

:-moz-placeholder {
	color: #222223;
}

::-moz-placeholder {
	color: #222223;
	/* Since FF19 lowers the opacity of the placeholder by default */
	opacity: 1;
}

:-ms-input-placeholder {
	color: #222223;
}

/* Responsive images. Fluid images for posts, comments, and widgets */
.entry-content img,
.entry-summary img,
.wp-caption {
	max-width: 100%;
}

/**
 * Make sure images with WordPress-added height and width attributes are
 * scaled correctly.
 */
.entry-content img,
.entry-summary img,
img[class*="align"],
img[class*="wp-image-"],
img[class*="attachment-"] {
	height: auto;
}

img.size-full,
img.size-large,
.wp-post-image,
.post-thumbnail img {
	height: auto;
	max-width: 100%;
}

body.home .wp-post-image {
	max-width: none;
}

/* Make sure embeds and iframes fit their containers */
embed,
iframe,
object,
video {
	margin-bottom: 2.8rem;
	max-width: 100%;
}

p > embed,
p > iframe,
p > object,
span > embed,
span > iframe,
span > object {
	margin-bottom: 0;
}

/* Alignment */
.alignleft {
	float: left;
}

.alignright {
	float: right;
}

.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

blockquote.alignleft,
img.alignleft {
	margin: 0.7rem 2.8rem 0.7rem 0;
}

.wp-caption.alignleft {
	margin: 0.7rem 1.4rem 0.7rem 0;
}

blockquote.alignright,
img.alignright {
	margin: 0.7rem 0 0.7rem 2.8rem;
}

.wp-caption.alignright {
	margin: 0.7rem 0 0.7rem 1.4rem;
}

blockquote.aligncenter,
img.aligncenter,
.wp-caption.aligncenter {
margin-top: 0.7rem;
margin-bottom: 0.7rem;
}

.site-content blockquote.alignleft,
.site-content blockquote.alignright {
padding-top: 1.4rem;
}

.site-content blockquote.alignleft p,
.site-content blockquote.alignright p {
margin-bottom: 1.4rem;
}

.wp-caption {
margin-bottom: 2.8rem;
}

.wp-caption img[class*="wp-image-"] {
display: block;
margin: 0;
}

.wp-caption {
color: #222223;
}

.wp-caption a {
color: #646464;
}

.wp-caption-text {
font-size: 1.3rem;
line-height: 1.5rem;
margin: 0.9rem 0;
}

.wp-smiley {
border: 0;
margin-bottom: 0;
margin-top: 0;
padding: 0;
}

/* Assistive text */
.screen-reader-text {
clip: rect(1px, 1px, 1px, 1px);
position: absolute;
}

/* Clearing floats */
.site-header:after,
.site-footer:after {
content: '';
display: block;
clear: both;
}

/**
 * 3.0 Basic Structure
 * -----------------------------------------------------------------------------
 */
#wrapper {
	width: 100%;
	height: 100%;
}

.site {
	opacity: 1;
	position: relative;
	min-width: 320px;
}

.main-content,
.content-area {
	height: 100%;
	white-space: nowrap;
}

/* Infinite load */
@keyframes buffer1 {
	0% {
		transform: scale(0);
	}

	50% {
		transform: scale(1);
	}
}

@keyframes buffer2 {
	0% {
		transform: scale(0);
	}

	50% {
		transform: scale(0);
	}

	100% {
		transform: scale(1);
	}
}

#infinite-loader {
	display: none;
	position: fixed;
	top: 50%;
	left: 50%;
	width: 20px;
	height: 20px;
}

#infinite-loader.active {
	display: block;
}

#infinite-loader > * {
	display: block;
	position: absolute;
	top: -50%;
	left: -50%;
	width: 100%;
	height: 100%;
	background: #646464;
	border-radius: 50%;
}

#infinite-loader > *:nth-child(1) {
	background: transparent;
}

#infinite-loader > *:nth-child(2) {
	animation: buffer1 0.5s infinite;
}

#infinite-loader > *:nth-child(3) {
	background: transparent;
	animation: buffer2 0.2s infinite;
}

/**
 * 4.0 Header
 * -----------------------------------------------------------------------------
 */

#wpadminbar {
	min-height: 32px;
}

.site-header {
	background: #fff;
}

.site-title {
	margin: 0;
	font-size: 1.8rem;
	font-weight: 700;
	line-height: 2.8rem;
}

#header-helper {
	position: absolute;
	top: 0;
	left: 0;
	width: 10px;
	height: 1px;
}

/**
 * 5.0 Navigation
 * -----------------------------------------------------------------------------
 */
.site-navigation ul {
	list-style: none;
	margin: 0;
}

.site-navigation li {
	display: block;
	position: relative;
	font-size: 1.8rem;
	line-height: 2.8rem;
	word-wrap: break-word;
}

.site-navigation ul ul ul {
	padding-left: 2rem;
}

.menu-toggle {
	display: none;
	position: absolute;
	top: 1rem;
	right: 2rem;
	width: 3rem;
	height: 3rem;
	margin: 0;
	padding: 0;
	background-color: transparent;
	border: 0;
	color: #222223;
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
}

.menu-toggle:hover,
.menu-toggle:focus {
	color: #646464;
	background-color: transparent;
}

.menu-toggle-icon,
.menu-toggle-icon::before,
.menu-toggle-icon::after {
	display: block;
	position: absolute;
	left: 0.3rem;
	right: 0.3rem;
	height: 2px;
	background-color: currentColor;
	content: '';
}

.menu-toggle-icon {
	top: 50%;
	margin-top: -1px;
}

.menu-toggle-icon::before {
	top: -0.9rem;
}

.menu-toggle-icon::after {
	bottom: -0.9rem;
}

#navigation-close {
	display: none;
	position: fixed;
	z-index: 10000;
	top: 1rem;
	right: 2rem;
	margin: 0;
	padding: 0;
	background: transparent;
	border: 0;
	font-size: 3rem;
	line-height: 3rem;
	color: #fff;
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
}

/**
 * 6.0 Content
 * -----------------------------------------------------------------------------
 */
.content-area {
	white-space: nowrap;
}

.hentry,
.page-content {
	display: inline-block;
	vertical-align: top;
	white-space: normal;
	word-wrap: break-word;
}

body.single .hentry,
body.page .hentry,
.page-content {
	width: 67.391304348%;
	padding-right: 2rem;
}

.image_link:hover {
	border-bottom: none;
}

/**
 * 6.1 Post Thumbnail
 * -----------------------------------------------------------------------------
 */
.post-thumbnail {
	display: inline-block;
	vertical-align: top;
}

body.home .post-thumbnail {
	height: 100%;
}

/**
 * 6.2 Entry Header
 * -----------------------------------------------------------------------------
 */
body.single .entry-header,
body.page .entry-header,
.page-header {
	margin-bottom: 2rem;
}

.entry-title,
.page-title {
	margin: 0;
	font-size: 1.8rem;
	font-weight: 700;
	line-height: 2.8rem;
	word-wrap: break-word;
	white-space: pre-wrap;
}

/**
 * 6.4 Entry Content
 * -----------------------------------------------------------------------------
 */
.entry-content > p:last-child {
	margin-bottom: 0;
}

.entry-content a,
.page-content a {
	border-bottom: 1px solid;
}

/**
 * 6.5 Gallery
 * -----------------------------------------------------------------------------
 */
.gallery {
	display: inline-block;
	width: auto;
	height: 100%;
	margin: 0;
	list-style-type: none;
}

.gallery-item {
	display: inline-block;
	width: auto;
	height: 100%;
	padding-right: 2rem;
	vertical-align: top;
	white-space: normal;
}

.gallery-item img {
	display: block;
	width: auto;
	height: 100%;
	height: calc(100% - 28px);
}

/**
 * 6.7 Post/Image/Paging Navigation
 * -----------------------------------------------------------------------------
 */
.paging-navigation {
	display: none;
}

#image-navigation {
	text-align: right;
}

#image-navigation a:first-of-type {
	float: left;
}

/**
 * 6.8 Attachments
 * -----------------------------------------------------------------------------
 */
.entry-attachment .attachment {
	margin-bottom: 2.8rem;
}

/**
 * 6.9 Archives
 * -----------------------------------------------------------------------------
 */

/* No specific styles are required for this section. */

/**
 * 6.10 Contributor Page
 * -----------------------------------------------------------------------------
 */

/* No specific styles are required for this section. */

/**
 * 6.11 404 Page
 * -----------------------------------------------------------------------------
 */

.error404 .page-content {
	/*padding-top: 0;*/
}

.error404 .page-content .search-form {
	/*margin-bottom: 24px;*/
}

/**
 * 6.12 Full-width
 * -----------------------------------------------------------------------------
 */

/* No specific styles are required for this section. */

/**
 * 6.13 Singular
 * -----------------------------------------------------------------------------
 */

/* No specific styles are required for this section. */

/**
 * 6.14 Comments
 * -----------------------------------------------------------------------------
 */

/* No specific styles are required for this section. */


/**
 * 7.0 Sidebars
 * -----------------------------------------------------------------------------
 */

/**
 * 7.1 Widgets
 * -----------------------------------------------------------------------------
 */

/**
 * 7.2 Content Sidebar Widgets
 * -----------------------------------------------------------------------------
 */

/**
 * 8.0 Footer
 * -----------------------------------------------------------------------------
 */
.site-footer {
	position: fixed;
	bottom: 0;
	left: 0;
	width: 250px;
	padding: 0 3rem 4rem;
	color: #999;
}

body.admin-bar .site-footer {
	bottom: 32px;
}

/* モバイルメニュー内 footer リンク（デスクトップでは非表示） */
.footer-nav-mobile {
	display: none;
}

.footer-nav {
	margin-bottom: 0.8rem;
}
.footer-nav a {
	display: block;
	width: fit-content;
	font-size: 1rem;
	color: #999;
	letter-spacing: 0.08em;
	text-decoration: none;
	line-height: 2;
}
.footer-nav a:hover {
	color: #ccc;
}

/**
 * 9.0 Featured Content
 * -----------------------------------------------------------------------------
 */

/* No specific styles are required for this section. */

/**
 * 10.0 Multisite
 * -----------------------------------------------------------------------------
 */

/* No specific styles are required for this section. */

/**
 * 11.0 Media Queries
 * -----------------------------------------------------------------------------
 */

@-ms-viewport {
	width: device-width;
}

@viewport {
	width: device-width;
}

@media (min-width: 951px) {
	.site {
		height: 100%;
		padding: 4rem 2rem 4rem 25rem;
	}

	.site-header {
		position: fixed;
		top: 0;
		left: 0;
		width: 250px;
		height: 100%;
		padding: 4rem 3rem 0;
	}

	body.admin-bar .site-header {
		top: 32px;
	}

	.primary-navigation {
		padding: 2rem 0 4rem;
	}

	#top-right-menu {
		margin-top: 2rem;
	}

	.nav-menu li {
		opacity: 1;
	}

	.site-navigation > div > ul > li.menu-item-has-children {
		margin-top: 2rem;
	}

	.site-navigation > div > ul > li.menu-item-has-children > a {
		font-weight: 700;
	}

	.site-navigation > div > ul ul ul {
		padding-left: 2rem;
	}

	.current-menu-item > a {
		font-weight: 700;
	}

	#main {
		height: 100%;
	}

	body.home .hentry {
		height: 100%;
		padding-right: 2rem;
	}

	body.home .hentry > a {
		display: inline-block;
		height: calc(100% - 28px);
	}

	body.home .hentry img {
		height: 100%;
		width: auto;
	}

	body.single .hentry {
		padding-bottom: 4rem;
		max-width: 620px;
	}

	body.page .hentry,
	.page-content {
		padding-bottom: 4rem;
		max-width: 620px;
	}

	.gallery-animated img {
		cursor: pointer;
	}
}

@media (max-width: 950px) {
	.site-header {
		position: relative;            /* .menu-toggle の基準点 */
		height: auto !important;
		padding: 1rem 2rem 3rem;
		overflow: hidden;              /* .screen-reader-text テキスト漏れ防止 */
	}

	#header-helper {
		display: none;
	}

	.site-title {
		padding-right: 4rem;
	}

	.menu-toggle {
		display: block;
	}

	.menu-toggle.hidden {
		display: none;
	}

	/* ── モバイルナビ: 全画面オーバーレイ ── */
	.primary-navigation {
		position: fixed;
		z-index: 9999;
		inset: 0;                      /* top/right/bottom/left: 0 */
		width: 100%;
		height: 100dvh;                /* 動的ビューポート高さ（アドレスバー考慮） */
		background-color: #646464;
		overflow-y: auto;
		/* 非表示状態 */
		opacity: 0;
		pointer-events: none;
		transition: opacity 0.25s ease;
		/* メニュー項目を中央揃え */
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		text-align: center;
		padding: 5rem 2rem 3rem;       /* 上部に閉じるボタン分の余白 */
	}

	.toggled-on .primary-navigation {
		opacity: 1;
		pointer-events: auto;
	}

	#top-right-menu {
		margin-top: 2.5rem;
	}

	.site-navigation > div > ul > li.menu-item-has-children {
		margin-top: 2rem;
	}

	.site-navigation > div > ul > li.menu-item-has-children > a {
		font-weight: 700;
	}

	.footer-nav-mobile {
		display: flex;
		flex-direction: column;
		align-items: center;
		gap: 0.6rem;
		margin-top: 3rem;
	}
	.footer-nav-mobile a {
		font-size: 1.1rem;
		letter-spacing: 0.08em;
		color: rgba(255, 255, 255, 0.5);
		text-decoration: none;
		width: fit-content;
	}
	.footer-nav-mobile a:hover {
		color: rgba(255, 255, 255, 0.85);
		border-bottom-color: rgba(255, 255, 255, 0.85);
	}

	/* コンテンツは動かさない（旧ドロワー方式を廃止） */
	#wrapper {
		position: static;
	}

	/* 旧ドロワー: .toggled-on でコンテンツを右にずらす挙動を無効化 */
	.toggled-on .site {
		left: 0;
		height: auto;
	}
	.toggled-on .site-footer {
		display: block;
	}

	/* メニュー展開中は背景スクロールをロック */
	body.toggled-on {
		overflow: hidden;
	}

	.primary-navigation a {
		font-size: 2.2rem;
		line-height: 3.5rem;
		color: #fff;
	}

	.primary-navigation a:hover {
		border-bottom: 1px solid #fff;
	}

	.primary-navigation a:focus-visible {
		outline: 2px solid #fff;
		outline-offset: 3px;
		border-radius: 1px;
		border-bottom: none;
	}

	.toggled-on #navigation-close {
		display: block;
	}

#main {
	width: 100%;
	padding: 0 2rem;
}

body.single #primary,
body.page #main-content {
	padding-left: 20.689655172%;
}

body.home .hentry,
body.home .post-thumbnail,
body.home .hentry img {
	height: auto;
	width: 100% !important;
}

body.home .hentry {
	display: block;
	padding-bottom: 2rem;
}

body.home .hentry:last-of-type {
	padding-bottom: 0;
}

body.single #primary,
body.page #main-content {
	padding-left: 0;
}

body.single .hentry,
body.page .hentry,
.page-content {
	width: 100%;
	padding-right: 0;
}

.post-thumbnail {
	display: block;
}

.gallery {
	display: block;
	margin-top: 2.8rem;
}

.gallery-item {
	display: block;
	width: 100% !important;
	height: auto;
	padding: 0 0 2rem;
}

.gallery-item:last-child {
	padding-bottom: 0;
}

.gallery-item img {
	width: 100% !important;
	height: auto;
}

.site-footer {
	position: static;
	width: 100%;
	padding: 3rem 2rem 2rem;
}

body.admin-bar .site-footer {
	bottom: auto;
}

}

/**

12.0 Print
*/

@media print {
body {
/* Brute force since user agents all print differently. */
background: none !important;
}
}

/* mw-wp-form のスタイルは css/form.css に分離。
 * functions.php 側で「フォーム shortcode を含むページのみ」で
 * enqueue するため、ここには含めない。 */

/* ─── スクリーンリーダーテキスト ────────────────────────────
   functions.php のインライン <style> から移行
   ─────────────────────────────────────────────────────────── */
.screen-reader-text {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
	clip: rect(0 0 0 0) !important;
	clip-path: inset(50%) !important;
	white-space: nowrap !important;
	border: 0 !important;
	padding: 0 !important;
	margin: -1px !important;
}
a.screen-reader-text:focus {
	position: fixed !important;
	width: auto !important;
	height: auto !important;
	clip: auto !important;
	clip-path: none !important;
	margin: 0 !important;
}

/* ─── iOS タップハイライト非表示 ────────────────────────────
   functions.php のインライン <style> から移行
   ─────────────────────────────────────────────────────────── */
.menu-toggle,
#navigation-close,
a,
button { -webkit-tap-highlight-color: transparent; }
/* マウスクリック時はリングを消す、キーボード操作時は表示 */
.menu-toggle:focus:not(:focus-visible),
#navigation-close:focus:not(:focus-visible) { outline: none; box-shadow: none; }
.menu-toggle:focus-visible { outline: 2px solid #222223; outline-offset: 3px; }
#navigation-close:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

/* ─── カスタマイザー「追加CSS」から移行 ───────────────────── */
.entry-content h2 { font-size: 1.8rem; }

/* =============================================
   Page ID 21 - picture / img スタイル
   (カスタマイザー「追加CSS」より移行)
   PC表示では左揃え
============================================= */
@media (min-width: 768px) {
  .page-id-21 .entry-content picture {
    display: block;
    width: 50%;
    margin: 0;
  }
  .page-id-21 .entry-content picture img {
    width: 100%;
    height: auto;
  }
}

/* ─── アニメーション軽減設定 (prefers-reduced-motion) ───────────
   前庭感覚障がい・てんかん等でアニメーションをオフにしているユーザー向け
   ─────────────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
}

/* ─── 印刷スタイル ───────────────────────────────────────────── */
@media print {
	#masthead,
	.site-footer,
	#infinite-loader,
	.menu-toggle,
	#navigation-close,
	.paging-navigation {
		display: none !important;
	}
	body {
		font-size: 12pt;
		color: #000;
		background: #fff;
	}
	a {
		color: #000;
		text-decoration: underline;
	}
	a[href^="http"]::after,
	a[href^="https"]::after {
		content: " (" attr(href) ")";
		font-size: 0.8em;
		word-break: break-all;
	}
	.entry-content {
		max-width: 100%;
	}
}