@charset "UTF-8";

/*!
Theme Name: Cocoon Child
Description: Cocoon専用の子テーマ
Theme URI: https://wp-cocoon.com/
Author: わいひら
Author URI: https://nelog.jp/
Template:   cocoon-master
Version:    1.1.3
*/

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/

/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px){
  /*必要ならばここにコードを書く*/
}

/*834px以下*/
@media screen and (max-width: 834px){
  /*必要ならばここにコードを書く*/
}

/*480px以下*/
@media screen and (max-width: 480px){
  /*必要ならばここにコードを書く*/
}

.compare-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 16px;
  border: 1px solid #93c5fd;
  border-radius: 8px;
  overflow: hidden;
  background: #ffffff;
}

.compare-table th {
  background: #1e88e5;
  color: #ffffff;
  font-weight: 700;
  padding: 13px 10px;
  border-right: 1px solid #60a5fa;
  text-align: center;
}

.compare-table th:last-child {
  border-right: none;
}

.compare-table td {
  padding: 13px 10px;
  border-right: 1px solid #dbeafe;
  border-bottom: 1px solid #dbeafe;
  vertical-align: middle;
  color: #1f2937;
}

.compare-table td:last-child {
  border-right: none;
  text-align: center;
}

.compare-table tbody tr:nth-child(odd) {
  background: #ffffff;
}

.compare-table tbody tr:nth-child(even) {
  background: #f0f9ff;
}

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

.compare-table td:first-child {
  font-weight: 700;
  color: #1e3a8a;
  background: #e0f2fe;
}

.compare-table a {
  display: inline-block;
  background: #10B981;
  color: #ffffff;
  padding: 7px 13px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  white-space: nowrap;
}

.compare-table a:hover {
  background: #1e40af;
}

.info-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 16px;
  border: 1px solid #bae6fd;
  border-radius: 8px;
  overflow: hidden;
  background: #ffffff;
}

.info-table th {
  background: #bae6fd;
  color: #1e3a8a;
  font-weight: 700;
  padding: 12px 10px;
  border-right: 1px solid #7dd3fc;
  border-bottom: 1px solid #7dd3fc;
  text-align: center;
}

.info-table th:last-child {
  border-right: none;
}

.info-table td {
  padding: 12px 10px;
  border-right: 1px solid #e0f2fe;
  border-bottom: 1px solid #e0f2fe;
  vertical-align: middle;
  color: #1f2937;
}

.info-table td:last-child {
  border-right: none;
}

.info-table tbody tr:nth-child(odd) {
  background: #ffffff;
}

.info-table tbody tr:nth-child(even) {
  background: #f0f9ff;
}

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

.info-table td:first-child {
  background: #f0f9ff;
  color: #1e3a8a;
  font-weight: 600;
}

/* 記事内の強調リスト */
.article ul.point-list {
  margin: 24px 0;
  padding: 16px 18px 16px 20px;
  background: #f0f9ff;
  border-left: 5px solid #1e88e5;
  border-radius: 8px;
  list-style: none;
}

.article ul.point-list li {
  position: relative;
  margin: 0;
  padding: 8px 0 8px 30px;
  color: #1f2937;
  line-height: 1.8;
  font-size: 16px;
  border-bottom: 1px solid #dbeafe;
}

.article ul.point-list li:last-child {
  border-bottom: none;
}

.article ul.point-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 9px;
  width: 20px;
  height: 20px;
  background: #1e88e5;
  color: #ffffff;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 700;
  line-height: 20px;
  text-align: center;
}

@media screen and (max-width: 600px) {
  .article ul.point-list {
    margin: 20px 0;
    padding: 14px 14px 14px 16px;
  }

  .article ul.point-list li {
    padding-left: 28px;
    font-size: 15px;
    line-height: 1.75;
  }
}

.osaka-area-selector,
.osaka-area-selector * {
  box-sizing: border-box;
}

.osaka-area-selector {
  padding: 0;
  background: #fff;
  font-family: inherit;
  border-radius: 14px;
  overflow: hidden;
}

.osaka-area-selector .hero {
  background: linear-gradient(135deg, #0a2a6e 0%, #1a4bb5 60%, #2563eb 100%);
  padding: 2.5rem 2rem 2rem;
  position: relative;
  overflow: hidden;
}

.osaka-area-selector .hero::before {
  content: '';
  position: absolute;
  right: -60px;
  top: -60px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
}

.osaka-area-selector .hero::after {
  content: '';
  position: absolute;
  right: 40px;
  bottom: -80px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
}

.osaka-area-selector .hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 12px;
  color: #bdd4ff;
  letter-spacing: 0.04em;
  margin-bottom: 0.75rem;
}

.osaka-area-selector .hero-title {
  font-size: 24px;
  font-weight: 600;
  color: #fff;
  line-height: 1.4;
  margin-bottom: 0.5rem;
}

.osaka-area-selector .hero-sub {
  font-size: 14px;
  color: rgba(255,255,255,0.75);
  line-height: 1.7;
}

.osaka-area-selector .area-section {
  padding: 1.5rem 1.25rem 0.5rem;
}

.osaka-area-selector .section-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #e5e7eb;
}

.osaka-area-selector .section-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #EBF3FF;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #1a4bb5;
  font-size: 16px;
}

.osaka-area-selector .section-label {
  font-size: 16px;
  font-weight: 600;
  color: #111827;
}

.osaka-area-selector .pref-block {
  margin-bottom: 1.75rem;
}

.osaka-area-selector .pref-name {
  font-size: 12px;
  font-weight: 600;
  color: #1a4bb5;
  letter-spacing: 0.06em;
  margin-bottom: 0.625rem;
  padding-left: 2px;
}

.osaka-area-selector .tag-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.osaka-area-selector .area-tag {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  background: #fff;
  border: 1px solid #dbe3ef;
  border-radius: 999px;
  font-size: 13px;
  color: #1f2937;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s, transform 0.1s;
  text-decoration: none;
  white-space: nowrap;
  user-select: none;
}

.osaka-area-selector .area-tag:hover {
  background: #EBF3FF;
  border-color: #1a4bb5;
  color: #1a4bb5;
  transform: translateY(-1px);
}

.osaka-area-selector .area-tag.featured {
  background: #EBF3FF;
  border-color: #1a4bb5;
  color: #1a4bb5;
  font-weight: 600;
}

.osaka-area-selector .divider {
  height: 1px;
  background: #e5e7eb;
  margin: 0 1.25rem 1.5rem;
}

.osaka-area-selector .footer-note {
  padding: 1rem 1.25rem 1.5rem;
  font-size: 12px;
  color: #6b7280;
  line-height: 1.6;
}

@media screen and (max-width: 480px) {
  .osaka-area-selector .hero {
    padding: 2rem 1.25rem 1.75rem;
  }

  .osaka-area-selector .hero-title {
    font-size: 21px;
  }

  .osaka-area-selector .area-section {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .osaka-area-selector .area-tag {
    font-size: 13px;
    padding: 6px 12px;
  }
}

/* =========================================================
   CTAボタン共通スタイル（順位カラー4種）
   外観 → カスタマイズ → 追加CSS に貼り付け
   ========================================================= */

.cta-btn {
  display: inline-block;
  position: relative;
  padding: 14px 48px 14px 40px;
  border-radius: 8px;
  font-weight: bold;
  font-size: 16px;
  text-decoration: none;
  color: #fff !important;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2), 0 1px 0 rgba(255,255,255,0.15) inset;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}
.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.25);
}
.cta-btn:active {
  transform: translateY(1px);
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}
/* 矢印は文字コードに依存しないCSS三角形で描画（文字化け対策） */
.cta-btn::after {
  content: "";
  position: absolute;
  right: 20px;
  top: 50%;
  width: 9px;
  height: 9px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  transform: translateY(-50%) rotate(45deg);
}

.cta-btn-wrap {
  text-align: center;
  margin: 24px 0;
}

/* マイクロコピー（ボタン上下の短い訴求文） */
.cta-microcopy-top {
  text-align: center;
  font-size: 13px;
  font-weight: bold;
  color: #555;
  margin: 0 0 6px;
}
.cta-microcopy-bottom {
  text-align: center;
  font-size: 12px;
  color: #888;
  margin: 6px 0 0;
}

/* 順位カラー（1位=赤／2位=青／3位=橙／4位=紫、地域問わず固定） */
.cta-btn--rank1 { background-color: #e53935; }
.cta-btn--rank1:hover { background-color: #c62828; }

.cta-btn--rank2 { background-color: #1565c0; }
.cta-btn--rank2:hover { background-color: #0d47a1; }

.cta-btn--rank3 { background-color: #f57c00; }
.cta-btn--rank3:hover { background-color: #e65100; }

.cta-btn--rank4 { background-color: #6a1b9a; }
.cta-btn--rank4:hover { background-color: #4a148c; }

/* 見出し(h3)の色帯も順位カラーで統一 */
.cta-heading {
  padding-left: 10px;
  margin-top: 40px;
  border-left: 4px solid;
}
.cta-heading--rank1 { border-color: #e53935; }
.cta-heading--rank2 { border-color: #1565c0; }
.cta-heading--rank3 { border-color: #f57c00; }
.cta-heading--rank4 { border-color: #6a1b9a; }

/* =========================================================
   比較表(テーブル)内のミニCTAボタン
   ========================================================= */
.cta-btn-table {
  display: block;
  position: relative;
  width: 100%;
  box-sizing: border-box;
  margin-top: 6px;
  padding: 8px 22px 8px 4px;
  border-radius: 6px;
  font-weight: bold;
  font-size: 12px;
  text-align: center;
  text-decoration: none;
  color: #fff !important;
  box-shadow: 0 2px 4px rgba(0,0,0,0.15);
  transition: opacity 0.15s ease;
}
.cta-btn-table:active {
  opacity: 0.85;
}
/* こちらも文字ではなくCSS三角形の矢印 */
.cta-btn-table::after {
  content: "";
  position: absolute;
  right: 10px;
  top: 50%;
  width: 6px;
  height: 6px;
  border-top: 1.5px solid #fff;
  border-right: 1.5px solid #fff;
  transform: translateY(-50%) rotate(45deg);
}

.cta-btn-table.cta-btn--rank1 { background-color: #e53935; }
.cta-btn-table.cta-btn--rank2 { background-color: #1565c0; }
.cta-btn-table.cta-btn--rank3 { background-color: #f57c00; }
.cta-btn-table.cta-btn--rank4 { background-color: #6a1b9a; }
