@charset "utf-8";

body {
  background-color: #E2E2E2;
  font-family: sans-serif;
  width: 1000px;
  margin: 0 auto 0;
}

header {
  width: 1000px;
  height: 460px;
  margin: 0 auto 0;
  background-color: #ffffff;
  background-size: 1000px auto;
  background-repeat: no-repeat;
  z-index: 1;
}

h1 {
  font-size: 30px;
  font-weight: bold;
  line-height: 24px;
  padding: 30px 0px 30px 30px;
}

h1:hover {
  opacity: 0.5;
}

h2 {
  display: none;
}

p {
  font-size: 16px;
  font-weight: lighter;
  text-align: justify;
}

header .catch {
  font-size: 14px;
  font-weight: lighter;
}

.header_imge {
  opacity: 0;
  animation: fadein 0.5s ease-in 0s forwards;
}

@keyframes fadein {
  0% {
    opacity: 0
  }

  100% {
    opacity: 1
  }
}

header nav ul {
  display: flex;
  justify-content: space-between;
  font-size: 16px;
  text-align: center;
  box-shadow: 0px 0px 3px 0px #424242;
}

header nav ul li {
  height: 45px;
  background: linear-gradient(#232323, #000000);
  width: 100%;
  padding-top: 14px;
  color: #ffffff;
}

header nav ul li span {
  font-size: 13px;
  font-weight: lighter;
}

header nav ul li:hover {
  background: linear-gradient(#ffffff, #e9e9e9);
  color: #000000;
}

header nav ul li a {
  display: block
}

.now {
  font-weight: bold;
  background: linear-gradient(#717171, #424242);
}

/* ハンバーガーメニュー　ここから */
.hamburger-menu {
  display: none;
}

.menu-btn {
  position: fixed;
  top: 20px;
  right: 10px;
  display: flex;
  height: 40px;
  width: 40px;
  justify-content: center;
  align-items: center;
  z-index: 90;
  background-color: #3c3c3c;
}

.menu-btn span,
.menu-btn span:before,
.menu-btn span:after {
  content: '';
  display: block;
  height: 3px;
  width: 25px;
  border-radius: 3px;
  background-color: #ffffff;
  position: absolute;
}

.menu-btn span:before {
  bottom: 8px;
}

.menu-btn span:after {
  top: 8px;
}

#menu-btn-check:checked~.menu-btn span {
  background-color: rgba(255, 255, 255, 0);
  /*メニューオープン時は真ん中の線を透明にする*/
}

#menu-btn-check:checked~.menu-btn span::before {
  bottom: 0;
  transform: rotate(45deg);
}

#menu-btn-check:checked~.menu-btn span::after {
  top: 0;
  transform: rotate(-45deg);
}

#menu-btn-check {
  display: none;
}

.menu-content {
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 80;
}

.menu-content ul {
  padding: 70px 10px 0;

}

.menu-content ul li {
  border-bottom: solid 1px #ffffff;
}

.menu-content ul li a {
  display: block;
  width: 100%;
  font-size: 15px;
  box-sizing: border-box;
  color: #ffffff;
  text-decoration: none;
  padding: 9px 15px 10px 0;
  margin-left: 10px;
  position: relative;
}

.nowHg {
  background-color: #3c3c3c;
}

.menu-content {
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 100%;
  /*leftの値を変更してメニューを画面外へ*/
  z-index: 80;
  background-color: #000000;
  opacity: 0.9;
  transition: all 0.5s;
  /*アニメーション設定*/
}

#menu-btn-check:checked~.menu-content {
  left: 40%;
  /*メニューを画面内へ*/
}


/* ハンバーガーメニュー　ここまで */


/*▼ここからトップページの指定-------------------------------------------------------------*/

main {
  padding: 20px 20px 20px 20px;
  width: 100%;
  margin: 0 auto 0;
  background-color: #ffffff;
  z-index: 0;
}

.toplogo {
  width: 100%;
  padding: 100px 100px 0px 100px;
}

.menu {
  padding: 0 80px 50px 80px;
  display: flex;
  justify-content: space-between;
  padding-top: 40px;
}

.menu img {
  width: 190px;
}

.menu img:hover {
  opacity: 0.5;
}

.banner {
  padding-top: 50px;
  text-align: center;
}

.banner img {
  width: 220px;
  padding: 5px;
  border: 1px solid #d8d8d8;
  margin-left: 2px;
  margin-right: 2px;
}

.banner img:hover {
  opacity: 0.5;
}

footer {
  text-align: center;
  width: 100%;
  margin: 0 auto 0;
  background-color: #ffffff;
  padding: 14px 10px 100px;
  border-top: 1px solid #d8d8d8;
}

footer img {
  width: 390px;
}

/*▼ここから作品ページの指定-------------------------------------------------------------*/

h3 {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 30px;
}

h4 {
  font-size: 26px;
  font-weight: bold;
  margin: 20px 0 20px 0;
  padding: 10px 5px 2px 12px;
  border-left: 10px solid #3c3c3c;
  border-top: 1px solid #3c3c3c;
  line-height: 26px;
}

h5 {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 8px;
}

.main {
  margin: 40px auto 40px;
  width: 640px;
}

.main p {
  line-height: 28px;
  margin-bottom: -10px;
}

.work {
  display: block;
  /*   border-top: 1px solid #d8d8d8; */
  padding: 10px 0 30px 0;
}

.work a {
  color: #0061d0;
}

.image1 {
  margin-top: 30px;
}

.image3,
.image3fll,
.image2 {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-top: 30px;
}

.image1 img {
  width: 100%;
  margin-bottom: 5px;
  border-radius: 5px;
}

.image1 img:hover {
  opacity: 0.5;
}

.image2 img {
  width: 315px;
  object-fit: cover;
  margin-bottom: 5px;
  border-radius: 5px;
}

.image2 img:hover {
  opacity: 0.5;
}

.image3 img {
  width: 210px;
  height: 150px;
  object-fit: cover;
  margin-bottom: 5px;
  border-radius: 5px;
}

.image3 img:hover {
  opacity: 0.5;
}

.image3fll img {
  width: 210px;
  margin-bottom: 5px;
  border-radius: 5px;
}

.image3fll img:hover {
  opacity: 0.5;
}

.border1px {
  border: 1px solid #d8d8d8;
  border-radius: 10px;
}

.cap {
  font-size: 13px;
  margin-top: -5px;
}

/*▼ここからミライエについてページの指定-------------------------------------------------------------*/

.about_logo {
  width: 100%;
  margin: 50px 0;
}

.map {
  margin-top: 50px;
}

/*ここからスマホ対応の指定-------------------------------------------------------------*/

@media screen and (max-width:640px) {

  .hamburger-menu {
    display: block;
  }

  html,
  body {
    overflow-x: hidden;
  }

  body {
    max-width: 100%;
    margin: 0 auto 0;
  }

  header {
    max-width: 100%;
    height: auto;
    padding: 0 0 10px 0;
  }

  h1 {
    font-size: 24px;
    padding: 20px;
  }

  header .catch {
    font-size: 14px;
    font-weight: lighter;
  }

  .header_imge img {
    width: 100%;
    object-position: 50% 50%;
  }

  header nav ul {
    display: none;
  }

  .toplogo {
    width: 100%;
    padding: 0;
    margin-top: 30px;
  }

  .menu {
    width: 100%;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding-top: 30px;
  }

  .menu a {
    width: 50%;
  }

  .menu img {
    width: 100%;
  }

  .menu img:hover {
    opacity: 0.5;
  }

  footer img {
    width: 100%;
  }

  /*▼ここから作品ページの指定-------------------------------------------------------------*/

  .main {
    margin: 0;
    width: 100%;
  }

  main .cap {
    line-height: 18px;
    margin-top: 0;
  }

  h2 {
    display: block;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    padding: 5px;
    background: linear-gradient(#232323, #000000);
    color: #ffffff;
  }

  h2 span {
    font-size: 14px;
    font-weight: lighter;
  }

  h3 {
    font-size: 16px;
    margin-bottom: 20px;
    line-height: 20px;
  }

  h3 span {
    display: inline-block;
  }

  h4 {
    font-size: 20px;
    font-weight: bold;
    line-height: 25px;
    padding-bottom: 0;
  }

  h4 span {
    display: inline-block;
  }

  .image1 {
    margin-top: 30px;
  }

  .image3,
  .image3fll,
  .image2 {
    display: flex;
    flex-wrap: wrap;
  }

  .image2 a {
    width: 50%;
  }

  .image2 img {
    width: 98%;
  }

  .image3 a {
    width: 33.3%;
  }

  .image3 img {
    width: 98%;
    height: 98%;
  }

  .image3fll a {
    width: 33.3%;
  }

  .image3fll img {
    width: 98%;
  }