/* 転換社債LP専用のスタイルシート */

:root {
  --default-background: hsl(0, 0%, 100%);
  --default-color: hsl(0, 0%, 25%);
  --default-border: hsla(0, 0%, 0%, 10%);

  --dark-background: hsl(220, 5%, 65%);
  --dark-color: hsl(0, 0%, 100%);

  /*
  CBのイメージ図の配色に合わせている
  https://drive.google.com/file/d/1tb8D8ZSrd2rMzcprWzr34uBvSJETvurn/view
  */
  --light-background: hsl(0, 0%, 95%);
  --light-color: hsl(0, 0%, 25%);

  --cover-background: hsl(204, 60%, 50%);
  --cover-color: hsl(0, 0%, 96%);

  --button-background: hsl(205, 90%, 55%);
  --button-color: hsl(0, 0%, 100%);
}

main {
  line-height: 1.75;
  letter-spacing: 0.02em;
}

/* ----------------------------------------
テキスト装飾
---------------------------------------- */

.highlight {
  /*
    従来は`linear-gradient`を使う方法が多かったが、モダンブラウザでは`text-decoration`でも同様の表現が可能
    参考：https://zenn.dev/catnose99/articles/3239ba0d49cda9
  */
  text-decoration: underline;
  text-decoration-thickness: 0.5em;
  text-decoration-color: hsl(70, 100%, 50%);
  text-underline-offset: -0.2em;
  text-decoration-skip-ink: none; /* Safari 15.4- */
  background: none;
  color: inherit;
}

/* ----------------------------------------
レイアウト
---------------------------------------- */

.center {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.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;
  }
}

.three-columns {
  width: 100%;
  display: flex;
  flex-direction: column;
  row-gap: 20px;
}
@media screen and (min-width: 960px) {
  .three-columns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 20px;
    row-gap: 20px;
  }
}

/* ----------------------------------------
sectionの共通レイアウト
---------------------------------------- */

/* 配色 */
section {
  background-color: var(--default-background);
  color: var(--default-color);
}
section.dark {
  background-color: var(--dark-background);
  color: var(--dark-color);
}
section.light {
  background-color: var(--light-background);
  color: var(--light-color);
}
section.cover {
  background-color: var(--cover-background);
  color: var(--cover-color);
}

section h2 > span {
  display: block;
  line-height: 1.2;
  font-size: 0.7em;
}

section a.button {
  display: block;
  max-width: 100%;
  padding: 10px 15px;
  border-radius: 5px;
  text-align: center;
  font-weight: bold;
  text-decoration: none;
  background-color: var(--button-background);
  color: var(--button-color);
}

/* -----------------------------------------------------------------
新しいベンチャー投資「転換社債」で
利息も値上がり益も
----------------------------------------------------------------- */

.cover {
  padding: 30px 25px;
}
@media screen and (min-width: 520px) {
  .cover {
    padding: 60px 40px;
  }
}
@media screen and (min-width: 960px) {
  .cover {
    padding: 65px 100px;
  }
}

.cover-grid {
  max-width: min(100%, 660px);
  display: flex;
  flex-direction: column;
  align-items: center;
  row-gap: 40px;
}
@media screen and (min-width: 960px) {
  .cover-grid {
    width: 100%;
    max-width: 1240px;
    display: grid;
    grid-template-columns: 1fr clamp(300px, 35vw, 517px);
    grid-template-rows: repeat(5, auto);
    column-gap: 2em;
    row-gap: 50px;
  }
}

.cover h1 {
  grid-column: 1 / -1;
  grid-row: 1;
  line-height: 1.5;
  letter-spacing: 0.1em;
  font-size: clamp(20px, 7.9vw, 55px);
}
@media screen and (min-width: 960px) {
  .cover h1 {
    font-size: clamp(45px, 4.8vw, 65px);
  }
}

.cover p {
  grid-column: 1;
  align-self: start;
}
@media screen and (min-width: 520px) {
  .cover p {
    align-self: unset;
    font-size: 18px;
  }
}
@media screen and (min-width: 960px) {
  .cover p {
    font-size: 20px;
  }
}

.cover em {
  font-style: normal;
  text-decoration: underline;
  text-decoration-thickness: 0.1em;
  text-underline-offset: 0.15em;
}

.cover .cover-image {
  width: clamp(100px, 60vw, 350px);
}
@media screen and (min-width: 960px) {
  .cover .cover-image {
    grid-column: 2;
    grid-row: 1 / 5;
    width: 100%;
  }
}

.cover .button {
  grid-column: 1;
  background-color: var(--cover-color);
  color: var(--cover-background);
}
.cover .button {
  width: 100%;
  border-radius: 10px;
  font-size: 18px;
}
@media screen and (min-width: 520px) {
  .cover .button {
    max-width: 400px;
    padding: 15px;
    letter-spacing: 0.05em;
    font-size: 24px;
  }
}

.cover .note {
  grid-column: 1 / -1;
  color: var(--cover-color);
  border-color: currentColor;
}

/* -----------------------------------------------------------------
転換社債とは？
----------------------------------------------------------------- */

img {
  max-width: min(100%, 550px);
  margin: 0 auto;
}

/* -----------------------------------------------------------------
転換社債購入までの流れ
----------------------------------------------------------------- */

.step-label {
  display: block;
  font-weight: bold;
  text-transform: uppercase;
  color: var(--link-color);
}

/* -----------------------------------------------------------------
特定投資家の要件とは？
----------------------------------------------------------------- */

@media screen and (min-width: 960px) {
  .requirements_for_specified_investor .two-columns {
    gap: 5px 20px;
  }

  .requirements_for_specified_investor .two-columns > div {
    display: contents;
  }
}

.requirements_for_specified_investor header {
  grid-row: 1;
  font-size: 0.9em;
  color: hsl(0, 0%, 40%);
}

.requirements_for_specified_investor .box {
  grid-row: 2;
  min-height: 8em;
  display: flex;
  flex-direction: column;
  justify-content: center;
  font-size: 16px;
}

.requirements_for_specified_investor .center {
  height: 100%;
  justify-content: center;
}

.requirements_for_specified_investor .requirement {
  letter-spacing: 0.05em;
  color: hsl(0, 0%, 30%);
}
@media screen and (min-width: 520px) {
  .requirements_for_specified_investor .requirement {
    font-size: 20px;
  }
}

.requirements_for_specified_investor .or {
  display: inline-block;
  margin: 0 0.2em;
}

/* -----------------------------------------------------------------
欧米では一般的「ベンチャーデット投資」
----------------------------------------------------------------- */

.venture_debt .box.light {
  border-width: 5px;
}

.venture_debt dl {
  display: grid;
  grid-template-columns: repeat(2, auto);
  grid-template-rows: repeat(2, auto);
  justify-content: center;
  gap: 15px 6%;
}

.venture_debt dt {
  grid-row: 1;
  text-align: center;
  line-height: 1;
  font-size: 2em;
  font-weight: bold;
  color: hsl(0, 0%, 40%);
}
@media screen and (min-width: 520px) {
  .venture_debt dt {
    font-size: 3em;
  }
}
@media screen and (min-width: 960px) {
  .venture_debt dt {
    font-size: 5em;
  }
}

.venture_debt dd {
  grid-row: 2;
  margin: 0;
  text-align: center;
  font-size: 0.8em;
  font-weight: normal;
  border-top: 1px solid currentColor;
  color: var(--default-light-color);
}
@media screen and (min-width: 520px) {
  .venture_debt dd {
    font-size: 1em;
    font-weight: bold;
  }
}
@media screen and (min-width: 960px) {
  .venture_debt dd {
    font-size: 1.2em;
  }
}

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

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

.linkToFaq a {
  font-weight: bold;
  font-size: 15px;
  line-height: 1.38;
  text-align: center;
  text-decoration-line: underline;
}
