@charset "UTF-8";


/* ----------------------------------------------------
basic style of NewLifeSupport
author: HPG_ogiwara
version: April 2022
----------------------------------------------------- */


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

	TABLE CONTENTS
	---------------------------
		01. Globals
		02. ドロワーメニュー
	---------------------------

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

/** 01. Globals
**************************************************************** **/
#header h1 { /* ヘッダー画像貼り替え */
		display: block;
		text-indent: -9999px;
		background: url(/icmiyagi/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;
}


#container {
		padding-top: 70px;
}


#overheader {
		display: none;
}


#tabsubarea {
		display: none;
}


@media (max-width: 768px) {
		/*  #header {
  	height: 50px;
	overflow: hidden;
	}
*/
		#header h1 { /* ヘッダー画像貼り替え */
				background: url(/icmiyagi/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: 40px;
		}

		#global_tab {
				width: 100%;
				background: #FFFFFF;
				height: auto;
				max-height: 2000px;
				float: none;
		}

		#overheader {
				display: block;
		}

		#overheader .flexnav li a {
				/*	background-color: #3498db;*/
		}

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

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

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

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



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

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

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

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