/* ベース設定 */
html {
  margin: 0;
  padding: 0;
  height: auto;
}

body {
  margin: 0;
  padding: 0;
  font-family: "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, sans-serif;
  background-color: #fff;
  background: url("../img/bg_mv01.png") no-repeat top left / cover;
  background-position: 0px 100px ;
  color: #333;
  height: 100%;
}

header {
  background-color: #fff;
  margin: 0px 0px 30px;
  font-size: 26px;
  font-weight: bold;
  color: #E4011E;
}

.header-line{
  background:url("../img/pic_line01.png");
  height: 5px;
  width: auto;
}

header div img{
  margin: 15px 30px 0px;
  height: 32px;
}

.wrapper {
  width: auto;
  padding: 5%;
  max-width: 80%;
  margin: auto;
  margin-bottom: 40px;
  padding-top: 20px;
  padding-bottom: 25px;
}

/* お知らせ通知 */
.notice {
  box-shadow: 0px 0px 5px 2px #ccc;
  border-radius: 6px;
  background-color: #fff;
  padding: 30px 30px;
  margin-bottom: 30px;
  line-height: 1.6;
}

.notice p {
  font-size: 17px;
  margin: 5px auto;
}

.mark {
  color: #E4011E;
}


@media screen and (min-width: 1300px) {
  /* 2カラム構成 */
  .main-content {
    display: flex;
    gap: 40px;
    align-items: flex-start;
  }
  .left-box {
    flex: 1;
  }
  .right-box {
    flex: 1;
  }
}

@media screen and (min-width: 1100px) and (max-width: 1299px) {
  /* 2カラム構成 */
  .main-content {
    display: flex;
    gap: 40px;
    align-items: flex-start;
  }
  .left-box {
    flex: 3;
  }
  .right-box {
    flex: 2;
  }
}


/* 会員の皆様 */
.left-box-child {
  background-color: #fff;
  box-shadow: 0px 0px 5px 2px #ccc;
  border-radius: 6px;
}

.info-box {
  padding: 30px 20px;
  /* height: 350.35px; */
  height: 650.34px;
  margin-bottom: 20px;
}
@media screen and (max-width: 1099px)  {
  .info-box {
    margin-bottom: 30px;
    /*height: 360px;*/
    height: 560px;
  }
}

.member-box {
  padding: 10px 20px;
  height: 180px;
  margin-bottom: 20px;
}
@media screen and (max-width: 1099px)  {
  .member-box {
    margin-bottom: 30px;
    height: 180px;
  }
}
.member-frex{
  display: flex;
}
.member-pdf {
  margin-left: 30px;
}
.member-frex div p {
  margin-top: 0;
}

.sub-box {
  padding: 10px 20px;
  height: 270px;
}
@media screen and (max-width: 1099px)  {
  .sub-box {
    margin-bottom: 30px;
    height: 270px;
  }
}

.line{
  height: 5px;
  background:url("../img/red_line.gif"), url("../img/gray_line.gif");
  background-repeat:  no-repeat, repeat-x ;
  background-position: left bottom;
  width: auto;
  margin: 3px 0px 8px;
}

.info-label {
  color: #000;
  padding: 3px 0px;
  font-size: 25px;
  font-weight: bold;
  display: inline-block;
  margin-bottom: 3px;
}

.info-heading {
  background-color: #E83418;
  color: #fff;
  font-size: 18px;
  font-weight: bold;
  padding: 5px 15px;
  margin: 20px 0px 20px;
}

@media screen and (min-width: 1300px){
  .left-box-child p {
    font-size: 15px;
    line-height: 1.9;
    margin: 0px 10px 20x;
  }
}
@media screen and (min-width: 1100px) and (max-width: 1299px) {
  .left-box-child p {
    font-size: 15px;
    line-height: 1.9;
    margin: 0px 10px 5px;
  }
}
@media screen and (max-width: 1099px) {
  .left-box-child p {
    font-size: 15px;
    line-height: 1.9;
    margin: 0px 10px 20px;
  }
}



/* NEWS セクション */
.tab {
  display: flex;
  margin: 0;
  padding: 0;
}

.tab-item {
  width: 100%;
  padding: 10px 20px;
  font-size: 15px;
  font-weight: bold;
  color: #fff;
  margin-right: 5px;
  border-top-left-radius: 6px;
  border-top-right-radius: 6px;
  background-color: #E4011E;
  box-shadow: 0px 0px 5px 2px #ccc;
}

.news-list {
  display: block;
  box-shadow: 0px 0px 5px 2px #ccc;
  border-radius: 0 0 6px 6px;
  background-color: #fff;
  padding: 20px 25px;
  overflow:auto;
  overflow-y:scroll;
}

@media screen and (min-width: 1100px) {
  .news-list {
    /* max-height: 246px; */
    max-height: 91.5px;
  }
}
@media screen and (max-width: 1099px) {
  .news-list {
    max-height: 400px;
  }
}

.news-item {
  gap: 15px;
  align-items: flex-start;
  margin-bottom: 20px;
  border-bottom: 1px solid #ccc;
  padding-bottom: 15px;
}




.news-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.news-item .date {
  font-size: 14px;
  color: #111;
  white-space: nowrap;
  flex-shrink: 0;
  margin-top: 3px;
  margin-bottom: 2px;
}

.news-item .date .news {
  padding: 0 10px;
  margin-left: 10px;
  background-color: #E4011E;
  color: #fff;
  font-size: 11px;
}

.news-item .date .kyoso {
  padding: 0 10px;
  margin-left: 10px;
  background-color: #5AA624;
  color: #fff;
  font-size: 11px;
}

.news-details {
  margin-left: 10px;
}

.news-item div:not(.date) {
  font-size: 15px;
  line-height: 1.7;
}

/* EVENT セクション */
.event-box {
  box-shadow: 0px 0px 5px 2px #ccc;
  border-radius: 6px;
  background-color: #fff;
  margin-top: 30px;
}

.event-box h4 {
  margin: 0;
  font-size: 20px;
  border-bottom: 1px solid #ccc;
  padding: 15px 20px;
}
.event-box h4 img {
  height: 30px;
  margin-right: 10px;
  vertical-align: middle;
  text-align: center;
  transform: translateY(-1px);
}

.event-list {
  padding: 20px 25px;
  overflow:auto;
  overflow-y:scroll;
}
@media screen and (min-width: 1300px) {
  .event-list {
    max-height: 444.5px;
    /*max-height: 674.5px;
    min-height: 674.5px;*/
  }
}
@media screen and (min-width: 1100px) and (max-width: 1299px)  {
  .event-list {
    max-height: 420.5px;
    /*max-height: 648.5px;
    min-height: 648.5px;*/
  }
}
@media screen and (max-width: 1099px) {
  .event-list {
    max-height: 400px;
  }
}

.event-item {
  display:flex;
  height: 100%;
  margin-bottom: 16px;
  gap: 15px;
  align-items: flex-start;
  margin-bottom: 20px;
  border-bottom: 1px solid #ccc;
  padding-bottom: 15px;
}
.event-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}


.event-details{
  width: auto;
  margin: auto 0;
}

.event-date{
  height: 65px;
  max-height: 65px;
  width: 70px;
  min-width: 70px;
  vertical-align: middle;
  text-align: center;
  box-shadow: 0px 0px 5px 1px #ccc;
  border-radius: 6px;
}

.event-year {
  display: none;
}
.event-month {
  height: 16px;
  font-size: 13px;
  background-color: #E4011E;
  color: #fff;
  border-radius: 6px 6px 0 0;
  line-height: 16px;
}
.event-day {
  height: 20px;
  font-size: 20px;
  font-weight: bold;
  margin: 10px auto 2px;
  vertical-align: middle;
  line-height: 20px;
}
.event-week {
  height: 12px;
  font-size: 11px;
  line-height: 12px;
}

footer {
  background-color: #f6f6f6;
  padding: 30px 40px;
  color: #666;
  font-size: 14px;
  position: sticky;
  top: 100vh;
  top: 100dvh;
}
footer img{
  height: 30px;
  margin-bottom: 5px;
}
footer p {
  color: #000;
}
.center{
  text-align: center;
}
.right {
  text-align: right;
}
.contact{
  border-top: 1.5px solid #ccc;
  border-bottom: 1.5px solid #ccc;
  margin: 30px 20px;
  padding-left: 20px;
}
.contact p{
  display: inline-block;
  vertical-align: middle;
}
.contact-right{
  margin-left: 30px;
  padding-left: 30px;
  border-left: 1px solid #999;
}
.blod{
  font-weight: bold;
}
.indent{
  transform: translateX(2em);
}

a {
  color: #E4011E;
  text-decoration: none;
}
a:hover{
  color : #E83418;
  font-weight: bold;
}

h3 {
  margin-block-end: 0.6em;
}