@charset "UTF-8";


/** ************************************* **
	basic style of NewLifeSupport2020
	author: HPG_ogiwara
	version: December 2022

	TABLE CONTENTS
	---------------------------
		01. Web fonts
		02. Globals
		03. CHARACTOR
		04. table
		05. dl
		06. list
		07. トップの大画像
		08. top_button
		09. ドロワーメニュー
	---------------------------

 ** ************************************* **/


/** 01. Web fonts
 **************************************************************** **/
@import url('https://fonts.googleapis.com/css?family=M+PLUS+Rounded+1c&display=swap');



/** 02. Globals
 **************************************************************** **/
body {
	background-color: #FFFFFF;
}



@media (min-width: 576px) {
	.container {
		width:auto;
		max-width: 540px;
	}
}
@media (min-width: 769px) {
	.container {
		width:auto;
		max-width: 737px;
	}


}



@media (min-width: 992px) {
	.container {
		width:auto;
		max-width: 960px;
	}



}


@media (min-width: 1200px) {
	.container {
		width:auto;
		max-width: 1140px;
	}



}



@media (max-width: 991px) {
	#rightside {
	padding: 15px;
	width: 100%;
	float:none;
	}
}



#content {
	width: 80%;
}
#content a {
	text-decoration: none;
}
#rightside {
	width: 20%;
}
@media (max-width: 991px) {
	#content {
		width: 100%;
	}

}
@media (max-width: 768px) {
	#content {
		float: none;
		width: 100%;
	}
}

#header {
	background-color: transparent;
}

/* カラー
---------------------------------------------------- */
.brown, .brown a { color: #A58376; }






#header h1 {				/* ヘッダー画像貼り替え */
	background: url(/miyakyo/images/common/logo_newlife@2x.svg) no-repeat 0 0;
	background-position: left 0 top 0;
	background-size: 320px 40px;
	width: 320px;
	height: 40px;
	top: 18px;
}

#header h1 a {				/* ヘッダー画像貼り替え */
	display: block;
	text-indent: -9999px;
	width: 320px;
	height: 40px;
}

#content h2 {			/* コンテンツタイトル用 */
	font-family: 'YakuHanJP';
	padding: 0;
	padding-top: 6px;
	margin: 0.3em 0 0.5em;
	font-size: 200%;
	line-height: 1.0;
	color: #333333;
	text-indent: -1.8em;
	padding-left: 1.8em;
}

#tabsubarea {
	display: none;
}

#container {
	padding-top: 70px;
}



#globalmenu {
	float:left;
	width:215px;
}

#globalmenu .menu {
	padding: 10px;
}

#globalmenu h4 {
	padding:0 5px 0;
}

#content a {
	text-decoration: none;
}



/* wordpress 諸処設定*/
#global_menu h2 {
	font-size: 110%;
	margin: 0.5em 0;
}

#global_menu h2:before {
	content: "";
}

div .date-published {
	text-align: right;
	line-height: 1.5;
	margin-top:-0.5em;
	margin-bottom:0.5em;
}

#content #content_header {
	margin-top:-10px;
	margin-left:-10px;
	margin-right:-10px;
}

#content nav > h2.screen-reader-text {
	display: none;
}

#content nav.navigation {
	display: block;
	padding: 10px;
	border: solid #ecf0f1 2px;
	background-color: #ecf0f1;
	min-height: 45px;
	-webkit-border-radius: 6px;
	-moz-border-radius: 6px;
	border-radius: 6px;
}

#content nav.navigation .nav-previous {
	float:left;
}

#content nav.navigation .nav-next {
	float:right;
}

#primary .entry-content img {
	display: block;
	max-width: 100%;
	height: auto;
}

ul.wp_category_list {}
ul.wp_category_list li a {
  display: inline-block;
  padding: 9px 17px;
  margin-bottom: 8px;
  min-width:250px;
  font-size: 13px;
  font-weight: normal;
  line-height: 1.5;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  -ms-touch-action: manipulation;
      touch-action: manipulation;
  cursor: pointer;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
  background-image: none;
  border: 1px solid transparent;
  border-radius: 6px;
  text-decoration: none;
  color: #fff;
  background-color: #3b536b;
  border-color: #374e64;
  -webkit-transition-timing-function: ease;
       -o-transition-timing-function: ease;
          transition-timing-function: ease;
  -webkit-transition-duration: .3s;
       -o-transition-duration: .3s;
          transition-duration: .3s;
  -webkit-transition-property: all;
       -o-transition-property: all;
          transition-property: all;
}

ul.wp_category_list li a:hover {
	color: #fff;
	background-color: #293a4a;
	border-color: #222f3d;
}

.section {
	margin-left: -10px;
	margin-right: -10px;
}




.btn {
	white-space: normal;
}

@media (max-width: 768px) {
/*	#header {
		height: 50px;
		overflow: hidden;
	}*/
	#header h1 {				/* ヘッダー画像貼り替え */
		background: url(/miyakyo/images/common/logo_newlife@2x.svg) no-repeat 0 0;
		background-position: left 0 top 0;
		background-size: 250px 40px;
		width: 250px;
		height:40px;
		top: 15px;
	}

	#header h1 a {				/* ヘッダー画像貼り替え */
	display: block;
	text-indent: -9999px;
	width: 250px;
	height: 60px;
}
	#content h2 {			/* コンテンツタイトル用 */
		padding: 0;
		padding-top: 6px;
		margin: 0.3em 0 0.5em;
		font-size: 160%;
		line-height: 1.0;
		color: #333333;
		text-indent: -1.8em;
		padding-left: 1.8em;
	}


	.menu-button {
		position: absolute;
		right: 0px;
		top: 0px;
	}
	
	.menu-cart {
		top: 4px;
	}

}



@media (max-width: 480px) {
#header h1 {
	background-size: auto 30px;
	top: 15px;
}

#header h1 a {
	width: 250px;
	height:30px;
}

#container {
	padding-top: 55px;
}
}


#overheader #menu_exam,
#overheader #menu_freshmen,
#overheader #menu_event
{
	display:none;
}

#sitemap [id^="dropdown_"] {
	display:none;
}

.nav.nav-primary > li.disabled.comingsoon > a {
	color: #DEDEDE;
	background-color: #555555;
}

.nav.nav-primary > li.disabled.comingsoon > a:hover, .nav.nav-primary > li.disabled.comingsoon > a:focus {
	color: #EFEFEF;
	background-color: transparent;
	background-image: url("/tohoku/images/common/bg-comingsoon.png");
}

span.rev_ind {					/* spanブロック化 */
	display: block;
	padding: 0 0 0 0.5em;
	text-indent: -0.5em;
}






/** 03. CHARACTOR
 **************************************************************** **/
.yakuhanjp {
	font-family: 'YakuHanJP',"游ゴシック体", YuGothic, "YuGothic M", sans-serif;
}

.eventdate {
	font-family: 'YakuHanJP',"游ゴシック体", YuGothic, "YuGothic M", sans-serif;
	font-weight: 700;
	font-size: 17px;
	margin: 15px 0;
	padding-bottom: 5px;
}

.wf-roundedmplus1c { 
	font-family: 'YakuHanJP' ,"M PLUS Rounded 1c", "Open Sans", "Helvetica Neue", Helvetica, "Arial", "游ゴシック", YuGothic, "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, sans-serif;
}



/** 04. table
 **************************************************************** **/
#content table td.vmid , #content table th.vmid  {
	vertical-align: middle;
}


/** 05. dl
 **************************************************************** **/
 @media (max-width: 768px) {
#content dl dd {
	padding-left: 1em;
	margin-bottom: 0.6em;
	line-height: 1.5;
}
}


/** 06. list
 **************************************************************** **/
#content .contact ul, #content .contact ol {
	margin-bottom: 0px;
	padding-inline-start: 20px;
}



/** 07. トップの大画像
 **************************************************************** **/
#container .fullview {
	width: 100vw;
	position: relative;
	left: 50%;
	right: 50%;
	margin-left: -50vw;
	margin-right: -50vw;
	margin-top: -42px;
}

#container .fullview2 {
	width: 100vw;
	position: relative;
	left: 50%;
	right: 50%;
	margin-left: -50vw;
	margin-right: -50vw;
	margin-top: -72px;
}

.onepage-hero .bg-hero {
	position:absolute;
	height: 500px;
	width: 100%;
	max-height:500px;
	background-position: 50% 50%;
	background-size: cover;
	z-index:0;
}

.onepage-hero .bg-hero-text {
	position: relative;
	color: #FFFFFF;
	z-index: 10;
}

.onepage-hero .bg-hero-text h2 {
	color: #FFFFFF;
	font-size: calc(180% + 0.25vw);
	margin-top: 55px;
	margin-bottom: 3.4vmax;
}

.onepage-hero .bg-hero-text p {
	color: #FFFFFF;
	font-size: calc(90% + 0.15vw);
}

.onepage-hero .bg-hero-text h3 {
	color: #FFFFFF;
	font-size: calc(140% + 0.15vw);
	margin-top: 55px;
	border-bottom: none;
	text-align: center;
}

.onepage-hero2 .bg-hero {
	position:absolute;
	top:50px;
	height: 350px;
	width: 100%;
	max-height:500px;
	background-position: 50% 50%;
	background-size: cover;
	z-index:1;
}

@media (max-width: 768px){
	.onepage-hero2 .bg-hero {
		height: 300px;
	}
}



.bg-dark {
	color:#fff
}

.bg-dark-30:before,.bg-dark-60:before,.bg-dark-90:before,
.bg-purple:before,
.bg-yellow:before,
.bg-pink:before,
.bg-green:before,
.bg-orange:before,
.bg-red:before
 {
	content:" ";left:0
}

.bg-dark-30:before,.bg-dark-60:before,.bg-dark-90:before,.bg-purple:before,
.bg-yellow:before,
.bg-pink:before,
.bg-orange:before,
.bg-green:before,
.bg-red:before {
	position:absolute;height:100%;width:100%;z-index:0;
}

.bg-dark-30:before {
	background-color:rgba(34,34,34,.3);top:0
}

.bg-dark-60:before{
	background:rgba(34,34,34,.6);top:0
}

.bg-dark-90:before{
	background:rgba(34,34,34,.9);top:0
}

.bg-purple:before{
	background:rgba(109,112,213,.8);top:0
}

.bg-yellow:before{
	background:rgba(209,143,4,.8);top:0
}

.bg-red:before{
	background:rgba(223,100,94,.8);top:0
}

.bg-pink:before{
	background:rgba(211,101,169,.8);top:0
}

.bg-orange:before{
	background:rgba(248,132,77,.8);top:0
}

.bg-green:before{
	background:rgba(95,170,113,.8);top:0
}

.bg-white:before{
	background:rgba(255,255,255,0.80);top:0
}





/* -------------------------------------------------- *
 * header
 * -------------------------------------------------- */
.head_bar { 				/* ヘッダーバー */
	/*display: none;*/
}
#global_header.header-shadow #header {
	background-color: rgba(255,255,255,0.80);
	-webkit-transition: 1.2s;
	-moz-transition: 1.2s;
	-o-transition: 1.2s;
	-ms-transition: 1.2s;
	transition: 1.2s;
}

#global_header.header-shadow {
	-webkit-transition: 1.2s;
	-moz-transition: 1.2s;
	-o-transition: 1.2s;
	-ms-transition: 1.2s;
	transition: 1.2s;
	box-shadow:0 0 5px rgba(0,0,0,.1);
}




/* -------------------------------------------------- *
 * HEADER ICON & hamburger menu
 * -------------------------------------------------- */

#header ul.m-header a {
	color: #306B50;
}

.m-header-link.header-icon1 .m-header-link-icon {
	background-image: url('/miyakyo/images/icon/icon_1.svg');
}

.m-header-link.header-icon2 .m-header-link-icon {
	background-image: url('/miyakyo/images/icon/icon_2.svg');
}

.m-header-link.header-icon3 .m-header-link-icon {
	background-image: url('/miyakyo/images/icon/icon_3.svg');
}

.m-header-link.header-icon4 .m-header-link-icon {
	background-image: url('/miyakyo/images/icon/icon_4.svg');
}

.m-header-link.header-icon5 .m-header-link-icon {
	background-image: url('/miyakyo/images/icon/icon_5.svg');
}

.m-header-link.header-icon6 .m-header-link-icon {
	background-image: url('/miyakyo/images/icon/icon_6.svg');
}

.m-header-link.header-icon7 .m-header-link-icon {
	background-image: url('/miyakyo/images/icon/icon_7.svg');
}


.menu-trigger {
	background: #306B50;
}

#overheader .flexnav li.header {
	background-color: #306B50;
}




/* -------------------------------------------------- *
 * footer 修正
 * -------------------------------------------------- */
#social_footer {
	width: 100%;
	z-index: 1;
}

#footer {
	background-color: #97B5A7;
}

#global_footer {
	background-color: #97B5A7;
	color: #FFFFFF;
}

#global_footer a {
	color: #FFFFFF;
}

#footer #copyright {
	text-align: right;
	font-size: 12px;
	line-height: 1.5;
}

#footer #footer_coop {
	text-align: left;
	font-size: 12px;
}

#footer #footer_coop a {
	text-decoration: none;
}

#footer #footer_coop a:hover {
	text-decoration: none;
}

@media all and (max-width: 768px) {
	#footer.container{
	width: auto;
	max-width: 100%;
	}
	
	#global_footer #footer_coop a {
		bottom:0;
	}
	
	#global_footer #copyright {
		bottom:0;
	}
	
	#footer #copyright {
		text-align: center;
		font-size: 11px;
	}
	
	#footer #footer_coop {
		text-align: center;
		font-size: 11px;
	}
}





/** 08. top_button
 **************************************************************** **/
 
.header-nav {
	background: #e1f0fa;
}
#content2 .top_button ul {
	display: -webkit-box;
	display: -moz-box;
	display: flexbox;
	display: flex;
	margin: 0;
	padding: 10px 0 5px;
	list-style: none;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
	-webkit-justify-content: center;
}
#content2 .top_button a, #content2 .top_button a:link, #content2 .top_button a:visited {
	text-decoration: none;
}
#content2 .top_button a:hover{
	transition: all .2s ease;
	-webkit-transition: all .2s ease;
}
#content2 .top_button li {
	display: inline-block;
	text-decoration: none;
	color: #000000;
	padding: 5px 3px;
	text-align: center;
	width: 25%;
	-webkit-box-flex: initial;
	-moz-box-flex: initial;
	-ms-flex: initial;
	flex: initial;
}
@media screen and (max-width: 991px){
	#content2 .top_button li {
		width: 33%;
	}
}
@media screen and (max-width: 768px){
	#content2 .top_button li {
		width: 50%;
	}
}
@media screen and (min-width: 481px){
	#content2 .top_button ul {
		display: none;
	}
}
@media screen and (max-width: 480px){
	#content2 .top_button li {
		/*width: 14.2%;*/
		width: auto;
	}
}
#content2 .top_button li a {
	position: relative;
	display: block;
	text-align: center;
	border: 3px solid #3498db;
	padding:2px 5px 12px 5px;
	margin: 0 5px;
	box-sizing: border-box;
	font-weight: 600;
	text-transform: uppercase;
	-webkit-tap-highlight-color: transparent;
	transition: 0s ease-out;
	color: #232323;
	background-color: #fff;
}
#content2 .top_button li a .wrap{
  position:absolute;
  top:40%;
  left:50%;
  transform:translate(-50%,-50%);
  width:100%;
}
#content2 .top_button li a:after {
	font-family: 'Font Awesome 5 Free';
	content: "\f054";
	color: #3498db;
	font-weight: 600;
	font-size: 1.2em;
	position: absolute;
	top: 50%;
	right: 10px;
	margin-top: -12px;
}
#content2 .top_button li a:hover {
	background-color: rgba(52,152,219,0.20);
	border: 3px solid #3498db;
}
#content2 .top_button li a .user_icon:before {
	position:relative;
	top: 8px;
	right: 3px;
	content: url(/miyakyo/images/icon/01_user.svg);
	display: inline-block;
	width: 35px;
	height: 35px;
}
#content2 .top_button li a .user2_icon:before {
	position:relative;
	top: 8px;
	right: 3px;
	content: url(/miyakyo/images/icon/05_user.svg);
	display: inline-block;
	width: 35px;
	height: 35px;
}

#content2 .top_button li a .presen_icon:before {
	position:relative;
	top: 8px;
	right: 3px;
	content: url(/miyakyo/images/icon/02_presen.svg);
	display: inline-block;
	width: 35px;
	height: 35px;
}

#content2 .top_button li a .memo_icon{
	left: -10px;
	position: relative;
}

#content2 .top_button li a .memo_icon:before {
	position:relative;
	top: 8px;
	right: 3px;
	content: url(/miyakyo/images/icon/03_memo.svg);
	display: inline-block;
	width: 35px;
	height: 35px;
}

@media screen and (max-width: 768px){
#content2 .top_button li a .memo_icon{
	left: 0px;
	position: relative;
}

#content2 .top_button li {
	padding-top: 5px;
	margin-top: 0;
}


#content2 .top_button li a .wrap{
  position:relative;
	top:50%;
	  transform:translate(-50%,-50%);
  width:100%;
}
}

#content2 .top_button li a .house_icon:before {
	position:relative;
	top: 8px;
	right: 3px;
	content: url(/miyakyo/images/icon/04_house.svg);
	display: inline-block;
	width: 35px;
	height: 35px;
}

#content2 .top_button li a .cart_icon:before {
	position:relative;
	top: 8px;
	right: 3px;
	content: url(/miyakyo/images/icon/05_cart.svg);
	display: inline-block;
	width: 35px;
	height: 35px;
}

#content2 .top_button li a .document_icon:before {
	position:relative;
	top: 8px;
	right: 3px;
	content: url(/miyakyo/images/icon/06_document.svg);
	display: inline-block;
	width: 35px;
	height: 35px;
}


#content2 .top_button li a:hover:before{
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
#content2 .top_button li a:active:before{
	top: 7px;
	reft: -7px;
	width: 100%;
	height: 100%;
	z-index: -1;
}
@media (max-width: 480px) {
	#content2 .top_button ul{
		position: fixed;
		width: 100%;
		bottom:0px;
		left: 0;
		padding: 0px 0 0px;
		z-index: 1000;
		background-color: rgba(255,255,255,0.80);
		box-shadow: 0 1px 6px 0 rgb(32 33 36 / 28%);
	}
	#content2 .top_button li {
		margin: 3px auto;
	}
	#content2 .top_button li a {
		position: relative;
		border: 0px solid #232323;
		padding:0;
		margin: auto;
		box-sizing: border-box;
		font-weight: 600;
		text-transform: uppercase;
		text-decoration: none;
		color: #232323;
		text-align: center;
		line-height: 1.2;
		font-size: 9px;
		background-color: rgba(255,255,255,0.00);
		z-index: 1001;
	}


	#content2 .top_button li a:after {
		display: none;
	}
	#content2 .top_button li a:hover {
		background-color: rgba(255,255,255,0.80);
		border: 0px solid #3498db;
	}
	#content2 .top_button li a .user_icon:before {
		position:relative;
		margin: 0 auto 3px;
		top: 0px;
		right: 0px;
		content: url("/miyakyo/images/icon/01_user.svg");
		display: block;
		width: 35px;
		height: 35px;
	}
		#content2 .top_button li a .user2_icon:before {
		position:relative;
		margin: 0 auto 3px;
		top: 0px;
		right: 0px;
		content: url("/miyakyo/images/icon/05_user.svg");
		display: block;
		width: 35px;
		height: 35px;
	}
	#content2 .top_button li a .presen_icon:before {
		position:relative;
		margin: 0 auto 3px;
		top: 0px;
		right: 0px;
		content: url(/miyakyo/images/icon/02_presen.svg);
		display: block;
		width: 35px;
		height: 35px;
	}
	#content2 .top_button li a .memo_icon:before {
		position:relative;
		margin: 0 auto 3px;
		top: 0px;
		right: 0px;
		content: url(/miyakyo/images/icon/03_memo.svg);
		display: block;
		width: 35px;
		height: 35px;
	}

	#content2 .top_button li a .house_icon:before {
		position:relative;
		margin: 0 auto 3px;
		top: 0px;
		right: 0px;
		content: url(/miyakyo/images/icon/04_house.svg);
		display: block;
		width: 35px;
		height: 35px;
	}
	
		#content2 .top_button li a .cart_icon:before {
		position:relative;
		margin: 0 auto 3px;
		top: 0px;
		right: 0px;
		content: url(/miyakyo/images/icon/05_cart.svg);
		display: block;
		width: 35px;
		height: 35px;
	}
		#content2 .top_button li a .document_icon:before {
		position:relative;
		margin: 0 auto 3px;
		top: 0px;
		right: 0px;
		content: url(/miyakyo/images/icon/06_document.svg);
		display: block;
		width: 35px;
		height: 35px;
	}


}



/** 09. ドロワーメニュー
**************************************************************** **/
#overheader {
	display: block;
}

#overheader .flexnav li a {
	background-color: #ffffff;
}

nav.globalnav > .globalnav_bg a {
	background-image: url(/miyakyo/images/common/logo_newlife@2x.svg);
}

@media (max-width: 350px) {
nav.globalnav > .globalnav_bg a {
	width: 250px;
}
}