/* Pricing layout update. Published prices and service conditions are unchanged. */
#home_price { scroll-margin-top: 88px; }
#home_price * { letter-spacing: 0; }
#home_price .ai-price-section__inner { max-width: 1240px; }
#home_price .ai-price-plan { grid-template-columns: 300px minmax(0, 1fr); }
#home_price .ai-price-plan dl > div { grid-template-columns: 44px 116px minmax(0, 1fr); gap: 16px; padding: 24px; }
#home_price .ai-price-plan dl img { width: 44px; height: 44px; }
#home_price .ai-price-plan dt,
#home_price .ai-price-plan dd { font-size: 16px; }
#home_price .ai-price-plan dd small { font-size: 13px; margin-top: 8px; }
#home_price .ai-price-lower { grid-template-columns: minmax(0, 1.9fr) minmax(360px, 1fr); gap: 24px; margin-top: 32px; align-items: stretch; }
#home_price .ai-price-options,
#home_price .ai-price-usage { display: flex; flex-direction: column; min-width: 0; }
#home_price .ai-price-options > h3,
#home_price .ai-price-usage > h3 { display: flex; align-items: center; min-height: 32px; font-size: 17px; line-height: 1.5; margin: 0 0 16px; padding: 0; }
#home_price .ai-price-table-wrap { flex: 1; border: 1px solid #c5d4e7; border-radius: 4px; }
#home_price .ai-price-table { display: table; width: 100%; height: 100%; margin: 0; table-layout: fixed; border: 0; border-collapse: separate; border-spacing: 0; }
#home_price .ai-price-table th,
#home_price .ai-price-table td { display: table-cell !important; border: 0 !important; border-bottom: 1px solid #d4e0f1 !important; border-right: 1px solid #d4e0f1 !important; padding: 18px 16px; vertical-align: middle; line-height: 1.6; }
#home_price .ai-price-table tr > :last-child { border-right: 0 !important; }
#home_price .ai-price-table tbody tr:last-child > td { border-bottom: 0 !important; }
#home_price .ai-price-table th { font-size: 13px; padding-top: 14px; padding-bottom: 14px; text-align: left; }
#home_price .ai-price-table th:first-child { width: 43%; }
#home_price .ai-price-table th:nth-child(2) { width: 24%; }
#home_price .ai-price-table th:nth-child(3) { width: 33%; }
#home_price .ai-price-table tbody tr { height: 82px; }
#home_price .ai-price-table td:first-child { font-size: 15px; }
#home_price .ai-price-table td:first-child img { display: inline-block; width: 32px; height: 32px; margin-right: 10px; vertical-align: middle; }
#home_price .ai-price-table td:first-child span { vertical-align: middle; }
#home_price .ai-price-table td:nth-child(2) { font-size: 18px; white-space: nowrap; }
#home_price .ai-price-table td:nth-child(3) { font-size: 14px; }
#home_price .ai-price-table .ai-price-option-note { display: block; font-size: 12px; margin-top: 4px; color: #52677d; white-space: normal; }
#home_price .ai-status-badge { font-size: 12px; padding: 5px 10px; }
#home_price .ai-price-usage { border: 0; margin: 0; padding: 0; background: transparent; }
#home_price .ai-price-usage__grid { flex: 0 0 auto; display: grid; grid-template-columns: 1fr; grid-template-rows: auto; gap: 0; border: 1px solid #e6caca; border-radius: 4px; overflow: hidden; }
#home_price .ai-price-usage__grid div { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; align-content: center; gap: 12px; height: auto !important; min-height: 84px; padding: 20px; border: 0 !important; border-radius: 0; background: #fffafa; }
#home_price .ai-price-usage__grid div + div { border-top: 1px solid #e6caca !important; }
#home_price .ai-price-usage__grid span { font-size: 14px; grid-column: auto; grid-row: auto; margin: 0; line-height: 1.6; }
#home_price .ai-price-usage__grid strong,
#home_price .ai-price-usage__grid div:last-child strong { grid-column: auto; font-size: 18px; font-weight: 600; line-height: 1.4; }
#home_price .ai-price-usage__grid small,
#home_price .ai-price-usage__grid div:last-child small { grid-column: auto; font-size: 12px; line-height: 1.5; color: #52677d; margin: 0; }
#home_price .ai-price-usage__amount { display: flex; align-items: center; justify-content: flex-end; gap: 4px; margin: 0; white-space: nowrap; }
#home_price .ai-price-usage__grid div:last-child { grid-template-columns: 1fr; gap: 12px; }
#home_price .ai-price-usage__transfer { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 4px; width: 100%; margin: 0; }
#home_price .ai-price-usage__grid .ai-price-usage__transfer span { font-weight: 400; }
#home_price .ai-price-usage__grid .ai-price-usage__note { display: block; margin-top: 4px; }
#home_price .ai-price-total { flex-wrap: wrap; align-items: center; padding: 24px; gap: 12px 20px; margin-top: 24px; }
#home_price .ai-price-total > span { font-size: 16px; }
#home_price .ai-price-total p { display: flex; align-items: center; justify-content: center; gap: 4px; margin: 0; padding: 0; line-height: 1; }
#home_price .ai-price-total p strong { font-size: 30px; line-height: 1; margin: 0; }
#home_price .ai-price-total p span { display: block; font-size: 16px; line-height: 1; margin: 0; }
#home_price .ai-price-total p .ai-price-total__tax { font-size: 13px; }
#home_price .ai-price-total small { font-size: 13px; }
#home_price .ai-price-discount { grid-template-columns: 1fr; gap: 16px; padding: 28px 32px; margin-top: 32px; border: 0; border-top: 2px solid #175fc9; border-radius: 0; }
#home_price .ai-price-discount h3 { font-size: 18px; }
#home_price .ai-price-discount > p { font-size: 16px; line-height: 1.9; }
#home_price .ai-price-discount > small { grid-column: 1; font-size: 13px; line-height: 1.8; color: #52677d; }
#home_price .ai-price-notes { font-size: 12px; line-height: 1.8; margin-top: 20px; color: #52677d; }
#home_price .ai-price-notes p + p { margin-top: 6px; }
@media (max-width: 1150px) {
  #home_price .ai-price-lower { grid-template-columns: 1fr; gap: 32px; }
  #home_price .ai-price-usage__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: auto; }
  #home_price .ai-price-usage__grid div { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
  #home_price .ai-price-usage__grid div + div { border-top: 0 !important; border-left: 1px solid #e6caca !important; }
  #home_price .ai-price-plan { grid-template-columns: 260px minmax(0, 1fr); }
  #home_price .ai-price-plan dl > div { grid-template-columns: 40px minmax(0, 1fr); gap: 6px 12px; }
  #home_price .ai-price-plan dl img { grid-row: 1 / span 2; }
  #home_price .ai-price-plan dt { border: 0; padding: 0; }
  #home_price .ai-price-plan dd { grid-column: 2; }
}
@media (max-width: 767px) {
  #home_price .ai-price-plan { grid-template-columns: 1fr; }
  #home_price .ai-price-plan dl > div { padding: 20px 16px; }
  #home_price .ai-price-plan dt,
  #home_price .ai-price-plan dd { font-size: 15px; }
  #home_price .ai-price-table,
  #home_price .ai-price-table tbody { display: block; height: auto; }
  #home_price .ai-price-table thead { display: none; }
  #home_price .ai-price-table tbody tr { display: grid; grid-template-columns: 1fr; height: auto; padding: 20px; gap: 10px; border: 0; }
  #home_price .ai-price-table tbody tr + tr { border-top: 1px solid #d4e0f1; }
  #home_price .ai-price-table tbody tr > td { display: block !important; border: 0 !important; width: auto; padding: 0; text-align: left; }
  #home_price .ai-price-table td:first-child { display: flex !important; gap: 10px; font-size: 16px; }
  #home_price .ai-price-table td:first-child img { flex: 0 0 32px; margin: 0; }
  #home_price .ai-price-table td:nth-child(2),
  #home_price .ai-price-table td:nth-child(3) { padding-left: 42px; }
  #home_price .ai-price-table td:nth-child(2)::before { display: inline; content: "月額 "; position: static; font-size: 12px; font-weight: 400; color: #52677d; }
  #home_price .ai-price-usage__grid { grid-template-columns: 1fr; }
  #home_price .ai-price-usage__grid div { display: grid; }
  #home_price .ai-price-usage__grid div + div { border-left: 0 !important; border-top: 1px solid #e6caca !important; }
  #home_price .ai-price-total { display: grid; grid-template-columns: 32px minmax(0, 1fr); justify-items: start; padding: 20px; gap: 10px; }
  #home_price .ai-price-total img { width: 32px; height: 32px; }
  #home_price .ai-price-total p,
  #home_price .ai-price-total small { grid-column: 2; }
  #home_price .ai-price-total p { font-size: 14px; }
  #home_price .ai-price-total p span { font-size: 14px; }
  #home_price .ai-price-total p .ai-price-total__tax { font-size: 12px; }
  #home_price .ai-price-total p strong { font-size: 28px; }
  #home_price .ai-price-total > span { font-size: 14px; }
  #home_price .ai-price-discount { padding: 24px 20px; }
  #home_price .ai-price-discount h3 { font-size: 16px; }
  #home_price .ai-price-discount__heading > span { flex: 0 0 28px; }
  #home_price .ai-price-discount > p { font-size: 15px; }
}
