@charset "UTF-8";
/* ==========================================================================
   1. 変数設定 & ベースリセット
   ========================================================================== */
:root {
  /* 使用回数3回以上の変数のみ残しています */
  --pig-blue-light: #2c8bf0;
  --pig-blue-dark: #1a56b0;
  --pig-title-green: #0e4a42;
  --red: #ff5a5a;
  --amp-blue: #1fa2dd;
  --bgray: #595975;
  --cyan: #15b8c2;
  --pink: #e778a9;
  --green: #80c746;
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  color: #222222;
  background-image: url("images/sq.webp");
  background-repeat: repeat;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
::selection {
  background-color: #fff;
  color: #1e3a8a;
}
/* 共通パーツ・ヘルパークラス */
.innerbox {
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}
.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}
.gap-3 {
  gap: 0.75rem;
}
.bb_wh {
  border-bottom: 2px solid #fff;
}
.bb_pbl {
  border-bottom: 2px solid var(--pig-blue-light);
}
.fc_pbl {
  color: var(--pig-blue-light);
}
.fc-amp {
  color: var(--amp-blue);
}
/* 表示切り替えユーティリティ */
.hidden {
  display: none;
}
.sp-hidden {
  display: inline;
}
@media (max-width: 680px) {
  .sp-hidden {
    display: none;
  }
}
.pc-inline {
  display: inline;
}
.pc-hidden {
  display: none;
}
@media (max-width: 780px) {
  .pc-inline {
    display: none;
  }
  .pc-hidden {
    display: inline;
  }
  .main-title img.pc-inline {
    display: none;
  }
  .main-title img.pc-hidden {
    display: inline;
  }
}
.tb-inline {
  display: inline;
}
@media (max-width: 980px) {
  .tb-inline {
    display: none;
  }
}

/* ==========================================================================
   2. アニメーション定義
   ========================================================================== */
@keyframes float1 {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}
@keyframes float2 {
  0%, 100% { transform: translateY(-6px); }
  50% { transform: translateY(4px); }
}
@keyframes float3 {
  0%, 100% { transform: translateY(4px); }
  50% { transform: translateY(-8px); }
}
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-12px); }
}
@keyframes dropDrip {
  0% { transform: translateY(0) scale(1, 1); opacity: 0; }
  15% { opacity: 1; transform: translateY(40px) scale(0.85, 1.25); }
  75% { opacity: 1; transform: translateY(250px) scale(0.95, 1.1); }
  90% { opacity: 0.9; transform: translateY(300px) scale(1.5, 0.4); }
  100% { opacity: 0; transform: translateY(310px) scale(2, 0.1); }
}
@keyframes dropDripSp {
  0% { transform: translateY(0) scale(1, 1); opacity: 0; }
  15% { opacity: 1; transform: translateY(10px) scale(0.85, 1.25); }
  75% { opacity: 1; transform: translateY(25px) scale(0.95, 1.1); }
  90% { opacity: 0.9; transform: translateY(135px) scale(1.5, 0.4); }
  100% { opacity: 0; transform: translateY(140px) scale(2, 0.1); }
}
@media (max-width: 780px) {
  .drip-1, .drip-2, .drip-3 {
    animation-name: dropDripSp !important;
  }
}
.scroll-fade-in {
  animation: fadeIn linear forwards;
  animation-timeline: view();
  animation-range: entry 15% cover 30%;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   3. ヘッダー & ナビゲーション
   ========================================================================== */
#top-head {
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}
.header-container {
  height: 3.8rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.toplogo a {
  font-weight: 900;
  font-size: 1.5rem;
  color: var(--pig-blue-dark);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.logo-img {
  height: 1.7rem;
  width: auto;
}
#global-nav {
  display: block;
}
@media (max-width: 1023.98px) {
  #global-nav {
    display: none;
  }
}
#global-nav ul {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  color: var(--pig-blue-light);
  font-size: 1rem;
}
#global-nav a {
  display: flex;
  font-weight: 700;
  align-items: center;
  gap: 0.1rem;
}
.nav-icon {
  width: 30px;
  height: 30px;
  object-fit: contain;
}
#global-nav a:hover {
  border-bottom: 4px solid var(--red);
}
#global-nav a.btn-download {
  background-color: var(--red);
  color: #ffffff;
  padding: 0.5rem 1.25rem 0.625rem;
  border-radius: 9999px;
  border-bottom: none;
  display: inline-block;
  font-weight: 700;
  transition: all 0.2s;
}
#global-nav a.btn-download:hover {
  background-color: var(--pig-blue-dark);
}
#spnavi {
  display: none;
  position: fixed;
  top: 0.35rem;
  right: 0.5rem;
  z-index: 200; /* ヘッダーより上に表示されるようz-indexを強化 */
}

@media (max-width: 1023.98px) {
  #spnavi {
    display: block !important; /* 他のCSSからの上書きを防止 */
  }
  #spnavi .menu {
    display: flex !important; /* ボタン自体を確実にフレックス表示 */
  }
}
.menu {
  position: relative;
  background-color: #fff;
  padding: 0;
  border-radius: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: 2px solid var(--pig-blue-light);
  outline: none;
  width: 48px;
  height: 48px;
  box-sizing: border-box;
}
.menu__line {
  position: absolute;
  left: calc(50% - 12px);
  width: 24px;
  height: 3px;
  background-color: var(--pig-blue-light);
  border-radius: 3px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.menu__line--top { top: 15px; }
.menu__line--center { top: 21px; }
.menu__line--bottom { top: 27px; }
.menu[aria-expanded="true"] .menu__line--top { top: 21px; transform: rotate(45deg); }
.menu[aria-expanded="true"] .menu__line--center { opacity: 0; }
.menu[aria-expanded="true"] .menu__line--bottom { top: 21px; transform: rotate(-45deg); }
.gnav {
  position: fixed;
  inset: 0;
  background-color: rgba(10, 145, 255, 0.75);
  backdrop-filter: blur(16px);
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: opacity 0.3s ease;
  opacity: 0;
  pointer-events: none;
  z-index: 90;
}
.gnav.is-open {
  opacity: 1;
  pointer-events: auto;
}
.gnav__inner {
  width: 100%;
  max-width: 20rem;
  text-align: center;
}
.gnav p { margin-bottom: 30px; }
.gnav ul {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  font-size: 1.25rem;
  font-weight: 900;
}
.gnav a { display: block; padding-top: 0.5rem; padding-bottom: 0.5rem; }
.gnav a:hover { color: var(--red); }
.gnav a.nav-btn-sp {
  background-color: var(--red);
  color: #fff;
  padding: 0.65rem 1.5rem 0.75rem;
  border-radius: 9999px;
  transition: 0.2s;
}
.gnav a.nav-btn-sp:hover { background-color: var(--pig-blue-dark); }

/* ==========================================================================
   3.5 メインビジュアル / 背景流れる画像・豚アニメーション
   ========================================================================== */
/* --- メインセクション --- */
.hero-section {
  position: relative;
  width: 100%;
  height: 85vh;
  overflow: hidden;
}

/* 背景: 最背面 (z-index: 1) */
.bg-wrapper {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.bg-flow {
  display: flex;
  flex-direction: column;
  padding-top: 30px;
}

.row {
  width: 100%;
  overflow: hidden;
  display: flex;
}

.marquee {
  display: flex;
  /* スピードを30%減（アニメーション時間を60sから約85.7sに引き伸ばし） */
  animation: scroll-left 85.7s linear infinite; 
}

.row.reverse .marquee {
  animation-direction: reverse;
}

@keyframes scroll-left {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.track {
  display: flex;
}

.item {
  /* サイズを1.2倍に変更 (81px * 1.2 = 97.2px) */
  width: 97.2px;
  height: 97.2px;
  flex-shrink: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform-origin: center center;
}

/* 動き（拡大率の振れ幅）を30%削減 */
@keyframes sharp-pulse {
  0% { transform: scale(0.72); }  /* 0.6 → 0.72 (振れ幅を70%に縮小) */
  85% { transform: scale(1.0); }
  100% { transform: scale(1.0); }
}

.item.active img {
  animation: sharp-pulse var(--p-duration) cubic-bezier(0.25, 0.5, 0.5, 0.5) var(--p-delay) infinite alternate;
}

/* レイアウト調整用マージン（上下2列に変更したため、2列目下部に帯の隙間を設定） */
/* 帯の高さ(160px) + 隙間(35px) - ズレ補正(10px) = 185px */
.row:nth-child(2) {
  margin-bottom: 185px; 
}

.row:nth-child(3) {
  margin-top: 35px;
}

/* --- ブタさん (z-index: 50) --- */
.mrpig-box {
  position: absolute;
  z-index: 50;
  left: 50%;
  /* 上2列分の高さ計算: 30px + (97.2px * 2) + 35px - 10px = 249.4px */
  top: 249.4px; 
  transform: translate(-50%, -70%);
  width: min(400px, 50vw);
  pointer-events: auto;
}
#interactive-pig {
  width: 100%;
  height: auto;
  overflow: visible !important;
  cursor: pointer;
}

/* SVG内部アニメーション用スタイル */
.st-white {
  fill: #fff;
}

.st-blue {
  fill: #1686bc;
}

.eye-group {
  transform-box: fill-box;
  transform-origin: center;
}

@keyframes blink {
  0%, 90%, 100% { transform: scaleY(1); }
  95% { transform: scaleY(0.1); }
}

.blinking {
  animation: blink 0.2s ease-in-out;
}

@keyframes nose-wiggle {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
}

#nose-group {
  animation: nose-wiggle 2s ease-in-out infinite;
}

@keyframes mouth-sway {
  0%, 100% { transform: rotate(0deg) scale(1); }
  50% { transform: rotate(2deg) scale(1.03); }
}

#mouth-group {
  transform-origin: center;
  transform-box: fill-box;
  animation: mouth-sway 2s ease-in-out infinite;
}

.left-ear-group {
  transform-origin: 100px 100px;
}

.right-ear-group {
  transform-origin: 250px 60px;
}

@keyframes ear-flap {
  0%, 100% { transform: rotate(0deg); }
  50% { transform: rotate(10deg); }
}

.animate-ear {
  animation: ear-flap 0.3s ease-out;
}

#interactive-pig:hover .left-ear-group,
#interactive-pig:hover .right-ear-group {
  animation: ear-flap 0.15s ease-in-out infinite;
}

/* --- 赤い帯 (z-index: 90) --- */
.red-band {
  position: absolute;
  z-index: 90;
  width: 100%;
  height: 180px;
  background: var(--red);
  border-top: 3px solid #fff;
  border-bottom: 3px solid #fff;
  /* 上2列分の高さ計算: 30px + (97.2px * 2) + 35px - 10px = 249.4px */
  top: 249.4px; 
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  box-sizing: border-box;
  pointer-events: none;
}
.main-title-img {
  pointer-events: auto;
  /* calc(160px * 0.55) = 88px */
  max-height: 100px; 
  max-width: 90%;
  height: auto;
  width: auto;
  object-fit: contain;
	margin-bottom: 10px;
}
.band-text {
  color: #ffffff;
  font-size: clamp(12px, 1.8vw, 18px);
  font-weight: bold;
  margin: 0;
  letter-spacing: 0.05em;
  text-align: center;
  pointer-events: auto;
  text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

/* ==========================================================================
   4. 波（Wave）フレーム位置・アニメーション
   ========================================================================== */
.wave-top, .wave-bottom {
  position: absolute;
  left: 0;
  width: 100%;
  height: 4rem;
  overflow: hidden;
  line-height: 0;
  z-index: 10;
  pointer-events: none;
}
.wave-top { top: 0; transform: translateY(-99%); }
.wave-bottom { bottom: 0; transform: translateY(99%); }
@media (max-width: 780px) {
  .wave-top, .wave-bottom { height: 3rem; }
}
.wave-track {
  display: flex;
  width: 200%;
  height: 100%;
}
.wave-track .wave-svg {
  width: 50%;
  height: 100%;
  flex-shrink: 0;
  display: block;
}
.slide-left { animation: waveFlowLeft 10s linear infinite; }
.slide-right { animation: waveFlowRight 12s linear infinite; }
@keyframes waveFlowLeft { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
@keyframes waveFlowRight { 0% { transform: translateX(-50%); } 100% { transform: translateX(0); } }
.wave-top .wave-svg path, .wave-bottom .wave-svg path { fill: var(--pig-blue-light); }

/* ==========================================================================
   5. メインビジュアル / バブルセクション
   ========================================================================== */
.img-contain {
  height: 100%;
  width: auto;
  object-fit: contain;
  user-select: none;
}
.bubbles-section {
  width: 100%;
  min-height: 560px;
  position: relative;
  margin-top: 0.5rem;
  user-select: none;
  overflow-x: visible;
}
@media (max-width: 780px) {
  .bubbles-section { overflow-x: auto; }
}
.top-container {
  width: 1000px;
  height: 560px;
  position: relative;
  margin: 0 auto;
}
.mascot-pig {
  position: absolute;
  left: 10px;
  bottom: 10px;
  width: 130px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  pointer-events: none;
  z-index: 10;
}
.mascot-pig img {
  width: 130px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 10px 8px rgba(0, 0, 0, 0.1));
  user-select: none;
}
.mascot-guide {
  position: absolute;
  right: 20px;
  bottom: 10px;
  width: 110px;
  height: 220px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  pointer-events: none;
  z-index: 10;
}
.mascot-guide img {
  height: 210px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 10px 8px rgba(0, 0, 0, 0.1));
  user-select: none;
}

/* ==========================================================================
   6. セクション: ピグマットの基礎知識 (#summary)
   ========================================================================== */
.summary-section {
  position: relative;
  width: 100%;
  background-color: var(--pig-blue-light);
  color: #ffffff;
  padding-top: 3rem;
  padding-bottom: 3rem;
  margin-top: 3rem;
  scroll-margin-top: 6rem;
}
.summary-content {
  position: relative;
  z-index: 20;
  padding-top: 2rem;
}
.summary-header { margin-bottom: 5rem; }
@media (max-width: 780px) {
  .summary-header { margin-bottom: 2.5rem; }
}
.summary-title-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.75rem;
  position: relative;
}
.summary-title-group {
  display: flex;
  align-items: center;
  gap: 1rem;
}
@media (max-width: 780px) {
  .summary-title-group { gap: 0.75rem; }
}
.summary-pig-logo {
  width: 8rem;
  object-fit: contain;
  flex-shrink: 0;
}
@media (max-width: 780px) {
  .summary-pig-logo { width: 6rem; }
}
.summary-h2 {
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  white-space: nowrap;
}
@media (max-width: 780px) {
  .summary-h2 { font-size: 1.5rem; }
}
.summary-pigman {
  flex-shrink: 0;
  display: flex;
  align-items: flex-end;
  position: absolute;
  right: 30px;
  top: -55px;
}
.summary-pigman img {
  height: 13rem;
  width: auto;
  object-fit: contain;
  display: block;
}
@media (max-width: 1000px) {
  .summary-pigman img { height: 7rem; }
}
@media (max-width: 680px) {
  .summary-pigman img { display: none; }
}
.summary-lead {
  margin-top: 0.75rem;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.625;
  letter-spacing: 0.025em;
}
@media (max-width: 780px) {
  .summary-lead { font-size: 0.875rem; }
}
.summary-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.25rem;
  align-items: center;
  margin-top: 1.5rem;
}
.summary-col, .summary-col2 {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  z-index: 10;
  width: 100%;
}
.summary-col { grid-column: span 4; }
.summary-col2 { grid-column: 9 / span 4; }
@media (max-width: 1000px) {
  .summary-col, .summary-col2 { grid-column: span 6; }
}
@media (max-width: 780px) {
  .summary-grid { grid-template-columns: 1fr; }
  .summary-col, .summary-col2 { grid-column: auto; }
}
.summary-pigmat {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, calc(-50% + 100px));
  z-index: 20;
  width: max-content;
  margin: 0;
  display: flex;
  justify-content: center;
}
@media (max-width: 1000px) {
  .summary-pigmat {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    z-index: 10;
    pointer-events: none;
    width: 100%;
    margin: 3rem auto 0;
  }
}
.mat-wrapper {
  width: 100%;
  max-width: 500px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.3s;
  animation: float 3s ease-in-out infinite;
}
.mat-wrapper:hover { transform: scale(1.05); }
@media (max-width: 760px) {
  .mat-wrapper { max-width: 400px; }
}
.mat-wrapper img {
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 20px 13px rgba(0, 0, 0, 0.1));
}
.summary-card {
  width: 100%;
  border: none;
  font-family: inherit;
  box-sizing: border-box;
  background-color: #fff;
  border-radius: 28px;
  padding: 1rem;
  color: var(--pig-blue-light);
  min-height: 145px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
}
.summary-card:hover {
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.5);
  transform: translateY(-4px);
}
.summary-card span:nth-child(1) {
  display: block;
  font-weight: 700;
  font-size: 1.25rem;
  text-align: center;
  line-height: 1.25;
}
@media (max-width: 780px) {
  .summary-card span:nth-child(1) { font-size: 1.125rem; }
}
.card-icon-area {
  height: 4rem;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  flex: 1 1 0%;
}
.card-icon-area img {
  margin-top: 15px;
  max-height: 7rem;
  max-width: 80%;
  object-fit: contain;
  transition: transform 0.3s ease;
}
.summary-card:hover .card-icon-area img { transform: scale(1.1); }

.drip-container {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0;
  pointer-events: none;
  z-index: 30;
}
.drip-inner { position: relative; height: 0; }
.drip-item { position: absolute; fill: currentColor; }
.drip-pos-1 { left: 42%; top: -0.75rem; }
.drip-pos-1 svg { width: 2rem; height: 2.5rem; color: var(--pig-blue-light); }
.drip-pos-2 { left: 52%; top: -0.25rem; }
.drip-pos-2 svg { width: 1.5rem; height: 2rem; color: var(--pig-blue-light); }
.drip-pos-3 { left: 47%; top: -1.25rem; }
.drip-pos-3 svg { width: 2.5rem; height: 3rem; color: var(--pig-blue-light); }
.drip-1 { animation: dropDrip 3.2s cubic-bezier(0.55, 0.085, 0.68, 0.53) infinite; animation-delay: 0s; }
.drip-2 { animation: dropDrip 2.6s cubic-bezier(0.55, 0.085, 0.68, 0.53) infinite; animation-delay: 1.1s; }
.drip-3 { animation: dropDrip 3.8s cubic-bezier(0.55, 0.085, 0.68, 0.53) infinite; animation-delay: 2.1s; }

/* ==========================================================================
   7. セクション: 特長・使用用途 (#use)
   ========================================================================== */
.use-section {
  position: relative;
  width: 100%;
  padding-top: 3.5rem;
  padding-bottom: 0rem;
  scroll-margin-top: 5rem;
  overflow: hidden;
}
.use-container {
  position: relative;
  min-height: 580px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mat-main {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 82%;
  max-width: 820px;
  z-index: 10;
}
@media (max-width: 780px) {
  .mat-main { width: 94%; }
}
.mat-main img {
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 10px 8px rgba(0, 0, 0, 0.1));
}
.mat-shadow {
  position: absolute;
  left: 50%;
  top: 80%;
  transform: translate(-50%, -50%);
  width: 85%;
  max-width: 850px;
  pointer-events: none;
  z-index: 0;
}
.mat-shadow img {
  width: 100%;
  height: auto;
  object-fit: contain;
  opacity: 0.85;
}
.drop-badge-shadow {
  filter: drop-shadow(0px 8px 12px rgba(28, 110, 200, 0.25));
  transition: transform 0.2s ease, filter 0.2s ease;
}
.drop-badge-shadow:hover {
  transform: scale(1.3);
  filter: drop-shadow(0px 12px 18px rgba(28, 110, 200, 0.35));
}
.badge-feature {
  position: absolute;
  left: 3%;
  top: 0%;
  z-index: 30;
}
.badge-feature-inner {
  position: relative;
  width: 185px;
  height: 215px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.badge-feature-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  color: #359cf9;
  fill: currentColor;
  filter: drop-shadow(0 10px 15px rgba(53, 156, 249, 0.15));
}
.badge-feature-content {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 2.2rem;
  width: 100%;
  text-align: center;
  color: #ffffff;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  box-sizing: border-box;
}
.badge-feature-content img {
  width: 78%;
  max-width: 115px;
  height: auto;
  object-fit: contain;
  margin-bottom: 0.5rem;
}
.badge-feature-content span {
  font-weight: 900;
  font-size: 1.25rem;
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.drop-badge { position: absolute; z-index: 20; }
.drop-badge-wrap { position: relative; }
.sz-sm { width: 140px; height: 154px; }
.drop-badge-wrap svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.12));
}
.badge-pos-1 { left: 22%; top: 12%; }
.badge-pos-2 { left: 15%; top: 50%; }
.badge-pos-3 { right: 35%; top: 35%; }
.badge-pos-4 { right: 15%; top: 7%; }
.badge-pos-5 { right: 18%; top: 44%; }
.drop-border { transition: stroke 0.2s ease; }
.drop-overlay { opacity: 0; transition: opacity 0.2s ease; pointer-events: none; }
.badge-hover-text {
  position: absolute;
  top: 55%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--red);
  font-weight: bold;
  font-size: 1rem;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
  z-index: 2;
}
.drop-badge-shadow:hover .drop-border { stroke: var(--red); }
.drop-badge-shadow:hover .drop-overlay { opacity: 1; }
.drop-badge-shadow:hover .badge-hover-text { opacity: 1; }

@media (max-width: 780px) {
  .use-container {
    min-height: auto;
    padding-top: 1rem;
    padding-bottom: 2rem;
    position: relative;
    width: 100%;
    max-width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0%;
  }
  .badge-feature {
    position: absolute;
    left: 1%;
    top: 0%;
    z-index: 30;
  }
  .badge-feature-inner { width: 150px; height: 170px; }
  .badge-feature-content span { font-size: 1.1rem; }
  .mat-main {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    margin: 1.5rem auto 2rem;
    width: 95%;
    order: 1;
  }
  .mat-shadow {
    position: absolute;
    top: auto;
    bottom: 5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 95%;
  }
  .drop-badge {
    position: static;
    display: inline-flex;
    justify-content: center;
    flex: 0 0 19%;
    max-width: 19%;
    order: 2;
    z-index: 20;
  }
  .sz-sm {
    width: 100%;
    height: auto;
    aspect-ratio: 100 / 110;
  }
  .badge-hover-text { font-size: 0.85rem; }
}

/* ==========================================================================
   8. セクション: 選び方 (#choice)
   ========================================================================== */
.bg-bg { background-color: var(--bgray); }
.bg-cy { background-color: var(--cyan); }
.bg-pi { background-color: var(--pink); }
.bg-gr { background-color: var(--green); }
.choice-section {
  position: relative;
  z-index: 1;
  width: 100%;
  background-color: #fbf8ea;
  color: #333333;
  padding-bottom: 4rem;
  padding-top: 2.5rem;
  scroll-margin-top: 5rem;
}
.choice-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='2' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  filter: contrast(350%);
  opacity: 0.2;
  mix-blend-mode: multiply;
}
.choice-top { padding-top: 3rem; }
@media (max-width: 1000px) {
  .choice-top { padding-top: 2rem; }
}
.choice-h2-wrap {
  border-bottom: 2px solid #2b7bbb;
  padding-bottom: 0.75rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.pig-avatar {
  width: 4rem;
  height: 3rem;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media (max-width: 1000px) {
  .pig-avatar { width: 3.5rem; height: 2.75rem; }
}
.pig-avatar img { width: 100%; height: 100%; object-fit: contain; }
.choice-h2-wrap h2 {
  font-size: 1.875rem;
  font-weight: 900;
  color: #2b7bbb;
  letter-spacing: 0.05em;
}
@media (max-width: 1000px) {
  .choice-h2-wrap h2 { font-size: 1.5rem; }
}
.choice-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
}
@media (max-width: 1000px) {
  .choice-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
  }
}
.choice-btn {
  color: #ffffff;
  border-radius: 1.5rem;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  text-align: center;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  transition: 0.2s;
}
@media (max-width: 1000px) {
  .choice-btn { padding: 0.75rem; }
}
.choice-btn:hover {
  filter: brightness(0.85);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.5);
  transform: translateY(-4px);
}
.btn-blue { background-color: var(--bgray); }
.btn-cyan { background-color: var(--cyan); }
.btn-pink { background-color: var(--pink); }
.btn-green { background-color: var(--green); }
.icon-wrap { padding-top: 0.5rem; }
.icon-wrap img {
  width: 2.75rem;
  height: 2.75rem;
  margin: 0 auto;
  object-fit: contain;
  transition: transform 0.2s;
}
@media (max-width: 1000px) {
  .icon-wrap img { width: 2.25rem; height: 2.25rem; }
}
.choice-btn:hover .icon-wrap img { transform: scale(1.25); }
.btn-label { font-weight: 700; font-size: 1.125rem; }
.btn-arrow { font-size: 0.75rem; transition: transform 0.2s; }
.choice-btn:hover .btn-arrow { transform: translateY(2px); }
.choice-subbar {
  width: 100%;
  color: #ffffff;
  padding-top: 1rem;
  padding-bottom: 1rem;
  margin: 5rem 0 2rem;
}
.bar-icon {
  width: 2.75rem;
  height: 2.75rem;
  object-fit: contain;
  filter: brightness(0) invert(1);
}
@media (max-width: 1000px) {
  .bar-icon { width: 1.75rem; height: 1.75rem; }
}
.choice-subbar h3 {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.025em;
}
@media (max-width: 1000px) {
  .choice-subbar h3 { font-size: 1.25rem; }
}
.liquid_pigman { text-align: center; padding: 0 0 35px; }
@media (max-width: 680px) {
  .liquid_pigman { padding: 10px 0 35px; }
}
.pigman_wrapper {
  position: relative;
  display: inline-block;
  width: 75%;
}
@media (max-width: 680px) {
  .pigman_wrapper { width: 100%; }
}
.pigman_wrapper img { width: 100%; height: auto; display: block; }
.pigman_overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.hover_area {
  opacity: 0;
  transition: opacity 0.2s ease-in-out;
  pointer-events: auto;
  cursor: pointer;
}
.left_up { fill: #777777; }
.left_down { fill: #ff8ce1; }
.right_up { fill: #ffffff; }
.right_down { fill: #5a7ece; }
.hover_label {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}
.hover_label text {
  font-size: 2rem;
  font-weight: bold;
  text-anchor: middle;
  dominant-baseline: central;
}
.label_foreign { overflow: visible; }
.label_box {
  display: inline-block;
  padding: 8px 18px;
  font-size: 1.5rem;
  font-weight: bold;
  border-radius: 20px;
  white-space: nowrap;
}
.left_up .label_box { background: #777777; color: #ffffff; }
.left_down .label_box { background: #ff8ce1; color: #ffffff; }
.right_up .label_box { background: #ffffff; color: #000000; border: 1px solid #dddddd; }
.right_down .label_box { background: #5a7ece; color: #ffffff; }
.hover_group:hover .hover_area { opacity: 0.6; }
.hover_group:hover .hover_label { opacity: 1; }

.bg-wh { background-color: #ffffff; }
.bg-gy { background-color: #e3e3e3; }
.bg-lp { background-color: #fbe4ee; }
.bg-lb { background-color: #e1f3fc; }
.fc-bg { color: var(--bgray); }
.fc-cy { color: var(--cyan); }
.fc-pi { color: var(--pink); }
.fc-gr { color: var(--green); }
.divider-bg { border-bottom: 2px solid var(--bgray); margin-bottom: 0.5rem; }
.divider-cy { border-bottom: 2px solid var(--cyan); margin-bottom: 0.5rem; }
.divider-pi { border-bottom: 2px solid var(--pink); margin-bottom: 0.5rem; }
.divider-gr { border-bottom: 2px solid var(--green); margin-bottom: 0.5rem; }
.bm-bg { background-color: var(--bgray); border: 3px solid var(--bgray); }
.bm-cy { background-color: var(--cyan); border: 3px solid var(--cyan); }
.bm-pi { background-color: var(--pink); border: 3px solid var(--pink); }
.bm-gr { background-color: var(--green); border: 3px solid var(--green); }
.bs-bg { border: 3px solid var(--bgray); color: var(--bgray); }
.bs-cy { border: 3px solid var(--cyan); color: var(--cyan); }
.bs-pi { border: 3px solid var(--pink); color: var(--pink); }
.bs-gr { border: 3px solid var(--green); color: var(--green); }

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
}
@media (max-width: 780px) {
  .product-grid {
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 1.5rem;
  }
}
.product-card {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
@media (max-width: 780px) {
  .product-card { padding: 1.25rem; }
}
.product-img-box {
  position: relative;
  height: 14rem;
  background-color: transparent;
  margin-bottom: 1.25rem;
}
@media (max-width: 780px) {
  .product-img-box { height: 18rem; }
}
@media (max-width: 580px) {
  .product-img-box { height: 12rem; }
}
.product-img-box .img-top-right {
  position: absolute;
  top: 0;
  left: 0;
  width: 60%;
  height: auto;
  object-fit: cover;
  z-index: 1;
}
@media (max-width: 1000px) {
  .product-img-box .img-top-right { width: 70%; }
}
@media (max-width: 780px) {
  .product-img-box .img-top-right { width: 60%; }
}
.product-img-box .img-bottom-left {
  position: absolute;
  bottom: 0px;
  right: 0;
  width: 55%;
  height: auto;
  object-fit: contain;
  z-index: 2;
}
@media (max-width: 1000px) {
  .product-img-box .img-bottom-left { width: 70%; }
}
@media (max-width: 780px) {
  .product-img-box .img-bottom-left { width: 50%; }
}
.product-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.product-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}
.product-title span { font-weight: 700; }
.product-title img {
  width: 1.75rem;
  height: 1.75rem;
  object-fit: contain;
}
.product-color {
  text-align: center;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}
@media (max-width: 780px) {
  .product-color { font-size: 1.125rem; }
}
.product-desc {
  font-size: 0.875rem;
  line-height: 1.625;
  margin-bottom: 1.5rem;
  padding-left: 0.25rem;
  padding-right: 0.25rem;
}
@media (max-width: 780px) {
  .product-desc { font-size: 0.75rem; }
}
.product-btn-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-left: 2.5rem;
  padding-right: 2.5rem;
}
@media (max-width: 780px) {
  .product-btn-group {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}
.btn-main {
  width: 100%;
  padding: 0.625rem 1rem;
  color: #ffffff;
  border-radius: 9999px;
  text-align: center;
  font-weight: 700;
  font-size: 1rem;
  transition: 0.2s;
}
@media (max-width: 780px) {
  .btn-main { font-size: 0.875rem; }
}
.btn-main:hover {
  background-color: var(--red);
  border: 3px solid var(--red);
}
.btn-sub {
  width: 100%;
  padding: 0.625rem 1rem;
  background-color: #fff;
  border-radius: 9999px;
  text-align: center;
  font-weight: 700;
  font-size: 1rem;
  transition: 0.2s;
}
@media (max-width: 780px) {
  .btn-sub { font-size: 0.875rem; }
}
.btn-sub:hover {
  border: 3px solid var(--red);
  color: var(--red);
  background-color: #ffcccc;
}
.tks-card {
  background-color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0 20px 30px;
  overflow: hidden;
  margin-bottom: 15px;
}
.tks-title {
  color: var(--pink);
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0;
  line-height: 1.4;
}
.tks-image {
  max-width: 50%;
  flex-shrink: 0;
}
.tks-image img {
  width: 100%;
  height: auto;
  display: block;
}
@media (max-width: 680px) {
  .tks-card {
    flex-direction: column;
    padding: 20px 0 0 0;
    text-align: center;
  }
  .tks-title { padding: 0 15px; }
  .tks-image {
    max-width: 100%;
    margin-top: 15px;
  }
}

/* ==========================================================================
   9. AMP セクション (#about-amp)
   ========================================================================== */
#about-amp { scroll-margin-top: 5rem; }
.fallback-amp-logo {
  font-size: 1.875rem;
  font-weight: 900;
  letter-spacing: 0.025em;
  color: #ffffff;
}
@media (max-width: 780px) {
  .fallback-amp-logo { font-size: 1.5rem; }
}
.amp-history {
  width: 100%;
  padding-top: 5rem;
}
@media (max-width: 780px) {
  .amp-history {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }
}
.his-catch {
  text-align: center;
  margin: 3.5rem 0 1rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--amp-blue);
}
@media (max-width: 780px) {
  .his-catch { font-size: 1.125rem; }
}
.history-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 2rem;
  align-items: start;
  margin-bottom: 4rem;
}
.history-text {
  color: #1f2937;
  font-size: 1rem;
  line-height: 2;
  font-weight: 500;
  display: flex;
  flex-direction: column;
  margin-top: 1rem;
  gap: 1.5rem;
  grid-column: span 7 / span 7;
}
.photo-card-wrap {
  position: relative;
  width: 100%;
  padding-top: 1.5rem;
  padding-right: 1.5rem;
}
.pig-stamp-img {
  position: absolute;
  top: -10px;
  right: -10px;
  width: 170px;
  height: auto;
  z-index: 2;
  pointer-events: none;
}
@media (max-width: 780px) {
  .pig-stamp-img { width: 130px; }
}
.photo-card-wrap--left {
  padding-top: 1.5rem;
  padding-right: 0;
  padding-left: 1.5rem;
}
.pig-stamp-img--top-left {
  right: auto;
  top: -50px;
  left: -5px;
  width: 220px;
}
@media (max-width: 780px) {
  .pig-stamp-img--top-left {
    top: -20px;
    left: 0px;
    width: 150px;
  }
}
.history-photo-area {
  display: flex;
  flex-direction: column;
  align-items: center;
  grid-column: span 5 / span 5;
}
.photo-card {
  padding: 0;
  max-width: 100%;
  width: 100%;
  position: relative;
  z-index: 1;
}
.photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.photo-caption {
  font-size: 0.75rem;
  font-weight: 700;
  margin-top: 0.1rem;
  text-align: center;
  line-height: 1.25;
}
@media (max-width: 780px) {
  .photo-caption { font-size: 11px; }
}
@media (min-width: 781px) {
  .history-grid--reverse .history-photo-area { order: 1; }
  .history-grid--reverse .history-text { order: 2; }
}
@media (max-width: 780px) {
  .history-grid {
    display: flex;
    flex-direction: column;
  }
  .history-text, .history-photo-area {
    grid-column: auto;
    font-size: 0.875rem;
  }
}
.amp-achieve {
  width: 100%;
  padding-bottom: 5rem;
}
.his-title img {
  max-width: 100%;
  padding: 15px 0 25px;
}
.achieve-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
  padding-top: 10px;
}
@media (max-width: 780px) {
  .achieve-grid {
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 1.5rem;
  }
}
.achieve-card {
  background-color: #249bd8;
  color: #ffffff;
  border-radius: 32px;
  padding: 1.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
}
.achieve-card:hover {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3);
  transform: translateY(-4px);
}
.achieve-card .lbl {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.25;
}
.achieve-card .val {
  font-size: 1.5rem;
  font-weight: 900;
  margin-top: 0.25rem;
}
@media (max-width: 780px) {
  .achieve-card .val { font-size: 1.25rem; }
}
.achieve-card .img-area {
  margin-top: 1rem;
  margin-bottom: 1rem;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 0%;
}
.achieve-card img {
  max-height: 7rem;
  max-width: 80%;
  object-fit: contain;
  transition: transform 0.3s ease;
}
.achieve-card:hover img { transform: scale(1.1); }

.amp-interview {
  width: 100%;
  position: relative;
  overflow: hidden;
  min-height: 380px;
  display: flex;
  align-items: center;
}
.interview-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.interview-bg picture, .interview-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
}
.interview-content {
  padding-top: 3rem;
  padding-bottom: 3rem;
  position: relative;
  z-index: 10;
  width: 100%;
}
.interview-text-box {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.25rem;
  width: 100%;
  max-width: 450px;
  margin-left: auto;
}
.quote-card {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: flex-start;
}
.quote-card li:nth-child(1) { font-weight: 900; }
.quote-card li:nth-child(2) {
  font-size: 1.25rem;
  font-weight: 700;
  color: #222;
}
.quote-card .quote-title {
  font-size: 1.25rem;
  font-weight: 900;
  line-height: 1.4;
  background-color: #fff;
  padding: 4px 10px;
  color: #000;
  display: inline-block;
}
.btn-amp {
  display: inline-block;
  font-weight: 700;
  padding: 0.75rem 2.5rem;
  border-radius: 9999px;
  text-decoration: none;
  transition: 0.2s;
  margin-top: 1rem;
  border: none;
  cursor: pointer;
}
.btna1 { background-color: var(--amp-blue); color: #fff; }
.btna2 { background-color: #fff; color: var(--amp-blue); }
.btn-amp:hover { background-color: var(--red); color: #fff; }

@media (max-width: 980px) and (min-width: 781px) {
  .interview-content {
    position: absolute;
    inset: 0;
    padding: 1.5rem;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
  }
  .interview-text-box {
    margin-left: 0;
    max-width: 50%;
  }
}
@media (max-width: 780px) {
  .amp-interview {
    flex-direction: column;
    min-height: auto;
  }
  .interview-bg {
    position: relative;
    inset: auto;
    width: 100%;
    height: auto;
  }
  .interview-bg img {
    height: auto;
    object-fit: contain;
  }
  .interview-content {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    padding: 1.5rem 1rem 2.5rem;
    display: flex;
    align-items: flex-end;
  }
  .interview-text-box {
    margin-left: 0;
    max-width: 100%;
    margin-bottom: 1rem;
  }
  .quote-card li:nth-child(2) { font-size: 1rem; }
  .quote-card .quote-title {
    font-size: 0.95rem;
    padding: 2px 6px;
  }
  .btn-amp {
    margin-top: 0.5rem;
    padding: 0.5rem 1.25rem;
    font-size: 0.875rem;
  }
}
.amp-training {
  width: 100%;
  color: #ffffff;
  padding-top: 3rem;
  padding-bottom: 3rem;
  background-color: #6cabe1;
  background-image: url("images/amp_investigation.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-blend-mode: multiply;
}
@media (max-width: 780px) {
  .amp-training {
    padding-top: 2rem;
    padding-bottom: 4rem;
  }
}
.training-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 2rem;
  align-items: center;
}
.training-text { grid-column: span 7 / span 7; }

.training-img-area {
  grid-column: span 5 / span 5;
  justify-self: end;
}
.training-img-area .img-box {
  width: 18rem;
  height: 18rem;
  position: relative;
}
.training-img-area img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
@media (max-width: 780px) {
  .training-grid {
    display: flex;
    flex-direction: column;
  }
  .training-img-area {
    order: 1;
    grid-column: auto;
    justify-self: center;
  }
  .training-text {
    order: 2;
    grid-column: auto;
  }
  .training-img-area .img-box {
    width: 16rem;
    height: 16rem;
  }
}

/* ==========================================================================
   お問い合わせフォーム セクション
   ========================================================================== */
/* --- 吹き出し & キャラクターエリア --- */
.form-intro-wrap {
  position: relative;
  max-width: 680px;
  margin: 0 auto 15px;
}

/* 白い吹き出し */
.form-bubble {
  position: relative;
  background-color: #ffffff;
  border-radius: 50px;
  padding: 0 0 80px;
margin: 30px auto;
  text-align: center;
  z-index: 2;
border: solid 5px var(--red);
}


.form_box .form-bubble p {
  color: #000;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.5; /* ← ここでお好みの行間（2〜3など）を指定 */
  width: auto;      /* form_box p の width: 86% も解除されます */
}

  /* キャラクターを吹き出しの右下に絶対配置で重ねる */
  .form-character {
    position: absolute;
    right: 40%;        /* 右からの位置（デザインに合わせて微調整してください） */
    bottom: 0px;        /* 下からの位置（デザインに合わせて微調整してください） */
    width: 90px;        /* 吹き出し内に収まるようサイズ調整 */
    margin-bottom: 0;   /* ネガティブマージンを解除 */
    z-index: 2;         /* 吹き出しより手前に表示 */
  }

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


@media (max-width: 768px) {
  /* 親要素を相対配置にして基準点を作成 */
  .form-intro-wrap {
	  width: 96%;
    position: relative;
    display: flex;
    flex-direction: column; /* SP時は上から順に配置 */
    align-items: center;
    padding-bottom: 20px; /* キャラクターの下部飛び出し領域を確保 */
  }

  /* 吹き出しの余白・調整 */
  .form-bubble {
    width: 100%;
    /* 必要に応じて吹き出し下部に余白を確保 */
    padding-bottom: 40px; 
  }


}
/* ==========================================================================
   10. フッター
   ========================================================================== */
.site-footer {
  background-color: #fff;
  color: var(--pig-blue-light);
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  text-align: center;
  font-size: 0.875rem;
  font-weight: 500;
  border-top: 2px solid var(--pig-blue-light);
}

/* ==========================================================================
   11. モーダル & その他
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
  z-index: 150;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.modal-backdrop.is-visible {
  opacity: 1;
  pointer-events: auto;
}
.modal-box {
  background-color: #ffffff;
  border-radius: 1rem;
  padding: 2.25rem 2rem 2rem;
  max-width: 60%;
  width: 100%;
  margin-left: 1rem;
  margin-right: 1rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  transform: scale(0.9);
  transition: transform 0.3s ease;
  position: relative;
  overflow: visible;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
}
@media (max-width: 780px) {
  .modal-box { max-width: 92%; }
}
.modal-backdrop.is-visible .modal-box { transform: scale(1); }
.modal-close-btn {
  position: absolute;
  top: -18px;
  right: -18px;
  width: 40px;
  height: 40px;
  background-color: var(--pig-blue-light);
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 1.5rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.2s;
  z-index: 10;
}
.modal-close-btn:hover {
  background-color: #fff;
  color: var(--pig-blue-light);
}
.modal-h3 {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--pig-title-green);
  margin-bottom: 1rem;
  margin-top: -0.25rem;
  text-align: center;
  flex-shrink: 0;
}
.modal-img {
  width: 100%;
  max-height: 200px;
  object-fit: contain;
  margin-bottom: 1rem;
  border-radius: 0.5rem;
  flex-shrink: 0;
}
.modal-body {
  color: #374151;
  line-height: 1.625;
  font-size: 1rem;
  margin-bottom: 0;
  overflow-y: auto;
  padding-right: 0.5rem;
  word-break: break-word;
}
.modal-body span {
	font-weight: 700;
}
.modal-action-btn {
  width: 100%;
  background-color: var(--pig-blue-light);
  color: #ffffff;
  font-weight: 900;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  border-radius: 0.75rem;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  transition: background-color 0.2s;
}
.modal-action-btn:hover { background-color: var(--pig-blue-dark); }
.grecaptcha-badge { pointer-events: none !important; z-index: 999; }
.recaptcha-terms {
  font-size: 12px;
  color: #666;
  text-align: center;
  margin-bottom: 15px;
}
.recaptcha-terms a { text-decoration: none; }
.recaptcha-terms a:hover {
  color: #000;
  text-decoration: underline;
}