/*
Theme Name: xeory_extension-child
Template: xeory_extension
Version: 0.5.2
*/

html {
  scroll-behavior: smooth;
}

summary:hover{
  opacity: 0.75;
}

.post-content table th, .post-content table td{
	padding: 5px !important;
}

.gr4{
  width: 90% !important;
}

/* ===== トップページ メインビジュアル h1 とリード文 ===== */
#main_visual .site-main-title {
  font-size: 2.2em;
  font-weight: 700;
  line-height: 1.4;
  margin: 0 0 20px;
  color: #fff;
  text-shadow: 0 2px 6px rgba(0,0,0,0.4);
  letter-spacing: 0.02em;
}
#main_visual .site-lead-text {
  font-size: 1em;
  line-height: 1.9;
  color: #fff;
  text-shadow: 0 1px 4px rgba(0,0,0,0.5);
  max-width: 760px;
  margin: 0 auto 24px;
  padding: 0 10px;
  text-align: left;
}
@media (max-width: 1024px) {
  #main_visual .site-main-title { font-size: 1.8em; }
  #main_visual .site-lead-text { font-size: 0.95em; line-height: 1.8; }
}
@media (max-width: 768px) {
  #main_visual .site-main-title { font-size: 1.4em; line-height: 1.5; margin-bottom: 15px; }
  #main_visual .site-lead-text { font-size: 0.9em; line-height: 1.75; padding: 0 5px; }
}
@media (max-width: 480px) {
  #main_visual .site-main-title { font-size: 1.2em; }
  #main_visual .site-lead-text { font-size: 0.85em; }
}




/* キーワード検索 */
.aga-site-search-menu {
	display: block !important;
	width: 100% !important;
	margin: 0 !important;
	padding: 12px !important;
	background: transparent !important;
	border: 0 !important;
	box-sizing: border-box !important;
}

.aga-site-search-menu::before,
.aga-site-search-menu::after {
	display: none !important;
	content: none !important;
}

.aga-site-search-menu .aga-menu-search {
	display: flex !important;
	align-items: center !important;
	width: 100% !important;
	margin: 0 !important;
	padding: 4px !important;
	background: #fff !important;
	border: 1px solid #ddd !important;
	border-radius: 8px !important;
	box-sizing: border-box !important;
	box-shadow: 0 2px 8px rgba(0, 0, 0, .08) !important;
	overflow: hidden !important;
}

.aga-site-search-menu .aga-menu-search input[type="search"] {
	flex: 1 !important;
	width: 100% !important;
	max-width: 100% !important;
	min-width: 0 !important;
	height: 44px !important;
	margin: 0 !important;
	padding: 0 12px !important;
	background: transparent !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	outline: none !important;
	color: #333 !important;
	font-size: 16px !important;
	line-height: 1.5 !important;
	font-feature-settings: "palt" !important;
	-webkit-appearance: none !important;
	appearance: none !important;
}

.aga-site-search-menu .aga-menu-search input[type="search"]::placeholder {
	color: #999 !important;
	opacity: 1 !important;
}

.aga-site-search-menu .aga-menu-search button {
	flex: 0 0 auto !important;
	height: 44px !important;
	margin: 0 !important;
	padding: 0 18px !important;
	background: #343434 !important;
	border: 0 !important;
	border-radius: 6px !important;
	box-shadow: none !important;
	color: #fff !important;
	font-size: 14px !important;
	font-weight: 700 !important;
	line-height: 1 !important;
	font-feature-settings: "palt" !important;
	cursor: pointer !important;
	-webkit-appearance: none !important;
	appearance: none !important;
}

.aga-site-search-menu .aga-menu-search:focus-within {
	border-color: #777 !important;
	box-shadow: 0 2px 10px rgba(0, 0, 0, .14) !important;
}





/* ========================================
   キーワード検索ウィジェット
======================================== */
.aga-keyword-search-widget {
	width: 100% !important;
	max-width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
	box-sizing: border-box !important;
}

.aga-keyword-search-widget .aga-widget-search-form {
	position: relative !important;
	display: flex !important;
	align-items: center !important;
	width: 100% !important;
	max-width: 100% !important;
	height: 58px !important;
	margin: 0 !important;
	padding: 4px !important;
	background: #fff !important;
	border: 1px solid #ddd !important;
	border-radius: 50px !important;
	box-sizing: border-box !important;
	box-shadow: 0 3px 12px rgba(0, 0, 0, .08) !important;
	overflow: hidden !important;
	transition: border-color .2s ease, box-shadow .2s ease !important;
}

.aga-keyword-search-widget .aga-widget-search-form:focus-within {
	border-color: #777 !important;
	box-shadow: 0 4px 16px rgba(0, 0, 0, .14) !important;
}

.aga-keyword-search-widget .aga-widget-search-form input[type="search"] {
	display: block !important;
	flex: 1 !important;
	width: 100% !important;
	max-width: 100% !important;
	min-width: 0 !important;
	height: 100% !important;
	margin: 0 !important;
	padding: 0 62px 0 18px !important;
	background: transparent !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	outline: none !important;
	color: #333 !important;
	font-size: 16px !important;
	line-height: 1.5 !important;
	font-feature-settings: "palt" !important;
	box-sizing: border-box !important;
	-webkit-appearance: none !important;
	appearance: none !important;
}

.aga-keyword-search-widget .aga-widget-search-form input[type="search"]::placeholder {
	color: #999 !important;
	opacity: 1 !important;
}

.aga-keyword-search-widget .aga-widget-search-form button {
	position: absolute !important;
	top: 50% !important;
	right: 8px !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 44px !important;
	height: 44px !important;
	margin: 0 !important;
	padding: 0 !important;
	background: transparent !important;
	background-image: none !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	transform: translateY(-50%) !important;
	cursor: pointer !important;
	overflow: visible !important;
	-webkit-appearance: none !important;
	appearance: none !important;
}

.aga-keyword-search-widget .aga-widget-search-form button::before,
.aga-keyword-search-widget .aga-widget-search-form button::after {
	display: none !important;
	content: none !important;
}

.aga-keyword-search-widget .aga-widget-search-form button img {
	display: block !important;
	width: 28px !important;
	height: 28px !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	box-shadow: none !important;
	opacity: 1 !important;
	pointer-events: none !important;
}

.aga-keyword-search-widget .aga-widget-search-form button:hover {
	opacity: .75 !important;
}

@media screen and (max-width: 767px) {
	.aga-keyword-search-widget .aga-widget-search-form {
		width: 100% !important;
		max-width: 100% !important;
		height: 54px !important;
		box-sizing: border-box !important;
	}

	.aga-keyword-search-widget .aga-widget-search-form input[type="search"] {
		width: 100% !important;
		max-width: 100% !important;
		min-width: 0 !important;
		padding: 0 58px 0 16px !important;
		font-size: 16px !important;
		box-sizing: border-box !important;
	}

	.aga-keyword-search-widget .aga-widget-search-form button {
		right: 6px !important;
		width: 40px !important;
		height: 40px !important;
	}

	.aga-keyword-search-widget .aga-widget-search-form button img {
		width: 24px !important;
		height: 24px !important;
	}
}












/* ========================================
   404・検索結果なしページ
======================================== */
.aga-content-none {
	width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
	box-sizing: border-box !important;
	color: #333 !important;
	font-feature-settings: "palt" !important;
}

.aga-content-none .aga-content-none-message {
	margin: 0 0 35px !important;
	padding: 24px 26px !important;
	background: #f7f7f7 !important;
	border: 1px solid #e5e5e5 !important;
	border-radius: 8px !important;
	box-sizing: border-box !important;
}

.aga-content-none .aga-content-none-message-title {
	margin: 0 0 8px !important;
	padding: 0 !important;
	color: #333 !important;
	font-size: 20px !important;
	font-weight: 700 !important;
	line-height: 1.5 !important;
}

.aga-content-none .aga-content-none-message p {
	margin: 0 !important;
	padding: 0 !important;
	color: #555 !important;
	font-size: 16px !important;
	line-height: 1.8 !important;
}

.aga-content-none .aga-content-none-section {
	margin: 0 0 40px !important;
	padding: 0 !important;
}

.aga-content-none .aga-content-none-heading {
	display: flex !important;
	align-items: center !important;
	gap: 12px !important;
	margin: 0 0 18px !important;
	padding: 12px 16px !important;
	background: #343434 !important;
	border: 0 !important;
	border-left: 6px solid #15293d !important;
	color: #fff !important;
	font-size: 22px !important;
	font-weight: 700 !important;
	line-height: 1.5 !important;
	font-feature-settings: "palt" !important;
	box-sizing: border-box !important;
}

.aga-content-none .aga-content-none-number {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	flex: 0 0 auto !important;
	width: 30px !important;
	height: 30px !important;
	margin: 0 !important;
	padding: 0 !important;
	background: #fff !important;
	border-radius: 50% !important;
	color: #343434 !important;
	font-size: 16px !important;
	font-weight: 700 !important;
	line-height: 1 !important;
}

.aga-content-none .aga-content-none-description {
	margin: 0 0 18px !important;
	padding: 0 !important;
	color: #555 !important;
	font-size: 16px !important;
	line-height: 1.8 !important;
}

/* 検索フォーム */
.aga-content-none .aga-content-none-search {
	position: relative !important;
	display: flex !important;
	align-items: center !important;
	width: 100% !important;
	max-width: 100% !important;
	height: 58px !important;
	margin: 0 !important;
	padding: 4px !important;
	background: #fff !important;
	border: 1px solid #ddd !important;
	border-radius: 50px !important;
	box-sizing: border-box !important;
	box-shadow: 0 3px 12px rgba(0, 0, 0, .08) !important;
	overflow: hidden !important;
	transition: border-color .2s ease, box-shadow .2s ease !important;
}

.aga-content-none .aga-content-none-search:focus-within {
	border-color: #777 !important;
	box-shadow: 0 4px 16px rgba(0, 0, 0, .14) !important;
}

.aga-content-none .aga-content-none-search input[type="search"] {
	display: block !important;
	flex: 1 !important;
	width: 100% !important;
	max-width: 100% !important;
	min-width: 0 !important;
	height: 100% !important;
	margin: 0 !important;
	padding: 0 68px 0 20px !important;
	background: transparent !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	outline: none !important;
	color: #333 !important;
	font-size: 17px !important;
	line-height: 1.5 !important;
	font-feature-settings: "palt" !important;
	box-sizing: border-box !important;
	-webkit-appearance: none !important;
	appearance: none !important;
}

.aga-content-none .aga-content-none-search input[type="search"]::placeholder {
	color: #999 !important;
	opacity: 1 !important;
}

.aga-content-none .aga-content-none-search button {
	position: absolute !important;
	top: 50% !important;
	right: 8px !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 44px !important;
	height: 44px !important;
	margin: 0 !important;
	padding: 0 !important;
	background: transparent !important;
	border: 0 !important;
	border-radius: 50% !important;
	box-shadow: none !important;
	transform: translateY(-50%) !important;
	cursor: pointer !important;
	-webkit-appearance: none !important;
	appearance: none !important;
}

.aga-content-none .aga-content-none-search button::before,
.aga-content-none .aga-content-none-search button::after {
	display: none !important;
	content: none !important;
}

.aga-content-none .aga-content-none-search button svg {
	display: block !important;
	width: 27px !important;
	height: 27px !important;
	margin: 0 !important;
	padding: 0 !important;
	fill: none !important;
	stroke: #555 !important;
	stroke-width: 2 !important;
	stroke-linecap: round !important;
	stroke-linejoin: round !important;
	pointer-events: none !important;
}

.aga-content-none .aga-content-none-search button:hover {
	opacity: .7 !important;
}

/* 人気記事 */
.aga-content-none .aga-content-none-popular {
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
	border-top: 1px solid #e5e5e5 !important;
}

.aga-content-none .aga-content-none-popular li {
	margin: 0 !important;
	padding: 0 !important;
	border-bottom: 1px solid #e5e5e5 !important;
	list-style: none !important;
}

.aga-content-none .aga-content-none-popular li::before {
	display: none !important;
	content: none !important;
}

.aga-content-none .aga-content-none-popular a {
	display: flex !important;
	align-items: center !important;
	gap: 12px !important;
	width: 100% !important;
	margin: 0 !important;
	padding: 14px 10px !important;
	color: #333 !important;
	text-decoration: none !important;
	box-sizing: border-box !important;
}

.aga-content-none .aga-content-none-popular a:hover {
	opacity: .7 !important;
}

.aga-content-none .aga-content-none-rank {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	flex: 0 0 auto !important;
	width: 30px !important;
	height: 30px !important;
	margin: 0 !important;
	padding: 0 !important;
	background: #343434 !important;
	border-radius: 50% !important;
	color: #fff !important;
	font-size: 13px !important;
	font-weight: 700 !important;
	line-height: 1 !important;
}

.aga-content-none .aga-content-none-article-title {
	color: #333 !important;
	font-size: 16px !important;
	font-weight: 600 !important;
	line-height: 1.6 !important;
}

/* カテゴリー */
.aga-content-none .aga-content-none-categories {
	display: flex !important;
	flex-wrap: wrap !important;
	gap: 10px !important;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
}

.aga-content-none .aga-content-none-categories li {
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
}

.aga-content-none .aga-content-none-categories li::before {
	display: none !important;
	content: none !important;
}

.aga-content-none .aga-content-none-categories a {
	display: inline-flex !important;
	align-items: center !important;
	margin: 0 !important;
	padding: 8px 14px !important;
	background: #f7f7f7 !important;
	border: 1px solid #ddd !important;
	border-radius: 50px !important;
	color: #333 !important;
	font-size: 14px !important;
	font-weight: 600 !important;
	line-height: 1.5 !important;
	text-decoration: none !important;
}

.aga-content-none .aga-content-none-categories a:hover {
	opacity: .7 !important;
}

/* トップページへ戻る */
.aga-content-none .aga-content-none-home {
	margin-bottom: 0 !important;
}

.aga-content-none .aga-content-none-home-button {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 100% !important;
	max-width: 360px !important;
	height: 52px !important;
	margin: 0 auto !important;
	padding: 0 20px !important;
	background: #343434 !important;
	border: 0 !important;
	border-radius: 6px !important;
	box-sizing: border-box !important;
	color: #fff !important;
	font-size: 16px !important;
	font-weight: 700 !important;
	line-height: 1.5 !important;
	text-align: center !important;
	text-decoration: none !important;
	font-feature-settings: "palt" !important;
}

.aga-content-none .aga-content-none-home-button:hover {
	opacity: .8 !important;
}

.aga-content-none .aga-content-none-empty {
	margin: 0 !important;
	padding: 15px !important;
	background: #f7f7f7 !important;
	color: #777 !important;
	font-size: 14px !important;
	line-height: 1.7 !important;
}

/* スマホ */
@media screen and (max-width: 767px) {
	.aga-content-none .aga-content-none-message {
		margin-bottom: 28px !important;
		padding: 18px !important;
	}

	.aga-content-none .aga-content-none-message-title {
		font-size: 18px !important;
	}

	.aga-content-none .aga-content-none-message p {
		font-size: 15px !important;
	}

	.aga-content-none .aga-content-none-section {
		margin-bottom: 32px !important;
	}

	.aga-content-none .aga-content-none-heading {
		gap: 10px !important;
		margin-bottom: 15px !important;
		padding: 10px 12px !important;
		font-size: 18px !important;
	}

	.aga-content-none .aga-content-none-number {
		width: 27px !important;
		height: 27px !important;
		font-size: 14px !important;
	}

	.aga-content-none .aga-content-none-description {
		margin-bottom: 15px !important;
		font-size: 15px !important;
	}

	.aga-content-none .aga-content-none-search {
		width: 100% !important;
		max-width: 100% !important;
		height: 54px !important;
		box-sizing: border-box !important;
	}

	.aga-content-none .aga-content-none-search input[type="search"] {
		width: 100% !important;
		max-width: 100% !important;
		min-width: 0 !important;
		padding: 0 58px 0 16px !important;
		font-size: 16px !important;
		box-sizing: border-box !important;
	}

	.aga-content-none .aga-content-none-search button {
		right: 6px !important;
		width: 40px !important;
		height: 40px !important;
	}

	.aga-content-none .aga-content-none-search button svg {
		width: 24px !important;
		height: 24px !important;
	}

	.aga-content-none .aga-content-none-popular a {
		gap: 10px !important;
		padding: 12px 6px !important;
	}

	.aga-content-none .aga-content-none-rank {
		width: 28px !important;
		height: 28px !important;
		font-size: 12px !important;
	}

	.aga-content-none .aga-content-none-article-title {
		font-size: 15px !important;
	}

	.aga-content-none .aga-content-none-categories {
		gap: 8px !important;
	}

	.aga-content-none .aga-content-none-categories a {
		padding: 7px 12px !important;
		font-size: 13px !important;
	}

	.aga-content-none .aga-content-none-home-button {
		max-width: 100% !important;
		height: 50px !important;
		font-size: 15px !important;
	}
}


/* ========================================
   画像ズーム
======================================== */

/* スマホ・タブレット：記事ページのアイキャッチ画像を画面幅いっぱいに表示 */
@media screen and (max-width: 991px) {
    body.single .post-thumbnail {
        width: 100vw !important;
        max-width: 100vw !important;
        margin-left: calc(50% - 50vw) !important;
        margin-right: calc(50% - 50vw) !important;
    }
    body.single .post-thumbnail img {
        display: block !important;
        width: 100% !important;
        max-width: none !important;
        height: auto !important;
        margin: 0 !important;
    }
}

/* ズームコンテナ */
.zoom-container {
    position: relative !important;
    display: inline-block !important;
    max-width: 100% !important;
    overflow: hidden !important;
    line-height: 0 !important;
    cursor: zoom-in !important;
    -webkit-touch-callout: none !important;
    user-select: none !important;
    -webkit-user-select: none !important;
}

/* ズーム中のみタッチ操作を制限 */
.zoom-container.is-active {
    touch-action: none !important;
}

/* 元画像 */
.zoom-container img {
    display: block !important;
    max-width: 100% !important;
    height: auto !important;
    pointer-events: none !important;
}

/* ========================================
   全画面ズーム
======================================== */

.zoom-fullscreen-layer {
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    z-index: 999999 !important;
    pointer-events: none !important;
    background-repeat: no-repeat !important;
    background-position: center center;
    background-size: 200% auto !important;
    background-color: #000 !important;
    opacity: 0;
    visibility: hidden;
}

.zoom-fullscreen-layer.is-active {
    opacity: 1;
    visibility: visible;
}

/* PCは拡大率を控えめ */
@media screen and (min-width: 992px) {
    .zoom-fullscreen-layer {
        background-size: 80% auto !important;
    }
}

/* PC：拡大中はページ上の要素に関係なくカーソルを固定 */
body.is-image-zooming,
body.is-image-zooming * {
    cursor: zoom-out !important;
}

/* ========================================
   FAQ症例画像
======================================== */

.faq-cta-slider .zoom-container {
    flex: 0 0 60% !important;
    width: 60% !important;
    scroll-snap-align: start;
}

.faq-cta-slider .zoom-container img {
    width: 100% !important;
    max-width: 100% !important;
}

/* ========================================
   FAQ漫画
======================================== */

.aga-faga-cta-image-wrap .zoom-container {
    display: block !important;
    width: 100% !important;
}

/* ========================================
   ズームアイコン
======================================== */

/* 白い丸背景 */
.zoom-container.zoom-enabled::after {
    content: '' !important;
    position: absolute !important;
    right: 6px !important;
    top: 6px !important;
    width: 32px !important;
    height: 32px !important;
    background: rgba(255, 255, 255, .6) !important;
    border-radius: 50% !important;
    box-shadow: 0 1px 5px rgba(0, 0, 0, .3) !important;
    opacity: 1 !important;
    pointer-events: none !important;
    z-index: 2 !important;
    transition: opacity .2s ease !important;
}

/* 虫眼鏡アイコン */
.zoom-container.zoom-enabled::before {
    content: '' !important;
    position: absolute !important;
    right: 12px !important;
    top: 12px !important;
    width: 20px !important;
    height: 20px !important;
    background-color: rgba(52, 52, 52, 1) !important;
    -webkit-mask-image: url('/wp-content/themes/xeory_extension-child/lib/images/icon/magnifying-glass-plus-solid-full.svg') !important;
    mask-image: url('/wp-content/themes/xeory_extension-child/lib/images/icon/magnifying-glass-plus-solid-full.svg') !important;
    -webkit-mask-size: contain !important;
    mask-size: contain !important;
    -webkit-mask-position: center !important;
    mask-position: center !important;
    -webkit-mask-repeat: no-repeat !important;
    mask-repeat: no-repeat !important;
    opacity: 1 !important;
    pointer-events: none !important;
    z-index: 3 !important;
    transition: opacity .2s ease !important;
}

/* PC：ズームアイコンを少し大きく */
@media screen and (min-width: 992px) {
    .zoom-container.zoom-enabled::after {
        right: 8px !important;
        bottom: 8px !important;
        width: 40px !important;
        height: 40px !important;
    }
    .zoom-container.zoom-enabled::before {
        right: 15px !important;
        bottom: 15px !important;
        width: 26px !important;
        height: 26px !important;
    }
}

/* ズーム中はアイコンを非表示 */
.zoom-container.zoom-enabled.is-active::before,
.zoom-container.zoom-enabled.is-active::after {
    opacity: 0 !important;
}

/* ========================================
   PCマウス付近の操作案内
======================================== */

.zoom-mouse-hint {
    position: fixed !important;
    z-index: 1000001 !important;
    padding: 7px 11px !important;
    border-radius: 6px !important;
    background: rgba(0, 0, 0, .75) !important;
    color: #fff !important;
    font-size: 12px !important;
    font-weight: bold !important;
    line-height: 1.4 !important;
    white-space: nowrap !important;
    pointer-events: none !important;
    opacity: 0;
    visibility: hidden;
    transform: translate(14px, calc(-100% - 14px));
}

.zoom-mouse-hint.is-visible {
    opacity: 1;
    visibility: visible;
}



/* ============================================
   カテゴリ切替プルダウン
   ============================================ */
.category-description{
  margin: 16px 0 24px;
  padding: 18px 20px;
  background: #f7f7f7;
  border-left: 4px solid #2b8a3e;
  border-radius: 4px;
  font-size: 14px;
  line-height: 1.8;
  color: #333;
}
.category-description p:last-child{
  margin-bottom: 0;
}
@media (max-width: 768px){
  .category-description{
    padding: 14px 16px;
    font-size: 13px;
    line-height: 1.75;
  }
}
.category-dropdown{
  margin: 20px 0 24px;
  width: 100%;
}

.category-dropdown select{
  width: 100%;
  max-width: 420px;
  padding: 12px 40px 12px 14px;
  font-size: 15px;
  line-height: 1.4;
  color: #fff;
  background-color: #2b2b2b;
  border: 1px solid #444;
  border-radius: 4px;
  box-shadow: 0 1px 2px rgba(0,0,0,.08);
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'><path fill='%23ffffff' d='M6 8L0 0h12z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 10px auto;
  transition: border-color .15s ease, box-shadow .15s ease;
}

.category-dropdown select:hover{
  border-color: #666;
}

.category-dropdown select:focus{
  outline: none;
  border-color: #888;
  box-shadow: 0 0 0 3px rgba(255,255,255,.08);
}

/* スクリーンリーダー用の非表示ラベル */
.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;
}

/* ----- タブレット（〜1024px） ----- */
@media (max-width: 1024px){
  .category-dropdown{
    margin: 16px 0 20px;
  }
  .category-dropdown select{
    max-width: 100%;
    font-size: 15px;
    padding: 12px 38px 12px 14px;
  }
}

/* ----- スマートフォン（〜768px） ----- */
@media (max-width: 768px){
  .category-dropdown{
    margin: 14px 0 18px;
  }
  .category-dropdown select{
    /* iOSのズーム防止のため16px以上を維持 */
    font-size: 16px;
    padding: 14px 40px 14px 14px;
    border-radius: 6px;
    background-position: right 12px center;
  }
}

/* ----- 小型スマホ（〜480px） ----- */
@media (max-width: 480px){
  .category-dropdown select{
    padding: 13px 36px 13px 12px;
  }
}




/* ===================================
   ヘッダー背景：ベースのみ
   =================================== */
#header {
  background-color: #e8cfc0 !important;
  padding: 0;
}

/* ===================================
   波レイヤー共通
   =================================== */
.header-wave-layer {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  pointer-events: none;
  background-repeat: repeat-x;
  background-position-y: bottom;
  will-change: background-position-x;
}

/* 各波レイヤーの個別設定 + アニメーション */
.header-wave-layer[data-wave="0"] {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 100'%3E%3Cpath d='M0 50 c100 -50 200 50 300 0 s200 50 300 0 L600 100 L0 100Z' fill='%23f1c9b0'/%3E%3C/svg%3E");
  background-size: 300px 50px;
  z-index: 12;
  animation: waveCSS0 6.0s linear infinite;
}
.header-wave-layer[data-wave="1"] {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 650 100'%3E%3Cpath d='M0 50 c108 -50 217 50 325 0 s217 50 325 0 L650 100 L0 100Z' fill='%23caa090'/%3E%3C/svg%3E");
  background-size: 325px 78px;
  z-index: 5;
  animation: waveCSS1 8.5s linear infinite;
}
.header-wave-layer[data-wave="2"] {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 750 100'%3E%3Cpath d='M0 50 c125 -50 250 50 375 0 s250 50 375 0 L750 100 L0 100Z' fill='%23986e68'/%3E%3C/svg%3E");
  background-size: 375px 85px;
  z-index: 1;
  animation: waveCSS2 11.0s linear infinite;
}

/* 波のキーフレーム */
@keyframes waveCSS0 { to { background-position-x: -300px; } }
@keyframes waveCSS1 { to { background-position-x: 325px; } }
@keyframes waveCSS2 { to { background-position-x: -375px; } }

/* wrapを波より前面に */
#header > .wrap {
  position: relative;
  z-index: 13;
}

/* ===================================
   ロゴ・アイコン
   =================================== */
#header #logo img {
  max-height: 60px;
  height: 50px;
  width: auto;
  transition: transform 0.4s ease;
}

#header #logo img:hover {
  transform: scale(1.05);
}

#header #logo:hover {
  opacity: 0.75;
}

/* ===================================
   ロゴ サブテキスト
   =================================== */
.wrap.clearfix {
  position: relative;
}

.logo-subtext {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #0d0c0c !important;
  font-weight: bold;
  font-feature-settings: "palt";
  text-align: center;
}

.logo-subtext a {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #0d0c0c !important;
  text-decoration: none;
  font-size: 16px;
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: 1.5px;
}

.logo-subtext a:hover {
  opacity: 0.75;
}

/* ===================================
   スマホ対応
   =================================== */
@media screen and (max-width: 767px) {
  #header #logo {
    float: none;
    height: 45px;
    line-height: 40px;
    text-align: left;
  }

  #header #logo img {
    max-height: 30px;
  }
	
  .logo-subtext a {
    font-size: 13px;
  }
}











/* ===================================
   髪の毛アニメーション（3本・GPU処理）
   =================================== */
.header-hair-strand {
  position: absolute;
  top: 5px; /* PC: 上の余白を詰めてより長く・大きく見せる（元15px） */
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  background-image: url(/wp-content/themes/xeory_extension-child/lib/images/icon/hair.svg);
  background-repeat: repeat-x;
  background-position-y: center;
  filter: brightness(0);
  will-change: background-position-x;
}

/* 手前の毛：波0の下、波1の上 */
.header-hair-strand[data-hair="0"] {
  background-size: 150px 85%; /* 元: 120px 70% */
  background-position-y: 0%;
  opacity: 0.45;
  z-index: 6;
  animation: hairFlow0 12s linear infinite;
}

/* 中間の毛：波1の下、波2の上 */
.header-hair-strand[data-hair="1"] {
  background-size: 125px 80%; /* 元: 100px 65% */
  background-position-y: 0%;
  opacity: 0.35;
  z-index: 2;
  animation: hairFlow1 15s linear infinite;
}

/* 最奥の毛：波2の下（一番奥） */
.header-hair-strand[data-hair="2"] {
  background-size: 100px 75%; /* 元: 80px 60% */
  background-position-y: 0%;
  opacity: 0.25;
  z-index: 0;
  animation: hairFlow2 18s linear infinite;
}

/* 髪の毛のキーフレーム（拡大したサイズに合わせて移動距離を修正） */
@keyframes hairFlow0 { to { background-position-x: -750px; } }
@keyframes hairFlow1 { to { background-position-x: 625px; } }
@keyframes hairFlow2 { to { background-position-x: -500px; } }

/* ===================================
   アクセシビリティ: モーション軽減設定
   =================================== */
@media (prefers-reduced-motion: reduce) {
  .header-wave-layer {
    animation: none !important;
  }
  .header-hair-strand {
    display: none !important;
  }
}

/* ===================================
   スマホ対応：ヘッダーアニメーションのサイズ最適化
   =================================== */
@media screen and (max-width: 767px) {
  /* 波のサイズを整数値に調整（小数点は隙間の原因になるため） */
  .header-wave-layer[data-wave="0"] {
    background-size: 150px 25px !important;
    animation: waveCSS0_sp 6.0s linear infinite !important;
  }
  .header-wave-layer[data-wave="1"] {
    background-size: 164px 39px !important; /* 162.5px -> 164pxの整数に */
    animation: waveCSS1_sp 8.5s linear infinite !important;
  }
  .header-wave-layer[data-wave="2"] {
    background-size: 188px 42px !important; /* 187.5px -> 188pxの整数に */
    animation: waveCSS2_sp 11.0s linear infinite !important;
  }

  /* 髪の毛の開始位置と横幅もスマホ用に調整（拡大） */
  .header-hair-strand {
    top: 0px !important; /* スマホ: 一番上から生やして大きく見せる（元5px） */
  }
  .header-hair-strand[data-hair="0"] {
    background-size: 100px 90% !important; /* 元: 80px 70% */
    animation: hairFlow0_sp 12s linear infinite !important;
  }
  .header-hair-strand[data-hair="1"] {
    background-size: 90px 85% !important; /* 元: 70px 65% */
    animation: hairFlow1_sp 15s linear infinite !important;
  }
  .header-hair-strand[data-hair="2"] {
    background-size: 80px 80% !important; /* 元: 60px 60% */
    animation: hairFlow2_sp 18s linear infinite !important;
  }
}

/* スマホ用キーフレーム（整数のサイズに合わせて移動距離を修正） */
@keyframes waveCSS0_sp { to { background-position-x: -150px; } }
@keyframes waveCSS1_sp { to { background-position-x: 164px; } }
@keyframes waveCSS2_sp { to { background-position-x: -188px; } }

/* 髪の毛用キーフレーム（拡大したサイズに合わせて移動距離を修正） */
@keyframes hairFlow0_sp { to { background-position-x: -500px; } }
@keyframes hairFlow1_sp { to { background-position-x: 450px; } }
@keyframes hairFlow2_sp { to { background-position-x: -400px; } }

/* SPのメニューアイコン */
#header-nav-btn a {
    display: block !important;
    text-align: center !important;
    background: rgba(59, 69, 82, 0.7);
}

#header-nav-btn a img {
    width: 20px;
    height: 20px;
    filter: brightness(0) invert(1);
    vertical-align: middle;
}









/* PCのメニューアイコン bars-solid-full.svg */
#header-fnav-area #header-fnav{
	width: 400px !important;
}

#header-fnav-area #header-fnav-btn a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
	background: rgba(59, 69, 82, 0.7) !important;
}

.fa-angle-down:before {
    content: "" !important;
    position: static !important;
    width: 24px !important;
    height: 24px !important;
    display: block !important;
    -webkit-mask: none !important;
    mask: none !important;
    background-color: transparent !important;
    background-image: url(/wp-content/themes/xeory_extension-child/lib/images/icon/bars-solid-full.svg) !important;
    background-repeat: no-repeat !important;
    background-size: contain !important;
    background-position: center !important;
    filter: brightness(0) invert(1) !important;
    color: transparent !important;
    font-size: 0 !important;
    line-height: 0 !important;
}


/* bookアイコン */
.fa-book {
  position: relative;
}
.fa-book:before {
  content: "";
  position: absolute;
  -webkit-mask: url(lib/images/icon/book-solid-full.svg) no-repeat;
          mask: url(lib/images/icon/book-solid-full.svg) no-repeat;
  -webkit-mask-size: contain;
          mask-size: contain;
  background-color: #383838;
  width: 24px;
  height: 24px;
  left: -28px;
  top: 50%;
  transform: translateY(-50%);
}

/* ===============================
   タッチ端末（スマホ・タブレット）専用設定
   PC には一切影響しない
   =============================== */
@media (hover: none) and (pointer: coarse) {

  /* ① hover を見た目上なかったことにする */
  a:hover,
  button:hover,
  input[type="button"]:hover,
  input[type="submit"]:hover,
  .scalp-submit-button:hover,
  .scalp-image-add-btn:hover,
  .scalp-file-button:hover {
    opacity: 1 !important;
    transform: none !important;
    box-shadow: none !important;
    filter: none !important;
  }

  /* ② タップ中だけ少し暗くして「押した感」を出す */
  a:active,
  button:active,
  input[type="button"]:active,
  input[type="submit"]:active,
  .scalp-submit-button:active,
  .scalp-image-add-btn:active,
  .scalp-file-button:active {
    filter: brightness(0.92);
  }

  /* ③ 暗くなる/戻るのを少しだけなめらかに */
  a,
  button,
  input[type="button"],
  input[type="submit"],
  .scalp-submit-button,
  .scalp-image-add-btn,
  .scalp-file-button {
    transition: filter 0.12s ease-out;
  }

  /* ▼もしどこかで tap highlight を消してる場合、
       iOS の黒いチカッも少し戻したいならコメントアウトを外す */
  /*
  a,
  button,
  input[type="button"],
  input[type="submit"] {
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0.15);
  }
  */
}

#content{
	padding-top: 0;
}

#main article {
    background: #fff;
}

.cloud_ssl_top {
    position: absolute;
	top: 56px;
    right: 44px;
    width: 100px;
    height: auto;
}

@media (max-width: 768px) {
.cloud_ssl_top {
    position: absolute;
	top: 20px;
    right: 20px;
    width: 90px;
    height: auto;
}
}

.cloud_ssl_footer{
	text-align: center;
	margin: 15px 52px;
	font-size: .7em;
}

.cloud_ssl_footer img{
	width: 150px;
}

.breadcrumb {
    margin: 0;
    font-size: 13px;
    padding: 0;
    line-height: 22px;
    display: flex;
	color: #777;
    flex-wrap: nowrap; /* ← wrap をやめる */
    overflow-x: auto;  /* ← 横スクロールを有効に */
    -webkit-overflow-scrolling: touch; /* ← iOSでも滑らかに */
    white-space: nowrap; /* ← テキストの改行防止（必要なら） */
	font-feature-settings: "palt";
}

.front-loop-cont a.btn,
.related-articles-grid a,
.related-articles-box a,
.gallery-rare-lp-link a,
.related-category-posts a,
.breadcrumb-area a,
.anchor_text_custom_english,
#toc_container a,
.h2_under_content a,
.yarpp a,
.post-footer-list a,
.caption-link-information a,
.beginning-link,
.shortcode-quotation-wrapper a{
	color: #0000ee !important;
	text-decoration:underline;
	font-feature-settings: "palt" !important;
}

.post-content p a,
.post-content td a,
.post-content li a,
.post-content a.btn,
.post-content table a{
	color: #0000ee;
	text-decoration:underline;
	font-feature-settings: "palt";
}

.breadcrumb-area{
	border-bottom: none !important;
}

a:hover,
button:hover{
	text-decoration:none !important;
}

.wpel-icon.fa.fa-external-link {
    margin-right: 5px;
}

/* sup */
sup{
	color: #333;
	font-size: 65%;
	left: -2px;
	top: -10px;
}

/* 文字色 */
.font-red{
	color: red;
}
.font-yellow-highlight-under{
	background: linear-gradient(transparent 60%, #ff6 60%);
	background-repeat: no-repeat;
	display: inline;
	font-weight: bold;
}
/* フロントページ */
.home .fa-folder:before{
	background-color: #383838 !important;
	left: -22px !important;
}

.home.color03 .front-loop .popular_post_box h3{
	margin: 0 10px 12px 10px !important;
}

.home .front-loop .popular_post_box .wrap-a{
	border: none !important;
}

.home .front-loop h2{
	border: none !important;
}

.wrap-a,
.post-title:hover{
	text-decoration: none !important;
}

.wrap-a:hover{
	opacity: 0.75 !important;
}

.home.color03 .front-loop .popular_post_box .p_category{
	border: 1px solid gray !important;
    color: gray !important;
}

/* フロント検索 */
.front-search-content {
	margin: 50px 0 !important;
}

.front-search-content-title {
	max-width: 700px !important;
	margin: 0 auto 12px !important;
	padding: 0 !important;
	color: #333 !important;
	font-size: 20px !important;
	font-weight: 700 !important;
	line-height: 1.5 !important;
	text-align: center !important;
	font-feature-settings: "palt" !important;
}

.front-search-content .search-form-container {
	width: 100% !important;
	margin: 0 !important;
	padding: 0 15px !important;
	box-sizing: border-box !important;
}

.front-search-content .front-search-form {
	position: relative !important;
	display: flex !important;
	align-items: center !important;
	width: 100% !important;
	max-width: 700px !important;
	height: 58px !important;
	margin: 0 auto !important;
	padding: 4px !important;
	background: #fff !important;
	border: 1px solid #ddd !important;
	border-radius: 50px !important;
	box-sizing: border-box !important;
	box-shadow: 0 3px 12px rgba(0, 0, 0, .08) !important;
	overflow: hidden !important;
	transition: border-color .2s ease, box-shadow .2s ease !important;
}

.front-search-content .front-search-form:focus-within {
	border-color: #777 !important;
	box-shadow: 0 4px 16px rgba(0, 0, 0, .14) !important;
}

.front-search-content .front-search-form input[type="search"] {
	display: block !important;
	flex: 1 !important;
	width: 100% !important;
	min-width: 0 !important;
	height: 100% !important;
	margin: 0 !important;
	padding: 0 68px 0 20px !important;
	background: transparent !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	outline: none !important;
	color: #333 !important;
	font-size: 17px !important;
	line-height: 1.5 !important;
	font-feature-settings: "palt" !important;
	-webkit-appearance: none !important;
	appearance: none !important;
}

.front-search-content .front-search-form input[type="search"]::placeholder {
	color: #999 !important;
	opacity: 1 !important;
}

.front-search-content .front-search-submit {
	position: absolute !important;
	top: 50% !important;
	right: 8px !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 44px !important;
	height: 44px !important;
	margin: 0 !important;
	padding: 0 !important;
	background: transparent !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	transform: translateY(-50%) !important;
	cursor: pointer !important;
	-webkit-appearance: none !important;
	appearance: none !important;
}

.front-search-content .front-search-submit::before,
.front-search-content .front-search-submit::after {
	display: none !important;
	content: none !important;
}

.front-search-content .front-search-submit img {
	display: block !important;
	width: 28px !important;
	height: 28px !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	box-shadow: none !important;
	pointer-events: none !important;
}

.front-search-content .front-search-submit:hover {
	opacity: .75 !important;
}

@media screen and (max-width: 767px) {
	.front-search-content {
		margin: 35px 0 !important;
	}

	.front-search-content-title {
		margin-bottom: 10px !important;
		font-size: 18px !important;
	}

	.front-search-content .search-form-container {
		padding: 0 12px !important;
	}

	.front-search-content .front-search-form {
		width: 100% !important;
		max-width: 100% !important;
		height: 54px !important;
		box-sizing: border-box !important;
	}

	.front-search-content .front-search-form input[type="search"] {
		width: 100% !important;
		max-width: 100% !important;
		min-width: 0 !important;
		padding: 0 62px 0 16px !important;
		box-sizing: border-box !important;
		font-size: 16px !important;
	}

	.front-search-content .front-search-submit {
		right: 6px !important;
		width: 42px !important;
		height: 42px !important;
	}

	.front-search-content .front-search-submit img {
		width: 26px !important;
		height: 26px !important;
	}
}

/* ウィジェット検索 */
.side-widget-inner #searchform button{
	top: 2px !important;
}

.side-widget-inner #searchform button:hover{
  opacity: 0.75 !important;
}

/* フッター */
#footer .wrap{
	padding: 30px 0px 30px 20px;
}

/* top page */
.home .front-loop .popular_post_box .p_date,
.home .front-loop .popular_post_box .p_rank{
	border-radius: 50% !important;
}

#main_visual a{
	color: #fff !important;
	text-decoration: underline;
}

.pagetop{
	display: none !important; /* 上に戻る */
}

body.home #main_visual, body.home.color03 #main_visual{
  background-color: rgba(0, 0, 0, 0.5);
  background-blend-mode: darken;
}

.home #main_visual{
	padding-top: 12vh !important;
}

.home #main_visual h2{
	margin-bottom: 30px !important;
}

.home #main_visual p{
	margin-bottom: 2em !important;
}

/* ========================================
   トップページ 記事一覧 最終デザイン
======================================== */


/* ========================================
   記事一覧：Grid
======================================== */

.home #popular_post_content > .wrap > .front-loop-cont,
.home #new_post_content > .wrap > .front-loop-cont,
.home #recent_post_content > .wrap > .front-loop-cont,
.home #category_post_content .front-category-block > .wrap > .front-loop-cont {
	display: grid !important;
	grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
	gap: 30px 20px !important;
	align-items: stretch !important;
}


/* ========================================
   記事カード
======================================== */

.home #popular_post_content > .wrap > .front-loop-cont > article,
.home #new_post_content > .wrap > .front-loop-cont > article,
.home #recent_post_content > .wrap > .front-loop-cont > article,
.home #category_post_content .front-category-block > .wrap > .front-loop-cont > article {
	float: none !important;
	width: auto !important;
	max-width: none !important;
	min-width: 0 !important;

	height: auto !important;
	min-height: 0 !important;
	max-height: none !important;

	margin: 0 !important;
	padding: 0 !important;

	background: #fff !important;
	border: 1px solid #e5e5e5 !important;
	border-radius: 14px !important;

	box-shadow: 0 2px 8px rgba(0, 0, 0, .05) !important;

	overflow: hidden !important;
	box-sizing: border-box !important;
}


/* ========================================
   カード全体のリンク
======================================== */

.home .front-loop .popular_post_box .wrap-a {
	display: flex !important;
	flex-direction: column !important;

	width: 100% !important;
	height: 100% !important;

	margin: 0 !important;
	padding: 0 !important;

	border: none !important;
	background: transparent !important;

	color: #333 !important;
	text-decoration: none !important;

	box-sizing: border-box !important;
}


/* ========================================
   アイキャッチ画像
======================================== */

.home .front-loop .popular_post_box .post-thumbnail {
	width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;

	overflow: hidden !important;
	border-radius: 0 !important;
}


/* 通常のアイキャッチ */
.home .front-loop .popular_post_box .post-thumbnail img,

/* アイキャッチ未設定時のnoimage */
.home .front-loop .popular_post_box .wrap-a > img {
	display: block !important;

	width: 100% !important;
	max-width: 100% !important;

	aspect-ratio: 16 / 9 !important;
	height: auto !important;

	object-fit: cover !important;

	margin: 0 !important;
	padding: 0 !important;

	border-radius: 0 !important;

	transition: transform .3s ease !important;
}


/* ========================================
   カテゴリー
======================================== */

.home .front-loop .popular_post_box .p_category {
	position: static !important;

	display: inline-block !important;
	align-self: flex-start !important;

	float: none !important;

	width: auto !important;
	max-width: calc(100% - 24px) !important;
	height: auto !important;

	margin: 12px 12px 4px !important;
	padding: 5px 10px !important;

	background: #fff !important;

	border: 1px solid #ccc !important;
	border-radius: 50px !important;

	color: #666 !important;

	font-size: 11px !important;
	font-weight: 400 !important;
	line-height: 1.3 !important;

	white-space: normal !important;

	box-sizing: border-box !important;
}


/* ========================================
   記事タイトル
======================================== */

.home .front-loop .popular_post_box h3 {
	display: -webkit-box !important;
	-webkit-box-orient: vertical !important;
	-webkit-line-clamp: 3 !important;

	overflow: hidden !important;

	margin: 8px 12px 16px !important;
	padding: 0 !important;

	background: transparent !important;

	border: none !important;

	color: #333 !important;

	font-size: 15px !important;
	font-weight: 600 !important;
	line-height: 1.6 !important;

	text-align: left !important;
	font-feature-settings: "palt" !important;
}


/* ========================================
   日付・ランキング
   元テーマの丸い表示を維持
======================================== */

.home .front-loop .popular_post_box .p_date,
.home .front-loop .popular_post_box .p_rank {
	border-radius: 50% !important;
}


/* ========================================
   PC hover
======================================== */

@media (hover: hover) and (pointer: fine) {

	.home #popular_post_content > .wrap > .front-loop-cont > article,
	.home #new_post_content > .wrap > .front-loop-cont > article,
	.home #recent_post_content > .wrap > .front-loop-cont > article,
	.home #category_post_content .front-category-block > .wrap > .front-loop-cont > article {
		transition:
			transform .2s ease,
			box-shadow .2s ease,
			border-color .2s ease !important;
	}

	.home #popular_post_content > .wrap > .front-loop-cont > article:hover,
	.home #new_post_content > .wrap > .front-loop-cont > article:hover,
	.home #recent_post_content > .wrap > .front-loop-cont > article:hover,
	.home #category_post_content .front-category-block > .wrap > .front-loop-cont > article:hover {
		transform: translateY(-3px) !important;
		border-color: #d5d5d5 !important;
		box-shadow: 0 7px 20px rgba(0, 0, 0, .10) !important;
	}

	.home .front-loop .popular_post_box:hover .post-thumbnail img,
	.home .front-loop .popular_post_box:hover .wrap-a > img {
		transform: scale(1.025) !important;
	}
}


/* ========================================
   タブレット：3列
======================================== */

@media screen and (min-width: 768px) and (max-width: 991px) {

	.home #popular_post_content > .wrap > .front-loop-cont,
	.home #new_post_content > .wrap > .front-loop-cont,
	.home #recent_post_content > .wrap > .front-loop-cont,
	.home #category_post_content .front-category-block > .wrap > .front-loop-cont {
		grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
		gap: 24px 16px !important;
	}

	.home #popular_post_content .popular_post_box.rank-4,
	.home #popular_post_content .popular_post_box.rank-5 {
		display: block !important;
	}
}


/* ========================================
   スマホ：2列
======================================== */

@media screen and (max-width: 767px) {

	.home #popular_post_content > .wrap > .front-loop-cont,
	.home #new_post_content > .wrap > .front-loop-cont,
	.home #recent_post_content > .wrap > .front-loop-cont,
	.home #category_post_content .front-category-block > .wrap > .front-loop-cont {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
		gap: 18px 10px !important;
	}


	/* ========================================
	   人気記事：スマホでも4位・5位を表示
	======================================== */

	.home #popular_post_content .popular_post_box.rank-4,
	.home #popular_post_content .popular_post_box.rank-5 {
		display: block !important;
	}


	/* カテゴリー */
	.home .front-loop .popular_post_box .p_category {
		max-width: calc(100% - 20px) !important;
		margin: 10px 10px 3px !important;
		padding: 4px 8px !important;
		font-size: 10px !important;
	}


	/* 記事タイトル */
	.home .front-loop .popular_post_box h3 {
		margin: 6px 10px 12px !important;
		font-size: 13px !important;
		line-height: 1.55 !important;
	}
}


/* ========================================
   小型スマホ
======================================== */

@media screen and (max-width: 400px) {

	.home #popular_post_content > .wrap > .front-loop-cont,
	.home #new_post_content > .wrap > .front-loop-cont,
	.home #recent_post_content > .wrap > .front-loop-cont,
	.home #category_post_content .front-category-block > .wrap > .front-loop-cont {
		gap: 15px 8px !important;
	}

	.home .front-loop .popular_post_box h3 {
		font-size: 12px !important;
	}
}




/* チャット */

/* 
#aga-faga-sticky-footer{
	display: none !important;
}*/

.mwai-trigger.mwai-open-button {
  display: none !important;
}

body.single-lp .mwai-trigger.mwai-open-button,
body.single-man .mwai-trigger.mwai-open-button,
body.single-woman .mwai-trigger.mwai-open-button {
  display: none !important;
}

.mwai-messages-theme.mwai-window.mwai-open{
	z-index: 999999999999999999999999 !important;
}

.mwai-ai .mwai-name{
	display: inline-block !important;
    margin-bottom: .5em;
}

img.mwai-icon,
.mwai-ai .mwai-name img{
	border-radius: 50px;
}

.mwai-messages-theme.mwai-bubble .mwai-trigger .mwai-icon-container .mwai-icon{
    max-width: 100% !important;
    max-height: 100% !important;
}

.mwai-icon-container{
	box-shadow: 0 0 8px gray;
}

.mwai-trigger.mwai-open-button {
    margin-bottom: 20px;
}

.mwai-icon-text-close{
	font-size: 10px !important;
	height: 24px !important;
	width: 24px !important;
	top: -13px !important;
}

.mwai-icon-text{
	font-size: 10px !important;
	padding: 7px !important;
	margin-bottom: 10px !important;
	font-feature-settings: "palt";
}

.mwai-input{
	display: flex !important;
	flex-direction: row !important;
}

.mwai-messages-theme.mwai-window.mwai-open .mwai-input button{
	width: 80px !important;
	height: 45px !important;
	right: 6px !important;
}

.mwai-input-submit {
	margin: 0 !important;
}

.mwai-input-submit {
	font-size: 13px !important;
    border-radius: 0 10px 10px 0 !important;
	font-feature-settings: "palt";
}

.mwai-footer {
    margin-bottom: 30px !important;
}

.mwai-input-text {
    border-radius: 10px 0 0 10px !important;
	margin-bottom: 0px !important;
}

.mwai-input-text textarea{
	font-size: 14px !important;
}

.mwai-icon-container{
	position: relative;
}

.mwai-icon-container:after {
    content: "1";
    position: absolute;
    right: -5px;
    top: -5px;
    width: 20px;
    height: 20px;
    font-size: 12px;
    border-radius: 50%;
    text-align: center;
    color: #fff;
    background: red;
}

/* 冒頭 */
.dmm-aga-lp-img,
.todocli-aga-lp-img{
	width: 65%;
}

.video {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9のアスペクト比 */
    height: 0;
	margin-bottom: 2em;
}

.video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
	border: solid 7px;
	border-radius: 10px;
}

.dmm-aga-img-flex{
  display: flex;
  gap: 20px; /* 画像の間隔 */
  flex-wrap: wrap;
  justify-content: center;
	margin-bottom: 1em;
}

.dmm-aga-img-flex a{
  flex: 1 1 45%; /* 幅調整：PCなら横並び、スマホなら縦並び */
  max-width: 300px; /* 必要に応じて調整 */
}

.hair-loss-progression-diagram-img-flex{
  display: flex;
  gap: 40px; /* 画像の間隔 */
  flex-wrap: wrap;
  justify-content: center;
	margin-bottom: 2em;
}

.hair-loss-progression-diagram-img-flex img{
  flex: 1 1 45%; /* 幅調整：PCなら横並び、スマホなら縦並び */
  max-width: 300px; /* 必要に応じて調整 */
}

.dmm-aga-img-flex img {
  width: 100%;
  height: auto;
  display: block;
	box-shadow: 0 0 8px gray;
    border-radius: 10px;
    padding: 5px;
}

/* サイドウィジェット */
@media screen and (max-width: 1200px) {
    #main,
    .main-inner,
    #side {
        float: none;
        width: 100%;
        margin-left: 0;
        margin-right: 0;
    }

    #side {
        display: none !important;
    }
}

.side-widget-inner #searchform{
	border-radius: 50px !important;
}

@media screen and (max-width: 991px) {
    #side {
        padding-left: 20px;
	}
}

.widget_search {
  background: none !important;
  border: none !important;
}

h2.side-title {
	font-weight: bold !important;
    margin-bottom: 10px !important;
	background: #343434 !important;
    color: #fff !important;
}

.side-widget{
    margin-bottom: 10px !important;
	padding-bottom: 10px !important;
}

.side-widget ul li{
	padding: 0;
	border-bottom: none !important;
	margin-bottom: 10px;
}

.side-widget .post-date{
	margin: 0;
}

.media-block {
  margin-bottom: 1rem;
}

.media-block a{
    text-decoration: underline;
}

.media-block a:hover {
    text-decoration: none;
}

.media-block a {
  display: flex;
  align-items: center;
  gap: 15px;
  color: inherit;
}

.media-info {
  display: flex;
  flex-direction: column;
}

.media-text {
  font-weight: bold;
  font-size: 1.2rem;
  line-height: 1.2;
}

.media-caption {
  font-size: 0.85em;
  color: #777;
  margin-top: 4px;
}

.media-block img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 16px !important;
}

.recent-updated-posts-with-thumbs a,
.popular-posts-with-thumbs a,
.lp-posts-with-thumbs a{
	position: relative;
    line-height: 1.5;
    border: 1px #ddd solid;
    padding: 10px 50px 10px 10px;
    border-radius: 16px;
    font-feature-settings: "palt";
}

.recent-updated-posts-with-thumbs img,
.popular-posts-with-thumbs img,
.lp-posts-with-thumbs img{
	width: 80px;
	height: 80px;
	object-fit: cover;
	border-radius: 16px;
	margin-bottom: 5px;
}

.recent-updated-posts-with-thumbs a:after,
.popular-posts-with-thumbs a:after,
.lp-posts-with-thumbs a:after{
	content: '';
    width: 5px;
    height: 5px;
    border-top: 3px solid #ddd;
    border-right: 3px solid #ddd;
    transform: rotate(45deg) translateY(-50%);
    position: absolute;
    top: 50%;
    right: 25px;
}

/* Coming Soon */
.image-wrapper {
  position: relative;
  display: inline-block;
	font-feature-settings: "palt";
}

.image-wrapper img {
  display: block;
  max-width: 100%;
  height: auto;
}

.image-wrapper::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.3); /* 0.3 → 透明度。数値を大きくすると暗くなる */
}

.overlay-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 2rem;
  text-align: center;
  font-weight: bold;
  text-shadow: 2px 2px 5px rgba(0,0,0,0.7);
font-feature-settings: "palt";
}

.caption {
  margin-bottom: 1em;     /* 画像との間隔 */
  text-align: center;   /* 中央揃え */
  font-size: 12px;    /* テキストサイズ */
  font-weight: bold;    /* 強調 */
font-feature-settings: "palt";
}

/* h1 */
.post-title{
	line-height: 1.6em !important;
	margin: 0px !important;
}

.post-header .cat-name span{
	border-radius: 80px !important;
}

@media (max-width: 768px) {
	.color03 .post-header .cat-name span {
		font-size: 10px;
	}
	
    .post-title {
        font-size: 20px;
		margin: 0px;
    }
}

.cat-name{
	font-feature-settings: "palt";
}

.post-header,
.post-meta-area,
.post-meta-area .post-meta{
	border-bottom: none !important;
}

.column header.post-header {
    padding: 10px !important;
	margin: 0 0 5px 0;
}

/* 日付 */
ul.post-meta.list-inline {
    padding: 0 !important;
}

.post-meta-area{
	color: gray !important;
}

.single .post-meta-area .post-meta .published:before,
.single .post-meta-area .post-meta .modified:before{
	background: gray !important;
}

/* 日付と代表者プロフィールを横並びに */
ul.post-meta.list-inline {
    display: flex !important;
    flex-wrap: wrap;
    align-items: center;
    gap: 5px 2px;
    margin: 0 !important;
    list-style: none !important;
}
ul.post-meta.list-inline > li {
    margin: 0 !important;
    float: none !important;
    display: block !important;
	padding: 0 10px 3px 5px !important;
}
/* 著者名（user-penアイコン付き） */
li.author {
    padding: 5px !important;
	font-size: 14px;
	padding-left: 0 !important;
}
li.author::before {
    content: '';
    display: inline-block;
    width: 15px;
    height: 15px;
    margin-right: 4px;
    vertical-align: -2px;
    background: url('/wp-content/themes/xeory_extension-child/lib/images/icon/user-pen-solid-full.svg') no-repeat center / contain;
    filter: brightness(0) saturate(100%) invert(50%);
}

/* hタグ */
header#lp-header, .post-title, .post-content h1, .post-content h2, .post-content h3, .post-content h4, .post-content h5, .post-content h6 {
	font-weight: bold !important;
	line-height: 1.4;
	font-feature-settings: "palt" !important;
}

.post-content h2{
	font-size: 1.5em !important;
	padding: 16px !important;
}

.post-content h3{
	font-size: 1.3em !important;;
	border-bottom: none !important;
	padding: 5px 0 !important;
    margin: 2em 0 1em !important;	
}

/* 太さ */
.font-bold {
	font-weight: bold;
}

/* LP */
.postid-4687 .lp-thumbnail {
  display: none !important;
}

.single-lp .lp-thumbnail img{
	max-width: 500px;
}

/* h2下にh3見出し出力 */
.h2_under_content_title{
	font-weight: bold;
	margin-bottom: 5px;
	font-feature-settings: 'palt';
}

.h2_under_content ul {
	margin: 0;
	padding: 0;
}

.h2_under_content ul li{
	list-style: none;
	margin-bottom: 5px;
}

.h2_under_content a{
	position: relative;
	display: flex;
	padding-right: 25px;
    line-height: 1.5;
    border: 1px #ddd solid;
    padding: 10px 50px 10px 10px;
    border-radius: 16px;
	font-feature-settings: "palt";
}

.h2_under_content a:after{
	content: '';
    width: 5px;
    height: 5px;
    border-top: 3px solid #ddd;
    border-right: 3px solid #ddd;
    transform: translateY(-50%) rotate(135deg);
    position: absolute;
    top: 50%;
    right: 25px;
}

/* プロフィール */
/* カスタム投稿タイプ全体で post-author を消す */
body.single-lp .post-author{
  display:none !important;
}
aside.post-author {
	background: #f9f9f9 !important;
    margin: 0;
	border: none !important;
	border-radius: 5px !important;
}
aside.post-author p {
	margin: 0 !important;
	font-size: .8rem !important;
	line-height: 1.3;
}

/* 名前（h2から変換した p にも同じ見た目を適用） */
.post-author .post-author-meta h2,
.post-author .post-author-meta .post-author-name{
	font-weight: bold;
	font-size: .9rem !important;
	margin-bottom: 7px !important;
	font-feature-settings: "palt";
	background: none !important;
	border-left: none !important;
	padding: 0 !important;
}
.post-author .post-author-img img{
	display: block;
	border-radius: 50%;
	width: 90px;
	margin-right: 0;
}
.post-author a{
	color: #00e !important;
    text-decoration: underline;
}
.post-author .clearfix {
	display: flex;
	align-items: flex-start;
	gap: 10px;
}
.post-author .post-author-img {
	width: 90px !important;
	max-width: 90px !important;
	flex: 0 0 120px;
	padding: 0 !important;
	margin: 0 !important;
}
.post-author .post-author-meta {
	padding-top: 0 !important;
	margin-left: 0 !important;
	flex: 1;
	min-width: 0;
}
.post-author .post-author-img .inner,
.post-author .post-author-img .zoom-container {
	width: 90px;
	padding: 0 !important;
	margin: 0 !important;
	line-height: 0;
}
/* 目次下に配置したプロフィールの外側余白 */
.post-profile-before-toc {
	margin: 0;
}

/* 音声 */
.audio-title{
	font-weight: bold;
	font-feature-settings: "palt";
}

/* 冒頭LPボタン */
p.first-lp-click-img img{
    border-radius: 16px;
}

p.first-lp-click-button a {
    position: relative;
	display: block;
    line-height: 1.5;
    border: 1px #ddd solid;
	max-width: 500px;
    padding: 25px 50px 25px 15px;
    border-radius: 16px;
    font-feature-settings: "palt";
}

p.first-lp-click-button a:after {
    content: '';
    width: 5px;
    height: 5px;
    border-top: 3px solid #ddd;
    border-right: 3px solid #ddd;
    transform: rotate(45deg) translateY(-50%);
    position: absolute;
    top: 50%;
    right: 25px;
}

/* ul ol */
.post-content ul li ul,
.post-content ol li ol{
	margin-bottom: 0 !important;
}

.post-content ul, .post-content ol{
	margin-left: 0px;
}

/* カテゴリ画像 */
.home #front-contents .c_img_box{
    top: 50% !important;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
}

.c_img_box.lazyloaded {
    background-position: center center !important;
	background-size: contain !important;
	height: 50% !important;
}

@media screen and (max-width: 991px) {
    .home #front-contents .c_box.c_box_left .c_img_box, .home #front-contents .c_box.c_box_right .c_img_box {
		margin-top: 100px !important;
        height: 100px !important;
    }
}

/* 画像下キャプション */
.wp-caption.alignnone{
	margin-bottom: 32px !important;
}


/* 画像pictureタグ */
picture {
    display: block;
    margin-bottom: 32px !important;
}

/* 目次 */
#toc_container ul,
#toc_container ul li ul{
	padding-left: 0px !important;
	margin-left: 0px !important;
	margin-bottom: 10px !important;
}

/* ===== 目次リスト項目 ===== */
#toc_container li {
    position: relative !important;
    padding-left: 25px !important;
    list-style-type: none !important;
	line-height: 1.3 !important;
    font-feature-settings: "palt";
}

/* ===== アイコン（疑似要素） ===== */
#toc_container li:before {
    content: '' !important;
    position: absolute !important;
    left: 0 !important;
    top: 4px;
    display: block !important;
    width: 18px !important;
    height: 18px !important;
    margin-right: 0 !important;
    vertical-align: baseline !important;
    background: url(/wp-content/themes/xeory_extension-child/lib/images/icon/spiral-solid-full.svg) no-repeat center / contain !important;
    filter: brightness(0) saturate(100%) invert(18%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(22%) contrast(90%) !important;
}

/* ===== have_bullets クラス対応 ===== */
#toc_container.have_bullets li {
    padding-left: 22px !important;
}

div#toc_container {
    background: #f9f9f9 !important;
    padding: 20px 20px 20px 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

#toc_container p.toc_title{
	font-size: 16px !important;
	font-feature-settings: "palt" !important;
}

#toc_container p.toc_title:before{
	content: '';
    display: inline-block;
    width: 22px;
    height: 22px;
    margin-right: 5px;
    vertical-align: sub;
    background: url(/wp-content/themes/xeory_extension-child/lib/images/icon/book-open-reader-solid-full.svg) no-repeat center / contain;
    filter: brightness(0) saturate(100%) invert(18%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(22%) contrast(90%);
}
}

#toc_container {
    padding: 0;
    margin: 0;
}

/* 画像ポップアップ */
div#modal-meta {
    margin-top: 15px;
    color: #fff;
    text-align: center;
    line-height: 1.3;
}

button#prev-image {
    position: absolute;
    left: 30px;
    bottom: 70px;
    color: #fff;
	border-radius: 16px;
	text-decoration: none;
}

button#next-image {
    position: absolute;
    right: 15px;
    bottom: 70px;
    color: #fff;
	border-radius: 16px;
	text-decoration: none;
}

div#modal-meta .alt-description {
	font-size: 1em !important;
    color: #fff !important;
    margin: 0;
}

/* 関連記事 */
.related-articles-box{
	margin: 32px 0;
}

.related-articles-box img{
    border-radius: 16px;
	width: 150px;
	height: auto;
}

.related-articles-heading {
    font-weight: bold;
	margin-bottom: 5px;
}

.related-articles-heading::before {
	content: "";
	display: inline-block;
	width: 18px;
	height: 18px;
	margin-right: 6px;
	vertical-align: middle;
	background: url("/wp-content/themes/xeory_extension-child/lib/images/icon/link-solid-full.svg") no-repeat center / contain;
}

.related-articles-box a {
	position: relative;
    display: block;
    line-height: 1.5;
    border: 1px #ddd solid;
    padding: 10px 50px 10px 10px;
    border-radius: 16px;
    font-feature-settings: "palt";
}

.related-articles-box a:after {
    content: '';
    width: 5px;
    height: 5px;
    border-top: 3px solid #ddd;
    border-right: 3px solid #ddd;
    transform: rotate(45deg) translateY(-50%);
    position: absolute;
    top: 50%;
    right: 25px;
}

.related-articles-link{
	margin-top: 10px;
	line-height: 1.3;
	font-size: .9em;
}

/* 関連記事（リスト） */
.related-category-heading{
	font-weight: bold;
	font-feature-settings: "palt";
}

.related-category-posts {
    margin: 32px 0;
}

.related-category-posts img {
    border-radius: 16px;
}

.related-category-posts ul li a {
	position: relative;
    line-height: 1.5;
    border: 1px #ddd solid;
    padding: 10px 50px 10px 10px;
    border-radius: 16px;
    font-feature-settings: "palt";
}

.related-category-posts ul li a:after {
    content: '';
    width: 5px;
    height: 5px;
    border-top: 3px solid #ddd;
    border-right: 3px solid #ddd;
    transform: rotate(45deg) translateY(-50%);
    position: absolute;
    top: 50%;
    right: 25px;
}

.related-category-posts-open-button {
    font-size: .9em;
    font-feature-settings: "palt";
    margin: 20px 20px 20px 0;
    text-align: right;
}

.related-category-posts ul {
    padding: 0 !important;
    margin: 0 !important;
}

.related-category-posts ul li {
    list-style: none;
    margin: 5px 0;
    font-size: .9em;
    line-height: 1.3;
}

.related-category-posts-open-button a{
	position: relative;
	display: block;
}

.related-category-posts-open-button a:after {
    content: '';
    width: 5px;
    height: 5px;
    border-top: 3px solid #0000ee;
    border-right: 3px solid #0000ee;
    transform: translateY(-50%) rotate(135deg);
    position: absolute;
    top: 50%;
    right: -13px;
}

/* コラム記事：LP関連記事を横並び */
.related-articles-group {
  margin: 2em 0;
  font-feature-settings: "palt";
}

.related-articles-grid {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.related-articles-item {
  display: block;
  flex: 1 1 calc(50% - 16px); /* 2カラム */
  text-decoration: none;
  border: 1px solid #ddd;
  border-radius: 16px;
  overflow: hidden;
  padding: 12px;
}

.related-articles-item img{
  border-radius: 16px;
}







/* キャプション */
.alt-description{
	text-align: center;
	color: gray;
	margin-top: 5px;
    font-size: 0.7em;
	margin-bottom: 1em;
}

figure{
	margin-bottom: 2em;
	text-align: left !important;
}

figcaption{
	text-align: center;
	margin-top: 1em;
	margin-bottom: 2em;
	font-size: .8em;
	font-feature-settings: "palt";
}



/* 1つ目h2上 */
.tab-switcher { margin: 32px 0; }
.tab-switcher img { border-radius: 16px; display: block; }
.tab-buttons { display: flex; gap: 10px; margin-bottom: 20px; }
.tab-btn {  position: relative; padding: 8px 16px; border: none; background: #eee; cursor: pointer; border-radius: 16px; font-feature-settings: "palt"; width: 50%; text-align: center; }
.tab-btn:after{
	content: "";
  position: absolute;
  top: 99%;
  left: 50%;
  margin-left: -15px;
  border: 15px solid transparent;
  border-top: 15px solid #eee; 
}
.tab-switcher-first-p:after{
	content: "…↓";
	margin-left: 3px;
}
.tab-btn.active { position: relative; background: #343434; color: #fff; text-decoration: none; }
.tab-btn.active:after{
	content: "";
  position: absolute;
  top: 99%;
  left: 50%;
  margin-left: -15px;
  border: 15px solid transparent;
  border-top: 15px solid #343434 !important; 
}
.tab-content { display: none; } 
.tab-content.active { display: block; }

#fixed-nav-links {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
/*background-color: rgba(255, 255, 255, 0.5);*/
  z-index: 10;
  padding: 5px 5px;
  text-align: center;
  /*box-shadow: 0 4px 10px rgba(0,0,0,0.05);*/
}
.fixed-nav-btn {
  position: relative;
	display: inline-block;
  padding: 5px 30px 5px 15px;
  background: rgba(43, 43, 43, 0.8);
  color: #fff !important;
  border-radius: 16px;
  text-decoration: underline !important;
  font-size: clamp(11px, 2vw, 14px); /* 画面幅に応じて12px〜14pxの範囲で可変 */
	margin: 0 5px; 
	font-feature-settings: "palt";
}
.fixed-nav-btn:after{
content: '';
width: 5px;
height: 5px;
border-top: 3px solid #fff;
border-right: 3px solid #fff;
transform: rotate(-45deg) translateY(-50%);
position: absolute;
top: 50%;
right: 10px;
}

/* 表 */
.th-size,
.th-item{
	min-width: 120px !important;
}

.table_model_comparison .th-size,
.table_model_comparison .th-item{
	width: 120px !important;	
}

.table_model_comparison td,
.table-wrap td{
    white-space: normal !important;
    word-break: break-word !important; 
}

.table_model_comparison {
    font-size: .8em !important;
}

table.table_model_comparison tbody ul {
	padding-left: 0 !important;	
}

table.table_model_comparison tbody ul li {
    list-style: none;
}

table.table_model_comparison tbody ul li ul {
	padding-left: 1.2em !important;	
}

table.table_model_comparison tbody ul li ul li {
	list-style: disc;
}

.table_model_comparison .font-bold {
	font-feature-settings: "palt";
}

.custom-gallery td{
	vertical-align: top !important;
}

.custom-gallery .table-wrap{
	margin-bottom: 10px !important;
}

.custom-gallery table{
	margin-bottom: 10px !important;
}

span.table-cross,
span.table-circle {
    display: block;
	line-height: 1.4;
}

.table-wrap {
	margin-bottom: 0 !important;
}

.table-wrap.table-grad{
    margin-bottom: .2em !important;
}

.table_model_comparison tfoot{
  overflow-wrap: break-word;
  word-wrap: break-word;
  white-space: normal;
}

.width-color,
.height-color,
.depth-color,
.diagonal-color{
    color: #fff;
	padding: .2em;
	margin: 0 .2em;
	border-radius: 5px;
}

.width-color {
    background: rgba(255, 0, 0, 0.5); /* 赤を淡くする */
}

.height-color {
    background: rgba(0, 0, 255, 0.5); /* 青を淡くする */
}

.depth-color {
    background: rgba(0, 128, 0, 0.5); /* 緑を淡くする */
}

.diagonal-color {
    background: rgba(162, 96, 191, 0.5); /* 紫を淡くする */
}

.table-circle {
    color: blue;
}

.table-cross {
    color: red;
}

.formula-size:before {
    content: "└";
    margin-right: 3px;
}

.formula-size {
    display: block;
}

/* tbodyのアコーディオン機能 */
.tbody-toggle {
    cursor: pointer;
    background-color: #f1f1f1;
    font-weight: bold;
    padding: 10px;
    border-bottom: 1px solid #ddd;
    text-align: left;
    position: relative; /* 相対位置指定 */
}

.tbody-toggle span {
    float: left;
    font-weight: bold;
	margin-right: 5px;
	color: gray;
}

.table-grad:after{
	pointer-events: none !important;
}

/* 商品名のテキストをコピーしました */
.copy-notification {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    padding: 5px 10px;
	margin-left: 5px;
    background-color: rgb(0, 115, 170);
    color: rgb(255, 255, 255);
    border-radius: 5px;
    font-size: 0.9em;
    white-space: normal;
    display: inline-block;
    max-width: 300px;
    overflow-wrap: break-word;
    z-index: 9999;
}


/* button スタイル無効 */
button {
  all: unset; /* すべてのデフォルトスタイルをリセット */
  -webkit-appearance: none;
  appearance: none;
  display: inline-block; /* 必要ならデフォルトのブロック要素を防ぐ */
	cursor: pointer;
}


/* pr */
.post-thumbnail,
header#lp-header {
    position: relative;
	text-align: center;
}
.pr {
    text-align: right;
}
.pr:after {
    content: "PR";
    padding: 10px;
	margin-right: 10px;
    font-size: 10px;
    color: #777;
}

.gender-notice {
    padding: 15px;
    margin-bottom: 10px;
    border-radius: 5px;
    text-align: center;
    font-weight: bold;
    font-size: 16px;
}

.gender-notice.female {
    background-color: #f0f7ff;
    border: 2px solid #0073aa;
    color: #333;
}

.gender-notice.male {
    background-color: #fff0f5;
    border: 2px solid #d63384;
    color: #333;
}

.gender-notice a {
    text-decoration: underline;
    color: #00e !important;
    font-size: 1.1em;
}

/* 比較ページ */
.level-fig {
  display: flex;
  flex-direction: column;   /* ペアを縦積み */
  gap: 5px;                /* ペア間の縦間隔 */
  margin: 5px 0 10px;      /* テキストとの余白 */
}
.view-pair {
  display: flex;            /* 1ペア＝横並び */
  gap: 5px;                /* top/side の間隔 */
  align-items: center;
  flex-wrap: wrap;          /* 端末が狭い時は折返し */
}

.level-img {
  width: 90px;
  height: 90px;
  object-fit: cover;
  border-radius: 50%;       /* 丸くする */
  border: 2px solid #ccc;
}

.level-selector-box {
    margin-bottom: 2em;
    border-radius: 10px;
}

ol.level-selector li {
  position: relative;
  background: #f0f0f0;
  padding: 35px 20px;
  border-radius: 10px;
  transition: background-color .2s ease, box-shadow .2s ease;
}

ol.level-selector li:hover {
  box-shadow: 0 0 8px gray;
}

.level-selector li.is-selected::after {
  content: "選択中";
  display: block;
  position: absolute;
  top: 3px;
  right: 3px; 
  background: #d9534f;
  color: #fff;
  font-size: 11px;
  font-weight: bold;
  padding: 5px;
  border-radius: 5px;
  z-index: 2;
  line-height: 1.2;
}

ol.level-selector li:has(input[name="level"]:checked) {
  box-shadow: 0 0 0 2px #007c5a22 inset;
}

.single-man ol.level-selector li:has(input[name="level"]:checked) {
  background: #e5f7c8;
  border: 3px solid #007c5a;
}

.single-woman ol.level-selector li:has(input[name="level"]:checked) {
  background: #f7c8d8;
  border: 3px solid #e75480;
}

.level-selector {
  list-style: decimal;
  padding-left: 1.8em;
  margin-bottom: 16px;
  font-feature-settings: "palt";
}
.level-selector {
  list-style-type: none !important;
  counter-reset: level-counter;
  padding-left: 0;
}
.level-selector li {
  counter-increment: level-counter;
  position: relative;
  padding-left: 5em; 
  margin-bottom: 1.5em;
}

.level-selector li::before {
    content: "レベル" counter(level-counter);
    position: absolute;
    left: 5px;
    top: 5px;
    display: inline-block;
    color: #fff;
    background: #27343c;
    padding: 5px;
    font-weight: 700;
    font-size: 11px;
    border-radius: 5px;
    z-index: 1;
    white-space: nowrap;
}

.level-selector li.is-selected::after {
  top: 5px;
  right: 5px;
  z-index: 2;
}
.level-selector li {
  position: relative;
  margin-bottom: 12px;
  line-height: 1.4;
}
.level-selector label {
  display: inline-block;
  vertical-align: top;
}

.protect,
.attack{
    color: #fff;
    padding: 3px;
    font-size: 12px;
    border-radius: 50%;
	margin-left: 5px;
	margin-right: 1px;
}

.protect{
	background: #6c7beb;
}

.attack{
	background: #f279e4;
}

.aga-current-filters,
.faga-current-filters{
	font-feature-settings: "palt";
}

.aga-table,
.faga-table{
	font-feature-settings: "palt";
}

.table-clinic-thumbnail {
	margin-bottom: 1em;
}

.table-clinic-thumbnail img {
  max-width: 100px;
  height: auto;
}

@media (max-width: 600px) {
  .table-clinic-thumbnail img {
    max-width: 35px;
  }
}

.med-choice-wrap {
  display: flex;
  gap: 12px;
  margin-top: 10px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.med-card {
	position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 2px solid #ccc;
  border-radius: 8px;
  padding: 10px;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s;
  max-width: 140px;
  text-align: center;
  font-size: 14px;
	font-feature-settings: "palt";
}

.med-card input {
  display: none;
}

.med-card img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  margin-bottom: 6px;
}

.med-card span {
  display: block;
}

.med-card input:checked + img {
  outline-offset: 2px;
}

.single-man .med-card input:checked + img {
  outline: 3px solid #007c5a;
}

.single-woman .med-card input:checked + img {
  outline: 3px solid #e75480;
}

.selected-label {
	position: absolute;
  display: none;
  color: #fff;
	background: #d9534f;
	padding: 5px;
  font-size: 13px;
	border-radius: 5px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
}

.med-card input:checked ~ .selected-label {
  display: block;
  font-weight: bold;
}

.btn-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.toggle-month-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.month-desc {
  font-size: 12px;
  color: #666;
  margin-left: 4px;
}

@media screen and (max-width: 767px) {
    .post-content, .post-footer {
		margin-top: 5px !important;
        padding: 5px !important;
	}
	.single-lp #content{
		padding: 0 !important;
	}
    .single-lp .lp-wrap {
        width: auto;
        margin: 0 !important;
    }
}

.clinic-summary {
    padding: 25px 10px 25px 10px;
    border-radius: 10px;
    margin-bottom: 20px;
	border: 2px solid #ccc;
}

.clinic-summary dd {
    margin-left: 0 !important;
}

.clinic-summary h4 {
    margin-top: 10px !important;
	font-weight: bold !important;
}

.clinic-summary h5 {
    margin-top: 0 !important;
    margin-bottom: 5px !important;
}

.clinic-compare-table {
	margin-bottom: 2em;
}

.plan-bar-container {
    background: #f9f9f9;
    border: 1px solid #ddd;
    padding: 15px;
    border-radius: 10px;
}

/* 行間など微調整 */
.level-selector li { margin-bottom: 20px; }
.level-desc { margin-top: 8px; line-height: 1.5; }

/* スマホ最適化（必要なら） */
@media (max-width: 480px) {
  .level-img { width: 78px; height: 78px; }
  .view-pair { gap: 5px; }
}

/* ランキングアイキャッチとリンクボタン */
.clinic-info-wrapper {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 20px;
}

.clinic-thumbnail img {
    height: auto;
    display: block;
}

.clinic-info-wrapper {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    gap: 5%; /* 10%を2分割して中央の隙間に */
    margin-bottom: 0 !important;
}

.clinic-thumbnail {
    width: 49%;
	padding: 15px;
}

.clinic-meta {
    width: 49%;
	padding: 15px;
}

.clinic-meta-bottom {
    position: sticky;
    bottom: 0;
    padding: 10px 15px;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(100%); /* 100%下に移動 */
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
}

.clinic-meta-bottom.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0); /* 元の位置（bottom: 0）に戻る */
}

.clinic-meta a,
.clinic-meta-bottom a{
    position: relative;
    background-color: #ffa41c;
    color: #fff !important;
    border-radius: 4px;
    box-shadow: inset 0px -4px 0px rgba(0, 0, 0, 0.1);
    cursor: pointer;
	line-height: 1.3;
    padding: 20px 30px 20px 8px;
    vertical-align: top;
    width: 100%;
    display: inline-block;
    text-align: center;
	font-feature-settings: "palt";
}

/*
.clinic-meta a:after,
.clinic-meta-bottom a:after{
	position: absolute;
	content: '';
    width: 5px;
    height: 5px;
    border-top: 3px solid #fff;
    border-right: 3px solid #fff;
    transform: rotate(45deg) translateY(-50%);
    top: 50%;
    right: 25px;
}
*/

@media screen and (max-width: 767px) {
    .clinic-info-wrapper {
        flex-direction: column;
    }

    .clinic-thumbnail{
        width: 60%;
		margin-right: auto;
		margin-left: auto;
    }
    .clinic-meta {
        width: 100%;
    }
}

/* ランキング テーブル */
.clinic-ranking-section-aga-table-box,
.clinic-ranking-section-faga-table-box {
    max-width: 1000px;
    overflow-x: scroll;
}

.rank-item{
	border: 1px solid #ccc;
	padding: 5px;
	border-radius: 5px;
}

.clinic-ranking-section-aga-table th,
.clinic-ranking-section-aga-table td,
.clinic-ranking-section-faga-table th,
.clinic-ranking-section-faga-table td {
  width: 120px;
  min-width: 120px;
  max-width: 120px;
}

.clinic-summary table th {
	width: 70px !important;
	word-wrap: break-word;  /* 単語単位で改行 */
	white-space: normal;    /* 折り返しを許可 */
	font-size: 12px !important;
	font-feature-settings: "palt";
}

.clinic-summary table td {
	word-wrap: break-word;  /* 単語単位で改行 */
	white-space: normal;    /* 折り返しを許可 */
	font-size: 12px !important;
	font-feature-settings: "palt";
}

/* アコーディオン */
.level-accordion,
.clinic-accordion{
    margin: 10px 0;
}

.level-accordion table{
	font-size: 9px;
}

.level-accordion table,
.clinic-accordion table{
	font-feature-settings: "palt";
	line-height:1.5;
	margin-top:10px;
}

.level-accordion summary,
.clinic-accordion summary{
    position: relative;
    font-weight: bold;
    cursor: pointer;
    background: #f9f9f9;
    padding: 10px 50px 10px 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    outline: none;
    font-feature-settings: "palt";
    overflow: hidden;
    list-style: none; /* summaryの矢印を非表示 */
}

.level-accordion summary::after,
.clinic-accordion > summary::after,
.clinic-accordion details > summary::after {
    content: '';
    width: 5px;
    height: 5px;
    border-top: 3px solid #ddd;
    border-right: 3px solid #ddd;
    transform: translateY(-50%) rotate(135deg); /* 右向き */
    position: absolute;
    top: 50%;
    right: 25px;
    transition: transform 0.2s ease;
}

.level-accordion[open] summary::after,
.clinic-accordion[open] > summary::after,
.clinic-accordion details[open] > summary::after {
    transform: translateY(-50%) rotate(-45deg); /* 下向き */
}

details[open] > summary {
	background: #e6b422;
}

/* 症例 */
.clinic-cases ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.clinic-cases ul li{
    margin: 5px 15px 10px 15px;
}










/* ▼▼▼ disabled スタイル（バツ印を追加） ▼▼▼ */
.toggle-month-btn:disabled,
.toggle-month-btn:disabled:hover,
.toggle-month-btn:disabled.active,
.faga-toggle-month-btn:disabled,
.faga-toggle-month-btn:disabled:hover,
.faga-toggle-month-btn:disabled.active{
  /* 1. 疑似要素(バツ印)を配置するための基準 */
  position: relative !important;
  
  /* 2. 背景や枠線を無効っぽくする */
  background: #f5f5f5 !important; 
  border-color: #eee !important; 
  
  /* 3. 元の文字（1ヶ月ごと 等）を透明にして隠す */
  color: transparent !important; 
  
  cursor: not-allowed !important;
  opacity: 0.7 !important;
  box-shadow: none !important; 
}

/* 4. バツ印 (×) を疑似要素で追加 */
.toggle-month-btn:disabled::after,
.faga-toggle-month-btn:disabled::after{
	content: '×';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: red;
    font-size: 50px;
    height: 60px;
    font-weight: 700;
    line-height: 1;
    z-index: 1;
    opacity: 1;
}
/* ▲▲▲ 差し替えここまで ▲▲▲ */





/* 地図 */
html.modal-open,
body.modal-open {
  overflow: hidden !important;
  -webkit-overflow-scrolling: auto; 
}

.open-map-popup-btn,
.faga-open-map-popup-btn{
	float: right;
    font-size: 11px;
    padding: 2px 6px;
    margin: 10px 0 0 10px;
    cursor: pointer;
    background: #f0f0f0;
    border: 1px solid #ccc;
    border-radius: 4px;
    vertical-align: middle;
	text-decoration: underline;
	font-feature-settings: "palt";
}
.open-map-popup-btn:hover,
.faga-open-map-popup-btn{
    background: #e0e0e0;
}

/* ポップアップ（モーダル）のスタイル */
.aga-map-popup-overlay,
.faga-map-popup-overlay{
    display: none; /* JSで display: flex; に変更して表示 */
    position: fixed;
    z-index: 10000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    /* 垂直・水平中央揃え */
    align-items: center;
    justify-content: center;
}
.aga-map-popup-content,
.faga-map-popup-content{
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}
#aga-map-popup-title,
#faga-map-popup-title{
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 18px;
	line-height: 1.2;
}
.aga-map-iframe-container,
.faga-map-iframe-container{
	position: relative; /* スピナーを中央配置するための基準 */
    width: 100%;
    height: 400px; /* 地図の高さ */
	background: #f9f9f9; /* 地図読み込み中の背景色 */
}

.map-loader {
    display: none; /* JSで表示を切り替えます */
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    margin-top: -20px;  /* 高さの半分 */
    margin-left: -20px; /* 幅の半分 */
    border: 4px solid #f0f0f0; /* スピナーの薄い方の色 */
    border-radius: 50%;
    animation: spin 1s linear infinite;
    z-index: 1;
}

.aga-map-iframe-container .map-loader{
	border-top: 4px solid #007c5a; /* スピナーの濃い色 (サイトのメインカラーなどに合わせる) */
}

.faga-map-iframe-container .map-loader{
	border-top: 4px solid #e75480; /* スピナーの濃い色 (サイトのメインカラーなどに合わせる) */
}

/* .loading クラスが付与されたらスピナーを表示 */
.aga-map-iframe-container.loading .map-loader,
.faga-map-iframe-container.loading .map-loader {
    display: block;
}

/* ▼▼▼ くるくる回るアニメーション ▼▼▼ */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ▼▼▼ iframeの表示制御 ▼▼▼ */
.aga-map-iframe-container iframe,
.faga-map-iframe-container iframe {
    /* 読み込み中は透明にする */
    opacity: 0;
    transition: opacity 0.3s ease;
    border: 0; /* 既存の style="border:0;" をCSSに移動 */
}

/* .loaded クラスが付与されたら表示 (フェードイン) */
.aga-map-iframe-container iframe.loaded,
.faga-map-iframe-container iframe.loaded {
    opacity: 1;
}

.aga-map-popup-footer,
.faga-map-popup-footer{
    display: flex;
    justify-content: center; /* 中央揃え */
    align-items: center;
    gap: 10px; /* ボタン間の隙間 */
    margin-top: 15px;
}

.aga-map-popup-close-btn,
.faga-map-popup-close-btn {
	margin: 0 !important;
	padding: 8px 16px;
    cursor: pointer !important;
    background: #eee;
    border-radius: 5px !important;
    flex: 1; /* ボタン幅を均等化 */
	border: #ddd solid 1px;
    text-align: center;
	text-decoration: underline;
}

.aga-map-popup-link-btn,
.faga-map-popup-link-btn{
	position: relative;
    display: inline-block; /* JSで表示を切り替えます */
    padding: 10px 20px;
    cursor: pointer;
    background: #ffa41c;
    color: #fff !important;
    border-radius: 5px;
    text-decoration: none;
    flex: 1; /* ボタン幅を均等化 */
    text-align: center;
  text-decoration: underline;
}

/*
.aga-map-popup-link-btn:after,
.faga-map-popup-link-btn:after{
	position: absolute;
	content: '';
    width: 5px;
    height: 5px;
    border-top: 3px solid #fff;
    border-right: 3px solid #fff;
    transform: rotate(45deg) translateY(-50%);
    top: 48%;
    right: 15px;
}
*/
/* 地図 */




/* AGA Clinic - Social Icons (Simple / Flat) */
.aga-social{
  display:flex !important;
  flex-wrap:wrap;
  gap:12px;
  justify-content:center;
  align-items:center;
  align-content:center;
  margin:0;
  padding:0;
}

.aga-social__btn{
  width:46px;
  height:46px;
  border-radius:12px;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  text-decoration:none;

  background:transparent;                 /* 影なし */
  border:1px solid rgba(0,0,0,.12);       /* 薄い枠だけ */
  box-shadow:none !important;             /* 影を完全に無効化 */
  transform:none !important;              /* 浮き上がり無効 */
  line-height:0 !important;               /* 画像のベースライン余白対策 */

  transition:background .15s ease, border-color .15s ease, opacity .15s ease;
}

.aga-social__btn img{
  width:22px;
  height:22px;
  object-fit:contain;
  display:block;
}

.aga-social__btn:hover{
  background:rgba(0,0,0,.04);             /* うっすら反応だけ */
  border-color:rgba(0,0,0,.18);
}

.aga-social__btn:active{
  opacity:.85;
}

.aga-social__btn:focus-visible{
  outline:2px solid rgba(0,0,0,.35);
  outline-offset:3px;
}

/* Dark mode */
@media (prefers-color-scheme: dark){
  .aga-social__btn{
    border-color:rgba(255,255,255,.18);
  }
  .aga-social__btn:hover{
    background:rgba(255,255,255,.06);
    border-color:rgba(255,255,255,.26);
  }
  .aga-social__btn:focus-visible{
    outline:2px solid rgba(255,255,255,.55);
  }
}

/* Small screens */
@media (max-width:480px){
  .aga-social__btn{ width:42px; height:42px; border-radius:11px; }
  .aga-social__btn img{ width:20px; height:20px; }
}









/* ====== 吹き出し ====== */
.aga-bubble{
  display:flex;
  gap:12px;
  margin:2em 0;
  align-items:flex-start;
}
.fqa-section .aga-bubble{
  margin: 0;
}
.aga-bubble__avatar{
  width:84px;
  flex:0 0 84px;
  text-align:center;
}
.aga-bubble__img{
  width:64px;
  height:64px;
  border-radius:999px;
  object-fit:cover;
  display:block;
  margin:0 auto 6px;
}
.aga-bubble__name{
  font-size:12px;
  line-height:1.2;
  opacity:.85;
  font-weight:bold;
}
.aga-bubble__body{
  flex:1;
  max-width:720px;
}
.aga-bubble__text{
  position:relative;
  padding:15px 20px;
  border-radius:14px;
  background:#f9f9f9;
  border:1px solid #ddd;
  line-height:1.7;
}

/* ---- しっぽ共通 ---- */
.aga-bubble__text:before,
.aga-bubble__text:after{
  content:"";
  position:absolute;
  width:0;
  height:0;
  border-style:solid;
}

/* ---- 左向き（女性） ---- */
.aga-bubble--left .aga-bubble__text:before{   /* 外側＝枠線色 */
  left:-9px;
  top:17px;
  border-width:9px 9px 9px 0;
  border-color:transparent #ddd transparent transparent;
}
.aga-bubble--left .aga-bubble__text:after{    /* 内側＝塗り色 */
  left:-7px;
  top:18px;
  border-width:8px 8px 8px 0;
  border-color:transparent #f9f9f9 transparent transparent;
}

/* ---- 右向き（男性） ---- */
.aga-bubble--right{
  flex-direction:row-reverse;
}
.aga-bubble--right .aga-bubble__avatar{
  text-align:center;
}
.aga-bubble--right .aga-bubble__text:before{  /* 外側 */
  right:-9px;
  top:17px;
  border-width:9px 0 9px 9px;
  border-color:transparent transparent transparent #ddd;
}
.aga-bubble--right .aga-bubble__text:after{   /* 内側 */
  right:-7px;
  top:18px;
  border-width:8px 0 8px 8px;
  border-color:transparent transparent transparent #f9f9f9;
}

/* ====== FAQ吹き出し：アイコンを上にして吹き出しを全幅に ====== */
.faq-answer .aga-bubble.faq-bubble{
  flex-direction:column;
  align-items:stretch;
  gap:10px;
}
.faq-answer .faq-bubble .aga-bubble__avatar{
  width:auto;
  flex:none;
  text-align:left;
}
.faq-answer .faq-bubble .aga-bubble__body{
  flex:none;
  max-width:none;
}
.faq-answer .faq-bubble .aga-bubble__img{
  margin-left:0;
  margin-right:auto;
}

/* ---- FAQ：しっぽを上向きに付け替え ---- */
.faq-answer .faq-bubble .aga-bubble__text:before{  /* 外側 */
  left:23px;
  right:auto;
  top:-9px;
  border-width:0 9px 9px 9px;
  border-color:transparent transparent #ddd transparent;
}
.faq-answer .faq-bubble .aga-bubble__text:after{   /* 内側 */
  left:24px;
  right:auto;
  top:-7px;
  border-width:0 8px 8px 8px;
  border-color:transparent transparent #f9f9f9 transparent;
}

/* ====== CTAボタン：男性/女性カラムを横並びに ====== */
.faq-cta-buttons{
  flex-direction:row;
  gap:10px;
}
.faq-cta-buttons .faq-cta-column{
  flex:1 1 0;
  min-width:0;
}
@media (max-width:600px){
  .faq-cta-buttons{
    flex-direction:column;
  }
}















/* /man/clinic/〇〇、/woman/clinic/〇〇  */
.clinic-child-post-list {
    margin: 20px 0 40px;
    display: grid;
    gap: 16px;
}

.clinic-child-post-item {
    border: 1px solid #eee;
    border-radius: 8px;
    background: #fff;
    overflow: hidden;
}

.clinic-child-post-link {
    display: flex;
    gap: 14px;
    padding: 12px;
    text-decoration: none;
    color: inherit;
}

.clinic-child-post-thumb {
    width: 120px;
    flex: 0 0 120px;
}

.clinic-child-post-thumb img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 6px;
}

.clinic-child-post-text {
    flex: 1;
}

h3.clinic-child-post-title {
	margin-top: 0 !important;
    font-size: 16px;
    line-height: 1.5;
    color: #333;
}



.clinic-child-post-date {
    margin: 0;
    font-size: 12px;
    color: #777;
}

@media (max-width: 480px) {
    .clinic-child-post-link {
        display: block;
    }

    .clinic-child-post-thumb {
        width: 100%;
        margin-bottom: 10px;
    }
}












/* ========================================
   OS標準フォント
======================================== */
body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Helvetica Neue', 'Helvetica', 'Arial', 'Hiragino Sans', 'ヒラギノ角ゴシック', YuGothic, 'Yu Gothic', 'メイリオ', Meiryo, sans-serif !important;
}