/* 基本的なスタイル */
body {
    font-family: sans-serif;
    margin: auto;
    background-color: #FFEBEC;
    text-align: center;
}

@keyframes flashEffect {
    0% { filter: brightness(1); }
    50% { filter: brightness(1.8); }
    100% { filter: brightness(1); }
}

.highlight {
    animation: flashEffect 1s ease-out;
}

img {
    max-width: 100%;
}

.image-container {
    display: flex; /* flexboxレイアウトを使用 */
    flex-direction: column; /* 縦方向に並べる */
    align-items: center; /* 画像を中央揃え */
}
  
.image-container img {
    width: 100%; /* 親要素の幅いっぱいに広げる */
    height: auto; /* 高さは自動調整 */
}

.image-container a img {
    vertical-align: bottom;
}

/* 各ステップのスタイル */
.step {
    background-color: #fff; /* 白背景 */
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.5); /* シャドウ */
}

/* タイトルのスタイル */
.step h2 {
    text-align: left; /* 左寄せ */
}

/* セクションタイトルのスタイル */
h2 {
    font-size: 20px;
    font-weight: bold;
    color: #fff;
    margin-bottom: 10px;
    padding: 10px;
    background-color: #2a009f; /* 背景色 */
    border-radius: 5px; /* 角を丸くする */
}

h1 {
    text-align: center;
    background-color: #fff;
    padding: 22px;
    border-radius: 5px;
  }

  .button-grid {
    display: flex;
    flex-wrap: wrap;
    width: 100%; /* 親要素の幅に応じて */
  }
  .button-grid button {
    width: 50%; /* 横に2つ並べる */
    padding: 0;
    border: none;
    background: none;
    cursor: pointer;
  }
  .button-grid img {
    width: 100%; /* ボタン内で画像を100%表示 */
    height: auto;
    display: block;
  }
