@charset "utf-8";

html {
  scroll-behavior: smooth;
}

:root {
  --primary-color: #1c8c87;
  --primary-light: #4fc3bd;
  --primary-bg: #e6f7f6;
  --accent-color: #ff8d22;
  --text-dark: #413229;
  --bg-light: #f7f7f7;
  --glass-white: rgba(255, 255, 255, 0.25);
}

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

ul,
ol {
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
}

body {
  font-family: "Noto Sans JP", "Montserrat", sans-serif;
  background: #4fc3bd;
  color: #f7f7f7;
  overflow-x: hidden;
  line-height: 1.6;
}
html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

/* HEADER */

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding-top: 10px;
  z-index: 1000;
}

.header-inner {
  max-width: 100%;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 10px;
}

/* ナビカード ガラスナビ */

.nav-card {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(14px);
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
  height: 80px;
}

.nav-card:hover {
  box-shadow: 20px 40px 40px rgba(0, 0, 0, 0.3);
}

/* ロゴ */

.logo {
  transform: scale(1.2);
  transform-origin: left center;
}

.logo a {
  display: inline-block;
}

.logo img {
  width: 150px;
  height: auto;
  animation: floatLogo 4s ease-in-out infinite;
  filter: drop-shadow(0 8px 12px rgba(0, 0, 0, 0.2));
}

@keyframes floatLogo {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-8px);
  }

  100% {
    transform: translateY(0px);
  }
}
/* メニュー */

.nav-menu {
  display: flex;
  list-style: none;
  z-index: 1;
}

.nav-menu a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  height: 80px;
  text-decoration: none;
  color: #413229;
  transition: 0.3s;
}

.nav-menu li {
  border-right: 1px solid rgba(255, 255, 255, 0.6);
}

.nav-menu li:last-child {
  border-right: none;
}

.nav-menu img {
  width: 90px;
  height: 60px;
  margin-bottom: 6px;
}

/* 文字 */

.nav-menu span {
  font-size: 14px;
  letter-spacing: 0.05em;
}

/* ホバー */

.nav-menu li:hover {
  background: #ff8d22eb;
  border-radius: 20px;
}

.nav-menu li:hover span {
  color: white;
}

/* ハンバーガー */

.menu-btn {
  width: 80px;
  height: 80px;
  background: #1c8c87;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;

  cursor: pointer;

  border-radius: 18px; /* 角丸 */
  transition: 0.3s; /* アニメーション */
}

.menu-btn:hover {
  background: #222;
  transform: translateY(-3px);
  box-shadow: 0 20px 30px rgba(0, 0, 0, 0.6);
}

.menu-btn span {
  width: 26px;
  height: 3px;
  background: white;
  border-radius: 2px;
  transition: 0.3s;
}

/* ハンバーガーアニメーション */

.menu-btn span {
  transition: 0.3s;
}

/* 1本目 */

.menu-btn.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

/* 2本目 */

.menu-btn.active span:nth-child(2) {
  opacity: 0;
}

/* 3本目 */

.menu-btn.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* 全体（レール） */
.scroll-indicator {
  position: fixed;
  right: 30px;
  top: 50%;
  transform: translateY(-50%);

  width: 2px;
  height: 380px;

  background: rgba(255, 255, 255, 0.15);
  border-radius: 10px;

  z-index: 999;
}

.scroll-arrow {
  font-size: 12px;
  color: #00ff55;
  margin-top: 5px;
  position: absolute;

  left: 50%;
  transform: translateX(-50%);
}

/* 動くバー */
.scroll-bar {
  position: absolute;
  width: 100%;
  height: 0%;
  background: #00ff55;
  border-radius: 10px;

  transition: height 0.1s linear;
  box-shadow: 0 0 10px #00ff55;
}

/* 丸 */
.scroll-thumb {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translate(-50%, 50%);

  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #00ff55;

  display: flex;
  align-items: center;
  justify-content: center;

  box-shadow: 0 0 10px #00ff55;
}

.scroll-text {
  position: absolute;
  right: 10px;

  writing-mode: vertical-rl;
  text-orientation: mixed;

  font-size: 10px;
  letter-spacing: 3px;
  color: #00ff55;

  margin-bottom: 10px;
  animation: scrollBlink 1.5s infinite;
}
@keyframes scrollBlink {
  0%,
  100% {
    opacity: 0.3;
  }
  50% {
    opacity: 1;
  }
}

.to-top {
  position: fixed;
  bottom: 60px;
  right: 60px;

  width: 80px;
  height: 80px;

  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
}

.to-top .circle-text {
  position: absolute;
  inset: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  color: #ff8d22eb;
  font-size: 10px;
  letter-spacing: 0.15em;
  white-space: nowrap;

  animation: spin 15s linear infinite;
}

/* 矢印 */
.to-top .to-top-arrow {
  position: absolute;

  top: 50%;
  left: 50%;

  transform: translate(-50%, -50%);

  color: #ff8d22eb;
  font-size: 28px;
  line-height: 1;

  z-index: 10;
}

/* 回転 */
@keyframes spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}
/* 文字 */
.to-top .circle-text span {
  position: absolute;
  top: 50%;
  left: 50%;
  pointer-events: none;
  transform-origin: 0 50%;
  font-size: 10px;
  color: #ff8d22eb;

  margin: 0;
  padding: 0;
}

.info-button {
  position: absolute;
  left: 50px;
  bottom: 50px;
  z-index: 10;

  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  width: 150px;
  height: 80px;

  text-decoration: none;
  color: #333;

  border: 1px solid #ff8d22;
  border-radius: 50px;

  background: rgba(255, 255, 255, 0.95);

  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);

  transition: all 0.4s ease;
}

.info-button span {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.15em;
}

.info-button small {
  font-size: 14px;
  margin-top: 3px;
  color: #888;
}

.info-button:hover {
  background: #ff8d22;
  color: #fff;
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(255, 141, 34, 0.25);
}

.info-button:hover small {
  color: #fff;
}

/* HERO */

.hero {
  position: relative;
  width: 100%;
  height: 100vh;
}

.fv {
  width: 100%;
  height: 100vh;
  position: relative;
  overflow: hidden;
}

/* ロケット */
.rocket {
  position: absolute;
  z-index: 2;
  bottom: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 450px;
  filter: drop-shadow(0 0 20px rgba(255, 140, 0, 0.6));
  animation:
    rocketUp 2.5s ease-out forwards,
    rocketFloat 3s ease-in-out 2.5s infinite;
}

/* 軌跡 */
.trail {
  position: absolute;
  z-index: 1;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 5px;
  height: 0;
  background: linear-gradient(to top, #ff7a00, transparent);
  filter: blur(1px);
  animation: trailUp 2.5s ease-out forwards;
}

/* ロケット上昇 */
@keyframes rocketUp {
  0% {
    bottom: -100px;
    opacity: 0;
  }
  100% {
    bottom: 70%;
    opacity: 1;
  }
  to {
    bottom: 60%;
  }
}

/* 軌跡伸びる */
@keyframes trailUp {
  0% {
    height: 0;
    opacity: 0;
  }
  100% {
    height: 90%;
    opacity: 1;
  }
}

/* ふわふわ */
@keyframes rocketFloat {
  0% {
    transform: translate(-50%, 0);
  }
  50% {
    transform: translate(-50%, -20px);
  }
  100% {
    transform: translate(-50%, 0);
  }
}

.hero-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  max-width: 600px;
}

/* 共通 */
.hero-main {
  position: absolute;
  width: 60vw;
  max-width: 700px;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: opacity 1s ease;
}

/* 個別調整 */
.earth {
  opacity: 0;
  transition: 1s;
  z-index: 1;
}

/* earth表示 */
.earth.show {
  opacity: 1;
  filter: brightness(1.1);
}

.hero-logo {
  opacity: 0;
  z-index: 10;
  transition: 1s;
  width: 400px;
  max-width: 80%;
  height: auto;
  display: block;
  transform: translate(-50%, -50%) scale(0.9);
  transition: 1s ease;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.2));
}

/* 出現＋バウンド */
.hero-logo.show {
  opacity: 1;
  animation: logoBounce 0.8s ease forwards;
}

@keyframes logoBounce {
  0% {
    transform: translate(-50%, -50%) scale(0.8);
    opacity: 0;
  }
  60% {
    transform: translate(-50%, -50%) scale(1.05);
    opacity: 1;
  }
  80% {
    transform: translate(-50%, -50%) scale(0.97);
  }
  100% {
    transform: translate(-50%, -50%) scale(1);
  }
}

.hero-photos {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  pointer-events: none;
  z-index: 0;
}

/* 🌿 背景 */

.hero-photos img {
  position: absolute;
  left: 50%;
  bottom: -50px;
  transform: translate(-50%, 40px);

  max-width: 100%;
  height: auto;
  opacity: 0;

  transition: 1.2s ease;
}

/* 出現 */
.hero-photos.show img {
  opacity: 0.6;
  transform: translate(-50%, 0);
  animation: bgFloat 6s ease-in-out infinite;
}

/* ふわふわ */
@keyframes bgFloat {
  0% {
    transform: translate(-50%, 0);
  }
  50% {
    transform: translate(-50%, -15px);
  }
  100% {
    transform: translate(-50%, 0);
  }
}

.bee {
  position: absolute;
  width: 120px;
  pointer-events: none;
  top: 50%;
  left: 50%;

  /* transform: translate(-50%, -50%); */

  opacity: 0;
  z-index: 999; /* ←これ超重要 */
}

.bee img {
  width: 100%;
}

/* 初期位置（ざっくり） */
.bee1 {
  top: 30%;
  left: 20%;
}
.bee2 {
  top: 40%;
  right: 20%;
}
.bee3 {
  top: 50%;
  left: 70%;
}
.bee4 {
  top: 60%;
  left: 20%;
}
.bee5 {
  top: 70%;
  right: 20%;
}
.bee6 {
  top: 80%;
  left: 50%;
}

#bee-trail {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

/* 初期状態 */
.fade-up {
  opacity: 0;
  transform: translateY(60px);
  transition: all 0.8s ease;
}

/* 表示状態 */
.fade-up.show {
  opacity: 1;
  transform: translateY(0);
}

/* ビジョン */
.concept-hero {
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 900px;
  z-index: 5;
}

/* 共通 */
.concept-hero p {
  opacity: 0;
  transition: 1s ease;
  font-size: 26px;
  line-height: 1.8;
  color: #f7f7f7;
  letter-spacing: 0.06em;
  text-shadow:
    0 0 10px rgba(43, 19, 0, 0.4),
    0 0 20px rgba(43, 19, 0, 0.6);
}

.concept-hero .left {
  transform: translateX(-60px);
  text-align: left;
  margin-right: auto;
  max-width: 500px;
}

.concept-hero .right {
  transform: translateX(60px);
  text-align: right;
  margin-left: auto;
  max-width: 500px;
}

.concept-hero .center {
  position: absolute;
  top: 400px;
  left: 20%;
  transform: translateX(-50%) translateY(40px);
  text-align: center;
  max-width: 800px;
}

.concept-hero.show .left {
  transition-delay: 0.2s;
}

.concept-hero.show .right {
  transition-delay: 0.6s;
}

.concept-hero.show .center {
  transition-delay: 1s;
}
/* 表示 */
.concept-hero.show .left,
.concept-hero.show .right,
.concept-hero.show .center {
  opacity: 1;
  transform: translate(0, 0);
}

/* メッセージ */
.message {
  height: 200vh;
  background: #1c8c87;
  padding: 80px 20px;
  position: relative;
}

.message-bg-text {
  position: absolute;
  left: 120px;
  top: 25%;
  transform: translateY(-50%);
  z-index: 1;
  opacity: 0.2; /* ←うっすらがポイント */
}

/* 画像を縦にする */
.message-bg-text img {
  width: 600px;
  transform: rotate(90deg);
  transform-origin: left top;
}

.message-sticky {
  position: sticky;
  top: 0;
  height: 100vh;

  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

/* 地球 */
.earth-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);

  width: 1000px;
  height: 1000px;
  background: url(../img/earth0.png) center/contain no-repeat;
  opacity: 0.2;
  z-index: 1;
}

/* 文字 */
.message-inner {
  text-align: center;
  max-width: 900px;
  position: relative;
  z-index: 2;
}

.message-inner.show {
  opacity: 1;
  transform: translateY(0);
}

/* 1つずつ出す */
.message-inner h2 span,
.message-inner p {
  opacity: 0;
  transform: translateY(30px);
}

.message h2 {
  font-size: 60px;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-top: 60px;
  color: #f7f7f7;
  text-shadow: 20px 0 20px rgba(1, 0, 0, 0.426);
}

/* アニメーション */
.message-inner.show h2 span {
  animation: fadeUp 0.8s forwards;
}

.message-inner.show p {
  animation: fadeUp 0.8s forwards;
}

/* 遅延（ここが神ポイント✨） */
.message-inner.show h2 span:nth-child(1) {
  animation-delay: 0.2s;
}
.message-inner.show h2 span:nth-child(2) {
  animation-delay: 0.4s;
}

.message-inner.show p:nth-of-type(1) {
  animation-delay: 0.6s;
}
.message-inner.show p:nth-of-type(2) {
  animation-delay: 0.8s;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.message p {
  opacity: 0.8;
  font-size: 32px;
  padding-top: 50px;
  color: #f7f7f7;
  text-shadow: 20px 0 20px rgba(7, 7, 7, 0.426);
}

.message h2 span,
.message p span {
  display: block;
  opacity: 0;
  transform: translateY(20px);
}

/* show後 */
.message-inner.show span {
  animation: fadeUp 0.6s forwards;
}

.message-inner.on-earth h2,
.message-inner.on-earth p {
  color: #fff;
  text-shadow: 0 0 20px rgba(7, 7, 7, 0.6);
}
.message-inner.on-earth {
  color: #fff;
  text-shadow: 0 0 20px rgba(7, 7, 7, 0.6);
}

/* =====================
   PROJECT
===================== */
.project {
  min-height: 120vh;
  background: #1c8c87;
  position: relative;
  overflow: hidden;
  padding-bottom: 200px;
}

.container {
  max-width: 900px;
  margin: 0 auto;
  width: 100%;
  margin: 80px auto;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 40px;
  color: #f7f7f7;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* 背景レイヤー */
.project::before {
  content: "";
  position: absolute;
  width: 600px;
  height: 600px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;

  top: 10%;
  left: 20%;

  transform: translateY(var(--moveY));
  transition: transform 0.3s linear;
}

/* 固定表示 */
.project-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  align-items: center;
  justify-content: center;
}

/* 中央 */
.project-inner {
  text-align: center;
  color: #fff;
}

.project-bg-text {
  position: absolute;
  left: 120px;
  top: 25%;
  transform: translateY(-50%);
  z-index: 1;
  opacity: 0.2; /* ←うっすらがポイント */
}

/* 画像を縦にする */
.project-bg-text img {
  width: 500px;
  transform: rotate(90deg);
  transform-origin: left top;
}

/* タイトル */
.project h2 {
  font-size: 42px;
  margin-top: 100px;
  margin-bottom: 20px;
  letter-spacing: 0.1em;
  color: #413229;
  text-shadow: 0 0 20px #f7f7f7;
}

/* キャッチ */
.large {
  font-size: 28px;
  line-height: 1.8;
  color: #413229;
  text-shadow: 0 0 20px #f7f7f7;
}

.fade-up {
  opacity: 0;
  transform: translateY(60px) scale(0.95);
  transition: 0.8s ease;
}

.fade-up.show {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* 初期状態 */
.fade-up-card {
  opacity: 1;
  transform: translateY(80px) scale(0.95);
  transition: 0.8s ease;
}

.fade-up-card.show {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* 順番に出す */
.fade-up-card:nth-child(1) {
  transition-delay: 0.1s;
}
.fade-up-card:nth-child(2) {
  transition-delay: 0.3s;
}
.fade-up-card:nth-child(3) {
  transition-delay: 0.5s;
}

/* =====================
   SERVICE（HOME用）
===================== */
.service-home {
  padding: 0 20px;
  text-align: center;
  margin-top: 120px;
}

.service-home h2 {
  font-size: 28px;
  margin-bottom: 50px;
  letter-spacing: 0.1em;
}

/* カード並び */
.service-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-left: 150px;
}

/* カード */
.service-card {
  background: var(--glass-white);
  backdrop-filter: blur(12px);
  padding: 80px 30px 30px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 300px;
  height: 100%;
  position: relative;
  overflow: hidden;
  color: var(--text-dark);
  text-decoration: none;
}

/* 画像を本体に */
.service-card:nth-child(1):hover {
  background:
    linear-gradient(rgba(255, 255, 255, 0.516), rgba(255, 255, 255, 0.498)),
    url(../img/hand.png) center 90%/280px no-repeat;
}

.service-card:nth-child(2):hover {
  background:
    linear-gradient(rgba(255, 255, 255, 0.43), rgba(255, 255, 255, 0.481)),
    url(../img/locket.png) center 90%/280px no-repeat;
}

.service-card:nth-child(3):hover {
  background:
    linear-gradient(rgba(255, 255, 255, 0.465), rgba(255, 255, 255, 0.455)),
    url(../img/earth.png) center 90%/280px no-repeat;
}

/* ポップ感（ちょいグラデ） */
.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);

  height: 5px;
  width: 95%;

  background: linear-gradient(90deg, #00c6ff, #0072ff);
  border-radius: 16px 16px 0 0;
}

.service-card:nth-child(1)::before {
  background: linear-gradient(90deg, #ff7e5f, #feb47b);
}

.service-card:nth-child(2)::before {
  background: linear-gradient(90deg, #43cea2, #185a9d);
}

.service-card:nth-child(3)::before {
  background: linear-gradient(90deg, #667eea, #764ba2);
}

/* タイトル */
.service-card h3 {
  font-size: 1.4rem;
  margin-bottom: 20px;
  position: relative;
  z-index: 2;
}

/* リスト */
.service-card ul {
  list-style: none;
  margin-bottom: 30px;
  position: relative;
  z-index: 2;
  font-size: 20px;
  text-align: center;
}

.service-card li {
  margin-bottom: 10px;
  font-weight: 500;
}

/* ホバー */
.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.service-card:nth-child(1) {
  background: linear-gradient(90deg, #ff7e5f, #feb47b);
  border-color: rgba(255, 126, 95, 0.3);
}

.service-card:nth-child(2) {
  background: linear-gradient(90deg, #43cea2, #185a9d);
  border-color: rgba(67, 206, 162, 0.3);
}

.service-card:nth-child(3) {
  background: linear-gradient(90deg, #667eea, #764ba2);
  border-color: rgba(102, 126, 234, 0.3);
}

.service-card .arrow {
  margin-top: auto;
  width: 40px;
  height: 40px;
  border: 1px solid var(--text-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: flex-end;
  transition: 0.3s;
}

.service-card:hover .arrow {
  background: #413229;
  color: #fff;
  border-color: #413229;

  transform: translateX(5px);
}

.preview {
  opacity: 0;
  transition: 0.3s;
}

.service-card:hover .preview {
  opacity: 1;
}

/* 動画 */
/* セクション全体 */
.video {
  padding: 120px 20px;
  background: linear-gradient(180deg, #1c8c87 0%, #157a75 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* タイトル */
.video h2 {
  font-size: 48px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #fff;
  position: relative;
  display: inline-block;

  /* 初期（アニメ用） */
  opacity: 0;
  transform: translateY(40px) scale(0.95);
  transition: 0.8s ease;
}

/* 出現 */
.video h2.show {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* 下ライン（アクセント） */
.video h2::after {
  content: "";
  display: block;
  width: 120px;
  height: 3px;
  margin: 20px auto 0;

  background: linear-gradient(90deg, #00ffcc, #00ff55);
  border-radius: 2px;

  transform: scaleX(0);
  transform-origin: left;
  transition: 0.6s ease 0.3s;
}

/* 出現時ライン伸びる */
.video h2.show::after {
  transform: scaleX(1);
}

/* 背景の丸（うっすら） */
.video::before {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08), transparent);
  top: -100px;
  left: -100px;
  border-radius: 50%;
}

/* もう一個 */
.video::after {
  content: "";
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0, 255, 200, 0.1), transparent);
  bottom: -120px;
  right: -120px;
  border-radius: 50%;
}

body.modal-open .site-wrap {
  transform: scale(1.08);
  filter: blur(10px) brightness(0.7);
}

.video-box {
  position: relative;
  width: 100%;
  max-width: 600px;
  aspect-ratio: 16/9;
  margin: 100px auto;
  overflow: hidden;
  border-radius: 16px;
  background: #000;
  cursor: pointer;
}

/* 共通（ズレ防止） */
.video-box video,
.video-box img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* サムネ */
.thumb {
  z-index: 2;
  transition: 0.4s;
}

/* ホバー動画 */
.hover-video {
  z-index: 1;
  opacity: 0;
  transition: 0.4s;
}

/* 再生アイコン */
.play-icon {
  position: absolute;
  inset: 0;
  margin: auto;
  z-index: 3;

  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: #00ff55;
  display: flex;
  align-items: center;
  justify-content: center;

  pointer-events: none; /* ←これ重要🔥 */
}

/* ホバー時 */
.video-box.playing .thumb {
  opacity: 0;
}

.video-box.playing .hover-video {
  opacity: 1;
}

/* ===== モーダル ===== */
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;

  display: flex;
  align-items: center;
  justify-content: center;

  opacity: 0;
  pointer-events: none;
  transition: 0.4s;
}

.video-modal.active {
  opacity: 1;
  pointer-events: auto;
}

/* 少し暗くする */
.modal-bg {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
}

.modal-content {
  position: relative;
  width: 80%;
  max-width: 800px;
}

.modal-content video {
  width: 100%;
  border-radius: 12px;
}

/* 閉じる */
.close-btn {
  position: absolute;
  bottom: 0; /* ←動画の下に配置 */
  right: -60px;

  width: 60px;
  height: 60px;

  border-radius: 50%;
  border: none;

  background: linear-gradient(135deg, #ff8d22, #ff5e00);
  color: #fff;
  font-size: 26px;
  font-weight: bold;

  display: flex;
  align-items: center;
  justify-content: center;

  cursor: pointer;
  z-index: 10;

  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  transition: 0.3s;
}

/* クリック */
.close-btn:active {
  transform: scale(0.9);
}

/* セクション */

/* 画像を縦にする */
.info-section {
  min-height: 70vh;
  padding: 80px 20px;
  position: relative;
  background-color: #e6f7f6;
}

.info-bg-text {
  position: absolute;
  left: 160px;
  top: 25%;
  transform: translateY(-50%);
  z-index: 0;
  opacity: 0.2; /* ←うっすらがポイント */
  pointer-events: none;
}

.info-bg-text img {
  width: 380px;
  transform: rotate(90deg);
  transform-origin: left top;
}

/* カード */
.web-card {
  display: block;
  max-width: 600px;
  margin: 0 auto;
  text-decoration: none;
  color: #00c6ff;
  text-shadow: 0 0 10px rgba(7, 7, 7, 0.2);
  overflow: hidden;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
}

.info-card {
  display: block;
  text-decoration: none;
  color: #00ff55;
  text-shadow: 0 0 10px rgba(7, 7, 7, 0.2);
  overflow: hidden;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
}

/* 画像 */
.web-card img {
  display: block;
  width: 100%;
  height: 200px;
  margin: 0 auto;
  display: block;
  object-fit: cover;
  background: #fdcfb24d;
  border-radius: 12px;
  transition: 0.4s;
}

.img-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  border-radius: 12px;
}

.img-slider img {
  position: absolute;
  width: 100%;
  height: 400px;
  object-fit: contain;
  opacity: 0;
  transition: opacity 1s ease;
}

/* 表示中 */
.img-slider img.active {
  opacity: 1;
}

/* 下のテキスト部分 */
.web-body {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
  padding: 0 5px;
  gap: 10px;
}
.web-body h3 {
  font-size: 20px;
  margin: 0;
}

.web-body p {
  font-size: 16px;
  margin: 0;
}

.web-body .text {
  flex: 1;
}

.info-body {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
  padding: 0 5px;
  gap: 10px;
}
.info-body h3 {
  font-size: 20px;
  margin: 0;
}

.info-body p {
  font-size: 16px;
  margin: 0;
}

.info-body .text {
  flex: 1;
}

/* 矢印 */
.web-arrow {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 36px;
  height: 36px;

  border: 2px solid #00c6ff;
  border-radius: 50%;

  color: #00c6ff;
  text-shadow: 0 0 20px rgba(7, 7, 7, 0.6);
  text-decoration: none;
  font-size: 18px;

  flex-shrink: 0;
}

.info-arrow {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 36px;
  height: 36px;

  border: 2px solid #00ff55;
  border-radius: 50%;

  color: #00ff55;
  text-shadow: 0 0 20px rgba(7, 7, 7, 0.6);
  text-decoration: none;
  font-size: 18px;

  flex-shrink: 0;
}
/* ホバー */
.info-card:hover img {
  transform: scale(1.03);
}

.info-card .arrow {
  position: static; /* ← absolute打ち消す */
}

.web-arrow:hover {
  transform: translateX(4px);
  background: #00c6ff;
  color: #000;
  border-color: #00c6ff;
}

.info-arrow:hover {
  transform: translateX(4px);
  background: #00ff55;
  color: #000;
  border-color: #00ff55;
}

/* 体験会予告 */
.event-flyers {
  width: 90%;
  max-width: 1100px;
  margin: 100px auto 0;
}

.flyer-title {
  text-align: center;
  margin-bottom: 40px;
}

.flyer-title span {
  display: block;
  font-size: 13px;
  letter-spacing: 0.2em;
  margin-bottom: 10px;
  color: #888;
}

.flyer-title h3 {
  font-size: 28px;
  letter-spacing: 0.1em;
  margin: 0;
  color: #00ff55;
  text-shadow: 0 0 20px rgba(7, 7, 7, 0.25);
}

/* チラシ3枚 */
.flyer-list {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 30px;
  align-items: start;
}

/* 最新3枚だけ */
.flyer-list > .flyer:nth-child(1),
.flyer-list > .flyer:nth-child(2),
.flyer-list > .flyer:nth-child(3) {
  grid-column: span 2;
}

/* 過去チラシ */
.past-flyers {
  display: none;
  width: 100%;
  grid-template-columns: repeat(5, 1fr);
  gap: 30px;
  margin-top: 50px;
}

.past-flyers.is-open {
  display: grid;
}

.past-flyers > .flyer {
  width: 100%;
  margin: 0;
  position: relative;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.past-flyers > .flyer img {
  width: 100%;
  height: auto;
  display: block;
}

.past-flyers > .flyer:hover {
  transform: scale(1.5);
  z-index: 10;
}

/* 過去を見るボタン */
.past-toggle {
  display: block;
  margin: 50px auto 0;
  padding: 18px 35px;
  background: transparent;
  border: 2px solid #222;
  font-size: 18px;
  cursor: pointer;
}

.past-toggle span {
  margin-left: 10px;
}

.past-toggle:hover {
  opacity: 0.6;
}

.past-toggle:hover span {
  transform: translateX(5px);
}

/* footer */

.footer {
  background: #1c8c87;
  color: #f7f7f7;
  padding: 60px 20px;
}

.footer-inner {
  max-width: 1100px;
  margin: auto;
  text-align: center;
}

.footer-logo {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 30px;
}

.footer-logo img {
  width: 100px;
}
.footer-nav {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 30px;
}

.footer-nav a {
  color: #f7f7f7;
  text-decoration: none;
  opacity: 0.8;
}

.footer-nav a:hover {
  opacity: 1;
}

.copyright {
  font-size: 14px;
  opacity: 0.6;
}

/* ===== overlay ===== */

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;

  background: rgba(0, 0, 0, 0.4);

  opacity: 0;
  visibility: hidden;

  transition: 0.3s;
}

#menu-btn:checked ~ .overlay {
  opacity: 1;
  visibility: visible;
}

#menu-btn:checked + .btn span {
  background: transparent;
}

#menu-btn:checked + .btn span::before {
  transform: rotate(45deg);
}

#menu-btn:checked + .btn span::after {
  transform: rotate(-45deg);
}

/* ===== hamburger ===== */

#menu-btn {
  display: none;
}

.btn {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 60px;
  height: 60px;
  background: #1c8c87;
  backdrop-filter: blur(10px);
  cursor: pointer;
  border-radius: 50%;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  z-index: 2000;
}

.btn span {
  display: block;
  width: 34px;
  height: 3px;
  background: #fff;
  position: relative;
}

.btn span::before,
.btn span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 32px;
  height: 3px;
  background: #333;
  transition: 0.3s;
}

.btn span::before {
  top: -10px;
}

.btn span::after {
  top: 10px;
}

#menu-btn:checked + .btn span {
  background: transparent;
}

#menu-btn:checked + .btn span::before {
  transform: rotate(45deg);
  top: 0;
}

#menu-btn:checked + .btn span::after {
  transform: rotate(-45deg);
  top: 0;
}

/* レスポンシブ */
@media (max-width: 900px) {
  .logo img {
    width: 100px;
  }

  /* ハンバーガー */

  .btn {
    display: flex;
  }

  .nav-menu {
    flex-direction: column; /* ←縦並び */
    align-items: flex-start; /* ←左揃え */
    gap: 30px;
    width: 100%;
  }

  .nav-menu li {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    width: 100%;
  }

  .nav-menu li:last-child {
    border-bottom: none;
  }

  /* ナビカード */

  .nav-card {
    position: fixed;

    top: 0;
    left: -100%;

    width: 50%;
    height: 60vh;

    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);

    flex-direction: column;
    justify-content: center;

    transition: 0.3s ease;
  }

  #menu-btn:checked ~ .nav-card {
    left: 0;
  }

  .hero-logo {
    width: 260px;
  }

  .project {
    height: 170vh;
  }

  .project-inner h2 {
    font-size: 28px;
  }

  #service {
    display: block;
  }

  .service-list {
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin: 60px 40px 30px;
  }

  .service-card {
    width: 90%;
    max-width: 500px;
  }

  .video-card {
    width: 90%;
    margin: 60px auto 0;
    flex-direction: column;
    align-items: center;
  }

  .video-box {
    width: 100%;
  }

  .video-ui {
    position: static;
    transform: none;
    margin-top: 20px;

    display: flex;
    justify-content: center;
    gap: 10px;
  }
}

@media (min-width: 901px) {
  .btn {
    display: none;
  }
}

@media (max-width: 768px) {
  .header-inner {
    max-width: 100%;
  }

  .to-top .circle-text {
    width: 60px;
    height: 60px;
  }

  .earth-bg {
    width: 600px;
  }

  .hero-logo {
    width: 80%;
    max-width: 280px;
  }

  .concept-hero {
    top: 30%;
  }

  .concept-hero .center {
    top: 300px;
  }

  .concept-hero p {
    text-align: center;
    margin: 0 auto 20px;
    font-size: 16px;
    line-height: 1.4;
  }

  .message h2 {
    font-size: 24px;
    line-height: 1.5;
  }

  .message p {
    font-size: 14px;
    padding-top: 20px;
  }

  .bee {
    width: 70px;
  }

  .rocket {
    width: 250px;
  }

  .info-grid {
    grid-template-columns: 1fr; /* 1カラム */
  }

  .service-list {
    flex-direction: column; /* ←縦並び */
    align-items: center;
    gap: 20px;
    padding: 0 20px;
    grid-template-columns: 1fr;
  }

  .service-card {
    padding: 20px;
    overflow: visible;
    width: 100%;
  }

  .service-card h3 {
    font-size: 20px;
  }

  .service-card li {
    font-size: 16px;
  }

  .video-card {
    margin: 40px auto;
    width: 90%;
  }

  .info-section {
    margin: 0 auto;
    padding: 60px 20px;
  }

  .event-flyers {
    width: 90%;
    margin-top: 70px;
  }

  .flyer-list {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  /* 最新3枚 */
  .flyer:nth-child(1),
  .flyer:nth-child(2),
  .flyer:nth-child(3) {
    grid-column: span 1;
    width: 100%;
  }

  .past-flyers {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .past-flyers > .flyer {
    width: 60%;
    margin: 0 auto;
  }

  .past-flyers > .flyer:hover {
    transform: none;
  }
}

/* スマホ */
@media (max-width: 480px) {
  .event-flyers {
    width: 88%;
  }

  .flyer-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .flyer-title {
    margin-bottom: 25px;
  }

  .flyer-title h3 {
    font-size: 22px;
  }

  .info-button {
    left: 15px;
    bottom: 15px;
    width: 120px;
    height: 50px;
  }

  .info-button span {
    font-size: 14px;
  }

  .info-button small {
    font-size: 9px;
  }
}
