@charset "UTF-8";

* {
  box-sizing: border-box;
}

/* 共通セクション */
.linksection {
  width: 60%;
  margin: auto;
  padding: 40px 20px 0px;
}

.txtbox{

}

/* .section__title {
  font-size: 1.4rem;
  font-weight: bold;
  margin-bottom: 20px;
  padding:3px 8px;
  background: #f9c3c3;
  border-bottom: 2px solid #D90429;
  color: #000;
} */

/* カード */
.card {
  max-width: 1000px;
  margin: 0 auto;
  background: #fff;
  padding:0px;
  border-radius: 4px;
  margin-bottom:40px;
}

.card--center {
  text-align: center;
}

.card--wide {
  padding: 0;
}

.card__image {
  width: 100%;
  margin-bottom: 15px;
}

.card__image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 2px;
}

/* テキスト */
.card__text {
  font-size: 0.95rem;
  text-align: left;
  color: #333;
}

.card__text a {
  color: #1a73e8;
  text-decoration: none;
  font-weight: bold;
}

.card__text a:hover {
  text-decoration: underline;
}

.section__title {
  color: #2e2f35;/*文字色*/
  font-size:23px;/*文字サイズ*/
  padding: 5px 17px;/*文字回りの余白（上下左右）*/
  display: block;
  background: #f9c3c3;
  border-bottom: 4px solid #D90429;/*下線（太さ 実線 色）*/
  position: relative;
}
.section__title::after {
  content: "";
  display: block;
  position: absolute;
  left: 0;
  bottom: 3px;/*下線部 二本線の間の余白*/
  width: 100%;
  height: 2px;/*下線部上線の太さ（高さ）*/
  background: #D90429;/*下線部上線の色*/
}


/* レスポンシブ */
@media screen and (max-width: 768px) {
  .linksection {
    padding: 30px 15px 40px;
    width:90%;
  }
  .sptitle {
    background: linear-gradient(transparent 70%, #DEE1E2 70%);
}

.text-bg::after{
  background:none;
}

  .section__title {
    font-size: 1.2rem;
  }

  .card__text {
    font-size: 0.9rem;
  }

h2{
  margin-bottom: 1em;
}
}

.linksection a{
  text-decoration: underline;
}
