@charset "utf-8";

/* ******************************************
	General
****************************************** */


/* *******************
	top_slider
******************* */
#top_slider {
	padding: 0;
}
#top_slider section {
	position: relative;
	width: 100%;
	max-width: unset;

	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
}
#top_slider section:nth-child(1) picture {
	aspect-ratio: 16/7;
	border-bottom: 10px solid #000;
	background-color: #000;
}
#top_slider section:nth-child(2) picture {
	aspect-ratio: 17/6;
}
#top_slider section picture img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
#top_slider section:nth-child(1) picture img {
	opacity: 0.7;
}
#top_slider section h2 {
	position: absolute;
	width: 100%;
	margin: 0 auto 45px;
	letter-spacing: normal;
	color: #fff;
}
#top_slider section h2.vertical {
	width: unset;
	font-family: serif;
	line-height: 1.8em;
	margin-bottom: 0;
	text-align: left;
}


/* #top_slider .slider {
	width: 100%;
	height: auto;
	line-height: 0.1em;
}
#top_slider .slider img {
	width: 100%;
}
#top_slider .screen {
	position: absolute;
	width: 100%;
	height: 100%;
	left: 0;
	top: 0;
	background-color: rgba(0,0,0,.3);
	mix-blend-mode: multiply;
}

#top_slider .top_logo {
	position: absolute;
	left: 80px;
	top: 80px;
}
#top_slider .top_logo img {
	position: absolute;
	width: 60px;
	bottom: -50px;
} */

@media screen and (max-width:768px) {
	#top_slider section h2 {
		font-size: min(4.5vw,48px);
	}
}
@media screen and (max-width:600px) {
	#top_slider section:nth-child(1) picture {
		aspect-ratio: 1/1;
	}
	#top_slider section:nth-child(2) picture {
		aspect-ratio: 2/1;
	}
	#top_slider section h2 {
		font-size: min(6vw,48px);
	}
}
@media screen and (max-width:450px) {
}


/* *******************
	about
******************* */
#about {}
#about section {
	padding-top: 45px;
	position: relative;
}
#about .ty {
	width: 47%;
	padding: 50px 0;
	display: flex;
	flex-wrap: wrap;
	justify-content: right;

	background-image: url(../img/home/about_toyama.png);
	background-position: left center;
	background-repeat: no-repeat;
	background-size: contain;
}
#about .ty h3 {
	text-align: left;
	line-height: 1.3em;
	letter-spacing: normal;
	width: 70%;
}
#about .ty p {
	text-align: left;
	width: 70%;
}

#about .three {
	width: calc(95% - 74px);
	margin: 20px auto 0;
	padding: 100px 25px 60px;
	background: #213f98;
	border: 12px solid #ea7827;
	border-image: linear-gradient(0.25turn, #ea7827 0%, #fff 50%, #ea7827 100%) 2;
}
#about .three h3 {
	font-size: 50px;
	margin-bottom: 50px;
	color: #fff;
	line-height: 1.2em;
}
#about .three ul {
	padding: 0;
	margin: 0 auto;
	list-style: none;

	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: flex-start;
}
#about .three ul li {
	padding: 0;
	margin: 0;
	width: 32%;
	aspect-ratio: 1/1;
	border-radius: 50%;
	background: linear-gradient(0.25turn, #ea7827, #fff, #ea7827);
	position: relative;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	z-index: 100;
}
#about .three ul li::before {
	content: '';
	width: calc(100% - 24px);
	aspect-ratio: 1/1;
	border-radius: 50%;
	background-color: #fff;
	position: absolute;
}
#about .three ul li picture {
	width: 28%;
	max-width: 125px;
	margin-top: 15px;
	z-index: 101;
}
#about .three ul li p {
	color: #213f98;
	font-size: 20px;
	font-weight: bold;
	width: 90%;
	z-index: 101;
}
#about .three ul li h4 {
	color: #213f98;
	font-size: 40px;
	line-height: 1.2em;
	z-index: 101;
	margin-bottom: 25px;
}
#about .three ul li h4 span {
	display: block;
	color: #919dc6;
	font-size: 30px;
	line-height: 1em;
}

#about .about_p {
	position: absolute;
	top: 60px;
	right: 0;
	width: 50%;
}

@media screen and (max-width:1024px) {
	#about .three ul li {
		width: 48%;
		margin: 0 auto;
	}
}
@media screen and (max-width:768px) {
	#about section {
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
	}
	#about .ty {
		width: 100%;
		order: 1;
	}
	#about .three {
		width: calc(100% - 74px);
		order: 3;
	}
	#about .three h3 {
		font-size: min(10vw,50px);
		margin-bottom: 30px;
	}
	#about .three ul li p {
		font-size: 16px;
		line-height: 1.2em;
	}
	#about .three ul li h4 {
		font-size: min(7vw,40px);
		margin-bottom: 15px;
	}
	#about .three ul li h4 span {
		font-size: min(5vw,30px);
	}
	#about .about_p {
		position: relative;
		top: unset;
		right: unset;
		width: 100%;
		order: 2;
	}
}
@media screen and (max-width:600px) {
	#about .three ul li {
		width: 100%;
		max-width: 400px;
		margin-bottom: 20px;
	}
}
@media screen and (max-width:450px) {
	#about section {
		padding-top: 0;
	}
	#about .ty {
		text-align: center;
	}
	#about .ty h3 {
		width: 90%;
	}
	#about .ty p {
		width: 90%;
	}
}


/* *******************
	outline
******************* */
#outline {}
#outline dl {
	padding: 0;
	margin: 0;
	text-align: left;
	border: 3px solid #213f98;
	border-bottom: unset;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: stretch;
	font-size: 24px;
	line-height: 1.45em;
}
#outline dl dt {
	padding: 15px;
	margin: 0;
	width: 120px;
	background-color: #d3d9ea;
	border-bottom: 3px solid #213f98;
}
#outline dl dd {
	padding: 15px;
	margin: 0;
	width: calc(100% - 180px);
	border-bottom: 3px solid #213f98;
}

@media screen and (max-width:768px) {
}
@media screen and (max-width:600px) {
	#outline dl {
		border: 3px solid #213f98;
		border-bottom: unset;
		font-size: 24px;
	}
	#outline dl dt {
		padding: 8px;
		width: calc(100% - 16px);
		border-bottom: unset;
	}
	#outline dl dd {
		padding: 8px;
		width: calc(100% - 16px);
	}
}
@media screen and (max-width:450px) {
}




/* *******************
	works
******************* */
#works {
	background-color: #ecebe8;
}
#works h2 {
	margin-bottom: 100px;
}
#works p {
	font-weight: bold;
	line-height: 1.7em;
	margin-top: 30px;
}
#works section:nth-child(2) {
	background-color: #fff;
	border: 12px solid #ea7827;
	padding: 30px 60px 10px;
	margin-top: 30px;
	width: calc(90% - 144px);
	position: relative;
}
#works ul {
	padding: 0;
	margin: 0 auto 200px;
	list-style: none;

	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
}
#works ul li {
	padding: 0;
	margin: 0;
	margin-bottom: 25px;
	width: 25%;
	position: relative;
	box-shadow: 7px 7px 0px rgba(33,63,152,0.63);

	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
}
#works ul li:nth-child(5) {
	width: 50%;
}
#works ul li picture {
	aspect-ratio: 1/1;
	background-color: #000;
	overflow: hidden;
}
#works ul li:nth-child(5) picture {
	aspect-ratio: 3/1;
}
#works ul li picture img {
	opacity: 0.8;
	width: 100%;
	height: 100%;
	object-fit: cover;
	line-height: 0.1em;
}
#works ul li h4 {
	position: absolute;
	color: #fff;
	font-size: min(2.5vw,28px);
}
#works ul li p {
	font-size: 18px;
	margin: 0;
	padding: 10px;
	background-color: #ccc;
}
#works ul li:nth-child(2) p {
	background-color: #fff;
	}
#works section:nth-child(2) h3 {
	background-color: #ea7827;
	width: 35%;
	aspect-ratio: 5/2;
	font-size: min(3.2vw,38px);
	color: #fff;
	line-height: 1.1em;
	box-shadow: 7px 7px 0px #213f98;
	position: absolute;
	bottom: -20px;
	right: -35px;

	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	transform: rotate(-9deg);
}
#works section:nth-child(2) h3 span {
	transform: rotate(9deg);
}


@media screen and (max-width:1024px) {
}
@media screen and (max-width:768px) {
	#works section:nth-child(2) {
		padding: 30px 30px 10px;
		width: calc(90% - 84px);
	}
	#works section:nth-child(2) h3 {
		bottom: -50px;
	}
}
@media screen and (max-width:600px) {
	#works ul li {
		width: 50%;
	}
	#works ul li:nth-child(5) {
		width: 100%;
	}
	#works ul li h4 {
		font-size: min(5vw,28px);
	}
	#works section:nth-child(2) h3 {
		font-size: min(5vw,38px);
		width: 50%;
	}
}
@media screen and (max-width:450px) {
}




/* ******************************************
	flow
****************************************** */
#flow {}

#flow section.flex {
	margin: 80px auto 35px;
}
#flow section.flex .item {
	width: 40%;
	text-align: left;
}
#flow section.flex .item h3 {
	font-size: 20px;
	text-align: left;
}
#flow section.flex .item p {
	font-weight: bold;
}
#flow section.flex picture {
	width: 50%;
}

#flow section:nth-child(3) {
	width: calc(95% - 101px);
	border: 2px solid #000;
	border-radius: 20px;
	box-shadow: 7px 7px 0px #000;
	padding: 30px 45px;
	text-align: center;
}
#flow section:nth-child(3) h3 {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	position: relative;
	margin-bottom: 45px;
}
#flow section:nth-child(3) h3::after {
	content: '';
	display: inline-block;
	width: 40px;
	height: 4px;
	border-radius: 2px;
	background-color: #213f98;
	position: absolute;
	bottom: -10px;
}
#flow .wrap {
	width: 100%;
}
#flow ul {
	width: unset;
	padding: 0;
	margin: 0 auto;
	list-style: none;
	position: relative;

	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: flex-start;
}
#flow ul::after {
	content: '無料';
	display: inline-block;
	width: 286px;
	height: 25px;
	/* background-color: #213f98; */
	background: linear-gradient(0.25turn, #213f98, #919dc6, #213f98);
	color: #fff;
	text-align: center;
	position: absolute;
	left: 0;
	top: 190px;
}

#flow ul li {
	width: 52px;
	padding: 0;
	/* padding-right: 65px; */
	margin: 0 0 60px;
	margin-right: 65px;
	text-align: center;
	position: relative;
}
#flow ul li::after {
	content: '';
	display: inline-block;
	width: 65px;
	height: 2px;
	border-top: 2px dotted #ea7827;
	position: absolute;
	left: 52px;
	top: 25px;
	z-index: -1;
}
#flow ul li:last-child {
	margin-right: 0;
	/* padding-right: 0; */
}
#flow ul li:last-child::after {
	content: none;
}
#flow ul li span {
  color: #fff;
	background-color: #213f98;
	width: 100%;
	aspect-ratio: 1/1;
	border-radius: 50%;
  font-size: 16px;
	line-height: 1em;
	margin-bottom: 25px;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-content: center
}
#flow ul li span small {
  font-size: 12px;
	width: 100%;
	line-height: 1em;
	margin-top: 5px;
}
#flow ul li picture {
	width: 80%;
	margin: 0 auto;
	aspect-ratio: 2/3;
  margin-bottom: 12px;
	overflow: visible;
}
#flow ul li picture img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}
#flow ul li p {
	font-size: 14px;
	line-height: 1.1em;
	font-weight: bold;
}

@media screen and (max-width:768px) {
}
@media screen and (max-width:600px) {
	#flow section:nth-child(3) {
		width: calc(95% - 50px);
		padding: 20px;
	}
	#flow ul::after {
		width: 216px;
	}
	#flow ul li {
		margin-right: 30px;
	}
	#flow ul li::after {
		width: 30px;
	}
}
@media screen and (max-width:400px) {
	#flow section.flex .item {
		width: 100%;
		margin-bottom: 20px;
	}
	#flow section.flex picture {
		width: 100%;
	}
}



/* *******************
	faq
******************* */
#faq {
	background-color: #ecebe8;
}
#faq h2 {
	margin-bottom: 100px;
}
#faq details {
	margin-bottom: 20px;
	background-color: #abb4ce;
	border-radius: 5px;
}
#faq details summary {
	display: flex;
	justify-content: space-between;
	align-items: center;
	position: relative;
	padding: 1em 2em;
	color: #213f98;
	font-weight: 600;
	cursor: pointer;
}
#faq details summary::-webkit-details-marker {
	display: none;
}
#faq details summary::after {
	transform: translateY(-25%) rotate(45deg);
	width: 7px;
	height: 7px;
	margin-left: 10px;
	border-bottom: 3px solid #213f98;
	border-right: 3px solid #213f98;
	content: '';
	transition: transform .3s;
}
#faq details[open] summary::after {
	transform: rotate(225deg);
}
#faq details p {
	transform: translateY(-10px);
	opacity: 0;
	margin: 0;
	padding: 1.5em 2em;
	border-radius: 0 0 5px 5px;
	color: #000;
	background-color: #fff;
	text-align: left;
	transition: transform .5s, opacity .5s;
}
#faq details[open] p {
	transform: none;
	opacity: 1;
}

@media screen and (max-width:768px) {
}
@media screen and (max-width:600px) {
}



/* *******************
	orangehome
******************* */
#orangehome {}
#orangehome section {
	border: 4px dashed #ea7827;
	padding: 50px;
	width: calc(90% - 100px);
}
#orangehome h2 {
	color: #ea7827;
	text-align: left;
}
#orangehome h2 span {
	color: #fff;
	text-shadow:1px 1px 0 #ea7827,-1px 1px 0 #ea7827,1px -1px 0 #ea7827,-1px -1px 0 #ea7827;
}
#orangehome h3 {
	text-align: left;
	color: #ea7827;margin-bottom: 0;
}
#orangehome .flex {
	align-items: flex-end;
}
#orangehome picture {
	margin: 0;
	width: 47%;
}
.btn_or {
	width: 47%;
}
.btn_or a {
	display: block;
	color: #fff;
	font-weight: bold;
	font-size: 27px;
	text-align: center;
	background-color: #ea7827;
	outline-offset: -5px;
	outline: 2px solid #fff;
	padding: 30px 0;
	position: relative;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
}
.btn_or a::after {
	content: '';
	display: inline-block;
	width: 10px;
	height: 10px;
	border-right: 2px solid #fff;
	border-bottom: 2px solid #fff;
	transform: rotate(-45deg);
	position: absolute;
	right: 40px;
}
.btn_or a:hover {
	color: #ea7827;
	background-color: #fff;
	outline: 2px solid #ea7827;
}
.btn_or a::after:hover {
	border-right: 2px solid #ea7827;
	border-bottom: 2px solid #ea7827;
}

@media screen and (max-width:1024px) {
	#orangehome .flex {
		display: block;
	}
	.btn_or {
		width: 100%;
		text-align: center;
	}
	.btn_or a {
		margin: 35px auto 0;
		max-width: 350px;
	}
}
@media screen and (max-width:600px) {
	#orangehome section {
		padding: 30px 20px;
		width: calc(95% - 40px);
	}
	#orangehome picture {
		margin: 0;
		width: 100%;
	}
}



/* *******************
	contact,mw_wp_form mw_wp_form_input
******************* */
#contact,
.mw_wp_form {}
#contact p,
.mw_wp_form p {
	text-align: left;
}
#contact dl,
.mw_wp_form dl {
	padding: 0;
	margin: 35px auto;
	text-align: left;
	border-right: 1px solid #ffd9a6;
	border-top: 1px solid #ffd9a6;

	display: flex;
	flex-wrap: wrap;
	justify-content: flex-start;
	align-items: stretch;
}
#contact dl dt,
.mw_wp_form dl dt {
	padding: 15px;
	margin: 0;
	width: 220px;
	background-color: #fff2de;
	border-left: 1px solid #ffd9a6;
	border-bottom: 1px solid #ffd9a6;
}
#contact dl dt i,
.mw_wp_form dl dt i {
	display: inline-block;
	padding-left: 10px;
	color: #f00;
}
#contact dl dd,
.mw_wp_form dl dd {
	padding: 15px;
	margin: 0;
	width: calc(100% - 286px);
	border-left: 1px solid #ffd9a6;
	border-bottom: 1px solid #ffd9a6;
}
#contact dl dd input[type='text'],
#contact dl dd input[type='email'],
#contact dl dd textarea,
.mw_wp_form dl dd input[type='text'],
.mw_wp_form dl dd input[type='email'],
.mw_wp_form dl dd textarea {
	font-size: 16px;
	padding: 8px;
	width: calc(100% - 18px);
	border-radius: 5px;
	border: 1px solid #ddd;
}
#contact dl dd input[name="電話番号[data][0]"],
#contact dl dd input[name="電話番号[data][1]"],
#contact dl dd input[name="電話番号[data][2]"],
.mw_wp_form dl dd input[name="電話番号[data][0]"],
.mw_wp_form dl dd input[name="電話番号[data][1]"],
.mw_wp_form dl dd input[name="電話番号[data][2]"]{
	font-size: 16px;
	padding: 8px;
	width: calc(28% - 18px);
	border-radius: 5px;
	border: 1px solid #ddd;
}
input[type="checkbox"] {
	border: 1px solid #ddd;
}
input[type='submit'] {
	background-color: #000;
	color: #fff;
	border: unset;
	border-radius: unset;
	padding: 12px 30px;
	margin: 0 auto
}

#contact_form {
	padding-top: 85px;
}
#contact_form h2 {
	font-size: 38px;
}

@media screen and (max-width:600px) {
	#contact dl dt,
	.mw_wp_form dl dt {
		padding: 10px;
		width: calc(100% - 22px);
	}
	#contact dl dd,
	.mw_wp_form dl dd {
		padding: 10px;
		width: calc(100% - 22px);
	}

	#contact_form {
		padding-top: 65px;
	}
}


.list-box {
	max-width: 700px;
	margin: 20px auto;
	
	}
	.list-box li {
		margin: 0 0 10px;
		text-align: left;
		font-size: 18px;
		font-weight: bold;
		}

.flex-box {
	display: flex;
	flex-wrap: wrap;
	}
	.flex-box div {
		width: 50%;
		}
@media screen and (max-width:600px) {
	.flex-box div {
		width: 100%;
		}
}