/* Base & Reset */
:root {
--text-white: #ffffff;
--text-dark: #333333;
--text-medium: #555555;
--background: #FFFFFF;
--section-bg: #F8F9FA;
--card-bg: #FDFDFD;
--border-color: #EEEEEE;
--btn-color: rgba(251, 141, 11);
--btn-color-hover: rgba(251, 141, 11, 0.4);
--shadow-md: 0 4px 12px rgba(0, 0, 0, 0.06);
--border-radius-none: 2px;
--transition-normal: 0.3s ease;
}

html{
  scroll-behavior: smooth;
}
/* 左右余白の調整 */
body {
  margin: 0;
}
.container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0;
}
@media (max-width: 768px) {
  #footer .container, .footer__nav .container{
    width: auto;
    padding: 0 20px;
  }
}
.section { 
  padding: 2.5rem 0; 
}

img {
  max-width: 100%;
}
/* 全体設定 */
.lp-wrapper {
  font-family: "Zen Kaku Gothic New", sans-serif; 
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--background);
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
  }
  
.lp-wrapper ul,.lp-wrapper ol {
    margin: 0;
    padding: 0;
}
a { text-decoration: none; color: inherit; }
a:hover, a:focus {
    color: var(--primary);
    text-decoration: underline;
}
.text-center { text-align: center; }

h1, h2, h3 { 
  font-family: "Zen Kaku Gothic New", sans-serif; 
  font-weight: 600; 
  line-height: 1.3;
}

/* ーーーーーーー大見出し(背景に大きいグレー文字)ーーーーーーー */
.section-heading {
  position: relative;
}
/* 見出しそのもの */
.section-title {
  font-family: "Zen Old Mincho", serif;
  font-size: 1.3rem;
  font-weight: 400;
  text-align: center;
  margin-bottom: 1rem;
  position: relative;
  padding-bottom: 0.6rem;
  line-height: 1.3;
}
/* 下の短い横棒 */
.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 375px;
  height: 0.8px;
  background-color: var(--primary);
  margin-top: 1rem;
}

.section-title.no-after::after {
  content: none;
}


/* 背景の大きな文字 */
.section-title-background {
  font-family: "Corinthia", cursive;
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -55%) rotate(-5deg);
  font-size: 5rem;
  color: rgba(78, 78, 78, 0.1);
  white-space: nowrap;
  z-index: 1;
  pointer-events: none;
}
/* サービスセクションの背景文字だけ少し小さく */
.service-section .section-title-background {
  font-size: 6rem;
}
/* タイトル下の説明文 */
.section-subtitle {
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-medium);
  max-width: 600px;
  margin: 0 auto 0.1rem;
  line-height: 1.6;
  padding: 0 0px;
}
/* ーーーーーーーボタン設定ーーーーーーー */
/* 黒線アウトラインだけのボタン */
.btn-a{
  border: solid 0px var(--text-white);
  color: var(--text-white);
  padding: 8px 15px; /* モバイル向けに調整 */
  border-radius:1px;
  font-weight: 500;
  margin: 0.5rem auto 1rem;
  font-size: 1rem;
  background-color: var(--btn-color);
  /* background-color: var(--primary); */
  transition: background-color var(--transition-normal);
  width: 200px;
}
/* カートへのボタン設定 */
.product-grid .btn-a{
  font-size: 0.9rem;
  padding: 8px 10px; /* モバイル向けに調整 */
  width: 80%;
}
.btn-a:hover { background-color: var(--btn-color-hover); }
/* アクセントカラー配色のボタン(カートへに使用) */

.btn-b{
  color: var( --more);
  padding: 8px 15px 4px; /* モバイル向けに調整 */
  font-weight: 500;
  font-size: 0.8rem;
  background-color: var(--background);
  transition: background-color var(--transition-normal);
  max-width: fit-content;
  margin: 0 auto 0.5rem;
}

.btn-a:hover { background-color: var(--btn-color-hover); }


/* ーーーーーーーボタン設定ーーーーーーー */
/* 黒線アウトラインだけのボタン */
.btn-c{
  color: var(--text-white);
  background-color: var(--btn-color);
  transition: background-color var(--transition-normal);
  position:absolute;
  margin: 0.5rem auto 1rem;
  padding: 8px 0px; /* モバイル向けに調整 */
  border-radius:1px;
  font-weight: 500;
  font-size: 1.1rem;
  width: 100%;
  bottom: 2%;
  left: 0%;
  transform: translateX(-50%);
}

/* ーーーーーーーHero Sectionーーーーーーー */
/* Hero Section全体設定 */
.hero-section {
  position: relative;
  text-align: center;
  padding: 3rem 0;
  background-image: var(--hero-bg);
  background-size: cover;
  background-position: center;
  min-height: 30vh;
  display: flex;
  align-items: center;
  margin-top: 25px;
}
.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
}


/* Hero Section中のコンテンツ */
.hero-content { 
  position: relative; 
  z-index: 1; 
  width: 100%;
}
/* トップ日本語タイトル */
.hero-content h1{
  z-index: 100; 
  color: var(--text-dark); /* 使う写真によって、黒文字を使うか、白文字を使うか、調整するとよい */
  text-shadow: 0 2px 4px rgb(255, 255, 255); /* 文字色が黒なら、白の影にする */
}
/* トップ日本語タイトルの背景に入れる文字 */
.hero-content .section-title-background { 
  color: rgba(255, 255, 255, 0.4);
  top:-20%; /* 位置の調整 */
}
/* ボタン位置の調整 */
.hero-btn {
  position:absolute;
  bottom: 8%;
  left: 50%;
  transform: translateX(-50%);
  width: 340px!important;
}

/* TOPのボタン */
.hero-btn__inner{ text-align:center; }
.hero-note{ margin-top:8px; font-size:.85rem; line-height:1.4; }


/* ーーーーーーーCharm Sectionーーーーーーー */
.charm-section{
  padding: 2.5rem 0.5rem;
}
/* 特徴セクションのブロック制御 */
.charm-section .section-subtitle { margin-bottom: 1rem; }
.charm-grid { 
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.charm-item-row { 
  display: flex; 
  flex-direction: column;
  align-items: center;
}
.charm-item {
  padding-top: 1rem;
  z-index: 10;
  position: relative;
  text-align: center;
}
/* 3特徴のタイトル */
.charm-subtitle{
  font-family: "Zen Old Mincho", serif;
  font-weight: normal;
  margin-top:0px;
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}
/* 3特徴の背景数字 */
.charm-number{
  position: absolute; 
  font-family: "Corinthia", cursive;
  color: var(--primary);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-5deg);
  font-size: 7rem;
  color: var(--primary-transparent);
  white-space: nowrap;
  z-index: 1;
  pointer-events: none;
}
/* 3特徴の説明文 */
.charm-item p { 
color: var(--text-medium); 
font-size: 0.9rem;
line-height: 1.7; 
margin: 0; 
}

/* ーーーーーーーProduct Sectionーーーーーーー */
/* 全体余白設定 */
.product-section{
   padding: 0.3rem 0.3rem;
}
/* 商品紹介h3見出し */
.category-title h3 { 
  font-family: "Zen Old Mincho", serif;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction : column;
  margin-bottom: 0.5em;
  font-weight: 400;
  font-size: 1.2rem;
}
/* 
.category-title h3:before {
  content: '';
  position: absolute;
  display: inline-block;
  width: 1px;
  height: 20px;
  bottom: -30px;
  left: 50%;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  background-color:var(--primary);
  top:unset;
  border: unset;
  margin-left: unset;
  margin-right:unset;
} */
 
/* 商品紹介ブロック説明文 */
.category-title p { 
  font-size: 0.9rem;
  color: var(--text-medium); 
  margin: 0.2rem 0 0; 
  line-height: 1.5;
  text-align: center;
}
/* マーカーテキスト */

.text-box { 
  font-size: 0.9rem;
  color: var(--text-medium); 
  margin: 0.1m 0 0; 
  line-height:1.9;
  text-align: center;
  margin: 0 15px 0 15px;
}

/* 商品２列表示制御 */
.product-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
  max-width: 100%;
  box-sizing: border-box;
}

/* 商品カード */
.product-box {
  background: #fff;
  padding: 0px;
  border-radius: 2px;
  box-shadow: var(--shadow-md);
  max-width: 800px;
  margin: 20px auto 0px;
  position: relative;
  padding-bottom: 16px;
}


/* 商品3列表示制御 */
.product-gridthree {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0.1rem;
  max-width: 100%;
  box-sizing: border-box;
}

/* 商品カード */
.product-box2 {
  background: #fff;
  padding: 0px;
  border-radius: 2px;
  box-shadow: var(--shadow-md)!important;
  max-width: 800px;
  margin: 20px auto 0px;
  position: relative;
  padding-bottom: 16px;
}

/* スライダー部分 */
.bx-wrapper .bx-viewport {
  border: none !important;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.15) !important;
  left: 0 !important;
  background: var(--background) !important;
  transform: translateZ(0);
}
.bx-wrapper {
  margin-bottom: 0 !important;
}
/* スライダー下のサムネイル */
.pager {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 16px 10px 0px;
}
.pager a img {
  width: 80px;
  border-radius: 4px;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}
.pager a:hover,
.pager a.active {
  opacity: 1;
}
/* バッジ定義 */
.badge {
  position: absolute;
  top: 0;
  right: 0;
  font-size: 0.75rem;
  padding: 4px 4px;
  border-radius: 2px;
  font-weight: 500;
  z-index: 2;
  width: 3rem;
  text-align: center;
}
.k18 {
  background-color: #E4C068;
  color: #fff;
}
.k14 {
  background-color: #f9ae94;
  color: #fff;
}
.k10 {
  background-color: #f5c9c6;
  color: #fff;
}
.pt900 {
  background-color: #adbdcc;
  color: #fff;
}
/* 商品名などのブロック制御 */
.product-footer {
  margin-top: 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
}
/* 商品名 */
.product-name { 
  font-size: 1.1rem;
  font-weight: 500; 
  flex-grow: 1; 
  line-height: 1.4;
  margin: 0 15px 0 15px;
}
.product-name {
  font-size: 1.1rem;
}
/* 1行2商品の場合は小さく */
.product-grid .product-name {
  font-size: 0.8rem;
}
/* 価格 */
.price {
  font-size: 0.8rem;
  margin-bottom: 0;
  margin-top: 0;
}
.tax{
  font-size: 0.7rem;
}
.add-to-cart {
  transition: background 0.3s ease;
}
/* ボタン矢印上向き制御 */
.toggle-cart {
  font-family: "Zen Kaku Gothic New", sans-serif; 
  cursor: pointer;
}
.toggle-cart i {
  transition: transform 0.3s ease;
}
.toggle-cart i.rotated {
  transform: rotate(180deg);
}
/* ーーーーーーーカラーミーカートーーーーーーー */
.cartjs_box table{
  width: 100% !important;
}
.cartjs_cart_in input{
  font-family: "Zen Kaku Gothic New", sans-serif; 
  color: var(--secondary) !important;
  height: auto !important;
  padding: 8px 15px; /* モバイル向けに調整 */  
  border-radius:1px !important;
  font-weight: 500;
  margin: 0 auto !important;
  font-size: 1rem;
  background-color: var(--primary) !important;
  transition: background-color var(--transition-normal);
  width: 100% !important;
}
.cart-options {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
  width: 90%;
  margin: auto;
  font-size: 0.8rem;
}
.product-footer.active .cart-options {
  max-height: 500px; /* スクリプトの高さに応じて調整 */
  opacity: 1;
  visibility: visible;
}
.cart-options th{
  width: 50%;
}
.cartjs_product_input_txt{
  width:30px !important;
}

/* ーーーーーーーReview Sectionーーーーーーー */
/* セクション全体設定 */
.review-section {
  background-color: var(--card-bg);
  padding: 2.5rem 0.5rem;
}
/* レビューカード */
.review-card {
  background: white; 
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-none); 
  margin-bottom: 1.2rem;
  text-align: left; 
  position: relative;
  display: flex;
  flex-direction: column; /* 全体は縦並び */
  padding: 1rem;
}
/* レビューカードの上段ブロック制御 */
.review-top {
  display: flex; /* 上段だけ横並び */
  align-items: left;
}
.review-info-block {
  width: 60%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start; /* ←ここを追加！左寄せにする */
  text-align: left;        /* 念のためテキストも左寄せ */
}
.review-text {
  text-align: left!important;
  width: 100%;
  font-size: 0.8rem;
  line-height: 1.5;
  margin: 0%!important;
}
/* お客様アイコン */
.review-author-img { 
  width: 50px; 
  border-radius: 50%; 
  margin: 0 auto 0.8rem; 
  height: auto;
  object-fit: contain;
}
/* お客様情報 */
.review-author-info { 
  font-size: 0.8rem; /* モバイル向けに縮小 */
  color: var(--text-medium); 
}
/* 星 */
.review-stars { 
  color: #FFC107; 
  font-size: 1.1rem; 
  margin-bottom: 0.8rem; 
}
/* レビューテキスト */
.review-text { 
  font-size: 0.9rem; /* モバイル向けに縮小 */
  text-align: left; 
  line-height: 1.6;
}
/* レビューボタン */
.review-section .btn-a{
  font-size: 0.8rem;
}

/* ーーーーーーーService Sectionーーーーーーー */
/* 全体定義 */
.service-section { 
  background-color: var(--primary); 
  padding: 2.5rem 0.5rem;
}
/* 文字色の変更 */
.service-section h2, .service-section p { 
  color: var(--secondary); 
}
.service-section .section-title::after {
background-color: var(--primary-light);
}
/* サービスブロック制御 */
.service-grid { 
  display: grid; 
  grid-template-columns: 1fr 1fr; /* モバイルでは2列 */
  gap: 0.8rem; 
  margin: 2rem auto 2rem; 
  max-width: 400px;
}
/* １ブロック内の定義 */
.service-item { 
  background: var(--text-white); 
  border-radius: var(--border-radius-none); 
  padding: 1.2rem 0.4rem;
  text-align: center; 
}
/* アイコン */
.service-icon { 
  height: 32px;
  margin-bottom: 0.6rem; 
  display: flex; 
  justify-content: center; 
  align-items: center; 
}
/* アイコン下の文字 */
.service-item p { 
  color: var(--text-dark); 
  font-weight: 500; 
  font-size: 0.8rem;
  line-height: 1.3; 
  margin: 0; 
}
/* ボタン色の調整 */
.service-cta-btn {
  background: var(--btn-color); 
}

/* ーーーーーーーBirthstone Sectionーーーーーーー */
/* ブロック全体 */
.birthstone-section {
  background-color: var(--background);
  padding: 2.5rem 0.5rem;
}
/* ブロック制御 */
.birthstone-section .birthstone-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* モバイルでは2列 */
  gap: 0.8rem; /* モバイル向けに縮小 */
  margin-top: 2rem;
}
.birthstone-section .birthstone-card a:hover {
  transform: translateY(-3px); /* モバイル向けに縮小 */
  box-shadow: var(--shadow-md);
}

/* Tablet対応 (768px以上) */
@media (min-width: 768px) {
  .lp-wrapper {
    margin-top: 120px;
  }
  .section { padding: 4rem 0; }
  .section-title { font-size: 2.2rem; }
  .section-subtitle { 
    font-size: 1rem;
    margin-bottom: 0.2rem; 
  }
  .hero-section { padding: 5rem 0; min-height: 60vh; }
  .hero-content h1 { font-size: 3.8rem; }
  .hero-btn { padding: 12px 40px; }
  .charm-grid { gap: 3rem; }
  .charm-item-row { 
    flex-direction: row; 
    justify-content: center;
    gap: 2rem; 
  }
  .charm-item { max-width: 300px; padding: 1.5rem; padding-top: 55px; }
  .charm-item h3 { font-size: 1.5rem; }
  .charm-item p { font-size: 0.95rem; }
  .product-grid { 
    grid-template-columns: repeat(2, 1fr); 
    gap: 1.5rem; 
  }
  .product-grid .product-name{
    font-size: 1rem;
  }
  .category-title h3 { font-size: 1.8rem; }
  .category-title p { font-size: 0.95rem; }
  .review-grid { 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 1.5rem; 
    max-width: 900px; 
    margin: 0 auto; 
  }
  .review-card { padding: 2rem; }
  .review-author-img { width: 60px; height: 60px; margin-bottom: 1rem; }
  .review-author-info { font-size: 0.9rem; }
  .review-stars { font-size: 1.2rem; margin-bottom: 1rem; }
  .review-text { font-size: 1rem; }
  .service-section { padding: 3rem 0; }
  .service-section h2 { font-size: 1.8rem; }
  .service-section > .container > p { font-size: 1rem; margin: 0.8rem auto 0; }
  .service-grid { 
    grid-template-columns: repeat(4, 1fr); 
    margin: 2.5rem auto 2rem; 
    max-width: 600px;
  }
  .service-item { padding: 1.5rem 0.5rem; }
  .service-icon { height: 40px; margin-bottom: 0.8rem; }
  .service-item p { font-size: 0.9rem; line-height: 1.4; }
  .service-cta-btn { margin-top: 2.5rem; }
  .birthstone-section .birthstone-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }
  .birthstone-section .month { font-size: 0.9rem; }
  .birthstone-section .name { font-size: 0.8rem; margin-top: 0.2rem; }
  }

  /* 価格画像せってい */
/* 共通設定（スマホ～PC） */
.price-banner-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px; /* モバイルの余白は狭め */
  max-width: 800px;
  margin: 0 auto;
  align-items: start;
  padding: 0 8px; /* モバイル時に画面端と接触しないための軽い余白 */
}

.price-banner-grid a {
  display: block;
}

.price-banner-grid img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
  transition: transform 0.3s ease;
}

.price-banner-grid img:hover {
  transform: scale(1.02);
}
  /* Desktop対応 (1024px以上) */
  /* 
    @media (min-width: 1024px) {
  .section { padding: 5rem 0; }
  .section-title { font-size: 2.5rem; }
  .hero-content h1 { font-size: 5rem; }
  .hero-section { min-height: 80vh; padding: 6rem 0; }
  .charm-grid { gap: 5rem; }
  .charm-item-row { gap: 3rem; }
  .category-title h3 { font-size: 2rem; }
  .product-grid { 
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); 
  }
  .birthstone-section .birthstone-grid {
  grid-template-columns: repeat(6, 1fr);
  }
}

/* 大画面デスクトップ対応 (1200px以上) */
/*
@media (min-width: 1200px) {
  .container { width: 90%; }
}  
    */
/* 削除ここまで */



/* 改行制御 */
.sp-br {
  display: inline; /* スマホでは改行として表示 */
  
}
@media (min-width: 768px) {
  .sp-br {
    display: none; /* PCでは改行無効化 */
  }
  .price-banner-grid {
    gap: 16px; /* 画像の間隔を広めに */
    padding: 0 20px; /* 左右に余裕 */
    max-width: 900px; /* 中央の見栄えを少し広げる */
  }
}
