@charset "UTF-8";

.main_container{margin-top:3%;padding-bottom:5%;}

#sg_article h1 {
  font-size: 1.5em;
  line-height: 1.4;
  margin-top:0;
}

#sg_article h2 {
  font-size: 1.4em;
  border-top: solid 2px #000;
  border-bottom: solid 2px #000;
  padding: 1em 0.75em;
  font-weight: 700;
  margin: 4em 0 2em;
}

#sg_article h3 {
  font-size: 1.3em;
  /* margin-bottom: 1em; */
}

#sg_article h3.sg_heading {
  border-left: solid 4px #000;
  padding: .25em 0 .25em 16px;
  line-height: 1.4;
  margin: 3em 0 2em;
}

#sg_article h4 {
  font-size: 1.2em;
  margin-bottom: 0.2em;
}

#sg_article div:after,
#sg_article dl:after,
#sg_article ul:after {
  display: none;
}

#sg_article .sg_mb-0 {
  margin-bottom: 0 !important;
}

#sg_article .sg_sp-only {
  display: none;
}

#sg_article .sg_textRight {
  text-align: right;
}

#sg_article .sg_btnWrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px 0;
}

#sg_article .sg_btn {
  background: #000;
  border-radius: 80px;
  display: inline-block;
  letter-spacing: 1px;
  line-height: 1.5;
  margin: 0 auto;
  min-width: 80%;
  padding: 1em 1.5em;
  position: relative;
  text-decoration: none;
  width: auto;
  color: #fff;
  text-align: center;
  font-weight: 700;
  transition: box-shadow .25s;
}

#sg_article .sg_btn.amazon {
  background-color: #ffd712;
  color: #000;
}

#sg_article .sg_btn:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, .1), 0 12px 24px -12px rgba(0, 0, 0, .2);
  opacity: 1;
}

#sg_article .sg_articleThumb {
  margin: 2em 0;

  text-align: center;
  width: 100%;
}

#sg_article .sg_underline {
  text-decoration: underline;
  font-weight: 700;
}

#sg_article .sg_flex-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
}

#sg_article .sg_flex-container::after {
  display: none;
}

#sg_article .sg_flex-insta {
  width: 45%;
  padding: calc((1225 / 980 * 45%) + 208px) 0 0;
  position: relative;
}

#sg_article .sg_flex-insta iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

#sg_article .sg_flex-contents {
  width: 52%;
}

#sg_article .sg_flex-item {
  width: 48%;
}

#sg_article .sg_contentsDate {
  margin-top: .75em;
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  font-size: 12px;
  gap: .625em;
  padding: 0 1px;
}

#sg_article .sg_contentsDate .release_date {
  opacity: .8;
  display: flex;
  align-items: center;
}

#sg_article .sg_contentsDate .release_date::before {
  content: "";
  display: inline-block;
  width: 1em;
  height: 1em;
  background-image: url(../images/icon_release.png);
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  margin-right: .325em;
}

@media screen and (max-width: 959px) {
  #sg_article .sg_pc-only {
    display: none;
  }

  #sg_article .sg_sp-only {
    display: block;
  }

}

@media screen and (max-width: 781px) {

  #sg_article .sg_flex-insta.width,
  #sg_article .sg_flex-contents.width,
  #sg_article .sg_flex-item.width {
    width: 100%;
  }

  #sg_article .sg_flex-insta {
    padding: calc((1225 / 980 * 100%) + 208px) 0 0;
  }

  #sg_article .sg_flex-container>div:first-of-type {
    margin-bottom: 1.5rem;
  }
}

@media screen and (max-width: 599px) {
  #sg_article h1 {
    font-size: 5vw;
  }

  #sg_article h2 {
    font-size: 1.2em;
  }

  #sg_article h3 {
    font-size: 1.1em;
  }

  #sg_article h4 {
    font-size: 1.05em;
  }

  #sg_article .sg_btn {
    min-width: 100%;
  }
}

#sg_article .sg_post_content {
  margin: 4em 0;
  padding: 0 16px;
  margin-top:2em;
}

#sg_article .sg_post_content p,
#sg_article .sg_post_content figure,
#sg_article .sg_post_content div,
#sg_article .sg_post_content ul {
  margin-bottom: 1em;
}

@media screen and (max-width: 959px) {
  #sg_article .sg_post_content {
    padding: 0;
  }
}


#sg_article .sg_cap-box {
  padding: 2em;
  background: #fff;
}

#sg_article .sg_cap-box>p {
  margin-bottom: 1em;
}

#sg_article .sg_cap-box .sg_cap-box-ttl {
  font-size: 1.25em;
  font-weight: 700;
  margin-bottom: 1em;
}

#sg_article .sg_cap-box .sg_cap-box-contents {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}

#sg_article .sg_cap-box .sg_cap-box-contents::after {
  display: none;
}

#sg_article .sg_cap-box .sg_cap-box-contents figure {
  flex-basis: 32.5%;
  border-radius: 9999px;
  overflow: hidden;
  margin-bottom: 0;
}

#sg_article .sg_cap-box .sg_cap-box-contents .sg_cap-box-text {
  flex-basis: 64.5%;
}

#sg_article .sg_cap-box .sg_cap-box-contents .sg_cap-box-name {
  font-size: 1.3em;
}

#sg_article .sg_cap-box .sg_cap-box-contents span {
  font-size: .75em;
  line-height: 2.0;
}

@media screen and (max-width: 781px) {

  #sg_article .sg_cap-box .sg_cap-box-contents figure,
  #sg_article .sg_cap-box .sg_cap-box-contents .sg_cap-box-text {
    flex-basis: 100%;
  }

  #sg_article .sg_cap-box .sg_cap-box-contents figure {
    margin-bottom: 1.5em;
  }
}

@media screen and (max-width: 599px) {
  #sg_article .sg_cap-box {
    padding: 1.5em;
  }
}

#sg_article .sg_toc {
  width: 100%;
  margin: 4em auto;
  max-width: 800px;
  padding: 1.25em 1.25em 4em;
  border: 1px solid rgba(199, 199, 199, 0.5);
  position: relative;
  max-height: 370px;
  background-color: #fff;
  /* 開く前に見せたい高さを指定 */
  overflow: hidden;
  transition: max-height 1s;
  box-sizing: border-box;
}

#sg_article .sg_toc:has(:checked) {
  max-height: 100%;
}

#sg_article .sg_toc::after {
  display: block;
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 150px;
  background: linear-gradient(180deg, hsla(0, 0%, 97%, 0) 0, hsla(0, 0%, 97%, .9) 50%, hsla(0, 0%, 97%, .9) 0, #f7f7f7);
  content: '';
  visibility: visible;
}

#sg_article .sg_toc:has(:checked)::after {
  content: none;
}

#sg_article .sg_toc__ttl {
  border-bottom: 1px dashed rgba(199, 199, 199, 0.5);
  margin-bottom: 1em;
  padding: 0 0.5em 0.75em;
  text-align: left;
  display: block;
  font-size: 1.2em;
  line-height: 1;
  position: relative;
}

#sg_article ul.sg_is-style-index {
  padding-left: 0;
}

#sg_article ul.sg_is-style-index li {
  padding-left: 1.25em;
  position: relative;
  margin: 0.25em 0;
}

#sg_article ul.sg_is-style-index>li:before {
  background-color: currentColor;
  border-radius: 50%;
  color: inherit;
  content: "";
  display: block;
  height: 6px;
  left: 2px;
  position: absolute;
  top: 0.75em;
  width: 6px;
}

#sg_article ul.sg_toc__childList {
  padding-left: .5em;
  font-size: 0.9em;
}

#sg_article ul.sg_toc__childList>li {
  line-height: 1.6;
}

#sg_article ul.sg_toc__childList>li:before {
  background: none;
  border-bottom: 2px solid;
  border-left: 2px solid;
  border-radius: 0;
  box-shadow: none;
  color: inherit;
  content: "" !important;
  height: calc(1em - 2px);
  left: .25em;
  opacity: .75;
  position: absolute;
  top: 0;
  -webkit-transform: none;
  transform: none;
  -webkit-transform: scale(.75);
  transform: scale(.75);
  -webkit-transform-origin: 50% 100%;
  transform-origin: 50% 100%;
  width: 6px;
}

#sg_article ul.sg_toc__childList>li>a {
  line-height: 1;
}

#sg_article .sg_toc__labelWrap {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

#sg_article .sg_toc__labelWrap::before,
#sg_article .sg_toc__labelWrap::after {
  content: '';
  width: 100%;
  width: 22px;
  position: absolute;

  border-top-color: rgba(0, 0, 0, .2);
  border-top-style: dotted;
  border-top-width: 3px;
  display: block;
  height: 1px;
  top: calc(50% - 1px);
  transition: border-color .25s;
  visibility: visible;
}

#sg_article .sg_toc__labelWrap::before {
  right: calc(100% + 1em);
}

#sg_article .sg_toc__labelWrap::after {
  left: calc(100% + 1em);
}

#sg_article .sg_toc:has(:checked) .sg_toc__labelWrap::before,
#sg_article .sg_toc:has(:checked) .sg_toc__labelWrap::after {
  display: none;
}

#sg_article .sg_toc label {
  display: flex;
  align-items: center;
  gap: 0 10px;
  font-size: 14px;
  background-color: #f7f7f7;
  border: rgba(0, 0, 0, .2);
  border-radius: 5em;
  box-shadow: 0 0 0 1px #bbb;
  color: #333;
  line-height: 1.5;
  min-width: 6em;
  padding: .5em 1em;
  transition: box-shadow .25s;
}

#sg_article .sg_toc label:hover {
  cursor: pointer;
}

#sg_article .sg_toc label::before {
  content: 'もっと見る';
}

#sg_article .sg_toc:has(:checked) label::before {
  content: '折りたたむ';
}

#sg_article .sg_toc input {
  display: none;
}

@media screen and (max-width: 599px) {
  #sg_article .sg_toc {
    max-height: 70vw;
  }
}


#sg_article .sg_pointWrap {
  margin-bottom: 1em;
}

#sg_article .sg_pointWrap .sg_point-ttl {
  display: inline-flex;
  font-size: .85em;
  left: 1em;
  line-height: 1;
  margin-bottom: 0;
  padding: .5em .75em;
  position: relative;
  text-align: center;
  top: 1em;
  z-index: 1;
  background: #000;
  color: #fff;
}

#sg_article .sg_pointBox {
  padding: 2em 1.5em 1.5em;
  border: 1px solid #000;
}

#sg_article .sg_pointBox p:last-child {
  margin-bottom: 0;
}

@media screen and (max-width: 1019px) {}

@media screen and (max-width: 959px) {}

@media screen and (max-width: 599px) {
  #sg_article .sg_pointBox {
    padding: 1.5em 1.25em 1.25em;
  }
}


#sg_article .sg_pulldownContents {
  transform: translateY(0px) !important;
}

#sg_article .global_header {
  position: static !important;
}


/* パンくずリスト */
#sg_article .Breadcrumb {
  padding: 0;
}

#sg_article .Breadcrumb-ListGroup {
  font-size: 12px !important;
  padding-left: 0;
}

#sg_article .Breadcrumb-ListGroup {
  display: flex;
}

#sg_article .Breadcrumb-ListGroup-Item-Link[href]:hover {
  opacity: 0.5;
}

#sg_article .Breadcrumb-ListGroup>*+* {
  margin-left: 0.5em;
}

#sg_article .Breadcrumb-ListGroup>*+*::before {
  content: ">";
  margin-left: 0.75em;
  margin-right: 0.75em;
}

#sg_article .Breadcrumb-ListGroup>*+*::before {
  margin: 0 !important;
}


/* 時点情報 */
#sg_article .sg_bg-stripe {
  background: linear-gradient(-45deg, transparent 25%, rgba(199, 199, 199, 0.15) 25%, rgba(199, 199, 199, 0.15) 50%, transparent 50%, transparent 75%, rgba(199, 199, 199, 0.15) 75%, rgba(199, 199, 199, 0.15));
  background-clip: padding-box;
  background-size: 6px 6px;
  padding: 1.5em;
  position: relative;
  margin-top: 3.2rem;
  font-size: .75em;
}



/* 一覧表（スクロールヒント） */
#sg_article .sg_scrollHint {
  -webkit-animation: FloatHorizontal 2s ease-in-out infinite alternate;
  animation: FloatHorizontal 2s ease-in-out infinite alternate;
  margin-bottom: 2px !important;
  margin-top: 3em;
  text-align: right;
  font-size: 12px;
  opacity: .75;
}

@media (min-width: 960px) {
  #sg_article .sg_scrollHint.sg_only {
    display: none;
  }
}


/* テーブル */
#sg_article table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}

#sg_article table th,
#sg_article table td {
  padding: 5px;
  min-width: 130px !important;
  line-height: 1.6;
  border: 1px solid #dcdcdc;
}

@media screen and (max-width:768px) {

  #sg_article table th,
  #sg_article table td {
    min-width: 10vw !important;
  }
}


/* 一覧表 */
#sg_article .sg_recommend-list {
  background-color: #fff;
}

#sg_article .sg_recommend-list table {
  min-width: 800px;
}

#sg_article .sg_recommend-list thead {
  border-left: 1px solid;
}

#sg_article .sg_recommend-list thead th {
  background-color: #fff !important;
}

#sg_article .sg_recommend-list th,
#sg_article .sg_recommend-list td {
  padding: 5px;
  min-width: 130px !important;
  line-height: 1.6;
  border-bottom: none;
  border-right: none;
  font-size: 0.8em;
}

#sg_article .sg_recommend-list th:last-child,
#sg_article .sg_recommend-list td:last-child {
  border-right: 1px solid #dcdcdc;
}

#sg_article .sg_recommend-list tbody tr:last-child th,
#sg_article .sg_recommend-list tbody tr:last-child td {
  border-bottom: 1px solid #dcdcdc;
}

#sg_article .sg_recommend-list td a {
  line-height: inherit;
  font-weight: 700;
}

#sg_article .sg_recommend-list th:nth-child(1),
#sg_article .sg_recommend-list td:nth-child(1) {
  max-width: 100px !important;
  min-width: 100px !important;
  width: 100px;
  position: sticky;
  left: 0;
  z-index: 5;
  background-color: #f7f7f7;
}

#sg_article .sg_recommend-list td:nth-child(3),
#sg_article .sg_recommend-list td:nth-child(4) {
  text-align: center;
}

#sg_article .sg_recommend-list .sg_item-img {
  width: 100%;
}

#sg_article .sg_recommend-list .sg_btn {
  display: inline-block;
  letter-spacing: .5px;
  padding: 0.5rem 1rem;
  font-weight: 700;
  line-height: 1.5;
  width: auto;
  font-size: 0.9em;
  white-space: nowrap;
  font-weight: 700;
}

#sg_article .sg_recommend-list tr td:first-child::after,
#sg_article .sg_recommend-list tr th:first-child::after {
  display: none;
}

@media not all and (min-width: 960px) {
  #sg_article .sg_recommend-list table {
    padding-bottom: 16px;
  }

  #sg_article .sg_recommend-list {
    overflow-x: scroll;
  }
}


/* 栄養成分表 */
#sg_article .sg_nutritionFacts th,
#sg_article .sg_nutritionFacts td {
  border-left: none;
  border-right: none;
  font-size: 10px;
}

#sg_article .sg_nutritionFacts thead tr:not(:first-child) th,
#sg_article .sg_nutritionFacts tbody th,
#sg_article .sg_nutritionFacts tbody td {
  border-top: none;
}

#sg_article .sg_nutritionFacts thead {
  background: #e5e4e3;
}

#sg_article .sg_nutritionFacts tbody th {
  text-align: left;
}

#sg_article .sg_nutritionFacts tbody td {
  text-align: center;
}



/* アコーディオン */
#sg_article .sg_accordion {
  width: 100%;
  border-top: 1px solid hsla(0, 0%, 78%, .5);
  border-bottom: 1px solid hsla(0, 0%, 78%, .5);
}

#sg_article .sg_accordion .sg_accordion__title {
  align-items: center;
  cursor: pointer;
  display: flex;
  font-weight: 400;
  justify-content: space-between;
  position: relative;
  padding: 1em;
  font-weight: 700;
}

#sg_article .sg_accordion .sg_accordion__title::after {
  position: relative;
  content: "";
  transition: transform 0.2s;
  width: 0;
  height: 0;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-top: 7px solid black;
}

#sg_article .sg_accordion[open] .sg_accordion__title::after {
  transform: rotate(180deg);
}

#sg_article .sg_accordion .sg_accordion__body {
  border-top: 1px dashed hsla(0, 0%, 78%, .5);
  margin: 0px 0.5em;
  padding: 1em 0.5em;
}

@media screen and (max-width: 599px) {
  #sg_article .sg_accordion .sg_accordion__body {
    padding: 1em 0;
  }
}

/* タブ切り替えコンテンツ */
#sg_article .sg_tabWrap {
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-start;
  overflow-x: auto;
  scroll-behavior: smooth;
  z-index: 1;
  width: 100%;
}

#sg_article .sg_tabWrap::-webkit-scrollbar {
  box-shadow: rgba(0, 0, 0, 0.15) 0px 0px 2px 0px inset;
  height: 11px;
}

#sg_article .sg_tabWrap::-webkit-scrollbar-thumb {
  background: padding-box rgba(199, 199, 199, 0.9);
  border-style: solid;
  border-color: transparent;
  border-image: initial;
  border-radius: 8px;
  border-width: 3px 3px 4px;
}

#sg_article .sg_tabWrap.flavor {
  margin-bottom: 0;
}

#sg_article .sg_tabWrap .sg_tab_label {
  padding: 1em;
  padding-bottom: .75em;
  padding-top: .75em;
  flex: 1;
  cursor: pointer;
  font-size: 14px;
  line-height: 1;
  opacity: .5;
  text-align: center;
  transition: background-color .25s, color .25s;
}

#sg_article .sg_tabWrap.scroll .sg_tab_label {
  flex-shrink: 0 !important;
  flex: auto;
}

#sg_article .sg_tabWrap.item .sg_tab_label {
  border-bottom: 1px solid rgba(51, 51, 51, .4);
  margin: 0 0 .75em;
}

#sg_article .sg_tabWrap.item .sg_tab_label.active {
  color: #000;
  opacity: 1;
  border-bottom: 2px solid rgba(51, 51, 51, 1);
  font-weight: 700;
}

#sg_article .sg_tabWrap.flavor .sg_tab_label.active {
  background: #333;
  color: #f7f7f7;
  opacity: 1;
}

#sg_article .sg_tabWrap.QA {
  justify-content: center;
  overflow-x: auto;
  gap: 0 8px;
}

#sg_article .sg_tabWrap.QA .sg_tab_label {
  opacity: 1;
  background: hsla(0, 0%, 78%, .15);
  transition: background-color 0.25s, color 0.25s;
  position: relative;

  flex: 0 1 auto;
  font-weight: 700;
  margin: 0 0 16px;
}

#sg_article .sg_tabWrap.QA .sg_tab_label::before {
  bottom: -8px;
  content: "";
  display: block;
  height: 0px;
  left: 50%;
  opacity: 0;
  position: absolute;
  transform: translateX(-50%);
  width: 0px;
  border-width: 8px 8px;
  border-style: solid solid;
  border-color: transparent transparent;
  border-image: initial;
  border-bottom: 0px;
  border-top: 8px solid #000;
  transition: opacity 0.25s;
}

#sg_article .sg_tabWrap.QA .sg_tab_label.active,
#sg_article .sg_tabWrap.QA .sg_tab_label:hover {
  background: #000;
  color: #fff;
}

#sg_article .sg_tabWrap.QA .sg_tab_label.active::before,
#sg_article .sg_tabWrap.QA .sg_tab_label:hover:before {
  opacity: 1;
}

#sg_article .sg_tabContentsWrap .sg_tab_content {
  width: 100%;
  display: none;
}

#sg_article .sg_tabContentsWrap .sg_tab_content.active {
  display: block;
}

#sg_article .sg_tabContentsWrap.flavor .sg_tab_content {
  border: 1px solid #333;
  padding: 2em;
}

@media screen and (max-width: 959px) {
  #sg_article .sg_tabWrap .sg_tab_label {
    flex-shrink: 0 !important;
    flex: auto;
  }

  #sg_article .sg_tabWrap.QA {
    justify-content: flex-start;
  }

  #sg_article .sg_tabContentsWrap.flavor .sg_tab_content {
    padding: 1.5em;
  }
}

@media screen and (max-width: 599px) {
  #sg_article .sg_tabWrap .sg_tab_label {
    font-size: 13px;
  }

}

/* よくある質問 */
#sg_article .sg_faq .sg_faq_q,
#sg_article .sg_faq .sg_faq_a {
  line-height: 1.5;
  margin: 0;
  padding: 1em 1em 1em 3em;
  position: relative;
}

#sg_article .sg_faq .sg_faq_q {
  font-weight: 700;
}

#sg_article .sg_faq .sg_faq_q::before,
#sg_article .sg_faq .sg_faq_a::before {
  box-shadow: 0 0 0 1px currentcolor;
  border-radius: 50%;
  bottom: unset;
  display: block;
  font-family: Arial, sans-serif;
  font-weight: 400;
  left: 0;
  line-height: 2;
  position: absolute;
  text-align: center;
  top: .75em;
  width: 2em;
}

#sg_article .sg_faq .sg_faq_q::before {
  content: "Q";
}

#sg_article .sg_faq .sg_faq_a::before {
  content: "A";
}


/* 関連記事 */
#sg_article .sg_postLink {
  background: #fff;
  border-radius: 2px;
  box-shadow: 0 1px 3px 1px rgba(0, 0, 0, .08);
  color: #333;
  padding: 24px;

  align-items: center;
  display: flex;
  justify-content: space-between;
  position: relative;
  transition: box-shadow .25s;
  margin-bottom: 1em;
  line-height: 2;
}

#sg_article .sg_postLink .sg_postCaption {
  position: absolute;
  bottom: 8px;
  right: 8px;

  font-size: 10px;
  left: auto;
  opacity: .8;
  top: auto;
  -webkit-transform: scale(.8);
  transform: scale(.8);
  -webkit-transform-origin: 100% 100%;
  transform-origin: 100% 100%;
  padding: 0 .5em;
}

#sg_article .sg_postLink .sg_postThumb {
  width: 21%;
  margin: 0 1em 0 0;
}

#sg_article .sg_postLink .sg_postThumb .sg_postThumb__figure {
  position: relative;
  width: 100%;
  overflow: hidden;
  margin: 0;
}

#sg_article .sg_postLink .sg_postThumb .sg_postThumb__figure::before {
  padding-top: 56.25%;
  content: "";
  display: block;
}

#sg_article .sg_postLink .sg_postThumb .sg_postThumb__figure img {
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: -webkit-transform .25s;
  transition: transform .25s;
  transition: transform .25s, -webkit-transform .25s;
}

#sg_article .sg_postLink .sg_postBody {
  flex: 1;
  margin: 0;
}

#sg_article .sg_postLink .sg_postBody__title {
  display: block;
  line-height: 1.4;
}

#sg_article .sg_postLink .sg_postBody__description {
  display: block;
  font-size: .8em;
  line-height: 1.4;
  margin-top: .5em;
  opacity: .8;
  word-break: break-word;
}

@media screen and (max-width:959px) {
  #sg_article .sg_postLink .sg_postBody__description {
    display: none;
  }
}

@media not all and (min-width: 600px) {
  #sg_article .sg_postLink .sg_postCaption {
    bottom: 2px;
    right: 4px;
  }

  #sg_article .sg_postLink {
    padding: 16px;
  }

  #sg_article .sg_postLink .sg_postBody__title {
    font-size: 3.6vw;
  }
}


/* おすすめアイテム */
#sg_article .sg_relatedList {
  display: flex;
  flex-wrap: wrap;
}

#sg_article .sg_relatedList .sg_relatedItem {
  display: block;
  width: 25%;
  border-top: 1px solid #dcdcdc;
  border-bottom: 1px solid #dcdcdc;
  display: flex;
  flex-direction: column;
}

#sg_article .sg_relatedList .sg_relatedItem .sg_relatedItem__figure {
  padding: 5px;
  text-align: center;
  margin: 0;
}

#sg_article .sg_relatedList .sg_relatedItem .sg_relatedItem__figure figure {
  margin: 0;
}

#sg_article .sg_relatedList .sg_relatedItem .sg_relatedItem__figure img {
  max-width: 150px;
}

#sg_article .sg_relatedList .sg_relatedItem .sg_relatedItem__name {
  text-align: center;
  padding: 5px;
  font-size: .75em;
  font-weight: 700;
  line-height: 1.75;
  border-top: 1px solid #dcdcdc;
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media screen and (max-width: 959px) {
  #sg_article .sg_relatedList .sg_relatedItem {
    width: 50%;
    border-top: none;
    border-right: 1px solid #dcdcdc;
  }

  #sg_article .sg_relatedList .sg_relatedItem:nth-of-type(1),
  #sg_article .sg_relatedList .sg_relatedItem:nth-of-type(2) {
    border-top: 1px solid #dcdcdc;
  }

  #sg_article .sg_relatedList .sg_relatedItem:nth-of-type(2n + 1) {
    border-left: 1px solid #dcdcdc;
  }

  #sg_article .sg_relatedList .sg_relatedItem .sg_relatedItem__name {
    border: none;
  }
}


/* おすすめレシピ */
#sg_article .sg_recommendRecipeWrap {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

#sg_article .sg_recommendRecipeWrap .sg_recommendRecipe {
  width: calc((100% - 40px) / 3);
}

#sg_article .sg_recommendRecipeWrap .sg_recommendRecipe .sg_recommendRecipe__caption {
  display: block;
  font-size: .75em;
  text-decoration: underline;
}

@media screen and (max-width: 781px) {
  #sg_article .sg_recommendRecipeWrap .sg_recommendRecipe {
    width: 100%;
  }
}

/* 商品スライダー */
#sg_article .sg_sliderItemWrap {
  width: 100%;
  overflow-x: scroll;
}

#sg_article .sg_sliderItemContainer {
  display: flex;
  gap: 0 1.5rem;
}

#sg_article .sg_sliderItemContainer .sg_sliderItem {
  width: 400px;
  text-align: center;
  font-weight: 700;
  flex-shrink: 0;
}

@media screen and (max-width: 959px) {
  #sg_article .sg_sliderItemContainer .sg_sliderItem {
    width: 300px;
  }
}


/* 画像クリックでモーダル拡大表示 */
#sg_article .sg_modalImg {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.6);
  align-items: center;
  justify-content: center;
  animation: modalFadeIn 0.3s;
}

#sg_article .sg_modalImg img {
  max-width: 50%;
  /* 画像の最大幅を親要素(modal)の90%に制限し、画面内に収まるようにする */
  max-height: 100vh;
  /* 画像の最大高さをビューポートの高さ(100vh)に制限し、画面内に収まるようにする  */
  object-fit: contain;
  /* 画像の比率を保持しつつ、指定された高さと幅に収める */
}

#sg_article .sg_clickableImg:hover {
  cursor: zoom-in;
  /* ホバー時にカーソルをズームインのアイコンに変更 */
}

#sg_article .sg_modalImg img:hover {
  cursor: zoom-out;
  /* モーダル内の画像にホバー時にカーソルをズームアウトのアイコンに変更 */
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes modalFadeOut {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
  }
}