@charset "UTF-8";
/* CSS Document */


* {
  margin: 0 auto;
  padding: 0;
}

    body {
      margin: 0 aoto;
      font-family: sans-serif;
      background-color: #f5f5f5;
      color: #333;
      line-height: 1.6;
      max-width: 800px;
    }

    header {
      background-color: #fff;
      padding: 20px;

      text-align: center;
    }

    header p {background-color: peachpuff;
      font-size: 1.1rem;

    }

     footer {
      background-color: #fff;
      padding: 10px 40px 20px 40px;
      text-align: center;
    }


    header img {
      max-width: 240px;
      margin-bottom: 10px;
    }

    main {
      max-width: 800px;
      margin: 40px auto;
      padding: 0 16px;
    }

.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.is-active {
  opacity: 1;
  transform: translateY(0);
}



@media screen and (max-width: 800px) {
  .targets {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media screen and (max-width: 650px) {
  html {
    font-size: 14px;
  }
  .targets {
    grid-template-columns: repeat(2, 1fr);
  }
}


    h2 {
      width: 100%;
      height: 100px;;
      font-size: 2rem;
      text-align: center;
      margin-bottom: 20px;
      padding-left: 15px;;
      padding-top: 10px;
      background-image: url(../img/calendar.png);
      background-repeat: no-repeat;
      background-position: left;
      background-size: 100px;
      background-position: bottom 3px left 15px;
    }
 

    h3 {
        width: 100%;
        margin: 0;
        padding: 20px;
        font-size: 1.8rem;
        font-weight: bold;

    }


    /* ソートUI */
    .sort-controls {
      text-align: right;
      margin-bottom: 20px;
    }

    /* セミナーカード */
    /* article全体 */
article.seminar {
  display: flex;
  padding: 0;
  border: 3px solid #333;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  max-width:680px;
  margin: 0 0 24px 0;
  box-shadow: #999 3px 3px 3px;
}

/* 左：日付 */
.seminar-date {
  width: 20％;
  background: #7cc3e8;
  align-items: center;
  text-align: center;
  padding: 18px 10px;
  box-sizing: border-box;
}

.seminar-date .month {
margin: auto 0;
  font-size: 1.4rem;
  display: block;
}

.seminar-date .day {
  font-size: 2rem;
  font-weight: bold;
  line-height: 1.2;
  display: block;
}

.seminar-date .weekday {
  font-size: 1.4rem;
}

/* 右：本文 */
.seminar-body {
  flex: 1.5;

}

.seminar-header .Venue {
    margin: 0;
    padding: 0;
  border: 1px solid #333;
}

.seminar-title {
  font-size: 1.8rem;
  margin: 7px 0;
}

.Venue-sub{
  font-size: 1.4rem;;
}

/* footer（CTA） */
.seminar-footer {
  display: flex;
  align-items: center;
  gap: 8px;
}

p.apply-text {
  margin: 0;
  padding: 0;
    font-size: 1.1rem;
    font-weight: bold;
    line-height:1.2;
    align-items: baseline;
    
}


.apply-button {
  width: 100%;
  background: #f25c2a;
  padding: 12px 10px;
  border-radius: 16px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.2rem;
  box-shadow: 0 3px 2px #a0ccf9;
  transition: all 0.2s;

}

a.apply-button  {
  text-decoration: none;
  color: #FFF;
  text-shadow: 0 1px 0 rgba(0,0,0,0.2);
}


.bapply-button :active {
  transform: scale(0.95); /* クリックで沈む 少し小さく */
  box-shadow: 0 1px 0 #a0ccf9;
  text-shadow: none;
}





.arrow {

position: relative;

padding-right: 15px;

color: #333;

text-decoration: none;

}

.arrow::after {
  content: '';
  display: inline-block;
  width: 40px;
  height: 25px;
  background: #f25c2a;
  position: relative; /* 矢印の位置の指定 */
  right: 0; /* 矢印の位置の指定 */
  top: 8px;
  clip-path: polygon(0 31%, 63.2% 31%, 63.2% 0, 100% 50%, 63.2% 100%, 63.2% 69%, 0 69%);
}


.Reserve-closed {
position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6); /* 黒の60%透明 */
  color: white;
  display: flex;
  justify-content: center; /* 横方向中央 */
  align-items: center; /* 縦方向中央 */
  text-align: center;
  font-size: 1.5rem;
  font-weight: bold;
  z-index: 10; /* 画像より上に表示 */
}



    /* ステータス表示 */
    .status {
      display: inline-block;
      margin-top: 10px;
      padding: 4px 10px;
      font-size: 0.85em;
      border-radius: 3px;
      color: #fff;
    }

    .status-few {
      background-color: #e6a800;
    }

    .status-full,
    .status-closed {
      background-color: #999;
    }

    /* 予約リンク */
    .reserve-link a {
      display: inline-block;
      margin-top: 10px;
      padding: 10px 16px;
      background-color: #0066cc;
      color: #fff;
      text-decoration: none;
      border-radius: 4px;
    }

    .reserve-link a:hover {
      background-color: #004f99;
    }

    /* 予約不可状態 */
    article[data-status="full"],
    article[data-status="closed"] {
      background-color: #eee;
      color: #777;
    }

    article[data-status="full"] .reserve-link,
    article[data-status="closed"] .reserve-link {
      display: none;
    }

    /* イベント0件表示 */
    .no-seminar {
      background-color: #fff;
      padding: 30px;
      text-align: center;
      border-radius: 6px;
    }

    footer ul, li{
      list-style: none;
      font-size: 1.1rem,;
    }
    footer p {
      font-size: 0.9em;
      margin: 8px 0;
    }
