@charset "utf-8";
/* CSS Document */
@import url("html5doctor_reset.css");

body{
	font-family:  "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
	line-height: 1.5;
	overflow-x: hidden;
    /*max-width: 1000px;
    margin: 0 auto;*/
}

.space40 {
    height: 40px;
}

.img {
    margin: 0 auto;
    width: 60%;
}

.newsimg {
    width: 100%;
}

.right {
    text-align: right;
    font-size: 110%;
    margin-top: 20px;
}

header{
	background-color: #004DA0;
	color: #fff;
	box-shadow: 2px 2px 4px;
}
header li{
	display: inline;
	padding-left: 20px;
}
header li a{
	color: #fff;
	text-decoration: none;
	font-weight: bold;
	position: relative;
    display: inline-block;
}
header li a::after {
  position: absolute;
  bottom: -4px;
  left: 0;
  content: '';
  width: 100%;
  height: 2px;
  background: #fff;
  transform: scale(0, 1);
  transform-origin: center top;
  transition: transform .3s;
}
header li a:hover::after {
  transform: scale(1, 1);
}
header .content{
	width: 80%;
	margin: 0 auto;
	display: flex;
	justify-content: space-between;
	align-items:flex-end;
	padding:10px 0;
}
.openbtn, #g-nav, #g-nav-list{
	display: none;
}
header p{
	font-size: 200%;
	font-family:游明朝,"Yu Mincho",YuMincho,"Hiragino Mincho ProN","Hiragino Mincho Pro",HGS明朝E,メイリオ,Meiryo,serif;
}
header p a{
	color: #fff;
	text-decoration: none;
}
h1{
	font-size:120%;
	font-weight: bold;
}

#mainimg{
	background: url("../images/main_img.jpg") no-repeat center center;
    background-size:  cover;
	width: 100vw;
    height: 400px;
	font-family:游明朝,"Yu Mincho",YuMincho,"Hiragino Mincho ProN","Hiragino Mincho Pro",HGS明朝E,メイリオ,Meiryo,serif;

}
#mainimg .content{
	width: 80%;
	margin: 0 auto;
}
#mainimg .text{
	padding-top: 80px;
	
}
#mainimg h2{
	font-size: 250%;
	font-weight: bold;
	text-shadow: 1px 1px 1px #999;

}
#mainimg p{
	font-weight: bold;
	padding-top:  15px;
}
#content{
	width: 80%;
	margin: 0 auto;
}
h3{
	font-size: 130%;
	border-left: solid 4px #004DA0;
	margin: 10px;
	padding-left: 5px;
}

.subtitle {
    font-size: 150%;
}

.line{
	border-bottom: solid 2px #004DA0;
	margin:0 -200%;
	padding:0 200%;
	
}
main .c1{
	margin-top: 100px;
}
.c1 .aisatu{
	margin: 30px auto;
	width: 95%;
	background-color: #EAF4FC;
	display: flex;
	align-items:flex-start;
}
.aisatu img{
	padding: 20px 30px;
	max-width:350px;
}
.aisatu p{
	padding:30px 30px;
	font-size: 90%;
	
}
.aisatu p span{
	font-weight: bold;
	display: block;
    font-size: 110%;
    padding: 30px 0 10px;
	/*text-align: right;*/
}
.aisatu .box{
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	margin-bottom: 30px;
}

.c2{
	margin: 100px auto;
	display: flex;
	width: 95%;
	justify-content: space-evenly;
}
.c2 img{
	width:100%;
	height: auto;
}
.c2 .company, .c2 .work{
	text-align: center;
	position: relative;
}
.c2 .btnlinestretches{
	position: absolute;
	top: 75%;
	left: 5%;
}
.c3{
	background: #ddd;
	width: 70%;
	margin: 100px auto;
	text-align: center;
}
.c3 p{
	padding-top: 30px;
	padding-bottom: 10px;
}
.c3 .btnlinestretches{
	background: #DB0226;
	border:1px solid #DB0226;
	margin-bottom: 30px;

}
/*==============footer===========================================*/
footer{
	background: #004DA0;
	text-align: center;
}
footer p{
	font-size: 130%;
	font-family:游明朝,"Yu Mincho",YuMincho,"Hiragino Mincho ProN","Hiragino Mincho Pro",HGS明朝E,メイリオ,Meiryo,serif;
	font-weight: bold;
	padding-top: 20px;
	padding-bottom: 20px;
}
footer p a{
	color: #fff;
	text-decoration: none;
}
small{
	color: #fff;
	font-size: 80%;
	padding-bottom: 10px;
}
footer nav{
	padding-bottom: 20px;
}
footer nav li{
	display: inline;
	padding-left: 20px;
}
footer li a{
	color: #fff;
	font-size: 90%;
	position: relative;
	display: inline-block;
	text-decoration: none;
}
footer li a::after {
  position: absolute;
  bottom: -4px;
  left: 0;
  content: '';
  width: 100%;
  height: 2px;
  background: #fff;
  transform: scale(0, 1);
  transform-origin: center top;
  transition: transform .3s;
}
footer li a:hover::after {
  transform: scale(1, 1);
}

footer .content{
	display: flex;
	flex-direction:column;
}

/*==================================================company*/
.company table{
	border: 1px solid #ddd;
	margin: 30px auto;
	max-width: 90%;
}
.company td, .company th{
	border: 1px solid #ddd;
}
.company th, .company td{
	line-height:3;
	padding:5px 50px 5px 30px;
	text-align: left;
}
.company tr:nth-child(odd){
	background-color: #EAF4FC;
}
.company td:last-child{
	padding-bottom: 10px;
}

.company td{
	padding-right:100px;
	padding-left: 20px;
}
.company th{
	padding-right:20px;
    width: 20%;
}
.map{
	display: block;
	margin: 20px auto;
}
dl{
	padding-bottom: 15px;
}
dt{
	font-weight: bold;
}
.career{
	width: 90%;
	margin: 30px auto;
	font-size: 90%;
}
.name {
	font-size: 120%;
	margin-bottom: 30px;
	font-weight: bold;
}

/*==================================================service*/
.service{
	background-color:  #EAF4FC;
	width:95%;
	margin: 50px auto;
	padding-top: 20px;
	padding-bottom: 30px;
}
h4{
	font-size: 100%;
	border-left: solid 4px #004DA0;
	margin: 10px;
	padding-left: 5px;
}
.dottedline{
	border-bottom: dotted 2px #004DA0;	
}
.service1{
	width: 80%;
	height: auto;
	margin: 30px auto 50px auto;
	text-align: center;
}
.service1 .btnlinestretches{
	margin: 30px;
}
.service1 img{
	width: 85%;
	height: auto;
	margin-top: 20px;
}
.service1 p{
	width: 85%;
	height: auto;
	margin: 0 auto;
	text-align:left;
}

/*==================================================contact*/
form{
	margin: 10px auto 0 auto;
	padding: 10px;
	width: 85%;
}
form p{
	padding: 10px;
	text-align: center;
}
input {
	width: 400px;
	height: 2em;
	border: none;
	box-shadow: 1px 1px 1px rgba(0,0,0,0.4);

}
textarea{
	width: 400px;
	height: 100px;
	border: none;
	 resize: none;
	box-shadow: 1px 1px 1px rgba(0,0,0,0.4);
}
input[type="submit"]{
	height: 3em;
	color: #fff;
	background-color: #004DA0;
}
form span{
	color: #FF0000;
}
form strong{
	display: block;
	width: 400px;
	margin: 0 auto;
	text-align: left;
	font-weight: normal;
}


/*==================================================privacy*/
.privacy, .service ol li{
	width: 90%;
	margin: 10px auto;
	font-size: 90%;
}
.service ol{
  	padding-left:4em;
}
.service .m{
	font-size: 100%;
	padding-left: 0em;
}
/*==========================ページトップ＝＝＝＝＝＝＝＝＝＝＝＝＝*/
/*リンクの形状*/
#page-top a{
	display: flex;
	justify-content:center;
	align-items:center;
	background:#DB0226;
	border-radius: 5px;
	width: 60px;
	height: 60px;
	color: #fff;
	text-align: center;
	text-transform: uppercase; 
	text-decoration: none;
	font-size:0.6rem;
	transition:all 0.3s;
	z-index: 999999;
}

#page-top a:hover{
	opacity: 0.9;
	
}

/*リンクを右下に固定*/
#page-top {
	position: fixed;
	right: 10px;
	bottom:10px;
	z-index: 2;
    /*はじめは非表示*/
	opacity: 0;
	transform: translateY(100px);
}

/*　上に上がる動き　*/

#page-top.UpMove{
	animation: UpAnime 0.5s forwards;
}
@keyframes UpAnime{
  from {
    opacity: 0;
	transform: translateY(100px);
  }
  to {
    opacity: 1;
	transform: translateY(0);
  }
}

/*　下に下がる動き　*/

#page-top.DownMove{
	animation: DownAnime 0.5s forwards;
}
@keyframes DownAnime{
  from {
  	opacity: 1;
	transform: translateY(0);
  }
  to {
  	opacity: 1;
	transform: translateY(100px);
  }
}
/*============================================== 外の線が伸びる */

.btnlinestretches{
    /*線の基点とするためrelativeを指定*/
	position:relative;
    /*ボタンの形状*/
	color:#fff;
	border:1px solid #004DA0;
    padding: 10px 30px;	
	display:inline-block;
    text-decoration: none;
    outline: none;
    /*アニメーションの指定*/
	transition:all 0.3s ease-in-out;
	background: #004DA0;
	width: 200px;
	margin-right: 30px;
	box-shadow: 2px 2px 4px #000;
	z-index: 9;
}

/*hoverした際の背景の形状*/
.btnlinestretches:hover{
	background:#004DA0;
	color: #fff;
	border-color:transparent;
}

/*線の設定*/
.btnlinestretches::before,
.btnlinestretches::after {
	content:'';
    /*絶対配置で線の位置を決める*/   
	position:absolute;
	border:solid #004DA0;
	width:10px;
	height:10px;
    /*アニメーションの指定*/
	transition:all 0.3s ease-in-out;
}

/*線の位置と形状*/
.btnlinestretches::before{
	top:-6px;
	left:-6px;
	border-width:1px 0 0 1px;
}

/*線の位置と形状*/
.btnlinestretches::after{
	bottom:-6px;
	right:-6px;
	border-width:0 1px 1px 0;
}

/*hoverした際の線の形状*/
.btnlinestretches:hover::before,
.btnlinestretches:hover::after{
	width:calc(100% + 11px);
	height:calc(100% + 11px);
	border-color:#004DA0;
}




.c3 .btnlinestretches{
    /*線の基点とするためrelativeを指定*/
	position:relative;
    /*ボタンの形状*/
	color:#fff;
	border:1px solid #DB0226;
    padding: 10px 30px;	
	display:inline-block;
    text-decoration: none;
    outline: none;
    /*アニメーションの指定*/
	transition:all 0.3s ease-in-out;
	background: #DB0226;
	width: 200px;
	margin-right: 0;
}

/*hoverした際の背景の形状*/
.c3 .btnlinestretches:hover{
	background:#DB0226;
	color: #fff;
	border-color:transparent;
}

/*線の設定*/
.c3 .btnlinestretches::before,
.c3 .btnlinestretches::after {
	content:'';
    /*絶対配置で線の位置を決める*/   
	position:absolute;
	border:solid #DB0226;
	width:10px;
	height:10px;
    /*アニメーションの指定*/
	transition:all 0.3s ease-in-out;
}

/*線の位置と形状*/
.c3 .btnlinestretches::before{
	top:-6px;
	left:-6px;
	border-width:1px 0 0 1px;
}

/*線の位置と形状*/
.c3 .btnlinestretches::after{
	bottom:-6px;
	right:-6px;
	border-width:0 1px 1px 0;
}

/*hoverした際の線の形状*/
.c3 .btnlinestretches:hover::before,
.c3 .btnlinestretches:hover::after{
	width:calc(100% + 11px);
	height:calc(100% + 11px);
	border-color:#DB0226;
}



@media screen and (max-width: 650px){
		.c2{
		flex-direction: column;
	}

	
}

/*おしらせ＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝*/
.news-list{
  list-style: none outside;
  margin: 0;
  padding: 0;
  margin-top: 40px;
  background-color: #EAF4FC;
}
.news-list .item a{
  display: flex;
  flex-wrap: wrap;
  flex-wrap: nowrap;
  text-decoration: none;
  color: #000;
  font-weight: 600;
  border-bottom: 1px solid #CCC;
  padding: 20px 20px;
  font-size: 18px;
}
.news-list .item:first-child a{
  border-top: 1px solid #CCC;
}
.news-list .item .date{
  margin: 0;
  min-width: 120px;
  font-size: 16px;
  color: #000;
  padding: 0 20px 0 0;
}
.news-list .item .title{
  margin: 0;
  width: 100%;
}
.news-list .item a:hover .title{
  color: #00F;
}

@media screen and (max-width: 767px){
.news-list .item a{
  flex-wrap: wrap;
}
.news-list .item .date{
  min-width: 100px;
}
.news-list .item .title{
  margin-top: 10px;
}
}

/* 装飾 */
 
a{
  text-decoration: none;
}