@charset "UTF-8";
/*
Theme Name: ジョブサーチやまぐち
*/

/* フォントのインポート */
/* @import url("https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@300;400;500;600;700;800;900&display=swap"); */
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;400;500;600;700;800;900&display=swap");

/* カスタムプロパティ定義 */
:root {
  /* フォントの太さ */
  --Light: 300;
  --Regular: 400;
  --Medium: 500;
  --SemiBold: 600;
  --Bold: 700;
  --ExtraBold: 800;
  --Black: 900;
}

/* html全体に関わるもの */
html,
body {
  margin: 0 auto;
  /* font-family: "Noto Serif JP", serif; */
  font-family: "Noto Sans JP", sans-serif;
  background-color: #fff;
  scroll-behavior: smooth;
  /* max-width: 600px; */
  min-width: 1200px;
  font-weight: var(--Medium);
}

@media screen and (max-width: 600px) {
  html,
  body {
    width: auto;
    min-width: auto;
  }
  .pc {
    display: none;
  }
}

@media screen and (min-width: 601px) {
  .sp {
    display: none;
  }
}

a {
  text-decoration: none;
  color: inherit;
  transition: 0.3s;
}

a:hover {
  opacity: 0.6;
}

img {
  vertical-align: top;
}

nav ul {
  list-style-type: none;
  margin: 0;
  padding-inline-start: 0;
  li {
    cursor: pointer;
  }
}

/* 複数回使うクラス */

.pagination {
  margin: 15px 0 5px;
  text-align: center;
  @media screen and (min-width: 601px) {
    text-align: right;
    margin: 15px 50px 5px 0;
  }

  .page-numbers {
    display: inline-flex;
    width: 40px;
    height: 40px;
    margin-right: 10px;
    margin-bottom: 10px;
    justify-content: center;
    align-items: center;
    border: 1px solid #fbe63d;
    border-radius: 3px;
    font-weight: var(--Bold);
    font-size: 24px;
    &.current {
      background-color: #fbe63d;
    }
    &:last-child {
      margin-right: 0;
    }
    @media screen and (max-width: 450px) {
      width: 28px;
      height: 28px;
      font-size: 20px;
    }
  }
}

.check {
  text-align: center;
  margin: 10px 0;
  & img {
    width: 90%;
    @media screen and (min-width: 601px) {
      width: 70%;
    }
  }
}

.check2 {
  text-align: center;
  & h2 {
    font-size: 32px;
    font-weight: var(--Black);
    margin-block-start: 0;
    margin-block-end: 0;
    margin: 5px 0;
    @media screen and (max-width: 450px) {
      font-size: 24px;
    }
  }
  & img {
    width: 100px;
    @media screen and (max-width: 450px) {
      width: 80px;
    }
  }
}

.btn {
  display: block;
  width: 160px;
  background-color: #fbe63d;
  padding: 3px 0;
  margin: 0 auto;
  border-radius: 13px;
  text-align: center;
  font-size: 18px;
  font-weight: var(--ExtraBold);
  cursor: pointer;
}

/* rechaptchaの非表示 */
.grecaptcha-badge {
  visibility: hidden;
}

header {
  display: flex;
  position: relative;
  height: 80px;
  align-items: center;
  z-index: 10;
  @media screen and (min-width: 601px) {
    display: block;
    height: auto;
  }

  .logo {
    margin: 0 auto;
    width: 180px;
    @media screen and (min-width: 601px) {
      margin: 15px auto;
    }
    & h1 {
      margin-block-start: 0;
      margin-block-end: 0;
      & img {
        width: 100%;
      }
    }
  }
  .toggle {
    display: none;
    &:checked + .menu-btn + .menu {
      max-height: 300px;
    }
  }
  .menu-btn {
    position: absolute;
    width: 50px;
    height: 50px;
    right: 20px;
    color: #ea2837;
    font-size: 12px;
    font-weight: var(--Black);
    text-align: center;
    cursor: pointer;
    & span {
      display: inline-block;
      position: absolute;
      width: 100%;
      height: 4px;
      left: 0;
      background-color: #ea2837;
      &:nth-child(1) {
        top: 20px;
      }
      &:nth-child(2) {
        top: 28px;
      }
      &:nth-child(3) {
        top: 36px;
      }
    }
  }
  .menu {
    max-height: 0;
    position: absolute;
    width: 100%;
    top: 80px;
    left: 0;
    overflow: hidden;
    background-color: #ffe0de;
    transition: 0.3s;
    @media screen and (min-width: 601px) {
      display: flex;
      width: 1200px;
      max-height: none;
      position: static;
      background-color: unset;
      margin: 0 auto;
    }
    .item-wrap {
      @media screen and (min-width: 601px) {
        width: 33.3%;
      }
      .item {
        display: block;
        font-size: 18px;
        font-weight: var(--SemiBold);
        padding: 15px 0;
        margin: 0 7%;
        border-bottom: 1px dotted #000;
        @media screen and (min-width: 601px) {
          width: fit-content;
          margin: 0 auto;
          border-bottom: none;
        }
        &.last {
          border-bottom: none;
          padding-bottom: 20px;
          @media screen and (min-width: 601px) {
            padding-bottom: 15px;
          }
        }
      }
    }
  }
}

#top {
  position: relative;
  & img {
    width: 100%;
  }
  .catch-copy {
    position: absolute;
    font-size: 28px;
    font-weight: var(--ExtraBold);
    left: 35px;
    bottom: 30px;
    color: #fff;
    filter: drop-shadow(0px 0px 4px black);
    line-height: 1.4;
    @media screen and (max-width: 450px) {
      font-size: 20px;
    }
    @media screen and (min-width: 601px) {
      font-size: 60px;
      left: 70px;
      bottom: 60px;
    }
  }
}

#search {
  margin: 0 8%;
  @media screen and (min-width: 601px) {
    width: 1200px;
    margin: 0 auto;
  }

  .search-condition-wrap {
    .toggle {
      display: none;
      @media screen and (max-width: 600px) {
        &:checked + .condition-wrap::after {
          transform: rotate(180deg);
        }
        &:checked + .condition-wrap + .search-condition-inner > .conditions {
          max-height: 800px;
          padding-bottom: 10px;
        }
      }
    }
    .condition-wrap {
      display: flex;
      position: relative;
      font-size: 24px;
      font-weight: var(--ExtraBold);
      align-items: center;
      border-top: 2px solid #000;
      padding: 15px 0;
      cursor: pointer;
      @media screen and (min-width: 601px) {
        border-top: none;
        cursor: auto;
        justify-content: center;
        font-size: 30px;
      }
      &.first {
        @media screen and (min-width: 601px) {
          padding: 40px 0 15px;
        }
      }

      & span {
        color: #119cea;
      }
      &::before {
        display: inline-block;
        content: "";
        width: 20px;
        aspect-ratio: 37/46;
        margin-right: 10px;
        background-image: url(./images/search.png);
        background-size: cover;
      }
      &::after {
        display: inline-block;
        position: absolute;
        content: "";
        width: 21px;
        aspect-ratio: 14/9;
        right: 15px;
        transition: 0.3s;
        background-image: url("./images/arrow.png");
        background-size: cover;
      }
      @media screen and (min-width: 601px) {
        &::after {
          display: none;
        }
      }
      @media screen and (max-width: 450px) {
        font-size: 20px;
        &::before {
          width: 16px;
        }
        &::after {
          width: 16px;
        }
      }
    }
    .search-condition-inner {
      line-height: 2;
      font-size: 15px;
      font-weight: var(--Medium);
      @media screen and (min-width: 601px) {
        font-size: 16px;
      }
      .conditions {
        max-height: 0;
        transition: 0.3s;
        overflow: hidden;
        @media screen and (min-width: 601px) {
          display: flex;
          flex-wrap: wrap;
          max-height: none;
          margin-bottom: 40px;
        }

        &.last {
          border-bottom: 2px solid #000;
          @media screen and (min-width: 601px) {
            border-bottom: none;
          }
        }
        .condition {
          display: flex;
          cursor: pointer;
          align-items: center;
          padding: 0 10px;
          @media screen and (min-width: 601px) {
            padding: 0 20px;
          }

          & input {
            width: 16px;
            height: 16px;
            margin: 0 5px 0 0;
          }
        }
      }
    }
  }
  .buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px auto 50px;
    .narrow {
      color: #fff;
      background-color: #119cea;
      font-size: 20px;
      font-weight: var(--ExtraBold);
      margin: 0 10px;
      padding: 3px 20px;
      cursor: pointer;
      @media screen and (max-width: 450px) {
        font-size: 15px;
      }
    }
    .clear {
      background-color: #e6e6e6;
      font-weight: var(--ExtraBold);
      margin: 0 10px;
      padding: 3px 20px;
      cursor: pointer;
      @media screen and (max-width: 450px) {
        font-size: 12px;
      }
    }
  }
}
#search-result {
  margin: 0 8% 50px;
  @media screen and (min-width: 601px) {
    width: 1200px;
    margin: 0 auto 50px;
  }
  .search-list {
    .company {
      margin-bottom: 50px;
      @media screen and (min-width: 601px) {
        display: flex;
        margin-bottom: 100px;
      }

      .company-image {
        @media screen and (min-width: 601px) {
          width: 48%;
          margin-right: auto;
        }
        .image {
          width: 100%;
        }
      }
      .company-information {
        @media screen and (min-width: 601px) {
          width: 48%;
          margin-left: auto;
        }
        .name {
          display: block;
          font-size: 30px;
          font-weight: var(--Bold);
          margin: 5px 0;
          @media screen and (max-width: 450px) {
            font-size: 22px;
          }
        }
        .explain {
          font-size: 13px;
          line-height: 1.8;
          @media screen and (min-width: 601px) {
            font-size: 15px;
          }
        }
        & dl {
          margin-block: 10px;
        }
        & dt {
          display: inline-block;
          font-size: 14px;
          font-weight: var(--Bold);
          padding: 0 7px;
          border: 1px solid #119cea;
          @media screen and (min-width: 601px) {
            font-size: 16px;
          }
        }
        & dd {
          display: inline-block;
          margin-left: 10px;
          font-size: 14px;
          margin-bottom: 5px;
          @media screen and (min-width: 601px) {
            font-size: 16px;
            margin-bottom: 10px;
          }
          & a {
            color: #119cea;
          }
          & span {
            &:nth-child(n + 2) {
              &::before {
                content: "・";
              }
            }
          }
        }
        .condition {
          display: inline-block;
          color: #00f;
          font-size: 13px;
          margin-right: 15px;
          @media screen and (min-width: 601px) {
            font-size: 15px;
          }
        }
      }
    }
  }
  .message {
    font-size: 24px;
    margin: 80px 0;
    @media screen and (max-width: 450px) {
      font-size: 20px;
    }
  }
}
#overview {
  margin: 0 8%;
  @media screen and (min-width: 601px) {
    width: 1200px;
    margin: 0 auto;
  }
  .overview-wrap {
    @media screen and (min-width: 601px) {
      display: flex;
      margin: 30px 0 100px;
    }
    .text {
      margin: 10px 0;
      @media screen and (max-width: 450px) {
        font-size: 14px;
      }
      @media screen and (min-width: 601px) {
        width: 55%;
        order: 2;
      }
    }
    .image {
      display: block;
      width: 80%;
      margin: 20px auto 50px;
      @media screen and (min-width: 601px) {
        width: 40%;
        margin: 0 auto 0 0;
      }
    }
  }
}
#link {
  .banners {
    width: 200px;
    margin: 0 auto;
    @media screen and (min-width: 601px) {
      display: flex;
      width: 1000px;
      margin: 30px auto 100px;
    }
    .banner {
      @media screen and (min-width: 601px) {
        width: 33.3%;
        height: inherit;
      }
      & a {
        @media screen and (min-width: 601px) {
          display: block;
          width: fit-content;
          height: 90px;
          margin: 0 auto;
        }
        & img {
          width: 100%;
          border: 1px solid #eee;
          margin: 10px 0;
          @media screen and (min-width: 601px) {
            width: auto;
            height: inherit;
            margin: 0;
          }
        }
      }
    }
  }
}

#contact {
  margin: 0 8% 30px;
  @media screen and (min-width: 601px) {
    width: 800px;
    margin: 0 auto 30px;
  }

  .check {
    margin: 0 5%;
  }
  .text {
    margin: 10px 0;
    @media screen and (max-width: 450px) {
      font-size: 14px;
    }
  }
  & dl {
    margin-block-start: 30px;
    font-size: 14px;
    @media screen and (min-width: 601px) {
      font-size: 16px;
    }

    & dt {
      font-weight: var(--ExtraBold);
      margin-bottom: 7px;
    }
    & dd {
      margin-inline-start: 0;
      margin-bottom: 15px;
      font-weight: var(--Regular);
    }
  }
  .recaptcha {
    font-size: 11px;
    margin-bottom: 20px;
    & a {
      color: #119cea;
    }
  }

  & aside {
    font-size: 11px;
    text-align: center;
    margin-top: 20px;
  }

  & input[type="text"],
  & input[type="email"],
  & input[type="tel"],
  & textarea {
    width: 100%;
    border: 1px solid #000;
    padding: 0.5em;
    box-sizing: border-box;
  }
  .wpcf7-form.sent .wpcf7-response-output {
    display: none;
  }
  .wpcf7-form.invalid .wpcf7-response-output {
    border: none;
    color: #ff0000;
  }
  .wpcf7-form-control.wpcf7-submit.has-spinner {
    display: none;
    &:disabled,
    &.sent-now {
      & + .wpcf7-spinner + .btn {
        background-color: #ccc;
        cursor: auto;
      }
    }
  }
  .wpcf7-spinner {
    display: none;
  }
  .sent-now {
    pointer-events: none;
  }
}

footer {
  text-align: left;
  padding-top: 20px;
  .pink-wrap {
    background-color: #ffe0de;
    padding: 10px;
    .wrap {
      display: flex;
      font-weight: var(--Black);
      max-width: 370px;
      justify-content: center;
      margin: 0 auto;
      @media screen and (min-width: 601px) {
        max-width: 480px;
      }

      .left {
        width: 33%;
        align-self: center;
        & img {
          width: 90%;
        }
      }
      .right {
        width: 67%;
        .name {
          font-size: 19px;
          margin-bottom: 3px;
          @media screen and (max-width: 450px) {
            font-size: 17px;
          }
          @media screen and (min-width: 601px) {
            font-size: 22px;
          }
        }
        .text {
          font-size: 11px;
          @media screen and (min-width: 601px) {
            font-size: 14px;
          }
        }
      }
    }
  }
  .copyright {
    font-size: 11px;
    padding-bottom: 10px;
    text-align: center;
    @media screen and (min-width: 601px) {
      font-size: 12px;
    }
  }
}

#contact-thanks {
  margin: 0 8% 30px;
  @media screen and (min-width: 601px) {
    width: 1200px;
    margin: 0 auto 30px;
  }

  .text {
    margin: 30px 0;
  }
}
