﻿@charset "utf-8";
/* CSS Document */
/*---- global ----*/
body {
    font-size: 15px;
    font-weight: 300;
    line-height: 1.6;
    color: black;
    margin: 0;
    padding: 0;
    position: relative;
}
body * {
    font-family: YakuHanJP, 'Noto Sans JP', sans-serif;
    font-weight: 400;
    box-sizing: border-box;
}
a {
    display: block;
    text-decoration: none !important;
}
a, a:link {
    text-decoration: underline;
}
a:hover {
    text-decoration: none;
}
p {
    line-height: 1.6;
    margin: auto;
    /* text-align: justify; */
}
header div, nav ul, section .inner, #home #content03 > div, #links ul, #function #local_nav, div.open div, #function p.close {
    width: calc(100% - 30px);
    max-width: 1000px;
    margin: auto;
    position: relative;
}
#links.index ul {
    max-width: 800px;
}
/*----- 各サイズでの表示 -----*/
.pc {
    display: inherit;
}
.tab {
    display: none;
}
.sp {
    display: none;
}
.pc_tab {
    display: inherit;
}
/*----header nav footer----*/
header {
    background: #608fbe;
    padding: 0 20px;
}
header div {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
header h1 {
    max-width: 684px;
    padding: 40px 0;
}
header h1 img {
    width: 100%;
}
header h2 {
    max-width: 160px;
}
header h2 a img {
    width: 100%;
    height: auto;
}
header h2 a img:hover {
    background: none;
    width: 100%;
    height: auto;
}
nav.sitelink {
    border-bottom: 4px solid #004894;
    padding-top: 40px;
    display: flex;
    justify-content: center;
}
#links nav.sitelink {
    border: none;
    margin-bottom: 30px;
}
nav.sitelink a {
    text-decoration: none;
    width: 250px;
    margin: 0 2px;
}
nav.sitelink a {
    display: block;
    background: #cbcbcb;
    color: white;
    text-align: center;
    font-weight: 600;
    padding: 15px 0 !important;
    font-size: large;
}
nav a.active {
    background: #004894;
}
#links {
    padding: 50px 20px;
    margin-bottom: 40px;
    text-align: center;
}
#links a#contact_link {
    border: solid 2px #ccc;
    display: inline-flex;
    margin: auto;
    padding: 14px 40px;
    font-size: 22px;
    font-weight: 500;
    color: #333;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    line-height: 1;
    position:relative;
}
#links a#contact_link span{
  width: 0.8em;
  height: 0.8em;
  border-right:solid 3px #004894;
  border-bottom:solid 3px #004894;
  transform:rotate(-45deg);
  position:absolute;
  right:4%;
  top:calc(50% - 0.4em);
}
#links ul {
    margin: 40px auto 20px;
    max-width: 1000px;
}
#links ul li a {
    padding: 20px 0 !important;
}
#links dl {
    max-width: 1000px;
    font-size: 13px;
    font-weight: 500;
    margin: auto;
    line-height: 1.4;
    position: relative;
}
#links.index dl {
    text-align: justify;
    position: relative;
}
#links dl dt {
    padding-left: 1em;
    text-indent: -1em;
    margin-bottom: 4px;
}
#links dl dt.pmark {
    width: 90px;
    height: 90px;
    margin: 0;
    padding: 0;
    position: absolute;
    right: 3%;
    bottom: 0;
    text-indent: 0;
}
footer {
    text-align: center;
    padding: 20px 0;
    background: black;
    color: #FFFFFF;
    font-size: x-small;
}
footer > h2 {
    margin-bottom: 10px;
}
footer img {
    width: 202px;
}
footer p {
    font-family: Hiragino Sans, "ヒラギノ角ゴシック", Hiragino Kaku Gothic ProN, "ヒラギノ角ゴ ProN W3", Meiryo, "メイリオ", Verdana, sans-serif;
}
body > section, div.outer > section {
    margin-top: 0;
    margin-bottom: 0;
}
p.open, p.close {
    display: none;
}
#page_top a:before {
    background: rgba(0, 0, 0, 0.3); /*ページトップボタン・メニューボタン　背景色*/
}
#page_top a:hover:before {
    background: #004894; /*ページトップボタン・メニューボタン　背景色（ロールオーバー）*/
}
#page_top {
    position: fixed;
    bottom: 30px;
    right: 40px;
    display: block;
    z-index: 100;
}
#page_top a {
    display: inline-block;
    padding: 0 0 0 16px;
    color: #000;
    vertical-align: middle;
    text-decoration: none;
}
#page_top a:before, #page_top a:after {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    margin: auto;
    content: "";
    vertical-align: middle;
}
#page_top a:before {
    width: 44px;
    height: 44px;
}
#page_top a:after {
    left: 13px;
    top: -4px;
    box-sizing: border-box;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 9px 15.6px 9px;
    border-color: transparent transparent #ffffff transparent;
}
@media screen and (min-width: 640px) {
    nav.sitelink a:not(active):hover {
        background: #6d9bcc;
    }
    #links a#contact_link:hover,
    #links dl dt.pmark:hover{
        opacity:0.7;
    }
    #links a#contact_link:hover span{
        right:3%;
    }
}
@media only screen and (max-width: 1000px) {
    .pc {
        /* display: none; */
    }
    .sp {
        display: none;
    }
    header h1 {
        max-width: 68vw;
        padding: 30px 0;
    }
    header h1 img.pc {
        display: block;
    }
    header h2 {
        max-width: 16vw;
    }
    nav.sitelink {
        padding-top: 4vw;
    }
    #links nav.sitelink {
        margin-bottom: 3vw;
    }
    nav.sitelink a {
        width: 25vw;
    }
    nav.sitelink a {
        padding: 1.5vw 0 !important;
        font-size: 1.8vw
    }
    #links {
        padding: 5vw 2vw;
        margin-bottom: 4vw;
        text-align: center;
    }
    #links h2 {
        padding: 1vw 2vw;
        font-size: 2.3vw;
    }
    #links ul {
        margin: 4vw auto 2vw;
    }
    #links dl {
        font-size: 1.2vw;
        padding-right: 10vw
    }
    #links dl dt {
        margin-bottom: 4px;
    }
    #links dl dt.pmark {
        width: 9vw;
        height: 9vw;
    }
    footer {
        padding: 2vw 0;
        ;
    }
    footer > h2 {
        margin-bottom: 1vw;
    }
    footer img {
        width: 20vw;
    }
    footer p {
        font-family: Hiragino Sans, "ヒラギノ角ゴシック", Hiragino Kaku Gothic ProN, "ヒラギノ角ゴ ProN W3", Meiryo, "メイリオ", Verdana, sans-serif;
        font-size: 1.4vw
    }
}
@media only screen and (max-width: 767px) {
    .pc {
        display: none;
    }
    .tab {
        display: none;
    }
    .sp {
        display: inherit;
    }
    .pc_tab {
        display: none;
    }
    body {
        font-size: 14px;
    }
    header {
        padding-top: 15px 0;
    }
    header div {
        margin: 0;
        width: 100%;
    }
    header h1 {
        max-width: 70vw;
        margin: 0 auto;
        padding: 10vw 0px 8vw;
    }
    header h1 img.pc {
        display: none;
    }
    header h2 {
        position: absolute;
        max-width: 70px;
        top: 0vw;
        right: 0;
        /* display: none; */
    }
    nav {
        padding-top: 9vw;
        /* background: #608fbe; */
    }
    nav.sitelink {
        padding: 8vw 2vw 0;
        justify-content: space-between;
    }
    #links nav.sitelink {
        padding: 8vw 0 8vw;
        margin-bottom: 8vw;
        justify-content: space-between;
    }
    nav.sitelink a {
        width: 30vw;
    }
    nav.sitelink a {
        padding: 2vw 0 !important;
        font-size: 3.4vw;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        line-height: 1.1;
        margin: 0;
        width: 33%;
    }
    #links a#contact_link {
        width:100%;
        padding: 2vw 0;
        font-size: 5vw;
        line-height: 1.4;
        position:relative
    }
    #links a#contact_link span{
        right:5%;
    }
    #links {
        padding: 5vw;
        margin-bottom: 4vw;
        text-align: center;
    }
    #links h2 {
        padding: 2vw 2vw;
        font-size: 4vw;
        width: 100%;
        justify-content: center;
    }
    #links dl {
        font-size: 2.7vw;
        padding-right: 0;
    }
    #links dl dt {
        margin-bottom: 4px;
    }
    #links dl dt:nth-child(4), #links dl dt:nth-child(5) {
        padding-right: 24vw
    }
    #links dl dt.pmark {
        width: 20vw;
        height: 20vw;
        padding: 0;
        right: 0;
        overflow: hidden;
        text-indent: 0;
    }
    #links dl dt.pmark img {
        width: 100%;
        position: static;
        text-indent: 0;
    }
    footer {
        padding: 4vw 0;
    }
    footer > h2 {
        margin-bottom: 1vw;
    }
    footer img {
        width: 40vw;
    }
    footer p {
        font-size: 2.6vw;
    }
}