﻿@media screen and (max-width: 599px) {

body {
	-webkit-text-size-adjust: 100%;
}

.spmt20 {
	margin-top:20px !important;
}

.spmt50 {
	margin-top:50px !important;
}

.pcw {
	width: 100%;
}

.nosp {
	display: none;
}

.nopc {
	display: block;
}

.nopc-inline {
	display: inline;
}

.mr20 {
	margin-right: 0 !important;
}

a:hover {
	text-decoration: none;
}

.imgopa:hover {
	opacity: 1;
}

.lsm2sp {
	letter-spacing: -2px;
}




/* header & footer */

header {
	width: 100%;
	padding: 0;
}

#header {
	width: 95%;
	padding: 10px 0 10px;
	align-items: center;
}

#header h1 a {
	font-size: 1.9rem;
	line-height: 1.2;
	margin-top: 0;
	padding-left: 32px;
}

#header h1 a:before {
	display: block;
	content: "";
	background: url(/img/logo.svg) no-repeat;
	position: absolute;
	top: calc(50% - 15px);
	left: 0;
	width: 30px;
	height: 30px;
	background-size: contain;
}

header nav {
	display: none;
}

#tel-time {
	display: none;
}

#sp-phone {
  display: inline-block;
}

#sp-phone a {
	display: block;
	width: 28px;
	height: 27px;
	border-radius: 2px;
	border: solid 1px #333;
	vertical-align: middle;
	text-align: center;
	box-sizing: border-box;
	color: #333;
	padding-top: 2px;
}

#sp-phone i {
	font-size: 18px;
}



footer {
	min-width: 0;
	margin: 40px auto 0;
	padding: 10px 0;
	text-align: left;
}

#footer {
	width: 95%;
	padding: 0;
}

#footer-name {
	font-size: 1.7rem;
}

#footer-address {
	font-size: 1.4rem;
	margin-top: 0.2em;
}

#footer-telfax {
	font-size: 1.4rem;
}

#footer-telfax span:nth-of-type(1) {
	padding-left: 0;
}


#copyright {
	font-size: 1.1rem;
	margin-top: 6px;
	text-align: center;
}



/* top mainimage */

#mainimage-pc {
	display: none;
}

#mainimage-sp {
	display: block;
	width: 100%;
}

.swiper-slide {
	width: 100% !important;
}




/* contents */

section.contents {
	margin: 35px auto 0;
	width: 90%;
	padding: 0;
	overflow: hidden;
}

section.contents:nth-of-type(1) {
	margin-top: 20px;
}

section > h1 {
	width: 100%;
	padding: 0 0 2px;
	font-size: 1.7rem;
	font-weight: bold;
}



/* information */

ul.infolist {
	font-size: 1.5rem;
	line-height: 1.5;
}

.infoymd {
	margin-right: 1.0em;
}

#top-infolist-btn {
	width: 100%;
	margin: 20px auto 0;
	padding: 0;
}

#info-detail #top-infolist-btn {
	margin-top: 40px;
}

#top-infolist-btn a {
	font-size: 1.5rem;
	padding: 4px 10px 5px;
}

#top-infolist-btn a:hover {
	background: #fff;
	color: #333;
}


.wp-pagenavi {
	width: 95%;
	padding: 0;
	margin: 40px auto 0;
	font-size: 1.6rem;;
	line-height: 1;
}

.wp-pagenavi a:hover {
	background: #ddd;
}

.info-detail-title {
	margin-top: 0.5em;
	font-size: 2.2rem;
	line-height: 1.4;
}

#info-detail {
	font-size: 1.5rem;
	line-height: 1.6;
}



/* top banner */

.topbanner {
	width: 90%;
	margin: 40px auto 0;
	padding: 0;
}

.topbanner > li {
	width: 100%;
	text-align: center;
	margin-top: 10px;
}

.topbanner > li img {
	max-width: 100%;
}





/* service */

.service-block > h2 {
	background: -moz-linear-gradient(left, #0083CE, #b3d7eb);
	background: -webkit-linear-gradient(left, #0083CE, #b3d7eb);
	background: linear-gradient(to right, #0083CE, #b3d7eb);
	padding: 0.2em 0.5em;
	font-size: 1.6rem;
}

.service-gaiyou {
	display: block;
	overflow: hidden;
}

.service-gaiyou figure {
	width: 44%;
	margin-top: 4px;
	margin-right: 12px;
	margin-bottom: 5px;
	float: left;
}

.service-gaiyou p {
	font-size: 1.5rem;
	line-height: 1.6;
}

.service-gaiyou figure + div {
	width: auto;
}

.service-detail {
	margin-top: 6px;
	font-size: 1.5rem;
	line-height: 1.6;
}

[class*="wdh"] {
 width: 100%;
}

.column1block-text,
.column1block-image,
.column1block-youtube {
	margin-top: 15px;
}

#info-detail .column1block-text,
#info-detail .column1block-image,
#info-detail .column1block-youtube {
	margin-top: 25px;
}

.column2block {
	display: block;
	margin-top: 15px;
}

#info-detail .column2block {
	margin-top: 25px;
}

.column1block-text p,
.column2block p {
	margin-top: 0;
	padding-top: 0.5em;
}

#info-detail .column1block-text p,
#info-detail .column2block p {
	padding-top: 1em;
}

.column1block-text :nth-child(1),
.column2block :nth-child(1),
#info-detail .column1block-text :nth-child(1),
#info-detail .column2block :nth-child(1) {
	margin-top: 0;
	padding-top: 0;
}

.column2block figure + div p, {
	padding-top: 0.5em !important;
}

#info-detail .column2block figure + div p {
	padding-top: 1em !important;
}

.column2block div + figure {
	margin-top: 0.5em !important;
}

#info-detail .column2block div + figure {
	margin-top: 1em !important;
}

.column1block-image figcaption,
.column2block figcaption {
	padding: 0 5px;
	font-size: 1.3rem;
	line-height: 1.3;
	margin-top: 2px;
}

.column1block-youtube,
#info-detail .column1block-youtube {
	position: relative;
	width: 100%;
	padding-top: 56.25%;
}

.column1block-youtube iframe,
#info-detail .column1block-youtube iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.service-btn {
	text-align: left;
	margin-top: 0.5em;
}



/* message */

#message > div {
	display: block;
}

#message p {
	font-size: 1.5rem;
	line-height: 1.6;
}

#message figure + p {
	width: 100%;
}

#message figure {
	width: 90%;
	margin: 0 auto 1em;
}

#message h1 + div > p {
	margin-top: -0.5em;
}


/* company */

dl#company {
	width: 100%;
	padding: 0;
	font-size: 1.5rem;
	line-height: 1.5;
}

dl#company > dt {
	width: 100%;
	float: none;
	margin-top: 12px;
	padding: 0;
	padding-top: 12px;
	font-weight: bold;
}

dl#company > dd {
	width: 100%;
	float: none;
	margin-top: 2px;
	border-top: solid 1px #ccc;
	padding: 0;
	border: none;
}

dl#company > dt:first-child,
dl#company > dt:first-child + dd {
	border-top: none;
	padding-top: 0;
}



/* access */

p#access {
	width: 100%;
	margin: 12px auto 0;
	padding: 0;
	font-size: 1.5rem;
	line-height: 1.5;
}

#map {
	overflow: hidden;
	width: 100%;
	padding: 0;
	margin: 12px auto 0;
}

#map iframe {
	height: 250px;
}



#contactbtn {
	width: 95%;
	margin: 35px auto 0;
}

#contactbtn a {
	width: 70%;
	font-size: 2.0rem;
	border-radius: 30px;
	padding: 5px 0 6px;
}




#banner {
	width: 95%;
	margin: 35px auto 0;
	padding: 0;
}

#banner > li {
	margin-top: 12px;
}




.pcspl {
	width: 100%;
	padding: 0;
	margin: 30px auto 0;
	text-align: left;
	font-size: 1.6rem;
	line-height: 1.6;
}



/* form */

#contact p {
	font-size: 1.5rem;
	line-height: 1.6;
}

.contact-text {
	font-size: 1.5rem;
	line-height: 1.6;
}


dl.list-graph {
	width: 100%;
	padding: 0;
	margin: 30px auto 0;
	line-height: 1.7;
}

dl.list-graph dt,
dl.list-graph-form dt  {
	width: 100%;
	float: none;
	font-size: 1.5rem;
	margin-top: 20px;
	padding: 20px 0 0;
}

dl.list-graph dd,
dl.list-graph-form dd  {
	width: 100%;
	float: none;
	font-size: 1.5rem;
	margin-top: 0;
	padding: 0;
	border: none;
}

dl.list-graph-form dt {
	width: 100%;
	margin-bottom: 5px;
}

dl.list-graph-form dd {
	width: 100%;
}

dl.list-graph-form dt span.req {
	font-weight: bold;
	font-size: 1.3rem;
	padding: 1px 8px 2px;
	margin-left: 5px;
}

dl.list-graph-form dd span.error {
	font-size: 1.4rem;
}

.horizontal-item {
	display: block;
}

.mw_wp_form .horizontal-item + .horizontal-item {
	margin: 0 !important;
}

#form-btn {
	width: 100%;
	padding: 0;
	margin: 30px auto 0;
}

#form-btn input {
  border-radius: 0;
  -webkit-box-sizing: content-box;
  -webkit-appearance: button;
  appearance: button;
  border: none;
  box-sizing: border-box;
  cursor: pointer;
}
#form-btn input::-webkit-search-decoration {
  display: none;
}
#form-btn input::focus {
  outline-offset: -2px;
}

#form-btn .submit {
	background: #cf311c !important;
	color: #fff;
	border: none;
	font-size: 1.5rem;
	font-weight: bold;
	padding: 10px 20px;
}




}