@charset "utf-8";

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  /* font-family: sans-serif; */
}

#first-view  {
  position: relative;
  width: 100vw;
  height: 85vh;
  background-image: url("/images/ship06.jpg");
  background-position: center;
  background-size: cover;
}

header {
  width: 100vw;
}

header {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-bar {
  width: 100%;
  background-color: #fff;
}

.header-bar .wrapper{
  width: 90%;
  height: 10vh;
  min-height: 50px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-bar .logo {
  font-size: 1rem;
}

.header-bar .logo span {
  font-size: 2.5rem;
  font-weight: 900;
}

.header-bar .wrapper .logo .mb {
  display: none;
}

.header-bar .tel {
  font-size: 1.5rem;
}

.nav-bar {
  width: 100%;
  height: 30px;
  background-color: darkblue;
}

.nav-bar .wrapper {
  width: 90%;
  margin: 0 auto;
  align-items: center;
}

.nav-bar nav ul {
  display: flex;
  list-style: none;
}

.nav-bar nav ul li {
  margin: 0 auto;
  /* padding: 0 10px 0 10px; */
}

.nav-bar nav ul li a {
  color: white;
  font-size: 1.2rem;
  font-weight: 400;
  text-decoration: none;
}

.c-copy p {
  position: absolute;
  top: 20%;
  left: 10%;
  font-size: 50px;
  font-weight:600;
  color: #666;
}

#kaisya {
  width: 100vw;
  min-height: 100vh;
  height: auto;
  color: #222;
  /* background-color: darkgray; */
}

#kaisya .wrapper {
  width: 90%;
  min-height: 100vh;
  margin: 0 auto;
}

#kaisya .wrapper .ttl {
  font-size: 1.5rem;
  font-weight: bold;
  color: #222;
  text-align: center;
  padding: 15vh 30px 0 30px;
  border-bottom: 2px solid dimgray;
}

#kaisya .wrapper table {
  margin: 20px auto;
  width: 80%;
  border-collapse: collapse;
}

#kaisya .wrapper table .h3 th {
  border-style: none;
}

#kaisya .wrapper table tr,
#kaisya .wrapper table th,
#kaisya .wrapper table td {
  border: 1px solid #222;
  padding: 5px 10px;
}

#senpaku {
  width: 100vw;
  height: auto;
  color: #222;
   /* background-color: azure; */
}

#senpaku .wrapper {
  width: 90%;
  margin: 0 auto;
}

#senpaku .wrapper .ttl {
  font-size: 1.5rem;
  font-weight: bold;
  color: #222;
  text-align: center;
  padding: 15vh 30px 0 30px;
  border-bottom: 2px solid dimgray;
}

#senpaku .wrapper table {
  margin: 20px auto;
  width: 80%;
  border-collapse: collapse;
}

#senpaku .wrapper table .h3 th {
  border-style: none;
}

#senpaku .wrapper table tr,
#senpaku .wrapper table th,
#senpaku .wrapper table td {
  border: 1px solid #222;
  padding: 5px 10px;
}

#senpaku .wrapper table th[colspan] {
  background-color: lightgrey;
}

.container {
  width: 1260px;
  margin: 70px auto 0;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}

.container .box {
  position: relative;
  width: 400px;
  height: 300px;
  /* background: #ff0; */
  margin: 10px;
  box-sizing: border-box;
  display: inline-block;
}

.container .box .imgbox {
  position: relative;
  object-fit: cover;
  overflow: hidden;
}

.container .box .imgbox img {
  max-width: 100%;
  transition: transform 2s;
}

.container .box:hover .imgbox img {
  transform: scale(1.2);
}

.container .box .details {
  position: absolute;
  top: 10px;
  left: 10px;
  bottom: 10px;
  right: 10px;
  background: rgba(0, 0, 0, .6);
  transform: scaleY(0);
  transition: transform .5s;
}

.container .box:hover .details {
  transform: scaleY(1);
}

.container .box .details .content {
  position: absolute;
  width: 100%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  padding: 15px;
  color: #fff;
}

.container .box .details .content h2 {
  margin: 0;
  padding: 0;
  font-size: 1.3rem;
  color: #ff0;
}

.container .box .details .content p {
  margin: 10px 0 0;
  padding: 0;
  font-size: 1rem;
}

.space {
  width: 100%;
  height: 70px;
}

#gaiyou {
  width: 100vw;
  min-height: 100vh;
  color: #222;
  /* background-color: beige; */
}

#gaiyou .wrapper {
  width: 90%;
  margin: 0 auto ;
}

#gaiyou .wrapper .ttl {
  font-size: 1.5rem;
  font-weight: bold;
  color: #222;
  text-align: center;
  padding: 15vh 30px 0 30px;
  border-bottom: 2px solid dimgray;
}

#gaiyou .wrapper table {
  margin: 20px auto;
  width: 80%;
  border-collapse: collapse;
}

#gaiyou .wrapper table .h3 th {
  border-style: none;
}

#gaiyou .wrapper table tr,
#gaiyou .wrapper table th,
#gaiyou .wrapper table td {
  border: 1px solid #222;
  padding: 5px 10px;
}

#gaiyou .wrapper table th {
  background-color: lightgrey;
}

#footer {
  width: 100vw;
  height: auto;
  text-align: center;
  background: #555;
}

#footer .footer-nav .wrapper {
  width: 80%;
  margin: 0 auto;
}

#footer .footer-nav .wrapper ul{
  display: flex;
  justify-content: center;
  align-items: center;
}

#footer .footer-nav .wrapper ul li {
  list-style: none;
  padding: 10px ;
}

#footer .footer-nav .wrapper ul li a  {
  text-decoration: none;
  color: #fff;
}

#footer h3 {
  color: #222;
}

#footer .adress,
#footer .adress2 {
  color: #333;
}

#footer .copyright {
  margin-top: 20px;
}

@media only screen and (max-width: 980px) {

  #first-view  {
    position: relative;
    width: 100vw;
    height: 85vh;
    background-image: url("/images/ship06.jpg");
    background-position: left;
    background-size: cover;
  }

  .c-copy p {
    position: absolute;
    top: 20%;
    left: 5%;
    font-size: 30px;
  }

  .header-bar .wrapper{
    width: 90%;
    height: 8vh;
    min-height: 50px;
  }
  
  .header-bar .logo {
    font-size: .8rem;
  }
  
  .header-bar .logo span {
    font-size: 2rem;
    font-weight: 900;
  }
  
  .header-bar .tel {
    font-size: 1rem;
  }

  .nav-bar nav ul li a {
    font-size: 1rem;
    font-weight: 400;
  }

  #kaisya .wrapper table {
    width: 80%;
  }

  #senpaku .container {
    width: 90%;
    margin: 70px auto 0;
  }
  
  #senpaku .container .box {
    width: 32%;
    height: 32%;
    margin: 0.5%;
  }

  .container .box .details .content h2 {
    font-size: 1.3rem;
    color: #ff0;
  }
  
  .container .box .details .content p {
    margin: 10px 0 0;
    font-size: 1rem;
    padding: 0;
  }
  
  #gaiyou .wrapper table {
    width: 80%;
  }

} 

@media only screen and (max-width: 560px) {

  #first-view  {
    position: relative;
    width: 100vw;
    height: 85vh;
    background-image: url("/images/container.jpg");
    background-position: center;
    background-size: cover;
  }

  .c-copy p {
    position: absolute;
    top: 25%;
    left: 35%;
    font-size: 30px;
    font-weight: bold;
    color: #666;
  }

  .header-bar .wrapper .logo .mb {
    display: block;
  }

  .nav-bar nav ul li a {
    font-size: 0.8rem;
    font-weight: 400;
  }

  #kaisya .wrapper table,
  #senpaku .wrapper table {
    margin: 20px auto;
    width: 90%;
    font-size: 0.7rem;
  }

  #senpaku .container .box {
    width: 49%;
    height: 49%;
    margin: 0.5%;
  }

  .container .box .details .content h2 {
    margin: 0;
    padding: 0;
    font-size: 1.2rem;
    color: #ff0;
  }
  
  .container .box .details .content p {
    margin: 10px 0 0;
    font-size: 0.7rem;
    padding: 0;
  }

  #gaiyou .wrapper table {
    margin: 20px auto;
    width: 90%;
    font-size: 0.7rem;
    border-collapse: collapse;
  }

  #footer .footer-nav .wrapper ul li a  {
    text-decoration: none;
    color: #fff;
    font-size: 0.8rem;
  }

  #footer {
    font-size: 0.8rem;
  }

  #footer .footer-nav .wrapper {
    width: 90%;
  }
}

@media only screen and (max-width: 415px) {

  .c-copy p {
    position: absolute;
    top: 25%;
    left: 35%;
    font-size: 20px;
    font-weight: bold;
    color: #666;
  }

  .header-bar .logo {
    font-size: .7rem;
  }
    
  .header-bar .logo span {
    font-size: 1.5rem;
    font-weight: 900;
  }
    
  .header-bar .tel {
    font-size: .8rem;
  }

  .nav-bar nav ul li {
    margin: 0 auto;
  }

  .nav-bar nav ul li a {
    font-size: .7rem;
    font-weight: 400;
  }

  #senpaku .container .box {
    width: 99%;
    height: 99%;
    margin: 1%;
    flex: auto;
  }
  
}











