@charset "utf-8";

.contents-wrap{
	max-width: 840px;
  margin: 0;
	letter-spacing: 0.05em;
	line-height:1.9;
	font-size: 16px;
	-ms-text-size-adjust:100%;
	-webkit-text-size-adjust:100%
}

.contents-wrap p,
.literature li{
	font-family: "ヒラギノ明朝 Pro","Hiragino Mincho Pro","游明朝",YuMincho,"HGS明朝E","ＭＳ Ｐ明朝","MS PMincho",serif;
}

.contents-wrap h1{
	font-family: "ヒラギノ明朝 Pro","Hiragino Mincho Pro","游明朝",YuMincho,"HGS明朝E","ＭＳ Ｐ明朝","MS PMincho",serif;
	font-weight: 700;
	line-height: 1.4;
	margin-top: 1.2em;
	font-size: max(24px, min(6vw,46px));
}
.contents-wrap h1>img{
	width:  max(100px, min(20vw,160px));;
	margin-bottom: 0.5em;
}
.contents-wrap h1>span{
	display: block;
	font-size: 60%;
	font-family: "Hiragino Kaku Gothic ProN", "メイリオ", "Meiryo", "verdana", sans-serif;
	margin-top: .7em;
	-webkit-font-smoothing: antialiased;
	-moz-font-smoothing: grayscale;
}

.main-contents{
	margin: 0 auto;
}

.breadcrumb {
	margin: 20px 0 0;
}

.intro{
	margin-top: 2em;
}
.intro p:not(:root){
	font-family: "Hiragino Kaku Gothic ProN", "メイリオ", "Meiryo", "verdana", sans-serif;
}

.profile{
	display: grid;
	grid-template-columns: 1fr 3fr;
	gap: 30px;
	margin-top: 5em;
}
.profile p:not(:root), figcaption, .mourning p:not(:root){
	font-family: "Hiragino Kaku Gothic ProN", "メイリオ", "Meiryo", "verdana", sans-serif;
	font-size: 14px;
	text-indent: 0;
	line-height: 1.7;
}
figcaption{
	margin-top: 6px;
	font-size: 12px;
	-webkit-font-smoothing: antialiased;
	-moz-font-smoothing: grayscale;
	font-weight: 700;
}

.mourning{
	margin-top: 3em;
}
.mourning>h2{
	font-family: "ヒラギノ明朝 Pro","Hiragino Mincho Pro","游明朝",YuMincho,"HGS明朝E","ＭＳ Ｐ明朝","MS PMincho",serif;
	font-size: 28px;
	font-weight: 700;
	position: relative;
}
.mourning>h2::after{
	content: '';
	border-top: 6px solid;
	width: 100%;
	display: block;
	top: 40%;
	position: absolute;
	z-index: -1;
}
.mourning>h2 span{
	background: #fff;
	padding-right: 20px;
}
.mourning>h3{
	font-family: "Hiragino Kaku Gothic ProN", "メイリオ", "Meiryo", "verdana", sans-serif;
	font-size: 20px;
}

section .head3{
	font-size:20px;
	margin-top: 2em;
	margin-bottom: 1em;
	line-height: 1.5;
}

section .head4{
	margin-top: 1.6em;
	margin-bottom: 1em;
	line-height: 1.5;
	margin-left: 1.4em;
	text-indent: -1.4em;
}
section .head4::before{
	content: '';
	width: 18px;
	height: 18px;
	background: #888;
	margin-right: 6px;
	display: inline-block;
	position: relative;
	top: 2px;
}



.main-contents figure{
	margin: 3em auto;
	max-width: 70%;
}

.main-contents strong,
a[href^="#modal-id-00"],
.main-contents p>span{
font-family: sans-serif;
}

a[href^="#modal-id-00"],
.main-contents p>span{
	color: #7388AD;
	font-weight: 700;
}

a[href^="#modal-id-00"]:not(:root){
	text-decoration: underline;
}

.literature{
	margin:5em 0;
	font-size: 14px;
}

.literature h3{
	font-size: 16px;
	margin-bottom: -4px;
}

.literature ul{
	counter-reset: reference;
	list-style-type: none;
	margin: 0.8em 0 0 0;
	padding-left: 2px;
}
.literature li{
	text-indent: -1.8em;
	margin-left: 1.8em;
}
.literature li::before{
	counter-increment: reference;
	content: counter(reference)'）';
}
.literature p:not(:root){
	text-indent: 0;
}

h4.related-head {
    border-left: 6px solid #333;
    padding: 4px 0 3px 10px;
    margin-bottom: 5px;
    background-color: #ccd3e3;
    font-size: 15pt;
    color: #333;
}

h5.rnote_book_title {font-size:x-large; margin: 5px 0px; padding: 0px; line-height: 120%; font-weight: bold;}

.mt3{
	margin-top:3em;
}
.mt4{
	margin-top:4em;
}
.mt5{
	margin-top:4em;
}

@media (min-width: 768px){
	.contents-wrap{
    margin-left: 40px;
	}
}
@media (max-width: 640px){
	.main-contents figure{
    max-width: 100%;
    margin: 1.5em auto;
	}

	.profile{
		grid-template-columns: auto;
		gap: 15px;
	}
	.profile>div{
		margin: auto;
	}
	.profile>div>img{
		width: 140px;
	}

	.mourning{
		margin-top: 2em;
	}
	.mourning>h2{
		font-size: 22px;
	}
	.mourning>h2::after{
		border-top: 4px solid;
	}
	.mourning>h3{
		font-size: 18px;
	}
}
