@charset "UTF-8";

*{
    margin: 0;
    padding: 0;
}

@font-face {
    font-family: robot;
    src: url(../fs/RobotoMono-ExtraLight.ttf);
}

@font-face {
    font-family: noto;
    src: url(../fs/Noto_Sans_JP/static/NotoSansJP-Regular.ttf);
}

h1 {
    font-size: 2.5vw;
    text-shadow: 1px 1px 2px;
}

h2 {
    font-size: 2.8vw;
    font-family: robot;
    color: #202020;
}

h3 {
    font-size: 1.2vw;
    font-family: noto;
    color: #202020;
}

h4 {
    font-size: 2vw;
    font-family: noto;
    color: #202020;
}

p {
    font-size: 1.5vw;
    line-height: 1.6;
    font-family: noto;
    color: #202020;
}

a {
    line-height: 1.6;
    text-decoration: none;
    text-align: center;
    font-family: noto;
    color: #202020;
}

ul {
    list-style-type: none;
}

li {
    font-family: noto;
    text-align: center;
    font-size: 1.5vw;
}

html {
    scroll-behavior: smooth;
}
/* ヘッダーここから */
header:nth-of-type(2) {
    display: none;
}

header {
    display: flex;
    width: 100%;
    height: 8vw;
    padding-top: 2.5vw;
}

header .header-imgbox {
    width: 7%;
    margin-left: 4%;
    margin-right: 2%;
    
}

header .header-imgbox img {
    width: 100%;
    border-radius: 50%;
    border: 4px solid rgb(174, 138, 138);
    vertical-align: bottom;
    box-shadow: 2px 2px 3.5px rgb(163, 163, 163);
}

header .h1-box {
    width: 20%;
    margin-top: 1vw;
    margin-right: 10%;
}

header h1 a {
    font-family: noto;
}

header nav {
    width: 70%;
    margin-right: auto;
    padding-top: 2vw;
    padding-bottom: 3vw;
}

header nav ul {
    display: flex;
}

header nav ul li {
    width: fit-content;
    margin-left: 2.5%;
    box-shadow: 1px 1px 2px rgb(163, 163, 163);
    background-color: rgb(220, 220, 220);
}

header nav ul li a {
    display: block;
    padding-top: .3vw;
    padding-left: 1.5vw;
    padding-right: 1.5vw;
    padding-bottom: .3vw;
    line-height: 1.2;
    font-family: noto;
}

.li-hover {
    position: relative;
}

.li-hover p {
    display: block;
    padding-top: .3vw;
    padding-left: 1.5vw;
    padding-right: 1.5vw;
    padding-bottom: .3vw;
    line-height: 1.2;
    font-family: noto;
}

.li-hover:hover ul {
    height: 70vh;
    transition: 1s;
}

.li-hover ul {
    position: absolute;
    top: 3;
    left: 0;
    height: 0;
    overflow: hidden;
    transition: .4s;
    z-index: 1000;
}

.li-hover ul {
    display: block;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.li-hover ul li {
    width: 96%;
}

.li-hover ul li a {
    margin-top: .5vw;
    padding-left: 0;
    padding-right: 0;
    font-size: 1.2vw;
    background-color: rgb(220, 220, 220);
}
/* ヘッダーここまで */

/* newsここから */
.news-box {
    display: flex;
    width: 90%;
    margin-top: 3vw;
    margin-left: auto;
    margin-right: auto;
    padding-top: 5vw;
    padding-bottom: 5vw;
}

.news-box .news-title {
    width: 20%;
    margin-left: auto;
    margin-right: auto;
}

.news-box .news-title h2 {
    display: block;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    padding: .5vw 2.5vw;
    text-align: center;
    background-color: rgb(239, 239, 239);
}

.news-box .news-title h3 {
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    margin-top: 1vw;
    padding: .5vw 2vw;
    text-align: center;
    background-color: rgb(239, 239, 239);
}
/* news一覧ここから */
.news-lineup {
    width: 50%;
    margin-top: 5vw;
    margin-left: auto;
    margin-right: auto;
    border-bottom: 1.5px solid black;
}

.news-lineup a {
    display: block;
    width: 95%;
    margin-left: auto;
    margin-right: auto;
    padding-bottom: .5vw;
    text-align: left;
}

/* CONTACTここから */
section:nth-of-type(2) {
    width: 100%;
    margin-top: 5vw;
    background-color: rgb(239, 239, 239);
}

.contact-box {
    display: flex;
    width: 80%;
    padding-top: 5vw;
    padding-bottom: 3vw;
    margin-left: auto;
    margin-right: auto;
}

.contact-img1 {
    width: 10%;
    margin-left: 17%;
}

.contact-img1 img {
    width: 100%;
    border-radius: 50%;
    border: 1px solid black;
    vertical-align: bottom;
}

.contact-img2 {
    width: 10%;
    margin-right: 17%;
}

.contact-img2 img {
    width: 100%;
    border-radius: 50%;
    border: 1px solid black;
    vertical-align: bottom;
}

.contact-box .contact-center {
    width: 30%;
    margin-left: 8%;
    margin-right: 8%;
}

.contact-box .contact-center p {
    text-align: center;
}

.contact-box .contact-center .contact-center-a {
    width: 50%;
    margin-top: 2vw;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 2vw;
    border: 2px solid black;
    border-radius: 15px;
    background-color: white;
    box-shadow: 1px 1px 2px rgb(163, 163, 163);
}

.contact-box .contact-center .contact-center-a a {
    display: block;
    text-align: center;
    font-size: 1.2vw;
}
/* CONTACTここまで */

/* フッターここから */
footer:nth-of-type(2) {
    display: none;
}

footer {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

footer .footer-box1 {
    display: flex;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-top: 3vw;
}

footer .footer-box1 .footer-imgbox {
    width: 7%;
    height: 3.5%;
    margin-left: 6.5%;
    margin-right: 2%;
}

footer .footer-imgbox img {
    width: 100%;
    border-radius: 50%;
    border: 4px solid rgb(174, 138, 138);
    vertical-align: bottom;
    box-shadow: 1px 1px 2px rgb(163, 163, 163);
}

footer .footer-h4 {
    width: 20%;
    padding-top: 2.6vw;
    text-shadow: 1px 1px 2px;
}

/* ソーシャルアイコンここから */
.social-box {
    display: flex;
    width: 20%;
    margin-left: 40%;
    margin-right: auto;
    padding-top: 1.8vw;
}

.footer-box1 a:nth-of-type(1) {
    width: 25%;
    font-size: 3vw;
    color: black;
}

.footer-box1 a:nth-of-type(2) {
    width: 25%;
    margin-left: auto;  
    font-size: 2.8vw;
    line-height: 1.6;
    color: blue;
}

.footer-box1 a:nth-of-type(3) {
    width: 25%;
    margin-left: 7%;
    margin-right: auto;
    font-size: 3vw;
    color: red;
}
/* ソーシャルアイコンここまで */
/* footer2段目ここから */
.footer-box2 {
    width: 80%;
    margin-top: 2vw;
    margin-left: auto;
    margin-right: auto;
}

.footer-box2 ul {
    display: flex;
    width: 65%;
    margin-left: auto;
    margin-right: auto;
}

.footer-box2 ul li {
    box-shadow: 1px 1px 2px rgb(163, 163, 163);
}

footer .footer-box2 ul li:nth-of-type(1) a {
    display: block;
    padding-left: 1vw;
    padding-right: 1vw;
    background-color: rgb(239, 239, 239);
}

footer .footer-box2 ul li:nth-of-type(2) a {
    display: block;
    padding-left: 1vw;
    padding-right: 1vw;
    background-color: rgb(239, 239, 239);

}

footer .footer-box2 ul li:nth-of-type(3) a {
    display: block;
    padding-left: 1vw;
    padding-right: 1vw;
    background-color: rgb(239, 239, 239);

}

footer .footer-box2 ul li:nth-of-type(4) a {
    display: block;
    padding-left: 1vw;
    padding-right: 1vw;
    background-color: rgb(239, 239, 239);
}

footer .footer-box2 ul li:nth-of-type(5) a {
    display: block;
    padding-left: 1vw;
    padding-right: 1vw;
    background-color: rgb(239, 239, 239);
}

footer .footer-box2 ul li:nth-of-type(6) a {
    display: block;
    padding-left: 1vw;
    padding-right: 1vw;
    background-color: rgb(239, 239, 239);
}

footer .footer-box2 ul p {
    display: block;
    margin-left: 1%;
    margin-right: 1%;
    font-size: 2vw;
    line-height: .9;
}

/* footer3段目ここから */
.footer-box3 {
    width: 100%;
    margin-top: 2vw;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 3vw;
}

.footer-box3 ul {
    display: flex;
    width: 30%;
    margin-left: auto;
    margin-right: auto;
}

footer .footer-box3 ul li a {
    display: block;
    font-size: 1vw;
    box-shadow: 1px 1px 2px rgb(163, 163, 163);
}

footer .footer-box3 ul li:nth-of-type(1) a {
    width: 4vw;
    padding-left: 1vw;
    padding-right: 1vw;
    background-color: rgb(239, 239, 239);
}

footer .footer-box3 ul li:nth-of-type(2) a {
    width: 4vw;
    padding-left: 1vw;
    padding-right: 1vw;
    background-color: rgb(239, 239, 239);
}

footer .footer-box3 ul li:nth-of-type(3) a {
    display: block;
    width: 11vw;
    padding-left: 1vw;
    padding-right: 1vw;
    background-color: rgb(239, 239, 239);
}

footer .footer-box3 ul p {
    display: block;
    margin-left: 1%;
    margin-right: 1%;
    font-size: 1.5vw;
    line-height: .9;
}
/* footer3段目ここまで */
footer p {
    width: 80%;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}
/* footer下部イメージここから */
.footer-ill {
    display: flex;
    width: 100%;
}

.footer-ill img {
    width: 50%;
    vertical-align: bottom;
}
/* footer下部イメージここまで */
/* フッターここまで */