@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Zen+Maru+Gothic:wght@400;500&display=swap');

:root {
	/*使用しない場合も必ず設定*/
	--i_bg_color: #fff;
	/*背景色*/
	--i_bg2_color: #fdfae5;
	/*背景色2*/
	--i_txt_color: #5c3f1d;
	/*テキスト*/
	--i_main_color: #e88b00;
	/*メイン*/
	--i_sub_color: #e88b00;
	/*アクセント*/
	--i_sub2_color: #FAECD0;
	/*薄い色*/
	--i_btn_color: #ffda47;
	/*ボタン*/
	--i_btn_hover_color: #ffd633;
	/*ボタンhover*/
	--i_btn_txt_color: #5c3f1d;
	/*ボタンテキスト*/
	--i_btn_hover_txt_color: #5c3f1d;
	/*ボタンテキスト*/
	--i_shadow_color: rgba(92, 63, 29, 0.05);
	/*シャドウ*/
	--i_border_color: rgba(92, 63, 29, 0.13);
	/*ボーダー*/
	--i_noimg_bg_color: #fff;
	/*画像無し*/
	--i_padding: 20px;
	/*左右余白*/
}

@media screen and (max-width: 500px) {
	:root {
		--i_padding: 20px;
		/*左右余白*/
	}
}

/*------------------------------------------------------------------*/
/*-----------------------------base---------------------------------*/
/*------------------------------------------------------------------*/

/*----------font-------------*/
body.ft01 .h,
body.ft01 .heading p,
body.ft01 .block_header_1 p,
body.ft01 .contents_faq01 dt::before,
body.ft01 .contents_faq01 dd::before,
body.ft01 header .tel a,
body.ft01 header .tel span,
body.ft01 .widget_tel .inner_item_tel a,
body.ft01 .widget_tel .inner_item_tel span,
body.ft01 #lv,
body.ft01 #setting_modal .heading_design *,
body.ft01 nav,
body.ft01 .btn,
body.ft01 .contents_btn01,
body.ft01 .submit,
body.ft01 .mv_text,
body.ft01 .fixbtn,
body.ft01 footer,
#mv .mv_scroll a {
	font-family: 'Zen Maru Gothic', 'Noto Sans JP', "Open Sans", "Helvetica Neue", Helvetica, Arial, Verdana, "游ゴシック", "Yu Gothic", "游ゴシック体", "YuGothic", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "Meiryo UI", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
}

html {
	font-size: 62.5%;
}

body {
	font-size: 1.65rem;
	line-height: 1.9;
	letter-spacing: 0.02rem;
	-webkit-text-size-adjust: 100%;
	color: var(--i_txt_color);
	font-weight: 500;
}

body,
main {
	background: var(--i_bg_color);
}

@media screen and (max-width: 850px) {
	html {
		font-size: 60.606%;
	}

	body {
		letter-spacing: 0px;
	}
}

a {
	outline: 0;
	text-decoration: none;
	color: var(--i_txt_color);
}

section[style*=" color:"]:not([style*=" color: inherit"]) a,
div[style*=" color:"]:not([style*=" color: inherit"]) a {
	color: inherit;
}

/*composite_boxの最大高さとトリミングの起点*/
/*基本はjsにより各カラム中から最大の画角に設定*/
.composite_box01 .inner_item_img img {
	object-position: 50% 50%;
	font-family: 'object-position: 50% 50%;';
}

@media screen and (max-width: 850px) {
	#sidebar {
		border: 5px solid var(--i_sub2_color) !important;
	}
}

.no_img {
	background: var(--i_noimg_bg_color, rgba(200, 200, 200, 0.3));
}

/*----------------------------loader----------------------------*/

#load div:nth-of-type(1) {
	background: var(--i_main_color);
}

#load .loader,
.popup .loader {
	border: 1px solid var(--i_bg_color);
	/*★*/
}

#load .loader,
#load .loader::before,
.popup .loader,
.popup .loader::before {
	border-top-color: var(--i_bg_color);
}

#load .loader::before,
#load .loader::after,
.popup .loader::before,
.popup .loader::after {
	/*★*-1*/
	left: -1px;
	top: -1px;
}

#load .loader,
.popup .loader {
	border: 1px solid var(--i_bg_color);
	/*★*/
}

#load .loader,
#load .loader::before,
.popup .loader,
.popup .loader::before {
	border-top-color: #fff !important;
}

#load .loader::before,
#load .loader::after,
.popup .loader::before,
.popup .loader::after {
	/*★*-1*/
	left: -1px;
	top: -1px;
}

#load img {
	max-width: 280px;
}

@media screen and (max-width: 650px) {
	#load img {
		max-width: 190px;
	}
}

/*----------------------------header----------------------------*/

header {
	font-size: 1.4rem;
	background: rgba(255, 255, 255, 0.85);
	backdrop-filter: blur(4px);
	-webkit-backdrop-filter: blur(4px);
	max-width: 1500px;
}
header .wraper {
	max-width: 1500px;
}
header#pattern2:not(.width_full) nav {
	max-width: 1530px;
}
body.scrolled header {
	box-shadow: 0px 3px 5px rgba(92, 63, 29, 0.13);
}

header h1 {
	line-height: 1.5;
	font-size: 1.3rem;
	font-weight: normal;
	opacity: 0.7;
	fill: var(--i_txt_color);
}
body.scrolled header .logo {
	padding: 20px 0 !important;
}
header .logo,
header .logo a {
	max-width: 220px;
}

body.scrolled header .logo a img {
	max-height: 75px;
}
header#pattern3 .logo {
	padding: 6px 0 5px;
}
header .header_contents .header_col1 {
	/* ▼水平方向レイアウト */
	flex-direction: row;
	align-items: center;
	justify-content: flex-end;
	/* ▼垂直方向レイアウト */
	/*flex-direction: column;
	align-items: flex-end;*/
}
header .header_contents .header_col1 .tel {
	position: relative;
	font-size: 26px;
	line-height: 1;
	padding-left: 26px;
	font-weight: bold;
	/* font-weight: normal; */
	fill: var(--i_txt_color);

}
header .header_contents .header_col1 .btn .translate a svg,
header .burger li.sp_translate a svg,
header .header_contents .header_sns li svg {
	fill: var(--i_txt_color);
}
header .header_contents .header_col1 .tel svg {
	fill: var(--i_txt_color);
}
header .header_contents .header_col1 .tel a,
header .header_contents .header_col1 .tel span {
	color: var(--i_txt_color);
}
header .sp_menu a div span,
header .sp_menu a div:before,
header .sp_menu a div:after {
	background: var(--i_txt_color);
}
header .header_contents .header_col1 .tel svg {
	width: 22px;
	height: 22px;
	top: calc(50% - 9px);
	left: 0;
}
header .header_contents .header_col1 .btn > a {
	display: block;
	text-align: center;
	background: var(--i_btn_color);
	color: var(--i_btn_txt_color) !important;
	padding: 10px 15px 11px;
	position: relative;
	display: inline-block;
	overflow: hidden;
	text-align: center;
	font-family: inherit;
	transition: 0.4s ease-in-out;
	letter-spacing: 0.2rem;
	border-radius: 50px;
	font-weight: 500;
}

header .header_contents .header_col1 .btn > a:hover {
	opacity: 0.8;
}

header .header_contents .header_col1 .btn > a span.inn {
	color: var(--i_btn_txt_color) !important;
}

header .header_contents .header_col1 .btn > a[target="_blank"] span.inn::before,
header .header_contents .header_col1 .btn > a[target="_blank"] span.inn::after {
	border-color: var(--i_btn_txt_color) !important;
}
header .header_contents .header_col1 .btn .translate a svg {
	max-width: 74%;
	max-height: 74%;
	margin: 13% auto 0;
}
header .header_contents .header_col1 .btn .translate a:hover {
	opacity: 0.8;
}
header#pattern1 nav,
header#pattern3 nav {
	position: relative;
}
header nav * {
	color: var(--i_txt_color);
}
header nav ul.nav_1st {
	width: 100%;
	/*任意*/
}
header nav ul.nav_1st > li {
	box-sizing: border-box;
	position: relative;
}
header nav ul.nav_1st > li:after {
	/*罫線*/
	content: "";
	width: 1px;
	height: 50%;
	position: absolute;
	top: 25%;
	left: 0;
	border-left: 0px solid rgba(92, 63, 29, 0.13);
}
header nav ul.nav_1st > li:last-child:before {
	/*罫線*/
	content: "";
	width: 1px;
	height: 50%;
	position: absolute;
	top: 25%;
	right: 0;
	border-left: 0px solid rgba(92, 63, 29, 0.13);
}
header nav ul.nav_1st > li > a {
	font-size: 1.65rem;
	font-weight: 500;
	position: relative;
	padding-left: 1vw;
	padding-right: 1vw;

}
header nav ul.nav_1st > li > a:before {
	content: "";
	display: block;
	width: 50%;
	height: 2px;
	border-radius: 50px;
	background: var(--i_main_color);
	position: absolute;
	bottom: 0;
	left: 25%;
	transform: scale(0, 1);
	transform-origin: center;
	transition: transform .5s cubic-bezier(.23, 1, .32, 1);
}
body.scrolled header nav ul.nav_1st > li > a:before {
	display: none;
}
header nav ul.nav_1st > li:hover > a span {
	color: var(--i_main_color);
}
header nav ul.nav_1st > li:hover a:before {
	transform: scale(1, 1);
	transform-origin: center;
}
header nav ul.nav_1st > li > a span {
	/*ナビの高さはline-heightで調整*/
	line-height: 2.5;
	/* マージン普通選択時 */
	letter-spacing: 0.2rem;
	transition: 0.4s ease-in-out;
}
header nav ul.nav_1st > li > a:hover span {
	opacity: 1;
	color: var(--i_main_color);
}
body.scrolled header nav ul.nav_1st > li > a span,
body.margin.scrolled header nav ul.nav_1st > li > a span {
	line-height: 2.5;
}

header#pattern2 nav ul.nav_1st > li > a span {
	line-height: 3.5;
}
body.margin header nav ul.nav_1st > li > a span {
	line-height: 4;
	/* マージン広い選択時 */
}

header nav ul.nav_2nd {
	padding-top: 20px;
}
header nav ul.nav_1st > li:hover ul.nav_2nd {
	padding-top: 15px;
	box-shadow: 2px 2px 5px var(--i_shadow_color);
}
header nav ul.nav_2nd > li {
	background: rgba(255, 255, 255, 0.9);
	border-bottom: 1px solid var(--i_border_color);
}
header nav ul.nav_2nd > li:nth-last-of-type(1) {
	border-bottom: none;
}
header nav ul.nav_2nd li a {
	padding: 10px 20px;
	font-weight: normal;
	font-size: 1.4rem;
}
header nav ul.nav_2nd > li > a {
	padding-right: 30px;
}
header nav ul.nav_2nd > li > a:after {
	height: 5px;
	width: 5px;
	transform: rotate(-45deg);
	border-right: 1px solid var(--i_sub_color);
	border-bottom: 1px solid var(--i_sub_color);
	top: calc(50% - 2.5px);
	right: 20px;
}
header nav ul.nav_3rd {
	padding-left: 20px;
}
header nav ul.nav_3nd li a {
	padding: 5px 20px;
}
header nav ul.nav_3rd > li > a:after {
	height: 1px;
	width: 4px;
	background: var(--i_sub_color);
	top: calc(50% - 0.5px);
	left: 5px;
}
@media screen and (min-width: 901px) {
	header {
		width: 98%;
		left: 50%;
		transform: translateX(-50%);
		margin-top: 1%;
		border-radius: 5px;
	}
	header nav ul.nav_1st {
		width: 80% !important;
	}
}
@media screen and (max-width: 900px) {
	span.menu_letter {
		top: -9px;
		left: 1px;
		margin: auto;
		right: 0;
		word-break: keep-all;
		font-size: 11px;
		position: relative;
	}
}
@media screen and (max-width: 900px) {
	header,
	header *,
	header nav ul.nav_2nd li a {}

	body.scrolled header .logo {

		padding: 10px 0 !important;
	}
	header.open:after,
	header .header_contents {
		background: rgba(255, 255, 255, 0.9);
	}
	header .burger li.sp_translate a svg {
		height: 28px;
		width: 28px;
		margin: 10% auto;
	}
	header .header_sns,
	header .header_contents .header_col1,
	header .header_contents .header_col2 {
		border-top: 1px solid rgba(255, 255, 255, 0.2);
		border-bottom: 1px solid var(--i_border_color);
	}
	header .header_sns {
		border-bottom: none;
	}
	header .header_sns:empty,
	header .header_contents .header_col1:empty,
	header .header_contents .header_col2:empty {
		border: none;
	}
	header .header_contents .header_col1 .tel,
	header .header_contents .header_col1 .btn {
		float: none;
	}
	header .header_contents .header_col2 {
		display: block !important;
	}
	header nav {
		border-bottom: 1px solid var(--i_border_color);
	}
	header nav ul.nav_1st {
		border-bottom: 1px solid rgba(255, 255, 255, 0.2);
		border-top: 1px solid var(--i_border_color);
	}
	header nav ul.nav_1st li {
		border-bottom: 1px solid var(--i_border_color);
		border-top: 1px solid rgba(255, 255, 255, 0.2);
	}
	header nav ul.nav_1st > li:before,
	header nav ul.nav_1st > li:after {
		display: none !important;
	}
	header nav ul.nav_1st > li i:before,
	header nav ul.nav_1st > li i:after {
		background: var(--i_main_color);
	}
	header nav ul.nav_2nd {
		border-top: 1px solid var(--i_border_color);
	}
	header nav ul.nav_2nd > li,
	header nav ul.nav_1st > li:hover ul.nav_2nd {
		box-shadow: none;
	}
	header nav ul.nav_2nd > li * {
		color: var(--i_txt_color);
	}
	header nav ul.nav_3rd {
		border-top: 1px solid var(--i_border_color);
	}
	header nav ul.nav_3rd > li:nth-last-of-type(1) {
		border-bottom: none;
	}
	header .logo a img {
		max-width: 200px;
	}
	header .logo a img {
		max-height: 48px !important;
	}
	body.scrolled header .logo a img {
		max-height: 48px !important;
	}
	header nav ul.nav_1st > li > a:hover:before {
		transform: scale(0, 0);
	}
	header#pattern1 nav,
	header#pattern3 nav {
		border-bottom: 0;
		border-top: 0;
	}
	header#pattern1 nav::before,
	header#pattern3 nav::before {
		display: none;
	}
	header .wraper > .inner {
		min-height: 45px !important;
	}
	header .header_contents .header_col1 .btn > a {
		padding: 8px 20px 7px;
	}

}

/*----------------------------余白設定----------------------------*/

main > section:first-child:not([class*="pt"]),
main > div:first-child:not([class*="pt"]),
div[class*='pb'] + .contents_related,
section[class*='pb'] + .contents_related,
div[class*='pb'] + .contents_related_tags,

section[class*='pb'] + .contents_related_tags {
	padding-top: 60px;
}

main > section:not([class*="pt"]),
main > div:not([class*="pt"]),
aside > section:not([class*="pt"]),
aside > div:not([class*="pt"]) {
	padding-bottom: 60px;
}

@media screen and (max-width: 800px) {

	main > section:first-child:not([class*="pt"]),
	main > div:first-child:not([class*="pt"]),
	div[class*='pb'] + .contents_related,
	section[class*='pb'] + .contents_related,
	div[class*='pb'] + .contents_related_tags,
	section[class*='pb'] + .contents_related_tags {
		padding-top: 40px;
	}

	main > section:not([class*="pt"]),
	main > div:not([class*="pt"]),
	aside > section:not([class*="pt"]),
	aside > div:not([class*="pt"]) {
		padding-bottom: 40px;
	}
}

/*----------------------------見出し----------------------------*/

section .content_wrapper > .heading:first-child:last-child {
	margin-bottom: 0;
}

/*--*/

section:not([class*="pt"]) .content_wrapper > .heading:first-child:last-child {
	margin-bottom: 0;
}

.heading.block_header_1,
.heading.block_header_6 {
	padding-bottom: 23px !important;
	margin-bottom: 30px;
	display: flex;
	flex-direction: column-reverse;
	align-items: center;
	justify-content: center;
}

.heading.block_header_1 p,
.heading.block_header_6 .h {
	font-weight: 500;
	font-size: 3.4rem !important;
	line-height: 1.4;
	position: relative;
	padding-top: 0;
	color: var(--i_txt_color);
	padding-bottom: 5px;
	letter-spacing: 0.2rem;
}
.heading.block_header_1:before,
.heading.block_header_6:before {
	display: block;
	content: "";
	position: absolute;
	/*z-index: -1;
	pointer-events: none;
	width: 130px;
	height: 5px;
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='130' height='5' viewBox='0 0 130 5'%3E%3Cdefs%3E%3Cstyle%3E.a%7Bfill:none;%7D.b%7Bclip-path:url(%23a);%7D.c%7Bfill:%23e5dfd8;%7D%3C/style%3E%3CclipPath id='a'%3E%3Crect class='a' width='130' height='5'/%3E%3C/clipPath%3E%3C/defs%3E%3Cg class='b'%3E%3Cg transform='translate(-537 -3874)'%3E%3Ccircle class='c' cx='2.5' cy='2.5' r='2.5' transform='translate(537 3874)'/%3E%3C/g%3E%3Cg transform='translate(-522 -3874)'%3E%3Ccircle class='c' cx='2.5' cy='2.5' r='2.5' transform='translate(537 3874)'/%3E%3C/g%3E%3Cg transform='translate(-507 -3874)'%3E%3Ccircle class='c' cx='2.5' cy='2.5' r='2.5' transform='translate(537 3874)'/%3E%3C/g%3E%3Cg transform='translate(-492 -3874)'%3E%3Ccircle class='c' cx='2.5' cy='2.5' r='2.5' transform='translate(537 3874)'/%3E%3C/g%3E%3Cg transform='translate(-477 -3874)'%3E%3Ccircle class='c' cx='2.5' cy='2.5' r='2.5' transform='translate(537 3874)'/%3E%3C/g%3E%3Cg transform='translate(-462 -3874)'%3E%3Ccircle class='c' cx='2.5' cy='2.5' r='2.5' transform='translate(537 3874)'/%3E%3C/g%3E%3Cg transform='translate(-447 -3874)'%3E%3Ccircle class='c' cx='2.5' cy='2.5' r='2.5' transform='translate(537 3874)'/%3E%3C/g%3E%3Cg transform='translate(-432 -3874)'%3E%3Ccircle class='c' cx='2.5' cy='2.5' r='2.5' transform='translate(537 3874)'/%3E%3C/g%3E%3Cg transform='translate(-417 -3874)'%3E%3Ccircle class='c' cx='2.5' cy='2.5' r='2.5' transform='translate(537 3874)'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
	bottom: 0;
	left: calc(50% - 65px);
	background: var(--i_main_color);*/
}
.align-left.heading.block_header_1:before,
.align-left.heading.block_header_6:before {
	left: 0;
}
.align-right.heading.block_header_1:before,
.align-right.heading.block_header_6:before {
	right: 0;
	left: auto;
}

.index .heading.block_header_1 p,
.index .heading.block_header_6 .h {
	/* font-size: 4.0rem !important; */
}
section[style*=" color: rgb(255, 255, 255);"] .heading.block_header_1:before,
section[style*=" color: rgb(255, 255, 255);"] .heading.block_header_6:before,
div[style*=" color: rgb(255, 255, 255);"] .heading.block_header_1:before,
div[style*=" color: rgb(255, 255, 255);"] .heading.block_header_6:before {
	background: #fff;
}
section[style*=" color: rgb(255, 255, 255);"] .heading.block_header_1 p,
section[style*=" color: rgb(255, 255, 255);"] .heading.block_header_6 .h,
div[style*=" color: rgb(255, 255, 255);"] .heading.block_header_1 p,
div[style*=" color: rgb(255, 255, 255);"] .heading.block_header_6 .h {
	color: #fff !important;
}
.heading.block_header_1 .h,
.heading.block_header_6 p {
	font-size: 1.7rem;
	font-weight: 500;
}
@media screen and (max-width: 800px) {
	.heading.block_header_1,
	.heading.block_header_6 {
		margin-bottom: 25px;
		padding-bottom: 15px !important;
	}
	.heading.block_header_1 p,
	.heading.block_header_6 .h {
		font-size: 2.6rem !important;
	}
	.heading.block_header_1 .h,
	.heading.block_header_6 p {
		font-size: 1.5rem;
	}
	.index .heading.block_header_1 p,
	.index .heading.block_header_6 .h {
		/* font-size: 2.8rem !important; */
	}
}
/*--*/

.heading.block_header_2 {
	margin-bottom: 30px;
}

section[style*=" color: rgb(255, 255, 255);"] .heading.block_header_2,
div[style*=" color: rgb(255, 255, 255);"] .heading.block_header_2 {
	border-bottom-color: #fff;
}

.heading.block_header_2 .h {
	display: inline-block;
	font-weight: 500;
	letter-spacing: 0.2rem;
	font-size: 2.1rem;
	line-height: 1.5;
	position: relative;
	color: var(--i_txt_color);
}

.heading.block_header_2 p {
	font-size: 1.4rem;
	font-weight: 500;
	letter-spacing: 0.2rem;
	color: var(--i_txt_color);
}

.news_archive .heading.block_header_2,
.glossary_archive .heading.block_header_2,
.widget_gallery01 .heading.block_header_2,
.gallery_archive .heading.block_header_2 {
	border: none;
}

.widget_gallery01.add_design4 .inner_item .heading.block_header_2 {
	padding-left: 2em !important;
}

@media screen and (max-width: 800px) {
	.heading.block_header_2 {
		margin-bottom: 20px;
	}

	.heading.block_header_2 .h {
		font-size: 2.1rem;
	}
}

/*--*/

.heading.block_header_3 {
	overflow: hidden;
	background: var(--i_sub2_color);
	color: var(--i_main_color);
	padding: 10px 10px 10px 10px;
	margin-bottom: 30px;
}

.heading.block_header_3 .h {
	font-weight: 500;
	letter-spacing: 0.2rem;
	font-size: 1.9rem;
	line-height: 1.5;
}

.heading.block_header_3 p {
	font-size: 1.4rem;
	font-weight: 500;
	letter-spacing: 0.2rem;
}

@media screen and (max-width: 800px) {
	.heading.block_header_3 {
		padding: 5px 5px 5px 5px;
		margin-bottom: 20px;
	}

	.heading.block_header_3 .h {
		font-size: 2.0rem;
	}

	.heading.block_header_3 p {
		font-size: 1.3rem;
	}
}

/*--*/

.heading.block_header_4 {
	margin-bottom: 15px;
}

.heading.block_header_4:before {
	display: none;
}

.heading.block_header_4 .h {
	font-size: 2.1rem !important;
	font-weight: 500;
	letter-spacing: 0.2rem;
	line-height: 1.5;
	margin-bottom: 5px;
}

.heading.block_header_4 p {
	font-size: 1.4rem;
	font-weight: 500;
	letter-spacing: 0.1rem;
}


/*--*/

.heading.block_header_5 {
	margin-bottom: 15px;
}

.heading.block_header_5 .h {
	display: inline;
	font-weight: 500;
	letter-spacing: 0.2rem;
	font-size: 1.8rem;
	margin-bottom: 10px;
}

.heading.block_header_5 p {
	display: inline;
	font-size: 1.4rem;
	font-weight: 500;
	letter-spacing: 0.2rem;
}

.heading.block_header_5 p:before {
	content: "　/　";
}

#sidebar .heading.block_header_5 {
	background: var(--i_main_color);
	padding: 5px 15px;
	position: relative;
	color: var(--i_btn_color);
}

/*----------------------------背景パララックス----------------------------*/

.parallax {
	box-shadow: 0 0 5px var(--i_shadow_color) inset;
}

/*----------------------------ボタン----------------------------*/

.contents_btn01 a,
main form .submit span input,
.glossary_archive .content_wrapper .heading.block_header_2 a:after {
	background: var(--i_btn_color);
	color: var(--i_btn_txt_color) !important;
	padding: 0 20px;
	position: relative;
	display: inline-block;
	overflow: hidden;
	text-align: center;
	font-family: inherit;
	transition: 0.4s ease-in-out;
	letter-spacing: 0.2rem;
	border-radius: 50px;
	font-weight: 500;
	min-width: clamp(0px, 100%, 230px);
}
.glossary_archive .content_wrapper .heading.block_header_2 a:hover:after {
	opacity: 0.8;
}
main form .submit {
	overflow: hidden;
	background: var(--i_btn_color);
	border-radius: 50px;
}
main form .submit span {
	position: relative;
	padding: 5px 0px 5px;
}
.contents_btn01 a span,
main form .submit span input,
main form .submit span {
	transition: 0.4s ease-in-out;
}
/*
.contents_btn01 a:hover span,
main form .submit span input:hover {
	transform: translateX(-5px);
}*/
.contents_btn01 a:hover,
main form .submit span:hover,
main form .submit span input:hover {
	/*background: var(--i_btn_hover_color);*/
	opacity: 0.8;
}
.contents_btn01 a:before,
main form .submit span:before {
	position: absolute;
	display: inline-block;
	content: "\00BB";
	font-size: 20px;
	top: calc(50% - 21px);
	right: 15px;
	color: var(--i_btn_txt_color);
	opacity: 1;
	transition: 0.4s;
	z-index: 1;
}
.contents_btn01 a:hover:before,
main form .submit span:hover:before {
	opacity: 1;
	/*right: 10px;*/
}
.contents_btn01 a[target=_blank] span:before,
.contents_btn01 a[target=_blank] span:after {
	border: 1px solid var(--i_btn_txt_color);
	transition: 0.4s ease-in-out;
}
.contents_btn01 a[target=_blank]:hover span:before,
.contents_btn01 a[target=_blank]:hover span:after {
	border: 1px solid var(--i_btn_hover_txt_color);
}
main form .submit span input,
.contents_btn01 a span {
	text-align: center;
	line-height: 1.5;
	font-size: 1.5rem;
	padding: 13px 10px 14px;
	transform: translateX(0);
}
input[type="button"],
input[type="text"],
input[type="submit"],
input[type="image"],
textarea {
	-webkit-appearance: none;
	border-radius: 0;
}
#fixbtn .contents_btn01 a:before {
	display: none;
}
#fixbtn .contents_btn01 a:hover span {
	transform: translateX(0);
}

/*--------------------------------MV--------------------------------*/

#mv_outer {
	/*mvに背景とかはここを利用する*/
	position: relative;
}

#mv {
	width: 100%;
	height: 100vh;
	min-height: 500px;
}

#mv::after {
	pointer-events: none;
	/* background: linear-gradient(to bottom, rgba(92, 63, 29, 0.5), rgba(92, 63, 29, 0.05)); */
}

#mv .mv_text {
	height: 90%;
	align-items: center;
	/*垂直方向中央*/
	width: 100% !important;
	left: 0 !important;
	bottom: 0 !important;
}

#mv .mv_text > div {
	box-sizing: border-box;
	width: 95%;
	color: var(--i_bg_color);
}

#mv .mv_text h2 {
	font-size: 60px;
	/* ←max-font-size的意味合いで使用する。動作はjs。*/
	line-height: 1.1;
	letter-spacing: 0.3rem;
	font-weight: 500;
	font-size: 4rem !important;
	position: relative;
}

#mv .mv_text p {
	padding-top: 15px;
	font-size: 2.5rem;
	font-weight: 500;
	letter-spacing: 0.3rem;
}

#mv .mv_scroll,
#mv .mv_pointer,
#mv .mv_arrow {
	display: none;
}

#mv .mv_textimg {
	width: 90%;
	height: 95%;
}
#mv .mv_textimg img {
	max-width: 530px;
	width: 100%;
}

#mv .mv_textimg a {
	height: auto;
	width: 30%;
	aspect-ratio: 1;
	left: auto;
	right: 0;
	border-radius: 50%;
	top: auto;
	bottom: 0;
}

@media screen and (max-width: 100vh) {
	#mv {
		height: 72vh;
	}
}

@media screen and (max-width: 650px) {
	#mv .mv_text h2 {
		font-size: 6vw !important;
		letter-spacing: 0.1rem;
	}

	#mv .mv_text p {
		letter-spacing: 0.1rem;
		font-size: 1.8rem !important;
	}

	#mv .mv_textimg {
		width: 85%;
	}
}

/*--------------------------------IV--------------------------------*/

#lv {
	background: var(--i_main_color);
	height: 450px;
	padding-bottom: 0;
}

header.over + #lv_outer #lv {
	min-height: 250px;
}

#lv div {
	opacity: 0.6;
}

#lv p {
	left: 0;
	text-align: center;
	width: 100%;
	box-sizing: border-box;
	padding: 0 10px 0;
}

#lv p span {
	display: inline-block;
	font-size: 4.0rem;
	font-weight: 500;
	text-align: center;
	position: relative;
	word-break: break-all;
	line-height: 1.2;
	color: #fff;
	letter-spacing: 0.3rem;
}

@media screen and (max-width: 800px) {
	#lv {
		height: 200px;
	}

	#lv p span {
		font-size: 2.8rem;
	}
}

/*----------------------------パンくず----------------------------*/
#pan {
	padding: 0;
	border-bottom: 1px solid var(--i_border_color);
  margin-bottom: 40px;
  margin-top: 20px;
}

#pan li {
	font-size: 1.2rem;
	padding: 5px 0 3px 30px;
}

#pan li:before {
	border-top: 1px solid var(--i_border_color);
	border-right: 1px solid var(--i_border_color);
}

/*----------------------------other parts----------------------------*/

/*--リスト--*/

.default_ul li:before {
	border-top: 1px solid var(--i_sub_color);
	border-right: 1px solid var(--i_sub_color);
	height: 5px;
	width: 5px;
	transform: rotate(45deg);
	top: 8px;
	left: 0;
}

/*--アーカイブページ カテゴリー--*/

.category1 li a {
	border: 1px solid var(--i_main_color);
	border-radius: 50px;
	font-size: 1.4rem;
	color: var(--i_main_color);
}

.category1 li a:hover,
.category1 li a.current {
	color: var(--i_bg_color);
	background: var(--i_main_color);
}

/*--sidebar--*/

#sidebar section,
#sidebar > div {
	border-bottom: 1px solid var(--i_border_color);
}

#sidebar h2 {
	text-align: left;
	font-size: 2.2rem;
}

#sidebar .sidebar_tag li {
	border: 1px solid var(--i_border_color);
	background: var(--i_sub2_color);
}

#sidebar .sidebar_list a {
	position: relative;
	padding-left: 15px;
}

#sidebar .sidebar_list a:before {
	content: "";
	display: block;
	position: absolute;
	border-top: 1px solid var(--i_main_color);
	border-right: 1px solid var(--i_main_color);
	height: 5px;
	width: 5px;
	transform: rotate(45deg);
	top: calc(50% - 3px);
	left: 0;
}

/*----------------------------pager----------------------------*/

/*アーカイブページページャー*/

.pager li a {
	height: 45px;
	width: 45px;
	border-radius: 999px;
	line-height: 45px;
	border: 1px solid var(--i_main_color);
	color: var(--i_main_color);
	font-size: 1.4rem;
}

.pager li:not(.arrow) a:hover,
.pager li:not(.arrow).current a {
	color: var(--i_bg_color);
	background: var(--i_main_color);
}

.pager li.arrow a {
	background: none;
}

/*----------------------------pager2----------------------------*/

/*シングルページページャー*/
.pager2 li a {
	line-height: 45px;
	padding: 0 15px;
	font-size: 1.4rem;
	border: 1px solid var(--i_main_color);
	color: var(--i_main_color);
}

.pager2 li a:hover {
	color: var(--i_bg_color);
	background: var(--i_main_color);
}

/*----------------------------popup----------------------------*/

/*画像ポップアップ拡大表示*/
.popup {
	background: rgba(255, 255, 255, 0.7);
}

.poptxt {
	font-size: 1.2rem;
}

/*----------------------------footer----------------------------*/

#fixbtn {
	margin-bottom: 30px;
	font-size: 1.55rem;
}

#fixbtn .fixbtnwrap {
	background: var(--i_sub2_color);
}

/*▼ TEL、予約ボタンない = 追従フッター有効でない場合*/
#fixbtn.no .fixbtnwrap {
	background-color: transparent;
}

#fixbtn .fixbtntel,
#fixbtn .fixbtntel a,
#fixbtn .fixbtntel span {
	color: var(--i_txt_color);
}

#fixbtn .fixbtntel:nth-last-of-type(2) {
	border-right: none;
}

#fixbtn .fixbtntel a,
#fixbtn .fixbtntel span {
	font-size: 3.4rem;
	line-height: 1;
	margin-right: 10px;
}

#fixbtn .fixbtntel a:last-child,
#fixbtn .fixbtntel span:last-child {
	margin-right: 0;
}

#fixbtn .fixbtntel svg {
	width: 22px;
	height: 22px;
	margin-right: 5px;
	fill: var(--i_txt_color);
	position: relative;
}

#fixbtn .contents_btn01:nth-of-type(1) {
	border-left: none;
}

#fixbtn .contents_btn01:nth-of-type(1) {
	/*▼ TELない場合中央揃え*/
	margin-left: auto;
	margin-right: auto;
}

#fixbtn .contents_btn01 a:before,
#fixbtn .contents_btn01 a:after {
	display: none;
}

#fixbtn .contents_btn01 span {
	text-align: center;
	padding: 6px 10px 9px;
	line-height: 1.5;
	letter-spacing: 0;
}

/*▼ TEL、予約ボタンない = 追従フッター有効でない場合*/
#fixbtn #scrolltop:nth-of-type(1) {
	margin-left: auto;
	/*▼ 右揃え*/
	margin-right: 0;
	/*▼ 中央揃え*/
	margin-right: auto;
}

#fixbtn #scrolltop a {
	height: 40px;
	width: 40px;
}

#fixbtn #scrolltop a:before {
	top: 17px;
	left: 3px;
	transform: rotate(45deg);
	transition: 0.2s ease-in-out;
	border-left: 2px solid var(--i_main_color);
	border-top: 2px solid var(--i_main_color);
	width: 30px;
	height: 30px;
}

#fixbtn #scrolltop a:hover:before {
	opacity: 0.7;
}

/*▼ TEL、予約ボタンない = 追従フッター有効でない場合*/
#fixbtn.no #scrolltop a:before {
	border-color: rgba(120, 120, 120, 0.6);
}

#fixbtn.no #scrolltop a:hover:before {
	border-left: 2px solid rgba(120, 120, 120, 1);
	border-top: 2px solid rgba(120, 120, 120, 1);
}

@media screen and (max-width: 600px) {
	#fixbtn {
		margin-bottom: 0;
	}

	#fixbtn,
	#fixbtn .fixbtntel a,
	#fixbtn .fixbtntel span {
		font-size: 1.7rem;
	}

	#fixbtn .fixbtntel a,
	#fixbtn .fixbtntel span {
		font-size: 2rem;
		margin: 0;
	}

	#fixbtn .contents_btn01 a {
		padding: 0 !important;
		letter-spacing: 0;
	}

	#fixbtn .contents_btn01 a span {
		padding: 9px 5px 8px;
	}
}

footer {
	background: var(--i_bg2_color);
	padding: 0;
	color: var(--i_txt_color);
	text-align: center;
	font-size: 1.35rem;
}

footer a {
	color: var(--i_txt_color);
}

footer nav li {
	letter-spacing: 0.2rem;
	padding: 5px 0;
	font-weight: 600;
}

footer .logo {
	width: 280px;
}

footer .sns {
	margin: 0 auto 30px;
}

footer .sns svg {
	width: 40px;
	height: 40px;
	padding: 10px 10px;
	transition: 0.2s ease-in-out;
	fill: var(--i_txt_color);
}

footer .sns a:hover svg {
	opacity: 0.8;
}

footer nav li a {
	font-weight: 500 !important;
}

#cp {
	padding: 20px 0;
	font-size: 1.1rem;
	letter-spacing: 0.1rem;
	color: var(--i_bg_color);
	background: var(--i_main_color);
	margin-top: 50px;
}

@media screen and (max-width: 600px) {
	footer {
		padding: 0 0 20px;
	}
}

@media screen and (max-width: 600px) {
	footer .logo {
		width: 200px;
	}

	#fixbtn .inner {
		padding: 0;
	}
}

/*------------------------------------------------------------------*/
/*----------------------------widget--------------------------------*/
/*------------------------------------------------------------------*/

/*----------------------------contents_faq01----------------------------*/

.contents_faq01 dt {
	padding-left: 5rem;
	margin-bottom: 25px;
	min-height: 35px;
	width: 100%;
	padding-right: 15px;
	box-sizing: border-box;
}

.contents_faq01 dd {
	padding-left: 7.3rem;
	margin-bottom: 15px;
	width: 100%;
	padding-right: 15px;
	box-sizing: border-box;
}

.contents_faq01 dt:before,
.contents_faq01 dd:before {
	width: 4rem;
	height: 4rem;
	font-size: 2.6rem;
	line-height: 1.4;
	box-sizing: border-box;
	color: var(--i_bg_color);
	background: var(--i_main_color);
	text-align: center;
	font-weight: 400;
	font-family: "Jost", sans-serif;
}

.contents_faq01 dd:before {
	font-size: 3rem;
	line-height: 1.3;
	background: transparent;
	border: 1px solid var(--i_main_color);
	color: var(--i_main_color);
	text-align: center;
}

/*----------------------------contents_related_tags----------------------------*/

.contents_related_tags .inner_item {
	border: 1px solid var(--i_border_color);
}

.contents_related_tags .inner_item:hover {
	background: var(--i_sub2_color);
}

.contents_related .inner_item a:hover {
	background: var(--i_sub2_color);
	opacity: 0.8;
}

/*----------------------------block_table_1----------------------------*/

.block_table_1 table thead {
	background: var(--i_sub2_color);
}

.block_table_1 table thead th,
.block_table_1 table thead td {
	background-color: var(--i_sub2_color);
}

.block_table_1 table th {
	background-color: var(--i_sub2_color);
	border: 1px solid var(--i_border_color);
	text-align: center;
	vertical-align: middle;
}

.block_table_1 table td {
	background-color: #fff;
	border: 1px solid var(--i_border_color);
	vertical-align: middle;
}

.block_table_1 table thead td {
	text-align: center;
	font-weight: bold;
}

/*----------------------------block_table_2,5,6----------------------------*/

.block_table_2 table thead,
.block_table_2 table thead th,
.block_table_2 table thead td,
.block_table_5 table thead,
.block_table_5 table thead th,
.block_table_5 table thead td,
.block_table_6 table thead,
.block_table_6 table thead th,
.block_table_6 table thead td {
	background-color: var(--i_sub2_color);
}

.block_table_2 table th,
.block_table_5 table th,
.block_table_6 table th {
	background-color: var(--i_sub2_color);
	border: 1px solid var(--i_border_color);
	text-align: center;
	vertical-align: middle;
}

.block_table_2 table td,
.block_table_5 table td,
.block_table_6 table td {
	background-color: var(--i_bg_color);
	border: 1px solid var(--i_border_color);
	vertical-align: middle;
}

.block_table_2 table thead td,
.block_table_5 table thead td,
.block_table_6 table thead td {
	text-align: center;
	font-weight: bold;
}

@media screen and (max-width: 500px) {
	.block_table_2 table {
		border-bottom: 1px solid var(--i_border_color);
	}

	.block_table_2 table th {
		border-top: 1px solid var(--i_border_color);
	}

	.block_table_2 table td {
		border-top: 1px dotted var(--i_border_color);
	}
}

/*----------------------------block_table_3----------------------------*/

.block_table_3 table thead,

.block_table_3 table thead th,
.block_table_3 table thead td,
.block_table_7 table thead,
.block_table_7 table thead th,
.block_table_7 table thead td {
	background-color: var(--i_sub2_color);
}

.block_table_3 table th,
.block_table_7 table th {
	background-color: var(--i_sub2_color);
	border: 1px solid var(--i_border_color);
	text-align: center;
	vertical-align: middle;
}

.block_table_3 table td,
.block_table_7 table td {
	background-color: var(--i_bg_color);
	border: 1px solid var(--i_border_color);
	vertical-align: middle;
}

@media screen and (max-width: 500px) {
	.block_table_3 table {
		border-bottom: 1px solid var(--i_border_color);
	}

	.block_table_3 table th {
		border-top: 1px solid var(--i_border_color);
	}

	.block_table_3 table td {
		border-top: 1px dotted var(--i_border_color);
	}
}

.block_table_3_item li {
	vertical-align: middle;
}

/*----------------------------gallery_archive / gallery_single----------------------------*/

.gallery_archive .inner_item a,
.gallery_single .inner_item a {
	transition: 0.2s ease-in-out;
	background-color: transparent;
}

.gallery_archive .inner_item a:hover,
.gallery_single .inner_item a:hover {
	background-color: var(--i_main_color);
}

.gallery_archive .inner_item a:hover img,
.gallery_single .inner_item a:hover img {
	opacity: 0.8;
}

.gallery_archive .inner_item a:after,
.gallery_single .inner_item a:after {
	color: #fff;
}

.gallery_archive .inner_item p span,
.gallery_single .inner_item p span {
	color: #fff;
}

.gallery_single_slider .slick-arrow::before {
	border-color: var(--i_btn_color);
}
.gallery_single_slider .inner_item img {
margin: 60px auto;
}
/*----------------------------widget_gallery01----------------------------*/

.widget_gallery01 .slick-arrow {
	height: 40px;
	width: 30px;
	top: calc(50% - 20px);
	left: 0;
}

.widget_gallery01 .slick-next {
	left: auto;
	right: 0;
}

/*----------------------------gallery hover効果----------------------------*/

main .widget_gallery01 a,
main .gallery_archive .inner_item a,
main .gallery_single .inner_item a {
	overflow: hidden;
}

main .widget_gallery01 a img,
main .gallery_archive .inner_item a img,
main .gallery_single .inner_item a img {
	/*▼ 位置調整 美容院などの人物の場合は50% 30%あたり*/
	object-fit: cover;
	object-position: 50% 50%;
	font-family: 'object-fit: cover; object-position: 50% 50%;';
	backface-visibility: visible;
	transition: 1s ease-out !important;
	transition-property: transform opacity !important;
	transform: scale(1.001, 1.001);
}

main .widget_gallery01 a:hover img,
main .gallery_archive .inner_item a:hover img,
main .gallery_single .inner_item a:hover img {
	transform: scale(1.1, 1.1);
	opacity: 0.8;
}

/*----------------------------news_archive----------------------------*/

.news_archive article .inner_item_img:hover {
	opacity: 0.8;
}

.news_archive article .entry_meta {
	font-size: 1.3rem;
}

.add_design5 #primary article .inner_item_img a i:nth-last-child(1) {

	background-size: 50% !important;
}

#sidebar .widget_news02 li a div span i {
	background-size: 50% !important;
}

/*----------------------------widget_coupon----------------------------*/

.widget_coupon .content_wrapper {
	max-width: 900px !important;
}

.widget_coupon .inner_item > div,
.widget_coupon .inner_item > dl {
	font-size: 1.4rem;
	line-height: 1.7;
}

/*----------------------------widget_form----------------------------*/

.widget_form .privacypolicy {
	border: 1px solid var(--i_border_color);
}

.widget_form form {
	border-top: 1px solid var(--i_border_color);
}

.widget_form form dl {
	border-bottom: 1px solid var(--i_border_color);
}

.widget_form form dt,
.widget_form form dd {
	vertical-align: middle;
}

.widget_form form dt span {
	color: var(--i_sub2_color);
	color: #D43B3B !important;
	font-size: 1.2rem;
	font-weight: bold;
}

main form dl input:focus,
main form textarea:focus {
	background: #fff !important;
}

@media screen and (max-width: 770px) {
	.widget_form form dt {
		border-bottom: 1px dotted var(--i_border_color);
	}
}

main form dl input,
main form textarea {
	background: var(--i_sub2_color);
	border: 1px solid transparent;
	letter-spacing: 1px;
}

main form dl input:focus,
main form textarea:focus {
	background: var(--i_bg_color);
	border: 1px solid var(--i_border_color);
}

main form .submit input {
	letter-spacing: 3px;
	border: none;
}

main form select {
	background: var(--i_bg_color);
	border: 1px solid var(--i_border_color);
	letter-spacing: 1px;
}

main form input[type=radio] + label,
main form input[type=checkbox] + label {
	padding: 0 15px 0 22px;
}

main form input[type=radio] + label::before,
main form input[type=checkbox] + label::before {
	top: 50%;
	left: 0;
	width: 17px;
	height: 17px;
	margin-top: -9px;
	background: var(--i_sub2_color);

}

main form input[type=radio] + label::before {
	border-radius: 30px;
}

main form input[type=radio]:checked + label::after,
main form input[type=checkbox]:checked + label::after {
	left: 4px;
	width: 9px;
	height: 9px;
	margin-top: -5px;
	background: var(--i_sub_color);
}

main form input[type=radio]:checked + label::after {
	border-radius: 100%;
}

/*----------------------------widget_link----------------------------*/

.widget_link .inner_item_txt {
	font-size: 2rem;
}

.widget_link .inner_item_url {
	color: var(--i_sub_color) !important;
	font-weight: 600;
}

/*----------------------------widget_lp01----------------------------*/

.widget_lp01 li a:hover {
	opacity: 0.8;
}

.widget_lp01 li a div span {
	background-size: 60% auto;
}

/*----------------------------widget_menu01----------------------------*/

.widget_menu01 h3 {
	vertical-align: central;
	font-size: 1.7rem;
	letter-spacing: 1px;
	margin-bottom: 15px;
}

.widget_menu01 li dd {
	font-size: 1.3rem;
	letter-spacing: 0;
}

/*----------------------------widget_menu02----------------------------*/

.widget_menu02 h3 {
	vertical-align: central;
	font-size: 1.7rem;
	letter-spacing: 1px;
}

.widget_menu02 li > p {
	font-size: 1.3rem;
	letter-spacing: 0;
}

/*----------------------------widget_news02----------------------------*/

.block_news_2 li {
	box-shadow: 5px 5px 0 rgba(92, 63, 29, 0.05) !important;
}

.block_news_2 li a {
	padding: 30px;
}

.block_news_2 li:nth-child(2n) {
	background: var(--i_bg_color) !important;
}

.block_news_2 li a:hover:after {
	border-width: 15px;
}

.block_news_2 li a::after {
	border: 0 solid var(--i_sub2_color) !important;
}

.block_news_2 li a:hover:after {
	border-width: 10px !important;
}

/*----------------------------widget_shop01----------------------------*/

.widget_staff01 .inner_item a:hover * {
	opacity: 0.8;
}

.widget_staff01 .sub {
	font-size: 1.2rem;
	font-weight: bold;
}

/*----------------------------widget_tel----------------------------*/

.widget_tel .inner_item_tel a,
.widget_tel .inner_item_tel span {
	font-size: 3.6rem;
	letter-spacing: 0.1rem;
	line-height: 1.1;
	padding: 20px;
}

@media screen and (max-width: 450px) {

	.widget_tel .inner_item_tel a,
	.widget_tel .inner_item_tel span {
		font-size: 2.6rem;
		padding: 15px 10px;
	}

	.widget_tel .inner_item_tel img {
		margin: 0 5px -2px 0;
	}

	.widget_tel .inner_item_tel svg {
		height: 16px;
		width: 16px;
	}
}

/*------------------glossary_archive------------------------*/

.glossary_archive .content_wrapper article {
	margin-bottom: 30px;
	padding-bottom: 30px;
	/*★1*/
}

.glossary_archive .content_wrapper .heading.block_header_2 {
	margin-bottom: 10px;
}

.glossary_archive .content_wrapper .heading.block_header_2 .h {
	font-size: 1.8rem;
}

.glossary_archive .content_wrapper .heading.block_header_2 a:after {
	content: "View More";
	position: absolute;
	width: 150px;
	bottom: 32px;
	/*★1 + 数px*/
	right: 0;
	text-align: center;
	font-size: 1.5rem;
	font-weight: normal;
	padding: 3px 10px;
}

.glossary_archive .content_wrapper article .entry_body {
	padding-right: 180px;
}

@media screen and (max-width: 1224px) {
	.glossary_archive .content_wrapper .heading.block_header_2 a:after {
		bottom: calc(32px + 1.8rem);
		/*★1 + 数px*/
	}
}

@media screen and (max-width: 650px) {
	.glossary_archive .content_wrapper article {
		padding-bottom: 60px;
	}

	.glossary_archive .content_wrapper .heading.block_header_2 a:after {
		bottom: 30px;
		/*★1*/
	}

	.glossary_archive .content_wrapper article .entry_body {
		padding-right: 0;
	}
}

/*------------------recruit------------------------*/

.recruit_archive.add_design1 .recruitment_list .inner_item {
	background: rgba(255, 255, 255, .8);
}

.index main > section:first-child + div.composite_box01 .heading.block_header_4 .h,
.index main > section:first-child + div + div.composite_box01 .heading.block_header_4 .h {
	font-size: 2.5rem;
	letter-spacing: 0.1rem;
}

@media screen and (max-width: 800px) {

	.index main > section:first-child + div.composite_box01 .heading.block_header_4 .h,
	.index main > section:first-child + div + div.composite_box01 .heading.block_header_4 .h {
		font-size: 2.1rem;
	}
}

/*------------------blog------------------------*/

.block_news_2 li {
	box-shadow: none;
	border: 1px solid var(--i_border_color);
}

/*------------------contents_related------------------------*/

.contents_related p {
	padding-top: 0 !important;
}

/*------------------btn中央寄せ------------------*/

@media screen and (max-width: 950px) {
	.index .contents_box01 .inner_item_txt .contents_btn01 {
		text-align: center;
	}
}

/*------------------ft調整------------------*/

#fixbtn[data-pattern="1"] .contents_btn01 a {
	width: auto !important;
	min-width: 170px;
}

@media screen and (min-width: 701px) {

	footer nav:nth-last-child(2),
	footer .logo {
		margin-bottom: 10px !important;
	}

	footer .logo a {
		max-width: 100% !important;
	}
}

/*------------------見出し------------------*/

a[id^="hd"] + section .heading.block_header_2 .h {
	font-size: 3.4rem !important;
	color: var(--i_main_color);
}

a[id^="hd"] + section .heading.block_header_2 p {
	font-size: 1.7rem;
	color: var(--i_txt_color);
	font-family: 'Zen Maru Gothic', sans-serif;
}

@media screen and (max-width: 800px) {
	a[id^="hd"] + section .heading.block_header_2 .h {
		font-size: 2.5rem !important;
	}

	a[id^="hd"] + section .heading.block_header_2 p {
		font-size: 1.5rem;
	}
}

a[id^="hd"] + section::before {
	position: absolute;
	display: block;
	content: "";
	width: 15%;
	height: 100%;
	bottom: 0;
	right: 0;
	background: var(--i_btn_color);
	z-index: -1;
	pointer-events: none;
}



#hd + section::before {
	display: none;
}

#hd3 + section .heading.block_header_2 .h {
	background: var(--i_btn_color);
	padding: 3px 15px 0;
	margin-bottom: 15px;
}

@media screen and (min-width: 1701px) {
	#hd2 + section::before {
		right: auto;
		left: 0;
	}
}

@media screen and (min-width: 901px) {
	#hd + section {
		margin-top: 80px;
	}

	#hd + section .inner_item_txt {
		padding-left: 5%;
	}

	#hd2 + section .inner_item_txt {
		padding-right: 5%;
	}

	#hd3 + section .heading.block_header_2 .h {
		margin-left: -12%;
	}
}

@media screen and (max-width: 800px) {
	a[id^="hd"] + section::before {
		width: 100%;
	}

	#hd2 + section .contents_btn01 a {
		border: 1px solid var(--i_txt_color);
	}
}

/*------------------3カラム------------------*/

a[id^="c"] + .composite_box01.block_images_16 .inner_item {
	box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.13);
	background: var(--i_bg_color);
}
a[id^="c"] + .composite_box01 .wrapper_item {
	justify-content: space-between;
	overflow: visible
}
a[id^="c"] + .composite_box01.block_images_16 .inner_item_txt .heading .h {
	color: var(--i_txt_color);
	font-size: 3.0rem !important;
	font-weight: 500;
	letter-spacing: 0.2rem;
	margin-left: -20px;
	margin-top: 30px;
	position: relative;
	background: var(--i_bg_color);
	border-bottom: 1px solid var(--i_main_color);
}
a[id^="c"] + .composite_box01 .inner_item:nth-of-type(2) .inner_item_img img {
	object-position: 50% 10%;
}
@media screen and (min-width: 701px) {
	a[id^="c"] + .composite_box01.block_images_16 .inner_item:nth-of-type(2) {
		margin-top: 80px !important;
	}
}
@media screen and (max-width: 1024px) {
	a[id^="c"] + .composite_box01.block_images_16 .inner_item_txt {
		padding: 0px 15px 15px;
		box-sizing: border-box;
	}
}
@media screen and (max-width: 900px) {
	a[id^="c"] + .composite_box01.block_images_16 .inner_item_txt .heading .h {
		font-size: 2.8rem !important;
	}
	a[id^="c"] + .composite_box01.block_images_16 .inner_item .heading.block_header_4 p {
		font-size: 1.4rem;
		letter-spacing: 0rem;
		padding: 10px 15px 0;
	}
	a[id^="c"] + .composite_box01.block_images_16 .inner_item {
		width: 90% !important;
		margin: 0 auto 40px !important;
	}
}
@media screen and (max-width: 480px) {
	a[id^="c"] + .composite_box01.block_images_16 .inner_item_txt .heading .h {
		font-size: 2.5rem !important;
	}
}


/*------------------4カラム------------------*/
#c2 + div:before,
#c2 + div + section:before {
	position: absolute;
	display: block;
	content: "";
	pointer-events: none;
	width: 100%;
	height: 50%;
	left: 0;
	bottom: 0;
	background: var(--i_sub2_color);
	background-position: 0 0, 6.5px 13px;
	background-size: 13px 26px;
	background-image: radial-gradient(circle, var(--i_bg_color) 1.5px, transparent 1.5px), radial-gradient(circle, var(--i_bg_color) 1.5px, transparent 1.5px);
}
#c2 + div + section:before {
	bottom: auto;
	top: 0;
}
#c2 + div .heading.block_header_4 .h {
	font-size: 3.4rem !important;
}

#c2 + div .heading.block_header_4 p {
	font-size: 1.7rem;
}

@media screen and (max-width: 800px) {
	#c2 + div .heading.block_header_4 .h {
		font-size: 2.5rem !important;
	}

	#c2 + div .heading.block_header_4 p {
		font-size: 1.5rem;
	}
}

/*------------------defend your teeth------------------*/

#txt + section .heading.block_header_6 .h {
	font-size: clamp(5rem, 8vw, 12rem) !important;
	font-family: "Cinzel", serif !important;
	font-weight: 400;
	line-height: 1;
}

/*------------------画像背景------------------*/

#img + section {
	min-height: 450px;
	margin-top: -60px;
}

@media screen and (max-width: 800px) {
	#img + section {
		min-height: 160px;
		margin-top: -30px;
	}
}

/*------------------診療サービス------------------*/
a[id^="sv"] + div .wrapper_item {
	justify-content: center;
}
a[id^="sv"] + div .inner_item {
	/* background: var(--i_bg_color);
	border: 1px solid var(--i_txt_color);
	padding: 20px;
	position: relative; */
	width: 23% !important;
}

a[id^="sv"] + div.composite_box01 .inner_item > a {
	position: relative;
}
a[id^="sv"] + div.composite_box01 .inner_item > a::before {
	position: absolute;
	display: block;
	content: "";
	pointer-events: none;
	width: 40px;
	height: 40px;
	bottom: 0;
	right: 22%;
	background: var(--i_btn_color);
	box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
	border-radius: 50%;
	border: 1px solid;
	z-index: 3;
	transition: 0.4s ease-in-out;
}
a[id^="sv"] + div.composite_box01 .inner_item > a::after {
	content: "\00BB";
	display: block;
	position: absolute;
	bottom: 0;
	right: 22%;
	width: 40px;
	height: 40px;
	color: var(--i_txt_color);
	z-index: 4;
}
a[id^="sv"] + div.composite_box01 .inner_item > a:hover::before {
	opacity: .6;
}

a[id^="sv"] + div .inner_item_img img {
	max-width: 140px;
	height: auto !important;
}

a[id^="sv"] + div .heading.block_header_4 .h {
	font-size: 2.1rem !important;
}
@media screen and (min-width: 501px) and (max-width: 768px) {
	a[id^="sv"] + div.composite_box01 .inner_item > a::before,
	a[id^="sv"] + div.composite_box01 .inner_item > a::after {
		right: calc(50% - 15%);
	}
}
@media screen and (max-width: 800px) {
	a[id^="sv"] + div .heading.block_header_4 .h {
		font-size: 2.5rem !important;
	}
}
@media screen and (max-width: 500px) {
	a[id^="sv"] + div.composite_box01 .inner_item > a::after {
		bottom: -3px;
	}
}

/*-----------------背景ドット------------------*/
#blog_type02 + div,
#g + div,
#b + div {
	margin-top: 0;
}
a[id^="c"] + div::before,
#g + div::before,
a[id$="st"] + section::before,
#blog_type02 + .block_news_2::before,
#b + div::before {
	position: absolute;
	display: block;
	content: "";
	pointer-events: none;
	width: 96%;
	height: 100%;
	left: 0;
	bottom: 0;
	background: var(--i_bg2_color);
	background-position: 0 0, 6.5px 13px;
	background-size: 13px 26px;
	background-image: radial-gradient(circle, #ffda47 1.5px, transparent 1.5px), radial-gradient(circle, #ffda47 1.5px, transparent 1.5px);
	opacity: 0.6;
}
a[id$="st"] + section::before {
	height: 15%;
	border-radius: 0 50px 0 0;
}
a[id^="c"] + div::before,
#g + div::before {
	left: auto;
	right: 0;
	bottom: auto;
	top: 0;
}
a[id^="c"] + div::before {
	border-radius: 50px 0 0 0;
}
#g + div::before {
	height: 15%;
}

/*------------------よくある質問------------------*/
#f + div dl {
	background: var(--i_bg2_color);
	border-radius: 5px;
	margin-bottom: 10px;
	padding: 25px !important;
	border: none;
	position: relative;
}
#f + div dt {
	padding-left: 5rem;
}
#f + div dt.open {
	padding-left: 5rem;
	padding-bottom: 20px;
	border-bottom: 1px dashed var(--i_border_color);
	color: var(--i_main_color);
}
#f + div dt.open i.more {
	top: calc(50% - 20px);
}
#f + div dt i.more {
	height: 30px;
	width: 30px;
	top: calc(50% - 15px);
}
#f + div dt i.more::before {
	font-weight: 500;
	font-size: 2.2rem;
	background: var(--i_sub_color);
	color: var(--i_bg_color);
	border-radius: 50%;
	width: 100%;
	height: 100%;
	display: block;
	line-height: 1.3;
}
.contents_faq01 dt.open i.more::before {
	content: "-";
	line-height: 1.1 !important;
}


/*------------------ブログ------------------*/

#blog_type02 + .block_news_2 li {
	box-shadow: 2px 4px 2px rgba(92, 63, 29, 0.05) !important;
	position: relative;
	border-radius: 10px;
	border: 5px solid var(--i_main_color);
}

#blog_type02 + .block_news_2 li a {
	padding: 30px;
	color: var(--i_txt_color);
}

#blog_type02 + .block_news_2 li a:hover:after {
	border-width: 10px !important;
	border-radius: 10px;
}

#blog_type02 + .block_news_2 li:nth-child(2n) {
	background: var(--i_bg_color) !important;
}

#blog_type02 + .block_news_2 > .content_wrapper > ul {
	align-items: center;
}

#blog_type02 + .block_news_2 > .content_wrapper > ul li {
	transform: rotate(-3deg);
}

#blog_type02 + .block_news_2 > .content_wrapper > ul li:nth-child(2n) {
	transform: rotate(5deg);
	margin-top: 25px;
}

#blog_type02 + .block_news_2 > .content_wrapper > ul li:nth-child(4) {
	transform: rotate(2deg);
	margin-top: 40px;
}

@media screen and (max-width: 900px) {

	#blog_type02 + .block_news_2 > .content_wrapper > ul li:nth-child(2n),
	#blog_type02 + .block_news_2 > .content_wrapper > ul li:nth-child(4) {
		margin-top: 0;
	}
}

@media screen and (max-width: 480px) {
	#blog_type02 + .block_news_2 ul li a {
		font-size: 1.15rem;
	}
}

/*------------------コラム------------------*/

#b + .block_news_1 > .content_wrapper {
	display: grid;
	grid-template-columns: 35% 60%;
	align-items: center;
	justify-content: space-between;
}

#b + .block_news_1 .content_wrapper > .heading {
	grid-row: 1;
	grid-column: 1;
}

#b + .block_news_1 .content_wrapper > .add_text {
	grid-row: 2;
	grid-column: 1;
	font-size: 95%;
	text-align: left;
}

#b + .block_news_1 .content_wrapper > ul {
	grid-row: 1/4;
	grid-column: 2;
	min-width: 0;
	width: 100%;
}

#b + .block_news_1 .content_wrapper > .contents_btn01 {
	grid-row: 3;
	grid-column: 1;
	padding-top: 0;
	padding-left: 0;
}

#b + .block_news_1 li a {
	padding: 15px 0;
}

#b + .block_news_1 ul > li {
	border: none !important;
	background: var(--i_bg_color);
	border-radius: 5px;
	padding: 5px 20px;
	margin-bottom: 20px;
}

#b + .block_news_1 ul > li:last-of-type {
	margin-bottom: 0;
}

@media screen and (min-width: 901px) {
	#b + .block_news_1 .content_wrapper {
		text-align: left;
	}
}

@media screen and (max-width: 650px) {
	#b + .block_news_1 > .content_wrapper {
		display: block;
	}

	#b + .block_news_1 .content_wrapper > .contents_btn01 {
		padding-top: 30px;
		padding-left: 8px;
	}

	#colbumn + .block_news_1 .content_wrapper > .contents_btn01 > .content_wrapper {
		text-align: center;
	}

	#b + .block_news_1 .content_wrapper > .contents_btn01 a {
		min-width: 200px;
	}
}


/*------------------footer------------------*/
@media screen and (min-width: 701px) {
	footer nav li {
		position: relative;
	}
	footer nav li::before {
		content: "";
		display: block;
		position: absolute;
		height: 5px;
		width: 5px;
		border-top: 1px solid var(--i_sub_color);
		border-right: 1px solid var(--i_sub_color);
		transform: rotate(45deg);
		top: calc(50% - 3px);
		left: 5px;
	}
	footer nav li a {
		padding-left: 20px;
	}

	.ft_timetable {
		float: left;
	}
}

/* footerカレンダー */
.ft_timetable {
	max-width: 330px;
	display: flex;
	align-items: flex-start;
	justify-content: flex-start;
	padding: 10px;
	box-sizing: border-box;
	text-align: left;
	background: var(--i_bg_color);
	border-radius: 6px;
}
table.zen {
	width: 100%;
	word-wrap: break-word;
	border-collapse: collapse;
	min-width: 100%;
}
table.zen th {
	background-color: var(--i_sub2_color);
	border: 1px solid var(--i_border_color);
	text-align: center;
	vertical-align: middle;
	padding: 3px;
}
table.zen td {
	background-color: #fff;
	border: 1px solid var(--i_border_color);
	text-align: center;
	vertical-align: middle;
	padding: 3px;
}
table.zen td.cm {
	border: none;
	text-align: left;
}

@media screen and (max-width: 700px) {
	.ft_timetable {
		margin: 0 auto;
	}
}
/*----------MV画像位置調整-------------*/
#mv .mv_img li img {
	object-position: 50% 10%;
}
/*------------------背景色------------------*/

.index .dec1_1:not(.block_images_21) > .content_wrapper {
	background: var(--i_bg_color);
}

/*------------------2btn------------------*/
#fixbtn .contents_btn01 a:nth-of-type(2):nth-last-of-type(1) {
	color: #fff !important;
}

#fixbtn .contents_btn01 a:nth-of-type(2):nth-last-of-type(1)[target="_blank"] span::before,
#fixbtn .contents_btn01 a:nth-of-type(2):nth-last-of-type(1)[target="_blank"] span::after {
	border-color: #fff !important;
}
/*------------------見出し中央寄せ------------------*/

@media screen and (max-width: 900px) {

	a[id^="hd"] + section .heading.block_header_2,
	a[id^="c"] + div .heading.block_header_4,
	#c4 + div .heading.block_header_4 {
		text-align: center;
	}

	.index .heading.block_header_1.align-left,
	.index .heading.block_header_6.align-left {
		align-items: center;
		text-align: center;
	}
	.index .heading.block_header_1::before,
	.index .heading.block_header_6::before {
		left: calc(50% - 65px);
	}
}
/*------------------「数字で見る黒木歯科医院」------------------*/
a[id^="num"] + div.dec1_1:not(.block_images_21):not(#num3+div) > .content_wrapper {
	padding-bottom: 0;
}
#num2 + div .inner_item:nth-of-type(3) .inner_item_txt {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	flex-grow: 1;
}

a[id^="num"] + div .heading.block_header_4 .h {
	position: relative;
	color: var(--i_txt_color);
	font-size: clamp(1.7rem, 2.0vw, 2.2rem);
	padding: 0 15px;
	margin-bottom: 0;
	display: inline-block;
	z-index: 1;
}

a[id^="num"] + div .heading.block_header_4 p {
	font-size: clamp(1.8rem, 2.5vw, 3rem);
	color: var(--i_main_color) !important;
	line-height: 1;
	padding: 0 10px;
	box-sizing: border-box;
}

a[id^="num"] + div .inner_item_txt p {
	font-size: 4rem;
	font-weight: bold;
}

a[id^="num"] + div .inner_item:not(#num2+div .inner_item:nth-of-type(3)) .heading.block_header_4 + p span {
	padding-right: 5px
}

a[id^="num"] + div .inner_item_txt i {
	font-style: normal;
	font-size: clamp(7rem, 6vw, 10rem);
	color: var(--i_sub_color);
	line-height: 1;
}

@media screen and (min-width: 769px) and (max-width: 900px) {
	a[id^="num"] + div .wrapper_item {
		justify-content: center;
	}
	a[id^="num"] + div .inner_item {
		width: 31% !important;
	}
	a[id^="num"] + div.composite_box01.block_images_1 .inner_item:nth-of-type(2n),
	a[id^="num"] + div.composite_box01 .inner_item:nth-of-type(3):nth-last-of-type(1) {
		margin-left: 2% !important;
		margin-bottom: 30px !important;
	}
}

@media screen and (max-width: 1000px) {
	a[id^="num"] + [class*="dec2_"].composite_box01.block_images_1 .inner_item_txt,
	a[id^="num"] + [class*="dec2_"].composite_box01.block_images_9 .inner_item_txt {
		padding: calc(3vw - 10px) 1vw 3vw;
	}
}
/* イラスト */
a[id^="num"] + div .inner_item {
	position: relative;
}
a[id^="num"] + div .inner_item:before {
	position: absolute;
	display: block;
	content: "";
	width: 100px;
	height: 100px;
	bottom: 0;
	left: 0;
	pointer-events: none;
}
#num1 + div .inner_item:nth-of-type(1):before {
	background: url("/common/upload_data/yamada-dtcom/image/num1.png") no-repeat left bottom / contain;
}
#num1 + div .inner_item:nth-of-type(2):before {
	background: url("/common/upload_data/yamada-dtcom/image/num2.png") no-repeat left bottom / contain;
}
#num1 + div .inner_item:nth-of-type(3):before {
	background: url("/common/upload_data/yamada-dtcom/image/num3.png") no-repeat left bottom / contain;
}
#num2 + div .inner_item:nth-of-type(1):before {
	background: url("/common/upload_data/yamada-dtcom/image/num4.png") no-repeat left bottom / contain;
}
#num2 + div .inner_item:nth-of-type(2):before {
	background: url("/common/upload_data/yamada-dtcom/image/num5.png") no-repeat left bottom / contain;
}
#num2 + div .inner_item:nth-of-type(3):before {
	background: url("/common/upload_data/yamada-dtcom/image/num6.png") no-repeat left bottom / contain;
}
#num3 + div .inner_item:nth-of-type(1):before {
	background: url("/common/upload_data/yamada-dtcom/image/num7.png") no-repeat left bottom / contain;
}
#num3 + div .inner_item:nth-of-type(2):before {
	background: url("/common/upload_data/yamada-dtcom/image/num8.png") no-repeat left bottom / contain;
}
#num3 + div .inner_item:nth-of-type(3):before {
	background: url("/common/upload_data/yamada-dtcom/image/num9.png") no-repeat left bottom / contain;
}
@media screen and (max-width: 900px) {
	a[id^="num"] + div .inner_item:before {
		width: 75px;
		height: 75px;
	}
}

/* -------------ダミーページ----------------- */
header .nav_1st a[href^="#"] {
	pointer-events: none;
}

/* -------------テキストが長いボタン----------------- */
#l_btn + div.contents_btn01 a {
	min-width: clamp(0px, 100%, 250px);
}

/*-----------------TOPカラム数変更------------------------*/
a[id^="c"] + .composite_box01 .wrapper_item {
	justify-content: center;
}
a[id^="c"] + .composite_box01 .inner_item {
	width: 80% !important;
}
a[id^="c"] + .composite_box01 .inner_item.empty {
	display: none;
}
a#c1 + div::before {
	left: 0;
	right: auto;
	border-radius: 0 50px 0 0;
}

/*---------------フッターボタン----------------------*/
#fixbtn .contents_btn01 span {
	color: #fff;
}
#fixbtn .contents_btn01 a[target=_blank] span:before,
#fixbtn .contents_btn01 a[target=_blank] span:after {
	border-color: #fff;
}

/*---------------背景画像-----------------*/
body:not(.index),
body:not(.index) main {
	background: url(/common/upload_data/yamada-dtcom/image/20251126081041.png) repeat;
}

/*-------------ボタン----------------*/
.contents_btn01 a:before,
main form .submit span:before {
	content: "";
	display: block;
	width: 20px;
	height: 20px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='M190.06 414l163.12-139.78a24 24 0 000-36.44L190.06 98c-15.57-13.34-39.62-2.28-39.62 18.22v279.6c0 20.5 24.05 31.56 39.62 18.18z' fill='currentColor'/%3E%3C/svg%3E");
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
	top: 50%;
	transform: translateY(-50%);
}

/*----------------タイトルデザイン--------------------*/
.heading.block_header_1 p,
.heading.block_header_6 .h {
	color: var(--i_main_color);
	border-bottom: 3px solid var(--i_main_color);
	margin-bottom: 5px;
}

/*.画像＋テキストタイトル */
.contents_box01 .inner_item_txt .heading.block_header_2 .h {
	color: var(--i_main_color);
	font-weight: bold;
	padding-left: 0;
	border: none;
}

/* 左にボーダー */
.contents_box01 .heading.block_header_2 .h,
.composite_box01 .heading.block_header_2 .h {
	padding-left: 1rem;
	border-left: 3px solid var(--i_main_color);
}
.heading.block_header_4 .h {
	color: var(--i_main_color);
	font-weight: bold;
}
/* nパーツ */
.composite_box01 .inner_item .heading .h {
	color: var(--i_txt_color);
}
/**/
#lv_outer {
	padding-left: 7vw;
	width: calc(100% - 7vw);
}
#lv p {
	display: none;
}
#pan {
	padding: 0;
	border-bottom: 1px solid var(--i_border_color);
	border-bottom: none;
  margin-bottom: 40px;
  margin-top: 20px;
}
#pan ul,
#pan ol {
	justify-content: flex-start;
	margin-left: 0;
}
#pan li {
	padding: 5px 0 3px 30px;
}
body:not(.index) main {
	overflow: visible;
}
body:not(.index) main > section:first-of-type {
	width: fit-content;
	top: -155px;
	background: url(/common/upload_data/yamada-dtcom/image/20251126081041.png) repeat !important;
	border-radius: 0px 50px 0px 0;
	padding: 2rem 3rem 0 7vw;
	position: relative;
	overflow: visible;
}
body:not(.index) main > section:first-of-type .heading.block_header_6.block_header {
	flex-direction: column-reverse !important;
	padding-bottom: 2rem !important;
}
body:not(.index) main > section:first-of-type .heading.block_header_6.block_header {
	flex-direction: column-reverse !important;
	padding-bottom: 2rem !important;
}
body:not(.index) main > section:first-of-type .heading.block_header_6 .h {
	border: none;
	font-size: clamp(3rem, 3.75vw, 7.2rem);
	font-weight: bold;
	color: var(--i_txt_color);
}
body:not(.index) main > section:first-of-type:after {
	content: "";
	position: absolute;
	width: 43px;
	height: 38px;
	background: url(/common/upload_data/yamada-dtcom/image/20251127070141.png);
	bottom: 0px;
	right: -43px;
}
body:not(.index) main > section:first-of-type .content_wrapper {
	position: relative;
}
body:not(.index) main > section:first-of-type .content_wrapper:before {
	content: "";
	position: absolute;
	width: 43px;
	height: 38px;
	background: url(/common/upload_data/yamada-dtcom/image/20251127070141.png);
	top: -58px;
	left: 0px;
}
body:not(.index) header.over + #lv_outer #lv {
	min-height: 650px !important;
}
body:not(.index) main > section:nth-of-type(2):not(.news_archive):not(.gallery_archive) {
	margin-top: -120px;
}
@media screen and (max-width: 800px) {
	body:not(.index) main > section:first-of-type {
		width: fit-content;
		top: -140px;
	}
	body:not(.index) header.over + #lv_outer #lv {
		min-height: 350px !important;
	}
}
@media screen and (max-width: 400px) {
	body:not(.index) main > section:first-of-type {
		width: fit-content;
		top: -110px;
	}
	body:not(.index) main > section:first-of-type .content_wrapper:before {
		top: -55px;
	}
}
body.view_gallery_archive .contents_box01 .inner_item_txt:nth-of-type(1):nth-last-of-type(1) {
	padding-left: 30px;
	margin-top: 20px;
}
body.view_gallery_archive .contents_box01 .heading + .add_text {
	margin-bottom: 25px;
}
body.view_gallery_archive .composite_box01 .inner_item {
	height: -webkit-fill-available;
}
body.view_gallery_archive .composite_box01 .inner_item .heading .h {
	padding-left: 10px;
	border-left: 3px solid var(--i_main_color);
}
body.view_gallery_archive .composite_box01 .heading.block_header_1 p,
body.view_gallery_archive .composite_box01 .heading.block_header_6 .h {
	font-weight: bold;
	border-bottom: none;
}
@media screen and (max-width: 900px) {
	body.view_gallery_archive .contents_box01:not(.block_image_text_2):not(.block_image_text_6):not(.block_text_6) .wrapper_item {
		display: flex;
	}
	body.view_gallery_archive .contents_box01 .inner_item_txt {
		padding-bottom: 30px !important;
		max-width: none !important;
	}
}
/* ------------------2025/11/28追記----------------------- */
/* システムページ（医院紹介/ブログ/コラム） */
[data-type^="gallery_archive"] main > section:first-of-type::after,
[data-type^="blog_archive"] main > section:first-of-type::after,
[data-type^="column_archive"] main > section:first-of-type::after {
	bottom: auto;
	top: 88px;
}
[data-type^="gallery_archive"] .heading.block_header_6,
[data-type^="blog_archive"] .heading.block_header_6,
[data-type^="column_archive"] .heading.block_header_6 {
	flex-direction: column-reverse !important;
}
@media screen and (max-width: 500px) {
	[data-type^="gallery_archive"] main > section:first-of-type,
	[data-type^="blog_archive"] main > section:first-of-type,
	[data-type^="column_archive"] main > section:first-of-type {
		width: calc(100% - 50px) !important;
		padding: 2rem 0 0 7vw !important;
	}
	[data-type^="gallery_archive"] #pan,
	[data-type^="blog_archive"] #pan,
	[data-type^="column_archive"] #pan {
		top: 30px;
		position: relative;
	}
}
@media screen and (min-width: 401px) and (max-width: 800px) {
	[data-type^="gallery_archive"] .heading.block_header_6,
	[data-type^="blog_archive"] .heading.block_header_6,
	[data-type^="column_archive"] .heading.block_header_6 {
		margin-bottom: 50px;
	}
}

/*--------------関連ページボタン----------------*/
a[id^="rp_btn"]+div .content_wrapper {
    display: flex;
    justify-content: center;
    max-width: 1065px !important;
    flex-wrap: wrap;
}
a[id^="rp_btn"]+div a {
    width: 240px !important;
}
a#rp_btn3+div .content_wrapper {
    justify-content: flex-start;
}
a#rp_btn3+div .content_wrapper a:nth-of-type(n+2) {
    display: none;
}
@media screen and (max-width: 1063px) {
    a[id^="rp_btn"]+div .content_wrapper {
    max-width: 808px !important;
}
}
@media screen and (max-width: 807px) {
    a[id^="rp_btn"]+div .content_wrapper {
    max-width: 552px !important;
}
}
@media screen and (max-width: 551px) {
    a#rp_btn3+div .content_wrapper {
    justify-content: center;
}
}
/*------------------TOP画像調整------------------*/
a#c3+div .wrapper_item .inner_item,
a#c3+div .wrapper_item .inner_item a,
a#c3+div .inner_item_img,
a#c3+div .inner_item_img img,
a#c1+div .wrapper_item .inner_item,
a#c1+div .wrapper_item .inner_item a,
a#c1+div .inner_item_img,
a#c1+div .inner_item_img img {
    min-height: 550px;
}
a#c1+div .inner_item_img img {
    object-position: 50% 0%;
}
@media screen and (max-width: 1350px) {
	a#c3+div .wrapper_item .inner_item,
	a#c3+div .wrapper_item .inner_item a,
	a#c3+div .inner_item_img,
	a#c3+div .inner_item_img img,
	a#c1+div .wrapper_item .inner_item,
	a#c1+div .wrapper_item .inner_item a,
	a#c1+div .inner_item_img,
	a#c1+div .inner_item_img img {
    min-height: 500px;
}
}
@media screen and (max-width: 900px) {
	a#c3+div .wrapper_item .inner_item,
	a#c3+div .wrapper_item .inner_item a,
	a#c3+div .inner_item_img,
	a#c3+div .inner_item_img img,
	a#c1+div .wrapper_item .inner_item,
	a#c1+div .wrapper_item .inner_item a,
	a#c1+div .inner_item_img,
	a#c1+div .inner_item_img img {
    min-height: 400px;
}
}
@media screen and (max-width: 500px) {
	a#c1+div .inner_item_img img {
    object-position: 25% 25%;
}
}
/*------------------関連パーツ-----------------------*/
section.contents_related,
section.contents_related_tags {
    display: none;
}

/*------------------医院紹介ページ--------------------------*/
.view_gallery_archive[data-type="gallery_archive"] #lv .parallax_img {
    transform: scale(0.99) !important;
    transform: scale(1) !important;
    background-size: contain !important;
    bottom: -76%;
}
@media screen and (max-width: 1050px) {
	.view_gallery_archive[data-type="gallery_archive"] #lv .parallax_img {
    bottom: -71%;
    width: 109%;
    margin-left: -40px;
}
}
@media screen and (max-width: 900px) {
	.view_gallery_archive[data-type="gallery_archive"] #lv .parallax_img {
        bottom: -72%;
        width: 120%;
        margin-left: -115px;
    }
}
@media screen and (max-width: 850px) {
	.view_gallery_archive[data-type="gallery_archive"] #lv .parallax_img {
        bottom: -75%;
    }
}
@media screen and (max-width: 800px) {
    .view_gallery_archive[data-type="gallery_archive"] #lv .parallax_img {
        bottom: -72%;
        width: 120%;
        margin-left: -115px;
    }
}
@media screen and (max-width: 768px) {
	.view_gallery_archive[data-type="gallery_archive"] #lv .parallax_img {
        width: 105%;
        margin-left: -10px;
		background-size: cover !important;
    }
}
@media screen and (max-width: 510px) {
	.view_gallery_archive[data-type="gallery_archive"] #lv .parallax_img {
        width: 120%;
        margin-left: -60px;
        background-size: contain !important;
        top: 0px !important;
    }
}
@media screen and (max-width: 480px) {
	.view_gallery_archive[data-type="gallery_archive"] #lv .parallax_img {
        width: 122%;
        margin-left: -67px;
        background-size: cover !important;
    }
}
/*----------------詳細ページ-------------------*/
[data-type="blog_detail"] #pan,
[data-type="column_detail"] #pan,
body.view_category_tag #pan {
    top: 0;
}
#pan {
    top: 25px;
}
[data-type="blog_detail"] main > section:first-of-type {
    width: auto;
}
[data-type="blog_detail"] #pan,
[data-type="column_detail"] #pan {
	max-width: 1250px;
}
[data-type="blog_detail"] #pan ul,
[data-type="blog_detail"] #pan ol,
[data-type="column_detail"] #pan ul,
[data-type="column_detail"]#pan ol {
    top: 25px;
    position: relative;
    width: 80%;
    max-width: none !important;
    padding: 2rem 3rem 0 7vw;
}
[data-type="blog_detail"] #primary article .content_wrapper,
[data-type="column_detail"] #primary article .content_wrapper {
    padding-top: 30px;
}
@media screen and (max-width: 1400px) {
	[data-type="blog_detail"] #pan ul,
	[data-type="blog_detail"] #pan ol ,
	[data-type="column_detail"] #pan ul,
	[data-type="column_detail"]#pan ol {
    width: 75%;
}
}
@media screen and (max-width: 1100px) {
	[data-type="blog_detail"] #pan ul,
	[data-type="blog_detail"] #pan ol,
	[data-type="column_detail"] #pan ul,
	[data-type="column_detail"]#pan ol {
        width: calc(100% - 310px);
}
}
@media screen and (max-width: 850px) {
	[data-type="blog_detail"] #pan ul,
	[data-type="blog_detail"] #pan ol ,
	[data-type="column_detail"] #pan ul,
	[data-type="column_detail"]#pan ol {
        width: 100%;
	top: 35px;
}
body.view_category_tag .heading.block_header_6 {
        margin-bottom: 50px;
}
body.view_category_tag #pan {
        top: 25px;
}
}
@media screen and (max-width: 490px) {
	[data-type="blog_detail"] #pan ul,
	[data-type="blog_detail"] #pan ol ,
	[data-type="column_detail"] #pan ul,
	[data-type="column_detail"]#pan ol {
		top: 70px;
}
}
@media screen and (max-width: 400px) {
body.view_category_tag .heading.block_header_6 {
        margin-bottom: 25px;
}
}
}
[data-type="blog_archive"] .contents_box01 .wrapper_item,
[data-type="column_archive"] .contents_box01 .wrapper_item {
    padding-top: 20px;
}
@media screen and (max-width: 599px) {
[data-type="column_archive"] #pan {
    top: 70px;
}
}
@media screen and (max-width: 570px) {
[data-type="blog_archive"] #pan {
    top: 70px;
}
}

/*---------------アクセスデザイン3,4-----------------*/
.widget_shop01.add_design3 .info p+.contents_btn01 a,
.widget_shop01.add_design4 .info p+.contents_btn01 a {
    min-width: 0;
    text-decoration: none;
    margin-bottom: 0;
    width: 220px !important;
}
.widget_shop01.add_design3 .info p+.contents_btn01 a[target=_blank] span::before,
.widget_shop01.add_design4 .info p+.contents_btn01 a[target=_blank] span::before {
    right: 18px;
}
.widget_shop01.add_design3 .info p+.contents_btn01 a[target=_blank] span::after,
.widget_shop01.add_design4 .info p+.contents_btn01 a[target=_blank] span::after {
    right: 20px;
}
/*-------------LV-----------------*/
body:not(.index) main > section:first-of-type .content_wrapper:before {
    background: url(/common/upload_data/yamada-dtcom/image/20251219170905.png);
    top: -49px;
    left: -1px;
    background-size: contain;
    background-repeat: no-repeat;
}
body:not(.index) main > section:first-of-type:after {
    bottom: -7px;
    right: -42px;
    background: url(/common/upload_data/yamada-dtcom/image/20251219170905.png);
    background-size: contain;
    background-repeat: no-repeat;
}
