/* =====================================================
   THE REJOICE MAGAZINE
   Summer Materials
===================================================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{

    scroll-behavior:smooth;

}

body{

    font-family:"Noto Sans JP",sans-serif;
    color:#333;
    background:#fff;
    line-height:1.9;
    letter-spacing:.06em;
    -webkit-font-smoothing:antialiased;

}

img{

    display:block;
    width:100%;

}

a{

    color:inherit;
    text-decoration:none;

}

ul{

    list-style:none;

}

.container{

    width:min(1180px,90%);
    margin:auto;

}

.section{

    padding:140px 0;

}


/* =========================
Typography
========================= */

.section-sub{

    display:block;

    margin-bottom:18px;

    font-size:12px;

    letter-spacing:.35em;

    color:#888;

    text-transform:uppercase;

}

.section-title{

    font-family:"Cormorant Garamond",serif;

    font-size:64px;

    font-weight:400;

    line-height:1.1;

    margin-bottom:25px;

}

.divider{

    width:60px;

    height:1px;

    background:#222;

    margin:35px 0;

}

p{

    font-size:15px;

    color:#555;

}



/*==============================
Common
==============================*/

.container{

    width:min(1200px,90%);

    margin:0 auto;

}

.section{

    padding:120px 0;

}

.section-title{

    font-family:"Cormorant Garamond",serif;

    font-size:42px;

    font-weight:400;

    letter-spacing:.08em;

    text-align:center;

}

.divider{

    width:60px;

    height:1px;

    background:#222;

    margin:28px auto 50px;

}



/* =========================
Hero
========================= */

.hero{

    position:relative;

    width:100%;

    height: 70vh;

    overflow:hidden;

}

.hero img{

    width:100%;

    height:100%;

    object-fit:cover;

}

{

    position:absolute;

    inset:0;

    background:rgba(0,0,0,.25);

}.hero-overlay

.hero-copy{

        position:absolute;

    left:50%;

    top:50%;

    transform:translate(-50%,-50%);

    width:95%;

    text-align:center;

    color:#fff;

    z-index:10;

}

.hero-copy h1{

    font-family:"Cormorant Garamond",serif;

    font-size:clamp(44px, 7vw, 72px);

    font-weight:400;

    line-height:1.05;

    letter-spacing:.05em;

    margin-bottom:24px;

text-align:center;

 display:block;

    width:100%;

    margin:0 auto 24px;

}

.hero-copy p{

    color:#fff;

    font-size:17px;

    letter-spacing:.25em;

}



/*==============================
Introduction
==============================*/

.intro{

    padding:150px 0;

}

.intro p{

    max-width:700px;

    margin:0 auto;

    text-align:center;

    font-size:15px;

    line-height:2.1;

}


/*==============================
Material Section
==============================*/

.material{

    padding:150px 0;

}

.material+.material{

    margin-top:100px;

}

.material-head{

    text-align:center;

    margin-bottom:70px;

}

.section-sub{

    display:block;

    margin-bottom:18px;

    font-size:12px;

    letter-spacing:.25em;

    color:#888;

}

.material-head h2{

    font-family:"Cormorant Garamond", serif;

    font-size:56px;

    font-weight:400;

    letter-spacing:.08em;
}

.material-head p{

    max-width:620px;

    margin:28px auto 0;

    line-height:2;

}


/*==============================
Main Image
==============================*/

.material-visual{

    width:70%;

    margin:0 auto 90px;

}

.material-visual img{

    width:100%;

    display:block;

}


/*==============================
Story Image
==============================*/

.material-image{

    width:70%;

    margin:0 auto 60px;

}

.material-image img{

    width:100%;

    display:block;

}


/*==============================
Story Text
==============================*/

.story{

    max-width:760px;

    margin:0 auto 90px;

    text-align:center;

    line-height:2;

}

/*==============================
Item Grid
==============================*/

.item-grid{

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:60px 32px;

    margin-top:80px;

}


/*==============================
Item Card
==============================*/

.item{

    display:flex;

    flex-direction:column;

}

.item img{

    width:82%;

    margin:0 auto 20px;

    display:block;

    transition:.4s;

}

.item:hover img{

    transform:scale(1.03);

}


/*==============================
Item Name
==============================*/

.item h3{

    width:82%;

    margin:0 auto;

    font-size:14px;

    font-weight:500;

    line-height:1.7;

    letter-spacing:.03em;

}


/*==============================
Description
==============================*/

.item p{

    width:82%;

    margin:10px auto 0;

    font-size:12px;

    color:#666;

    line-height:1.8;

}


/*==============================
PRICE
==============================*/

.price{

    width:82%;

    margin:18px auto 14px;

    display:flex;

    align-items:flex-end;

    gap:8px;

}

.regular-price{

    color:#999;

    font-size:12px;

    text-decoration:line-through;

    line-height:1;

}

.sale-price{

    color:#d60000;

    font-size:20px;

    font-weight:700;

    line-height:1;

}


/*==============================
BUY BUTTON
==============================*/

.buy-btn{

    width:82%;

    height:42px;

    margin:0 auto;

    display:flex;

    justify-content:center;

    align-items:center;

    border:1px solid #111;

    background:#fff;

    color:#111;

    font-size:12px;

    letter-spacing:.2em;

    transition:.3s;

}

.buy-btn:hover{

    background:#111;

    color:#fff;

}


/*==============================
Section Bottom
==============================*/

.material{

    padding-bottom:180px;

}


/*==================================================
Animation
==================================================*/

.fade{

    opacity:0;

    transform:translateY(40px);

    transition:all .8s ease;

}

.fade.show{

    opacity:1;

    transform:translateY(0);

}


/*==================================================
Image Animation
==================================================*/

.material-visual{

    overflow:hidden;

}

.material-image{

    overflow:hidden;

}

.material-visual img,
.material-image img{

    transition:transform .8s ease;

}

.material-visual:hover img,
.material-image:hover img{

    transform:scale(1.04);

}


/*==================================================
Tablet
==================================================*/

@media(max-width:1024px){

.container{

    width:92%;

}

.material-visual{

    width:82%;

}

.material-image{

    width:82%;

}

.item-grid{

    grid-template-columns:repeat(2,1fr);

    gap:50px 28px;

}

.item img,
.item h3,
.item p,
.price,
.buy-btn{

    width:90%;

}

}


/*==================================================
Smart Phone
==================================================*/

@media(max-width:768px){


.hero{

    height:55vh;

    min-height:360px;

}



.section{

    padding:90px 0;

}

.material{

    padding:90px 0;

}

.material-head{

    margin-bottom:50px;

}

.material-head h2{

    font-size:42px;

}

.material-head p{

    width:90%;

    font-size:14px;

}

.material-visual{

    width:100%;

    margin-bottom:60px;

}

.material-image{

    width:100%;

    margin-bottom:40px;

}

.story{

    width:92%;

    margin-bottom:60px;

}

.item-grid{

    grid-template-columns:repeat(2,1fr);

    gap:36px 20px;

}

.item img{

    width:90%;

    margin-bottom:14px;

}

.item h3{

    width:90%;

    font-size:10px;

    line-height:1.6;

}

.item p{

    width:90%;

    font-size:9px;

    margin-top:8px;

}

.price{

    width:90%;

    margin:14px auto 10px;

}

.regular-price{

    font-size:9px;

}

.sale-price{

    font-size:13px;

}

.buy-btn{

    width:90%;

    height:40px;

    font-size:11px;

}


/*==============================
CTA Button
==============================*/

.cta{

    text-align:center;

}

.btn{

    display:inline-flex;

    justify-content:center;

    align-items:center;

    margin:40px auto 0;

    width:280px;

    height:56px;

    border:1px solid #111;

    background:#fff;

    color:#111;

    font-size:13px;

    letter-spacing:.18em;

    transition:.3s;

}

.btn:hover{

    background:#111;

    color:#fff;

}