/* リセットCSS */
body {
    font-family:sans-serif;
    -webkit-text-size-adjust: 100%;
  }

body,
h1,
h2,
h3,
h4,
h5,
p {
    margin: 0;
    padding: 0;
}

/* タグ */
body {
    background-color: #F7F7F7;
}

h2 {
    font-size: 20px;
}

h3 {
    font-size: 19px;
}

button {
    border-color: #a4aaae;
    border-radius: 6px;
    border-width: 1px;
    margin: 5px;
    cursor: pointer;
}
button:hover {
    opacity: 0.7;
  }

a {
    word-wrap:break-word;
}

ol{
    margin-block-start: 0px;
    padding-inline-start: 10px;
}

ul{
    margin-block-start: 0px;
    padding-inline-start: 10px;
}

li {
    margin-bottom: 15px;
}

li::marker{
    font-size: 18px;
}

li.margin_none {
    margin: 0;
}

p {
    display: flex;
    align-items: center;
    font-size: 16px;
    color: #333;
}

p.small{
    font-size: 14px;
}

span {
    color: #333;
}

span.small{
    font-size: 14px;
}

span.big{
    font-size: 18px;
}

span.refine_search{
    font-size: 25px;
    color: #fff;
}

select {
    border-color: #D7D7D7;
    color: #333;
    font-weight: bold;
    font-size: 16px;
}

label.select:hover{
    color: #fff;
}

canvas {
    border-style: solid;
    border-color: #EDEDED;
    border-width: 1px;
}

table {
    border-collapse: collapse;
    border-color: #EEEEEE;
    border-style: solid;
    border-width: 1px;
    color: #fff;
    font-size: 14px;
    width: 100%;
}

tr {
    height: 40px;
}

tr.stripe:nth-child(even) {
    background-color: #FFFFFF;
}

tr.stripe:nth-child(odd) {
    background-color: #EEEEEE;
}

tbody.stripe:nth-child(even) {
    background-color: #FFFFFF;
    cursor: pointer;
}

tbody.stripe:nth-child(odd) {
    background-color: #EEEEEE;
    cursor: pointer;
}

tbody.stripe:hover {
    background-color: #DDDDDD;
}

th {
    background-color: #34495E;
    border-color: #EEEEEE;
    border-style: solid;
    border-width: 1px;
    font-weight: normal;
    height: 40px;
    padding: 5px auto;
}

td {
    color: #333;
    font-weight: normal;
    height: 40px;
    padding: 5px 0 5px 5px;
    word-wrap: break-word;
}

input[type=text] {
    border-color: #D7D7D7;
    color: #333;
    font-weight: bold;
    font-size: 16px;
    margin: 5px;
}

input[type=text]::placeholder {
    color: #333;
}

input[type="checkbox"][disabled] + span{
    color: #D7D7D7;
}

/* テーブル関連 */
.scroll {
    height: 550px;
    overflow-y: auto;
}

.scroll2 {
    height: 500px;
    overflow-y: auto;
}

.scroll3 {
    height: 490px;
    overflow: scroll;
}

.scroll3 table {
    white-space: nowrap;
    width: 3000px;
}

.scroll4 {
    height: auto;
    overflow-y: auto;
}

.scroll5 {
    height: 300px;
    overflow-x: hidden;
    overflow-y: auto;
}

tr.sticky th {
    position: sticky;
    top: 0;
    left: 0;
}

tr.sticky th:before {
    content: "";
    position: absolute;
    top: -1px;
    left: -1px;
    width: 100%;
    height: 100%;
    border-top: 1px solid #34495E;
    border-bottom: 1px solid #34495E;
}

.case td {
    border-right: 1px #bfbfbf solid;
    padding: 5px;
}

table.search_conditions{
    border-color: #333;
    font-size: 14px;
    margin: 10px 0px 10px 0px;
}

table.search_conditions td.title_gray{
    background-color: #ccc;
    white-space: nowrap;
    padding: 5px; 
    font-weight: bold;
    text-align: center;
    width: 80px;
}

table.search_conditions td.detail_white{
    background-color: #fff;
}

table.detail {
    border: 2px solid #dfdfdf;
    height: fit-content;
}

.detail th {
    border: 2px solid #dfdfdf;
    background-color: #EEEEEE;
    color: #333;
    text-align: left;
    padding: 10px;
    width: 35%;
}

.detail td {
    border: 2px solid #dfdfdf;
    background-color: #FFF;
    padding: 10px;
    width: 65%;
}

.detail .head {
    background-color: #34495E;
    border-color: #34495E;
    border-bottom-color: #6C757D;
    color: #fff;
}



/* タイトル（青＆グレー） */
.title_border_gray {
    border-bottom: solid 3px #D7D7D7;
    font-size: 16px;
    font-weight: bold;
    margin: 20px 0 0 0;
}

.border_blue {
    border-bottom: solid 3px #123D8A;
    font-size: 20px;
}



/* タイトル */
.title {
    display: flex;
    font-size: 20px;
    font-weight: bold;
    align-items: center;
}



/* フッター */
#footer {
    display: block;
    content: "";
    margin: 100px 0;
}



/* 絞り込み条件 */
#filtering {
    padding: 0;
    z-index: 10;
}

/* 絞り込み条件表示時の背景透過 */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* 半透明の黒色 */
    z-index: 9; /* 絞り込み検索よりも下に表示 */
    display: none; /* 初期状態では非表示 */
}

/* テキストボックスサイズ */
input[type=text].m {
    height: 30px;
    width: 280px;
    margin: 7px;
}



/* セレクトボックスサイズ */
select.fit {
    height: 35px;
    width: 100%;
}

.select_l {
    height: 35px;
    width: 280px;
}



/* コンテナサイズ */
.container{
    margin: 0 auto;
    max-width: 1280px;
}

.container_70 {
    margin: 0 auto;
    width: 70%;
}

.container_80 {
    margin: 0 auto;
    width: 80%;
}

.container_90 {
    margin: 0 auto;
    width: 90%;
}

.container_full {
    margin: 0 auto;
    width: 100%;
}

.container_fit {
    margin: 0 auto;
    width: fit-content;
}

.container_gray {
    background-color: #EDEDED;
    color: #333;
}

.container_lightgray {
    background-color: #F7F7F7;
    color: #333;
}



/* ボックスサイズ */
.box_25 {
    width: 25%;
}

.box_30 {
    width: 30%;
}

.box_40 {
    width: 40%;
}

.box_50 {
    width: 50%;
}

.box_75 {
    width: 75%;
}

.box_80 {
    width: 80%;
}

.box_90 {
    width: 90%;
}

.box_full {
    width: 100%;
}




/* ヘッダー部 */
.header1 {
    background: #003B8F;;
    width: 100%;
    padding: 0.5em 0
}

.header2 {
    background-color: #ffffff;
    border-bottom: solid 1px #D7D7D7;
    font-size: 22px;
    font-weight: bold;
    padding: 20px 0px 20px 0;
    width: 100%;
}

.header_titele{
    margin: auto;
    margin-left: 0;
}

.header_text{
    height: 90%;
}

.logo {
    display: block;
}

.logo_sp{
    display: none;
}

/* マージン調整 */
.margin_top {
    margin-top: 5%;
}

.margin_left {
    margin-left: 40px;
}

.margin_left_s {
    margin-left: 20px;
}

.margin_right {
    margin-right: 40px;
}

.margin_bottom {
    margin-bottom: 5%;
}

/* パディング調整 */
.padding_left {
    padding-left: 40px;
}

.padding_right {
    padding-right: 40px;
}

.padding_top_bottom{
    padding-top: 15px;
    padding-bottom: 15px;

}


/* テキストエリア */
.textarea {
    background-color: #ffffff;
    border: solid 1px #D7D7D7;
    font-size: 16px;
    line-height: 1.8;
    margin: 20px 0 20px 0;
    max-height: 300px;
    overflow: auto;
    padding: 25px;
}

.textarea_l {
    background-color: #ffffff;
    border: solid 1px #D7D7D7;
    font-size: 16px;
    line-height: 1.8;
    margin: 20px 0 20px 0;
    max-height: 800px;
    overflow: auto;
    padding: 25px;
}

.textarea_clear {
    font-size: 16px;
    line-height: 1.8;
}

.textarea_xs {
    background-color: #ffffff;
    border-style: solid;
    border-width: 1px;
    border-color: #D7D7D7;
    font-size: 16px;
    margin: 5px;
    width: 100%;
    height: 90px;
}

.textarea_all {
    max-height: none;
    overflow: visible;
}


/* チェックボックス */
.chexbox_label {
    font-size: 18px;
    font-weight: bold;
}

input[type="checkbox"].accept {
    border-radius: 0;
    -webkit-appearance: none;
       -moz-appearance: none;
            appearance: none;
    position: relative;
    width: 16px;
    height: 16px;
    border: 1px solid #CCCCCC;
    vertical-align: -5px;
  }

input[type="checkbox"].accept:checked:before {
    position: absolute;
    /* top: 1px; */
    left: 4px;
    transform: rotate(50deg);
    width: 6px;
    height: 8px;
    border-right: 3px solid #007BFF;
    border-bottom: 3px solid #007BFF;
    content: '';
}


/* 画像挿入 */
.insertion {
    text-align: center;
    /* margin: 20px 0 25px 0; */
}

.insertion img {
    max-height: 300px;
    width: auto;
}

.movie{
    max-width: 1000px;
    margin: 2rem auto 2rem;
}

.movie img {
    width: 90%;
}

.sort{
    width: 1.2em;
    vertical-align: middle;
}

/* 固定位置 */
.absolute{
    position: absolute;
}

/* .absolute_select{
    position: absolute;
    top:35px;
    left:-1px
} */

.absolute_search{
    position: absolute;
    top: 45px;
    left:-5px;
}

.absolute_caution{
    position: absolute;
    top: 120px;
    margin-left: 20px;
}

/* 配置 */
.display_none{
    display: none;
}

/* div配置 */
/* 左寄せ横並び */
.flex {
    display: flex;
}

.flex_dir{
    display: flex;
    flex-direction: column;
}

/* 両端寄せ */
.flex_both{
    display: flex;
    justify-content: space-between;
}

.flex_both_space{
    display: flex;
    justify-content: space-between;
    padding: 0 10% 0 10%;
}

/* 左寄せ縦並び */
.flex_column {
    align-items: baseline;
    display: flex;
    flex-direction: column;
    justify-content: left;
}

/* 中央寄せ横並び */
.flex_center {
    align-items: center;
    display: flex;
    justify-content: center;
}

/* 中央寄せ縦並び */
.flex_center_column {
    align-items: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* ボタン色 */
button.blue {
    background-color: #007BFF;
    color: #fff;
}

button.gray {
    background-color: #6C757D;
    color: #fff;
}

button.mediumgray {
    background-color: #CCCCCC;
    color: #fff;
}

button.lightgray {
    background-color: #F5F7FA;
    color: #8092A5;
}

button.pink {
    background-color: #EE7390;
    color: #fff;
}

button.green {
    background-color: #40C2A6;
    color: #fff;
}

button.yellow {
    background-color: #F4A82F;
    color: #fff;
}

button.darkgray {
    background-color: #34495E;
    color: #fff;
}

button.darkgray:hover {
    opacity: 1;
  }

button.white {
    background-color: #fff;
    color: #73879C;
}

button.inactive {
    background-color: #fff;
    border-color: #EDEDED;
    color: #bcc2c9;
}



/* グラフ */
.chart {
    background-color: #fff;
    position: relative;
    width: 100%;
}

/* ボタンサイズ */
button.fit {
    font-size: 18px;
    height: 35px;
    width: 100%;
}

button.l {
    font-size: 20px;
    height: 80px;
    width: 200px;
}

button.l_wide {
    font-size: 20px;
    height: 80px;
    width: 300px;
}

button.xl {
    font-size: 20px;
    height: 80px;
    width: 400px;
}

button.m {
    font-size: 18px;
    height: 40px;
    width: 180px;
}

button.m_short {
    font-size: 18px;
    height: 40px;
    width: 100px;
}

button.m_wide {
    font-size: 20px;
    height: 80px;
    width: 420px;
}

button.m_wide_2 {
    font-size: 20px;
    height: 50px;
    width: 300px;
}

button.s {
    font-size: 16px;
    height: 30px;
    width: 130px;
}

button.s_wide {
    font-size: 18px;
    height: 35px;
    width: 250px;
}

button.s_short {
    font-size: 16px;
    height: 30px;
    width: 100px;
}

button.refine_search{
    font-size: 18px;
    height: 80px;
    width: 250px;
}


/* ヘッダーボタン */
.header_button{
    background:#FFF;
    color: #333;
    border: 0px;
    font-size: 18px;
    line-height: 1.5;
    font-weight: normal;
    border-radius: 0%;
    height: 40px;
    width: auto;
    cursor: pointer;
}

.outside:hover{
    color: #1489ff;
    text-decoration:underline;
    text-decoration-color: #1489ff;
}


.to_init{
    font-size: 22px;
    font-weight: bold;
}

/* マイページ */
.mypage_button{
    color: #fff;
    background: #ff6666;
    outline: 1px solid #FFFFFF;
    outline-offset: -3px;
}

/* ログアウト */
.logout{
    color: #fff;
    background: #003B8F;
    border: 1px solid #fff;
    width: 130px;
    outline: 1px solid #FFFFFF;
    outline-offset: -4px;
}

/* グラフのタブ */
.tab_active {
    background-color: #fff;
    border-bottom: none;
    border-color: #EDEDED;
    color: #333;
    height: 45px;
    width: 18%;
    margin-top: 0;
    margin-right: 10px;
    margin-bottom: -6px;
    margin-left: 0;
    border-radius: 4px 4px 0 0;
    z-index: 3;
}

.tab_inactive {
    background-color: #F7F7F7;
    border-color: #EDEDED;
    color: #73879C;
    height: 55px;
    width: 18%;
    margin-top: 0;
    margin-right: 10px;
    margin-bottom: -11px;
    margin-left: 0;
    border-radius: 4px 4px 0 0;
}

/* マニュアルボタン */
.manual-button-container {
    position: fixed;
	right: 0;
	top: 50%;
    z-index: 9999;
}

.manual-button {
    background-color: #344c5c; 
    border: none;
	border-radius: 8px 0px 0px 8px; 
    width: 40px; 
    height: 120px; 
    display: flex;
    align-items: center; 
    justify-content: center;
    cursor: pointer; 
    transition: width 0.3s, height 0.3s; 
    overflow: hidden;
	margin: 0;
}

.manual-button-title{
	writing-mode: vertical-rl;
	font-size: 18px;
	font-weight: bold;
	color: white; 
}

.manual{
	display: none;
}

.manual a{
    color: #1489ff;
}
.manual-button-container:hover .manual-button {
    width: 310px; 
    height: 120px;
	opacity: 1;
}

.manual-button-container:hover .manual{
	display: inline;
	font-size: 18px;
	white-space: nowrap;
	background-color: #fff;
	margin: auto;
    box-shadow: 0 0 0 30px white;
}

/* 書式系 */
.black {
    color: #000;
}

.gray {
    color: #73879C;
}

.gray2 {
    color: #CCCCCC;
}

.lightgray {
    color: #8092A5;
}

.red{
    color: #c9171e;
}

.bold {
    font-weight: bold;
}

.left {
    margin-right: auto;
    /* 左寄りにする */
}

.right {
    margin-left: auto;
    /* 右寄りにする */
}

.text_right {
    text-align: right;
}

.text_left {
    text-align: left;
}

.bottom {
    margin-top: auto;
}

.center {
    text-align: center;
}

/* フォントサイズ */
.font_12 {
    font-size: 12px;
}

.font_13 {
    font-size: 13px;
}

.font_14 {
    font-size: 14px;
}

/* 検索結果無し表示 */
.no_result{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 500px;
}


/* 薬品ラベル */
.drug_lavel_area {
    background: #ffffff;
    border: solid 1px #D7D7D7;
    padding: 8px;
    height: fit-content;
}

.drug_lavel_box {
    width: 20%;
}

.drug_label {
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    font-size: 14px;
    padding: 5px;
    margin: auto;
    height: 70px;
}

.underline {
    text-align: center;
    margin-bottom: 2px;
    width: 100%;
    border-bottom: 1px solid #ccc;
    margin: 8px 0 8px 0;
}

.overflow{
    overflow-wrap: anywhere;
}

.vermilion {
    background-color: #e96458;
    color: #fff;
}


/* ポップアップのスタイル */
.popup {
    box-shadow: 2px 2px 5px #b7b7bb;
    display: none;
    position: absolute;
    top: -150px;
    left: 20px;
    background-color: #ffffff;
    padding: 18px;
    width: 450px;
    z-index: 9999;
}

.popup_inner {
    border: 1px solid #ccc;
    font-size: 14px;
    color: #333;
    padding: 15px;
    margin: 5px;
    height: 75%;
}

/* 製品情報ツールチップ */
.tooltip {
    position: relative;
    cursor: pointer;
    &:hover .tooltip-text {
      opacity: 1;
      visibility: visible;
    }
  }
  .tooltip-text {
    opacity: 0;
    visibility: hidden;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 130%;
    display: inline-block;
    padding: 5px;
    width: 380px;
    white-space: normal;
    line-height: 1.3;
    background: #fff;
    color: #000;
    border-radius: 3px;
    transition: 0.3s ease-in;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    &:before {
      content: '';
      position: absolute;
      top: 100%;
      left: 50%;
      margin-left: -7px;
      border: 18px solid transparent;
      border-top: 18px solid #b7b7bb;
    }
  }

  .product_url{
    width: 100%;
    background-color: #d1ffff;
    margin-top: 5px;
  }

  .product_url a{
    color: #1489ff;
    line-height: 2;
    padding-left: 1em;
    padding-right: 1em;
  }

/* ドロップダウンチェックリスト */
.overSelect {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
}

.checkboxes {
    background-color: #fff;
    line-height: 2;
    display: none;
    height: auto;
    width: 100%;
    border: 1px #dadada solid;
    position: relative;
    z-index: 5;
}

.checkboxes label {
    display: block;
    font-size: 16px;
    margin: 0 5px;
    width: 95%;
}

.checkboxes label:hover {
    background-color: #1e90ff;
}

.checkboxes .underline {
    border-bottom: 2px solid #D7D7D7;
}

.absolute {
    position: absolute;
}

.relative {
    position: relative;
    margin: 8px;
}

.relative_left_0 {
    position: relative;
    margin: 8px 8px 8px 0px;
}

.checkboxes button {
    height: 25px;
    width: 92%;
}

.checkboxes input[type=text] {
    border: 1px #D7D7D7 solid;
    color: #333;
    height: 25px;
    margin: 10px;
    width: 88%;
}

/* スペース */
.line{
    margin: 0.5em;
}

.double_line{
    margin: 1em;
}


/* ダイアログ */
.dialog {
    display: none;
    position: fixed;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9999;
}

.dialog-content {
    color: #333;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    padding: 20px;
    text-align: center;
    vertical-align: center;
}

.dialog-active {
    display: block;
}

/* テーブルソート */
.sort_init{
    display: none;
}
/* 昇順 */
.tablesorter-headerAsc span:nth-of-type(1) {
    display: none;
}

.tablesorter-headerAsc span:nth-of-type(2) {
    display: inline-block;
}

.tablesorter-headerAsc span:nth-of-type(3) {
    display: none;
}

/* 降順 */
.tablesorter-headerDesc span:nth-of-type(1) {
    display: none;
}

.tablesorter-headerDesc span:nth-of-type(2) {
    display: none;
}

.tablesorter-headerDesc span:nth-of-type(3) {
    display: inline-block;
}

/* PC非表示 */
.only-tablet {
    display: none;
}

.only-sp {
    display: none;
}

/* PCのみ非表示 */
.only-tablet-sp{
    display: none;
}

/* タブレットのみ非表示 */
.only-pc-sp{
    display: block;
}

/* アイコン */
@font-face {
    font-family: "icomoon";
    src: url(./components/fonts/icomoon.eot?nywysf=);
    src: url(./components/fonts/icomoon.eot?nywysf=#iefix) format("embedded-opentype"),
        url(./components/fonts/icomoon.ttf?nywysf=) format("truetype"),
        url(./components/fonts/icomoon.woff?nywysf=) format("woff"),
        url(./components/fonts/icomoon.svg?nywysf=#icomoon) format("svg");
    font-weight: normal;
    font-style: normal;
    font-display: block;
}

[class^=icon-], [class*=" icon-"] {
    font-family: "icomoon" !important;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    /* line-height: 1; */
    -webkit-font-smoothing: antialiased;
}

i.icon {
    font-size: 1.375rem;
    margin-left: 0;
    margin-right: 0.5em;
    vertical-align: middle;
}

.icon-mypage:before {
    content: "\e92c";
    display: inline-block;
}