@charset "UTF-8";

/* =========================================================
   1. グローバル変数・共通レイアウト設定
   ========================================================= */
:root {
  --primary-color: #007bff;
  --text-dark: #333;
  --text-muted: #666;
  --bg-light: #f8f9fa;
  --bg-pink: #fff5f5;
  --white: #ffffff;
  --font-main: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
}

/* --- リセット & 基本設定 --- */
* {
  box-sizing: border-box;
}

html {
  font-size: 100%;
}

body {
  font-family: var(--font-main);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-dark);
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 10px;
}

.section {
  padding: 100px 0;
}

.section-title {
  text-align: center;
  font-size: 1.5rem;
  margin-bottom: 40px;
  font-weight: bold;
  line-height: 1.4;
}

/* =========================================================
   2. ヒーローセクション (MV セクション)
   ========================================================= */
   .hero-casual {
    max-width: 100dvw;
    position: relative;
    text-align: center;
    display: block;
  }
  
  .hero-casual .container {
    position: relative;
    z-index: 2;
    max-width: 100%;
    margin: 0 auto;
  }
  
  .hero-casual .hero-content {
    max-width: 1920px;
    text-align: center;
    box-sizing: border-box;
    margin-inline: auto;
  }
  
  .hero-image-title {
    margin: 0 auto;
    display: block;
    padding: 0;
    line-height: 0; 
  }
  
  .hero-image-title picture {
    display: block;
    width: 100%;
  }
  
  .hero-image-title picture img {
    width: 100%;
    max-width: 1920px; /* PCでの最大幅 */
    height: auto;
    display: block;
    margin: 0 auto;
  }
  
  @media (max-width: 768px) {
    .hero-image-title picture img {
      max-width: 100%; 
    }
  }

/* =========================================================
   3. CTAボタン・スティッキー設定
   ========================================================= */
.btn-primary {
  display: inline-block;
  background: var(--primary-color);
  color: var(--white);
  border: none;
  padding: 16px 40px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
  transition: all 0.3s ease;
}

.btn-primary:hover {
  filter: brightness(1.1);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4);
}

.cta-fixed {
  position: absolute;
  position: -webkit-sticky;
  position: sticky;
  top: calc(100vh - 100px);
  display: flex;
  justify-content: flex-end;
  pointer-events: auto;
  z-index: 100;
}

.mv-cta {
  margin-top: -150px;
  position: relative;
  z-index: 100;
}

.cta-fixed {
  z-index: 1100;
}

/* =========================================================
   4. 導入ポイント (POINT 01-03)
   ========================================================= */
.intro-points {
  background-color: var(--white);
}

.point-grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 50px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.point-card {
  display: flex;
  align-items: center;
  background: #ffffff;
  border: 2px solid var(--primary-color);
  padding: 30px 40px;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 123, 255, 0.08);
  gap: 35px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.point-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0, 123, 255, 0.15);
}

.card-icon {
  flex-shrink: 0;
  width: 70px;
  height: 70px;
  color: var(--primary-color);
  background: #f0f7ff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px;
}

.card-icon svg {
  width: 100%;
  height: 100%;
}

.card-content {
  text-align: left;
}

.card-num {
  display: inline-block;
  font-weight: 800;
  color: var(--primary-color);
  font-size: 0.8125rem;
  margin-bottom: 8px;
  letter-spacing: 0.1em;
  background: #eef6ff;
  padding: 2px 10px;
  border-radius: 4px;
}

.point-card h3 {
  font-size: 1.25rem;
  margin: 0 0 12px 0;
  line-height: 1.4;
  color: #1a1a1a;
  font-weight: 800;
}

.point-card p {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: #444;
}

.section-subtitle {
  text-align: center;
}

/* =========================================================
   5. お悩みセクション
   ========================================================= */
.pain-section {
  background-color: var(--bg-pink);
  padding: 100px 0;
}

.pain-title {
  text-align: center;
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 60px;
  color: #d63031;
}

.pain-content-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 50px;
  max-width: 1000px;
  margin: 0 auto;
}

.pain-image .model-image {
  flex: 1;
  text-align: right;
}

.pain-image img {
  width: 100%;
  max-width: 400px;
  height: auto;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.05));
}

.pain-text {
  flex: 1.2;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.check-list li {
  position: relative;
  padding-left: 45px;
  margin-bottom: 25px;
  font-size: 1rem;
  font-weight: bold;
  color: #333;
  line-height: 1.5;
  display: flex;
  align-items: center;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  width: 30px;
  height: 30px;
  background-color: #d63031;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.check-list li::after {
  content: "✔";
  position: absolute;
  left: 8px;
  color: #fff;
  font-size: 0.875rem;
  font-weight: bold;
}

/* =========================================================
   6. 理論背景・構造化セクション
   ========================================================= */
.logic-section {
  background-color: var(--white);
  text-align: center;
}

.logic-content p {
  margin-bottom: 40px;
  color: var(--text-muted);
  font-weight: bold;
}

.logic-diagram {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
  max-width: 1100px;
  margin: 0 auto;
}

.logic-box,
.logic-result {
  background: linear-gradient(135deg, var(--primary-color) 0%, #0056b3 100%);
  color: white;
  padding: 16px 22px;
  border-radius: 8px;
  font-weight: 900;
  font-size: 1rem;
  box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
  position: relative;
  text-align: center;
  min-width: 140px;
  border: none;
  flex-shrink: 0;
}

.logic-result::before {
  display: none !important;
}

.operator,
.equal {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--primary-color);
  padding: 0 5px;
}

.model-image {
  margin-top: 50px;
}

.model-image img {
  width: 100%;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.05));
  object-fit: contain;
  max-width: fit-content;
}

/* =========================================================
   7. ソリューション（3つの柱）
   ========================================================= */
.solution-section {
  background-color: var(--bg-light);
  padding: 100px 0;
}

.pillar-title {
  text-align: center;
  font-size: 1.25rem;
  margin-bottom: 50px;
  color: var(--text-dark);
  font-weight: bold;
}

.pillar-grid {
  display: flex;
  gap: 30px;
  justify-content: space-between;
}

.pillar {
  flex: 1;
  background: var(--white);
  padding: 40px 30px;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.pillar:hover {
  transform: translateY(-10px);
}

.pillar-icon-box {
  width: 100px;
  height: 100px;
  background: var(--bg-pink);
  color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  font-size: 2rem;
  transition: all 0.3s ease;
}

.pillar:hover .pillar-icon-box {
  background: var(--primary-color);
  color: var(--white);
}

.pillar h4 {
  font-size: 1.125rem;
  font-weight: 800;
  margin-bottom: 15px;
  color: #1a1a1a;
  line-height: 1.4;
}

.pillar p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.7;
  text-align: left;
}

/* =========================================================
   8. 診断レポート・ムービー
   ========================================================= */
.report-grid {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 30px;
  align-items: flex-start;
}

.report-img-placeholder {
  position: relative;
  width: 100%;
  max-width: 450px;
  height: 320px;
  background-color: #000;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e0e6ed;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  cursor: pointer;
}

.report-img-placeholder .label {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: top center;
  background-repeat: no-repeat;
  z-index: 20;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 1 !important;
}

.video-iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  z-index: 10;
}

.view-btn {
  background-color: rgba(0, 0, 0, 0.75);
  color: #ffffff !important;
  padding: 12px 24px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: bold;
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  white-space: nowrap;
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  z-index: 30;
}

.modal {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.95);
  cursor: zoom-out;
}

.modal-content {
  margin: auto;
  display: block;
  width: 98%;
  max-width: 1500px;
  height: auto;
  max-height: 96vh;
  object-fit: contain;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border: 1px solid #666;
  border-radius: 4px;
}

.close-btn {
  position: absolute;
  top: 15px;
  right: 25px;
  color: #fff;
  font-size: 60px;
  cursor: pointer;
  z-index: 10001;
  line-height: 1;
}

/* =========================================================
   9. お客様の声（ボイス）
   ========================================================= */
.voice-title {
  text-align: center;
  font-size: 1.5rem;
  color: #333;
  margin-bottom: 40px;
  font-weight: bold;
}

.voice-flex {
  display: flex;
  gap: 25px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 200px;
}

.voice-card {
  flex: 1;
  min-width: 280px;
  max-width: 310px;
  background: #fff;
  padding: 25px;
  border-radius: 30px 30px 30px 5px;
  border: 3px solid #ffebef;
  box-shadow: 10px 10px 0px rgba(255, 182, 193, 0.5);
  transition: all 0.3s ease;
}

.voice-card:hover {
  transform: translate(3px, 3px);
  box-shadow: 5px 5px 0px rgba(255, 192, 203, 0.4);
}

.voice-user {
  font-size: 0.8125rem;
  font-weight: bold;
  margin-bottom: 12px;
  color: #5a5a5a;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.v-score {
  display: inline-block;
  background: #fff0f3;
  color: #ff4d79;
  padding: 2px 12px;
  border-radius: 10px;
  font-size: 0.8125rem;
}

.voice-msg {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: #444;
}

/* =========================================================
   10. FAQ セクション
   ========================================================= */
.lp-faq-section {
  padding: 60px 20px;
  background-color: #f9f9f9;
}

.lp-faq-title {
  text-align: center;
  font-size: 1.5rem;
  margin-bottom: 40px;
  font-weight: bold;
}

.lp-faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.lp-faq-item {
  background: #fff;
  margin-bottom: 10px;
  border-radius: 8px;
  border: 1px solid #ddd;
}

.lp-faq-question {
  padding: 20px;
  font-weight: bold;
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-left: 50px;
}

.lp-faq-question::before {
  content: "Q";
  position: absolute;
  left: 15px;
  color: #1a73e8;
  font-size: 1.125rem;
}

.lp-faq-question::after {
  content: "＋";
  position: absolute;
  right: 20px;
  color: #999;
  z-index: 1001;
}

details[open] .lp-faq-question::after {
  content: "ー";
}

.lp-faq-answer {
  padding: 0 20px 20px 50px;
  border-top: 1px solid #eee;
  color: #555;
  line-height: 1.7;
}

.lp-faq-answer p {
  margin: 15px 0 0;
}

.faq-to-cta {
  text-align: center;
  padding: 40px 20px;
  background-color: #f9f9f9;
}

/* =========================================================
   11. Form セクション
   ========================================================= */
.form-section {
  background: var(--white);
}

.form-title {
  text-align: center;
  margin-bottom: 10px;
  word-break: keep-all;
  overflow-wrap: break-word;
  font-size: 1.5rem;
  line-height: 1.4;
  padding: 0 10px;
}

.form-note {
  text-align: center;
  margin-bottom: 40px;
  color: var(--text-muted);
}

.google-form-wrapper {
  position: relative;
  width: 100%;
  height: 80vh;
  margin-top: 30px;
  background: #fff;
  border-radius: 12px;
  overflow-y: auto;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.google-form-wrapper iframe {
  width: 100%;
  min-height: 1100px;
  border: none;
  display: block;
}

/* =========================================================
   12. スクロールインジケーター & アクションボタン
   ========================================================= */
.scroll-indicator {
  position: absolute;
  bottom: 20px;
  right: 15px;
  width: auto;
  min-width: 120px;
  max-width: 200px;
  background: rgba(0, 123, 255, 0.95);
  color: white;
  padding: 10px 18px;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: bold;
  z-index: 1000;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  opacity: 1;
}

.scroll-indicator.last-spurt {
  background: #ff4757 !important;
  transform: scale(1.05);
}

.scroll-indicator.final-step {
  background: #28a745 !important;
  font-size: 0.75rem;
  transform: scale(1.1);
  box-shadow: 0 0 20px rgba(40, 167, 69, 0.6);
}

.indicator-icon {
  margin-right: 6px;
  display: inline-block;
  animation: bounce 1.2s infinite;
}

.scroll-button {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  background: #1a73e8;
  color: #fff !important;
  padding: 20px 40px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  box-shadow: 0 4px 15px rgba(26, 115, 232, 0.3);
  transition: transform 0.2s;
}

.scroll-button:hover {
  transform: translateY(3px);
}

.btn-sub {
  font-size: 14px;
  margin-bottom: 5px;
  opacity: 0.9;
}

.btn-main {
  font-size: 20px;
}

.btn-arrow {
  margin-top: 5px;
  font-size: 20px;
  animation: jumping 1.5s infinite;
}

/* =========================================================
   13. アニメーション
   ========================================================= */
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(5px); }
}

@keyframes jumping {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(5px); }
}

/* =========================================================
   14. プロフィール & フッター
   ========================================================= */
.lp-footer-utility-link {
  text-align: right;
  margin: 15px 0 5px;
  padding-top: 10px;
  border-top: 1px solid #eee;
}

.lp-footer-utility-link a {
  color: #666;
  text-decoration: none;
  font-size: 0.875rem;
  display: inline-flex;
  align-items: center;
  transition: all 0.2s ease;
  margin-right: 50px;
}

.lp-footer-utility-link a::before {
  content: "📖";
  margin-right: 5px;
  font-size: 0.875rem;
}

.lp-footer-utility-link a:hover {
  color: #1a73e8;
  text-decoration: underline;
}

.company-footer {
  text-align: center;
  padding: 30px 0;
  background: var(--primary-color);
  font-size: 0.875rem;
  color: #ffffff;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 10px;
}

.footer-links a {
  text-decoration: none;
  color: inherit;
}

/* =========================================================
   15. グローバル調整・上書き
   ========================================================= */
.sticky-rail {
  pointer-events: none !important;
  position: absolute !important;
  top: 0 !important;
  height: 100% !important;
  z-index: 1000 !important;
}

.cta-fixed {
  pointer-events: auto !important;
  position: fixed !important;
  bottom: 30px !important;
  left: 0 !important;
  right: 0 !important;
  top: auto !important;
  display: flex !important;
  justify-content: flex-end;
  width: 100%;
  z-index: 9999 !important;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.cta-fixed .btn-primary {
  width: 90%;
  max-width: 340px;
  padding: 18px 12px;
  font-size: 1.1rem;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 123, 255, 0.274);
}

.sticky-rail .cta-fixed,
.lp-faq-section .cta-fixed {
  display: none !important;
}

.report-img-placeholder {
  position: relative;
  z-index: 1;
}

.report-img-placeholder .label {
  z-index: 20;
  pointer-events: none;
}

.report-img-placeholder img {
  z-index: 15;
}

.report-img-placeholder:hover .label {
  opacity: 0;
}

/* =========================================================
   16. スマホレイアウト用メディアクエリ (768px以下)
   ========================================================= */
@media (max-width: 768px) {
  .cta-area .btn-primary {
    width: 90%;
    max-width: 320px;
    padding: 16px 10px !important;
    font-size: clamp(0.875rem, 4vw, 1.125rem);
  }

  .cta-fixed {
    top: auto !important;
    bottom: 30px !important;
    padding-right: 0;
    justify-content: center !important;
    margin: 30px auto !important;
  }

  .cta-fixed .btn-primary {
    width: 90%;
    text-align: center;
  }

  .sticky-rail {
    height: 5550px;
    position: absolute !important;
    top: 0 !important;
    z-index: 1000 !important;
  }

  .point-card {
    padding: 25px 20px;
    gap: 20px;
    flex-direction: row;
  }

  .card-icon {
    width: 50px;
    height: 50px;
    padding: 10px;
  }

  .point-card h3 {
    font-size: 1.125rem;
  }

  .point-card p {
    font-size: 0.875rem;
  }

  .pain-content-wrapper {
    flex-direction: column;
    gap: 30px;
  }

  .pain-image .model-image {
    text-align: center;
    order: 1;
  }

  .pain-text {
    order: 2;
    padding: 0 10px;
  }

  .pain-title {
    font-size: 1.25rem;
    margin-bottom: 40px;
  }

  .check-list li {
    font-size: 0.9375rem;
    padding-left: 40px;
  }

  .logic-diagram {
    flex-direction: column;
    gap: 10px;
    align-items: center;
  }

  .logic-box,
  .logic-result {
    width: 100%;
    max-width: 320px;
    padding: 16px 20px;
    font-size: 1rem;
    min-width: 0;
    flex: none;
  }

  .operator {
    display: block;
    font-size: 1.5rem;
    padding: 5px 0;
    margin: 0;
  }

  .equal {
    display: block;
    width: 100%;
    text-align: center;
    font-size: 1.75rem;
    margin: 5px 0;
  }

  .pillar-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .pillar {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    padding: 25px;
    gap: 0 20px;
  }

  .pillar-icon-box {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    margin: 0;
  }

  .pillar h4 {
    width: calc(100% - 80px);
    font-size: 1rem;
    margin-bottom: 8px;
    line-height: 1.3;
    display: block;
  }

  .pillar p {
    width: calc(100% - 80px);
    margin-left: 80px;
    margin-top: -5px;
    font-size: 0.8125rem;
    line-height: 1.6;
  }

  .report-img-placeholder {
    height: 250px;
  }

  .view-btn {
    font-size: 0.875rem;
    padding: 10px 20px;
  }

  .google-form-wrapper {
    height: 80vh !important;
    min-height: 500px;
    -webkit-overflow-scrolling: touch;
    border-radius: 15px;
    overflow-y: auto !important;
  }

  .google-form-wrapper iframe {
    min-height: 1100px !important;
  }

  .scroll-indicator {
    min-width: 120px;
    max-width: 180px;
    padding: 10px 14px;
    font-size: 0.85rem;
  }

  .scroll-indicator.last-spurt {
    padding: 10px 20px;
  }

  .scroll-indicator.final-step {
    font-size: 0.75rem;
    padding: 10px 16px;
  }

  html,
  body {
    scroll-behavior: auto !important;
    overflow-x: hidden;
    position: relative;
    display: block !important;
  }

  .hero-flex,
  .point-grid,
  .pain-content-wrapper,
  .pillar-grid,
  .report-grid,
  .profile-flex {
    flex-direction: column;
  }

  .section {
    padding: 60px 0;
  }

  .profile-section {
    padding: 50px 20px;
  }

  .profile-flex {
    gap: 30px;
    text-align: center;
  }

  #diagnosis-form:target ~ .cta-fixed,
  #diagnosis-form:focus-within ~ .cta-fixed {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }

  .form-wrapper {
    padding: 30px;
  }

  #diagnosis-form,
  .form-section {
    position: relative;
    order: 99;
    top: auto !important;
    left: auto !important;
    z-index: 10;
    scroll-margin-bottom: 120px;
  }

  #diagnosis-form::before {
    content: "";
    display: block;
    height: 500px;
    margin-top: -200px;
    visibility: hidden;
    pointer-events: none;
  }
}
