.biz-udgothic-regular {
    font-family: "BIZ UDGothic", sans-serif;
    font-weight: 400;
    font-style: normal;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #f9f9f9;
    color: #333;
}

header {
    background-color: #0078d7;
    color: #fff;
    padding: 1svw 0;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 120svw;
    margin: 0 auto;
    padding: 0 1svw;
    flex-wrap: wrap;
    /* スマホ対応で折り返しを許可 */
}

header .brand {
    font-size: 2svw;
    /* 文字サイズを大きく変更 */
    font-weight: bold;
}

main {
    max-width: 120svw;
    margin: 2svw auto;
    padding: 0 2svw;
    /* スマホでの余白調整 */
    margin-bottom: 12svw;
}

footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 1svw 0;
    position: fixed;
    bottom: 0;
    width: 100%;
}

footer small {
    font-size: 0.875svw;
}

footer small a {
    color: #fff;
    text-decoration: none;
}

section {
    margin: 2svw 0;
    padding: 2svw;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 0.5svw;
    box-shadow: 0 0.5svw 1svw rgba(0, 0, 0, 0.1);
}

section h2 {
    font-size: 2svw;
    margin-bottom: 1svw;
    color: #0078d7;
    margin-top: 0;
}

section p {
    font-size: 1.5svw;
    line-height: 1.2;
    color: #333;
    margin: 2svw 3svw;
}

section ul {
    list-style-type: square;
    /* 四角ぽちに編集 */
    padding-left: 4svw;
    /* 左余白を追加 */
    font-size: 1.2svw;
    /* フォントサイズを小さく設定 */
    line-height: 1.6;
    /* 行間を調整 */
    color: #333;
    /* テキストカラーを統一 */
}

section ul li {
    margin-bottom: 0.5svw;
    font-size: 1.5svw;
    /* 各リスト項目の間隔を調整 */
}

/* ポップアップの背景スタイル */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
    display: none;
    /* ポップアップが表示されるときに有効化 */
}

/* ポップアップウィンドウのスタイル */
.popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    padding: 2svw;
    box-shadow: 0 0.5svw 2svw rgba(0, 0, 0, 0.2);
    border-radius: 1svw;
    z-index: 1000;
    max-width: 90svw;
    text-align: center;
    font-size: 1.5svw;
    color: #333;
    width: 60svw;
}

.popup-buttons {
    margin-top: 1.5svw;
    display: flex;
    justify-content: center;
    gap: 1svw;
}

.popup-button {
    padding: 0.8svw 2svw;
    font-size: 4svw;
    border: none;
    border-radius: 0.5svw;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: 30svw;
}

.popup-button:first-child {
    background-color: #0078d7;
    color: #fff;
}

.popup-button:first-child:hover {
    background-color: #005a9e;
}

.popup-button:last-child {
    background-color: #ddd;
    color: #333;
}

.popup-button:last-child:hover {
    background-color: #bbb;
}

.main-image img {
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: 2svw;
}

.right-side {
    text-align: right;
}

.mini-text {
    font-size: 1svw;
}

/* スマホ用スタイル */
@media (max-width: 768px) {
    header .container {
        flex-wrap: wrap;
        /* スマホ対応で折り返しを許可 */
    }

    header nav {
        margin-top: 1svw;
        /* スマホでの余白調整 */
    }

    header .brand {
        font-size: 5svw;
        /* スマホ用の文字サイズをさらに大きく変更 */
        margin-left: 0.5svw;
    }

    main {
        padding: 0 2svw;
        /* スマホでの余白調整 */
    }

    section h2 {
        font-size: 5svw;
    }

    section p {
        font-size: 4svw;
    }

    section ul li {
        font-size: 4svw;
        line-height: 6svw;
        margin-left: 2svw
    }

    footer small {
        font-size: 3svw;
        /* スマホでのフォントサイズ調整 */
    }

    .popup p {
        font-size: 4svw;
    }

    .mini-text {
        font-size: 3svw;
    }
}