@charset "utf-8";

/* ---------------------------------------
mainvisual
--------------------------------------- */
#sec01 {
	width: 100%;
	background-image: linear-gradient(180deg, rgba(254,254,254,1), rgba(236,236,238,1));
	margin-bottom: clamp(60px, 8vw, 100px);
}
#sec01 #mainvisual {
	width: 100%;
	height: 90vh;
	position: relative;
}
#sec01 #mainvisual .book {
	max-width: 720px;
	width: 70%;
	position: absolute;
	top: 55%;
	left: 50%;
	transform: translate(-50%, -50%);

	animation: bookIn 1.0s ease-out both;
}
@keyframes bookIn {
	0% {
		opacity: 0;
		transform: translate(-20%, -80%);
	}
	100% {
		opacity: 1;
		transform: translate(-50%, -50%);
	}
}
#sec01 .block {
	max-width: 780px;
	width: 85%;
	margin: 0 auto 0 7.5%;
}
#sec01 .block h2 {
	font-weight: 700;
	margin-bottom: 40px;
	font-size: clamp(16px, 1.6vw, 26px);
	line-height: 1.6;
}
#sec01 .block h2 strong {
	display: block;
	font-weight: 700;
	font-size: 1.7em;
}
#sec01 .block p {
}
@media screen and (max-width: 980px) {
}

@media screen and (max-width: 680px) {
	#sec01 #mainvisual {
        height: 80vh;
		min-height: 400px;
    }
	#sec01 .block h2 span {
		display: block;
		font-size: 1.6em;
	}
	#sec01 .block h2 strong {
        font-size: 1.1em;
    }
}

/* ---------------------------------------
sec02
--------------------------------------- */
#sec02 {
	width: 100%;
	position: relative;
	margin-bottom: clamp(60px, 11vw, 150px);
}
#sec02 .ph {
	width: 100%;
	height: 600px;
	position: relative;
	z-index: 0;
	background: url("../images/top/ph01.png") no-repeat center bottom;
	background-size: cover;
	margin-top: -100px;
}
#sec02 .block {
	max-width: 1300px;
	width: 95%;
	margin: 0 auto;
	position: relative;
	z-index: 1;
}
#sec02 .block .ttl {
	text-align: center;
	font-size: clamp(18px, 2.3vw, 26px);
	font-weight: 700;
	margin-bottom: clamp(25px, 3vw, 40px);
}
#sec02 .block ul {
	display: flex;
	justify-content: space-between;
}
#sec02 .block li {
	width: 32%;
	background-color: #fff;
	border-radius: 10px;
	padding: 30px 30px 130px;
	position: relative;
}
#sec02 .block li p {
	text-align: center;
	font-weight: 700;
}
#sec02 .block li img {
	display: block;
	max-width: 90px;
	width: 80%;
	position: absolute;
	left: 50%;
	bottom: 20px;
	transform: translate(-50%, 0%);
}
#sec02 .note,
#sec02 .note2 {
	width: 100%;
	display: flex;
	justify-content: space-between;
	margin-bottom: clamp(30px, 8vw, 100px);
	position: relative;
	z-index: 1;
}
#sec02 .note .note-l,
#sec02 .note2 .note-r {
	width: 15%;
	background: url("../images/common/book-kage01.png") repeat-y right top;
	background-size: 157px;
	background-color: #fff;
	border-radius: 0 0 0 0;
	border-top-right-radius: 100% clamp(40px, 6vw, 80px);
}
#sec02 .note .note-r,
#sec02 .note2 .note-l {
	width: 85%;
	background-color: #fff;
	padding: 0 5% 6% 5%;
	padding-top: clamp(40px, 16vw, 200px);
	position: relative;
	border-radius: 0;
	border-top-left-radius: 18% clamp(40px, 6vw, 80px);
	display: flex;
	justify-content: space-between;
	align-items: center;
}
#sec02 .note2 .note-r {
	background-image: url("../images/common/book-kage02.png");
	background-position: left top;
	border-top-right-radius: 0% clamp(0px, 0vw, 0px);
	border-top-left-radius: 100% clamp(40px, 6vw, 80px);
}
#sec02 .note2 .note-l {
	border-top-left-radius: 0% clamp(0px, 0vw, 0px);
	border-top-right-radius: 18% clamp(40px, 6vw, 80px);
}
#sec02 .note .note-r .data,
#sec02 .note2 .note-l .data {
	width: 67%;
}
#sec02 .note .note-r .data h3,
#sec02 .note2 .note-l .data h3 {
	font-size: clamp(15px, 1.6vw, 24px);
	line-height: 1.6;
	margin-bottom: 40px;
}
#sec02 .note .note-r .data h3 span,
#sec02 .note2 .note-l .data h3 span {
	display: block;
	font-family: "Roboto", sans-serif;
	font-weight: 600;
	font-size: 2em;
}
#sec02 .note .note-r .data p,
#sec02 .note2 .note-l .data p {
}
#sec02 .note .note-r .img,
#sec02 .note2 .note-l .img {
	width: 28%;
}
@media screen and (max-width: 1100px) {
	#sec02 .block {
        width: 90%;
    }
	#sec02 .block ul {
		flex-wrap: wrap;
		justify-content: center;
		gap: 30px 4%;
	}
	#sec02 .block li {
		width: 48%;
	}
	#sec02 .ph {
        height: 400px;
    }
}
@media screen and (max-width: 680px) {
	#sec02 .block ul {
        display: block;
    }
    #sec02 .block li {
        width: 100%;
		margin-bottom: 10px;
		padding: 25px;
    }
	#sec02 .block li p {
		margin-bottom: 15px;
	}
	#sec02 .block li img {
        width: 70px;
		margin: 0 auto;
        position: static;
        transform: translate(0%, 0%);
    }
	#sec02 .ph {
		background-image: url("../images/top/ph02.png");
        height: 200px;
    }
	#sec02 .note .note-r,
    #sec02 .note2 .note-l {
		flex-direction: column;
		gap: 30px 0;
		padding-left: 6%;
		padding-right: 6%;
    }
	#sec02 .note .note-r .data,
    #sec02 .note2 .note-l .data {
        width: 100%;
    }
	#sec02 .note .note-r .data h3,
    #sec02 .note2 .note-l .data h3 {
        margin-bottom: 30px;
    }
	#sec02 .note .note-r .img,
    #sec02 .note2 .note-l .img {
        width: 35%;
		margin: 0 auto;
    }
	#sec02 .note .note-l,
    #sec02 .note2 .note-r {
        background-size: 80px;
    }
}
/* ---------------------------------------
リボン
--------------------------------------- */
#sec02 .note .note-r .ribbon,
#sec02 .note2 .note-l .ribbon {
	width: 130px;
	position: absolute;
	top: 0;
	margin-top: -38px;
	perspective: 800px;
}
/* Chapter 01・03：右側 */
#sec02 .note .note-r .ribbon {
	right: 5%;
}
/* Chapter 02・04：左側 */
#sec02 .note2 .note-l .ribbon {
	left: 5%;
}

#sec02 .note .note-r .ribbon::after,
#sec02 .note2 .note-l .ribbon::after {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 129px;
	height: 38px;
	z-index: 0;
	background-color: #F2B300;
}
#sec02 .note .note-r .ribbon::after {
	left: 1px;
}
/* ---------------------------------------
リボンの裏側（三角部分）
--------------------------------------- */
#sec02 .ribbon::before {
	content: "";
	position: absolute;
	top: 0;
	width: 0;
	height: 0;
	z-index: 0;
}
/* 右にはみ出す三角 */
#sec02 .note .ribbon::before {
	left: 100%;

	border-bottom: 37px solid #F2B300;
	border-right: 26px solid transparent;
}
/* 左にはみ出す三角 */
#sec02 .note2 .ribbon::before {
	right: 100%;
	border-bottom: 37px solid #F2B300;
	border-left: 26px solid transparent;
}
/* ---------------------------------------
動くリボン本体
--------------------------------------- */
#sec02 .ribbon img {
	display: block;
	width: 100%;
	position: relative;
	z-index: 1;
	transform-origin: top center;
	transform: rotateX(-85deg);
	opacity: 0;
}
/* 表示範囲に入ったらパタンッ */
#sec02 .ribbon.is-show img {
	animation: ribbonFlip .9s ease-out forwards;
}
@keyframes ribbonFlip {
	0% {
		opacity: 0;
		transform: rotateX(-85deg);
	}
	25% {
		opacity: 1;
		transform: rotateX(-45deg);
	}
	60% {
		transform: rotateX(12deg);
	}
	78% {
		transform: rotateX(-6deg);
	}
	100% {
		opacity: 1;
		transform: rotateX(0deg);
	}
}
/* ---------------------------------------
1100px以下
--------------------------------------- */
@media screen and (max-width: 1100px) {
	#sec02 .note .note-r .ribbon,
	#sec02 .note2 .note-l .ribbon {
		width: 100px;
		margin-top: -30px;
	}
	#sec02 .note .note-r .ribbon::after,
    #sec02 .note2 .note-l .ribbon::after {
        width: 99px;
		height: 30px;
    }
	/* 右三角 */
	#sec02 .note .ribbon::before {
		border-bottom-width: 29px;
		border-right-width: 20px;
	}
	/* 左三角 */
	#sec02 .note2 .ribbon::before {
		border-bottom-width: 29px;
		border-left-width: 20px;
	}
}
/* ---------------------------------------
680px以下
--------------------------------------- */
@media screen and (max-width: 680px) {

	#sec02 .note .note-r .ribbon,
	#sec02 .note2 .note-l .ribbon {
		width: 50px;
		margin-top: -15px;
	}
	#sec02 .note .note-r .ribbon::after,
    #sec02 .note2 .note-l .ribbon::after {
        width: 49px;
		height: 15px;
    }
	/* 右三角 */
	#sec02 .note .ribbon::before {
		border-bottom-width: 14px;
		border-right-width: 10px;
	}
	/* 左三角 */
	#sec02 .note2 .ribbon::before {
		border-bottom-width: 14px;
		border-left-width: 10px;
	}
}
/* ---------------------------------------
sec03
--------------------------------------- */
#sec03 {
	max-width: 1300px;
	width: 90%;
	margin: 0 auto;
	margin-bottom: clamp(60px, 11vw, 150px);
	position: relative;
}
#sec03 .text {
	max-width: 600px;
	width: 100%;
	margin: 0 0 0 auto;
	margin-bottom: clamp(30px, 4vw, 50px);
}
#sec03 ul {
	display: flex;
	justify-content: space-between;
}
#sec03 li {
	width: 30%;
}
#sec03 li:nth-child(1)[data-aos="pop"].aos-animate {
	animation-delay: 0s;
}
#sec03 li:nth-child(2)[data-aos="pop"].aos-animate {
	animation-delay: .18s;
}
#sec03 li:nth-child(3)[data-aos="pop"].aos-animate {
	animation-delay: .36s;
}
#sec03 li a {
	border-radius: 8px;
	overflow: hidden;
	margin-bottom: 10px;
	display: block;
	position: relative;
}
#sec03 li a h4 {
	font-size: clamp(18px, 1.6vw, 20px);
	font-weight: 500;
	text-align: center;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	color: #fff;
	letter-spacing: 3px;
	text-shadow: 0px 0px 6px rgba(0,0,0,.8);
	line-height: 1.6;
}
#sec03 li a h4::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;transform: translate(-50%, -50%);
	z-index: -1;
	width: 190px;
	height: 90px;
	background-color: rgba(0,0,0,.2);
	border-radius: 6px;
}
#sec03 li a h4 span {
	display: block;
	font-family: "Roboto", sans-serif;
	font-weight: 600;
	text-align: center;
	font-size: 9px;
	letter-spacing: 1px;
}
#sec03 li a .btn {
	display: inline-block;
	font-weight: 500;
	font-size: 11px;
	background-color: #FFDB00;
	color: #111;
	letter-spacing: 1px;
	padding: 5px 15px;
	border-radius: 4px;
	position: absolute;
	bottom: 20px;
	right: 20px;
}
@media screen and (max-width: 980px) {
	#sec03 ul {
		flex-wrap: wrap;
		justify-content: center;
		gap: 20px 4%;
	}
	#sec03 li {
        width: 48%;
    }
	#sec03 li[data-aos="pop"].aos-animate {
		animation-delay: 0s;
	}
	#sec03 li a h4 {
    }
    #sec03 li a h4::before {
        width: 160px;
        height: 90px;
    }
	#sec03 li a h4 span {
		margin-top: 5px;
		line-height: 1;
    }
	#sec03 li a .btn {
		bottom: 10px;
		right: 10px;
	}
}
@media screen and (max-width: 680px) {
	#sec03 ul {
		flex-direction: column;
		gap: 10px 0;
    }
    #sec03 li {
		max-width: 380px;
        width: 100%;
		margin: 0 auto;
    }
	#sec03 li a h4::before {
        width: 190px;
    }
}
/* ---------------------------------------
sec04
--------------------------------------- */
#sec04 {
	width: 100%;
	position: relative;
	padding-top: clamp(60px, 18vw, 250px);
	margin-bottom: clamp(60px, 11vw, 150px);
	overflow: hidden;
}
#sec04 .ph {
	width: 70%;
	height: 600px;
	background: url("../images/top/ph06.jpg") no-repeat center;
	background-size: cover;
	position: absolute;
	top: 0;
	right: 0;
	z-index: 0;
	border-radius: 500px 0 0 500px;
}
#sec04 .left {
	width: 50%;
	margin: 0 auto 0 0;
	position: relative;
	z-index: 1;
	padding: 60px;
	border-radius: 0 500px 500px 0;
	background-color: #fff;
}
#sec04 .left h6 {
	font-size: 1.4em;
	font-weight: 700;
	line-height: 1.7;
	margin-bottom: 30px;
}
#sec04 .left .text {
	margin-bottom: 30px;
}
#sec04 .left .name {
	font-weight: 600;
}
#sec04 .left .name span {
	display: block;
	font-size: 13px;
	margin-bottom: 10px;
}
#sec04 .left .name ruby {
	font-size: 1.2em;
}
#sec04 .left .name rt {
	margin-bottom: 5px;
}
@media screen and (max-width: 980px) {
	#sec04 {
		padding-top: 0;
	}
	#sec04 .ph {
		width: 90%;
		height: 500px;
		position: relative;
		margin: 0 0 0 auto;
	}
	#sec04 .left {
		width: 80%;
		margin-top: -80px;
	}
}
@media screen and (max-width: 680px) {
	#sec04 .ph {
		width: 95%;
		height: 350px;
		border-radius: 20px 0 0 20px;
	}
	#sec04 .left {
		width: 95%;
		margin-top: -50px;
		padding: 7%;
		border-radius: 0 20px 20px 0;
	}
	#sec04 .left h6 {
        font-size: 1.3em;
        margin-bottom: 20px;
    }
}
