@charset "utf-8";


* {
    list-style: none;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
    text-decoration: none;
    margin: 0;
    padding: 0;
}

*,
*:before,
*:after {
  box-sizing: border-box;
}


html {
    font-size: 100%;
}
body {
    color: #24292e;
    background-color: #ffffff;
    font-family: 'BIZ UDPGothic', sans-serif;
    letter-spacing: 2px;
}

a:link, a:visited, a:hover, a:active {
    color: #24292e;
    text-decoration: none;
    
}

a {
    margin: 0;
    padding: 0;
    font-size: 100%;
    vertical-align: baseline;
    background: transparent;
    text-decoration: none;
}

img {
    vertical-align: bottom;
    max-width: 100%;
    height: auto;
}

li {
    list-style: none;
}

.wrapper {
    max-width: 1050px;
    margin: 0 auto 150px auto;
    font-size: 0.9rem;
    padding: 0 4%;
}
.wrapper2 {
    max-width: 1050px;
    margin: 0 auto 50px auto;
    font-size: 0.9rem;
    padding: 0 6%;
}
.site-title {
    line-height: 1px;
}
.site-title a {
    display: block;
}


@media screen and (max-width: 640px) {
 .wrapper {
     margin-bottom: 0px;
     padding: 0 10%;
 }
 .wrapper2 {
    margin: 0 auto 20px auto;
 }
}


#header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #ffffff;
    height: 80px;
    margin: 0 auto;
    padding: 0 20%;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 10;      
}

#header ul {
    display: flex;
    padding: 10px 0;
}

.contact ul {
    display: flex;
    padding: 5px 0;
}
.contact li {
    font-size: 0.9rem;
    margin-left: 40px;
}
#header li a:hover {
    opacity: 0.7;
} 

.spmenu, .gnav {
    display: none;
}
@media screen and (max-width: 640px) {
    
    #header {
        max-width: 100%;
        height: 80px;
        padding: 4% 8%;
        display: flex;
        justify-content: space-between;
        background-color: #f3e5d4;
    }

    .rightmenu {
        display: none;
    }
    
    .spmenu {
        display: block;
    }

    .toggle {
        position: fixed;
        top: 2.1%;
        right: 9%;
        width: 49px;
        height: 49px;
        z-index: 11;
        background-color: #ded4b9;
      }

      .toggle span {
        display: block;
        position: absolute;
        width: 25px;
        border-bottom: 3px solid #493b0a;
        -webkit-transition: .3s ease-in-out;
        transition: .3s ease-in-out;
        left: 11px;
      }
      .toggle span:nth-child(1) {
        top: 13px;
      }
      .toggle span:nth-child(2) {
        top: 22px;
      }
      .toggle span:nth-child(3) {
        top: 31px;
      }
      .toggle.active span:nth-child(1) {
        top: 21px;
        left: 11px;
        -webkit-transform: rotate(-45deg);
                transform: rotate(-45deg);
      }
      .toggle.active span:nth-child(2),
      .toggle.active span:nth-child(3) {
        top: 21px;
        left: 11px;
        -webkit-transform: rotate(45deg);
                transform: rotate(45deg);
      }
      .gnav {
        display: block;  
        position: fixed;
        width: 100%;
        height: auto;
        background-color: #ffffff;        
        top: 5rem;
        left: 0;
        right: 0;
        padding: 1rem;
        opacity: 0;
        visibility: hidden;
        transition: opacity .5s, visibility .5s;
        z-index: 9;        
        
      }      

      nav ul {
        display: flex;
        flex-direction: column;
        text-align: center;
        margin-top: 20px;        
      }
      nav ul li {
        margin-right: 0;
        margin-bottom: 30px;
      }
      nav ul li a {
        color: #493b09;
      }

    .gnav.fade {
        visibility: visible;
        opacity: 0.9;
    }

}


#mainvisual {
    padding-top: 80px;
    margin-bottom: 100px;
}
#mainvisual img {
    width: 100%;
    max-width: 1920px;
    height: auto;
    object-fit: cover;
}
.mainimg {
    position: relative;
}

@media screen and (max-width: 640px) {
    #mainvisual {
         padding-top: 80px;
         margin-bottom: 20px;
    }
}    


.menuarea {
    position: absolute;
    top: 95%;
    right: 0;
}
.menuarea img {
    width: 100%;
    height: auto;
}

.menu {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: absolute;
    top: -1%;
    right: 0;
    margin-right: 10px;
}
.menu ul {
    display: flex;
}
.menu li {
    font-size: 1.1rem;    
    padding: 30px 30px 30px 25px;
}
.menu li a {
    color: #ffffff;
}
.menu li a:hover {
    opacity: 0.5;
}
.sptel {
    display: none;
} 
@media screen and (max-width: 640px) {
    .menuarea {
        display: none;
    }
    .sptel {
        display: block;
        position: relative;
        width: 90%;
        margin-bottom: 60px;
    }
    .spyoyaku {
        position: absolute;
        top: 12%;
        right: 5%; 
    }
}

#about {
    padding-top: 80px;
}
.about-flexall {
    display: flex;
    align-items: center;
    justify-content: space-between;
    
}
.about-logo {
    opacity: 0;
    transform : translate(0, 100px);
    transition : all 2s;
}
.about-logo.up {
    opacity : 1;
    transform : translate(0, 0);
}
.about-text {
    font-size: 1.1rem;
    text-align: justify;
    line-height: 2rem;
    padding-right: 30%;
    margin-top: 60px;
}
.about-right {
    width: 100%;
    height: auto;
    margin-top: 40px;
    opacity: 0;
    transform : translate(0, 100px);
    transition : all 2s;
}
.about-right.up {
    opacity : 1;
    transform : translate(0, 0);
}

.spabout {
    display: none;
}

@media screen and (max-width: 640px) {
    .about-flexall {
        display: none;
    }
    
    .about-logo {
        opacity: 1;
        transform : none;
        transition : none;
    }

    .spabout {
        display: block;
        margin: 0 auto;        
        text-align: center;
    }
    .spabout img {
        width: 80%;
        height: auto;
        margin-bottom: 40px;
    }
    .spabout-text {            
        text-align: justify;
        line-height: 1.8rem;
        margin-bottom: 90px;
    }
}


.background {
    width: 100%;
    height: auto;
    position: relative;
}

.annaititle img {
    position: absolute;
    top: 5%;      
    left: 0;
    right: 0;
    margin: 0 auto; 
    opacity: 0;
    transform : translate(0, 100px);
    transition : all 2s;  
}

.annaititle img.up {
    opacity : 1;
    transform : translate(0, 0);
}


    
    

.naiyouarea {
    display: flex;
    justify-content: center;
}
.naiyouarea ul {
    padding-left: 0;
    display: flex;
    justify-content: space-between;
    position: absolute;
    top: 20%;
}
.naiyouarea li {
    width: 100%;
    height: auto;
    padding: 10px;
    margin: 10px;
    opacity: 0;
    transform : translate(0, 100px);
    transition : all 2s;
}
.naiyouarea li.up {
    opacity : 1;
    transform : translate(0, 0);
}

.naiyouarea li:hover img {
    transform: scale(1.1, 1.1);
    transition: all 0.2s;
}

@media screen and (max-width: 640px) {
    
    
    .annaititle img {
        width: 40%;
        height: auto;
        position: absolute;
        top: 4%;
        opacity: 1;
        transform : none;
        transition : none;
    }

    .naiyouarea {
        display: block;
        justify-content: center;
        margin-bottom: 0;
    }
    .naiyouarea ul {
        display: block;
        margin: 0 auto;
        left: 0;
        right: 0;
        text-align: center;
        position: absolute;
        top: 13%;
        
    }
    .naiyouarea li {
        display: block;
        width: 75%;
        height: auto;
        margin: 0 auto 40px auto;
        opacity: 1;
        transform : none;
        transition : none;
    }
}


.annaimore {
    position: absolute;
    top: 80%;
    left: 73%;
    opacity: 0;
    transform : translate(0, 100px);
    transition : all 2s;
}
.annaimore.up {
    opacity : 1;
    transform : translate(0, 0);
}

.annaimore:hover{
    transform: translateX(10px);
    transition: all 0.2s;    
}
@media screen and (max-width: 640px) {
    .annaimore {
        position: absolute;
        top: 91%;
        left: 73%;
        opacity: 1;
        transform : none;
        transition : none;
    }
    .annaimore img {
        width: 80%;
        height: auto;
    }  
}

.news-flexall {
    display: flex;
    justify-content: space-between;    
    margin-top: 40px;
    padding: 0 4%;
    opacity: 0;
    transform : translate(0, 100px);
    transition : all 2s;
}
.news-flexall.up {
    opacity : 1;
    transform : translate(0, 0);
}

.newslogo {
    margin-top: 30px;
}

.about-right {
    margin-top: 50px;
}
.bar {
    display: flex;
    justify-content: flex-end;
    margin: 20px 0 20px 0;
}
.news-text {
    display: flex;
    padding-left: 35%;
}

.news-text a {
    text-decoration: underline;
}

.sp-news {
    display: none;
}

@media screen and (max-width: 640px) {
    
    .news-flexall {
        display: block;
        opacity: 1;
        transform : none;
        transition : none;
    }

    .newslogo {
        display: block;
        margin: 20px auto 0 auto;
        text-align: center;
    }
    .newslogo img {
        width: 60%;
        margin-bottom: 30px;
    }
    .about-right {
        display: none;
    }

    .sp-news {
        display: block;
        margin: 10px auto;
        left: 0;
        right: 0;
    }
    .spbar {
        margin: 20px 0 20px 0;
    }
    .sp-day a {
        text-decoration: underline;
    }
    .day {
        margin-bottom: 18px;
    }
    .sp-text {
        margin-left: 40px;
    }
}


.newsmore {
    display: flex;
    padding-left: 87%;
}
.newsmore:hover {
    transform: translateX(10px);
    transition: all 0.2s;
}
.spnewsmore {
    display: none;
}

@media screen and (max-width: 640px) {    
    .newsmore {
        display: none;
    }
    .spnewsmore {
        display: flex;
        padding-left: 73%;
    }
    .spnewsmore img {
        width: 80%;
        height: auto;
    }
}


#footer {
    background-color: #ded4b9;
    color: #ffffff;
    font-size:0.6rem;
    padding: 30px auto 0 auto;
    opacity: 0;
    transform : translate(0, 100px);
    transition : all 2s;
}
#footer.up {
    opacity : 1;
    transform : translate(0, 0);
}

.flex-all {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}
.time {
    width: 100%;
    height: auto;
    position: relative;
}

.footerlogo {
    position: absolute;
    top: 8%;
    left: 5%;
    width: 36%;
}
.yoyaku {
    position: absolute;
    top: 5%;
    right: 5%;
}
.yoyaku a:hover {
    opacity: 0.7;
} 
.map {
    width: 100%;
}
.map a:hover {
    opacity: 0.8;
}


.footmenuarea {
    margin: 20px auto 0 auto;
}
.footbar {
    text-align: center;
    position: relative;
}
.footmenu {
    position: absolute;
    top: 25%;
    left: 9%;    
}
.footmenu ul {
    display: flex;
    justify-content: space-between;
}
.footmenu li {
    margin-left: 30px;
}

.footmenu li a {
    color: #ffffff;
    font-size: 15px;
}
.footmenu li a:hover {
    opacity: 0.5;
} 
.copy p {
    text-align: center;
    padding-bottom: 50px;
}
.spfooter {
    display: none;
}
.spcopy {
    display: none;
}

@media screen and (max-width: 640px) {
    #footer {
        opacity: 1;
        transform : none;
        transition : none;
    }
    .flex-all, .footmenuarea {
        display: none;
    }
    .copy {
        display: none;
    }
    .spfooter {
        display: block;
    }
    .spfooterlogo {
        text-align: center;
    }
    .spfooterlogo img {
        width: 50%;
        height: auto;
        margin-top: 20px;
    }
    .sptime {
        width: 91%;
        height: auto;
        margin: 0 auto;
        left: 0;
        right: 0;
        position: relative;
    }
    .footeryoyaku {
        position: absolute;
        top: 3%;
        right: 10%;
    }
    .spfootermap {
        width: 80%;
        height: auto;
        margin: 0 auto 50px auto;
        left: 0;
        right: 0;
    }
    .spcopy {
        display: block;
        text-align: center;
        padding-bottom: 30px;
    } 
}
    