@import url('https://fonts.googleapis.com/css2?family=Anton&display=swap');

#contents{
	padding: 0;
}

.next_ttl{
	text-align: center;
}
.seriesGlogo{
	width: 50%;
	margin-bottom: 26px;
	max-width: 300px;
}

.toContents{
	display: flex;
	justify-content: center;
	font-size: clamp(1.5rem,3vw,1.7rem);
	font-weight: 700;
}
.toContents p{
	margin-bottom: 0;
	line-height: 1.75;
	border-bottom: 1px solid #b29073;
	padding-bottom: 3px;
}
.toContents i{
	margin: 0 4px;
	display: inline;
}

.main{
	margin: 110px auto 60px;
	font-size: medium;
	line-height: 1.9;
}

.next_txt{
	padding: 150px 40px;
	margin-bottom: 130px;
	position: relative;
}
.next_txt::after{
	content: '';
  position: absolute;
  left:0;
  top: 3.5vw;
  transform: skewY(4deg);
	-webkit-transform: skewY(4deg);
  transform-origin: top right;
  z-index: -1;
  width:100%;
  height:100%;
  background:#F2E5D3;
}
.next_txt h3, .next_txt p{
	max-width: 840px;
	margin: 0 auto;
}
.next_txt p{
	font-family: 'Times New Roman', Times, serif;
	line-height: 2.2;
	text-indent: 1em;
}
.next_txt h3{
	font-weight: 700;
	margin-bottom: 36px;
	/* border-bottom: 1px solid; */
	padding-bottom: 8px;
	line-height: 1.6;
	font-size: 4.8rem;
	text-align: center;
}
.intro-detail{
	max-width: 840px;
	margin: auto;
	margin-top: 1.4em;
}
.detail-btn{
	text-align: right;
	position: relative;
	padding: 0 20px;
	text-decoration: none;
	color: #333;
	display: grid;
	transition: all .3s;
}
.detail-btn:hover{
	text-decoration: none;
}
.detail-btn::before{
    content: '';
		position: absolute;
    bottom:-8px;
    right: 0;
    width: 83px;
    height: 1px;
		background:#333;
		transition: all .3s;
}
.detail-btn::after{
    content: '';
		position: absolute;
    bottom:-3px;
    right:0;
    width: 15px;
    height:1px;
		background:#333;
    transform: rotate(35deg);
    transition: all .3s;
}
.detail-btn:hover::before{
    right: -1%;
}

.detail-btn:hover::after{
    right:-1%;
}

.contents-box{
	max-width: 1050px;
	margin: 0 auto;
}
.contents-inner{
	border: 3px solid #8d8a86;
	padding: 70px 40px;
	word-break: break-all;
}
.contents-head{
	font-weight: 700;
	color: #333;
	margin-bottom: 48px;
	text-transform: uppercase;
	font-family: Impact, 'Anton', Haettenschweiler, 'Arial Narrow Bold', sans-serif;
	font-size: 52px;
	text-align: center;
}
.contents-head span{
	font-weight: 700;
	color: #ea5404;
	font-size: 21px;
	margin-top: 6px;
	display: block;
}

.contents-copy{
	background: #f5f5f5;
	padding: 10px 20px;
	margin-bottom: 40px;
}
.contents-copy p{
	margin-bottom: 0;
	font-size: 14px;
}

.browse-txt{
	text-align: center;
	margin-top: -1em;
	margin-bottom: -1em;
}
.browse-txt p{
	display: inline-block;
	background: #a07958;
	color: #fff;
	padding: 6px 15px;
	position: relative;
	font-size: clamp(1rem,3vw,1.5rem);
	/*animation:balloon-fuyuu 2s ease infinite alternate;*/
	border-radius: 5px;
	box-shadow: 0 4px 4px rgb(160 121 88 / 20%);

}
.browse-txt p::before {
	content: '';
	position: absolute;
	display: block;
	border-style: solid;
	border-color: #a07958 transparent;
	border-width: 10px 10px 0;
	bottom: -10px;
	left: 50%;
	margin-left: -10px;
}
@keyframes balloon-fuyuu{
0%{top:-6px}50%{top:0}100%{top:-6px}
}

.sub_list{
	max-width: 840px;
	margin: 0 auto;
	font-weight: 700;
	font-size: 16px;
	list-style-type: none;
	counter-reset: number -1;
	line-height: 1.7;
	padding-left: 48px;
}
.sub_list>li{
	position: relative;
	border-left: 1px solid #dfd9d2;
	padding-left: 24px;
}
.sub_list>li:not(:last-child){
	margin-bottom: 40px;
}
.sub_list>li::before {
	counter-increment: number;
	content: counter(number, decimal-leading-zero);
	color: #a17a5b;
	font-size: 2.8rem;
	font-weight: 700;
	text-align: center;
	border-radius: 50%;
	display: block;
	position: absolute;
	left: -48px;
	top: 50%;
	transform: translateY(-50%);
}

.chapter_list{
	counter-reset: number 0;
	padding-left: 90px;
}
.chapter_list small{
	font-size: 85%;
	color: inherit;
}
.chapter_list *{
	font-weight: 700;
}
.chapter_list>li{
	padding-left: 34px;
}
.chapter_list>li:not(:last-child){
	margin-bottom: 60px;
}
.chapter_list>li::before {
	content: "第"counter(number)"章";
	left: -96px;
}
.chapter_list h4{
	display: block;
  font-size: 2.8rem;
	margin-bottom: 1em;
	line-height: 1.5;
	color: #7f5b3e;
}
.chapter_list>li>h5{
	margin-bottom: 0.8em;
	margin-top: 0;
	display: block;
}

.chapter_list02, .column-list{
	counter-reset: number 0;
	list-style: none;
	padding-left: 0;
}
.chapter_list02>li{
	text-indent: -2em;
	margin-left: 2em;
}
.chapter_list02>li:not(:last-child), .column-list>li:not(:last-child),
.contents-appendix>ul>li{
	margin-bottom: 0.6em;
}

.chapter_list02>li::before {
	counter-increment: number;
	content: counter(number, decimal-leading-zero);
	margin-right: 14px;
	color: #a17a5b;
}
.chapter_list02.no-num>li::before,
.contents-appendix>ul>li::before{
	content: '';
	width: 8px;
	height: 8px;
	background: #dfd9d2;
	display: inline-block;
	border-radius: 50px;
	position: relative;
	top: -2px;
}
.contents-appendix>ul>li::before{
	left: -18px;
}

.data_list>li::before {
	content: attr(data-text);
}

.contents-appendix:not(:root){
	position: relative;
	border-left: none;
	padding-left: 65px;
}
.contents-appendix:not(:root)::before{
	content: attr(data-text);
	background: #ea5404;
	color: #fff;
	font-size: 2rem;
	font-weight: 700;
	text-align: center;
	border-radius: 20px;
	display: block;
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	padding: 0 12px;
}
.contents-appendix>ul{
	list-style: none;
	padding-left: 0;
}
.contents-appendix>ul>li{
	position: relative;
	text-indent: -0.4em;
}

.chapter_list h5{
	display: inline;
  font-size: 16px;
}
.column-list{
	margin-left: 60px;
	margin-top: 0.6em;
}
.column-list>li{
	position: relative;
}
.column-list>li::before{
	counter-increment: number;
	content: counter(number, decimal-leading-zero);
	margin-right: 14px;
	color: #a17a5b;
}
.column-list>li::after{
	content: 'コラム';
	position: absolute;
	left: -65px;
	font-size: 75%;
	background: #ea5404;
	padding: 0px 8px;
	border-radius: 50px;
	color: #fff;
	top: 4px;
	line-height: 1.6;
}
.column-list.no-num{
	margin-left: 50px;
}
.column-list.no-num>li::before{
	content: '';
}
.column-list.no-num>li::after{
	left: -55px;
}

.browse{
	margin: 0 2px;
	transition: all .15s;
	display: inline-block;
}

.browse2{
	margin: 0;
	position: relative;
	display: inline;
}
.browse::before{
	content: '\f02d';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
	font-size: 17px;
	margin-right: 3px;
}
.browse2::before {
	position: absolute;
	top: 1px;
}
.browse:hover{
	transition: all .15s;
	text-decoration: none;
}
.browse span{
	position: relative;
}
.browse span:hover{
	text-decoration: none;
}
.browse span:hover::before {
  content: attr(data-label);
	position: absolute;
	background: #ea5404;
	color: #fff;
	padding: 3px 7px;
	border-radius: 5px;
	font-size: 12px;
	font-weight: 400;
	top: -40px;
	left: -35px;
	white-space: nowrap;
	z-index: 2;
	display: block;
}
.browse2 span:hover::before {
	content: attr(data-label);
	padding: 7px 7px;
	text-indent: 0;
}
.browse span:hover::after {
	content: '';
	position: absolute;
	display: block;
	z-index: 1;
	border-style: solid;
	border-color: #ea5404 transparent;
	border-width: 10px 10px 0;
	top: -17px;
	left: 9px;
	margin-left: -10px;
}
.browse2 span:hover::after {
	top: -16px;
}

.note{
	margin-top: 10px;
	text-align: right;
	font-size: 12px;
}

#selling{
	max-width: 750px !important;
	margin: 20px auto 80px !important;
	padding: 0 15px !important;
	border: 0 !important;
}
#selling .row{
	border: 2px solid #999;
	padding: 20px;
	box-shadow: 10px 10px #e0dfdf;
	background: #fbf7f3;
}
.bookdatalist{
}
.price{
}
.price span{
	font-size: 2.4rem;
	font-weight: 700;
}
.status{
	margin-top: 10px;
	font-weight: 700;
}
.status .text-info{
	color: #606367;
}
.bookdatas{
	margin-top: 20px;
	font-size: max(12px, min(2vw, 14px));
	color: #555;
}
.bookdatas span{
	display: inline-block;
}
.booktocart{
		height: max(10vh, min(20vw, 14.5vh));
    display: grid;
    align-items: center;
}
.buy_button{
	margin: 0 auto;
	transition: .3s;
}
.buy_button:hover{
	opacity: .7;
}
@media (min-width: 768px){
	.buy_button{
		max-width: 200px;
	}
}
@media(max-width: 767px){
	.main{
		margin: 80px auto 40px;
	}
	.next_txt{
		margin: 0px calc(50% - 50vw) 80px;
		padding: 80px 20px;
	}
	.contents-inner {
    padding: 60px 20px;
	}
	.next_txt h3{
		font-size: 3rem;
    margin-bottom: 28px;
	}
	.next_txt p{
		font-size: 15px;
	}
	.sub_list{
		font-size: 15px;
		padding-left: 36px;
	}
	.sub_list>li{
		padding-left: 16px;
	}
	.sub_list>li::before {
		left: -40px;
		font-size: 2.6rem;
	}

	.contents-inner.chapter{
		padding: 40px 20px 45px;
		border-width: 2px;
	}
	.contents-copy{
		margin-bottom: 60px;
	}
	.chapter_list, .chapter_list>li{
		padding-left: 0;
	}
	.chapter_list>li{
		border-left: none;
		padding-left: 0px;
	}
	.chapter_list>li:not(:last-child){
		margin-bottom: 68px
	}
	.chapter_list>li::before{
		left: 0px;
		font-size: 1.8rem;
		top: -34px;
		transform: none;
		border-bottom: 1px solid #dfd9d2;
		border-radius: 0;
		width: 100%;
		text-align: left;
		line-height: 1.5;
	}
	.chapter_list h4{
		font-size: 18px;
		margin-bottom: 0.8em;
	}
	.chapter_list02>li{
		text-indent: -2em;
    margin-left: 2em;
	}
	.chapter_list02.no-num>li{
		text-indent: -1em;
    margin-left: 1em;
	}
	.chapter_list02>li::before, .column-list>li::before{
		margin-right: 12px;
	}
	.chapter_list02.no-num>li::before{
		margin-right: 10px;
		width: 6px;
		height: 6px;
	}
	.chapter_list h5{
		font-size: 15px;
	}

	.contents-appendix:not(:root){
		padding-left: 24px;
	}
	.contents-appendix:not(:root)::before{
		font-size: 1.5rem;
		top: -22px;
		width: fit-content;
	}
	.contents-appendix>ul>li::before {
    left: -12px;
	}

	.browse::before{
		font-size: 14px;
	}
	.browse2::before{
		top: 2px;
		left: 8px;
	}
	.browse span:hover::before {
		font-size: 10px;
		top: -32px;
		left: -30px;
	}
	.browse2 span:hover::before {
		top: -34px;
	}
.browse span:hover::after {
		top: -14px;
	}
.contents-head {
    font-size: 34px;
		margin-bottom: 30px;
}
.contents-head span{
		font-size: 16px;
		margin-top: 4px;
}
.seriesGlogo {
    width: 42%;
		margin-bottom: 16px;
}
#selling .row {
    border-width: 1px;
    padding: 16px 2px;
    box-shadow: 8px 8px #e0dfdf;
}
#selling {
		margin: 10px auto 66px;
}
}

.seriesg-banner {
	transition: .3s ease;
}

.seriesg-banner:hover {
	transform: scale(1.06);
}

/*contents.html, preface.html
-----------------------------------*/
div.tab-content{
	border: none;
}




.youtube {
	position:relative;
	width: 100%;
	max-width: 560px;
}

.youtube::before {
	content: "";
	display: block;
	width: 100%;
	padding-top: 56.25%;
}

.youtube iframe{
	position: absolute;
	top: 0;
	right: 0;
	width: 100%;
	height: 100%;
}

.youtube-list {
	position:relative;
	width: 100%;
	max-width: 400px;
	margin: 1em 1em 0.5em 0;
}

.youtube-list::before {
	content: "";
	display: block;
	width: 100%;
	padding-top: 56.25%;
}

.youtube-list iframe{
	position: absolute;
	top: 0;
	right: 0;
	width: 100%;
	height: 100%;
}
