@charset "utf-8";
/* ===================================================================
   column-list.css - コラム一覧ページ固有スタイル
   =================================================================== */

/* ===== Breadcrumb ===== */
.column-breadcrumb {
  max-width: 1100px;
  margin: 0 auto;
  margin-top: 78px;
  padding: 12px 20px;
  font-size: 12px;
  color: #888;
  width: 100%;
}
.column-breadcrumb a {
  color: #888;
  text-decoration: none;
}
.column-breadcrumb a:hover {
  text-decoration: underline;
}

/* ===== Page Title ===== */
.column-page-title {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px 24px;
  width: 100%;
}
.column-page-title h1 {
  font-size: 28px;
  font-weight: bold;
  color: #FF6B00;
  padding-bottom: 10px;
  border-bottom: 3px solid #FF6B00;
  display: inline-block;
}

/* ===== Main Layout ===== */
.column-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px 40px;
  display: flex;
  gap: 40px;
  width: 100%;
}

/* ===== Sidebar ===== */
.column-sidebar {
  width: 220px;
  flex-shrink: 0;
}
.column-sidebar-section {
  margin-bottom: 32px;
}
.column-sidebar-heading {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 12px;
  color: #333;
}

/* Popular articles */
.column-popular-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.column-popular-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  text-decoration: none;
  color: inherit;
}
.column-popular-thumb {
  width: 100px;
  min-width: 100px;
  aspect-ratio: 16/10;
  background: #eee;
  border-radius: 4px;
  overflow: hidden;
}
.column-popular-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.column-popular-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.column-popular-title {
  font-size: 13px;
  font-weight: bold;
  line-height: 1.4;
  color: #333;
}
.column-popular-item:hover .column-popular-title {
  color: #FF6B00;
}
.column-popular-date {
  font-size: 12px;
  color: #999;
}

/* ===== Content Area ===== */
.column-content {
  flex: 1;
  min-width: 0;
}

/* Section Header */
.column-section-header {
  background: linear-gradient(90deg, #FF8A00, #FFAB40);
  color: #fff;
  font-size: 18px;
  font-weight: bold;
  padding: 10px 20px;
  border-radius: 6px 6px 0 0;
  margin-bottom: 24px;
}

/* Article Grid */
.column-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 24px;
}

/* Article Card */
.column-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  transition: box-shadow 0.2s, transform 0.2s;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}
.column-card:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  transform: translateY(-2px);
}
.column-card-thumb {
  width: 100%;
  aspect-ratio: 16/10;
  background: #f0e8dc;
  overflow: hidden;
}
.column-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.column-card-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.column-card-title {
  font-size: 15px;
  font-weight: bold;
  margin-bottom: 8px;
  line-height: 1.5;
  color: #333;
}
.column-card-lead {
  font-size: 13px;
  color: #666;
  margin-bottom: 12px;
  line-height: 1.5;
  flex: 1;
}
.column-card-meta {
  display: flex;
  align-items: center;
  margin-top: auto;
}
.column-card-date {
  font-size: 12px;
  color: #999;
}

/* ===== Fixed Bottom CTA ===== */
.fixed-bottom-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  z-index: 99;
  width: 100%;
  padding: 1.5% 5% calc(30px + env(safe-area-inset-bottom));
  background-color: rgba(255, 255, 255, 0.7);
  display: none;
  border-top: 1px solid #ccc;
}
.fixed-bottom-cta a {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: row;
  padding: 0 30px 2px;
  margin: 0 auto;
  width: 90%;
  max-width: 720px;
  height: 70px;
  background: #82B837;
  box-shadow: 0px 3px 0px 0px rgba(214, 214, 214, .75);
  border-radius: 100vh;
  color: #fff;
  font-size: clamp(22px, 1.6vw, 24px);
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
.fixed-bottom-cta a::after {
  content: "";
  display: block;
  position: absolute;
  right: 5%;
  top: 50%;
  width: 10px;
  height: 10px;
  border-bottom: 2px solid #fff;
  border-left: 2px solid #fff;
  transform: translateY(-50%) rotate(-135deg);
  transition: 0.2s;
}
.fixed-bottom-cta a:hover {
  opacity: 0.6;
}
.fixed-bottom-cta a:hover::after {
  right: 4%;
}

/* ===== SP Popular (mobile only) ===== */
.column-sp-popular {
  display: none;
}

/* ===================================================================
   Responsive (max-width: 740px) - match site breakpoint
   =================================================================== */
@media (max-width: 740px) {
  /* Breadcrumb */
  .column-breadcrumb {
    margin-top: 67px;
    padding: 8px 16px;
    font-size: 11px;
  }

  /* Page Title */
  .column-page-title {
    padding: 0 16px 16px;
  }
  .column-page-title h1 {
    font-size: 22px;
  }

  /* Layout: stack */
  .column-container {
    flex-direction: column;
    padding: 0 16px 24px;
    gap: 0;
  }
  .column-sidebar {
    display: none;
  }

  /* Section Header */
  .column-section-header {
    font-size: 16px;
    padding: 8px 16px;
    border-radius: 4px 4px 0 0;
    margin-bottom: 16px;
  }

  /* Grid */
  .column-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 16px;
  }
  .column-card-body {
    padding: 10px;
  }
  .column-card-title {
    font-size: 13px;
    margin-bottom: 4px;
  }
  .column-card-lead {
    font-size: 11px;
    margin-bottom: 8px;
  }
  .column-card-date {
    font-size: 11px;
  }

  /* SP Popular Section */
  .column-sp-popular {
    display: block;
    padding: 24px 0;
    border-top: 2px solid #FFCC80;
  }
  .column-sp-popular-heading {
    text-align: center;
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 16px;
    color: #333;
  }
  .column-sp-popular-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
  .column-sp-popular-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    text-decoration: none;
    color: inherit;
  }
  .column-sp-popular-thumb {
    width: 120px;
    min-width: 120px;
    aspect-ratio: 16/10;
    background: #f0e8dc;
    border-radius: 4px;
    overflow: hidden;
  }
  .column-sp-popular-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .column-sp-popular-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
  .column-sp-popular-title {
    font-size: 14px;
    font-weight: bold;
    line-height: 1.4;
  }
  .column-sp-popular-date {
    font-size: 12px;
    color: #999;
  }

  /* Fixed Bottom CTA (mobile) */
  .fixed-bottom-cta {
    padding: 3% 5%;
  }
  .fixed-bottom-cta a {
    height: 50px;
    font-size: 18px;
  }

  /* Footer: bottom padding for floating CTA */
  footer {
    padding-bottom: 80px;
  }

}

@media (max-width: 400px) {
  .column-card-title {
    font-size: 12px;
  }
  .column-card-lead {
    font-size: 10px;
  }
}