/* WordPress管理バー非表示 */
html[class] {
	margin-top: 0 !important;
}

#wpadminbar {
	display: none !important;
}

.logo-subtitle {
	position: absolute;
	top: 37px;
	left: 50%;
	transform: translateX(-50%);
	text-align: center;
	font-size: 9px;
	letter-spacing: 0.5em;
	line-height: 1;
	color: inherit;
	font-weight: 600;
	white-space: nowrap;
}

@media screen and (max-width: 500px) {
	.logo-subtitle {
		top: 37px;
	}
}

p {
	margin: 0;
}

ul {
	margin: 0;
	padding: 0;
}

[class*="prow"]>*,
[class*="mrow"]>* {
	text-align: center;
}

[class*="prow"],
[class*="mrow"] {
	justify-content: center !important;
}

article>div>section {
	text-align: center;
}

.center {
	text-align: center;
}

.plans {
	flex-wrap: wrap;
}

.plans li {
	flex: 1 1 50%;
}

.blog ul {
	justify-content: flex-start;
	align-items: stretch;
	flex-wrap: wrap;
}

.blog li {
	aspect-ratio: 1 / 1;
	box-sizing: border-box;
}

.blog li a {
	display: block;
	width: 100%;
	height: 100%;
	padding: 10px;
	box-sizing: border-box;
	color: #fff;
	text-decoration: none;
	writing-mode: vertical-rl;
	text-align: left;
	/* top alignment in vertical-rl */
	text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8), 0 0 2px rgba(0, 0, 0, 0.5);
	font-weight: bold;
	font-size: 80%;
	line-height: 1.4;
	letter-spacing: 0.05em;
}

.blog li a:hover {
	color: #fff;
	text-decoration: none;
	background: transparent;
}

.blog li .blog-tags {
	line-height: 1.1;
}

.blog li .blog-tags span {
	color: #ddd;
	font-size: 65%;
	display: inline-block;
	margin-right: 1em;
}

.blog li .blog-tags span::before {
	content: "#";
}

.detail {
	color: #000;
	margin-bottom: 0;
}

.detail h1,
.detail h2 {
	color: #fff;
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	align-items: flex-end;
	text-shadow: 2px 3px 6px rgba(0, 0, 0, 0.5);
	margin: 0;
	padding: 0;
	font-size: 1.5em;
	line-height: 1.4;
	overflow: hidden;
}

.hero-title {
	display: block;
	font-weight: bold;
	line-height: 1.4;
	font-size: 150%;
	writing-mode: vertical-rl;
	text-orientation: mixed;
	max-height: 100%;
	align-self: flex-end;
	text-align: left;
}

.tcy {
	-webkit-text-combine: horizontal;
	-ms-text-combine-horizontal: all;
	text-combine-upright: all;
}

.hero-lead {
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	writing-mode: vertical-rl;
	text-orientation: mixed;
	font-size: 80%;
	font-weight: normal;
	line-height: 1.6;
	text-align: left;
	opacity: 0.9;
	padding: 30px 0 30px 40px;
	box-sizing: border-box;
}

.hero-meta {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
	font-size: 50%;
}

.hero-meta time {
	font-size: 14px;
	font-family: 'Hind', sans-serif;
	letter-spacing: 0.05em;
	opacity: 0.9;
}

.hero-tag {
	display: inline-block;
	background: rgba(255, 255, 255, 0.2);
	padding: 3px 14px;
	border-radius: 999px;
	font-size: 13px;
}

.hero-tag a {
	color: #fff;
	text-decoration: none;
}

.detail-content {
	font-size: 200%;
	margin: 30px;
	text-align: center;
}

.insta-detail .detail-content {
	font-size: unset;
	margin: unset;
}

.detail-content .small {
	font-size: 60%;
	text-align: left;
}

.detail-content .wp-block-gallery,
.detail-content .wp-block-image img {
	display: none;
}

.detail-tags {
	text-align: center;
	font-size: 150%;
}

.detail-tags span {
	display: inline-block;
	background: rgba(119, 119, 119, 0.3);
	padding: 5px 25px 5px 15px;
	border-radius: 999px;
	margin: 0 10px 10px;
	color: #fff;
	text-align: left;
}


/*-----------------------------------------------------------------*/
/*PC*/
/*-----------------------------------------------------------------*/
@media screen and (min-width: 501px) {
	.blog li {
		flex: 0 0 20%;
	}

	.detail h1,
	.detail h2 {
		aspect-ratio: 16 / 9;
		box-sizing: border-box;
		padding: 30px 40px;
		overflow: hidden;
	}

	.hero-title {
		font-size: 150%;
		max-height: 100%;
	}
}


/*-----------------------------------------------------------------*/
/*MOBILE*/
/*-----------------------------------------------------------------*/
@media screen and (max-width: 500px) {
	#service+.row {
		flex-wrap: wrap;
	}

	#service+.row>* {
		flex: 0 0 50%;
	}

	.blog li {
		flex: 0 0 50%;
		max-width: 50%;
	}

	.detail h1,
	.detail h2 {
		aspect-ratio: 1 / 1;
		padding: 16px 20px;
		overflow: hidden;
	}

	.hero-title {
		font-size: 110%;
		max-height: 100%;
	}

	.hero-lead {
		font-size: 65% !important;
		padding-left: 15px !important;
	}

}


/* =============================================================
   5セクション構造 — single.php
   ============================================================= */

/* ─── ① LEAD: 導入 ─── */
.sec-lead {
	margin: 0;
	padding: 0;
	padding-bottom: 0;
}

.sec-lead .detail {
	margin-top: 0;
	margin-bottom: 0;
	padding-bottom: 0;
}

.sec-lead .detail h1,
.sec-lead .detail h2 {
	margin: 0;
}

.sec-lead+.blog .sec-title::before {
	margin-top: 0;
}

.sec-lead+.blog {
	padding-top: 0;
}

.sec-lead+.blog .sec-title {
	padding-top: 0;
	margin-top: 0;
}



.lead-meta .detail-tags {
	text-align: left;
	font-size: 100%;
	margin: 0;
}

.lead-meta .detail-tags span {
	font-size: 80%;
	padding: 3px 14px 3px 10px;
	margin: 0 4px 0 0;
}

.lead-meta .detail-tags span a {
	color: #fff;
	text-decoration: none;
}

.lead-text {
	font-size: 110%;
	line-height: 2;
	padding: 20px 30px 30px;
	color: #444;
	border-left: 4px solid #c9bc9c;
	margin: 0 30px 0;
	background: #faf9f6;
}


/* ─── ② FACT: 本誌引用 ─── */
.sec-fact {
	margin-top: 0;
	padding: 0 30px 40px;
	background: #faf9f6;
}

.sec-fact .sec-title {
	margin-top: 0;
}

.sec-title .en {
	margin-bottom: 0.15em;
}

.fact-quote {
	background: #fff;
	border-left: 5px solid #c9bc9c;
	padding: 30px;
	margin: 0;
	line-height: 2;
}

.fact-content {
	font-size: 105%;
	position: relative;
	max-height: 12em;
	overflow: hidden;
}

.fact-content::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	height: 4em;
	background: linear-gradient(transparent, #fff);
	pointer-events: none;
}

.fact-content img {
	border-radius: 8px;
	margin: 16px 0;
}

.fact-quote cite {
	display: block;
	text-align: right;
	margin-top: 15px;
	font-size: 0.85em;
	color: #888;
	font-style: normal;
}

.fact-cta {
	text-align: center;
	margin-top: 20px;
}

.fact-cta-btn {
	display: inline-block;
	background: #c9bc9c;
	color: #fff !important;
	padding: 12px 28px;
	border-radius: 30px;
	font-size: 0.95em;
	font-weight: bold;
	text-decoration: none;
	box-shadow: 0 4px 12px rgba(169, 153, 112, 0.3);
	transition: all 0.3s ease;
}

.fact-cta-btn:hover {
	background: #b8a47e;
	box-shadow: 0 6px 16px rgba(169, 153, 112, 0.5);
	transform: translateY(-2px);
}

.fact-quote cite a {
	color: #c9bc9c;
	text-decoration: underline;
}

.fact-quote cite a:hover {
	color: #b5a887;
}


/* ─── ③ SOUL: 独自コンテンツ ─── */
.sec-soul {
	padding: 50px 30px 40px;
	background: #faf9f6;
}

.soul-content {
	font-size: 105%;
	line-height: 2;
}

.soul-content p {
	margin-bottom: 1.5em;
}

.soul-content img {
	border-radius: 8px;
}

/* チャット対話UI */
.chat-row {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 18px;
}

.chat-left {
	flex-direction: row;
}

.chat-right {
	flex-direction: row;
	justify-content: flex-end;
}

.chat-icon {
	flex-shrink: 0;
	width: 70px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
}

.chat-icon img {
	width: 60px;
	height: 60px;
	border-radius: 50%;
	object-fit: cover;
}

.chat-body {
	max-width: 70%;
	flex: 1;
}

.chat-name {
	font-size: 0.65em;
	font-weight: bold;
	color: #888;
	text-align: center;
	line-height: 1.3;
	display: block;
}

.chat-right .chat-name {
	text-align: center;
}

.chat-bubble {
	max-width: 70%;
	padding: 12px 18px;
	border-radius: 18px;
	font-size: 0.95em;
	line-height: 1.7;
}

.chat-bird {
	background: #fff;
	color: #333;
	border: 2px solid #ff9800;
	border-top-left-radius: 4px;
	text-align: left;
}

.chat-editor {
	background: #fff;
	color: #333;
	border: 2px solid #4caf50;
	border-top-right-radius: 4px;
	text-align: right;
}

/* ─── SOUL CTA ─── */
.soul-cta {
	text-align: center;
	margin-top: 24px;
	padding-top: 20px;
}

.soul-cta-btn {
	display: inline-block;
	background: #4a90d9;
	color: #fff !important;
	padding: 14px 32px;
	border-radius: 30px;
	font-size: 1em;
	font-weight: bold;
	text-decoration: none;
	box-shadow: 0 4px 12px rgba(74, 144, 217, 0.3);
	transition: all 0.3s ease;
}

.soul-cta-btn:hover {
	background: #3a7bc8;
	box-shadow: 0 6px 16px rgba(74, 144, 217, 0.5);
	transform: translateY(-2px);
}

/* ─── MAP: Google Map ─── */
.sec-map {
	padding: 0 30px 40px;
}

.map-container {
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
	display: block;
}

.map-address {
	text-align: center;
	margin-top: 12px;
	font-size: 0.9em;
	color: #666;
}

/* ─── ④ VISUAL: フォトギャラリー ─── */
.sec-visual {
	padding: 50px 30px 40px;
}

.photo-gallery {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 16px;
}

.photo-gallery figure {
	margin: 0;
	overflow: hidden;
	border-radius: 8px;
}

.photo-gallery img {
	width: 100%;
	height: auto;
	display: block;
	transition: transform 0.4s ease;
}

.photo-gallery figure:hover img {
	transform: scale(1.05);
}

.photo-gallery figcaption {
	font-size: 85%;
	color: #666;
	padding: 10px 4px;
	line-height: 1.5;
}


/* ─── ⑤ ACTION: 本誌誘導 ─── */
.sec-action {
	text-align: center;
	padding: 60px 30px;
	background: linear-gradient(135deg, #f5f0e8, #e8e2d6);
}

.cta-button {
	display: inline-block;
	padding: 18px 50px;
	background: #c9bc9c;
	color: #fff;
	font-size: 115%;
	border-radius: 999px;
	text-decoration: none;
	letter-spacing: 0.05em;
	transition: all 0.3s ease;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.cta-button:hover {
	background: #b5a887;
	color: #fff;
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
	text-decoration: none;
}


/* ─── 記事ナビゲーション ─── */
.post-nav {
	display: flex;
	border-top: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
	margin-bottom: 0;
}

.post-nav a {
	flex: 1;
	padding: 20px 24px;
	text-decoration: none;
	color: inherit;
	transition: background 0.2s;
}

.post-nav a:hover {
	background: #f8f7f4;
	text-decoration: none;
}

.post-nav-prev {
	text-align: left;
	border-right: 1px solid #ccc;
}

.post-nav-next {
	text-align: right;
}

.post-nav-label {
	display: block;
	font-size: 80%;
	color: #999;
	margin-bottom: 6px;
}

.post-nav-title {
	display: block;
	font-size: 90%;
	color: #333;
	line-height: 1.5;
}


/* ─── 関連記事見出し ─── */
.related-posts {
	padding-top: 40px;
}

.related-posts .sec-title {
	margin-bottom: 0;
}


/* ─── 5セクション モバイル ─── */
@media screen and (max-width: 500px) {
	.lead-text {
		margin: 0 15px;
		padding: 15px 20px 20px;
		font-size: 100%;
	}

	.lead-meta {
		padding: 15px 15px 8px;
	}

	.sec-fact {
		padding: 30px 15px 25px;
	}

	.fact-quote {
		padding: 20px;
	}

	.fact-content {
		font-size: 100%;
	}

	.sec-soul {
		padding: 30px 15px 25px;
	}

	.soul-content {
		font-size: 100%;
	}

	.sec-visual {
		padding: 30px 15px 25px;
	}

	.photo-gallery {
		grid-template-columns: repeat(2, 1fr);
		gap: 8px;
	}

	.sec-action {
		padding: 40px 15px;
	}

	.cta-button {
		padding: 16px 30px;
		font-size: 100%;
	}

	.post-nav {
		flex-direction: column;
	}

	.post-nav-prev {
		border-right: none;
		border-bottom: 1px solid #eee;
	}

	.post-nav-next {
		text-align: left;
	}
}