:root {
  --familySans: "Noto Sans JP", sans-serif;
  --familySerif: "Noto Serif JP", serif;
  --familyCursive: "Yellowtail", cursive;
  --fontMax40Min28: clamp(1.75rem, 0.972rem + 2.26vw, 2.5rem);
  --fontMax32Min24: clamp(1.5rem, 0.981rem + 1.51vw, 2rem);
  --fontMax24Min18: clamp(1.125rem, 0.736rem + 1.13vw, 1.5rem);
  --fontMax18Min16: clamp(1rem, 0.87rem + 0.38vw, 1.125rem);
  --fontMax16Min14: clamp(0.875rem, 0.745rem + 0.38vw, 1rem);
  --fontMax14Min12: clamp(0.75rem, 0.62rem + 0.38vw, 0.875rem);
  --colorGray200: #d9d7d2;
  --colorGray800: #413e37;
  --colorBlack: #251214;
  --colorSub: #f6656d;
  --colorPink: #ff958c;
  --colorBorder: #d2d2d2;
  --colorBase: #fff2f0;
  --colorMain: #d70a25;
  --colorAccent: #ffded4;
}

/* Common CSS */

html {
  scroll-behavior: smooth;
}

body {
  background: #fff;
}

body.navOpen {
  overflow: hidden;
}

p,
h5,
h4,
h3,
h2,
h1,
a,
dd,
dt,
li,
figcaption,
button,
label,
input,
textarea,
select,
address {
  color: var(--colorGray800);
  font-family: var(--familySans);
  font-size: var(--fontMax16Min14);
  font-weight: 400;
  line-height: 1.8;
}

a {
  transition: 0.3s;
}

a:hover {
  opacity: 0.6;
}

.pageContainer {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

@media screen and (max-width: 767px) {
  .pageContainer {
    gap: 2.5rem;
  }
}

.sectionTitle {
  h2 {
    color: var(--colorSub);
    font-family: var(--familyCursive);
    font-size: var(--fontMax40Min28);
    letter-spacing: 0.04em;
    line-height: 1.4;
    text-align: center;
  }

  p {
    font-family: var(--familySerif);
    font-size: var(--fontMax24Min18);
    font-weight: 700;
    padding: 0.5rem 0;
    position: relative;
    text-align: center;
  }

  p::after {
    background: var(--colorSub);
    bottom: 0;
    content: "";
    height: 0.1875rem;
    left: 50%;
    position: absolute;
    transform: translateX(-50%);
    width: 6.625rem;
  }
}

.mainCTA {
  align-items: center;
  background: linear-gradient(to bottom, #ffebd4 0%, #ffd0b7 50%, #ffded4 100%);
  border-radius: 16px;
  bottom: 1.5rem;
  color: #fff;
  display: flex;
  flex-direction: column;
  font-size: 1.125rem;
  font-weight: 700;
  height: 7.125rem;
  justify-content: center;
  position: fixed;
  right: 1.5rem;
  width: 15.5rem;
  z-index: 5;

  .mainCTA__bg {
    background: var(--colorSub);
    border-radius: 16px;
    display: block;
    height: calc(100% - 4px);
    position: absolute;
    width: calc(100% - 4px);
    z-index: -1;
  }

  .mainCTA__upperText {
    font-size: 1.5rem;
  }

  .mainCTA__lowerText {
    display: flex;
    gap: 0.625rem;
  }

  .mainCTA__lowerText img {
    max-width: 1.5rem;
  }

  @media screen and (max-width: 767px) {
    border-radius: 12px;
    font-size: 0.875rem;
    height: 5rem;
    width: 11.25rem;

    .mainCTA__bg {
      border-radius: 12px;
    }

    .mainCTA__upperText {
      font-size: 1.25rem;
    }

    .mainCTA__lowerText img {
      max-width: 1.25rem;
    }
  }
}

/* Header */

.pageHeaderLine {
  background: #fff;
  height: 5rem;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10;
}

.pageHeader {
  align-items: center;
  display: flex;
  height: 5rem;
  justify-content: space-between;
  left: 50%;
  max-width: 88.75rem;
  padding: 0 1.25rem;
  position: fixed;
  top: 0;
  transform: translateX(-50%);
  width: 100%;
  z-index: 10;

  .logo {
    display: block;
  }

  .logo img {
    max-width: 20rem;
  }

  @media screen and (max-width: 767px) {
    .logo img {
      max-width: 14rem;
    }
  }
}

.navbar {
  ul {
    display: flex;
    gap: 2rem;
  }

  li {
    position: relative;
  }

  li:not(:first-child)::before {
    background: var(--colorGray200);
    content: "";
    height: 1rem;
    left: -1rem;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
  }

  a {
    font-size: var(--fontMax14Min12);
    font-weight: 700;
  }

  @media screen and (max-width: 1240px) {
    display: none;
  }
}

.hamburger {
  background: transparent;
  border: none;
  display: none;
  height: 1.5rem;
  position: relative;
  width: 2rem;

  span {
    background: #d70a25;
    content: "";
    height: 1px;
    left: 50%;
    position: absolute;
    transform: translateX(-50%);
    transition: 0.4s;
    width: 100%;
  }

  span:nth-child(1) {
    top: 0;
  }

  span:nth-child(2) {
    top: 50%;
  }

  span:nth-child(3) {
    top: 100%;
  }

  @media screen and (max-width: 1240px) {
    display: block;
  }
}

.navOpen .hamburger {
  span:nth-child(1) {
    transform: translate(-50%, 12px) rotate(35deg);
  }

  span:nth-child(2) {
    opacity: 0;
    transform: translateX(12px);
    visibility: hidden;
  }

  span:nth-child(3) {
    transform: translate(-50%, -12px) rotate(-35deg);
  }
}

.sidedrawer {
  background: var(--colorBase);
  height: 100%;
  left: 0;
  overflow: scroll;
  position: fixed;
  top: 0;
  transform: translateX(100%);
  transition: 0.4s ease-in-out;
  width: 100%;
  z-index: 9;
}

.navOpen .sidedrawer {
  transform: translateX(0);
}

.sidedrawer__list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  height: 100%;
  justify-content: center;
  margin: 0 1.25rem;

  li {
    margin: 0 auto;
    padding-bottom: 0.75rem;
    position: relative;
    width: fit-content;
  }

  li::after {
    background: var(--colorSub);
    bottom: 0;
    content: "";
    height: 2px;
    left: 50%;
    position: absolute;
    transform: translateX(-50%);
    width: 6.625rem;
  }

  a {
    font-size: 1.125rem;
    font-weight: 500;
    text-align: center;
  }

  @media screen and (max-height: 600px) {
    margin: 2rem 1.25rem;
    margin-top: 7.5rem;
  }
}

/* Main Visual */

.mv {
  background: linear-gradient(to bottom, #fff2f1 0%, #ffded4 69%, #ffded4 100%);
  overflow: hidden;
  padding-top: 6.25rem;

  .mv__container {
    display: grid;
    gap: 16px;
    grid-template-columns: 1fr 1fr;
    margin: 0 auto;
    max-width: 90rem;
    min-height: 37.5rem;
    position: relative;
    width: calc(100% - 3rem);
  }

  .mv__left,
  .mv__imageBox,
  .mv__image {
    position: relative;
  }

  .mv__right {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  .mv__image--absolute {
    left: 0;
    position: absolute;
    top: 0;
    z-index: 1;
  }

  .mv__image--hidden {
    opacity: 0;
  }

  .mv__image::after {
    background: #ffd5d3;
    border-radius: 30px;
    content: "";
    display: block;
    height: 100%;
    left: 0;
    opacity: 0.1;
    position: absolute;
    top: 0;
    width: 100%;
  }

  .mv__image img {
    border-radius: 30px;
  }
}

.mv__contents {
  bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  left: 0;
  position: absolute;
  z-index: 2;

  .mv__lead {
    background: var(--colorSub);
    border-radius: 100px;
    color: #fff;
    font-weight: 700;
    margin-left: 1.5625rem;
    padding: 0.25rem 2.5rem;
    position: relative;
    width: fit-content;
  }

  .mv__lead::after {
    background: var(--colorSub);
    bottom: -0.5625rem;
    clip-path: polygon(0 0, 100% 0, 50% 100%);
    content: "";
    display: block;
    height: 0.875rem;
    left: 50%;
    position: absolute;
    transform: translateX(-50%);
    width: 1.625rem;
  }

  h1 {
    display: flex;
    flex-direction: column;
    /* Max 40px - Min 24px*/
    font-size: clamp(1.625rem, 0.885rem + 2.15vw, 2.5rem);
    gap: 1rem;
    margin-left: 1.5625rem;
  }

  h1 span {
    background: #fff;
    border-radius: 10px;
    padding: 4px 0 4px 1.5625rem;
    width: fit-content;
  }

  .mv__list {
    display: flex;
    gap: 1rem;
  }

  .mv__list li {
    align-items: center;
    background: linear-gradient(to bottom, #ffebd4 0%, #ffd0b7 50%, #ffded4 100%);
    border-radius: 50%;
    display: flex;
    height: clamp(11.25rem, 14.5vw, 13.125rem);
    justify-content: center;
    position: relative;
    width: clamp(11.25rem, 14.5vw, 13.125rem);
    z-index: 1;
  }

  .mv__itemBg {
    background: var(--colorPink);
    border-radius: 50%;
    height: calc(100% - 4px);
    left: 50%;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: calc(100% - 4px);
    z-index: -1;
  }

  .mv__itemText {
    color: #fff;
    font-size: 1.125rem;
    font-weight: 700;
    text-align: center;
  }

  .mv__itemText .xl {
    font-size: clamp(2rem, 0.864rem + 1.82vw, 2.5rem);
  }

  .mv__itemText .lg {
    font-size: clamp(1.5rem, 0.364rem + 1.82vw, 2rem);
  }

  .mv__itemText .md {
    font-size: clamp(1.125rem, 0.273rem + 1.36vw, 1.5rem);
  }

  .mv__itemText .sm {
    font-size: clamp(0.875rem, 0.591rem + 0.45vw, 1rem);
  }
}

@media screen and (max-width: 1440px) {
  .mv {
    .mv__container {
      gap: 1.1111vw;
      min-height: unset;
      width: calc(100% - 3.3333vw);
    }

    .mv__right {
      gap: 1.1111vw;
    }
  }

  .mv__contents {
    gap: 1.1111vw;

    .mv__lead {
      margin-left: 1.7361vw;
      padding: 0.2778vw 2.7778vw;
    }

    .mv__lead::after {
      bottom: -0.625vw;
      height: 0.9722vw;
      width: 1.8056vw;
    }

    h1 {
      font-size: 2.7778vw;
      gap: 1.1111vw;
      margin-left: 1.7361vw;
    }

    h1 span {
      padding: 0.2778vw 0 0.2778vw 1.7361vw;
    }

    .mv__list {
      gap: 1.1111vw;
    }

    .mv__list li {
      height: 14.5833vw;
      width: 14.5833vw;
    }

    .mv__itemBg {
      height: calc(100% - 0.2778vw);
      width: calc(100% - 0.2778vw);
    }

    .mv__itemText {
      font-size: 1.25vw;
    }

    .mv__itemText .xl {
      font-size: 2.7778vw;
    }

    .mv__itemText .lg {
      font-size: 2.2222vw;
    }

    .mv__itemText .md {
      font-size: 1.6667vw;
    }

    .mv__itemText .sm {
      font-size: 1.1111vw;
    }
  }
}

@media screen and (max-width: 1000px) {
  .mv {
    .mv__container {
      gap: 0.91vw;
      grid-template-columns: 56.6vw auto;
      min-height: unset;
      padding-bottom: 13vw;
      width: calc(100% - 6.25vw);
    }

    .mv__right {
      gap: 0.125rem;
    }
  }

  .mv__contents {
    display: grid;
    gap: 1.56vw 2.4vw;
    grid-template-columns: auto 1fr;

    .mv__lead {
      font-size: 1.95vw;
      grid-column: 1;
      grid-row: 1;
      line-height: 1.2;
      margin-left: 0;
      padding: 0.52vw 2.08vw;
    }

    h1 {
      font-size: 3.77vw;
      gap: 0.7407vw;
      grid-column: 1;
      grid-row: 2;
      margin-left: 0;
    }

    h1 span {
      padding-left: 1.56vw;
    }

    .mv__list {
      align-items: flex-end;
      grid-column: 2;
      grid-row: 2;
    }

    .mv__list li {
      height: 12.5vw;
      width: 12.5vw;
    }

    .mv__itemText .xl {
      font-size: 2.34vw;
    }

    .mv__itemText .lg,
    .mv__itemText .md {
      font-size: 1.56vw;
    }

    .mv__itemText .sm,
    .mv__itemText {
      font-size: 1.3vw;
      line-height: 1.4;
    }
  }
}

@media screen and (max-width: 767px) {
  .mv {
    .mv__container {
      display: flex;
      flex-direction: column;
      padding-bottom: 0;
    }

    .mv__left {
      order: 1;
      position: relative;
    }

    .mv__right {
      gap: 0.4375rem;
      display: grid;
      grid-template-columns: 1fr 1fr;
      order: 3;
    }

    #mvImage1 {
      position: relative;
    }

    .mv__image--absolute {
      width: 100%;
    }
  }

  .mv__contents {
    display: flex;
    gap: 3.2vw;
    margin: -3.4vw 0 3.4667vw;
    order: 2;
    position: relative;

    .mv__lead {
      font-size: 3.2vw;
      line-height: 1.2;
      padding: 1.0667vw 4.2667vw;
    }

    .mv__lead::after {
      bottom: -2.1333vw;
      height: 2.6667vw;
      width: 4.5333vw;
    }

    h1 {
      font-size: 6.4vw;
      gap: 2.1333vw;
    }

    h1 span {
      padding: 1.0667vw 0 1.0667vw 3.2vw;
    }

    .mv__list {
      align-self: center;
      gap: 1.0667vw;
    }

    .mv__list li {
      height: 28.8vw;
      width: 28.8vw;
    }

    .mv__itemBg {
      height: calc(100% - 1.0667vw);
      width: calc(100% - 1.0667vw);
    }

    .mv__itemText {
      font-size: 3.2vw;
    }

    .mv__itemText .xl {
      font-size: 4.8vw;
    }

    .mv__itemText .lg {
      font-size: 4.8vw;
    }

    .mv__itemText .md {
      font-size: 3.7333vw;
    }

    .mv__itemText .sm {
      font-size: 3.2vw;
    }
  }
}

.mv__cta {
  background: var(--colorSub);
  border-radius: 30px;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  margin: clamp(5rem, 12.963vw, 8.75rem) auto 0;
  max-width: 63.125rem;
  padding: 2.5rem clamp(1.625rem, 3.7vw, 2.5rem);
  width: calc(100% - 2.5rem);

  .mv__ctaMessage {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
  }

  .mv__ctaText {
    color: #fff;
    font-size: var(--fontMax24Min18);
    font-weight: 700;
    text-align: center;
  }

  .mv__ctaText--grid {
    align-items: center;
    display: grid;
    gap: 0.25rem;
    grid-template-columns: auto 1fr auto;
    margin: 0 auto;
    width: fit-content;
  }

  .mv__ctaText--grid span:first-child {
    margin-right: 6px;
  }

  .mv__ctaLink {
    align-items: center;
    background: #fff;
    border-radius: 50px;
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin: 0 auto;
    padding: 1rem 2.5rem;
    transition: 0.3s;
    width: fit-content;
  }

  .mv__ctaLink:hover {
    opacity: 0.8;
  }

  .mv__ctaIcon img {
    max-width: clamp(2.875rem, 7.037vw, 4.75rem);
  }

  .mv__ctaLinkText {
    font-size: var(--fontMax24Min18);
    font-weight: 700;
  }

  .mv__ctaArrow {
    margin-left: 0.5rem;
  }

  .mv__ctaArrow img {
    max-width: clamp(2.375rem, 4.3519vw, 2.9375rem);
  }

  @media screen and (max-width: 767px) {
    padding: 2rem 1rem;

    .mv__ctaLink {
      padding: 0.75rem 1.5rem;
    }

    .mv__ctaIcon img {
      max-width: 2.125rem;
    }

    .mv__ctaArrow img {
      max-width: 1.875rem;
    }
  }
}

/* About */

.about {
  overflow: hidden;
}

.about .pageContainer {
  padding: 5rem 1.25rem clamp(2.5rem, 7.4074vw, 5rem);
}

.about__text {
  font-family: var(--familySerif);
  font-size: var(--fontMax18Min16);
  line-height: 2;
  margin: 0 auto;
  position: relative;
  text-align: center;
  width: fit-content;
  z-index: 1;

  .pink {
    color: var(--colorSub);
    font-weight: 700;
  }

  strong {
    font-size: var(--fontMax24Min18);
    font-weight: 700;
  }
}

.about__text--first::before {
  background: url(../images/lp/icon-about_dot1.png) no-repeat center / cover;
  content: "";
  display: block;
  height: auto;
  height: 9.4375rem;
  position: absolute;
  right: -8.8rem;
  top: -3.3rem;
  width: 9.5rem;
  z-index: -1;
}

.about__text--second::before {
  background: url(../images/lp/icon-about_dot2.png) no-repeat center / cover;
  content: "";
  display: block;
  height: auto;
  height: 17.9125rem;
  left: -10.5rem;
  position: absolute;
  top: -7rem;
  width: 17.125rem;
  z-index: -1;
}

.about__text--second::after {
  background: url(../images/lp/icon-about_dot3.png) no-repeat center / cover;
  content: "";
  display: block;
  height: auto;
  height: 9.4375rem;
  left: -1.5rem;
  position: absolute;
  top: 3.6rem;
  width: 9.5rem;
  z-index: -1;
}

.about__text--third::before {
  background: url(../images/lp/icon-about_dot4.png) no-repeat center / cover;
  content: "";
  display: block;
  height: auto;
  height: 19.5rem;
  position: absolute;
  right: -10.6rem;
  top: -4.1rem;
  width: 19.875rem;
  z-index: -1;
}

.about__text--third::after {
  background: url(../images/lp/icon-about_dot5.png) no-repeat center / cover;
  content: "";
  display: block;
  height: auto;
  height: 9.4375rem;
  left: -6.5rem;
  position: absolute;
  top: 8rem;
  width: 9.5rem;
  z-index: -1;
}

/* Features */

.features .pageContainer {
  margin: 0 auto;
  padding: clamp(2.5rem, 7.4074vw, 5rem) 1.25rem;
}

.features__list {
  display: grid;
  gap: 2.5rem 1.5rem;
  grid-template-columns: 1fr 1fr;
  margin: 0 auto;
  max-width: 60.25rem;
  width: 100%;

  figure {
    align-items: flex-end;
    display: flex;
    justify-content: flex-end;
    min-height: 23.125rem;
    position: relative;
  }

  figcaption {
    font-size: var(--fontMax32Min24);
    font-weight: 700;
    left: 0;
    line-height: 1.4;
    position: absolute;
    text-align: center;
    top: 0;
    width: fit-content;
  }

  .features__number {
    color: var(--colorSub);
    font-weight: 400;
  }

  @media screen and (max-width: 767px) {
    grid-template-columns: 1fr;
    justify-items: center;

    figure {
      align-items: center;
      flex-direction: column;
      gap: 1rem;
      min-height: unset;
    }

    figcaption {
      position: relative;
    }
  }
}

.features__list li:nth-child(1) img {
  max-width: 23.625rem;
}

.features__list li:nth-child(2) img {
  max-width: 24.1875rem;
}

.features__list li:nth-child(3) img {
  max-width: 22.0625rem;
}

.features__list li:nth-child(4) img {
  max-width: 21.0625rem;
}

/*  Jobs */

.jobs {
  .pageContainer {
    padding: clamp(2.5rem, 7.4074vw, 5rem) 1.25rem 5rem;
  }
}

.jobsNotice {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;

  .jobsNotice__text {
    font-size: var(--fontMax18Min16);
    text-align: center;
  }

  .jobsNotice__card {
    align-items: center;
    background: #fff3ef;
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin: 0 auto;
    padding: 1.5rem;
    width: fit-content;
  }

  .jobsNotice__label {
    background: #fff;
    border-radius: 100px;
    color: var(--colorBlack);
    font-size: var(--fontMax14Min12);
    font-weight: 700;
    padding: 0.125rem 0.875rem 0.25rem;
  }

  .jobsNotice__message {
    color: #000;
    font-size: var(--fontMax14Min12);
  }

  @media screen and (max-width: 767px) {
    .jobsNotice__card {
      gap: 0.75rem;
      padding: 1rem 0.75rem;
    }
  }
}

.jobsCard {
  background: var(--colorBase);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: -1.5rem auto 0;
  max-width: 64.75rem;
  padding: 1.25rem;
  width: 100%;
}

.jobsCard.first {
  margin-top: 0;
}

.jobsCard__header {
  align-items: center;
  display: flex;
  gap: 0.625rem;
  justify-content: center;

  img {
    max-width: clamp(3.125rem, 6.48vw, 4.375rem);
  }

  h3 {
    font-size: var(--fontMax24Min18);
    font-weight: 700;
  }
}

.jobsCard__body {
  align-items: flex-start;
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  justify-content: center;
}

.jobsCard__body--grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.areaCard {
  display: flex;
  flex-direction: column;
  width: fit-content;
}

.areaCard__header {
  align-items: center;
  background: #ffd6c9;
  display: flex;
  gap: 0.625rem;
  height: 2.625rem;
  justify-content: center;

  img {
    max-width: clamp(1.25rem, 2.22vw, 1.5rem);
  }

  h4 {
    font-size: var(--fontMax18Min16);
    font-weight: 700;
  }
}

.areaCard__body {
  background: #fff;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 1rem 0;

  .areaCard__column {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
    padding: 0 1rem;
  }

  .areaCard__column:not(:first-child) {
    border-left: 1px solid var(--colorBorder);
  }

  .areaCard__subheading {
    border-radius: 100px;
    color: #fff;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 auto;
    padding: 0.125rem 1rem;
    text-align: center;
    width: 100%;
  }

  .areaCard__subheading--gold {
    background: #eaa73c;
  }

  .areaCard__subheading--green {
    background: #5fc46e;
  }

  .areaCard__subheading--blue {
    background: #6ba8e9;
  }

  .areaCard__subheading--red {
    background: #f67865;
  }

  dl {
    display: flex;
    flex-direction: column;
  }

  dl.areaCard__dlGrid {
    display: grid;
    grid-template-columns: minmax(8.75rem, 14.95rem) minmax(8.75rem, 14.95rem);
  }

  dt {
    font-weight: 700;
  }

  dl.areaCard__dlGrid dt {
    grid-row: 1;
  }

  dd {
    margin-left: 0.875rem;
  }

  dl.areaCard__dlGrid dd {
    grid-row: 2;
  }

  dd .disclaimer {
    font-size: 0.75rem;
  }
}

.areaCard__body--oneColumn {
  grid-template-columns: 1fr;
}

.areaCard__body--threeColumns {
  grid-template-columns: 1fr 1fr 1fr;
}

.jobsCard__body:not(.jobsCard__body--grid) .areaCard__column {
  min-width: 16.25rem;
}

.jobsCard__body--grid .areaCard {
  width: 100%;
}

.jobWave {
  margin-top: clamp(2.5rem, 7.4074vw, 5rem);
}

@media screen and (max-width: 767px) {
  .jobsCard__body:not(.jobsCard__body--grid) .areaCard__column {
    min-width: unset;
  }

  .jobsCard__body--grid {
    display: flex;
  }

  .jobsCard__body {
    align-items: center;
    flex-direction: column;
  }

  .areaCard__body,
  .areaCard__body--threeColumns {
    grid-template-columns: 1fr;
  }

  .areaCard__body {
    .areaCard__column:not(:first-child) {
      border-left: none;
      border-top: 1px solid var(--colorBorder);
      justify-self: center;
      padding: 1rem 0;
      width: calc(100% - 2rem);
    }

    .areaCard__column:first-child {
      padding-bottom: 1rem;
    }
  }

  .areaCard {
    max-width: 24rem;
    width: 100%;
  }
}

@media screen and (max-width: 550px) {
  .areaCard__body {
    dl.areaCard__dlGrid {
      display: flex;
      flex-direction: column;
    }
  }
}

/* Workplace */

.workplace {
  background: #fff3ef;

  .pageContainer {
    margin-top: -0.125rem;
    padding: 2.5rem 1.25rem 5rem;
  }

  .sectionTitle h2 {
    margin-top: 0.5rem;
  }
}

.workplace__arrow {
  margin: 0 auto;
  max-width: 12.125rem;
}

.workplace__group {
  display: flex;
  flex-direction: column;
  gap: 4rem;
  margin: 0 auto;
  max-width: 67.5rem;
  width: 100%;
}

.workplace__heading {
  align-items: center;
  background: #ffd8ce;
  border-radius: 100px;
  display: flex;
  gap: 0.625rem;
  height: 3.75rem;
  justify-content: center;

  .stephoscope {
    max-width: 2rem;
  }

  .house {
    max-width: 1.8125rem;
  }

  h3 {
    font-size: var(--fontMax24Min18);
    font-weight: 700;
  }
}

.workplace__details {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.workplace__areaGroup {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.workplace__subheader {
  display: flex;
  gap: 0.625rem;

  img {
    max-width: clamp(1.5rem, 2.96vw, 2rem);
  }

  h4 {
    font-size: var(--fontMax18Min16);
    font-weight: 700;
  }
}

.workplace__subheader--leftMargin {
  margin-left: 1.5rem;
}

.workplace__areaList {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr 1fr 1fr;

  @media screen and (max-width: 767px) {
    grid-template-columns: 1fr 1fr;
  }

  @media screen and (max-width: 550px) {
    grid-template-columns: 1fr;
  }
}

.workplace__item {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 4px rgba(232, 97, 97, 0.25);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  min-height: 15.625rem;
  padding: 1rem 1.5rem;

  .workplace__cardHeading {
    border-bottom: 1px solid var(--colorSub);
    font-size: var(--fontMax18Min16);
    font-weight: 700;
    padding-bottom: 0.625rem;
    text-align: center;
  }

  .serviceList {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }

  .serviceList li {
    align-items: center;
    display: grid;
    font-size: var(--fontMax18Min16);
    gap: 0.6875rem;
    grid-template-columns: 0.5625rem auto;
  }

  .serviceList .dot {
    display: block;
    height: 0.5625rem;
    width: 0.5625rem;
  }

  .serviceList .bluedot {
    background: #00b7ee;
  }

  .serviceList .greendot {
    background: #c3b60d;
  }

  .serviceList .pinkdot {
    background: #ffa194;
  }

  .serviceList .purpledot {
    background: #c321ad;
  }

  .serviceList .consultationdot{
    background: #81bd5c;
  }

  .workplace__figure {
    display: flex;
    flex-direction: column;
  }

  .workplace__figure figcaption {
    color: #fff;
    font-size: var(--fontMax14Min12);
    font-weight: 700;
    line-height: 1.4;
    padding: 0.5rem;
  }

  .workplace__figure figcaption.pink {
    background: #ff958c;
  }

  .workplace__figure figcaption.green {
    background: #81bd5c;
  }

  .workplace__figure figcaption.gold {
    background: #d8b427;
  }

  .workplace__figure figcaption.orange {
    background: #fe9c57;
  }

  .workplace__figure figcaption.blue {
    background: #57b3fe;
  }

  .workplace__facilityName {
    font-size: var(--fontMax24Min18);
    font-weight: 700;
    line-height: 1.4;
  }

  address {
    line-height: 1.4;
  }
}

.workplace__item--smallgap {
  gap: 0.5rem;
}

.workplace__bottomWave {
  margin-top: -0.125rem;
}

.ability {
  .pageContainer {
    padding: 5rem 1.25rem 0;
  }
}

.ability__display {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.ability__text {
  color: var(--colorSub);
  font-family: var(--familySerif);
  font-size: var(--fontMax40Min28);
  font-weight: 700;
  position: relative;
  text-align: center;
  z-index: 1;
}

.ability__text::after {
  aspect-ratio: 1 / 1;
  content: "";
  display: block;
  left: 50%;
  opacity: 0.6;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: -1;
}

.ability__text:first-child::after {
  background: url(../images/lp/icon-ability_dot1.png) no-repeat center / cover;
  width: 13.375rem;
}

.ability__text:last-child::after {
  background: url(../images/lp/icon-ability_dot2.png) no-repeat center / cover;
  width: 13.5625rem;
}

@media screen and (max-width: 767px) {
  .ability__display {
    gap: 5rem;
    grid-template-columns: 1fr;
  }

  .ability__text:first-child::after {
    background: url(../images/lp/icon-ability_dot1.png) no-repeat center / cover;
    width: 7.5rem;
  }

  .ability__text:last-child::after {
    background: url(../images/lp/icon-ability_dot2.png) no-repeat center / cover;
    width: 7.5rem;
  }

  .workplace__group {
    gap: 2.5rem;
  }
}

/* Interview */

.interview {
  .pageContainer {
    overflow: hidden;
    padding: 5rem 1.25rem 0;
  }
}

.interviewSlider {
  margin: 0 auto;
  padding-bottom: 5rem;
  position: relative;
  width: 100%;

  .swiper-wrapper,
  .swiper {
    overflow: visible;
  }

  .swiper {
    max-width: 67.5rem;
  }

  .swiper-slide {
    border: 2px solid var(--colorPink);
    border-radius: 30px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    height: auto;
    overflow: hidden;
  }

  .slideBody {
    padding: 1.5rem;
  }

  .interview__heading {
    color: #000;
    font-size: var(--fontMax24Min18);
    font-weight: 700;
  }

  .interview__label {
    background: var(--colorSub);
    border-radius: 20px;
    color: #fff;
    font-weight: 700;
    margin-top: 0.25rem;
    padding: 0 1rem;
    width: fit-content;
  }

  .interview__text {
    color: #000;
    margin-top: 1rem;
  }

  .swiper-button-next,
  .swiper-button-prev {
    align-items: center;
    background: #fff;
    border: 1px solid var(--colorSub);
    border-radius: 50%;
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
    color: transparent;
    display: flex;
    font-size: 1.125rem;
    height: 3.125rem;
    justify-content: center;
    width: 3.125rem;
  }

  .swiper-button-next::before,
  .swiper-button-prev::before {
    color: var(--colorPink);
    content: "＞";
    font-size: 1.125rem;
    font-weight: 700;
    left: 50%;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
  }

  .swiper-button-prev::before {
    transform: translate(-50%, -50%) scaleX(-1);
  }

  .swiper-pagination-bullet {
    background: #fff;
    border: 1px solid var(--colorSub);
    border-radius: 50%;
    height: 1rem;
    width: 1rem;
  }

  .swiper-pagination-bullet-active {
    background: var(--colorSub);
  }

  @media screen and (min-width: 1080px) {
    .swiper-slide {
      max-width: 31.25rem;
    }
  }

  @media screen and (max-width: 767px) {

    .swiper-button-next,
    .swiper-button-prev {
      height: 2rem;
      justify-content: center;
      width: 2rem;
    }

    .swiper-button-next {
      right: -9px;
    }

    .swiper-button-prev {
      left: -9px;
    }

    .swiper-button-next::before,
    .swiper-button-prev::before {
      font-size: 1rem;
    }
  }
}

/* Flow */

.flow {
  .pageContainer {
    padding: 5rem 1.25rem;
  }
}

.flow__message {
  color: #000;
  font-size: var(--fontMax18Min16);
  text-align: center;
}

.flow__list {
  display: grid;
  gap: 3.25rem;
  grid-template-columns: repeat(4, 1fr);
  margin: 1.5rem auto 0;
  max-width: 67.5rem;
  padding: 2.5rem 0;

  li {
    border-radius: 20px;
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
    display: grid;
    grid-template-rows: auto 5rem auto;
    padding-bottom: 1.25rem;
    position: relative;
  }

  li:not(:last-child)::after {
    background: var(--colorSub);
    clip-path: polygon(0 0, 100% 50%, 0 100%);
    content: "";
    display: block;
    height: 1.75rem;
    position: absolute;
    right: -2rem;
    top: 50%;
    transform: translateY(-50%);
    width: 0.875rem;
  }

  .flow__heading,
  .flow__number {
    color: var(--colorSub);
    text-align: center;
  }

  .flow__number {
    font-size: var(--fontMax32Min24);
  }

  .flow__icon {
    margin-top: 0.5rem;
    text-align: center;
  }

  .flow__icon img {
    height: 100%;
    width: auto;
  }

  .flow__text {
    color: #000;
    font-size: var(--fontMax14Min12);
    margin-top: 1rem;
    text-align: center;
  }

  @media screen and (max-width: 767px) {
    grid-template-columns: 1fr 1fr;

    li:nth-child(2)::after {
      display: none;
    }
  }

  @media screen and (max-width: 550px) {
    grid-template-columns: 1fr;
    justify-items: center;

    li {
      max-width: 20rem;
      width: 100%;
    }

    li:nth-child(2)::after {
      display: block;
    }

    li:not(:last-child)::after {
      bottom: -2rem;
      clip-path: polygon(0 0, 100% 0, 50% 100%);
      height: 0.875rem;
      right: 50%;
      top: auto;
      transform: translateX(50%);
      width: 1.75rem;
    }
  }
}

/* FAQ */

.faq__topWave {
  margin-top: clamp(2.5rem, 7.4074vw, 5rem);
}

.faq {
  background: #fff3ef;

  .pageContainer {
    padding: clamp(3.75rem, 9.25vw, 6.25rem) 1.25rem;
  }
}

.faq__list {
  display: grid;
  gap: 1rem;
  margin: 0 auto;
  max-width: 50rem;
}

.faq__item {
  background: #fff;
  border-radius: 1rem;
  padding: 1.25rem;

  .faq__button {
    align-items: center;
    background: transparent;
    border: none;
    cursor: pointer;
    display: grid;
    gap: 1rem;
    grid-template-columns: auto 1fr 1.5rem;
    text-align: start;
    width: 100%;
  }

  .faq__q {
    color: var(--colorSub);
    font-family: var(--familyCursive);
    font-size: var(--fontMax24Min18);
    line-height: 1.4;
  }

  .faq__icon {
    display: block;
    height: 1.5rem;
    position: relative;
    width: 1.5rem;
  }

  .faq__text {
    color: var(--colorBlack);
  }

  .faq__icon::before,
  .faq__icon::after {
    background: var(--colorBlack);
    content: "";
    display: block;
    height: 1px;
    left: 50%;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 0.75rem;
  }

  .faq__icon::before {
    transform: translate(-50%, -50%) rotate(90deg);
    transition: 0.3s;
  }

  .faq__body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s;
  }

  .faq__answer {
    border-top: 2px solid var(--colorSub);
    margin-top: 0.5rem;
    padding: 1rem 2rem 0;
  }
}

.faq__item.active .faq__icon::before {
  transform: translate(-50%, -50%);
}

/* Entry */

.entry {
  background: linear-gradient(to bottom, #ffead3 0%, #fddfd9 50%, #ffded4 100%);

  .pageContainer {
    padding: clamp(3.75rem, 7.4vw, 5rem) 1.25rem;
  }
}

.entryMessage {
  display: flex;
  flex-direction: column;
  gap: 1rem;

  p {
    text-align: center;
  }

  .ref {
    color: var(--colorMain);
  }
}

.entryForm {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 0 auto;
  max-width: 45.9375rem;
  width: 100%;

  .form__row {
    display: grid;
    gap: 0.5rem 2.1875rem;
    grid-template-columns: 12.5rem auto;
  }

  label {
    font-size: 1.125rem;
    grid-column: 1;
    grid-row: 1;
  }

  input {
    grid-column: 2;
    grid-row: 1;
  }

  .required {
    color: var(--colorMain);
  }

  input[type="text"],
  input[type="tel"],
  input[type="email"],
  textarea,
  select {
    background: #fff;
    border: none;
    color: var(--colorGray800);
    font-size: var(--fontMax18Min16);
    padding: 0.5rem 1.5rem;
    width: 100%;
  }

  select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
  }

  select.untouched {
    color: var(--colorGray200);
  }

  .selectWrapper {
    position: relative;
  }

  .selectWrapper::after {
    background: url(../images/lp/icon-chevron_down.svg) no-repeat center / cover;
    content: "";
    height: 1.5rem;
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    width: 1.5rem;
  }

  input[type="text"]::placeholder,
  input[type="tel"]::placeholder,
  input[type="email"]::placeholder,
  textarea::placeholder {
    color: var(--colorGray200);
  }

  textarea {
    height: 12rem;
    resize: vertical;
  }

  .form__inputRows {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    grid-column: 2;
    grid-row: 1;
  }

  .form__confirmLabel {
    cursor: pointer;
    display: block;
    font-size: var(--fontMax18Min16);
    margin: 2.5rem auto 0;
    padding-left: 2rem;
    position: relative;
    width: fit-content;
  }

  .form__confirmLabel:has(input:focus) {
    border-radius: 4px;
    outline: 2px solid black;
    padding: 0 4px 0 2rem;
  }

  .form__confirmLabel::before {
    background: url(../images/lp/icon-checkbox_off.png) no-repeat center / cover;
    content: "";
    height: 1.5rem;
    left: 0;
    position: absolute;
    top: 50%;
    transform: translateY(-46%);
    width: 1.5rem;
  }

  .form__confirmLabel:has(input:checked)::before {
    background: url(../images/lp/icon-checkbox_on.png) no-repeat center / cover;
  }

  input[type="checkbox"] {
    opacity: 0;
    position: absolute;
  }

  .form__confirmLabel a {
    text-decoration: underline;
    text-underline-offset: 3px;
  }

  input[type="submit"] {
    align-items: center;
    background: var(--colorSub);
    border: none;
    border-radius: 3.125rem;
    color: #fff;
    cursor: pointer;
    display: flex;
    font-size: var(--fontMax24Min18);
    font-weight: 700;
    height: 3.75rem;
    justify-content: center;
    margin: 1.5rem auto 0;
    max-width: 34.75rem;
    transition: 0.3s;
    width: 100%;
  }

  input[type="submit"]:hover {
    opacity: 0.8;
  }

  .error__message {
    color: var(--colorMain);
    font-size: 0.75rem;
    font-weight: 500;
    grid-column: 2;
    grid-row: 2;
  }

  .thanks__message {
    font-weight: 700;
    margin-top: 1rem;
    text-align: center;
  }

  @media screen and (max-width: 767px) {
    .form__row {
      display: flex;
      flex-direction: column;
    }
  }
}

/* Company */

.company {
  margin-top: -0.125rem;

  .pageContainer {
    padding: 5rem 1.25rem;
  }

  .companyList {
    display: grid;
    gap: 0;
    grid-template-columns: clamp(7.5rem, 16.7vw, 11.25rem) 1fr;
    margin: 0 auto;
    max-width: 47rem;
    width: 100%;
  }

  dt,
  dd {
    border-bottom: 1px solid #cbcbcb;
    font-size: 0.875rem;
    padding: 1.5rem 0;
  }

  dt {
    padding-left: clamp(1.25rem, 5.55vw, 3.75rem);
    padding-right: 0.625rem;
  }

  dd {
    padding-right: clamp(1.25rem, 5.55vw, 3.75rem);
  }

  @media screen and (max-width: 550px) {
    .companyList {
      grid-template-columns: 1fr;
    }

    dt {
      border-bottom: none;
      padding: 1rem 0 0 0;
    }

    dd {
      padding: 1rem 0;
    }
  }
}

.pageFooter {
  align-items: center;
  background: var(--colorBase);
  display: flex;
  flex-direction: column;
  padding: 2.5rem 1.25rem;
}

.footerLogo img {
  max-width: 18rem;
}

.footer__contact {
  justify-items: center;
  margin-top: 1rem;

  address {
    font-size: 0.75rem;
    font-weight: 400;
    margin-top: 0.5rem;
    text-align: center;
  }
}

.footer__telephone {
  color: var(--colorMain);
  display: grid;
  font-size: var(--fontMax24Min18);
  font-weight: 700;
  grid-template-columns: 2.6875rem auto;
}

.footer__privacyLink {
  display: grid;
  gap: 0.5rem;
  grid-template-columns: auto 1fr;
}

.footer__privacyLink {
  display: grid;
  font-size: 0.875rem;
  font-weight: 700;
  grid-template-columns: 1fr 1.5rem;
  margin-top: 1.5rem;
}

.footer__copywrite {
  font-size: 0.875rem;
  font-weight: 300;
  margin-top: 0.75rem;
  text-align: center;
}

@media screen and (max-width: 767px) {
  .pageFooter {
    padding-bottom: 7rem;
  }

  .footerLogo img {
    max-width: 15rem;
  }
}

/* ページトップへ戻るボタン */

.js-backToTop {
  position: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  right: 1.875rem;
  bottom: 9.375rem;
  width: 5.0rem;
  height: 5.0rem;
  font-size: 1.25rem;
  font-weight: bold;
  color: #f6656d;
  background: #fff;
  border: #f6656d solid 3px;
  border-radius: 50%;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: .3s;
  z-index: 5;
}

.js-backToTop span {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  line-height: 1.6;
}

.js-backToTop span:before {
  content: '';
  background: url(../images/lp/icon-pagetop.png) center center no-repeat;
  background-size: cover;
  display: block;
  height: 11px;
  width: 18px;
}

/* クラス付与時の指定 */
.is-active {
  opacity: 1;
  visibility: visible;
}

@media screen and (max-width: 767px) {
  .js-backToTop {
    bottom: 7.5rem;
    font-size: 1.0rem;
    height: 4.0rem;
    width: 4.0rem;
  }
}