@charset "utf-8";

/* ========== base ========== */
html {
  margin: 0;
  padding: 0;
}
/* 全体 */
body {
  margin: 0;
  padding: 0;
  font-family: "Yu Gothic", "游ゴシック", YuGothic, "游ゴシック体", sans-serif;
  font-weight: 500;
  color: #333;
  line-height: 2;
}
/* 見出し系 */
h2, h3, h4, h5 {
  margin: 0;
  padding: 0;
}
/* 画像系 */
figure {
  margin: 0;
}
img {
  width: 100%;
  vertical-align: bottom;
}
/* リスト */
ul, li, dl, dt, dd {
  margin: 0;
  padding: 0;
  list-style: none;
}
/* リンク */
a {
  text-decoration: none;
  color: #000;
}
a:hover {
  transition: 0.3s;
  opacity: 0.6;
}
/* セクション */
section {
  margin-bottom: 120px;
}
.content-wrapper {
  width: 1280px;
  margin: 0 auto;
}



/* ========= header ========= */
.header-nav {
  height: 100px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.header nav ul {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.header nav ul li {
  margin-right: 50px;
}



/* ======= mainvisual ======= */
.mainvisual {
  position: relative;
  height: 600px;
}
.mainvisual img {
  width: 70%;
  height: 500px;
  object-fit: cover;
  margin-left: 30%;
}
.mainvisual h2 {
  position: absolute;
  top: 30%;
  left: 20%;
  background: rgba(255, 255, 255, 0.6);
  font-size: 3rem;
  padding: 1rem;
}
.bg1 {
  background: #e8e7e7;
  height: 700px;
  width: 45%;
  position: absolute;
  top: -18%;
  left: 0;
  z-index: -1;
}


/* ======== greeting ======== */
.greeting h2 {
  margin-bottom: 50px;
  text-align: center;
}
.greeting .contents {
  width: 100%;
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
  align-items: center;
  position: relative;
}
.greeting .contents figure {
  width: 50%;
}
.greeting .content {
  width: 48%;
  position: absolute;
  left: 40%;
  background-color: rgba(255, 255, 255, 0.6);
}



/* ========== work ========== */
.work {
  width: 100%;
  padding-top: 40px;
  position: relative;
}
.work::before {
  content: '';
  background: #e8e7e7;
  position: absolute;
  width: 100%;
  height: 300px;
  z-index: -1;
}
.work h2 {
  margin-bottom: 60px;
  text-align: center;
}
.work ul {
  display: flex;
  justify-content: space-between;
  width: 1280px;
  margin: 0 auto;
}
.work ul li {
  width: 400px;
}
.work ul li figure {
  margin: 0;
}



/* ========== news ========== */
.news {
  background-image: url(../images/back.jpeg);
  background-repeat: no-repeat;
  background-size: cover;
}
.news .content-wrapper {
  width: 1080px;
  margin: 0 auto;
  margin-bottom: 180px;
}
.news h2 {
  margin-bottom: 50px;
  text-align: center;
}
.news li {
  border-bottom: 3px dotted #dedede;
  padding-top: 20px;
  padding-bottom: 20px;
}
.news li a {
  color: #333;
}
.news li a:hover {
  opacity: 0.6;
}
.news li time {
  font-size: 0.75rem;
  color: #000;
  padding-right: 0;
  margin-right: 80px;
}



/* ======== recruit ======== */
.recruit {
  position: relative;
}
.recruit-img {
  width: 80%;
  height: 400px;
  margin-right: 20%;
  object-fit: cover;
}
.recruit-img img {
  height: 400px;
}
.recruit::after {
  content: '';
  position: absolute;
  width: 80%;
  height: 100%;
  top: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.4);
}
.recruit h2 a {
  position: absolute;
  top: 45%;
  right: 52%;
  width: 250px;
  height: 60px;
  background-color: rgba(255,255, 255, 0.6);
  line-height: 60px;
  text-align: center;
}
.bg2 {
  position: absolute;
  background: #e8e7e7;
  height: 400px;
  width: 45%;
  top: -20%;
  right: 0;
  z-index: -1;
}



/* ========= footer ========= */
footer .content-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 50px 0;
}
.address p {
  line-height: 1.8;
}
footer ul {
  display: flex;
}
footer ul li {
  margin-right: 50px;
}
.copyright p {
  text-align: center;
  font-size: 0.75rem;
  margin: 0;
  line-height: 100px;
  color: #333;
  background-color: #e8e7e7;
}
#pagetop1{
  width: 70px;
  height: 50px;
  position: fixed;
  right: 15px;
  bottom: 25px;
  opacity: 0.8;
  border-radius: 15px;
  background-color: #666;
}
#pagetop1 a{
  position: relative;
  display: block;
  width: 70px;
  height: 50px;
  text-decoration: none;
  text-align: center;
}
#pagetop1 a::before{
  font-family: "Font Awesome 5 Free";
  content: '\f062';
  font-weight: 900;
  font-size: 25px;
  color: #fff;
  position: absolute;
  width: 25px;
  height: 25px;
  top: 10px;
  bottom: 30px;
  right: 0;
  left: 0;
  margin: auto;
}
