header {
  height: 250px;
  background-image: url("haikei2.png"); /* 小さい画像 */
  background-repeat: repeat;  
  background-attachment: scroll;        /* ← 固定せずヘッダーだけにする */
  display: flex;
  justify-content: center;
  align-items: center;
}

.title {
  font-size: 3rem;
  color: black;
  background: rgba(255, 255, 255, 0.8); /* 半透明の白 */
  padding: 0.2em 0.5em;
}

h1 {
  font-size: 3em;
}


body {
  margin: 0; 
  padding: 0 20px; 
  line-height: 1.6; 
  background-image: url("solid.png");
  background-repeat: repeat; 
  background-attachment: fixed; 
}

h2 {
  font-size: 1.5em;
  font-weight: bold;
  display: inline; 
  background-color: #7ADA78;
  padding: 0 0.2em;
}

h3 {
  font-weight: bold;
}


div.midasi {
  font-size: 1.2rem;
  line-height: 2.2;
}

.preserve-whitespace {
        white-space: pre-wrap;
        margin: 0;
        padding: 0; 
}

.spacer {
  height: 1.5em;
}

.shiharailist {
  margin-top: 0.2em;
  margin-bottom: 0.2em;
}
.shiharailist li {
  line-height: 1.8;
}

.button a {
    background: #eef;
    border: 3px solid #222;
    border-radius: 3px;
    position: relative;
    display: block;
    justify-content: space-around;
    align-items: center;
    margin: 0 auto;
    padding: 10px 25px;
    color: #313131;
    transition: 0.15s ease-in-out;
    font-weight: 500;
    line-height: 1.5;  
    text-align: center;
    text-decoration: none;
}
.button a:hover {
    background: #222;
    color: #FFF;
}
.button a:after {
    content: '';
    width: 5px;
    height: 5px;
    border-top: 3px solid #222;
    border-right: 3px solid #222;
    transform: rotate(45deg) translateY(-50%);
    position: absolute;
    top: 50%;
    right: 20px;
    border-radius: 1px;
    transition: 0.15s ease-in-out;
}
.button a:hover:after {
    border-color: #FFF;
}

.page-footer {
  height: 100px;
  background-color: #222;
  margin-top: 3em;/* 本文との余白 */
}