@charset "utf-8";
*, ::before, ::after {
  box-sizing: border-box;
  border-style: solid;
  border-width: 0;
}
p, table, blockquote, address, pre, iframe, form, figure, dl {
  margin: 0;
}
img{
  max-width: 100%;
}
a{
  color: #01554c;
}
a:hover{
  opacity: 0.6;
  text-decoration: none;
  transition : 0.3s;/*ふわっとさせる指定*/
}
.red{
  color: #f24235;
}
.f120{
  font-size: 1.25em;
}
.f150{
  font-size: 1.45em;
}
button, input, optgroup, select, textarea {
  -webkit-appearance: none;
  appearance: none;
  vertical-align: middle;
  color: inherit;
  font: inherit;
  background: transparent;
  padding: 0;
  margin: 0;
  outline: 0;
  border-radius: 0;
  text-align: inherit;
}
body {
  color: #242424;
  background-image: url(../img/bg.jpg);
  background-color: #f6f8fe;
  background-attachment: fixed;
  background-position: center bottom;
  background-size: cover;
  background-repeat: no-repeat;
  margin: 0px;
  padding: 0px;
  font-size: 18px;
  line-height: 2;
  font-family: 'ヒラギノ角ゴ Pro W3', 'Hiragino Kaku Gothic Pro','メイリオ', 'Meiryo', '游ゴシック', 'Yu Gothic', 'MS Pゴシック', 'MS PGothic', sans-serif;
  font-feature-settings: "palt";
}
.text{
  font-size: 1em;
  text-align: justify;
  width: 90%;
  margin: 0 auto;
  line-height: 1.8;
  padding: 1.5em 0;
}
.text img{
  margin-bottom: 1.5em;
}

footer {
  width: 100%;
  margin: 0 auto;
  font-size: 85%;
  text-align: center;
  padding-top: 20px;
  padding-bottom: 15px;
  color: #fff;
  position: relative;
  background-color: #00364F;
  font-size: 90%;
}
footer a {
  color: #fff;
  margin: 10px 0;
}
#container {
  max-width: 750px;
  background-color: #fff;
  border-left: 1px solid #ccc;
  border-right: 1px solid #ccc;
  text-align: center;
  margin: 0 auto;
  overflow: hidden;
}

.countdown {
  background-color: #00364F;
  padding: 1rem 0 2rem;
}
.countdown p {
  color: #ffde2f;
  font-size: 28px;
  font-weight: bold;
}
.white {
  color: #ea4b4b;
  font-size: 2.5rem;
  font-weight: bold;
  margin: 10px;
  letter-spacing: 0.06rem;
}
.form {
  display: block;
  background-color: #f3f3f3;
  padding: 20px 50px 40px;
}
.form input {
  font-size: 150%;
  background-color: #fff;
  border-radius: 5px;
  border: solid 2px #ea4b4b;
  height: 70px;
  width: 100%;
  margin: 10px 0 20px;
  text-align: center;
}
a.btn_action{
  transition: all 0.3s;/*0.3秒で変化する*/
  background-size: contain;
}
.form .btn {
    background: url(../img/btn.png) center top no-repeat;
    width: 100%;
    height: 252px;
    border: none;
    transition: all 0.3s;/*0.3秒で変化する*/
    background-size: contain;
}
.form .btn:hover, a.btn_action:hover {
  opacity: 0.9;
  position: relative;
  top: 3px;
  filter: drop-shadow(5px 5px 5px #aaa);
}
.countdown-container {
  font-size: 2rem;
color: #00364f;
background-color: #f8f8f8;
border: 2px solid #cccccc;
font-weight: bold;
padding: 0.8rem;
text-align: center;
width: 70%;
margin: auto;
border-radius: 6px;
}

.tokuten {
  border: 10px solid;
  border-image: linear-gradient(to bottom, #bb02ad, #ff6f35) 1;
}
.btn_bg{
  background-color: #eeeeee;
    padding: 3em 0;
}
.video_wrapper{
  width: 95%;
  margin: 0 auto;
  margin-bottom: 2em;
}
.video {
  position: relative;
  padding-bottom: 56.25%; /*アスペクト比 16:9の場合の縦幅*/
  height: 0;
  overflow: hidden;
}

.video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
/* 開催情報 */


.event-info {
  position: relative;
  background-color: #333b45;
  background-image: url(../img/kaisai_bg.jpg);
  background-repeat: no-repeat;
  background-position: center;
  border-radius: 10px;
  margin: 10px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

#schedule .event-info{
  padding-bottom: 3rem;
}

.event-header {
  position: absolute;
  top: -20px; /* ボックスの上に移動 */
  left: 50%;
  transform: translateX(-50%);
  background-color: #d02f36;
  color: white;
  text-align: center;
  padding: 18px;
  border-radius: 50rem;
  width: 80%; /* 背景の幅をボックスの8割に設定 */
  max-width: 500px; /* 必要に応じて最大幅を設定 */
  z-index: 1; /* 他のコンテンツの上に表示 */
}
.event-header p{
  font-size: 2rem;
  font-weight: bold;
  padding: 0;
  line-height: 1;
}
.event-details-box, .event-content-box {
  background-color: #f9f9f9;
  border-radius: 10px;
  padding: 3rem;
  box-shadow: 3px 3px 18px rgba(0, 0, 0, 0.25);
}
.event-time{
  position: relative;
  top: 5px;
}
.event-time p {
  text-align: center;
  font-size: 2.2rem;
  margin: 5px 0;
  line-height: 1.5;
  font-weight: bold;
}

.event-time p.note {
  text-align: center;
  font-size: 1rem;
  color: #666;
  margin-top: 10px;
}

.event-details {
  display: flex;
  flex-direction: column;
}

.detail-item {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.detail-label {
  background-color: #333;
  color: white;
  padding: 10px;
  border-radius: 5px;
  font-weight: bold;
  margin-right: 10px;
  width: 120px;
  text-align: center;
}

.detail-content {
  color: #333;
  font-size: 24px;
  flex: 1;
  text-align: left;
  font-weight: bold;
  padding-left: 0.5em;
}
.event-image{
  margin:1em 0;
}
.event-description {
  font-size: 14px;
  color: #333;
  margin-bottom: 20px;
  text-align: left;
  text-indent: -1em;
  padding-left: 1em;
  line-height: 1.6;
}
.yotei{
  position: relative;
  top: 20px;
}
.yotei .event-header{
  top: -30px;
}
.schedule-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 2列レイアウト */
  gap: 20px; /* ボックス間のスペース */
}

.schedule-item {
  background-color: white;
  border-radius: 10px;
  box-shadow: 3px 3px 18px rgba(0, 0, 0, 0.25);
  padding: 20px;
  text-align: center;
}

.schedule-date {
  font-weight: bold;
  color: #2c7d6b;
  margin-bottom: 10px;
  position: relative;
  display: inline-block;

}
.schedule-item p {
  font-size: 1.2em;
}
.event-time p.schedule-date{
  font-size: 1.7em;
  margin-bottom: 0.5em;
}
.schedule-date::after {
  content: "";
  display: block;
  width: 40px; /* 下線の幅を40pxに設定 */
  border-bottom: 2px solid #2c7d6b; /* 下線の色と太さ */
  margin: 0 auto; /* 下線を中央揃え */
  position: relative;
  top: 5px; /* 下線の位置を調整 */
}

.schedule-time {
  font-size: 16px;
  color: #333;
  margin: 5px 0;
}
/* FAQ */
.faq-item {
  background-color: white;
  border-radius: 1rem;
  box-shadow: 3px 3px 18px rgba(0, 0, 0, 0.25);
  margin: 20px;
  padding: 30px 20px 10px;
}

.question, .answer {
  display: flex;
  align-items: stretch;
  margin-bottom: 15px;
  text-align: left;
  gap: 5px;
}

.q-label, .a-label {
  width: 28px;
  height: 28px;
  background-size: cover;
  background-repeat: no-repeat;
  margin-right: 10px;
  flex-shrink: 0;
  position: relative;
  top: 3px;
  line-height: 1.5;
}
.q-label {
  background-image: url('../img/q.png'); /* Qの画像パスに変更 */
  top: 5px;
}

.a-label {
  background-image: url('../img/a.png'); /* Qの画像パスに変更 */
}

.q-text, .a-text {
  font-size: 16px;
  color: #333;
}

.q-text {
  font-weight: bold;
  font-size: 1.15em;
}

.answer {
  padding-top: 15px;
  position: relative;
}

.answer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 42px;
  width: calc(100% - 42px);
  height: 1px;
  background-color: #ddd;
}
.video-wrapper {
  position: relative;
  width: 93%;
  margin: 1em auto 0;
  padding-top: 56.25%;
  height: 0;
  overflow: hidden;
}
.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.chatwork-link{
  position: relative;
}
.chatwork-link a{
  position: absolute;
  top: 80%;
  left: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  width: 60%;
  font-size: 12px;
}
@media screen and (max-width:768px) {
.event-info {
  margin: 10px;
  padding: 1rem;
}
.event-details-box, .event-content-box {
  padding: 3rem 2rem 2rem;
}
.event-header {
  width: 86%;
  max-width: 100%;
}
.event-header p {
  font-size: 1.5rem;
}
.event-time p {
  font-size: 1.4rem;
}
.schedule-item p {
  font-size: 15px;
  font-weight: normal;
}
.detail-label {
  width: 80px;
  line-height: 1.5;
  font-size: 14px;
}
.detail-content {
  font-size: 18px;
  line-height: 1.5;
}
.schedule-container {
  grid-template-columns: 1fr; /* スマホでは1列レイアウトに変更 */
  gap: 10px; /* スペースを狭くする */
  padding: 10px; /* はみ出さないようにパディングを調整 */
}
.event-time p.schedule-date {
  font-size: 1.3em;
}
footer{
  font-size: 12px;
}
.video-wrapper {
  width: 100%;
}
}

/* =====================
   講師紹介セクション
   ===================== */
#speaker {
  padding: 0 0 40px;
  background-color: #fff;
}

.speaker-slider-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 50px;
  margin: 20px 0;
}

.speaker-slider {
  width: 100%;
  max-width: 600px;
  overflow: hidden;
}

.speaker-track {
  display: flex;
  transition: transform 0.4s ease-in-out;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
}

.speaker-track:active {
  cursor: grabbing;
}

.speaker-card {
  min-width: 100%;
  padding: 10px 15px;
  box-sizing: border-box;
}

.speaker-photo {
  width: 120px;
  height: 120px;
  margin: 0 auto 10px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #305790;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
}

.speaker-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.speaker-info {
  padding: 0;
  margin: 0;
}

.speaker-name {
  font-size: 1.2em;
  font-weight: bold;
  color: #305790;
  text-align: center;
  margin-bottom: 8px;
  padding-bottom: 6px;
  border-bottom: 2px solid #305790;
}

.speaker-details {
  text-align: left;
  font-size: 12px;
  line-height: 1.5;
}

.speaker-details dt {
  font-weight: bold;
  color: #333;
  margin-top: 8px;
  padding: 3px 8px;
  background-color: #e8eef5;
  border-radius: 4px;
  display: inline-block;
  font-size: 11px;
}

.speaker-details dd {
  margin: 4px 0 0 0;
  padding-left: 3px;
  color: #555;
}

/* 経歴（見出しなし） */
.speaker-career {
  margin: 0 0 8px 0;
  padding: 0;
  color: #555;
  font-size: 12px;
  line-height: 1.5;
}

/* 趣味・通称の２カラム */
.speaker-two-col {
  display: flex;
  gap: 10px;
  margin-top: 8px;
}

.speaker-two-col .col-item {
  flex: 1;
}

.speaker-two-col dt {
  margin-top: 0;
}

.speaker-two-col dd {
  margin-top: 4px;
}

/* スライダーボタン */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 45px;
  height: 45px;
  background-color: #305790;
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slider-btn:hover {
  background-color: #234170;
  transform: translateY(-50%) scale(1.1);
}

.prev-btn {
  left: 5px;
}

.next-btn {
  right: 5px;
}

/* スライダードット */
.slider-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.slider-dot {
  width: 12px;
  height: 12px;
  background-color: #ccc;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
}

.slider-dot.active {
  background-color: #305790;
  transform: scale(1.2);
}

.slider-dot:hover {
  background-color: #305790;
}

/* レスポンシブ対応 */
@media screen and (max-width: 768px) {
  .speaker-slider-container {
    padding: 0 35px;
  }

  .speaker-photo {
    width: 100px;
    height: 100px;
  }

  .speaker-name {
    font-size: 1.1em;
    margin-bottom: 6px;
    padding-bottom: 4px;
  }

  .speaker-details {
    font-size: 11px;
  }

  .speaker-details dt {
    font-size: 10px;
    padding: 2px 6px;
    margin-top: 6px;
  }

  .speaker-details dd {
    margin-top: 3px;
  }

  .speaker-career {
    font-size: 11px;
  }

  .speaker-two-col {
    gap: 8px;
    margin-top: 6px;
  }

  .slider-btn {
    width: 30px;
    height: 30px;
    font-size: 14px;
  }

  .prev-btn {
    left: 2px;
  }

  .next-btn {
    right: 2px;
  }

  .slider-dot {
    width: 8px;
    height: 8px;
  }
}
