/*
Theme Name: ja-toyamashi Child
Theme URI: 
Template: ja-toyamashi
Description: 
Author: 
Tags: 
Version: 0.6.0
*/

/*既に使用している名称*/
/*.pil .eia .ebn .spk*/
/*.ptr*/
/*汎用パーツ*/
/**/

/*営農情報CSS*/
ul.a ul.ptr {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1em;
}

ul.a ul.ptr > li {
  margin: 0;
}

.purchase {
  border: 1px solid #00a75b;
  border-radius: 16px;
  text-align: center;
  width: 65%;
  margin: auto;
}

@media screen and (max-width: 767px) {
  .purchase {
    width: 100%;
  }
}

.pds.purchase {
  margin-right: auto;
  margin-left: auto;
}

.purchase .purchase-box > p:first-child {
  background-color: #00a75b;
  color: #fff;
  border-radius: 16px 16px 0 0;
  margin-top: -1px;
  margin-bottom: 0;
  padding: 0.5em 0;
}

.purchase .purchase-tel span.note {
  font-size: 0.8em;
}

@media screen and (max-width: 767px) {
  .purchase .purchase-tel span.note {
    font-size: 1em;
  }
}

.purchase .purchase-tel p {
  margin: 0.5em 0;
}

.purchase .purchase-tel > div {
  font-size: 1.5em;
  margin: 0.5em 0;
  font-weight: bold;
  color: #eb6110;
}

.purchase .purchase-tel > div a {
  color: #eb6110;
}

.trade {
  margin-top: 2em;
}

.trade table {
  width: 80%;
  margin: auto;
}

@media screen and (max-width: 767px) {
  .trade table {
    width: 100%;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .trade table {
    width: 100%;
  }
}

.trade > p {
  text-align: center;
  margin-bottom: 0.5em;
  color: #00a75b;
}

.trade table th {
  border-color: #ccc;
  background-color: #00a75b;
  color: #fff;
}

.trade table td {
  border-color: #ccc;
}

.b.spk > li {
  display: grid;
  grid-template-columns: 2fr 4fr;
  gap: 3em;
  margin: 0;
  margin-bottom: 1em;
}

.b.spk > li > div > p {
  font-size: 16px;
}

.pds.mnnk .pds-1t1p {
  display: flex;
  flex-direction: row-reverse;
  /* grid-template-columns: 4fr 2fr; */
  gap: 3em;
  margin: 0;
  margin-bottom: 1em;
}

@media screen and (max-width: 767px) {
  .pds.mnnk .pds-1t1p {
    flex-direction: column-reverse;
    gap: 1em;
  }
}

.pds.buy {
  border: 1px solid #00a75b;
  border-radius: 16px;
  text-align: center;
}

.pds .buy-box > p:first-child {
  background-color: #00a75b;
  color: #fff;
  border-radius: 16px 16px 0 0;
  margin-top: -1px;
  margin-bottom: 0;
  padding: 0.5em 0;
}

.buy-tel {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background-color: #ccc;
  /* border: 1px solid #ccc; */
  border-radius: 16px;
}

@media screen and (max-width: 767px) {
  .buy-tel {
    display: block;
    background-color: transparent;
  }
}

.buy-tel > li {
  background-color: #fff;
  margin: 0;
}

@media screen and (max-width: 767px) {
  .buy-tel > li {
    margin: 0 1em;
  }
}

.buy-tel > li:first-child {
  border-bottom-left-radius: 16px;
}

@media screen and (max-width: 767px) {
  .buy-tel > li:first-child {
    border-bottom-left-radius: 0;
  }
}

.buy-tel > li:last-child {
  border-bottom-right-radius: 16px;
}

@media screen and (max-width: 767px) {
  .buy-tel > li:not(li:last-child) {
    border-bottom: 1px dotted #000;
  }
}

.buy .buy-tel p {
  font-size: 16px;
  margin: 0.5em 0;
}

.seikatsu-info-gas .pds iframe {
  margin: 0;
  margin-top: 1em;
}

.lbl-heading {
  position: relative;
  margin-top: 1.1rem;
  margin-bottom: 0.2rem;
  align-items: center;
  padding-left: 1rem;
  font-size: 16px;
}

.lbl-heading:before {
  content: "";
  inline-size: 0.3rem;
  height: 100%;
  display: block;
  position: absolute;
  background: #00a75b;
  top: 50%;
  left: 0;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
}

.pds-lbl.-col2 {
  display: flex;
}

@media screen and (max-width: 767px) {
  .pds-lbl.-col2 {
    display: block;
  }
}

.pds-lbl.-col2 > * {
  width: 50%;
}

@media screen and (max-width: 767px) {
  .pds-lbl.-col2 > * {
    width: 100%;
  }
}

.net-bank .pds-lbl.-col2 dl dd {
  padding-left: 1em;
}

.product-overview-manual .pds-unit ul li {
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
  padding-left: 1em;
  border-bottom: 1px dotted #ccc;
}

.jiman-toyama-rice figure {
  /* height: 200px; */
  overflow: hidden;
}

@media screen and (max-width: 767px) {
  .jiman-toyama-rice figure {
    margin-bottom: 1em;
  }
}

.jiman-toyama-rice > .pds-3pic figure img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/**/
.shop-banner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1em;
  text-align: center;
}

@media screen and (max-width: 767px) {
  .shop-banner {
    grid-template-columns: repeat(2, 1fr);
  }
}

.shop-banner > a {
  padding: 1em 0.5em;
  border: 2px solid #000;
  border-radius: 10px;
}

.shop-banner > a:nth-of-type(1) {
  border-color: #e47911;
}

.shop-banner > a:nth-of-type(2) {
  border-color: #bf0000;
}

.shop-banner > a:nth-of-type(3) {
  border-color: #ff0033;
}

.shop-banner > a:nth-of-type(4) {
  border-color: #ff4215;
}

/**/
.mnnk-member {
  display: flex;
  height: 400px;
  background-color: #009944;
  overflow: hidden;
  position: relative;
}

@media screen and (max-width: 767px) {
  .mnnk-member {
    flex-direction: column;
    height: auto;
  }
  .mnnk-member.pds-unit {
    margin-right: calc(50% - 50vw);
    margin-left: calc(50% - 50vw);
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .mnnk-member {
    height: 500px;
  }
}

.mnnk-member figure.img-box {
  margin: 0;
  flex: 1.8;
  background-image: url("https://ja-toyamashi.or.jp/wordpress/wp-content/uploads/24341147_m.jpg");
  background-size: cover;
  background-position: center;
  border-top-right-radius: 325px 100%;
  position: relative;
  z-index: 2;
}

@media screen and (max-width: 767px) {
  .mnnk-member figure.img-box {
    flex: none;
    height: 300px;
    width: 100%;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
  }
}

.mnnk-member .content {
  flex: 2;
  padding: 100px 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #fff;
  z-index: 1;
}

@media screen and (max-width: 767px) {
  .mnnk-member .content {
    flex: none;
    padding: 40px 20px;
  }
}

.mnnk-member h3 {
  font-size: 2em;
  text-align: center;
}

.mnnk-member p.note {
  text-align: left;
}

.mnnk-member p.inq {
  text-align: left;
  background-color: #e47911;
  padding: 0.5em;
  border-radius: 10px;
}

.mnnk-member p.inq a {
  color: #fff;
}

/*お買上代金請求書*/
.p-invoice-cnt {
  align-items: stretch;
}

.p-invoice-cnt .pds-unit figure.img-figure {
  height: 0;
  min-height: 100%;
}

@media screen and (max-width: 767px) {
  .p-invoice-cnt .pds-unit figure.img-figure {
    height: 100%;
  }
}

.p-invoice-cnt .pds-unit figure.img-figure img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@media screen and (max-width: 767px) {
  .p-invoice-cnt img.m-0a-sp {
    width: 150px;
  }
}
