/* -------------------------------------------------------------------------- */
/*                                   Colors                                   */
/* -------------------------------------------------------------------------- */
/* -------------------------------------------------------------------------- */
/*                              Default Functions                             */
/* -------------------------------------------------------------------------- */
/* -------------------------------------------------------------------------- */
/*                               Default Mixins                               */
/* -------------------------------------------------------------------------- */
/* -------------------------------------------------------------------------- */
/*                                Custom Layout                               */
/* -------------------------------------------------------------------------- */
/* -------------------------------------------------------------------------- */
/*                                   Header                                   */
/* -------------------------------------------------------------------------- */
@media screen and (width <= 1770px) {
  .header__wrapper {
    padding-inline: 1.5rem;
  }
  .mainvis__box {
    margin-inline: 1.5rem;
  }
}
@media screen and (width <= 768px) {
  .header__wrapper-w100 {
    display: none;
  }
  .header__wrapper {
    padding-inline: 2rem;
  }
  .header__logo {
    margin: 1.5rem auto auto 0;
    filter: drop-shadow(0 0 50px #ffffff);
    z-index: 300;
  }
  .header__logo img {
    width: 86px;
    height: 136px;
    border-radius: 0;
    margin-inline: auto 0;
  }
  .mainvis,
  .subvis {
    margin-bottom: 0;
  }
  .mainvis {
    height: 50rem;
  }
  .mainvis__box {
    margin: auto;
    height: 45rem;
  }
  .mainvis__catch img {
    width: 90vw;
  }
  .mainvis__wrapper {
    inset: 0;
    margin: auto;
  }
  .mainvis__img {
    width: auto;
    height: 360px;
    border-radius: 0;
    margin: 3rem auto 0 auto;
  }
  .subvis {
    overflow: hidden;
  }
  .subvis__catch {
    justify-content: center;
  }
  .subvis__catch h2 {
    font-size: 2.7rem;
    padding: 1rem 2rem;
  }
  .subvis__catch h2::before {
    width: 54px;
    height: 66px;
    border-radius: 0;
  }
  .subvis__img {
    height: 20rem;
    border-radius: 0;
  }
}
/* -------------------------------------------------------------------------- */
/*                                     Top                                    */
/* -------------------------------------------------------------------------- */
@media screen and (width <= 768px) {
  .sec01 {
    padding-top: 0 !important;
  }
  .sec01__wrapper-xl::before, .sec01__wrapper-xl::after {
    display: none;
  }
  .sec01__wrapper-m .cmn-textbox {
    line-height: 3rem;
  }
  .sec01__header {
    margin-top: -4rem;
  }
  .sec02 {
    overflow: hidden;
    background: no-repeat top center/cover url("/images/top/sec02_bg.png");
  }
  .sec02__header {
    margin-bottom: 6rem;
  }
  .sec02__header p {
    margin-bottom: 1rem;
  }
  .sec02__header p::before {
    width: 30px;
    height: 25px;
    border-radius: 0;
    transform: translate(-50px, 2px);
  }
  .sec02__header p::after {
    width: 100px;
    height: 16px;
    border-radius: 0;
  }
  .sec02__header h3 span {
    font-size: 3rem;
  }
  .sec02__list {
    flex-flow: row wrap;
    margin-bottom: 4rem;
  }
  .sec02__item:nth-child(2) {
    margin-top: 0;
  }
  .sec02__item::before {
    width: 53px;
    height: 57px;
    border-radius: 0;
    font-size: 2.4rem;
  }
  .sec02__item-tbox {
    height: 15rem;
  }
  .sec02__item-img {
    max-width: 50%;
  }
  .sec03 {
    background: none;
  }
  .sec03__wrapper-xl {
    padding-inline: 1.5rem;
    justify-content: center;
    margin-bottom: 2rem;
  }
  .sec03__header {
    margin-inline: auto;
  }
  .sec03__header p::before {
    width: 179px;
    height: 42px;
    border-radius: 0;
  }
  .sec03__box1, .sec03__box2 {
    margin-inline: 15px;
    padding: 1.5rem;
  }
  .sec03__box1-header h4, .sec03__box2-header h4 {
    font-size: 2rem;
  }
  .sec03__box1 {
    margin-bottom: 2rem;
  }
  .sec03__box1-note {
    font-size: 1.2rem;
  }
  .sec03__box1::before {
    width: 101px;
    height: 134px;
    border-radius: 0;
  }
  .sec03__box1-list {
    gap: 1rem;
  }
  .sec03__box1-item {
    width: 21.5rem;
  }
  .sec03__box1-item p {
    font-size: 1.4rem;
  }
  .sec04__wrapper-m {
    overflow: hidden;
  }
  .sec04__item-header p {
    font-size: 1.7rem;
  }
  .sec04__item-header h3 {
    font-size: 2.4rem;
  }
  .sec04__box {
    height: 16rem;
  }
  .sec04__box-inner::before {
    width: 244px;
    height: 101px;
    border-radius: 0;
  }
  .sec04__box-inner::after {
    content: none;
  }
  .sec04__box-inner h4 {
    font-size: 2rem;
  }
  .sec04__box-inner h4 span {
    font-size: 2.4rem;
  }
  .sec05__wrapper-xl::before, .sec05__wrapper-xl::after {
    opacity: 0.5;
  }
  .sec05__box {
    background: no-repeat top 20px right 20px/70px url("/images/top/sec05_deco1.png"), #ffffff;
    padding: 1.5rem;
  }
  .sec05__box::before {
    width: 122px;
    height: 119px;
    border-radius: 0;
    transform: translate(-65px, 35px);
  }
  .sec05__box::after {
    width: 83px;
    height: 128px;
    border-radius: 0;
  }
  .sec05__box-inner {
    padding: 1.5rem;
  }
  .sec06__wrapper-m {
    padding: 2.5rem 1.5rem;
  }
  .sec07 {
    overflow: hidden;
  }
  .sec07__wrapper-xl::before, .sec07__wrapper-xl::after {
    display: none;
  }
  .sec07__item {
    padding: 1.5rem;
  }
  .sec07__item:not(:last-child) {
    margin-bottom: 3rem;
  }
  .sec07__item-title {
    background-color: #da8a93;
    padding: 1rem;
    border-radius: 1rem;
  }
  .sec07__item-title span {
    font-size: 2rem;
    line-height: 1.2;
    padding: 0;
    background-color: transparent;
  }
  .sec08 {
    overflow: hidden;
  }
  .sec08__box {
    padding: 1.5rem;
  }
  .sec08__box .cmn-textbox {
    line-height: 3rem;
  }
  .sec09 {
    overflow: hidden;
  }
  .sec10__box {
    gap: 4rem;
  }
  .sec10__box::before {
    content: "";
    border-style: solid;
    width: 0;
    height: 0;
    border-radius: 0;
    z-index: 10;
    border-color: transparent transparent transparent #da8a93;
    border-width: 15px 0 15px 20px;
  }
  .sec11__list {
    flex-flow: column nowrap;
    align-items: center;
  }
  .sec11__item {
    width: min(100%, 420px);
  }
  .sec11__item:not(:last-child)::before {
    content: "";
    border-style: solid;
    width: 0;
    height: 0;
    border-radius: 0;
    z-index: 10;
    border-color: #da8a93 transparent transparent transparent;
    border-width: 18px 15px 0 15px;
    inset: auto 0 0 0;
    margin: auto auto 0 auto;
    transform: translate(0, 40px);
  }
  .sec11__item:nth-child(3n)::before {
    display: block;
  }
  .sec12__box {
    flex-flow: column-reverse nowrap;
    align-items: center;
    text-align: center;
  }
  .sec12__box-title {
    margin-inline: auto;
  }
  .sec12__table {
    margin-bottom: 6rem;
  }
  .sec12__table--name {
    width: 40%;
  }
  .sec12__table tr:first-of-type th {
    padding: 1rem;
    font-size: 1.5rem;
    line-height: 1.2;
  }
  .sec12__table th,
  .sec12__table td {
    vertical-align: middle;
    padding: 0.5rem;
  }
  .sec13 {
    overflow: hidden;
  }
  .sec13__list {
    gap: 1rem;
  }
  .sec14 {
    overflow: hidden;
  }
  .sec14__wrapper-xl::before, .sec14__wrapper-xl::after {
    opacity: 0.5;
  }
  .sec14__list {
    gap: 1rem;
  }
  .news__wrapper-m {
    flex-flow: column nowrap;
  }
  .news__item-link {
    padding: 1.5rem;
  }
  .news__item-img img {
    width: 70px;
    height: 70px;
    border-radius: 0;
  }
  .news__item-title {
    text-overflow: ellipsis;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }
}
/* -------------------------------------------------------------------------- */
/*                                   Footer                                   */
/* -------------------------------------------------------------------------- */
@media screen and (width <= 768px) {
  .footer {
    padding-bottom: 3rem;
  }
  .footer__wrapper-m {
    flex-flow: column nowrap;
  }
  .footer__list {
    justify-content: center;
  }
  .footer__box {
    justify-content: center;
  }
  .footer__box > * {
    text-align: center;
    margin-inline: auto;
  }
}