/*
Theme Name:ENISHI
*/
body {
	font-family: sans-serif;
	font-size: 16px;
	word-wrap: break-word;
	line-height: 1.5;
	background-color: #fff;
	padding: 0;
	margin: 0;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
span {
	font-family: sans-serif;
	color: #000;
	line-height: 1.5;
	font-size: 16px;
	padding: 0;
	margin: 0;
}
a,
a:hover {
	text-decoration: none;
	/*
	-webkit-transition: all 0.3s;
	transition: all 0.3s;*/
}
ul,li { list-style-type: none; padding: 0; margin: 0; }
div,
p,
ul,
ol,
li,
dl,
dt,
dd,
header,
footer  { box-sizing: border-box ;}
img {
	max-width: 100%;
	height: auto;
}

@media screen and (max-width: 750px) {
	.entry-content {
		padding-top: 90px;
	}
}


/* ---------- SP / PC Change Class ----------*/
@media only screen and (min-width: 1200px) {
	.pc-item  { display: block; }
	.sp-item { display: none;  }
}
@media only screen and (max-width: 1200px) {
	.pc-item  { display: none; }
	.sp-item { display: block;  }
}

/* ---------- common functions class ----------*/
.fs-72 { font-size: 72px !important; }
.fs-48 { font-size: 48px !important; }
.fs-36 { font-size: 36px !important; }
.fs-34 { font-size: 34px !important; }
.fs-32 { font-size: 32px !important; }
.fs-30 { font-size: 30px !important; }
.fs-28 { font-size: 28px !important; }
.fs-26 { font-size: 26px !important; }
.fs-24 { font-size: 24px !important; }
.fs-22 { font-size: 22px !important; }
.fs-20 { font-size: 20px !important; }
.fs-18 { font-size: 18px !important; }
.fs-16 { font-size: 16px !important; }
.fs-14 { font-size: 14px !important; }
.fs-12 { font-size: 12px !important; }
.fs-large { font-size: 120%; }

.fc-red  { color: #C0291E; }
.fc-wh   { color: #fff   ; }
.fc-pink { color: #c0506d; }

.serif { font-family: serif !important; }

.bg-gray { background-color: #DEE8EB; }
.bg-wh   { background-color: #fff; }
.bg-blue { background-color: #DEE8EB; }
.bg-dark { background-color: #2C353B;}

.text-left   { text-align: left;  }
.text-right  { text-align: right; }
.text-center { text-align: center; }
.text-just   { text-align: justify; }
.bold        { font-weight: bold; }
.non-bold	 { font-weight: normal; }

.mb-16p { margin-bottom: 16px !important; }
.mb-24p { margin-bottom: 24px !important; }
.mb-32p { margin-bottom: 32px !important; }
.mb-48p { margin-bottom: 48px !important; }
.mb-64p { margin-bottom: 64px !important; }
.mb-128p{ margin-bottom:128px !important; }
.mb-0   { margin-bottom: 0 !important; }

.pb-64p { padding-bottom: 64px !important;}
.pt-64p { padding-top:    64px !important;}

.wrap {
	max-width: 1200px;
	width: 100%;
	padding: 0 16px;
	margin: 0 auto;
}
.flex {
	display: flex;
}
.btn-red-gradation,
.btn-gray-gradation,
.btn-gray {
	display: block;
	width: 9em;
	text-align: center;
	border: 2px solid #890900;
	background: rgb(137,9,0);
	background: linear-gradient(0deg, rgba(137,9,0,1) 0%, rgba(192,41,30,1) 100%);
	font-family: sans-serif;
	font-size: 20px;
	letter-spacing: 1px;
	color: #fff;
	text-decoration: none;
	border-radius: 8px;
	padding: 16px 4px;
	margin: 0 auto;
}
.btn-red-gradation:hover {
	border: 2px solid #C0291E;
	color: #C0291E;
	background: #fff;
}
.btn-gray-gradation {
	background: rgb(137,9,0);
	background: linear-gradient(0deg, rgba(200,200,208,1) 0%, rgba(255,255,255,1) 100%);
	border: 2px solid #C0291E;
	color: #C0291E;
}
.btn-gray-gradation:hover {
	background: #fff;
}
.btn-gray {
	background: #DEE8EB;
	background-color: #DEE8EB;
	border: 2px solid #a1a7a8;
	color: #000;
}
.btn-gray:hover {
	background: #fff;
	background-color: #fff;
}
.btn-bk,
.btn-red {
	display: block;
	width: 17em;
	font-size: 18px;
	background-color: #2C353B;
	border: 1px solid #2C353B;
	color: #fff;
	padding: 1em 0.5em;
	margin: 0 auto;
}
.btn-red {
	background-color: #C0291E;
	border: 1px solid #C0291E;
}
.btn-bk:hover {
	background-color: #fff;
	color: #2C353B;
}
.btn-red:hover {
	background-color: #fff;
	color: #C0291E;
}
.title-border,
.title-border-center {
	display: inline-block;
	font-family: sans-serif;
	font-weight: normal;
	color: #000; 
	font-size: 20px;
	border: 1px solid #000;
	padding: 0 0.5em;
	margin: 0 0 24px 0;
}
.title-border-center {
	position: relative;
	left: 50%;
	transform: translateX(-50%);
}
.title-ribbon-left,
.title-ribbon-right,
.title-ribbon-center {
	display: block;
	width: 18.25em;
	text-align: center;
	background-position: center;
	background-repeat: no-repeat;
	background-size: 100%;
	font-size: 32px;
	font-family: serif;
	font-weight: bold;
	color: #fff;
	line-height: 1.4;
	letter-spacing: 1px;
	padding: 0.5em 0 1em 0;
	margin: 0;
}
.title-ribbon-left {
	background-image: url(/wp-content/themes/ENISHI/images/title-ribbon-left.png);
	text-indent: -1em;
}
.title-ribbon-right {
	background-image: url(/wp-content/themes/ENISHI/images/title-ribbon-right.png);
	text-indent: 1em;
}
.title-ribbon-center {
	background-image: url(/wp-content/themes/ENISHI/images/title-ribbon-center.png);
	margin: 0 auto;
}
.title-underline-red,
.title-underline-wh,
.title-underline-blue {
	width: 100%;
	text-align: center;
	font-family: serif;
	font-weight: normal;
	font-size: 40px;
	position: relative;
	z-index: 0;
	margin: 0 0 64px 0;
}
.title-underline-red::after,
.title-underline-wh::after,
.title-underline-blue::after {
	content: "";
	display: block;
	position: absolute;
	width: 7em;
	height: 0.5em;
	left: 0;
	right: 0;
	bottom: 0;
	margin: auto;
	z-index: -1;
}
.title-underline-red { color: #fff; }
.title-underline-wh,
.title-underline-blue  { color: #000; }
.title-underline-red::after { background-color: #C0291E; }
.title-underline-wh::after  { background-color: #fff; }
.title-underline-blue::after { background-color: #DEE8EB;}

.title-underline-full {
	display: inline-block;
	position: relative;
	left: 50%;
	transform: translateX(-50%);
	font-family: serif;
	font-weight: normal;
	color: #000; 
	font-size: 32px;
	z-index: 0;
	margin: 0;
}
.title-underline-full::after {
	content: "";
	position: absolute;
	width: 100%;
	height: 0.5em;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: #fff;
	margin: auto;
	z-index: -1;
}
.title-red-short,
.title-bk-short,
.title-gold-short{
	width: 17em;
	font-family: sans-serif;
	font-size: 16px;
	color: #fff;
	margin: 0 auto;
}
.title-red-short  { background-color: #C0291E; }
.title-bk-short   { background-color: #2C353B; }
.title-gold-short { background-color: #CE962D; }
.list-number {
	font-family: sans-serif;
	font-size: 20px;
	line-height: 1.75;
	color: #000;
	margin: 0 0 16px 0;
}
.list-number li {
	position: relative;
	text-indent: 1.75em;
}
.list-number li span {
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: 1.25em;
	height: 1.25em;
	text-align: center;
	text-indent: 0;
	background-color: #000;
	color: #fff;
	border-radius: 50%;
	line-height: 1.25em;
	margin: auto;
}
.list-number2 {
	display: block;
	font-family: serif;
	font-size: 24px;
	margin: 0 auto;
}
.list-number2 li {
	list-style: decimal;
	list-style-position: outside;
}
.list-center li {
	width: fit-content;
	margin: 0 auto;
}
.list-table {
	display: flex;
	flex-wrap: wrap;
	font-family: sans-serif;
	font-weight: normal;
	font-size: 16px;
	border-top: 1px solid #afafaf;
	color: #000;
}
.list-table .head {
	width: 14%;
	background-color: #DEE8EB;
	font-weight: bold;
	border-bottom: 1px solid #afafaf;
	padding: 2em 2.5em;
	margin: 0;
}
.list-table .data {
	width: 86%;
	border-bottom: 1px solid #afafaf;
	padding: 2em 4em;
	margin: 0;
}
.list-table2 {
	display: flex;
	flex-wrap: wrap;
	font-family: sans-serif;
	font-size: 18px;
	color: #000;
	margin: 0;
}
.list-table2 .head {
	width: 42%;
	text-align: right;
	border-right: 2px solid #a1a7a8;
	padding: 0 32px 0 0;
	margin: 0 0 32px 0;
}
.list-table2 .data {
	width: 58%;
	padding: 0 0 0 32px;
	margin: 0 0 32px 0;
}
.list-table2 .data span.bg-wh.fc-red {
	display: block;
	width: 18em;
	text-align: center;
	margin: 0 auto 0 0;
}
.list-table2 .head:last-of-type,
.list-table2 .data:last-of-type {
	margin-bottom: 0;
}
.list-table3 {
	display: flex;
	justify-content: space-between;
}
.list-table3 .img-area {
	width: 400px;
	height: 300px;
	overflow: hidden;
}
.list-table3 .text-area { width: 752px; }
.list-table3 .img-area img {
	display: block;
	width: 100%;
	/*height: 100%;*/
	height: auto;
}

.list-hasimg {
	border-top: 1px solid #707070;
}
.list-hasimg li a {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	justify-content: space-between;
	border-bottom: 1px solid #707070;
	padding: 32px 0;
	margin: 0;
}
.list-hasimg .img-area {
	display: flex;
	width: 168px;
}
.list-hasimg .text-area {
	position: relative;
	width: calc(100% - 200px);
}
.list-hasimg .text-area .title {
	font-family: sans-serif;
	font-weight: bold;
	font-size: 20px;
	color: #C0291E;
	margin: 0 0 8px 0;
}
.section-line-red {
	position: relative;
	padding: 0 0 96px 0;
	margin: 0 0 32px 0;
}
.section-line-red::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	width: 2px;
	height: 64px;
	background-color: #C0291E;
	margin: auto;
}
.section-shadowbox {
	box-shadow: 0 0px 12px rgba(0,0,0,0.2);
	padding: 48px 32px;
	margin: 0 0 32px 0;
}
.section-col2,
.section-col2-border {
	display: flex;
}
.section-col2.mid-center,
.section-col2-border.mid-center {
	align-items: center;
}
.section-col2 .left-area {
	width: 40%;
}
.section-col2 .right-area {
	width: 55%;
	margin: 0 0 0 auto;
}
.section-col2-border .left-area {
	width: 35%;
}
.section-col2-border .right-area {
	width: 55%;
	border-left: 1px solid #afafaf;
	padding: 0 0 0 5%;
	margin: 0 0 0 5%;
}
.section-col3 {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
}
.section-col3 .data {
	width: 33%;
	margin-bottom: 32px;
}
.section-col2-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 24px;
}
.section-col3 .data img {
	display: block;
	width: 75%;
	margin: 0 auto;
}
.anker-offset {
	display: block;
	margin: 0;
	padding-top: 0;
}

/* ---------- common functions class ----------*/
@media screen and (max-width: 750px) {
	h1,
	h2,
	h3,
	h4,
	h5,
	h6,
	p,
	span {
		font-size: 3vw;
	}

	.fs-72 { font-size: 8vw   !important; }
	.fs-48 { font-size: 4.8vw !important; }
	.fs-36 { font-size: 4.5vw !important; }
	.fs-34 { font-size: 4.5vw !important; }
	.fs-32 { font-size: 4.4vw !important; }
	.fs-30 { font-size: 4.3vw !important; }
	.fs-28 { font-size: 4.0vw !important; }
	.fs-26 { font-size: 3.8vw !important; }
	.fs-24,
	.fs-22,
	.fs-20 { font-size: 3.5vw !important; }
	.fs-18,
	.fs-16,
	.fs-14,
	.fs-12 { font-size: 3vw !important; }

	.mb-16p { margin-bottom: 4% !important; }
	.mb-24p { margin-bottom: 6% !important; }
	.mb-32p { margin-bottom: 8% !important; }
	.mb-48p { margin-bottom: 12% !important; }
	.mb-64p { margin-bottom: 16% !important; }
	.mb-128p{ margin-bottom: 20% !important; }
	.mb-0   { margin-bottom: 0 !important; }
	.pb-64p { padding-bottom: 16% !important;}
	.pt-64p { padding-top:    16% !important;}

	.wrap {
		width: 100%;
		padding: 0 4%;
	}
	.btn-red-gradation,
	.btn-gray-gradation,
	.btn-gray {
		font-size: 4.5vw;
		padding: 4% 2%;
	}
	.btn-bk,
	.btn-red {
		font-size: 3.5vw;
	}
	.title-border,
	.title-border-center {
		font-size: 3vw;
		margin: 0 0 4% 0;
	}
	.title-ribbon-left,
	.title-ribbon-right,
	.title-ribbon-center {
		width: 100%;
		font-size: 4.4vw;
		margin-bottom: 8%;
	}
	.title-underline-red,
	.title-underline-wh,
	.title-underline-blue {
		font-size: 6vw;
		margin: 0 0 10% 0;
	}
	.title-underline-full {
		font-size: 4.4vw;
	}
	.list-number {
		font-size: 3.2vw;
		margin: 0 0 4% 0;
	}
	.list-number2 {
		font-size: 3.5vw;
	}
	.list-table {
		font-size: 3vw;
	}
	.list-table .head,
	.list-table .data {
		width: 100%;
		padding: 1.5em;
	}
	.list-table2 {
		flex-direction: column;
	}
	.list-table2 .head,
	.list-table2 .data  {
		width: 100%;
		text-align: left;
		border-right: none;
		border-bottom: 2px solid #a1a7a8;
		font-size: 4vw;
		padding: 4% 0;
		margin: 0;
	}
	.list-table2 .data  {
		border-bottom: none;
		padding-bottom: 0;
		margin-bottom: 16%;
	}
	.list-table2 .data p,
	.list-table2 .data span {
		font-size: 4vw;
	}
	.list-table2 .data span.bg-wh.fc-red {
		margin: 0 auto;
	}
	.list-table3 .img-area {
		height: calc(100vw * 0.231);
		max-height: 300px;
	}
	.list-table3 .img-area  { width: 34.8%; }
	.list-table3 .text-area { width: 64%;   }

	.list-hasimg li a {
		padding: 4% 0;
	}
	.list-hasimg .img-area {
		width: 25%;
	}
	.list-hasimg .text-area {
		width: 73%;
		padding: 0 4% 0 0;
	}
	.list-hasimg .text-area .title {
		font-size: 4vw;
	}
	.list-hasimg .text-area .note {
		font-size: 4vw;
	}
	.list-hasimg .text-area .title-pink {
		margin-bottom: 0;
	}
	.section-line-red {
		position: relative;
		padding: 0 0 20% 0;
		margin: 0 0 8% 0;
	}
	.section-line-red::after {
		content: "";
		position: absolute;
		left: 0;
		right: 0;
		bottom: 0;
		width: 2px;
		height: 12vw;
		background-color: #C0291E;
		margin: auto;
	}
	.section-shadowbox {
		box-shadow: 0 0px 12px rgba(0,0,0,0.2);
		padding: 8% 0;
		margin: 0 0 8% 0;
	}
	.section-col2,
	.section-col2-border {
		flex-wrap: wrap;
	}
	.section-col2 .left-area,
	.section-col2-border .left-area,
	.section-col2 .right-area,
	.section-col2-border .right-area {
		width: 100%;
		border: none;
		margin: 0;
		padding: 0;
	}
	.section-col2 .left-area,
	.section-col2-border .left-area {
		margin-bottom: 4%;
	}
	/* no wrap */
	.section-col2.non-wrap,
	.section-col2-border.non-wrap {
		flex-wrap: nowrap;
	}
	.section-col2.non-wrap .left-area,
	.section-col2-border.non-wrap .left-area {
		width: 45%;
	}
	.section-col2.non-wrap .right-area,
	.section-col2-border.non-wrap .right-area {
		width: 50%;
		margin: 0 0 0 auto;
	}

	.section-col3 .data {
		width: 50%;
		margin-bottom: 8%;
	}
	.anker-offset {
		display: block;
		margin-top: -110px;
		padding-top: 110px;
	}
}

/*--------- page layouts ---------*/
.header-page {
	position: relative;
}
.header-img {
	width: 100%;
}
.header-page .title-ribbon-center {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
}
.header-link {
	position: relative;
	background-color: #2C353B;
	padding: 24px 0;
	margin: 0 0 48px 0;
	z-index: 1;
}
.header-link a {
	font-family: sans-serif;
	font-weight: normal;
	font-size: 16px;
	color: #fff;
	text-decoration: none;
	margin: 0 2em 0 0;
}

/*--------- page layouts (SP) ---------*/
@media screen and (max-width: 750px) {
	.header-page .title-ribbon-center {
		width: 90%;
		margin-bottom: 0;
	}
	.header-link {
		padding: 3% 0;
		margin: 0 0 6% 0;
	}
	.header-link a {
		font-size: 3vw;
		line-height: 2;
		margin: 0 1em 0 0;
	}
	.header-link .wrap.flex {
		flex-wrap: wrap;
		justify-content: flex-start;
	}
}

/*--------- header ---------*/
.header {
	width: 100%;
	background-color: #C0291E;
}
.site-header {
	display: flex;
	max-width: 1200px;
	width: 100%;
	height: 90px;
	margin: 0 auto;
}
.header-logo {
	padding: 28px 0 28px 56px;
}
.header-logo img  {
	display: block;
	width: 210px;
}
.header-menu {
	display: block;
	margin: 0 0 0 auto;
}
.header-menu .menu {
	display: flex;
	justify-content: flex-start;
	align-items: center;
	height: 100%;
	list-style-type: none;
	padding: 0;
	margin: 0;
}
.header-menu .menu > li {
	padding: 0 2.5em 0 0;
}
.header-menu .menu > li > a {
	font-family: sans-serif;
	font-size: 14px;
	text-decoration: none;
	color: #fff;
	padding :46px 0 23px 0;
}

/* li hover時下線を表示 (liに上下のpaddingをいれること)
.header-menu > ul > li > a {
	display: inline-block;
	position: relative;
}
.header-menu > ul > li > a::after {
	width: 0;
	content: '';
	position: absolute;
	bottom: 0;
	z-index: 1;
	height: 100%;
	-webkit-transition: width 0.5s;
	transition: width 0.5s;
	left: 0;
	border-bottom: 1px solid #fff;
}
.header-menu > ul > li:hover > a::after {
	width: 100%;
}
.header-menu > ul > li:hover > a {
	color: #000;
	transition: color 0.5s;
}*/

/* 下線がでるタイミングをaタグにもどすならこちら */
.header-menu .menu > li > a {
	display: inline-block;
	position: relative;
}
.header-menu .menu > li > a::after {
	width: 0;
	content: '';
	position: absolute;
	bottom: 23px;
	z-index: 1;
	height: 100%;
	-webkit-transition: width 0.5s;
	transition: width 0.5s;
	left: 0;
	border-bottom: 1px solid #fff;
}
.header-menu .menu > li > a:hover::after {
	width: 100%;
}
.header-menu .menu > li > a:hover {
	color: #000;
	transition: color 0.5s;
}
.site-header .btn-login {
	display: block;
	width: 100px;
	height: 100%;
	background-color: #000;
	background-image: url(/wp-content/themes/ENISHI/images/icon-login-wh.png);
	background-repeat: no-repeat;
	background-position: center center;
	background-size: 38%;
	margin: 0;
}
.site-header .btn-login:hover {
	background-color: #fff;
	background-image: url(/wp-content/themes/ENISHI/images/icon-login-red.png);
}
.site-header .btn-memberpage {
	display: block;
	width: 100px;
	height: 100%;
	background-color: #fff;
	background-image: url(/wp-content/themes/ENISHI/images/icon-memberpage-red.png);
	background-repeat: no-repeat;
	background-position: center center;
	background-size: 52%;
	margin: 0;
}
.site-header .btn-memberpage:hover {
	background-color: #000;
	background-image: url(/wp-content/themes/ENISHI/images/icon-memberpage-wh.png);
}


/* sub-menu (pc) */
.header-menu .menu-item-has-children {
	position: relative;
}
.header-menu .menu-item-has-children > .sub-menu {
	display: none;
}
.header-menu .menu-item-has-children:hover .sub-menu {
	display: flex;
}
.header-menu .sub-menu {
	position: absolute;
	bottom: -22px;
	display: flex;
	justify-content: space-between;
	width: 580px;
	background-color: #fff;
	padding: 8px 12px;
	z-index: 1000;
}
.header-menu .sub-menu > li > a {
	display: inline-block;
	position: relative;
	font-family: sans-serif;
	font-size: 12px;
	text-decoration: none;
	color: #000;
}
.header-menu .sub-menu > li > a::after {
	width: 0;
	content: '';
	position: absolute;
	bottom: 0;
	z-index: 1;
	height: 100%;
	-webkit-transition: width 0.5s;
	transition: width 0.5s;
	left: 0;
	border-bottom: 1px solid #C0291E;
}
.header-menu .sub-menu > li > a:hover::after {
	width: 100%;
}
.header-menu .sub-menu > li > a:hover {
	color: #C0291E;
	transition: color 0.5s;
}

.btn-menu-icon,
.header-menu-sp {
	display: none;
}

/*--------- header (SP) ---------*/
@media screen and (max-width: 1200px) {
	.header {
		position: fixed;
		z-index: 1000;
	}
	.site-header {
		width: 100%;
		min-width: 100%;
		padding: 16px;
	}
	.header-logo {
		padding: 16px 0 16px 16px;
	}
	.header-logo img  {
		width: 140px
	}
	.site-header .btn-login {
		width: 54px;
		background-size: 60%;
		margin: 0 0 0 auto;
	}
	.site-header .btn-memberpage {
		width: 54px;
		background-size: 72%;
		margin: 0 0 0 auto;
	}
	.btn-menu-icon {
		position: relative;
		display: block;
		width: 54px;
		background-image: url(/wp-content/themes/ENISHI/images/icon-menu-open.png);
		background-position: center 11px;
		background-repeat: no-repeat;
		background-size: 65%;
		margin: 0 0 0 8px;
		z-index: 1001;
	}
	.btn-menu-close {
		background-image: url(/wp-content/themes/ENISHI/images/icon-menu-close.png);
	}
	.header-menu,
	.header-menu-sp,
	.header-menu-sp .sub-menu { display: none; }

	.header-menu-sp {
		position: absolute;
		top: 0;
		left: 0;
		width: 100vw;
		height: 100vh;
		background-color: #C0291E;
		z-index: 1000;
	}
	.header-menu-sp > ul,
	.header-menu-sp .menu {
		position: absolute;
		top: 50%;
		left: 50%;
		-webkit-transform: translate(-50%, -50%); /* Safari用 */
		transform: translate(-50%, -50%);
		width: 75%;
	}
	.header-menu-sp .menu > li {
		width: 100%;
		text-align: center;
		padding: 8px 0;
		margin: 0 0 1em 0;
	}
	.header-menu-sp .menu > li > a {
		font-family: sans-serif;
		font-size: 20px;
		text-decoration: none;
		color: #fff;
	}
	.header-menu-sp .btn-login-sp {
		display: block;
		box-sizing: border-box;
		width: 12em;
		text-align: center;
		position: absolute;
		left: 0;
		right: 0;
		bottom: 48px;
		font-family: sans-serif;
		font-size: 20px;
		text-decoration: none;
		border: 2px solid #000;
		background-color: #000;
		color: #fff;
		padding: 8px 0;
		margin: auto;
	}
	.header-menu-sp .btn-login-sp:hover {
		background-color: #fff;
		color: #000;
		transition: all 0.3s;
	}

	/* sub-menu (sp) */
	.menu-item-has-children.active {
		background-color: #fff;
	}
	.menu-item-has-children.active > a {
		color: #C0291E !important;
	}
	.header-menu-sp .sub-menu {
		width: 100%;
		background-color: #fff;
		padding: 0 1em;
		margin: 0 auto;
	}
	.header-menu-sp .sub-menu > li {
		border-bottom: 1px solid #ccc;
		text-align: center;
		padding: 8px 0;
	}
	.header-menu-sp .sub-menu > li:last-of-type {
		border-bottom: none;
	}
	.header-menu-sp .sub-menu > li > a {
		display: block;
		width: 100%;
		font-family: sans-serif;
		font-size: 14px;
		color: #000;
		text-decoration: none;
	}
}

/*--------- footer ---------*/
footer {
	width: 100%;
}
.footer-contact {
	width: 100%;
	background-image: url(/wp-content/themes/ENISHI/images/footer_contact.jpg);
	background-repeat: no-repeat;
	background-position: center center;
	background-size: auto;
}
.footer-contact > .wrap {
	height: 100%;
	padding: 32px 32px 96px 32px;
}
.footer-contact .contact {
	position: relative;
	text-align: center;
	border: 4px solid #C0291E;
	padding: 32px 0 64px 0;
}
.footer-contact .contact .btn-wh {
	display: block;
	position: absolute;
	left: 0;
	right: 0;
	bottom: -1.2em;
	width: 8em;
	font-family: sans-serif;
	font-size: 28px;
	font-weight: normal;
	text-decoration: none;
	letter-spacing: 1px;
	color: #C0291E;
	background-color: #ffff;
	border: 4px solid #C0291E;
	border-radius: 4px;
	padding: 8px 16px;
	margin: auto;
}
.footer-contact .contact .btn-wh:hover {
	background: rgb(137,9,0);
	background: linear-gradient(0deg, rgba(137,9,0,1) 0%, rgba(192,41,30,1) 100%);
	color: #fff;
}
.footer-sns {
	padding: 48px 0 64px 0;
}
.footer-sns ul {
	justify-content: center;
}
.footer-sns li {
	width: 144px;
	padding: 0 16px;
}
.footer-sns li a:hover img {
	opacity: 0.7;
}
.footer-movie {
	padding: 48px 0 64px 0;
}
.footer-movie-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}
.footer-movie-embed {
	position: relative;
	width: 100%;
	padding-top: 56.25%;
}
.footer-movie-embed iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
.footer-movie-title {
	text-align: center;
	margin-top: 10px;
	font-size: 14px;
	color: #333;
}
@media screen and (max-width: 750px) {
	.footer-movie-grid {
		grid-template-columns: 1fr;
		gap: 32px;
	}
}
.footer-cont {
	width: 100%;
	background-color: #2C353B;
	padding: 56px 0 40px 0;
}
.footer-cont > .wrap {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	padding-left: 32px;
	padding-right: 32px;
	margin-bottom: 40px;
}
.footer-logo {
	margin-bottom: 40px;
}
.footer-logo img {
	display: block;
	width: 180px;
}
.footer-menu {
	margin: 0 auto;
}
.footer-menu ul {
	display: grid;
	grid-template-columns: repeat(4, auto);
	gap: 16px 40px;
	justify-items: center;
}
.footer-menu ul li {
	padding: 0;
	margin: 0;
}
.footer-menu ul li a {
	font-family: sans-serif;
	font-size: 13px;
	text-decoration: none;
	color: #ccc;
	transition: color 0.2s;
}
.footer-menu ul li a:hover {
	color: #C0291E;
}
.copyright {
	text-align: center;
	font-family: sans-serif;
	font-size: 11px;
	color: #888;
	margin: 0;
	border-top: 1px solid #3e4a51;
	padding-top: 24px;
}
.btn-pagetop {
	display: block;
	position: fixed;
	right: 24px;
	bottom: 24px;
	width: 64px;
	height: 64px;
	background-image: url(/wp-content/themes/ENISHI/images/icon-page-top.png);
	background-position: center;
	background-repeat: no-repeat;
	background-size: 100%;
	border-radius: 50%;
	z-index: 900;
}

/*--------- footer (SP) ---------*/
@media screen and (max-width: 750px) {
	footer {
		width: 100%;
		min-width: 100%;
	}
	.footer-cont {
		padding: 48px 0 32px 0;
	}
	.footer-cont > .wrap {
		max-width: 100%;
		flex-direction: column;
		align-items: center;
		padding: 0;
		margin: 0 0 32px 0;
	}
	.footer-logo {
		margin: 0 auto 32px auto;
	}
	.footer-logo img {
		width: 75%;
		max-width: 215px;
		margin: 0 auto;
	}
	.footer-sns {
		padding: 12% 0 16% 0;
	}
	.footer-movie {
		padding: 12% 0 16% 0;
	}
	.footer-menu {
		margin: 0 auto;
	}
	.footer-menu ul {
		grid-template-columns: repeat(2, auto);
		gap: 12px 32px;
	}
	.footer-menu ul li a {
		font-size: 13px;
	}
	.copyright {
		font-size: 3vw;
	}
	.btn-pagetop {
		position: fixed;
		right: 16px;
		bottom: 16px;
		width: 48px;
		height: 48px;
	}
}

/*-------- top page ---------*/
.top-slider {
	position: relative;
	margin: 0 0 64px 0;
}
.top-slider img {
	width: 100%;
}
.top-slider .btn-red-gradation {
	position: absolute;
	left: 0;
	right: 0;
	bottom: -26px;
	margin: auto;
	z-index: 1;
}
.top-slider .slider img { display: block; }

.top-about-left,
.top-about-right {
	position: relative;
	height: 257px;
	margin: 0 auto 48px auto;
}
.top-about-left:last-of-type {
	margin-bottom: 64px;
}
.top-about-left  .text,
.top-about-right .text {
	width: 50%;
	position: absolute;
	z-index: 1;
	bottom: 0;
}
.top-about-left  .title-ribbon-left,
.top-about-right .title-ribbon-right {
	margin-bottom: 32px;
}
.top-about-left  .text p,
.top-about-right .text p {
	margin: 0;
	font-size: 20px;
	font-family: sans-serif;
}
.top-about-left  .img,
.top-about-right .img {
	display: block;
	width: 68%;
	position: absolute;
}
.top-about-left  .text { left:  0; }
.top-about-right .text { right: 0; }
.top-about-left  .text p { text-align: left;  }
.top-about-right .text p { text-align: right; }
.top-about-left  .img { right: 0; }
.top-about-right .img { left: 0; }

/*-------- top page (SP) ---------*/
@media screen and (max-width: 750px) {
	.top-slider {
		margin: 0 0 12% 0;
	}
	.top-slider .btn-red-gradation {
		font-size: 3.5vw;
		padding: 2%;
		bottom: -5vw;
	}
	.top-about .wrap {
		padding: 0;
	}
	.top-about-left,
	.top-about-right,
	.top-about-left:last-of-type {
		height: auto;
		margin: 0 auto 8% auto;
	}
	.top-about-left  .text,
	.top-about-right .text,
	.top-about-left  .img,
	.top-about-right .img {
		position: static;
		width: 100%;
	}
	.top-about-left  .text,
	.top-about-right .text {
		margin-bottom: 4%;
	}
	.top-about-left  .title-ribbon-left,
	.top-about-right .title-ribbon-right {
		width: 85%;
	}
	.top-about-left  .title-ribbon-left  { margin: 0 auto 4% 0; }
	.top-about-right .title-ribbon-right { margin: 0 0 4% auto; }
	.top-about-left  .text p,
	.top-about-right .text p {
		font-size: 3.5vw;
	}
	.top-about-left .text p {
		padding-left: 8%;
	}
	.top-about-right .text p {
		padding-right: 8%;
	}
}

/*-------- about ---------*/
.about-movie {
	max-width: 1200px;
	width: 100%;
	display: block;
	margin: 0 auto;
}
.about-youtube {
	display: block;
	max-width: 1200px;
	width: 100%;
	height: 675px;
	margin: 0 auto 32px auto;
}

/*-------- about (SP) ---------*/
@media screen and (max-width: 750px) {
	.about-movie {
		width: 100%;
	}
	.about-youtube {
		width: 100%;
		max-width: 750px;
		height: 50vw;
		max-height: 422px;
		margin: 0 auto 6% auto;
	}
}
/*-------- Company ---------*/
.list-number2.rinen {
	width: 9em;
}
/*-------- MW WP Form ---------*/
.mw_wp_form .list-table {
	width: 100%;
	margin: 0 auto;
}
.mw_wp_form .list-table .head {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	width: 30%;
	line-height: 1;
	font-size: 20px;
	padding: 1em;
}
.mw_wp_form .list-table .data {
	width: 70%;
	padding: 1em;
}
.mw_wp_form .list-table .data input[type="text"],
.mw_wp_form .list-table .data input[type="email"],
.mw_wp_form .list-table .data textarea,
.mw_wp_form .list-table .data select {
	width: 100%;
	border: 1px solid #afafaf;
	font-size: 20px;
	padding: 8px;
}
.mw_wp_form .list-table .data input[type="text"],
.mw_wp_form .list-table .data input[type="email"],
.mw_wp_form .list-table .data textarea {
	appearance: none;
}
.mw_wp_form .list-table .data .mwform-tel-field input[type="text"],
.mw_wp_form .list-table .data .mwform-zip-field input[type="text"] {
	width: 4em;
}
.message-confirm { display: none; }
.mw_wp_form_confirm .message-confirm { display: block; }

/*-------- MW WP Form(SP) ---------*/
@media screen and (max-width: 750px) {
	.mw_wp_form .list-table {
		max-width: auto;
	}
	.mw_wp_form .list-table .head,
	.mw_wp_form .list-table .data {
		width: 100%;
		font-size: 3.5vw;
	}
	.mw_wp_form .list-table .head {
		border-bottom: none;
	}
	.mw_wp_form .list-table .data.tel,
	.mw_wp_form .list-table .data.zip {
		text-align: center;
	}
	.mw_wp_form .list-table .data input[type="text"],
	.mw_wp_form .list-table .data input[type="email"],
	.mw_wp_form .list-table .data textarea,
	.mw_wp_form .list-table .data select {
		box-sizing: border-box;
		font-size: 3.5vw;
	}
}
/*-------- Taikai Form ---------*/
.taikai-form .mw_wp_form .list-table .head {
	width: 40%;
	line-height: 1.5;
}
.taikai-form .mw_wp_form .list-table .data {
	width: 60%;
}
@media screen and (max-width: 750px) {
	.taikai-form .mw_wp_form .list-table .head,
	.taikai-form .mw_wp_form .list-table .data {
		width: 100%;
	}
}

/*--------- regist page ---------*/
.regist .mw_wp_form .list-table {
	max-width: 640px;
}

/*-------- news-list ---------*/
.news-list .news-item {
	display: block;
}

/*-------- event detail page
           news  detail page  ---------*/
.thumbnail img {
	display: block;
	width: 100%;
	max-width: 400px;
	margin: 0 auto;
}

/*--------- member detail page ---------*/
.profile-img {
	display: block;
	width: 100%;
	max-width: 600px;
	margin: 0 auto;
}
.business-mach-form .mw_wp_form{
	border-bottom: 1px solid #afafaf;
	padding-bottom: 32px;
	margin-bottom: 32px;
}
@media screen and (max-width: 750px) {
	.business-mach-form .mw_wp_form{
		padding-bottom: 8%;
		margin-bottom: 8%;
	}
}

/*--------- member-list ---------*/
.member-list {
	border-bottom: 2px solid #000;
}
.member-list li {
	border-top: 2px solid #000;
	padding: 32px 64px;
}
.member-list li .flex {
	justify-content: space-between;
}
.member-list .img-area {
	width: 38%;
}
.member-list .text-area {
	width: 58%;
}
.member-list .tag-area span{
	background-color: #000;
	color: #fff;
	font-family: serif;
	padding: 4px;
	margin: 0 0.5em 0 0;
}
.sort-btn-area > form {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	margin: 0 0 32px 0;
}
.sort-btn-area > form button {
	appearance: none;
	outline: none;
}
.btn-sort {
	display: block;
	width: fit-content;
	text-align: center;
	border: 2px solid #a1a7a8;
	background: #DEE8EB;
	background-color: #DEE8EB;
	font-family: sans-serif;
	font-size: 13px;
	letter-spacing: 1px;
	color: #000;
	text-decoration: none;
	border-radius: 8px;
	padding: 0.5em;
	margin: 0 0.5em 0 0;
}
.btn-sort:last-of-type {
	margin-left: 0;
}
.memberlist-search .search-word {
	width: 12em;
	border: 1px solid #afafaf;
	font-size: 20px;
	padding: 8px;
	margin: 0 auto 24px auto;
}

@media screen and (max-width: 750px) {
	.sort-btn-area > form {
		margin: 0 0 6% 0;
	}
	.btn-sort {
		font-size: 2vw;
		margin-bottom: 1em;
	}
	.memberlist-search .btn-red-gradation {
		padding: 2%;
	}
	.memberlist-search .search-word {
		font-size: 3.5vw;
		margin: 0 auto 1.5em auto;
	}
}

/*--------- membership plugin ---------*/
/* login page */
.swpm-join-us-link {
	display: none;
}
.swpm-label,
.swpm-rember-label,
.swpm-login-form-pw-reset-link {
	font-family: sans-serif;
	font-size: 16px;
	color: #000;
}
.swpm-login-form-pw-reset-link {
	color: #890900;
}
.swpm-username-input input,
.swpm-password-input input {
	appearance: none;
	font-size: 16px;
	border: 1px solid #afafaf;
}
.swpm-remember-me {
	margin-bottom: 24px;
}
.swpm-login-form-submit,
.swpm-edit-profile-submit,
.swpm-pw-reset-submit {
	display: block;
	width: 8em !important;
	text-align: center;
	border: 2px solid #890900;
	background: rgb(137,9,0);
	background: linear-gradient(0deg, rgba(137,9,0,1) 0%, rgba(192,41,30,1) 100%);
	font-family: sans-serif;
	font-size: 20px;
	letter-spacing: 1px;
	color: #fff;
	text-decoration: none;
	border-radius: 8px;
	padding: 16px 4px;
	margin: 0 auto 32px auto;
}

/* profile page */
#swpm-editprofile-form  table {
	margin: 0 auto 24px auto;
}
#swpm-editprofile-form  table tr {
	border-bottom: 1px solid #afafaf;
}
#swpm-editprofile-form  table tr td {
	font-family: sans-serif;
	font-size: 16px;
	color: #000;
	padding: 8px 0;
}
#swpm-editprofile-form  table tr td:first-of-type {
	background-color: #DEE8EB;
}
.swpm-edit-profile-form input[type="text"],
.swpm-edit-profile-form input[type="password"],
.swpm-edit-profile-form select  {
	font-size: 16px;
	border: 1px solid #afafaf;
}
.swpm-edit-profile-form input[type="text"],
.swpm-edit-profile-form input[type="password"] {
	appearance: none;
}
/* pw reset page */
.swpm_label {
	font-family: sans-serif;
	font-size: 16px;
	color: #000;
}
.swpm-pw-reset-submit {
	width: 12em !important;
}
.swpm-text-field.swpm-pw-reset-text {
	appearance: none;
	border: 1px solid #afafaf;
	font-size: 16px;
	margin-bottom: 24px;
}


/* ---------- membership plugin SP ----------*/
@media screen and (max-width: 750px) {
	/* login page */
	.swpm-username-input input,
	.swpm-password-input input {
		font-size: 3vw;
	}
	.swpm-label,
	.swpm-rember-label,
	.swpm-login-form-pw-reset-link {
		font-size: 3.5vw;
	}
	/* profile page */
	.swpm-remember-me,
	#swpm-editprofile-form  table,
	.swpm-text-field.swpm-pw-reset-text {
		margin-bottom: 8%;
	}
	#swpm-editprofile-form  table tr td {
		font-size: 3.5vw;
	}
	.swpm-edit-profile-form input[type="text"],
	.swpm-edit-profile-form input[type="password"],
	.swpm-edit-profile-form select  {
		font-size: 3vw;
	}
	.swpm-edit-profile-submit,
	.swpm-pw-reset-submit {
		font-size: 4.5vw;
		padding: 4% 2%;
	}
	/* pw reset page */
	.swpm_label {
		font-size: 3.5vw;
	}
	.swpm-text-field.swpm-pw-reset-text {
		width: 100%;
		font-size: 3vw;
	}

}

/* ---------- page-eventlist-epm.php ----------*/
.event-list .event-overview {
	width:100%;
	display: flex;
	justify-content: space-between;
}
.event-list .event-overview .img-area {
	width:300px;
}
.event-list .event-overview .text-area {
	width: calc(100% - 320px);
}

/* ---------- single-event-epm.php
              single-event.php ----------*/
.event-detail .event-overview {
	display: flex;
	justify-content: space-between;
	margin: 0 0 32px 0;
}
.event-detail .event-overview .img-area {
	width: 400px;
}
.event-detail .event-overview .img-area > img {
	width: 100%;
	height: auto;
}
.event-detail .event-overview .text-area {
	width: calc(100% - 420px);
}
.event-detail .map iframe {
	width: 100%;
}
.event-detail .btn-red-gradation.submit,
.event-detail .btn-gray-gradation.submit,
.event-detail .btn-gray.submit {
	width: 14em;
}
@media screen and (max-width: 750px) {
	.event-detail .event-overview {
		margin: 0 0 8% 0;
	}
	.event-detail .event-overview .img-area {
		width: 30%;
	}
	.event-detail .event-overview .text-area {
		width: 67%;
	}
}

/* ---------- page-movie-list.php ----------*/
.movie-list .section-col3 {
	justify-content: flex-start;
}
.movie-list .section-col3 .data img {
	width: 360px;
	height: 270px;
	object-fit: cover;
	margin-bottom: 8px;
}

@media screen and (max-width: 750px) {
	.movie-list .section-col3 .data img {
		width: 40vw;
		height: calc(40vw * 0.75);
		object-fit: cover;
		margin-bottom: 8px;
	}
}

/* ---------- 2023.10.11 google calender add mako ----------*/

.cal_wrapper {
  max-width: 800px; /* 最大幅 */
  min-width: 300px; /* 最小幅 */
  margin: 2.0833% auto;
}
 
.googlecal {
  position: relative;
  padding-bottom: 100%; /* 縦横比 */
  height: 0;
  overflow: hidden;
}
.googlecal iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
}
 
@media only screen and (min-width: 600px) {
  /* 画面幅が600px以上の場合の縦横比の指定 */
  .googlecal {
    padding-bottom: 75%;
  }
}

/* パスワード保護ページ・パスワード入力画面 */
.post-password-required {
	width: 100%;
	max-width: 640px;
	margin: 0 auto;
	padding: 32px 16px;
}
.post-password-form p {
	text-align: center;
	margin-bottom: 1em;
}
/* ---------- achievement photo grid ----------*/
.achievement-photo-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 12px;
}
.achievement-photo-item img {
	width: 100%;
	height: 220px;
	object-fit: cover;
	display: block;
}
@media screen and (max-width: 1200px) {
	.achievement-photo-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}
@media screen and (max-width: 750px) {
	.achievement-photo-grid {
		grid-template-columns: repeat(2, 1fr);
	}
	.achievement-photo-item img {
		height: 150px;
	}
}
