@charset "utf-8";

/* ------------------------------------
 * Body
 * --------------------------------- */

.uc-page-root:has(.dokodemosofy) {
  background-image: url("/content/dam/sites/www_sofy_jp/campaign/dokodemosofy/bg-dokodemosofy_sp.jpg");
  background-repeat: no-repeat;
  background-position: center top;
  background-size: 100%;
}

.dokodemosofy-block-01 {
  position: relative;
}

.dokodemosofy-block-01::before {
  position: absolute;
  top: -87px;
  width: 100%;
  height: calc(2000vw / 3.75);
  content: "";
  background-image: url("/content/dam/sites/www_sofy_jp/campaign/dokodemosofy/bg-dokodemosofy-mask_sp.png");
  background-repeat: no-repeat;
  background-position: top center;
  background-size: 100%;
}

@media screen and (min-width: 769px) {
  .uc-page-root:has(.dokodemosofy) {
    top: -154px;
    background-image: url("/content/dam/sites/www_sofy_jp/campaign/dokodemosofy/bg-dokodemosofy_pc.jpg");
    background-size: cover;
  }

  .dokodemosofy-block-01::before {
    width: 1920px;
    height: 1373px;
    background-image: url("/content/dam/sites/www_sofy_jp/campaign/dokodemosofy/bg-dokodemosofy-mask_pc.png");
  }
}

@media screen and (min-width: 1920px) {
  .uc-page-root:has(.dokodemosofy) {
    background-size: 100%;
  }

  .dokodemosofy-block-01::before {
    top: -154px;
    width: 100%;
    height: calc(1373vw / 19.2);
  }
}

.dokodemosofy .dokodemosofy-block {
  padding: 0 22px 0 23px;
  margin-bottom: 30px;
}

.uc-mod-media-01.main-kv {
  width: 100%;
}

.uc-mod-media-01.main-kv .uc-object {
  display: block;
}

.dokodemosofy-concept-block .uc-mod-media-01 {
  position: relative;
  top: -34px;
  left: 49%;
  width: 327px;
  margin-block: auto;
  margin-inline: 0;
  translate: -50%;
}

@media screen and (max-width: 375px) {
  .dokodemosofy-concept-block .uc-mod-media-01 {
    width: calc(327vw / 3.75);
  }
}

.category-block {
  display: flex;
  flex-direction: column;
  gap: 50px;
  justify-content: center;
  margin-inline: auto;
}

.dokodemosofy .dokodemosofy-block:has(.category-block) {
  display: flex;
  flex-direction: column;
  margin-bottom: 19px;
}

.category-block .CMP-CM06-section {
  width: 100%;
}

.category-section-secondary {
  padding-top: 47.1px;
}

.category-section-secondary > * {
  margin-bottom: 18.1px;
}

.category-section-secondary img {
  width: 100%;
  max-width: 185px;
}

.category-section-tertiary {
  display: grid;
  place-items: center;
  min-height: 52px;
  margin-bottom: 9px;
}

.category-section-tertiary > * {
  font-family: "Zen Maru Gothic", sans-serif;
  font-size: calc(20 * var(--rem));
  font-weight: 500;
  line-height: calc(23 / 20);
  color: var(--dokodemosofy-color-black-01);
  text-align: center;
}

.category-section-text {
  margin-bottom: 14px;
}

.category-section-text > * {
  font-size: calc(14 * var(--rem));
  font-weight: normal;
  line-height: calc(19 / 14);
  color: var(--dokodemosofy-color-black-01);
  text-align: center;
}

.category-section-button {
  width: 100%;
  max-width: 260px;
  padding-bottom: 23.8px;
  margin-inline: auto;
}

.category-section-button > * {
  text-align: center;
}

.category-section-button a {
  position: relative;
  display: block;
  width: 100%;
  max-width: 260px;
  padding: 15px 33px;
  margin-inline: auto;
  font-size: calc(14 * var(--rem));
  font-weight: normal;
  line-height: calc(23 / 14);
  color: var(--dokodemosofy-color-black-01);
  text-align: center;
  background-color: #fff;
  border-radius: 25px;
}

.CMP-CM06-section:has(.category-section) {
  width: 100%;
  max-width: 330px;
  margin-inline: auto;
  background-color: rgb(255 255 255 / 80%);
  border-radius: 20px;
}

.category-section-01,
.category-section-02 {
  position: relative;
  padding-inline: 20px;
  margin: 15px;
  border-radius: 20px;
}

.category-section-01 {
  background-color: #ffe2ed;
}

.category-section-02 {
  background-color: #dcf2ff;
}

.category-section-01 .CMP-CM11-image-and-text,
.category-section-02 .CMP-CM11-image-and-text {
  position: absolute;
  top: -49px;
  left: 50%;
  translate: -50%;
}

.category-section-01 .CMP-CM11-image-and-text .uc-mod-media-01,
.category-section-02 .CMP-CM11-image-and-text .uc-mod-media-01 {
  width: 100%;
  max-width: 114px;
  margin-bottom: 0;
}

.category-section-01 .category-section-button a::before,
.category-section-02 .category-section-button a::before {
  position: absolute;
  top: 50%;
  right: 17.9px;
  width: 6.88px;
  height: 6.88px;
  clip-path: polygon(0 0, 0% 100%, 100% 50%);
  content: "";
  transform: translateY(-50%);
}

.category-section-01 .category-section-button a::before {
  background-color: #f272a3;
}

.category-section-02 .category-section-button a::before {
  background-color: #5ab3e8;
}

.dokodemosofy-block:has(.news-block) {
  width: 100%;
  max-width: 375px;
  margin-inline: auto;
  margin-bottom: 37.3px;
}

.news-block {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 25px;
}

.news-day {
  display: block;
  width: 100px;
  margin-right: 13px;
  font-size: calc(18 * var(--rem));
  line-height: calc(40 / 18);
  color: var(--dokodemosofy-color-black-01);
}

.news-text {
  width: fit-content;
  width: 100%;
  padding: unset;
  font-size: calc(16 * var(--rem));
  line-height: calc(26 / 16);
  color: var(--dokodemosofy-color-black-01);
}

.news-image {
  width: 80px;
  margin: 0 7px 0 0;
}

.dokodemosofy .dokodemosofy-block:has(.achievements-section) {
  margin-bottom: 22px;
}

.partner-section .grid-block {
  padding-bottom: 20px;
  margin-top: 30px;
}

@media (min-width: 769px) and (max-width: 1100px) {
  .category-section-01 .CMP-CM11-image-and-text,
  .category-section-02 .CMP-CM11-image-and-text {
    top: calc(-160 * var(--vw-lg-1920));
  }
}

@media screen and (min-width: 1100px) {
  .category-section-01 .CMP-CM11-image-and-text,
  .category-section-02 .CMP-CM11-image-and-text {
    top: -96px;
  }
}

@media screen and (min-width: 769px) {
  .dokodemosofy .dokodemosofy-block {
    max-width: 1280px;
    padding: 0 40px;
    margin: 0 auto 120px;
  }

  .dokodemosofy-concept-block {
    position: relative;
    left: -20.5px;
    padding: 0 20px 60px;
    margin-top: 0;
  }

  .dokodemosofy-concept-block .uc-mod-media-01 {
    top: -39px;
    left: 51.3%;
    width: fit-content;
  }

  .category-block {
    flex-direction: row;
    gap: 80px;
    align-items: stretch;
    max-width: 1200px;
    background-color: unset;
    border-radius: unset;
    opacity: unset;
  }

  .dokodemosofy .dokodemosofy-block:has(.category-block) {
    margin-bottom: 107px;
  }

  .CMP-CM06-section:has(.category-section) {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 560px;
  }

  .category-section {
    display: flex;
    flex-grow: 1;
    flex-direction: column;
  }

  .category-section-secondary {
    padding-top: 63px;
  }

  .category-section-secondary > * {
    margin-bottom: 28px;
  }

  .category-section-secondary img {
    max-width: 300px;
  }

  .category-section-tertiary {
    min-height: 76px;
    margin-bottom: 23px;
  }

  .category-section-tertiary > * {
    font-size: calc(28 * var(--rem));
    line-height: calc(38 / 28);
  }

  .category-section-text {
    margin-bottom: 28px;
  }

  .category-section-text > * {
    font-size: calc(18 * var(--rem));
    line-height: calc(28 / 18);
  }

  .category-section-button {
    max-width: 430px;
    padding-bottom: 36px;
  }

  .category-section-button a {
    max-width: 430px;
    padding: 26px 44px 25px;
    font-size: calc(20 * var(--rem));
    line-height: calc(29 / 20);
    border-radius: 40px;
  }

  .category-section-01,
  .category-section-02 {
    display: flex;
    flex-grow: 1;
    flex-direction: column;
    margin: 40px;
  }

  .category-section-01 .CMP-CM11-image-and-text .uc-mod-media-01,
  .category-section-02 .CMP-CM11-image-and-text .uc-mod-media-01 {
    max-width: 190px;
  }

  .category-section-01 .category-section-button a::before,
  .category-section-02 .category-section-button a::before {
    right: 30.5px;
    width: 11.93px;
    height: 11.93px;
  }

  .category-section-01 > *:last-child,
  .category-section-02 > *:last-child {
    margin-top: auto;
  }

  .dokodemosofy-block:has(.news-block) {
    max-width: 855px;
    margin-bottom: 100px;
  }

  .news-block {
    margin-bottom: -1px;
  }

  .news-day {
    margin-right: 27px;
  }

  .dokodemosofy .dokodemosofy-block:has(.achievements-section) {
    margin-bottom: 56px;
  }

  .partner-section .grid-block {
    padding-bottom: 0;
    margin-top: 44px;
  }

  .partner-section .grid-block .dokodemosofy-grid-advance {
    max-width: 800px;
  }
}

@media screen and (max-width: 1120px) {
  .dokodemosofy-concept-block {
    left: 0;
  }
}
