/*
Theme Name: eases5-child
Template: eases5
Description: 南部工業 様
*/
/* 初期設定 ----------------------------------------------------------------------------------- */
:root {
	--es-wrap-max-width: 1024px;
	--es-main-max-width: 690px;
	--es-side-max-width: 270px;
	--es-main-font-color: #555;
	--es-primary-color: #092a52;
	--es-secondary-color: #006acd;
	--es-header-color: rgba(32, 32, 32, 0);
	--es-header-font-color: #3169ae;
	--es-side-color: rgba(32, 32, 32, 0);
	--es-side-font-color: #555;
	--es-side-a-color: #555;
	--es-footer-color: #092a52;
	--es-footer-font-color: white;
	--es-header-hmg-color: white;
	--es-mobile-menu-color: #092a52;
}

ul, ol {
	padding: 0;
	list-style: none; }

/* ■ h1
--------------------------------------------------------------*/
#header .hgroup img.logo_img {
	max-width: 100px;
	height: 33px!important; }
	@media screen and (min-width: 430px) {
		#header .hgroup img.logo_img { height: 40px!important; } }
	@media screen and (min-width: 768px) {
		#header .hgroup img.logo_img { height: 45px!important; } }
	@media screen and (min-width: 1024px) {
		#header .hgroup img.logo_img { height: 60px!important; } }

/* contents ------------------------------------------------------------------------------------- */

/* ■ h2 - h5
-------------------------------------------------------------- */
#main h2 {
	margin: 0 auto 10px;
	padding: 0px 20px!important;
	border-bottom: 1px solid var(--es-primary-color);
	color: var(--es-primary-color);
	text-decoration: none;
	text-shadow: 1px 1px 1px rgba(0,0,0,0.3); }

#sidebar .side-box h2 {
	border-radius: 10px 10px 0 0;
    padding: 10px;
    font-size: 1.8rem; }

#footer h2 { font-size: 2.2rem; }

#single-page h2 {
	background-color: #808670;
	color: white; }

#main h3 {
	position: relative;
	margin: 0 auto 10px;
	padding: 5px 20px 5px 40px!important;
	color: var(--es-primary-color);
	text-decoration: none;
	text-shadow: 1px 1px 1px rgba(0,0,0,0.3);
	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; }

#main h3:before {
    position: absolute;
    top: 5px;
    left: 10px;
	content: "\e939"; }

/* レイアウト
-------------------------------------------------------------- */
#wrap {
	max-width: var( --es-wrap-max-width );
	margin: 0 auto;
	padding: 0;
	background-color: white;
	box-shadow: 0px 0px 5px 3px #b0b0b0; }

#pagebody { 
	padding: 0 20px 40px; }
	@media screen and (min-width: 768px) {
		#pagebody .inner {
			display: flex;
			justify-content: space-between;
			gap: 20px; } }

#main {  }
	@media screen and (min-width: 768px) {
		#main { max-width: var(	--es-main-max-width ); } }

#main p {
    padding: 0 10px; }

/* ヘッダー */
#header {
	margin-bottom: 20px;
	border-top: 10px solid var(--es-primary-color);
	border-bottom: 2px solid var(--es-primary-color);
	text-align: center; }
	@media screen and (min-width: 600px) {
		#header { text-align: left; } }

.top-page #header {
	border-bottom: none; }

.top-page figure {
	margin: 0; }

#header .hgroup {
    padding: 20px; }

#header .hgroup figure { margin: 0; }

.title {
	display: flex;
	align-items: center; }

.hgroup .information a {
    background-color: var(--es-secondary-color);
    color: white; }

.hgroup .information a:hover {
    background-color: var(--es-primary-color);
    color: white; }

.icon-mail:before {
	position: relative;
	top: -5px; }

#image-area img {
	width: 100%; }

/* サイドバー */
#sidebar { display: none; }
	@media screen and (min-width: 768px) {
		#sidebar {
			display: block;
			width: var(	--es-side-max-width ); } }

#sidebar .menu li {
	margin: 0 0 5px; }

#sidebar .menu a {
	display: block;
	padding: 5px 10px; }

#sidebar .menu li a {
	display: block;
	padding: 10px;
	border-bottom: 1px dotted var(--es-primary-color);
    background-color: initial;
    color: #555; }

#sidebar .menu li.current_page_item a {
	border-bottom: 1px dotted var(--es-primary-color);
    background-color: initial;
    color: red; }

/* フッター */
#footer { padding: 40px 1em 20px; }

#footer .widgets_footer { margin: 0 0 20px; }

/* モバイルメニュー */
.navi-contents {
	height: calc(100vh - 70px);
	background: #f9f9f9; }

.navi-contents ul {
	position: relative;
	width: calc(100% - 40px);
	min-width: auto;
	margin: 60px 0 0 30px; }

/* コンテンツ
-------------------------------------------------------------- */
table { font-size: 1.6rem; }

.wp-block-table { margin: 0 1em 2em; }

.wp-block-button__link span {
	font-weight: bold;
	font-size: 2.0rem; }

.link-banner { margin-left: 10px; }
	@media screen and (min-width: 768px) {
		.link-banner { margin-left: 0; } }

.link-banner li { margin-bottom: 5px; }

.navi-contents img {
	width: 100%;
	max-width: var(	--es-side-max-width );
	height: auto; }

.rps-left { text-align: left; }
	@media screen and (min-width: 780px) {
		.rps-left {
			text-align: right; } }

.top-page #main ul { margin: 0 0 40px 20px; }

/* リストスタイル */
.list-parentheses li {
	list-style-type: decimal;
	margin-left: 40px;
	padding-left: 10px; }
	
@media screen and (min-width: 780px) {
.list-parentheses li {
	list-style-type: none;
	counter-increment: cnt; }

.list-parentheses li::marker {
	content: "(" counter(cnt) ")"; }
}

.list-disc{
	list-style-type: disc;
	margin-left: 40px;
	padding-left: 10px;
}

.list-circle{
	list-style-type: circle;
	margin-left: 40px;
	padding-left: 10px;
}

/* お問い合わせ */
.wpcf7 {
	width: 100%;
	max-width: 600px;
	margin: 0 auto; }

.contact input,
.contact textarea {
	width: 100%; }

input[type="submit"] {
	display: block;
	width: 100px;
	margin: 0 auto;
	padding: 15px; }

input[type="submit"]:hover {
	background-color: var(--es-primary-color)!important;
}

