/* リセット */
* {
  box-sizing: border-box;
}

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

body,
p,
h1,
h2,
h3,
h4,
h5,
h6 {
  text-rendering: optimizeLegibility;
  background: rgba(0, 0, 0, 0);
  -webkit-font-smoothing: antialiased;
  margin: 0;
  margin: 0;
}

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

/* 変数 */
:root {
  /* カラー */
  --base: #ffffff;
  --main: #111111;
  --accent: #cf5503;
  --gray: #707f89;
  --lightgray: #f0f3f5;
  --darkgray: #3b4043;
  --bg-white: #fff;
  --bg-black: #000;
  --txt-black: #000;

  /* 幅 */
  --side: 20px;
}

/* 共通 */
* {
  box-sizing: border-box;
}

body {
  background: var(--bg-black);
  font-family: "Noto Sans JP", sans-serif;
}

h1 {
  font-size: min(6.153vw, 36px);
}

h2 {
  font-size: 30px;
  color: var(--darkgray);
}

.wrrap {
  text-align: center;
  max-width: 1440px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.sp_view {
  display: initial;
}

.pc_view {
  display: none;
}

.cta-shadow {
  box-shadow: 0px 2px 4px #888888;
}

.campaign-label {
  display: block;
  max-width: 1440px;
  margin: 0 auto;
  margin-bottom: 40px;
}

@media (min-width: 790px) {
  .sp_view {
    display: none;
  }

  .pc_view {
    display: initial;
  }
}

/* hero */
.hero {
  position: relative;
}
.hero .wrrap {
  background-image: url(../images/genetic-testing/hero.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: top 50% right 44%;
  max-height: 476px;
  height: 100.25vw;
  padding: 30px;
}
.hero .wrrap h1 {
  display: inline-block;
  color: var(--base);
  line-height: 150%;
  min-width: 100%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.hero .wrrap a {
  display: flex;
  max-width: 273px;
  width: 100%;
  max-height: 61px;
  margin: 0 auto;
  background-color: var(--accent);
  justify-content: right;
  color: var(--base);
  font-size: 18px;
  padding: 18px 49px;
  gap: 10px;
  border-radius: 10px;
  align-items: center;
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
}
.hero .wrrap a:hover {
  opacity: 0.6;
}
.hero .wrrap a p {
  width: 100%;
}
.hero .wrrap a img {
  height: 9.4px;
  width: auto;
  margin-bottom: -2px;
}

@media (min-width: 790px) {
  .hero .wrrap a {
    bottom: 75px;
  }
}

@media (max-width: 768px) {
  .hero .wrrap h1 {
    top: 20%;
  }
  .hero .wrrap {
    background-image: url(../images/genetic-testing/hero_sp.jpg);
  }
}

/* worries */
.worries .wrrap {
  background: var(--bg-white);
  color: var(--txt-black);
}

.black {
  padding-bottom: 15px;
  margin-bottom: -1px;
}

.checkbox {
  margin: 0 auto;
}

.checkbox:nth-of-type(3) {
  margin-bottom: -1px;
}

.checkbox img {
  max-width: 30px;
  max-height: 30px;
  height: auto;
  width: 3.987vw;
}

.checklist {
  display: inline-block;
  margin: 0 auto;
  text-align: left;
}

.checkbox p {
  font-size: min(3.07vw, 18px);
  text-align: left;
  display: inline-block;
  margin: 0 auto;
  padding-left: 3em;
  position: relative;
}

.checkbox:not(:last-of-type) {
  margin-bottom: 1em;
}

.checkbox p::before {
  content: "";
  position: absolute;
  background-image: url(../images/genetic-testing/check.svg);
  left: 0;
  top: 60%;
  transform: translateY(-50%);
  width: 25px;
  height: 25px;
  background-position: bottom;
  background-repeat: no-repeat;
  background-size: contain;
}

.question {
  font-size: min(4.615vw, 24px);
  line-height: 36px;
  padding-top: 30px;
  padding-bottom: 15px;
}

.lower-triangle-area {
  background: var(--bg-black);
  padding-bottom: 80px;
}

.lower-triangle {
  height: 80px;
  background: var(--bg-white);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  transform: translateY(-1px);
}

@media (min-width: 790px) {
  .black {
    padding-bottom: 38px;
  }

  .checkbox {
    gap: 35px;
    margin-bottom: 17px;
  }

  .question {
    padding-top: 50px;
    padding-bottom: 38px;
  }

  .checkbox p::before {
    width: 30px;
    height: 30px;
  }
}

/* campaign */
.campaign .wrrap {
  padding-bottom: 7.692vw;
  padding-left: 15px;
  padding-right: 15px;
}

@media (min-width: 790px) {
  .campaign .wrrap {
    padding-bottom: min(7.8125vw, 100px);
  }
}

/* price.php */
.per_img {
  width: 100%;
  max-width: 100%;
  height: auto;
}
.price_img {
  width: 90%;
  height: auto;
}
.item {
  position: relative;
}
.price-sp a {
  position: absolute;
  left: 50%;
  bottom: 6px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  width: 80%;
  min-width: 273px;
  max-height: 61px;
  color: var(--base);
  font-size: clamp(
    18px,
    calc(12.93975903614458px + 1.4457831325301205vw),
    24px
  );
  background-color: var(--accent);
  border-radius: 10px;
  padding: 0.5em 0;
  margin: 0 auto 15px auto;
  transform: translateX(-50%);
}

.price-sp a img {
  height: 9.4px;
  width: auto;
  margin-bottom: -2px;
}

.price-sp a:hover {
  opacity: 0.6;
}

.price-box {
  position: relative;
  width: 80%;
  max-width: 1000px;
  margin: 0 auto;
}

.item_pc-img {
  width: 100%;
  height: auto;
}
.price-box a {
  position: absolute;
  left: 50%;
  bottom: 10%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 31px;
  width: 80%;
  max-width: 939px;
  max-height: 61px;
  background-color: var(--accent);
  color: var(--base);
  font-size: clamp(
    18px,
    calc(-3.6862745098039227px + 2.7450980392156863vw),
    32px
  );
  border-radius: 10px;
  padding: 0.4em 0;
  margin: 0 auto;
  transform: translateX(-50%);
}
.price-box a p,
.price-box a img {
  transform: translateX(22px);
}
.price-box a img {
  padding-top: 3px;
  height: 20px;
  width: 13px;
}
.price-box a:hover {
  opacity: 0.6;
}
@media (min-width: 450px) {
  .price-sp a {
    bottom: 16px;
  }
}

@media (min-width: 500px) {
  .price-sp a {
    bottom: 24px;
  }
}

@media (min-width: 790px) {
  .price-box a {
    bottom: 0.8em;
  }
}

/* about */
.about {
  text-align: center;
  background-color: var(--lightgray);
  max-width: 1440px;
  margin: 0 auto;
}
.about .wrrap h2 {
  padding-top: 50px;
  margin-bottom: 30px;
}
.about-images {
  padding: 25px 0 24px 0;
}
.item-img {
  display: block;
  max-width: 360px;
  width: 100%;
  max-height: 281px;
  height: auto;
  margin-left: 0;
  margin-right: auto;
}
.item-texts {
  width: 92.3vw;
  min-width: 350px !important;
  max-width: 500px;
  background-color: #000000cc;
  color: var(--base);
  float: right;
  transform: translateY(-15px);
  padding: 20px;
  font-size: 16px;
  line-height: 30px;
  margin-bottom: 15px;
}
.item-texts p {
  text-align: left;
}

.about .wrrap:nth-of-type(2) {
  padding: 0 10px;
  display: inline-block;
}
.inspect {
  background-color: var(--base);
}
.subtitle h2 {
  color: var(--darkgray);
  line-height: 36px;
  font-weight: bold;
  min-width: 288px;
  width: 100%;
}
.inspect {
  padding: 0 10px;
}
.inspect-sp-row {
  padding: 0 10px;
}
.sp-text {
  color: var(--base);
  font-size: 24px;
  padding: 0 20px;
  width: 100%;
  display: inline-block;
}
.body .sp-text {
  background-color: #9dd2e0;
}
.injury .sp-text {
  background-color: #fbcfab;
  text-align: right;
}
.meal .sp-text {
  background-color: #d6daca;
}
.body .sp-text,
.meal .sp-text {
  text-align: left;
  margin-top: -25px;
}
.inspect-sp-box img {
  width: 278px;
  height: auto;
}
.body img {
  float: right;
  margin-top: -62px;
  position: relative;
  z-index: 1;
}
.injury img {
  float: left;
  margin-top: -62px;
  position: relative;
  z-index: 1;
  margin-left: -8px;
}
.meal img {
  float: right;
  margin-top: -102px;
  position: relative;
  z-index: 1;
}
.data {
  padding-bottom: 20px;
  background-color: var(--base);
  margin-bottom: 15px;
}
.data img {
  width: 100%;
  max-width: 940px;
  height: auto;
  max-height: 443px;
}
.data p {
  color: var(--darkgray);
  font-size: min(4.102vw, 24px);
  line-height: 36px;
  font-weight: bold;
  width: 100%;
  max-width: 940px;
  margin: 0 auto;
}
.data p:nth-of-type(1) {
  padding-bottom: 1em;
  padding-top: 1em;
}
.data img,
.data p {
  padding: 0 10px;
}
.data-small {
  font-size: inherit !important;
  font-weight: inherit;
}
.data-small:nth-of-type(3),
.data-small:nth-of-type(4) {
  margin-top: 1.5em;
}
.multi {
  display: inline-block;
  margin: 0 auto;
  text-align: center;
}
.hex-img,
.hex-img2 {
  width: 100%;
  max-width: 350px;
  max-height: 304px;
  margin: 0 auto;
}
.hex-img2 {
  margin-top: -20px;
}
.cross {
  position: relative;
  width: 51px;
  height: 51px;
  margin: 0 auto;
  z-index: 1;
  margin-top: -25px;
}
.cross::before,
.cross::after {
  content: "";
  position: absolute;
  top: calc(50% - 2px);
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--gray);
}
.cross::before {
  transform: rotate(45deg);
}
.cross::after {
  transform: rotate(-45deg);
}

.inspect-pc-row {
  max-width: 1000px;
  width: 80%;
  margin: 0 auto;
}
.pc-flex {
  display: flex;
  max-width: 1000px;
  width: 80%;
  align-items: center;
  vertical-align: middle;
  justify-content: center;
  margin: 0 auto;
}
.inspect-pc-box {
  display: inline-block;
}
.pc-text p {
  font-size: min(3.291vw, 32px);
  line-height: 64px;
}

.inspect-pc-box img {
  min-width: 220px;
  max-width: 300px;
  max-height: 216px;
  min-height: 114px;
  height: auto;
  padding: 10px;
  width: 100%;
}
.pc_body .pc-text p {
  color: #bbced3;
}
.pc_injury .pc-text p {
  color: #f3e4d5;
}
.pc_meal .pc-text p {
  color: #d6daca;
}
.data-small {
  text-align: left;
}

@media (min-width: 790px) {
  .about .wrrap h2 {
    padding-top: 100px;
  }
  .about-images {
    width: 90%;
    max-width: 1000px;
    margin: 0 auto;
    padding-top: 50px;
  }
  .item-img {
    max-width: 533px;
    max-height: 416px;
    height: auto;
  }
  .item-texts {
    max-width: 800px;
    width: 80%;
    transform: translateY(-160px);
    padding: 30px;
  }
  .inspect {
    width: 90%;
    max-width: 1000px;
    margin: 0 auto;
  }
  .subtitle {
    padding-bottom: 27px;
  }
  .data {
    padding-top: 20px;
    width: 90%;
    max-width: 1000px;
    margin: 0 auto;
  }
  .multi {
    max-width: 1000px;
  }
  .multi-flex {
    display: flex;
    align-items: center;
    vertical-align: middle;
    justify-content: center;
    margin-top: 30px;
  }
  .hex-img,
  .hex-img2 {
    max-width: 450px;
    max-height: 390px;
  }
  .hex-img2 {
    margin-top: 0;
  }
  .cross {
    width: 212px;
    height: 212px;
    margin-left: -90px;
    margin-right: -90px;
  }
  .inspect-pc-box img {
    margin-top: 20px;
    padding: 0;
  }
}

/* point */
.point .wrrap {
  padding: 15px 10px 35px 10px;
  background-color: var(--lightgray);
}

.feedback {
  width: 100%;
  display: inline-block;
  background-color: #00000099;
  color: var(--base);
  font-weight: bold;
  text-align: center;
  padding: 3rem 1rem;
  margin-bottom: 2rem;
}

.feedback p {
  font-size: clamp(12px, 3.076vw, 16px);
}

@media (min-width: 765px) {
  .point .wrrap {
    padding: 30px 10px 100px 10px;
  }
  .feedback {
    max-width: 1000px;
    width: 80%;
    margin-bottom: 50px;
  }
}

/* training */
.training .wrrap {
  padding: 3rem 10px 50px 10px;
}

.section-top h3 {
  background: #8a8a8acc 0% 0% no-repeat padding-box;
  font-size: min(6.153vw, 30px);
  line-height: 30px;
  color: white;
  text-align: center;
  padding: 4rem 0;
}

@media (min-width: 790px) {
  .training .wrrap {
    padding-top: 20px;
    padding-bottom: 100px;
  }

  .section-top {
    text-align: left;
    height: 275px;
    position: relative;
    padding-top: 48px;
  }

  .section-top h3 {
    max-width: 640px;
    text-align: center;
    background: #ffffffcc 0% 0% no-repeat padding-box;
    padding: 6rem;
  }

  .train-pc {
    max-width: 1000px;
    width: 98%;
  }
}

/* customer */
.customer {
  max-width: 1470px;
  background: var(--lightgray);
  margin: 0 auto;
}

.customer .section-top {
  padding: 40px 10px;
}

.customer .section-top h3 {
  background: #8a8a8acc 0% 0% no-repeat padding-box;
}

.customers {
  padding: 0 1rem 2rem 1rem;
}

.customers .customer-box {
  display: flex;
  max-width: 960px;
  background: var(--main);
  color: var(--base);
  margin: 0 auto;
  border: 4px solid #d28034;
  padding: 3rem 5rem;
}

.customers .customer-box:not(:last-of-type) {
  margin-bottom: 3rem;
}

.customers .customer-box .customer-detail {
  margin-right: 4rem;
}

.customers .customer-box .customer-detail-img {
  margin-bottom: 1rem;
}

.customers .customer-box .customer-detail-img img {
  max-width: 180px;
  min-width: 180px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  object-fit: cover;
}

.customers .customer-box .customer-detail-name p {
  text-align: center;
}

.customers .customer-box .customer-txt {
  text-align: left;
}

.customers .customer-box .customer-txt p:first-of-type {
  margin-bottom: 1rem;
}

@media (max-width: 768px) {
  .customers .customer-box {
    flex-direction: column;
    padding: 2rem 1rem;
  }

  .customers .customer-box .customer-detail {
    margin-right: 0;
    margin-bottom: 2rem;
  }
}

@media (min-width: 768px) {
  .customer .section-top h3 {
    margin-left: 10px;
  }
}

/* use */
.use {
  background: var(--bg-white);
}

.use-row {
  padding: 50px 10px;
}

.use-title {
  font-size: min(6.153vw, 36px);
  color: var(--darkgray);
  font-weight: bold;
}

.use-sp {
  width: 350px;
}

.use-pc {
  width: 100%;
  max-width: 1150px;
  margin: 0 auto;
}

@media (max-width: 798px) {
  .use .price-sp {
    display: block;
    padding: 0 10px;
  }
}

@media (min-width: 790px) {
  .use .wrrap {
    padding: 100px 50px;
  }
  .use-title {
    margin-bottom: 70px;
  }
  .use-row {
    padding-bottom: 0;
  }
}

/* qa */
.qa .section-top {
  padding: 40px 10px;
}

.qa .wrrap {
  padding-bottom: 80px;
}

.qa-row {
  padding: 25px 10px;
}
.qa-box {
  background: var(--bg-white);
  padding: 10px;
  border: solid 1px #cf5501;
  margin-bottom: 15px;
}
.qa-flex {
  display: flex;
  align-items: center;
  vertical-align: middle;
  gap: 10px;
  margin-bottom: 8px;
}
.icon p {
  background-color: var(--accent);
  padding: 7px 19px 12px 18px;
  display: inline-block;
  font-size: 24px;
  color: var(--base);
}
.qa-question {
  font-size: clamp(16px, 4.102vw, 20px);
  text-align: left;
}
.answer {
  font-size: clamp(12px, 3.076vw, 20px);
  text-align: left;
  padding-left: 65px;
}

@media (max-width: 798px) {
  .qa .price-sp {
    display: block;
    padding: 0 10px;
  }
}

@media (min-width: 790px) {
  .qa-box {
    padding: 25px 30px;
    max-width: 1000px;
    height: 235px;
    margin: 0 auto 30px auto;
  }
  .qa-flex {
    margin-bottom: 15px;
    gap: 35px;
  }
  .icon p {
    padding: 11px 33px 21px 31px;
    font-size: 44px;
  }
  .answer {
    padding-left: 131px;
  }
}
