@charset "UTF-8";

:root {
  --kc-bg: #f6faf8;
  --kc-bg-soft: #eef5f2;
  --kc-card: #ffffff;
  --kc-line: #d8e7e1;
  --kc-text: #2d3135;
  --kc-text-soft: #5f6f78;
  --kc-main: #2d7f81;
  --kc-main-dark: #256a6b;
  --kc-main-soft: #e5f1ee;
  --kc-accent-soft: #f4e8d6;
  --kc-shadow: 0 12px 32px rgba(28, 58, 49, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  color: var(--kc-text);
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

.inner {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.section {
  padding: 96px 0;
}

.section-soft {
  background: var(--kc-bg-soft);
}

.section-label,
.top-about-label,
.top-contact-cta-label,
.company-table-label,
.recruit-side-label,
.company-summary-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  padding: 14px 28px;
  border-radius: 999px;
  background: var(--kc-main-soft);
  color: var(--kc-main);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section-label--light {
  background: rgba(255, 255, 255, 0.92);
  color: var(--kc-main-dark);
}

.section-heading,
.top-about-lead,
.top-flow-head,
.top-availability-head,
.top-connect-head {
  text-align: center;
  margin-bottom: 44px;
}

.section-title,
.top-news-title,
.top-contact-cta-title,
.company-title,
.recruit-title {
  margin: 18px 0 0;
  color: var(--kc-text);
  font-size: clamp(2rem, 3.2vw, 3.35rem);
  line-height: 1.24;
  letter-spacing: 0.02em;
}

/* ===== recruitタイトル調整 ===== */
.recruit-title {
  font-size: clamp(1.8rem, 2.6vw, 2.6rem);
  line-height: 1.3;
  letter-spacing: 0.03em;
}

.section-title--wide {
  max-width: 1000px;
  margin-inline: auto;
}

.section-text,
.top-news-description,
.top-contact-cta-text,
.company-text,
.recruit-text {
  max-width: 840px;
  margin: 18px auto 0;
  color: var(--kc-text-soft);
  font-size: 1.12rem;
  line-height: 1.9;
}

.section-text--narrow {
  max-width: 760px;
}

.section-text--single-pc {
  white-space: nowrap;
}

/* Buttons */
.btn-primary,
.btn-secondary,
.btn-outline,
.btn-primary-soft,
.btn-text,
.section-link a,
.top-news-link {
  transition: 0.25s ease;
}

.btn-primary,
.btn-primary-soft,
.btn-secondary,
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 0 28px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
}

.btn-primary,
.btn-primary-soft,
.section-link a {
  background: var(--kc-main);
  color: #fff;
}

.btn-secondary,
.btn-outline {
  border: 1.5px solid var(--kc-main);
  background: rgba(255, 255, 255, 0.92);
  color: var(--kc-main);
}

.btn-text,
.top-news-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--kc-main);
  font-weight: 700;
  text-decoration: none;
}

.btn-text::after,
.top-news-link::after,
.section-link a::after {
  content: "→";
  font-size: 1rem;
}

.btn-text--light {
  color: #fff;
}

.btn-primary:hover,
.btn-primary-soft:hover,
.section-link a:hover {
  background: var(--kc-main-dark);
}

.btn-secondary:hover,
.btn-outline:hover {
  background: var(--kc-main-soft);
}

/* Hero */
.hero {
  position: relative;
  min-height: 740px;
  padding: 72px 0 56px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(246, 250, 248, 0.96) 0%,
    rgba(246, 250, 248, 0.92) 22%,
    rgba(246, 250, 248, 0.72) 38%,
    rgba(246, 250, 248, 0.18) 58%,
    rgba(246, 250, 248, 0) 76%
  );
  z-index: 1;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg picture,
.hero-bg img {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-bg img {
  object-fit: cover;
  object-position: center center;
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-content {
  max-width: 560px;
  padding: 24px 0 24px 4px;
}

.hero-sub {
  display: inline-block;
  margin: 0 0 24px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(229, 241, 238, 0.95);
  color: var(--kc-main);
  font-size: 0.95rem;
  font-weight: 700;
}

.hero-title {
  margin: 0;
  font-size: clamp(3rem, 5vw, 4.75rem);
  line-height: 1.07;
  letter-spacing: 0.01em;
}

.hero-title strong {
  color: var(--kc-main);
  font-weight: 800;
}

.hero-text {
  margin: 28px 0 0;
  max-width: 520px;
  color: #4f5e66;
  font-size: 1.13rem;
  line-height: 1.9;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 14px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.hero-points li,
.company-meta-list li,
.recruit-points li,
.recruit-side-list li {
  position: relative;
  padding-left: 28px;
}

.hero-points li {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 18px 0 44px;
  border: 1px solid var(--kc-line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--kc-main);
  font-weight: 700;
}

.hero-points li::before,
.company-meta-list li::before,
.recruit-points li::before,
.recruit-side-list li::before,
.company-row dt::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 50%;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #7dc7c6;
  box-shadow: 0 0 0 8px rgba(125, 199, 198, 0.18);
  transform: translateY(-50%);
}

/* About */
.top-about-points,
.reason-grid,
.service-grid,
.availability-summary-grid,
.connect-grid {
  display: grid;
  gap: 28px;
}

.top-about-points--three,
.reason-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.about-point,
.reason-card,
.service-card,
.availability-summary-card,
.connect-card,
.flow-step,
.top-news-item-link,
.company-summary-card,
.company-table-wrap,
.flow-figure,
.recruit-side-card {
  border: 1px solid var(--kc-line);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--kc-shadow);
}

.about-point,
.reason-card,
.service-card,
.availability-summary-card,
.connect-card {
  padding: 34px 34px 30px;
}

.about-point-number,
.reason-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 104px;
  height: 88px;
  border-radius: 28px;
  background: var(--kc-main-soft);
  color: var(--kc-main);
  font-size: 1.1rem;
  font-weight: 800;
}

.about-point h3,
.reason-card h3,
.service-title,
.availability-summary-card h3,
.connect-card h3,
.flow-step h3,
.recruit-side-card h3 {
  margin: 26px 0 0;
  color: var(--kc-text);
  font-size: 1.55rem;
  line-height: 1.35;
}

.about-point p,
.reason-card p,
.service-text,
.availability-summary-text,
.connect-card p,
.flow-step p,
.company-note,
.top-news-text,
.company-row dd,
.recruit-side-list,
.recruit-points,
.top-contact-cta-points,
.top-news-bottom-text {
  margin: 18px 0 0;
  color: var(--kc-text-soft);
  font-size: 1.08rem;
  line-height: 1.9;
}

.top-about-actions,
.top-availability-actions,
.recruit-actions,
.company-actions,
.top-contact-cta-links {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
}

.top-about-actions {
  margin-top: 34px;
  justify-content: center;
}

/* Service */
.service-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.service-card {
  text-align: center;
}

.service-icon {
  width: 96px;
  height: 96px;
  margin: 0 auto;
}

.service-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.service-title {
  color: var(--kc-main);
}

.section-link {
  margin-top: 34px;
  text-align: center;
}

.section-link a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 60px;
  padding: 0 32px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
}

/* Reason */
.reason-grid {
  align-items: stretch;
}

.reason-card h3 {
  min-height: 3em;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

/* Flow */
.flow-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 32px;
  align-items: start;
}

.flow-steps {
  display: grid;
  gap: 22px;
}

.flow-step {
  display: grid;
  grid-template-columns: 116px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  padding: 30px 34px;
}

.flow-step-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 106px;
  min-height: 66px;
  border-radius: 24px;
  background: var(--kc-main-soft);
  color: var(--kc-main);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.flow-step-body h3 {
  margin: 2px 0 0;
}

.flow-step-body p {
  margin: 14px 0 0;
}

.flow-figure {
  position: sticky;
  top: 108px;
  padding: 26px;
}

.flow-figure img {
  display: block;
  width: 100%;
  border-radius: 24px;
}

.flow-figure figcaption {
  margin-top: 16px;
  color: var(--kc-text-soft);
  font-size: 1.08rem;
  line-height: 1.7;
  text-align: center;
}

/* Availability */
.availability-summary-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.availability-summary-card {
  min-height: 290px;
}

.availability-summary-status,
.top-news-category,
.connect-card-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 800;
}

.availability-summary-card.is-open .availability-summary-status,
.category-availability,
.category-info {
  background: var(--kc-main-soft);
  color: #3f8a4a;
}

.availability-summary-card.is-limited .availability-summary-status,
.category-recruit {
  background: var(--kc-accent-soft);
  color: #9a6b22;
}

.availability-summary-note {
  margin-top: 24px;
  text-align: center;
}

.availability-summary-note p {
  margin: 0;
  color: var(--kc-text-soft);
  font-size: 1.02rem;
  line-height: 1.9;
  white-space: nowrap;
}

.availability-summary-note a {
  color: var(--kc-main);
  font-weight: 700;
  text-decoration: none;
}

.top-availability-actions {
  margin-top: 28px;
  justify-content: center;
}

/* News */
.top-news-head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  margin-bottom: 28px;
}

.top-news-title,
.top-news-description {
  text-align: left;
}

.top-news-description {
  margin-left: 0;
}

.top-news-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 18px;
}

.top-news-item-link {
  display: block;
  padding: 28px 30px;
  text-decoration: none;
}

.top-news-meta {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

.top-news-date {
  color: #596872;
  font-weight: 700;
  font-size: 1.05rem;
}

.top-news-text {
  display: block;
  margin-top: 14px;
}

.top-news-bottom {
  margin-top: 26px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
}

.top-news-bottom-text {
  margin: 0;
}

/* Contact CTA */
.top-contact-cta-box {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 30px;
  padding: 40px;
  border-radius: 32px;
  background: linear-gradient(135deg, #f8fbfa 0%, #edf5f1 100%);
  border: 1px solid var(--kc-line);
  box-shadow: var(--kc-shadow);
}

.top-contact-cta-label,
.company-summary-label,
.company-table-label {
  min-width: auto;
  padding-inline: 22px;
}

.top-contact-cta-title {
  font-size: clamp(1.9rem, 2.8vw, 2.8rem);
}
.top-contact-cta-text {
  margin-left: 0;
}

.top-contact-cta-points,
.recruit-points,
.recruit-side-list,
.company-meta-list,
.office-number-list,
.company-links-list {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.top-contact-cta-points li,
.company-links-list li {
  position: relative;
  padding-left: 28px;
  color: var(--kc-text-soft);
  font-size: 1.05rem;
  line-height: 1.8;
}

.top-contact-cta-points li::before,
.company-links-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.75em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #7dc7c6;
}

.top-contact-cta-actions {
  display: grid;
  gap: 18px;
  align-content: start;
}

.top-contact-cta-tel {
  display: block;
  padding: 28px 30px;
  border-radius: 28px;
  background: linear-gradient(135deg, var(--kc-main) 0%, #4aa7a6 100%);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 18px 34px rgba(45, 127, 129, 0.24);
}

.top-contact-cta-action-label,
.top-contact-cta-sub {
  display: block;
}

.top-contact-cta-action-label {
  font-weight: 700;
  opacity: 0.95;
}

.top-contact-cta-tel strong {
  display: block;
  margin-top: 8px;
  font-size: clamp(2rem, 3vw, 2.8rem);
  line-height: 1.1;
}

.top-contact-cta-sub {
  margin-top: 10px;
  opacity: 0.95;
}

/* Connect */
.connect-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.connect-card-label {
  background: var(--kc-main-soft);
  color: var(--kc-main);
}

.line-qr-box,
.mascot-figure {
  margin: 22px 0 0;
  text-align: center;
}

.line-qr-image {
  width: min(260px, 100%);
  border-radius: 22px;
  border: 1px solid var(--kc-line);
  background: #fff;
  padding: 10px;
}

.line-qr-box figcaption,
.mascot-figure figcaption {
  margin-top: 14px;
  color: var(--kc-text-soft);
  font-size: 0.98rem;
  line-height: 1.7;
}

.mascot-frame {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 260px;
  border-radius: 22px;
  background: #fff;
  border: 1px solid var(--kc-line);
}

.mascot-image {
  width: min(280px, 100%);
}

/* Recruit */
.recruit-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.82fr);
  gap: 32px;
  padding: 32px;
  border-radius: 36px;
  background: linear-gradient(180deg, #3a8b8d 0%, #5fb3b2 100%);
  box-shadow: 0 20px 40px rgba(48, 115, 116, 0.18);
}

.recruit-content,
.recruit-side-card {
  color: #fff;
}

.recruit-title,
.recruit-side-card h3 {
  color: #fff;
}

.recruit-text {
  margin-left: 0;
  color: rgba(255, 255, 255, 0.92);
  max-width: none;
}

.recruit-points li,
.recruit-side-list li {
  padding: 16px 18px 16px 62px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-weight: 700;
}

.recruit-points {
  display: grid;
  gap: 14px;
}

.recruit-side {
  display: flex;
}

.recruit-side-card {
  width: 100%;
  padding: 28px;
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.08);
  box-shadow: none;
}

.recruit-side-label {
  background: rgba(255, 255, 255, 0.96);
  color: var(--kc-main-dark);
}

.recruit-side-list {
  display: grid;
  gap: 14px;
}

/* Company */
.company-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.78fr) minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}

.company-text {
  margin-left: 0;
}

.company-summary-card {
  margin-top: 28px;
  padding: 30px;
}

.company-summary-catch,
.company-table-sub,
.company-links-title {
  margin: 14px 0 0;
  color: var(--kc-text);
  font-size: 1.3rem;
  font-weight: 700;
}

.company-meta-list {
  display: grid;
  gap: 14px;
}

.company-meta-list li,
.recruit-side-list li,
.recruit-points li {
  position: relative;
}

.company-meta-list li {
  padding-left: 46px;
  color: var(--kc-text-soft);
  font-size: 1.06rem;
  line-height: 1.8;
}

.company-actions {
  margin-top: 24px;
}

.company-table-wrap {
  padding: 30px;
}

.company-table {
  margin-top: 22px;
}

.company-row {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  border-top: 1px solid var(--kc-line);
}

.company-row:last-child {
  border-bottom: 1px solid var(--kc-line);
}

.company-row dt,
.company-row dd {
  margin: 0;
  min-height: 112px;
  display: flex;
  align-items: center;
}

.company-row dt {
  position: relative;
  padding: 20px 20px 20px 66px;
  background: #f4faf7;
  color: var(--kc-text);
  font-size: 1.14rem;
  font-weight: 800;
}

.company-row dd {
  padding: 20px 28px;
}

.company-row--stacked dd {
  display: block;
}

.office-number-list {
  display: grid;
  gap: 10px;
  margin-top: 0;
}

.office-number-list li {
  color: var(--kc-text-soft);
  font-size: 1.02rem;
  line-height: 1.8;
}

.company-links-block {
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid var(--kc-line);
}

.company-links-title {
  margin-top: 0;
  font-size: 1.08rem;
  color: var(--kc-main);
}

.company-links-list {
  display: grid;
  gap: 8px;
}

.company-links-list a {
  color: var(--kc-main);
  font-weight: 700;
  text-decoration: none;
}

.company-links-list a:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 1200px) {
  .section-text--single-pc,
  .availability-summary-note p {
    white-space: normal;
  }
  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .connect-grid,
  .reason-grid,
  .top-about-points--three {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .flow-layout,
  .top-contact-cta-box,
  .company-layout,
  .recruit-panel {
    grid-template-columns: 1fr;
  }
  .flow-figure {
    position: static;
  }
}

@media (max-width: 900px) {
  .section {
    padding: 76px 0;
  }
  .hero {
    min-height: auto;
    padding: 58px 0 40px;
    background-position: 72% center;
  }
  .hero-content {
    max-width: 520px;
  }
  .hero-title {
    font-size: clamp(2.4rem, 9vw, 4rem);
  }
  .top-news-head,
  .top-news-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
  .availability-summary-grid,
  .service-grid,
  .connect-grid,
  .reason-grid,
  .top-about-points--three {
    grid-template-columns: 1fr;
  }
  .flow-step {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .flow-step-badge {
    width: 112px;
  }
  .company-row {
    grid-template-columns: 1fr;
  }
  .company-row dt,
  .company-row dd {
    min-height: auto;
  }
}

@media (max-width: 640px) {
  .inner {
    width: min(100% - 28px, 100%);
  }
  .section-label,
  .top-about-label,
  .top-contact-cta-label,
  .company-table-label,
  .recruit-side-label,
  .company-summary-label {
    min-width: 152px;
    padding: 12px 22px;
    font-size: 0.95rem;
  }
  .section-title,
  .top-news-title,
  .top-contact-cta-title,
  .company-title,
  .recruit-title {
    font-size: 2rem;
  }
  .hero {
    background:
      linear-gradient(
        180deg,
        rgba(246, 250, 248, 0.96) 0%,
        rgba(246, 250, 248, 0.94) 34%,
        rgba(246, 250, 248, 0.72) 52%,
        rgba(246, 250, 248, 0.18) 100%
      ),
      url("../../img/top/hero.jpg") 68% center / cover no-repeat;
  }
  .hero-content {
    max-width: none;
  }
  .hero-text {
    font-size: 1rem;
  }
  .hero-points li {
    width: 100%;
  }
  .top-contact-cta-box,
  .company-table-wrap,
  .company-summary-card,
  .recruit-panel,
  .recruit-side-card,
  .flow-figure,
  .flow-step,
  .about-point,
  .reason-card,
  .service-card,
  .availability-summary-card,
  .connect-card,
  .top-news-item-link {
    padding: 22px;
  }
}

/* ===== 2026-03-18 refinements ===== */
.section-label,
.top-about-label,
.top-contact-cta-label,
.company-table-label,
.recruit-side-label,
.company-summary-label,
.connect-card-label {
  background: var(--kc-main-soft) !important;
  color: var(--kc-main) !important;
}

.hero {
  background:
    linear-gradient(
      90deg,
      rgba(246, 250, 248, 0.97) 0%,
      rgba(246, 250, 248, 0.94) 20%,
      rgba(246, 250, 248, 0.78) 34%,
      rgba(246, 250, 248, 0.28) 52%,
      rgba(246, 250, 248, 0) 70%
    ),
    url("../../img/top/hero.jpg") 58% center / cover no-repeat;
}
.hero-content {
  max-width: 500px;
  padding-left: 0;
}
.hero-text {
  max-width: 470px;
}
.hero-points {
  display: grid;
  grid-template-columns: repeat(3, max-content);
  gap: 12px 14px;
  align-items: center;
}
.hero-points li {
  width: auto;
  white-space: nowrap;
}

.top-about-lead {
  margin-bottom: 36px;
}
.section-title--wide {
  max-width: 1340px;
  font-size: clamp(2.5rem, 3.6vw, 4.3rem);
  line-height: 1.18;
  white-space: nowrap;
}
.top-about-points--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.about-point {
  min-height: 100%;
}
.about-point h3,
.reason-card h3 {
  font-size: 1.38rem;
  line-height: 1.45;
}
.reason-card h3 {
  min-height: 4.35rem;
}
.reason-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.reason-card {
  display: flex;
  flex-direction: column;
}
.reason-card p {
  flex: 1;
}

.flow-layout {
  grid-template-columns: minmax(0, 1.18fr) minmax(340px, 0.82fr);
  align-items: start;
}
.flow-side {
  position: sticky;
  top: 108px;
  align-self: start;
}
.flow-figure {
  position: static;
}
.flow-figure figcaption {
  white-space: nowrap;
  font-size: 1rem;
}
.flow-step-body h3 {
  font-size: 1.45rem;
}
.flow-step-body p {
  max-width: 38ch;
}

.availability-summary-note p,
.section-text--single-pc {
  white-space: nowrap;
}

.top-news-head {
  justify-content: flex-start;
  align-items: flex-end;
}
.top-news-bottom {
  justify-content: space-between;
}

.top-contact-cta-box {
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  align-items: center;
}
.top-contact-cta-actions {
  align-content: center;
}

.connect-grid {
  align-items: stretch;
}
.connect-card {
  display: flex;
  flex-direction: column;
}
.connect-actions {
  margin-top: auto;
}

.recruit-panel {
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.82fr);
  gap: 38px;
  padding: 40px;
}
.recruit-text {
  max-width: 52ch;
}
.recruit-actions {
  margin-top: 28px;
}
.recruit-side-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.recruit-side-list {
  margin-top: 22px;
}

.company-layout {
  align-items: stretch;
  grid-template-columns: minmax(360px, 0.86fr) minmax(0, 1fr);
}
.company-intro,
.company-table-wrap {
  display: flex;
  flex-direction: column;
}
.company-summary-card {
  flex: 1;
}
.company-table-wrap {
  height: 100%;
}
.company-table {
  flex: 1;
}
.company-row {
  grid-template-columns: 220px minmax(0, 1fr);
}
.company-row dt {
  white-space: nowrap;
}
.company-row dd {
  white-space: normal;
  word-break: break-word;
}

.office-number-list {
  display: grid;
  grid-template-columns: max-content 1fr;
  column-gap: 18px;
  row-gap: 6px;
}
.office-number-list li {
  display: contents;
}
.office-number-list strong,
.office-number-list span {
  color: var(--kc-text-soft);
  font-size: 1rem;
  line-height: 1.8;
}
.office-number-list strong {
  font-weight: 700;
}

@media (max-width: 1200px) {
  .section-title--wide,
  .section-text--single-pc,
  .availability-summary-note p,
  .flow-figure figcaption,
  .hero-points li,
  .company-row:nth-child(4) dd {
    white-space: normal;
  }
  .hero-points {
    grid-template-columns: repeat(2, max-content);
  }
  .flow-side {
    position: static;
  }
  .company-row:nth-child(1) dd,
  .company-row:nth-child(3) dd {
    white-space: normal;
  }
}

@media (max-width: 900px) {
  .hero-points,
  .top-about-points--three,
  .reason-grid {
    grid-template-columns: 1fr;
  }
  .flow-layout,
  .top-contact-cta-box,
  .company-layout,
  .recruit-panel {
    grid-template-columns: 1fr;
  }
  .top-news-bottom {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .hero {
    background:
      linear-gradient(
        180deg,
        rgba(246, 250, 248, 0.96) 0%,
        rgba(246, 250, 248, 0.94) 34%,
        rgba(246, 250, 248, 0.72) 52%,
        rgba(246, 250, 248, 0.18) 100%
      ),
      url("../../img/top/hero.jpg") 68% center / cover no-repeat;
  }
  .hero-points {
    grid-template-columns: 1fr;
  }
}

/* ===== 2026-03-18 final complete fix ===== */
.hero-title {
  max-width: 7.2em;
  line-height: 1.06;
}

.hero-title strong {
  display: block;
  color: #3a7f7a;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.hero-text {
  max-width: 29em;
  text-wrap: pretty;
  word-break: keep-all;
}

@media screen and (max-width: 767px) {
  .hero-title {
    max-width: 7.4em;
  }

  .hero-text {
    max-width: none;
    text-wrap: pretty;
  }
}

/* ===== 2026-03-19 hero right-shift + lead styling ===== */
.hero-inner {
  display: flex;
  align-items: center;
}

.hero-content {
  max-width: 520px;
  margin-left: clamp(240px, 28vw, 750px);
  padding: 24px 0 24px 0;
}

.hero-title {
  max-width: 7.1em;
}

.hero-text {
  max-width: 32em;
  margin-top: 30px;
  color: #58666d;
  font-size: 1.02rem;
  line-height: 2.05;
  letter-spacing: 0.04em;
}

.hero-buttons {
  margin-top: 32px;
}

.hero-points {
  margin-top: 24px;
}

@media (max-width: 1200px) {
  .hero-content {
    margin-left: clamp(120px, 10vw, 220px);
    max-width: 480px;
  }
}

@media (max-width: 900px) {
  .hero-content {
    margin-left: 56px;
    max-width: 520px;
  }

  .hero-text {
    font-size: 0.98rem;
    line-height: 1.95;
  }
}

@media (max-width: 640px) {
  .hero-inner {
    display: block;
  }

  .hero-content {
    margin-left: 0;
    max-width: none;
  }

  .hero-text br {
    display: none;
  }
}

/* ===== 2026-03-19 hero title line-break fix ===== */
.hero-content {
  max-width: 520px;
  margin-left: clamp(240px, 28vw, 750px);
  padding: 24px 0 24px 0;
}

.hero-title {
  display: flex;
  flex-direction: column;
  gap: 0.18em;
  margin: 0;
  max-width: none;
  line-height: 1.05;
  letter-spacing: 0.01em;
}

.hero-title-line--accent {
  margin-top: 0.05em;
}

.hero-title-line {
  display: block;
  white-space: nowrap;
}

.hero-title-line--accent {
  color: var(--kc-main);
  font-weight: 800;
}

.hero-title strong {
  display: inline;
  color: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
}

@media (max-width: 1200px) {
  .hero-content {
    margin-left: clamp(120px, 10vw, 220px);
    max-width: 480px;
  }
}

@media (max-width: 900px) {
  .hero-content {
    margin-left: 56px;
    max-width: 520px;
  }

  .hero-title {
    gap: 0.08em;
    line-height: 1.04;
  }
}

@media (max-width: 640px) {
  .hero-content {
    margin-left: 0;
    max-width: none;
  }

  .hero-title-line {
    white-space: normal;
  }
}

/* ===== ABOUT修正（2026-03-19 最終整理版） ===== */
.top-about .section-title--wide {
  white-space: normal;
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
  line-height: 1.18;
}

.top-about-lead {
  text-align: center;
}

.top-about-lead .section-text,
.top-about-lead .section-text--narrow {
  max-width: 760px;
  margin: 24px auto 0;
  text-align: center;
  line-height: 1.9;
}

@media (max-width: 768px) {
  .top-about .section-title--wide {
    max-width: 100%;
  }

  .top-about-lead .section-text,
  .top-about-lead .section-text--narrow {
    max-width: 100%;
  }
}

.company-row--stacked dd {
  display: block;
}

.office-number-list {
  display: grid;
  grid-template-columns: max-content 1fr;
  column-gap: 18px;
  row-gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.office-number-list li {
  display: contents;
}

.office-number-list strong,
.office-number-list span {
  font-size: 1rem;
  line-height: 1.8;
}

.office-number-list strong {
  color: var(--kc-text);
  font-weight: 700;
  white-space: nowrap;
}

.office-number-list span {
  min-width: 0;
  color: var(--kc-text-soft);
  word-break: break-word;
  overflow-wrap: anywhere;
}

@media (max-width: 640px) {
  .office-number-list {
    grid-template-columns: 1fr;
  }

  .office-number-list li {
    display: block;
    margin-bottom: 8px;
  }

  .office-number-list strong,
  .office-number-list span {
    display: block;
  }
}

/* CTA 強化 */
.cta-visual {
  margin-top: 28px;
  text-align: center;
}

.cta-visual img {
  width: min(280px, 100%);
  border-radius: 20px;
}

/* 電話をさらに強調 */
.top-contact-cta-tel {
  transform: scale(1.02);
}

.top-contact-cta-tel strong {
  font-size: 2.6rem;
}

/* CTA内テキスト改善 */
.top-contact-cta-text {
  line-height: 2;
}

/* モバイル */
@media (max-width: 640px) {
  .cta-visual img {
    width: 80%;
  }

  .top-contact-cta-tel strong {
    font-size: 2.2rem;
  }
}

/* =========================================
Top Availability（曜日表示）
========================================= */

.top-availability-card {
  margin-top: 32px;
  padding: 28px;
  border-radius: 28px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fcfb 100%);
  border: 1px solid rgba(44, 122, 123, 0.1);
  box-shadow: 0 18px 40px rgba(44, 122, 123, 0.08);
}

.top-availability-list {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 12px;
  margin-top: 20px;
}

.top-availability-list li {
  display: grid;
  justify-items: center;
  gap: 6px;
  padding: 14px 6px;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid #e2efee;
  transition: 0.2s;
}

.top-availability-list li:hover {
  transform: translateY(-2px);
}

.top-availability-day {
  font-weight: 700;
  font-size: 0.9rem;
  color: #405251;
}

.top-availability-status {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.top-availability-status.is-open {
  background: #edf9f3;
  color: #20795b;
}

.top-availability-status.is-caution {
  background: #fff8e8;
  color: #b7811d;
}

.top-availability-status.is-closed {
  background: #fdeeee;
  color: #b64848;
}

/* スマホ */
@media screen and (max-width: 767px) {
  .top-availability-list {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* =========================================
Top Availability Auto
========================================= */
.top-availability-card {
  margin-top: 32px;
  padding: 28px;
  border-radius: 28px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fcfb 100%);
  border: 1px solid rgba(44, 122, 123, 0.1);
  box-shadow: 0 18px 40px rgba(44, 122, 123, 0.08);
}

.top-availability-card .availability-updated {
  margin-bottom: 18px;
  text-align: center;
  color: #2c7a7b;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.05em;
}

.top-availability-list {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 12px;
  margin-top: 20px;
}

.top-availability-list li {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 8px;
  min-height: 112px;
  padding: 14px 8px;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid var(--kc-line);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.top-availability-list li:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(45, 127, 129, 0.08);
}

.top-availability-day {
  font-weight: 800;
  color: var(--kc-text);
  font-size: 0.95rem;
  line-height: 1.4;
}

.top-availability-status {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
  line-height: 1;
}

.top-availability-status.is-open {
  background: #edf9f3;
  color: #20795b;
}

.top-availability-status.is-caution {
  background: #fff8e8;
  color: #b7811d;
}

.top-availability-status.is-closed {
  background: #fdeeee;
  color: #b64848;
  font-weight: 900;
}

.top-availability-note {
  font-size: 0.74rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--kc-text-soft);
  text-align: center;
  letter-spacing: 0.02em;
}

@media (max-width: 767px) {
  .top-availability-list {
    grid-template-columns: repeat(4, 1fr);
  }

  .top-availability-list li {
    min-height: 96px;
    padding: 12px 6px;
  }

  .top-availability-day {
    font-size: 0.88rem;
  }

  .top-availability-status {
    width: 36px;
    height: 36px;
    font-size: 0.95rem;
  }

  .top-availability-note {
    font-size: 0.68rem;
  }
}

/* ========================================
   TOP：専門職向け導線
======================================== */
.top-connect-professional {
  padding-top: 80px;
}

.top-connect-professional .section-heading {
  margin-bottom: 32px;
}

.top-connect-professional .section-title {
  font-size: clamp(1.8rem, 2.8vw, 2.2rem);
}

.top-connect-professional-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: 36px 32px;
  border-radius: 28px;
  background: linear-gradient(135deg, #f4fbfa 0%, #edf8f7 100%);
  border: 1px solid rgba(44, 122, 123, 0.08);
  box-shadow: 0 12px 30px rgba(44, 122, 123, 0.08);
  min-height: 260px;
}

.top-connect-professional-body {
  min-width: 0;
}

.top-connect-professional-lead {
  margin-bottom: 18px;
  color: #2f2f2f;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.9;
}

.top-connect-professional-list {
  display: grid;
  gap: 10px;
}

.top-connect-professional-list li {
  position: relative;
  padding-left: 22px;
  line-height: 1.8;
  color: #444444;
}

.top-connect-professional-list li::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2c7a7b 0%, #8bd1cc 100%);
  transform: translateY(-50%);
}

.top-connect-professional-actions {
  display: flex;
  align-items: center;
  justify-content: center;
}

.top-connect-professional-actions .btn-primary {
  min-width: 180px;
  justify-content: center;
}

@media screen and (max-width: 767px) {
  .top-connect-professional-card {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 26px 20px 22px;
    border-radius: 20px;
  }

  .top-connect-professional .section-heading {
    margin-bottom: 24px;
  }

  .top-connect-professional-lead {
    font-size: 1rem;
    line-height: 1.8;
  }

  .top-connect-professional-actions {
    width: 100%;
  }

  .top-connect-professional-actions .btn-primary {
    width: 100%;
  }
}

/* =========================================
Top - Service Guide
========================================= */

.top-service-guide {
  padding-top: 0;
}

.top-service-guide-box {
  position: relative;
  padding: 44px 40px;
  border-radius: 32px;
  background: linear-gradient(180deg, #f7fcfb 0%, #ffffff 100%);
  border: 1px solid rgba(44, 122, 123, 0.1);
  box-shadow: 0 18px 42px rgba(44, 122, 123, 0.08);
  overflow: hidden;
}

.top-service-guide-box::before {
  content: "";
  position: absolute;
  top: -90px;
  right: -70px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(127, 200, 194, 0.16) 0%,
    rgba(127, 200, 194, 0) 72%
  );
  pointer-events: none;
}

.top-service-guide-head {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.top-service-guide-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  margin-bottom: 16px;
  padding: 6px 14px;
  border-radius: 999px;
  background: #eef8f7;
  color: #2c7a7b;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.top-service-guide-title {
  margin: 0;
  font-size: clamp(1.7rem, 2.8vw, 2.2rem);
  line-height: 1.5;
  color: #2b3b3b;
}

.top-service-guide-text {
  margin-top: 16px;
  color: #556868;
  font-size: 1rem;
  line-height: 1.95;
}

.top-service-guide-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 32px;
}

.top-service-guide-card {
  height: 100%;
  padding: 28px 24px 24px;
  border-radius: 24px;
  background: #ffffff;
  border: 1px solid #dfeeed;
  box-shadow: 0 12px 28px rgba(44, 122, 123, 0.06);
}

.top-service-guide-card-label {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  margin-bottom: 14px;
  padding: 5px 11px;
  border-radius: 999px;
  background: #f2faf9;
  color: #2c7a7b;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.top-service-guide-card h3 {
  margin: 0 0 12px;
  font-size: 1.2rem;
  line-height: 1.6;
  color: #2c7a7b;
}

.top-service-guide-card p {
  margin: 0;
  color: #556868;
  font-size: 0.98rem;
  line-height: 1.9;
}

.top-service-guide-actions {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 30px;
}

.top-service-guide-contact-link {
  font-size: 1.02rem;
}

@media screen and (max-width: 1024px) {
  .top-service-guide-grid {
    grid-template-columns: 1fr;
  }

  .top-service-guide-box {
    padding: 38px 30px;
  }
}

@media screen and (max-width: 767px) {
  .top-service-guide {
    padding-top: 0;
  }

  .top-service-guide-box {
    padding: 28px 20px;
    border-radius: 24px;
  }

  .top-service-guide-label {
    margin-bottom: 14px;
  }

  .top-service-guide-title {
    font-size: 1.45rem;
  }

  .top-service-guide-text {
    font-size: 0.96rem;
    line-height: 1.9;
  }

  .top-service-guide-grid {
    gap: 16px;
    margin-top: 24px;
  }

  .top-service-guide-card {
    padding: 24px 18px 20px;
    border-radius: 20px;
  }

  .top-service-guide-card h3 {
    font-size: 1.08rem;
  }

  .top-service-guide-card p {
    font-size: 0.94rem;
  }

  .top-service-guide-actions {
    margin-top: 24px;
  }

  .top-service-guide-contact-link {
    justify-content: center;
  }
}

@media screen and (max-width: 599px) {
  .top-service-guide-box {
    padding: 24px 16px;
  }

  .top-service-guide-title {
    font-size: 1.32rem;
  }
}
/* =========================================
Top - Guide CTA Button 強化
========================================= */

.top-service-guide-btn {
  min-width: 260px;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
}

/* 矢印追加（自然な誘導） */
.top-service-guide-btn::after {
  content: "→";
  margin-left: 10px;
  font-size: 1rem;
  transition: transform 0.2s ease;
}

/* ホバーで少し動かす */
.top-service-guide-btn:hover::after {
  transform: translateX(4px);
}

/* スマホ最適化 */
@media screen and (max-width: 767px) {
  .top-service-guide-btn {
    width: 100%;
    justify-content: center;
  }
}
/* =========================================
Service Card Link化
========================================= */

.service-card {
  text-decoration: none;
  color: inherit;
  display: block;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(44, 122, 123, 0.12);
}
/* =========================================
Top Service Card Hover
========================================= */

.top-service .service-card {
  position: relative;
  text-decoration: none;
  color: inherit;
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease,
    background-color 0.22s ease;
}

.top-service .service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(44, 122, 123, 0.2);
  box-shadow: 0 18px 36px rgba(44, 122, 123, 0.12);
  background: #ffffff;
}

.top-service .service-card:focus-visible {
  outline: 3px solid rgba(44, 122, 123, 0.22);
  outline-offset: 4px;
  transform: translateY(-4px);
  border-color: rgba(44, 122, 123, 0.22);
  box-shadow: 0 16px 32px rgba(44, 122, 123, 0.12);
}

.top-service .service-card:hover .service-title,
.top-service .service-card:focus-visible .service-title {
  color: var(--kc-main-dark);
}

.top-service .service-card:hover .service-icon img,
.top-service .service-card:focus-visible .service-icon img {
  transform: scale(1.04);
}

.top-service .service-icon img {
  transition: transform 0.22s ease;
}

@media (max-width: 767px) {
  .top-service .service-card:hover {
    transform: none;
  }
}

/* =========================================
Hero 改善（スマホ最適化）
========================================= */

/* チップ全体の余白調整 */
.hero-points {
  margin-top: 20px;
}

/* PC・タブレットは左のアイコン分を確保 */
.hero-points li {
  padding: 0 18px 0 44px;
}

/* 1つ目（対応エリア）だけ少し強調 */
.hero-points li:first-child {
  font-weight: 700;
  color: var(--kc-main);
}

/* スマホだけ少し余白強める */
@media (max-width: 767px) {
  .hero-points {
    margin-top: 22px;
  }

  .hero-points li {
    padding: 13px 16px 13px 44px;
  }
}

/* =========================================
CTA 縦ストーリー型（新）
========================================= */

.cta-vertical {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.cta-title {
  margin-top: 12px;
  font-size: clamp(1.9rem, 2.6vw, 2.6rem);
  line-height: 1.4;
}

.cta-text {
  margin-top: 16px;
  font-size: 1rem;
  line-height: 1.9;
  color: var(--kc-text-soft);
}

.cta-points {
  margin-top: 26px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.cta-points li {
  position: relative;
  padding-left: 26px;
  text-align: left;
  display: inline-block;
}

.cta-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.75em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #7dc7c6;
  transform: translateY(-50%);
}

/* 電話 */
.cta-tel {
  display: block;
  margin-top: 28px;
  padding: 24px 28px;
  border-radius: 26px;
  background: linear-gradient(135deg, var(--kc-main), #57aaa4);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 18px 34px rgba(45, 127, 129, 0.2);
}

.cta-tel-label {
  display: inline-block;
  font-size: 1.3rem; /* ←ここ重要 */
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(6px);
}

.cta-tel strong {
  display: block;
  margin-top: 8px;
  font-size: 2.4rem;
}

.cta-tel-sub {
  display: block;
  margin-top: 8px;
  font-size: 0.95rem;
}

/* ボタン */
.cta-buttons {
  margin-top: 18px;
  display: grid;
  gap: 10px;
}

.cta-buttons a {
  width: 100%;
  justify-content: center;
}

/* 補足 */
.cta-note {
  margin-top: 22px;
  font-size: 0.92rem;
  opacity: 0.85;
  color: #666;
  line-height: 1.8;
}

/* スマホ */
@media (max-width: 767px) {
  .cta-tel strong {
    font-size: 2rem;
  }
}

/* =========================================
Top Connect - Refined (2026-03-23)
========================================= */

.top-connect-head {
  margin-bottom: 48px;
}

.top-connect-local-note {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 24px;
  padding: 14px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(44, 122, 123, 0.08);
}

.top-connect-local-note-image img {
  width: 64px;
  height: 64px;
  object-fit: contain;
}

.top-connect-local-note-text {
  margin: 0;
  color: var(--kc-text-soft);
  font-size: 0.96rem;
  line-height: 1.7;
}

.top-connect-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  align-items: stretch;
}

.top-connect-main-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 34px 30px 30px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--kc-line);
  box-shadow: var(--kc-shadow);
}

.top-connect-card-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  width: 100%;
  max-width: 280px;
  margin: 0 auto 24px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--kc-main-soft);
  color: var(--kc-main);
  font-size: 1rem;
  font-weight: 800;
}

.top-connect-main-card h3 {
  margin: 0;
  color: var(--kc-text);
  font-size: 2rem;
  line-height: 1.45;
  text-align: center;
}

.top-connect-card-text {
  margin: 18px 0 0;
  color: var(--kc-text-soft);
  font-size: 1.04rem;
  line-height: 1.95;
  text-align: center;
}

.top-connect-card-actions {
  margin-top: 32px;
  padding-top: 24px;
  display: flex;
  justify-content: center;
}

.top-connect-card-actions .btn-primary-soft {
  min-width: 220px;
}

.top-connect-line-figure {
  margin: 24px 0 0;
  text-align: center;
}

.top-connect-line-qr {
  display: block;
  width: min(260px, 100%);
  margin: 0 auto;
  padding: 12px;
  border-radius: 24px;
  background: #ffffff;
  border: 1px solid var(--kc-line);
  box-shadow: 0 14px 30px rgba(44, 122, 123, 0.06);
}

.top-connect-line-figure figcaption {
  margin-top: 14px;
  color: var(--kc-text-soft);
  font-size: 0.95rem;
  line-height: 1.7;
  text-align: center;
}

@media (max-width: 900px) {
  .top-connect-grid {
    grid-template-columns: 1fr;
  }

  .top-connect-local-note {
    display: flex;
    border-radius: 20px;
    padding: 14px 16px;
  }
}

@media (max-width: 767px) {
  .top-connect-head {
    margin-bottom: 28px;
  }

  .top-connect-local-note {
    gap: 12px;
    margin-top: 20px;
    align-items: center;
  }

  .top-connect-local-note-image img {
    width: 52px;
    height: 52px;
  }

  .top-connect-local-note-text {
    font-size: 0.9rem;
    text-align: left;
  }

  .top-connect-grid {
    gap: 18px;
  }

  .top-connect-main-card {
    padding: 26px 20px 22px;
    border-radius: 22px;
  }

  .top-connect-card-label {
    min-height: 38px;
    margin-bottom: 18px;
    font-size: 0.92rem;
  }

  .top-connect-main-card h3 {
    font-size: 1.5rem;
  }

  .top-connect-card-text {
    font-size: 0.96rem;
    line-height: 1.85;
  }

  .top-connect-line-figure {
    margin-top: 20px;
  }

  .top-connect-line-qr {
    width: min(220px, 100%);
    border-radius: 20px;
  }

  .top-connect-line-figure figcaption {
    font-size: 0.88rem;
  }
}

@media (max-width: 768px) {
  .hero {
    min-height: auto;
    padding: 56px 0 44px;
  }

  .hero::before {
    background: linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.12) 0%,
      rgba(255, 255, 255, 0.18) 22%,
      rgba(255, 255, 255, 0.58) 58%,
      rgba(255, 255, 255, 0.9) 82%,
      rgba(255, 255, 255, 0.96) 100%
    );
  }

  .hero-inner {
    display: flex;
    align-items: flex-end;
    min-height: 620px;
  }

  .hero-content {
    width: 100%;
    max-width: 100%;
    padding: 0 0 8px;
  }

  .hero-sub {
    margin-bottom: 18px;
    padding: 8px 12px;
    font-size: 0.82rem;
    letter-spacing: 0.02em;
  }

  .hero-title {
    font-size: clamp(2.2rem, 9vw, 3rem);
    line-height: 1.18;
  }

  .hero-title-line {
    display: block;
  }

  .hero-text {
    margin-top: 18px;
    max-width: none;
    font-size: 0.98rem;
    line-height: 1.85;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 12px;
    margin-top: 24px;
  }

  .hero-buttons .btn-primary,
  .hero-buttons .btn-secondary {
    width: 100%;
    min-height: 54px;
    padding: 0 20px;
    font-size: 0.98rem;
  }

  .hero-points {
    display: none;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 48px 0 38px;
  }

  .hero-inner {
    min-height: 560px;
  }

  .hero-sub {
    font-size: 0.78rem;
  }

  .hero-title {
    font-size: clamp(2rem, 9.5vw, 2.5rem);
  }

  .hero-text {
    font-size: 0.94rem;
  }
}

/* ===== 2026-03-25 mobile hero natural overlay adjustment ===== */
@media (max-width: 768px) {
  .hero::before {
    background: linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.06) 0%,
      rgba(255, 255, 255, 0.14) 24%,
      rgba(255, 255, 255, 0.32) 48%,
      rgba(255, 255, 255, 0.58) 72%,
      rgba(255, 255, 255, 0.82) 100%
    );
  }

  .hero-content::before {
    content: none !important;
  }

  .hero-title,
  .hero-title-line,
  .hero-text {
    background: none !important;
    box-shadow: none !important;
  }

  .hero-title,
  .hero-text {
    text-shadow: 0 2px 10px rgba(255, 255, 255, 0.18);
  }

  .hero-sub {
    background: rgba(255, 255, 255, 0.76);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
  }
}

@media (max-width: 480px) {
  .hero::before {
    background: linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.05) 0%,
      rgba(255, 255, 255, 0.12) 24%,
      rgba(255, 255, 255, 0.3) 48%,
      rgba(255, 255, 255, 0.56) 72%,
      rgba(255, 255, 255, 0.8) 100%
    );
  }

  .hero-sub {
    background: rgba(255, 255, 255, 0.72);
  }
}

/* ===== 2026-03-25 TOP mobile finish overrides ===== */
@media (max-width: 767px) {
  /* Guide */
  .top-service-guide-card {
    padding: 22px 18px 18px;
  }

  .top-service-guide-card-label {
    min-height: 24px;
    margin-bottom: 12px;
    padding: 4px 10px;
    font-size: 0.68rem;
    letter-spacing: 0.06em;
  }

  .top-service-guide-card h3 {
    font-size: 1rem;
    line-height: 1.55;
  }

  .top-service-guide-card p {
    font-size: 0.93rem;
    line-height: 1.85;
  }

  /* About */
  .top-about-lead {
    margin-bottom: 28px;
  }

  .about-point {
    padding: 22px 18px 20px;
  }

  .about-point-number {
    width: 72px;
    height: 64px;
    border-radius: 20px;
    font-size: 0.95rem;
  }

  .about-point h3 {
    margin-top: 18px;
    font-size: 1.22rem;
    line-height: 1.45;
  }

  .about-point p {
    margin-top: 12px;
    font-size: 0.98rem;
    line-height: 1.85;
  }

  /* Flow */
  .flow-step {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 24px 18px 20px;
  }

  .flow-step-badge {
    width: 88px;
    min-height: 54px;
    border-radius: 18px;
    font-size: 0.88rem;
    letter-spacing: 0.03em;
  }

  .flow-step-body h3 {
    font-size: 1.18rem;
    line-height: 1.45;
  }

  .flow-step-body p {
    font-size: 0.97rem;
    line-height: 1.85;
  }

  /* Availability */
  .availability-summary-grid {
    gap: 14px;
  }

  .availability-summary-card {
    min-height: auto;
    padding: 20px 14px 16px;
    border-radius: 22px;
  }

  .availability-summary-card h3 {
    margin-top: 16px;
    font-size: 1.12rem;
  }

  .availability-summary-text {
    margin-top: 12px;
    font-size: 0.95rem;
    line-height: 1.8;
  }

  .availability-summary-note {
    margin-top: 18px;
  }

  .availability-summary-note p {
    font-size: 0.95rem;
    line-height: 1.85;
    text-align: left;
  }

  .top-availability-actions {
    margin-top: 22px;
    gap: 12px;
    flex-direction: column;
    align-items: stretch;
  }

  .top-availability-actions .btn-outline,
  .top-availability-actions .btn-text {
    width: 100%;
    justify-content: center;
  }

  /* Contact CTA */
  .top-contact-cta-box {
    gap: 22px;
    padding: 28px 18px;
    border-radius: 24px;
  }

  .top-contact-cta-title {
    font-size: clamp(1.95rem, 9vw, 2.4rem);
    line-height: 1.22;
    letter-spacing: 0;
  }

  .top-contact-cta-text {
    font-size: 1rem;
    line-height: 1.9;
  }

  .top-contact-cta-points {
    margin-top: 18px;
    gap: 12px;
  }

  .top-contact-cta-points li {
    font-size: 0.98rem;
    line-height: 1.8;
  }

  .top-contact-cta-tel {
    padding: 22px 20px;
    border-radius: 24px;
  }

  .top-contact-cta-tel strong {
    font-size: clamp(2.2rem, 10vw, 2.9rem);
  }

  .top-contact-cta-actions {
    gap: 14px;
  }

  /* Recruit */
  .recruit-panel {
    gap: 24px;
    padding: 26px 18px 22px;
    border-radius: 28px;
  }

  .recruit-title {
    font-size: clamp(2rem, 10vw, 2.6rem);
    line-height: 1.24;
  }

  .recruit-text {
    font-size: 1rem;
    line-height: 1.9;
  }

  .recruit-points {
    gap: 12px;
  }

  .recruit-points li,
  .recruit-side-list li {
    padding: 14px 16px 14px 54px;
    border-radius: 18px;
    font-size: 0.98rem;
    line-height: 1.75;
  }

  .recruit-actions {
    margin-top: 20px;
    gap: 12px;
  }

  .recruit-side-card {
    padding: 22px 16px;
    border-radius: 22px;
  }

  .recruit-side-card h3 {
    font-size: 1.55rem;
    line-height: 1.35;
  }

  .recruit-side-list {
    margin-top: 18px;
  }

  /* Office info table */
  .company-table-wrap {
    padding: 20px 14px;
    border-radius: 22px;
  }

  .company-table {
    margin-top: 18px;
  }

  .company-row {
    display: block;
    border-top: 1px solid var(--kc-line);
  }

  .company-row:last-child {
    border-bottom: 1px solid var(--kc-line);
  }

  .company-row dt,
  .company-row dd {
    display: block;
    min-height: auto;
    width: 100%;
  }

  .company-row dt {
    padding: 18px 16px 10px 48px;
    background: #f4faf7;
    white-space: normal;
  }

  .company-row dd {
    padding: 0 16px 18px;
    background: #ffffff;
    white-space: normal;
    word-break: normal;
    overflow-wrap: anywhere;
    line-height: 1.9;
  }

  .company-row dt::before {
    left: 16px;
    width: 10px;
    height: 10px;
    box-shadow: 0 0 0 7px rgba(125, 199, 198, 0.18);
  }

  .company-row--stacked dd {
    display: block;
  }

  .office-number-list {
    grid-template-columns: 1fr;
    row-gap: 10px;
  }

  .office-number-list li {
    display: block;
  }

  .office-number-list strong,
  .office-number-list span {
    display: block;
    font-size: 0.96rem;
    line-height: 1.85;
    white-space: normal;
  }

  .office-number-list strong {
    margin-bottom: 2px;
  }

  .company-links-list li {
    font-size: 0.98rem;
    line-height: 1.85;
  }

  /* Page top */
  .pagetop,
  .page-top,
  .back-to-top {
    right: 14px;
    bottom: 14px;
  }
}

@media (max-width: 768px) {
  .recruit-panel {
    padding: 24px 18px 22px;
  }

  .recruit-side-card {
    padding: 22px 16px 18px;
    border-radius: 24px;
  }

  .recruit-side-label {
    min-height: 30px;
    padding: 6px 16px;
    font-size: 0.92rem;
    letter-spacing: 0.1em;
  }

  .recruit-side-card h3 {
    margin-top: 18px;
    font-size: 2rem;
    line-height: 1.35;
  }

  .recruit-side-list {
    gap: 12px;
    margin-top: 18px;
  }

  .recruit-side-list li {
    padding: 14px 16px 14px 48px;
    border-radius: 18px;
    font-size: 1.05rem;
    line-height: 1.65;
  }

  .recruit-side-list li::before {
    left: 16px;
    width: 10px;
    height: 10px;
    box-shadow: 0 0 0 7px rgba(125, 199, 198, 0.14);
  }
}

@media (max-width: 768px) {
  .top-about .section-title {
    font-size: 22px;
    line-height: 1.5;
    margin-bottom: 14px;
  }
}

@media (max-width: 820px) {
  .top-about .section-title {
    font-size: 22px !important;
    line-height: 1.5 !important;
  }
}

@media (max-width: 768px) {
  .top-service-guide-btn {
    white-space: nowrap;
  }
}

/* ===========================
   TOP NEWS - NEWバッジ（CGI対応）
=========================== */
.top-news-meta .news-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0 14px;
  border-radius: 999px;
  background: #ff7f7f;
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.06em;
}

@media (max-width: 640px) {
  .top-news-meta .news-badge {
    min-height: 28px;
    padding: 0 12px;
    font-size: 0.75rem;
  }
}

/* ===========================
   TOP NEWS - CATEGORY COLOR
=========================== */

.top-news-category,
.news-category {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1;
  border: 1px solid transparent;
}

/* お知らせ */
.category-info,
.news-category-info {
  background: #e8f3f1;
  color: #2f6f6a;
  border-color: #cfe3e0;
}

/* 空き状況 */
.category-availability,
.news-category-availability {
  background: #eaf6ec;
  color: #2f7d4f;
  border-color: #cfe8d6;
}

/* 採用情報 */
.category-recruit,
.news-category-recruit {
  background: #f7efe6;
  color: #8a5a2b;
  border-color: #ead7c2;
}

/* 更新情報 */
.category-update,
.news-category-update {
  background: #eef2f7;
  color: #4a5d73;
  border-color: #d7e0ea;
}

/* ケアマネ様へ */
.category-caremanager,
.news-category-caremanager {
  background: #eef6fb;
  color: #2f5e7d;
  border-color: #d7e6f3;
}

/* ===========================
   TOP NEWS - BADGE
=========================== */

.top-news-meta .news-badge,
.news-meta-wrap .news-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.06em;
  margin-left: 0;
}

/* NEW */
.top-news-meta .news-badge,
.news-meta-wrap .news-badge {
  background: #f36b6b;
  color: #ffffff;
}

/* 重要 */
.top-news-meta .news-badge.is-important,
.news-meta-wrap .news-badge.is-important {
  background: #d64545;
  color: #ffffff;
}

/* 更新 */
.top-news-meta .news-badge.is-update,
.news-meta-wrap .news-badge.is-update {
  background: #6c8fb5;
  color: #ffffff;
}

@media (max-width: 640px) {
  .top-news-meta .news-badge,
  .news-meta-wrap .news-badge {
    min-height: 26px;
    padding: 0 10px;
    font-size: 0.68rem;
  }
}
