@charset "utf-8";
body {
    font-size: 16px;
    line-height: 1.75;

}
#summary {
    padding: 1px 3px;
}
#summary h1,
header > div {
	width: auto;
}
#contents,
#summary h1 {
    width: 100%;
}

#breadcrumb {
	overflow-x: scroll;
	white-space: nowrap;
}

main {
    float: none;
    width: 100%;
}
section {
    padding-left: 6px;
}
section h2 {
    font-size: 18px;
}
section h2 i {
    position: relative;
    top: -3px;
    left: 7px;
    font-size: 14px;
}
section h2 small {
    display: none;
}
section section {
    padding: 0 0 0 6px;
}
section section h3 {
    margin: 0 0 10px -6px;
    font-size: 16px;
}
section section section h4 {
    margin-left: -6px;
    font-size: 12px;
}
aside {
    display: none;
}
header {
    padding-bottom: 10px;
}
#brand {
    float: left;
    display: block;
    width: auto;
    height: auto;
    margin: 10px;
    padding: 0;
    color:#e90000!important;
    background: none;
}
#brand small {
    display: block;
    margin-bottom: 2px;
    font-size: 9px;
    color: #e90000;
}

#open {
    clear: both;
    display: block;
    padding: 1px;
    background: #e60000;
    color: #fff;
    font-weight: 700;
    text-align: center;
}


address.contact {
    margin: 0;
    padding: 10px 15px;
    background: #fdeced;
}
address.contact a {
    display: block;
}



footer {
    background: 0 0;
}
footer address {
    padding-top: 10px;
    background: #d00;
    text-align: center;
    color: #fff;
}


#copyright {
    display: block;
    padding: 10px;
    border-top: 0;
    background: #d00;
    text-align: center;
    color: #fff;
}
main nav li a {
    padding: 5px;
}
footer nav {
    width: auto;
    margin: 0;
    padding: 0;
    font-size: 12px;
}
footer nav div {
    display: block;
    float: none;
    width: auto;
    padding-left: 0;
    margin-bottom: 0;
}
footer nav li {
    list-style: none;
}
footer nav strong {
    display: block;
    padding: 6px 8px;
    color: #fff;
}
footer nav .price strong {
    background: linear-gradient(to bottom,#73b9ff 0,#00a3d9 100%);
    background: -webkit-linear-gradient(top,#73b9ff 0,#00a3d9 100%);
}
footer nav .chiebukuro strong {
    background: linear-gradient(to bottom,#ffb973 0,#ff8000 100%);
    background: -webkit-linear-gradient(top,#ffb973 0,#ff8000 100%);
}
footer nav .company strong {
    background: linear-gradient(to bottom,#ff3c3c 0,#e60000 100%);
    background: -webkit-linear-gradient(top,#ff3c3c 0,#e60000 100%);
}
footer nav li {
    background: linear-gradient(to bottom,#ddd 0,#fff 100%);
    background: -webkit-linear-gradient(top,#ddd 0,#fff 100%);
}
footer nav li a {
    padding: 6px 12px;
    display: block;
    background: url("/img/sp/icon_arrow_r2.svg.png") no-repeat 96% center;
    background-size: 16px;
    color: #666!important;
}
footer nav li img {
    margin-right: 7px;
    padding: 3px;
    border: 1px solid #ccc;
    border-radius: 3px;
    -webkit-border-radius: 3px;
    background: linear-gradient(to bottom,#fff 45%,#ddd 55%,#eee 100%);
    background: -webkit-linear-gradient(top,#fff 45%,#ddd 55%,#eee 100%);
    vertical-align: -7px;
}

#to_top {
    bottom: 70px;
    right: 20px;
    width: 35px;
    height: 35px;
    line-height: 35px;
    padding: 13px;
}

.btn.long {
    width: 95%;
    font-size: 16px;
}
small {
    font-size: 9px;
}
a.link {
    display: block;
    font-size: 11px;
    font-size: 14px;
}
#contents img {
    max-width: 100%!important;
    height: auto;
}
#contents figure {
    padding: 0;
}
#contents figure,
#contents figure+.figured-text {
    display: block;
}
table td,
table th {
    width: auto!important;
}


@media screen and (max-width:640px) {
    #tip {
        left: 0!important;
    }
}

header nav {
	margin: 0;
	padding: 0;
	background: #d00;
}

header nav ul {
    width: auto;
    height: auto;
	display: block;
}
header nav li:last-child a {
    border: none;
}

header .contact {
    float: left;
    margin: 20px 0 5px 5px;
}
header .contact .mail {
    float: none;
    display: inline-block;
    margin: 0;
    padding-left: 25px;
    line-height: 15px;
    color: #d00;
    font-size: 15px;
    font-weight: bold;
    background: url("/img/icon_mail.svg") no-repeat;
    background-size: 20px;
}

header .contact a.line {
    float: none;
    display: inline-block;
	margin: 0;
    margin-left: 5px;
    padding: 0 3px;
    color: #fff;
    line-height: 25px;
    font-size: 15px;
    font-weight: normal;
    text-align: center;
    background: #00b900;
    border-radius: 5px;
}

header a.tel {
	display: inline-block;
	padding: 0 2px 0 25px;
	margin: 0;
	margin-top: 3px;
	color: #d00;
	font-size: 18px;
	font-weight: bold;
	text-align: right;
	background: url(/img/sp/icon_freedial.svg) no-repeat left center;
	background-size: 23px;
}


/* toggle */
header .navigation .toggle_open,
header .navigation .toggle_layer,
header .navigation .toggle_target {
	position: fixed;
	top: 0;
    max-height: 100vh;
    overflow-y: scroll;
	z-index: 100000;
}

/* toggle_open */
header .navigation .toggle_open {
	right: 0;
	padding: 10px 5px 5px 5px;
	border-radius: 0 0 0 12px;
	border: none;
	color: #fff;
	background-color: #c1000f;
	z-index: 100001;
}
header .navigation .toggle_open div span {
	display: block;
	width: 32px;
	margin: 0 auto 8px;
	border-top: solid 3px #fff;
}

/* toggle_layer */
header .navigation .toggle_layer {
	left: 0;
	display: none;
	width: 100%; height: 100%;
	background-color: #000;
	opacity: 0.5;
}

/* toggle_target */
header .navigation .toggle_target {
	right: 0;
	display: none;
	width: 100%;
	background-color: #d00;
	opacity: 0.95;
}
header .navigation .toggle_target li {
	display: block;
	float: none;
	width: 100%;
    padding: 0;
	text-align: center;
	border-bottom: solid 1px #fff;
	border-left: none;
}
header .navigation .toggle_target li.estimate  {
    background: #4f81bd;
}
header .navigation .toggle_target li span {
    display: inline-block;
	font-size: 10px;
	position: relative;
    top: 3px;
    left: -10px;
	width: 0.4em;
	height: 0.4em;
	border-top: 0.6em solid #fff;
	border-left: 0.4em solid #fff;
	border-right: 0.4em solid #fff;
}
/* 屋根 */
header .navigation .toggle_target li span::before {
	position: absolute;
	content: "";
	top: -1.2em;
	left: -0.6em;
	width: 0;
	height: 0;
	border-left: 0.8em solid transparent;
	border-right: 0.8em solid transparent;
	border-bottom: 0.8em solid #fff;
}

header .navigation .toggle_target li a {
	display: block;
	width: 100%;
    padding: 10px 0;
    line-height: 22px;
	color: #fff;
	text-decoration: none;
    font-weight: normal;
    font-size: 15px;
    border-left: none;
}
header .navigation .toggle_target button {
	display: block;
    margin: 9px auto;
	padding: 5px 10px;
	padding-left: 38px;
	border: none;
	color: #fff;
	font-size: 15px;
	text-align: center;
    background: #333;
    border-radius: 4px;
}
header .navigation .toggle_target button span {
    display: inline-block;
	position: relative;
}
header .navigation .toggle_target button span::before,
header .navigation .toggle_target button span::after {
	content: ".";
	position: absolute;
	left: -25px;
	top: 8px;
	display: block;
	width: 16px;
	border-top: solid 3px #fff;
	font-size: 0;
}
header .navigation .toggle_target button span::before {
	transform: rotate(45deg);
}
header .navigation .toggle_target button span::after {
	transform: rotate(-45deg);
}


footer {
    padding-bottom: 50px;
}

#contacts{
    position: fixed;
    bottom: 0;
    width: 100%;
    height: 70px;
    z-index: 100000000;
}
#contacts.type_b,
#contacts.type_c {
    height: 60px;
}

#contacts p {
    height: 20px;
    line-height: 20px;
    text-align: center;
    font-size: 15px;
    color: #fff;
    background: #d00;
}

#contacts a {
    box-sizing: border-box;
    float: left;
    display: block;
    width: 33%;
    height: 50px;
    padding: 10px 0;
    color: #fff;
    font-size: 16px;
    text-align: center;
}

#contacts a.line {
    background: #00b900;
}
#contacts a.mail {
    width: 34%;
    background: #2943c7;
    background: #ff6d00;
}
#contacts a.freedial {
    background: #e95018;
    background: #2943c7;
}

#contacts.type_b a,
#contacts.type_c a {
    width: 50%;
    height: 60px;
    font-size: 22px;
    font-style: oblique;
    padding: 10px 0;
    line-height: 6px;
}
#contacts.type_b a span,
#contacts.type_c a span {
    font-size: 0.8em;
    font-weight: normal;
}

#contacts.type_b a #contents_text,
#contacts.type_c a #contents_text{
    font-size: 0.6em;
    font-style: oblique;
    line-height: 22px;
}

#contacts.type_b a img,
#contacts.type_c a img {
    width: auto;
    height: 21px;
    margin-right: 5px;
}
#contacts a img {
    width: auto;
    height: 30px;
    margin-right: 10px;
}

@media screen and (max-width: 374px) {
    #contacts.type_b a,
    #contacts.type_c a {
        font-size: 16px;
    }
    #contacts.type_b a #contents_text,
    #contacts.type_c a #contents_text{
        font-size: 0.5em;
        line-height: 22px;
    }
}
