/*
Theme Name: futo
Author: Your Name
Description: A custom theme for fulo, based on a static HTML template.
Version: 1.0
*/

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

body {
  font-family: "Arial", sans-serif;
  background-image: url(img/background.jpeg);
  background-size: cover;
  background-attachment: fixed;
  color: #000;
}

.left-sidebar-container {
  width: calc((100vw - 400px) / 2);
  height: 100vh;
  position: fixed;
  left: 0;
  top: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 20px;
}
.left-sidebar ul {
  list-style: none;
  margin-bottom: 40px;
}

.left-sidebar li {
  margin-bottom: 20px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
}

.left-sidebar li:hover {
  color: #666;
}

@media (max-width: 768px) {
  .left-sidebar-container {
    display: none;
  }

  .vertical-text {
    display: none;
  }
}

.container {
  max-width: 400px;
  margin: 0 auto;
  background-color: transparent;
  min-height: 100vh;
  position: relative;
}

.main-content {
  max-width: 400px;
  padding: 0 10px;
  position: relative;
  padding-top: 80px;
  padding-bottom: 20px;
  border-left: 1px solid #333;
  border-right: 1px solid #333;
}

.sidebar {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100vh;
  background-image: url(img/background.jpeg);
  background-size: cover;
  backdrop-filter: blur(10px);
  z-index: 100;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
}

.sidebar-wrap {
  position: relative;
  max-width: 400px;
  height: 100%;
  margin: 0 auto;
  background-color: transparent;
  min-height: 100vh;
  border-left: 1px solid #333;
  border-right: 1px solid #333;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.sidebar.active {
  transform: translateX(0);
}

.close-btn {
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.close-btn:hover {
  transform: scale(1.1);
  color: #666;
}

.sidebar-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  max-width: 400px;
  margin: 100px 20px 0px 20px;
}

@media screen and (max-width: 400px) {
  .sidebar-content {
    width: 100%;
  }
}

.sidebar ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-bottom: 24px;
}

.sidebar li {
  margin-bottom: 24px;
  font-size: 20px;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.3s ease;
}

.sidebar li:hover {
  color: #666;
}

.social-section h3 {
  font-size: 14px;
  margin-bottom: 20px;
  font-weight: bold;
  color: #333;
}

.social-icons,
.footer-social-icons {
  display: flex;
  gap: 12px;
}

.social-icons a {
  width: 36px;
  height: 36px;
  display: flex;
}

.footer-social-icons a {
  width: 56px;
  height: 56px;
}

.social-icons a:hover,
.footer-social-icons a:hover {
  background-color: #555;
}

.social-icons img,
.footer-social-icons img {
  width: 100%;
  height: 100%;
}

.sidebar-footer {
  padding: 0 10px 20px 10px;
}

.header {
  background-color: transparent;
  display: flex;
  position: fixed;
  top: 0;
  left: calc(50% - 400px / 2);
  right: 0;
  z-index: 50;
  max-width: 400px;
  padding-top: 16px;
  height: 100px;
  border-left: 1px solid #333;
  border-right: 1px solid #333;
}

@media screen and (max-width: 400px) {
  .header {
    background-color: transparent;
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 50;
    width: 100%;
    padding-top: 16px;
    height: auto;
    border-left: 1px solid #333;
    border-right: 1px solid #333;
  }
}

.header-space {
  width: 10px;
  height: 10px;
}

.header-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.header-section-divider {
  width: 100%;
}

.header-menu {
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 50;
  margin: 16px auto;
  width: 380px;
}

@media screen and (max-width: 400px) {
  .header-menu {
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 50;
    margin: 16px auto;
    width: 100%;
  }
}

.menu-btn {
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.menu-btn:hover {
  transform: scale(1.1);
}

@media (min-width: 769px) {
  .menu-btn {
    display: none;
  }
}

.logo {
  font-size: 32px;
  font-weight: bold;
  color: #333;
  cursor: pointer;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 99;
  display: none;
  transition: opacity 0.3s ease;
}

.overlay.active {
  display: block;
}

.footer-container {
  height: auto;
}

.footer-section {
  padding: 40px 20px;
  text-align: center;
  background-color: transparent;
}

.footer-nav {
  margin-bottom: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-nav-item {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 20px;
  cursor: pointer;
  color: #333;
}

.footer-nav-item:hover {
  color: #666;
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 40px;
}

.footer-copyright {
  font-size: 14px;
  color: #333;
  font-weight: normal;
  text-align: center;
  margin-bottom: 20px;
}

.section-divider {
  margin-bottom: 0;
}

.divider-line-thick {
  border-top: 3px solid #333;
  margin-bottom: 2px;
}

.divider-line-thin {
  border-top: 1px solid #333;
}

.footer-top-divider {
  border-bottom: 1px solid #333;
  margin-bottom: 60px;
}

.vertical-text {
  position: fixed;
  right: 0px;
  bottom: 0%;
  transform: translateY(-600%) rotate(90deg);
  font-size: 10px;
  color: #333;
}

.page-content {
  padding: 60px 0;
  text-align: center;
}

.page-content-boarder {
  padding: 60px 0;
  margin-top: 10px;
  text-align: center;
  border-top: 1px solid #333;
}

.page-title {
  text-align: center;
  margin-bottom: 30px;
}

.page-title h1 {
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 5px;
}

.page-title .subtitle {
  font-size: 12px;
  color: #666;
}

#product-detail-section,
#design-works-section {
  margin-bottom: 60px;
}

.product-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-bottom: 20px;
}

.product-item {
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.product-item:hover {
  transform: translateY(-2px);
}

.product-image-container {
  width: 100%;
  height: 200px;
  background-color: #a8a8a8;
  position: relative;
}

.product-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.new-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background-color: #ff4444;
  color: white;
  padding: 4px 8px;
  font-size: 10px;
  font-weight: bold;
  border-radius: 3px;
}

.product-info {
  display: flex;
  flex-direction: column;
  align-items: baseline;
  padding: 15px 0;
}

.product-info h3 {
  font-size: 14px;
  font-weight: bold;
  margin-bottom: 5px;
}

.product-info p {
  font-size: 12px;
  color: #666;
}

.view-all-btn,
.more-btn,
.back-to-list-btn {
  display: block;
  width: 200px;
  margin: 30px auto 0;
  padding: 12px 24px;
  background-color: transparent;
  border: 2px solid #000;
  border-radius: 25px;
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.1s ease;
  text-align: center;
}

.view-all-btn:hover,
.more-btn:hover {
  background-color: #000;
  color: white;
}

.consultation-btn {
  display: block;
  width: calc(100% - 40px);
  margin: 40px auto;
  padding: 12px 24px;
  background-color: #000;
  color: white;
  border: none;
  border-radius: 30px;
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.1s ease;
  text-align: center;
}

.consultation-btn:hover {
  background-color: #555;
}

.back-to-list-btn {
  display: block;
  width: 200px;
  margin: 30px auto 0;
  padding: 12px 24px;
  background-color: transparent;
  border: 2px solid #000;
  border-radius: 25px;
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  color: #000;
}

.back-to-list-btn:hover {
  background-color: #000;
  color: white;
}

.recommend-title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 30px;
  text-align: left;
}

.recommend-grid {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 10px;
  scrollbar-width: none;
}

.recommend-grid::-webkit-scrollbar {
  display: none;
}

.recommend-item {
  position: relative;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.recommend-item:hover {
  transform: translateY(-2px);
}

.recommend-image-container {
  width: 160px;
  height: 200px;
  background-color: #a8a8a8;
  overflow: hidden;
  margin-bottom: 10px;
}

.recommend-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-counter {
  position: absolute;
  bottom: 12px;
  left: calc(50% - 20px);
  padding: 5px 10px;
  background-color: rgba(255, 255, 255, 0.6);
  border-radius: 15px;
  font-size: 12px;
  font-weight: bold;
}

.thumbnail-gallery {
  display: flex;
  gap: 6px;
  margin-bottom: 40px;
  overflow-x: auto;
  scrollbar-width: none;
}

.thumbnail-gallery::-webkit-scrollbar {
  display: none;
}

.thumbnail {
  width: 88px;
  height: 88px;
  background-color: #ddd;
  flex-shrink: 0;
  cursor: pointer;
  transition: border 0.1s;
  background-size: cover;
  background-position: center;
}

.thumbnail.active {
  border: 2px solid #000;
}

.product-page-info {
  padding: 0 20px;
}

.product-page-title {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 10px;
}

.product-page-price {
  font-size: 16px;
  margin-bottom: 20px;
  color: #666;
}

.product-details {
  padding-top: 20px;
  padding-bottom: 30px;
}

.product-details h3 {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 20px;
  color: #333;
}

.product-details p {
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 20px;
  color: #000;
}

.size-info {
  color: #000;
}

.size-info h3 {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 20px;
  color: #000;
}

.size-info p {
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 10px;
  color: #000;
}

.size-info p:last-child {
  margin-bottom: 0;
}

a.nav-btn,
.category-filters a {
  text-decoration: none;
}

.sale-banner a,
.sale-banner a:visited {
  text-decoration: none;
  color: #fff;
}

.sale-banner-carousel {
  position: relative;
  overflow: hidden;
  width: 100%;
  margin-bottom: 20px; /* 必要に応じて調整 */
}

.sale-banner-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
  width: calc(
    var(--slide-count, 1) * 100%
  ); /* JavaScriptで設定されるスライド数に基づいて幅を決定 */
}

.sale-banner {
  flex: 0 0 100%; /* 各バナーが100%幅を占めるように */
  width: 100%; /* 明示的に幅を設定 */
  max-width: 100%;
  box-sizing: border-box;
  text-align: center;
  height: auto; /* 画像の高さに合わせて調整 */
}

.sale-banner img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: middle;
}

.sale-banner .sale-text-jp {
  display: flex;
  justify-content: center;
  align-items: center;
  height: auto; /* 高さをオートに設定 */
  background-color: #000; /* 背景色を黒に */
  color: #fff; /* テキスト色を白に */
  font-size: 24px;
  font-weight: bold;
}

.sale-banner-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: auto; /* 高さをオートに設定 */
  width: 100%;
  background-color: #000; /* 背景色を黒に */
  color: #fff; /* テキスト色を白に */
  padding: 20px;
  box-sizing: border-box;
}

.sale-banner-content .sale-text-jp {
  font-size: 18px; /* 日本語テキストのサイズ */
  margin-bottom: 5px; /* 下のタイトルとの間隔 */
  color: #fff; /* テキスト色を白に */
  display: block; /* flexアイテムとして機能するように */
  height: auto; /* 親要素の高さに依存せずコンテンツに合わせる */
}

.sale-banner-content .sale-title {
  font-size: 36px; /* 英語タイトルのサイズ */
  font-weight: bold;
  color: #fff; /* テキスト色を白に */
  margin-bottom: 15px; /* ドットとの間隔 */
}

.sale-banner-content .dots {
  color: #fff; /* ドットの色を白に */
  font-size: 20px; /* ドットのサイズ */
  letter-spacing: 5px; /* ドットの間隔 */
}

.sale-banner-dots {
  position: absolute; /* 親要素（.sale-banner-carousel）に対して絶対配置 */
  bottom: 10px; /* 下からの距離を調整 */
  left: 50%;
  transform: translateX(-50%); /* 中央揃え */
  display: flex;
  justify-content: center;
  /* margin-topは不要になるため削除または0に */
}

.sale-banner-dot {
  height: 8px;
  width: 8px;
  margin: 0 4px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
  cursor: pointer;
}

.sale-banner-dot.active {
  background-color: #717171;
}
