@charset "utf-8";

*,
::before,
::after {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

ul,
ol {
    list-style: none;
}

a {
    color: inherit;
    text-decoration: none;
}

body {
    font-family: sans-serif;
    font-size: 16px;
    color: #000;
    line-height: 1;
    background-color: #fff;
    overflow-x: hidden;
}

img {
    max-width: 100%;
}

/* ここからheader */
header {
    width: 100%;
    height: 768px;
    font-family: "Playfair Display", serif;
}

.header-inner {
    display: flex;
    /* justify-content: space-between; */
    align-items: center;
    background-color: rgba(0, 0, 0, 0.4);
    position: fixed;
    top: 0;
    left: 0;
    max-width: 1900px;
    width: 100%;
    z-index: 100;
}

h1 {
    font-size: 25px;
    padding: 9px 0 9px 34px;
    color: #fff;
}

.first ul {
    font-size: 16px;
    display: flex;
    padding: 10px 34px 10px 0;
}

.first li {
    margin: 0 20px;
}

.first li a {
    color: #fff;
    padding: 5px 10px;
    text-align: center;
}

.first ul a::after {
    content: "";
    display: block;
    width: 100%;
    height: 1px;
    background-color: #fff;
    transform-origin: right top;
    transform: scaleX(0); 
    transition: transform 0.3s ease-in-out;
}

.first ul a:hover::after {
    transform-origin: left top;
    transform: scale(1, 1);
}

.cart_icon {
    padding: 10px;
    margin-right: 34px;
    background-image: url(./image/ショッピングカートのアイコン11\ \(3\).png);background-size: 100%;
    background-repeat: no-repeat;
    background-position: right;
    position: absolute;
    top: 11.3px;
    right: 0;
}

nav.first {
    position: absolute;
    top: 5px;
    right: 30px;
}

/* .cart a:hover {
    background-color: rgba(0, 0, 0, 0.65);
} */
/* header */
.top-img {
    display: flex;
    width: 100%;
    max-width: 1900px;
    height: 768px;
}

.top-img .a-img,
.top-img .b-img {
    flex: 1;
    overflow: hidden;
}


.top-img .a-img img,
.top-img .b-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.top-img .a-img img {
    animation: slideAnime 10s infinite;
}

.top-img .b-img img {
    animation: slide 10s infinite;
}


.a-img {
    animation-delay: 0s; 
  }

    @keyframes slideAnime {
        0% {
          transform: translateY(0); 
        }
        10% {
          transform: translateY(0); 
        }
        50%{
            transform: translateY(-100%); 
            }
        60%{
            transform: translateY(-100%); 
        }
        100% {
          transform: translateY(-200%); 
        }
      }

.b-img {
    position: relative;
    animation-delay: 0s; 
}

.b-img .on-img {
    position: absolute;
    top: -768px;
    left: 0;
}

.b-img .Top_img {
    position: absolute;
    top: -1536px;
    left: 0;

}
    
    @keyframes slide {
        0% {
            transform: translateY(0); 
        }
        10% {
            transform: translateY(0); 
        }
        50% {
            transform: translateY(100%); 
          }
        60%{
            transform: translateY(100%); 
        }
        100% {
            transform: translateY(200%); 
        }
    }
    

.top-text {
    display: flex;
}

.top-text {
    position: absolute;
    bottom: -14px;
    left: 3px;
}

p.shop_name {
    color: rgba(255, 255, 255, 0.800);
    font-size: 12vw;
}

img.shop_name {
    width: 12vw;
    opacity: 0.8;
    margin-left: 40px;
}
/* ここまでfv */

/* ここからmain */
.word {
    background-color: rgb(126, 29, 29);
    width: 100%;
    height: 700px;
}

.scroll {
    animation: scroll-anim linear;
    animation-timeline: view();
    animation-range: entry 0% contain 20%;
}

@keyframes scroll-anim {
    from {
      opacity: 0;
      scale: 0.9;
    }
    to {
      opacity: 1;
      scale: 1;
    }
  }
  

.catch_copy h2 {
    color: #fff;
    font-size: 63px;
    font-weight: 400;
    letter-spacing: 0.25em;
    padding-left: 34px;
    padding-top: 16px;
    font-family: serif;
}

.catch_copy p {
    color: #fff;
    font-size: 33px;
    font-weight: 100;
    padding-left: 25%;
    margin-top: 10px;
    font-family:serif;
}

.haikei_sen {
    position: relative;
}

.haikei_sen svg {
    position: absolute;
    top: -40px;
    left: 0;
}

.text {
    margin-top: 80px;
    padding-left: 50%;
    /* opacity: 0; */
}

.text p {
    color: #fff;
    font-size: 14px;
    line-height: 22px;
    padding-bottom: 30px;
    font-family: serif;
    /* animation: 1s fadeup ease-in-out forwards; */
}

/* .text p:hover {
}

@keyframes fadeup {
    0% {
      opacity: 0;
      transform: translateY(30px);
    }
  
    100% {
      opacity: 1;
      transform: translateY(0);
    }
  } */

p.big_text {
    font-size: 19px;
    font-weight: 500;
}

.reimg {
    width: 100%;
    height: 60vh;
    background-image: url(./image/葉.jpg);
    /* background-size: 100%; */
    background-repeat: no-repeat;
}

.reimg img {
    width: 33vw;
    aspect-ratio: 5/7;
    object-fit: cover;
    position: absolute;
    bottom: 15%;
    left: 10%;
}

.reset {
    position: relative;
}

/* ここからproduct */
.pro {
    width: 100%;
    height: 600px;
    background-image: url(./image/製品紹介top.jpg);
    background-size: 99%;
    background-repeat: no-repeat;
    background-position: right;
    position: relative;
}

.pro h3,
.pro p {
    color: #fff;
    text-shadow: 3px 3px 5px #000;
    position: absolute;
}

.pro h3 {
    bottom: 80px;
    left: 40px;
    font-family: "Shippori Mincho", serif;
    font-size: 70px;
    font-weight: 200;
}

.pro p {
    bottom: 45px;
    left: 44px;
    font-family: serif;
    font-size: 20px;
}

/* ここからproduct */
.line-up {
    width: 100%;
    height: 780px;
}

.line-up h4 {
    font-family: "Playfair Display", serif;
    color: #420000;
    font-size: 40px;
    margin-top: 85px;
    padding-left: 38px;
}

.product {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: 425px;
    margin-top: 24px;
    padding-left: 180px;
    column-gap: 50px;
}

.item1 {
    grid-column-start: 1;
    grid-column-end: 2;
    grid-row: 1;
    position: relative;
}

.item2 {
    grid-column-start: 2;
    grid-column-end: 3;
    grid-row: 1;
    position: relative;
}
.item3 {
    grid-column-start: 3;
    grid-column-end: 4;
    grid-row: 1;
    position: relative;
}

.img-frame {
    width: 300px;
    height: 380px;
    overflow: hidden;
  }
  
  .img-frame img {
    width: 100%;
    height: 100%;
    transition: transform 0.3s;
    object-fit: cover;
  }
  
  .img-frame img:hover {
    transform: scale(1.1);
  }

  .product p {
      color: #570000;
      font-family: "Playfair Display", serif;
  }

  p.en {
      font-size: 17px;
      letter-spacing: 2px;
  }

  p.beverage {
      font-size: 13px;
  }

  p.gram {
      position: absolute;
      bottom: -40px;
      right: 160px;
      font-size: 22px;
  }
  
  p.zei {
      font-size: 10px;
      position: absolute;
      bottom: -42px;
      right: 120px;
  }

  .posi {
      position: relative;
  }

  p.view {
      font-size: 20px;
      color: #570000;
      font-family: "Playfair Display", serif;
      border: #420000 1px solid;
      display: inline-block;
      padding: 7px 35px;
      position: absolute;
      bottom: -110px;
      right: 60px;
  }

  p.view:hover {
      background-color: #570000;
      color: #fff;
  }

  /* ここからこだわり */
  .commitment_img {
      background-color: #500000;
      width: 100%;
      height: 1300px;
      position: relative;
  }

  .back_img {
      background-image: url(./image/背景\　茶畑.jpg);
      background-size: 95%;
      background-repeat: no-repeat;
      background-position: left;  
      width: 100%;
      height: 950px;
      position: absolute;
      top: 180px;
      left: 0;
    }
    
    .tea_bag {
        position: absolute;
        bottom: 50px;
        right: 350px;
        z-index: 1;
        width: 480px;
        height: auto;
    }
    
    .tea_can {
      z-index: 50;
      position: absolute;
      top: 60px;
      left: 90px;
      width: 650px;
      height: auto;
  }

  /* こだわり文章 */
  .commitment {
      width: 100%;
      aspect-ratio: 2/1;
      display: grid;
      grid-template-columns: repeat(3,1fr);
      grid-template-rows: 100%;
  }

  .com_img {
      background-image: url(./image/こだわり1.jpg);
      background-position: left top;
      background-repeat: no-repeat;
      background-size: 100%;
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: flex;
  }
  .mit_img {
      background-image: url(./image/こだわり2.jpg);
      background-position: center top;
      background-repeat: no-repeat;
      background-size: 100%;
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: flex;
  }
  .ment_img {
      background-image: url(./image/こだわり3.jpg);
      background-position: right top;
      background-repeat: no-repeat;
      background-size: 100%;
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: flex;
  }

  .text_t {
      width: 100%;
      height: 30%;
      background-color: rgba(0, 0, 0, 0.5);
      position: relative;
 }

  .text_t h4,
  .text_t p{
      color: #fff;
      font-family: serif;
      text-shadow: 5px 3px 4px #000;
      position: absolute;
      left: 20px; 
    }
    
    .text_t h4 {
        bottom: 70px;
        font-weight: normal;
        font-size: 23px;
    }

    .text_t p {
        bottom: 15px;
        font-weight: lighter;
        font-size: 14px;
        line-height: 15px;
    }

    .text_t a {
        color: #fff;
        font-size: 20px;
        font-family: "Playfair Display", serif;
        background-color: #570000;
        display: inline-block;
        padding: 2px 30px;
        position: absolute;
        bottom: -20%;
        left: 20px;
        border-top: double 6px #fff;
        border-bottom: double 6px #fff;
    }

    .text_t a:hover {
        color: #420000;
        background-color: #fff;
        border: 1px #420000 solid;
        padding: 7px 30px;
    }

    /* ここからnews */
    .news {
        width: 100%;
        height: 100%;
    }
    
    .text_n {
        width: 36%;
        height: 266px;
        margin: 200px auto;
    }

    .text_n h4 {
        color: #700000;
        font-family: serif;
        font-size: 38px;
    }
    
    .news_date {
        text-align: center;
        background-color: #faf0f0;
        padding: 25px 25px;
        line-height: 3;
    }
    
    .news_text {
        display: flex;
    }

    .news_text time {
        font-weight: 500;
    }

    .news_text p {
        font-family: "Playfair Display", serif;
        color: #420000;
        padding-left: 20px;
        }

    .text_n a {
        font-size: 20px;
        color: #570000;
        font-family: "Playfair Display", serif;
        border: #420000 1px solid;
        display: inline-block;
        padding: 7px 35px;
        margin-top: 20px;
        }

    a.va:hover {
        background-color: #570000;
        color: #fff;
    }

    
    /* ここからfooter */
    footer {
        width: 100%;
        background-color: #500000;
        color: #fff;
    }

    .last {
        padding: 30px 50px;
        display: flex;
        position: relative;
        font-size: 19px;
    }

    .last a,
    .follow a,
    .follow p,
    small {
        font-family: sans-serif;
        font-weight: lighter;
        line-height: 2;
    }

    .last ul{
        padding-left: 30px;
    }

    .sub {
        padding-left: 30px;
        font-size: 17px;
    }

    .follow {
        text-align: right;
        position: absolute;
        right: 50px;
        bottom: 60px;
    }

    .ins-icon {
        width: 50px;
        aspect-ratio: 1/1;
        background-image: url(./image/icons8-instagram-48.png);
        background-repeat: no-repeat;
        background-size: 100%;
        background-position: center;
        position: relative;
        right: -150px;
    }
    

    a.new_member {
        border: #fff 1px solid;
        padding: 5px 40px;
    }

    a.new_member:hover {
        color: #500000;
        background-color: #fff;
        font-weight: 500;
    }

    p.copy {
        text-align: center;
        padding: 8px 0;
    }

    /* .first ul a::after {
        content: "";
        display: block;
        width: 50%;
        height: 1px;
        background-color: #fff;
        transform-origin: right top;
        transform: scaleX(0); 
        transition: transform 0.3s ease-in-out;
    }

    .last ul a:hover::after {
        transform-origin: left top;
        transform: scale(1, 1);
    } */

 

    /* 線アニメーション */
    .sen {
        width: 1550px;
    }

    .line {
        stroke-dasharray: 1649;
        stroke-dashoffset: 1649;
        animation: line 1s both;
        animation-timeline: view(50%) ;
        /* animation-delay: 5s; */
    }

    @keyframes line {
        100%{
            stroke-dashoffset: 0;
        }
    }
