/*-----------------------------------------------------------*/
/*-----------------------------------------------------------*/
/* PCスマホ共通 */
/*-----------------------------------------------------------*/
/*-----------------------------------------------------------*/

/* ヘッダー・フッター */
.gHeader_logo,
.gFooter_logo { width: 80px; }
.gHeader_searchTxt { width: 200px; }
.gHeader_topMenuLink-uponline { margin: 0 0 2px; }
.gFooter { background: #fff; }

/* グロナビ */
.gHeader_navSubBlockItem .nav_name  { font-weight: bold; color: #169179; padding: 0 0 0 25px; }
.product .nav_name                  { background: url(https://n-genetics.com/files/co/Site/header_nav/gnavi_1.png) no-repeat; background-size: 18px; background-position: 0 7px; }
.outlet .nav_name                   { background: url(https://n-genetics.com/files/co/Site/header_nav/gnavi_2.png) no-repeat; background-size: 18px; background-position: 0 7px; }
.tool .nav_name                     { background: url(https://n-genetics.com/files/co/Site/header_nav/gnavi_3.png) no-repeat; background-size: 18px; background-position: 0 7px; }
.special .nav_name                  { background: url(https://n-genetics.com/files/co/Site/header_nav/gnavi_4.png) no-repeat; background-size: 18px; background-position: 0 7px; }
.gHeader_navSubBlockItem.special a,
.gHeader_navSubBlockItem.tool a     { background: #dbe9e6; display: block; padding: 2px 10px 3px; margin: 0 0 5px; font-size: 0.8rem; }
.gHeader_navSubBlockItem.special .nav_name,
.gHeader_navSubBlockItem.tool .nav_name { margin: 0 0 4px; }
.gHeader_navSubList.outlet          { margin: 10px 0 0; }
.gHeader_navSubBlockItem .nav_name.flex  { display: flex; justify-content: space-between; align-items: center; }
.gHeader_navSubBlockItem.special .flex a { background: none; padding: 6px 0 0; text-decoration: none; color: #009b74; }
.gHeader_navSubBlockItem.special .flex a::after  {
    content: "\ea05";
    font-family: "icons";
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-size: .6rem;
    color: #009b74;
    margin: 1px 0 0 6px; }

/*---------------------------------------*/
/* topページ CPスライド */
/* topページ ランキング期間集計 */
/* topページ 販売店検索 */
/*---------------------------------------*/

/* CPスライド */
.campaignSummary-swiper     { max-width: 274px; }
.campaignSummary_title      { margin: 0; line-height: 130%; font-size: 1rem; }
.campaignSummary_itemInner  { padding: 0 0 20px; }

/* ランキング期間集計 */
.topSection-ranking .topTitle p { font-size: 14px; color: #666; margin-top: 0px; padding: 10px 0; }

/* topページ 販売店検索 */
.others_shop::before { width: 298px; margin: 0 auto; background-position: top center; }
.others_shopBtn { margin: -60px auto 0; }

/* topページ News tag */
.newsSummary_cateItem { min-width: 130px;}


/*---------------------------------------*/
/* 製品　シリーズ/単品 */
/*---------------------------------------*/

/* 製品検索TOP */
.productBanner_index { max-width: 1200px; margin: 0 auto; text-align: right; padding: 5px 0 30px; }
.productBanner_index a { color: #333; text-decoration: none; font-size: .875rem; font-weight: bold; }
.productBanner_index a::before {
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    line-height: 1;
    margin-right: 10px; }


/* 在庫なし　小テキスト */
.zaiko_smalltxt { font-size: 12px; }

/* お見積りボタン */
.product_cv_btn { display: flex; justify-content: center; }
.productSingle_btnInner.mitsumori::before { background-image: url(../../assets/images/product/sprite_mitsumori.png); background-size: 37px; background-position: 0;}
.product_cv_btn .productSingle_btn { margin: -10px 3% 0; }
.btn-bgBlue { background-color: #1a6dd5; }

/* 表示価格・出荷・送料に関して */
.productSingle .productOrder_noteLink { grid-column: 2/3; text-align: right; }
.productOrder_noteLink .iconTxt-arrowRightBefore::before { content: "\f0d1"; color: #009b74; }

/* シリーズ/単品/検索結果 GeneF＠N会員価格表記 */
.productSingle_priceTitle-member::after,
.productOrder_priceTitle-member::after { content: ""; background-image: none; }

/* ツールチップ */
.tooltip {
    position: relative;
    display: inline-block;
    margin: 0;
}
.tooltip_btn {
    position: relative;
    display: inline-block;
    width: 1em;
    height: 1em;
    vertical-align: -2px;
    background: #009b74;
    border-radius: 100%;
}
.tooltip_btn::before {
    position: absolute;
    display: inline-block;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) scale(0.6);
    content: '?';
    color: white;
    font-size: 100%;
    font-weight: bold;
}

/* ツールチップコンテンツ */
.tooltip-content {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 12px;
    line-height: 1.4;
    white-space: nowrap;
    z-index: 1000;
    transition: opacity 0.3s, visibility 0.3s;
    pointer-events: none;
    text-align: left;
}
.tooltip-content a {
    color: #fff;
    text-decoration: underline;
}

/* 矢印 */
.tooltip-content::after {
    content: "";
    position: absolute;
    border-style: solid;
}

/* 上配置（デフォルト） */
.tooltip-content.top {
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
}

.tooltip-content.top::after {
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 5px 5px 0 5px;
    border-color: #333 transparent transparent transparent;
}

/* 下配置 */
.tooltip-content.bottom {
    top: 125%;
    left: 50%;
    transform: translateX(-50%);
}

.tooltip-content.bottom::after {
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 0 5px 5px 5px;
    border-color: transparent transparent #333 transparent;
}

/* 左配置 */
.tooltip-content.left {
    top: 50%;
    right: 125%;
    transform: translateY(-50%);
}

.tooltip-content.left::after {
    top: 50%;
    left: 100%;
    transform: translateY(-50%);
    border-width: 5px 0 5px 5px;
    border-color: transparent transparent transparent #333;
}

/* 右配置 */
.tooltip-content.right {
    top: 50%;
    left: 125%;
    transform: translateY(-50%);
}

.tooltip-content.right::after {
    top: 50%;
    right: 100%;
    transform: translateY(-50%);
    border-width: 5px 5px 5px 0;
    border-color: transparent #333 transparent transparent;
}

/* PCでのホバー表示 */
@media (hover: hover) and (pointer: fine) {
    .tooltip:hover .tooltip-content {
        visibility: visible;
        opacity: 1;
    }
}

/* スマホでのタップ表示 */
    .tooltip-content {
        pointer-events: auto;
    }

    .tooltip.active .tooltip-content {
        visibility: visible;
        opacity: 1;
    }

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .container {
        padding: 20px;
    }

    .tooltip-content {
        white-space: normal;
        max-width: calc(100vw - 40px);
        min-width: 200px;
    }

    .tooltip-content.multiline {
        max-width: calc(100vw - 40px);
        min-width: 250px;
    }
}

/* マルチラインツールチップ */
.tooltip-content.multiline {
    white-space: normal;
    max-width: 300px;
    min-width: 200px;
    text-align: left;
}





/*---------------------------------------*/
/* マイページ */
/*---------------------------------------*/
/* サイドカラム */
.sideNav_item-gfterms > a::before {
    content: "";
    background-image: url('../../assets/fonts/iconfont/terms.svg');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    width: 1rem;
    height: 1rem; }

/* 製品　シリーズ単品　EC対象外 */
.productSingle_cartArea,
.productOrder_cartArea { justify-content: space-between; }
.not-ec-eligible { margin-left: auto; }
.not-ec-eligible-text { font-size: 16px; color: #8d8c8c; padding-left: 4px; }
.productOrder_cartArea .not-ec-eligible-text { font-size: 15px; }
.not-ec-eligible::before { content:""; display: inline-block; width: 15px; height: 16px; background: url(../../assets/images/product/icon_noec_01.png); background-position: center; background-size: contain; vertical-align: -1px; }



/*---------------------------------------*/
/* 拠点メンバー 一覧 */
/*---------------------------------------*/
.kyoten_search_wrap {
    display: flex;
    justify-content: space-between;
}

.kyoten_search.acctSummary {
    background: #ecf1f0;
    padding: 20px 3%;
    width: 75%;
    margin: 0;
}

.acctSummary_itemInner.notfound {
    display: block;
    padding: 35px 0;
}

.acctSummary_itemInner.notfound p span {
    font-size: 1.1rem;
    font-weight: bold;
    display: block;
}

.acctSummary_itemInner.notfound p {
    font-size: .875rem;
    text-align: center;
    margin: 0;
}

.kyoten_search .productSearchForm {
    display: flex;
    justify-content: space-between;
}

.kyoten_search .productSearchForm_inner {
    width: 75%;
    border-right: solid #fff 3px;
    grid-template-columns: 1fr 164px;
}

.kyoten_search .productSearchForm_submitInner {
    background: #009b74;
    color: #fff !important;
    padding: 8px 10px 8px 0;
    width: 140px;
}

.kyoten_search .productSearchForm_textField>[type="text"] {
    height: 36px;
}

.kyoten_search .mv_searchTxt {
    width: 23%;
}

.kyoten_search .mv_searchTxt a {
    display: inline-block;
    background: #fff;
    border-radius: 100px;
    padding: 4px 0;
    width: 180px;
    color: #009b74;
    border: 1px solid #009b74;
    text-align: center;
}

.kyoten_search_wrap .acctAddBtn {
    margin: 19px 0 0;
}

.kyoten_search_wrap .acctAddBtn_inner {
    padding: 8px 16px;
    margin: 0;
    font-size: 0.875rem;
}

.kyoten_search .form_buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.kyoten_search .form_buttons .btn {
    width: 120px;
    padding: 8px 16px;
    margin: 0 5px;
}

.kyoten_search .accordion-content {
    background-color: #f9f9f9;
    padding: 20px;
    border: 1px solid #ddd;
    margin-top: 10px;
    border-radius: 5px;
    width: 100%;
    box-sizing: border-box;
}

.kyoten_search .accordion-toggle {
    cursor: pointer;
    transition: color 0.3s ease;
}

.kyoten_search .accordion-content {
    background-color: #fff;
    padding: 20px;
    border: none;
    margin-top: 10px;
    border-radius: 5px;
    width: 100%;
    box-sizing: border-box;
}

.kyoten_search .accordion-content .form {
    margin-top: 0;
    padding-top: 0;
}

.kyoten_search .accordion-content .form_table {
    margin-top: 0;
}

/* アコーディオン内のフォントサイズを検索結果に合わせる */
.kyoten_search .accordion-content .form_table th {
    font-size: 14px;
    font-weight: normal;
}

.kyoten_search .accordion-content .form_table td {
    font-size: 14px;
}

.kyoten_search .accordion-content .customInput_inner {
    font-size: 14px;
}

.kyoten_search .accordion-content input[type="text"] {
    font-size: 14px;
}

.kyoten_search .accordion-content .form_head {
    font-size: 14px;
}

.kyoten_result_flex {
    display: flex;
    margin: 20px 0 0;
    justify-content: space-between;
}

.kyoten_result_flex .search-result-info p {
    font-size: .875rem;
}




/*-----------------------------------------------------------*/
/*-----------------------------------------------------------*/
/* PCのみ */
/*-----------------------------------------------------------*/
/*-----------------------------------------------------------*/

@media screen and (min-width: 736px) {
    .product_cv_btn.detail_cv { grid-column: 1/3; }
}


/*-----------------------------------------------------------*/
/*-----------------------------------------------------------*/
/* スマホ */
/*-----------------------------------------------------------*/
/*-----------------------------------------------------------*/


/*---------------------------------------*/
/* 製品　シリーズ単品　お見積りボタン */
/*---------------------------------------*/
.zaiko_smalltxt { font-size: 12px; }

@media screen and (max-width: 736px) {
    /* 制限酵素Finder */
    .UA-pc > .wrapper,
    .pageID-sample             { min-width: auto; }
    .gHeader_spMenuList                 { grid-template-columns: repeat(3,1fr); }
    .gHeader_spMenuLink-uponline img    { margin: 10px 0 0;}
    .product_cv_btn                     { display: grid; place-items: center; justify-content: inherit; }
    .product_cv_btn .productSingle_btn  { padding: 10px 0; margin: 0 auto; }

/*---------------------------------------*/
/* 拠点メンバー 一覧 */
/*---------------------------------------*/
    .kyoten_search .productSearchForm { display: block; }
    .kyoten_search .productSearchForm_inner { width: 100%; border: none; padding: 0 0 20px; border-bottom: 1px solid #fff; gap: 10px; }
    .kyoten_search .productSearchForm_submit { width: 200px; }
    .kyoten_search .mv_searchTxt { width: 100%; }
}
