@charset "UTF-8";


[data-lineup="chicken"] {
  --main_color: #A86C45;
}

[data-lineup="venison"] {
  --main_color: #77607E;
}

[data-lineup="red"] {
  --main_color: #8F564F;
}

[data-lineup="green"] {
  --main_color: #7D8E5B;
}

.main-visual {
  position: relative;

  & img {
    inline-size: 100%;
    max-block-size: 100svh;
    object-fit: cover;
  }

  & .breadcrumb{
    position: absolute;
    inset: 0 0 auto auto;
    translate: -1rem 1rem;
    padding: unset;
    margin: unset;
    writing-mode: vertical-lr;
    letter-spacing: 0;

    & li{
      padding: unset;
      line-height: 1;

      & span{
      font-family: var(--futura);
      font-weight: 700;
      font-size: min(3.5vw,14px);
      }

      &:nth-child(1) a:before{
        content: none;
      }
    }
  }
}

.section-about {
  position: relative;
  --section_padding: min(20vw, 180px);

  &:before {
    content: "OYATSU";
    font-family: "futura-pt-bold";
    display: block;
    position: absolute;
    top: -2.6vw;
    font-size: 15.2vw;
    color: #dfddde;
    line-height: 1;
    z-index: -1;
    letter-spacing: 2vw;
    animation: tctext 20s linear infinite;
  }

  & .fr1 {
    position: relative;

    &:after {
      content: "";
      position: absolute;
      inset: auto 0 0 auto;
      translate: 110% 70%;
      rotate: -10deg;
      inline-size: min(40vw, 15rem);
      aspect-ratio: 61/75;
      z-index: -1;
      background: url(../images/paw_pad.svg) center /contain no-repeat;
    }

    @media(width <=1300px) {

      &:after {
        translate: 0% min(20vw, 70%);
      }
    }
  }


  @media(1300px < width) {
    & .title-large {
      margin-inline-end: calc((100vw - (100% + min(80px, 16vw)))/-8.5 + 100px);
    }
  }
}

.section-concept {
  position: relative;

  &:before {
    content: "F//H FOOD";
    font-family: "futura-pt-bold";
    display: block;
    position: absolute;
    left: 0;
    bottom: 0;
    translate: 0 20%;
    font-size: 14.7vw;
    color: #dfddde;
    line-height: 0.7;
    z-index: -1;
    letter-spacing: 0;
    white-space: nowrap;

  }
}

.card-concept {
  overflow: hidden;

  & [class*="title-middle"] {
    inline-size: calc(100% + 1rem);

    &:after {
      margin-inline: -0.5rem;
      padding: 0.5rem;
      line-height: 1;
      background: var(--main_color);
      color: #fff;
      inline-size: 100%;
    }
  }

  & dd {
    letter-spacing: 0;
  }
}

.section-lineup {
  position: relative;

  &:before {
    content: "";
    position: absolute;
    inset: 0 0 auto auto;
    translate: 0 min(3vw, 2rem);
    inline-size: min(50vw, 760px);
    aspect-ratio: 100/67;
    z-index: -1;
    background: url(../images/back-food_oyatsu_lineup.png) center /contain no-repeat;
  }

}


.card-lineup {
  position: relative;

  & .title-large {
    font-size: min(6.5vw, 46px);
    letter-spacing: 0;
    line-height: 1;

    & span {
      font-size: min(4vw, 26px);
      line-height: 2;
    }
  }

  &:after {
    content: "";
    block-size: min(25vw, 15rem);
    inline-size: 100%;
    display: block;
    background: #ddd;
    margin-block-start: calc((min(6vw, 5rem) + min(10vw, 3.5rem))*-1);
  }

  & .icon-lineup {
    & li {

      &[class*="popmake-"]{
        position: relative;

        &:after{
          content: "";
          background: #fff url(../images/popup-icon.svg) center / 54% no-repeat;
          inline-size: min(6vw,2rem);
          aspect-ratio: 1/1;
          position: absolute;
          inset: auto 0 0 auto;
          translate: -2.5% -15%; 
          border: 1px solid var(--sub_color);
          border-radius: 50%;
        }
      }
      
      & img {
        background: #fff;
      }

      :is([data-lineup="red"], [data-lineup="green"]) & {

        & img {
          background: #e6e6e6;
        }

        &:first-of-type img {
          background: #1f1f1f;
        }
      }
    }
  }

  & .self-top {
    position: relative;

    &:after {
      content: "";
      position: absolute;
      inset: auto 0 0 auto;
      translate: calc((100vw - (min(100vw, 1280px) - min(80px, 16vw)))/2 + min(6vw, 5rem)) min(5vw,40%);
      inline-size: clamp(10rem,30vw,500px);
      aspect-ratio: 20/21;
    }
  }

  & .title-min-center-mat-keep {
    position: relative;

    &:after {
      content: "";
      position: absolute;
      inset: 50% 0 auto auto;
      translate: min(18vw,8rem) -65%;
      inline-size: clamp(8rem,20vw,240px);
      aspect-ratio: 4/3;
      z-index: 2;
    }
  }

  &[data-lineup="chicken"] {
    &:after {
      background: url(../images/food_oyatsu-back-lineup_1.jpg) center /cover no-repeat;
    }

    & .self-top:after {
      background: url(../images/food_oyatsu-chicken_visual.png) center/ contain no-repeat;
    }

    & .title-min-center-mat-keep:after {
      background: url(../images/food_oyatsu-chicken_paint.png) center/ contain no-repeat;
    }
  }

  &[data-lineup="venison"] {
    &:after {
      background: url(../images/food_oyatsu-back-lineup_2.jpg) center /cover no-repeat;
    }

    & .self-top:after {
      background: url(../images/food_oyatsu-venison_visual.png) center/ contain no-repeat;
    }

    & .title-min-center-mat-keep:after {
      background: url(../images/food_oyatsu-venison_paint.png) center/ contain no-repeat;
    }

  }

  &[data-lineup="red"] {
    &:after {
      background: url(../images/food_oyatsu-back-lineup_3.jpg) center /cover no-repeat;
    }

    & .self-top:after {
      background: url(../images/food_oyatsu-red_visual.png) center/ contain no-repeat;
    }

    & .title-min-center-mat-keep:after {
      background: url(../images/food_oyatsu-red_paint.png) center/ contain no-repeat;
    }

  }

  &[data-lineup="green"] {
    &:after {
      background: url(../images/food_oyatsu-back-lineup_4.jpg) center /cover no-repeat;
    }

    & .self-top:after {
      background: url(../images/food_oyatsu-green_visual.png) center/ contain no-repeat;
    }

    & .title-min-center-mat-keep:after {
      background: url(../images/food_oyatsu-green_paint.png) center/ contain no-repeat;
    }
  }
}

.card-campaign {
  position: relative;

  & img {
    scale: 1.85;
    translate: 0 min(6vw, 5rem);
    transform-origin: bottom center;

    @media(width <= 1300px){
      scale: 1.1;
    }
  }

  &:after {
    content: "";
    position: absolute;
    inset: auto 0 0 auto;
    inline-size: 3rem;
    aspect-ratio: 1/1;
    background: var(--key_color) url(../images/arrow_min.svg) center / 60% auto no-repeat;
  }
}

.top-products {
  position: relative;

  &:after {
    content: "";
    position: absolute;
    inset: 0 auto auto 50%;
    translate: -50% -61%;
    inline-size: min(calc(100vw - min(40px, 8vw)), 1280px);
    aspect-ratio: 1440/287;
    background: url(../images/back-food_oyatsu_products.png) center / contain no-repeat;
  }

}

.card-products {
  & a {
    position: relative;
    display: block;

    &:after {
      content: "";
      position: absolute;
      inset: auto 0 0 auto;
      inline-size: 3rem;
      aspect-ratio: 1/1;
      background: var(--border_color) url(../images/arrow_min2.svg) center / 50% auto no-repeat;
    }

    & .line {
      position: absolute;
      inset: 0;

      &:before,
      &:after {
        content: "";
        position: absolute;
        background: var(--border_color);
      }

      &:before {
        inline-size: 0;
        block-size: 5px;
        inset: 0 0 auto 0;
        -webkit-transition: .4s ease;
        transition: .4s ease;
      }

      &:after {
        inline-size: 5px;
        block-size: 0;
        inset: 0 0 0 auto;
        -webkit-transition: .4s ease;
        transition: .4s ease;
      }

      &+& {
        &:before {
          inset: auto 0 0 auto;
        }

        &:after {
          inset: auto auto 0 0;
        }

      }
    }

    &:not(.touch):hover {
      opacity: 1;

      & .line:before {
        inline-size: 100%;
      }

      & .line:after {
        block-size: 100%;
      }
    }
  }

  & [class*="title-middle"] {
    font-size: min(6vw, 26px);
  }

}