@charset "utf-8";

html{
  font-size: 62.5%;
  scroll-behavior: smooth;
}

/* body
------------------------------*/
body {
  background-color: #FFFFFF;
}

/* フォント設定 */
header, h2, h3, .global, th, dt {
  font-family: 'Allura', cursive;
  font-family: 'Noto Sans JP', sans-serif;
  font-family: 'Zen Kaku Gothic Antique', sans-serif;
  }

/* wrapper
------------------------------*/
.wrapper {
  width: 1200px;
  margin: 0 auto;
  background-color: #fff;
}

/* header
------------------------------*/
header {
  padding: 10px 0 10px 20px;
  background-color: #fff;
  display: flex;
}

h1 {
  width: 260px;
  font-size: 3.5rem;
  padding-left: 30px;
  color: #003399;
  text-decoration: none;
}

h1 a,a:hover,a:visited{
  color: inherit;
}

h1 a,a:visited{
  text-decoration: none;
}

h1 a:hover{
  text-decoration: underline;
}


/* nav.global
------------------------------*/
nav.global {
  width: 900px;
  height: 30px;
  margin-top: 10px;
  margin-left: 40px;
  justify-content: space-between;
}

nav.global ul{
  display: flex;
}

nav.global ul li {
  width: 20%;

}

nav.global ul li a {
  display: block;
  line-height: 30px;
  color: #003399;
  font-size: 1.5rem;
  font-weight: 550;
  text-align: center;
  text-decoration: none;
  border-right: 1px solid #003399;
}

nav.global ul li{
  border-right: none;
}

nav.global ul li a:hover {
  text-decoration: underline;
  color: #B0C4DE;
}

/* main-visual
------------------------------*/
.main-visual {
  width: 100%;
  height: 460px;
  background-color: #eee;
  background-image: url(../images/main.jpg);
  /* margin-bottom: 20px; */
}

.main-visual .catch1{
  font-size: 4rem;
  padding-top: 120px;
  padding-left: 50px;
  color: #fafdff;
  text-shadow: 2px 3px 1px rgba(25, 47, 96, 60%);
}

.main-visual .catch2{
  font-size: 1.7rem;
  padding-left: 60px;
  margin-top:10px;
  color: #7d7b83;
  text-shadow: 2px 3px 2px rgba(255, 243, 82, 40%);
}

.main-visualsub{
  width: 100%;
  height: 200px;
  background-color: #999;
  background-image: linear-gradient(90deg, rgba(0, 0, 0, 0.3) 0%, rgba(255, 255, 255, 0) 80%), url(../images/companybgi.jpg);
  background-position: center;
  margin-bottom: 30px;
}

.main-visualsub2{
  width: 100%;
  height: 200px;
  background-color: #999;
  background-image: linear-gradient(90deg, rgba(0, 0, 0, 0.3) 0%, rgba(255, 255, 255, 0) 80%), url(../images/contactbgi.jpg);
  background-position: center;
  margin-bottom: 30px;
}

p.catch1{
  font-size: 3.3rem;
  padding-top: 130px;
  padding-left: 33px;
  color: #fafdff;
  text-shadow: 2px 3px 2px rgba(25, 47, 96, 60%);
}

/* container
------------------------------*/
.container {
  margin: 20px;
}

/* レイアウト関連 */
/* section
------------------------------*/
.info1{
  background-color: #ececec;
  width: 1200px;
  height: auto;
  display: flex;
}

h2{
  font-size: 2.5rem;
  color: #003399;
  margin-top: 15px;
  margin-left: 30px;
}

p{
  font-size: 1.4rem;
  letter-spacing: 0.9px;
  color: #333333;
  margin: 0 30px;
}


/* box */
div.box1{
  width: 650px;
  height: 304px;
  padding: 10px;
  border: 2px solid #ececec;
  margin: 20px 0 20px 20px;
  background-color: #fff;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}


div.box2{
  border: 2px solid #ececec;
  margin: 20px 20px 20px 10px;
}

div.box3{
  width: 650px;
  height: 304px;
  padding: 10px;
  border: 2px solid #ececec;
  margin: 0 0 20px 20px;
  background-color: #fff;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

div.box4{
  border: 2px solid #ececec;
  margin: 0 20px 20px 10px;
}

.text{
  text-align: left;
  margin-top: auto;
}

.text a:link{
  color: #003399;
}

.text a:hover{
  background-color: #fff;
  color: #999;
  border: 1px solid #999;
}

.text a:visited{
  color: #8a5b30;
}

.info2{
  width: 1200px;
  height: auto;
  display: flex;
  border-left: 2px solid #ececec;
  border-right: 2px solid #ececec;
  box-sizing: border-box;
}

h3{
  font-size: 2.1rem;
  color: #003399;
  margin-top: 10px;
  margin-left: 50px;
  text-shadow:
  1px 0 0 #fafdff,
  0 1px 0 #fafdff,
  -1px 0 0 #fafdff,
  0 -1px 0 #fafdff
}

p.detail{
  color: #fafdff;
  margin: 0 50px;
}


div.minibox1{
  width: 600px;
  height: 200px;
  padding: 10px;
  border: 2px solid #fafdff;
  margin: 20px 10px 20px 20px;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  position: relative;
  box-sizing: border-box;
  background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.7) 20%, rgba(255, 255, 255, 0) 80%), url(../images/product.jpg);
  background-position: center;
}

div.minibox2{
  width: 600px;
  height: 200px;
  padding: 10px;
  border: 2px solid #fafdff;
  margin: 20px 20px 20px 10px;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  position: relative;
  box-sizing: border-box;
  background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.7) 20%, rgba(255, 255, 255, 0) 80%), url(../images/sustainability.jpg);
  background-position: center;
}

div.minibox3{
  width: 600px;
  height: 200px;
  padding: 10px;
  border: 2px solid #fafdff;
  margin: 0 10px 20px 20px;
  display: flex;
  flex-direction: column;
  position: relative;
  box-sizing: border-box;
  background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.7) 20%, rgba(255, 255, 255, 0) 80%), url(../images/recruit.jpg);
  background-position: center;
}

div.minibox4{
  width: 600px;
  height: 200px;
  padding: 10px;
  border: 2px solid #fafdff;
  margin: 0 20px 20px 10px;
  display: flex;
  flex-direction: column;
  position: relative;
  box-sizing: border-box;
  background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.7) 20%, rgba(255, 255, 255, 0) 80%), url(../images/follwus.jpg);
  background-position: center;
}


.btn a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 auto;
  padding: 1em 2em;
  width: 150px;
  color: #333;
  font-size: 12px;
  font-weight: bold;
  background-color: #fff;
  border-radius: 50vh;
  position: absolute;
  bottom: 10px;
  left: 183px;
  box-shadow: 2px 3px 2px rgba(0,0,0,0.6);
}

.btn a::after {
  content: '';
  width: 5px;
  height: 5px;
  border-top: 3px solid #333333;
  border-right: 3px solid #333333;
  transform: rotate(45deg);
}

.btn a:hover {
  text-decoration: none;
  background-color: #F0E68C;
}


/* 企業情報 company main--------------------------- */
/* サブタイトル */
.profile{
  padding: 20px 20px 20px 70px;
  /* margin-left: 30px; */
  color: #003399;
  display: inline;
  background-image: linear-gradient(rgba(0, 0, 0, 0)55%, 
  rgb(240, 230, 140)90%);
  border-left: #003399;
}

.profile span{
  display: flex;
  align-items: center;
  font-size: 1rem;
  color: #ececec;
  text-transform: uppercase;
}

.profile span::before{
  content:"";
  display: inline-block;
  margin-right: 20px;
  width: 30px;
  height: 1px;
  background-color: #ececec;
}
/* エンド / サブタイトル  */

main .message1{
  width: 550px;
  float: right;
  margin-top: 20px;
  margin-right: 80px;
}

p.comment{
  font-size: 1.4rem;
  letter-spacing: 0.9px;
  color: #333333;
  margin-top: 20px;
  margin-right: 30px;
}

p.comment2{
  font-size: 1.4rem;
  letter-spacing: 0.9px;
  color: #333333;
  margin-top: 30px;
  margin-bottom: 10px;
}

main figure{
  width: 350px;
  float: left;
  margin-top: 50px;
  margin-left: 90px;
}

main figure img{
  width: 100%;
  height: auto;
  margin: 70px 30px 20px 20px;
  background-color: #fafdff;
  padding: 8px 8px 20px;
  border: 1px solid #ececec;
  box-shadow: 2px 2px 2px rgba(51, 51, 51, 0.5);
}
hr{
  margin-top: 30px;
  margin-bottom: 30px;
  color: #ececec;
}

div.work{
  position: relative;
  width: 1200px;
  height: 800px;
}

div.work .message2{
  position: absolute;
  top: 30px;
  left: 80px;
  width: 580px;
  background-color: #ececec;
  padding: 15px 30px 35px 5px;
  box-shadow: 0 0 5px #333;
  font-size: 1.4rem;
  letter-spacing: 0.9px;
  color: #333333;
  margin-top: 30px;
}

div.work img{
  position: absolute;
  top: 35px;
  right: 90px;
  box-shadow: 0 0 5px #333;
  z-index: 1;
}

/* 会社概要  ------------------------- */
div.flame{
  position: relative;
  width: 1200px;
  height: 430px;
}

dl.table{
  position: absolute;
  line-height: 200%;
  font-size: 1.4rem;
  width: 500px;
  margin: 80px 20px 10px 150px;
  color: #333;
  letter-spacing: 0.31px;
  word-spacing: -0.43px;
}

dl.table dt{
  width: 150px;
  float: left;
  border-bottom: 1px solid #ececec;
}

dl.table dd{
  width: 350px;
  float: right;
  border-bottom: 1px solid #ececec;
}

div.flame img{
  position: absolute;
  top: 35px;
  right: 110px;
  box-shadow: 0 0 5px #333;
}


/* お問合せ--------------------------- */
p.memo{
  margin: 50px 0 10px 220px;
}

/* サブタイトル------------ */
.mailphone{
  position: relative;
  width: 665px;
  margin: 30px 0 0 120px;
  padding: 0 0 0 10px;
  border-left: 17px solid #F0E68C;
  font-weight: bold;
}


p.tel{
  font-size: 2rem;
  font-weight: 600;
  margin: 40px 0 0 250px;
}

p.memo1{
  margin: 0 0 50px 250px;
}

table.data1{
  width: 700px;
  height: 520px;
  margin: 40px 60px 30px 255px;
  font-size: 1.4rem;
  line-height: 250%;
  background-color: #ececec;
  color: #333;
}

th.menuleft{
  padding-left: 45px;
  padding-top: 10px;
}

td.menuright{
  padding-left: 65px;
  padding-top: 10px;
}

input[type="submit"] {
	width: 12%;
    font-size: 14px;
    color: #333;
	display: inline-block;
    padding: 13px 0px;
    text-align: center;
	background-color: #ececec;
    border: 1px solid #ececec;
    border-radius: 5px;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 1s;
    margin-left: 530px;
    margin-bottom: 30px;
}

/*--hover--*/
input[type="submit"]:hover {
    color: #7d7b83;
    background-color: #F0E68C;
    border: 1px solid #F0E68C;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 1s;
}



/* footer
------------------------------*/
footer {
  background-color: #003399;
  padding: 10px 30px;
}

footer section{
  width: 500px;
}


footer h2{
  color: #fafdff;
  font-weight: 300;
  font-size: 2.3rem;
  letter-spacing: 1.2rem;
  line-height: 40px;
  padding-left: 90px;
  margin-bottom: 10px;
}

footer address{
  font-size: 1.4rem;
  color: #fafdff;
  letter-spacing: 0.2rem;
  margin-bottom: 10px;
  padding-left: 90px;
  float: left;
}

footer .local ul a{
  color: #fafdff;
  font-size: 1.2rem;
  text-decoration: none;
  margin: 43px 100px 10px 0;
  float: right;
}

footer .local ul a:hover{
  border-bottom: 1px solid #F0E68C;;
}

footer hr{
  clear: both;
  height: 1px;
  width: 90%;
  background-color: #fafdff;
  border: none;
  margin-top: 30px;
}

footer small{
  display: block;
  text-align: center;
  margin: 15px 0;
  color: #fafdff;
}

.go_top{
  display: block;
  width: 60px;
  height: 60px;
  box-sizing: border-box;
  border: 1px solid #555;
  padding-top: 30px;
  text-align: center;
  font-size: 15px;
  text-decoration: none;
  color: #555;
  opacity: 0.5;
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 100;
 }
 .go_top::before{
  content: "";
  display: block;
  border-top: 2px solid #555;
  border-right: 2px solid #555;
  width: 25%;
  height: 25%;
  top: 25%;
  left: 0;
  right: 0;
  margin: auto;
  position: absolute;
  transform: rotate(-45deg);
 }
 .go_top:hover{
  opacity: 1;
 }
 