@charset "UTF-8";
/*====================
スマホを基本設計にする
 - 〜479px：スマートフォン縦
 - 480px〜599px：スマートフォン横
 - 600px〜959px：タブレット
 - 960px〜1279px：小型PC
 - 1280px〜：大型PC
====================*/



html {
  font-size: 100%; /*16px*/
  scroll-behavior: smooth;
}

body {
  color: #24292e;
  font-family: "Noto Sans JP", sans-serif;
  font-optical-sizing: auto;
  font-weight: weight;
  font-style: normal;
  -webkit-print-color-adjust: exact; /*印刷設定*/
  print-color-adjust: exact;
}
/*  
a {
  text-decoration: none;
}*/

h1 {
  font-size: 1.1rem;/*16pxに対して何倍か*/
  color: #24292e;
}
h3{
   padding-left: 20px;
   font-size: 1rem;/*16pxに対して何倍か*/
   
}
h4{
   font-size: 1.1rem;/*16pxに対して何倍か*/
   padding-left: 20px;
   color: #2952a3;
   margin-top: 15px;
  
}

p {
  font-size: 1rem;/*16pxの1.1倍*/
  padding: 0px 10px;
  line-height:30px;
}

img {
  max-width: 100%; /* スマホサイズでも画像が縮小される。 */
  margin: auto;
  display: block;
}

li {
  list-style: none;
  font-size: 1rem;
}

/* wrapperは共通 */
.wrapper {
  max-width: 90%; /*1200px*/
  width: 100%;
  margin: 0 auto 80px auto;
  font-size: 1rem;
  padding: 0 7%;
}

/*　位置設定　使ってない　*/
.container {
    width:90%;
    max-width:960px;
   /* background-color:#fff584;*/
    margin: 0 auto 130px auto;
   /* position: relative;浮かせるposition: relative;もセットで */
 }  


 

/*----------------------------------------------
ヘッダー
------------------------------------------------*/
#header {
  /*max-width: 1920px;*/
  display: flex;/*headerに対して横並び*/
  align-items: center;
  justify-content: space-between;
  height: 100px;
  margin: 0 auto;/*センターぞろえ*/
  padding: 0 4%;
  }

.headz-index{
  position: sticky; /* ここからヘッダー固定記述! */
  z-index: 9999;/* 重なり順指定 */
  top: 0;
  height: 30px;
  color: #24292e;
  background-color: #0d3180;
  padding-inline: 15px;
  align-content: center;
  opacity: 0.9;/*透明度*/
}

.site-title {
  line-height: 20px;
  font-weight: 600;
  font-size: 1rem;
  padding-left: 30px;
}

.site-title a {
  display: block;/* ブロック要素に */
  color: #022873;
}





#header img{
  align-items: center;
  margin: 0 auto;/*センターぞろえ*/
  z-index: 1;/* 重なり順指定 */
 }

#header ul {
  display: flex;
  padding: 10px 0;
  align-items: center;
}

#header li {
  font-size: 1.0rem;
  margin-left: 10px;
}

#header li a {
  color: #ffffff;
  z-index: 1;/* 重なり順指定 */
  transition: all 0.3s;/*マウスオーバー時間設定*/
}

#header li a:hover {
  /*opacity: 0.8;透明度*/
  background-color:#ffffff ;
  color: #3a977b;
  border-bottom: 1px solid #ffffff;
}

#header li img.icon {
  width: 30px;
}








/*-------------------------------------------
メインビジュアル
-------------------------------------------*/
#mainvisual {
  margin: 0 auto;
  margin-bottom: 30px;
}

#mainvisual img {
  width: 100%;
  /*max-width: 1920px;*/

  object-fit: contain;/*画面サイズに合わせる*/
}


/*-------------------------------------------
サブビジュアル
-------------------------------------------*/
#subvisual {
  margin: 0 auto;
  margin-bottom: 80px;
  background-color:#022873 !important;;
  height: 120px;
  border-bottom: 5px solid #c8c8c8;
  width: 100%;
}

#subvisual h2 {
  color: #ffffff;
  font-size: 1.8rem;
  text-align: center;
  padding-top: 50px;
}



/*-------------------------------------------
段落
-------------------------------------------*/


.sec-title {
  /*background: url(../img/point01.png) no-repeat left center;*/
  font-size: 1.5rem;
  text-align: left;
  margin-bottom: 20px;
  border-left: 20px solid #022873;
  border-bottom: 2px solid #c8c8c8;
  padding-bottom:5px!important;/*テキストと下線に余白をあける*/
}








/*-------------------------------------------
About
-------------------------------------------*/
#about ul {
  margin-bottom: 20px;
}

#about ul li {
  margin-bottom: 3px;
}

#about ul li:first-child {
  margin-bottom: 30px;
}

#about p {
  text-align: justify;
  
}
#about img {
  margin: auto;
  display: block;
  padding: 50px 10px;
}


/*-------------------------------------------
Works 
-------------------------------------------*/

#office002 ul {
  display: flex;/*横並び*/
  justify-content: space-between;
  flex-wrap: wrap;/*折り返して表示*/
  margin-bottom: 30px;
  padding: 10px;
  border:1px solid #24292e;
}

#office002 ul li {
  width: 45%;
  margin: 10px;
  line-height:25px;
  /*background-color: #fbfbfc;*/
}

#office002 img {
  /*cursor: pointer;*/
  /*object-fit: none;*/
  max-height: 500px;
  text-align: left;
  
}

#office002 h4{
   font-size: 1.05rem;/*16pxに対して何倍か*/
   padding: 20px 10px;
   color: #24292e;
  
}

#office002 p {
  font-size: 1rem;
  padding: 5px 10px;
}









#works002 ul {
  display: flex;/*headerに対して横並び*/
  justify-content: space-between;
  flex-wrap: wrap;/*折り返して表示*/
  margin-bottom: 30px;
  padding: 10px;
}

#works002 ul li {
  width: 48%;
  margin-bottom: 23px;
  line-height:25px;

  background-color: #f4f7fa;
  border-bottom:1px solid #c8c8c8;
}

#works002 img {
  /*cursor: pointer;*/
  max-height: 500px;
  
}

#works002 p {
  font-size: 0.9rem;
  padding: 0 20px;
}






#works2 ul {
  display: flex;/*headerに対して横並び*/
  justify-content: space-between;
  flex-wrap: wrap;/*折り返して表示*/
  margin-bottom: 30px;
  padding: 10px;
}

#works2 ul li {
  width: 48%;
  margin-bottom: 23px;
  line-height:25px;
  font-size: 1rem;
 
}

#works2 ul li img {
  /*cursor: pointer;*/
  width: 640px;
  max-height: 500px;
  /*transition: all 0.3s;マウスオーバー時間設定*/
}

#works2 ul li img:hover {
  /*transform: scale(1.1, 1.1);ホバーで画像が大きく大きく*/
  opacity: 1;/*ぼかし 1でなにもなし*/
}

/*------------------*/
#works3 ul {
  display: flex;/*headerに対して横並び*/
  justify-content: space-between;
  flex-wrap: wrap;/*折り返して表示*/
  margin-bottom: 30px;
  padding: 10px;
}

#works3 ul li {
  width: 32%;
  margin-bottom: 23px;
  line-height:30px;
  font-size: 1rem;
}

#works3 ul li img {

  transition: all 0.3s;/*マウスオーバー時間設定*/
}


/*------------------*/
#works4 ul {
  display: flex;/*headerに対して横並び*/
  justify-content: space-between;
  flex-wrap: wrap;/*折り返して表示*/
  margin-bottom: 30px;
}

#works4 ul li {
  width: 24%;
  margin-bottom: 23px;
  font-size: 1rem;
}

#works4 ul li img {
  
  width: 600px;
  max-height: 400px;
  transition: all 0.3s;/*マウスオーバー時間設定*/
}

/*#works4 ul li img:hover {
  transform: scale(1.1, 1.1);ホバーで画像が大きく大きく*/
  /*opacity:0.7;ぼかし
}*/

/*-------------------------------------------
News
-------------------------------------------*/
#news dl {
  display: flex;
  flex-wrap: wrap;
  border-top: solid 1px #c8c8c8;
  margin-bottom: 20px;
  font-size: 1rem;
}

#news dt {
  width: 20%;
  border-bottom: solid 1px #c8c8c8;
  padding: 15px;
}

#news dd {
  width: 80%;
  border-bottom: solid 1px #c8c8c8;
  padding: 15px;
}

/*-------------------------------------------
Contact
-------------------------------------------*/
#contact p {
  text-align: left;
  margin-bottom: 5px;
  
}

#contact dl {
  display: flex;
  flex-wrap: wrap;
  margin-top: 20px;
  border-bottom:solid 0.5px #c8c8c8;
}

#contact dt {
  width: 25%;
  padding-left: 25px;
  
}

#contact dd {
  width: 75%;
  margin-bottom: 10px;
}

#contact dd input,
#contact dd textarea {
  width: 100%;
  border: solid 1px #c8c8c8;
  padding: 10px;
  
}

#contact dd textarea {
  height: 8rem;
}




#contact .button {
  text-align: center;
}

#contact .button input {
  border: solid 1px #24292e;
  width: 200px;
  background-color: #24292e;
  color: #ffffff;
  padding: 15px 0;
  transition: all 0.3s;
}

#contact .button input:hover {
  background: #fff;
  color: #24292e;
}



#hero {
    background-image: url(../img/message_image00.jpg);
    width: 70%;
    max-width: 800px;
    background-position:center;/*上下中央に画像*/
    background-size: cover;/*画像を全体に表示*/
    border-radius: 20px;/*角丸*/
    /*opacity: 0.2;ぼかし*/
}
.hero_inner{
    z-index: 2;
    color: #24292e;
    width: 100%;
    text-align: left;
}
.hero_inner p{
    font-size: 16px;
    font-weight: 300;
    padding-top: 20px;
    margin-bottom: 16px;
    color: #24292e;
}
.hero_inner h4{
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 10px;
    text-align: right;
    color: #24292e;;
}


/*サービスなど*/
#service{
    margin-bottom: 120px;
}
.service_iner {
    margin-bottom: 40px;
}
.column-40 {
    width: 40%;
}
.column-55 {
    width: 55%;
}

iframe {
  width: 100%;
  aspect-ratio: 16/9; /*アスペクト比（縦横比）を指定*/
}


#formWrap {
	width:600px;;
	margin:0 auto;
	color:#555;
	line-height:120%;
	font-size:90%;
}


table.formTable{
	width:100%;
	margin:0 auto;
	border-collapse:collapse;
}
table.formTable td,table.formTable th{
	border:1px solid #ccc;
	padding:10px;
}
table.formTable th{
	width:30%;
	font-weight:normal;
	background:#efefef;
	text-align:left;
}
p.error_messe{
	margin:5px 0;
	color:red;
}







#footer {
  background: url(../img/foot_image02.gif) no-repeat left;
  background-position:center;/*上下中央に画像*/
  background-size: cover;/*画像を全体に表示*/
  height: 300px;
  font-size: 0.8rem;
  text-align: center;
  color: #ffffff;
  padding-top:100px ;   
}




/*----------------------------------------------
SP 600pxをブレイクポイント
------------------------------------------------*/
/* pcファースト　大きいサイズから小さいサイズへ */
/* 600pxより小さいときのcss適用 */
@media screen and (max-width: 600px) {

.wrapper {
    margin-bottom: 30px;
    max-width: 100%;
    padding: 1%;
}

  .site-title {
    margin-top: 10px;
    padding-left: 0px;
  }

  .sec-title {
    margin-bottom: 30px;
  }

  /* ヘッダー */
  #header {
    max-width: 100%;
    height: auto;
    flex-direction: column;/*メディアクエリ設定により600以下は水平（縦並び） flex-wrap:wrap;は要素が折り返される*/
    margin-top: 20px;
    line-height: 40px;
  }

  #header li {
    font-size: 0.8rem;
    margin-left: 15px;
  }

  #header li:first-child {
    margin-left: 0;
  }

  #header li img.icon {
    width: 20px;
    margin-top: 15px;
  }



  /* office002 */

  #office002 ul {
    width: 100%;
    flex-direction: column;
    align-items: center;
  }
  #office002 ul li {
    width: 95%;
  }



  /* works002 */

  #works002 ul {
    flex-direction: column;
    align-items: center;
  }
  #works002 ul li {
    width: 95%;
  }

  /* works2 */

  #works2 ul {
    flex-direction: column;
    align-items: center;
  }
  #works2 ul li {
    width: 95%;
  }

  /* works3 */

  #works3 ul {
    flex-direction: column;
    align-items: center;
  }
  #works3 ul li {
    width: 95%;
  }


  /* works4 */

  #works4 ul {
    flex-direction: column;
  }
  #works4 ul li {
    width: 95%;
  }

  /* news */
  #news dl {
    flex-direction: column;
  }
  #news dt {
    width: 100%;
    border-bottom: none;
    padding-bottom: 0;
  }
  #news dd {
    width: 100%;
    padding-top: 0;
  }

  /* contact */
  #contact dl {
    flex-direction: column;
  }
  #contact dt {
    width: 100%;
    margin-bottom: 5px;
  }
  #contact dd {
    width: 100%;
  }

  #formWrap {
	  width:100%;
}
 




}