:root {
  --color-base: #fffdfb;
  --color-white: #ffffff;
  --color-text: #3f3532;
  --color-muted: #756762;
  --color-red: #9f2636;
  --color-red-dark: #7d1c29;
  --color-red-soft: #f8e9e7;
  --color-pink: #fff5f2;
  --color-border: #eaded8;
  --shadow: 0 18px 45px rgba(88, 45, 38, 0.12);
  --radius: 8px;
  --radius-large: 28px;
  --header-height: 82px;
  font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  margin: 0;
  color: var(--color-text);
  background: var(--color-base);
  line-height: 1.8;
}

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

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.narrow {
  width: min(880px, calc(100% - 40px));
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 253, 251, 0.94);
  border-bottom: 1px solid rgba(234, 222, 216, 0.8);
  backdrop-filter: blur(12px);
}

.header-inner {
  min-height: var(--header-height);
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 22px;
}

.site-logo {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0 10px;
  align-items: center;
  color: var(--color-red-dark);
  line-height: 1.35;
  white-space: nowrap;
}

.site-logo img {
  grid-row: 1 / 3;
  width: 46px;
  height: 46px;
  object-fit: contain;
}

.site-logo span {
  font-size: 12px;
  letter-spacing: 0;
}

.site-logo strong {
  font-size: 24px;
  font-weight: 700;
}

.global-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-left: auto;
  font-size: 14px;
  color: var(--color-muted);
}

.global-nav a {
  transition: color 0.25s ease;
}

.global-nav a:hover,
.global-nav a:focus-visible {
  color: var(--color-red);
}

.header-tel {
  color: var(--color-red);
  font-weight: 700;
  white-space: nowrap;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  margin-left: auto;
  padding: 10px;
}

.menu-toggle span:not(.sr-only) {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px auto;
  background: var(--color-red-dark);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.menu-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(42deg);
}

.menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-42deg);
}

.hero {
  position: relative;
  min-height: calc(100svh - var(--header-height));
  display: grid;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(255, 253, 251, 0.94), rgba(255, 253, 251, 0.68), rgba(255, 253, 251, 0.42));
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-position: center;
  background-size: cover;
  transform: scale(1);
  animation: heroZoom 18s ease-in-out infinite alternate;
}

.hero-home .hero-bg {
  background-image: url("../images/hero-sky-bubbles.png");
}

.hero-recruit .hero-bg {
  background-image: url("../images/care-staff-and-user.jpg");
}

.hero-contact .hero-bg {
  background-image: url("../images/hero-contact.svg");
}

.hero-content {
  padding: 96px 0 120px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--color-red);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 17px;
  font-weight: 700;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0 0 22px;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.18;
  color: var(--color-red-dark);
}

h2 {
  margin: 0 0 22px;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.3;
  color: var(--color-red-dark);
}

h3 {
  margin: 0 0 16px;
  font-size: 22px;
  line-height: 1.55;
}

.hero-content p:not(.eyebrow) {
  max-width: 620px;
  margin: 0 0 32px;
  font-size: clamp(17px, 2vw, 21px);
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 28px;
  border: 1px solid var(--color-red);
  border-radius: 999px;
  background: var(--color-red);
  color: var(--color-white);
  font-weight: 700;
  line-height: 1.3;
  box-shadow: 0 10px 20px rgba(159, 38, 54, 0.18);
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-3px);
  background: var(--color-red-dark);
  border-color: var(--color-red-dark);
}

.btn-outline {
  background: var(--color-white);
  color: var(--color-red);
}

.btn-light {
  background: var(--color-white);
  border-color: var(--color-white);
  color: var(--color-red);
}

.btn-outline-light {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.78);
  color: var(--color-white);
}

.section {
  padding: 104px 0;
}

.section-soft {
  background: var(--color-pink);
}

.section-heading {
  text-align: center;
  margin-bottom: 48px;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.82fr);
  align-items: center;
  gap: clamp(34px, 6vw, 72px);
}

.split.reverse {
  grid-template-columns: minmax(320px, 0.82fr) minmax(0, 1fr);
}

.split.reverse .section-text {
  order: 2;
}

.split.reverse .image-frame {
  order: 1;
}

.section-text p {
  color: var(--color-muted);
}

.lead {
  font-size: 20px;
  color: var(--color-text) !important;
}

.image-frame {
  overflow: hidden;
  border-radius: var(--radius-large);
  background: var(--color-white);
  box-shadow: var(--shadow);
}

.image-frame.round {
  border-radius: 999px;
  aspect-ratio: 1;
}

.image-frame img {
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: cover;
}

.image-frame.image-contain {
  background: var(--color-white);
}

.image-frame.image-contain img {
  object-fit: contain;
  padding: 20px;
}

.card-grid {
  display: grid;
  gap: 28px;
}

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

.feature-card,
.business-card,
.voice-card,
.job-card,
.phone-card,
.contact-form,
.link-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-large);
  box-shadow: 0 12px 34px rgba(88, 45, 38, 0.08);
}

.feature-card {
  padding: 34px 28px;
  text-align: center;
}

.feature-card p,
.voice-card p {
  color: var(--color-muted);
}

.circle-image {
  width: 168px;
  aspect-ratio: 1;
  margin: 0 auto 24px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--color-red-soft);
}

.circle-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.business-card {
  overflow: hidden;
}

.business-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.business-card h3 {
  min-height: 92px;
  margin: 0;
  padding: 22px;
  display: flex;
  align-items: center;
  font-size: 18px;
}

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

.voice-card {
  margin: 0;
  padding: 30px;
  display: block;
}

.voice-card img {
  width: 96px;
  aspect-ratio: 1;
  border-radius: 999px;
  object-fit: cover;
}

.accordion,
.job-list {
  display: grid;
  gap: 16px;
}

.accordion-item,
.job-card {
  overflow: hidden;
}

.accordion-trigger,
.job-trigger {
  width: 100%;
  border: 0;
  background: var(--color-white);
  color: var(--color-text);
  text-align: left;
  cursor: pointer;
  font: inherit;
}

.accordion-trigger {
  position: relative;
  padding: 22px 62px 22px 28px;
  font-weight: 700;
}

.accordion-trigger::before {
  content: "Q";
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  margin-right: 12px;
  border-radius: 50%;
  background: var(--color-red-soft);
  color: var(--color-red);
}

.accordion-trigger::after,
.job-trigger::after {
  content: "+";
  position: absolute;
  right: 26px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-red);
  font-size: 26px;
  line-height: 1;
}

.accordion-trigger[aria-expanded="true"]::after,
.job-trigger[aria-expanded="true"]::after {
  content: "-";
}

.accordion-panel,
.job-panel {
  max-height: 0;
  overflow: hidden;
  background: var(--color-white);
  transition: max-height 0.34s ease;
}

.accordion-panel p {
  margin: 0;
  padding: 0 28px 24px 72px;
  color: var(--color-muted);
}

.info-table {
  max-width: 880px;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-large);
  background: var(--color-white);
}

.info-table dl {
  display: grid;
  grid-template-columns: 180px 1fr;
  margin: 0;
  border-bottom: 1px solid var(--color-border);
}

.info-table dl:last-child {
  border-bottom: 0;
}

.info-table dt,
.info-table dd {
  margin: 0;
  padding: 20px 24px;
}

.info-table dt {
  color: var(--color-red);
  font-weight: 700;
  background: var(--color-pink);
}

.map-placeholder {
  min-height: 330px;
  border-radius: var(--radius-large);
  border: 1px solid var(--color-border);
  background: linear-gradient(135deg, #fff, #f9ebe7);
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--color-muted);
  box-shadow: var(--shadow);
}

.map-placeholder span {
  display: block;
  color: var(--color-red);
  font-size: 28px;
  font-weight: 700;
}
.map-placeholder iframe {
    width: 100%;
    height: 100%;
    border-bottom-left-radius: var(--radius-large);
    border-bottom-right-radius: var(--radius-large);
}
.news-item {
  display: flex;
  gap: 24px;
  align-items: center;
  padding: 24px 28px;
  border-radius: var(--radius-large);
  background: var(--color-white);
  border: 1px solid var(--color-border);
}

.news-item time {
  color: var(--color-red);
  font-weight: 700;
}

.news-item p {
  margin: 0;
}

.contact-section {
  background: linear-gradient(135deg, var(--color-red), var(--color-red-dark));
  color: var(--color-white);
}

.contact-box {
  text-align: center;
}

.contact-box .eyebrow,
.contact-box h2 {
  color: var(--color-white);
}

.contact-box p {
  margin: 0 auto 22px;
  max-width: 680px;
}

.tel-large {
  display: inline-block;
  margin: 2px 0 28px;
  color: var(--color-white);
  font-size: clamp(34px, 6vw, 56px);
  font-weight: 700;
  line-height: 1.1;
}

.contact-actions {
  justify-content: center;
}

.site-footer {
  padding: 42px 0;
  background: #4b3431;
  color: rgba(255, 255, 255, 0.88);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px 32px;
  align-items: center;
}

.footer-inner p {
  margin: 5px 0 0;
}

.footer-inner nav {
  display: flex;
  gap: 18px;
}

.footer-inner small {
  grid-column: 1 / -1;
  color: rgba(255, 255, 255, 0.68);
}

.job-list {
  max-width: 980px;
  margin: 0 auto;
}

.job-trigger {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 24px 66px 24px 28px;
}

.job-trigger strong,
.job-trigger em {
  display: block;
}

.job-trigger strong {
  color: var(--color-red-dark);
  font-size: 20px;
  line-height: 1.45;
}

.job-trigger em {
  width: fit-content;
  margin-top: 8px;
  padding: 2px 12px;
  border-radius: 999px;
  background: var(--color-red-soft);
  color: var(--color-red);
  font-size: 13px;
  font-style: normal;
  font-weight: 700;
}

.job-salary {
  color: var(--color-muted);
  font-weight: 700;
  white-space: nowrap;
}

.job-panel {
  padding-inline: 28px;
}

.job-panel > * {
  margin: 0;
}

.job-panel dl {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 18px;
  padding: 0 0 18px;
}

.job-panel dt {
  color: var(--color-red);
  font-weight: 700;
}

.job-panel dd {
  margin: 0;
  color: var(--color-muted);
}

.job-panel .btn {
  width: fit-content;
  margin: 0 0 28px 138px;
}

.phone-card {
  padding: 40px;
  text-align: center;
}

.phone-card span {
  display: block;
  color: var(--color-red);
  font-weight: 700;
}

.phone-card a {
  display: inline-block;
  margin: 10px 0 18px;
  color: var(--color-red-dark);
  font-size: clamp(34px, 5vw, 52px);
  font-weight: 700;
  line-height: 1.1;
}

.phone-card p {
  margin: 0;
  color: var(--color-muted);
}

.contact-form {
  padding: clamp(24px, 4vw, 42px);
}

.form-row {
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 20px;
  align-items: start;
  padding: 18px 0;
  border-bottom: 1px solid var(--color-border);
}

.form-row:first-child {
  padding-top: 0;
}

.form-row label {
  font-weight: 700;
  color: var(--color-red-dark);
}

.form-row label span {
  display: inline-block;
  margin-left: 8px;
  padding: 1px 9px;
  border-radius: 999px;
  background: var(--color-red-soft);
  color: var(--color-red);
  font-size: 12px;
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-base);
  color: var(--color-text);
  font: inherit;
  padding: 10px 14px;
}

.form-row textarea {
  resize: vertical;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: 3px solid rgba(159, 38, 54, 0.14);
  border-color: var(--color-red);
}

.privacy-check {
  display: flex;
  gap: 12px;
  align-items: center;
  margin: 22px 0;
  color: var(--color-muted);
}

.privacy-check input {
  width: 20px;
  height: 20px;
  accent-color: var(--color-red);
}

.form-submit {
  min-width: 220px;
}

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

.link-card {
  padding: clamp(28px, 4vw, 42px);
}

.link-card p:not(.eyebrow) {
  color: var(--color-muted);
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.zoom-in img {
  transform: scale(1.05);
  transition: transform 1.2s ease;
}

.zoom-in.is-visible img {
  transform: scale(1);
}

.stagger:nth-child(2) {
  transition-delay: 0.12s;
}

.stagger:nth-child(3) {
  transition-delay: 0.24s;
}

.stagger:nth-child(4) {
  transition-delay: 0.08s;
}

.stagger:nth-child(5) {
  transition-delay: 0.18s;
}

.stagger:nth-child(6) {
  transition-delay: 0.28s;
}

@keyframes heroZoom {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.08);
  }
}

@media (max-width: 980px) {
  .header-inner {
    min-height: 72px;
  }

  :root {
    --header-height: 72px;
  }

  .menu-toggle {
    display: block;
  }

  .global-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: grid;
    gap: 0;
    padding: 12px 20px 22px;
    background: rgba(255, 253, 251, 0.98);
    border-bottom: 1px solid var(--color-border);
    box-shadow: 0 18px 32px rgba(88, 45, 38, 0.08);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
  }

  .global-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .global-nav a {
    padding: 13px 0;
    border-bottom: 1px solid var(--color-border);
  }

  .header-tel {
    display: none;
  }

  .split,
  .split.reverse {
    grid-template-columns: 1fr;
  }

  .split.reverse .section-text,
  .split.reverse .image-frame {
    order: initial;
  }

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

  .voice-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .container,
  .narrow {
    width: min(100% - 28px, 1120px);
  }

  .site-logo strong {
    font-size: 21px;
  }

  .hero {
    min-height: 650px;
  }

  .hero::after {
    background: linear-gradient(180deg, rgba(255, 253, 251, 0.96), rgba(255, 253, 251, 0.72));
  }

  .section {
    padding: 74px 0;
  }

  .section-heading {
    margin-bottom: 34px;
  }

  .card-grid.three,
  .business-grid,
  .voice-grid {
    grid-template-columns: 1fr;
  }

  .voice-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .voice-card img {
    margin: 0 auto;
  }

  .info-table dl,
  .job-panel dl,
  .job-trigger {
    grid-template-columns: 1fr;
  }

  .info-table dt,
  .info-table dd {
    padding: 14px 18px;
  }

  .job-salary {
    white-space: normal;
  }

  .job-panel .btn {
    margin-left: 0;
  }

  .form-row,
  .link-cards {
    grid-template-columns: 1fr;
  }

  .accordion-trigger {
    padding-left: 20px;
  }

  .accordion-panel p {
    padding-left: 20px;
  }

  .news-item {
    display: grid;
    gap: 8px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-inner nav {
    flex-wrap: wrap;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .zoom-in img {
    transform: none;
  }
}
