/** Shopify CDN: Minification failed

Line 329:0 Expected "}" to go with "{"

**/
.article-template > *:first-child:not(.article-template__hero-container) {
  margin-top: 5rem;
}

@media screen and (min-width: 750px) {
  .article-template > *:first-child:not(.article-template__hero-container) {
    margin-top: calc(5rem + var(--page-width-margin));
  }
}

.article-template__hero-container {
  max-width: 130rem;
  margin: 0 auto;
}

.article-template__hero-small {
  height: 11rem;
}

.article-template__hero-medium {
  height: 22rem;
}

.article-template__hero-large {
  height: 33rem;
}

@media screen and (min-width: 750px) and (max-width: 989px) {
  .article-template__hero-small {
    height: 22rem;
  }

  .article-template__hero-medium {
    height: 44rem;
  }

  .article-template__hero-large {
    height: 66rem;
  }
}

@media screen and (min-width: 990px) {
  .article-template__hero-small {
    height: 27.5rem;
  }

  .article-template__hero-medium {
    height: 55rem;
  }

  .article-template__hero-large {
    height: 82.5rem;
  }
}

.article-template header {
  margin-top: 4.4rem;
  margin-bottom: 2rem;
  line-height: calc(0.8 / var(--font-body-scale));
}

@media screen and (min-width: 750px) {
  .article-template header {
    margin-top: 5rem;
  }
}

.article-template__title {
  margin: 0;
}

.article-template__title:not(:only-child) {
  margin-bottom: 1rem;
}

@media screen and (max-width: 767px){
  .article-template__title{
    font-size: 24px !important;
  }
}




.article-template__link {
  font-size: 1.8rem;
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
}

.article-template__link .icon-wrap {
  display: flex;
  margin-right: 1rem;
  transform: rotate(180deg);
}

.article-template__content {
  margin-top: 3rem;
  margin-bottom: 3rem;
}

.article-template__social-sharing {
  margin-top: 3rem;
}

.article-template__social-sharing + header,
.article-template__social-sharing + .article-template__content {
  margin-top: 1.5rem;
}

.article-template__comment-wrapper {
  margin-top: 5rem;
  padding: 2.7rem 0;
}

@media screen and (min-width: 750px) {
  .article-template__comment-wrapper {
    margin-top: 6rem;
    padding: 3.6rem 0;
  }
}

.article-template__comment-wrapper h2 {
  margin-top: 0;
}

.article-template__comments {
  margin-bottom: 5rem;
}

@media screen and (min-width: 750px) {
  .article-template__comments {
    margin-bottom: 7rem;
  }
}

.article-template__comments-fields {
  margin-bottom: 4rem;
}

.article-template__comments-comment {
  color: rgba(var(--color-foreground), 0.75);
  background-color: rgb(var(--color-background));
  margin-bottom: 1.5rem;
  padding: 2rem 2rem 1.5rem;
}

@media screen and (min-width: 750px) {
  .article-template__comments-comment {
    padding: 2rem 2.5rem;
  }
}

.article-template__comments-comment p {
  margin: 0 0 1rem;
}

.article-template__comment-fields > * {
  margin-bottom: 3rem;
}

@media screen and (min-width: 750px) {
  .article-template__comment-fields {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-column-gap: 4rem;
  }
}

.article-template__comment-warning {
  margin: 2rem 0 2.5rem;
}

@media screen and (min-width: 990px) {
  .article-template__comments .pagination-wrapper {
    margin: 5rem 0 8rem;
  }
}

.article-template__back:last-child {
  margin-bottom: 3.2rem;
}

.social-chare-block {
	display: flex;
	min-width: 18.75rem;
}
.share {
	order: 0;
	overflow: visible;
	gap: 1.6rem;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	position: relative;
	z-index: 1;
	list-style: none;
	padding-left: 0;
	margin-top: 0;
}
.share .share-item {
	margin-right: 1rem;
	transform: translate(0px, 0px);
	transition: all 0.2s ease-in-out 0s;
	padding: 0px;
	flex: 0 0 auto;
}
.share .share-link {
	font-size: 0px;
	background: 0px 0px;
	outline: 0px;
	border-width: initial;
	border-style: none;
	border-color: initial;
	border-image: initial;
}

.share .share-icon {
	display: inline-block;
	height: 2rem;
	width: 2rem;
	fill: #000;
}
.share .share-icon:hover {
	transform: all 0.2s ease-in-out 0s;
	fill: #878787;
}
.share-button__facebook,
.share-button__twitter,
.share-button__pinterest,
.share-button__email {
	display: inline-block;
	width: 2.4rem;
	height: 2.4rem;
}

/* フルスクリーンギャラリー用スタイル */
.gallery-container {
  max-width: 800px;
  margin: 0 auto 60px;
  text-align: center;
}

.gallery-main-image {
  position: relative;
}

.gallery-main-image img {
  width: 400px;
  height: auto;
  object-fit: contain;
  margin: 0 auto;
}

.gallery-nav {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
}

.gallery-nav span {
  background: rgba(0,0,0,0.5);
  color: white;
  font-size: 2rem;
  padding: 8px 12px;
  cursor: pointer;
  user-select: none;
}

.gallery-thumbnails {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.gallery-thumbnails img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  cursor: pointer;
  border: 2px solid transparent;
}

.gallery-thumbnails img.active {
  border-color: #5A5350;
}

.article-wrapper.page-width.page-width--narrow.rte img {
  width: 400px;
  height: auto;
  object-fit: contain;
  background-color: #000; /* 余白を目立たせたくない場合は背景色を指定 */
  margin: 0 auto;
}

/* モバイル時は横幅100%、高さ自動で最大幅400pxに */
.article-wrapper.page-width.page-width--narrow.rte img {
  width: 400px;
  height: auto;
  object-fit: contain;
  background-color: transparent; /* 余白を透明にして黒い枠を消す */
  margin: 0 auto;
}

@media screen and (max-width: 767px) {
  .gallery-container { padding: 0 16px; }
  .gallery-nav span { font-size: 1.5rem; }
  .gallery-thumbnails img { width: 60px; height: 60px; }

@media screen and (max-width: 767px) {
  .gallery-main-image img {
    width: 100%;
    max-width: 400px;
    height: auto;
  }
}
