@charset "utf-8";

:root {
  --content-space: 2rem;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  font-size: 13px;
}

@media screen and (min-width: 900px) {
  html {
    font-size: 15px;
  }
}

body {
  margin: 0;
  padding: 0;
  font-family: "Hiragino Kaku Gothic Pro", "メイリオ", sans-serif;
  background: #fff;
  color: #555;
  line-height: 2;
  overflow-x: hidden;
  -webkit-text-size-adjust: none;
}

img, video, iframe {
  max-width: 100%;
  height: auto;
  display: block;
}

#container {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  max-width: 1800px;
  margin: auto;
}

main.column-parts {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  padding: var(--content-space);
}

.sub-contents-parts {
  width: 100%;
  max-width: 230px;
  flex-shrink: 0;
}

.main-contents-parts {
  flex: 1;
  max-width: 1200px;
  margin: auto;
}

@media screen and (max-width: 899px) {
  main.column-parts {
    display: block;
  }
  .sub-contents-parts {
    max-width: none;
  }

  .mobile-header {
    background: #000;
    padding: 0.8rem 1rem;
    text-align: left;
  }

  .mobile-logo {
    width: 140px;
    height: auto;
    display: block;
  }
}

/* カテゴリー見出し */
.sub-contents-parts h4 {
  margin: 0;
  background: #666;
  color: #fff;
  text-align: center;
  padding: 0.5em;
  font-weight: normal;
}

.submenu-parts {
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
}

.submenu-parts li {
  border-bottom: 1px solid rgba(0,0,0,0.1);
}

.submenu-parts a {
  display: block;
  background: #fff;
  padding: 0.4rem 1rem;
  text-decoration: none;
  color: #333;
}

.submenu-parts a:hover {
  background: #f0f0f0;
  filter: none;
}

/* 商品一覧 */
.list-grid1-parts {
  width: 100%;
  padding: 0;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, 1fr);
}

@media screen and (max-width: 800px) {
  .list-grid1-parts {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 500px) {
  .list-grid1-parts {
    grid-template-columns: 1fr;
  }
}

.list-grid1-parts .list-parts {
  padding: 1rem;
  background: #000;
  color: #fff;
  box-shadow: 5px 5px 20px rgba(0,0,0,0.1);
}

.list-grid1-parts .list-parts h4 {
  font-size: 1.1rem;
  margin-bottom: 0.2em;
}

.list-grid1-parts .list-parts p {
  font-size: 0.9rem;
  line-height: 1.5;
}

.list-grid1-parts .btn-parts a {
  display: block;
  text-decoration: none;
  text-align: center;
  background: #555;
  color: #fff;
  padding: 6px 12px;
  margin-top: 1rem;
}

.list-grid1-parts .btn-parts a:hover {
  background: #777;
}

.list-parts figure {
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.list-parts figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* メインビジュアル */
.main-visual {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.overlay-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 70%; /* フォントサイズを70%に縮小 */
  font-weight: bold;
  color: white;
  opacity: 0;
  animation: fadeInText 2s ease-in-out 2s forwards;
  text-shadow: 0 0 20px rgba(0,0,0,0.8);
  z-index: 10;
  font-family: 'Cooper Black', 'Bree Serif', serif;
  text-align: center;
  line-height: 1.2;
  white-space: nowrap; /* 改行を禁止 */
}


@keyframes fadeInText {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.8);
  }
  100% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

/* スライドショー */
.slide-thumbnail1-parts {
  overflow: hidden;
  margin: 2rem 0;
  padding: 0 1rem;
}

.img-parts {
  display: flex;
  width: max-content;
  animation: scroll-left 30s linear infinite;
  gap: 1rem;
}

.img-parts.ltr-parts {
  animation: scroll-right 30s linear infinite;
}

.img-parts div {
  flex: 0 0 auto;
}

.img-parts img {
  width: 250px;
  height: 250px;
  object-fit: cover;
  display: block;
}

@keyframes scroll-left {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes scroll-right {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

.slide-thumbnail1-parts:hover .img-parts {
  animation-play-state: paused;
}

/* フッター */
footer {
  margin-top: auto;
  font-size: 0.8rem;
  background: #eee;
  color: #555;
  text-align: center;
  padding: 1rem;
}

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

footer small {
  font-size: 100%;
}
@media screen and (max-width: 899px) {
  .mobile-header {
    background: #000;
    padding: 0.8rem 1rem;
    text-align: left;
  }

  .mobile-logo {
    width: 140px;
    height: auto;
    display: block;
  }
}

.overlay-text {
  font-family: 'Cooper Std', 'Bree Serif', serif;
  font-size: clamp(24px, 5vw, 80px);
  font-weight: bold;
  color: white;
  opacity: 0;
  animation: fadeInText 2s ease-in-out 2s forwards;
  text-shadow: 0 0 20px rgba(0,0,0,0.8);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  text-align: center;
  line-height: 1.2;
}
@media screen and (max-width: 899px) {
  .mobile-header-text {
    background: #000;
    padding: 0.8rem 1rem;
  }

  .logo-text {
    font-family: 'Bree Serif', serif !important;
    font-size: 1.6rem !important;
    margin: 0 !important;
  }

  .logo-text a {
    color: #fff !important;
    text-decoration: none !important;
    display: inline-block !important;
  }
}
.text-logo-header {
  background: #000;
  padding: 1rem 1.5rem;
}

.text-logo {
  font-family: 'Bree Serif', serif;
  font-size: 1.8rem;
  color: #fff;
  margin: 0;
}
.text-logo-header {
  padding: 1rem 1.5rem 0.5rem;
}

.text-logo {
  font-family: 'Bree Serif', serif;
  font-size: 1.8rem;
  margin: 0;
}

.text-logo a {
  color: #000;
  text-decoration: none;
}
.text-logo-header {
  padding: 0.8rem 1.5rem 0 1.5rem;
  background: transparent !important; /* ← 黒帯を完全に消す */
  margin: 0;
}

.text-logo {
  font-family: 'Bree Serif', serif;
  font-size: 1.8rem;
  margin: 0;
}

.text-logo a {
  color: #000 !important;
  text-decoration: none !important;
}

@media screen and (max-width: 899px) {
  #contents > p:first-child {
    margin-left: 1rem;
  }
}
body {
  background: #000 !important;
  color: #fff !important;
}
.sub-contents-parts {
  background: #000 !important;
}

.submenu-parts a {
  background: #000 !important;
  color: #fff !important;
  border-bottom: 1px solid rgba(255,255,255,0.1); /* 下線を明るく調整 */
}

.submenu-parts a:hover {
  background: #111 !important; /* 少し明るく */
}

main.column-parts {
  margin-top: 1rem; /* もしくはお好みで 2em / 30px など */
}


.main-contents-parts {
  padding-top: 0 !important;
}

.main-visual {
  margin-top: 0 !important;
  padding-top: 0 !important;
}
#container > * {
  margin-top: 0 !important;
  padding-top: 0 !important;
}
.sub-contents-parts {
  padding-top: -1.0rem; /* ← お好みで 1rem〜3rem */
}
.header-logo {
  margin-top: 0.5rem;
  margin-bottom: 1.0rem;
}






