@charset "utf-8";

/* -----------------------------------------------------------
　common
----------------------------------------------------------- */

@media screen and (max-width: 800px) {
  body {-webkit-text-size-adjust: 100%;}
  .pc_cont {display: none !important;}
}

/* -----------------------------------------------------------
  template
----------------------------------------------------------- */

/* :::::::::: main :::::::::: */

@media screen and (max-width: 800px) {

  main {
    font-size: 14px;
    line-height: 1.786;
  }
  .box {padding: 0 5%;}
  .h2_common {
    width: 65%;
    margin: 0 0 40px;
  }
  .h2_common span {font-size: 1em;}
  .h2_common span::after {inset: 0 auto 0 calc(100% + 20px);}
  .btn_lineup {margin: 30px auto 0;}
  .btn_lineup a {
    font-size: 1.14em;
    transition: 0s;
  }
  .btn_lineup a:hover {
    color: inherit;
    background: inherit;
  }
  .btn_lineup a:hover::after {background: url("../img/btn_lineup.svg") no-repeat center / contain;}

  .store_link {
    margin: 70px auto;
    padding: 0 5%;
  }
  .store_link ul {flex-direction: column;}
  .store_link ul li {
    width: 100%;
    height: 70px;
    margin: 0 auto 30px;
  }
  .store_link ul li:nth-last-child(1) {margin: 0 auto;}
  .store_link ul li a {
    font-size: 1.14em;
    padding: 0 2em;
    transition: 0s;
  }
  .store_link ul li a:hover {
    color: inherit;
    background: inherit;
  }
  .store_link ul li a:hover::after {background: url("../img/btn_lineup.svg") no-repeat center / contain;}
}


/* -----------------------------------------------------------
 page
----------------------------------------------------------- */

@media screen and (max-width: 800px) {

  .kv {
    margin: 0 auto 80px;
    padding: 40px 10% 10px;
  }
  .kv > p.catch {
    width: 80%;
    inset: calc(18px + 2%) auto auto 5%
  }
  .kv > h1 {
    width: 80%;
    inset: auto 5% -1.55% auto;
  }
  .kv > p.scroll {
    font-size: 0.857em;
    inset: auto auto 70px 0;
  }
  .anc_list li {height: 40px;}
  .anc_list li::after {transform: rotate(20deg);}
  .anc_list li a {font-size: 0.929em;}
  .anc_list li a::after {height: 1.8em;}
  .anc_list li a:hover::after {transform: translateY(0);}
  .heading section {padding: 70px 0 50px;}
  .heading section .tree_l {
    width: 32%;
    inset: auto auto -20px -4%;
  }
  .heading section .tree_r {
    width: 53.3%;
    inset: -10px -8% auto auto;
  }
  .heading section h2 {
    font-size: 1.143em; 
    margin: 0 auto 2em;
  }
  .heading section h2 + p {
    font-size: 1em; 
    margin: 0 auto 2em;
  }
  .story {padding: 40px 0;}
  .story ol {flex-direction: column;}
  .story ol li {
    width: 90%;
    margin: 0 auto 50px;
  }
  .story ol li figure figcaption {
    font-size: 4.29em;
    inset: -0.45em auto auto -0.35em;
  }
  .story ol li h3 {
    font-size: 1.43em; 
    line-height: 1.5;
    margin: 0 0 20px;
  }

  .products {padding: 40px 0 0;}
  .products section h3 {
    font-size: 1.14em; 
    margin: 0 auto 3em;
  }
  .products section > div {height: auto;}
  .products section > div ol {
    position: static;
    height: auto;
  }
  .products section > div ol li {
    position: static;
    flex-direction: column;
    height: auto;
    opacity: 1!important;
    visibility: visible!important;
  }
  .products section > div ol li h4 {
    order: 1;
    position: static;
    font-size: 2em;
    height: auto;
    padding: 30px 0 20px;
  }
  .products section > div ol li h4 br {display: none;}
  .products section > div ol li h4::before ,
  .products section > div ol li h4::after {display: none;}
  .products section > div ol li figure {
    order: 0;
    width: 100%;
    height: auto;
    aspect-ratio: 375 / 300;
  }
  .products section > div ol li dl {
    order: 2;
    width: 100%;
    height: auto;
    padding: 0 5%;
    margin: 0 auto 40px;
  }
  .products section > div ol li dl dt {
    font-size: 1.43em; 
    margin: 0 auto 20px;
  }
  .products section > div ol li dl dt span {font-size: 1.25em;}
  .products section > div ol li dl dd {
    max-width: none;
    font-size: 1em; 
    line-height: 2;
    padding: 0 5%;
  }
  .products section > div ol li dl dd .caption {
    font-size: 0.857em;
    text-align: right;
    margin: 20px -5% 0 auto;
  }
  .lineup {padding: 30px 0 0;}
  .lineup section {margin: 0 auto;}
  .lineup section .tree_l {display: none;}
  .lineup section .tree_r {
    width: 48%;
    inset: 10px -5% auto auto;
  }
  .lineup section h3 {margin: 0 auto 30px;}
  .lineup section:nth-of-type(1) h3 {width: 73%;}
  .lineup section:nth-of-type(2) h3 {width: 90%;}
  .lineup section:nth-of-type(3) h3 {width: 88%;}
  .lineup section ul {flex-direction: column;}
  .lineup section ul li ,
  .lineup section:nth-of-type(1) ul li {
    width: 90%;
    margin: 0 auto 50px;
  }
  .lineup section ul li figure {
    width: 135px;
    margin: 0 auto 20px;
  }
  .lineup section ul li.p_wide figure {width: 170px;}
  .lineup section ul li figure + p {
    font-size: 1.14em;
    min-height: auto;
  }
  .recipe {padding: 30px 0;}
  .recipe .box > div {flex-direction: column;}
  .recipe .box > div section {
    width: 90%;
    margin: 0 auto 50px;
  }
  .recipe .box > div section h3 {
    height: 50px;
    line-height: 50px;
    font-size: 1.14em; 
  }
  .recipe .box > div section h3 + p {
    font-size: 0.86em;
    inset: -40px auto auto calc(50% + 6em);
  }
  .recipe .box > div section > div {padding: 10px;}
  .recipe .box > div section > div p {font-size: 1em;}
  .recipe .box > div section > div p span {
    width: 60px;
    height: 60px;
    line-height: 60px;
    font-size: 2.2em;
  }
  .recipe .box > div section > div p:nth-of-type(2) span {width: 60px;}
  .recipe .box > div section dl dt {
    height: 30px;
    line-height: 30px;
    font-size: 1.14em; 
  }
  .recipe .box > div section dl dd {
    padding: 10px 5%;
    justify-content: flex-start;
  }
  .recipe .box > div section dl dd p {
    font-size: 1em; 
    line-height: 1.29;
    min-height: 2.5em;
    min-width: 11em;
  }
  .arrange {
    padding: 10%;
    background: url("../img/bg_recipe_sp.jpg") no-repeat center / cover;
  }
  .arrange p a {
    height: 65px;
    font-size: 0.86em;
    transition: 0s;
  }
  .arrange p a span {font-size: 1.17em;}
  .arrange p a:hover {opacity: 1;}
  .arrange p::before {
    width: 100%;
    inset: -10px 0 auto;
  }
  .arrange p::after {
    width: 100%;
    inset: auto 0 -10px;
  }
  .arrange p a::before {inset: 0 auto 0 -10px;}
  .arrange p a::after {inset: 0 -10px 0 auto;}

  
}