/*
  diamond.css : diamond ページ専用CSS。style.css の後に読み込む。
  対象ページの body 最上位に class="itemsearch-diamond" を付与すること。
*/

/*
  以下は旧ローカル style.css の基底スタイル。
  本番 style.css 同期後、diamond ページ表示維持のためここへ移行。
*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Noto Sans JP', sans-serif;
}

body {
    background-color: #fff;
    color: #333;
}

.header {
    display: flex;
    align-items: center;
    padding: 24px 20px;
    background-color: #fff;
}

.p-logo__img { width: 212px; }
.logo img { height: 30px; }

.banner {
    position: relative;
    width: 100%;
    background-color: #fff;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fv {
    width: 100%;
    background-color: #7b1613;
    color: white;
    text-align: center;
    line-height: 1.1;
}
.fv picture {
    padding: 25px 0;
    max-width: 1200px;
    display: block;
    margin: 0 auto;
}

.container {
    width: 90%;
    max-width: 954px;
    margin: 0 auto 60px;
}
.container > .section-title.txt-left {
  width: 100%;
  max-width: 100%;
}

.txt-right { text-align: right; }

.link-text {
  color: #41A0ff;
  text-decoration: underline;
}

.sale-title {
    font-size: 99px;
    font-weight: 700;
    letter-spacing: 2px;
    margin: 0 0 2px 0;
}

.sale-subtitle {
    font-size: 24px;
    font-weight: 400;
    margin: 0 0 5px 0;
}

.sale-discount {
    font-size: 38px;
    font-weight: 700;
    margin: 5px 0;
}

.sale-dates {
    font-size: 29px;
    font-weight: 400;
    margin: 5px 0 0 0;
}

.banner-items {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 1;
    opacity: 0.7;
}

.banner-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.btn-section {
    text-align: left;
    position: relative;
    max-width: 554px;
    margin: 0 auto;
}
.btn-section > p {
  font-size: 20px;
  margin-bottom: 20px;
}

.btn-section.line > .section-title {
    font-weight: bold;
}
.hero {
    margin: 15px auto;
    width: 90%;
    max-width: 954px;
}
.hero .c-text-s { margin-top: 10px; }

.coupon-section {
    text-align: center;
    padding: 20px 0 0;
    position: relative;
}
.coupon-text {
    position: relative;
    display: inline-block;
    margin-bottom: 20px;
    font-size: 24px;
    font-weight: bold;
}
.coupon-text::before,
.coupon-text::after {
    content: " ";
    position: absolute;
    width: 2px;
    height: 40px;
    background: #4ea856;
    bottom: 0;
}
.coupon-text::before {
    transform: rotate(-20deg);
    left: -20px;
}
.coupon-text::after {
    transform: rotate(20deg);
    right: -20px;
}
.coupon-section a { line-height: 1.5; }
.coupon-section .c-text-s { font-size: 18px; }
.coupon-section .c-text-m { font-size: 22px; }
.coupon-section .c-text-l {
    font-size: 32px;
    padding: 0 5px;
    letter-spacing: 2px;
}

._karte-g__bZla_ ._wrapper__bZla_ {
    margin-bottom: 0 !important;
}

.hero .c-text-s { font-size: 20px; }

.section-subtitle {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 10px;
}

.section-title.txt-left {
    font-weight: bold;
    text-align: left;
    margin: 60px auto 20px;
    font-size: 30px;
    max-width: 954px;
    width: 90%;
}

.line-button {
    position: relative;
    display: block; /* align-items/justify-contentはblockでは効かないので削除 */
    background-color: #4ea856;
    color: white;
    padding: 26px 30px;
    text-decoration: none;
    font-size: 27px;
    border-radius: 3px;
    width: 558px;
    margin: 0 auto;
    text-align: center;
}

.arrow-wrap { 
  position: absolute;
  right: 14px;
  bottom: 45%;
  height: 10px;
  margin-top: -5px;
  display: flex;
  align-items: center;
}

.arrow {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 1px;
  border-radius: 9999px;
  background-color: #ffffff;
}
.arrow::before {
  content: "";
  position: absolute;
  top: calc(50% - 0.5px);
  right: 0;
  width: 13px;
  height: 1px;
  border-radius: 9999px;
  background-color: #ffffff;
  transform: rotate(45deg);
  transform-origin: calc(100% - 0.5px) 50%;
}

.tab-section {
    display: flex;
    margin: 30px auto;
}
.tab-section.diamond { margin-bottom: 15px; }

.tab {
    font-size: 27px;
    flex: 1;
    padding: 3px;
    text-align: center;
    background-color: #fff;
    border: 1px solid #d7bb69;
    color: #d7bb69;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
}

.itemsearch-fashion-secondary .tab {
    color: #000;
}

.tab.active {
    background-color: #d7bb69;
    color: white;
}

.tab-content { display: none; }
.tab-content.active { display: block; }

/* itemsearch-fashion tabs */
.itemsearch-fashion-tab.tab-section {
    gap: 10px;
    margin: 30px auto;
}

.itemsearch-fashion-tab .tab {
    flex: 1;
    min-width: 0;
    height: auto;
    padding: 10px 5px;
    font-size: 16px;
    font-weight: bold;
    color: #000;
    background-color: #fff;
    border: 1px solid #000;
    border-radius: 50px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.itemsearch-fashion-tab .tab.active {
    background-color: #000;
    color: #fff;
    border-color: #000;
}

.tab-content .c-text-s {
  font-size: 18px;
  margin-bottom: 16px;
}

.gender-button,
.category-button,
.brand-grid.recommend .brand-item {
    border: 1px solid #9b895a;
    color: #9b895a;
}

.brand-grid.recommend.center-item {
    grid-template-columns: repeat(2, 1fr);
    width: 100%;
}

.gender-button a,
.recommend .brand-item a { color: #9b895a; }

.gender-button a:hover,
.sale-item a:hover,
.shop-item a:hover,
.recommend .brand-item a:hover { opacity: 0.7; }

.brand-grid,
.product-grid,
.sale-grid,
.shop-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin: 0 auto 65px;
    place-content: center;
    text-align: center;
    font-size: 12px;
}

.sale-grid {
    grid-template-columns: 1fr;
    height: auto;
    border: none;
    gap: 20px;
    font-size: 17px;
    width: 50%;
    max-width: 558px;
    margin-bottom: 30px;
}

.link-wrapper { margin: 0 auto 30px; }

.recommend .brand-item a  {
    transition: all .2s ease; /* durationを付与 */
    font-size: 16px;
}

.link-btn {
    border: 1px solid #e56667;
    border-radius: 5px;
    margin-bottom: 20px;
}
.link-btn a {
    position: relative;
    padding: 20px 40px;
    font-size: 27px;
    color: #e56667;
    display: block;
}
.link-btn a .arrow {
    background-color: #e56667;
    height: 2px;
}
.link-btn a .arrow::before {
    background-color: #e56667;
    height: 2px;
    top: calc(50% - 1px);
}
.link-btn .sub-text {
    display: block;
    font-size: 18px;
}

.sale-name { padding: 20px; }

.brand-image,
.product-image { 
    padding: 15px 10px 10px;
    overflow: hidden;
}

.recommend .brand-name,
.product-name { height: calc(222px - 158px); }

#tab-content-01 .brand-name,
#tab-content-02 .brand-name { height: auto; }

.brand-image,
.brand-name,
.product-image,
.product-name {
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-item a:hover { opacity: 0.7; }

.section-title {
    text-align: center;
    margin: 40px 0 20px;
    font-size: 26px;
    font-weight: normal;
}
.itemsearch-fashion .section-title {
    text-align: left;
}

.gender-section,
.category-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 70px;
    padding: 0 20px;
}

.gender-button,
.category-button {
    width: calc(50% - 5px);
    min-width: 282px;
    padding: 10px 0 14px;
    text-align: center;
    border: 1px solid #ccc;
    cursor: pointer;
    font-size: 23px;
}

.s-lh { line-height: 1.3; }
.sp-br { display: none; }

/* >= 768px */
@media (min-width: 768px) {
    .brand-grid,
    .product-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    .gender-button,
    .category-button {
        width: auto;
    }
}

/* <= 767px */
@media (max-width: 767px) {

    .sp-br { display: block; }

    .fv picture { padding: 0; }

    .brand-grid.recommend { grid-template-columns: repeat(2, 1fr); }
    .brand-grid.recommend.center-item { width: 100%; }

    .sale-title { font-size: 77px; }
    .sale-subtitle { font-size: 19px; }
    .sale-discount { font-size: 30px; }
    .sale-dates { font-size: 22px; }

    .tab {
        font-size: 17px;
        padding: 10px 4px;
    }
    #karte-itemsearch-slider {
        letter-spacing: -1px;
    }

    .line-button {
        font-size: 17px;
        padding: 14px;
        max-width: 450px;
        width: 100%;
    }

    .link-btn a {
        padding: 20px 15px;
        font-size: 16px;
    }

    .sale-grid { width: 90%; }

    .section-title {
        max-width: 90%;
        font-size: 24px;
        margin: 35px auto 20px;
    }
    .itemsearch-fashion .section-title {
        max-width: 100%;
    }

    .section-title.m-text { font-size: 20px; }

    .coupon-section { padding: 20px 0 0; }
    .coupon-section a { line-height: 1.5; }

    .coupon-text { font-size: 20px; }
    .coupon-text::before {
        width: 2px;
        height: 30px;
        left: -15px;
    }
    .coupon-text::after {
        width: 2px;
        height: 30px;
        right: -15px;
    }

    .coupon-section .c-text-s { font-size: 16px; }
    .coupon-section .c-text-m { font-size: 20px; }
    .coupon-section .c-text-l {
        font-size: 30px;
        padding: 0 5px;
        letter-spacing: 2px;
    }

    .btn-section.line > .section-title {
        text-align: left;
        margin: 35px 0 20px;
    }

}

/* diamond ページ専用の差分 */

.itemsearch-diamond .container_popular {
    max-width: 954px;
    margin: 0 auto;
    padding: 1% 5% 7%;
    background: #F6F4EF;
}

.itemsearch-diamond .container_popular>.section-title.txt-left {
    width: 100%;
    max-width: 100%;
}

.itemsearch-diamond .hero {
    margin: 0 auto;
    width: 100%;
    max-width: 954px;
}

.itemsearch-diamond .section-title.txt-center {
    font-weight: bold;
    text-align: center;
    margin: 60px auto 20px;
    font-size: 30px;
    max-width: 954px;
}

.itemsearch-diamond .section-title.txt-left {
    font-weight: bold;
    text-align: center;
    margin: 40px auto 20px;
    font-size: 30px;
    max-width: 954px;
    width: 90%;
}

/* 公式LINEセクション：緑背景＋白ボタン */
.itemsearch-diamond .container_line {
    background-color: #4EA856;
    padding: 40px 20px;
}

.itemsearch-diamond .container_line .btn-section {
    text-align: center;
}

.itemsearch-diamond .container_line .btn-section.line>.section-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin: 0 auto 16px;
    color: #fff;
    font-size: 24px;
    font-weight: bold;
    text-align: center;
}

.itemsearch-diamond .container_line .btn-section.line>.section-title::before,
.itemsearch-diamond .container_line .btn-section.line>.section-title::after {
    content: "";
    flex: 1;
    max-width: 90px;
    border-top: 2px dotted rgba(255, 255, 255, 0.85);
}

.itemsearch-diamond .container_line .btn-section>p {
    margin-bottom: 22px;
    color: #fff;
    font-size: 16px;
    line-height: 1.7;
}

.itemsearch-diamond .container_line .line-button {
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    max-width: 558px;
    padding: 16px 18px;
    background-color: #fff;
    color: #4a8b46;
    border-radius: 2px;
    font-size: inherit;
}

.itemsearch-diamond .container_line .line-coupon {
    flex: 0 0 auto;
    display: block;
    width: 64px;
    height: auto;
}

.itemsearch-diamond .container_line .line-button__text {
    flex: 1;
    line-height: 1.4;
    text-align: center;
}

.itemsearch-diamond .container_line .line-button__sub {
    display: block;
    font-size: 14px;
    font-weight: 400;
}

.itemsearch-diamond .container_line .line-button__main {
    display: block;
    font-size: 20px;
    font-weight: 700;
}

.itemsearch-diamond .container_line .arrow-wrap {
    position: static;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    margin: 0;
    border-radius: 50%;
    background-color: #4EA856;
}

.itemsearch-diamond .container_line .arrow {
    width: 7px;
    height: 7px;
    background: none;
    border: 0;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    border-radius: 0;
    transform: rotate(45deg);
    margin-left: -2px;
}

.itemsearch-diamond .container_line .arrow::before {
    display: none;
}

.itemsearch-diamond .tab-section.diamond {
    gap: 0;
    margin: 20px auto 15px;
}

/* お好みの検索方法から探す タイトル */
.itemsearch-diamond .search-method-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin: 40px auto 8px;
    font-weight: 500;
}

.itemsearch-diamond .search-method-title::before,
.itemsearch-diamond .search-method-title::after {
    content: "";
    flex: 1;
    max-width: 120px;
    border-top: 2px dotted #9C8B5C;
}

.itemsearch-diamond .search-method-title__text {
    color: #9C8B5C;
    font-size: 20px;
    line-height: 1.4;
    white-space: nowrap;
}

/* diamond intro */
.itemsearch-diamond .diamond-intro {
    width: 90%;
    max-width: 954px;
    margin: 40px auto 30px;
    text-align: center;
}

.itemsearch-diamond .diamond-intro__title {
    display: inline-block;
    color: #9C8B5C;
    font-size: 28px;
    font-weight: 500;
    line-height: 1.5;
    padding-bottom: 8px;
    border-bottom: 2px solid #9C8B5C;
    margin-bottom: 24px;
}

.itemsearch-diamond .diamond-intro__lead {
    font-size: 18px;
    line-height: 1.9;
    color: #333;
    margin-bottom: 24px;
}

.itemsearch-diamond .diamond-intro__sell {
    margin: 0;
}

.itemsearch-diamond .diamond-intro__sell-link {
    color: #9C8B5C;
    font-size: 16px;
    text-decoration: underline;
}

.itemsearch-diamond .diamond-intro__sell-link:hover {
    opacity: 0.7;
}

/* diamond tab */
.itemsearch-diamond .tab-section.diamond .tab {
    min-height: 52px;
    line-height: 1.3;
}

.itemsearch-diamond .tab-section.diamond .tab+.tab {
    border-left: none;
}

/* かんたん検索内のサブタブ */
.itemsearch-diamond .diamond-tab-panel .easy-subtab.tab-section {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 auto 16px;
    justify-content: flex-start;
}

.itemsearch-diamond .diamond-tab-panel .easy-subtab .tab {
    flex: 0 0 auto;
    min-height: 0;
    padding: 6px 18px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.3;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 9999px;
    color: #333;
}

.itemsearch-diamond .diamond-tab-panel .easy-subtab .tab.active {
    background-color: #2b2b2b;
    border-color: #2b2b2b;
    color: #fff;
}

.itemsearch-diamond .diamond-tab-panel .easy-subtab-panel {
    margin: 0;
}

.itemsearch-diamond #tab-content-02 .fourc-panel .c-text-s {
    text-align: left;
    font-size: 15px;
    margin-bottom: 10px;
}

.itemsearch-diamond #tab-content-02 .fourc-panel .section-subtitle {
    color: #9C8B5C;
    font-size: 16px;
    font-weight: 700;
    margin: 12px 0 14px;
}

.itemsearch-diamond .price-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 0 auto 16px;
}

.itemsearch-diamond .price-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 18px;
    border: 1px solid #9C8B5C;
    border-radius: 6px;
    color: #6f6033;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.itemsearch-diamond .price-btn:hover {
    background-color: rgba(156, 139, 92, 0.08);
}

.itemsearch-diamond .price-btn__text {
    font-size: 16px;
    line-height: 1.4;
}

.itemsearch-diamond .price-btn__icon {
    position: relative;
    flex: 0 0 auto;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: #9C8B5C;
}

.itemsearch-diamond .price-btn__icon::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 45%;
    width: 6px;
    height: 6px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    transform: translate(-50%, -50%) rotate(45deg);
}

.itemsearch-diamond .popular-items__title {
    text-align: center;
    margin: 40px auto 20px;
}

.itemsearch-diamond .tab-section.popular-items {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    margin: 0 auto;
    border: 1px solid #9C8B5C;
    border-radius: 4px;
    overflow: hidden;
}

.itemsearch-diamond .tab-section.popular-items .tab {
    flex: none;
    min-height: 0;
    padding: 16px 8px;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.3;
    background-color: #fff;
    border: none;
    border-radius: 0;
    color: #9C8B5C;
    text-align: center;
}

.itemsearch-diamond .tab-section.popular-items .tab:nth-child(1) {
    border-right: 1px solid #9C8B5C;
    border-bottom: 1px solid #9C8B5C;
}

.itemsearch-diamond .tab-section.popular-items .tab:nth-child(2) {
    border-bottom: 1px solid #9C8B5C;
}

.itemsearch-diamond .tab-section.popular-items .tab:nth-child(3) {
    grid-column: 1 / -1;
}

.itemsearch-diamond .tab-section.popular-items .tab.active {
    background-color: #9C8B5C;
    color: #fff;
}

.itemsearch-diamond #popular-ring,
.itemsearch-diamond #popular-necklace,
.itemsearch-diamond #popular-ear {
    background-color: #fff;
    padding: 30px 0;
}

.itemsearch-diamond .tab-panel.popular-items .popular-items__head {
    display: flex;
    align-items: center;
    padding: 0 15px 13px 10px;
}

.itemsearch-diamond .tab-panel.popular-items .popular-items__thumb {
    flex: 0 0 auto;
    width: 72px;
}

.itemsearch-diamond .tab-panel.popular-items .popular-items__thumb img {
    width: 100%;
    height: auto;
    display: block;
}

.itemsearch-diamond .tab-panel.popular-items .popular-items__lead {
    font-size: 13px;
    line-height: 1.5;
    color: #333;
}

.itemsearch-diamond .tab-panel.popular-items .popular-items__lead strong {
    display: block;
    color: #9C8B5C;
    font-size: 18px;
    font-weight: 700;
    padding-bottom: 6px;
    margin-bottom: 8px;
    border-bottom: 2px dotted #9C8B5C;
}

.itemsearch-diamond #popular-ring .popular-items__lead,
.itemsearch-diamond #popular-necklace .popular-items__lead {
    flex: 1;
    text-align: center;
}

.itemsearch-diamond #popular-ring .popular-items__lead strong,
.itemsearch-diamond #popular-necklace .popular-items__lead strong {
    display: block;
    padding-bottom: 8px;
    margin-bottom: 8px;
    border-bottom: 2px dotted #9C8B5C;
}

.itemsearch-diamond .tab-panel.popular-items .popular-ear__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 5%;
    padding: 0 8%;
    margin-bottom: 8px;
}

.itemsearch-diamond .tab-panel.popular-items .popular-ear__item a {
    display: block;
    text-decoration: none;
    color: inherit;
}

.itemsearch-diamond .tab-panel.popular-items .popular-ear__image {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1 / 1;
}

.itemsearch-diamond .tab-panel.popular-items .popular-ear__image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.itemsearch-diamond .tab-panel.popular-items .popular-ear__name {
    margin: 10px 0 0;
    text-align: center;
    font-size: 15px;
    color: #333;
}

.itemsearch-diamond .tab-panel.popular-items .popular-items__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 12px;
    row-gap: 12px;
    padding: 0 4%;
}

.itemsearch-diamond .tab-panel.popular-items .popular-items__cell {
    text-align: center;
}

.itemsearch-diamond .tab-panel.popular-items .popular-items__cell-name {
    margin: 0;
    padding: 2px 4px;
    background-color: #f0f0f0;
    border-radius: 2px;
    font-size: 15px;
    font-weight: 700;
    color: #333;
}

.itemsearch-diamond .tab-panel.popular-items .popular-items__cell-size {
    margin: 5px 0;
    font-size: 14px;
    color: #333;
}

.itemsearch-diamond .tab-panel.popular-items .popular-items__table-wrap {
    overflow-x: auto;
}

.itemsearch-diamond .tab-panel.popular-items .popular-items__table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 6px 0;
    table-layout: fixed;
}

.itemsearch-diamond .tab-panel.popular-items .popular-items__table tr>*:first-child {
    display: none;
}

.itemsearch-diamond .tab-panel.popular-items .popular-items__table th {
    padding: 8px 3px;
    font-size: 13px;
    font-weight: 500;
    text-align: center;
    color: #333;
    white-space: nowrap;
    background: #f0f0f0;
    border-radius: 2px;
}

.itemsearch-diamond .tab-panel.popular-items .popular-items__table td {
    padding: 8px 3px 0;
    text-align: center;
    vertical-align: middle;
}

.itemsearch-diamond .tab-panel.popular-items .popular-items__btn {
    display: inline-block;
    padding: 5px 6px;
    font-size: 12px;
    color: #9C8B5C;
    background-color: #fff;
    border: 1px solid #9C8B5C;
    border-radius: 9999px;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color 0.2s ease;
}

.itemsearch-diamond .tab-panel.popular-items .popular-items__btn:hover {
    background-color: rgba(156, 139, 92, 0.1);
}

.itemsearch-diamond .tab-panel.popular-items .c-text-s {
    text-align: center;
    font-size: 14px;
    margin: 16px 0 0;
}

.itemsearch-diamond .tab-panel.popular-items .link-text {
    color: #9C8B5C;
    text-decoration: underline;
}

.itemsearch-diamond .diamond-tab-panel .brand-grid.diamond-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin: 0 auto 16px;
}

.itemsearch-diamond .diamond-tab-panel .diamond-grid .brand-item {
    border: none;
}

.itemsearch-diamond .diamond-tab-panel .diamond-grid .brand-item a {
    position: relative;
    display: block;
    color: #fff;
    text-decoration: none;
    overflow: hidden;
}

.itemsearch-diamond .diamond-tab-panel .diamond-grid .brand-image {
    aspect-ratio: 1 / 1;
    background-color: #fff;
}

.itemsearch-diamond .diamond-tab-panel .diamond-grid .brand-image img {
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: contain;
    display: block;
    margin: 0;
    background: #fff;
}

.itemsearch-diamond #easy-brand .diamond-grid .brand-image {
    aspect-ratio: auto;
}

.itemsearch-diamond #easy-brand .diamond-grid .brand-image img {
    height: auto;
}

.itemsearch-diamond .diamond-tab-panel .diamond-grid .brand-item a::before {
    content: "";
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.37);
    transition: background-color 0.2s ease;
    pointer-events: none;
    z-index: 1;
}

.itemsearch-diamond .diamond-tab-panel .diamond-grid .brand-item a:hover::before {
    background-color: rgba(120, 120, 120, 0.15);
}

.itemsearch-diamond .diamond-tab-panel .diamond-grid .brand-name {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    width: 100%;
    height: auto;
    padding: 0;
    color: #fff;
    font-size: 18px;
    font-weight: 500;
    text-align: center;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
    pointer-events: none;
}

.itemsearch-diamond .diamond-tab-panel .tab-content .c-text-s {
    font-size: 16px;
    margin-bottom: 0;
    text-align: center;
}

.itemsearch-diamond .diamond-tab-panel .tab-content .link-text {
    color: #9C8B5C;
    text-decoration: underline;
}

/* 既存タブ色の上書き */
.itemsearch-diamond .tab {
    border-color: #9C8B5C;
    color: #9C8B5C;
}

.itemsearch-diamond .tab.active {
    background-color: #9C8B5C;
    color: #fff;
}

/* おすすめから探す：ゴールド枠＋丸い矢印ボタン */
.itemsearch-diamond .link-wrapper .link-btn {
    border: 1px solid #9C8B5C;
    border-radius: 2px;
    margin-bottom: 16px;
    background-color: #fff;
}

.itemsearch-diamond .link-wrapper .link-btn a {
    position: relative;
    display: block;
    padding: 20px 60px 20px 24px;
    font-size: 18px;
    font-weight: 400;
    color: #6b6354;
}

.itemsearch-diamond .link-wrapper .arrow-wrap {
    position: absolute;
    right: 16px;
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
    margin: 0;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background-color: #9C8B5C;
    display: flex;
    align-items: center;
    justify-content: center;
}

.itemsearch-diamond .link-wrapper .arrow-wrap .arrow {
    width: 7px;
    height: 7px;
    background: none;
    border: 0;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    border-radius: 0;
    transform: rotate(45deg);
    margin-left: -2px;
}

.itemsearch-diamond .link-wrapper .arrow-wrap .arrow::before {
    display: none;
}

/* 既存CSSとの差分調整 */
.itemsearch-diamond .brand-grid,
.itemsearch-diamond .product-grid,
.itemsearch-diamond .sale-grid,
.itemsearch-diamond .shop-grid {
    margin-bottom: 0;
}

/* 店舗から探す：ブラウザ幅いっぱいに表示 */
.itemsearch-diamond .shop-section {
    width: 100%;
    max-width: none;
    margin: 0 auto 0px;
    padding: 24px 0 0;
    box-sizing: border-box;
}

.itemsearch-diamond .shop-section>.section-title {
    max-width: none;
    width: 100%;
    margin: 0 auto 20px;
    padding: 0 5%;
    box-sizing: border-box;
}

.itemsearch-diamond .shop-section .shop-grid--overlay {
    width: 100%;
    max-width: none;
    margin: 0 auto 0px;
}

/* 店舗から探す：画像全面＋店名オーバーレイ */
.itemsearch-diamond .shop-grid--overlay {
    grid-template-columns: repeat(2, 1fr);
    gap: 4px;
}

.itemsearch-diamond .shop-grid--overlay .shop-item a {
    position: relative;
    display: block;
}

.itemsearch-diamond .shop-grid--overlay .shop-image {
    padding: 0;
    aspect-ratio: 7 / 5;
    overflow: hidden;
}

.itemsearch-diamond .shop-grid--overlay .shop-logo {
    display: block;
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
    object-fit: cover;
}

.itemsearch-diamond .shop-grid--overlay .shop-name {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

.itemsearch-diamond .shop-grid--overlay-dark .shop-name {
    background-color: rgba(0, 0, 0, 0.3);
    transition: background-color 0.2s ease;
}

.itemsearch-diamond .shop-grid--overlay-dark .shop-item a:hover .shop-name {
    background-color: rgba(0, 0, 0, 0.15);
}

.itemsearch-diamond .brand-image,
.itemsearch-diamond .product-image {
    padding: 0;
}

@media (min-width: 768px) {
    .itemsearch-diamond .search-method-title {
        gap: 20px;
    }

    .itemsearch-diamond .search-method-title::before,
    .itemsearch-diamond .search-method-title::after {
        max-width: 210px;
    }

    .itemsearch-diamond .search-method-title__text {
        font-size: 24px;
    }

    .itemsearch-diamond .diamond-intro__title {
        font-size: 32px;
    }

    .itemsearch-diamond .diamond-intro__lead {
        font-size: 20px;
    }

    .itemsearch-diamond .diamond-tab-panel .brand-grid.diamond-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }

    .itemsearch-diamond .diamond-tab-panel .diamond-grid .brand-name {
        font-size: 20px;
    }

    .itemsearch-diamond .shop-grid--overlay {
        grid-template-columns: repeat(3, 1fr);
    }

    .itemsearch-diamond #popular-ring .popular-items__lead,
    .itemsearch-diamond #popular-necklace .popular-items__lead {
        text-align: left;
    }

    .itemsearch-diamond #popular-ring .popular-items__lead strong,
    .itemsearch-diamond #popular-necklace .popular-items__lead strong {
        display: flex;
        align-items: center;
        gap: 16px;
        padding-bottom: 0;
        margin-bottom: 6px;
        border-bottom: none;
    }

    .itemsearch-diamond #popular-ring .popular-items__lead strong::after,
    .itemsearch-diamond #popular-necklace .popular-items__lead strong::after {
        content: "";
        flex: 1;
        border-top: 2px dotted #9C8B5C;
    }
}

@media (max-width: 767px) {
    .itemsearch-diamond .tab-panel.popular-items .popular-items__table {
        border-spacing: 4px 0;
    }

    .itemsearch-diamond .tab-panel.popular-items .popular-items__table th {
        padding: 6px 1px;
        font-size: 11px;
    }

    .itemsearch-diamond .tab-panel.popular-items .popular-items__table td {
        padding: 6px 1px 0;
    }

    .itemsearch-diamond .tab-panel.popular-items .popular-items__btn {
        padding: 5px 6%;
        font-size: 11px;
    }

    .itemsearch-diamond #popular-ring .popular-items__lead strong {
        font-size: 16px;
    }

    .itemsearch-diamond .search-method-title {
        gap: 10px;
        margin: 30px auto 8px;
    }

    .itemsearch-diamond .search-method-title::before,
    .itemsearch-diamond .search-method-title::after {
        max-width: 70px;
    }

    .itemsearch-diamond .search-method-title__text {
        font-size: 16px;
    }

    .itemsearch-diamond .diamond-intro {
        margin: 30px auto 20px;
    }

    .itemsearch-diamond .diamond-intro__title {
        font-size: 22px;
        margin-bottom: 18px;
    }

    .itemsearch-diamond .diamond-intro__lead {
        font-size: 15px;
        line-height: 1.8;
        margin-bottom: 18px;
    }

    .itemsearch-diamond .diamond-intro__sell-link {
        font-size: 14px;
    }

    .itemsearch-diamond .tab-section.diamond .tab {
        font-size: 14px;
        min-height: 44px;
        padding: 6px 2px;
    }

    .itemsearch-diamond .diamond-tab-panel .easy-subtab .tab {
        font-size: 13px;
        min-height: 0;
        padding: 5px 14px;
    }

    .itemsearch-diamond .price-list {
        gap: 12px;
    }

    .itemsearch-diamond .price-btn {
        padding: 14px;
    }

    .itemsearch-diamond .price-btn__text {
        font-size: 14px;
    }

    .itemsearch-diamond .diamond-tab-panel .brand-grid.diamond-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 6px;
        margin-bottom: 16px;
    }

    .itemsearch-diamond .diamond-tab-panel .diamond-grid .brand-name {
        font-size: 14px;
        padding: 0;
    }

    .itemsearch-diamond .container_line .line-button {
        gap: 10px;
        padding: 14px;
        max-width: 450px;
    }

    .itemsearch-diamond .container_line .line-coupon {
        width: 52px;
        height: auto;
    }

    .itemsearch-diamond .container_line .line-button__main {
        font-size: 17px;
    }

    .itemsearch-diamond .container_line .line-button__sub {
        font-size: 12px;
    }

    .itemsearch-diamond .link-wrapper .link-btn a {
        padding: 16px 50px 16px 18px;
        font-size: 15px;
    }

    .itemsearch-diamond .section-title {
        font-size: 20px;
        font-weight: bold;
    }
}