* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: #333;
  background: #fff;
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Yu Gothic", "YuGothic", Meiryo, sans-serif;
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: 0;
}

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

a {
  color: inherit;
}

.hero {
  min-height: 470px;
  background:
    linear-gradient(90deg, rgba(255,255,255,.96) 0%, rgba(255,255,255,.9) 28%, rgba(255,255,255,.34) 58%, rgba(255,255,255,.05) 100%),
    url("hero-banner.png") right center / cover no-repeat;
}

.hero__inner {
  width: min(1180px, calc(100% - 48px));
  min-height: 470px;
  margin: 0 auto;
  display: flex;
  align-items: center;
}

.hero__copy {
  width: 46%;
  min-width: 420px;
  padding-top: 22px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 18px;
}

.brand img {
  width: 90px;
}

.brand h1 {
  margin: 0;
  color: #000;
  font-size: clamp(44px, 4.5vw, 72px);
  line-height: 1.05;
  font-weight: 800;
}

.brand sup,
sup {
  font-size: .45em;
}

.brand__lead {
  margin: 10px 0 22px;
  color: #000;
  font-size: 22px;
  font-weight: 700;
}

.appstore-button {
  display: inline-flex;
  align-items: center;
  width: 120px;
  transition: opacity .2s ease;
}

.appstore-button:hover {
  opacity: .78;
}

.appstore-button img {
  width: 100%;
}

.hero__appstore {
  width: 200px;
  margin-bottom: 150px;
}

.release {
  margin: 0 0 120px;
  color: #000;
  font-size: 24px;
  font-weight: 700;
}

.note {
  margin: 0;
  color: #000;
  font-size: 13px;
  line-height: 1.7;
}

.partners-top,
.section {
  width: min(1100px, calc(100% - 48px));
  margin: 0 auto;
}

.partners-top {
  padding: 50px 0 95px;
  background: #fff;
  text-align: center;
}

.small-heading {
  margin: 0 0 18px;
  font-weight: 700;
}

.partner-logos,
.partner-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 42px;
  flex-wrap: wrap;
}

.partner-logos a,
.gold-card a,
.partner-row a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: opacity .2s ease;
}

.partner-logos a:hover,
.gold-card a:hover,
.partner-row a:hover {
  opacity: .72;
}

.partner-logos img,
.gold-card img,
.partner-row img {
  width: auto;
  height: 50px;
  object-fit: contain;
}

.kit-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  min-height: 48px;
  padding: 6px 14px;
  color: #fff;
  background: linear-gradient(135deg, #62a5e9, #1d77c6);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.25;
}

.dots {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 18px;
}

.dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ddd;
}

.dots span:last-child {
  background: #222;
}

.section {
  padding: 95px 0;
}

.section-gray {
  width: 100%;
  background: #f7f7f7;
}

.section-gray > * {
  width: min(1100px, calc(100% - 48px));
  margin-left: auto;
  margin-right: auto;
}

.section-title,
.simple-title {
  text-align: center;
}

.section-title p {
  margin: 0;
  color: #4b236a;
  font-size: 42px;
  font-weight: 800;
  line-height: 1.1;
}

.section-title h2 {
  margin: 6px 0 0;
  font-size: 16px;
  line-height: 1.7;
}

.simple-title h2 {
  margin: 0;
  font-size: 28px;
  line-height: 1.45;
}

.simple-title::after {
  content: "";
  display: block;
  width: 65px;
  height: 4px;
  margin: 22px auto 0;
  background: #9c63b6;
}

.about {
  padding-top: 0;
}

.about__body {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 85px;
  align-items: center;
  margin-top: 64px;
}

.about__text h3 {
  margin: 0 0 28px;
  font-size: 25px;
  line-height: 1.5;
}

.about__text p {
  margin: 0 0 18px;
}

.caption {
  font-size: 14px;
}

.medical-illust {
  position: relative;
  height: 330px;
}

.tablet {
  position: absolute;
  left: 128px;
  top: 35px;
  width: 190px;
  height: 260px;
  border-radius: 16px;
  background: #76cbd5;
  box-shadow: 0 18px 0 rgba(0,0,0,.06);
}

.tablet::before {
  content: "";
  position: absolute;
  top: 16px;
  left: 68px;
  width: 54px;
  height: 5px;
  border-radius: 999px;
  background: rgba(255,255,255,.8);
}

.doctor {
  position: absolute;
  left: 48px;
  bottom: 0;
  width: 92px;
  height: 154px;
  border-radius: 52px 52px 0 0;
  background: linear-gradient(#333 0 28px, #f0c1a8 28px 66px, #fff 66px 100%);
}

.doctor::after {
  content: "";
  position: absolute;
  left: -32px;
  bottom: 0;
  width: 156px;
  height: 84px;
  border-radius: 26px 26px 0 0;
  background: #f7fafb;
  border-left: 8px solid #2bb8c7;
  border-right: 8px solid #2bb8c7;
}

.bubble {
  position: absolute;
  left: 70px;
  top: 52px;
  z-index: 2;
  width: 104px;
  height: 68px;
  border-radius: 36px;
  color: #fff;
  background: #0098a5;
  font-size: 42px;
  line-height: 48px;
  text-align: center;
}

.case {
  position: absolute;
  left: 62px;
  bottom: 22px;
  width: 105px;
  height: 132px;
  border-radius: 8px;
  background: #f77e77;
}

.case::before,
.case::after {
  content: "";
  position: absolute;
  background: #fff;
}

.case::before {
  left: 39px;
  top: 35px;
  width: 28px;
  height: 62px;
}

.case::after {
  left: 22px;
  top: 52px;
  width: 62px;
  height: 28px;
}

.paper {
  position: absolute;
  right: 46px;
  bottom: 28px;
  width: 112px;
  height: 180px;
  border-radius: 8px;
  background: #fff;
  border: 5px solid #bfe2e7;
  transform: rotate(-10deg);
}

.paper::before {
  content: "";
  position: absolute;
  left: 22px;
  top: 32px;
  width: 58px;
  height: 8px;
  box-shadow: 0 24px 0 #f77e77, 0 48px 0 #f77e77, 0 72px 0 #f77e77;
  background: #f77e77;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 120px;
  padding-top: 75px;
}

.feature-grid article {
  max-width: 430px;
  margin: 0 auto;
}

.feature-grid img {
  width: 280px;
  height: 360px;
  margin: 0 auto 22px;
  object-fit: cover;
  object-position: right center;
  border-radius: 28px;
}

.feature-grid h3 {
  margin: 0 0 16px;
  text-align: center;
  font-size: 23px;
}

.feature-grid p,
.notice p,
.scene__text,
.company p {
  margin-top: 0;
}

.notice {
  max-width: 900px;
  margin-top: 58px;
  padding: 24px 32px;
  background: #ececec;
  font-size: 13px;
}

.notice p {
  margin-bottom: 4px;
}

.steps {
  text-align: center;
}

.steps__image {
  width: min(840px, 100%);
  height: 360px;
  margin: 62px auto 0;
  object-fit: cover;
  object-position: top center;
}

.products {
  text-align: center;
  border-top: 1px solid #ddd;
  border-bottom: 1px solid #eee;
}

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 48px;
  min-width: 300px;
  min-height: 62px;
  margin-top: 62px;
  color: #4b236a;
  border: 1px solid #4b236a;
  text-decoration: none;
  font-weight: 700;
}

.scene-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px;
  max-width: 760px;
  padding-top: 58px;
}

.scene-grid article {
  text-align: center;
}

.scene-grid h3 {
  margin: 14px 0 0;
  font-size: 17px;
}

.scene-photo {
  display: block;
  width: 100%;
  aspect-ratio: 1.55 / 1;
  object-fit: cover;
}

.scene__text {
  margin-bottom: 0;
  padding-top: 42px;
  text-align: center;
}

.partners {
  text-align: center;
}

.partners h2 {
  margin: 0 0 34px;
  font-size: 24px;
}

.rank {
  max-width: 1000px;
  margin: 0 auto 28px;
  padding: 8px 20px;
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
}

.rank-gold {
  background: #bba800;
}

.rank-bronze {
  margin-top: 52px;
  background: #a86422;
}

.gold-card p,
.partner-row p {
  margin: 10px 0 0;
  font-size: 14px;
}

.gold-card img {
  height: 50px;
}

.partner-row {
  margin-top: 36px;
}

.download {
  min-height: 250px;
  background:
    linear-gradient(90deg, rgba(255,255,255,.96) 0%, rgba(255,255,255,.62) 44%, rgba(255,255,255,.92) 100%),
    url("bg-footer.jpg") center / cover no-repeat;
}

.download__inner {
  width: min(1100px, calc(100% - 48px));
  min-height: 250px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.download h2 {
  margin: 0 0 18px;
  font-size: 24px;
}

.download__appstore {
  width: 150px;
}

.download p {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
}

.company__inner {
  display: grid;
  grid-template-columns: 310px 1fr;
  gap: 92px;
  align-items: start;
}

.company__text h2 {
  margin: 0 0 28px;
  font-size: 26px;
}

.innojin-logo {
  width: 210px;
  height: auto;
}

.innojin-logo--white {
  margin: 0 auto;
}

.policy {
  margin: 70px 0 0;
  text-align: center;
  color: #4b236a;
  font-weight: 700;
}

.footer {
  padding: 72px 24px 80px;
  color: #fff;
  background: #211f1f;
  text-align: center;
}

.footer nav {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
  margin: 48px 0;
}

.footer a {
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
}

.footer p {
  margin: 0;
  font-size: 14px;
}

.pagetop {
  position: fixed;
  right: 38px;
  bottom: 38px;
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  color: #fff;
  background: rgba(35,35,35,.78);
  border: 1px solid rgba(255,255,255,.35);
  text-decoration: none;
  font-size: 30px;
  line-height: 1;
}

@media (max-width: 900px) {
  .hero,
  .hero__inner {
    min-height: 620px;
  }

  .hero {
    background-position: 62% center;
  }

  .hero__copy {
    width: 100%;
    min-width: 0;
  }

  .brand img {
    width: 72px;
  }

  .brand__lead {
    margin-bottom: 44px;
    font-size: 18px;
  }

  .release {
    margin-bottom: 160px;
    font-size: 20px;
  }

  .about__body,
  .company__inner {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .medical-illust {
    max-width: 420px;
    margin: 0 auto;
  }

  .feature-grid,
  .scene-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .feature-grid {
    padding-top: 56px;
  }

  .scene-grid {
    max-width: 420px;
  }
}

@media (max-width: 600px) {
  body {
    font-size: 15px;
  }

  .hero__inner,
  .partners-top,
  .section,
  .section-gray > *,
  .download__inner {
    width: min(100% - 32px, 1100px);
  }

  .brand {
    gap: 12px;
  }

  .brand h1 {
    font-size: 42px;
  }

  .brand img {
    width: 62px;
  }

  .section {
    padding: 72px 0;
  }

  .section-title p {
    font-size: 34px;
  }

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

  .about__text h3 {
    font-size: 21px;
  }

  .medical-illust {
    transform: scale(.82);
    transform-origin: center;
    margin: -28px auto;
  }

  .feature-grid img {
    width: 250px;
    height: 320px;
  }

  .steps__image {
    height: auto;
    object-fit: contain;
  }

  .button {
    width: 100%;
    min-width: 0;
  }

  .footer nav {
    gap: 22px;
  }

  .pagetop {
    right: 18px;
    bottom: 18px;
    width: 48px;
    height: 48px;
    font-size: 24px;
  }
}
