.bc-product{
	margin:0 auto;
	color:#000;
}


.bc-grid {
  display: grid;
  grid-template-columns: minmax(0,900px) 1fr;
  grid-template-rows: auto auto;
  align-items: stretch;
	justify-items: center;
  
  grid-template-areas: 
    "left-img  right-content";
  
}
.custom-visual{
	height: calc(100vh - 50px);

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

}
.area-gallery {
  grid-area: left-img;
  min-width: 0;
}

.right-content {
  grid-area: right-content;
}


.detail_name{
	display: inline-block;
    padding: 10px;
    border-bottom: 1px solid #777;
    margin: 0;
}
#leather-page{
    margin: 10px auto;
}

#leather-page a{
    letter-spacing: 2px;
    font-size: 15px;
    padding: 10px;
    border:1px solid #777;
    display: inline-block;
	color:#000;
}

#leather-page a:hover{
	text-decoration: none;
	background:#bababa;
	color:#000;
}
#total-price{
	font-size: 30px;
    text-align: center;
}
@media (max-width: 1520px) {
.bc-grid {
  grid-template-columns:minmax(0, 680px) 1fr;
}
}
@media (max-width: 1200px) {
.bc-grid {
  grid-template-columns:minmax(0, 650px) 1fr;
}

.right-content {
}
}


.customsim_layout{
	margin-top:50px;
	margin-bottom: 100px;

}
.product-slider-container {
    position: relative;
    width: 100%;
    max-width: 600px; /* 必要に応じて調整 */
    margin: 0 auto;
}

.product-visual-wrapper {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1 / 1; /* 画像の比率に合わせる */
}

.slide-item {
    width: 100%;
    opacity: 0;
    pointer-events: none;
}

.slide-item.active {
    opacity: 1;
    position: relative;
    pointer-events: auto;
}

.custom-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 2; /* ベース画像の上に重ねる */
}

.base-image {
    width: 100%;
    display: block;
}

.slider-controls {
    display: flex;
    border: 1px solid #e0e0e0;
    background-color: #f9f9f9;
}

.slider-controls button {
    flex: 1;
    padding: 12px 20px;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 5px;
    color: #555555;
    background-color: #ffffff;
    border: none;
    border-right: 1px solid #e0e0e0;
    cursor: pointer;
    transition: all 0.25s ease;
    outline: none;
}

.slider-controls button:last-child {
    border-right: none;
}

.slider-controls button:hover:not(.active) {
    background-color: #f0f0f0;
    color: #111111;
}

.slider-controls button.active {
    color: #ffffff;
    background-color: #1a1a1a;
}


.right-content {
  width: 70%;
  min-width:400px;
  max-width: 800px;
  margin-inline: auto;
  align-self: center; 
}

.colorchip_div{
    padding: 10px 10px;
}

.colorchip_div_title,
.option-title {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 3px;
    color: #333333;
}

/* 本来のラジオボタンを非表示にする */
.color-chip input[type="radio"] {
    display: none;
}


.colorchip_ul {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.color-chip {
    display: inline-block; 
}

/* カラーチップの見た目 */
.color-chip .chip-img {
    display: block;
    width: 44px;
    height: 44px;
    border-radius: 4px; /* 丸くしたい場合は 50% */
    border: 2px solid transparent;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.2s ease;
}

.color-chip .chip-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ★選択された時のデザイン（枠線をつける） */
.color-chip input[type="radio"]:checked + .chip-img {
    outline: 2px solid #333;    /* 枠線の太さと色 */
    outline-offset: 3px;
}

/* ホバー時のちょっとした変化 */
.color-chip:hover .chip-img {
    opacity: 0.8;
}


.tab{
	width:100%;
  margin:10px auto;
  position:relative;
}
.leather-buttons {
    display: flex;
    gap: 40px;
    margin-bottom: 24px;
}

.leather-buttons span{
  color:#333;
  background:#fff;
  cursor:pointer;
  display:block;
  width:50%;
  float:left;
  text-align:center;
  height:40px;
  line-height:40px;
}
.tab-content{
  padding:15px;
  background:#fff;
  display:inline-block;
  color:#333;
  font-size:13px;
  line-height:18px;
  letter-spacing:2px;
}
.baseline{
  width:100%;
  height:2px;
  background:#ddd;
  display:block;
  position:absolute;
  top:40px;
}
.lamp{
    width: 50%;
    height: 2px;
    background: #333;
    display: block;
    position: absolute;
    top: 40px;
    transition: all .3s ease-in;
    -o-transition: all .3s ease-in;
    -webkit-transition: all .3s ease-in;
    -moz-transition: all .3s ease-in;
}
.lamp.kent-contents{
  left:50%;
  transition: all .3s ease-in;
-o-transition: all .3s ease-in;
-webkit-transition: all .3s ease-in;
-moz-transition: all .3s ease-in;
}
.lamp.buff-contents{
  left:0;
  transition: all .3s ease-in;
-o-transition: all .3s ease-in;
-webkit-transition: all .3s ease-in;
-moz-transition: all .3s ease-in;
}

#btn-estimate,
.btn-estimate {
    display: inline-block;
    width: 100%;
    max-width: 360px;
    padding: 16px 24px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing:3px;
    text-align: center;
    color: #1a1a1a; 
    background-color: #ffffff; 
    border: 1px solid #1a1a1a; 
    border-radius: 0; 
    cursor: pointer;
    transition: all 0.3s ease;
    appearance: none;      
    -webkit-appearance: none;
    box-sizing: border-box;
}


#btn-estimate:hover:not(:disabled),
.btn-estimate:hover:not(:disabled) {
    color: #ffffff;
    background-color: #1a1a1a;
    border-color: #1a1a1a;
}


#btn-estimate:active:not(:disabled),
.btn-estimate:active:not(:disabled) {
    opacity: 0.8;
}

#btn-estimate:disabled,
.btn-estimate:disabled {
    color: #aaaaaa;           
    background-color: #f8f8f8;
    border-color: #dddddd;   
    cursor: not-allowed;  
    opacity: 0.7;
}

/* モーダル全体 */
.sim-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
}
.sim-modal-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
}
.sim-modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    padding: 30px;
    width: 90%;
    max-width: 800px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}
.form-group {
    margin-bottom: 15px;
}
.form-group label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
}
.form-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}
.req { color: red; }
.modal-buttons {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}
.modal-buttons button {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}
.btn-submit { background: #333; color: #fff; }
.btn-cancel { background: #ccc; color: #333; }

/* 選択内容プレビュー枠 */
.simulation-preview-box {
    background: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 12px 15px;
    margin-top: 20px;
    margin-bottom: 20px;
    overflow-y: auto;
}

.simulation-preview-box h4 {
    margin: 0 0 8px 0;
    font-size: 14px;
    color: #333;
    border-bottom: 1px solid #ddd;
    padding-bottom: 4px;
}

.preview-list {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 13px;
    line-height: 1.6;
    color: #555;
}

.preview-list li {
    margin-bottom: 4px;
}

.preview-list li strong {
    color: #222;
}
.sim-complete-container {
	width:90%;
    max-width: 800px;
    margin: 0 auto;
    padding: 80px 20px 100px;
    text-align: center;
    color: #111111;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.sim-complete-header {
    margin-bottom: 48px;
}

.sim-complete-sub {
    display: block;
    font-size: 15px;
    letter-spacing:3px;
    color: #888888;
    margin-bottom: 12px;
    font-weight: 500;
}

.sim-complete-title {
    font-size: 1.6rem;
    font-weight: 400;
    letter-spacing: 0.12em;
    margin: 0;
    position: relative;
    padding-bottom: 24px;
}

.sim-complete-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 1px;
    background-color: #111111;
}

.sim-complete-content {
    background-color: #fafafa;
    border: 1px solid #eeeeee;
    padding: 48px 32px;
}

.sim-complete-text {
    font-size: 0.925rem;
    line-height: 2.1;
    color: #333333;
    letter-spacing: 0.04em;
    margin: 0 0 40px 0;
}
.sim-complete-note {
    border-top: 1px dashed #dddddd;
    padding-top: 24px;
    margin-bottom: 40px;
}

.sim-complete-note p {
    font-size: 0.8rem;
    line-height: 1.8;
    color: #777777;
    letter-spacing: 0.03em;
    margin: 0;
}

.sim-complete-btn {
    display: inline-block;
    min-width: 260px;
    padding: 16px 32px;
    background-color: #111111;
    color: #ffffff !important;
    font-size: 0.85rem;
    letter-spacing: 0.15em;
    text-decoration: none !important;
    border: 1px solid #111111;
    border-radius: 0;
    transition: all 0.3s ease;
}

.sim-complete-btn:hover {
    background-color: #ffffff;
    color: #111111 !important;
}

@media (max-width: 1024px) {
    .sim-complete-container {
        padding: 40px 16px 60px;
    }
    .sim-complete-header {
        margin-bottom: 32px;
    }
    .sim-complete-title {
        font-size: 1.35rem;
    }
    .sim-complete-content {
        padding: 32px 20px;
    }
    .sim-complete-text {
        font-size: 0.875rem;
        text-align: left;
        line-height: 1.9;
    }
    .sim-complete-btn {
        width: 100%;
        min-width: auto;
    }
}


@media (max-width: 1025px) {
.bc-grid {
  grid-template-columns: 1fr;
  grid-template-areas:"left-img"
  "right-content";
}
.right-content {
    margin-top: 50px;
    padding-inline: 20px; 
    
    max-width: 100%; 
  }
  
  
.custom-visual{
	height: calc(50vh - 50px);

}
.custom-visual img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    pointer-events: none;    /* タッチ・クリックイベントをスライダー本体に透過させる */
    -webkit-user-drag: none; /* ブラウザ標準の「画像引っ張り」を禁止 */
    user-select: none;       /* 画像の選択を禁止 */

}

.right-content {
  width: 100%;
  max-width: 800px;
  margin-inline: auto;
  align-self: center; 
}

.colorchip_div_title, .option-title {
    text-align: center;
}

	.colorchip_ul {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    align-items: center;
    }

/* 1. バー全体の土台（幅100%のグレーの帯） */
.splide__pagination {
    position: relative !important;
    bottom: auto !important;
    margin-top: 28px !important;       /* 上の「1/5」文字用の余白 */
    width: 100% !important;
    display: flex !important;
    padding: 0 !important;
    background-color: #f4f4f4 !important; /* バーの背景色 */
    border: 1px solid #e0e0e0 !important; /* バーの外枠 */
    border-radius: 4px;
    box-sizing: border-box;
}

/* 2. 各ドットを均等幅（5分割）の四角に変形 */
.splide__pagination li {
    flex: 1 !important;                 /* 均等に横幅を分配 */
    display: flex !important;
}

.splide__pagination__page {
    width: 100% !important;
    height: 24px !important;           /* バーの高さ */
    margin: 0 !important;
    border-radius: 0 !important;       /* 丸を解除 */
    background-color: transparent !important; /* 未選択は透明（下地のグレーが見える） */
    border: none !important;
    border-right: 1px solid #e0e0e0 !important; /* うっすら区切り線 */
    opacity: 1 !important;
    transition: background-color 0.2s ease;
}

/* 最後の区切り線は非表示 */
.splide__pagination li:last-child .splide__pagination__page {
    border-right: none !important;
}

/* 3. ★選択中の場所を「黒い四角（ベタ塗り）」にする★ */
.splide__pagination__page.is-active {
    background-color: #333333 !important; /* 濃い黒で塗りつぶし（#000000でもOK） */
    border: none !important;
    border-radius: 2px !important;        /* ほんのり角丸（完全に四角にするなら 0 ） */
    transform: scale(1) !important;
}

/* 4. 上部に「1 / 5」の文字をCSSのみで表示 */
.splide__pagination::before {
    position: absolute;
    top: -22px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 13px;
    font-weight: bold;
    color: #333333;
    letter-spacing: 1px;
}

/* どのドットがアクティブかに応じて「1/5」「2/5」を切り替える */
.splide__pagination:has(li:nth-child(1) .is-active)::before { content: "1 / 5"; }
.splide__pagination:has(li:nth-child(2) .is-active)::before { content: "2 / 5"; }
.splide__pagination:has(li:nth-child(3) .is-active)::before { content: "3 / 5"; }
.splide__pagination:has(li:nth-child(4) .is-active)::before { content: "4 / 5"; }
.splide__pagination:has(li:nth-child(5) .is-active)::before { content: "5 / 5"; }


/* 1. 元のSplide内部SVGを非表示 */
.splide__arrow svg {
    display: none !important;
}

/* 2. 矢印ボタンの領域・透明化の設定 */
.splide__arrow {
    width: 24px !important;
    height: 40px !important;
    background-color: transparent !important; /* 背景・丸枠を消去 */
    border: none !important;
    opacity: 0.7 !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: 20px 26px !important;    /* 縦長サイズ指定（横10px × 縦26px） */
    transition: opacity 0.2s ease !important;
}

/* 3. 左矢印（縦長の鋭角パス） */
.splide__arrow--prev {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 24' preserveAspectRatio='none' fill='none' stroke='%23333333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 2L3 12L9 22'/%3E%3C/svg%3E") !important;
}

/* 4. 右矢印（縦長の鋭角パス） */
.splide__arrow--next {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 24' preserveAspectRatio='none' fill='none' stroke='%23333333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 2L9 12L3 22'/%3E%3C/svg%3E") !important;
}

/* ホバー時 */
.splide__arrow:hover {
    background-color: transparent !important;
    opacity: 1 !important;
}

/* 非活性時 */
.splide__arrow:disabled {
    opacity: 0.2 !important;
    cursor: not-allowed;
}

}

