/* 社債のセカンダリーマーケットとは？ */

:root {
  /* Colors */
  --black: rgba(64, 64, 64, 1);
  --aboud-background: rgba(245, 245, 245, 1);
  --buy-background: rgba(121, 125, 134, 1);
  --blue: rgba(43, 138, 202, 1);
  --blue-step: rgba(37, 157, 244, 1);
  --white: rgba(255, 255, 255, 1);
  --border: rgba(0, 0, 0, 0.1);
  --semi-black: #1e1e1e;
  --pink: #ff5dbe;
  --dot-blue: #3592d1;
}

.main {
  color: var(--black);
  font-family: "Noto Sans JP";
}

/* ----------------------------------------
レイアウト
---------------------------------------- */
.two-columns {
  width: 100%;
  display: flex;
  flex-direction: column;
  row-gap: 20px;
}
@media screen and (min-width: 960px) {
  .two-columns {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 20px;
    row-gap: 20px;
  }
}

.five-columns {
  width: 100%;
  display: flex;
  flex-direction: column;
  row-gap: 10px;
  align-items: center;
}
@media screen and (min-width: 960px) {
  .five-columns {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    column-gap: 10px;
    align-items: stretch;
  }
}

figure.horizontal-scrollable {
  width: 100%;
  overflow-x: scroll;
  margin: 0;

  & > img {
    max-width: 150%;
  }
}

@media screen and (min-width: 520px) {
  figure.horizontal-scrollable {
    overflow-x: unset;

    & > img {
      max-width: 100%;
    }
  }
}

/* ----------------------------------------
page summary
---------------------------------------- */

.page-header {
  color: var(--semi-black);
  background: var(--white);
  padding: 20px 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  row-gap: 20px;
}
@media screen and (min-width: 520px) {
  .page-header {
    --max-article-width: 1000px;

    row-gap: 2em;
    padding-top: 30px;
    padding-inline: max(40px, calc((100vw - var(--max-article-width)) / 2));
  }
}

.page-header > .breadcrumbs {
  width: 100%;
}

.page-header > h1 {
  text-align: center;
  font-size: 22px;
  font-weight: bold;
}
@media screen and (min-width: 520px) {
  .page-header > h1 {
    font-size: 30px;
  }
}
@media screen and (min-width: 745px) {
  .page-header > h1 {
    font-size: 36px;
  }
}

/* ----------------------------------------
about section
---------------------------------------- */
.about {
  color: var(--semi-black);
  background: var(--white);
  display: flex;
  flex-direction: column;
  row-gap: 60px;
  padding: 20px 15px 80px;
}
@media screen and (min-width: 520px) {
  .about {
    row-gap: 80px;
  }
}

.about > p {
  font-size: 15px;
  font-weight: normal;
  line-height: 27px;
  text-align: left;
}
@media screen and (min-width: 650px) {
  .about > p {
    font-size: 16px;
    text-align: center;
  }
}

.about .button-link {
  display: block;
  padding: 0.5em 1em;
  border-radius: 50px;
  text-align: center;
  text-decoration: none;
  background-color: #f3f3f3;
  color: inherit;

  &::after {
    content: "";
    font-family: "Font Awesome 6 Free";
    content: "\f078";
    /* biome-ignore lint/suspicious/noShorthandPropertyOverrides: */
    font: var(--fa-font-solid);

    display: inline-block;
    margin-left: 0.5em;
    width: 1em;
    height: 1em;
  }

  &.selling {
    background-color: hsl(324 100% 96%);
    color: var(--pink);

    &:hover {
      background-color: hsl(324 100% 93%);
    }
  }

  &.purchase {
    background-color: hsl(206 100% 95%);
    color: var(--blue);

    &:hover {
      background-color: hsl(206 100% 92%);
    }
  }
}

section > img {
  max-width: min(90%, 550px);
}

.pink-dot {
  background: top left / 1em 0.5em repeat-x radial-gradient(circle, var(--pink) 0.15em, rgba(0, 0, 0, 0) 0.15em);
  padding-top: 0.5em;
}
.blue-dot {
  background: top left / 1em 0.5em repeat-x radial-gradient(circle, var(--dot-blue) 0.15em, rgba(0, 0, 0, 0) 0.15em);
  padding-top: 0.5em;
}

/* ----------------------------------------
sell section
---------------------------------------- */
.sell {
  background: #f8f8f8;
}
.sell > div:nth-of-type(n + 3) {
  width: 100%;
  max-width: 880px;
  padding-top: 35px;
  display: grid;
  row-gap: 30px;
  border-top: solid 4px #eee;
}

.sell > h2 {
  font-size: 24px;
  font-weight: bold;
  text-align: center;
}

.sell > p {
  font-size: 15px;
  font-weight: normal;
  line-height: 27px;
  text-align: left;
}
@media screen and (min-width: 550px) {
  .sell > p {
    font-size: 16px;
    text-align: center;
    word-break: keep-all;
  }
}

.sell-description {
  text-align: left;
  line-height: 27px;
}
@media screen and (min-width: 550px) {
  .sell-description {
    text-align: center;
  }
}

.sell-content {
  width: 100%;
  background-color: var(--white);
  flex: 1;
  padding: 1em;
  display: flex;
  flex-direction: column;
  row-gap: 1em;
}
@media screen and (min-width: 960px) {
  .sell-content {
    height: fit-content;
  }
}

.sell-content > .step {
  font-size: 13px;
  font-weight: bold;
  line-height: 24px;
  text-align: center;
  color: var(--pink);
}

.sell-content > h3 {
  font-size: 18px;
  text-align: center;
  color: var(--pink);
}

.sell-content > p {
  font-size: 15px;
  font-weight: normal;
  line-height: 24px;
  text-align: left;
}

.sell-content-outer {
  width: 100%;
}

.sell-content-outer > .annotation {
  font-size: 12px;
  font-weight: normal;
  line-height: 24px;
  color: rgba(153, 153, 153, 1);
}

.sell-content > img {
  height: 47px;
}

.chevron-sell::after {
  font-family: "Font Awesome 6 Free";
  content: "\f078";
  /* biome-ignore lint/suspicious/noShorthandPropertyOverrides: */
  font: var(--fa-font-solid);
}
@media screen and (min-width: 960px) {
  .chevron-sell {
    padding-bottom: 2em;
    margin: auto 0;
  }
  .chevron-sell::after {
    content: "\f054";
  }
}

.captions {
  font-size: 15px;
  line-height: 27px;
  display: flex;
  flex-direction: column;
  row-gap: 10px;
}
@media screen and (min-width: 520px) {
  .captions {
    font-size: 16px;
  }
}

/* ----------------------------------------
buy section
---------------------------------------- */
.buy {
  background: var(--white);
}
.buy > div:nth-of-type(n + 3) {
  width: 100%;
  max-width: 880px;
  padding-top: 35px;
  display: grid;
  row-gap: 30px;
  border-top: solid 4px #eee;
}

.buy > h2 {
  font-size: 24px;
  font-weight: bold;
  text-align: center;
}

.buy-description {
  text-align: left;
  line-height: 27px;
}
@media screen and (min-width: 550px) {
  .buy-description {
    text-align: center;
  }
}

.merit {
  font-size: 15px;
  font-weight: normal;
  line-height: 22.5px;
  text-align: left;
}
@media screen and (min-width: 550px) {
  .merit {
    font-size: 16px;
  }
}

.buy-content {
  max-width: 660px;
  margin: 0 auto;
  padding: 30px;
  display: flex;
  flex-direction: column;
  row-gap: 22px;
  flex: 1;
}

.buy-content img {
  height: 50px;
}

.buy-title {
  text-align: center;
  color: var(--blue);
}
@media screen and (min-width: 520px) {
  .buy-title {
    text-align: left;
  }
}

.buy-title .step {
  font-size: 13px;
  font-weight: bold;
  line-height: 24px;
}

.buy-title h4 {
  font-size: 20px;
}

.buy-content-box {
  display: flex;
  flex-direction: column;
  row-gap: 10px;
}
@media screen and (min-width: 520px) {
  .buy-content-box {
    display: grid;
    grid-template-rows: auto auto;
    grid-template-columns: 80px 1fr;
  }
  img {
    grid-row: 1 / -1;
  }
}

img.merit1 {
  margin-left: 10px;
}
@media screen and (min-width: 520px) {
  img.merit1 {
    margin-left: 0;
  }
}

.buy-content-list {
  display: flex;
  flex-direction: column;
  row-gap: 2.5px;
  font-size: 15px;
}
@media screen and (min-width: 520px) {
  .buy-content-list {
    font-size: 16px;
  }
}

.buy-content-annotation li {
  list-style: disc;
  margin-left: 1.5em;
}

/* -----------------------------------------------------------------
よくある質問
----------------------------------------------------------------- */

section.faq {
  border-top: solid 1px #c4c4c4;
}

.faqBlock {
  width: 100%;
  max-width: 880px;
}

.linkToFaq a {
  font-style: normal;
  font-weight: bold;
  font-size: 15px;
  line-height: 1.38;
  /* identical to box height, or 21px */

  text-decoration-line: underline;

  color: var(--blue-2024);

  /* Inside Auto Layout */

  flex: none;
  order: 4;
  align-self: stretch;
  flex-grow: 0;
}
