@charset "utf-8";
/* =======================================================================
// layout
// ======================================================================= */

/*--------------------------------------------------------------------------------------------------*/
/* 全ページでassets/css/style.cssを読み込む訳にはいかない都合上、他のcssと被る部分があるが、header用に記述 */
/*--------------------------------------------------------------------------------------------------*/
.l-header, .l-nav {
  * {
    font-family: "Noto Sans JP", 'noto-sans-cjk-jp', sans-serif;
    box-sizing: border-box;
    line-height: 1;
  }

  img {
    max-width: 100%;
    height: auto;
  }

  svg, img, embed, object, iframe {
    vertical-align: bottom;
  }

  /* .u-wrap
  ---------------------------------------------------------------- */
  .u-wrap {
    width: 100%;
    max-width: 1080px;
    padding: 0 40px;
    margin: auto;

    @media screen and (max-width: 768px) {
      max-width: inherit;
      padding: 0 15px;
    }

    /* .u-wrap.--920 */
    &.--920 {
      max-width: 1000px;
    }
  }

  /* .u-hover
  ---------------------------------------------------------------- */
  .u-hover {
    /* .u-hover.--fade */
    &.--fade {
      opacity: 1;
      transition: opacity 0.3s ease;

      @media screen and (max-width: 768px) {
        transition: none;
      }

      &:hover {
        opacity: 0.7;

        @media screen and (max-width: 768px) {
          opacity: 1;
        }
      }
    }

    /* .u-hover.--underline */
    &.--underline {
      text-decoration: none;

      &:hover {
        text-decoration: underline;

        @media screen and (max-width: 768px) {
          text-decoration: none;
        }
      }
    }
  }

  /* .u-font
  ---------------------------------------------------------------- */
  .u-font {
    /* .u-font.--noto */
    &.--noto {
      font-family: "Noto Sans JP", "noto-sans-cjk-jp", sans-serif;
    }

    /* .u-font.--roboto */
    &.--roboto {
      font-family: Roboto, Arial, sans-serif;
    }
  }

  /* .u-nopc
  ---------------------------------------------------------------- */
  .u-nopc {
    display: none;

    @media screen and (max-width: 768px) {
      display: inherit;
    }
  }

  /* .u-nosp
  ---------------------------------------------------------------- */
  .u-nosp {
    display: inherit;

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







/* .l-pagebody
---------------------------------------------------------------- */
#l-pagebody {
  margin-top: 122px;
  overflow: hidden;

  @media screen and (max-width: 1079px) {
    margin-top: 60px;
  }
}

.l-pagebody {
  /* WPログイン時 */
  &.is_user_logged_in {
    @media screen and (max-width: 1079px) {
      margin-top: calc(60px - 46px) !important;
    }
  }
}

/* .l-header
---------------------------------------------------------------- */
#l-header {
  box-sizing: border-box;
  width: 100%;
  height: 113px;
  background: #fff;
  box-shadow: 0 3px 5px 0 rgba(0, 0, 0, 0.15);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  transition: height 0.2s ease;
  overflow: hidden;

  @media screen and (max-width: 1079px) {
    height: 60px;
    z-index: 1000;
    transition: none;
  }

  &.js-scroll {
    height: 80px;
    @media screen and (max-width: 1079px) {
      height: 60px;
    }
  }
}

.l-header {
  /* WPログイン時 */
  /* &.is_user_logged_in {
    top: calc(0px + 32px) !important;
    
    @media screen and (max-width: 782px) {
      top: calc(0px + 46px) !important;
      
      @media screen and (max-width: 1079px) {
        top: 0 !important;
      }
    }
  } */

  &.__wrap {
    @media screen and (max-width: 1079px) {
      padding: 0;
    }
  }

  &.__description {
    padding-top: 14px;
    color: #333;
    font-size: 12px;
    line-height: 1.4;
    letter-spacing: 0.025em;

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

  &.__flex {
    display: -webkit-box;
    display: flex;
    -webkit-box-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    align-items: center;
    padding-top: 12px;
    background-color: white;

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

  &.__flex-div1 {
    margin: auto;
    @media (600px <= width < 1080px) {
      margin: 0 auto 0 50px;
    }
    @media (width >= 1080px) {
      margin: 0;
    }
  }

  &.__tagline {
    text-align: center;
    font-size: 10px;
    font-weight: 500;
    color: #333333;

    @media (min-width: 1080px) {
      padding-bottom: 5px;
      font-size: 11px;
    }
  }

  &.__logo {
    margin: 0;

    @media screen and (max-width: 1079px) {
      width: auto;
    }
    
    a {
      width: 100%;
      max-width: 244px;
      display: inline-block;

      @media screen and (max-width: 1079px) {
        display: -webkit-box;
        display: flex;
        -webkit-box-pack: center;
        justify-content: center;
        -webkit-box-align: center;
        align-items: center;
        max-width: inherit;
        height: 30px;
        padding: 0 14px 0 10px;
      }

      img {
        width: 100%;
        
        @media screen and (max-width: 1079px) {
          width: 199px;
        }
      }
    }
  }

  &.__inquiry {
    display: -webkit-box;
    display: flex;
    -webkit-box-align: center;
    align-items: center;
    padding-left: 10px;

    @media screen and (max-width: 1079px) {
      padding-left: 0;
    }
  }

  &.__tel {
    margin-right: 9px;

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

    a {
      display: inline-block;
      width: 100%;
      max-width: 299px;
      pointer-events: none;

      @media screen and (max-width: 1079px) {
        pointer-events: all;
      }

      img {
        width: 100%;
      }
    }
  }

  &.__contact {
    margin-left: 3px;

    @media screen and (max-width: 1079px) {
      margin-left: 0;
      &.__pc-only {
        display: none;
      }
    }

    @media (min-width: 1080px) {
      &.__sp-only {
        display: none;
      }
    }

    a {
      display: -webkit-box;
      display: flex;
      -webkit-box-align: center;
      align-items: center;
      width: 170px;
      height: auto;
      color: #fff;
      font-size: 18px;
      font-weight: 700;
      letter-spacing: 0.025em;
      position: relative;

      @media screen and (max-width: 1079px) {
        -webkit-box-pack: center;
        justify-content: center;
        width: 135px;
        height: 60px;
        padding-left: 0;
        background: url("../../images/common/header_bg_contact_arrow.webp") no-repeat center right 9px / 6.5px 12px, linear-gradient(180deg, rgba(255, 145, 73, 1) 0%, rgba(231, 73, 5, 1) 100%);
        font-size: 13px;
        line-height: 1.37;
        text-align: center;
      }

      &:hover {
        text-decoration: none;
      }
    }
  }

  &.__toggle {
    display: none;

    @media screen and (max-width: 1079px) {
      display: block;
      width: 60px;
      height: 60px;
      background: #0f5cbd;
      cursor: pointer;
      position: relative;
    }

    * {
      @media screen and (max-width: 1079px) {
        pointer-events: none;
      }
    }

    span {
      @media screen and (max-width: 1079px) {
        width: 25px;
        height: 3px;
        background: #fff;
        position: absolute;
        left: 50%;
        translate: -50% 0;
        transition: all 0.3s ease;
      }

      &:nth-child(1) {
        @media screen and (max-width: 1079px) {
          top: 12px;
        }
      }

      &:nth-child(2) {
        @media screen and (max-width: 1079px) {
          top: 21px;
          opacity: 1;
        }
      }

      &:nth-child(3) {
        @media screen and (max-width: 1079px) {
          top: 30px;
        }
      }
    }

    p {
      padding-top: 40px;
      color: #fff;
      font-size: 10px;
      font-weight: 500;
      text-align: center;
      text-transform: uppercase;
    }

    &.is-active {
      span {
        &:nth-child(1) {
          @media screen and (max-width: 1079px) {
            top: 21px;
            transform: rotate(135deg);
          }
        }

        &:nth-child(2) {
          @media screen and (max-width: 1079px) {
            opacity: 0;
          }
        }

        &:nth-child(3) {
          @media screen and (max-width: 1079px) {
            top: 21px;
            transform: rotate(-135deg);
          }
        }
      }
    }
  }
}

/* .l-nav
---------------------------------------------------------------- */
#l-nav {
  width: 100%;
  height: 39px;
  margin: auto;
  position: fixed;
  /* position: static; */
  top: 74px;
  left: 0;
  right: 0;
  z-index: -1;
  transition: all 0.2s ease;
  overflow: hidden;

  @media screen and (max-width: 1079px) {
    /* position: fixed; */
    display: none;
    width: 100vw;
    height: 100dvh;
    padding-top: 0;
    left: auto;
    top: 0;
    background: transparent;
    transition: all 0.6s ease;
  }

  &.is-active {
    background: rgb(0 0 0 / .5);
  }

  &.js-scroll {
    height: 0;
    @media screen and (max-width: 1079px) {
      height: 100dvh;
    }
  }
}

.l-nav {
  /* WPログイン時 */
  &.is_user_logged_in {
    top: calc(95px + 32px) !important;
    
    @media screen and (max-width: 782px) {
      top: calc(95px + 46px) !important;

      @media screen and (max-width: 1079px) {
        top: 0 !important;
      }
    }
  }
  
  &.__wrap {
    @media screen and (max-width: 1079px) {
      width: 71vw;
      margin: 0 0 0 auto;
      padding: 0;
      transition: all 0.6s ease;
      /* background: rgb(0 0 0 / .5); */
      translate: 100% 60px;
    }
  
    &.is-active {
      translate: 0 60px;
      /* transform: translateY(60px); */
      /* background: rgb(0 0 0 / .5); */
    }
  }

  &.__ul {
    display: -webkit-box;
    display: flex;
    justify-content: space-around;
    -webkit-box-align: center;
    align-items: center;
    width: 100%;

    @media screen and (max-width: 1079px) {
      display: block;
      background: white;
      padding: 1% 5% 3.5%;
    }
  }

  &.__li {
    border-left: 1px solid #8A8A8A;
    position: relative;

    @media screen and (max-width: 1079px) {
      border-top: 1px dotted #fff;
      border-left: 0;
      border-bottom: solid 1px #5087CE;
    }

    a {
      display: -webkit-box;
      display: flex;
      -webkit-box-pack: center;
      justify-content: center;
      -webkit-box-align: center;
      align-items: center;
      width: 100%;
      height: 20px;
      padding: 0 25px;
      color: #333;
      font-size: 18px;
      font-weight: 500;
      line-height: 1.33;
      text-align: center;

      @media screen and (max-width: 1080px) {
        font-size: max(14px, 4vw);
        padding: 0 calc(2.97vw - 1px);

        @media screen and (max-width: 1079px) {
          display: block;
          height: auto;
          padding: 7px 10px;
          /* color: #fff; */
          /* font-size: 18px; */
          font-weight: 700;
          text-align: left;

          &::after {
            content: '';
            width: 8px;
            height: 13px;
            position: absolute;
            right: 3%;
            top: 50%;
            translate: 0 -50%;
            background: url("https://www.souei.net/img/wp/header/vector-arrow-blue.png") no-repeat center / 8px 13px;
          }
        }
      }

      @media (460px < width < 1079px) {
        font-size: 14px;
      }

      @media (min-width: 1080px) {
        font-size: 14px;
        font-weight: 700;
      }

      &:hover {
        color: #333;
        text-decoration: none;
      }
    }

    &:first-child {
      border-left: 0;

      @media screen and (max-width: 1079px) {
        border-top: 0;
      }

      a {
        padding-left: 0;

        @media screen and (max-width: 1079px) {
          padding-left: 10px;
        }
      }
    }

    &:nth-child(6) {
      a {
        padding-right: 0;

        @media screen and (max-width: 1079px) {
          padding-right: 10px;
        }
      }
    }

    &:last-child {
      /* @media (max-width: 1079px) { */
        border: none;
        a {
          text-align: center;
          background: #0F5CBD;
          color: white;
          border-radius: 5px;
          margin-top: 7px;
          letter-spacing: 1px;
          padding: 10px 0;
          filter: drop-shadow(0 3px 2px #999);
          font-weight: 500;
          
          &::before {
            position: absolute;
            left: calc(50% - 60px);
            top: 50%;
            translate: -50% -50%;
            width: 20px;
            height: 20px;
            content: '';
            background: url("https://www.souei.net/img/wp/header/yellow-search.png") no-repeat center / 20px 20px;
          }

          &::after {
            content: '';
            width: 8px;
            height: 13px;
            position: absolute;
            right: 3%;
            top: 50%;
            translate: 0 -50%;
            background: url("https://www.souei.net/img/wp/header/vector-arrow-white.png") no-repeat center / 8px 13px;

            @media (min-width: 1080px) {
              width: 6px;
              height: 9.75px;
              background: url("https://www.souei.net/img/wp/header/vector-arrow-white.png") no-repeat center / 6px 9.75px;
              right: 6%;
            }
          }

          @media (min-width: 1080px) {
            filter: none;
            border-radius: 0;
            font-size: 16px;
            width: 180px;
            height: 39px;
            padding: 0;
            margin-top: 0;
          }
        }
        
      /* } */
    }
  }
  &.__cta {
    background: #50B4EB;
    padding: 5px 8% 13px;
    @media (min-width: 1080px) {
      display: none;
    }

    .__cta--header {
      text-align: center;
      color: white;
      font-size: max(4.3vw, 13px);
      font-weight: 700;
      line-height: 1.4;
      padding-bottom: 5px;
      margin: 0;
      
      .small-font {
        font-size: max(3.5vw, 11px);
      }

      @media (460px < width < 1079px) {
        font-size: 19px;
        .small-font {
          font-size: 15px;
        }
      }
    }

    .__cta--content1 {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
    }

    .__cta--content1-anchor {
      display: block;
      max-width: 315px;
      margin: 0 3.5%;
      @media (460px < width < 1079px) {
        width: 260px;
        margin: 0 5px;
      }
    }

    .__cta--btn {
      padding: 4px 0;
      filter: drop-shadow(0 0 4px #858585);
    }

    .__cta--p1 {
      color: white;
      text-align: center;
      margin: 9px 0 6px;
      font-size: max(2.9vw, 10px);
      font-weight: 600;
      @media (460px < width < 1079px) {
        font-size: 12px;
      }
    }

    .__cta--p2 {
      color: white;
      text-align: center;
      font-size: 10px;
      font-weight: 500;
      margin-top: 6px;
    }

    .__cta--tel-btn {
      width: 85%;
      max-width: 315px;
      margin: auto;
      display: block;
    }
  }
}

/* .l-footer
---------------------------------------------------------------- */
#l-footer {
}

/* PC */
.l-footer {
  &.__copyright {
    padding-top: 90px;
    p {
      color: #666;
      font-size: 12px;
      font-weight: 500;
      line-height: 1.5;
      letter-spacing: 0.04em;
      text-align: center;
    }
  }
}

/* SP */
#l-footer-sp {
  display: none;
}

@media screen and (max-width: 1079px) {
  #l-footer-sp {
    display: block;
    background: #fff;
  }
  
  .l-footer-sp {
    &.__wrap {
      padding-top: 25px;
      padding-bottom: 78px;
    }
  
    &.__privacy {
      text-align: center;

      a {
        display: inline-block;
        
        p {
          margin-top: 10px;
          color: #333;
          font-size: 13px;
          font-weight: 700;
          line-height: 1.8;
          letter-spacing: 0.025em;
        }
      }
    }

    &.__copyright {
      margin-top: 10px;
      
      p {
        color: #666;
        font-size: 10px;
        font-weight: 500;
        line-height: 1.5;
        letter-spacing: 0.025em;
        text-align: center;
      }
    }
  }
}