@charset "utf-8";

.header-page {
  display: none;
}

body[data-ccc_scrolling="false"]:not(.ccc-base-fixed) .hg-inner {
  background: rgba(000, 000, 000, 1);
}

body[data-ccc_scrolling="false"]:not(.ccc-base-fixed) .header-logo,
body[data-ccc_scrolling="false"]:not(.ccc-base-fixed) .header-drawer,
body[data-ccc_scrolling="false"]:not(.ccc-base-fixed) .search-form-drawer,
body[data-ccc_scrolling="false"]:not(.ccc-base-fixed) .header-nav-excerpt,
body[data-ccc_scrolling="false"]:not(.ccc-base-fixed) .ccc-favorite-post-count {
  -webkit-filter: invert(1);
  -ms-filter: invert(1);
  filter: invert(1);
}

body[data-ccc_scrolling="false"] .hero-area+.ccc_post_slider-wrap .ccc_post_slider .slick-current:before {
  display: block;
}

body[data-ccc_scrolling="false"]:has(.hero-area) .header-nav-excerpt {
  display: none;
}

.hero-area .wp-block-cover__inner-container {
  text-align: center;
}

.hero-area-contents {
  display: inline-block;
  vertical-align: top;
  text-align: left;
  color: #fff;
  box-sizing: border-box;
  font-size: 50px;
  /* フォールバック（相対値は諦めて絶対値） */
  font-size: max(20px, min(7vw, 50px));
  /* フォールバック（下記と同じ結果） */
  font-size: clamp(20px, 7vw, 50px);
  font-weight: bold;
  margin-bottom: 1.5em;
}

body[data-ccc_scrolling="false"].ccc-base-fixed .hero-area-contents {
  color: #333;
}

.hero-area-contents h2 {
  font-size: 70px;
  /* フォールバック（相対値は諦めて絶対値） */
  font-size: max(28px, min(9.8vw, 70px));
  /* フォールバック（下記と同じ結果） */
  font-size: clamp(28px, 9.8vw, 70px);
}

body[data-ccc_scrolling="true"] .main .hero-area {
  align-items: end;
}

body[data-ccc_scrolling="true"] .main .hero-area .wp-block-cover__image-background {
  animation-name: hero-area-animation;
  animation-duration: 4s;
  animation-fill-mode: forwards;
  /*再生後も、@keyframes(100%)のスタイルが適用されたままになる*/
}

body[data-ccc_scrolling="true"] .main .hero-area .wp-block-cover__background {
  opacity: 0;
  transition: all 1s;
}

body[data-ccc_scrolling="true"] .main .hero-area.dark .wp-block-cover__background {
  opacity: 0.5;
}

body[data-ccc_scrolling="true"] .hero-area:not(.dark) .wp-block-cover__inner-container {
  mix-blend-mode: difference;
}

body[data-ccc_scrolling="true"] .hero-area-contents {
  transition: all 1s;
  transform: scale(0.7);
  margin-bottom: 0;
}
.hero-area-contents .after {
  display: none;
}
body[data-ccc_scrolling="true"] .hero-area-contents .after {
    display: block;
}
body[data-ccc_scrolling="true"] .hero-area-contents .before {
  display: none;
}
.hero-area .text-brilliance {
  text-shadow: 0px 0px 15px #fff;
}

@keyframes hero-area-animation {
  0% {
    background-position: 0% 50%;
  }

  100% {
    background-position: 100% 50%;
  }
}

.content {
  margin: 2em auto;
}

.main {
  padding-bottom: 0;
}

.footer-group {
  margin-top: 0;
}

.wrap-home-terms {
  overflow: hidden;
}

.home-terms {
  width: calc(100% + 0.5%);
  text-align: center;
}

.home-term-item {
  display: inline-block;
  vertical-align: top;
  width: calc(33.333% - 0.5%);
  margin: 0.5% 0.5% 0 0;
  box-sizing: border-box;
  padding: 1%;
  background: var(--base-color);
}

.home-term-item>a {
  display: block;
  overflow: hidden;
}

.home-term-item .term-images {
  width: 100%;
  height: 0;
  padding-top: 100%;
  background-size: 90%;
  background-repeat: no-repeat;
  background-position: center center;
  margin-top: -20%;
}

.home-term-item .term-text {
  font-size: 1.75em;
  text-align: center;
  font-weight: 500;
  line-height: 1.4;
  margin-top: -20%;
}

.home-term-item .term-more {
  font-size: 0.8em;
  position: relative;
  display: inline-block;
  vertical-align: top;
  padding-right: 1em;
}

.home-term-item .term-more::after {
  content: " ";
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  margin: auto;
  margin-top: 9%;
  margin-right: 0;
  border-top: 1px solid;
  border-right: 1px solid;
  height: 10px;
  width: 10px;
  transform: rotate(45deg);
}

main[data-wp_post_slug="home"] .ccc_post_slider {
  margin-bottom: 2em;
}

.catch-copy+.lead-copy {
  margin-top: 0.5em;
}

.lead-copy {
  font-size: 1.2em;
}

.title-section {
  font-size: 1em;
  font-weight: 600;
  text-align: center;
  line-height: 1.3;
  margin-bottom: 2em;
}

.title-section .text-en,
.title-section .text-jp {
  display: block;
  margin: 0 auto;
}

.title-section .text-en {
  display: inline-block;
  vertical-align: top;
  font-size: 1.5em;
  font-weight: 600;
  position: relative;
}

.title-section .text-en::before,
.title-section .text-en::after {
  content: "";
  height: 2px;
  width: 1em;
  background: #aaa;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  margin: auto;
}

.title-section .text-en::before {
  margin-left: -1.5em;
}

.title-section .text-en::after {
  margin-right: -1.5em;
}

.img-archive-post>a {
  display: block;
}

[data-content_style="grid"] .list-archive-wrap {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  width: calc(100% + 1%);
}

[data-content_style="grid"] .list-archive {
  vertical-align: top;
  width: calc(25% - 1%);
  margin: 1% 1% 0 0;
}

[data-content_style="grid"] .one-archive {
  display: block;
  padding: 0;
}

[data-content_style="grid"] .img-archive-post {
  width: auto;
}

[data-content_style="grid"] .txt-archive-post .title {
  font-size: 1.1em;
  font-weight: 600;
}

[data-content_style="grid"] .txt-archive-post .excerpt {
  margin-bottom: 0.5em;
}

[data-content_style="grid"] .ccc-favorite-post-toggle {
  margin-top: -28px;
}

#content-archive[data-content_style="list"] .list-archive {
  width: 100%;
  margin-top: 0;
  box-sizing: border-box;
  border-bottom: 1px solid var(--contents-bg-a-01);
  padding: 1em 1.25em 1.25em 1.25em;
}

#content-archive[data-content_style="list"] .list-archive:first-child {
  border-top: 1px solid var(--contents-bg-a-01);
}

.img-post-thumbnail {
  position: relative;
}

.video-post-thumbnail {
  background: #111;
}

.video-post-thumbnail>iframe,
.video-thumbnail {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
}

#content-notices>div[class*="inner-"] {
  padding-top: 20px;
  padding-bottom: 20px;
  border: 5px solid var(--contents-bg-a-02);
  background: #fff;
}

#content-notices .list-archive {
  width: 100%;
  box-sizing: border-box;
  padding: 1.25em;
}

#content-notices .list-archive+.list-archive {
  border-top: 1px solid var(--contents-bg-a-01);
  margin: 0;
}

#content-notices .one-archive {
  vertical-align: top;
}

#content-notices .txt-archive-post .title {
  margin: 0;
}

#content-notices .txt-archive-post .excerpt {
  margin-bottom: 0.25em;
}

#content-notices .post_type-taxonomy_terms {
  display: inline-block;
  vertical-align: top;
  margin-top: 0;
}

#content-notices .post_type-taxonomy_terms[data-post_taxonomy="post_tag"] {
  margin-top: 0.2em;
  margin-left: 0.5em;
}

.tag-post_type {
  display: inline-block;
  vertical-align: top;
  position: relative;
}

.tag-post_type::before {
  content: " ";
  background: #666;
  padding: 0.5em 0.75em;
  box-sizing: border-box;
  color: #fff;
  font-size: 0.7em;
  font-weight: 400;
  line-height: 1.3;
  text-align: center;
  display: inline-block;
  vertical-align: middle;
  border-radius: 5px;
}

.list-archive[data-front_page-post_slug="dbp-cloud-wp-light"] .img-archive-post>a {
  overflow: hidden;
}

.list-archive[data-front_page-post_slug="dbp-cloud-wp-light"] .img-post-thumbnail {
  filter: blur(2px);
  opacity: 0.6;
}

#ccc_post_slider-id-front_page .ccc_post_slider-cont[data-ccc_post_slider-post_slug="dbp-cloud-wp"] .ccc_post_slider-txt {
  bottom: 20%;
}

#ccc_post_slider-id-front_page .ccc_post_slider-cont[data-ccc_post_slider-post_slug="dbp-cloud-wp"] .ccc_post_slider-txt-excerpt {
  max-width: 230px;
}

#ccc_post_slider-id-front_page .ccc_post_slider-cont[data-ccc_post_slider-post_slug="deau-app"] .ccc_post_slider-txt {
  bottom: 20%;
}

#ccc_post_slider-id-front_page .ccc_post_slider-cont[data-ccc_post_slider-post_slug="deau-app"] .ccc_post_slider-txt-title {
  display: none;
}

#ccc_post_slider-id-front_page .ccc_post_slider-cont[data-ccc_post_slider-post_slug="deau-app"] .ccc_post_slider-txt-excerpt {
  max-width: 230px;
}

#ccc_post_slider-id-front_page .ccc_post_slider-cont[data-ccc_post_slider-post_slug="deau-api"] .ccc_post_slider-txt {
  bottom: 20%;
}

#ccc_post_slider-id-front_page .ccc_post_slider-cont[data-ccc_post_slider-post_slug="deau-api"] .ccc_post_slider-txt-title {
  display: none;
}

#ccc_post_slider-id-front_page .ccc_post_slider-cont[data-ccc_post_slider-post_slug="remote-web-team"] .ccc_post_slider-txt {
  bottom: 0;
  top: 10px;
  color: #fff;
}

#ccc_post_slider-id-front_page .ccc_post_slider-cont[data-ccc_post_slider-post_slug="remote-web-team"] .ccc_post_slider-txt-title {
  font-size: 2em;
}

#ccc_post_slider-id-front_page .ccc_post_slider-cont[data-ccc_post_slider-post_slug="remote-web-team"] .ccc_post_slider-txt-excerpt {
  display: none;
}

#ccc_post_slider-id-front_page .ccc_post_slider-cont[data-ccc_post_slider-post_slug="wordpress-support"] .ccc_post_slider-txt {
  bottom: 0;
  top: 10px;
  color: #fff;
}

#ccc_post_slider-id-front_page .ccc_post_slider-cont[data-ccc_post_slider-post_slug="wordpress-support"] .ccc_post_slider-txt-title {
  font-size: 2em;
}

#ccc_post_slider-id-front_page .ccc_post_slider-cont[data-ccc_post_slider-post_slug="wordpress-support"] .ccc_post_slider-txt-excerpt {
  display: none;
}

.ccc_post_slider-cont[data-ccc_post_slider-post_slug="deau-api"] .ccc_post_slider-img,
.list-archive[data-front_page-post_slug="deau-api"] .img-post-thumbnail {
  filter: hue-rotate(-25deg);
}

/* PC
----------------------------------------------------------*/
@media only screen and (max-width: 1240px) {
  .home-term-item .term-text {
    font-size: 1.25em;
    line-height: 1;
  }

  .home-term-item .term-more::after {
    margin-top: 11%;
    height: 8px;
    width: 8px;
  }
}

/* PC
----------------------------------------------------------*/
@media only screen and (max-width: 920px) {
  .home-terms {
    width: calc(100% + 1.5%);
  }

  .home-term-item {
    width: calc(50% - 1.5%);
    margin: 1.5% 0.75% 0 0.75%;
  }

  .home-term-item .term-text {
    font-size: 1.5em;
    line-height: 1.3;
    margin-top: -23%;
  }

  .home-term-item .term-more::after {
    margin-top: 8%;
    height: 8px;
    width: 8px;
  }

  [data-content_style="grid"] .list-archive {
    width: calc(50% - 1%);
  }
}

/* SP
----------------------------------------------------------*/
@media only screen and (max-width: 782px) {
  #ccc_post_slider-id-front_page .ccc_post_slider .slick-prev {
    left: 3%;
  }

  #ccc_post_slider-id-front_page .ccc_post_slider .slick-next {
    right: 3%;
  }

  #ccc_post_slider-id-front_page .ccc_post_slider .slick-dots li button:before {
    font-size: 10px;
  }

  #ccc_post_slider-id-front_page .ccc_post_slider .slick-dots {
    bottom: 0px;
  }

  #ccc_post_slider-id-front_page .ccc_post_slider .top-slider-txt {
    bottom: 7.5%;
  }

  main[data-wp_post_slug="home"] .ccc_post_slider {
    margin-bottom: 1em;
  }

  .catch-copy,
  .lead-copy {
    font-size: 1em;
  }

  .lead-copy {
    margin: 0.5em 1em;
    text-align: left;
  }

  .catch-copy+.lead-copy {
    margin-top: 1em;
  }

  .content {
    margin: 1em auto;
  }

  #content-notices .txt-archive-post .excerpt,
  #content-blog .txt-archive-post .excerpt {
    margin-bottom: 0.5em;
  }

  #content-notices .txt-archive-post .time,
  #content-blog .txt-archive-post .time {
    width: 100%;
    vertical-align: top;
  }

  [data-content_style="grid"] .ccc-favorite-post-toggle {
    margin-top: -22px;
  }
}

@media only screen and (max-width: 540px) {
  .home-term-item .term-images {
    padding-top: 130%;
    background-size: 90%;
    margin-top: -30%;
  }

  .home-term-item .term-text {
    font-size: 1.25em;
    margin-top: -35%;
  }

  .home-term-item .term-more::after {
    margin-top: 9%;
  }

  [data-content_style="grid"] .list-archive {
    width: 100%;
    margin: 1em auto;
  }

  [data-content_style="grid"] .list-archive:first-child {
    margin-top: 0;
  }

  #ccc_post_slider-id-front_page .ccc_post_slider .ccc_post_slider-txt-title {
    font-size: 1.3em;
  }

  #ccc_post_slider-id-front_page .ccc_post_slider .ccc_post_slider-txt-more {
    font-size: 1em;
  }

  #ccc_post_slider-id-front_page .ccc_post_slider .ccc_post_slider-txt-more a::after {
    height: 8px;
    width: 8px;
    margin-top: 12.5%;
  }

  #ccc_post_slider-id-front_page .ccc_post_slider .slick-dots {
    bottom: 3px;
  }

  #ccc_post_slider-id-front_page .ccc_post_slider-cont .ccc_post_slider-txt .ccc_post_slider-txt-excerpt {
    display: none;
  }

  #ccc_post_slider-id-front_page .ccc_post_slider-cont[data-ccc_post_slider-post_slug="remote-web-team"] .ccc_post_slider-txt {
    top: 5px;
  }

  #ccc_post_slider-id-front_page .ccc_post_slider-cont[data-ccc_post_slider-post_slug="remote-web-team"] .ccc_post_slider-txt-title {
    font-size: 1.2em;
  }

  #ccc_post_slider-id-front_page .ccc_post_slider-cont[data-ccc_post_slider-post_slug="wordpress-support"] .ccc_post_slider-txt {
    top: 5px;
  }

  #ccc_post_slider-id-front_page .ccc_post_slider-cont[data-ccc_post_slider-post_slug="wordpress-support"] .ccc_post_slider-txt-title {
    font-size: 1.2em;
  }

  #content-notices .list-archive {
    padding: 1em 0;
  }

  #content-notices .post_type-taxonomy_terms {
    width: 100%;
  }


  body[data-ccc_scrolling="true"] .main .hero-area .wp-block-cover__image-background {
    animation-name: hero-area-animation;
    animation-duration: 8s;
  }

}



@media only screen and (max-width: 340px) {
  .home-term-item .term-text {
    margin-top: -37%;
  }

  .home-term-item .term-more {
    font-size: 0.75em;
  }
}