@charset "utf-8";

section.hero {
	white-space: nowrap;
}
section.hero .inner {
	position: relative;
}
section.hero .container {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}
section.hero .container .card {
	background-color: #fff;
	border-radius: 20px;
}
@media screen and (max-width: 520px) {
	section.hero {
		white-space: nowrap;
		height: auto;
		background-image: url("../img/hero_image_sp@3x.png");
		background-repeat: no-repeat;
		background-position: center center;
		background-size: cover;
		padding: 100px 6vw 60px 6vw;
	}
	section.hero .bg {
		display: none;
	}
	section.hero .container {
		position: static;
		transform: none;
		margin: 0 auto;
	}
	section.hero .container .card {
		background-color: #fff;
		border-radius: 4vw;
	}
}

/*--------------------------------------------------------------------*/

section.hero .container .card .upper {
	padding: 2em 3.2em;
}
section.hero .container .card .upper .main b {
	color: var(--c_main_orange);
}
section.hero .container .card .upper .main .title {
	line-height: 1.34;
}
section.hero .container .card .upper .main + .image {
	margin-left: 1em;
}
section.hero .container .card .upper .main + .image img {
	min-width: 30%;
}
@media screen and (max-width: 520px) {
	section.hero .container .card .upper {
		flex-direction: column;
		padding: 2em 2em 1em 2em;
	}
	section.hero .container .card .upper .main + .image {
		margin-left: 0;
		margin-top: 2em;
		max-width: 30vw;
	}
	section.hero .container .card .upper .main .pre {
		font-size: 3.8vw;
	}
	section.hero .container .card .upper .main .title {
		font-size: 8vw;
	}
}

/*--------------------------------------------------------------------*/

section.hero .container .card .upper .image {
	position: relative;
	display: inline-block;
}

section.hero .container .card .upper .image .bubble {
	position: absolute;
	top: -45px;
	right: -100px;
	background: var(--c_main_orange);
	color: #fff;
	padding: 8px 15px;
	border-radius: 20px;
	font-size: 14px;
	font-weight: 700;
	white-space: nowrap;
	z-index: 2;
}

section.hero .container .card .upper .image .bubble::after {
	content: "";
	position: absolute;
	bottom: -8px;
	left: 15px;
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 10px 8px 0 8px;
	border-color: var(--c_main_orange) transparent transparent transparent;
}

@media screen and (max-width: 520px) {
	section.hero .container .card .upper .image .bubble {
		font-size: 3.5vw;
		padding: 1.5vw 3vw;
		top: -15px;
		right: -40px;
	}
	section.hero .container .card .upper .image .bubble::after {
		left: 190px;
		border-width: 8px 6px 0 6px;
	}
}

/*--------------------------------------------------------------------*/

section.hero .container .card .lower {
	line-height: 1.333;
	padding: 1em 2em 3.2em 3.2em;
	border-top: 1px solid var(--c_border_gray);
}
section.hero .container .card .lower .quote {
	color: var(--c_main_orange);
	padding-right: 1.2em;
}
section.hero .container .card .lower .benefit {
	flex: 1;
	padding-left: 1.2em;
	border-left: 1px solid var(--c_border_gray);
}
section.hero .container .card .lower .benefit .label {
	color: #fff;
	background-color: var(--c_main_orange);
	padding: 0.5em 2em;
	margin-right: 1em;
}
section.hero .container .card .lower .benefit .value img {
	min-width: 7em;
	min-height: 2em;
}
@media screen and (max-width: 520px) {
	section.hero .container .card .lower {
		flex-direction: column;
		padding: 1em 2em 2.5em 2em;
	}
	section.hero .container .card .lower .quote {
		padding: 0.75em 1em;
		border: 1px solid var(--c_main_orange);
		font-size: 4vw;
		width: 100%;
		box-sizing: border-box;
	}
	section.hero .container .card .lower .benefit {
		padding-left: 0;
		padding-top: 1em;
		border-left: 0;
		width: 100%;
	}
	section.hero .container .card .lower .benefit .label {
		flex: 0.5;
		font-size: 3.8vw;
	}
	section.hero .container .card .lower .benefit .value {
		flex: 1;
	}
	section.hero .container .card .lower .benefit .value img {
		transform: scale(1.2);
	}
}

/*--------------------------------------------------------------------*/

#contents {
	background-image: url("../img/bg_body.svg");
	background-repeat: no-repeat;
	background-position: right 10em;
	background-size: auto;
}
@media screen and (max-width: 520px) {
	#contents {
		background-size: 140vw;
	}
}

/*--------------------------------------------------------------------*/

section.about {
	padding: 3em 0;
}
section.about .description {
	max-width: 30em;
	box-sizing: border-box;
	padding: 4.375em 3.75em;
	background-image: url("../img/ico_bracket_lt.svg"), url("../img/ico_bracket_rb.svg");
	background-repeat: no-repeat;
	background-position: left top, right bottom;
	background-size: auto 3.75em;
	margin-right: 2em;
}
section.about .description .title {
	margin-bottom: 2em;
}
section.about .description .text {
	margin-bottom: 1.5em;
}
section.about .description .conditions .tag {
	border: 1px solid var(--c_main_orange);
	border-radius: 5em;
	padding: 0 0.5em;
	display: inline-block;
	line-height: 1.5;
	margin-bottom: 0.3em;
}
@media screen and (max-width: 520px) {
	section.about {
		padding: 0 4vw;
	}
	section.about .title .en {
		text-align: center;
	}
	section.about .title .ja {
		text-align: center;
		font-size: 5vw;
	}
	section.about .container {
		flex-direction: column-reverse;
	}
	section.about .description {
		max-width: none;
		box-sizing: border-box;
		padding: 3em 2em;
		background-image: url("../img/ico_bracket_lt.svg"), url("../img/ico_bracket_rb.svg");
		background-repeat: no-repeat;
		background-position: left top, right bottom;
		background-size: auto 2.5em;
		background-image: none;
		margin-right: 0;
		background-color: rgba(255, 255, 255, 0.96);
		backdrop-filter: blur(5px);
		border-radius: 3vw;
	}
	section.about .description .conditions {
		text-align: center;
	}
	section.about .description .conditions .tag {
		font-size: 3.5vw;
	}
}

/*--------------------------------------------------------------------*/

section.about .image {
	margin-right: -5%;
	padding-top: 3em;
}
@media screen and (max-width: 520px) {
	section.about .image {
		width: 80vw;
		margin-right: -15%;
		margin-bottom: -10%;
		padding-top: 3em;
		position: relative;
		z-index: 2;
	}
}

/*--------------------------------------------------------------------*/

section.howtouse {
	padding: 3em 0;
}
section.howtouse .heading {
	margin-bottom: 3em;
}
section.howtouse .item {
	background-color: #fff;
	box-shadow: 2em 1em 2em rgba(0, 0, 0, 0.06);
	padding: 3em;
	width: 48%;
	box-sizing: border-box;
	max-width: 486px;
	margin: 1%;
}
section.howtouse .item .image {
	margin: 1em 0;
}
section.howtouse .item a {
	text-decoration: underline;
	color: #2fb476;
}
@media screen and (max-width: 520px) {
	section.howtouse {
		padding: 3em 6vw;
	}
	section.howtouse .heading {
		margin-bottom: 1em;
	}
	section.howtouse .heading .en {
		/* color: #fff; */
	}
	section.howtouse .heading .ja {
		font-size: 5vw;
	}
	section.howtouse .container {
		flex-direction: column;
	}
	section.howtouse .container .item {
		width: 100%;
		border-radius: 3vw;
		padding: 12vw 8vw;
		margin-bottom: 3vw;
	}
	section.howtouse .item .step {
		font-size: 4vw;
	}
	section.howtouse .item .name {
		font-size: 6vw;
	}
	section.howtouse .item .description {
		font-size: 3.8vw;
	}
}

/*--------------------------------------------------------------------*/

section.howtouse .campaign {
	display: flex;
	flex-direction: column;
	justify-content: center;
}
section.howtouse .campaign .precede {
	margin: auto;
}
section.howtouse .campaign .description {
	margin-top: auto;
}
@media screen and (max-width: 520px) {
    section.hero .container .card .upper .main + .image img {
        margin-top: 1.5rem;
    }
}

/*--------------------------------------------------------------------*/

section.faq {
	padding: 3em 0;
}
section.faq .heading {
	margin-bottom: 2em;
}
@media screen and (max-width: 520px) {
	section.faq {
		padding: 2em 4vw;
	}
	section.faq .heading {
		margin-bottom: 1.5em;
	}
	section.faq .heading .ja {
		font-size: 5vw;
	}
}

/*--------------------------------------------------------------------*/

section.faq .bodying .item {
	background-color: #fff;
	border-radius: 1em;
	padding: 0 1.5em;
	margin-bottom: 0.5em;
}
section.faq .bodying .item .index {
	padding: 1em;
}
section.faq .bodying .item .index::before {
	content: "Q";
	font-size: 132%;
	color: var(--c_main_orange);
}
section.faq .bodying .item dt {
	cursor: pointer;
}
section.faq .bodying .item dd {
	display: none;
}
section.faq .bodying .item .answear {
	padding: 0.75em 1em 1.5em 1em;
	border-top: 1px solid var(--c_border_gray);
}
section.faq .bodying .item .answear a {
}
@media screen and (max-width: 520px) {
	section.faq .bodying .item {
		padding: 0 1em 0 0.5em;
		font-size: 1.4rem;
	}
}

/* ポップアップ */
.popup_overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.5);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 1000;
	opacity: 0;
	visibility: hidden;
	transition: 0.3s;
	backdrop-filter: blur(5px);
}

.popup_overlay.active {
	opacity: 1;
	visibility: visible;
}

.popup_window {
	background: linear-gradient(135deg, #fff 0%, #fff 100%, rgba(255, 102, 0, 0.08) 100%);
	padding: 50px 40px;
	border-radius: 30px;
	position: relative;
	width: 90%;
	max-width: 600px;
	transform: translateY(20px);
	transition: 0.3s;
	box-shadow: 0 20px 40px rgba(255, 102, 0, 0.15);
	border: 1px solid rgba(255, 102, 0, 0.1);
}

.popup_overlay.active .popup_window {
	transform: translateY(0);
}

.close_button {
	position: absolute;
	top: 20px;
	right: 25px;
	border: none;
	background: #fff;
	font-size: 20px;
	cursor: pointer;
	color: #ff6600;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: 0.3s;
	box-shadow: 0 3px 8px rgba(255, 102, 0, 0.15);
	border: 1px solid rgba(255, 102, 0, 0.1);
}

.close_button:hover {
	transform: rotate(90deg);
	background: #ff6600;
	color: #fff;
}

.popup_window .content {
	text-align: center;
	position: relative;
}

.popup_window .icon {
	margin: 0 auto 25px;
	width: 100px;
	height: 100px;
	animation: bounce 2s infinite;
	filter: drop-shadow(0 8px 20px rgba(255, 102, 0, 0.2));
}

.popup_window .title {
	color: #ff6600;
	margin-bottom: 20px;
	font-size: 26px;
	position: relative;
	display: inline-block;
	background: linear-gradient(transparent 70%, rgba(255, 102, 0, 0.1) 70%);
	padding: 0 5px;
}

.popup_window .description {
	line-height: 1.8;
	color: #333;
	margin-bottom: 30px;
	font-size: 16px;
}

.popup_window .campaign_box {
	background: #fff;
	padding: 30px;
	border-radius: 20px;
	position: relative;
	box-shadow: 0 10px 30px rgba(255, 102, 0, 0.1);
	border: 2px dashed #ff6600;
}

.popup_window .campaign_box .title {
	margin-bottom: 25px;
}

.popup_window .campaign_box .name {
	font-size: 29px;
	font-weight: 900;
	line-height: 1.25;
	margin-bottom: 15px;
}

.popup_window .campaign_box .image {
	margin-bottom: 20px;
}

.popup_window .campaign_box .image img {
	width: 160px;
	height: auto;
	filter: drop-shadow(0 3px 6px rgba(255, 102, 0, 0.2));
}

.popup_window .campaign_box .description {
	font-size: 15px;
	line-height: 1.6;
	margin-bottom: 0;
}

@media screen and (max-width: 767px) {
	.popup_window {
		padding: 40px 25px;
		border-radius: 20px;
		width: calc(100% - 40px);
		margin: 0 20px;
	}

	.popup_window .icon {
		width: 80px;
		height: 80px;
	}

	.popup_window .title {
		font-size: 22px;
	}

	.popup_window .campaign_box {
		padding: 25px 20px;
	}

	.popup_window .campaign_box .name {
		font-size: 24px;
	}

	.popup_window .campaign_box .image img {
		width: 140px;
	}
}

.visually-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* 見出しのスタイル修正 */
section.about .title,
section.howtouse .heading,
section.faq .heading {
	text-align: center;
	margin-bottom: 2em;
}

section.about .title {
	margin-bottom: 2em;
}

section.howtouse .heading {
	margin-bottom: 3em;
}

section.faq .heading {
	margin-bottom: 2em;
}

/* アクセシビリティのための非表示クラス */
.visually-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.feature {
	padding: 0 20px 80px;
	margin: 0 auto;
	position: relative;
}

.feature .inner1000 {
	max-width: 1000px;
	margin: 0 auto;
}

.feature .container {
	padding: 40px;
	background: #fff;
	border: 1px solid var(--c_border_gray);
	border-radius: 20px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
	display: flex;
	align-items: center;
	background-image: url("../img/ico_bracket_lt.svg"), url("../img/ico_bracket_rb.svg");
	background-repeat: no-repeat;
	background-position: left top, right bottom;
	background-size: auto 3.75em;
}

.feature .text-content {
	flex: 1;
	margin-right: 40px;
}

.feature .title {
	margin-bottom: 20px;
	color: var(--c_main_orange);
	text-align: left;
}

.feature .description {
	color: #333;
	line-height: 1.8;
}

.feature .image {
	flex-shrink: 0;
	width: 120px;
}

.feature .image img {
	width: 100%;
	height: auto;
}

@media screen and (max-width: 767px) {
	.feature {
		padding: 40px 6vw;
	}

	.feature .container {
		flex-direction: column;
		padding: 20px;
		background-size: auto 2.5em;
	}

	.feature .text-content {
		margin-right: 0;
		margin-bottom: 20px;
	}

	.feature .title {
		font-size: 5vw;
		text-align: center;
	}

	.feature .description {
		font-size: 3.8vw;
	}

	.feature .image {
		width: 80px;
		margin: 0 auto;
	}
}
