/* ==========================================
   CSS Variables - カラーパレット・共通設定
   ========================================== */
:root {
  /* メインカラー（青系） */
  --color-primary: #1a5490;
  --color-primary-dark: #0d3a6b;
  --color-primary-light: #2d6eb5;
  --color-accent: #0088cc;
  --color-accent-hover: #006ba3;
  
  /* グレースケール */
  --color-text: #2c3e50;
  --color-text-light: #5a6c7d;
  --color-bg: #ffffff;
  --color-bg-light: #f8f9fa;
  --color-bg-gray: #e9ecef;
  --color-border: #d1d8e0;
  --color-border-light: #e4e9ef;
  
  /* ステータスカラー */
  --color-success: #28a745;
  --color-warning: #ffc107;
  --color-info: #17a2b8;
  
  /* シャドウ */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
  --shadow-card: 0 2px 8px rgba(26, 84, 144, 0.08);
  
  /* フォントファミリー */
  --font-primary: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-serif: 'Crimson Pro', Georgia, serif;
  
  /* スペーシング */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  --spacing-xxl: 4rem;
  
  /* トランジション */
  --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: 0.15s ease-in-out;
}

/* ==========================================
   Reset & Base Styles
   ========================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-primary);
  color: var(--color-text);
  line-height: 1.75;
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--color-primary-dark);
}

.size-s{
  font-size: 0.875em;
  line-height: 1.6;
}

/* ==========================================
   ページトップへ戻るボタン
   ========================================== */
.scroll-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 3rem;
  height: 3rem;
  background: var(--color-primary);
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(1rem);
  transition: all var(--transition-base);
  z-index: 1000;
}

.scroll-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-to-top:hover {
  background: var(--color-primary-dark);
  transform: translateY(-0.25rem);
  box-shadow: var(--shadow-lg);
}

/* ==========================================
   ヘッダー
   ========================================== */
.site-header {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  box-shadow: var(--shadow-md);
  position: relative;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0;
}

.header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.5rem;
}

.site-logo img {
  display: block;
  filter: brightness(0) invert(1);
}

.header-meta {
  display: flex;
  align-items: center;
}

.pr-label {
  background: rgba(255, 255, 255, 0.25);
  color: white;
  padding: 0.35rem 0.75rem;
  border-radius: 4px;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.header-image-wrapper {
  position: relative;
  overflow: hidden;
  max-height: 200px;
}

.header-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  opacity: 0.9;
}

/* ヘッダー画像を非表示にする場合 */
.header-image-wrapper.hidden {
  display: none;
}

/* ==========================================
   パンくずリストと更新日
   ========================================== */
.breadcrumb-wrapper {
  background: var(--color-bg-light);
  border-bottom: 1px solid var(--color-border-light);
  padding: 0.5rem 1.5rem;
}

.breadcrumb {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.breadcrumb ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  flex: 1;
}

.breadcrumb li {
  display: flex;
  align-items: center;
}

.breadcrumb li:not(:last-child)::after {
  content: '\203A';
  margin-left: 0.5rem;
  color: var(--color-text-light);
}

.breadcrumb a {
  color: var(--color-text-light);
  transition: color var(--transition-fast);
}

.breadcrumb a:hover {
  color: var(--color-primary);
}

.breadcrumb li:last-child span {
  color: var(--color-text);
}

.update-date {
  color: var(--color-text-light);
  font-size: 0.8125rem;
  font-weight: 400;
  white-space: nowrap;
  flex-shrink: 0;
  width: 100%;
  text-align: right;
}

@media screen and (min-width: 768px) {
  .update-date {
    width: auto;
  }
}

/* ==========================================
   メインコンテンツ
   ========================================== */
.main-content {
  max-width: 900px;
  margin: 0 auto;
  padding: var(--spacing-lg) 0.75rem var(--spacing-xxl);
}

.article-content {
  background: white;
  border-radius: 12px;
  box-shadow: var(--shadow-card);
  padding: var(--spacing-lg) var(--spacing-md);
}

.site-title {
  font-family: var(--font-serif);
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  line-height: 1.4;
  margin-bottom: var(--spacing-md);
  padding-bottom: var(--spacing-md);
  border-bottom: 3px solid var(--color-primary);
  position: relative;
}

.site-title::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 80px;
  height: 3px;
  background: var(--color-accent);
}

.lead-section p {
  margin-bottom: var(--spacing-md);
  line-height: 1.85;
}

.lead-text {
  font-size: 1.0625rem;
  line-height: 1.85;
  color: var(--color-text);
  margin-bottom: var(--spacing-xl);
  padding: var(--spacing-md);
  background: var(--color-bg-light);
  border-left: 4px solid var(--color-accent);
  border-radius: 0 6px 6px 0;
}

.lead-text--plain {
  background: none;
  border: none;
  padding: 0;
  border-radius: 0;
}

/* ==========================================
   カードローン紹介ボックス
   ========================================== */
.loan-box {
  margin: var(--spacing-xl) 0;
  padding: var(--spacing-lg);
  background: linear-gradient(135deg, #f0f7ff 0%, #e6f2ff 100%);
  border: 2px solid var(--color-accent);
  border-radius: 12px;
  box-shadow: var(--shadow-md);
}

.loan-box__header {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-md);
}

.loan-box__title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  margin: 0;
}

.loan-box__title a {
  color: var(--color-primary-dark);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.loan-box__title a:hover {
  color: var(--color-accent);
}

.loan-box__badge {
  background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.625rem;
  border-radius: 4px;
  white-space: nowrap;
}

.loan-box__content {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-md);
}

.loan-box__features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.75rem;
}

.loan-box__features li {
  position: relative;
  padding-left: 1.75rem;
  line-height: 1.7;
  color: var(--color-text);
  font-size: 1.0625rem;
}

.loan-box__features li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-weight: 700;
  font-size: 1.125rem;
}

.loan-box__banner {
  flex-shrink: 0;
  width: 300px;
  height: 250px;
  background: var(--color-bg-gray);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.loan-box__banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.loan-box__specs {
  margin-bottom: var(--spacing-md);
}

.loan-box__table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.loan-box__table th,
.loan-box__table td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--color-border-light);
}

.loan-box__table th {
  background: var(--color-bg-light);
  font-weight: 600;
  color: var(--color-primary);
  width: 30%;
}

.loan-box__table td {
  color: var(--color-text);
  font-weight: 500;
}

.loan-box__table tr:last-child th,
.loan-box__table tr:last-child td {
  border-bottom: none;
}

.loan-box__cta {
  text-align: center;
}

.loan-box__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #e53935 0%, #c62828 100%);
  color: white;
  font-size: 1.125rem;
  font-weight: 700;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  text-decoration: none;
  transition: all var(--transition-base);
  box-shadow: 0 4px 12px rgba(229, 57, 53, 0.3);
  position: relative;
}

.loan-box__button::after {
  content: '\203A';
  margin-left: 0.5rem;
  font-size: 1.5rem;
  line-height: 1;
  transition: transform var(--transition-fast);
}

.loan-box__button:hover {
  background: linear-gradient(135deg, #c62828 0%, #b71c1c 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(229, 57, 53, 0.4);
  color: white;
}

.loan-box__button:hover::after {
  transform: translateX(4px);
}

.loan-box__note {
  margin-top: var(--spacing-sm);
  font-size: 0.8125rem;
  color: var(--color-text-light);
  line-height: 1.6;
  text-align: left;
}

/* スマホ表示 */
@media screen and (max-width: 767px) {
  .loan-box {
    padding: var(--spacing-md);
  }
  
  .loan-box__title {
    font-size: 1.25rem;
  }
  
  .loan-box__content {
    grid-template-columns: 1fr 100px;
    gap: var(--spacing-sm);
  }
  
  .loan-box__features {
    order: 2;
    grid-column: 1 / -1;
  }
  
  .loan-box__features li {
    font-size: 0.9375rem;
    line-height: 1.7;
  }
  
  .loan-box__banner {
    width: 100px;
    height: auto;
    aspect-ratio: 300 / 250;
    order: 1;
  }
  
  .loan-box__specs {
    grid-column: 1;
    order: 1;
  }
  
  .loan-box__table {
    font-size: 0.8125rem;
  }
  
  .loan-box__table th,
  .loan-box__table td {
    padding: 0.5rem 0.75rem;
  }
  
  .loan-box__button {
    display: flex;
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
  }
}
.loan-section-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  padding-bottom: var(--spacing-sm);
  margin-bottom: var(--spacing-lg);
  border-bottom: 3px solid var(--color-primary);
  position: relative;
}

.loan-section-title::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 80px;
  height: 3px;
  background: var(--color-accent);
}

@media screen and (max-width: 767px) {
  .loan-section-title {
    font-size: 1.25rem;
  }
}

/* ==========================================
   目次
   ========================================== */
.table-of-contents {
  background: linear-gradient(135deg, #f0f7ff 0%, #e6f2ff 100%);
  border: 2px solid var(--color-accent);
  border-radius: 10px;
  padding: var(--spacing-md);
  margin-bottom: var(--spacing-xl);
  counter-reset: toc-counter;
}

.table-of-contents a {
  text-decoration: none;
}

.toc-header {
  margin-bottom: var(--spacing-sm);
}

.toc-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.toc-title::before {
  content: '\1F4D1';
  font-size: 1.25rem;
}

.toc-details {
  margin-top: 0.5rem;
  display: flex;
  flex-direction: column;
}

.toc-details summary {
  cursor: pointer;
  color: var(--color-primary);
  font-size: 0.9375rem;
  padding: 0.5rem;
  margin-top: 0.75rem;
  list-style: none;
  user-select: none;
  transition: color var(--transition-fast);
  border-radius: 4px;
  text-align: center;
  font-weight: 500;
  order: 2;
}

.toc-details summary::-webkit-details-marker {
  display: none;
}

.toc-details summary::before {
  content: '\25BC';
  display: inline-block;
  margin-right: 0.5rem;
  font-size: 0.75rem;
  transition: transform var(--transition-fast);
}

.toc-details summary::after {
  content: '続きを表示';
}

.toc-details[open] summary::before {
  content: '\25B2';
}

.toc-details[open] summary::after {
  content: '閉じる';
}

.toc-details summary:hover {
  background: rgba(26, 84, 144, 0.08);
}

.toc-details > .toc-list {
  order: 1;
}

.toc-list {
  list-style: none;
}

.toc-list > li {
  counter-increment: toc-counter;
  margin-bottom: 0.75rem;
}

.toc-list > li > a {
  display: flex;
  align-items: center;
  padding: 0.5rem 0.75rem;
  color: var(--color-primary);
  font-weight: 500;
  border-radius: 6px;
  transition: all var(--transition-fast);
  gap: 0.75rem;
}

.toc-list > li > a::before {
  content: counter(toc-counter);
  background: var(--color-accent);
  color: white;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
  line-height: 1;
  padding-top: 1px;
}

.toc-list > li > a:hover {
  background: rgba(26, 84, 144, 0.08);
  color: var(--color-primary-dark);
}

.toc-sublist {
  list-style: none;
  margin-top: 0.5rem;
  padding-left: 2.25rem;
}

.toc-sublist li {
  margin-bottom: 0.4rem;
}

.toc-sublist a {
  display: block;
  padding: 0.35rem 0.5rem;
  color: var(--color-text);
  font-size: 0.9375rem;
  border-left: 2px solid var(--color-border);
  transition: all var(--transition-fast);
}

.toc-sublist a:hover {
  border-left-color: var(--color-accent);
  color: var(--color-primary);
  padding-left: 0.75rem;
}

/* ==========================================
   カード型商品紹介エリア（横スクロール）
   ========================================== */
.product-cards-section {
  margin: var(--spacing-xl) 0;
  padding: var(--spacing-lg);
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-radius: 12px;
}

/* スマホ表示で2つ目のカードが見えるように調整 */
@media screen and (max-width: 767px) {
  .product-cards-section {
    margin: var(--spacing-xl) 0;
    padding: 20px 14px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
}
}

.section-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  text-align: center;
  margin-bottom: var(--spacing-md);
  position: relative;
  padding-bottom: var(--spacing-sm);
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--color-accent);
}

.scroll-container-wrapper {
  display: block;
}

.scroll-container {
  display: flex;
  overflow-x: auto;
  gap: 16px;
  padding: 10px 4px;
  margin: 0;
  scroll-snap-type: x proximity;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--color-accent) var(--color-bg-gray);
}

.scroll-container::-webkit-scrollbar {
  height: 8px;
}

.scroll-container::-webkit-scrollbar-track {
  background: var(--color-bg-gray);
  border-radius: 4px;
}

.scroll-container::-webkit-scrollbar-thumb {
  background: var(--color-accent);
  border-radius: 4px;
}

.scroll-container::-webkit-scrollbar-thumb:hover {
  background: var(--color-accent-hover);
}

.card {
  flex: 0 0 85%;
  min-width: 280px;
  scroll-snap-align: start;
  border: 2px solid var(--color-border);
  border-radius: 10px;
  padding: 1.25rem;
  background: white;
  box-shadow: var(--shadow-card);
  transition: all var(--transition-base);
}

/* スマホ表示で2つ目のカードが見えるように調整 */
@media screen and (max-width: 767px) {
  .card {
    flex: 0 0 75%;
    min-width: 260px;
  }
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-accent);
}

.card .title {
  font-weight: bold;
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  min-height: 2rem;
}

.card .features {
  margin: 0.75rem 0;
  font-size: 0.9375rem;
  color: var(--color-text);
  min-height: 2.5rem;
  display: flex;
  align-items: center;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
  font-size: 0.9375rem;
}

.spec-table th,
.spec-table td {
  padding: 0.625rem;
  text-align: left;
  border-bottom: 1px solid var(--color-border-light);
}

.spec-table th {
  background: var(--color-bg-light);
  font-weight: 600;
  color: var(--color-primary);
  width: 35%;
}

.spec-table td {
  color: var(--color-text);
}

.cta {
  background: linear-gradient(135deg, #e53935 0%, #c62828 100%);
  color: white;
  padding: 1rem;
  text-align: center;
  border-radius: 8px;
  text-decoration: none;
  display: block;
  margin-top: 1rem;
  font-weight: bold;
  font-size: 1.0625rem;
  transition: all var(--transition-base);
  box-shadow: 0 2px 8px rgba(229, 57, 53, 0.3);
}

.cta:hover {
  background: linear-gradient(135deg, #c62828 0%, #b71c1c 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(229, 57, 53, 0.4);
  color: white;
}

.dots {
  text-align: center;
  margin-top: 1rem;
}

.dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin: 0 5px;
  background-color: var(--color-border);
  border-radius: 50%;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.dot:hover {
  background-color: var(--color-text-light);
}

.dot.active {
  background-color: var(--color-primary);
  transform: scale(1.2);
}

/* PC表示でも横スクロール維持 */
@media screen and (min-width: 768px) {
  .card {
    flex: 0 0 320px;
    min-width: 320px;
  }
}

/* ==========================================
   コンテンツセクション
   ========================================== */
.content-section {
  margin: var(--spacing-xxl) 0;
  padding-top: var(--spacing-lg);
  border-top: 1px solid var(--color-border-light);
}

.content-section:first-of-type {
  border-top: none;
}

.content-section p a,
.content-section li a,
.content-section blockquote a {
  text-decoration: underline;
}

.content-section h2 {
  font-family: var(--font-serif);
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  margin-bottom: var(--spacing-lg);
  padding-bottom: var(--spacing-sm);
  border-bottom: 2px solid var(--color-accent);
  position: relative;
}

.content-section h2::before {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 60px;
  height: 2px;
  background: var(--color-primary);
}

.content-section h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-top: var(--spacing-xl);
  margin-bottom: var(--spacing-md);
  padding-left: var(--spacing-sm);
  border-left: 4px solid var(--color-accent);
}

.eyecatch-image {
  margin: var(--spacing-lg) 0;
  text-align: center;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.eyecatch-image img {
  max-width: 100%;
  width: auto;
  height: auto;
  display: inline-block;
  border-radius: 10px;
}

@media screen and (min-width: 800px) {
  .eyecatch-image img {
    max-width: 800px;
    width: auto;
  }
}

.content-section p {
  margin-bottom: var(--spacing-md);
  line-height: 1.85;
}

/* ==========================================
   リスト
   ========================================== */
.content-list {
  margin: var(--spacing-md) 0;
  padding-left: var(--spacing-lg);
}

.content-list li {
  margin-bottom: var(--spacing-sm);
  line-height: 1.8;
}

.content-list li::marker {
  color: var(--color-accent);
  font-weight: 600;
}

.step-list {
  list-style: none;
  counter-reset: step-counter;
  padding: 0;
  margin: var(--spacing-lg) 0;
}

.step-list li {
  counter-increment: step-counter;
  margin-bottom: var(--spacing-lg);
  padding-left: 0;
  position: relative;
  padding-top: 2.5rem;
}

.step-list li::before {
  content: 'STEP ' counter(step-counter);
  position: absolute;
  left: 0;
  top: 0;
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-primary) 100%);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.05em;
}

.step-list li strong {
  display: block;
  font-size: 1.125rem;
  color: var(--color-primary-dark);
  margin-bottom: 0.5rem;
}

.step-list li p {
  margin: 0;
  color: var(--color-text);
}

/* ==========================================
   テーブル
   ========================================== */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin: var(--spacing-lg) 0;
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.comparison-table thead {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: white;
}

.comparison-table th,
.comparison-table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid var(--color-border-light);
}

.comparison-table th {
  font-weight: 600;
  font-size: 0.9375rem;
}

.comparison-table tbody tr {
  transition: background var(--transition-fast);
}

.comparison-table tbody tr:hover {
  background: var(--color-bg-light);
}

.comparison-table tbody tr:last-child td {
  border-bottom: none;
}

/* ==========================================
   情報ボックス
   ========================================== */
.info-box {
  display: flex;
  gap: var(--spacing-sm);
  padding: var(--spacing-md);
  margin: var(--spacing-lg) 0;
  border-radius: 8px;
  border-left: 4px solid;
  box-shadow: var(--shadow-sm);
}

.info-box__icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  line-height: 1;
}

.info-box__content {
  flex: 1;
}

.info-box__title {
  font-weight: 700;
  margin-bottom: 0.5rem;
  font-size: 1.0625rem;
}

.info-box__content p:last-child {
  margin-bottom: 0;
}

.info-box--primary {
  background: #e3f2fd;
  border-left-color: var(--color-accent);
}

.info-box--primary .info-box__title {
  color: var(--color-primary);
}

.info-box--primary .info-box__icon::before {
  content: '\1F4A1';
}

.info-box--warning {
  background: #fff3cd;
  border-left-color: var(--color-warning);
}

.info-box--warning .info-box__title {
  color: #856404;
}

.info-box--warning .info-box__icon::before {
  content: '\26A0\FE0F';
}

.info-box--success {
  background: #d4edda;
  border-left-color: var(--color-success);
}

.info-box--success .info-box__title {
  color: #155724;
}

.info-box--success .info-box__icon::before {
  content: '\2713';
}

/* ==========================================
   引用ボックス
   ========================================== */
.quote-box {
  margin: var(--spacing-xl) 0;
  padding: var(--spacing-lg);
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-left: 5px solid var(--color-accent);
  border-radius: 0 8px 8px 0;
  font-style: italic;
  position: relative;
}

.quote-box::before {
  content: '\201C';
  position: absolute;
  top: -0.5rem;
  left: 1rem;
  font-size: 4rem;
  color: var(--color-accent);
  opacity: 0.2;
  font-family: Georgia, serif;
  line-height: 1;
}

.quote-box p {
  margin-bottom: var(--spacing-sm);
  position: relative;
  z-index: 1;
}

.quote-box cite {
  display: block;
  text-align: right;
  font-style: normal;
  color: var(--color-text-light);
  font-size: 0.9375rem;
  margin-top: var(--spacing-sm);
}

.quote-box cite::before {
  content: '\2014\0020';
}

/* ==========================================
   画像
   ========================================== */
.content-image {
  margin: var(--spacing-xl) auto;
  text-align: center;
}

.content-image img {
  border-radius: 8px;
  box-shadow: var(--shadow-md);
}

.content-image figcaption {
  margin-top: var(--spacing-sm);
  font-size: 0.875rem;
  color: var(--color-text-light);
  font-style: italic;
}

/* ==========================================
   ブログカード風リンク
   ========================================== */
.blog-card {
  margin: var(--spacing-xl) 0;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  overflow: hidden;
  transition: all var(--transition-base);
  box-shadow: var(--shadow-sm);
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-accent);
}

.blog-card__link {
  display: flex;
  text-decoration: none;
  color: inherit;
  height: 100%;
}

.blog-card__image {
  flex-shrink: 0;
  width: 200px;
  aspect-ratio: 16 / 9;  /* 高さを自動計算: 約113px */
  background: var(--color-bg-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.blog-card__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;  /* coverからcontainに変更 */
  transition: transform var(--transition-base);
}

.blog-card:hover .blog-card__image img {
  transform: scale(1.05);
}

.blog-card__content {
  flex: 1;
  padding: 0.75rem 1rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.blog-card__category {
  display: inline-block;
  background: var(--color-accent);
  color: white;
  font-size: 0.75rem;
  padding: 0.25rem 0.625rem;
  border-radius: 4px;
  margin-bottom: 0.5rem;
  font-weight: 600;
  align-self: flex-start;
}

.blog-card__title {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--color-primary-dark);
  margin-bottom: 0.375rem;
  line-height: 1.4;
}

.blog-card__excerpt {
  font-size: 0.8125rem;
  color: var(--color-text-light);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
}

/* ==========================================
   FAQ
   ========================================== */
.faq-container {
  margin: var(--spacing-lg) 0;
}

.faq-item {
  border: 1px solid var(--color-border);
  border-radius: 8px;
  margin-bottom: var(--spacing-md);
  overflow: hidden;
  background: white;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.faq-item:hover {
  box-shadow: var(--shadow-md);
}

.faq-question {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-sm);
  padding: var(--spacing-md);
  cursor: pointer;
  font-weight: 600;
  color: var(--color-primary-dark);
  list-style: none;
  user-select: none;
  position: relative;
  transition: background var(--transition-fast);
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::after {
  content: '\002B';
  position: absolute;
  right: var(--spacing-md);
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  color: var(--color-accent);
  transition: transform var(--transition-fast);
}

.faq-item[open] .faq-question::after {
  content: '\2212';
  transform: translateY(-50%) rotate(180deg);
}

.faq-question:hover {
  background: var(--color-bg-light);
}

.faq-icon {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  background: var(--color-accent);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.125rem;
}

.faq-text {
  flex: 1;
  padding-right: 2rem;
}

.faq-answer {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-sm);
  padding: 0.5rem var(--spacing-md) var(--spacing-md) var(--spacing-md);
  animation: fadeIn 0.3s ease-in-out;
}

.faq-answer .faq-icon {
  background: var(--color-primary);
}

.faq-answer p {
  margin: 0;
  line-height: 1.8;
  color: var(--color-text);
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-0.5rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================
   著者情報
   ========================================== */
.author-info {
  display: flex;
  gap: var(--spacing-md);
  padding: var(--spacing-lg);
  margin: var(--spacing-xl) 0;
  background: linear-gradient(135deg, #f0f7ff 0%, #e6f2ff 100%);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
}

.author-info__avatar {
  flex-shrink: 0;
  align-self: flex-start;
}

.author-info__avatar img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 3px solid white;
  box-shadow: var(--shadow-sm);
}

.author-info__content {
  flex: 1;
  min-width: 0;
}

.author-info__name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  margin-bottom: 0.25rem;
}

.author-info__role {
  font-size: 0.875rem;
  color: var(--color-accent);
  margin-bottom: var(--spacing-sm);
  font-weight: 500;
}

.author-info__bio {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--color-text);
  margin: 0;
}

@media screen and (max-width: 480px) {
  .author-info {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .author-info__avatar {
    align-self: center;
  }
}

/* ==========================================
   フッター
   ========================================== */
.site-footer {
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, #0a1e3d 100%);
  color: rgba(255, 255, 255, 0.9);
  padding: var(--spacing-xxl) 0 var(--spacing-lg);
  margin-top: var(--spacing-xxl);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--spacing-xl);
  margin-bottom: var(--spacing-xl);
  padding-bottom: var(--spacing-xl);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-nav__column {
  min-width: 0;
}

.footer-nav__title {
  font-size: 1.0625rem;
  font-weight: 700;
  color: white;
  margin-bottom: var(--spacing-md);
  padding-bottom: var(--spacing-sm);
  border-bottom: 2px solid var(--color-accent);
}

.footer-nav__list {
  list-style: none;
}

.footer-nav__list li {
  margin-bottom: 0.625rem;
}

.footer-nav__list a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9375rem;
  transition: all var(--transition-fast);
  display: inline-block;
}

.footer-nav__list a:hover {
  color: white;
  transform: translateX(4px);
}

.footer-links {
  text-align: center;
  padding: var(--spacing-md) 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-links__list {
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--spacing-md);
}

.footer-links__list a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9375rem;
  transition: color var(--transition-fast);
}

.footer-links__list a:hover {
  color: white;
}

.footer-disclaimer {
  padding: var(--spacing-lg) 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-disclaimer__title {
  font-size: 1rem;
  font-weight: 600;
  color: white;
  margin-bottom: var(--spacing-sm);
}

.footer-disclaimer__text {
  font-size: 0.8125rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}

.footer-disclaimer__text a {
  color: #fff;
}

.footer-bottom {
  padding-top: var(--spacing-lg);
  text-align: center;
}

.footer-sitename {
  font-size: 1.125rem;
  font-weight: 600;
  color: white;
  margin-bottom: var(--spacing-sm);
}

.footer-sitename a {
  color: white;
}

.footer-sitename a:hover {
  text-decoration: underline;
}

.footer-copyright {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
}

/* ==========================================
   レスポンシブデザイン
   ========================================== */
@media screen and (max-width: 767px) {
  html {
    font-size: 14px;
  }

  .site-title {
    font-size: 1.75rem;
  }
  
  .main-content {
    padding: var(--spacing-md) 0.5rem var(--spacing-xl);
  }

  .article-content {
    padding: var(--spacing-md) var(--spacing-sm);
    border-radius: 8px;
  }
  
  .breadcrumb-wrapper {
    padding: 0.5rem 0.75rem;
  }
  
  .breadcrumb {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  
  .update-date {
    align-self: flex-end;
  }

  .blog-card__link {
    flex-direction: column;
  }

  .blog-card__image {
    width: 100%;
  }

  .blog-card__content {
    padding: var(--spacing-md);
  }
  
  .blog-card__category {
    margin-bottom: 0.75rem;
  }
  
  .blog-card__title {
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
    line-height: 1.5;
  }
  
  .blog-card__excerpt {
    font-size: 0.875rem;
    line-height: 1.6;
  }

  .footer-nav {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
  }

  .comparison-table {
    font-size: 0.875rem;
  }

  .comparison-table th,
  .comparison-table td {
    padding: 0.75rem 0.5rem;
  }
}

@media screen and (max-width: 480px) {
  .scroll-to-top {
    bottom: 1rem;
    right: 1rem;
    width: 2.5rem;
    height: 2.5rem;
  }

  .header-top {
    padding: 1rem;
  }
  
  .main-content {
    padding: var(--spacing-sm) 0.25rem var(--spacing-lg);
  }
  
  .article-content {
    padding: var(--spacing-sm);
  }
}

/* CTAボタン共通スタイル */
.cta-button-wrapper {
  margin: 30px 0;
  text-align: center;
}

.cta-microcopy-top {
  font-size: 14px;
  font-weight: bold;
  margin-bottom: 4px;
  display: block;
}

.cta-button {
  display: inline-block;
  position: relative;
  padding: 18px 50px 18px 30px;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  min-width: 280px;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.cta-button::after {
  content: '>';
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 16px;
}

.cta-microcopy-bottom {
  font-size: 12px;
  margin-top: 8px;
  display: block;
  color: #666;
}

/* プロミス用カラー */
.cta-promise {
  background: linear-gradient(135deg, #006cb5 0%, #0080d0 100%);
  color: #ffffff;
}
.cta-promise:hover {
  background: linear-gradient(135deg, #005fa0 0%, #0072bc 100%);
  color: #ffffff;
}

/* アコム用カラー */
.cta-acom {
  background: linear-gradient(135deg, #c8102e 0%, #e31837 100%);
  color: #ffffff;
}
.cta-acom:hover {
  background: linear-gradient(135deg, #b00e29 0%, #cc1530 100%);
  color: #ffffff;
}

/* アイフル用カラー */
.cta-aiful {
  background: linear-gradient(135deg, #d70c18 0%, #f01020 100%);
  color: #ffffff;
}
.cta-aiful:hover {
  background: linear-gradient(135deg, #c00b15 0%, #d90e1c 100%);
  color: #ffffff;
}

/* SMBCモビット用カラー */
.cta-mobit {
  background: linear-gradient(135deg, #00a040 0%, #00c853 100%);
  color: #ffffff;
  font-size: 16px;
}
.cta-mobit:hover {
  background: linear-gradient(135deg, #008f37 0%, #00b349 100%);
  color: #ffffff;
}