@charset "utf-8";

/** ***************************************************************************
 * 紹介文
 * ************************************************************************* */

#lead {
  line-height: 2;
  font-weight: 400;
  text-align: center;
}

/**
 * さくらアイコン
 */

#lead .icon {
  margin-bottom: 20px;
}

#lead .icon img {
  max-width: 70px;
}

@media screen and (min-width:768px) {

  #lead .icon img {
    max-width: unset;
  }

}

/** ***************************************************************************
 * クラス内容
 * ************************************************************************* */

#main .class-contents {
  border-radius: 10px;
  background-color: rgb(var(--accentcolor-1));
  transition: padding 0.3s ease-out 1.0s;
  padding: 10px 15px;
  position: relative;
  z-index: 0;
}

#main .class-contents.active {
  transition: padding 0.4s ease-out 0.0s;
  padding: 20px 15px;
}

#main .class-contents::after {
  content: '＋';
  color: rgb(var(--accentcolor-3));
  line-height: 0;
  font-size: 1.78em;
  font-weight: 700;
  position: absolute;
  z-index: -1;
  top: 20px;
  right: 20px;
}

#main .class-contents.active::after {
  content: '−';
  right: 25px;
}

#main .class-contents div.contents {
  overflow: hidden;
  transition:
    max-height 1.0s ease-out 0.0s,
    padding 0.4s ease-in 0.6s,
    opacity 0.6s ease-out 0.0s;
  max-height: 0;
  padding: 0;
  opacity: 0;
}

#main .class-contents.active div.contents {
  transition:
    max-height 2.0s ease-in 0.0s,
    padding 0.4s ease-out 0.0s,
    opacity 0.4s ease-in 0.4s;
  max-height: 10000px;
  padding: 20px 0;
  opacity: 1;
}

@media screen and (min-width:768px) {

  #main .class-contents {
    padding: 10px 25px;
  }

  #main .class-contents.active {
    padding: 25px 25px 30px;
  }

  #main .class-contents::after {
    top: 25px;
  }

  #main .class-contents.active div.contents {
    padding: 20px 30px;
  }

}

/**
 * タイトル
 */

#main .class-contents .column-title {
  line-height: 1.5;
  font-size: 1.125em;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

#main .class-contents .column-title::before {
  content: '';
  width: 1.125em;
  height: 0.875em;
  margin-top: 0.125em;
  margin-right: 0.25em;
  background: url("../_image/_common/icon-heart-1.png") 0 0 / 100% 100% no-repeat;
  filter: brightness(0) invert(1);
}

@media screen and (min-width:768px) {

  #main .class-contents .column-title {
    font-size: 1.294em;
  }

}

/**
 * 紹介文
 */

#main .class-contents div.lead {
  color: rgb(var(--accentcolor-3));
  font-weight: 500;
}

/**
 * 詳細情報
 */

#main .class-contents div.detail {
  overflow: hidden;
  overflow-x: auto;
}

#main .class-contents div.detail table {
  width: 880px !important;
  max-width: none;
  font-size: 0.875em;
  border-collapse: collapse !important;
  border: 5px solid rgb(var(--accentcolor-5)) !important;
  border-top-width: 2px !important;
}

#main .class-contents div.detail table th {
  border: none !important;
  border: 1px solid #fff !important;
  background-color: rgb(var(--accentcolor-5)) !important;
}

#main .class-contents div.detail table td {
  border: none !important;
  border: 1px solid rgb(var(--accentcolor-5)) !important;
  background-color: #fff !important;
}

#main .class-contents div.detail table strong {
  font-weight: 600;
}

/**
 * 日程表はこちら
 */

#main .class-contents div.button {
  text-align: center;
}

/**
 * 注釈
 */

#main .class-contents div.memo {
  margin-top: 30px;
  font-weight: 400;
}

/**
 * 閉じるボタン
 */

#main .class-contents div.close {
  text-align: center;
}

#main .class-contents div.close a {
  padding: 0.375em 2em 0.5em 2em;
  color: rgb(var(--accentcolor-3));
  line-height: 1.5;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid;
  border-radius: 9999px;
  background-color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.3s ease-in-out 0.0s;
  border-color: rgb(var(--accentcolor-1));
}

#main .class-contents div.close a:hover {
  border-color: rgb(var(--accentcolor-3));
}
