/* -------------------------------------------------------------------------- */
/*                                   Colors                                   */
/* -------------------------------------------------------------------------- */
/* -------------------------------------------------------------------------- */
/*                              Default Functions                             */
/* -------------------------------------------------------------------------- */
/* -------------------------------------------------------------------------- */
/*                               Default Mixins                               */
/* -------------------------------------------------------------------------- */
/* -------------------------------------------------------------------------- */
/*                                Custom Layout                               */
/* -------------------------------------------------------------------------- */
/* -------------------------------------------------------------------------- */
/*                                   Header                                   */
/* -------------------------------------------------------------------------- */
@media screen and (width <= 768px) {
  .header__wrapper {
    height: 85px;
  }
  .header__logo {
    margin-inline: 0;
  }
  .header__logo a {
    width: 55%;
  }
}
/* --------------------------------- Visual --------------------------------- */
@media screen and (width <= 768px) {
  .mainvis,
  .subvis {
    margin-top: 85px;
  }
  .mainvis__wrapper-xl {
    margin-bottom: 0;
  }
  .mainvis__wrapper-ll {
    height: fit-content;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .mainvis__header {
    transform: translate(0, 0);
    margin-left: 0;
    padding: 1.6rem;
  }
  .mainvis__header h2 img {
    width: 100%;
    height: auto;
  }
  .subvis__wrapper-ll {
    height: 200px;
  }
  .subvis__img {
    height: inherit;
  }
  .subvis__box {
    width: 100%;
    height: auto;
    border-radius: 0;
    padding-block: 3rem;
    margin-left: 0;
    background: no-repeat top left/60px url("../images/common/subvis_deco1.png"), no-repeat bottom right/60px url("../images/common/subvis_deco2.png");
  }
  .subvis__box::before {
    content: none;
  }
  .subvis__header h2 {
    font-size: 3rem;
    margin-bottom: 0;
  }
  .subvis__header p {
    font-size: 2rem;
  }
}
/*                                    Main                                    */
/* -------------------------------------------------------------------------- */
@media screen and (width <= 768px) {
  /* --------------------------------- Sec01 -------------------------------- */
  .sec01__wrapper-l {
    justify-content: center;
    align-items: center;
    flex-flow: column-reverse nowrap;
  }
  .sec01__box::before {
    content: none;
  }
  .sec01 .cmn-header {
    position: relative;
    z-index: 1;
  }
  .sec01 .cmn-header::before {
    content: "";
    position: absolute;
    inset: 0 0 0 auto;
    margin-block: auto;
    width: 70px;
    height: auto;
    border-radius: 0;
    background: no-repeat center/contain url("../images/top/sec01_deco1.png");
    z-index: -1;
  }
  /* --------------------------------- Sec02 -------------------------------- */
  .sec02__list {
    flex-flow: column nowrap;
    gap: 1.5rem;
  }
  .sec02__item {
    width: 100%;
  }
  .sec02__item::before {
    width: 400px;
    height: 700px;
    border-radius: 0;
    transform: rotate(130deg) translate(-110%, 30%);
  }
  .sec02__item-link {
    gap: 0;
    padding: 1rem;
  }
  .sec02__item-header h4 {
    font-size: 2.4rem;
  }
  /* --------------------------------- Sec03 -------------------------------- */
  .sec03__wrapper-l {
    padding-block: 4rem;
    height: auto;
    justify-content: center;
    align-items: center;
    flex-flow: column-reverse nowrap;
    gap: 0;
    position: relative;
    z-index: 1;
  }
  .sec03__img {
    display: none;
  }
  .sec03__box {
    margin: 0;
  }
  .sec03__text {
    width: 100%;
    font-size: 2rem;
    margin-bottom: 1.5rem;
  }
  /* --------------------------------- Sec04 -------------------------------- */
  .sec04 .news__tags {
    margin-bottom: 1rem;
  }
  .sec04__list {
    flex-flow: column nowrap;
    gap: 4rem;
    margin-bottom: 4rem;
  }
  .sec04__item-header {
    padding-left: 1rem;
    margin-bottom: 1rem;
  }
  .sec04__item-header h4 {
    font-size: 1.8rem;
    line-height: 2.5rem;
    text-overflow: ellipsis;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }
  .sec04__item-cont {
    height: auto;
  }
  .sec04__item-img::before {
    width: 10rem;
    font-size: 1.4rem;
  }
  .sec04__item-img--before, .sec04__item-img--after {
    width: 100%;
    height: auto;
    border-radius: 15px;
    position: relative;
  }
  .sec04__item-img--before {
    margin-bottom: 1rem;
  }
  .sec04 .sec04__item-img1B:hover {
    width: 100%;
    height: auto;
    border-radius: 15px;
  }
  .sec04:has(.sec04__item-img1B:hover) .sec04__item-img1A {
    width: 100%;
    height: auto;
    border-radius: 15px;
  }
  .sec04 .sec04__item-img2B:hover {
    width: 100%;
    height: auto;
    border-radius: 15px;
  }
  .sec04:has(.sec04__item-img2B:hover) .sec04__item-img2A {
    width: 100%;
    height: auto;
    border-radius: 15px;
  }
  .sec04 .sec04__item-img3B:hover {
    width: 100%;
    height: auto;
    border-radius: 15px;
  }
  .sec04:has(.sec04__item-img3B:hover) .sec04__item-img3A {
    width: 100%;
    height: auto;
    border-radius: 15px;
  }
  .sec04 .sec04__item-img4B:hover {
    width: 100%;
    height: auto;
    border-radius: 15px;
  }
  .sec04:has(.sec04__item-img4B:hover) .sec04__item-img4A {
    width: 100%;
    height: auto;
    border-radius: 15px;
  }
  .sec04 .sec04__item-img5B:hover {
    width: 100%;
    height: auto;
    border-radius: 15px;
  }
  .sec04:has(.sec04__item-img5B:hover) .sec04__item-img5A {
    width: 100%;
    height: auto;
    border-radius: 15px;
  }
  /* --------------------------------- Sec05 -------------------------------- */
  .sec05 {
    background: linear-gradient(to bottom, transparent 50%, #a9ddfd 50%);
    margin-bottom: 5rem;
  }
  .sec05__wrapper-ll {
    height: auto;
    background: no-repeat center top/1521px url("../images/top/sec05_bg1.png") !important;
  }
  .sec05__wrapper-l {
    padding-bottom: 0;
  }
  .sec05__wrapper-l::before, .sec05__wrapper-l::after {
    display: none;
  }
  .sec05 .cmn-header {
    margin-bottom: 2rem;
  }
  .sec05 .cmn-header h3 {
    margin: 0 auto 2rem;
  }
  /* --------------------------------- Sec06 -------------------------------- */
  .sec06__wrapper-xl {
    padding-block: 4rem;
  }
  .sec06__box {
    padding: 2rem;
    align-items: start;
    flex-flow: column nowrap;
    gap: 2.5rem;
  }
  .sec06__img {
    transition: all 0.3s;
  }
  .sec06__header {
    position: relative;
    z-index: 1;
  }
  .sec06__header h4 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
  }
  .sec06__header p {
    font-size: 1.4rem;
    line-height: 2.5rem;
  }
  .sec06__item {
    font-size: 1.4rem;
  }
  /* --------------------------------- Sec07 -------------------------------- */
  .sec07__nav {
    gap: 1rem;
    margin-bottom: 0;
  }
  .sec07__link {
    width: calc(50% - 1rem);
    height: 40px;
    border-radius: 30px;
  }
  .sec07__link::before {
    inset: 0 auto 0 15px;
    width: 10px;
    height: 6px;
    border-radius: 0;
  }
  .sec07__link span {
    font-size: 1.4rem;
  }
  .sec07__cont {
    flex-flow: column-reverse nowrap;
  }
  .sec07__cont:has(+ .sec07__category) {
    margin-bottom: 3rem;
  }
  .sec07__textbox {
    margin-top: 0;
  }
  .sec07__category:not(:last-child) {
    margin-bottom: 4rem;
  }
  .sec07__header {
    margin-bottom: 1.5rem;
    padding: 1rem;
  }
  .sec07__header h4 {
    font-size: 1.6rem;
  }
  .sec07__item {
    flex-flow: column nowrap;
    gap: 0.5rem;
    padding: 1.6rem;
  }
  .sec07__item h5,
  .sec07__item p {
    font-size: 1.4rem;
  }
  .sec07__item p {
    width: 100%;
    text-align: left;
  }
  .sec07 #ac-cleaning {
    padding-top: 4rem;
  }
  /* --------------------------------- Sec08 -------------------------------- */
  .sec08__item {
    padding-top: 4rem;
  }
  .sec08__item .news__tags {
    margin-bottom: 1rem;
  }
  .sec08__item .sec08__item-header {
    padding-left: 1rem;
    margin-bottom: 1rem;
  }
  .sec08__item .sec08__item-header h4 {
    font-size: 1.8rem;
    line-height: 2.5rem;
    text-overflow: ellipsis;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }
  .sec08__item .sec08__item-cont {
    gap: 1rem;
  }
  .sec08__item .sec08__item-cont:has(+ .sec08__item-textbox) {
    margin-bottom: 2rem;
  }
  .sec08__item .sec08__item-img {
    width: 100%;
    height: auto;
    border-radius: 15px;
  }
  .sec08__item .sec08__item-img::before {
    width: 10rem;
    font-size: 1.4rem;
  }
  .sec08__item .sec08__item-textbox {
    padding: 1.6rem;
  }
  .sec08__item .sec08__item-textbox p {
    font-size: 1.6rem;
    line-height: 2.5rem;
  }
  /* --------------------------------- Sec09 -------------------------------- */
  .sec09__item:not(:last-child) {
    margin-bottom: 2rem;
  }
  .sec09__item-header, .sec09__item-box {
    padding-block: 1.5rem;
    padding-right: 1.5rem;
  }
  .sec09__item-header::before, .sec09__item-box::before {
    font-size: 3rem;
    line-height: 3rem;
  }
  .sec09__item-header {
    min-height: 8rem;
  }
  .sec09__item-header h4 {
    font-size: 1.6rem;
  }
  .sec09__item-box {
    min-height: 10rem;
  }
  .sec09__item-box::before {
    width: 120px;
    height: 100px;
    border-radius: 0;
  }
  .sec09__item-box p {
    font-size: 1.4rem;
  }
  /* --------------------------------- Sec10 -------------------------------- */
  .sec10__cont {
    flex-flow: column-reverse nowrap;
  }
  .sec10__img {
    width: 180px;
    height: auto;
    border-radius: 0;
    margin-inline: auto;
  }
  .sec10__text {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    padding: 1rem;
  }
}
@media screen and (width <= 550px) {
  .sec06__box:hover .sec06__img {
    transform: translateX(28%);
  }
  .sec06__img {
    width: 144px;
    height: 150px;
    border-radius: 0;
    transform: translateX(28%);
  }
}
/* -------------------------------------------------------------------------- */
/*                                   Footer                                   */
/* -------------------------------------------------------------------------- */
@media screen and (width <= 768px) {
  .footer__wrapper-ll {
    margin-bottom: 2rem;
    padding: 6rem 1.6rem;
  }
  .footer__wrapper-m {
    flex-flow: column nowrap;
    align-items: center;
    gap: 3rem;
  }
  .footer__box2 {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-flow: column nowrap;
    gap: 3rem;
  }
  .footer__list {
    flex-flow: row nowrap;
  }
  .footer__copyright {
    font-size: 1.2rem;
    margin-bottom: 2rem;
  }
  .footer .pc-none {
    width: 100%;
  }
}