@charset "UTF-8";
/*
//　東京工科大学のSDGs A011612sdgs
*/
#mainimgs {
  background: url("/sdgs/images/mainimg.jpg") no-repeat;
  -webkit-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}
#mainimgs:before {
  display: none;
}
#mainimgs .title {
  line-height: 1;
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  -ms-transition: all 0.3s;
  -o-transition: all 0.3s;
  transition: all 0.3s;
}
#mainimgs .title:after {
  content: "";
  display: block;
  width: 482px;
  height: 0;
  padding: 1px 0 0;
  margin: 5px 0 0;
  background: url("/sdgs/images/pagetitle_line.png") no-repeat top left;
}

@media screen and (max-width: 1039px) {
  #mainimgs .title:after {
    display: none;
  }
}
/*
//　見出し
*/
@media screen and (max-width: 767px) {
  /* タブレット未満 */
  .page-headline, .mainarea h1 {
    font-size: 100%;
    min-height: inherit;
    padding: 5px 0 10px;
    margin-bottom: 1em;
    letter-spacing: 0;
  }
}
.block-lead p {
  text-align: justify;
}
.block-lead .right {
  margin-left: 35px;
  margin-bottom: 20px;
  max-width: 40%;
}

.sdgs-boxs .block-body {
  display: flex;
  -webkit-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-justify-content: space-between;
  justify-content: space-between;
}
.sdgs-boxs .sdgs-box {
  -webkit-flex-basis: 48.28326%;
  flex-basis: 48.28326%;
}
.sdgs-boxs .sdgs-box:nth-child(n+3) {
  margin-top: 30px;
}

.sdgs-box {
  background-color: #F3F3F3;
}
.sdgs-box .box-heading {
  background-color: #efefef;
  font-size: 1.5em;
  line-height: 1.2;
  padding: 0.75em 5px 0.75em 20px;
  margin: 0;
  border: none;
  font-weight: normal;
}
.sdgs-box .box-headline {
  font-size: 0.875em;
  line-height: 1.2;
  font-weight: bold;
  padding: 0.92857em 5px 0.92857em 20px;
  margin: 0;
  border: 0;
  background-color: #E7E7E7;
}
.sdgs-box .box-body {
  margin: 0;
  font-size: 0.875em;
  padding: 1.57143em 20px;
}
.sdgs-box ul li {
  text-indent: -1em;
  padding-left: 1em;
}
.sdgs-box ul li:before {
  content: "?";
  display: inline-block;
  width: 1em;
  text-indent: 0;
}
.sdgs-box ul li + li {
  margin-top: 1em;
}
.sdgs-box.eng .box-heading {
  background-color: #c8c6db;
  color: #575488;
}
.sdgs-box.cs .box-heading {
  background-color: #d2e4ed;
  color: #28648b;
}
.sdgs-box.ms .box-heading {
  background-color: #e5c3c6;
  color: #b1444b;
}
.sdgs-box.bs .box-heading {
  background-color: #c6dbb8;
  color: #2b643b;
}
.sdgs-box.ds .box-heading {
  background-color: #f5ebce;
  color: #3e3e3e;
}
.sdgs-box.hs .box-heading {
  background-color: #f4e3e8;
  color: #c13c45;
}
.sdgs-box.kyoyo .box-heading {
  background-color: #dcdbd6;
  color: #4e461b;
}

@media screen and (max-width: 767px) {
  .block-lead {
    padding-bottom: 20px;
  }
  .block-lead .right {
    margin-left: 15px;
    margin-bottom: 10px;
  }

  .sdgs-box .box-heading {
    font-size: 1.125em;
  }
  .sdgs-box .box-heading, .sdgs-box .box-headline, .sdgs-box .box-body {
    padding-left: 12px;
    padding-right: 12px;
  }
  .sdgs-box .box-heading {
    padding-right: 5px;
  }
}



