/* h1 テキストカラー */
.c-page-header__title {
  color: var(--sub-accent-color);
}

.home .c-page-header__title {
  color: #FFF;
}

/* スマホメニュー文字サイズ */
.c-drawer a {
  font-size: 0.8rem;
  font-weight: 600;
}

/* ヘッダ画像 */
.c-page-header[data-has-image=true] {
	min-height: 380px;
}

.c-page-header__title {
  font-size: 2rem;
}

@media (max-width: 64em) {
  .c-page-header[data-has-image=true] {
    min-height: 340px;
  }

  .c-page-header__title {
    font-size: 1.4rem;
  }
}

@media (max-width: 40em) {
  .c-page-header[data-has-image=true] {
    min-height: 260px;
  }

  .c-page-header__title {
    font-size: 1.2rem;
  }
}

/* お知らせの投稿者を非表示 */
.single-topics .c-meta__item--author,
.single-topics .wp-profile-box {
  display: none;
}

/* コピーライト */
.c-copyright {
  color: #f4f4f4;
  background-color: var(--accent-color);
}

/* recaptcha */
.l-footer-widget-area {
  padding: 0;
}

.l-footer-widget-area > .c-container {
  padding: 0;
}

footer .l-footer-widget-area__item:last-child {
  background-color: white;
  text-align: center;
}

#urb_recaptcha_widget-2 {
  font-size: 0.6rem;
}

#urb_recaptcha_widget-2 a {
  color: black;
}

.c-row--margin>.c-row__col {
  margin-bottom: 0;
}

/* フッタメニュー */
.p-footer-sub-nav {
  background-color: #eeeeee;
}

/* 問い合わせの選択肢をひとつずつ改行 */
.mimosa-purpose .wpcf7-list-item {
  display: block;
}

/* トップ スライド */

.mimosa-mainvisual {
  position: relative;
  width: 100%;
  max-height: 400px;
  max-width: 1000px;
  margin: 0 auto;
  overflow: hidden;
}

.mimosa-mainvisual div {
  position: relative;
  width: 100%;
  max-width: 1000px;
  max-height: 400px;
  padding-top: 51%;
  margin: 0 auto;
}

.mimosa-mainvisual div img {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  object-fit: cover;
}

@media screen and (min-width: 850px) {
  .mimosa-mainvisual div img {
    top: -5%;
  }
}

@media screen and (min-width: 925px) {
  .mimosa-mainvisual div img {
    top: -7.5%;
  }
}


@media screen and (min-width: 1000px) {
  .mimosa-mainvisual div img {
    top: -10%;
  }
}

.mimosa-mainvisual div:last-of-type {
  position: absolute;
  top: 0;
  left: 0;
}


.mimosa-mainvisual div:first-of-type img {
  transform-origin: left center;
  -moz-transform: scale(1.0, 1.0);
  -webkit-transform: scale(1.0 , 1.0);
  transform: scale(1.0, 1.0);
  animation: fadeOut 6s ease 2s forwards;
  -webkit-animation: fadeOut 6s ease 2s forwards;
}

@keyframes fadeOut {
  0% {
      opacity: 1;
      -moz-transform: scale(1.0, 1.0);
      -webkit-transform: scale(1.0, 1.0);
      transform:scale(1.0, 1.0);
    }
  100% {
      opacity: 0;
      -moz-transform: scale(1.2, 1.2);
      -webkit-transform: scale(1.2, 1.2);
      transform:scale(1.2, 1.2);
    }
}

@-webkit-keyframes fadeOut {
  0% {
    opacity: 1;
    -webkit-transform: scale(1.0, 1.0);
  }
  100% {
    opacity: 0;
    -webkit-transform: scale(1.2, 1.2);
  }
}


.mimosa-mainvisual div:last-of-type img {
  opacity: 0;
  transform-origin: left center;
  -moz-transform: scale(1.2, 1.2);
  -webkit-transform: scale(1.2, 1.2);
  transform:scale(1.2, 1.2);
  animation: fadeIn 6s ease 4s forwards;
  -webkit-animation: fadeIn 6s ease 4s forwards;
}

@keyframes fadeIn {
  0% {
    opacity: 0;
    -moz-transform: scale(1.2, 1.2);
    -webkit-transform: scale(1.2, 1.2);
    transform:scale(1.2, 1.2);
  }
  100% {
    opacity: 1;
    -moz-transform: scale(1.0, 1.0);
    -webkit-transform: scale(1.0, 1.0);
    transform:scale(1.0, 1.0);
  }
}

@-webkit-keyframes fadeIn {
  0% {
    opacity: 0;
    -webkit-transform: scale(1.2, 1.2);
  }
  100% {
    opacity: 1;
    -webkit-transform: scale(1.0, 1.0);
  }
}



/* トップ サービスメニュー文字 */
.home .services {
  font-size: 0.95rem;
  font-family: system-ui,-apple-system,BlinkMacSystemFont,ヒラギノ角ゴ W3,sans-serif;
}

.home .services .wp-block-snow-monkey-blocks-items-banner {
  padding: 0.5em;
}

/* トップ プロフィール 写真と肩書 */
.home .wp-block-column {
  flex-grow: 1;
}

/* トップ実績 */
.home .wp-block-snow-monkey-blocks-information {
  font-size: 0.85rem;
}

.home .smb-information__body>:not(:first-child) {
  margin-top: 0.8rem;
}

.home .smb-information__item__body p:not(:first-child) {
  margin-top: 0.8rem;
}

.home .smb-information__item__label {
  color: var(--accent-color);
}