/* WEB販売リンク挿入
------------------------- */
.block-tab ul li.webmonopoly a {
  background: #d61518 !important;
  color: #fff !important;
}

.block-tab ul li.webmonopoly a:hover {
  background: #707070 !important;
}

.block-tab ul li.webmonopoly a:before,
#contents_main .ypd_buy ul li .btn a:before {
  font: normal normal normal 14px/1 FontAwesome;
  content: "\f07a";
  display: inline-block;
  margin-right: 8px;
  font-size: 1.2em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

@media screen and (min-width: 993px) {
  .block-tab ul li.webmonopoly {
    float: right !important;
  }
}

/* 再定義
------------------------- */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

#contents_main .column {
  margin-bottom: 7rem;
  margin-top: inherit;
  padding-top: inherit;
}

@media screen and (min-width: 768px) {
  #contents_main .column {
    margin-bottom: 8rem;
  }
}

#contents_main .column.line {
  margin-bottom: 3.5rem;
  padding-bottom: 3.5rem;
}

@media screen and (min-width: 768px) {
  #contents_main .column.line {
    margin-bottom: 4rem;
    padding-bottom: 4rem;
  }
}

#contents_main .s_column {
  margin-bottom: 5rem;
  margin-top: 0;
  padding-top: 0;
}

#contents_main .s_column.line {
  margin-bottom: 2.5rem;
  padding-bottom: 2.5rem;
}

#contents_main .column:before,
#contents_main .s_column:before,
#contents_main .column:after,
#contents_main .s_column:after {
  content: none;
}

#contents_main .ss_column {
  margin-bottom: 3rem;
  margin-top: 0;
  padding-top: 0;
}

#contents_main .vert-t2 {
  margin-top: 2rem;
}

#contents_main .vert-t3 {
  margin-top: 3rem;
}

/* テキスト
------------------------- */
#contents_main h2.ttl-line {
  color: #dd0000;
  font-size: clamp(2.125rem, 1.989rem + 0.68vw, 2.5rem);
  line-height: 1.3em;
  position: relative;
  padding: 0 13%;
  text-align: center;
  margin: 0 0 1em 0;
}

#contents_main h2.ttl-line:before {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 4px;
  content: '';
  transform: translateY(-50%);
  background: #dd0000;
}

#contents_main h2.ttl-line span {
  display: block;
  position: relative;
  padding: 0 2rem;
  background: white;
}

#contents_main h2.ttl-line.black {
  color: black;
}

#contents_main h2.ttl-line.black:before {
  background: black;
}

#contents_main h3.ttl_bar {
  font-size: clamp(1.125rem, 1.034rem + 0.45vw, 1.375rem);
  margin-bottom: 3rem;
}

#contents_main h3.ttl_bar .title {
  font-size: inherit;
}

#contents_main h5,
#contents_main h6 {
  font-size: clamp(1rem, 0.955rem + 0.23vw, 1.125rem);
  margin-bottom: 1rem;
}

#contents_main h5.line,
#contents_main h6.line {
  padding-left: 10px;
  color: black;
  border-left: 5px solid #909090;
}



#contents_main ol.number {
  list-style: none;
  counter-reset: number;
}

#contents_main ol.number li {
  display: flex;
  position: relative;
  gap: 0.3rem;
  flex-wrap: nowrap;
  background-color: #f0f0f0;
  padding: 0.3rem 0.6rem;
}

#contents_main ol.number li+li {
  margin-top: 0.5em;
}

#contents_main ol.number li::before {
  background-color: black;
  border-radius: 50%;
  color: white;
  counter-increment: number;
  content: counter(number);
  font-size: 10px;
  font-weight: 600;
  height: 1.1rem;
  left: 0;
  line-height: 1.1rem;
  text-align: center;
  width: 1.1rem;
}

#contents_main .pointBlock ol.number li {
  background-color: transparent;
  padding: 0;
}

#contents_main .pointBlock ol.number li+li {
  margin-top: 0.8em;
}

#contents_main .pointBlock ol.number li {
  background-color: transparent;
  padding: 0;
}

#contents_main .pointBlock ol.number li+li {
  margin-top: 0.8em;
}

#contents_main .pointBlock ol.number li::before {
  height: 1.2rem;
  line-height: 1.2rem;
  width: 1.2rem;
}



#contents_main ol.number.flex {
  display: flex;
  gap: 0.8rem 1rem;
  flex-wrap: wrap;
}

#contents_main ol.number.flex li {
  margin: 0;
}

#contents_main ol.number.flex li+li {
  margin-top: 0;
}


/* 機能紹介
------------------------- */
#contents_main .item-outline {
  display: grid;
  gap: 1.5rem 3rem;
  grid-template-columns: 1fr;
}

@media screen and (min-width: 768px) {
  #contents_main .item-outline {
    grid-template-columns: 1fr 18rem;
  }
}

#contents_main .item-outline li {
  margin-top: 0;
}

#contents_main .item-outline .item-outline-img img {
  height: auto;
  max-width: 18rem !important;
  width: 100%;
  margin-inline: auto;
}

@media screen and (min-width: 768px) {
  #contents_main .item-outline.u-small {
    grid-template-columns: 1fr 14rem;
  }
}

#contents_main .item-outline.u-small .item-outline-img img {
  max-width: 15rem !important;
}


/* その他機能
------------------------- */
#contents_main .other .other-outline {
  display: grid;
  gap: 1rem 3rem;
  grid-template-columns: 1fr;
}

@media screen and (min-width: 768px) {
  #contents_main .other .other-outline {
    grid-template-columns: 1fr 26%;
  }
}

#contents_main .other .other-outline li {
  margin-top: 0;
}

#contents_main .other .other-outline .other-outline-img img {
  height: auto;
  max-width: 220px !important;
  width: 100%;
  margin-inline: auto;
}

#contents_main .other .pr-banner {
  box-sizing: border-box;
  box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
  width: 100%;
}

@media screen and (min-width: 768px) {
  #contents_main .other .pr-banner {
    max-width: 444px;
  }
}

#contents_main .other .pr-banner a {
  align-items: center;
  border: 3px solid #13BF57;
  border-radius: 4px;
  display: flex;
  gap: 1rem;
  justify-content: start;
  flex-wrap: nowrap;
  padding: 1rem;
}

#contents_main .other .pr-banner a p {
  margin-bottom: 0;
}

#contents_main .other .pr-banner a p+p {
  margin-top: 0;
}

#contents_main .other .pr-banner a p strong {
  display: block;
  font-size: clamp(1rem, 0.955rem + 0.23vw, 1.125rem);
  margin-bottom: 6px;
  color: #13BF57;
}

#contents_main .other .pr-banner a p i {
  font-size: clamp(1rem, 0.955rem + 0.23vw, 1.125rem);
}

#contents_main .other .pr-banner a p:last-child {
  margin-left: auto;
}

#contents_main .other .pr-banner a p img {
  height: auto;
  max-width: 80px !important;
  width: 100%;
  margin-inline: auto;
}

#contents_main .other .pr-banner a:hover,
#contents_main .other .pr-banner a:hover p strong {
  color: #707070;
  text-decoration: none;
}

#contents_main .other .pr-banner a:hover {
  border-color: #707070;
}

/* その他概要
------------------------- */
#contents_main .base-outline {
  display: grid;
  gap: 0 1rem;
  grid-template-columns: 1fr;
}

@media screen and (min-width: 768px) {
  #contents_main .base-outline {
    gap: 1rem;
    grid-template-columns: 1fr 1fr;
  }
}

#contents_main .base-outline li {
  margin-top: 0;
}

@media screen and (max-width: 768px) {
  #contents_main .base-outline li+li {
    border-top: 1px solid #e0e0e0;
    margin-top: 2rem;
    padding-top: 2rem;
  }
}

@media screen and (min-width: 768px) {
  #contents_main .base-outline .base-outline-box {
    border: 1px solid #c4c4c4;
    padding: 1rem;
  }
}

#contents_main .base-outline .base-outline-box h5 {
  color: #8a6c01;
  font-size: clamp(1rem, 0.955rem + 0.23vw, 1.125rem);
  line-height: 1.5;
  margin: 0;
}

#contents_main .base-outline .base-outline-box h5+p {
  margin-top: 0.5rem;
}

#contents_main .base-outline .base-outline-box p {
  margin: 0;
}

/* SDGSパッケージ説明
------------------------- */
#contents_main .sdgs {
  background-color: #bee9a1;
  border: 4px solid #75bb46;
  border-radius: 0.4rem;
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
  margin-bottom: 5rem;
  padding: 1.5rem;
}

@media screen and (min-width: 768px) {
  #contents_main .sdgs {
    grid-template-columns: 1fr 20%;
  }
}

#contents_main .sdgs h3 {
  margin-bottom: 1rem;
  position: relative;
}

#contents_main .sdgs h3:after {
  position: absolute;
  content: " ";
  display: block;
  border-bottom: solid 2px #303030;
  bottom: -2px;
  width: 25%;
}

#contents_main .sdgs p {
  line-height: 1.6;
  margin-bottom: 0;
}

#contents_main .sdgs p+p,
#contents_main .sdgs img+p {
  margin-top: 0.5rem;
}

#contents_main .sdgs img {
  height: auto;
  max-width: 150px !important;
  width: 100%;
}

#contents_main .sdgs .sdgs-img p.sup {
  text-align: center;
}



.block-lead-item h1+p {
  align-items: center;
  display: flex;
  justify-content: center;
  margin-top: 1.5em;
}

.block-lead-item h1+p span+span {
  margin-left: 1.4em;
}

.block-lead-item h1+p span.product_market {
  font-size: 14px;
  display: inline;
  border: solid #fff 1px;
  border-radius: 3px;
  padding: 4px 8px;
  font-weight: 400;
}

@media screen and (min-width: 768px) {
  .block-lead-item h1+p {
    justify-content: flex-start;
  }

  .block-lead-item h1+p span+span {
    margin-left: 1.2em;
  }

  .block-lead-item h1+p span.product_market {
    border-radius: 4px;
    padding: 6px 10px;
  }
}