/* 基本のリセットとボックスサイジングの設定 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: #FAEAF4; /* 薄いピンク色 */
    color: #333;
    line-height: 1.6;
    padding: 20px;
}

.container {
    max-width: 800px;
    margin: auto;
    background: #ffffff;
    padding: 20px;
    border-radius: 10px; /* 角丸 */
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    text-align: center; /* 中央揃え */
}

h1, h2 {
    color: #D5287B; /* 濃いピンク色 */
}

p, li {
    font-size: 16px;
    margin-bottom: 10px;
    text-align: left;
}

img.responsive-image {
    width: 100%;
    height: auto;
}

/* フォームスタイル */
input[type="file"] {
    width: 90%;
    padding: 10px;
    margin-top: 5px;
    border-radius: 5px;
    border: 2px solid #D5287B; /* 濃いピンク色 */
}

input[type="submit"], input[type="button"] {
    background-color: #D5287B; /* 濃いピンク色 */
    color: #ffffff;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
    display: block;
    margin: 10px auto; /* ボタンを中央に配置 */
}

input[type="submit"]:hover, input[type="button"]:hover {
    background-color: #BB2167; /* 濃いピンク色の濃いバージョン */
}

/* リンク付き画像のスタイル */
.other_site img {
    width: 200px; /* 画像のサイズを大きく調整 */
    height: auto;
    border-radius: 50%; /* 角丸 */
    transition: transform 0.3s ease;
    margin: 20px 0; /* 上下マージン */
    display: block; /* ブロック要素として配置 */
    margin-left: auto; /* 左マージンを自動 */
    margin-right: auto; /* 右マージンを自動 */
}

.other_site img:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}

.image-container {
    text-align: center;
    margin: 20px 0;
}

.image-container img {
    width: 200px;
    height: 200px;
    border-radius: 10px;
}

/* メディアクエリーでのレスポンシブ対応 */
@media only screen and (max-width: 768px) {
    .container {
        width: 95%;
        padding: 10px;
    }

    h1, h2 {
        font-size: 18px;
    }

    p, li {
        font-size: 14px;
    }
}

/* テーブルを中央に配置 */
table {
    margin-left: auto;
    margin-right: auto;
}

hr {
    border: 0; /* 既存の境界線を削除 */
    height: 2px; /* 線の高さ */
    background-image: linear-gradient(to right, #FAEAF4, #D5287B, #FAEAF4); /* グラデーションで濃いピンク色を中央に */
    margin: 20px 0; /* 上下のマージン */
}

#loading {
    display: none; /* 初期状態では非表示 */
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1000; /* 他の要素の上に表示 */
}
