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

.list_item.feeding {
  pointer-events: none;
  background-color: #765649;
  color: #fff !important;
  opacity: 1;
}
.list_item.feeding::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/feeding_amount/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;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 50px;
  letter-spacing: 0.12em;
  line-height: 1;
  color: #06397f;
  font-family: "Kosugi Maru", sans-serif;
  font-weight: bold;
}

@media only screen and (max-width: 768px) {
  .kv {
    margin-top: 61px;
    aspect-ratio: 750 / 400;
    background: url(/common/addition/brand/tube-diet/feeding_amount/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;
}
.main_contents .inner {
  max-width: 1000px;
}
.main_title {
  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: 80px;
  }
  .main_title {
    font-size: 20px;
    letter-spacing: 0.12em;
  }
}

/* pet-search
==================================== */
.pet-search {
  margin-top: 40px;
  background: #e6ebf2;
  padding: 46px 20px;
  border-radius: 12px;
  position: relative;
  background-color: #e6ebf2;
  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;
}
.pet-search::after {
  content: "";
  position: absolute;
  bottom: -24px;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 24px;
  background-color: #e6ebf2;
  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: -1px -1px;
  clip-path: polygon(0 0, 100% 0, 50% 100%);
}

.pet-search-inner {
  display: flex;
  flex-direction: column;
  gap: 50px;
}
.pet-search_select {
  display: flex;
  align-items: center;
  column-gap: 36px;
  width: 100%;
  max-width: 800px;
  margin-inline: auto;
}
.pet-search-inner .row {
  width: 100%;
  max-width: 670px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 34px;
}
.pet-search-inner .row.mb {
  margin-bottom: 20px;
}
.pet-search-inner .label {
  font-size: 25px;
  letter-spacing: 0.12em;
  line-height: 1.2;
  color: #06397f;
  font-weight: 700;
  flex-shrink: 0;
}
.radio-group {
  display: flex;
  align-items: center;
  gap: 30px;
}
.radio-group input {
  display: none;
}
.radio-group span {
  padding-left: 38px;
  position: relative;
  cursor: pointer;
  font-size: 25px;
  letter-spacing: 0.12em;
  line-height: 1;
}
.radio-group span::before {
  content: "";
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background-color: #fff;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}
.radio-group input:checked + span::after {
  content: "";
  width: 16px;
  height: 16px;
  background: #06397f;
  border-radius: 50%;
  position: absolute;
  left: 5px;
  top: 50%;
  transform: translateY(-50%);
}
.pet-search select {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  max-width: 580px;
  margin-left: auto;
  padding: 22px 56px 22px 16px;
  border-radius: 8px;
  border: none;
  background-color: #fff;
  color: #000;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 8'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%23666464' stroke-width='1.5' stroke-linecap='butt'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 30px center;
  background-size: 20px 16px;
  background-repeat: no-repeat;
  font-size: 22px;
  line-height: 1.5;
  font-family: "Noto Sans JP", sans-serif;
}
.pet-search .submit-btn {
  margin-inline: auto;
  width: 100%;
  max-width: 276px;
  padding-block: 17px;
  background: #06397f;
  color: #fff;
  border: none;
  border-radius: 999px;
  font-size: 32px;
  letter-spacing: 0.12em;
  line-height: 1;
  font-weight: 700;
  cursor: pointer;
  transition: opacity 0.3s;
}
.submit-btn:hover {
  opacity: 0.85;
}

@media only screen and (max-width: 768px) {
  .pet-search {
    margin-top: 30px;
    background: #e6ebf2;
    padding: 46px 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;
  }
  .pet-search::after {
    bottom: -24px;
    width: 48px;
    height: 24px;
    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: -1px -1px;
    clip-path: polygon(0 0, 100% 0, 50% 100%);
  }

  .pet-search-inner {
    gap: 20px;
  }
  .pet-search_select {
    width: 100%;
    justify-content: left;
    column-gap: 20px;
  }
  .pet-search-inner .row {
    flex-direction: column;
    align-items: start;
    gap: 10px;
  }
  .pet-search-inner .row.mb {
    flex-direction: row;
    margin-bottom: 0px;
    column-gap: 20px;
  }
  .pet-search-inner .label {
    font-size: 20px;
    letter-spacing: 0.1em;
  }
  .radio-group {
    display: flex;
    gap: 30px;
  }
  .radio-group input {
    display: none;
  }
  .radio-group span {
    padding-left: 26px;
    font-size: 20px;
    letter-spacing: 0.1em;
  }
  .radio-group span::before {
    width: 20px;
    height: 20px;
  }
  .radio-group input:checked + span::after {
    width: 12px;
    height: 12px;
    left: 4px;
  }
  .pet-search select {
    padding: 16px 20px 16px 16px;
    background-position: right 14px center;
    background-size: 16px 16px;
    font-size: 18px;
  }
  .pet-search .submit-btn {
    width: 76%;
    padding-block: 14px;
    font-size: 20px;
    letter-spacing: 0.1em;
  }
}

/* pet-search_answer
===================================== */
.pet-search_answer {
  padding-top: 80px;
}
.answer_contents {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(20px);
  transition:
    max-height 1.5s ease,
    opacity 0.4s ease,
    transform 0.4s ease;
}
.answer_contents.is-show {
  max-height: 3000px;
  opacity: 1;
  transform: translateY(0);
}
.answer_weight {
  text-align: center;
  font-size: 40px;
  letter-spacing: 0.02em;
  line-height: 1.5;
  color: #06397f;
  font-weight: bold;
}
.answer_weight .num {
  letter-spacing: 0.1em;
  padding-left: 3px;
}
.answer_box {
  position: relative;
  margin-top: 22px;
  width: 100%;
  max-width: 360px;
  margin-inline: auto;
  background: #f1ece2;
  background: linear-gradient(
    90deg,
    rgba(241, 236, 226, 1) 0%,
    rgba(246, 228, 225, 1) 100%
  );
  border-radius: 10px;
  padding: 40px 40px;
  text-align: center;
}

.answer_box::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid #fff;
  border-radius: 6px;
}

.answer_text {
  font-size: 20px;
  letter-spacing: 0.12em;
  line-height: 1.2;
  color: #765649;
  font-weight: bold;
}
.result {
  margin-top: 10px;
  font-size: 50px;
  letter-spacing: 0.12em;
  line-height: 1;
  color: #06397f;
  font-weight: bold;
}
.result .num {
  font-size: 80px;
  line-height: 0.8;
  vertical-align: text-top;
}
.answer_table_wrap {
  width: 100%;
}
.answer_table {
  margin-top: 46px;
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 18px;
  text-align: center;
  overflow: hidden;
}
.answer_table thead th {
  text-align: center;
  background-color: #fae6a9;
  color: #4c4948;
  padding: 8px 8px;
  font-weight: 500;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
}
.answer_table thead th:first-child {
  border-left: none;
}
.answer_table tbody td {
  background-color: #d4e9eb;
  padding: 14px 8px;
  letter-spacing: 0.1em;
  font-weight: 500;
  color: #4c4948;
  border-right: 2px solid #fff;
}
.answer_table th:last-child,
.answer_table td:last-child {
  border-right: none;
}
.answer_cap {
  margin-top: 40px;
  font-size: 14px;
  letter-spacing: 0.02em;
  line-height: 1.6;
  color: #221815;
}
.answer_cap + .answer_cap {
  margin-top: 10px;
}
.answer_cap sup {
  font-size: 80%;
  vertical-align: text-top;
}

@media only screen and (max-width: 768px) {
  .pet-search_answer {
    padding-top: 40px;
  }
  .answer_weight {
    font-size: 26px;
  }
  .answer_box {
    margin-top: 18px;
    width: 80%;
    padding: 20px;
  }
  .answer_box::before {
    inset: 8px;
  }
  .answer_text {
    font-size: 18px;
    letter-spacing: 0.1em;
  }
  .result {
    font-size: 40px;
  }
  .result .num {
    font-size: 60px;
  }
  .answer_table_wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .answer_table {
    min-width: 800px;
  }
  .answer_table {
    margin-top: 22px;
    padding-block: 20px;
    font-size: 13px;
  }
  .answer_table thead th,
  .answer_table tbody td {
    padding: 3px 4px;
  }
  .answer_cap {
    margin-top: 20px;
    font-size: 12px;
  }
  .answer_cap + .answer_cap {
    margin-top: 10px;
  }
}
