*,
*::before,
*::after {
    box-sizing: border-box;
}
body {
    margin: 0;
    padding: 0;

}

html {
    font-family: "游明朝", YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", serif;
}



/* =========================
   Hero本体
========================= */

.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
  color: #fff;
}

/* 背景画像を擬似要素で表示 */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;

  background: url("../img/eyecatch.webp") center / cover no-repeat;

  opacity: 0;
  animation: fadeBg 1s ease-out forwards;
}

/* 暗いオーバーレイ */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

/* コンテンツ */
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  top: 50%;
  transform: translateY(-50%);
}

/* =========================
   タイトル
========================= */

.hero-title {
  font-size: 2.5rem;
  margin-bottom: 30px;

  opacity: 0;
  transform: translateY(30px);

  animation: fadeUpTitle 0.6s ease-out 1s forwards;
}

/* =========================
   CTAボタン
========================= */

.cta-button {
  display: inline-block;
  padding: 14px 30px;
  background: #ffffff;
  color: #000;
  text-decoration: none;
  font-weight: bold;

  opacity: 0;
  transform: translateY(20px);

  animation: fadeUpBtn 0.6s ease-out 1.2s forwards;
}

/* =========================
   キーフレーム
========================= */

@keyframes fadeBg {
  to { opacity: 1; }
}

@keyframes fadeUpTitle {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeUpBtn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.lp-header {
    position: absolute;
    top: 20px;
    left: 0;
    width: 100%;

    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    z-index: 10;
    color: #fff;
}

.lp-header .logo {
    width: 280px;
    height: auto;
    display: block;
}

.headadress {
    font-size: 18px;
    display: block;
}

.lp-header.scrolled {
    position: fixed;
    background: #fff;
    color: #000;
}

/* ポップアップ全体 */
.popup-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.5);
  display: none; /* 最初は非表示 */
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

/* ポップアップ本体 */
.popup-content {
  background: #ffffff;
  padding: 30px;
  border-radius: 8px;
  text-align: center;
  max-width: 320px;
  width: 80%;
  color: #000;
  position: relative;

  opacity: 0;
  transform: translateY(20px);
  animation: fadeUpPopup 0.3s ease-out forwards;
}

/* タイトル */
.popup-content h3 {
  margin-bottom: 20px;
  font-size: 1.2rem;
}

/* 選択ボタン */
.popup-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.popup-btn {
  display: block;
  padding: 12px;
  background-color: #000; /* CTAと反転色で目立たせる */
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
  transition: 0.2s;
}

.popup-btn:hover {
  background-color: #333;
}

/* 閉じるボタン */
.popup-close {
  position: absolute;
  top: 8px; right: 12px;
  font-size: 22px;
  cursor: pointer;
  color: #999;
  transition: 0.2s;
}
.popup-close:hover { color: #000; }

/* アニメーション */
@keyframes fadeUpPopup {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.case {
  padding: 120px 20px;
  background: #f5f5f5;
}

.case-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  font-size: 32px;
  margin-bottom: 60px;
}

.case-feature {
  position: relative;
}

.case-feature img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  display: block;
}

.case-overlay {
  position: absolute;
  bottom: 40px;
  left: 40px;
  color: #fff;
  background: rgba(0,0,0,0.5);
  padding: 20px 30px;
}
.case-copy {
  max-width: 800px;
  margin: 60px auto 0;
  text-align: center;
  line-height: 1.9;
  font-size: 18px;
}

.case-copy h3 {
  font-size: 26px;
  margin-bottom: 25px;
}

.case-copy strong {
  font-size: 20px;
}

/* =========================
   MOVIEセクション（LP統一版）
========================= */

.movie-section {
  padding: 120px 20px;
  background: #f5f5f5; /* caseと統一 */
}

.movie-inner {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.movie-title {
  font-size: 32px;
  margin-bottom: 60px;
  position: relative;
  display: inline-block;
}

/* タイトル下に上品なライン */
.movie-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 2px;
  background: #000;
  margin: 20px auto 0;
}

.movie-wrapper {
  position: relative;
  padding-top: 56.25%;
  overflow: hidden;
  background: #000;
}

/* 角丸は無し（建設＝直線的） */
.movie-wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* 控えめな浮き感 */
.movie-wrapper {
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  transition: 0.3s ease;
}

.movie-wrapper:hover {
  box-shadow: 0 20px 50px rgba(0,0,0,0.25);
}

/* =========================
   FAQセクション
========================= */

.faq-section {
  background: #fff;
  padding: 120px 20px;
}

.faq-inner {
  max-width: 900px;
  margin: 0 auto;
}

/* フェードイン用（初期状態） */
.fade-section {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s ease, transform 1s ease;
}

/* 表示状態 */
.fade-section.visible {
  opacity: 1;
  transform: translateY(0);
}

.faq-list {
  margin-top: 50px;
}

.faq-item {
  margin-bottom: 12px;
}

/* 質問ボタン */

.faq-question {
  width: 100%;
  text-align: left;
  padding: 22px 24px;
  font-size: 18px;
  background: #f5f5f5;
  border: none;
  cursor: pointer;
  position: relative;
  transition: background 0.3s ease;
}

.faq-question:hover {
  background: #ececec;
}

/* ＋ボタン */

.faq-question::after {
  content: "+";
  position: absolute;
  right: 24px;
  font-size: 22px;
  transition: transform 0.3s ease;
}

/* 回答 */

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.5s ease,
    opacity 0.4s ease,
    transform 0.4s ease;
  opacity: 0;
  transform: translateY(-10px);
  background: #fafafa;
  padding: 0 24px;
  border-left: 3px solid #000;
}

.faq-item.open .faq-answer {
  max-height: 500px;
  padding: 20px 24px;
  opacity: 1;
  transform: translateY(0);
}

.faq-item.open .faq-question::after {
  transform: rotate(45deg);
}

/* =========================
   比較セクション
========================= */

.comparison {
  padding: 120px 20px;
  background: #fff;
}

.comparison-inner {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.comparison-lead {
  max-width: 800px;
  margin: 0 auto 60px;
  font-size: 18px;
  line-height: 1.9;
}

/* テーブル */

.comparison-table-wrap {
  overflow-x: auto;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
}

.comparison-table th,
.comparison-table td {
  border: 1px solid #ddd;
  padding: 18px;
}

.comparison-table th {
  background: #f5f5f5;
  font-weight: normal;
}

.comparison-table tr:first-child th {
  font-weight: bold;
}

/* 強み強調 */
.highlight {
  font-weight: bold;
  background: #f9f9f9;
}

.foot {
    clear: both;
    background-color: rgba(20,32,19,0.7);
    color: #e6eee5;
    width: 100%;
    text-align: center;
    height: 100px;
    padding: 20px;
}

@media(max-width: 1024px) {
    .foot {
        width: 100%;
        text-align: center;
        height: auto;
        padding: 2vw 0 2vw;
        font-size: 50%;
    }
}

.foot p {
    margin: 0;
    padding: 0;
}
