@charset "UTF-8";

#main-info {
    padding-top: 100px;
    margin-bottom: 80px;
}
#main-info .item {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    border-top: solid 1px #666;
    border-bottom: solid 1px #666;
    height: calc(100vh - 100px);
}
#main-info .item .img {
    width: 50%;
    height: 100%;
    overflow: hidden;
}
#main-info .item .img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.3);
}
#main-info .item .text {
    width: 50%;
    padding: 5%;
}
#main-info .item .name {
    font-size: 1.875rem;
    font-weight: 500;
    margin-bottom: 40px;
}
#main-info .item .name-ja {
    font-size: 0.875rem;
    margin-left: 30px;
}
#main-info .item .price {
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 40px;
}
#main-info .item .detail {
    margin-bottom: 40px;
    line-height: 1.8;
}
#main-info .item .line {
    width: 100%;
    height: 1px;
    background-color: #666;
    opacity: 0.5;
    margin-bottom: 40px;
}
#main-info .item .cart-btn {
    font-weight: 500;
    color: #fff;
    background-color: #c8afa1;
    width: 100%;
    text-align: center;
    padding: 15px 0;
    display: inline-block;
    margin-bottom: 40px;
    transition: 0.6s;
}
#main-info .item .cart-btn:hover {
    background-color: #666;
}
#main-info .item .another-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    border-radius: 30px;
    color: #666;
    background-color: rgba(200, 175, 161, 0.5);
    transition: 0.6s;
}
#main-info .item .another-btn:hover {
    background-color: #ccc;
}
#main-info .item .another-btn .text,
#main-info .item .another-btn .arrow {
    padding: 15px 20px;
    white-space: nowrap;
}

/*----------------------------------------detail-list----------------------------------------------*/
#detail-list {
    margin-bottom: 120px;
}
#detail-list .inner {
    margin-bottom: 80px;
}
#detail-list .title-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    padding: 50px 0;
}
#detail-list .title-box:hover {
    opacity: 0.5;
}
#detail-list .title-en {
    font-size: 1.375rem;
    margin-left: 20px;
    user-select: none;
    font-weight: 500;
}
#detail-list .title-ja {
    font-size: 0.875rem;
    margin-left: 20px;
    user-select: none;
}
#detail-list .more-btn {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    border: solid 1px #666;
    position: relative;
    margin-right: 20px;
}
#detail-list .more-btn::before {
    content: "";
    width: 15px;
    height: 1px;
    background-color: #666;
    position: absolute;
    top: 11px;
    left: 4px;
}
#detail-list .more-btn::after {
    content: "";
    width: 1px;
    height: 15px;
    background-color: #666;
    position: absolute;
    top: 4px;
    left: 11px;
    opacity: 1;
    transition: 0.8s;
}
#detail-list .more-btn.active::after {
    opacity: 0;
}
#detail-list .answer {
    font-size: 1rem;
    line-height: 1.8;
    margin: 0 0 50px 20px;
    display: none;
}
#detail-list .answer .bold {
    font-weight: 700;
}
#detail-list .answer .blank {
    display: inline-block;
    margin-left: 1em;
}
#detail-list .answer .blank-2 {
    display: inline-block;
    margin-left: 1em;
    margin-bottom: 30px;
}
#detail-list .answer .last {
    margin-bottom: 0;
}
#detail-list .line {
    width: 100%;
    height: 1px;
    background-color: #666;
    opacity: 0.5;
}
#detail-list .cart-btn {
    font-weight: 500;
    color: #fff;
    background-color: #c8afa1;
    display: block;
    width: 100%;
    max-width: 400px;
    padding: 15px;
    margin: 0 auto;
    text-align: center;
    transition: 0.6s;
}
#detail-list .cart-btn:hover {
    background-color: #666;
}

/*----------------------------------------other-products----------------------------------------------*/
#other-products {
    margin-bottom: 120px;
}
#other-products .other-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    margin: 50px 0;
}
#other-products .item {
    padding: 50px;
    border-top: 1px solid #666;
    border-left: 1px solid #666;
    border-bottom: 1px solid #666;
    text-align: center;
}
#other-products .item:nth-child(3n+1) {
    border-left: none;
}
#other-products .item .name {
    font-size: 1.25rem;
    font-weight: 700;
}
#other-products .item .name-ja {
    font-size: 0.625rem;
    margin-bottom: 10px;
}
#other-products .item .price {
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 20px;
}
#other-products .item .img {
    padding: 0 30px;
    margin-bottom: 30px;
    aspect-ratio: 4 / 5;
    overflow: hidden;
}
#other-products .item .img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.5);
}
#other-products .item .detail {
    margin-bottom: 30px;
}
#other-products .item .detail-btn {
    font-size: 0.875rem;
    border: solid 1px #222;
    border-radius: 30px;
    padding: 8px 35px;
    display: inline-block;
    transition: 0.5s;
}
#other-products .item .detail-btn:hover {
    background-color: #222;
    color: #fff;
}
#other-products .btn {
    font-weight: 500;
    color: #fff;
    background-color: #c8afa1;
    border-radius: 15px;
    padding: 10px 55px;
    display: block;
    width: fit-content;
    margin: 0 auto;
    box-shadow: 0px 4px 0px 0px rgba(170, 156, 142, 0.5);
}
#other-products .btn:hover {
    transform: translateY(5px);
    box-shadow: none;
}

/*--------------------------------------add-cart-------------------------------------------*/
.add-cart {
    position: fixed;
    top: 0;
    right: 0;
    width: 360px;
    height: 100vh;
    background: #fff;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    padding: 30px 20px;
    transform: translateX(100%);
    transition: transform 0.5s ease;
    overflow-y: auto;
}
.add-cart.active {
    transform: translateX(0);
}
.add-cart .close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 24px;
    height: 24px;
    cursor: pointer;
}
.add-cart .close span {
    position: absolute;
    width: 100%;
    height: 2px;
    background: #000;
    top: 50%;
    left: 0;
}
.add-cart .close span:first-child {
    transform: rotate(45deg);
}
.add-cart .close span:last-child {
    transform: rotate(-45deg);
}
.add-cart .title {
    margin-top: 15px;
}
.add-cart .item {
    display: flex;
    gap: 16px;
    margin: 30px 0;
}
.add-cart .img {
    overflow: hidden;
    width: 80px;
}
.add-cart .img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.5);
}
.add-cart .text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.add-cart .text .name {
    margin-bottom: 5px;
}
.add-cart .cart-link,
.add-cart .buy-btn {
    display: block;
    width: 100%;
    text-align: center;
    padding: 12px;
    margin-top: 20px;
    text-decoration: none;
    border: 1px solid #000;
}
.add-cart .buy-btn {
    background: #000;
    color: #fff;
}
.add-cart .note {
    font-size: 0.75rem;
    margin-bottom: 30px;
}
.add-cart .close-link {
    text-align: center;
    cursor: pointer;
    border-bottom: solid 1px #666;
    display: inline-block;
    margin: 0 auto;
}



/*---------------------------------------
--------------スマートフォン-----------------------------*/
@media screen and (max-width: 767px) {
    #main-info {
        margin-bottom: 50px;
    }
    #main-info .item {
        flex-direction: column;
        align-items: center;
    }
    #main-info .item .img {
        width: 100%;
        height: 100%;
    }
    #main-info .item .img img {
        width: 100%;
        height: 100%;
        transform: scale(1);
    }
    #main-info .item .text {
        width: 100%;
    }
    #main-info .item .name {
        font-size: 1.5rem;
        margin-bottom: 30px;
    }
    #main-info .item .name-ja {
        display: block;
        font-size: 0.75rem;
        margin-left: 2em;
    }
    #main-info .item .price {
        margin-bottom: 30px;
    }
    #main-info .item .detail {
        margin-bottom: 30px;
    }
    #main-info .item .line {
        margin-bottom: 30px;
    }
    #main-info .item .cart-btn {
        padding: 12px 0;
        margin-bottom: 30px;
    }
    #main-info .item .another-btn .text,
    #main-info .item .another-btn .arrow {
        padding: 12px 20px;
    }

/*----------------------------------------detail-list----------------------------------------------*/
    #detail-list {
        margin-bottom: 80px;
    }
    #detail-list .inner {
        margin-bottom: 50px;
    }
    #detail-list .title-box {
        padding: 35px 0;
    }
    #detail-list .title-en {
        font-size: 1.15rem;
    }
    #detail-list .title-ja {
        font-size: 0.75rem;
    }
    #detail-list .answer {
        margin: 0 0 35px 20px;
    }
    #detail-list .answer .blank-2 {
        margin-bottom: 20px;
    }

/*----------------------------------------other-products----------------------------------------------*/
    #other-products {
        margin-bottom: 80px;
    }
    #other-products .other-list {
        grid-template-columns: 1fr;
    }
    #other-products .item {
        padding: 30px 50px;
        border-top: none;
        border-left: none;
        border-bottom: 1px solid #666;
    }
    #other-products .item:first-child {
        border-top: 1px solid #666;
    }
    #other-products .btn {
        box-shadow: none;
    }

/*--------------------------------------add-cart-------------------------------------------*/
.add-cart {
    position: fixed;
    top: 0;
    right: 0;
    width: 360px;
    height: 100vh;
    background: #fff;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    padding: 30px 20px;
    transform: translateX(100%);
    transition: transform 0.5s ease;
    overflow-y: auto;
}
.add-cart.active {
    transform: translateX(0);
}
.add-cart .close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 24px;
    height: 24px;
    cursor: pointer;
}
.add-cart .close span {
    position: absolute;
    width: 100%;
    height: 2px;
    background: #000;
    top: 50%;
    left: 0;
}
.add-cart .close span:first-child {
    transform: rotate(45deg);
}
.add-cart .close span:last-child {
    transform: rotate(-45deg);
}
.add-cart .title {
    margin-top: 15px;
}
.add-cart .item {
    display: flex;
    gap: 16px;
    margin: 30px 0;
}
.add-cart .img img {
    width: 80px;
    height: auto;
}
.add-cart .text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.add-cart .text .name {
    margin-bottom: 5px;
}
.add-cart .cart-link,
.add-cart .buy-btn {
    display: block;
    width: 100%;
    text-align: center;
    padding: 12px;
    margin-top: 20px;
    text-decoration: none;
    border: 1px solid #000;
}
.add-cart .buy-btn {
    background: #000;
    color: #fff;
}
.add-cart .note {
    font-size: 0.75rem;
    margin-bottom: 30px;
}
.add-cart .close-link {
    text-align: center;
    cursor: pointer;
    border-bottom: solid 1px #666;
    display: inline-block;
    margin: 0 auto;
}


}