html {
    background-color: antiquewhite;
}

body {
    margin: 0px;
    background-color: antiquewhite;
}

.header {
    padding: 5px 0;
    background-color: #87cefa;
}

.main {
    margin: 5px auto;
    width: 750px;
}

h1 {
    margin: 0 0 5px 0;
    text-align: center;
}

p {
    text-align: left;
    margin-top: 10px;
    font-size: 18px;
}

#event, #result{
    padding: 0;
}

.container {
    height: 280px;
    display: flex;
    justify-content: space-between;
    background-color: white;
}

.container_2 {
    height: 280px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    background-color: white;
}

.komaDiv {
    border: 3px solid;
    margin: 0 0 5px 0;
}

.komaDiv img {/*1コマ目と3コマ目の設定*/
    height: 250px;
    margin: auto;
}

#komaDiv2 img:hover {/*マウスを乗せたら拡大する*/
    transform: scale(1.5, 1.5);
    transition: 0.5s;
}

#komaDiv2 img {/*2コマ目の画像を小さく並べる*/
    width: 200px;
    margin: 0 10px 40px 0;
    border: solid 2px;
}

#komaDiv2 div img.selection{ 
    height: 45%; 
    margin-left: 10%;
    }

img.selection {
    margin: auto;
}

#anserBtn {
    width: 745px;
}
footer {
    margin: 30px 0;
}

#next {
    background-color: #fff;
    color: #222222;
    border-color: #222222;
    border-radius: 5px;
    height: 50px;
    width: 200px;
    margin: 10px 0 0 0;
    padding: 0 20px;
    transition: 0.5s;
}

#next:hover {
  background-color: #222222;
  border-color: #fff;
  color: #fff;
}

footer {
    width: 750px;
    margin: 50px auto;
    padding-top: 30px;
    text-align: center;
    border-top: solid 2px;
}

.footer_box {
    display: flex;
    justify-content: space-between;
    margin: 30px 0 30px 100px;
    padding: 0;
}
