:root {
    --mf-color-primary: #f27eac;
    --mf-color-primary-dark: #fb69a3;
    --mf-color-primary-text-pink: var(--mf-color-primary);
    --mf-color-primary-text-emphasis: #f83884;
    --mf-color-primary-bg: #ffe3ef;
    --mf-color-black: #333;
    --mf-header-height: 50px;
    --mf-header-radius: 20px;
    --mf-side-width: 290px;
    --mf-one-column-container-max-width: 1200px;
    --mf-two-columns-max-width: 1400px;
    --mf-two-columns-container-max-width: 990px;
    --mf-container-padding-inline: 20px;
    --mf-font-comme: "Comme", "Noto Sans JP", sans-serif;
    --mf-font-worksans: 'Work Sans', "Noto Sans JP", sans-serif;
}

@media only screen and (min-width: 768px) {
    :root {
        --mf-header-height: 100px;
        --mf-header-radius: 38px;
    }
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth;
}

body {
    color: var(--mf-color-black);
}

@media only screen and (min-width: 1200px) {
    body:not(#page_miss_flash) {
        background-image: url("/html/template/default/assets/miss-flash/img/common/deco_bg_dots.png"), url("/html/template/default/assets/miss-flash/img/common/deco_bg_circles.png");
        background-size: auto;
        background-position: left top, right 1141px;
        background-repeat: repeat-y;
    }
}

a {
    text-decoration: none;
    transition: all .3s ease;
    cursor: pointer;
    color: inherit;
}

a:hover {
    opacity: .7;
    text-decoration: none;
}

button {
    cursor: pointer;
}
button:disabled {
    cursor: not-allowed;
}

img {
    max-width: 100%
}

@media only screen and (min-width: 768px) {
    .sp-only {
        display: none;
    }
}
.pc-only {
    display: none;
}
@media only screen and (min-width: 768px) {
    .pc-only {
        display: inline-block;
    }
}
.text-center {
    text-align: center;
}
.text-right {
    text-align: right;
}
.text-medium {
    font-weight: 500;
}
.text-bold {
    font-weight: bold;
}
.text-pink {
    color: var(--mf-color-primary-text-emphasis);
}
.MF-text-link {
    color: var(--mf-color-primary-text-emphasis);
    text-decoration: underline;
}


.miss-flash .ec-layoutRole__contents {
    max-width: none !important;
    padding-left: 0 !important;
}
.miss-flash .ec-blockTopBtn {
    display: none !important;
}

/* スクロール調整 */
[id] {
    scroll-margin-top: var(--mf-header-height);
}

/*
 ヘッダー
*/
.MF-header {
    width: 100%;
    position: fixed;
    top: 0;
    z-index: 10;
}
@media only screen and (min-width: 768px) {
    #page_miss_flash .MF-header {
        position: relative;
    }
}
#page_miss_flash_history .MF-header {
    position: relative;
}
@media only screen and (min-width: 768px) {
    #page_miss_flash_history .MF-header {
        position: fixed;
    }
}
.MF-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: var(--mf-header-height);
    padding-inline: var(--mf-container-padding-inline) 15px;
    background: url("/html/template/default/assets/miss-flash/img/common/header_bg.png") no-repeat right bottom / contain, #fff;
    border-radius: 0 0 var(--mf-header-radius) var(--mf-header-radius);
}
@media only screen and (min-width: 768px) {
    .MF-header__inner {
        padding-inline: 40px 20px;
    }
}
.MF-header__heading__image {
    max-width: 94px;
}
@media only screen and (min-width: 768px) {
    .MF-header__heading__image {
        max-width: 180px;
    }
}
.MF-header__right {
    display: none;
}
@media only screen and (min-width: 768px) {
    .MF-header__right {
        display: flex;
        align-items: center;
    }
}
.MF-header__right__list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: end;
}
.MF-header__right__item {
    position: relative;
}
.MF-header__right__item:not(:last-child):after {
    content: '';
    display: block;
    width: 2px;
    height: 24px;
    background: repeating-linear-gradient(
            #f6e4ea,
            #f6e4ea 2px,
            #fff 2px,
            #fff 4px
    );
    position: absolute;
    top: 50%;
    right: -1px;
    transform: translateY(-50%);
}
.MF-header__right__link {
    display: flex;
    align-items: center;
    gap: 10px;
    height: 40px;
    padding-inline: 16px;
    line-height: 1;
    font-weight: bold;
}
.MF-header__right__link img {
    width: 24px;
}
.MF-header__right__link img[src*="icon_news"] {
    width: 22px;
}

.MF-header__entry {
    margin-left: 32px;
    position: relative;
    z-index: 1;
}

/*
 メイン
*/
.MF-header ~ main {
    width: 100%;
    padding-top: var(--mf-header-height);
}
@media only screen and (min-width: 768px) {
    #page_miss_flash .MF-header ~ main {
        padding-top: 0;
    }
}
#page_miss_flash_history .MF-header ~ main {
    padding-top: 0;
}
@media only screen and (min-width: 768px) {
    #page_miss_flash_history .MF-header ~ main {
        padding-top: var(--mf-header-height);
    }
}

/*
 フッター
*/
footer {
    margin-top: 100px;
}

/*
Nav
 */
.MF-nav,
.MF-pageMenu {
    position: fixed;
    top: 0;
    right: -100%;
    transition: all .3s ease;
    width: 100vw;
    height: 100vh;
    background: url("/html/template/default/assets/miss-flash/img/common/nav_bg.png") no-repeat right bottom -30px / contain, #fff;
    z-index: 150;
    overscroll-behavior-y: contain;
    overflow-y: auto;
    overflow-x: hidden
}

.MF-nav.show {
    right: 0
}
@media only screen and (min-width: 768px) {
    .MF-nav {
        display: none;
    }
}
.MF-nav-trigger,
.MF-nav-top-trigger {
    display: block;
    padding: 8px 16px;
    border-radius: 99px;
    border: none;
    color: #fff;
    font-family: var(--mf-font-comme);
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    position: fixed;
    top: 11px;
    right: 15px;
    z-index: 150;
}
.MF-nav-trigger {
    background: var(--mf-color-primary);
}
.MF-nav-top-trigger {
    margin-left: auto;
    background: #6DBAED;
    position: absolute;
    top: 15px;
    right: 15px;
}
@media only screen and (min-width: 768px) {
    .MF-nav-trigger,
    .MF-nav-top-trigger {
        display: none;
    }
}


/*
 サイドメニュー内 ナビ
*/
.MF-side .MF-nav,
.MF-pageMenu {
    display: block !important;
    width: 100%;
    height: fit-content;
    border-radius: 22px;
    box-shadow: 1px 2px 20px 4px rgba(255, 227, 239, 0.3);
    position: relative;
    top: 0;
    left: 0;
}
.MF-side .MF-nav-trigger,
.MF-side .MF-nav-top-trigger {
    display: none;
}
.MF-nav__inner {
    max-width: 300px;
    margin-inline: auto;
    padding: 28px;
}
.MF-nav__heading {
    margin-bottom: 20px;
}
.MF-nav__heading__link {
    display: none;
}
.MF-side .MF-nav__heading__link {
    display: block;
}
.MF-nav__item {
    display: flex;
    align-items: center;
    gap: 24px;
    position: relative;
}
.MF-nav__item:not(:first-child):before {
    content: '';
    width: 100%;
    height: 2px;
    background: repeating-linear-gradient(
            to right,
            #cfdae6,
            #cfdae6 2px,
            transparent 2px,
            transparent 4px
    );
    position: absolute;
    top: -1px;
    left: 0;
}
.MF-nav__item img {
    width: 32px;
    aspect-ratio: 1/1;
    object-fit: contain;
}
.MF-nav__link {
    display: flex;
    align-items: center;
    gap: 16px;
    width: 100%;
    padding-block: 1em;
    font-weight: bold;
    line-height: 1.4;
}

.MF-nav__entry {
    margin-top: 16px;
    position: relative;
}
.MF-nav__entry a,
.MF-header__entry a {
    display: block;
    width: 100%;
    min-width: 200px;
    padding: 20px;
    background: url("/html/template/default/assets/miss-flash/img/common/nav_entry_bg_text.png") no-repeat center / contain, url("/html/template/default/assets/miss-flash/img/common/nav_entry_bg_base.png") no-repeat center / cover;
    border-radius: 99px;
    text-align: center;
    font-weight: bold;
    color: #fff;
    overflow: hidden;
    position: relative;
    z-index: 1;
}
.MF-nav__entry a:before,
.MF-header__entry a:before {
    display: block;
    color: rgba(255, 149, 193, 0.8);
    font-size: 20px;
    font-weight: normal;
    white-space: nowrap;
    letter-spacing: 0.05em;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
}
.MF-nav__entry img,
.MF-header__entry img {
    width: 54px;
    aspect-ratio: 4/3;
    object-fit: contain;
    position: absolute;
    top: -13px;
    left: -10px;
    transform: rotate(-15deg);
    z-index: 1;
}

.MF-header__entry + .MF-nav__banner {
    margin-top: 25px;
}
@media only screen and (min-width: 768px) {
    .MF-header__entry + .MF-nav__banner {
        margin-top: 40px;
    }
}
.MF-nav__banner {
    gap: 10px;
    display: grid;
    margin-top: 10px;
}
@media only screen and (min-width: 768px) {
    .MF-nav__banner {
        gap: 20px;
    }
}
.MF-header__entry + .MF-nav__banner {
    margin-top: 25px;
}
@media only screen and (min-width: 768px) {
    .MF-header__entry + .MF-nav__banner {
        margin-top: 40px;
    }
}
.MF-nav__banner img {
    width: 100%;
}
@media only screen and (min-width: 768px) {
    .MF-nav__banner img {
        gap: 16px;
        margin-top: 40px;
    }
}

/* プロフィールヘッダー　カートを見る */
.MF-header__cart a {
    display: block;
    width: 100%;
    min-width: 200px;
    padding: 20px;
    border-radius: 99px;
    background: var(--mf-color-primary);
    text-align: center;
    font-weight: bold;
    color: #fff;
    overflow: hidden;
    position: relative;
    z-index: 1;
}
.MF-header__cart img {
    height: 1em;
    width: auto;
    margin-right: 0.2em;
}


/*
 コンテナ
*/
.MF-container,
.MF-container-hasSide {
    padding-inline: var(--mf-container-padding-inline);
    color: var(--mf-color-black);
    font-size: 14px;
    line-height: 1.8;
}

@media only screen and (min-width: 768px) {
    .MF-container,
    .MF-container-hasSide {
        font-size: 16px;
    }
}
@media only screen and (min-width: 1200px) {
    .MF-container-hasSide {
        max-width: calc(var(--mf-two-columns-container-max-width) + 2 * var(--mf-container-padding-inline));
        margin-top: 40px;
        margin-inline: 20px auto;
        padding-inline: var(--mf-container-padding-inline);
    }
}

/* あしらい */
main .MF-container:first-child {
    margin-top: calc(var(--mf-header-height) * -1);
    padding-top: var(--mf-header-height);
    background: url("/html/template/default/assets/miss-flash/img/common/main_bg_left.png") no-repeat top left -26px/291px 134px,  url("/html/template/default/assets/miss-flash/img/common/main_bg_right.png") no-repeat top -35px right -17px/129px 173px;
}
@media only screen and (min-width: 768px) {
    main .MF-container:first-child {
        background: url("/html/template/default/assets/miss-flash/img/common/main_bg_left.png") no-repeat top left -53px/583px 268px,  url("/html/template/default/assets/miss-flash/img/common/main_bg_right.png") no-repeat top right/259px 346px;
    }
}
.MF-container__inner {
    margin-inline: auto;
    max-width: var(--mf-one-column-container-max-width);
}


/*
 ページヘッダー
*/
.MF-pageHeader,
.MF-pageHeader--jaOnly {
    text-align: center;
    line-height: 1;
    font-weight: bold;
}
.MF-pageHeader {
    padding-block: 44px 30px;
    margin-bottom: 50px;
    border-bottom: 1px solid #cfdae6;
}
.MF-pageHeader--jaOnly {
    padding-block: 50px 18px;
    font-size: 23px;
    color: var(--mf-color-primary);
}
@media only screen and (min-width: 768px) {
    .MF-pageHeader {
        margin-bottom: 60px;
        padding-block: 64px 71px;
    }
    .MF-pageHeader--jaOnly {
        padding-block: 70px 40px;
        font-size: 42px;
    }
}
.MF-pageHeader__en {
    font-family: var(--mf-font-comme);
    font-size: 40px;
    color: var(--mf-color-primary);
}
@media only screen and (min-width: 768px) {
    .MF-pageHeader__en {
        font-size: 80px;
    }
}
.MF-pageHeader__ja {
    margin-top: 4px;
    font-size: 13px;
}
@media only screen and (min-width: 768px) {
    .MF-pageHeader__ja {
        margin-top: 11px;
        font-size: 20px;
    }
}


/*
 ボタン
*/
.MF-btn,
.MF-btn--back,
.MF-btn--white,
.MF-btn--white--back {
    display: inline-block;
    padding: 1em 3em;
    border-radius: 99px;
    border-color: transparent;
    position: relative;
    text-align: center;
    font-size: 13px;
    font-weight: bold;
}
@media only screen and (min-width: 768px) {
    .MF-btn,
    .MF-btn--back,
    .MF-btn--white,
    .MF-btn--white--back {
        font-size: 16px;
    }
}
.MF-btn,
.MF-btn--back {
    background: var(--mf-color-primary);
    color: #fff;
}
.MF-btn:hover,
.MF-btn--back:hover {
    color: #fff;
}
.MF-btn--white,
.MF-btn--white--back {
    background: #fff;
    color: var(--mf-color-primary);
}
.MF-btn:hover,
.MF-btn--back:hover,
.MF-btn--white:hover,
.MF-btn--white--back:hover {
    opacity: 0.7;
}
.MF-btn:disabled,
.MF-btn--back:disabled,
.MF-btn--white:disabled,
.MF-btn--white--back:disabled {
    background: #bbb !important;
    cursor: not-allowed;
}
/* .MF-btn--back,
.MF-btn--white--back {
    padding: 1.2em 3em 1.2em 4em;
} */
/* .MF-btn:before,
.MF-btn--white:before {
    content: '';
    display: block;
    width: 0.8em;
    height: 1.5px;
    background: currentColor;
    position: absolute;
    top: 50%;
    right: 1.5em;
    transform: translateY(-50%);
} */
/* .MF-btn--back:before,
.MF-btn--white--back:before {
    content: '';
    display: block;
    width: 0.8em;
    height: 1.5px;
    background: currentColor;
    position: absolute;
    top: 50%;
    left: 1.5em;
    transform: translateY(-50%);
} */
/* .MF-btn:after,
.MF-btn--white:after {
    content: '';
    display: block;
    width: 0.5em;
    aspect-ratio: 1/1;
    border-top: 1.5px solid;
    border-right: 1.5px solid;
    position: absolute;
    top: 50%;
    right: 1.5em;
    transform: translateY(-50%) rotate(45deg);
}
.MF-btn--back:after,
.MF-btn--white--back:after {
    content: '';
    display: block;
    width: 0.5em;
    aspect-ratio: 1/1;
    border-top: 1.5px solid;
    border-right: 1.5px solid;
    position: absolute;
    top: 50%;
    left: 1.5em;
    transform: translateY(-50%) rotate(-135deg);
} */
.MF-btn--outline {
    border: 2px solid currentColor;
}
@media only screen and (min-width: 768px) {
    .MF-btn--outline {
        border-width: 4px;
    }
}


/*
 フォーム
*/
/*
 セレクト
*/
.MF-form__select select {
    -webkit-appearance: none;
    appearance: none;
    background: #fff;
    border: 1px solid #D4D4D4;
    border-radius: 6px;
    padding-block: 1.2em;
    padding-inline: 1.5em 2em;
    font-weight: bold;
    color: currentColor
}
.MF-form__select {
    position: relative;
    width: fit-content;
}
.MF-form__select:before {
    content: '';
    display: block;
    width: 6px;
    height: 6px;
    border-top: 2px solid var(--mf-color-primary);
    border-right: 2px solid var(--mf-color-primary);
    transform: translateY(-50%) rotate(135deg);
    position: absolute;
    top: 50%;
    right: 10px;
    pointer-events: none;
}


/*
 MF-modal
*/

/* モーダルのオーバーレイ */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    display: none;
    width: 100%;
    max-width: 100vw;
    height: 100%;
    background-color: rgba(0, 0, 0, .56);
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.3s ease;
    overscroll-behavior-y: contain;
    overflow-y: auto;
    overflow-x: hidden
}
/* JS: modalOverlay.classList.add('is-active') でオーバーレイとモーダル本体を表示 */
.modal-overlay.is-active {
    display: flex;
}
.modal-overlay.is-active .MF-modal {
    display: block;
}

/* モーダル本体 */
.MF-modal {
    display: none;
    width: calc(100% - 2 * var(--mf-container-padding-inline));
    max-width: 1000px;
    height: auto;
    margin: auto;
    padding-block: var(--mf-container-padding-inline);
}
@media only screen and (min-width: 768px) {
    .MF-modal {
        margin-block: 40px;
        top: 40px;
        left: 50%;
    }
}
/* .MF-modal の表示は .modal-overlay.is-active .MF-modal で制御（上記）*/

.MF-modal__contents {
    --mf-mordal-radius: 5px;
}
@media only screen and (min-width: 768px) {
    .MF-modal__contents {
        --mf-mordal-radius: 10px;
    }
}

.MF-modal__contents {
  max-width: 100%;
  width: calc(100vw - 2 * var(--mf-container-padding-inline));
  padding: 60px 16px;
  background: url("/html/template/default/assets/miss-flash/img/common/main_bg_left.png") no-repeat top left -10px/139px 64px, url("/html/template/default/assets/miss-flash/img/common/deco_bg_circles__modal-bottom.png") no-repeat bottom right/85px 97px, #fff;
  border-radius: 10px;
  color: var(--mf-color-black);
  text-align: center;
}
@media only screen and (min-width: 768px) {
  .MF-modal__contents {
    display: flex;
    flex-direction: column;
    min-height: 570px;
    background: url("/html/template/default/assets/miss-flash/img/common/main_bg_left.png") no-repeat top left -42px/278px 128px, url("/html/template/default/assets/miss-flash/img/common/deco_bg_circles__modal-bottom.png") no-repeat bottom right/174px 204px, #fff;
  }
}
@media only screen and (min-width: 992px) {
    .MF-modal__contents {
        padding: 80px;
    }
}

.MF-modal__inner {
display: flex;
flex-direction: column;
gap: 20px;
max-width: 656px;
margin: auto;
}
@media only screen and (min-width: 768px) {
  .MF-modal__inner {
    gap: 40px;
  }
}

/* is-confirm は #js-MF-modal-inner(.MF-modal__contents) に付与。その子 .MF-modal__inner をグリッド化 */
.MF-modal__contents.is-confirm .MF-modal__inner {
    display: grid;
    grid-template-areas: "header"
                        "img"
                        "main"
                        "footer";
    gap: 20px;
}
@media only screen and (min-width: 768px) {
    .MF-modal__contents.is-confirm .MF-modal__inner {
        grid-template-areas: "img header"
                            "img main"
                            "img footer";
        grid-template-columns: 42% 1fr;
        gap: 40px 7.6%;
    }
    /* コイン投票以外（コインセレクトを持たない）場合は行の高さを固定 */
    .MF-modal__contents.is-confirm .MF-modal__inner:not(:has(.MF-modal__selectCoin)) {
        grid-template-rows: 1fr 70px 70px;
    }
}

/* 確認状態でない場合（投票処理中・結果表示中）は候補者画像を非表示 */
.MF-modal__contents:not(.is-confirm) .MF-modal__img {
    display: none;
}
/* 確認状態ではloading gif / 結果テキストエリアを非表示 */
.MF-modal__contents.is-confirm #js-MF-modal__content {
    display: none;
}
/* 投票処理中（is-confirm なし）は確認ボタンエリアを非表示 */
.MF-modal__contents:not(.is-confirm) #js-MF-modal__confirm-area {
    display: none;
}
/* 投票処理中（is-confirm でも is-complete でもない状態）はコインセレクトを非表示 */
.MF-modal__contents .MF-modal__selectCoin {
    display: none;
}
.MF-modal__contents.is-confirm .MF-modal__selectCoin,
.MF-modal__contents.is-complete .MF-modal__selectCoin {
    display: block;
}
.MF-modal__content.is-voted + .MF-modal__selectCoin {
    margin-top: 40px;
}
/* 完了フッターはデフォルト非表示。is-complete クラス付与時のみ表示（処理中も非表示になる） */
.MF-modal__footer--complete {
    display: none;
}
.MF-modal__contents.is-complete .MF-modal__footer--complete {
    display: block;
}
/* 確認フッターは is-confirm 中のみ表示 */
.MF-modal__contents:not(.is-confirm) .MF-modal__footer--confirm {
    display: none;
}
/* .MF-modal__inner {
    display: grid;
    grid-template-columns: 155px 1fr;
    grid-template-areas:
        "header header"
        "img detail"
        "profile profile"
        "btn btn";
    gap: 25px 15px;
    padding: 16px;
    color: var(--mf-color-black);
}
@media only screen and (min-width: 768px) {
    .MF-modal__inner {
        grid-template-columns: 300px 1fr;
        grid-template-areas:
            "header header"
            "img profile"
            "img detail"
            "img btn";
        gap: 30px 50px;
        padding: 50px;
    }
} */

/*
 モーダル見出し
*/
.MF-modal__header {
    grid-area: header;
    font-size: 18px;
    font-weight: bold;
}
@media only screen and (min-width: 768px) {
  .MF-modal__header {
    font-size: 36px;
  }
}
.is-confirm .MF-modal__header {
    width: 200px;
    margin-inline: auto;
    text-align: left;
}
@media only screen and (min-width: 768px) {
    .is-confirm .MF-modal__header {
        width: 100%;
    }
}
.MF-modal__header__nameName {
    margin-bottom: 10px;
}
/* .MF-modal__header__name {
    display: flex;
    align-items: end;
}
@media only screen and (min-width: 768px) {
    .MF-modal__header__name {
        align-items: center;
    }
}
.MF-modal__header__name img {
    display: block;
    width: 30px;
    aspect-ratio: 50/45;
}
@media only screen and (min-width: 768px) {
    .MF-modal__header__name img {
        width: 50px;
        height: 45px;
    }
}
.MF-modal__header__nameName {
    margin-left: 10px;
    font-size: 23px;
    font-weight: bold;
}
@media only screen and (min-width: 768px) {
    .MF-modal__header__nameName {
        margin-left: 16px;
        font-size: 34px;
    }
}
    */
.MF-modal__header__nameKana {
    font-size: 11px;
    color: var(--mf-color-primary);
    font-weight: 500;
}
@media only screen and (min-width: 768px) {
    .MF-modal__header__nameKana {
        font-size: 18px;
    }
}
/*
.MF-modal__header__link {
    display: flex;
    align-items: center;
    margin-left: auto;
    position: absolute;
    top: 82px;
    left: 201px;
}
@media only screen and (min-width: 768px) {
    .MF-modal__header__link {
        gap: 30px;
        position: relative;
        top: unset;
        left: unset;
    }
}
.MF-modal__header__link a {
    padding: 7px;
}
@media only screen and (min-width: 768px) {
    .MF-modal__header__link a {
        display: grid;
        place-items: center;
        padding: 0;
    }
}
.MF-modal__header__link a img {
    display: block;
    width: 18px;
    aspect-ratio: 1/1;
    object-fit: contain;
}
@media only screen and (min-width: 768px) {
    .MF-modal__header__link a img {
        width: 40px;
    }
} */

/*
 モーダル画像
*/
.MF-modal__img {
    grid-area: img;
    width: 200px;
    margin-inline: auto;
}
@media only screen and (min-width: 768px) {
    .MF-modal__img {
        width: 100%;

    }
}
.MF-modal__img img {
    display: block;
    width: 100%;
    aspect-ratio: 330 / 496;
    border-radius: var(--mf-mordal-radius);
    object-fit: cover;
}

/*
 モーダルプロフィール
*/
/* .MF-modal__profile {
    grid-area: profile;
}
.MF-modal__profile__text {
    padding: 16px;
    background: var(--mf-color-primary-bg);
    border-radius: var(--mf-mordal-radius);
}
@media only screen and (min-width: 768px) {
    .MF-modal__profile__text {
        padding: 32px;
    }
}
.MF-modal__profile__textHeading {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}
@media only screen and (min-width: 768px) {
    .MF-modal__profile__textHeading {
        margin-bottom: 28px;
    }
}
.MF-modal__profile__textHeading--en {
    font-size: 22px;
    font-weight: bold;
    font-family: var(--mf-font-comme);
    color: #F27EAD;
}
@media only screen and (min-width: 768px) {
    .MF-modal__profile__textHeading--en {
        font-size: 32px;
    }
}
.MF-modal__profile__textHeading--ja {
    margin-left: 1em;
    font-size: 12px;
    font-weight: bold;
}
@media only screen and (min-width: 768px) {
    .MF-modal__profile__textHeading--ja {
        font-size: 14px;
    }
}
.MF-modal__profile__textContent {
    text-align: justify;
    word-break: break-all;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.8;
}
@media only screen and (min-width: 768px) {
    .MF-modal__profile__textContent {
        font-size: 16px;
    }
}
.MF-modal__profile__detail {
    grid-area: detail;
    margin-top: 36px;
    font-weight: bold;
}
@media only screen and (min-width: 768px) {
    .MF-modal__profile__detail {
        margin-top: 0;
    }
}
.MF-modal__profile__detail dl {
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: relative;
}
@media only screen and (min-width: 768px) {
    .MF-modal__profile__detail dl {
        flex-direction: row;
        align-items: center;
        gap: 16px;
    }
}
.MF-modal__profile__detail dl:not(:first-child) {
    margin-top: 25px;
}
@media only screen and (min-width: 768px) {
    .MF-modal__profile__detail dl:not(:first-child) {
        margin-top: 25px;
    }
}
.MF-modal__profile__detail dl:not(:first-child):before {
    content: '';
    width: 100%;
    height: 2px;
    background: repeating-linear-gradient(
            to right,
            var(--mf-color-primary-bg),
            var(--mf-color-primary-bg) 2px,
            transparent 2px,
            transparent 4px
    );
    position: absolute;
    top: -12px;
    left: 0;
}
@media only screen and (min-width: 768px) {
    .MF-modal__profile__detail dl:not(:first-child):before {
        top: -12px;
    }
}
.MF-modal__profile__detail dt {
    width: 8em;
    padding: 5px;
    background: var(--mf-color-primary-bg);
    border-radius: 99px;
    text-align: center;
    font-size: 12px;
    font-weight: bold;
    color: #F27EAD;
}
@media only screen and (min-width: 768px) {
    .MF-modal__profile__detail dt {
        padding: 6px;
        font-size: 16px;
    }
}
.MF-modal__profile__detail dd {
    width: auto;
    word-break: break-all;
    font-size: 13px;
}
@media only screen and (min-width: 768px) {
    .MF-modal__profile__detail dd {
        width: calc(100% - 8em - 16px);
        font-size: 16px;
    }
} */


.MF-modal__main {
    grid-area: main;
}
.MF-modal__content {
  font-size: 14px;
  line-height: 1.9;
  font-weight: 500;
}
@media only screen and (min-width: 768px) {
  .MF-modal__content {
    /* margin-top: 40px; */
    font-size: 18px;
  }
}
.MF-modal__content img {
    width: auto;
    max-width: 100%;
}
.MF-modal__selectCoin__title {
    font-size: 18px;
    line-height: 1.2;
}
@media only screen and (min-width: 768px) {
  .MF-modal__selectCoin__title {
    font-size: 24px;
  }
}

.MF-modal__content .MF-form__select {
  margin: 10px auto 0;
}
@media only screen and (min-width: 768px) {
  .MF-modal__content .MF-form__select {
    margin-top: 20px;
  }
}
.MF-modal__content .MF-form__select select {
  padding-block: 0.8em;
  font-size: 16px;
  text-align: right;
}
@media only screen and (min-width: 768px) {
  .MF-modal__content .MF-form__select select {
    font-size: 20px;
  }
}

.MF-modal__content .MF-form__select + p {
    margin-bottom: 1em;
    font-weight: normal;
}

#js-MF-modal__confirmVoteBtn,
#js-MF-modal__addVoteBtn {
    width: 225px;
    height: 50px;
    background: linear-gradient(to right, rgba(35, 109, 245, 0.84), rgba(125, 212, 236, 0.84));
    border: none;
}
@media only screen and (min-width: 768px) {
    #js-MF-modal__confirmVoteBtn,
    #js-MF-modal__addVoteBtn {
        width: 290px;
        height: 70px;
    }
}
/* disabled時はhoverで明るくしない */
#js-MF-modal__addVoteBtn:disabled:hover {
    opacity: 1;
}


.MF-modal__footer {
    grid-area: footer;
}
@media only screen and (min-width: 768px) {
  .MF-modal__footer {
    /* margin-top: 40px; */
  }
}
.MF-modal__footer .MF-btn,
.MF-modal__footer .MF-btn--white {
  display: grid;
  place-items: center;
  width: 225px;
  height: 50px;
  margin-inline: auto;
}
@media only screen and (min-width: 768px) {
  .MF-modal__footer .MF-btn,
  .MF-modal__footer .MF-btn--white {
    width: 290px;
    height: 70px;
  }
}
/* .MF-modal__footer .MF-btn:before,
.MF-modal__footer .MF-btn:after {
  display: none;
} */

#js-MF-cart-modal-footer.MF-modal__footer {
    display: grid;
    gap: 20px;
}
@media only screen and (min-width: 768px) {
    #js-MF-cart-modal-footer.MF-modal__footer {
        display: flex;
        flex-direction: row-reverse;
    }
}

.MF-modal__footer .MF-btn,
.MF-modal__footer .MF-btn--white {
    flex-shrink: 1;
    flex-grow: 1;
}

.MF-modal__close {
    grid-area: btn;
    display: block;
    margin: -10px -10px -10px auto;
    padding: 10px;
    border: none;
    background: none;
    color: var(--mf-color-primary);
    font-size: 12px;
    font-weight: 500;
    font-family: var(--mf-font-comme);
}
@media only screen and (min-width: 768px) {
    .MF-modal__close {
        font-size: 14px;
        font-weight: bold;
    }
}
.MF-modal__close:hover {
    color: var(--mf-color-primary-dark);
}
.MF-modal__close span {
    display: inline-block;
    position: relative;
    overflow: hidden;
}
.MF-modal__close span:before {
    content: '';
    display: block;
    width: 100%;
    height: 1px;
    background: currentColor;
    position: absolute;
    bottom: 0;
    left: 0;
}
.MF-modal__close:hover span:before {
    animation: underLineFloatOnce 0.5s ease-in-out 0s forwards;
}



/* 投票ページ */

.MF-profile {
  --mf-mordal-radius: 5px;
  font-weight: 500;
}
@media only screen and (min-width: 768px) {
  .MF-profile {
    --mf-mordal-radius: 10px;
  }
}
.MF-profile {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto auto auto;
  grid-template-areas:
        "header"
        "img"
        "profile";
  gap: 16px;
  max-width: 1100px;
  margin-inline: auto;
  padding-top: 40px;
  color: var(--mf-color-black);
}
@media only screen and (min-width: 768px) {
  .MF-profile {
    align-items: start;
    grid-template-columns: 280px 1fr;
    grid-template-rows: auto 1fr;
    grid-template-areas:
        "header header"
        "img profile";
    gap: 30px 20px;
    padding-top: 60px;
  }
}
@media only screen and (min-width: 992px) {
  .MF-profile {
    gap: 30px 53px;
  }
}

/*
 プロフィール見出し
*/
.MF-profile__header {
  grid-area: header;
  display: flex;
  align-items: center;
  gap: 1em;
}
@media only screen and (min-width: 768px) {
  .MF-profile__header {
  }
}
.MF-profile__header img {
  display: block;
  width: 36px;
  object-fit: contain;
}
@media only screen and (min-width: 768px) {
  .MF-profile__header img {
    width: 62px;
  }
}
.MF-profile__header__name {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 10px;
  line-height: 1;
}
@media only screen and (min-width: 768px) {
  .MF-profile__header__name {
    display: block;
  }
}
.MF-profile__header__nameName {
  font-size: 23px;
  font-weight: bold;
}
@media only screen and (min-width: 768px) {
  .MF-profile__header__nameName {
    font-size: 32px;
  }
}
.MF-profile__header__nameKana {
  margin-top: 0.6em;
  font-size: 10px;
  color: var(--mf-color-primary);
}
@media only screen and (min-width: 768px) {
  .MF-profile__header__nameKana {
    font-size: 16px;
  }
}

/*
 プロフィール左
*/
.MF-profile__left {
  grid-area: img;
  display: grid;
  grid-template-columns: 165px 1fr;
  grid-template-areas:
                "img text"
                "link text";
  gap: 5px 20px;
}
@media only screen and (min-width: 768px) {
  .MF-profile__left {
    display: block;
  }
}
.MF-profile__img {
  grid-area: img;
}
.MF-profile__img img {
  display: block;
  width: 100%;
  aspect-ratio: 330/496;
  border-radius: var(--mf-mordal-radius);
  background: var(--mf-color-primary);
  object-fit: cover;
}
@media only screen and (min-width: 768px) {
  .MF-profile__img {
    width: auto;
    max-width: unset;
  }
}

.MF-profile__left__texts {
  grid-area: text;
}
.MF-profile__left__point,
.MF-profile__left__detail {
}
@media only screen and (min-width: 768px) {
  .MF-profile__left__point,
  .MF-profile__left__detail {
    margin-top: 24px;
  }
}
.MF-profile__left__point dl,
.MF-profile__left__detail dl {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 14px;
  position: relative;
}
@media only screen and (min-width: 768px) {
  .MF-profile__left__point dl,
  .MF-profile__left__detail dl {
    flex-direction: row;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
  }
}
.MF-profile__left__point dl {
  flex-wrap: wrap;
  margin-bottom: 7px;
}
@media only screen and (min-width: 768px) {
  .MF-profile__left__point dl {
    margin-bottom: 30px;
  }
}
.MF-profile__left__point dt,
.MF-profile__left__detail dt {
  line-height: 1;
}
.MF-profile__left__point dd,
.MF-profile__left__detail dd {
  line-height: 1.4;
}
.MF-profile__left__point dt {
  font-size: 10px;
}
@media only screen and (min-width: 768px) {
  .MF-profile__left__point dt {
    padding-top: 6px;
    font-size: 12px;
  }
}
.MF-profile__left__point dd {
  font-size: 18px;
  font-weight: bold;
  font-family: var(--mf-font-worksans);
  line-height: 1.1;
  color: var(--mf-color-primary-text-emphasis);
  word-break: break-all;
}
@media only screen and (min-width: 768px) {
  .MF-profile__left__point dd {
    font-size: 26px;
  }
}
.MF-profile__left__point dd span {
  margin-left: 0.2em;
  font-size: 13px;
}
@media only screen and (min-width: 768px) {
  .MF-profile__left__point dd span {
    font-size: 18px;
  }
}
.MF-profile__left__detail dl:not(:first-child):before {
  content: '';
  width: 100%;
  height: 2px;
  background: repeating-linear-gradient(
      to right,
      #FFE3EF,
      #FFE3EF 2px,
      transparent 2px,
      transparent 4px
  );
  position: absolute;
  top: -10px;
  left: 0;
}
@media only screen and (min-width: 768px) {
  .MF-profile__left__detail dl:not(:first-child):before {
    top: -12px;
  }
}
.MF-profile__left__detail dt {
  display: grid;
  place-items: center;
  width: 8em;
  height: 18px;
  background: #FFE3EF;
  border-radius: 99px;
  text-align: center;
  font-size: 10px;
  font-weight: bold;
  color: #e48eb3;
}
@media only screen and (min-width: 768px) {
  .MF-profile__left__detail dt {
    height: 30px;
    padding: 6px;
    font-size: 16px;
  }
}
.MF-profile__left__detail dd {
  width: 100%;
  word-break: break-all;
  font-weight: bold;
}
@media only screen and (min-width: 768px) {
  .MF-profile__left__detail dd {
    width: calc(100% - 8em - 16px);
  }
}
.MF-profile__left__link {
  display: flex;
  align-items: center;
  justify-content: center;
}
@media only screen and (min-width: 768px) {
  .MF-profile__left__link {
    justify-content: start;
    gap: 20px;
  }
}
.MF-profile__left__link a {
  padding: 10px;
}
@media only screen and (min-width: 768px) {
  .MF-profile__left__link a {
    padding: 0px;
  }
}
.MF-profile__left__link a img {
  display: inline-block;
  width: 18px;
  aspect-ratio: 1/1;
  object-fit: contain;
}
@media only screen and (min-width: 768px) {
  .MF-profile__left__link a img {
    width: 36px;
  }
  .MF-profile__left__link a img[src*='insta'] {
    margin: -2px;
  }
}

/*
 プロフィール右
*/
.MF-profile__right {
  grid-area: profile;
  margin-top: 10px;
}
@media only screen and (min-width: 768px) {
  .MF-profile__right {
    margin-top: 0;
  }
}

/* プロフィール テキスト */
.MF-profile__right__text {
  padding: 20px;
  background: #FFE3EF;
  border-radius: var(--mf-mordal-radius);
}
@media only screen and (min-width: 768px) {
  .MF-profile__right__text {
    padding: 32px;
  }
}
.MF-profile__right__textHeading {
  display: flex;
  align-items: center;
  margin-bottom: 6px;
  font-weight: bold;
}
@media only screen and (min-width: 768px) {
  .MF-profile__right__textHeading {
    margin-bottom: 28px;
  }
}
.MF-profile__right__textHeading--en {
  font-size: 20px;
  font-family: var(--mf-font-comme);
  color: #F27EAD;
}
@media only screen and (min-width: 768px) {
  .MF-profile__right__textHeading--en {
    font-size: 24px;
  }
}
.MF-profile__right__textHeading--ja {
  margin-left: 1em;
  font-size: 10px;
}
@media only screen and (min-width: 768px) {
  .MF-profile__right__textHeading--ja {
    font-size: 14px;
  }
}
.MF-profile__right__textContent {
  text-align: justify;
  word-break: break-all;
  font-size: 13px;
  line-height: 1.8;
}
@media only screen and (min-width: 768px) {
  .MF-profile__right__textContent {
    font-size: 16px;
  }
}

/* プロフィール 表 */
.MF-profile__right__detailData,
.MF-profile__right__detailFaq {
  margin-top: 40px;
}
@media only screen and (min-width: 768px) {
  .MF-profile__right__detailData,
  .MF-profile__right__detailFaq {
    margin-top: 48px;
  }
}
.MF-profile__right__detailData dl {
  display: flex;
}
.MF-profile__right__detailData dl:nth-child(2n) {
  background: #FFF9FB;
}
.MF-profile__right__detailData dt {
  padding: 1em 0.9em;
}
.MF-profile__right__detailData dd {
  padding: 1em;
}
.MF-profile__right__detailData dt {
  flex-shrink: 0;
  flex-grow: 0;
  width: 128px;
  border-top: 1px solid var(--mf-color-primary);
}
.MF-profile__right__detailData dl:last-child dt {
  border-bottom: 1px solid var(--mf-color-primary);
}
.MF-profile__right__detailData dl:last-child dd {
  border-bottom: 1px solid #f3e4ea;
}
@media only screen and (min-width: 768px) {
  .MF-profile__right__detailData dt {
    width: 188px;
  }
}
.MF-profile__right__detailData dd {
  flex-shrink: 1;
  flex-grow: 1;
  border-top: 1px solid #f3e4ea;
}

/* プロフィール FAQ */
.MF-profile__right__detailFaq {
  display: grid;
  gap: 16px;
}
@media only screen and (min-width: 768px) {
  .MF-profile__right__detailFaq {
    gap: 20px;
  }
}
.MF-profile__right__detailFaq dl {
  background: #FFF9FB;
  border-radius: var(--mf-mordal-radius);
  padding: 16px;
}
@media only screen and (min-width: 768px) {
  .MF-profile__right__detailFaq dl {
    padding: 24px;
  }
}
.MF-profile__right__detailFaq dt {
  margin-bottom: 16px;
  padding-bottom: 16px;
  font-size: 15px;
  color: var(--mf-color-primary);
  position: relative;
}
@media only screen and (min-width: 768px) {
  .MF-profile__right__detailFaq dt {
    margin-bottom: 20px;
    padding-bottom: 20px;
    font-size: 20px;
  }
}
.MF-profile__right__detailFaq dt:before {
  content: 'Q.';
  display: inline-block;
  margin-right: 10px;
  font-size: 20px;
  font-weight: bold;
  font-family: var(--mf-font-comme);
}
@media only screen and (min-width: 768px) {
  .MF-profile__right__detailFaq dt:before {
    margin-right: 16px;
    font-size: 28px;
  }
}
.MF-profile__right__detailFaq dt:after {
  content: '';
  display: block;
  width: 100%;
  height: 2px;
  background: repeating-linear-gradient(
      to right,
      #fff,
      #fff 2px,
      transparent 2px,
      transparent 4px
  );
  position: absolute;
  bottom: 0;
  left: 0;
}

/*
  一覧へ戻る
*/
.MF-profile__back {
  margin-top: 40px;
  text-align: center;
}
.MF-profile__back .MF-btn--back {
  width: 225px;
}
@media only screen and (min-width: 768px) {
  .MF-profile__back {
    margin-top: 0;
  }
  .MF-profile__back:only-child {
    margin-top: 40px;
  }
  .MF-profile__back .MF-btn--back {
    width: 290px;
  }
}

/*
  投票ボタン（固定）
*/
.MF-profile__actions {
    position: fixed;
    bottom: 0;
    right: 0;
    display: flex;
    justify-content: end;
    border-top: 1px solid #fff;
    border-left: 1px solid #fff;
    border-top-left-radius: 33px;
    z-index: 10;
}
@media only screen and (min-width: 768px) {
    .MF-profile__actions {
        flex-direction: column;
        align-items: center;
        gap: 6px;
        bottom: 12px;
        right: 20px;
        border: none;
    }
}
.MF-profile__voteBtn {
    display: grid;
    place-items: center;
  width: 91px;
  height: 50px;
  /* margin-inline: auto 46px; */
    padding: 8px 16px 4px 26px;
  background: linear-gradient(to right, rgba(35, 109, 245, 0.84), rgba(125, 212, 236, 0.84));
  border: none;
  border-top-left-radius: 32px;
  /* position: sticky; */
  /* bottom: 0; */
  /* z-index: 10; */
  position: relative;
  color: #fff;
  font-size: 12px;
  line-height: 1;
}
.MF-profile__voteBtn img {
    width: 18px;
}
@media only screen and (min-width: 768px) {
  .MF-profile__voteBtn {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    padding: 58px;
    font-size: 21px;
    font-weight: bold;
  }
  .MF-profile__voteBtn:after {
    content: '';
    width: 192px;
    height: 192px;
    background: url("/html/template/default/assets/miss-flash/img/vote/fixed_btn_vote-pc--FORYOU.png") no-repeat center/contain;
    position: absolute;
    top: 4px;
    left: 4px;
  }
  .MF-profile__voteBtn:not(:disabled):hover:after {
    animation: rollingHalf 0.3s linear 0s forwards;
  }
  .MF-profile__voteBtn img {
    width: 45px;
    height: auto;
  }

}
.MF-profile__voteBtn__texts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  text-align: center;
  width: fit-content;
  padding: 2px;
  background: rgba(255, 255, 255, 0.4);
  color: var(--mf-color-primary-text-emphasis);
  font-size: 10px;
  font-weight: 500;
  line-height: 1.2;
  position: absolute;
  bottom: 100%;
  right: 0;
}
.MF-profile__voteBtn__date {
  word-break: break-all;
}
.MF-profile__voteBtn__date span {
  display: inline-block;
}
@media only screen and (min-width: 768px) {
  .MF-profile__voteBtn__texts {
    order: 3;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    width: 200px;
    padding: 0 14px 5.5px;
    background: none;
    border-bottom: 1px solid var(--mf-color-primary-text-emphasis);
    position: relative;
  }
    .MF-profile__voteBtn__title {
        padding-inline: 6px;
        font-size: 14px;
    }
    .MF-profile__voteBtn__title:before,
    .MF-profile__voteBtn__title:after {
        content: '';
        display: block;
        width: 60px;
        height: 1px;
        background: var(--mf-color-primary-text-emphasis);
        position: absolute;
        top: 8px;
    }
    .MF-profile__voteBtn__title:before {
        left: 0;
    }
    .MF-profile__voteBtn__title:after {
        right: 0;
    }
    .MF-profile__voteBtn__date {
        font-size: 16px;
        line-height: 1.2;
    }
}

/* 写真購入ハイパーリンク */
.MF-profile__photoShopLink {
    display: grid;
    place-items: center;
    width: 76px;
    height: 50px;
    padding: 8px 4px 4px;
    background: linear-gradient(to right, rgba(254, 110, 167, 0.84), rgba(255, 146, 190, 0.84));
    border-top-left-radius: 32px;
    font-size: 12px;
    color: #fff;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.MF-profile__photoShopLink.is-active {
    opacity: 1;
    pointer-events: auto;
}
.MF-profile__photoShopLink.is_display_stage_period,
.MF-profile__photoShopLink.is_voting_period {
    border-radius: 0;
}
.MF-profile__photoShopLink:hover {
    color: #fff;
    opacity: 1;
}
.MF-profile__photoShopLink__text {
    line-height: 1;
}
.MF-profile__photoShopLink i {
    font-size: 14px;
    line-height: 1;
    text-align: center;
}
@media only screen and (min-width: 768px) {
    .MF-profile__photoShopLink {
        display: flex;
        gap: 4px;
        justify-content: space-between;
        width: 200px;
        height: 62px;
        padding: 6px 6px 6px 12px;
        background: #fff;
        border-radius: 99px !important;
        padding: 6px;
        font-size: 16px;
        font-weight: bold;
        color: var(--mf-color-primary-text-emphasis);
    }
    .MF-profile__photoShopLink:hover {
        background: linear-gradient(to right, rgba(254, 110, 167, 0.84), rgba(255, 146, 190, 0.84));
        color: #fff;
    }
    .MF-profile__photoShopLink__text {
        flex-grow: 1;
        text-align: center;
    }
    .MF-profile__photoShopLink i {
        display: grid;
        place-items: center;
        width: 50px;
        height: 50px;
        background: linear-gradient(to right, rgba(254, 110, 167, 0.84), rgba(255, 146, 190, 0.84));
        border-radius: 50%;
        font-size: 16px;
        color: #fff;
    }
    .MF-profile__photoShopLink:hover i {
        background: #fff;
        color: var(--mf-color-primary-text-emphasis);
    }
}


/* 写真一覧 */
.MF-photoShop {
    margin-top: 40px;
}
.MF-photoShop__heading {
    display: flex;
    justify-content: center;
    background: #FF76AE;
    border-radius: 5px;
    padding: 15px;
    color: #fff;
}
@media only screen and (min-width: 768px) {
    .MF-photoShop__heading {
        padding: 20px;
        border-radius: 10px;
    }
}
.MF-photoShop__heading h3 {
    font-weight: bold;
    font-size: 1.2em;
    margin-bottom: 1em;
}
.MF-photoShop__heading p + p {
    margin-top: 1em;
}

/* セット商品プレゼント購入リンク(KBS_DCS-513): 商品詳細ページの「プレゼントする」ボタン(.ec-blockBtn--present)と同じ配色・見た目にする。
   カートインボタン用の .MF-profile__photoShopLink とは意図的に別クラスにしている（有料会員ページでも本パーツを読み込むため） */
.MF-photoShop__setLinks {
    display: grid;
    gap: 20px;
    margin-top: 20px;
    margin-bottom: 16px;
}
.MF-photoShop__setPresent {
    background: #fff;
    border: 2px solid #4fc3f7;
    border-radius: 10px;
    padding: 20px;
}
.MF-photoShop__setPresent__sub {
    color: #4fc3f7;
    font-size: 12px;
    text-align: center;
}
.MF-photoShop__setPresent__title {
    margin-top: 10px;
    font-weight: bold;
    font-size: 18px;
    text-align: center;
}
.MF-photoShop__setPresent__desc {
    margin-top: 10px;
}
.MF-photoShop__setPresent__product {
    margin-top: 24px;
}
.MF-photoShop__setPresent__product img {
    display: block;
    margin-inline: auto;
    max-width: 260px;
    height: auto;
}
.MF-photoShop__setPresent__product a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 260px;
    margin-inline: auto;
    padding: 1em 2em;
    background: #4fc3f7;
    border: 2px solid #4fc3f7;
    border-radius: 99px;
    color: #fff;
}
.MF-photoShop__setPresent__product a:after {
    content: '';   
    display: block;
    width: 0.8em;
    aspect-ratio: 1/1;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
    transform: rotate(45deg);
}
@media only screen and (min-width: 768px) {
    .MF-photoShop__setPresent {
        display: flex;
        align-items: center;
        justify-content: space-around;
        gap: 60px;
        border: 4px solid #4fc3f7;
        padding: 40px 60px;
    }
    .MF-photoShop__setPresent__sub {
        font-size: 14px;
        text-align: left;
    }
    .MF-photoShop__setPresent__title {
        font-size: 38px;
        text-align: left;
    }
    .MF-photoShop__setPresent__product {
        margin-top: 0;
    }
}

.MF-photoShop__bulkActions {
    display: flex;
    gap: 12px;
    justify-content: end;
    margin-top: 40px;
    margin-bottom: 12px;
    font-size: 12px;
}
@media only screen and (min-width: 768px) {
    .MF-photoShop__bulkActions {
        font-size: 14px;
    }
}
.MF-photoShop__bulkBtn,
.MF-photoShop__bulkBtn--outline {
    padding: 6px 1em;
    border-radius: 12px;
    border: none;
    background: #dedede;
    /* color: #fff; */
    font-size: inherit;
    font-weight: bold;
}
.MF-photoShop__bulkActions .MF-btn {
    font-size: inherit;
}
.MF-photoShop__bulkActions .MF-btn:disabled {
    background: var(--mf-color-primary) !important;
}

.MF-photoShop .ec-shelfRole {
    margin-top: 20px;
}
@media only screen and (min-width: 768px) {
    .MF-photoShop .ec-shelfRole {
        margin-top: 40px;
    }
}

/* ec-shelfGrid base layout（標準EC-CUBE CSSを読み込まないページ向け） */
.MF-photoShop .ec-shelfGrid {
    display: flex;
    margin-left: 0;
    margin-right: 0;
    flex-wrap: wrap;
    padding: 0;
    list-style: none;
}
@media only screen and (min-width: 768px) {
    .MF-photoShop .ec-shelfGrid {
        margin-left: -16px;
        margin-right: -16px;
    }
}
.MF-photoShop .ec-shelfGrid .ec-shelfGrid__item {
    margin-bottom: 36px;
    width: 50%;
    display: flex;
    flex-direction: column;
}
.MF-photoShop .ec-shelfGrid .ec-shelfGrid__item:nth-child(odd) {
    padding-right: 8px;
}
.MF-photoShop .ec-shelfGrid .ec-shelfGrid__item:nth-child(even) {
    padding-left: 8px;
}
@media only screen and (min-width: 768px) {
    .MF-photoShop .ec-shelfGrid .ec-shelfGrid__item,
    .MF-photoShop .ec-shelfGrid .ec-shelfGrid__item:nth-child(odd),
    .MF-photoShop .ec-shelfGrid .ec-shelfGrid__item:nth-child(even) {
        padding: 0 16px;
        width: 25%;
    }
}
/* position:relative で ::after 疑似要素（購入済み・カート済み・選択中）をボタン内に閉じ込める */
.MF-photoShop .ec-shelfGrid .ec-shelfGrid__item-image {
    position: relative;
    overflow: hidden;
    padding-top: 128%;
}

.MF-photoShop__item__image {
    border: 2px solid transparent;
    background: none;
    padding: 0 !important;
}
@media (hover: hover) {
    .MF-photoShop__item__image:not(.is_in_cart, .is_purchased, .is_selected):hover {
        opacity: 0.8;
    }
}
.MF-photoShop__item__image.is_in_cart::after {
    content: "カート追加済";
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    color: #D6007E;
    font-weight: bold;
    position: absolute;
    top: 0;
    left: 0;
}
.MF-photoShop__item__image.is_purchased::after {
    content: "購入済み";
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.45);
    color: #fff;
    font-weight: bold;
    position: absolute;
    top: 0;
    left: 0;
}
.MF-photoShop__item__image.is_selected {
    color: #D6007E;
    border-color: currentColor;
}
.MF-photoShop__item__image.is_selected::after {
    content: "選択中";
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.5);
    color: currentColor;
    font-weight: bold;
    position: absolute;
    top: 0;
    left: 0;
}
.MF-photoShop__item__image img {
    position: static !important;
    transform: none !important;
}

.MF-photoShop__addCart {
    display: grid;
    place-items: center;
    width: 76px;
    height: 50px;
    padding: 8px 4px 4px;
    background: linear-gradient(to right, rgba(254, 110, 167, 0.84), rgba(255, 146, 190, 0.84));
    border: none;
    border-top-left-radius: 32px;
    font-size: 11px;
    color: #fff;
    position: fixed;
    bottom: 0;
    right: 0;
    z-index: 11;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.MF-photoShop__addCart.is-active {
    opacity: 1;
    pointer-events: auto;
}
.MF-photoShop__addCart i {
    font-size: 16px;
    line-height: 1;
    text-align: center;
}
.MF-photoShop__addCart.is_display_stage_period,
.MF-photoShop__addCart.is_voting_period {
    border-radius: 0;
}

@media only screen and (min-width: 768px) {
    .MF-photoShop__addCart {
        display: flex;
        gap: 4px;
        justify-content: space-between;
        width: 200px;
        height: 62px;
        padding: 6px 6px 6px 12px;
        background: #fff;
        border-radius: 99px !important;
        padding: 6px;
        font-size: 16px;
        font-weight: bold;
        color: var(--mf-color-primary-text-emphasis);
        bottom: 12px;
        right: 20px;
    }
    .MF-photoShop__addCart.is_display_stage_period {
        bottom: 64.5px;
    }
    .MF-photoShop__addCart.is_voting_period {
        bottom: 83.5px;
    }
    .MF-photoShop__addCart:hover {
        background: linear-gradient(to right, rgba(254, 110, 167, 0.84), rgba(255, 146, 190, 0.84));
        color: #fff;
    }
    .MF-photoShop__addCart__text {
        flex-grow: 1;
        text-align: center;
    }
    .MF-photoShop__addCart i {
        display: grid;
        place-items: center;
        width: 50px;
        height: 50px;
        background: linear-gradient(to right, rgba(254, 110, 167, 0.84), rgba(255, 146, 190, 0.84));
        border-radius: 50%;
        font-size: 16px;
        color: #fff;
    }
    .MF-photoShop__addCart:hover i {
        background: #fff;
        color: var(--mf-color-primary-text-emphasis);
    }
}

/*
    アニメーション
 */
@keyframes underLineFloatOnce {
    0% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(100%);
    }
    51% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(0);
    }
}
@keyframes rollingHalf {
    0% {
        transform: rotate(0);
    }
    50% {
        transform: rotate(90deg);
    }
    100% {
        transform: rotate(180deg);
    }
}

/* ─────────────────────────────────────────────────────────────
   画像のダウンロード対策（投票くじ賞品画像と同じ手法）
   対象: プロフィールのメイン写真 と 販売写真グリッドの画像
   右クリック保存・長押し保存・ドラッグ保存をしにくくする
───────────────────────────────────────────────────────────── */
.MF-profile__img img,
.MF-photoShop__item__image img {
    pointer-events: none;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-touch-callout: none;
    -moz-user-select: none;
    user-select: none;
}