@charset "utf-8";
/* For layout */
body{
  background:#b5afa5;
  font-family: 'メイリオ', sans-serif;
	color: #555;
	font-size:1rem;
	line-height:1.85;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	-webkit-text-size-adjust: 100%; 
	word-wrap: break-word;
  letter-spacing: 0.2em;
}
body.appear{
    background:#f8f9fa;
}
ul{
	margin:0;
	padding: 0;
	list-style: none;
}
a{
	color: #555;
	text-decoration: none;
    outline: none;
}
img{
    width:100%;
    height: auto;
    vertical-align: bottom;
}
*{
    box-sizing: border-box
}

/* font-family */
h1,
#g-nav-list li:nth-child(1),
#service h2,
#about h2,
#news h2,
#footer dl dd,
#splash-logo{
    font-family:'Playball', cursive;
}

/* h2 section Title */
#service h2,
#news h2{
    font-size: 3rem;
    text-align: center;
    margin: 0;
    font-weight: normal;
    color: #b5afa5;
}
#about h2{
    font-size: 3rem;
    text-align: center;
    margin: 0 0 0 0;
    font-weight: normal;
    color: #b5afa5;
}
@media(min-width: 960px) {
#service h2,
#news h2{
    font-size: 4rem;
    margin: 0 0 0 0;
  }
#about h2{
    font-size: 4rem;
    margin: 0 0 0 0;
  }
}

/* main area*/
#container{
    overflow-x: hidden;
}
article #about{
    width:100%;
    margin-bottom:0;
    padding-bottom: 0;
}
.inner{
    width:100%;
    margin:0 auto;
    padding:23px 23px;
}
.inner2{
    width:100%;
    margin:0 auto;
    padding:0 23px;
}

@media(min-width: 960px) { 
.inner{
    padding:50px 45px;
}
.inner2{
    padding:0px 45px;
}
  }


/* splash */
#splash-logo p{
    font-size:1.8rem;
    font-weight: normal;
    white-space: nowrap;
}

/* top header */
.header-area{
    position: fixed;
    left:50%;
    top:50%;
    transform: translate(-50%,-50%);
    z-index: 2;
    color: #b5afa5;
    text-align: center;
}
.header-area h1{
    display: block;
    font-size: 4rem;
    font-weight: normal;
    line-height: 1;
    letter-spacing: 0;
    padding: 0 10px;
}
.header-area p{
    font-size: 0.8rem;
    whitewhite-space:no
}
.header-area p br{
    display: block;
}
@media(min-width: 960px) { 
.header-area h1{
    font-size:6vw;
}
.header-area p{
    font-size:1.3vw;
    letter-spacing: 0.4em;
    margin: 0 0 20px 0;
}
.header-area p br{
  display: none;
}
}

/* Global navigation */
#g-nav-list li:nth-of-type(1) a{
    font-size: 2rem;
    text-transform: none;
    font-weight: normal;
    line-height: 1;
    white-space: nowrap;
    margin: 0 0 20px 0;
}
#g-nav-list li:nth-of-type(2){
    animation-delay: .2s;
}
#g-nav-list li:nth-of-type(3){
    animation-delay: .4s;
}
#g-nav-list li:nth-of-type(4){
    animation-delay: .6s;
}
#g-nav-list li:nth-of-type(5){
    animation-delay: .8s;
}
#g-nav-list li:nth-of-type(6){
    animation-delay: 1.1s;
}
#g-nav-list li:nth-of-type(7){
    animation-delay: 1.3s;
}

/* contents lead */
#lead{
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
#lead .lead-img{
    width:100%;
    min-height: 300px;
    background:url("../img/lead.jpg") no-repeat left;
    background-size: cover;
}
#lead .lead-area{
    width:100%;
    }
#lead h2{
  font-family:'Playball', cursive;
}
@media(min-width: 960px) { 
#lead{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    flex-direction: row-reverse;
}
#lead .lead-img{
    width:50%;
    min-height: 300px;
    background:url("../img/lead.jpg") no-repeat left;
    background-size: cover;
}

#lead .lead-area{
    width:50%;
    text-align: center;
}
}

#lead .lead-area h2{
     font-size:1.3rem;   
    margin:0 0 10px 0;
}

#lead .lead-area dt{
     font-size:1.0rem;   
    margin:0 0 10px 0;
}

#lead .lead-area dd{
    font-size: 0.8rem;
    margin:0 0 30px 0;
}

/* service */
#service{
    padding: 70px 0;
}
#service section{
    background: #fff;
    margin: 0 0 10px 0;
}
#service section h3{
    font-size: 0.9rem;
    margin: 0 0 10px 0;
}
#service section p{
    font-size: 0.8rem;
}
#service .service-area{
    padding: 20px;
    box-shadow: 5px 0 10px #ccc;
}
#service .service-btn{
    text-align: center;
    margin: 50px 0 0 0;
}
#service img{
  object-fit: cover;
  object-position: 50% 50%;   
}

/* about contact */
#contact {
  display: flex;
  flex-direction: column;
  align-items: center;
}
#contact .contact-img{
    width:100%;
    min-height: 300px;
    background:url("../img/contact.jpg") no-repeat left;
    background-size: cover;
}
#contact .contact-area{
    width:100%;
    }
#contact .contact-area h2{
     font-size:1.3rem;   
    margin:0 0 10px 0;
}
#contact .contact-area dt{
    font-size:1.0rem;   
    padding:10px;
}
#contact .contact-area table{
    font-size:0.9rem;   
    padding:0;
    text-align: left;
    margin: 0px auto; 
}
#contact th {
font-weight: normal;
}
#contact .contact-area{
  margin: 0 auto;
  align-items: center;
}
#contact2 {
  text-align: center;
}

@media(min-width: 960px) { 
  #contact{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    flex-direction: row;
}
#contact .contact-img{
    width:30%;
    min-height: 300px;
    background:url("../img/contact.jpg") no-repeat left;
    background-size: cover;
}
#contact .contact-area{
    width:67%;
    text-align: left;
  }
  
}


/* news */
#news{
    margin:0 0 50px 0;
}

.news-area{
    display: flex;
    justify-content: space-between;
    text-align: center;
    flex-wrap: wrap;
    overflow: hidden;
}

.news-area article:nth-of-type(1){ 
    width:30%;
} 

.news-area .news-block{
    width:68%;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.news-area .news-block article{
     margin:0 0 3vh 0;   
}

.news-area .news-block article:nth-of-type(1){ 
    width:32%;
    animation-delay: 0.5s;
}
.news-area .news-block article:nth-of-type(2){ 
    width:32%;
    animation-delay: 1.5s;
}
.news-area .news-block article:nth-of-type(3){
    width:32%;
    animation-delay: 1s;
}

.news-area .news-block article:nth-of-type(4){ 
    width:32%;
    animation-delay: .8s;
}
.news-area .news-block article:nth-of-type(5){
    width:32%; 
    animation-delay: 1.8s;
}
.news-area .news-block article:nth-of-type(6){
    width:32%;
    animation-delay: 1.5s;
}

/*820px - 1300px*/
@media screen and (max-width:1300px) {
    .news-area .news-block article:nth-of-type(n+1){ 
        width:48%;
    }
}

/*768px - 820px */
@media screen and (max-width:820px) {
    .news-area article:nth-of-type(1){
        width:50%;
        margin:0 auto 3vh auto;
    }

    .news-area .news-block article:nth-of-type(1){
         margin: 0 0 3vh 0;
    }

    .news-area .news-block{
            width:100%;
    }
}

/*less than 768px*/
@media screen and (max-width:768px){
    .news-area .news-block article:nth-of-type(n+1){ 
        animation-delay: .5s;
    }

    .news-area article:nth-of-type(1){
        width:100%;
    }
}

@media screen and (max-width:450px){
.news-area .news-block article:nth-of-type(n+1) {
    width:100%;
    animation-delay: 0s!important;
    }
}


.news-area h3{
    font-size:1rem;
    margin: 0 0 20px 0;
}

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

  .news-area h3{
    font-size:0.9rem;
}
    
  .news-area p{
  display: none;
    }
}

.news-area time{
     font-size: 0.8rem;   
}

.news-area img{
    width: 100%;
    height:32vh; 
    object-fit: fill;
}

.news-area article:nth-of-type(1) img{
    height:67vh;
  object-position: center; /*オリジナルimg下に余裕あるので、上にピタッとつける*/
  display: block; /*レイアウト自由になる*/
   text-align: center;
  width: 100%;
    object-fit: fill;
}

.news-area .news-block article:nth-of-type(1) img{
   width: 100%;
    height:32vh; 
  text-align: center;
    object-fit: fill;
}

@media screen and (max-width:820px) {
.news-area article:nth-of-type(1) img{
  height:34vh;
    text-align: center;
  width: 100%;
    object-fit: cover;
  object-position: 0% 0%;
} 
.news-area .news-block article:nth-of-type(1) img{
      width: 100%;
    height:32vh;
    display: block;
    margin-left: auto;
    margin-right: auto;
  }
}
  
@media screen and (max-width:450px){
.news-area img,
.news-area .news-block article:nth-of-type(1) img{
    width:100%;
    height:auto;
}
}

.news-area figure time{
    position: absolute;
    bottom:0;
    left:0;
    background:rgba(181,175,165,0.8);
    display: block;
    width:100%;
    padding: 10px;
    color: #fff;
}

.news-area p{
     margin:0 0 20px 0; 
    text-align: left;
    font-size: 0.9rem;
}

.news-area span{
     border:1px solid rgba(255,255,255,0.7);
    display: inline-block;
    padding:5px 10px;
    text-align: center;
    font-size: 0.8rem;
    white-space: nowrap;
}

/* footer */

#footer{
    border-top: 1px solid #ccc;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}

#footer dl{
     width:30%;   
}

#footer dl dt{
    font-size: 0.8rem;
}

#footer dl dd{
    font-size: 2rem;
}

@media screen and (max-width:900px) {
    #footer dl{
        margin: 50px 0;
    }
}

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

#footer dl dd{
    font-size: 1.5rem;
}
    
}

#footer .footer-list{
     width:65%; 
    text-align: right;
}

#footer ul li{
    display: inline-block;
    padding: 0 10px;
    font-size: 0.8rem;
    line-height: 3;
}

#footer small{
    text-align: right;
    margin: 20px 0 0 0;
    display: block;
    width: 100%;
    font-size: 0.7rem;
}

#footer #page-top span{
    display: inline-block;
  width: 13px;
  height: 13px;
  border-top: 4px solid #fff;
  border-left: 4px solid #fff;
  transform: rotate(45deg);
}


@media screen and (max-width:900px){
#footer dl,
#footer .footer-list,
#footer small{
    width:100%;
    text-align: center;
}
    
}
