@charset "utf-8";

/*CSS index.html*/
/*リセット*/
html{
  font-size: 100%;
}

body {
  font-family: "Yu Gothic Medium","游ゴシックMedium",YuGothic,"游ゴシック体","ヒラギノ角ゴ Pro W3",sans-serif;
  line-height: 1.7;
  color: #848384;
  margin: 0;
  padding: 0;
  background-color: #fff;
}

a{
  color: #8d8c8e;
  text-decoration: none;
}

a:hover{
  color: #8b8a8a;
  text-decoration: underline;
}
h3 a{
  font-family: 'Newsreader', serif; 
  color: #3e3d3d;
  text-decoration: none;
}

h3 a:hover{
  text-decoration: none;
  color: #3e3d3d;
  pointer-events: none;
}

img{
  max-width: 100%;
}

ul{
  list-style: none;
}

/*HEADER*/
header{
  width: 100%;
  height: 100px;
  margin: 0 outo;
}

.logo{
  width: 220px;
  margin-top: 15px;
}

.main-nav{
  display: flex;
  font-size: 1rem;
  text-transform: uppercase;
  margin-top: 37px;
  list-style: none;
}

.main-nav li{
  margin-left: 36px;
  font-family： 'ニュースリーダー',セリフ;
}

.page-header{
  display: flex;
  justify-content: space-between;
}

.wrapper{
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 4%;
}

/*home*/
.home-contents{
  text-align: center;
  margin-top: 12%;
  margin-bottom: 0;
}

.page-title{
  font-size: 4rem;
  font-family: 'Newsreader', serif;
  text-transform: uppercase;
  font-weight: normal;
  margin-bottom: 55px;
}

.home-contents p{
  font-size: 1.125rem;
  margin: 10px 0 42px;

}

.button{
  font-size: 1.375rem;
  background: #9caad4;
  color: #fff;
  border-radius: 10px;

  padding: 18px 32px;
  font-family: 'Newsreader', serif;


}

.button:hover {
  background: #eae8f5;
  text-decoration: none;
}

#meru {
  margin-top: 50px;
  margin-bottom: 30px;

}

#meru .button{
  font-size: 1.1rem;
  padding: 18px 29px;
}

.big-bg{
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
}




#home{
  background-image: url(../img/create-top-ajisai-mininami.com.jpg);
  background-repeat: no-repeat;
  min-height: 110vh;
  
  }



/*about.html 2ページ目*/
#about{
  background-image: url(../img/header-second-back.jpg);
  height: 300px;
  margin-bottom: 40px;
}

#about .wrapper{
  margin:0 auto;
}

#about .page-title{
  text-align: center;
  margin: 0 auto;
}

#about .home-contents p{
  text-align: center;
  margin: 0px 0 30px 0;
  font-size: 1.125rem;
}

.about-contents{
  margin-bottom: 30px;
}

.about-contents p{
  padding: 8px 12px;
  text-align: justify;
}

/* 記事部分*/
article{
  max-width: 1100px;
  margin: 0 auto;
  margin-top: 0px;
  padding:  20px 0;
}

section{
  max-width: 1100px;
  margin: 0 auto;
  margin-top: 50px;
  padding-bottom: 50px;
}

h3{
  font-family: 'Newsreader', serif;
  font-size: 24px;
  margin-top: 60px;
  max-width: 1100px;
}

.icon:before{
  content: "";
  padding-right: 10px;
  border-left: 7px solid #96a5d4;
}

/*flex-container*/
.flex-container{
  padding-bottom: 10px;
  margin-bottom: 10px;
}

ul.flex-container1 {
  display: flex;
  flex-wrap: wrap;
  margin: 0 0 0px;
  justify-content: center;
}

ul.flex-container1 li {
  background: #eff1f8;
  border-radius: 5px;
  width: 310px;
  height: 480px;
  text-align: center;
  margin: 0  8px  10px 5px;
  padding:  85px 20px 25px;
}

/*portfolio.html 3ページ目*/
#portfolio{
  background-image: url(../img/header-second-back.jpg);
  height: 300px;
  margin-bottom: 40px;
}

#portfolio .wrapper{
  margin:0 auto;
}

#portfolio .page-title{
  text-align: center;
  margin: 0 auto;
}

#portfolio .home-contents p{
  text-align: center;
  margin: 0px 0 30px 0;
  font-size: 1.125rem;
}

.karamu-contents{
  display: flex;
  justify-content: space-between;
  margin-bottom: 90px;
}

article{
  width: 75%;
  padding-top: 0;
  padding-bottom: 10px;
}

asaid{
  width: 20%;
}

.sub-title{
  font-size: 1.1rem;
  padding: 0  8px 8px;
  border-bottom: 2px #96a5d4 solid;
  font-weight: normal;
  margin: 50px  0px 0px;
  font-family: 'Newsreader', serif;
}

.sub-menu {
  margin-bottom: 60px;
  list-style-type: none;
  padding-left: 0px;
}

.sub-menu li{
  border-bottom: 1px #d6d6d6 solid;
  padding: 10px 10px;
}

.sub-menu a{
  clear: #636364;
  display: block;
  padding: 10px;
}

.sub-menu a:hover{
  clear: rgba(192, 203, 247, 0.96);
}

.web-img img{
  width: 100%;
}

.web-img img a:hover{
  opacity: 7;
}

/*web.html webdesign 3ページ目*/
#webdesign{
  background-image: url(../img/header-second-back.jpg);
  height: 300px;
  margin-bottom: 40px;
}

#webdesign .wrapper{
  margin:0 auto;
}

#webdesign .page-title{
  text-align: center;
  margin: 0 auto;
}

#webdesign .home-contents p{
  text-align: center;
  margin: 0px 0 30px 0;
  font-size: 1.125rem;
}

article{
  width: 75%;
  padding-top: 0 0;
  margin-top: 0;
}

/*grid*/
.grid{
  display: grid;
  grid-gap: 26px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  margin-top: 6%;
  margin-bottom: 80px;
}

.design {
  border-bottom: 1px #ddd solid;
  padding: 0px 10px;
}

.grid ul{
  font-size: 0.9rem;
}

.grid p{
  font-size: 0.9rem;
}

span a:hover{
  color: rgba(148, 167, 242, 0.96);
}

/*crieite.html 4ページ目*/
#creative{
  background-image: url(../img/header-second-back.jpg);
  height: 300px;
  margin-bottom: 40px;
}

#creative .wrapper{
  margin:0 auto;
}

#creative .page-title{
  text-align: center;
  margin: 0 auto;
}

#creative .home-contents p{
  text-align: center;
  margin: 0px 0 30px 0;
  font-size: 1.125rem;
}

/*contact.html 5ページ目*/
#meru {
  margin-top: 30px;
  margin-bottom: 13px;
}

#contact {
  background-image: url(../img/header-second-back.jpg);
  height: 300px;
  margin-bottom: 30px;
}

#contact .wrapper{
  margin:0 auto;
}

#contact .page-title{
  text-align: center;
  margin: 0 auto;
}

#contact .home-contents p{
  text-align: center;
  margin: 0px 0 30px 0;
  font-size: 1.125rem;
}
#text p{
  font-size: 0.9rem;
}

/*news*/
#news {
  background: #eff1f8;
  padding:  1% 0;
  margin-top: 20px;
}

#news wrapper{
  desplay: flex;
  justify-content: space-between;
}

#news .sub-title{
  margin-bottom: 10px;
  margin-top: 10px;
}

.news-box{
  width: 100%;
}

#news  p{
  margin-bottom: 10px;
  margin-top: 10px;
  border-bottom: 1px #ddd solid;
  font-size: 0.9rem;
}


/*sns*/

#sns {
  padding:  1% 0;
  margin-top: 20px;
}

#sns wrapper{
  desplay: flex;
  justify-content: space-between;
}

#sns .sub-title{
  margin-bottom: 10px;
  margin-top: 10px;
}

.sns-box{
  width: 100%;
}

#sns  p{
  margin-bottom: 0px;
  margin-top: 10px;
  border-bottom: 0.5px ;
  font-size: 0.9rem;
}
#bana{
  width: 50%;
  margin-left: 0px;
}

/*ページトップボタン*/
#pagetop{
  cursor: pointer;
  position: relative;
  right: 10px;
  bottom: 0px;
  z-index: 100;
}

#btn{
  display: block;
  position: fixed;
  z-index: 9999;
  bottom: -250px;
  right: 10px;
  width: 60px;
  height: 60px;
  color: #fff;
  text-decoration: none;
  font-size: 13PX;
  line-height: 16px;
  text-align: center;
  background-color: rgb(141, 139, 139);
  border-radius: 50%;
  opacity: .8;  
  padding-top: 10px;
}

#btn :hover{
  transition: translateY(-10px);
}

#pagetop a:hover {
  opacity: .6;
}

/*FOOT*/
footer{
  width: 100%;
  height: 250px;
  margin: auto;
  margin: auto;
  background-color: #c3cadd;
  text-align: center;
}

/*sitemapnav*/
ul .sitemap-nav {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  margin: 0 auto;
  justify-content: space-between;
}

.sitemap-nav li {
  display: inline-block;
  margin:  30px 30px 20px 30px;
  font-size: 15px;
  font-family： 'ニュースリーダー'、セリフ;
}

#mini{
  text-align: center;
  margin: 0 auto;
  padding: 0 auto;
}

#mini img{
  width: 80px;
  height: 80px;
  margin: 0;
  padding: 0;
}

#mini a:hover {
  opacity: .7;
}



#insta a:hover {
  opacity: .6;
}

#copyright{
  padding-top: 12px;
  
}

#url {
  font-size: 13px;
  margin-top: 0px;
 
}

/*モバイル版*/
@media (max-width: 1000px){
  body{
    width: 100%;
  }
  
  #home.big-bg{
    background-image: url(../img/ajisai-card-mininami.com.png)
    
  }

  .page-header{
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 80px;
    margin: 0px  auto;
  }

  .logo{
    margin: 0px;
    text-align: center;
    padding: 45px 0 0 0;
  }

  .main-nav {
    flex-direction: column;
    padding: 0;
    margin: 0;
    align-items: center;
  }

  .main-nav li{
    font-size: 1rem;
    text-align: center;
    padding: auto;
    margin: auto;
  }

  /*home*/
  .home-contents{
    margin-top: 180px;
    text-align: center;
  }

  .page-title{
    margin: auto;
    font-size: 3.3rem;
    text-align: center;
  }

  #about,#portfolio,#webdesign,#creative,#contact{
    height: 500px;
    padding-top: 0px;
  }

  /*about*/
  #next .home-contents {
    margin-top: 150px;
    text-align: center;
    padding-top: 0px;
  }

  .about-contents{
    width: 100%;
    margin: 60px 0px;
    padding: 0 30px;
  }

  section{
    width: 100%;
    margin-top: 10px;
  }

  .flex-container1 li{
    width: 100%;
    flex-direction: column;
    margin: 5px 10px;
    padding: 0 auto;
  }

  .flex-container{
    padding-bottom: 0px;  
  }

  /*portfolio*/
  .karamu-contents{
    flex-direction: column;
  }

  aside{
    margin-top: 30px;
  } 

  article{
    width: 100%;
  }

  .moji-inner1 p{
    font-size: 13px;
  }

  .grid{
    width: 100%;
  }

  /*contact*/
  #bana{
    width: 100%;
    margin: 50px 0 0;
    padding: 0 0;
  }

  /*footer*/
  footer{
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 300px;
    margin: 10px 0 0 0;

  }

  .sitemap-nav {
    flex-direction: column;
    align-items: center;
    padding: 0;
    margin:30px 0 20px 0;
  }

  .sitemap-nav li{
    font-size: 1rem;
    text-align: center;
    padding: 0px 20px;
    margin: auto;
  }

  #copyright {
    font-size: 1rem;
    margin: 10px 0px 20px 0px;
    padding: auto;
  }

}



