@charset "utf-8";

/* *****************************************************************************
   タブレット用のスタイル記述
***************************************************************************** */
@media screen and (min-width: 0px) and (max-width: 768px) {

	/* -----------------------------------------------------------------------------
	 Header
	----------------------------------------------------------------------------- */
	header {
		height: 50px;
	}
	
	header a {
		text-decoration: none !important;
	}
	
	header > .inner {
		width: 100%;
		box-shadow: 0px 3px 10px 0px rgba(204,204,204,0.20);
	}
	
	header > .inner > .logo {
		font-size: 15px;
		padding: 0 20px 0 20px;
		
	}
	
		 header > .inner > .logo p {
font-size: 1.0rem;/*デザインに応じて要調整*/
font-weight: 900;
color: #000;/*必要に応じて調色可*/
margin-bottom: 10px
}

header > .inner > .logo p .gogo {
  font-size: 1.5em;	
  color: #c30036;
  font-family: 'Tomorrow', sans-serif;
}
	
	header > .inner > .logo a{
		white-space: nowrap;
		color: var(--header-logo-color);
		border: none;
	}
	header > .inner > .logo img{
		height: 40px;
		vertical-align: middle;
		margin-right: 5px;
	}
	
	header > .inner > navi{
		opacity: 0;
		box-shadow: 0px 5px 10px rgba(0,0,0,0.2);
	}
	header > .inner > navi > ul {
		display: block;
	}
	
	header > .inner > navi > ul > li {
		padding-left: 0;
    	text-indent: 0;
	}
		
	header > .inner > navi > ul > li a {
		font-size: .95em;
		color: var(--header-menu-txt-color);
		margin: 0;
		padding: 5px 20px;
		display: block;
		width: 100%;
		height: 100%;
		border: none;
	}

	header > .inner > navi > .translation {
		padding: 5px 20px;
		display: block;
	}
	
	
	/* bt-menu */
	#bt-menu {
		position: absolute;
		top: 0;
		right: 0;
		width: 50px;
		height: 50px;
		background-color: var(--header-bg-color);
		z-index: 10;
		cursor: pointer;
	}
	
	#bt-menu span {
		position: absolute;
		top: 24px;
		right: 10px;
		width: 30px;
		height: 2px;
		background-color: var(--header-sub-menu-color);
		transition: .3s;
	}
	
	#bt-menu span::before {
		position: absolute;
		top: -10px;
		right: 0;
		content: "";
		width: 30px;
		height: 2px;
		background-color: var(--header-sub-menu-color);
		display: block;
		transition: .3s;
	}
	
	#bt-menu span::after {
		position: absolute;
		top: 10px;
		right: 0;
		content: "";
		width: 30px;
		height: 2px;
		background-color: var(--header-sub-menu-color);
		display: block;
		transition: .3s;
	}
	
	#bt-menu.open span {
		background-color: transparent;
		transition: .3s;
	}
	
	#bt-menu.open span::before {
		top: 0;
		-moz-transform: rotate(45deg);
		-webkit-transform: rotate(45deg);
		-o-transform: rotate(45deg);
		-ms-transform: rotate(45deg);
		transform: rotate(45deg);
		transition: .3s;
	}
	
	#bt-menu.open span::after {
		top: 0;
		-moz-transform: rotate(-45deg);
		-webkit-transform: rotate(-45deg);
		-o-transform: rotate(-45deg);
		-ms-transform: rotate(-45deg);
		transform: rotate(-45deg);
		transition: .3s;
	}
	
	
	/* style1 */
	header.style1 {
		position: fixed;
		top: 0;
		left: 0;
		width: 100%;
		background-color: var(--header-bg-color);
		z-index: 999;
	}
	
	header.style1 > .inner > .logo {
		height: 50px;
		vertical-align: middle;
		display: table-cell;
	}
	
	header.style1 > .inner > navi {
		position: absolute;
		top: 50px;
		right: 0;
		padding: 5px 0 10px;
		background-color: var(--header-sub-menu-bg-color);
	}	
	
	/* style2 */
	header.style2 {
		position: fixed;
		top: 0;
		left: 0;
		width: 100%;
		z-index: 999;
	}
	
	header.style2 > .inner {
		position: absolute;
		top: 0;
		right: 0;
		padding: 0;
		background-color: #fff;
		display: none;
	}
	
	header.style2 > .inner > .logo {
		font-size: 18px;
		padding: 20px 50px 0px 20px;
	}
	
	header.style2 > .inner > navi {
		padding: 10px 20px 20px;
		display: block;
	}
	
	/* powered by Sangyo Navi */
	.powered {
		display: block;
		font-family: "游ゴシック Medium", "游ゴシック体", "Yu Gothic Medium", YuGothic, "ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
		font-size: 12px;
		color: #bbb;
		text-align: right;
		margin: 5px 10px 0;
		padding: 3px 5px 0;
		border-top: 1px solid #ddd;
	}

	
	/* -----------------------------------------------------------------------------
	 Top Contents
	----------------------------------------------------------------------------- */
	#top-contents {
		/* max-width: 1200px; */
		width: 100%;
		margin: 0 auto;
		position: relative;
	}
	
	#top-contents .slider img {
		width: -50%;
		height: 70vw;
		min-height: 300px;
  		object-fit: cover;
	}
	
	#top-contents .slider {
		position: relative;
		z-index: 1;
	}
	
	#top-contents .layer1 {
		position: absolute;
		top: 5vw;
		left: 5vw;
		z-index: 5;
	}
	#top-contents .layer1 p{
		font-weight: 900;
		font-size: 3.7vw;
		line-height: 1.5;
		color: #666666;
	}
	

	#top-contents .layer2 {
		position: relative;
		top: 45vw;
		right: 0;
		background-color: #4b4b4b;
		z-index: 7;
	}
	#top-contents .layer2 h1{
		font-size: 0.7em;
		text-align: left;
		padding: 5px;
		color: #fff;
		font-weight: 400;
		line-height: 1.5;
	}
	
	#top-contents .layer3 {
		position: absolute;
		top: 57vw;
		left: 54.5vw;
		font-size: 2.3vw;
		
		z-index: 9;
		width:45.5vw;
		text-align: center;
	}
	#top-contents .layer3 img{
		width: 30vw;
	}
	#top-contents .layer3 h2 {line-height: 1;
font-size:  3.25vw;/*デザインに応じて要調整*/
font-weight: 800;
color: #000;/*必要に応じて調色可*/
}
	#top-contents .layer3 p{
		font-weight: 700;line-height: 1;margin-bottom: .75em;font-size:2.5vw;
		color: #5C5C5C;
	}
	
	#top-contents .layer4 {
		position: absolute;
		top: 29vw;
		left: 3vw;
		z-index: 10;
	}
	
	#top-contents .layer4 img{
		padding-right: 1.5vw;
	    width: 50vw; }
	

	
	#top-contents .layer5 {
		position: absolute;
		top: 30vw;
		left: 54.5vw;
		width:45.5vw;
		z-index: 10;
		text-align: center;
	}
	#top-contents .layer5 img{width: 65%;margin: 0 auto;}
	
	
	
	#top-contents .layer6 {
		position: absolute;
		top: 67%;
		left: 64%;
		width: 25vw;
		font-size: 1.4vw;
		transform: translateY(-50%);
		-webkit-transform: translateY(-50%);
		-ms-transform: translateY(-50%);
		z-index: 6;
	}
	
	#top-contents .layer6 .hukkaru {
font-size: 1.0em;
font-weight: 800;
color: #c30036;
}
	
	#top-contents .layer7 {
		position: absolute;
		top: 5%;
		left: 5%;
		width: 50%;
		z-index: 10;
	}
	
	#top-contents .layer8 {
		position: absolute;
		top: 5%;
		left: 5%;
		width: 50%;
		z-index: 10;
	}
	
	#top-contents .layer9 {
		position: absolute;
		top: 5%;
		left: 5%;
		width: 50%;
		z-index: 10;
	}
	
	#top-contents .layer10 {
		position: absolute;
		top: 5%;
		left: 5%;
		width: 50%;
		z-index: 10;
	}
	
	
	/* -----------------------------------------------------------------------------
	 Breadcrumb
	----------------------------------------------------------------------------- */
	#breadcrumb {
		font-size:0.85em;
		max-width:1200px;
		margin:0 auto;
		padding:15px 10px;
		text-align:left;
		background-color: var(--body-bg-color);
	}

	#breadcrumb .login {
		width:120px;
		text-align:right;
		float:right;
	}

	#breadcrumb .login img {
		margin-right:5px;
		vertical-align:top;
	}

	#breadcrumb .login a {
		color: var(--body-font-color);
		text-decoration:none;
		border: none;
	}
	#breadcrumb .login a:hover {
		color: #E32828;
		text-decoration:none;
		border: none;
	}

	#breadcrumb .bc {

	}

	#breadcrumb .bc img {
		width:14px;
		vertical-align:top;
	}

	#breadcrumb .bc a {
		color: var(--body-font-color);
		text-decoration:none;
		border: none;
	}
	#breadcrumb .bc a:hover {
		color: #E32828;
		text-decoration:none;
		border: none;
	}
	
	
	/* -----------------------------------------------------------------------------
	 contents
	----------------------------------------------------------------------------- */
	main .contents {
		background-color: var(--body-bg-color);
		overflow: hidden;
	}
	
	main .contents.fixed {
		background-color: transparent;
	}
	
	main .contents .fixed-bg {
		position: fixed;
		top: 0;
		left: 0;
		width:100%;
		height:100vh;
		z-index:-1;
	}
	
	.w1024 {
		height: auto !important;
		margin: 40px 10px;
	}
	
	main .contents:first-child .w1024 {
		margin-top: 0;
	}
	
	.w1024.bg {
		background-color: #fff;
		padding:20px;
	}
	
	.layer {
		position: static;
		width: auto !important;
		width: 100% !important;
	}

	.contents section {
		margin-bottom: 40px;
	}
	
	
	
	
	
	
	
	/* -----------------------------------------------------------------------------
	 Footer
	----------------------------------------------------------------------------- */
	footer {
		position: relative;
		font-size: 0.92em;
		padding: 50px 0 30px;
		background-color: var(--footer-bg-color);
		-moz-box-sizing: border-box;
		box-sizing: border-box;
		margin-bottom: 50px;
	}
	
	footer .pagetop a {
		position: absolute;
		top: -30px;
		left: 50%;
		width: 50px;
		height: 50px;
		margin-left: -25px;
		border: 2px solid var(--footer-arrow-bg-color);
		background-color: var(--footer-arrow-bg-color);
		text-decoration: none;
		border-radius: 50%;
		-moz-border-radius: 50%;
		-webkit-border-radius: 50%;
		-moz-box-sizing: border-box;
		box-sizing: border-box;
		display: block;
	}
	
	footer .pagetop a::before {
		color: var(--footer-arrow-color);
		font-size: 20px;
		content: "▲";
		margin-top: 14px;
		text-align: center;
		line-height: 1em;
		display: block;		
	}
	
	footer .inner {
		margin: 0 10px;
	}
	
	footer .pagetop a span {
		display: none;
	}

	footer .login {
		margin: 40px auto 0;
		text-align:center;
		display: block;
	}

	footer .login img {
		margin-right:5px;
		vertical-align:middle;
	}

	footer .login a {
		color: var(--footer-txt-color);
		text-decoration:none;
		border: none;
		display: inline-block;
	}
	footer.login a:hover {
		color: #E32828;
		text-decoration:none;
	}

	footer .copy {
		color: var(--footer-txt-color);
		margin-top: 20px;
		text-align: center;
	}
	footer .copy a{
		border: none;
	}
	footer .copy img{
		margin-bottom: 10px;
	}
	footer{border-top: var(--footer-top-border-size) solid var(--footer-top-border-color);}
	
	
	/* -----------------------------------------------------------------------------
	 parts
	----------------------------------------------------------------------------- */
	.parts-txt-img .left {
		width: auto !important;
		margin-bottom: 1.5em;
	}
	
	.parts-txt-img .left img {
		max-width: 100%;
		height: auto;
		width /***/:auto;
	}
	
	.parts-txt-img .right {
		width: auto !important;
		margin-bottom: 1.5em;
	}
	
	.parts-txt-img .right img {
		max-width: 100%;
		height: auto;
		width /***/:auto;
	}
	
	.parts-txt-img .overflow {
		width: auto !important;
		margin-bottom: 1.5em;
		text-align: center;
	}
	
	.parts-txt-img .overflow img {
		max-width: 10%;
		height: auto;
		width /***/:auto;
	}	
	
	/* parts-img-box */
	.parts-img-box {
		max-width: none;
		width: 100%;
		margin: 0 0 10px;
		display: block;
	}
	
	.parts-img-box:after {
	  content: "."; 
	  display: block; 
	  height: 0; 
	  clear: both; 
	  visibility: hidden;
	}

	.parts-img-box {
		display:inline-table;
		zoom:1;
	}

	* html .parts-img-box {
		height:1%;
	}

	.parts-img-box {
		display:block;
	}
	
	.parts-img-box li {
		width: 50%;
		padding: 0 5px 10px 0;
		display: block;
		float: left;
		-moz-box-sizing: border-box;
		box-sizing: border-box;
	}
	
	.parts-img-box li:nth-child(even) {
		padding: 0 0 10px 5px;
	}
	
	.parts-img-box li img {
		max-width: 100%;
		height: auto;
		width /***/:auto;
	}
	
	/* parts-table */
	.parts-table {
		max-width: 100%;
		margin: 0 0 0;
		border: none;
		border-collapse: collapse;
		border-spacing: 0;
	}
	
	.parts-table tr {
		margin-bottom: 1em;
		display: block;
	}
	
	.parts-table th,
	.parts-table td {
		display: block;
	}
	
	/* parts-sns */
	.parts-sns > .left {
		width: auto;
		float: none;
	}

	.parts-sns > .right {
		width: auto;
		float: none;
	}
	
	.parts-sns > .right * {
		width: 100% !important;
	}
	
	.parts-sns iframe {
		width: 100% !important;
	}

	
	
	/* -----------------------------------------------------------------------------
	 財団カスタマイズ
	----------------------------------------------------------------------------- */
	
	/* parts-txt-img2 */
	.parts-txt-img2{
		-js-display: flex;
		display: flex;
		flex-direction: column;
		
	}
	.parts-txt-img2 .r-img,
	.parts-txt-img2 .l-img{
		float: none;
		width: 100%;
		box-sizing: border-box;
		order: 2;
		margin-bottom: 1em;
	}
	.parts-txt-img2 .r-img{
		margin-left: 0;
	}
	.parts-txt-img2 .l-img{
		margin-right: 0;
	}
	.parts-txt-img2 .for-tab{order: 1;border-bottom: dashed 1px #ccc;padding-bottom: .25em;margin-bottom: 1em;}
	.parts-txt-img2 .l-txt,
	.parts-txt-img2 .r-txt{order: 3;padding: 0 1em;}
	.parts-txt-img2 .r-img img,
	.parts-txt-img2 .l-img img{
		width: 400px;
		max-width: 100%;
	}
	
	/* 3分割 */
	.trisection{
		flex-wrap: wrap;
	}
	.trisection .left,
	.trisection .center,
	.trisection .right{
		width: 49.5%;
	}

	/* 4分割 */
	.quarter{
		flex-wrap: wrap;
	}
	.quarter .left1,
	.quarter .left2,
	.quarter .right1,
	.quarter .right2{
		width: 49.5%;
	}

	/* fukidashi */
	.fukidashi-area{
		margin: 10px;
		padding: 5px 10px 20px;
		justify-content: space-around;
	}
	.fukidashi-area ul{
		margin: 10px 0;
	}
	.fukidashi-area ul li{
		margin: 5px 5px 20px;
		padding: 10px 15px;
	}
	/* 右寄せにする吹き出し　数字＝●番目 */
	.fukidashi-area ul li:nth-child(2), 
	.fukidashi-area ul li:nth-child(5),
	.fukidashi-area ul li:nth-child(6){
		margin-left: auto;
	}
	.fukidashi-area ul li:last-child{
		margin: auto;
	}
	
	/* flow 横 */
	.flow-area1 ul{
		align-items: center;
	}
	.flow-area1 ul li{
		-js-display: flex;
		display: flex;
		align-items: center;
		justify-content: space-around;
		width: auto;
		margin: 10px auto;
	}
	.flow-area1 ul li p.flow_head{
		margin-bottom: auto;
		order: 1
	}
	.flow-area1 ul li p.flow_bottom{
		order: 2
	}
	.flow-area1 ul li img{
		width: 30%;
		margin: 0;
		order: 3;
	}
	.flow-area1 ul li:before{
		left: 45%;
		top: 100%;
		border-width: 20px 20px 0 20px;
		border-color: #FFDFAA transparent transparent transparent; /* 矢印の色 */
	}
	.flow-area1 ul li:first-child{
		margin-top: 0;
	}
	
	
		/* flow 横 */
	.flow-area1 ul{
		align-items: center;
	}
	.flow-area1 ul li{
		-js-display: flex;
		display: flex;
		align-items: center;
		justify-content: space-around;
		width: auto;
		margin: 10px auto;
	}
	.flow-area1 ul li p.flow_head{
		margin-bottom: auto;
		order: 1
	}
	.flow-area1 ul li p.flow_bottom{
		order: 2
	}
	.flow-area1 ul li img{
		width: 30%;
		margin: 0;
		order: 3;
	}
	.flow-area1 ul li:before{
		left: 45%;
		top: 100%;
		border-width: 20px 20px 0 20px;
		border-color: #ebebeb transparent transparent transparent; /* 矢印の色 */
		border-top-color:var(--main-color) ;
	}
	.flow-area1 ul li:first-child{
		margin-top: 0;
	}
	
	/* flow 横 3 */
	.flow-area3 ul{
		align-items: center;
	}
	.flow-area3 ul li{
		-js-display: flex;
		display: flex;
		align-items: center;
		justify-content: space-around;
		width: auto;
		margin: 10px auto;
		font-size: 2.0vw;
	}
	.flow-area3 ul li p.flow_head{
		margin-bottom: auto;
		order: 3;
	}
	.flow-area3 ul li p.flow_bottom{
		order: 2;
	}
	.flow-area3 ul li img{
		width: 20%;
		margin: 0;
		order: 1;
	}
	.flow-area3 ul li:before{
		left: 45%;
		top: 100%;
		border-width: 20px 20px 0 20px;
		border-color: #ebebeb transparent transparent transparent; /* 矢印の色 */
	}
	.flow-area3 ul li:first-child{
		margin-top: 0;
	}
	.flow-note{margin-right: -10px;}
	.flow-note li{
		margin-right: 10px;
		width: calc((100% / 3) - 10px);
		min-width: 185px;
}
.flow-note::after {
	width: calc(100% / 3) ;
	min-width: 195px;
}
	
	
	
	/* 会社概要 */
	.cpn_tbl table th,
	.cpn_tbl table td{
		display: block;
	}
	.cpn_tbl table th{
		border-bottom: none;
		padding: 7px 0 0 5px;
	}
	
	/* お問合せ */
	.contact{
		flex-direction: column;
		margin: 0;
	}
	.contact .left,
	.contact .right{
		width: 100%;
	}
	.contact .left:after{
		width: 0;
	}
	.contact .left a{
		font-size: calc(1.5em + 2vw);
	}
	.contact .right{
		margin-top: 20px;
	}
	
/* 横問合せボタン */
	.cv_btn_area {
		right: auto;
		left: 0;
		top: auto;
		bottom: 0;
		width: 100%;
		overflow: hidden;
	}
	.cv_btn_area .btn {
		align-items: flex-end;
		display: -webkit-box;
		display: -ms-flexbox;
		display: flex;
	}
	.cv_btn_area .btn a {
		flex-direction: row;
		height: 50px;
		font-size: 13px;
		display: -webkit-box;
		display: -ms-flexbox;
		display: flex;
		justify-content: center;
		align-items: center;
		padding: 15px 0px;
		border-radius: 0;
		text-align: center;
		width: 100%;
		margin-bottom: 0;
	}
	.cv_btn_area .btn a i {
		display: inline-block;
		height: auto;
		width: 30px;
		margin-bottom: 0;
		margin-right: 10px;
	}
	.cv_btn_area .btn a br {
		display: none;
	}
	
	
	/* レスポンシブ出し分け */
	.for-pc{
		display: none;
	}

	.for-tab{
		display: block;
	}
	.pc-br{display: none;}
	
	

	/* -----------------------------------------------------------------------------
	 個別設定
	----------------------------------------------------------------------------- */
	#top-contents .layer2 {
    right: 0;
    top: initial;
}
#top-contents .layer2 h2 {
	font-size: .5em;
}
	
	.con-chatch {
    	font-size: 1.7rem;
	}
	
		/* --------　con1　流れ-------- */
	.flow-area3 ul li,
	.flow-area3 ul li:nth-child(2),
	.flow-area3 ul li:nth-child(3) {
		width: 100%;
		margin: 10px auto;
	}
	.flow-area3 ul li img {
	width: 30%;margin-right: 0;max-width: none;margin-bottom: 0}
	.flow-area3 ul li .flow-txt{width: calc(70% - 20px);}
	
	/* 利用開始まで */
	.flow-area1 ul li{
	width: 75%; 
	max-width: 500px;
	align-items: center;
}

.contents .flow-area1 li:last-child{margin: 10px auto;}
.flow-area1 ul li:before{
	top:initial;
	bottom: -30px;
	/*border-color: var(--main-color) transparent transparent transparent;*/
}
.flow-area-txt{
	width: 100%;
	text-align: left;
	padding-left: 1em;
}
.flow-area1 ul li p.flow_head{display: inline-block;}	

	.flow-h6 {
		/*flex-direction: column;align-items: flex-start;*/flex-wrap: wrap}
	.flow-h6 .h6-deco{margin-bottom: .35em;}
	
}
@media screen and (min-width: 0px) and (max-width: 768px) {
	.only-pc{display: none;}
	
	.w1024 {margin: 60px 10px;}
}
