﻿/* ------------------------------
    HEADER
------------------------------ */
.pane-header:not(.top-fixed) {
    position: fixed;
    background-color: transparent;
    box-shadow: none;
}
.pane-header:not(.top-fixed).hide {
  transform: translateY(0%);
}
.pane-header.top-blur {
    animation: blur-show 1s;
}
.pane-header:not(.top-fixed) .logo-svg {
    fill :white;
}
.pane-header:not(.top-fixed) .nav .nav-btn:not(.active)::before,
.pane-header:not(.top-fixed) .nav .nav-btn:not(.active)::after,
.pane-header:not(.top-fixed) .nav .nav-btn:not(.active) span {
    background-color: white;
}
.pane-header.top-fixed {
    position: fixed;
}
@keyframes blur-show {
  0% {
    opacity: 0;
    filter: blur(0);
  }
  100% {
    opacity: 1;
    filter: blur(4px);
  }
}
@media (min-width: 769px) {
    .pane-header:not(.top-fixed) .logo a {
        transition: .4s;
    }
    .pane-header:not(.top-fixed) .logo a:hover,
    .pane-header:not(.top-fixed) .nav .nav-list .nav-item a:hover {
        filter: blur(10px);
    }
    .pane-header:not(.top-fixed) .nav .nav-list .nav-item a {
        background: white;
        background-clip: text;
        background-size: 200% 100%;
        transition: .4s;
    }
}
@media (max-width: 768px) {
    .pane-header:not(.top-fixed) .logo {
        opacity: 0;
    }
}
/* ------------------------------
    MV
------------------------------ */
.mv-area { 
    height: 100vh;
    position: relative;
    overflow: hidden;
}
.mv-area::before,
.mv-area::after {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    opacity: 0.7;
    filter: blur(32px);
    background-size: 200% 200%;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    aspect-ratio: 1;
}
.mv-area::before {
    background: radial-gradient(circle at 30% 60%, #00abff 0%, transparent 70%),
        radial-gradient(circle at 60% 30%, #6500ff 0%, transparent 80%);
    animation: auroraMove1 12s ease-in-out infinite alternate;
    mix-blend-mode: lighten;
    opacity: 0.5;
}
.mv-area::after {
    background: radial-gradient(circle at 70% 70%, #ff0065 0%, transparent 70%),
        radial-gradient(circle at 20% 20%, #ffd000 0%, transparent 80%);
    animation: auroraMove2 16s ease-in-out infinite alternate;
    mix-blend-mode: lighten;
    opacity: 0.2;
}
@keyframes auroraMove1 {
    0% {
        background-position: 30% 60%, 60% 30%;
        transform: scale(1);
    }
    50% {
        background-position: 40% 70%, 70% 40%;
        transform: scale(2) rotate(45deg) translateY(50%);
    }
    100% {
        background-position: 50% 80%, 80% 50%;
        transform: scale(1) translateY(200px);
    }
}
@keyframes auroraMove2 {
    0% {
        background-position: 70% 70%, 20% 20%;
        transform: scale(1);
    }
    50% {
        background-position: 50% 50%, 30% 30%;
        transform: scale(1.5) rotate(135deg) translateY(-20%);
    }
    100% {
        background-position: 90% 80%, 40% 40%;
        transform: scale(1) translateY(-90px);
    }
}
.mv-area .mv-inner {
    background-position: center;
    background-size: cover;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: -1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}
.mv-area .mv-inner.is-hide {
    filter: blur(5px);
}
.mv-area .mv-logo {text-align: center; transition: .2s;}
.mv-area .mv-logo .logo-svg {
    fill: white;
}
.mv-area .fadepath {
  opacity: 0;
  filter: blur(8px);
  animation: fadein 2s ease forwards;
}
.mv-area .mv-logo.is-hide {
    opacity: 0;
}

@keyframes fadein {
  0%   { opacity: 0; filter: blur(8px);}
  70%  { opacity: 1; filter: blur(2px);}
  100% { opacity: 1; filter: blur(0);}
}

@keyframes fadeout {
  0%   { opacity: 1; filter: blur(8px);}
  100% { opacity: 0; filter: blur(0);}
}

@media (min-width: 769px) {
    .mv-area .mv-inner {background-image: url(../img/top/mv/mv.jpg);}
}
@media (max-width: 768px) {
    .mv-area .mv-inner { background-image: url(../img/top/mv/mv_sb.jpg);}
    .mv-area .mv-logo .logo-svg {
        width: 50%;
    }
}
/* ------------------------------
    COMMON
------------------------------ */
.block-top-contents {
    padding: 5em 0;
}
/* ------------------------------
    BRAND
------------------------------ */
.block-top-contents.brand {
    background: linear-gradient(0deg,rgba(211, 195, 237, .47) 0%, rgba(178, 208, 237, .47) 100%);
    color: white;
    padding-bottom: 0;
}
.block-top-contents.brand a { color: white; }
.block-top-contents.brand .swiper-wrapper {
  transition-timing-function: linear;
}
.block-top-contents.brand .contents-wrap {
    display: flex;
    flex-wrap: wrap;
}
.block-top-contents.brand .brand-image.type2 {
    display: flex;
    flex-direction: column;
}
@media (min-width: 769px) {
    .block-top-contents.brand .contents-wrap {
        position: relative;
        gap: 2em;
    }
    .block-top-contents.brand .h2-title {width: calc(75% - 2em);}
    .block-top-contents.brand .brand-image.type1 {
        width: 35%;
        max-width: 328px;
        margin-left: auto;
    }
    .block-top-contents.brand .brand-image.type2,
    .block-top-contents.brand .read {
        width: calc(50% - 2em);
    }
    .block-top-contents.brand .brand-image.type2 .image:nth-child(1) {
        width: 40%;
        margin-left: auto;
    }
    .block-top-contents.brand .brand-image.type2 .image:nth-child(2) {
        width: 53%;
        margin-top: -1em;
    }
    .block-top-contents.brand .read {
        margin-top: 5em;
    }
    .block-top-contents.brand .image-slider {
        margin-top: 10em;
    }
}
@media (max-width: 768px) {
    .block-top-contents.brand .contents-wrap {
        gap: 1.8em;
    }
    .block-top-contents.brand .brand-image.type1 {order: 0;margin: 0 -30px 0 auto;width: 60%;}
    .block-top-contents.brand .h2-title {order: 1;margin: 0;line-height: 1;}
    .block-top-contents.brand .read {
        order: 2;
    }
    .block-top-contents.brand .brand-image.type2 {
        order: 3;
        width: 100%;
    }
    .block-top-contents.brand .brand-image.type2 .image:nth-child(1) {
        width: 37%;
        margin: -25%  -30px 0 auto;
        order: 2;
    }
    .block-top-contents.brand .brand-image.type2 .image:nth-child(2) {
        width: 68%;
        margin: 0 0 0 -30px;
    }
    .block-top-contents.brand .image-slider {
        margin-top: 6.5em;
    }
}
/* ------------------------------
    PRODUCT
------------------------------ */
.block-top-contents.product {
    background-image: url(../../eclarity/img/top/product/bg.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    color: white;
}
.block-top-contents.product a { color: white; }
.block-top-contents.product .link-btn {
    text-align: center;
    margin-top: 3em;
}
.block-top-contents.product .link-btn .btn {
    /* text-align: justify; */
    border-color: white;
}
.block-top-contents.product .link-btn .btn .text {
    text-align: center;
    display: inline-block;
}
.block-top-contents.product .product-list-wrap .name {
    margin-top: 10px;
    font-size: 24px;
}
.block-top-contents.product .product-list-wrap .name .font-s {
    display: none;
}
.product-list-wrap + .product-list-wrap {
    margin-top: 5em;
}
.block-top-contents.product .link-btn.for-salon .btn {
    max-width: 430px;
    background: rgb(65 113 178 / 17%);
}
.block-top-contents.product .product-list-wrap .item.swiper-slide-active .img-block {
    transform: scale(1);
}
.block-top-contents.product .product-list-wrap .item .img-block {
    transition: transform 2s;
    transform: scale(0.9) translateY(calc(100% * 0.05));
    background-color: white;
    width: 100%;
    height: fit-content;
    aspect-ratio: 1;
    text-align: center;
    display: flex;
}
.block-top-contents.product .product-list-wrap .item .img-block img {
    max-height: 95%;
    margin: auto;
}
.block-top-contents.product .product-list-wrap .item .price { display: none; }
.block-top-contents.product .swiper-button-wrap {
    margin-top: 50px;
}
@media (min-width: 769px) {
    .block-top-contents.product .link-btn .btn:hover { border-color: transparent;}
    .link-btn.rich-fukidashi .fukidashi,
    .block-top-contents.product .product-list-wrap .item:hover .img-block img {
        transition: .4s;
    }
    .link-btn.rich-fukidashi .fukidashi.on-hover {transform: translateY(-10px);}
    .block-top-contents.product .product-list-wrap .item:hover .img-block {
        overflow: hidden;
    }
    .block-top-contents.product .product-list-wrap .item:hover .img-block img {
        transform: scale(1.1);
    }
    .block-top-contents.product .link-btn.rich-fukidashi {width: calc((100% - 2em) / 3);}
}
@media (max-width: 768px) {
    .block-top-contents.product .product-list-slider {
        margin-right: -30px;
    }
}
/* ------------------------------
    NEWS
------------------------------ */
.block-top-contents.news { background-color: white; }
.block-top-contents.news .news-list {
    display: flex;
    flex-direction: column;
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
}
.block-top-contents.news .news-list .news-contnet + .news-contnet {border-top: 1px solid #ccc;}
.block-top-contents.news .news-list .news-contnet a {
    display: flex;
    flex-direction: column;
    padding: 1em;
    height: 100%;
}
.block-top-contents.news .news-list .news-contnet .is-day {
    margin-bottom: 10px;
}
.block-top-contents.news .news-list .news-contnet a .more {
    margin-top: auto;
    margin-left: auto;
}
@media (min-width: 769px) {
    .block-top-contents.news .news-content {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(2, 1fr);
        grid-column-gap: 0px;
        grid-row-gap: 0px;
    }
    .block-top-contents.news .news-content .h2-title { grid-area: 1 / 1 / 2 / 2; }
    .block-top-contents.news .news-content .news-list { grid-area: 1 / 2 / 3 / 3; }
    .block-top-contents.news .news-content .link-btn {
        grid-area: 2 / 1 / 3 / 2;
        display: flex;
        align-items: center;
    }
    .block-top-contents.news .news-list .news-contnet:not(:first-child:last-child) {
        height: 100%;
    }
    .block-top-contents.news .news-list .news-contnet:first-child:last-child {
        border-bottom: 1px solid #ccc;
    }
}
@media (max-width: 768px) {
    .block-top-contents.news .news-content .link-btn {
        margin-top: 4em;
    }
}
/* ------------------------------
    FIXED BUTTON
------------------------------ */
.block-footer-fixed {
  position: fixed;
  bottom: 95px;
  right: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 20px;
  z-index: 2;
}
.block-footer-search a {
  font-size: 15px;
  font-weight: bold;
  text-align: center;
  color: var(--textColor);
  background: linear-gradient(to top, #FFF, #F9F9F9 75%, #F8F8F8 100%);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 15px 20px;
  text-decoration: none;
  border-radius: 30px 0 0 30px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.16);
  transition: opacity .4s;
}
.block-footer-search a::before {
  content: "";
  width: 30px;
  height: 30px;
  background: url(../../img/usr/common/ico_search04.png) center center / contain no-repeat;
  display: block;
}
.block-footer-search a:hover{
  opacity: 0.7;
}
@media (max-width: 768px) {
  .block-footer-fixed {
    bottom: 95px;
  }
  .block-footer-search a {
    font-size: 11px;
    letter-spacing: 0;
    background: #FFF;
    flex-direction: column;
    gap: 4px;
    padding: 10px 10px 7px 20px;
  }
  .block-footer-search a::before {
    width: 22px;
    height: 22px;
  }
}