@charset "utf-8";

.Oshinamono h1{
  padding-top: 100px;
  padding-bottom: 60px;
  text-align: center;
  font-size: 48px;
  background: url(../images/Eat_In/circle1.webp) no-repeat center;
  background-position: calc(50% - 115px) calc(50% + 5px);
  background-size: 96px auto;
}
.oshinamono h2{
  width: 25%;
  font-size: 26px;
  margin-top: 0;
  margin-bottom: 0;
  padding-top: 0;
}
.Eatin h2{
  padding: 80px 0 50px;
  text-align: center;
  font-size: 48px;
  background: url(../images/Eat_In/circle2.webp) no-repeat center;
  background-position: calc(50% - 210px) center;
  background-size: 96px auto;
}
h3{
  margin: 200px 0 100px;
}

/* スクロールバー */
.content{
  width: 90%;
  margin: 0 auto;
}

.product{
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin: 0 0 20px 0;
}
.product.empty {
  visibility: hidden; /* 中身は見えない */
  width: 30%; /* 他の .product と同じ幅 */
}
.product_img{
  width: 100%;
}
.Accessories.active,
.food.active,
.apparel.active {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

/* タブ部分 */
.tab{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  padding-bottom: 20px;
}
.tab button{
  width: 100%;
  border-radius: 10px 10px 0 0;
  text-align: center;
  padding: 3px 20px;
  font-size: 22px;
  border: 1px solid #1f1f1f;
  border-bottom: none;
  background: #fff;
  cursor: pointer;
}
.tab button.active{
  background: #d5d5d5;
  color: #1f1f1f;
}

/* コンテンツはデフォルト非表示 */
.Accessories, .food, .apparel{
  display: none;
}
.Accessories.active,
.food.active,
.apparel.active{
  display: block;
}

.product{
  width: 100%;
  margin: 0 10px;
  position: relative; /* これがないと dl は親に対して絶対配置できない */
}

.product_img img{
  display: block;
  width: 100%;
  height: auto;
  border-radius: 20px;
  border: 2px solid #d5d5d5;
}
dt{
  font-weight: normal;
  font-size: 22px;
  padding-bottom: 15px;
  }
/* dlを画像の上に重ねる */
dd{
  font-size: 18px;
}
.product dl{
  position: absolute;/* .product に対して絶対配置 */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  border-radius: 20px;
  color: #fff;
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  opacity: 0;
  transition: opacity .5s ease;
}

/* hoverで表示 */
.product:hover dl{
  opacity: 1;
}
.product_img dd{
  margin: 5px 0;
}
.Oshinamono a {
  display: block;
  width: 40%;
  margin: 0 auto;
}
main .insta_id{
  width: 100%;
  color: #fff;
  background-color: #A5B698;
  font-size: 24px;
  padding: 20px 0;
  margin: 30px auto 0;
  text-align: center;
  border-radius: 58px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  overflow: hidden;
  position: relative;
  z-index: 2;
  line-height: 1.5;
}
main .insta_id::after{
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 110%;
  height: 200%;
  background: #758767;
  border-radius: 100%;
  transform: translate(-50%, -50%) scale(0);
  opacity: 0;
  transition: transform .5s ease-in-out, opacity .5s ease-in-out;
  z-index: -1;
}
main .insta_id:hover::after {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
}
main .insta_id .insta_img{
  width: 35px;
}
main .insta_id .insta_p{
  display: flex;
  align-items: center;
  font-family: "Noto Sans", sans-serif;
  margin-left: 30px;
  margin-top: 0;
}

/* イートイン */
.eatin{
  width: 80%;
  margin: 0 auto;
  margin-top: 20px;
  text-align: end;
}
h3{
  font-size: 36px;
}
.eatin_content{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
}
.Eatin .eatin_content + .eatin_content{
  margin-top: 80px;
}

.left_p{
  width: 45%;
  text-align: center;
}
.left_p p{
  font-size: 32px;
  margin-bottom: 15px;
}
.cafeore_p{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
.cafeore_p p{
  margin: 0 25px;
}
.right_p{
  width: 50%;
  display: flex;
  flex-wrap: wrap;
  align-content: center;
  text-align: center;
}
.right_p p{
    width: 100%;
  }
.top_p{
  font-size: 24px !important;
  margin-top: 10px;
}
.bottom_p{
  text-align: left;
}
.syrup{
  display: flex;
  flex-direction: column;
  align-items: center;
}

@media screen and (max-width: 900px) {
.Oshinamono h1{
  font-size: 32px;
  padding-bottom: 40px;
  background-position: calc(50% - 75px) calc(50% + 15px);
  background-size: 64px auto;
}
.Oshinamono h2{
  font-size: 20px;
}
.Eatin h2{
  font-size: 32px;
  background-position: calc(50% - 140px) calc(50% + 10px);
  background-size: 64px auto;
}
.Eatin h3{
  margin: 80px 0 50px;
  font-size: 32px;
}
.content{
  width: 100%;
}
.tab{
  padding-bottom: 20px;
}
.tab button {
  padding: 3px 15px;
}
.Oshinamono dt{
  font-size: 18px;
}
.Oshinamono dd{
  font-size: 14px;
}
.Accessories.active,
.food.active,
.apparel.active {
  grid-template-columns: repeat(3, 1fr);
}
.Oshinamono a {
  width: 50%;
}
.product{
  border: 2px solid #d5d5d5;
  border-radius: 20px;
  margin: 0 5px;
}
.product_img img{
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px 18px 0 0;
  border: none;
  border-bottom: 2px solid #d5d5d5;
}
.product dl {
  display: block;
  position: relative;
  color: #1f1f1f;
  background: #fff;
  top: auto;
  left: auto;
  transform: none;
  opacity: 1;
  margin: 20px 0;
  height: auto;
  padding: 0 10px;
}
.cafeore_p p{
  font-size: 28px;
}
.right_p .top_p{
  font-size: 24px;
}
main .insta_id{
  font-size: 24px;
}
main .insta_id .insta_img{
  width: 30px;
}
  
main .insta_id .insta_p{
  margin-left: 15px;
}
.eatin_content{
  display: block;
}
.cafeore_p{
  justify-content: center;
}
.cafeore_p p {
  width: 25%;
  margin: 40px 0 15px;
}
.left_p{
  width: 100%;
}
.left_p p{
  line-height: 1.8;
}
.right_p{
  width: 80%;
  margin: 40px auto 0;
}
.keyaki_p{
  margin: 0 auto;
  }
.bottom_p{
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: center;
} 
}

@media screen and (max-width: 640px) {
.Oshinamono h1{
  padding-top: 80px;
  background-position: calc(50% - 80px) calc(50% + 10px);
  background-size: 64px auto;
}
.Oshinamono h2{
  font-size: 14px;
}
.Oshinamono dt {
  font-size: 16px;
}
.tab button{
  width: 100%;
  padding: 3px 0px;
  border-radius: 5px 5px 0 0;
}
.Eatin h2{
  font-size: 32px;
  background-position: calc(50% - 140px) calc(50% + 5px);
  background-size: 64px auto;
}
section{
  margin-bottom: 400px;
}
.tab{
  padding-bottom: 10px;
}
.tab button {
  font-size: 14px;
}
.Accessories.active,
.food.active,
.apparel.active {
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin: 0 0 5px 0;
}
.product{
  width: 100%;
  margin: 0;
  border-radius: 20px;
}
.cafeore_p {
  justify-content: center;
  gap: 10px;
}  
.cafeore_p p{
  width: 42%;
} 
.Left_img{
  width: 74%;
  margin: 0 auto;
}
.left_img{
  width: 80%;
  margin: 0 auto;
}
main .insta_id{
  width: 100%;
  font-size: 14px;
}
main .insta_id .insta_img{
width: 25px;
}
.left_p{
  width: 90%;
  margin: 0 auto;
}
.left_p p{
  font-size: 24px;
}
.right_p{
  width: 90%;
  margin: 0 auto;
}
.top_p{
  font-size: 18px !important;
}
.top_p p{
  width: 100%;
}
.keyaki_p{
  margin: 0 auto;
}
.bottom_p{
  margin: 0 30px;
} 
}

/* スマホ2 */
@media screen and (max-width: 500px) {
main .insta_id{
  padding: 15px 0;
  margin-top: 20px;
}
main .insta_id  a{
  width: 60%;
}
.eatin{
  width: 100%;
  margin: 20px 0 0;
  display: flex;
  flex-direction: column;
}
}