@charset "UTF-8";

/* ====================================
	custom property
 ==================================== */
:root {
	--main-color: #003b76;
	--sub-color: #ff5555;
	--bg-color: #ebf5ff;
}

/* ====================================
	共通スタイル
 ==================================== */

.maxw860 {
	max-inline-size: 860px;
	margin-inline: auto;
}

span.sub-color {
	color: var(--sub-color);
}

.text-container,
.img-container {
	margin-top: 3rem;
}

.main-visual {
	block-size: 430px;
	background: url('images/main-visual-bg_sp.png') center center/cover no-repeat;
}

.main-title-outer {
	position: relative;
	block-size: 430px;
}


.main-illust {
	position: absolute;
	left: 50%;
	bottom: 0;
	transform: translateX(-50%);
	inline-size: 300px;
}

.main-title-wrap {
	position: relative;
	z-index: 1;
}

.main-title {
	font-weight: 700;
	opacity: 0;
	transform: translateY(30px);
}

.main-title p:first-of-type {
	background-color: #ff5555;
	color: #fff;
	font-size: 1.6rem;
	padding: .2em .5em;
	inline-size: fit-content;
}

.main-title p:last-of-type {
	color: var(--main-color);
	font-size: 1.8rem;
	margin-top: 1em;
	background-color: var(--bg-color);
}

.logo-tsukekae {
	max-inline-size: 135px;
	margin-inline: auto;
	margin-top: 1em;
}

/* マーカー */
.marker {
	background: linear-gradient(transparent 60%, #FAF006 60%);
}

/* 動画 */
.video-container {
	margin-top: 4rem;
	border: solid 5px #fff;
}

.video {
	position: relative;
	width: 100%;
	padding-top: 56.25%;
	overflow: hidden;
}

.video-js .vjs-big-play-button {
	width: 80px;
	height: 80px;
	font-size: 5em;
	line-height: 1.5;
	background-color: #fff;
	color: var(--sub-color);
	border-radius: 50px;
	box-shadow: 4px 4px 4px 0px rgba(0, 0, 0, 0.2);
}

.video-js:hover .vjs-big-play-button,
.video-js .vjs-big-play-button:focus {
	border-color: #fff;
	background-color: #fff;
	opacity: 0.7;
}

/* セクション設定 */
section:nth-of-type(even) {
	background-color: var(--bg-color);
}

.sub-section {
	padding-block: 6rem;
}

.sub-title {
	width: fit-content;
	margin-bottom: 6rem;
	margin-inline: auto;
	font-size: 1.6rem;
	font-weight: 700;
	text-align: center;
	padding: .5em 1em;
	color: var(--main-color);
	background-color: #fff;
	border: 3px solid var(--main-color);
	box-shadow: 5px 5px 0 0 var(--main-color);
}

/* 吹き出し */
.comment-wrap {
	background-color: #FFFFFF;
	padding: .8em .5em;
	border: 2px solid var(--main-color);
	border-radius: 30px;
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.comment-wrap::after,
.comment-wrap::before {
	content: '';
	border: solid transparent;
	inline-size: 0;
	block-size: 0;
	pointer-events: none;
	position: absolute;
}

/* sub03・吹き出し */
#sub03 .sub-title {
	position: relative;
	margin-top: 4rem;
}

#sub03 .comment-outer {
	position: absolute;
	left: 0;
	top: -4rem;
	inline-size: fit-content;
}

#sub03 .comment-wrap {
	padding: .3em .5em;
	border-width: 3px;
}

#sub03 .comment-wrap::after,
#sub03 .comment-wrap::before {
	top: 100%;
	left: 50%;
}

#sub03 .comment-wrap::after {
	border-top-width: 9px;
	border-bottom-width: 9px;
	border-left-width: 6px;
	border-right-width: 6px;
	margin-left: -6px;
	border-color: rgba(255, 255, 255, 0);
	border-top-color: #FFFFFF;
}

#sub03 .comment-wrap::before {
	border-top-width: 11px;
	border-bottom-width: 11px;
	border-left-width: 8px;
	border-right-width: 8px;
	margin-left: -8px;
	margin-top: 2px;
	border-color: rgba(0, 59, 118, 0);
	border-top-color: var(--main-color);
}

#sub03 .comment {
	font-size: .8em;
}

/* 注釈 */
ul.caption {
	margin-top: 2rem;
}

/* sub01 */
#sub01 .text-container {
	line-height: 1.7;
}

#sub01 .comment-outer {
	margin-top: 4rem;
	padding-top: 8rem;
}

#sub01 .comment-wrap {
	inline-size: 100%;
	max-inline-size: 380px;
	text-align: center;
	position: absolute;
	left: 50%;
	top: 0;
	transform: translateX(-50%);
}

#sub01 .comment-wrap::after,
#sub01 .comment-wrap::before {
	top: 100%;
	left: 50%;
}

#sub01 .comment-wrap::after {
	border-top-width: 21px;
	border-bottom-width: 21px;
	border-left-width: 13px;
	border-right-width: 13px;
	margin-left: -13px;
	border-color: rgba(255, 255, 255, 0);
	border-top-color: #FFFFFF;
}

#sub01 .comment-wrap::before {
	border-top-width: 22px;
	border-bottom-width: 22px;
	border-left-width: 14px;
	border-right-width: 14px;
	margin-left: -14px;
	margin-top: 2px;
	border-color: rgba(0, 59, 118, 0);
	border-top-color: var(--main-color);
}

#sub01 .comment {
	font-weight: 700;
	color: var(--main-color);
}

#sub01 .comment-outer {
	position: relative;
}

/* sub02 */
.sub-sub-title {
	margin-bottom: 1.5em;
	font-size: 1.6rem;
	font-weight: 700;
	text-align: center;
	color: var(--main-color);
}

#sub02 figcaption {
	margin-bottom: 3rem;
	font-size: 1.4rem;
	text-align: center;
}

.user-comment-outer {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
}

.user-comment-outer:not(:first-child) {
	margin-top: 3rem;
}

.user-img {
	inline-size: 10rem;
}

#sub02 .comment-wrap {
	flex: 1 0;
	margin-inline-start: 2rem;
	block-size: fit-content;
	min-block-size: 8rem;
	padding-inline: 1em;
}

#sub02 .comment-wrap::after,
#sub02 .comment-wrap::before {
	top: 50%;
	right: 100%;
}

#sub02 .comment-wrap::after {
	border-left-width: 15px;
	border-right-width: 15px;
	border-top-width: 8px;
	border-bottom-width: 8px;
	margin-top: -8px;
	border-color: rgba(255, 255, 255, 0);
	border-right-color: #FFFFFF;
}

#sub02 .comment-wrap::before {
	border-left-width: 19px;
	border-right-width: 19px;
	border-top-width: 10px;
	border-bottom-width: 10px;
	margin-top: -10px;
	margin-left: 2px;
	border-color: rgba(0, 59, 118, 0);
	border-right-color: var(--main-color);
}

#sub02 .comment {
	font-size: 1.4rem;
}

/* プロダクト */
.products-title {
	margin-top: 4rem;
	margin-bottom: 2rem;
	font-size: 2.4rem;
	font-weight: bold;
	color: var(--sub-color);
	text-align: center;
}

.products-title:last-of-type {
	color: var(--main-color);
}

.products-title span {
	display: block;
	inline-size: fit-content;
	font-size: .7em;
	margin-top: .5em;
	margin-inline: auto;
	padding-inline: 1em;
	position: relative;
}

.products-title span::before,
.products-title span::after {
	content: '';
	inline-size: 50px;
	block-size: 3px;
	background-color: var(--sub-color);
	position: absolute;
	top: 50%;
}

.products-title:last-of-type span::before,
.products-title:last-of-type span::after {
	background-color: var(--main-color);
}

.products-title span::before {
	left: -50px;
}

.products-title span::after {
	right: -50px;
}

.prod-name {
	padding-block: .5em;
	margin-top: .5em;
	margin-bottom: .5em;
	font-size: 1.8rem;
	font-weight: bold;
	color: var(--main-color);
	border-top: solid 2px #b9dcff;
	border-bottom: solid 2px #b9dcff;
	text-align: center;
}

.prod-text {
	margin-top: 1em;
	padding-bottom: 1em;
	border-bottom: dashed 1px #b9dcff;
}

.prod-info {
	margin-top: 1em;
	font-size: 1.4rem;
	color: #585858;
}

/* ====================================
	SP&TAB style（～1023px）
===================================== */
@media screen and (max-width: 1023px) {

	.maxw480 {
		max-inline-size: 480px;
		margin-inline: auto;
	}

	.main-title-wrap {
		padding-top: 3rem;
	}

	.main-title p:first-of-type {
		margin-inline: auto;
	}

	.main-title p:last-of-type {
		font-size: 1.8rem;
		text-align: center;
		margin-top: 1em;
		padding: .2em .4em;
		inline-size: fit-content;
		margin-inline: auto;
		background-color: var(--bg-color);
	}

	.sub-sub-title {
		text-align: center;
	}
}

/* ====================================
	SP style（～767px）
===================================== */
@media screen and (max-width: 767px) {
	.tab {
		display: none;
	}

	article {
		font-size: 1.5rem;
	}

	/* sub02 */
	#sub02 .flex-item:not(:first-child) {
		margin-top: 4rem;
	}

	/* プロダクト */
	#products .sub-title {
		padding-inline: .3em;
	}

	ul.products-list li:not(:first-child) {
		margin-top: 2rem;
	}

}

/* ====================================
	PC style（1024px～）
===================================== */
@media print,
screen and (min-width: 1024px) {

	.main-visual {
		block-size: 400px;
		background-image: url('images/main-visual-bg.png');
		background-size: auto;
	}

	.main-title-outer {
		display: flex;
		align-items: center;
		block-size: 400px;
	}

	.main-title p:first-of-type {
		font-size: 2.8rem;
	}

	.main-title p:last-of-type {
		font-size: 3.2rem;
		margin-top: 2.5rem;
	}

	.main-title .width-fit {
		display: inline-block;
		inline-size: fit-content;
		padding: .1em .4em;
		background-color: var(--bg-color);
	}

	.logo-tsukekae {
		max-inline-size: 190px;
		margin-inline-start: 0;
		margin-top: 2.5rem;
	}

	.main-illust {
		left: auto;
		right: 0;
		transform: none;
		inline-size: 650px;
	}
}

/* ====================================
	PC&Tab style（768px～）
===================================== */
@media print,
screen and (min-width: 768px) {

	article {
		font-size: 1.8rem;
	}

	.flex-container {
		display: flex;
		flex-wrap: wrap;
		justify-content: space-between;
	}

	.flex-container>.flex-item {
		width: 48%;
	}

	/* 動画 */
	.video-container {
		margin-top: 6rem;
	}

	.video-js .vjs-big-play-button {
		width: 100px;
		height: 100px;
		font-size: 6em;
	}

	/* セクション設定 */
	.sub-section {
		padding-block: 10rem;
	}

	.sub-title {
		font-size: 2.8rem;
		margin-bottom: 10rem;
	}

	/* 吹き出し */
	.comment-wrap .text {
		font-size: 1.6rem;
	}

	/* 注釈 */
	#sub01 sup {
		top: -1em;
		font-size: 60%;
	}

	ul.caption {
		margin-top: 4rem;
	}

	/* sub01 */
	.flex-container.r-reverse {
		flex-direction: row-reverse;
	}

	#sub01 .comment-outer {
		margin-top: 8rem;
		padding-top: 9.5rem;
	}

	#sub01 .comment-wrap {
		inline-size: 100%;
		max-inline-size: 450px;
	}

	#sub01 .comment {
		font-size: 1.8rem;
	}

	/* sub02 */
	#sub02 .sub-sub-title {
		font-size: 2.4rem;
	}

	#sub02 figcaption {
		margin-bottom: 4rem;
		text-align: left;
	}

	.user-img {
		inline-size: 14rem;
	}

	.user-comment-outer:not(:first-child) {
		margin-top: 4rem;
	}

	#sub02 .comment-wrap {
		min-block-size: 10rem;
	}

	#sub02 .comment {
		font-size: 1.5rem;
	}

	#sub03 .sub-title {
		margin-top: 6.3rem;
	}

	#sub03 .comment-outer {
		top: -6.3rem;
	}

	#sub03 .comment-wrap::after {
		border-top-width: 15px;
		border-bottom-width: 15px;
		border-left-width: 10px;
		border-right-width: 10px;
		margin-left: -10px;
	}

	#sub03 .comment-wrap::before {
		border-top-width: 17px;
		border-bottom-width: 17px;
		border-left-width: 12px;
		border-right-width: 12px;
		margin-left: -12px;
	}

	/* プロダクト */
	.products-title {
		margin: 8rem 0 2rem;
		font-size: 4rem;
	}

	ul.products-list {
		display: flex;
		justify-content: center;
	}

	ul.products-list li {
		inline-size: 30%;
	}

	ul.products-list li:not(:first-child) {
		margin-left: 3.5%;
	}

	.prod-name {
		font-size: 2rem;
		margin-top: 2rem;
	}
}


/* ====================================
	Tab style（768px～1023px）
===================================== */
@media screen and (min-width: 768px) and (max-width: 1023px) {

	.main-visual,
	.main-title-outer {
		block-size: 560px;
	}

	.main-title p:first-of-type {
		font-size: 2.4rem;
	}

	.main-title p:last-of-type {
		font-size: 2.8rem;
		margin-top: 2rem;
	}

	.logo-tsukekae {
		max-inline-size: 160px;
		margin-top: 2rem;
	}

	.main-illust {
		inline-size: 420px;
	}

	/* sub01 */
	#sub01 .comment-outer {
		margin-top: 10rem;
		padding-top: 8.5rem;
	}

	#sub01 .comment {
		font-size: 1.5rem;
	}

}