@charset "UTF-8";

header {
    display: flex;
    align-items: center;
    background-color: black;
    color: white;
    padding: 10px 20px;
}

header picture {
    margin-right: 10px;
}

header h1 {
    flex: 1;
    font-size: 18px;
    font-family: 'Arial', sans-serif;
}

header nav {
    margin-left: auto;
}

header a {
    color: white;
    text-decoration: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.center-column {
    padding: 0 20px;
}

/* square-app-createlink.css の固定幅を上書き */
.center-column h2,
.center-column ul,
.center-column p {
    width: auto;
    max-width: 100%;
}

/* iframeサイズ（square-app-createlink.cssのデフォルトを上書き） */
#box {
    width: 100%;
    height: 120px;
    margin: 10px auto 0;
}

#box #my-app {
    width: 100%;
    height: 100%;
}

@media (min-width: 680px) {
    #box {
        width: 680px;
        height: 260px;
    }
}

footer {
    background-color: black;
    color: white;
    text-align: center;
    padding: 16px 0;
}

footer p {
    margin: 6px 0;
}

footer a {
    color: white;
}

/* タブレット(768px〜1023px)では関連リンクを下に配置 */
@media (min-width: 768px) and (max-width: 1023px) {
    .right-column {
        flex-basis: 100%;
    }
}

/* デスクトップ(1024px〜)では関連リンクを右に配置 */
@media (min-width: 1024px) {
    .right-column {
        flex-basis: 30%;
    }
}
