/* 特商法ページ専用CSS 05-tokushoho/tokushoho.css */

body {
  background: #fff;
  color: #333;
  font-family: 'Noto Sans JP', 'Hiragino Sans', 'Helvetica Neue', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  margin: 0;
  padding: 0;
}

#delivery, #payment, #info {
  background: #fff;
  margin: 30px auto;
  max-width: 900px;
  padding: 30px 24px;
}

h2 {
  font-size: 1.8rem;
  font-weight: 600;
  color: #333;
  padding-bottom: 12px;
  margin-bottom: 24px;
  border-bottom: 2px solid #AB3B3A;
  letter-spacing: 0.02em;
}

dl {
  margin: 0 0 24px 0;
}

dl dt {
  font-size: 1rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 6px;
  margin-top: 20px;
  letter-spacing: 0.01em;
}

dl dd {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 12px;
  margin-left: 0;
  padding: 8px 0;
  line-height: 1.6;
}

img {
  max-width: 180px;
  height: auto;
  margin-bottom: 8px;
}

/* 特定商取引法表形式スタイル */
.tokushoho-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
}

.tokushoho-table th,
.tokushoho-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid #e0e0e0;
  vertical-align: top;
}

.tokushoho-table th {
  background-color: #f8f9fa;
  font-weight: 600;
  color: #333;
  width: 30%;
  font-size: 0.95rem;
}

.tokushoho-table td {
  color: #555;
  font-size: 0.95rem;
  line-height: 1.6;
}

.tokushoho-table tr:last-child th,
.tokushoho-table tr:last-child td {
  border-bottom: none;
}

.row {
  /* display: flex; flex-wrap: wrap; の指定を削除し、common.cssのレイアウトに委ねる */
}

.col {
  /* flexやwidthの指定を削除し、common.cssのレイアウトに委ねる */
}

@media (max-width: 768px) {
  #delivery, #payment, #info {
    padding: 20px 8px;
    margin: 20px auto;
    max-width: 100%;
  }
  
  .row {
    flex-direction: column;
    gap: 0;
  }
  
  h2 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
  }
  
  dl dt {
    font-size: 0.95rem;
    margin-top: 16px;
  }
  
  dl dd {
    font-size: 0.9rem;
    padding: 6px 0;
  }

  /* 表形式のモバイル対応 */
  .tokushoho-table th,
  .tokushoho-table td {
    padding: 10px 8px;
    font-size: 0.9rem;
  }

  .tokushoho-table th {
    width: 35%;
  }
}

@media (max-width: 480px) {
  #delivery, #payment, #info {
    padding: 16px 8px;
    margin: 16px auto;
  }
  
  h2 {
    font-size: 1.3rem;
    margin-bottom: 16px;
    padding-bottom: 8px;
  }
  
  dl dt {
    margin-top: 12px;
  }
  
  img {
    max-width: 150px;
  }

  /* 小画面での表形式調整 */
  .tokushoho-table {
    font-size: 0.85rem;
  }

  .tokushoho-table th,
  .tokushoho-table td {
    padding: 8px 6px;
  }

  .tokushoho-table th {
    width: 40%;
  }
}

/* アクセシビリティ向上のためのフォーカススタイル */
:focus {
  outline: 2px solid #AB3B3A;
  outline-offset: 2px;
} 