@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%;
	}
	
	header > .inner > .logo {
		font-size: 16px;
		padding: 0 50px 0 10px;
	}
	header > .inner > .logo a{
		color: #666;
	}
	header > .inner > .logo a img{
		height:26px;
		vertical-align: middle;
	}		
	
	header > .inner > navi > ul {
		display: block;
	}
	
	header > .inner > navi > ul > li {
		padding-left: 0;
    	text-indent: 0;
	}
		
	header > .inner > navi > ul > li a {
		color: #333;
		font-size: .9em;
		margin: 0;
		padding: 5px 20px;
		display: block;
		width: 100%;
		height: 100%;
	}
	header > .inner > navi > ul > li a:before {
		border-bottom: 1px solid #69b828;
	}

	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: #fff;
		z-index: 10;
		cursor: pointer;
	}
	
	#bt-menu span {
		position: absolute;
		top: 24px;
		right: 10px;
		width: 30px;
		height: 2px;
		background-color: #666;
		transition: .3s;
	}
	
	#bt-menu span::before {
		position: absolute;
		top: -10px;
		right: 0;
		content: "";
		width: 30px;
		height: 2px;
		background-color: #666;
		display: block;
		transition: .3s;
	}
	
	#bt-menu span::after {
		position: absolute;
		top: 10px;
		right: 0;
		content: "";
		width: 30px;
		height: 2px;
		background-color: #666;
		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: 10px 0;
		background-color: rgba(255,255,255,0.95);
		box-shadow: -2px 2px 2px rgba(0,0,0,0.10);
	}	
	
	/* 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: #666;
		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: 500px;
  		object-fit: cover;
	}
	
	#top-contents .slider {
		position: relative;
		z-index: 1;
	}
	
	#top-contents .layer1 {
		position: absolute;width: 100%;
		top: 17%;
		right: 0%;
		transform: translateY(-50%);
		-webkit-transform: translateY(-50%);
		-ms-transform: translateY(-50%);
		padding-right: 10px;
		z-index: 5;
	}
	
	#top-contents .layer1 h1{
		font-family: 'Noto Sans JP', sans-serif;
		font-weight: 900;
		font-size: calc(1.2em + 1.2vw);
		line-height: calc(1.6em + 1vw);
		color:#fff;
		text-shadow: 5px 5px 2px rgba(0,0,0,0.6);
		text-align: left;
		padding-left:calc(100% - 92% - 3vw);
		
	}	
	
	
	#top-contents .layer1 h1 span{
		font-size: 200%;
	}			
	
	#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;
		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:#666;
		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:#666;
		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;
		color: #fff;
		background-color: #7E4808;
		-moz-box-sizing: border-box;
		box-sizing: border-box;
	}
	
	footer .pagetop a {
		position: absolute;
		top: -30px;
		left: 50%;
		width: 50px;
		height: 50px;
		margin-left: -25px;
		border: 2px solid #6f6f6f;
		background-color: #FFF;
		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: #6f6f6f;
		font-size: 20px;
		content: "▲";
		margin-top: 14px;
		text-align: center;
		line-height: 1em;
		display: block;		
	}
	
	footer .pagetop a:hover {
		background-color: #deb887;
		filter:alpha(opacity=100);
		-moz-opacity: 1;
		opacity: 1;
		transition: .3s;
	}	
	
	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 {
		color: #fff;
		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;
	}
	
	/* 3分割 */
	.trisection{
		flex-wrap: wrap;
	}
	.trisection .left,
	.trisection .center,
	.trisection .right{
		width: 48.0%;
	}

	/* 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;
		justify-content: center;
		margin-bottom: 0px;
	}
	.flow-area1 ul li{
		-js-display: flex;
		display: flex;
		align-items: center;
		justify-content: space-around;
		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 p.flow_head{
		font-size: .9em;
	}
	.flow-area1 ul li img{
		width: 50%;
		margin: 0;
		order: 3;
	}


	
	
	

	/* -----------------------------------------------------------------------------
	 個別設定
	----------------------------------------------------------------------------- */
	/* メニュー１ */
	.main_top1{
		margin: 2em 0;
	}
	.main_top1 p{
		font-size: 2em;
	}
	.main_top1 ul{
		flex-wrap: wrap;
		text-align: center;
		margin: 30px 0;
	}
	.main_top1 ul li{
		font-size: .9em;
		line-height: 1.8;
	}
	
	/* parts-h2 */
	.parts-h2 {
		line-height: 1.5;
	}
	
	/* 会社概要*/
	.cpn_tbl table th,
	.cpn_tbl table td {
		display: block;
		width: auto;
		border: none;
	}

	.cpn_tbl table th {	
		padding: 10px 10px 0;
	}

	.cpn_tbl table th:after{	
		background-color: transparent;
	}

	.cpn_tbl table td {			
		padding-left:27px;
	}
	
	.cpn_tbl table td a {			
		color: #0E42BC;
	}
	


	/* お問合せ */
	.contact{
		flex-direction: column;
		margin: 30px 0;
	}
	.contact .left,
	.contact .right{
		width: 100%;
		margin-bottom: 1em;
	}
	.contact .left:after{
		width: 0;
	}
	
	/* 画像3枚・2枚・3枚flex */
	.flex-3_2_3-img {
		margin-top: 12px;
	}

	.flex-3_2_3-img:nth-child(1), 
	.flex-3_2_3-img:nth-child(2),
	.flex-3_2_3-img:nth-child(3),
	.flex-3_2_3-img:nth-child(4), 
	.flex-3_2_3-img:nth-child(5),	
	.flex-3_2_3-img:nth-child(6),
	.flex-3_2_3-img:nth-child(7),
	.flex-3_2_3-img:nth-child(8){
		width: 48%;
	}	
	
	/* 2分割・3分割・4分割 */
	.half,
	.trisection,
	.quarter{
		flex-direction: column;
		justify-content: center;
	}
	.half .left,
	.half .right,
	.trisection .left,
	.trisection .center,
	.trisection .right,
	.quarter .left1,
	.quarter .left2,
	.quarter .right1,
	.quarter .right2{
		width: 100%;
	}

	/*halfスマホ:テキスト・画像配置順統一*/
	.fl-rv {
		flex-direction: column-reverse;
	}




