@charset "utf-8";

/*
  File Name   : auction.css
  Description : コンテンツエリア関係 他
*/

/* hoge
============================================================ */
.editor-styles-wrapper p {
  margin: 5px 0 0;
  font-size: 16px;
}
.editor-styles-wrapper p:first-child {
  margin-top: 0;
}
.editor-styles-wrapper a {
  position: relative;
  display: inline-block;
  margin-top: 20px;
  margin-right: 5px;
  padding: 23px 40px 27px;
  padding-right: 75px;
  border-radius: 50px;
  background: linear-gradient(90deg, #0f7dbf, #a6b144);
  color: #fff !important;
  font-size: 20px;
  font-weight: bold;
  line-height: 1.4;
}
.editor-styles-wrapper a::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 28px;
  width: 30px;
  height: 30px;
  background: url(../img/common/icon-arrow-A-wh.svg) 0 0 no-repeat;
  background-size: 30px auto;
  transform: translateY(-50%);
}
.editor-styles-wrapper a:hover {
  text-decoration: none;
  opacity: 0.7;
}
.editor-styles-wrapper .wp-block-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 60px 40px !important;
  justify-content: flex-start;
  max-width: 1100px;
  margin: 60px auto 0;
}
#editor .editor-styles-wrapper .wp-block-gallery {
  max-width: 840px;
}
.editor-styles-wrapper .wp-block-gallery figure.wp-block-image {
  display: block !important;
  flex: 0 1 calc((100% - 40px) / 2) !important;
  margin: 0;
}
.editor-styles-wrapper .wp-block-gallery figure.wp-block-image:has(figcaption)::before {
  content: none !important;
}
.editor-styles-wrapper .wp-block-gallery figure.wp-block-image img {
  display: block;
  width: 100% !important;
  height: auto !important;
  overflow: hidden;
  border-radius: 10px;
  object-fit: fill !important;
}
.editor-styles-wrapper .wp-block-gallery figure.wp-block-image .wp-element-caption {
  position: static;
  margin: 10px 0 0;
  padding: 0;
  background: none;
  color: inherit;
  font-size: inherit;
  text-align: center;
  text-shadow: none;
}

/* sp
------------------------------------------------------------ */
@media screen and (max-width: 1101px) {
  .editor-styles-wrapper a:hover {
    opacity: 1;
  }
  .editor-styles-wrapper .wp-block-gallery {
    display: block;
    margin-top: 50px;
  }
  .editor-styles-wrapper .wp-block-gallery figure.wp-block-image {
    width: 100% !important;
    margin: 0 0 30px !important;
  }
  .editor-styles-wrapper .wp-block-gallery figure.wp-block-image:last-child {
    margin-bottom: 0 !important;
  }
}
