.elementor-3014 .elementor-element.elementor-element-ef905e9{--display:flex;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;overflow:visible;}.elementor-3014 .elementor-element.elementor-element-249e296{--display:flex;overflow:visible;}.elementor-3014 .elementor-element.elementor-element-e93165e .elementor-icon-wrapper{text-align:center;}/* Start custom CSS *//* WordPress 管理バーがある場合は loading-screen を非表示にする */
body.elementor-editor-active .loading-screen {
  display: none;
}

/* 共通レイアウト */
body, html {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}


/* --- ローディング --- */
.loading-screen {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  background: #FFFFFB; /* ✅ 初期表示を白に */
  font-family: 'Alegreya Sans', "Poppins", "Noto Sans JP", sans-serif;
  overflow: hidden;
  opacity: 1;
  transition: opacity 1.6s ease; /* ← フェード用 */
}

/* ▼ フェードアウト */
.loading-screen.fade-out {
  opacity: 0;
  pointer-events: none;
}

/* ▼ 背景の鼓動アニメは必要に応じて残す */
.loading-bg {
  position: absolute;
  inset: 0;
  background-color: #FFFFFB;
  z-index: 1;
  opacity: 1;
  transition: opacity 1.5s ease;
}

.loading-bg.heartbeat {
  animation: heartbeat 2s ease-in-out infinite;
  transform-origin: center;
}

@keyframes heartbeat {
  0%, 100% { transform: scale(1); }
  15%      { transform: scale(1.12); }
  30%      { transform: scale(1); }
  45%      { transform: scale(1.08); }
  60%      { transform: scale(1); }
}

/* ▼ ローディング中の文字・ボタン */
.loading-content {
  position: relative;
  z-index: 3;
  text-align: left;
  max-width: 80%;
  padding: 2rem;
  transition: transform 1s ease, opacity 1s ease, filter 1s ease;
}

.loading-screen.fade-out .loading-content {
  opacity: 0;
  filter: blur(4px);       /* ← ぼかし強調 */
  transform: scale(1.12);  /* ← わずかに拡大 */
}


.catch-line-wrapper {
  position: relative;
  display: inline-block;
  overflow: hidden;
}

.catch-line {
  font-family: 'Alegreya Sans', sans-serif;
  font-weight: 700;
  font-style: italic;
  font-size: 3.2rem;
  letter-spacing: 0.03em;
  margin-bottom: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  line-height: 1.3;
  align-items: center;
}

.fixed-text {
  color:#121212;
  font-size: 75%;
  margin-right: 20px;
  padding-left: 30px;
}

.typing-text {
  color: #f78da7;
  font-size: 3.2rem;
  font-weight: 700;
  display: inline-block;
  min-width: 12ch;
  text-align: left;
}

.description {
  font-size: 1.3rem;
  color: #121212;
  margin-bottom: 2rem;
  line-height: 1.8;
  text-align: left;
  font-weight: bold;
  max-width: 38em;
}

.start-button {
  display: block;
  margin: 2rem auto 0;
  width: 220px;
  padding: 1em 0;
  font-size: 1.1rem;
  font-weight: bold;
  color: #121212;
  background: transparent;
  border: none;
  border-radius: 12px;
  box-shadow: 0 4px 23px rgb(180 180 180 / 48%);
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.start-button:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 23px rgb(255 255 255 / 48%);
  background: #e9a4b7;
  color: #FFFFFB;
}

.hero-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  overflow: hidden;
  z-index: 10;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.img-wrapper.center-wrapper {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  will-change: transform;
  z-index: 2;
}

.float-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  will-change: transform;
  transition: transform 0.1s ease-out;
  animation: float 4s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

.svg-layer {
  position: relative;
  width: 770px;
  height: 770px;
}

.sphere-svg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 85%;
  height: 85%;
  object-fit: cover;
  display: block;
  z-index: 2;
}

.rotating-text-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

@keyframes rotate-text {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.float-wrapper.hidden {
  opacity: 0;
  transform: scale(0.9);
  transition: all 0.8s ease;
  pointer-events: none;
}

.tap-button {
  position: absolute;
  top: 51%;
  left: 1%;
  transform: translate(-50%, -50%);
  width: 70px;
  height: 70px;
  background: #000;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  cursor: pointer;
  pointer-events: auto;
}

.tap-button.converted {
  opacity: 0;
  pointer-events: none;
  display: none;
}

.tap-piece {
  width: 12px;
  height: 12px;
  background: #333;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: transform 0.6s ease, opacity 0.6s ease;
  z-index: 1001;
  display: block;
}

.menu-dot {
  position: fixed !important;
  width: 12px !important;
  height: 12px !important;
  background: #333 !important;
  border-radius: 50% !important;
  z-index: 1001 !important;
  opacity: 1 !important;
  pointer-events: auto;
  cursor: pointer;
  display: block !important; /* ← 明示追加 */
}

.tap-label {
  position: absolute;
  z-index: 1002;
  font-size: 16px;
  font-weight: 500;
  color: #fff;
  pointer-events: none;
  letter-spacing: 2px;
}

.menu-label {
  position: fixed;
  top: 60px;
  right: 20px;
  font-size: 12px;
  color: #333;
  z-index: 1001;
  opacity: 0;
  transition: opacity 0.6s ease;
  display: block;
}

.glass-mask {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(12px) contrast(1.1) brightness(1);
  -webkit-backdrop-filter: blur(6px) contrast(1.1) brightness(1);
  box-shadow:
    inset 0 0 15px rgba(255, 255, 255, 0.1),
    inset 0 0 8px rgba(0, 0, 0, 0.05);
  border-left: 1px solid rgba(255, 255, 255, 0.12);
  z-index: 999;
  transition: transform 1.2s ease-in-out;
}

.glass-mask.slide-out {
  transform: translateX(100%);
}

.header-logo {
  position: fixed;
  top: 20px;
  left: 20px;
  width: 100px;
  opacity: 0;
  z-index: 100;
  transition: opacity 0.8s ease;
}

.header-logo img {
  width: 100%;
  display: block;
}

#headerMenuIcon {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 100;
  opacity: 0;
  transition: opacity 0.6s ease;
}

/* 共通アニメーションクラス */
.fade-out {
  opacity: 0 !important;
  pointer-events: none !important;
  transition: opacity 0.6s ease;
}

.slide-out {
  transform: translateX(100%) !important;
  transition: transform 0.6s ease;
}

/* 右上に移動したメニュー用ドット */
.menu-dot {
  position: fixed !important;
  width: 12px !important;
  height: 12px !important;
  background: #333 !important;
  border-radius: 50% !important;
  z-index: 1001 !important;
  opacity: 1 !important;
  pointer-events: auto;
  cursor: pointer;
  transform: scale(1);
  transition: all 0.6s ease;
}

/* ロゴ表示時 */
.logo-show {
  opacity: 1 !important;
  transform: scale(1) translate(0, 0);
  transition: all 0.8s ease;
}


@media (max-width: 768px) {
  .tap-button {
    width: 45px;
    height: 45px;
    font-size: 14px;
  }
  .header-logo {
    width: 80px;
  }
}/* End custom CSS */