@charset "utf-8";


/*cssファイルの読み込み
---------------------------------------------------------------------------*/
@import url("theme.css");
@import url("parts.css");
@import url("inview.css");


/*animation11のキーフレーム設定（汎用的）
---------------------------------------------------------------------------*/
@keyframes animation1 {
	0% {
		right: -200px;
	}

	100% {
		right: 0px;
	}
}


/*opa1のキーフレーム設定（汎用的）
---------------------------------------------------------------------------*/
@keyframes opa1 {
	0% {
		opacity: 0;
	}

	100% {
		opacity: 1;
	}
}


/*全体の設定
---------------------------------------------------------------------------*/
body * {
	box-sizing: border-box;
}

html {
	font-size: clamp(16px, 0.585vw + 9.80px, 18px);
	/*画面幅375px〜1400pxの間で、16px〜18pxに可変。下でrem管理しているものも連動します。*/
	overflow-x: visible;
}

@media (min-width: 700px) {
	.sp-only {
		display: none;
		/* PC幅の時は改行タグを無効化する */
	}
}

body {
	margin: 0;
	padding: 0;
	font-family: var(--base-font);
	/*フォント指定。theme.cssのbase-fontを読み込みます。*/
	-webkit-text-size-adjust: none;
	background: var(--bg-color);
	/*背景色。theme.cssのbg-colorを読み込みます。*/
	color: var(--bg-inverse-color);
	/*文字色。theme.cssのbg-inverse-colorを読み込みます。*/
	line-height: 2;
	/*行間*/
	overflow-x: hidden;
}

/*リセット*/
figure {
	margin: 0;
}

dd {
	margin: 0;
}

nav,
ul,
li,
ol {
	margin: 0;
	padding: 0;
}

nav ul {
	list-style: none;
}

/*table全般の設定*/
table {
	border-collapse: collapse;
}

/*画像全般の設定*/
img {
	border: none;
	max-width: 100%;
	height: auto;
	vertical-align: middle;
}

/*videoタグ*/
video {
	max-width: 100%;
}

/*iframeタグ*/
iframe {
	width: 100%;
}

/*他*/
input {
	font-size: 1rem;
}


/*section
---------------------------------------------------------------------------*/
section {
	padding: 0 var(--content-space-l);
	/*上下、左右へのsection内の余白。左右については、theme.cssの--content-space-lを読み込みます。*/
	margin: 2vw 0;
	/*上下、左右へのsectionの外側にとるマージン。*/
}


/*リンクテキスト全般の設定
---------------------------------------------------------------------------*/
a {
	color: inherit;
	transition: 0.3s;
	/*hoverまでにかける時間。0.3秒。*/
}

/*マウスオン時*/
a:hover {
	filter: brightness(1.1);
	/*少しだけ明るくする*/
	text-decoration: none;
}


/*コンテナー（サイト全体を囲むブロック）
---------------------------------------------------------------------------*/
#container {
	animation: opa1 0.2s 0.2s both;
	/*0.2(2つ目の数字)秒待機後、0.2(1つ目の数字)秒かけてフェードイン*/
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}


/*contents
---------------------------------------------------------------------------*/
#contents {
	flex: 1;
	min-height: 0;
}


/*main
---------------------------------------------------------------------------*/
main {
	container-type: inline-size;

}

/*main内で使用するul,ol要素（リストタグ）*/
main ul,
main ol {
	margin-left: 2rem;
	margin-right: 2rem;
}


/*メニューオーバーレイ（メニュー領域外クリックで閉じる用）
---------------------------------------------------------------------------*/
#menubar-overlay {
	display: none;
	position: fixed;
	z-index: 99;
	/*#menubar(100)の下、ページの上*/
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.3);
	/*半透明の黒。お好みで濃さを調整。*/
}

/*noscroll（メニュー表示中のスクロール禁止用）*/
body.noscroll {
	overflow: hidden;
}


/*header（ロゴが入った最上段のブロック）
---------------------------------------------------------------------------*/
/*ヘッダー*/
header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 2rem;
	height: 100px;
	/*ヘッダーの高さ。お好みで。*/
	width: 100%;
	padding: 0 calc(70px + 1rem) 0 var(--content-space-l);
	line-height: 1.2;
	position: relative;
	/*ヘッダーを固定しない*/
	border-bottom: 2px solid var(--primary-color);

}

/*h1テキスト*/
header h1 {
	font-size: 0.6rem;
	/*文字サイズ60%*/
	font-weight: normal;
	/*デフォルトだと太字なので、標準に*/
	position: absolute;
	/*ヘッダーに対して絶対配置*/
	left: var(--content-space-l);
	/*ヘッダーの左からの配置指定。theme.cssのcontent-space-lを読み込みます。*/
	top: 0;
	/*ヘッダーの上からの配置指定。*/
}

/*ロゴ（※画像の場合）*/
.logo {
	margin: 0;
	flex-shrink: 0;
}

.logo img {
	margin-top: 10px;
	display: block;
	width: 350px;
	/*ロゴの幅。*/
}

/*ロゴ（※テキストの場合）*/
.logo a {
	text-decoration: none;
}

.logo {
	width: auto;
	font-size: 1.4rem;
	/*文字サイズ。140%*/
}

/*header右側のブロック（TELや、各ボタン）
---------------------------------------------------------------------------*/
/*ヘッダーの右側ブロック（電話番号など）*/
#header-box {
	font-size: 0.8rem;
	/*文字サイズ80%*/
	display: flex;
	align-items: center;
	gap: 0.8rem;
	/*ボックス内のブロック同士に空けるスペース。0.5文字分。*/
}

/*telブロック*/
#header-box .tel {
	font-size: 1.3rem;
	/*文字サイズ130%*/
}

/*telアイコン*/
#header-box .tel strong i {
	color: var(--primary-color);
	/*アイコン色。theme.cssのprimary-colorを読み込みます。*/
	margin-right: 0.2rem;
	/*アイコンの右側に0.2文字分のスペースを空ける*/
}

/*telの下の受付時間などのテキスト*/
#header-box .tel .small {
	font-size: 0.7rem;
	/*文字サイズ70%*/
}

/*画面幅1000px以下の追加指定*/
@media (max-width:1000px) {

	/*ヘッダーを固定しない*/
	header {
		position: static;
	}

	/*ヘッダーの右側ブロック（電話番号など）*/
	#header-box {
		display: none;
		/*画面が狭くなるので非表示にする*/
	}

}

/*追加指定ここまで*/

/*header内のボタン内の余白*/
header .btn1 a {
	padding: 1rem;
}


/*開閉メニュー
---------------------------------------------------------------------------*/

/*メニューブロック共通*/
.small-screen #menubar {
	animation: animation1 0.2s both;
	position: fixed;
	overflow: auto;
	z-index: 100;
	right: 0;
	top: 0;
	width: 50%;
	height: 100%;
	padding: 80px var(--content-space-l) 50px;
	background: #f2f4f6;
	box-shadow: -6px 0 24px rgba(0, 40, 80, 0.14);
}

/* 初期状態では非表示 */
.small-screen #menubar {
	display: none;
}

/*画面幅700px以下の追加指定*/
@media (max-width:700px) {

	.small-screen #menubar {
		width: 100%;
		padding: 80px 1.3rem 50px;
	}

	
	
}

/*メニュー内のul*/
.small-screen #menubar ul {
	list-style: none;
	margin: 0 rem;
	padding: 0;
}

/*メニュー１個あたり*/
.small-screen #menubar ul a {
	position: relative;
	display: flex;
	align-items: center;
	min-height: 54px;
	text-decoration: none;
	color: #333;
	background: #fff;
	border: 1px solid #d8e6f5;
	border-radius: 13px;
	margin-bottom: 0.8rem;
	padding: 0.85rem 3rem 0.85rem 1rem;
	box-shadow: 0 3px 10px rgba(0, 60, 120, 0.06);
	transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

/*メニュー ホバー*/
.small-screen #menubar ul a:hover {
	color: var(--primary-color);
	border-color: var(--primary-color);
	box-shadow: 0 6px 16px rgba(0, 70, 140, 0.12);
	transform: translateY(-1px);
}

/*タップ時*/
.small-screen #menubar ul a:active {
	transform: translateY(0);
	box-shadow: 0 2px 8px rgba(0, 60, 120, 0.08);
}

/*子メニュー（ドロップダウンメニュー）*/
.small-screen #menubar ul ul {
	display: none;
	margin: -0.2rem 0 0.9rem 0.6rem;
	padding-left: 0.8rem;
	border-left: 3px solid #d8e6f5;
}

/*子メニュー１個あたり*/
.small-screen #menubar ul ul a {
	min-height: 46px;
	margin-bottom: 0.5rem;
	padding: 0.65rem 2.5rem 0.65rem 0.9rem;
	background: #fff;
	border: 1px solid #edf3f8;
	border-radius: 10px;
	box-shadow: none;
	font-size: 0.95rem;
	color: #444;
}

/*子メニュー ホバー*/
.small-screen #menubar ul ul a:hover {
	background: #f3fbfd;
	color: var(--primary-color);
	border-color: #b8d8f0;
}

/*ドロップダウンのアイコン*/
.small-screen #menubar a.ddmenu::after {
	font-family: "Font Awesome 6 Free";
	font-weight: 900;
	content: "\f078";
	position: absolute;
	right: 1.1rem;
	top: 50%;
	transform: translateY(-50%);
	font-size: 0.75em;
	line-height: 1;
	color: var(--primary-color);
}




/*menubar内のロゴ
---------------------------------------------------------------------------*/
.small-screen #menubar .logo {
	margin-bottom: 0rem;
	/*画像の下に空けるスペース。0文字分。*/
}

.small-screen #menubar .logo img {
	margin-inline: auto;
	/*画像をセンタリング*/
}

/*menubar内のtel
---------------------------------------------------------------------------*/
.small-screen #menubar .tel {
	text-align: center;
	/*テキストをセンタリング*/
	font-size: 1.4rem;
	/*文字サイズ140%*/
}


/*menubar内の「WEB予約」ボタン
---------------------------------------------------------------------------*/
.small-screen #menubar .btn1.primary a {
	border: 1px solid #fff;
}
/* ホーム・初めての方へ・女性の方へ 3分割メニュー
---------------------------------------------------------------------------*/
.small-screen #menubar .menu-top-three {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 0.6rem;
	margin-bottom: 0.8rem;
}

/* 3分割内のリンク */
.small-screen #menubar .menu-top-three a {
	min-height: 70px;
	margin-bottom: 0;
	padding: 0.65rem 0.3rem;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	font-size: 0.85rem;
	line-height: 1.3;
	font-weight: 700;
	background: #fff;
	box-shadow: 0 3px 10px rgba(0, 60, 120, 0.06);
}

/* アイコン画像 */
.small-screen #menubar .menu-top-three .menu-top-icon {
	display: block;
	width: 26px;
	height: 26px;
	object-fit: contain;
	margin-bottom: 0.35rem;
}

/* 文字 */
.small-screen #menubar .menu-top-three a span {
	display: block;
	line-height: 1.3;
}

/* ホーム */
.small-screen #menubar .menu-top-three a[href="index.html"] {
	color: var(--primary-color);
	border: 2px solid var(--primary-color);
}

/* 初めての方へ */
.small-screen #menubar .menu-top-three a[href="guide.html"] {
	color: var(--accent-color);
	border: 2px solid var(--accent-color);
}

/* 女性の方へ */
.small-screen #menubar .menu-top-three a[href="woman.html"] {
	color: #c66b8e;
	border: 2px solid #c66b8e;
}

/* ホバー */
.small-screen #menubar .menu-top-three a:hover {
	transform: translateY(-1px);
	opacity: 0.9;
}

/* 画面が狭い時 */
@media (max-width:400px) {

	.small-screen #menubar .menu-top-three {
		gap: 0.45rem;
	}

	.small-screen #menubar .menu-top-three a {
		min-height: 66px;
		font-size: 0.78rem;
		padding-left: 0.2rem;
		padding-right: 0.2rem;
	}

	.small-screen #menubar .menu-top-three .menu-top-icon {
		width: 24px;
		height: 24px;
		margin-bottom: 0.3rem;
	}

}

/*３本バー（ハンバーガー）アイコン設定
---------------------------------------------------------------------------*/
#menubar_hdr {
	display: none;
	animation: opa1 0s 0.2s both;
	cursor: pointer;
	position: fixed;
	z-index: 101;
	right: 0;
	top: 0;
	width: 70px;
	height: 70px;
	border-bottom-left-radius: 14px;
	background: var(--primary-color);
	box-shadow: 0 4px 14px rgba(0, 40, 80, 0.18);
}

/*ハンバーガーアイコンの線*/
#menubar_hdr span {
	display: block;
	transition: 0.3s;
	position: absolute;
	left: 20px;
	width: 30px;
	height: 2px;
	background: var(--primary-inverse-color);
}

/* MENU文字 */
#menubar_hdr::after {
	content: "MENU";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 9px;
	text-align: center;
	color: var(--primary-inverse-color);
	font-size: 0.65rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	line-height: 1;
}

/*バツ印が出ている時のボタン色*/
#menubar_hdr.ham {
	background: #fff;
}

#menubar_hdr.ham span {
	background: #333;
}

/* 開いている時の文字 */
#menubar_hdr.ham::after {
	content: "CLOSE";
	color: #333;
	font-size: 0.58rem;
}

/*三本線の位置*/
#menubar_hdr span:nth-of-type(1) {
	top: 19px;
}

#menubar_hdr span:nth-of-type(2) {
	top: 29px;
}

#menubar_hdr span:nth-of-type(3) {
	top: 39px;
}

/*開いている時のバツ印*/
#menubar_hdr.ham span:nth-of-type(1) {
	transform: translateY(10px) rotate(-45deg);
}

#menubar_hdr.ham span:nth-of-type(2) {
	opacity: 0;
}

#menubar_hdr.ham span:nth-of-type(3) {
	transform: translateY(-10px) rotate(45deg);
}

/*小さな画面での設定*/
.small-screen #menubar_hdr {
	display: flex;
}



/*著作部分（※意図的に見えなくしたりしないで下さい。規約違反になります。）
---------------------------------------------------------------------------*/
.pr a {
	text-decoration: none;
	display: block;
	background: rgba(0, 0, 0, 0.5);
	color: #ccc;
	text-align: right;
	padding: 0.5rem 1rem;
	font-size: 0.8rem;
}

.pr a::before {
	font-family: "Font Awesome 6 Free";
	content: "\e2ca";
	font-weight: 900;
	margin-right: 0.5em;
}


/*PAGE TOP（↑）設定
---------------------------------------------------------------------------*/
.pagetop-show {
	display: block;
}

/*ボタンの設定*/
.pagetop a {
	display: block;
	text-decoration: none;
	text-align: center;
	z-index: 99;
	animation: opa1 1s 0.4s both;
	position: fixed;
	/*スクロールに追従しない(固定で表示)為の設定*/
	right: 20px;
	/*右からの配置場所指定*/
	bottom: 20px;
	/*下からの配置場所指定*/
	color: #fff;
	/*文字色*/
	font-size: 1.5rem;
	/*文字サイズ*/
	background: rgba(0, 0, 0, 0.2);
	/*背景色。0,0,0は黒の事で0.2は色が20%出た状態。*/
	width: 60px;
	/*幅*/
	line-height: 60px;
	/*高さ*/
	border-radius: 50%;
	/*円形にする*/
}

/*画面幅700px以下の追加指定*/
@media (max-width:700px) {
	.pagetop a {
		bottom: 80px; /*下部追従ボタンの上にする*/
	}
}


/*bg1-parts
---------------------------------------------------------------------------*/
.bg1-parts {
	background-color: var(--bg-inverse-color);
	/*背景色。theme.cssのbg-inverse-colorを読み込みます。*/
	color: var(--bg-color);
	/*文字色。theme.cssのbg-colorを読み込みます。*/
}

/*bg1-primary
---------------------------------------------------------------------------*/
.bg1-primary-parts {
	background-color: var(--primary-color);
	/*背景色。theme.cssのprimary-colorを読み込みます。*/
	color: var(--primary-inverse-color);
	/*文字色。theme.cssのprimary-inverse-colorを読み込みます。*/
}

/*bg1-light
---------------------------------------------------------------------------*/
.bg1-light-parts {
	background-color: var(--light-color);
	/*背景色。theme.cssのlight-colorを読み込みます。*/
	color: var(--light-inverse-color);
	/*背景色。theme.cssのlight-inverse-colorを読み込みます。*/
}

/*bg1-accent
---------------------------------------------------------------------------*/
.bg1-accent-parts {
	background-color: var(--accent-color);
	/*背景色。theme.cssのaccent-colorを読み込みます。*/
	color: var(--accent-inverse-color);
	/*背景色。theme.cssのaccent-inverse-colorを読み込みます。*/
}

/*bg-parts（bg1-primary-parts、bg1-light-parts、bg1-accent-partsとセットで使います）
---------------------------------------------------------------------------*/
.bg-parts {
	padding-top: var(--content-space-l);
	/*ボックス内の上に空ける余白。theme.cssのcontent-space-lを読み込みます。*/
	padding-bottom: var(--content-space-l);
	/*ボックス内の下に空ける余白。theme.cssのcontent-space-lを読み込みます。*/
}

/*背景色が続く場合に隙間を空けない*/
.bg-parts+.bg-parts {
	margin-top: calc(-1 * var(--content-space-l)) !important;
}


/*section内で画面両サイドいっぱいまで広げる場合（marginのみでもいいが安定版に）
---------------------------------------------------------------------------*/
.bleed-x-parts {
	--bleed-x: var(--content-space-l);
	/*エイリアスに*/
	width: calc(100% + (var(--bleed-x) * 2));
	/*section内容の幅＋両サイドpadding（対象要素の幅）*/
	margin-left: calc(var(--bleed-x) * -1);
	margin-right: calc(var(--bleed-x) * -1);
	max-width: none;
}


/*左右によせる専用
---------------------------------------------------------------------------*/
.bleed-left-parts {
	width: calc(100% + var(--content-space-l));
	margin-left: calc(-1 * var(--content-space-l));
}

.bleed-right-parts {
	width: calc(100% + var(--content-space-l));
	margin-right: calc(-1 * var(--content-space-l));
}


/*その他
---------------------------------------------------------------------------*/
.color-check,
.color-check a {
	color: #ff0000 !important;
}

.bg1-accent-parts .color-check,
.color-check a {
	color: #fef500 !important;
}

.l {
	text-align: left !important;
}

.c {
	text-align: center !important;
}

.r {
	text-align: right !important;
}

.ws {
	width: 100%;
	display: block;
}

.wl {
	width: 100%;
	display: block;
}

.padding-x {
	padding: 0 var(--content-space-l);
}

.mt0 {
	margin-top: 0px !important;
}

.mt1rem {
	margin-top: 1rem !important;
}

.mt3rem {
	margin-top: 3rem !important;
}

.mb0 {
	margin-bottom: 0px !important;
}

.mb1rem {
	margin-bottom: 1rem !important;
}

.mb3rem {
	margin-bottom: 3rem !important;
}

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

.look {
	display: inline-block;
	padding: 0px 10px;
	background: #eee;
	color: #888;
	border-radius: 3px;
	margin: 5px 0;
	word-break: break-all;
}

.small {
	font-size: 0.75em;
}

.large {
	font-size: 2em;
	letter-spacing: 0.1em;
}

.pc {
	display: none;
}

.dn {
	display: none !important;
}

.block {
	display: block !important;
}

.is-clip {
	overflow: hidden;
}

/*大きな画面の場合*/
.large-screen .ws {
	width: 50%;
}

.large-screen .sh {
	display: none;
}

.large-screen .pc {
	display: block;
}



/*スライドショー
---------------------------------------------------------------------------*/
.mainimg * {
	margin: 0;
	padding: 0;
}

.mainimg .slide picture {
	display: block;
	width: 100%;
	height: 100%;
}

/*スライドショー全体を囲むブロック*/
.mainimg {
	width: calc(100% - (var(--content-space-l) * 2));
	margin-top: 5px;
	margin-inline: auto;
	position: relative;
	border-radius: 10px;
	/*角を丸くする*/
	/*overflow: hidden; */
	line-height: 1.8;
	box-shadow: 0px 0px 2rem rgba(0, 0, 0, 0.1);
	/*ボックスの影。右に0、下に0、ぼかす量2文字分、0,0,0は黒のことで0.1は色が10%出た状態。*/
}

/*３枚の画像の共通設定*/
.mainimg .slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	transition: opacity 1s;
	/*ここの1s（＝1秒）を変更すると、フェードのスピードを変更できます。１枚が表示される時間はjsで指定できます。*/
	/*overflow: hidden;*/
}

/*１枚目画像（変更不要）*/
.mainimg .img1 {
	position: relative;
	width: 100%;
	height: auto;
}

/*画像全般（変更不要）*/
.mainimg .slide picture img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	/*画像をコンテナのサイズに合わせてクリップ*/
	object-position: center;
	/*画像の中心を基準に*/
}



/*メイン画像上のテキスト
---------------------------------------------------------------------------*/
/*テキストブロック*/
.mainimg .slide .text {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	z-index: 1;
	width: 65%;
	/*ブロックの幅。お好みで。*/
	padding: 2rem;
	/*ブロック内の余白。2文字分。*/
	padding-bottom: 4rem;
	/*下の余白だけ上書き。もし、メイン下部の横並びメニューを使わない場合は、この１行を削除。*/
	text-shadow: 0px 0px 4px #fff;
	/*テキストの影*/
}

/*画面幅1000px以下の追加指定*/

@media (max-width:1000px) {

	.mainimg {
		height: auto;
		overflow: visible;
	}

	.mainimg .slide {
		position: relative;
		inset: auto;
		display: none;
		opacity: 1;
		overflow: visible;
	}

	.mainimg .slide.active {
		display: block;
	}

	.mainimg .slide picture {
		display: block;
		width: 100%;
		height: auto;
		position: relative;
	}

	.mainimg .slide picture img {
		width: 100%;
		height: auto;
		object-fit: contain;
	}

	.mainimg .slide .text {
		position: relative;
		inset: auto;
		width: 100%;
		margin-top: -3rem;
		padding: 1.0rem;
		background: rgba(255, 255, 255, 0.92);
	}

	.mainimg .slide .text h2 {
		font-size: 1.5rem;
		letter-spacing: -0.05rem;
		}

	.mainimg .slide .text h2 span {
		font-size: 2.0rem;
	}

}




/*現在表示されているスライドのみをクリック可能にする設定（変更不要）
---------------------------------------------------------------------------*/
.mainimg .slide {
	pointer-events: none;
	/* デフォルトでクリックを無効にする */
}

.mainimg .slide.active {
	pointer-events: auto;
	/* 表示中のスライドのみクリックを有効にする */
}


/*現在表示中（インジケーター）のボタン
---------------------------------------------------------------------------*/
/*全体*/
.mainimg .slide-indicators {
	text-align: center;
	position: absolute;
	z-index: 3;
	width: 100%;
	top: 28vw;
	/*ボタンの配置場所*/
	left: 20px;
}

@media (max-width:1000px) {
	.mainimg .slide-indicators {
		top: 40vw;
		left: 0px;
		text-align: center;
	}

}


/*１個あたり*/
.mainimg .indicator {
	display: inline-block;
	width: 12px;
	height: 12px;
	border: 1px solid #fff;
	background: #959494;
	/*未アクティブ時のボタン色*/
	border-radius: 50%;
	margin: 0 5px;
	cursor: pointer;
}

.mainimg .indicator.active {
	background: #d00000;
	/*アクティブ時のボタン色*/
}

/*ボタン上のtext-shadowは、なしに*/
.mainimg .slide .text .btn1 {
	text-shadow: none;
}


/*h2（大きな文字）*/
.mainimg .slide .text h2 {
	line-height: 1.5;
	/*行間を少し狭く*/
	font-weight: 500;
	/*テキストの太さ。100〜900まで指定可能。*/
	font-size: max(1.8rem, 4vw);
	/*文字サイズ4.4vw。最初サイズは2.2remでそれ以上小さくしない。*/
	letter-spacing: 0.1em;
	/*文字間隔を少しだけ広く*/
	font-family: var(--serif-font), var(--base-font);
	/*theme.cssのserif-fontに指定したフォントを読み込む。読み込めなければbase-fontで指定したフォントを読み込む。*/
	margin-bottom: 1rem;
	/*下に空けるスペース。1文字分。*/
}

/*h2内のspan（このテンプレの場合は「痛」の１文字）*/
.mainimg .slide .text h2 span {
	color: var(--primary-color);
	/*文字色。theme.cssのprimary-colorを読み込みます。*/
	font-size: max(2.2rem, 6vw);
	/*文字サイズ6vw。最小サイズは2.2remでそれ以上小さくしない。*/
}

/*p（説明テキスト部分）*/
.mainimg .slide .text p {
	font-size: 0.75rem;
	/*文字サイズ75%*/
}

/*p内のstrong（このテンプレの場合は「一生自分の歯で・・・」の１行）*/
.mainimg .slide .text p strong {
	color: var(--primary-color);
	/*文字色。theme.cssのprimary-colorを読み込みます。*/
	font-size: 1.2rem;
	/*文字サイズ120%*/
}

/*画面幅1000px以下の追加指定*/

@media (max-width:1000px) {
.mainimg .slide .text h2 {
	letter-spacing: 0.07em;
	/*文字間隔をさらに少しだけ広く*/
}

}



/*ボタン（残りの設定は、下の「.btn1 a」にあります。）*/
.mainimg .btn1 a {
	background: #fff;
	/*背景色*/
	border: 1px solid var(--primary-color);
	/*枠線の幅、線種、var以降は色の指定でtheme.cssのprimary-colorを読み込みます。*/
	color: var(--primary-color);
	/*文字色。theme.cssのprimary-colorを読み込みます。*/
}

/* ホバー */
.mainimg .btn1 a:hover {
	transform: translateY(-3px);
	box-shadow: 0 8px 24px rgba(0, 70, 140, 0.14);
}

/*ボタン左のアイコン*/
.mainimg .btn1 i {
	margin-right: 0.6rem;
	/*アイコンとテキストの間に空けるスペース。0.6文字分。*/
	font-size: 1.4rem;
	/*文字サイズ。140%*/
}

/*メイン画像直下の４つの横並びメニュー
---------------------------------------------------------------------------*/
/*ブロック全体*/
.mainimg-nav {
	margin-inline: auto;
	margin-top: 1.5rem;
	position: relative;
	z-index: 2;
	background: #fff;
	/*背景色*/
	border: 1px solid #ddd;
	/*枠線の幅、線種、色*/
	border-radius: 1rem;
	/*角を丸くする*/
	padding: 1rem 2rem;
	/*上下に1文字分、左右に2文字分の余白。*/
	box-shadow: 0 3px 5px rgba(0, 0, 0, 0.05);
	/*ボックスの影。右に0、下に3px、ぼかす量5px、0,0,0は黒のことで0.05は色が5%出た状態。*/

	width: fit-content;
	/* 中身に合わせた幅 */
	max-width: calc(100% - 2rem);
	/* 画面からはみ出さない */
}

.feature-icon {
	width: 30px;
	height: 30px;
	object-fit: contain;
}

/*メニュー*/
.mainimg-nav ul {
	list-style: none;
	margin: 0;
	display: grid;
	grid-template-columns: repeat(4, auto);
	/*4列*/
	justify-content: space-around;
	gap: 3.5rem;
	/*メニュー同士の間に空けるスペース*/
	font-size: max(0.8rem, 1.2vw);
	/*テキストサイズ。1.2vw。最小は0.8remでこれ以上小さくしない。*/
}


@media (max-width:800px) {

	/*画面幅800px以下の追加指定*/
	.mainimg-nav {
		width: calc(100% - 2rem);
		padding: 1rem;

	}

	/*メニュー*/
	.mainimg-nav ul {
		grid-template-columns: repeat(2, auto);
		/*2列にする*/
		gap: 1.5rem;
	}
   .mainimg-nav li a {
	letter-spacing: -0.05rem;
   }
}

/*追加指定ここまで*/


/*メニュー１個あたり*/
.mainimg-nav ul li {
	display: inline-flex;
	align-items: center;
	gap: 0.5em;
	/*アイコンとテキストとの間に空けるスペース。0.5文字分。*/
}
/* ホバー */
.mainimg-nav ul li:hover{
	transform: translateY(-3px);
}



.mainimg-nav li a {
	text-decoration: none;
	display: contents;
	
}

/*アイコン*/
.mainimg-nav ul i {
	color: var(--accent-color);
	/*アイコン色。theme.cssのaccent-colorを読み込みます。*/
	font-size: 1.8em;
	/*文字サイズ180%*/
}


/*ボタン（btn1）
---------------------------------------------------------------------------*/
.btn-container {
	display: flex;
	gap: 1rem;
}

/*画面幅700px以下の追加指定*/
@media (max-width:700px) {

	.btn-container {
		flex-direction: column;
	}

}

/*追加指定ここまで*/

/*ボタン共通*/
.btn1 a {
	display: block;
	text-decoration: none;
	text-align: center;
	border-radius: 5px;
	/*角を少しだけ丸く*/
	padding: 0.5rem 1rem;
	/*上下に0.5文字分、左右に1文字分の余白。*/
	background: var(--bg-inverse-color);
	/*デフォルトの背景色。theme.cssのbg-inverse-colorを読み込みます。*/
	color: var(--bg-color);
	/*デフォルトの文字色。theme.cssのbg-colorを読み込みます。*/
}

/*テキスト量にあったサイズ用*/
.btn1.fit {
	width: fit-content;
}

/*テキスト量にあったサイズ用の左右中央用*/
.btn1.fit.c {
	margin: 0 auto;
}

/*色違い（primary）*/
.btn1.primary a {
	background: var(--primary-color);
	/*背景色。theme.cssのprimary-colorを読み込みます。*/
	color: var(--primary-inverse-color);
	/*文字色。theme.cssのprimary-inverse-colorを読み込みます。*/
}

/*色違い（light）*/
.btn1.light a {
	background: var(--light-color);
	/*背景色。theme.cssのlight-colorを読み込みます。*/
	color: var(--light-inverse-color);
	/*文字色。theme.cssのlight-inverse-colorを読み込みます。*/
}

/*色違い（accent）*/
.btn1.accent a {
	background: var(--accent-color);
	/*背景色。theme.cssのaccent-colorを読み込みます。*/
	color: var(--accent-inverse-color);
	/*文字色。theme.cssのaccent-inverse-colorを読み込みます。*/
}

/*LINEカラー*/
.btn1.line-color a {
	background: #188f8d;
	color: #fff;
}

/*logoカラー*/
.btn1.logo-color a {
	background: #5d86ff;
	color: #fff;
}




@media (min-width: 1000px) {

	/* 本文エリアを読みやすい幅にする */
	main>section {
		max-width: 1200px;
		margin-left: auto;
		margin-right: auto;
	}

}



/*本文中の画像並び
---------------------------------------------------------------------------*/
.text-images {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-start;
	gap: 1.5rem;
	margin: 2rem 0;
}

/*画像1つあたり：通常は最大2列*/
.text-images figure {
	margin: 0;
	width: calc((100% - 1.5rem) / 2);
}

/*3列*/
.text-images.medium figure {
	width: calc((100% - 3rem) / 3);
}

/*smallクラス：最大4列*/
.text-images.small figure {
	width: calc((100% - 4.5rem) / 4);
}

/*画像*/
.text-images img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	display: block;
}

/*スマホ*/
@media (max-width: 600px) {

	.text-images {
		display: block;
	}

	.text-images figure,
	.text-images.small figure,
	.text-images.medium figure {
		width: 100%;
		margin-bottom: 1rem;
	}

	.text-images figure:last-child {
		margin-bottom: 0;
	}
}





/*-------------------------------------------------*/
/*ボタン丸形
---------------------------------------------------------------------------*/
.btn2 a {
	display: inline-block;
	text-decoration: none;
	text-align: center;
	background: var(--primary-color);
	/*背景色。theme.csのprimary-colorを読み込みます。*/
	color: var(--primary-inverse-color);
	/*文字色。theme.csのprimary-inverse-colorを読み込みます。*/
	border: 1px solid var(--primary-color);
	/*枠線の幅、線種、var以降は色の指定で、theme.cssのprimary-colorを読み込みます。*/
	padding: 0.4rem 2rem !important;
	/*上下に0.4文字分、左右に2文字分の余白*/
	border-radius: 999px;
	/*ボタンをカプセル状にする。大きければ適当でOK。*/
	
}

/* ホバー */
.btn2 a:hover {
	transform: translateY(-3px);
	box-shadow: 0 8px 24px rgba(0, 70, 140, 0.14);
}

/*背景の塗りがないタイプのボタン*/
.btn2.inverse-parts a {
	background: transparent;
	/*背景色。透明。*/
	color: var(--primary-color);
	/*文字色。theme.csのprimary-colorを読み込みます。*/
}

/*アクセントカラー版*/
.btn2.accent-parts a {
	background: var(--accent-color);
	/*背景色。theme.csのaccent-colorを読み込みます。*/
	color: var(--accent-inverse-color);
	/*文字色。theme.csのaccent-inverse-colorを読み込みます。*/
	border: 1px solid var(--accent-color);
	/*枠線の幅、線種、var以降は色の指定で、theme.cssのaccent-colorを読み込みます。*/
}

/*アクセントカラー版*/
.btn2.red-color a {

	background: #fff;
	/*背景色。theme.csのaccent-colorを読み込みます。*/
	color: #a84f3f;
	/*文字色。theme.csのaccent-inverse-colorを読み込みます。*/
	border: 1px solid #a84f3f;
	/*枠線の幅、線種、var以降は色の指定で、theme.cssのaccent-colorを読み込みます。*/
}



/*アクセントカラー版*/
.btn2.green-color a {

	background: #fff;
	/*背景色。theme.csのaccent-colorを読み込みます。*/
	color: #2E7D32;
	/*文字色。theme.csのaccent-inverse-colorを読み込みます。*/
	border: 1px solid #2E7D32;
	/*枠線の幅、線種、var以降は色の指定で、theme.cssのaccent-colorを読み込みます。*/
}

/*-------------------------------------------------*/

/* 共通リンクアイコン
---------------------------------------------------------------------------*/
a.link-pdf,
a.link-external,
a.link-page {
	display: inline-flex;
	align-items: center;
	gap: 0.35em;
	color: var(--primary-color);
	text-decoration: none;
	border-bottom: 1px solid currentColor;
}

a.link-pdf:hover,
a.link-external:hover,
a.link-page:hover {
	opacity: 0.75;
}

/* PDF */
a.link-pdf::after {
	content: "\f1c1";
	font-family: "Font Awesome 6 Free";
	font-weight: 900;
	font-size: 0.9em;
}

/* 外部リンク */
a.link-external::after {
	content: "\f35d";
	font-family: "Font Awesome 6 Free";
	font-weight: 900;
	font-size: 0.85em;
}

/* 通常ページ */
a.link-page::after {
	content: "\f105";
	font-family: "Font Awesome 6 Free";
	font-weight: 900;
	font-size: 0.85em;
}