/*Common CSS　Ver.1.0.0 */

:root {
	--mainColor: rgba(99, 123, 48, 1.0);
}

/*=================================
全体設定
=================================*/
html {
	font-size: 14px;
}
body {
	font-family: Helvetica Neue,Helvetica,YuGothic,Yu Gothic,'ヒラギノ角ゴ Pro W3',Hiragino Kaku Gothic Pro,"メイリオ",Meiryo,"ＭＳＰゴシック",sans-serif;
	line-height: 1.9;
	font-weight: 300;
	color: rgba(84, 84, 84, 1.0);
	text-align: justify;
}
h2 {
	font-size: 2.4rem;
}
h3 {
	font-size: 1.6rem;
	font-weight: bold;
	line-height: 1.6;
}
h4 {
	font-size: 1.25rem;
	font-weight: bold;
	line-height: 1.5;
}
ul, ol {
	list-style: none;
}
svg, img, embed, object, iframe {
	width: 100%;
	height: auto;
}
table {
	width: 100%;
	border-collapse: collapse;
}
a, a:visited {
	display: inline-block;
	color: rgba(45, 45, 45, 1.0);
	text-decoration: none;
}
a:hover {
	color: rgba(40, 188, 125, 1.0);
}
.txt-center {
	text-align: center;
}
.txt-left {
	text-align: left;
}
.txt-right {
	text-align: right;
}
.w1200 {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding-left: 20px;
	padding-right: 20px;
}
.w1200p0 {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding-left: 0;
	padding-right: 0;
}
.w1000 {
	width: 100%;
	max-width: 1000px;
	margin: 0 auto;
	padding-left: 20px;
	padding-right: 20px;
}
.w1000p0 {
	width: 100%;
	max-width: 1000px;
	margin: 0 auto;
	padding-left: 0;
	padding-right: 0;
}
.w900 {
	width: 100%;
	max-width: 900px;
	margin: 0 auto;
	padding-left: 20px;
	padding-right: 20px;
}
.w900p0 {
	width: 100%;
	max-width: 900px;
	margin: 0 auto;
	padding-left: 0;
	padding-right: 0;
}
.pos-relative {
	position: relative;
}
.pos-fixed {
	position: fixed;
	z-index: 999;
}
.flex {
	display: flex;
}
.flex-w {
	display: flex;
	flex-wrap: wrap;
}
.flex-wb {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}
.flex-wc {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
}
.tab-only,
.tabsp-only, 
.sp-only {
	display: none;
}

.myodenji-btn-01, 
.myodenji-btn-01:visited {
	padding: 0.5em 0.8em;
	color: rgba(102, 102, 102, 1.0);
	border: 2px solid rgba(102, 102, 102, 1.0);
	border-radius: 7px;
	transition: 0.25s;
}
.myodenji-btn-01:hover {
	color: rgba(255, 255, 255, 1.0);
	background-color: rgba(102, 102, 102, 1.0);
}


/*== Header設定 =========================*/
header {
	width: 100%;
	background-color:rgba(255, 255, 255, 1.0);
}
.header-inner {
	margin: 0 auto;
	padding-top: 8px;
	padding-bottom: 6px;
	align-items: center;
}
#header-logo {
	width: 240px;
}
#header-contact a, 
#header-contact a:visited {
	padding: 0.5em 0.8em;
	font-size: 1.2em;
	line-height: 1.0;
	letter-spacing: -0.02em;
	color: rgba(192, 57, 42, 1.0);
	border: 2px solid rgba(192, 57, 42, 1.0);
	border-radius: 8px;
}
.main-slider {
	overflow: hidden;
}
.main-slider .slide-text {
	font-size: 2.4rem;
	color: rgba(255, 255, 255, 1.0);
	text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
	position: absolute;
	bottom: 15px;
	left: 50%;
	transform: translateX(-50%);
	z-index: 9;
}


/*== Nav設定 =========================*/
nav {
	width: 100%;
	margin: 0;
	padding: 0;
	border-style: none;
	background-color: var(--mainColor);
	box-shadow: 0 3px 6px rgba(0, 0, 0, 0.5);
	position: relative;
	z-index: 99;
}
#nav-btn {
	display: none;
}
.g-nav {
	padding-left: 0;
	padding-right: 0;
}
#gloval-navi .nav-box {
	width: 20%;
	position: relative;
}
.nav-cat-name, 
.nav-cat-name:visited {
	display: block;
	padding: 7px 0;
	color: rgba(255, 255, 255, 1.0);
	font-size: 1.5em;
	text-align: center;
	cursor: pointer;
	transition: 0.3s;
}
.nav-cat-name:hover {
	color: rgba(255, 255, 255, 0.7);
	background-color: rgba(15, 48, 12, 0.3);
}
.nav-cat-name span {
	padding: 0.25em 5px;
	display: block;
	border-left: 1px solid rgba(36, 84, 24, 1.0);
}
.nav-box:last-of-type .nav-cat-name span {
	border-right: 1px solid rgba(36, 84, 24, 1.0);
}


/*== Main設定 =========================*/
main {
	background: url(../img/bg.webp) repeat;
	background-size: contain;
}
html.webp main {
	background: url(../img/bg.webp) repeat;
	background-size: contain;
}
html.no-webp main {
	background: url(../img/bg.jpg) repeat;
	background-size: contain;
}
article {
	background: url(../img/myodenji_bg_conte50.webp) repeat-y;
	background-position: center top;
	/*background-size: contain;*/
	padding-bottom: 80px;
}
html.webp article {
	background: url(../img/myodenji_bg_conte50.webp) repeat-y;
	background-position: center top;
	/*background-size: contain;*/
	padding-bottom: 80px;
}
html.no-webp article {
	background: url(../img/myodenji_bg_conte50.png) repeat-y;
	background-position: center top;
	/*background-size: contain;*/
	padding-bottom: 80px;
}
.sec {
	padding-top: 50px;
	padding-right: 30px;
	padding-bottom: 0;
	padding-left: 30px;
	font-size: 16px;
}
body#home .read-kazari {
	margin-bottom: 30px;
}
.read-kazari img {
	width: 28.5%;
}
.read-text {
	font-weight: 700;
	text-align: center;
}
p.read-text {
	font-size: 1.28rem;
}
h2.read-text {
	font-family: YuMincho,Yu Mincho,'游明朝',"ヒラギノ明朝 ProN W6",HiraMinProN-W6,"HG明朝E","ＭＳ Ｐ明朝",MS PMincho,"MS 明朝",serif;
	font-size: 2.8rem;
	letter-spacing: 0.1em;
	color: rgba(18, 18, 18, 1.0);
}
h2.read-text::after {
	content: '・・・';
	padding-top: 30px;
	font-size: 0.85rem;
	color: rgba(48, 48, 48, 1.0);
	display: block;
}
.child-page-read {
	margin-bottom: 40px;
	font-size: 1.3rem;
	line-height: 1.55;
}
.relation-link a, 
.relation-link a:visited {
	padding: 0.35em 0.8em;
	font-size: 1.45em;
	font-weight: bold;
	color: rgba(231, 144, 54, 1.0);
	background-color: rgba(255, 255, 255, 1.0);
	border: 2px solid rgba(231, 144, 54, 1.0);
	border-radius: 6px;
	display: block;
	transition: 0.25s;
}
.relation-link a:hover {
	color: rgba(255, 255, 255, 1.0);
	background-color: rgba(231, 144, 54, 1.0);
}
.page-conte-inq {
	width: 100%;
	margin-top: 60px;
	text-align: center;
}
.page-conte-inq h4 {
	color: var(--mainColor);
}
.page-conte-tel {
	font-size: 26px;
	font-weight: bolder;
	color: rgba(36, 36, 36, 1.0);
}
.page-conte-tel span {
	font-size: 20px;
}


/*== Footer設定 =========================*/
footer {
	margin: 0;
	padding: 0;
	color: rgba(255, 255, 255, 1.0);
	background-color: rgba(99, 123, 48, 1.0);
}
.f-conte {
	padding: 15px 0;
}
.f-conte-info {
	width: 52%;
	font-size: 16px;
	line-height: 1.5;
	text-align: left;
}
#f-name {
	margin-bottom: 15px;
	font-size: 1.5em;
	font-weight: bold;
}
#f-contact {
	margin: 5px 0;
}
#f-contact a, 
#f-contact a:visited {
	padding: 3px 8px;
	font-size: 14px;
	color: var(--mainColor);
	background-color: rgba(255, 255, 255, 1.0);
	border: 2px solid rgba(255, 255, 255, 1.0);
	border-radius: 10px;
	transition: 0.25s;
}
#f-contact a:hover {
	color: rgba(255, 255, 255, 1.0);
	background-color: var(--mainColor);
}
.f-conte-maps {
	width: 46%;
}
.g-maps {
	width: 100%;
	border: 1px solid rgba(48, 48, 48, 1.0);
	position: absolute;
	bottom: 0;
	right: 0;
}
.g-maps iframe {
	min-height: 200px;
}
#credit {
	padding: 10px 20px;
	font-size: 0.75rem;
	color: rgba(84, 84, 84, 1.0);
	background-color: rgba(255, 255, 255, 1.0);
	text-align: center;
}



/*=================================
タブレット設定（768px〜960px）
=================================*/
@media only screen and (max-width: 960px) {

	.tab-only,
	.tabsp-only {
		display: block;
	}

}



/*=================================
スマホ設定（〜767px）
=================================*/
@media only screen and (max-width: 767px) {

	/*
	.w1200, .w1000, .w900 {
		padding-left: 15px;
		padding-right: 15px;
	}
	*/
	.pctab-only,
	.tab-only {
		display: none;
	}
	.sp-only {
		display: block;
	}
	
	/*== Header設定 ==============*/
	.header-inner {
		padding-left: 10px;
		position: fixed;
		top: 0;
		z-index: 98;
		background-color: rgba(255, 255, 255, 1.0);
		box-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
	}
	#header-contact {
		display: none;
	}
	.main-slider {
		margin-top: 56px;
	}
	.main-slider .slide-text {
		width: 100%;
		font-size: 25px;
		text-align: center;
		bottom: 10px;
	}

	/*== ここからnav設定 ==========*/
	nav {
		float: right;
	}
	#nav-btn {
		height: 42px;
		padding: 4px 1px 1px;
		display: block;
		text-align: center;
		border: 1px solid rgba(123, 123, 123, 1.0);
		position: fixed;
		top: 7px;
		right: 10px;
		z-index: 100;
		cursor: pointer;
		background-color: rgba(255, 255, 255, 0.4);
	}
	.nav-btn-inner {
		width: 100%;
		height: 100%;
	}
	.nav-btn-inner::before {
		font-family: 'Material Icons';
		content: '\e5d2';
		width: 38px;
		margin: 0 auto;
		font-size: 36px;
		line-height: 18px;
		display: block;
	}
	.open .nav-btn-inner::before {
		content: '\e5cd';
	}
	.nav-btn-inner::after {
		content: 'MENU';
		font-size: 12px;
		position: absolute;
		bottom: -5px;
		left: 50%;
		transform: translateX(-50%);
	}
	#gloval-navi .nav-layer {
		display: none;
		background-color: rgba(237, 237, 237, 0.92);
	}
	#gloval-navi.open .nav-layer {
		display: block;
		width: 100vw;
		height: 100vh;
		padding: 68px 0 30px;
		position: fixed;
		top: 0;
		bottom: 0;
		right: -100vw;
		z-index: 99;
		animation-name: gnaviOpen;
		animation-duration: 1.0s;
		animation-delay: 0.3ms;
		animation-fill-mode: forwards;
	}
		@keyframes gnaviOpen {
			0% {
				right: -100vw;
			}
			100% {
				right: 0;
			}
		}
	#gloval-navi .nav-box {
		width: 100%;
		margin-bottom: 0;
		text-align: left;
		border-top: 1px dotted rgba(120, 120, 120, 1.0);
	}
	#gloval-navi .nav-box:last-of-type {
		border-bottom: 1px dotted rgba(120, 120, 120, 1.0);
	}
	#gloval-navi .nav-box a.nav-cat-name {
		padding: 0.4em 0.2em;
		font-size: 20px;
		display: block;
		cursor: pointer;
		/*pointer-events: none;*/
	}
	.nav-cat-name, 
	.nav-cat-name:visited {
		padding: 7px 20px;
		color: rgba(48, 48, 48, 1.0);
		cursor: pointer;
		transition: 0.3s;
	}
	.nav-cat-name:hover {
		color: rgba(48, 48, 48, 1.0);
		background-color: rgba(15, 48, 12, 0);
	}
	.nav-cat-name span {
		padding: 0;
		border-left: none;
	}
	.nav-box:last-of-type .nav-cat-name span {
		border-right: none;
	}

	/*== ここからmain設定 ==========*/
	.sec {
		padding-right: 0;
		padding-left: 0;
	}
	.sec:first-of-type {
		padding-top: 40px;
	}
	.read-kazari img {
		width: 48%;
	}
	h2.read-text {
		font-size: 2.6rem;
	}
	p.read-text {
		text-align: justify;
	}
	a.netz-btn-01, 
	a.netz-btn-01:visited {
		width: 80%;
	}
	.sheet-over-size {
		margin-top: 15px;
		font-size: 13px;
		font-weight: normal;
	}

	/*== ここからFooter設定 ==========*/
	.f-conte {
		padding: 20px;
	}
	.f-conte-info {
		width: 100%;
		margin-bottom: 15px;
	}
	.f-conte-maps {
		width: 100%;
	}
	.g-maps {
		position: relative;
	}

}



/*=================================
Clearfix設定
=================================*/
.clearfix:after {content: ""; display: block; clear: both;}
.clearfix:before {content: ""; display: block; clear: both;}
.clearfix {display: block;}
