@charset "utf-8";

/* =========================================
   トップページ 注目イベントカード
========================================= */

.arim-event-card {
  flex: 1 1 650px;
  min-width: 0;
  display: flex;
  overflow: hidden;
  background: #fff;
  border: 1px solid #dce6eb;
  border-radius: 14px;
  box-shadow: 0 5px 18px rgba(0, 0, 0, 0.08);
  box-sizing: border-box;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.arim-event-card:hover {
  transform: translateY(-3px);
  border-color: #9dc6da;
  box-shadow: 0 9px 25px rgba(10, 103, 152, 0.14);
}

/* =========================================
   フライヤーエリア
========================================= */

.arim-event-flyer-area {
  flex: 0 0 44%;
  min-width: 0;
  padding: 20px;
  background: linear-gradient(
    145deg,
    #eef6f9 0%,
    #f8fbfc 55%,
    #e7f1f5 100%
  );
  box-sizing: border-box;
}

.arim-event-flyer-heading {
  margin-bottom: 13px;
  text-align: center;
}

.arim-event-flyer-heading span {
  display: block;
  color: #0a6798;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.arim-event-flyer-heading p {
  margin: 3px 0 0;
  color: #71828a;
  font-size: 1rem;
  line-height: 1.5;
  letter-spacing: 0;
}

.arim-event-flyer-images {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 12px;
}

.arim-event-flyer-link {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  padding: 8px;
  background: #fff;
  border: 1px solid #d9e1e5;
  border-radius: 8px;
  box-shadow: 0 3px 9px rgba(0, 0, 0, 0.08);
  text-align: center;
  text-decoration: none;
  box-sizing: border-box;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}

.arim-event-flyer-link:hover {
  opacity: 1;
  transform: translateY(-2px);
  border-color: #0a6798;
  box-shadow: 0 6px 13px rgba(10, 103, 152, 0.16);
}

.arim-event-flyer-link img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
  border-radius: 3px;
  background: #fff;
}

.arim-event-flyer-side {
  display: inline-block;
  margin-bottom: 6px;
  padding: 2px 9px;
  color: #fff;
  background: #0a6798;
  border-radius: 20px;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.5;
}

.arim-event-flyer-zoom {
  display: block;
  margin-top: 7px;
  color: #0a6798;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.4;
}

.arim-event-flyer-zoom::after {
  content: " ↗";
}

/* =========================================
   イベント情報エリア
========================================= */

.arim-event-info {
  flex: 1 1 auto;
  min-width: 0;
  padding: 25px 25px 23px;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

.arim-event-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.arim-event-meta time {
  color: #777;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.arim-event-badge {
  display: inline-block;
  padding: 3px 10px;
  color: #0a6798;
  background: #e1f5fe;
  border-radius: 20px;
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.5;
}

.arim-event-label {
  margin: 0 0 7px;
  color: #f39800;
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.12em;
}

.arim-event-title {
  margin: 0 0 13px;
  color: #183d50;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.03em;
}

.arim-event-summary {
  margin: 0 0 16px;
  color: #4a565c;
  font-size: 1.3rem;
  line-height: 1.8;
  letter-spacing: 0.04em;
}

/* =========================================
   イベント概要内の開催情報
========================================= */

.arim-event-summary-item {
  display: block;
  margin-top: 9px;
}

.arim-event-summary-item strong,
.arim-event-summary-item span {
  display: block;
  color: inherit;
  font-size: inherit;
  line-height: inherit;
}

.arim-event-summary-item strong {
  font-weight: 700;
}

.arim-event-summary-item span {
  padding-left: 1.5em;
}

.arim-event-summary-footer {
  display: block;
  margin-top: 18px;
  color: inherit;
  font-size: inherit;
  line-height: inherit;
}

/* =========================================
   ボタン
========================================= */

.arim-event-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
}

.arim-event-button {
  position: relative;
  display: inline-flex;
  flex: 1 1 150px;
  min-width: 0;
  min-height: 46px;
  padding: 10px 38px 10px 18px;
  align-items: center;
  justify-content: center;
  border-radius: 24px;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
  box-sizing: border-box;
  transition:
    opacity 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.arim-event-button:hover {
  opacity: 1;
  transform: translateY(-1px);
}

.arim-event-button::after {
  position: absolute;
  right: 17px;
  font-size: 1.05rem;
}

/* イベント詳細ボタン */

.arim-event-detail-button {
  color: #fff !important;
  background: #0a6798;
  border: 2px solid #0a6798;
  box-shadow: 0 4px 10px rgba(10, 103, 152, 0.2);
}

.arim-event-detail-button span {
  color: #fff !important;
}

.arim-event-detail-button::after {
  content: "▶";
  color: #fff !important;
}

.arim-event-detail-button:hover {
  color: #fff !important;
  box-shadow: 0 6px 14px rgba(10, 103, 152, 0.3);
}

.arim-event-detail-button:hover span {
  color: #fff !important;
}

/* PDFボタン */

.arim-event-pdf-button {
  color: #0a6798;
  background: #fff;
  border: 2px solid #0a6798;
}

.arim-event-pdf-button span {
  color: #0a6798;
}

.arim-event-pdf-button::before {
  content: "PDF";
  display: inline-block;
  margin-right: 7px;
  padding: 2px 5px;
  color: #fff;
  background: #d94b45;
  border-radius: 3px;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.3;
}

.arim-event-pdf-button::after {
  content: "↗";
  color: #0a6798;
}

.arim-event-pdf-button:hover {
  color: #fff;
  background: #0a6798;
}

.arim-event-pdf-button:hover span {
  color: #fff;
}

.arim-event-pdf-button:hover::after {
  color: #fff;
}

/* =========================================
   タブレット
========================================= */

@media screen and (max-width: 980px) {
  .arim-event-card {
    width: 100%;
    max-width: 650px;
    flex: none;
    flex-direction: column;
  }

  .arim-event-flyer-area {
    flex: none;
    width: 100%;
  }

  .arim-event-flyer-images {
    width: 100%;
    max-width: 430px;
    margin: 0 auto;
  }

  .arim-event-info {
    width: 100%;
  }
}

/* =========================================
   スマートフォン
========================================= */

@media screen and (max-width: 600px) {
  .arim-event-card {
    width: 100%;
    max-width: none;
    border-radius: 10px;
  }

  .arim-event-flyer-area {
    width: 100%;
    padding: 18px 14px;
  }

  .arim-event-flyer-images {
    width: 100%;
    max-width: 100%;
    gap: 9px;
  }

  .arim-event-flyer-link {
    min-width: 0;
    padding: 6px;
  }

  .arim-event-flyer-link img {
    width: 100%;
    height: auto;
  }

  .arim-event-info {
    width: 100%;
    min-width: 0;
    padding: 21px 18px 20px;
  }

  .arim-event-meta {
    margin-bottom: 8px;
  }

  .arim-event-title {
    font-size: 1.8rem;
    line-height: 1.55;
    overflow-wrap: anywhere;
  }

  .arim-event-summary {
    font-size: 1.3rem;
    line-height: 1.75;
    overflow-wrap: anywhere;
  }

  .arim-event-summary-item {
    margin-top: 10px;
  }

  .arim-event-summary-item span {
    padding-left: 0;
  }

  .arim-event-summary-footer {
    margin-top: 16px;
  }

  .arim-event-buttons {
    width: 100%;
    flex-direction: column;
    gap: 10px;
  }

  .arim-event-button {
    flex: none;
    width: 100%;
    min-width: 0;
    min-height: 48px;
  }
}

/* =========================================
   小さいスマートフォン
========================================= */

@media screen and (max-width: 420px) {
  .arim-event-flyer-heading p {
    font-size: 0.95rem;
  }

  .arim-event-flyer-side,
  .arim-event-flyer-zoom {
    font-size: 0.9rem;
  }

  .arim-event-info {
    padding: 18px 14px;
  }

  .arim-event-title {
    font-size: 1.65rem;
  }

  .arim-event-summary {
    font-size: 1.2rem;
  }

  .arim-event-summary-item {
    margin-top: 9px;
  }

  .arim-event-summary-footer {
    margin-top: 14px;
  }

  .arim-event-button {
    padding-left: 14px;
    padding-right: 34px;
    font-size: 1.15rem;
  }

  .arim-event-button::after {
    right: 14px;
  }
}
