@charset "UTF-8";

/* =========================================================
   見出し
========================================================= */
.content-title {
  border-left: 8px solid #00a1e9;
  margin: 10px 0;
  padding-left: 16px;
}

.content-title h2 {
  margin: 0;
}

/* =========================================================
   CARD SYSTEM（汎用カード）
========================================================= */

.item {
  background: #fff;
  border: 1px solid #d0d0d0;
  border-radius: 4px;
  overflow: hidden;
}

.item a {
  display: block;
  width: 100%;
  height: 100%;
  padding: 14px 16px;
  text-decoration: none;
  color: #000;
  box-sizing: border-box;
}

.item:hover {
  border-color: transparent;
}

.item:hover a {
  box-shadow: 0 0 0 3px #00a1e9 inset;
}

.item img {
  display: block;
  width: 100%;
  height: 180px;
  object-fit: cover;
  margin: 0;
  transition: transform 0.3s ease;
}

.item:hover img {
  transform: scale(0.97);
}

.item h3 {
  text-align: center;
  font-size: 1.15rem;
  margin: 10px 0 6px;
  line-height: 1.4;
  font-weight: 600;
}

.item-description p {
  font-size: 1.1rem;
  font-weight: bold;
  text-align: center;
  margin: 8px 0 0;
}

/* =========================================================
   IN-BOX（情報ボックス）
========================================================= */

.in-box {
  background-color: #D7F1F8;
  color: #555;
  padding: 3%;
}

.in-box p {
  margin: 0;
}

.in-box p.hr {
  border-bottom: 1px solid #808080;
  padding-bottom: 1.5%;
}

.in-box ul {
  display: inline-flex;
  flex-direction: column;
  flex-wrap: wrap;
  height: 75px;
  width: 100%;
  box-sizing: border-box;
  margin: 1.5% 0 0;
}

.in-box ul li {
  position: relative;
  padding-left: 1em;
  text-indent: -1em;
}

.in-box ul li::before {
  content: "●";
}

/* =========================================================
   TOP PAGE EVENTS TEXT STYLE
========================================================= */

.flex-events .item .item-description p {
  font-size: 16px !important;
  font-weight: bold !important;
  text-align: center !important;
  margin: 4px 0 0 !important;
  padding: 0 !important;
}

/* =========================================================
   EVENT
========================================================= */

.event-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}
