@charset "utf-8";

/* 共通部分
------------------------------ */
html {
  font-size: 100%;
}
body {
  font-family: "游明朝", YuMincho, "Hiragino Mincho ProN W3", "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "MS P明朝", "MS 明朝", serif;
  line-height: 1.7;
  color: #454545;
}
body, div, p,
h1, h2, h3, h4,
ul, ol, li, figure {
  margin: 0;
  padding: 0;
}
*, *::before, *::after {
  box-sizing: border-box;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  text-decoration: none;
}
.wrapper {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 4%;
}
section {
  margin-bottom: 80px;
}
section p {
  text-align: justify;
}
/* 見出し */
.heading {
  padding: 0.4rem 0.5rem;
  background: #f4f4f4;
  border-left: 5px solid #64bcfc;
  border-bottom: 3px solid #d7d7d7;
  margin: 0 auto 40px;
  width: 48%;
  text-align: center;
  font-weight: normal;
}
.main-nav,
.mobile-nav,
.heading {
  font-family: 'Nunito', sans-serif;
  letter-spacing: 1px;
}
.clear::after {
  content: '';
  display: block;
  clear: both;
}

/* HEADER
------------------------------ */
.header {
  padding: 15px 0;
  width: 100%;
  position: absolute;
  top: 0;
  background-color: rgba(255, 255, 255, .6);
}
.header .wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo {
  width: 280px;
}
/* main-nav */
.main-nav {
  display: flex;
  list-style: none;
  font-size: 1.375rem;
}
.main-nav li {
  padding-left: 26px;
}
/* main-nav_roll-over */
.main-nav a {
  display: inline-block;
  color: #454545;
}
.main-nav a::after {
  content: '';
  display: block;
  width: 0;
  margin: 0 auto;
  border-bottom: 1.5px solid #64bcfc;
  transition: width 0.3s ease-in-out;
}
.main-nav a:hover::after {
  width: 100%;
}
/* mobile-nav */
.open,
.close {
  display: none;
  font-size: 2rem;
}
.open {
  color: #454545;
}
.close {
  position: fixed;
  top: 20px;
  right: 20px;
  color: #fff;
}
.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  width: 100%;
  list-style: none;
  text-align: center;
  letter-spacing: 2.5px;
  background: rgba(0, 0, 0, .7);
  z-index: 10;
}
.mobile-nav li {
  width: 66%;
  margin: 0 auto;
  border-bottom: 1px solid #fff;
}
.mobile-nav li:nth-of-type(4) {
  border: none;
}
.mobile-nav a {
  display: block;
  padding: 20px 0;
  font-size: 1.375rem;
  color: #fff;
}

/* FIRST-VIEW
------------------------------ */
.first-view {
  background-image: url(../images/first-view.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  margin-bottom: 80px;
  height: 100vh;
}
.main-copy {
  position: absolute;
  top: 180px;
  left: 0;
  right: 0;
  margin: auto;
  width: 75%;
}

/* INFORMATION
------------------------------ */
.information img {
  float: left;
  width: 48%;
  margin-right: 4%;
  box-shadow: 3px 3px 6px #d7d7d7;
}
.information p {
  margin-bottom: 1rem;
}
.information span {
  font-weight: bold;
  color: #000;
  padding: 0 2px;
}
.information span:nth-of-type(1) {
  padding-left: 0;
}

/* SERVICE
------------------------------ */
.service .contents {
  display: flex;
  justify-content: space-between;
}
.service .contents-item {
  width: 22%;
  box-shadow: 3px 3px 6px #d7d7d7;
}
.service .text-contents {
  padding: 1rem;
  height: 200px;
  background: #f4f4f4;
}
.service h3 {
  text-align: center;
  margin-bottom: 0.5rem;
  letter-spacing: 1px;
}
.service .addition {
  margin-top: 2rem;
  text-align: center;
}
.service span {
  color: #64bcfc;
}

/* WORKS
------------------------------ */
.gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  list-style: none;
}
.gallery li {
  width: 48%;
  position: relative;
  box-shadow: 3px 3px 6px #999999;
}
.gallery li:nth-of-type(3),
.gallery li:nth-of-type(4) {
  margin: 40px 0;
}
/* キャプション部分 */
.light-color {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  padding: 0.5rem 0;
  background: rgba(0, 0, 0, .6);
}
.gallery p {
  text-align: center;
  color: #fff;
}

/* ABOUT
------------------------------ */
.about .text-contents {
  padding: 0 70px;
}

/* FOOTER
------------------------------ */
.footer {
  padding: 20px 4%;
  font-size: 0.875rem;
  text-align: center;
  letter-spacing: 0.5px;
  background: #454545;
  color: #fff;
}
.footer address {
  font-style: normal;
}
.footer .copyright {
  font-family: sans-serif;
}
.footer .wrapper {
  position: relative;
}
.scroll-top span {
  position: absolute;
  bottom: 0;
  right: 0;
  font-size: 2.5rem;
  width: 50px;
  height: 50px;
  border: 4px solid #fff;
  color: #fff;
  cursor: pointer;
}
.scroll-top:hover {
  opacity: 0.7;
}
