@charset "utf-8";

*,
::before,
::after {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

ul,
ol {
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
}

body {
  font-family: "Inter", "Noto Sans JP", sans-serif;
  margin: 0;
  padding: 0;
  height: auto;
  font-size: 16px;
  line-height: 1;
 color: #000;
}

html{
  scroll-behavior:smooth;
  scroll-padding-top:100px;
}

/* ======================
Loading
====================== */

.loading{
position:fixed;
top:0;
left:0;
width:100%;
height:100dvh;
background:linear-gradient(
180deg,
#001f3f 0%,
#003566 50%,
#00509d 100%
);
display:flex;
align-items:center;
justify-content:center;
z-index:9999;
transition:0.8s;
}

.loading.hide{
opacity:0;
visibility:hidden;
}

/* 中央 */

.loading-inner{
text-align:center;
animation:logoFade 1.5s ease;
display:flex;
flex-direction:column;
align-items:center;
}

/* ロゴ */
.logo{
  opacity: 0;
  transform: translateY(20px) scale(0.95);
  transition: 0.5s ease;
}

.logo.show{
  opacity: 1;
  transform: translateY(0) scale(1);
}

.loading img{
width:160px;
margin-bottom:15px;
animation:logoFloat 3s ease-in-out infinite;
}

@keyframes logoFloat{

0%{
transform:translateY(0);
}

50%{
transform:translateY(-10px);
}

100%{
transform:translateY(0);
}

}

/* テキスト */

.loading p{
color:#fff;
font-size:24px;
letter-spacing:3px;
font-weight:600;
}
.company-ja{
font-size:14px;
letter-spacing:2px;
opacity:.8;
margin-top:6px;
}

/* ロゴフェード */

@keyframes logoFade{

0%{
opacity:0;
transform:translateY(20px);
}

100%{
opacity:1;
transform:translateY(0);
}

}

/* 消える */

.loading.hide{
  opacity:0;
  visibility:hidden;
  transition:0.8s;
}

.header {
  position: fixed;
  width: 100%;
  margin: 0 auto;
  height: auto; 
  z-index: 1000;
  background: transparent;
  text-align: right;
  padding: 20px 20px 10px;
  transition: all .4s ease;
  background: rgba(255,255,255,0.75);
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 8px rgba(0,0,0,.1);
}


.header-inner {
  max-width: 90%;
  height: 100px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-logo img {
  display: block;
  width: 120px;
  transition: transform .35s ease, filter .35s ease;
}

.header-logo img:hover {
  transform: scale(1.08);
  filter: drop-shadow(0 4px 10px rgba(0,0,0,.2));   
}

.nav-menu ul {
  display: flex;
  list-style: none;
  padding-top: 10px;
}

.nav-menu ul li {
  margin-left: 40px;
  margin-right: 40px;
}

.nav-menu ul li a {
  font-family: "Montserrat", sans-serif;
  font-weight: bold;
  font-size: 16px;
  color:#000;
  padding-bottom: 3px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
  background-image: linear-gradient(60deg, #00509d, #0c00f5);
  background-repeat: no-repeat;
  background-position: left bottom;
  background-size: 0 5px;
  transition: background-size 0.5s;
}

.nav-menu ul li a:hover {
  color: #005bac;
  background-size: 100% 2px;
} 


.header.small {
  height: 120px;
  padding: 10px;
}
.header.small img {
  width: 80px;
}

.header.small .nav-menu ul li a {
  font-size: 16px;
  margin-right: 5px;
  color:#000;
}

/* =========================
   Language Switch
========================= */

.lang-switch{
  display:flex;
  align-items:center;
  gap:4px;
  padding:4px;
  background:#005bac;
  border-radius:999px;
  box-shadow:0 4px 12px rgba(0,0,0,0.15);
}

/* ボタン */
.lang-switch__item{
  display:flex;
  align-items:center;
  justify-content:center;

  width:34px;
  height:24px;

  font-size:12px;
  font-weight:500;
  letter-spacing:.1em;

  color:rgba(255,255,255,.7);
  text-decoration:none;

  border-radius:999px;

  transition:
    background .25s,
    color .25s,
    transform .25s;
}

/* 現在言語 */
.lang-switch__item.is-active{
  background:#fff;
  color:#005bac;
  font-weight:600;
}

/* hover 縦回転 */
.lang-switch__item:hover span{
  transform: rotateX(360deg);
}

/* 文字 */
.lang-switch__item span{
  display:inline-block;
  transition: transform .6s ease;
}

.top {
  width: 100%;
  height: 100%;
  background-image: url(../image/image1.png);
  background-size: cover;
  background-position: center;
  padding-top: 140px;
}
.top-text{
  color: #fff;
  width: 100%;
  margin: 100px auto 0;
  text-align: center;
}

.top-text h1{
  width: 100%;
  font-size: 80px;
  margin: 0;
  text-shadow: 4px 4px 6px rgba(0, 0, 0, 0.5);
}
.top-text h1 span {
            display: inline-block;
            opacity: 0; /* 最初は隠しておく */
            /* bounceOnce: アニメーション名
               0.6s: 速度
               cubic-bezier: 跳ねるような加速感
               forwards: 終了時の状態をキープ 
            */
            animation: bounceOnce 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
            

        }

        @keyframes bounceOnce {
            0% {
                opacity: 0;
                transform: translateY(50px); /* 下から登場 */
            }
            70% {
                transform: translateY(-15px); /* 少し上に跳ねすぎる */
            }
            100% {
                opacity: 1;
                transform: translateY(0); /* 定位置に着地 */
            }
        }

        /* 各文字の遅延設定（これで順番に跳ねる） */
        h1 span:nth-child(1) { animation-delay: 2.0s; }
        h1 span:nth-child(2) { animation-delay: 2.1s; }
        h1 span:nth-child(3) { animation-delay: 2.2s; }
        h1 span:nth-child(4) { animation-delay: 2.3s; }
        h1 span:nth-child(5) { animation-delay: 2.4s; }
        h1 span:nth-child(6) { animation-delay: 2.5s; }
        h1 span:nth-child(7) { animation-delay: 2.6s; }
        h1 span:nth-child(8) { animation-delay: 2.7s; }
        h1 span:nth-child(9) { animation-delay: 2.8s; }
        h1 span:nth-child(10) { animation-delay: 3.0s; }

.top-text h2{
  font-size: 60px;
  margin: 20px 0;
  font-weight: 300;
  display: inline-block;
  padding-bottom: 5px;
  opacity: 0;
  animation: fadeIn 1s ease 2.8s forwards; 
  /* 文字が出終わった後にフェードイン */
}
.top-text p{
  font-size: 24px;
  margin-top: 15px;
  font-style: italic;
  opacity: 0;
   transform: translateY(20px);
  animation: fadeIn 1s ease 3.4s forwards;
}
@keyframes fadeIn {
to { opacity: 1; }
}
@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.top img {
  width: 900px;
  margin: 0 auto;
  display: block;
 }

.forwerding{
  width: 100%;
  margin-top: 100px;
} 
.forwerding-text{
  color: #fff;
  width: 100%;
  margin: 0 auto;
  line-height: 1.6;
}

.forwerding-text h1{
  font-size: 52px;
  margin: 20px;
  text-shadow: 4px 4px 6px rgba(0, 0, 0, 0.7);
}  
.forwerding-text p{
  font-size: 36px;
  margin: 10px ;
  text-shadow: 4px 4px 6px rgba(0, 0, 0, 0.7);
}  
.forwerding img{
  width: 45%;
  height: 350px;
  transition: transform 0.6s ease;
  transform: scale(1.03);
}

.forwerding img:hover {
 transform: translateY(-8px);
  box-shadow: 0 30px 60px rgba(0,0,0,.18); 
}

.forwerding a{
  margin-left: auto;
}
.what{
display: flex;
color: black;
line-height: 1.6;
padding: 30px;
margin: 0 auto;
}

.what h2{
  width: 100%;
  font-size: 28px;
  text-align: center;
}
.what p{
  width: 80%;
  padding-top: 20px;
  margin: 0 auto;
}
.what-box{
  width: 80%;
  margin: 30px auto;
  font-size: 16px;
}

/* 詳しくはこちら */
.cta-link {
  /* display: inline-flex; */
  align-items: center;
  gap: 12px;
  padding: 14px 28px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 16px;
  letter-spacing: 0.12em;
  color: #111;
  background: #fff;
  border: 1px solid #ddd;
  position: relative;
  overflow: hidden;
  transition: 
    background 0.3s ease,
    box-shadow 0.3s ease,
    transform 0.3s ease;
  display: flex;      /* ← inline-flex → flex */
  width: fit-content; /* ボタン幅を中身サイズに */
  margin: 80px 5% 80px auto;
}

/* ホバー背景 */
.cta-link::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
  180deg,
  #001f3f 0%,
  #003566 50%,
  #00509d 100%
);
  transform: translateX(-100%);
  transition: transform 0.4s ease;
  z-index: 0;
}

/* テキスト */
.cta-text,
.cta-arrow {
  position: relative;
  z-index: 1;
  transition: color 0.3s ease, transform 0.3s ease;
}

/* ＞＞＞ */
.cta-arrow {
  font-size: 16px;
}

/* hover */
.cta-link:hover {
  box-shadow: 0 12px 30px rgba(0,0,0,.15);
  transform: translateY(-2px);
}

.cta-link:hover::before {
  transform: translateX(0);
}

.cta-link:hover .cta-text,
.cta-link:hover .cta-arrow {
  color: #fff;
}

.cta-link:hover .cta-arrow {
  transform: translateX(6px);
}

.import-export{
  width: 100%;
  font-size: 20px;
  margin: 0;
  color: #fff;
  background: linear-gradient(
  180deg,
  #001f3f 0%,
  #003566 50%,
  #00509d 100%
);
}
.ix{
  display: flex;
}  
.import-export h1{
  margin: 50px 120px;
}
.ix a{
  height: 70px;
  margin: 60px;
}
.import-export img{
  width: 70%;
  margin: 30px auto;
  border-radius: 20px;
  box-shadow: 20px 20px 40px rgba(0,0,0,.12);
}

/* section */

.international h1{
margin-top: 80px;
margin-left: 120px;
}

.section-title{
font-size:38px;
margin-bottom:60px;
}

/* gallery */

.image-gallery{
max-width:1000px;
margin:auto;
display:flex;
flex-direction:column;
gap:40px;
}

/* card */

.image-card{
display:flex;
align-items:center;
min-height:300px;
background:#fff;
border-radius:24px;
overflow:hidden;
box-shadow:0 20px 40px rgba(0,0,0,.12);
transition:all .4s ease;
text-decoration:none;
color:#333;
position:relative;
}

/* image */

.image-wrapper{
width:60%;
height: 360px;
overflow:hidden;
}

.image-wrapper img{
width:100%;
height:100%;
object-fit:cover;
transition:transform .6s ease;
}

/* text */

.card-content{
padding:30px;
flex:1;
transition:transform .4s ease;
}

.card-content i{
font-size:28px;
color:#2b6cb0;
margin-bottom:10px;
}

.card-content h3{
font-size:22px;
margin-bottom:6px;
}

.arrow{
width:70px;
height:70px;

background:#005bac;

border-radius:50%;

display:flex;
align-items:center;
justify-content:center;

gap:4px;

margin-right:30px;
}

/* 矢印 */

.arrow span{

display:block;

width:10px;
height:10px;

border-top:3px solid white;
border-right:3px solid white;

transform:rotate(45deg);

opacity:0;

animation:arrowMove 1.5s infinite;

animation-play-state: paused; /* ←止める */
}

/* ずらして動かす */

.arrow span:nth-child(1){
animation-delay:0s;
}

.arrow span:nth-child(2){
animation-delay:.2s;
}

.arrow span:nth-child(3){
animation-delay:.4s;
}

/* アニメーション */

@keyframes arrowMove{

0%{
opacity:0;
transform:translateX(-10px) rotate(45deg);
}

50%{
opacity:1;
}

100%{
opacity:0;
transform:translateX(10px) rotate(45deg);
}

}

/* hover */

.image-card:hover .arrow span{
animation-play-state: running;
}

.image-card:hover img{
transform:scale(1.08);
}

.image-card:hover .card-content{
transform:translateX(10px);
}

.image-card:hover .arrow{
transform:translateX(8px);
background:#003f7a;
box-shadow:0 10px 20px rgba(0,0,0,.2);
}

/* scroll animation */

.fadein{
opacity:0;
transform:translateY(40px);
transition:all .8s ease;
}

.fadein.show{
opacity:1;
transform:translateY(0);
}




.trabe{
  width: 60%;
  height: auto;
  display: block;
  margin: 80px auto;
}


/* =========================
   Fade In Animation
========================= */

/* 初期状態 */
.fadein {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fadein.active {
  opacity: 1;
  transform: translateY(0);
}

/* 表示状態 */
.fadein.is-show {
  opacity: 1;
  transform: translateY(0);
}

/* ======================
footer
====================== */

.footer{

background:linear-gradient(
180deg,
#001f3f 0%,
#003566 50%,
#00509d 100%
);

color:#fff;

position:relative;

}

/* inner */

.footer-inner{

max-width:1200px;

margin:auto;

padding:80px 40px;

display:flex;

justify-content:space-between;

gap:60px;

}

/* カラム */

.footer-col{

flex:1;

}

/* ロゴ */

.footer-logo{

width:140px;

margin-bottom:20px;

}

/* テキスト */

.footer-text{

font-size:14px;

line-height:1.8;

opacity:.85;

}

/* 見出し */

.footer-col h3{

margin-bottom:20px;

font-size:16px;

letter-spacing:.1em;

}

/* リスト */

.footer-col ul{

list-style:none;

padding:0;

}

.footer-col ul li{

margin-bottom:12px;

font-size:14px;

}

/* リンク */

.footer-col ul li a{

color:#fff;

text-decoration:none;

position:relative;

}

.footer-col ul li a::after{

content:"";

position:absolute;

left:0;

bottom:-3px;

width:0;

height:2px;

background:white;

transition:.3s;

}

.footer-col ul li a:hover::after{

width:100%;

}

/* コピーライト */

.copyright{

text-align:center;

padding:30px;

font-size:13px;

border-top:1px solid rgba(255,255,255,.2);

}

/* ======================
TOPボタン
====================== */

.pagetop{

position:fixed;

right:30px;

bottom:30px;

width:50px;

height:50px;

background:#005bac;

color:#fff;

border-radius:50%;

display:flex;

align-items:center;

justify-content:center;

font-size:20px;

text-decoration:none;

box-shadow:0 6px 20px rgba(0,0,0,.2);

transition:.3s;

}

.pagetop:hover{

transform:translateY(-5px);

background:#003566;

}







@media (max-width: 1024px) {

  .header {
    padding: 15px 30px;
  }

  .header-inner {
    max-width: 100%;
  }

  .header-logo img {
    width: 100px;
  }

  .nav-menu ul li {
    margin-left: 20px;
    margin-right: 20px;
  }

  .nav-menu ul li a {
    font-size: 15px;
  } 
}



@media (max-width: 768px){

/* ===== overlay ===== */

.overlay{
position:fixed;
top:0;
left:0;
width:40%;
height:100%;

background:rgba(0,0,0,.3);
backdrop-filter:blur(5px);

display:none;
z-index:10;
}

#menu-btn:checked ~ .overlay{
display:block;
}


/* ===== hamburger ===== */

.btn{
width:44px;
height:44px;
position:fixed;
top:18px;
right:18px;
display:flex;
justify-content:center;
align-items:center;
z-index:999;
cursor:pointer;
}

.btn span{
position:relative;
width:26px;
height:2px;
background:#0b3c5d;
display:block;
transition:.3s;
}

.btn span::before,
.btn span::after{
content:"";
position:absolute;
left:0;
width:26px;
height:2px;
background:#0b3c5d;
transition:.3s;
}

.btn span::before{
transform:translateY(-7px);
}

.btn span::after{
transform:translateY(7px);
}

#menu-btn:checked + .btn span{
background:transparent;
}

#menu-btn:checked + .btn span::before{
transform:rotate(45deg);
}

#menu-btn:checked + .btn span::after{
transform:rotate(-45deg);
}


/* ===== nav ===== */
.nav-menu ul li a{
    color: #fff;
  }
.nav-menu{
position:fixed;
top:-100%;
left:0;
width:40%;
height:60vh;

background:rgba(5,20,45,.82);
backdrop-filter:blur(8px);

display:flex;
justify-content:center;
align-items:center;

opacity:0;
transform:translateY(-30px);

transition:
top .6s cubic-bezier(.77,0,.18,1),
opacity .4s,
transform .6s cubic-bezier(.77,0,.18,1);

z-index:998;
}

#menu-btn:checked ~ .nav-menu{
top:0;
opacity:1;
transform:translateY(0);
}

.nav-menu ul{
list-style:none;
padding:0;
margin:0;

display:flex;
flex-direction:column;
align-items:center;
gap:28px;
}

.nav-menu a{
color:#fff;
font-size:18px;
letter-spacing:2px;
text-decoration:none;
transition:.3s;
}

.nav-menu a:hover{
opacity:.7;
}

.header.small .nav-menu ul li a{
  color: #fff;
}

/* ===== header ===== */

.header{
padding:12px 18px;
}

.header-logo img{
width:80px;
}


/* ===== language switch ===== */

.lang-switch{
  width: 60px;
  height: 32px;
  position:fixed;
bottom:20px;
right:20px;
}


.lang-switch__item{
min-width:20px;
height:20px;
font-size:11px;
}


/* ===== hero ===== */

.top-text h1{
font-size:30px;
}

.top-text h2{
font-size:30px;
}

.top-text p{
font-size:14px;
line-height:1.6;
}


/* ===== forwarding ===== */

.forwerding{
display:block;
}

.forwerding-text h1{
font-size:28px;
}

.forwerding-text span{
font-size:16px;
}


/* ===== what section ===== */

.what{
display:block;
}

.what img{
width:90%;
margin:20px auto;
}

.what p{
width:90%;
margin:auto;
}

.what-box{
width:90%;
margin:auto;
}

.what h2{
font-size:16px;
}

.import-export {
  font-size: 16px;
}
.import-export h1{
  margin: 20px;
}
.international h1{
  margin: 16px;
}
/* ===== service cards ===== */

.image-gallery{
grid-template-columns:1fr;
gap:22px;
padding:0 20px;
}

.image-card{
flex-direction:column;
}

.image-wrapper{
  width: 100%;
  height: 180px;
  overflow: hidden;
}

.image-wrapper img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}


.arrow{
display:none;
}



/* ===== footer ===== */

.footer{
position:relative;
padding:40px 20px;
}

.footer::before{
content:"";
position:absolute;
top:0;
left:0;
width:100%;
height:2px;
background:rgba(255,255,255,.2);
}

.footer-inner{
display:flex;
flex-direction:column;
align-items:center;
text-align:center;
gap:35px;
}

.footer img{
margin:auto;
}

.footer--nav ul{
flex-direction:column;
gap:18px;
margin-top:20px;
}

.footer .copyright{
padding:30px 0 50px;
font-size:13px;
}

}




