/* ===============================================
   ヘッダー
=============================================== */
.hamburger-defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.hamburger-wrap {
    position: fixed;
    z-index: 1100;
    display: inline-block;
    right: 0;
    top: 0;
}

/* ハンバーガーボタン */
.hamburger {
  position: relative;
  z-index: 1200;
  display: block;
    width: 75px;
    height: 75px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
}

.hamburger__plate {
    position: relative;
    display: block;
    width: 75px;
    height: 75px;
}

.hamburger__burger, .hamburger__x {
    position: absolute;
    top: 0;
    left: 0;
    width: 75px;
    height: 75px;
}

.hamburger__burger {
  filter: url("#gooeyness");
}

.hamburger__x {
  transform: scale(0);
  transition: transform 400ms;
}

.hamburger__line {
    fill: none;
    stroke: #010a24;
    stroke-width: 6px;
    stroke-linecap: round;
    stroke-linejoin: round;
    transform-origin: 50%;
    transition: transform 400ms 100ms;
}

.hamburger__x .hamburger__line {
  stroke-width: 5.5px;
}

/* ハンバーガー active時 */
.hamburger.is-active .hamburger__line {
  transition: transform 400ms;
}

.hamburger.is-active .hamburger__line--1 {
  transform: translateX(18px) translateY(-3px) rotate(-45deg) scale(0.7);
}

.hamburger.is-active .hamburger__line--2 {
  transform: translateX(-18px) translateY(-3px) rotate(45deg) scale(0.7);
}

.hamburger.is-active .hamburger__line--3 {
  transform: translateY(0px) rotate(45deg) scale(0.7);
}

.hamburger.is-active .hamburger__line--4 {
  transform: translateY(0px) rotate(-45deg) scale(0.7);
}

.hamburger.is-active .hamburger__line--5 {
  transform: translateX(18px) translateY(3px) rotate(45deg) scale(0.7);
}

.hamburger.is-active .hamburger__line--6 {
  transform: translateX(-18px) translateY(3px) rotate(-45deg) scale(0.7);
}

.hamburger.is-active .hamburger__x {
  transform: scale(1);
  transition: transform 400ms 100ms;
}

/* 要素外クリック用の透明オーバーレイ */
.drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  width: 100%;
  height: 100vh;
  background: transparent;
  opacity: 0;
  visibility: hidden;
}

.drawer-overlay.is-active {
  opacity: 1;
  visibility: visible;
}

/* ハンバーガー下に出るメニュー */
.drawer-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 1.5rem;
    z-index: 1300;
    width: 260px;
    padding: 28px 30px;
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.3s ease,
    visibility 0.3s ease,
    transform 0.3s ease;
    isolation: isolate;
}

.drawer-menu::before {
  content: "";
  position: absolute;
  inset: -10px -12px -12px -10px;
  z-index: -1;
  background: rgba(255, 255, 255, 0.62);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 0 8px 1px rgba(0, 0, 0, 0.418);
border-radius: 60% 40% 42% 58% / 45% 38% 62% 55%;
  transform: rotate(-1.5deg);
} 

.drawer-menu.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.drawer-menu__list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.drawer-menu__item {
  margin: 0;
  padding: 0;
}

.drawer-menu__item + .drawer-menu__item {
  border-top: 1px solid rgba(58, 34, 5, 0.1);
}

.drawer-menu__link {
    display: block;
    padding: 13px 4px;
    font-size: 1.4rem;
    font-weight: 600;
    line-height: 1.6;
    text-decoration: none;
    letter-spacing: 0.04em;
    transition: color 0.3s ease,
    transform 0.3s ease;
    color: #0f56c5;
}

.drawer-menu__link:hover {
  color: #00215e;
  transform: translateX(4px);
}



/* ===============================================
   フッター
=============================================== */
/* .footer-cnt {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: auto;
  margin: 0 auto;
}

.footer-cnt::before {
    position: absolute;
    top: 33%;
    left: 50%;
    width: max(600px, 140vw);
    height: max(600px, 140vw);
    border-radius: 50% 50% / 70% 50%;
    content: "";
    background-color: #3168dd;
    transform-origin: center;
    animation: wave 6s linear infinite;
}

@keyframes wave {
  from {
    transform: translateX(-50%) rotate(0deg);
  }

  to {
    transform: translateX(-50%) rotate(360deg);
  }
}

.f_con {
    height: 27rem;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    position: relative;
    flex-direction: column;
    color: #ffffff;
    font-size: 2.4rem;
    letter-spacing: 2px;
    padding-top: 5rem;
} */

.to-top {
    height: 70px;
    width: 70px;
    position: fixed;
    right: 23px;
    bottom: 18px; 
    background: #ffffff17;
    border: solid 2px #335899;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
    box-shadow:0 0px 6px rgb(0 0 0 / 27%);
    backdrop-filter: blur(5px); 
}

.to-top__arrow {
    height: 10px;
    width: 10px;
    border-top: 3px solid #335899;
    border-right: 3px solid #335899;
    transform: translateY(20%) rotate(-45deg);
}

@media (hover: hover) and (pointer: fine) {
    .to-top:hover, .to-top:hover .to-top__arrow {
        border-color: #335899;
    }
}

@media screen and (max-width: 1024px) {
.to-top {
      height: 50px;
    width: 50px;
    right: 20px;
    bottom: 5px;
border: solid 1px #ffffff;
  background: #ffffffad;
}
}



/* ========================================
   Footer
======================================== */
.footer-sec {
    width: 100%;
    padding: 11rem 0px 2rem;
    background: #00215e;
    color: #fff;
    border-radius: 30px 30px 0 0;
    margin-top: 5rem;
}
/* ========================================
   Contact
======================================== */

.footer-sec .contact-block {
    width: 85%;
    margin: 0 auto;
    padding-bottom: 6rem;
}

.footer-sec .contact-title {
    margin: 0;
    font-size: 5rem;
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: 2px;
}

.footer-sec .contact-box {
    display: grid;
    grid-template-columns: 0.7fr 1fr;
    align-items: center;
    justify-content: start;
    gap: 4rem;
    margin-top: 3rem;
    width: 100%;
}

.footer-sec .contact-text {
	margin: 0;
	font-size: 15px;
	line-height: 2;
}

.footer-sec .contact-box .port_button {
    flex-shrink: 0;
    width: 100%;
    box-shadow: -2px -2px 7px 3px #2861d55e, 1px 1px 4px 3px #030a18a1;
}


.footer-sec .contact-box .port_button:hover{
	    box-shadow: 0px 0px 0px 3px #2861d500, 1px 6px 7px 3px #030a185c;
}

/* ========================================
   Footer bottom
======================================== */
.footer-sec .footer-block {
    width: 85%;
    margin: 0 auto;
    padding-top: 5rem;
    border-top: 1px solid;
}

.footer-sec .footer-box {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 60px;
}

.footer-sec .footer-profile {
	flex: 1;
}

.footer-sec .footer-name {
	margin: 0;
	font-size: clamp(24px, 3vw, 36px);
	font-weight: 400;
	line-height: 1.3;
}

.footer-sec .footer-job {
	margin: 8px 0 0;
	font-size: 14px;
	line-height: 1.5;
}


/* ========================================
   Navigation
======================================== */

.footer-sec .footer-nav {
	margin-top: 40px;
}

.footer-sec .footer-nav-title {
	margin: 0 0 16px;
	font-size: 13px;
	font-weight: 400;
	line-height: 1.5;
}

.footer-sec .footer-list {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 32px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.footer-sec .footer-list a {
	text-decoration: none;
}


/* ========================================
   Page top
======================================== */

.footer-sec .footer-top-link {
	display: flex;
	align-items: center;
	gap: 12px;
	text-decoration: none;
}


/* ========================================
   Copyright
======================================== */

.footer-sec .footer-copy {
	display: flex;
	justify-content: flex-end;
	margin-top: 80px;
}

.footer-sec .footer-copy p {
	margin: 0;
	font-size: 12px;
	line-height: 1.5;
}


/* ========================================
   Responsive
======================================== */

@media screen and (max-width: 767px) {

.footer-sec {
    padding: 80px 0 24px;
    border-radius: 20px 20px 0 0;
    margin-top: 7rem;
}

.footer-sec .contact-block {
    width: 85%;
    padding-bottom: 80px;
}

.footer-sec .contact-title {
    font-size: 1.6rem;
    letter-spacing: 1px;
}

	.footer-sec .contact-box {
		display: block;
		margin-top: 32px;
	}

	.footer-sec .contact-text {
		font-size: 14px;
	}

	.footer-sec .contact-box .port_button {
		margin-top: 32px;
	}

.footer-sec .footer-block {
    width: 85%;
    padding-top: 32px;
}
	

	.footer-sec .footer-box {
		display: block;
	}

	.footer-sec .footer-nav {
		margin-top: 32px;
	}

	.footer-sec .footer-list {
		gap: 12px 24px;
	}

	.footer-sec .footer-copy {
		justify-content: flex-start;
		margin-top: 64px;
	}

}


/* ============================= open ============================= */
/* =========================
   Opening Logo
========================= */
.opening {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 99999;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        linear-gradient(
            180deg,
            #0054cf 0%,
            #003c91 45%,
            #001d4f 100%
        );
    opacity: 1;
    visibility: visible;
    transition:
        opacity 1s ease,
        visibility 1s ease;
}

.opening-sub {
    margin: 0 0 0 1rem !important;
}

.opening-content {
    position: relative;
    z-index: 2;
    width: 100%;
    text-align: center;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.opening.is-finished {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.opening-logo {
    width: min(850px, 80vw);
    margin: 0 auto;
    opacity: 0;
}


.opening-logo.is-ready {
    opacity: 1;
}


.opening-logo svg {
    display: block;
    width: 100%;
    height: auto;
    overflow: visible;
}

@media screen and (max-width: 767px) {
	.opening-content{
    padding: 0 1rem;
		    margin: 0 0 4rem;
	}	


}
