@charset "UTF-8";

/* milmira1day */

#milmira1day {
    max-width: 750px;
    width: 100%;
    margin: 0 auto;
    color: #2c3e54;
    font-family: "Noto Sans JP", "ヒラギノ角ゴ Pro", sans-serif;
}

#milmira1day img {
    display: block;
    width: 100%;
    height: auto;
}

/* MV / メインビジュアル */
.mv {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.mv_visual_stack {
    position: relative;
    width: 100%;
    aspect-ratio: 750 / 1204;
    background-image: url(/images/special/milmira1day/mv_ba.jpg);
    background-size: 100% auto;
    background-position: center -3%;
    background-repeat: no-repeat;
}

/* ロゴ */
.mv_logo {
    position: absolute;
    top: 8%;
    right: 1%;
    width: 36%;
    z-index: 10;
    margin: 0;
}

/* star */
.mv_hoshi {
    position: absolute;
    width: 31%;
    bottom: 32%;
    right: 0%;
    z-index: 5;
}
.mv_hoshi2 {
	position: absolute;
    width: 31%;
    top: 34%;
    right: 0%;
    z-index: 5;
}

/* Silicone Hydrogelバッジ */
.mv_badge {
    position: absolute;
    top: 14.5%;
    right: 1%;
    width: 24%;
    z-index: 10;
}

/* モデル写真スライダー */
.mv_swiper {
    position: absolute;
    inset: 0;
    z-index: 1;
    mask-image: linear-gradient(to bottom, black 0%, black 87%, transparent 96%);
    -webkit-mask-image: linear-gradient(to bottom, black 0, black 87%, transparent 96%);
}

.mv_swiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.swiper-wrapper {
    padding: 9% 0 0;
}

.mv_copy {
    position: absolute;
    top: 8%;
    width: 58%;
    z-index: 5;
}

.mv_spec {
    position: absolute;
    width: 94%;
    bottom: -5%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
}

.shi_item_2 {
    padding-right: 1px;
}

.lineup {
    background-image: url(/images/special/milmira1day/lineup_bg.jpg);
    background-position: center -3%;
}

.lineup_campaign {
    width: 92%;
    margin: 0 auto 0;
    padding: 0px 0 10%;
}


/* =========================================================
   ORDER（カート）セクション
   ========================================================= */
#milmira1day .order_zone {
    width: 100%;
    max-width: 640px;
    margin: 12% auto 0;
    padding: 0 5%;
    box-sizing: border-box;
}

/* タイトル */
#milmira1day .order_ttl {
    margin: 0 0 6%;
}

/* --- タイプ切替（30枚 / 2枚） --- */
#milmira1day .order_type {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}
#milmira1day .order_type_btn {
    border-radius: 8px;
}
#milmira1day .order_type_btn.type_30 {
    background: #7596cc;
}
#milmira1day .order_type_btn.type_2 {
    background: #c78f69;
}

.order_type_btn:not(.is_active) {
    opacity: 0.4;
}
.order_type_btn.is_active {
    opacity: 1;
}

/* --- カラーチャート --- */
#milmira1day .order_color {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
    margin: 7% auto ;
}
#milmira1day .order_color_btn {
    display: block;
    padding: 13% 10% 0%;
    border: solid 1px transparent;
    border-radius: 10px;
    text-align: center;
    cursor: pointer;
    transition: all .25s;
}
#milmira1day .order_color_btn img {
    margin: 0 auto 6px;
}
#milmira1day .order_color_btn.is_active {
    box-shadow: 4px 6px 22px -10px rgba(120, 110, 100, 0.6);
    background: #fff;
}

/* --- 商品カード本体 --- */
#milmira1day .order_body {
    padding: 0% 0% 10%;
}
#milmira1day .order_pane {
    display: none;
}
#milmira1day .order_pane.is_active {
    display: block;
}
#milmira1day .order_item {
    display: none;
    background: #fff;
    border: solid 1px #cfc9bf;
    padding: 8% 6% 9%;
    box-sizing: border-box;
}
#milmira1day .order_item.is_active {
    display: block;
}

/* 商品画像 */
#milmira1day .order_img {
    width: 88%;
    margin: 0 auto;
}

/* 商品名 */
#milmira1day .order_name {
    margin: 6% auto 0;
    text-align: center;
    font-size: min(4vw, 20px);
    font-weight: 700;
    color: #24272a;
    line-height: 1.5;
}

/* 価格 */
#milmira1day .order_pricewrap {
    position: relative;
    margin: 5% auto 0;
    min-height: 3.2em;
}
#milmira1day .order_price {
    display: block;
    text-align: center;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: .05em;
    line-height: 1.35;
}

#milmira1day .order_boxname {
    display: contents;
    font-size: 18px;
    font-weight: 400;
    color: #24272a;
    letter-spacing: 0;
}

.price {
    color: #ff0000;
    font-size: 32px;
}

.launch_special {
    text-align: right;
    color: #ff0000;
    margin-right: 40px;
    font-size: 18px;
}

.order_product_btn {
    display: flex;
    position: relative;
    align-items: center;
    justify-content: center;
    height: 60px;
    background-color: #888888;
    color: #ffffff;
    font-size: 1.1rem;
    letter-spacing: 0.1em;
    margin-top: 9%;
}
.order_product_btn:visited {
    color: #ffffff;
}

.qui_btn_arrow {
    -webkit-transition: all 0.3s;
    display: block;
    position: absolute;
    top: 30%;
    right: -5%;
    width: 30px;
    height: 11px;
    transition: all 0.3s;
}

.qui_btn_arrow::before {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 1px;
    background: #333;
    content: "";
}

.qui_btn_arrow::after {
    -webkit-transform: rotate(49deg);
    position: absolute;
    right: -5.6%;
    bottom: 38%;
    width: 10px;
    height: 1px;
    transform: rotate(49deg);
    background: #333;
    content: "";
}

#milmira1day .negai_zone {
    position: relative;
}

#milmira1day .negai_zone video {
    display: block;
    width: 100%;
    height: auto;
}


/* スペック詳細表 */
.spec_detail_area {
    background-color: #fcfaf8;
    padding: 2% 5% 5%;
    width: 90%;
    margin: 5% auto 0;
    box-sizing: border-box;
}

.spec-table {
    width: 100%;
    margin: 0;
}

.spec-row {
    justify-content: space-between;
    align-items: center;
    padding: 4.5% 0;
    border-bottom: 2px solid #eaddd6;
    color: #8c837b;
    font-size: min(3.2vw, 14px);
    line-height: 3.6;
    letter-spacing: 0.05em;
}

.spec-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.spec-row th {
    width: 41%;
    text-align: left;
    font-weight: 500;
}

.spec-row td {
    width: 59%;
    text-align: right;
}

.product_area {
    margin: 1% auto;
    line-height: 2;
}

.product_inner {
    display: flex;
    justify-content: space-around;
    margin: 5% 0 0;
}

.product_box {
    display: flex;
    width: 47%;
    flex-direction: column;
}

.product_boximg {
    width: 70%;
    margin: 0 auto 6%;
}

.product_name {
    display: block;
    font-size: min(3.7vw, 20px);
    text-align: center;
    margin: 0 0 2%;
}

.product_text {
    font-size: min(2.4vw, 14px);
    text-align: center;
    margin: 0 0 4%;
    flex-grow: 1;
    line-height: 1.5;
}

.product_price {
    text-align: center;
    margin: 0 0 4%;
}

.product_price span {
    text-align: center;
    font-size: 16px;
    font-weight: 500;
}

.product_btn {
    display: block;
    margin: auto auto 15%;
    width: 65%;
}

/* スクロールアニメーション */
.js-anim-blur {
    filter: blur(15px) brightness(1.15);
    transform: scale(1.05);
    transition: filter 1.4s cubic-bezier(0.25, 1, 0.5, 1),
                transform 1.4s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: filter, transform;
}
.js-anim-blur.is-active {
    filter: blur(0) brightness(1);
    transform: scale(1);
}
.js-anim-blur2 {
    opacity: 1;
    filter: blur(0px);
    transform: scale(1);
    will-change: opacity, filter, transform;
}
.js-anim-blur2.is-active {
    animation: point02Vanish 2.5s ease-out forwards;
}

@keyframes point02Vanish {
    0% {
        opacity: 1;
        filter: blur(0px);
        transform: scale(1);
    }

    30% {
        opacity: 0.8;
        filter: blur(6px);
        transform: scale(1.02);
    }

    70% {
        opacity: 0.3;
        filter: blur(20px);
        transform: scale(1.05);
    }

    100% {
        opacity: 0;
        filter: blur(40px);
        transform: scale(1.1);
    }
}

.js-anim-pop {
    filter: brightness(1.1);
    transform: scale(0.95);
    transition: filter 1s cubic-bezier(0.25, 1, 0.5, 1),
                transform 1s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: filter, transform;
}
.js-anim-pop.is-active {
    filter: brightness(1);
    transform: scale(1);
}

.js-anim-color {
    filter: brightness(1.35) saturate(0) contrast(0.85);
    transition: filter 1.2s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: filter;
}
.js-anim-color.is-active {
    filter: brightness(1) saturate(1) contrast(1);
}

.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.3s; }
.delay-3 { transition-delay: 0.45s; }


/* コンテンツを星より手前に置く（z-index: 2） */
#milmira1day .mv_visual-stack,
#milmira1day .lineup,
#milmira1day .shi_zone,
#milmira1day .main_zone,
#milmira1day .spec_zone {
    position: relative;
    z-index: 2;
}
.bg-star{
    position: absolute;
    width: 1px;
    height: 1px;
    border-radius: 50%;
    background: #fff;
    pointer-events: none;
    z-index: 99;
    opacity:.2;
    animation: twinkle 5s infinite;
}
.star1{
    top: 8%;
    left: 54%;
}
.star2{
    top: 5%;
    right: 40%;
    width:2px;
    height:2px;	
    animation-delay:1.2s;
}
.star3{
    top: 3%;
    right: 6%;
    animation-delay:2.5s;
}
.star4{
    width: 1px;
    height: 1px;
    top: 13.4%;
    left: 14%;
    animation-delay: .8s;
}
.star5{
    top: 12%;
    right: 10%;
    animation-delay:2.5s;
}
.star6{
    top: 10%;
    right: 42%;
    animation-delay: 1.1s;
}
.star7{
    top: 22%;
    right: 40%;
    width: 2px;
    height: 2px;
    animation-delay: 1.2s;
}
.star8{
    top: -4%;
    right: 6%;
    animation-delay:2.5s;
}
.star9{
    width: 1px;
    height: 1px;
    top: 36%;
    left: 24%;
    animation-delay: .8s;
}
.star10{
    width: 1px;
    height: 1px;
    top: 27%;
    left: 41%;
    animation-delay: .6s;
}
.star11{
    top: 3%;
    left: 33%;
}
.star12{
    top: 9%;
    right: 43%;
    width:2px;
    height:2px;	
    animation-delay:1.2s;
}
.star13{
    top: 3%;
    left: 6%;
    animation-delay:2.5s;
}
.star14{
    width: 2px;
    height: 2px;
    top: 7.4%;
    left: 10%;
    animation-delay: 1.0s;
}
.star15{
    top: 11%;
    right: 36%;
    animation-delay:2.5s;
}
.star16{
    top: 23%;
    right: 15%;
    animation-delay: 1.1s;
}
.star17{
    top: 44%;
    right: 8%;
    width: 2px;
    height: 2px;
    animation-delay: 0.6s;
}
.star18{
    width: 2px;
    height: 2px;
    top: 26%;
    left: 10%;
    animation-delay:2.5s;
}
.star19{
    width: 1px;
    height: 1px;
    top: 43%;
    left: 24%;
    animation-delay: .8s;
}
.star20{
    width: 2px;
    height: 2px;
    top: 2%;
    right: 20%;
    animation-delay: .6s;
}
.star21{
    width: 2px;
    height: 2px;
    top: 7%;
    left: 18%;
    animation-delay: .5s;
}
.star22{
    width: 3px;
    height: 3px;
    bottom: 52.6%;
    left: 8%;
    animation-delay: .5s;
}
.star23{
    width: 3px;
    height: 3px;
    bottom: 54.6%;
    left: 18.2%;
    animation-delay: .9s;
}

@keyframes twinkle{
    0%,100%{
        opacity:.15;
        transform:scale(1);
        box-shadow:none;
    }

    50%{
        opacity:1;
        transform:scale(2.2);
        box-shadow:
            0 0 8px #fff,
            0 0 18px rgba(255,255,255,.8);
    }
}


/* COLOR ZONE 専用アニメーション */
.js-anim-softblur {
    opacity: 0;
    filter: blur(12px) brightness(1.15);
    transition:
        opacity 1s ease,
        filter 1s ease;
}

.js-anim-softblur.is-active {
    opacity: 1;
    filter: blur(0) brightness(1);
}

.shooting-star {
    position: fixed; 
    top: 0;
    left: 0;
    width: 100px;
    height: 2px;
    background: linear-gradient(to right, rgba(255,255,255,1), rgba(255,255,255,0));
    pointer-events: none;
    z-index: 1000;
    opacity: 0;
    transform: rotate(-25deg);
}

@keyframes shoot {
    0% { transform: translateX(-100px) translateY(0) rotate(-25deg); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateX(100vw) translateY(50vh) rotate(-25deg); opacity: 0; }
}

.star-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}
.star-container .shooting-star {
    position: absolute;
    width: 150px;
    height: 2px;
    background: linear-gradient(to right, rgba(255,255,255,0), rgba(255,255,255,1));
    pointer-events: none;
    z-index: 1000;
    transform-origin: 50% 50%;
    
    transform: rotate(155deg); 
    opacity: 0;
    animation: shoot-parallel-perfect 3s linear forwards;
}

@keyframes shoot-parallel-perfect {
    0% { 
        transform: translate(0, 0) rotate(155deg); 
        opacity: 0; 
    }
    10% { opacity: 1; }
    80% { opacity: 1; }
    100% { 
        transform: translate(-800px, 370px) rotate(155deg); 
        opacity: 0; 
    }
}

.star-flow-zone {
    position: relative;
    overflow: hidden;
}
.js-twinkle-star {
    opacity: 0;
    transition: opacity 1s ease;
}
.js-twinkle-star.is-active {
    opacity: 1;
    animation: shooting-twinkle 2s infinite alternate 1s;
}

@keyframes shooting-twinkle {
    0% { filter: brightness(1); }
    100% { filter: brightness(1.25) drop-shadow(0 0 6px rgba(255,255,255,0.8)); }
}


/* 画像専用のクラス */
.meteor-trail {
    position: absolute !important;
    width: 150px !important;
    height: auto !important;
    pointer-events: none !important;
    z-index: 100 !important;
    opacity: 0;
    filter: blur(10px); 
}

@keyframes meteor-move {
    0% {
        transform: translate(0, 0);
        opacity: 0;
        filter: blur(10px);
    }
    10% { 
        opacity: 1; 
        filter: blur(0px); 
    }
    100% {
        transform: translate(-500px, 300px);
        opacity: 1; 
        filter: blur(0px);
    }
}


/* ============================================== */
/* LOADING CURTAIN */
/* ============================================== */
#loading-curtain{
    position: fixed;
    inset: 0;
    z-index: 9999;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background:#b9c8ec;
}
/* 星空背景（ゆっくりズーム） */
#loading-curtain .lc-bg{
    position: absolute;
    inset: -4%;
    background-image: url('/images/special/milmira1day/mv_ba.jpg');
    background-size: cover;
    background-position: center top;
    animation: lc-drift 6s ease-out both;
    transform-origin: center 30%;
}
@keyframes lc-drift{
  0%  {transform:scale(1.12);}
  100%{transform:scale(1.0);}
}
/* うっすら明るくするヴェール */
#loading-curtain .lc-veil{
    position: absolute;
    inset: 0;
    background: radial-gradient(120% 80% at 50% 42%,rgba(255,255,255,0) 40%,rgba(185,200,236,.55) 100%);
    mix-blend-mode: screen;
    opacity:.6;
}

/* ロゴ */
#loading-curtain .lc-logo{
    position: relative;
    z-index: 3;
    width: 56%;
    max-width: 360px;
    opacity: 0;
    filter: blur(14px);
    transform: translateY(10px) scale(.94);
    animation: lc-logo-in 1.5s cubic-bezier(.2,.7,.2,1) .5s forwards,
                lc-logo-glow 2.6s ease-in-out 1.9s infinite;
}
#loading-curtain .lc-logo img {
    display: block;
    width: 100%;
    height: auto;
}
@keyframes lc-logo-in{
  0%  {opacity:0;filter:blur(14px);transform:translateY(10px) scale(.94);}
  60% {opacity:1;}
  100%{opacity:1;filter:blur(0);transform:translateY(0) scale(1);}
}
@keyframes lc-logo-glow{
  0%,100%{filter:drop-shadow(0 0 0 rgba(255,255,255,0));}
  50%    {filter:drop-shadow(0 0 10px rgba(255,255,255,.85));}
}

/* 瞬く星 */
#loading-curtain .lc-star {
    position: absolute;
    z-index: 2;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background:#fff;
    box-shadow: 0 0 6px 2px rgba(255,255,255,.9);
    opacity: 0;
    animation: lc-twinkle 2.4s ease-in-out infinite;
}
@keyframes lc-twinkle{
  0%,100%{opacity:0;transform:scale(.6);}
  50%    {opacity:1;transform:scale(1);}
}

/* 流れ星（頭=左下が先頭 / しっぽ=右上へ） */
#loading-curtain .lc-meteor{
    position: absolute;
    z-index: 2;
    top: 14%;
    left: 72%;
    width: 120px;
    height: 2px;
    background: linear-gradient(90deg,rgba(255,255,255,.9),rgba(255,255,255,0));
    filter: blur(.4px);
    transform: rotate(-28deg);
    opacity: 0;
    animation: lc-meteor 1.5s ease-in 1.0s 1 forwards;
}
#loading-curtain .lc-meteor::before{
    content: "";
    position: absolute;
    left: 0;
    top: -2px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #fff;
    box-shadow:0 0 8px 3px rgba(255,255,255,.9);
}
@keyframes lc-meteor{
  0%  {opacity:0;transform:translate(0,0) rotate(-28deg);}
  12% {opacity:1;}
  100%{opacity:0;transform:translate(-320px,180px) rotate(-28deg);}
}

/* 下部：ローディングインジケーター */
#loading-curtain .lc-bar{
    position: absolute;
    z-index: 3;
    left: 50%;
    bottom: 16%;
    transform: translateX(-50%);
    width: 120px;
    height: 2px;
    border-radius: 2px;
    background: rgba(255,255,255,.35);
    overflow: hidden;
    opacity: 0;
    animation: lc-fade 0.6s ease .8s forwards;
}
#loading-curtain .lc-bar::after{
    content: "";
    position: absolute;
    inset: 0;
    left: -40%;
    width: 40%;
    background: rgba(255,255,255,.95);
    border-radius: 2px;
    animation: lc-slide 1.3s ease-in-out infinite;
}
@keyframes lc-fade{to{opacity:1;}}
@keyframes lc-slide{
  0%{left:-40%;}100%{left:100%;}
}

/* カーテンが上がって消える */
#loading-curtain.is-hide{
    animation: lc-curtain-up 1.1s cubic-bezier(.7,0,.3,1) forwards;
    pointer-events: none;
}
@keyframes lc-curtain-up{
  0%  {opacity:1;transform:translateY(0);}
  100%{opacity:0;transform:translateY(-6%);visibility:hidden;}
}

@media (prefers-reduced-motion:reduce){
  #loading-curtain .lc-bg,
  #loading-curtain .lc-logo,
  #loading-curtain .lc-meteor,
  #loading-curtain .lc-star{animation:none;}
  #loading-curtain .lc-logo{opacity:1;filter:none;transform:none;}
}


@media screen and (max-width: 1024px) {
    .mv_logo {
        top: 10%;
    }
    .mv_copy {
        top: 10%;
    }
    .mv_badge {
        top: 16.5%;
        right: 0%;
    }
    .spec-row {
        line-height: 3.2;
    }
    .spec-row th {
        width: 45%;
    }
    .product_price {
        font-size: 13px;
    }
    .product_price span {
        font-size: 13px;
        font-weight: 500;
    }
    .price_arrow {
        display: none;
    }
    .launch_special {
        text-align: center;
        margin-right: 0;
    }
}

@media screen and (max-width: 780px) {
    .mv_logo, .mv_copy {
        top: 11%;
    }
    .mv_badge {
        top: 17%;
        right: 0%;
    }
    .mv_debut {
        top: 18%;
    }
    .order_price {
        font-size: 20px;
    }
    .order_boxname {
        font-size: 16px;
    }
    .price {
        font-size: 28px;
    }
}