@charset "utf-8";

:root {
    --white: #fff;
    --black: #121212;
    --gray: #707F89;
    --yellow: #FFE700;
    --light-yellow: #FDF7BA;
    --blue: #004bb1;

    --font-weight-bold: 700;

    --font: "Noto Sans JP", sans-serif;
    --font-point: "M PLUS Rounded 1c", sans-serif;
}

body {
    overflow-x: hidden;
    font-weight: 500;
    letter-spacing: 0.05rem;
}

header {
    position: relative;
}

main {
    font-family: var(--font-point);
    line-height: 1.3;
}

.mv {
    height: 100%;
    position: relative;
    z-index: 0;
    display: flex;
    flex-direction: column;
    background: #000;
    font-weight: 600;
}
.mv::after {
    content: '';
    width: 50vw;
    max-width: 800px;
    height: 100vh;
    max-height: 750px;
    position: absolute;
    left: -25%;
    top: 30%;
    background: url(../img/kaeru/mv-bg02.png) right top / auto no-repeat;
}
.mv-inner-top {
    width: 100%;
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 10;
    padding: 44px 0;
}
.mv-inner {
    width: 1067px;
    display: flex;
    justify-content: space-around;
}
.mv-inner-book {
    width: 50vw;
    max-width: 550px;
    padding-left: 50px;
    position: relative;
    font-size: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 45px;
}
.mv-inner-book::after {
    content: '';
    width: 800px;
    height: 750px;
    position: absolute;
    left: -5%;
    z-index: -1;
    top: -80%;
    background: url(../img/kaeru/mv-bg01.png) left top / contain no-repeat;
}
.mv-book {
    display: flex;
    gap: 12px;
    flex-direction: column;
    align-items: center;
}
.mv-book p {
    display: inline;
    padding-left: 1.5em;
    background: var(--light-yellow) url(../img/kaeru/mv-icon-check.svg) left 5px center / auto no-repeat;
}
.mv-menu {
    width: 100%;
    background: rgba(0, 0, 0,0.6);
    padding: 20px;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    border: rgba(118, 118, 118,0.6) 8px solid;
    position: relative;
}
.mv-menu::after {
    content: '';
    width: 120px;
    height: 120px;
    position: absolute;
    right: -50px;
    top: -60px;
    background: url(../img/kaeru/mv-img01.png) right 5px top / contain no-repeat;
}
.mv-menu p {
    letter-spacing: 2px;
    color: var(--white);
}
.mv-menu p span {
    color: var(--yellow);
}
.mv-menu ul {
    width: 100%;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}
.mv-menu ul li {
    width: calc(100% / 3);
}
.mv-menu ul li a {
    height: 100%;
    background: var(--white);
    padding: 15px 0;
    border-radius: 12px;
    font-size: 1.15rem;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}
.mv-menu ul li a::after {
    content: '';
    width: 100%;
    height: 18px;
    position: absolute;
    background: url(../img/kaeru/mv-icon-arrow.svg) right 5px top / contain no-repeat;
}
.mv-menu ul li a:hover {
    background-color: var(--yellow);
    opacity: 1;
}
.mv-menu ul li:first-of-type a:hover {
    background: var(--white);
}
.mv-menu ul li:first-of-type a::after {
    content: none;
}
.mv-inner-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}
.mv-inner-logo h2 {
    margin-bottom: 10px;
}
.mv-logo-title {
    font-size: 18px;
    background: var(--white);
    padding: 5px 70px;
    border-radius: 25px;
    display: inline-block;
}
.mv-logo-title span {
    color: #EA6151;
}
.mv-logo-text {
    color: var(--white);
    font-size: 24px;
    text-align: center;
}
.mv-logo-text span {
    color: #F4E629;
}
.mv-logo-text .small {
    color: var(--white);
    font-size: 18px;
    display: block;
}

.mv-inner-menu {
    height: 320px;
    background: url(../img/kaeru/mv-bg.png) bottom center / auto repeat-x;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}
.mv-inner-menu .mv-inner {
    position: relative;
}
.mv-inner-menu .mv-inner::before {
    width: 254px;
    height: 147px;
    content: '';
    top: -170px;
    left: -50px;
    margin: auto;
    background: url(../img/kaeru/mv-img02.png) top center / auto no-repeat;
    position: absolute;
}
.mv-inner-list {
    width: 100%;
    max-width: 1000px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}
.mv-inner-list ul {
    width: 100%;
    display: flex;
    font-size: 1.15rem;
    justify-content: space-between;
    gap: 25px;
}
.mv-inner-list ul li {
    width: 100%;
}
.mv-inner-list ul li a {
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--black);
    color: var(--white);
    border-radius: 12px;
    position: relative;
}
.mv-inner-list ul li a::after {
    content: '';
    width: 100%;
    height: 14px;
    position: absolute;
    background: url(../img/kaeru/mv-icon-arrow02.svg) right 13px top / contain no-repeat;
}

@media screen and (max-width: 768px) {
    .mv {
        height: inherit;
    }
    .mv-inner {
        flex-direction: column;
        align-items: center;
        gap: 75px;
        justify-content: flex-start;
    }
    .mv-inner-top {
        padding: 20px 0 10px;
    }
    .mv-inner-book {
        padding: 0;
    }
    .mv-inner-book::after {
        content: '';
        width: 100vw;
        left: 0;
        right: 0;
        margin: auto;
        top: -109px;
        background: url(../img/kaeru/sp-mv-bg01.png) center top / auto no-repeat;
    }
    .mv-inner-logo {
        width: 80%;
        margin: auto;
    }
    .mv-logo-text {
        font-size: 22px;
    }
    .mv-inner-book {
        width: 100%;
    }
    .mv-menu {
        display: none;
    }
    .mv-book {
        width: 90%;
    }
    .mv-inner-menu {
        min-height: 300px;
        background: url(../img/kaeru/mv-bg.png) bottom center / auto 300px repeat-x;
    }
    .mv-inner-menu .mv-inner::before {
        content: none;
    }
    .mv-inner-list {
        width: 95%;
    }
    .mv-inner-list ul {
        flex-wrap: wrap;
        gap: 15px;
        font-size: 14px;
    }
    .mv-inner-list ul li {
        width: calc(100% / 2 - 10px);
    }
    .mv-inner-list ul li a {
        height: 45px;
    }
}

/* Menu
----------------*/
@media screen and (min-width: 768px) {
    .gnav {
        display: none;
    }
}
@media screen and (max-width: 768px) {
    .gnav {
        position: relative;
    }
    .menu {
        display: none;
    }
    .menu.open {
        display: flex;
        position: absolute;
        font-family: var(--font-point);
        font-weight: var(--font-weight-bold);
        top: 0;
        left: 0;
        z-index: 1000;
        background: transparent;
        width: 100%;
        justify-content: center;
        margin-top: 77px;
        flex-direction: column;
        align-items: center;
        gap: 20px;
        letter-spacing: 0.1rem;
    }
    .menu.open p {
        font-size: 16px;
        color: var(--white);

    }
    .menu.open ul {
        display: flex;
        flex-direction: column;
        width: 90%;
        gap: 20px;
    }
    .menu.open ul li {
        width: 100%;
        display: flex;
        flex-direction: column;
    }
    .menu.open ul li a {
        background-color: var(--white);
        width: 100%;
        height: 60px;
        display: flex;
        justify-content: center;
        align-items: center;
        border-radius: 12px;
        font-size: 18px;
        position: relative;
    }
    .menu.open ul li a::after {
        content: '';
        width: 100%;
        height: 18px;
        position: absolute;
        background: url(../img/kaeru/mv-icon-arrow.svg) right 15px top / contain no-repeat;
    }

}
/*トグルボタンのスタイルを指定*/
.Toggle {
    display: flex;
    width: 100%;
    height: 49px;
    cursor: pointer;
    position: relative;
    z-index: 500;
    background: #737373;
    justify-content: center;
    align-items: center;
}
@media screen and (min-width: 768px) {
	.Toggle {
		display: none;
	}
}
.Toggle span {
    display: block;
    position: absolute;
    width: 30px;
	right: 15px;
    border-bottom: solid 4px hsl(0, 0%, 100%);
    -webkit-transition: .35s ease-in-out;	/*変化の速度を指定*/
    -moz-transition: .35s ease-in-out;		/*変化の速度を指定*/
    transition: .35s ease-in-out;			/*変化の速度を指定*/
}
.Toggle-menu {
	font-size: 16px;
	color: var(--white);
	font-weight: bold;
    font-family: var(--font-point);
}
.Toggle-menu span {
    color: var(--yellow);
    position: inherit;
    display: inline;
    border: none;
}
 /*各ボーダー少しずつずらす*/
.Toggle span:nth-child(1) {
    top:12px;
}
 .Toggle span:nth-child(2) {
    top: 22px;
}
 .Toggle span:nth-child(3) {
    top: 32px;
}
.Toggle.active span:nth-child(1) {
    top: 22px;
/* 1番目のspanをマイナス45度に */
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    transform: rotate(-45deg);
}
 
/* 2番目と3番目のspanを45度に */
.Toggle.active span:nth-child(2),
.Toggle.active span:nth-child(3) {
    top: 22px;
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    transform: rotate(45deg);
}
/*
.Toggle.active {
	background: none;
	box-shadow: none;
}*/
.Toggle-close {
	overflow-x: hidden;
	-webkit-transform: translateY(300%);/*画面より100%外へ押し出し非表示にさせる*/
}
.Toggle.active .Toggle-close {
	position: absolute;
	top: 28px;
	right: 38px;
	width: 70px;
	font-family: "M PLUS Rounded 1c", sans-serif;
	color: #703A0E;
	font-weight: 600;
	display: flex;
	-webkit-transform: translateY(0);/*画面より100%外へ押し出し非表示にさせる*/
	-webkit-transition: 0.5s ease-in-out;	/*変化の速度を指定*/
    -moz-transition: 0.5s ease-in-out;		/*変化の速度を指定*/
    transition: 0.5s ease-in-out;	
}
.wrapper-active::before {
	content: '';
	background: rgba(0, 0, 0, 0.8);
	width: 100vw;
	height: 100%;
	position: absolute;
	top: 0;
	z-index: 30;
	overflow-y: hidden;
}


/* section
----------------*/
.l-contents {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-top: 60px;
    padding-bottom: 120px;
    position: relative;
}
section {
    width: 1000px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    gap: 30px;
} 
.l-contents h3 {
    width: 390px;
    height: 186px;
    padding-bottom: 5px;
    background: url(../img/kaeru/feature-title-bg.png) top left / contain no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #EA6151;
}
.l-contents.use h3 {
    background: url(../img/kaeru/use-title-bg.png) top left / contain no-repeat;
    color: #2BB6E0;
}
.l-contents.appendix h3 {
    background: url(../img/kaeru/appendix-title-bg.png) top left / contain no-repeat;
    color: #F09231;
}
.l-contents.line-up h3 {
    background: url(../img/kaeru/lineup-title-bg.png) top left / contain no-repeat;
    color: #379C3D;
}
.l-contents.purchase h3 {
    background: url(../img/kaeru/purchase-title-bg.png) top left / contain no-repeat;
    color: #1862BC;
}
.l-content {
    width: 87vw;
    padding: 60px;
    border: dashed 3px #EF6A6A;
    border-radius: 60px 0 0 60px;
    margin: 0 0 80px 15vw;
    position: relative;
}
.l-content.left {
    margin: 0 15vw 80px 0;
    display: flex;
    justify-content: flex-end;
    border-radius: 0 60px 60px 0;
}
.use .l-content,
.appendix .l-content,
.line-up .l-content {
    max-width: 1000px;
    margin: 0;
    border-radius: 60px;
    border-color: #43BFE5;
    background: var(--white);
}
.appendix .l-content {
    border-color: #F09231;
}
.line-up .l-content {
    border-color: transparent;
    background: none;
}
.l-content-inner {
    max-width: 1000px;
    display: flex;
    gap: 60px;
    align-items: flex-start;
}
.use .l-content .l-content-inner {
    background: url(../img/kaeru/use-arrow.svg) bottom center / auto no-repeat;
    padding-bottom: 100px;
}
.use .l-content .l-content-inner.reverse {
    flex-direction: row-reverse;
    background: none;
    padding: 0;
}
.l-content.left .l-content-inner {
    flex-direction: row-reverse;
}
.l-content-inner ol li {
    border-bottom: dashed 2px #FF8989;
    padding: 8px 0;
    display: flex;
    gap: 8px;
}
.l-content-inner ol li span {
    width: 23px;
    height: 23px;
    background: #EF6A6A;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--white);
    border-radius: 50%;
}
.l-content-inner ol li:last-of-type {
    border: none;
    padding: 9px 0 0;
}
.l-content img {
    width: 500px;
    object-fit: cover;
}
.l-content-explain {
    width: 100%;
    height: 100%;
    min-height: 360px;
    max-width: 430px;
    display: flex;
    flex-direction: column;
    font-size: 16px;
    padding-top: 25px;
    position: relative;
    font-family: var(--font);
}
.l-content-explain.explain01::after,
.l-content-explain.explain02::after,
.l-content-explain.explain03::after,
.l-content-explain.explain04::after {
    width: 100px;
    height: 100px;
    content: '';
    position: absolute;
    right: 0;
    bottom: 0;
    background: url(../img/kaeru/feature-character01.png) top center / contain no-repeat;
}
.l-content-explain.explain02::after {
    background: url(../img/kaeru/feature-character02.png) top center / contain no-repeat;
}
.l-content-explain.explain03,
.l-content-explain.explain04 {
    max-width: 345px;
}
.l-content-explain.explain03::after {
    background: url(../img/kaeru/use-character01.png) top center / contain no-repeat;
}
.l-content-explain.explain04::after {
    background: url(../img/kaeru/use-character02.png) top center / contain no-repeat;
}
.l-content-text {
    background: #FFEAEA;
    border-radius: 17px;
    padding: 25px 25px 15px;
    position: relative;
    font-weight: 600;
}
.l-content-text h4 {
    width: 376px;
    height: 58px;
    display: flex;
    background: url(../img/kaeru/feature-subtitle-bg.svg) left center / contain no-repeat;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 18px;
    position: absolute;
    top: -40px;
    left: -24px;
}
.l-content-text-inner {
    padding: 10px 0;
}
.l-content-explain p {
    padding: 20px 3px 0;
    line-height: 1.5;
}
.use .l-content-text {
    padding: 25px;
    background: #E2F6FF;
}
.use .l-content-text span {
    display: inline-block;
    padding-left: 1.7rem;
    background: url(../img/kaeru/use-check.svg) top left / auto no-repeat;
}
.use .l-content-explain p {
    font-size: 18px;
}

.l-contents.use {
    background: #DAEFF8 url(../img/kaeru/bg-pattern.png) top center / auto repeat;
}
.l-contents.use::before {
    width: 100vw;
    height: 90px;
    content: '';
    top: -65px;
    right: 0;
    left: 0;
    margin: auto;
    background: #DAEFF8 url(../img/kaeru/bg-blue.png) top center / auto repeat;
    position: absolute;
}

.l-contents.appendix {
    background: var(--white);
}
.l-contents.appendix::before,
.l-contents.purchase::before {
    width: 100vw;
    height: 90px;
    content: '';
    top: -65px;
    right: 0;
    left: 0;
    margin: auto;
    background: url(../img/kaeru/bg-white.png) top center / auto repeat;
    position: absolute;
}
.l-contents.appendix ul {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    font-family: var(--font);
}
.l-contents.appendix ul li {
    width: 170px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}
.l-contents.appendix ul li p {
    text-align: center;
}

.l-contents.line-up {
    background: #F2EEE4 url(../img/kaeru/bg-pattern.png) top center / auto repeat;
}
.l-contents.line-up::before {
    width: 100vw;
    height: 90px;
    content: '';
    top: -65px;
    right: 0;
    left: 0;
    margin: auto;
    background: url(../img/kaeru/bg-brown.png) top center / auto repeat;
    position: absolute;
}
.l-contents.line-up ul {
    display: flex;
    gap: 40px;
    font-size: 16px;
}
.l-contents.line-up ul li {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
}
.l-contents.line-up ul li dl {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.l-contents.line-up ul li dt {
    text-align: center;
    padding: 4px;
    font-weight: var(--font-weight-bold);
    color: var(--white);
}
.l-contents.line-up ul li.japanese dt {
    background: #EF6A6A;
    box-shadow: #F1B9B3 3px 3px 0;
}
.l-contents.line-up ul li.social dt {
    background: #F0922F;
    box-shadow: #F2C89B 3px 3px 0;
}

.l-contents.line-up ul li.math dt {
    background: #44BEE4;
    box-shadow: #ABDBE3 3px 3px 0;
}

.l-contents.line-up ul li.science dt {
    background: #64B953;
    box-shadow: #B7D9AA 3px 3px 0;
}

.l-contents.line-up ul li.english dt {
    background: #EE91B0;
    box-shadow: #F0C9CF 3px 3px 0;
}


.lineup__cta-buttons {
    position: relative;
}
.lineup__cta-buttons::after {
    width: 100px;
    height: 100px;
    content: '';
    position: absolute;
    right: -50px;
    bottom: -50px;
    background: url(../img/kaeru/icon-hand.svg) top center / contain no-repeat;
}
@media screen and (min-width: 1150px) {
    .mv-menu ul li span {
        display: none;
    }
}
@media screen and (max-width: 1150px) {
    .mv-menu ul {
        flex-direction: column;
    }
    .mv-menu ul li {
        width: 100%;
    }
    .mv-menu ul li span {
        display: block;
    }
    .mv-menu ul li a {
        padding: 10px 0;
    }
    .mv-menu p {
        padding: 0 40px;
        font-size: 1rem;
        text-align: center;
    }
    .l-content-inner {
        max-width: 1000px;
        display: flex;
        gap: 60px;
        align-items: center;
        flex-direction: column;
    }
    .l-content-inner, .l-content.left .l-content-inner {
        flex-direction: column;
        gap: 30px;
    }
    .use .l-content .l-content-inner.reverse {
        flex-direction: column;
    }
    .l-content-explain.explain03 {
        min-height: 180px;
    }
    .l-content-explain {
        min-height: inherit;
        height: inherit;
    }
    .l-content-explain.explain01::after {
        top: 0;
    }
}




@media screen and (max-width: 768px) {
    section,
    .l-content-inner,
    .use .l-content,
    .appendix .l-content,
    .line-up .l-content  {
        width: 100%;
    }
    .l-content {
        margin: 0;
        width: 100%;
        border-right: 0;
        padding: 50px 15px;
    }
    .l-content.left {
        margin: 0 0 0 -40px;
        border-right: dashed 3px #EF6A6A;
        border-left: 0;
    }
    .l-content-inner,
    .l-content.left .l-content-inner {
        flex-direction: column;
        gap: 30px;
    }
    .l-content-text-inner {
        padding: 15px 0 10px;
    }
    .l-contents {
        padding-left: 20px;
    }
    .l-contents.use,
    .l-contents.appendix,
    .l-contents.line-up,
    .l-contents.purchase {
        padding-left: 0;
    }
    .l-contents h3 {
        width: 100%;
        height: 140px;
        padding-bottom: 3px;
        font-size: 18px;
        background-position: top center;
    }
    .l-contents.use h3 {
        padding-left: 30px;
        background-position: top center;
    }
    .l-contents.appendix h3 {
        padding-left: 20px;
        background-position: top center;
    }
    .l-contents.line-up h3 {
        padding-left: 20px;
        background-position: top center;
    }
    .l-contents.purchase h3 {
        padding-left: 20px;
        background-position: top center;
    }
    .l-content-text {
        padding: 17px 14px 5px;
    }
    .l-content-text h4 {
        width: 278px;
        height: 45px;
        top: -20px;
        left: -4px;
    }
    .l-content-explain {
        font-size: 16px;
        height: inherit;
        min-height: inherit;
    }
    .l-content-explain.explain01::after {
        width: 70px;
        height: 70px;
        content: '';
        position: absolute;
        right: 0;
        top: 39px;
        background: url(../img/kaeru/feature-character01.png) top center / contain no-repeat;
    }
    .l-content-explain.explain02::after {
        content: none;
    }
    .l-content-explain.explain03,
    .l-content-explain.explain04 {
        flex-direction: column-reverse;
        padding: 0;
        gap: 30px;
    }
    .l-content-explain.explain03 p,
    .l-content-explain.explain04 p {
        padding: 0;
    }
    .l-content-explain.explain03::after,
    .l-content-explain.explain04::after {
        width: 70px;
        height: 70px;
    }
    .use .l-content {
        width: 95%;
        border: dashed 3px #43BFE5;
    }
    .use .l-content .l-content-inner.reverse {
        flex-direction: column;
    }
    .appendix .l-content {
        width: 95%;
        border: dashed 3px #F09231;
    }
    .l-contents.appendix ul {
        flex-wrap: wrap;
        gap: 20px;
    }
    .l-contents.appendix ul li {
        width: calc(100% / 2 - 10px);
    }
    .l-contents.line-up ul {
        width: 80%;
        flex-wrap: wrap;
        font-size: 14px;
    }
    .l-contents.line-up ul li {
        width: 100%;
        flex-direction: row;
        align-items: flex-start;
        gap: 18px;
    }
    .l-contents.line-up ul li img {
        width: 128px;
    }
    .layout-lineup .lineup__cta-buttons {
        width: 90%;
        min-width: 320px;
        margin-top: 0;
    }
    .lineup__cta-buttons::after {
        right: 0;
        width: 70px;
        height: 70px;
        bottom: -15px;
    }
    .lineup__cta-button .cta-button {
        padding: 20px 0 16px;
        margin-bottom: 12px;
    }
    .js-scrollable img {
        max-width: 530px;
        image-rendering: -webkit-optimize-contrast;
    }
    .js-scrollable {
        width: 100%;
        max-width: 540px;
        display: flex;
    }
    .f-main .pagetop {
        bottom: 6.25rem;
        height: 80px;
        right: 0;
        width: 80px;
    }
}




.pagetop {
	bottom: 5.5rem;
	height: 6.1875rem;
	padding: 0;
	position: fixed;
	right: 0;
	width: 5rem;
	z-index: 100;
}
.f-main {
    height: 50px;
    color: #5a3c00;
    border-top: 1px solid;
}
.f-inner {
    height: 50px;
}
.f-copy {
    font-size: 12px;
    font-weight: 400;
    line-height: 3.6;
    text-align: center;
    letter-spacing: .04em;
    color: #000;
}
.l-inner {
    width: 960px;
    margin-right: auto;
    margin-left: auto;
}

@media print, screen and (max-width:960px) {
    .l-inner {
        width: 93%;
        margin: 0 auto;
    }
}

.modaal-container {
    background: transparent!important;
}
