@charset "utf-8";

/* ==================================================================

    product.css

=================================================================== */

/* --------------------------------
■table_grid
-------------------------------- */ 
#itemList{
    p.text{
        margin-bottom: 76px;
    }

    .grid_box{
        li{
            position: relative;
            &.soldout{
                &::before{
                    content: '売り切れ';
                    position: absolute;
                    top: 13px;
                    left: 13px;
                    z-index: 1;

                    display: inline-block;
                    font-size: 1.5rem;
                    line-height: 1.1;
                    padding: 4px;
                    font-weight: 500;
                    color: #fff;
                    background-color: #C77171;
                }
            }
            &.negotiation{
                pointer-events: none;
                &::before{
                    content: '商談中';
                    position: absolute;
                    top: 13px;
                    left: 13px;
                    z-index: 1;

                    display: inline-block;
                    font-size: 1.5rem;
                    line-height: 1.1;
                    padding: 4px;
                    font-weight: 500;
                    color: #fff;
                    background-color: #C77171;
                }
            }
            a{
                display: block;
                text-decoration: none;
                transition: 0.3s;
                &:hover{
                    opacity: 0.7;
                    figure{
                        img{
                            transform: scale(1.05);
                        }
                    }
                }
            }
            figure{
                .image{
                    overflow: hidden;
                    img{
                        transition: 0.3s;
                        width: 100%;
                        height: auto;
                    }
                    margin-bottom: 14px;
                }

                figcaption{
                    padding: 10px;
                    p{
                        font-size: 1.5rem;
                        font-weight: 500;
                        text-align: center;
                    }
                }
            }
        }
    }
}

/* --------------------------------
■table_grid
-------------------------------- */ 
.table_grid{
    .item{
        background: #fff;
        padding: 0 34px 57px 34px;
        border-right: 1px solid #E4E4E4;

        .title{
            font-size: 2.0rem;
            background: #1C1C1C;
            color: #fff;
            padding: 12px 20px;
            margin-left: -34px;
            margin-right: -34px;
            width: calc(100% + 68px);
            text-align: center;
        }
        
        .description{
            font-size: 1.6rem;
            text-align: center;
            margin: 24px 0 14px 0;
        }
        
        .image{
            text-align: center;
            img{
                max-width: 60%;
                width: 100%;
                height: auto;
            }
        }

        .buttonStyle{
            text-align: center;
            margin: 22px 0 0 0;
            a{
                width: 100%;
            }
        }

        .tableStyle{
            width: 100%;
            td{
                text-align: right;
            }
        }
    }

    & + .remarks{
        margin-top: 19px;
        font-size: 1.3rem;
    }
}

/* --------------------------------
■flowList
-------------------------------- */
.flowList{

    > li{
        position: relative;
        background: #fff;
        border: 1px solid #D4D4D4;

        & + li{
            margin-top: 46px;
        }

        &::before{
            content: '';
            position: absolute;
            bottom: -30px;
            left: 84px;
            width: 16px;
            height: 51px;
            background: url(../../images/common/icon/flow_arrow.svg) no-repeat center center / contain;
        }

        &:last-child{
            &::before{
                display: none;
            }
        }

        >dl{
            align-items: center;
            justify-content: space-between;
            gap: 34px;

            @media only screen and (max-width: 767px) {
                padding: 4vw 4vw 8vw 4vw;
                gap: 4vw;
            }

            dt{
                font-size: 2.0rem;
                font-weight: 500;
                width: calc(34.201954397% - 34px);
                flex-shrink: 0;
                padding:37px 0 37px 72px;

                @media only screen and (max-width: 767px) {
                    width: 100%;
                    padding: 0;
                    font-size: 1.6rem;
                }

                .en{
                    display: inline-block;
                    font-size: 3.6rem;
                    font-weight: 500;
                    margin-right: 8px;

                    @media screen and (max-width: 767px) {
                        font-size: 2.4rem;
                    }
                }
                
            }
            dd{
                flex-grow: 1;
                padding:37px 37px 37px 0;

                @media only screen and (max-width: 767px) {
                    padding: 0;
                }
            }
        }
    }

    & + .buttonStyle{
        margin-top: 52px;

        @media only screen and (max-width: 767px) {
            margin-top: 4vw;
        }
    }
}
