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

body {
  font-family: sans-serif;
  line-height: 1.7;
  color: #333;
	margin: 0;
	padding: 0;
}

/* ======================
header（固定＆透明）
====================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;

  padding: clamp(28px, 6vw, 48px) clamp(20px, 5vw, 40px) 20px 24px;
  box-sizing: border-box;

  background: transparent;
  z-index: 1200;
	
 opacity: 0;
  transform: translateY(-20px);
  transition: 0.6s ease;	
}

.header.show {
  opacity: 1;
  transform: translateY(0);
}

/* 視認性少しUP（任意） */
.header::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(255,255,255,0.4),
    rgba(255,255,255,0)
  );
  pointer-events: none;
	display: none;
}

.header-inner {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.header-icons {
  display: flex;
  align-items: center;
  gap: clamp(12px, 3vw, 24px);
}

/* アイコン */
.icon img {
  width: clamp(28px, 5vw, 48px);
  height: auto;
  display: block;
}

/* ======================
ハンバーガー
====================== */
/* ハンバーガー */
.hamburger {
  width: clamp(70px, 12.5vw, 120px);
  height: clamp(70px, 12.5vw, 120px); /* ←高さを完全一致 */
  position: relative;
  z-index: 1100;
  background: none;
  border: none;
  cursor: pointer;
}

.hamburger span {
  position: absolute;
  width: 70%;
  height: 2px;
  background: #000;

  left: 50%;
  transform: translateX(-50%);
  transition: 0.3s;
}

.hamburger span:nth-child(1) { top: 30%; }
.hamburger span:nth-child(2) {
  top: 50%;
  transform: translate(-50%, -50%);
}
.hamburger span:nth-child(3) { top: 70%; }

/* × */
.hamburger.active span:nth-child(1) {
  top: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  top: 50%;
  transform: translate(-50%, -50%) rotate(-45deg);
}

/* ======================
メニュー（全面）
====================== */
.menu {
  position: fixed;
  inset: 0;

  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);

  opacity: 0;
  visibility: hidden;
  transition: 0.4s;

  z-index: 1100;

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

.menu.active {
  opacity: 1;
  visibility: visible;
}

/* 中央配置 */
.menu ul {
  list-style: none;
  padding: 0;
  text-align: center;
}

/* 行間 */
.menu li {
  margin-bottom: clamp(20px, 4vw, 40px);
}

/* テキスト */
.menu a {
  text-decoration: none;
  color: #333;
  font-size: clamp(23px, 6vw, 35px);
  font-weight: 600;
}

/* SNS */
.menu-sns {
  margin-top: clamp(40px, 8vw, 80px);
}

.menu-sns img {
  width: clamp(32px, 8vw, 60px);
  margin: 0 auto;
  display: block;
}

/* ======================
固定CONTACTボタン
====================== */
.contact-fixed {
  position: fixed;
  bottom: 0;
  left: 0;

  width: 100%;

  opacity: 0;
  transform: translateY(20px); /* ←これだけにする */
  transition: 0.6s ease;

  z-index: 1300;
}

/* 画像 */
.contact-fixed img {
  width: 100%;
  height: auto;
  display: block;
}

/* 表示 */
.contact-fixed.show {
  opacity: 1;
  transform: translateY(0); /* ←横の指定消す */
}


/* 動画 */
.fv {
  position: relative;
  height: 100vh;
  overflow: hidden;
  z-index: 1;
margin-top: 0;	
}

.fv-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* ←これが重要 */
}

/* カバー画像（最初に表示） */
.fv-cover {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.fv-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: coverFadeOut 1.2s cubic-bezier(0.25, 1, 0.5, 1) 1.2s forwards;
}

/* ロゴ */
.opening {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.opening img {
  width: 70%;
   opacity: 0;
  transform: scale(0.7);

 animation:
    logoIn 1.2s ease forwards,
    logoOut 1.1s ease 1.3s forwards;
}

@keyframes coverFadeOut {
  0% {
    opacity: 1;
  }
  70% {
    opacity: 0.3;
  }
  100% {
    opacity: 0;
    visibility: hidden;
  }
}

/* ロゴ登場 */
@keyframes logoIn {
  0% {
    opacity: 0;
    transform: scale(0.6);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes logoOut {
  0% {
    opacity: 1;
    transform: scale(1);
  }
  60% {
    opacity: 0.4;
    transform: scale(1.1);
  }
 100% {
    opacity: 0;
    transform: scale(1.2);
    filter: blur(4px);
  }
}

/* 画像フェードアウト */
@keyframes coverFadeOut {
  to {
    opacity: 0;
    visibility: hidden;
  }
}

/* about */
.fade-in {
  opacity: 0;
  transform: translateX(-120px) scale(0.95);
  transition: opacity 1.6s ease, transform 1.6s cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
  overflow: hidden;
}

.fade-in.show {
  opacity: 1;
  transform: translateX(0) scale(1);
}


.fade-in::after {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    120deg,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,0.7) 50%,
    rgba(255,255,255,0) 100%
  );
  transform: skewX(-20deg);
}

.fade-in.show::after {
  animation: shine 1.4s ease forwards;
  animation-delay: 0.1s; /* ← 遅れてキラッ */
}

@keyframes shine {
  0% {
    left: -120%;
  }
  100% {
    left: 130%;
  }
}

.about {
  margin-bottom: 0;
}

.service {
  margin-top: 0;
	 padding-top: 1px; /* ←これが効く */
}

.about img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}


/* 害虫駆除*/
.visually-hidden {
  position: absolute;
  left: -9999px;
}

.img-title img {
  width: 100%;
  height: auto;
  display: block;
}

/* タイトル下テキスト */
.sub-text {
  text-align: center;
  color: #606060;
  font-family: "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴシック", sans-serif;
  font-weight: 600; /* W6相当 */
  font-size: 14px;
  margin-top: 0;
}

/* スペース */
.space {
  height: 30px;
}

/* 施工過程 */
.process-title {
  text-align: center;
  margin-bottom: 20px;
}

.process-title p {
  color: #71bfc3;
  font-weight: bold;
  margin-bottom: 8px;
}

/* 縦線 */
.process-title .line {
  display: block;
  width: 2px;
  height: 40px;
  margin: 0 auto;
  position: relative;
  background: #71bfc3;
  overflow: hidden;
}

/* やわらかい光 */
.process-title .line::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -200%;
  width: 400%;
  height: 200%;

  background: linear-gradient(
    120deg,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,0.4) 30%,
    rgba(255,255,255,0.7) 50%,
    rgba(255,255,255,0.4) 70%,
    rgba(255,255,255,0) 100%
  );

  transform: rotate(15deg);
  animation: pastelShine 2.8s ease-in-out infinite;
}

@keyframes pastelShine {
  0% {
    left: -200%;
  }
  100% {
    left: 200%;
  }
}

.process-title {
  margin-bottom: 20px;
}

/* 画像 */
.main-img {
  width: 90%;
  height: auto;
  display: block;
  margin: 20px auto 0;
}

/* ======================
全体
====================== */
.process {
  position: relative;
  padding: 60px 20px;
  color: #333;
}

/* ======================
タイムライン
====================== */
.timeline {
 width:　	0%;
  margin: 30px auto 0;
  position: relative;
  padding-left: 0; /* ←必ず0（ここがズレの元） */
}

/* 縦線 */
.timeline::before {
  content: "";
  position: absolute;
  left: 40px; /* 基準位置（ドットと一致させる） */
  top: 12px;
  width: 2px;
  height: 100%;
  background: #333;
}



/* ======================
各ステップ
====================== */
.step {
  position: relative;
  margin-bottom: 40px;
  padding-left: 60px; /* ←テキストの開始位置 */
}

/* 正方形（線の上に重ねる） */
.dot {
  position: absolute;
  left: 40px;                 /* ←線と同じ位置 */
  transform: translateX(-50%);/* ←中心合わせ */
  top: 6px;
  width: 12px;
  height: 12px;
  background: #71bfc3;
  z-index: 2;                 /* ←線より上 */
}

/* テキスト */
.text {	
  font-weight: 700; /* ← boldやめて統一 */	
  font-size: 14px;
  line-height: 1.8;
  text-align: left;
  margin: 0;
}

/* ======================
詳細ブロック
====================== */
.detail {
  margin: 40px 0;
  padding-left: 60px;	
}

.label {
 font-weight: 700; /* ← boldやめて統一 */
  font-size: 11px;
  color: #000;
  margin: 0 0 6px;
}

.title {
  position: relative;
  font-weight: 700;
  display: inline-block;
}

.title::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;         /* ←下半分に配置 */
  width: 100%;
  height: 50%;       /* ←ここが「半分」 */
  background: #f2ef9c;
  z-index: -1;
}

.desc {
font-weight: 700; /* ← boldやめて統一 */
 font-size: 0.6em;
  line-height: 1.6;
  margin: 0;
}

/* ブラックメンター */

.detail-wrap {
  display: flex;
  align-items: center; /* 縦中央揃え */
  gap: 40px;
}

.detail {
 width: 65%; /* テキスト側 */
}

.detail-img {
  width: 50%;
}

.detail-img img {
  width: 100%;
  height: auto;
  display: block;
}

/* アニメーション */

.timeline::before {
  content: "";
  position: absolute;
  left: 40px;
  top: 12px;
  bottom: 0;
  width: 2px;
  background: #333;

  transform: scaleY(0);              /* ←最初は縮んでる */
  transform-origin: top;             /* ←上から伸びる */
  transition: transform 2s cubic-bezier(0.65, 0, 0.35, 1); /* ←ゆっくり */
}


/* 発火後 */
.timeline.active::before {
  transform: scaleY(1);
}

/* 順番に出す */
.step.active {
  opacity: 1;
  transform: scale(1);
}

/* ======================
背景画像
====================== */
.service {
  background-image: url("image/bg1.jpg"); /* パスは環境に合わせて */
  background-size: cover;       /* 画面いっぱいに */
  background-position: center;  /* 中央配置 */
  background-repeat: no-repeat; /* 繰り返しなし */
  min-height: 100vh;	
  padding-bottom: 100px;	
}


/* ======================
全体フォント
====================== */
.process {
  font-weight: 700;
}

/* 念のため統一 */
.label,
.title,
.desc {
  font-size: 12px;
  line-height: 1.6;
}


/* ======================
画像
====================== */
.main-img {
  width: 70%;
  height: auto;
  display: block;
  margin: 20px auto 0;
}

.process-img {
  width: 90%;
  display: block;
  margin: 40px auto 0;
}

.main2-img {
  width: 70%;
  height: auto;
  display: block;
  margin: 20px auto 40px;
}


/* ======================
施工過程タイトル（上部）
====================== */
.process-title {
  text-align: center;
  margin-bottom: 20px;
}

.process-title .line {
  display: block;
  width: 2px;
  height: 40px;
  margin: 10px auto 0;
  background: #71bfc3;
  position: relative;
  overflow: hidden;
}


/* ======================
cleaning
====================== */

.cleaning {
  background: #fffdc5;
  padding: 60px 20px;
}
.before-after {
  display: flex;
  gap: 10px;
}
.before-after img {
  width: 50%;
}

.img-subtitle img {
  width: 55%;
  height: auto;
  display: block;
  margin: 0 auto;
}

.ex img {
  width: 70%;
  height: auto;
  display: block;
  margin: 0 auto; /* 中央配置 */
}

.clean-anim {
  opacity: 0;
  transform: translateY(30px) scale(0.95);
  transition: all 1.2s cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
  overflow: hidden;
}

.clean-anim.show {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.clean-anim::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -150%;
  width: 300%;
  height: 200%;

  background: linear-gradient(
    120deg,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,0.6) 50%,
    rgba(255,255,255,0) 100%
  );

  transform: rotate(15deg);
}

.clean-anim.show::after {
  animation: cleanShine 1.6s ease forwards;
  animation-delay: 0.3s;
}

@keyframes cleanShine {
  0% { left: -150%; }
  100% { left: 150%; }
}

.clean-anim::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -150%;
  width: 300%;
  height: 200%;

  background: linear-gradient(
    120deg,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,0.6) 50%,
    rgba(255,255,255,0) 100%
  );

  transform: rotate(15deg);
}

.clean-anim.show::after {
  animation: cleanShine 1.6s ease forwards;
  animation-delay: 0.3s;
}

@keyframes cleanShine {
  0% { left: -150%; }
  100% { left: 150%; }
}

.clean-effect {
  position: relative;
  width: 90%;
  margin: 0 auto;
}





/* ======================
mouse
====================== */

.mouse .timeline::before {
  content: "";
  position: absolute;
  left: 40px;   /* ←ドットと同じ位置 */
  top: 12px;    /* ←1個目のドットの下からスタート */
  bottom: 0;    /* ←最後まで伸びる */
  width: 2px;
  background: #333;

  transform: scaleY(0);
  transform-origin: top;
  transition: transform 2s cubic-bezier(0.65, 0, 0.35, 1);
}

/* 発火 */
.mouse .timeline.active::before {
  transform: scaleY(1);
}

/* ======================
area
====================== */
.area {
  text-align: center;
background-image: url("image/bg2.jpg"); /* パスは環境に合わせて */
  background-size: cover;       /* 画面いっぱいに */
  background-position: center;  /* 中央配置 */
  background-repeat: no-repeat; /* 繰り返しなし */
}

.area h2 {
margin-top: 60px;	
  color: #606060;
  display: inline-block;
  border-bottom: 2px solid #606060;
  padding-bottom: 6px;
}

.area p {
	font-size: 80%;
  font-weight: 700;
}

.map-img {
  width: 70%;
  height: auto;
  display: block;
  margin: 20px auto 40px;
}

.fade-in-map {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 1.2s ease, transform 1.2s ease;
}

.fade-in-map.show {
  opacity: 1;
  transform: scale(1);
}

/* ======================
contact
====================== */
.contact {
  text-align: center;
background-image: url("image/bg2.jpg"); /* パスは環境に合わせて */
  background-size: cover;       /* 画面いっぱいに */
  background-position: center;  /* 中央配置 */
  background-repeat: no-repeat; /* 繰り返しなし */
}

.contact h2 {
margin-top: 60px;	
	margin-bottom: 40px;
  color: #606060;
  display: inline-block;
  border-bottom: 2px solid #606060;
  padding-bottom: 6px;
}

.contact-box {
  display: flex;
  align-items: center; /* 縦中央 */
  gap: 20px;           /* ロゴとテキストの間 */
}

.flogo-img {
  width: 25%;
  height: auto;
		margin-bottom: 40px;
}

.contact-box {
  display: flex;
  align-items: center;
	justify-content: center; /* ←これ追加（中央配置の本体） */
  gap: 16px;
}

.contact p {
  margin: 0;
  line-height: 1.6;
  font-size: 80%;
margin-bottom: 40px;
	  text-align: left;
}

/* ======================
footer
====================== */
.footer {
  background: #53b5b8;
  text-align: center;
  padding: 16px 0;
}

.footer p {
  margin: 0;
  color: #000;           /* ←黒に変更 */
  font-size: 12px;
  letter-spacing: 0.1em; /* ←文字間広め */
}


/* FV専用キラ */
.fv::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2; /* カバーとロゴの間 */

  background: linear-gradient(
    120deg,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,0.4) 45%,
    rgba(255,255,255,0.8) 50%,
    rgba(255,255,255,0.4) 55%,
    rgba(255,255,255,0) 100%
  );

  transform: translateX(-100%) rotate(15deg);
  pointer-events: none;

  animation: fvShine 1.4s ease 0.8s forwards;
}

@keyframes fvShine {
  to {
    transform: translateX(100%) rotate(15deg);
  }
}


/* ======================
   スライダー
====================== */

.slider{
position:relative;
max-width:420px;
margin:auto;
overflow:hidden;
}

.slides{
display:flex;
width:100%;
transition:transform .8s cubic-bezier(.25,.8,.25,1);
}

.slides img{
width:100%;
flex:0 0 100%;
cursor:pointer;
transform:scale(.94);
transition:transform .6s ease;
}

.slides img.active{
transform:scale(1);
}


/* ======================
   矢印
====================== */

.arrow{
position:absolute;
top:50%;
transform:translateY(-50%);
background:rgba(255,255,255,0.6);
width:42px;
height:42px;
border-radius:50%;
display:flex;
align-items:center;
justify-content:center;
border:none;
font-size:24px;
color:#666;
cursor:pointer;
z-index:10;
}

.prev{left:10px;}
.next{right:10px;}

.arrow:hover{
background:white;
}



/* ======================
   ギャラリー
====================== */

.gallery-section{
text-align:center;
padding:20px 20px;
position:relative;
z-index:5;
}

.slides{
display:flex;
width:100%;
transition:transform .8s cubic-bezier(.25,.8,.25,1);

touch-action:pan-y;
}

.gallery-title {
  font-size: 14px; /* ←好きなサイズに調整可 */
  color: #333;
}

/* ======================
PC背景
====================== */
.pc-bg {
  position: fixed;
  inset: 0;
  background: url("image/pcbg.jpg") center / cover no-repeat;
  z-index: 0;
}

/* ======================
スマホフレーム
====================== */
.sp-frame {
  position: relative;
  z-index: 1;

  max-width: 430px; /* ←スマホ幅 */
  margin: 0 auto;

  background: #fff;
  min-height: 100vh;

  box-shadow: 0 0 40px rgba(0,0,0,0.15); /* ←影 */
}

@media screen and (min-width: 769px) {

  .contact-fixed {
    width: 40%;
    max-width: 480px;

    right: 0;
    left: auto;
    transform: none;
  }
	
	

}
