/*
Theme Name: higashihiroshima-rikuren-child
Template: higashihiroshima-rikuren
Version: 1.0
*/

.participant-table {
  border-collapse: collapse;
  font-size: 16px;
}

.participant-table th,
.participant-table td {
  padding: 10px;
  border: 1px solid #ccc;
  text-align: left;
  font-family: Yu Gothic;
}
@media screen and (max-width: 600px) {
  .participant-table {
    font-size: 14px;
  }

  .participant-table th,
  .participant-table td {
    padding: 8px;
  }
}
@media screen and (max-width: 600px) {
table.participant-table {
    margin-top: 10px;
  }
}
section.admin-event-participants {
    margin: 40px 20px;
}
h2.entry-title {
    font-family: Yu Gothic;
    font-size: 20px;
    font-style: unset;
    line-height: 0.6em;
    color: black;
}
@media screen and (max-width: 600px) {
  h2.entry-title {
    line-height: 1.2em;
    font-size: 18px;
  }
}
p.entry-title {
    font-family: Yu Gothic;
    font-size: 18px;
    font-style: unset;
    line-height: 2.6em;
    color: black;
}
@media screen and (max-width: 600px) {
  p.entry-title {
    font-size: 14px;
    line-height: 1.2em;
  }
}
.admin-link {
    margin: 20px 0;
    text-align: right;
}
.sub-container {
    margin: 20px 40px;
}
form.filter-form {
    margin: 20px 0px;
}
select.filter-form {
    border: 0.2px solid #000;
    margin: 10px 0px;
}
h2#fc-dom-1 {
    font-family: Yu Gothic;
}
/* カレンダー親ラッパー */
.wrapper {
  max-width: 100%; /* 横幅いっぱいに */
  padding: 10px;
  box-sizing: border-box;
}

/* カレンダー本体 */
@media screen and (max-width: 600px) {
  #calendar {
  max-width: 100%;
  margin: 0 auto;
  /* 高さは任意に調整 */
  min-height: 600px;
  }
}
.participation-buttons button {
    margin: 5px;
    padding: 10px 20px;
    font-size: 16px;
    background: #299602;
    border: 1px solid #2c3e50;
    color: #fff;
}
form#participate-form {
    padding: 10px 0px;
}
.event-participation-form {
    margin-top: 24px;
}
.events-links__link {
    margin: 10px 0px;
}
.events-links {
    margin-top: 24px;
    display: block; /* スマホでは縦並び */
    width: 100%;
}

a.btn-events {
    background-color: #299602;
    color: #fff;
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    display: block;
    transition: background-color 0.3s ease;
    margin-bottom: 12px; 
}
@media screen and (min-width: 900px) {
    .events-links {
        display: flex; 
        justify-content: center;
        gap: 16px;
        width: 100%;
        margin: 0 auto;
    }

    a.btn-events {
        width: auto;
        margin-bottom: 0; 
    }
}
.admin-shortcut__link {
    margin: 10px 0px;
}
.admin-shortcut {
    margin-top: 24px;
    display: block; /* スマホでは縦並び */
    width: 100%;
}
@media screen and (min-width: 900px) {
    .admin-shortcut {
        display: flex; 
        justify-content: center;
        gap: 16px;
        width: 100%;
        margin: 0 auto;
    }
}
/*====================
calender
====================*/
section.tab-section  {
  display: flex;
  margin: 20px 0px;
}
@media screen and (min-width: 992px) {
  section.tab-section  {
  margin: 40px 0px;
  }
}
section.calendar-section  {
  display: flex;
  margin-top: 20px 0px;
}
@media screen and (min-width: 992px) {
  section.calendar-section  {
  margin: 40px 0px;
  }
}

/* カレンダーが右にはみ出さないためのスタイル */
  #calendar {
    min-width: 100%;
    min-height: 400px;
  }
  @media screen and (min-width: 992px) {
  #calendar {
    min-width: 600px; /* 必要に応じて調整 */
    width: 100%;
    box-sizing: border-box;
  }
}
section.calendar-section {
  width: 100%;
  overflow-x: auto;
  padding: 0 10px;
  box-sizing: border-box;
}
/* モバイルで崩れを防ぐ */
@media screen and (max-width: 600px) {
  .fc-toolbar-title {
    font-size: 1rem;
  }

  .fc .fc-toolbar.fc-header-toolbar {
    flex-direction: column;
    gap: 0.5rem;
  }
}
.button-links {
    background-color: #299602;
    color: #fff;
    border-radius: 6px;
    text-decoration: none;
    transition: background-color 0.3s ease;
    display: flex;
    justify-content: center;
    gap: 16px;
    width: 100%;
    margin: 20px auto;
}
h2.entry-title__mylist {
    font-family: Yu Gothic;
    font-size: 20px;
    font-style: unset;
    line-height: 0.6em;
    color: black;
    margin: 20px;
}
article.judge-news-single.wrapper {
    margin: 80px auto 20px;
}
h3.judge-news-title {
    display: flex;
    padding: 10px auto;
    font-size: 16px;
    font-family: 'Yu Gothic';
    font-weight: 500;
    line-height: 1.5;
    font-style: normal;
    letter-spacing: 0.04em;
    text-align: justify;
}
@media screen and (min-width: 992px) {
  h3.judge-news-title  {
  font-size: 28px;
  }
}
.judge-news-content {
    display: flex;
    padding: 10px auto;
    font-size: 14px;
    font-family: 'Yu Gothic';
    font-weight: 500;
    line-height: 1.5;
    font-style: normal;
    letter-spacing: 0.04em;
    text-align: justify;
}
@media screen and (min-width: 992px) {
  .judge-news-content  {
  font-size: 24px;
  }
}
p.event-archive {
    font-family: "Yu Gothic", "Hiragino Kaku Gothic Pro", Meiryo, sans-serif;
}
th.event-detail-title {
    font-family: "Yu Gothic", "Hiragino Kaku Gothic Pro", Meiryo, sans-serif;
}
td.event-detail-title {
    font-family: "Yu Gothic", "Hiragino Kaku Gothic Pro", Meiryo, sans-serif;
}