/* DOKODEMO_ABISU-757【株式会社A&C】③「イベント情報」カスタムコンテンツの作成（A&Cテクノハウス）一覧ページ用*/

.upd-blog-001 [data-collection-list-content] {
  display: contents;
}

/* ちらつき防止 */
body {
  opacity: 0;
  -webkit-transition: 0.3s;
  transition: 0.3s;
  -webkit-animation: upd-fadein-fallback 0.3s ease 3s forwards;
  animation: upd-fadein-fallback 0.3s ease 3s forwards;
}

body.is-loaded,
body[data-element-id] {
  opacity: 1 !important;
}

@-webkit-keyframes upd-fadein-fallback {
  to {
    opacity: 1;
  }
}
@keyframes upd-fadein-fallback {
  to {
    opacity: 1;
  }
}
#header h2.page {
    position: relative;
    right: 0px;
    top: 64px;
    text-align: left;
    width: 230px;
    left: 30px;
    float: left;
    display: inline-block;
}
#header p.page {
    position: relative;
    text-align: left;
    width: 280px;
    right: 0px;
    top: 70px;
    left: 50px;
    font-weight: bold;
    line-height: 1.4;
    letter-spacing: 1px;
    float: left;
    display: inline-block;
}

/* カラー設定 */
:root {
  --main-color: #020380;
  --title-color: #444;
  --line-color: #333;
  --bg-color: #f2f2f8;
}

.upd-blog-001 {
  width: 100%;
}
.upd-blog-001 * {
  box-sizing: border-box;
}
.upd-blog-001 .upd-inner {
  width: 96%;
  max-width: 1000px;
  margin: 0 auto;
  padding: 60px 0;
}

/* 見出し「イベント情報一覧」 */
.upd-blog-001 .up-d-event-heading {
  width: 100%;
  margin: 0 0 30px;
  padding: 0;
  font-weight: 700;
  font-size: 24px;
  color: #000;
  line-height: 1.5;
  text-align: left;
}

/* 一覧 */
.upd-blog-001 .upd-blog-list {
  width: 100%;
}
.upd-blog-001 .upd-blog-list ul,
.upd-blog-001 .upd-blog-list li {
  list-style: none !important;
  margin: 0;
  padding: 0;
}
.upd-blog-001 .upd-blog-list-main {
  display: flex;
  flex-wrap: wrap;
}
.upd-blog-001 .upd-blog-list-item {
  width: 33.3333333333%;
}
.upd-blog-001 .upd-blog-list-item-inner {
  height: 100%;
  padding: 0 10px 20px;
}
.upd-blog-001 .upd-blog-list-item-inner a {
  height: 100%;
  display: flex;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
  border-radius: 5px;
  transition: 0.4s;
}
.upd-blog-001 .upd-blog-list-item-inner a:hover {
  transform: scale(1.05);
}
.upd-blog-001 .upd-blog-list-item-inner a:hover .upd-blog-list-item-title {
  color: var(--main-color);
}
.upd-blog-001 .upd-blog-list-item-inner a:hover .upd-blog-list-item-arrow span {
  color: #fff;
  background-color: var(--main-color);
}

/* サムネイル（4:3） */
.upd-blog-001 .upd-img {
  width: 100%;
  overflow: hidden;
  margin-bottom: 5px;
  border-radius: 3px;
  background-color: var(--bg-color);
}
.upd-blog-001 .upd-ofi-75 {
  width: 100%;
  display: block;
  overflow: hidden;
  position: relative;
}
.upd-blog-001 .upd-ofi-75::after {
  content: "";
  display: block;
  padding-top: 75%;
}
.upd-blog-001 .upd-ofi-75 img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
}

/* 日付・タイトル */
.upd-blog-001 .upd-blog-list-item-date {
  font-weight: 600;
  font-size: 14px;
  color: var(--main-color);
  text-align: left;
}
.upd-blog-001 .upd-blog-list-item-title {
  flex-grow: 1;
  margin-top: 5px;
  font-weight: 600;
  color: var(--title-color);
  line-height: 1.3em;
  transition: 0.4s;
  text-align: left;
}
.upd-blog-001 .upd-line2 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-line-clamp: 2;
}

/* 詳しく見るボタン */
.upd-blog-001 .upd-blog-list-item-arrow {
  margin-top: 15px;
  text-align: center;
}
.upd-blog-001 .upd-blog-list-item-arrow span {
  display: inline-block;
  padding: 5px 15px;
  font-size: 14px;
  color: var(--main-color);
  line-height: 1em;
  border: 1px solid var(--main-color);
  border-radius: 3px;
  transition: 0.4s;
}
.upd-blog-001 .upd-blog-list-item-arrow span::after {
  content: "";
  width: 8px;
  height: 8px;
  display: inline-block;
  margin-left: 3px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
}

/* ページャー */
.upd-blog-001 .upd-pager {
  width: 100%;
  margin-top: 50px;
}
.upd-blog-001 .upd-pager-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.upd-blog-001 .upd-pager-list div {
  display: contents;
}
.upd-blog-001 .upd-pager-list li {
  color: var(--main-color);
  border: 1px solid var(--main-color);
  border-radius: 3px;
}
.upd-blog-001 .upd-pager-list li a,
.upd-blog-001 .upd-pager-list li .now {
  min-width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
}
.upd-blog-001 .upd-pager-list li a span,
.upd-blog-001 .upd-pager-list li .now span {
  display: block;
}
.upd-blog-001 .upd-pager-list li a:hover,
.upd-blog-001 .upd-pager-list li .now {
  color: #fff;
  background-color: var(--main-color);
}
.upd-blog-001 .upd-pager-arrow {
  width: 8px;
  height: 8px;
  display: inline-block;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
}
.upd-blog-001 .upd-pager-prev .upd-pager-arrow {
  margin-left: 4px;
  transform: rotate(-135deg);
}
.upd-blog-001 .upd-pager-next .upd-pager-arrow {
  margin-right: 4px;
  transform: rotate(45deg);
}

/* タブレット */
@media (max-width: 1024px) {
  .upd-blog-001 .upd-blog-list-item-inner {
    padding: 0 5px 20px;
  }
  .upd-blog-001 .upd-pager {
    margin-top: 30px;
  }
}

/* スマホ */
@media (max-width: 599px) {
  .upd-blog-001 .up-d-event-heading {
    margin-bottom: 20px;
    font-size: 20px;
  }
  .upd-blog-001 .upd-blog-list-item {
    width: 50%;
  }
}

/* タッチ端末では電話・メールボタンのhover変化を止める（スマホで2回タップになるのを防ぐ） */
@media (hover: none) {
  .tel_box ul li a {
    transition: none;
  }
  .tel_box ul li a:hover {
    opacity: 0;
  }
}
