@charset "utf-8"; /* * 2014/02/28 * slideme 設定 * */ article#imgae { position: absolute; display: block; top: 0px; left: 0px; width: 690px; height: 230px; margin: 10px 10px 10px 10px; } /* スライド画像 レスポンシブ */ @media screen and (max-width: 768px) { article#imgae { position: static; width: auto; } } div#slide { position: absolute; display: block; top: 0px; left: 0px; width: 690px; height: 210px; overflow: hidden; } div.item { position: absolute; display: block; top: 0px; left: 0px; width: 690px; height: 210px; } div#item_slide { position: absolute; display: block; top: 210px; left: 0px; width: 690px; height: 20px; } /* スライド削除 レスポンシブ */ @media screen and (max-width: 768px) { div#item_slide { display: none; } } div#item_slide_center { width: 105px; margin: 0 auto; } div.itemnum { position: relative; top: 7px; display: inline; margin: 0 auto; } li { width: 2em; cursor: pointer; display: block; line-height: 20px; position: absolute; top: 50%; z-index: 10; margin: -1em 0; border-radius: 6px; color: #fff; text-align: center; background: #393; } li.next { right: -5px; } li.prev { left: -5px; } div.positionabsolute { font-size: xx-large; line-height: 120%; text-align: center; color: white; font-weight: bold; } div.positionabsolute a :hover { color: white; } .item__coronaTitle { position: relative; width: 690px; height: 50px; background-color: blue; } .second__coronavirusTitle { position: relative; width: 345px; height: 80px; float: left; background-color: cornflowerblue; } .second__coronavirusText { position: absolute; top: -3px; left: 12px; color: black; font-size: xx-large; text-align: center; font-weight: bold; } .second__vaccinationTitle { position: relative; width: 345px; height: 160px; float: left; background-color: yellow; } /* レスポンシブ */ @media screen and (max-width: 768px) { div.item { width: 335px; } .item__coronaTitle { position: relative; width: 315px; height: 25px; background-color: #436AD6; } .second__coronavirusTitle { position: relative; width: 155px; height: 36px; float: left; background-color: cornflowerblue; } .second__vaccinationTitle { position: relative; width: 155px; height: 160px; float: left; background-color: yellow; } }