/*
Theme Name: To美You
Theme URI: https://www.tobiyou.com/
Description: To美You（トゥービーユー）専用のシンプルな白黒ブログテーマ。スマホでの読みやすさを優先しています。記事本文のデザインは assets/css/content.css にまとめています。
Author: To美You
Version: 1.2.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: tobiyou
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

/* =========================================================
   目次
   0. 設定（色・フォント・幅）← デザインを変えるときはまずここ
   1. リセット・基本
   2. レイアウト
   3. ヘッダー・メニュー
   4. トップページ（ヒーロー・コンセプト）
   5. 記事一覧（カード・カテゴリータブ・ページ送り）
   6. 記事ページ（タイトル周り・シェア・前後記事・関連記事）
   7. アーカイブ・検索・404
   8. フッター
   9. パーツ（パンくず・検索フォーム・ボタン・トップへ戻る）
   10. お問い合わせフォーム
   ※記事本文の見出し・ボックスなどは assets/css/content.css
   ========================================================= */


/* ---------------------------------------------------------
   0. 設定
   --------------------------------------------------------- */
:root {
	/* 色 */
	--c-text: #111111;      /* 文字・黒 */
	--c-sub: #6b6b6b;       /* 日付など補足の文字 */
	--c-line: #e2e2e2;      /* 細い線 */
	--c-bg: #ffffff;        /* 背景 */
	--c-bg-soft: #f5f5f5;   /* グレーの背景 */
	--c-black: #111111;     /* 黒帯・ボタン */

	/* フォント */
	--f-sans: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", YuGothic, Meiryo, sans-serif;
	--f-serif: "Hiragino Mincho ProN", "Yu Mincho", YuMincho, "Noto Serif JP", serif;
	--f-en: "Helvetica Neue", Arial, sans-serif;

	/* 幅 */
	--w-content: 760px;     /* 記事本文の幅 */
	--w-wide: 1140px;       /* 一覧などの幅 */
	--gutter: 20px;         /* スマホの左右余白 */

	/* ヘッダーの高さ（スマホ） */
	--h-header: 60px;
}

@media (min-width: 768px) {
	:root {
		--gutter: 40px;
	}
}


/* ---------------------------------------------------------
   1. リセット・基本
   --------------------------------------------------------- */
*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--h-header) + 16px);
}

body {
	margin: 0;
	background: var(--c-bg);
	color: var(--c-text);
	font-family: var(--f-sans);
	font-size: 16px;
	line-height: 1.8;
	letter-spacing: 0.02em;
	-webkit-font-smoothing: antialiased;
	overflow-wrap: anywhere;
	word-break: normal;
	line-break: strict;
}

body.is-menu-open {
	overflow: hidden;
}

img,
video,
iframe {
	max-width: 100%;
	height: auto;
	vertical-align: middle;
}

a {
	color: inherit;
	text-decoration: none;
	transition: opacity 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}

@media (hover: hover) {
	a:hover {
		opacity: 0.65;
	}
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
ul,
ol,
figure {
	margin: 0;
}

ul,
ol {
	padding: 0;
	list-style: none;
}

button {
	font: inherit;
	color: inherit;
	cursor: pointer;
}

:focus-visible {
	outline: 2px solid var(--c-black);
	outline-offset: 3px;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.skip-link {
	position: absolute;
	top: -100px;
	left: 8px;
	z-index: 1000;
	padding: 8px 16px;
	background: var(--c-black);
	color: #fff;
}

.skip-link:focus {
	top: 8px;
}


/* ---------------------------------------------------------
   2. レイアウト
   --------------------------------------------------------- */
.l-wide {
	width: 100%;
	max-width: calc(var(--w-wide) + var(--gutter) * 2);
	padding-right: var(--gutter);
	padding-left: var(--gutter);
	margin-right: auto;
	margin-left: auto;
}

.l-content {
	width: 100%;
	max-width: calc(var(--w-content) + var(--gutter) * 2);
	padding-right: var(--gutter);
	padding-left: var(--gutter);
	margin-right: auto;
	margin-left: auto;
}

.site-main {
	display: block;
	padding-bottom: 80px;
}

/* セクション見出し（英字＋日本語） */
.section-title {
	margin: 0 0 32px;
	text-align: center;
}

.section-title__en {
	display: block;
	margin-bottom: 6px;
	font-family: var(--f-en);
	font-size: 11px;
	letter-spacing: 0.3em;
	color: var(--c-sub);
}

.section-title__ja {
	display: block;
	font-family: var(--f-serif);
	font-size: 24px;
	font-weight: 600;
	letter-spacing: 0.12em;
}

@media (min-width: 768px) {
	.section-title {
		margin-bottom: 44px;
	}

	.section-title__ja {
		font-size: 28px;
	}
}


/* ---------------------------------------------------------
   3. ヘッダー・メニュー
   --------------------------------------------------------- */
.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(255, 255, 255, 0.96);
	border-bottom: 1px solid var(--c-line);
	backdrop-filter: blur(6px);
}

.admin-bar .site-header {
	top: 46px;
}

@media (min-width: 783px) {
	.admin-bar .site-header {
		top: 32px;
	}
}

@media (max-width: 600px) {
	.admin-bar .site-header {
		top: 0;
	}
}

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: var(--h-header);
}

.site-branding {
	display: flex;
	align-items: center;
	margin: 0;
	font-size: inherit;
	line-height: 1;
}

.site-branding a {
	display: block;
}

.site-branding img {
	display: block;
	width: auto;
	max-height: 36px;
}

.site-branding__text {
	font-family: var(--f-serif);
	font-size: 22px;
	font-weight: 600;
	letter-spacing: 0.08em;
}

/* ハンバーガーボタン（スマホ） */
.menu-toggle {
	position: relative;
	z-index: 120;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 6px;
	width: 44px;
	height: 44px;
	margin-right: -10px;
	padding: 0;
	background: transparent;
	border: none;
}

.menu-toggle__bar {
	display: block;
	width: 22px;
	height: 1px;
	background: var(--c-black);
	transition: transform 0.3s ease, opacity 0.3s ease;
}

.is-menu-open .menu-toggle__bar:nth-child(1) {
	transform: translateY(3.5px) rotate(45deg);
}

.is-menu-open .menu-toggle__bar:nth-child(2) {
	transform: translateY(-3.5px) rotate(-45deg);
}

/* スマホのメニュー（全画面） */
.global-nav {
	position: fixed;
	inset: 0;
	z-index: 110;
	display: flex;
	flex-direction: column;
	padding: calc(var(--h-header) + 24px) var(--gutter) 40px;
	overflow-y: auto;
	background: #fff;
	visibility: hidden;
	opacity: 0;
	transition: opacity 0.3s ease, visibility 0.3s ease;
}

.is-menu-open .global-nav {
	visibility: visible;
	opacity: 1;
}

.global-nav__list {
	border-top: 1px solid var(--c-line);
}

.global-nav__list > li {
	border-bottom: 1px solid var(--c-line);
}

.global-nav__list a {
	display: block;
	padding: 18px 4px;
	font-family: var(--f-serif);
	font-size: 17px;
	letter-spacing: 0.1em;
}

.global-nav__list .sub-menu a {
	padding: 10px 4px 10px 1.5em;
	font-family: var(--f-sans);
	font-size: 14px;
}

.global-nav__search {
	margin-top: 32px;
}

/* PC：ロゴ中央・メニュー下 */
@media (min-width: 992px) {
	:root {
		--h-header: 84px;
	}

	.site-header {
		position: relative;
		background: #fff;
	}

	.admin-bar .site-header {
		top: 0;
	}

	.site-header__inner {
		justify-content: center;
		height: auto;
		padding-top: 30px;
		padding-bottom: 22px;
	}

	.site-branding img {
		max-height: 56px;
	}

	.site-branding__text {
		font-size: 30px;
	}

	.menu-toggle {
		display: none;
	}

	.global-nav {
		position: static;
		display: block;
		padding: 0;
		overflow: visible;
		background: transparent;
		visibility: visible;
		opacity: 1;
	}

	.global-nav__list {
		display: flex;
		justify-content: center;
		border-top: none;
	}

	.global-nav__list > li {
		position: relative;
		border-bottom: none;
	}

	.global-nav__list > li > a {
		padding: 4px 22px 18px;
		font-size: 14px;
		letter-spacing: 0.14em;
	}

	.global-nav__list .sub-menu {
		position: absolute;
		top: 100%;
		left: 50%;
		z-index: 10;
		min-width: 200px;
		padding: 8px 0;
		background: #fff;
		border: 1px solid var(--c-line);
		visibility: hidden;
		opacity: 0;
		transform: translateX(-50%);
		transition: opacity 0.2s ease, visibility 0.2s ease;
	}

	.global-nav__list li:hover > .sub-menu,
	.global-nav__list li:focus-within > .sub-menu {
		visibility: visible;
		opacity: 1;
	}

	.global-nav__list .sub-menu a {
		padding: 8px 20px;
		white-space: nowrap;
	}

	.global-nav__search {
		display: none;
	}
}


/* ---------------------------------------------------------
   4. トップページ
   --------------------------------------------------------- */
.hero {
	padding: 64px 0 56px;
	text-align: center;
	border-bottom: 1px solid var(--c-line);
}

.hero__label {
	display: inline-block;
	margin-bottom: 20px;
	font-family: var(--f-en);
	font-size: 11px;
	letter-spacing: 0.35em;
	color: var(--c-sub);
}

.hero__title {
	font-family: var(--f-serif);
	font-size: 22px;
	font-weight: 600;
	line-height: 1.8;
	letter-spacing: 0.14em;
}

.hero__line {
	display: block;
	width: 1px;
	height: 40px;
	margin: 28px auto 0;
	background: var(--c-black);
}

@media (min-width: 768px) {
	.hero {
		padding: 110px 0 96px;
	}

	.hero__title {
		font-size: 32px;
	}

	.hero__line {
		height: 56px;
		margin-top: 40px;
	}
}

/* To美Youって？ */
.about {
	padding: 64px 0;
	border-bottom: 1px solid var(--c-line);
}

.about__lead {
	max-width: 640px;
	margin: 0 auto 40px;
	font-size: 15px;
	line-height: 2.1;
	text-align: center;
}

.concepts {
	display: grid;
	gap: 16px;
}

.concept {
	padding: 28px 24px;
	border: 1px solid var(--c-black);
}

.concept__num {
	display: block;
	margin-bottom: 10px;
	font-family: var(--f-en);
	font-size: 12px;
	letter-spacing: 0.25em;
	color: var(--c-sub);
}

.concept__title {
	margin-bottom: 10px;
	font-family: var(--f-serif);
	font-size: 18px;
	font-weight: 600;
	letter-spacing: 0.08em;
}

.concept__text {
	font-size: 14px;
	line-height: 1.95;
}

@media (min-width: 768px) {
	.about {
		padding: 100px 0;
	}

	.about__lead {
		margin-bottom: 56px;
		font-size: 16px;
	}

	.concepts {
		grid-template-columns: repeat(3, 1fr);
		gap: 24px;
	}

	.concept {
		padding: 36px 30px;
	}
}


/* ---------------------------------------------------------
   5. 記事一覧
   --------------------------------------------------------- */
.post-list-section {
	padding: 64px 0 0;
}

@media (min-width: 768px) {
	.post-list-section {
		padding-top: 100px;
	}
}

/* カテゴリータブ */
.cat-tabs {
	display: flex;
	gap: 8px;
	margin: 0 calc(var(--gutter) * -1) 28px;
	padding: 0 var(--gutter) 4px;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
}

.cat-tabs::-webkit-scrollbar {
	display: none;
}

.cat-tabs a {
	flex: 0 0 auto;
	display: block;
	padding: 8px 18px;
	font-size: 13px;
	letter-spacing: 0.08em;
	white-space: nowrap;
	border: 1px solid var(--c-black);
}

.cat-tabs a.is-current {
	background: var(--c-black);
	color: #fff;
}

@media (min-width: 768px) {
	.cat-tabs {
		justify-content: center;
		margin: 0 0 44px;
		padding: 0;
		overflow: visible;
	}
}

/* カード：スマホは横並び（写真左・文字右） */
.post-grid {
	display: grid;
	gap: 0;
	border-top: 1px solid var(--c-line);
}

.card {
	border-bottom: 1px solid var(--c-line);
}

.card__link {
	display: grid;
	grid-template-columns: 38% 1fr;
	gap: 14px;
	align-items: start;
	padding: 18px 0;
}

.card__thumb {
	position: relative;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: var(--c-bg-soft);
}

.card__thumb img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s ease;
}

.card__noimage {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	font-family: var(--f-serif);
	font-size: 14px;
	letter-spacing: 0.1em;
	color: var(--c-sub);
}

.card__cat {
	display: inline-block;
	margin-bottom: 6px;
	padding: 1px 8px;
	font-size: 11px;
	letter-spacing: 0.08em;
	line-height: 1.7;
	color: #fff;
	background: var(--c-black);
}

.card__title {
	display: -webkit-box;
	overflow: hidden;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.65;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
}

.card__date {
	display: block;
	margin-top: 6px;
	font-family: var(--f-en);
	font-size: 11px;
	letter-spacing: 0.1em;
	color: var(--c-sub);
}

.card__excerpt {
	display: none;
}

@media (hover: hover) {
	.card__link:hover {
		opacity: 1;
	}

	.card__link:hover .card__thumb img {
		transform: scale(1.04);
	}

	.card__link:hover .card__title {
		text-decoration: underline;
		text-underline-offset: 3px;
	}
}

/* タブレット以上：縦型カードのグリッド */
@media (min-width: 600px) {
	.post-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 48px 28px;
		border-top: none;
	}

	.card {
		border-bottom: none;
	}

	.card__link {
		display: block;
		padding: 0;
	}

	.card__thumb {
		aspect-ratio: 16 / 10;
		margin-bottom: 16px;
	}

	.card__title {
		font-size: 16px;
		-webkit-line-clamp: 2;
	}

	.card__excerpt {
		display: -webkit-box;
		margin-top: 8px;
		overflow: hidden;
		font-size: 13px;
		line-height: 1.8;
		color: var(--c-sub);
		-webkit-line-clamp: 2;
		-webkit-box-orient: vertical;
	}
}

@media (min-width: 992px) {
	.post-grid {
		grid-template-columns: repeat(3, 1fr);
		gap: 56px 32px;
	}
}

.no-posts {
	padding: 40px 0;
	text-align: center;
	color: var(--c-sub);
}

/* ページ送り */
.pagination {
	margin-top: 48px;
}

.pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
}

.pagination .page-numbers {
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	height: 44px;
	padding: 0 12px;
	font-family: var(--f-en);
	font-size: 14px;
	border: 1px solid var(--c-line);
}

.pagination .page-numbers.current {
	color: #fff;
	background: var(--c-black);
	border-color: var(--c-black);
}

.pagination .page-numbers.dots {
	border: none;
	min-width: auto;
}

@media (min-width: 768px) {
	.pagination {
		margin-top: 72px;
	}
}


/* ---------------------------------------------------------
   6. 記事ページ
   --------------------------------------------------------- */
.entry-header {
	padding-top: 24px;
	margin-bottom: 24px;
}

.entry-cats {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-bottom: 14px;
}

.entry-cats a {
	display: inline-block;
	padding: 2px 10px;
	font-size: 12px;
	letter-spacing: 0.08em;
	color: #fff;
	background: var(--c-black);
}

.entry-title {
	font-family: var(--f-serif);
	font-size: 22px;
	font-weight: 600;
	line-height: 1.6;
	letter-spacing: 0.06em;
}

.entry-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 16px;
	margin-top: 16px;
	font-size: 12px;
	letter-spacing: 0.06em;
	color: var(--c-sub);
}

.entry-meta time {
	font-family: var(--f-en);
}

.entry-thumbnail {
	margin-bottom: 32px;
}

.entry-thumbnail img {
	display: block;
	width: 100%;
	height: auto;
}

@media (min-width: 768px) {
	.entry-header {
		padding-top: 48px;
		margin-bottom: 36px;
	}

	.entry-title {
		font-size: 28px;
	}

	.entry-thumbnail {
		margin-bottom: 48px;
	}
}

/* タグ */
.entry-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 48px;
}

.entry-tags a {
	display: inline-block;
	padding: 4px 12px;
	font-size: 12px;
	border: 1px solid var(--c-line);
}

.entry-tags a::before {
	content: "#";
	margin-right: 2px;
	color: var(--c-sub);
}

/* シェア */
.share {
	margin-top: 48px;
	padding-top: 28px;
	text-align: center;
	border-top: 1px solid var(--c-line);
}

.share__title {
	margin-bottom: 14px;
	font-family: var(--f-en);
	font-size: 11px;
	letter-spacing: 0.3em;
	color: var(--c-sub);
}

.share__list {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 8px;
}

.share__list a {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 46px;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.06em;
	border: 1px solid var(--c-black);
}

@media (hover: hover) {
	.share__list a:hover {
		color: #fff;
		background: var(--c-black);
		opacity: 1;
	}
}

/* 記事下ウィジェット */
.after-entry {
	margin-top: 48px;
}

/* 前後の記事 */
.post-nav {
	display: grid;
	grid-template-columns: 1fr 1fr;
	margin-top: 48px;
	border-top: 1px solid var(--c-line);
	border-bottom: 1px solid var(--c-line);
}

.post-nav__item {
	padding: 18px 0;
}

.post-nav__item--next {
	padding-left: 16px;
	text-align: right;
	border-left: 1px solid var(--c-line);
}

.post-nav__item--prev {
	padding-right: 16px;
}

.post-nav__label {
	display: block;
	margin-bottom: 6px;
	font-family: var(--f-en);
	font-size: 11px;
	letter-spacing: 0.2em;
	color: var(--c-sub);
}

.post-nav__title {
	display: -webkit-box;
	overflow: hidden;
	font-size: 13px;
	line-height: 1.7;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
}

/* 関連記事 */
.related {
	margin-top: 72px;
	padding-top: 64px;
	border-top: 1px solid var(--c-line);
}

@media (min-width: 768px) {
	.related {
		margin-top: 100px;
		padding-top: 88px;
	}
}

/* 固定ページ */
.page-header {
	padding: 48px 0 32px;
	text-align: center;
}

.page-title {
	font-family: var(--f-serif);
	font-size: 24px;
	font-weight: 600;
	letter-spacing: 0.12em;
}

@media (min-width: 768px) {
	.page-header {
		padding: 80px 0 56px;
	}

	.page-title {
		font-size: 30px;
	}
}

/* コメント */
.comments {
	margin-top: 64px;
}

.comments__title {
	margin-bottom: 24px;
	font-family: var(--f-serif);
	font-size: 18px;
}

.comment-list .comment {
	padding: 16px 0;
	border-bottom: 1px solid var(--c-line);
}

.comment-list .children {
	padding-left: 1.5em;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
	width: 100%;
	padding: 10px 12px;
	font: inherit;
	border: 1px solid var(--c-line);
	border-radius: 0;
}


/* ---------------------------------------------------------
   7. アーカイブ・検索・404
   --------------------------------------------------------- */
.archive-header {
	padding: 48px 0 32px;
	text-align: center;
}

.archive-header__label {
	display: block;
	margin-bottom: 8px;
	font-family: var(--f-en);
	font-size: 11px;
	letter-spacing: 0.3em;
	color: var(--c-sub);
}

.archive-header__title {
	font-family: var(--f-serif);
	font-size: 24px;
	font-weight: 600;
	letter-spacing: 0.1em;
}

.archive-header__desc {
	max-width: 640px;
	margin: 16px auto 0;
	font-size: 14px;
	color: var(--c-sub);
}

@media (min-width: 768px) {
	.archive-header {
		padding: 80px 0 56px;
	}

	.archive-header__title {
		font-size: 30px;
	}
}

.not-found {
	padding: 40px 0;
	text-align: center;
}

.not-found p {
	margin-bottom: 28px;
}

.not-found .search-form {
	max-width: 480px;
	margin: 0 auto 32px;
}


/* ---------------------------------------------------------
   8. フッター
   --------------------------------------------------------- */
.site-footer {
	padding: 56px 0 24px;
	color: #fff;
	background: var(--c-black);
}

.site-footer a {
	color: #fff;
}

.footer-grid {
	display: grid;
	gap: 40px;
}

.footer-brand__logo {
	display: inline-block;
	margin-bottom: 12px;
	font-family: var(--f-serif);
	font-size: 24px;
	font-weight: 600;
	letter-spacing: 0.08em;
}

.footer-brand__logo img {
	display: block;
	width: auto;
	max-height: 44px;
	filter: invert(1) grayscale(1) brightness(2);
}

.footer-brand__text {
	font-size: 13px;
	line-height: 1.9;
	color: rgba(255, 255, 255, 0.7);
}

.footer-heading {
	margin-bottom: 12px;
	font-family: var(--f-en);
	font-size: 11px;
	letter-spacing: 0.3em;
	color: rgba(255, 255, 255, 0.6);
}

.footer-list li {
	border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-list a {
	display: block;
	padding: 12px 0;
	font-size: 14px;
	letter-spacing: 0.06em;
}

.footer-search .search-form {
	border-color: rgba(255, 255, 255, 0.4);
}

.footer-search .search-form__input {
	color: #fff;
	background: transparent;
}

.footer-search .search-form__input::placeholder {
	color: rgba(255, 255, 255, 0.5);
}

.footer-search .search-form__button {
	color: var(--c-black);
	background: #fff;
}

.copyright {
	margin-top: 48px;
	padding-top: 20px;
	font-family: var(--f-en);
	font-size: 11px;
	letter-spacing: 0.12em;
	text-align: center;
	color: rgba(255, 255, 255, 0.6);
	border-top: 1px solid rgba(255, 255, 255, 0.15);
}

@media (min-width: 768px) {
	.site-footer {
		padding-top: 80px;
	}

	.footer-grid {
		grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
		gap: 48px;
	}
}


/* ---------------------------------------------------------
   9. パーツ
   --------------------------------------------------------- */
/* パンくず */
.breadcrumb {
	padding-top: 14px;
	font-size: 11px;
	color: var(--c-sub);
}

.breadcrumb ol {
	display: flex;
	gap: 0;
	overflow-x: auto;
	white-space: nowrap;
	scrollbar-width: none;
}

.breadcrumb ol::-webkit-scrollbar {
	display: none;
}

.breadcrumb li:not(:last-child)::after {
	content: "/";
	margin: 0 8px;
	color: var(--c-line);
}

.breadcrumb li:last-child {
	overflow: hidden;
	text-overflow: ellipsis;
}

@media (min-width: 768px) {
	.breadcrumb {
		padding-top: 20px;
		font-size: 12px;
	}
}

/* 検索フォーム */
.search-form {
	display: flex;
	border: 1px solid var(--c-black);
}

.search-form__input {
	flex: 1 1 auto;
	min-width: 0;
	height: 48px;
	padding: 0 14px;
	font: inherit;
	font-size: 16px; /* iPhoneで拡大されないよう16px */
	border: none;
	border-radius: 0;
	-webkit-appearance: none;
	appearance: none;
}

.search-form__input:focus {
	outline: none;
}

.search-form__button {
	flex: 0 0 auto;
	padding: 0 20px;
	font-size: 14px;
	letter-spacing: 0.1em;
	color: #fff;
	background: var(--c-black);
	border: none;
	border-radius: 0;
}

/* ボタン */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 240px;
	min-height: 52px;
	padding: 0 32px;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.12em;
	color: #fff;
	background: var(--c-black);
	border: 1px solid var(--c-black);
}

@media (hover: hover) {
	.btn:hover {
		color: var(--c-black);
		background: #fff;
		opacity: 1;
	}
}

.btn-center {
	margin-top: 48px;
	text-align: center;
}

/* トップへ戻る */
.to-top {
	position: fixed;
	right: 14px;
	bottom: 14px;
	z-index: 90;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	font-family: var(--f-en);
	font-size: 10px;
	letter-spacing: 0.1em;
	color: #fff;
	background: var(--c-black);
	border: 1px solid rgba(255, 255, 255, 0.4);
	visibility: hidden;
	opacity: 0;
	transition: opacity 0.3s ease, visibility 0.3s ease;
}

.to-top.is-visible {
	visibility: visible;
	opacity: 1;
}

.to-top svg {
	width: 14px;
	height: 14px;
}

/* WordPress標準の配置クラス */
.alignleft {
	float: left;
	margin: 0.4em 1.5em 1em 0;
}

.alignright {
	float: right;
	margin: 0.4em 0 1em 1.5em;
}

.aligncenter {
	display: block;
	margin-right: auto;
	margin-left: auto;
}

.wp-caption-text,
.gallery-caption {
	font-size: 12px;
	color: var(--c-sub);
	text-align: center;
}

.sticky,
.bypostauthor {
	/* WordPressのチェック用クラス */
}


/* ---------------------------------------------------------
   10. お問い合わせフォーム（[tobiyou_form]）
   --------------------------------------------------------- */
.ty-form-wrap {
	margin: 2em 0;
}

.ty-form__row {
	margin-bottom: 24px;
}

.ty-form__label {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 8px;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.5;
}

.ty-form__req,
.ty-form__opt {
	display: inline-block;
	padding: 1px 7px;
	font-size: 11px;
	font-weight: 700;
	line-height: 1.6;
	letter-spacing: 0.06em;
}

.ty-form__req {
	color: #fff;
	background: var(--c-black);
}

.ty-form__opt {
	color: var(--c-sub);
	border: 1px solid var(--c-line);
}

.ty-form__input {
	display: block;
	width: 100%;
	min-height: 52px;
	padding: 12px 14px;
	font: inherit;
	font-size: 16px; /* iPhoneで拡大されないよう16px */
	line-height: 1.6;
	color: var(--c-text);
	background: #fff;
	border: 1px solid #bdbdbd;
	border-radius: 0;
	-webkit-appearance: none;
	appearance: none;
}

.ty-form__input:focus {
	border-color: var(--c-black);
	outline: 1px solid var(--c-black);
	outline-offset: 0;
}

.ty-form__input::placeholder {
	color: #a0a0a0;
}

.ty-form__textarea {
	min-height: 200px;
	resize: vertical;
}

.has-error .ty-form__input {
	border-color: #b3261e;
	background: #fff8f7;
}

.ty-form__error {
	margin: 6px 0 0 !important;
	font-size: 13px;
	line-height: 1.6;
	color: #b3261e !important;
}

.ty-form__agree label {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	font-size: 14px;
	line-height: 1.7;
	cursor: pointer;
}

.ty-form__agree input[type="checkbox"] {
	flex: 0 0 auto;
	width: 20px;
	height: 20px;
	margin: 2px 0 0;
	accent-color: var(--c-black);
}

.ty-form__note {
	margin: 0 0 20px !important;
	font-size: 13px;
	color: var(--c-sub) !important;
	text-align: center;
}

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

.ty-form__submit .btn {
	width: 100%;
	max-width: 360px;
	border-radius: 0;
}

.ty-form__hp {
	position: absolute !important;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.ty-form-alert {
	margin-bottom: 24px;
	padding: 14px 16px;
	font-size: 14px;
	line-height: 1.7;
	color: #b3261e;
	background: #fff8f7;
	border: 1px solid #b3261e;
}

.ty-form-thanks {
	padding: 36px 20px;
	text-align: center;
	border: 2px solid var(--c-black);
}

.ty-form-thanks p {
	margin: 0 0 1em !important;
	font-size: 15px;
	line-height: 1.9;
}

.ty-form-thanks__title {
	font-family: var(--f-serif);
	font-size: 20px !important;
	font-weight: 600;
	letter-spacing: 0.1em;
}

.ty-form-thanks__btn {
	margin: 24px 0 0 !important;
}

.entry-content .ty-form-thanks a.btn {
	color: #fff;
	text-decoration: none;
}

.ty-form__captcha {
	display: flex;
	justify-content: center;
}
