/* Contact submission confirmation */
html.contact-success-open {
  overflow: hidden;
}

.contact-success {
  position: fixed;
  inset: 0px;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0px;
  padding: 80px 24px;
  border: 0px;
  background: transparent;
  color: #fff;
  text-align: center;
}

.contact-success[open] {
  display: grid;
  place-items: center;
}

.contact-success::backdrop {
  background: rgba(0, 0, 0, 0.75);
}

.contact-success-content {
  width: min(822px, 100%);
}

.contact-success h2 {
  margin: 0px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.8);
  color: inherit;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.5;
}

.contact-success p {
  margin: 34px 0px 64px;
  font-size: 22px;
  line-height: 1.5;
  letter-spacing: 0.04em;
}

.contact-success button {
  cursor: pointer;
  font-family: inherit;
}

.contact-success-close {
  position: fixed;
  top: 48px;
  right: 54px;
  width: 42px;
  height: 42px;
  padding: 0px;
  border: 0px;
  background: transparent;
}

.contact-success-close::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -8px;
  width: 58px;
  height: 1px;
  background: #fff;
  transform: rotate(45deg);
}

.contact-success-close::after {
  content: "";
  position: absolute;
  top: 50%;
  left: -8px;
  width: 58px;
  height: 1px;
  background: #fff;
  transform: rotate(-45deg);
}

.contact-success-top {
  position: relative;
  width: min(367px, 100%);
  min-height: 66px;
  padding: 16px 48px;
  border: 3px solid var(--pink);
  background: transparent;
  color: var(--pink);
  font-size: 18px;
  font-weight: 700;
}

.contact-success-top span {
  position: absolute;
  top: 50%;
  right: 24px;
  border-right: 10px solid transparent;
  border-bottom: 13px solid var(--pink);
  border-left: 10px solid transparent;
  transform: translateY(-50%);
}

.contact-success button:focus-visible {
  outline: #fff solid 2px;
  outline-offset: 6px;
}

body.toma-recruit-lp .contact-form.sent .wpcf7-response-output {
  display: none;
}

.toma-recruit-lp #wpadminbar,
.toma-recruit-lp #baguetteBox-overlay {
  display: none !important;
}

html:has(body.toma-recruit-lp) {
  margin-top: 0px !important;
}

body.toma-recruit-lp .wpcf7-form-control-wrap {
  display: contents;
}

body.toma-recruit-lp .purpose-fieldset .wpcf7-radio {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

body.toma-recruit-lp .purpose-fieldset .wpcf7-list-item,
body.toma-recruit-lp .qualification-fieldset .wpcf7-form-control,
body.toma-recruit-lp .qualification-fieldset .wpcf7-list-item {
  display: contents;
  margin: 0px;
}

body.toma-recruit-lp .qualification-fieldset > p {
  display: contents;
}

body.toma-recruit-lp .wpcf7-not-valid-tip,
body.toma-recruit-lp .wpcf7-response-output {
  font-size: 14px;
}

body.toma-recruit-lp .contact-form .lp-field-error {
  display: inline-block;
  margin-left: 24px;
  color: #e83838;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  vertical-align: middle;
}

body.toma-recruit-lp .contact-form .lp-error-source {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0px;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

body.toma-recruit-lp .contact-form > p:has(+ .form-row):has(.lp-field-error) {
  height: auto;
}

body.toma-recruit-lp .contact-form label.privacy:has(.lp-field-error) {
  flex-wrap: wrap;
  row-gap: 8px;
}

body.toma-recruit-lp .contact-form label.privacy > .lp-field-error {
  flex-basis: 100%;
  margin-left: 0px;
  text-align: center;
}

body.toma-recruit-lp .contact-form label.privacy .wpcf7-not-valid .wpcf7-list-item > label {
  background: transparent;
}

body.toma-recruit-lp .contact-form input:not([type="radio"]):not([type="checkbox"]).wpcf7-not-valid,
body.toma-recruit-lp .contact-form select.wpcf7-not-valid,
body.toma-recruit-lp .contact-form textarea.wpcf7-not-valid,
body.toma-recruit-lp .contact-form .wpcf7-not-valid .wpcf7-list-item label,
body.toma-recruit-lp .contact-form .wpcf7-not-valid input[type="checkbox"] {
  background: #f5c2be;
}

body.toma-recruit-lp .contact-form .wpcf7-response-output {
  margin: 24px 0px 0px;
  padding: 0px;
  border: 0px;
  text-align: center;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.6;
}

body.toma-recruit-lp .contact-form:is(.invalid, .unaccepted, .failed, .aborted, .spam) .wpcf7-response-output {
  color: #e83838;
}

body.toma-recruit-lp .contact-form .lp-response-break {
  display: none;
}

body.toma-recruit-lp .wpcf7-spinner {
  display: block;
  margin: 16px auto 0px;
}

/* Theme tokens and base layout */
:root {
  --pink: #eea1bb;
  --pink-deep: #e787aa;
  --pink-pale: #fff1f6;
  --gray: #f4f4f4;
  --ink: #29252a;
  --purple: #a876b4;
  --white: #fff;
  --max: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0px;
  color: var(--ink);
  font-family: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
  line-height: 1.8;
  background: #fff;
}

body.toma-recruit-lp {
  container-type: inline-size;
}

/* LP内ではテーマやフォーム側のフォント指定より優先する。 */
body.toma-recruit-lp,
body.toma-recruit-lp * {
  font-family: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif !important;
}

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

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

.wrap {
  width: min(var(--max),calc(100% - 48px));
  margin-inline: auto;
}

.narrow {
  max-width: 800px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  line-height: 1.1;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 47px;
  height: 47px;
  border-radius: 50%;
  background: var(--pink);
  color: #fff;
  font-size: 26px;
  font-weight: 900;
}

.brand b {
  display: block;
  font-size: 24px;
  letter-spacing: 0.08em;
}

.brand small {
  display: block;
  margin-top: 6px;
  font-size: 11px;
  letter-spacing: 0.22em;
}

/* Hero and navigation */
.hero {
  width: 100%;
  height: auto;
  min-height: 0px;
  max-height: none;
  aspect-ratio: 1440 / 800;
  position: relative;
  overflow: hidden;
  background: #111;
}

.hero-video {
  position: absolute;
  inset: 0px;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  z-index: 0;
}

.hero-video-sp {
  display: none;
}

.hero-shade {
  position: absolute;
  inset: 0px;
  z-index: 1;
  background: linear-gradient(90deg, rgba(15, 20, 22, 0.22), rgba(15, 20, 22, 0.04) 65%, rgba(15, 20, 22, 0.08));
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0px;
  z-index: 2;
  pointer-events: none;
  background-image: radial-gradient(circle, rgba(0, 0, 0, 0.52) 0.78px, transparent 0.9px);
  background-size: 3px 3px;
  opacity: 0.72;
  mix-blend-mode: multiply;
}

.hero-logo {
  position: absolute;
  z-index: 3;
  left: 4.03%;
  top: 4.5%;
  width: 31.67%;
  height: auto;
}

.hero-copy {
  position: absolute;
  z-index: 3;
  left: 5.28%;
  bottom: 4.5%;
  width: 41.74%;
  height: auto;
}

.hero-contact {
  aspect-ratio: 221 / 179;
  transition-property: transform;
  transition-duration: 0.2s;
  transition-timing-function: ease;
  transition-delay: 0s;
  transition-behavior: normal;
  position: fixed;
  right: 3.47vw;
  bottom: 150px;
  width: 221px;
  z-index: 50;
}

.hero-contact:hover {
  transform: translateY(-4px);
}

.contact-photo {
  position: absolute;
  left: 31.67%;
  top: 0px;
  width: 68.33%;
  height: auto;
  max-width: none;
}

.contact-bubble {
  position: absolute;
  left: 0px;
  bottom: 0px;
  width: 55.66%;
  aspect-ratio: 1 / 1;
  color: #fff;
  text-align: center;
  font-size: clamp(10px, 1.1vw, 16px);
  font-weight: 400;
  line-height: 1.25;
  filter: drop-shadow(rgba(0, 0, 0, 0.08) 0px 3px 4px);
}

.contact-bubble > img {
  position: absolute;
  inset: 0px;
  width: 100%;
  height: 100%;
}

.contact-bubble > span {
  position: absolute;
  inset: 0px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding-top: 10px;
}

.contact-arrow {
  display: block;
  width: 11px;
  height: auto;
  margin-top: 7px;
}

.contact-close {
  position: absolute;
  left: 86%;
  top: 10%;
  width: 7.7%;
  height: auto;
}

.hospital-link {
  color: var(--pink-deep);
}

.hospital-link-pc {
  transition-property: background-color, color;
  transition-duration: 0.45s, 0.45s;
  transition-timing-function: ease, ease;
  transition-delay: 0s, 0s;
  transition-behavior: normal, normal;
  position: absolute;
  z-index: 4;
  right: 3.54%;
  bottom: 5.13%;
  width: 21.94%;
  height: 14.88%;
  max-width: none;
  margin: 0px;
  padding: 1.1% 5.3% 1% 1.8%;
  border-radius: 20px;
  background: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: rgba(116, 116, 128, 0.08) 0px 4px 10px;
}

.hospital-link-pc::after {
  transition-property: background-color;
  transition-duration: 0.45s;
  transition-timing-function: ease;
  transition-delay: 0s;
  transition-behavior: normal;
  content: "";
  position: absolute;
  right: 27.8%;
  top: 15%;
  bottom: 15%;
  width: 1px;
  background: #efb1c5;
}

.hospital-link-pc strong {
  font-size: 20px;
  line-height: 1.35;
  font-weight: 500;
}

.hospital-link-pc span {
  font-size: 16px;
  font-weight: 500;
  margin-top: 7px;
}

.hospital-link-pc .hospital-arrow {
  transition-property: filter;
  transition-duration: 0.45s;
  transition-timing-function: ease;
  transition-delay: 0s;
  transition-behavior: normal;
  position: absolute;
  right: 9%;
  top: 50%;
  width: 7%;
  height: auto;
  transform: translateY(-50%);
}

.hospital-link-sp,
.contact-link-sp {
  display: none;
}

.hero-actions {
  position: relative;
  z-index: 0;
  isolation: isolate;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  padding: 65px 0px 48px;
}

.hero-actions::before {
  content: "";
  position: absolute;
  z-index: -2;
  top: 0px;
  bottom: 0px;
  left: 50%;
  width: 100cqw;
  transform: translateX(-50%);
  background: #f4f4f4;
}

.hero-actions::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: calc(50% - 50cqw);
  bottom: 0px;
  width: min(32cqw, 470px);
  aspect-ratio: 470 / 194;
  background: url("images/hero-actions-bg.svg") right bottom / contain no-repeat;
  pointer-events: none;
}

.button {
  height: 112px;
  border: 3px solid var(--pink);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 25px;
  font-weight: 500;
  position: relative;
  transition-property: background-color, color, border-color, box-shadow, transform;
  transition-duration: 0.35s, 0.35s, 0.35s, 0.35s, 0.35s;
  transition-timing-function: ease, ease, ease, ease, ease;
  transition-delay: 0s, 0s, 0s, 0s, 0s;
  transition-behavior: normal, normal, normal, normal, normal;
}

.button::before {
  content: "▶";
  position: absolute;
  left: 54px;
  font-size: 15px;
}

.button.fill {
  background: var(--pink);
  color: #fff;
}

.button.ghost {
  color: var(--pink);
}

/* Intro and nursing philosophy */
.intro {
  width: 100%;
  text-align: center;
  color: #fff;
  position: relative;
  isolation: isolate;
  background: url("images/intro-bg-pc-updated.webp") center top / 100% auto no-repeat #f4f4f4;
  padding: 0px;
  aspect-ratio: 1440 / 700;
  display: flex;
  align-items: flex-start;
}

.intro .narrow p {
  margin-top: 0px;
  text-align: center;
}

.lead-copy {
  margin-bottom: 30px;
  font-size: 20px;
  line-height: 42px;
  font-weight: 500;
}

.support-copy {
  margin-bottom: 28px;
  font-size: 30px;
  line-height: 1.35;
  font-weight: 500;
}

.detail-copy {
  margin-bottom: 0px;
  font-size: 20px;
  line-height: 1.9;
  font-weight: 500;
}

.philosophy {
  width: 100%;
  position: relative;
  z-index: 1;
  text-align: center;
  background: url("images/philosophy-bg-pc.png") center top / 100% auto no-repeat #f4f4f4;
  min-height: 0px;
  margin-top: -12.986vw;
  padding: 5.208vw 0px 0px;
  border-radius: 9.03vw 9.03vw 0px 0px;
  isolation: isolate;
  height: auto;
  aspect-ratio: 1440 / 1048;
}

.section-title {
  text-align: center;
  margin-bottom: 55px;
}

.section-title span {
  color: var(--pink);
  letter-spacing: 0.6em;
  font-family: Arial, sans-serif;
  font-weight: 500;
}

.philosophy .section-title span {
  display: inline-block;
  border-bottom: 1px solid #5f5963;
  color: #000;
  font-size: 1.111vw;
  padding-bottom: 0.903vw;
}

.section-title h2 {
  font-size: 35px;
  line-height: 1.45;
  margin: 10px 0px 0px;
  font-weight: 500;
}

.philosophy-main {
  color: #000;
  font-weight: 600;
  font-size: 2.431vw;
  line-height: 4.722vw;
  margin: 0.694vw 0px 0px;
}

.policy {
  width: min(708px, 100% - 48px);
  background: transparent;
  border: 0px;
  box-shadow: none;
  text-align: left;
  border-radius: 0px;
}

.policy h3 {
  text-align: center;
  font-size: 24px;
  line-height: 68px;
  color: var(--pink);
  margin: 0px 0px 18px;
  font-weight: 500;
}

.policy ul {
  padding-left: 45px;
  margin: auto;
  list-style: none;
}

.policy li {
  padding: 0px 0px 0px 24px;
  position: relative;
  color: var(--pink);
  font-family: Inter, "Zen Kaku Gothic New", sans-serif;
  font-size: 20px;
  line-height: 44px;
}

.policy li::before {
  content: "・";
  position: absolute;
  left: 0px;
  color: var(--pink);
}

/* Leadership messages */
.message {
  position: relative;
  z-index: 2;
  margin-top: -113px;
  background: #fff;
  border-radius: clamp(78px, 10vw, 150px) clamp(78px, 10vw, 150px) 0px 0px;
  padding: 74px 0px 90px;
}

.message::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: -50px;
  left: 50%;
  width: 557px;
  height: 190px;
  background: url("images/message-brush.svg") center center / contain no-repeat;
  transform: translateX(-50%);
  pointer-events: none;
}

.ribbon span {
  display: inline-block;
}

.message-title {
  position: relative;
  z-index: 1;
  margin-bottom: 66px;
  margin-top: -46px;
}

.message-title span {
  color: #111;
  letter-spacing: 0px;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: 40px;
}

.message-label {
  grid-area: 1 / 1;
  margin: 0px 0px 10px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--pink);
  font-weight: 500;
  white-space: nowrap;
  font-size: 24px !important;
}

.message-label::after {
  content: "";
  height: 1px;
  background: #aaa;
  flex: 1 1 0%;
}

.message-grid {
  display: grid;
  gap: 92px;
}

.message article {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  grid-template-rows: auto 1fr;
  gap: 22px 64px;
  align-items: start;
}

.message article > img {
  grid-area: 2 / 1;
  width: 100%;
  height: 217px;
  object-fit: cover;
  padding-left: 20px;
  padding-right: 30px;
  margin-top: -5px;
}

.message article > img[src$="message-nursing-director.png"],
.message article > img[src$="message-director.png"] {
  height: auto;
  aspect-ratio: 529 / 294;
  object-fit: contain;
}

.message article > div {
  grid-area: 1 / 2 / span 2;
}

.message article.reverse .message-label {
  grid-area: 1 / 2;
  flex-direction: row-reverse;
}

.message article.reverse > img {
  grid-area: 2 / 2;
}

.message article.reverse > div {
  grid-area: 1 / 1 / span 2;
}

.message h3 {
  font-size: 24px;
  line-height: 1.45;
  margin: 0px;
  color: var(--pink);
  font-weight: 700 !important;
}

.message p {
  font-size: 16px;
  line-height: 30px;
  text-align: justify;
}

.message p.name {
    font-weight: 700;
}

.message p strong {
  font-size: 20px;
  margin-left: 11px;
  font-weight: 500 !important;
}

.name {
  border-bottom: 0px;
  color: var(--pink);
  margin: 10px auto;
}

.message .name + p {
  margin-top: 0px;
}

.small-button {
  position: relative;
  display: flex;
  width: 332px;
  height: 58px;
  margin-top: 38px;
  align-items: center;
  justify-content: center;
  border: 3px solid var(--pink);
  color: var(--pink);
  font-weight: 500;
  margin-left: auto;
  margin-right: auto;
  transition-property: background-color, color, box-shadow, transform;
  transition-duration: 0.35s, 0.35s, 0.35s, 0.35s;
  transition-timing-function: ease, ease, ease, ease;
  transition-delay: 0s, 0s, 0s, 0s;
  transition-behavior: normal, normal, normal, normal;
}

.small-button::after {
  content: "▶︎";
  position: absolute;
  right: 22px;
  top: 50%;
  font-size: 16px;
  line-height: 1;
  transform: translateY(-50%);
}

.gallery {
  display: block;
  overflow: hidden;
}

.gallery img.gallery-panorama {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1440 / 293;
  object-fit: contain;
}

/* Hospital facts */
.numbers {
  background: #fcecf1;
  padding: 0px 0px 220px;
}

.numbers > .section-title {
  min-height: 190px;
  position: relative;
  z-index: 1;
  margin-bottom: -36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: url("images/data-heading-bg.svg") center center / 557px 190px no-repeat;
  transform: translateY(-70px);
}

.number-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 33px;
}

.data-heading {
  position: relative;
  display: block;
  margin-top: 124px !important;
}

.data-heading img {
  position: absolute;
  top: -6px;
  right: 153px;
  width: 129px;
  height: 129px;
  transform: translateY(-50%);
}

.data-heading-hospital {
  text-align: center;
  font-weight: 600;
}

.number-grid article {
  background: #fff;
  border-radius: 18px;
  padding: 22px 22px 18px;
  min-height: 263px;
  position: relative;
  display: flex;
  flex-direction: column;
}

.number-grid small {
  display: flex;
  align-items: center;
  color: #111;
  font-weight: 500;
  line-height: 1;
  font-size: 14px;
}

.number-grid small::before {
  content: "";
  width: 12px;
  height: 12px;
  margin-right: 2px;
  border-radius: 50%;
  background: var(--pink);
}

.number-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex: 1 1 0%;
}

.number-grid h3 {
  font-size: 22px;
  line-height: 1.45;
  margin: 8px 0px 4px;
  color: #111;
}

.number-grid strong {
  display: block;
  color: #000;
  font-size: 50px;
  line-height: 1.05;
  white-space: nowrap;
}

.number-grid strong em {
  font-size: 24px;
  font-style: normal;
}

.number-main > img {
  width: 139px;
  height: 139px;
  flex: 0 0 auto;
  object-fit: contain;
}

.number-main > img.people-chart {
  width: auto;
  height: 118px;
  margin-right: 8px;
}

.number-grid p {
  margin: 8px 0px 0px;
  font-size: 12px;
  line-height: 1.45;
  color: #222;
}

.learning {
  position: relative;
  background: #fff;
  margin-top: 68px;
  padding: 62px 70px 52px;
  border-radius: 18px;
  text-align: center;
}

.learning h3 {
  position: absolute;
  left: -12px;
  top: -50px;
  width: 495px;
  margin: 0px;
  padding: 0px;
}

.learning h3 picture {
  display: block;
}

.learning h3 img {
  display: block;
  width: 100%;
  height: auto;
}

.learning-lead {
  margin: 0px 0px 38px;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.65;
}

.learning > div {
  display: flex;
  justify-content: center;
  gap: 54px;
}

.learning span {
  width: 190px;
  aspect-ratio: 1 / 1;
  flex: 0 0 auto;
  border: 0px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #ffebf2;
  color: #111;
}

.learning span > img {
  display: block;
  margin-bottom: 8px;
  object-fit: contain;
}

.learning b {
  display: block;
  font-size: 24px;
  line-height: 1.25;
}

.learning small {
  display: block;
  margin-top: 0px;
  color: var(--pink-deep);
  font-size: 16px;
  font-weight: 500;
}

/* Staff interviews */
.voices {
  padding: 60px 0px 80px;
  border-radius: 150px 150px 0px 0px;
  background: #fff;
  margin-top: -130px;
}

.voice-title {
  display: block;
  width: 173px;
  height: 58px;
  margin: 0px auto;
}

.voice-kicker {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 12px 0px 0px;
  color: var(--pink);
  font-size: 20px;
  line-height: 1.45;
  font-weight: 500;
}

.voices .section-title h2 {
  font-weight: 600;
}

.voice-kicker::before {
  content: "";
  display: block;
  width: 21px;
  height: 40.5px;
  flex: 0 0 auto;
  background: repeating-linear-gradient(to bottom,var(--pink) 0 6px,transparent 6px 11px) center/3px 100% no-repeat;
  transform: rotate(-28deg);
}

.voice-kicker::after {
  content: "";
  display: block;
  width: 21px;
  height: 40.5px;
  flex: 0 0 auto;
  background: repeating-linear-gradient(to bottom,var(--pink) 0 6px,transparent 6px 11px) center/3px 100% no-repeat;
  transform: rotate(28deg);
}

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

.voice-grid article {
  position: relative;
}

.voice-grid article > .voice-card {
  display: block;
  width: 100%;
  aspect-ratio: 584 / 346;
}

.voice-grid article > .voice-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.voice-grid article > div {
  display: none;
}

.voice-grid article > div small {
  letter-spacing: 0.28em;
}

.voice-grid article > div h3 {
  font-size: 21px;
  line-height: 1.45;
}

.voice-grid article > b {
  display: inline-block;
  background: var(--pink);
  color: #fff;
  border-radius: 30px;
  padding: 5px 22px;
  margin-top: 15px;
  font-weight: 500;
  min-width: 320px;
  text-align: center;
}

.voice-grid article > p {
  min-height: 92px;
  font-size: 16px;
  line-height: 1.5;
  text-align: justify;
}

.voice-grid article > a {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 332px;
  height: 54px;
  margin: auto;
  border: 2px solid var(--pink);
  color: var(--pink);
  font-weight: 500;
  transition-property: background-color, color, box-shadow, transform;
  transition-duration: 0.35s, 0.35s, 0.35s, 0.35s;
  transition-timing-function: ease, ease, ease, ease;
  transition-delay: 0s, 0s, 0s, 0s;
  transition-behavior: normal, normal, normal, normal;
}

.voice-grid article > a::after {
  content: "▶︎";
  position: absolute;
  right: 20px;
  top: 50%;
  color: var(--pink);
  font-size: 15px;
  line-height: 1;
  transform: translateY(-50%);
}

/* Doctor message */
.doctor {
  position: relative;
  isolation: isolate;
  overflow: visible;
  padding: 62px 0px 242px;
  background: #f5f1f3;
}

.doctor::before {
  content: "";
  position: absolute;
  z-index: 0;
  left: -15px;
  top: -19px;
  width: 515px;
  height: 190px;
  background: url("images/doctor-brush.svg") left top / 515px 190px no-repeat;
}

.doctor > h2 {
  position: relative;
  z-index: 1;
  width: min(1200px, 100% - 48px);
  margin: 0px auto 32px;
  font-size: 40px;
  line-height: 1.45;
}

.doctor > h2::before {
  content: "";
  display: inline-block;
  width: 58px;
  height: 58px;
  margin-right: 18px;
  vertical-align: -12px;
  background: url("images/doctor-play.svg") center center / 58px 58px no-repeat;
}

.doctor-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 540px;
  gap: 50px;
  align-items: stretch;
}

.doctor-content {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.doctor-link {
  margin-top: auto;
  margin-left: auto;
  margin-right: auto;
}

.doctor-role {
  align-self: flex-start;
  display: inline-block;
  min-width: 117px;
  padding: 4px 0px;
  border-radius: 24px;
  background: var(--pink);
  color: #fff;
  text-align: center;
  font-size: 18px;
  font-weight: 400;
}

.doctor span {
  color: var(--pink);
  letter-spacing: 0.3em;
}

.doctor h3 {
  font-size: 22px;
  line-height: 1.55;
  color: var(--pink);
  margin: 12px 0px 18px;
}

.doctor-description {
  font-size: 16px;
  line-height: 1.5;
  text-align: justify;
  margin-top: 11px;
}

.doctor-image {
  width: 100%;
  height: 360px;
  object-fit: cover;
}

/* Four reasons */
.reason {
  position: relative;
  z-index: 2;
  padding: 50px 0px 110px;
  background: #eea1bb;
  margin-top: -140px;
  border-radius: 150px 150px 0px 0px;
}

.reason > .section-title {
  min-height: 190px;
  margin-bottom: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: url("images/reason-heading-bg.svg") center center / 557px 190px no-repeat;
}

.reason .section-title,
.reason .section-title span {
  color: #fff;
}

.reason .section-title h2 {
  font-size: 40px;
}

.reason-list {
  display: grid;
  gap: 44px;
}

.reason-list article {
  display: grid;
  grid-template-columns: 410px 1fr;
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
}

.reason-list img {
  width: 100%;
  height: 291px;
  object-fit: cover;
}

.reason-list .reason-responsive-picture {
  display: block;
  width: 100%;
  height: 100%;
}

.reason-list .reason-card-picture {
  display: block;
  width: 100%;
  height: 100%;
}

.reason-list .reason-card-picture img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 291px;
  object-fit: cover;
  object-position: center 30%;
}

.reason-list article:nth-child(-n+2) {
  align-items: start;
}

.reason-list article:first-child .reason-card-picture {
  height: auto;
  overflow: hidden;
}

/* The 822px source includes an 8px transparent strip on the right. */
.reason-list article:first-child .reason-card-picture img {
  width: calc(100% * 822 / 814);
  max-width: none;
}

.reason-list article:nth-child(-n+2) > img,
.reason-list article:nth-child(-n+2) > .reason-responsive-picture > img,
.reason-list article:first-child .reason-card-picture img {
  height: auto;
  min-height: 0px;
  aspect-ratio: 410 / 291;
  object-fit: cover;
  object-position: center center;
}

.reason-list article > div {
  padding: 34px 48px;
}

.reason-list small {
  display: block;
  color: var(--pink);
  font-weight: 500;
  font-size: 20px;
}

.reason-list small::after {
  content: "";
  display: block;
  width: 42px;
  height: 1px;
  margin-top: 10px;
  background: #d9d9d9;
}

.reason-list h3 {
  font-size: 24px;
  color: var(--pink);
  margin: 10px 0px;
  font-weight: 500;
}

.reason-list p {
  font-size: 16px;
  line-height: 30px;
  text-align: justify;
}

/* Recruitment information */
.recruit {
  padding: 70px 0px 30px;
}

.recruit-table {
  max-width: 860px;
}

.recruit-table > div {
  display: grid;
  grid-template-columns: 200px 1fr;
  border-bottom: 0px;
  padding: 22px 0px 9px;
}

.recruit-table dt {
  font-size: 16px;
  font-weight: 500;
  line-height: 32px;
  border-bottom-width: 1px;
  border-bottom-style: solid;
  padding-bottom: 30px;
  border-bottom-color: var(--pink);
}

.recruit-table dd {
  margin: 0px;
  font-size: 16px;
  line-height: 32px;
  border-bottom: 1px solid #d9d9d9;
  padding-bottom: 30px;
}

/* Frequently asked questions */
.faq {
  padding: 0px;
  background: #fff;
}

.faq .section-title {
  margin-bottom: 25px;
}

.faq-list {
  max-width: 1100px;
}

.faq details {
  background: transparent;
  margin-bottom: 14px;
  border: 0px;
  border-radius: 20px;
  overflow: visible;
}

.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 22px 30px;
  font-size: 18px;
  letter-spacing: 1.26px;
  font-weight: 400;
}

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

.faq summary::after {
  content: "";
  float: right;
  display: block;
  width: 22px;
  height: 22px;
  margin-top: 3px;
  background: linear-gradient(#eea1bb, #eea1bb) center center / 22px 3px no-repeat, linear-gradient(#eea1bb, #eea1bb) center center / 3px 22px no-repeat;
}

.faq details[open] summary::after {
  content: "";
  width: 22px;
  height: 3px;
  margin-top: 12px;
  background: #eea1bb;
}

.faq b {
  color: var(--pink);
  font-size: 28px;
  margin-right: 20px;
  font-weight: 500 !important;
}

.faq details p {
  margin: 0px;
  padding: 20px 30px;
  background: #fcecf1;
  border-radius: 20px;
}

/* Contact form */
/* CUREなどのテーマが後から読み込むフォームCSSの影響をLP内で抑える。 */
body.toma-recruit-lp .wpcf7:has(.contact-form) {
  width: 100%;
  margin: 0px !important;
  padding: 0px;
  border: 0px;
  background: transparent;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.8;
}

body.toma-recruit-lp .contact-form {
  margin: 0px auto;
}

body.toma-recruit-lp .contact-form p {
  margin: 1em 0px;
  font-size: inherit;
}

body.toma-recruit-lp .contact-form .wpcf7-list-item-label {
  font-size: inherit;
  line-height: inherit;
}

body.toma-recruit-lp .contact-form input[type="radio"],
body.toma-recruit-lp .contact-form input[type="checkbox"] {
  max-width: none;
  padding: 0px;
  border: 0px;
  line-height: inherit;
}

body.toma-recruit-lp .contact-form textarea {
  height: auto;
}

.contact {
  padding: 53px 0px 0px;
}

.contact-card {
  width: min(590px, 100% - 44px);
  margin: 0px auto 13px;
  border: 5px solid var(--pink);
  border-radius: 20px;
  padding: 25px;
  text-align: center;
}

.contact-card h3 {
  margin: 0px 0px 5px;
  font-weight: 500;
  font-size: 24px;
}

.contact-card a {
  display: block;
  color: var(--pink-deep);
  font-size: 24px;
  font-weight: normal;
}

body.toma-recruit-lp .contact-form {
  background: #fff;
  padding: 0px 48px 48px;
}

body.toma-recruit-lp .contact-form fieldset {
  border: 0px;
  margin: 0px 0px 25px;
  padding: 0px;
}

body.toma-recruit-lp .contact-form .purpose-fieldset {
  background: #fff0f5;
  border-radius: 20px;
  padding: 36px 40px 32px;
}

body.toma-recruit-lp .contact-form .purpose-fieldset legend {
  position: relative;
  top: 40px;
  color: #111;
  margin-bottom: 20px;
}

body.toma-recruit-lp .contact-form .purpose-fieldset > p:first-of-type {
  margin: 0px 0px 18px;
  color: var(--pink);
  font-size: 24px;
  font-weight: 500;
}

body.toma-recruit-lp .contact-form .purpose-fieldset .wpcf7-list-item label {
  position: relative;
  display: inline-flex;
  height: 76px;
  margin: 0px;
  justify-content: center;
  border-radius: 20px;
  background: #fff;
  color: var(--pink);
  font-size: 20px;
  font-weight: 400;
  cursor: pointer;
  width: 100%;
}

body.toma-recruit-lp .contact-form .purpose-fieldset .wpcf7-list-item:last-child label {
  margin-right: 0px;
}

body.toma-recruit-lp .contact-form .purpose-fieldset label:has(input:checked) {
  background: var(--pink);
  color: #fff;
}

body.toma-recruit-lp .contact-form .purpose-fieldset input {
  position: absolute;
  inset: 0px;
  width: 100%;
  height: 100%;
  margin: 0px;
  opacity: 0;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  box-shadow: none;
  border: 0px;
  border-radius: inherit;
}

body.toma-recruit-lp .contact-form .qualification-fieldset {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 28px;
  margin-top: 36px;
}

body.toma-recruit-lp .contact-form .qualification-fieldset legend {
  grid-column: 1 / -1;
  margin-bottom: 0px;
  color: #111;
}

body.toma-recruit-lp .contact-form .qualification-fieldset .wpcf7-list-item label {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 76px;
  margin: 0px;
  border-radius: 20px;
  background: #f4f4f4;
  color: #111;
  font-size: 20px;
  font-weight: 400;
}

body.toma-recruit-lp .contact-form .qualification-fieldset label:has(input:checked) {
  background: var(--pink);
  color: #fff;
}

body.toma-recruit-lp .contact-form .qualification-fieldset input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

body.toma-recruit-lp .contact-form legend,
body.toma-recruit-lp .contact-form label {
  display: block;
  font-size: 24px;
  font-weight: 500;
  margin-bottom: 51px;
}

body.toma-recruit-lp .contact-form fieldset label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 12px 35px 0px 0px;
  font-size: 16px;
  font-weight: 400;
}

body.toma-recruit-lp .contact-form em {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 76px;
  height: 38px;
  font-size: 16px;
  font-style: normal;
  background: var(--pink);
  color: #fff;
  border-radius: 20px;
  padding: 0px;
  margin-left: 8px;
  vertical-align: middle;
}

body.toma-recruit-lp .contact-form input:not([type="radio"]):not([type="checkbox"]),
body.toma-recruit-lp .contact-form select,
body.toma-recruit-lp .contact-form textarea {
  width: 100%;
  border: 0px;
  border-radius: 20px;
  background: #f4f4f4;
  padding: 16px;
  margin-top: 8px;
  font: inherit;
}

body.toma-recruit-lp .form-row {
  display: block;
  margin-bottom: 44px;
}

body.toma-recruit-lp .name-row {
  margin-bottom: 47px;
}

body.toma-recruit-lp .kana-row {
  margin-bottom: 44px;
}

body.toma-recruit-lp .contact-form > p:has(+ .form-row) + .form-row {
  margin-bottom: 47px;
}

body.toma-recruit-lp .contact-form > p:has(+ .form-row) + .form-row + p + .form-row {
  margin-bottom: 44px;
}

body.toma-recruit-lp .contact-form > p:has(+ .form-row) {
  margin: 0px 0px 24px;
}

body.toma-recruit-lp .contact-form > p:has(+ .form-row) > label {
  margin-bottom: 0px;
}

body.toma-recruit-lp .form-row > p {
  display: grid;
  grid-template-columns: repeat(2, minmax(0px, 1fr));
  gap: 31px;
  margin: 0px;
}

body.toma-recruit-lp .form-row > p > br {
  display: none;
}

body.toma-recruit-lp .form-row label {
  display: grid;
  grid-template-columns: 40px minmax(0px, 1fr);
  align-items: center;
  gap: 10px;
  margin: 0px;
  font-size: 16px;
  font-weight: 400;
}

body.toma-recruit-lp .form-row label > span {
  white-space: nowrap;
}

body.toma-recruit-lp .contact-form .form-row input:not([type="radio"]):not([type="checkbox"]) {
  height: 70px;
  margin-top: 0px;
  padding: 16px 24px;
  font-size: 16px;
  line-height: 1.5;
}

body.toma-recruit-lp .age-field {
  display: flex;
  align-items: center;
  gap: 14px;
}

body.toma-recruit-lp .age-field input {
  max-width: 305px;
}

body.toma-recruit-lp .privacy-policy {
  height: 318px;
  overflow: auto;
  background: #f4f4f4;
  padding: 25px 40px;
  margin: 28px 0px;
  font-size: 20px;
  line-height: 1.55;
}

body.toma-recruit-lp .privacy-policy h3 {
  margin: 0px 0px 18px;
  font-size: 24px;
}

body.toma-recruit-lp .contact-form label.privacy {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  text-align: left;
  font-size: 16px;
  font-weight: 400;
}

body.toma-recruit-lp .contact-form label.privacy .wpcf7-list-item {
  margin: 0px;
}

body.toma-recruit-lp .contact-form label.privacy .wpcf7-list-item > label {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  margin: 0px;
  font-size: inherit;
  font-weight: inherit;
}

body.toma-recruit-lp .contact-form label.privacy .wpcf7-list-item-label {
  line-height: 1.5;
}

body.toma-recruit-lp .privacy input {
  appearance: none;
  width: 43px;
  height: 43px;
  flex: 0 0 43px;
  margin: 0px;
  border: 0px;
  border-radius: 0px;
  background: #d9d9d9;
}

body.toma-recruit-lp .privacy input:checked {
  background-color: var(--pink);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 12.5 9.5 18 20 6' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: 70% 70%;
}

body.toma-recruit-lp .submit-button {
  line-height: 1.8;
  position: relative;
  border: 15px solid #fce0e9 !important;
  background: var(--pink);
  color: #fff;
  width: min(584px, 100%);
  height: 138px;
  margin: 30px auto 0px;
  display: block;
  font-size: 36px;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  transition-property: background-color, color, box-shadow, transform;
  transition-duration: 0.35s, 0.35s, 0.35s, 0.35s;
  transition-timing-function: ease, ease, ease, ease;
  transition-delay: 0s, 0s, 0s, 0s;
  transition-behavior: normal, normal, normal, normal;
}

body.toma-recruit-lp .submit-button::after {
  content: "▶";
  position: absolute;
  right: 42px;
  top: 50%;
  font-size: 28px;
  line-height: 1;
  transform: translateY(-50%);
}

body.toma-recruit-lp .submit-button span {
  margin-left: 40px;
}

.form-notice {
  text-align: center;
  color: var(--pink-deep);
  font-weight: 500;
}

.wrap.hospital-footer-layout {
  max-width: 1100px;
}

.button:focus-visible,
.small-button:focus-visible,
.voice-grid article > a:focus-visible,
body.toma-recruit-lp .submit-button:focus-visible {
  outline: rgba(231, 154, 184, 0.4) solid 3px;
  outline-offset: 4px;
}

footer {
  background: #b085b9;
  color: #fff;
  padding: 80px 0px 71px;
  border-radius: 150px 150px 0px 0px;
  overflow: hidden;
}

footer h2 {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  margin: 0px 0px 60px;
  text-align: center;
  font-size: 35px;
  line-height: 28px;
  font-weight: 500;
}

footer h2::before,
footer h2::after {
  content: "";
  width: 290px;
  height: 1px;
  background: #fff;
}

footer > .wrap {
  display: grid;
  grid-template-columns: 1fr 433px;
  align-items: start;
  gap: 70px;
}

.footer-brand {
  display: block;
  width: 280px;
  height: 70px;
  font-size: 0px;
  background: none;
}

.footer-brand > * {
  display: none;
}

footer > .wrap > img {
  width: 433px;
  height: 300px;
  object-fit: cover;
  object-position: center center;
  content: url("images/hospital-exterior.png");
}

.hospital-info {
  margin-top: 28px;
  font-size: 16px;
}

.hospital-info > div {
  display: grid;
  grid-template-columns: 105px 1fr;
  gap: 18px;
  margin: 10px 0px;
  align-items: center;
}

.hospital-info > div:last-child {
  align-items: start;
}

.hospital-info dt {
  margin-bottom: 10px;
  padding: 5px 12px;
  border-radius: 14px;
  background: #fff;
  color: var(--purple);
  text-align: center;
  font-weight: 500;
}

.hospital-info dd {
  margin: 0px;
}

.hospital-departments {
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
}

.hospital-departments span {
  white-space: nowrap;
}

.hospital-info > div:nth-child(2) dd::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-right: 8px;
  vertical-align: -3px;
  background: url("images/hospital-phone.svg") center center / contain no-repeat;
}

.hospital-info > div:not(:last-child) dd {
  transform: translateY(-2px);
}

.certification {
  position: relative;
  width: min(643px, 100% - 44px);
  min-height: 115px;
  margin: 46px auto 0px;
  padding: 42px 125px 42px 24px;
  border: 0px;
  border-radius: 24px;
  background: #fff;
  color: var(--purple);
  text-align: center;
  font-size: 16px;
  font-weight: 500;
}

.certification::after {
  content: "";
  position: absolute;
  right: 24px;
  top: 50%;
  width: 88px;
  height: 88px;
  transform: translateY(-50%);
  background: url("images/platinum-certification.png") center center / contain no-repeat;
}

.contact-banner-close {
  position: fixed;
  right: 3.47vw;
  bottom: 303px;
  z-index: 51;
  border: 0px;
  padding: 0px;
  background: #fff;
  color: #555;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.hero-contact[hidden],
.contact-banner-close[hidden] {
  display: none;
}

.intro .narrow {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 35.625vw;
  padding: 0px;
  width: 55%;
}

.intro-photo {
  position: absolute;
  object-fit: cover;
  z-index: 0;
  height: auto;
}

.intro-photo-left {
  left: 3.3%;
  top: 9.6%;
  width: 23.6%;
  aspect-ratio: 338 / 360;
  object-position: 50% 40%;
  border-radius: 40% 42% 38% 55% / 53% 40% 35%;
}

.intro-photo-right {
  right: 4.4%;
  top: 20.6%;
  width: 21.2%;
  aspect-ratio: 304 / 313;
  border-radius: 55% 45% 48% 40% / 55% 42% 58% 45%;
}

.philosophy-photo {
  position: absolute;
  object-fit: cover;
  border-radius: 1.4vw;
  z-index: -1;
}

.philosophy-photo-ambulance {
  left: 5.35%;
  top: 10.59%;
  width: 20.97%;
  height: 18.03%;
}

.philosophy-photo-uniform {
  left: 0px;
  top: 55.82%;
  width: 21.46%;
  height: 20.61%;
}

.philosophy-photo-care {
  right: 4.65%;
  top: 19.75%;
  width: 15.97%;
  height: 18.23%;
  background: url("images/philosophy-bg-pc.png") 94.4% 24.15% / 628.82% auto no-repeat;
}

.philosophy-photo-team {
  right: 3.06%;
  top: 53.34%;
  width: 19.31%;
  height: 18.89%;
  object-position: center 35%;
}

.philosophy .section-title {
  margin-bottom: 1.736vw;
}

.philosophy .section-title h2 {
  font-size: 2.431vw;
  margin-top: 0.694vw;
}

.philosophy .policy {
  position: absolute;
  left: 25.55%;
  top: 36.83%;
  width: 49.1%;
  height: 36.55%;
  margin: 0px;
  padding: 1.25vw 2.08vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-radius: 1.4vw;
  background: #fff;
}

.philosophy .policy::before {
  position: absolute;
  inset: 0px;
  z-index: -1;
  border-radius: inherit;
  background: #f8d5e2;
  transform: rotate(4deg);
  content: none;
}

.philosophy .policy::after {
  position: absolute;
  inset: 0px;
  z-index: -1;
  border-radius: inherit;
  background: #fcecf2;
  transform: rotate(-3deg);
  content: none;
}

.philosophy .policy h3 {
  font-size: 1.667vw;
  line-height: 1.5;
  margin: 0px 0px 1.25vw;
}

.philosophy .policy ul {
  margin: 0px;
  padding: 0px;
}

.philosophy .policy li {
  font-size: 1.389vw;
  line-height: 2.35;
  padding-left: 1.667vw;
}

.philosophy .policy li::before {
  left: 0px;
}

.intro .lead-copy {
  font-size: 1.389vw;
  line-height: 2.917vw;
  margin-bottom: 2.083vw;
}

.intro .detail-copy {
  font-size: 1.389vw;
  line-height: 1.9;
}

.intro .support-copy {
  font-size: 2.083vw;
  margin-bottom: 1.944vw;
}

.interview-thumbnail {
  display: block;
  position: relative;
  border: 0px;
  padding: 0px;
  margin: 0px;
  background: transparent;
  border-radius: 0px;
  cursor: pointer;
  color: inherit;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.interview-thumbnail::after {
  content: "";
  position: absolute;
  inset: 0px;
  background: #fff;
  opacity: 0;
  pointer-events: none;
  transition-property: opacity;
  transition-duration: 0.2s;
  transition-timing-function: ease;
  transition-delay: 0s;
  transition-behavior: normal;
}

.interview-thumbnail:focus-visible {
  outline: 3px solid var(--pink);
  outline-offset: 4px;
}

.message article > .interview-thumbnail {
  grid-area: 2 / 1;
  padding: 0px 30px 0px 20px;
}

.message article.reverse > .interview-thumbnail {
  grid-area: 2 / 2;
}

.message .interview-thumbnail img {
  width: 100%;
  height: auto;
  aspect-ratio: 529 / 294;
  object-fit: contain;
}

.message .name strong {
  margin-left: 0px;
  font-weight: 700 !important;
  margin-left: 5px;
}

.voice-grid .interview-thumbnail {
  aspect-ratio: 584 / 346;
}

.voice-grid .interview-thumbnail picture,
.voice-grid .interview-thumbnail img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.doctor-thumbnail {
  align-self: start;
  aspect-ratio: 584 / 346;
}

.doctor-thumbnail .doctor-image {
  height: auto;
  width: 100%;
  aspect-ratio: 584 / 346;
  object-fit: cover;
}

.reason-list article > img,
.reason-list .reason-responsive-picture > img {
  content: normal;
  height: 100%;
  min-height: 291px;
  object-fit: cover;
}

.gallery-track {
  display: flex;
  width: 100%;
}

.gallery-track .gallery-panorama {
  display: block;
  flex: 0 0 100%;
  width: 100%;
  height: auto;
  min-width: 0px;
  aspect-ratio: 1440 / 293;
  object-fit: cover;
}

.gallery-copy {
  display: none !important;
}

.footer-brand > .footer-logo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left center;
  content: normal;
}

.hospital-info a {
  color: inherit;
  text-decoration: none;
}

body.toma-recruit-lp .contact-form .purpose-fieldset label {
  -webkit-tap-highlight-color: transparent;
  transition-property: background-color, color;
  transition-duration: 0.2s, 0.2s;
  transition-timing-function: ease, ease;
  transition-delay: 0s, 0s;
  transition-behavior: normal, normal;
}

body.toma-recruit-lp .contact-form .purpose-fieldset label:has(input:focus-visible) {
  outline: 2px solid var(--pink);
  outline-offset: 3px;
}

/* Interview video popup */
.interview-dialog {
  position: fixed;
  inset: 0px;
  width: 100vw;
  max-width: none;
  height: 100dvh;
  max-height: none;
  margin: 0px;
  border: 0px;
  color: #fff;
  --interview-width: min(1100px,77vw,94dvh);
  padding: clamp(32px, 7.35vw, 106px) 24px 24px;
  background: transparent;
  overflow: hidden;
}

.interview-close {
  position: fixed;
  padding: 0px;
  background: transparent;
  border: 0px;
  color: #fff;
  line-height: 1;
  cursor: pointer;
  z-index: 1;
  top: clamp(20px, 3.2vw, 46px);
  right: clamp(20px, 3.2vw, 46px);
  width: 38px;
  height: 38px;
  font-size: 0px;
}

.interview-dialog [hidden] {
  display: none !important;
}

.interview-speaker {
  font-weight: 700;
  text-align: left;
  font-size: clamp(14px, 1.25vw, 18px);
  margin: 0px 0px 12px;
}

.interview-dialog h2 {
  color: #fff;
  text-align: left;
  font-size: clamp(16px, 1.67vw, 24px);
  line-height: 1.5;
  margin: 0px 0px 20px;
}

.interview-role {
  width: fit-content;
  max-width: 100%;
  white-space: nowrap;
  border-radius: 30px;
  background: var(--pink);
  text-align: center;
  margin: 0px 0px clamp(28px, 3.33vw, 48px);
  padding: 7px 28px;
  font-size: clamp(11px, 1.11vw, 16px);
  line-height: 1.5;
}

.interview-text h3 {
  color: #fff;
  font-size: clamp(12px, 1.39vw, 20px);
  font-weight: 700;
  line-height: 1.7;
  margin: 40px 0px 10px;
}

html.interview-open {
  overflow: hidden;
}

.interview-dialog::backdrop {
  background: rgba(0, 0, 0, 0.75);
}

.interview-body {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  min-height: 0px;
  margin: 0px;
}

.interview-media {
  position: relative;
  flex: 0 0 auto;
  width: var(--interview-width);
  margin: 0px auto;
}

.interview-video,
.interview-poster {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  max-height: none;
  object-fit: contain;
  margin: 0px;
  background: #000;
}

.interview-video:not([controls]) {
  cursor: pointer;
}

.interview-play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: clamp(48px, 6.4vw, 92px);
  aspect-ratio: 1 / 1;
  padding: 0px;
  border: 3px solid #fff;
  border-radius: 50% 50% 0px;
  background: transparent;
  cursor: pointer;
}

.interview-play span {
  position: absolute;
  left: 43%;
  top: 50%;
  transform: translateY(-50%);
  width: 0px;
  height: 0px;
  border-left: clamp(14px, 1.7vw, 24px) solid #fff;
  border-top: clamp(8px, 1vw, 14px) solid transparent;
  border-bottom: clamp(8px, 1vw, 14px) solid transparent;
}

.interview-play:focus-visible,
.interview-close:focus-visible {
  outline: #fff solid 2px;
  outline-offset: 6px;
}

.interview-transcript {
  flex: 1 1 auto;
  min-height: 0px;
  overflow-y: auto;
  overscroll-behavior: contain;
  margin-top: 12px;
  padding: clamp(16px,1.67vw,24px) max(0px,calc((100% - var(--interview-width))/2)) 0;
  scrollbar-width: thin;
  scrollbar-color: #fff #888;
}

.interview-transcript::-webkit-scrollbar {
  width: 6px;
}

.interview-transcript::-webkit-scrollbar-track {
  background: #888;
}

.interview-transcript::-webkit-scrollbar-thumb {
  background: #fff;
}

.interview-transcript:focus-visible {
  outline: rgba(255, 255, 255, 0.6) solid 1px;
  outline-offset: -1px;
}

.interview-text {
  max-width: none;
  margin: 0px;
  font-size: clamp(11px, 1.11vw, 16px);
  line-height: 2.25;
}

.interview-text h3:first-child {
  margin-top: 0px;
}

.interview-text p {
  margin: 0px 0px 24px;
}

.interview-close::before {
  content: "";
  position: absolute;
  left: 0px;
  top: 50%;
  width: 100%;
  height: 1px;
  background: #fff;
  transform: rotate(45deg);
}

.interview-close::after {
  content: "";
  position: absolute;
  left: 0px;
  top: 50%;
  width: 100%;
  height: 1px;
  background: #fff;
  transform: rotate(-45deg);
}

.interview-photo::after {
  content: none;
}

/* Smartphone and tablet layout */
@media (max-width: 920px) {
  .contact-success {
    padding: 80px 24px 48px;
  }

  .contact-success h2 {
    padding-bottom: 28px;
    font-size: clamp(18px, 5vw, 28px);
  }

  .contact-success p {
    margin: 28px 0px 40px;
    font-size: 16px;
    line-height: 1.8;
  }

  .contact-success-close {
    top: 24px;
    right: 24px;
    width: 30px;
    height: 30px;
  }

  .contact-success-close::before,
  .contact-success-close::after {
    left: -5px;
    width: 40px;
  }

  .contact-success-top {
    font-size: 16px;
  }

  body.toma-recruit-lp .contact-form .lp-response-break {
    display: initial;
  }

  body.toma-recruit-lp .contact-form .lp-field-error {
    margin-left: 12px;
    font-size: 12px;
  }

  body.toma-recruit-lp .contact-form .wpcf7-response-output {
    font-size: 16px;
  }

  .sp-none {
    display: none !important;
  }

  .gallery {
    width: 100%;
    grid-template-columns: repeat(2, 1fr);
    overflow: hidden;
    -webkit-overflow-scrolling: touch;
  }

  .gallery img.gallery-panorama {
    min-width: 1440px;
    max-width: none;
  }

  .reason-list small::after {
    width: 21px;
  }

  .wrap {
    width: min(100% - 44px, 560px);
  }

  .site-header {
    height: 80px;
    padding: 0px 18px;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
  }

  .brand b {
    font-size: 19px;
  }

  .brand small {
    font-size: 9px;
  }

  .global-nav {
    display: none;
  }

  .menu-button {
    display: flex;
    width: 54px;
    height: 54px;
    border: 0px;
    background: transparent;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
  }

  .menu-button span {
    width: 27px;
    height: 2px;
    background: var(--pink);
  }

  .menu-button b {
    font-size: 8px;
    color: var(--pink);
  }

  .mobile-nav {
    position: fixed;
    z-index: 19;
    inset: 80px 0px 0px;
    background: rgba(255, 247, 250, 0.98);
    padding: 50px 32px;
  }

  .mobile-nav.is-open {
    display: flex;
    flex-direction: column;
  }

  .mobile-nav a {
    padding: 15px 0px;
    border-bottom: 1px solid #ebccd7;
    font-weight: 500;
  }

  .hero-shade {
    background: linear-gradient(0deg, rgba(20, 11, 14, 0.24), transparent 65%);
  }

  .hero-copy p {
    font-size: 26px;
    line-height: 1.45;
  }

  .hero-copy span {
    font-size: 8px;
  }

  .floating-contact {
    display: none;
  }

  .hero-actions {
    grid-template-columns: 1fr;
    width: 100%;
    padding: 30px 6%;
    gap: 18px;
    background: transparent;
  }

  .hospital-link {
    height: 79px;
    padding-left: 26px;
  }

  .hospital-link strong {
    font-size: 19px;
  }

  .hospital-link span {
    font-size: 13px;
  }

  .hospital-link b {
    right: 22px;
  }

  .photo-bubbles {
    height: 330px;
    margin-top: 25px;
  }

  .photo-bubbles img {
    border-width: 6px;
  }

  .photo-bubbles img:nth-child(1) {
    width: 51%;
    height: 180px;
    left: -5%;
    top: 75px;
  }

  .photo-bubbles img:nth-child(2) {
    width: 56%;
    height: 200px;
    left: 24%;
    top: 5px;
  }

  .photo-bubbles img:nth-child(3) {
    width: 50%;
    height: 170px;
    right: -8%;
    top: 125px;
  }

  .numbers {
    padding: 0px 0px 65px;
  }

  .voices,
  .reason,
  .recruit {
    padding: 75px 0px;
  }

  .faq {
    padding: 45px 0px 0px;
  }

  .contact {
    padding: 50px 0px 75px;
  }

  .section-title {
    margin-bottom: 38px;
  }

  .section-title h2 {
    font-size: 24px;
  }

  #philosophy .section-title {
    margin-bottom: 28px;
  }

  .policy {
    padding: 30px 24px;
  }

  .message article.reverse img {
    order: 0;
  }

  .message img {
    height: 184px;
  }

  .message-title span {
    font-size: 24px;
    margin-top: 40px;
  }

  .small-button {
    width: 100%;
  }

  .gallery img {
    object-position: left center;
    height: 223px !important;
    object-fit: cover !important;
  }

  .number-grid strong em {
    font-size: 16px;
  }

  .learning span {
    font-size: 14px;
    width: 46%;
  }

  #voice .section-title {
    margin-bottom: 28px;
  }

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

  .voice-grid article > .voice-card {
    aspect-ratio: auto;
  }

  .voice-grid article > .voice-card img {
    height: auto;
  }

  .voice-grid article > div {
    width: 55%;
    padding: 18px 14px;
  }

  .voice-grid article > div h3 {
    font-size: 16px;
  }

  .voice-grid article > b {
    font-size: 16px;
    display: block;
    text-align: center;
    font-weight: 500;
    margin-top: 10px;
    min-width: 0px;
    max-width: 100%;
  }

  .voice-grid article > p {
    margin-top: 10px;
  }

  .doctor {
    padding: 35px 0px 207px;
  }

  .doctor > h2 {
    font-size: 24px;
    margin-bottom: 36px;
    padding-left: 72px;
  }

  .doctor-layout {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .doctor-image {
    width: 100%;
    order: -1;
    height: auto !important;
  }

  .reason .section-title h2 {
    font-size: 24px;
  }

  .reason-list article {
    grid-template-columns: 1fr;
  }

  .reason-list img {
    height: 229px;
  }

  .reason-list article > div {
    padding: 25px 22px 0px;
  }

  .recruit-table > div {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 13px 0px 0px;
  }

  .recruit-table dt {
    border-bottom: 0px;
    padding-bottom: 6px;
    font-size: 15.951px;
  }

  .recruit-table dd {
    border-bottom: 0px;
    padding-bottom: 10px;
    background: linear-gradient(to right,var(--pink) 0 20%,#d9d9d9 20% 100%) left bottom/100% 1px no-repeat;
    font-size: 15.951px;
  }

  body.toma-recruit-lp .contact-form {
    width: 100%;
    padding: 0px 22px 30px;
  }

  body.toma-recruit-lp .form-row {
    display: block;
    margin-bottom: 44px;
    margin-left: 2px;
  }

  body.toma-recruit-lp .form-row > p {
    width: 295px;
    grid-template-columns: 1fr;
    gap: 12px;
    max-width: 100%;
  }

  body.toma-recruit-lp .form-row label {
    grid-template-columns: 34px minmax(0px, 1fr);
    gap: 9px;
  }

  body.toma-recruit-lp .contact-form .form-row input:not([type="radio"]):not([type="checkbox"]) {
    height: 46px;
    padding: 10px 16px;
    border-radius: 13px;
    font-size: 14px;
    line-height: 1.5;
  }

  body.toma-recruit-lp .contact-form em {
    width: 60px;
    height: 30px;
    font-size: 14px;
    border-radius: 15px;
  }

  body.toma-recruit-lp .contact-form > p:has(+ .form-row) > label {
    font-size: 16px;
    line-height: 22px;
  }

  body.toma-recruit-lp .contact-form > p:has(+ .form-row) {
    height: 22px;
    margin-bottom: 20px;
    line-height: 22px;
  }

  body.toma-recruit-lp .contact-form > p:has(+ .form-row) + .form-row {
    margin-bottom: 34px;
  }

  body.toma-recruit-lp .contact-form > p:has(+ .form-row) + .form-row + p + .form-row {
    margin-bottom: 33px;
  }

  body.toma-recruit-lp .contact-form > p:has(input[name="your-tel"]),
  body.toma-recruit-lp .contact-form > p:has(input[name="your-email"]) {
    width: 100%;
    margin: 0px;
  }

  body.toma-recruit-lp .contact-form > p:has(input[name="your-tel"]) > label,
  body.toma-recruit-lp .contact-form > p:has(input[name="your-email"]) > label {
    margin: 0px;
    font-size: 16px;
    line-height: 22px;
  }

  body.toma-recruit-lp .contact-form > p:has(input[name="your-tel"]) input {
    width: 100%;
    height: 46px;
    border-radius: 13px;
    font-size: 14px;
    line-height: 1.5;
    margin-top: 17px;
  }

  body.toma-recruit-lp .contact-form > p:has(input[name="your-email"]) input {
    width: 100%;
    height: 46px;
    border-radius: 13px;
    font-size: 14px;
    line-height: 1.5;
    margin-top: 18px;
  }

  body.toma-recruit-lp .contact-form > p:has(input[name="your-tel"]) + p {
    margin: 6px 0px 32px;
    font-size: 14px;
    line-height: 17px;
  }

  body.toma-recruit-lp .contact-form > p:has(input[name="age"]) > label,
  body.toma-recruit-lp .contact-form > p:has(input[name="experience"]) > label,
  body.toma-recruit-lp .contact-form > p:has(textarea[name="your-message"]) > label,
  body.toma-recruit-lp .contact-form .qualification-fieldset legend {
    font-size: 16px;
    line-height: 22px;
  }

  body.toma-recruit-lp .contact-form > p:has(input[name="age"]) input,
  body.toma-recruit-lp .contact-form > p:has(input[name="experience"]) input,
  body.toma-recruit-lp .contact-form > p:has(textarea[name="your-message"]) textarea {
    font-size: 16px;
    line-height: 1.5;
  }

  .faq summary {
    position: relative;
    padding-left: 18px;
    font-weight: 600;
  }

  .faq summary::after,
  .faq details[open] summary::after {
    position: absolute;
    top: 50%;
    right: 0px;
    float: none;
    margin-top: 0px;
    transform: translateY(-50%);
  }

  .faq summary,
  .faq details p {
    display: flex;
    align-items: center;
    gap: 16px;
  }

  .faq details p {
    padding: 20px 18px;
  }

  .faq summary b,
  .faq details p b {
    flex: 0 0 1em;
    min-width: 0px;
    margin-right: 0px;
  }

  .faq summary span,
  .faq details p span {
    flex: 1 1 auto;
    min-width: 0px;
  }

  body.toma-recruit-lp .contact-form fieldset label {
    display: flex;
    margin-right: 0px;
  }

  body.toma-recruit-lp .contact-form .qualification-fieldset .wpcf7-list-item label {
    height: 46px;
    border-radius: 10px;
  }

  body.toma-recruit-lp .submit-button {
    width: 100%;
    height: 92px;
    font-size: 24px;
  }

  footer > .wrap {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  footer h2 {
    font-size: 24px;
    display: none;
    gap: 0px;
  }

  footer img {
    height: 180px;
  }

  .footer-brand {
    color: #fff;
    width: 270px;
    height: 70px;
  }

  footer {
    padding: 36px 0px 39px;
    border-radius: 30px 30px 0px 0px;
  }

  footer h2::before,
  footer h2::after {
    display: none;
  }

  footer > .wrap > img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    object-position: center center;
  }

  .hospital-info > div {
    display: block;
    margin: 14px 0px;
  }

  .hospital-info dt {
    display: inline-block;
    margin-bottom: 6px;
    min-width: 100px;
  }

  .hospital-info dd {
    transform: none;
  }

  .certification {
    min-height: 166px;
    margin-top: 18px;
    padding: 96px 20px 22px;
    font-size: 14px;
    line-height: 1.55;
  }

  .certification::after {
    right: 50%;
    top: 14px;
    transform: translateX(50%);
    width: 88px;
    height: 88px;
  }

  body.toma-recruit-lp .contact-form .qualification-fieldset {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  body.toma-recruit-lp .submit-button::after {
    right: 22px;
    font-size: 20px;
  }

  body.toma-recruit-lp .contact-form .purpose-fieldset .wpcf7-list-item label {
    display: flex;
    width: 100%;
    margin: 0px 0px 12px;
  }

  body.toma-recruit-lp .purpose-fieldset .wpcf7-radio {
    grid-template-columns: 1fr;
    gap: 0px;
  }

  body.toma-recruit-lp .contact-form .purpose-fieldset .wpcf7-list-item:last-child label {
    margin-bottom: 0px;
  }

  body.toma-recruit-lp .contact-form .purpose-fieldset {
    margin-left: -22px;
    margin-right: -22px;
    border-radius: 0px;
    padding: 26px 22px 24px;
  }

  .reason > .section-title {
    min-height: 104px;
    margin-bottom: 38px;
    background-size: 305px auto;
  }

  .doctor::before {
    left: 20px;
    top: 19px;
    width: 92%;
    background-image: url("images/doctor-brush-sp.svg");
    background-size: 100% auto;
  }

  .doctor-content {
    display: block;
  }

  .doctor-role {
    display: block;
    width: max-content;
    margin-right: auto;
    margin-left: auto;
  }

  .doctor-link {
    margin: 28px auto 0px;
  }

  .doctor > h2::before {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    margin-right: 0px;
    background-size: 42px 42px;
    vertical-align: initial;
  }

  .hero {
    height: auto;
    min-height: 0px;
    max-height: none;
    aspect-ratio: 375 / 404;
  }

  .hero::after {
    background-size: 2.5px 2.5px;
    opacity: 0.7;
  }

  .hero-video-pc {
    display: none;
  }

  .hero-video-sp {
    display: block;
  }

  .hero-logo {
    left: 5.87%;
    top: 3.96%;
    width: 88.17%;
  }

  .hero-copy {
    left: 2.4%;
    bottom: 8.2%;
    width: 90.13%;
  }

  .hero-contact,
  .hospital-link-pc {
    display: none;
  }

  .hospital-link-sp {
    position: relative;
    display: flex;
    width: 100%;
    height: 79px;
    max-width: none;
    margin: 0px;
    padding: 8px 82px 8px 35px;
    background: #e89aba;
    flex-direction: column;
    justify-content: center;
    color: #fff;
  }

  .hospital-link-sp::after {
    content: "";
    position: absolute;
    right: 19.5%;
    top: 12%;
    bottom: 12%;
    width: 2px;
    background: rgba(255, 255, 255, 0.75);
  }

  .hospital-link-sp strong {
    font-size: 20px;
    line-height: 1.35;
  }

  .hospital-link-sp span {
    font-size: 16px;
    font-weight: 500;
    line-height: 1.55;
  }

  .hospital-link-sp .hospital-arrow {
    position: absolute;
    right: 7%;
    top: 50%;
    width: 22px;
    height: 44px;
    transform: translateY(-50%);
    filter: brightness(0) invert(1);
  }

  .contact-link-sp {
    display: flex;
    width: 100%;
    padding: 0px 44% 0px 36px;
    align-items: center;
    background: #becc00;
    color: #fff;
    overflow: visible;
    position: relative;
    z-index: 50;
    height: 74px;
  }

  .contact-link-sp strong {
    position: relative;
    z-index: 2;
    font-size: clamp(20px, 5.2vw, 26px);
    line-height: 1.28;
    white-space: nowrap;
  }

  .contact-link-sp > span {
    position: absolute;
    right: 0px;
    aspect-ratio: 186 / 96;
    pointer-events: none;
    width: 52%;
    height: 110px;
    bottom: 0px;
    overflow: hidden;
  }

  .contact-link-sp img {
    position: absolute;
    top: auto;
    bottom: 0px;
    left: 7px;
    width: 100%;
    height: auto;
    max-width: none;
    z-index: 1;
  }

  .hero-actions::after {
    right: 0px;
    top: 50%;
    bottom: auto;
    width: 100%;
    background-position: right center;
    transform: translateY(-50%);
  }

  .hero-actions .button.ghost {
    background: #fff;
  }

  .button {
    height: 100px;
    border-radius: 28px;
    font-size: 24px;
  }

  .button::before {
    left: 8%;
    font-size: 17px;
  }

  .data-heading {
    position: relative;
    display: block;
    margin-top: 34px !important;
  }

  .data-heading img {
    position: absolute;
    right: calc(100% + 7px);
    width: 96px;
    height: 96px;
    transform: translateY(-50%);
  }

  #voice {
    padding-top: 35px;
    margin-top: -20px;
    padding-bottom: 30px;
    border-radius: 30px;
  }

  .numbers > .section-title {
    min-height: 104px;
    margin-bottom: 3px;
    background-size: 305px auto;
    transform: translateY(-35px);
  }

  .number-grid {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-top: -17px;
  }

  .number-grid article {
    min-height: 250px;
    padding: 22px;
  }

  .number-grid h3 {
    font-size: 20px;
  }

  .number-grid strong {
    font-size: 44px;
  }

  .number-main > img {
    width: 130px;
    height: 130px;
  }

  .number-main > img.people-chart {
    width: auto;
    height: 112px;
  }

  .number-grid p {
    font-size: 10px;
  }

  .voice-title {
    width: 142px;
    height: auto;
  }

  .voice-kicker {
    gap: 8px;
    font-size: 20px;
    white-space: nowrap;
  }

  .voice-kicker::before,
  .voice-kicker::after {
    width: 21px;
    height: 40.5px;
    background-size: 3px 100%;
  }

  .learning {
    width: 90%;
    max-width: none;
    margin-top: 52px;
    padding: 68px 18px 28px;
  }

  .learning h3 {
    left: 50%;
    top: -36px;
    width: 100cqw;
    transform: translateX(-50%);
  }

  .learning-lead {
    margin-bottom: 25px;
    line-height: 1.6;
    font-size: 16px;
  }

  .learning > div {
    flex-wrap: wrap;
    gap: 14px 16px;
  }

  .learning span > img {
    height: 38px;
    margin-bottom: 5px;
  }

  .learning b {
    font-size: 18px;
  }

  .learning small {
    font-size: 14px;
  }

  .intro .narrow {
    max-width: none;
    width: calc(100% - 18px);
    min-height: 0px;
    padding-top: 8.53vw;
  }

  .intro .lead-copy {
    white-space: nowrap;
    font-size: 5.333vw;
    line-height: 9.333vw;
    margin-bottom: 11.2vw;
  }

  .philosophy {
    min-height: 0px;
    background-image: url("images/philosophy-bg-sp-updated.webp");
    background-size: 100% auto;
    background-color: transparent;
    border-radius: 0px;
    height: auto;
    aspect-ratio: 750 / 2458;
    margin-top: -12.4vw !important;
    padding: 17.333vw 0px 0px !important;
  }

  .policy ul {
    padding-left: 0px;
  }

  .message {
    margin-top: -32px;
    padding: 55px 0px 70px;
    border-radius: 34px 34px 0px 0px;
  }

  .message::before {
    top: 15px;
    width: 300px;
    height: 103px;
    z-index: 0;
  }

  .message-title {
    margin-bottom: 42px;
  }

  .message-grid {
    gap: 48px;
  }

  .message article,
  .message article.reverse {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    gap: 12px;
  }

  .message .message-label {
    grid-area: 1 / 1;
    font-size: 14px;
  }

  .message article.reverse .message-label {
    grid-area: 1 / 1;
    font-size: 14px;
    flex-direction: row;
  }

  .message article > img {
    grid-area: 2 / 1;
    width: 100%;
    height: 180px;
    object-fit: cover;
    padding-left: 0px;
    padding-right: 0px;
  }

  .message article.reverse > img {
    grid-area: 2 / 1;
    width: 100%;
    height: 180px;
    object-fit: cover;
  }

  .message article > div,
  .message article.reverse > div {
    grid-area: 3 / 1;
  }

  .message h3 {
    font-size: 22px;
    line-height: 1.45;
  }

  .message p {
    line-height: 1.8;
  }

  .message .name {
    font-size: 16px;
  }

  .message article .name {
    margin-bottom: 0px;
    padding-bottom: 6px;
    font-weight: 700 !important;
  }

  .message article .name + p {
    margin-top: 8px;
  }

  .voices .section-title h2 {
    font-size: 24px;
  }

  .recruit .section-title h2,
  .faq .section-title h2,
  .contact .section-title h2,
  body.toma-recruit-lp .contact-form .submit-button,
  body.toma-recruit-lp .privacy-policy h3 {
    font-size: 23.927px;
  }

  body.toma-recruit-lp .contact-form label.privacy {
    font-size: 15.951px;
  }

  body.toma-recruit-lp .privacy-policy {
    padding: 25px 20px;
  }

  body.toma-recruit-lp .privacy-policy p {
    font-size: 19.939px;
  }

  .number-grid article:nth-child(1) strong {
    font-size: 43.716px;
  }

  .number-grid article:nth-child(1) strong em {
    font-size: 20.984px;
  }

  .number-grid article:nth-child(5) strong {
    font-size: 43.787px;
  }

  .number-grid article:nth-child(5) strong em {
    font-size: 21.018px;
  }

  .number-grid article:nth-child(4) > small,
  .number-grid article:nth-child(5) > small {
    font-size: 12.26px;
  }

  #reason {
    padding-top: 25px;
    padding-bottom: 50px;
    border-radius: 30px 30px 0px 0px;
  }

  .reason-list h3 {
    line-height: 1.5;
    font-weight: 700;
  }

  .reason-list p {
    margin-top: 15px;
  }

  .reason-list article:nth-child(2) small {
    font-size: 20px;
  }

  .learning span:last-child small {
    font-size: 14px;
  }

  #recruit {
    padding-top: 35px;
    padding-bottom: 0px;
  }

  #recruit .section-title {
    margin-bottom: 10px;
  }

  #contact {
    padding-bottom: 10px;
  }

  .contact-card h3 {
    line-height: 1.4;
    margin-bottom: 15px;
  }

  body.toma-recruit-lp .contact-form label.privacy .wpcf7-list-item > label {
    gap: 3px;
  }

  .contact-link-sp-slot {
    display: block;
    height: 74px;
  }

  body.toma-recruit-lp.contact-banner-following {
    padding-bottom: calc(74px + env(safe-area-inset-bottom));
  }

  .contact-banner-close {
    display: none;
  }

  .contact-link-sp.is-following {
    position: fixed;
    bottom: var(--contact-banner-bottom, 0px);
    left: 0px;
    height: calc(74px + env(safe-area-inset-bottom));
    padding-bottom: env(safe-area-inset-bottom);
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px);
    pointer-events: none;
    transition-property: opacity, transform, visibility;
    transition-duration: 0.28s, 0.28s, 0s;
    transition-timing-function: ease, ease, linear;
    transition-delay: 0s, 0s, 0.28s;
    transition-behavior: normal, normal, normal;
  }

  .contact-link-sp.is-following.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0px);
    pointer-events: auto;
    transition-delay: 0s;
  }

  .contact-link-sp.is-following > span {
    bottom: env(safe-area-inset-bottom);
  }

  .contact-link-sp img.contact-nurses {
    left: 0px;
    top: auto;
    bottom: 0px;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center bottom;
  }

  .intro {
    aspect-ratio: 375 / 902;
    display: block;
    border-radius: 0px;
    background-image: url("images/intro-bg-sp-updated.webp");
    background-size: 100% auto;
    background-color: transparent;
  }

  .intro .support-copy {
    font-size: 8vw;
    line-height: 1.3;
    margin-bottom: 10.133vw;
  }

  .intro .detail-copy {
    font-size: 5.333vw;
    line-height: 1.75;
  }

  .intro-photo-left {
    object-position: 50% 35%;
    left: 2.4%;
    top: 68%;
    width: 47.2%;
    aspect-ratio: 177 / 188;
  }

  .philosophy .section-title {
    margin-bottom: 6.667vw;
  }

  .philosophy .section-title span {
    font-size: 3.733vw;
    padding-bottom: 3.467vw;
  }

  .philosophy .section-title h2 {
    font-size: 6.4vw;
    margin-top: 2.667vw;
  }

  .philosophy-main {
    font-size: 6.4vw;
    line-height: 1.8;
    margin: 2.667vw 0px 0px;
  }

  .philosophy-photo {
    border-radius: 4.5vw;
    display: none;
  }

  .philosophy-photo-ambulance {
    display: block;
    left: 58%;
    width: 42%;
    height: 33.6vw;
    border-radius: 4.5vw 0px 0px 4.5vw;
    top: -18.667vw;
  }

  .philosophy-photo-uniform {
    left: 5%;
    width: 50.4%;
    height: 10%;
    top: 32.88%;
  }

  .philosophy-photo-care {
    right: 0px;
    width: 60.5%;
    height: 11%;
    top: 44.2%;
  }

  .philosophy-photo-team {
    left: 0px;
    right: auto;
    width: 49.3%;
    height: 11.7%;
    border-radius: 0px 4.5vw 4.5vw 0px;
    top: 82.4%;
  }

  .philosophy .policy {
    left: 6%;
    width: 88%;
    padding: 5.33vw 4.53vw;
    border-radius: 5.33vw;
    top: 47.2%;
    height: 27.7%;
    background: transparent;
  }

  .philosophy .policy h3 {
    font-size: 4.8vw;
    line-height: 1.5;
    margin: 0px 0px 2vw;
  }

  .philosophy .policy li {
    font-size: 4.107vw;
    line-height: 1.5;
    padding: 1.067vw 0px 0px 4.8vw;
  }

  .message article > .interview-thumbnail,
  .message article.reverse > .interview-thumbnail {
    grid-area: 2 / 1;
    padding: 0px;
  }

  .voice-grid .interview-thumbnail {
    aspect-ratio: 584 / 346;
  }

  .gallery-track {
    width: 2880px;
    animation: 35s linear 0s infinite normal none running gallery-scroll;
  }

  .gallery-track .gallery-panorama {
    width: 1440px;
    flex: 0 0 1440px;
    height: 293px !important;
    object-fit: contain !important;
  }

  .gallery-track .gallery-copy {
    display: block !important;
  }

  .reason-list .reason-responsive-picture {
    height: auto;
  }

  .reason-list article > img,
  .reason-list article:nth-child(n) > .reason-responsive-picture > img,
  .reason-list article:first-child .reason-card-picture img {
    height: auto;
    min-height: 0px;
    width: 100%;
    max-width: 100%;
    aspect-ratio: 662 / 469;
    object-fit: contain;
  }

  body.toma-recruit-lp .contact-form .purpose-fieldset legend {
    width: 100%;
    text-align: center;
  }

  .footer-brand > .footer-logo {
    height: 70px;
    max-width: 100%;
  }

  .intro-photo-right {
    right: 1.06%;
    top: 63.08%;
    width: 47.47%;
    aspect-ratio: 178 / 183;
  }

  .voice-grid article {
    min-width: 0px;
  }

  .voice-grid article > a {
    width: 100%;
    max-width: 332px;
  }
}

/* Desktop layout */
@media (min-width: 921px) {
  .faq summary,
  .faq details p {
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr);
    column-gap: 26px;
    align-items: baseline;
  }

  .faq summary {
    position: relative;
    padding-right: 60px;
  }

  .faq b {
    margin-right: 0px;
  }

  .faq summary::after,
  .faq details[open] summary::after {
    position: absolute;
    right: 30px;
    top: 50%;
    margin-top: 0px;
    transform: translateY(-50%);
  }

  .pc-none {
    display: none !important;
  }

  .reason-list article:nth-child(2) {
    align-items: stretch;
  }

  .reason-list article:nth-child(2) > img,
  .reason-list article:nth-child(2) > .reason-responsive-picture > img {
    height: 100%;
    aspect-ratio: auto;
    align-self: stretch;
  }

  body.toma-recruit-lp .contact-form {
    width: min(1187px, 100% - 48px);
    padding-left: 0px;
    padding-right: 0px;
  }

  body.toma-recruit-lp .contact-form > p:has(+ .form-row) > label {
    font-size: 24px;
    line-height: 32px;
  }

  body.toma-recruit-lp .contact-form > p:has(+ .form-row) {
    height: 32px;
    margin-bottom: 22px;
    line-height: 32px;
  }

  body.toma-recruit-lp .form-row > p {
    width: 907px;
    grid-template-columns: 437px 437px;
  }

  body.toma-recruit-lp .contact-form > p:has(input[name="your-tel"]),
  body.toma-recruit-lp .contact-form > p:has(input[name="your-email"]) {
    width: 716px;
    margin: 0px;
  }

  body.toma-recruit-lp .contact-form > p:has(input[name="your-tel"]) > label,
  body.toma-recruit-lp .contact-form > p:has(input[name="your-email"]) > label {
    margin: 0px;
    font-size: 24px;
    line-height: 32px;
  }

  body.toma-recruit-lp .contact-form > p:has(input[name="your-tel"]) input {
    width: 716px;
    height: 70px;
    font-size: 16px;
    line-height: 1.5;
    margin-top: 32px;
  }

  body.toma-recruit-lp .contact-form > p:has(input[name="your-email"]) input {
    width: 716px;
    height: 70px;
    font-size: 16px;
    line-height: 1.5;
    margin-top: 4px;
  }

  body.toma-recruit-lp .contact-form > p:has(input[name="your-tel"]) + p {
    margin: 10px 0px 41px;
    font-size: 16px;
    line-height: 20px;
  }

  .contact-link-sp-slot {
    display: none;
  }

  .hero-contact {
    bottom: max(145px, 100dvh + 24px - 44.44vw);
  }

  .contact-banner-close {
    bottom: calc(153px + max(145px, 100dvh + 24px - 44.44vw));
  }

  .philosophy .policy li {
    font-size: 1.25vw;
    line-height: 2.1;
  }

  .intro {
    aspect-ratio: 2880 / 1412;
  }

  .philosophy {
    background-image: url("images/philosophy-bg-pc-updated.webp");
    aspect-ratio: 4320 / 3290;
  }

  .philosophy-photo {
    display: none;
  }

  .philosophy .policy {
    top: 35.2%;
    height: 35%;
    background: transparent;
  }
}

/* Pointer hover interactions */
@media (hover: hover) {
  .button.ghost:hover,
  .small-button:hover,
  .voice-grid article > a:hover {
    background: var(--pink);
    color: #fff;
    box-shadow: rgba(231, 154, 184, 0.24) 0px 8px 20px;
    transform: translateY(-2px);
  }

  .button.fill:hover,
  body.toma-recruit-lp .submit-button:hover {
    background: #fff;
    color: var(--pink);
    box-shadow: rgba(231, 154, 184, 0.2) 0px 8px 20px;
    transform: translateY(-2px);
  }

  body.toma-recruit-lp .submit-button:hover::after {
    color: var(--pink);
  }

  .interview-thumbnail:hover::after {
    opacity: 0.3;
  }

  .hospital-link-pc:hover {
    background: var(--pink-deep);
    color: #fff;
  }

  .hospital-link-pc:hover img {
    filter: brightness(0) invert(1);
  }

  .hospital-link-pc:hover::after {
    background: #fff;
  }

  .hero-actions .button:hover,
  body.toma-recruit-lp .contact-form .purpose-fieldset label:hover,
  body.toma-recruit-lp .contact-form .purpose-fieldset label:has(input:checked):hover {
    background: #f3bbce;
    color: #fff;
    border-color: #f3bbce;
    transform: none;
    box-shadow: none;
  }
}

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

  * {
    animation: auto ease 0s 1 normal none running none !important;
    transition-property: none !important;
    transition-duration: 0s !important;
    transition-timing-function: ease !important;
    transition-delay: 0s !important;
    transition-behavior: normal !important;
  }

  .gallery-track {
    animation: auto ease 0s 1 normal none running none;
  }

  .interview-thumbnail::after {
    transition-property: none;
    transition-duration: 0s;
    transition-timing-function: ease;
    transition-delay: 0s;
    transition-behavior: normal;
  }
}

/* Compact interview popup */
@media (max-width: 600px) {
  .interview-dialog {
    --interview-width: 100%;
    padding: 64px 16px max(16px,env(safe-area-inset-bottom));
  }

  .interview-transcript {
    margin-top: 16px;
    padding: 16px 10px 0px 0px;
  }

  .interview-dialog h2 {
    font-size: 20px;
    margin-bottom: 16px;
  }

  .interview-speaker {
    font-size: 16px;
  }

  .interview-role {
    font-size: clamp(10px, 3.3vw, 13px);
    padding: 7px 18px;
    margin-bottom: 32px;
  }

  .interview-text {
    font-size: 14px;
    line-height: 1.9;
  }

  .interview-text h3 {
    font-size: 16px;
    margin-top: 28px;
  }

  .interview-close {
    top: 18px;
    right: 18px;
    width: 28px;
    height: 28px;
  }
}

@keyframes gallery-scroll {
  100% { transform: translateX(-1440px); }
}
