/* RESET */
/* ----------------------------------------- */

/**
 * Eric Meyer's Reset Stylesheet
 *
 * v2.0
 * 2011-01-26
 * Author: Eric Meyer - http://meyerweb.com/eric/tools/css/reset/
 */

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
	-webkit-text-size-adjust: none;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
a:focus {
  outline: none;
}
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video { margin: 0; padding: 0; border: 0; font: inherit; font-size: 100%; vertical-align: baseline; }

html { line-height: 1; }

ol, ul { list-style: none; }

table { border-collapse: collapse; border-spacing: 0; }

caption, th, td { text-align: left; font-weight: normal; vertical-align: middle; }

q, blockquote { quotes: none; }
q:before, q:after, blockquote:before, blockquote:after { content: ""; content: none; }

a img { border: none; }

article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section, summary { display: block; }

@font-face { font-family: "fontawesome"; src: url(//www.maywadenki.com/cms/wp-content/themes/maywadenki/css/fonts/../../font/fontawesome-webfont.svg) format('svg'), url(//www.maywadenki.com/cms/wp-content/themes/maywadenki/css/fonts/../../font/fontawesome-webfont.woff) format('woff'), url(//www.maywadenki.com/cms/wp-content/themes/maywadenki/css/fonts/../../font/fontawesome-webfont.ttf) format('truetype'), url(//www.maywadenki.com/cms/wp-content/themes/maywadenki/css/fonts/../../font/fontawesome-webfont.eot) format('embedded-opentype'); }

/*=========================*/
/* clear fix hack */
.cfix { display: inline-block; }
.cfix:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; }

/*＼*/
* html .cfix { height: 1%; }

.cfix { display: block; }

/**/
/*=========================*/
body, html { background: #089fd1; height: 100%; font-size: 15px; line-height: 175%; font-family: sans-serif; }

body, textarea { font-family: "メイリオ", "MS Pゴシック", sans-serif; }

li { list-style: none; }

a { text-decoration: none; color: #333; }
a:hover img { opacity: 0.85; }

strong { font-weight: bold; }

.fs08 { font-size: 80%; }

.float_l { float: left; }

.float_r { float: right; }

.red { color: #f00; }

.bordered1 { border: 1px solid #d0d0d0; padding: 10px; }

.align_c { text-align: center; }

.align_r { text-align: right; }

.wrapper { width: 100%; margin: 0 auto; position: relative; }

header { background: #089fd1; padding: 12px 15px; position: relative; }
header h1 img { vertical-align: bottom; width: 200px; }

/* .home header { border-bottom: 4px solid #f8f8f8; } */

.aligncenter { clear: both; display: block; margin-left: auto; margin-right: auto; }

.alignleft { display: inline; float: left; }

.alignright { display: inline; float: right; }

nav#sub ul { text-align: right; position: absolute; right: -10px; top: 2px; display: inline-block; margin: 0; }
nav#sub ul li { float: left; margin: 0 7px; width: 30px; }
nav#sub ul li a { display: block; width: 30px; height: 30px; line-height: 30px; text-align: center; margin: 0 auto; }
nav#sub ul li a img { width: 30px; height: 30px; }
nav#sub ul li a:hover { position: relative; top: -1px; }
nav#sub ul li a:hover img { opacity: 1 !important; }
nav#main { text-align: center; font-weight: bold; }
nav#main div.spacer { background: #375f7d; line-height: 18px; }
nav#main > ul.primal { border-bottom: 2px solid #f8f8f8; }
nav#main > ul.secondary { font-size: 75%; border-top: 2px solid #f8f8f8; }
nav#main > ul > li > a { padding: 20px 0; border-bottom: 4px solid #f8f8f8; display: block; font-size: 140%; color: #fff; }
nav#main > ul.secondary li > a { padding: 10px 0; border-bottom: 2px solid #f8f8f8; }
nav#main > ul > li > a:hover { background: #0399ca; -webkit-box-shadow: inset 0px 2px 1px 0px rgba(0, 0, 0, 0.3); -moz-box-shadow: inset 0px 2px 1px 0px rgba(0, 0, 0, 0.3); box-shadow: inset 0px 2px 1px 0px rgba(0, 0, 0, 0.3); color: #f8f8f8; }
nav#main > ul > li:last-child > a { border-bottom: none; }

nav#main > ul > li.bg2 > a { background: #f1a63f; border: none;}
nav#main > ul > li.bg2 > a:hover { background: #e7a240 !important; -webkit-box-shadow: inset 0px 2px 1px 0px rgba(0, 0, 0, 0.3); -moz-box-shadow: inset 0px 2px 1px 0px rgba(0, 0, 0, 0.3); box-shadow: inset 0px 2px 1px 0px rgba(0, 0, 0, 0.3); color: #f8f8f8; }

nav#main > ul > li > a span { width: 48%; }
nav#main > ul > li > a span.float_l { text-align: right; }
nav#main > ul > li > a span.float_r { text-align: left; }

img.page_icon, img.category_icon { padding: 0 !important; margin: 0 25px 0 0 !important; vertical-align: middle !important; text-decoration: none !important; text-align: left; width: 90px; height: auto;}

article h1 { text-align: center; font-weight: bold; color: #fff; background: #505050; padding: 12px 0 9px; margin: 0 0; position: relative; z-index: 100; font-size: 125%; overflow: hidden; }
article h1.product_h1 { padding: 0; text-align: left; line-height: 65px; height: 65px; overflow: hidden; }
article h1.product_h1 a { float: left; overflow: hidden; }
article h1.product_h1 img.category_icon { margin-top: -2px !important; width: 67px; }
article h1.product_h1 .product_id { font-size: 75%; }
article h1 .subtitle { margin-left: 1em; }
article h1 a { color: #fff !important; display: block; }
article h1 img { vertical-align: middle; position: relative; top: -1px; margin-right: 10px; }
article h2 { font-weight: bold; margin: 20px 0; display: block; /*border-top: 1px solid #333; border-bottom: 2px solid #333;*/ }
article section { padding: 10px; margin: 0 auto 10px; max-width: 980px; }
article section h1 { height: auto; text-align: center; font-weight: bold; color: #333; background: none; padding: 15px 0; margin: 0 0 20px 0; box-shadow: none; position: relative; text-shadow: none; font-size: 125%; border-bottom: 1px solid #999; }
article section h1 a { color: #333 !important; }
article section h1 a:hover { text-decoration: none; }

.contents { background: #fff; color: #333; padding: 0; width: 96%; padding: 1% 2% 2%; height: 97%; overflow: hidden; }
.contents h1:first-child { margin-top: 0; }

article section a { color: #26569a; }
article section a:hover { color: #999; text-decoration: underline; }

footer { background: #089fd1; padding: 10px; border-top: 1px solid #75d3ef; }

.home footer { border-top: 6px solid #f8f8f8; }

#copyright { text-align: center; color: #f8f8f8; font-size: 75%; line-height: 125%; text-shadow: -1px -1px 0 rgba(0, 0, 0, 0.15); }
#copyright a { text-decoration: none; color: #f8f8f8; }

.category article { background: #f8f8f8; }
.category .contents { background: #f8f8f8; padding: 0 0 15px; width: 100%; }

.category-products article h1, .category-sketch article h1 { padding: 19px 0; }
.category-products .contents ul li, .category-sketch .contents ul li { border: 14px solid #f8f8f8; border-bottom: 0; background: #fff; font-size: 18px; }

.category-denkyo .contents ul li, .category-business .contents ul li { border: 14px solid #f8f8f8; border-bottom: 0; background: #fff; font-size: 18px; }

.category-products .contents ul li a, .category-sketch .contents ul li a, .category-denkyo .contents ul li a, .category-business .contents ul li a { display: block; padding: 0px; position: relative; }

.category-products .contents ul li a:hover, .category-sketch .contents ul li a:hover, .category-denkyo .contents ul li a:hover, .category-business .contents ul li a:hover { background: #f0f0f0; -webkit-box-shadow: inset 0px 2px 1px 0px rgba(0, 0, 0, 0.3); -moz-box-shadow: inset 0px 2px 1px 0px rgba(0, 0, 0, 0.3); box-shadow: inset 0px 2px 1px 0px rgba(0, 0, 0, 0.3); color: #444 !important; }

.category-products .contents ul li a .subtitle, .category-sketch .contents ul li a .subtitle, .category-denkyo .contents ul li a .subtitle, .category-business .contents ul li a .subtitle { margin-left: 1.5em; font-size: 100%; }

.home .contents { background: #f8f8f8; padding: 0 0; width: 100%; }


/*.sublist img {width:60px;}*/
.sublist li img { border-bottom: 1px solid #666; }
.sublist li:last-child img { border-bottom: none; }

.centered { position: relative; overflow: hidden; }

.thumbs { border: 7px solid #f8f8f8; margin: 0 auto; width: auto; }
.thumbs li { float: left; border: 7px solid #f8f8f8; }
.thumbs li a { width: 150px; height: 150px; overflow: hidden; display: block; text-align: center; }
.thumbs li a img { width: 150px; height: 150px; }

#denkyo_journal .thumbs li a img { width: auto; height: 150px; }

.banner { overflow: hidden; width: 100%; background: #e8e8e8; margin-bottom: 10px; /*border-top:14px solid #f8f8f8;  border-bottom:14px solid #f8f8f8;*/ }
.banner ul { width: auto; margin: 0 auto; }
.banner li { float: left; display: block; width: 320px; height: 234px; overflow: hidden; }
.banner h3 { display: none; }

.home .banner {
	margin-bottom: 0;
}

#news_list > li { background: #f8f8f8; padding: 10px 8px; }
#news_list > li > a { display: block; line-height: 125%; min-height: 13px; text-indent: -6em; padding-left: 6em; }
#news_list > li:hover { background: #f0f0f0; -webkit-box-shadow: inset 0px 2px 1px 0px rgba(0, 0, 0, 0.3); -moz-box-shadow: inset 0px 2px 1px 0px rgba(0, 0, 0, 0.3); box-shadow: inset 0px 2px 1px 0px rgba(0, 0, 0, 0.3); color: #444 !important; }

.home #news_list {
	background: #f8f8f8;
	padding: 10px 0;
}

.home #news_list > li {
	text-align: left;
	font-weight: normal;
}

span.date { margin: 0 15px 0 5px; font-size: 12px; }

#news_list li a span.date { margin: 0 5px 0 0; line-height: 13px; }
#news_list li a span.date:before { content: "■"; font-size: 15px; line-height: 15px; height: 15px; vertical-align: middle; color: #eb621c; padding-right: 3px; }
.home #news_list li a span.date { margin: 0 5px 0 0; }

h1 span.date { font-size: 10px; color: #666; text-shadow: none; position: absolute; top: 6px; left: 10px; background: #f8f8f0; padding: 3px 12px 0; display: inline-block; border-radius: 18px; height: 18px; line-height: 18px; box-shadow: inset 2px 2px 1px rgba(0, 0, 0, 0.75); letter-spacing: 0.1em; }

.single .contents p { margin-bottom: 10px; }

.nav_t { background: transparent; position: fixed; padding: 10px 0; top: 50%; margin-top: 12.5px; z-index: 1; width: 100%; }
.nav_t .prev, .nav_t .next { width: 46%; padding: 0 2%; font-family: 'fontawesome'; font-size: 48px; font-weight: bold; color: #999; }
.nav_t .prev .fs08, .nav_t .next .fs08 { font-size: 100%; }
.nav_t .prev { float: left; }
.nav_t .next { float: right; text-align: right; }
.nav_t .prev a, .nav_t .next a { width: auto; color: #ccc; }
.nav_t .arrow_l { padding-right: 5px; color: #777; float: left; }
.nav_t .arrow_r { padding-left: 5px; color: #777; float: right; }

.about_btn, .about_btn2 { display: block; position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; line-height: 40px; background: #f39d30; box-shadow: inset 1px 1px 2px rgba(0, 0, 0, 0.8); box-shadow: 1px 1px 0px rgba(255, 255, 255, 0.2); color: #fff !important; font-size: 30px; text-align: center; text-shadow: -1px -1px 0 rgba(0, 0, 0, 0.25); border-radius: 2px; }

.pulleddown, .pulleddown2 { padding: 10px 2% !important; width: 96% !important; border-bottom: 1px solid #e0e0e0; display: none; }

.pulleddown h2, .pulleddown2 h2 { text-align: center; }

.cartbtn { border-left: 1px solid #333; box-shadow: inset 1px 0px 0px rgba(255, 255, 255, 0.15); padding-left: 20px; position: absolute; right: 0px; top: 0px; height: 45px; line-height: 45px; display: inline-block; }

.single .cartbtn { height: 65px; line-height: 65px; }

.cartbtn .vc_txt { margin-right: 0.5em; }
.cartbtn input { vertical-align: middle; position: relative; top: -2px; left: -3px; }
.cartbtn form { display: inline; }

.add_btn { text-align: center; margin-top: 20px; }

.contents form input[type=image] { text-align: center; margin: 0 auto; }

#shop_topbanner { text-align: center; background: #333; }

#shop_cat { text-align: center; color: #fff; background: #505050; padding: 12px 0 9px; margin: 0 0; box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.25); position: relative; z-index: 100; text-shadow: -1px -1px 0 rgba(0, 0, 0, 0.5); overflow: hidden; font-size: 125%; }
#shop_cat li { display: inline; border-left: 1px solid #333; box-shadow: inset 1px 0px 0px rgba(255, 255, 255, 0.15); }
#shop_cat li:first-child { border-left: none; box-shadow: none; }
#shop_cat li a { color: #fff; padding: 0 10px; }

.spg_btn { border: none; margin: 0; padding: 0; box-shadow: none; }

.shoppingguide_btn { display: block; padding: 0 5px; position: absolute; top: 12px; right: 10px; width: auto; height: 23px; line-height: 23px; background: #f39d30; box-shadow: inset 1px 1px 2px rgba(0, 0, 0, 0.8); box-shadow: 1px 1px 0px rgba(255, 255, 255, 0.2); color: #fff !important; font-size: 70%; font-weight: bold; text-align: center; text-shadow: -1px -1px 0 rgba(0, 0, 0, 0.25); border-radius: 2px; }

.category-shop .pulleddown { padding-bottom: 10px; border-bottom: none; }

#searchform { text-align: center; width: 410px; margin: 0 auto; }

header #searchform { text-align: right; float: right; width: 410px; margin: 7px 4px 3px 0; display: none; }

input[type="text"], input[type="email"], textarea { border: 1px solid #333; }

input[type="text"], input[type="email"] { height: 23px; line-height: 23px; min-width: 280px; }

textarea { height: auto; min-width: 280px; }

input[type="submit"] { cursor: pointer; height: 26px; line-height: 20px; min-width: 5em; margin-top: 1px; border: none; background: #333; color: #fff; vertical-align: middle; }
input#s { padding-bottom: 2px; border: none; width: 75%; margin-left: 0%; box-shadow: inset 1px 1px 1px rgba(0, 0, 0, 0.45); background: #f8f8f8; }
input:focus { outline-color: white; outline-width: 3px; }

textarea:focus { outline-color: white; outline-width: 3px; }

input#searchsubmit { outline-color: white; outline-width: 3px; min-width: 6em; width: 20%; }

.wpcf7 .red { font-size: 75%; }
.wpcf7 p { margin-bottom: 20px; }
.wpcf7 .ajax-loader { visibility: hidden; }
.wpcf7 .wpcf7-not-valid-tip { font-size: 12px; }

.block dl, .block h3 { margin-top: 1em; }
.block dt, .block h3 { font-weight: bold; padding: 2px 0 2px 5px; margin-bottom: 7px; border-bottom: 1px dotted #00a7e2; border-left: 4px solid #00a7e2; }
.block li { text-indent: -15px; margin-left: 15px; }
.block li:before { content: "•"; color: #f90; margin-right: 5px; font-size: 150%; }

.president ul li { text-indent: 0; margin-left: 0; }
.president li:before { content: ""; margin-right: 0px; font-size: 100%; }

.portlait { text-align: center; margin: 1.5em 0; }

.category-biography { line-height: 190%; }

.category-denkyo_faq section h2, .category-denkyo_continuation section h2, .category-denkyo_about section h2, .category-denkyo_admission section h2 { margin: 60px 0; font-size: 125%; }

.category-denkyo_faq section h3, .category-denkyo_continuation section h3, .category-denkyo_about section h3, .category-denkyo_admission section h3 { border-left: 8px solid #f1a501; padding: 5px 0 5px 9px; background: #fff; margin: 20px 0; }

.category-denkyo_faq section h4, .category-denkyo_continuation section h4, .category-denkyo_about section h4, .category-denkyo_admission section h4 { font-weight: bold; margin: 10px 0; }

.category-denkyo_faq section p, .category-denkyo_continuation section p, .category-denkyo_about section p, .category-denkyo_admission section p { margin: 10px 0; }

.category-denkyo_faq section ul.cfix, .category-denkyo_continuation section ul.cfix, .category-denkyo_about section ul.cfix, .category-denkyo_admission section ul.cfix { text-align: center; margin: 10px auto; }

.category-denkyo_faq section ul.cfix li, .category-denkyo_continuation section ul.cfix li, .category-denkyo_about section ul.cfix li, .category-denkyo_admission section ul.cfix li { background: #fff; float: left; display: block; line-height: 250px; height: 250px; width: 50%; text-align: center; }

.category-denkyo_faq section ul.cfix.three li, .category-denkyo_continuation section ul.cfix.three li, .category-denkyo_about section ul.cfix.three li, .category-denkyo_admission section ul.cfix.three li { width: 33.3%; }

.category-denkyo_faq section ul.cfix li img, .category-denkyo_continuation section ul.cfix li img, .category-denkyo_about section ul.cfix li img, .category-denkyo_admission section ul.cfix li img { vertical-align: middle; max-width: 100%; max-height: 240px; }

.category-biography .thumbs { margin: 0 auto; max-width: 980px; }

.wp-pagenavi { text-align: center; }
.wp-pagenavi a, .wp-pagenavi span { border: none !important; }

.wrapper .wp_social_bookmarking_light { position: relative; z-index: 2; }
.wrapper .wp_social_bookmarking_light div { margin-right: 12px !important; }



.iframe-wrapper {
    position: relative;
    padding: 30px 0 56.25%;
    height: 0;
    overflow: hidden;
}
 
.iframe-wrapper iframe,
.iframe-wrapper object,
.iframe-wrapper embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}


.contents {
	word-break: break-all;
}

.contents .sketch-parent > p {
	display: flex;
	align-items: center;
	justify-content: space-around;
	flex-wrap: wrap;
}

/**
 * 会社概要
 */
.overview-list li {
	border-top: 1px solid #ccc;
	padding: 1em 0;
}
.overview-list li:first-child {
	border-top: none;	
}
@import "css/tablet.css" screen and (max-width: 1024px);
@import "css/sp.css" screen and (max-width: 640px);