@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);
  }
}

.note_list {
  font-size: 80%;
  margin: 2rem 0 0;
  line-height: 1.5;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;

  .note_item {
    padding-left: 1.4rem;
    text-indent: -1.4rem;

    &::before {
      content: "※";
      margin-right: 0.4rem;
    }
  }
}

/**
 * ヘッダー
 */
.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;

  .copyright {
    color: var(--color-light-gary);
    text-align: center;
    padding: 1rem 0;
    font-size: 90%;
  }
}

/**
 * レイアウト
 */
.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 {
  .user {
    margin: 3rem 0 0;

    .user_list {
      display: grid;
      grid-template-columns: 1fr 1fr 1fr;
      gap: 1rem;
      margin: 1.5rem 0 0;
      place-content: center;
      place-items: center;

      .user_item {
        display: flex;
        justify-content: center;
      }
    }

    .user_list_notes {
      margin-top: 1.5rem;

      .notes_item {
        position: relative;
        display: flex;
        gap: .3rem;

        &::before {
          content: "※";
          flex-shrink: 0;
        }
      }
    }
  }

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

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

@media screen and (max-width: 576px) {
  .content {
    .user {
      .user_list {
        grid-template-columns: 1fr 1fr;
      }
    }
  }
}

/**
 * フォーム
 */
.form {
  font-size: 16px;

  .attention {
    font-size: 80%;
    color: var(--color-red);
    font-weight: bold;
  }

  .form_in {
    .mktoFormRow {
      display: flex;
      gap: 1.5rem;
    }

    #LblFORM_PERMISSION span {
      font-weight: normal;
    }

    textarea#FORM_INQUIRY {
      height: 7rem;
    }

    .mktoForm .mktoCheckboxList:has([name="FORM_PERMISSION"]) {
      border: 1px solid var(--color-light-gary);
      border-radius: 3px;
      padding: 0.5rem;
      display: flex;
      gap: 0.5rem;
      flex-wrap: nowrap;
    }
  }
}
