@charset "UTF-8";

/* Instagram button only – #insta section */
#insta + div.block_news_1 .contents_btn01.block_button_1 {
  text-align: center;
}

#insta + div.block_news_1 .contents_btn01.block_button_1 .content_wrapper > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  position: relative;
  width: auto;
  max-width: 100%;
  min-width: 0;
  min-height: auto;
  padding: 20px;
  background: #fff;
  border: 1px solid #212121;
  border-radius: 6px;
  text-decoration: none;
  box-sizing: border-box;
  transition: background-color 0.25s ease, border-color 0.25s ease;
}

#insta + div.block_news_1 .contents_btn01.block_button_1 .content_wrapper > a:hover {
  background-color: #fffafa;
  border-color: #e1306c;
  opacity: 1;
}

/* Instagram icon – 20px space from button edge via button padding */
#insta + div.block_news_1 .contents_btn01.block_button_1 .content_wrapper > a::before {
  content: "";
  display: block;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  overflow: hidden;
  margin: 0;
  padding: 0;
  border: none;
  background: url(/images/sns.webp) -120px 0 no-repeat;
  background-size: auto 40px;
  position: static;
  transform: none;
  animation: none;
  transition: none;
  opacity: 1;
  visibility: visible;
}

#insta + div.block_news_1 .contents_btn01.block_button_1 .content_wrapper > a:hover::before {
  content: "";
  display: block;
  width: 40px;
  height: 40px;
  background: url(/images/sns.webp) -120px 0 no-repeat;
  background-size: auto 40px;
  position: static;
  transform: none;
  animation: none;
  opacity: 1;
}

#insta + div.block_news_1 .contents_btn01.block_button_1 .content_wrapper > a::after,
#insta + div.block_news_1 .contents_btn01.block_button_1 .content_wrapper > a:hover::after {
  content: none;
  display: none;
  width: 0;
  height: 0;
  animation: none;
}

/* Text + vertical line */
#insta + div.block_news_1 .contents_btn01.block_button_1 .content_wrapper > a span[data-target="button_label"] {
  position: relative;
  padding-left: 20px;
  font-size: 1.8rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  line-height: 1;
  white-space: nowrap;
  background: linear-gradient(90deg, #e1306c 0%, #c13584 35%, #833ab4 70%, #5851db 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

#insta + div.block_news_1 .contents_btn01.block_button_1 .content_wrapper > a span[data-target="button_label"]::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 36px;
  background: linear-gradient(180deg, #e1306c 0%, #833ab4 100%);
}

#insta + div.block_news_1 .contents_btn01 a[target="_blank"] span[data-target="button_label"]::after,
#insta + div.block_news_1 .contents_btn01 a[target="_blank"] span:after {
  content: none;
}

@media (max-width: 768px) {

  #insta + div.block_news_1 .contents_btn01.block_button_1 .content_wrapper > a::before,
  #insta + div.block_news_1 .contents_btn01.block_button_1 .content_wrapper > a:hover::before {
    background-position: -120px 0;
  }

  #insta + div.block_news_1 .contents_btn01.block_button_1 .content_wrapper > a span[data-target="button_label"] {
    font-size: 1.6rem;
  }
}




#insta + div.block_news_1 .contents_btn01 a span{
  padding: 10px 0;
}

#insta + div.block_news_1 .contents_btn01 a[target="_blank"] span:after {
  content: none;
}