@charset "utf-8";

/* base */

html {
    padding: 0;
    font-size: 62.5%;
}

body {
    font-family: '游ゴシック', 'Yu Gothic', '游ゴシック体', 'YuGothic', 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3', Meiryo, メイリオ, Osaka, 'MS PGothic', arial, helvetica, sans-serif;
    color: #555;
    font-size: 1.8rem;
    font-weight: 500;
    line-height: 1.5em;
    margin: 0;
}

h1 {}

h1 a {
    color: #000;
}

h2 {
    position: relative;
    background: #d9333f;
    font-family: Georgia, 游明朝, "Yu Mincho", YuMincho, "Hiragino Mincho ProN", HGS明朝E, メイリオ, Meiryo, serif;
    font-size: 3rem;
    color: #fff;
    line-height: 1em;
    padding: 10px 15px;
    margin: 50px 0;
    overflow: hidden;
}

h2::before,
h2::after {
    position: absolute;
    top: 0;
    left: 0;
    width: 110%;
    height: 100%;
    content: '';
}

h2::before {
    transform: rotate(1.5deg);
    transform-origin: bottom right;
    background: #e83929;
}

h2::after {
    transform: rotate(-1.5deg);
    transform-origin: bottom left;
    background: #c9171e;
}

h2 span {
    position: relative;
    z-index: 1;
}

h3 {
    font-family: Georgia, 游明朝, "Yu Mincho", YuMincho, "Hiragino Mincho ProN", HGS明朝E, メイリオ, Meiryo, serif;
    font-size: 2.8rem;
    color: #c9171e;
    margin: 20px 0;
}

a {
    color: #4682b4;
    text-decoration: none;
    outline: none;
}

a:hover {
    color: #bbc8e6;
    transition-duration: 0.2s;
}

a:hover img {
    opacity: 0.8;
    transition-duration: 0.2s;
}

a:focus {
    outline: none;
}

img {
    vertical-align: middle;
}

p {
    text-align: justify;
    margin: 25px 0;
}

ul {
    list-style: none;
}

ol {
    padding-left: 25px;
}

ol li {
    margin: 10px 0;
}

dt {
    font-size: 1.8rem;
    font-weight: bold;
}

dd {
    margin: 20px 0 50px;
}

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

th,
td {
    padding: 10px;
}

hr {
    border: 0;
    height: 1px;
    background: #ccc;
    background-image: -webkit-linear-gradient(left, #eee, #ddd, #eee);
    background-image: -moz-linear-gradient(left, #eee, #ddd, #eee);
    background-image: -ms-linear-gradient(left, #eee, #ddd, #eee);
    background-image: -o-linear-gradient(left, #eee, #ddd, #eee);
    background-image: linear-gradient(left, #eee, #ddd, #eee);
    margin: 70px 0;
}

address {
    font-style: normal;
}

[type="date"],
[type="datetime"],
[type="datetime-local"],
[type="email"],
[type="month"],
[type="number"],
[type="password"],
[type="reset"],
[type="search"],
[type="tel"],
[type="text"],
[type="time"],
[type="url"],
[type="week"],
select,
textarea {
    border: solid thin #ccc;
    padding: 5px;
    border-radius: 3px;
}

[type="submit"],
[type="button"] {
    background-color: #0095d9;
    color: #fff;
    padding: 5px 15px 2px;
    cursor: pointer;
}

[type="submit"]:hover,
[type="button"]:hover {
    background-color: #70b6f2;
}

small {
    font-size: 1.3rem;
}

rt {
    font-size: 1.3rem;
}

.clearfix:after {
    display: block;
    content: "";
    clear: both;
}

.txt_l {
    text-align: left;
}

.txt_r {
    text-align: right;
}

.txt_c {
    text-align: center;
}

.font_m {
    font-family: Georgia, 游明朝, "Yu Mincho", YuMincho, "Hiragino Mincho ProN", HGS明朝E, メイリオ, Meiryo, serif;
}

.in_block {
    display: inline-block;
}

* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;
}

/* header */

.header.container {
    position: relative;
    padding: 0 0 0 20px;
}

.site_title {
    font-size: 1.8rem;
    font-weight: bold;
    flex-basis: 200px;
    flex-grow: 1;
    padding: 10px 0 5px;
}

.site_title a {
    color: #333;
}

.site_title small {
    display: inline-block;
    margin-right: 10px;
}

.to_contact {
    position: relative;
    max-width: 210px;
    height: 45px;
    text-align: right;
    flex-basis: 200px;
    flex-grow: 1;
    overflow: hidden;
    z-index: 1;
}

.to_contact::before {
    content: "";
    position: absolute;
    top: -10px;
    left: -5px;
    width: 10px;
    height: 70px;
    background: rgba(255, 255, 255, .4);
    transform: rotate(-30deg);
    transition-duration: .2s;
    z-index: 100;
}

.to_contact:hover::before {
    left: 220px;
    transition-duration: .2s;
}

.to_contact a {
    display: inline-block;
    position: relative;
    background: #c9171e;
    font-weight: bold;
    color: #fff;
    padding: 10px 15px 10px 50px;
    margin: 0;
    z-index: 20;
}

.to_contact a::before {
    display: inline-block;
    content: "";
    position: absolute;
    top: -25px;
    left: -18px;
    width: 42px;
    height: 80px;
    background: #c9171e;
    transform: rotate(-30deg);
    z-index: -1;
}

.to_contact a::after {
    content: url(img/assets/mail.svg);
    position: absolute;
    left: 15px;
}

/* nav */

nav {
    flex-basis: 300px;
    flex-grow: 2;
    padding: 10px 5px 5px;
}

nav ul {
    position: relative;
    text-align: right;
    padding-left: 0;
    margin: 0;
}

nav li {
    display: inline-block;
}

nav li a {
    display: inline-block;
    font-size: 1.4rem;
    color: #333;
    margin: 0 15px;
}

.slicknav_menu {
    display: none;
}

/* contents */

main {
    background: #f9f7ee;
}

.wrap {
    width: 100%;
    max-width: 1024px;
    padding: 50px 20px;
    margin: auto;
}

.division {
    padding: 60px 0;
}

.container {
    display: flex;
    position: relative;
    flex-wrap: wrap;
    justify-content: center;
    padding: 0;
    margin: 0 auto;
}

.co_box {
    position: relative;
    min-height: 100px;
    padding: 0 30px 0 0;
    flex-basis: 400px;
    flex-grow: 2;
}

.co_img {
    position: relative;
    min-height: 100px;
    padding: 0 30px 0 0;
    flex-basis: 300px;
    flex-grow: 1;
}

.co_img img {
    width: 100%;
    height: auto;
}

.co_cat {
    position: relative;
    max-width: 240px;
    min-height: 100px;
    background: #fff;
    color: #333;
    flex-basis: 200px;
    flex-grow: 1;
    margin: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, .1);
}

.co_cat:hover {
    transform: scale(1.02);
}

.co_cat:hover p {
    color: #333;
}

.co_cat:hover img {
    opacity: 1;
}

.co_cat h3 {
    font-size: 2.3rem;
    margin: 20px;
}

.co_cat img {
    width: 100%;
    height: auto;
}

.co_cat p {
    padding: 0 20px;
}

.variable_img img {
    width: 100%;
    height: auto;
}

.top_img {
    position: relative;
    max-height: 400px;
    overflow: hidden;
}

.top_img img {
    display: inline-block;
    width: 100%;
    height: auto;
}

.btn_1 {
    display: inline-block;
    position: relative;
    background: #c9171e;
    font-weight: bold;
    color: #fff;
    padding: 10px 100px;
    margin: 50px 0;
    border-radius: 25px;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, .2);
    transition-duration: .2s;
    overflow: hidden;
}

.btn_1:hover {
    color: #fff;
    box-shadow: none;
    transition-duration: .2s;
}

.btn_1::before {
    content: "";
    position: absolute;
    top: -10px;
    left: -25px;
    width: 20px;
    height: 70px;
    background: rgba(255, 255, 255, .2);
    transform: rotate(-30deg);
    transition-duration: .2s;
}

.btn_1:hover::before {
    left: 300px;
}

.btn_1::after {
    content: url(img/assets/arrow-right.svg);
    position: absolute;
    top: 0;
    right: 15px;
    bottom: 0;
    width: 32px;
    height: 32px;
    margin: auto;
}

.red {
    color: #c9171e;
}

/* slide */

.swiper-slide span {
    display: inline-block;
    position: absolute;
    right: 10px;
    bottom: 10px;
    font-size: 3.6rem;
    color: #fff;
    line-height: 1.2em;
    text-align: right;
    text-shadow: 0 0 2px rgba(0, 0, 0, 1);
    z-index: 100;
}

.swiper-slide .po_l {
    top: 10px;
    left: 10px;
    right: auto;
    bottom: auto;
    text-align: left;
}

/* index */

.index_img {
    margin-bottom: 50px;
}

.index_img img {
    width: 100%;
}

.contact_box {
    width: 100%;
    max-width: 540px;
    background: #fff;
    text-align: center;
    margin: auto;
    border: solid 3px #c9171e;
    border-radius: 10px;
}

.contact_box h3 {
    font-size: 3.6rem;
    margin: 40px 0 50px;
}

.tel,
.fax {
    position: relative;
    font-family: 游明朝, "Yu Mincho", YuMincho, "Hiragino Mincho ProN", HGS明朝E, メイリオ, Meiryo, serif;
    font-size: 3.6rem;
    line-height: 1.2em;
    margin-bottom: 10px;
}

.tel::before {
    content: url(img/assets/tel.svg);
    position: relative;
    top: 2px;
    width: 50px;
    height: 40px;
    margin-right: 10px;
}

.fax::before {
    content: url(img/assets/fax.svg);
    position: relative;
    top: 2px;
    width: 40px;
    height: 40px;
    margin-right: 10px;
}

.to_mail {
    display: inline-block;
    background: #c9171e;
    color: #fff;
    padding: 9px 30px 8px;
    margin: 30px 0 40px;
    border-radius: 25px;
}

.to_mail:hover {
    color: #fff;
    opacity: .7;
}

.to_mail::before {
    content: url(img/assets/mail.svg);
    position: relative;
    top: 4px;
    margin-right: 15px;
}

/* company */

.com_table tr:nth-child(even) {
    background: #fff;
}

.com_table th,
.com_table td {
    padding: 20px;
    border-bottom: solid thin #ccc;
}

.com_table th {
    position: relative;
    color: #4682b4;
}

.com_table th::after {
    content: "";
    position: absolute;
    top: 10%;
    right: 0;
    width: 1px;
    height: 80%;
    background: #eee;
}

.map {
    margin-bottom: 100px;
}

.map iframe {
    width: 100%;
    height: 400px;
    border: none;
}

/* maintenance */

.flow {
	display: flex;
    flex-wrap: wrap;
    margin-bottom: 70px;
}

.flow li {
    max-width: 250px;
	flex-basis: 150px;
    flex-grow: 1;
}

.flow li .flow_no {
    display: block;
    position: relative;
	width: 50px;
    background: #ee827c;
    font-family: 'Montserrat', sans-serif;
	font-size: 1.8rem;
	line-height: 50px;
	color: #fff;
    text-align: center;
    letter-spacing: 2px;
	margin: 0 auto 20px;
	border-radius: 50%;
}

.flow li .flow_no::before {
	content: "";
	border: solid transparent;
	border-width: 8px;
	border-top-color: #ee827c;
	position: absolute;
	top: calc(100% - 2px);
	left: 50%;
	-webkit-transform: translateX(-50%);
	transform: translateX(-50%);
}

.flow li div {
    position: relative;
    font-size: 1.6rem;
	font-weight: 600;
	color: #c9171e;
	text-align: center;
	padding: 30px 0px;
	margin: 0 20px 30px;
	border: 3px solid #c9171e;
}

.flow li div img {
    display: inline-block;
    margin: 20px 35px 0;
}

.flow li div::after {
	content: "";
	width: 14px;
	height: 14px;
	display: inline-block;
	position: absolute;
	top: 0;
	left: 100%;
    bottom: 0;
    margin: auto 10px;
    border-top: 4px solid #ee827c;
	border-right: 4px solid #ee827c;
	-webkit-transform: rotate(45deg);
	transform: rotate(45deg);
    color: #c9171e
}

.flow li:last-child div::after {
    display: none;
}

.table_cap {
    text-align: center;
}

.table_cap table {
    min-width: 300px;
    background: #fff;
    font-size: 2rem;
    font-weight: bold;
    color: #333;
    letter-spacing: 3px;
    padding: 15px 20px;
    margin: 20px auto;
    border: solid 2px #c9171e;
}

.table_cap table th,
.table_cap table td {
    display: block;
    width: 100%;
    text-align: center;
}

.table_cap table th {
    background: #c9171e;
    color: #fff;
    padding: 10px 20px 7px;
}

.table_cap table td {
    padding-top: 30px;
}

.table_cap td p {
    background: #fff;
    font-size: 1.6rem;
    font-weight: 500;
    letter-spacing: 1px;
    padding: 20px;
    margin: 0;
    border-top: solid thin #ccc;
}

.table_cap ul {
    display: inline-block;
    font-size: 1.6rem;
    font-weight: 500;
    list-style: disc;
    text-align: left;
    padding: 20px 30px;
    border-top: solid thin #ccc;
}

.cap_1 {
    background: #c9171e;
    font-size: 2rem;
    font-weight: bold;
    color: #fff;
    text-align: center;
    line-height: 1.3em;
    padding: 20px;
    margin: 30px 0 0;
    border-radius: 10px;
}

.document {
    text-align: center;
    padding: 20px;
    margin: 30px 0;
    color: #2e8b57;
    border: solid 2px #2e8b57;
    border-radius: 10px;
}

.document li {
    display: inline-block;
    font-weight: bold;
    margin: 7px 15px;
}

.document li::before {
    content: url(img/assets/document.svg);
    position: relative;
    top: 2px;
    margin-right: 5px;
}

/* contact */

.mfp_buttons [type="submit"] {
    color: #333;
    text-shadow: none;
}

/* fixed-background */

.cd_fixed_bg {
    position: relative;
    width: 100%;
    height: 400px;
    min-height: 100%;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-position: center;
}

.cd_fixed_bg.cd_bg_1 {
    background-image: url(img/maintenance/maintenanc_02.jpg);
}

.cd_fixed_bg.cd_bg_2 {
    background-image: url(img/maintenance/maintenanc_01.jpg);
}

/* pagetop */

.pagetop a {
    position: fixed;
    bottom: 15px;
    right: 20px;
    padding: 0;
    opacity: 0.8;
    z-index: 500;
}

.pagetop a:hover {
    opacity: 0.4;
    bottom: 25px;
    transition-duration: 0.3s;
}

.pagetop a img {
    width: 50px;
    height: 50px;
}

/* footer */

footer {
    background: #444;
    color: #fff;
}

.footer {
    width: 100%;
    max-width: 1024px;
    text-align: center;
    padding: 30px 20px;
    margin: auto;
}

.footer_title {
    font-size: 2rem;
}

.footer_link {
    text-align: center;
}

.footer_link a {
    color: #fff;
}

.footer_link a::before {
    display: inline-block;
    content: url(img/assets/arrow-right-s.svg);
    width: 20px;
}

.copyright {
    font-size: 1.4rem;
    text-align: center;
}

@media screen and (min-width: 1280px) {}

@media screen and (max-width: 1024px) {}

@media screen and (max-width: 768px) {
    .co_box {
        padding: 0;
    }
    
    .co_img {
        padding: 0;
        margin-bottom: 20px;
    }
}

@media screen and (max-width: 600px) {
    
    h2 {
        font-size: 2.4rem;
        margin: 30px 0;
    }
    
    h3 {
        font-size: 2rem;
    }
    
    #menu {
        display: none;
    }

    .slicknav_menu {
        display: block;
        z-index: 300;
    }

    .to_contact {
        margin-right: 45px;
    }

    .to_contact a {
        height: 46px;
    }

    .to_contact a::before {
        top: -25px;
        left: -15px;
        transform: rotate(-25deg);
    }
    
    .wrap {
        padding: 20px;
    }
}

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

    .header.container {
        padding-left: 5px;
    }

    .site_title {
        width: 100px;
        max-width: 140px;
    }

    .to_contact {
        position: relative;
        max-width: 200px;
        flex-basis: 140px;
    }

    .to_contact {
        font-size: 1.3rem;
    }

    .swiper-slide span {
        font-size: 2.4rem;
    }
    
    .division {
        padding: 20px 0;
    }

    .com_table th,
    .com_table td {
        display: block;
        text-align: center;
        padding: 10px 20px;
    }

    .com_table th {
        border-bottom: none;
    }

    .com_table th::after {
        top: auto;
        right: 10%;
        bottom: 0;
        width: 80%;
        height: 1px;
    }
    
    .flow li {
        margin: 10px auto 50px;
    }
    
    .flow li div::after {
        top: auto;
        left: 0;
        right: 0;
        bottom: -30px;
        transform: rotate(135deg);
        margin: auto;
    }
    
    .document {
        font-size: 1.6rem;
    }
    
    .contact_box h3 {
        font-size: 2.4rem;
        margin-bottom: 30px;
    }

}

@media screen and (max-width: 360px) {}
