@charset "UTF-8";

/*-------------------------------------------
アーカイブページ

タイトル枠
-------------------------------------------*/
.EventBoxBg {
  background: #f28a8a;
  background-size: 10%;
  position: relative;
  margin-top: 60px;
  margin-bottom: 50px;
}

.EventBox {
  padding: 50px 20px 150px;
}

.EventBox h1.ArcTtl {
  position: relative;
  font-size: 1.7rem;
  line-height: 2.8rem;
  font-weight: 500;
  padding-left: 110px;
  display: flex;
  justify-content: left;
  align-content: center;
  height: 110px;
  flex-wrap: wrap;
  margin: 0 0 50px 0;
}

.EventBox h1.ArcTtl::before {
  background-image: url(../img/il_event.webp);
  background-repeat: no-repeat;
  background-size: 50%;
  content: "";
  height: 100%;
  margin: auto;
  position: absolute;
  left: 0px;
  top: 0;
  transition: right 0.5s;
  width: 50%;
}

.category-tag li {
  margin-left: 10px;
}

.category-tag li:first-child {
  margin-left: 0rem !important;
}

/*-------------------------------------------
オープンハウス枠
-------------------------------------------*/

.roopBox {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-wrap: wrap;
  gap: 25px;
}

.roopBox li.roop {
  border-radius: 15px;
  background: #fff;
  width: 100%;
  height: auto;
  transition: 400ms;
  padding: 20px;
  margin-bottom: 20px;
}

.roopBox li.roop:hover {
  transform: translateY(3px);
  transition: 400ms;
}

.roop img {
  border-radius: 15px;
  margin-bottom: 1vh;
}

.NewDay {
  /* display: flex;
  justify-content: space-between;
  align-items: center; */
  overflow: hidden;
  font-weight: bold;
  /* line-height: 2.4rem; */
}

.newopenhouse {
  color: #f2b84b;
  font-size: 1rem;
  font-weight: bold;
}

.newopenhouse::before {
  content: "";
  display: inline-block;
  width: 25px;
  height: 24px;
  background-image: url(../img/icon_new.webp);
  background-size: contain;
  vertical-align: middle;
  overflow: hidden;
  background-repeat: no-repeat;
}

.title01 {
  font-size: 1.1rem;
  font-weight: bold;
}

.archivebox .pricebox span {
  color: #ec6d74;
}

span.price {
  font-size: 1.4rem;
  font-weight: bold;
}

.roopBox {
  display: block;
}

/*-------------------------------------------
シングルページ
オープンハウス枠
-------------------------------------------*/

.EventBox h1.SingTtl {
  position: relative;
  font-size: 1.7rem;
  line-height: 2.8rem;
  font-weight: 500;
  display: flex;
  justify-content: left;
  align-content: center;
  height: auto;
  flex-wrap: wrap;
  margin-bottom: 50px;
}

span.price {
  font-size: 1.4rem;
  font-weight: bold;
  color: #fff;
}

.category-tag {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  overflow: hidden;
  font-weight: 500;
}

.OPHSBlock {
  background-color: #fff;
  border-radius: 15px;
  padding: 20px;
}

.wp-block-image {
  width: 100%;
  max-width: 850px;
  margin: 0 auto 5rem;
}

.gobackarticle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin: 0 auto;
  width: 100%;
}

.wp-block-table td,
.wp-block-table th {
  border: none !important;
  border-bottom: 1px solid #3c3c3b !important;
}

.gobackarticle a.Next {
  position: relative;
  padding-right: 60px; /* 右に余白 */
  color: #3c3c3b;
  text-decoration: none;
  font-weight: bold;
  display: inline-flex;
  align-items: center;
}

.gobackarticle a.Next::after {
  content: "";
  position: absolute;
  right: 0;
  width: 40px;
  height: 40px;
  background: #edb139; /* 丸の色 */
  border-radius: 50%;
}

.gobackarticle a.Next::before {
  content: "";
  position: absolute;
  right: 14px;
  width: 14px;
  height: 2px;
  background: #fff;
  z-index: 2;
}

/* 矢印の先端（上下2本） */
.gobackarticle a.Next span {
  content: "";
  position: absolute;
  right: 12px;
  width: 8px;
  height: 2px;
  background: #fff;
  z-index: 2;
  top: 9px;
}

.gobackarticle a.Next span::before {
  content: "";
  position: absolute;
  right: -4px;
  width: 8px;
  height: 2px;
  background: #fff;
  z-index: 2;
  top: 3px;
}

.gobackarticle a.Next span {
  transform: rotate(45deg);
}

.gobackarticle a.Next span::before {
  transform: rotate(-90deg);
}

.gobackarticle a.Prev {
  position: relative;
  padding-left: 60px; /* 右に余白 */
  color: #3c3c3b;
  text-decoration: none;
  font-weight: bold;
  display: inline-flex;
  align-items: center;
}

.gobackarticle a.Prev::after {
  content: "";
  position: absolute;
  left: 0;
  width: 40px;
  height: 40px;
  background: #edb139; /* 丸の色 */
  border-radius: 50%;
}

.gobackarticle a.Prev::before {
  content: "";
  position: absolute;
  left: 14px;
  width: 14px;
  height: 2px;
  background: #fff;
  z-index: 2;
}

/* 矢印の先端（上下2本） */
.gobackarticle a.Prev span {
  content: "";
  position: absolute;
  left: 12px;
  width: 8px;
  height: 2px;
  background: #fff;
  z-index: 2;
  top: 9px;
}

.gobackarticle a.Prev span::before {
  content: "";
  position: absolute;
  left: 3px;
  width: 8px;
  height: 2px;
  background: #fff;
  z-index: 2;
  top: -4px;
}

.gobackarticle a.Prev span {
  transform: rotate(135deg);
}

.gobackarticle a.Prev span::before {
  transform: rotate(90deg);
}

/* 「終了致しました」が含まれている li.roop の背景をグレーに */
.EventSIng:has(.closed) .OPHSBlock {
  background-color: #e5e5e5 !important;
  border-radius: 15px;
  color: #ccc;
  opacity: 0.6;
}

.EventSIng:has(.closed) img,
.roop:has(.closed) img {
  opacity: 0.5;
}

.EventSIng:has(.closed) .pricebox span,
.roop:has(.closed) .pricebox span,
.roop:has(.closed) .dayTime p,
.roop:has(.closed) .title01,
.roop:has(.closed) .catDay {
  color: #ccc;
}

.EventSIng:has(.closed) .OPHSBlock table {
  background-color: #e5e5e5 !important;
}

.EventSIng:has(.closed) .OPHSBlock .wp-block-table td,
.EventSIng:has(.closed) .OPHSBlock .wp-block-table th {
  border-bottom: 1px solid #e5e5e5 !important;
}

.closed {
  color: #3c3c3b !important;
}

/* カーソルを「クリック不可」に変更 */
.EventSIng:has(.closed) .wp-block-column a,
.roop:has(.closed) a {
  cursor: default;
  pointer-events: none; /* クリックやホバーを無効化 */
  text-decoration: none;
}

/*-------------------------------
  タブレットここから 780px以上のとき適用
--------------------------------*/
@media screen and (min-width: 780px) {
  .EventBoxBg {
    margin-top: 70px;
    margin-bottom: 0px;
  }

  .EventBox {
    padding-top: 150px;
    padding-bottom: 150px;
    padding-left: calc(100vw * 0.1);
    padding-right: calc(100vw * 0.1);
  }

  .EventSIng {
    padding-top: 150px;
    padding-bottom: 150px;
    padding-left: 0;
    padding-right: 0;
    margin: 0 auto;
    max-width: 900px;
  }

  .EventBox h1.ArcTtl {
    padding-left: 130px;
  }

  .EventBox h1.ArcTtl::before {
    background-size: 110px;
  }

  .EventBox h1.SingTtl {
    margin-bottom: 30px;
    display: grid;
  }

  .wp-block-columns {
    display: block !important;
    flex-wrap: wrap !important;
  }

  .wp-block-column:first-child {
    margin-bottom: 20px;
  }

  .roopBox {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 20px;
  }

  .roopBox li.roop {
    visibility: visible !important;
    animation-name: fadeIn !important;
    width: 32.1%;
  }
}

/*-------------------------------
  PC版 1160px以上のとき適用
--------------------------------*/
@media screen and (min-width: 1160px) {
}
