@charset "utf-8";
/* CSS Document */

/*〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓
フッター
〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓*/
footer.glo_footer {
  background-color: var(--color-navy);
  color: #fff;
  padding: 10rem 2.5rem 5.6rem;
  @media screen and (max-width: 768px) {
    padding: 6.4rem 2.5rem 1.8rem;
  }
  .footer_inner {
    max-width: 117.8rem;
    margin: auto;
    display: flex;
    position: relative;
    gap: 8.7%;
    @media screen and (max-width: 768px) {
      flex-direction: column;
      gap: 3.3rem;
    }
    /*--------------------*/
    /* ロゴと住所 */
    .logo_address_wrap {
      max-width: 31.4rem;
      width: 26.7%;
      @media screen and (max-width: 768px) {
        width: 100%;
        padding-bottom: 0.6rem;
      }
      /* ロゴ */
      .footer_logo {
        padding-top: 0.7rem;
        margin-bottom: 3.6rem;
        @media screen and (max-width: 480px) {
          width: 27.2rem;
          margin-bottom: 2.2rem;
        }
        a {
          display: block;

          .logo_copy {
            font-size: 1.5rem;
            letter-spacing: 0.02em;
            font-weight: 500;
            color: #fff;
            margin-bottom: 1.2em;
            @media screen and (max-width: 480px) {
              font-size: 1.1rem;
              margin-bottom: 0.9em;
            }
          }
        }
      }
      /* 住所 */
      .footer_address {
        font-size: 1.5rem;
        line-height: 2;
        font-weight: 700;
        letter-spacing: 0.02em;
        font-style: normal;
        @media screen and (max-width: 480px) {
          font-size: 1.4rem;
        }
        /* 電話番号（スマホでタップすると電話をかけられる） */
        a {
          color: inherit;
          text-decoration: none;
        }
      }
    }
    /*--------------------*/
    /* 著作権表記 */
    .copyright {
      position: absolute;
      left: 0;
      top: 36rem;
      font-size: 1.4rem;
      line-height: 1.7;
      letter-spacing: 0.05em;
      @media screen and (max-width: 768px) {
        position: static;
      }
      @media screen and (max-width: 480px) {
        font-size: 1.2rem;
      }
    }

    /*〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓*/
    /* フッタメニュー */

    .footer_nav_wrap {
      margin: auto;
      width: 64.6%;
      @media screen and (max-width: 768px) {
        width: 100%;
      }

      /* メニュー */
      .sitemap_menu_wrap {
        a {
          color: #fff;
        }
        .item {
          font-size: 1.5rem;
          line-height: 1.7;
          @media screen and (max-width: 480px) {
            font-size: 1.2rem;
          }
          .menu_title {
            font-weight: 700;
            &.aco_title {
              margin-bottom: 2rem;
              @media screen and (max-width: 768px) {
                margin-bottom: 0.8rem;
              }
            }
          }
          ul {
            display: flex;
            flex-direction: column;
            gap: 1rem;
            li {
              font-weight: 400;
            }
          }
        }
        /* サイトマップ、ポリシー */
        .div11 {
          .menu_sub {
            display: inline-block;
            padding-right: 0.5em;
            font-weight: 400;
            line-height: 1;
            font-size: 1.4rem;
            @media screen and (max-width: 480px) {
              font-size: 1.2rem;
            }
            &:last-child {
              border-left: 1px solid #fff;
              padding-left: 0.5em;
            }
          }
        }
        /* 配置 */
        @media screen and (min-width: 769px) {
          &.parent {
            display: grid;
            grid-template-columns: 1.3fr 1.3fr 1fr;
            grid-template-rows: repeat(6, auto);
            grid-column-gap: 3.7rem;
            grid-row-gap: 1.1rem;
            .item {
              align-self: start;
              box-sizing: border-box;
            }
            .div1 {
              grid-area: 1 / 1 / 5 / 2;
            }
            .div2 {
              grid-area: 5 / 1 / 6 / 2;
              padding-top: 3.5rem;
            }
            .div3 {
              grid-area: 5 / 2 / 6 / 3;
              padding-top: 3.5rem;
            }
            .div4 {
              grid-area: 1 / 2 / 2 / 3;
            }
            .div5 {
              grid-area: 2 / 2 / 3 / 3;
            }
            .div6 {
              grid-area: 3 / 2 / 4 / 3;
            }
            .div7 {
              grid-area: 4 / 2 / 5 / 3;
            }
            .div8 {
              grid-area: 3 / 3 / 4 / 4;
            }
            .div9 {
              grid-area: 4 / 3 / 5 / 4;
            }
            .div10 {
              grid-area: 5 / 3 / 6 / 4;
            }
            .div11 {
              grid-area: 6 / 1 / 7 / 4;
              padding-top: 11rem;
              text-align: right;
              padding-right: 3.8rem;
            }
            .div12 {
              grid-area: 1 / 3 / 2 / 4;
            }
            .div13 {
              grid-area: 2 / 3 / 3 / 4;
            }
          }
        }

        @media screen and (max-width: 768px) {
          &.parent {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            grid-template-rows: repeat(9, auto);
            grid-column-gap: 2.6rem;
            grid-row-gap: 0.8rem;
          }

          .div1 {
            grid-area: 1 / 1 / 5 / 2;
          }
          .div2 {
            grid-area: 5 / 1 / 6 / 2;
            padding-top: 2.8rem;
          }
          .div3 {
            grid-area: 5 / 2 / 6 / 3;
            padding-top: 2.8rem;
          }
          .div4 {
            grid-area: 1 / 2 / 2 / 3;
          }
          .div5 {
            grid-area: 2 / 2 / 3 / 3;
          }
          .div6 {
            grid-area: 3 / 2 / 4 / 3;
          }
          .div7 {
            grid-area: 4 / 2 / 5 / 3;
          }
          .div8 {
            grid-area: 7 / 1 / 8 / 2;
          }
          .div9 {
            grid-area: 7 / 2 / 8 / 3;
          }
          .div10 {
            grid-area: 8 / 1 / 9 / 3;
            padding-top: 1.6rem;
          }
          .div11 {
            grid-area: 9 / 1 / 10 / 3;
            padding-top: 3.2rem;
          }
          .div12 {
            grid-area: 6 / 1 / 7 / 2;
            padding-top: 4.8rem;
          }
          .div13 {
            grid-area: 6 / 2 / 7 / 3;
            padding-top: 4.8rem;
          }
        }
      }
    }
  }
}
/*〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓
お問い合わせへのリンク
〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓*/
.contact_link_wrap {
  max-width: 117rem;
  padding: 0 2.5rem;
  margin: 0 auto 7rem;
  display: flex;
  justify-content: space-between;
  @media screen and (max-width: 768px) {
    margin: 0 auto 4rem;
    flex-direction: column;
    gap: 2.7rem;
  }
  .contact-item {
    max-width: 55.8rem;
    box-sizing: border-box;
    padding: 4.6rem 4rem 6rem;
    width: 47.7%;
    position: relative;
    @media screen and (max-width: 768px) {
      width: 100%;
      margin: auto;
      padding: 2.4rem 2.4rem 3.8rem;
    }
    &::before {
      max-width: 36.4rem;
      width: 50%;
    }
    /* 見出し（無料診断サービス）と電話番号 */
    :is(h2, .tel) {
      position: relative;
      text-align: center;
      font-size: 4rem;
      line-height: 2;
      color: var(--color-navy);
      font-weight: 600;
      z-index: 10;
      @media screen and (max-width: 768px) {
        font-size: 2.4rem;
      }
      span {
        letter-spacing: 0.02em;
        padding-left: 0.02em;
      }
      &.font-oswald {
        font-size: 4.4rem;
        line-height: 1.818;
        font-weight: 400;
        a {
          color: var(--color-navy);
        }
        @media screen and (max-width: 768px) {
          font-size: 3.4rem;
        }
      }
    }
    p:not(.tel) {
      position: relative;
      z-index: 10;
      display: flex;
      font-size: 1.4rem;
      line-height: 1.6;
      justify-content: center;
      gap: 1.6em;
      color: var(--color-text);
      @media screen and (max-width: 768px) {
        flex-direction: column;
        align-items: center;
        gap: 0;
        width: 75%;
        margin: 0.6rem auto auto;
      }
      @media screen and (max-width: 480px) {
        align-items: flex-start;
      }
    }
    .button_wrap {
      margin-top: 1.9rem;
      position: relative;
      z-index: 10;
      @media screen and (max-width: 768px) {
        margin-top: 1.4rem;
      }
    }
    &.consultation {
      p {
        display: block;
        font-size: 1.6rem;
        line-height: 1.4;
        text-align: center;
        color: var(--color-text);
        @media screen and (max-width: 768px) {
          font-size: 1.4rem;
          width: 100%;
        }
        @media screen and (max-width: 480px) {
          text-align: left;
        }
      }
    }
  }
}

