@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: var(--text-dark);
      overflow-x: hidden;
      line-height: 1.6;
    }


/* HEADER */

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

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

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

.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:.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:80px;
height:40px;
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: 100px;
  height: 100px;

  display: grid;
  place-items: center;
  z-index: 999;
}

/* 円テキスト */
.to-top .circle-text{
  position: absolute;

  width: 100px;
  height: 100px;

  /* ←中央配置をシンプルに */
  top: 0;
  left: 0;

  animation: spin 15s linear infinite;
}


/* 文字 */
.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;
}

/* 矢印（完全中央固定） */
.to-top .to-top-arrow{
  position: absolute;
  inset: 0; 
  color: #ff8d22eb;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  z-index: 10;
}

@keyframes spin{
  from{ transform: rotate(0deg); }
  to{ transform: rotate(360deg); }
}


/* HERO */

.hero{
  position: relative;
  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: 60%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* 共通 */
.hero-main{
  position: absolute;
  width: 60vw;
  max-width: 700px;

  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%) ;

  opacity: 0;
  transition: opacity 1s ease;
}

.hero-main.show{
  opacity: 1;
}

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


/* 個別調整 */
.earth{
  transition: 0.8s;
}

.hero-logo{
  opacity: 0;
  width: 600px;
  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);
  
  width: 120%;
  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: 500px; 
  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{
  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: #fff;
      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 rgba(7, 7, 7, 0.6);
}


/* キャッチ */
.large{
  font-size: 28px;
  line-height: 1.8;
  color: #413229;
  text-shadow: 0 0 20px rgba(7, 7, 7, 0.6);
}

.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(300px, 1fr));
      gap: 30px;
      margin: 120px 180px 80px;
      max-width: 1100px;
    }

/* カード */
.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-section {
      display: flex;
      justify-content: center;
      width: 100%;
      height: 70vh;
    }

    .video-container video {
      width: 100%;
      height: 100%;
      object-fit: cover;
      margin: 0 auto;
    }

.video-card{
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  gap: 20px;
  position: relative;
  z-index: 2;
}

/* 動画枠 */
.video-box{
  position: relative;
  width: 100%;
  max-width: 500px;
  aspect-ratio: 16/9;
  overflow: hidden;
  border: 3px solid rgba(255,255,255,0.2);
  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.325),
    0 0 20px rgba(0, 255, 85, 0.353);
  border-radius: 16px;
  background: #000;
  cursor: pointer;
}

/* 動画 */
/* サムネ */
.thumb{
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 2;
  transition: 0.4s;
}

/* 動画 */
.video-box video{
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: 0.4s;
}

.video-box::after{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(to top, rgba(0,0,0,0.4), transparent);
  z-index:1;
}

.video-box:hover{
  transform: scale(1.02);
  transition: 0.4s;
}

/* 再生アイコン */
.play-icon{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  display:flex;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #00ff55;
  color: #000;

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

  font-size: 22px;
  transition: 0.3s;
}

.mute-btn{
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #00ff55;
  border: none;
  cursor: pointer;

  position: relative;
}

/* スピーカー（簡易） */
.mute-btn::before{
  content: "🔊";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* ミュート時（スラッシュ） */
.mute-btn.muted::after{
  content: "";
  position: absolute;
  width: 3px;
  height: 80%;
  background: #f60202;

  top: 10%;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}


/* 再生中 */
.video-box.playing video{
  opacity: 1;
}

.video-box.playing .thumb{
  opacity: 0;
}

/* 一時停止時（動画見せたまま） */
.video-box.paused .play-icon{
  opacity: 1;
}

/* 再生中はアイコン消す */
.video-box.playing .play-icon{
  opacity: 0;
}

/* ホバー */
.video-box:hover .play-icon{
  transform: translate(-50%, -50%) scale(1.1);
}

.video-ui{
  position: static;
  transform: none;
  right: 0;
  display: flex;
  justify-content: center;
  margin-top: 15px;
}

/* 再生ボタン */
.play-btn{
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #00ff55;
  color: #000;
  border: none;
  font-size: 20px;
  cursor: pointer;
}

/* リンク */
.video-link{
  text-decoration: none;
  color: #00ff55;
  font-size: 14px;
}

.play-btn:active,
.mute-btn:active{
  transform: scale(0.9);
}

/* モーダル全体 */
.video-modal{
  position: fixed;
  inset: 0;
  z-index: 999;

  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;
  backdrop-filter: blur(10px);
  background: rgba(0,0,0,0.5);
}

/* 動画枠 */
.modal-content{
  position: relative;
  width: 70%;
  max-width: 900px;

  transform: scale(0.8);
  transition: 0.4s;
}

/* 拡大 */
.video-modal.active .modal-content{
  transform: scale(1);
}

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

/* 閉じるボタン */
.close-btn{
  position: absolute;
  top: -40px;
  right: 0;

  font-size: 30px;
  color: #fff;
  background: none;
  border: none;
  cursor: pointer;
}

body.modal-open{
  overflow: hidden;
}

/* セクション */

/* 画像を縦にする */
.info-section{
  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;
}

/* 2カラム */
.info-grid{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;

  max-width: 900px;
  margin: 0 auto;
}

/* カード */
.web-card{
  display: block;
  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: contain;
  background: #f7f7f7;
  border-radius: 12px;
  transition: 0.4s;
}

.info-card img{
  display: block;
  width: 100%;
  height: 200px;
  object-fit: contain;
  background: #f7f7f7;
  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: 100%;
  object-fit: cover;
  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; 
}


/* 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,.4);

opacity:0;
visibility:hidden;

transition:.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,.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:.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:.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 80px 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){

.hero-logo{
  width: 500px;
}

  .concept-hero{
    top: 10%;
  }

  .concept-hero p{
    text-align: center !important;
    margin: 0 auto 20px;
  }


  .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-right: 60px;
    margin-left: 40px;
  }

  .info-section{
    margin: 0 60px 0 40px;
  }
}