@media screen and (max-width: 999px) {

  /* 変数 */
  :root {
    --main-minWidth: 100vw;
    --main-maxWidth: 100vw;
    --main-padding: 40px;
  }

  /* header */
  .header_wrapper {
    flex-direction: column;
    height: auto;

    h1 {
      margin-top: 10px;
    }

    ul {
      margin: 10px 0;
      padding: 0;
    }

    li {
      font-size: 1rem;
    }
  }

  /* top */
  .contents_top {
    justify-content: center;

    .wrap {
      text-align: center;
    }
  }

  /* profile */
  .contents_profile {
    flex-direction: column;

    h2 {
      font-size: calc(36px * 0.8);
      margin: 20px 0;
      padding-left: 0;
    }

    .box_profile {
      margin: 0 0 40px;
      flex-direction: column;
      width: 90vw;

      figure {
        margin-right: 0;
        margin-bottom: 20px;
      }

      .introduce {
        width: 100%;
        padding-right: 0;

        .box {
          flex-direction: column;

          .left {
            padding-right: 0;

            dl {
              margin-bottom: 20px;
            }

            dt {
              font-size: calc(40px * 0.8);
            }
          }
        }

        .skill {
          tr:nth-child(odd) th {
            background-color: var(--main-bgColor);
          }

          th, td, .rank {
            display: block;
            width: 100%;
            text-align: center;
            border: none;
          }
        }
      }
    }
  }

  /* works */
  .contents_works {
    flex-direction: column;

    h2 {
      font-size: calc(36px * 0.8);
      margin: 20px 0;
      padding-left: 0;
    }

    .box_works {
      margin: 0 0 40px;
      flex-direction: column;
      width: 90vw;

      .thumbbox {
        margin: 0 auto 20px;
      }
    }
  }

  /* footer */
  .footer_wrapper {
    h1 {
      font-size: calc(36px * 0.8);
      padding: 60px 0;
    }
  }

  /* contact */
  .contents_contact {
    flex-direction: column;

    h2 {
      font-size: calc(36px * 0.8);
      margin: 20px 0;
      padding-left: 0;
    }

    form {
      margin: 80px 0 40px;
      flex-direction: column;
      width: 90vw;
    }
  }
}