﻿@import url("https://fonts.googleapis.com/earlyaccess/notosansjapanese.css");

body {
    font-family: "Noto Sans Japanese", -apple-system, BlinkMacSystemFont, YuGothic,
        "Yu Gothic", Roboto, "Segoe UI", "Helvetica Neue", HelveticaNeue, Verdana,
        Meiryo, sans-serif;
}

@media screen and (min-width: 1240px) {
    body {
        min-width: 1190px;
    }
    header {
        width: 100%;
        margin: 0 auto;
        top: 0;
        left: 0;
        position: relative;
        background: #fff;
        padding: 22px 0;
    }

    header .logo {
        float: left;
    }

    header img {
        vertical-align: bottom;
    }

    header .inner {
        width: 980px;
        margin: 0 auto;
    }

    header .h_lead {
        padding-top: 25px;
        float: right;
    }

    #nav {
        clear: both;
        background: #414141;
        box-shadow: 0px 5px 5px rgba(0, 0, 0, 0.2);
        position: relative;
        z-index: 10;
        height: 65px;
        box-sizing: border-box;
    }

    #nav .inner {
        max-width: 1236px;
        margin: 0 auto;
        display: flex;
        justify-content: space-between;
    }

    #nav .nav_btn {
        padding-top: 12px;
    }

    #nav .nav_btn a:hover img {
        transition: 0.3s;
        transform: translateY(-2px);
    }

    #nav .nav_btn a img {
        display: inline-block;
        margin-right: 16px;
        width: 160px;
    }

    #nav .nav_btn a img.last_btn {
        margin-right: 0 !important;
    }

    #nav ul {
        font-size: 0;
        width: auto;
        padding-top: 20px;
    }

    #nav ul li {
        text-align: center;
        vertical-align: bottom;
        display: inline-block;
        position: relative;
        padding-right: 17px;
        padding-left: 5px;
    }

    #nav ul li span {
        display: block;
    }

    #nav ul li:after {
        background: url("../img/common/nav_border.png") no-repeat;
        display: inline-block;
        content: "";
        width: 12px;
        height: 18px;
        position: absolute;
        right: 0;
        top: 0;
    }

    #nav ul li:last-child {
        border-right: none;
    }

    #nav ul li:last-child:after {
        content: none;
    }

    #nav ul li a {
        display: block;
        color: #fff;
        text-align: center;
        font-size: 1.5rem;
        line-height: 100%;
        transition: ease all 0.3s;
        text-decoration: none;
        font-weight: bold;
    }

    #nav ul li a:hover {
        opacity: 0.8;
    }

    #nav ul li.h_contact {
        background: #006220;
        height: 130px;
        width: 130px;
        padding-top: 23px;
        box-sizing: border-box;
    }

    #nav ul li.h_contact img {
        display: block;
        margin: 0 auto 10px;
    }

    #nav ul li.h_contact a {
        color: #fff;
    }

    .ft_bnr {
        background: #787878;
        padding: 45px 0 30px;
    }

    .ft_bnr ul {
        text-align: center;
        font-size: 0;
    }

    .ft_bnr ul li {
        display: inline-block;
        margin: 0 9px 18px;
    }

    #footer {
        background: #fff;
        padding: 0px 0 30px;
        color: #333;
    }

    #footer .inner {
        max-width: 980px;
        margin: 0 auto;
    }

    #footer .ft_lead {
        float: left;
        font-size: 14px;
        line-height: 160%;
    }

    #footer img {
        float: right;
        padding-bottom: 15px;
    }

    #footer #copyright {
        clear: both;
        text-align: right;
        font-size: 14px;
    }

    #contents {
        background: #F9F8F5;
        padding-bottom: 60px;
    }

    .mv.under {
        height: 390px;
        margin-bottom: 70px;
    }

    .mv.under h2 {
        position: absolute;
        width: 100%;
        left: 0;
        top: 50%;
        color: #fff;
        text-align: center;
        font-size: 5.6rem;
        line-height: 100%;
        margin-top: -45px;
        font-weight: bold;
    }

    .mv.under h2 span {
        display: block;
        font-size: 3rem;
        font-family: "Libre Franklin", sans-serif;
    }

    .ft_cta {
        background: #414141;
        padding: 50px 0;
    }

    .ft_cta ul {
        text-align: center;
    }

    .ft_cta li {
        display: inline-block;
        margin: 0 5px;
        width: 278px;
    }
    .ft_cta li img {
        width: 100%;
        margin-top: 10px;
        display: block;
    }
    .ft_cta li span {
        font-size: 1.6rem;
        font-weight: bold;
        color: #fff;
    }

    .ft_cta li a:hover img {
        transition: 0.3s;
        transform: translateY(-2px);
    }

    .form+.ft_cta {
        padding: 20px 0;
    }

    .link_btn a {
        background: url("../../img/common/icon_link.png") no-repeat left 5px;
        text-decoration: none;
        color: #000;
        padding-left: 25px;
    }

    .link_btn a:hover {
        text-decoration: underline;
    }

    .basic_ttl {
        background: #969694;
        color: #fff;
        font-size: 16px;
        border-left: 7px solid #e77024;
        padding: 10px 18px;
        max-width: 980px;
        width: 96%;
        margin: 0 auto 24px;
        box-sizing: border-box;
    }

    .to-top {
        margin: 0 auto;
        padding: 30px 0;
        max-width: 980px;
        width: 96%;
        font-size: 0.7em;
        text-align: right;
    }

    .to-top a {
        padding: 0 0 0 20px;
        color: #414141;
        font-size: 13px;
        background-size: 14px 14px;
        display: inline-block;
        text-decoration: none;
    }

    .to-top a:before {
        content: "▲";
        color: #e77024;
        font-size: 12px;
    }

    .sp {
        display: none !important;
    }
}

@media screen and (min-width: 769px) and (max-width: 1239px) {
    body {
        width: 100%;
        min-width: 1190px;
    }
    header {
        max-width: 100%;
        margin: 0 auto;
        top: 0;
        left: 0;
        position: relative;
        background: #fff;
        padding: 22px 0;
    }

    header .logo {
        float: left;
    }

    header img {
        vertical-align: bottom;
    }

    header .inner {
        max-width: 100%;
        margin: 0 auto;
    }

    header .h_lead {
        padding-top: 25px;
        float: right;
    }

    #nav {
        clear: both;
        background: #414141;
        padding: 9px 0;
        box-shadow: 0px 5px 5px rgba(0, 0, 0, 0.2);
        position: relative;
        z-index: 10;
    }

    #nav .inner {
        max-width: 980px;
        margin: 0 auto;
    }

    #nav .nav_btn {
        float: right;
        margin-top: 20px;
        margin-bottom: 10px;
    }

    #nav .nav_btn a:hover img {
        transition: 0.3s;
        transform: translateY(-2px);
    }

    #nav .nav_btn a img {
        display: inline-block;
        margin-right: 16px;
        width: 160px;
    }

    #nav .nav_btn a img.last_btn {
        margin-right: 0 !important;
    }

    #nav ul {
        font-size: 0;
        max-width: 100%;
        padding-top: 10px;
    }

    #nav ul li {
        text-align: center;
        vertical-align: bottom;
        display: inline-block;
        position: relative;
        padding-right: 17px;
        padding-left: 5px;
    }

    #nav ul li span {
        display: block;
    }

    #nav ul li:after {
        background: url("../img/common/nav_border.png") no-repeat;
        display: inline-block;
        content: "";
        width: 12px;
        height: 18px;
        position: absolute;
        right: 0;
        top: 0;
    }

    #nav ul li:last-child {
        border-right: none;
    }

    #nav ul li:last-child:after {
        content: none;
    }

    #nav ul li a {
        display: block;
        color: #fff;
        text-align: center;
        font-size: 1.5rem;
        line-height: 100%;
        transition: ease all 0.3s;
        text-decoration: none;
        font-weight: bold;
    }

    #nav ul li a:hover {
        opacity: 0.8;
    }

    #nav ul li.h_contact {
        background: #006220;
        height: 130px;
        width: 130px;
        padding-top: 23px;
        box-sizing: border-box;
    }

    #nav ul li.h_contact img {
        display: block;
        margin: 0 auto 10px;
    }

    #nav ul li.h_contact a {
        color: #fff;
    }

    .ft_bnr {
        background: #787878;
        padding: 45px 0 30px;
    }

    .ft_bnr ul {
        text-align: center;
        font-size: 0;
    }

    .ft_bnr ul li {
        display: inline-block;
        margin: 0 9px 18px;
    }

    #footer {
        background: #fff;
        padding: 0px 0 30px;
        color: #333;
    }

    #footer .inner {
        max-width: 980px;
        margin: 0 auto;
    }

    #footer .ft_lead {
        float: left;
        font-size: 14px;
        line-height: 160%;
    }

    #footer img {
        float: right;
        padding-bottom: 15px;
    }

    #footer #copyright {
        clear: both;
        text-align: right;
        font-size: 14px;
    }

    #contents {
        background: #FFF;
        padding-bottom: 111px;
    }

    .mv.under {
        height: 390px;
        margin-bottom: 70px;
    }

    .mv.under h2 {
        position: absolute;
        width: 100%;
        left: 0;
        top: 50%;
        color: #fff;
        text-align: center;
        font-size: 5.6rem;
        line-height: 100%;
        margin-top: -45px;
        font-weight: bold;
    }

    .mv.under h2 span {
        display: block;
        font-size: 3rem;
        font-family: "Libre Franklin", sans-serif;
    }

    .ft_cta {
        background: #414141;
        padding: 50px 0;
    }

    .ft_cta ul {
        text-align: center;
    }

    .ft_cta li {
        display: inline-block;
        margin: 0 5px;
        width: 278px;
    }
    .ft_cta li img {
        width: 100%;
        margin-top: 10px;
        display: block;
    }
    .ft_cta li span {
        font-size: 1.6rem;
        font-weight: bold;
        color: #fff;
    }

    .ft_cta li a:hover img {
        transition: 0.3s;
        transform: translateY(-2px);
    }

    .form+.ft_cta {
        padding: 20px 0;
    }

    .link_btn a {
        background: url("../img/common/icon_link.png") no-repeat left 5px;
        text-decoration: none;
        color: #000;
        padding-left: 25px;
    }

    .link_btn a:hover {
        text-decoration: underline;
    }

    .basic_ttl {
        background: #969694;
        color: #fff;
        font-size: 16px;
        border-left: 7px solid #e77024;
        padding: 10px 18px;
        max-width: 980px;
        width: 96% !important;
        margin: 0 auto 24px;
        box-sizing: border-box;
    }

    .to-top {
        margin: 0 auto;
        padding: 30px 0;
        max-width: 980px;
        width: 96%;
        font-size: 0.7em;
        text-align: right;
    }

    .to-top a {
        padding: 0 0 0 20px;
        color: #414141;
        font-size: 13px;
        background-size: 14px 14px;
        display: inline-block;
        text-decoration: none;
    }

    .to-top a:before {
        content: "▲";
        color: #e77024;
        font-size: 12px;
    }

    .sp {
        display: none !important;
    }
}
