/* 3つの窓 START */
.three-win h2 ,
.three-win p ,
.three-win a ,
.editor-styles-wrapper .three-win h2 ,
.editor-styles-wrapper .three-win p ,
.editor-styles-wrapper .three-win a {
  color: var(--DARK-GRAY__333);
  margin: 0;
  padding: 0;
  background: transparent;
}

.three-win h2 {
  font-size: 20px;
}

.three-win p {
  font-size: 12px;
}

.three-win a {
  text-decoration: none;
}

@media screen and (min-width: 1261px) {
  .three-win>div:not(:first-child) {
    margin-left: 1.7em;
  }
}

@media screen and (max-width: 1260px) and (min-width: 600px) {
  .three-win h2 {
    font-size: 18px;
  }

  .three-win p {
    font-size: 12px;
  }

  .three-win>div:not(:first-child) {
    margin-left: 1.25em!important;
  }
}

@media screen and (max-width: 1023px) {
  .three-win {
    margin-bottom: 0;
  }

  main.main {
    margin-top: 0;
    padding-top: 0;
  }

  header.article-header.entry-header {
    margin-top: 0;
  }
}

@media screen and (min-width: 600px) {
  .wp-block-columns:not(.is-not-stacked-on-mobile) > .wp-block-column:not(:only-child),
  .three-win>div {
    width: calc(33.33333% - .83333em)!important;
    flex-basis: calc(33.33333% - .83333em)!important;
  }
}

@media screen and (max-width: 599px) {
  .three-win .wp-block-column {
    width: 100%;
    text-align: center;
  }

  /* 画像トリミング 解除 START */
  .three-win>div>figure>a {
    position: static;
  }

  .three-win>div>figure>a:before {
    padding-top: 0;
  }

  .three-win>div>figure>a>img {
    position: static;
    height: auto;
  }
  /* 画像トリミング 解除 END */

  .three-win>div,
  .three-win img {
    width: 100%;
    height: auto;
  }

  .three-win>div:not(:first-child) {
    margin-left: 0;
  }

  .three-win h2 a ,
  .three-win p a {
    display: block;
    text-align: left;
  }
}

.three-win>div>figure.wp-block-image.size-full {
  margin-bottom: 10px;
}

/* 画像トリミング START */
.three-win>div>figure>a {
  position: relative;
  display: block;
  width: 100%;
}

.three-win>div>figure>a:before {
  content: '';
  display: block;
  padding-top: 47.6%;
}

.three-win>div>figure>a>img {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
  object-fit: cover;
}
/* 画像トリミング END */

/* ３つの窓 END */

/* メインコピー START */
.maincopy {
  margin-top: 30px;
  margin-bottom: 30px;
}

.body .maincopy h2.wp-block ,
.maincopy h2 {
  font-size: 24px;
  background: transparent;
  font-family: "ＭＳ Ｐ明朝", 細明朝体, "ヒラギノ明朝 Pro W3", メイリオ, meiryo, serif;
  margin-bottom: 10px;
}

.maincopy p {
  font-size: 12px;
}

@media screen and (max-width: 1023px) {
  .body .maincopy h2.wp-block ,
  .maincopy h2 {
    font-size: 18px;
  }

  .maincopy p {
    font-size: 14px;
  }
}
/* メインコピー END */
