/*
Title:index.css
Description:トップページ用CSS
*/

/*--------
topVisual----------------------------------------------------*/
.topVisual {
  position: relative;
  left: 0px;
  top: 1px;
  width: 705px;
  float: left;
  margin: 0px 15px;
}
.topBanner {
  z-index: 9999;
  /* margin: 0px 0px 0px 10px; */
  display: block;
  float: right;
  position: absolute;
  top: 0;
  right: -240px;
}

/*--------
mainContents----------------------------------------------------*/
#mainContents {
  z-index: 9999;
  position: relative;
  top: -45px;
  float: left;
  width: 630px;
  margin-left: 213px;
  margin-right: 10px;
}

/*--------
mainContents----------------------------------------------------*/
#mainContents .plan h2 {
  width: 630px;
  height: 63px;
  background-repeat: no-repeat;
  background-image: url("../image/top/img_planTitle.jpg");
}
#mainContents .plan ul {
  width: 630px;
  height: 81px;
  background-image: url("../image/top/img_planBg.jpg");
}

#mainContents .plan ul li {
  margin: 0px 21px 0px 21px;
  & img {
    width: 100%;
  }
}

#mainContents .objective .objectiveLayout {
  margin-left: 9px;
  margin-right: -9px;
}

#mainContents .plan ul li,
#mainContents .objective ul li {
  float: left;
}

#mainContents .topics {
  position: relative;
  margin: 10px 0px;
}

#mainContents .topics h2 {
  width: 630px;
  height: 63px;
  background-repeat: no-repeat;
  background-image: url("../image/top/img_topicsTitle.jpg");
}

.topicsDate {
  color: #6b6b6b;
  font-size: 12px;
  display: block;
  clear: both;
}
.topics a {
  display: block;
  border-bottom: 1px solid #dcdcdc;
  padding-bottom: 10px;
}

#mainContents .topics ul li {
  padding: 5px 15px;
  background-image: url("../image/top/img_topicsBg-mid.jpg");
}

#mainContents .topics ul {
  width: 630px;
  margin-top: -11px;
}

#mainContents .topics ul {
  background-image: url("../image/top/img_topicsBg-mid.jpg");
}

#mainContents .topics ul li:last-child {
  padding-bottom: 20px;
  background-repeat: no-repeat;
  background-image: url("../image/top/img_topicsBg-bot.jpg");
  background-position: bottom;
}

.topicsList a {
  position: absolute;
  top: 15px;
  right: 15px;
  display: inline;
  padding: 0px 9px;
  line-height: 1.5em;
  border: 1px solid #ffffff;
  font-size: 14px;
  border-radius: 2px;
  color: #ffffff;
}

.topicsList a:hover {
  color: #58c3ed;
  background-color: #ffffff;
}

/*--------
departmentSchedule----------------------------------------------------*/
.blockSchedule {
  margin: 10px 0px;
}
.departmentSchedule {
  width: 307px;
  min-height: 125px;
  float: left;
  background-color: #ffffff;
  border-radius: 5px;
  box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.3);
}
.departmentSchedule dl {
  padding: 10px 10px;
  margin: 0px 10px;
  border-bottom: 1px solid #efeee8;
}
.departmentSchedule dl.second {
  border-bottom: none;
}

.departmentSchedule h2 {
  width: 307px;
  height: 45px;
  background-repeat: no-repeat;
  background-image: url("../image/top/img_departmentTitle.jpg");
}

.departmentSchedule article,
.eventSchedule article {
  text-align: center;
  height: 75px;
  padding: 7px 15px;
  background-repeat: no-repeat;
  background-image: url("../image/top/img_dpeventBg.jpg");
}

.departmentSchedule dl dt {
  margin-right: 10px;
  color: #ff74a7;
  float: left;
}

.departmentSchedule dd {
  margin-right: 5px;
}
.departmentSchedule dd ul {
  display: block;
  margin-left: 40px;
}
.departmentSchedule dd li {
  /*display:inline-block;*/
  max-width: 150px;
}

/*--------
departmentSchedule----------------------------------------------------*/
.eventSchedule {
  min-height: 110px;
  margin-left: 15px;

  float: left;
  background-color: #ffffff;
  border-radius: 5px;
  box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.3);
}

.eventSchedule h2 {
  width: 306px;
  height: 45px;
  background-repeat: no-repeat;
  background-image: url("../image/top/img_eventTitle.jpg");
}

.eventSchedule ul {
  text-align: left;
  padding: 10px 15px;
}

.eventSchedule ul li {
  padding-left: 15px;
  background-image: url("../image/global/img_listIcon.gif");
  background-repeat: no-repeat;
  background-position: left center;
}

/*--------
detailLink----------------------------------------------------*/
.detailLink {
  margin: 10px 0px;
}
.detailLink ul li {
  float: left;
  margin-right: 14px;
  margin-bottom: 11px;
}

.detailLink ul li:last-child {
  float: left;
  margin-top: -96px;
  margin-right: 0px;
}

/*--------
rightSide----------------------------------------------------*/
#rightSide {
  width: 310px;
  position: absolute;
  right: -317px;
  top: 7px;
}

.rightSideNav ul li {
  float: left;
  margin-right: 10px;
}
.rightSideNav ul li:last-child {
  margin-right: 0px;
}

.forBusiness {
  margin: 10px auto;
}

.forBusiness h2 {
  height: 45px;
  background-repeat: no-repeat;
  background-image: url("../image/top/img_forBusinessTitle.jpg");
}

.forBusiness ul {
  height: 370px;
  height: 385px;
  padding: 5px;
  background-repeat: no-repeat;
  background-image: url("../image/top/img_forBusiness.jpg");
}

.forBusiness ul li {
  margin-top: 5px;
  display: block;
  text-align: center;
}

.fbWidget {
  width: 288px;
  height: auto;
  background-color: #ffffff;
  border-radius: 5px 5px;
  box-shadow: 1px 1px 5px #b9b4a6;
  padding: 15px 10px;
  background-repeat: no-repeat;
}

/* 20240325 追記 */
.detailLink {
  & ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 11px 14px;
    & li {
      float: none;
      margin: 0;
      & img {
        width: 100%;
      }
    }
  }
}
