/* =========================
   全体
========================= */

body {
  margin: 0;
  font-family: "Hiragino Mincho ProN", serif;
  color: #fff;
}

/* =========================
   背景
========================= */

.bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.bg video {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;

  opacity: 1;
  transition: opacity 1s ease;
}

@keyframes videoFadeIn {

  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.bg-image {
  position: absolute;
  width: 100%;
  height: 100%;
  background: url("images/sea.jpg") center/cover no-repeat;

  opacity: 0;

  transition: opacity 3s ease;
}

/* =========================
   ナビ
========================= */

nav {

  position: fixed;

  top: 0;

  width: 100%;

  display: flex;

  justify-content: center;

  background: rgba(10,10,10,0.25);

  backdrop-filter: blur(8px);

  z-index: 1000;
}

#menu {

  display: flex;

  gap: 28px;

  list-style: none;

  padding: 12px 20px;

  margin: 0;
}

#menu a {

  font-size: 13px;

  color: rgba(255,255,255,0.7);

  text-decoration: none;

  transition: 0.3s;
}

#menu a:hover {

  color: #fff;
}

/* =========================
   ロゴ（トップ）
========================= */

.logo-wrap {

  position: fixed;

  top: 30%;

  left: 50%;

  transform: translate(-50%, -50%);

  z-index: 10;
}

.logo {

  width: 320px;

  opacity: 0;

  filter: blur(12px);

  animation: logoAppear 4s ease forwards;

  animation-delay: 1s;
}

@keyframes logoAppear {

  0% {
    opacity: 0;
    filter: blur(12px);
  }

  60% {
    opacity: 1;
    filter: blur(4px);
  }

  100% {
    opacity: 1;
    filter: blur(0);
  }
}

/* =========================
   テキスト（トップ）
========================= */

.about {

  position: fixed;

  top: calc(30% + 85px);

  left: 50%;

  transform: translateX(-50%);

  text-align: center;

  opacity: 0;

  transition: opacity 2s ease;

  z-index: 5;
}

.about.show {

  opacity: 1;
}

.about-inner {

  background: rgba(0,0,0,0.32);

  padding: 18px 26px;

  border-radius: 6px;

  backdrop-filter: blur(6px);

  max-width: 420px;
}

.about-inner h2 {

  color: #fff;

  margin: 0 0 12px;
}

.about-inner p {

  color: rgba(255,255,255,0.9);

  line-height: 2.2;

  margin: 0;
}

/* =========================
   フッター（共通）
========================= */

.footer {

  font-size: 12px;

  color: rgba(255,255,255,0.5);

  letter-spacing: 0.05em;
}

/* =========================
   トップページのみ固定
========================= */

body:not(.subpage) .footer {

  position: fixed;

  bottom: 36px;

  right: 14px;

  z-index: 10;
}

/* =========================
   サブページ
========================= */

.subpage .footer {

  position: static;

  text-align: center;

  margin-top: 100px;

  padding-top: 14px;

  padding-bottom: 14px;

  border-top: 1px solid rgba(255,255,255,0.10);
}
/* =========================
   サブページ
========================= */

.subpage {

  background: #014674;

  color: #fff;
}

/* =========================
   左上ロゴ（PC）
========================= */

.logo-small {

  position: fixed;

  top: 14px;

  left: 18px;

  z-index: 2000;
}

.logo-small img {

  width: 90px;

  opacity: 0.85;
}

/* =========================
   constructionページ
========================= */

.construction {

  min-height: 100vh;

  display: flex;

  flex-direction: column;

  justify-content: center;

  align-items: center;

  text-align: center;

  padding: 120px 20px 80px;
}

.construction-image {

  width: 240px;

  max-width: 60vw;

  margin-bottom: 0;

  opacity: 0.9;

  filter: grayscale(0%);
}

.construction h1 {

  font-size: 24px;

  margin-bottom: 20px;
}

.construction .message {

  color: #fff;

  line-height: 2;
}

/* =========================
   スマホ対応
========================= */

@media (max-width: 768px) {

  body {

    font-size: 16px;
  }

  /* =========================
     ナビ
  ========================= */

  nav {

    padding-top: 2px;
    padding-bottom: 2px;
  }

  #menu {

    gap: 18px;

    padding: 12px 14px;

    flex-wrap: wrap;

    justify-content: center;
  }

  #menu a {

    font-size: 14px;
  }

  /* =========================
     トップページ
  ========================= */

  .logo {

    width: 220px;
  }

  .logo-wrap {

    top: 32%;
  }

  .about {

    top: calc(32% + 110px);

    width: 90%;
  }

  .about-inner {

    max-width: 90%;

    padding: 16px 18px;
  }

  .about-inner h2 {

    font-size: 18px;
  }

  .about-inner p {

    font-size: 15px;

    line-height: 2.2;
  }

  /* =========================
     サブページロゴ
     （本文下へ）
  ========================= */

  .logo-small {

    position: static;

    display: block;

    text-align: center;

    margin: 80px auto 24px;
  }

  .logo-small img {

    width: 62px;

    opacity: 0.72;
  }

  /* =========================
     construction
  ========================= */

  .construction {

    min-height: auto;

    padding: 160px 20px 80px;
  }

  .construction h1 {

    font-size: 22px;
  }

  .construction .message {

    font-size: 16px;

    line-height: 2.2;

    padding: 0 12px;
  }

  .construction-image {

    width: 180px;
  }

  /* =========================
     フッター
     （本文下へ）
  ========================= */

  .footer {

    position: static;

    text-align: center;

    margin-top: 0;

    padding-bottom: 30px;

    font-size: 11px;
  }
}


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

#footer-links {

  display: flex;

  gap: 18px;

  justify-content: center;

  margin-bottom: 10px;

  flex-wrap: wrap;
}

.footer-link {

  color: rgba(255,255,255,0.45);

  text-decoration: none;

  font-size: 12px;

  transition: 0.3s;
}

.footer-link:hover {

  color: rgba(255,255,255,0.82);
}