﻿@charset "utf-8";
/* Foundation
----------------------------------------------------------------------*/
:root{
	--color-primary: #23469e;
	--color-primary-light: #557ee6;
	--color-primary-pale: #ebedff;
	--color-accent: #ff7504;
	--color-accent-light: #ffeabf;
	--color-accent-pale: #fff6de;
	--color-text: #252525;
}
body{
	color: var(--color-text);
	font-family: 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3', Meiryo, メイリオ, Osaka, 'MS PGothic', arial, helvetica, sans-serif;
}
img{
	max-width: 100%;
	height: auto;
	vertical-align: middle;
}

/* Links and buttons
----------------------------------------------------------------------*/
a{
	text-decoration: none;
}
main a:not([class]){
	color: var(--color-primary);
	text-decoration: underline;
}
.btn_area{
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 15px 20px;
	margin-top: 30px;
}
.btn_m,
.btn_l{
	display: inline-flex;
	align-items: center;
	justify-content: space-between;
	min-height: 48px;
	border-radius: 5px;
	font-weight: bold;
	line-height: 1.5;
	text-decoration: none !important;
}
.btn_m{
	padding: 8px 15px;
}
.btn_l{
	padding: 1em 30px;
	box-shadow: 2px 2px 10px rgba(0,0,0,.3);
	font-size: 1.8rem;
}
.btn_m::after,
.btn_l::after{
	display: inline-block;
	flex: none;
	width: 10px;
	height: 10px;
	margin-left: 10px;
	border-top: 3px solid;
	border-right: 3px solid;
	content: "";
	transform: rotate(45deg);
}
.btn_primary{
	color: #fff;
	background: var(--color-primary);
}
.btn_accent{
	color: #fff;
	background: var(--color-accent);
}
.btn_white{
	color: var(--color-primary);
	background: #fff;
}
.btn_gnav{
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	padding: 15px 10px;
}
.btn_gnav::before{
	inset: 0 16px 0 auto;
	margin: auto 0;
}
.btn_gnav::after{
	position: static;
	margin: 0 0 0 auto;
}
.btn_gnav.btn_accent::before{
	border-color: var(--color-accent);
}
.btn_gnav.btn_accent::after{
	background: #fff;
}

/* Layout
----------------------------------------------------------------------*/
.layout{
	max-width: 1000px;
	padding-right: 20px;
	padding-left: 20px;
	margin: 0 auto;
}

/* Header
----------------------------------------------------------------------*/
header::before{
	content: none;
}
.gnav_tel{
	padding: 5px 20px;
	background: var(--color-bg-primary-dark);
	color: #fff;
	font-size: 1.4rem;
	text-align: center;
}
.gnav_tel a{
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 2px;
	color: #fff;
	font-weight: bold;
}
.gnav_tel a::before{
	display: inline-block;
	height: 1em;
	aspect-ratio: 17 / 18;
	background: url(../../images/icon_tel_wh.svg) center / contain no-repeat;
	content: "";
}

/* Main visual
----------------------------------------------------------------------*/
.mv{
	padding-top: 120px;
	background: linear-gradient(to bottom, #2d70b7 10%, rgba(22,43,97,.6)), url(../images/mv_bg.webp) center bottom / cover no-repeat;
}
.mv,
.mv a{
	color: #fff;
}
.mv a{
	text-decoration: underline;
}
.mv > .layout{
	padding-top: 30px;
	padding-bottom: 50px;
}
.mv_ttl{
	margin-top: 10px;
	font-size: 3.8rem;
	font-weight: bold;
	line-height: 1.5;
	text-align: center;
	opacity: 0;
	animation: slide_up .6s .2s forwards;
}
.mv_check{
	display: inline-block;
	padding: 17px 20px 23px;
	margin-right: 3px;
	background: url(../images/mv_check.svg) center / contain no-repeat;
}
.mv .txt_area{
	margin-top: 20px;
}
.mv_point_wrap{
	width: 100%;
	max-width: 400px;
	margin: 0 auto;
}
.mv_point{
	border: 2px solid #fff;
	border-radius: 5px;
	background: rgba(255,255,255,.1);
}
.mv_point li{
	display: flex;
	align-items: center;
	position: relative;
	gap: 15px;
	padding: 15px 20px;
}
.mv_point li + li::before{
	position: absolute;
	inset: -.5px 0 auto;
	width: calc(100% - 40px);
	margin: 0 auto;
	border-top: 1px solid rgba(255,255,255,.3);
	content: "";
}
.mv_point figure{
	display: grid;
	place-content: center;
	width: 60px;
}
.mv .layout{
	container-type: inline-size;
}
.mv_label_wrap{
	text-align: center;
}
.mv .btn_area{
	margin-top: 40px;
}

/* Main content
----------------------------------------------------------------------*/
section{
	padding: 0;
}
section.u-bg-primary-pale{
	padding: 40px 0;
}
section:first-child{
	margin-top: 0;
}
.sec_card{
	padding: 0;
	border-radius: 5px;
	background: #fff;
}
.sec_card .sec_ttl{
	margin-top: 0;
}
.sec_arrow{
	position: relative;
	padding-top: calc(40px + 12vw);
	margin-top: 20px;
	background: url(../images/sec_arrow.svg) top center / contain no-repeat;
}
.sec_subttl{
	display: inline-block;
	margin-bottom: 6px;
	font-size: 1.6rem;
}
.sec_ttl{
	display: block;
	margin: 100px auto 30px;
	color: var(--color-text);
	font-size: 3rem;
	font-weight: bold;
	line-height: 1.5;
	text-align: center;
}
.sec_ttl::after{
	content: none;
}
.u-bg-primary-pale + section .sec_ttl{
	margin-top: 60px;
}
.sec_item{
	margin-top: 30px;
}
.sec_item + .sec_item{
	margin-top: 50px;
}
sup{
	font-size: 1.2rem;
	vertical-align: super;
}
.txt_area > * + *{
	margin-top: 0;
}
.txt_area p + p{
	margin-top: 1em;
}

/* Media
----------------------------------------------------------------------*/
.media{
	display: flex;
	flex-direction: column;
	gap: 20px;
}

/* Labels and balloons
----------------------------------------------------------------------*/
.label{
	display: inline-block;
	padding: 2px 4px;
	border-radius: 5px;
	background: #d6daff;
	color: var(--color-primary);
	font-weight: bold;
}
.balloon{
	display: inline-block;
	position: relative;
	padding: 15px 20px;
	margin-bottom: 20px;
	border-radius: 5px;
	background: var(--color-primary-light);
	color: #fff;
	font-weight: bold;
	text-align: center;
}
.balloon:nth-child(odd){
	margin-right: auto;
}
.balloon:nth-child(even){
	margin-left: auto;
}
.balloon::before{
	position: absolute;
	bottom: -18px;
	width: 0;
	height: 0;
	border: 10px solid transparent;
	border-top-color: var(--color-primary-light);
	content: "";
}
.balloon:nth-child(odd)::before{
	left: 20px;
	border-left-color: var(--color-primary-light);
}
.balloon:nth-child(even)::before{
	right: 20px;
	border-right-color: var(--color-primary-light);
}
.balloon + .balloon{
	margin-top: 0;
}

/* Cards
----------------------------------------------------------------------*/
.card{
	position: relative;
	padding: 20px;
	margin-top: 0 !important;
	background: #fff;
}
.card .item_ttl{
	margin-top: 20px !important;
	text-align: center;
}
.card > a{
	color: var(--color-text) !important;
	text-decoration: none !important;
}
.numbering_card{
	counter-reset: card;
}
.numbering_card .card{
	margin-top: 40px !important;
}
.numbering_card .card::before{
	position: absolute;
	inset: calc(-20px - 1.5rem) auto auto 20px;
	color: var(--color-accent);
	font-family: Alef;
	font-size: 6rem;
	font-weight: bold;
	line-height: 1;
	text-align: center;
	content: counter(card, decimal-leading-zero);
	counter-increment: card;
	pointer-events: none;
}
.card .dl_table_wrap{
	grid-template-columns: 1fr auto;
	gap: 10px;
	margin-top: 10px !important;
}
.card .dl_table_wrap dd{
	text-align: right;
}
.card a figure{
	padding: 10px;
	background: #fff;
}

/* Grid
----------------------------------------------------------------------*/
.grid{
	display: grid;
	justify-content: center;
	gap: 20px;
}
.grid.item2{
	grid-template-columns: repeat(auto-fit, minmax(350px, 450px));
}
.grid.item3{
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

/* Numbered flow
----------------------------------------------------------------------*/
.list_flow_num{
	position: relative;
	counter-reset: list_flow_num;
	font-weight: bold;
	z-index: 0;
}
.list_flow_num li{
	position: relative;
	padding: 54px 0 0 3em;
	text-align: left;
}
.list_flow_num li:not(:last-child){
	padding-bottom: 1.8rem;
}
.list_flow_num li:not(:last-child)::after{
	position: absolute;
	top: 1px;
	left: calc(1em - .2rem);
	width: .4rem;
	height: 100%;
	background: var(--color-primary-light);
	content: "";
	z-index: -1;
}
.list_flow_num li::before{
	display: inline-flex;
	align-items: center;
	justify-content: center;
	position: absolute;
	top: 0;
	left: 0;
	width: 2em;
	height: 2em;
	margin-right: 1em;
	border-radius: 50%;
	background: var(--color-primary-light);
	color: #fff;
	font-size: 2rem;
	content: counter(list_flow_num);
	counter-increment: list_flow_num;
}
.list_flow_num li img{
	position: absolute;
	top: 0;
	left: 3em;
}
.list_flow_num .item_ttl{
	margin-top: 0 !important;
}
.list_flow_num p{
	font-size: 1.6rem;
	font-weight: normal;
}

/* Problems
----------------------------------------------------------------------*/
.problem .sec_ttl{
	padding-top: 50px;
}
.list_problem{
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	max-width: 780px;
	margin: 0 auto;
	background: url(../images/problem_bg.png) center / contain no-repeat;
}
.list_problem .media{
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 10px;
	width: 100%;
	max-width: 260px;
}
.list_problem figure{
	flex: none;
	width: 40px;
}

/* Solution
----------------------------------------------------------------------*/
.solution{
	padding-bottom: 40px;
	background-color: #fff6de;
}
.solution .item_ttl{
	color: var(--color-accent);
	text-align: center;
}

/* Contact
----------------------------------------------------------------------*/
.contact{
	padding: 60px 0;
	background: #4365b8;
}
.contact.u-bg-accent-light{
	margin-top: 60px;
}
.contact .sec_ttl{
	margin-top: 0;
	color: #fff;
}
.contact .sec_item{
	color: #fff;
	text-align: center;
}
.contact a:not([class^="btn"]){
	display: inline-block;
	margin-bottom: 6px;
	color: inherit;
	font-size: 3rem;
	font-weight: bold;
	text-decoration: none !important;
}
.contact a:not([class^="btn"]) img{
	width: 30px;
	margin-right: 4px;
}

/* Banner
----------------------------------------------------------------------*/

/* Footer
----------------------------------------------------------------------*/
footer{
	padding-top: 30px;
	margin-top: 0;
}
.fnav_mark{
	margin-top: 0;
}
.fnav_mark img{
	max-height: 100%;
}

/* Back to top
----------------------------------------------------------------------*/
#btnTop{
	position: fixed;
	right: 10px;
	bottom: 10px;
	z-index: 9999;
}
#btnTop a{
	display: flex;
	align-items: center;
	justify-content: center;
	width: 50px;
	height: 50px;
	border-radius: 50%;
	background: #fff;
	color: #fff;
	font-size: 24px;
	font-weight: bold;
	line-height: 1;
	box-shadow: 3px 3px 10px rgba(0,0,0,.2);
}
#btnTop a::after{
	display: block;
	position: absolute;
	inset: 8px 0 0;
	width: 16px;
	height: 16px;
	margin: auto;
	border-top: 4px solid var(--color-primary);
	border-right: 4px solid var(--color-primary);
	content: "";
	transform: rotate(-45deg);
}

/* External link icon
----------------------------------------------------------------------*/
.a_blank{
	position: relative;
	padding-right: 18px;
}
.a_blank::before,
.a_blank::after{
	position: absolute;
	width: 12px;
	height: 12px;
	border: 2px solid #fff;
	background: #5ab303;
	content: "";
}
.a_blank::before{
	top: 7px;
	right: 2px;
}
.a_blank::after{
	top: 3px;
	right: -2px;
}
.btn:not(.btn_ghost) .a_blank::before,
.btn:not(.btn_ghost) .a_blank::after,
#footer .a_blank::before,
#footer .a_blank::after{
	background: #fff;
}
.btn .a_blank{
	display: inline-block;
	padding-right: 16px;
}
.btn .a_blank::before,
.btn .a_blank::after{
	top: 50%;
}
.btn:not(.btn_ghost) .a_blank::before,
.btn:not(.btn_ghost) .a_blank::after{
	border-color: #5ab303;
}
.btn .a_blank::before{
	margin-top: -6px;
}
.btn .a_blank::after{
	margin-top: -10px;
}
.btn_large .a_blank{
	padding-right: 22px;
}
.btn_large .a_blank::before,
.btn_large .a_blank::after{
	width: 16px;
	height: 16px;
}
.btn_large .a_blank::before{
	margin-top: -8px;
}
.btn_large .a_blank::after{
	margin-top: -12px;
}
#footer .a_blank::before,
#footer .a_blank::after{
	border-color: #333;
}
#footer .a_blank::before{
	top: 4px;
	right: 4px;
}
#footer .a_blank::after{
	top: 0;
	right: 0;
}

/* Animations
----------------------------------------------------------------------*/
@keyframes slide_up{
	from{
		opacity: 0;
		transform: translateY(50px);
	}
	to{
		opacity: 1;
		transform: translateY(0);
	}
}
@keyframes fade_in{
	from{
		opacity: 0;
	}
	to{
		opacity: 1;
	}
}
.anime_slide_up,
.anime_fade_in,
.anime_flow::before{
	visibility: hidden;
	opacity: 0;
}
.anime_fade_in{
	transition: opacity .4s ease-in;
}
.anime_slide_up{
	transform: translateY(50px);
	transition: transform .6s cubic-bezier(.215,.61,.355,1), opacity .4s ease-out;
}
.anime_flow::before{
	transition: opacity .4s ease-in;
}
.anime_flow:not(:last-child)::after{
	transform: scale(1,0);
	transition: transform .6s cubic-bezier(.215,.61,.355,1), opacity .4s ease-out;
	transition-delay: .4s;
}
.is-anime,
.is-anime::before,
.is-anime::after{
	visibility: visible;
	opacity: 1;
}
.anime_slide_up.is-anime{
	transform: translateY(0);
}
.anime_flow.is-anime:not(:last-child)::after{
	transform: scale(1,1);
	transform-origin: top;
}

/* Utility
----------------------------------------------------------------------*/
.u-fw-b{
	font-weight: bold;
}
.u-fz-1_75em{
	font-size: 1.75em;
	line-height: 1;
}
.u-ta-c{
	text-align: center;
}
.u-ta-c.is-pc{
	text-align: left;
}
.u-mt-40{
	margin-top: 40px;
}
.u-col-accent{
	color: var(--color-accent) !important;
}
.u-col-primary-light{
	color: #3263e0;
}
.u-bg-primary-pale{
	background: var(--color-primary-pale);
}
.u-bg-accent-light{
	background: var(--color-accent-light);
}
.is-fixed{
	position: fixed;
}
br.is-pc{
	display: none;
}

/* Desktop
----------------------------------------------------------------------*/
@media screen and (min-width: 769px){
	html{
		scroll-padding-top: 80px;
	}
	[href^="tel:"]{
		pointer-events: none;
	}
	main a:not([class]):hover{
		text-decoration: none;
	}
	.btn_m,
	.btn_l{
		transition: opacity .2s;
	}
	.btn_m:hover,
	.btn_l:hover{
		opacity: .7;
	}
	.btn_l{
		font-size: 1.8rem;
	}
	.btn_area_gnav{
		display: inline-grid;
		grid-template-columns: 9.5rem 9.5rem;
	}
	.btn_gnav{
		padding: 15px 0 30px;
	}
	.btn_gnav::before{
		inset: auto 0 12px;
		margin: 0 auto;
	}
	.btn_gnav::after{
		position: absolute;
		margin: 0 auto;
	}

	/* Header */
	header,
	nav > .layout{
		height: auto !important;
		padding-right: 0;
	}
	nav > .layout{
		display: flex;
		align-items: center;
		position: static;
	}
	.gnav{
		display: flex;
		align-items: center;
		justify-content: end;
		width: 100%;
		padding: 0 20px 0 0;
		gap: 0;
	}
	.gnav_tel{
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		justify-content: end;
		position: static;
		gap: 10px;
		background: transparent;
		color: var(--color-text);
	}
	.gnav_tel a{
		color: var(--color-text);
	}
	.gnav_tel a::before{
		background: url(../../images/icon_tel_bk.svg) center / contain no-repeat;
	}
	.logo_wrap{
		width: auto;
	}
	.logo img{
		width: auto;
	}

	/* Main visual */
	.mv{
		padding-top: 0;
	}
	.mv_ttl{
		margin-top: 5px;
		font-size: 3.6rem;
		text-align: left;
	}
	.mv_txt{
		padding-bottom: 30px;
	}
	.mv_point_wrap{
		margin-top: 0;
	}
	.mv_point li{
		padding: 20px;
	}
	.mv_point,
	.mv .btn_area{
		justify-content: start;
	}
	.mv_label_wrap{
		text-align: left;
	}
	.mv .btn_area{
		margin-top: 0;
	}

	/* Main content */
	.media{
		flex-direction: row;
		justify-content: center;
	}
	.sec_ttl{
		margin-top: 120px;
		font-size: 3.6rem;
	}
	.u-bg-primary-pale + section .sec_ttl{
		margin-top: 100px;
	}
	.sec_ttl + .txt_area{
		text-align: center;
	}
	.balloon + .balloon{
		margin-top: 0;
	}

	/* Problems */
	.problem .sec_ttl{
		padding-top: 80px;
	}
	.list_problem{
		display: grid;
		grid-template-columns: 1fr 1fr;
	}
	.list_problem .media{
		position: relative;
		max-width: 350px;
		z-index: 10;
	}
	.list_problem li:nth-child(even){
		top: 20px;
	}
	.list_problem li:nth-child(-n + 2){
		left: 10px;
	}
	.list_problem li:nth-child(n + 3){
		right: 10px;
	}
	.list_problem figure{
		width: auto;
	}

	/* Solution */
	.sec_arrow{
		padding-top: 170px;
	}
	.solution{
		padding-bottom: 60px;
	}

	/* Numbered flow */
	.list_flow_num{
		display: inline-block;
		padding-top: 0;
	}
	.list_flow_num li{
		display: flex;
		align-items: baseline;
		padding: 0;
		font-size: 2rem;
	}
	.list_flow_num li:not(:last-child)::after{
		font-size: 3rem;
	}
	.list_flow_num li::before{
		position: static;
		margin-right: 3em;
		font-size: 3rem;
	}
	.list_flow_num li img{
		position: static;
	}
	.list_flow_num figure{
		display: grid;
		place-content: center;
		position: absolute;
		inset: 0 auto auto 8rem;
		width: 6rem;
		height: 6rem;
	}

	/* Cards */
	.card > a{
		transition: opacity .2s;
	}
	.card > a:hover{
		opacity: .7;
	}

	/* Contact */
	.contact{
		padding: 80px 0;
		margin-top: 0;
	}
	.contact.u-bg-accent-light{
		margin-top: 100px;
	}
	.contact .btn_area{
		margin-top: 20px;
	}

	/* Banner */

	/* Utility */
	.u-ta-c.is-pc{
		text-align: center;
	}
	br.is-sp{
		display: none;
	}
	br.is-pc{
		display: block;
	}
}
