/**
 * 「特集カレンダー」ページ専用スタイルシート。
 */

/* ----------------------------------
 * 基本変数とページ全体の調整
 * ---------------------------------- */
:root {
  --event-primary-color: #0f3f6e;
  --event-accent-color: #f5a11b;
  --event-bg-color: #f7f9f9;
  --event-border-color: #e0e0e0;
  --event-text-color: #333;
  --event-text-light-color: #555;
}

/* ----------------------------------
 * グローバルメニューの調整
 * ---------------------------------- */
.arrow_down {
  margin-left: auto;
  margin-right: auto;
}

/* ----------------------------------
 * コンテナー
 * ---------------------------------- */
.l-wrapper.l-wrapper-archive {
  margin-bottom: 64px !important;
}

@media screen and (max-width: 767px) {
  .l-wrapper {
    padding: 0 20px;
  }
}

/* ----------------------------------
 * コンテンツ
 * ---------------------------------- */
.dividerBottom .postContents h2,
.dividerBottom .postContents h3,
.dividerBottom .postContents h4,
.dividerBottom .postContents h5 {
  font-weight: 600;
}

.dividerBottom .postContents p,
.dividerBottom .postContents ul,
.dividerBottom .postContents ol,
.dividerBottom .postContents table,
.dividerBottom .postContents th,
.dividerBottom .postContents td,
.dividerBottom .postContents strong,
.dividerBottom .postContents span {
  font-size: 18px;
}

.postContents .content ul,
.postContents .content ol {
  border-radius: 0;
  border: none;
  background-color: #ffffc7;
  margin-bottom: 10px;
  padding: 20px 20px 20px 40px;
  position: relative;
}

.postContents .content ul li {
  list-style: disc;
  margin-bottom: 8px;
}

/* ----------------------------------
 * 一覧
 * ---------------------------------- */

.archive-event-title {
  margin-bottom: 32px !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  background-color: #f7f9f9;
  border-top: 4px solid #0d3d6b;
  padding-top: 8px;
  font-size: 32px !important;
}

@media screen and (max-width: 767px) {
  .archive-event-title {
    font-size: 24px !important;
  }
}

.year-title {
  font-size: 24px;
  font-weight: 700;
  width: 100%;
  grid-column: 1 / -1;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 3px solid var(--event-primary-color);
  color: var(--event-primary-color);
}

.feature-calendar {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 32px;
}

.archive-event h2 a {
  font-weight: 600;
}

.calendar-month {
  background: #ffffff;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--event-border-color);
}
.calendar-month:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

/* カード上部のアクセントライン */
.calendar-month::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--event-primary-color);
}

.month-title {
  margin-top: 0;
  font-size: 22px;
  font-weight: 700;
  color: var(--event-text-color);
  border-bottom: 2px solid var(--event-border-color);
  padding-bottom: 15px;
  margin-bottom: 20px;
}

.feature-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
  flex-grow: 1;
}

.feature-list li {
  margin-bottom: 24px;
}
.feature-list li:last-child {
  margin-bottom: 0;
}

.feature-list h4 {
  margin-top: 0;
  margin-bottom: 12px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
}

.feature-list h4 a {
  text-decoration: none;
  color: var(--event-primary-color);
}
.feature-list h4 a:hover {
  text-decoration: underline;
}

.feature-description {
  font-size: 16px;
  color: var(--event-text-light-color);
  line-height: 1.7;
  background: var(--event-bg-color);
  padding: 15px;
  border-radius: 8px;
  border-left: 3px solid var(--event-primary-color);
}

.feature-description p:first-child {
  margin-top: 0;
}
.feature-description p:last-child {
  margin-bottom: 0;
}

/* Comming Soon のスタイル */
.calender-month-future {
  position: relative;
  opacity: 0.6;
  user-select: none;
  pointer-events: none;
}

.calender-month-future:before {
  content: "Comming Soon...";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 24px;
  font-weight: bold;
  color: #fff;
  background-color: rgba(0, 0, 0, 0.6);
  padding: 20px;
  border-radius: 10px;
  z-index: 10;
  white-space: nowrap;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 212px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

/* ----------------------------------
 * 監修者
 * ---------------------------------- */
.supervisor {
  background: #fff;
  padding: 20px;
  border-radius: 10px;
}
@media screen and (max-width: 767px) {
  .supervisor {
    margin-top: 48px;
  }
}

.supervisor_title {
  color: #0a6eb8;
  font-size: 18px;
  font-weight: 700;
  padding-bottom: 12px;
}

/* ----------------------------------
 * コンテンツ下CTA
 * ---------------------------------- */
@media screen and (min-width: 768px) {
  .postContents .content .pcNative__adarea {
    display: inline-block;
    width: calc(100% / 3 - 12px);
    margin-right: 18px;
  }

  .postContents .content .pcNative__adarea:last-child {
    margin-right: 0;
  }
}

/* ----------------------------------
 * フッター調整
 * ---------------------------------- */
@media screen and (max-width: 767px) {
  .footerSP .foot_cat_area .foot_related_sites p img {
    display: inline;
  }

  .footerSP .foot_cat_area ul li img {
    display: inline;
  }
}

/* ----------------------------------
 * SPメニュー調整
 * ---------------------------------- */
@media screen and (max-width: 767px) {
  .footerMenu h2 {
    font-weight: 600;
  }
}
