@charset "UTF-8";
/*
    Template: swell
    Theme Name: SWELL CHILD
    Theme URI: https://swell-theme.com/
    Description: SWELLの子テーマ
    Version: 1.0.0
    Author: LOOS WEB STUDIO
    Author URI: https://loos-web-studio.com/
*/

/* ============================
   ヒーローセクション（共通）
============================ */
.hero-labo {
  background: #ffffff;
  border-bottom: 1px solid #e6f4f5;
  padding: 100px 8% 80px;
  position: relative;
  overflow: hidden;
}

.hero-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  gap: 40px;
}

.hero-left {
  flex: 1;
}

.hero-right {
  flex: 1;
  text-align: right;
  display: none; /* プロラボ文字を非表示 */
}

/* ============================
   タイトル・テキスト
============================ */
.hero-lead {
  font-size: 1.7rem;
  font-weight: 800;
  color: #00b7c2;
  margin-bottom: 28px;
  text-shadow: 0 0 12px rgba(0, 183, 194, 0.25);
}

.hero-title {
  font-size: 1.9rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 16px;
  color: #1a1a1a;
}

.hero-title .accent {
  color: #00b7c2;
}

.hero-title .underline {
  border-bottom: 3px solid #00b7c2;
  padding-bottom: 3px;
  font-size: 0.95em;
}

/* 光熱費と研究所の間の余白 */
.hero-title .subtitle {
  display: block;
  margin-top: 10px; /* ← ここで余白を調整（9〜16pxで好みに） */
}

/* サブ説明文（ふわっと光る赤文字） */
.hero-desc {
  font-size: 1rem;
  font-weight: 700;
  color: #ff4d4d;
  margin-bottom: 30px;
  line-height: 1.6;
  text-shadow: 0 0 10px rgba(255, 77, 77, 0.5);
  animation: softGlow 3s ease-in-out infinite;
}

@keyframes softGlow {
  0%, 100% {
    opacity: 0.85;
    text-shadow: 0 0 8px rgba(255, 77, 77, 0.4),
                 0 0 16px rgba(255, 120, 120, 0.3);
  }
  50% {
    opacity: 1;
    text-shadow: 0 0 14px rgba(255, 100, 100, 0.7),
                 0 0 28px rgba(255, 150, 150, 0.5);
  }
}

/* ============================
   CTAボタン
============================ */
.hero-cta {
  display: inline-block;
  background-color: #00b7c2;
  color: #fff;
  text-decoration: none;
  padding: 14px 36px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 1.1rem;
  box-shadow: 0 4px 12px rgba(0, 183, 194, 0.25);
  transition: all 0.3s ease;
}

.hero-cta:hover {
  background-color: #0095a3;
  box-shadow: 0 6px 18px rgba(0, 183, 194, 0.35);
  transform: translateY(-2px);
}

/* ============================
   スマホ（768px以下）
============================ */
@media (max-width: 768px) {
  .hero-labo {
    padding: 60px 6% 50px;
  }

  .hero-inner {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }

  .hero-lead {
    font-size: 1.5rem;
    margin-bottom: 20px;
  }

  .hero-title {
    font-size: 1.3rem;
    line-height: 1.3;
    margin-bottom: 12px;
  }

  .hero-title .underline {
    font-size: 0.9em;
    border-bottom-width: 2px;
  }

  .hero-title .subtitle {
    margin-top: 8px;
  }

  .hero-desc {
    font-size: 0.9rem;
    margin-bottom: 20px;
    line-height: 1.5;
  }

  .hero-cta {
    padding: 12px 28px;
    font-size: 1rem;
  }
}


/* スマホ版では下に表示（ブロック化） */
@media (max-width: 768px) {
  .hero-labo-logo {
    display: block;
    margin-left: 0;
    margin-top: 15px; /* ← 下に自然な間隔を追加 */
    font-size: 1.8rem;
  }
}

/* ============================
   ProLabo AIチャット（右下固定）
============================ */
#prolabo-launcher {
  position: fixed !important;
  bottom: 24px !important;
  right: 24px !important;
  left: auto !important;
  z-index: 999999 !important;
  font-family: "Noto Sans JP", sans-serif;
}

#prolabo-launcher button#chat-open {
  display: flex;
  align-items: center;
  background: #ff007f;
  border: none;
  border-radius: 30px;
  color: #fff;
  font-weight: bold;
  padding: 10px 18px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  cursor: pointer;
  transition: all 0.3s;
}

#prolabo-launcher button#chat-open:hover {
  background: #d9006d;
}

#prolabo-launcher img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  margin-right: 10px;
}

#prolabo-chat-window {
  display: none;
  flex-direction: column;
  position: absolute;
  bottom: 80px;
  right: 0;
  width: 360px;
  height: 480px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 6px 25px rgba(0,0,0,0.3);
  overflow: hidden;
}
/* ============================
   位置情報バナー（hero-leadの上に配置）
============================ */
.location-banner {
  font-size: 1rem;
  font-weight: 700;
  color: #00b7c2;
  margin-bottom: 12px;
  letter-spacing: 0.05em;
  text-shadow: 0 0 10px rgba(0, 183, 194, 0.15);
  animation: fadeIn 1s ease forwards;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* スマホ時の調整 */
@media (max-width: 768px) {
  .location-banner {
    font-size: 0.95rem;
    margin-bottom: 10px;
  }
}

.inquiry-form {
  background: #f9fcfd;
  border: 1px solid #e6f4f5;
  padding: 40px 8%;
  border-radius: 16px;
  max-width: 700px;
  margin: 80px auto;
  box-shadow: 0 4px 12px rgba(0,183,194,0.08);
}

.form-title {
  text-align: center;
  font-size: 1.8rem;
  color: #00b7c2;
  margin-bottom: 10px;
}

.form-lead {
  text-align: center;
  color: #555;
  margin-bottom: 30px;
}

form label {
  display: block;
  font-weight: 600;
  margin-top: 16px;
  color: #333;
}

form input, form select {
  width: 100%;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #ccc;
  margin-top: 6px;
  font-size: 1rem;
}

.form-submit {
  margin-top: 30px;
  width: 100%;
  background: #00b7c2;
  color: #fff;
  border: none;
  padding: 16px;
  font-size: 1.2rem;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s;
}

.form-submit:hover {
  background: #0093a5;
}

/* ===========================================================
   ProLabo 問い合わせフォーム：AI風エラーモーダル
=========================================================== */
.loading-modal {
  display: none; /* 初期非表示 */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(4px);
  justify-content: center;
  align-items: center;
  z-index: 9999;
  animation: fadeIn 0.3s ease forwards;
}

/* モーダルカード本体 */
.loading-card {
  background: #fff;
  border-radius: 12px;
  padding: 30px 24px;
  text-align: center;
  max-width: 320px;
  width: 90%;
  animation: popIn 0.25s ease forwards;
  border: 2px solid #00b7c2;
  box-shadow: 0 0 25px rgba(0,183,194,0.4);
}

/* エラーテキスト調整 */
.loading-card h2 {
  color: #d63031;
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.loading-card p {
  color: #444;
  font-size: 0.95rem;
  margin-bottom: 18px;
}

/* OKボタン */
.loading-card button {
  background: linear-gradient(90deg,#00b7c2,#0094cc);
  color: #fff;
  border: none;
  padding: 8px 24px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.3s ease;
}

.loading-card button:hover {
  background: linear-gradient(90deg,#00a0ab,#007fa5);
}

/* ===== アニメーション ===== */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes popIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.voice-block {
  background: #f9fcfd;
  border-radius: 16px;
  padding: 30px;
  margin: 40px auto;
  max-width: 720px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.05);
}

.voice-heading {
  color: #00b7c2;
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.voice-name {
  font-weight: 600;
  margin-bottom: 20px;
}

.voice-beforeafter {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}

.voice-before, .voice-after {
  flex: 1;
  background: #fff;
  border-radius: 12px;
  padding: 15px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.voice-comment {
  font-size: 1.1rem;
  line-height: 1.8;
}
