body {
  background-color: #d2e0e0;

  @media screen and (max-width: 1024px) {
    font-size: 10px;
  }
}

.wrapper {
  overflow: hidden;
  min-width: 100%;
}

@media screen and (min-width: 1025px) {
  #top.wrapper {
    min-width: 100%;
  }
}

/*-----------------------------------
メインビジュアル
-----------------------------------*/

.hero {
  margin-top: 143px;
  margin-bottom: 80px;

  @media screen and (max-width: 1024px) {
    margin-top: 90px;
    margin-bottom: 40px;
  }

  .hero__name-area {
    margin-bottom: 32px;
    font-weight: 100;

    @media screen and (max-width:1024px) {
      margin-bottom: 16px;
    }

    h1 {
      font-size: 37px;
      letter-spacing: 0.25em;
      margin-bottom: 68px;
      line-height: 1;
      color: #555;

      @media screen and (max-width:1024px) {
        font-size: 24px;
        margin-bottom: 57px;
      }
    }
  }

  .hero__column {
    display: grid;
    grid-template-columns: 380px 1fr;
    align-items: center;
    gap: 80px;

    @media screen and (max-width:1024px) {
      display: flex;
      flex-direction: column;
      align-items: baseline;
      gap: 0;
    }
  }

  .hero__lead-text {
    line-height: 1.8;

    @media screen and (max-width:1024px) {
      display: contents;
    }
  }

  .hero__lead-text .ttl {
    margin-bottom: 40px;
    order: 1;

    @media screen and (max-width:1024px) {
      margin-bottom: 24px;
    }
  }

  .hero__lead-text .ttl h2 {
    font-size: 34px;
    letter-spacing: 0.25em;
    color: #555;

    @media screen and (max-width:1024px) {
      font-size: 20px;
    }
  }

  img {
    display: block;

    @media screen and (max-width:1024px) {
      order: 2;
      margin-bottom: 24px;
    }
  }

  .txt {
    font-size: 19px;
    @media screen and (max-width:1024px) {
      order: 4;
      font-size: 11px;
    }
  }
}

/*-----------------------------------
コンテンツ
-----------------------------------*/

.content {
  margin-bottom: 160px;

  @media screen and (max-width:1024px) {
    margin-bottom: 100px;
  }
}

.content__box {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 40px;

  @media screen and (max-width:1024px) {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  h3 {
    flex-shrink: 0;
    font-size: 32px;
    font-weight: 100;
    color: #555;

    @media screen and (max-width:1024px) {
      grid-template-columns: 1fr;
      gap: 16px;
      font-size: 18px;
    }
  }

  &:not(:last-of-type) {
    margin-bottom: 80px;

    @media screen and (max-width: 1024px) {
      margin-bottom: 60px;
    }
  }
  .web-page{
    margin-top: 60px;
    text-align: right;
    @media screen and (max-width: 1024px) {
      margin-top: 48px;
    }
  }
  .web-page a::after{
    content: '';
    display: inline-block;
    width: 13px;
    aspect-ratio: 1;
    background-image: url("../../assets/images/partners/icon_blank.svg");
    background-size: contain;
    vertical-align: middle;
    margin: -3px 0 0 8px;
  }
  @media screen and (max-width: 1024px) {
    .web-page a::after{
      width: 9px;
      margin: -3px 0 0 5px;
    }
  }

  .web-page a:hover{
    text-decoration: none;
  }
}

.career-table {
  width: 100%;
  line-height: 1.8;
  font-size: 19px;
  @media screen and (max-width: 1024px) {
    font-size: 11px;
  }

  tr {
    border-bottom: 1px solid #ccc;
    padding-bottom: 24px;
    text-align: left;
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 32px;

    @media screen and (max-width: 1024px) {
      grid-template-columns: 1fr;
      padding-bottom: 16px;
      gap: 8px;
    }

    &:not(:last-of-type) {
      margin-bottom: 24px;

      @media screen and (max-width: 1024px) {
        margin-bottom: 16px;
      }
    }

    &:first-of-type {
      padding-top: 24px;
      border-top: 1px solid #ccc;

      @media screen and (max-width: 1024px) {
        padding-top: 16px;
      }
    }

    th {
      font-weight: 100;
    }
  }
}

.interest-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-left: 24px;
  list-style-type: disc;
  font-size: 19px;
  @media screen and (max-width: 1024px) {
    font-size: 11px;
  }

  li {
    position: relative;
    padding-left: 8px;
  }
}

/*-----------------------------------
共通
-----------------------------------*/
#lastarea {
  overflow: unset;
}

.hero__inner,
.content__inner {
  max-width: calc(1120px + 24px);
  margin: 0 auto;
  padding: 0 12px;
  line-height: 1.8;
  position: relative;

  @media screen and (max-width:1024px) {
    max-width: 73.333%;
    padding: 0;
  }
}

img {
  width: 100%;
}

.totop {
  position: absolute;
  top: -95px;
  left: 10px;
  transition: opacity .4s ease;

  @media only screen and (max-width: 1024px) {
    top: -60px;
    left: 0;
  }
}

.totop--bottom {
  top: auto;
  bottom: -100px;

  @media only screen and (max-width: 1024px) {
    bottom: -70px;
  }
}



/*-----------------------------------
打ち消し
-----------------------------------*/
#top_contact .to_contact {
  position: static;
  text-align: right;
  margin-top: 40px;
  z-index: 2;
  font-size: 19px;
}

#top_contact .to_contact a {
  z-index: 2;
}

@media screen and (max-width: 1024px) {
  #top_contact {
    order: 4;
    width: 100%;
  }

  #top_contact .to_contact {
    margin-top: 20px;
    font-size: 11px
  }
}