/* Test CSS for myblog */


/* 通常のデザイン (デスクトップ用) */
.myapp-test-body {
    font-family: Arial, sans-serif;
    background-color: rgb(237, 210, 230);  /* 背景色を追加 */
    color: #333;
    margin: 0;
    padding: 10px;
}
.myapp-test-title {
    text-align: center;
    color: #4CAF50;
    font-size: 2.5rem;
}
.myapp-test-subtitle {
    color: #555;
    margin-top: 20px;
    font-size: 1.8rem;
    text-align: left;
}
.myapp-test-text {
    font-size: 1.2rem;
    color: #333;
    line-height: 1.6;
    text-align: left;
}
.myapp-test-plotlygraph {
    max-width: 800px;
    width: 100%;
    margin: auto;
}
/* .myapp-test-plotlygraph svg {
    width: 100% !important;
    height: auto !important;
} */
.myapp-test-iframe-container {
    margin-top: 15px;
    padding: 0 10px;
    overflow-x: auto;  /* 横スクロールを有効にする */
    white-space: nowrap;
}
.myapp-test-iframe {
    width: 100%;
    height: 400px;
    min-width: 600px;  /* スマホでもスクロールできるように */
    border: none;
}

/* タブレット対応: 768px ～ 991px */
@media (max-width: 991px) and (min-width: 768px) {
    .myapp-test-title {
        font-size: 2rem;
    }
    .myapp-test-subtitle {
        font-size: 1.6rem;
    }
    .myapp-test-text {
        font-size: 1rem;
    }
    .myapp-test-iframe {
        height: 500px;
    }
    .myapp-test-plotlygraph {
        max-width: 600px;
    }
}
/* スマホ対応: max-width: 767px */
@media (max-width: 767px) {
    .myapp-test-body {
        padding: 10px;
    }
    .myapp-test-title {
        font-size: 1.25rem;
    }
    .myapp-test-subtitle {
        font-size: 1rem;
    }
    .myapp-test-text {
        font-size: 1rem;
    }
    .myapp-test-iframe-container {
        margin-top: 15px;
        padding: 0 10px;
    }
    .myapp-test-iframe {
        height: 400px;
    }
    .myapp-test-plotlygraph {
        width: 100%;
        max-width: none;
    }
}
