/*
@include radius(top, clp(1rem, 30));
@include radius(bottom, 10px);
*/
/*
  &::before {
    content: '';
    position: absolute;
    inset: 0;
    background: #F9C800;
    border-radius: 12px;
    filter: url(#zigzag);
    z-index: -1;
  }
*/
/* ------------------------------------
// xxxxxxxxxx
------------------------------------ */
/* ------------------------------------
// leadBlock
------------------------------------ */
#leadBlock {
  background: #FFF;
  border-radius: clamp(2rem, 2.1vw, 3rem);
  padding: clamp(2rem, 3.5vw, 5rem) clamp(1rem, 3.5vw, 5rem) clamp(2rem, 2.1vw, 3rem);
  box-shadow: 0 20px 0 #F0E677;
  width: min(1080px, 100% - 4rem);
  margin-inline: auto;
}
@media screen and (max-width: 768px) {
  #leadBlock {
    width: min(1080px, 100% - 4rem);
  }
}
#leadBlock {
  margin-block: 5rem;
  position: relative;
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 4rem;
}
#leadBlock:before {
  content: "";
  display: block;
  position: absolute;
  top: -2rem;
  right: clamp(1rem, 3.5vw, 5rem);
  width: 9rem;
  aspect-ratio: 90/73;
  background: url(/lib/img/medical/img_lead_cut.webp) no-repeat center/contain;
}
#leadBlock .photo {
  text-align: center;
}
#leadBlock .photo img {
  border-radius: clamp(2rem, 2.1vw, 3rem);
}
#leadBlock p + p {
  margin-top: 1em;
}
@media screen and (max-width: 768px) {
  #leadBlock {
    display: flex;
    flex-wrap: wrap;
  }
  #leadBlock:before {
    top: -5rem;
  }
  #leadBlock p {
    margin: 0 auto;
  }
  #leadBlock .photo {
    max-width: 350px;
    text-align: center;
    margin: 0 auto;
  }
}

/* ------------------------------------
// #screening
------------------------------------ */
.generalBg {
  background: var(--color-paleyellow);
  padding-block: 5rem;
}

#general {
  width: min(1080px, 100% - 4rem);
  margin-inline: auto;
}
@media screen and (max-width: 768px) {
  #general {
    width: min(1080px, 100% - 4rem);
  }
}
#general {
  position: relative;
}
#general .generalContainer {
  border-radius: clamp(2rem, 2.1vw, 3rem);
  display: grid;
  grid-template-columns: 38% 1fr 38%;
  grid-template-areas: "text1 text1 photo1" "photo2 text2 text2";
  gap: 4rem 0;
  position: relative;
  background: #FFF;
  padding-block: clamp(2rem, 3.5vw, 5rem);
}
#general .generalContainer .text1 {
  grid-area: text1;
}
#general .generalContainer .text2 {
  grid-area: text2;
}
#general .generalContainer .photo1 {
  grid-area: photo1;
}
#general .generalContainer .photo2 {
  grid-area: photo2;
}
#general .generalContainer .text1, #general .generalContainer .text2 {
  padding: 0 clamp(2rem, 3.5vw, 5rem);
}
#general .generalContainer .text1 p + p, #general .generalContainer .text2 p + p {
  margin-top: 1.75em;
}
#general .generalContainer .photo1 img {
  border-radius: clamp(2rem, 2.1vw, 3rem) 0 0 clamp(2rem, 2.1vw, 3rem);
}
#general .generalContainer .photo2 img {
  border-radius: 0 clamp(2rem, 2.1vw, 3rem) clamp(2rem, 2.1vw, 3rem) 0;
}
#general table {
  border-radius: clamp(2rem, 2.1vw, 3rem);
  overflow: hidden;
  border-collapse: separate;
  border-spacing: 0 3px;
  margin-top: 2rem;
}
#general table th, #general table td {
  padding: clamp(1rem, 1vw, 1.5rem);
  text-align: left;
}
#general table tr:nth-of-type(1) th {
  white-space: nowrap;
}
#general table th {
  background: var(--color-paleyellow);
}
#general table td {
  background: #FBFAE8;
}
@media screen and (max-width: 768px) {
  #general .generalContainer {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-areas: "text1" "photo1" "text2" "photo2";
    gap: 3rem 0;
  }
  #general .generalContainer .text1, #general .generalContainer .text2 {
    padding: 0 clamp(2rem, 3.5vw, 5rem);
  }
  #general .generalContainer .photo1 {
    padding-left: clamp(2rem, 3.5vw, 5rem);
  }
  #general .generalContainer .photo1 img {
    border-radius: clamp(2rem, 2.1vw, 3rem) 0 0 clamp(2rem, 2.1vw, 3rem);
  }
  #general .generalContainer .photo2 {
    padding-right: clamp(2rem, 3.5vw, 5rem);
  }
  #general .generalContainer .photo2 img {
    border-radius: 0 clamp(2rem, 2.1vw, 3rem) clamp(2rem, 2.1vw, 3rem) 0;
  }
}

#screening {
  border: 8px solid #FFF;
  background: linear-gradient(94deg, #D9F3F6 4.86%, #DBE7F6 40.27%, #F1ECFC 73.97%);
  display: grid;
  grid-template-columns: 1fr 320px;
  position: relative;
  margin-top: 5rem;
  border-radius: clamp(2rem, 2.1vw, 3rem);
  width: min(1080px, 100% - 4rem);
  margin-inline: auto;
}
@media screen and (max-width: 768px) {
  #screening {
    width: min(1080px, 100% - 4rem);
  }
}
#screening .text {
  padding: clamp(2rem, 2.1vw, 3rem) clamp(1rem, 2.1vw, 3rem) clamp(3rem, 3.5vw, 5rem);
}
#screening .text .sub {
  width: fit-content;
  background: var(--color-logopink);
  padding: 5px 2rem;
  color: #FFF;
  text-align: center;
  border-radius: 50vh;
  margin: 0 auto 2rem;
}
#screening .text h2 {
  color: var(--color-paleblue);
  display: flex;
  flex-wrap: wrap;
  gap: 0.6vw;
  font-size: clamp(2.4rem, 2.4vw, 3.4rem);
  font-weight: bold;
  width: fit-content;
  margin: 0 auto 2rem;
}
#screening .text h2 span {
  display: inline-flex;
  background: #FFF;
  color: #4DC1F0;
  align-items: center;
  justify-content: center;
  border-radius: 0.6vw;
  padding: 0em 0.3em;
}
@media screen and (max-width: 768px) {
  #screening .text h2 span {
    border-radius: 5px;
    padding: 0.2em 0.3em;
  }
}
#screening .text h2::after {
  content: "";
  width: clamp(3rem, 4.2vw, 6rem);
  aspect-ratio: 60/48;
  display: block;
  background: url(/lib/img/medical/screening_cut_01.webp) no-repeat right/contain;
}
#screening .text ul {
  width: fit-content;
  margin: 0 auto;
}
#screening .text ul li {
  display: grid;
  grid-template-columns: 2.4rem 1fr;
  gap: 0.5rem;
  color: var(--color-paleblue);
  font-weight: 600;
}
#screening .text ul li:before {
  content: "";
  width: 2.4rem;
  aspect-ratio: 1;
  display: block;
  background: url(/lib/img/medical/icon_check.webp) no-repeat right/contain;
}
#screening .text ul li + li {
  margin-top: 0.5rem;
}
#screening .text .link {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translate(-50%, 50%);
}
#screening .text .link a {
  display: block;
  margin: 0 auto;
  background: #4DC1F0;
  border: 2px dashed #FFF;
  border-radius: 50vh;
  padding: 1rem 6rem 1rem 2rem;
  color: #FFF;
  position: relative;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}
#screening .text .link a i {
  font-style: normal;
  display: contents !important;
}
#screening .text .link a:hover {
  background: var(--color-logogreen);
}
#screening .text .link a:before, #screening .text .link a:after {
  content: "";
  display: block;
}
#screening .text .link a:before {
  width: 2.6rem;
  aspect-ratio: 22/26;
  background: url(/lib/img/cmn/icon_pdf.webp) no-repeat center/contain;
}
#screening .text .link a::after {
  position: absolute;
  top: 50%;
  right: 0.5rem;
  transform: translateY(-50%);
  width: 4rem;
  aspect-ratio: 1;
  background: url(/lib/img/cmn/icon_download.webp) no-repeat center/contain;
}
#screening .photo {
  background: #FFF;
}
@media screen and (max-width: 768px) {
  #screening {
    display: grid;
    grid-template-columns: 1fr;
  }
  #screening .photo {
    order: 1;
  }
  #screening .text {
    order: 2;
    padding: clamp(2rem, 2.1vw, 3rem) clamp(1rem, 2.1vw, 3rem) clamp(1rem, 3.5vw, 5rem);
  }
  #screening .text .sub {
    width: auto;
    border-radius: clamp(1rem, 1.4vw, 2rem);
  }
  #screening .text h2 {
    text-align: center;
    display: block;
  }
  #screening .text h2 span {
    display: inline-block;
  }
  #screening .text h2 span + span {
    margin-left: 0.5rem;
  }
  #screening .text h2::after {
    display: inline-block;
    margin-left: 0.5rem;
  }
  #screening .text .link {
    position: relative;
    bottom: auto;
    left: auto;
    transform: none;
  }
  #screening .text .link a {
    display: block;
    margin: 1rem auto 0;
    padding: 1rem 6rem 1rem 2rem;
    display: flex;
  }
}

/* ------------------------------------
// #allergy,
#checkup,
#kanpo
------------------------------------ */
#allergy,
#checkup,
#kanpo {
  background: #FFF;
  border-radius: clamp(2rem, 2.1vw, 3rem);
  padding: 0 clamp(1rem, 3.5vw, 5rem) clamp(2rem, 2.1vw, 3rem);
  width: min(1080px, 100% - 4rem);
  margin-inline: auto;
}
@media screen and (max-width: 768px) {
  #allergy,
  #checkup,
  #kanpo {
    width: min(1080px, 100% - 4rem);
  }
}
#allergy,
#checkup,
#kanpo {
  margin: 8rem auto 0;
  position: relative;
  display: grid;
  grid-template-columns: 1fr 250px;
  gap: 2rem;
}
#allergy h2,
#checkup h2,
#kanpo h2 {
  grid-column: 1/3;
  transform: translateY(-50%);
  border-radius: 10px;
  padding: 1rem clamp(2rem, 3.5vw, 5rem);
  position: relative;
  width: fit-content;
  white-space: nowrap;
  font-size: clamp(2.4rem, 2.1vw, 3rem);
  font-weight: 700;
  z-index: 0;
  color: #FFF;
}
#allergy h2::before,
#checkup h2::before,
#kanpo h2::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--color-logogreen);
  border-radius: 12px;
  filter: url(#zigzag);
  z-index: -1;
}
#allergy .text p + p,
#checkup .text p + p,
#kanpo .text p + p {
  margin-top: 1.75rem;
}
#allergy .illust,
#checkup .illust,
#kanpo .illust {
  max-width: 250px;
  text-align: center;
  margin: 0 auto;
}
@media screen and (max-width: 768px) {
  #allergy,
  #checkup,
  #kanpo {
    grid-template-columns: 1fr;
  }
  #allergy h2,
  #checkup h2,
  #kanpo h2 {
    grid-column: 1/2;
  }
}

#allergy h2::before {
  background: var(--color-logoyerrow);
}

#checkup h2::before {
  background: var(--color-logopink);
}

#kanpo h2::before {
  background: var(--color-logogreen);
}

/*# sourceMappingURL=medical.css.map */