@charset "UTF-8";
/* CSS Document */

::selection {
  background: #000;
  color: #fff; 
}

.js-blur-in {
  opacity: 0;
  will-change: transform, opacity, filter;
}

/* オープニング全体 */
.opening {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 99999;
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: none; /* 開封後のクリック阻害防止 */
}

/* 中央ロゴ・テキスト */
.opening_logo {
  font-size: 4rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: #000;
  position: relative;
  z-index: 99999;
  will-change: transform, opacity, filter;
}

/* スライドして消える背景パネル */
.opening_bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(0deg, rgba(250, 247, 239,1) 0%, rgba(248, 238, 216, 1) 100%);
  z-index: 99998;
  will-change: transform;
}

body {font-family: "Gen Interface JP", sans-serif;font-weight: 400;background: #FAF7EF;min-width: 1100px;}

header {
    position: fixed;
    padding: 30px 5% 0;
    width: 100%;
    display: flex;
    z-index: 99997;
    justify-content: space-between;
	/* 初期状態: 上に隠して透明にしておく */
  transform: translateY(-100%);
  opacity: 0;
  will-change: transform, opacity;
	top: 0;
	left: 0;
    transition: all 0.2s ease-in-out 0s;
}

ul.header_menu {
    display: flex;
    align-items: center;
    gap: 40px;
}

.header_logo {
    letter-spacing: 2%;
    width: 116px;
    transition: all 0.2s ease-in-out 0s;
}

.is-scrolled {
    padding: 15px 5%!important;
    background: rgba(255,255,255,0.75);
    backdrop-filter: blur(6px);
}

.is-scrolled .header_logo {
    width: 84px!important;
}

ul.header_menu li a {
    font-size: 1.6rem;
    color: #000;
}

.parallax-container {
  position: relative;
  overflow: hidden;
  width: 100%;
}

.parallax-bg {
  position: absolute;
  top: -20%;
  left: 0;
  width: 100%;
  height: 100%; /* 100% から 140% に変更して上下の動き代を作る */
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  z-index: 1;
}

.js-marker {
  /* 親要素の opacity 指定は削除します */
}

.js-marker span {
  /* マーカーの色と位置設定 */
  background: linear-gradient(#000000 60%, #000000 60%);
  background-repeat: no-repeat;
  background-position: left center;
  background-size: 0% 100%;

  /* 文字を初期状態では透明（非表示）にする */
  color: transparent;

  /* 複数行対応 */
  display: inline;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  padding: 0 4px;
  line-height: 1.8;
  will-change: background-size, background-position, color;
}
/* ハンバーガーボタン */
.hamburger-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1000;
  width: 68px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  gap: 8px; /* 2本線の間隔 */
  padding: 0;
}

.hamburger-btn:hover span {
    width: 68px;
}

.hamburger-bar {
  display: block;
  width: 60px;
  height: 1px;
  transition: all 0.2s ease;
  background-color: #000;
  border-radius: 2px;
  will-change: transform, background-color;
}

/* 斜めスライド式ナビメニュー */
.nav-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: linear-gradient(45deg, rgba(1, 52, 68, 1) 0%, rgba(0, 86, 112, 1) 100%);
  z-index: 999;
  display: flex;
  justify-content: center;
  align-items: center;
  clip-path: polygon(0 0, 0 0, 0 100%, 0 100%);
  visibility: hidden;
  will-change: clip-path;
}


/* ハンバーガーメニュー背景：六角形ラインアニメーション */
.nav-menu_bg {
  position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0;
}
.nav-hex-svg {
  position: absolute; width: min(112vw, 1280px); height: min(112vw, 1280px);
  left: 50%; top: 50%; transform: translate(-50%, -50%) rotate(8deg); opacity: .26;
  animation: navHexDrift 18s linear infinite;
}
.nav-hex-line {
  fill: none; stroke: rgba(255,255,255,.72); stroke-width: 1; vector-effect: non-scaling-stroke;
  stroke-dasharray: 2200; stroke-dashoffset: 2200;
  animation: navHexDraw 5.2s linear infinite;
}
.nav-hex-line:nth-child(2) { animation-delay: -1.3s; opacity: .72; }
.nav-hex-line:nth-child(3) { animation-delay: -2.6s; opacity: .52; }
.nav-hex-line:nth-child(4) { animation-delay: -3.9s; opacity: .42; }
.nav-hex-orbit {
  fill:none; stroke:rgba(255,255,255,.34); stroke-width:.8; vector-effect:non-scaling-stroke;
  stroke-dasharray: 10 18; animation: navOrbit 13s linear infinite; transform-origin:500px 460px;
}
@keyframes navHexDraw {
  0% { stroke-dashoffset: 2200; opacity: .12; }
  48% { stroke-dashoffset: 0; opacity: 1; }
  52% { stroke-dashoffset: 0; opacity: 1; }
  100% { stroke-dashoffset: -2200; opacity: .12; }
}
@keyframes navHexDrift {
  0% { transform:translate(-50%,-50%) rotate(8deg) scale(1); }
  50% { transform:translate(-50%,-50%) rotate(14deg) scale(1.035); }
  100% { transform:translate(-50%,-50%) rotate(8deg) scale(1); }
}
@keyframes navOrbit { to { transform:rotate(360deg); } }

.nav-menu_list { position: relative; z-index: 1; }

.nav-menu_list {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: center;
}

.nav-menu_item {
  margin: 36px 0;
  overflow: hidden;
}

.nav-menu_item a {
  display: inline-block;
  color: #fff;
  font-size: 2.5rem;
  font-weight: 300;
  text-decoration: none;
  letter-spacing: 1px;
  will-change: transform, opacity;
}

.float_btn {
    position: fixed;
    right: 0;
    bottom: 0;
	will-change: transform, opacity;
    z-index: 999;
}

.float_btn a {
    display: flex;
    align-items: center;
    background: #000;
    font-size: 1.6rem;
    color: #fff;
    padding: 20px;
    position: relative;
    overflow: hidden;
    isolation: isolate;
    transition: color .35s ease;
}

.float_btn a::before {
    content: "";
    position: absolute;
    inset: 0;
    background: #fff;
    z-index: -1;
    transform: translateX(-101%);
    transition: transform .55s cubic-bezier(.77,0,.18,1);
}

.float_btn a:hover { color: #000; }
.float_btn a:hover::before { transform: translateX(0); }
.float_btn a.is-leaving::before { transform: translateX(101%); }
.float_btn a.is-resetting::before { transition: none; transform: translateX(-101%); }

.float_btn a span {
    font-weight: 400;
    margin-right: 20px;
    border-right: 1px solid currentColor;
    transition: border-color .35s ease;
    padding-right: 20px;
    font-size: 1.6rem;
}

.float_btn a i {
    margin-left: 15px;
}

/* ==========================================
   下線が左から右へ流れて消えるリンクアニメーション
=========================================== */
.hover-link {
  position: relative;
  display: inline-block;
  text-decoration: none;
  color: inherit; /* 親要素の文字色を継承 */
}

.hover-link::after {
  content: "";
  position: absolute;
  bottom: -2px; /* 下線の位置（文字からの距離） */
  left: 0;
  width: 100%;
  height: 1px; /* 下線の太さ */
  background-color: currentColor; /* 文字色と同じ色を動的に適用 */
  
  /* 初期状態：右側を起点にして横幅を0にする（マウスを離したときに右へ消える） */
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

/* ホバー時 */
.hover-link:hover::after {
  /* ホバー時：左側を起点にして横幅を1（100%）に伸ばす */
  transform: scaleX(1);
  transform-origin: left center;
}


/* 横パララックスコンテナ */
.horizontal-parallax-container {
  width: 100%;
  overflow: hidden;
}

/* スライドさせる要素 */
.horizontal-parallax-track {
  display: inline-block;
  white-space: nowrap; /* テキストを折り返さず1行にする */
  will-change: transform;
}

.parallax-text {
  font-size: 5rem;
  font-weight: 800;
  letter-spacing: 0.05em;
}


section.page_title {
	padding: 250px 0 200px;
	border-radius: 0 0 200px 0;
	background: #fff;
}

.page_title_inner {
    max-width: 1100px;
    margin: 0 auto;
}

.page_title_inner h1 {
    display: flex;
    align-items: center;
    letter-spacing: -1px;
    font-size: 6rem;
    font-weight: 500;
}

.page_title_inner h1 span {
    font-size: 3rem;
    font-weight: 500;
    margin-left: 30px;
    border-left: 1px solid;
    padding-left: 30px;
}