@charset "utf-8";

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

html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
}

html {
  font-size: 10px;
}

body {
  font-family: "M PLUS 1p", sans-serif;
  font-style: normal;
  line-height: 1.6;
  margin: 0;
  padding: 0;
  color: #fff;
  background:
    url(/common/images/bg.png) center center / cover no-repeat fixed,
    linear-gradient(45deg, #0d0300 0%, #390b02 100%) center center / cover no-repeat fixed;
  min-height: 100vh;
}

.page-container {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.content {
  max-width: -webkit-fill-available;
  flex: 1;
  margin: 0 auto;
  padding: 60px 10px 20px;
}

.content-full {
  padding: 60px 0 20px;
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  background: rgba(13, 3, 0, 0.6);
  font-weight: 900;
  padding: 10px 30px 10px 20px;
}


.logo {
  width: 80px;
}


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


.footer {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  background: rgba(13, 3, 0, 0.6);
  font-weight: 900;
  padding: 20px 30px 20px 20px;
  font-size: 12px;
  margin-top: auto;
}

/* Footer */
footer {
  background-color: var(--dark-color);
  color: white;
  padding: 30px 0;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-logo {
  display: flex;
  align-items: center;
}

.footer-logo img {
  height: 40px;
  margin-right: 10px;
}


.footer-copyright {
  font-size: 1.2rem;
  color: #aaa;
  font-weight: 500;
}

/* Media Queries */
@media (max-width: 768px) {
  .header-container {
    flex-direction: column;
    text-align: center;
  }

.content {
  padding: 40px 10px 20px;
}

  .logo {
    width: 60px;
  }

  .hero h2 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }

  .footer-logo {
    margin-bottom: 15px;
    justify-content: center;
  }
}


.fa-angle-up:before {
  content: "\f106";
}

.fa-angle-right:before {
  content: "\f105";
}

.fa-angle-down:before {
  content: "\f107";
}

.fa-angle-left:before {
  content: "\f104";
}


/* ハンバーガーメニューボタン */
.hamburger {
  display: block;
  width: 35px;
  height: 30px;
  position: relative;
  cursor: pointer;
  z-index: 100;
  transform: scale(1);
  transition: transform 0.3s ease;
}

/* 少し拡大するホバーエフェクト */
.hamburger:hover {
  transform: scale(1.1);
}

.hamburger span {
  display: block;
  position: absolute;
  height: 3px;
  width: 100%;
  background: white;
  border-radius: 4px;
  opacity: 1;
  left: 0;
  transform: rotate(0deg);
  transition: .4s cubic-bezier(0.68, -0.6, 0.32, 1.6);
}

/* Improved spacing for hamburger lines */
.hamburger span:nth-child(1) {
  top: 0px;
  transform-origin: left center;
  width: 100%;
}

.hamburger span:nth-child(2) {
  top: 10px;
  transform-origin: center center;
  width: 100%;
}

.hamburger span:nth-child(3) {
  top: 20px;
  transform-origin: left center;
  width: 100%;
}

/* Enhanced animation for active state */
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg);
  top: -2px;
  left: 5px;
  width: 100%;
  background: #fff;
}

.hamburger.active span:nth-child(2) {
  width: 0%;
  opacity: 0;
  transform: translateX(30px);
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg);
  top: 23px;
  left: 5px;
  width: 100%;
  background: #fff;
}

/* ナビゲーションメニュー */
.nav-menu {
  position: fixed;
  top: 0;
  right: -300px;
  width: 300px;
  height: 100vh;
  background: rgba(13, 3, 0, 0.9);
  padding-top: 80px;
  transition: .5s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 90;
  box-shadow: -5px 0px 15px rgba(0, 0, 0, 0);
  backdrop-filter: blur(0px);
}

.nav-menu.active {
  right: 0;
  box-shadow: -5px 0px 15px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(3px);
}

.nav-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
  opacity: 0;
  /* 初期状態では非表示 */
  transition: opacity 0.3s ease 0.2s;
  /* メニュー表示後に遅延してフェードイン */
}

.nav-menu.active ul {
  opacity: 1;
}

.nav-menu li {
  margin-bottom: 10px;
  padding: 0 20px;
  transform: translateX(50px);
  opacity: 0;
  transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  font-weight: 700;
}

/* アクティブ時のみ遅延を適用 */
.nav-menu.active li {
  transform: translateX(0);
  opacity: 1;
  transition-delay: var(--show-delay, 0.1s);
}

/* ナビメニューのテキストアニメーション */
.nav-menu a {
  color: white;
  text-decoration: none;
  font-size: 18px;
  display: block;
  padding: 10px 0;
  border-bottom: 1px solid #444;
  transition: all .3s ease;
  position: relative;
}

/* 初期表示時は透明 */
.nav-menu:not(.active) a {
  opacity: 0;
  transform: translateX(50px);
}

/* アクティブ時は表示（遅延付きだが、ホバー時は即座に反応） */
.nav-menu.active a {
  opacity: 1;
  transform: translateX(0);
  transition-delay: var(--show-delay, 0.1s);
}

/* ホバー時は遅延をリセットして即座に反応 */
.nav-menu.active a:hover {
  color: #fff;
  padding-left: 10px;
  background-color: rgba(255, 255, 255, 0.1);
  transition-delay: 0s; /* 遅延をリセット */
}

/* ホバー解除時も即座に戻る */
.nav-menu.active a:not(:hover) {
  transition-delay: 0s; /* 遅延をリセット */
}

.nav-menu a:after {
  content: '';
  position: absolute;
  width: 0;
  height: 1px;
  bottom: 0;
  left: 0;
  background-color: #fff;
  transition: width 0.3s ease;
}

.nav-menu a:hover:after {
  width: 100%;
}

/* オーバーレイ */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: .3s ease-in-out;
  z-index: 80;
}

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

/* オーバーレイ */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: .3s ease-in-out;
  z-index: 80;
}

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


/* Go to Top Button */
.pagetop {
  position: fixed;
  bottom: 5%;
  right: 3%;
  z-index: 100;
  transform: translateY(100px);
  opacity: 0;
  visibility: hidden;
  transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.pagetop.show {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.pagetop a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: clamp(3.84rem, 1.6464rem + 6.86vw, 5.76rem);
  height: clamp(3.84rem, 1.6464rem + 6.86vw, 5.76rem);
  color: #2e2e2e;
  text-align: center;
  font-size: clamp(1.6rem, 0.5024rem + 3.43vw, 2.56rem);
  text-decoration: none;
  background: white;
  border-radius: 50%;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: opacity 0.3s ease;
}


@media screen and (min-width: 601px) {
  .pagetop a:hover {
    opacity: 0.5;
  }

  .pagetop a {
    cursor: pointer;
  }

  .pagetop {
    /* right: calc((100vw - 640px) / 2 - 100px); */
  }
}


h1 {
  margin: 0;
  padding: 0;
}

h1,
h2,
h3,
h4 {
  font-family: "M PLUS 1p", sans-serif;
}

.heading01 {
  font-size: 3.6rem;
  margin-bottom: 60px;
}

.heading02 {
  font-size: 2.0rem;
  margin-top: 30px;
}

.heading03 {
  margin-top: 30px;
}

@media (max-width: 768px) {
.heading01 {
  font-size: 2.4rem;
  margin-bottom: 20px;
}
}
