@charset "utf-8";
/*Google Fonts（ZEN 角ゴシック New）の読み込み
---------------------------------------------------------------------------*/
@import url('https://fonts.googleapis.com/css2?family=Zen+Kaku+Gothic+New:wght@500&display=swap');
/*Font Awesomeの読み込み
---------------------------------------------------------------------------*/
@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.2/css/all.min.css");
/*opa1のキーフレーム設定
---------------------------------------------------------------------------*/
@keyframes opa1 {
	0% {
		opacity: 0;
	}
	100% {
		opacity: 1;
	}
}
/*animation1のキーフレーム設定（開閉ブロックのアニメーションに使用）
---------------------------------------------------------------------------*/
@keyframes animation1 {
	0% {
		left: -200px;
	}
	100% {
		left: 0px;
	}
}
/*全体の設定
---------------------------------------------------------------------------*/
body * {
	box-sizing: border-box;
}
html, body {
	height: 100%;
	font-size: 13px;
}
/*画面幅900px以上の追加指定*/
@media screen and (min-width:900px) {
	html, body {
		font-size: 16px;
	}
}
body {
	font-family: "Zen Kaku Gothic New", sans-serif;
	font-weight: 500;
	font-style: normal;
	margin: 0;
	padding: 0;
	line-height: 2;
	color: #2f2725;
}
/*リセット*/
figure {
	margin: 0;
}
dd {
	margin: 0;
}
nav, ul, li {
	margin: 0;
	padding: 0;
}
nav ul {
	list-style: none;
}
h1, h2, h3, h4 {
	font-weight: 500;
}
p {
	margin: 0 0 0.5em 0;
}
table {
	border-collapse: collapse;
}
img {
	border: none;
	max-width: 100%;
	height: auto;
	vertical-align: middle;
}
video {
	max-width: 100%;
}
iframe {
	width: 100%;
}
input {
	font-size: 1rem;
}
strong {
	font-weight: 700;
}
/*リンクテキスト全般の設定
---------------------------------------------------------------------------*/
a {
	color: #2f2725;
	transition: 0.3s; /*hoverまでにかける時間。0.3秒。*/
}
/*マウスオン時*/
a:hover {
	text-decoration: none;
}
/*ヘッダー部分
---------------------------------------------------------------------------*/
/*サイトタイトル*/
#logo {
	padding: 0;
	margin: 1em 0;
	font-size: clamp(1.5rem, calc(1rem + 0.625vw), 2.5rem);
	text-shadow: 1px 1px 0 #FFF, -1px -1px 0 #FFF, -1px 1px 0 #FFF, 1px -1px 0 #FFF, 1px 0 0 #FFF, -1px 0 0 #FFF, 0 1px 0 #FFF, 0 -1px 0 #FFF;
	text-align: center;
}
header {
	width: 400px;
	padding: 0 2vw;
	margin-top: 4vw;
	text-align: center;
}
/*画面幅900px以上の追加指定*/
@media screen and (min-width:900px) {
	header {
		position: fixed;
		left: 0px;
		top: 0px;
	}
}
/*画面の高さが500px以下の追加指定*/
@media screen and (max-height:500px) {
	header {
		position: absolute; /*メニューが切れて見えなくならないように、fixedを中止する*/
	}
}
/*mainブロック（右側のsectionを囲むブロック）
---------------------------------------------------------------------------*/
/*画面幅900px以上の追加指定*/
@media screen and (min-width:900px) {
	main {
		margin-left: 400px; /*headerのwidthに合わせる*/
	}
}
main h2 {
	font-size: 2.5rem;
	margin-top: 0;
}
main h3 {
	font-size: 1.5rem;
}
main h4 {
	font-size: 1.3rem;
	position: relative;
}
main h4::before {
	content: "";
	position: absolute;
	background: #9494C6;
	width: 50px;
	height: 50px;
	border-radius: 50%;
	top: 50%;
	left: -15px;
	-webkit-transform: translateY(-50%);
	transform: translateY(-50%);
	z-index: -1;
}
main a{
	color: #5654a2;
}
/*メニューブロック初期設定
---------------------------------------------------------------------------*/
/*メニューをデフォルトで非表示*/
#menu {
	display: none;
}
/*上で非表示にしたメニューを表示させる為の設定*/
.large-screen #menu {
	display: block;
}
.small-screen #menu.display-block {
	display: block;
}
/*3本バーをデフォルトで非表示*/
#menu_hdr.display-none {
	display: none;
}
/*メニュー
---------------------------------------------------------------------------*/
#menu ul {
	margin: 3rem 0;
}
#menu nav a {
	text-decoration: none;
	display: block;
	background: #fff;
	padding: 1rem;
	margin: 0.5rem 0;
	border-radius: 0.5vw;
}
#menu nav a:hover {
	color: #FFF;
	background: #5654a2;
}
/*900px以下画面でのメニュー
---------------------------------------------------------------------------*/
.small-screen #menu.display-block {
	position: fixed;
	overflow: auto;
	z-index: 1;
	left: 0px;
	top: 0px;
	width: 100%;
	height: 100%;
	padding-top: 80px;
	background: rgba(0, 0, 0, 0.8); /*背景色*/
	animation: animation1 0.2s both; /*animation1を実行する。0.2sは0.2秒の事。*/
}
.small-screen #menu ul {
	margin: 3rem; /*メニューブロックの外側に空けるスペース*/
}
/*３本バー（ハンバーガー）アイコン設定
---------------------------------------------------------------------------*/
/*３本バーを囲むブロック*/
#menu_hdr {
	animation: opa1 0s 0.2s both;
	position: fixed;
	z-index: 2;
	cursor: pointer;
	right: 10px;
	top: 10px;
	padding: 16px 14px;
	width: 46px;
	height: 46px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	background: #5654a2;
}
/*バー１本あたりの設定*/
#menu_hdr span {
	display: block;
	transition: 0.3s;
	border-top: 1.5px solid #fff;
}
/*×印が出ている状態の設定。※１本目および２本目のバーの共通設定*/
#menu_hdr.ham span:nth-of-type(1), #menu_hdr.ham span:nth-of-type(3) {
	transform-origin: center center;
	width: 20px;
}
/*×印が出ている状態の設定。※１本目のバー*/
#menu_hdr.ham span:nth-of-type(1) {
	transform: rotate(45deg) translate(3.8px, 5px);
}
/*×印が出ている状態の設定。※３本目のバー*/
#menu_hdr.ham span:nth-of-type(3) {
	transform: rotate(-45deg) translate(3.8px, -5px);
}
/*×印が出ている状態の設定。※２本目のバー*/
#menu_hdr.ham span:nth-of-type(2) {
	display: none;
}
/*セクション
---------------------------------------------------------------------------*/
/*フェード設定*/
.section::before {
	opacity: 0;
	transition: opacity 1s;
}
.section.active::before {
	opacity: 1;
}
.section.inactive::before {
	opacity: 0;
}
/*section要素*/
section ul {
	margin: 0.5em 0 0.5em 1em;
}
section ul li {
	list-style-type: circle;
}
/*４つのsectionブロックの共通設定*/
#home, #profile, #research, #results {
	min-height: calc(100vh - 50px);
	margin-bottom: 50px;
	padding: 3vw 5vw;
}
/*画面幅900px以上の追加指定*/
@media screen and (min-width:900px) {
	#home, #profile, #research, #results {
		border-radius: 1vw 0 0 1vw;
	}
}
/*背景画像を置く為の設定*/
#home::before, #profile::before, #research::before, #results::before {
	content: '';
	position: fixed;
	z-index: -1;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
/*「HOME」*/
#home::before {
	background: url('/medicalipstudies/images/home_bg.jpg') no-repeat center center / cover;
}
#home{
	background-color: rgba(255, 255, 255, 0.8);
}

#home img{
		width: 500px;
		float: right;
		margin-left: 2em;
	border-radius:0.5vw;
}
@media screen and (max-width: 480px){
	#home img{
	text-align: center;
		display: block;
}
}

.box {
	position: relative;
	margin: 0 auto;
}
.box img {
	position: absolute;
	right: 0;
	top: 0;
	width: 500px;
	height: auto;
	object-fit: cover;
}
.box div {
	position: absolute;
	left: 0;
	background: #fff;
	z-index: 2;
	top: 200px;
	width: 75%;
	height: auto;
	padding: 30px;
	box-sizing: border-box;
	box-shadow: 0 0 10px #999;
	text-align: justify;
}
@media only screen and (max-width: 480px) {
	.box {
		position: relative;
		width: 100%;
		padding: 2%;
		box-sizing: border-box;
	}
	.box img {
		position: static;
		width: 90%;
		height: auto;
		margin: 0 auto;
		display: block;
		object-fit: cover;
	}
	.box div {
		position: static;
		background: #fff;
		width: 100%;
		padding: 30px;
		box-sizing: border-box;
		box-shadow: 0 0 10px #999;
	}
}
@media only screen and (max-width: 1500px) {
	.box {
		position: relative;
		width: 100%;
		padding: 2%;
		box-sizing: border-box;
	}
	.box img {
		position: static;
		width: 90%;
		height: auto;
		margin: 0 auto;
		display: block;
		object-fit: cover;
	}
	.box div {
		position: static;
		background: #fff;
		width: 100%;
		padding: 30px;
		box-sizing: border-box;
		box-shadow: 0 0 10px #999;
	}
}
/*「プロフィール」*/
#profile {
	background-color: rgba(255, 255, 255, 0.8);
}
#profile::before {
	background: url('/medicalipstudies/images/profile_bg.jpg') no-repeat center center / cover;
}
#profile dl {
	display: flex;
	flex-wrap: wrap;
	width: 100%;
	margin: 0;
}
#profile dt {
	width: 15%;
	padding: 0.5em;
}
#profile dd {
	width: 85%;
	padding: 0.5em;
}
/*「研究内容」*/
#research {
	background-color: rgba(86, 84, 162, 0.8);
	color: #FFF;
}
#research::before {
	background: url('/medicalipstudies/images/research_bg.jpg') no-repeat center center / cover;
}
.video {
	position: relative;
	width: 85%;
	margin: auto;
	padding-top: 56.25%; /* 16:9のアスペクト比 */
	height: 0;
}
.video iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
/*「研究実績」*/
#results {
	background-color: rgba(255, 255, 255, 0.8);
}
#results::before {
	background: url('/medicalipstudies/images/results_bg.jpg') no-repeat center center / cover;
}
/*背景色を入れない場合（画像だけを表示したい場合）*/
.no-bgcolor {
	background-color: transparent !important;
}
/*フッター設定
---------------------------------------------------------------------------*/
footer small {
	font-size: 100%;
}
footer {
	font-size: 0.8rem;
	text-align: center;
	padding-bottom: 1rem;
}
/*リンクテキスト*/
footer a {
	color: inherit;
	text-decoration: none;
}
/*PAGE TOP（↑）設定
---------------------------------------------------------------------------*/
.pagetop-show {
	display: block;
}
/*ボタンの設定*/
.pagetop a {
	display: block;
	text-decoration: none;
	text-align: center;
	z-index: 2;
	animation: opa1 0.2s 0.2s both;
	position: fixed;
	right: 20px;
	bottom: 20px;
	color: #fff;
	font-size: 1.5rem;
	background: rgba(0, 0, 0, 0.2);
	width: 60px;
	line-height: 60px;
	border-radius: 50%;
}
/*その他
---------------------------------------------------------------------------*/
/*別サイトリンク*/
a[target="_blank"]::after{
	content: "";
	background-image:url(/medicalipstudies/images/icon_external.png);
	background-repeat:no-repeat;
	background-position:right;
	padding:5px 15px 5px 0;
}
.clearfix::after {
	content: "";
	display: block;
	clear: both;
}
.l {
	text-align: left !important;
}
.c {
	text-align: center !important;
}
.r {
	text-align: right !important;
}
.ws {
	width: 95%;
	display: block;
}
.wl {
	width: 95%;
	display: block;
}
.mb0 {
	margin-bottom: 0px !important;
}
.mb30 {
	margin-bottom: 30px !important;
}
.look {
	display: inline-block;
	padding: 0px 10px;
	background: #000;
	border: 1px solid #fff;
	border-radius: 3px;
	margin: 5px 0;
	word-break: break-all;
}
.small {
	font-size: 0.75em;
}
.large {
	font-size: 2em;
	letter-spacing: 0.1em;
}
.color-check, .color-check a {
	color: #ffcf0d;
}
.pc {
	display: none;
}
.dn {
	display: none !important;
}
.block {
	display: block !important;
}
/*画面幅900px以上の追加指定*/
@media screen and (min-width:900px) {
	.ws {
		width: 48%;
		display: inline;
	}
	.sh {
		display: none;
	}
	.pc {
		display: block;
	}
}