@charset "utf-8";
/*
Theme Name: エムザス
Theme URI:
Author:
Author URI:
Description:
*/


/* ---------------------------------------- ↓orange button */

@media (min-width: 600px) {
	.orange-left-button { text-align:left !important; }
	.orange-right-button { text-align:right !important; }
}
@media (max-width: 599px) {
    #order-made a.img_orange img { width: 90% !important; }
}

.orange-left-button,
.orange-right-button{ margin:0 !important; }

#order-made .pagelink a.img_orange {
    min-width: 0% !important;
    padding: 0.1em !important;
    background: #ffbe00 !important;
    position: relative;
}

#order-made .pagelink a.img_blue {
    min-width: 0% !important;
    padding: 0.1em !important;
    background: #156183 !important;
    position: relative;
}

.wallpaper-4orangebutton {
	background: url(./images/background/fuji01_100.jpg) repeat;
}

#order-made .pagelink a.img_orange::after { color: #ffbe00 !important; }
#order-made .pagelink a.img_blue::after { color: #156183 !important; }

#is-sticky-orange {
	position: sticky;
	top: 110px;
	left: 0;
	z-index: 998;
	width: 100%;
	margin:0.5em 0 important;
}

.orange-two-button {
	justify-content:space-between;
	display:grid;
	grid-template-columns: 42% 42%;
}

.orange-three-button {
	justify-content:space-between;
	display:grid;
	grid-template-columns: 33% 33% 33%;
}

/* ---------------------------------------- ↑orange button */


html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp, small, strong, sub, sup, var, b, i, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, figcaption, figure,  footer, header, hgroup, menu, nav, section, summary, time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
	font: inherit;
    font-size: 100%;
	font-weight: normal;
    vertical-align: baseline;
    background: transparent;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}
main, article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
	display: block;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}

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;
}

img {
	width: auto;
	max-width: 100%;
	height: auto;
	vertical-align: top;
	-webkit-backface-visibility: hidden;
	-ms-interpolation-mode: bicubic;
	image-rendering: -moz-crisp-edges; /* Firefox */
    image-rendering:   -o-crisp-edges; /* Opera */
	image-rendering: -webkit-optimize-contrast; /* Webkit (非標準の名前) */
	image-rendering: crisp-edges;
}

a {
    margin: 0;
    padding: 0;
    font-size: 100%;
    vertical-align: baseline;
    background: transparent;
	text-decoration: none;
	color: inherit;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	-webkit-touch-callout: none; /* iOS長押しポップアップを阻止 */
}

del { text-decoration: line-through; }

/* change if need */

html {
	font-size: 62.5%;
}

body {
	font-size: 10px;
	font-size: 1.0rem;
	line-height: 1;
	-webkit-text-size-adjust: 100%;
}

ins {
    background-color: #ff9;
    color: inherit;
    text-decoration: none;
}

mark {
    background-color: #ff9;
    color: inherit; 
    font-style: italic;
    font-weight: bold;
}

abbr[title], dfn[title] {
    border-bottom: 1px dotted;
    cursor:help;
}

input[type="text"], input[type="password"], input[type="submit"], button, textarea, select {
	vertical-align: middle;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
}

/* IE text, password */
input::-ms-reveal,
input::-ms-clear {
	visibility: hidden;
}

/*---------- contact */
span.horizontal-item {
    margin-left: 0.6em;
}
.horizontal-item {
    display: inline-block;
    min-width: 45%;
    margin-bottom: 5px;
}
.horizontal-item {
    display: block;
}

/*---------- subnavi */
.page-menu {
    background-color: #f5efe5;
}

.page-menu .current {
    font-weight: bold;
}

/* ---------------------------------------- dx-support */
#dx-support {
    padding: 2em 0 2em 0;
    background-color: #f9ebd3;
    text-align:left;
}

/* ---------------------------------------- web-members */
#web-members { 
	padding: 2em 0 2em 0;
    background-color: #f5efe5;
}

#web-members .inner > .inside:not(:last-child) { margin: 0 0 2em; }

#web-members h2 {
	text-align: center;
	padding: 0 3em;
	position: relative;
}
#web-members h2 small {
	display: block;
	color: #e30920;
	font-weight: bold;
	position: absolute;
	top: 50%;
	right: 0;
	-webkit-transform: translateY(-50%);
	transform: translateY(-50%);
}

@media (max-width:767px) {
	#web-members ul {
	    display: -webkit-box;
	    display: -ms-flexbox;
	    display: flex;
		-ms-flex-wrap: wrap;
		flex-wrap: wrap;
		-webkit-box-pack: justify;
		-ms-flex-pack: justify;
		justify-content: space-between;
		margin-top: 20px;
	}
	#web-members ul li{ 
		width: 48%; 
		margin: 0 0 1em;
	}
}

@media (min-width: 768px) {
	#web-members ul {
	    display: -webkit-box;
	    display: -ms-flexbox;
	    display: flex;
		-ms-flex-wrap: wrap;
		flex-wrap: wrap;
		margin-top: 20px;
	}
	#web-members ul li{ 
		width: 32%; 
		margin: 0 2% 1em 0;
	}
	#web-members ul li:nth-child( 3n + 3 ){
		margin: 0 0 1em;
	}
}

@media (max-width: 599px) {
	#web-members h2 { 
		text-align: left; 
		padding: 0 3em 0 0;
	}
	#web-members h2 small { font-size: 1.2rem; }
}

@media (min-width: 600px) and (max-width:768px) {
	#web-members h2 small { font-size: 1.35rem; }
}

@media (min-width: 769px) and (max-width:959px) {
	#web-members h2 small { font-size: 1.45rem; }
}

@media (min-width: 960px) {
	#web-members h2 small { font-size: 1.6rem; }
}