@charset "UTF-8";

 /* <span class="bold-text">太字</span> */
.bold-text {
  font-weight: bold;
}
 /* <span class="red-text">赤い太字</span> */   
.red-text {
  color: red;
  font-weight: bold;
}

/* <span class="line">下線</span>
 */
.line{
  text-decoration: underline;
}

 /* <a href="#" class="btn-square-soft">BUTTON</a>  */
.btn-square-soft {
  display: inline-block;
  position: relative;
  text-decoration: none;
  color: #696969;
  width: 100%;
  height: 50px;
  line-height: 50px;
  border-radius: 5px;
  text-align: center;
  overflow: hidden;
  font-weight: bold;
  background: linear-gradient(#fed6e3 0%, #ffaaaa 100%);
  text-shadow: 1px 1px 1px rgba(255, 255, 255, 0.66);
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.28);
}
.btn-square-soft:active {
  /*押したとき*/
  -webkit-transform: translateY(2px);
  transform: translateY(4px);/*沈むように*/
  box-shadow: 0 0 1px rgba(0, 0, 0, 0.15);
  background-image: linear-gradient(#fed6e3 0%, #ffbcbc 100%);/*グラデーションを明るく*/
}

footer {
  color: grey;
  font-weight: normal;
}  

header img {
  max-width: 856px;
  width: 100%; /* 画像が親要素の幅に合わせて調整されるようにします */
}

h2 {
  padding: 0.25em 0.5em;/*上下 左右の余白*/
  font-size: 18px;
  background: lavender;/*背景色*/
  border-left: solid 5px silver;/*左線*/
}

h1 {
  position: relative;
  padding: 0.25em 0;
  font-size: 20px;
}
h1:after {
  content: "";
  display: block;
  height: 4px;
  background: -webkit-linear-gradient(to right, rgb(230, 90, 90), transparent);
  background: linear-gradient(to right, rgb(230, 90, 90), transparent);
}
  
body {
  font-family: Arial, sans-serif; /* フォント */
  background: #fdeff2;
  font-size: 16px;
  margin: 20px;
}

 /* レスポンシブデザイン */
body {
  max-width: 1000px;
}

@media (max-width: 1050px) {
h2 {
  font-size: 20px;
  } 
h1 {
  font-size: 22px;
  }
body {
  margin: 40px;
  font-size: 18px;
  }
}

@media (max-width: 768px) {
h2 {
  font-size: 19px;
  }  
h1 {
  font-size: 21px;
  }
body {
  margin: 30px;
  font-size: 17px;
  }
}

/* @media (max-width: 450px) { */
