@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: 100vh;
    height: 100dvh;
    overflow: hidden;
}

header .swiper,
header .swiper-container,
header .main-slider-outer { /* お使いのスライダーのクラス名に合わせて調整してください */
    width: 100% !important;
    height: 100% !important;
}

/* スライドの枠自体も高さを100%に */
header .swiper-slide {
    width: 100% !important;
    height: 100% !important;
    overflow: hidden;
}

/* 画像が歪まずに画面いっぱいに広がるように設定 */
header .swiper-slide img,
header .swiper-slide picture {
    width: 100% !important;
    height: 100% !important;
    display: block !important;
}

header .swiper-slide img {
    object-fit: cover !important; /* 縦横比を維持したまま画面いっぱいに広げる */
    object-position: center !important;
}

.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: 20%;
    bottom: 13%;
    right: 3%;

}

.bottom-phone {
    position: fixed;
    width: 20%;
    bottom: 5%;
    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: rgba(0, 0, 0, 0.2);
  border-radius: 50%;
  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;
    height: 100vh;
  }
}

.bottom-phone {
    visibility: hidden;
}

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

/* スライド */
.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%;
    }
}

/* ==========================================================================
   会社紹介セクション（背景独自Swiperスライダー付き）
   ========================================================================== */
.intro-section {
    position: relative;
    padding: 120px 0;
    overflow: hidden;
    color: #ffffff; 
    text-align: center;
    min-height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 背景スライダー全体の絶対配置 */
.intro-section .intro-swiper-outer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* ラッパー要素（スライドの親要素）の設定 */
.intro-section .intro-swiper-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

/* 【超重要】フェードに必要な「同じ位置への重ね合わせ」と「初期状態を透明」にする設定 */
.intro-section .intro-swiper-slide {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    overflow: hidden;
    
    /* 核心：初期状態はすべて透明にし、裏側に引っ込める */
    opacity: 0 !important;
    visibility: hidden !important;
    z-index: 1 !important;
    /* 1.5秒かけてじわっと切り替える滑らかな設定 */
    transition: opacity 1500ms ease, visibility 1500ms ease !important;
}

/* 【超重要】現在アクティブ（表示中）なスライドだけを100%浮き上がらせる */
.intro-section .intro-swiper-slide.swiper-slide-active {
    opacity: 1 !important;
    visibility: visible !important;
    z-index: 2 !important;
}

/* リセットCSSによるinline化を防ぎ、背景画像として広げる */
.intro-section .intro-swiper-slide picture,
.intro-section .intro-swiper-slide img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
}

.intro-section .intro-swiper-slide img {
    object-fit: cover !important;
    object-position: center !important;
}

/* 画像の上に被せるネイビーのオーバーレイ */
.intro-section .slider-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 30, 66, 0.5);
    z-index: 3; /* スライド（z-index:2）のすぐ上 */
    pointer-events: none;
}

.intro-section .intro-container {
    position: relative;
    z-index: 4;
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
    display: flex;
    flex-direction: column
}

/* h2 タイトル */
.intro-section .intro-title {
    font-family: "UD Shin Go NT Bold";
    font-size: 32px;
    font-weight: 700;
    letter-spacing: 0.05em;
    margin-bottom: 40px;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
    color: #ffffff !important;
    text-transform: none !important;
}

.intro-section .intro-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: #00a8e8;
}

/* ul 特徴リスト */
.intro-section .intro-features {
    list-style: none;
    padding: 0;
    margin: 0 auto 50px auto;
    max-width: 500px;
    text-align: left;
}

.intro-section .intro-features li {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 15px;
    position: relative;
    padding-left: 30px;
    font-weight: 500;
    color: #ffffff !important;
}

.intro-section .intro-features li::before {
    content: '\f00c'; 
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: #00a8e8; 
    font-size: 16px;
}

@media (max-width: 767px) {
    .intro-section .intro-container {
        max-width: 100%;
    }
    .intro-title span {
        content: "\A";
        white-space: pre;
    }
}

/* ==========================================================================
   キャッチコピーのアニメーション演出（WOW.js完全連動版）
   ========================================================================== */
.intro-section .intro-catch {
    font-size: 24px;
    line-height: 1.8;
    color: #ffffff !important;
    font-weight: 700;
    margin: 0;
    letter-spacing: 0.05em;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

/* キーワード（鮮度・品質・対応力）の並び */
.intro-section .catch-keywords {
    display: flex;
    gap: 15px;
    margin-bottom: 5px;
}

/* 【初期状態】画面に入る前（WOW.jsが発火する前）は、キーワードも文字も完全に透明 */
.intro-section .keyword,
.intro-section .catch-text span {
    opacity: 0;
}

/* 【重要】画面に入って .animated クラスがついた瞬間からアニメーションを一斉スタート */
.intro-section .intro-catch.animated .keyword {
    animation: fadeInUp 0.6s ease forwards;
}

.intro-section .intro-catch.animated .catch-text span {
    animation: fadeInChar 0.1s ease forwards;
}

/* キーワード3つの出現タイミング（0.3秒後、0.9秒後、1.5秒後） */
.intro-section .intro-catch.animated .keyword:nth-child(1) { animation-delay: 0.3s; }
.intro-section .intro-catch.animated .keyword:nth-child(2) { animation-delay: 0.9s; }
.intro-section .intro-catch.animated .keyword:nth-child(3) { animation-delay: 1.5s; }

/* ふわっと浮き上がるアニメーション */
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(15px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 1文字ずつパッと浮き出るアニメーション */
@keyframes fadeInChar {
    to {
        opacity: 1;
    }
}

/* スマホ表示の調整 */
@media (max-width: 767px) {
    .intro-section .intro-catch {
        font-size: 18px;
        gap: 10px;
    }
    .intro-section .catch-keywords {
        gap: 8px;
    }
    .intro-section .keyword {
        padding: 2px 8px;
        font-size: 14px;
    }
}

/* ==========================================================================
   スタッフ紹介セクション（自作JSカルーセルスライダー）
   ========================================================================== */
.staff-section {
    background-color: #f4f7f9;
    padding: 80px 0;
    overflow: hidden;
}

.staff-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    padding: 0 20px;
}

.section-title {
    text-align: center;
    font-size: 32px;
    color: #002d62;
    margin-bottom: 50px;
    font-weight: 700;
}
.section-title span {
    display: block;
    font-size: 14px;
    color: #00a8e8;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 8px;
}

.slider-outer {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.slider-viewport {
    overflow: hidden;
    width: 100%;
    padding: 20px 0;
    touch-action: pan-y; 
}

.slider-container {
    display: flex;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform;
}

/* スタッフカードの幅とスタイル */
.staff-slide-card {
    flex: 0 0 100%; /* スマホ時は1枚ぴったり表示 */
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 45, 98, 0.06);
    overflow: hidden;
    border: 1px solid #eef2f5;
    display: flex;
    flex-direction: column;
    user-select: none;
}

/* PC・タブレット側の幅上書き */
@media (min-width: 768px) {
    .staff-slide-card { 
        flex: 0 0 calc(50% - 30px); 
        margin: 0 15px; 
    }
}
@media (min-width: 1024px) {
    .staff-slide-card { 
        flex: 0 0 calc(33.333% - 30px); 
        margin: 0 15px; 
    }
}

/* カード内装飾 */
.card-image {
    position: relative;
    width: 100%;
    padding-top: 75%;
    background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%);
    overflow: hidden;
}
.card-image img {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

.card-badge {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: rgba(0, 45, 98, 0.85);
    color: #ffffff;
    padding: 4px 14px;
    font-size: 13px;
    font-weight: 700;
    border-radius: 50px;
    backdrop-filter: blur(4px);
}

.card-body {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.staff-name {
    font-size: 22px;
    color: #002d62;
    margin: 0 0 15px 0;
    font-weight: 700;
    display: flex;
    align-items: baseline;
}
.name-ruby {
    font-size: 13px;
    color: #94a3b8;
    margin-left: 10px;
    font-weight: 400;
}

.staff-quote {
    font-size: 15px;
    font-weight: 700;
    color: #00a8e8;
    margin: 0 0 15px 0;
    line-height: 1.4;
    border-left: 3px solid #00a8e8;
    padding-left: 10px;
}

.staff-text {
    font-size: 14px;
    color: #475569;
    line-height: 1.6;
    margin: 0;
}

/* ナビゲーション矢印ボタン */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #ffffff;
    border: none;
    box-shadow: 0 4px 14px rgba(0, 45, 98, 0.15);
    color: #002d62;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.3s ease;
}

.prev-arrow { left: -25px; }
.next-arrow { right: -25px; }

.slider-arrow:hover {
    background: #002d62;
    color: #ffffff;
}

/* 矢印ボタン：タブレット・スマホ表示 */
@media (max-width: 1240px) {
    .slider-arrow {
        width: 40px;
        height: 40px;
        font-size: 14px;
        background: rgba(255, 255, 255, 0.95);
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    }
    .prev-arrow { left: 0px; }
    .next-arrow { right: 0px; }
}

/* ドットナビゲーション */
.slider-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}
.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #cbd5e1;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: all 0.3s ease;
}
.dot.active {
    background: #00a8e8;
    width: 24px;
    border-radius: 5px;
}

@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%;
  }
}

/* ==========================================================================
   オープニングローダー（画面読み込み完了でフェードアウト）
   ========================================================================== */
#loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh; /* スマホのアドレスバー対策 */
    background-color: #001e42; /* テーマカラーのブルー（会社紹介オーバーレイ等と統一） */
    z-index: 999999; /* 全ての要素の一番上に強制配置 */
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.8s ease, visibility 0.8s ease; /* 0.8秒かけてスッと消える */
}

/* ローダーが完了して消える時のクラス名 */
#loader-wrapper.loaded {
    opacity: 0;
    visibility: hidden;
}

/* 中央でくるくる回るシンプルなアニメーション（不要なら削除してもOKです） */
.loader-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255, 255, 255, 0.2);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}