@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: 18px;
		padding: 0 50px 0 10px;
	}
	header > .inner > .logo a{
		white-space: nowrap;
	}
	header > .inner > .logo img{
		height: 34px;
		vertical-align: middle;
		margin-right: 5px;
		margin-bottom: 5px;
	}
	
	header > .inner > navi{
		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: #515151;
		margin: 0;
		padding: 5px 20px;
		display: block;
		width: 100%;
		height: 100%;
	}

	header > .inner > navi > .translation {
		padding: 5px 20px;
		display: block;
	}
	
	
	/* bt-menu */
	#bt-menu {
		display: none;
		position: absolute;
		top: 0;
		right: 0;
		width: 50px;
		height: 50px;
		background-color: #fff;
		z-index: 10;
		cursor: pointer;
	}
	
	#bt-menu span {
		position: absolute;
		top: 24px;
		right: 10px;
		width: 30px;
		height: 2px;
		background-color: #aaa;
		transition: .3s;
	}
	
	#bt-menu span::before {
		position: absolute;
		top: -10px;
		right: 0;
		content: "";
		width: 30px;
		height: 2px;
		background-color: #aaa;
		display: block;
		transition: .3s;
	}
	
	#bt-menu span::after {
		position: absolute;
		top: 10px;
		right: 0;
		content: "";
		width: 30px;
		height: 2px;
		background-color: #aaa;
		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: #fff;
		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: #fff;
	}	
	
	/* 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: 100%;
		height: auto;
		min-height: 220px;
  		object-fit: cover;
		object-position: 70% center;
	}
	
	#top-contents .slider {
		position: relative;
		z-index: 1;
	}
	
	#top-contents .layer1 {
		position: absolute;
		bottom: 3%;
		right: 5%;
		z-index: 5;
	}
	#top-contents .layer1 p{
		font-family: 'Allura', cursive;
		font-size: 2.8em;
		color: rgba(255,255,255,0.80);
		line-height: 1.5;
	}
	#top-contents .layer1 p .num{
		margin-left: 20px;
	}
	
	#top-contents .layer2 {
		position: absolute;
		top: 20%;
		right: 5%;
		z-index: 7;
	}
	
	#top-contents .layer3 {
		position: absolute;
		bottom: 5%;
		right: 5%;
		width: 50%;
		z-index: 9;
	}
	#top-contents .layer3 img{
		width: 100%;
	}
	
	#top-contents .layer4 {
		position: absolute;
		top: 5%;
		left: 5%;
		width: 50%;
		z-index: 10;
	}
	
	#top-contents .layer5 {
		position: absolute;
		top: 5%;
		left: 5%;
		width: 50%;
		z-index: 10;
	}
	
	#top-contents .layer6 {
		position: absolute;
		top: 5%;
		left: 5%;
		width: 50%;
		z-index: 10;
	}
	
	#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;
		line-height: 1.8;
		text-align:left;
		background-color: #fff;
	}

	#breadcrumb .login {
		width:120px;
		text-align:right;
		float:right;
	}

	#breadcrumb .login img {
		margin-right:5px;
		vertical-align:top;
	}

	#breadcrumb .login a {
		color:#515151;
		text-decoration:none;
	}
	#breadcrumb .login a:hover {
		color:#E32828;
		text-decoration:none;
	}

	#breadcrumb .bc {

	}

	#breadcrumb .bc img {
		width:14px;
		vertical-align:top;
	}

	#breadcrumb .bc a {
		color:#515151;
		text-decoration:none;
	}
	#breadcrumb .bc a:hover {
		color:#E32828;
		text-decoration:none;
	}
	
	
	/* -----------------------------------------------------------------------------
	 contents
	----------------------------------------------------------------------------- */
	main .contents {
		background-color: #fff;
		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: #fff;
		box-shadow: 0 -1px 6px rgb(0 0 0 / 10%);
		-moz-box-sizing: border-box;
		box-sizing: border-box;
		font-weight: 300;
		margin-bottom: 50px;
	}
	
	footer .pagetop a {
		position: absolute;
		top: -30px;
		left: 50%;
		width: 50px;
		height: 50px;
		margin-left: -25px;
		border: 2px solid #fff;
		background-color: #ccc;
		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: #fff;
		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:#fff;
		text-decoration:none;
		display: inline-block;
	}
	footer.login a:hover {
		color:#E32828;
		text-decoration:none;
	}

	footer .copy {
		margin-top: 20px;
		text-align: center;
	}
	
	
	/* -----------------------------------------------------------------------------
	 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: 100%;
		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 .r-img,
	.parts-txt-img2 .l-img{
		width: 42%;
	}
	.parts-txt-img2 .r-img{
		margin-left: 10px;
	}
	.parts-txt-img2 .l-img{
		margin-right: 10px;
	}
	
	/* 2分割 */
	.half{
		flex-direction: column;
		justify-content: center;
	}
	.half .left,
	.half .right{
		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;
	}
	
	/* 会社概要 */
	.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 {
		height: 20px;
		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: 0 10px;
	}
	.cv_btn_area .btn a br {
		display: none;
	}
	
	
	/* レスポンシブ出し分け */
	.for-pc{
		display: none;
	}

	.for-tab{
		display: block;
	}
	
	
	
	

	/* -----------------------------------------------------------------------------
	 個別設定
	----------------------------------------------------------------------------- */

	/* 背景 */
	.bg1{
		background-size: 60%!important;
	}
	
	.half.talk1{
		display: flex;
		flex-direction: column-reverse;
	}
	
	.half.talk1 .right,
	.half.talk1.talk2 .left{
		width: 80%;
		max-width: 400px;
		margin-bottom: 20px;
	}
	.half.talk1 .right{
		margin-left: auto;
		margin-right: 10px;
	}
	.half.talk1.talk2 .left{
		margin-right: auto;
		margin-left: 10px;
	}
	.half.talk1 .left,
	.half.talk1.talk2 .right{
		width: 100%;
		max-width: 100%;
	}
	
	.mt20_pc{
		margin-top: 0;
	}
	
	.talk3 .left{
		order: 2;
	}
	.talk3 .right{
		order: 1;
	}
	
	
	
}