@charset "UTF-8";
/* ========================================
     イベント情報用スタイル
 ========================================= */
.oc-event {
	padding: 0 20px;
}
.oc-event-inner {
	padding-top: 30px;
	padding-bottom: 30px;
}
.oc-event-title {
	font-size: 24px;
	font-weight: 700;
	margin-bottom: 20px;
    text-align: left;
}
.oc-event-sub-title {
	font-size: 18px;
	font-weight: 700;
	margin-bottom: 20px;
}
.oc-event-list {
	display: grid;
	grid-template-columns: 1fr;
	gap: 20px;
	margin-bottom: 20px;
}
.oc-event-card {
	text-align: center;
}
.oc-event-category-title {
    padding: 10px;
    color: #fff;
    font-weight: 700;
    font-size: 18px;
    background-color: #223E76;
}
.oc-event-image {
	margin-bottom: 10px;
    aspect-ratio: 4 / 3;
    border: 1px solid #ccc;
}
.oc-event-image img {
	width: 100%;
    height: 100%;
	object-fit: contain;
}
.oc-event-text {
	font-size: 14px;
	font-weight: 500;
}
.oc-event-button {
	display: block;
	padding: 10px 30px;
	font-size: 14px;
	border: 1px solid #333;
	width: fit-content;
    margin: 0 auto;
    transition: opacity 0.6s;
	position: relative;
}
.oc-event-button:hover {
    opacity: 0.8;
}
.oc-event-button::after {
	content: "";
	display: inline-block;
	position: absolute;
	top: 50%;
	transform: translateY(-50%) rotate(45deg);
	right: 10px;
	width: 8px;
	height: 8px;
	border-top: 1px solid #333;
	border-right: 1px solid #333;
}
@media (min-width: 600px) {
    .oc-event-list {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (min-width: 768px) {
    .oc-event {
        max-width: 1202px;
        width: 100%;
        margin: 0 auto;
    }
    .oc-event-title {
        font-size: 30px;
        margin-bottom: 35px;
    }
    .oc-event-sub-title {
        font-size: 28px;
    }
    .oc-event-text {
        font-size: 16px;
    }
    .oc-event-button {
        font-size: 16px;
    }
    .oc-event-button {
        margin: 0;
    }
}
@media (min-width: 1024px) {
    .oc-event-list {
        grid-template-columns: repeat(4, 1fr);
        gap: 30px;
        margin-bottom: 30px;
    }
}

/* ========================================
    カテゴリー背景色は以下に追加してください
    追加する背景用のクラスは.oc-event-category-titleの次に記述してください
 ========================================= */
.category-bg-blue {
	background-color: #3187e1;
}
.category-bg-pink {
	background-color: #E45A8D;
}
.category-bg-green {
	background-color: #369584;
}
.category-bg-orange {
	background-color: #e68700;
}