@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Zen+Maru+Gothic&display=swap");
.loading-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: var(--bg-color);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  z-index: 9999;
}

.loading-text {
  margin-top: 16px;
  font-family: "Arial", sans-serif;
  font-size: 18px;
  color: #8b7355;
  letter-spacing: 2px;
  -webkit-animation: pulse 1.5s ease-in-out infinite;
          animation: pulse 1.5s ease-in-out infinite;
}

.content.show {
  display: block;
  -webkit-animation: fadeIn 0.5s ease-in;
          animation: fadeIn 0.5s ease-in;
}

@-webkit-keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.loading-svg-wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  width: 100vw;
  max-height: 150px;
  margin-bottom: 10px;
}

.loading-svg {
  width: 100%;
  max-width: 120px;
  height: 100%;
  max-height: 150px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

.loading-svg.left img {
  -webkit-animation: floatLeft 2.2s ease-in-out infinite alternate;
          animation: floatLeft 2.2s ease-in-out infinite alternate;
}

.loading-svg.right img {
  -webkit-animation: floatRight 2.2s ease-in-out infinite alternate;
          animation: floatRight 2.2s ease-in-out infinite alternate;
}

@-webkit-keyframes floatLeft {
  0% {
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
  50% {
    -webkit-transform: translateY(-18px);
            transform: translateY(-18px);
  }
  100% {
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
}

@keyframes floatLeft {
  0% {
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
  50% {
    -webkit-transform: translateY(-18px);
            transform: translateY(-18px);
  }
  100% {
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
}

@-webkit-keyframes floatRight {
  0% {
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
  50% {
    -webkit-transform: translateY(18px);
            transform: translateY(18px);
  }
  100% {
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
}

@keyframes floatRight {
  0% {
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
  50% {
    -webkit-transform: translateY(18px);
            transform: translateY(18px);
  }
  100% {
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
}

/*-------------------------
* Variables
* ------------------------
*/
:root {
  --primary-color: #4bb;
  --bg-color: #fff;
  --card-main: #f3a7a7;
  --text-color: #515057;
}

/*-------------------------
* Base Style
* ------------------------
*/
html {
  font-family: "Zen Maru Gothic", sans-serif;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

h1,
h2 {
  text-align: center;
  margin-bottom: 3rem;
}

body {
  background-color: var(--bg-color);
  background-image: none;
  font-size: 1rem;
  color: var(--text-color);
}

/*-------------------------
* dear-baby 専用スタイル
* ------------------------
*/
#dear-baby h1 {
  font-size: 3em;
}

#dear-baby h2 {
  font-size: 2em;
}

#dear-baby > h2 {
  text-align: center;
}

#dear-baby h2,
#dear-baby h3,
#dear-baby h4 {
  font-family: "Zen Maru Gothic", sans-serif;
}

#dear-baby .l-content-wrapper {
  max-width: unset !important;
  margin-inline: auto;
}

.shape {
  margin: 100px auto;
  width: 300px;
  height: 300px;
  max-width: 325px;
  max-height: 325px;
  background-color: #fbeef0;
  border-radius: 90% 83% 50% 80% / 100% 100% 50% 50%;
  position: relative;
  cursor: pointer;
  color: var(--text-color);
}

.shape button.dear-card-btn {
  outline: none;
  background: none;
  border: none;
  border-bottom: 2px dashed #d18a00;
  font-size: 16px;
  cursor: pointer;
  color: var(--text-color);
}

.shape h4 {
  background: #fff;
  position: absolute;
  rotate: -7deg;
  left: -15%;
  top: 10%;
  width: 100%;
  padding: 0.5rem;
  color: #d18a00;
  font-size: 18px;
  font-weight: bold;
  -webkit-box-shadow: 0 0 20px rgba(249, 249, 249, 0.2);
          box-shadow: 0 0 20px rgba(249, 249, 249, 0.2);
}

@media screen and (min-width: 769px) {
  .shape button.dear-card-btn {
    border: none;
  }
  .shape:hover button.dear-card-btn {
    border-bottom: 2px dashed #d18a00;
  }
}

.content-inner {
  padding-top: 10rem;
  height: auto;
  width: 80%;
  margin-inline: auto;
  text-align: center;
  font-size: 24px;
}

.content-inner a {
  color: var(--text-color);
  cursor: pointer;
}

.product .content-inner {
  padding-top: unset;
}

/*-------------------------
* CSS
* ------------------------
*/
.dear-features .dear-row {
  -ms-grid-columns: unset;
      grid-template-columns: unset;
  display: unset;
  overflow-x: unset;
  max-width: 1000px;
}

.dear-cols {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  overflow-x: visible;
  scrollbar-width: none;
  width: 100%;
  gap: 0.5rem;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  max-width: 1000px;
  margin-inline: auto;
}

.dear-card {
  position: relative;
  padding: 1rem;
  margin-right: 1rem;
  max-width: 250px;
  height: 320px;
}

.dear-card-body {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}

.hidden {
  display: none;
  opacity: 0;
}

.dear-detail-btn {
  background-color: #78c9a2;
  color: #fff;
}

#dear-detail-modal {
  padding: 2rem;
  width: 600px;
  max-width: 80dvw;
  max-height: 70vh;
  border-radius: 8px;
  border: none;
  background-color: #fff;
  scrollbar-width: none;
  -ms-grid-column-align: center;
      justify-self: center;
  -ms-flex-item-align: center;
      -ms-grid-row-align: center;
      align-self: center;
}

#dear-detail-modal h3 {
  text-align: center;
}

.dear-detail-close {
  font-size: 1.5em;
  width: 24px;
  height: 24px;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-shadow: 0 0 5px var(--primary-color);
          box-shadow: 0 0 5px var(--primary-color);
  background: var(--primary-color);
  border-radius: 24px;
  color: #fff;
  cursor: pointer;
  -webkit-transition: scale 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transition: scale 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.dear-detail-close:hover {
  scale: 1.1;
}

div[id^="feature-"] {
  -webkit-transform: scale(1);
          transform: scale(1);
  -webkit-transition: opacity 0.3s, -webkit-transform 2s cubic-bezier(0.19, 1, 0.22, 1);
  transition: opacity 0.3s, -webkit-transform 2s cubic-bezier(0.19, 1, 0.22, 1);
  transition: transform 2s cubic-bezier(0.19, 1, 0.22, 1), opacity 0.3s;
  transition: transform 2s cubic-bezier(0.19, 1, 0.22, 1), opacity 0.3s, -webkit-transform 2s cubic-bezier(0.19, 1, 0.22, 1);
  max-height: 60vh;
  border: none;
  border-radius: 1rem;
  background: #fff;
  padding: 4rem;
  border-radius: 1rem;
  max-width: 400px !important;
  width: 100%;
  font-size: 1rem;
  -ms-grid-column-align: center;
      justify-self: center;
  -ms-flex-item-align: center;
      -ms-grid-row-align: center;
      align-self: center;
}

@media screen and (max-width: 768px) {
  div[id^="feature-"] {
    max-width: 90vw;
    padding: 2rem 0;
    font-size: 1em;
  }
}

.feature-modal-close {
  position: absolute;
  top: 2%;
  right: 2%;
  -webkit-box-shadow: 0 0 5px var(--primary-color);
          box-shadow: 0 0 5px var(--primary-color);
  background: var(--primary-color);
  color: #fff;
  border: none;
  outline: none;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  padding: 0.5rem;
  z-index: 99;
  -webkit-transition: scale 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transition: scale 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

.feature-modal-close:hover {
  scale: 1.1;
}

.popup-el {
  width: 100%;
  -webkit-transform: translateY(20%);
          transform: translateY(20%);
  gap: 10%;
  opacity: 0;
  text-align: center;
}

.popup-el .baby-title {
  color: #fff;
  background: #f3a7a7;
  border: 3px dashed #84706b;
  display: inline-block;
  border-radius: 120px;
  font-size: clamp(20px, 60px);
  width: 633px;
  max-width: 90vw;
  height: 114px;
  line-height: 114px;
  position: relative;
}

.popup-el img {
  width: 100%;
  max-width: 80px;
  position: absolute;
  top: -60px;
  z-index: 99;
}

.popup-el img:first-of-type {
  left: 10%;
}

.popup-el img:last-of-type {
  right: 10%;
  top: -70px;
  scale: 0.9;
}

.dear-recommend,
.dear-comparison {
  padding-block: 3rem;
  text-align: center;
}

.dear-recommend img,
.dear-comparison img {
  max-width: 800px;
}

.dear-recommend img {
  -webkit-transform: translateX(5%);
          transform: translateX(5%);
}

.dear-eco {
  margin-top: 20rem;
  text-align: center;
}

.dear-eco h2 {
  text-wrap: balance;
  font-size: 32px !important;
}

.dear-eco img {
  max-width: 800px;
}

.dear-subMerits .dear-section-inner {
  text-align: center;
}

.dear-subMerits img {
  max-width: 600px;
}

.db-teiki .l-container {
  -ms-grid-columns: (1fr)[2];
      grid-template-columns: repeat(2, 1fr);
  text-align: center;
}

.db-teiki .l-container .product {
  width: 100%;
  max-width: unset;
}

.db-bg {
  z-index: -1;
  position: absolute;
  top: 50%;
  scale: 1.1;
  width: 100vw !important;
  -ms-grid-column-align: center;
      justify-self: center;
}

.db-bg div {
  width: 100%;
  margin-inline: auto;
}

.db-bg div:nth-child(odd) {
  position: absolute;
  left: 0;
}

.db-bg div:nth-child(even) {
  position: absolute;
  right: 0;
}

.db-bg div[data-svg="0"] {
  content: url(https://zwvfihef.itembox.design/item/caretea-brand/bg/bg-0.svg);
  width: 100%;
  max-width: 300px;
  display: block;
  -webkit-transform: translateY(calc(100% * 0));
          transform: translateY(calc(100% * 0));
}

.db-bg div[data-svg="1"] {
  content: url(https://zwvfihef.itembox.design/item/caretea-brand/bg/bg-1.svg);
  width: 100%;
  max-width: 300px;
  display: block;
  -webkit-transform: translateY(calc(100% * 1));
          transform: translateY(calc(100% * 1));
}

.db-bg div[data-svg="2"] {
  content: url(https://zwvfihef.itembox.design/item/caretea-brand/bg/bg-2.svg);
  width: 100%;
  max-width: 300px;
  display: block;
  -webkit-transform: translateY(calc(100% * 2));
          transform: translateY(calc(100% * 2));
}

.db-bg div[data-svg="3"] {
  content: url(https://zwvfihef.itembox.design/item/caretea-brand/bg/bg-3.svg);
  width: 100%;
  max-width: 300px;
  display: block;
  -webkit-transform: translateY(calc(100% * 3));
          transform: translateY(calc(100% * 3));
}

.db-bg div[data-svg="4"] {
  content: url(https://zwvfihef.itembox.design/item/caretea-brand/bg/bg-4.svg);
  width: 100%;
  max-width: 300px;
  display: block;
  -webkit-transform: translateY(calc(100% * 4));
          transform: translateY(calc(100% * 4));
}

.db-bg div[data-svg="5"] {
  content: url(https://zwvfihef.itembox.design/item/caretea-brand/bg/bg-5.svg);
  width: 100%;
  max-width: 300px;
  display: block;
  -webkit-transform: translateY(calc(100% * 5));
          transform: translateY(calc(100% * 5));
}

.db-bg div[data-svg="6"] {
  content: url(https://zwvfihef.itembox.design/item/caretea-brand/bg/bg-6.svg);
  width: 100%;
  max-width: 300px;
  display: block;
  -webkit-transform: translateY(calc(100% * 6));
          transform: translateY(calc(100% * 6));
}

.db-bg div[data-svg="7"] {
  content: url(https://zwvfihef.itembox.design/item/caretea-brand/bg/bg-7.svg);
  width: 100%;
  max-width: 300px;
  display: block;
  -webkit-transform: translateY(calc(100% * 7));
          transform: translateY(calc(100% * 7));
}

@media screen and (max-width: 768px) {
  .db-bg div[data-svg="0"] {
    width: 80%;
    max-width: 150px;
  }
  .db-bg div[data-svg="1"] {
    width: 80%;
    max-width: 150px;
  }
  .db-bg div[data-svg="2"] {
    width: 80%;
    max-width: 150px;
  }
  .db-bg div[data-svg="3"] {
    width: 80%;
    max-width: 150px;
  }
  .db-bg div[data-svg="4"] {
    width: 80%;
    max-width: 150px;
  }
  .db-bg div[data-svg="5"] {
    width: 80%;
    max-width: 150px;
  }
  .db-bg div[data-svg="6"] {
    width: 80%;
    max-width: 150px;
  }
  .db-bg div[data-svg="7"] {
    width: 80%;
    max-width: 150px;
  }
}

.right-nav {
  position: fixed;
  right: 0;
  top: 30%;
  background: #e2ecf1;
  color: #515057;
  border-radius: 12px;
  padding-inline: 2rem;
  max-width: 250px;
  z-index: 1000;
}

.right-nav a {
  text-decoration: unset;
  color: unset;
}

.right-nav ul {
  list-style: none;
  translate: -10%;
  padding: 1rem;
}

.right-nav ul li {
  padding: 1rem 2rem;
  cursor: pointer;
  border-radius: 24px;
}

.right-nav li:hover {
  background-color: #fff;
  color: #333;
  border-radius: 24px;
}

.dear-howto {
  padding-block: 3rem;
  max-width: 1200px;
  padding-inline: 1rem;
  margin-inline: auto;
}

.dear-howto small {
  opacity: 0.5;
  display: block;
  margin-top: 2rem;
}

.dear-steps {
  padding-inline: 2rem;
  width: 100%;
}

.dear-steps details {
  padding: 1rem;
  margin-left: 2rem;
  -webkit-transition: -webkit-transform 0.4s;
  transition: -webkit-transform 0.4s;
  transition: transform 0.4s;
  transition: transform 0.4s, -webkit-transform 0.4s;
  -webkit-transform: translateY(30%);
          transform: translateY(30%);
  pointer-events: none;
  /* prevents click events */
  /* アコーディオンが開いた時のスタイル */
}

.dear-steps details[open] {
  -webkit-transform-origin: bottom;
          transform-origin: bottom;
  -webkit-transform: translateY(0);
          transform: translateY(0);
}

.dear-steps summary {
  display: -ms-grid;
  display: grid;
  /* 初期値の display: list-item 以外を指定したので、デフォルトの三角形アイコンは非表示になる */
  -ms-grid-columns: 1fr 24px;
      grid-template-columns: 1fr 24px;
  gap: 6px;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  padding: 16px 24px;
  font-weight: bold;
  font-size: 1.4em;
  margin-left: -2rem;
  -webkit-transition: -webkit-transform 0.4s;
  transition: -webkit-transform 0.4s;
  transition: transform 0.4s;
  transition: transform 0.4s, -webkit-transform 0.4s;
}

.dear-steps summary::marker {
  content: "";
}

.dear-steps summary::-webkit-details-marker {
  display: none;
}

.dear-lineup .dear-row-wrap {
  overflow: unset;
}

.dear-lineup .dear-row-wrap .dear-col-2 {
  margin-inline: auto;
}

.dear-lineup h2 {
  position: relative;
  margin-top: 3rem;
  font-size: 30px;
  text-align: center;
}

.dear-lineup h2::before {
  content: url(https://zwvfihef.itembox.design/item/caretea-brand/lineup_deco.png);
  width: 100%;
  height: 100%;
  scale: 0.8;
  display: inline-block;
}

.lineup-card {
  width: 100%;
  position: relative;
  text-align: left;
  color: #515057;
  max-width: 325px;
  max-height: 615px;
  text-align: center;
  border: 2px solid #ececec;
  background-color: #fff;
  padding: 3rem;
  border-radius: 20px;
}

.lineup-card img {
  width: 100%;
  max-width: 200px;
  height: 100%;
  max-height: 200px;
  -o-object-fit: contain;
     object-fit: contain;
  margin-bottom: 1rem;
}

.lineup-card p:last-child {
  text-align: left;
}

.lineup-card_title {
  border-bottom: 5px dotted var(--card-main);
  text-align: center;
}

.lineup-card_title h4 {
  font-size: 18px;
  font-weight: bold;
  padding-bottom: 1rem;
}

.lineup-card_price {
  text-align: right;
  color: var(--card-main);
  font-weight: bold;
  font-size: 1.2em;
}

.lineup-card_btn {
  border-radius: 1.8rem;
  background-color: #ff9425;
  text-align: center;
  height: 40px;
  line-height: 40px;
  width: 100%;
  cursor: pointer;
  margin-top: 1rem;
}

.lineup-card_btn a {
  text-decoration: none;
  color: #fff;
  font-weight: bold;
}

@media screen and (max-width: 768px) {
  .dear-lineup .dear-row {
    gap: 0.5rem;
    display: block;
  }
  .lineup-card {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    padding: 1rem 0.5rem;
    width: 100%;
    overflow: hidden;
    max-width: unset;
  }
  .lineup-card img {
    min-width: 150px;
    height: 150px;
    -ms-flex-item-align: center;
        -ms-grid-row-align: center;
        align-self: center;
  }
  .lineup-card_inner {
    padding: 0.5rem;
  }
  .lineup-card h4 {
    font-size: 15px !important;
    text-wrap: nowrap;
    margin-block: 0.5rem;
  }
  .lineup-card_title {
    border-bottom: 2px dotted var(--card-main);
  }
  .lineup-card p,
  .lineup-card a {
    font-size: 14px;
    margin-block: 0.5rem;
  }
  /* .lineup-card_btn {
    height: 24px;
    line-height: 24px;
  } */
}

@-webkit-keyframes light {
  100% {
    outline-color: transparent;
    outline-offset: 12px;
  }
}

@keyframes light {
  100% {
    outline-color: transparent;
    outline-offset: 12px;
  }
}

@-webkit-keyframes pulse {
  0%,
  100% {
    opacity: 0.6;
  }
  50% {
    opacity: 1;
  }
}

@keyframes pulse {
  0%,
  100% {
    opacity: 0.6;
  }
  50% {
    opacity: 1;
  }
}

.loading-animation {
  -webkit-filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
          filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.fade-out {
  -webkit-animation: fadeOut 0.5s ease-out forwards;
          animation: fadeOut 0.5s ease-out forwards;
}

@-webkit-keyframes fadeOut {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
    visibility: hidden;
  }
}

@keyframes fadeOut {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
    visibility: hidden;
  }
}

@-webkit-keyframes pop {
  0% {
    scale: 0.5;
  }
  100% {
    scale: 1;
  }
}

@keyframes pop {
  0% {
    scale: 0.5;
  }
  100% {
    scale: 1;
  }
}

.fadeup {
  opacity: 1;
}

.popup-el.popup {
  -webkit-animation: popup 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94);
          animation: popup 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  -webkit-transform-origin: bottom;
          transform-origin: bottom;
  opacity: 1;
}

@-webkit-keyframes popup {
  0% {
    -webkit-transform: translateY(100%);
            transform: translateY(100%);
    opacity: 0;
  }
  100% {
    -webkit-transform: translateY(0);
            transform: translateY(0);
    opacity: 1;
  }
}

@keyframes popup {
  0% {
    -webkit-transform: translateY(100%);
            transform: translateY(100%);
    opacity: 0;
  }
  100% {
    -webkit-transform: translateY(0);
            transform: translateY(0);
    opacity: 1;
  }
}

[popover] {
  -webkit-animation: pop 0.5s cubic-bezier(0.215, 0.61, 0.355, 1);
          animation: pop 0.5s cubic-bezier(0.215, 0.61, 0.355, 1);
  -webkit-transform-origin: top;
          transform-origin: top;
}

[popover]::-webkit-backdrop {
  background-color: rgba(0, 0, 0, 0.6);
  /* 半透明の黒 */
  -webkit-backdrop-filter: blur(3px);
          backdrop-filter: blur(3px);
}

[popover]::backdrop {
  background-color: rgba(0, 0, 0, 0.6);
  /* 半透明の黒 */
  -webkit-backdrop-filter: blur(3px);
          backdrop-filter: blur(3px);
}

@media screen and (max-width: 768px) {
  .shape .content-inner {
    font-size: 18px;
  }
  .shape button.dear-card-btn {
    border-bottom: 2px dahsed #d18a00;
  }
  .dear-row h2 {
    text-align: center;
  }
  .dear-cols {
    display: block;
  }
  .dear-cols .dear-col {
    max-width: 90vw;
  }
  .dear-cols .dear-card {
    padding: 0;
    margin: 0;
    margin-bottom: 1rem;
    margin-right: 0;
    width: 100%;
    max-width: 96vw !important;
    max-height: 300px;
  }
  section > div[class*="container"] {
    padding-inline: unset;
  }
  #dear-baby h1.baby-title {
    font-size: 40px;
  }
  #dear-baby h2 {
    font-size: 30px;
  }
  .dear-comparison img,
  .dear-recommend img {
    max-width: 80vw;
  }
  .popup-el img {
    -webkit-transform: translateY(-20%);
            transform: translateY(-20%);
  }
  .right-nav {
    display: none;
  }
  .db-teiki .l-container {
    display: block;
  }
  .db-teiki .l-container .img-container,
  .db-teiki .l-container .content-inner {
    width: 100%;
  }
  .db-teiki .l-container .subscription-price {
    font-size: 1rem;
  }
}

@media screen and (min-width: 769px) {
  .popup-el img:first-of-type {
    left: 35%;
  }
  .popup-el img:last-of-type {
    right: 35%;
  }
}

/* caretea.htmlから移動したページ固有スタイル */
html body .change-font,
html body .change-font * {
    font-family: "Zen Maru Gothic", sans-serif !important;
}


@media screen and (min-width: 769px) {
    section {
        margin-bottom: 60px !important;
    }
}

@media screen and (max-width: 768px) {
    section {
        margin-bottom: 20px !important;
    }
}

.db-bg-top {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100vw;
    /* ビューポートいっぱい */
    height: 300vh;
    z-index: -2;
}

.db-bg-top img {
    position: absolute;
    right: 0;
    /* 右端基準に揃える */
    width: auto;
    /* 画像本来の横幅 */
    max-width: none;
    display: block;
}

.db-bg-top img.bg-a {
    top: 40%;
}

.db-bg-top img.bg-b {
    top: 150%;
}


.br-sp {
    display: none;
}

@media screen and (max-width: 768px) {
    .br-sp {
        display: inline;
    }
}

#backToTop {
    position: fixed;
    right: 30px;
    bottom: 30px;
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s;
    z-index: 5;
}

#backToTop.show {
    opacity: 1;
    pointer-events: auto;
}

@media screen and (min-width: 769px) {
    #caretea-brand .p-vision__bg {
        width: 80% !important;
        right: -10% !important;
    }
}

.l-teiki-products .l-container {
    margin-bottom: 60px !important;
}


@media screen and (max-width: 768px) {
    section.l-teiki-products .product .content-container {
        display: flex;
        align-items: flex-start !important;
    }

    section.l-teiki-products .product .img-container {
        flex: 0 0 200px;
        max-width: 200px;
    }

    section.l-teiki-products .product .img-container img {
        display: block;
        width: 100%;
        height: auto;
    }

    section.l-teiki-products .product .content-inner {
        flex: 1 1 auto;
    }
}

html {
    scroll-behavior: smooth;
}

/* モバイル用調整 */
@media (max-width: 768px) {
    #backToTop {
        transform: scale(0.7);
        /* 70%縮小 */
        bottom: 84px;
        /* 高めに出す（フッター回避） */
        right: 12px;
        /* 余白も調整したければ */
    }
}

@media screen and (max-width: 768px) {
    #caretea-brand #cb-catch img:last-child {
        max-width: 100px;
        left: 80% !important;
        bottom: -40px;
    }
}

.cb-feature_container {
    display: grid;
    gap: 24px;
}

.feature {
    display: grid;
    gap: 16px;
}

.feature__media {
    position: relative;
}

.feature__media img {
    display: block;
    width: 100%;
    height: auto;
}

.feature--overlap {
    display: grid;
}

.feature--overlap .feature__media {
    z-index: 1;
    grid-area: 1 / 1;
}

.feature__content--overlay {
    grid-area: 1 / 1;
    display: grid;
    place-items: center;
    text-align: center;
    padding: 16px;
    z-index: 2;
}

.feature__media img.is-decor {
    max-width: 240px;
    width: auto;
    margin-inline: auto;
}

@media (min-width: 769px) {
    .feature--media-left {
        display: grid;
        grid-template-columns: 1fr 1fr;
        align-items: center;
        gap: 24px;
    }
}

@media (max-width: 768px) {
    :root {
        --media-max: clamp(180px, 64vw, 380px);
    }

    .cb-feature_container .feature__media>img {
        max-width: var(--media-max);
        margin-inline: auto;
    }

    .cb-feature_container .feature__media>img.is-decor {
        max-width: 180px;
        width: auto;
    }

    .feature__content--overlay {
        padding: 8px 12px;
    }
}

.cbv-outer {
    width: 100%;
    max-width: clamp(720px, 70vw, 1080px);
    margin: 0 auto;
    aspect-ratio: 16 / 9;
    background: url("https://zwvfihef.itembox.cloud/item/caretea-brand/movie_shot.jpg") center center / cover no-repeat;
    position: relative;
    isolation: isolate;
}

.cbv-outer .cbv-inner {
    width: 100%;
    max-width: none !important;
    margin: 0 !important;
    height: 100%;
}

.cbv-outer video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.cbt-text {
    max-width: 480px;
    margin: 16px auto 0;
}

#cb-products .p-product__text a {
    margin-top: 1rem;
}

#cb-products .p-products-container {
    gap: 0rem !important;
}

#cb-products .p-product img,
#cb-products .p-product .square {
    margin: 0 auto 3rem !important;
}


.right-nav {
    background-color: rgba(226, 236, 241, 0.8) !important;
}

.right-nav ul {
    translate: none !important;
    transform: none !important;
    padding: 1rem !important;
    padding-left: 0 !important;
    margin: 0 !important;
    list-style: none;
}

.concept-title-img {
    max-width: 240px !important;
    display: block;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .concept-title-img {
        width: 50% !important;
    }
}

#dear-howto2 {
    margin: 0
}

#dear-howto2 .howto2-title {
    margin: 100px 0 16px;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 16px
}

#dear-howto2 .howto2-title-img {
    display: block;
    width: 100%;
    max-width: 500px;
    height: auto;
    margin: 0 auto
}

#dear-howto2 .howto2-inner {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 16px
}

.howto2-steps {
    list-style: none;
    margin: 0;
    padding: 0
}

.howto2-step {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 12px 16px;
    align-items: start;
    padding: 20px 0 16px;
    border-top: none;
    position: relative;
}

.howto2-step::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: radial-gradient(circle, #ffd98f 1.5px, transparent 1.5px) 0 0/12px 3px repeat-x;
    pointer-events: none;
}

.howto2-step:first-child::before {
    display: none
}

.howto2-step__icon {
    align-self: center
}

.howto2-step__icon img {
    width: 150px;
    height: 150px;
    object-fit: contain;
    border-radius: 9999px;
    background: #ffe7ef
}

.howto2-step__head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 2px
}

.howto2-step__badge {
    display: inline-block;
    width: 110px;
    height: auto;
    vertical-align: middle
}

.howto2-step__title {
    font-weight: 700;
    color: #7dabe2;
    font-size: 30px
}

.howto2-step__text {
    margin: 8px 0 0;
    line-height: 1.8;
    font-size: 20px;
    text-align: left;
}

@media (max-width:768px) {
    #dear-howto2 .howto2-title {
        margin-bottom: 8px
    }

    #dear-howto2 .howto2-title-img {
        max-width: 280px
    }

    .howto2-step {
        grid-template-columns: 78px 1fr;
        gap: 8px 12px;
        padding: 18px 0 14px
    }

    .howto2-step__icon img {
        width: 78px;
        height: 78px
    }

    .howto2-step__title {
        font-size: 16px
    }

    .howto2-step__text {
        font-size: 14px
    }
}

.p3-title img {
    display: block;
    width: 100%;
    max-width: 494px;
    height: auto;
    margin: 0 auto
}

.p3-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    justify-items: center;
    align-items: start;
    margin-top: 24px
}

.p3-card {
    display: block;
    width: 100%;
    max-width: 380px;
    aspect-ratio: 380/330;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent
}

.p3-card img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain
}

@media (max-width:768px) {
    .p3-grid {
        grid-template-columns: 1fr;
        place-items: center
    }

    .p3-card {
        max-width: min(72vw, 300px);
        margin: 0 auto
    }
}

.p3-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .6);
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s;
    z-index: 9998;
    isolation: isolate
}

.p3-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    width: min(600px, 92vw);
    height: min(620px, 90vh);
    max-width: 600px;
    max-height: 620px;
    transform: translate(-50%, -48%) scale(.98);
    background: #FFFFFF;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .2);
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s, transform .2s;
    z-index: 9999;
    isolation: isolate;
    box-sizing: border-box
}

.p3-body {
    padding: 57px 16px 136px;
    width: min(500px, calc(100% - 32px));
    margin: 0 auto;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    max-height: none;
    overflow: visible
}

.p3-body p {
    font-family: 'Zen Maru Gothic', system-ui, -apple-system, "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.6;
    letter-spacing: .236271px;
    color: #000
}

.p3-figure {
    position: absolute;
    top: 379px;
    left: 50%;
    transform: translateX(-50%);
    width: 446px;
    height: 225px;
    max-width: none;
    object-fit: contain;
    z-index: 1
}

.p3-modal::after {
    content: "";
    position: absolute;
    top: 379px;
    left: 50%;
    transform: translateX(-50%);
    width: 446px;
    height: 225px;
    pointer-events: none;
    background: radial-gradient(50% 50% at 50% 50%, #FFFFFF 0%, rgba(255, 255, 255, .8) 78.85%, rgba(255, 255, 255, 0) 100%);
    z-index: 0
}

.p3-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
    background: #D9D9D9;
    color: #FFF;
    font-family: 'Zen Maru Gothic', system-ui, -apple-system, "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
    font-weight: 900;
    font-size: 40px;
    letter-spacing: .236271px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    -webkit-appearance: none;
    -webkit-tap-highlight-color: transparent;
    z-index: 10000;
    pointer-events: auto;
    touch-action: manipulation
}

@media (max-width:480px) {
    .p3-close {
        width: 50px;
        height: 50px;
        font-size: 40px
    }
}

/* ここを .p3-container 経由に修正 */
#p3-r1:checked~.p3-container .p3-overlay {
    opacity: 1;
    pointer-events: auto
}

#p3-r2:checked~.p3-container .p3-overlay {
    opacity: 1;
    pointer-events: auto
}

#p3-r3:checked~.p3-container .p3-overlay {
    opacity: 1;
    pointer-events: auto
}

#p3-r1:checked~.p3-container .p3-modal--1 {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
    pointer-events: auto
}

#p3-r2:checked~.p3-container .p3-modal--2 {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
    pointer-events: auto
}

#p3-r3:checked~.p3-container .p3-modal--3 {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
    pointer-events: auto
}

#p3-r1:checked~.p3-container .p3-grid,
#p3-r2:checked~.p3-container .p3-grid,
#p3-r3:checked~.p3-container .p3-grid {
    pointer-events: none
}

@media screen and (max-width:768px) {
    .p3-container {
        margin-bottom: 40px !important
    }
}

@media (max-height:640px) {
    .p3-figure {
        top: auto;
        bottom: 20px;
        width: min(446px, calc(100% - 120px));
        height: auto
    }

    .p3-modal::after {
        top: auto;
        bottom: 20px;
        width: min(446px, calc(100% - 120px));
        height: 225px
    }
}

/* レイヤ順を厳密化 */
.p3-modal {
    isolation: isolate
}

.p3-close {
    z-index: 10000
}

.p3-body {
    position: relative;
    z-index: 3
}

.p3-figure {
    position: absolute;
    z-index: 2
}

.p3-modal::after {
    z-index: 1
}

/* モーダル vs オーバーレイの前後関係（モーダルが上） */
.p3-modal {
    z-index: 9999
}

.p3-overlay {
    z-index: 9998
}

/* ここから追加のガードレール */
.p3-section * {
    min-width: 0;
    box-sizing: border-box
}

.p3-modal {
    height: min(620px, 90svh);
    overflow: auto
}

/* 狭幅時の図版縮退＋重なり回避 */
@media (max-width:600px) {
    .p3-figure {
        top: auto;
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%);
        width: min(446px, calc(100% - 120px));
        height: auto
    }

    .p3-modal::after {
        top: auto;
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%);
        width: min(446px, calc(100% - 120px));
        height: 225px
    }

    .p3-body {
        padding-bottom: clamp(160px, 36vh, 260px)
    }
}

/* モーダル表示中はページスクロールを停止 */
html:has(#p3-r1:checked),
html:has(#p3-r2:checked),
html:has(#p3-r3:checked) {
    overflow: hidden
}

/* スクロールバー（WebKit系角丸 + Firefox近似） */
.p3-modal {
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 0, 0, .28) transparent
}

.p3-modal::-webkit-scrollbar {
    width: 12px
}

.p3-modal::-webkit-scrollbar-track {
    background: transparent;
    border-radius: 8px
}

.p3-modal::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, .28);
    border-radius: 999px;
    border: 3px solid transparent;
    background-clip: content-box
}

.p3-modal::-webkit-scrollbar-thumb:hover {
    background-color: rgba(0, 0, 0, .4)
}

.p3-modal::-webkit-scrollbar-corner {
    background: transparent
}

.p3-modal {
    overflow: hidden
}

.p3-body {
    position: absolute;
    top: 57px;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: min(500px, calc(100% - 32px));
    margin: 0;
    padding: 0 16px;
    background: transparent;
    overflow: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    z-index: 3;
    text-align: left;
}

@media (max-width:600px) {
    .p3-body {
        padding-bottom: 0 !important
    }
}

/* スクロールバー装飾は本文側に適用 */
.p3-body {
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 0, 0, .28) transparent
}

.p3-body::-webkit-scrollbar {
    width: 12px
}

.p3-body::-webkit-scrollbar-track {
    background: transparent;
    border-radius: 8px
}

.p3-body::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, .28);
    border-radius: 999px;
    border: 3px solid transparent;
    background-clip: content-box
}

.p3-body::-webkit-scrollbar-thumb:hover {
    background-color: rgba(0, 0, 0, .4)
}

.p3-body::-webkit-scrollbar-corner {
    background: transparent
}


/* 念のため：背景はそのまま固定（.p3-modalがスクロールしないので動かない） */
.p3-figure {
    position: absolute
}

.p3-modal::after {
    position: absolute
}

.dear-eco {
    --card-w: 800px;
    --media-w: 220px;
    --img-w: 188px;
    --gap: 28px;
    --leaf-top: 12%;
    --text-inset: 10%;
    --text-pad: 20px;
    max-width: var(--card-w);
    width: 100%;
    margin: 0 auto;
    background: #FFFFF8;
    border-radius: 20px;
    padding: 24px 32px 32px;
    color: #333;
    font-family: "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
}

.dear-eco,
.dear-eco * {
    box-sizing: border-box
}

.dear-eco__title {
    display: flex;
    justify-content: center;
    margin: 0 0 12px
}

.dear-eco__title img {
    display: block;
    width: 443px;
    height: auto
}

.dear-eco__lead {
    margin: 8px 0 16px;
    font-size: clamp(18px, 2.4vw, 24px);
    line-height: 1.6;
    text-align: left
}

.dear-eco__items {
    display: grid;
    gap: 34px;
    margin-top: 24px
}

.eco-row {
    display: grid;
    grid-template-columns: var(--media-w) 1fr;
    gap: var(--gap);
    position: relative;
    align-items: stretch;
}

.eco-row__media {
    display: grid;
    place-items: center
}

.eco-row__img {
    width: min(var(--img-w), 100%);
    height: auto;
    aspect-ratio: 188/224;
    object-fit: contain;
}

.eco-row__right {
    position: relative;
    min-height: 100%
}

.leafbar {
    position: absolute;
    left: calc(var(--media-w) + var(--gap));
    width: calc(100% - (var(--media-w) + var(--gap)));
    top: var(--leaf-top);
    height: 20px;
    display: block;
    pointer-events: none;
    z-index: 1;
}

.leafbar img {
    display: block;
    width: 100%;
    height: auto;
    max-width: 504px
}

.eco-row__textbox {
    position: absolute;
    inset: var(--text-inset) 0 var(--text-inset) 0;
    padding: var(--text-pad);
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
    z-index: 2;
}

.eco-row__textbox p {
    margin: 0;
    font-size: 20px;
    line-height: 32px;
    letter-spacing: .7px;
    color: #515057;
}

.leafbar--end {
    position: static;
    width: 100%;
    height: auto;
    margin: 0;
}

.leafbar--end img {
    display: block;
    width: calc(100% - (var(--media-w) + var(--gap)));
    margin-left: calc(var(--media-w) + var(--gap));
    height: auto;
    max-width: none;
}

@media (max-width:768px) {
    .dear-eco {
        padding: 20px
    }

    .dear-eco__title img {
        width: min(92vw, 560px);
        max-width: 100%;
        height: auto;
        display: block;
        margin: 0 auto;
    }

    .dear-eco__lead {
        font-size: 16px
    }

    .eco-row {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .eco-row__textbox p {
        font-size: 14px;
    }

    .leafbar {
        position: static;
        top: auto;
        right: auto;
        bottom: auto;
        left: auto;
        width: min(100%, 504px);
        margin: 0 auto;
        height: auto;
        z-index: auto;
    }

    .leafbar img {
        width: 100%;
        height: auto;
        max-width: none
    }

    .eco-row__img {
        width: 36vw;
        max-width: 157px;
    }

    .eco-row__right {
        position: static;
        min-height: auto;
        width: 100%
    }

    .eco-row__textbox {
        position: static;
        top: auto;
        right: auto;
        bottom: auto;
        left: auto;
        inset: auto;
        transform: none;
        width: 100%;
        max-width: 560px;
        padding: 16px;
        margin: 0 auto;
    }

    .eco-row__textbox p {
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    .leafbar--end {
        margin: 0
    }

    .leafbar--end img {
        width: 100%;
        margin-left: 0
    }
}

.dear-eco__cta {
    width: 100%;
    margin: 28px 0 0;
    display: flex;
    align-items: center;
    gap: 18px;
}

.dear-eco__mascot {
    width: 150px;
    height: auto;
    flex: 0 0 auto;
}

.dear-eco__note {
    flex: 1 1 auto;
    max-width: none;
    background: #fff;
    border: 3px dashed #EDBE59;
    border-radius: 20px;
    padding: 30px;
    text-align: left;
}

.dear-eco__note p {
    margin: 0;
    font-size: 24px;
    line-height: 1.3;
}

@media (max-width: 768px) {
    .dear-eco__cta {
        flex-direction: column;
    }

    .dear-eco__note {
        width: 100%;
    }

    .dear-eco__note p {
        overflow-wrap: anywhere;
        word-break: break-word;
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .lineup-card_title {
        border-bottom: 2px dotted var(--card-main);
    }

    .lineup-card_title h4 {
        white-space: normal;
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    .dear-lineup .dear-col-2 {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        width: 100% !important;
    }

    [class*="col-"] {
        padding-right: 12px;
        padding-left: 12px;
    }
}

/* タイトル＋画像を縦並び（PC・モバイル共通） */
.lineup-head {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* ピンク帯が画像に引っ張られないようにする + 折返し許可 */
.lineup-head>div {
    flex-shrink: 0;
    white-space: normal;
    /* ← nowrap を解除して折返し可能にする */
    width: auto;
    /* 画像に合わせて自然に広げる */
    max-width: 100%;
    /* text overflow回避 */
}

/* 画像 */
.lineup-head img {
    max-width: 100%;
    height: auto;
}

/* モバイル（任意：画像の最大幅だけ制御する） */
@media (max-width: 768px) {
    .lineup-head img {
        max-width: 170px;
    }
}

@media (max-width: 768px) {
    .label-break {
        white-space: normal !important;
        /* nowrap を解除 */
    }
}


@media (max-width: 768px) {
    .dear-lineup h2::before {
        content: "" !important;
        display: block !important;
        width: 100% !important;
        height: clamp(80px, 22vw, 180px) !important;
        margin: 0 auto !important;
        background-image: url(https://zwvfihef.itembox.cloud/item/caretea-brand/lineup_deco.png) !important;
        background-repeat: no-repeat !important;
        background-position: center !important;
        background-size: contain !important;
        transform: none !important;
        scale: 1 !important;
        margin-bottom: 10px !important;
    }

    .dear-lineup h2 {
        margin-top: 0.1rem !important;
        max-width: 100vw !important;
        margin-left: auto !important;
        margin-right: auto !important;
        overflow-wrap: anywhere !important;
        word-break: break-word !important;
    }
}

@media screen and (min-width: 825px) {
    .dear-row.dear-row-wrap {
        display: flex !important;
        justify-content: center !important;
        flex-wrap: wrap !important;
        align-items: stretch !important;
        gap: 1rem !important;
        max-width: 100% !important;
        margin-inline: auto !important;
    }

    .dear-row.dear-row-wrap .dear-col-2 {
        flex: 0 1 360px !important;
        max-width: 360px !important;
        margin-inline: 0;
        margin-block: 1rem !important;
        display: flex !important;
    }
}

/* ✅ モバイル時は flex を解除して 1 カラム強制 */
@media screen and (max-width: 824px) {
    .dear-row.dear-row-wrap {
        display: block !important;
    }

    .dear-row.dear-row-wrap .dear-col-2 {
        flex: none !important;
        max-width: 100% !important;
        width: 100% !important;
        display: block !important;
    }
}


@media screen and (max-width: 768px) {

    .dear-comparison img,
    .dear-recommend img {
        max-width: 90vw !important;

    }

    .dear-recommend,
    .dear-comparison {
        padding-block: 0.1rem !important;
    }
}

@media (min-width: 769px) {
    #dear-detail-modal {
        max-width: 1000px !important;
        width: 70vw !important;
        max-height: 90vh !important;
        overflow-x: hidden;
        overflow-y: auto;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
        padding: 0 !important;
        background: none !important;
    }
}

@media (max-width: 768px) and (hover:none) and (pointer:coarse) {
    #dear-detail-modal[popover]:popover-open {
        position: fixed;
        top: 50%;
        left: 50%;
        right: auto;
        bottom: auto;
        transform: translate(-50%, -50%);
        width: 90vw;
        width: 90dvw !important;
        max-height: 86vh;
        max-height: 86dvh !important;
        margin: 0;
        overflow: hidden;
        padding: 0 !important;
        background: none !important;
    }

    #dear-detail-modal {
        overflow: hidden;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    #dear-detail-modal::-webkit-scrollbar {
        display: none;
        width: 0;
        height: 0;
    }

    #dear-detail-modal[popover] {
        -webkit-animation: none !important;
        animation: none !important;
    }

    #dear-detail-modal .dear-modal-inner {
        position: relative;
        display: inline-block;
        line-height: 0;
        animation: fadeIn .18s ease-out both;
    }

    #dear-detail-modal img {
        display: block;
        margin: 0;
        width: auto !important;
        height: auto !important;
        max-width: min(90dvw, 1000px) !important;
        max-height: 86dvh !important;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(.98)
    }

    to {
        opacity: 1;
        transform: scale(1)
    }
}

#cb-products .p-products-container {
    background: rgba(255, 255, 255, 1.0) !important;
}

/* ▼ 全体を縦並び、センタリング */
.producer-feature {
    display: flex;
    flex-direction: column;
    /* 写真 → テキスト */
    align-items: center;
    /* 中央揃え */
    gap: 8px;
    /* 写真とテキストの間の余白 */
    margin-top: 24px;
}

/* ▼ 写真サイズ指定（ここは変えない） */
.producer-feature .producer-photo {
    width: 150px;
    height: 150px;
    display: block;
}

/* ▼ テキスト — 下に配置するだけ */
.producer-feature__text {
    font-size: 14px;
    text-align: center;
    /* センタリング */
    line-height: 1.4;
}
