@charset "utf-8";
body {
    /*width: 100%;*/
    overflow-x: hidden;
/*    min-width: 1040px;*/
}

.subpage-inner {
    margin: 0 auto;
    width: 1000px;
}

.mainimage {
    /*
    height: 450px;*/
    background-image: url(/Japanese/SDGs/img/mainimage11.jpg);
    height: 200px;
    background-position: center top;
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
    /*margin-top: -9px;*/
    background-color: #05173F;
}

.mainimage .inner .pc img{
    margin-top: 30px;    
}
.mainimage .inner .maintext .pc{
    margin-left: 200px;    
}

.mainimage .inner h2 {
  font-size: 65px;
  position: absolute;
  bottom: 0px;
  font-weight: normal;
  color: #FFFFFF;
  margin-top: 130px;
}
.gakubu-t {
    display: flex;
    margin-top: 125px;
    margin-bottom: 80px;
    width: 900px;
    margin-left: auto;
    margin-right: auto;
}
.t-box {
    width: 500px;
    margin-right: 50px;
}
.gakubu-sdgs {
    width: 900px;
    margin-left: auto;
    margin-right: auto;
    /* [disabled]display: flex; */
    /* [disabled]justify-content: space-between; */
    margin-bottom: 80px;
}
.sdgs-box {
    /* [disabled]margin-left: 10px; */
    /* [disabled]margin-right: 10px; */
    width: 100%;
    display: flex;
    justify-content: space-between;
}



.gakubu-inner h3:before {
    color: #92bfbb;
    content: "■";
}

.prof {
    /* [disabled]padding: 40px; */
    background-color: #f6f1d6;
    margin-top: 0;
    margin-right: -200%;
    margin-left: -200%;
    margin-bottom: 120px;
    padding: 5% 200%;
    align-items: flex-start;
    justify-content: center;
    display: flex;
}


.prof-outer   {
    width: 400px;
    margin-left: 0px;
    margin-right: auto;
}

.goal3-outer p{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;   
    text-align: center;
}

.goal3-text{
    display: flex;
    justify-content: center;
    flex-flow: row nowrap;
    align-items: stretch;
}

.goal3-text span{
    flex: 0 0 auto;
    text-align: left;
}

.goal3-text::before,.goal3-text::after{
    content: "";
    flex: 0 0 2px;
    height: auto;
    margin: 0px 30px;
    background: #92bfbb;
}

.goal3-text::before{
    transform: rotate(-30deg)
}

.goal3-text::after{
    transform: rotate(30deg)
}


.goal-top3 {
    display: flex;
    margin: 30px 0;
}

.goal-top3 img{
    transform: scale(0.8)
}



.each-g{
    display: flex;
    flex-wrap: wrap;
	padding-bottom: 100px;
}

.each-box{
    width: 480px;
    margin-top: 40px;
    margin-right: 40px;
}
.each-box:nth-child(even){
    margin-right: 0px;
}

.link {
    background-color: #92bfbb;
    border-radius: 20px;
    margin: 20px 0;
    width: 500px;
    height: 50px;
    position: relative;
    /* margin: 0 auto; */
    padding-top: 12px;
}
.link:after {
    content: ">";
    color: #fff;
    font-weight: bold;
    position: absolute;
    top: 17px;
    right: 70px;
}
.link a {
    display: block;
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    width: calc( 100% - 20px );
    height: 100%;
    line-height: 2;
    padding-left: 20px;
}

.link:hover{
    background-color: #7FA6A2;
    
}

.link-douga {
    background-color: #92bfbb;
    border-radius: 20px;
    margin: 20px 0;
    width: 350px;
    position: relative;
}
.link-douga:after {
    content: ">";
    color: #fff;
    font-weight: bold;
    position: absolute;
    top: 5px;
    right: 10px;
}
.link-douga a {
   display: block;
  color: #fff;
  font-size: 14px;
  font-weight: bold;
  width: calc( 100% - 20px );
  height: 100%;
  line-height: 2;
  padding-left: 20px;
  padding-top: 6px;
  padding-bottom: 6px;
  text-decoration: none;
}

.link-douga:hover{
    background-color: #7FA6A2;
    
}

.goal3-outer a:hover img {
    transform: scale(1.1);
    transition: 0.5s;
}

/*body {
  min-width: 1040px;
}
*/
.list-area{
    margin-top: 10px;
    margin-bottom: 10px;
}
    
.sonota h2 {
    padding: 1rem 2rem;
    border-bottom: 3px solid #2617d9; /*#000 */
    background: #c4d0ee; /*#f4f4f4 */
    margin-top: 50px;
}
.list-area li {
    margin-top: 10px;
    margin-bottom: 10px;
    margin-left: 30px;
    line-height: 2;
}

.list-area th{
    font-size: 20px;
    text-align: left;
    background-color: #E3E4F5;
    padding-left: 10px;
}

.sonota table{
    border: 2px solid;
    width: 100%;
}

.sdgs-mark{
    margin: 10px;
    text-align: right;
}

footer{
    margin-top: 100px;
}

.ohmidashi {
  position: relative;
  padding-left: 4em;
    margin-top: 80px;
}

.ohmidashi span {
  position: absolute;
  top: 0;
  left: 0;
  padding: 0 2rem;
  color: #ebf0f2;
  background: #0896f4; /*14カラー#0075ba　水色#3498db　黄緑#22ac38*/
}

.ohmidashi span:after {
  position: absolute;
  top: calc(50% - 7px);
  right: -11px;
  width: 0;
  height: 0;
  content: '';
  border-width: 7px 0 7px 12px;
  border-style: solid;
  border-color: transparent transparent transparent #0896f4;
}

/*目次*/
.title-mo{
    width: 100%;
    max-width: 600px;
    font-weight: bold;
    background-color: #0896f4;/*水色#3498db*/
    color: #ebf0f2;/*antiquewhite クリーム#e3f5d8*/
}

.l_toc {
    width: 100%;
    max-width: 600px;
    margin: 30px auto;
    font-weight: bold;
}

.l_toc a {
    text-decoration: none;
    color: #fff;
}
.l_toc a:hover{
    color: #0896f4;/*#e3f5d8*/
}

.l_toc ol {
    background-color: #464646;
    padding-left: 0;
    list-style: none;
    counter-reset: section;
    padding: 20px;
}

.child_ol li {
    padding-left: 12px;
}
/*箇条書きのマーク*/
.child_ol li {
  position: relative;
}
.child_ol li::after,
.child_ol li::before {
  display: block;
  content: '';
  position: absolute;
}
.child_ol li::after {
  top: .35em;
  left: -1.2em;
  width: 14px;
  height: 14px;
  background-color: #0896f4;/*#3498db 黄緑#22ac38*/
  border-radius: 100%;
}
.child_ol li::before {
  z-index: 2;
  top: .625em;
  left: -.975em;
  width: 4px;
  height: 4px;
  border-right: 1px solid #fff;
  border-bottom: 1px solid #fff;
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
}

a[href*=".pdf"]::after {
  content: "\f1c1";
  font-family: "Font Awesome 5 Free";
  color: #F30401;
    margin-left:  5px;
}

@media screen and (max-width:1040px){

.all{
    width: 100vw;
}
   
img {
    max-width: 100%;
    height: auto;
}

.inner {
    width: calc(100% - 40px);
}

.mainimage .inner {
    width: 100%;
}

.mainimage .inner h2 {
    font-size: 250%;
    margin-left: 30px;
}

.mainimage .inner .maintext .pc{
    margin-left: 0;    
}

.subpage-inner.gakubu-inner {
    width: 90%;
    height: auto;
}
.gakubu-t {
    display: block;
}
.inner {
    width: 90%!important;
    height: auto;
}
/*    
.subpage-inner.gakubu-inner .prof {
    padding: 50px 0;
    margin-top: 0;
    margin-right: auto;
    margin-left: auto;
    margin-bottom: 70px;
}
*/
}

@media screen and (max-width:600px){
body {
    min-width: initial;
  }
    
/*
.mainimage {
  height: 230px;
  background-image: url("/Japanese/SDGs/img/sub-top1-sp.jpg");
}*/
    
.mainimage .inner {
    width: 100%;
/*  height: 230px;
  position: relative;*/
}
.mainimage .inner h2 {
  display: block;
  position: absolute;
  bottom: 0px;
  font-size: 36px;
  margin-left: 0px;
  left: 20px;
}
img {
    height: auto;
    width: 100%;
}

.mainimage .inner .sp{
    padding-top: 17%;    
}

    
.sdgs-mark img{
    width: 15%;
}
    
.subpage-inner {
    width: 90vw;
}
.subpage-inner .prof {
    flex-wrap: wrap;
}
.subpage-inner .item-img p:last-child {
    width: 15vw;
}

.prof-inner {
    margin-bottom: 10px;
    width: 82vw;
}
.prof-inner:last-child {
    margin-bottom: 0px;
}
   
.gakubu-t{
    display: block;
    flex-wrap: wrap;
}
.gakubu-t p img {
    width: 90%;
    height: auto;
}
.gakubu-sdgs {
    /* [disabled]flex-wrap: wrap; */
    width: 90vw;
}




.goal-top3 {
    display: block;
}

.goal-top3 img{
    width: 40vw;
}

.link{
    width: 90vw;
}

.link a{
    font-size: 16px;
    line-height: 1.3;
    text-align: left;
    padding-left: 14vw;
}

.link:after {
    content: ">";
    color: #fff;
    font-weight: bold;
    position: absolute;
    top: 17px;
    right: 10vw;
}

.each-box:nth-child(odd){
    margin-right: 0px;
}
    
.gakubu-t p img,.gakubu-t p{
    width: 90vw;
        
    }
.all {
    overflow: hidden;
    font-size: 90%;
}
.sdgs-box {
    display: block;
}

.sdgs-box p img  {
    width: 30%;
    height: auto;
    margin-top: 0px;
}

}
