.custom-container body {
    font-family: Arial, sans-serif;
    background-color: #f0f0f0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80vh;
    margin: 0;
}

.custom-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 50vh;
    background-color: rgba(fa, fa, fa, 0.5);
    margin: 0;
    font-family: Arial, sans-serif;
}

.custom-container .title_head {
    width: 100%;
    text-align: center;
    margin-bottom: 20px;
    margin-top: 10px;
}

.custom-container .title_head h1 {
    font-size: 2em;
    margin: 10px 0 0 0;
}

.custom-container .title_head h2 {
    font-size: 1.2em;
    margin: 5px 0;
}

.custom-container .title_head hr {
    border: none;
  height: 1px;
  background-color: #ccc;
  width: 100%;
  margin: 20px 0;
}

.custom-container .container {
    display: flex;
    flex-wrap: nowrap; /* 横並びにするために nowrap を設定 */
    width: 100%;
    max-width: 1100px;

    padding: 10px;
    box-sizing: border-box;
    overflow-x: auto; /* コンテンツがはみ出した場合に横スクロールを許可 */
}

.custom-container .box {
    background-color: white;
    border: 1px solid #ccc;
    margin: 0 10px 0 10px;
    padding: 10px;
    flex: 0 0 auto; /* 固定幅の要素を横に並べるために設定 */
    width: calc(30% - 10px); /* 固定幅に設定 */
    box-sizing: border-box;
    text-align: center;
    border-radius: 15px; /* 角を丸くする */
}

.custom-container .box img {
    max-width: 100%;
    height: auto;
    border-radius: 15px 15px 0 0; /* 画像の上部の角を丸くする */
}

.custom-container .title {
    font-size: 1.2em;
    margin: 10px 0;
    color: #696969;
}

.custom-container .details {
    font-size: 1em;
    color: #666;
}

.custom-container .details a {
    color: #007BFF;
    text-decoration: none; /* 下線をなしに */
}

.custom-container .details a:hover {
    color: #0056b3; /* マウスオーバー時の色を変更 */
}

@media (max-width: 768px) {
    .custom-container .box {
        width: calc(50% - 20px);
    }
}