.righttxt {
  text-align: right;
}

p {
  line-height: 1.8;
  margin-bottom: 20px;
}

#upperbox {
  position: sticky;
  top: 0;
  z-index: 3;
}
#upperbox .upperh2box {
  background: url(../images/agricultureandlife/h2bg.png) 0 0 no-repeat;
  background-size: cover;
  height: 376px;
  position: relative;
  margin-bottom: 60px;
  -webkit-transition: 0.5s;
  transition: 0.5s;
}
#upperbox .upperh2box h2 {
  position: absolute;
  left: 20px;
  top: 50%;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
  color: #fff;
  font-size: 4em;
  font-weight: 500;
}
#upperbox .upperh2box .uppermenubox {
  position: absolute;
  right: 20px;
  bottom: 40px;
}
#upperbox .upperh2box .uppermenubox a {
  background-color: #fff;
  padding: 20px 80px;
  border-radius: 10px;
  text-decoration: none;
  color: #007562;
  position: relative;
}
#upperbox .upperh2box .uppermenubox a:after {
  content: "";
  width: 10px;
  height: 10px;
  border-top: solid 2px #007562;
  border-right: solid 2px #007562;
  -webkit-transform-origin: bottom left;
          transform-origin: bottom left;
  -webkit-transform: rotate(45deg);
          transform: rotate(45deg);
  display: block;
  position: absolute;
  right: 20px;
  top: 20px;
}
#upperbox.fixedWidget .upperh2box {
  background: url(../images/agricultureandlife/h2bg_sp.png) 0 0 no-repeat;
  background-size: cover;
  height: 120px;
}

#upperbox2 .linkbox {
  text-align: right;
}
#upperbox2 .linkbox a {
  border: 1px #D3D3D3 solid;
  padding: 10px 50px;
  border-radius: 10px;
  color: #68B255;
  text-decoration: none;
  position: relative;
}
#upperbox2 .linkbox a:after {
  content: "";
  background: url(../images/common/ico_pdf.gif) 0 0 no-repeat;
  background-size: auto;
  width: 40px;
  height: 30px;
  background-size: contain;
  display: inline-block;
  vertical-align: middle;
  -webkit-transform: scale(0.8);
          transform: scale(0.8);
  padding-left: 5px;
  line-height: 1;
  position: absolute;
  right: 10px;
  top: 2px;
}
#upperbox2 .linkbox a:before {
  content: "";
  background: url(../images/agricultureandlife/icon_link03.svg) 0 0 no-repeat;
  background-size: auto;
  width: 20px;
  height: 20px;
  background-size: contain;
  display: inline-block;
  position: absolute;
  left: 10px;
  top: 8px;
}
#upperbox2 .uppersection {
  margin-bottom: 80px;
}
#upperbox2 .uppersectioninner .itemboxover {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr 30px 1fr 30px 1fr 30px 1fr;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 20px 30px;
}
#upperbox2 .uppersectioninner .itemboxover a {
  padding: 20px;
  border-radius: 10px;
  display: block;
  text-align: center;
  height: 100%;
  text-decoration: none;
}
#upperbox2 .uppersectioninner .itemboxover a p {
  font-weight: 700;
  font-size: 1.2em;
  margin-top: 10px;
  margin-bottom: 0;
}
#upperbox2 .uppersectioninner.uppersection01 {
  margin-bottom: 40px;
}
#upperbox2 .uppersectioninner.uppersection01 h4 {
  color: #007562;
  font-size: 1.2em;
  font-weight: 700;
}
#upperbox2 .uppersectioninner.uppersection01 .itemboxover a {
  background-color: #E1F4D9;
  color: #15863A;
}
#upperbox2 .uppersectioninner.uppersection02 h4 {
  color: #E37201;
  font-size: 1.2em;
  font-weight: 700;
}
#upperbox2 .uppersectioninner.uppersection02 .itemboxover a {
  background-color: #F4E4D9;
  color: #FF9901;
}

section {
  padding: 40px 0;
}
section .readtxt {
  line-height: 1.8;
  padding-left: 30px;
  margin-bottom: 20px;
}
section .contentsinner {
  padding-left: 30px;
}
section .contentssubinner {
  padding-left: 30px;
}
section h5 {
  margin-bottom: 20px;
}
section h5 span {
  font-size: 18px;
  color: #fff;
  padding: 10px 80px;
  border-radius: 50px;
  display: inline-block;
}
section .h6heading {
  position: relative;
  padding: 0.5em 0.7em 0.4em;
  border-bottom: 3px solid #68B255;
  color: #68B255;
  font-size: 18px;
  margin-bottom: 20px;
}
section .h6heading::before,
section .h6heading::after {
  position: absolute;
  left: 30px;
  bottom: -15px;
  width: 30px;
  height: 15px;
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  content: "";
}
section .h6heading::before {
  background-color: #68B255;
}
section .h6heading::after {
  bottom: -11px;
  background-color: #fff;
}
section .iconlinklist {
  margin-left: 30px;
}
section .iconlinklist li {
  margin-bottom: 10px;
  white-space: pre-wrap;
  line-height: 1.6;
}
section .iconlinklist li .agal_01_a_commentsttl {
  margin-top: 5px;
  font-size: 0.9em;
}
section .iconlinklist li .agal_01_b_commentsttl {
  margin-top: 5px;
  font-size: 0.9em;
}
section .iconlinklist a {
  position: relative;
}
section .iconlinklist a:before {
  content: "";
  background: url(../images/agricultureandlife/icon_link03.svg) 0 0 no-repeat;
  background-size: auto;
  width: 20px;
  height: 20px;
  background-size: contain;
  display: inline-block;
  position: absolute;
  left: -30px;
  top: -2px;
}
section .textareabox {
  white-space: pre-wrap;
}

#section01 .h4box, #section02 .h4box, #section03 .h4box, #section04 .h4box {
  border-bottom: 5px #15863A solid;
  position: relative;
}
#section01 .h4box:after, #section02 .h4box:after, #section03 .h4box:after, #section04 .h4box:after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  display: block;
}
#section01 .h4box h4, #section02 .h4box h4, #section03 .h4box h4, #section04 .h4box h4 {
  color: #007562;
  font-weight: 500;
  font-size: 24px;
  line-height: 1;
}
#section01 .h4ttxt, #section02 .h4ttxt, #section03 .h4ttxt, #section04 .h4ttxt {
  padding: 20px;
  background-color: #E1F4D9;
  color: #007562;
  font-weight: 500;
  font-size: 20px;
  margin-bottom: 20px;
}
#section01 h5 span, #section02 h5 span, #section03 h5 span, #section04 h5 span {
  background-color: #007562;
}

#section05 .h4box, #section06 .h4box {
  border-bottom: 5px #FF9901 solid;
  position: relative;
}
#section05 .h4box:after, #section06 .h4box:after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  display: block;
}
#section05 .h4box h4, #section06 .h4box h4 {
  color: #E37201;
  font-weight: 500;
  font-size: 24px;
  line-height: 1;
}
#section05 .h4ttxt, #section06 .h4ttxt {
  padding: 20px;
  background-color: #F4E4D9;
  color: #E37201;
  font-weight: 500;
  font-size: 20px;
  margin-bottom: 20px;
}
#section05 h5 span, #section06 h5 span {
  background-color: #E37201;
  line-height: 1;
}

#section01 .h4box:after {
  background: url(../images/agricultureandlife/h4icon01.svg) 0 0 no-repeat;
  background-size: contain;
  width: 96px;
  height: 59px;
}
#section01 .h4box.h4flexbox {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 280px 20px 1fr;
  grid-template-columns: 280px 1fr;
  gap: 20px 20px;
  -webkit-box-align: end;
      -ms-flex-align: end;
          align-items: flex-end;
}
#section01 .h4box.h4flexbox .h4menubox {
  margin-bottom: 10px;
}
#section01 .h4box.h4flexbox .h4menubox ul li {
  display: inline-block;
  margin-right: 3px;
}
#section01 .h4box.h4flexbox .h4menubox ul li a {
  background-color: #EDEDED;
  padding: 10px 20px;
  text-decoration: none;
}
#section01 .grayinfobox {
  border: #007562 1px solid;
  padding: 20px;
  margin-bottom: 20px;
}
#section01 .grayinfobox p {
  margin-bottom: 0px;
}
#section01 .grayinfobox ul li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 20px;
  line-height: 1.8;
}
#section01 .grayinfobox ul li:last-child {
  margin-bottom: 0;
}
#section01 .grayinfobox ul li:before {
  content: "";
  background-color: #007562;
  width: 18px;
  height: 18px;
  display: block;
  position: absolute;
  left: 0;
  top: 5px;
  border-radius: 50px;
}
#section01 .imgcontentsover {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 0.8fr 30px 1fr;
  grid-template-columns: 0.8fr 1fr;
  gap: 20px 30px;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
#section01 .imgcontentsover .txtbox .ttltxt {
  font-size: 18px;
  font-weight: bold;
}
#section01 .imgcontentsover .txtbox ul {
  list-style: disc;
  margin-left: 20px;
  display: inline-block;
}
#section01 .imgcontentsover .txtbox ul li {
  margin-bottom: 10px;
}
#section01 .pdfbox.pdfbox01 .subtti2 {
  background-color: #f57a26;
}
#section01 .pdfbox.pdfbox02 .subtti2 {
  background-color: #06b6ed;
}
#section01 .pdfbox.pdfbox03 .subtti2 {
  background-color: #03be9f;
}
#section01 .subtti2 {
  color: #fff;
  margin-bottom: 20px;
  padding: 10px 5px;
  text-align: center;
  font-size: 1em;
}
#section01 .gridbox {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr 50px 1fr 50px 1fr;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 60px 50px;
  margin-bottom: 40px;
}
#section01 .gridbox .subgridbox {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 0.4fr 20px 1fr;
  grid-template-columns: 0.4fr 1fr;
  gap: 20px 20px;
}
#section01 .pdfbox .pdfboxinner {
  width: 90%;
  margin: 0 auto;
}
#section01 .pdfbox .imgbox {
  margin-bottom: 20px;
}
#section01 .pdfbox ul li {
  margin-bottom: 20px;
}
#section01 .youtubebox {
  width: 100%;
  margin: 0 auto 20px auto;
}
#section01 .youtubebox .youtubeboxinner {
  position: relative;
  border: 5px #000 solid;
}
#section01 .youtubebox .youtubeboxinner:after {
  content: "";
  display: inline-block;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 25px 0 25px 40px;
  border-color: transparent transparent transparent #ff0000;
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
}
#section01 .youtubebox .btnbox {
  margin-top: 40px;
}
#section01 .youtubebox .btnbox a {
  display: block;
  background-color: #03be9f;
  padding: 25px;
  text-align: center;
  color: #fff;
  border-radius: 10px;
  text-decoration: none;
}
#section01 .btnbox {
  text-align: right;
}
#section01 .btnbox a {
  border: 1px #D3D3D3 solid;
  padding: 10px 80px;
  border-radius: 50px;
  color: #68B255;
  text-decoration: none;
  position: relative;
}
#section01 .btnbox a:after {
  content: "";
  width: 10px;
  height: 10px;
  border-top: solid 2px #68B255;
  border-right: solid 2px #68B255;
  -webkit-transform-origin: bottom left;
          transform-origin: bottom left;
  -webkit-transform: rotate(45deg);
          transform: rotate(45deg);
  display: block;
  position: absolute;
  top: 10px;
  right: 20px;
}
#section01 .pdfbox03 .sbtnbox a {
  display: block;
  background-color: #68B255;
  padding: 10px;
  border-radius: 10px;
  color: #fff;
  text-align: center;
  text-decoration: none;
}

#section02 .h4box:after {
  background: url(../images/agricultureandlife/h4icon02.svg) 0 0 no-repeat;
  background-size: contain;
  width: 76px;
  height: 71px;
}

#section03 .h4box:after {
  background: url(../images/agricultureandlife/h4icon03.svg) 0 0 no-repeat;
  background-size: contain;
  width: 69px;
  height: 71px;
}

#section04 .h4box:after {
  background: url(../images/agricultureandlife/h4icon04.svg) 0 0 no-repeat;
  background-size: contain;
  width: 77px;
  height: 64px;
}

#section05 .h4box:after {
  background: url(../images/agricultureandlife/h4icon05.svg) 0 0 no-repeat;
  background-size: contain;
  width: 57px;
  height: 47px;
}

#section06 .h4box:after {
  background: url(../images/agricultureandlife/h4icon06.svg) 0 0 no-repeat;
  background-size: contain;
  width: 85px;
  height: 67px;
}

#bottomcontactbox .btnbox a {
  display: inline-block;
  background-color: #007562;
  color: #fff;
  padding: 20px 80px;
  border-radius: 10px;
  text-decoration: none;
  position: relative;
}
#bottomcontactbox .btnbox a:after {
  content: "";
  width: 10px;
  height: 10px;
  border-top: solid 2px #fff;
  border-right: solid 2px #fff;
  -webkit-transform-origin: bottom left;
          transform-origin: bottom left;
  -webkit-transform: rotate(45deg);
          transform: rotate(45deg);
  display: block;
  position: absolute;
  right: 20px;
  top: 20px;
}

@media screen and (max-width: 1024px) {
  .spcontentsover {
    width: 90vw;
    margin: 0 auto;
  }
}
@media screen and (max-width: 740px) {
  #upperbox .upperh2box {
    background: url(../images/agricultureandlife/h2bg_sp.png) 0 0 no-repeat;
    background-size: cover;
    height: 90px;
    margin-bottom: 40px;
  }
  #upperbox .upperh2box h2 {
    font-size: 1.4em;
    top: 10px;
    -webkit-transform: none;
            transform: none;
  }
  #upperbox .upperh2box .uppermenubox {
    top: auto;
    -webkit-transform: none;
            transform: none;
    bottom: 15px;
  }
  #upperbox .upperh2box .uppermenubox a {
    padding: 10px 30px;
  }
  #upperbox .upperh2box .uppermenubox a:after {
    right: 10px;
    top: 10px;
  }
  #upperbox.fixedWidget .upperh2box {
    height: 90px;
  }
  #upperbox2 .uppersectioninner .itemboxover {
    -ms-grid-columns: 1fr 10px 1fr;
    grid-template-columns: 1fr 1fr;
    -webkit-column-gap: 10px;
       -moz-column-gap: 10px;
            column-gap: 10px;
  }
  #upperbox2 .uppersectioninner .itemboxover a {
    padding: 10px;
  }
  #upperbox2 .uppersectioninner .itemboxover a p {
    font-weight: 500;
    font-size: 1em;
  }
  #section01 .h4box h4, #section02 .h4box h4, #section03 .h4box h4, #section04 .h4box h4 {
    font-size: 18px;
  }
  #section01 .h4ttxt, #section02 .h4ttxt, #section03 .h4ttxt, #section04 .h4ttxt {
    padding: 10px;
    font-size: 16px;
  }
  #section01 h5 span, #section02 h5 span, #section03 h5 span, #section04 h5 span {
    font-size: 16px;
  }
  #section05 .h4box h4, #section06 .h4box h4 {
    font-size: 18px;
  }
  #section05 .h4ttxt, #section06 .h4ttxt {
    padding: 10px;
    font-size: 16px;
  }
  #section05 h5 span, #section06 h5 span {
    font-size: 16px;
  }
  section .readtxt {
    padding-left: 10px;
  }
  section .contentsinner {
    padding-left: 10px;
  }
  section .contentssubinner {
    padding-left: 10px;
  }
  #section01 .h4box.h4flexbox {
    -ms-grid-columns: 1fr;
    grid-template-columns: 1fr;
  }
  #section01 .h4box:after {
    width: 60px;
    height: 37px;
  }
  #section01 .h4menubox.sp_block {
    margin-bottom: 40px;
  }
  #section01 .h4menubox.sp_block ul {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 1fr 10px 1fr;
    grid-template-columns: 1fr 1fr;
    gap: 10px 10px;
  }
  #section01 .h4menubox.sp_block ul a {
    background-color: #EDEDED;
    padding: 10px 20px;
    text-decoration: none;
    display: block;
    text-align: center;
  }
  #section01 .imgcontentsover {
    -ms-grid-columns: 1fr;
    grid-template-columns: 1fr;
  }
  #section01 .gridbox {
    -ms-grid-columns: 1fr;
    grid-template-columns: 1fr;
    row-gap: 30px;
  }
  #section01 .btnbox a {
    padding: 10px 40px 10px 20px;
    display: block;
    text-align: center;
  }
  #section01 .btnbox a:after {
    top: 22px;
  }
  #section02 .h4box:after {
    width: 50px;
    height: 47px;
  }
  #section03 .h4box:after {
    width: 50px;
    height: 50px;
  }
  #section04 .h4box:after {
    width: 50px;
    height: 42px;
  }
  #section05 .h4box:after {
    width: 48px;
    height: 40px;
  }
  #section06 .h4box:after {
    width: 53px;
    height: 42px;
  }
}