/* -------------------------------------------------------------------------- */
/*                                   Colors                                   */
/* -------------------------------------------------------------------------- */
/* -------------------------------------------------------------------------- */
/*                              Default Functions                             */
/* -------------------------------------------------------------------------- */
/* -------------------------------------------------------------------------- */
/*                               Default Mixins                               */
/* -------------------------------------------------------------------------- */
/* -------------------------------------------------------------------------- */
/*                                Custom Layout                               */
/* -------------------------------------------------------------------------- */
/* -------------------------------------------------------------------------- */
/*                                   Header                                   */
/* -------------------------------------------------------------------------- */
@media screen and (width <= 768px) {
  .header::before {
    content: "";
    position: absolute;
    inset: auto auto 0 0;
    width: 103px;
    height: 144px;
    border-radius: 0;
    background: no-repeat center/contain url("/images/top/mainvis_deco6.png");
  }
  .header__wrapper-w100 {
    height: 85px;
  }
  .header__wrapper-deco::before, .header__wrapper-deco::after {
    transform: translate(0, 0);
  }
  .header__wrapper-deco::before {
    width: 579px;
    height: 412px;
    border-radius: 0;
    background-image: url("/images/top/mainvis_deco1-sp.png");
  }
  .header__wrapper-deco:after {
    width: 297px;
    height: 416px;
    border-radius: 0;
    background-image: url("/images/top/mainvis_deco2-sp.png");
  }
  .header__logo {
    margin-inline: 0;
  }
  .header__logo a {
    width: 65%;
  }
}
/* --------------------------------- Visual --------------------------------- */
@media screen and (width <= 768px) {
  .mainvis__list {
    margin-block: 0;
    padding-bottom: 8rem;
  }
  .mainvis__list::before, .mainvis__list::after {
    content: none;
  }
  .mainvis__item {
    height: 400px;
  }
  .mainvis__item::before {
    content: none;
  }
  .mainvis__catch {
    width: 90vw;
    inset: auto 0 0 0;
  }
  .subvis__wrapper-xl {
    margin-top: 0;
  }
  .subvis__img {
    height: 250px;
  }
  .subvis__catch {
    padding-inline: 1.5rem;
  }
  .subvis__catch-box {
    width: fit-content;
    height: fit-content;
    border-radius: 15px;
    padding: 1.5rem 2.7rem;
  }
  .subvis__catch-box h2 {
    font-size: 2.6rem;
  }
}
/* -------------------------------------------------------------------------- */
/*                                    Main                                    */
/* -------------------------------------------------------------------------- */
@media screen and (width <= 768px) {
  .sec01__wrapper-l {
    justify-content: center;
    align-items: center;
  }
  .sec01__box {
    margin-inline: auto;
  }
  .sec01__box .cmn-textbox p {
    line-height: 3.2rem;
  }
  .sec01__header {
    padding-top: 4rem;
  }
  .sec01__img::before {
    width: 150px;
    height: 112px;
    border-radius: 0;
    inset: auto auto -20px -5px;
  }
  .sec02__wrapper-m::before {
    width: 112px;
    height: 135px;
    border-radius: 0;
    transform: translate(0, -100%);
    inset: 0 0 auto 0;
    margin-inline: auto;
  }
  .sec02__header::before {
    width: 39px;
    height: 30px;
    border-radius: 0;
    transform: translate(-25px, -18px);
  }
  .sec02__header::after {
    width: 12px;
    height: 31px;
    border-radius: 0;
    transform: translateX(20px);
  }
  .sec02__list {
    justify-content: center;
    align-items: center;
    gap: 2rem 3rem;
  }
  .sec02__item-img {
    width: 250px;
    height: 240px;
    border-radius: 0;
    margin-inline: auto;
  }
  .sec03__header {
    margin-bottom: 6rem;
  }
  .sec03__header::before {
    width: 56px;
    height: 34px;
    border-radius: 0;
    transform: translateY(-40px);
  }
  .sec03__item {
    height: fit-content;
  }
  .sec03__item:nth-child(1)::before {
    width: 51px;
    height: 57px;
    border-radius: 0;
    transform: translateY(-33px);
  }
  .sec03__item:nth-child(2)::before {
    width: 51px;
    height: 57px;
    border-radius: 0;
    transform: translateY(-33px);
  }
  .sec03__item:nth-child(3)::before {
    width: 51px;
    height: 57px;
    border-radius: 0;
    transform: translateY(-33px);
  }
  .sec03__item-title {
    font-size: 2rem;
  }
  .sec03__item-link {
    padding: 2.5rem;
  }
  .sec03__item-link::before {
    width: 18px;
    height: 18px;
    border-radius: 0;
  }
  .sec04__box {
    padding: 2rem;
    gap: 1rem 4rem;
  }
  .sec04__box--des2 {
    gap: 0rem 4rem;
  }
  .sec04__box--des2::before {
    width: 38px;
    height: 36px;
    border-radius: 0;
    transform: translate(-5px, -15px);
  }
  .sec04__box--des2::after {
    width: 79px;
    height: 95px;
    border-radius: 0;
    inset: 0 0 auto 0;
    margin: 0 auto;
    transform: translate(0, -70%);
  }
  .sec04__text {
    font-size: 2rem;
  }
  .sec05__box {
    padding: 2.5rem;
  }
  .sec05__box::before {
    inset: 0 0 auto auto;
    width: 67px;
    height: 152px;
    border-radius: 0;
    transform: translate(-10px, -45%);
  }
  .sec06__item, .sec06__item:nth-child(even) {
    flex-flow: column-reverse nowrap;
  }
  .sec06__item-title {
    font-size: 2rem;
  }
  .sec08__list {
    padding: 3rem;
  }
  .sec08__list::before {
    width: 89px;
    height: 71px;
    border-radius: 0;
    transform: translate(35px, -50px);
  }
  .sec08__list--des2::before {
    transform: translate(-30px, -50px);
  }
  .sec08__item {
    padding-left: 3rem;
  }
  .sec08__item::before {
    width: 20px;
    height: 20px;
    border-radius: 0;
  }
  .sec09__wrapper-xl::after {
    content: none;
  }
  .sec09__box {
    padding: 2.5rem;
  }
  .sec10__wrapper-xl::after {
    content: none;
  }
  .sec10__item:not(:last-child) {
    margin-bottom: 5rem;
  }
  .sec10__item-title {
    font-size: 1.7rem;
  }
  .sec10__item-header {
    margin-bottom: 1.5rem;
  }
  .sec10__item-box {
    padding: 2.5rem;
  }
  .sec10__item-box2 {
    padding: 1.5rem;
  }
  .sec11__item:not(:last-child) {
    margin-bottom: 6rem;
  }
  .sec11__item:not(:last-child)::before {
    width: 44px;
    height: 18px;
    border-radius: 0;
    transform: translateY(30px);
  }
  .sec11__item-box {
    margin-left: 0;
    padding: 10rem 2.5rem 2.5rem 2.5rem;
  }
  .sec11__item-img {
    width: 102px;
    height: 97px;
    border-radius: 0;
    inset: 0 0 auto 0;
    margin: 0 auto;
    transform: translateY(-10px);
  }
  .sec11__item-title {
    font-size: 2rem;
  }
  .sec11__item-box2 {
    justify-content: center;
    padding: 1rem;
  }
  .sec11__item-box2::before {
    width: 45px;
    height: 1px;
    border-radius: 0;
  }
  .sec12__item {
    width: 100%;
    height: 50px;
    border-radius: 35px;
  }
  .sec12__item2:not(:last-child) {
    margin-bottom: 5rem;
  }
  .sec12__item2-box {
    padding: 2.5rem;
  }
  .sec13 .cmn-textbox {
    margin-bottom: 8rem;
  }
}
/* -------------------------------------------------------------------------- */
/*                                   Footer                                   */
/* -------------------------------------------------------------------------- */
@media screen and (width <= 768px) {
  .footer__wrapper-m {
    padding-block: 1rem 5rem;
  }
  .footer__logo {
    max-width: 70%;
    margin-bottom: 3rem;
  }
  .footer__nav {
    padding-block: 1.5rem;
    margin-bottom: 3rem;
  }
}