.sns-section {
  background: linear-gradient(to right, #fffce4, #ffffff);
  border: 5px solid #fffce4;
  padding: 20px;
}

.sns-inr {
  display: flex;
  flex-direction: column;
  height: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.sns-inr-top {
  display: flex;
  flex: 3; /* 全体の30% */
  gap: 20px;
}

.sns-inr-left-top {
  flex: 6; /* 60% */
  display: flex;
  align-items: center;
  justify-content: center;
}

.sns-inr-left-top h3 {
  font-size: 40px;
  font-weight: bolder;
}
@media screen and (max-width: 768px) {
  .sns-inr-left-top h3 {
    font-size: 30px;
  }
}
@media screen and (max-width: 480px) {
  .sns-inr-left-top h3 {
    font-size: 24px;
  } 
}

.sns-inr-right-top {
  flex: 4; /* 40% */
  display: flex;
  justify-content: center;
  align-items: center;
}

.sns-inr-right-top-reels {
  display: flex;
  gap: 30px;
}

.phone-frame {
  position: relative;
  width: 100px;
}

.phone-frame img {
  width: 100%;
  display: block;
}

.screen-image {
  position: absolute;
  top: 2%;    /* 実際のスマホ画像に合わせて調整 */
  left: 5%;   
  width: 90%; 
  height: 100%; 
  overflow: hidden;
}

.screen-image img {
  width: 100%;
  height: 95%;
  object-fit: cover;
  border-radius: 16px; 
}

.sns-inr-bottom {
  display: flex;
  flex: 7; /* 全体の70% */
  gap: 20px;
  margin-top: 30px;
}

.sns-inr-right-bottom {
  flex: 3; /* 30% */
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  padding: 20px 0;
}

.sns-inr-right-bottom-button-wrapper {
  margin-bottom: 10px;
  
}
.sns-inr-right-bottom-button-wrapper a:hover {
  background-color: #000000;
  color: #ffffff;
}
.sns-inr-right-bottom-button {
  display: inline-block;
  background-color: transparent;
  color: #000000;
  padding: 10px 20px;
  text-decoration: none;
  border: 2px solid #000000;
  border-radius: 8px;
  font-weight: bold;
}

.sns-inr-right-bottom-icons{
  display: flex;
}

.sns-inr-right-bottom-icons a {
  margin: 0 5px;
}

.sns-inr-right-bottom-icons a:hover {
  transform: scale(1.1);
}

.sns-inr-right-bottom-icons img {
  width: 60px;
  height: auto;
}

.sns-inr-left-bottom {
  flex: 7; /* 70% */
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  line-height: 1.8;
}
.sns-inr-left-bottom-frame {
  position: relative;
  display: inline-block;
}

.sns-inr-left-bottom-frame::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  border: 2px solid black;
  box-sizing: border-box;
  transform: rotate(6deg);
  transform-origin: center center; /* 回転の中心を中央に */
  z-index: 0;
  pointer-events: none;
}

.sns-inr-left-bottom-frame-inner {
  border: 2px solid black;
  position: relative;
  z-index: 1;
  padding: 20px;
  background-color: transparent;
}

.sns-inr-left-bottom p {
  font-size: larger;
  font-weight: bold;
}

.red_fonts {
  color: #ff5237;
}

@media screen and (max-width: 896px) {
  .sns-inr-top,
  .sns-inr-bottom {
    flex-direction: column;
  }

  .sns-inr-top {
    flex: none;
  }

  .sns-inr-left-top,
  .sns-inr-right-top,
  .sns-inr-left-bottom,
  .sns-inr-right-bottom {
    flex: none;
    width: 100%;
  }

  .sns-inr-left-top {
    margin-bottom: 20px;
    text-align: center;
  }
  .sns-inr-right-top-reels {
    align-items: center;gap: 20px;
  }

  .phone-frame {
    width: 100%;
    margin-bottom: 20px;
  }

  .sns-inr-bottom {
    padding: 20px 10px;
  }

  .sns-inr-right-bottom {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .sns-inr-right-bottom-icons {
    justify-content: center;
  }

  .sns-inr-left-bottom-frame-inner {
    padding: 15px;
  }
}