@charset "utf-8";
/* --------------------------------- */
header {
    background-image: url(../images/top_pc2.jpg);
    width: 100%;
    /*position: fixed;*/
    top: 0;
    transition: all .2s ease;
    z-index: 10000;
    position: relative;
    height: 90vh;
}

.svglogo {
}

.svglogo {
    width: 100%;
    position: rerative;
}

.svglogo p {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
}

#svglogo {
    width: 70%;
    height: 70%;
}

.cls-2  {
    font-size: 2rem;
}

.svglogo svg {
    position: absolute;
    top: 11%;
    left: 15%;
    width: 100%;
    height: 100%;
}

header .top-phone {
    position: absolute;
    width: 25%;
    bottom: 13%;
    right: 3%;

}

.bottom-phone {
    position: fixed;
    width: 25%;
    bottom: 13%;
    right: 3%;
    z-index: 2;
    opacity: 0;
    visibility: hidden;
}
.active{
  opacity: 1;
  visibility: visible;
  animation: fadeIn 1s ease-in;
}
@keyframes fadeIn {
  0% {
    transform: scale(1);
    opacity: 0;
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

header nav {
    position: absolute;
    bottom: 0;
    background: rgba(23, 42, 136, 0.8);
    width: 100%;
    display: flex;
    height: 70px;
}
header nav h1,
header nav h1 small,
header nav li a {
    color: white;
}
header nav h1 small {
    font-size: .7em;
    margin-right: 2rem;
}
header nav .ttl {
    width: 40%;
    text-align: left;
    margin: .5em 0 0 2rem;
}
header nav ul {
    display: flex;
    justify-content: flex-end;
    padding: 1rem;
    width: 60%;
    margin-right: 1rem;
}

header nav li {
    margin-right: 1rem;
    font-size: 1.2rem;
}
header nav li::after {
    content: "/";
    color: white;
    margin-left: 1rem;
}
header nav li:last-child::after {
    content: none;
}

.header-sp {
    display: none;
}

main {
    text-align: center;
}

section {
    width: 100%;
    padding: 5% 0;
}
.sec-head {
    width: 50%;
    margin: 0 auto;
    padding-bottom: 5%;
}
.sec-head img {
    width: 50%;
}
.sec-caption {
    width: 100%;
}
.sec-caption p {
    text-align: left;
}
.about-flex img {
    filter: drop-shadow(2px 2px 4px gray);
}

.about-flex ul {
    display: flex;
    justify-content: center;
}
.about-flex li {
    width: 25%;
    margin-right: 2%;
}
.about-flex figcaption p {
    text-align: justify;
    padding: 3% 0 3% 12%;
}

#feature {
    background-color: #244892;
}
#feature h3 {
    color: yellow;
}
#feature p {
    color: white;
}
.feature1 {
    background: url(../images/port.jpg);
    margin-bottom: 5%;
    height: 400px;
    position: relative;
}
.feature2 {
    background: url(../images/market.jpg);
    margin-bottom: 5%;
    height: 400px;
    position: relative;
}
.feature3 {
    background: url(../images/tarumi.jpg);
    margin-bottom: 5%;
    height: 400px;
    position: relative;
}
.feature1 div,
.feature2 div,
.feature3 div {
    width: 25%;
    background: rgba(23, 42, 136, 0.8);
    padding: 3%;
    text-align: left;
}
.feature1 div,
.feature3 div {
    position: absolute;
    bottom: 0;
    right: 10%;
}
.feature2 div {
    position: absolute;
    bottom: 0;
    left: 7%;
}

#items {
    background: url(../images/fish_background.jpg);
    height: auto;
}
.item-flex ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    width: 70%;
    margin: auto;
}
.item-flex li {
    width: 27%;
    margin: 3%;
}
.item-flex figcaption p {
    text-align: left;
    background: rgba(255, 255, 255, 0.8);
    padding: 1rem 1.2rem;
}
.item-flex li:nth-child(2) {
    padding-top: 5%
}

#contact {
    background-color: #244892;
}
#contact p {
    color: white;
    text-align: center;
}

#contact .mail {
    margin-bottom: 3%;
    font-size: 3rem;
}
#contact .tel {
    font-size: 4rem;
}

.outline {
    width: 50%;
    margin: auto;
}

.outline h3 {
    margin-bottom: 5%;
}

.outline table {
    margin: 5% auto;
    width: 100%;
}
.outline table th {
    background: darkblue;
    border: solid 1px #ccc;
    color: #fff;
    padding: 10px;
    width: 20%;
    vertical-align: middle;
}
.outline table td {
    border: solid 1px #ccc;
    padding: 10px;
    width: 80%;
}
.outline thead {
    font-size: 1.3rem;
    font-weight: bold;
}


/* ==========================================================
   レスポンシブ対応（768px以下）
========================================================== */
@media screen and (max-width: 768px) {

  /* 全体 */
  body {
    font-size: 90%;
  }

/* ==========================================================
   スマホ用ハンバーガーメニュー
========================================================== */

/* overlay-styles.css */
.hamburger-overlay {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1000;
  width: 48px;
  height: 48px;
  border: none;
  background: transparent;
  cursor: pointer;
}

.hamburger-overlay__line {
  position: absolute;
  left: 11px;
  width: 26px;
  height: 2px;
  background-color: whitesmoke;
  transition: all .6s;
}

.hamburger-overlay__line:nth-of-type(1) { top: 14px; }
.hamburger-overlay__line:nth-of-type(2) { top: 23px; }
.hamburger-overlay__line:nth-of-type(3) { top: 32px; }

.hamburger-overlay.active .hamburger-overlay__line {
  background-color: #fff;
}

.hamburger-overlay.active .hamburger-overlay__line:nth-of-type(1) {
  transform: translateY(9px) rotate(-45deg);
}
.hamburger-overlay.active .hamburger-overlay__line:nth-of-type(2) {
  opacity: 0;
}
.hamburger-overlay.active .hamburger-overlay__line:nth-of-type(3) {
  transform: translateY(-9px) rotate(45deg);
}

.nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.95);
  visibility: hidden;
  opacity: 0;
  transition: all .6s;
  z-index: 900;
}

.nav-overlay.active {
  visibility: visible;
  opacity: 1;
}

.nav-overlay__content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  text-align: center;
}

.nav-overlay__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-overlay__item {
  opacity: 0;
  transform: translateY(20px);
  transition: all .6s;
}

.nav-overlay.active .nav-overlay__item {
  opacity: 1;
  transform: translateY(0);
}

.nav-overlay.active .nav-overlay__item:nth-child(1) { transition-delay: 0.1s; }
.nav-overlay.active .nav-overlay__item:nth-child(2) { transition-delay: 0.2s; }
.nav-overlay.active .nav-overlay__item:nth-child(3) { transition-delay: 0.3s; }
.nav-overlay.active .nav-overlay__item:nth-child(4) { transition-delay: 0.4s; }

.nav-overlay__link {
  display: inline-block;
  padding: 20px;
  color: #fff;
  font-size: 24px;
  text-decoration: none;
  transition: color .3s;
}

.nav-overlay__link:hover {
  color: #4a90e2;
}

/* ==========================================================
   SP
========================================================== */
@media screen and (max-width: 768px) {
  .header-pc {
    display: none;
  }
  .header-sp {
    display: block;
  }
}

.bottom-phone {
    visibility: hidden;
}

header {
  background-repeat: no-repeat;
  background-size: 100vw;
  height: 70vh;
}

/* スライド */
.swiper {
    z-index: -1!important;
}
.swiper-slide img {
  height: auto;
  width: 100%;
}

.header-sp h1 {
    position: absolute;
    padding: 7% 0 0 3%;
}

.cls-2 {
    font-weight: bold;
}

header .top-phone {
    width: 50%;
    bottom: 5%;
}


header nav li::after {
    content: none;
}


  /* セクションヘッダー */
  .sec-head {
    width: 90%;
    padding-bottom: 8%;
  }

  .sec-head img {
    width: 80%;
  }

  .sec-caption p {
    text-align: justify;
  }

  /* ABOUTセクション */
  .about-flex ul {
    flex-direction: column;
    align-items: center;
  }

  .about-flex li {
    width: 90%;
    margin: 1rem 0;
  }

  .about-flex figcaption p {
    padding: 3% 0;
  }

  /* FEATUREセクション */
  .feature1, .feature2, .feature3 {
    height: 550px;
    /*margin-bottom: 2rem;*/
    margin-bottom: 10rem;
  }

  .feature1 div,
  .feature2 div,
  .feature3 div {
    /*position: static;*/
    position: absolute;
    bottom: -10%;
    width: 80%;
    margin: 0 auto;
    padding: 1.5rem;
  }
  .feature1 div, .feature2 div, .feature3 div {
    position: absolute;
    bottom: -30%;
    }

  .feature1 {
    background: url(../images/feature2_sp.jpg) no-repeat;
    background-size: contain;
    width: 100%;
    position: relative;
}
.feature2 {
    background: url(../images/feature4_sp.jpg) no-repeat;
    background-size: contain;
    width: 100%;
    position: relative;
}
.feature3 {
    background: url(../images/feature7_sp.jpg) no-repeat;
    background-size: contain;
    width: 100%;
    position: relative;
}

  /* ITEMSセクション */

  #items {
    background: url(../images/fish_background_sp.jpg);
    background-size: cover;
  }

  #items figcaption {
    margin-top: -20%;
    z-index: 1;
    position: relative;
  }
  #items figcaption p {
    margin-top: -20%;
    z-index: 2;
  }
  #items figure img {
    z-index: 0;
  }
  
  .item-flex ul {
    width: 90%;
    flex-direction: column;
    align-items: center;
  }

  .item-flex li {
    width: 90%;
    margin: 1rem 0;
  }

  .item-flex figcaption p {
    font-size: 0.95rem;
  }

  /* CONTACT */
  #contact .mail {
    font-size: 1.5rem;
    margin-bottom: 2rem;
  }

  #contact .tel {
    font-size: 2rem;
  }

  /* COMPANY */
  .outline {
    width: 90%;
  }

  .outline img {
    width: 100%;
    height: auto;
  }

  table {
    width: 100%;
    display: table;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
  }
  .outline table th {
    width: 30%;
    }
  .outline table td {
    width: 70%;
    }
}

/* ==========================================================
   タブレット対応（769px〜1024px）
========================================================== */
@media screen and (min-width: 769px) and (max-width: 1024px) {

  header {
    height: 70vh;
  }

  .about-flex li,
  .item-flex li {
    width: 45%;
  }

  .feature1 div,
  .feature2 div,
  .feature3 div {
    width: 50%;
  }

  .outline {
    width: 70%;
  }
}
