@charset "utf-8";
/*アクセス-sns*/
#snsArea{
	margin: 0;
	padding: 30px 0 0 0;
}
#snsArea .inner{
	width: 100%;
	margin: 0 auto;
	padding: 0;
}


.instagram-block {
  width: 100%;
  text-align: center;
  padding: 40px 20px;
  box-sizing: border-box;
}

.instagram-block .title {
  display: inline-block;
  margin-bottom: 20px;
}

.instagram-block .shortcode {
  margin-bottom: 40px;
}


/* SNS Grid */
.sns-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 50px;
  width: 80%;
  margin: 0 auto;
  padding: 20px 0;
}

.sns-card {
  text-decoration: none;
  color: inherit;
  border-radius: 16px;
  background-color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  padding: 30px 40px 40px 40px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.sns-card:hover {
  transform: translateY(4px);      /* 押し込まれるように下げる */
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
}

.sns-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px; /* パディングをsns-cardに入れたのでここはmarginに変更 */
  padding: 0; /* ← ここでリセット */
}

.sns-header .title img {
  max-height: 48px;
}

/* CSSで作る丸＋矢印 */
.play-button {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: #64B19D;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  transition: background-color 0.3s ease;
}

.play-button::before {
  content: "";
  display: block;
  width: 0;
  height: 0;
  border-left: 12px solid #fff; /* 三角の色 */
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  margin-left: 3px;
}

.sns-card:hover .play-button {
  opacity: 0.8;
}

.sns-card img {
  width: 100%;
  object-fit: cover;
}


@media screen and (max-width: 768px) {
  .sns-grid {
    width: 90%;
    gap: 30px;
  }

  .sns-card {
    padding: 20px;
  }

  .sns-header .title img {
    max-height: 40px;
  }

  .play-button {
    width: 26px;
    height: 26px;
  }

  .play-button::before {
    border-left: 10px solid #fff;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
  }
}

@media screen and (max-width: 480px) {
  .sns-grid {
    grid-template-columns: 1fr; /* 1カラムにする */
    gap: 40px;
    width: 95%;
  }

  .sns-card {
    padding: 15px 20px 20px 20px;
  }

  .sns-header .title img {
    max-height: 48px;
  }

  .play-button {
    width: 22px;
    height: 22px;
  }

  .play-button::before {
    border-left: 8px solid #fff;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
  }
}
