/* Base Styles & Reset */
body {
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  margin: 0;
  padding: 0;
  /* フローティングボタン削除に伴い、下部の余白 90px をカット */
  padding-bottom: 0;
  color: #333;
  line-height: 1.6;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
.container {
  width: 90%;
  max-width: 1000px;
  margin: 0 auto;
  /* 上下余白を 40px から調整 */
  padding: 40px 0;
}
.text-center {
  text-align: center;
}

/* 最下部ロゴセクションのパディングを調整してフッターとの隙間をカット */
.section-logos {
  padding-bottom: 10px;
}

/* Modern Button Styles */
.btn {
  display: inline-block;
  padding: 16px 45px;
  background: linear-gradient(135deg, #ff9800 0%, #e60012 100%);
  color: #fff;
  text-decoration: none;
  border-radius: 50px;
  font-weight: bold;
  font-size: 1.05rem;
  letter-spacing: 0.05em;
  text-align: center;
  box-shadow: 0 4px 15px rgba(230, 0, 18, 0.3);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  position: relative;
  overflow: hidden;
}

/* 斜めに鋭く光るアニメーション */
.btn::after {
  content: '';
  position: absolute;
  top: -100%;
  left: -100%;
  width: 30%;
  height: 300%;
  background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.4) 50%, rgba(255,255,255,0) 100%);
  transform: rotate(35deg);
  transition: all 0.6s ease;
}
.btn:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(230, 0, 18, 0.4); }
.btn:hover::after { left: 150%; top: -50%; }
.btn:active { transform: translateY(1px); box-shadow: 0 3px 10px rgba(230, 0, 18, 0.3); }

/* Flex/Grid Layouts */
.flex-row { display: flex; flex-wrap: wrap; gap: 20px; }
.col-half { flex: 1 1 calc(50% - 20px); min-width: 300px; }

/* Header Banner */
.header-banner {
  width: 100%;
  position: relative;
  z-index: 4;
  line-height: 0;
}
.header-banner img {
  width: 100%;
  height: auto;
  display: block;
}

/* Hero Section */
.hero {
  position: relative;
  background-color: #111;
  color: #fff;
  text-align: center;
  padding: 40px 20px 60px;
  overflow: hidden;
  min-height: 500px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.hero-video {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  object-fit: cover;
  z-index: 1;
}
.hero-overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 2;
}
.hero h1, .hero .offer-box, .hero .btn {
  position: relative;
  z-index: 3;
}
.hero h1 {
  font-size: 2rem;
  margin-top: 20px;
  margin-bottom: 10px;
  line-height: 1.5;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.offer-box {
  border: 2px solid #fff;
  padding: 20px;
  margin: 20px auto;
  max-width: 400px;
  background: rgba(0,0,0,0.3);
  border-radius: 12px;
}
.offer-box h2 { font-size: 1.4rem; margin: 15px 0; }
.highlight-off {
  display: block;
  font-size: 3.5rem;
  color: #ffeb3b;
  font-weight: 900;
  line-height: 1.1;
  margin-top: 8px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8), 0 0 20px rgba(255, 235, 59, 0.6);
  transform: scale(1.05);
}
.offer-box p.redbaron-limited {
  color: #e60012;
  font-weight: 900;
  font-size: 1.4rem;
  margin: 5px 0;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

/* Concept Area */
.concept-area {
  position: relative;
  border-radius: 12px;
  padding: 60px 30px;
  margin: 40px auto;
  max-width: 800px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
  overflow: hidden;
  color: #fff;
}
.concept-area::before {
  content: '';
  position: absolute;
  top: -5px; left: -5px; right: -5px; bottom: -5px;
  background-image: url('../img/bike02.webp');
  background-size: cover;
  background-position: center;
  filter: blur(2px);
  z-index: 1;
}
.concept-area::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.2) 100%);
  z-index: 2;
}
.concept-area-content { position: relative; z-index: 3; text-shadow: 0 2px 8px rgba(0,0,0,0.8); }
.concept-area h2 { font-size: 2rem; color: #ffeb3b; margin-bottom: 20px; letter-spacing: 0.05em; }

/* Campaign Details */
.campaign-details { background: #f9f9f9; }
.campaign-details h2 { margin-top: 0; }
.campaign-list { list-style: none; padding: 0; }
.campaign-list li { margin-bottom: 15px; border-bottom: 1px solid #ddd; padding-bottom: 10px; }

/* Facilities Grid */
.facilities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 20px;
  text-align: center;
}
.facility-item {
  background: #fff;
  padding: 25px 10px;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: bold;
  color: #333;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  border: 1px solid #f4f4f4;
  transition: transform 0.3s ease;
}
.facility-item:hover { transform: translateY(-4px); }

/* Flow Accordion */
.flow-accordion { margin: 40px auto 20px; max-width: 800px; text-align: center; }
.flow-accordion summary { list-style: none; cursor: pointer; outline: none; }
.flow-accordion summary::-webkit-details-marker { display: none; }
.accordion-icon { display: inline-block; transition: transform 0.3s ease; }
.flow-accordion[open] summary .accordion-icon { transform: rotate(180deg); }
.flow-container { margin-top: 30px; text-align: left; }
.flow-step {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 25px;
  border: 1px solid #eee;
  position: relative;
}
.flow-step-number { font-size: 2.5rem; font-weight: 900; color: #e60012; min-width: 50px; text-align: center; font-style: italic; }
.flow-image { width: 150px; height: 150px; border-radius: 8px; object-fit: cover; flex-shrink: 0; background-color: #f4f4f4; }
.flow-text a.app-link { color: #e60012; font-weight: bold; text-decoration: underline; transition: opacity 0.3s ease; }
.flow-arrow { text-align: center; color: #ccc; margin: 15px 0; }
.flow-arrow .material-icons { font-size: 3rem; }
.note-text {
  margin-top: 30px;
  font-size: 0.95rem;
  color: #666;
  background: #fff;
  padding: 15px;
  border-radius: 8px;
  border-left: 4px solid #ff9800;
  text-align: left;
}

/* Report */
.report-article-link {
  display: flex;
  align-items: center;
  gap: 20px;
  border: 1px solid #eee;
  padding: 20px;
  border-radius: 12px;
  max-width: 800px;
  margin: 0 auto;
  background: #fff;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
  overflow: hidden;
}
.report-article-link:hover { transform: translateY(-3px); box-shadow: 0 8px 25px rgba(0,0,0,0.1); }
.report-image-wrapper { flex: 1; min-width: 250px; height: 180px; border-radius: 8px; overflow: hidden; }
.report-image-wrapper img { width: 100%; height: 100%; object-fit: cover; }

/* FAQ */
.faq-section { background: #fdfdfd; padding: 60px 0; border-top: 1px solid #eee; }
.faq-container { max-width: 800px; margin: 0 auto; }
.faq-q { margin-top: 30px; }
.faq-q h3 { font-size: 1.15rem; color: #333; margin: 0; display: flex; gap: 10px; align-items: flex-start; }
.faq-q .q-icon { background: #e60012; color: #fff; min-width: 24px; height: 24px; display: flex; align-items: center; justify-content: center; border-radius: 4px; font-size: 0.8rem; font-weight: 900; margin-top: 2px; }
.faq-a { font-size: 1rem; color: #555; padding: 10px 0 0 34px; line-height: 1.8; margin: 0; }

/* Footer */
.footer {
  background: #333;
  color: #fff;
  text-align: center;
  /* 上下余白を 40px から 25px にカット */
  padding: 25px 20px;
}

.concept-highlight {
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.7)), url('../img/rider.webp');
  background-size: cover;
  background-position: center;
  color: #fff;
  padding: 60px 30px;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.3);
  margin-top: 30px;
  text-align: center;
  font-weight: bold;
  line-height: 2;
  font-size: 1.2rem;
  text-shadow: 0 2px 4px rgba(0,0,0,0.8);
  letter-spacing: 0.05em;
}

/* Media Queries for SP */
@media (max-width: 768px) {
  .hero h1 { margin-top: 20px; font-size: 1.5rem; line-height: 1.5; }
  .highlight-off { font-size: 2.8rem; }
  .concept-area { padding: 40px 20px; }
  .concept-area h2 { font-size: 1.5rem; }
  .flex-row { flex-direction: column; }
  .col-half { flex: 1 1 100%; }
  .report-article-link { flex-direction: column; text-align: center; }
  .report-image-wrapper { width: 100%; height: auto; aspect-ratio: 16/9; }
  .flow-step { flex-direction: column; text-align: center; padding: 30px 20px; gap: 15px; }
  .flow-image { width: 100%; height: 180px; }
  .flow-step-number { position: absolute; top: -15px; left: 20px; background: #fff; padding: 0 10px; font-size: 2rem; }
  .offer-box p.redbaron-limited { font-size: 1.2rem; }
}


/* --- スマートフォン限定のバイク走行アニメーション --- */
@media (max-width: 768px) {
  .mobile-bike-animation {
    position: fixed;
    top: -50px;
    right: -50px;
    font-size: 3rem;
    z-index: 9999;
    pointer-events: none; /* クリックを邪魔しない */
    /* アニメーション設定: 4秒かけて1回、1秒遅れて開始 */
    animation: bikeRunDiagonal 4s linear 1s forwards;
    display: block;
  }

  @keyframes bikeRunDiagonal {
    0% {
      transform: translate(0, 0) rotate(-15deg);
      opacity: 0;
    }
    5% {
      opacity: 1;
    }
    90% {
      opacity: 1;
    }
    100% {
      /* 右上から左下方向へ画面外まで移動 */
      transform: translate(-120vw, 120vh) rotate(-15deg);
      opacity: 0;
    }
  }
}

/* PCでは非表示 */
@media (min-width: 769px) {
  .mobile-bike-animation {
    display: none;
  }
}

/* シェアエリアのスタイル */
.share-container {
  margin-top: 25px;
  padding: 20px;
  background-color: #fff;
  border-radius: 12px;
  border: 1px solid #e1e8ed;
  text-align: center;
}

.share-label {
  font-size: 0.9rem;
  font-weight: bold;
  color: #555;
  margin-bottom: 12px;
}

.share-btn-x {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: #000; /* X Brand Color */
  color: #fff !important;
  text-decoration: none;
  padding: 10px 24px;
  border-radius: 50px;
  font-weight: bold;
  font-size: 0.95rem;
  transition: transform 0.2s ease, background-color 0.2s ease;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.share-btn-x:hover {
  transform: scale(1.05);
  background-color: #333;
}

.x-icon {
  width: 18px;
  height: 18px;
  fill: #fff;
}

/* スマホ表示の最適化 */
@media (max-width: 768px) {
  .share-container {
    margin-top: 15px;
    padding: 15px;
  }
  .share-btn-x {
    width: 100%;
    box-sizing: border-box;
  }
}
