@charset "utf-8";

/* カラー 
#d9dacb
メインカラー…緑がかったグレー色
#8ea2b3
サブカラー…文字に使用。くすんだブルー
*/

/* 
@media screen and (max-width: 896px) { }
@media screen and (max-width: 480px) { }
 */

body{
  color: #8ea2b3;
}


a{
  text-decoration: none;
}


/* 
------------------------------------------------
ヘッダー
 */


header{
  width: 100%;
  height: 200px;
  /* background-color: aqua; */
}

.header{
  max-width: 900px;
  margin: auto;
  display: flex;
  position: relative;
}

.article_header{
  height: auto;
  margin: 0 0 30px 0;
}

@media screen and (max-width: 896px) {
  header{
    height: 0px;
  }

  .article_header{
    height: auto;
  }
}




/* 
------------------------------------------------
ヘッダーキャッチフレーズ
*/

.header-desc{
  height: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.header-desc ul li{
  font-size: 1.5rem;
  margin-bottom: 15px;
}

@media screen and (max-width: 896px) {
  .header-desc{
    visibility: hidden;
    opacity: 0;
  }
}


/* 
------------------------------------------------
ナビ 右上の三本線
*/

.toggle-nav{
  position: fixed;
  top: 50px;
  right: 200px;
  width: 80px;
  height: 80px;
  border-radius: 40px;
  background-color: #fff;
  z-index: 99;
}

@media screen and (max-width: 896px) {
  .toggle-nav{
    top: 10px;
    right: 10px;
  }
}


.toggle-nav div{
  width: 40px;
  height: 4px;
  background-color: #8ea2b3;
}

.toggle-nav div:nth-last-of-type(1){
  transform: translate(50%,32px);
}

.toggle-nav div:nth-last-of-type(2){
  transform: translate(50%,48px);
}

.toggle-nav div:nth-last-of-type(3){
  transform: translate(50%,27px);
}

.toggle-nav p{
  position: fixed;
  top: 65px;
  right: 200px;
  width: 50px;
  height: 2px;
  transform: translate(-7px,40px);
}

@media screen and (max-width: 896px) {
  .toggle-nav p{
    top: 23px;
    right: 11px;
  }
}

/* 
------------------------------------------------
ナビ内容
*/

.nav{
  position: fixed;
  right: -100vw;
  z-index: 50;
  transition: .3s;
  width: 100vw;
  height: 100vh;
  background-color: #d9dacb;
}

.nav.active{
  transition: .3s;
  opacity: 1;
  right: 0;
  visibility: visible;
}

.nav ul{
  width: 250px;
  margin: auto;
  padding-top: 100px;
}

.nav ul li{
  transition: .3s;
}

.nav ul li a{
  position: relative;
  height: 50px;
  display: block;
}

.nav ul li a:before{
  content: '';
  width: 100%;
  height: 1px;
  background-color: hsl(0, 0%, 100%, 0.5);
  top: 20%;
  position: absolute;
}

.nav ul li a span{
  position: absolute;
  background-color: #d9dacb;
}

.menu-ja{
  right: 0;
  font-size: 1.5em;
  font-weight: 400;
  padding: 0 0 0 20px;
}

.menu-en{
  padding: 0 20px 0 0;
}

.nav ul li:nth-child(6){
  margin: 0px;
}

/* 
------------------------------------------------
ナビのホバー
 */

/* nav li:hover{
  background-color: #d8e4ec;
  border-radius: 5px;
} */

/* 
------------------------------------------------
ナビのメニュー表示内容
*/




/* 
------------------------------------------------
スクロール↓処理
*/

.scroll{
  width: 100px;
  height: 100px;
  margin: 0 0 0 auto ;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  /* background-color: blueviolet; */
}

.scroll__arrow-line::before{
  content: '|';
  display: block;
  transform: translateY(10px);
  animation: updown 1.5s infinite;
}

.scroll__arrow-top::before{
  content: '↓';
  display: block;
  transform: translateY(10px);
  animation: updown 1.5s infinite;
}

@keyframes updown{
  0%{
    transform: translateY(0);
  }

  50%{
    transform: translateY(10px);
  }

  100%{
    transform: translateY(0);
  }
}

.scroll:before{
  animation: arrow 1s;
}

/* 
------------------------------------------------
見出し
*/

h2{
  font-size: 2em;
  text-align: center;
}

.section-title p{
  text-align: center;
}

.section-title{
  margin: 20px 0;
}

h3{
  font-size: 1.5em;
  text-align: center;
  font-weight:500;
  margin: 30px 0;
  line-height: 2em;
}

.page-title{
  margin: 40px 0;
}

.service-title{

}

/* 
------------------------------------------------
メイン画像
*/


.hero{
  width: 100%;
  /* max-width: 700px; */
  height: 400px;
  margin: auto;
  position: relative;
  background-image: url(img/hero.jpg);
  background-size: cover;
  background-position: bottom;
}

@media screen and (max-width: 896px) {
  .hero{
    height: 400px;
  }
}

/* 
------------------------------------------------
セクション
*/

section{
  width: 100%;
  max-width: 1100px;
  margin:0 auto 100px auto;
  padding: 50px 0 40px 0;
}

@media screen and (max-width: 896px) {
  section{
    margin:0 auto 50px auto;
    padding: 50px 0 40px 0;
  }
}

/* 
------------------------------------------------
コンセプト
*/

/* .concept{
} */

.concept article{
  width: 50%;
  margin: auto;
}

@media screen and (max-width: 896px) {
  .concept article{
    width: 80%;
  }
}

.concept article img{
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.concept-text{
  font-size: 1.5em;
  line-height: 2em;
  margin-top: 30px;
}

@media screen and (max-width: 896px) {
  .concept-text{
    font-size: 1rem;
  }
}

/* 
------------------------------------------------
サービス内容
*/

.service{
  display: flex;
  justify-content: space-between;
}

.service article{
  width: 30%;
  /* background-color: hsl(64, 17%, 83%, 50%); */
}

.service-desc p{
  color: #000;
  line-height: 2em;
  margin-top: 30px;
}

@media screen and (max-width: 896px) {
  .service{
    display: block;
  }
  
  .service article{
    width: 80%;
    margin: 0 auto 50px;
    /* background-color: hsl(64, 17%, 83%, 50%); */
  }
}

.service-pic img{
  width: 100%;
  height: 200px;
  object-fit: cover;
}


/* news */

.news {
  display: flex;
  margin: auto;
  justify-content: space-around;
  /* background-color: cadetblue; */
}

.news article{
  width: 30%;
}

.news article img{
  width: 100%;
  height: 200px;
}

.news-meta{
  display: flex;
}

.news-meta .category{
  border:1px solid #9ab7b9;
  color: #9ab7b9;
  margin: 0 5px 0 0;
  padding: 0 10px;
}

.news-title{
  font-weight: bold;
  margin: 5px 0;
}

/* 制作実績 */

.col-md-4 {
  display: flex;/* 画面幅に合わせてカラム落ちさせる */
  flex-wrap: wrap;
  margin: auto;
  justify-content: space-around;
  /* background-color: cadetblue; */
}

.works {
  width: 35%;
  margin: 10px auto;
}

.works_desc{
  line-height: 2em;
  margin-top: 30px;
}

@media screen and (max-width: 896px) {
  .col-md-4 {
    display: block;
  }

  .works {
    width: 80%;
    margin: 10px auto;
  }
}

.works_pic img{
  width: 100%;
  height: 200px;
  object-fit: cover;
  object-position: 0 0;
}

.works-meta{
  display: flex;
}

.works-meta .category{
  border:1px solid #9ab7b9;
  color: #9ab7b9;
  margin: 0 5px 0 0;
  padding: 0 10px;
}

/* お問い合わせ */

.contact{
  width: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* align-items: center; */
  margin: 20px auto;
}


/* 
.form{
  width: 100%;
  height: auto;
}

.form_row{
  margin: 10px 0;
}

.form_label span{
  font-size: smaller;
  margin-left: 10px;
  background-color: #8ea2b3;
  color: #fff;
  padding: 2px;
}

.form_content input{
  border: #8ea2b3 1px solid;
  width: 100%;
  height: 30px;
}

.form_content textarea{
  border: #8ea2b3 1px solid;
  width: 100%;
  height: 100px;
} */

/* 一覧ページへのボタン */

.btn{
  width: 40vw;
  height: 40px;
  /* background-color: brown; */
  border: solid 1px ;
  display: block;
  margin: 30px auto 0 auto;
  text-align: center;
  line-height: 40px;
}

.btn i{
  margin-left: 10px;
}


/* フッター */

footer{
  width: 100%;
  height: 100px;
  background-color: #d9dacb;
}

.footer{
  width: 100%;
  max-width: 1100px;
  position: relative;
  margin: auto;
  display: flex;
}

@media screen and (max-width: 896px) {
  footer{
    height: auto;
    padding: 30px 0;
  }

  .footer{
    display: block;
    height: auto;
  }
}

.footer-title{
  width: 200px;
  height: 100px;
  display: block;
  line-height: 100px;
}

.footer-nav{
  position: absolute;
  right: 0;
}

.footer-nav ul{
  width: 50vw;
  height: 100px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  /* background-color: blue; */
}

.footer-nav ul li{
  width: auto;
  height: auto;
  text-align: center;
  margin: auto;
}

.footer-nav ul li:nth-child(6){
  margin: 0px;
}

.footer a{
  color: #fff;
}
@media screen and (max-width: 896px) { 
  .footer-title{
    width: 100%;
    height: auto;
    margin: 0 auto 20px auto;
    text-align: center;
    line-height: normal;
  }
  
  .footer-nav{
    /* position:unset; */
    margin-bottom: 20px;
  }

  .footer-nav ul{
    width: 100%;
    height: auto;
    display: block;
    /* background-color: blue; */
  }
  
  .footer-nav ul li{
    width: auto;
    height: auto;
    text-align: center;
    margin: auto;
  }
  
  .footer-nav ul li:nth-child(6){
    margin: 0px;
  }
}

/* カーテンアニメーション */

.swipe{
  position: relative;
  overflow: hidden;/* 白いのが指定位置以上にを見えないようにする */
}

.swipe::before{
content: '';
display: block;
position: absolute;
z-index: 1;
background-color:#fcfcfc;
width: 100%;
height: 100%;
}

@keyframes showMask{
  0%{
    transform:translateX(0%);
  }
100%{
  transform:translateX(100%);
}}


.swipe.show::before{
  animation: showMask 1.8s forwards;
}


/* 
------------------------------------------------
singleページ (個別投稿ページ)
*/

.single-page{
  width: 70%;
  margin: auto;
}

.pic img{
  width: 100%;
  object-fit: cover;
}

.single-page-desc{
  width: 80%;
  margin: 50px auto;
}

.single-page-desc ul li{
  list-style: disc;
}


/* 
------------------------------------------------
pageページ（固定ページ）
*/

.page{
  width: 70%;
  margin: auto;
}

.pic img{
  width: 100%;
  object-fit: cover;
}

.page-desc{
  width: 80%;
  margin: 50px auto;
}

/* 
------------------------------------------------
リスト設定
*/

.list-type{
  border: 1px solid #000;
  margin: 30px;
  padding: 30px;
}

/* 
------------------------------------------------
リスト設定（数字）
*/

.ol-list-number{
  counter-reset: number 0; 
}
.ol-list-number li{
  position: relative;
  line-height: 50px;
}

.ol-list-number li::before{
  counter-increment: number 1;      /* number カウンタの増加数をセット */
  content: counter(number)".";
}
.ol-list-number li::after{
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  margin-left: -6px;
  border-top: 7px rgba(100, 100, 100, 0.5) solid;
  border-right: 6px transparent solid;
  border-left: 6px transparent solid;
}
.ol-list-number li:last-child::after{
  content: '';
  visibility: hidden;
  opacity: 0;
}

/* 
------------------------------------------------
リスト設定（点）
*/

.list-type-disc ul li{
  list-style-type: disc;
}

/* 
------------------------------------------------
ポストリンク設定
*/

.postLinks{
  position: relative;
}

.postLink{
  position: absolute;
}

.postLink-prev{
  left: 0;
}

.postLink-next{
  right: 0;
}

/* 
------------------------------------------------
センター設定
*/

.center{
  text-align: center;
}