@charset "UTF-8";

/**
 * 変数
 */
:root {
  --color-dark-gray: #444444;
  --color-light-gary: #cccccc;
  --color-pink: #fd7c96;
  --color-red: #f00;
  --color-blue: #5a8fc6;
  --color-light-blue: #ecf4fc;
  --color-dark-blue: #27415d;
}

/**
 * 共通
 */
body {
  font-size: 16px;
  line-height: 1.75;
}

.heading_1 {
  font-size: 2rem;
  font-weight: bold;
  line-height: 1.5;
}

@media screen and (max-width: 768px) {
  .heading_1 {
    font-size: 1.5rem;
  }
}

.heading_2 {
  font-size: 1.2rem;
  font-weight: bold;
  line-height: 1.5;
}

.link_button {
  display: block;
  border: 1px solid var(--color-blue);
  border-radius: 3px;
  padding: 1rem;
  text-align: center;
  text-decoration: none;
  color:var(--color-dark-blue);
  font-weight: bold;

  &:visited {
    color:var(--color-dark-blue);
  }

  &:hover {
    background: var(--color-light-blue);
  }
}


/**
 * ヘッダー
 */
.header {
  max-width: 960px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

@media screen and (max-width: 576px) {
  .header {
    .header_logo > img {
      width: 192px;
      height: auto;
    }
  }
}

/**
 * フッター
 */
#footer {
  background: var(--color-dark-gray);
  margin: 3rem 0 0;
}

/**
 * レイアウト
 */
.main {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 1rem;
}

.main_inner {
  display: flex;
  gap: 3rem;
  flex-shrink: 1;
  margin: 3rem auto 0;
}

@media screen and (max-width: 768px) {
  .main_inner {
    flex-direction: column;
    margin: 2rem auto 0;
  }
}

.content, .form {
  flex-basis: 50%;
  margin: 0;
}

.form .form_in {
  width: 100%;
  margin: 1.5rem 0 0;
}

/**
 * コンテンツ
 */
.content {

  .example {
    margin: 3rem 0 0;
    border: 1px solid var(--color-light-gary);
    padding: 2rem;
    border-radius: 3px;
    display: flex;
    gap: 1rem;
    flex-direction: column;

    .example_list {
      list-style-type: disc;
      padding-left: 1rem;
    }
  }

  .flow {
    margin: 2rem 0 0;
    border: 1px solid var(--color-light-gary);
    padding: 2rem;
    border-radius: 3px;
    display: flex;
    gap: 1rem;
    flex-direction: column;

    .step_list {
      display: flex;
      gap: 20px;
      justify-content: space-between;
    }

    .step_item {
      width: 110px;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 12.5px;
      position: relative;

      img {
        width: 66.5px;
        height: 66.5px;
      }

      .step_title {
        text-align: center;
      }
    }

    .step_item::after {
      content: url(./../images/icon_triangle_right.svg);
      position: absolute;
      right: -20px;
      top: 20px;
      width: 10px;
      height: 20px;
    }

    .step_item:last-child:after {
      display: none;
    }
  }

}


@media screen and (max-width: 768px) {
  .content {
    .flow {
      .step_list {
        flex-direction: column;
        gap: 40px;
      }
      .step_item {
        flex-direction: row;
        width: 100%;
        gap: 26px;

        br {
          display: none;
        }
      }
      .step_item::after {
        rotate: 90deg;
        right: none;
        top: 78px;
        left: 28px;
      }
    }
  }
}


/**
 * フォーム
 */
.form {
  p.notice {
    text-align: left;
  }
}
