@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: sans-serif;
  margin: 0;
  padding: 0;
  height: auto;
  font-size: 16px;
  line-height: 1;
 color: #000;
}

.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: padding 0.3s, font-size 0.3s;
}

.header-logo img:hover {
  transform: scale(1.1);   
}

.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;
}



/* ここからメイン */

.space {
  padding-top: 180px;
  background: linear-gradient(
  180deg,
  #001f3f 0%,
  #003566 50%,
  #00509d 100%
);
}

.contact-title.logistics {
  text-align: center;
  margin: 100px 0 50px;
}

.contact-title.logistics h2 {
  font-size: 38px;
  letter-spacing: 0.25em;
  color: #005bac;       /* 信頼感のあるブルー */
  font-weight: bold;
}

.contact-title.logistics p {
  margin-top: 12px;
  font-size: 15px;
  color: #333;
}
.contact-title.logistics::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background: #005bac;
  margin: 20px auto 0;
}
.contact-title.logistics i {
  font-size: 32px;
  color: #005bac;
  margin-bottom: 10px;
}


/* インプットフォーム */
.contact-form {
  max-width: 900px;
  margin: 50px auto;
  padding: 40px;
  line-height: 2.2;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 5);
  background: linear-gradient(
  180deg,
  #001f3f 0%,
  #003566 50%,
  #00509d 100%
);
}


.contact-form .description {
  font-size: 18px;
  margin-bottom: 30px;
  line-height: 1.6;
  color: #001f3f;
}

label:not(.btn) {
  display: block;
  margin-bottom: 6px;
  margin-top: 20px;
  color: #fff;
}

input,
textarea {
  width: 100%;
  padding: 12px;
  border: 5px solid #fff;
  border-radius: 6px;
  box-sizing: border-box;
  font-size: 18px;
  background-color: #d9d9d9;
}

textarea {
  resize: vertical;
}

#ageDisplay {
  font-size: 24px;
  color: #4b4948;
  margin-top: 5px;
}

.required {
  color: red;
  font-size: 13px;
}

button {
  display: flex;
  margin: 50px auto;
  width: 300px;
  height: 60px;
  background: linear-gradient(
  180deg,
  #001f3f 0%,
  #003566 50%,
  #00509d 100%
);
  color: #fff;
  border-radius: 30px;
  font-size: 18px;
  align-items: center;
  justify-content: center;
  transition: background-color 0.5s;
}

.button img {
  padding: 3px 10px;
}

button:hover {
  background-color: #4b4948;
  border: 5px solid #fff;
  color: #5bc4ee;
  font-size: 20px;
}


/* ======================
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: 769px) {

/* ===== 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;
}

  .image-gallery {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .header {
    padding: 12px 20px;
  }

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

  /* スイッチ */
.lang-switch{
  width: 60px;
  height: 32px;
  position:fixed;
bottom:20px;
right:20px;
}

/* 共通 */
.lang-switch__item {
  min-width: 20px;
  height: 20px;
}

.footer {
  position: relative;
}

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

  .footer-inner{

flex-direction:column;

text-align:center;

gap:40px;

}

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

  .footer--nav ul li {
    margin: 0;
  }

  .footer img {
    margin:auto;
  }

  .footer .copyright {
    padding: 40px 0 60px;
    font-size: 14px;
  }
}


