/*
Theme Name: eases5-child
Template: eases5
Description: コスモス佐野 様
*/
/* 初期設定 ----------------------------------------------------------------------------------- */
:root {
	--es-wrap-max-width: 100%;
	--es-main-max-width: 1200px;
	--es-side-max-width: 0;
	--es-primary-color: #3c2c70;
	--es-secondary-color: #d1251a;
	--es-tertiary-color: #555;
	--es-header-color: white;
	--es-header-font-color: #555;
	--es-side-color: rgba(32, 32, 32, 0);
	--es-side-font-color: #555;
	--es-side-a-color: #555;
	--es-footer-color: #1f8d41;
	--es-footer-font-color: white;
	--es-url-font-color: #555;
	--es-header-hmg-color: white;
	--es-mobile-menu-color: #333333;
	--es-categories-color: #0060df;
	--es-categories-font-color: white;
	--swiper-theme-color: transparent!important;
	--es-test: calc(100vw - 100%);
	--scroll-bar-width: 16px;
}

html { scroll-behavior: smooth; }

body {
	background: url(../../../images/bg.gif) left top repeat;
	overflow-x: hidden; }

a { color: var(--es-url-font-color); }

ul, ol { padding: 0; }

.fixed-page #main ul,
.fixed-page #main ol { margin-left: 20px; }

em {
	display: block;
	font-size: 1.6rem;
	font-weight: bold;
	font-style: normal;
	line-height: 1.2; }


table {
	width: auto!important;
	border-collapse: collapse;
	table-layout: fixed;
	margin: 0 20px; }

th,
td { vertical-align: top; }

th {
	color: #555;
	background: #ddd; }


/* contents ------------------------------------------------------------------------------------- */

/* ■ h2 - h5
-------------------------------------------------------------- */

#wrap.top-page #main h2 {
	padding: 5px 0;
	font-size: 2.2rem; }

#wrap:not(.top-page) #main h2 {
	margin: 0 0 20px 0;
	padding: 5px 20px;
	border-bottom: 3px solid #023a7a;
	font-size: 2.6rem; }

h2 a { color: white; }

h2.red { background: url(../../../images/red.gif) left top repeat; }
h2.orange { background: url(../../../images/orange.gif) left top repeat; }
h2.seagreen { background: url(../../../images/seagreen.gif) left top repeat; }
h2.blue { background: url(../../../images/blue.gif) left top repeat; }
h2.orchid { background: url(../../../images/orchid.gif) left top repeat; }
h2.brown { background: url(../../../images/brown.gif) left top repeat; }
h2.darkcyan { background: url(../../../images/darkcyan.gif) left top repeat; }

#main .seo-point h2 {
	margin: 0 0 5px;
	padding: 0;
	background-color: transparent;
	color: #555; }

#sidebar h2 {
	color: white; }

#sidebar .my-profile h2 {
	margin: 0 auto 5px;
	padding: 0; }


#main h3 {
	margin: 20px 0;
	padding: 5px 20px;
	background-color: #e9e4d9;
	font-size: 2.0rem; }



#main h4 {
	padding: 0 20px;
	border-left: 5px solid #e82e2e;
	font-size: 2.0rem }

.hall #main h4 {
	margin-bottom: 10px;
	padding: 0 20px;
	border-left: none;
	font-size: 2.0rem }


#main h5 {
	margin-bottom: 40px;
	padding: 10px 0;
	border-top: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
	font-size: 2.0rem;
	text-align: center; }

#main h6 {
	margin: 0 0 10px;
	padding-left: 30px;
	background: url(../../../images/h6_bg.png) left center no-repeat;
	font-size: 1.8rem;
	color: #29954b; }


/* レイアウト
-------------------------------------------------------------- */
#wrap {
	width: 100%;
	max-width: var( --es-wrap-max-width );
	margin: 0 auto; }

#main {
	width: 100%;
	margin: 0 auto;
	padding: 40px 10px;
	background-color: white; }

#footer {
	width: 100vw;
	margin: 0 calc(50% - 50vw);
	padding-bottom: 0;
	background-color: #3c2c70; }


/* WP */
.wp-block-gallery { margin-bottom: 40px; }
.wp-block-group__inner-container,
.wp-block-columns {
	max-width: 1200px!important;
	margin: 0 auto 20px; }

.wp-block-group { margin: 0 0 20px; }

.wp-block-cover__inner-container { max-width: none; }

.wp-block-gallery .wp-block-image { width: 100%!important; }
	@media screen and (min-width: 768px) {
		.wp-block-gallery .wp-block-image { 
			width: calc(50% - var(--wp--style--unstable-gallery-gap, 16px)*.5)!important;
			flex-grow: 0!important; } }

:where(.wp-block-columns.is-layout-flex) { gap: 20px; }

.wp-block-button a {
	padding: 5px calc(1.333em + 2px);
	background-color: var(--es-primary-color); }

.wp-block-button a:hover { opacity: 0.7; }

.is-layout-flow > .alignleft {
    margin-inline-start: 10px;
    margin-inline-end: 10px; }

.alignleft {
	float: left;
	margin-inline-start: 10px;
	margin-inline-end: 10px;
	margin-top: 10px; }

.top-page .alignleft { margin-left: 0!important; }

/* ヘッダー
-------------------------------------------------------------- */
.sp-menu .top-page #header { background-color: rgba(60,60,60,1)!important; }

#header {
	padding: 0;
	background-color: #fbf7fa; }

.hgroup {
	width: 100%;
	max-width: var( --es-wrap-max-width );
	margin: 0 auto;
	padding: 20px 0; }

.hgroup-inner { justify-content: center; }
	@media screen and (min-width:1024px) {
		.hgroup-inner { justify-content: space-between; } }

    flex-wrap: wrap;
    align-content: center;
    align-items: center;
    justify-content: center;


.thbg .hamburger-menu {
	gap: 30px;
	padding: 0; }
	@media screen and (min-width:1000px) {
		.thbg .hamburger-menu { display: none; } }


#header .hgroup .title {
	display: flex;
	justify-content: center;
	margin: 0 10px 20px; }
	@media screen and (min-width:1024px) {
		#header .hgroup .title { margin: 0 10px; } }

#header .hgroup figure {
	height: 75px;
	margin: 0 10px 0 0; }

#header .hgroup figure img { width: 100%; }

#header .description {
	display: block;
	width: 100%;
	padding: 0;
	color: #555;
	line-height: 1.4;
	font-size: 1.8rem; }



.hgroup .information {
	flex-direction: row;
	align-items: center;
	line-height: 1;
	font-size: 1.4rem;
	color: #555; }

.hgroup .information a { padding: 10px; }

.jalink a:hover {
	background-color: var(--es-primary-color)!important;
	color: white!important;
	opacity: 0.7; }


.info_tel {
	margin: 0 10px;
	text-align: center; }

.info_tel ul li:nth-child(2) {
	display: flex;
	align-items: center;
	height: 40px;
	padding: 0 20px;
	overflow: hidden; }

.info_tel ul li:nth-child(2)::before {
	content: '\e91f';
	position: relative;
    top: 2px;
    left: 0;
    color: #3dc01d;
    font-size: 4.8rem;
    font-family: 'icomoon' !important;
    speak: none;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale; }

.info_tel .tel-link {
	margin-bottom: 0;
	font-size: 3.0rem; }

.line {
	margin-right: 10px;
	background-color: #3dc01d;
	border: 1px solid #3dc01d;
	color: white; }

.hgroup .information .line a { padding: 0; }

.line ul {
	display: flex;
	align-items: center;
	text-align: center; }

.line ul li:nth-child(2) {
	padding: 0 5px; }


/* グローバルメニュー */
#globalnavi {
	background-color: #3c2c70; }


#globalnavi ul {
	display: flex;
	justify-content: space-evenly;
	width: 1200px;
	max-width: var( --es-wrap-max-width );
	margin: 0 auto;
	border-left: 1px solid white; }

#globalnavi li {
	width: calc(100% / 6);
	border-right: 1px solid white; }

#globalnavi li a {
	display: block;
	width: 100%;
	padding: 20px 0;
	font-size: 1.4rem; }





/* サイドバー
-------------------------------------------------------------- */


/* フッター
-------------------------------------------------------------- */
#footer span { display: inline-block; }

#footer .inner {
	width: 100%;
	max-width: var( --es-wrap-max-width );
	margin: 0 auto;
	padding: 20px; }



#block-2 p {
	display: block;
	width: 100%;
	max-width: 600px;
	margin: 40px auto;
	padding: 20px;
	border: 1px solid white;
	text-align: center; }

#block-2 p span { display: inline-block; }

/* スクロールトップ */
#scrolltotop {
	opacity: 0;
	position: fixed;
	width: 70px;
	height: 70px; }
	@media screen and (min-width:320px) and (max-width:1000px) { 
		#scrolltotop {
			right: 0;
			bottom: 0;
			background-color: #ddd;
			z-index: 9999;
			opacity: 1; } }
	@media screen and (min-width:1001px) {
		#scrolltotop {
		opacity: 0;
			right: 5%;
			bottom: 20px;
			border-radius: 5px;
			box-shadow: 0px 0px 3px 1px rgba(0,0,0,0.6);
			background-color: rgba(255,255,255,0.8);
			z-index: 9999; }
		#scrolltotop.bnr-on {
			animation: fadeIn 1s forwards; }
			@keyframes fadeIn {
				0% { opacity: 0; }
				100% { opacity: 1; } }
		#scrolltotop:not(.bnr-on){
			animation: fadeOut 1s forwards; }
			@keyframes fadeOut {
				0% { opacity: 1; }
				100% { opacity: 0; } } } 

.fhbg #scrolltotop { right: 70px; }


footer .copyright { padding: 20px 0 100px; }
	@media screen and (min-width:1000px) {
		footer .copyright { padding: 20px 0; } }

/* ドロワーメニュー
-------------------------------------------------------------- */
.navi-contents {
	top: 0;
	background: #f9f9f9; }
	@media screen and (max-width: 1000px) {
		.navi-contents { height: calc( 100dvh - 70px ); }
		.sp-menu #drawer-close { height: calc( 100dvh - 70px ); } }


/* トップページ
-------------------------------------------------------------- */
.top-page #main p { padding: 0; }

/*画像*/
#image-area { position: relative; }

#image-area img { width: 100%; }

.slidebox {  }


#image-area .text_box {
	position: absolute;
	top: 0;
	left: 0;
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
	height: 100%;
	color: white;
	text-shadow: 2px 2px 3px #000;
	font-size: clamp(24px, calc( 24px + ((1vw - 3.2px) * 2.65)), 42px);
	z-index: 1; }

#image-area .text_box span { display: block; }
	@media screen and (min-width:640px) {
		#image-area .text_box span { display: inline; } }

.topTextArea, .topTextArea > div {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 30px; }


.news-area {
	margin: 0;
	padding: 40px 0;
	background-color: #f5f0e9; }

.news_posts {
    margin: 0; }

.news_posts div {
    display: inline-block;
    margin: 0 0 20px;
    -padding: 10px; }
	@media screen and (min-width:768px) {
	    .news_posts div {
        	margin: 0 10px; } }

.news_posts dd a {
	display: block; }


.hall dt {
	font-size: 1.6rem; }

.hall dd {
	margin-bottom: 20px;
	background-color: #e47a2d;
	font-size: 1.4rem;
	text-align: center;
	color: #fff; }
	@media screen and (min-width:400px) {
		dl.hall {
			display: flex;
			flex-wrap: wrap; }

		.hall dt {
			width: 65%;
			margin-bottom: 5px; }

		.hall dd {
			width: 35%;
			margin-bottom: 5px; } }



.cosmos_member {
	border: 3px solid #f6840a;
	border-radius: 10px;
	background-color: #fdf299;}

.cosmos_member .wp-block-column {
	border: 3px solid #f6840a;
	border-radius: 10px;
	background-color: white; }

.cosmos_member .wp-block-column p {
	padding: 20px!important;
	line-height: 1.4; }

.inquiry p { font-size: 2.2rem; }
	@media screen and (min-width:500px) {
		.inquiry p { font-size: 3.6rem; } }

.inquiry p span { display: inline-block; }

.fadein {
	opacity : 0.1;
	transform : translate(0, 50px);
	transition : all 1000ms; }

.fadein.scrollin {
	opacity : 1;
	transform : translate(0, 0);
	}.fadein {
	opacity : 0.1;
	transform : translate(0, 50px);
	transition : all 1000ms;
	}

.fadein.scrollin {
	opacity : 1;
	transform : translate(0, 0);
	}


/* コンテンツページ
-------------------------------------------------------------- */
/* 画像全幅の場合 */
.wp-block-image.alignfull {
	margin: 0; }
	@media screen and (min-width:400px) {
		.wp-block-image.alignfull {
			display: flex;
			align-items: center;
			height: 300px;
			margin: 0 calc(50% - 50vw + var(--scroll-bar-width) / 2) 40px;
			overflow: hidden; } }

.wp-block-image.alignfull img {
	min-width: 400px; }


.next_btn2 {
	padding-bottom: 5px;
	border-bottom: 5px solid #dcede1; }

.next_btn2 a { text-decoration: none; }

.point {
	margin: 20px;
	border-radius: 10px;
	background-color: #faf7f0;}

.point p { margin-bottom: 0!important; }

.point p span {
	display: block;
	margin-bottom: 10px;
	font-size: 2.2rem;
	font-weight: bold;
	line-height: 1; }

.point p span::before {
	content: '\e97a';
	position: relative;
    top: 7px;
    left: -5px;
    color: #af8900;
    font-size: 3.8rem;
    font-family: 'icomoon' !important;
    speak: none;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale; }

.offering #main span { display: inline-block; }

.hall-img2 { flex-wrap: nowrap!important; }

/* お問い合わせ */
.telbox {
	width: 100%;
	margin: 50px auto!important;
	list-style: none;
	overflow: hidden; }
	@media screen and (min-width: 550px) {
		.telbox {
			display: flex;
			max-width: 550px; } }

.telbox li {
	margin-bottom: 20px;
	color: #29954b;
	font-size: 2.0rem;
	font-weight: bold; }

.telbox li:first-child { margin-right: 40px; }

.telbox span {
	display: block;
	float: left;
	width: 80px;
	margin-right: 10px;
	padding: 4px;
	background-color: #29954b;
	color: #ffffff;
	font-size: 80%;
	text-align: center; }

.tel-link {
	margin-bottom: 10px;
	font-size: 2.4rem; }

.wpcf7 {
	width: 100%;
	max-width: 600px;
	margin: 0 auto; }

.contact input,
.contact textarea { width: 100%; }

.contact input[type="submit"] {
	display: block;
	width: 170px;
	margin: 0 auto;
	padding: 15px;
	border: 1px solid black;
	border-radius: 10px; }

.contact input[type="submit"]:hover {
	background-color: var(--es-primary-color)!important;
	color: #fff; }

.wpcf7 p{ margin: 20px 0; }

.wpcf7 label {
	display: inline-block;
	width: 100%; }

.wpcf7 span { width: 100%; }


.icon-mail:before { content: "\e97e"; }

.menubox li:nth-of-type(2) {
    background-color: #b04fff;
}