:root {
  --color1: ;
  --color2: #3b5199;
  --border: 2px solid #fff;
  --trans: all 0.3s;
  --bg-color: rgba(228, 240, 200, 0.8);
  --shadow: -7px 7px 14px 0px rgba(0, 0, 0, 0.02);
}

/* ----------------------------

共通項目

------------------------------*/
html {
  scroll-behavior: smooth;
  overflow-y: scroll;
  scrollbar-gutter: stable;
}

body {
  font-family: "Zen Kaku Gothic New";
  color: #212121;
  overflow-x: hidden;
  background-color: #f8f8f8;
  line-height: 1.5;
}

section {
  padding: 160px 0;
  @media (max-width: 960px) {
    padding: 80px 0;
  }
}
@media (max-width: 960px) {
  section.under {
    padding: 60px 0 60px;
  }
}

a {
  width: fit-content;
}

img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tag-item {
  display: flex;
  align-items: center;
  padding: 0 20px;
  gap: 4px;

  .tag {
    font-size: 12px;
  }
}

/* margin */
.mb160 {
  margin-bottom: 160px;
}
.mb120 {
  margin-bottom: 120px;
}
.mb100 {
  margin-bottom: 100px;
}
.mb80 {
  margin-bottom: 80px;
}
.mb60 {
  margin-bottom: 60px;
}
.mb40 {
  margin-bottom: 40px;
}
.mb30 {
  margin-bottom: 30px;
}
.mb20 {
  margin-bottom: 20px;
}
.mb10 {
  margin-bottom: 10px;
}
@media (max-width: 960px) {
  .mb160 {
    margin-bottom: 80px;
  }
  .mb120 {
    margin-bottom: 60px;
  }
  .mb100 {
    margin-bottom: 50px;
  }
  .mb80 {
    margin-bottom: 40px;
  }
  .mb60 {
    margin-bottom: 30px;
  }
  .mb40 {
    margin-bottom: 20px;
  }
  .mb30 {
    margin-bottom: 15px;
  }
  .mb20 {
    margin-bottom: 10px;
  }
  .mb10 {
    margin-bottom: 5px;
  }
}

.desc {
  font-size: clamp(0.875rem, 0.694rem + 0.3766vw, 1rem);
  line-height: 2;
}

.inner1 {
  max-width: 1200px;
  width: calc(100% - 10.26vw);
  margin: 0 auto;
}

/* ----------------------------

ボタン

------------------------------*/

.btn {
  display: flex;
  justify-content: center;
  gap: 15px;
  background-color: #17390b;
  border: 0;
  padding: 28px 90px;
  max-width: auto;
  width: auto;
  border-radius: 100px;
  transition: var(--trans);
  .img {
    width: 29px;
    img {
      width: 100%;
    }
  }
  span {
    width: 100%;
    display: block;
    font-size: 20px;
    color: #fff;
    flex: 1;
    font-family: "Zen Kaku Gothic New", sans-serif;
    font-weight: 500;
  }
}

.to-archive {
  width: 224px;
  height: 56px;
  font-size: 14px;
  display: grid;
  place-items: center;
  color: #fff;
  border-radius: 100px;
  font-weight: 700;
  transition: var(--trans);
  background-color: var(--color1);
  margin: 40px auto;
  @media (max-width: 768px) {
    margin: 20px auto 0;
  }
}
.to-archive:hover {
  background-color: #96c90f;
  scale: 1.02;
}

.btn-center {
  margin-left: auto;
  margin-right: auto;
}

.flex {
  display: flex;
}

/* モバイル改行 */

.sp {
  display: none;
}

@media (max-width: 768px) {
  .sp {
    display: block;
  }
}

.pc {
  display: block;
}

@media (max-width: 768px) {
  .pc {
    display: none;
  }
}

/* ----------------------------

ヘッダー

------------------------------*/

header {
  position: fixed;
  top: 15px;
  width: 100vw;
  z-index: 800;

  @media (max-width: 960px) {
    top: 0;
  }

  .header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    height: 80px;
    width: calc(100vw - 40px);
    max-width: 1650px;
    margin: 0 auto;
    @media (max-width: 960px) {
      height: 75px;
      border-radius: 0 0 50px 50px;
      width: 100%;
    }
    .logo {
      height: clamp(2.25rem, 0.45rem + 3vw, 3.375rem);
      img {
        height: 100%;
      }
      @media (max-width: 960px) {
        height: 35px;
        margin-left: 20px;
      }
    }
    .spacer {
      flex: 1;
    }
    nav {
      ul.flex {
        li {
          transition: var(--trans);
          a {
            font-size: 15px;
            padding: 30px 20px;
            font-family: "Zen Kaku Gothic New", sans-serif;
            font-weight: 500;
            display: flex;
            align-items: center;
            gap: 4px;
            transition: var(--trans);
            img {
              width: 16px;
              translate: 0 2px;
            }
          }
        }
        li:last-child {
          a {
            padding-right: 0;
          }
        }
        li:hover {
          a {
            translate: 2px -2px;
            img {
            }
          }
        }
      }
      @media (max-width: 1500px) {
        display: none;
      }
    }
  }
}
#header-top {
  transform: translateY(-100%);
  opacity: 0;
  transition: 1.6s cubic-bezier(0.1, 1, 0.6, 1);
}
#header-top.header-animate {
  transform: translateY(0);
  opacity: 1;
}

#hamburger-menu-btn {
  margin-right: 10px;
  display: none;
  cursor: pointer;
  z-index: 900;
  @media (max-width: 1500px) {
    display: block;
  }

  .box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    height: 45px;
    width: 45px;
    border-radius: 999px;
    position: relative;
    z-index: 999;
    background-color: var(--color1);

    span {
      display: block;
      height: 1.5px;
      width: 20px;
      background: #fff;
      transition: 0.2s all ease-in-out;
    }
  }
}

#hamburger-menu-btn.active {
  z-index: 999;
  .box {
    background-color: #fff;
  }
  span:nth-child(1) {
    transform: rotate(30deg);
    translate: 0 3.25px;
    background-color: var(--color1);
  }
  span:nth-child(2) {
    display: none;
  }
  span:nth-child(3) {
    transform: rotate(-30deg);
    translate: 0 -3.25px;
    background-color: var(--color1);
  }
}

/* spメニュー */

#sp-header {
  width: 100vw;
  height: 100vh;
  position: fixed;
  top: -15px;
  opacity: 0;
  visibility: hidden;
  transition: var(--trans);
  background-color: rgba(239, 246, 237, 0.4);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  @media (max-width: 960px) {
    top: 0;
  }

  .wrapper {
    overflow-y: scroll;
    position: fixed;
    right: 100%;
    top: 0;
    position: absolute;
    width: 274px;
    min-height: 100vh;
    background-color: #fff;
    padding: 55px 30px;
    margin: 0 0 0 auto;
    border-radius: 40px 0 0 40px;
  }

  nav {
    .sp-menu {
      display: flex;
      flex-direction: column;
      justify-content: center;

      li {
        border-bottom: 1px #c8d1b3 solid;
        text-align: left;
        transition: var(--trans);
        a {
          width: 100%;
          display: inline-block;
          padding: 15px 0;
          font-size: 15px;
          font-weight: 500;
        }
        a:hover {
          opacity: 0.6;
        }
      }
      li:last-child {
        border-bottom: 0;
        margin-bottom: 30px;
        a {
          padding-bottom: 0;
        }
      }
      .nav-il-sp {
        padding: 15px 0;
        span {
          font-weight: 500;
          color: #96c90f;
          font-size: 15px;
          display: inline-block;
          margin-bottom: 10px;
        }
        .under-nav-sp {
          display: flex;
          flex-direction: column;
          gap: 6px;
          li {
            border-bottom: 0;
            a {
              padding: 0;
              padding-left: 21px;
              position: relative;
            }
            a::before {
              content: "";
              width: 6px;
              height: 1.5px;
              background-color: #96c90f;
              border-radius: 111px;
              position: absolute;
              top: 50%;
              left: 0;
            }
          }
          li:last-child {
            margin-bottom: 0;
          }
        }
      }
    }
  }
}

#sp-header.active {
  opacity: 1;
  z-index: +2;
  visibility: visible;
  .wrapper {
    right: 0;
  }
}

/* ----------------------------

トップページ-メインビジュアル

------------------------------*/
.mv {
  min-height: 50vh;
  padding-top: 200px;
  h2 {
    font-size: 60px;
    line-height: 1.5;
  }
}
.title_area {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 40px;
  .sec_title {
    font-size: 40px;
    font-weight: 700;
  }
  a {
    display: flex;
    align-items: center;
    gap: 4px;
    transition: var(--trans);
    img {
      width: 16px;
      translate: 0 2px;
    }
  }
  a:hover {
    translate: 2px -2px;
  }
}
.wrapper {
  display: flex;
  align-items: center;
  gap: min(40px, 4vw);
  overflow-x: scroll;
  padding: 20px 0 40px;
  .item {
    width: min(350px, 25vw);
    display: block;
    background-color: #fff;
    overflow: hidden;
    border-radius: 10px;
    padding-bottom: 20px;
    transition: var(--trans);
    .img {
      width: 100%;
      aspect-ratio: 3/2;
      margin-bottom: 20px;
      img {
        width: 100%;
        height: 100%;
        object-fit: cover;
      }
    }
    h3 {
      font-size: 16px;
      margin-bottom: 10px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 0 20px;
      img {
        transition: var(--trans);
        width: 20px;
      }
    }
  }
  .item:hover {
    translate: 5px -5px;
    box-shadow: var(--shadow);
    h3 {
      img {
        translate: 2px -2px;
      }
    }
  }
}
.wrapper::-webkit-scrollbar {
  display: none;
}

.under_mv {
  padding-top: 200px;
  p {
    font-size: 60px;
  }
  .sub_title {
    font-size: 14px;
  }
}

.website,
.add,
.dtp,
.banner {
  .grid_3c {
    row-gap: min(30px, 4vw);
    .card {
      transition: var(--trans);
      h3 {
        display: flex;
        align-items: center;
        justify-content: space-between;
        img {
          width: 20px;
          transition: var(--trans);
        }
      }
    }
    .card:hover {
      box-shadow: var(--shadow);
      translate: 5px -5px;
      h3 {
        img {
          translate: 2px -2px;
        }
      }
    }
  }
}

.grid_3c {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: min(30px, 4vw);
  .card {
    border-radius: 10px;
    overflow: hidden;
    padding-bottom: 20px;
    overflow: hidden;
    background-color: #fff;
    .img {
      margin-bottom: 20px;
      width: 100%;
      height: auto;
      aspect-ratio: 3/2;
    }
    h3 {
      font-size: 20px;
      padding: 0 20px;
      margin-bottom: 10px;
    }
    ul {
      padding: 0 20px;
      display: flex;
      flex-direction: column;
      gap: 6px;
    }
  }
}

footer {
  .footer {
    padding: 40px 0;
    background-color: #212121;
    color: #fff;
    .flex {
      justify-content: space-between;
      margin-bottom: 40px;
      .l-cont {
        a {
          font-size: 40px;
          font-weight: 900;
        }
      }
      .r-cont {
        display: flex;
        flex-direction: column;
        gap: 20px;
        a {
          font-size: 15px;
          font-family: "Zen Kaku Gothic New", sans-serif;
          font-weight: 500;
          display: flex;
          align-items: center;
          gap: 4px;
          transition: var(--trans);
          img {
            width: 16px;
            translate: 0 2px;
          }
        }
        a:hover {
          translate: 2px -2px;
        }
      }
    }
    .t-center {
      text-align: center;
    }
  }
}

.banner {
  .wrapper {
    display: flex;
    align-items: center;
    gap: min(40px, 4vw);
    overflow-x: scroll;
    padding: 20px 0 40px;
    .item {
      width: min(350px, 25vw);
      display: block;
      background-color: #fff;
      overflow: hidden;
      border-radius: 10px;
      padding-bottom: 20px;
      transition: var(--trans);
      .img {
        width: 100%;
        aspect-ratio: 3/2;
        margin-bottom: 20px;
        img {
          width: 100%;
          height: 100%;
          object-fit: cover;
        }
      }
      h3 {
        font-size: 16px;
        margin-bottom: 10px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0 20px;
        img {
          transition: var(--trans);
          width: 20px;
        }
      }
    }
    .item:hover {
      translate: 5px -5px;
      box-shadow: var(--shadow);
      h3 {
        img {
          translate: 2px -2px;
        }
      }
    }
  }
}

.flex_2c {
  display: flex;
  gap: min(80px, 5vw);
  .img_area {
    width: 50%;
    img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      box-shadow: var(--shadow);
    }
  }
  .text_area {
    width: 50%;
    h3,
    p {
      font-size: 16px;
    }
    .category{
      display: flex;
      align-items: center;
      gap: 10px;
      a{
        display: block;
      }
    }
  }
}

.single_banner {


}

/* ----------------------------

お問い合わせ

------------------------------*/

.under.contact {
  padding-bottom: 240px;
  margin-bottom: -80px;
  @media screen and (max-width: 768px) {
    .inner1 {
      display: contents;
    }
  }
  .contents {
    .info {
      text-align: center;

      .top-text {
        font-size: clamp(1.25rem, -0.1936rem + 3.0075vw, 2.25rem);
      }

      .desc {
        font-size: 16px;
        color: #333;
      }

      .workday {
        margin-bottom: 40px;
        font-size: 16px;
      }
      a {
        display: flex;
        gap: 10px;
        margin: 0 auto;
        align-items: center;
        justify-content: center;
        transition: var(--trans);
        .img {
          width: 52px;
          translate: 0 5px;
          img {
            width: 100%;
          }
        }
        span {
          font-size: 58px;
          color: #297b50;
          font-weight: 700;
        }
      }
      a:hover {
        opacity: 0.7;
      }
    }

    /* フォーム */
    .contact-area {
      background-color: #fff;
      border-radius: 40px;
      padding: 80px 20px;
      margin-bottom: 160px;

      table {
        max-width: 700px;
        margin: 0 auto;
        margin-bottom: 40px;
        width: 100%;

        tr {
          padding: 10px 0;
          display: flex;
          align-items: start;
          flex-direction: column;
          width: fit-content;
          width: 100%;

          th {
            padding: 0px 10px;
            font-size: 16px;
            margin: 20px 0;
          }

          th.il::after {
            content: "必須";
            padding: 2px 10px;
            background-color: var(--color1);
            color: #fff;
            font-size: 12px;
            border-radius: 100px;
            margin-left: 20px;
            font-weight: 400;
            font-family: "Zen Kaku Gothic New";
          }
        }
        tr.notes {
          margin-top: 20px;
          padding: 5px 10px;
          background-color: #f6cdaa;
          width: fit-content;
          border-radius: 2px;
          th {
            margin: 0;
            font-size: 14px;
            color: var(--color2);
            font-weight: 500;
          }
        }
        td {
          width: 100%;
        }
        td.half {
          width: 50%;
        }
        td.flex-area {
          display: flex;
          justify-content: space-between;
          gap: 20px;
          width: 70%;
          @media screen and (max-width: 768px) {
            gap: 5px;
            width: 100%;
          }
          .wrapper {
            display: flex;
            gap: 10px;
            align-items: center;
            width: 100%;
            text-wrap: nowrap;
          }
        }
        p {
          font-size: 14px;
          margin-bottom: 20px;
        }
      }

      .policy-desc {
        margin-bottom: 20px;
        text-align: center;
        font-size: 14px;
      }
      .check-area {
        margin-bottom: 40px;
        display: flex;
        justify-content: center;
      }
      .thanks-message {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 20px;
        margin: 60px 0;
        text-align: center;
        .thanks-title {
          font-size: 38px;
          color: var(--color1);
          font-weight: 700;
          margin-bottom: 10px;
        }
      }
    }
    .send-btn-area {
      display: flex;
      justify-content: center;
      align-items: center;
      gap: 20px;
    }

    .send-btn {
      background-color: var(--color1);
      border-radius: 30px;
      padding: 0px 30px;
      cursor: pointer;
      color: #fff;
      width: fit-content;
      border: 0;
      transition: var(--trans);
    }
    .send-btn:hover {
      scale: 1.02;
    }
    .back-btn {
      background-color: #eee;
      border-radius: 30px;
      padding: 0px 30px;
      border: 1px #eee solid;
      cursor: pointer;
      color: #999;
      width: fit-content;
      transition: var(--trans);
    }

    .back-btn:hover {
      scale: 1.02;
    }
  }
  .recha-info {
    font-size: 14px;
    padding-top: 40px;
    text-align: center;
  }
  .policy-area {
    h3 {
      font-size: 36px;
    }
    .policy-text-area {
      border-radius: 40px;
      background-color: #fff;
      overflow-y: auto;
      padding: 40px;
      height: 500px;
      p {
        font-size: 14px;
      }
    }

    .policy-text-area::-webkit-scrollbar {
      display: none;
    }
  }
}

input,
select,
textarea {
  width: 100%;
  height: 50px;
  border-radius: 4px;
  border: #999 0.5px solid;
  background-color: rgb(255, 255, 255, 0.6);
  padding: 10px;
  font-size: 16px;
}
textarea {
  height: 300px;
}

input[type="checkbox"] {
  width: 18px;
  height: 18px;
  translate: 0 3px;
  margin-right: 10px;
  border: 1px #3f3f3f solid;
  font-size: 16px;
  color-scheme: light; /* 強制的にライトテーマで描画 */
}

input,
select,
textarea:focus {
  outline: none;
  box-shadow: none;
}

@media (max-width: 768px) {
  .under.contact {
    padding-bottom: 120px;
    margin-bottom: -40px;
    .contents {
      padding: 0 20px;
      .info {
        .desc {
          font-size: 14px;
        }
        a {
          gap: 4px;
          margin: 0 auto 10px auto;
          span {
            font-size: 40px;
            text-wrap: nowrap;
          }
          .img {
            width: 30px;
          }
        }
        a:hover {
          opacity: 0.7;
        }
      }
      /* フォーム */
      .contact-area {
        padding: 40px 20px;
        margin-bottom: 40px;
        border-radius: 20px;
        table {
          tr {
            padding: 10px 0;
            th {
              font-size: 14px;
              margin: 10px 0;
            }

            th.il::after {
              padding: 2px 8px;
              font-size: 10px;
              margin-left: 10px;
            }
          }
          td {
            width: 100%;
          }
        }

        .policy-desc {
          font-size: 12px;
        }
        .check-area {
          font-size: 14px;
        }
        .thanks-message {
          gap: 10px;
          margin: 40px 0;
          .thanks-title {
            font-size: 20px;
          }
        }
      }
      .flex {
        .btn-privacy-policy {
          padding-left: 20px;
          margin-bottom: 60px;
        }
      }
      .recha-info {
        font-size: 12px;
      }
    }
    .policy-area {
      h3 {
        font-size: 20px;
      }
      .policy-text-area {
        padding: 20px;
        height: 300px;
        border-radius: 20px;
      }
    }
  }
}

/* ブログ記事ページ */

.under.blog {
  padding-top: 0;

  .blog-contents-area {
    width: 100%;
    min-height: 30vh;
    text-align: left;
    background-color: #fff;
    border-radius: 40px;
    padding: 40px 80px;

    .inner1 {
      width: 100%;
    }
  }

  .blog-dates {
    color: #5c5575;
    font-size: 14px;
  }
  .blog-page-title {
    padding: 20px 0;
    font-size: 24px;
    font-weight: 700;
  }
  .blog-content {
    padding: 40px 0;
  }
  .company-info {
    display: flex;
    flex-direction: column;

    h4 {
      font-size: 24px;
      font-weight: normal;
    }
    p.sub-title {
      font-size: 20px;
    }

    p {
      font-size: 16px;
    }
    a {
      text-decoration: none;
      font-size: 16px;
    }
    a.contact {
      text-decoration: none;
      font-size: 16px;
    }
  }
}

@media (max-width: 768px) {
  .under-bg.il {
    display: contents;
  }
  .under.blog {
    .blog-contents-area {
      padding: 40px 20px;
      border-radius: 40px;
      .inner1 {
        width: 100%;
      }
    }

    .blog-dates {
      font-size: 10px;
      margin-bottom: 20px;
    }
    .blog-page-title {
      font-size: 18px;
      padding: 0;
      margin-bottom: 10px;
    }
  }
}
/* ----------------------------

プライバシーポリシー

------------------------------*/

#privacy-policy {
  .policy-contents-area {
    background-color: #fff;
    border-radius: 80px;
    padding: 40px 80px;
  }

  h3 {
    font-weight: normal;
    margin: 30px 0 10px 0;
    font-size: 16px;
  }

  .title {
    text-align: center;
    margin-bottom: 40px;
    padding: 40 0px;
    font-size: 28px;
    font-weight: 700;
  }
  p,
  li {
    font-size: 14px;
  }

  .policy-info {
    margin: 40px 0;
  }
}

@media (max-width: 677px) {
  #privacy-policy {
    .inner2 {
      width: calc(100% - 20px);
    }
    .policy-contents-area {
      padding: 20px;
    }

    h3 {
      font-weight: normal;
      margin: 30px 0 10px 0;
    }

    .title {
      margin-bottom: 20px;
      padding: 0px;
    }

    .policy-info {
      margin: 40px 0;
    }
  }
}

/* ----------------------------

フェードインアニメーション

------------------------------*/

.fadeIn-wrap {
  overflow: hidden;
  opacity: 0;
  .inn {
    display: inline-block;
    opacity: 0;
    transform: matrix(1, 0.15, -0.15, 0.9, 0, 100);
    transition: 1.2s cubic-bezier(0, 1, 0.6, 1);
  }
  .inn2 {
    display: inline-block;
    opacity: 0;
    transform: matrix(1, 0.15, -0.15, 0.9, 0, 100);
    transition: 1.2s cubic-bezier(0.22, 1, 0.36, 1) 0.2s;
  }
  .inn3 {
    display: inline-block;
    opacity: 0;
    transform: matrix(1, 0, 0, 1, 0, 100);
    transition: 1.2s cubic-bezier(0.22, 1, 0.36, 1) 0.1s;
  }
  .inn4 {
    display: inline-block;
    opacity: 0;
    transform: matrix(1, 0, 0, 1, 0, 100);
    transition: 1.2s cubic-bezier(0.22, 1, 0.36, 1) 0.4s;
  }
}
.fadeIn-wrap.animated {
  opacity: 1;
  .inn,
  .inn2,
  .inn3,
  .inn4 {
    opacity: 1;
    transform: matrix(1, 0, 0, 1, 0, 0);
  }
}
.blur-in {
  opacity: 0;
  transition: 1s cubic-bezier(0.5, 1, 0.6, 1) 0.1s;
  filter: blur(10px);
}
.blur-in.animated {
  opacity: 1;
  filter: blur(0px);
}
.left {
  opacity: 0;
  transition: 1.6s cubic-bezier(0.5, 1, 0.6, 1) 0.1s;
  translate: -100px;
}
.left.animated {
  opacity: 1;
  translate: 0;
}

/* ----------------------------

固定フェードインアニメーション

------------------------------*/
.fadeIn-fixed {
  animation-name: fadeIn;
  animation-duration: 1.5s;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translate3d(0, 50px, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

/* ----------------------------

ページネーション

------------------------------*/

.page-nation {
  width: 100%;
  display: flex;
  justify-content: center;

  .wp-pagenavi {
    display: flex;
    gap: 15px;
    align-items: center;
    justify-content: center;
  }

  .wp-pagenavi a,
  .current {
    font-family: "Zen Kaku Gothic New", sans-serif;
    font-weight: 500;
    transition: all 0.3s;
    font-size: 16px;
  }
  .wp-pagenavi a:hover {
    color: var(--color1);
  }

  .current {
    color: var(--color1);
  }
}

/* ----------------------------

リキャプチャ非表示

------------------------------*/

.grecaptcha-badge {
  visibility: hidden;
}
