:root {
  --color1: #d6141c;
  --color2: #00226c;
  --text-color: #030733;

  --trans: all 0.3s;
  --bg-color: #f3f4f6;
}

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

共通項目

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

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

body {
  font-family: "Noto Sans JP", "YuGothic", "Yu Gothic", sans-serif;
  font-weight: 500;
  color: #030733;
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.5;
  background-color: var(--bg-color);
  position: relative;
  .body-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    max-width: clamp(18.75rem, 0.6515rem + 57.9151vw, 56.25rem);
    z-index: -1;
  }
}

section {
  padding: 60px 0;
  @media screen and (max-width: 768px) {
    padding: 30px 0;
  }
}

a {
  width: fit-content;
}
/* レイアウト */
.inner1 {
  max-width: 1200px;
  width: calc(100% - 80px);
  margin: 0 auto;
}

@media screen and (max-width: 960px) {
  .inner1 {
    width: calc(100% - 40px);
  }
}

.inner2 {
  width: calc(100% - 40px);
  margin: 0 auto;
  max-width: 1436px;
}
@media screen and (max-width: 960px) {
  .inner2 {
    width: calc(100% - 20px);
  }
}
.wrapper {
  background-color: #fff;
  padding: 80px 0;
  @media screen and (max-width: 768px) {
    padding: 40px 0;
  }
}

/* margin */
.mb120 {
  margin-bottom: 120px;
}
.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 screen and (max-width: 768px) {
  .mb120 {
    margin-bottom: 60px;
  }
  .mb80 {
    margin-bottom: 40px;
  }
  .mb60 {
    margin-bottom: 30px;
  }
  .mb40 {
    margin-bottom: 20px;
  }
  .mb30 {
    margin-bottom: 15px;
  }
  .mb20 {
    margin-bottom: 10px;
  }
  .mb10 {
    margin-bottom: 5px;
  }
}

.jp-m {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 500;
}
.jp-b {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
}
.jp-eb {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 800;
}
.en-m {
  font-family: "REM", sans-serif;
  font-weight: 500;
}
.en-eb {
  font-family: "REM", sans-serif;
  font-weight: 800;
}

.sub-title {
  font-size: clamp(0.9375rem, 0.5978rem + 1.087vw, 1.25rem);
  font-family: "REM", sans-serif;
  font-weight: 800;
  color: var(--color1);
  margin-bottom: 10px;
  @media screen and (max-width: 800px) {
    margin-bottom: 5px;
  }
}

.sec-title {
  font-size: clamp(1.625rem, 0.75rem + 1.8229vw, 2.5rem);
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
}

.desc {
  font-size: 16px;
  line-height: 2;
  @media screen and (max-width: 800px) {
    font-size: 14px;
  }
}

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

ボタン

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

.btn {
  background-color: #fff;
  padding: 20px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.3s;
  max-width: 270px;
  width: 100%;
  overflow: hidden;
  position: relative;
  z-index: 1;
  transition: var(--trans);
  @media screen and (max-width: 768px) {
    padding: 18px 20px;
  }

  span {
    font-size: 16px;
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 800;
    transition: var(--trans);
    @media screen and (max-width: 768px) {
      font-size: 14px;
    }
  }
  .r-cont {
    padding-left: 30px;
    border-left: 1px #dedfec solid;
    height: 30px;
    display: flex;
    align-items: center;
    transition: var(--trans);
    @media screen and (max-width: 768px) {
      height: 25px;
    }
  }
}
.btn::after {
  background-color: var(--color1);
  position: absolute;
  top: 0;
  left: 0;
  content: "";
  width: 100%;
  height: 100%;
  transform: scale(0, 1);
  transform-origin: left top;
  transition: var(--trans);
  z-index: -1;
}
.btn:hover {
  background-color: var(--color1);
  span {
    color: #fff;
  }
  .r-cont {
    border-left: #df494f 1px solid;
  }
  svg {
    path {
      fill: #fff;
    }
  }
}
.btn:hover::after {
  transform: scale(1, 1);
}

.btn-center {
  margin: 0 auto;
  margin-bottom: 60px;
  margin-top: 40px;
}

.flex {
  display: flex;
}
.flex-sb {
  display: flex;
  justify-content: space-between;
  align-items: start;
}
.flex-center {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* モバイル改行 */

.sp {
  display: none;
}

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

.pc {
  display: block;
}

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

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

ヘッダー

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

#site-header {
  position: fixed;
  width: 100vw;
  z-index: 800;
  padding: 20px;
  transition: var(--trans);
  @media screen and (max-width: 768px) {
    padding: 10px 20px;
  }

  .header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    max-width: 1650px;
    margin: 0 auto;
    .logo {
      height: 64px;
      position: relative;
      z-index: 999;
      @media screen and (max-width: 768px) {
        height: 50px;
      }
      img {
        height: 100%;
      }
    }
    .spacer {
      flex: 1;
    }
    nav {
      ul.flex {
        li {
          a {
            font-size: 15px;
            padding: 20px 17px;
            font-family: "Noto Sans JP", sans-serif;
            font-weight: 700;
            transition: var(--trans);
          }
        }
        li:last-child {
          a {
            padding-right: 0;
          }
        }
        li:hover a {
          color: var(--color1);
        }
      }
      @media screen and (max-width: 1200px) {
        display: none;
      }
    }
    .h-btn {
      background-color: var(--color1);
      padding: 16px 20px;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      height: 50px;
      transition: var(--trans);
      border: 1px var(--color1) solid;
      @media screen and (max-width: 1200px) {
        display: none;
      }
      span {
        color: #fff;
        font-size: 14px;
        font-family: "Noto Sans JP", sans-serif;
        font-weight: 700;
        text-wrap: nowrap;
      }
    }
    .h-btn:hover {
      background-color: #fff;
      span {
        color: var(--color1);
      }
      #path_1033 {
        fill: #fff;
      }
      #path_1032 {
        fill: var(--color1);
      }
    }
  }
}
#site-header.scrolled {
  background-color: #fff;
  padding: 10px 20px;
}

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

  .box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 7px;
    position: relative;
    z-index: 999;

    span {
      display: block;
      height: 2px;
      width: 25px;
      background: #00226c;
      transition: 0.2s all ease-in-out;
    }
  }
}

#hamburger-menu-btn.active {
  z-index: 999;
  span:nth-child(1) {
    transform: rotate(45deg);
    translate: 0 4.5px;
  }
  span:nth-child(2) {
    display: none;
  }
  span:nth-child(3) {
    transform: rotate(-45deg);
    translate: 0 -4.5px;
  }
}

/* spメニュー */

#sp-header {
  width: 100vw;
  max-width: 500px;
  height: 100vh;
  overflow-y: scroll;
  position: fixed;
  top: 0;
  right: -100%;
  transition: var(--trans);
  background-color: #fff;
  padding: 100px 45px;

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

      li {
        border-bottom: 1px #dedfec solid;
        text-align: left;
        transition: var(--trans);
        position: relative;
        a {
          width: 100%;
          display: inline-block;
          padding: 18px 0;
          font-size: 14px;
        }
      }
      li::after {
        content: "";
        background-image: url(../img/arrow-r.svg);
        background-repeat: no-repeat;
        background-size: contain;
        width: 10px;
        height: 7px;
        display: block;
        position: absolute;
        right: 0;
        top: 50%;
        translate: 0 -50%;
        z-index: 2;
      }
      li:last-child {
        margin-bottom: 30px;
      }
    }
  }
  .sp-h-btn {
    background-color: var(--color1);
    color: #fff;
    padding: 15px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 14px;
  }
}

#sp-header.active {
  right: 0;
}

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

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

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

.mv {
  margin-top: 120px;
  position: relative;
  margin-bottom: 60px;
  padding-top: 0;
  padding-left: 20px;
  .flex {
    margin-left: auto;
    align-items: center;
    justify-content: space-between;
    width: 100%;
  }
  .text-area {
    width: 50%;
    /* padding-left: calc((100% - 1436px) / 2); */
    padding-left: 9vw;
    @media screen and (max-width: 1436px) {
      padding-left: 4vw;
      /* padding-left: 0; */
    }
    .sec-title {
      font-size: clamp(1.875rem, 0.5163rem + 4.3478vw, 3.125rem);
      line-height: 1.5;
    }
    .sub-desc {
      color: var(--color1);
      font-family: "REM", sans-serif;
      font-weight: 700;
      font-size: clamp(0.5625rem, -0.1371rem + 2.2388vw, 0.9375rem);
    }
    .desc {
      max-width: 500px;
    }
  }
  .img-area {
    width: 50%;
    position: relative;
    .mv-swiper {
      .swiper-wrapper {
        .swiper-slide {
          overflow: hidden;
          aspect-ratio: 3 / 2;

          img {
            width: 100%;
            height: 100%;
            object-fit: cover;
          }
        }
      }
    }
  }
  .img-area::before {
    content: "";
    background-image: radial-gradient(
      farthest-side at 0% 100%,
      rgba(143, 147, 182, 1),
      rgba(143, 147, 182, 0)
    );
    width: 100%;
    height: 100%;
    position: absolute;
    bottom: -30px;
    left: 30px;
    z-index: -1;
  }
}

@media screen and (max-width: 768px) {
  .mv {
    margin-bottom: 30px;
    .flex {
      flex-direction: column;
      align-items: start;
      margin-left: auto;
    }
    .text-area {
      width: calc(100% - 40px);
      margin-bottom: 40px;
      padding-left: 0;
    }
    .sub-desc {
      font-size: 9px;
    }
    .img-area {
      width: 100%;
      margin-left: 20px;
    }
    .img-area::before {
      bottom: -12px;
      left: 12px;
    }
  }
}

.about {
  .img-area {
    width: 50%;
    padding-right: clamp(2.5rem, -1.6667rem + 6.9444vw, 5rem);
    display: flex;
    flex-direction: column;
    gap: 40px;
    position: relative;
    .img-up {
      padding-right: 18%;
      img {
        width: 100%;
      }
    }
    .item-l {
      position: absolute;
      bottom: 0;
      left: -118px;
      z-index: -1;
      width: 50%;
    }
    .img-down {
      padding-left: 41%;

      img {
        width: 100%;
      }
    }
  }
  .text-area {
    width: 50%;
    .btn-area {
      display: flex;
      align-items: center;
      gap: 40px;
      @media screen and (max-width: 1050px) {
        flex-direction: column;
        align-items: start;
      }
    }
  }
}
@media screen and (max-width: 768px) {
  .about {
    .flex {
      flex-direction: column;
    }
    .img-area {
      order: 2;
      width: 100%;
      gap: 20px;
      padding-left: clamp(2.5rem, -1.6667rem + 6.9444vw, 5rem);
      padding-right: 0;
      .item-l {
        left: 0px;
      }
    }

    .text-area {
      width: 100%;
      margin-bottom: 40px;
      .btn-area {
        flex-direction: column;
        align-items: start;
        gap: 20px;
      }
    }
  }
}

.service {
  .wrapper {
    position: relative;
    .flex {
      gap: clamp(2.5rem, -1.6667rem + 6.9444vw, 5rem);
      .card {
        width: 100%;
        display: flex;
        flex-direction: column;
        .img {
          overflow: hidden;
          width: 100%;
          height: 368px;
          img {
            width: 100%;
            transition: var(--trans);
          }
        }
        .title {
          font-size: clamp(1.25rem, 0.084rem + 3.7313vw, 1.875rem);
          transition: var(--trans);
        }
        .desc {
          flex: 1;
          transition: var(--trans);
        }
        .arrow-icon {
          transition: var(--trans);
          width: 40px;
          aspect-ratio: 1 / 1;
          background-color: var(--color1);
          display: grid;
          place-items: center;
          margin-left: auto;
          border: 1px solid var(--color1);
        }
      }
      .card:hover {
        .img {
          img {
            scale: 1.05;
          }
        }
      }
      .card:hover {
        .title {
          color: var(--color1);
        }
        .desc {
          color: var(--color1);
        }
        .arrow-icon {
          background-color: #fff;
          svg {
            path {
              fill: var(--color1);
            }
          }
        }
      }
    }
  }
  .wrapper.il::before {
    content: "";
    background-image: radial-gradient(
      farthest-side at 0% 100%,
      rgba(143, 147, 182, 1),
      rgba(143, 147, 182, 0)
    );
    width: 100%;
    height: 100%;
    position: absolute;
    bottom: -30px;
    left: 20px;
    z-index: -1;
  }
}
@media screen and (max-width: 768px) {
  .service {
    .wrapper {
      position: relative;
      .flex {
        gap: clamp(2.5rem, -1.6667rem + 6.9444vw, 5rem);
        flex-direction: column;
        .card {
          .img {
            height: auto;
          }
          .arrow-icon {
            width: 30px;
          }
        }
      }
    }
    .wrapper.il::before {
      bottom: -15px;
      left: 10px;
    }
  }
}
.recruit {
  .flex {
    align-items: center;

    .text-area {
      width: 50%;
    }
    .img-area {
      width: 50%;
      padding-left: clamp(2.5rem, -1.6667rem + 6.9444vw, 5rem);
      display: flex;
      flex-direction: column;
      gap: 40px;
      position: relative;
      z-index: 1;
      .item-r {
        position: absolute;
        top: 0;
        right: -118px;
        z-index: -1;
        width: 50%;
      }
      .img-up {
        padding-right: 18%;
        img {
          width: 100%;
        }
      }
      .img-down {
        padding-left: 41%;

        img {
          width: 100%;
        }
      }
    }
  }
}
@media screen and (max-width: 768px) {
  .recruit {
    .inner2 {
      display: contents;
    }
    .flex {
      align-items: start;
      flex-direction: column;

      .text-area {
        width: 100%;
        margin-bottom: 40px;
      }
      .img-area {
        width: 100%;
        gap: 20px;
        padding-left: 0;
        padding-right: clamp(2.5rem, -1.6667rem + 6.9444vw, 5rem);
        .item-r {
          right: 0px;
        }
      }
    }
  }
}

.news {
  .bg {
    background-color: #dee5ea;
    padding: 80px 0;

    .flex {
      justify-content: space-between;
      .text-area {
        flex: 1;
      }
      .news-list {
        width: 100%;
        max-width: 700px;
        li {
          border-top: 1px #fff solid;

          .flex {
            gap: 37px;
            padding: 25px 0;
            time {
              font-size: 14px;
              transition: var(--trans);
            }
            .title {
              font-size: 16px;
              transition: var(--trans);
            }
          }
        }
        li:last-child {
          border-bottom: 1px #fff solid;
        }
        li:hover {
          .flex {
            time {
              color: var(--color1);
            }
            .title {
              color: var(--color1);
            }
          }
        }
      }
    }
  }
}
@media screen and (max-width: 1060px) {
  .news {
    .bg {
      padding: 40px 0;

      .flex {
        flex-direction: column;
        justify-content: space-between;
        .text-area {
          display: contents;
          .btn {
            order: 4;
          }
        }
        .news-list {
          max-width: 100%;
          margin-bottom: 30px;
          li {
            .flex {
              gap: 23px;
              padding: 20px 0;
              flex-direction: row;
              time {
                font-size: 12px;
              }
              .title {
                font-size: 14px;
              }
            }
          }
        }
      }
    }
  }
}

.contact {
  background-image: url(../img/ctabackground.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  padding: 80px 0;
  .flex {
    justify-content: space-between;
    align-items: center;
  }
  .sub-title {
    color: #fff;
  }
  .sec-title {
    color: #fff;
  }
  .desc {
    color: #fff;
  }
  .tel {
    color: #fff;
    font-size: clamp(1.875rem, 0.709rem + 3.7313vw, 2.5rem);
    line-height: 1.25;
  }
  .time {
    font-size: 16px;
    color: #fff;
  }
  .contact-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 25px;
    gap: 20px;
    border: 1px #fff solid;
    transition: var(--trans);
    span {
      color: #fff;
      font-size: 20px;
    }
  }
  .contact-btn:hover {
    background-color: #fff;
    span {
      color: #00226c;
    }
    #path_1033 {
      fill: #fff;
    }
    #path_1032 {
      fill: #00226c;
    }
  }
}

@media screen and (max-width: 768px) {
  .contact {
    background-image: url(../img/contact-sp.png);
    padding: 40px 0;
    .flex {
      justify-content: space-between;
      align-items: center;
      flex-direction: column;
    }
    .text-area {
      text-align: center;
      margin-bottom: 40px;
    }
    .time {
      font-size: 14px;
      text-align: center;
      margin-bottom: 27px;
    }
    .btn-area {
      display: contents;
    }
    .contact-btn {
      max-width: 350px;
      padding: 20px;
      gap: 20px;
      margin-left: auto;
      margin-right: auto;
    }
  }
}
footer {
  .footer {
    position: relative;
    padding: 160px 0 35px 0;
    background-color: #f9faf8;

    .flex {
      justify-content: space-between;
      gap: 40px;
      padding-bottom: 80px;
      border-bottom: 1px solid #dedfec;
      .company-area {
        display: flex;
        gap: 40px;
        .content {
          p:first-child {
            color: #717388;
          }
        }
      }
    }
    .under-footer {
      padding-top: 20px;
      display: flex;
      justify-content: space-between;
      margin-bottom: 20px;
      .privacy-btn {
        display: flex;
        gap: 15px;
        align-items: center;

        img {
          height: 100%;
        }
        span {
          font-size: 12px;
          text-wrap: nowrap;
          line-height: 1;
        }
      }

      small {
        color: #3d3d3d;
        font-size: 12px;
        display: block;
        width: fit-content;
        line-height: 1;
      }
    }
    .inner2 {
      display: flex;
      justify-content: end;
    }
    .to-top-btn {
      display: block;
      right: 30px;
      width: 65px;
      aspect-ratio: 1/ 1;
      margin-right: -20px;
      margin-bottom: 50px;
    }
  }
}

@media screen and (max-width: 768px) {
  footer {
    .footer {
      position: relative;
      padding: 40px 0 0px 0;
      background-color: #f9faf8;

      .flex {
        flex-direction: column;
        gap: 20px;
        padding-bottom: 40px;
        .company-area {
          flex-direction: column;
          gap: 20px;
          font-size: 14px;
        }
      }
      .under-footer {
        .privacy-btn {
          span {
            font-size: 10px;
          }
        }
        small {
          font-size: 10px;
        }
      }
      .to-top-btn {
        width: 44px;
        margin-right: 0px;
        margin-bottom: 30px;
      }
    }
  }
}

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

下層ページ

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

.under {
  .wrapper {
    padding: 120px 0;
  }
}

.box-text {
  color: #fff;
  font-size: 16px;
  background-color: #00226c;
  padding: 10px 20px;
  width: fit-content;
}

.under-mv {
  margin-top: 85px;
  padding: 120px 0 60px 0;
  .flex {
    justify-content: space-between;
    align-items: center;
    gap: 60px;
    .l-cont {
      margin-left: -65px;

      @media screen and (max-width: 1350px) {
        margin-left: 0;
      }
      .sec-title {
        font-size: clamp(1.875rem, 0.709rem + 3.7313vw, 2.5rem);
        text-wrap: nowrap;
      }
    }
    .r-cont {
      width: 100%;
      max-width: 560px;
    }
  }
}

/* 当社のつよみ */

.strengths.under {
  ul {
    display: flex;
    gap: clamp(2.5rem, -1.6667rem + 6.9444vw, 5rem);
    flex-direction: column;
    .flex {
      align-items: center;
      .img-area {
        width: 50%;
        padding-right: clamp(2.5rem, -1.6667rem + 6.9444vw, 5rem);
        padding-bottom: clamp(2.5rem, -1.6667rem + 6.9444vw, 5rem);
        position: relative;
        z-index: 1;
        img {
          width: 100%;
        }
      }
      .img-area::before {
        content: "";
        position: absolute;
        width: 306px;
        height: 317px;
        background-image: url(../img/item-l.png);
        background-repeat: no-repeat;
        background-size: contain;
        display: block;
        bottom: 0;
        left: -80px;
        z-index: -1;
      }
      .img-area.il {
        padding-right: 0;
        padding-left: clamp(2.5rem, -1.6667rem + 6.9444vw, 5rem);
      }
      .img-area.il::before {
        right: -80px;
        left: auto;
      }

      .text-area {
        width: 50%;
        .sub-title {
          font-size: clamp(0.9375rem, 0.5978rem + 1.087vw, 1.25rem);
        }
        .title {
          font-size: clamp(1.625rem, -0.0075rem + 5.2239vw, 2.5rem);
          line-height: 1.5;
        }
      }
    }
  }
}

/* 事業内容 */

.service.under {
  h3.title {
    padding-bottom: 20px;
    border-bottom: 1px solid #dedfec;
    font-size: clamp(1.625rem, -0.0075rem + 5.2239vw, 2.5rem);
  }
  .flex {
    gap: 0;
  }
  .text-area {
    width: 50%;
    .box {
      padding: 30px;
      background-color: #f3f4f6;
      ul {
        display: flex;
        flex-direction: column;
        gap: 20px;
        li {
          padding-left: 40px;
          font-family: "Noto Sans JP", sans-serif;
          font-weight: 700;
          font-size: 16px;
          position: relative;
        }
        li::before {
          content: "";
          background-image: url(../img/mark.svg);
          background-repeat: no-repeat;
          background-size: contain;
          height: 20px;
          width: 20px;
          display: inline-block;
          position: absolute;
          left: 0;
          top: 50%;
          translate: 0 -50%;
        }
      }
    }
  }
  .img-area {
    width: 50%;
    padding-left: clamp(2.5rem, -1.6667rem + 6.9444vw, 5rem);

    display: flex;
    flex-direction: column;
    gap: 40px;
    position: relative;
    z-index: 1;
    .img-up {
      padding-right: 18%;
      img {
        width: 100%;
      }
    }
    .img-down {
      padding-left: 41%;

      img {
        width: 100%;
      }
    }
    .img-down::before {
      content: "";
      position: absolute;
      width: 246px;
      height: 364px;
      background-image: url(../img/item-r.png);
      background-repeat: no-repeat;
      background-size: contain;
      display: block;
      top: 0;
      right: -80px;
      z-index: -1;
    }
  }
}

/* 会社概要 - 代表メッセージ */

.message.under {
  .wrapper {
    position: relative;
    .img {
      width: 284px;
      position: absolute;
      top: 50%;
      right: 40px;
      translate: 0 -50%;
      img {
        width: 100%;
      }
    }
    .company-name,
    .owner-name {
      text-align: end;
      font-size: 16px;
      span {
        padding-right: 15px;
        font-size: 14px;
      }
    }
    .company-name {
      margin-bottom: 5px;
    }
  }
}

/* 会社概要 - 会社概要 */

.profile.under {
  .flex {
    gap: clamp(2.5rem, -1.6667rem + 6.9444vw, 5rem);
  }
  ul {
    width: 100%;
    li.flex {
      padding: 30px 0;
      border-bottom: 1px solid #dedfec;
      display: flex;
      align-items: top;
      gap: 0;
      .name {
        max-width: 180px;
        width: 100%;
        font-size: 16px;
        line-height: 2;
        font-weight: 700;
      }
      .desc {
        font-size: 16px;
        .content {
          p:first-child {
            color: #717388;
          }
        }
        a{
          display: flex;
          align-items: center;
          gap: 30px;
        }
      }
    }
  }
  .map {
    width: 100%;
    height: 368px;
    iframe {
      width: 100%;
      height: 100%;
    }
  }
}

/* 沿革 */

.history.under {
  ul {
    li {
      display: flex;

      .year {
        position: relative;
        max-width: 130px;
        width: 100%;
        font-size: 20px;
        font-weight: 700;
      }
      .year::after {
        content: "";
        position: absolute;
        top: 6px;
        right: 0px;
        background-image: url(../img/mark.svg);
        display: inline-block;
        width: 20px;
        height: 20px;
      }
      .year::before {
        content: "";
        position: absolute;
        top: 10px;
        right: 9px;
        display: inline-block;
        width: 1px;
        height: 110%;
        background-color: #a5a8c9;
      }
      .wrap {
        display: flex;
        gap: 20px;
        align-items: start;
        width: 100%;
      }
      .month {
        line-height: 2;
        max-width: 95px;
        width: 100%;
        text-align: end;
        margin-right: 60px;
        font-weight: 700;
      }
      .desc {
        padding-bottom: 65px;
        flex: 1;
      }
    }
    li:last-child {
      .year::before {
        display: none;
      }
      .desc {
        padding-bottom: 0px;
      }
    }
  }
}
@media screen and (max-width: 768px) {
  .under {
    .wrapper {
      padding: 40px 0;
    }
  }

  .box-text {
    font-size: 14px;
  }

  .under-mv {
    margin-top: 0px;
    padding: 120px 0 30px 0;
    .flex {
      flex-direction: column;
      align-items: start;
      gap: 20px;
    }
  }

  /* 当社のつよみ */

  .strengths.under {
    ul {
      .flex {
        align-items: start;
        flex-direction: column;
        gap: 40px;
        .img-area {
          order: 2;
          width: 100%;

          padding-right: 0;
          padding-left: clamp(2.5rem, -1.6667rem + 6.9444vw, 5rem);
        }
        .img-area::before {
          height: 174px;
          left: 0px;
        }
        .img-area.il {
          padding-right: clamp(2.5rem, -1.6667rem + 6.9444vw, 5rem);
          padding-left: 0;
        }
        .img-area.il::before {
          right: 0px;
          left: auto;
          width: 166px;
        }

        .text-area {
          width: 100%;
        }
      }
    }
  }

  /* 事業内容 */

  .service.under {
    .flex {
      gap: 40px;
    }
    .text-area {
      width: 100%;
      .box {
        padding: 15px;
        ul {
          display: flex;
          flex-direction: column;
          gap: 20px;
          li {
            padding-left: 40px;
            font-size: 14px;
          }
        }
      }
    }
    .img-area {
      width: 100%;
      padding-left: 0;
      padding-right: clamp(2.5rem, -1.6667rem + 6.9444vw, 5rem);
      gap: 20px;
      .img-down::before {
        height: 200px;
      }
    }
  }

  /* 会社概要 - 代表メッセージ */

  .message.under {
    .wrapper {
      .img {
        width: 140px;
        position: absolute;
        top: 20px;
        right: 10px;
        translate: 0 0;
        img {
          width: 100%;
        }
      }
      .company-name,
      .owner-name {
        font-size: 14px;
        span {
          font-size: 12px;
        }
      }
    }
  }

  /* 会社概要 - 会社概要 */

  .profile.under {
    .flex {
      gap: 0;
      flex-direction: column;
    }
    ul {
      width: 100%;
      li.flex {
        padding: 20px 0;
        .name {
          font-size: 14px;
        }
        .desc {
          font-size: 14px;
          a{
            gap: 15px;
          }
        }
      }
    }
    .map {
      width: 100%;
      aspect-ratio: 16 / 9;
    }
    .noto {
      font-size: 14px;
    }
  }

  /* 沿革 */

  .history.under {
    ul {
      li {
        display: flex;

        .year {
          font-size: 14px;
          max-width: 100px;
          margin-right: 20px;
        }
        .year::after {
          top: 2px;
        }
        .year::before {
          height: 103%;
        }
        .wrap {
          display: flex;
          flex-direction: column;
          align-items: start;
          gap: 5px;
        }
        .month {
          text-align: left;
          line-height: 1.5;
          max-width: auto;
          font-size: 14px;
        }
        .desc {
          padding-bottom: 40px;
        }
      }
      li:last-child {
        .year::before {
          display: none;
        }
        .desc {
          padding-bottom: 0px;
        }
      }
    }
  }
}

/* お知らせ */

.under.news {
  .inner1 {
    .blog-list {
      display: flex;
      gap: clamp(1.25rem, 0.3992rem + 3.4904vw, 3.75rem);
      flex-wrap: wrap;
      li {
        width: calc(
          (100% - (clamp(1.25rem, 0.3992rem + 3.4904vw, 3.75rem) * 2)) / 3
        );
        transition: var(--trans);

        .card {
          display: flex;
          flex-direction: column;
          justify-content: space-between;
          .img {
            width: 100%;
            margin-bottom: 20px;
            aspect-ratio: 16 / 9;
            overflow: hidden;

            img {
              width: 100%;
              height: 100%;
              object-fit: cover;
            }
          }
          h3.title {
            font-size: 16px;
            margin-bottom: 10px;
            flex: 1;
          }
          .flex {
            gap: 20px;
            align-items: center;
            padding-top: 0;
            justify-content: start;
            margin: 0;
            .date {
              font-size: 14px;
            }
            .category {
              font-size: 12px;
              color: var(--color1);
            }
          }
        }
      }
      li:hover {
        scale: 1.02;
      }
    }
  }
}

@media screen and (max-width: 768px) {
  .under.news {
    .inner1 {
      .blog-list {
        li {
          width: calc(
            50% - (clamp(1.25rem, 0.3992rem + 3.4904vw, 3.75rem) / 2)
          );
          transition: var(--trans);
          .card {
            align-items: center;
            justify-content: start;
            gap: 15px;
            .img {
              width: 100%;
              margin-bottom: 0;
            }
            h3.title {
              margin-bottom: 8px;
              flex: 1;
            }
            .flex {
              gap: 15px;
              align-items: center;
              justify-content: start;
              margin: 0;
              .date {
                font-size: 12px;
              }
              .category {
                font-size: 10px;
              }
            }
          }
        }
      }
    }
  }
}

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

お問い合わせ

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

.under.contact {
  background-image: none;
  .contents {
    max-width: 1200px;
    background-color: #fff;
    margin: 0 auto;
    padding: 120px 0;

    .info {
      text-align: center;
      p {
        font-size: 14px;
      }
      .desc {
        color: #030733;
      }

      .workday {
        color: #030733;
      }
      a {
        span {
          font-size: clamp(1.5rem, 0.9895rem + 2.0942vw, 3rem);
          color: #030733;
        }
      }
    }

    /* フォーム */
    .contact-area {
      max-width: 700px;
      margin: 0 auto;
      margin-bottom: 40px;
      width: 100%;

      table {
        width: 100%;

        tr {
          padding: 20px 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;
          }
        }
        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(--color1);
            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;
        }
      }

      .privacy-policy-box {
        background-color: var(--background-c-lb);
        border-radius: 4px;
        overflow-y: scroll;
        padding: 20px;
        width: 100%;
        height: 150px;
        margin: 20px 0;
        p,
        li {
          font-size: 14px;
        }
        p {
          margin: 1em 0;
        }
      }

      .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: var(--38-20);
          color: var(--background-c-db);
          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;
      border: 1px var(--color1) solid;
      cursor: pointer;
      color: #fff;
      width: fit-content;
      transition: var(--trans);
    }
    .send-btn:hover {
      background-color: #fff;
      color: #3f3f3f;
    }
    .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 {
      opacity: 0.7;
    }
  }
  .recha-info {
    font-size: 14px;
    padding-top: 40px;
    text-align: center;
  }
}

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: var(--16-14);
}
textarea {
  height: 300px;
}

input[type="checkbox"] {
  width: 18px;
  height: 18px;
  translate: 0 3px;
  margin-right: 10px;
  border: 1px #3f3f3f solid;
  font-size: var(--16-14);
}

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

@media screen and (max-width: 768px) {
  .under.contact {
    .contents {
      padding: 60px 20px;
      .info {
        p {
          font-size: 12px;
        }
        a {
          gap: 10px;
          margin: 0 auto 10px auto;
        }
        a:hover {
          opacity: 0.7;
        }
      }
      /* フォーム */
      .contact-area {
        margin-bottom: 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%;
          }
        }
        .privacy-policy-box {
          padding: 10px;
          height: 100px;
          margin: 20px 0;
          p,
          li {
            font-size: 10px;
          }
        }
        .policy-desc {
          font-size: 12px;
        }
        .check-area {
          font-size: 14px;
        }
        .thanks-message {
          gap: 10px;
          margin: 40px 0;
        }
      }
      .flex {
        .btn-privacy-policy {
          padding-left: 20px;
          margin-bottom: 60px;
        }
      }
      .recha-info {
        font-size: 12px;
      }
    }
  }
}

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

.under.blog {
  .to-archive {
    font-size: 14px;
    display: block;
    padding: 20px 0;
    color: #3f3f3f;
    width: fit-content;
    transition: var(--trans);
  }
  .to-archive:hover {
    opacity: 0.6;
  }
  .blog-contents-area {
    width: 100%;
    text-align: left;
    background-color: #fff;
    padding: 40px 80px;
    min-height: 50vh;

    .inner1 {
      width: 100%;
    }
  }

  .blog-dates {
    margin-bottom: 40px;
    font-size: 14px;
  }
  .blog-page-title {
    padding: 20px 0;
    font-size: 24px;
  }
  .blog-content {
    padding: 40px 0;
  }
}

@media screen and (max-width: 768px) {
  .under.blog {
    .inner1.il {
      display: contents;
    }
    .blog-contents-area {
      padding: 40px 20px 200px 20px;
      .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;
    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 screen and (max-width: 768px) {
  #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 {
  transform: translate3d(0, 50px, 0);
  transition: 1.5s;
  opacity: 0;
}
.fadeIn.animated {
  transform: translate3d(0, 0, 0);
  opacity: 1;
}
/* ----------------------------

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

------------------------------*/
.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%;
  padding: 60px 0;
  display: flex;
  justify-content: center;
  margin-bottom: 60px;

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

  .wp-pagenavi a,
  .current {
    display: flex;
    gap: 15px;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    font-size: 14px;
    background-color: var(--color1);
    border: 1px solid var(--color1);
    width: 40px;
    aspect-ratio: 1 / 1;
    color: #fff;
    @media screen and (max-width: 768px) {
      width: 30px;
    }
  }
  .wp-pagenavi a:hover {
    background-color: #fff;
    color: var(--color1);
  }

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

  .nextpostslink {
    width: 40px;
    aspect-ratio: 1;
    padding: 0;
    svg {
      width: 17px;
      height: 9px;
    }
  }
}

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

リキャプチャ非表示

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

.grecaptcha-badge {
  visibility: hidden;
}
