@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=M+PLUS+1p:wght@800&family=Noto+Sans+JP:wght@900&display=swap');


.contents-wrap{
	font-family:Arial, Helvetica, sans-serif;
	line-height:1.75;
	-ms-text-size-adjust:100%;
	-webkit-text-size-adjust:100%;
	word-break:normal;
	overflow-wrap:break-word;
	max-width: 1200px;
	margin:0 auto 2em;
}

.tips-content{
	max-width: 1000px;
	margin: 0 auto;
}

.contents-wrap h1,
.contents-wrap h2,
.contents-wrap h3,
.contents-wrap h4,
.contents-wrap h5{
	margin:0;
	line-height: 1.5;
	font-family: Arial, Helvetica, sans-serif;
	font-weight: 700;
}

.contents-wrap ul{
	margin:0;
	padding:0;
	list-style:none
}
.contents-wrap li>ul{
	margin-bottom:0
}

.contents-wrap p{
	font-family:"Times New Roman",Times,"ヒラギノ明朝 Pro","Hiragino Mincho Pro","游明朝",YuMincho,"HGS明朝E","ＭＳ Ｐ明朝","MS PMincho",serif;
	font-size:16px;
}



.contents-wrap a[href^="#modal-id"], .table-cl{
	color: #DC3E62;
	font-family: Arial, Helvetica, sans-serif;
}

/* ヘッド画像_start */
.contents-wrap h1 {
	background-color: #F6CF23;
	margin-bottom:0.5em;
	/* padding-top: 0.5em; */
	padding-bottom: 0.5em;
	border-radius: 10px;
}
.contents-wrap h1 img {
	max-width: 60%;
}
@media (max-width: 575.98px) {
	.contents-wrap h1 img {
		max-width: 80%;
	}
}
/* ヘッド画像_end */

.blue-bold{
	color: #16448A;
	font-family: Arial, Helvetica, sans-serif;
}

.top_box{
	margin: 1em 0;
}
.top_box .pan_navi{
	margin-left: 20px;
}

.q-head {
	background-color: #F6CF23;
	border-radius: 20px;;
}

.head-content{
	margin: 30px 20px 10px;
}
.head-content h2{
	display: flex;
	font-size: max(2rem, min(3vw, 2.8rem));
	font-family: 'Noto Sans JP', sans-serif;
}
.q-num{
	margin-right: 20px;
	white-space: nowrap;
}
.author-name:not(:root){
	text-align: right;
	margin: 0;
}


.balloon{
	display: flex;
	align-items: flex-start;
}
.resident-balloon{
	margin-top: max(2.5em, min(5vw,4.5em));
}
.dr01{
	margin-top: max(1em, min(2vw,2em));
}
.resident-i{
	margin: auto 20px 0 0;
}
.resident-i img{
	width: 80px;
}
.dr-i{
	margin: auto 0 0 20px;
}
.dr-i img{
	width: 70px;
}
.balloon-caption:not(:root){
	font-size: 10px;
	font-family: arial, sans-serif;
	font-weight: 700;
	margin-top: 2px;
	text-align: center;
	margin-bottom: 0;
}
.balloon-inner{
	font-size: max(14px, min(3vw,18px));
	background: #FFFCF1;
	border-radius: 20px;
	padding: 20px;
	position: relative;
}
.dr-balloon .balloon-inner{
	background: #fff4ae;
}
.resident-balloon .balloon-inner::before,
.dr-balloon .balloon-inner::before{
	position: absolute;
	content: "";
}
.resident-balloon .balloon-inner::before{
	background: url(/rnote/400enq/images/resident-balloon.png) no-repeat;
	background-size: 28px auto;
	width: 28px;
	height: 30px;
	bottom: 10px;
	left: -19px;
}
.dr-balloon .balloon-inner::before{
	background: url(/rnote/400enq/images/dr-balloon.png) no-repeat;
	background-size: 28px auto;
	width: 28px;
	height: 30px;
	top: 60px;
	right: -20px;
}
@media (min-width: 1200px){


	.resident-balloon .balloon-inner{
		margin-right: 5.5em;
	}
	.dr01{
		margin-top: 0.5em;
	}
	.dr-balloon .balloon-inner{
    margin-left: 6.2em;
	}
}

/* 本文_start */
.commentary{
	max-width: 860px;
	/* margin: 2.5em auto 0; */
	margin: 0 auto;
}

.commentary p{
	text-indent: 1em;
}

.commentary h4{
	color: #11699A;
	font-size: clamp(1.6rem, 2.5vw, 1.8rem);
	margin-top: 3em;
}
.commentary img{
	margin-bottom: 1.5em;
	width: 100%;
	max-width: 750px;
}
.commentary img.half{
	max-width: 350px;
}

/* スマホサイズ */
@media (max-width: 767.98px) {
	.commentary img.half{
		max-width: 250px;
	}
}
/* 本文_end */



.head5:not(:root){
	margin-top: 1.6em;
	font-size: 18px;
}

.question-wrap{
	display: flex;
	align-items: center;
}
.question{
	margin-left: 10px;
}

.table-caption:not(:root){
	margin: 3em 0 0.4em;
	font-size: max(16px, min(3vw,18px));
	line-height: 1.6;
}
.table-caption span{
	background: #243881;
	color: #fff;
	padding: 2px 20px;
	border-radius: 30px;
	margin-right: 8px;
	font-weight: 400;
}
.test-table{
	width: 100%;
	border-bottom: solid 1px #94b6cf;
	border-left: solid 1px #94b6cf;
	border-collapse: separate;
}
.test-table thead{
	font-size: max(1.2rem, min(2vw,1.5rem));
	color: #fff;
	background: #3479A4;
	position: sticky;
	position: -webkit-sticky;
	top: 0;
	z-index: 2;
}
.test-table th{
	font-weight: 400;
	text-align: center;
}
.test-table th, .test-table td{
	padding: 1rem;
	border-top: 1px solid #94b6cf;
	border-right: 1px solid #94b6cf;
	vertical-align: middle;
}
.item-head{
	background: #a8cde1;
}
[data-label="検査項目"] {
	background: #E1ECF2;
}
tr:hover [data-label="項目"],
tr:hover [data-label="サブ項目"],
tr:hover [data-label="ページ"]{
	background: #fbf8d1;
	color: #111;
}
tr:hover [data-label="検査項目"]{
	background: #faee6c;
	color: #111;
}



.reference{
	margin-top: 3em;
}
.reference-head:not(:root){
	font-size: 16px;
	margin-bottom: 0.4em;
}
.reference ol{
	list-style: none;
	counter-reset: count 0;
	padding-left: 10px;
}
.reference li{
	word-break: break-word;
	text-indent: -2.3em;
	margin-left: 2.3em;
	font-family: "Times New Roman",serif;
}
.reference li:not(:last-child){
	margin-bottom: 0.6em;
}
.reference li::before {
	content: counter(count)"）";
	counter-increment: count 1;
	margin-right: 0.6em;
}


.member{
	background: radial-gradient(#11699a 30%, transparent 40%) repeat-y;
	background-size: 10px 10px;
	padding-left: 2.5em;
	margin-left: 1.5em;
}

.mt2:not(:root){
	margin-top: 2em;
}
.mt2-4:not(:root){
	margin-top: 2.4em;
}
.mt3:not(:root){
	margin-top: 3em;
}
.mt4:not(:root){
	margin-top: 4em;
}
.mt5:not(:root){
	margin-top: 5em;
}
.mt7:not(:root){
	margin-top: 7em;
}
.mt40:not(:root){
	margin-top: 40px;
}

@media (max-width: 767px){
.breadcrumb, .contents-wrap h1{
	margin-left: -30px;
	margin-right: -30px;
}


.head-content{
	margin: 15px 10px 10px;
}
.q-num{
	margin-right: 10px;
}
.resident-i{
	margin: 0 10px auto 0;
}
.dr-i{
	margin: 0 0 auto 10px;
}
.resident-i img{
	width: 50px;
}
.dr-i img{
	width: 42px;
}
.balloon-inner{
	padding: 15px;
}
.resident-balloon .balloon-inner::before{
	background-size: 15px auto;
	width: 15px;
	height: 15px;
	left: -11px;
	top: 30px;
	bottom: auto;
}
.dr-balloon .balloon-inner::before{
	background-size: 18px auto;
	width: 18px;
	height: 20px;
	bottom: auto;
	right: -13px;
	top: 34px;
}



.table-wrap{
	overflow-x: scroll;
	white-space: nowrap;
	height: 400px;
	width: 100%;
}
[data-label="検査項目"] {
	position: sticky;
	position: -webkit-sticky;
	left: 0;
	z-index: 1;
}


.member {
    background: radial-gradient(#11699a 30%, transparent 40%) repeat-x;
    background-size: 10px 10px;
    padding: 2.5em 0 0;
    margin: 0.8em 0 0;
}
}



/* 続きを読むには
---------------------------------- */
.fadeout-bg{
	position: relative;
  }
  .fadeout-bg::before{
	content: '';
	position: absolute;
	width: 100%;
	height: 140px;
	background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 70%);
	left: 0;
	top: -140px;
  }

  .border-strong {
	text-align: center;
	font-weight: 700;
	margin: 0 0 1.5em;
  }
  .border-strong::before {
	content: "";
	width: 100%;
	border-bottom: 1px dashed #ccc;
	display: block;
	position: relative;
	top: 17px;
	z-index: 0;
  }
  .border-strong span {
	display: inline-block;
	padding: 0 12px;
	margin-top: -10px;
	background: #fff;
	position: relative;
	z-index: 1;
  }
  .border-strong::after {
	content: "";
	background: #fff;
  }

  .contents-wrap .panel {
	margin-bottom: 0;
  }
  
  .contents-wrap .panel .panel-heading {
	line-height: 1.5;
	font-size: max(15px, min(2.5vw, 18px));
  }
  .contents-wrap .panel-body a {
	font-weight: 400;
  }
  .department-wrap .panel-body a.btn-warning {
	color: #fff;
  }
  .department-wrap .panel-body a.btn-default {
	color: inherit;
  }
  
  .panel-heading-txt {
	text-align: center;
	display: block;
	/* font-weight: 700; */
  }
  .panel-heading-txt > span {
	display: inline-block;
  }
  .panel-heading-small {
	display: grid;
	grid-auto-flow: column;
	justify-content: center;
	margin-top: 10px;
	font-size: 80%;
  }

/* 関連書籍
---------------------------------- */
.department .series-box {
	max-width: 100%;
  }
  
  .series-box {
	margin-top: 7em;
	margin-bottom: 5em;
	border: #11699A 3px solid;
	font-weight: bold;
	border-radius: 5px;
	background: #fff;
	max-width: 860px;
	margin-inline: auto;
	position: relative;
  }
  
  .series-container::before {
	content: attr(data-text) "";
	position: relative;
	top: 1px;
	left: 0;
	background: #11699A;
	padding: 7px 14px 9px;
	font-size: 1.5rem;
	font-weight: 400;
	border-radius: 0 0 5px;
	color: #fff;
	line-height: 1.4;
	text-align: center;
	font-weight: 500;
  }
  .series-inner {
	display: grid;
	justify-content: center;
	grid-template-columns: repeat(4, 120px);
	gap: 25px;
	padding: 40px 20px 30px;
  }
  .series-inner a {
	color: inherit;
  }
  .series-inner p {
	font-size: 12px;
	line-height: 1.4;
	margin-top: 8px;
	margin-bottom: 0;
	font-weight: 400;
	font-family: var(--font-notosans);
	text-indent: 0;
  }
  
  .series-box.subscription .series-inner {
	grid-template-columns: auto;
	padding: 10px 20px 30px;
  }
  .series-box.subscription .series-inner p {
	margin: 0 0 15px;
	font-weight: 700;
	font-size: max(12px, min(1.5vw, 14px));
	text-align: center;
	color: #666;
  }
  .series-box.subscription .series-inner img {
	max-width: 310px;
  }


/* 「レジデントノート」のお知らせメールの登録方法
---------------------------------- */
.about-mm-div {
	margin-top: 2em;
	font-family: var(--font-notosans);
}
.about-mm-div .panel-body {
	text-align: center;
	padding: max(20px, min(2.5vw, 25px));
}
.about-mm-div .panel-body .btn {
	color: #fff;
	font-weight: 400;
}
.about-mm p {
  font-family: var(--font-notosans);
  font-size: 14px;
  text-align: left;
  line-height: 1.0;
}
.about-mm p.howto {
  text-indent: -1.2em;
  margin-left: 1.2em;
}
.about-mm p.howto .num {
  font-weight: 900;
}
.about-mm p.howto i {
  display: initial;
}
.about-mm p.howto:last-of-type {
  margin-bottom: 0;
}
.about-mm p.howto a {
	color: #666;
	text-decoration: underline;
}

/* ログイン・新規登録
---------------------------------- */
.login-div {
	margin-top: 2em;
}
.login-div .login-box .panel-body ul {
	padding-left: 0;
	margin-bottom:0px;
}

/* 定期購読の宣伝_start */
.sub-img {
	margin-top: 5em;
}
.sub-img img {
	width: 100%;
	max-width: 500px;
}
/* 定期購読の宣伝_end */


  @media (max-width: 640px) {
	.series-container::before {
	  display: block;
	  border-radius: 0;
	  top: 0px;
	}
	.series-container::before {
	  padding: 4px 14px 7px;
	}
  
	.series-inner {
	  padding: 30px 15px 30px;
	  grid-template-columns: repeat(2, 120px);
	  gap: 20px;
	}
  }
  

 

/* 囲み_start */
.box {
	background-color: #F1EDE4;
	border-radius: 10px;
	padding: 1em 3em;
	margin-bottom: 1em;
}
.box h5 {
	margin-left: -25px;
}
.box li {
	list-style-type: disc;
	margin-top: 0.5em;
	margin-bottom: 0.5em;
}
.box li::marker {
	color: #11699A; /* ここに好きな色を指定 */
}
/* 囲み_end */

/* フキダシ_start */
.speech {
	display       : flex;
	flex-direction: column;
	align-items   : center; /* これで中央に寄せます */
}

.speech li {
	position     : relative;
	border       : 2px solid #666;
	padding      : 15px;
	border-radius: 8px;
	margin-bottom: 20px;
	width        : 90%;   /* 画面幅に対する比率、または 400px などの固定値 */
	max-width    : 500px; /* PCなどで広がりすぎないための上限 */
}

/* 尻尾 */
.speech li::after, 
.speech li::before {
	content : "";
	position: absolute;
	top     : 15px; /* 上からの位置 */
	border  : transparent solid;
}

/* 左からのフキダシ */
.speech li:nth-child(odd) {
	margin-right: 20px;
}
.speech li:nth-child(odd)::before {
	left              : -14px;
	border-width      : 6px 14px 6px 0; 
	border-right-color: #666; /* 枠線の色 */
}
.speech li:nth-child(odd)::after {
	left              : -10px;
	border-width      : 6px 15px 6px 0;
	border-right-color: #fff; /* 背景色 */
}

/* 右からのフキダシ */
.speech li:nth-child(even) {
	background-color: #F1EDE4;
	margin-left     : 20px;
}
.speech li:nth-child(even)::before {
	right            : -14px;
	border-width     : 6px 0 6px 14px;
	border-left-color: #666; /* 枠線の色 */
}
.speech li:nth-child(even)::after {
	right            : -10px;
	border-width     : 6px 0 6px 15px;
	border-left-color: #F1EDE4; /* 背景色 */
}
/* フキダシ_end */



/* 前後の記事へ移動するボタン_start */
.btn-pager a {
	border: none;
}
.btn-pager a:nth-child(2) {
	border-left: 1px solid #ddd;
	border-right: 1px solid #ddd;
}
/* 前後の記事へ移動するボタン_end */
