.hero-copy {
  display: grid;
  gap: var(--space-3);
}

.hero-media {
  justify-self: center;
}

.hero-media img {
  width: min(520px, 100%);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--color-card-border);
}

.section-highlight {
  background: radial-gradient(circle at 80% 20%, rgba(56, 189, 248, 0.08), transparent 35%);
}

.section-cta {
  padding: var(--space-16) 0 var(--space-16);
}

.feature-slider {
  position: relative;
  overflow: hidden;
  width: 100%;
  margin: 0 auto var(--space-10);
  background: transparent;
  aspect-ratio: 8 / 5;
  max-height: none;
  padding: 0 0 48px 0;
  /* ドット分の余白を拡大 */
}

.slider-track {
  display: flex;
  align-items: stretch;
  gap: 0;
  width: auto;
  height: 100%;
  overflow: hidden;
}

.slide {
  position: relative;
  flex: 0 0 auto;
  min-width: auto;
  flex-shrink: 0;
  height: 100%;
  aspect-ratio: 8 / 5;
  max-height: 400px;
  overflow: hidden;
}

.slide-link {
  display: block;
  position: relative;
  height: 100%;
  color: inherit;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 0;
}

.slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0.65) 100%);
  pointer-events: none;
}

.slide-badge {
  position: absolute;
  top: 0;
  right: 0;
  padding: 8px 12px;
  background: #007864;
  color: #ffffff;
  font-weight: 700;
  border-radius: 0;
  z-index: 2;
}

.slide-meta {
  position: absolute;
  left: 16px;
  bottom: 16px;
  color: #ffffff;
  z-index: 2;
  max-width: min(640px, 90%);
  display: grid;
  gap: 6px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.slide-date {
  margin: 0;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
}

.slide-title {
  margin: 0;
  font-size: clamp(13px, 2vw, 16px);
  line-height: 1.4;
}

.slider-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: none;
  background: #D9D9D9;
  cursor: pointer;
  padding: 0;
}

.slider-dot.active {
  background: #B3B3B3;
}

.feature-list-slider {
  position: relative;
  overflow: hidden;
  height: auto;
}

.feature-list-nav {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
  padding: 0 var(--space-2);
  z-index: 2;
  top: 36%;
  transform: translateY(-50%);
}

.feature-arrow {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  pointer-events: auto;
  transition: transform 150ms ease;
}

.feature-arrow-icon {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.feature-arrow:hover {
  transform: translateY(-1px);
}

.feature-list-track {
  display: flex;
  gap: var(--space-6);
  width: auto;
  overflow: hidden;
  transition: transform 600ms ease;
  will-change: transform;
  padding: 0;
}

/* Empty recommendation message spans the full slider width. */
.feature-list-track > p {
  flex: 0 0 100%;
  text-align: center;
}

.feature-card {
  flex: 0 0 auto;
  background: #ffffff;
  scroll-snap-align: start;
}

.feature-card-link {
  display: grid;
  gap: 6px;
  color: inherit;
}

.feature-card-body {
  display: grid;
  gap: 6px;
  padding: 0 15px 15px 15px;
}

.feature-card-image {
  width: 100%;
  position: relative;
  aspect-ratio: 455 / 260;
  height: auto;
  overflow: hidden;
}

.feature-card-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 0;
}

.feature-detail {
  background: #F7F7F2;
}

.feature-detail-inner {
  width: 1280px;
  max-width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(260px, 1fr);
  gap: 40px;
  align-items: start;
  padding: 0 var(--space-4);
}

.feature-detail-main,
.feature-detail-side {
  padding: 0;
}

.feature-detail-main {
  width: 100%;
}

.feature-detail-side {
  width: 100%;
}

.feature-detail-side {
  background: transparent;
  padding: 0;
  border: none;
}

.admin-card {
  border: 1px solid #dcdcd5;
  padding: 15px 0;
  background: #ffffff;
  margin-bottom: 40px;
}

.admin-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 15px;
  font-weight: 700;
  font-size: 20px;
  color: #333333;
}

.admin-header img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  display: block;
  border-radius: 0;
}

.admin-divider {
  margin: var(--space-3) 0;
  border-bottom: 1px solid #333333;
}

.admin-body {
  display: grid;
  gap: var(--space-4);
  color: #333333;
}

.admin-photo img {
  width: 140px;
  height: 140px;
  object-fit: cover;
  display: block;
  border-radius: 0;
  margin: 0 auto;
}

.admin-name {
  font-weight: 700;
  line-height: 1.6;
  text-align: center;
}

.admin-desc {
  margin: 0;
  line-height: 1.6;
  padding: 15px;
}

.admin-social {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
}

.admin-social img {
  width: 28px;
  height: 28px;
  display: block;
  border-radius: 0;
}

.member-card {
  border: 1px solid #dcdcd5;
  padding: 15px 0 0 0;
  background: #ffffff;
}

.member-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 15px;
  font-weight: 700;
  font-size: 20px;
  color: #333333;
}

.member-header img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  display: block;
  border-radius: 0;
}

.member-divider {
  margin: var(--space-3) 0;
  border-bottom: 1px solid #333333;
}

.member-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--space-3);
}

.member-list li {
  border-bottom: 1px dotted #333333;
}

.member-list a {
  color: #333333;
  text-decoration: none;
  display: block;
  width: 100%;
  padding: 0 10px 10px 10px;
}

.member-list a:hover {
  color: #007864;
}

.member-actions {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
}

.member-action {
  display: block;
  text-align: center;
  padding: 12px;
  background: #273043;
  color: #ffffff;
  text-decoration: none;
  border-radius: 0;
  font-size: 13px;
}

.member-action:hover {
  background: #1f2634;
}

.sidebar-card {
  border: 1px solid #dcdcd5;
  padding: 15px 0 0 0;
  background: #ffffff;
  margin-top: 40px;
  margin-bottom: 40px;

}

.sidebar-ad {
  margin: 0 0 40px 0;
  text-align: center;
}

.sidebar-ad img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 0;
  object-fit: cover;
  border: 1px solid #dcdcd5;
}

.sidebar-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 15px;
  font-weight: 700;
  font-size: 20px;
  color: #333333;
}

.sidebar-header img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  display: block;
  border-radius: 0;
}

.sidebar-divider {
  margin: var(--space-3) 0;
  border-bottom: 1px solid #333333;
}

.sidebar-list {
  list-style: none;
  margin: 0;
  padding: 0 15px 15px 15px;
  display: grid;
  gap: 10px;
}

.download-list {
  margin-bottom: 20px;
}

.sidebar-list a {
  color: #333333;
  text-decoration: none;
  display: block;
  width: 100%;
}

.sidebar-list a:hover {
  color: #007864;
  opacity: 1;
}

.category-list {
  margin: 0;
  padding: 0 15px 15px 15px;
  display: grid;
  gap: var(--space-3);
}

.category-list li {
  border-bottom: 1px dotted #333333;
}

.category-list a {
  color: #333333;
  text-decoration: none;
  display: block;
  width: 100%;
  padding: 0 10px 10px 10px;
}

.category-list a:hover {
  color: #007864;
}

.download-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: center;
  padding-left: 15px;
}

.download-rank {
  display: inline-flex;
  width: 28px;
  height: 28px;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 20px;
  color: #333333;
}

.download-info {
  display: grid;
  gap: 6px;
}

.download-title {
  font-size: 14px;
  font-weight: 700;
  color: #333333;
}

.download-meta {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 12px;
  color: #555555;
}

.download-category {
  background: #E92828;
  color: #ffffff;
  padding: 2px 8px;
  font-weight: 700;
  border-radius: 0;
}

.feature-banner {
  display: block;
  margin: 0 0 40px 0;
}

.feature-banner img {
  width: auto;
  height: auto;
  display: block;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 0;
}

.feature-detail-content {
  background: transparent;
  display: block;
}

.feature-detail-panel {
  background: #ffffff;
  padding: 0;
}

.feature-detail-text {
  padding: 40px;
  margin-bottom: 100px;
}
@media (max-width: 1023px) {
  .feature-detail-text {
    padding: 20px;
  }
}

.feature-detail-heading {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: "Noto Sans JP", "Segoe UI", system-ui, -apple-system, sans-serif;
  font-weight: 500;
  font-size: 24px;
  margin: 0 0 var(--space-4) 0;
  color: #333333;
}

.feature-detail-main p {
  color: #333333;
}
.meta-tight {
  margin: 0;
}

@media (max-width: 1023px) {
  .feature-detail-main p {
    font-size: 14px;
  }
}

.feature-detail-heading img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  display: block;
  border-radius: 0;
}

.feature-detail-main h3 {
  margin-top: 0;
}
.feature-grid.category-auto {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.post-meta-row {
  display: inline-flex;
  gap: var(--space-3);
  align-items: center;
}
.post-meta-author {
  font-weight: 600;
}
.post-hero-image {
  margin-bottom: var(--space-6);
  aspect-ratio: 4 / 3;
  position: relative;
  overflow: hidden;
  max-height: none;
}
.post-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  position: absolute;
  inset: 0;
}
@media (min-width: 1920px) {
  .post-hero-image {
    max-height: none;
  }
}
.post-nav-links {
  margin-top: var(--space-8);
  display: flex;
  justify-content: space-between;
  gap: var(--space-4);
  flex-wrap: wrap;
}
.feature-detail-text h2,
.feature-detail-text h3,
.feature-detail-text h4,
.feature-detail-text h5,
.feature-detail-text h6 {
  color: #1f2937;
  margin: 0 0 15px;
  line-height: 1.3;
}
.feature-detail-text h2 {
  font-size: 22px;
  font-weight: 700;
  padding-bottom: 8px;
  border-bottom: 1px solid #e0e0da;
}
.feature-detail-text h3 {
  font-size: 19px;
  font-weight: 700;
}
.feature-detail-text h4 {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.feature-detail-text h5 {
  font-size: 15px;
  font-weight: 600;
  color: #273043;
}
.feature-detail-text h6 {
  font-size: 14px;
  font-weight: 600;
  color: #4b5563;
}
.feature-detail-text h1 {
  font-size: 26px;
  font-weight: 700;
  margin: 0 0 15px;
  line-height: 1.3;
  color: #1f2937;
}
.feature-detail-text > * {
  margin-bottom: 24px;
}
.feature-detail-text > *:last-child {
  margin-bottom: 0;
}

.feature-detail-side h4 {
  margin-top: 0;
}

.feature-detail-side ul {
  margin: var(--space-3) 0 0;
  padding: 0;
}

.feature-detail-side .download-list {
  margin-bottom: 20px;
}

.ranking-section {
  background: #F7F7F2;
}

.ranking-section .container {
  width: 1280px;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 var(--space-4);
}

.ranking-header {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: var(--space-6);
  background: #ffffff;
  width: 100%;
}

.ranking-header img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  display: block;
  border-radius: 0;
}

.ranking-header h3 {
  margin: 0;
  font-family: "Noto Sans JP", "Segoe UI", system-ui, -apple-system, sans-serif;
  font-weight: 700;
  font-size: 24px;
  color: #333333;
  letter-spacing: 0.06em;
  line-height: 1.2;
}

.ranking-body {
  min-height: 120px;
  background: transparent;
  border: none;
  padding: 0;
}

.ranking-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-5);
}

.ranking-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  background: #ffffff;
  border: 1px solid #dcdcd5;
}

.ranking-thumb {
  width: 100%;
  aspect-ratio: 15 / 13;
  height: auto;
  overflow: hidden;
}

.ranking-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 0;
}

.ranking-meta {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-3);
  align-items: start;
  padding: var(--space-4);
}

.ranking-no {
  font-weight: 700;
  font-size: 1.1rem;
  color: #333333;
}

.ranking-info {
  display: grid;
  gap: 8px;
}

.ranking-title {
  margin: 0;
  font-size: 1rem;
  color: #333333;
}

.ranking-sub {
  display: flex;
  gap: var(--space-3);
  align-items: center;
  font-size: 0.9rem;
  color: #555555;
}

.ranking-category {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  background: #007864;
  color: #ffffff;
  font-weight: 700;
  border-radius: 0;
  font-size: 12px;
  justify-self: flex-start;
}

@media (max-width: 1023px) {
  .feature-detail-inner {
    grid-template-columns: 1fr;
    gap: var(--space-6);
    padding: 0 var(--space-4);
  }

  .ranking-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ranking-sub {
    display: grid;
    gap: 6px;
    align-items: start;
  }

  .feature-list-nav {
    padding: 0 var(--space-3);
    top: 38%;
    transform: translateY(-50%);
  }
  .feature-arrow {
    width: 38px;
    height: 38px;
    transform: none;
  }
  .feature-arrow-icon {
    width: 100%;
    height: 100%;
  }
}

.feature-card-date {
  margin: 0;
  font-size: 0.9rem;
  color: #555;
}

.feature-card-title {
  margin: 0;
  font-size: 1rem;
  line-height: 1.3;
  color: #222;
}

.feature-card-category {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  background: #007864;
  color: #ffffff;
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: 0;
  width: fit-content;
}

@media (min-width: 1920px) {
  .feature-card-image:not(.post-hero-image) {
    max-height: 260px;
  }
}

.feature-heading h2 {
  margin: 0 0 40px 0;
  font-family: "Noto Sans JP", "Segoe UI", system-ui, -apple-system, sans-serif;
  font-size: 36px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #333333;
  text-align: center;
}

/* Mobile side drawer */
.hamburger {
  display: inline-flex;
}

.site-nav {
  display: none;
}

@media (min-width: 1024px) {
  .site-nav {
    display: flex;
  }
}


.mobile-menu {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: rgba(0, 0, 0, 0.8);
  opacity: 0;
  transition: opacity 420ms ease-in-out;
  z-index: 30;
}

.mobile-menu-panel {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: min(80vw, 420px);
  background: #F7F7F2;
  padding: var(--space-8) var(--space-6);
  box-shadow: -24px 0 48px rgba(0, 0, 0, 0.35);
  border-radius: 0;
  transform: translateX(100%);
  transition: transform 420ms ease-in-out;
  display: grid;
  grid-template-rows: auto 1fr;
  gap: var(--space-6);
}

.mobile-close {
  justify-self: end;
  width: 44px;
  height: 44px;
  border: 1px solid #273043;
  background: transparent;
  color: #273043;
  border-radius: 50%;
  font-size: 1.1rem;
  cursor: pointer;
}

.mobile-menu-body {
  align-self: start;
  display: grid;
  gap: var(--space-6);
}

.mobile-search {
  margin: 0;
}

.mobile-search input[type="search"] {
  width: 100%;
  height: 44px;
  padding: 0 14px 0 44px;
  border: 1px solid #dcdcd5;
  border-radius: 999px;
  font-size: 14px;
  background: #ffffff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23273043' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='6'/%3E%3Cline x1='16.5' y1='16.5' x2='21' y2='21'/%3E%3C/svg%3E") no-repeat 14px 50%;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.mobile-search input[type="search"]:focus {
  outline: none;
  border-color: #273043;
  box-shadow: 0 0 0 3px rgba(39, 48, 67, 0.08);
}

.mobile-menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--space-4);
}

.mobile-menu-list li {
  border-bottom: 1px dotted #273043;
  padding-bottom: 4px;
}

.mobile-menu-list .has-submenu {
  padding-bottom: 0;
}

.mobile-parent {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 8px;
}

.mobile-menu-list li:last-child {
  border-bottom: none;
}

.mobile-menu-list a {
  color: #333333;
  font-weight: 400;
  font-size: 15px;
  padding: 8px 4px;
  display: block;
  width: 100%;
}

.mobile-menu-list a:hover {
  color: var(--color-accent);
}

.mobile-submenu-toggle {
  width: 32px;
  height: 32px;
  border: 1px solid #dcdcd5;
  background: #ffffff;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 150ms ease, border-color 150ms ease, color 150ms ease;
}

.mobile-submenu-toggle::after {
  content: "+";
  display: block;
  font-size: 15px;
  line-height: 1;
  color: #273043;
  transition: color 180ms ease;
}

.mobile-menu-list .open > .mobile-parent .mobile-submenu-toggle {
  border-color: #273043;
}

.mobile-menu-list .open > .mobile-parent .mobile-submenu-toggle::after {
  content: "−";
}

.mobile-submenu {
  list-style: none;
  margin: var(--space-2) 0 0;
  padding: 0 0 0 var(--space-4);
  display: grid;
  gap: 6px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 220ms ease, opacity 180ms ease;
  opacity: 0;
}

.mobile-menu-list .open > .mobile-submenu {
  max-height: 400px;
  opacity: 1;
}

.mobile-submenu li {
  border: none;
  padding: 0;
}

.mobile-submenu a {
  padding: 6px 4px;
  font-size: 14px;
}

.mobile-menu-social {
  display: inline-flex;
  gap: 14px;
  align-items: center;
}

.mobile-menu-social img {
  width: 28px;
  height: 28px;
  display: block;
  border-radius: 0;
}

.mobile-menu-ad {
  margin-top: var(--space-6);
}

.mobile-menu-ad img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 0;
}

.mobile-menu-note {
  margin: var(--space-4) 0 0;
  font-size: 11px;
  color: #333333;
  line-height: 1.6;
}

body.mobile-menu-open {
  overflow: hidden;
}

body.mobile-menu-open .mobile-menu {
  pointer-events: auto;
  opacity: 1;
}

body.mobile-menu-open .mobile-menu-panel {
  transform: translateX(0);
}
