@charset "UTF-8";

/* ========================================
   Google Fonts
======================================== */

@import url("https://fonts.googleapis.com/css2?family=M+PLUS+Rounded+1c:wght@400;500;700&display=swap");

/* ========================================
   CSS Variables
======================================== */

:root{

    --color-primary:#ff6b8b;
    --color-primary-light:#ff8fab;
    --color-primary-pale:#fff0f4;

    --color-text:#3f342c;
    --color-sub:#6f635a;

    --color-bg:#faf8f6;
    --color-white:#ffffff;

    --shadow-small:0 2px 10px rgba(0,0,0,.05);
    --shadow-medium:0 10px 30px rgba(0,0,0,.08);

    --radius-small:12px;
    --radius-medium:20px;
    --radius-large:30px;

    --transition:.3s ease;

    --max-width:1200px;

}

/* ========================================
   Reset
======================================== */

*,
*::before,
*::after{

    margin:0;
    padding:0;
    box-sizing:border-box;

}

html{

    scroll-behavior:smooth;

}

body{

    font-family:"M PLUS Rounded 1c",sans-serif;

    background:var(--color-bg);

    color:var(--color-text);

    line-height:1.8;

    -webkit-font-smoothing:antialiased;

}

img{

    display:block;

    width:100%;

    height:auto;

}

ul{

    list-style:none;

}

a{

    text-decoration:none;

    color:inherit;

}

button{

    cursor:pointer;

    font-family:inherit;

}

input{

    font-family:inherit;

}

/* ========================================
   Common
======================================== */

.container{

    width:min(90%,var(--max-width));

    margin:auto;

}

.section-title{

    font-size:2rem;

    font-weight:700;

    text-align:center;

    margin-bottom:2rem;

    color:var(--color-text);

}

/* ========================================
   Header
======================================== */

.header{

    position:sticky;

    top:0;

    width:100%;

    background:rgba(255,255,255,.95);

    backdrop-filter:blur(12px);

    box-shadow:var(--shadow-small);

    z-index:999;

}

.header-container{

    width:min(90%,var(--max-width));

    margin:auto;

    height:72px;

    display:flex;

    justify-content:space-between;

    align-items:center;

}

.header-logo{

    font-size:1.6rem;

    font-weight:700;

    color:var(--color-primary);

    transition:var(--transition);

}

.header-logo:hover{

    transform:scale(1.05);

}

.header-menu{

    display:flex;

    gap:2rem;

}

.header-menu a{

    position:relative;

    transition:.3s;

}

.header-menu a:hover{

    color:var(--color-primary);

}

.header-menu a::after{

    content:"";

    position:absolute;

    left:0;

    bottom:-6px;

    width:0;

    height:2px;

    background:var(--color-primary);

    transition:.3s;

}

.header-menu a:hover::after{

    width:100%;

}

/* ========================================
   Breadcrumb
======================================== */

.breadcrumb{

    background:#fff;

    border-bottom:1px solid #eee;

    padding:1rem 0;

}

.breadcrumb .container{

    display:flex;

    align-items:center;

    gap:.6rem;

    font-size:.95rem;

    color:var(--color-sub);

}

.breadcrumb a{

    color:var(--color-primary);

}

.breadcrumb span{

    font-weight:700;

}

/* ========================================
   Product Section
======================================== */

.product-detail{

    padding:5rem 0;

}

/* ========================================
   Responsive
======================================== */

@media(max-width:768px){

    .header-container{

        flex-direction:column;

        justify-content:center;

        gap:.8rem;

        height:auto;

        padding:1rem 0;

    }

    .header-menu{

        gap:1.2rem;

        font-size:.9rem;

    }

    .section-title{

        font-size:1.6rem;

    }

    .breadcrumb{

        font-size:.85rem;

    }

}
/* ========================================
   Product Layout
======================================== */

.product-grid{

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:5rem;

    align-items:start;

}

/* ========================================
   Product Gallery
======================================== */

.product-gallery{

    position:sticky;

    top:110px;

}

.main-image{

    width:100%;

    border-radius:24px;

    background:#ffffff;

    padding:2rem;

    box-shadow:var(--shadow-medium);

    transition:.35s;

}

.main-image:hover{

    transform:scale(1.02);

}

/* ========================================
   Product Info
======================================== */

.product-info{

    display:flex;

    flex-direction:column;

}

.product-category{

    display:inline-block;

    width:max-content;

    padding:.45rem 1rem;

    margin-bottom:1rem;

    border-radius:999px;

    background:var(--color-primary-pale);

    color:var(--color-primary);

    font-size:.9rem;

    font-weight:700;

}

.product-info h1{

    font-size:2.5rem;

    line-height:1.3;

    margin-bottom:1rem;

}

.product-rating{

    display:flex;

    align-items:center;

    gap:.5rem;

    margin-bottom:1.5rem;

    color:#f6b800;

    font-size:1.2rem;

}

.product-rating span{

    color:var(--color-sub);

    font-size:.95rem;

}

.product-price{

    font-size:2.4rem;

    font-weight:700;

    color:var(--color-primary);

    margin-bottom:1.5rem;

}

#product-short{

    color:var(--color-sub);

    line-height:2;

    margin-bottom:2rem;

}

/* ========================================
   Quantity
======================================== */

.quantity-box{

    margin-bottom:2rem;

}

.quantity-box p{

    font-weight:700;

    margin-bottom:.8rem;

}

.quantity-control{

    display:flex;

    align-items:center;

    width:max-content;

    overflow:hidden;

    border-radius:999px;

    border:1px solid #e5e5e5;

    background:#ffffff;

}

.quantity-control button{

    width:48px;

    height:48px;

    border:none;

    background:#fafafa;

    font-size:1.3rem;

    transition:.3s;

}

.quantity-control button:hover{

    background:var(--color-primary);

    color:#ffffff;

}

.quantity-control input{

    width:70px;

    height:48px;

    border:none;

    text-align:center;

    font-size:1rem;

    background:#ffffff;

}

.quantity-control input:focus{

    outline:none;

}

/* Chrome・Safariの▲▼非表示 */

.quantity-control input::-webkit-inner-spin-button,

.quantity-control input::-webkit-outer-spin-button{

    appearance:none;

    margin:0;

}

/* Firefox */

.quantity-control input{

    -moz-appearance:textfield;

}

/* ========================================
   Total
======================================== */

.total-price{

    display:flex;

    justify-content:space-between;

    align-items:center;

    margin-bottom:2rem;

    padding:1.2rem 1.5rem;

    border-radius:18px;

    background:#fff7fa;

    font-size:1.1rem;

    font-weight:700;

}

.total-price span{

    font-size:2rem;

    color:var(--color-primary);

}

/* ========================================
   Buy Button
======================================== */

.buy-button{

    width:100%;

    height:64px;

    border:none;

    border-radius:999px;

    background:linear-gradient(
        135deg,
        var(--color-primary),
        var(--color-primary-light)
    );

    color:#ffffff;

    font-size:1.1rem;

    font-weight:700;

    letter-spacing:.05em;

    transition:.3s;

    box-shadow:0 15px 35px rgba(255,107,139,.25);

}

.buy-button:hover{

    transform:translateY(-4px);

    box-shadow:0 20px 45px rgba(255,107,139,.35);

}

.buy-button:active{

    transform:translateY(0);

}

/* ========================================
   Note
======================================== */

.purchase-note{

    margin-top:1.2rem;

    text-align:center;

    font-size:.9rem;

    color:#888;

}

/* ========================================
   Responsive
======================================== */

@media(max-width:900px){

    .product-grid{

        grid-template-columns:1fr;

        gap:3rem;

    }

    .product-gallery{

        position:static;

    }

}

@media(max-width:768px){

    .product-info h1{

        font-size:2rem;

    }

    .product-price{

        font-size:2rem;

    }

    .total-price span{

        font-size:1.6rem;

    }

    .buy-button{

        height:58px;

    }

}
/* ========================================
   Product Description
======================================== */

.product-description,
.product-information,
.shipping,
.payment,
.return-policy,
.purchase-contact{

    padding:5rem 0;

}

.product-description{

    background:#ffffff;

}

.product-information{

    background:var(--color-bg);

}

.shipping{

    background:#ffffff;

}

.payment{

    background:var(--color-bg);

}

.return-policy{

    background:#ffffff;

}

.purchase-contact{

    background:linear-gradient(
        135deg,
        #fff6f9,
        #ffffff
    );

}

/* ========================================
   Description
======================================== */

.product-description p{

    max-width:900px;

    margin:auto;

    line-height:2.2;

    font-size:1.05rem;

    color:var(--color-sub);

}

/* ========================================
   Information Table
======================================== */

.info-table{

    width:100%;

    border-collapse:collapse;

    overflow:hidden;

    background:#ffffff;

    border-radius:20px;

    box-shadow:var(--shadow-medium);

}

.info-table th{

    width:220px;

    padding:22px;

    background:var(--color-primary-pale);

    color:var(--color-text);

    text-align:left;

    font-weight:700;

    border-bottom:1px solid #eeeeee;

}

.info-table td{

    padding:22px;

    color:var(--color-sub);

    border-bottom:1px solid #eeeeee;

    line-height:2;

}

.info-table tr:last-child th,

.info-table tr:last-child td{

    border-bottom:none;

}

/* ========================================
   Shipping / Payment Card
======================================== */

.info-card{

    max-width:900px;

    margin:auto;

    background:#ffffff;

    border-radius:20px;

    padding:2.5rem;

    box-shadow:var(--shadow-medium);

}

.info-card ul{

    list-style:none;

}

.info-card li{

    position:relative;

    padding-left:2rem;

    margin-bottom:1.3rem;

    color:var(--color-sub);

    line-height:1.9;

}

.info-card li:last-child{

    margin-bottom:0;

}

.info-card li::before{

    content:"✔";

    position:absolute;

    left:0;

    color:var(--color-primary);

    font-weight:700;

}

/* ========================================
   Return Policy
======================================== */

.return-policy p{

    max-width:900px;

    margin:0 auto 1.2rem;

    color:var(--color-sub);

    line-height:2;

}

.return-policy p:last-child{

    margin-bottom:0;

}

/* ========================================
   Contact Area
======================================== */

.purchase-contact p{

    text-align:center;

    color:var(--color-sub);

    margin-bottom:2rem;

}

.contact-button{

    display:flex;

    justify-content:center;

    align-items:center;

    width:260px;

    height:58px;

    margin:auto;

    border-radius:999px;

    background:linear-gradient(
        135deg,
        var(--color-primary),
        var(--color-primary-light)
    );

    color:#ffffff;

    font-weight:700;

    transition:.3s;

    box-shadow:0 12px 30px rgba(255,107,139,.25);

}

.contact-button:hover{

    transform:translateY(-3px);

    box-shadow:0 18px 35px rgba(255,107,139,.35);

}

/* ========================================
   Responsive
======================================== */

@media(max-width:768px){

    .product-description,
    .product-information,
    .shipping,
    .payment,
    .return-policy,
    .purchase-contact{

        padding:3.5rem 0;

    }

    .info-table{

        display:block;

        overflow-x:auto;

    }

    .info-table th{

        width:140px;

        font-size:.9rem;

    }

    .info-table td{

        font-size:.9rem;

    }

    .info-card{

        padding:1.5rem;

    }

    .contact-button{

        width:100%;

        max-width:320px;

    }

}
/* ========================================
   Footer
======================================== */

.footer{

    margin-top:5rem;

    padding:4rem 0 2rem;

    background:#ffffff;

    border-top:1px solid #eeeeee;

}

.footer-container{

    width:min(90%,1200px);

    margin:auto;

    text-align:center;

}

.footer-logo{

    font-size:2rem;

    font-weight:700;

    color:var(--color-primary);

    margin-bottom:1rem;

}

.footer-text{

    color:var(--color-sub);

    margin-bottom:1.5rem;

}

.footer-contact{

    line-height:2;

    color:var(--color-sub);

    margin-bottom:2rem;

}

.footer small{

    display:block;

    color:#999999;

    font-size:.9rem;

}

/* ========================================
   Fade Animation
======================================== */

.fade-up{

    opacity:0;

    transform:translateY(40px);

    transition:
        opacity .8s ease,
        transform .8s ease;

}

.fade-up.show{

    opacity:1;

    transform:translateY(0);

}

/* ========================================
   Utility
======================================== */

.text-center{

    text-align:center;

}

.mt-1{

    margin-top:1rem;

}

.mt-2{

    margin-top:2rem;

}

.mt-3{

    margin-top:3rem;

}

.mb-1{

    margin-bottom:1rem;

}

.mb-2{

    margin-bottom:2rem;

}

.mb-3{

    margin-bottom:3rem;

}

.hidden{

    display:none;

}

/* ========================================
   Smooth Hover
======================================== */

img{

    transition:.35s;

}

img:hover{

    transform:scale(1.02);

}

button,

a{

    transition:.3s ease;

}

/* ========================================
   Focus
======================================== */

button:focus-visible,

a:focus-visible,

input:focus-visible{

    outline:3px solid #ffc8d8;

    outline-offset:3px;

}

/* ========================================
   Scrollbar
======================================== */

::-webkit-scrollbar{

    width:10px;

}

::-webkit-scrollbar-track{

    background:#faf8f6;

}

::-webkit-scrollbar-thumb{

    background:#ffb2c5;

    border-radius:999px;

}

::-webkit-scrollbar-thumb:hover{

    background:#ff8cab;

}

/* ========================================
   Responsive
======================================== */

@media(max-width:1024px){

    .container{

        width:92%;

    }

}

@media(max-width:768px){

    .footer{

        padding:3rem 0;

    }

    .footer-logo{

        font-size:1.6rem;

    }

    .footer-text{

        font-size:.95rem;

    }

    .footer-contact{

        font-size:.9rem;

    }

}

@media(max-width:480px){

    .section-title{

        font-size:1.4rem;

    }

    .footer-logo{

        font-size:1.4rem;

    }

    .buy-button{

        font-size:1rem;

    }

    .contact-button{

        font-size:.95rem;

    }

}