@charset "utf-8";

/**
* home common
============================== */
:root {
    --home-section: 60px;
}
@media screen and (min-width: 769px) {
    :root {
        --home-section: 80px;
    }
}


/**
* home-top
============================== */
.home-top__container {
    text-align: center;
    padding: 0 0 var(--addLR);
    position: relative;
}
.home-top__musk {
    display: none;
}
@media screen and (min-width: 481px) {
    .home-top__container {
        background: url(images/home-top_bg.jpg) no-repeat center / cover;
        padding: 20px var(--addLR) 10px;
    }
    .home-top__img {
        width: 100%;
        max-width: 1189px;
        position: relative;
        z-index: 2;
    }
    .home-top__musk {
        display: block;
        fill: #fff;
        width: 100%;
        height: auto;
        position: absolute;
        left: 0;
        bottom: 0;
        z-index: 1;
    }
}
@media screen and (min-width: 641px) {
    .home-top__container {
        padding: 45px var(--addLR) 40px;
    }
}

/* home-maker */
.home-maker {
    display: block;
    margin: 0 auto 40px;
    max-width: calc(100% - (var(--addLR) * 2))
}


/**
* top-news
============================== */
.top-news {
    background: #fff;
    box-shadow: 0 0 20px rgba(0, 0, 0, .3);
}
.top-news__title {
    font-size: 2rem;
    font-weight: 700;
    padding: .5em 0 .5em 2.5em;
    position: relative;
}
.top-news__icon {
    fill: var(--color-theme-primary);
    width: 1em;
    position: absolute;
    left: var(--addLR);
    top: 50%;
    transform: translateY(-50%);
}
.top-news__link {
    display: block;
    line-height: 1.4;
    position: relative;
    transition: color var(--duration);
}
.top-news__link:hover {
    color: var(--color-theme-primary);
}
.top-news__link .arrow {
    position: absolute;
    right: var(--addLR);
    top: 50%;
    transform: translateY(-50%);
}
.top-news__date {
    margin-bottom: .5em;
    font-size: .75em;
}
@media screen and (max-width: 768px) {
    .top-news {
        padding-bottom: .5em;
    }
    .top-news__title {
        font-size: 2rem;
        padding: .5em 0 .5em calc(var(--addLR) + 1.5em);
    }
    .top-news__link {
        padding: 1em calc(var(--addLR) + 1em) 1em var(--addLR);
    }
}
@media screen and (min-width: 641px) {
    .top-news__link {
        display: flex;
        align-items: center;
    }
    .top-news__date {
        margin-bottom: 0;
        width: 100px;
    }
    .top-news__label {
        flex: 0 1 auto;
        width: calc(100% - (100px + 14px + 5%));
    }
    .top-news__link .arrow {
        right: 4%;
    }
}
@media screen and (min-width: 769px) {
    .top-news {
        display: flex;
    }
    .top-news__title {
        padding: .5em 0 .5em 4.5em;
        width: 280px;
    }
    .top-news__title::after {
        content: attr(data-en);
        color: var(--color-theme-primary);
        display: block;
        font-size: .6em;
    }
    .top-news__icon {
        width: 2em;
        left: 1.5em;
    }
    .top-news__link {
        flex: 1;
    }
}
@media screen and (min-width: 1001px) {
    .top-news {
        border-radius: 5px 5px 0 0;
        margin: auto;
        max-width: var(--contentWidth2-px);
    }
}


/**
* areas
============================== */
.areas {
    background-color: var(--color-theme-primary);
    background-size: 200px 120px;
    background-position: 50% 50%;
    background-image:
    repeating-linear-gradient(
      90deg,
      rgba(255,255,255,.1) ,
      rgba(255,255,255,.1) 1px,
      transparent 1px,
      transparent 200px
    ),
    repeating-linear-gradient(
      0deg,
      rgba(255,255,255,.1) ,
      rgba(255,255,255,.1) 1px,
      var(--color-theme-primary) 1px,
      var(--color-theme-primary) 120px
    );
    color: #fff;
    position: relative;
}
.areas__container {
    background: url(images/areas-map.png) no-repeat 100% 15px / 50%;
    margin: auto;
    padding: 30px 0;
    max-width: var(--contentWidth-px);
}
.areas__box {
    display: flex;
    align-items: flex-end;
    column-gap: 50px;
}
.areas__info {
    max-width: 760px;
}
.areas__title {
    display: flex;
    align-items: center;
    font-size: 2.2rem;
    font-weight: 700;
    margin: 2em 0 .75em;
}
.areas__icon {
    fill: #fff;
    margin-right: .3em;
    width: .8em;
    height: 1.2em;
}
.areas-bottom {
    margin-top: 3em;
}
.areas-bottom__text {
    margin-top: 1em;
}
@media screen and (min-width: 769px) {
    .areas__container {
        padding: 70px 0 80px;
    }
    .areas-bottom {
        text-align: center;
    }
}
@media screen and (max-width: 964px) {
    .areas__image {
        display: none;
    }
}
@media screen and (min-width: 1281px) {
    .areas__container {
        background-position: 100% 7%;
        background-size: auto;
    }
    .areas-bottom {
        font-size: 1.8rem;
        margin-top: 90px;
    }
}

/* area-list */
.area-list {
    max-width: 575px;
    text-align: center;
}
.area-list__box + .area-list__box {
    margin-top: 8px;
}
.area-list__term {
    background: #ff9700;
    color: #fff;
}
.area-list__desc {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 3px;
}
.area-list__name {
    background: #fff;
    color: var(--color-theme-primary);
    display: block;
    padding: .625em 1em;
    letter-spacing: 0;
}
@media screen and (max-width: 640px) {
    .area-list__term {
        border-radius: 6px 6px 0 0;
        margin-bottom: 3px;
        padding: .5em;
    }
}
@media screen and (min-width: 641px) {
    .area-list__box {
        display: flex;
        gap: 0 3px;
    }
    .area-list__term {
        border-radius: 6px 0 0 6px;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: .625em 1em;
        width: 160px;
    }
    .area-list__desc {
        grid-template-columns: repeat(4,1fr);
        flex: 1;
    }
}


/**
* home-movie
============================== */
.home-movie {
    margin: var(--home-section) var(--addLR) 40px;
}
.home-movie__title {
    text-align: center;
    margin-bottom: 20px;
}
.home-movie__wrap {
    margin: auto;
    max-width: 850px;
    position: relative;
}
.home-movie__wrap::before {
    content: '';
    display: block;
    padding-top: 56.47%;
}
.home-movie__youtube {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
}
.youtube__dummy::after {
    background: url(svg/play-button.svg) no-repeat 50% 50% / contain;
    content: '';
    opacity: .8;
    position: absolute;
    left: 50%;
    top: 50%;
    width: 68px;
    height: 48px;
    transform: translate(-50%,-50%);
}


/**
* home-results
============================== */
.home-results {
    background-size: auto auto;
    background-color: var(--color-theme-primary-light);
    background-image: repeating-linear-gradient(90deg, transparent, transparent 10px, var(--color-theme-primary) 10px, var(--color-theme-primary) 20px );
    padding-block: var(--section);
}
.home-results__title {
    font-size: 1.8rem;
    color: #fff;
    text-align: center;
    margin-bottom: 1.39em;
}

/* results slide */
.results__container {
    padding-top: 20px;
    max-width: 305px;
}
.results__box {
    background: #fff;
    border: 1px solid var(--color-border);
    border-top: 8px solid #ffd800;
    border-radius: 0 0 var(--radius) var(--radius);
    display: block;
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.4;
    padding: 20px;
    position: relative;
    transition: var(--duration);
}
.results__box:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 10px rgba(0, 0, 0, .3);
}
.results__shop {
    background: var(--color-theme-secondary);
    border-radius: 5em;
    color: #fff;
    font-size: 1.4rem;
    letter-spacing: 0;
    padding: .25em 1em;
    min-width: 7em;
    text-align: center;
    position: absolute;
    left: 0;
    top: 0;
    transform: translate(-10px,-20px);
}
.results__shop::after {
    border-style: solid;
    border-width: 10px 5px 0 5px;
    border-color: var(--color-theme-secondary) transparent transparent transparent;
    content: '';
    height: 0;
    width: 0;
    position: absolute;
    left: 50%;
    top: 100%;
    transform: translateX(-50%);
}
.results__area {
    background: var(--color-default);
    color: #fff;
    display: inline-block;
    font-weight: 400;
    margin-bottom: .8em;
    padding: 0 .6em;
}
.results-thumb {
    display: grid;
    grid-template-columns: repeat(2,115px);
    gap: 30px;
    margin-bottom: 20px;
    position: relative;
}
.results-thumb::before {
    border-style: solid;
    border-width: 10px 0 10px 10px;
    border-color: transparent transparent transparent var(--color-accent-error);
    content: '';
    width: 0;
    height: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
}
.results-thumb__wrap {
    height: 150px;
    text-align: center;
}
.results-thumb__wrap::after {
    text-shadow: 1px 1px #fff,-1px 1px #fff,1px -1px #fff,-1px -1px #fff;
    display: block;
    letter-spacing: 0;
    transform: translateY(-50%);
}
.results-thumb__wrap--before::after {
    content: 'BEFORE';
}
.results-thumb__wrap--after::after {
    content: 'AFTER';
    color: var(--color-accent-error);
}
.results-thumb__img {
    border-radius: var(--radius);
    height: 100%;
    object-fit: cover;
}
@media screen and (min-width: 641px) {
    .results__container:nth-of-type(even) {
        margin-top: 30px;
    }
}

#results .swiper-pagination {
    position: relative;
    bottom: 0;
}
#results .swiper-pagination-bullet {
    opacity: 1;
    background: #fff;
}
#results .swiper-pagination-bullet-active {
    background: var(--color-theme-secondary);
}

/**
* home-point
============================== */
.home-point {
    margin-top: 140px;
}
.home-point__title {
    margin-bottom: 30px;
}

.home-point__catch {
    font-size: 2.4rem;
    font-weight: 900;
    color: var(--color-accent-error);
    line-height: 1.5;
}
.home-point__br {
    display: none;
}
@media screen and (max-width: 640px) {
    .home-point__img {
        border-radius: var(--radius);
        display: block;
        margin: 0 auto 2em;
    }
}
@media screen and (min-width: 641px) {
    .home-point__img {
        float: right;
        margin-left: 2.5em;
        width: calc(480 / var(--contentWidth) * 100%)
    }
}
@media screen and (min-width: 1001px) {
    .home-point__br {
        display: inline;
    }
}


/**
* home-promise
============================== */
.home-promise {
    background: url(images/home-promise_bg.jpg) no-repeat 50% 0;
    padding-top: 50px;
}
.home-promise__title {
    text-align: center;
    margin-bottom: 30px;
}
.home-promise__box {
    background: #fff;
    border: 4px solid var(--color-theme-secondary);
    border-radius: 10px;
    padding: 1em;
    position: relative;
}
.home-promise__box::before {
    background-position: 50% 50%;
    background-repeat: no-repeat;
    background-size: contain;
    content: '';
    width: 48px;
    height: 48px;
    position: absolute;
    left: 0;
    top: 0;
    transform: translate(-15%,-20%);
}
.home-promise__box:nth-child(1)::before {
    background-image: url(images/home-promise_num01.png);
}
.home-promise__box:nth-child(2)::before {
    background-image: url(images/home-promise_num02.png);
}
.home-promise__box:nth-child(3)::before {
    background-image: url(images/home-promise_num03.png);
}
.home-promise__label {
    color: var(--color-accent-error);
    font-size: 2rem;
    font-weight: 900;
    line-height: 1.25;
    letter-spacing: 0;
    text-shadow: 1px 1px #ff0,-1px 1px #ff0,1px -1px #ff0,-1px -1px #ff0;
    margin: 0 0 1em 1.8em;
    position: relative;
    z-index: 1;
}
.home-promise__label > br {
    display: none;
}
@media screen and (max-width: 768px) {
    .home-promise__box + .home-promise__box {
        margin-top: 10px;
    }
    .home-promise__box::after {
        content: '';
        clear: both;
        height: 0;
        display: block;
    }
    .home-promise__icon {
        width: 40vw;
        max-width: 130px;
        float: right;
    }
}
@media screen and (min-width: 769px) {
    .home-promise__title {
        margin-bottom: 75px;
    }
    .home-promise__container {
        display: grid;
        grid-template-columns: repeat(3,1fr);
        gap: calc(20 / var(--contentWidth) * 100%);
        margin: auto;
        max-width: 1090px;
    }
    .home-promise__box::before {
        width: 96px;
        height: 96px;
        transform: translate(-15%,-30%);
    }
    .home-promise__icon {
        display: block;
        margin: 1em auto;
    }
}
@media screen and (min-width: 1001px) {
    .home-promise__label {
        font-size: 2.4rem
    }
}
@media screen and (min-width: 1201px) {
    .home-promise__label > br {
        display: inline;
    }
}
@media screen and (min-width: 1861px) {
    .home-promise {
        background-size: 100%;
    }
}


/*
* home-feature
============================== */
.home-feature {
    position: relative;
    padding: var(--home-section) var(--addLR);
    margin-bottom: 80px;
}
.home-feature__title {
    text-align: center;
    margin-bottom: 50px;
}
.home-feature__label {
    background-position: 0 0;
    background-repeat: no-repeat;
    background-size: 2em;
    color: #f60;
    font-size: 2rem;
    font-weight: 900;
    line-height: 1.33;
    letter-spacing: 0;
    padding: 0 0 .75em 2.5em;
    margin-bottom: -1.5em;
    min-height: 3.2em;
    position: relative;
}
.home-feature__box:nth-child(1) .home-feature__label {background-image: url(images/home-feature_num01.png);}
.home-feature__box:nth-child(2) .home-feature__label {background-image: url(images/home-feature_num02.png);}
.home-feature__box:nth-child(3) .home-feature__label {background-image: url(images/home-feature_num03.png);}
.home-feature__box:nth-child(4) .home-feature__label {background-image: url(images/home-feature_num04.png);}
.home-feature__box:nth-child(5) .home-feature__label {background-image: url(images/home-feature_num05.png);}
.home-feature__label > br {
    display: none;
}
.home-feature__img {
    border-radius: var(--radius);
    display: block;
    margin: 0 auto 1em;
    width: 100%;
}
@media screen and (max-width: 640px) {
    .home-feature__box + .home-feature__box {
        margin-top: 2em;
    }
}
@media screen and (min-width: 641px) {
    .home-feature__container {
        --feature-gap: calc(30 / var(--contentWidth) * 100%);

        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 2em var(--feature-gap);
    }
    .home-feature__box {
        flex: 0 1 calc((100% - var(--feature-gap)) / 2);
    }
    .home-feature__label {
        background-position: 0 50%;
        display: flex;
        align-items: center;
        margin-bottom: -.75em;
    }
}
@media screen and (min-width: 769px) {
    .home-feature {
        margin-bottom: 120px;
    }
    .home-feature__box {
        flex: 0 1 calc((100% - (var(--feature-gap) * 2)) / 3);
    }
    .home-feature__label {
        background-size: 19.47%;
        padding-left: 22.37%;
        min-height: 96px;
    }
}
@media screen and (min-width: 1201px) {
    .home-feature__label {
        font-size: 2.4rem;
    }
    .home-feature__label > br {
        display: inline;
    }
}


/*
* home-blog
============================== */
.home-blog {
    margin-bottom: 80px;
}
@media screen and (min-width: 769px) {
    .home-blog {
        margin-bottom: 120px;
    }
}
.home-blog-title {
    color: var(--color-theme-secondary);
    font-size: clamp(2rem, 3.75vw, 2.4rem);
    font-weight: 900;
    text-align: center;
    margin-bottom: 1em;
}
.home-blog-title__icon {
    fill: var(--color-theme-secondary);
    margin-left: .2em;
    height: 1.417em;
    width: 1.458em;
}
