
a.btn01 {
  display: flex;
  align-items: center;
  max-width: 1000px;
  margin: 0 0 20px 0;
  padding: 1.3rem 2rem;
  border: 2px solid #014897;
  background: #fff;
  text-decoration: none;
  transition: 0.3s;
}


a.btn01:hover{
  background-image: url(https://www.nivr.jeed.go.jp/h3iskd0000005dp3-img/riha33hanten.png);
  background-position: center center; 
  background-repeat: no-repeat;
  background-size: cover;               /* 要素を覆うように拡大縮小（中央基準） */
  color: #000;
  border: 2px solid #000;
}


a.btn01 .text {
  display: block;
  flex-grow: 1;
  color: #004386;
  font-weight: bold;
  text-align: left;
  position: relative;
  padding-right: 15px;
  font-size: 23px;
}
a.btn01 .text::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  margin: auto;
  transform: rotate(45deg);
  border-top: 3px solid #014897;
  border-right: 3px solid #014897;
  box-sizing: border-box;
  width: 14px;
  height: 14px;
  transition: 0.3s;
}
@media (max-width: 1200px) {
  a.btn01 .text {
    font-size: 18px;
    padding-right: 20px;
  }

.btn,
a.btn,
button.btn {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.3;
  position: relative;
  display: block;
  padding: 1rem 1.5rem;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  text-align: center;
  vertical-align: middle;
  text-decoration: none;
  letter-spacing: 0.1em;
  color: #212529;
  border-radius: 0.5rem;
  width: 30%;
}

a.btn-yellow {
  color: #000;
  background-color: #fff100;
  border-bottom: 5px solid #ccc100;
}

a.btn-yellow:hover {
  margin-top: 3px;
  color: #000;
  background: #fff20a;
  border-bottom: 2px solid #ccc100;
}

a.btn-blue {
  color: #000;
  background-color: #cde4ff;
  border-bottom: 5px solid #778899;
}

a.btn-blue:hover {
  margin-top: 3px;
  color: #000;
  background: #cde4ff;
  border-bottom: 2px solid #778899;
}


