@charset "utf-8";

.content {
  padding-bottom: 60px;
  overflow: hidden;
}

header .sub-nav .mlmg_btn {
  display: none;
}

/* タブレットとPCのみに適用 */
@media (min-width: 768px) {
  .content {
    padding: 50px 0 180px;
  }
}

.main_img {
  margin-bottom: 60px;
  text-align: center;
}
.main_img img {
  width: 100%;
  height: auto;
}

/* タブレットとPCのみに適用 */
@media (min-width: 768px) {
  .main_img img {
    width: 534px;
    height: 393px;
  }
}

h2.title {
  margin-bottom: 20px;
}

/* タブレットとPCのみに適用 */
@media (min-width: 768px) {
  h2.title {
    margin-bottom: 40px;
  }
}

.with_sdgs, .efforts {
  padding-bottom: 60px;
  overflow: hidden;
}

/* タブレットとPCのみに適用 */
@media (min-width: 768px) {
  .about_sdgs, .efforts {
    padding-bottom: 80px;
  }
}

h3.sub_title {
  font-size: 2rem;
  color: #01538f;
  font-weight: normal;
  padding-bottom: 5px;
}

@media (min-width: 768px) {
  h3.sub_title {
    font-size: 2.6rem;
  }
}

.text p {
  font-size: 1.4rem;
  line-height: 1.8;
}

.about_sdgs {
  margin-top: 30px;
}

/* タブレットとPCのみに適用 */
@media (min-width: 768px) {
  .about_sdgs {
    margin-top: 60px;
  }
}

.sdgs_list {
  margin-top: 20px;
}

/* タブレットとPCのみに適用 */
@media (min-width: 768px) {
  .sdgs_list {
    margin-top: 0;
  }
}

.sdgs_list img {
  width: 100%;
  height: auto;
}

.left, .right {
  width: 100%;
}

/* タブレットとPCのみに適用 */
@media (min-width: 768px) {
  .left, .right {
    width: 48%;
  }
}

.left {
  float: left;
}

.right {
  float: right;
}

.efforts > p {
  line-height: 1.8;
}

.effort_list {
  margin: 20px 0 0 -20px;
}

.effort_item {
  padding: 20px 0 0 20px;
  width: 100%;
  float: left;
  box-sizing: border-box;
}

/* タブレットとPCのみに適用 */
@media (min-width: 768px) {
  .effort_item {
    width: 340px;
    height: 530px;
  }
}

.effort_item_inner {
  padding: 40px 25px 40px;
  text-align: center;
  height: 100%;
  box-sizing: border-box;
}

.effort_item img {
  width: 180px;
  height: 180px;
}

.effort_item .subject {
  display: block;
  height: 50px;
  margin-top: 26px;
  font-size: 1.8rem;
  line-height: 1.4;
  font-weight: bold;
}

.effort_item p {
  margin-top: 14px;
  text-align: left;
}

.effort_item.sdgs_1 .effort_item_inner {
  background: #fce5e8;
}

.effort_item.sdgs_2 .effort_item_inner {
  background: #fbf6e5;
}

.effort_item.sdgs_3 .effort_item_inner {
  background: #e5f4eb;
}

.effort_item.sdgs_4 .effort_item_inner {
  background: #f9e7e9;
}

.effort_item.sdgs_6 .effort_item_inner {
  background: #e5f6fb;
}

.effort_item.sdgs_17 .effort_item_inner {
  background: #e5eaf0;
}

.effort_item.sdgs_1 .subject {
  color: #e4001e;
}

.effort_item.sdgs_2 .subject {
  color: #d6a600;
}

.effort_item.sdgs_3 .subject {
  color: #00963b;
}

.effort_item.sdgs_4 .subject {
  color: #c60f28;
}

.effort_item.sdgs_6 .subject {
  color: #00a6d8;
}

.effort_item.sdgs_17 .subject {
  color: #003067;
}

p, span, th, td {
  max-height: 100%;
  -webkit-text-size-adjust: 100%;
}

/*
  activity_list, activity_list2
*/

.contribution {
  margin-bottom: 100px;
}

.activity_list2 {
  margin: 20px auto 40px;
}

.activity_list2 li {
  margin-bottom: 30px;
}

.activity_list2 li img {
  width: 100%;
  max-width: 400px;
  margin: 0 auto 12px;
  display: block;
}

.activity_list2 li p.title {
  margin-bottom: 5px;
  font-size: 1.8rem;
  color: #01538f;
  text-align: center;
}

.activity_list2 li p.sub_title {
  margin-bottom: 10px;
  font-size: 1.4rem;
  color: #01538f;
  text-align: center;
  font-weight: bold;
}

.activity_list2 li p.comment {
  margin-bottom: 20px;
}

.activity_list2 li a {
  width: 220px;
  height: 40px;
  margin: 0 auto;
  font-size: 1.4rem;
  color: #01538f;
  text-align: center;
  line-height: 40px;
  display: block;
  border: 1px solid  #01538f;
  border-radius: 100vh;
  position: relative;
}

.activity_list2 li a:before {
  content: "";
  display: block;
  width: 5px;
  height: 5px;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 20px;
  margin: auto;
  border-right: 2px solid #01538f;
  border-bottom: 2px solid #01538f;
  -webkit-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  transform: rotate(-45deg);
}


/* タブレットとPCのみに適用 */
@media (min-width: 768px) {
  .contribution {
    margin-bottom: 160px;
  }
  
  .content h2.title {
    margin-bottom: 50px;
  }

  .activity_list2 {
    margin-bottom: 80px;
    display: flex;
  }

  .activity_list2 li {
    margin-bottom: 0;
    padding-bottom: 50px;
    float: left;
    position: relative;
  }

  .activity_list2 li img {
    max-width: none;
  }

  .activity_list2 li {
    width: 300px;
    margin-right: 50px;
  }

  .activity_list2 li:last-child {
    margin-right: 0;
  }

  .activity_list2 li p.title {
    font-size: 2.6rem;
  }

  .activity_list2 li a {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
  }

  .activity_list2 li a:hover {
    opacity: .7;
  }
  
}

.p-link {
  margin-bottom: 50px;
}

.p-link .p-link-block {
  width: 100%;
  border: 1px solid #01538E;
  padding: 15px;
  box-sizing: border-box;
}

.p-link .p-link-block:first-child {
  margin-bottom: 20px;
}

.p-link .p-link-block .p-link-block-title {
  font-size: 2rem;
  font-weight: normal;
  text-align: center;
  color: #01538E;
  margin-bottom: 5px;
}

.p-link .p-link-block .c-link a {
  width: 195px;
  height: 40px;
  margin: 10px auto 0;
  padding-left: 5px;
  font-size: 1.4rem;
  color: white;
  text-align: center;
  line-height: 40px;
  display: block;
  border: 1px solid  #01538f;
  background-color: #01538f;
  border-radius: 100vh;
  position: relative;
  transition: .3s;
}

.p-link .p-link-block .c-link a:before {
  content: "";
  display: block;
  width: 5px;
  height: 5px;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 25px;
  margin: auto;
  border-right: 2px solid white;
  border-bottom: 2px solid white;
  -webkit-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  transform: rotate(-45deg);
}

@media (min-width: 768px) {
  .p-link {
    display: flex;
    justify-content: space-between;
  }
  
  .p-link .p-link-block {
    width: 49%;
    padding: 20px 20px 80px;
    position: relative;
  }
  
  .p-link .p-link-block:first-child {
    margin-bottom: 0;
  }
  
  .p-link .p-link-block .p-link-block-title {
    font-size: 2.4rem;
    text-align: left;
    color: #01538E;
    margin-bottom: 5px;
  }

  .p-link .p-link-block .c-link a {
    position: absolute;
    bottom: 20px;
    left: 20px;
  }

  .p-link .p-link-block .c-link a:hover {
    opacity: .7;
  }
}


.p-float {
  width: 100%;
  background-color: rgba(205, 221, 232, .6);
  position: fixed;
  bottom: 0;
  left: 0;
  z-index: 100;
}

.p-float .p-float-inner {
  display: flex;
}

.p-float .p-float-inner .p-float_mailmaga,
.p-float .p-float-inner .p-float_donate {
  width: 50%;
  text-align: center;
}

.p-float .p-float-inner .p-float_mailmaga {
  background-color: rgba(1, 83, 142, .8);
}
.p-float .p-float-inner .p-float_donate {
  background-color: rgba(254, 192, 24, .8);
}

.p-float .p-float-inner .p-float_mailmaga-title,
.p-float .p-float-inner .p-float_donate-title {
  font-size: 1.6rem;
  line-height: 50px;
  color: white;
}

.p-float .p-float-inner .p-float_donate-title {
  color: #01538E;
}

.p-float .p-float-inner .p-float_mailmaga-text,
.p-float .p-float-inner .p-float_donate-text {
  display: none;
}

footer {
  padding-bottom: 50px;
}

footer .to_pagetop {
  bottom: 50px;
}

@media (min-width: 768px) {
  .p-float .p-float-inner {
    max-width: 880px;
    justify-content: space-between;
    margin: 0 auto;
    padding: 15px 0;
  }

  .p-float .p-float-inner .p-float_mailmaga,
  .p-float .p-float-inner .p-float_donate {
    width: 420px;
    border-radius: 6px;
  }
  
  .p-float .p-float-inner .p-float_mailmaga a,
  .p-float .p-float-inner .p-float_donate a {
    width: 100%;
    height: 70px;
    animation: .3s;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    transition: .3s;
  }
  

  .p-float .p-float-inner .p-float_mailmaga a:hover,
  .p-float .p-float-inner .p-float_donate a:hover {
    opacity: .7;
  }
  
  .p-float .p-float-inner .p-float_mailmaga-title,
  .p-float .p-float-inner .p-float_donate-title {
    font-size: 2.2rem;
    line-height: initial;
    margin-bottom: -12px;
  }

  .p-float .p-float-inner .p-float_mailmaga-text,
  .p-float .p-float-inner .p-float_donate-text {
    width: 350px;
    font-size: 1.2rem;
    line-height: 20px;
    color: white;
    display: block;
    margin: 0 auto 3px;
  }

  .p-float .p-float-inner .p-float_donate-text {
    color: #01538E;
  }

  footer {
    padding-bottom: 110px;
  }
  
  footer .to_pagetop {
    bottom: 100px;
  }
}