/* 
 * 完全版CSS - Prepaid SIM リチャージ.com 
 * 既存のstyle.cssに追加する新しいスタイル定義
 */

/* ベースとなる変数定義 */
:root {
  /* 赤のパワーパレット */
  --primary: #E62328;         /* 鮮やかな赤（キーカラー） */
  --primary-rgb: 230, 35, 40;
  --primary-light: #F05356;   /* やや明るい赤 */
  
  --secondary: #F9A826;       /* オレンジゴールド */
  --secondary-rgb: 249, 168, 38;
  
  --dark: #541E1F;            /* ボルドー（深い赤茶色） */
  --dark-rgb: 84, 30, 31;
  
  --light: #FFF5F5;           /* ソフトピンクホワイト */
  --light-rgb: 255, 245, 245;
  
  --gray: #E0D8D8;            /* 赤みがかったライトグレー */
  --gray-dark: #706463;       /* 暖かみのあるダークグレー */
  
  --accent: #2D7D8F;          /* ティールブルー（対比色） */
  --accent-rgb: 45, 125, 143;
  
  /* その他の設定 */
  --white: #ffffff;
  --black: #000000;
  --border-radius: 8px;
  --shadow: 0 4px 6px rgba(var(--black-rgb), 0.1);
  --transition: all 0.3s ease;
  --black-rgb: 0, 0, 0;
  --white-rgb: 255, 255, 255;
}

/* 基本スタイルのリセット */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* 基本的な要素のスタイリング */
body {
  font-family: 'Noto Sans JP', sans-serif;
  color: var(--dark);
  background-color: #f7f7f7;
  line-height: 1.6;
}

body.top {
  padding-bottom: 80px; /* ボタンが表示されるとき、コンテンツが隠れないよう下部にパディングを追加 */
}

a {
  text-decoration: none;
  color: var(--primary);
  transition: var(--transition);
}

a:hover {
  color: var(--accent);
}

img {
  max-width: 100%;
  height: auto;
}

ul {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  margin-bottom: 0.5em;
  color: var(--dark);
  line-height: 1.3;
}

h1 {
  font-size: 28px;
  margin-bottom: 20px;
}

h2 {
  font-size: 24px;
  margin-top: 30px;
  margin-bottom: 15px;
}

h3 {
  font-size: 20px;
  margin-top: 25px;
  margin-bottom: 10px;
}

p {
  margin-bottom: 15px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* 言語セレクターのスタイル */
.language-selector {
  background-color: var(--dark);
  padding: 8px 0;
  text-align: right;
  box-shadow: 0 2px 4px rgba(var(--black-rgb), 0.2);
  position: relative;
  z-index: 10;
}

.language-selector .container {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.language-selector a {
  position: relative;
  display: inline-block;
  margin-left: 20px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(var(--white-rgb), 0.7);
  text-decoration: none;
  transition: all 0.3s ease;
  padding: 4px 10px;
  border-radius: 4px;
}

.language-selector a:hover {
  color: var(--white);
  background-color: rgba(var(--white-rgb), 0.1);
}

.language-selector a.active {
  color: var(--white);
  font-weight: 700;
  background-color: rgba(var(--primary-rgb), 0.8);
}

.language-selector a.active::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 6px solid rgba(var(--primary-rgb), 0.8);
}

.language-selector a::before {
  content: '🌐';
  margin-right: 5px;
  font-size: 12px;
  opacity: 0.8;
}

.language-selector a.active::before {
  content: '✓';
  margin-right: 5px;
  font-size: 12px;
  opacity: 1;
}

/* ヘッダー部分のスタイル */
header {
  background-color: var(--white);
  padding: 15px 0;
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-container {
  display: flex;
  align-items: center;
}

.logo-container img {
  height: 40px;
  margin-right: 15px;
}

.site-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.3;
}

/* メインコンテンツのスタイル */
.main-content {
  padding: 50px 0;
}

.page-container {
  background-color: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  padding: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

.page-title {
  color: var(--primary);
  border-bottom: 2px solid var(--gray);
  padding-bottom: 15px;
  margin-bottom: 30px;
}

.section-title {
  text-align: center;
  font-size: 28px;
  margin-bottom: 40px;
  color: var(--dark);
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background-color: var(--primary);
  margin: 15px auto 0;
}

.section-title i {
  margin-right: 8px;
  color: var(--primary);
}

.content-section {
  margin-bottom: 40px;
}

/* ヒーローセクション */
.hero {
  background-color: var(--light);
  padding: 50px 0;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: linear-gradient(135deg, rgba(var(--accent-rgb), 0.1) 0%, rgba(var(--primary-rgb), 0.05) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.hero-text {
  flex: 1;
}

.hero-text h2 {
  font-size: 32px;
  margin-bottom: 20px;
  color: var(--primary);
}

.hero-text p {
  font-size: 18px;
  margin-bottom: 30px;
  line-height: 1.6;
}

.hero-image {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}

.hero-image img {
  max-width: 100%;
  border: 1px solid var(--gray);
  border-radius: 50px;
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

/* プロセスセクション */
.process {
  padding: 50px 0;
}

.process-steps {
  display: flex;
  justify-content: space-between;
  margin-top: 30px;
  gap: 15px;
}

.process-step {
  flex: 1;
  background-color: var(--white);
  border-radius: var(--border-radius);
  padding: 20px;
  box-shadow: var(--shadow);
  text-align: center;
  transition: var(--transition);
  position: relative;
}

.process-step:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(var(--black-rgb), 0.1);
}

.step-number {
  background-color: var(--primary);
  color: var(--white);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 18px;
  margin: 0 auto 15px;
}

.process-step h3 {
  margin-bottom: 10px;
  font-size: 18px;
}

.process-step h3 i {
  margin-right: 8px;
  color: var(--primary);
}

.process-arrow {
  position: absolute;
  top: 40px;
  right: -25px;
  color: var(--gray-dark);
  font-size: 24px;
  z-index: 5;
}

.process-step:last-child .process-arrow {
  display: none;
}

/* SIMタイプセクション */
.sim-type {
  padding: 50px 0;
  background-color: var(--light);
}

.sim-options {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 30px;
}

.sim-option {
  flex: 0 0 calc(50% - 20px);
  max-width: 400px;
  background-color: var(--white);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.sim-option:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(var(--black-rgb), 0.15);
}

.sim-option-header {
  background-color: var(--dark);
  color: var(--white);
  padding: 15px 20px;
  font-weight: bold;
  font-size: 20px;
}

.sim-option-header i {
  margin-right: 8px;
}

.sim-option-content {
  padding: 20px;
}

.sim-option-content p {
  margin-bottom: 20px;
  min-height: 50px;
}

.sim-option-content p i {
  color: var(--primary);
  margin-right: 8px;
}

.sim-option-image {
  text-align: center;
  margin-bottom: 20px;
}

.sim-option-image img {
  height: 150px;
  transition: var(--transition);
}

.sim-option:hover .sim-option-image img {
  transform: scale(1.05);
}

/* ボタンスタイル */
.btn {
  display: inline-block;
  background-color: var(--primary);
  color: var(--white);
  padding: 10px 25px;
  border-radius: 30px;
  font-weight: 500;
  transition: var(--transition);
  border: 2px solid var(--primary);
  text-align: center;
  cursor: pointer;
}

.btn:hover {
  background-color: transparent;
  color: var(--primary);
}

.btn i {
  margin-right: 8px;
}

.btn-block {
  display: block;
  width: 100%;
}

.btn-secondary {
  background-color: var(--gray);
  color: var(--gray-dark);
  border-color: var(--gray);
}

.btn-secondary:hover {
  background-color: transparent;
  color: var(--gray-dark);
}

.btn-primary {
  background-color: var(--primary);
  color: var(--white);
  border: 2px solid var(--primary);
  padding: 12px 30px;
  border-radius: 30px;
  font-size: 16px;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 8px rgba(var(--primary-rgb), 0.2);
}

.btn-primary:hover {
  background-color: transparent;
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(var(--primary-rgb), 0.3);
}

.btn-primary:active {
  transform: translateY(1px);
  box-shadow: 0 2px 4px rgba(var(--primary-rgb), 0.2);
}

.btn-primary i {
  margin-left: 10px;
}

.btn-secondary {
  background-color: var(--white);
  color: var(--gray-dark);
  border: 2px solid var(--gray);
  padding: 12px 30px;
  border-radius: 30px;
  font-weight: 500;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-secondary:hover {
  background-color: var(--gray);
  border-color: var(--gray-dark);
}

.btn-secondary i {
  margin-right: 10px;
}

/* 料金表スタイル */
.price-table {
  width: 100%;
  max-width: 800px;
  margin: 30px auto;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  table-layout: fixed;
}

.price-table thead {
  background: linear-gradient(45deg, var(--primary), var(--primary-light));
}

.price-table thead th {
  color: var(--white);
  font-weight: 700;
  text-align: center;
  padding: 15px;
  border: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 16px;
}

.price-table th:nth-child(1) {
  width: 60%;
}

.price-table th:nth-child(2) {
  width: 40%;
}

.price-table tr.plan-category {
  background: linear-gradient(to right, #f2f2f2, #e6e6e6);
}

.price-table tr.plan-category td {
  padding: 12px 15px;
  font-size: 18px;
  color: var(--dark);
  font-weight: 700;
  text-align: center;
  border-bottom: 2px solid #ddd;
  border-top: 2px solid #ddd;
}

.plan-category i {
  margin-right: 8px;
  color: var(--primary);
}

.price-table tbody tr:not(.plan-category) {
  background-color: var(--white);
  transition: var(--transition);
}

.price-table tbody tr:not(.plan-category):hover {
  background-color: rgba(var(--primary-rgb), 0.08);
}

.price-table td:first-child {
  text-align: left;
  padding: 10px 0px 10px 120px;
  word-break: break-word;
}

.price-table td.price {
  text-align: right;
  font-weight: 600;
  color: var(--dark);
  padding: 10px 120px 10px 0px;
  word-break: keep-all;
  white-space: nowrap;
}

.popular-tag {
  display: inline-flex;
  align-items: center;
  background-color: var(--secondary);
  color: var(--white);
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 12px;
  margin-bottom: 8px;
  position: relative;
  box-shadow: 0 2px 5px rgba(var(--secondary-rgb), 0.3);
  animation: pulse 2s infinite;
}

.popular-tag i {
  margin-right: 5px;
  font-size: 12px;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

.price-table tbody td b {
  color: var(--primary);
  font-size: 1.1em;
}

.price-table tbody tr:not(.plan-category):nth-child(even) {
  background-color: #f9f9f9;
}

/* 確認カードのスタイル */
.confirmation-card {
  background-color: var(--white);
  border-radius: var(--border-radius);
  padding: 25px;
  margin-bottom: 30px;
  box-shadow: 0 2px 5px rgba(var(--dark-rgb), 0.08);
  border-left: 4px solid var(--accent);
}

.confirmation-title {
  color: var(--dark);
  font-size: 24px;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--gray);
  display: flex;
  align-items: center;
}

.confirmation-title i {
  color: var(--accent);
  margin-right: 10px;
}

.confirmation-item {
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px dashed var(--gray);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.confirmation-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.confirmation-label {
  width: 150px;
  font-weight: 500;
  color: var(--gray-dark);
  display: flex;
  align-items: center;
  margin-bottom: 5px;
}

.confirmation-label i {
  margin-right: 8px;
  color: var(--primary);
  font-size: 16px;
  width: 20px;
  text-align: center;
}

.confirmation-value {
  flex: 1;
  min-width: 200px;
  font-size: 16px;
  padding: 5px 0;
}

.confirmation-value.highlight {
  color: var(--primary);
  font-weight: 700;
  font-size: 18px;
}

.confirmation-price {
  font-weight: 700;
  font-size: 20px;
  color: var(--dark);
  margin-left: auto;
  background-color: rgba(var(--primary-rgb), 0.05);
  padding: 5px 15px;
  border-radius: var(--border-radius);
  display: flex;
  align-items: center;
}

.confirmation-price i {
  margin-right: 5px;
  color: var(--primary);
  font-size: 16px;
}

/* 法的コンテンツのスタイル */
.legal-content ul {
  list-style: disc;
  padding-left: 20px;
  margin-bottom: 20px;
}

.legal-content ul li {
  margin-bottom: 8px;
}

.legal-content h2 {
  border-bottom: 1px solid var(--gray);
  padding-bottom: 5px;
}

.legal-content h3 {
  color: var(--primary);
}

.legal-list {
  counter-reset: item;
  padding-left: 20px;
}

.legal-list li {
  counter-increment: item;
  margin-bottom: 10px;
  position: relative;
}

.legal-list li::before {
  content: "(" counter(item) ")";
  position: absolute;
  left: -20px;
}

/* フォームスタイル */
.form-section {
  padding: 50px 0;
}

.form-container {
  background-color: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  padding: 30px;
  max-width: 800px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 25px;
}

.form-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
}

.form-input {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--gray);
  border-radius: var(--border-radius);
  font-size: 16px;
  transition: border-color 0.3s;
}

.form-input:focus {
  outline: none;
  border-color: var(--primary);
}

.form-hint {
  margin-top: 5px;
  font-size: 14px;
  color: var(--gray-dark);
}

.radio-group {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); /* ここの値を変えることで並びを変えられる */
  gap: 15px;
  margin-top: 15px;
  margin-bottom: 15px;
}

.radio-option {
  position: relative;
  border: 2px solid var(--gray);
  border-radius: var(--border-radius);
  transition: all 0.3s ease;
  overflow: hidden;
  cursor: pointer;
}

.radio-option:hover {
  border-color: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(var(--primary-rgb), 0.1);
}

.radio-option.popular {
  border-color: var(--secondary);
  box-shadow: 0 0 0 1px var(--secondary);
}

.radio-option.data-only {
  border-color: var(--accent);
  background-color: rgba(var(--accent-rgb), 0.03);
}

.radio-option.days-only {
  border-color: var(--secondary);
  background-color: rgba(var(--secondary-rgb), 0.03);
}

.radio-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.radio-option input[type="radio"]:checked + label {
  background-color: rgba(var(--primary-rgb), 0.1);
}

.radio-option.data-only input[type="radio"]:checked + label {
  background-color: rgba(var(--accent-rgb), 0.1);
}

.radio-option label {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 15px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  justify-content: space-between;
  align-items: center;
}

.plan-name {
  font-size: 16px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.plan-name i {
  margin-right: 5px;
  color: var(--dark);
  font-size: 14px;
}

.plan-name strong {
  color: var(--primary);
  font-size: 18px;
  margin: 0 5px;
}

.days-note {
  font-size: 12px;
  color: var(--gray-dark);
  margin-left: 5px;
  font-style: italic;
}

.plan-price {
  font-weight: 700;
  font-size: 18px;
  color: var(--dark);
  display: flex;
  align-items: center;
}

.plan-price i {
  margin-right: 5px;
  color: var(--primary);
  font-size: 14px;
}

/* フォームタイトルスタイル */
.form-title {
  color: var(--primary);
  font-size: 24px;
  margin-bottom: 15px;
  border-bottom: 2px solid var(--gray);
  padding-bottom: 10px;
}

.form-title i {
  margin-right: 10px;
  color: var(--primary);
}

.form-description {
  font-size: 16px;
  margin-bottom: 25px;
  color: var(--gray-dark);
}

/* ハイライト情報ボックス */
.form-highlight-box {
  background-color: rgba(var(--primary-rgb), 0.05);
  border-left: 4px solid var(--primary);
  padding: 15px;
  margin-bottom: 25px;
  border-radius: 0 var(--border-radius) var(--border-radius) 0;
  display: flex;
  align-items: center;
}

.form-highlight-box i {
  font-size: 24px;
  color: var(--primary);
  margin-right: 15px;
}

.form-highlight-box span {
  font-size: 15px;
  line-height: 1.5;
}

/* アイコン付き入力フィールド */
.input-with-icon {
  position: relative;
}

.input-icon {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gray-dark);
}

.input-with-icon .form-input {
  padding-left: 45px;
}

.input-with-icon .form-input:focus + .input-icon {
  color: var(--primary);
}

/* 同意ボックス */
.agreement-box {
  background-color: #f9f9f9;
  border-radius: var(--border-radius);
  padding: 20px;
  margin: 30px 0;
  box-shadow: 0 2px 4px rgba(var(--dark-rgb), 0.05);
  border-left: 4px solid var(--primary);
}

.agreement-title {
  color: var(--primary);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
}

.agreement-title i {
  margin-right: 10px;
  color: var(--primary);
}

.agreement-links {
  margin: 15px 0;
  padding-left: 10px;
}

.agreement-links li {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
}

.agreement-links li i {
  margin-right: 8px;
  color: var(--primary);
}

.agreement-links a {
  color: var(--accent);
  text-decoration: underline;
  transition: color 0.3s ease;
}

.agreement-links a:hover {
  color: var(--primary);
}

.agreement-checkbox-container {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.agreement-checkbox {
  display: inline-flex;
  align-items: center;
  background-color: var(--white);
  padding: 10px 20px;
  border-radius: 30px;
  box-shadow: 0 2px 4px rgba(var(--dark-rgb), 0.1);
  transition: all 0.3s ease;
}

.agreement-checkbox:hover {
  box-shadow: 0 4px 8px rgba(var(--dark-rgb), 0.15);
  transform: translateY(-2px);
}

.agreement-checkbox input[type="checkbox"] {
  margin-right: 10px;
  transform: scale(1.2);
}

.agreement-checkbox label {
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  color: var(--primary);
}

.agreement-checkbox label i {
  margin-right: 8px;
  color: var(--primary);
}

.error-message {
  color: var(--primary);
  font-size: 14px;
  margin-top: 10px;
  display: none;
  align-items: center;
  justify-content: center;
}

.error-message i {
  margin-right: 5px;
}

.form-error {
  color: var(--primary);
  font-size: 14px;
  margin-top: 5px;
}

.error {
  color: var(--secondary);
  font-size: 18px;
  font-weight: 600;
  margin-top: 5px;
  margin-left: 15px;
}

.error:not(:empty) {
  display: flex;
  align-items: flex-start;
}

.error:not(:empty)::before {
  content: '\f071'; /* Font Awesome の警告アイコン (triangle-exclamation) */
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  color: var(--secondary);
  margin-right: 8px;
  font-size: 20px;
}

.form-buttons {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 30px;
}

.back-link {
  display: flex;
  align-items: center;
}

.back-link i {
  margin-right: 5px;
}

/* 進行状況インジケーター */
.progress-indicator {
  margin-bottom: 40px;
}

.progress-steps {
  display: flex;
  justify-content: space-between;
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.progress-steps::before {
  content: '';
  position: absolute;
  top: 15px;
  left: 0;
  right: 0;
  height: 2px;
  background-color: var(--gray);
  z-index: 1;
}

.progress-step {
  position: relative;
  z-index: 2;
  text-align: center;
  flex: 1;
}

.step-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--white);
  border: 2px solid var(--gray);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px;
  font-weight: bold;
  color: var(--gray-dark);
  transition: all 0.3s ease;
}

.step-circle i {
  font-size: 16px;
}

.progress-step.active .step-circle {
  background-color: var(--primary);
  border-color: var(--primary);
  color: var(--white);
  transform: scale(1.1);
  box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.2);
}

.progress-step.completed .step-circle {
  background-color: var(--secondary);
  border-color: var(--secondary);
  color: var(--white);
}

.step-label {
  font-size: 14px;
  color: var(--gray-dark);
}

.progress-step.active .step-label {
  color: var(--primary);
  font-weight: 500;
}

.progress-step.completed .step-label {
  color: var(--secondary);
}

/* ヘルプセクション */
.help-section {
  background-color: #f9f9f9;
  border-radius: var(--border-radius);
  padding: 20px;
  margin-top: 30px;
  margin-bottom: 30px;
  box-shadow: 0 2px 4px rgba(var(--dark-rgb), 0.05);
}

.help-title {
  font-size: 18px;
  font-weight: 500;
  color: var(--dark);
  margin-bottom: 15px;
  display: flex;
  align-items: center;
}

.help-title i {
  margin-right: 10px;
  color: var(--primary);
}

.help-list {
  list-style: none;
  padding: 0;
}

.help-list li {
  margin-bottom: 20px;
  padding: 15px;
  background-color: var(--white);
  border-radius: var(--border-radius);
  box-shadow: 0 1px 3px rgba(var(--dark-rgb), 0.1);
  transition: transform 0.2s ease;
}

.help-list li:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 6px rgba(var(--dark-rgb), 0.1);
}

.help-list li:last-child {
  margin-bottom: 0;
}

.help-list li i {
  margin-right: 8px;
  color: var(--accent);
}

.help-list li .fa-hand-point-right {
  color: var(--secondary);
  margin-right: 8px;
}

/* ステータスカード */
.status-card {
  background-color: #f9f9f9;
  border-radius: var(--border-radius);
  padding: 20px;
  margin-bottom: 30px;
  box-shadow: 0 2px 4px rgba(var(--dark-rgb), 0.1);
  border-left: 4px solid var(--accent);
}

.card-title {
  color: var(--dark);
  font-size: 22px;
  margin-bottom: 15px;
  border-bottom: 1px solid var(--gray);
  padding-bottom: 10px;
}

.card-title i {
  color: var(--accent);
  margin-right: 10px;
}

.sim-info-box {
  border-radius: var(--border-radius);
  background-color: var(--white);
  padding: 15px;
  box-shadow: 0 1px 3px rgba(var(--dark-rgb), 0.05);
}

.sim-info-row {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 1px dashed var(--gray);
}

.sim-info-row label {
  font-weight: 500;
  margin-right: 15px;
  min-width: 80px;
  display: flex;
  align-items: center;
}

.sim-info-row label i {
  margin-right: 8px;
  color: var(--primary);
}

.iccid-value {
  font-family: monospace;
  font-size: 16px;
  background-color: rgba(var(--primary-rgb), 0.05);
  padding: 5px 10px;
  border-radius: 4px;
  letter-spacing: 1px;
}

.status-details {
  padding: 0 10px;
}

.status-table {
  width: 100%;
  margin-bottom: 15px;
}

.status-table th {
  text-align: left;
  font-weight: 500;
  padding: 8px 5px;
  width: 120px;
  display: flex;
  align-items: center;
}

.status-table th i {
  margin-right: 8px;
  color: var(--primary);
  font-size: 14px;
}

.status-table td {
  padding: 8px 5px;
}

.highlight-value {
  color: var(--primary);
  font-size: 18px;
}

.days-left {
  font-size: 14px;
  color: var(--gray-dark);
}

.status-notes-container {
  background-color: rgba(var(--accent-rgb), 0.05);
  border-radius: var(--border-radius);
  padding: 10px 15px;
  margin-top: 15px;
}

.status-notes {
  list-style: none;
  padding: 0;
  margin: 0;
}

.status-notes li {
  margin-bottom: 8px;
  font-size: 14px;
  color: var(--gray-dark);
  display: flex;
  align-items: baseline;
}

.status-notes li:last-child {
  margin-bottom: 0;
}

.status-notes li i {
  color: var(--accent);
  margin-right: 8px;
  font-size: 12px;
  flex-shrink: 0;
}

/* プランカテゴリー */
.plan-category {
  margin-bottom: 30px;
}

.plan-category h3 {
  font-size: 18px;
  color: var(--dark);
  margin-bottom: 15px;
  padding-bottom: 5px;
  border-bottom: 2px solid var(--gray);
  display: flex;
  align-items: center;
}

.plan-category h3 i {
  margin-right: 10px;
  color: var(--primary);
}

/* FAQセクション */
.faq {
  padding: 50px 0;
  background-color: var(--light);
}

.faq-list {
  margin-top: 30px;
}

.faq-item {
  margin-bottom: 15px;
  background-color: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.faq-question {
  padding: 20px;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
  position: relative;
}

.faq-question i {
  margin-right: 10px;
  transition: var(--transition);
}

.faq-question::after {
  content: '+';
  font-size: 20px;
  transition: var(--transition);
}

.faq-question.active {
  background-color: rgba(var(--primary-rgb), 0.05);
}

.faq-question.active i {
  color: var(--primary);
}

.faq-question.active::after {
  content: '-';
}

.faq-question.active i.fa-caret-down {
  animation: rotate 0.3s forwards;
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(90deg); }
}

.faq-answer {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: var(--transition);
}

.faq-answer.active {
  padding: 0 20px 20px;
  max-height: 300px;
}

/* フッター */
footer {
  background-color: var(--dark);
  color: var(--white);
  padding: 40px 0 20px;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-logo {
  margin-bottom: 20px;
}

.footer-logo img {
  height: 40px;
}

.footer-address {
  text-align: center;
  margin-bottom: 20px;
  color: rgba(var(--white-rgb), 0.8);
}

.footer-address i {
  margin-right: 8px;
  opacity: 0.8;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 30px;
}

.footer-links a {
  color: rgba(var(--white-rgb), 0.8);
}

.footer-links a i {
  margin-right: 8px;
  opacity: 0.8;
}

.footer-links a:hover {
  color: var(--white);
}

.footer-links a:hover i {
  opacity: 1;
}

.footer-copyright {
  text-align: center;
  color: rgba(var(--white-rgb), 0.6);
  font-size: 14px;
}

.footer-copyright i {
  margin-right: 8px;
  opacity: 0.8;
}

/* ローディングオーバーレイ */
.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(var(--white-rgb), 0.8);
  z-index: 1000;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  display:flex;
}

.spinner {
  width: 50px;
  height: 50px;
  border: 5px solid var(--gray);
  border-radius: 50%;
  border-top: 5px solid var(--primary);
  animation: spin 1s linear infinite;
}

.loading-text {
  margin-top: 20px;
  font-weight: 500;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* 完了カード */
.completion-card {
  background-color: var(--white);
  border-radius: var(--border-radius);
  padding: 40px 30px;
  margin-bottom: 30px;
  box-shadow: 0 2px 10px rgba(var(--dark-rgb), 0.08);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.completion-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 8px;
  background: linear-gradient(to right, var(--secondary), var(--primary));
}

.completion-icon {
  margin: 0 auto 25px;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: rgba(var(--secondary-rgb), 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: pulse-success 2s infinite;
}

.completion-icon i {
  color: var(--secondary);
  font-size: 40px;
}

@keyframes pulse-success {
  0% {
    box-shadow: 0 0 0 0 rgba(var(--secondary-rgb), 0.4);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(var(--secondary-rgb), 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(var(--secondary-rgb), 0);
  }
}

.completion-title {
  font-size: 28px;
  color: var(--dark);
  margin-bottom: 20px;
  font-weight: 700;
}

/* 注文概要 */
.order-summary {
  background-color: rgba(var(--light-rgb), 0.7);
  border-radius: var(--border-radius);
  padding: 20px;
  margin-bottom: 25px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  border: 1px solid var(--gray);
}

.order-number {
  font-size: 18px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 1px dashed var(--gray);
  display: flex;
  align-items: center;
  justify-content: center;
}

.order-number i {
  color: var(--primary);
  margin-right: 8px;
  font-size: 16px;
}

.order-number span {
  color: var(--primary);
  font-weight: 700;
  letter-spacing: 0.5px;
}

.order-details {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 20px;
}

.order-detail-item {
  flex: 1;
  min-width: 200px;
}

.detail-label {
  font-size: 14px;
  color: var(--gray-dark);
  margin-bottom: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.detail-label i {
  margin-right: 5px;
  color: var(--primary);
}

.detail-value {
  font-size: 16px;
  font-weight: 500;
  color: var(--dark);
}

/* 完了メッセージ */
.completion-message-box {
  max-width: 600px;
  margin: 0 auto 30px;
  text-align: left;
}

.completion-message {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 15px;
  color: var(--dark);
}

.completion-submessage {
  background-color: rgba(var(--accent-rgb), 0.1);
  padding: 10px 15px;
  border-radius: var(--border-radius);
  color: var(--accent);
  font-size: 14px;
  display: flex;
  align-items: center;
}

.completion-submessage i {
  margin-right: 8px;
  font-size: 16px;
}

/* 次のステップ */
.next-steps {
  max-width: 600px;
  margin: 0 auto 30px;
  text-align: left;
  background-color: rgba(var(--light-rgb), 0.5);
  padding: 20px;
  border-radius: var(--border-radius);
  border: 1px solid var(--gray);
}

.next-steps h3 {
  font-size: 18px;
  color: var(--dark);
  margin-bottom: 15px;
  display: flex;
  align-items: center;
}

.next-steps h3 i {
  margin-right: 8px;
  color: var(--primary);
}

.next-steps-list {
  list-style: none;
  padding: 0;
}

.next-steps-list li {
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 1px dashed var(--gray);
  display: flex;
  align-items: flex-start;
}

.next-steps-list li:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.step-number2 {
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background-color: var(--primary);
  color: var(--white);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  flex-shrink: 0;
}

.step-content {
  flex: 1;
  line-height: 1.5;
}

.step-content small {
  display: block;
  color: var(--gray-dark);
  font-size: 12px;
  margin-top: 5px;
}

/* サポート情報 */
.support-info {
  max-width: 600px;
  margin: 0 auto 30px;
  text-align: left;
  background-color: rgba(var(--accent-rgb), 0.05);
  padding: 20px;
  border-radius: var(--border-radius);
  border-left: 4px solid var(--accent);
}

.support-info h3 {
  font-size: 18px;
  color: var(--dark);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
}

.support-info h3 i {
  margin-right: 8px;
  color: var(--accent);
}

.support-info p {
  margin-bottom: 15px;
  font-size: 15px;
}

.support-phone {
  font-size: 18px;
  font-weight: 700;
  color: var(--dark);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 10px;
}

.support-phone i {
  margin-right: 8px;
  color: var(--accent);
}

.support-hours {
  font-size: 12px;
  font-weight: normal;
  color: var(--gray-dark);
  margin-left: 10px;
}

/* 完了後のアクション */
.completion-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.completion-actions .btn {
  min-width: 200px;
  padding: 12px 25px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.completion-actions .btn i {
  margin-right: 8px;
}

/* ユーティリティクラス */
.mb-2 {
  margin-bottom: 20px;
}

.text-center {
  text-align: center;
}

.text-center .fa-check-circle {
  color: var(--primary);
  margin-right: 8px;
}

.fa-info-circle {
  color: var(--secondary);
  margin-right: 5px;
}

/* レスポンシブデザイン */
/* 大きい画面 */
@media (max-width: 992px) {
  .hero-content {
    flex-direction: column;
    text-align: center;
  }
  
  .hero-image {
    justify-content: center;
    margin-top: 30px;
    display: none;
  }
  
  .process-steps {
    flex-wrap: wrap;
    gap: 20px;
  }
  
  .process-step {
    flex: 0 0 calc(50% - 10px);
  }
  
  .process-arrow {
    display: none;
  }
  
  .sim-options {
    flex-direction: column;
    align-items: center;
  }
  
  .sim-option {
    flex: 0 0 100%;
    max-width: 100%;
    margin-bottom: 20px;
  }
  
  .pricing .container > div:first-of-type {
    display: flex;
    justify-content: center;
    width: 100%;
    overflow-x: auto;
  }
}

/* 中間サイズの画面 */
@media (max-width: 768px) {
  .site-title {
    font-size: 16px;
  }
  
  .hero {
    padding: 30px 0;
  }
  
  .hero-text h2 {
    font-size: 28px;
  }
  
  .process-step {
    flex: 0 0 100%;
  }
  
  .price-table {
    width: 100%;
    min-width: initial;
    box-shadow: none;
    border-radius: 0;
  }
  
  .price-table td, 
  .price-table th {
    padding: 10px 8px;
  }
  
  .price-table th:nth-child(1) {
    width: 55%;
  }
  
  .price-table th:nth-child(2) {
    width: 45%;
  }
  
  .price-table {
    font-size: 14px;
  }
  
  .price-table tr.plan-category td {
    font-size: 16px;
  }
  
  .popular-tag {
    padding: 3px 8px;
    font-size: 12px;
  }
  
  .price-table tbody td b {
    font-size: 1em;
  }
  
  .form-buttons {
    flex-direction: column;
    gap: 15px;
  }
  
  .form-buttons .btn {
    width: 100%;
  }
  
  .back-link {
    margin-top: 15px;
  }
  
  .progress-steps::before {
    left: 10px;
    right: 10px;
  }
  
  .step-label {
    font-size: 12px;
  }
  
  .legal-content {
    padding: 15px;
  }
  
  .radio-group {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  
  .sim-info-row {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .sim-info-row label {
    margin-bottom: 5px;
  }
  
  .iccid-value {
    width: 100%;
    overflow-x: auto;
  }
  
  .status-table th {
    width: 110px;
  }
  
  .confirmation-item {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .confirmation-label {
    width: 100%;
    margin-bottom: 8px;
  }
  
  .confirmation-value {
    width: 100%;
  }
  
  .confirmation-price {
    margin-left: 0;
    margin-top: 10px;
  }
  
  .completion-card {
    padding: 30px 20px;
  }
  
  .completion-title {
    font-size: 24px;
  }
  
  .order-details {
    flex-direction: column;
    gap: 15px;
  }
  
  .completion-actions {
    flex-direction: column;
    gap: 15px;
  }
  
  .completion-actions .btn {
    width: 100%;
  }
  
  .order-detail-item {
    width: 100%;
  }
}

/* 小さい画面 */
@media (max-width: 480px) {
  .status-card {
    padding: 15px;
  }
  
  .card-title {
    font-size: 18px;
  }
  
  .highlight-value {
    font-size: 16px;
  }
  
  .plan-category h3 {
    font-size: 16px;
  }
  
  .radio-option label {
    padding: 12px 10px;
  }
  
  .plan-name {
    font-size: 14px;
  }
  
  .plan-name strong {
    font-size: 16px;
  }
  
  .price-table td, 
  .price-table th {
    padding: 8px 6px;
  }
  
  .price-table {
    font-size: 13px;
  }
  
  .price-table tr.plan-category td {
    font-size: 15px;
    padding: 10px 6px;
  }
  
  .price-table td:first-child {
    padding: 10px 0px 10px 5px;
  }
  
  .price-table td.price {
    padding: 10px 5px 10px 0px;
  }
  
  .completion-icon {
    width: 60px;
    height: 60px;
  }
  
  .completion-icon i {
    font-size: 30px;
  }
  
  .completion-title {
    font-size: 20px;
  }
  
  .order-number {
    font-size: 16px;
  }
  
  .next-steps, 
  .support-info {
    padding: 15px;
  }
}

/* 法的文書共通のスタイル */
.legal-content {
  line-height: 1.7;
  color: var(--dark);
}

.legal-content .page-title {
  display: flex;
  align-items: center;
  color: var(--primary);
  font-size: 28px;
  margin-bottom: 30px;
}

.legal-content .page-title i {
  margin-right: 15px;
  color: var(--primary);
}

/* 法的文書情報 */
.legal-document-info {
  background-color: var(--light);
  padding: 15px 20px;
  border-radius: var(--border-radius);
  margin-bottom: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.legal-info-item {
  display: flex;
  align-items: center;
  font-size: 15px;
  color: var(--dark);
}

.legal-info-item i {
  color: var(--primary);
  margin-right: 10px;
}

/* 目次スタイル */
.legal-toc {
  background-color: #f9f9f9;
  padding: 20px;
  border-radius: var(--border-radius);
  margin-bottom: 30px;
  border-left: 4px solid var(--accent);
}

.legal-toc h3 {
  font-size: 18px;
  color: var(--dark);
  margin-bottom: 15px;
  display: flex;
  align-items: center;
}

.legal-toc h3 i {
  color: var(--accent);
  margin-right: 10px;
}

.toc-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 10px;
  list-style: none;
  padding: 0;
}

.toc-list li {
  margin-bottom: 8px;
}

.toc-list a {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--accent);
  padding: 6px 10px;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.toc-list a:hover {
  background-color: rgba(var(--accent-rgb), 0.1);
  padding-left: 15px;
}

.toc-list a::before {
  content: '\f054';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  margin-right: 8px;
  font-size: 12px;
  color: var(--primary);
}

/* 条文カードスタイル */
.article-card {
  background-color: var(--white);
  border-radius: var(--border-radius);
  box-shadow: 0 2px 5px rgba(var(--dark-rgb), 0.05);
  padding: 25px;
  margin-bottom: 25px;
  border-left: 4px solid var(--gray);
  transition: all 0.3s ease;
  scroll-margin-top: 100px; /* アンカーリンクのスクロール位置調整 */
}

.article-card:hover {
  border-left-color: var(--primary);
}

.article-card h2 {
  font-size: 20px;
  color: var(--dark);
  margin-top: 0;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--gray);
  display: flex;
  align-items: center;
}

.article-card h2 i {
  color: var(--primary);
  margin-right: 10px;
  font-size: 18px;
}

.article-content {
  padding: 0 10px;
}

.article-content p {
  margin-bottom: 15px;
  text-align: justify;
}

/* 禁止事項リスト */
.prohibited-items {
  counter-reset: item;
  margin: 15px 0;
}

.prohibited-item {
  display: flex;
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--gray);
}

.prohibited-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.prohibited-number {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  background-color: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  margin-right: 15px;
  margin-top: 2px;
}

.prohibited-content {
  flex: 1;
  line-height: 1.6;
}

/* 番号付きリスト */
.numbered-list {
  counter-reset: item;
  margin: 15px 0;
}

.numbered-item {
  display: flex;
  margin-bottom: 12px;
}

.numbered-item:last-child {
  margin-bottom: 0;
}

.numbered-item .number {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  background-color: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  margin-right: 15px;
  margin-top: 2px;
}

.numbered-item .content {
  flex: 1;
  line-height: 1.6;
}

/* 特定商取引法ページのスタイル */
.info-table-container {
  overflow-x: auto;
  margin-bottom: 15px;
}

.info-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(var(--dark-rgb), 0.05);
}

.info-table th {
  background-color: #f5f5f5;
  padding: 15px;
  text-align: left;
  font-weight: 600;
  border-bottom: 1px solid var(--gray);
/*  width: 25%;*/
  min-width: 150px;
  vertical-align: top;
  color: var(--dark);
  display: flex;
  align-items: center;
}

.info-table th i {
  color: var(--primary);
  margin-right: 10px;
  font-size: 16px;
}

.info-table td {
  padding: 15px;
  border-bottom: 1px solid var(--gray);
  vertical-align: top;
}

.info-table tr:last-child th,
.info-table tr:last-child td {
  border-bottom: none;
}

.info-table .highlight-text {
  color: var(--primary);
  font-weight: 700;
  font-size: 16px;
}

.info-table .detail-text {
  display: block;
  margin-top: 5px;
  font-size: 14px;
}

.info-table .note-text {
  display: block;
  margin-top: 5px;
  color: var(--gray-dark);
  font-size: 14px;
  font-style: italic;
}

/* 重要なお知らせ */
.important-notice {
  background-color: rgba(var(--primary-rgb), 0.1);
  padding: 15px 20px;
  border-radius: var(--border-radius);
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.important-notice i {
  color: var(--primary);
  font-size: 24px;
  margin-right: 15px;
}

.important-notice p {
  margin: 0;
  font-weight: 600;
  color: var(--primary);
}

.note-text {
  color: var(--gray-dark);
  font-size: 14px;
  margin-top: 10px;
}

/* 支払い方法 */
.payment-methods {
  margin: 15px 0;
}

.payment-method {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  background-color: #f9f9f9;
  padding: 12px 15px;
  border-radius: var(--border-radius);
}

.payment-method i {
  color: var(--primary);
  font-size: 20px;
  margin-right: 15px;
}

.card-brands {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 15px;
}

.card-brand {
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 60px;
}

.card-brand.visa {
  background-color: #1A1F71;
}

.card-brand.master {
  background-color: #EB001B;
}

.card-brand.jcb {
  background-color: #0A5299;
}

.card-brand.dc {
  background-color: #004B8D;
}

/* 商品引渡し情報 */
.delivery-info {
  margin: 15px 0;
}

.delivery-time {
  display: flex;
  align-items: center;
  background-color: rgba(var(--secondary-rgb), 0.1);
  padding: 15px;
  border-radius: var(--border-radius);
  margin-bottom: 15px;
}

.delivery-time i {
  color: var(--secondary);
  font-size: 20px;
  margin-right: 15px;
  flex-shrink: 0;
}

.delivery-notice {
  display: flex;
  align-items: flex-start;
  background-color: #f9f9f9;
  padding: 15px;
  border-radius: var(--border-radius);
}

.delivery-notice i {
  color: var(--accent);
  font-size: 16px;
  margin-right: 15px;
  margin-top: 3px;
  flex-shrink: 0;
}

/* 追加料金 */
.additional-fees {
  margin: 15px 0;
}

.fee-item {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  padding: 10px 15px;
  background-color: #f9f9f9;
  border-radius: var(--border-radius);
}

.fee-item i {
  color: var(--primary);
  font-size: 16px;
  margin-right: 15px;
}

.fee-item.free {
  background-color: rgba(var(--secondary-rgb), 0.1);
}

.fee-item.free i {
  color: var(--secondary);
}

/* 戻るボタン */
.back-to-top {
  text-align: center;
  margin-top: 40px;
}

.back-to-top .btn {
  display: inline-flex;
  align-items: center;
}

.back-to-top .btn i {
  margin-right: 8px;
}

/* 価格リンク */
.price-link {
  margin-top: 15px;
}

.price-link .btn {
  display: inline-flex;
  align-items: center;
}

.price-link .btn i {
  margin-right: 8px;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .legal-content .page-title {
    font-size: 24px;
  }
  
  .legal-toc {
    padding: 15px;
  }
  
  .toc-list {
    grid-template-columns: 1fr;
  }
  
  .article-card {
    padding: 20px 15px;
  }
  
  .article-card h2 {
    font-size: 18px;
  }
  
  .info-table th,
  .info-table td {
    padding: 12px 10px;
  }
  
  .info-table th {
    min-width: 120px;
  }
  
  .prohibited-number,
  .numbered-item .number {
    width: 24px;
    height: 24px;
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .legal-document-info {
    padding: 12px;
  }
  
  .legal-info-item {
    font-size: 14px;
    width: 100%;
  }
  
  .article-card {
    padding: 15px 12px;
  }
  
  .prohibited-item,
  .numbered-item {
    align-items: flex-start;
  }
  
  .prohibited-number,
  .numbered-item .number {
    margin-top: 0;
  }
  
  .prohibited-content,
  .numbered-item .content {
    font-size: 14px;
  }
  
  .important-notice {
    flex-direction: column;
    text-align: center;
  }
  
  .important-notice i {
    margin-right: 0;
    margin-bottom: 10px;
  }
  
  .delivery-time,
  .delivery-notice {
    flex-direction: column;
    text-align: center;
  }
  
  .delivery-time i,
  .delivery-notice i {
    margin-right: 0;
    margin-bottom: 10px;
  }
}

/*クレジットカード処理中*/
.processing-container {
  text-align: center;
  padding: 40px 20px;
  background-color: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  max-width: 600px;
  margin: 0 auto 40px;
}

.processing-icon {
  margin: 0 auto 25px;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: rgba(var(--primary-rgb), 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: pulse-processing 2s infinite;
}

.processing-icon i {
  color: var(--primary);
  font-size: 35px;
}

@keyframes pulse-processing {
  0% {
box-shadow: 0 0 0 0 rgba(var(--primary-rgb), 0.4);
  }
  70% {
box-shadow: 0 0 0 15px rgba(var(--primary-rgb), 0);
  }
  100% {
box-shadow: 0 0 0 0 rgba(var(--primary-rgb), 0);
  }
}

.processing-title {
  font-size: 24px;
  color: var(--dark);
  margin-bottom: 20px;
  font-weight: 700;
}

.processing-message {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 30px;
  color: var(--gray-dark);
}

.processing-progress {
  width: 100%;
  max-width: 400px;
  height: 8px;
  background-color: var(--gray);
  border-radius: 4px;
  overflow: hidden;
  margin: 0 auto;
  position: relative;
}

.progress-bar {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background: linear-gradient(to right, var(--primary), var(--secondary));
  animation: progress 2s infinite ease-in-out;
  border-radius: 4px;
}

@keyframes progress {
  0% { width: 5%; left: 0%; }
  50% { width: 30%; left: 70%; }
  100% { width: 5%; left: 0%; }
}

.security-note {
  margin-top: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-dark);
  font-size: 14px;
}

.security-note i {
  color: var(--accent);
  margin-right: 8px;
}

/* スピナーアニメーション */
.loading-dots {
  display: inline-block;
}

.loading-dots:after {
  content: '...';
  animation: dots 1.5s steps(4, end) infinite;
  display: inline-block;
  width: 20px;
  text-align: left;
}

@keyframes dots {
  0%, 20% { content: '.'; }
  40% { content: '..'; }
  60% { content: '...'; }
  80%, 100% { content: ''; }
}

/* モバイル対応 */
@media (max-width: 480px) {
  .processing-title {
font-size: 20px;
  }
  
  .processing-icon {
width: 60px;
height: 60px;
  }
  
  .processing-icon i {
font-size: 28px;
  }
}
/* 固定チャージボタン用のCSS */
.fixed-charge-button {
  position: fixed;
  bottom: -70px; /* 初期状態では画面外に配置 */
  left: 0;
  right: 0;
  background-color: var(--white);
  padding: 15px;
  box-shadow: 0 -2px 10px rgba(var(--black-rgb), 0.1);
  text-align: center;
  z-index: 99;
  transition: bottom 0.3s ease;
}

.fixed-charge-button.visible {
  bottom: 0; /* 表示状態 */
}

.fixed-charge-button .btn {
  min-width: 200px;
  font-weight: 700;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(var(--primary-rgb), 0.4);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(var(--primary-rgb), 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(var(--primary-rgb), 0);
  }
}

/* モバイル向け調整 */
@media (max-width: 768px) {
  .fixed-charge-button {
    padding: 10px;
  }
  
  body.top {
    padding-bottom: 60px; /* ボタンが表示されるとき、コンテンツが隠れないよう下部にパディングを追加 */
  }
}

/* 404エラーページ */
.error-page {
  padding: 50px 0;
  text-align: center;
}

.error-icon {
  font-size: 80px;
  color: var(--primary);
  margin-bottom: 20px;
}

.error-code {
  font-size: 96px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 20px;
  line-height: 1;
}

.error-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--dark);
}

.error-message {
  margin-bottom: 30px;
  font-size: 16px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.error-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.error-actions .btn {
  min-width: 200px;
}

.divider {
  margin: 15px 0;
  font-size: 18px;
  color: var(--gray-dark);
}

@media (max-width: 768px) {
  .error-actions {
flex-direction: column;
align-items: center;
  }
  
  .error-code {
font-size: 72px;
  }
  
  .error-icon {
font-size: 60px;
  }
}