@charset "UTF-8";
body {
  font: 1em/1.231 arial, Helvetica, verdana, YakuHanJP, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "Lucida Grande", "ＭＳ Ｐゴシック", "Osaka", sans-serif;
  color: #000;
  -webkit-font-smoothing: antialiased;
}

ul {
  list-style: none;
}

/*-----------------------------------------------------------------
　　スマホ
-----------------------------------------------------------------*/
#main-bg {
  position: relative;
  width: 100%;
  overflow-x: hidden;
  z-index: 1;
}
#main-bg::before {
  content: "";
  position: absolute;
  background-image: url(../../img/the_shop/bg-sp.webp);
  background-size: 170%;
  background-position: center top;
  background-repeat: repeat;
  width: 100%;
  height: 100%;
  opacity: 0.1;
  z-index: -1;
}

#header {
  text-align: center;
}
#header h1 .main_logo {
  position: relative;
  width: 40vw;
  margin: 3vh auto 0;
  filter: drop-shadow(0px 0px 45px #ffffff);
  z-index: 2;
}
#header #splide_header_sp {
  margin-top: -42px;
  z-index: 1;
  filter: drop-shadow(0px 7px 10px rgba(0, 0, 0, 0.15));
}
#header #splide_header_sp .splide__slide {
  position: relative;
}
#header #splide_header_sp .splide__slide img {
  height: auto;
  width: 100%;
  border-radius: 8px;
  -o-object-fit: cover;
     object-fit: cover;
}
#header #splide_header_sp .splide__slide::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-image: linear-gradient(#ffffff, transparent 40%);
  opacity: 0.4;
}
#header #splide_header_pc {
  display: none;
}
#header .your-class-pagination {
  bottom: -30px;
}
#header .your-class-pagination li:not(:last-child) {
  margin-right: 4vw;
}
#header .your-class-pagination li .splide__pagination__page {
  background: #dbdbdb;
  transition: 0.4s;
}
#header .your-class-pagination li .is-active {
  background: #515151;
  transform: scale(1);
  z-index: 1;
}

h2 {
  margin-bottom: 60px;
}
h2 p {
  text-align: center;
}
h2 p:nth-child(1) {
  font-family: din-condensed-variable, sans-serif;
  font-size: 35px;
  font-weight: 400;
  letter-spacing: 0.35em;
}
h2 p:nth-child(2) {
  color: #696969;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.35em;
}

#about {
  margin: 130px 0 0;
}
#about .about_text {
  width: calc(100vw - 10%);
  margin: 0 auto;
}
#about .about_text p {
  font-size: 16px;
  font-weight: 600;
  line-height: 200%;
  text-align: justify;
  letter-spacing: 0.07em;
}
#about .about_text p .pc {
  display: none;
}

/* Instagram */
#instagram_item {
  margin-top: 60px;
}
#instagram_item .gallery_container_flex {
  margin: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* スマホ: 3列 */
  gap: 10px; /* 画像間の隙間 */
  justify-items: center; /* 各セルの中央寄せ */
  width: 90%;
}
#instagram_item .gallery_container_flex img {
  width: 100%;
  aspect-ratio: 3/4; /* 必要に応じて比率を変更（例:16/9,1/1） */
  -o-object-fit: cover;
     object-fit: cover; /* コンテナに合わせつつ切り取り */
  display: block;
}

#category {
  margin: 130px 0 0;
}
#category .category_wrapper ul {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  width: 90%;
  margin: 0 auto;
}
#category .category_wrapper ul .category_list {
  display: flex;
}
#category .category_wrapper ul .category_list_box {
  position: relative;
  display: flex;
  flex-direction: column;
}
#category .category_wrapper ul .category_list_box img {
  width: 80%;
  margin: 0 auto;
}
#category .category_wrapper ul .category_list_box_text {
  letter-spacing: 0.07em;
  line-height: 120%;
  margin-top: 16px;
}
#category .category_wrapper ul .category_list_box_text h3 {
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 3px;
}
#category .category_wrapper ul .category_list_box_text p {
  font-size: 12px;
  text-align: justify;
}

@media screen and (max-width: 744px) {
  #category .category_wrapper ul .category_list_box::after {
    content: "";
    position: absolute;
    background-color: #dbdbdb;
    height: 1px;
    width: 100%;
    bottom: -20px;
  }
  #category .category_wrapper ul .category_list:nth-child(even) {
    margin: 0 0 40px 20px;
  }
  #category .category_wrapper ul .category_list:nth-child(even):last-child {
    margin: 0 0 0 20px;
  }
  #category .category_wrapper ul .category_list:nth-child(even):last-child .category_list_box::after {
    display: none;
  }
  #category .category_wrapper ul .category_list:nth-child(odd) {
    margin: 0 20px 40px 0;
  }
  #category .category_wrapper ul .category_list:nth-child(odd) .category_list_box::before {
    content: "";
    position: absolute;
    background-color: #dbdbdb;
    height: 100%;
    width: 1px;
    top: 0;
    right: -20px;
  }
  #category .category_wrapper ul .category_list:nth-child(odd):nth-last-child(-n+2) {
    margin: 0 20px 0 0;
  }
  #category .category_wrapper ul .category_list:nth-child(odd):nth-last-child(-n+2) .category_list_box::after {
    display: none;
  }
  #instagram_item {
    /* スマホに最適化されたモーダルの基本スタイル */
  }
  #instagram_item .modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow-y: scroll; /* コンテンツが画面からはみ出た場合、縦スクロールを可能にする */
    background-color: rgba(0, 0, 0, 0.9);
    /* Flexboxでモーダルの中央寄せを確実に実行 */
    display: flex;
    justify-content: center; /* 水平方向の中央寄せ */
    align-items: center; /* 垂直方向の中央寄せ */
  }
  #instagram_item .close-btn {
    margin-left: 95%;
  }
  #instagram_item {
    /* スマホに最適化されたモーダルのコンテンツ */
  }
  #instagram_item .modal-content {
    position: relative;
    width: 80%; /* 画面幅の95%に設定 */
    margin: 30px auto; /* 上下に余白を設定し、中央寄せ */
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  }
  #instagram_item {
    /* テキストを折りたたむためのコンテナ */
  }
  #instagram_item .collapsible-text {
    max-height: 200px; /* 例として最大高さを200pxに設定 */
    overflow-y: hidden; /* デフォルトではスクロールを隠す */
    position: relative;
    transition: max-height 0.3s ease-in-out; /* スムーズなアニメーション */
    /* フェードアウト効果 */
  }
  #instagram_item .collapsible-text::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50px; /* フェードアウトの高さ */
    background: linear-gradient(to top, #fff, rgba(255, 255, 255, 0));
  }
  #instagram_item {
    /* 展開された状態 */
  }
  #instagram_item .collapsible-text.expanded {
    max-height: 500px; /* 展開時の最大高さを設定 (必要に応じて変更) */
    overflow-y: auto; /* 展開時はスクロール可能にする */
    /* フェードアウト効果を非表示にする */
  }
  #instagram_item .collapsible-text.expanded::after {
    display: none;
  }
}
#instagram {
  margin: 130px 0 0;
}
#instagram h2 p {
  position: relative;
  letter-spacing: 0.15em;
  width: -moz-fit-content;
  width: fit-content;
  margin: 0 auto;
  padding-left: 40px;
}
#instagram h2 p::before {
  content: "";
  position: absolute;
  background-image: url(../../img/the_shop/instagram_hicon.svg);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  width: 30px;
  aspect-ratio: 1/1;
  top: 0;
  bottom: 0;
  left: 0;
  margin: auto;
}
#instagram .instagram_wrapper {
  margin-top: 60px;
  width: 90%;
  height: 600px;
  background-color: #515151;
  margin: 0 auto;
}

#news {
  margin: 130px 0 0;
}
#news .news_wrapper {
  width: 90%;
  margin: 0 auto;
}
#news .news_wrapper li {
  padding: 30px 0;
}
#news .news_wrapper li p {
  letter-spacing: 0.08em;
}
#news .news_wrapper li p:nth-child(1) {
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 10px;
}
#news .news_wrapper li p:nth-child(n+2) {
  font-size: 12px;
  line-height: 150%;
}
#news .news_wrapper li:first-child {
  border-top: #dbdbdb 1px solid;
  border-bottom: #dbdbdb 1px solid;
}
#news .news_wrapper li:not(:first-child) {
  border-bottom: #dbdbdb 1px solid;
}

#other-info {
  margin: 130px 0 130px;
}
#other-info .other_wrapper {
  width: 90%;
  margin: 0 auto;
  filter: drop-shadow(0px 7px 10px rgba(0, 0, 0, 0.15));
  background-color: #fff;
  border-radius: 8px;
}
#other-info .other_wrapper img {
  border-radius: 10px 10px 0px 0px;
  -o-object-fit: cover;
     object-fit: cover;
}
#other-info .other_wrapper_box {
  padding: 30px;
}
#other-info .other_wrapper_box h3 {
  margin-bottom: 24px;
}
#other-info .other_wrapper_box h3 p:nth-child(1) {
  font-family: din-condensed-variable, sans-serif;
  font-size: 36px;
  font-weight: 500;
  letter-spacing: 0.12em;
}
#other-info .other_wrapper_box h3 p:nth-child(2) {
  color: #696969;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.3em;
}
#other-info .other_wrapper_box_text {
  font-size: 12px;
  line-height: 150%;
  letter-spacing: 0.08em;
  margin-bottom: 24px;
}
#other-info .other_wrapper_box a {
  display: block;
  width: -moz-fit-content;
  width: fit-content;
  background-color: #000;
  padding: 10px 24px;
  margin: 0 auto;
  border-radius: 8px;
}
#other-info .other_wrapper_box a p {
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 1px 0 0;
}
#other-info .other_wrapper:first-of-type {
  margin-bottom: 40px;
}

footer .inner {
  background-color: #014866;
}
footer .inner a:nth-child(1) {
  padding-top: 3px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
}
footer .inner a:nth-child(2) {
  padding-top: 1px;
}

/*-----------------------------------------------------------------
　　タブレット
-----------------------------------------------------------------*/
@media screen and (min-width: 744px) {
  #main-bg::before {
    background-image: url(../../img/the_shop/bg.webp);
    background-size: 100%;
  }
  #header h1 .main_logo {
    width: 28vw;
    margin: 25px auto 0;
  }
  #header #splide_header_sp {
    display: none;
  }
  #header #splide_header_pc {
    display: block;
    margin-top: -36px;
    z-index: 1;
    filter: drop-shadow(0px 7px 10px rgba(0, 0, 0, 0.15));
  }
  #header #splide_header_pc .splide__slide img {
    border-radius: 10px;
  }
  #header #splide_header_pc .splide__slide::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-image: linear-gradient(#ffffff, transparent 40%);
    opacity: 0.3;
  }
  #header .your-class-pagination {
    bottom: -35px;
  }
  #header .your-class-pagination li:not(:last-child) {
    margin-right: 20px;
  }
  h2 {
    margin-bottom: 60px;
  }
  h2 p:nth-child(1) {
    font-size: 48px;
  }
  h2 p:nth-child(2) {
    font-size: 12px;
  }
  #about {
    margin: 160px 0 0;
  }
  #about .about_text {
    width: calc(100vw - 10%);
  }
  #about .about_text p {
    text-align: center;
    font-size: 16px;
    line-height: 330%;
    letter-spacing: 0.24em;
  }
  #about .about_text p .pc {
    display: block;
  }
  #instagram_item {
    margin-top: 210px;
  }
  #instagram_item .gallery_container_flex {
    grid-template-columns: repeat(4, 1fr); /* タブレット: 4列 */
  }
  #category {
    margin: 210px 0 0;
  }
  #category .category_wrapper ul {
    grid-template-columns: repeat(4, 1fr);
    width: 90%;
  }
  #category .category_wrapper ul .category_list {
    padding: 16px;
  }
  #category .category_wrapper ul .category_list_box {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding-top: 20px;
  }
  #category .category_wrapper ul .category_list_box_text {
    display: flex;
    flex-direction: column;
    flex: 1;
  }
  #category .category_wrapper ul .category_list_box::before {
    position: absolute;
    content: "";
    background-color: #dbdbdb;
    width: 1px;
    height: 100%;
    top: 0;
    right: -16px;
  }
  #category .category_wrapper ul .category_list_box::after {
    position: absolute;
    content: "";
    background-color: #dbdbdb;
    width: 100%;
    height: 1px;
    bottom: -16px;
    left: 0;
  }
}
@media screen and (min-width: 744px) and (max-width: 1024px) {
  #category .category_wrapper ul .category_list:nth-child(4n) .category_list_box::before {
    width: 0;
  }
  #category .category_wrapper ul .category_list:nth-last-child(-n+3) .category_list_box::after {
    height: 0;
  }
}
@media screen and (min-width: 744px) {
  #instagram {
    margin: 210px 0 0;
  }
  #instagram h2 p {
    padding-left: 50px;
  }
  #instagram h2 p::before {
    width: 40px;
  }
  #news {
    margin: 210px 0 0;
  }
  #other-info {
    margin: 210px 0 130px;
  }
  #other-info .workshop {
    display: flex;
    flex-direction: row-reverse;
  }
  #other-info .workshop img {
    width: 50%;
    border-radius: 0 10px 10px 0;
  }
  #other-info .cafe {
    display: flex;
    flex-direction: row;
  }
  #other-info .cafe img {
    width: 50%;
    border-radius: 10px 0 0 10px;
  }
  #other-info .other_wrapper {
    border-radius: 10px;
  }
  #other-info .other_wrapper_box {
    padding: 30px;
  }
  #other-info .other_wrapper_box h3 p:nth-child(1) {
    font-size: 42px;
  }
  #other-info .other_wrapper_box_text {
    margin-bottom: 24px;
  }
  #other-info .other_wrapper_box a {
    padding: 6px 24px;
    margin: 0;
  }
  #other-info .other_wrapper_box a p {
    font-size: 14px;
  }
  #other-info .other_wrapper:first-of-type {
    margin-bottom: 40px;
  }
}
/*-----------------------------------------------------------------
　　デスクトップ
-----------------------------------------------------------------*/
@media screen and (min-width: 1025px) {
  #header h1 .main_logo {
    width: 20%;
    max-width: 300px;
    margin: 20px auto 0;
  }
  #header #splide_header_pc {
    display: block;
    margin-top: -36px;
  }
  #header #splide_header_pc .splide__slide img {
    border-radius: 10px;
  }
  #header .your-class-pagination {
    bottom: -40px;
  }
  h2 {
    margin-bottom: 80px;
  }
  h2 p:nth-child(1) {
    margin-bottom: 8px;
  }
  #category {
    margin: 210px 0 0;
  }
  #category .category_wrapper ul {
    grid-template-columns: repeat(6, 1fr);
    width: calc(100% - 50px);
    max-width: 1300px;
  }
  #category .category_wrapper ul .category_list_box {
    padding-top: 15px;
  }
  #category .category_wrapper ul .category_list_box_text h3 {
    font-size: 15px;
    margin-bottom: 6px;
  }
  #category .category_wrapper ul .category_list_box_text p {
    font-size: 13px;
  }
  #category .category_wrapper ul .category_list:nth-child(6n) .category_list_box::before {
    display: none;
  }
  #category .category_wrapper ul .category_list:nth-last-child(-n+3) .category_list_box::after {
    display: none;
  }
  #instagram h2 p {
    padding-left: 50px;
  }
  #instagram h2 p::before {
    width: 40px;
  }
  #instagram_item {
    margin: 210px 0 0;
  }
  #instagram_item .gallery_container_flex {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }
  #instagram_item {
    /* モーダルの基本スタイル */
  }
  #instagram_item .modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
    /* モーダルのコンテンツ */
  }
  #instagram_item .modal .modal-content {
    position: relative;
    max-width: 900px; /* モーダルの最大幅 */
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    /* 閉じるボタン (変更なし) */
  }
  #instagram_item .modal .modal-content .close-btn {
    color: lab(49.24% 0 -0.01);
    font-size: 40px;
    font-weight: bold;
    position: absolute;
    top: -8px;
    right: 4px;
    cursor: pointer;
    z-index: 1001;
  }
  #instagram_item .modal .modal-content {
    /* ★ここから追加・変更 */
  }
  #instagram_item .modal .modal-content .modal-body {
    display: flex;
    flex-direction: row; /* 要素を横並びにする */
    height: 100%;
    border-radius: 8px;
    overflow: hidden;
    /* 左側の画像コンテナ */
  }
  #instagram_item .modal .modal-content .modal-body .modal-image-container {
    flex: 1; /* 左側を1の比率で確保 */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    /* モーダル内の画像 */
  }
  #instagram_item .modal .modal-content .modal-body .modal-image-container .modal-image {
    max-width: 100%;
    max-height: 100%;
    -o-object-fit: contain;
       object-fit: contain; /* 画像が歪まないようにコンテナに合わせる */
  }
  #instagram_item .modal .modal-content .modal-body {
    /* 右側のテキストコンテナ */
  }
  #instagram_item .modal .modal-content .modal-body .modal-text-container {
    flex: 1; /* 右側も1の比率で確保 */
    padding: 20px;
    overflow-y: auto; /* テキストが多い場合はスクロール可能に */
  }
  #instagram_item .modal .modal-content .modal-body .modal-text-container p {
    font-size: 14px;
    letter-spacing: 0.05em;
    line-height: 1.4;
  }
  #news .news_wrapper {
    width: calc(100% - 50px);
    max-width: 900px;
  }
  #news .news_wrapper li p:nth-child(n+2) {
    font-size: 14px;
  }
  #other-info .other_wrapper {
    width: calc(100% - 50px);
    max-width: 1080px;
  }
  #other-info .other_wrapper_box h3 {
    margin-bottom: 34px;
  }
  #other-info .other_wrapper_box h3 p:nth-child(1) {
    font-size: 48px;
  }
  #other-info .other_wrapper_box_text {
    font-size: 14px;
    line-height: 160%;
  }
  #other-info .other_wrapper:first-of-type {
    margin-bottom: 60px;
  }
  #expandBtn {
    display: none;
  }
}
.insta_img {
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
  transition: box-shadow 0.3s ease-in-out;
}

.insta_img:hover {
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
}

/*-----------------------------------------------------------------
　　デスクトップ ワイド
-----------------------------------------------------------------*//*# sourceMappingURL=the_shop.css.map */