@charset "utf-8";

body { 
    margin: 0 auto;
    background-color:#f5eee1;
  font-family: "Kaisei Tokumin", serif;
  font-weight: 400;
}

/* _________________________header関係________________________________*/

header {
    max-width:100%;
    height: 300px;
    background-color: #f5eee1;

    /* 店舗写真用余白 */
    margin-bottom: 400px;
    
    
}
header::after {
  /* 背景店舗写真＿＿＿＿ */
  content: "";
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background:url(../images/tenpodamy.jpg) no-repeat center/cover;
  z-index: -1;
}
/* _______________________ コンセプトsection関係  __________________________________ */
.about {
  background: #d19a47;
  text-align: center;
  width: 80%;
  margin: 0 auto 20px;
  padding: 20px;
  background-image: url(../images/aki-1.png);
  background-repeat:no-repeat;
  background-position: center center;
  background-size: cover;
}
.about a {
  font-size: 20px;
  font-weight: bold;
  padding: 10px;
  background-color:rgb(233, 215, 193, 0.85);
  color: #000;
    border-radius: 20px;

}
.about a:hover {
   background-color: #db5f07;
  color:#fff;
}
.back {
  display: block;
  width: 100%;
  margin: 0 auto;
  background-color:rgb(233, 215, 193, 0.85);
  padding: 10px;
}
.about img {
  width: 400px;
 display: block;
 margin: 0 auto;
}
.mainSec {
  background-image: url(../images/haikei.jpg);
  padding: 40px;
  margin-bottom: 200px;
}
.welcome {
  width: 250px;
  position: relative;
  top: 40px;
  left: 70%;
  border: 3px solid #f00;
}
article {
  /* border: 3px solid #f00; */
    background-color: rgb(233, 215, 193, 0.98);
    font-size: 20px;
    text-align: center;
    padding: 20px 0 20px 0;
    margin: 0 auto;
    border-top: 3px solid #7c5d48;
    border-bottom: 3px solid #7c5d48;
    border-radius: 10px;
    width: 85vw;;
    line-height: 1.6;
    font-weight: bold;
    
}

h2 {
    font-size: 30px;
    margin: 10px;
}


 .grid {
  background-color: rgb(233, 215, 193, 0.98);
  /* border: 3px solid #f00; */
  opacity: 0; /* 隠す */
  object-fit: cover;
  transition: 4s;
/* イラスト部分をjavaScriptで浮かび上がらせるための記述__________________________ */
 }
 
.grid {
  /* border: 3px solid #000; */
  width: 50%;
  /* margin-left: 20vh; */
}

.gridcontenr {
  display: flex;
  flex-wrap:wrap;
  justify-content: space-around;
  font-size: 18px;
  text-align: center;
  width: 100%;
}

/* ふわっと浮かび上がらせ______________________________________________________ */
.fade-in {
  opacity: 0; /* 初期状態では見えない */
  transform: translateY(30px); /* 少し下にずらす */
  transition: opacity 1s ease-out, transform 1s ease-out; /* 滑らかなアニメーション */
}

.fade-in.active {
  opacity: 1; /* activeクラスが付与されたら完全に表示 */
  transform: translateY(0); /* 元の位置に戻る */
}



/* 説明欄________________________________________________________________ */
.contener div p {
  background-color: rgba(255, 255, 255, 0.5);
  width: 100%;
  padding: 30px;
  margin-top: 10vw;
  margin-left: 20vw;
  border-top: 1px solid #999;
  border-bottom: 1px solid #999;
   float: right;
     box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.5); /* 右下、ぼかしあり、半透明の黒い影 */
  border-radius: 20px;
}
.contener div p:nth-of-type(1),.contener div p:nth-of-type(2),.contener div p:nth-of-type(3) {
  display: block;
}

 section .sublink div {
  padding: 10px;
  flex-basis: 38%;
}

 
/* _____________________携帯用記述＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿ */
@media screen and (max-width:780px){
    body,header,header::after, ul,section,main,.mainSec,article,img,.concept,.contener,section.mainSec {
        max-width: 100%;
    }
    header img {
  width: 20vh;
  height: 20vh;
 }
body,p {
  font-size: 14px;
}
.top {
  height: 200px;
 }
    .contener{
      display: block;
      
    }
    .grid {
      text-align: left;
    }
    .mainSec {
    padding: 20px 0 20px 0;
    }
    article,h3,.grid{
      text-align:left;
      padding: 20px;
    }
    article {
      height:100%;
    }
  
    h2 {
      font-size: 23px;
     text-align: center;
    }
    h3 {
      font-size: 13px;
     
      
    }
    .contener div p  {
      margin-top: 0;
      width: 100%;
      text-align: left;
      padding: 20px;
    }
    .gridcontenr {
      flex-direction: column;
    }
   .grid {
    width: 100%;
    margin: 0 auto;
   }
  .setcontener {
    display: block;
  }

@media screen and(max-width:480px) {
  .grid {
    width: 80%;
  }
}}