:root {
    --white: #fff;
    --black: #2F2E2D;
	--orange: #E78621;
    --brown: #6D3D18;
    --blue: #004bb1;
	--grad: linear-gradient(90deg, rgba(231, 136, 28, 1), rgba(235, 61, 120, 1));
    --font-weight-bold: 600;
    --font-round: "M PLUS Rounded 1c", sans-serif;
	--font-point: "Zen Kaku Gothic New", serif;
	--font-style: "Roboto", serif;
}

body {
	color: var(--black);
	letter-spacing: 0.05rem;
	font-family: "Noto Sans JP", serif;
	font-weight: 500;
}

h2,h3,h4 {
	font-family: var(--font-point);
}

.mv-bg {
	width: 100%;
	background: url(../img/docodemo/mv-bg.png) top center / cover no-repeat;
	display: flex;
	justify-content: center;
	overflow: hidden;
}
.mv {
	max-width: 1150px;
	display: flex;
	align-items: center;
}
.mv-img {
	width: 40%;
	max-width: 436px;
	min-width: 375px;
}
.mv-baloon {
	background: url(../img/docodemo/mv-baloon.png) center / contain no-repeat;
	margin-left: -20px;
}
.mv-baloon-content {
	width: 55vw;
    max-width: 712px;
    max-height: 415px;
    height: 100vh;
	padding-right: 3%;
	display: flex;
	flex-direction: column;
	align-items: center;
    justify-content: center;
}
.mv-baloon h2 {
	display: flex;
	flex-direction: column;
	align-items: center;
    justify-content: center;
	font-family: var(--font-round);
	font-weight: var(--font-weight-bold);
	font-size: 22px;
	padding-right: 10%;
}
.mv-baloon h2 img {
	width: 90%;
	padding: 7px 0;
}
.mv-baloon ul {
	width: 70%;
	display: flex;
	flex-direction: column;
	font-family: var(--font-point);
	font-weight: var(--font-weight-bold);
	gap: 10px;
	margin-top: 20px;
	padding-bottom: 20px;
}
.mv-baloon ul li {
	position: relative;
	padding-left: 2em;
	font-size: 18px;
}
.mv-baloon ul li::before {
	content: '';
	width: 22px;
	height: 22px;
	background: url(../img/docodemo/mv-check.svg) top center / contain no-repeat ;
	position: absolute;
	left: 0;
	top: 3px;
} 
.mv-baloon ul li span {
	background: #FFF9B2;
}
@media screen and (max-width: 1030px) {
	.mv-img {
		min-width: auto;
	}
	.mv-baloon ul {
		margin-top: 10px;
	}
	.mv-baloon ul li {
		position: relative;
		padding-left: 1.5em;
		font-size: 14px;
	}
	.mv-baloon ul li::before {
		content: '';
		width: 17px;
		height: 17px;
		background: url(../img/docodemo/mv-check.svg) top center / contain no-repeat;
		position: absolute;
		left: 0;
		top: 3px;
	}
	.mv-baloon-content {
		height: auto;
		min-height: 300px;
	}
	.mv-baloon h2 {
		font-size: 18px;
	}
}
@media screen and (max-width: 768px) {
	.mv {
		flex-direction: column-reverse;
		width: 90%;
	}
	.mv-bg {
		background: url(../img/docodemo/mv-bg.png) top center / cover no-repeat;
	}
	.mv-baloon {
		background: url(../img/docodemo/sp-mv-baloon.png) top center / 100% no-repeat;
		margin: 5px 0 0 3px;
	}
	.mv-baloon-content {
		width: 100%;
		margin-left: 3%;
		padding: 11% 0 0 3%;
		justify-content: flex-start;
	}
	.mv-baloon-content ul {
		width: 100%;
		background: var(--white);
		border-radius: 20px;
		padding: 12px 15px;
		margin: 22% 0 0 -36px;
		gap: 5px
	}
	.mv-img {
		width: 80%;
		margin-top: -15px;
	}
}


nav {
	display: flex;
	justify-content: center;
	background: url(../img/docodemo/bg-texture.svg) ,var(--grad);
}
nav ul {
	display: flex;
	width: 1000px;
	font-family: var(--font-point);
	font-size: 20px;
	color: var(--white);
	font-weight: var(--font-weight-bold);
	justify-content: center;
}
nav ul li {
	width: calc(100% / 4 - 10px);
	display: flex;
	position: relative;
}
nav ul li::after {
	content: '';
	width: 12px;
	height: 23px;
	position: absolute;
	right: -12px;
	top: 0;
	bottom: 0;
	margin: auto;
	background: url(../img/docodemo/line.svg) center / contain no-repeat;
}
nav ul li:last-child::after {
	content: none;
}
nav ul li a {
	width: 100%;
	height: 80px;
	display: flex;
	justify-content: center;
    align-items: center;
}
@media screen and (max-width: 768px) {
	nav ul {
		flex-wrap: wrap;
		font-size: 18px;
	}
    nav ul li {
		width: calc(100% / 2);
		padding: 0;
		margin: auto;
    }
	nav ul li::after {
		content: none;
	}
	nav ul li {
		border-bottom: 1px solid rgba(255, 255, 255, 0.4);
		border-right: 1px solid rgba(255, 255, 255, 0.4);
	}
	nav ul li a {
		height: 50px;
	}
}


.l-content-bg {
	width: 100%;
	padding: 80px 0 180px;
	display: flex;
	justify-content: center;
	position: relative;
}
.l-content-bg:last-of-type {
	padding-bottom: 80px;
}
.l-content-bg::after {
	content: '';
	position: absolute;
	background: url(../img/docodemo/bg-dot.png) top center / cover repeat;
	width: 100vw;
	height: 100vh;
}
.l-content-bg.box {
	padding-top: 30px;
}
.l-content-bg.box::before {
	content: "";
	display: block;
	position: absolute;
	height: 50%;
    width: 100%;
    top: -80px;
	transform: skew(0,-4deg);
}
.l-content-bg > section {
position: relative;
z-index: 10;
}
.l-content-bg.feature {
	background: linear-gradient(180deg, rgba(255, 251, 232, 1), rgba(251, 250, 241, 1));
}
.l-content-bg.function {
	background: linear-gradient(180deg, rgba(242, 241, 208, 1), rgba(235, 240, 221, 1));
}
.l-content-bg.function::before {
	background: rgba(242, 241, 208, 1);
}
.l-content-bg.terms {
	background: linear-gradient(180deg, rgba(249, 250, 245, 1), rgba(248, 250, 248, 1));
}
.l-content-bg.terms::before {
	background: rgba(249, 250, 245, 1);
}
.l-content-bg.contact,
.l-content-bg.howto {
	background: linear-gradient(180deg, rgba(230, 239, 231, 1), rgba(223, 238, 248, 1));
}
.l-content-bg.contact::before,
.l-content-bg.howto::before {
	background: rgba(230, 239, 231, 1);
}
.l-contents {
	width: 100%;
	max-width: 1000px;
	display: flex;
	flex-direction: column;
	gap: 40px;
	align-items: stretch;
}
.l-contents h2 {
	font-size: 34px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}
.l-contents h2 span {
	font-size: 21px;
	font-family: var(--font-style);
	background: var(--grad);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}
.l-content {
	background: var(--white);
    border-radius: 22px;
    padding: 4rem;
    display: flex;
    gap: 40px;
    flex-direction: column;
    align-items: center;
}
.l-content h3 {
	font-size: 24px;
    position: relative;
    display: table;
    margin: auto;
}
.l-content h3 span {
	padding: 0 0.5em;
	background: linear-gradient(to right, rgba(249, 227, 200, 1), rgba(250, 207, 223, 1)) left bottom / 100% 50% no-repeat;
}
.l-content img {
	width: 205px;
}
.l-content-items {
	width: 100%;
	display: flex;
	flex-direction: row;
	justify-content: space-around;
	gap: 30px;
}
.l-content-item-img {
	display: flex;
    gap: 20px;
    justify-content: center;
}
.howto .l-content-item-img {
	width: 450px;
}
.l-content-item {
    width: 55%;
}
.howto .l-content-item {
	width: 400px;
}
.l-content-item p:nth-of-type(2) {
    margin-top: 0.8em;
}
.l-content-item h4 {
	color: var(--orange);
	position: relative;
	padding-left: 1.5em;
	display: flex;
	align-items: center;
	padding-bottom: 7px;
	font-size: 18px;
}
.l-content-item h4::before {
	content: '';
	width: 21px;
	height: 18px;
	top: 6px;
	left: 0;
	position: absolute;
	background: url(../img/docodemo/icon-book.svg) top center / contain no-repeat;
}
.l-content-item h4.no-icon {
	padding-left: 0;
}
.l-content-item h4.no-icon::before {
	background: none;
}
.tab__content--pink .l-content-item h4 {
	color: #D31A5B;
}
.tab__content--pink .l-content-item h4::before {
	background: url(../img/docodemo/icon-book-japanese.svg) top center / contain no-repeat;
}
.tab__content--blue .l-content-item h4 {
	color: #246BBE;
}
.tab__content--blue .l-content-item h4::before {
	background: url(../img/docodemo/icon-book-math.svg) top center / contain no-repeat;
}
.tab__content--green .l-content-item h4 {
	color: #12803C;
}
.tab__content--green .l-content-item h4::before {
	background: url(../img/docodemo/icon-book-science.svg) top center / contain no-repeat;
}
.tab__content--orange .l-content-item h4 {
	color: #B97D0C;
}
.tab__content--orange .l-content-item h4::before {
	background: url(../img/docodemo/icon-book-social.svg) top center / contain no-repeat;
}
.tab__content--purple .l-content-item h4 {
	color: #9A24BE;
}
.tab__content--purple .l-content-item h4::before {
	background: url(../img/docodemo/icon-book-english.svg) top center / contain no-repeat;
}
.l-content-img {
	width: 50%;
	display: flex;
	gap: 20px;
	justify-content: center;
}

.l-content-terms {
	height: 446px;
	overflow: hidden;
    overflow-y: scroll;
	border: 1px solid #C7C7C7;
	padding: 2rem;
	border-radius: 20px;
	display: flex;
	flex-direction: column;
	gap: 20px;
}
.l-content-terms a {
	text-decoration: underline;
	color: var(--orange);
}
.l-content-terms ol {
	display: flex;
	flex-direction: column;
	gap: 20px;
}
.l-content-terms ol li dl dd {
	padding-left: 2em;
}
.l-content-terms ol li dl dd ol li {
	list-style: decimal;
}
.l-content-terms ol li dl dd ol li ul li {
	list-style: disc;
	margin-left: 2em
}
@media screen and (max-width: 768px) {
    .l-content {
		width: 95%;
		padding: 25px 15px;
		margin: auto;
		gap: 25px;
    }
	.l-content h3 {
		font-size: 18px;
		text-align: center;
	}
	.l-contents {
		gap: 30px;
	}
	.l-contents h2 {
		font-size: 28px;
	}
	.l-content-bg {
		padding: 40px 0 150px 0;
	}
	.l-content-bg.box {
		padding-top: 0;
	}
	.l-content-bg.box::before {
		top: -65px;
	}
	.l-content-items {
		flex-direction: column-reverse;
		align-items: center;
	}
	.l-content-item-img {
		width: 100%!important;
		flex-direction: column;
		align-items: center;
	}
	.l-content-item {
		width: 100%!important;
	}
	.l-content-terms {
		padding: 1.5rem 1rem;
	}
}

.faq-list {
	display: flex;
	flex-direction: column;
	gap: 18px;
}
.contact h3 {
	color: #EB3E75;
}
.faq-list__item {
	background: var(--white);
	border-radius: 20px;
	padding: 30px;
	border: 2px solid #EB3E75;
    border-radius: 0.75rem;
}
.faq-list__item-text {
	margin-top: 10px;
}
.faq-list__item-answer {
    border-top: 1px solid #EB3E75;
    display: none;
    margin-top: 0.5rem;
}
.faq-list__item-answer.is-open {
    display: block;
}
.faq-list__item-question {
    align-items: center;
    cursor: pointer;
    display: flex;
    padding-right: 2rem;
    position: relative;
}
.faq-list__item-question::before, .faq-list__item-question::after {
    background: #EB3E75;
    content: "";
    display: block;
    height: 0.0625rem;
    position: absolute;
    right: 0;
    transition: 0.3s;
    width: 1.25rem;
}
.faq-list__item-question::after {
    transform: rotate(90deg);
}
.faq-list__item-question.is-open::after {
    transform: rotate(0deg);
}
.contact-button a {
	background: var(--grad);
	width: 90%;
	max-width: 350px;
	height: 70px;
	display: flex;
	justify-content: center;
    align-items: center;
	color: var(--white);
	font-family: var(--font-point);
	font-size: 24px;
	border-radius: 20px;
}
.arrow {
	position: relative;
	display: inline-block;
	width: 10.4px;
	height: 16.7px;
}
.arrow::before,
.arrow::after {
	content: "";
	position: absolute;
	top: calc(50% - 1px);
	right: 20px;
	width: 13px;
	height: 2px;
	border-radius: 9999px;
	background-color: #ffffff;
	transform-origin: calc(100% - 1px) 50%;
}
.arrow::before {
transform: rotate(45deg);
}

.arrow::after {
transform: rotate(-45deg);
}
.contact-button {
	width: 100%;
	display: flex;
	justify-content: center;
}
@media screen and (max-width: 768px) {
	.faq-list {
		width: 95%;
		margin: auto;
	}
	.faq-list__item {
		padding: 20px;
	}
	
}

/* タブ
----------------*/
.tab__menu {
	gap: 0;
}
.tab__menu li {
	border-radius: 21px 21px 0 0;
	font-family: var(--font-point);
	font-size: 20px;
	color: #fff;
    cursor: pointer;
    flex: 1;
    font-weight: 600;
    letter-spacing: 0.05em;
	padding: 15px 0;
    line-height: 1;
    text-align: center;
    transition: opacity 0.3s;
}
.tab__menu-item--pink,
.tab__menu-item,
.tab__content--pink  {
    background-color: #F493B5;
}
.tab__menu-item--blue,
.tab__content--blue  {
    background-color: #5B9BE5;
}
.tab__menu-item--green,
.tab__content--green  {
    background-color: #4CB468;
}
.tab__menu-item--orange,
.tab__content--orange  {
    background-color: #F0A645;
}
.tab__menu-item--purple,
.tab__content--purple  {
    background-color: #B67DC7;
}
.tab__content {
	background-position: right 0.4375rem bottom -0.75rem;
	padding: 40px;
	border: 0;
	border-radius: 0 0 20px 20px;

}
.tab__content--pink {
	background: #F493B5;
}

.tab__content img {
	width: 50%;
    max-width: 180px;
}
.contents__tab {
	margin: 0 auto;
	max-width: 100%;
}
.attention {
	padding: 0 1em 0 2.5em;
}
.attention ul {
	list-style: disc;
}
.attention ul li {
	line-height: 1.3;
	margin-bottom: 10px;
}
@media screen and (max-width: 768px) {
	.contents__tab {
		margin: 0 auto;
		max-width: 95%;
	}
	.tab__content {
		padding: 20px 5px;
	}
	.l-content-img {
		width: 90%;
	}
	.pagetop {
		right: 0.75rem;
		left: inherit;
	}
}


