@charset "UTF-8";

/* button　ーーーーーーーーーーーー */
.gcp-buttonWrap{
    text-align: center;
    margin-bottom: 10px;
}

.gcp-buttonItem{
    width: 100%;
    background: #948779;
    border: none;
    color: #FFF;
    padding: 1rem;
    height: clamp(6.25rem, 5.962rem + 1.28vw, 7.5rem);
    font-size: 20px;
    letter-spacing: 0.075rem;
    border-radius: clamp(1.25rem, 1.192rem + 0.26vw, 1.5rem);
}

.gcp-buttonItemText{
    margin-right: -24px;
    position: relative;
    
    &::before{
        background: url("../images/illust-icon.svg") no-repeat center center / contain;
        aspect-ratio: 1 / 1;
        display: block;
        content: "";
        width: 24px;
        position: absolute;
        left: -40px;
        top: 50%;
        transform: translateY(-50%);
    }
}

/* POP UP　ーーーーーーーーーーーー */
.gcp-popup {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.6);
  z-index: 1000;

  p{
    margin: 0;
  }

  ul{
    margin: 0;
    list-style: none;
  }
}

.gcp-popup-contentWrap {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    width: min(696px,90%);
    border-radius: 24px;
}

/* head　ーーーーーーーーーーーー */
.gcp-popup-close,
.gcp-popup-prev {
    position: absolute;
    top: clamp(6px, calc(12px + (-6) * ((100vw - 360px) / 1560)), 12px);
    right: clamp(6px, calc(12px + (-6) * ((100vw - 360px) / 1560)), 12px);
    background: none;
    border: none;
    width: clamp(1.5rem, 1.154rem + 1.54vw, 3rem);
    height: clamp(1.5rem, 1.154rem + 1.54vw, 3rem);
}

.gcp-popup-prev{
    right: initial;
    left: clamp(6px, calc(12px + (-6) * ((100vw - 360px) / 1560)), 12px);
}

.gcp-popup-close-line{
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;
    width: clamp(1.5rem, 1.385rem + 0.51vw, 2rem);
    height: clamp(0.125rem, 0.111rem + 0.06vw, 0.188rem);
    transition: inherit;

    &::before,
    &::after{
        position: absolute;
        display: block;
        width: 100%;
        height: 100%;
        content: "";
        transition: inherit;
        background-color: #AAAAAA;
        border-radius: 99vw;
    }

    &::before{
        transform: rotate(45deg);
    }

    &::after{
        transform: rotate(-45deg);
    }
}

.gcp-popup-prev-line{
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;
    width: clamp(1.5rem, 1.385rem + 0.51vw, 2rem);
    height: clamp(0.125rem, 0.111rem + 0.06vw, 0.188rem);
    transition: inherit;

    &::before,
    &::after{
        content: "";
        width: clamp(0.938rem, 0.865rem + 0.32vw, 1.25rem);
        height: clamp(0.125rem, 0.111rem + 0.06vw, 0.188rem);
        display: inline-block;
        border-radius: 2px;
        background-color: #AAAAAA;
        position: absolute;
        left: 0;
    }

    &::before{
        top: calc(50% - clamp(0.375rem, 0.346rem + 0.13vw, 0.5rem));
        transform: rotate(-45deg);
    }

    &::after{
        bottom: calc(50% - clamp(0.375rem, 0.346rem + 0.13vw, 0.5rem));
        transform: rotate(45deg);
    }
    
}

.gcp-popup-headWrap{
    padding: 18px 16px 16px;
    border-bottom: 1px solid #E6E6E6;
}

.gcp-popup-content--title{
    text-align: center;

    & .title{
        font-size: clamp(1rem, 0.885rem + 0.51vw, 1.5rem);
        font-weight: 700;
        line-height: 1;
    }
}

/* body　ーーーーーーーーーーーー */
.gcp-popup-bodyWrap{
    padding: 16px;
    height: clamp(22.5rem, 20.481rem + 8.97vw, 31.25rem);
    overflow-y: scroll;
    position: relative;
}

/* inner */
.gcp-popup-bodyInner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: min(408px, 100%);
    margin-inline: auto;

    & .img{
        text-align: center;

        img{
            width: clamp(15rem, 13.846rem + 5.13vw, 20rem);
        }
    }

    & .text{
        margin-top: 14px;

        input {
            width: 100%;
            padding: 24px;
            border-radius: 12px;
            box-sizing: border-box;
            vertical-align: middle;
        }

        textarea{
            width: 100%;
            box-sizing: border-box;
            border-radius: 12px;
            resize: none;
            padding: 12px;
            aspect-ratio: 17 / 5;
        }
    }

    & .completion{
        color: #AAAAAA;
        font-size: clamp(1rem, 0.885rem + 0.51vw, 1.5rem);
        text-align: center;
        font-weight: 500;
    }

    & .attentionWrap{
        margin-top: 16px;
        font-family: "Lucida Sans Unicode", "Lucida Grande";
        font-weight: 500;

        & .attentionItem{
            font-size: 12px;
            color: #B81C22;

            &::before{
                content: "・";
                display: inline-block;
            }

            &:not(:first-child){
                margin-top: 2px;
            }
        }
    }
}

/* list */
.gcp-popup-content--listInner{
    display: grid;
    grid-gap: 10px;
    padding: 0;
}

.gcp-popup-content--listInner.gcp-column{
    grid-template-columns: repeat(auto-fit, minmax(96px, 1fr));

    & .gcp-popup-content--listItem{
        padding: 10px 0;
        min-height: 68px;
    }

    & .title{
        font-size: 10px;
        font-weight: 700;
        color: #4D4D4D;
    }
}

.gcp-popup-content--listItem{
    text-align: center;
    outline: 1px solid #AAAAAA;
    padding: 14px;

    & .title{
        font-weight: 700;
        color: #AAAAAA;
    }

    & .img {
        margin-top: 10px;

        /* img{
            width: min(240px, 100%);
        } */
    }

    & .color {
        background: black;
        aspect-ratio: 8 / 5;
        width: 64px;
        margin-inline: auto;
        margin-top: 10px;
    }
}

.gcp-popup-content--listItem.is-active{
    outline: 4px solid #948779;
}


/* footer　ーーーーーーーーーーーー */
.gcp-popup-footerWrap{
    text-align: center;
    padding: 16px;
    border-top: 1px solid #E6E6E6;
}

.gcp-popup-finish,
.gcp-popup-next{
    background: #948779;
    border: none;
    font-size: 20px;
    color: #fff;
    width: min(144px,100%);
    padding: 16px;
    border-radius: 6px;
}

@media screen and (max-width: 576px) {
    .gcp-popup-bodyInner{
        position: initial;
        transform: none;
    }
}


/* animation */
.gcp-buttonItem:hover,
.gcp-buttonItem:focus,
.gcp-buttonItem:active,
.gcp-buttonItem.active,
.gcp-buttonItem.disabled,
.gcp-buttonItem[disabled],
.gcp-popup-finish:hover,
.gcp-popup-finish:focus,
.gcp-popup-finish:active,
.gcp-popup-finish.active,
.gcp-popup-finish.disabled,
.gcp-popup-finish[disabled],
.gcp-popup-next:hover,
.gcp-popup-next:focus,
.gcp-popup-next:active,
.gcp-popup-next.active,
.gcp-popup-next.disabled,
.gcp-popup-next[disabled],
.gcp-popup-close:hover,
.gcp-popup-close:focus,
.gcp-popup-close:active,
.gcp-popup-close.active,
.gcp-popup-close.disabled,
.gcp-popup-close[disabled],
.gcp-popup-prev:hover,
.gcp-popup-prev:focus,
.gcp-popup-prev:active,
.gcp-popup-prev.active,
.gcp-popup-prev.disabled,
.gcp-popup-prev[disabled] {
  opacity: 0.85;
}


/* additional styles */
.gcp-popup-content--listWrap {
    display: none;
}
.gcp-popup-content--listWrap.is-selected {
    display: block;
}

.gcp-popup-bodyInner {
    display: none;
}
.gcp-popup-bodyInner.is-selected {
    display: block;
}

#custom-info.table th {
    width: 40%;
    border-right: 1px solid #ddd;
}
#custom-info.table td {
    width: 60%;
}
#custom-info.table tr:last-child th,
#custom-info.table tr:last-child td {
    border-bottom: 1px solid #ddd;
}
