@charset "UTF-8";

/*
---------------------------------------
一覧
---------------------------------------
*/

.ebook .page-header::before {
	content: '';
	position: absolute;
  	right: max(calc((100vw - 1200px) / 2 - -80px),20px);
  	top: 394px;
	display: block;
	width: min(16.13vw,200px);
	height: auto;
	aspect-ratio: 400 / 414;
	background: url(../img/ebook/paper.png) center / contain no-repeat;
  	transform: translateY(-50%);
}

.ebook-list-container {
	position: relative;
	margin-top: 13.5rem;
	padding-bottom: 8rem;
	background: #fff;
}

.ebook-list-anchor {
	position: absolute;
	top: -6rem;
	width: 0;
	height: 0;
}

.ebook-list-container .inner {
	max-width: 1240px;
	padding: 0 20px;
}

.ebook-cat-nav {
	padding: 6.2rem 0 0;
}

.ebook-cat-nav-list {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 3rem;
	width: max-content;
	height: 6.0rem;
	background: #e74921;
	border-radius: 3rem;
	margin: -9.2rem auto 0;
	padding: 0 5rem;
	box-shadow: 0 0.4rem 1.2rem 0 rgba(0, 0, 0, 0.1);
	position: relative;
	z-index: 0;
}

.ebook-cat-nav-list .cat-item a {
	display: block;
	position: relative;
	border-radius: 1.8rem;
	font-size: 1.5rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	padding: .3rem 1.8rem;
	color: #fff;
	transition: .2s;
}

.ebook-cat-nav-list .cat-item a::after {
	content: "";
	position: absolute;
	bottom: -1.2rem;
	background: #fff;
	left: 50%;
	transform: translateX(-50%) scaleX(0);
	transform-origin: center;
	width: 20px;
	height: 4px;
	opacity: 0;
	pointer-events: none;
	z-index: 1;
	transition: transform 0.4s ease, opacity 0.4s ease;
}

.ebook-cat-nav-list .cat-item a:hover::after {
	transform: translateX(-50%) scaleX(1);
	opacity: 1;
}

.ebook-cat-nav-list .cat-item.current-cat a {
	background: #fff;
	color: #e74921;
	pointer-events: none;
}

.ebook-box-ul {
	display: grid;
	grid-template-columns: repeat(3,1fr);
	justify-content: center;
	gap: 5.5rem 5%;
	margin-top: 4.8rem;
}

.ebook-box-li a {
	display: block;
	height: 100%;
}

.ebook-box-li .img {
	position: relative;
	width: 100%;
	aspect-ratio: 360 / 270;
	border-radius: 2rem;
	overflow: hidden;
}

.ebook-box-li .img img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: .4s;
}

.ebook-box-li a:hover img {
	transform: scale(1.05);
}

.ebook-box-li .ebook-info {
	position: relative;
	padding: 1.8rem 0 0;
}

.ebook-box-li .ebook-info .ttl {
	font-weight: 500;
	font-size: 1.7rem;
	line-height: calc(28/17);
	letter-spacing: 0.02em;
}

.ebook-box-li .buttton01 {
	margin: 1.8rem auto 0;
	position: relative;
	font-weight: 700;
	font-size: 1.4rem;
	letter-spacing: 0;
	color: #fff;
	background: #222222;
	border-radius: 2rem;
	width: 24rem;
	height: 4rem;
	display: flex;
	justify-content: center;
	align-items: center;
	transform: translateX(-2px);
	transition: all .2s;
}

.ebook-box-li .buttton01::after {
	position: absolute;
	content: '';
	top: 50%;
	right: 1.9rem;
	transform: translateY(-50%);
	width: 1.5rem;
	height: 1.5rem;
	background: url(../img/common/download.png) center/cover no-repeat;
}

.ebook-box-li a:hover .buttton01 {
	background: #e74921;
}

@media screen and (max-width: 750px) {
	.ebook .page-header::before {
        top: 67.8vw;
		right: 1.25vw;
        width: 27vw;
	}

	.ebook-list-container {
		margin-top: 30px;
	}

	.ebook-list-anchor {
		position: static;
	}

	.ebook-list-container .inner {
		padding: 0;
	}

	.ebook-cat-nav {
		padding: 30px 0 0;
	}

	.ebook-cat-nav-list {
		position: relative;
		display: flex;
		gap: 8px;
		width: auto;
		height: auto;
		background: none;
		border: none;
		border-radius: 0;
		overflow-x: scroll;
		padding: 5px 20px;
		margin-top: 0;
		box-shadow: none;
	}

	.ebook-cat-nav-list::before {
		content: '';
		position: absolute;
		right: 0;
		top: 0;
		display: block;
		width: 40px;
		height: 100%;
		background: linear-gradient(to right, transparent, #fff);
		transition: .2s;
	}

	.ebook-cat-nav-list.is-scroll::before {
		opacity: 0;
	}

	.ebook-cat-nav-list::after {
		content: '';
		display: block;
		width: 1px;
		height: 100%;
	}

	.ebook-cat-nav-list .cat-item a {
		color: #e74921;
		border: 1px solid #e74921;
		border-radius: 30px;
		font-size: 12px;
		font-weight: 700;
		letter-spacing: 0;
		padding: 3px 15px;
		white-space: nowrap;
	}

	.ebook-cat-nav-list .cat-item.current-cat a {
		color: #fff;
		background: #e74921;
	}

	.ebook-box-ul {
		grid-template-columns: 1fr;
		gap: 50px;
		margin-top: 30px;
		padding: 0 20px;
	}

	.ebook-box-li .img {
		border-radius: 10px;
	}

	.ebook-box-li .ebook-info {
		padding-top: 10px;
	}

	.ebook-box-li .ebook-info .ttl {
		font-size: 17px;
	}

	.ebook-box-li .buttton01 {
		margin-top: 18px;
		font-size: 14px;
		border-radius: 20px;
		width: 240px;
		height: 40px;
		transform: none;
	}

	.ebook-box-li .buttton01::after {
		right: 19px;
		width: 15px;
		height: 15px;
	}

}


/*
---------------------------------------
詳細
---------------------------------------
*/

.ebook-detail-container {
    margin-top: 13.1rem;
    padding: 0 20px;
}

.ebook-detail-container .inner {
	position: relative;
    background: #fff;
    border-radius: 15px;
    padding: 4.5rem 5rem 8.1rem;
}

.ebook-detail-container .inner::before {
	position: absolute;
    content: '';
	width: 41.6rem;
	height: 39.0rem;
	bottom: -16.4rem;
	left: -18.3rem;
	background: url(../img/ebook/bg_ye_01.png) center/cover no-repeat;
	z-index: -1;
}

.ebook-meta .ttl {
    position: relative;
    border: solid 3px #222;
    border-width: 3px 0;
    font-size: 3.2rem;
    font-weight: 700;
    margin-top: 2.5rem;
    padding: 3.55rem 0;
    text-align: center;
}

.ebook-meta .ttl::after {
    content: '';
	position: absolute;
	bottom: -3.5px;
	right: 5rem;
	display: block;
	width: 24px;
	height: 4px;
	background: #fff radial-gradient(circle at center, #222 1.5px, transparent 1.5px) center / 8px 3px repeat-x;
	border: solid #fff;
	border-width: 0 8px;
	text-align: center;
}

.ebook-meta .tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin-top: 2rem;
}

.ebook-meta .tag-list .tag {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 9rem;
    height: 3rem;
    background: #fff;
    border: solid 2px #f0f0f0;
    color: #666;
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1;
    padding: 0 .5rem;
    text-align: center;
}

.ebook-content-wrap {
    display: flex;
    align-items: flex-start;
    gap: 5rem;
    margin-top: 4rem;
}

.ebook-content-main {
    flex: 1;
    min-width: 0;
}

.ebook-sample-slide-area {
	display: flex;
	flex-flow: column;
	gap: 1rem;
}

/*
.ebook-sample-slide-area .slick-prev:before,
.ebook-sample-slide-area .slick-next:before {
	display: none;
}

.ebook-sample-slide-area .slick-prev {
	background: url("../img/service-10/arrow_prev.png") center bottom / cover no-repeat;
	transition: all .2s;
}
.ebook-sample-slide-area .slick-next {
	background: url("../img/service-10/arrow_next.png") center bottom / cover no-repeat;
	transition: all .2s;
}

.ebook-sample-slide-area .slick-prev:hover,
.ebook-sample-slide-area .slick-prev:focus {
  color: inherit;
  outline: inherit;
  background: inherit;
  background: url(../img/service-10/arrow_prev_hover.png) center bottom / cover no-repeat;
  transition: all .2s;
}
.ebook-sample-slide-area .slick-next:hover,
.ebook-sample-slide-area .slick-next:focus {
  color: inherit;
  outline: inherit;
  background: inherit;
  background: url(../img/service-10/arrow_next_hover.png) center bottom / cover no-repeat;
  transition: all .2s;
}

.ebook-slider .slick-prev,
.ebook-slider .slick-next {
    background-size: 4.8rem !important;
    width: 4.8rem;
    height: 4.8rem;
	z-index: 1;
}

.ebook-slider .slick-prev {
	left: 0;
	transform: translate(-50%,-50%);
}

.ebook-slider .slick-next {
	right: 0;
	transform: translate(50%,-50%);
}

.ebook-slider-thumb .slick-next,
.ebook-slider-thumb .slick-prev {
    background-size: 3rem !important;
    width: 3rem;
    height: 3rem;
	z-index: 1;
}

.ebook-slider-thumb .slick-prev {
	left: -3.5rem;
}

.ebook-slider-thumb .slick-next {
	right: -3.5rem;
}
*/

.ebook-slider img {
	width: 100%;
	height: auto;
	aspect-ratio: 700 / 525;
	object-fit: cover;
	vertical-align: bottom;
}

.ebook-slider-thumb .slick-list {
	margin: 0 -0.7rem;
}

.ebook-slider-thumb .slick-track {
	margin: 0;
}

.ebook-slider-thumb .slick-track:not(:has(.slick-slide:nth-child(4))) {
	transform: none !important;
}

.ebook-slider-thumb .slick-track img {
	width: 100%;
	height: auto;
	aspect-ratio: 226 / 170;
	object-fit: cover;
}

.ebook-slider-thumb .slick-track .slick-current img {
	outline: 3px solid #222222;
	outline-offset: -3px;
}

.ebook-slider-thumb .slick-slide {
	margin: 0 0.7rem;
}

.ebook-content-main .sec-ttl {
    position: relative;
    border-bottom: solid 3px #e5e5e5;
    font-size: 2.4rem;
    font-weight: 700;
    line-height: 1.5;
    margin-bottom: 3rem;
    padding-bottom: 2.2rem;
}

.ebook-content-main .sec-ttl::before {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    display: block;
    width: 5rem;
    height: 3px;
    background: #ed4628;
}

.ebook-content-main .list-01 li {
    position: relative;
    border-bottom: dotted 1px #aaa;
    font-size: 1.7rem;
    line-height: calc(27/17);
    padding: 0 0 1.6rem 7rem;
}

.ebook-content-main .list-01 li:not(:first-child) {
    margin-top: 1.6rem;
}

.ebook-content-main .list-01 li::before {
    content: '';
    position: absolute;
    left: 1.4rem;
    top: 0;
    bottom: 1.6rem;
    display: block;
    width: 3.1rem;
    height: 2.8rem;
    background: url(../img/common/list-check.png) center / contain no-repeat;
    margin: auto;
}

.ebook-content-main .marker {
    font-weight: bold;
    padding: 2px;
    background: linear-gradient(transparent 60%, #ffff8d 60%);
}

.ebook-form {
    flex: 0 0 350px;
}

.ebook-content-main .main-img img {
    display: block;
    width: 100%;
    height: auto;
}

.ebook-desc {
    margin-top: 5.0rem;
}

.ebook-desc p {
    font-size: 1.7rem;
    font-weight: 500;
}

.ebook-related {
    margin-top: 7rem;
    padding: 0 20px;
}

.ebook-related .related-ttl {
    position: relative;
    padding-top: 8rem;
    text-align: center;
    z-index: 0;
}

.ebook-related .related-ttl::before {
    content: 'DOWNLOAD';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    color: #fff;
    font-family: "Outfit", sans-serif;
    font-size: 16rem;
    font-weight: 500;
    line-height: 1;
    z-index: -1;
}

.ebook-related .related-ttl .en {
    color: #e74921;
    font-family: "Outfit", sans-serif;
    font-size: 2rem;
    font-weight: 600;
    line-height: 1.5;
    margin-bottom: .6rem;
}

.ebook-related .related-ttl .ja {
    font-size: 3.2rem;
    font-weight: 700;
    line-height: 1.5;
}

.ebook-related .ebook-box-ul {
	grid-template-columns: repeat(auto-fit, 30%);
    margin-top: 6.1rem;
}

.ebook.detail .contact-bnr {
    margin-top: 15rem;
}

@media screen and (max-width: 960px) {
    .ebook-detail-container {
        margin-top: 14rem;
    }

	.ebook-related .related-ttl::before {
		font-size: 120px;
	}
}

@media screen and (max-width: 750px) {
    .ebook-detail-container {
        margin-top: 30px;
        padding: 0;
    }

    .ebook-detail-container .inner {
        border-radius: 0;
        padding: 33px 20px 32px;
    }

	.ebook-detail-container .inner::before {
		display: none;
	}

    .ebook-meta .ttl {
        border-width: 1.5px 0;
        font-size: 22px;
        margin-top: 20px;
        padding: 15px 0;
    }

    .ebook-meta .ttl::after {
		bottom: -1.75px;
		right: 23px;
		width: 12px;
		height: 2px;
		background: #fff radial-gradient(circle at center, #222 0.75px, transparent 0.75px) center / 4px 1.5px repeat-x;
		border-width: 0 4px;
	}

	.ebook-meta .tag-list {
        gap: 5px;
        margin-top: 15px;
    }

   .ebook-meta .tag-list .tag {
        min-width: 89px;
        height: 30px;
        font-size: 12px;
        padding: 0 5px;
    }

    .ebook-content-wrap {
        flex-direction: column;
        gap: 40px;
        margin-top: 40px;
    }

    .ebook-content-main {
        flex: auto;
        width: 100%;
    }

	.ebook-sample-slide-area {
		gap: 5px;
	}

	/*
	.ebook-slider .slick-prev,
	.ebook-slider .slick-next {
		background-size: 30px !important;
		width: 30px;
		height: 30px;
	}

	.ebook-slider-thumb .slick-next,
	.ebook-slider-thumb .slick-prev {
		background-size: 20px !important;
		width: 20px;
		height: 20px;
	}

	.ebook-slider-thumb .slick-prev {
		left: -12px
	}

	.ebook-slider-thumb .slick-next {
		right: -12px;
	}
	*/

	.ebook-slider-thumb .slick-list {
		margin: 0 -4px;
	}

	.ebook-slider-thumb .slick-track .slick-current img {
		outline-width: 2px;
		outline-offset: -2px;
	}

	.ebook-slider-thumb .slick-slide {
		margin: 0 4px;
	}

    .ebook-content-main .sec-ttl {
        border-width: 1.5px;
        font-size: 20px;
        margin-bottom: 24px;
        padding-bottom: 18px;
    }

    .ebook-content-main .sec-ttl::before {
        bottom: -1.5px;
        width: 25px;
        height: 1.5px;
    }

    .ebook-content-main .list-01 li {
        font-size: 15px;
        padding: 0 0 15px 40px;
    }

    .ebook-content-main .list-01 li:not(:first-child) {
        margin-top: 15px;
    }

    .ebook-content-main .list-01 li::before {
        left: 0;
        bottom: 15px;
        width: 25px;
        height: 23px;
    }

    .ebook-form {
        flex: auto;
        width: 100%;
    }

    .ebook-desc {
        margin-top: 40px;
    }

    .ebook-desc p {
        font-size: 15px;
    }

    .ebook-related {
        margin-top: 70px;
        padding: 0;
    }

    .ebook-related .related-ttl {
        padding-top: 22px;
    }

    .ebook-related .related-ttl::before {
        font-size: 60px;
    }

    .ebook-related .related-ttl .en {
        font-size: 14px;
        margin-bottom: 2px;
    }

    .ebook-related .related-ttl .ja {
        font-size: 24px;
    }

    .ebook-related .ebook-box-ul {
		grid-template-columns: 1fr;
        margin-top: 6.4rem;
    }

    .ebook.detail .contact-bnr {
        margin-top: 60px;
    }
}
