body {
    text-align: center;
    margin: 0 auto;
    font-family: serif, sans-serif; /* フォント */
    background-color: black;
}

html, body {
	overflow-x: hidden;
  }

.thumbnail {
    width: 1280px;
    height: 720px;
    overflow: hidden;
    position: relative;
}

.thumbnail img {
    width: 100%;
    height: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.container {
    text-align: center; /* コンテンツの中央揃え */
}

h1 {
    color: darkorange;
    font-size: 1.7em;
}

p {
    color: darkgoldenrod;
    font-size: 1em;
    width: 80%;
    margin: 0 auto;
    text-align: justify;
}

.nennrei{
    text-align: center;
    margin: 0 auto;
    line-height: 2;
}

button {
    width: 10vw;
    padding: 5px;
    font-size: 1em;
    background-color: darkorange;
    color: black;
    font-family: 'Times New Roman', Times, serif;
    margin: 10px 0;
}

button:hover{
    background-color: purple;
    color: wheat;
}

.image-container img {
    width: 20vw;
    height: auto;
    display: block;
    margin: 0 auto;
    margin-top: 25px;
    margin-bottom: 25px;
  
}

/* レスポンシブデザイン: 768px以下の場合 */
@media (max-width: 768px) {
    button {
        width: 40vw; /* モバイル向けのボタン幅を80%に */
        height: 2.4em;
    }
h1{
    font-size: 1.4em;
}
p{
    font-size: 1.4em;
    text-align: justify;
}

    .container img {
        width: 80vw;  /* モバイル時の画像幅を80%に */
        height: auto; /* 縦横比を保持 */
    }
}

a{
    font-size: 1.4em;
}

.nennrei{
    text-align: center;
    margin: 0 auto;
    line-height: 2;
}

button {
    font-size: 1em;
    background-color: darkorange;
    color: black;
    font-family: 'Times New Roman', Times, serif;
    margin: 10px 0;
}

button:hover{
    background-color: purple;
    color: wheat;
}

.image-container img {
    display: block;
    margin: 0 auto;
    margin-top: 25px;
    margin-bottom: 25px;
}