/* CSS Document */

.sns {
  padding-bottom: 12rem;
  background: rgb(var(--naviUsuGray));
  container: snsBox / inline-size;
}

.sns .inner{
  margin: 0 auto;
  padding: 4rem 8px;
  width: min(950px, 95%);
}

.sns .inner +  .inner{
  border-top: solid 1px rgb(var(--naviBlue), 0.5);
}

.sns h2 {
  margin: 0 auto;
  padding: 1em .5em;
  background: linear-gradient(45deg, rgba(var(--naviBlue), 0.9) 0, rgba(var(--naviEmerald), 0.9) 100%);
  color: #fff;
  font-size: 3.2rem;
  text-shadow: 3px 3px 1px rgba(0, 0, 0, 0.3);
  line-height: 1.4;
  text-align: center;
}

.sns h3 {
  margin: 0 auto 2rem;
  font-size: 2rem;
  line-height: 1.4;
  color: rgb(var(--naviKoiBlue));
  text-align: center;
}

.sns ul {
  display: grid;
  justify-content: center;
  gap: 16px;
  margin: 0 auto;
}

.sns .txt {
  display: grid;
  grid-template-columns: var(--thmbWidth) auto;
  align-items: center;
  gap: 8px;
  padding: 8px 25px 8px 8px;
  background: #fff;
  border-radius: var(--thmbWidth);
  box-shadow: 0 3px 10px 0 rgba(0, 0, 0, .15);
  --thmbWidth: 60px;
}

.sns .txt img{
  border-radius: 50%;
}

.sns .txt .border{
  border: solid 1px #ccc;
}

.sns h4 {
  margin-bottom: 4px;
  font-size: 1.6rem;
  line-height: 1.4;
}

.sns h5 {
  font-size: 1.3rem;
  line-height: 1.6;
  color: rgb(var(--naviKoiBlue));
}

.sns p {
  padding: .5em 8px;
  font-size: 1.3rem;
  line-height: 1.6;
}



@container snsBox (width > 600px) {
  .sns h3 {
    margin-bottom: 16px;
  }

  .sns ul {
    gap: 32px;
    max-width: 600px;
  }

  .sns ul:has(li:nth-child(2)) {
    grid-template-columns: repeat(2, 1fr);
    max-width: 100%;
  }

  .sns .txt {
    --thmbWidth: 80px;
    gap: 16px;
    padding: 16px 30px 16px 16px;
  }

  .sns p {
    font-size: 1.1rem;
  }
  
}