@charset "UTF-8";

/* ヘッダー分下げる */
.main-content {
  margin-top: 20px;
  margin-left: auto;
  margin-right: auto;
  max-width: 800px;
  padding: 30px;
  background-color: #fafafa;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
  font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  color: #333;
  line-height: 1.8;
}

/* タイトル */
.main-content h1 {
  font-size: 24px;
  color: #2c3e50;
  margin-bottom: 20px;
  text-align: center;
}

/* セクション見出し */
.main-content h2 {
  font-size: 20px;
  color: #007bcd;
  margin-top: 30px;
  margin-bottom: 10px;
  border-left: 4px solid #007bcd;
  padding-left: 10px;
}

/* 通常段落 */
.main-content p {
  font-size: 16px;
  margin-bottom: 15px;
}

/* リスト */
.main-content ul {
  padding-left: 20px;
  margin-bottom: 20px;
}

.main-content ul li {
  margin-bottom: 8px;
  font-size: 16px;
}

/* お問い合わせリンク */
.main-content a {
  color: #007bcd;
  text-decoration: underline;
}

.main-content a:hover {
  text-decoration: none;
}

/* 特定商取引法テーブル用 */
.table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  font-size: 15px;
}

.table th, .table td {
  border: 1px solid #ccc;
  padding: 10px 15px;
  text-align: left;
}

.table th {
  background-color: #f0f0f5; /* 見出し行：やや落ち着いたグレー */
  font-weight: bold;
  color: #333;
}

.table tr td:first-child {
  background-color: #f9f9fb; /* 項目列：さらに落ち着いたグレー */
  color: #333;
  width: 30%;
  font-weight: bold;
}

.table tr td:last-child {
  width: 70%;
}

.return-button a {
  display: inline-block;
  padding: 12px 24px;
  background-color: #004d99;
  color: #fff;
  font-size: 16px;
  border-radius: 8px;
  text-decoration: none;
  box-shadow: 2px 2px 6px rgba(0,0,0,0.15);
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.return-button a:hover {
  background-color: #0066cc;
  transform: scale(1.03);
}

/* PC 基本表示：左寄せ */
.profile-photo {
  width: 200px;
  height: auto;
  display: block;
  margin: 0 20px 20px 0; /* 右に余白を追加 */
  float: left; /* 左寄せ＋テキスト回り込み */
  object-fit: cover;
}

/* スマホ表示 最適化：中央寄せ（レイアウト崩れ防止） */
@media screen and (max-width: 768px) {
  .profile-photo {
    width: 100%;
    max-width: 250px;
    float: none; /* 回り込み解除 */
    margin: 0 auto 20px; /* 中央寄せに戻す */
  }
}

/* 回り込み解除のため、末尾にclearfix */
.main-content::after {
  content: "";
  display: block;
  clear: both;
}