@charset "UTF-8";


/* lead_sec */
.lead_sec {
  .sec_text {
    margin-bottom: 125px;
  
  }

  .sitemap_box {
    width: 1100px;
    max-width: 100%;
    margin: 0 auto 60px;

    .link_text {
      display: block;
      width: fit-content;
      padding: 15px 1.8em 15px 0;
      letter-spacing: .06em;
      font-size: 18px;

      position: relative;
      &::before {
        content: "＞";
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        font-size: 18px;
        color: #F08B00;
      }
    }
    .title {
      min-height: 50px;
      border-left: 15px solid #F08B00;
      margin-bottom: 50px;
      padding-left: 21px;

      display: flex;
      justify-content: flex-start;
      align-items: center;
    }
    .list {
      box-sizing: border-box;
      padding-left: 35px;
      margin-bottom: 20px;

      width: 100%;
      display: grid;
      column-gap: 1em;
      grid-template-columns: repeat(4, 1fr);
    }
  }

  .link_box {
    box-sizing: border-box;
    width: 995px;
    max-width: 100%;
    margin: 0 auto 60px;

    display: grid;
    column-gap: 25px;
    grid-template-columns: repeat(3, 314px);
  }

  .group_box {
    width: 1100px;
    max-width: 100%;
    margin: 130px auto 40px;

    .link_text {
      display: block;
      width: fit-content;
      padding: 15px 1.8em 15px 0;
      letter-spacing: .06em;
      font-size: 18px;
    }
    .title {
      min-height: 56px;
      border-left: 17px solid #F08B00;
      margin-bottom: 22px;
      padding-left: 21px;

      display: flex;
      justify-content: flex-start;
      align-items: center;

      padding-left: 21px;
      letter-spacing: .1em;
      font-size: 18px;
      /*font-weight: bold;*/
    }

    .gridbox{
      grid-template-columns: repeat(4, minmax(0, 1fr));
      max-width: 1330px;
      margin: 0 auto;
      padding-left: 35px;
      column-gap: 16px;
    }
    .box{
      max-width: 277.4px;
      height: 101px;
      position: relative;
      border-radius: 10px;
      display: flex;
      justify-content: center;
      align-items: center;
      &::before{
        content: "";
        position: absolute;
        width:  231px;
        height: 119px;
        left: 0;
        bottom: 50%;
        transform: translateY(50%);
        background: url(/taniyama/images/common/overlay.webp) center / contain no-repeat;
      }
      &::after{
        content: "";
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateY(50%);
      }
      .box_text{
        color: #fff;
        text-align: center;
        font-size: 18px;
        font-weight: bold;
      }
    }
    .box01{
      border: 2px solid #E74081;
      background-color: #F3F3F3;
      &::before{
          width:  81.8px;
          height: 86.2px;
          background: url(/taniyama/images/common/banner_logo.webp) center / contain no-repeat;
      }
      &::after{
          content: "";
          flex-shrink: 0;
          width: 0;
          height: 0;
          right: 10px;
          left: initial;
          bottom: 50%;
          transform: translateY(50%);
          border-style: solid;
          border-width: 9px 0 9px 12px;
          border-color: transparent transparent transparent #E84A85;
      }
      .box_text{
          text-align: center;
          font-size: 18px;
          line-height: 1.5;
          margin-right: 17.8px;
          color: #444;
          font-weight: 500;
      }
    }
    .box02{
      background-color: #FF748B;
      &::after{
        width:  26.7px;
        height: 26.7px;
        bottom: 10px;
        left: 50%;
        transform: translateX(-50%);
        background: url(/taniyama/images/common/yajirushi_p.webp) center / contain no-repeat;
      }
      .box_text{
        padding-bottom: 8px;
        filter:drop-shadow(0px 0px 16px rgba(0, 0, 0, 0.35));
      }
    }
    .box03{
      background-color: #27A7AF;
      &::after{
        width:  26.7px;
        height: 26.7px;
        bottom: 10px;
        left: 50%;
        transform: translateX(-50%);
        background: url(/taniyama/images/common/yajirushi_g.webp) center / contain no-repeat;
      }
      .box_text{
        padding-bottom: 28px;
        line-height: 1.5;
        filter:drop-shadow(0px 0px 16px rgba(0, 0, 0, 0.35));
      }
    }
    .box04{
      background-color: #3881B6;
      &::after{
        width:  26.7px;
        height: 26.7px;
        bottom: 10px;
        left: 50%;
        transform: translateX(-50%);
        background: url(/taniyama/images/common/yajirushi_b.webp) center / contain no-repeat;
      }
      .box_text{
        padding-bottom: 28px;
        line-height: 1.5;
        filter:drop-shadow(0px 0px 16px rgba(0, 0, 0, 0.35));
      }
    }
  }

  @media screen and (max-width: 768px) {
    .sec_text {
      margin-bottom: 13.8vw;
    }
    .sec_title{
      font-feature-settings: "palt";
    }

    .sitemap_box {
      margin: 0 auto 8vw;

      .link_text {
        padding: 3.5vw 1.8em 3.5vw 0;
        letter-spacing: .06em;
        font-size: 4.8vw;

        position: relative;
        &::before {
          font-size: 4.8vw;
        }
      }
      .title {
        min-height: 13.33vw;
        border-left: 4.53vw solid #F08B00;
        margin-bottom: 4.2vw;
        padding-left: 5.6vw;
        font-size: 4.8vw;
      }
      .list {
        margin-bottom: 0;
        padding-left: 9.33vw;
        column-gap: initial;
        grid-template-columns: repeat(1, 1fr);

        .link_text {
          margin-bottom: 4.2vw;
        }
      }
    }

    .link_box {
      margin: 0 auto 13.8vw;
      padding: 0 6vw;

      display: grid;
      row-gap: 6.2vw;
      column-gap: initial;
      grid-template-columns: repeat(1, 1fr);
    }

    .group_box {
      margin: 20.7vw auto 13.8vw;

      .link_text {
        padding: 3.5vw 1.8em 3.5 0;
        letter-spacing: .06em;
        font-size: 4.8vw;

        position: relative;
        &::before {
          font-size: 4.8vw;
        }
      }
      .title {
        min-height: 13.33vw;
        border-left: 4.53vw solid #F08B00;
        margin-bottom: 4.2vw;
        padding-left: 5.6vw;
        font-size: 5.2vw;
      }

      .gridbox{
        grid-template-columns: repeat(1, minmax(0, 1fr));
        column-gap: 0;
        row-gap: 6.2vw;
        padding-left: 0;
      }
      .box{
        max-width: 100%;
        height: 30.73vw;
        &::before{
          width: 69.33vw;
          height: 35.73vw;
          left: 0;
          bottom: 50%;
          transform: translateY(50%);
          background: url(/taniyama/images/common/overlay.webp) center / contain no-repeat;
        }
        &::after{
          bottom: 0;
          left: 50%;
          transform: translateY(50%);
        }
        .box_text{
          font-size: 5.77vw;
        }
      }
      .box01{
        &::before{
          width: 24.53vw;
          height: 25.87vw;
          background: url(/taniyama/images/common/banner_logo.webp) center / contain no-repeat;
        }
        &::after{
          width: 0;
          height: 0;
          right: 2.67vw;
          left: initial;
          bottom: 50%;
          transform: translateY(50%);
          border-style: solid;
          border-width: 2.4vw 0 2.4vw 3.2vw;
          border-color: transparent transparent transparent #E84A85;
        }
        .box_text{
          font-size: 5.3vw;
          margin-right: 5.33vw;
        }
      }
      .box02{
        &::after{
          width: 8vw;
          height: 8vw;
          bottom: 2.67vw;
          left: 50%;
          transform: translateX(-50%);
          background: url(/taniyama/images/common/yajirushi_p.webp) center / contain no-repeat;
        }
        .box_text{
          filter:drop-shadow(0px 0px 16px rgba(0, 0, 0, 0.35));
        }
      }
      .box03{
        &::after{
          width: 8vw;
          height: 8vw;
          bottom: 2.67vw;
          left: 50%;
          transform: translateX(-50%);
          background: url(/taniyama/images/common/yajirushi_g.webp) center / contain no-repeat;
        }
        .box_text{
          padding-bottom: 7.33vw;
          filter:drop-shadow(0px 0px 16px rgba(0, 0, 0, 0.35));
        }
      }
      .box04{
        &::after{
          width: 8vw;
          height: 8vw;
          bottom: 2.67vw;
          left: 50%;
          transform: translateX(-50%);
          background: url(/taniyama/images/common/yajirushi_b.webp) center / contain no-repeat;
        }
        .box_text{
          padding-bottom: 7.33vw;
          filter:drop-shadow(0px 0px 16px rgba(0, 0, 0, 0.35));
        }
      }
    }
  }
}