@charset "UTF-8";

/*
 * 施術ページ（menu投稿タイプ）SEO施策追加スタイル
 * 読み込み条件: is_singular('menu') || is_page('menu') || is_front_page()
 */

/* =====================
   ユーティリティ
   ===================== */

.u-flex-columns.col3 {
	gap: 30px 40px;
	flex-wrap: wrap;
	justify-content: flex-start;
	align-items: stretch;
}

.u-flex-columns.col3 li {
	width: calc((100% - 80px) / 3);
}

@media screen and (max-width: 1040px) {
	.u-flex-columns.col3 li {
		width: calc((100% - 80px) / 2);
	}
}

@media screen and (max-width: 768px) {
	.u-flex-columns.col3 .c-btn-cat {
		border: none;
		height: 11vw;
	}

	.u-flex-columns.col3 li {
		width: 100%;
	}

	.u-flex-columns.col3>li:not(:last-child) {
		margin-bottom: 1em;
	}
}

/* col3 gap小さい版（上下左右20px） */
.u-flex-columns.col3.gap-sm {
	gap: 20px;
}

.u-flex-columns.col3.gap-sm li {
	width: calc((100% - 40px) / 3);
}

@media screen and (max-width: 1040px) {
	.u-flex-columns.col3.gap-sm li {
		width: calc((100% - 20px) / 2);
	}
}

@media screen and (max-width: 768px) {
	.u-flex-columns.col3.gap-sm li {
		width: 100%;
	}
}

/* =====================
   レイアウト
   ===================== */

/* l-sectionより小さいセクション間余白 */
.l-section-sm {
	display: block;
	padding-bottom: 12.8vw;
}

.l-section-sm:last-child {
	padding-bottom: 0;
}

@media screen and (min-width: 769px) {
	.l-section-sm {
		padding-bottom: 64px;
	}
}

/* l-section-smより小さい見出し内セクション余白 */
.l-section-xs {
	display: block;
	padding-bottom: 6.4vw;
}

.l-section-xs:last-child {
	padding-bottom: 0;
}

@media screen and (min-width: 769px) {
	.l-section-xs {
		padding-bottom: 24px;
	}
}

/* =====================
   m-flex-block 拡張
   ===================== */

/* リバース版（図版を右側に配置） */
@media screen and (min-width: 769px) {
	.m-flex-block.reverse {
		flex-direction: row-reverse;
		justify-content: flex-end;
	}
}

/* figure 小サイズ版（横幅284px固定） */
@media screen and (min-width: 769px) {
	.m-flex-block__figure.size-sm {
		width: 284px;
		height: auto;
	}
}

/* margin-bottom 小さい版 */
.m-flex-block.mb-sm {
	margin-bottom: 40px;
}

/* =====================
   区切り線付きアイテム
   ===================== */

.m-divider-item:not(:last-child) {
	border-bottom: 1px solid #dadce5;
	padding-bottom: 8.5333333333vw;
	margin-bottom: 40px;
}

@media screen and (min-width: 769px) {
	.m-divider-item:not(:last-child) {
		padding-bottom: 40px;
		margin-bottom: 40px;
	}
}

/* =====================
   番号付き見出し
   ===================== */

.m-labeled-heading {
	margin-bottom: 16px;
}

.m-labeled-heading__label {
	font-size: 1.2rem;
	font-weight: 300;
}

.m-labeled-heading__number {
	font-size: 2.3rem;
	font-weight: 300;
}

.m-labeled-heading__title {
	font-size: 2rem;
	font-weight: 700;
	display: block;
	margin-top: 8px;
}

@media screen and (min-width: 769px) {
	.m-labeled-heading__label {
		font-size: 1.5rem;
	}

	.m-labeled-heading__number {
		font-size: 2.6rem;
	}

	.m-labeled-heading__title {
		font-size: 2.4rem;
	}
}

/* =====================
   番号付きカードグリッド
   ===================== */

.m-concern-cards {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 40px;
}

.m-concern-cards__item {
	background-color: #f7f7f9;
	border-radius: 4px;
	padding: 36px 32px;
	display: flex;
	flex-direction: column;
	gap: 36px;
}

.m-concern-cards__figure {
	order: -1;
	margin: 0 auto;
	text-align: center;
}

.m-concern-cards__figure img {
	max-width: 100%;
	height: auto;
}

.m-concern-cards__body {
	flex: 1;
}

.m-concern-cards__heading {
	font-size: 2rem;
	font-weight: 700;
	line-height: 1.5;
	margin-bottom: 16px;
	display: flex;
	align-items: center;
	gap: 10px;
}

.m-concern-cards__number {
	font-size: 5.2rem;
	font-weight: 300;
	color: #d2dde6;
	flex-shrink: 0;
	padding-right: 10px;
	border-right: 1px solid #d2dde6;
	line-height: 1;
}

@media screen and (max-width: 768px) {
	.m-concern-cards {
		grid-template-columns: 1fr;
		gap: 24px;
	}

	.m-concern-cards__item {
		padding: 6.4vw 5.3333333333vw;
	}
}

/* =====================
   注意パネル拡張
   ===================== */

/* アイコンなしバージョン */
.m-panel-attention dt.no-icon::before {
	content: none;
}

.m-panel-attention dd:not(:last-child) {
	padding-bottom: 32px;
	margin-bottom: 32px;
	border-bottom: 1px solid #dadce5;
}

/* =====================
   テーブル拡張
   ===================== */

/* margin-bottom 中間サイズ */
.m-table-scroll.mb-medium:not(:last-child) {
	margin-bottom: 8vw;
}

@media screen and (min-width: 769px) {
	.m-table-scroll.mb-medium:not(:last-child) {
		margin-bottom: 32px;
	}
}

/* =====================
   症例写真
   ===================== */

.c-case__body:not(:last-child) {
	margin-bottom: 8.5333333333vw;
}

.c-case__image:not(:last-child) {
	margin-bottom: 6.4vw;
}

@media screen and (min-width: 769px) {
	.c-case__body:not(:last-child) {
		margin-bottom: 40px;
	}

	.c-case__image:not(:last-child) {
		margin-bottom: 32px;
	}
}

/* =====================
   ボタン拡張
   ===================== */

/* 左寄せ */
.c-btn-cat.ml-none {
	margin-left: 0;
}

/* =====================
   c-btn-menu（画像上・テキスト下のカード型）
   ===================== */
.c-btn-menu {
	cursor: pointer;
	display: block;
	width: 100%;
	height: 100%;
	background-color: #fff;
	border-radius: 8px;
	box-shadow: 0 0 26px rgba(0, 0, 0, 0.05);
}

.c-btn-menu a {
	display: flex;
	flex-direction: column;
	width: 100%;
	height: 100%;
	color: #3f4960;
	text-decoration: none;
}

.c-btn-menu a:active,
.c-btn-menu a:focus,
.c-btn-menu a:hover,
.c-btn-menu a:visited {
	color: #3f4960;
	text-decoration: none;
}

.c-btn-menu__img {
	width: 100%;
	aspect-ratio: 333 / 180;
	overflow: hidden;
	flex-shrink: 0;
	border-radius: 8px 8px 0 0;
}

.c-btn-menu__img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.c-btn-menu__label {
	position: relative;
	padding: 10px 20px;
	font-size: 2rem;
	font-family: "Shippori Mincho", serif;
}

.c-btn-menu__label::after {
	display: block;
	content: "";
	position: absolute;
	right: 10px;
	top: 50%;
	transform: translateY(-50%);
	width: 28px;
	height: 28px;
	background: url(../img/common/arrow-right-blue.svg) center no-repeat;
	background-size: cover;
}

/* =====================
   p-home-menu（Topページ　施術メニュー）
   ===================== */
.p-home-menu__container {
	max-width: 1080px;
	width: 100%;
	padding: 0 20px 48px;
	margin: 0 auto;
}

@media screen and (min-width: 769px) {
	.p-home-menu__container {
		padding-bottom: 80px;
	}
}

.p-home-menu__list {
	margin-bottom: 32px;
}

@media screen and (min-width: 769px) {
	.p-home-menu__list {
		margin-bottom: 60px;
	}
}

/* =====================
   p-home-mainvisual__slider（Topページ　メインビジュアルスライダー）
   ===================== */
.p-home-mainvisual__slider {
	position: relative;
}
