@charset "UTF-8";

* {
    margin: 0;
    padding: 0;
}

/* フォント */
@font-face {
    font-family: Zen_Old_Mincho;
    src: url(../font/Zen_Old_Mincho/);
}

/* ヘッダーここから */
header {
    position: fixed;
    top: 0;
    display: flex;
    width: 92%;
    padding: 2% 4%;
    z-index: 3;
}

header .h1-box {
    display: flex;
    padding: 2% ;
}

h1 {
    width: 5%;
}

h1 img {
    width: 100%;
    vertical-align: top;
}

.h1-box p {
    margin-left: 1.5%;
    font-size: 3.5vw;
    font-family: Zen_Old_Mincho;
    font-weight: 500;
    line-height: 1;
}

/*  ナビここから */
header nav {
    width: 72%;
    margin-left: auto;
}

header nav ul {
    display: flex;
    list-style-type: none;
}

header nav ul li {
    width: calc( 100% / 6 );
}

header nav ul li a {
    display: block;
    text-align: center;
    text-decoration: none;
    line-height: 2.5;
    font-family: Zen_Old_Mincho;
    font-weight: 500;
    color: #202020;
    border-bottom: 1px  transparent;
    transition: 0.5s;
    border-radius: 1px;
    font-size: 1.8vw;
}

header nav ul li a:hover {
    border-bottom: 1px solid #776c59;   
    transition: 0.5s;
}
/* ナビここまで */
/* ヘッダーここまで */

/* メインここから */
h2 {
    margin-top: 12%;
    padding: 2% 6%;
    font-size: 8vw;
    font-family: Zen_Old_Mincho;
    font-weight: 400;
    color: #202020;
    line-height:1.8;
    background-image: url(../images/footer_contact_bg.jpg);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-position: center center;
}

.housing-flex {
    width: 90%;
    margin-right: auto;
    margin-left: auto;
}

.housing h3 {
    margin-top: 10%;
    margin-left: 6%;
    padding-top: 1%;
    font-size: 6vw;
    font-family: Zen_Old_Mincho;
    font-weight: 500;
    color: #202020;
    line-height: 1;
    text-align: center;
}

.title-flex p:nth-of-type(1) {
    text-align: center;
    font-size: 4vw;
    color: #202020;
    line-height: 1.3;
    text-shadow: 0px 0px 0px #fff;
}

.housing h4 {
    margin-top: 10%;
    padding-top: 30%;
    text-align: center;
    font-size: 5vw;
    font-family: Zen_Old_Mincho;
    font-weight: 400;
    color: #fff;
    line-height: 1;
    text-shadow: 4px 4px 5px #202020;
}

.housing p {
    padding: 1%;
    display: block;
    font-size: 4vw;
    color: #fff;
    text-align: center;
    text-shadow: 4px 4px 5px #202020;
}

.housing p span {
    margin-left: 3%;
}

.image-box1 {
    width: 100%;
    height: 60vw;
    margin: 1%;
    background-image: url(../images/img1.jpg);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-position: center center;
    transition: 0.5s;
}

.image-box1:hover {
   background-size: 110% 110%;
   transition: 0.5s;
}

.image-box2 {
    width: 100%;
    height: 60vw;
    margin: 1%;
    background-image: url(../images/img2.jpg);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-position: center center;
    transition: 0.5s;
}

.image-box2:hover {
   background-size: 110% 110%;
   transition: 0.5s;
}

.image-box3 {
    width: 100%;
    height: 60vw;
    margin: 1%;
    background-image: url(../images/img3.jpg);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-position: center center;
    transition: 0.5s;
}

.image-box3:hover {
   background-size: 110% 110%;
   transition: 0.5s;
}

.image-box4 {
    width: 100%;
    height: 60vw;
    margin: 1%;
    background-image: url(../images/img4.jpg);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-position: center center;
    transition: 0.5s;
}

.image-box4:hover {
   background-size: 110% 110%;
   transition: 0.5s;
}

.image-box5 {
    width: 100%;
    height: 60vw;
    margin: 1%;
    background-image: url(../images/img5.jpg);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-position: center center;
    transition: 0.5s;
}

.image-box5:hover {
   background-size: 110% 110%;
   transition: 0.5s;
}

.image-box6 {
    width: 100%;
    height: 60vw;
    margin: 1%;
    background-image: url(../images/img6.jpg);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-position: center center;
    transition: 0.5s;
}

.image-box6:hover {
   background-size: 110% 110%;
   transition: 0.5s;
}
.image-box7 {
    width: 100%;
    height: 60vw;
    margin: 1%;
    background-image: url(../images/img7.jpg);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-position: center center;
    transition: 0.5s;
}

.image-box7:hover {
   background-size: 110% 110%;
   transition: 0.5s;
}

.image-box8 {
    width: 100%;
    height: 60vw;
    margin: 1%;
    background-image: url(../images/img8.jpg);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-position: center center;
    transition: 0.5s;
}

.image-box8:hover {
   background-size: 110% 110%;
   transition: 0.5s;
}

.facility-flex {
    width: 90%;
    margin-right: auto;
    margin-left: auto;
}

.title-flex2 h3 {
    margin-top: 18%;
    margin-left: 6%;
    padding-top: 1%;
    font-size: 6vw;
    font-family: Zen_Old_Mincho;
    font-weight: 500;
    color: #202020;
    line-height: 1;
    text-align: center;
}

.title-flex2 p:nth-of-type(1) {
    font-size: 4vw;
    color: #202020;
    line-height: 1.7;
    text-shadow: 0px 0px 0px #fff;
    text-align: center;
}

.facility-flex h4 {
    margin-top: 10%;
    padding-top: 30%;
    text-align: center;
    font-size: 5vw;
    font-family: Zen_Old_Mincho;
    font-weight: 400;
    color: #fff;
    line-height: 1;
    text-shadow: 4px 4px 5px #202020;
}

.facility-flex p {
    padding: 1%;
    display: block;
    font-size: 4vw;
    color: #fff;
    text-align: center;
    text-shadow: 4px 4px 5px #202020;
}

.image-box9 p span {
    margin-left: 3%;
}

.image-box9 {
    width: 100%;
    height: 60vw;
    margin: 1%;
    background-image: url(../images/img9.jpg);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-position: center center;
    transition: 0.5s;
}

.image-box9:hover {
   background-size: 110% 110%;
   transition: 0.5s;
}

.image-box10 {
    width: 100%;
    height: 60vw;
    margin: 1%;
    background-image: url(../images/img10.jpg);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-position: center center;
    transition: 0.5s;
}

.image-box10:hover {
   background-size: 110% 110%;
   transition: 0.5s;
}

/* フッターここから */
footer {
    background-image: url(../images/background.jpg);
    background-size: 100% 100%;
    background-repeat: no-repeat;
    height: 40vw;
    margin-top: 12%;
    padding-top: 5%;
    padding-bottom: 1%;
    padding-left: 6%;
    color: whitesmoke;
}

.footer-flexbox {
    display: flex;
    width: 100%;
}

.footer-box1 {
    width: 50%;
}

.footer-box2 {
    width: 25%;
}

.footer-box3 {
    width: 25%;
}

h4 {
    margin-bottom: 2%;
    font-size: 4vw;
    color:  whitesmoke;
}

.footer p {
    font-size: 3vw;
    letter-spacing: 0.1em; 
}

footer ul {
    width: 50%;
    list-style-type: none;
}

footer ul li {
    width: 50%;
    list-style-type: none;
}

footer ul li:nth-of-type(2) {
    width: 10%;
}

footer ul li a {
    text-decoration: none;
    color: whitesmoke;
    font-size: 3vw;
    font-optical-sizing: auto;
    line-height: 2;
}

.fa-brands {
    margin-top: 5%;
    margin-left: auto;
    margin-right: auto;
    letter-spacing: 2em;
    font-size: 3vw;
}

.privacypolicy p {
    margin-top: 3%;
    margin-left: auto;
    margin-right: auto;
    font-size: 2vw;
}

address {
    width: 100%;
    margin-top: 4%;
    margin-right: auto;
    font-style: normal;
    font-size: 2.3vw;
    letter-spacing: 0.1em;
}

footer span {
    margin-right: 1%;
}

.copy {
    margin-top: 2%;
    text-align: right;
    font-size: 2.5vw;
}
/* フッターここまで */

/* トップへ戻る */
#page_top {
    width: 50px;
    height: 50px;
    position: fixed;
    right: 0;
    bottom: 0;
    background: #2c4242;
    opacity: 0.6;
    border-radius: 50%;
}

#page_top a {
    position: relative;
    display: block;
    width: 50px;
    height: 50px;
    text-decoration: none;
}

#page_top a::before{
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    content: '\f106';
    font-size: 25px;
    color: #fdfdfd;
    position: absolute;
    width: 25px;
    height: 25px;
    top: -5px;
    bottom: 0;
    right: 0;
    left: 0;
    margin: auto;
    text-align: center;
}
