@charset "UTF-8";

/*
Theme Name : WEBSITE
Author: CLOVER GRAPHIC
Description: corporate website
Version: 1.0
*/

body {
    padding-top: 75px;
    font-size: 16px;
    font-weight: 400;
    font-family: Noto Sans CJK JP, Noto Sans JP, sans-serif;
    line-height: 2.1;
    letter-spacing: 0.12em;
    color: rgb(45, 45, 45);
}

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

    body {
        padding-top: 60px;
    }

}

/*==============================================================
nav
==============================================================*/
nav {
    width: 100%;
    margin: 0;
    background-color: #fff;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 9000;
}
nav > p.test {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 0 10px;
    color: red;
    border: red 3px double;
}

nav>div>a {
    margin: 15px 20px;
    line-height: 1;
    float: left;
}

nav>div>a>img {
    width: auto;
    height: 45px;
}

nav>div>div {
    float: right;
}

nav>div>div>a {
    display: block;
    float: left;
}

nav>div>div>a:nth-child(1),
nav>div>div>a:nth-child(2) {
    padding: 9px 0;
    margin-right: 25px;
    margin-top: 10px;
    border-radius: 80px;
    cursor: default;
}

nav>div>div>a:nth-child(1),

nav>div>div>a:nth-child(1)>img,
nav>div>div>a:nth-child(2)>img {
    width: auto;
    height: 39px;
}

nav>div>div>a:nth-child(3) {
    width: 75px;
    height: 75px;
    padding: 21px;
    border-right: 1px solid #fff;
    text-align: center;
    background-color: rgba(60, 90, 200, 1.0);
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    -o-box-sizing: border-box;
    box-sizing: border-box;
}

nav>div>div>a:nth-child(3):hover {
    background-color: rgba(60, 90, 200, 0.7);
}

#toggle_btn {
    width: 120px;
    height: 75px;
    text-align: center;
    line-height: 1;
    background-color: rgba(60, 90, 200, 1.0);
    float: right;
    position: relative;
}

#toggle_btn>span {
    width: 40px;
    height: 2px;
    margin-left: -20px;
    background-color: rgb(212, 224, 247);
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transition-duration: 0.3s;
    -moz-transition-duration: 0.3s;
    -ms-transition-duration: 0.3s;
    -o-transition-duration: 0.3s;
    transition-duration: 0.3s;
}

#toggle_btn>span:nth-child(1) {
    -webkit-transform: translateY(-10px);
    -moz-transform: translateY(-10px);
    -ms-transform: translateY(-10px);
    -o-transform: translateY(-10px);
    transform: translateY(-10px);
}

#toggle_btn>span:nth-child(3) {
    -webkit-transform: translateY(10px);
    -moz-transform: translateY(10px);
    -ms-transform: translateY(10px);
    -o-transform: translateY(10px);
    transform: translateY(10px);
}

#toggle_btn.on>span:nth-child(1) {
    transform: rotate(45deg);
}

#toggle_btn.on>span:nth-child(2) {
    width: 0;
}

#toggle_btn.on>span:nth-child(3) {
    transform: rotate(-45deg);
}

#toggle_menu {
    width: 100%;
    height: 100%;
    border-top: 1px solid #fff;
    background-color: rgba(255, 255, 255, 0.75);
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    -o-box-sizing: border-box;
    box-sizing: border-box;
    position: fixed;
    top: 75px;
    left: 0;
    z-index: 8500;
    display: none;
}

#toggle_menu>ul {
    width: 100%;
    max-width: 420px;
    height: 100%;
    padding-top: 60px;
    line-height: 1;
    background-color: rgb(60, 90, 200);
    float: right;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    -o-box-sizing: border-box;
    box-sizing: border-box;
}

#toggle_menu>ul>li {
    margin-bottom: 40px;
    text-align: center
}

#toggle_menu>ul>li>a {
    padding: 0 5px;
    font-size: 22px;
    font-weight: 500;
    letter-spacing: 1px;
    color: #fff;
    display: inline-block;
    position: relative;
}

#toggle_menu>ul>li>a:before,
#toggle_menu>ul>li>a:after {
    content: "";
    width: 0;
    height: 15px;
    background-color: rgba(255, 255, 255, 0.5);
    display: block;
    position: absolute;
    bottom: -6px;
    -webkit-transition-duration: 0.3s;
    -moz-transition-duration: 0.3s;
    -ms-transition-duration: 0.3s;
    -o-transition-duration: 0.3s;
    transition-duration: 0.3s;
}

#toggle_menu>ul>li>a:before {
    left: 0;
}

#toggle_menu>ul>li>a:after {
    right: 0;
}

#toggle_menu>ul>li>a:hover:before,
#toggle_menu>ul>li>a:hover:after {
    width: 50%;
}

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

    #toggle_btn {
        width: 75px;
    }

}

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

    nav {
        line-height: 1;
    }

    nav>div>a {
        margin: 10px 15px;
    }

    nav>div>a>img {
        height: 40px;
    }

    nav>div>div>a:nth-child(1),
    nav>div>div>a:nth-child(2) {
        padding: 0;
        margin-right: 14px;
        margin-top: 14px;
        line-height: 1;
    }

    nav>div>div>a:nth-child(1)>img,
    nav>div>div>a:nth-child(2)>img {
        height: 35px;
    }

    nav>div>div>a:nth-child(3) {
        width: 60px;
        height: 60px;
        padding: 14px 15px 15px 15px;
    }

    #toggle_btn {
        width: 60px;
        height: 60px;
    }

    #toggle_menu {
        top: 60px;
    }

    #toggle_menu>ul {
        width: 100%;
        max-width: 300px;
    }

    #toggle_menu>ul>li>a {
        font-size: 18px;
    }

}

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

    nav>div>a {
        margin: 14px 0 12px 10px;
    }

    nav>div>a>img {
        height: 34px;
    }

    nav>div>div>a:nth-child(1),
    nav>div>div>a:nth-child(2) {
        display: none;
    }

    #toggle_menu>ul {
        max-width: 100%;
    }

    #toggle_menu>ul>li>a {
        font-size: 21px;
    }

}

/*==============================================================
footer
==============================================================*/
footer {
    padding: 75px 0 50px;
    background-color: rgb(245, 248, 251);
}

footer>div {
    width: 90%;
    max-width: 1280px;
    margin: 0 auto;
}

footer>div>ul.banner {
    margin-bottom: 45px;
    line-height: 1;
}

footer>div>ul.banner>li {
    width: 18%;
    border: 1px solid rgb(210, 210, 210);
    margin-right: 2.5%;
    margin-bottom: 25px;
    float: left;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    -o-box-sizing: border-box;
    box-sizing: border-box;
}

footer>div>ul.banner>li:nth-child(5n) {
    margin-right: 0;
}

footer>div>ul.banner>li>a:hover {
    opacity: 0.7;
}

footer>div>div.info {
    margin-bottom: 45px;
}

footer>div>div.info>div {
    margin-right: 35px;
    float: left;
}

footer>div>div.info>div>h2 {
    margin-bottom: 3px;
    font-size: 18px;
}

footer>div>div.info>div>p {
    line-height: 1.8;
}

footer>div>div.info>div>p>a {
    color: rgb(60, 180, 150);
    text-decoration: underline;
}

footer>div>div.info>div>p>a:hover {
    text-decoration: none;
}

footer>div>div.info>div.mark>img {
    width: 50px;
    height: auto;
    margin-right: 15px;
    vertical-align: top;
}

footer>div>ul.nav {
    line-height: 1;
}

footer>div>ul.nav>li {
    margin: 10px 15px 10px 0;
    display: inline-block;
}

footer>div>ul.nav>li>a {
    padding-left: 25px;
    text-decoration: underline;
    background-image: url(img/footer_icon.png);
    background-repeat: no-repeat;
    background-position: left center;
    background-size: 18px;
}

footer>div>ul.nav>li>a:hover {
    text-decoration: none;
}

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

    footer>div>ul.banner>li {
        width: 17.2%;
        margin-right: 3.5%;
    }

    footer>div>ul.banner>li:nth-child(5n) {
        margin-right: 0;
    }

    footer>div>div.info>div.mark>img {
        width: 45px;
        margin-right: 10px;
    }

}

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

    footer {
        padding: 70px 0;
    }

    footer>div>ul.banner {
        margin-bottom: 30px;
    }

    footer>div>ul.banner>li {
        width: 18.2%;
        margin-right: 2.25%;
        margin-bottom: 18px;
    }

    footer>div>div.info {
        margin-bottom: 30px;
    }

}

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

    footer {
        padding: 90px 0;
    }

    footer>div>ul.banner>li,
    footer>div>ul.banner>li:nth-child(5n) {
        width: 48%;
        margin-right: 4%;
        margin-bottom: 15px;
    }

    footer>div>ul.banner>li:nth-child(2n) {
        margin-right: 0;
    }

    footer>div>div.info {
        width: 100%;
        margin-bottom: 45px;
    }

    footer>div>div.info>div {
        margin-right: 0;
        margin-bottom: 25px;
        float: none;
    }

    footer>div>div.info>div.mark {
        margin-top: 45px;
        margin-bottom: 0;
        margin-right: 0;
        text-align: center;
    }

    footer>div>div.info>div.mark>img {
        margin: 0 10px;
    }

    footer>div>div.info>div>h2 {
        text-align: center;
    }

    footer>div>div.info>div>p {
        text-align: center;
    }

    footer>div>ul.nav {
        text-align: center;
    }

    footer>div>ul.nav>li {
        margin: 0;
        margin-bottom: 25px;
        display: block;
    }

    footer>div>ul.nav>li:last-child {
        margin-bottom: 0;
    }

}

/*==============================================================
copyright
==============================================================*/
small {
    width: 100%;
    padding: 36px 0;
    text-align: center;
    line-height: 1;
    color: #fff;
    background-color: rgb(60, 90, 200);
    display: block;
}

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

    small {
        padding: 33px 0;
    }

}

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

    small {
        padding: 30px 0;
    }

}

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

    small {
        padding: 25px 0;
        margin-bottom: 56px;
    }

}

/*==============================================================
トップにスクロール
==============================================================*/
#goup {
    width: 50px;
    height: 50px;
    background-image: url(img/scroll.gif);
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center center;
    display: block;
    position: fixed;
    bottom: 0;
    right: 0;
    z-index: 9999;
}

#goup:hover {
    background-image: url(img/scroll_on.gif);
}

/*==============================================================
モバイル用電話をかける
==============================================================*/
#mb_call {
    width: 100%;
    border-top: 1px solid rgba(255, 255, 255, 0.4);
    line-height: 1;
    background-color: rgb(60, 90, 200);
    position: fixed;
    left: 0;
    bottom: 0;
    z-index: 9000;
    display: none;
}

#mb_call>a {
    width: 50%;
    padding: 15px 0;
    line-height: 1;
    text-align: center;
    display: block;
    float: left;
    box-sizing: border-box;
    position: relative;
}

#mb_call>a:first-child:after {
    content: "";
    width: 1px;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.4);
    display: block;
    position: absolute;
    top: 0;
    right: 0;
}

#mb_call>a:last-child:after {
    content: "";
    width: 1px;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.2);
    display: block;
    position: absolute;
    top: 0;
    left: 0;
}

#mb_call>a>img {
    width: auto;
    height: 26px;
}

/*==============================================================
下層ページ共通
==============================================================*/
#page_content {
    width: 90%;
    max-width: 1080px;
    margin: 150px auto 180px;
}

#page_title {
    padding: 50px 0;
    border-top: 1px solid #fff;
    background-color: rgb(60, 90, 200);
}

#page_title>h1 {
    width: 90%;
    max-width: 1080px;
    margin: 0 auto;
    font-size: 18px;
    line-height: 1;
    text-align: center;
    color: #fff;
}

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

    #page_content {
        margin: 90px auto 120px;
    }

}

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

    #page_content {
        margin: 75px auto 90px;
    }

    #page_title {
        padding: 40px 0;
    }

    #page_title>h1 {
        font-size: 18px;
    }

}

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

    #page_content {
        margin: 75px auto 90px;
    }

}

/*==============================================================
追従バナー
==============================================================*/
.panel_banner {
    position: fixed;
    z-index: 9999;
    right: 0;
    bottom: 60px;
    bottom: 56px;
}

.panel_banner_pc {
    width: 75px;
}

.panel_banner_sp {
    display: none;
}

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

.panel_banner_pc {
    display: none;
}

.panel_banner_sp {
    display: block; 
    width: 100vw; 
}

}