/*
Theme Name: NEAT WEB Theme
Theme URI: https://neat-tokyo.com/
Author: Minoru Kakehi
Description: Twenty Twenty-One Based Custom Theme
Version: 1.0
Template: twentytwentyone
Tags: custom, light, responsive
*/

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root,
.editor-styles-wrapper,
.wp-site-blocks,
ul,
ol {
  --heading--font-family: "Libre Baskerville", /* 欧文専用 */ "Hiragino Mincho ProN", /* macOSの明朝 */ "Yu Mincho",
    /* Windowsの明朝 */ "YuMincho", /* 一部のWindows用別名 */ "MS PMincho", /* 古いWindows用明朝 */ "Noto Serif JP",
    /* Googleの日本語明朝フォント（AndroidやChrome環境に強い） */ serif; /* 汎用フォールバック */

  --global--font-secondary: "Libre Baskerville", /* 欧文専用 */ "Hiragino Mincho ProN", /* macOSの明朝 */ "Yu Mincho",
    /* Windowsの明朝 */ "YuMincho", /* 一部のWindows用別名 */ "MS PMincho", /* 古いWindows用明朝 */ "Noto Serif JP",
    /* Googleの日本語明朝フォント（AndroidやChrome環境に強い） */ serif; /* 汎用フォールバック */

  --global--font-primary: "Libre Baskerville", /* 欧文専用 */ "Hiragino Mincho ProN", /* macOSの明朝 */ "Yu Mincho",
    /* Windowsの明朝 */ "YuMincho", /* 一部のWindows用別名 */ "MS PMincho", /* 古いWindows用明朝 */ "Noto Serif JP",
    /* Googleの日本語明朝フォント（AndroidやChrome環境に強い） */ serif; /* 汎用フォールバック */
}

body {
  font-family: "Libre Baskerville", /* 欧文専用 */ "Hiragino Mincho ProN", /* macOSの明朝 */ "Yu Mincho",
    /* Windowsの明朝 */ "YuMincho", /* 一部のWindows用別名 */ "MS PMincho", /* 古いWindows用明朝 */ "Noto Serif JP",
    /* Googleの日本語明朝フォント（AndroidやChrome環境に強い） */ serif; /* 汎用フォールバック */
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: revert;
}
h1,
.h1,
h2,
.h2,
h3,
.h3,
h4,
.h4,
h5,
.h5,
h6,
.h6 {
  font-family: "Libre Baskerville", /* 欧文専用 */ "Hiragino Mincho ProN", /* macOSの明朝 */ "Yu Mincho",
    /* Windowsの明朝 */ "YuMincho", /* 一部のWindows用別名 */ "MS PMincho", /* 古いWindows用明朝 */ "Noto Serif JP",
    /* Googleの日本語明朝フォント（AndroidやChrome環境に強い） */ serif !important; /* 好きなフォントに変更 */
}

html {
  font-size: 16px;
}

@media (max-width: 599px) {
  html {
    font-size: 12px;
  }
}
.sp {
  display: none;
}
@media (max-width: 599px) {
  .sp {
    display: block;
  }
}

.pc {
  display: block;
}
@media (max-width: 599px) {
  .pc {
    display: none;
  }
}

/* header */

header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  display: flex;
  padding: 20px 20px 0 20px;
  justify-content: space-between; /* 左・中央・右を端に配置 */
  align-items: center; /* 縦中央揃え */
}
.header-top {
  background-color: transparent;
}
.header-top {
  transform: none !important;
  transition: none !important;
}

.header-top a:hover {
  opacity: 0.5;
}

.header-sub {
  background-color: white;
  padding-bottom: 20px;
}

.header-logo {
  font-size: inherit;
}
.header-logo a:hover {
  opacity: 0.5;
}

header img {
  height: 43px;
}

header .menu {
  font-size: 2.3rem;
  line-height: 2.3rem;
  cursor: pointer;
  font-family: "Spectral", serif;
  font-weight: 500;
  color: #000;
}

header .menu:hover {
  opacity: 0.5;
}

.header-menu {
  display: flex;
  gap: 40px; /* 各メニュー項目の間隔 */
  list-style: none;
  margin: 0;
  padding: 0;
  justify-content: center;
  flex-grow: 1;
  text-align: center;
  font-family: "Spectral", serif;
  font-size: 1em;
  font-weight: 500;
}

.header-menu li a {
  text-decoration: none;
  color: black;
  font-weight: 500;
  transition: color 0.3s ease;
}

.header-menu li a:hover {
  opacity: 0.5;
}

.active-page,
li.active-page a {
  color: red;
  text-decoration: line-through;
}

li.active-page a:hover {
  opacity: 1;
}

.header-menu li {
  display: inline-block;
}

.hide-header {
  transform: translateY(-100%);
  transition: transform 0.5s ease;
}

.header-top .header-menu {
  display: none;
}

header {
  transition: transform 0.5s ease;
}

@media (max-width: 599px) {
  .hide-header {
    transform: none;
    transition: none;
  }

  header img {
    height: 30px;
  }
  header .menu {
    font-size: 2.4rem;
  }

  .header-sub {
    background-color: transparent;
  }

  .header-menu {
    display: block; /* 縦並びにする */
    font-size: 1.4em; /* フォントサイズ拡大 */
    position: fixed; /* 変更 */
    top: 70px;
    left: 20px;
    z-index: 2; /* ヘッダーより上に */
    transform: translateX(0); /* 表示状態 */
    transition: transform 0.5s ease;
  }
  .header-menu li a {
    font-weight: inherit;
  }
  .header-menu li {
    margin-bottom: 0.4em; /* 間隔2em */
    text-align: left;
    display: block;
  }

  .header-menu li:last-child {
    margin-bottom: 0; /* 最後のアイテムには余白なし */
  }

  .hide-header .header-menu {
    transform: translateX(-130%);
  }
}
section {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  position: relative;
}

section:nth-of-type(1) {
  margin-top: 50px;
}

.home section:nth-of-type(1) {
  margin-top: 0px;
}

section {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 2s ease, transform 1s ease;
  visibility: hidden;
}

section.visible {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}

.block {
  flex: 1 1 50%;
  position: relative;
}

.block img {
  width: 100%;
  height: auto;
  display: block;
}

.title {
  font-family: "Playfair Display", serif;
  color: red;
  font-size: 6rem;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  text-align: center;
  width: auto;
  text-decoration: none;
}

.title:hover {
  opacity: 0.5;
}

.text-block {
  width: 50%;
  flex: 1 1 50%;
  word-wrap: break-word;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;
  font-family: "Libre Baskerville", serif;
  text-align: left;
}

.text-inner {
  line-height: 2em;
  font-size: 1.7vw;
  font-weight: 400;
}

.text-inner a {
  color: #000;
}

.text-inner h3 {
  font-size: 1.2em;
  margin-bottom: 20px;
  font-weight: bold;
  font-family: "Libre Baskerville", serif;
}

.text-inner p {
  margin: 0;
  font-size: 1em;
  font-weight: bold;
  line-height: 2em;
}

.full-width {
  position: relative;
}

.full-width .shop-image-block {
  width: 100%;
  height: auto;
  display: block;
  overflow: hidden; /* はみ出た画像を隠す */
}

.full-width img {
  width: 100%;
  height: auto;
  display: block;
}

.home .block img,
.home .text-inner {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 2s ease, transform 2s ease;
}
.home .title {
  opacity: 0;
  transform: translate(-50%, -51%);
  transition: transform 2s ease; /* opacityのtransitionを除外 */
  font-family: "Spectral", serif;
}

.home .block img.visible,
.home .text-inner.visible {
  opacity: 1;
  transform: translateY(0);
}
.home .title.visible {
  opacity: 1;
  transform: translate(-50%, -50%);
}

.home .title.visible:hover {
  opacity: 0.5;
  transition: none !important;
}

.home .text-inner.visible a:hover {
  opacity: 0.5;
  transition: none !important;
}

footer {
  padding: 20px 0 20px 0;
  font-size: 0.8rem;
  font-weight: 500;
  position: relative;
}

.footer-columns {
  display: flex;
  align-items: flex-end;
  gap: 20px;
  padding: 50px 5% 50px 5%;
  /*font-family: "Times New Roman", Times, serif;*/
  font-family: "Spectral", serif;
  font-weight: 400;
  font-style: normal;
}

.footer-column {
  width: 12em;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 10px;
}

.footer-column p {
  margin: 0;
  font-size: 1.1rem;
}

.footer-column a {
  text-decoration: none;
  color: inherit;
}

.footer-column a:hover {
  opacity: 0.5;
}

.footer-copy {
  text-align: right;
  margin-top: -77px;
  font-size: 0.8rem;
  margin-right: 5%;
}
@media screen and (min-width: 600px) and (max-width: 1023px) {
  section .title {
    font-size: 5rem;
  }
  .title {
    font-size: 5rem;
  }

  footer {
    padding: 50px 0 10px 0;
    font-size: 0.8rem;
    font-weight: 500;
    position: relative;
  }

  .footer-columns {
    display: block;
    align-items: flex-end;
    gap: 20px;
    padding: 20px 5% 20px 5%;
  }

  .footer-column {
    width: 100%;
    display: block;
    flex-direction: column;
    justify-content: flex-end;
    gap: 10px;
  }

  .footer-column p {
    margin: 5px 0;
    font-size: 1.2rem;
  }

  .footer-column p.active-page {
    color: red;
    text-decoration: line-through;
  }

  .footer-column:last-child p {
    margin: 28px 0 0px 0;
  }

  .footer-copy {
    text-align: center;
    margin-top: 30px;
    width: 100%;
    font-size: 0.8rem;
    position: relative;
  }
}

@media (max-width: 599px) {
  section {
    position: relative;
    display: block;
  }

  section .title {
    position: absolute;
    font-size: 4rem;
    top: 25%;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  section:nth-of-type(1) {
    margin-top: 95px;
  }
  section:nth-of-type(2) .title {
    top: 25%;
    /* adjust as needed */
  }
  section:nth-of-type(3) .title,
  section:nth-of-type(5) .title {
    top: 25%;
    /* adjust as needed */
  }

  section:nth-of-type(5) .title {
    top: 50%;
    /* adjust as needed */
  }

  section:nth-of-type(4) .title {
    /*top: 75%;*/
    /* adjust as needed */
  }

  .title {
    font-size: 4rem;
  }

  .home .title {
    opacity: 0;
    transform: translate(-50%, -51%);
    transition: opacity 500ms ease, transform 500ms ease;
  }

  .home .title.visible {
    opacity: 1;
    transform: translate(-50%, -50%);
  }

  footer {
    padding: 50px 0 10px 0;
    font-size: 0.8rem;
    font-weight: 500;
    position: relative;
  }

  .footer-columns {
    display: block;
    align-items: flex-end;
    gap: 20px;
    padding: 20px 5% 20px 5%;
  }

  .footer-column {
    width: 100%;
    display: block;
    flex-direction: column;
    justify-content: flex-end;
    gap: 10px;
  }

  .footer-column p {
    margin: 5px 0;
    font-size: 1.5rem;
  }

  .footer-column p.active-page {
    color: red;
    text-decoration: line-through;
  }

  .footer-column:last-child p {
    margin: 28px 0 0px 0;
  }

  .footer-copy {
    text-align: center;
    margin-top: 30px;
    width: 100%;
    font-size: 1rem;
    position: relative;
  }
}
@media (max-width: 599px) {
  .block,
  .text-block {
    width: 100%;
    overflow: hidden; /* はみ出た画像を隠す */
  }

  .text-inner {
    line-height: 2em;
    font-size: 3.8vw;
    font-weight: 400;
  }

  .home .block,
  .home .text-block {
    flex: 1 1 100%;
    width: 100%;
    min-height: 100vh; /* 画面の高さに合わせる */
    position: relative; /* img を絶対位置で制御するため */
    overflow: hidden; /* はみ出た画像を隠す */
  }

  .home .text-block {
    min-height: 0; /* 画面の高さに合わせる */
    margin: 0px 0;
  }

  .home .block img {
    position: absolute; /* 親要素に合わせて配置 */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* 中央寄せ */
    min-width: 100%;
    min-height: 100%;
    object-fit: cover; /* 縦横比を保って全体を覆う */
    opacity: 0;
    transition: opacity 2s ease, transform 2s ease;
  }

  .home .block img.visible {
    opacity: 1;
    transform: translate(-50%, -50%);
  }

  /*

.home .block img,
.home .text-inner {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 2s ease, transform 2s ease;
}
.home .block img.visible,
.home .text-inner.visible {
  opacity: 1;
  transform: translateY(0);
}

*/

  .home .text-inner {
    line-height: 2em;
    font-size: 3.8vw;
    font-weight: 400;
  }
  .home .text-inner.sp_tate {
    writing-mode: vertical-rl;

    font-size: 5vw;
    text-align: center; /* ← left → center に変更 */
    margin: auto; /* ← 縦書きでも中央寄せしやすくする */
  }
}
.menu-overlay {
  position: fixed;
  top: 0;
  right: 0;
  width: 30%;
  min-width: 400px;
  height: 100%;
  background: white;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  transition: transform 0.5s ease;
  padding: 23px 40px 40px 40px;
  box-sizing: border-box;
  font-weight: 500;
  transform: translateX(100%); /* ← 最初は右に100%分隠れる */
}

.menu-overlay.open {
  transform: translateX(0); /* ← 表示時に元の位置に戻す */
}

.menu-overlay .top {
  font-size: 2.6rem;
  margin-bottom: 0px;
  width: 8rem;
  z-index: 10;
  cursor: pointer;
  font-family: "Spectral", serif;
}

.menu-overlay a:hover {
  opacity: 0.5;
}

.close_btn {
  font-size: 2.4rem;
  line-height: 2.4rem;
  cursor: pointer;
  font-family: "Spectral", serif;
}

.close_btn:hover {
  opacity: 0.5;
}

.middle-section {
  display: flex;
  flex-direction: column;
  gap: 30px; /* right-linksとleft-linksの間隔 */
  margin-top: -2.5rem;
  font-family: "Spectral", serif;
}

.right-links {
  text-align: right;
  font-size: 1.8rem;
}

.left-links {
  text-align: left;
  font-size: 1.7rem;
}

.bottom {
  font-size: 1rem;
  margin-top: auto;
}

.menu-overlay a {
  text-decoration: none;
  color: black;
  display: block;
  margin: 2px 0;
}

.menu-collection-title {
  margin-bottom: 10px;
  font-size: 1.1em;
  font-weight: 500;
  font-family: libre Baskerville, serif;
}
@media (max-width: 599px) {
  .menu-overlay {
    width: 100%;
    min-width: 400px;
    padding-top: 20px;
  }
  .menu-overlay .top {
    font-size: 2.1rem;
    margin-bottom: 0px;
  }
  .middle-section {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: -3.2rem;
  }
  .right-links {
    text-align: right;
    font-size: 2.25rem;
    line-height: 3.5rem;
  }

  .left-links {
    text-align: left;
    font-size: 2.1rem;
    line-height: 3.3rem;
  }
  .bottom {
    margin-top: auto;
    font-size: 1.1rem;
    line-height: 1.5em;
  }
  .menu-collection-title {
    font-size: 1.2em;
    font-weight: 500;
  }
}
/**
 * collection  
 */
.collection-section:nth-of-type(1) {
  margin-top: 130px;
}

.collection-section.gap-section {
  margin-bottom: 0;
}

.small-block {
  width: 45%;
  margin: 0 auto;
  position: relative;
  flex: none; /* ← 追加 */
}

.small-block img {
  width: 100%;
}

.gap-section {
  margin-bottom: 1vw;
}

.img-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 2; /* 画像比率に応じて調整（例：横3 : 縦2） */
  background-color: #fff; /* ロード中に白背景 */
}

.img-wrapper img.main-image {
  width: 100%;
  height: auto;
  display: block;
}

.img-wrapper .preloader {
  width: 48px;
  height: 48px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  pointer-events: none;
}

.collection_movie {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: auto;
  margin-bottom: 1vw;
}

@media (max-width: 599px) {
  .collection-section:nth-of-type(1) {
    margin-top: 95px;
  }

  .small-block {
    width: 100%;
  }
}

.collection-section .text-block {
  padding: 80px 20px 0 20px;
}

/* collection end */

/* products */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3px;
  padding: 130px 0 0px 0;
  margin-bottom: -76px;
}
.product-detail-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3px;
  padding: 40px 0 0 0;
}

.product-item {
  text-align: center;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s ease forwards;
}

.product-item a {
  text-decoration: none;
  color: inherit;
}
@media screen and (min-width: 600px) and (max-width: 1023px) {
  .product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3px;
    padding: 95px 0 0px 0;
    margin-bottom: -34px;
  }

  .product-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3px;
    padding: 0px 0 0 0;
  }
}

@media (max-width: 599px) {
  .product-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3px;
    padding: 95px 0 0px 0;
    margin-bottom: -34px;
  }

  .product-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3px;
    padding: 0px 0 0 0;
  }
}

.product-item:nth-child(-n + 4) {
  animation-delay: 0.1s;
}
.product-item:nth-child(n + 5):nth-child(-n + 8) {
  animation-delay: 0.3s;
}
.product-item:nth-child(n + 9):nth-child(-n + 12) {
  animation-delay: 0.5s;
}
.product-item:nth-child(n + 13):nth-child(-n + 16) {
  animation-delay: 0.7s;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.product-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background-color: #fff;
}

.product-thumb .main-image,
.product-thumb .sub-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  display: block;
  transition: opacity 0.3s ease;
}

.product-thumb .sub-image {
  opacity: 0;
  z-index: 2;
}

.product-thumb:hover .sub-image {
  opacity: 1;
}

.product-thumb:hover .main-image {
  opacity: 0;
}

.product-thumb img {
  width: 100% !important;
  max-width: 100% !important;
  height: auto;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
}

.product-thumb .preloader {
  width: 48px;
  height: 48px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  pointer-events: none;
}

.product-caption {
  padding: 30px 0 70px;
}

a .product-caption:hover {
  opacity: 0.5;
}

.product-name {
  font-size: 0.85rem;
  margin-top: 10px;
  font-family: "Libre Baskerville", serif;
}

.product-status {
  font-size: 0.85rem;
}
@media (max-width: 599px) {
  .product-thumb:hover .sub-image {
    opacity: 0;
  }

  .product-thumb:hover .main-image {
    opacity: 1;
  }

  .product-caption {
    padding: 10px 0 30px;
  }

  .product-name {
    font-size: 0.85rem;
    margin-top: 10px;
    font-family: "Libre Baskerville", serif;
  }

  .product-status {
    font-size: 0.85rem;
    color: #555;
  }
}
/* products end */

/* product detail */
.product-detail-wrapper {
  margin-top: 0px;
  padding: 0px 100px 0 0;
  display: flex;
  position: relative;
  box-sizing: border-box;
}
.product-detail-images,
.product-detail-info {
  width: 50%;
  top: 0px;
  overflow: hidden;
}
.product-detail-info {
  width: 40%;
  position: relative;
  height: auto;
  overflow: visible;
  margin: 0px auto 0 auto;
  max-width: 600px;
}

.product-detail-info .text-inner {
  position: sticky; /* stickyではなくrelativeに変更 */
  top: 0px;
  transition: top 0.1s linear;
  padding-top: 55px;
}

.product-detail-images {
  height: auto;
  width: 55%;
}

.product-detail-sp-images {
  display: none;
}

.product-detail-images img {
  width: 100%;
  margin-bottom: 0px;
  display: block;
}
.product-detail-images img {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.product-detail-images img.visible {
  opacity: 1;
  transform: translateY(0);
}

.back a:hover {
  opacity: 0.5;
}

.product-detail-info h1 {
  font-size: 1.5rem;
  margin-bottom: 1.8rem;
  font-family: "Libre Baskerville", /* 欧文専用 */ "Hiragino Mincho ProN", /* macOSの明朝 */ "Yu Mincho",
    /* Windowsの明朝 */ "YuMincho", /* 一部のWindows用別名 */ "MS PMincho", /* 古いWindows用明朝 */ "Noto Serif JP",
    /* Googleの日本語明朝フォント（AndroidやChrome環境に強い） */ serif; /* 汎用フォールバック */
  font-weight: 600;
}

.product-detail-info p {
  font-size: 0.9rem;
  margin-bottom: 1.4rem;
  font-weight: 500;
}
.product-detail-info p.p_description {
  font-size: 0.82rem;
  margin: 0px 0;
  padding: 20px 0;
  line-height: 1.9em;
}
.detail_sub_title {
  position: relative;
  padding: 0.5rem 0;
  margin-bottom: 0;
}

.detail_sub_title h3 {
  font-weight: normal;
  color: #000;
  font-weight: 500;
  font-size: 1.3rem;
  margin-bottom: 0;
}

.detail_sub_title .icon_info {
  position: absolute;
  top: 35%;
  right: 11px;
  width: 13px;
}

.detail_stock_list_box {
  border-top: 1px #000 solid;
  padding: 0px 0;
  border-bottom: 1px #000 solid;
  position: relative;
  margin-top: 2rem;
}
.store-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 1rem 0;
}

.store-list ul {
  list-style-type: none;
  margin-left: 0;
  padding-left: 0;
}

.store-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  height: 1.3rem;
  margin-bottom: 0.5rem;
  font-family: "Libre Baskerville", /* 欧文専用 */ "Hiragino Mincho ProN", /* macOSの明朝 */ "Yu Mincho",
    /* Windowsの明朝 */ "YuMincho", /* 一部のWindows用別名 */ "MS PMincho", /* 古いWindows用明朝 */ "Noto Serif JP",
    /* Googleの日本語明朝フォント（AndroidやChrome環境に強い） */ serif !important; /* 好きなフォントに変更 */
}

.store-name a {
  color: inherit;
}

.you-may-also-like {
  margin: 80px auto -75px auto;
  width: 100%;
}

.you-may-also-like h2 {
  text-align: center;
  font-size: 1.3rem;
  font-weight: 500;
}

.more-items-box {
  width: 100%;
  overflow: hidden;
}

.more-items-box-sp {
  display: none;
}

/* タブレット表示（600〜1023px） */
@media (min-width: 600px) and (max-width: 1023px) {
  .product-detail-images {
    display: none;
  }

  .product-detail-wrapper {
    margin-top: 0px;
    padding: 0px 0 0px;
    width: 100%;
    display: block;
    position: relative;
    box-sizing: border-box;
    overflow: hidden;
  }

  .product-detail-images,
  .product-detail-info {
    width: 100%;
    top: 0;
    overflow: visible;
  }

  .product-detail-info {
    position: relative;
    height: auto;
    overflow: visible;
    max-width: none;
    margin: 20px 5%;
    width: 90%;
  }

  .product-detail-info .text-inner {
    line-height: 2em;
    font-size: 3.8vw;
    font-weight: 400;
  }

  .product-detail-info .text-inner {
    position: relative; /* stickyではなくrelativeに変更 */
    top: 0;
    transition: top 0.1s linear;
    width: 100%;
    padding-top: 0;
  }

  .product-detail-sp-images {
    width: 100%;
    height: auto;
    display: block;
    position: relative;
    min-height: 113vw;
  }
  .product-detail-info h1 {
    font-size: 1.6rem;
    margin-bottom: 2rem;
    margin-top: 2rem;
  }

  .product-detail-info p {
    font-size: 1.2rem;
  }
  .product-detail-info p.p_description {
    font-size: 1.05rem;
    margin: 0px 0;
    padding: 20px 0;
    line-height: 1.9em;
  }
  .detail_sub_title h3 {
    font-size: 1.5rem;
  }
  .store-list li {
    font-size: 1.2rem;
    margin-bottom: 1rem;
  }

  .you-may-also-like {
    margin: 60px auto -35px auto;
    width: 100%;
  }

  .you-may-also-like h2 {
    margin-bottom: 2em;
  }

  .more-items-box {
  }

  .more-items-box-sp {
    display: none;
    width: 100%;
    overflow: hidden;
    padding-top: 0px;
  }
}

@media screen and (max-width: 599px) {
  .product-detail-images {
    display: none;
  }
  .product-detail-wrapper {
    margin-top: 0px;
    padding: 0px 0 0px;
    width: 100%;
    display: block;
    position: relative;
    box-sizing: border-box;
    overflow: hidden;
  }

  .product-detail-images,
  .product-detail-info {
    width: 100%;
    top: 0;
    overflow: visible;
  }

  .product-detail-info {
    position: relative;
    height: auto;
    overflow: visible;
    max-width: none;
    margin: 20px 5%;
    width: 90%;
  }

  .product-detail-info .text-inner {
    position: relative; /* stickyではなくrelativeに変更 */
    top: 0;
    transition: top 0.1s linear;
    width: 100%;
    padding-top: 0;
  }

  .product-detail-sp-images {
    width: 100%;
    height: auto;
    display: block;
    position: relative;
    min-height: 113vw;
  }

  .product-detail-info h1 {
    font-size: 1.6rem;
    margin-bottom: 2rem;
    margin-top: 2rem;
  }

  .product-detail-info p {
    font-size: 1.2rem;
  }
  .product-detail-info p.p_description {
    font-size: 1.05rem;
    line-height: 1.8rem;
  }
  .detail_sub_title h3 {
    font-size: 1.5rem;
  }
  .store-list li {
    font-size: 1.05rem;
    margin-bottom: 1rem;
  }

  .you-may-also-like {
    margin: 60px auto -35px auto;
    width: 100%;
  }

  .you-may-also-like h2 {
    margin-bottom: 2em;
  }
  .more-items-box {
  }

  .more-items-box-sp {
    display: none;
    width: 100%;
    overflow: hidden;
    padding-top: 0px;
  }
}

/*project  */

.project-list {
  display: flex;
  flex-direction: column;
  gap: 60px;
  padding: 0px 5% 0 5%;
  margin-bottom: -23px;
}

.project-item {
  text-align: center;
}

section.project-item:nth-of-type(1) {
  margin-top: 130px;
}
.project-content {
  width: 80%;
  margin: 0 auto;
  padding: 0 20px 20px 20px;
  box-sizing: border-box;
  max-width: 1200px;
}
.project-item img {
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

.project-caption {
  margin-top: 2rem;
  /* font-family: "Libre Baskerville", serif; */
  font-size: 1rem;
  text-align: left;
  font-weight: 500;
}
/* タブレット表示（600〜1023px） */
@media (min-width: 600px) and (max-width: 1023px) {
  .project-content {
    width: 100%;
    margin: 0 auto;
    padding: 0 20px 20px 20px;
    box-sizing: border-box;
  }
}

@media screen and (max-width: 599px) {
  .project-list {
    display: flex;
    flex-direction: column;
    gap: 60px;
    padding: 0px 5% 0px 5%;
    margin-bottom: -30px;
  }
  section.project-item:nth-of-type(1) {
    margin-top: 95px;
  }
  .project-item {
    text-align: center;
  }
  .project-content {
    width: 100%;
    margin: 0 auto;
    padding: 0px 0 30px 0;
    box-sizing: border-box;
    max-width: 1200px;
  }
  .project-caption {
    margin-top: 2rem;
    font-size: 1.2rem;
    text-align: left;
    font-weight: 500;
    margin-left: 0;
  }
}
/* project end */

/* project detail */
.project-detail-wrapper {
  margin-top: 0px;
  padding: 0px 100px 0 0;
  display: flex;
  position: relative;
  box-sizing: border-box;
}
.project-detail-images,
.project-detail-info {
  width: 55%;
  overflow: hidden;
}
.project-detail-images {
  height: auto;
  width: 55%;
}

.project-detail-info {
  width: 40%;
  position: relative;
  height: auto;
  overflow: visible;
  margin: 0px auto 0 auto;
  max-width: 600px;
}
.project-detail-info p {
  font-size: 1rem;
  margin-bottom: 1.4rem;
  font-weight: 600;
  line-height: 2.6rem;
  text-align: justify;
}

.project-detail-info .back {
  font-size: 0.9rem;
  margin-top: 0rem;
  margin-bottom: 1.4rem;
  font-weight: 500;
  line-height: 2rem;
}

.project-detail-info h1 {
  font-size: 1.5rem;
  margin-bottom: 1.8rem;
  font-weight: 600;
  font-family: "Libre Baskerville", /* 欧文専用 */ "Hiragino Mincho ProN", /* macOSの明朝 */ "Yu Mincho",
    /* Windowsの明朝 */ "YuMincho", /* 一部のWindows用別名 */ "MS PMincho", /* 古いWindows用明朝 */ "Noto Serif JP",
    /* Googleの日本語明朝フォント（AndroidやChrome環境に強い） */ serif; /* 汎用フォールバック */
}

.project-detail-info .text-inner {
  position: sticky; /* stickyではなくrelativeに変更 */
  top: 0;
  transition: top 0.1s linear;
  width: 100%;

  padding-top: 55px;
}

.project-detail-images {
  height: auto;
  display: block;
}
.project-detail-sp-images {
  display: none;
}
.project-detail-images img {
  width: 100%;
  margin-bottom: 0px;
  display: block;
}
.project-detail-images img {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.project-detail-images img.visible {
  opacity: 1;
  transform: translateY(0);
}

.other-projects {
  margin: 80px auto -40px auto;
  width: 100%;
}

.other-projects h2 {
  text-align: center;
  font-size: 1.3rem;
  font-weight: 500;
}

.project-detail-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center; /* ← 中央寄せ */
  grid-template-columns: repeat(4, 1fr);
  gap: 3px;
  padding: 40px 0;
}

.project-item {
  text-align: center;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s ease forwards;
}

.project-item a {
  color: inherit;
}

.project-more-item {
  text-align: center;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s ease forwards;
  width: 25%;
}

.project-more-item a {
  text-decoration: none;
  color: inherit;
}

/* タブレット表示（600〜1023px） */
@media (min-width: 600px) and (max-width: 1023px) {
  .project-detail-images {
    display: none;
  }
  .project-detail-wrapper {
    margin-top: 0px;
    padding: 0px 0 0px;
    width: 100%;
    display: block;
    position: relative;
    box-sizing: border-box;
    overflow: hidden;
  }

  .project-detail-images,
  .project-detail-info {
    width: 100%;
    top: 0;
    overflow: visible;
  }

  .project-detail-info {
    position: relative;
    height: auto;
    overflow: visible;
    max-width: none;
    margin: 20px 5%;
    width: 90%;
  }
  .project-detail-info .back {
    font-size: 1.2rem;
  }
  .project-detail-info .text-inner {
    position: relative; /* stickyではなくrelativeに変更 */
    top: 0px;
    width: 100%;
    padding-top: 0px;
    transition: top 0.1s linear;
  }

  .project-detail-sp-images {
    width: 100%;
    height: auto;
    display: block;
    position: relative;
    min-height: 113vw;
  }

  .project-detail-info h1 {
    font-size: 1.6rem;
    margin-top: 2rem;
    margin-bottom: 2rem;
    font-weight: 600;
  }

  .project-detail-info p {
    font-size: 1.2rem;
    margin-bottom: 1.4rem;
    font-weight: 600;
    line-height: 2.4rem;
    text-align: justify;
  }

  .other-projects {
    margin: 20px auto -35px auto;
    width: 100%;
  }
  .other-projects h2 {
    margin-bottom: 2em;
  }
  .project-item {
    width: auto;
  }
  .project-more-item {
    width: auto;
    margin-bottom: 30px;
  }
  .project-detail-grid {
    display: grid;
    flex-wrap: wrap;
    justify-content: center; /* ← 中央寄せ */
    grid-template-columns: repeat(2, 1fr);
    gap: 3px;
    padding: 0px 0;
  }
}

@media screen and (max-width: 599px) {
  .project-detail-images {
    display: none;
  }
  .project-detail-wrapper {
    margin-top: 0px;
    padding: 0px 0 0px;
    width: 100%;
    display: block;
    position: relative;
    box-sizing: border-box;
    overflow: hidden;
  }

  .project-detail-images,
  .project-detail-info {
    width: 100%;
    top: 0;
    overflow: visible;
  }

  .project-detail-info {
    position: relative;
    height: auto;
    overflow: visible;
    max-width: none;
    margin: 20px 5%;
    width: 90%;
  }
  .project-detail-info .back {
    font-size: 1.2rem;
  }
  .project-detail-info .text-inner {
    position: relative; /* stickyではなくrelativeに変更 */
    top: 0px;
    width: 100%;
    padding-top: 0px;
    transition: top 0.1s linear;
  }

  .project-detail-sp-images {
    width: 100%;
    height: auto;
    display: block;
    position: relative;
    min-height: 113vw;
  }

  .project-detail-info h1 {
    font-size: 1.6rem;
    margin-top: 2rem;
    margin-bottom: 2rem;
    font-weight: 600;
  }

  .project-detail-info p {
    font-size: 1.2rem;
    margin-bottom: 1.4rem;
    font-weight: 600;
    line-height: 2.4rem;
    text-align: justify;
  }

  .other-projects {
    margin: 20px auto -35px auto;
    width: 100%;
  }
  .other-projects h2 {
    margin-bottom: 2em;
  }
  .project-item {
    width: auto;
  }
  .project-more-item {
    width: auto;
  }

  .project-detail-grid {
    display: grid;
    flex-wrap: wrap;
    justify-content: center; /* ← 中央寄せ */
    grid-template-columns: repeat(2, 1fr);
    gap: 3px;
    padding: 0px 0;
  }
}
/*shop page  */
/* shop page styles */
.shop-section {
  padding: 80px 5% 0 5%;
}

section.shop-section:last-of-type {
  padding: 80px 5% 0 5%;
  margin-bottom: -6px;
}

.shop-img {
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 20px;
}
.shop-title-box {
  position: absolute;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  top: 0;
  left: 0;
  pointer-events: none;
  text-align: center;
}
.shop-title-white {
  font-size: 4vw;
  margin-bottom: 1.4rem;
  line-height: 1.8em;
  font-weight: 500;
  top: 30%;
  color: #ff0000;
  pointer-events: none;
}

.slider-loader img {
  width: 35px;
  height: 35px;
}

.shop-img {
  position: relative;
  min-height: 30vw;
}
.shop-text-box {
  width: 100%;
}
.shop-name {
  font-size: 1rem;
  margin-bottom: 1.4rem;
  font-weight: 500;
  font-family: "Libre Baskerville", /* 欧文専用 */ "Hiragino Mincho ProN", /* macOSの明朝 */ "Yu Mincho",
    /* Windowsの明朝 */ "YuMincho", /* 一部のWindows用別名 */ "MS PMincho", /* 古いWindows用明朝 */ "Noto Serif JP",
    /* Googleの日本語明朝フォント（AndroidやChrome環境に強い） */ serif; /* 汎用フォールバック */
}

.shop-name a:hover {
  opacity: 0.5;
}

.shop-info1 {
  font-size: 0.85rem;
}
@media screen and (max-width: 599px) {
  section.shop-section:nth-of-type(1) {
    margin-top: 95px;
  }
  .shop-section {
    padding: 0px 5% 80px 5%;
  }
  section.shop-section:last-of-type {
    padding: 0px 5% 0px 5%;
  }

  .shop-img {
    position: relative;
    min-height: 60vw;
    margin-bottom: 0;
  }
  .shop-title-box {
    height: calc(100% - 35px);
  }
  .shop-title-white {
    font-size: 6vw;
    margin-bottom: 0;
    line-height: 1.8em;
    font-weight: 500;
    top: auto;
    text-align: center;
  }
  .shop-name {
    font-size: 1.2rem;
    margin-bottom: 1.4rem;
    font-weight: 500;
  }
  .shop-info1 {
    font-size: 0.85rem;
  }
}
/* shop page end */

/* about page */

.about-section {
  padding: 80px 5% 0 5%;
}

.about-img {
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 20px;
}

.about-img img {
  width: 60%;
  max-width: 1000px;
}

.about-title {
  font-weight: 600;
  font-size: 1.8rem;
  z-index: 1;
  position: relative;
  margin-bottom: 2.5rem;
}
.about-title::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1.4rem;
  height: 2px;
  background: black; /* 境界線の色 */
  z-index: -1; /* 背景に送る */
  width: 100vw;
  transform: translateX(-5vw); /* セクションのpaddingと逆方向に伸ばす */
}

.about-text {
  font-size: 1.5rem;
  margin-bottom: 20px;
  font-weight: 600;
}

@media screen and (max-width: 599px) {
  section.about-section:nth-of-type(1) {
    margin-top: 40px;
  }
  .about-img {
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: 20px;
  }

  .about-img img {
    width: 100%;
  }

  .about-title {
    font-size: 1.8rem;
    z-index: 1;
    position: relative;
    margin-bottom: 2.5rem;
    margin-top: 2rem;
  }
  .about-text {
    font-size: 1.2rem;
    margin-bottom: 20px;
    line-height: 2.5rem;
    font-weight: 600;
    text-align: justify;
  }
}

.privacypolicybox {
  width: 80%;
  margin: 100px auto 50px;
  padding: 20px;
  box-sizing: border-box;
  max-width: 800px;
  font-size: 1rem;
}
@media screen and (max-width: 599px) {
  .privacypolicybox {
    width: 90%;
    margin: 100px auto 50px;
    padding: 0px;
    box-sizing: border-box;
    max-width: 800px;
    font-size: 1rem;
  }

  .privacypolicybox ul,
  .privacypolicybox ol {
    font-family: inherit;
    margin: 0;
    padding-left: 1px;
  }
}
