.p-top-logo {
  font-size: 20px;
  line-height: 1.4;
  max-width: 90%;
  margin: 30px auto;
  text-align: center;
}

.p-top-logo a {
  display: block;
  transition: opacity .2s;
  text-decoration: none;
  color: #333;
}

.p-top-logo a:hover {
  opacity: .66;
}

.p-top-logo a:active {
  opacity: 1;
}

#p-slider .bx-controls-direction a {
  z-index: 100;
}

#p-slider .bx-viewport {
  top: 0;
  left: 0;
  border: 0;
  background: #f8f8f8;
  box-shadow: none;
}

#p-slider .bx-wrapper img {
  margin: 0 auto;
}

#p-slider .bx-caption {
  top: 0;
  bottom: auto;
  background: rgba(0, 0, 0, .3);
}

#p-slider .bx-caption span {
  padding: 1.5em;
}

#p-slider .bx-pager {
  bottom: 10px;
  padding-top: 0;
}

#p-slider .bx-pager a {
  background: #fff;
}

#p-slider .bx-pager a:hover,
#p-slider .bx-pager a.active {
  background: #fd7f23;
}
/* top widget container */
#top-index{
  margin: 0 auto;
  margin-top: 15px;
  margin-bottom: 8px;
  max-width: 900px;
  width: 100%;
  overflow: hidden;
}

/* Elfsightが横にはみ出すのを防ぐ保険 */
#top-index .eapps-instagram-feed,
#top-index .eapps-instagram-feed-content,
#top-index .eapps-instagram-feed-posts{
  max-width: 100% !important;
}

.p-news {
  line-height: 1.5;
  margin: 0;
}

.p-news::after {
  display: block;
  clear: both;
  content: '';
}

.p-news__label {
  font-size: 14px;
  font-weight: normal;
  line-height: 1.6;
  width: 180px;
  margin: 0;
  letter-spacing: 1px;
}

.p-news__content {
  line-height: 1.6;
  margin: 5px 0 20px 10px;
}

.p-news__content p:nth-child(1) {
  margin-top: 0;
}

.p-news__label {
  font-family: "游ゴシック体","Yu Gothic","Hiragino Kaku Gothic Pro","Meiryo",sans-serif;
}

.p-news__label::before {
  content: '-';
}

.p-info {
  line-height: 1.5;
}

.p-contents {
  line-height: 1.5;
  margin-bottom: 40px;
}

.p-contents__list {
  margin: 0 0 20px;
  padding: 0;
  list-style-type: none;
}

.p-contents__list::after {
  display: block;
  clear: both;
  content: '';
}

.p-contents__list li {
  position: relative;
  box-sizing: border-box;
  padding: 0 2em 0 1em;
}

.p-contents__list li::before {
  position: absolute;
  top: .5em;
  left: 0;
  content: '-';
}

.p-contents__list a {
  display: block;
  max-width: 100%;
  padding: .5em 0;
  transition: opacity .2s;
  text-decoration: none;
  color: #333;
}

.p-contents__list a:hover {
  opacity: .66;
}

.p-contents__list a:active {
  opacity: 1;
}

.p-custom-banner {
  margin-top: 50px;
  text-align: center;
}

.p-custom-banner__unit {
  background: #f8f8f8;
}

.p-custom-banner__unit--text {
  font-family: "游ゴシック体","Yu Gothic","Hiragino Kaku Gothic Pro","Meiryo",sans-serif;
  padding: 30px 10px;
  color: #f8f8f8;
  background: #333;
}

.p-custom-banner__unit--text a {
  color: #f8f8f8;
}

.p-custom-banner__image {
  width: 100%;
}

.p-custom-banner__heading {
  font-size: 24px;
  padding: 10px 0;
}

.p-custom-banner__body {
  line-height: 1.5;
  padding: 10px 0;
}

@media screen and (min-width: 600px) {
  .p-top-logo {
    display: none;
  }

  #p-slider .bx-pager {
    bottom: 30px;
  }

  .p-contents__list li::before {
    top: 0;
  }

  .p-contents__list li {
    float: left;
    width: 50%;
    margin-bottom: 20px;
  }

  .p-contents__list li:nth-child(2n + 1) {
    clear: left;
  }

  .p-contents__list a {
    display: inline-block;
    padding: 0;
  }

  .p-custom-banner {
    display: table;
    width: 100%;
    margin-top: 100px;
    table-layout: fixed;
  }

  .p-custom-banner__unit {
    display: table-cell;
    box-sizing: border-box;
    width: 50%;
    max-width: 50%;
    vertical-align: middle;
    word-break: break-all;
  }

  .p-custom-banner__unit--text {
    padding: 10px 20px;
  }
}

@media screen and (min-width: 960px) {
  .p-news__label {
    float: left;
    clear: left;
    margin-right: 20px;
  }

  .p-news__content {
    overflow: hidden;
    margin: 0 0 20px;
  }

  .p-custom-banner__heading {
    font-size: 30px;
  }
}

/* ウィジェットの親が幅制限されてる時の保険 */
#top-index,
#top-index .top-index,
#top-index .top-news,
#top-index .eapps-instagram-feed {
  max-width: none !important;
  width: 100% !important;
}

/* =========================
   visvim風：下部のInstagramリンクボタン
   ========================= */
.hf-ig-cta-wrap{
  text-align: center;
  margin-top: 6px !important;
  margin-bottom: 0 !important;
}

.hf-ig-cta{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border: 1px solid rgba(0,0,0,.65);
  border-radius: 9999px;

  text-decoration: none;
  color: #111;
  background: transparent;

  font-size: 13px;
  font-weight: 500; 
  line-height: 1;
  letter-spacing: 0.01em;
  white-space: nowrap;

  transition: opacity .2s;
}

.hf-ig-cta:hover{ opacity: .7; }
/* 2) 右端にIGロゴ（visvimの斜め矢印位置） */
.hf-ig-cta::after{
  content: "";
  display: inline-block;
  width: 14px;               /* ←ここでサイズ固定 */
  height: 14px;
  flex: 0 0 14px;

  background-image: url("https://img07.shop-pro.jp/PA01423/492/etc_base64/SW5zdGFncmFtX0dseXBoX0JsYWNr.jpg?cmsp_timestamp=20260114113444");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;  /* 元画像がデカくてもここで収める */
  opacity: .85;              /* 目立ちすぎるなら下げる */
}

/* 3) hover時に少し馴染ませる（任意） */
.hf-ig-cta:hover::after{
  opacity: .65;
}

/* お問い合わせ画像：共通 */
.contactImg{
  display: block;
  margin-bottom: 50px;
}
.contactImg img{
  display: block;
  width: 100%;
  height: auto;
}

/* まずはSPをデフォルト表示（安全） */
.contactImgPc{ display: none; }
.contactImgSp{ display: block; }

/* 768px以上はPC画像に切替 */
@media screen and (min-width: 768px){
  .contactImgPc{ display: block; }
  .contactImgSp{ display: none; }
}
.p-layout-container{
  box-sizing: border-box;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}
.p-layout-container::after{
  content: "";
  display: block;
  clear: both;
}