/*fadeinさせるためのcss*/

.fadein{
  opacity: 0;
  transform: translateY(30px);
  transition: all 1.5s;
}


/*TOPページを開いたときのアニメーション*/

.start{
  background: #ffffff;
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  z-index: 99999;
}

.start p{
  position: fixed;
  left: 0;
  top: 50%;
  transform: translate(-50%, -50%);
  display: none;
  z-index: 999999;
  width: 50%;
}

.start p img{
  width: 300%;
  text-align: center;
}



/*コピーライト*/


footer{
	padding: 0.7em;
	margin-top: 2.3em;
}

.copyright{
	text-align: right;
	color: #0066ff;
	font-size: small;
}




/*toTop*/

#page_top{
  width: 60px;
  height: 62px;
  position: fixed;
  right: 0;
  bottom: -150px;/*1番はじめload後の位置*/
}


#page_top a{
  position: relative;
  display: block;
  width: 60px;
  height: 62px;
}


#page_top a::before{
  content: "";
  background-image: url(../img/totop.png);
  background-repeat: no-repeat;
  background-size: 70%;
  width: 60px;
  height: 62px;
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  left: -225px;
  margin: auto;
  text-align: center;
}

/*

body{
	width: max-width;
	max-width: 1450px;
	margin: auto;
	color: #333333;
}

*/

header{
	display: flex;
	justify-content:space-between;
	margin-top: 10px;
}


header nav{
	width: 25%;
	line-height: 3.5em;
}


header .navE{
	width: 40%;
	line-height: 3.5em;

}

header nav ul{
	display: flex;
	justify-content:space-between;
}


header nav ul li{
	list-style: none;
	display: block;
	margin-right: 10px;
	font-size: 15px;
}


header nav ul li a {
  position: relative;
  display: inline-block;
  box-sizing: border-box;
  font-weight: bold;
  color: #333333;
}




/*hover*/

header nav ul li a:hover{
  color: #e2041b;
  font-weight: bold;
}


/*hover時下線*/

header nav ul li a::after {
  position: absolute;
  bottom: 0.7em;
  left: 0;
  content: '';
  width: 100%;
  height: 2px;
  background: #e2041b;
  transform: scale(0, 1);
  transform-origin: center top;
  transition: transform .5s;
}

header nav ul li a:hover::after {
  transform: scale(1, 1);
}



/*メインビジュアル*/

.slide{
  width: 99%;
  text-align: center;
  margin: auto;
}

.slide ul{
  position: relative;
  width: 99%;
  text-align: center;
  margin: auto;
  height: auto;
  padding-bottom: 60%;
  box-sizing: border-box;
}

.slide ul li{
  position: absolute;
  width: 100%;
}

.slide ul li img{
  height: auto;
  width: 99%;
}




section article{
	padding-top: 15px;
}



/*見出し装飾*/

h2{
	background-color: #ededed;
	border-left: 7px solid #87cefa;
	padding-left: 0.7rem;
	line-height: 2.5rem;
	font-size: 1.3em;
}



/*MIのロゴを赤く*/

h2 span{
	color: #e2041b;
}



/*お知らせ*/


html {
  -webkit-text-size-adjust: 100%; /* iOSの自動拡大防止 */
}



dl{
      display:wrap;
	margin-top: 0.5em;
	flex-wrap: wrap;
	padding: 0.7em;	
}

dl dt{
	float: left;
     margin-left: 2.7em;	
}

dl dd{
	/*flex-wrap: wrap;*/
	/*width: auto;*/
	/*clear: both;*/
	padding-left: 2.3em;
	margin-bottom: 1.3em;
}

dl dd a{
	color: #333333;
	padding: 0.1em 0.3em;
	position: relative;
	display: inline-block;
	transition: .3s;
}

dl dd a::after{
	position: absolute;
	bottom: .3em;
	left: 0;
	content: '';
	width: 100%;
	height: 1px;
	background-color: #111;
	opacity: 0;
	transition: .3s;
}

dl dd a:hover::after{
	bottom: 0;
	opacity: 1;
}


/*お知らせ一覧hover*/



#news p{
	text-align: right;
	margin-right: 5px;
	margin-bottom: 12px;
	padding: 0.5em;
	
}

#news p a{
	padding: 0.3em;
	color: #333333;
	border-bottom: 1px solid #333333;
	display: inline-block;
}

#news p a:hover{
    background-position: 99% 50%;
    color: #ffffff;
    cursor: pointer;
    background-color: #ccc;
    border-bottom: 1px solid #ccc;
}


/*ご挨拶*/

article div{
	padding: 2.3em;
}

article p{
	line-height: 120%;
	margin-top: 1.1em;
}

article p:nth-child(3){
	line-height: 140%;
}

.companyname{
	text-align: right;
	margin-top: 2.3em;
	font-size: 1.3em;
	font-family:  "游明朝","ＭＳ 明朝","ＭＳ Ｐ明朝", "HG明朝E",  serif, "Hiragino Mincho ProN W3", "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", serif;
	font-weight: bold !important;
}
/*.companyname span{
	color: #e2041b;
} */


/*ワークフロー*/

.workflow{
	padding: 0.7em;
	text-align: center;
	width: 100%;
}

.workflow img{
	width: 67%;
	height: auto;
}



/*社長あいさつ*/
.profile-photo {
  float: left;
 /* width: 400px;*/
  max-width: 40%;
  margin: 0 30px 20px 0;
  border-radius: 8px;
}

.greeting {
  line-height: 1.8;
}


/*会社概要＆Map*/

.companyplofile{
	display: flex;
	justify-content: space-between;
	padding: 2.7em;
	vertical-align: middle;
}

.companyplofile div:first-child{
	height: 100%;
	width: 100%;
	margin: auto;
	/*padding-right: 5em;*/
}


table{
	border-collapse: collapse;
	/*border: 1px solid #cacaca;*/
	/*border-color: #0066ff;*/
	vertical-align: middle;
	width: 99%;
	margin: auto;
}


table td{
	padding: 3px;
	/*color: #0066ff;
	border: 1px solid #cacaca;*/
	vertical-align: middle;
	/*padding-top: 20px;
	padding-bottom: 20px;*/
	line-height: 1.4em;
}


table td:first-child{
      padding: 0.7em;
	font-weight: bold;
	text-align: lest;
/*	background-color: #ccccff;
	border: 1px solid #cacaca;*/
}

.map{
	margin: auto;
}

.map iframe{
	display: block;
	margin: auto;
}


/* iOSの文字サイズ自動調整を防止 */
html {
  -webkit-text-size-adjust: 100%;
}

/* 基本設定 */
body {
  font-size: 16px; /* PC標準 */
  line-height: 1.6;
  margin: 0;
  padding: 0;
  font-family: "Helvetica Neue", Arial, sans-serif;
  color: #333;
}

/* コンテナ */
/*section#news {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 20px;
  box-sizing: border-box;
}*/

/* タイトル */
h2 {
  font-size: 24px;
  margin-bottom: 20px;
}

/* リスト 
dl {
  margin: 0;
  padding: 0;
}
dt {
  font-weight: bold;
  margin-top: 10px;
}
dd {
  margin-left: 0;
  word-break: break-word;  長いリンク折り返し 
{*/

/* リンク */
a {
  color: #007acc;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

/* --- レスポンシブ対応 --- */

/* タブレット（768px以下） */
@media screen and (max-width: 768px) {
  body {
    font-size: 18px; /* 少し大きめ */
  }
  h2 {
    font-size: 22px;
  }
/*  section#news {
    padding: 15px;
  }*/

  .profile-photo {
    float: none;
    display: block;
    width: 100%;
    max-width: 100%;
    margin: 0 0 20px 0;
  }

}


/* スマホ（480px以下） */
@media screen and (max-width: 480px) {
  body {
    font-size: 20px; /* さらに大きめ */
  }
  h2 {
    font-size: 20px;
  }
  section#news {
    padding: 10px;
  }
}





	








