/*
Theme Name: Nakagawashiroari MCP Clone
Theme URI: https://nakagawashiroari.co.jp/
Author: Codex
Description: nakagawashiroari デザインを基準に yoshida-shiroari のページ/コンテンツを統合したテーマ
Version: 1.1.0
Text Domain: nakagawashiroari-mcp
*/

:root {
  --text: #333;
  --black: #000;
  --blue: #1689c7;
  --blue-dark: #0f5f8d;
  --light-blue: #dff1fb;
  --border: #d9d9d9;
  --shadow-soft: 0 10px 24px rgba(15, 55, 85, 0.08);
  --shadow-hover: 0 16px 32px rgba(15, 55, 85, 0.14);
  --radius-md: 10px;
  --transition: 220ms ease;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  color: var(--black);
  font-family:
    "LINE Seed JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo",
    sans-serif;
  font-size: 16px;
  line-height: 1.8;
  background: #fff;
}

a {
  color: var(--text);
  text-decoration: none;
}
a:hover {
  opacity: 0.86;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}

.container {
  width: 100%;
  max-width: 1020px;
  margin: 0 auto;
}

.narrow {
  max-width: 900px;
}

.skip-link {
  position: absolute;
  left: -9999px;
}
.skip-link:focus {
  left: 10px;
  top: 10px;
  z-index: 10000;
  background: #fff;
  padding: 8px 12px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  background: url("https://nakagawashiroari.co.jp/files/libs/657/header.png?1657757638")
    center top / cover no-repeat;
}

.header-inner {
  background: url("https://nakagawashiroari.co.jp/files/libs/656/header_bg.png?1657757638")
    center top / 1920px 90px no-repeat;
  min-height: 90px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  position: relative;
}

.site-logo img {
  width: 40px;
  height: 40px;
}

.site-logo .logo-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.site-logo .logo-text {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  color: #1967d2;
  line-height: 1.1;
  font-family:
    "Meiryo", "メイリオ", "Yu Gothic", "游ゴシック体", "Helvetica Neue",
    "Helvetica", "Arial", sans-serif;
}

.site-logo .qualification-text {
  font-size: clamp(0.438rem, 0.063rem + 1.5vw, 0.625rem);
  font-weight: 700;
  line-height: 1.25;
}

.site-logo .company-line {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
}

.site-logo .company-prefix {
  font-size: 24px;
  font-weight: 900;
  line-height: 1.2;
}

.site-logo .company-name {
  font-size: 28px;
  font-weight: 900;
  line-height: 1.2;
}

.global-nav ul {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 4px;
}

.global-nav li a {
  display: block;
  width: auto;
  min-width: 92px;
  padding: 0 9px;
  text-align: center;
  color: var(--text);
  font-size: 16px;
  font-weight: 400;
  line-height: 46px;
  position: relative;
  transition: color var(--transition);
  white-space: nowrap;
}

.global-nav li a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 9px;
  width: 0;
  height: 2px;
  background: var(--blue);
  transform: translateX(-50%);
  transition: width var(--transition);
}

.global-nav li a:hover::after,
.global-nav li a:focus-visible::after {
  width: 56%;
}

.menu-toggle {
  display: none;
}

.hero {
  position: relative;
  min-height: 540px;
  background: #eaf5fc;
  background-image: var(--hero-image);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.42) 0%,
    rgba(0, 0, 0, 0.2) 36%,
    rgba(255, 255, 255, 0.08) 100%
  );
}

.hero-inner {
  position: relative;
  z-index: 1;
  min-height: 540px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: 20px;
}

.hero-copy {
  width: min(560px, 100%);
  color: #fff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.34);
}

.hero-copy .kicker {
  display: inline-block;
  margin: 0 0 14px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.04em;
  background: rgba(0, 0, 0, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.4);
  padding: 3px 10px;
  border-radius: 999px;
}

.hero-copy h1 {
  margin: 0;
  font-size: 43px;
  font-weight: 500;
  line-height: 1.25;
}

.hero-subcopy {
  margin: 16px 0 0;
  font-size: 18px;
  line-height: 1.75;
}

.hero-pager {
  position: absolute;
  right: 70px;
  bottom: 22px;
  display: flex;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-pager li {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid #fff;
  text-indent: -9999px;
}

.hero-pager li.active {
  background: #fff;
}

.section {
  padding: 70px 0;
}

.section-alt {
  background: #eef7fd;
}

.section-title-en {
  margin: 0;
  color: var(--blue);
  font-size: 24px;
  line-height: 1;
  font-family:
    "LINE Seed JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo",
    sans-serif;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.section-title-ja {
  margin: 8px 0 24px;
  font-size: 33px;
  font-family:
    "LINE Seed JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo",
    sans-serif;
  font-weight: 500;
  line-height: 1.5;
}

.page-title {
  margin: 0 0 22px;
  color: #111;
  font-size: 34px;
  line-height: 1.4;
  font-family:
    "LINE Seed JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo",
    sans-serif;
  font-weight: 400;
  letter-spacing: 0.01em;
  text-align: center;
}

.page-lead {
  margin: 0 0 26px;
  font-size: 16px;
}

.service-page .page-title {
  margin-bottom: 14px;
  text-align: center;
}

.service-page .service-lead {
  max-width: 900px;
  margin-bottom: 30px;
  line-height: 1.9;
  color: #2f2f2f;
}

.service-page .service-anchor {
  margin: 0 0 28px;
  padding: 10px 0 0;
  border-top: 2px solid rgba(53, 171, 242, 0.35);
}

.service-page .service-block {
  margin: 14px 0;
  padding: 26px 0;
  border-top: 1px solid #d8e8f2;
}

.service-page .service-block .section-title-ja {
  margin-top: 0;
  margin-bottom: 14px;
  padding: 8px 0 10px 16px;
  border-left: 5px solid var(--blue);
  border-bottom: 1px solid #c6e2f1;
  color: var(--blue-dark);
  font-weight: 700;
}

.service-page .service-block p {
  line-height: 1.9;
}

.service-page .method-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  margin: 18px 0 14px;
}

.service-page .method-item {
  border: 1px solid #d9eaf5;
  background: #f8fcff;
  padding: 14px 14px 10px;
}

.service-page .method-item h3 {
  margin: 0 0 8px;
  font-size: 21px;
  line-height: 1.5;
}

.service-page .service-media-grid .media-item img {
  height: 280px;
}

.service-page .flow-section .flow-list li {
  grid-template-columns: 240px 1fr;
}

.topics-box {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 18px;
}

.top-overview {
  position: relative;
  overflow: hidden;
}

.top-overview::before {
  content: none;
}

.top-overview-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 30px;
  align-items: start;
}

.overview-main .topics {
  border-top: 2px solid rgba(53, 171, 242, 0.42);
  padding-top: 18px;
}

.overview-side {
  position: relative;
  z-index: 1;
}

.mcp-section-compact {
  border-left: 0;
  padding: 18px 0 0;
  background: transparent;
}

.threat-columns {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 28px;
  margin-top: 8px;
}

.threat-about,
.threat-check {
  min-width: 0;
}

.threat-check {
  padding-left: 18px;
  border-left: 1px solid #d8e8f2;
}

.topics-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.topics-list li {
  display: grid;
  grid-template-columns: 130px 1fr;
  align-items: center;
  gap: 14px;
  padding: 1rem;
  border-bottom: 1px solid #d8e8f2;
}

.topics-date {
  color: #444;
  font-size: 15px;
}
.topics-date i {
  color: #666;
  margin-right: 8px;
}

.topics-links {
  margin-top: 12px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

/* .mcp-section {
  background: linear-gradient(180deg, #fefefe 0%, #f8fbfe 100%);
} */

.mcp-section.inset {
  margin: 24px 0;
  border: 0;
  padding: 36px 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.checklist-grid,
.feature-list {
  margin: 20px 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.checklist-grid li,
.feature-list li {
  border-left: 3px solid rgba(53, 171, 242, 0.75);
  padding: 9px 12px;
}

.checklist-lead {
  margin: 18px 0 8px;
  font-weight: 500;
}

.card-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card-grid-posts {
  align-items: stretch;
}

.post-card,
.info-card {
  border: 0;
  border-bottom: 1px solid #d5e5ef;
  background: transparent;
  padding: 0 0 20px;
  border-radius: 0;
  box-shadow: none;
  transition: transform var(--transition);
}

.post-card:hover,
.info-card:hover {
  transform: translateY(-2px);
}

.post-card .thumb {
  display: block;
  margin-bottom: 12px;
  overflow: hidden;
  border-radius: 0;
}

.post-card .thumb img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 500ms ease;
}

.post-card:hover .thumb img {
  transform: scale(1.035);
}

.post-card h2,
.post-card h3,
.info-card h3,
.service-medicine-cards .info-card h4 {
  margin: 0 0 10px;
  font-size: 24px;
  line-height: 1.4;
}

.meta {
  margin: 0 0 10px;
  color: #666;
  font-size: 15px;
}

.excerpt p,
.single-content p,
.info-card p {
  margin: 0 0 10px;
}

.btn-solid,
.btn-outline {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 0;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    background-color var(--transition),
    color var(--transition);
}

.btn-solid {
  background: var(--blue);
  color: #fff;
  box-shadow: none;
  display: block;
  width: fit-content;
  margin: 0 auto;
}

.btn-outline {
  border: 1px solid #7fbce0;
  color: #215b7a;
  background: #fff;
}

.btn-solid:hover,
.btn-outline:hover {
  transform: translateY(-1px);
}

.btn-solid:hover {
  background: var(--blue-dark);
}

.btn-outline:hover {
  background: #eef7fd;
}

.services {
  min-height: 380px;
  text-align: center;
  display: flex;
  align-items: center;
}

.price-guide {
  background: linear-gradient(180deg, #fff 0%, #f6fbfe 100%);
}

.price-guide .container {
  max-width: 920px;
}

.price-guide-panel {
  /* display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 340px);
  gap: 22px;
  align-items: center; */
  padding: 28px 3rem;
  border: 1px solid #c6e2f1;
  border-radius: 8px;
  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.94),
      rgba(239, 248, 253, 0.86)
    ),
    radial-gradient(circle at 100% 0, rgba(22, 137, 199, 0.16), transparent 34%);
  box-shadow: 0 14px 34px rgba(15, 95, 141, 0.1);
}

.price-guide-label {
  margin: 0 0 8px;
  color: var(--blue-dark);
  font-size: 18px;
  font-weight: 700;
}

.price-guide-text {
  margin: 0;
  color: #2f3c45;
  line-height: 1.9;
}

.price-guide-rate {
  padding: 1rem 3rem;
  border: 4px solid var(--blue);
  border-radius: 6px;
  background: #fff;
  text-align: right;
  box-shadow: inset 0 0 0 1px rgba(22, 137, 199, 0.12);
  width: fit-content;
  margin: 1rem auto;
}

.price-caution {
  width: fit-content;
  margin: 1rem auto;
}

.price-caution p {
  border: 3px solid #ee9d9d;
  border-radius: 8px;
  padding: 1rem 2rem;
  font-size: 1.5rem;
}

.price-guide-unit {
  display: block;
  margin-bottom: 4px;
  color: #4c6472;
  font-size: 15px;
  font-weight: 700;
}

.price-guide-unit sup {
  font-size: 0.68em;
}

.price-guide-price {
  display: block;
  color: var(--blue-dark);
  font-size: 48px;
  font-weight: 700;
  line-height: 1.05;
}

.price-guide-price span {
  margin-left: 2px;
  font-size: 0.48em;
}

.price-guide-note {
  max-width: 860px;
  margin: 14px auto 0;
  color: #536775;
  font-size: 14px;
  line-height: 1.8;
  text-align: center;
}

.company-strengths .section-title-en,
.company-strengths .section-title-ja,
.strengths-lead {
  text-align: center;
}

.strengths-lead {
  margin: 0 auto 32px;
  color: #536775;
}

.strengths-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.strength-card {
  padding: 28px 26px 30px;
  border: 1px solid #c6e2f1;
  border-top: 4px solid var(--blue);
  border-radius: 8px;
  background: #fff;
}

.strength-card-top {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 80px;
  margin-bottom: 22px;
  color: var(--blue);
}

.strength-association-logo,
.strength-custom-icon {
  width: 80px;
  height: 80px;
  object-fit: contain;
}

.strength-card h3 {
  margin: 0 0 18px;
  font-size: 21px;
  line-height: 1.65;
}

.strength-description {
  margin: 0;
  color: #3d4d56;
  font-size: 15px;
  line-height: 1.95;
}

@media (max-width: 767px) {
  .strengths-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .strength-card {
    padding: 24px;
  }
}

.service-links {
  margin-top: 22px;
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-links a {
  display: block;
  aspect-ratio: 1 / 1;
  border: 1px solid rgba(255, 255, 255, 0.36);
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  overflow: hidden;
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    background-color var(--transition);
}

.service-links a:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.14);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.16);
}

.service-links img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.works-layout {
  display: grid;
  grid-template-columns: minmax(0, 320px) minmax(0, 1fr);
  gap: 30px;
  align-items: start;
}

.works-head {
  position: static;
  border-top: 2px solid rgba(53, 171, 242, 0.42);
  padding-top: 14px;
}

.works-intro {
  margin: 0;
  color: #444;
  font-size: 15px;
  line-height: 1.9;
}

.recruit {
  min-height: 430px;
  display: flex;
  align-items: center;
}

.lead-copy {
  margin: 0 0 14px;
  font-size: 22px;
  font-weight: 600;
}

.sign {
  text-align: right;
  font-weight: 600;
}

.info-table {
  margin: 0;
  border-top: 1px solid #bed9ea;
  border-bottom: 1px solid #bed9ea;
  overflow: visible;
}

.info-table > div {
  display: grid;
  grid-template-columns: 180px 1fr;
  border-bottom: 1px solid #d4e7f3;
}

.info-table > div:last-child {
  border-bottom: 0;
}
.info-table dt,
.info-table dd {
  margin: 0;
  padding: 10px 14px;
}
.info-table dt {
  background: #f3f9ff;
  font-weight: 700;
}

.anchor-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 20px 0 28px;
}

.anchor-nav a {
  background: transparent;
  border: 0;
  border-bottom: 1px solid #98c9e5;
  padding: 8px 12px;
  border-radius: 0;
  text-align: center;
  font-weight: 700;
  transition:
    background-color var(--transition),
    border-color var(--transition),
    transform var(--transition);
}

.anchor-nav a:hover {
  background: rgba(53, 171, 242, 0.06);
  border-color: #8fc8e6;
  transform: translateY(-1px);
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.media-item {
  border: 0;
  border-bottom: 1px solid #c5dde9;
  background: transparent;
  border-radius: 0;
  overflow: hidden;
  box-shadow: none;
}

.media-item img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.media-item h3,
.media-item p {
  margin: 10px 12px;
}

.danger-image-container {
  position: relative;
  min-height: 240px;
}
.danger-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.5);
}

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

.flow-list li {
  display: grid;
  grid-template-columns: 220px 1fr;
  border: 0;
  border-bottom: 1px solid #c5dde9;
  border-radius: 0;
  overflow: hidden;
  background: transparent;
}

.flow-list strong,
.flow-list span {
  padding: 10px 12px;
}
.flow-list strong {
  background: #eef6fd;
}

.map-wrap iframe {
  width: 100%;
  min-height: 420px;
  border: 0;
}

.misconception-lead {
  max-width: 820px;
  margin: -6px auto 24px;
  text-align: center;
  color: #2f3c45;
}

.misconception-comparison {
  display: grid;
  gap: 16px;
}

.misconception-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 30px minmax(0, 1.14fr);
  align-items: stretch;
  gap: 10px;
}

.misconception-card {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  padding: 16px;
  min-height: 210px;
}

.misconception-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.88),
      rgba(255, 255, 255, 0.48)
    ),
    radial-gradient(
      circle at 92% 12%,
      rgba(255, 255, 255, 0.8),
      transparent 30%
    );
}

.misconception-card > * {
  position: relative;
  z-index: 1;
}

.misconception-card-myth {
  border: 1px solid #ee9d9d;
  background: #fff5f4;
}

.misconception-card-fact {
  border: 1px solid #9fc5ed;
  background: #f1f8ff;
}

.misconception-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 0 0 12px;
  padding: 4px 12px;
  border-radius: 999px;
  color: #fff;
  font-weight: 700;
  line-height: 1.2;
}

.misconception-card-myth .misconception-badge {
  background: #cf3333;
}

.misconception-card-fact .misconception-badge {
  background: var(--blue-dark);
}

.misconception-card h3 {
  margin: 0 0 8px;
  font-size: 24px;
  line-height: 1.35;
}

.misconception-card-myth h3 {
  color: #c82020;
}

.misconception-card-fact h3 {
  color: #0b5da0;
}

.misconception-card p {
  margin: 0;
  line-height: 1.75;
}

.misconception-card-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(150px, 40%);
  gap: 16px;
  align-items: center;
}

.misconception-icon {
  display: grid;
  place-items: center;
  min-height: 130px;
  border-radius: 8px;
  color: #fff;
  font-size: 58px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.48), rgba(255, 255, 255, 0)),
    linear-gradient(135deg, #d94b4b, #f2a06a);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.6);
}

.misconception-photo {
  overflow: hidden;
  align-self: stretch;
  min-height: 138px;
  border-radius: 8px;
  box-shadow: inset 0 0 0 1px rgba(15, 95, 141, 0.16);
}

.misconception-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.misconception-arrow {
  position: relative;
  align-self: center;
  height: 26px;
}

.misconception-arrow::before,
.misconception-arrow::after {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.misconception-arrow::before {
  left: 0;
  right: 7px;
  height: 6px;
  border-radius: 999px;
  background: #f7b4a8;
}

.misconception-arrow::after {
  right: 0;
  border-top: 13px solid transparent;
  border-bottom: 13px solid transparent;
  border-left: 14px solid #f7b4a8;
}

.faq-list {
  display: grid;
  gap: 12px;
  padding: 2rem;
}

.faq-item {
  border: 0;
  border-bottom: 1px solid #c5dde9;
  border-radius: 0;
  overflow: hidden;
  box-shadow: none;
}

.faq-question {
  width: 100%;
  text-align: left;
  border: 0;
  background: transparent;
  padding: 14px 4px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 15px;
  cursor: pointer;
  font-weight: 700;
  transition: background-color var(--transition);
}

.faq-question:hover {
  background: rgba(53, 171, 242, 0.06);
}

.faq-icon::before {
  content: "+";
  font-size: 22px;
  line-height: 1;
}
.faq-question[aria-expanded="true"] .faq-icon::before {
  content: "-";
}

.faq-answer {
  padding: 4px 4px 16px;
  background: transparent;
}
.faq-answer p {
  margin: 0;
}

.single-article {
  border: 0;
  border-top: 1px solid #bed9ea;
  border-bottom: 1px solid #bed9ea;
  background: transparent;
  padding: 26px;
  box-shadow: none;
}

.single-thumb img {
  width: 100%;
  height: auto;
  margin-bottom: 20px;
}

.pagination {
  margin-top: 22px;
  display: flex;
  justify-content: center;
}

.contact {
  background: linear-gradient(90deg, #eef8fd 0%, #f7fbfe 100%);
  padding: 44px 0 36px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 20px;
}

.contact-title-en {
  color: var(--blue);
  margin: 0;
  font-size: 38px;
  font-weight: 700;
  font-family:
    "LINE Seed JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo",
    sans-serif;
}

.contact-title-ja {
  margin: 8px 0 0;
  font-size: 22px;
  font-family:
    "LINE Seed JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo",
    sans-serif;
  font-weight: 500;
}

.contact-sub {
  margin: 6px 0 0;
}

.contact-phone {
  font-size: 18px;
}

.contact-phone a {
  font-size: 44px;
  color: #111;
  text-decoration: underline;
  font-family:
    "LINE Seed JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo",
    sans-serif;
  margin-left: 6px;
}

.contact-banners {
  margin-top: 20px;
  display: flex;
  gap: 14px;
}

.contact-banners a {
  background: #fff;
  border: 1px solid #ddd;
  padding: 6px 12px;
  border-radius: 0;
  transition:
    transform var(--transition),
    box-shadow var(--transition);
}

.contact-banners a:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}

.top-cta {
  background: #f2f9fd;
  padding: 50px 0 62px;
  text-align: center;
  font-size: 20px;
}

.top-cta .container {
  max-width: 860px;
}

.top-cta-lead {
  margin: 0;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.top-cta-note {
  margin: 10px 0 0;
  font-size: 20px;
  letter-spacing: 0.04em;
}

.top-cta-company {
  margin: 28px auto 0;
  padding-top: 20px;
  border-top: 1px solid #b9d8e8;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.top-cta-address {
  margin: 22px 0 0;
  font-size: 20px;
  letter-spacing: 0.04em;
}

.top-cta-free {
  margin: 20px 0 0;
}

.top-cta-free span {
  display: inline-block;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.top-cta-phones {
  margin-top: 22px;
  display: flex;
  justify-content: center;
  gap: 40px;
  font-size: 24px;
  letter-spacing: 0.03em;
}

.top-cta-phones p {
  margin: 0;
}

.top-cta-mail {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 320px;
  margin-top: 30px;
  padding: 18px 28px;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.top-cta-mail:hover {
  background: var(--blue-dark);
  opacity: 1;
}

.top-cta-mail i {
  font-size: 18px;
}

.site-footer {
  background: url("https://nakagawashiroari.co.jp/files/libs/661/footer.png?1657757638")
    center top / cover no-repeat;
  color: #333;
}

.footer-nav {
  padding: 16px 0;
  text-align: center;
  border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
  font-size: 15px;
}

.footer-nav a {
  margin: 0 10px;
}

.footer-main {
  padding: 24px 0 36px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 30px;
  align-items: end;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.footer-logo .logo-icon {
  width: 40px;
  height: 40px;
}

.footer-logo .logo-text {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  color: #1b1b1b;
  line-height: 1.1;
}

.footer-logo .company-prefix {
  font-size: 16px;
  font-weight: 500;
}

.footer-logo .company-name {
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.footer-company {
  margin: 10px 0;
  font-size: 15px;
}
.footer-copy {
  margin: 10px 0 0;
  font-size: 14px;
}
.footer-right {
  text-align: right;
}
.footer-carbon img {
  width: 60px;
  margin-left: auto;
}

body:not(.home):not(.front-page) #page-content {
  background: linear-gradient(
    180deg,
    rgba(53, 171, 242, 0.26) 0,
    rgba(53, 171, 242, 0.11) 0px,
    rgba(53, 171, 242, 0.04) 40px,
    #fff 100px
  );
}

.footer-policy {
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}

.footer-policy li {
  margin: 6px 0;
}
.footer-policy i {
  margin-right: 5px;
}

.footer-policy a {
  transition: color var(--transition);
}

.footer-policy a:hover {
  color: #0b6ea3;
}

@media (max-width: 1024px) {
  .container {
    max-width: calc(100% - 24px);
  }
  .header-inner {
    padding: 10px 0;
  }
  .global-nav ul {
    justify-content: flex-start;
  }
  .global-nav li a {
    min-width: 0;
    padding: 0 8px;
    font-size: 15px;
  }
  .site-logo .company-prefix {
    font-size: 18px;
  }
  .site-logo .company-name {
    font-size: 22px;
  }
  .site-logo .qualification-text {
    font-size: 10px;
  }
  .hero,
  .hero-inner {
    min-height: 460px;
  }
  .hero-copy {
    width: auto;
  }
  .hero-copy h1 {
    font-size: 32px;
  }
  .hero-subcopy {
    font-size: 16px;
  }
  .topics-box,
  .contact-grid,
  .footer-main,
  .card-grid,
  .service-links,
  .works-layout,
  .service-page .method-grid,
  .flow-list li,
  .media-grid,
  .info-table > div,
  .anchor-nav {
    grid-template-columns: 1fr;
  }

  .mcp-section-compact {
    border-left: 0;
    padding: 20px 0 0;
  }
  .threat-columns {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .threat-check {
    padding-left: 0;
    border-left: 0;
    border-top: 1px solid #d8e8f2;
    padding-top: 16px;
  }
  .works-head {
    position: static;
    border-top: 0;
    padding-top: 0;
  }
  .recruit-copy {
    width: auto;
    margin-left: 0;
  }
  .footer-right {
    text-align: left;
  }
  .footer-carbon img {
    margin-left: 0;
  }
  .footer-logo .company-prefix {
    font-size: 14px;
  }
  .footer-logo .company-name {
    font-size: 24px;
  }

  .top-cta {
    padding: 44px 0 56px;
  }

  .top-cta-lead {
    font-size: 22px;
  }

  .top-cta-note,
  .top-cta-address {
    font-size: 18px;
  }

  .top-cta-company {
    font-size: 24px;
  }

  .top-cta-free span {
    font-size: 24px;
  }

  .top-cta-phones {
    gap: 24px;
    font-size: 22px;
  }

  .top-cta-mail {
    min-width: 300px;
    font-size: 20px;
    padding: 16px 24px;
  }

  .price-guide-panel {
    grid-template-columns: 1fr;
  }

  .price-guide-rate {
    text-align: left;
  }

  .misconception-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .misconception-arrow {
    width: 28px;
    height: 24px;
    justify-self: center;
    transform: rotate(90deg);
  }
}

@media (max-width: 767px) {
  .site-header {
    position: sticky;
    top: 0;
    z-index: 9000;
    box-shadow: 0 6px 18px rgba(15, 55, 85, 0.1);
  }

  .header-inner {
    min-height: 72px;
    flex-wrap: nowrap;
    gap: 12px;
    padding: 8px 0;
  }

  .site-logo .logo-link {
    gap: 8px;
  }

  .site-logo img {
    width: 36px;
    height: 36px;
  }

  .global-nav {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    display: block;
    padding: 10px;
    border: 1px solid #c7dfea;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 16px 34px rgba(15, 55, 85, 0.18);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    pointer-events: none;
    transition:
      opacity var(--transition),
      transform var(--transition),
      visibility var(--transition);
  }

  .site-header.nav-open .global-nav {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }

  .global-nav ul {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
  }

  .global-nav li + li {
    border-top: 1px solid #e1eef5;
  }

  .global-nav li a {
    min-width: 0;
    padding: 13px 10px;
    text-align: left;
    color: #12364e;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
  }

  .global-nav li a::after {
    content: none;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex: 0 0 auto;
    min-width: 48px;
    min-height: 44px;
    border: 1px solid #b5d7e9;
    border-radius: 999px;
    background: #fff;
    color: var(--blue-dark);
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 6px 14px rgba(15, 55, 85, 0.1);
  }

  .menu-toggle-bars {
    display: grid;
    gap: 4px;
    width: 18px;
  }

  .menu-toggle-bars span {
    display: block;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    transition:
      transform var(--transition),
      opacity var(--transition);
  }

  .menu-toggle[aria-expanded="true"] .menu-toggle-bars span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] .menu-toggle-bars span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle[aria-expanded="true"] .menu-toggle-bars span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .menu-toggle-label {
    font-size: 13px;
    line-height: 1;
  }

  .site-logo .company-prefix {
    font-size: 16px;
  }
  .site-logo .company-name {
    font-size: 20px;
  }
  .site-logo .qualification-text {
    font-size: 9px;
  }
  .footer-logo .company-prefix {
    font-size: 13px;
  }
  .footer-logo .company-name {
    font-size: 20px;
  }
  .hero,
  .hero-inner {
    min-height: 390px;
  }
  .hero-copy h1 {
    font-size: 24px;
  }
  .hero-pager {
    right: 20px;
  }
  .section {
    padding: 52px 0;
  }
  .section-title-en {
    font-size: 32px;
  }
  .section-title-ja {
    font-size: 26px;
    text-align: center;
  }
  .price-guide-panel {
    padding: 22px 18px;
  }
  .price-guide-label {
    font-size: 16px;
  }
  .price-guide-rate {
    padding: 16px;
  }
  .price-guide-price {
    font-size: 40px;
  }
  .price-guide-note {
    text-align: left;
  }
  .page-title {
    font-size: 28px;
  }
  .misconception-lead {
    margin-bottom: 18px;
    text-align: left;
  }
  .misconception-card {
    min-height: 0;
    padding: 14px;
  }
  .misconception-card h3 {
    font-size: 21px;
  }
  .misconception-card-body {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .misconception-icon {
    justify-self: end;
    width: 88px;
    min-height: 58px;
    font-size: 28px;
  }
  .misconception-photo {
    min-height: 150px;
  }
  .topics-list li {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .contact-phone a {
    font-size: 34px;
  }
  .contact-banners {
    flex-direction: column;
  }
  .single-article {
    padding: 18px;
  }

  .top-cta {
    padding: 36px 0 44px;
  }

  .top-cta-lead {
    font-size: 20px;
  }

  .top-cta-note,
  .top-cta-address {
    font-size: 17px;
  }

  .top-cta-company {
    margin-top: 20px;
    padding-top: 14px;
    font-size: 22px;
  }

  .top-cta-free span {
    font-size: 22px;
  }

  .top-cta-phones {
    margin-top: 16px;
    flex-direction: column;
    gap: 6px;
    font-size: 20px;
  }

  .top-cta-mail {
    min-width: 0;
    width: 100%;
    max-width: 320px;
    margin-top: 26px;
    padding: 16px 20px;
    font-size: 18px;
  }

  .top-cta-mail i {
    font-size: 18px;
  }

  body {
    padding-bottom: 72px;
  }

  .mobile-fixed-cta {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.96);
    border-top: 1px solid #c7dfea;
    box-shadow: 0 -8px 20px rgba(15, 55, 85, 0.14);
  }

  .mobile-fixed-cta a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    border-radius: 999px;
    font-weight: 700;
    line-height: 1.2;
  }

  .mobile-fixed-cta-phone {
    background: #fff;
    border: 1px solid var(--blue);
    color: var(--blue-dark);
  }

}

@media (min-width: 768px) {
  .mobile-fixed-cta {
    display: none;
  }
}

@media (max-width: 380px) {
  .menu-toggle {
    padding: 0 12px;
  }

  .menu-toggle-label {
    display: none;
  }
}

/* 追補: トップページ調整・業務内容可読性改善 */
.top-threat-about {
  padding-bottom: 12px;
}

.top-threat-check {
  margin-top: 8px;
  padding-top: 18px;
  border-top: 1px solid #d8e8f2;
}

.top-threat-check .checklist-lead {
  text-align: center;
}

.top-checklist-box {
  max-width: 860px;
  margin: 14px auto 0;
  padding: 22px 24px;
  border: 2px solid #35abf2;
  background: #fff;
}

.top-threat-check .checklist-grid {
  max-width: 620px;
  margin: 0 auto;
  gap: 0;
}

.top-threat-check .checklist-grid li {
  display: flex;
  align-items: center;
  gap: 10px;
  border-left: 0;
  border-bottom: 1px solid #d8e8f2;
  padding: 12px 0;
  text-align: left;
}

.top-threat-check .checklist-grid li:first-child {
  border-top: 1px solid #d8e8f2;
}

.top-threat-check .checklist-grid li i {
  color: #ff3b3b;
  font-size: 22px;
  width: 24px;
  flex: 0 0 24px;
  text-align: center;
}

.top-threat-check .checklist-grid li span {
  display: block;
}

body.home .section-title-en,
body.home .section-title-ja,
body.front-page .section-title-en,
body.front-page .section-title-ja {
  text-align: center;
}

body.home .section-title-ja,
body.front-page .section-title-ja {
  font-size: 27px;
  font-family:
    "Yu Mincho", "Hiragino Mincho ProN", "BIZ UDPMincho", "MS PMincho", serif;
  font-weight: 700;
}

main {
  width: 100%;
}

.services .service-links {
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}

.services .service-links a {
  max-width: 220px;
  margin: 0 auto;
}

.recruit-copy .section-title-ja,
.company-panel .section-title-ja {
  margin-bottom: 14px;
}

.recruit-copy p,
.company-panel p {
  font-size: 15px;
  line-height: 1.9;
}

.service-page .page-title {
  font-size: 34px;
}

.service-page .section-title-ja {
  font-size: 30px;
}

.service-page .service-lead,
.service-page .service-block p,
.service-page .anchor-nav a,
.service-page .flow-list li span {
  font-size: 15px;
}

.service-page .method-item h3 {
  font-size: 19px;
}

.service-page .service-medicine-cards {
  margin: 14px 0 18px;
}

.medicine-series + .medicine-series {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid #d8e8f2;
}

.service-page .service-medicine-cards .info-card h3,
.service-page .service-medicine-cards .info-card h4 {
  font-size: 20px;
}

.service-page .humidity-product {
  width: fit-content;
  margin: 1rem auto;
}

.service-page .humidity-product img {
  width: 200px;
  margin-bottom: 2rem;
}

.service-page .humidity-product a {
  width: fit-content;
  padding: 1rem 2rem;
  background-color: #1967d2;
  color: #fff;
}

@media (max-width: 767px) {
  .services .service-links a {
    max-width: 160px;
  }

  .recruit-copy p,
  .company-panel p {
    font-size: 14px;
  }

  .service-page .page-title {
    font-size: 28px;
  }

  .service-page .section-title-ja {
    font-size: 25px;
  }

  .service-page .service-lead,
  .service-page .service-block p,
  .service-page .anchor-nav a,
  .service-page .flow-list li span {
    font-size: 14px;
    line-height: 1.8;
  }

  .top-checklist-box {
    padding: 16px 14px;
  }

  .top-threat-check .checklist-grid {
    max-width: 100%;
  }

  .top-threat-check .checklist-grid li {
    gap: 8px;
    font-size: 15px;
  }

  .top-threat-check .checklist-grid li i {
    font-size: 20px;
    width: 22px;
    flex-basis: 22px;
  }

  .service-page .method-item h3,
  .service-page .service-medicine-cards .info-card h3,
  .service-page .service-medicine-cards .info-card h4 {
    font-size: 17px;
  }
}

/* company page: section divider bars */
.company-page .company-section {
  position: relative;
}

.company-page .company-section:not(:first-of-type) {
  border-top: 1px solid #cddfed;
  padding-top: 54px;
}

.company-page .company-section:not(:first-of-type)::before {
  content: "";
  position: absolute;
  top: -2px;
  left: 50%;
  width: 150px;
  height: 4px;
  background: var(--blue);
  border-radius: 999px;
  transform: translateX(-50%);
}

.company-page .company-section .section-title-ja {
  position: relative;
  margin: 0 0 20px;
  padding-left: 16px;
  font-size: 28px;
  text-align: left;
  line-height: 1.45;
}

.company-page .company-section .section-title-ja::before {
  content: "";
  position: absolute;
  top: 0.15em;
  left: 0;
  width: 5px;
  height: 1.15em;
  background: var(--blue);
  border-radius: 999px;
}

.page-title-bar {
  position: relative;
  margin: 0;
  padding: 28px 22px 26px;
  color: #13324a;
  font-size: 36px;
  text-align: center;
  line-height: 1.4;
  font-family:
    "Yu Mincho", "Hiragino Mincho ProN", "BIZ UDPMincho", "MS PMincho", serif;
  font-weight: 700;
  letter-spacing: 0.05em;
  overflow: hidden;
  isolation: isolate;
}

.page-title-wrap {
  padding-top: 14px;
}

.page-title-bar::before {
  content: attr(data-page-key);
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -52%);
  color: rgba(19, 50, 74, 0.14);
  font-family:
    "LINE Seed JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo",
    sans-serif;
  font-size: clamp(34px, 8vw, 108px);
  font-weight: 700;
  letter-spacing: 0.2em;
  white-space: nowrap;
  pointer-events: none;
  z-index: 0;
}

.page-title-bar .page-title-main {
  position: relative;
  z-index: 1;
}

@media (max-width: 767px) {
  .company-page .company-section:not(:first-of-type) {
    padding-top: 42px;
  }

  .company-page .company-section:not(:first-of-type)::before {
    width: 110px;
  }

  .company-page .company-section .section-title-ja {
    padding-left: 14px;
    font-size: 24px;
  }

  .company-page .company-section .section-title-ja::before {
    width: 4px;
  }

  .page-title-bar {
    padding: 20px 14px 18px;
    font-size: 26px;
    letter-spacing: 0.03em;
  }

  .page-title-wrap {
    padding-top: 10px;
  }

  .page-title-bar::before {
    transform: translate(-50%, -50%);
    font-size: clamp(24px, 12vw, 64px);
    letter-spacing: 0.14em;
  }
}

/* Bait method catalog */
.bait-catalog {
  margin-top: 24px;
}
.bait-catalog h3 {
  margin: 0 0 12px;
  font-size: 21px;
}
.bait-catalog-link {
  color: var(--blue-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.bait-catalog-viewer {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--border);
}
.bait-catalog-image-link {
  display: block;
  max-width: 720px;
  margin: 16px auto 0;
  cursor: zoom-in;
}
.bait-catalog-image-link:hover {
  opacity: 1;
}
.service-page .bait-catalog-image-note {
  color: #555;
  font-size: 13px;
}
.bait-catalog-chapter {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid #d8e8f2;
}
.bait-catalog-chapter h4 {
  margin: 0;
  font-size: 20px;
  line-height: 1.6;
}
