@charset "utf-8";

/* --------------------------------
	common
-------------------------------- */
* { box-sizing: border-box }
*:focus { outline: none }

html { font-size: 10px }
@media (max-width: 1440px) {
	html { font-size: 0.694vw; }
}
@media (max-width: 768px) {
	html { font-size: 1.5vw; }
}

html {
	width: 100%;
	height: 100%;
}

body {
	display: flex;
	flex-direction: column;
	min-height: 100%;
	background-color: #fff;
	color: #333;
	font-size: 1.5rem;
	font-weight: normal;
	font-family: "Noto Sans JP", sans-serif;
	font-weight: 500;
	font-style: normal;
	letter-spacing: .1em;
	font-feature-settings: "palt";
	line-height: 1.6;
}

.delayed-image {
	/* じわっと画像が表示される */
 	animation: fadeIn 5s ease 0s 1 normal;
    -webkit-animation: fadeIn 5s ease 0s 1 normal;
}
.delayed-image2 {
	/* じわっと画像が表示される */
 	animation: fadeIn 9s ease 0s 1 normal;
    -webkit-animation: fadeIn 9s ease 0s 1 normal;
}
 
/* じわっと画像が表示される ---------　一度追加していたら不要*/
@keyframes fadeIn { /*上のbody内で呼び出しているアニメーションと名前をそろえる*/
    0% {opacity: 0} /* 始め */
    100% {opacity: 1} /* 終わり */
}
 
/*古いブラウザ用　---------　一度追加していたら不要*/
@-webkit-keyframes fadeIn {
    0% {opacity: 0}
    100% {opacity: 1}
}


main {
	flex: 1;
	width: 100%;
	background: url(../img/bg.png) repeat-y;
	background-size:cover;
}

a {
	text-decoration: underline;
	transition: opacity 0.2s ease-out;
	color: #0E98A1;
	word-break: break-all;
}

a:hover {
	transform: translateY(-10px);
	transition-duration: 0.5s;
	text-decoration: none;
}

a img {
	transition: opacity 0.2s ease-out;
}

/* a img:hover {
	opacity: 0.8;
} */

img {
	max-width: 100%;
	width: auto;
}

img[src$=".svg"] {
	width: 100%;
	height: auto;
}

button {
	margin: 0;
	padding: 0;
	background: none;
	border: none;
	border-radius: 0;
	outline: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	font-family: inherit;
	transition: opacity 0.2s ease-out;
	letter-spacing: .1em;
}

a button:hover {
	opacity: 1.0;
}

.sp {
	display: none;
}

.inner {
	margin: 0 auto;
	max-width: 1140px;
}

@media (max-width: 768px) {
	.sp {
		display: block!important;
	}

	.pc {
		display: none!important;
	}
}

.creamTxt {
	color: #E0D4B7;
}

.bold {
	font-weight: 600;
}

.mincho {
	font-family: "ヒラギノ明朝 ProN W3", "HiraMinProN-W3", "HG明朝E", "ＭＳ Ｐ明朝", "MS PMincho", "MS 明朝", serif;
}


/* --------------------------------
	header
-------------------------------- */
header {
	position: fixed;
	margin: auto;
	background: #fff;
	width: 100%;
	height: 80px;
	z-index: 100;
}
.hnav {
	display: -webkit-flex;
	display: flex;
	-webkit-justify-content: center;
	justify-content: center;
	padding: 1rem 0rem;
	height: 8rem;
	max-width: 1200px;
	margin: auto;
	justify-content:space-between;
}
.hnav a {
	text-decoration: none;
	color: #000;
}
.hnav li{
	padding: 0rem .5rem;
}
.hnav li:nth-child(1){
	width: 20rem;
}
.hnav li:nth-child(2){
	font-size: 1.2rem;
	padding-top: 1rem;
	letter-spacing: -0.1rem;
}

.h_tel_flex {
	display: -webkit-flex;
	display: flex;
	-webkit-justify-content: center;
	justify-content: center;
	padding: 1rem;
	border: #ff3d3d 2px solid;
	border-radius: 10rem;
}
.h_tel_flex img{
	width: 3rem;
}
.h_tel_flex div{
	padding: 0rem 0.2rem;
}
.h_icon_gyoda{
	background: #ff3d3d;
	color: #fff;
	padding: 0.3rem;
	font-weight: 900;
	border-radius: 0.5rem;
}
.h_tel_gyoda{
	font-size: 2rem;
	margin-top: -0.6rem;
	color:  #ff3d3d;
	font-family: 'Roboto', sans-serif;
}
.h_tel_time{
	font-size: 0.8rem;
	letter-spacing: 0rem;
	margin-top: -0.4rem;
}
.h_tel_flex2 {
	display: -webkit-flex;
	display: flex;
	-webkit-justify-content: center;
	justify-content: center;
	padding: 1rem;
	border: #42A7F0 2px solid;
	border-radius: 10rem;
}
.h_tel_flex2 img{
	width: 3rem;
}
.h_tel_flex2 div{
	padding: 0rem 0.2rem;
}
.h_tel_takasaki{
	font-size: 2rem;
	margin-top: -0.6rem;
	color:  #42A7F0;
	font-family: 'Roboto', sans-serif;
	letter-spacing: 0rem;
}
.h_icon_takasaki{
	background: #42A7F0;
	color: #fff;
	padding: 0.3rem;
	font-weight: 900;
	border-radius: 0.5rem;
}
.h_mail_flex {
	background-color: #ff3d3d;
	color: #fff;
	border-radius: 10rem;
	display: -webkit-flex;
	display: flex;
	-webkit-justify-content: center;
	justify-content: center;
	padding: 1rem;
	letter-spacing: 0rem;
}
.h_mail_flex img{
	width: 2.5rem;
}
.h_mail_flex p{
	padding-left: 1rem;
	padding-top: .5rem;
}
.h_mail_flex a {
	color: #fff;
}
@media (max-width: 768px) {
	header {
		position: relative;
		width: 100%;
		height: 50px;
		position: absolute;
	}
	.hnav {
		width: 100%;
		padding: 0.5rem 0rem;
		justify-content:flex-start;
	}
	.hnav h1{
		font-size: 2rem;
	}
	.hnav li:nth-child(1){
		width: 30rem;
	}
}
/* --------------------------------
	contents
-------------------------------- */
.mv {
	background: url(../img/mv_img.jpg) no-repeat right;
	background-size:cover;
	height: 70rem;
	font-weight: 700;
	margin-top: 80px;
}
.mv_inner {
	max-width: 1200px;
	margin: auto;
	display: -webkit-flex;
	display: flex;
	-webkit-justify-content: center;
	justify-content: space-between;
	align-items: flex-end;
	padding-top: 10rem;
}
.mv_inner img{
	width: 20rem;
}
.balloon1 {
	position: relative;
	display: inline-block;
	margin: 1em 0;
	padding: 7px 10px;
	min-width: 120px;
	max-width: 100%;
	font-size: 3rem;
	background: #fff;
	border-radius: 15px;
	box-shadow: 0px 10px 10px -6px rgba(0, 0, 0, 0.3);
  }

  .balloon1:before {
	content: "";
	position: absolute;
	top: 100%;
	left: 50%;
	margin-left: -15px;
	border: 15px solid transparent;
	border-top: 15px solid #fff;
  }
  
  .balloon1 p {
	margin: 0;
	padding: 0;
  }
  .balloon1 img {
	width: 6rem;
	padding-left: 1rem;
  }
  .mv_comment_flex {
	display: -webkit-flex;
	display: flex;
	-webkit-justify-content: center;
	justify-content: flex-start;

  }
  .mv_comment_flex div{
	background-size:contain;
	padding: 1rem;
  }
  .mv_img_flex {
	display: -webkit-flex;
	display: flex;
	-webkit-justify-content: center;
	justify-content: flex-start;
  }
  .mv_img_flex img{
	height: 130px;
	width: auto;
  }
  .mv_img_flex p{
	margin-left: -4rem;
	padding-top: 1rem;
  }
  p.mv_midashi {
	background: #ff3d3d;
	padding: 1.5rem 2rem;
	color: #fff;
	font-size: 3rem;
	max-width: 45rem;
  }
  p.mv_txt {
	display        : inline-block;
  color          : #000;            /* 文字の色 */
  font-size      : 5rem;               /* 文字のサイズ */
  text-shadow    : 
       2px  2px 1px #fff,
      -2px  2px 1px #fff,
       2px -2px 1px #fff,
      -2px -2px 1px #fff,
       2px  0px 1px #fff,
       0px  2px 1px #fff,
      -2px  0px 1px #fff,
       0px -2px 1px #fff;        /* 文字の影 */
}

@media (max-width: 768px) {
	.mv {
		background: url(../img/mv_img_sp.jpg) no-repeat right;
		background-size:cover;
		margin-top: 55px;
		padding: 1rem;
		height: 90rem;
		width: 100%;
		text-align: center;
	}
	p.mv_txt {
		font-size:3.8rem;
		padding-top: 20px;
	}
	.mv_comment_flex {
		flex-wrap :wrap;
		justify-content:center;
		width: 100%;
		padding-top: 20px;
	}
	.mv_comment_flex div{
		padding: 5px;
		width: 45%;
	}
	.mv_img_flex img{
		height: auto;
		width: 100%;
	  }
	  .mv_inner {
		display: block;
		width: 100%;
		text-align: left;
		padding-top: 100px;
	  }
	  .balloon1 {
		font-size: 2.5rem;
	  }
	  
}



/* --------------------------------
	contents 1
-------------------------------- */
.contents1{
	background: url(../img/contents1_bg.jpg);
	background-size: cover;
	padding: 2rem 0rem 10rem 0rem;
}
.contents_midashi {
	text-align: center;
	font-size: 5rem;
	font-weight: bold;
}
.contents1 h3 {
	background: #ff3d3d url(../img/contents1_icon_oukan.png) no-repeat left;
	padding: 1rem 5rem;
	color: #fff;
	font-size: 3rem;
}
.contents1 h3 img {
	height: 5rem;
	padding-left: 2rem;
}
.contents1_flex {
	display: -webkit-flex;
	display: flex;
	margin: 3rem 0rem;
}
.contents1_flex div:nth-child(1){
	width: 45%;
	text-align: center;
}
.contents1_flex div:nth-child(1) p{
	text-align: left;
	padding: 2rem;
}
.contents1_flex div:nth-child(1) span{
	font-weight: 900;
}
.contents1_flex div:nth-child(2){
	background: #fff;
	border: 2px solid #FFE500;
	padding: 2rem;
	width: 55%;
	font-size: 2rem;
	line-height: 200%;
	font-weight: 700;
}
.contents1_flex div:nth-child(2) img{
	width: 30rem;
}
.contents1_flex div:nth-child(2) span{
	font-weight: 700;
	font-size: 3rem;
	color: #ff3d3d;

}
@media (max-width: 768px) {
	.contents_midashi h2 img {
		width: 100px;
	}
	.contents1_flex {
		display: block;
	}
	.contents1_flex div:nth-child(1){
		width: 100%;
	}
	.contents1_flex div:nth-child(2){
		width: 100%;
	}
	img.carimg1 {
		width: 300px;
	}
}

/* --------------------------------
	contents 2
-------------------------------- */
.contents2{
	background: #DBF4FF;
	text-align: center;
	padding: 10rem 0rem;
}
.contents2 h3 {
	max-width: 100rem;
	margin: auto;
	position: relative;
	z-index: 1;
}
.contents2_list {
	padding: 5rem;
}
.contents2_list li{
	padding: 1rem 7rem;
	text-align: left;
	background:  url(../img/contents2_icon_check.png) no-repeat left;
	background-size: 40px 46px;
	font-size: 2.5rem;
	font-weight: 700;
}
.content2_innner {
	background: #fff;
	padding: 3rem;
	position: relative;
	z-index: 10;
}
.content2_innner h4{
	font-size: 2rem;
}
.content2_innner h4 span{
	color: #ff3d3d;
	font-size: 2.5rem;
}
.content2_innner p {
	font-size: 1.8rem;
	padding: 2rem 0rem;
}
.contents2_txt1 {
	padding-top: 2rem;
	font-size: 1.8rem;
	font-weight: 700;
}
.contents2_txt1 span{
	font-size: 2.5rem;
	color: #ff3d3d;
}
.contents2_txt2 {
	padding-top: 2rem;
	font-size: 3rem;
	font-weight: 700;
}
.contents2_txt2 span{
	background:linear-gradient(transparent 70%, #FFFF00 0%);
	font-size: 4rem;
}
.contents2_txt3 {
	padding-top: 2rem;
	font-size: 3rem;
	font-weight: 700;
}
.contents2_txt3 span{
	font-size: 4rem;
	color: #ff3d3d;
}
@media (max-width: 768px) {
	.contents2 h3 {
		width: 100%;
	}
	.contents2 h3 img{
		width: 100%;
	}
	.content2_innner img{
		width: 90%;
	}
	.contents2_list li{
		padding: 1rem 7rem;
		text-align: left;
		background:  url(../img/contents2_icon_check.png) no-repeat left;
		background-size: 28px 33px;
		font-size: 2.5rem;
		font-weight: 700;
	}
	.contents2_txt1,.contents2_txt2 {
		padding: 2rem;
	}
}

/* --------------------------------
	contents 3
-------------------------------- */
.contents3{
	background: url(../img/contents3_bg.jpg);
	background-size: cover;
	padding: 2rem 0rem 10rem 0rem;
}
.contents3 .inner{
	text-align: center;
}
.contents3 h3 {
	max-width: 100rem;
	margin: auto;
	position: relative;
	z-index: 1;
}
/* 吹き出し本体 */
.balloon{
	position: relative;
	padding: 20px;
	background-color: #ff3d3d;
	display: inline-block;     /* 横幅を自動で変更 */
	border-radius: 2rem;
	font-size: 4rem;
	color: #fff;
	margin: auto;
	font-weight: bold;
	margin-top: 7rem;
	min-width: 80%;
  }
  
  /* アイコンを下に表示 */
.balloon::before{
	content: '';
	position: absolute;
	display: block;
	width: 0;
	height: 0;
	left: 30px;
	bottom: -15px;
	border-top: 20px solid #ff3d3d;
	border-right: 20px solid transparent;
	border-left: 20px solid transparent;
  }
  
.contents3_midashitxt {
	margin-top: 3rem;
	font-size: 4rem;
	font-weight: bold;
	margin-bottom: 5rem;
}
.content3_innner {
	background: #fff;
	padding: 3rem;
	position: relative;
	z-index: 10;
}
.content3_innner h4{
	font-size: 3rem;
	margin-top: 5rem;
}

.contents3 table{
	border-collapse: collapse;
	border-spacing: 0;
	table-layout: fixed;
	width: 100%;
	margin: auto;
	margin-top: 3rem;
	margin-bottom: 3rem;
  }
  
  .contents3 table tr:last-child{
	border-bottom:solid 1px #ddd;
  }
  
  .contents3 table th{
	text-align: center;
	padding: 10px 0;
	border-right:solid 1px #ddd;
	border-left:solid 1px #ddd;
	border-bottom: solid 1px #ddd;
	width: 16.6%;
  }
  
  .contents3 table th{
	background-color:rgb(233, 233, 233);
  }
  
  .contents3 table td{
	text-align: center;
	padding: 1rem;
	border-right:solid 1px #ddd;
	border-left:solid 1px #ddd;
	border-bottom: solid 1px #ddd;
	width: 16.6%;
  }
  
  .contents3 table td a{
	background-color: #25b327;
	color: white;
	padding:5px 20px;
	border-radius: 30px;
	font-weight: bold;
  }
  
  .contents3 table .popular{
	color: #ff3d3d;
	background: #fff8bc;
  }
  .contents3 .tb_midashi {
	background-color:rgb(233, 233, 233);
  }
  
  .contents3 table th.popular{
	position: relative;
  }
  
  .contents3 table th.popular span.no1{
	position: absolute;
	top: -10px;
	left:calc(50% - 30px);
	background: #1B71D6;
	width: 60px;
	font-size: 10px;
	border-radius: 15px;
	line-height: 1;
	padding: 5px;
  }
  
  .contents3 table th.popular span.inner{
	position: absolute;
	color:white;
	background-color: #ff3d3d;
	left: 0;
	bottom: 0;
	display: block;
	width: 180px;
	padding: 10px 0;
  }

  @media (max-width: 768px) {
	.contents3 h3 {
		width: 100%;
	}
	.contents3 h3 img{
		width: 100%;
	}
	.content3_innner img {
		width: 100%;
	}
	.contents3 table th.popular span.inner{
		position: absolute;
		color:white;
		background-color: #ff3d3d;
		left: 0;
		bottom: 0;
		display: block;
		width: 100%;
		padding: 10px 0;
	  }
	  .contents3 table td{
		font-size: 2rem;
	  }
  }

 /* --------------------------------
	contents 4
-------------------------------- */
.contents4{
	background: #DBF4FF;
	text-align: center;
	padding: 4rem 0rem;
}
.midashi_flex {
	display: -webkit-flex;
	display: flex;
	-webkit-justify-content: center;
	justify-content: center;
}
.midashi_flex div:nth-child(1) img{
	max-width: 250px;
}
.midashi_flex div:nth-child(3) img{
	max-width: 350px;
}
.content4_innner {
	background: #fff;
	padding: 3rem;
	margin-top: -3rem;
	position: relative;
	z-index: 10;
}
.content4_innner_flex{
	display: -webkit-flex;
	display: flex;
	-webkit-justify-content: center;
	justify-content: center;
}
.content4_innner_flex div{
	border-radius: 3rem;
	border: #ff3d3d solid 5px;
	margin: 1rem;
	width: 33%;
}
p.point_midashi {
	background: #ff3d3d;
	color: #fff;
	font-size: 3rem;
}
p.point_title{
	font-size: 3rem;
	padding: 2rem;
}
p.point_txt {
	font-weight: 300;
	font-size: 1.3rem;
	padding: 0rem 2rem 2rem 2rem;
	text-align: left;
}
@media (max-width: 768px) {
	.contents4 .midashi_flex{
		display: -webkit-flex;
	display: flex!important;
	}
	.contents4 .midashi_flex div:nth-child(1) img{
		max-width: 100px;
	}
	.contents4 .midashi_flex div:nth-child(2) img{
		max-width: 150px;
	}
	.contents4 .content4_innner_flex{
		display: block;
	}
	.contents4 .content4_innner_flex div{
		margin: 0rem;
		margin-bottom: 2rem;
		width: 100%;
	}
	.contents4 .balloon {
		margin-top: -2rem;
	}
	p.point_midashi {
		background: #ff3d3d;
		color: #fff;
		padding: 2rem;
		font-size: 4rem;
	}
	p.point_midashi span{
		font-size: 4rem;
	}
}

/* --------------------------------
	contents 5
-------------------------------- */
.contents5{
	background: url(../img/contents3_bg.jpg);
	background-size: cover;
	padding: 2rem 0rem 10rem 0rem;
}
.contents5 .inner{
	text-align: center;
}
.midashi_flex {
	display: -webkit-flex;
	display: flex;
	-webkit-justify-content: center;
	justify-content: center;
}
.midashi_flex div:nth-child(1) img{
	max-width: 280px;
}
.midashi_flex div:nth-child(3) img{
	max-width: 350px;
}
.content5_innner {
	background: #fff;
	padding: 3rem;
	margin-top: -3rem;
	position: relative;
	z-index: 10;
}
.contents5_no1txt {
	font-size: 3.5rem;
	font-weight: bold;
}
.contents5_no1txt span{
	font-size: 5rem;
}
.content5_innner_flex{
	display: -webkit-flex;
	display: flex;
	-webkit-justify-content: center;
	justify-content: center;
	flex-wrap :wrap;
	max-width: 800px;
	margin: auto;
}
.content5_innner_flex div{
	padding: 1rem;
	width: 33%;
}

@media (max-width: 768px) {
	.contents5 .midashi_flex{
		display: -webkit-flex;
	display: flex!important;
	}
	.contents5 .midashi_flex div:nth-child(1) img{
		max-width: 150px;
	}
	.contents5 .midashi_flex div:nth-child(2) img{
		max-width: 200px;
		margin-top: -2rem;
	}
	.content5_innner img {
		width: 100%;
	}
	.contents5 .balloon {
		margin-top: -2.5rem;
	}
}

 /* --------------------------------
	contents 6
-------------------------------- */
.contents6{
	background: #DBF4FF;
	text-align: center;
	padding: 4rem 0rem;
}
.contents6 .midashi_flex {
	display: -webkit-flex;
	display: flex;
	-webkit-justify-content: center;
	justify-content: center;
}
.contents6 .midashi_flex div:nth-child(1) img{
	max-width: 350px;
}
.content6_innner {
	background: #fff;
	padding: 3rem;
	margin-top: -3.5rem;
	position: relative;
	z-index: 10;
}
.content6_innner2 {
	background: #fff;
	padding: 3rem;
	margin-top: 3rem;
	position: relative;
	z-index: 10;
}
.contents6_txt {
	font-size: 2.5rem;
	margin-bottom: 1rem;
}
.contents6_txt span{
	font-size: 3.5rem;
	font-weight: bold;
	background:linear-gradient(transparent 60%, #FFE500 60%);
}
.content6_innner_flex,.content7_innner_flex{
	display: -webkit-flex;
	display: flex;
	-webkit-justify-content: center;
	justify-content: center;
	flex-wrap :wrap;
	margin: auto;
}
.content6_innner_flex div{
	margin: 1rem;
	width: 40%;
}
.content7_innner_flex div{
	border-radius: 3rem;
	border: #ff3d3d solid 5px;
	margin: 1rem;
	width: 40%;
}
.contents6 p.point_title{
	font-size: 2.5rem;
	color: #ff3d3d;
	border-bottom: 5px solid #ff3d3d;
	max-width: 80%;
	margin: auto;
	padding: 2rem 0rem 0rem 0rem;
}
.contents6 p.point_txt {
	font-weight: 300;
	font-size: 1.3rem;
	padding: 2rem;
}
@media (max-width: 768px) {
	.contents6 .midashi_flex {
		display: block;
	}
	.contents6 .midashi_flex div:nth-child(1) img{
		max-width: 250px;
	}
	.content7_innner_flex {
		display: block;
	}
	.content7_innner_flex div{
		width: 100%;
		margin: 0rem;
		margin-bottom: 2rem;
	}
	.contents6 .midashiimg{
		width: 200px;
		margin: auto;
	}
	.contents6 .balloon {
		margin-top: -2.5rem;
	}
	.contents6 p.point_title{
		font-size: 3rem;
	}
	.contents6 p.point_txt{
		font-size: 2.5rem;
	}
}

/* --------------------------------
	contents 8
-------------------------------- */
.contents8{
	background: url(../img/contents3_bg.jpg);
	background-size: cover;
	padding: 7rem 0rem 10rem 0rem;
}
.contents8 .inner{
	text-align: center;
}
.contents8 h3 {
	max-width: 100rem;
	margin: auto;
	position: relative;
	z-index: 1;
}
.content8_innner_flex{
	display: -webkit-flex;
	display: flex;
	-webkit-justify-content: center;
	justify-content: center;
	flex-wrap :wrap;
	margin: auto;
	align-items: center;
}
.content8_innner_flex div:nth-child(1),.content8_innner_flex div:nth-child(3),.content8_innner_flex div:nth-child(5){
	padding: 2rem;
	width: 25%;
}
.content8_innner_flex h5{
	margin-top: 2rem;
	font-size: 2.5rem;
	color: #ff3d3d;
	margin-bottom: 1rem;
}
@media (max-width: 768px) {
	.contents8 h3 {
		width: 100%;
	}
	.content8_innner_flex {
		display: block;
	}
	.content8_innner_flex div:nth-child(1),.content8_innner_flex div:nth-child(3),.content8_innner_flex div:nth-child(5){
		width: 100%;
		margin: auto;
	}
	.content8_innner_flex div img {
		width: 80%;
		margin: auto;
	}
	.content8_innner_flex h5{
		font-size: 4rem;
	}
}

/* --------------------------------
	contents 9
-------------------------------- */
.contents9{
	background: #DBF4FF;
	text-align: center;
	padding: 4rem 0rem;
}
.contents9 .inner{
	text-align: center;
}
.contents9 h3 {
	max-width: 100rem;
	margin: auto;
	position: relative;
	z-index: 1;
}
.contents9 h4{
	margin-top: 2rem;
	margin-bottom: 2rem;
	font-size: 3rem;
}
.contents9 h5{
	background: #ff3d3d;
	border-radius: 2rem;
	padding: 2rem;
	color: #fff;
	font-size: 2.7rem;
}
.content9_innner_flex{
	display: -webkit-flex;
	display: flex;
	-webkit-justify-content: center;
	justify-content: center;
	flex-wrap :wrap;
	width: 100%;
}
.content9_innner_flex div:nth-child(1){
	padding: 2rem;
	text-align: left;
	width: 40%;
}
.content9_innner_flex div:nth-child(2){
	text-align: left;
	width: 60%;
	padding: 2rem;
	font-weight: 400;
	line-height: 200%;
}
.content9_innner_flex div:nth-child(2) span{
	color: #ff3d3d;
	font-weight: bold;
}

@media (max-width: 768px) {
	.contents9 h3 img{
		width: 100%;
	}
	.content9_innner_flex {
		display: block;
	}
	.content9_innner_flex div:nth-child(1){
		padding: 2rem;
		text-align: left;
		width: 100%;
	}
	.content9_innner_flex div:nth-child(2){
		text-align: left;
		width: 100%;
		padding: 2rem;
		font-weight: 400;
		line-height: 200%;
	}
	.content9_innner_flex p {
		line-height: 180%;
	}
}

/* --------------------------------
	contents 10
-------------------------------- */
.contents10{
	background:rgba(255, 246, 163, 1);
	text-align: center;
	padding: 4rem 0rem;
}
.content10_innner {
	background: #fff;
	padding: 5rem;
	position: relative;
	z-index: 10;
}
.contents10 h3{
	font-size: 3rem;
	margin-bottom: 2rem;
}
.contents10_qa dt{
	background: #42A7F0;
	color: #fff;
	border-radius: 2rem;
	font-size: 2rem;
	text-align: left;
	padding: 0.5rem 2rem;
}
.contents10_qa span{
	font-size: 3.5rem;
	padding-right: 2rem;
	font-family: Bahnschrift;
	font-weight: bold;
}
.contents10_qa dd{
	padding: 2rem;
	text-align: left;
}
.qa_hosoku {
	font-size: 1.3rem;
	font-weight: 300;
}
@media (max-width: 768px) {
	.contents10_qa dt{
		font-size: 3rem;
	}
	.contents10_qa dd{
		font-size: 2.7rem;
		line-height: 180%;
	}
	.content10_innner .balloon  {
		margin-bottom: 2rem;
	}
}

/* --------------------------------
	contents 11
-------------------------------- */
.contents11{
	background:#ED5555;
	text-align: center;
	padding: 4rem 0rem;
}
.content11_innner {
	background: #fff;
	padding: 5rem;
	position: relative;
	z-index: 10;
}
.contents11 h3{
	font-size: 4rem;
	color: #fff;margin-bottom: 3rem;
	margin-top: 5rem;
}
.contents11 h3 span{
	font-size: 5rem;
	color: #FFE500
}
.contents11 h4{
	font-size: 3rem;
	margin-bottom: 3rem;
	letter-spacing: 0.5rem;
}
.contents11 h4 span{
	font-size: 5rem;
}
.contents11_maker span{
	font-size: 3.5rem;
	font-weight: bold;
	background:linear-gradient(transparent 60%, #FFE500 60%);
}
.contents11_txt{
	margin-top: 3rem;
}
.contents11_txt span{
	font-size: 3rem;
}
.content11_innner_flex{
	display: -webkit-flex;
	display: flex;
	-webkit-justify-content: center;
	justify-content: center;
	width: 100%;
	margin-top: 3rem;
}
.content11_innner_flex div:nth-child(1){
	width: 40%;
}
.content11_innner_flex div:nth-child(1) img{
	padding: 1rem;
}
.content11_innner_flex div:nth-child(2){
	text-align: left;
	padding: 3rem;
}
.contents11 dt {
	background: #1B71D6;
	color: #fff;
	padding: 1rem 2rem;
	border-radius: 2rem;
	margin-top: 1rem;
}
.contents11 dd {
	padding: 1rem;
}

.contents11 h3 img{
	max-width: 300px;
	margin-top: 3rem;
}

.content12_innner_flex{
	display: -webkit-flex;
	display: flex;
	-webkit-justify-content: center;
	justify-content: center;
	width: 100%;
	margin-top: 3rem;
	text-align: left;
}
.content12_innner_flex div:nth-child(1){
	width: 55%;
	padding: 2rem;
}

.content12_innner_flex div:nth-child(2){
	padding: 2rem;
	width: 45%;
}
.contents11 h4{
	background: #ff3d3d;
	padding: 2rem;
	color: #fff;
	border-radius: 2rem;
	margin-top: 3rem;
}

.content12_tenpo_flex{
	display: -webkit-flex;
	display: flex;
	-webkit-justify-content: center;
	justify-content: left;
	width: 100%;
	margin-top: 2rem;
	text-align: left;
	padding-bottom: 1rem;
	border-bottom: 1px solid #d5d5d5;
}
.content12_tenpo_flex li:nth-child(1){
	width: 30%;
}
.content12_tenpo_flex li:nth-child(2){
	width: 70%;
}
.content12_tenpo_flex span {
	background: #FFD2D2;
	padding: 0.5rem;
	margin: 0.5rem;
	line-height: 250%;
}

@media (max-width: 768px) {
	.content11_innner_flex{
		display: block;
	}
	.content11_innner_flex div:nth-child(1){
		width: 100%;
	}
	.content12_innner_flex div:nth-child(1){
		width: 100%;
	}
	.content12_innner_flex div:nth-child(2){
		width: 100%;
	}
	.content11_innner_flex div:nth-child(1){
		padding: 0rem;
	}
	.content11_innner_flex div:nth-child(2){
		padding: 0rem;
	}
	.contents11 dt {
		font-size: 3rem;
	}
	.contents11 dd {
		font-size: 2.7rem;
	}
	.content10_innner img{
		width: 100%;
	}
	.content12_tenpo_flex li:nth-child(1){
		font-size: 2.2rem;
	}
	.content12_tenpo_flex li:nth-child(2){
		font-size: 2rem;
	}
}

/* --------------------------------
	contents 12
-------------------------------- */
.contents12{
	background: url(../img/contets12_bg.jpg);
	background-size: cover;
	text-align: center;
	padding: 4rem 0rem;
}
.contents12 h3{
	font-size: 3rem;
	max-width: 250px;
	margin: auto;
	color: #fff;
	margin-bottom: -30px;
}
.content12_innner {
	padding: 5rem;
	position: relative;
	z-index: 10;
}

.contents12_flex{
	display: -webkit-flex;
	display: flex;
	-webkit-justify-content: center;
	justify-content: left;
	flex-wrap :wrap;
}
.contents12_flex div{
	width: 50%;
	padding: 2rem;
}

@media (max-width: 768px) {
	.contents12_flex div:nth-child(2) img{
		margin-top: -20px;
	}
	.content12_innner {
		padding: 4rem;
	}
	.content12_innner_flex{
		display: block;
	}
	.contents12_flex {
		display: block;
	}
	.contents12_flex div{
		width: 100%;
	}
	.content12_innner_flex iframe{
		height: auto;
	}
	.inner p{
		font-size: 2.5rem;
	}
	/* 吹き出し本体 */
.balloon{
	width: 95%;
	font-size: 2.8rem;
  }
}

/* --------------------------------
	仮審査　オレンジボタン
-------------------------------- */
.btn_karishinsa {
	background: #ffd816;
}
.btn_karishinsainner {
	margin: auto;
	padding: 20px;
	text-align: center;
}
/*その他と主な共通部分は省略*/

.btn,
a.btn,
button.btn {
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.5;
  position: relative;
  display: inline-block;
  padding: 1rem 4rem;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  text-align: center;
  vertical-align: middle;
  text-decoration: none;
  letter-spacing: 0.1em;
  color: #212529;
  border-radius: 0.5rem;
}

a.btn--green {
	color: #fff;
	background-color: #094;
  }
  
  a.btn--green:hover {
	color: #fff;
	background: #00a349;
  }
  
  a.btn--green.btn--cubic {
	border-bottom: 5px solid #00662d;
  }
  
  a.btn--green.btn--cubic:hover {
	margin-top: 3px;
	border-bottom: 2px solid #00662d;
  }
  
  a.btn-c {
	font-size: 2rem;
	position: relative;
	padding: 1.5rem 3rem 1.5rem 2rem;
  }
  
  a.btn-c i.fa {
	margin-right: 1rem;
  }
  a.btn--green ul {
	display: flex;
	font-size: 3rem;
}
  a.btn--green li:nth-child(1){
	background: #fff;
	border-radius: 2px;
	padding: 10px 20px;
	color: #00662d;
  }
  a.btn--green li:nth-child(2){
	padding: 10px 20px;
  }
  @media (max-width: 768px) {
	a.btn--green {
		width: 100%;
	}
	a.btn--green li:nth-child(1){
		background: #fff;
		border-radius: 2px;
		padding: 5px;
		color: #00662d;
		width: 40%;
	  }
	  a.btn--green li:nth-child(2){
		padding: 5px;
		width: 60%;
		line-height: 50px;
  }
}
/* --------------------------------
	CVエリア
-------------------------------- */
.btn_cv{
	margin: auto;
	padding: 20px;
	text-align: center;
}
.btn_cv_flex {
	display: flex;
	margin: auto;
	width: 100%;
	justify-content: center; 
}
.btn_cv p{
	font-size: 3rem;
	font-weight: bold;
}
.btn_cv_flex li{
	padding: 10px;
}
.btn_cv_bg img{
	width: 200px;
	position: absolute;
	right: 0px;
	margin-top: -200px;
}
/* --------------------------------
	CV　仮審査
-------------------------------- */
a.btn--green_cv {
	color: #fff;
	background-color: #094;
	width: 300px;
  }
  
  a.btn--green_cv:hover {
	color: #fff;
	background: #00a349;
  }
  
  a.btn--green_cv.btn--cubic {
	border-bottom: 5px solid #00662d;
  }
  
  a.btn--green_cv.btn--cubic:hover {
	margin-top: 3px;
	border-bottom: 2px solid #00662d;
  }
  /* --------------------------------
	CV　相談
-------------------------------- */
a.btn--red_cv {
	color: #fff;
	background-color: #ff3d3d;
	width: 300px;
  }
  
  a.btn--red_cv:hover {
	color: #fff;
	background: #c90000;
  }
  
  a.btn--red_cv.btn--cubic {
	border-bottom: 5px solid #c90000;
  }
  
  a.btn--red_cv.btn--cubic:hover {
	margin-top: 3px;
	border-bottom: 2px solid #c90000;
  }

  
  @media (max-width: 768px) {
	a.btn--green_cv {
		width: 100%;
	}
	.btn_cv_flex {
		display: block;
	}
	.btn_cv_bg img{
		height: 120px;
		width: auto;
		position: absolute;
		right: 0px;
		margin-top: -100px;
	}
	.btn_cv_flex li{
		padding: 10px;
	}
	a.btn--green_cv {
		width: 100%;
		padding: 10px;
		font-size: 3rem;
	  }
	  a.btn--red_cv {
		width: 100%;
		padding: 10px;
		font-size: 3rem;
	  }
}

/* --------------------------------
	問い合わせボタン
-------------------------------- */
.fixed_btn { 
	position: fixed;
	bottom: 10px;
	right: 10px;
	 width: 120px;
	  height: 120px;
	  line-height: 150%;
	  background-color: #094;
	  border-radius: 50%;
	  color: #fff;
	  text-align: center;
	  z-index:200;
	  font-weight: bold;
	box-shadow: 0 5px 0 #00662d; /* 影の太さ・色 */
	}
	.fixed_btn a{ 
		color: #fff;
		text-decoration: none;
	}
	.fixed_btn a:hover{ 
		color: #fff;
	}
	
	.dokidoki {
		animation: dokidoki 1.5s infinite;
	}
	@keyframes dokidoki {
		0% {
			transform: scale(1.05)
		}
		5% {
			transform: scale(1)
		}
		95% {
			transform: scale(1)
		}
		100% {
			-webkit-transform: scale(1.05)
		}
	}
	@media (max-width: 768px) {
		.fixed_btn { 
			position: fixed;
			bottom: 5px;
			right: 5px;
			width: 110px;
			height: 110px;
			}
		.fixed_btn a{ 
			font-size: 2.5rem;
			line-height: 20px;
		}
	}


/*==================================================
ふわっ
===================================*/

/* その場で */
.fadeIn{
animation-name:fadeInAnime;
animation-duration:1s;
animation-fill-mode:forwards;
opacity:0;
}

@keyframes fadeInAnime{
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* 下から */

.fadeUp{
animation-name:fadeUpAnime;
animation-duration:0.5s;
animation-fill-mode:forwards;
opacity:0;
}

@keyframes fadeUpAnime{
  from {
    opacity: 0;
	transform: translateY(100px);
  }

  to {
    opacity: 1;
	transform: translateY(0);
  }
}

/* 上から */

.fadeDown{
animation-name:fadeDownAnime;
animation-duration:0.5s;
animation-fill-mode:forwards;
opacity:0;
}

@keyframes fadeDownAnime{
  from {
    opacity: 0;
	transform: translateY(-100px);
  }

  to {
    opacity: 1;
	transform: translateY(0);
  }
}

/* 左から */

.fadeLeft{
animation-name:fadeLeftAnime;
animation-duration:0.5s;
animation-fill-mode:forwards;
opacity:0;
}

@keyframes fadeLeftAnime{
  from {
    opacity: 0;
	transform: translateX(-100px);
  }

  to {
    opacity: 1;
	transform: translateX(0);
  }
}

/* 右から */

.fadeRight{
animation-name:fadeRightAnime;
animation-duration:0.5s;
animation-fill-mode:forwards;
opacity:0;
}

@keyframes fadeRightAnime{
  from {
    opacity: 0;
	transform: translateX(100px);
  }

  to {
    opacity: 1;
	transform: translateX(0);
  }
}

/* スクロールをしたら出現する要素にはじめに透過0を指定　*/
 
.fadeInTrigger,
.fadeUpTrigger,
.fadeDownTrigger,
.fadeLeftTrigger,
.fadeRightTrigger{
    opacity: 0;
}

/*==================================================
パタッ
===================================*/


/* 下へ */
.flipDown{
animation-name:flipDownAnime;
animation-duration:1s;
animation-fill-mode:forwards;
opacity:0;
}

@keyframes flipDownAnime{
  from {
    transform: perspective(2500px) rotateX(100deg);
 	opacity: 0;
  }

  to {
    transform: perspective(2500px) rotateX(0);
	opacity: 1;
  }
}


/* 左へ */
.flipLeft{
animation-name:flipLeftAnime;
animation-duration:1s;
animation-fill-mode:forwards;
perspective-origin:left center;
opacity:0;
}

@keyframes flipLeftAnime{
  from {
   transform: perspective(600px) translate3d(0, 0, 0) rotateY(30deg);
 	opacity: 0;
  }

  to {
  transform: perspective(600px) translate3d(0, 0, 0) rotateY(0deg);
  opacity: 1;
  }
}


/* 左上へ */
.flipLeftTop{
animation-name:flipLeftTopAnime;
animation-duration:1s;
animation-fill-mode:forwards;
opacity:0;
}

@keyframes flipLeftTopAnime{
  from {
   transform: translate(-20px,80px) rotate(-15deg);
 	opacity: 0;
  }

  to {
   transform: translate(0,0) rotate(0deg);
	opacity: 1;
  }
}

/* 右へ */
.flipRight{
animation-name:flipRightAnime;
animation-duration:1s;
animation-fill-mode:forwards;
perspective-origin:right center;
opacity:0;
}

@keyframes flipRightAnime{
  from {
   transform: perspective(600px) translate3d(0, 0, 0) rotateY(-30deg);
 	opacity: 0;
  }

  to {
  transform: perspective(600px) translate3d(0, 0, 0) rotateY(0deg);
  opacity: 1;
  }
}

/* 右上へ */
.flipRightTop{
animation-name:flipRightTopAnime;
animation-duration:1s;
animation-fill-mode:forwards;
opacity:0;
}

@keyframes flipRightTopAnime{
  from {
   transform: translate(-20px,80px) rotate(25deg);
   opacity: 0;
  }

  to {
   transform: translate(0,1) rotate(0deg);
	opacity: 1;
  }
}

/* スクロールをしたら出現する要素にはじめに透過0を指定　*/
 
.flipDownTrigger,
.flipLeftTrigger,
.flipLeftTopTrigger,
.flipRightTrigger,
.flipRightTopTrigger{
    opacity: 0;
}

/*==================================================
くるっ
===================================*/


/* X 軸（縦へ） */
.rotateX{
	animation-name:rotateXAnime;
	animation-duration:1s;
	animation-fill-mode:forwards;
}

@keyframes rotateXAnime{
	from{
		transform: rotateX(0);
		opacity: 0;
		}
	to{
		transform: rotateX(-360deg);
		opacity: 1;
		}
}

/*　Y軸（横へ） */
.rotateY{
	animation-name:rotateYAnime;
	animation-duration:1s;
	animation-fill-mode:forwards;
}

@keyframes rotateYAnime{
	from{
		transform: rotateY(0);
		opacity: 0;
		}
	to{
		transform: rotateY(-360deg);
		opacity: 1;
		}
}

/* Z 軸（左へ） */
.rotateLeftZ{
	animation-name:rotateLeftZAnime;
	animation-duration:1s;
	animation-fill-mode:forwards;
}

@keyframes rotateLeftZAnime{
	from{
		transform: rotateZ(0);
		opacity: 0;
		}
	to{
		transform: rotateZ(-360deg);
		opacity: 1;
		}
}

/*　Z 軸（右へ） */
.rotateRightZ{
	animation-name:rotateRightZAnime;
	animation-duration:1s;
	animation-fill-mode:forwards;
}

@keyframes rotateRightZAnime{
	from{
		transform: rotateZ(0);
		opacity: 0;
		}
	to{
		transform: rotateZ(360deg);
		opacity: 1;
		}
}

/* スクロールをしたら出現する要素にはじめに透過0を指定　*/
 
.rotateXTrigger,
.rotateYTrigger,
.rotateLeftZTrigger,
.rotateRightZTrigger{
    opacity: 0;
}

/*==================================================
ボンッ、ヒュッ
===================================*/

/* 拡大 */
.zoomIn{
	animation-name:zoomInAnime;
	animation-duration:0.5s;
	animation-fill-mode:forwards;
}

@keyframes zoomInAnime{
  from {
	transform: scale(0.6);
	opacity: 0;
  }

  to {
    transform: scale(1);
	opacity: 1;
  }
}

/* 縮小 */
.zoomOut{
	animation-name:zoomOutAnime;
	animation-duration:0.5s;
	animation-fill-mode:forwards;
}

@keyframes zoomOutAnime{
  from {
	transform: scale(1.2);
	opacity: 0;
  }

  to {
    transform:scale(1);
	opacity: 1;
  }
}

/* スクロールをしたら出現する要素にはじめに透過0を指定　*/
 
.zoomInTrigger,
.zoomOutTrigger{
    opacity: 0;
}

/*==================================================
じわっ
===================================*/

/* ぼかしから出現 */
.blur{
	animation-name:blurAnime;
	animation-duration:1s;
	animation-fill-mode:forwards;
}

@keyframes blurAnime{
  from {
	filter: blur(10px);
	transform: scale(1.02);
	opacity: 0;
  }

  to {
	filter: blur(0);
	transform: scale(1);
	opacity: 1;
  }
}

/* スクロールをしたら出現する要素にはじめに透過0を指定　*/
 
.blurTrigger{
    opacity: 0;
}

/*==================================================
にゅーん
===================================*/

/* 滑らかに変形して出現 */
.smooth{
	animation-name:smoothAnime;
	animation-duration:1s;
	animation-fill-mode:forwards;
  transform-origin: left;
	opacity:0;
}

@keyframes smoothAnime{
  from {
  transform: translate3d(0, 100%, 0) skewY(12deg);
  opacity:0;
  }

  to {
  transform: translate3d(0, 0, 0) skewY(0);
  opacity:1;
  }
}

/* スクロールをしたら出現する要素にはじめに透過0を指定　*/
 
.smoothTrigger{
    opacity: 0;
}

/*==================================================
スーッ（枠線が伸びて出現）
===================================*/

/*枠線が伸びて出現*/

.lineTrigger{
  position: relative; /* 枠線が書かれる基点*/
  opacity:0;
}

.lineTrigger.lineanime{
	animation-name:lineAnimeBase;
	animation-duration:1s;
	animation-fill-mode:forwards;
}

@keyframes lineAnimeBase{
  from {
    opacity:0;
  }

  to {
    opacity:1;  
}
}

/*上下線*/
.lineTrigger::before,
.lineTrigger::after{
  position: absolute;
  content:"";
  width:0;
  height:1px;
  background:#333;/* 枠線の色*/
}

/*左右線*/
.line2::before,
.line2::after{
  position: absolute;
  content:"";
  width: 1px;
  height:0;
  background:#333;/* 枠線の色*/
}

/*上線*/
.lineTrigger::before {
	top:0;
	left:0;
}

.lineTrigger.lineanime::before {
	animation: lineAnime .5s linear 0s forwards;/*表示されて0秒後に上線が0.5秒かけて表示*/
}

/*右線*/
.line2::before{ 
	top:0;
	right:0;
}

.lineTrigger.lineanime .line2::before {
	animation: lineAnime2 .5s linear .5s forwards;/*表示されて0.5秒後に右線が0.5秒かけて表示*/
}

/*下線*/
.lineTrigger::after { 
	bottom:0;
	right:0;
}

.lineTrigger.lineanime::after {
	animation: lineAnime .5s linear 1s forwards;/*表示されて1秒後に下線が0.5秒かけて表示*/
}

/*左線*/
.line2::after{ 
	bottom:0;
	left:0;
}

.lineTrigger.lineanime .line2::after {
	animation: lineAnime2 .5s linear 1.5s forwards;/*表示されて1.5秒後に左線が0.5秒かけて表示*/
}

@keyframes lineAnime {
	0% {width:0%;}
    100%{width:100%;}
}

@keyframes lineAnime2 {
	0% {height:0%;}
    100%{height:100%;}
}

/*枠線内側の要素*/

.lineTrigger.lineanime .lineinappear{
	animation: lineInnerAnime .5s linear 1.5s forwards;/*1.5秒後に中央のエリアが0.5秒かけて表示*/
	opacity: 0;/*初期値を透過0にする*/	
}

@keyframes lineInnerAnime{
	0% {opacity:0;}
    100% {opacity:1;}
}


/*==================================================
シャッ（背景色が伸びて出現）
===================================*/

/*背景色が伸びて出現（共通）*/
.bgextend{
	animation-name:bgextendAnimeBase;
	animation-duration:1s;
	animation-fill-mode:forwards;
	position: relative;
	overflow: hidden;/*　はみ出た色要素を隠す　*/
	opacity:0;
}

@keyframes bgextendAnimeBase{
  from {
    opacity:0;
  }

  to {
    opacity:1;  
}
}

/*中の要素*/
.bgappear{
	animation-name:bgextendAnimeSecond;
	animation-duration:1s;
	animation-delay: 0.6s;
	animation-fill-mode:forwards;
	opacity: 0;
}

@keyframes bgextendAnimeSecond{
	0% {
	opacity: 0;
	}
	100% {
	opacity: 1;
}
}

/*左から*/
.bgLRextend::before{
	animation-name:bgLRextendAnime;
	animation-duration:1s;
	animation-fill-mode:forwards;
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #666;/*伸びる背景色の設定*/
}
@keyframes bgLRextendAnime{
	0% {
		transform-origin:left;
		transform:scaleX(0);
	}
	50% {
		transform-origin:left;
		transform:scaleX(1);
	}
	50.001% {
		transform-origin:right;
	}
	100% {
		transform-origin:right;
		transform:scaleX(0);
	}
}

/*右から*/
.bgRLextend::before{
	animation-name:bgRLextendAnime;
	animation-duration:1s;
	animation-fill-mode:forwards;
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #666;/*伸びる背景色の設定*/
}
@keyframes bgRLextendAnime{
	0% {
		transform-origin:right;
		transform:scaleX(0);
	}
	50% {
		transform-origin:right;
		transform:scaleX(1);
	}
	50.001% {
		transform-origin:left;
	}
	100% {
		transform-origin:left;
		transform:scaleX(0);
	}
}

/*下から*/
.bgDUextend::before{
	animation-name:bgDUextendAnime;
	animation-duration:1s;
	animation-fill-mode:forwards;
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #666;/*伸びる背景色の設定*/
}
@keyframes bgDUextendAnime{
	0% {
		transform-origin:bottom;
		transform:scaleY(0);
	}
	50% {
		transform-origin:bottom;
		transform:scaleY(1);
	}
	50.001% {
		transform-origin:top;
	}
	100% {
		transform-origin:top;
		transform:scaleY(0);
	}
}

/*上から*/
.bgUDextend::before{
	animation-name:bgUDextendAnime;
	animation-duration:1s;
	animation-fill-mode:forwards;
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #666;/*伸びる背景色の設定*/
}
@keyframes bgUDextendAnime{
	0% {
		transform-origin:top;
		transform:scaleY(0);
	}
	50% {
		transform-origin:top;
		transform:scaleY(1);
	}
	50.001% {
		transform-origin:bottom;
	}
	100% {
		transform-origin:bottom;
		transform:scaleY(0);
	}
}

/* スクロールをしたら出現する要素にはじめに透過0を指定　*/
.bgappearTrigger,
.bgUDextendTrigger,
.bgDUextendTrigger,
.bgRLextendTrigger,
.bgLRextendTrigger{
    opacity: 0;
}


/*========= レイアウトのためのCSS ===============*/

.wrapper{
	overflow: hidden;
}

.flex{
	display:flex;
	flex-wrap: wrap;
}

.box{
	width: 220px;
	padding: 20px;
    margin: 0 20px 20px 20px;
	background: #666;
	color: #fff;
	box-sizing:border-box;
}

.bgextend,
.lineTrigger{
	width: 220px;
	padding: 20px;
    margin: 0 20px 20px 20px;
	box-sizing:border-box;
}



/*==================================================
アニメーション設定
===================================*/

/* アニメーションの回数を決めるCSS*/

.count2{  
	animation-iteration-count: 2;/*この数字を必要回数分に変更*/
}

.countinfinite{  
	animation-iteration-count: infinite;/*無限ループ*/
}

/* アニメーションスタートの遅延時間を決めるCSS*/

.delay-time05{  
	animation-delay: 0.5s;
}

.delay-time1{  
	animation-delay: 1s;
}

.delay-time15{  
	animation-delay: 1.5s;
}

.delay-time2{  
	animation-delay: 2s;
}

.delay-time25{  
	animation-delay: 2.5s;
}

/* アニメーション自体が変化する時間を決めるCSS*/

.change-time05{  
	animation-duration: 0.5s;
}

.change-time1{  
	animation-duration: 1s;
}

.change-time15{  
	animation-duration: 1.5s;
}

.change-time2{  
	animation-duration: 2s;
}

.change-time25{  
	animation-duration: 2.5s;
}

/* --------------------------------
	浮かす
-------------------------------- */
.img_wrap{
	margin: 20px auto 0;
	transition-duration: 0.5s;
  }
  .img_wrap img{
	width: 100%;
	cursor: pointer;
  }
  .img_wrap:hover{
	transform: translateY(-10px);
	transition-duration: 0.5s;
  }
  
  
 
/* --------------------------------
	footer
-------------------------------- */
#footer{
	background-color: #ff3d3d;
	color: #fff;
	padding: 1rem 0rem;
	text-align: center;
	font-size: 1rem;
}
#footer a{
	color: #fff;
	text-decoration: none;
}
