@charset "UTF-8";

/* ベース設定 */
html {
  scroll-behavior: smooth;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background-color: #0b192c;
  color: #ffffff;
  margin: 0;
  padding: 0;
}

body {
  margin: 0;
  padding: 0 0 80px 0;
  line-height: 1.6;
}

/* ヘッダー */
.site-header {
  background: rgba(11, 25, 44, 0.95);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 12px 16px;
}

.header-inner {
  max-width: 1024px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.site-title {
  font-size: 1.25rem;
  font-weight: bold;
  margin: 0;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

/* メインコンテナ */
.main-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px 16px;
}

/* ポイントセクション */
.point-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 48px;
  text-align: center;
}

.point-badge {
  background-color: #065ad1;
  color: #ffffff;
  font-weight: bold;
  font-size: 0.9rem;
  padding: 4px 16px;
  border-radius: 20px;
  margin-bottom: 8px;
}

.point-title {
  font-size: 1.3rem;
  margin: 4px 0;
  color: #ffffff;
}

.point-description {
  font-size: 0.95rem;
  color: #d1d5db;
  margin-bottom: 12px;
}

.point-img-wrap {
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.point-img-wrap img {
  width: 100%;
  height: auto;
  display: block;
}

/* 共通セクション見出し */
.section-heading {
  font-size: 1.4rem;
  text-align: center;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 8px;
}

.section-heading::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background-color: #065ad1;
  border-radius: 2px;
}

/* プラン比較表テーブル */
.plan-section {
  margin-bottom: 50px;
}

.plan-table-wrapper {
  overflow-x: auto;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  border-radius: 8px;
}

.plan-table {
  width: 100%;
  border-collapse: collapse;
  background-color: #1e293b;
  text-align: left;
  font-size: 0.9rem;
}

.plan-table th,
.plan-table td {
  padding: 12px;
  border: 1px solid #334155;
}

.plan-table th {
  background-color: #0f172a;
  text-align: center;
  vertical-align: middle;
}

.plan-table th.free-col {
  width: 30%;
  background-color: #1e293b;
}

.plan-table th.paid-col {
  width: 35%;
  background-color: #1e3a8a;
  color: #ffffff;
}

.plan-table td {
  text-align: center;
}

.plan-table td:first-child {
  text-align: left;
  font-weight: bold;
  background-color: #0f172a;
}

.price {
  font-size: 1.1rem;
  font-weight: bold;
  color: #38bdf8;
}

.price-sub {
  font-size: 0.8rem;
  color: #facc15;
}

/* 決済エリア */
.pay-container {
  margin-bottom: 50px;
  text-align: center;
}

.pay-main-title {
  font-size: 1.3rem;
  margin-bottom: 20px;
}

.pay-panel {
  max-width: 500px;
  margin: 0 auto 20px auto;
  background-color: #ffffff;
  border: 2px solid #065ad1;
  border-radius: 8px;
  padding: 16px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
  position: relative;
}

.pay-text {
  color: #065ad1;
  font-weight: bold;
  margin: 0 0 12px 0;
  font-size: 1.05rem;
}

.pay-list {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.pay-img {
  flex: 1;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pay-img img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.pay-button {
  flex: 1;
  height: 44px;
  background-color: #065ad1;
  color: #ffffff;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s, transform 0.1s;
}

.pay-button:hover {
  background-color: #0443a0;
}

/* PayPay専用 */
.paypay-panel {
  border-color: #ff0033;
}

.paypay-panel .pay-text {
  color: #ff0033;
}

.paypay-button {
  background-color: #ff0033;
}

.paypay-button:hover {
  background-color: #cc002a;
}

.new-badge {
  position: absolute;
  top: -10px;
  left: 12px;
  background-color: #ff0033;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: bold;
  padding: 2px 8px;
  border-radius: 10px;
}

/* Q&A / FAQ */
.faq-section {
  margin-bottom: 60px;
}

.faq-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background-color: #1e293b;
  border: 1px solid #334155;
  border-radius: 6px;
  overflow: hidden;
}

.faq-question {
  padding: 14px 16px;
  font-weight: bold;
  cursor: pointer;
  background-color: #0f172a;
  outline: none;
  position: relative;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::after {
  content: "＋";
  float: right;
  color: #38bdf8;
  font-weight: bold;
}

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

.faq-answer {
  padding: 14px 16px;
  border-top: 1px solid #334155;
  color: #cbd5e1;
  font-size: 0.95rem;
}

.faq-answer p {
  margin: 0;
}

/* ボトム固定ナビ */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 60px;
  background-color: #0f172a;
  border-top: 1px solid #334155;
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 0 10px;
  box-sizing: border-box;
  z-index: 1000;
}

.nav-item a {
  color: #ffffff;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-search {
  flex: 1;
  max-width: 200px;
  margin: 0 8px;
}

.search-form {
  display: flex;
  gap: 4px;
}

.search-input {
  width: 100%;
  padding: 6px 8px;
  border-radius: 4px;
  border: 1px solid #334155;
  background-color: #1e293b;
  color: #ffffff;
  font-size: 0.85rem;
}

.search-button {
  padding: 6px 10px;
  border-radius: 4px;
  border: none;
  background-color: #0284c7;
  color: #ffffff;
  font-size: 0.8rem;
  cursor: pointer;
  white-space: nowrap;
}

/* TOPに戻るボタン */
#page-top {
  position: fixed;
  right: 12px;
  bottom: 80px;
  background-color: rgba(15, 23, 42, 0.8);
  color: #94a3b8;
  border: 1px solid #334155;
  padding: 8px 12px;
  border-radius: 20px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.8rem;
  z-index: 900;
}

/* テキスト詳細エリアのCSS */
.point-lead {
  font-size: 1rem;
  color: #38bdf8;
  margin: 4px 0 16px 0;
  font-weight: 500;
}

.point-details {
  width: 100%;
  background-color: #1e293b;
  border-left: 4px solid #065ad1;
  border-radius: 4px;
  padding: 12px 16px;
  margin-bottom: 16px;
  text-align: left;
  box-sizing: border-box;
}

.point-details ul {
  margin: 0;
  padding-left: 20px;
}

.point-details li {
  margin-bottom: 6px;
  font-size: 0.9rem;
  color: #e2e8f0;
}

.point-details li:last-child {
  margin-bottom: 0;
}

.point-details strong {
  color: #ffffff;
}