/* 全体フォントを柔らかく */
body {
  font-family: "Hiragino Maru Gothic Pro", "Yu Gothic", sans-serif;
  
}

/* ヘッダー白基調＋細い下線 */
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #fff;
  border-bottom: 1px solid #ccc;
  padding: 0px;
  position: relative;
}
.hamburger {
  display: none;
  font-size: 28px;
  cursor: pointer;
}
.logo img {
  height: 80px;
}

/* ナビゲーションリンク（白背景に合うように） */
.nav-pc a,
.nav-sp a {
  color: #333;
  font-weight: bold;
  text-decoration: none;
  margin-right: 40px;
}

.nav-sp {
    display: none;
  flex-direction: column;
  background-color: #fff;
  border: 1px solid #ccc;
  position: absolute;
    top: 50px;
  right: 10px;
  width: 150px;
  z-index: 100;
}

.nav-sp a {
    padding: 10px;
  text-decoration: none;
  border-bottom: 1px solid #ccc;
}
.nav-sp.open {
  display: flex;
}

/* メインブロック：3列×2行 */
.main-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin: 40px auto;
  max-width: 1000px;
}

.link-block {
  width: 30%;
  aspect-ratio: 1 / 1;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  border-radius: 10px;
  padding: 10px;
  transition: background-color 0.3s;
  flex-direction: column;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #990000;
  color: #fff;
}

.link-block:hover {
  background-color: #550000;
}
.link-block img{
    width: 70%;
    height: auto;
    padding: 5px
}


.comment-block:hover{
  background-color: #fff !important;
  cursor: default;
}

/* コメントブロック */
.comment-block {
  background-color: #f0f0f0;
  color: #333;
  font-size: 16px;
  line-height: 1.4;
}


.calendar {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
  color: #000;
    margin-top: 10px;
}

.calendar th, .calendar td {
    background-color: #fff;
  border: 1px solid #ccc;
  width: 14.28%;
  height: 24px;
  /*height: auto; */
  text-align: center;
  padding: 2px;
}

.calendar th {
  background-color:#151F0F;
  color: #fff;
}

.event-day a {
  color: #990000;
  font-weight: bold;
  text-decoration: none;
}


.calendar td {
  vertical-align: top;
  text-align: center;
    padding: 2px;        /* 4px → 2px */
  /*line-height: 1.1;*/
}

.calendar .day-num {
  display: block;
  font-size: 12px;
  margin-top: 2px;
}


.event-day {
  text-align: center;
  vertical-align: top;
}

.event-day img.event-icon {
  width: 20px;
  /*height: auto;*/
  margin-top: 1px;
}

.event-day .day-num {
  font-weight: bold;
}


.random-image {
  max-width: 960px;
  margin: 20px auto;
  text-align: center;
}

.random-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}
.random-image {
  max-width: 960px;
  margin: 20px auto;
  text-align: center;
}

.random-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}


/* スマホ対応：縦並び */
@media (max-width: 768px) {
  .main-links {
    flex-direction: column;
    align-items: center;
  }

  .link-block {
    width: 80%;
  }

  .nav-pc {
    display: none;
  }

  .hamburger {
    display: block;
  }
    .nav-sp.open {
    display: flex;
    flex-direction: column;
  }

}
