@charset "utf-8";

/*ファーストビューエリア*/
.first-view {
  position: relative;
  /* width: 1500px; */
  height: 600px;
  overflow: hidden;
  /* 画像が領域外に溢れるのを防ぐ */
  margin: auto;
  padding: auto;
}


.background-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center center;
  opacity: 0;
  /* 最初は非表示 */
  transition: opacity 2s ease-in-out;
  /* フェードイン・アウトのアニメーション */
}


.background-image.active {
  opacity: 1;
  /* 表示 */
}


.first-vier-text {
  font-weight: bold;
  position: absolute;
  top: 50%;
  /* 親要素の垂直方向の中央に配置 */
  left: 50%;
  /* 親要素の水平方向の中央に配置 */
  transform: translate(-50%, -50%);
  /* 要素自体の半分だけ戻す */
  color: #fff;
  /* 見出しの文字色 */
  font-size: 20px;
  /* 見出しの文字サイズ */
  text-align: center;
  text-shadow: rgb(159, 11, 11) 1px 1px 10px;
  /*文字に影　x軸(横)、y軸(縦)、ぼかし範囲、影の色　の指定*/
  z-index: 10;
  /* 背景画像より前面に表示 */
}


.first-vier-text h1 {
  margin: 0;
  /* h2要素のデフォルトのmarginをリセット */
  line-height: 1.2;
  /* 行間を調整 */
}


.lead {
  background-color: #eeebde;
  /* font-weight: bold; */
  text-align: center;
  font-size: px;
  line-height: 2;
  /* 行間を調整 */
  font-size: 20px;
  padding-top: 30px;
  padding-bottom: 30px;
}






/* お絵かきスペース＆テイクアウトカフェ */
.main-content{
  margin-left: auto;
  margin-right: auto;
  }




.artsection {
  width: 100%;
  display: flex;
  /* Flexboxレイアウトを適用 */
  align-items: center;
  /* 縦方向中央揃え */
  justify-content: center;
  /* 水平方向中央揃え */
  flex-wrap: wrap;
  /* 画面幅が狭い場合に折り返す */
  padding: 20px;
  padding-top: 30px;
  margin-left: auto;
  margin-right: auto;
  background-color: rgb(211, 237, 228);
}


.atelier_space {
  /* display: flex; */
  /* flex-direction: row; */
  /* 要素を横に並べる */
  align-items: center;
  gap: 20px;
  padding: 15px;
  border: 1px solid #eee;
  border-radius: 30px;
  background-color: #eeebde;
  /* margin-bottom: 30px; */
  width: 80%;
  /* max-width: 1500px; */
   background-image: url(/images/index/p_da0013_s_da00132.jpg);
}


.atelier_space h1 {
  text-align: center;
  /* 左寄せに変更 */
  font-size: 25px;
  font-weight: bolder;
  margin-bottom: 0;
  /* h1の下マージンを削除 */
  color: #333;
  width: auto;
  /* 幅を自動調整 */
   text-shadow: rgb(159, 144, 11) 1px 1px 10px;
  /*文字に影　x軸(横)、y軸(縦)、ぼかし範囲、影の色　の指定*/
  z-index: 10;
  /* 背景画像より前面に表示 */
  }




.atelier_space img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 5px;
  object-fit: contain;
}


.atelier_space ul {
  padding: 0;
  list-style: none;
  flex-grow: 1;
}


.atelier_space ul li {
  margin-bottom: 8px;
}


.item-list li {
  font-size: 25px;
  font-weight: bold;
  line-height: 3;
  margin-left: 50px;
}






/* テイクアウトカフェ */
.cafesection {
  width: 100%;
  display: flex;
  /* Flexboxレイアウトを適用 */
  align-items: center;
  /* 縦方向中央揃え */
  justify-content: center;
  /* 水平方向中央揃え */
  flex-wrap: wrap;
  /* 画面幅が狭い場合に折り返す */
  padding: 20px;
  padding-top: 30px;
  margin-left: auto;
  margin-right: auto;
  background-color: rgb(233, 216, 219);
}




.takeoutcafe_space {
  /* display: flex; */
  /* flex-direction: row-reverse; */
  /* 画像を右に配置 */
  align-items: center;
  gap: 20px;
  padding: 15px;
  border: 1px solid #eee;
  border-radius: 30px;
  background-color: #eeebde;
  /* margin-bottom: 30px; */
  width: 80%;
  /* max-width: 1500px; */
   background-image: url(/images/index/p_new0272_ss_new02724.jpg);
}


.takeoutcafe_space h1 {
  text-align: center;
  /* 中央よせに変更 */
  font-size: 25px;
  font-weight: bolder;
  margin-bottom: 0;
  /* h1の下マージンを削除 */
  color: #333;
  width: auto;
  /* 幅を自動調整 */
   text-shadow: rgb(252, 214, 2) 1px 1px 10px;
  /*文字に影　x軸(横)、y軸(縦)、ぼかし範囲、影の色　の指定*/
  z-index: 10;
  /* 背景画像より前面に表示 */
}


.takeoutcafe_space img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 5px;
   object-fit: contain;
}


.takeoutcafe_space ul {
  padding: 0;
  list-style: none;
  flex-grow: 1;
}


.takeoutcafe_space ul li {
  margin-bottom: 8px;
}


.cafe-list li {
  font-size: 25px;
  font-weight: bold;
  line-height: 2.5;
  margin-left: 50px;
}






/* レスポンシブ対応（画面幅が小さい場合は縦並びにするなど） */
@media (max-width: 800px) {


  .atelier_space,
  .takeoutcafe_space {
    flex-direction: column;
    /* 縦方向に配置 */
    align-items: center;
        /* 中央揃え */
  }


  .atelier_space h1,
  .takeoutcafe_space h1 {
    text-align: center;
    /* 中央揃えに戻す */
    margin-bottom: 10px;
  }


  .atelier_space img,
  .takeoutcafe_space img {
    margin-right: 0;
    margin-bottom: 10px;
    max-width: 80%;
    /* 小さい画面では画像の幅を調整 */
  }


  .atelier_space ul,
  .takeoutcafe_space ul {
    text-align: center;
    /* リストのテキストを中央揃え */
  }
}



/* キラキラひかるボタンの設定の場合 */
.button-container {
  display: flex;
  /* Flexboxレイアウトを適用 */
  justify-content: center;
  /* 水平方向中央揃え */
  gap: 20px;
  /* ボタン間のスペース */
  padding: 20px;
  /* 上下の余白を追加 */
  width: 100%;
  /* 親要素の全幅を使用 */
  background-color:  #eeebde;;


}




.button {
  display: inline-block;
  padding: 30px 60px;
  /*ボタンの内側の余白指定*/
  text-decoration: none;
  /* リンクにデフォルトで表示される下線を削除 */
  color: #040404;
  background-color: rgb(243, 231, 165);
  border: 1px solid gold;
  border-radius: 5px;
  /* 角丸 */
  font-size: 20px;
  font-weight: bold;
  position: relative;
  overflow: hidden;
  /*スパークルがボタンの領域外に広がるのを防ぎます。 */
}


.button:hover {
  background-color: gold;
  border-color: gold;
}


.button::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(to right,
      transparent 45%,
      #fff 50%,
      transparent 55%);
  transform: rotate(-45deg) translate(0, -50%);
  opacity: 0;
  transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
  z-index: 1;
  /* ホバーエフェクトをテキストより上に */
}


.button:hover::before {
  transform: rotate(-45deg) translate(0, 0);
  opacity: 0.8;
}


.button::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 20%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}


.button:hover::after {
  opacity: 1;
  animation: radial-pulse 1s infinite alternate;
}


@keyframes radial-pulse {
  to {
    transform: scale(1.1);
    opacity: 0;
  }
}


/* レスポンシブ対応 */


/* 画面幅が 768px 以下の場合 (タブレットなど) */
@media screen and (max-width: 768px) {
  .button {
    padding: 12px 24px;
    font-size: 14px;
  }


  .button-container {
    flex-direction: column;
    /* 縦並びにする */
    align-items: center;
    /* 中央揃え */
    gap: 10px;
    /* ボタン間のスペース調整 */
  }


  .button::before {
    width: 250%;
    height: 250%;
  }


  .lead {
    font-size: 18px;
    /* タブレットサイズの文字サイズ */
    padding-left: 15px;
    padding-right: 15px;
  }

  

}




/* 画面幅が 480px 以下の場合 (スマートフォンなど) */
@media screen and (max-width: 480px) {

  .button {
    padding: 10px 20px;
    font-size: 12px;
    text-align: center;
    /* テキストを中央揃え */
    padding: 12px 24px;
    font-size: 14px;
    width: 95%;
    /* さらに幅を調整 */


  }

  .button::before {
    width: 300%;
    height: 300%;
  }


  .lead {
    font-size: 14px;
    /* スマートフォンサイズの文字サイズ */
    padding-left: 10px;
    padding-right: 10px;
  }

  .cafe-list  li {
    font-size: 10px;
  }

  item-list li {
    font-size: 10px;
  }
}
