@charset "utf-8";
@import url("https://cdnjs.cloudflare.com/ajax/libs/meyer-reset/2.0/reset.min.css");
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&family=Zen+Old+Mincho&display=swap');
/* The following line is used to measure usage of this code. You can remove it if you want. */
@import url("https://px.animaapp.com/685a01f0a1ec653bf2599aa9.685a01f1a1ec653bf2599aac.IzdddmW.hcp.png");

strong{
	font-weight: 800;
}

.screen a {
  display: contents;
  text-decoration: none;
}

.container-center-horizontal {
  display: flex;
  flex-direction: row;
  justify-content: center;
  pointer-events: none;
  width: 100%;
}
.valign-text-middle {
  display: flex;
  flex-direction: column;
  justify-content: center;
}


.container-center-horizontal > * {
  flex-shrink: 0;
  pointer-events: auto;
}

.hidden,
.hidden * {
  pointer-events: none;
  visibility: hidden;
}

* {
  box-sizing: border-box;
}

/* ページスクロールボタン */
#topcontrol{
	z-index: 200;
	right: 10px !important;
	bottom: 70px;
}


#topcontrol span{
	display: none;
}
@media screen and (min-width: 1025px) {
	#topcontrol span{
		display: none;
	}
	.sp{
		display: none;
	}
	tr.sp,
	th.sp,
	td.sp{
		display: none;
	}
}
@media screen and (max-width: 1024px){
body{
	font-size: 15px;
}
}

@media screen and (max-width: 599px) {
	#topcontrol img{
		width: 50px !important;
		height: auto !important;
	}
}

/* =================================== */
/* Globals.css - Header & Navigation   */
/* =================================== */

/* 1. Header */
.header {
    background-color: var(--white);
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    position: sticky; /* サイト全体で固定ヘッダーにする場合 */
    top: 0;
    z-index: 1000;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px; /* モバイルでのデフォルト高さ */
}

.logo-block {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-image {
    height: 35px; /* モバイルでのロゴ高さ */
}

.logo-text {
    font-size: 11px; /* モバイルでのロゴテキストサイズ */
    font-weight: 700;
    color: var(--astronaut);
    line-height: 1.2;
}

/* 2. Hamburger Menu (Mobile & Tablet) */
.hamburger-menu {
    display: flex; /* 初期状態ではSP・TBで表示 */
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.hamburger-menu span {
    width: 30px;
    height: 3px;
    background-color: var(--astronaut);
    border-radius: 10px;
    transition: all 0.3s linear;
}

/* 3. Global Navigation */
.global-nav {
    display: none; /* モバイル・タブレットでは初期非表示 */
    position: absolute;
    top: 60px; /* モバイルでのヘッダー高さに合わせる */
    left: 0;
    width: 100%;
    background-color: var(--white);
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    z-index: 999;
}

.global-nav.is-active {
    display: block; /* JSで開閉 */
}

.global-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column; /* モバイル・タブレットでは縦並び */
}

.global-nav li {
    border-bottom: 1px solid var(--cararra);
    position: relative;
}

.global-nav li:last-child {
    border-bottom: none;
}

.global-nav li a {
    display: block;
    padding: 15px 20px;
    font-size: var(--font-size-m);
    font-weight: 500;
    white-space: nowrap;
}

/* 4. Sub Menu */
.global-nav .sub-menu {
    display: none;
    list-style: none;
    padding: 0 0 0 20px;
    margin: 0;
    background-color: var(--cultured-pearl);
}

.global-nav .sub-menu.is-open {
    display: block;
}

.global-nav .sub-menu li {
    border-top: 1px solid var(--cloud);
    border-bottom: none;
}
.global-nav .sub-menu li:first-child {
    border-top: none;
}

.global-nav .sub-menu li a {
    padding: 10px 20px;
    font-size: var(--font-size-s);
    white-space: normal;
}

/* 5. Sub Menu Toggle (Mobile & Tablet) */
.global-nav .sub-menu-toggle {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    cursor: pointer;
    color: var(--fountain-blue);
    font-weight: bold;
    transition: transform 0.3s ease;
}

.global-nav .sub-menu-toggle.is-open {
	top: .8em;
    transform: translateY(0) rotate(45deg);
}


/* =================================== */
/* Responsive Styles for Navigation    */
/* =================================== */

/* Tablet (769px to 1279px) */
@media (min-width: 769px) {
    .header .container {
        height: 90px;
    }
    .logo-image {
        height: 50px;
    }
    .logo-text {
        font-size: var(--font-size-l);
    }
    .global-nav {
        top: 90px; /* ヘッダーの高さに合わせる */
    }
}

/* Desktop (1280px and up) */
@media (min-width: 1280px) {
    .hamburger-menu {
        display: none; /* PCでは非表示 */
    }

    .global-nav {
        display: block;
        position: static;
        width: auto;
        background: none;
        box-shadow: none;
    }

    .global-nav ul {
        flex-direction: row; /* PCでは横並び */
        gap: 20px;
    }

    .global-nav li {
        border-bottom: none;
    }

    .global-nav li a {
        padding: 5px;
    }

    .global-nav .sub-menu-toggle {
        display: none !important; /* PCではトグルを完全に非表示 */
    }

    /* Desktop Sub Menu on Hover */
    .global-nav .sub-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        min-width: 180px;
        box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.1);
        padding: 10px 0;
        border-radius: 5px;
        z-index: 1001;
        background-color: var(--white);
    }

    .global-nav li.has-submenu:hover > .sub-menu {
        display: block;
    }

    .global-nav .sub-menu li {
        border-top: none;
    }

    .global-nav .sub-menu li a {
        padding: 10px 15px;
        white-space: nowrap;
        color: var(--black);
    }
}

/*animation
************************************************************************************/
.anim{
	opacity: 0;
}
.anim-up{
	opacity: 0;
}
.anim-slide-left{
	opacity: 0;
}
.anim-slide-right{
	opacity: 0;
}
.delay-1s {
	-webkit-animation-delay: .1s;
	animation-delay: .1s;
	-webkit-animation-delay: calc(var(--animate-delay)*.1);
	animation-delay: calc(var(--animate-delay)*.1)
}
.delay-2s {
	-webkit-animation-delay: .2s;
	animation-delay: .2s;
	-webkit-animation-delay: calc(var(--animate-delay)*.2);
	animation-delay: calc(var(--animate-delay)*.2)
}
.delay-3s {
	-webkit-animation-delay: .3s;
	animation-delay: .3s;
	-webkit-animation-delay: calc(var(--animate-delay)*.3);
	animation-delay: calc(var(--animate-delay)*.3)
}
.delay-4s {
	-webkit-animation-delay: .4s;
	animation-delay: .4s;
	-webkit-animation-delay: calc(var(--animate-delay)*.4);
	animation-delay: calc(var(--animate-delay)*.4)
}
.delay-5s {
	-webkit-animation-delay: .5s;
	animation-delay: .5s;
	-webkit-animation-delay: calc(var(--animate-delay)*.5);
	animation-delay: calc(var(--animate-delay)*.5)
}
.delay-6s {
	-webkit-animation-delay: .6s;
	animation-delay: .6s;
	-webkit-animation-delay: calc(var(--animate-delay)*.6);
	animation-delay: calc(var(--animate-delay)*.6)
}
.delay-7s {
	-webkit-animation-delay: .7s;
	animation-delay: .7s;
	-webkit-animation-delay: calc(var(--animate-delay)*.7);
	animation-delay: calc(var(--animate-delay)*.7)
}
.delay-8s {
	-webkit-animation-delay: .8s;
	animation-delay: .8s;
	-webkit-animation-delay: calc(var(--animate-delay)*.8);
	animation-delay: calc(var(--animate-delay)*.8)
}
.delay-9s {
	-webkit-animation-delay: .9s;
	animation-delay: .9s;
	-webkit-animation-delay: calc(var(--animate-delay)*.9);
	animation-delay: calc(var(--animate-delay)*.9)
}
@media screen and (max-width: 1024px){
	.delay-1s,
	.delay-2s,
	.delay-3s,
	.delay-4s,
	.delay-5s,
	.delay-6s,
	.delay-7s,
	.delay-8s,
	.delay-9s{
		transition-delay: .1s;
	}
}
@media screen and (max-width: 768px){
	.delay-1s,
	.delay-2s,
	.delay-3s,
	.delay-4s,
	.delay-5s,
	.delay-6s,
	.delay-7s,
	.delay-8s,
	.delay-9s{
		transition-delay: 0;
	}
}

.passing-text,
.passing-photo figure{
	position: relative;
	display: inline-block;
	overflow: hidden;
}
.passing-text::before,
.passing-photo figure::before{
	content: '';
	display: inline-block;
	width: 0;
	height: 100%;
	position: absolute;
	left: 0;
	top: 0;
	z-index: 20;
	background: #3f3f75;
}
.passing-text.move-in::before,
.passing-photo.move-in figure::before{
	animation: barAnime forwards 1.5s 1 0.1s normal;
}
.passing-text *,
.passing-photo figure img{
	opacity: 0;
	transform: scale(1.1);
}
.passing-text.move-in *,
.passing-photo.move-in figure img{
	animation: photoAnime forwards 1.5s 1 0.5s normal;
}

@keyframes barAnime{
	0% {
		left: 0;
		width: 0;
	}
	50% {
		left: 0;
		width: 100%;
	}
	51% {
		left: 0;
		width: 100%;
	}
	68% {
		left: 0;
		width: 100%;
	}
	100% {
		left: 100%;
		width: 0;
	}
}
@keyframes photoAnime{
	0% {
    opacity: 0;
    transform: scale(1.1);
  }
	50% {
    opacity: 0;
    transform: scale(1.1);
  }
	100% {
    opacity: 1;
    transform: scale(1);
  }
}
