body{ height: 100%; margin: 0 auto; min-height: 100vh; position: relative; /*相対位置*/ padding-bottom: 100px; /*footerの高さ*/ box-sizing: border-box; /*全て含めてmin-height*/ } .bgcolor{ background: #0063B1; } iframe{ width: 100%; height: 70px; border: none; } header iframe { position: fixed; top: 0; border-bottom:solid thin white; box-shadow:rgba(122, 122, 122, 0.5) 0px 0px 6px 3px; } footer iframe { position: absolute; bottom: 0px; } .wrapper{ width: 100%; max-width: 1440px; margin: 0 auto; padding: 100px 25px; } .title { color: #0063B1; font-size: xx-large; font-weight: bold; text-align: center; margin: auto; } .sub{ display: block; max-width : 1280px; margin: 25px auto; background-color: #0063B1; color: white; text-align: center; font-size: large; font-weight: bold; padding: 10px; border-radius: 100vh; } .pic{ background-color: whitesmoke; border-radius: 25px; } .container{ display: flex; justify-content: space-around; margin: 0 auto; overflow-x: auto; }.container p{ margin: 20px; text-align: center; color: #0063B1; font-size: large; font-weight: bold; }.container img{ max-width: 640px; max-height: 640px; width: auto; white-space: nowrap; } #page_top{ position: fixed; right: 25px; bottom: 25px; z-index: 1; opacity: 0.5; } #page_top:hover{ opacity: 1; } #page_top a{ text-decoration: none; } #page_top a::before{ font-family: 'Font Awesome 5 Free'; font-weight: 900; content: '\f139'; font-size: 50px; color: #0094d8; text-align: center; }