/* -----------
  common
----------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

ul,
ol {
  padding: 0;
}

body,
h1,
h2,
h3,
h4,
p,
ul,
ol,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

body {
  min-height: 100vh;
  text-rendering: optimizeSpeed;
}

ul,
ol {
  list-style: none;
}

a {
  text-decoration: none;
  color: inherit;
}

body {
  font-size: 16px;
  line-height: 1.625;
}

@media screen and (min-width: 768px) {
  body {
    line-height: 1.6875;
  }
}

p {
  font-family: YuGothic, sans-serif;
  font-size: 15px;
  line-height: 1.6;
} 

@media screen and (min-width: 768px) {
  p {
    font-size: 16px;
  }
}

a {
  transition: opacity 0.3s;
  cursor: pointer;
}

a:hover {
  opacity: 0.7;
  color: currentColor;
}

.page-inner {
  width: min(540px, 100%);
  padding: 0 16px;
  margin: 0 auto;
}

@media screen and (min-width: 768px) {
  .page-inner {
    width: min(1030px, 100%);
    padding: 0 25px;
  }
}

@media screen and (min-width: 768px) {
  .u-mobile {
    display: none;
  }
}

.u-desktop {
  display: none;
}

@media screen and (min-width: 768px) {
  .u-desktop {
    display: block;
  }
}

.u-dib {
  display: inline-block;
}

.irisurigoma {
  background-color: #fff;
  overflow-x: hidden;
}

.irisurigoma > img {
  width: 100%;
  height: auto;
}

/* -----------
  mv
----------- */
.mv {
  position: relative;
  background-image: url(../img/irisurigoma/mv/background.png);
  background-repeat: no-repeat;
  background-size: cover;
}

.mv__inner {
  position: relative;
  padding-top: 102px;
  padding-bottom: 225px;
}
@media screen and (min-width: 768px) {
  .mv__inner {
    position: static;
    padding-top: 130px;
    padding-bottom: 166px;
  }
}
@media screen and (min-width: 1020px) {
  .mv__inner {
    padding-top: 6.08333333vw;
    padding-bottom: 7vw;
  }
}
@media screen and (min-width: 1200px) {
  .mv__inner {
    padding-top: 73px;
    padding-bottom: 84px;
  }
}
@media screen and (min-width: 1440px) {
  .mv__inner {
    position: relative;
  }
}

.mv::after {
  content: "";
  position: absolute;
  background-image: url(../img/irisurigoma/mv/curve.png);
  background-repeat: no-repeat;
  background-size: contain;
  width: 100vw;
  height: 176px;
  left: 0;
  bottom: -176px;
  z-index: 0;
}

.mv__logo {
  margin: 0 auto;
  position: relative;
  display: flex;
  gap: 18px;
  justify-content: center;
  flex-direction: row-reverse;
  z-index: 2;
  width: fit-content;
}
@media screen and (min-width: 768px) {
  .mv__logo {
    padding-right: 80px;
    gap: 35px;
  }
}

.mv__logo::before {
  content: "";
  position: absolute;
  background-image: url(../img/irisurigoma/mv/image-goma.png);
  background-repeat: no-repeat;
  background-size: contain;
  width: 280px;
  height: 187px;
  left: 65%;
  bottom: -72px;
  z-index: 0;
}
@media screen and (min-width: 768px) {
  .mv__logo:before {
    width: 49.6666667vw;
    height: 31.1666667vw;
    bottom: auto;
    left: -23.097222vw;
    top: -6.069444vw;
  }
}
@media screen and (min-width: 1200px) {
  .mv__logo:before {
    width: 596px;
    height: 374px;
    left: -275px;
    top: -73px;
  }
}

.mv__logo h2 {
  position: relative;
}

.mv__logo h2 img {
  width: 112.87px;
}
@media screen and (min-width: 768px) {
  .mv__logo h2 img {
    width: 17.1666667vw;
  }
}
@media screen and (min-width: 1200px) {
  .mv__logo h2 img {
    width: 206px;
  }
}

.mv__logo-txt {
  position: relative;
  display: flex;
  flex-direction: row-reverse;
}
@media screen and (min-width: 768px) {
  .mv__logo-txt {
    margin-top: 5px;
  }
}

.mv__logo p {
  display: flex;
  align-items: center;
  font-family: "Noto Serif JP", serif;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.06em;
  writing-mode: vertical-rl;
  min-width: max-content;
  min-height: max-content;
  white-space: nowrap;
}
@media screen and (min-width: 768px) {
  .mv__logo p {
    font-size: 2.66666667vw;
  }
}
@media screen and (min-width: 1200px) {
  .mv__logo p {
    font-size: 32px;
  }
}

@media screen and (min-width: 768px) {
  .mv__logo p:last-of-type {
    margin-top: 8px;
  }
}

.mv__logo span {
  width: 64px;
  height: 70px;
}
@media screen and (min-width: 768px) {
  .mv__logo span {
    width: 6.33333333vw;
    height: 7.83333333vw;
  }
}
@media screen and (min-width: 1200px) {
  .mv__logo span {
    width: 76px;
    height: 94px;
  }
}

.mv__logo span img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mv__logo-img {
  position: absolute;
  bottom: -255px;
  right: -46px;
  width: 205px;
  filter: drop-shadow(0px 0px 20px rgba(0, 0, 0, 0.07));
}
@media screen and (min-width: 768px) {
  .mv__logo-img {
    position: static;
    margin-top: 26px;
    width: 24.1666667vw;
  }
}
@media screen and (min-width: 1200px) {
  .mv__logo-img {
    width: 290px;
  }
}

.mv__img--left {
  position: absolute;
  width: 247px;
  top: -7%;
  right: -35px;
  z-index: 1;
}
@media screen and (min-width: 768px) {
  .mv__img--left {
    width: 340.36px;
    top: auto;
    right: auto;
    bottom: -85px;
    left: -70px;
  }
}
@media screen and (min-width: 1020px) {
  .mv__img--left {
    width: min(481px, 33.4027778vw);
    bottom: -150px;
    left: -39px;
  }
}
@media screen and (min-width: 1440px) {
  .mv__img--left {
    left: -245px;
  }
}

.mv__img--right {
  position: absolute;
  width: 238px;
  bottom: -90px;
  left: -44px;
  z-index: 1;
}
@media screen and (min-width: 768px) {
  .mv__img--right {
    width: 388.48px;
    bottom: auto;
    left: auto;
    top: -75px;
    right: -180px;
  }
}
@media screen and (min-width: 1020px) {
  .mv__img--right {
    width: min(549px, 38.125vw);
    top: -128px;
    right: -160px;
  }
}
@media screen and (min-width: 1440px) {
  .mv__img--right {
    right: -370px;
  }
}


/* -----------
  about
----------- */
.about {
  padding: 162px 0 16.4102564vw;
  background-image: url(../img/irisurigoma/about/about-background.png);
}
@media screen and (min-width: 768px) {
  .about {
    padding: 155px 0 80px;
  }
}

.about__inner {
  padding: 0 20px;
}
@media screen and (min-width: 768px) {
  .about__inner {
    padding: 0 25px;
  }
}

.about__title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}
@media screen and (min-width: 1020px) {
  .about__title {
    flex-direction: row;
    gap: 32px;
  }
}

.about__title h2 {
  padding: 0 27px;
  max-width: 391px;
}
@media screen and (min-width: 1020px) {
  .about__title h2 {
    padding: 0;
  }
}

.about__title p {
  font-family: "Noto Serif JP", serif;
  font-size: 17px;
  font-weight: 800;
  line-height: 2;
  flex: 1;
}

.about-img {
  position: relative;
  margin-top: 32px;
  margin-left: 51px;
  text-align: center;
  z-index: 1;
}
@media screen and (min-width: 768px) {
  .about-img {
    margin: 48px auto 0;
  }
}

.about-img::before {
  position: absolute;
  content: "";
  background-image: url(../img/irisurigoma/mv/image-irisurigoma.png);
  background-repeat: no-repeat;
  background-size: cover;
  width: 97.91px;
  height: 143.15px;
  bottom: -45px;
  left: -51px;
  transform: rotate(-15deg);
  z-index: 2;
}
@media screen and (min-width: 768px) {
  .about-img::before {
    width: 154px;
    height: 226px;
    bottom: -40px;
    left: 6%;
  }
}
@media screen and (min-width: 1000px) {
  .about-img::before {
    left: 10%;
  }
}

@media screen and (min-width: 768px) {
  .about-img::after {
    position: absolute;
    content: "";
    background-image: url(../img/irisurigoma/about/image-goma.png);
    background-repeat: no-repeat;
    background-size: cover;
    width: 551px;
    height: 377px;
    bottom: -175px;
    right: -200px;
    z-index: 0;
  }
}

.about-img img {
  position: relative;
  z-index: 1;
  box-shadow: 0px 0px 30px 0px rgba(165, 160, 101, 0.3);
}
@media screen and (min-width: 768px) {
  .about-img img {
    max-width: 580px;
  }
}

.about__body {
  position: relative;
  margin-top: 106px;
  padding: 32px 16px 48px;
  background-image: url(../img/irisurigoma/about/about-background2.png);
  box-shadow: 0px 4px 20px 0px rgba(165, 160, 101, 0.3);
  z-index: 1;
}
@media screen and (min-width: 768px) {
  .about__body {
    margin-top: 107px;
    padding: 48px 32px 72px;
  }
}

.about__body h3 {
  max-width: 322px;
  padding: 0 30px;
  margin: 0 auto;
}
@media screen and (min-width: 768px) {
  .about__body h3 {
    max-width: 400px;
  }
}

.about__list {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}
@media screen and (min-width: 768px) {
  .about__list {
    margin-top: 40px;
  }
}

.about__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
@media screen and (min-width: 1020px) {
  .about__item {
    flex-direction: row;
    gap: 2.8%;
  }
}

@media screen and (min-width: 1020px) {
  .about__item-txt {
    width: 64.7%;
  }
}

.about__item-img {
  max-width: 302px;
  text-align: center;
}
@media screen and (min-width: 768px) {
  .about__item-img {
    max-width: 506px;
  }
}
@media screen and (min-width: 1020px) {
  .about__item-img {
    width: 32.5%;
  }
}

.about__item:first-of-type h4 {
  margin: 0 auto;
  max-width: 318px;
}
@media screen and (min-width: 768px) {
  .about__item:first-of-type h4 {
    max-width: 387px;
  }
}
@media screen and (min-width: 1020px) {
  .about__item:first-of-type h4 {
    margin: 0;
  }
}

.about__item:last-of-type h4 {
  margin: 0 auto;
  max-width: 318px;
}
@media screen and (min-width: 768px) {
  .about__item:last-of-type h4 {
    max-width: 594px;
  }
}
@media screen and (min-width: 1020px) {
  .about__item:last-of-type h4 {
    margin: 0;
  }
}

.about__item-txt p {
  margin: 12px 11px 0;
}
@media screen and (min-width: 1020px) {
  .about__item-txt p {
    margin: 8px 0 0;
    padding-left: 16px;
  }
}

.about__pin {
  position: absolute;
  width: 16px;
  height: 16px;
}
@media screen and (min-width: 768px) {
  .about__pin {
    width: 24px;
    height: 24px;
  }
}

.about__pin--top-left {
  top: 16px;
  left: 16px;
}
@media screen and (min-width: 768px) {
  .about__pin--top-left {
    top: 32px;
    left: 32px;
  }
}

.about__pin--top-right {
  top: 16px;
  right: 16px;
}
@media screen and (min-width: 768px) {
  .about__pin--top-right {
    top: 32px;
    right: 32px;
  }
}

.about__pin--bottom-left {
  bottom: 16px;
  left: 16px;
}
@media screen and (min-width: 768px) {
  .about__pin--bottom-left {
    bottom: 24px;
    left: 32px;
  }
}

.about__pin--bottom-right {
  bottom: 16px;
  right: 16px;
}
@media screen and (min-width: 768px) {
  .about__pin--bottom-right {
    bottom: 24px;
    right: 32px;
  }
}


/* -----------
  recipe
----------- */
.recipe {
  padding: 64px 0;
  background-image: url(../img/irisurigoma/recipe/recipe-background.jpg);
  background-repeat: no-repeat;
  background-size: cover;
}

.recipe__title h2 {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 15px;
  font-family: "Noto Serif JP", serif;
  font-size: 24px;
  font-weight: 800;
  line-height: 1;
}
@media screen and (min-width: 768px) {
  .recipe__title h2 {
    flex-direction: row;
    gap: 6px;
    font-size: 32px;
  }
}

.recipe__title h2 span {
  display: inline-block;
}

.recipe__title h2 span img {
  width: 220px;
}
@media screen and (min-width: 768px) {
  .recipe__title h2 span img {
    width: 280px;
  }
}

.recipe__title p {
  margin-top: 15px;
  font-family: "Noto Serif JP", serif;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.6;
  text-align: center;
}
@media screen and (min-width: 768px) {
  .recipe__title p {
    margin-top: 6px;
    font-size: 20px;
  }
}

.recipe__title p span {
  position: relative;
  display: inline-block;
  font-size: 20px;
  margin-bottom: 4px;
}
@media screen and (min-width: 768px) {
  .recipe__title p span {
    font-size: 24px;
    padding-right: 4px;
    margin-bottom: 0;
  }
}

.recipe__title p span::before {
  content: "";
  position: absolute;
  background-image: url(../img/irisurigoma/recipe/line.png);
  background-repeat: no-repeat;
  background-size: contain;
  bottom: -3px;
  left: 0;
  width: 100%;
  height: 10px;
}
@media screen and (min-width: 768px) {
  .recipe__title p span::before {
    bottom: -5px;
    height: 12px;
  }
}

.recipe__list {
  margin: 32px auto 0;
  display: grid;
  gap: 8px;
  max-width: 348px;
}
@media screen and (min-width: 1020px) {
  .recipe__list {
    margin-top: 60px;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    max-width: none;
  }
}

.recipe__item {
  width: 74.68%;
  max-width: 236px;
}
@media screen and (min-width: 1020px) {
  .recipe__item {
    width: 100%;
    max-width: 316px;
  }
}

.recipe__item:nth-of-type(2) {
  margin-left: auto;
}
@media screen and (min-width: 1020px) {
  .recipe__item:nth-of-type(2) {
    margin-left: 0;
  }
}

.recipe__btn {
  margin: 32px auto 0;
  display: block;
  max-width: fit-content;
}


/* -----------
  use
----------- */
.use {
  padding: 64px 0;
  background-image: url(../img/irisurigoma/use/voice-background.png);
}
@media screen and (min-width: 768px) {
  .use {
    padding: 80px 0;
  }
}

.use__inner {
  overflow: visible;
}

.use__title {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.use__subtitle {
  max-width: 260px;
}
@media screen and (min-width: 768px) {
  .use__subtitle {
    max-width: 396px;
  }
}

.use__title h2 {
  margin-top: 4px;
  font-family: "Noto Serif JP", serif;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.5;
}
@media screen and (min-width: 768px) {
  .use__title h2 {
    margin-top: 0;
    font-size: 32px;
  }
}

.use__title p {
  margin-top: 4px;
  font-size: 14px;
  line-height: 1.5;
}
@media screen and (min-width: 768px) {
.use__title p {
  margin-top: 8px;
  }
}

.use__slider {
  margin-top: 32px;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding-left: calc(50vw - 50%);
  padding-right: calc(50vw - 50%);
  overflow: hidden;
  padding-bottom: 58px;
}

.use__list {
  display: flex;
  align-items: stretch;
}

.use__item {
  padding: 16px;
  border-radius: 8px;
  border: 1px solid #BDBDBD;
  background-color: #FFFFFF;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 268px;
  height: 554px;
  flex-shrink: 0;
}
@media screen and (min-width: 768px) {
  .use__item {
    flex-direction: row;
    gap: 24px;
    width: 640px;
    height: 333px;
  }
}

.swiper-pagination {
  bottom: 0 !important;
}

.swiper-pagination-bullet {
  margin: 0 8px !important;
  width: 12px;
  height: 12px;
  background-color: #E2DFC2;
  opacity: 1;
}

.swiper-pagination-bullet-active {
  background-color: #005546;
}

.use__item-img img {
  border-radius: 4px;
}
@media screen and (min-width: 768px) {
  .use__item-img img {
    width: 226px;
  }
}

.use__item-txt {
  display: grid;
  gap: 8px;
}

.use__item-txt img {
  width: 40px;
}

.use__item-txt p {
  font-weight: 700;
  font-size: 14px;
  line-height: 1.6;
}

.use__item-icon {
  display: flex;
  gap: 8px;
}
@media screen and (min-width: 768px) {
  .use__item-icon {
    margin-top: 16px;
  }
}

.use__item-icon img {
  width: 24px;
}

.use__btn {
  margin: 32px auto 0;
  display: block;
  max-width: fit-content;
}


/* -----------
  product
----------- */
.product {
  padding: 64px 0;
  background-image: url(../img/irisurigoma/products/products-background.jpg);
  background-repeat: no-repeat;
  background-size: cover;
}

.product__title h2 {
  margin: 0 auto;
  width: 200px;
}
@media screen and (min-width: 768px) {
  .product__title h2 {
    width: 280px;
  }
}

.product__cols {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 8px;
}
@media screen and (min-width: 1020px) {
  .product__cols {
    margin-top: 28px;
    flex-direction: row;
    gap: 32px;
  }
}

.product__cols img {
  width: 196px;
  filter: drop-shadow(0px 0px 20px rgba(0, 0, 0, 0.07));
}
@media screen and (min-width: 768px) {
  .product__cols img {
    width: 290px;
  }
}

@media screen and (min-width: 768px) {
  .product__body {
    max-width: 511px;
  }
}

.product__name {
  display: grid;
  justify-content: center;
  gap: 4px;
}
@media screen and (min-width: 1020px) {
  .product__name {
    justify-content: left;
  }
}

.product__name p:first-of-type {
  font-family: "Noto Serif JP", serif;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.6;
  text-align: center;
}
@media screen and (min-width: 768px) {
  .product__name p:first-of-type {
    font-size: 28px;
  }
}
@media screen and (min-width: 1020px) {
  .product__name p:first-of-type {
    text-align: left;
  }
}

.product__name p span {
  display: inline-block;
  padding-left: 8px;
  font-size: 18px;
}
@media screen and (min-width: 768px) {
  .product__name p span {
    font-size: 20px;
  }
}

.product__capa {
  font-size: 14px;
  text-align: center;
}
@media screen and (min-width: 768px) {
  .product__capa {
    font-size: 16px;
  }
}
@media screen and (min-width: 1020px) {
  .product__capa {
    text-align: left;
  }
}

.product__txt {
  position: relative;
  margin-top: 27px;
}
@media screen and (min-width: 768px) {
  .product__txt {
    margin-top: 39px;
  }
}

.product__txt::before {
  position: absolute;
  content: "";
  background-image: url(../img/irisurigoma/products/line.png);
  background-repeat: no-repeat;
  background-size: contain;
  width: 100%;
  height: 7px;
  top: -18px;
  left: 0;
}
@media screen and (min-width: 768px) {
  .product__txt::before {
    height: 10px;
    top: -22px;
  }
}

.product__btn {
  margin: 32px auto 0;
  display: block;
  max-width: fit-content;
}
@media screen and (min-width: 1020px) {
  .product__btn {
    margin-left: 0;
  }
}


/* -----------
  アニメーション設定
----------- */
.scroll-fade {
    transition: transform 0.8s steps(5);
}
.scroll-fade.is-visible {
    transform: translate(0, 0) rotate(0deg);
}

/* recipe 丼　SP:右から左へ */
@media screen and (max-width: 767px) {
    .recipe__item:nth-child(2).scroll-fade--up {
        transform: translateX(70px);
    }
    .recipe__item:nth-child(2).scroll-fade--up.is-visible {
        animation: slideFromRightWithSwing 0.8s steps(3) both;
    }
}

/* recipe 丼　SP:左から右へ */
.scroll-fade--up {
    transform: translateX(-70px);
}
.scroll-fade--up.is-visible {
    animation: slideFromLeftWithSwing 0.8s steps(3) both;
}

/* recipe 丼　PC:下から上へ */
@media screen and (min-width: 768px) {
    .scroll-fade--up {
        transform: translateY(50px);
    }
    .scroll-fade--up.is-visible {
        animation: slideFromBottomWithSwing 0.8s steps(3) both;
    }
}

/* mv 商品パッケージ　SP：右から左へ */
@media screen and (max-width: 767px) {
    .mv__logo-img.scroll-fade--left {
        transform: translateX(70px);
    }
    .mv__logo-img.scroll-fade--left.is-visible {
        animation: slideFromRightWithSwing 0.8s steps(3) both;
    }
} 
/* mv.products 商品パッケージ　左から右へ */
.scroll-fade--left {
    transform: translateX(-70px);
}
.scroll-fade--left.is-visible {
    animation: slideFromLeftWithSwing 0.8s steps(3) both;
}

/* about 商品パッケージ */
.about-img::before {
  animation: constantSwing 2s steps(5) infinite;
}

/* 下から上へ */
@keyframes slideFromBottomWithSwing {
    0% {
        transform: translateY(50px) rotate(-5deg);
    }
    33% {
        transform: translateY(30px) rotate(5deg);
    }
    66% {
        transform: translateY(15px) rotate(-5deg);
    }
    100% {
        transform: translateY(0) rotate(0deg);
    }
}

/* 左から右へ */
@keyframes slideFromLeftWithSwing {
    0% {
        transform: translateX(-70px) rotate(-5deg);
    }
    33% {
        transform: translateX(-40px) rotate(5deg);
    }
    66% {
        transform: translateX(-15px) rotate(-5deg);
    }
    100% {
        transform: translateX(0) rotate(0deg);
    }
}

/* 右から左へ */
@keyframes slideFromRightWithSwing {
    0% {
        transform: translateX(70px) rotate(5deg);
    }
    33% {
        transform: translateX(40px) rotate(-5deg);
    }
    66% {
        transform: translateX(15px) rotate(5deg);
    }
    100% {
        transform: translateX(0) rotate(0deg);
    }
}

/* 左右回転リピート */
@keyframes constantSwing {
    0%, 100% {
        transform: rotate(-15deg);
    }
    50% {
        transform: rotate(15deg);
    }
}

/* 遅延設定用 */
.scroll-fade.is-visible.scroll-fade--delay-1 {
  animation-delay: 0.2s;
}
@media screen and (min-width: 768px) {
  .scroll-fade.is-visible.scroll-fade--delay-1 {
    animation-delay: 0.4s;
  }
}

.scroll-fade.is-visible.scroll-fade--delay-2 {
    animation-delay: 0.4s;
}
@media screen and (min-width: 768px) {
  .scroll-fade.is-visible.scroll-fade--delay-2 {
    animation-delay: 0.8s;
  }
}