@charset "UTF-8";
body {
  background: url(https://zwvfihef.itembox.design/item/caretea-brand/cb-bg.jpg);
  background-repeat: repeat-y;
  overflow-x: hidden;
  color: #333;
}

#caretea-brand h1,
#caretea-brand h2,
#caretea-brand h3,
#caretea-brand h4,
#caretea-brand h5,
#caretea-brand h6 {
  font-family: serif;
}

#caretea-brand section {
  text-align: center;
}

#caretea-brand section:not(:first) {
  margin: 20rem auto;
}

#caretea-brand section h2:not(.p-vision__title-main) {
  display: inline-block;
  text-align: center;
  margin: 3rem auto;
  padding: 1rem 2rem;
  font-size: 3rem;
}

#caretea-brand p {
  font-size: 16px !important;
}

@media screen and (max-width: 768px) {
  section.p-page_article .p-page_article__inner h2 {
    line-height: 1.2;
  }
}

.l-content-wrapper {
  max-width: 800px;
  margin: 0 auto;
}

/* フェードインさせる要素 */
.fadeup {
  opacity: 0;
  /* 最初は非表示にしておく */
  -webkit-transform: translateY(100px);
          transform: translateY(100px);
  -webkit-transition: all 1s ease-in-out;
  transition: all 1s ease-in-out;
  /* 動きを滑らかに */
}

/* フェードイン用のクラス */
.fadeIn {
  opacity: 1;
  -webkit-transform: translateY(0);
          transform: translateY(0);
}

#cb-fv {
  max-height: 60vh;
  overflow: hidden;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}

#cb-fv .cb-fv-wrapper {
  margin: 0 auto;
}

#cb-fv .cb-fv-wrapper .cb-fv-banner {
  width: 100vw;
  height: auto;
  -o-object-fit: contain;
     object-fit: contain;
  -o-object-position: top center;
     object-position: top center;
}

#caretea-brand .p-vision__bg {
  position: absolute;
  top: 10%;
  right: -20%;
  width: 100%;
  height: 100%;
  max-width: 80%;
  max-height: 600px;
  background-image: url("https://zwvfihef.itembox.design/item/caretea-brand/04.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  z-index: -1;
  opacity: 0.5;
}

#cb-catch {
  font-family: hiragino-mincho-pron, sans-serif;
}

#cb-catch h2 {
  font-size: 2.5rem !important;
  font-weight: bold;
}

#cb-catch p {
  font-size: 1.3em !important;
  line-height: 1.5;
  letter-spacing: 0.2rem;
  color: #333;
}

#cb-vision {
  position: relative;
  padding: 4rem 2rem;
  background: rgba(255, 255, 255, 0.8);
}

#cb-vision .p-vision {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  line-height: 2;
}

#cb-vision .p-vision__title {
  text-align: center;
  padding: 1rem;
  min-width: 300px;
  min-height: 300px;
  background: #00000080;
  color: white;
  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;
}

#cb-vision .p-vision__title-main {
  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;
  font-size: 3rem;
  margin: 2rem auto;
  font-weight: bold;
  position: relative;
  font-family: hiragino-mincho-pron, sans-serif;
  font-weight: 300;
  font-style: normal;
  color: white;
}

#cb-vision .p-vision__title-main::before {
  content: "〜私たちのVISION〜";
  position: absolute;
  top: 0%;
  font-size: 0.4em;
  font-family: Sans-Serif;
  -webkit-transform: translateY(-1.5rem);
          transform: translateY(-1.5rem);
}

#cb-vision .p-vision__title-sub {
  font-weight: normal;
  font-family: Sans-Serif;
}

#cb-vision .p-vision__text {
  max-width: 50%;
  text-align-last: left;
  margin-right: 4rem;
}

#cb-vision .p-vision__text p {
  margin-bottom: 1rem;
}

@font-face {
  #cb-teiki {
    font-family: "mushin";
    src: url(../fonts/mushin.otf) format("otf"), local(serif);
    font-display: auto;
  }
}

#cb-teiki .hand-written {
  font-family: "mushin", sans-serif;
  color: #333;
  line-height: 1.2;
  font-weight: normal !important;
}

#cb-teiki .l-teiki-intro h2.hand-written {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  text-align: center;
}

#cb-teiki .l-teiki-intro h2.hand-written span {
  color: #a55f77;
  font-size: 1.3em;
}

#cb-teiki .l-teiki-intro_content {
  padding: 1rem;
  border: 1px solid #a55f77;
  border-radius: 24px;
}

#cb-teiki .l-btnContainer {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 0.1rem;
}

#cb-teiki .l-btnContainer button {
  outline: none;
  border: none;
}

#cb-teiki h2 {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  text-wrap: nowrap;
}

#cb-teiki h2 .p-heading-icon {
  content: url(https://zwvfihef.itembox.design/item/caretea-brand/cb-icon-teiki.svg);
  -ms-flex-item-align: center;
      -ms-grid-row-align: center;
      align-self: center;
  margin-right: 1rem;
}

#cb-feature {
  width: 100%;
}

#cb-feature h3 {
  font-weight: bold;
  text-align: left;
  font-size: 28px;
  -webkit-transform: translateX(-10%);
          transform: translateX(-10%);
  padding-top: 10rem;
  padding-bottom: 2rem;
  text-shadow: 0 0 10px #fff !important;
  font-family: hiragino-mincho-pron, sans-serif;
  font-weight: 300;
  font-style: normal;
  color: #333;
}

#cb-feature h3 span {
  font-size: 28px !important;
}

#cb-feature p {
  text-align: left;
}

#cb-feature img {
  width: 80%;
  margin: 0 auto 2rem;
}

#cb-feature p.cb-feature_ps {
  font-size: 0.8em;
  color: darkgrey;
}

#cb-products {
  padding: 3rem auto;
}

#cb-products .p-products-container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 5rem;
  padding: 4rem 2rem;
  background: rgba(255, 255, 255, 0.5);
  -webkit-box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
          box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

#cb-products .p-product {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 2rem;
  padding: 3rem 1rem;
}

#cb-products .p-product img,
#cb-products .p-product .square {
  width: 100%;
  height: 100%;
  max-width: 250px;
  max-height: 250px;
  margin: 3rem auto;
}

#cb-products .p-product .square {
  min-width: 250px;
  min-height: 250px;
  background-color: gray;
}

#cb-products .p-product__text {
  position: relative;
  width: 100%;
  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;
  text-align: left;
}

#cb-products .p-product__text h4 {
  font-weight: bold;
  color: #333;
  font-size: 2em;
  font-family: Sans-Serif;
}

#cb-products .p-product__text h4 span {
  font-size: 0.7em;
  margin-left: 4px;
}

#cb-products .p-product__text p {
  padding: 1rem 0;
  width: 100%;
  height: auto;
}

#cb-products .p-product__text a {
  display: inline-block;
  border: 1px solid rgba(0, 0, 0, 0.2);
  width: auto;
  max-width: 250px;
  text-align: left;
  -webkit-transition: all 0.2s;
  transition: all 0.2s;
  padding: 1rem;
}

#cb-products .p-product__text a:hover {
  border: 1px solid;
}

#cb-products .p-product__text a::after {
  content: "→";
  padding-left: 10px;
}

#caretea-brand .fs-c-productListItem .fs-c-productListItem__productName {
  all: unset;
  text-align: left;
  font-size: 14px;
  font-family: Sans-Serif;
  font-weight: bold;
}

#cb-how-to-use .tabs {
  width: 100%;
}

#cb-how-to-use h2 span {
  font-size: 0.3em;
  font-weight: normal;
}

#cb-how-to-use .p-slides-slide {
  width: 100%;
  border: 1px solid #ccc;
  display: none;
  opacity: 0;
  padding: 1rem 1rem;
  background: white;
}

#cb-how-to-use .p-slides-slide__title {
  font-weight: bold;
  font-size: 1.5em;
  margin-top: 3rem;
}

#cb-how-to-use .p-slides-slide__title span {
  font-weight: normal;
}

#cb-how-to-use .p-slides-slide__content {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

#cb-how-to-use .p-slides-slide__content img {
  width: 100%;
  max-height: 300px;
  max-width: 300px;
}

#cb-how-to-use .p-slides-slide__content p {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  text-align: left;
  width: 80%;
  padding-right: 2rem;
  margin: 3rem auto 3rem;
}

#cb-how-to-use input {
  display: none;
}

#cb-how-to-use label {
  display: inline-block;
  width: calc(94% / 6);
  font-weight: normal;
  text-align: center;
  background: rgba(0, 0, 0, 0.2);
  color: #fff;
  border: none;
  padding: 0.5rem;
  -webkit-transform: translateX(2%);
          transform: translateX(2%);
  text-wrap: nowrap;
}

#cb-how-to-use label span {
  font-weight: normal;
}

#cb-how-to-use label:hover {
  -webkit-filter: brightness(1.1);
          filter: brightness(1.1);
  cursor: pointer;
}

#cb-how-to-use input:checked + label {
  color: white;
  background-color: #333;
  border: none;
}

#cb-how-to-use input#tab1:checked ~ .p-slides #content1 {
  display: block !important;
  opacity: 1 !important;
}

#cb-how-to-use input#tab2:checked ~ .p-slides #content2 {
  display: block !important;
  opacity: 1 !important;
}

#cb-how-to-use input#tab3:checked ~ .p-slides #content3 {
  display: block !important;
  opacity: 1 !important;
}

#cb-how-to-use input#tab4:checked ~ .p-slides #content4 {
  display: block !important;
  opacity: 1 !important;
}

#cb-how-to-use input#tab5:checked ~ .p-slides #content5 {
  display: block !important;
  opacity: 1 !important;
}

#cb-how-to-use input#tab6:checked ~ .p-slides #content6 {
  display: block !important;
  opacity: 1 !important;
}

@media screen and (max-width: 768px) {
  p {
    font-size: 14px !important;
  }
  #caretea-brand {
    margin-top: 3rem;
  }
  #cb-catch h2 {
    margin: unset;
  }
  #cb-fv .cb-fv-wrapper .cb-fv-banner {
    -o-object-position: right center;
       object-position: right center;
  }
  #caretea-brand .p-vision__bg {
    right: unset;
    width: 100vw;
    max-width: unset;
    max-height: 60vh;
    -webkit-transform: translateX(-20px);
            transform: translateX(-20px);
  }
  #caretea-brand section h2:not(.p-vision__title) {
    font-size: 2.5rem;
    margin: 1rem auto;
  }
  #cb-vision .p-vision {
    display: unset;
  }
  .p-vision__title {
    margin: 0 auto 1rem;
    width: 70vw;
  }
  .p-vision__text {
    all: unset;
  }
  #cb-feature h3 {
    -webkit-transform: unset;
            transform: unset;
    font-size: 2em;
    padding-top: 0;
  }
  #cb-feature img {
    width: unset;
    margin: 0 auto 2rem;
  }
  #cb-products .p-products-container {
    gap: unset;
  }
  #cb-products .p-product {
    display: unset;
  }
  #cb-products .p-product sup {
    font-size: 0.8em;
  }
  #cb-products .p-product__text h4 {
    font-size: 1.5em !important;
  }
  #cb-how-to-use label {
    -webkit-transform: unset;
            transform: unset;
    font-size: 0.75em;
    width: cal(95%/6);
  }
  #cb-how-to-use label:nth-of-type(5) {
    padding-left: 4px !important;
  }
  #cb-how-to-use .p-slides .p-slides-slide {
    padding: unset;
  }
  #cb-how-to-use .p-slides .p-slides-slide .p-slides-slide__content {
    display: unset;
  }
}
