/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/* 
    Created on : 2020/12/07, 14:45:19
    Author     : maeda
*/

/* フレックスボックスの基本設定 */
[class^="flex-col"] {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}

/* コンテンツ下のマージン */
.flex-child { 
    margin-top: 10px;
    margin-bottom: 30px;
}

/* 各カラム毎のコンテンツと疑似要素の横幅 */
.flex-col2 .flex-child { width: calc( (100% - 10px) / 2 ); }

.flex-col3::after,
.flex-col3 .flex-child { width: calc( (100% - 20px) / 3 ); }

.flex-col4::before,
.flex-col4::after,
.flex-col4 .flex-child { width: calc( (100% - 30px) / 4 ); }

.flex-col5::before,
.flex-col5::after,
.flex-col5 .flex-child { width: calc( (100% - 40px) / 5 ); }


/* 最終行は両端揃えにしない */
.flex-col3::after,
.flex-col4::before,
.flex-col4::after { content: ""; }
.flex-col5::before,
.flex-col5::after { content: ""; }

.flex-col4::before { order: 1; }
.flex-col5::before { order: 1; }

/* レスポンシブ対応 */
/* 991px以下で5列 → 4列 */
@media screen and (max-width: 991px) {
	.flex-col5::after,
	.flex-col5 .flex-child { width: calc( (100% - 30px) / 4 ); }
}
/* 767px以下で5列・4列・3列 → 3列 */
@media screen and (max-width: 767px) {
	.flex-col3 .flex-child,	
	.flex-col4 .flex-child,	
	.flex-col5 .flex-child { width: calc( (100% - 20px) / 3 ); }
}
/* 575px以下で全て1列 */
@media screen and (max-width: 575px) {
	.flex-col2 .flex-child,
	.flex-col3 .flex-child,
	.flex-col4 .flex-child,
	.flex-col5 .flex-child { width: 100%; }
}

/* 991px以下で4列 → 3列 
@media screen and (max-width: 991px) {
	.flex-col4::after,
	.flex-col4 .flex-child { width: calc( (100% - 20px) / 3 ); }
}*/

/* 767px以下で4列・3列 → 2列 
@media screen and (max-width: 767px) {
	.flex-col3 .flex-child,	
	.flex-col4 .flex-child { width: calc( (100% - 10px) / 2 ); }
}*/

/* 575px以下で全て1列 
@media screen and (max-width: 575px) {
	.flex-col2 .flex-child,
	.flex-col3 .flex-child,
	.flex-col4 .flex-child { width: 100%; }
}*/

.flex-child img { width: 100%; }

/* コンテンツ枠をボーダーで囲む */
.flex-with-border {
	/*padding: 20px;*/
	border: 0px solid #ddd;
	border-radius: 4px;
        background-color: inherit;
}

/* キャプションをセンタリング */
.flex-child .wp-caption{
	text-align: center ;
}
.flex-text {
	text-align: center ;
}

div.flyer .sod_select {
    width: 250px !important;
}
div.flyer span#custom .sod_list_wrapper {
    width: 250px;
}
div.flyer .sod_option {
    width: 250px !important;
}
/* hover str */
.image_zoom {
	overflow: hidden;	/*拡大時にはみ出た部分を隠す*/
	width: 100%;	/*画像の幅*/
	height: 100%;	/*画像の高さ*/
}
.image_zoom img {
	display: block;
	transition-duration: 0.3s;	/*変化に掛かる時間*/
}
.image_zoom img:hover {
	transform: scale(1.1);	/*画像の拡大率*/
	transition-duration: 0.3s;	/*変化に掛かる時間*/
}
/* hover end */

/*20201216　追加　MFT共通*/
.hr_deco{
	border-top: 3px double #3c69b0;
}
.mft_h5_deco{
	font-weight: bold;
	margin: 5px 0 5px;
	/*font-size: 2em;
	line-height: 2em;*/
}
.mft_feature h6{
	text-decoration: underline;
	margin-top: 30px;
	margin-bottom: 15px;
	margin-left: 1em;
	font-size: 1.5em;
	font-weight: bold;
}
.line_1{
	line-height: 2em;
	height: 2em;
	width: 100%;
}
/*上付き文字*/
.s_script{
	vertical-align: super;
	font-size: 0.8em;
}


/*20201215　追加 MFTとは*/
.box_01{
	border: 2px solid darkred;
	border-radius: 10px;
	position: relative;
	margin: 30px 5px 5px 5px;
	display: inline-block;
	width: 100%;
	background-color: white;
	padding: 5px 20px 20px;
}
.box_01 .title{
	text-align: center;
	position: absolute;
	/*left: 0.5vmax;*/
	top: -1em;
	background: linear-gradient(indianred,darkred);
	width: 18em;
	min-width: 250px;
	line-height: 2em;
	font-size: 1.5em;
}
.box_01 span{
	padding: 0 .5em;
	color: #FFFFFF;
}
.box_01 .inner{
    padding: 1.8em .5em .5em;
}
.box_02{
	border: 2px solid darkorange;
	border-radius: 10px;
	position: relative;
	margin: 30px 5px 5px 5px;
	display: inline-block;
	width: 100%;
	background-color: white;
	padding: 5px 20px 20px ;
}
.box_02 .title{
	text-align: center;
	position: absolute;
	/*left: 0.5vmax;*/
	top: -1em;
	background: linear-gradient(darkorange,brown);
	width: 18em;
	min-width: 250px;
	line-height: 2em;
	font-size: 1.5em;
}
.box_02 span{
	padding: 0 .5em;
	color: #FFFFFF;
}
.box_02 .inner{
    padding: 1.8em .5em .5em;
}

.box_03{
	border: 2px solid steelblue;
	border-radius: 10px;
	position: relative;
	margin: 30px 5px 5px 5px;
	display: inline-block;
	width: 100%;
	background-color: white;
	padding: 5px 20px 20px;
}
.box_03 .title{
	text-align: center;
	position: absolute;
	/*left: 0.5vmax;*/
	top: -1em;
	background: linear-gradient(skyblue,royalblue);
	width: 18em;
	min-width: 250px;
	line-height: 2em;
	font-size: 1.5em;

}
.box_03 span{
	padding: 0 .5em;
	color: #FFFFFF;
}
.box_03 .inner{
    padding: 1.8em .5em .5em;
}
@media screen and (max-width: 575px){
	.box_01 .title{
		line-height: 2em;
		top: -1em;
		font-size: 1.1em;
	}
	.box_02 .title{
	    line-height: 2em;
		top: -1em;
		font-size: 1.1em;
	}
	.box_03 .title{
		line-height: 2em;
		top: -1em;
		font-size: 1.1em;
	}
}

@media screen and (max-width: 370px){
	.box_01 .title{
		line-height: 2em;
		top: -1em;
		font-size: 0.9em;
	}
	.box_02 .title{
		line-height: 2em;
		top: -1em;
		font-size: 1.0em;
	}
	.box_03 .title{
		line-height: 2em;
		top: -1em;
		font-size: 1.0em;
	}
}

.mft_font_deco{
	font-size: 1.25em;
	text-align: left;
	padding: 0px 0px 0px 20px;
}
.mft_explanation p{
	padding: 10px 0 0 50px;
	text-align: left;
}
/*20201216 追加　開発から量産までの流れ*/
.ex_box{
	border: 1px solid black;
	padding: 10px;
	margin: 10px 0;
}
.sample{
	float: left;
	margin-left: 1.5em;
	font-weight: normal;
}
.breadboard{
	height: 100%;
}
.breadboard dt{
	font-weight: normal;
}
.breadboard dd{
	margin-left: 1.5em;
}
.mft_contact{
	margin-left: 2.5em;
}
@media screen and (max-width: 575px){
	.mft_contact{margin: 1em;}
}
.mft_contact a{
	color: #3c69b0;
	text-decoration: underline;
}
.sticky_back{
	display:block;
	width: 100%;
	height: 100%;
	position: fixed;
	pointer-events: none;
	z-index: 99;
	top: 0;
	right: 0;
	margin-top: 30%;
}
@-moz-document url-prefix() {
  /* ここに書く */
  .sticky_back{
    left: calc(100% - 50px);
  }
}
.sticky_relative{
/*	display: block;
	position: absolute;
	right: 0;
	top:50%;*/
}
.mft_contact_sticky{
	position: -webkit-sticky;
	position: sticky;
	/*top: 0;*/
	left: 100%;
	width: 50px;
	height: 190px;
	border-top: 2px solid lightblue;
	border-bottom: 2px solid lightblue;
	border-left: 2px solid lightblue;
	border-right: 0px none;
	border-radius: 10px 0 0 10px;
	background-color: white;
	text-align: center;
	font-weight: bold;
	line-height: 4em;
	-ms-writing-mode: tb-rl;
  	writing-mode: vertical-rl;
	z-index: 9999;
	pointer-events: painted;
}
.mft_contact_sticky a{text-decoration: none;}
.mft_contact_sticky:hover{
	border: none;
	background-color: lightblue;
}
.image_box{
	display: flex;
	/*background-color: white;*/
	width: 100%;
	height: 100%;
	position: relative;
    flex-direction: row;
    align-items: flex-end;
	padding-left: 10px;
}
.image_box .box01{
	width: 25%;
	height: 100%;
	position: relative;
	display: inline-block;
	text-align: center;
}
.image_box .box02{
	width: 50%;
	height: 100%;
	position: relative;
	display: inline-block;
	text-align: center;
}
.image_box .box03{
	width: 25%;
	height: 100%;
	position: relative;
	display: inline-block;
	text-align: center;
}
.image_box .box01 img{
	height: 137px;
	width: auto;
}
.image_box .box02 img{
	height: 137px;
	width: auto;
}
.image_box .box03 img{
	height: 137px;
	width: auto;
}
.image_box2{
	width: 50%;
	margin: 10px auto;
}
@media screen and (max-width: 575px){
	.image_box{
	display: inherit;
	background-color: transparent;
	width: 100%;
	padding-left: 0px;
    }
	.image_box .box01{
		width:45%;
	}
	.image_box .box03{
		width:45%;
	}
	.image_box .box02{
		width: 100%;
	}
	.image_box2{
		width: 100%;
	}
}
/*20201217　追加　汎用MFT*/
.mft_th_small{
	font-size: 0.7em;
	margin: 0;
	padding: 0;
	text-align:justify; 
	overflow: visible;
}
.notes_box{
	width: 30em;
	margin:0 0 0 auto;
}
.notes{
	font-size: 0.8em;
	color: #3c69b0;
	margin-bottom: 30px;
	position: relative;
}
.notes_r{
	margin:0 0 0 auto;
	text-align: right;
}
@media screen and (max-width: 575px){
	.notes{
		font-size: 0.7em;
	}
	.notes_r{
		margin: 0;
		text-align: inherit;
	}
	
}
.notes a{
	color: red;
	text-decoration: underline;
}
.sp_table table,.sp_table tr,.sp_table th, .sp_table td{
	padding: 7px !important;
}
@media screen and (max-width: 575px){
	.sp_table table,.sp_table tr,.sp_table th, .sp_table td{
		padding: 1px !important;
		margin: 0 !important;
		font-size: 0.8em;
	}
}
.mft_standerd_tbl .table_mft thead th{
	background-color: #3c69b0;
	color: #ffffff;
}
/*20201218　追加　パッケージ*/
.support_tool_package_mft {
    background-color: #fff;
    text-align: center;
    margin-bottom: 1.6rem;
}
.support_tool_package_mft .imagebox_mft{
	height: 300px;
}
.support_tool_package_mft .name {
    padding: 10px;
    background-color: #848383;
    color: #fff;
}
@media screen and (max-width: 575px){
	.support_tool_package_mft .imagebox_mft{
		height: 100%;
		min-height: 270px;
	}
}
/*20201218 追加　採用事例*/
.mfh_cs_img{
	position: relative;
}
.mft_cs_title{
	position: absolute;
	right: 30px;
	top: 30px;
	border: 1px solid gray;
	font-size: 1.5em;
	color: #3c69b0;
	padding: 5px 10px;
}
@media screen and (max-width: 575px){
	.mft_cs_title{
		right: 20px;
		top: 20px;
		font-size: 1.0em;
		padding: 1px 5px;
		line-height: 1.5em;
	}
}
/*20201223 採用効果例*/
.mft_effect{
	margin-left: 2.5em;
}
/*20201223 tableのボーダー修正用*/
.table_mft {
    width: 100%;
    max-width: 100%;
    margin-bottom: 1rem;
}
.table_mft th, .table_mft td {
    padding: .75rem;
    line-height: 1.5;
    /*vertical-align: top;*/
    border-top: 1px dotted black !important;
}
.table_mft thead th {
    border-bottom: 1px dotted black !important;
}
.table_mft .last{
	border-bottom: 1px solid gray !important;
}
.table_mft .first{
	border-top: 1px solid gray !important;
}
.table_mft{
	border: 1px solid gray;
}
