@charset "UTF-8";

/* ============================================================
 * Product カスタム投稿 — 商品詳細ページ用CSS
 *
 * 旧 style_yb.css (qrp) / style_ybp.css (ybqr) を統合
 * 配色: #543f32 (茶), #ede4cd (ベージュ), #c9171e (赤アクセント)
 * ============================================================ */

/* --- Reset for product pages -------------------------------- */
.product-page *,
.product-page *::before,
.product-page *::after {
  box-sizing: border-box;
}

/* --- Base --------------------------------------------------- */
.product-page {
  font-family:
    "Helvetica Neue", Arial,
    "Hiragino Kaku Gothic ProN", "Hiragino Sans",
    Meiryo, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: #543f32;
  background-color: #ede4cd;
  text-align: justify;
  text-justify: inter-ideograph;
  min-height: 100vh;
}

.product-page h1,
.product-page h2,
.product-page h3,
.product-page h4 {
  font-size: 1em;
  line-height: 1.2;
  padding: 0;
  margin: 0;
  color: #543f32;
}

.product-page img {
  max-width: 100%;
  height: auto;
}

.product-page img.ofit {
  object-fit: cover;
  width: 100%;
}

/* --- Page container ----------------------------------------- */
.product-page-inner {
  max-width: 480px;
  margin: 0 auto;
  padding: 30px 15px 80px;
  background-color: #fff;
}

/* --- Title -------------------------------------------------- */
.product-title {
  text-align: center;
  padding: 13px 0 7px;
  border-top: 1px solid #543f32;
  border-bottom: 1px solid #543f32;
  margin-bottom: 20px;
}
.product-title h1 {
  font-size: 1.2rem;
  font-weight: 700;
}

/* --- Main images -------------------------------------------- */
.product-main-images img {
  width: 100%;
  height: auto;
  display: block;
}

/* --- Description -------------------------------------------- */
.product-desc {
  padding: 15px 0;
  line-height: 1.7;
}

/* ============================================================
 * Section (共通)
 * ============================================================ */
.product-section {
  margin-top: 15px;
  margin-bottom: 25px;
}

/* --- Section headline --------------------------------------- */
.section-headline {
  text-align: center;
  margin-bottom: 10px;
}
.section-headline h2 {
  font-size: 1.1em;
  font-weight: 700;
}
.section-headline-eng {
  font-size: 0.7em;
  color: #777;
  position: relative;
  top: -6px;
  margin-bottom: -2px;
}
.section-lead {
  text-align: center;
  font-size: 0.9em;
}
.section-lead-text {
  margin-bottom: 10px;
}
.section-body-text {
  margin-bottom: 10px;
  line-height: 1.7;
}

/* --- Section content ---------------------------------------- */
.section-content {
  padding-bottom: 2px;
}

/* ============================================================
 * Slick slide 共通
 * ============================================================ */
.slide-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.slide-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 10px;
  padding: 0 5px;
}

.slide-item {
  position: relative;
}

.slide-caption {
  text-align: center;
  font-size: 0.8em;
  padding: 5px 0;
}

/* Overlay labels on slides */
.slide-overlay-label {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background-color: rgba(255, 255, 255, 0.85);
  padding: 2px 8px;
  font-size: 0.8em;
  font-weight: 700;
  border-radius: 3px;
}
.slide-overlay-text {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background-color: rgba(255, 255, 255, 0.6);
  padding: 2px 5px;
  font-size: 0.7em;
}

/* --- Scene slide -------------------------------------------- */
.product-scene-slide .slide-item img {
  height: 300px;
}
.product-scene-slide .slide-item {
  min-height: 260px;
}

/* --- Slick arrows / dots ------------------------------------ */
.product-page .slick-prev {
  left: 0 !important;
  z-index: 1;
}
.product-page .slick-next {
  right: 0 !important;
  z-index: 1;
}
.product-page .slick-prev::before {
  content: "\2190";
  color: #333;
  position: relative;
  left: -10px;
}
.product-page .slick-next::before {
  content: "\2192";
  color: #333;
  position: relative;
  right: -5px;
}
.product-page .slick-dots {
  bottom: -20px !important;
}

/* ============================================================
 * Review
 * ============================================================ */
.review-name {
  text-align: center;
  padding-bottom: 2px;
  font-weight: 700;
}
.review-text {
  padding: 20px;
  line-height: 1.4;
  min-height: 80px;
  margin: 0 5px 10px;
  background-color: #ddd;
  border-radius: 5px;
  font-size: 0.9em;
}
.review-staff {
  background-color: #ffe4e1;
  padding: 20px;
  border-radius: 5px;
  line-height: 1.4;
  min-height: 80px;
  font-size: 0.9em;
  margin: 0 5px 30px;
}

/* ============================================================
 * Staff
 * ============================================================ */
.staff-box {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
}
.staff-image {
  text-align: center;
  width: 25%;
  flex-shrink: 0;
}
.staff-image img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
}
.staff-name {
  font-weight: 700;
  font-size: 0.7rem;
  color: #543f32;
  line-height: 1rem;
  margin-top: 4px;
}
.staff-comment {
  width: 75%;
}
.speech-balloon {
  background: #fff;
  padding: 15px;
  border-radius: 10px;
  position: relative;
  font-size: 14px;
}
.speech-balloon p {
  margin-bottom: 10px;
}
.speech-balloon::before {
  content: "";
  position: absolute;
  left: -12px;
  top: 20px;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-right: 12px solid #fff;
}

/* ============================================================
 * Size
 * ============================================================ */
.product-size-list {
  padding: 10px;
}
.product-size-item {
  padding-bottom: 10px;
}
.product-size-label {
  display: inline-block;
  padding: 5px 15px;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  border-radius: 20px;
  margin-right: 5px;
}
.product-size-desc {
  display: inline-block;
  padding: 4px 0;
  font-size: 0.9em;
}
.size-label-1 { background-color: #76952e; }
.size-label-2 { background-color: #cf5e1b; }
.size-label-3 { background-color: #962233; }
.size-label-4 { background-color: #752e3e; }

.product-size-image {
  margin-top: 10px;
}
.product-size-image img {
  width: 100%;
}

/* ============================================================
 * Video embed
 * ============================================================ */
.product-video-embed {
  padding: 10px 0 20px;
}
.product-video-embed iframe,
.product-movie-item iframe {
  width: 100% !important;
  height: 220px !important;
}
.product-movie-item {
  margin-bottom: 10px;
}

/* ============================================================
 * Password form
 * ============================================================ */
.product-password-form {
  max-width: 480px;
  margin: 60px auto;
  padding: 30px 15px;
  text-align: center;
}

/* ============================================================
 * Responsive
 * ============================================================ */

/* SP small */
@media screen and (max-width: 480px) {
  .product-page-inner {
    max-width: 100%;
    padding: 10px 10px 60px;
  }
}

/* Tablet+ */
@media screen and (min-width: 769px) {
  .product-page-inner {
    max-width: 520px;
    padding: 40px 20px 100px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  }
}
