@charset "UTF-8";

/* TOKYO SUBSIDY HERO BANNER */
.tokyo-subsidy-hero {
  background: linear-gradient(135deg, #06402B, #021f14);
  border-bottom: 1px solid var(--border-purple);
  padding: 70px 0;
}
.subsidy-hero-title {
  font-size: clamp(22px, 3.2vw, 34px);
  font-weight: 900;
  margin-bottom: 35px;
}
.gold-text {
  color: var(--gold);
  background: linear-gradient(45deg, #ffd700, #fff3a3);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.subsidy-card-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  max-width: 900px;
  margin: 0 auto 35px;
  flex-wrap: wrap;
}
.subsidy-badge-card {
  background: rgba(180, 255, 225, 0.06);
  border: 2px solid var(--octopus-pink);
  border-radius: 16px;
  padding: 25px 30px;
  text-align: center;
  flex: 1;
  min-width: 280px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}
.subsidy-card-header {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-sub);
  margin-bottom: 8px;
}
.subsidy-price {
  font-family: 'DM Sans', sans-serif;
  font-size: 20px;
  color: #ffffff;
  margin-bottom: 8px;
}
.subsidy-price strong {
  font-size: 48px;
  color: var(--gold);
}
.subsidy-cond {
  font-size: 12px;
  color: var(--text-sub);
  margin: 0;
}
.subsidy-plus {
  font-size: 36px;
  font-weight: 900;
  color: var(--octopus-pink);
}
.subsidy-footer-area {
  text-align: center;
  max-width: 750px;
  margin: 0 auto;
}
.subsidy-notice {
  font-size: 13.5px;
  color: var(--text-sub);
  margin-bottom: 25px;
  line-height: 1.7;
}
/* WEB SPEED DIAGNOSIS */
.speed-diagnosis-section {
  background: var(--octopus-green);
}
.diagnosis-card {
  max-width: 850px;
  margin: 0 auto;
  background: var(--octopus-card-bg);
  border: 2px solid var(--octopus-pink);
  border-radius: 20px;
  padding: 40px 30px;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.5);
}
.diag-group {
  margin-bottom: 30px;
  padding-bottom: 25px;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.15);
}
.diag-group:last-of-type {
  border-bottom: none;
  margin-bottom: 10px;
  padding-bottom: 0;
}
.diag-q-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.q-badge {
  background: var(--octopus-pink);
  color: #ffffff;
  font-family: 'DM Sans', sans-serif;
  font-weight: 900;
  font-size: 16px;
  padding: 4px 14px;
  border-radius: 20px;
}
.q-title {
  font-size: clamp(16px, 2.2vw, 19px);
  font-weight: 700;
  margin: 0;
}
.diag-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-left: 50px;
}
.diag-option {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  padding: 14px 18px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.diag-option:hover {
  background: rgba(255, 0, 128, 0.15);
  border-color: var(--octopus-pink);
}
.diag-option input[type="radio"] {
  display: none;
}
.radio-mark {
  width: 20px;
  height: 20px;
  border: 2px solid #8070b0;
  border-radius: 50%;
  margin-right: 14px;
  flex-shrink: 0;
  background: #ffffff;
  position: relative;
}
.diag-option input[type="radio"]:checked + .radio-mark {
  border-color: var(--octopus-pink);
  background: var(--octopus-pink);
}
.diag-option input[type="radio"]:checked + .radio-mark::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 8px; height: 8px;
  background: #ffffff;
  border-radius: 50%;
}
.option-text {
  font-size: 15px;
  color: #ffffff;
}
.note-gold {
  color: var(--gold);
  font-weight: 700;
}
.diag-status-hint {
  text-align: center;
  color: var(--text-sub);
  font-size: 13px;
  margin-top: 20px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
}
.diag-result-card {
  display: none;
  background: linear-gradient(135deg, #2b0050, #150030);
  border: 2px dashed var(--gold);
  border-radius: 16px;
  padding: 30px 24px;
  text-align: center;
  margin-top: 25px;
  box-shadow: 0 10px 30px rgba(255, 215, 0, 0.2);
}
.diag-result-card.show {
  display: block;
}
.result-header-badge {
  display: inline-block;
  background: var(--octopus-pink);
  color: #ffffff;
  font-size: 14px;
  font-weight: 900;
  padding: 4px 16px;
  border-radius: 20px;
  margin-bottom: 12px;
}
.result-headline {
  font-size: clamp(20px, 3vw, 26px);
  font-weight: 900;
  margin-bottom: 12px;
}
.result-body {
  font-size: 15px;
  color: var(--text-sub);
  margin-bottom: 20px;
}
/* PLAN COMPARISON TABLE */
.plan-comparison-section {
  background: #0D211A;
  padding: 80px 0;
}
.table-responsive {
  width: 100%;
  overflow-x: auto;
  margin-bottom: 35px;
}
.plan-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  text-align: center;
  background: var(--octopus-card-bg);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}
.plan-table th, .plan-table td {
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  vertical-align: middle;
}
.plan-table thead th {
  background: #250050;
}
.th-category {
  width: 18%;
  color: var(--text-sub);
  font-size: 13px;
}
.th-plan {
  width: 27%;
}
.plan-badge {
  display: inline-block;
  background: #402070;
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 12px;
  margin-bottom: 6px;
}
.badge-ppa {
  background: var(--octopus-pink);
  font-weight: 900;
}
.plan-title {
  font-size: 18px;
  font-weight: 900;
}
.plan-sub {
  font-size: 12px;
  color: var(--text-sub);
}
.highlight-plan {
  background: linear-gradient(180deg, #420066, #220040);
  border: 2px solid var(--octopus-pink);
}
.td-label {
  font-weight: 700;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-sub);
}
.td-val {
  color: #ffffff;
}
.highlight-val {
  background: rgba(255, 0, 128, 0.1);
  font-weight: 700;
}

.note-sub {
  font-size: 11px;
  color: var(--text-sub);
}
.plan-feature-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.pf-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 24px;
}
.pf-card h4 {
  font-size: 18px;
  color: var(--gold);
  margin: 0 0 10px 0;
}
.pf-card p {
  font-size: 14px;
  color: var(--text-sub);
  margin: 0;
  line-height: 1.7;
}
/* POWERWALL 3 SPEC SECTION */
.product-spec-section {
  background: var(--octopus-green);
}
.pw3-hero-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 40px;
  background: var(--octopus-card-bg);
  padding: 35px;
  border-radius: 20px;
  border: 1px solid var(--border-purple);
}
.pw3-img-col img {
  width: 100%;
  max-height: 350px;
  object-fit: contain;
}
.pw3-title {
  font-size: clamp(20px, 2.8vw, 26px);
  font-weight: 900;
  color: var(--octopus-pink);
  margin: 0 0 20px 0;
}
.pw3-features-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.pw3-features-list li {
  position: relative;
  padding-left: 26px;
  font-size: 15px;
  line-height: 1.6;
}
.pw3-features-list li::before {
  content: "✓";
  position: absolute;
  left: 0; top: 0;
  color: var(--gold);
  font-weight: 900;
  font-size: 18px;
}
/* SPEC TABLE */
.spec-wrap {
  background: var(--octopus-card-bg);
  border-radius: 16px;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.spec-title {
  font-size: 20px;
  font-weight: 900;
  color: var(--octopus-pink);
  margin: 0 0 20px 0;
  text-align: center;
}
.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.spec-table th, .spec-table td {
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.spec-table th {
  background: rgba(255, 0, 128, 0.15);
  color: #ffffff;
  font-weight: 700;
  width: 22%;
  white-space: nowrap;
}
.spec-table td {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-sub);
  width: 28%;
}
.highlight-txt {
  color: var(--gold);
  font-weight: 900;
}
.spec-note {
  font-size: 11.5px;
  color: #9080c0;
  margin-top: 12px;
  text-align: right;
}
/* CASE STUDY */
.case-study-section {
  background: #0D211A;
}
.case-subtitle {
  font-size: 18px;
  color: var(--gold);
  font-weight: 700;
  margin-top: -25px;
  margin-bottom: 35px;
}
.case-card {
  background: var(--octopus-card-bg);
  border-radius: 16px;
  padding: 35px;
  border: 2px solid var(--octopus-pink);
  max-width: 900px;
  margin: 0 auto;
}
.case-header-badge {
  display: inline-block;
  background: var(--octopus-pink);
  color: #ffffff;
  font-size: 16px;
  font-weight: 900;
  padding: 6px 20px;
  border-radius: 30px;
  margin-bottom: 25px;
}
.case-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: center;
}
.case-info h4 {
  font-size: 18px;
  margin: 0 0 12px 0;
  color: #ffffff;
}
.case-info ul {
  list-style: none;
  padding: 0;
  margin: 0 0 15px 0;
  font-size: 14px;
  color: var(--text-sub);
}
.case-desc {
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--text-sub);
  margin: 0;
}
.graph-title {
  font-size: 13px;
  color: var(--text-sub);
  text-align: center;
  margin-bottom: 15px;
}
.graph-bar-comparison {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 20px;
  height: 180px;
}
.bar-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  justify-content: flex-end;
}
.bar-val {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 6px;
}
.bar-body {
  width: 60px;
  border-radius: 6px 6px 0 0;
}
.b-before {
  height: 120px;
  background: #ff4d4d;
}
.b-after {
  height: 52px;
  background: var(--lime);
}
.arrow-col {
  font-size: 14px;
  font-weight: 900;
  color: var(--gold);
  padding-bottom: 40px;
}
.bar-lbl {
  font-size: 11px;
  color: var(--text-sub);
  margin-top: 8px;
  text-align: center;
}
/* LIFETIME SAVINGS */
.lifetime-savings-section {
  background: var(--octopus-green);
}
.savings-card {
  max-width: 900px;
  margin: 0 auto;
  background: var(--octopus-card-bg);
  border: 1px solid var(--border-purple);
  border-radius: 20px;
  padding: 40px 30px;
  text-align: center;
}
.surge-title {
  font-size: clamp(22px, 3.2vw, 32px);
  font-weight: 900;
  margin: 0 0 6px 0;
}
.highlight-red {
  color: #ff4d4d;
}
.surge-subtitle {
  font-size: 14px;
  color: var(--text-sub);
  margin: 0 0 25px 0;
}
.sim-lead {
  font-size: 16px;
  color: var(--text-sub);
  margin-bottom: 6px;
}
.sim-highlight-title {
  font-size: clamp(24px, 3.8vw, 38px);
  font-weight: 900;
  margin: 0 0 30px 0;
}
.gold-amount {
  color: var(--gold);
}
.savings-table-wrap {
  background: rgba(255, 255, 255, 0.04);
  border-radius: 12px;
  padding: 20px;
  text-align: left;
}
.savings-table-title {
  font-size: 16px;
  font-weight: 900;
  text-align: center;
  margin: 0 0 16px 0;
  color: var(--text-sub);
}
.savings-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.savings-table th, .savings-table td {
  padding: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.savings-table thead th {
  background: rgba(255, 0, 128, 0.2);
  color: #ffffff;
}
.col-price {
  font-family: 'DM Sans', sans-serif;
  color: var(--lime);
  font-weight: 700;
}
.col-price-total {
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  color: var(--gold);
  font-weight: 900;
}
.row-final td {
  background: rgba(255, 215, 0, 0.1);
  border: 2px solid var(--gold);
  text-align: center;
  padding: 16px;
}
.final-badge {
  background: var(--octopus-pink);
  color: #ffffff;
  font-size: 11px;
  font-weight: 900;
  padding: 2px 10px;
  border-radius: 10px;
}
.gold-price {
  font-size: 1.3em;
  color: var(--gold);
}
.savings-disclaimer {
  background: rgba(0, 0, 0, 0.3);
  border-radius: 8px;
  padding: 15px 20px;
  margin-top: 25px;
  text-align: left;
}
.disclaimer-title {
  font-size: 12px;
  color: var(--octopus-pink);
  font-weight: 700;
  margin: 0 0 6px 0;
}
.disclaimer-list {
  list-style: none;
  padding: 0; margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.disclaimer-list li {
  font-size: 11px;
  color: var(--text-sub);
}
/* FAQ SECTION */
.faq-section {
  background: #0D211A;
}
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.faq-item {
  background: var(--octopus-card-bg);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  overflow: hidden;
}
.faq-question {
  padding: 18px 20px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  position: relative;
  list-style: none;
}
.faq-q-icon {
  background: var(--octopus-pink);
  color: #ffffff;
  font-size: 14px;
  width: 24px; height: 24px;
  border-radius: 4px;
  display: flex;
  align-items: center; justify-content: center;
  margin-right: 12px;
  flex-shrink: 0;
}
.faq-arrow {
  position: absolute;
  right: 20px;
  width: 10px; height: 10px;
  border-top: 2px solid #8070b0;
  border-right: 2px solid #8070b0;
  transform: rotate(135deg);
}
.faq-item[open] .faq-arrow {
  transform: rotate(-45deg);
  border-color: var(--octopus-pink);
}
.faq-answer {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px;
  font-size: 14.5px;
  color: var(--text-sub);
  background: rgba(0, 0, 0, 0.2);
}
.faq-a-icon {
  color: var(--gold);
  font-weight: 900;
  margin-right: 8px;
}
/* DIAGNOSIS CTA & CONDITIONS */
.cta-section {
  background: var(--octopus-green);
}
.cta-stack {
  max-width: 600px;
  margin: 30px auto;
}
.guarantees {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 25px;
}
.guarantee {
  font-size: 12px;
  padding: 6px 14px;
  border: 1px solid var(--border-purple);
  border-radius: 20px;
  color: var(--text-sub);
  background: #EA580C;
}
.confitions {
  padding: 50px 0;
  background: #0D211A;
}
.confitions h2 {
  font-size: 20px;
  text-align: center;
  margin-bottom: 25px;
}
.apconditions {
  max-width: 800px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.apconditions li {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 12px 18px 12px 40px;
  border-radius: 8px;
  font-size: 13.5px;
  color: var(--text-sub);
  position: relative;
}
.apconditions li::before {
  content: "✔";
  position: absolute;
  left: 14px;
  color: var(--octopus-pink);
}

/* ==========================================================================
   Privacy Policy
========================================================================== */
.privacy-policy {
    max-width: 800px;
    margin: 30px auto;
    padding: 20px;
    font-family: sans-serif;
    line-height: 1.8;
    color: #333;
    background-color: #f9f9f9;
}
.privacy-policy h1 {
    font-size: 24px;
    border-bottom: 2px solid #333;
    padding-bottom: 10px;
    margin-bottom: 20px;
}
.privacy-policy h2 {
    font-size: 18px;
    margin-top: 30px;
    border-left: 4px solid #333;
    padding-left: 10px;
}
.privacy-policy ul {
    padding-left: 20px;
}
.privacy-policy li {
    margin-bottom: 5px;
}
.privacy-contact-info {
    padding: 15px 20px;
    border-radius: 5px;
    margin-top: 15px;
}

/* ==========================================================================
   特定商取引
========================================================================== */
.tokusho-container {
    max-width: 800px;
    margin: 30px auto;
    padding: 20px;
    font-family: sans-serif;
    line-height: 1.8;
    color: #333;
    background-color: #f9f9f9;
}
.tokusho-container h1 {
    font-size: 24px;
    border-bottom: 2px solid #333;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.tokusho-container table {
    width: 100%;
    border-collapse: collapse;
}
.tokusho-container th, .tokusho-container td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: left;
}

/* RESPONSIVE max-width: 760px */
@media (max-width: 760px) {
  .diag-options {
    padding-left: 0;
  }
  .pw3-hero-grid,
  .case-grid,
  .plan-feature-cards {
    display: flex;
    flex-direction: column;
  }
  .subsidy-card-grid {
    flex-direction: column;
  }
  .subsidy-notice {
    text-align: left;
  }
  /* テーブルスクロール */
  .plan-table,
  .spec-table,
  .savings-table {
    display: block;             /* テーブルをブロック化してスクロール可能にする */
    width: 100%;                /* 画面幅いっぱいに収める */
    overflow-x: auto;           /* 横方向のはみ出しをスクロールさせる */
    -webkit-overflow-scrolling: touch; /* iOSで指の動きに追従して滑らかにスクロール */
    border-collapse: collapse;  /* 枠線の崩れ防止 */
  }
  /* セル内の文字が縦に潰れて読みにくくなるのを防ぐ */
  .plan-table th,
  .plan-table td,
  .spec-table th,
  .spec-table td,
  .savings-table th,
  .savings-table td {
    white-space: nowrap;        /* テキストの自動折り返しを禁止（横幅を確保） */
    padding: 12px 16px;         /* 指でスワイプしやすく視認性を高める余白 */
    font-size: 14px;            /* スマホで読みやすい文字サイズに調整 */
    line-height: 1.5;
  }
}
