@charset "utf-8";
/* CSS Document */

:root {
    --primary-color:#E73656; /* オレンジ系 (画像参考) */
    --secondary-color: #007bff; /* 青系 (画像参考) */
    --text-color: #333;
    --background-color: #fff;
    --light-gray: #f4f4f4;
    --dark-gray: #555;
    --container-width: 1100px;
    --border-radius: 5px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
	font-family: "Noto Sans JP", sans-serif;
	font-optical-sizing: auto;
	font-style: normal;
    /*color: var(--text-color);*/
    background-color: var(--background-color);
	color: #292929;
}
ul, li {
	list-style: none;
	margin: 0;
	padding: 0;
}
a {
	text-decoration: none;
}
a:hover {
	/*opacity: .7;*/
}
img {
	width: 100%;
	vertical-align: bottom;
}

.inner {
	max-width: 1200px;
	min-width: 1024px;
	width: 100%;
	margin: 0 auto;
}
.flexBox {
	display: flex;
	flex-wrap: wrap;
}

h2.ttl {
	font-size: 3rem;
	color: #221815;
	letter-spacing: 0.05rem;
	padding-top: 50px;
	text-align: center;
}

/** header
----------------------------------------------------------------------------**/
header {
	padding: 10px 6%;
}
header > .flexBox {
	justify-content: space-between;
	align-items: center;
}
header .logo {
	width: 15%;
}
.headNav > li {
	margin-right: 25px;
}
.headNav > li:last-child {
	margin-right: 0;
}
.headNav a {
	font-size: 18px;
	color: #292929;
}
.headNav > li:nth-child(3) > a {
	color: #E73656;
	font-weight: bold;
	border: #E73656 solid 2px;
	padding: 7px 25px;
	border-radius: 5px;
}
.headNav > li:last-child > a {
	background: #E73656;
	color: #fff;
	padding: 7px 25px;
	border-radius: 5px;
}
#js-header.is-show {
	position: fixed;
	width: 100vw;
	background: #fff;
	top: 0;
	left: 0;
	z-index: 2;
}
/** hamburger　menu
----------------------------------------------------------------------------**/
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 22px;
}
.hamburger span {
  display: block;
  height: 3px;
  background: #292929;
  border-radius: 2px;
}

/** main
----------------------------------------------------------------------------**/
#main {
}
.fv {
	position: relative;
	margin-top: 5px;
	background: url("../images/bg_gray.jpg");
	background-size: cover;
	background-position-x: -180px;
}
.fv > .inner {
	max-width: inherit;
	min-width: inherit;
	margin: 0 auto;
	margin-left: 10%;
}
.fv > .flexBox {
	justify-content: space-between;
	/*align-items: center;*/

}

.fv_txt {
	margin-top: 5px;
	text-align: center;
}
.fv_txt > p {
	/*font-size: 3.4rem;*/
	font-size: 1.2rem;
	font-weight: bold;
	text-align: left;
	margin-bottom: 2rem;
}
.fv_txt > img {
	width: 70%;
}
.fv_txt > p:last-of-type {
	font-size: 1.2rem;
	text-align: center;
	border-top: #221815 solid 2px;
	border-bottom: #221815 solid 2px;
	padding: 1rem;
	margin-top: 2rem;
}

.flexBox {
  display: flex;
  align-items: center; /* 縦位置調整（任意） */
  justify-content: space-between;
  flex-wrap: wrap; /* スマホ対応も意識する場合 */
}

.fv_txt {
  padding: 20px;
  width: 40%;
}

.fv_img {
	width: 60%;
  position: relative;
  height: 57vh;
  min-width: 300px;
  overflow: hidden;
}

.fv_img .fade-img {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 2s ease-in-out;
  object-fit: cover;
  object-position:left
}

.fv_img .fade-img.show {
  opacity: 1;
}

.fv_txt > span {
	display: block;
	margin-top: 35px;
	font-size: 22px;
	font-weight: bold;
}
.fv_txt > span ruby {
	font-size: 1rem;
	margin: 0 10px;
}
a.btn_fv {
	display: block;
	width: 65%;
	background: #E73656;
	color: #fff;
	text-align: center;
	padding: 15px 0;
	font-size: 1.6rem;
	font-weight: bold;
	margin: 5px auto 0;
	border-bottom: 4px solid #A92D44;
	border-radius: 5px;
	position: relative;
	top: 0;
}
a.btn_fv:hover {
	top: 4px;
	border-bottom: none;
}
/** infinity-scroll
---------------------------------------------**/
.scroll-infinity > h2{
font-size: 2.5rem;
}

.scroll-infinity > h2 > b{
	color: #e73656;
}
@keyframes infinity-scroll-left {
from {
  transform: translateX(0);
}
  to {
  transform: translateX(-100%);
}
}
.scroll-infinity__wrap {
  display: flex;
  overflow: hidden;
}
.scroll-infinity__list {
  display: flex;
  list-style: none;
  padding: 0;
  align-items: center;
}
.scroll-infinity__list--left {
  animation: infinity-scroll-left 80s infinite linear 0.5s both;
}
.scroll-infinity__item {
  width: calc(100vw / 9);
	margin: 0 25px;
}
.scroll-infinity__item>img {
  width: 100%;
}
/** nayami
---------------------------------------------**/
#nayami {
	padding-bottom: 5rem;
	background-color: #FFF2F5;
	position: relative;
}
#nayami:after {
	content: "";
	width: 0;
	height: 0;
	border-left: 50px solid transparent;
	border-right: 50px solid transparent;
	border-top: 50px solid #FFF2F5;
	position: absolute;
	left: 50%;
	bottom: -45px;
	transform: translate(-50%, 0%);
}
#nayami h2 {

}
#nayami .flexBox {
	justify-content: space-between;
	align-items: flex-start;
	margin-top: 4.5rem;
	opacity: 0;
}
#nayami .flexBox > li {
	width: 30%;
}
#nayami .flexBox > li > img {
	display: block;
	width: 85%;
	margin: 0 auto;
}
#nayami .flexBox > li > p:first-of-type {
	margin: 20px auto;
	text-align: center;
	font-size: 24px;
	font-weight: bold;
	line-height: 1.7;
}
#nayami .flexBox > li > p:last-of-type {
	font-size: 18px;
	line-height: 1.7;
}
#nayami .flexBox > li > p:last-of-type > b{
	color: #e73656;
	font-size: 1.2em;
}
/** solution
---------------------------------------------**/
#solution {
	padding: 5rem 0;
}

#solution h2 {
	font-size: 2.5rem;
}
/** reason
---------------------------------------------**/
#reason {
	background-color: #E73656;
	padding-bottom: 3rem;
	padding-top:80px;
}

#reason  h2{
	color: #ffffff;
}
#reason .flexBox {
	justify-content: center;
	align-items: flex-start;
	margin-top: 4.5rem;
	opacity: 0;
	gap: 3%;
}
#reason .flexBox > li {
	width: 25%;
	background-color: #ffffff;
	margin-bottom: 3%;
	padding: 3%;
}
#reason .flexBox > li > a {
	color: #221815;
}
#reason .flexBox > li > a >img {
	display: block;
	width: 50%;
	margin: auto;
}
#reason .flexBox > li > a > p {
	margin-top: 20px;
	text-align: center;
	font-size: 18px;
	font-weight: bold;
	line-height: 1.7;
}
/** reason_detail
---------------------------------------------**/
#reason_detail {
	padding-bottom: 5rem;
	background: url("../images/bg_gray.jpg");
	background-size: cover;
	padding-top: 5rem;
}
.detail {
}
.detail > ul {
	background-color: #ffffff;
	padding: 3%;
}
.detail > .flexBox {
	justify-content: space-between;
	align-items: center;
	margin-bottom: 30px;
	opacity: 0;
}
.detail > .flexBox:last-of-type {
	margin-bottom: 0;
}

.detail > .flexBox > li:first-child {
	width: 40%;
}
.detail > .flexBox > li:last-child {
	width: 55%;
}
.detail > .flexBox > li > .flexBox {
	justify-content: left;
	gap:5%;
	align-items:center;
}
.detail > .flexBox > li > div > b {
	color: #E73656;
	font-size: 5rem;
	font-weight: normal;
	font-family: 'Impact',sans-serif;
	margin-left: 15px;
}

.detail > .flexBox > li > div > p{
	font-size: 2rem;
	font-weight: bold;
	line-height: 1.6;
}
.detail > .flexBox > li > p {
	font-size: 18px;
	line-height: 2;
}
.detail > .flexBox > li > p > b{
	color: #E73656;
}

.inview {
	animation-name: fade-in;
	animation-duration: .5s;
	animation-timing-function: ease-in-out;
	animation-delay: .3s;
	animation-iteration-count: 1;
	animation-direction: normal;
	animation-fill-mode: forwards;
}
@keyframes fade-in {
  0% {
    transform: translateY(100px);
  }
  100% {
    transform: translateY(0px);
    opacity: 1;
  }
}
/** company
---------------------------------------------**/
#company{
	padding: 130px 0;
	background: url("../images/performance_bg.png");
	background-size: cover;
}

#company h2{
font-size: 2.5rem;
margin-bottom: 50px;
padding-top: 0;
}
#company h2 > b{
color: #E73656;
}
/*#company ul{
	background-color: #ffffff;
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	grid-auto-rows: 100px;
	gap: 30px;
	justify-items: center;
	align-items: center;
	 padding: 30px 50px;

}*/
#company ul{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    background: #FFF;
    padding: 30px 0;
}

/*#company ul > li{
	  max-width: 100%;
	  max-height: 100%;
	  object-fit: contain; 
}*/
#company ul > li{
    width: 15%;
    display: block;
    padding: 0 30px;
    margin-bottom: 10px;
}


/** contact
---------------------------------------------**/
#contact {
	/*padding: 5rem 0;*/
}
.contact_ttl {
	background: #E73656;
	color: #fff;
	text-align: center;
	font-size: 48px;
	font-weight: bold;
	padding: 5rem 0;
	position: relative;
	padding-top: 150px;
}
.contact_ttl > span {
	display: block;
	font-size: 30px;
	font-weight: normal;
	padding-top: 20px;
}
.contact_ttl:after {
	content: "";
	width: 0;
	height: 0;
	border-left: 50px solid transparent;
	border-right: 50px solid transparent;
	border-top: 50px solid #E73656;
	position: absolute;
	left: 50%;
	bottom: -45px;
	transform: translate(-50%, 0%);
}
#contact h4 {
	text-align: center;
	font-size: 36px;
	font-weight: bold;
	margin-top: 5rem;
}
#contact h4 > span {
	display: block;
	font-size: 22px;
	font-weight: normal;
	padding-top: 15px;
}

#explanation {
	justify-content: space-between;
    align-items: flex-start;
    margin: 5rem auto 30px;
	padding: 20px;
    border: solid 1.5px gray;
}

#explanation + p{
	font-size: 1.3vw;
	font-weight: bold;
	color: #E73656;
	text-align: center;
	}

#explanation #form_txt {
    width: 55%;
}
#explanation #form_txt p {
    line-height: 1.6;
    margin-bottom: 10px;
	font-size: 24px;
}
#explanation #form_txt > p:first-of-type {
    margin-bottom: 25px;
	color: #ffffff;
	background-color: #E73656;
	text-align: center;
	font-weight: bold;
}
#explanation #form_txt > p:last-of-type > b {
    background: linear-gradient(transparent 60%, #e6e230 50%);
}
#explanation #form_txt > ul > li {
	font-size: 22px;
	line-height: 2rem;
}
#explanation #form_txt > ul > li  > ruby{
	font-size: 18px;
}

#explanation #form_img {
    display: inline-block;
    width: 40%;
    font-size: 14px;
}

footer {
    padding: 10px 0;
}
footer p {
    font-size: 15px;
    text-align: center;
}


/** TAB
---------------------------------------------**/
@media (max-width: 1024px) and (min-width: 768px) {
	#wrapper {
		width: 100%;
		height: auto;
		margin: 0 auto;
		overflow: hidden;
	}
	.inner {
		max-width: 94%;
		min-width: 94%;
		width: 94%;
		margin: 0 auto;
	}
	

	h2.ttl {
		font-size: 2.8vw;
		margin-top: -70px;
	}
	
	/** header
	--------------------------------------------------**/
	header {
		padding: 15px 3%;
	}
	header .logo {
		width: 20%;
	}
	header .logo > img {
		vertical-align: middle;
	}
	.headNav {
		/*width: 80%;*/
	}
	.headNav > li {
		margin-right: 15px;
	}
	.headNav a {
		font-size: 1.6vw;
	}
	.headNav > li:last-child > a {
		padding: 5px 15px;
	}
	
	/** main
	----------------------------------------------------------------------------**/
	.fv {
		background-position-x: -28rem;
	}
	.fv_txt > p {
		font-size: 1.5vw;
	}
	.fv_txt > p:last-of-type {
		font-size: 2vw;
	}
	.fv_txt > span {
		font-size: 1.7vw;
	}

	a.btn_fv {
		width: 85%;
		padding: 12px 0;
    	font-size: 2.2vw;
	}
	/** infinity-scroll
	---------------------------------------------**/
	.scroll-infinity {
		padding: 4rem 0;
	}
	.scroll-infinity__item {
		width: calc(100vw / 6);
		margin: 0 15px;
	}

	/** nsolution
	---------------------------------------------**/
	#solution h2 {
		font-size: 2.5vw;
		padding-bottom: 30px;
	}
	/** reason
	---------------------------------------------**/

	#reason .flexBox > li > a > p {
		font-size: 15px;
		line-height: 1.9;
	}
	/** reason_detail
	---------------------------------------------**/

	.detail > .flexBox > li > div > p {
		font-size: 2.5vw;
	}
	.detail > .flexBox > li > p {
		font-size: 1.85vw;
	}

	/** nayami
	---------------------------------------------**/
	#nayami .flexBox > li > p:first-of-type {
		font-size: 2.1vw;
	}
	#nayami .flexBox > li > p:last-of-type {
		font-size: 1.6vw;
		text-align: justify;
	}
	
	/** contact
	---------------------------------------------**/
	.contact_ttl {
		font-size: 4.5vw;
	}
	.contact_ttl > span {
		font-size: 2.5vw;
	}
	#contact h4 {
		font-size: 3.5vw;
	}
	#contact h4 > span {
		font-size: 2.2vw;
	}
}



/** SP
---------------------------------------------**/
@media screen and (max-width: 768px) {
	/** common
	--------------------------------------------------**/
	#wrapper {
		width: 92%;
		height: auto;
		margin: 0 auto;
		overflow: hidden;
	}
	.inner {
		max-width: 92%;
		min-width: 92%;
		width: 92%;
		margin: 0 auto;
	}

	h2.ttl {
		font-size: 5vw;
		margin-top: -20px;
	}

	
	/** header
	--------------------------------------------------**/
	header {
		padding: 10px 2%;
	}
	header .logo {
		width: 45%;
	}
	header .logo > img {
		vertical-align: middle;
	}

	.headNav > li {
		margin-right: 10px;
	}
	.headNav a {
		font-size: 3.3vw;
	}
	.headNav > li:last-child > a {
		padding: 5px 15px;
	}
	

/** hamburger　menu
----------------------------------------------------------------------------**/
/* レスポンシブ対応 */

  .headNav {
    display: none;
    flex-direction: column;
    background: #fff;
    width: 100vw;
	left: 0;
    position: absolute;
    top: 60px;
    right: auto;
    padding: 10px 0;
    z-index: 1;
  }

  .headNav.is-open {
    display: flex;
  }
.headNav li a {
  display: block;
  padding: 15px 20px;
  text-decoration: none;
}
.headNav li {
 width: 50%;
 max-width: 500px;
 text-align: center;
}
  
  .headNav li:nth-child(2) a {
  margin-bottom: 15px;
}
.headNav li:nth-child(3) a {
  margin-bottom: 30px;
}
.headNav li:nth-child(4) a {
  margin-bottom: 50px;
}
  .hamburger {
    display: flex;
    position: relative;
    z-index: 2; 
	margin-left: auto;

  }
  .hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 5px);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(8px, -5px);
}
.hamburger span {
  transition: all 0.3s ease;
}


	/** main
	----------------------------------------------------------------------------**/
	#main {
	}
	.fv {
		position: relative;
		margin-top: 5px;
		background: url("../images/bg_gray.jpg")no-repeat;
		background-position-x: 92%;
        background-size: cover;
	}
		.fv .inner{
		margin: auto;
		flex-direction: column-reverse;
		width: 100%;
	}
	.fv_txt, .fv_img {
		width: 100%;
	}
	.fv_txt {
		width: 100%;
		margin-top: 0px;
	}
	.fv_txt > p {
        font-size: 3vw;
        margin-bottom: 1rem;
        text-align: center;
	}
	
	.fv_txt > p:last-of-type {
		font-size: 3.5vw;
	}
	.fv_txt > span {
		margin-top: 15px;
		font-size: 3vw;
	}
	.fv_txt > img {
		width: 80%;
		margin: 10px 0;
	}
	.fv_img {
		display: block;
		height: 30vh;
		width: 100%;
		margin: 0 auto 5px;
		display: none;
	}

	a.btn_fv {
		width: 94%;
		padding: 15px 0;
		font-size: 5vw;
		margin: 5px auto 30px;
		border-bottom: 4px solid #a64808;
	}
	/** infinity-scroll
	---------------------------------------------**/
	.scroll-infinity {
		padding: 2rem 0;
	}
    .scroll-infinity h2{
		padding-top: 0;
	}
	.scroll-infinity__item {
		width: calc((100vw - 40px) / 4); 
		/*width: calc(100vw / 4);*/
		margin: 0 10px;
	}
	/** solution
	---------------------------------------------**/
	#solution h2 {
    font-size: 1.5rem;
}
/** nayami
	---------------------------------------------**/
	#nayami {
		padding-bottom: 5rem;
	}
	#nayami .flexBox {
		justify-content: space-between;
		align-items: flex-start;
		margin-top: 3rem;
		opacity: 0;
	}
	#nayami .flexBox > li {
		width: 100%;
		margin-bottom: 35px;
	}
	#nayami .flexBox > li:last-child {
		margin-bottom: 0;
	}
	#nayami .flexBox > li > img {
		width: 65%;
	}
	#nayami .flexBox > li > p:first-of-type {
		margin: 10px auto;
		font-size: 5.5vw;
		line-height: 1.4;
	}
	#nayami .flexBox > li > p:last-of-type {
		font-size: 4vw;
		line-height: 1.45;
		text-align: justify;
	}
	/** reason
	---------------------------------------------**/
	#reason {
		margin-bottom: 0;
	}
	#reason .flex-box{
		margin-top: 0;
	}
	#reason .flexBox > li{
		width: 45%;
	}
		#reason .flexBox > li > a > p{
    font-size: 2.5vw;
	margin-top: 15px;
	}

	/** reason_detail
	---------------------------------------------**/
	#reason_detail {
		padding-bottom: 5rem;
	}
	.detail {
		margin-top: 3rem;
	}
	.detail > .flexBox {
		justify-content: space-between;
		align-items: center;
		margin-bottom: 30px;
		opacity: 0;
	}
	.detail > .flexBox:last-of-type {
		margin-bottom: 0;
	}

	.detail > .flexBox > li:first-child {
		width: 100%;
		display: flex;
        flex-wrap: wrap;
        align-items: flex-start;
	}
	.detail > .flexBox > li:last-child {
		width: 80%;
        margin: 0 auto;
	}
	.detail > .flexBox > li > b {
		font-size: 10vw;
		font-family: 'Impact',sans-serif;
		margin-left: 0px;
		width: 10%;
	}
	.detail > .flexBox > li > div > p {
		font-size: 4vw;
		line-height: 1.5;
	}

	.detail > .flexBox > li > p:first-of-type {
		font-size: 3vw;
		margin-bottom: 20px;
		line-height: 1.7;
		width: 100%;
	}

	/** company
	---------------------------------------------**/
	#company ul li {
        width: 30%;
        padding: 0 15px;
}
	/** contact
	---------------------------------------------**/
	#contact {
		/*padding: 5rem 0;*/
	}
	.contact_ttl {
		font-size: 6vw;
		padding: 4rem 0;
		position: relative;
	}
	.contact_ttl > span {
		display: block;
		font-size: 3.8vw;
		font-weight: normal;
		padding: 15px 3% 0;
	}
	.contact_ttl:after {
		content: "";
		width: 0;
		height: 0;
		border-left: 35px solid transparent;
		border-right: 35px solid transparent;
		border-top: 35px solid #E73656;
		position: absolute;
		left: 50%;
		bottom: -33px;
		transform: translate(-50%, 0%);
	}
	#contact h4 {
		text-align: center;
		font-size: 5.5vw;
		font-weight: bold;
		margin-top: 4rem;
	}
	#contact h4 > span {
		display: block;
		font-size: 3.8vw;
		font-weight: normal;
		padding-top: 15px;
	}

	
	#explanation {
		justify-content: space-between;
		align-items: flex-start;
		margin: 3.5rem auto 30px;
	}
	#explanation + p{
	font-size: 2.3vw;
	}
	#explanation #form_txt {
		width: 100%;
	}
	#explanation #form_txt > ul > li{
		font-size: 4vw;
		line-height: 7vw;
	}
		#explanation #form_txt > ul > li > ruby{
		font-size:3vw;
	}
			#explanation #form_txt > p{
		font-size:4vw;
	}
	#explanation #form_img {
		display: inline-block;
		width: 100%;
		font-size: 14px;
		margin-top: 35px;
	}

	footer {
		padding: 10px 0;
	}
	footer p {
		font-size: 15px;
		text-align: center;
	}
}