@charset "utf-8";
@import url(//use.fontawesome.com/releases/v5.0.11/css/all.css);

/*--------------------------------------------
	 BASE
--------------------------------------------*/
/* ---- MOUSE OVER STYLE ---- */
.over {
    transition: 0.3s;
}

@media screen and (min-width : 768px) {
    .over:hover {
        opacity: 0.6;
    }
}

.ios .over:hover,
.ios .over:active,
.ios .over:link,
.ios .over:visited,
.ios .over::focus {
    opacity: 1;
}

.cf:after {
    content: "";
    clear: both;
    display: block;
    height: 0;
}

:root .cf::after {
    /* IE9 */
    content: "" \9;
    clear: both\9;
    display: block\9;
    height: 0\9;
}


@media screen and (min-width : 768px) {
    .for_sp {
        display: none;
    }
}

*,
*:before,
*:after {
    box-sizing: border-box;
}

body,
html {
    font-family: "Sawarabi Gothic", sans-serif;
    font-family: 'Noto Sans JP', sans-serif;
}

body {
    width: 100%;
    min-width: 1250px;
    height: auto;
    color: #333333;
    font-size: 16px;
    line-height: 1.5;
    background: #fff;
    box-sizing: border-box;
    font-weight: 400;
}

a {
    text-decoration: none;
    color: #333333;
    display: inline-block;
    transition: 0.4s;
}

img {
    max-width: 100%;
}

@media screen and (min-width : 768px) {
    a:hover {
        color: #333333;
        text-decoration: none;
    }
}

table {
    width: 100%;
}

.ofi {
    height: 100%;
    object-fit: cover;
    font-family: 'object-fit: cover;'
}

/*--------------------------------------------
	HEADER
--------------------------------------------*/
header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    min-width: 1200px;
}

header .header_inner {
    padding: 0 5%;
    display: flex;
    justify-content: space-between;

}

header .header_logo {
    /*width: 15%;*/
    width: 40%;
    padding-top: 10px;
}

header.fixed .header_logo {
    width: 15%;
}

header .header_logo .logo_wrap {
    display: flex;
    align-items: center;
}

header .header_logo .logo_wrap .logo_ttl {
    min-width: 188px;
    margin-right: 1em;
}

header .header_logo .logo_wrap .h_ttl {
    font-size: 13px;
    font-weight: 400;
    max-width: 230px;
}

header.fixed .header_logo .logo_wrap .h_ttl {
    display: none;
}

header .header_right {
    width: 85%;
}

header .header_right .httl {
    text-align: right;
    font-size: 13px;
}

header.fixed .header_right .httl {
    display: none;
}

header .header_right .httl h1 {
    font-weight: 400;
}

header .header_logo .logo_ttl {
    opacity: 0;
    transition: 0.4s linear;
}

header.fixed .header_logo .logo_ttl {
    opacity: 1;
}

header .header_logo .logo_ttl img {
    width: 150px;
}

header .header_links {
    display: flex;
    justify-content: flex-end;
}

header .header_links .link {
    display: inline-block;
    color: #fff;
    font-weight: bold;
    background: #00A6BF;
    border-radius: 0 0 10px 10px;
    width: 146px;
    line-height: 1;
    padding: 10px 0;
    text-align: center;
    margin-left: 5px;
}

header .header_links .link i {
    margin-right: 5px;
}

header .header_links .link_contact {
    overflow: hidden;
    position: relative;
    z-index: 1;
}

header .header_links .link_contact:after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: #fff;
    border: solid 1px #00A6BF;
    transition: 0.4s;
    z-index: -1;
    border-radius: 0 0 10px 10px;
    opacity: 0;
    transform: scale(0, 1);
    transform-origin: center left;
}

header .header_navi {
    margin-top: 30px;
    transition: 0.4s linear;
}

header .header_navi ul {
    display: flex;
    justify-content: flex-end;
}

header .header_navi ul li {
    margin-right: 50px;
    text-align: center;
}

header .header_navi ul li:last-child {
    margin-right: 20px;
}

header .header_navi li a {
    font-family: 'Kosugi Maru', sans-serif;
    font-size: 16px;
    font-weight: bold;
    display: block;
}

header .header_navi ul li span {
    font-size: 13px;
    font-weight: bold;
    display: block;
    color: #00A6BF;
    font-family: "Sawarabi Gothic", sans-serif;
}

/*dropdown*/
header .header_navi .drop {
    position: relative;
    cursor: pointer;
}

header .header_navi .drop .drop_navi {
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.4s;
    position: absolute;
    left: -48px;
    width: 160px;
    padding-top: 15px;
}



header .header_navi .drop .drop_navi ul li {
    margin-right: 0;
    margin-bottom: 20px;
}

header .header_navi .drop .drop_navi ul li:last-child {
    margin-bottom: 0;
}

header .header_navi .drop .drop_navi ul li a {
    font-size: 14px;
}

header .header_navi .drop .drop_navi ul li a span {
    font-size: 11px;
}

header .header_navi .drop:hover .drop_navi {
    visibility: visible;
    opacity: 1;

}

/*hover*/
@media only screen and (min-width:768px) {
    header .header_navi li:hover a {
        color: #00A6BF;
    }

    header .header_navi li:hover .drop_navi ul li a {
        color: #333;
    }

    header .header_navi .drop .drop_navi ul li a:hover {
        color: #00a6bf;
    }

    header .header_links .link_contact:hover:after {
        transform: scale(1, 1);
        opacity: 1;
    }
}

/*追従*/
header.fixed {
    position: fixed;
    background: rgba(255, 255, 255, 0.7);
    ;
    box-shadow: 0px 1px 10px 0px rgba(0, 0, 0, 0.1);
}

header.fixed .header_inner {
    padding-bottom: 15px;
}

header.fixed .header_navi {
    margin-top: 15px;
}

header.fixed .header_right {
    display: flex;
    flex-direction: row-reverse;
}

header.fixed .header_logo h1 {
    opacity: 1;
}

header.fixed .header_navi .drop .drop_navi ul {
    box-shadow: 0px 2px 3px 1px rgba(0, 0, 0, 0.1);
}

@media only screen and (max-width:1300px) {
    header.fixed .header_navi ul li {
        margin-right: 35px;
    }

    header.fixed .header_navi ul li:last-child {
        margin-right: 35px;
    }
}

header.fixed .header_navi li a {
    font-size: 14px;
}



/*--------------------------------------------
	FOOTER
--------------------------------------------*/
footer {
    background: url(../Image/common/footer_bg.png) no-repeat bottom center;
    background-size: cover;
    padding-left: 20px;
    padding-right: 20px;
    overflow: hidden;
}

footer .footer_inner {
    padding: 70px 0 30px;
    display: flex;
    justify-content: space-between;
}

footer .footer_inner .name {
    font-size: 20px;
    font-weight: bold;
}

footer .footer_inner .address,
footer .footer_inner .tel {
    font-size: 16px;
    font-style: normal;
    margin-top: 18px;
}

footer .footer_inner .tel {
    display: inline-block;
    margin-right: 30px;
}

footer .footer_navi ul {
    display: flex;

}

footer .footer_navi ul li {
    margin-right: 40px;
}

footer .footer_navi ul li:last-child {
    margin-right: 0;
}

footer .footer_navi ul li a {
    font-size: 14px;
}

footer .footer_logo {
    text-align: right;
    margin-top: 26px;
}

footer .copyright {
    text-align: right;
    font-size: 13px;
    margin-top: 27px;
}

/*hover*/
@media only screen and (min-width:768px) {
    footer .footer_navi ul li a:hover {
        opacity: 0.7;
    }
}

.totop {
    position: fixed;
    width: 50px;
    height: 50px;
    border-radius: 10px;
    right: 2%;
    bottom: 5%;
    background: #004dd3;
    border: solid 1px #004dd3;
    text-align: center;
    transition: .4s linear;
    opacity: 0;
    z-index: 200;
    color: #fff;
    cursor: pointer;
}

.totop.visible {
    opacity: 1;
}

.totop i {
    font-size: 30px;
    line-height: 60px;
    color: #fff;
}

@media only screen and (min-width:768px) {
    .totop:hover {
        background: #fff;
    }

    .totop:hover:before {
        color: #004dd3;
    }
}

.totop:before {
    width: 100%;
    height: 100%;
    display: block;
    content: "\f106";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: #fff;
    line-height: 50px;
    font-size: 25px;
}



header .header_navi .drop .drop_navi {
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.4s;
    position: absolute;
    left: -48px;
    width: 200px;
    padding-top: 15px;
}

header .header_navi .drop .drop_navi ul {
    display: block;
    padding: 10px;
    background: #dcf4ff;
}

@media only screen and (min-width:768px) {
    header .header_navi .drop .drop_navi ul li a:hover {
        color: #00a6bf;
    }
}