@media only screen and (min-width: 641px) {
  .container {
    min-width: 960px;
  }
}

a, a:link, a:active, a:visited {
  color: #8e62a9;
}

#bgv img {
  width: 100%;
  position: absolute;
  z-index: -2;
}

@media only screen and (max-width: 640px) {
  header .news {
    margin-top: 0;
  }
}
.video {
  width: 80%;
  margin: 0 auto;
  padding: 40px 0;
  box-sizing: border-box;
}
.video h3 {
  font-size: 1.45em;
  padding-bottom: 16px;
}
.video ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: left;
}
.video li {
  width: 30%;
  margin: 1%;
}
.video li:nth-child(3n+1) {
  margin-left: 0;
}
@media only screen and (max-width: 640px) {
  .video li {
    width: 49%;
  }
  .video li:nth-child(n+1) {
    margin-left: 0;
  }
}
.video li > div {
  position: relative;
  padding-top: 56.25%;
}
.video li > div iframe {
  position: absolute;
  top: 0;
  right: 0;
  width: 100% !important;
  height: 100% !important;
}
@media only screen and (max-width: 640px) {
  .video {
    width: 100%;
  }
}

#di {
  width: 100%;
  padding-bottom: 32px;
  color: #2699ac;
  position: relative;
}
#di section.du-head article {
  padding-top: 32px;
}
#di section.du-head .head-img {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
#di section.du-head .head-img > span {
  width: 60%;
}
#di section.du-head .head-img > span + span {
  width: 35%;
  text-align: center;
}
#di section.du-head .head-img > span + span img {
  width: 100%;
}
@media only screen and (max-width: 640px) {
  #di section.du-head .head-img > span {
    width: 100%;
  }
  #di section.du-head .head-img > span + span {
    width: 60%;
    display: block;
    margin: 24px auto 0;
  }
}
#di section.du-body article:before {
  content: "";
  width: 80%;
  height: 1px;
  margin: 0 auto;
  display: block;
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  background: #f5464a;
  /* Old browsers */
  background: -moz-linear-gradient(left, #ff7244 0%, #ff9f40 75%);
  /* FF3.6-15 */
  background: -webkit-linear-gradient(left, #ff7244 0%, #ff9f40 75%);
  /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(to right, #ff7244 0%, #ff9f40 75%);
  /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ff9f41', endColorstr='#ff7244',GradientType=1 );
  /* IE6-9 */
}
@media only screen and (max-width: 640px) {
  #di section.du-body article:before {
    width: 100%;
  }
}
#di article {
  padding: 80px;
  background: rgba(255, 255, 255, 0.98);
  position: relative;
}
#di article.wrap {
  max-width: 1280px;
  box-sizing: border-box;
}
#di article > * {
  width: 80%;
  margin: 0 auto;
  color: #5a5450;
}
@media only screen and (max-width: 640px) {
  #di article > * {
    width: 100%;
  }
}
#di article > *.fv {
  padding-bottom: 64px;
}
#di article > *.fv > div {
  width: 100%;
  height: 0;
  position: relative;
  padding-top: 56.25%;
  overflow: hidden;
}
#di article > *.fv > div iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
}
#di article > p {
  line-height: 2;
  letter-spacing: 0.03em;
}
#di article > p:not(.next), #di article > figure {
  padding-bottom: 64px;
}
#di article > p:last-child {
  padding-bottom: 0;
}
#di article > dl {
  display: flex;
  justify-content: left;
  flex-wrap: wrap;
  background: #2699ac;
}
#di article > dl dt, #di article > dl dd {
  padding: 16px;
  box-sizing: border-box;
}
#di article > dl dt {
  width: 17%;
  text-align: center;
}
#di article > dl dd {
  width: 83%;
}
#di article h2 {
  font-size: 1.75em;
  text-align: left;
  line-height: 1.15;
  padding-left: 12px;
  margin: 0 auto 24px;
  position: relative;
  box-sizing: border-box;
}
#di article h2:before {
  content: "";
  width: 8px;
  height: 100%;
  display: inline-block;
  position: absolute;
  left: 0;
  top: 0;
  background: #f5464a;
  /* Old browsers */
  background: -moz-linear-gradient(top, #ff7244 0%, #ff9f40 75%);
  /* FF3.6-15 */
  background: -webkit-linear-gradient(top, #ff7244 0%, #ff9f40 75%);
  /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(to top, #ff7244 0%, #ff9f40 75%);
  /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ff9f41', endColorstr='#ff7244',GradientType=1 );
  /* IE6-9 */
}
@media only screen and (max-width: 640px) {
  #di article h2 {
    width: 100%;
  }
}
@media only screen and (max-width: 640px) {
  #di article {
    padding: 40px 10px;
  }
}
#di h1 {
  text-align: center;
  padding-bottom: 5%;
}
#di h1 img {
  width: 100%;
  max-width: 896px;
}
#di.error h1, #di.error p {
  color: #D71D20;
}
#di p > .name {
  display: block;
  font-weight: bold;
  padding: 40px 0 0;
  line-height: 2;
}
#di p > .name.q {
  padding-bottom: 40px;
  font-size: 1.25em;
  padding-left: 1.15em;
  line-height: 1;
  position: relative;
}
#di p > .name.q:before {
  content: "";
  width: 0.9em;
  height: 1.2em;
  background: url(../img/icon-g.svg) 0px 0 no-repeat;
  background-size: contain;
  position: absolute;
  left: 0;
  top: -2px;
}
#di p > .name.q + .name {
  padding-top: 0;
}
#di p > .name.orange {
  color: #ff7244;
}
#di p > .name.green {
  color: #2699ac;
}
#di p > .name:first-child {
  padding-top: 0;
  margin-top: 48px;
}
#di .col2 {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
#di .col2 > * {
  margin: 1% 0;
}
@media only screen and (max-width: 640px) {
  #di .col2 > * {
    width: 49%;
  }
}
#di strong {
  font-weight: bold;
}
#di .figure, #di figure {
  padding-bottom: 40px;
}
#di .figure {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  margin-bottom: 40px;
  box-sizing: border-box;
}
@media only screen and (min-width: 641px) {
  #di .figure {
    border: solid 1px #ff7244;
    padding: 40px 24px;
  }
}
#di .figure p {
  width: 100%;
  line-height: 2;
  padding-bottom: 32px;
}
#di .figure span.name {
  margin-top: 0;
  padding-bottom: 24px;
}
#di .figure figure {
  padding-bottom: 24px;
}
#di figure {
  padding: 0 0 64px;
  text-align: center;
}
#di figure img {
  width: 100%;
}
#di figure figcaption {
  color: #2699ac;
  font-size: 1.65em;
  line-height: 1.25;
  padding-bottom: 24px;
  letter-spacing: 0.03em;
  font-weight: 500;
}
@media only screen and (max-width: 640px) {
  #di figure figcaption {
    text-align: left;
    font-size: 1.25em;
  }
}
#di figure p {
  text-align: left;
  padding-bottom: 40px;
}
#di figure p span.name.q {
  padding-bottom: 0;
}
#di figure img + figcaption {
  font-size: 1em;
  padding-top: 24px;
}
#di figure + p > .name:first-child {
  margin-top: 0;
}
#di .next {
  margin-top: 64px;
}
#di .next span {
  display: block;
  padding: 24px;
}
#di .du-archive {
  margin-top: 64px;
  text-align: center;
}
#di .du-archive > .wrap {
  padding-bottom: 64px;
}
#di .du-archive li {
  margin-top: 16px;
  font-size: 1.25em;
}
#di .du-archive a {
  padding: 8px;
  display: block;
  color: #FFF;
  text-decoration: none;
  background: rgba(142, 98, 189, 0.85);
  border: solid 1px #8e62a9;
}
#di .du-form {
  margin: 80px 0;
}
#di .du-form a {
  display: block;
  width: 80%;
  padding: 16px;
  margin: 0 auto 32px;
  color: #FFF;
  font-size: 2em;
  text-align: center;
  box-sizing: border-box;
  text-decoration: none;
}
@media only screen and (max-width: 640px) {
  #di .du-form a {
    width: 100%;
    dont-size: 1.25em;
  }
}
@media only screen and (max-width: 640px) {
  #di figcaption, #di h2, #di span.name {
    font-size: 1em !important;
  }
}

footer .credit p > * {
  margin-right: 0;
}

.lower {
  height: 100vh;
}
.lower section {
  height: 100%;
  box-sizing: border-box;
  padding-top: 80px;
}
@media only screen and (max-width: 640px) {
  .lower section {
    padding-top: 5vh;
  }
}
.lower article {
  text-align: center;
}
.lower h1 {
  font-size: 2em;
  padding-bottom: 40px;
  line-height: 1.45;
}
.lower article p {
  text-align: left;
  line-height: 2;
  letter-spacing: 0.03em;
}
.lower footer.wrap {
  padding-top: 0 !important;
}
.lower footer div {
  padding-top: 92px;
  background: rgba(255, 255, 255, 0.98);
}
.lower footer img {
  width: 48px;
}

.button {
  padding: 8px 16px;
  color: #f9f7e9 !important;
  text-align: center;
  text-decoration: none;
  display: inline-block;
}

.term {
  margin: 24px 0;
}
.term p, .term > div {
  height: 60vh;
  overflow-y: scroll;
}

strong {
  color: #ff7244;
}

table {
  margin-top: 24px;
  border: solid 1px #fd854b;
  color: #825e40 !important;
}
table tr, table th {
  background: #ece3c2;
}
table tr:nth-child(odd) {
  background: #fffadf;
}
table tr.trt {
  border-top: solid 1px #fd854b;
}
table th {
  border-right: solid 1px #fd854b;
}
table th, table td {
  padding: 0 1em;
  text-align: center;
  vertical-align: middle;
}
table td.online {
  background: #ffbb74;
}

.form {
  width: 100%;
  max-width: 728px;
  margin: 40px auto 0;
  text-align: center;
}
.form form {
  padding: 24px;
}
.form form input[type="email"] {
  width: 90%;
}
.form .g-recaptcha {
  margin: 40px 0;
}
.form .g-recaptcha > div {
  margin: 0 auto;
}
.form .term {
  background: #efefef;
  padding: 32px 0;
}
.form .term p {
  height: 240px;
}
.form p {
  font-weight: bold;
}
.form p span {
  color: #ff7244;
  font-size: 0.75em;
  vertical-align: top;
}
.form ul {
  text-align: left;
}
.form ul li {
  margin: 40px 0;
}
.form ul > * {
  display: flex;
  justify-content: left;
}
.form ul p {
  width: 40%;
}
.form ul p + * {
  width: 60%;
}
@media only screen and (max-width: 640px) {
  .form ul > * {
    display: block;
  }
  .form ul p {
    width: 100%;
    padding-bottom: 16px;
  }
  .form ul p + * {
    width: 100%;
  }
}
.form .formtearms {
  padding: 24px;
  background: #f3f3f3;
  text-align: left;
}
.form .formtearms p {
  padding-bottom: 24px;
}
.form .formtearms > div {
  padding-top: 32px;
  text-align: center;
}
.form .formtearms label {
  font-weight: bold;
}
.form #submitbtn {
  border: none;
  width: 70%;
  padding: 12px;
  font-size: 1.25em;
  cursor: pointer;
}
.form #submitbtn[disabled='true'] {
  opacity: 0.5;
  cursor: default;
}

.sch ~ div {
  height: 0;
  overflow: hidden;
}

.sch {
  display: none;
}

.sch:checked ~ div {
  height: auto;
}

.schedule li + li, .detail li + li {
  margin-top: 24px;
}
.schedule dl, .detail dl {
  width: 100%;
  padding-left: 2em;
  display: flex;
  justify-content: left;
  flex-wrap: wrap;
  box-sizing: border-box;
}
.schedule dl dt, .schedule dl dd, .detail dl dt, .detail dl dd {
  margin: 16px 0;
}
.schedule dl dt, .detail dl dt {
  width: 20%;
  font-weight: bold;
}
.schedule dl dd, .detail dl dd {
  width: 70%;
}
@media only screen and (max-width: 640px) {
  .schedule dl, .detail dl {
    display: block;
  }
  .schedule dl dt, .detail dl dt {
    margin: 16px 0 0 0;
  }
  .schedule dl dd, .detail dl dd {
    margin: 0 0 16px 0;
  }
  .schedule dl dt, .schedule dl dd, .detail dl dt, .detail dl dd {
    width: 100%;
    line-height: 1.8;
  }
}
.schedule label, .detail label {
  cursor: pointer;
}
.schedule h3, .detail h3 {
  margin-bottom: 16px;
  background: #2699ac;
  color: #f9f7e9;
  padding: 6px 6px 6px 12px;
  position: relative;
  /*
  &:before {
  	content: "";
  	width: 6px;
  	height: 6px;
  	border-bottom: 3px solid $textWhite; 
  	border-right: 3px solid $textWhite;
  	transform: rotate(45deg);
  	position: absolute;
  	top: 0;bottom:0;right:16px; 
  	margin: auto 0;
  }
  */
}

.dbq .name.q + span {
  border: solid 1px #5a5450;
  display: block;
  box-sizing: border-box;
  padding: 16px;
}

.link li {
  border: solid 1px #f9f7e9;
  padding: 16px;
  font-weight: 200;
  color: #f9f7e9 !important;
}

input[type="email"] {
  border: solid 1px #ccc;
  padding: 10px;
  border-radius: 6px;
  outline: none;
}

a.disable {
  cursor: default;
  opacity: 0.4;
}

#submitbtn.submit + .posting {
  opacity: 1;
}

.posting {
  display: block;
  opacity: 0;
  text-align: center;
  color: #ff7244;
}

.posting + p {
  font-size: 0.85em;
  font-weight: 400;
}

.posting + p img {
  max-width: 460px;
  width: 100%;
}

#cbtterm strong {
  font-weight: bold;
  color: inherit;
}
#cbtterm ul {
  list-style: circle;
  list-style-position: inside;
}
#cbtterm ul li {
  padding-left: 1em;
}
