@charset "UTF-8";
/* --------------------------------------------------
 「金のめし丸」県産米 /kensanmai/ 下層共通
-------------------------------------------------- */
body {
  background: url(/meshimaru/img/kensanmai/sub-page-title-back.png) center 0 / 83.25px 78.75px;
}
#globalNavi .has-sub > a.kensanmai {
  color: #ffff00;
}
#sub-page-title .h-image {
  margin: 12px;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
}
#sub-page-title .h-image::after {
  content: '';
  width: 100%;
  height: 100%;
	background: linear-gradient(to right, rgba(255,255,255,0) 25%, rgba(255,255,255,.6) 50%, rgba(255, 255, 255, 0) 75%);
  position: absolute;
	left: -100%;
	top: 0;
	transform: skewX(-15deg);
  animation: 2.5s 0s shine linear infinite;
  z-index: 10;
}
@keyframes shine {
  20% {
    left: 100%;
  }
  100%{
    left: 100%;
  }
}
#sub-page-title nav li:nth-child(1) a {
  padding-left: 98px;
  background: #86c03f url(/meshimaru/img/kensanmai/nav01.png) no-repeat 22px center / 56px auto;
}
#sub-page-title nav li:nth-child(2) a {
  padding-left: 112px;
  background: #86c03f url(/meshimaru/img/kensanmai/nav02.png) no-repeat 0 10px / 105px auto;
}
#sub-page-title nav li:nth-child(3) a {
  padding-left: 98px;
  background: #86c03f url(/meshimaru/img/kensanmai/nav03.png) no-repeat 18px 0 / 70px auto;
  font-size: 1.404rem;
  letter-spacing: .06em;
  line-height: 1.4;
}
@media screen and (max-width: 1000px) {
 #globalNavi .has-sub > a.kensanmai {
    color: #42210b;
  }
}
@media screen and (max-width: 767px) {
  #sub-page-title nav li:nth-child(1) a {
    padding: 10px 0;
    background: #86c03f url(/meshimaru/img/kensanmai/nav01.png) no-repeat center bottom 5px / auto 52px;
  }
  #sub-page-title nav li:nth-child(2) a {
    padding: 10px 0;
    background: #86c03f url(/meshimaru/img/kensanmai/nav02.png) no-repeat center bottom -16px / auto 70px;
  }
  #sub-page-title nav li:nth-child(3) a {
    padding: 10px 0;
    background: #86c03f url(/meshimaru/img/kensanmai/nav03.png) no-repeat center bottom -5px / auto 60px;
    font-size: 1.15rem;
    letter-spacing: -.05em;
    line-height: 1.4;
  }
}

/* --------------------------------------------------
 農産物検査
-------------------------------------------------- */
#page section {
  padding: 100px 0 270px;
}
#page h2 {
  margin-bottom: 60px;
  text-align: center;
}
#page .flow {
  margin-bottom: 40px;
  padding: 64px 52px;
  background: #fff;
  border-radius: 25px;
}
#page .flow ol {
  list-style: none;
  display: flex;
}
#page .flow li {
  width: 272px;
  display: flex;
}
#page .flow li:nth-child(4) {
  width: 82px;
}
#page .flow li strong {
  width: 82px;
  height: 375px;
  background: #79b625;
  border-radius: 12.5px;
  color: #fff;
  font-size: 2.75rem;
  font-weight: 700;
  letter-spacing: .22em;
  line-height: 1.2;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  writing-mode: vertical-rl;
}
#page .flow li:nth-child(2) strong {
  color: #ffff00;
}
#page .flow li dl {
  padding: 0 8px;
  width: 100%;
  display: flex;
  flex-direction: column;
}
#page .flow li dt {
  padding-bottom: 5px;
  height: 160px;
  font-size: 2.25rem;
  font-weight: 900;
  letter-spacing: .22em;
  text-align: center;
}
#page .flow li dd {
  padding-top: 18px;
  height: 100%;
  text-align: center;
  position: relative;
}
#page .flow li dd::before {
  content: '';
  width: calc(100% - 16px);
  height: 3px;
  background: #3f230f;
  display: block;
  position: absolute;
  top: 0;
}
#page .flow li dd::after {
  content: '';
  width: 16px;
  height: 20px;
  background: #3f230f;
  clip-path: polygon(0 0, 100% 50%, 0 100%);
  position: absolute;
  right: 0;
  top: -8.5px;
}
#page .flow li dd p {
  font-size: 1.625rem;
  font-weight: 700;
  letter-spacing: .12em;
  line-height: 1.5;
  text-align: left;
  display: inline-block;
}
#page .flow li dd p sup {
  vertical-align: top;
}
#page .flow li dd div {
  padding: 0 10px;
  width: 100%;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: .07em;
  line-height: 1.3;
  text-align: left;
  position: absolute;
  bottom: 0;
}
#page .flow + p {
  margin: 0 auto;
  max-width: 700px;
  font-size: 2.0rem;
  font-weight: 700;
}
@media screen and (max-width: 1000px) {
  #page .flow li dt {
    font-size: 1.8rem
  }
}
@media screen and (max-width: 767px) {
  #page section {
    padding: 66px 0 120px;
  }
  #page .flow {
    padding: 34px 0;
  }
  #page .flow ol {
    margin: 0 auto;
    width: 250px;
    flex-direction: column;
  }
  #page .flow li {
    width: 250px;
    flex-direction: column;
  }
  #page .flow li:nth-child(4) {
    width: 250px;
  }
  #page .flow li strong {
    width: 100%;
    height: 50px;
    font-size: 2rem;
    writing-mode: horizontal-tb;
  }
  #page .flow li:nth-child(2) strong {
    font-size: 1.678rem;
  }
  #page .flow li dl {
    padding: 5px 0;
    height: 128px;
    flex-direction: row;
  }
  #page .flow li dt {
    padding-bottom: 0;
    width: 122px;
    height: 100%;
    font-size: 1.509rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }
  #page .flow li dt img {
    margin-bottom: 5px;
    width: auto;
    height: 56px;
  }
  #page .flow li dd {
    padding: 0 0 0 12px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
  }
  #page .flow li dd::before {
    width: 2px;
    height: calc(100% - 10px);
    left: 0;
  }
  #page .flow li dd::after {
    width: 12px;
    height: 10px;
    clip-path: polygon(0 0, 100% 0, 50% 100%);
    left: -5px;
    right: auto;
    top: auto;
    bottom: 0;
  }
  #page .flow li dd p {
    font-size: 1.2rem;
  }
  #page .flow li:nth-child(3) dd p br {
    display: none;
  }
  #page .flow li dd div {
    padding: 0;
    font-size: .8rem;
    position: static;
  }
  #page .flow + p {
    font-size: 1.6rem;
    line-height: 1.875;
  }
}

/* --------------------------------------------------
  アニメーション
-------------------------------------------------- */
.fadeInWrap .fadeIn {
  opacity: 0;
  transform: translate3d(0, 15px, 0);
  transition-duration: 1s;
  transition-timing-function: ease;
  transition-property: opacity, transform;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}
.fadeInWrap.active .fadeIn {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}
.delay01 {
  transition-delay: 0s;
}
.delay02 {
  transition-delay: 0.4s;
}
.delay03 {
  transition-delay: 0.8s;
}
/* 背景 */
.img-onigiri {
  top: -65px;
  left: -85px;
}
.img-gohan {
  top: 60%;
  right: -210px;
}
.img-kome {
  bottom: -420px;
  left: -20px;
}
@media screen and (max-width: 767px) {
  .img-onigiri {
    left: -85px;
    top: 62px;
  }
  .img-gohan {
    top: 66%;
    right: -55px;
  }
  .img-kome {
    bottom: -22.5%;
    left: -10px;
  }
}