.topic__sub {
  font-size: 1.6rem;
  font-weight: 300;
  line-height: 2;
}

.section--contact {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-inline: 4.8%;
}

.contact__content {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.contact__group {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 30px;
}

.info {
  font-size: 1.8rem;
  font-weight: 500;
}

.info__tel {
  position: relative;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  text-decoration: underline;
  text-decoration-color: rgba(255,255,255,.3);
  text-underline-offset: 6px;
  left: 1px;

  transition: color .2s ease, text-decoration-color .2s ease;
}

.info__tel::before {
  content: '';
  width: 18px;
  height: 18px;
  background: url(../images/tel_logo.png) center / contain no-repeat;
  flex: 0 0 auto;
}

.info__mail {
  position: relative;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  text-decoration: underline;
  text-decoration-color: rgba(255,255,255,.3);
  text-underline-offset: 6px;

  transition: color .2s ease, text-decoration-color .2s ease;
}

.info__mail::before {
  content: '';
  width: 18px;
  height: 18px;
  background: url(../images/mail_logo.png) center / contain no-repeat;
  flex: 0 0 auto;
}

.info__mail:hover {
  color: #fff;
  text-decoration-color: #fff;
}

.info__tel:hover {
  color: #fff;
  text-decoration-color: #fff;
}

.info__mail {
  transform: scale(.98);
}

.info__tel:active {
  transform: scale(.98);
  opacity: .8;
}

.kakaotalk__btn {
  color: #0E0D0D;
  font-size: 1.6rem;
  display: block;
  border-radius: 25px;
  background: #FFFFFF;
  padding: 12px 20px 12px 49px;
  text-align: center;
  position: relative;
  transition: 0.4s;
  margin-top: 12px;
}

.kakaotalk__btn::after {
  content: '';
  display: block;
  width: 25px;
  height: 23px;
  background-image: url(../images/kakao_btn.png);
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  position: absolute;
  left: 17px;
  top: 53%;
  transform: translateY(-50%);
}

.kakaotalk__btn:hover {
  transform: scale(1.1,1.1);
}

.contact-form {
  padding: 32px 24px 28px;
  border: 1px solid #ffffff;
  border-radius: 32px;
  box-sizing: border-box;
  background: #050505;  
  margin-top: 40px;
}

/* ラベル */
.contact-form label {
  display: block;
  margin-top: 20px;
  font-size: 1.6rem;
  color: #f5f5f5;
}

/* 必須マーク（＊） */
.contact-form .required {
  margin-left: 4px;
  color: #ff8a3c;
}

/* 入力欄 */
.contact-form input[type="text"],
.contact-form input[type="tel"],
.contact-form input[type="email"],
.contact-form textarea {
  width: 100%;
  display: block;
  margin-top: 10px;
  padding: 10px 8px;
  font-size: 1.5rem;
  color: #111;
  background: #ffffff;
  border: none;
  border-radius: 0;
  box-sizing: border-box;
}

/* テキストエリアの高さ */
.contact-form textarea {
  height: 160px;
  resize: none;
}

/* 送信ボタン */
.contact-form button[type="submit"] {
  display: block;
  margin: 28px auto 0;
  padding: 8px 40px;
  font-size: 1.6rem;
  color: #ffffff;
  background: transparent;
  border: 1px solid #ffffff;
  border-radius: 4px;
  cursor: pointer;
}

@media (hover: hover) {
  .contact-form button[type="submit"]:hover {
    background: #ffffff;
    color: #000000;
  }
}

@media screen and (min-width: 769px) {
  .section--contact {
    display: flex;
    flex-direction: row;
    margin-inline: 2%;
    gap: 80px;
    align-items: center;
  }
   
  .topic__sub {
    font-size: 2rem;
  }

  .info {
    font-size: 2.5rem;
  }

  .kakaotalk__btn {
    font-size: 2.6rem;
  }

  .kakaotalk__btn::after {
    width: 35px;
    height: 35px;
    left: 10px;
  }

  .kakaotalk__btn {
    padding: 12px 20px 12px 54px;
  }

  .contact-form {
    margin-top: 200px;
    width: 40%;
    min-width: 380px;
  }

  .contact__text {
  width: 55%;
  }

  .contact__content {
  width: 55%;
  }

  .contact__group {
    gap: 45px;
  }

}