@charset "utf-8";
/* font-family: "Noto Sans JP", sans-serif; */
/* font-family: "Kosugi Maru", sans-serif; */

.list_item.howto {
  pointer-events: none;
  background-color: #765649;
  color: #fff !important;
  opacity: 1;
}
.list_item.howto::after {
  border-top: 1px solid #fff;
  border-right: 1px solid #fff;
}

.kv {
  aspect-ratio: 1440 / 390;
  overflow: hidden;
  background: url(/common/addition/brand/tube-diet/how_to_use/img/kv_pc.jpg) no-repeat center center / cover;
}
.kv .inner {
  position: relative;
  width: calc(100% - 40px);
  max-width: 1000px;
  margin-inline: auto;
  height: 100%;
}
.tubediet_logo {
  position: absolute;
  width: 100%;
  max-width: 225px;
  top: 30px;
}
.kv_title {
  position: absolute;
  width: 100%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 50px;
  letter-spacing: 0.12em;
  line-height: 1;
  color: #d8231c;
  font-family: "Kosugi Maru", sans-serif;
  font-weight: bold;
}
.kv_title img {
  margin-inline: auto;
  width: auto;
  height: 48px;
}

@media only screen and (max-width: 768px) {
  .kv {
    margin-top: 61px;
    aspect-ratio: 750 / 400;
    background: url(/common/addition/brand/tube-diet/how_to_use/img/kv_sp.jpg) no-repeat center center / cover;
  }
  .kv .inner {
    position: relative;
    width: calc(100% - 40px);
    max-width: 1000px;
    margin-inline: auto;
    height: 100%;
  }
  .tubediet_logo {
    max-width: 120px;
    top: 10px;
  }
  .kv_title {
    width: 100%;
    top: 38%;
    transform: translate(-50%, -50%);
  }
  .kv_title img {
    margin-inline: auto;
    width: auto;
    height: 40px;
  }
}

/* main_contents
=============================== */
.main_contents {
  padding-top: 80px;
  padding-bottom: 120px;
  overflow: hidden;
}
.main_contents .inner {
  max-width: 1000px;
}
.main_title {
  width: calc(100% - 40px);
  margin-inline: auto;
  text-align: center;
  font-size: 30px;
  letter-spacing: 0.12em;
  line-height: 1.5;
  color: #765649;
  font-family: "Kosugi Maru", sans-serif;
  font-weight: bold;
}

@media only screen and (max-width: 768px) {
  .main_contents {
    padding-top: 50px;
    padding-bottom: 50px;
  }
  .main_title {
    font-size: 18px;
    letter-spacing: 0.05em;
  }
}

/* movie_area
==================================== */
.movie_area {
  position: relative;
  margin-top: 40px;
  padding-block: 80px;
}
.movie_area .inner {
  position: relative;
}
.howto_use {
  position: absolute;
  width: 100px;
  top: 50%;
  right: -100px;
  right: calc(clamp(0rem, -24.699rem + 24.096vw, 10rem) * -1);
  transform: translateY(-50%);
}
.movie_area::before {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: calc((100vw - 1000px) / 2);
  content: "";
  background: url(/common/addition/brand/tube-diet/how_to_use/img/howto_bg.jpg) no-repeat left center / cover;
  z-index: -1;
  border-radius: 15px 0 0 15px;
}
.movie_area::after {
  position: absolute;
  width: 100%;
  width: 422px;
  width: clamp(24rem, -20.952rem + 43.855vw, 42.2rem);
  height: 100%;
  bottom: 0;
  right: 0;
  content: "";
  background: url(/common/addition/brand/tube-diet/how_to_use/img/dog.png) no-repeat center bottom / contain;
  z-index: -1;
}
.movie_title {
  text-align: center;
  font-size: 26px;
  letter-spacing: 0.1em;
  line-height: 1.2;
  color: #765649;
  font-weight: bold;
}
.movie_contents {
  margin-top: 20px;
  margin-inline: auto;
  width: 100%;
  max-width: 533px;
  aspect-ratio: 16 / 9;
}
.movie_contents iframe {
  width: 100%;
  height: 100%;
}

@media only screen and (max-width: 1024px) {
  .howto_use {
    display: none;
  }
  .movie_area::before {
    left: 0;
    border-radius: 40px 0 0 40px;
  }
  .movie_area::after {
    content: none;
  }
}

@media only screen and (max-width: 768px) {
  .movie_area {
    position: relative;
    margin-top: 20px;
    padding-block: 40px;
  }
  .movie_title {
    font-size: 16px;
  }
  .movie_contents {
    margin-top: 14px;
    width: 80%;
  }
}

/* howto_area
==================================== */
.howto_area {
  margin-top: 140px;
}
.howto_contents {
  position: relative;
}
.howto_contents + .howto_contents {
  margin-top: 140px;
}
.howto_box {
  position: relative;
  padding: 46px 50px;
  border-radius: 30px 0 30px 0;
  position: relative;
  background-color: #fbe9e8;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.4) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.4) 1px, transparent 1px);
  background-size: 24px 24px;
  background-position: -5px 6px;
}
.howto_box_title {
  position: absolute;
  top: -33px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  width: 100%;
  max-width: 420px;
  font-size: 32px;
  font-size: clamp(2.6rem, 1.829rem + 0.952vw, 3.2rem);
  letter-spacing: 0.05em;
  line-height: 1;
  padding-inline: 14px;
  padding-block: 17px;
  color: #fff;
  font-family: "Kosugi Maru", sans-serif;
  font-weight: bold;
  background-color: #d8231c;
  border-radius: 50px;
}
.howto_box_title.ls_s {
  letter-spacing: 0.02em;
}
.howto_text_wrap {
  margin-top: 32px;
  display: flex;
  justify-content: center;
}
.howto_text {
  font-size: 20px;
  letter-spacing: 0.02em;
  line-height: 2.2;
  color: #000;
  font-weight: 500;
}
.howto_text span {
  display: block;
  text-align: right;
  font-size: 11px;
  line-height: 1;
}
.howto_item_wrap {
  margin-top: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  column-gap: 50px;
}
.howto_item_wrap.col3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 30px;
}
.howto_item {
  width: 100%;
  max-width: 280px;
  background-color: #fff;
  border-radius: 15px;
  padding: 20px 20px;
}
.howto_item_img {
    width: 100%;
  max-width: 320px;
}
.howto_item_title_wrap {
  min-height: 70px;
  display: flex;
  justify-content: center;
  align-items: center;
  column-gap: 10px;
  margin-bottom: 16px;
}
.tubediet_img {
  width: 100%;
  width: 130px;
}
.howto_item_title {
  text-align: center;
  font-size: 20px;
  letter-spacing: 0.1em;
  line-height: 1.5;
  color: #765649;
  font-family: "Kosugi Maru", sans-serif;
  font-weight: bold;
}
.howto_item_text {
  margin-top: 6px;
  min-height: 54px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-size: 18px;
  letter-spacing: 0.1em;
  line-height: 1.5;
  color: #765649;
  font-family: "Kosugi Maru", sans-serif;
  font-weight: bold;
}
.howto_item_cap {
  text-align: right;
  margin-top: 15px;
  font-size: 14px;
  letter-spacing: 0.02em;
  line-height: 1.5;
}
.tubediet2 {
  position: absolute;
  bottom: -318px;
  left: calc(50% - 840px);
  width: 612px;
  z-index: 2;
}
.howto_link {
  margin-top: 74px;
}
.howto_link_text {
  text-align: center;
  font-weight: bold;
  font-size: 22px;
  letter-spacing: 0.08em;
  line-height: 1.5;
  color: #765649;
}
.lineup_btn {
  position: relative;
  margin-top: 50px;
  display: block;
  text-align: center;
  width: 100%;
  max-width: 440px;
  margin-inline: auto;
  font-size: 26px;
  letter-spacing: 0.02em;
  line-height: 1;
  color: #fff !important;
  background-color: #06397f;
  padding-block: 17px;
  border-radius: 100px;
  font-weight: 600;
  transition: 0.4s;
}
.lineup_btn::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 30px;
  width: 10px;
  height: 10px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: translateY(-50%) rotate(-45deg);
  transition: 0.4s;
}
.lineup_btn:hover {
  opacity: 0.8 !important;
  color: #fff !important;
}
.lineup_btn:hover::after {
  border-color: #fff;
}

@media only screen and (max-width: 1024px) {
  .tubediet2 {
    display: none;
  }
}

@media only screen and (max-width: 768px) {
  .howto_area {
    margin-top: 70px;
  }
  .howto_contents + .howto_contents {
    margin-top: 60px;
  }
  .howto_box {
    padding: 34px 20px;
    background-image:
      linear-gradient(to right, rgba(255, 255, 255, 0.6) 1px, transparent 1px),
      linear-gradient(to bottom, rgba(255, 255, 255, 0.6) 1px, transparent 1px);
    background-size: 18px 18px;
    background-position: -5px 6px;
  }
  .howto_box_title {
    top: -16px;
    max-width: 200px;
    font-size: 15px;
    letter-spacing: -0.01em;
    padding-inline: 10px;
    padding-block: 8px;
  }
  .howto_text_wrap {
    margin-top: 0px;
  }
  .howto_text {
    font-size: 14px;
    line-height: 2;
  }
  .howto_item_wrap {
    margin-top: 24px;
    flex-direction: column;
    row-gap: 22px;
  }
  .howto_item_wrap.col3 {
    grid-template-columns: repeat(1, 1fr);
  }
  .howto_item {
    width: 75%;
    margin-inline: auto;
    padding: 20px 20px;
  }
  .howto_item_title_wrap {
    min-height: auto;
    column-gap: 12px;
    margin-bottom: 10px;
  }
  .howto_item_title {
    font-size: 18px;
    letter-spacing: 0.05em;
  }
  .howto_item_text {
    font-size: 14px;
    letter-spacing: 0.05em;
  }
  .tubediet_img {
    width: 90px;
  }
  .howto_item_img {
    width: 75%;
    max-width: 400px;
    margin-inline: auto;
  }
  .howto_item_cap {
    text-align: center;
    font-size: 12px;
  }
  .howto_link {
    margin-top: 35px;
  }
  .howto_link_text {
    font-size: 15px;
  }
  .lineup_btn {
    margin-top: 20px;
    width: 80%;
    font-size: 18px;
    padding-block: 14px;
  }
  .lineup_btn::after {
    right: 15px;
    width: 8px;
    height: 8px;
  }
}
