/* ============================================================
   CONFILL — Sub-page styles
   Loaded after style.css on every sub-page (and index)
   ============================================================ */

/* ============================================================
   PAGE HEADER (sub-page MV) — same image as top hero
   ============================================================ */
.page-header {
  position: relative;
  background: var(--navy-900);
  color: #fff;
  padding-top: 76px;
  overflow: hidden;
}
.page-header .ph-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: var(--navy-800);
}
.page-header .ph-bg::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(6,24,46,0.55) 0%, rgba(6,24,46,0.85) 100%),
    radial-gradient(100% 60% at 20% 80%, rgba(217,162,74,0.08), transparent 60%);
}
.page-header .ph-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: linear-gradient(180deg, transparent 0%, #000 30%, #000 70%, transparent 100%);
}
.page-header .ph-inner {
  position: relative;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(64px, 9vw, 120px) var(--gutter) clamp(48px, 6vw, 80px);
  z-index: 2;
}
.ph-meta {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 20px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--gray-300);
}
.ph-meta .ph-en {
  color: var(--accent);
  font-weight: 600;
}
.ph-meta .ph-en::after {
  content: ""; display: inline-block;
  width: 32px; height: 1px;
  background: var(--accent);
  margin: 0 0 4px 14px;
  vertical-align: middle;
}
.ph-title {
  font-family: var(--font-hd);
  font-weight: 900;
  font-size: clamp(36px, 5.4vw, 72px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 20px;
  color: #fff;
}
.ph-tagline {
  font-family: var(--font-hd);
  font-weight: 500;
  font-size: clamp(14px, 1.05vw, 17px);
  letter-spacing: 0.12em;
  color: var(--accent);
  margin: 0 0 28px;
}
.breadcrumb {
  display: flex; align-items: center; flex-wrap: wrap;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--gray-300);
}
.breadcrumb a { color: var(--gray-300); transition: color .2s ease; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb .sep { color: var(--gray-500); }
.breadcrumb .current { color: #fff; }

/* ----- Section-end CTA on index.html ----- */
.section-cta {
  margin-top: 56px;
  display: flex; justify-content: center;
}
.section.dark .section-cta a { color: #fff; }

/* ----- Category Filter (used on works listing) ----- */
.cat-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-bottom: 48px;
  border-bottom: 1px solid var(--gray-200);
}
.cat-filter a {
  padding: 16px 24px;
  font-family: var(--font-hd);
  font-weight: 600;
  font-size: 14px;
  color: var(--gray-600);
  border-bottom: 2px solid transparent;
  transition: all .2s ease;
  display: inline-flex; align-items: center; gap: 8px;
}
.cat-filter a em {
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--gray-400);
}
.cat-filter a:hover { color: var(--navy-900); }
.cat-filter a.active {
  color: var(--navy-900);
  border-bottom-color: var(--accent);
}
.cat-filter a.active em { color: var(--accent); }

/* ----- Pagination ----- */
.pagination {
  display: flex; justify-content: center; align-items: center;
  gap: 8px;
  margin-top: 64px;
}
.pagination a, .pagination span {
  min-width: 44px; height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ink);
  border: 1px solid var(--gray-200);
  background: #fff;
  transition: all .2s ease;
}
.pagination a:hover { background: var(--navy-900); color: #fff; border-color: var(--navy-900); }
.pagination .current {
  background: var(--navy-900); color: #fff; border-color: var(--navy-900);
}
.pagination .nav-arr {
  padding: 0 16px;
  font-family: var(--font-mono);
}

/* ── confill-pagination（お知らせ・施工事例一覧） ── */
.confill-pagination {
  margin-top: 48px;
  display: flex;
  justify-content: center;
}
.confill-pagination ul {
  display: flex; align-items: center;
  gap: 6px; list-style: none;
  margin: 0; padding: 0;
}
.confill-pagination .page-numbers {
  min-width: 44px; height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.05em;
  color: var(--navy-900);
  border: 1px solid var(--gray-200);
  background: #fff;
  text-decoration: none;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.confill-pagination a.page-numbers:hover {
  background: var(--navy-900); color: #fff; border-color: var(--navy-900);
}
.confill-pagination .current {
  background: var(--navy-900); color: #fff; border-color: var(--navy-900);
}
.confill-pagination .prev.page-numbers,
.confill-pagination .next.page-numbers {
  min-width: auto; padding: 0 18px;
  font-size: 12px; letter-spacing: 0.08em;
}

/* ----- Case Detail Page ----- */
.case-detail { max-width: 1080px; }
.case-cat-line {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 16px;
}
.case-cat-line .work-cat { padding: 4px 12px; }
.case-cat-line .case-no {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--gray-500);
  letter-spacing: 0.08em;
}
.case-title {
  font-family: var(--font-hd);
  font-weight: 900;
  font-size: clamp(28px, 3.6vw, 44px);
  line-height: 1.3;
  letter-spacing: -0.01em;
  margin: 0 0 32px;
  color: var(--navy-900);
}
.case-hero {
  width: 100%;
  aspect-ratio: 16/9;
  margin-bottom: 32px;
}

.case-meta {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 2px solid var(--navy-900);
  border-bottom: 2px solid var(--navy-900);
  margin: 0 0 40px;
}
.case-meta > div {
  padding: 20px 24px;
  border-right: 1px solid var(--gray-200);
  display: flex; flex-direction: column; gap: 6px;
}
.case-meta > div:last-child { border-right: 0; }
.case-meta dt {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--navy-700);
  letter-spacing: 0.12em;
  font-weight: 600;
}
.case-meta dd {
  margin: 0;
  font-family: var(--font-hd);
  font-weight: 700;
  font-size: 15px;
  color: var(--ink);
}

.case-body {
  font-size: 15px;
  line-height: 2.05;
  color: var(--gray-700);
  margin-bottom: 56px;
}
.case-body p { margin: 0 0 20px; }
.case-body p:last-child { margin-bottom: 0; }

.case-subhead {
  font-family: var(--font-hd);
  font-weight: 900;
  font-size: 22px;
  letter-spacing: -0.005em;
  color: var(--navy-900);
  margin: 0 0 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--gray-200);
  display: flex; align-items: center; gap: 12px;
}
.case-subhead::before {
  content: "";
  width: 16px; height: 3px;
  background: var(--accent);
  display: inline-block;
}

.before-after {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 56px;
}
.ba-block { display: flex; flex-direction: column; gap: 12px; }
.ba-label {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  font-weight: 600;
  color: var(--navy-900);
}
.ba-label::before {
  content: ""; width: 12px; height: 12px;
  background: var(--navy-900);
}
.ba-block.after .ba-label::before { background: var(--accent); }
.ba-img {
  width: 100%;
  aspect-ratio: 4/3;
}

.process-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 56px;
}
.process-gallery .work-img { aspect-ratio: 1/1; }

.case-prev-next {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: center;
  margin-top: 80px;
  padding-top: 40px;
  border-top: 1px solid var(--gray-200);
}
.case-prev-next a {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--gray-600);
  display: flex; align-items: center; gap: 12px;
}
.case-prev-next a:hover { color: var(--navy-900); }
.case-prev-next .next { justify-self: end; }
.case-prev-next .center {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 24px;
  background: var(--navy-900); color: #fff;
  font-size: 13px; font-weight: 600;
  font-family: var(--font-jp);
}
.case-prev-next .center:hover { background: var(--navy-700); }

/* Related cases (smaller cards) */
.related-works {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 16px;
}

/* ----- Services Sub-page ----- */
.svc-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
  margin-bottom: clamp(80px, 10vw, 140px);
}
.svc-detail:nth-child(even) .svc-text { order: 2; }
.svc-detail:nth-child(even) .svc-visual { order: 1; }
.svc-detail .svc-num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 12px;
  display: block;
}
.svc-detail h3 {
  font-family: var(--font-hd);
  font-weight: 900;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.3;
  margin: 0 0 24px;
  color: var(--navy-900);
  letter-spacing: -0.01em;
}
.svc-detail p {
  font-size: 15px;
  line-height: 2;
  color: var(--gray-700);
  margin: 0 0 20px;
}
.svc-detail .svc-list {
  list-style: none; padding: 0; margin: 24px 0 0;
  border-top: 1px solid var(--gray-200);
}
.svc-detail .svc-list li {
  display: grid;
  grid-template-columns: 160px 1fr;
  padding: 14px 0;
  border-bottom: 1px solid var(--gray-200);
  font-size: 14px;
}
.svc-detail .svc-list strong {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--navy-700);
  letter-spacing: 0.1em;
  padding-top: 2px;
}
.svc-visual .visual-frame { aspect-ratio: 4/3; }

/* ----- Sitemap ----- */
.sitemap-wrap {
  max-width: 900px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(32px, 4vw, 56px);
}
.sitemap-heading {
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.14em; color: var(--accent);
  font-weight: 600; text-transform: uppercase;
  margin: 0 0 16px; padding-bottom: 10px;
  border-bottom: 1px solid var(--gray-200);
}
.sitemap-list {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: 10px;
}
.sitemap-list a {
  font-size: 14px; color: var(--navy-900);
  display: flex; align-items: center; gap: 8px;
  transition: color .2s ease;
}
.sitemap-list a::before {
  content: "—"; font-family: var(--font-mono);
  font-size: 11px; color: var(--gray-400);
}
.sitemap-list a:hover { color: var(--accent); }
@media (max-width: 860px) {
  .sitemap-wrap { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .sitemap-wrap { grid-template-columns: 1fr; }
}

/* ----- Privacy Policy ----- */
.privacy-wrap {
  max-width: 800px;
  margin: 0 auto;
}
.privacy-lead {
  font-size: 15px;
  line-height: 2;
  color: var(--gray-700);
  margin-bottom: clamp(40px, 5vw, 64px);
  padding-bottom: clamp(24px, 3vw, 40px);
  border-bottom: 1px solid var(--gray-200);
}
.privacy-block {
  padding: clamp(28px, 4vw, 40px) 0;
  border-bottom: 1px solid var(--gray-200);
}
.privacy-heading {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: var(--font-hd);
  font-weight: 700;
  font-size: clamp(16px, 1.6vw, 19px);
  color: var(--navy-900);
  margin: 0 0 16px;
}
.privacy-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: var(--navy-900);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  flex: 0 0 auto;
}
.privacy-block p {
  font-size: 14px;
  line-height: 2;
  color: var(--gray-700);
  margin: 0;
}
.privacy-contact {
  margin-top: 20px;
  border: 1px solid var(--gray-200);
}
.privacy-contact div {
  display: flex;
  border-bottom: 1px solid var(--gray-200);
}
.privacy-contact div:last-child { border-bottom: 0; }
.privacy-contact dt {
  width: 140px;
  flex: 0 0 140px;
  padding: 12px 16px;
  background: var(--gray-50);
  font-size: 13px;
  font-weight: 600;
  color: var(--navy-900);
  border-right: 1px solid var(--gray-200);
}
.privacy-contact dd {
  padding: 12px 16px;
  font-size: 13px;
  color: var(--gray-700);
  margin: 0;
}
.privacy-contact a { color: var(--navy-700); text-decoration: underline; }
.privacy-back {
  margin-top: clamp(40px, 5vw, 64px);
  text-align: center;
}

/* ----- Recruit Sub-page ----- */
.recruit-msg {
  max-width: 840px;
  margin: 0 auto clamp(64px, 8vw, 120px);
  text-align: center;
}
.recruit-msg h2 {
  font-family: var(--font-hd);
  font-weight: 900;
  font-size: clamp(28px, 3.6vw, 44px);
  line-height: 1.5;
  margin: 0 0 32px;
  color: var(--navy-900);
}
.recruit-msg .accent { color: var(--accent); }
.recruit-msg p {
  font-size: 15px;
  line-height: 2.1;
  color: var(--gray-700);
}

.person-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.person-card {
  padding: 32px 28px;
  border: 1px solid var(--gray-200);
  background: #fff;
}
.person-card .pc-num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 0.16em;
  font-weight: 600;
}
.person-card h3 {
  font-family: var(--font-hd);
  font-weight: 700;
  font-size: 20px;
  margin: 12px 0 16px;
  color: var(--navy-900);
  line-height: 1.4;
}
.person-card p {
  margin: 0;
  font-size: 14px;
  color: var(--gray-700);
  line-height: 1.95;
}

/* ----- Furusato Sub-page ----- */
.furusato-hero {
  background: var(--navy-900); color: #fff;
  padding: clamp(64px, 8vw, 96px) clamp(40px, 5vw, 72px);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
  margin-bottom: 0;
}
.furusato-hero h3 {
  font-family: var(--font-hd);
  font-weight: 900;
  font-size: clamp(24px, 2.8vw, 36px);
  line-height: 1.5;
  color: #fff;
  margin: 0 0 24px;
}
.furusato-hero .accent { color: var(--accent); }
.furusato-hero p {
  font-size: 15px;
  line-height: 2.05;
  color: var(--gray-200);
}
.furusato-visual {
  aspect-ratio: 1/1;
  position: relative;
}

.furusato-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: clamp(64px, 8vw, 100px);
}
.furusato-steps article {
  padding: 32px 28px;
  background: #fff;
  border: 1px solid var(--gray-200);
}
.furusato-steps .fs-num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--accent);
  font-weight: 600;
  display: block;
  margin-bottom: 12px;
}
.furusato-steps h3 {
  font-family: var(--font-hd);
  font-weight: 700;
  font-size: 20px;
  margin: 0 0 16px;
  color: var(--navy-900);
}
.furusato-steps p {
  margin: 0;
  font-size: 14px;
  color: var(--gray-700);
  line-height: 1.95;
}

/* ── ふるさと納税 リンクカード ── */
.furusato-link-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.furusato-link-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: clamp(32px, 4vw, 48px);
  border: 1px solid transparent;
  background: var(--navy-900);
  text-decoration: none;
  transition: background .25s ease, border-color .25s ease, transform .25s ease;
}
.furusato-link-card:hover {
  background: var(--navy-800);
  border-color: var(--accent);
  transform: translateY(-3px);
}
.flc-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--accent);
  font-weight: 600;
}
.flc-title {
  font-family: var(--font-hd);
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 700;
  color: #fff;
  line-height: 1.4;
}
.flc-sub {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--gray-400);
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.flc-arr {
  font-family: var(--font-mono);
  font-size: 18px;
  color: var(--accent);
  align-self: flex-end;
}

.furusato-cta {
  background: var(--gray-50);
  padding: clamp(56px, 7vw, 80px);
  text-align: center;
}
.furusato-cta h3 {
  font-family: var(--font-hd);
  font-weight: 900;
  font-size: clamp(24px, 2.6vw, 32px);
  margin: 0 0 24px;
  color: var(--navy-900);
}
.furusato-cta p {
  font-size: 15px;
  color: var(--gray-700);
  max-width: 640px;
  margin: 0 auto 32px;
}

/* ----- Access Map (company page) ----- */
.access-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 4vw, 56px);
}
.access-info {
  padding: 32px;
  background: var(--paper);
  border: 1px solid var(--gray-200);
}
.access-info h3 {
  font-family: var(--font-hd);
  font-weight: 700;
  font-size: 18px;
  margin: 0 0 16px;
  color: var(--navy-900);
}
.access-info dl { margin: 0; }
.access-info dt {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--navy-700);
  letter-spacing: 0.12em;
  font-weight: 600;
  margin-bottom: 4px;
}
.access-info dd {
  margin: 0 0 16px;
  font-size: 14px;
  color: var(--ink);
}
.access-iframe {
  aspect-ratio: 4/3;
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  position: relative;
  color: var(--gray-500);
}
.access-iframe svg { width: 100%; height: 100%; }

/* ----- Timeline (company history) ----- */
.timeline {
  list-style: none; padding: 0; margin: 0;
  border-left: 1px solid var(--gray-300);
  padding-left: 36px;
  position: relative;
}
.timeline li {
  position: relative;
  padding-bottom: 32px;
}
.timeline li::before {
  content: "";
  position: absolute;
  left: -42px; top: 8px;
  width: 12px; height: 12px;
  background: var(--accent);
  border: 2px solid var(--navy-900);
}
.timeline .tl-year {
  font-family: var(--font-hd);
  font-weight: 900;
  font-size: 18px;
  color: var(--navy-900);
  letter-spacing: -0.005em;
}
.timeline .tl-month {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--gray-500);
  margin-left: 12px;
}
.timeline p {
  margin: 8px 0 0;
  font-size: 14px;
  color: var(--gray-700);
  line-height: 1.9;
}

/* fc-sp-label: SPのみ表示するテキスト（デフォルト非表示） */
.fc-sp-label { display: none; }

/* ============================================================
   FIXED CTA BAR (bottom) — always-on tel/mail
   ============================================================ */
.fixed-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 95;
  background: var(--navy-900);
  color: #fff;
  display: flex;
  border-top: 2px solid var(--accent);
  box-shadow: 0 -8px 24px rgba(6,24,46,0.18);
}
.fixed-cta a {
  flex: 1;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  justify-content: center;
  color: #fff;
  border-right: 1px solid rgba(255,255,255,0.12);
  transition: background .2s ease;
}
.fixed-cta a:last-child { border-right: 0; }
.fixed-cta a:hover { background: var(--navy-700); }
.fixed-cta .fc-icon {
  width: 36px; height: 36px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--accent);
  color: var(--navy-900);
  flex: 0 0 auto;
}
.fixed-cta .fc-icon svg { width: 18px; height: 18px; }
.fixed-cta .fc-text { display: flex; flex-direction: column; gap: 2px; line-height: 1.2; min-width: 0; }
.fixed-cta .fc-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--gray-300);
}
.fixed-cta .fc-value {
  font-family: var(--font-hd);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.01em;
}
.fixed-cta .fc-contact {
  background: var(--accent);
  color: var(--navy-900);
}
.fixed-cta .fc-contact:hover {
  background: #c08e3a;
}
.fixed-cta .fc-contact .fc-icon {
  background: var(--navy-900); color: #fff;
}
.fixed-cta .fc-contact .fc-label { color: rgba(6,24,46,0.65); }

/* offset main content so fixed-cta doesn't cover footer */
body { padding-bottom: 76px; }

@media (max-width: 720px) {
  /* SP: 3アイテム全表示・パディング縮小 */
  .fixed-cta a { padding: 10px 6px; gap: 6px; justify-content: center; }
  .fixed-cta .fc-icon { width: 28px; height: 28px; }
  .fixed-cta .fc-icon svg { width: 14px; height: 14px; }

  /* 電話: 番号のみ非表示 */
  .fixed-cta a[href^="tel:"] .fc-value { display: none; }
  .fixed-cta a[href^="tel:"] .fc-label { font-size: 10px; letter-spacing: 0.06em; }

  /* お問い合わせ: fc-value を非表示 → fc-sp-label を表示 */
  .fixed-cta .fc-contact .fc-value { display: none; }
  .fc-sp-label {
    display: block;
    font-family: var(--font-hd);
    font-size: 13px;
    font-weight: 700;
    color: var(--navy-900);
    line-height: 1.2;
  }
  .fixed-cta .fc-contact .fc-label {
    color: rgba(6, 24, 46, 0.65);
    font-size: 9px;
  }

  body { padding-bottom: 64px; }
  .back-to-top { bottom: 76px; right: 16px; padding: 10px 8px; }
}

/* Google Maps iframe */
.map-iframe, .access-iframe iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.access-iframe { padding: 0; overflow: hidden; }
.map-frame.has-iframe { padding: 0; overflow: hidden; }
.map-frame.has-iframe iframe { width: 100%; height: 100%; border: 0; }
@media (max-width: 1080px) {
  .svc-detail,
  .access-grid,
  .furusato-hero {
    grid-template-columns: 1fr;
  }
  .furusato-link-grid {
    grid-template-columns: 1fr;
  }
  .svc-detail:nth-child(even) .svc-text { order: 0; }
  .svc-detail:nth-child(even) .svc-visual { order: 0; }
  .person-grid,
  .furusato-steps,
  .related-works {
    grid-template-columns: repeat(2, 1fr);
  }
  .case-meta { grid-template-columns: repeat(2, 1fr); }
  .case-meta > div:nth-child(2) { border-right: 0; }
  .case-meta > div:nth-child(-n+2) { border-bottom: 1px solid var(--gray-200); }
  .before-after,
  .process-gallery { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .person-grid,
  .furusato-steps,
  .related-works { grid-template-columns: 1fr; }
  .case-meta { grid-template-columns: 1fr; }
  .case-meta > div { border-right: 0; border-bottom: 1px solid var(--gray-200); }
  .case-meta > div:last-child { border-bottom: 0; }
  .cat-filter a { padding: 12px 14px; font-size: 13px; }
  .case-prev-next { grid-template-columns: 1fr; gap: 12px; text-align: center; }
  .case-prev-next .next { justify-self: center; }
}
