@tailwind base;
@tailwind components;
@tailwind utilities;

:root {
    --font-gold-color: #dac166;
    font-size: 12px;
    scroll-behavior: auto;
}

body {
    background: var(--bg) url("../image/01_bg/bg_subpage.png") no-repeat;
    background-size: 100% auto;
    font-family: var(--unnamed-font-family-meiryo), sans-serif;
    color: var(--unnamed-color-ffffff);
    font-style: normal;
}

.no-scroll {
    overflow: hidden;
}

.font-noto {
    font-family: var(--unnamed-font-family-meiryo), sans-serif;
}

h1 {
    font-size: 2rem;
    text-align: center;
    font-weight: 700;
    font-family: var(--unnamed-font-family-orbitron);
    padding-top: 3rem;
    padding-bottom: 4rem;
}

h2 {
    font-size: 1.3rem;
    text-align: center;
    font-weight: 700;
    font-family: var(--unnamed-font-family-orbitron);
    padding-bottom: 1.5rem;
}

hr {
    height: 0;
    border-color: #C1AE68;
    opacity: 1;
}

.font-gold {
    color: var(--font-gold-color);
}

.font-white {
    color: var(--unnamed-color-ffffff);
}

.custom-underline {
    border-bottom: 1px solid var(--unnamed-color-ffffff);
    padding-bottom: 5px;
}

.text-fade-out {
    position: relative;
    height: 3em;
    overflow: hidden;
}

.border-left-line {
    border-left: 0.5rem solid;
    padding-left: 0.5rem;
    border-color: var(--popbg);
}

.border-y-line {
    border-top: 1px solid;
    border-bottom: 1px solid;
    border-color: var(--popbg);
    padding: 1rem 0;
}

.question {
    color: var(--popbg);
    font-size: 1.5rem;
    font-weight: 700;
    text-align: left;
    padding-top: 3rem;
    padding-bottom: 0.5rem !important;
}

.breadcrumb-item.active {
    color: white;
}

.breadcrumb-item+.breadcrumb-item::before {
    content: ">";
    padding: 0 0.5rem;
    color: white;
}

.act-head {
    color: var(--popbg);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem !important;
    margin-top: 1.5rem !important;
    text-align: left;
}

.policy-head {
    color: var(--popbg);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem !important;
    margin-top: 1.5rem !important;
    text-align: left;
}

.policy-head::before {
    content: '■'
}

.disc-list {
    list-style-type: disc;
}

footer li:after {
    content: '｜';
    margin: 0 1em;
}

@media only screen and (max-width: 768px) {
    .footer li:after {
        margin: 0 0.5em;
    }
}

footer li:last-child:after {
    display: none;
}

.section-border {
    width: 100%;
    list-style: none;
    color: white;
    background: var(--unnamed-color-000000) 0% 0% no-repeat padding-box;
    border: 2px solid var(--header);
    /* background-color: black; */
    /* border-image-source: url("https://dnpr7l8b67ntb.cloudfront.net/frame.png"); */
    /* border-image-slice: 86; */
    /* border-image-width: 43px; */
    /* border-image-outset: 11px; */
    /* border-image-repeat: round; */
    min-height: 60px;
}

.list-item {
    padding: 1em 0;
}

.list-item::before {
    content: '';
    height: 1.2em;
    width: 0.6em;
    background: #c1ae68;
    margin: 0 0.5em 0 0;
}

.form-container {
    width: 80%;
    max-width: 800px
}

.model-content-square {
    border-radius: 0 !important;
}

.text-fade-out::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3.0em;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #333333);
}

.scroll-box {
    background: var(--unnamed-color-ffffff) 0 0 no-repeat padding-box;
    color: var(--unnamed-color-000000);
    /* border: 1px solid #C1AE68; */
    opacity: 1;

}

.pink-btn {
    color: var(--unnamed-color-ffffff);
    font: normal normal bold var(--unnamed-font-family-meiryo);
    font-size: 0.9em;
    background: #F164FC 0% 0% no-repeat padding-box;
    box-shadow: inset 0px -5px 0px #C900C9, 0px 5px 0px #0000004D;
    border-radius: 36px;
    opacity: 1;
}

.product-category-label {
    display: inline-block;
    width: 100%;
    background: var(--unnamed-color-ffffff) 0% 0% no-repeat padding-box;
    color: var(--text);
    text-align: center;
    font: var(--unnamed-font-style-normal) normal var(--unnamed-font-weight-bold) var(--unnamed-font-family-source-sans-pro);
}

.product-labels {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-right: -1%;
}

.product-labels .text-labels {
    flex-grow: 1;
    display: flex;
    margin-top: 0.2em;
}

.product-labels .text-labels .label {
    display: inline-block;
    background: #9B832A;
    color: white;
    font-size: 0.7em;
    text-align: center;
    line-height: 2em;
    width: 6em;
    height: 2em;
    margin-right: 0.4em;
    margin-bottom: 0.2em;
}

.product-labels .recommend {
    margin-top: 0.1em;
    height: 1.7em;
}

.product-description {
    font-size: 0.8em;
}

.product-limitation {
    /* border-top: solid 0.1em #707070; */
    /* border-bottom: solid 0.1em #707070; */
    padding-top: 0.4em;
    padding-bottom: 0.4em;
}

.product-limitation .sales-period-caption {
    text-align: center;
    color: #9B832A;
    font-size: 0.8em;
}

.product-limitation .sales-period {
    text-align: center;
    font-size: 0.8em;
    margin-top: -0.3em;
}

.product-limitation .rest-num {
    text-align: center;
    color: var(--unnamed-color-ffffff);
    font-size: 0.8em;
    padding-top: 0.4em;
}

.product-limitation .rest-num span {
    color: var(--pop_text);
}

.product-sold-out {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1;
    background-color: #000000AA;
}

.product-sold-out p {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2em;
}

.text-block {
    margin-bottom: 1rem;
}

/* ----------------------------------------------------------------------------- */
/* a tag */
/* ----------------------------------------------------------------------------- */
a,
a:hover,
a:visited {
    color: inherit;
}

/* ----------------------------------------------------------------------------- */
/* pagination */
/* ----------------------------------------------------------------------------- */

.pagination {
    margin: auto;
    padding: 2rem;
}

.pagination ul {
    list-style: none;
    display: flex;
    justify-content: center;
    margin: auto;
    padding: 0;
}

.pagination li {
    margin: 0 5px;
}

.pagination a {
    text-decoration: none;
    color: var(--green);
    padding: 5px 10px;
    border: 1px solid var(--green);
    border-radius: 20px;
    transition: background-color 0.3s;
}

.pagination a {
    background-color: black;
}

.pagination a.active {
    background-color: var(--green);
    color: var(--unnamed-color-000000);
    border-color: var(--green);
}

/* ----------------------------------------------------------------------------- */
/* Slick */
/* ----------------------------------------------------------------------------- */

.dots-class button {
    display: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    outline: none;
    padding: 0;
    border: none;
    background-color: transparent;
}

.dots-class {
    position: absolute;
    width: 100%;
    padding-left: 0;
    padding-inline-start: 0px;
    list-style: none;
    display: flex;
    justify-content: center;
    margin-top: 0.5rem;
}

.dots-class li {
    width: 14px;
    height: 14px;
    background-color: transparent;
    border: 2px solid var(--green);
    border-radius: 100%;
    margin: 5px 0 0 5px;
    cursor: pointer;
    transition: background-color .5s ease;
}

.dots-class li.slick-active {
    background-color: var(--green);
}

.dots-class li:hover {
    background-color: var(--green);
}

.dots-class li:last-child {
    margin-right: 0;
}

.slide-arrow {
    bottom: 0;
    cursor: pointer;
    margin: auto;
    position: absolute;
    top: 0;
    width: 5%;
}

@media (max-width: 768px) {
    .slide-arrow {
        display: none !important;
    }
}

.slide-arrow::before {
    content: "";
    display: block;
    padding-top: 100%;
}

.prev-arrow {
    left: -13%;
}

.next-arrow {
    right: -13%;
}

/* ----------------------------------------------------------------------------- */
/*  */
/* ----------------------------------------------------------------------------- */

.footer-social {
    max-width: 354px;
    width: 45%;
    top: 84%;
    inset-inline-start: 50%;
    transform: translate(-50%, -50%);
}

.footer-logo {
    width: 80%;
    top: 40%;
    inset-inline-start: 50%;
    transform: translate(-50%, -50%);
}

.footer-app {
    width: 80%;
    top: 64%;
    inset-inline-start: 50%;
    transform: translate(-50%, -50%);
}

.gsi-material-button {
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    -webkit-appearance: none;
    background-color: #f2f2f2;
    background-image: none;
    border: none;
    -webkit-border-radius: 20px;
    border-radius: 20px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    color: #1f1f1f;
    cursor: pointer;
    font-family: 'Roboto', arial, sans-serif;
    font-size: 14px;
    height: 40px;
    letter-spacing: 0.25px;
    outline: none;
    overflow: hidden;
    padding: 0 12px;
    position: relative;
    text-align: center;
    -webkit-transition: background-color .218s, border-color .218s, box-shadow .218s;
    transition: background-color .218s, border-color .218s, box-shadow .218s;
    vertical-align: middle;
    white-space: nowrap;
    width: auto;
    max-width: 400px;
    min-width: min-content;
}

.gsi-material-button .gsi-material-button-icon {
    height: 20px;
    margin-right: 12px;
    min-width: 20px;
    width: 20px;
}

.gsi-material-button .gsi-material-button-content-wrapper {
    -webkit-align-items: center;
    align-items: center;
    display: flex;
    -webkit-flex-direction: row;
    flex-direction: row;
    -webkit-flex-wrap: nowrap;
    flex-wrap: nowrap;
    height: 100%;
    justify-content: space-between;
    position: relative;
    width: 100%;
}

.gsi-material-button .gsi-material-button-contents {
    -webkit-flex-grow: 1;
    flex-grow: 1;
    font-family: 'Roboto', arial, sans-serif;
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
    vertical-align: top;
}

.gsi-material-button .gsi-material-button-state {
    -webkit-transition: opacity .218s;
    transition: opacity .218s;
    bottom: 0;
    left: 0;
    opacity: 0;
    position: absolute;
    right: 0;
    top: 0;
}

.gsi-material-button:disabled {
    cursor: default;
    background-color: #ffffff61;
}

.gsi-material-button:disabled .gsi-material-button-state {
    background-color: #1f1f1f1f;
}

.gsi-material-button:disabled .gsi-material-button-contents {
    opacity: 38%;
}

.gsi-material-button:disabled .gsi-material-button-icon {
    opacity: 38%;
}

.gsi-material-button:not(:disabled):active .gsi-material-button-state,
.gsi-material-button:not(:disabled):focus .gsi-material-button-state {
    background-color: #001d35;
    opacity: 12%;
}

.gsi-material-button:not(:disabled):hover {
    -webkit-box-shadow: 0 1px 2px 0 rgba(60, 64, 67, .30), 0 1px 3px 1px rgba(60, 64, 67, .15);
    box-shadow: 0 1px 2px 0 rgba(60, 64, 67, .30), 0 1px 3px 1px rgba(60, 64, 67, .15);
}

.gsi-material-button:not(:disabled):hover .gsi-material-button-state {
    background-color: #001d35;
    opacity: 8%;
}

.apple-signin-button {
    background-color: black;
    color: white;
    padding: 10px 50px;
    border: none;
    border-radius: 20px;
    font-size: 14px;
    font-weight: bold;
    text-align: center;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.apple-signin-button img {
    margin-right: 10px;
}

@media (min-width: 768px) {
    :root {
        font-size: 17px;
    }

    .footer-social {
        max-width: 354px;
        width: 25%;
        inset-inline-start: 73%;
        top: 67%;
        transform: translate(0, 0);
    }

    .footer-logo {
        width: 45%;
        top: 55%;
        inset-inline-start: 2%;
        transform: translate(0, 0);
    }

    .footer-app {
        width: 20%;
        top: 64%;
        inset-inline-start: 48%;
        transform: translate(0, 0);
    }
}

.top-product-font-size {
    font-size: calc((100vw - 6rem) * 0.072);
}

@media (min-width: 768px) {
    .top-product-font-size {
        font-size: calc((100vw - 17rem) * 0.037);
    }
}

@media (min-width: 992px) {
    .top-product-font-size {
        font-size: calc((100vw - 22rem) * 0.024);
    }
}

@media (min-width: 1200px) {
    .top-product-font-size {
        font-size: calc((100vw - 22rem) * 0.019);
    }
}

.product-detail-labels-font-size {
    font-size: min(24px, calc((100vw - 6rem) * 0.064));
}

button.djk-primary-button:disabled {
    filter: grayscale(1) !important;
    color: #AAAAAA !important;
}

a.djk-primary-button[disabled] {
    filter: grayscale(1) !important;
    color: #AAAAAA !important;
    pointer-events: none;
}

button.djk-secondary-button:disabled {
    filter: grayscale(1) !important;
    color: #AAAAAA !important;
}

a.djk-secondary-button[disabled] {
    filter: grayscale(1) !important;
    color: #AAAAAA !important;
    pointer-events: none;
}

.djk-password-wrapper {
    position: relative;
}

.djk-password-wrapper .password-eye {
    position: absolute;
    top: 50%;
    right: 10px;
    width: 1.5rem;
    height: 1.2rem;
    background-image: url("../image/05_button/eye_close_b.png");
    background-size: auto 100%;
    background-repeat: no-repeat;
    transform: translate(0, -50%);
}

.djk-password-wrapper .password-eye.open {
    background-image: url("../image/05_button/eye_open_b.png");
}

/* 入力エラーのスタイル */
input[type=text]:required,
input[type=email]:required,
input[type=email]:invalid,
input[type=password]:required,
input[type=password]:invalid,
input[type=date]:invalid,
textarea:required {
    color: #630015 !important;
    border-color: #c20c33 !important;
    background-color: #ffd9e1 !important;
}

/* 入力値が正常な時のスタイル */
input[type=text]:valid,
input[type=email]:valid,
input[type=password]:valid,
input[type=date]:valid,
textarea:valid {
    color: #333 !important;
    border-color: #ccc !important;
    background: #fff !important;
}

/** オートフィルで入力枠が白くなるのを防ぐ **/
/* input:-webkit-autofill {
    box-shadow: 0 0 0 1000px #0E101F inset !important;
    -webkit-text-fill-color: #fff !important;
} */

/* input:-webkit-autofill:focus {
    caret-color: #fff !important;
} */

/** 下に装飾線を引く見出し **/
.caption-with-line {
    padding-top: 1.2rem;
    padding-bottom: 1.2rem;
    margin-bottom: 2rem;
    position: relative;
}

h2.caption-with-line {
    padding-bottom: 0.8rem;
}

.caption-with-line::before {
    position: absolute;
    left: 0;
    bottom: 0;
    content: "　";
    display: block;
    width: 50%;
    height: 0;
    border-image-source: url("https://dnpr7l8b67ntb.cloudfront.net/decorationLine.png");
    border-image-slice: 0 74 16 1;
    border-image-width: 16px 76px;
    border-bottom: solid 1rem;
    transform: scaleX(-1);
}

.caption-with-line::after {
    position: absolute;
    right: 0;
    bottom: 0;
    content: "　";
    display: block;
    width: 50%;
    height: 0;
    border-image-source: url("https://dnpr7l8b67ntb.cloudfront.net/decorationLine.png");
    border-image-slice: 0 74 16 1;
    border-image-width: 16px 76px;
    border-bottom: solid 1rem;
}

.caption-inframe {
    display: inline-block;
    margin: 0 auto;
    min-width: 18em;
    text-align: center;
    line-height: 2em;
    padding: 0.1em 0.5em 0;
    border: 0.1em solid #C1AE68;
    font-size: 1em;
    background: #000000;
    color: var(--font-gold-color);
}

.icon-download {
    height: 1rem;
    width: 1rem;
    background-image: url("https://dnpr7l8b67ntb.cloudfront.net/common_icon_download.png");
    background-size: contain;
}

.notice-frame {
    background: #333333 0 0 no-repeat padding-box;
    border: 2px solid #C1AE68;
    color: white;
}

.bs-checkbox {
    width: 30px;
    height: 30px;
}

a.external-link {
    color: var(--font-gold-color);
}

.vertical-scroll-area {
    overflow-y: scroll;
    overflow-x: hidden;
}

.vertical-scroll-area::-webkit-scrollbar {
    width: 0.5em;
}

.vertical-scroll-area::-webkit-scrollbar-track {
    background-color: #333333;
    border-radius: 0.25em;
}

.vertical-scroll-area::-webkit-scrollbar-thumb {
    background-color: #9b832a;
    border-radius: 0.25em;
}

.notification-item {
    padding: 0.3em 0 0.4em 0em;
}

.notification-item:not(:first-child) {
    padding-top: 0.6em;
    border-top: solid 0.05em #C1AE68;
}

.notification-item .time {
    display: flex;
    margin: 0 1em 0.5em 0;
    align-items: flex-start;
}

.notification-item .time::before {
    content: '';
    font-size: 0.9em;
    width: 3em;
    text-align: center;
    margin-right: 0.8em;
}

.notification-item .time:not(.new)::before {
    content: '　';
    background-image: url("https://dnpr7l8b67ntb.cloudfront.net/icon_star.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.notification-item .time.new::before {
    content: 'NEW';
    color: #C1AE68;
    border: solid 0.1em #C1AE68;
}

@media (min-width: 768px) {
    .notification-item .time {
        margin-bottom: 0;
    }
}

.bs-select {
    position: relative;
    display: inline-block;
}

.bs-select::after {
    content: '';
    display: block;
    position: absolute;
    top: 50%;
    right: 0.8rem;
    height: 0.7rem;
    width: 1.14rem;
    background-color: #C1AE68;
    transform: translateY(-50%);
    clip-path: polygon(0 0, 100% 0, 50% 100%);
    pointer-events: none;
}

/* ----------------------------------------------------------------------------- */
/* チェックボックス */
/* ----------------------------------------------------------------------------- */

input[type="checkbox"] {
    background: var(--unnamed-color-ffffff) 0% 0% no-repeat padding-box;
    border: 1px solid #D0D0D0;
    border-radius: 5px;
    position: relative;
    width: 16px;
    height: 16px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

input[type="checkbox"]:checked:before {
    position: absolute;
    top: 1px;
    left: 4px;
    transform: rotate(50deg);
    width: 4px;
    height: 8px;
    border-right: 2px solid var(--text);
    border-bottom: 2px solid var(--text);
    content: '';
}