@charset "UTF-8";

:root {
	--i_bg_color: #FFFFFF;
	--i_txt_color: #333333;
	--i_main_color: #da2121;
	--i_sub_color: #022b53;
	--i_sub2_color: #fff9ee;
	--i_btn_color: #022b53;
	--i_btn_hover_color: #001a33;
	--i_btn_txt_color: #FFFFFF;
	--i_btn_hover_txt_color: #FFFFFF;
	--i_shadow_color: rgba(0, 0, 0, 0.05);
	--i_border_color: rgba(0, 0, 0, 0.13);
	--i_noimg_bg_color: #FFFFFF;
	--i_padding: 20px;
}

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%;
}

.no_img {
	background: var(--i_noimg_bg_color, rgba(200, 200, 200, 0.3));
	border: solid 1px var(--i_border_color);
}

/*----------------------------余白設定----------------------------*/

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: calc(var(--i_padding) * 3);
}

main>section:not([class*="pt"]),
main>div:not([class*="pt"]),
aside>section:not([class*="pt"]),
aside>div:not([class*="pt"]) {
	padding-bottom: calc(var(--i_padding) * 3);
}

@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: calc(var(--i_padding) * 2);
	}

	main>section:not([class*="pt"]),
	main>div:not([class*="pt"]),
	aside>section:not([class*="pt"]),
	aside>div:not([class*="pt"]) {
		padding-bottom: calc(var(--i_padding) * 2);
	}
}

/*----------------------------背景パララックス----------------------------*/

.parallax {
	box-shadow: 0 0 5px var(--i_shadow_color) inset;
}

/*----------------------------ボタン----------------------------*/

input[type="button"],
input[type="text"],
input[type="submit"],
input[type="image"],
textarea {
	appearance: none;
	-webkit-appearance: none;
	border-radius: 0;
}

#fixbtn .contents_btn01 a:before {
	display: none;
}

input[type="button"],
input[type="text"],
input[type="submit"],
input[type="image"],
textarea {
	appearance: none;
	-webkit-appearance: none;
	border-radius: 0;
}

/*----------------------------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;
	color: var(--i_main_color);
	font-size: 1.4rem;
}

.category1 li a:hover,
.category1 li a.current {
	background: var(--i_main_color);
	color: #fff;
}

/*--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_sub_color);
	border-right: 1px solid var(--i_sub_color);
	height: 5px;
	width: 5px;
	transform: rotate(45deg);
	top: calc(50% - 3px);
	left: 0;
}

@media screen and (max-width: 850px) {
	#sidebar {
		border: 5px solid var(--i_sub2_color);
	}
}

/*----------------------------pager----------------------------*/

/*アーカイブページページャー*/
.pager li a {
	height: 45px;
	width: 45px;
	line-height: 45px;
	border: 1px solid var(--i_main_color);
	font-size: 1.4rem;
	color: var(--i_main_color);
}

.pager li:not(.arrow) a:hover,
.pager li:not(.arrow).current a {
	background: var(--i_main_color);
	color: #fff;
}

.pager li.arrow a {
	background: none;
}

/*シングルページページャー*/
.pager2 li a {
	border: 1px solid var(--i_main_color);
	color: var(--i_main_color);
	line-height: 45px;
	padding: 0 15px;
	font-size: 1.4rem;
}

.pager2 li a:hover {
	background: var(--i_main_color);
	color: #fff;
}

/*----------------------------popup----------------------------*/

/*画像ポップアップ拡大表示*/
.popup {
	background: rgba(255, 255, 255, 0.7);
}

.popclose {
	color: var(--i_main_color);
}

.popnav li {
	background: var(--i_main_color);
}

.poptxt {
	font-size: 1.2rem;
}

/*------------------------------------------------------------------*/
/*----------------------------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.15;
	box-sizing: border-box;
	font-weight: 600;
	color: var(--i_btn_color);
	border: 2px solid var(--i_btn_color);
	text-align: center;
	border-radius: 6px;
}

.contents_faq01 dd:before {
	line-height: 1.35;
	background: var(--i_main_color);
	color: var(--i_bg_color);
	border-color: var(--i_main_color);
}

/*----------------------------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: #000;
}

.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);
}

/*----------------------------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%;
	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;
}

@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);
	color: var(--i_txt_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_main_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_main_color);
	font-weight: bold;
}

.widget_link.block_link_1 .wrapper_item a {
	border-left: 1px solid var(--i_main_color);
}

/*----------------------------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 var(--i_shadow_color);
}

.block_news_2 li a {
	padding: 30px;
}

.block_news_2 li a:after {
	border: 0 solid var(--i_sub2_color);
}

.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;
	font-weight: bold;
}

@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;
	}
}

/*------------------blog------------------------*/
.block_news_2 li {
	box-shadow: none;
	border: 1px solid var(--i_border_color);
}

/*------------------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 .h:after {
	top: 1em;
}

.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, 0.8);
}

/*------------------------------------------------------------------*/
/*---------------------------Generated------------------------------*/
/*------------------------------------------------------------------*/

/* ===== load ===== */

#load div:nth-of-type(1) {
	background: var(--i_bg_color);
}

#load .loader {
	border: 1px solid var(--i_main_color);
}

#load .loader,
#load .loader::before {
	border-top-color: var(--i_main_color);
}

#load .loader::before,
#load .loader::after {
	/*★*-1*/
	left: -1px;
	top: -1px;
}

#load .loader,
#load .loader::before {
	border-top-color: var(--i_main_color) !important;
}

#load img {
	max-width: 280px;
	max-height: 180px;
}

@media screen and (max-width: 650px) {
	#load img {
		max-width: 150px;
	}
}

/* ===== header ===== */

header {
	font-size: 1.4rem;
	color: var(--i_txt_color);
	background: var(--i_bg_color);
}

.scrolled header {
	box-shadow: 0 0 20px rgba(0, 0, 0, .13);
}

header .wraper,
header#pattern2:not(.width_full) nav {
	max-width: 1400px;
}

header h1 {
	line-height: 1.5;
	font-size: 1.3rem;
	font-weight: normal;
	opacity: .7;
	fill: var(--i_txt_color);
}

body.scrolled header .logo {
	padding: 20px 0 !important;
}

header .logo,
body header .logo a img {
	max-width: 280px;
}

body.scrolled header .logo a img {
	max-width: 200px;
}

header .header_contents .header_col1 {
	/* ▼水平方向レイアウト */
	flex-direction: row;
	align-items: center;
	justify-content: flex-end;
}

header .header_contents .header_col1 .tel {
	position: relative;
	font-size: 26px;
	line-height: 1;
	padding-left: 26px;
	font-weight: 600;
	fill: var(--i_txt_color);
}

header .header_contents .header_col1 .tel svg,
header .burger li.sp_translate a svg,
header .header_contents .header_sns li svg {
	fill: 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% - 10px);
	left: 0;
}

header#pattern1 nav,
header#pattern3 nav {
	position: relative;
}

header nav * {
	color: var(--i_txt_color);
}

header nav ul.nav_1st {
	width: 100%;
	max-width: 1300px !important;
}

header nav ul.nav_1st>li {
	box-sizing: border-box;
	position: relative;
}

header nav ul.nav_1st>li:after {
	/*罫線*/
	position: absolute;
	display: block;
	content: "";
	width: 1px;
	height: 80%;
	top: 10%;
	left: 0;
	background: var(--i_border_color);
	pointer-events: none;
}

header nav ul.nav_1st>li:last-child:before {
	/*罫線*/
	content: "";
	position: absolute;
	transition: .2s ease-in-out;
	display: block;
	content: "";
	width: 1px;
	height: 80%;
	top: 10%;
	right: 0;
	background: var(--i_border_color);
	pointer-events: none;
}

header nav ul.nav_1st>li>a {
	font-size: 1.5rem;
	font-weight: 600;
	position: relative;
	padding-left: 1vw;
	padding-right: 1vw;
}

header nav ul.nav_1st>li>a span {
	/*ナビの高さはline-heightで調整*/
	line-height: 3;
	/* マージン普通選択時 */
	letter-spacing: .1rem;
	transition: .4s ease-in-out;
	font-size: 1.45rem;
	font-weight: 600;
	color: var(--i_txt_color);
}

body.scrolled header:not(.nofixed) nav ul.nav_1st>li>a span {
	line-height: 4;
}

header#pattern2 nav ul.nav_1st>li>a span {
	line-height: 2;
}

body.scrolled header#pattern2 nav ul.nav_1st>li>a span {
	line-height: 2;
}

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, .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% - .5px);
	left: 5px;
}

@media screen and (min-width: 901px) {
	header nav ul.nav_1st>li>a:before {
		content: '';
		display: block;
		position: absolute;
		bottom: 0;
		left: 10%;
		width: 80%;
		height: 2px;
		background: var(--i_main_color);
		transform-origin: center;
		transform: scale(0);
		transition: 0.5s cubic-bezier(0.43, 0.05, 0.17, 1);
	}

	header nav ul.nav_1st>li>a:hover:before {
		transform: scale(1);
	}
}

@media screen and (max-width: 900px) {
	body.scrolled header .logo {
		padding: 10px 0 !important;
	}

	header.open:after,
	header .header_contents {
		/*background: rgba(255, 255, 255, 0.9);*/
		background: #FFFFFF;
	}

	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 {
		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_sub_color);
	}

	header nav ul.nav_2nd {
		border-top: 1px solid var(--i_border_color);
	}

	header nav ul.nav_2nd>li {
		box-shadow: none;
	}

	header nav ul.nav_2nd>li * {
		color: #333;
	}

	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-height: 50px !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 nav ul.nav_1st>li>a:hover {
		background: none;
	}

	header nav ul.nav_1st>li>a span {
		color: var(--i_txt_color);
	}

	header#pattern2 nav ul.nav_1st {
		border-bottom: 0px;
	}

	header .wraper>.inner {
		min-height: 45px !important;
	}
}

/* ===== MV LV ===== */

#mv_outer {
	/*mvに背景とかはここを利用する*/
	position: relative;
}

#mv {
	width: 100%;
	height: 80vh;
}

@media screen and (min-width: 769px) {
	#mv.slide06 ul.mv_img li {
		width: 55% !important;
		left: 0%;
		top: 0%;
	}

	#mv.slide06 ul.mv_img li.r {
		right: 0% !important;
		width: 40% !important;
		left: auto;
		top: 0;
	}
}

#mv:after {
	/*スライドに重ねる色*/
	pointer-events: none;
	z-index: 6;
	left: auto;
	right: 0;
}

#mv .mv_text {
	height: 90%;
	align-items: flex-end;
	width: 100% !important;
	left: 0 !important;
	bottom: 10% !important;
	text-shadow: 0 0 5px rgba(0, 0, 0, .4);
}

#mv .mv_text>div {
	max-width: none !important;
	box-sizing: border-box;
	width: 95%;
	position: relative;
	color: var(--i_bg_color);
}

#mv .mv_text h2 {
	font-size: 4rem !important;
	/* ←max-font-size的意味合いで使用する。動作はjs。*/
	line-height: 1.1;
	font-weight: 600;
	position: relative;
}

#mv .mv_text p {
	font-size: 2.2rem;
	font-weight: 600;
	padding-top: 15px;
	display: inline-block;
}

#mv .mv_scroll {
	width: 3%;
	height: auto;
	position: absolute;
	left: auto;
	right: 0%;
	bottom: 10px;
}

#mv .mv_scroll a {
	-webkit-writing-mode: vertical-lr;
	-ms-writing-mode: tb-lr;
	writing-mode: vertical-lr;
	font-weight: 700;
	letter-spacing: .1em;
	font-size: 1.65rem;
	position: relative;
	padding-bottom: 100px;
	height: auto;
	width: 100%;
	text-indent: 0;
	transition: all .3s ease-in-out;
	text-align: center;
	color: var(--i_main_color);
	display: flex;
	align-items: center;
	font-family: 'Poppins', 'Noto Sans JP', sans-serif;
}

#mv .mv_scroll a:after {
	content: "";
	display: block;
	width: 1px;
	height: 70px;
	transform: none;
	position: absolute;
	bottom: 0;
	left: calc(50% - .5px);
	top: auto;
	background: var(--i_main_color);
}

#mv .mv_scroll a:before {
	content: "";
	display: block;
	width: 8px;
	height: 8px;
	border-radius: 50px;
	position: absolute;
	top: auto;
	bottom: 0;
	left: calc(50% - 3.95px);
	background-color: var(--i_main_color);
	transform: rotate(0deg);
	animation: circlemove 2s ease-in-out infinite, cirlemovehide 2s ease-out infinite;
	z-index: 1;
}

#mv .mv_arrow,
#mv .mv_pointer {
	display: none;
}

@media screen and (max-width: 100vh) {
	#mv {
		height: 72vh;
	}
}

@media screen and (min-width: 901px) {
	#mv_outer {
		padding-top: 20px;
	}
}

@media screen and (max-width: 768px) {

	#mv,
	#mv:after {
		width: 90%;
	}

	#mv .mv_text h2 {
		font-size: 6vw !important;
		line-height: 1.5;
	}

	#mv .mv_text p {
		font-size: 1.8rem;
	}

	#mv .mv_scroll {
		right: -4%;
	}

	#mv .mv_scroll a {
		font-size: 1.2rem;
		color: var(--i_txt_color);
	}

	#mv .mv_scroll a:after {
		background: var(--i_txt_color);
	}
}

#lv {
	background: var(--i_txt_color);
	height: 350px;
	padding-bottom: 0;
	width: 100%;
}

#lv_outer {
	/*mvに背景とかはここを利用する*/
	position: relative;
}

header.over+#lv_outer #lv {
	min-height: 400px;
}

#lv div {
	opacity: .3;
}

#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: 600;
	text-align: center;
	position: relative;
	word-break: break-all;
	line-height: 1.2;
	color: #fff;
}

@media screen and (min-width: 901px) {
	#lv {
		margin-top: -20px;
	}
}

@media screen and (max-width: 800px) {
	#lv {
		height: 200px;
	}

	#lv p span {
		font-size: 2.8rem;
	}
}

#mv .mv_textimg {
	height: 95%;
	width: 98%;
	left: 2%;
}

#mv .mv_textimg img {
	width: 70%;
	max-width: 800px;
}

#mv .mv_textimg a {
	display: block;
	width: 37%;
	height: auto;
	position: absolute;
	top: auto;
	bottom: 0;
	left: auto;
	right: 32%;
	aspect-ratio: 50 / 10;
}

@media screen and (max-height: 900px),
(max-width: 900px) {
	#mv .mv_textimg {
		height: 80%;
	}

	#mv .mv_textimg img {
		width: 50%;
	}

	#mv .mv_textimg a {
		width: 27%;
		right: 51%;
	}
}

@media screen and (max-width: 600px) {
	#mv .mv_textimg {
		height: 90%;
	}

	#mv .mv_textimg img {
		width: 60%;
	}

	#mv .mv_textimg a {
		width: 33%;
		right: 41%;
	}
}

@keyframes circlemove {
	0% {
		bottom: 45px;
	}

	100% {
		bottom: -5px;
	}
}

@keyframes cirlemovehide {
	0% {
		opacity: 0;
	}

	50% {
		opacity: 1;
	}

	80% {
		opacity: 0.9;
	}

	100% {
		opacity: 0;
	}
}

/* ===== pan ===== */

#pan {
	padding: 0;
	border-bottom: 1px solid var(--i_border_color);
}

#pan li {
	font-size: 1.2rem;
	padding: 5px 0 3px 30px;
}

#pan li:before,
#pan li:after {
	border-top: 1px solid var(--i_border_color);
	border-right: 1px solid var(--i_border_color);
}

/* ===== btn ===== */

header .header_contents .header_col1 .btn .translate a svg {
	fill: var(--i_txt_color);
}

header .header_contents .header_col1 .btn>a,
header#pattern4 .wraper>.inner>.btn>a {
	color: var(--i_btn_txt_color) !important;
	background: #fff;
	position: relative;
	display: inline-block;
	text-align: center;
	border: 2px solid var(--i_btn_color);
	transition: .4s ease-in-out;
	border-radius: 100px;
	overflow: hidden;
	width: 250px !important;
	box-sizing: border-box;
	z-index: 2;
	margin-bottom: 0;
}

header .header_contents .header_col1 .btn>a:has(span.inn),
header#pattern4 .wraper>.inner>.btn>a:has(span.inn) {
	padding: 8px 15px 8px 25px !important;
}

header .header_contents .header_col1 .btn>a[target=_blank] span.inn {
	padding: 0 20px 0 25px !important;
}

header .header_contents .header_col1 .btn>a:before,
header#pattern4 .wraper>.inner>.btn>a:before {
	content: '';
	width: 8px;
	height: 8px;
	border-right: 2px solid var(--i_bg_color);
	border-bottom: 2px solid var(--i_bg_color);
	position: absolute;
	left: 18px;
	top: 50%;
	transform: translateY(-50%) rotate(-45deg);
	z-index: 10;
}

header .header_contents .header_col1 .btn>a:after,
header#pattern4 .wraper>.inner>.btn>a:after {
	content: '';
	width: 60px;
	height: 60px;
	background-color: var(--i_btn_color);
	border-radius: 100px;
	position: absolute;
	left: -5%;
	top: 50%;
	transform: translateY(-50%);
	transition: .4s;
	z-index: -1;
}

header .header_contents .header_col1 .btn>a:hover:after,
header#pattern4 .wraper>.inner>.btn>a:hover:after {
	width: 100%;
	left: 0;
}

header .header_contents .header_col1 .btn>a:hover span.inn {
	color: var(--i_btn_txt_color) !important;
}

header .header_contents .header_col1 .btn>a span.inn,
header#pattern4 .wraper>.inner>.btn>a span.inn {
	color: var(--i_btn_color) !important;
	z-index: 1;
	position: relative;
	padding: 0 15px 0 35px !important;
	box-sizing: border-box;
	font-weight: 600;
}

header .header_contents .header_col1 .btn>a[target="_blank"] span.inn::before,
header .header_contents .header_col1 .btn>a[target="_blank"] span.inn::after,
header#pattern4 .wraper>.inner>.btn>a[target="_blank"] span.inn::before,
header#pattern4 .wraper>.inner>.btn>a[target="_blank"] span.inn::after {
	border-color: var(--i_btn_color) !important;
}

header .header_contents .header_col1 .btn>a:hover,
header#pattern4 .wraper>.inner>.btn>a:hover {
	background: transparent;
	color: var(--i_bg_color) !important;
	opacity: 1;
}

header .header_contents .header_col1 .btn>a:hover[target="_blank"] span.inn::before,
header .header_contents .header_col1 .btn>a:hover[target="_blank"] span.inn::after,
header#pattern4 .wraper>.inner>.btn>a:hover[target="_blank"] span.inn::before,
header#pattern4 .wraper>.inner>.btn>a:hover[target="_blank"] span.inn::after {
	border-color: var(--i_bg_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: .8;
}

@media screen and (max-width: 900px) {
	header .header_contents .header_col1 .btn {
		float: none;
	}

	header .header_contents .header_col1 .btn>a {
		padding: 11px 15px 11px;
	}
}

.contents_btn01 a,
.glossary_archive .content_wrapper .heading.block_header_2 a:after {
	color: var(--i_btn_color) !important;
	background: #fff;
	position: relative;
	display: inline-block;
	padding-left: 35px;
	padding-right: 15px;
	text-align: center;
	border: 2px solid var(--i_btn_color);
	transition: .4s ease-in-out;
	border-radius: 100px;
	overflow: hidden;
}

main form .submit span input {
	position: relative;
	color: var(--i_btn_color) !important;
	background: transparent;
	z-index: 1;
	font-weight: 600;
	padding-left: 25px !important;
	padding-right: 15px !important;
}

main form .submit span:hover input {
	color: var(--i_btn_txt_color) !important;
}

main form .submit span {
	position: relative;
	overflow: hidden;
	border-radius: 100px;
	border: 2px solid var(--i_btn_color);
	background: #fff;
}

.contents_btn01 a:before,
main form .submit span:before {
	content: '';
	width: 8px;
	height: 8px;
	border-right: 2px solid var(--i_bg_color);
	border-bottom: 2px solid var(--i_bg_color);
	position: absolute;
	left: 12px;
	top: 50%;
	transform: translateY(-50%) rotate(-45deg);
	z-index: 10;
}

.contents_btn01 a:after,
main form .submit span:after {
	content: '';
	width: 60px;
	height: 60px;
	background-color: var(--i_btn_color) !important;
	border-radius: 100px;
	position: absolute;
	left: -22px;
	top: 50%;
	transform: translateY(-50%);
	transition: .4s;
	z-index: 0;
}

.contents_btn01 a:hover,
.glossary_archive .content_wrapper .heading.block_header_2 a:hover:after,
main form .submit span input:hover {
	color: var(--i_bg_color) !important;
}

.contents_btn01 a:hover:after,
main form .submit span:hover:after {
	width: 100%;
	left: 0;
}

.contents_btn01 a[target="_blank"] span {
	padding-right: 25px !important;
}

.contents_btn01 a:not(#fixbtn .contents_btn01 a)[target=_blank] span:before {
	right: 10px;
}

.contents_btn01 a:not(#fixbtn .contents_btn01 a)[target=_blank] span:after {
	right: 13px;
}

.contents_btn01 a[target=_blank] span:before,
.contents_btn01 a[target=_blank] span:after {
	border: 1px solid var(--i_btn_color);
	transition: .4s ease-in-out;
}

.contents_btn01 a[target=_blank] span:before,
.contents_btn01 a[target=_blank] span:after {
	border: 1px solid var(--i_btn_color);
}

.contents_btn01 a:hover[target=_blank] span:before,
.contents_btn01 a:hover[target=_blank] span:after {
	border: 1px solid var(--i_bg_color);
}

.contents_btn01 a span {
	text-align: center;
	line-height: 1.5;
	font-size: 1.5rem;
	padding: 12px 15px;
	z-index: 1;
	position: relative;
	font-weight: 600;
}

@media screen and (max-width: 900px) {
	.contents_btn01 a span {
		font-size: 1.4rem;
		padding: 12px 20px;
	}
}

/* ===== heading ===== */

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 {
	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-size: 3.9rem !important;
	line-height: 1.4;
	position: relative;
	color: var(--i_main_color);
	font-weight: 600;
	border-bottom: 4px dotted var(--i_main_color);
	padding-bottom: 6px;
	margin-bottom: 8px;
}

section[style*=" color: #FFFFFF;"] .heading.block_header_1 p,
section[style*=" color: #FFFFFF;"] .heading.block_header_6 .h,
div[style*=" color: #FFFFFF;"] .heading.block_header_1 p,
div[style*=" color: #FFFFFF;"] .heading.block_header_6 .h {
	color: #fff !important;
}

.heading.block_header_1 .h,
.heading.block_header_6 p {
	font-size: 1.85rem;
	color: var(--i_txt_color);
	font-weight: 600;
	letter-spacing: .1rem;
}

@media screen and (max-width: 800px) {

	.heading.block_header_1,
	.heading.block_header_6 {
		margin-bottom: 20px;
	}

	.heading.block_header_1 p,
	.heading.block_header_6 .h {
		font-size: 2.9rem !important;
	}

	.heading.block_header_1 .h,
	.heading.block_header_6 p {
		font-size: 1.5rem;
	}
}

.heading.block_header_2 {
	margin-bottom: 30px;
}

section[style*=" color: #FFFFFF;"] .heading.block_header_2,
div[style*=" color: #FFFFFF;"] .heading.block_header_2 {
	border-bottom-color: #fff;
}

.heading.block_header_2.align-center:before {
	display: none;
}

.heading.block_header_2.align-left:before {
	left: 0;
}

.heading.block_header_2.align-right:before {
	right: 0;
}

.heading.block_header_2 .h {
	display: inline-block;
	font-weight: 600;
	font-size: 2rem;
	line-height: 1.5;
	position: relative;
	color: var(--i_main_color);
}

.heading.block_header_2 p {
	font-size: 1.4rem;
	font-weight: 600;
	color: var(--i_main_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);
	padding: 10px;
	margin-bottom: 30px;
	color: var(--i_main_color);
}

.heading.block_header_3 .h {
	font-weight: 600;
	font-size: 1.9rem;
	line-height: 1.5;
}

.heading.block_header_3 p {
	font-size: 1.4rem;
	font-weight: 600;
	color: var(--i_main_color);
}

@media screen and (max-width: 800px) {
	.heading.block_header_3 {
		padding: 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.0rem;
	font-weight: 600;
	line-height: 1.5;
	margin-bottom: 5px;
	color: var(--i_btn_color);
}

.heading.block_header_4 p {
	font-size: 1.4rem;
	font-weight: 600;
	color: var(--i_btn_color);
}

.heading.block_header_5 {
	margin-bottom: 15px;
}

.heading.block_header_5 .h {
	display: inline;
	font-weight: 600;
	font-size: 1.8rem;
	margin-bottom: 10px;
}

.heading.block_header_5 p {
	display: inline;
	font-size: 1.4rem;
	font-weight: 600;
}

.heading.block_header_5 p:before {
	content: " / ";
}

#sidebar .heading.block_header_5 {
	background: var(--i_sub2_color);
	color: var(--i_sub_color);
	padding: 5px 15px;
}

@media screen and (max-width: 900px) {

	.heading.block_header_1.align-left,
	.heading.block_header_6.align-left {
		align-items: center;
		text-align: center;
	}
}

@media screen and (max-width: 900px) {
	.index .composite_box01 .inner_item .heading {
		text-align: center;
	}
}

/* ===== footer ===== */

#fixbtn {
	margin-bottom: 30px;
	font-size: 1.55rem;
}

#fixbtn .fixbtnwrap {
	background: var(--i_bg_color);
}

#fixbtn.no .fixbtnwrap {
	background-color: transparent;
}

#fixbtn .fixbtntel {
	border-right: 1px solid var(--i_border_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;
	color: var(--i_txt_color);
}

#fixbtn .fixbtntel p {
	color: var(--i_txt_color);
}

#fixbtn .contents_btn01 a:hover {
	transform: none;
	opacity: .8;
}

#fixbtn .fixbtntel a:last-child,
#fixbtn .fixbtntel span:last-child {
	margin-right: 0;
}

#fixbtn .fixbtntel svg {
	width: 22px;
	height: 22px;
	margin-right: 5px;
	fill: #333;
}

#fixbtn .contents_btn01 {
	border-left: 1px solid rgba(255, 255, 255, .1);
}

#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 {
	padding: 0;
	background: #e40021;
	color: var(--i_btn_txt_color) !important;
}

#fixbtn .contents_btn01 a:nth-of-type(2):nth-last-of-type(1) {
	background: #fe8612;
}

#fixbtn .contents_btn01 a:hover {
	opacity: 0.8;
}

#fixbtn .contents_btn01 span {
	text-align: center;
	padding: 10px 20px 12px;
}

#fixbtn[data-pattern="2"] .contents_btn01>a span,
#fixbtn[data-pattern="2"] .accordion_btn span.inn {
	padding-top: 11px;
	padding-bottom: 11px;
}

#fixbtn .contents_btn01 a:before,
#fixbtn .contents_btn01 a:after {
	display: none;
}

#fixbtn .contents_btn01 a[target="_blank"] span::before,
#fixbtn .contents_btn01 a[target="_blank"] span::after {
	border-color: #fff !important;
}

#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 {
	transition: .2s ease-in-out;
	width: 40px;
	height: 40px;
	border: none !important;
	background: var(--i_txt_color);
	mask-image: url('data:image/svg+xml;charset=utf8,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22utf-8%22%3F%3E%3Csvg%20version%3D%221.1%22%20id%3D%22%E3%83%AC%E3%82%A4%E3%83%A4%E3%83%BC_1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20x%3D%220px%22%20y%3D%220px%22%20viewBox%3D%220%200%2040%2040%22%20style%3D%22enable-background%3Anew%200%200%2040%2040%3B%22%20xml%3Aspace%3D%22preserve%22%3E%3Cstyle%20type%3D%22text%2Fcss%22%3E%20.st0%7Bfill%3A%235F6368%3B%7D%3C%2Fstyle%3E%3Cpath%20class%3D%22st0%22%20d%3D%22M29.6%2C28.3l-2%2C2l-7.9-7.9l-7.9%2C7.9l-2-2l9.9-9.9L29.6%2C28.3z%20M29.7%2C12.5h-20V9.7h20V12.5z%22%2F%3E%3C%2Fsvg%3E');
}

#fixbtn #scrolltop a:hover:before {
	opacity: .7;
}

#fixbtn.no #scrolltop a:before {
	border-color: rgba(120, 120, 120, .6);
}

#fixbtn.no #scrolltop a:hover:before {
	border-left: 2px solid #787878;
	border-top: 2px solid #787878;
}

@media screen and (max-width: 1300px) {

	#fixbtn[data-pattern="2"]:has(.fixbtntel) .contents_btn01,
	#fixbtn[data-pattern="2"]:has(.fixbtntel) .fixbtntel {
		max-width: 100%;
	}
}

@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;
		color: #333 !important;
	}

	#fixbtn .fixbtntel svg {
		width: 18px;
		height: 18px;
	}

	#fixbtn .contents_btn01 a {
		padding: 0 !important;
		letter-spacing: 0;
	}

	#fixbtn .contents_btn01 a:before {
		display: none;
	}

	#fixbtn .contents_btn01 a span {
		padding: 7px 7px 9px;
		font-size: 1.45rem !important;
	}

	#fixbtn[data-pattern="2"] .contents_btn01 span {
		font-size: 1.1rem !important;
	}
}

footer {
	background: var(--i_bg_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 {
	padding: 5px 0;
}

footer nav li a {
	font-size: 1.5rem;
	font-weight: 600;
}

footer nav li a {
	position: relative;
	padding-left: 20px !important;
	font-weight: 600;
}

footer nav li a::before {
	position: absolute;
	display: block;
	content: "";
	width: 8px;
	height: 8px;
	top: calc(50% - 4px);
	left: 0;
	background: var(--i_main_color);
	clip-path: polygon(100% 0, 0% 100%, 100% 100%);
	pointer-events: none;
}

footer .logo {
	width: 280px;
}

footer .sns {
	margin: 0 auto 30px;
}

footer .sns svg {
	width: 40px;
	height: 40px;
	padding: 10px 10px;
	fill: var(--i_bg_color);
	transition: .2s ease-in-out;
}

footer .sns a:hover svg {
	opacity: .8;
}

#cp {
	padding: 20px 0;
	font-size: 1.1rem;
	letter-spacing: .1rem;
	color: var(--i_txt_color);
}

@media screen and (max-width: 600px) {
	footer {
		padding: 0 0 20px;
	}

	footer nav ul {
		border-bottom: 1px solid rgba(0, 0, 0, 0.13);
	}

	footer nav ul li {
		border-top: 1px solid rgba(255, 255, 255, 0.1);
		border-bottom: 1px solid rgba(0, 0, 0, 0.13);
	}

	footer nav ul li:nth-last-of-type(2n) {
		border-right: 1px solid rgba(0, 0, 0, 0.13);
	}

	footer nav ul li:nth-last-of-type(2n+1) {
		border-left: 1px solid rgba(255, 255, 255, 0.1);
	}

	footer nav ul li:nth-of-type(1),
	footer nav ul li:nth-of-type(1),
	footer nav ul li:nth-of-type(2),
	footer nav ul li:nth-of-type(3):nth-last-of-type(2n-1) {
		border-top: 1px solid rgba(0, 0, 0, 0.13);
	}

	footer nav ul li:nth-last-of-type(1),
	footer nav ul li:nth-last-of-type(2) {
		border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	}

	footer .logo {
		width: 200px;
	}

	#fixbtn .fixbtnwrap {
		border-bottom: 1px solid rgba(255, 255, 255, 0.2);
	}

	footer nav ul {
		gap: 0 10px;
		justify-content: flex-start;
		padding: 0 20px;
		box-sizing: border-box;
		border: none;
	}

	footer nav li {
		width: auto;
		border: none !important;
	}

	#cp {
		text-align: center;
	}
}

@media screen and (min-width: 701px) {
	footer .logo a {
		max-width: 90% !important;
	}

	footer nav:nth-last-child(2),
	footer .logo {
		margin-bottom: 20px !important;
	}
}

#fixbtn[data-pattern="3"] .fixbtntel p {
	color: var(--i_txt_color);
}

#fixbtn:not([data-pattern="3"]) .fixbtnwrap {
	border-bottom: 10px solid transparent !important;
}

#fixbtn:not([data-pattern="3"]) .inner {
	width: 96%;
	background: var(--i_bg_color);
	border-radius: 10px;
	box-shadow: 0px 0px 5px rgba(0, 0, 0, .1);
	overflow: hidden;
}

footer:not(:has(#fixbtn[data-pattern="3"])) {
	padding-top: 40px;
}

@media screen and (max-width: 600px) {
	footer>.content_wrapper {
		display: flex;
		flex-direction: column-reverse;
	}

	footer .logo {
		margin: 30px auto 30px;
	}

	footer nav {
		border-bottom: 1px solid #fff;
		padding-bottom: 30px;
	}

	footer nav li {
		padding: 5px 10px;
		width: auto;
	}

	footer nav ul,
	footer nav li {
		border: none !important;
	}
}

/* ===== 追加 ===== */

#sidebar .heading.block_header_5 {
	padding: 2px 10px;
	border-left: 3px solid var(--i_main_color);
	line-height: 1.5;
}

@media screen and (max-width: 900px) {

	.index .contents_box01.block_text_2 .inner_item_txt .contents_btn01,
	.index .contents_box01.block_text_3 .inner_item_txt .contents_btn01 {
		text-align: center;
	}
}

/* seo_w */
@media screen and (min-width: 901px) {
	#seo_w+section .inner_item_txt p {
		line-height: 3;
	}
}

/* c3 */
#c3+.composite_box01 .wrapper_item {
	justify-content: space-between;
}

#c3+div .inner_item {
	height: 450px;
	width: calc(33.3% - 20px);
}

#c3+div .inner_item .inner_item_txt {
	background: rgb(55 158 76 / 70%);
	margin: 50px auto;
	width: 85%;
	border-radius: 10px;
}

#c3+div .inner_item:nth-of-type(2) .inner_item_txt {
	background: rgb(239 132 42 / 70%);
}

#c3+div .inner_item:nth-of-type(3) .inner_item_txt {
	background: rgb(35 118 209 / 70%);
}

#c3+.composite_box01.block_images_7 .inner_item>a:hover+.inner_item_txt {
	background-color: rgb(55 158 76 / 90%);
}

#c3+.composite_box01.block_images_7 .inner_item:nth-of-type(2)>a:hover+.inner_item_txt {
	background-color: rgb(239 132 42 / 90%);
}

#c3+.composite_box01.block_images_7 .inner_item:nth-of-type(3)>a:hover+.inner_item_txt {
	background-color: rgb(35 118 209 / 90%);
}

#c3+div .heading.block_header_4 .h {
	position: relative;
	font-size: 3rem !important;
	letter-spacing: .2rem !important;
}

#c3+div .heading.block_header_4 p {
	font-size: 1.4rem;
	color: #fff;
}

#c3+.contents_box01 .inner_item_img img,
#c3+.composite_box01 .inner_item_img img {
	border-radius: 0;
}

@media screen and (max-width: 900px) {
	#c3+div .inner_item {
		height: 500px;
	}

	#c3+.composite_box01.block_images_7 .inner_item_txt {
		width: 95%;
		padding: 40px 10px !important;
	}

	#c3+div .heading.block_header_4 .h {
		font-size: 2.5rem !important;
	}
}

/* box */
a[id^="box"]+section .heading.block_header_2 .h {
	font-size: 3.8rem !important;
	letter-spacing: .2rem;
	padding-left: 0;
	border: none;
	margin-bottom: 0;
	color: var(--i_txt_color);
}

a[id^="box"]+section .heading.block_header_2 p {
	font-size: 1.7rem;
	padding-left: .2rem;
	color: var(--i_main_color);
}

a[id^="box"]+section .heading.block_header_2 .h:before {
	display: none;
}

a[id^="box"]+section .inner_item_txt>p {
	border-top: 2px dotted rgba(0, 0, 0, .2);
	border-bottom: 2px dotted rgba(0, 0, 0, .2);
	padding: 30px 10px 54px;
}

a[id^="box"]+section .inner_item_txt .contents_btn01 {
	padding-top: 0px !important;
	margin-top: -25px;
}

@media screen and (min-width: 901px) {
	a[id^="box"]+section .inner_item_txt {
		padding-right: 10% !important;
	}

	a[id^="box"]+section .inner_item_txt .contents_btn01 {
		text-align: end !important;
		padding-right: 30px;
	}
}

@media screen and (max-width: 900px) {
	a[id^="box"]+.inner_item_txt {
		padding: 30px 0 !important;
	}

	a[id^="box"]+section .inner_item_txt .heading {
		margin-top: 40px;
		text-align: center;
	}

	a[id^="box"]+section .heading.block_header_2 .h {
		font-size: 2.8rem !important;
		letter-spacing: 0.2rem !important;
		margin-bottom: 0px;
		padding: 0;
		padding-bottom: 0;
	}

	a[id^="box"]+section .heading.block_header_2 p {
		font-size: 1.5rem !important;
	}

	.index .contents_box01.block_text_2 .inner_item_txt .contents_btn01,
	.index .contents_box01.block_text_3 .inner_item_txt .contents_btn01 {
		text-align: center;
	}

}

/* faq */
#faq_t+section {
	padding-top: 100px;
	padding-bottom: 150px;
}

#faq_t+section:before {
	position: absolute;
	display: block;
	content: "";
	bottom: 0;
	right: 0;
	width: 100%;
	height: 100%;
	background: rgb(2 43 83 / 60%);
	pointer-events: none;
}

#faq+div {
	overflow: visible;
}

#faq+div>.content_wrapper {
	margin-top: -150px;
}

#faq+.contents_faq01 dl {
	padding: 25px 25px !important;
	border: none;
	background: var(--i_bg_color);
	box-sizing: border-box;
	box-shadow: 3px 3px 8px rgba(100, 100, 100, .15);
	border-radius: 20px;
}

#faq+.contents_faq01 dt {
	position: relative;
	color: #fff;
	z-index: 0;
	padding-bottom: 20px;
}

.contents_faq01 dt i.more {
	top: calc(40% - 8px);
}

#faq+.contents_faq01 dt:before {
	color: var(--i_sub_color);
	background: var(--i_bg_color);
	border: #fff;
	z-index: 1;
	border-radius: 100%;
	line-height: 1.45;
}

#faq+.contents_faq01 dt:after {
	position: absolute;
	content: "";
	background: var(--i_sub_color);
	width: calc(100% + 50px);
	height: calc(100% + 25px);
	left: -25px;
	top: -20px;
	z-index: -1;
	border-radius: 20px 20px 0 0;
}

#faq+.contents_faq01 dd {
	padding-left: 5rem;
}

#faq+.contents_faq01 dd:before {
	left: 0;
	border-radius: 100%;
}

@media (min-width:701px) {
	#faq+.contents_faq01 .wrapper_item {
		display: grid;
		grid-template-columns: 48% 48%;
		grid-column-gap: 0px;
		grid-row-gap: 0px;
		justify-content: space-between;
	}

	#faq+.contents_faq01 dl:nth-child(-n+2) {
		margin-bottom: 30px;
	}

	#faq+.contents_faq01 dl:nth-of-type(1) {
		grid-area: 1 / 1 / 2 / 2;
	}

	#faq+.contents_faq01 dl:nth-of-type(2) {
		grid-area: 1 / 2 / 2 / 3;
	}

	#faq+.contents_faq01 dl:nth-of-type(3) {
		grid-area: 2 / 1 / 3 / 2;
	}

	#faq+.contents_faq01 dl:nth-of-type(4) {
		grid-area: 2 / 2 / 3 / 3;
	}
}

@media (max-width:700px) {
	#faq+.contents_faq01 .wrapper_item {
		margin-bottom: 20px;
	}

	#faq+.contents_faq01 dl {
		margin-bottom: 30px;
		padding: 20px 20px 0 !important;
	}

	#faq+.contents_faq01 dl:nth-child(4) {
		margin-bottom: 0;
	}

	#faq+.contents_faq01 dt:after {
		width: calc(100% + 40px);
		height: calc(100% + 25px);
		left: -20px;
	}

	#faq+.contents_faq01 dd {
		padding-bottom: 10px;
	}
}

/* access */
#access+div .inner_item {
	background: var(--i_sub2_color);
	padding: 40px 20px 0;
}

@media screen and (max-width: 900px) {
	#access+div .inner_item {
		width: 100%;
		margin-bottom: 80px;
		padding: 30px 20px;
	}
}


/* column */
#column+.block_news_1>.content_wrapper {
	display: grid;
	grid-template-columns: 35% 60%;
	align-items: center;
	justify-content: space-between;
}

#column+.block_news_1 .content_wrapper>.heading {
	grid-row: 1;
	grid-column: 1;
}

#column+.block_news_1 .content_wrapper>.add_text {
	grid-row: 2;
	grid-column: 1;
	font-size: 95%;
	text-align: left;
}

#column+.block_news_1 .content_wrapper>ul {
	grid-row: 1/4;
	grid-column: 2;
	min-width: 0;
	width: 100%;
}

#column+.block_news_1 .content_wrapper>.contents_btn01 {
	grid-row: 3;
	grid-column: 1;
	padding-top: 0;
	padding-left: 0;
}

#column+.block_news_1 li a {
	padding: 15px 0;
	line-height: 1.6;
}

#column+.block_news_1 ul>li {
	border: none !important;
	background: var(--i_sub2_color);
	border-radius: 15px 15px 0 15px;
	padding: 5px 20px;
	margin-bottom: 20px;
	position: relative;
}

#column+.block_news_1 ul>li:before {
	position: absolute;
	display: block;
	content: "";
	right: 5px;
	bottom: 5px;
	width: 10px;
	height: 10px;
	background: var(--i_btn_color);
	clip-path: polygon(100% 0, 0% 100%, 100% 100%);
	z-index: 2;
}

@media screen and (min-width: 901px) {
	#column+.block_news_1 .content_wrapper {
		text-align: left;
	}
}

@media screen and (max-width: 650px) {
	#column+.block_news_1>.content_wrapper {
		display: block;
	}

	#column+.block_news_1 .content_wrapper>.contents_btn01 {
		padding-top: 30px;
		padding-left: 8px;
	}

	#column+.block_news_1 .content_wrapper>.contents_btn01 a {
		min-width: 200px;
	}
}

#column+div .parallax_img {
	opacity: .15;
	filter: blur(10px) contrast(100%) brightness(100%);
}

/* bg */
#c3+div:before,
#box2+section:before {
	position: absolute;
	display: block;
	content: "";
	bottom: 0;
	right: 0;
	width: 100%;
	height: 60%;
	background: var(--i_sub2_color);
	pointer-events: none;
	border-radius: 50px 50px 0 0;
}

#box2+section:before {
	height: 100%;
	border-radius: 0 0 50px 50px;
}

@media screen and (max-width: 900px) {}

/* 下層ページ */
a[id^="pattern2"]+section .inner_item_txt .heading {
	border: none;
	padding: 0;
}

a[id^="pattern2"]+section .heading.block_header_2 .h {
	background: var(--i_main_color);
	padding: 8px 8px;
	color: #fff;
	margin: 0;
	border: none;
}

a[id^="pattern2"]+section .heading.block_header_2:before,
a[id^="pattern2"]+section .heading.block_header_2:after,
a[id^="pattern2"]+section .heading.block_header_2 .h:before {
	display: none;
}

a[id^="pattern2"]+section .heading.block_header_2 .h:after {
	position: absolute;
	display: block;
	content: "";
	width: 15px;
	height: 15px;
	bottom: -12px;
	left: 30px;
	background: var(--i_main_color);
	pointer-events: none;
	clip-path: polygon(100% 0, 0 0, 80% 100%);
}

@media screen and (min-width: 901px) {
	#pattern2+section .inner_item_txt {
		padding-right: 60px;
	}

	#pattern2_2+section .inner_item_txt {
		padding-left: 60px;
	}
}

@media screen and (max-width: 900px) {
	a[id^="pattern2"]+section .heading.block_header_2 .h:after {
		left: calc(50% - 12.5px);
		clip-path: polygon(100% 0, 0 0, 50% 100%);
	}
}

/* 画像サイズ調整 */
#m200+.contents_box01 .inner_item_img img {
	max-width: 200px !important;
}

/*  */
.dec2_1:not(.composite_box01):not(.block_text_6) .wrapper_item,
.dec2_2.contents_box01.block_text_6 .inner_item_txt,
.dec2_1.composite_box01 .inner_item {
	background: var(--i_sub2_color);
}

/* いちゼミ高校部でできることページ */
#h_ttl+section .heading.block_header_3 {
	background: #2376d1;
	padding: 15px 10px;
	margin-bottom: 30px;
	color: var(--i_bg_color);
	border: 4px solid var(--i_sub2_color);
	box-shadow: 5px 5px 0 #2376d1;
	border-radius: 10px;
}

#h_ttl+section .heading.block_header_3 .h {
	font-size: 3rem;
}

#h_img+div .wrapper_item {
	display: flex;
	gap: 2rem;
	align-items: center;
	max-height: 150px;
	align-content: center;
}

#h_img+div .inner_item:nth-child(1) {
	flex: 2;
	margin: 0 !important;
}

#h_img+div .inner_item:nth-child(2) {
	flex: 8;
	margin: 0;
}

/* aタグを全体化 */
#h_img+div .inner_item>a {
	display: block;
	width: 100%;
	height: 100%;
}

#h_img+div .inner_item_img {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}

#h_img+div .inner_item:nth-child(1) .inner_item_img {
	aspect-ratio: 1 / 1;
}

#h_img+div .inner_item:nth-child(2) .inner_item_img {
	aspect-ratio: 7 / 3;
}

#h_img+div .inner_item_img img {
	width: 100%;
	height: 100% !important;
	object-fit: contain;
	display: block;
}

@media screen and (max-width: 900px) {
	#h_ttl+section .heading.block_header_3 .h {
		font-size: 2.5rem;
	}
}

@media screen and (max-width: 480px) {
	#h_img+div .wrapper_item {
		max-height: 100px;
	}
}
/*------20260609 header btn------*/
header .header_contents .header_col1 .btn>a:first-child {
    border: 2px solid #e40021;
}
header .header_contents .header_col1 .btn>a:first-child span {
    color: #e40021 !important;
}
header .header_contents .header_col1 .btn>a:first-child::after {
    background: #e40021;
}
header .header_contents .header_col1 .btn>a:nth-child(2) {
    border: 2px solid #fe8612;
}
header .header_contents .header_col1 .btn>a:nth-child(2) span {
    color: #fe8612 !important;
}
header .header_contents .header_col1 .btn>a:nth-child(2)::after {
    background: #fe8612;
}
/*------header nav------*/
@media screen and (max-width: 900px) {
    header nav ul.nav_1st>li>a:hover {
        background: #ffc4cb;
    }
}

/* ===== 2026-10 見やすさ改善（Apple HIG を参考） ここから ===== */
/* 見出しの改行を自然に */
main h1, main h2, main h3 { text-wrap: balance; word-break: auto-phrase; }
/* キーボード操作時のフォーカスを見えるように */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid #0a6cff; outline-offset: 2px; }
/* 小学生・中学生・高校部カード：白文字のコントラスト確保 */
.block_images_7 .inner_item_txt { box-shadow: inset 0 0 0 999px rgba(0,0,0,.32); text-shadow: 0 1px 2px rgba(0,0,0,.3); }
/* 画面下の固定ボタン：文字を大きく、橙ボタンを読みやすく */
.fixbtnwrap .contents_btn01 a { min-height: 48px; }
#fixbtn[data-pattern] .contents_btn01 a span, #fixbtn .contents_btn01 a span { font-size: 14px !important; font-weight: 700; letter-spacing: .02em !important; }
.fixbtnwrap .contents_btn01 a:nth-of-type(2) { background-color: #c2410c !important; }
#fixbtn .fixbtntel .teli { font-size: 12.5px !important; }
/* スマホでは本文に重なる共有ボタンを非表示 */
@media (max-width: 767px) { #fixsns { display: none !important; } }
/* トップ「新規生 募集中」 */
[id~="20765826"] .inner_item_txt { background: #fff6f5; border: 1px solid #f3d0cc; border-radius: 16px; padding: 28px 22px; max-width: 760px; margin: 0 auto; text-align: left; }
[id~="20765826"] h2 { color: #c8102e; font-size: 28px; line-height: 1.4; margin: 0 0 14px; text-align: center; letter-spacing: .04em; }
[id~="20765826"] h2 + p { text-align: center !important; font-size: 17px; line-height: 1.7; margin-bottom: 18px; }
[id~="20765826"] ul { list-style: none !important; padding: 0; margin: 0 0 18px; }
[id~="20765826"] li { position: relative; list-style: none !important; padding: 0 0 0 22px; margin: 0 0 14px; line-height: 1.75; }
[id~="20765826"] li::before { content: "" !important; position: absolute; left: 4px; top: .72em; width: 8px; height: 8px; border-radius: 50%; background: #c8102e; }
[id~="20765826"] p { line-height: 1.8; }
[id~="20765826"] a[href^="tel:"] { font-weight: 700; white-space: nowrap; }
/* トップ：申込ボタン2つ（幅をそろえて中央に） */
[id~="20765833"] .content_wrapper { display: flex; flex-direction: column; align-items: center; gap: 12px; }
[id~="20765833"] .content_wrapper > a { width: 100%; max-width: 440px; margin: 0 !important; min-height: 56px; box-sizing: border-box; }
@media (min-width: 768px) { [id~="20765833"] .content_wrapper { flex-direction: row; justify-content: center; } [id~="20765833"] .content_wrapper > a { width: 360px; } }
/* トップ「これからの予定」：1件ずつカードに */
[id~="20765834"] .inner_item_txt { max-width: 760px; margin: 0 auto; }
[id~="20765834"] h2 { font-size: 24px; line-height: 1.4; margin-bottom: 18px; }
[id~="20765834"] ul { list-style: none !important; padding: 0; margin: 0; }
[id~="20765834"] li { list-style: none !important; position: relative; padding: 16px 44px 16px 18px; margin: 0 0 12px; background: #fff; border: 1px solid #e5e5ea; border-radius: 14px; line-height: 1.6; box-shadow: 0 1px 2px rgba(0,0,0,.04); }
[id~="20765834"] li::after { content: "›"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-size: 26px; color: #c8102e; line-height: 1; }
[id~="20765834"] li a { color: #1d1d1f; text-decoration: none; font-weight: 700; font-size: 17px; }
[id~="20765834"] li a::before { content: ""; position: absolute; inset: 0; border-radius: 14px; }
[id~="20765834"] li a:hover { color: #c8102e; }
/* 記事内の表 */
main table th { background: #f5f5f7; font-weight: 700; }
main table th, main table td { padding: 10px 12px; line-height: 1.6; vertical-align: top; }
@media (max-width: 767px) { main table { font-size: 14px; } }
/* 動きを減らす設定の端末ではアニメーションを止める */
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; } }
/* ブログ記事のボタン：文字が背景と同じ赤で読めなかったのを白に */
body .iz-page a.iz-button, body[data-blog] .entry_body .iz-page a.iz-button { color: #fff !important; }
/* 橙色（#fe8612）は白との差が小さく読みにくいため、濃い橙に */
header .header_contents .header_col1 .btn>a:nth-child(2) { border-color: #c2410c !important; }
header .header_contents .header_col1 .btn>a:nth-child(2) span { color: #c2410c !important; }
header .header_contents .header_col1 .btn>a:nth-child(2)::after { background: #c2410c !important; }
#fixbtn .contents_btn01 a:nth-of-type(2):nth-last-of-type(1) { background: #c2410c !important; }
/* カテゴリーボタンを押しやすく */
.category1 li a { display: inline-block; min-height: 40px; padding: 9px 16px; line-height: 1.4; box-sizing: border-box; }
/* トップ「これからの予定」の日付 */
[id~="20765834"] li .v-date { display: block; color: #b5152a; font-size: 14px; font-weight: 700; line-height: 1.5; margin-bottom: 2px; }
/* 記事内の料金表：スマホで横スクロールせずに読めるように */
@media (max-width: 700px) { .iz-page .iz-table-wrap table { min-width: 0 !important; width: 100% !important; } .iz-page .iz-table-wrap th, .iz-page .iz-table-wrap td { padding: 10px 8px !important; font-size: 14px !important; } }
/* ===== 2026-10 見やすさ改善 ここまで ===== */
/* ===== 図・表・グラフ用の部品（2026-10） ===== */
.v-box { --v-red: #b5152a; --v-ink: #1d1d1f; --v-mut: #5f5f64; --v-line: #e5e5ea; --v-paper: #f5f5f7; max-width: 900px; margin: 0 auto 32px; color: var(--v-ink); font-size: 16px; line-height: 1.7; }
.v-box * { box-sizing: border-box; }
.v-box .v-ttl { font-size: 22px; font-weight: 700; line-height: 1.4; margin: 0 0 6px; text-align: center; background: none; border: 0; padding: 0; color: var(--v-ink); }
.v-box .v-lead { text-align: center; color: var(--v-mut); margin: 0 0 20px; font-size: 15px; }
.v-box .v-note { color: var(--v-mut); font-size: 14px; margin: 12px 0 0; }

/* ステップ図（入塾までの流れ・申込みの流れ） */
.v-steps { list-style: none !important; margin: 0; padding: 0; display: grid; gap: 14px; counter-reset: v; }
.v-steps > li { list-style: none !important; position: relative; display: grid; grid-template-columns: 44px 1fr; column-gap: 14px; align-items: start; background: #fff; border: 1px solid var(--v-line); border-radius: 14px; padding: 16px 18px; margin: 0; }
.v-steps > li::before { counter-increment: v; content: counter(v); grid-row: 1 / span 2; width: 44px; height: 44px; border-radius: 50%; background: var(--v-red); color: #fff; font-weight: 700; font-size: 20px; display: flex; align-items: center; justify-content: center; }
.v-steps > li strong { display: block; font-size: 17px; line-height: 1.5; padding-top: 2px; }
.v-steps > li span { display: block; color: var(--v-mut); font-size: 15px; line-height: 1.6; }
.v-steps > li:not(:last-child)::after { content: ""; position: absolute; left: 39px; bottom: -14px; width: 2px; height: 14px; background: var(--v-red); opacity: .5; }
@media (min-width: 768px) {
  .v-steps { grid-auto-columns: 1fr; grid-auto-flow: column; gap: 28px; }
  .v-steps > li { grid-template-columns: 1fr; align-content: start; text-align: center; justify-items: center; padding: 22px 16px; row-gap: 8px; }
  .v-steps > li::before { grid-row: auto; }
  .v-steps > li:not(:last-child)::after { left: auto; right: -21px; top: 50%; bottom: auto; width: 14px; height: 14px; background: none; opacity: 1; border-top: 3px solid var(--v-red); border-right: 3px solid var(--v-red); transform: translateY(-50%) rotate(45deg); }
}

/* 横棒グラフ（料金の比較） */
.v-bars { list-style: none !important; margin: 0; padding: 0; display: grid; gap: 10px; }
.v-bars > li { list-style: none !important; display: grid; grid-template-columns: 6.2em 1fr 5.6em; align-items: center; gap: 10px; margin: 0; }
.v-bars .v-l { font-weight: 700; font-size: 15px; line-height: 1.3; }
.v-bars .v-l small { display: block; font-weight: 400; color: var(--v-mut); font-size: 12.5px; }
.v-bars .v-t { height: 22px; background: var(--v-paper); border-radius: 6px; overflow: hidden; }
.v-bars .v-b { display: block; height: 100%; border-radius: 6px; background: var(--v-red); }
.v-bars .v-v { text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.v-bars .v-b.alt { background: #8e8e93; }
.v-w13 { width: 13.2%; } .v-w23 { width: 23.1%; } .v-w42 { width: 41.8%; } .v-w58 { width: 58.2%; } .v-w100 { width: 100%; }
.v-w83 { width: 83.3%; }
@media (min-width: 768px) { .v-bars > li { grid-template-columns: 11em 1fr 6em; } .v-tl { max-width: 620px; margin: 0 auto; } }

/* 3つのカード（種目・講座など） */
.v-cards { list-style: none !important; margin: 0; padding: 0; display: grid; gap: 12px; }
.v-cards { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 767px) { .v-cards { gap: 8px; } .v-cards > li { padding: 12px 10px; text-align: center; } .v-cards strong { font-size: 16px; } }
.v-cards > li { list-style: none !important; margin: 0; background: #fff; border: 1px solid var(--v-line); border-top: 4px solid var(--v-red); border-radius: 12px; padding: 16px 18px; }
.v-cards .v-k { display: block; color: var(--v-red); font-weight: 700; font-size: 13px; letter-spacing: .04em; }
.v-cards strong { display: block; font-size: 18px; line-height: 1.5; margin: 2px 0 4px; }
.v-cards span.v-s { display: block; color: var(--v-mut); font-size: 15px; line-height: 1.6; }

/* 予定のタイムライン */
.v-tl { list-style: none !important; margin: 0; padding: 0 0 0 4px; }
.v-tl > li { list-style: none !important; position: relative; margin: 0; padding: 0 0 18px 28px; border-left: 2px solid var(--v-line); }
.v-tl > li:last-child { border-left-color: transparent; padding-bottom: 0; }
.v-tl > li::before { content: ""; position: absolute; left: -8px; top: 4px; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 3px solid var(--v-red); }
.v-tl .v-d { display: block; font-weight: 700; color: var(--v-red); font-size: 15px; }
.v-tl strong { display: block; font-size: 17px; line-height: 1.5; }
.v-tl span.v-s { display: block; color: var(--v-mut); font-size: 15px; }

/* 比較表 */
.v-tbl { width: 100%; border-collapse: collapse; font-size: 15px; background: #fff; }
.v-tbl th, .v-tbl td { border: 1px solid var(--v-line); padding: 12px; text-align: left; vertical-align: top; line-height: 1.6; }
.v-tbl thead th { background: var(--v-paper); font-weight: 700; }
.v-tbl tbody th { background: #fafafa; width: 7em; font-weight: 700; }
.v-tbl a[href^="tel:"] { font-weight: 700; white-space: nowrap; }
@media (max-width: 767px) { .v-tbl { font-size: 14px; } .v-tbl th, .v-tbl td { padding: 10px 8px; } }
/* ===== 図・表・グラフ用の部品 ここまで ===== */
.v-cards strong .v-or { display: block; font-size: 13px; font-weight: 400; color: var(--v-mut); line-height: 1.4; }
/* 料金表などをスマホでカード状に表示（table に class="v-stack"、各セルに data-label） */
@media (max-width: 700px) {
  .iz-page table.v-stack, .iz-page table.v-stack tbody, .iz-page table.v-stack tr, .iz-page table.v-stack td, .iz-page table.v-stack th { display: block; width: 100% !important; min-width: 0 !important; }
  .iz-page table.v-stack thead { display: none; }
  .iz-page table.v-stack tr { padding: 14px 4px; border-bottom: 1px solid #e5e5ea; }
  .iz-page table.v-stack td, .iz-page table.v-stack th { border: 0 !important; padding: 2px 0 !important; background: none !important; text-align: left !important; }
  .iz-page table.v-stack tr > :first-child { font-size: 18px !important; font-weight: 700; margin-bottom: 4px; }
  .iz-page table.v-stack td[data-label]::before { content: attr(data-label) "："; color: #5f5f64; font-weight: 700; font-size: 13px; margin-right: 2px; }
}
@media (max-width: 767px) { .v-cards.v-list { grid-template-columns: 1fr; } .v-cards.v-list > li { text-align: left; padding: 14px 16px; } }

/* ===== 2026-10 追加調整（図・表のスマホ表示ほか） ===== */
@media (max-width: 767px) {
  .v-bars > li { grid-template-columns: 1fr 5.4em; row-gap: 4px; }
  .v-bars .v-l { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 8px; }
  .v-bars .v-l small { display: inline; }
}
figure.v-box, .iz-page .v-box { margin-left: auto; margin-right: auto; padding: 0; }
.v-tl > li { padding-left: 28px !important; }
.v-steps > li { padding-left: 18px !important; }
.v-cards.v-2col { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 767px) { .v-cards.v-2col { grid-template-columns: 1fr; } }
@media (max-width: 700px) {
  table.v-stack, table.v-stack tbody, table.v-stack tr, table.v-stack td, table.v-stack th { display: block; width: 100% !important; min-width: 0 !important; }
  table.v-stack thead { display: none; }
  table.v-stack tr { padding: 14px 4px; border-bottom: 1px solid #e5e5ea; }
  table.v-stack td, table.v-stack th { border: 0 !important; padding: 2px 0 !important; background: none !important; text-align: left !important; }
  table.v-stack tr > :first-child { font-size: 18px !important; font-weight: 700; margin-bottom: 4px; }
  table.v-stack td[data-label]::before { content: attr(data-label) "："; color: #5f5f64; font-weight: 700; font-size: 13px; margin-right: 2px; }
}
/* 中学生ページの橙色を、白と見分けやすい濃い橙に */
html:has(link[href*="/original-css/5891939"]) a[id^="pattern2"] + section .heading.block_header_2 .h, html:has(link[href*="/original-css/5891939"]) a[id^="pattern2"] + section .heading.block_header_2 .h::after { background: #c2410c !important; }
html:has(link[href*="/original-css/5891939"]) #section_top + .contents_box01 .heading.block_header_1 p, html:has(link[href*="/original-css/5891939"]) #section_top + .contents_box01 .heading.block_header_6 .h { color: #c2410c !important; border-bottom-color: #c2410c !important; }
/* ===== 追加調整 ここまで ===== */

/* ===== 2026-11-07 下部固定CTAバー対策：フッター下余白の確保 ===== */
/* #fixbtn は画面下に固定され、PC幅では約73px（画面下端から上端まで）を覆う。埋め込みの可読性用スタイルでは footer の下余白を var(--iz-bottom-safe) に連動させる設計だが、同変数は内側の .fixbtnwrap の position 判定で 0px と書き込まれ、実質 0 になっている。ここでは実測高さより余裕のある 90px を下限とし、変数が正しく入った場合はそれ以上になるよう max() で確保する。色・文言・バー自体は変更しない。 */
body>footer{padding-bottom:calc(max(var(--iz-bottom-safe,90px),90px) + env(safe-area-inset-bottom,0px))!important;}


/* ===== 2026-11-07 全画面ローディング廃止（第2件） ===== */
/* テーマ（設定＞ホームページ外観「ローディングパターン：バー+ドットアニメーション」）が毎ページ表示する #load を、既存コードを変更せず表示しない。パターン設定自体は元のまま。 */
#load{display:none !important;visibility:hidden !important;opacity:0 !important;pointer-events:none !important;}
#load *,#load *::before,#load *::after{animation:none !important;transition:none !important;}

/* 2026-11-07 第2件・予備: テーマ側で #load の表示が後から指定されても勝つよう詳細度を上げた同趣旨の規則 */
html body #load,html #load,body #load{display:none !important;visibility:hidden !important;opacity:0 !important;pointer-events:none !important;}

/* 2026-11-07 確認用一時目印: 独自CSSが公開ページへ届いているかを見るためのもので、検証後に除去する */
header{outline:8px solid #00ff00 !important;outline-offset:-8px;}

/* 2026-11-07 確認用一時目印の除去: 上記の header 目印ルールを無効化する（#load 無効化ルールはそのまま残す） */
header{outline:none !important;outline-offset:0;}
