/*
Theme Name: Find Your Vietnam-Japan
Theme URI: https://example.com/findyour
Author: Find Your Team
Author URI: https://example.com
Description: ベトナム人女性と日本人男性向けの国際結婚相談所トップページテーマ。管理画面で編集しやすい構成。
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
Text Domain: findyour-vj
*/

:root {
  --bg: #f8f5f1;
  --surface: #ffffff;
  --surface-soft: #fffaf6;
  --text: #2f2d2b;
  --text-soft: #5d5955;
  --line: #e8ddd1;
  --accent: #c88e96;
  --accent-strong: #af747d;
  --gold: #d4b46f;
  --container-max: 1440px;
  --shadow-soft: 0 12px 28px rgba(58, 37, 26, 0.08);
  --shadow-hover: 0 18px 34px rgba(58, 37, 26, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: linear-gradient(180deg, #fdfbf8 0%, var(--bg) 100%);
  color: var(--text);
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 16px;
  line-height: 1.78;
  letter-spacing: 0.01em;
}

body.admin-bar .site-header {
  top: 32px;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.container {
  width: min(var(--container-max), calc(100% - 2rem));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(232, 221, 209, 0.95);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(10px);
}

.header-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.85rem 0;
}

.logo {
  display: inline-flex;
  flex-direction: column;
  line-height: 1.2;
}

.logo-main {
  color: #3f322f;
  font-family: 'Playfair Display', serif;
  font-size: 1.55rem;
  font-weight: 700;
}

.logo-sub {
  color: var(--text-soft);
  font-family: 'Poppins', sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-list,
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-list a,
.footer-nav a {
  position: relative;
  color: #605b56;
  font-family: 'Poppins', sans-serif;
  font-size: 0.84rem;
  padding-bottom: 0.15rem;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.nav-list a::after,
.footer-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -0.25rem;
  width: 100%;
  height: 1px;
  background: var(--accent-strong);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.2s ease;
}

.nav-list a.is-active {
  color: var(--accent-strong);
}

.nav-list a.is-active::after {
  transform: scaleX(1);
}

.nav-list a.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, var(--accent) 0%, var(--gold) 100%);
  box-shadow: 0 8px 18px rgba(44, 30, 21, 0.18);
  font-weight: 600;
  padding: 0.15rem 0.9rem;
}

.nav-list a.nav-cta::after {
  display: none;
}

.nav-list a.nav-cta.is-active {
  color: #fff;
  filter: saturate(1.05);
}

.hero {
  position: relative;
  min-height: clamp(620px, 90svh, 840px);
  display: flex;
  align-items: center;
  padding: 4.5rem 0;
  background: var(--hero-bg, url('assets/images/hero-attached.png')) center / cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(108deg, rgba(21, 14, 12, 0.28) 0%, rgba(21, 14, 12, 0.2) 42%, rgba(21, 14, 12, 0.08) 100%),
    radial-gradient(circle at 88% 42%, rgba(255, 255, 255, 0.1), rgba(0, 0, 0, 0.12));
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 40rem;
  margin-left: auto;
  margin-right: 0;
  color: var(--text);
  background: rgba(255, 255, 255, 0.36);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 1.25rem;
  box-shadow: 0 10px 22px rgba(28, 18, 12, 0.11);
  backdrop-filter: blur(8px);
  padding: 1.4rem 1.25rem;
}

h1,
h2,
h3 {
  margin-top: 0;
  line-height: 1.35;
}

h1 {
  margin: 0;
  font-size: clamp(1.95rem, 5.1vw, 3rem);
}

.section-title {
  margin: 0;
  font-size: clamp(1.55rem, 5vw, 2.5rem);
}

.title-jp,
.title-en,
.jp-line {
  display: block;
}

.title-jp {
  font-weight: 700;
}

.title-line {
  display: block;
}

.title-en {
  margin-top: 0.22rem;
  color: var(--accent-strong);
  font-family: 'Playfair Display', serif;
  font-size: 0.84em;
  font-weight: 500;
}

.jp-line {
  max-width: 64ch;
}

.section-lead,
.section-note {
  margin: 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 1.2rem;
  border-radius: 999px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.94rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.btn-primary {
  border: 0;
  color: #fff;
  background: linear-gradient(135deg, var(--accent) 0%, var(--gold) 100%);
  box-shadow: 0 12px 26px rgba(33, 20, 14, 0.25);
}

.btn-line {
  border: 0;
  color: #fff;
  background: linear-gradient(135deg, #06c755 0%, #00b900 100%);
  box-shadow: 0 12px 26px rgba(6, 161, 72, 0.28);
}

.btn-secondary {
  border: 1px solid var(--line);
  color: var(--accent-strong);
  background: rgba(255, 255, 255, 0.88);
}

.section {
  padding: 4.5rem 0;
}

.sub-hero {
  padding: 3.6rem 0 2.3rem;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, #f9f4ee 100%);
}

.sub-hero .section-title {
  font-size: clamp(1.7rem, 5vw, 2.7rem);
}

.sub-hero .section-note {
  margin-top: 0.9rem;
}

.page-content-entry > *:first-child {
  margin-top: 0;
}

.page-content-entry > *:last-child {
  margin-bottom: 0;
}

.page-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 1.2rem;
}

.info-card {
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  padding: 1.18rem;
}

.info-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.22rem;
}

.info-card p {
  margin: 0;
}

.highlight-band {
  margin-top: 1.25rem;
  border: 1px solid #e7d0b7;
  border-radius: 0.95rem;
  background: #fffaf2;
  color: #6a4c2e;
  font-size: 0.98rem;
  font-weight: 600;
  padding: 0.88rem 1rem;
}

.faq-list {
  margin-top: 1.2rem;
}

.faq-item {
  margin-top: 0.75rem;
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  background: #fff;
  box-shadow: var(--shadow-soft);
  padding: 0.78rem 0.95rem;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}

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

.faq-item p {
  margin: 0.55rem 0 0;
}

.section-soft {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.86) 0%, var(--surface-soft) 100%);
}

.section-header {
  max-width: 52rem;
}

.section-kicker {
  margin: 0 0 0.35rem;
  color: var(--accent-strong);
  font-family: 'Poppins', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.section-lead {
  margin-top: 0.95rem;
  font-size: 1.05rem;
}

.section-note {
  margin-top: 0.75rem;
}

.contact-points,
.card-list {
  margin: 0;
  padding-left: 1.2rem;
}

.trust-grid,
.service-grid,
.member-grid,
.story-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 1.4rem;
}

.trust-card,
.service-card,
.member-card,
.story-card {
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.trust-card,
.service-card {
  padding: 1.2rem;
}

.trust-card h3,
.service-card h3 {
  margin-bottom: 0.65rem;
  font-size: 1.2rem;
}

.trust-card p,
.service-card p,
.story-body p,
.member-comment,
.member-meta,
.member-extra {
  margin: 0;
}

.card-list {
  margin-top: 0.75rem;
  color: var(--text-soft);
}

.card-list li {
  margin-top: 0.4rem;
}

.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 1.4rem;
}

.blog-card {
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.blog-link {
  display: block;
  color: inherit;
}

.blog-thumb-wrap {
  width: 100%;
}

.blog-thumb {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center;
}

.blog-thumb-placeholder {
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 16 / 10;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(247, 242, 236, 0.9)),
    repeating-linear-gradient(45deg, rgba(199, 164, 145, 0.12), rgba(199, 164, 145, 0.12) 8px, rgba(255, 255, 255, 0.12) 8px, rgba(255, 255, 255, 0.12) 16px);
  color: #8d7a72;
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.blog-body {
  padding: 0.95rem 1rem 1.1rem;
}

.blog-date {
  margin: 0;
  color: var(--text-soft);
  font-family: 'Poppins', sans-serif;
  font-size: 0.8rem;
}

.blog-title {
  margin: 0.35rem 0 0;
  font-size: 1.1rem;
}

.flow-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  list-style: none;
  margin: 1.2rem 0 0;
  padding: 0;
}

.flow-step {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  padding: 0.72rem 0.92rem;
}

.step-no {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, var(--accent) 0%, var(--gold) 100%);
  font-family: 'Poppins', sans-serif;
  font-size: 0.84rem;
  font-weight: 700;
}

.step-label {
  color: #3a3330;
  font-size: 0.95rem;
  font-weight: 600;
}

.price-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 1.3rem;
}

.price-card {
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  padding: 1.15rem;
}

.price-card h3 {
  margin: 0 0 0.65rem;
  color: #3f322f;
  font-size: 1.18rem;
}

.price-list {
  margin: 0;
}

.price-list div {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  border-bottom: 1px dashed #e8ddd1;
  padding: 0.52rem 0;
}

.price-list div:last-child {
  border-bottom: 0;
}

.price-list dt {
  color: #544e49;
}

.price-list dd {
  margin: 0;
  color: #2f2d2b;
  font-weight: 700;
}

.compact-list {
  margin-top: 0;
}

.fee-highlight {
  margin: 1rem 0 0;
  border: 1px solid #e7d0b7;
  border-radius: 0.85rem;
  background: #fffaf2;
  color: #6a4c2e;
  font-family: 'Poppins', sans-serif;
  font-size: 0.98rem;
  font-weight: 600;
  padding: 0.82rem 1rem;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 1.3rem;
}

.about-card {
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  padding: 1.15rem;
}

.operator-row {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  margin: 0;
  padding: 0.4rem 0;
  border-bottom: 1px dashed #e8ddd1;
}

.operator-row:last-of-type {
  margin-bottom: 0.7rem;
}

.operator-row strong {
  color: #554b46;
}

.operator-row span {
  font-weight: 700;
}

.about-copy {
  margin: 0.6rem 0 0;
}

.profile-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 168px;
  border: 1px dashed #d9c7b7;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.78);
  color: var(--text-soft);
  font-weight: 600;
}

.profile-placeholder p {
  margin: 0;
}

.member-card {
  overflow: hidden;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.member-link {
  display: block;
  color: inherit;
}

.member-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center;
}

.member-photo-placeholder {
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 4 / 5;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(247, 242, 236, 0.9)),
    repeating-linear-gradient(45deg, rgba(199, 164, 145, 0.12), rgba(199, 164, 145, 0.12) 8px, rgba(255, 255, 255, 0.12) 8px, rgba(255, 255, 255, 0.12) 16px);
  color: #8d7a72;
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-align: center;
  padding: 1rem;
}

.member-photo-placeholder-lg {
  min-height: 420px;
}

.member-body {
  padding: 0.95rem 1rem 1.1rem;
}

.member-name {
  margin: 0;
  font-size: 1.15rem;
}

.member-country {
  margin: 0.2rem 0 0.5rem;
  color: var(--accent-strong);
  font-family: 'Poppins', sans-serif;
  font-size: 0.84rem;
}

.member-meta,
.member-extra {
  color: var(--text-soft);
  font-size: 0.94rem;
}

.member-extra {
  margin-top: 0.35rem;
}

.member-comment {
  margin-top: 0.45rem;
}

.member-preference {
  margin: 0.45rem 0 0;
  color: #5a4d47;
  font-size: 0.9rem;
}

.story-card {
  overflow: hidden;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.story-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center;
}

.story-body {
  padding: 1rem 1rem 1.15rem;
}

.story-body h3 {
  margin-bottom: 0.5rem;
  color: #403633;
  font-family: 'Playfair Display', serif;
  font-size: 1.45rem;
}

.contact-panel {
  border: 1px solid var(--line);
  border-radius: 1.2rem;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  padding: 1.1rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.contact-points {
  margin-top: 0.95rem;
  color: var(--text-soft);
}

.contact-points li {
  margin-top: 0.38rem;
}

.contact-actions {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.btn-full {
  width: 100%;
}

.contact-mini-note {
  margin: 0.4rem 0 0;
  color: var(--text-soft);
  font-size: 0.88rem;
}

.member-pagination {
  margin-top: 1.4rem;
}

.member-pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
}

.member-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.2rem;
  min-height: 2.2rem;
  padding: 0.2rem 0.55rem;
  border-radius: 0.6rem;
  border: 1px solid var(--line);
  background: #fff;
  color: #5f5751;
  font-family: 'Poppins', sans-serif;
  font-size: 0.88rem;
}

.member-pagination .page-numbers.current {
  border-color: var(--accent);
  color: #fff;
  background: linear-gradient(135deg, var(--accent) 0%, var(--gold) 100%);
}

.empty-panel {
  margin-top: 1.2rem;
  padding: 1rem 1.1rem;
  border: 1px dashed #d8c7b7;
  border-radius: 1rem;
  color: var(--text-soft);
  background: rgba(255, 255, 255, 0.84);
}

.empty-panel p {
  margin: 0;
}

.empty-panel p + p {
  margin-top: 0.35rem;
}

.back-link-row {
  margin: 0 0 0.8rem;
}

.back-link {
  color: var(--accent-strong);
  font-weight: 600;
}

.member-detail-wrap {
  max-width: 1100px;
}

.member-detail-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.member-detail-media {
  background: #fff;
}

.member-detail-photo {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.member-detail-body {
  padding: 1.2rem 1.15rem 1.3rem;
}

.detail-list {
  margin: 1rem 0 0;
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  overflow: hidden;
}

.detail-row {
  display: grid;
  grid-template-columns: 7.8rem 1fr;
  gap: 0.7rem;
  padding: 0.62rem 0.8rem;
  background: #fff;
}

.detail-row + .detail-row {
  border-top: 1px solid var(--line);
}

.detail-row dt {
  margin: 0;
  color: #594f49;
  font-weight: 700;
}

.detail-row dd {
  margin: 0;
}

.detail-block {
  margin-top: 1rem;
}

.detail-block h2 {
  margin: 0;
  font-size: 1.2rem;
}

.detail-block p {
  margin: 0.45rem 0 0;
}

.article-wrap {
  max-width: 880px;
}

.post-article {
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  padding: 1.15rem 1rem 1.25rem;
}

.post-meta {
  margin: 0.65rem 0 0;
  color: var(--text-soft);
  font-family: 'Poppins', sans-serif;
  font-size: 0.88rem;
}

.post-thumb-wrap {
  margin-top: 1rem;
}

.post-thumb {
  width: 100%;
  border-radius: 0.9rem;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.post-content {
  margin-top: 1rem;
}

.post-content > *:first-child {
  margin-top: 0;
}

.post-content > *:last-child {
  margin-bottom: 0;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #fff;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1.35rem 0;
}

.site-footer small {
  color: var(--text-soft);
  font-family: 'Poppins', sans-serif;
  font-size: 0.8rem;
}

.fallback-main .section {
  min-height: 44svh;
}

.fade-in {
  opacity: 1;
  transform: none;
}

.js .fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.js .fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 782px) {
  body.admin-bar .site-header {
    top: 46px;
  }
}

@media (min-width: 560px) {
  .blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

@media (min-width: 760px) {
  body {
    font-size: 17px;
  }

  .header-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .hero {
    padding: 5.2rem 0;
  }

  .hero-content {
    padding: 1.9rem 1.75rem;
  }

  .section {
    padding: 5.3rem 0;
  }

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

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

@media (min-width: 960px) {
  .hero .title-line {
    white-space: nowrap;
  }

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

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

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

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

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

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

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

  .about-grid {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
    align-items: stretch;
  }

  .contact-grid {
    grid-template-columns: 1fr 1.05fr;
    gap: 1.5rem;
    align-items: start;
  }

  .contact-actions {
    align-items: flex-start;
  }

  .btn-full {
    width: auto;
    min-width: 280px;
  }
}

@media (min-width: 1024px) {
  body {
    font-size: 18px;
  }

  .container {
    width: min(var(--container-max), calc(100% - 4rem));
  }

  .hero {
    padding: 6rem 0;
  }

  .hero-content {
    max-width: 42rem;
    padding: 2.2rem 2rem;
  }

  .section {
    padding: 6rem 0;
  }

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

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

  .member-detail-card {
    grid-template-columns: minmax(320px, 0.56fr) minmax(0, 1fr);
  }

  .member-detail-body {
    padding: 1.45rem 1.35rem 1.5rem;
  }

  .post-article {
    padding: 1.4rem 1.3rem 1.45rem;
  }
}

@media (min-width: 1600px) {
  .member-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

@media (hover: hover) and (pointer: fine) {
  .nav-list a:hover,
  .footer-nav a:hover {
    color: var(--accent-strong);
  }

  .nav-list a.nav-cta:hover {
    color: #fff;
    filter: brightness(1.04);
  }

  .nav-list a:hover::after,
  .footer-nav a:hover::after {
    transform: scaleX(1);
  }

  .btn:hover {
    transform: translateY(-2px);
    filter: brightness(1.04);
  }

  .btn-primary:hover {
    box-shadow: 0 16px 30px rgba(33, 20, 14, 0.3);
  }

  .btn-line:hover {
    box-shadow: 0 16px 30px rgba(6, 161, 72, 0.34);
  }

  .member-card:hover,
  .blog-card:hover,
  .story-card:hover,
  .service-card:hover,
  .trust-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .js .fade-in {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .btn,
  .member-card,
  .blog-card,
  .story-card,
  .service-card,
  .trust-card {
    transition: none;
  }
}
