@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;
  }
}

/* --------------------------------------------------
 めし丸くんについて
-------------------------------------------------- */
#character {
  padding: 100px 0;
}
#character h2 {
  margin-bottom: 65px;
  display: flex;
  align-items: center;
  justify-content: center;
}
#character .flex {
  display: flex;
  justify-content: center;
  gap: 60px;
}
#character .msmr-img {
  width: 35.2%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 53px;
}
#character .msmr-img img {
  max-width: 100%;
  height: auto;
}
#character .about {
  font-size: 2.5rem;
  font-weight: bold;
  letter-spacing: 0.14em;
  line-height: 2;
}
#character .profile {
  margin-top: 60px;
}
#character .pf-title {
  padding: 10px 0;
  border-radius: 20px 20px 0 0;
  background: #f4e621;
  color: #42210b;
  font-size: 2.97rem;
  font-weight: bold;
  letter-spacing: 0.22em;
  line-height: 1;
  text-align: center;
}
#character .pf-content {
  padding: 25px 40px 30px;
  background: #fff6b8;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  border-radius: 0 0 20px 20px;
}
#character .catch {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.65;
  letter-spacing: 0.01em;
}
#character .catch span {
  display: inline-block;
  width: 55px;
  height: 55px;
  color: #f4e621;
  background: #79b625;
  line-height: 55px;
  text-align: center;
  border-radius: 10vw;
}
#character .pf-content dl {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}
#character .pf-content dl div {
  display: flex;
  align-items: center;
}
#character .pf-content dl dt {
  width: 134px;
  background: #f4e621;
  border-radius: 10vw;
  font-size: 2.0rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  line-height: 28px;
  text-align: center;
  flex-shrink: 0;
}
#character .pf-content dl dt.font-s {
  font-size: 1.7rem;
  letter-spacing: 0.15em;
}
#character .pf-content dl dd {
  margin-left: 10px;
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

/* --------------------------------------------------
 CMギャラリー
-------------------------------------------------- */
#gallery {
  padding: 60px 0 200px;
  background: #fff;
}
#gallery h2 {
  margin-bottom: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}
#gallery ul {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  gap: 4.25%;
  row-gap: 48px;
}
#gallery li {
  width: 30.5%;
}
#gallery li a {
  width: 100%;
}
#gallery li img {
  width: 100%;
}
#gallery li p {
  margin-top: 10px;
  color: #42210b;
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.07em;
  transition: color .3s;
}
#gallery li a:hover {
  text-decoration: none;
}
#gallery li a:hover p {
  color: #79b825;
}
.img-onigiri {
  top: -40px;
  left: -85px;
}
.img-gohan {
  right: -228px;
  bottom: -27%;
}
.img-kome {
  top: 32%;
  left: -100px;
}
.img-hashi {
  bottom: -20%;
  right: 70px;
}
@media screen and (max-width: 767px) {
  #character {
    padding: 70px 0 50px;
  }
  #character h2 {
    margin-bottom: 40px;
  }
  #character h2 img {
    width: 218px;
    height: auto;
  }
  #character .flex {
    flex-direction: column;
    gap: 0;
  }
  #character .flex> div {
    display: contents;
  }
  #character .flex .about {
    order: 1;
    margin-bottom: 60px;
    font-size: 1.8rem;
    line-height: 2.3;
    letter-spacing: 0.08em;
    text-align: center;
  }
  #character .msmr-img img:first-of-type {
    order: 2;
    margin: 0 auto 30px;
    max-width: 220px;
  }
  #character .msmr-img img:nth-of-type(2) {
    order: 3;
    margin: 0 auto;
    max-width: 312px;
    transform: translateX(-3%);
  }
  #character .profile {
    order: 4;
  }
  #character .pf-content {
    padding: 25px 40px 30px;
  }
  #character .catch {
    font-size: 3.3rem;
    line-height: 1.75;
  }
  #character .pf-content dl {
    gap: 12px;
  } 
  #character .pf-content dl dt {
    width: 100px;
    font-size: 1.6rem;
  }
  #character .pf-content dl dt.font-s {
    font-size: 1.3rem;
    letter-spacing: 0.05em;
  }
  #character .pf-content dl dd.font-s {
     font-size: 1.6rem;
     line-height: 1.25;
  }
  #gallery {
    padding: 45px 0 120px;
  }
  #gallery h2 {
    margin-bottom: 45px;
  }
  #gallery h2 img {
    width: 242px;
    height: auto;
  }
  #gallery ul {
    gap: 3.6%;
    row-gap: 28px;
  }
  #gallery li {
    width: 48.2%;
  }
  #gallery li p {
    margin-top: 5px;
    font-size: 1.2rem;
  }
  .img-onigiri {
    top: 35%;
  }
  .img-gohan {
    right: -50px;
    bottom: -140px;
  }
  .img-kome {
    left: -24px;
  }
  .img-hashi {
    bottom: -27%;
    right: auto;
    left: 15%;
    rotate: -73deg;
  }
}
