@charset "UTF-8";

:root {
  --main-color: #491f24;
  --pilatesmusk-color: #b3b3b3;
  --naturafit-color: #00a199;
  --andmake-color: #d7a735;
}

/************************************
** init
************************************/
.top #content {
  padding-top: 0;
}
.l-content {
  margin: 0 auto;
  padding-top: 0;
}
.fw {
  margin-right: calc(50% - 50vw);
  margin-left: calc(50% - 50vw);
}
.inner-wrap,
.wrap {
  width: 1200px;
  margin: 0 auto;
  padding: 60px 0;
}
.pc {
  display: block;
}
.sp {
  display: none;
}
@media screen and (max-width: 480px) {
  .inner-wrap,
  .wrap {
    width: auto;
    padding: 30px 0;
  }
  .sp {
    display: block;
  }
  .pc {
    display: none;
  }
}

/************************************
** 
************************************/
.heading {
  text-align: center;
  margin-bottom: 90px;
  h2 {
    position: relative;
    color: #444;
    font-size: 24px;
    font-weight: normal;
    letter-spacing: 0.15em;
    &:before {
      content: "";
      position: absolute;
      bottom: -15px;
      display: inline-block;
      width: 60px;
      height: 5px;
      left: 50%;
      -webkit-transform: translateX(-50%);
      transform: translateX(-50%);
      background-color: var(--main-color);
      border-radius: 2px;
    }
  }
  span.s1 {
    font-size: 32px;
  }
}
.link a {
  font-size: 20px;
  color: #222;
  i {
    padding-left: 1em;
  }
  &:hover {
    opacity: 0.7;
    transition: all 0.5s ease;
  }
}
@media screen and (max-width: 480px) {
  .heading {
    h2 {
      font-size: 18px;
    }
    span.s1 {
      font-size: 24px;
    }
  }
}
/************************************
** lead
************************************/
.lead {
  padding-bottom: 90px;
  text-align: center;
  font-size: 20px;
  .m1 {
    margin-bottom: 30px;
    .s1 {
      font-size: 24px;
    }
  }
  .m2 {
    font-size: 14px;
    margin-bottom: 30px;
    .s2 {
      display: block;
      margin-bottom: 30px;
    }
    a {
      color: #222;
      font-size: 20px;
      padding: 10px 30px;
      border: 2px solid #9f5b42;
      border-radius: 30px;
      transition: 0.5s ease;
      &:hover {
        opacity: 0.7;
      }
    }
  }
}
.links {
  .items {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    .item {
      .sttl {
        text-align: center;
        font-size: 14px;
      }
      a {
        display: block;
        text-align: center;
        padding: 10px 30px;
        border: 2px solid #ddd;
        border-radius: 30px;
        color: #222;
        transition: all 0.5s ease;
        &:hover {
          opacity: 0.7;
        }
      }
    }
    .item:nth-child(1) a {
      border: 2px solid var(--pilatesmusk-color);
    }
    .item:nth-child(2) a {
      border: 2px solid var(--naturafit-color);
    }
    .item:nth-child(3) a {
      border: 2px solid var(--andmake-color);
    }
  }
}

@media screen and (max-width: 480px) {
  .lead {
    padding: 0 15px;
    padding-bottom: 60px;
    font-size: 16px;
    .m1 {
      .s1 {
        font-size: 20px;
      }
    }
    .m2 {
      .s2 {
        margin-bottom: 20px;
      }
    }
  }
  .links {
    padding: 0 15px;
    .items {
      grid-template-columns: repeat(1, 1fr);
      gap: 30px;
    }
  }
}
