* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background: #f8f9fa;
}

/* 通知バー */
.notification-bar {
  position: fixed;
  top: 0;
  width: 100%;
  background: linear-gradient(135deg, #007CD3 0%, #00EEF9FF 100%);
  color: white;
  text-align: center;
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 500;
  z-index: 1001;
  overflow: hidden;
}

.notification-bar::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.1);
  animation: shimmer 3s infinite;
}

@keyframes shimmer {
  0% {
    left: -100%;
  }
  100% {
    left: 100%;
  }
}

.notification-bar span {
  background: rgba(255, 255, 255, 0.2);
  padding: 4px 12px;
  border-radius: 4px;
  margin-left: 10px;
}

/* ヘッダー（固定） */
header {
  position: fixed;
  top: 38px;
  width: 100%;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  z-index: 1000;
  transition: all 0.3s ease;
}

header .logo {
  display: flex; /* 親をflexにする */
  align-items: center; /* 子要素を縦方向中央揃え */
  height: 100%; /* 高さは header-container に合わせる */
}

header .logo-img {
  height: 60px; /* お好みの高さ */
  display: block; /* 画像の余白防止 */
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-cta {
  background: linear-gradient(135deg, #06C755 0%, #4BE182 100%);
  color: white;
  padding: 12px 28px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(247, 170, 26, 0.3);
}

.header-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(247, 170, 26, 0.4);
}

/* ファーストビュー */
.hero {
  margin-top: 118px;
  min-height: calc(100vh - 118px);
  background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
      circle at 30% 20%,
      rgba(247, 170, 26, 0.08) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 80%,
      rgba(232, 152, 6, 0.08) 0%,
      transparent 50%
    );
  animation: float 20s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }
  33% {
    transform: translate(-20px, -20px) rotate(1deg);
  }
  66% {
    transform: translate(20px, -10px) rotate(-1deg);
  }
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  z-index: 1;
}

.hero-visual {
  position: relative;
  height: 500px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  background: #fff9f0;
}

.visual-content {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.visual-content::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(
    circle,
    rgba(247, 170, 26, 0.3) 2px,
    transparent 2px
  );
  background-size: 30px 30px;
  opacity: 0;
  animation: particle-fade 6s infinite;
}

@keyframes particle-fade {
  0%,
  40%,
  100% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
}

.video-area {
  height: 100%;
  width: 100%;
  max-width: 320px; /* 赤枠の横幅に合わせて調整 */
  aspect-ratio: 9 / 16; /* 縦長に保つ */
  border-radius: 12px;
  overflow: hidden;
  margin: 0 auto; /* 中央寄せ */
  display: flex;
  align-items: center;
  justify-content: center;
}

.portrait-video {
  width: 100%;
  object-fit: cover; /* 必要に応じて contain に変更可 */
  border-radius: 8px;
}

/*.image-placeholder {
    position: absolute;
    width: 80%;
    height: 70%;
    background: linear-gradient(135deg, #ffe8cc 0%, #ffd4a3 100%);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transform: scale(1);
    transition: all 0.8s ease;
    overflow: hidden;
}

.image-placeholder::before {
    content: '';
    width: 60%;
    height: 50%;
    background: linear-gradient(135deg, #cbd5e1 0%, #94a3b8 100%);
    border-radius: 8px;
    margin-bottom: 20px;
}

.image-placeholder::after {
    content: '静止画';
    font-size: 18px;
    color: #007CD3;
    font-weight: 600;
}

.video-placeholder {
    position: absolute;
    width: 80%;
    height: 70%;
    background: linear-gradient(135deg, #007CD3 0%, #00EEF9FF 100%);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0.95);
    transition: all 0.8s ease;
    position: relative;
    overflow: hidden;
}

.video-placeholder::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.2) 50%, transparent 100%);
    animation: shimmer 2s infinite;
}

.play-button {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    z-index: 1;
}

.play-button::before {
    content: '';
    width: 0;
    height: 0;
    border-left: 25px solid white;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    margin-left: 8px;
}

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

.transition-indicator {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 10px 24px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}*/

.hero-content {
  z-index: 1;
}

.hero h1 {
  font-size: clamp(32px, 5vw, 43px);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: #1a202c;
  letter-spacing: -1px;
}

.hero h1 span {
  background: linear-gradient(135deg, #007CD3 0%, #00EEF9FF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: clamp(18px, 2vw, 20px);
  color: #64748b;
  margin-bottom: 3rem;
  font-weight: 400;
  line-height: 1.6;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  background: linear-gradient(135deg, #06C755 0%, #4BE182 100%);
  color: white;
  padding: 18px 40px;
  font-size: 18px;
  font-weight: 600;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(247, 170, 26, 0.3);
  position: relative;
  overflow: hidden;
  animation: pulse-shadow 2s infinite;
}

@keyframes pulse-shadow {
  0%,
  100% {
    box-shadow: 0 10px 30px rgba(247, 170, 26, 0.3);
  }
  50% {
    box-shadow: 0 10px 40px rgba(247, 170, 26, 0.5);
  }
}

.cta-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.2);
  transition: left 0.5s ease;
}

.cta-button:hover::before {
  left: 100%;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(247, 170, 26, 0.4);
}


/* ラッパー */
.cta-wrap{
  display:inline-flex;
  flex-direction:column;
  align-items:center;
  gap:8px;
}

/* 上のラベル */
.cta-label{
  display:flex;
  align-items:center;
  gap:6px;
  font-size:14px;
  line-height:1;
}

.cta-label .label-sub{
  color:#556070;       /* グレー寄せで控えめに */
  font-weight:600;
  letter-spacing:.02em;
}

.cta-label .label-main{
  background:#007CD3;  /* ブランドオレンジ */
  color:#fff;
  font-weight:600;
  padding:5px 9px;
  border-radius:4px;
  font-size:14px;
  box-shadow:0 2px 6px rgba(0,0,0,.08);
}

/* 既存ボタンに合わせる軽微調整 */
.cta-wrap .cta-button{
  /* 既存の .cta-button スタイルはそのまま使用 */
  position:relative;
}

/* SP微調整 */
@media (max-width: 767px){
  .cta-wrap{
    width: 100%;
    gap:10px;
  }
  .cta-label{
    font-size:14px;
  }
  .cta-label .label-main{
    font-size:14px;
    padding:4px 8px;
  }
  .cta-wrap .cta-button{
    padding-right:44px;
  }
  .cta-arrow{
    right:18px;
  }
}




/* サービス概要 */
.service-overview {
  background: white;
  padding: 80px 20px;
  text-align: center;
  position: relative;
}

.service-overview::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    #6c99d0,
    transparent
  );
}

.section-header {
  display: inline-block;
  background: #e2efff;
  color: #007CD3;
  padding: 8px 24px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
}

.section-title {
  font-size: clamp(32px, 4vw, 42px);
  font-weight: 700;
  margin-bottom: 20px;
  color: #1a202c;
}

.service-description {
  font-size: 18px;
  color: #64748b;
  max-width: 700px;
  margin: 0 auto 20px;
  line-height: 1.8;
}

.service-video {
  width: 90%;
  max-width: 800px;
  margin: 20px auto;
  border-radius: 10px;
}

.service-overview .cta-button {
  display: block;
  width: 35%;
  margin: 20px auto 0;
  text-align: center;
}

/* How to use */
.how-to-use {
  background: #f8f9fa;
  padding: 80px 20px;
  text-align: center;
}

.steps-container {
  max-width: 800px;
  margin: 60px auto 0;
}

.step-item {
  background: white;
  padding: 40px;
  margin-bottom: 30px;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  gap: 30px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.step-item:hover {
  transform: translateX(10px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.step-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(135deg, #007CD3 0%, #00EEF9FF 100%);
}

.step-number {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #007CD3 0%, #00EEF9FF 100%);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
}

.step-content {
  text-align: left;
  flex: 1;
}

.step-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 8px;
  color: #1a202c;
}

.step-description {
  color: #64748b;
  line-height: 1.6;
}

/* ユーザーの声 */
.testimonials {
  background: white;
  padding: 80px 20px;
  text-align: center;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 60px auto 0;
}

.testimonial-card {
  background: #f8f9fa;
  padding: 30px;
  border-radius: 16px;
  position: relative;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 20px;
  left: 25px;
  font-size: 48px;
  color: #6c99d0;
  font-family: Georgia, serif;
}

.testimonial-text {
  color: #475569;
  line-height: 1.7;
  margin-bottom: 20px;
  margin-top: 20px;
}

.testimonial-author {
  font-weight: 600;
  color: #1a202c;
}

/* FAQ */
.faq {
  background: #f8f9fa;
  padding: 80px 20px;
  text-align: center;
}

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

.faq-item {
  background: white;
  margin-bottom: 20px;
  border-radius: 12px;
  text-align: left;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.faq-question {
  padding: 25px 30px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  color: #1a202c;
  transition: all 0.3s ease;
}

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

.faq-question::after {
  content: "+";
  font-size: 24px;
  color: #007CD3;
  transition: transform 0.3s ease;
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer-content {
  padding: 0 30px 25px;
  color: #64748b;
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  max-height: 300px;
}

/* 最終CTA */
.final-cta {
  background: linear-gradient(135deg, #007CD3 0%, #00EEF9FF 100%);
  color: white;
  text-align: center;
  padding: 80px 20px;
  position: relative;
  overflow: hidden;
}

.final-cta::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.1) 0%,
    transparent 70%
  );
  animation: rotate 30s linear infinite;
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.final-cta h2 {
  font-size: clamp(32px, 4vw, 42px);
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
  text-align: center;
  /*  */
  line-height: 1.4;
}

/* デフォルトではbrタグを非表示 */
.mobile-break {
  display: none;
}

/* スマホサイズでのみbrタグを表示 */
@media (max-width: 768px) {
  .mobile-break {
    display: inline;
  }
}

.final-cta p {
  font-size: 20px;
  margin-bottom: 40px;
  opacity: 0.9;
  position: relative;
  z-index: 1;
}

.final-cta .cta-button {
  background: white;
  color: #007CD3;
  position: relative;
  z-index: 1;
}

.final-cta .cta-button:hover {
  background: #f8fafc;
}

/* フッター */
footer {
  background: #1a202c;
  color: #94a3b8;
  padding: 40px 20px;
  text-align: center;
}

/* ===== Footer Banners ===== */
.footer-banners{
  padding: 16px 20px;             /* フッター内の余白に合わせて調整 */
  background: transparent;        /* 既存フッターの色を使うなら transparent のまま */
}

.footer-banners__inner{
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* PC：4カラム */
  gap: 16px;
}

/* バナー自体（16:4で横長） */
.footer-banner{
  position: relative;
  display: block;
  border-radius: 5px;
  overflow: hidden;
  background: linear-gradient(135deg, #1e293b, #0f172a); /* 画像未設定時のプレースホルダ */
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 6px 18px rgba(0,0,0,0.18);
  transition: transform .18s ease, box-shadow .18s ease, opacity .18s ease;
}

.footer-banner:hover{
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.24);
  opacity: 0.98;
}

/* 画像フィット */
.footer-banner img{
  width: 100%;
  height: 100%;
  object-fit: cover;               /* トリミングして枠にフィット */
  display: block;
}

/* ダークフッター上でも映える微細な境界線（任意） */
@media (prefers-color-scheme: dark){
  .footer-banner{ border-color: rgba(255,255,255,0.12); }
}



/* レスポンシブ */
@media (max-width: 768px) {
  header .logo-img {
    height: 40px; /* お好みの高さ */
  }

  .header-container {
    padding: 1rem;
  }

  .header-cta {
    padding: 10px 20px;
    font-size: 14px;
  }

  .hero {
    min-height: auto;
    margin-top: 100px;
    padding: 40px 10px;
  }

  .hero-container {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 0 10px;
  }

  .hero-visual {
    order: 1;
  }

  .hero-content {
    order: 2;
    text-align: center;
  }

  .service-overview .cta-button {
    width: 90%;
  }

  .step-item {
    flex-direction: column;
    text-align: center;
  }

  .step-content {
    text-align: center;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  /* SP（2カラム×2段） */
  .footer-banners{
    padding: 0 0 16px;
  }
  .footer-banners__inner{
    grid-template-columns: repeat(2, 1fr); /* SP：2カラム */
    gap: 12px;
  }
}

/* 微細なテクスチャ */
body::after {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.015;
  z-index: 1;
  pointer-events: none;
  background-image: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 35px,
    rgba(0, 0, 0, 0.01) 35px,
    rgba(0, 0, 0, 0.01) 70px
  );
}

* {
  position: relative;
  z-index: 2;
}

/* アニメーション用のクラス */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
