@charset "utf-8";

main {
  margin-top: 80px;
}

/* タイトルセクション */
.title-section {
  padding: 40px 0;
  text-align: center;
}

.main-title {
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-weight: 400;
  font-size: 33px;
}

.subtitle {
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-weight: 300;
  font-size: 21px;
  margin: 10px 0;

}

/* プロフィールセクション */
.profile-section {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.profile-image {
width: 217px;
height: 217px;
border-radius: 50%;
overflow: hidden;
margin-bottom: 14px;
display: flex;
justify-content: center;
align-items: center;
}

.profile-image img {
width: 100%;
height: 100%;
object-fit: cover;
object-position: center center;
}

.profile-info {
text-align: center;
}

.profile-name {
font-family: 'Zen Kaku Gothic New', sans-serif;
font-size: 31px;
font-weight: 500;
letter-spacing: 0.28em;
margin-bottom: 25px;
}

.social-info {
display: flex;
align-items: center;
justify-content: center;
gap: 10px;
margin-bottom: 40px;
}

.instagram-handle {
font-family: 'Zen Kaku Gothic New', sans-serif;
font-weight: 300;
font-size: 14px;
}

/* Instagramアイコン */
.instagram-icon {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

/* コメントセクション */
.comment-section {
  width: 50%;
  margin: 0 auto 40px;
  text-align: center;
}

.comment-title {
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-weight: 300;
  font-size: 16px;
  text-align: center;
  margin-bottom: 14px;
}

.comment-box {
  background-color: #F4F3ED;
  border-radius: 20px;
  padding: 25px;
}

.comment-text {
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-weight: 300;
  font-size: 16px;
  line-height: 1.6;
}

/* englishタイトル */
.english-subtitle {
  text-align: center;
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-weight: 300;
  font-size: 30px;
  padding-bottom: 15px;
}

.title-sub {
  text-align: center;
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-weight: 300;
  font-size: 23px;
  padding-bottom: 15px;
}

/* モデルセクション */
.model-section {
  margin: 40px 0;
  position: relative;
}

.slider-container {
  position: relative;
  width: 100%;
  max-width: 800px;
  min-width: 300px;
  margin: 0 auto;
  overflow: hidden;
  padding-bottom: 35px;
  height: auto;
}

.slider-track {
  display: flex;
  will-change: transform;
}

.slider-slide {
  flex-shrink: 0;
  width: 100%;
}

.slider-track {
  display: flex;
  transition: transform 0.5s ease;
}

.slide {
  min-width: 100%;
  padding: 0 20px;
  box-sizing: border-box;
  overflow: hidden;
}

.slider-slide img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  max-height: 500px;
  object-fit: contain;
  border: 1px solid rgba(255, 255, 255, 0.5);
  z-index: 1;
}

@media (max-width: 800px) {
  .slider-slide img {
    max-height: 350px;
    border-width: 0.5px;
    z-index: 1;
  }
}

.slider-prev,
.slider-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.7);
  border: none;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  z-index: 10;
}

.slider-prev {
  left: 10px;
}

.slider-next {
  right: 10px;
}

.slider-dots {
  display: flex;
  justify-content: center;
  margin-top: 20px;
  z-index: 0;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ccc;
  margin: 0 5px;
  cursor: pointer;
}

.dot.active {
  background: #E77965;
}

/* おすすめアイテムセクション */
.recommend-section {
  margin: 40px 0;
  text-align: center;
}

.recommend-item {
  width: 330px;
  margin: 0 auto 70px;
}

.recommend-item img {
  width: 100%;
  height: auto;
  border-radius: 165px;
  margin-bottom: 21px;
}

.item-title {
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-weight: 400;
  font-size: 18px;
  margin-bottom: 13px;
  text-align: left;
}

.item-comment {
  margin-bottom: 50px;
}

.item-comment p {
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-weight: 300;
  font-size: 16px;
  line-height: 1.6;
  text-align: left;
}

/* 商品一覧セクション */
.more-products {
  max-width: 1200px;
  margin: 40px auto 80px;
  padding: 0 20px;
  text-align: center;
  position: relative;
  z-index: 1;
  display: block !important;
}

/* PC表示時 */
@media (min-width: 801px) {
  .more-products .slider-container {
    display: none;
  }
  .more-products .product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 40px 0;
  }
}

/* スマホ表示時 */
@media (max-width: 800px) {
  .more-products .slider-container {
    display: block;
  }
  .more-products .product-grid {
    display: none;
  }
}

/* スマホ時のみスライダー表示 */
@media (max-width: 800px) {
  .product-slider-container {
    display: block;
  }
  
  .slider-container {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
    padding-bottom: 35px;
  }

  .slider-track {
    display: flex;
    transition: transform 0.5s ease;
  }

  .slider-slide {
    min-width: 100%;
    padding: 0 20px;
    box-sizing: border-box;
    overflow: hidden;
  }

  .slider-slide img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    max-height: 500px;
    object-fit: contain;
    border: 1px solid rgba(255, 255, 255, 0.5);
  }

  .slider-prev,
  .slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.7);
    border: none;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    z-index: 10;
  }

  .slider-prev {
    left: 10px;
  }

  .slider-next {
    right: 10px;
  }

  .slider-dots {
    display: flex;
    justify-content: center;
    margin-top: 20px;
  }

  .slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ccc;
    margin: 0 5px;
    cursor: pointer;
  }

  .slider-dot.active {
    background: #E77965;
  }
  
  .product-grid {
    display: none;
  }
}

/* 商品グリッド */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 40px 0;
}

@media (max-width: 800px) {
  .product-grid {
    display: none;
  }
}

.product-card {
  display: flex;
  flex-direction: column;
  background: #FFFFFF;
  border-radius: 20px;
  overflow: hidden;
  transition: transform 0.3s ease;
  text-decoration: none;
  color: inherit;
}

.product-card:hover {
  transform: translateY(-5px);
}

.product-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.product-info {
  padding: 20px;
  text-align: left;
}

.product-name {
  font-family: 'Zen Kaku Gothic New';
  font-weight: 500;
  font-size: 18px;
  margin-bottom: 8px;
  color: #333;
}

.product-price {
  font-family: 'Zen Kaku Gothic New';
  font-weight: 700;
  font-size: 16px;
  color: #E77965;
  margin-bottom: 12px;
}

.product-description {
  font-family: 'Zen Kaku Gothic New';
  font-weight: 400;
  font-size: 14px;
  line-height: 1.6;
  color: #666;
}

/* ボタン */
.btn-order, .btn-shop {
  display: inline-block;
  background-color: #E77965;
  color: #FFFFFF;
  font-family: 'Zen Kaku Gothic New';
  font-weight: 700;
  font-size: 18px;
  line-height: 1.448;
  padding: 15px 40px;
  border-radius: 24px;
  text-decoration: none;
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
  transition: all 0.3s ease;
  white-space: nowrap;
}

.btn-order:hover, .btn-shop:hover {
  transform: translateY(-3px);
  box-shadow: 0px 6px 8px rgba(0, 0, 0, 0.2);
}

/* スマホ */
@media (max-width: 800px) {
  /* タイトルセクション */
  .title-section {
    padding: 20px 0;
  }

  /* コメントセクション */
  .comment-section {
    width: 80%;
  }

  /* スライドショー */
  .slider-container {
    padding-bottom: 25px;
  }

  .slide {
    padding: 0 10px;
  }

  .slide img {
    max-height: 350px;
  }

  .slider-prev,
  .slider-next {
    width: 50px;
    height: 50px;
    font-size: 24px;
  }

  .slider-prev {
    left: 5px;
  }

  .slider-next {
    right: 5px;
  }

  .slider-dots {
    margin-top: 20px;
    z-index: 0;
  }

  .dot {
    width: 15px;
    height: 15px;
    margin: 0 8px;
  }

  /* 商品スライダー */
  .product-slider-container {
    display: block;
  }

  .product-grid {
    display: none;
  }

  .product-slider-prev,
  .product-slider-next {
    width: 50px;
    height: 50px;
    font-size: 24px;
  }

  .product-slider-prev {
    left: 5px;
  }

  .product-slider-next {
    right: 5px;
  }

  .product-slider-dots {
    margin-top: 15px;
  }

  .product-dot {
    width: 15px;
    height: 15px;
    margin: 0 8px;
  }
}
