/* ヘッダー全体 */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 30px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  z-index: 1000;
}

body {
  padding-top: 140px;
}

/* ロゴ部分 */
.logo img {
  height: 100px;
  width: auto;
}

/* メニュー部分 */
.nav ul {
  list-style: none;
  display: flex;
  margin: 0;
  padding-right: 40px;
}

.nav li {
  margin-left: 30px;
}

.nav a {
  text-decoration: none;
  color: #333;
  font-size: 16px;
}

.nav a:hover {
  color: #0078ff;
}

/* ▼ サブメニューの基本設定 ▼ */
.nav .has-sub {
  position: relative;
}

.nav .sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  border: 1px solid #ccc;
  list-style: none;
  padding: 0;
  margin: 0;
  min-width: 160px;
  z-index: 1000;
}

.nav .sub-menu li a {
  display: block;
  padding: 10px 15px;
  color: #333;
  text-decoration: none;
  font-size: 14px;
}

.nav .sub-menu li a:hover {
  background: #0078ff;
  color: #fff;
}

/* ▼ ホバー時にサブメニューを表示 ▼ */
.nav .has-sub:hover > .sub-menu {
  display: block;
}


/* 1スクロール目背景（スライドショー） */
.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

/* スライドショーの土台 */
.slideshow {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  overflow: hidden;
  z-index: 1;
}


/* 各スライド */
.slide {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  animation: fade 16s infinite;
}



/* 画像 */
.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
object-position: center center;
}

/* アニメーション */
.slide:nth-child(1) { animation-delay: 2s; }
.slide:nth-child(2) { animation-delay: 6s; }
.slide:nth-child(3) { animation-delay: 10s; }
.slide:nth-child(4) { animation-delay: 14s; }
@keyframes fade {
  0% { opacity: 0; }
  5% { opacity: 1; }
  30% { opacity: 1; }
  35% { opacity: 0; }
  100% { opacity: 0; }
}

/* キャッチコピー（重複定義を統合済み） */
.catchcopy {
  position: absolute;
  top: 120px;
  left: 40px;
  color: #FFFFFF;
  font-size: 70px;
  font-weight: bold;
  line-height: 1.6;
  text-shadow: 0 0 6px rgba(0,0,0,0.6);
  z-index: 2; /* ← これでスライドショーの上に表示 */
}


/* 強みセクション(冒頭あいさつ) */

.greeting-title {
  font-size: 3.5em;
  font-weight: bold;
  text-align: center; /* ← 中央揃え */
  margin-bottom: 10px;
  color: #12813C; /* ブランドカラー */
  letter-spacing: 0.05em;
}

.greeting-section {
  max-width: 1100px;
  margin: 20px auto;
  padding: 10px 20px;
}

.greeting-inner {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

/* 左側の文章 */
.greeting-text {
  flex: 1;
  min-width: 300px;
}

.greeting-text p {
  font-size: 1.3em;
  line-height: 1.9;
  letter-spacing: 0.03em;
  color: #333;
}

/* 右側の写真 */
.greeting-photo {
  flex: 1;
  min-width: 280px;
  text-align: center;
}

.greeting-photo img {
  width: 100%;
  max-width: 380px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* スマホ対応 */
@media (max-width: 768px) {
  .greeting-inner {
    flex-direction: column;
    text-align: center;
  }

  .greeting-text p {
    font-size: 1.2em;
  }
}


/* 強みセクション全体 */
.strengths {
  background-color: #ffffff;
  color: #333;
  padding: 60px 20px;
  text-align: center;
  font-family: "Noto Sans JP", sans-serif;
}

/* タイトル部分 */
.strengths-title {
  font-size: 3.5em; /* ← タイトルのフォントサイズを調整（例：2.4em） */
  color: #12813C;   /* ← タイトルのフォントカラーを変更 */
  margin-bottom: 5px;
  font-weight: 700;
}

/* サブタイトル部分 */
.strengths-subtitle {
  font-size: 2em; /* ← サブタイトルのフォントサイズを調整（例：1.1em） */
  color: #12813C;   /* ← サブタイトルのフォントカラーを変更 */
  margin-bottom: 40px;
}

/* コンテナ（強み項目全体） */
.strengths-container {
  display: flex;
  flex-direction: column;
  gap: 30px;
  max-width: 900px;
  margin: 0 auto;
}

/* 各項目 */
.strength-item {
  display: flex;
  align-items: flex-start;
  gap: 0px;
  text-align: left;
}


/* 強みタイトル（小見出し） */
.strength-item h3 {
  font-size: 2em; /* ← 各項目タイトルのフォントサイズを調整 */
  color: #12813C;   /* ← 小見出しのフォントカラーを統一 */
  margin-bottom: 8px;
}

/* 強み本文（説明文） */
.strength-item p {
  font-size: 1.1em;   /* ← 本文のフォントサイズを調整（例：1em） */
  line-height: 1.7;
}
/* 2セクション目背景色 */


/* 暖簾画像調整*/

.noren-wrapper {
  margin-bottom: 5px; /* ← 10px → 5px にすると販売とほぼ一致 */
}

.noren-image {
  width: 100%;
  max-width: 850px;
  height: auto;
  display: block;
  margin: 0 auto;
}


.green-section {
  background-color: #12813C;
  color: #FFFFFF;
  padding: 40px 0;
  text-align: center;
}


/* 回転ずしスライダー */
.belt-container {
  width: 100%;
  overflow: hidden;
  display: flex;
  gap: 40px;
  margin-top: 5px;      /* ← これだけにする */
  margin-bottom: 40px;  /* 下だけ余白を残す */
}

.belt-wrapper {
  display: flex;
  animation: belt-flow 20s linear infinite;
}

.belt-item {
  width: 250px;
  height: 180px;
  object-fit: cover;
  border: 1px solid #ddd;
  margin-right: 20px;
}

/* 横に流れるアニメーション */
@keyframes belt-flow {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}



/* レンタルの流れデザイン開始 */
.flow_design10 {
  display: flex;
  justify-content: center;
  align-items: center;
}

.flow10 {
  padding-left: 0;
}

.flow10 > li {
  list-style-type: none;
  border: 5px solid #FFFFFF;
  padding: 20px;
  border-radius: 20px;
  max-width: 850px;
  width: 100%;
  margin: 0 auto;
}

.flow10 > li:not(:last-child) {
  margin-bottom: 40px;
  position: relative;
}

.flow10 > li:not(:last-child)::after {
  content: '';
  position: absolute;
  border: 30px solid transparent;
  width: 0;
  height: 0;
  bottom: -70px;
  left: 50%;
  transform: translateX(-50%);
  border-top-color: #FFFFFF;
}

.flow10 > li dl dt {
  font-size: 1.3em;
  font-weight: bold;
  border-bottom: 2pt dashed #ccc;
  padding-bottom: 0.5em;
  margin-bottom: 0.5em;
}

.flow10 > li .icon10 {
  color: #FFFFFF;
  margin-right: 0.5em;
}

.flow10 > li dl dd {
  margin: 0;
}

/* 内側の文章コンテナ */
.green-section-inner {
  max-width: 850px;
  margin: 0 auto;
  padding: 0 40px;
  font-size: 40px;
  text-align: left;
}

/* レンタルの流れデザイン終了 */


/* アンカーリンク戻る用 */
#items {
  scroll-margin-top: 120px;
}

#home {
  scroll-margin-top: 120px;
}


/* レンタル品目 */
.section-title {
  text-align: center;
  color: #12813C;
  font-size: 40px;
  font-weight: bold;
  margin: 60px 0 40px;
}

.items-list-section {
  padding: 0 20px 60px;  /* ← 上を0にする */
  overflow: hidden;      /* ← margin相殺防止でそのまま残す */
}



.item-row {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-bottom: 40px;
}

.item-row img {
  width: 300px;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
}

.item-text h3 {
  font-size: 28px;
  color: #12813C;
  margin-bottom: 10px;
}

.item-text p {
  font-size: 25px;
  line-height: 1.6;
}

/* スマホ対応 */
@media (max-width: 768px) {
  .item-row {
    flex-direction: column;
    text-align: center;
  }

  .item-row img {
    width: 100%;
    height: auto;
  }
}


/* 販売品セクション */
.green-section--compact {
  padding: 20px 0;
}

.green-section--compact .green-section-inner {
  font-size: 32px;
}


/* アンカーリンクの設定時の余白調整 */
[id] {
  scroll-margin-top: 120px;
}


/* ▼ 住宅改修リスト（中央揃えカードデザイン） ▼ */
ul.sample1 {
  padding: 0;
  list-style: none;
  max-width: 850px;
  margin: 0 auto;
}

ul.sample1 li {
  position: relative;
  padding: 18px 20px;
  margin-bottom: 15px;
  background: #ffffff;
  border-left: solid 20px #E7CC9D;
  border-radius: 10px;
  color: #12813C;
  font-size: 28px;
  font-weight: bold;
  text-align: center;
}


/* プライバシーポリシー全体 */
.privacy-policy {
  max-width: 900px;
  margin: 80px auto;
  padding: 0 20px;
  font-family: "Noto Sans JP", sans-serif;
  line-height: 1.9;
  letter-spacing: 0.03em;
  color: #333;
}

/* タイトル */
.privacy-title {
  font-size: 2.4em;
  font-weight: 600;
  color: #12813C;
  text-align: center;
  margin-bottom: 40px;
}

/* 導入文 */
.privacy-intro {
  font-size: 1.2em;
  margin-bottom: 40px;
}

/* 各条文ブロック */
.privacy-block {
  margin-bottom: 40px;
}

/* 条文タイトル */
.privacy-block h3 {
  font-size: 1.5em;
  font-weight: 600;
  color: #12813C;
  margin-bottom: 10px;
}

/* 条文本文 */
.privacy-block p {
  font-size: 1.1em;
}

/* 箇条書き */
.privacy-block ul {
  margin-top: 10px;
  padding-left: 20px;
}

.privacy-block ul li {
  margin-bottom: 6px;
  font-size: 1.05em;
}


/* ▼ 住宅改修スライドショー（画像全体を見せる） */
/* ▼ 舞台背景全体 */
.renovation-slider {
  position: relative;
  width: 80%;
  max-width: 900px;
  height: 500px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  border-radius: 12px;
  background-color: rgba(255, 255, 255, 0.05); /* ← 幕の反射を少し透かす */
}

/* ▼ スライドショーの土台 */
.renovation-slideshow {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

/* ▼ 各スライド（重なり防止のため 24s に変更） */
/* ▼ 舞台背景全体 */
.renovation-stage {
  position: relative;
  height: 700px;
  background: url("Images/Stagebackground.png") center center / cover no-repeat; /* ← 生成した背景画像を指定 */
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

/* ▼ スライドショー全体 */
.renovation-slider {
  position: relative;
  width: 80%;
  max-width: 900px;
  height: 500px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  border-radius: 12px;
  background-color: rgba(255, 255, 255, 0.05); /* ← 幕の反射を少し透かす */
}

/* ▼ スライドショーの土台 */
.renovation-slideshow {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}


/* ▼ 各スライド */
.renovation-slide {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  animation: renovationFade 24s infinite; /* ← 24秒に変更 */
}

/* ▼ 画像設定（中央配置＋全体表示） */
.renovation-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  background-color: transparent;
}

/* ▼ アニメーション設定 */
.renovation-slide:nth-child(1) { animation-delay: 0s; }
.renovation-slide:nth-child(2) { animation-delay: 4s; }
.renovation-slide:nth-child(3) { animation-delay: 8s; }
.renovation-slide:nth-child(4) { animation-delay: 12s; }
.renovation-slide:nth-child(5) { animation-delay: 16s; }
.renovation-slide:nth-child(6) { animation-delay: 20s; }

/* ▼ フェードアニメーション */
@keyframes renovationFade {
  0% { opacity: 0; }
  5% { opacity: 1; }
  20% { opacity: 1; }
  25% { opacity: 0; }
  100% { opacity: 0; }
}

/* 問い合わせフォーム */
.form-wrapper {
  display: flex;
  justify-content: center; /* ← 横方向の中央寄せ */
  margin: 40px 0;          /* ← 上下の余白（お好みで調整） */
}


/* アクセスセクション*/
.company-access-section {
  background-color: #12813C; /* オリーブ背景 */
  color: #fff;
  padding: 60px 0;
}

.company-access-section .container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

.company-box,
.access-box {
  flex: 1;
  min-width: 300px;
}

.company-box h2,
.access-box h2 {
  font-size: 28px;
  margin-bottom: 20px;
  border-bottom: 2px solid #fff;
  padding-bottom: 10px;
}

.info-item {
  margin-bottom: 20px;
}

.info-item h3 {
  font-size: 18px;
  margin-bottom: 5px;
  font-weight: bold;
}

.info-item p,
.info-item li {
  font-size: 16px;
  line-height: 1.6;
}

.info-item ul {
  padding-left: 20px;
}

.map-box {
  margin-top: 20px;
}

.map-box iframe {
  width: 100%;
  height: 250px;
  border: none;
  border-radius: 8px;
}

/*▼居宅の紹介▼*/
.care-section {
  max-width: 900px;
  margin: 60px auto;
  padding: 0 20px;
  font-family: "Noto Sans JP", sans-serif;
}

.care-inner p {
  font-size: 28px;
  line-height: 1.8;
  margin-bottom: 20px;
  color: #333;
}

.care-list {
  list-style: none;
  padding: 0;
  margin: 30px 0;
}

.care-list li {
  background: #ffffff;
  border-left: solid 20px #12813C;
  padding: 18px 20px;
  margin-bottom: 15px;
  border-radius: 10px;
  font-size: 28px;
  font-weight: bold;
  color: #12813C;
}

.care-flow-title {
  font-size: 32px;
  color: #12813C;
  margin: 40px 0 20px;
  text-align: center;
}


.care-info {
  background-color: #12813C;
 font-size: 28px;
  color: #fff;
  padding: 15px;
  border-radius: 15px;
  display: block;     /* ← これで横幅いっぱいに広がる */
  text-align: center;  /* ← 中央揃え */
  line-height: 1.9;   /* ← 行間を広げる */
}



.care-btn {
  display: inline-block;
  background: #12813C;
  color: #fff;
  padding: 12px 30px;
  border-radius: 8px;
  font-size: 28px;
  text-decoration: none;
}

/* ▼ 居宅介護支援専用 flow10-care（黒丸を消す＋行間調整） ▼ */
.flow10-care {
  padding-left: 0;
  list-style: none; /* ← 黒丸を消す */
}

.flow10-care > li {
  list-style-type: none; /* ← 念のため */
  border: 5px solid #FFFFFF;
  padding: 25px;
  border-radius: 20px;
  max-width: 850px;
  width: 100%;
  margin: 0 auto 50px; /* ← 下の余白を広げて行間を確保 */
}

.flow10-care > li dl dt {
  font-size: 1.7em; /* ← タイトル大きめ */
  font-weight: bold;
  border-bottom: 2pt dashed #ccc;
  padding-bottom: 0.5em;
  margin-bottom: 0.7em;
  color: #12813C;
}

.flow10-care > li dl dd {
  font-size: 1.5em; /* ← 説明文を大きく */
  line-height: 1.9; /* ← 行間を広げる */
  margin: 0;
}




/* ▼ PCではハンバーガーを非表示にする ▼ */
.hamburger {
  display: none;
}


/* ▼スマホ版CSS開始 */
@media (max-width: 768px) {
  body {
    padding-top: 100px;
  }

  /* ▼ 1枚目のスライド位置調整（黒背景防止） */
  .slide:nth-child(1) img {
    object-fit: cover;
    object-position: top center !important;
  }

  /* ▼ タイトル調整 */
  .green-section-inner {
    font-size: 26px !important;
    line-height: 1.6;
    padding: 0 20px;
  }

  /* ▼ 工事の流れ（flow10）をスマホ幅にフィット */
  .flow10 > li {
    max-width: 100% !important;
    width: 100% !important;
    padding: 15px !important;
    box-sizing: border-box;
    border-width: 3px;
  }

  .flow10 > li dl dt {
    font-size: 1.2em;
  }

  .flow10 > li dl dd {
    font-size: 1em;
    line-height: 1.7;
  }

  .flow10 > li:not(:last-child)::after {
    left: 50%;
    transform: translateX(-50%);
  }

  /* ▼ ヘッダー調整 */
  .header {
    flex-direction: row;
    justify-content: space-between;
    padding: 8px 15px;
  }

 .logo img {
    width: 110px;
height: auto;
  }

  /* ▼ ハンバーガー表示 */
  .hamburger {
    display: block;
    font-size: 32px;
    cursor: pointer;
    margin-top: 0px;
  }

  /* ▼ メニュー非表示（ハンバーガーで開く） */
  .nav ul {
    display: none;
    flex-direction: column;
    gap: 20px;
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    width: 100%;
    text-align: center;
  }

  .nav.active ul {
    display: flex;
  }

  /* ▼ サブメニュー（スマホでは hover 無効） */
  .nav .sub-menu {
    display: none;
    position: static;
    background: transparent;
    border: none;
  }

  .nav .has-sub:hover > .sub-menu {
    display: none;
  }

  /* ▼ トップ画像の高さ調整 */
  .hero {
    height: 60vh !important;
  }

  .catchcopy {
    font-size: 28px;
    top: 40px;
    left: 15px;
line-height: 1.4;
  }

  /* ▼ 住宅改修スライドショーが消える問題を修正 */
  .renovation-stage,
  .renovation-slider {
    height: auto !important;
    min-height: 200px;
  }

  .renovation-slide img {
    height: auto !important;
    object-fit: contain !important;
  }

  /* ▼ 回転寿司スライダーの高さ調整 */
  .belt-item {
    height: auto !important;
  }

 .loading-logo {
    width: 200px;
  }
  .loading-text {
    font-size: 20px;
  }

  /* ▼ 居宅のスマホ調整 */
.flow10-care > li {
    padding: 18px;
    margin-bottom: 40px;
  }
.flow10-care > li dl dt {
    font-size: 1.4em;
  }

  .flow10-care > li dl dd {
    font-size: 1.1em;
    line-height: 1.8;
  }

.care-info {
    font-size: 18px;      /* ← スマホでは少し小さめに */
    line-height: 1.8;     /* ← 行間を広げて読みやすく */
    padding: 16px;        /* ← 内側の余白を調整 */
    border-radius: 8px;   /* ← 角丸を少し控えめに */
    text-align: center;   /* ← 中央揃えを維持 */
  }

  p,
  li,
  .item-text p,
  .care-inner p,
  .strength-item p {
    font-size: 16px !important;
    line-height: 1.9 !important;
    letter-spacing: 0.03em;
  }

  .greeting-section,
  .strengths,
  .care-section,
  .items-list-section,
  .company-access-section .container,
  .privacy-policy {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }

  h2,
  h3,
  .section-title,
  .greeting-title,
  .strengths-title,
  .care-flow-title {
    font-size: 22px !important;
    line-height: 1.4 !important;
    margin-bottom: 15px !important;
  }

  ul.sample1 li,
  .care-list li {
    font-size: 18px !important;
    line-height: 1.8 !important;
    padding: 16px 18px !important;
  }

  .flow10-care > li dl dt {
    font-size: 20px !important;
  }

  .flow10-care > li dl dd {
    font-size: 16px !important;
    line-height: 1.8 !important;
  }

  .care-info {
    font-size: 18px !important;
    line-height: 1.8 !important;
    padding: 16px !important;
  }

}

/* ▲スマホ版CSS終了 */

/* ▼ ローディング画面全体 */
#loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #ffffff; /* 白背景 */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 1;
  transition: opacity 0.8s ease;
}

/* ▼ ロゴとテキストの配置 */
.loading-content {
  text-align: center;
}

/* ▼ ロゴ画像 */
.loading-logo {
  width: 600px;
  max-width: 70%;
  height: auto;
  margin-bottom: 20px;
}

/* ▼ ローディングテキスト */
.loading-text {
  font-size: 24px;
  color: #12813C;
  font-weight: bold;
}

/* ▼ ロゴのフェード＋スケール */
.loading-logo {
  opacity: 0;
  transform: scale(0.95);
  animation: logoFade 1.2s ease-out forwards;
}

@keyframes logoFade {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* ▼ 横スクロールテキスト（エヴァ風） */
.eva-h-scroll {
  position: absolute;
  bottom: 20%;
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
  font-size: 18px;
  color: #12813C;
  opacity: 0.8;
  animation: hScroll 12s linear infinite;
}

@keyframes hScroll {
  0% { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}

/* ▼ 縦スクロールログ（上のスクロール追加） */

.eva-h-scroll-top {
  position: absolute;
  top: 15%;              /* ← 位置は後で微調整可能 */
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
  font-size: 40px;
  color: #12813C;
  opacity: 0.9;
  animation: hScrollRight 7s linear infinite;
animation-delay: 0s;   /* ← これが重要！ */
}

@keyframes hScrollRight {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}



/* ▼ 縦スクロールログ（背景演出） */
.eva-v-log {
  position: absolute;
  top: 65%;
  left: 50%;
  transform: translateX(-50%);
  height: 80px;
  overflow: hidden;
  width: 260px;
  opacity: 0.5;
  font-size: 14px;
  color: #12813C;
}

.eva-v-log .log-line {
  animation: vScroll 6s linear infinite;
}

@keyframes vScroll {
  0% { transform: translateY(100%); }
  100% { transform: translateY(-300%); }
}

/* ▼ 緑ラインアニメーション */
.eva-line {
  position: absolute;
  top: 50%;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #12813C, transparent);
  animation: lineMove 2s linear infinite;
}

@keyframes lineMove {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* ▼ 白フラッシュ */
#flash {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: white;
  opacity: 0;
  pointer-events: none;
}

#loading-screen.hidden {
  display: none;
  height: 0;
  pointer-events: none;
}

/* 強化白フラッシュ */
.flash-strong {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: white;
  opacity: 0;
  z-index: 99998;
  pointer-events: none;
}

/* プチュン本体 */
.ptun-effect {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: white;
  opacity: 0;
  z-index: 99999;
  transform-origin: center center;
  pointer-events: none;
}

/* 強化フラッシュアニメーション */
@keyframes flashStrong {
  0%   { opacity: 0; }
  20%  { opacity: 1; }
  50%  { opacity: 0.6; }
  70%  { opacity: 1; }
  100% { opacity: 0; }
}

/* プチュンアニメーション（線を細くした版） */
@keyframes ptun {
  0%   { transform: scale(1, 1); opacity: 1; }
  70%  { transform: scale(1, 0.02); opacity: 1; } /* ← 白が長く残る */
  85%  { transform: scale(0.02, 0.02); opacity: 1; }
  100% { transform: scale(0, 0); opacity: 0; }     /* ← 最後に一気に消える */
}
/* プチュン用の黒背景 */
.ptun-black {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: black;
  opacity: 0;
  z-index: 99997;
  pointer-events: none;
  transition: opacity 0.1s;
}


