/* ==========================================================
1. Foundation
========================================================== */

:root {
  --header-height: 0px;
    --color-bg: #f5f5f5;
    --color-surface: #ffffff;
    --color-ink: #074c60;
    --color-ink-soft: #5a7a93;
    --color-blue: #316d9c;
    --color-teal: #0f7f94;
    --color-teal-dark: #0a7184;
    --color-sky: #e4f3ff;
    --color-line: #b8d5df;
    --color-accent: #ff6175;
    --font-sans: "Noto Sans JP", "Yu Gothic", "YuGothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
    --content-width: 1280px;
    --ease: 180ms ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
    scroll-padding-top: 0;
    overflow-x: clip;
}

body {
  margin: 0;
    padding-top: 0;
    min-width: 360px;
    background: var(--color-bg);
    color: var(--color-ink);
    font-family: var(--font-sans);
    line-height: 1.8;
    letter-spacing: 0;
    overflow-x: clip;
}

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

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

ul,
ol,
dl,
dd {
  margin: 0;
    padding: 0;
}

li {
  list-style: none;
}

.visually-hidden {
  position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.section-title {
  margin: 0;
    color: var(--color-teal-dark);
    font-size: clamp(1.375rem, 1.05rem + 1.2vw, 1.75rem);
    font-weight: 800;
    line-height: 1.55;
    text-align: center;
}

/* ==========================================================
2. Hero
========================================================== */

.hero {
  --hero-scale: 1;
    display: grid;
    height: 936px;
    overflow: hidden;
    position: relative;
}

.hero__media,
.hero__shade,
.hero__title {
  grid-area: 1 / 1;
}

.hero__media {
  display: block;
    height: 100%;
    width: 100%;
    min-height: 0;
    min-width: 0;
    overflow: hidden;
    position: relative;
}

.hero__image {
  position: absolute;
    left: -336px;
    top: -89px;
    width: 2256px;
    height: 1505px;
    max-width: none;
    object-fit: fill;
    transform: scaleX(-1);
}

.hero__shade {
  z-index: 1;
    justify-self: start;
    width: 1248px;
    margin-left: 672px;
    background: linear-gradient(90deg, rgba(148, 199, 211, 0) 0%, rgba(148, 199, 211, 0.84) 100%);
    opacity: 0.99;
}

.hero__title {
  z-index: 3;
    align-self: start;
    justify-self: start;
    width: 1080px;
    margin: 245px 0 0 664px;
    color: #fff;
    font-weight: 900;
    line-height: 1;
    letter-spacing: 4.1px;
    text-align: left;
    text-shadow: 3px 4px 7px rgba(0, 0, 0, 0.25);
}

.hero__line {
  display: block;
}

.hero__line--risk {
  width: 865px;
    margin: 47px 0 0 50px;
}

.hero__line--solution {
  width: 865px;
    margin: 84px 0 0 50px;
}

.hero__text-large,
.hero__text-accent {
  font-size: clamp(52px, 5.125vw, 82px);
    line-height: 1.21;
}

.hero__text-medium {
  font-size: clamp(43px, 4.25vw, 68px);
    line-height: 1.46;
    letter-spacing: 3.4px;
}

.hero__text-accent {
  color: #eb4354;
}

/* ==========================================================
3. Introduction
========================================================== */

.intro {
  display: grid;
    grid-template-columns: minmax(360px, 1fr) 680px;
    gap: clamp(56px, 5vw, 96px);
    width: min(var(--content-width), calc(100% - 96px));
    margin: 0 auto;
    padding: 160px 0;
}

.intro__body {
  padding-left: 36px;
}

.intro__lead,
.intro__text {
  margin: 0;
    font-size: 2rem;
    font-weight: 800;
}

.intro__title {
  display: grid;
    gap: 48px;
    margin: 62px 0 82px;
    font-size: clamp(2.5rem, 1.9rem + 1.5vw, 3rem);
    font-weight: 900;
    line-height: 1.15;
}

.intro__title span {
  display: block;
}

.intro__figure {
  min-height: 790px;
    margin: 0;
    position: relative;
}

.intro__image {
  object-fit: cover;
    border-radius: 0 96px 0 96px;
}

.intro__image--primary {
  position: relative;
    z-index: 2;
    width: 520px;
    height: 520px;
}

.intro__image--secondary {
  position: absolute;
    z-index: 1;
    right: 0;
    bottom: 0;
    width: 500px;
    height: 394px;
}

/* ==========================================================
4. Search Solution
========================================================== */

.solution {
  padding: 0 0 160px;
    background: linear-gradient(180deg, var(--color-bg) 0 300px, #eaf8fb 430px, #eaf8fb 100%);
    text-align: center;
}

.solution__label {
  display: inline-flex;
    align-items: center;
    gap: 24px;
    margin: 0 0 28px;
    font-size: 32px;
    font-weight: 800;
    line-height: 1.5;
}

.solution__label > span:first-child {
  display: grid;
    width: 64px;
    height: 64px;
    place-items: center;
    position: relative;
    isolation: isolate;
    border-radius: 50%;
    background: var(--color-teal);
    color: #fff;
    font-size: 1rem;
}

.solution__label > span:first-child::before {
  position: absolute;
    left: 0;
    bottom: 0;
    z-index: -1;
    width: 32px;
    height: 32px;
    background: var(--color-teal);
    content: "";
}

.solution__label-text {
  display: block;
    width: auto;
    height: auto;
    background: transparent;
    color: inherit;
    font: inherit;
    white-space: nowrap;
}

.solution__label-text br {
  display: none;
}

.solution__tool {
  display: grid;
    align-items: start;
    justify-items: start;
    width: min(960px, 100%);
    height: 418px;
    margin: 0 auto 70px;
    overflow: hidden;
    position: relative;
    border-radius: 0 80px 0 80px;
    background: #94c7d3;
}

.solution__tool picture {
  display: block;
    width: 89.545%;
    margin-top: 42px;
    margin-left: -1.719%;
}

.solution__tool img {
  width: 100%;
    max-width: none;
    height: auto;
}

.solution__cursor {
  position: absolute;
    left: 76.563%;
    top: 51.914%;
    z-index: 2;
    width: 9.281%;
    height: 22.474%;
    background: url("./assets/group-108.svg") center / contain no-repeat;
    pointer-events: none;
}

.solution__quick {
  margin: 0 0 18px;
    color: var(--color-teal-dark);
    font-size: 32px;
    font-weight: 800;
    line-height: 1.5;
}

.solution__benefits {
  display: grid;
    grid-template-columns: repeat(3, 220px);
    justify-content: center;
    gap: clamp(72px, 7vw, 120px);
}

.solution__benefit {
  display: grid;
    justify-items: center;
    gap: 12px;
    color: var(--color-teal-dark);
    font-size: 1.6rem;
    font-weight: 900;
}

.solution__benefit img {
  width: 220px;
    max-width: none;
    height: auto;
    object-fit: contain;
}

.solution__note {
  width: min(calc(660px + clamp(72px, 7vw, 120px) + clamp(72px, 7vw, 120px)), calc(100% - 96px));
    margin: 46px auto 0;
    color: var(--color-teal-dark);
    font-size: 1.375rem;
    font-weight: 900;
    text-align: right;
}

/* ==========================================================
5. Products
========================================================== */

.products {
  display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    position: relative;
}

.products__title {
  position: absolute;
    left: clamp(48px, 8.2vw, 160px);
    top: -96px;
    z-index: 2;
    display: grid;
    width: 319px;
    height: 96px;
    place-items: center;
    margin: 0;
    padding: 0;
    border-radius: 70px 70px 0 0;
    background: var(--color-teal);
    color: #fff;
    font-size: 2.25rem;
    font-weight: 600;
    text-align: center;
}

.product-card {
  display: grid;
    height: clamp(680px, 44.8vw, 860px);
    overflow: hidden;
    color: #fff;
    position: relative;
}

.product-card__media,
.product-card__body,
.product-card__link {
  grid-area: 1 / 1;
}

.product-card__media {
  margin: 0;
}

.product-card__media img {
  width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-card::after {
  grid-area: 1 / 1;
    z-index: 1;
    opacity: 0;
    content: "";
    transition: opacity var(--ease);
}

.product-card--pic::after {
  background: linear-gradient(180deg, rgba(148, 199, 211, 0.3) 7.414%, rgba(148, 199, 211, 0.9) 62.818%, #94c7d3 100%);
}

.product-card--mov::after {
  background: linear-gradient(180deg, rgba(49, 109, 156, 0.3) 7.414%, rgba(49, 109, 156, 0.9) 62.818%, #316d9c 100%);
}

.product-card--pic .product-card__media img {
  object-position: center 42%;
}

.product-card--mov .product-card__media img {
  object-position: center 40%;
}

.product-card__body {
  z-index: 2;
    align-self: start;
    width: min(520px, 70%);
    margin: clamp(104px, 7.4vw, 142px) 0 0 9.1667vw;
    opacity: 0;
    transition: opacity var(--ease);
}

.product-card__record {
  margin: 0 0 34px;
    font-size: clamp(1.25rem, 1.6667vw, 2rem);
    font-weight: 500;
    letter-spacing: 0.05em;
    line-height: 1.15;
}

.product-card__record strong {
  font-size: clamp(2.75rem, 3.5417vw, 4.25rem);
    font-weight: 500;
    letter-spacing: 0.05em;
}

.product-card__features {
  display: grid;
    gap: 0;
    min-height: 156px;
    margin-bottom: 82px;
    font-size: clamp(1rem, 1.25vw, 1.5rem);
    font-weight: 500;
    line-height: 52px;
}

.product-card__name-jp {
  margin: 0;
    font-size: clamp(0.875rem, 1.0417vw, 1.25rem);
    font-weight: 400;
}

.product-card__name {
  margin: 6px 0 0;
    font-size: clamp(2.75rem, 3.5417vw, 4.25rem);
    font-weight: 500;
    line-height: 1.08;
}

.product-card__link {
  position: absolute;
    inset: 0;
    z-index: 3;
    display: block;
    width: auto;
    height: auto;
    margin: 0;
    color: #fff;
    opacity: 0;
    transition: opacity var(--ease);
}

.product-card:hover::after,
.product-card:focus-within::after,
.product-card:hover .product-card__body,
.product-card:focus-within .product-card__body,
.product-card:hover .product-card__link,
.product-card:focus-within .product-card__link {
  opacity: 1;
}

.product-card__link .arrow-icon {
  position: absolute;
    top: 50%;
    right: calc(clamp(48px, 6.1vw, 118px) + 28px);
    width: 56px;
    height: 56px;
    background: transparent;
    border-top: 6px solid currentColor;
    border-right: 6px solid currentColor;
    transform: translateY(-50%) rotate(45deg);
    color: white;
}

.product-card__link .arrow-icon::after {
  content: none;
}

/* ==========================================================
6. Product Points
========================================================== */

.points {
  padding: 160px 0;
}

.points .section-title {
  font-size: clamp(1.75rem, 1.875vw, 2.25rem);
    font-weight: 600;
    line-height: 1.22;
}

.points__list {
  display: grid;
    grid-template-columns: repeat(4, minmax(0, clamp(220px, 14.734vw, 283px)));
    justify-content: center;
    column-gap: clamp(28px, 2.55vw, 49px);
    row-gap: 72px;
    margin-top: 48px;
    padding: 0 24px;
}

.points__item {
  text-align: center;
}

.points__image {
  width: min(283px, 100%);
    height: auto;
    margin: 0 auto 32px;
    object-fit: contain;
}

.points__title {
  margin: 0;
    color: var(--color-teal-dark);
    font-size: clamp(1.625rem, 1.875vw, 2.25rem);
    font-weight: 700;
    line-height: 1.3889;
}

.points__caption {
  margin: 15px 0 0;
    color: var(--color-teal-dark);
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.25;
}

/* ==========================================================
7. promise
========================================================== */

.promise {
  display: grid;
  justify-items: center;
  min-height: 800px;
  position: relative;
}

.promise__heading {
  position: relative;
  z-index: 1;
  width: 390px;
  margin-bottom: 0;
  font-size: 36px;
  font-weight: 700;
  line-height: 50px;
}

.promise__heading-number {
  font-size: calc(1em + 4px);
}

@media (min-width: 721px) {
  .promise__heading {
    transform: translateY(-30px);
  }
}

.promise__list {
  --promise-item-width: 347px;
  --promise-item-height: 267px;

  position: absolute;
  top: 98px;
  left: 50%;
  width: 1109px;
  height: 708px;
  margin: 0;
  transform: translateX(-50%);
}

.promise__item {
  position: absolute;
  display: grid;
  justify-items: center;
  width: var(--promise-item-width);
  height: var(--promise-item-height);
  color: var(--color-teal-dark);
  font-size: 20px;
  font-weight: 900;
  line-height: 1.05;
  text-align: center;
}

.promise__item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 999px;
}

.promise__item span {
  position: absolute;
  bottom: 30px;
  left: 50%;
  width: max-content;
  max-width: 88%;
  color: #074c60;
  font-weight: 900;
  text-align: center;
  transform: translateX(-50%);
}

.promise__item--quick {
  top: 0;
  left: 136px;
}

.promise__item--wall {
  top: 0;
  left: 624px;
}

.promise__item--prevention {
  top: 303px;
  left: 0;
}

.promise__item--heart {
  top: 304px;
  left: 761px;
}

.promise__item--dx {
  top: 438px;
  left: 386px;
}

.promise__item--dx span {
  text-shadow: 0 0 31px #fff;
}

.promise__message {
  position: absolute;
  top: 401px;
  left: 50%;
  z-index: 1;
  margin: 0;
  color: var(--color-teal-dark);
  font-size: 32px;
  font-weight: 700;
  line-height: 48px;
  text-align: center;
  transform: translateX(-50%);
}

/* ==========================================================
8. Message
========================================================== */

.message {
  display: grid;
    grid-template: 1fr / 1fr;
    position: relative;
    z-index: 1;
    min-height: 767px;
    height: auto;
    margin-top: 160px;
    overflow: hidden;
    border-radius: 0 130px 0 130px;
}

.message__media,
.message__body {
  grid-area: 1 / 1;
    min-height: 0;
}

.message__media {
  position: absolute;
    inset: 0;
    height: 100%;
    overflow: hidden;
}

.message__media img {
  display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center;
    transform: none;
}

.message::after {
  grid-area: 1 / 1;
    content: none;
}

.message__body {
  z-index: 1;
    align-self: start;
    width: min(620px, calc(100% - 48px));
    margin-top: 160px;
    margin-bottom: 160px;
    margin-left: clamp(48px, calc(16.5vw - 60px), 260px);
    color: #fff;
    font-size: 16px;
    font-weight: 400;
    line-height: 34px;
}

.message__body p {
  margin: 0;
    font-size: 16px;
    font-weight: 400;
    line-height: 42px;
}

.message__body p + p {
  margin-top: 34px;
}

/* ==========================================================
9. FAQ
========================================================== */

.faq {
  padding: 160px 0 0;
}

.faq__title {
  position: relative;
    z-index: 0;
    display: grid;
    place-items: center;
    width: min(480px, calc(100% - 48px));
    min-height: 104px;
    margin: 0 auto 72px;
    padding: 0 24px;
    border-radius: 44px;
    background: #fff;
    color: #074c60;
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 1.752;
    text-align: center;
}

.faq__title::before,
.faq__title::after {
  position: absolute;
    z-index: -1;
    width: 50px;
    height: 50px;
    background: #fff;
    content: "";
}

.faq__title::before {
  top: 0;
    left: 0;
}

.faq__title::after {
  right: 0;
    bottom: 0;
}

.faq__list {
  display: grid;
    gap: 34px;
    width: min(var(--content-width), calc(100% - 96px));
    margin: 0 auto;
}

.faq__item {
  min-height: 192px;
    padding: 29px 64px 24px 59px;
    border-radius: 0 64px 0 64px;
    background: #fff;
}

.faq__question,
.faq__answer {
  display: grid;
    grid-template-columns: 44px 1fr;
    gap: 36px;
    align-items: start;
    margin: 0;
    color: #074c60;
    font-size: 16px !important;
    font-weight: 400 !important;
    line-height: 2;
}

.faq__question {
  padding-bottom: 18px;
    border-bottom: 1px solid #56b4c9;
    line-height: normal;
}

.faq__answer {
  padding-top: 14px;
}

.faq__question span {
  color: #56b4c9;
    font-size: 24px !important;
    font-weight: 500 !important;
    line-height: 1.752;
    text-align: center;
}

.faq__answer span {
  color: #e58183;
    font-size: 24px !important;
    font-weight: 500 !important;
    line-height: 1.752;
    text-align: center;
}

.faq__answer p {
  margin: 0;
    font-size: 16px !important;
    font-weight: 400 !important;
    line-height: 42px !important;
}

/* ==========================================================
10. Text Size Standardization (PC / Tablet)
   Large headings: 32px / Small headings: 24px / Body: 20px
   Mobile sizes continue to be controlled by
   shoho-log-main-responsive.css.
========================================================== */

@media (min-width: 721px) {
  /* Large headings */
  .intro__title,
  .section-title,
  .products__title,
  .promise__message,
  .promise__heading,
  .faq__title {
    font-size: 32px;
  }

  /* Small headings */
  .solution__label,
  .solution__quick,
  .points__title,
  .faq__question span,
  .faq__answer span {
    font-size: 24px !important;
  }

  /* Body text */
  .intro__lead,
  .intro__text,
  .solution__benefit,
  .solution__note,
  .points__caption,
  .promise__item,
  .message__body,
  .message__body p,
  .faq__question,
  .faq__answer,
  .faq__answer p {
    font-size: 24px !important;
  }

}
