body {
    font-family: var(--font-family) !important;
    background-color: var(--base-background-color);
}

.footer {
    background-color: var(--footer-background-color) !important;
}

.plan-content {
    background-color: var(--plan-background-color);
}

#plan-list-page .plan-content {
    background-color: transparent;
}

.page-plan-list .plan-content {
    background-color: #ececeb;
}

.page-plan-list .breadcrumb-link__item {
    color: #54585A;
}

.page-plan-list .plan-content .swiper-plan-content {
    width: calc(100% - 4rem);
}

.pc-grid {
    display: grid;
}

@media screen and (max-width: 768px) {
    .pc-grid {
        display: block;
    }

    .sp-none {
        display: none !important;
    }
}

.custom-content-v2 {
    padding: 40px 0;
}

@media screen and (max-width: 1199px) {
    .custom-content-v2 {
        padding: 40px 20px;
    }
}

.custom-content-v2 h3,
.custom-content-v2 h2 {
    line-height: 1.25;
    font-family: "Noto Serif JP", serif;
    letter-spacing: 0.15rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
}

.custom-content-v2 h3:lang(en),
.custom-content-v2 h2:lang(en) {
    font-family: "Gill Sans", serif;
}

.custom-content-v2 h3 {
    font-size: 3.5rem;
}

.custom-content-v2 h2 {
    font-size: 4.5rem;
}

.custom-content-v2 h4 {
    font-size: 2.8rem;
}

@media screen and (max-width: 768px) {
    .custom-content-v2 h3 {
        font-size: 2.5rem;
    }

    .custom-content-v2 h2 {
        font-size: 3.5rem;
    }

    .custom-content-v2 h4 {
        font-size: 2rem;
    }
}

.custom-content-v2 h3::before,
.custom-content-v2 h3::after,
.custom-content-v2 h2::before,
.custom-content-v2 h2::after {
    content: "";
    flex-grow: 1;
    height: 1px;
    background-color: var(--color-main-template);
}

.custom-content-v2 h3::before,
.custom-content-v2 h2::before {
    margin-right: 1.6rem;
}

.custom-content-v2 h3::after,
.custom-content-v2 h2::after {
    margin-left: 1.6rem;
}

.custom-content-v2 .title {
    font-weight: bold;
    font-size: 24px;
    line-height: 44px;
    letter-spacing: 0.06rem;
    margin-top: 40px;
    text-align: center;
    margin-bottom: 40px;
}

.content-custom-left {
    justify-content: left;
}

.content-custom-center {
    justify-content: center;
}

.content-custom-right {
    justify-content: right;
}

.content-custom .swiper-slide {
    width: 100% !important;
}

.swiper-button-custom {
    width: 50px !important;
    height: 50px !important;
    border-radius: 50% !important;
    background-color: rgba(67, 76, 97, 0.7) !important;
}

.swiper-button-custom::after {
    font-size: 25px;
    color: #fff;
}

.custom-button-v2 {
    background-color: var(--my-custom-v2-button-background, var(--color-main-template));
    color: var(--my-custom-v2-button-color, #333);
    border-radius: 0.2rem;
    font-size: 1.4rem;
    text-decoration: none;
    padding: 12px 32px 9px;
    border-radius: 2px;
    letter-spacing: 0.01em;
    text-transform: inherit;
}

.custom-button-v2:hover {
    opacity: 0.6;
}

.custom-a-tag-v2 {
    line-height: 1.7;
    align-items: center;
    color: var(--my-custom-v2-button-color, #0000ff);
    cursor: pointer;
    display: flex;
    text-decoration: underline;
}

.custom-content-v2 .title {
    font-weight: bold;
    font-size: 24px;
    line-height: 44px;
    letter-spacing: 0.06rem;
    margin-top: 40px;
    text-align: center;
    margin-bottom: 40px;
}

.content-custom-left {
    justify-content: left;
}

.content-custom-center {
    justify-content: center;
}

.content-custom-right {
    justify-content: right;
}

.content-custom .swiper-slide {
    width: 100% !important;
}

.swiper-button-custom {
    width: 50px !important;
    height: 50px !important;
    border-radius: 50% !important;
    background-color: rgba(67, 76, 97, 0.7) !important;
}

.swiper-button-custom::after {
    font-size: 25px;
    color: #fff;
}

.custom-button-v2 {
    background-color: var(--my-custom-v2-button-background, var(--color-main-tempalte));
    color: var(--my-custom-v2-button-color, #333);
    border-radius: 0.2rem;
    font-size: 1.4rem;
    text-decoration: none;
    padding: 12px 32px 9px;
    border-radius: 2px;
    letter-spacing: 0.01em;
    text-transform: inherit;
}

.custom-button-v2:hover {
    opacity: 0.6;
}

.custom-a-tag-v2 {
    line-height: 1.7;
    align-items: center;
    color: var(--my-custom-v2-button-color, #0000ff);
    cursor: pointer;
    display: flex;
    text-decoration: underline;
}

.text-center {
    text-align: center !important;
}

.text-right {
    text-align: right !important;
}

.text-left {
    text-align: left !important;
}

.mv-v2-text__wrap {
    position: absolute;
    width: 100%;
    text-align: center;
    bottom: 50px;
    z-index: 99;
}

.mv-v2-text__wrap .mv-v2-heading {
    font-family: YuMincho, "Yu Mincho", serif;
    text-shadow: 0px 1px 20px rgba(0, 0, 0, 0.9);
    display: block;
    font-size: 3rem;
    font-weight: 300 !important;
    color: #fff;
    width: 80%;
    letter-spacing: 0.01em;
    line-height: 1.31;
    margin: auto;
}

.mv-v2-text__wrap .mv-v2-text {
    font-family: YuMincho, "Yu Mincho", serif;
    text-shadow: 0px 1px 20px rgba(0, 0, 0, 0.9);
    display: block;
    font-size: 2rem;
    font-weight: 300 !important;
    color: #fff;
    width: 80%;
    letter-spacing: 0.01em;
    line-height: 1.31;
    margin: auto;
}

@media screen and (max-width: 767px) {
    .mv-v2-text__wrap .mv-v2-heading {
        font-size: 2rem;
    }

    .mv-v2-text__wrap .mv-v2-text {
        font-size: 1.6rem;
    }
}


.center-align {
    align-items: center;
}

@font-face {
    font-family: "Noto Sans Japanese";
    src: url("https://assets.micado-rayout.jp/fonts/NotoSansJP-Regular.otf");
}

@font-face {
    font-family: "Century Gothic";
    src: url("https://assets.micado-rayout.jp/fonts/CenturyGothic.ttf");
}

.justify-between {
    justify-content: space-between;
}

.top-page .mv-top .movie-container {
    width: 100%;
    background: #000;
}

.top-page .mv-top .movie-container iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
}

label.error {
    color: #e00123;
    margin-top: 0.2rem;
}

.page-contact .hide {
    display: none;
}

.btn-submit-contact:disabled {
    opacity: 0.5;
    cursor: no-drop;
}

.optional-page .banner-txt {
    top: auto;
    bottom: 22rem;
}

@media screen and (max-width: 768px) {
    .optional-page .banner-txt {
        bottom: 10rem;
    }
}

/* ====  Preloader styles ==== */
#hola {
    width: 100vw;
    height: 100vh;
    background-color: #252328;
    position: fixed;
    z-index: 999999;
    top: 0;
    right: 0;
}

#preloader {
    position: relative;
    width: 80px;
    height: 80px;
    top: 45%;
    margin: 0 auto;
}

#preloader span {
    position: absolute;
    border: 8px solid #ffe066;
    border-top: 8px solid transparent;
    border-radius: 999px;
}

#preloader span:nth-child(1) {
    width: 80px;
    height: 80px;
    animation: spin-1 2s infinite linear;
}

#preloader span:nth-child(2) {
    top: 20px;
    left: 20px;
    width: 40px;
    height: 40px;
    animation: spin-2 1s infinite linear;
}

@keyframes spin-1 {
    0% {
        transform: rotate(360deg);
        opacity: 1;
    }

    50% {
        transform: rotate(180deg);
        opacity: 0.5;
    }

    100% {
        transform: rotate(0deg);
        opacity: 1;
    }
}

@keyframes spin-2 {
    0% {
        transform: rotate(0deg);
        opacity: 0.5;
    }

    50% {
        transform: rotate(180deg);
        opacity: 1;
    }

    100% {
        transform: rotate(360deg);
        opacity: 0.5;
    }
}

.svg-logo {
    filter: brightness(0) invert(1);
}

.swiper-fade .swiper-slide {
    opacity: 0 !important;
}

.swiper-fade .swiper-slide-active {
    opacity: 1 !important;
}

.contact-block .contact-content .contact-form .form .form-group {
    position: relative;
}

.contact-block .contact-content .contact-form .form .form-group label.error {
    /* position: absolute;
    bottom: 0;
    transform: translateY(calc(100% + 1rem)); */
    margin-top: 1rem;
    display: block;
}

.contact-block .contact-content .contact-form .form .form-group .custom-input-number {
    overflow: unset;
}

/* .contact-block .contact-content .contact-form .form .form-group:has(label.error) {
    margin-bottom: 5rem;
} */

.contact-block .contact-content .contact-form .form .form-group .btn-submit .loading-button {
    display: none;
    margin-right: 1rem;
}

.contact-block .contact-content .contact-form .form .form-group .btn-submit.loading .loading-button {
    display: inline-block;
}

.contact-block .contact-content .contact-form .form .form-group .btn-submit.loading {
    pointer-events: none;
}

.contact-block .contact-content .contact-form .form .message {
    display: none;
    color: #fff;
    padding: .8rem 1.6rem;
    margin-top: 2.8rem;
}

.contact-block .contact-content .contact-form .form .message.error {
    display: block;
    background-color: #e74c3c;
}

.contact-block .contact-content .contact-form .form .message.success {
    display: block;
    background-color: #28a745;
}

.align-start {
    align-items: start !important;
}

.align-end {
    align-items: end !important;
}

.product-list-grid .product-list .product-item .swiper-thumb .swiper-button-next,
.product-list-grid .product-list .product-item .swiper-thumb .swiper-button-prev {
    top: unset;
    margin-top: unset;
    bottom: 0;
}

.product-list-grid .product-list .product-item .swiper-thumb .swiper-button-prev {
    left: auto;
    right: calc(5.4rem + 2px);
}

.product-list-grid .product-list .product-item .swiper-thumb .swiper-button-next {
    right: 0;
}

.product-list-grid .product-list .product-item .swiper-thumb .swiper-pagination {
    left: 116px;
    right: 116px;
    width: auto;
}

.plan-content .plan-content__list .image-aspect-ratio {
    width: 100%;
    padding-top: 61.67%;
    position: relative;
    overflow: hidden;
}

.plan-content .plan-content__list .image-aspect-ratio img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
}

.plan-content .plan-content__list .swiper-thumb .swiper-button-next,
.plan-content .plan-content__list .swiper-thumb .swiper-button-prev {
    top: unset;
    margin-top: unset;
    bottom: 0;
}

.plan-content .plan-content__list .swiper-thumb .swiper-button-prev {
    left: auto;
    right: calc(5.4rem + 2px);
}

.plan-content .plan-content__list .swiper-thumb .swiper-button-next {
    right: 0;
}

.plan-content .plan-content__list .swiper-thumb .swiper-pagination {
    left: 116px;
    right: 116px;
    width: auto;
}
