/* common
---------------------------------------------------------------------------- */
.js-tab-content {
  display: none;
}

.js-tab-content.is-current {
  display: block;
}

.m-child-mv::before {
  background-image: url("../../../images/service/adsales/bg_mv_pc.webp");
}

@media screen and (max-width: 767px) {
  .m-child-mv::before {
    background-image: url("../../../images/service/adsales/bg_mv_sp.webp");
  }
}
/* p-adsales
---------------------------------------------------------------------------- */
.p-adsales {
  padding-block: 5.8rem 0;
}

.p-adsales-bg {
  background-color: #f0f0f0;
  padding-block: 10rem;
}

.p-adsales-head {
  margin-bottom: 6rem;
}

.p-adsales-tab {
  display: flex;
  justify-content: center;
  border-radius: 0.4rem;
  overflow: hidden;
  width: fit-content;
  margin-inline: auto;
}

.p-adsales-tab-item-link {
  --col-txt: #121212;
  --col-bg: #f0f0f0;
  display: grid;
  place-content: center;
  font-size: 2rem;
  line-height: 1.1;
  letter-spacing: 0.04em;
  font-weight: 700;
  color: var(--col-txt);
  min-width: 38rem;
  height: 6.4rem;
  padding-inline: 2rem;
  background-color: var(--col-bg);
}

.p-adsales-tab-item-link.is-current {
  --col-txt: #fff;
  --col-bg: #b80000;
  pointer-events: none;
}

@media (any-hover: hover) {
  .p-adsales-tab-item-link:hover {
    --col-txt: #fff;
    --col-bg: #b80000;
  }
}
@media screen and (max-width: 767px) {
  .p-adsales {
    padding-block: 8vw 0;
  }
  .p-adsales-bg {
    padding-block: 13.3333333333vw;
  }
  .p-adsales-head {
    margin-bottom: 8vw;
  }
  .p-adsales-tab {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    border-radius: 1.0666666667vw;
    width: 100%;
  }
  .p-adsales-tab-item-link {
    font-size: 4.2666666667vw;
    min-width: 40vw;
    height: 10.6666666667vw;
    padding-inline: 2.1333333333vw;
  }
}
/* p-watch
---------------------------------------------------------------------------- */
.p-watch-lead {
  font-size: 2.6rem;
  line-height: 1.5;
  letter-spacing: 0.04em;
  font-weight: 700;
  padding-bottom: 4.3rem;
  border-bottom: 1px solid #b80000;
  margin-block: 6rem 2.3rem;
}

.p-watch-txt {
  font-size: 1.6rem;
  line-height: 1.75;
  letter-spacing: 0.04em;
  font-weight: 400;
}

.p-watch-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  justify-content: center;
  gap: 2rem;
}

.p-watch-list-item {
  width: 38.6rem;
  aspect-ratio: 386/217;
  margin-top: 4.3rem;
}
.p-watch-list-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

@media screen and (max-width: 767px) {
  .p-watch-lead {
    font-size: 5.3333333333vw;
    padding-bottom: 2.6666666667vw;
    margin-block: 5.3333333333vw 5.3333333333vw;
  }
  .p-watch-txt {
    font-size: 4.2666666667vw;
  }
  .p-watch-list {
    grid-template-columns: 1fr;
    gap: 2.6666666667vw;
    margin-top: 5.3333333333vw;
  }
  .p-watch-list-item {
    width: 100%;
    margin-top: 0;
  }
}
/* p-merit
---------------------------------------------------------------------------- */
.p-merit {
  margin-top: 10.1rem;
}

.p-merit-list {
  margin-top: 5rem;
}

.p-merit-list > :not(:last-child) {
  margin-bottom: 1.8rem;
}

.p-merit-list-item {
  border: 1px solid #cecece;
  border-left: 0.4rem solid #cecece;
  background-color: #fff;
  padding-block: 3.4rem;
  padding-inline: 3.7rem;
}

.p-merit-list-item-head {
  display: grid;
  grid-template-columns: auto auto;
  justify-content: start;
  align-items: center;
  gap: 2.5rem;
}

.p-merit-list-item-num {
  display: grid;
  place-content: center;
  width: 11.5rem;
  height: 3rem;
  background-color: #b80000;
  font-size: 2rem;
  line-height: 1.1;
  letter-spacing: 0.02em;
  font-weight: 700;
  font-family: "Lato";
  color: #fff;
}

.p-merit-list-item-ttl {
  font-size: 2.6rem;
  line-height: 1.5;
  letter-spacing: 0.04em;
  font-weight: 700;
  color: #b80000;
}

.p-merit-list-item-txt {
  font-size: 1.6rem;
  line-height: 1.75;
  letter-spacing: 0.04em;
  font-weight: 400;
  margin-top: 1.5rem;
}

@media screen and (max-width: 767px) {
  .p-merit {
    margin-top: 13.3333333333vw;
  }
  .p-merit-list {
    margin-top: 5.3333333333vw;
  }
  .p-merit-list > :not(:last-child) {
    margin-bottom: 4.8vw;
  }
  .p-merit-list-item {
    border-left: 0.8vw solid #cecece;
    padding-block: 5.3333333333vw;
    padding-inline: 4vw;
  }
  .p-merit-list-item-head {
    gap: 4vw;
  }
  .p-merit-list-item-num {
    width: 20vw;
    height: 8vw;
    font-size: 4vw;
  }
  .p-merit-list-item-ttl {
    font-size: 5.3333333333vw;
  }
  .p-merit-list-item-txt {
    font-size: 4.2666666667vw;
    margin-top: 4vw;
  }
}
/* p-case
---------------------------------------------------------------------------- */
.p-case {
  margin-top: 9.8rem;
}

.p-case-list {
  display: grid;
  grid-template-columns: 72rem 1fr;
  margin-top: 5rem;
}

.p-case-list-item {
  width: 100%;
  height: 24.6rem;
  background-color: #fff;
  display: grid;
  grid-template-columns: auto;
  align-items: center;
  align-content: center;
  justify-content: center;
  gap: 1.4rem;
  outline: 1px solid #f0f0f0;
}

.p-case-list-item-img {
  display: block;
  text-align: center;
}
.p-case-list-item-img img {
  object-fit: contain;
  object-position: center;
}

.p-case-list-item-txt {
  font-size: 1.8rem;
  line-height: 1.6666666667;
  letter-spacing: 0.04em;
  font-weight: 700;
  text-align: center;
}

.p-case-txt {
  font-size: 1.6rem;
  line-height: 1.75;
  letter-spacing: 0.04em;
  font-weight: 400;
  margin-top: 1.2rem;
  text-align: right;
}

@media screen and (max-width: 767px) {
  .p-case {
    margin-top: 13.3333333333vw;
  }
  .p-case-list {
    grid-template-columns: 1fr;
    margin-top: 5.3333333333vw;
  }
  .p-case-list-item {
    height: 47.2vw;
    gap: 3.7333333333vw;
  }
  .p-case-list-item-txt {
    font-size: 3.7333333333vw;
    line-height: 1.5714285714;
  }
  .p-case-txt {
    font-size: 3.7333333333vw;
    line-height: 1.5;
    margin-top: 3.2vw;
  }
}
/* p-comment
---------------------------------------------------------------------------- */
.p-comment {
  margin-top: 9.8rem;
}

.p-comment-list {
  margin-top: 4.9rem;
}

.p-comment-list > :not(:last-child) {
  margin-bottom: 5rem;
}

.p-comment-list-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 5rem;
}

.p-comment-list-item-img {
  width: 46rem;
  height: 25.8rem;
}
.p-comment-list-item-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.p-comment-list-item-body {
  padding-top: 2rem;
}

.p-comment-list-item-ttl {
  font-size: 2.6rem;
  line-height: 1.8461538462;
  letter-spacing: 0.04em;
  font-weight: 700;
  color: #b80000;
  margin-bottom: 2rem;
}

.p-comment-list-item-box {
  --bg-color: #fff;
  width: fit-content;
  padding-block: 5rem 3rem;
  padding-inline: 3.1rem 3.8rem;
  background-color: var(--bg-color);
  color: #fff;
  position: relative;
}

.p-comment-list-item-box::after {
  --width: 1rem;
  --height: 2rem;
  --theta: atan2(var(--height), calc(var(--width) / 2));
  content: "";
  clip-path: polygon(0 50%, 100% 0, 100% 100%);
  width: var(--width);
  height: calc(var(--width) / 2 * tan(var(--theta)));
  background-color: var(--bg-color);
  position: absolute;
  top: 50%;
  left: 0%;
  translate: -95% -50%;
}

.p-comment-list-item-box-heading {
  font-size: 1.6rem;
  line-height: 1;
  letter-spacing: 0.04em;
  font-weight: 500;
  color: #fff;
  background-color: #b80000;
  width: 12.2rem;
  height: 2.6rem;
  display: grid;
  grid-template-columns: auto auto;
  justify-content: center;
  align-items: center;
  gap: 0.4rem;
  position: absolute;
  top: 1.5rem;
  left: 0;
}
.p-comment-list-item-box-heading::before {
  content: "";
  width: 1.6rem;
  height: 1.6rem;
  background-image: url("../../../images/service/adsales/icn_comment.svg");
  background-repeat: no-repeat;
  background-size: contain;
}

.p-comment-list-item-box-txt {
  font-size: 1.6rem;
  line-height: 1.875;
  letter-spacing: 0.04em;
  font-weight: 500;
  color: #121212;
}

@media screen and (max-width: 767px) {
  .p-comment {
    margin-top: 13.3333333333vw;
  }
  .p-comment-list {
    margin-top: 5.3333333333vw;
  }
  .p-comment-list > :not(:last-child) {
    margin-bottom: 10.6666666667vw;
  }
  .p-comment-list-item {
    grid-template-columns: 1fr;
    gap: 1.3333333333vw;
  }
  .p-comment-list-item-img {
    width: 100%;
    aspect-ratio: 460/258;
    height: auto;
  }
  .p-comment-list-item-body {
    padding-top: 0;
  }
  .p-comment-list-item-ttl {
    font-size: 5.3333333333vw;
    margin-bottom: 1.3333333333vw;
  }
  .p-comment-list-item-box {
    padding-block: 13.3333333333vw 5.3333333333vw;
    padding-inline: 5.3333333333vw;
  }
  .p-comment-list-item-box::after {
    content: none;
  }
  .p-comment-list-item-box-heading {
    font-size: 3.7333333333vw;
    width: 30.6666666667vw;
    height: 6.9333333333vw;
    gap: 1.0666666667vw;
    top: 4vw;
  }
  .p-comment-list-item-box-heading::before {
    width: 3.7333333333vw;
    height: 3.7333333333vw;
  }
  .p-comment-list-item-box-txt {
    font-size: 4.2666666667vw;
  }
}
/* p-advertisement
---------------------------------------------------------------------------- */
.p-advertisement {
  height: clamp(58rem, 30.2083333333vw, 580px);
  position: relative;
}
.p-advertisement::before {
  content: "";
  display: block;
  width: clamp(78.6rem, 58.125vw, 1116px);
  height: 100%;
  aspect-ratio: 1116/580;
  background-image: url("../../../images/service/adsales/img_advertisement_pc.webp");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: right top;
  position: absolute;
  top: 0;
  right: 0;
  z-index: -1;
}
.p-advertisement::after {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  background-color: #000000;
  position: absolute;
  inset: 0;
  z-index: -10;
}

.p-advertisement-inner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  width: clamp(120rem, 62.5vw, 1200px);
  margin-inline: auto;
  gap: clamp(4.2rem, 2.1875vw, 42px);
  padding-top: clamp(15.2rem, 7.9166666667vw, 152px);
}

.p-advertisement-ttl {
  font-size: 3.2rem;
  line-height: 1.5;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: #fff;
  display: grid;
  grid-template-columns: auto auto;
  align-items: center;
  justify-content: start;
  gap: clamp(3.7rem, 1.9270833333vw, 37px);
}

.p-advertisement-ttl ._dot {
  --clo-bg: #fff;
  width: clamp(0.5rem, 0.2604166667vw, 5px);
  height: clamp(0.5rem, 0.2604166667vw, 5px);
  background-color: var(--clo-bg);
  position: relative;
}
.p-advertisement-ttl ._dot::after, .p-advertisement-ttl ._dot::before {
  content: "";
  width: clamp(0.5rem, 0.2604166667vw, 5px);
  height: clamp(0.5rem, 0.2604166667vw, 5px);
  background-color: var(--clo-bg);
  position: absolute;
  top: 50%;
  left: clamp(0.8rem, 0.4166666667vw, 8px);
  translate: 0 -50%;
}
.p-advertisement-ttl ._dot::after {
  left: clamp(1.6rem, 0.8333333333vw, 16px);
}

.p-advertisement-txt {
  font-size: 1.6rem;
  line-height: 1.75;
  letter-spacing: 0.04em;
  font-weight: 400;
  color: #fff;
  width: clamp(46.5rem, 24.21875vw, 465px);
}

@media screen and (max-width: 767px) {
  .p-advertisement {
    height: 128vw;
    padding-inline: 4vw;
  }
  .p-advertisement::before {
    width: 100%;
    height: 52vw;
    background-image: url("../../../images/service/adsales/img_advertisement_sp.webp");
    background-position: center top;
  }
  .p-advertisement-inner {
    width: 100%;
    gap: 5.3333333333vw;
    padding-top: 51.7333333333vw;
  }
  .p-advertisement-ttl {
    font-size: 6.4vw;
    line-height: 1.5;
    gap: 6.6666666667vw;
  }
  .p-advertisement-ttl ._dot {
    width: 1.0666666667vw;
    height: 1.0666666667vw;
  }
  .p-advertisement-ttl ._dot::after, .p-advertisement-ttl ._dot::before {
    width: 1.0666666667vw;
    height: 1.0666666667vw;
    left: 2.1333333333vw;
  }
  .p-advertisement-ttl ._dot::after {
    left: 4.2666666667vw;
  }
  .p-advertisement-txt {
    font-size: 4.2666666667vw;
    width: 100%;
  }
}
/* p-sec
---------------------------------------------------------------------------- */
.p-sec {
  height: 56.25vw;
  position: relative;
}
.p-sec::before {
  content: "";
  width: 100%;
  height: 100%;
  background-image: url("../../../images/service/adsales/img_sec_pc.webp");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center top;
  position: absolute;
  inset: 0;
  z-index: -1;
}

.p-sec-ttl {
  font-size: 3.2rem;
  line-height: 1.5;
  letter-spacing: 0.04em;
  font-weight: 700;
  color: #fff;
  text-align: center;
  padding-top: min(7.2916666667vw, 140px);
}

@media screen and (max-width: 767px) {
  .p-sec {
    height: 177.6vw;
  }
  .p-sec::before {
    background-image: url("../../../images/service/adsales/img_sec_sp.webp");
  }
  .p-sec-ttl {
    font-size: 4.8vw;
    line-height: 1.5;
    padding-top: 15.2vw;
  }
}
/* p-solutions
---------------------------------------------------------------------------- */
.p-solutions {
  background-color: #000000;
  padding-block: 15.6rem 14rem;
}

.p-solutions-ttl-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.p-solutions-ttl-en {
  font-size: 6rem;
  line-height: 1;
  letter-spacing: 0.04em;
  font-weight: 400;
  color: #fff;
  font-family: "Lato";
}

.p-solutions-ttl {
  font-size: 2.4rem;
  line-height: 2.5;
  letter-spacing: 0.04em;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.5);
}

.p-solutions-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  justify-items: start;
  gap: 2.4rem 7.8rem;
  margin-top: 4rem;
  margin-inline: auto;
}

.p-solutions-list-item {
  width: fit-content;
  display: grid;
  grid-template: "img ." 1fr "img ttl" auto "img txt" auto "img ." 1fr/auto 1fr;
  justify-content: flex-start;
  align-items: center;
  gap: 0 3rem;
}

.p-solutions-list-item-img {
  grid-area: img;
  width: 15rem;
  aspect-ratio: 150/150;
  margin-inline: auto;
  margin-bottom: 1.3rem;
}
.p-solutions-list-item-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.p-solutions-list-item-ttl {
  grid-area: ttl;
  font-size: 2.4rem;
  line-height: 1.625;
  letter-spacing: 0.04em;
  font-weight: 700;
  color: #fff;
}

.p-solutions-list-item-txt {
  grid-area: txt;
  font-size: 1.6rem;
  line-height: 1.75;
  letter-spacing: 0.04em;
  font-weight: 400;
  color: #fff;
  white-space: nowrap;
}

@media screen and (max-width: 767px) {
  .p-solutions {
    padding-block: 17.0666666667vw 17.8666666667vw;
  }
  .p-solutions-ttl-en {
    font-size: 8.5333333333vw;
  }
  .p-solutions-ttl {
    font-size: 3.4666666667vw;
    line-height: 2.3076923077;
  }
  .p-solutions-list {
    grid-template-columns: repeat(1, 1fr);
    gap: 5.6vw 0;
    margin-top: 8.8vw;
    width: 100%;
  }
  .p-solutions-list-item {
    gap: 0 2.6666666667vw;
  }
  .p-solutions-list-item-img {
    width: 21.3333333333vw;
    margin-bottom: 3.4666666667vw;
  }
  .p-solutions-list-item-ttl {
    font-size: 4.8vw;
    line-height: 1.5;
  }
  .p-solutions-list-item-txt {
    font-size: 4vw;
    line-height: 1.5;
    white-space: normal;
  }
}
/* p-studio
---------------------------------------------------------------------------- */
.p-studio {
  padding-block: 10.9rem 12rem;
  background-color: #f0f0f0;
}

.p-studio-inner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 5rem;
}

.p-studio-video {
  width: 60rem;
  aspect-ratio: 600/337;
}
.p-studio-video iframe {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.p-studio-body-img {
  width: 24.5rem;
  aspect-ratio: 245/120;
  margin-inline: auto;
  margin-block: 3.2rem;
}
.p-studio-body-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.p-studio-txt {
  font-size: 1.6rem;
  line-height: 1.75;
  letter-spacing: 0.04em;
  font-weight: 400;
  text-align: center;
}

.p-studio-box {
  margin-top: 10rem;
}

.p-studio-box-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  justify-content: center;
  justify-items: center;
  gap: 0;
  margin-top: 5.6rem;
}

.p-studio-box-list-item-img {
  display: block;
  width: 23rem;
  margin-bottom: 1rem;
}
.p-studio-box-list-item-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.p-studio-box-list-item-txt {
  font-size: 1.6rem;
  line-height: 1.5;
  font-weight: 700;
  font-family: "Noto Serif JP";
  text-align: center;
}

@media screen and (max-width: 767px) {
  .p-studio {
    padding-block: 13.3333333333vw;
  }
  .p-studio-inner {
    grid-template-columns: 1fr;
    gap: 5.3333333333vw;
  }
  .p-studio-video {
    width: 100%;
  }
  .p-studio-body-img {
    width: 65.3333333333vw;
    margin-block: 5.3333333333vw;
  }
  .p-studio-txt {
    font-size: 4.2666666667vw;
    text-align: left;
  }
  .p-studio-box {
    margin-top: 13.3333333333vw;
  }
  .p-studio-box-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 5.3333333333vw;
    margin-top: 8vw;
  }
  .p-studio-box-list-item-img {
    width: 100%;
    margin-bottom: 2.6666666667vw;
  }
  .p-studio-box-list-item-txt {
    font-size: 4.2666666667vw;
    overflow-wrap: anywhere;
    word-break: normal;
    line-break: strict;
  }
}
/* p-cta
---------------------------------------------------------------------------- */
.p-cta {
  padding-block: 6rem;
}

.p-cta-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  justify-content: space-between;
  align-items: center;
  width: clamp(120rem, 78.125vw, 1500px);
  height: 32rem;
  padding-inline: clamp(6.7rem, 5.2083333333vw, 151px);
  margin-inline: auto;
  position: relative;
  color: #fff;
}
.p-cta-inner::before {
  content: "";
  width: 100%;
  height: 100%;
  background-image: url("../../../images/service/adsales/bg_cta_pc.webp");
  background-repeat: no-repeat;
  background-size: cover;
  position: absolute;
  inset: 0;
  z-index: -1;
}

.p-cta-ttl-group {
  margin-bottom: 2.4rem;
}

.p-cta-ttl-en {
  font-size: 2rem;
  line-height: 1.6;
  letter-spacing: 0.04em;
  font-weight: 400;
  font-family: "Lato";
}

.p-cta-ttl {
  font-size: 4rem;
  line-height: 1.3;
  letter-spacing: 0.1em;
  font-weight: 700;
}

.p-cta-txt {
  font-size: 2.4rem;
  line-height: 1.625;
  letter-spacing: 0.04em;
  font-weight: 500;
}

.p-cta-btn-wrap {
  width: 39.3rem;
}

.p-cta-btn {
  --col-txt: #fff;
  --col-icn: #fff;
  --col-border: #991010;
  --col-bg: #b80000;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  font-size: 2.4rem;
  line-height: 1.7083333333;
  letter-spacing: 0.04em;
  font-weight: 700;
  color: var(--col-txt);
  background-color: var(--col-bg);
  border: 0.2rem solid var(--col-border);
  padding-block: 1.6rem 1.4rem;
  border-radius: 0.4rem;
  transition: 0.3s;
}
.p-cta-btn::after {
  content: "";
  display: block;
  width: 2.9rem;
  height: 2.9rem;
  mask-image: url(../../../images/common/icn_circle_arrow.svg);
  mask-repeat: no-repeat;
  mask-size: contain;
  background-color: var(--col-icn);
  transition: 0.3s;
  scale: -1 1;
}

@media (any-hover: hover) {
  .p-cta-btn:hover {
    --col-txt: #b80000;
    --col-icn: #b80000;
    --col-border: #991010;
    --col-bg: #fff;
  }
}
@media screen and (max-width: 767px) {
  .p-cta {
    padding-block: 8vw;
    padding-inline: 4vw;
  }
  .p-cta-inner {
    grid-template-columns: 1fr;
    align-content: start;
    gap: 7.7333333333vw;
    width: 100%;
    height: 78.4vw;
    padding-inline: 6.6666666667vw;
    padding-top: 8vw;
  }
  .p-cta-inner::before {
    background-image: url("../../../images/service/adsales/bg_cta_sp.webp");
  }
  .p-cta-ttl-group {
    margin-bottom: 2.4vw;
  }
  .p-cta-ttl-en {
    font-size: 3.4666666667vw;
    line-height: 1.6153846154;
  }
  .p-cta-ttl {
    font-size: 6.6666666667vw;
    line-height: 1.5;
  }
  .p-cta-txt {
    font-size: 4.8vw;
    line-height: 1.5;
  }
  .p-cta-btn-wrap {
    width: 100%;
  }
  .p-cta-btn {
    gap: 5.3333333333vw;
    font-size: 4.8vw;
    padding-block: 2.6666666667vw 2.6666666667vw;
    border-radius: 1.0666666667vw;
  }
  .p-cta-btn::after {
    width: 5.8666666667vw;
    height: 5.8666666667vw;
  }
}
