/* ラジオボタン全体のスタイル調整 */
.ec-productRole .ec-radio > div {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start; /* 横に均等に配置 */
}

/* ラジオボタンの個別スタイル */
.ec-radio .form-check {
    flex-basis: calc(50% - 10px); /* スマホでの2列表示を基準に設定、余白を考慮 */
    box-sizing: border-box; /* パディングとボーダーを含めたサイズ計算 */
    margin: 5px; /* 余白 */
    font-size: 14px; /* フォントサイズ */
}

/* PC表示時に4列にする */
@media (min-width: 769px) {
    .ec-radio .form-check {
        flex-basis: calc(25% - 10px); /* PCでの4列表示を基準に設定、余白を考慮 */
    }
}

/* ラジオボタンのラベルスタイルを調整 */
.ec-radio .form-check label {
    width: 100%; /* 幅を100%に設定 */
    height: 60px; /* 高さを60pxに設定 */
    padding: 5px; /* 内側のパディングを5pxに設定 */
    box-sizing: border-box; /* パディングとボーダーを含めたサイズ計算 */
    display: flex; /* ラベル内のテキストをFlexboxで整える */
    align-items: center; /* テキストを垂直中央に配置 */
    justify-content: center; /* テキストを水平中央に配置 */
    text-align: center; /* テキストを中央揃えに */
    margin: 0; /* 外側のマージンをなくす */
}


/* レンズオーダーをご選択の方はこちらをご入力ください。を非表示 */
h4.select_product_option_h4 {
    display: none;
}

.prescription-before .form-check-label {
    font-weight: normal;
    font-size: small;
}

div#stockview {
    display: none;
}



button#closeIconCookieNote {
    background: #ccc!important;
}

#cookieNotice .btn-wrap button {
    background: #333;
    color: #fff;
    padding: 5px 20px;
    outline: 0;
    border: 0;
    cursor: pointer;
}

/*---------------------------------

slick読み込み時の表示崩れ防止

---------------------------------*/

.slider3 {
  opacity: 0;
  transition: opacity .25s ease;
}
.slider3.slick-initialized {
  opacity: 1;
}


/*---------------------------------

サイト全体のCSS上書き

---------------------------------*/

/* 全体のリンクカラー変更 */

a {
    color: #7897AB;
}

/* サイドメニューのアイコンの大きさを大きく */
.ec-categories__list > li img {
    max-width: 30px;
    margin-right: 0.4rem;
}

.ec-content__wrap .ec-content__sidebar {
    background: #FFF;
}

/* サイドメニューの下線の色を薄く */

.ec-categories__list > li > a {
    border-bottom: 1px solid #e5e5e5;
}

/* サイドメニューリストの前に<マーク */
.ec-categories__list .subcat li a::before {
    content: "\f105";  /* fa-chevron-rightのUnicode */
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    margin-right: 9px;  /* アイコンとテキストとの間のスペース */
    color:#A19999;
}

/* 検索フォームの背景色変更 */

.ec-headerSearch .ec-headerSearch__category .ec-select select {
    background-color: #F7F7F7;
}

.ec-headerSearch .ec-headerSearch__keyword input[type="search"] {
    background-color: #F7F7F7;
}

.gnav-wrapper ul {
    font-size: small;
}

.ec-lst-product__item .item_title {
    font-size: 1.7rem;
}

/* カートに入れるボタンカラー変更 */
.mig-add-cart {
    /*background-color: #333 !important;*/
    border-color: #333 !important;
    border-radius: 0;
}

/* お気に入りボタンカラー変更 */
.fa-heart {
    background-color: #fa0e0a !important;
}

/* レビューを投稿するボタンカラー変更 */
.ec-inlineBtn--action {
    background-color: #7897AB;
    border-color: #7897AB;
    border-radius: 0;
}

/* カートに進むボタンカラー変更 */
.ec-blockBtn--action {
    /*background-color: #333!important;*/
    border-color: #333!important;
    border-radius: 0px;
}

/* キャンセル・お気に入りに追加ボタンカラー変更 */
.ec-blockBtn--cancel {

    color: #333 !important;
    background-color: #FFF;
    border-color: #333;
    border-radius: 0px;
}

.ec-blockBtn--cancel:hover {
    background-color: #E5E5E5;
}

/* ショッピングカートのステータスカラー変更 */
.ec-progress .is-complete .ec-progress__number {
    background: #7897AB;
}
.ec-progress .is-complete .ec-progress__label {
    color: #7897AB;
}

/* 特集のグラデーション削除 */

.image_slider .image_item .img:after {

    background: transparent;
}

/* 値段表示変更 */

.price02-default , .ec-shelfGrid__item .price02-default, .item_price {
    font-size: 20px;
    color: #333;
    font-family: centuryGB,"Century Gothic",helvetica,Arial,sans-serif;
    font-weight: bold;
}

.price02-default span {
    font-size: 14px;
}

.ec-price{
    color:#DB0000;/* 商品詳細ページ＞カートボタン前の値段 C22704*/
    font-family: centuryGB,"Century Gothic",helvetica,Arial,sans-serif;
}


/* 商品一覧ページの文字サイズを小さく */

.ec-shelfGrid__item .ttl {
    font-weight: normal;
    margin-bottom: 5px;
    font-size: 14px;
}

.price02-default, .ec-shelfGrid__item .price02-default, .item_price {
    font-size: 14px;
    color: #333;
    font-family: centuryGB,"Century Gothic",helvetica,Arial,sans-serif;
    font-weight: bold;
}


/* 通常価格の打消し線 */

.ec-productRole__priceRegularPrice {
    font-size: 14px;
    text-decoration: line-through;
}

.form-control {
    border-radius: 0px;
    box-shadow: none;
}

.ec-select select {
    background-color: #FFF;
    border-radius: 0;
}

/* ページトップボタンの装飾 */ 

.ec-blockTopBtn {
    background-color: #333;
    border-radius: 20px;
    color: #FFF;
    font-size: small;
}

/* ニュースの背景色 */ 

.ec-newsRole .ec-newsRole__news {
    background-color: #F7F7F7;
}


.gnav-wrapper {
    border-top: none;
    border-bottom: none;
}

/* トップスライダーの角丸 */ 

.slider3 img {
    border-radius: 0;
}

/* ハンバーガーメニューの線 */ 

.ec-itemNav__nav li a {
    border-bottom: none;
}

/* サイト上帯 */ 
.ec-layoutRole__topBar {
    background-color: #333333;
    color:#FFF;
}

.slick-dots li {
    width: 10px;
    height: 10px;
    margin: 0 3px;
}

/*---------------------------------

カテゴリヘッダー

---------------------------------*/


.ctg_hdr {
  margin-bottom:20px;
}

.ctg_col {
  display: flex;
  flex-wrap: wrap;
}

.ctg_col-item {
  width: calc(50% - 10px); /* PCでは2列ずつ */
  margin: 0; /* 左右の余白を0に */
  padding:0;
}

.ctg_col-item img {
  max-width: 100%;
}

@media screen and (max-width: 768px) {
  .ctg_col-item {
    width: 100%; /* スマホでは1列ずつ */
  }
}


/* slick-dots */ 

.slick-dots li button {
    width: 8px;
    height: 8px;
}

/* お気に入りボタン */ 
.ec-productRole__btn.fav_btn .ec-blockBtn--cancel {
    background-color: transparent;
    color: #fa0e0a;
    border-radius: 30px;
    font-size: 25px;
}

/* オプションのラベル */ 
.ec-select label {
    font-size: 14px;
}

/* 商品詳細のタグデザイン */ 

.ec-productRole__tag {
    display: inline-block;
    padding: 3px 8px;
    list-style: none;
    font-size: 80%;
    color: #FFF;
    border: none;
    border-radius: 0;
    background-color: #F0CA45;
}

/* 商品一覧のタグデザイン */ 

.ec-productRole .ec-productRole__tag {
    display: inline-block;
    padding: 3px 8px;
    list-style: none;
    font-size: 80%;
    color: #FFF;
    border: none;
    border-radius: 0;
    background-color: #F0CA45;
}

/* 既成度数のタグデザイン */ 

.ec-shelfGrid .ec-shelfGrid__item a {
    position: relative;
    display: block; /*絶対位置指定された子要素の位置決めの基準*/ 
}

.ec-shelfGrid .ec-productRole__tag.tag_100 {
    position: absolute;
    top: 0;
    left: 0;
    background-color: #555;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    text-align: center;
    display:table-cell;
    vertical-align: middle;
    padding-top: 5px;
}

/* カスタム度数のタグデザイン */ 

.ec-shelfGrid .ec-shelfGrid__item a {
    position: relative;
    display: block; /*絶対位置指定された子要素の位置決めの基準*/ 
}

.ec-shelfGrid .ec-productRole__tag.tag_99 {
    position: absolute;
    top: 0;
    left: 0;
    background-color: #4A9DC4;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    text-align: center;
    display:table-cell;
    vertical-align: middle;
    padding-top: 10px;
    font-size: 11px;
}

/*---------------------------------

オプションのレイアウト

---------------------------------*/

.ec-productRole__actions > .ec-select {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ec-productRole__actions > .ec-select > div:first-child {
    flex-basis: 30%; /* labelが入ったdivの幅を30%に設定 */
    text-align: left;
}

.ec-productRole__actions > .ec-select > div:last-child {
    flex-basis: 70%; /* selectのプルダウンが入ったdivの幅を70%に設定 */
    text-align: right;
}

.ec-radio .form-check-label {
    font-size: 14px;
}

/*---------------------------------

よく使う共通CSS

---------------------------------*/

.center{
    text-align: center;
}
/*---------------------------------

カテゴリヘッダー2カラム表示

---------------------------------*/

.ctg_col {
  display: flex;
  flex-wrap: wrap;
}

.ctg_col-item {
  width: calc(50% - 10px);
  /* PCでは2列ずつ */
  margin: 0;
  /* 左右の余白を0に */
  padding: 0;
}

.ctg_col-item img {
  max-width: 100%;
}

@media screen and (max-width: 768px) {
  .ctg_col-item {
    width: 100%;
    /* スマホでは1列ずつ */
  }
}

/*---------------------------------

商品詳細ページ　　タブ

---------------------------------*/

  .tab-container {
  display: flex;
  height: 100px;
  margin: 0 10px;
}

.tab-button {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  background-color: #F7F7F7;
  color: #333;
  outline: none;
  transition: background-color 0.3s;
  margin: 5px;
}

.tab-button.active1 {
  font-weight: bold;
}

.tab-button:hover {
  background-color: #DDDDDD;
}

.tab-content {
  display: none;
  padding: 20px;
}

.tab-content.active1 {
  display: block;
}

.tab-button i {
  margin-top: 5px;
}

/* スペック表 */

.p_spec_tbl {
  border-collapse: collapse;
  width: 100%;
  border-top: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
  font-size: 12px;
}

.p_spec_tbl th, .p_spec_tbl td {
  padding: 3px 0;
  text-align: left;
  border-top: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
  background-color: transparent;
}

.p_spec_tbl .td1 {
  width: 20%;
}

@media (max-width: 768px) {
  .p_spec_tbl th, .p_spec_tbl td {
    font-size: 14px;
  }
}


/* スタッフコメント */

.profile-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin: 5px;
}

.left-column {
  flex: 30%;
  padding: 5px;
  text-align: center;
}

.right-column {
  flex: 70%;
  padding: 5px;
}

.profile-image {
  margin-bottom: 10px;
}

.profile-image img {
  width: 150px;
  height: auto;
  border-radius: 50%;
}

.left-column h1 {
  font-size: 24px;
  margin: 0;
}

.comment-bubble {
  background-color: #F7F7F7;
  color: #000000;
  border-radius: 10px;
  padding: 10px;
  text-align: left;
}

.comment-bubble p {
  margin: 0;
}

/* ヘッダーとフッターの背景色 白を保持する 2025.06.20 noto */
.ec-layoutRole__header { background: #fff; }

.ec-layoutRole__footer {
    padding-top: 30px;
    background: #fff;
}

/* パンくず 2025.06.26 noto*/
.breadcrumbs {
    -webkit-text-size-adjust: 100%;
    width: 100%;
    max-width: 1130px;
    margin: 50px auto;
    padding: 0 20px;
    box-sizing: border-box;
    font-size: 14px;
}

/* TOPページ送料無料バナーリンク無効 2025.06.26 noto */
#page_homepage .pr_bn .slick-track a:last-child {
    pointer-events: none;
}
/* 属性フィルター */
.ec-attributeFilter {
    display: block;
    background: #f5f5f5;
    padding: 0 20px;
}
.ec-attributeFilter__group {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 16px 0;
    border-bottom: 1px solid #ddd;
}
.ec-attributeFilter__group:last-child {
    border-bottom: none;
}
.ec-attributeFilter__title {
    font-size: 14px;
    font-weight: bold;
    color: #333;
    width: 120px;
    min-width: 120px;
    padding-top: 9px;
    flex-shrink: 0;
    word-break: break-word;
}
.ec-attributeFilter__options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    flex: 1;
}
.ec-attributeFilter__option {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    width: 160px;
    padding: 8px 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background: #fff;
    cursor: pointer;
    font-size: 13px;
    color: #333;
    transition: border-color 0.15s, border-width 0.15s;
    box-sizing: border-box;
}
.ec-attributeFilter__option input[type=checkbox],
.ec-attributeFilter__option input[type=radio] {
    flex-shrink: 0;
    margin: 1px 0 0;
    margin-top: 1px\9;
    line-height: normal;
}
.ec-attributeFilter__option.is-checked {
    border: 2px solid #333;
}
.ec-attributeFilter__colorDot {
    display: inline-block;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 1px solid rgba(0,0,0,0.15);
    flex-shrink: 0;
}
.ec-attributeFilter__searchBtn,
.megane-search-section__btn {
    text-align: center;
    padding: 16px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
}
.ec-attributeFilter__searchBtn button,
.megane-search-section__btn button,
.ec-attributeFilter__resetBtn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 170px;
    height: 44px;
    font-size: 14px;
    text-align: center;
    border-radius: 2px;
    cursor: pointer;
    box-sizing: border-box;
    text-decoration: none;
    padding: 0;
    line-height: 1;
}
.ec-attributeFilter__searchBtn button,
.megane-search-section__btn button {
    background: #333;
    color: #fff;
    border: 1px solid #333;
}
.ec-attributeFilter__searchBtn button:hover,
.megane-search-section__btn button:hover {
    background: #555;
    border-color: #555;
}
.ec-attributeFilter__resetBtn {
    background: #fff;
    color: #333;
    border: 1px solid #ccc;
}
.ec-attributeFilter__resetBtn:hover {
    background: #f5f5f5;
    color: #333;
}
@media (max-width: 767px) {
    .ec-attributeFilter__group {
        flex-direction: column !important;
        gap: 10px !important;
    }
    .ec-attributeFilter__title {
        width: 100% !important;
        min-width: unset !important;
        padding-top: 0 !important;
    }
    .ec-attributeFilter__options {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 8px !important;
    }
    .ec-attributeFilter__option {
        width: calc(50% - 4px) !important;
        box-sizing: border-box !important;
    }
}
