/* Responsibility: shared section blocks reused by top and lower-page templates. */

.about-page {
  position: relative;
  z-index: 2;
  display: grid;
  align-items: center;
  grid-template-columns: 190px 1fr;
  gap: 38px;
  width: 100%;
  padding: 67px max(var(--side), calc((100vw - var(--page-max)) / 2 + 155px));
  border-top: 1px solid var(--light-gray);
  border-bottom: 1px solid var(--light-gray);
}

.about-page p {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
}

.about-page__label {
  color: var(--muted-blue);
  font-family: var(--latin);
  font-size: 16px;
  font-weight: 700;
}

.about-page p:not(.about-page__label) {
  font-weight: 500;
}


.section-heading__ja {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 12px 0 0;
  font-size: 18px;
  font-weight: 500;
  line-height: 1;
}

.section-heading__ja span {
  width: 30px;
  height: 3px;
  border-radius: 999px;
  background: var(--muted-blue);
}


.faq {
  display: grid;
  grid-template-columns: 300px minmax(0, 815px);
  gap: 55px;
  width: min(1170px, calc(100% - var(--side) * 2));
  margin: 0 auto;
  padding: 120px 0;
}

.faq .section-heading__ja {
  gap: 14px;
  margin: 0;
  font-size: 14px;
}

.faq__intro .display-title {
  margin: 64px 0 18px;
  font-size: 56px;
  line-height: 0.9;
}

.faq__intro p:last-child {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.8;
}

.faq__list {
  border-top: 1px solid #ddd;
}

.faq-item {
  border-bottom: 1px solid #ddd;
}

.faq-row {
  display: grid;
  grid-template-columns: 30px 1fr 25px;
  gap: 0;
  align-items: center;
  width: 100%;
  min-height: 49px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  text-align: left;
  transition: color 240ms ease;
}

.faq-row span {
  color: var(--gray);
  font-family: var(--latin), var(--sans);
  font-synthesis: none;
  font-size: 18px;
}

.faq-row i {
  display: grid;
  width: 25px;
  height: 25px;
  place-items: center;
  border-radius: 999px;
  background: var(--light-gray);
  font-style: normal;
  line-height: 1;
}

.faq-row i img {
  width: 11px;
  height: 11px;
  display: block;
  transition: transform 360ms cubic-bezier(0.22, 1, 0.36, 1);
}

.faq-row[aria-expanded="true"] i img {
  transform: rotate(45deg);
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transform: translateY(-4px);
  visibility: hidden;
  transition:
    grid-template-rows 420ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 260ms ease,
    transform 420ms cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0s linear 420ms;
}

.faq-answer > div {
  display: grid;
  grid-template-columns: 30px 1fr;
  min-height: 0;
  overflow: hidden;
}

.faq-answer span {
  padding-top: 4px;
  color: var(--muted-blue);
  font-family: var(--latin), var(--sans);
  font-synthesis: none;
  font-size: 18px;
  line-height: 1.8;
}

.faq-answer p {
  margin: 0;
  padding: 6px 56px 20px 0;
  color: var(--ink);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.85;
}

.faq-answer__content {
  padding: 6px 56px 20px 0;
}

.faq-answer__content p {
  padding: 0;
}

.faq-answer a {
  color: var(--text-link-color);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.faq-item.is-open .faq-answer {
  grid-template-rows: 1fr;
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
  transition-delay: 0s;
}

.conversion {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
  min-height: 500px;
  padding: 200px max(var(--side), calc((100vw - 1240px) / 2));
  color: var(--white);
  overflow: hidden;
}

.conversion__bg {
  position: absolute;
  inset: 0;
  background-color: #496f8c;
  background-image: linear-gradient(
    218deg,
    rgba(73, 111, 140, 0.96) 50%,
    rgba(47, 86, 111, 1) 100%
  );
}

.conversion__bg::before {
  position: absolute;
  inset: 0;
  background-color: #496f8c;
  background-image: url("../../images/shared-conversion-background.jpg");
  background-position: center;
  background-size: cover;
  background-blend-mode: multiply;
  content: "";
  opacity: 0.1;
}

.conversion-card {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 0;
  align-items: center;
  min-height: 160px;
  padding: 34px 40px;
  border-radius: 4px;
  background: #305870;
}

.conversion-card--entry {
  background: var(--nav-active);
}

.conversion-card h2 {
  margin: 0;
  font-size: 24px;
  font-weight: 400;
  line-height: 1;
}

.conversion-card div p {
  margin: 14px 0 0;
  font-family: var(--latin), var(--sans);
  font-synthesis: none;
  font-size: 18px;
  line-height: 1;
  text-transform: uppercase;
}

.conversion-card > p {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
}

.conversion-card__arrow {
  position: absolute;
  right: 20px;
  bottom: 20px;
  width: 40px;
  height: 20px;
}

@media (max-width: 820px) {
  body:not(.home) .section-heading__ja {
    font-size: 15px;
  }

  body:not(.home) .about-page {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 38px var(--side);
  }

  body:not(.home) .about-page p {
    line-height: 1.5;
  }

  body:not(.home) .faq {
    grid-template-columns: 1fr;
    gap: 30px;
    width: 100%;
    padding: 72px var(--side);
  }

  body:not(.home) .faq__intro {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    column-gap: 24px;
    align-items: end;
    align-items: last baseline;
  }

  body:not(.home) .faq__intro .section-heading__ja {
    grid-column: 1 / -1;
  }

  body:not(.home) .faq__intro .display-title {
    margin: 28px 0 0;
    font-size: 52px;
  }

  body:not(.home) .faq__intro p:last-child {
    margin: 0;
  }

  body:not(.home) .faq__intro-sp-break {
    display: none;
  }

  body:not(.home) .faq-row {
    grid-template-columns: 28px 1fr 32px;
    min-height: 56px;
    padding: 8px 0;
  }

  body:not(.home) .faq-answer p,
  body:not(.home) .faq-answer__content {
    padding-right: 0;
  }

  body:not(.home) .conversion {
    grid-template-columns: 1fr;
    align-content: center;
    gap: 12px;
    min-height: 560px;
    padding: 72px var(--side);
  }

  body:not(.home) .conversion-card {
    grid-template-columns: 1fr 44px;
    grid-template-rows: auto auto;
    column-gap: 14px;
    row-gap: 15px;
    align-content: center;
    min-height: 156px;
    padding: 20px;
  }

  body:not(.home) .conversion-card div {
    grid-column: 1 / -1;
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
  }

  body:not(.home) .conversion-card div p {
    margin: 0;
    margin-left: auto;
  }

  body:not(.home) .conversion-card > p {
    grid-column: 1;
    font-size: 13px;
    padding-right: 0;
  }

  body:not(.home) .conversion-card--entry .conversion-card__sp-join {
    display: none;
  }

  body:not(.home) .conversion-card__arrow {
    position: static;
    grid-column: 2;
    grid-row: 2;
    align-self: end;
    justify-self: end;
    width: 44px;
    height: auto;
  }
}

@media (max-width: 430px) {
  body:not(.home) .conversion-card {
    min-height: 148px;
    padding: 16px;
  }

  body:not(.home) .conversion-card > p {
    padding-right: 0;
  }

  body:not(.home) .conversion-card div p {
    font-size: 16px;
  }

  body:not(.home) .conversion-card__sp-join {
    display: none;
  }
}
