﻿.map {
  max-width: 900px;
  margin: 0 auto;
}
.map iframe {
  height: 450px;
}
@media only screen and (max-width: 768px) {
  .map {
    max-width: 500px;
  }
  .map iframe {
    height: 300px;
  }
}
.l_substage_img {
  width: 100%;
  background-image: url("../image/bgi-stage.jpg");
}
/* history */
.date_right {
  text-align: right;
  padding-right: 6px;
  border-right: 3px solid #B9C8D8;
}
.clearfix:after {
  content: "";
  display: block;
  clear: both;
}
.clearfix:before {
  content: "";
  display: block;
  clear: both;
}
.clearfix {
  display: block;
}
.upts_introbox_title {
  font-size: 1.6em;
  font-weight: normal;
}
.upts_introbox_title:before {
  font-family: "Font Awesome 5 Free";
  font-weight: 600;
  font-size: 25px;
  content: "\f303";
  margin-right: 15px;
  color: #B9C8D8;
}
/*国際交流　indexに２枚並べるとき*/
ul.l_img_list.double {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(500px, 1fr));
  grid-gap: 0;
}
ul.l_img_list.double li {
  text-align: center;
  margin: 0 auto;
  background: none;
  padding: 0;
  height: 100%;
}
ul.l_img_list.double li img {
  max-height: 200px;
  height: 100%;
  object-fit: contain;
}

/*------------*/
.flex-container {
  display: flex;
}
.flex-item {
  flex-basis: 100%;
}
.image-wrap {
  position: relative;
  overflow: hidden;
  padding-top: 40%;
}
.image-wrap img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 200px;
  object-fit: contain;
}
@media only screen and (max-width: 1024px) {
    .flex-container {
        display: block;
    }
    .image-wrap{
        padding-top: 0;
        position: static;
    }
    .image-wrap img{
        position: static;
        transform: none;
    }
}
/*--- */
ul.l_img_list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  grid-gap: 30px;
}
ul.l_img_list li {
  width: 95%;
  background: #F4F7F9;
  padding: 1em;
  border-radius: 10px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  flex-flow: column;
  -webkit-box-pack: start;
  -ms-flex-pack: start;
  justify-content: flex-start;
}
ul.l_img_list li p {
  font-family: 'Open Sans', sans-serif;
}
ul.l_img_list li img {
  width: 100%;
}
ul.l_img_list li p {
  font-size: .88em;
  line-height: 1.7;
}
.dl_acc ul.l_img_list {
  border: none;
  padding: 0;
}
/*--- */
/*目次*/
.l_mokuji_list {
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  grid-gap: 10px;
  align-items: center;
  justify-items: center;
  align-content: center;
  justify-content: center;
}
.l_mokuji_list li a:before {
  font-family: "Font Awesome 5 Free";
  font-weight: 600;
  font-size: .8em;
  content: "\f138";
  padding-right: 5px;
}
.l_mokuji_list li a:selection {
  color: #E3595B;
}
/* 国際関連活動　アコーディオン設定 */
dl dt {
  position: relative;
  padding: 0 0 10px 1.6em;
  line-height: 1.5;
}
dl dt:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
}
dl dt span {
  display: inline-block;
  cursor: pointer;
  font-size: 1em !important;
  color: #4547AC !important;
  text-decoration: underline dotted 1px #D0D3E3 !important;
}
dl dt span:after {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin: 0 0 0 .5em;
  vertical-align: middle;
  box-sizing: border-box;
  border-right: solid 2px #4547AC;
  border-bottom: solid 2px #4547AC;
  transform: rotate(45deg);
  transition: 0.2s;
}
dl dt.selected span:after {
  margin: 3px 0 0 .5em;
  transform: rotate(225deg);
  transition: 0.2s;
}
dl dd {
  display: none;
  position: relative;
  margin: 0;
  padding: 0 0 15px 1.6em;
  font-size: 14px;
  line-height: 1.5;
  color: #666;
}
dl dd:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
}