@-webkit-keyframes show {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes show {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@-webkit-keyframes hide {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
@keyframes hide {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
@-webkit-keyframes slideShow {
  from {
    -webkit-clip-path: inset(0 100% 0 0);
            clip-path: inset(0 100% 0 0);
  }
  to {
    -webkit-clip-path: inset(0 0 0 0);
            clip-path: inset(0 0 0 0);
  }
}
@keyframes slideShow {
  from {
    -webkit-clip-path: inset(0 100% 0 0);
            clip-path: inset(0 100% 0 0);
  }
  to {
    -webkit-clip-path: inset(0 0 0 0);
            clip-path: inset(0 0 0 0);
  }
}
@-webkit-keyframes slideHide {
  0% {
    opacity: 1;
    -webkit-clip-path: inset(0 0 0 0);
            clip-path: inset(0 0 0 0);
  }
  100% {
    opacity: 0;
    -webkit-clip-path: inset(0 100% 0 0);
            clip-path: inset(0 100% 0 0);
  }
}
@keyframes slideHide {
  0% {
    opacity: 1;
    -webkit-clip-path: inset(0 0 0 0);
            clip-path: inset(0 0 0 0);
  }
  100% {
    opacity: 0;
    -webkit-clip-path: inset(0 100% 0 0);
            clip-path: inset(0 100% 0 0);
  }
}
@-webkit-keyframes showup {
  from {
    opacity: 0;
    -webkit-transform: translateY(1rem);
            transform: translateY(1rem);
  }
  to {
    opacity: 1;
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
}
@keyframes showup {
  from {
    opacity: 0;
    -webkit-transform: translateY(1rem);
            transform: translateY(1rem);
  }
  to {
    opacity: 1;
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
}
@-webkit-keyframes showImg {
  from {
    background-size: 120%;
  }
  to {
    background-size: 100%;
  }
}
@keyframes showImg {
  from {
    background-size: 120%;
  }
  to {
    background-size: 100%;
  }
}
@-webkit-keyframes mainBlock {
  0% {
    width: 0;
    left: 0;
  }
  50% {
    width: 100%;
    left: 0;
  }
  100% {
    width: 0;
    left: 100%;
  }
}
@keyframes mainBlock {
  0% {
    width: 0;
    left: 0;
  }
  50% {
    width: 100%;
    left: 0;
  }
  100% {
    width: 0;
    left: 100%;
  }
}
h3 {
  font-size: 1.2em;
  border-bottom: 1px dashed #231814;
  margin: 1em 0;
}
h4 {
  padding: 0 1em 0 0;
  border-left: 8px solid #231814;
  border-left: 5px double #231814;
  padding: 1px 1px 1px 0.75em;
}
table,
td,
th {
  text-align: center;
}
table {
  width: 100%;
  margin: 1em auto 2em;
  padding: 0;
  border-collapse: collapse;
  word-break: break-word;
  word-wrap: break-word;
}
table th,
table td {
  vertical-align: middle;
}
table th {
  background-color: #f9f9fc;
  border-right: 1px solid #888;
  border-top: 1px solid #888;
  padding: 0.75rem 1rem;
}
table th:last-child {
  border-right: none;
}
table tr {
  border-bottom: 1px solid #888;
}
table td {
  border-right: 1px solid #888;
  border-top: 1px solid #888;
  padding: 0.5rem 1rem;
}
table td:last-child {
  border-right: none;
}
table td.left {
  text-align: left;
}
table .color {
  color: #17a669;
}
caption {
  font-weight: bold;
  margin: 8px 0;
}
iframe {
  max-width: 100%;
  width: 100%;
  height: 960px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  margin: 1.5rem auto;
}
#top {
  height: 220px;
  text-align: left;
  -webkit-box-align: stretch;
      -ms-flex-align: stretch;
          align-items: stretch;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  background-color: #f9f9fc;
  margin-top: calc(80px + 2rem * 2);
  scroll-margin-top: calc(80px + 2rem * 2);
  padding-top: 0;
}
#top .top-body {
  width: 1200px;
  max-width: calc(100% - 10rem);
  margin: 0 auto;
  padding: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-flex: 1;
      -ms-flex-positive: 1;
          flex-grow: 1;
  -ms-flex-negative: 0;
      flex-shrink: 0;
}
#top .top-body .title {
  color: #17a669;
  font-weight: bold;
  font-size: 1.8em;
  -webkit-animation: showup 0.4s cubic-bezier(0.74, 0.06, 0.4, 0.92);
          animation: showup 0.4s cubic-bezier(0.74, 0.06, 0.4, 0.92);
}
#main {
  opacity: 0;
  -webkit-animation: showup 0.4s cubic-bezier(0.74, 0.06, 0.4, 0.92) forwards 0.2s;
          animation: showup 0.4s cubic-bezier(0.74, 0.06, 0.4, 0.92) forwards 0.2s;
}
#main p {
  font-size: 1.1em;
}
.clear {
  padding: 0;
  clear: both;
}
.oneimage {
  width: 90%;
  max-width: 700px;
  margin: 16px auto;
  text-align: center;
}
.block {
  width: 50%;
}
.block:nth-child(even) {
  padding: 16px 0 16px 16px;
}
.block:nth-child(odd) {
  padding: 16px 16px 16px 0;
}
/* About
============================================= */
.about p {
  padding: 0.5em 0;
}
.about li {
  padding: 0.4em 2em;
  line-height: 1.2em;
}
.about li::before {
  content: '';
  position: absolute;
  left: 1em;
  display: inline-block;
  width: 0.5em;
  height: 1.2em;
}
.about li:nth-child(1)::before {
  background-color: #cf4547;
}
.about li:nth-child(2)::before {
  background-color: #3e80c1;
}
.about li:nth-child(3)::before {
  background-color: #91bc46;
}
/* Access
============================================= */
.ggmap {
  margin: 16px auto;
}
.ggmap iframe {
  margin: 0 auto;
  padding: 0;
  max-width: 100%;
  width: 100%;
  height: 600px;
  border: none;
  display: block;
}
/* Project
============================================= */
.list-horizontal {
  margin: 1em auto;
}
.list-horizontal ul {
  width: 100%;
}
.list-horizontal li {
  display: inline;
}
.list-horizontal li:before {
  content: '';
}
.list-horizontal li.first:before {
  content: '';
}
.list-horizontal.openhouse a,
.list-horizontal.maint a {
  color: #231814;
  background-color: #f9f9fc;
  border: 1px solid #231814;
  padding: 0.5em 2.5em;
  margin: 0.25em;
  border-radius: 2em;
  display: inline-block;
  text-align: center;
}
.list-horizontal.openhouse a:hover,
.list-horizontal.maint a:hover {
  opacity: 0.7;
}
.list-horizontal.openhouse a.disabled-link,
.list-horizontal.maint a.disabled-link {
  cursor: default;
  pointer-events: none;
  text-decoration: none;
  color: #808080;
  border-color: #808080;
  background-color: #d3d3d3;
}
.list-horizontal.maint,
.list-horizontal.openhouse {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}
.list-horizontal.maint li,
.list-horizontal.openhouse li {
  -webkit-box-flex: 1;
      -ms-flex-positive: 1;
          flex-grow: 1;
  min-width: calc((100% - 1.5em) / 4);
  margin: 0.25em;
}
.list-horizontal.maint li a,
.list-horizontal.openhouse li a {
  width: 100%;
  margin: 0;
}
.list-horizontal.openhouse li {
  min-width: calc((100% - 1.5em) / 5);
}
.item-container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}
.item-container .block {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
}
.item-container .block img {
  width: 128px;
  height: auto;
  border-radius: 4px;
  margin-right: 16px;
}
.item-container h3 {
  min-height: 3em;
  margin: 0 0 0.5em;
  font-weight: bold;
  border-bottom: none;
}
.desc p:not(:first-child) {
  text-align: initial;
}
.award {
  color: #17a669;
  position: relative;
}
#main .award {
  font-size: 1em;
}
#main .award a {
  color: #17a669;
  text-decoration: underline;
}
.center {
  text-align: center;
}
/* Lecture
============================================= */
.lecture {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}
.lecture h2 {
  color: #231814;
  --color-var: #17a669;
}
.lecture h2:before {
  border-radius: 4px;
  background-color: var(--color-var);
  background-image: none;
}
.lecture .time {
  margin: 1em 0;
}
.schoolmap {
  margin-top: 2rem;
}
.schoolmap .oneimage {
  margin: 24px auto;
}
/* CVGL
============================================= */
.cvgl .block {
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  margin: 2rem 0;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
}
.cvgl .block div {
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  margin: 0 1rem 0 0;
  max-width: 60%;
}
.cvgl .block img {
  width: 40%;
  height: auto;
  max-height: 16rem;
  border-radius: 4px;
  margin-right: 2rem;
  min-width: 128px;
  -o-object-fit: contain;
     object-fit: contain;
  font-family: 'object-fit: contain;' /*IE対策*/;
}
.cvgl .block.min {
  margin: 0 0 0.5rem;
}
.cvgl .block:nth-child(odd) {
  -webkit-box-orient: horizontal;
  -webkit-box-direction: reverse;
      -ms-flex-flow: row-reverse;
          flex-flow: row-reverse;
}
.cvgl .block:nth-child(odd) div {
  margin: 0 0 0 1rem;
}
.cvgl .block:nth-child(odd) img {
  margin-right: 0;
  margin-left: 2rem;
}
.cvgl .block h3 {
  margin: 0 0 1rem;
  font-size: 1.2rem;
  border-bottom: none;
}
.cvgl .block p.comment {
  color: #17a669;
  margin-top: 0.5em;
}
.tabs ul {
  border-bottom: none;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: start;
          flex-direction: start;
  margin: 1.5rem 0 0;
}
.tabs li {
  border-bottom: 1px solid #17a669;
}
.tabs li a {
  color: #17a669;
  font-weight: bold;
}
.tabs li.is-active a {
  color: #fff;
}
.tabs.is-boxed li.is-active a {
  background-color: #17a669;
  border-color: #17a669;
}
.tabs.is-boxed a:hover {
  background-color: #f9f9fc;
  border-bottom-color: #231814;
}
.tab-content {
  display: none;
}
.tab-content.is-active {
  display: block;
  -webkit-animation: showup 0.6s cubic-bezier(0.17, 0.935, 0.305, 1);
          animation: showup 0.6s cubic-bezier(0.17, 0.935, 0.305, 1);
}
/* メディアコンテンツ特別講義
============================================= */
iframe.medicon {
  width: 768px;
}
/* Join Us
============================================= */
.info {
  background-color: #f9f9fc;
  padding: 1.5rem;
  margin: 0 0 0.5rem;
  font-weight: bold;
  padding: 1rem;
  margin: 8px 0;
}
.alert {
  color: #ef0808;
}
.from-to td {
  padding: 8px;
}
/* BBQ
============================================= */
.bbq {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}
.facebook-photo {
  width: calc(50% - 1rem);
  height: auto;
  min-height: 28rem;
}
.facebook-photo iframe {
  width: 100%;
  height: 100%;
  margin: 1rem 0;
}
/* OBOG
============================================= */
iframe.alumni {
  width: 900px;
}
/* 404
============================================= */
.notfound {
  min-height: calc(100vh - 80px - 220px - footer-height);
}
/* tb settings
============================================= */
@media screen and (max-width: 1024px) {
  #top {
    padding: 0 32px;
    height: 120px;
    margin-top: 66px;
    scroll-margin-top: 66px;
  }
  #top .top-body {
    width: 100%;
    max-width: none;
  }
  #top .top-body .title {
    font-size: 1.6em;
  }
  table {
    overflow: scroll;
  }
  tbody {
    width: 100%;
  }
  th,
  td {
    padding: 0.5rem 0.25rem;
  }
  .list-horizontal.openhouse a,
  .list-horizontal.maint a {
    padding: 0.5em;
  }
  .list-horizontal.maint li {
    width: 100%;
  }
  .block {
    width: 100%;
  }
  .block:nth-child(even),
  .block:nth-child(odd) {
    padding: 0;
  }
  .about li::before {
    left: 1.8em;
    left: calc(32px + 1em);
  }
  .about .columns {
    -webkit-box-orient: vertical;
    -webkit-box-direction: reverse;
        -ms-flex-direction: column-reverse;
            flex-direction: column-reverse;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
  }
  .lecture h2 {
    line-height: 1.5em;
    padding: 1em 0 0.6em 1.8em;
  }
  .lecture h2:before {
    width: 1.5em;
    height: 1.5em;
  }
  .lecture .time {
    margin: 0.5em 0;
  }
  .ggmap iframe {
    height: 40vh;
  }
  .notfound {
    min-height: calc(100vh - 66px - 120px - 96px);
  }
  iframe.medicon {
    height: 70vh;
  }
  #main p.comment {
    font-size: 0.9rem;
  }
  .cvgl .block {
    -webkit-box-align: start;
        -ms-flex-align: start;
            align-items: flex-start;
  }
  .cvgl .block h3 {
    font-weight: bold;
  }
  .cvgl .block div {
    margin: 0;
    max-width: 100%;
  }
  .cvgl .block img {
    width: 30vmin;
    min-width: 200px;
    margin-bottom: 1rem;
  }
  .cvgl .block:nth-child(odd) {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-flow: row;
            flex-flow: row;
  }
  .cvgl .block:nth-child(odd) div {
    margin: 0;
  }
  .cvgl .block:nth-child(odd) img {
    margin-left: 0;
    margin-right: 2rem;
  }
  .tabs ul {
    -webkit-box-flex: 0;
        -ms-flex-positive: 0;
            flex-grow: 0;
    width: 100%;
  }
  .tabs li {
    width: 25%;
    margin: 0.5rem 0;
  }
}
/* sp settings
============================================= */
@media screen and (max-width: 599px) {
  #top {
    padding: 0 16px;
  }
  .about li::before {
    left: calc(16px + 1em);
  }
  table th,
  table td {
    padding: 0.2rem;
  }
  table td {
    font-size: 0.8em;
  }
  .facebook-photo {
    min-height: 20rem;
  }
  .cvgl .block {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    margin: 2rem 0 4rem;
  }
  .cvgl .block img {
    width: 100%;
    margin-bottom: 1rem;
  }
  .cvgl .block:nth-child(odd) {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-flow: column;
            flex-flow: column;
  }
  .cvgl .block:nth-child(odd) img {
    margin-bottom: 1rem;
  }
}
