@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;400;500;600;700;900&family=Noto+Serif+JP:wght@300;400;500;600;700&family=Roboto:wght@300;400;500;700;900&display=swap');

/* 
@font-face {
	font-family: 'notosansjp';
	font-weight: 300;
	font-display: swap;
	src: url('/fonts/notosansjp/NotoSansJP-Light.ttf') format('truetype');
}

@font-face {
	font-family: 'notosansjp';
	font-weight: 400;
	font-display: swap;
	src: url('/fonts/notosansjp/NotoSansJP-Regular.ttf') format('truetype');
}

@font-face {
	font-family: 'notosansjp';
	font-weight: 500;
	font-display: swap;
	src: url('/fonts/notosansjp/NotoSansJP-Medium.ttf') format('truetype');
}

@font-face {
	font-family: 'notosansjp';
	font-weight: 600;
	font-display: swap;
	src: url('/fonts/notosansjp/NotoSansJP-Bold.ttf') format('truetype');
}
@font-face {
	font-family: 'notosansjp';
	font-weight: 700;
	font-display: swap;
	src: url('/fonts/notosansjp/NotoSansJP-ExtraBold.ttf') format('truetype');
}
@font-face {
	font-family: 'notosansjp';
	font-weight: 900;
	font-display: swap;
	src: url('/fonts/notosansjp/NotoSansJP-Black.ttf') format('truetype');
}

@font-face {
	font-family: 'notoserifjp';
	font-weight: 300;
	font-display: swap;
	src: url('/fonts/notoserifjp/NotoSerifJP-Light.otf') format('opentype');
}
@font-face {
	font-family: 'notoserifjp';
	font-weight: 400;
	font-display: swap;
	src: url('/fonts/notoserifjp/NotoSerifJP-Regular.otf') format('opentype');
}
@font-face {
	font-family: 'notoserifjp';
	font-weight: 500;
	font-display: swap;
	src: url('/fonts/notoserifjp/NotoSerifJP-Medium.otf') format('opentype');
}
@font-face {
	font-family: 'notoserifjp';
	font-weight: 600;
	font-display: swap;
	src: url('/fonts/notoserifjp/NotoSerifJP-SemiBold.otf') format('opentype');
}
@font-face {
	font-family: 'notoserifjp';
	font-weight: 700;
	font-display: swap;
	src: url('/fonts/notoserifjp/NotoSerifJP-Bold.otf') format('opentype');
}
@font-face {
	font-family: 'notoserifjp';
	font-weight: 900;
	font-display: swap;
	src: url('/fonts/notoserifjp/NotoSerifJP-Black.otf') format('opentype');
}

@font-face {
	font-family: 'roboto';
	font-weight: 400;
	font-display: swap;
	src: url(/fonts/roboto/Roboto-Regular.ttf) format('truetype');
}

@font-face {
	font-family: 'roboto';
	font-weight: 700;
	font-display: swap;
	src: url(/fonts/roboto/Roboto-Bold.ttf) format('truetype');
}

@font-face {
	font-family: 'mplusrounded1c';
	font-weight: 300;
	font-display: swap;
	src: url('/fonts/M_PLUS_Rounded_1c/MPLUSRounded1c-Light.ttf') format('truetype');
}
@font-face {
	font-family: 'mplusrounded1c';
	font-weight: 400;
	font-display: swap;
	src: url('/fonts/M_PLUS_Rounded_1c/MPLUSRounded1c-Regular.ttf') format('truetype');
}
@font-face {
	font-family: 'mplusrounded1c';
	font-weight: 500;
	font-display: swap;
	src: url('/fonts/M_PLUS_Rounded_1c/MPLUSRounded1c-Medium.ttf') format('truetype');
}
@font-face {
	font-family: 'mplusrounded1c';
	font-weight: 600;
	font-display: swap;
	src: url('/fonts/M_PLUS_Rounded_1c/MPLUSRounded1c-SemiBold.ttf') format('truetype');
}
@font-face {
	font-family: 'mplusrounded1c';
	font-weight: 700;
	font-display: swap;
	src: url('/fonts/M_PLUS_Rounded_1c/MPLUSRounded1c-Bold.ttf') format('truetype');
}
@font-face {
	font-family: 'mplusrounded1c';
	font-weight: 900;
	font-display: swap;
	src: url('/fonts/M_PLUS_Rounded_1c/MPLUSRounded1c-Black.ttf') format('truetype');
}
 */

:root {
  --color-yodosha: #28883a;
	--color-border-b: #c2cbcc;
	--color-border-b: #d1d8dc;
	--color-border: #d1d8dc;
	--color-bg: #f0f4f6;
	--color-green-bg: #eff5ee;
	--color-hover: #04b24f;
	--color-subtext: #899095;

  --font-sans: 'Noto Sans JP', sans-serif;
	--font-notosans: 'notosansjp', sans-serif;
  --font-serif: 'Noto Serif JP', serif;
	--font-notoserif: 'notoserifjp', serif;
  --font-roboto: 'Roboto', sans-serif;
  --font-roboto: 'roboto', sans-serif;
  --font-rounded: 'mplusrounded1c', sans-serif;
}

/* 全体
-------------------------------------- */

body{
margin: 0;
overflow-x: hidden;
}

#wrap:not(:root){
	margin-bottom: 0;
	letter-spacing: .4px;
	min-height: 100vh;
}

#wrap i.yodosha-i{
	color: var(--color-yodosha);
}

#header-section a,
#footer-section a{
	transition: all ease-in-out .3s;
}

.container-fluid{
	padding: 0 5px;
}

@media (max-width: 767px){
	#wrap:not(:root) {
		overflow: clip;
	}
}

/* header
-------------------------------------- */

#header-section{
	padding: 20px 0 0;
	font-family: var(--font-notosans);
	background: #fff;
}

#header-section a{
	color: #333;
	text-decoration: none;
	display: block;
}

#header-section a:hover{
	color: var(--color-yodosha);
}

#header-inner{
	padding: 0 max(10px, min(2.5vw, 20px));
}

#site-logo{
	display: flex;
	justify-content: space-between;
	align-items: center;
	max-width: 1200px;
	margin-inline: auto;
}

#site-logo h1{
	margin: 0;
}

#site-logo h1>a{
	display: grid;
}

#site-logo h1 img{
	width: 150px;
}

#site-logo h1 p{
	text-align: center;
	color: var(--color-yodosha);
	font-weight: 700;
	margin: 0 0 0 0;
	font-size: max(10px, min(2vw, 10px));
}

/* 検索フォーム */
#search-box .input-group{
	margin: 5px 10px;
	display: flex;
}
#search-box .input-group input:not(:root){
	height: 40px;
	border-radius: 50px;
	padding: 4px 15px;
	border: 2px solid #d9dddc;
	background: #fff;
	color: #272a2c;
	box-shadow: none;
	-webkit-box-shadow: none;
}
#search-box .input-group input:focus{
	box-shadow: 0 0 0 1px var(--color-border-b);
}

#search-box .input-group button:not(:root){
	background: transparent;
	border: none;
	padding: 0px 0 0px 7px;
	position: relative;
}
#search-box .input-group button:focus{
	outline: 0;
	box-shadow: none;
}

#search-box .input-group button i{
	background: var(--color-hover);
	color: #fff;
	width: 40px;
	height: 40px;
	border-radius: 50px;
	display: grid;
	place-items: center;
	font-size: 20px;
}
#search-box .input-group input:placeholder-shown + button>i{
	background: var(--color-yodosha);
}

#search-box{
	transition: all .4s;
	position: relative;
}

/* 右上メニュー */
.header-menu{
	display: grid;
	grid-auto-flow: column;
	list-style: none;
	font-size: 12px;
	margin: 0;
	padding-left: 0;
}
.header-menu li{
	text-align: center;
}
.header-menu i{
	font-size: max(22px, min(3vw,24px));
	transition: all .25s;
}
.header-menu li a{
	position: relative;
	padding: 0 12px;
}
.header-menu.login li a{
	padding: 0 9px;
}
.header-menu li:first-child a{
padding-left: 0;
}
.header-menu li:last-child a{
padding-right: 0;
}

#wrap .header-menu li a:hover i{
	opacity: .75;
}
#wrap i.yodosha-i.fa-unlock{
	color: var(--color-hover);
}
#wrap i.yodosha-i.mypage{
	color: #e75211;
}

.header-menu li a p{
	margin: 7px 0 0;
	font-size: 10px;
	line-height: 1;
	white-space: nowrap;
	letter-spacing: 0;
}
.header-menu .item-num{
	position: absolute;
	background: #e76112;
	color: #fff;
	font-size: 10px;
	width: 16px;
	height: 16px;
	border-radius: 50px;
	display: grid;
	top: -4px;
	right: -5px;
	place-items: center;
	font-weight: 400;
	box-shadow: 0 0 0 1px #fff;
	font-family: var(--font-roboto);
}

/* ヘッダーナビ */
#header-nav{
	margin-top: 20px;
	background: var(--color-yodosha);
}

#header-nav a{
	color: #fff;
	padding: 8px 0;
	height: 38px;
	display: flex;
	justify-content: center;
	align-items: center;
}
#header-nav a:hover {
	background: var(--color-hover);
	color: #fff;
}

.header-nav-list{
	text-align: center;
	display: table;
	width: 100%;
	list-style: none;
	margin: 0;
	padding: 0;
	text-align: center;
	max-width: 1200px;
	margin-inline: auto;
}
.header-nav-list li{
	border-right: 1px solid rgba(255,255,255,.3);
	display: table-cell;
	width: 16.6%;
	font-weight: 500;
	font-size: 16px;
}
.header-nav-list li:first-child{
	border-left: 1px solid rgba(255,255,255,.3);
}
.header-nav-list li a{
	position: relative;
}

.header-nav-list .visible-sp{
	display: none;
}

@media (min-width: 768px) {
	#search-box .input-group input:not(:root) {
		width: 35vw;
		max-width: 400px;
	}
}

@media (max-width: 1199px) {
	.header-nav-list li:first-child{
		border-left: none;
	}
	.header-nav-list li:last-child{
		border-right: none;
	}
}

@media (max-width: 999px) {

	#site-logo h1 img {
    width: 120px;
	}

	.header-nav-list li{
		font-size: 14px;
	}

	.header-menu {
		font-size: 10px;
	}
	.header-menu li a {
		padding: 0 7.5px;
	}
	.header-menu.login li a {
		padding: 0 6px;
	}

}

@media (max-width: 767px){
	#header-section{
    padding-top: 0;
	}
	#site-logo {
    display: grid;
    gap: 15px;
    align-items: end;
    padding: 15px;
    position: fixed;
    z-index: 100;
    background: rgba(255,255,255,.95);
    width: 100%;
    top: 0;
    left: 0;
    transition: all 0.4s ease-out;
		backdrop-filter: blur(10px);
		webkit-backdrop-filter: blur(10px);
	}
	#site-logo.headerScroll{
		padding-top: 10px;
	}
	#header-nav{
		margin-top: 123px;
	}

	#site-logo h1 {
		grid-row: 1/2;
	}
	#site-logo h1 img {
    width: 112px;
	}

	#search-box {
    grid-row: 2/2;
    grid-column: span 2;
    opacity: 1;
    position: absolute;
    width: 100%;
    top: 15px;
    background: rgba(255, 255, 255, .95);
    padding-bottom: 15px;
    z-index: -1;
		transition: all .5s;
    backdrop-filter: blur(10px);
    webkit-backdrop-filter: blur(10px);
	}
	#search-box.slideUp {
		/* animation: UpAnime 0.5s forwards; */
		opacity: 0;
		top: 0;
	}

	@keyframes UpAnime {
		from {
			opacity: 1;
			transform: translateY(0);
		}

		to {
			opacity: 0;
			transform: translateY(-10px);
		}
	}

	/*　下に下がる動き　*/

	#search-box.slideDown {
		/* animation: DownAnime 0.5s forwards; */
		opacity: 1;
		top: 15px;
	}

	@keyframes DownAnime {
		from {
			opacity: 0;
			transform: translateY(-15px);
		}

		to {
			opacity: 1;
			transform: translateY(0);
		}
	}

	#search-box .input-group {
		margin: 0 auto;
		width: 93%;
	}

	#search-box .input-group input:not(:root) {
		height: 37px;
	}
	#search-box .input-group button:not(:root){
		height: 36px;
		padding: 0px 0 0px 5px;
	}
	#search-box .input-group button i{
		font-size: 17px;
		width: 35px;
    height: 35px;
	}

	.header-menu {
		grid-row: 1/2;
	}
	.header-menu li a {
		padding: 0 9px;
	}
	.header-menu.login li a {
    padding: 0 5px;
	}
	.header-menu li a p{
		margin: 5px 0 0;
	}

	.header-nav-list li{
		font-size: 12px;
	}
}

@media (max-width: 540px){
	.header-menu li a {
    padding: 0 6px;
	}
	.header-menu.login li a {
    padding: 0 3px;
	}

	.header-nav-list{
    align-items: center;
    display: grid;
    grid-template-columns: repeat(5,auto);
	}
	.header-nav-list li{
		border: none !important;
		width: auto;
		font-size: 11px;
	}

	#header-nav a {
    padding: 0;
    height: 40px;
    align-items: center;
    display: grid;
	}
}

@media (max-width: 374px) {
	.header-nav-list .visible-sp {
			display: block;
		}

	#site-logo h1>a>img:not(:root){
		width: 100px;
	}

	#header-nav{
		margin-top: 119px;
	}
	#header-nav a{
		padding: 0 8px;
		height: 45px;
		display: grid;
		align-items: center;
	}
}

/* footer
--------------------------------------- */

#footer-section{
	background: var(--color-yodosha);
	position: sticky;
	top: 100vh;
	width: 100%;
	font-family: var(--font-notosans);
}

#footer-section .footer-content{
	max-width: 1215px;
	margin-inline: auto;
	padding: 25px 15px;
}

#footer-section .footer-content a{
	color: #fff;
}
#footer-section .footer-content a:hover{
	opacity: .75;
	text-decoration: none;
}

.footer-menu{
	margin-bottom: 20px;
	list-style: none;
	padding-left: 0;
}
.footer-menu li{
	display: inline-block;
	padding-right: 24px;
	font-size: 12px;
	margin-bottom: 6px;
}

#copyright{
	font-size: 10px;
	color: #fff;
	opacity: .65;
}


/* TOPへ戻るボタン
--------------------------------------- */

#page-totop{
	opacity: 0;
	visibility: hidden;
	transition: all .5s;
}
#page-totop.is-fadein{
	opacity: 1;
	visibility: visible;
}
.totop{
	width: auto;
	height: auto;
	background: transparent;
	box-shadow: none;
  position: fixed;
	bottom: 70px;
	right: 70px;
  z-index: 9;
}
.totop a .totop-arrow{
	width: 50px;
	height: 50px;
	display: block;
	transition: all 0.3s;
	border-radius: 50px;
	position: absolute;
	background: #fff;
	border: 2px solid var(--color-yodosha);
	box-shadow: 0 2px 0 rgba(0,0,0,.1);
	opacity: .9;
}
.totop a .totop-arrow::before{
	content: "";
	width: 1.1rem;
	height: 1.1rem;
	border-top: 2px solid var(--color-yodosha);
	border-right: 2px solid var(--color-yodosha);
	position: absolute;
	top: 50%;
	transform: translateY(-30%)rotate(-45deg);
	opacity: 1;
	place-items: center;
	left: 17px;
	transition: all .3s;
}
@media (hover: hover) {
.totop a:hover .totop-arrow::before{
    translate: 0 -3px;
}
}
@media (hover: none) {
.totop a:active .totop-arrow::before{
    translate: 0 -3px;
}
}

@keyframes jump{
0% {
		transform:translateY(0);
	}
50% {
		transform:translateY(-5px);
	}
	100% {
		transform:translateY(0);
	}
}

@media(max-width: 767px){
	.totop{
		bottom: 50px;
		right: 50px;
	}
	.totop a .totop-arrow{
    width: 38px;
    height: 38px;
	}
	.totop a .totop-arrow::before{
		width: 0.8rem;
    height: 0.8rem;
		left: 13px;
	}
}


/* 国外購入者の消費税対応_start
--------------------------------------- */
.alert-region {
	margin-top   : 3em;
	margin-bottom: 5em;
}
/* 国外購入者の消費税対応_end
--------------------------------------- */



/* 実験医学コンテンツマネージャー　目次　著者部分　20250401〜
-------------------------------------- */
.index-author::before {
            content: '【';
        }
        .index-author::after {
            content: '】';
				}
/* 実験医学コンテンツマネージャー　目次　著者部分　20250401〜
-------------------------------------- */
