/* CSS Document */
#how-to-cook h2 {
  text-align: center;
  position: relative; }
#how-to-cook ol {
  align-items: center;
  justify-content: center;
  margin: 4rem 0;
  counter-reset: cook-counter; }
  @media screen and (max-width: 1199px) {
    #how-to-cook ol {
      margin: 4rem 0 2rem; } }
  @media screen and (max-width: 575px) {
    #how-to-cook ol {
      flex-wrap: wrap;
      margin-top: 0rem; } }
  #how-to-cook ol li {
    position: relative;
    align-items: flex-start;
    justify-content: space-between;
    margin-top: 15rem; }
    @media screen and (max-width: 1399px) {
      #how-to-cook ol li {
        margin-top: 12rem; } }
    @media screen and (max-width: 1199px) {
      #how-to-cook ol li {
        margin-top: 10rem; } }
    @media screen and (max-width: 991px) {
      #how-to-cook ol li {
        margin-top: 8rem; } }
    @media screen and (max-width: 767px) {
      #how-to-cook ol li {
        flex-wrap: wrap; } }
    @media screen and (max-width: 575px) {
      #how-to-cook ol li {
        position: relative;
        z-index: 1; } }
    #how-to-cook ol li:first-child {
      margin-top: 8rem; }
      @media screen and (max-width: 575px) {
        #how-to-cook ol li:first-child {
          margin-top: 6rem; } }
    #how-to-cook ol li::before {
      content: counter(cook-counter);
      counter-increment: cook-counter;
      background-image: url("../../img/rice-number1.svg");
      background-repeat: no-repeat;
      background-size: contain;
      width: 75px;
      height: 70px;
      position: absolute;
      top: -2rem;
      left: -2rem;
      font-size: 45px;
      font-size: 4.5rem;
      font-weight: bold;
      display: flex;
      align-items: center;
      justify-content: center;
      z-index: 2; }
      @media screen and (max-width: 991px) {
        #how-to-cook ol li::before {
          width: 55px;
          height: 50px;
          font-size: 35px;
          font-size: 3.5rem; } }
      @media screen and (max-width: 575px) {
        #how-to-cook ol li::before {
          top: -1rem;
          left: -1rem; } }
    #how-to-cook ol li div {
      width: 50%;
      margin-right: 5%;
      text-align: end; }
      @media screen and (max-width: 1199px) {
        #how-to-cook ol li div {
          width: 47%;
          margin-right: 3%; } }
      @media screen and (max-width: 767px) {
        #how-to-cook ol li div {
          width: 100%;
          margin-right: 0; } }
      #how-to-cook ol li div img {
        border-radius: 2rem;
        width: 100%; }
        #how-to-cook ol li div img + img {
          width: 65%;
          margin-top: 1rem; }
    #how-to-cook ol li section {
      width: 45%; }
      @media screen and (max-width: 1199px) {
        #how-to-cook ol li section {
          width: 50%; } }
      @media screen and (max-width: 767px) {
        #how-to-cook ol li section {
          width: 100%; } }
      #how-to-cook ol li section h3 {
        font-size: 25px;
        font-size: 2.5rem;
        font-weight: bold;
        text-align: left;
        letter-spacing: 2px;
        margin: 2rem 0 3rem; }
        @media screen and (max-width: 767px) {
          #how-to-cook ol li section h3 {
            font-size: 23px;
            font-size: 2.3rem; } }
        @media screen and (max-width: 575px) {
          #how-to-cook ol li section h3 {
            font-size: 20px;
            font-size: 2rem;
            margin: 2rem 0; } }
      #how-to-cook ol li section p {
        text-align: justify;
        margin: 0; }
      #how-to-cook ol li section dl {
        margin-top: 1.5rem;
        background-color: #fff;
        padding: 1.5rem 2rem;
        border-radius: 1rem; }
        #how-to-cook ol li section dl dt {
          margin-bottom: 1rem; }
        #how-to-cook ol li section dl dd {
          text-align: justify; }

#cook-policy {
  background-image: url("../img/cook-back.png");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: right center;
  position: relative; }
  @media screen and (max-width: 767px) {
    #cook-policy {
      background-image: none; } }
  #cook-policy::before {
    content: '';
    background-image: url("../../img/rice-topleft02.svg");
    background-repeat: no-repeat;
    background-size: contain;
    width: 280px;
    height: 220px;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1; }
    @media screen and (max-width: 1199px) {
      #cook-policy::before {
        width: 230px;
        height: 170px; } }
    @media screen and (max-width: 991px) {
      #cook-policy::before {
        width: 200px;
        height: 140px; } }
    @media screen and (max-width: 767px) {
      #cook-policy::before {
        width: 170px;
        height: 110px; } }
  @media screen and (max-width: 767px) {
    #cook-policy div.d-md-none {
      margin-bottom: 5rem; } }
  @media screen and (max-width: 575px) {
    #cook-policy div.d-md-none {
      margin-bottom: 3rem; } }
  #cook-policy p {
    margin: 0;
    font-size: 20px;
    font-size: 2rem;
    letter-spacing: 3px;
    line-height: 2.5;
    filter: drop-shadow(1px 1px 5px white); }
    @media screen and (max-width: 1199px) {
      #cook-policy p {
        letter-spacing: 2px;
        line-height: 2; } }
    @media screen and (max-width: 991px) {
      #cook-policy p {
        font-size: 18px;
        font-size: 1.8rem; } }
    @media screen and (max-width: 767px) {
      #cook-policy p {
        letter-spacing: 2px;
        line-height: 1.75;
        text-align: center; } }
    @media screen and (max-width: 575px) {
      #cook-policy p {
        font-size: 16px;
        font-size: 1.6rem;
        text-align: justify;
        letter-spacing: 0; } }
