123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635 |
- @media (max-width: 768px) {
- body {
- font-family: 'Lucida Grande', 'Hiragino Kaku Gothic ProN', Meiryo, sans-serif;
- background-color: #F7F3BC;
- }
-
- /* ヘッダー */
- .header {
- display: flex;
- margin-bottom: 16px;
- width: 100%;
- background-color: #ffffff;
- }
-
- .headerLogo__image {
- margin: 10px 6px;
- width: 37px;
- height: 32px;
- object-fit: cover;
- }
-
- .headerTitle {
- align-self: center;
- color: #109033;
- font-size: 7.5vw;
- }
-
- .headerSubTitle {
- align-self: center;
- padding-top: 8px;
- padding-left: 8px;
- color: #109033;
- font-size: 3.8vw;
- }
-
- /* 新型コロナウィルス感染症について */
- .coronaNotice {
- position: relative;
- margin: 0 20px 16px;
- padding: 1px;
- min-height: 120px;
- width: 90%;
- border-radius: 8px;
- background-color: #ffffff;
- }
-
- .coronaNoticepadding {
- display: block;
- position: relative;
- margin: 6px auto;
- width: 94%;
- }
-
- .aboutCorona {
- display: block;
- position: relative;
- width: 100%;
- }
-
- .kitagataTownSituation {
- display: block;
- position: relative;
- top: -1%;
- width: 50%;
- }
-
- .eventCancel {
- display: block;
- position: relative;
- top: -1%;
- width: 50%;
- }
-
- /* .coronaVaccination {
- display: block;
- position: absolute;
- top: 24%;
- left: 50%;
- width: 50%;
- } */
- .coronaVaccination {
- display: block;
- width: 100%;
- }
-
- .aboutCoronaImg {
- width: 100%;
- }
-
- .kitagataTownSituationImg {
- width: 100%;
- }
-
- .eventCancelImg {
- width: 100%;
- }
-
- .coronaVaccinationImg {
- width: 100%;
- }
-
- /* 災害情報 */
- .disasterInfo {
- display: flex;
- margin: 0 20px 16px;
- min-height: 32px;
- width: 90%;
- border-radius: 8px;
- background-color: #ffffff;
- }
-
- .disasterInfoTitleWrap {
- display: flex;
- justify-content: center;
- align-items: center;
- width: 30%;
- }
-
- .disasterInfoTitle {
- display: flex;
- justify-content: center;
- align-items: center;
- border-radius: 2px;
- padding: 0 4px;
- height: 20px;
- background-color: #38abd0;
- }
-
- .disasterInfoTitle__text {
- font-size: 2.8vw;
- color: #ffffff;
- }
-
- .disasterInfoDetail {
- display: flex;
- justify-content: center;
- align-items: center;
- margin-left: 8px;
- font-size: 3.2vw;
- }
-
- /* 新着情報 */
- .newInfo {
- margin: 0 20px 16px;
- min-height: 120px;
- width: 90%;
- border-radius: 8px;
- background-color: #ffffff;
- }
-
- .newInfoTitle {
- position: relative;
- margin-bottom: 4px;
- min-height: 22px;
- border-radius: 8px 8px 0 0;
- background-color: #FF6666;
- }
-
- .newInfoTitle__text {
- padding: 6px 0 0 16px;
- font-size: 3.2vw;
- }
-
- .newInfoText {
- color: #ffffff;
- }
-
- .newInfoList {
- margin-top: 3px;
- font-size: 2vw;
- color: #ffffff;
- }
-
- .newInfoTitle__list {
- display: flex;
- justify-content: center;
- align-items: center;
- position: absolute;
- width: 70px;
- top: 16%;
- right: 5%;
- background-color: #707070;
- }
-
- .newInfoTopic {
- margin: 0 auto;
- padding: 0 8px;
- height: 120px;
- width: 84%;
- overflow: scroll;
- }
-
- .newInfoTopicWrap {
- position: relative;
- display: inline-block;
- margin-bottom: 4px;
- }
-
- .newInfoTopicWrap__date {
- margin-bottom: 2px;
- font-size: 2.8vw;
- }
-
- .newInfoTopicWrap__date:before {
-
- }
-
- .newInfoTopicWrap__text {
- margin-bottom: 4px;
- font-size: 3.2vw;
- }
-
- /* ライフイベント */
- .lifeEvent {
- margin: 0 20px 16px;
- padding-top: 1px;
- min-height: 396px;
- width: 90%;
- border-radius: 8px;
- background-color: #ffffff;
- }
-
- .lifeEventTitle {
- display: flex;
- flex-direction: column;
- align-items: center;
- margin: 16px 0 24px;
- }
-
- .lifeEventTitle__text {
- position: relative;
- font-size: 5.4vw;
- }
-
- .lifeEventTitle__text:before {
- position: absolute;
- bottom: -8px;
- /*left: 20%;*/
- width: 100%;
- height: 2px;
- background: #49A01E;
- content: '';
- }
-
- .lifeEventContents {
- display: flex;
- flex-wrap: wrap;
- justify-content: space-between;
- margin: 0 auto;
- width: 88%;
- }
-
- .lifeEventContent {
- display: flex;
- margin-bottom: 16px;
- width: 50%;
- }
-
- .lifeEventName {
- align-self: center;
- margin-left: 4px;
- font-size: 3.2vw;
- }
-
- .lifeEventNameException {
- align-self: center;
- margin-left: 4px;
- font-size: 2.8vw;
- }
-
- /* 町長の部屋以下 */
- .mayorRoom {
- display: flex;
- flex-wrap: wrap;
- justify-content: center;
- margin: 0 20px 16px;
- padding-top: 1px;
- min-height: 568px;
- width: 90%;
- border-radius: 8px;
- background-color: #ffffff;
- }
-
- .mayorRoomContent {
- margin: 16px 12px 8px;
- width: 92%;
- }
-
- .parliamentContent {
- margin: 0 auto 8px;
- width: 92%;
- }
-
- .disasterPreventionContent {
- margin: 0 auto 8px;
- width: 92%;
- }
-
- .kouhouKitagataContent {
- margin: 0 auto 8px;
- width: 92%;
- }
-
- .kawasemiStoolsContent {
- margin: 0 auto 16px;
- width: 92%;
- }
-
- .mayorRoomImg {
- width: 100%;
- }
-
- /* きたがたまなびすと */
- .kitagatamanabisuto {
- margin: 0 20px 16px;
- padding-top: 1px;
- min-height: 597px;
- width: 90%;
- border-radius: 8px;
- background-color: #ffffff;
- }
-
- .kitagatamanabisutoContents {
- display: flex;
- flex-wrap: wrap;
- justify-content: space-between;
- margin: 16px 12px;
- width: 92%;
- }
-
- .kitagatamanabisutoContent {
- width: 47%;
- margin-bottom: 16px;
- }
-
- .kitagatamanabisutoImg {
- width: 100%;
- }
-
- /* 関連リンク */
- .relatedLinks {
- margin: 0 20px 16px;
- padding-top: 1px;
- min-height: 249px;
- width: 90%;
- border-radius: 8px;
- background-color: #ffffff;
- }
-
- .relatedLinksTitle {
- display: flex;
- flex-direction: column;
- align-items: center;
- margin: 16px 0 24px;
- }
-
- .relatedLinksTitle__text {
- position: relative;
- font-size: 5.4vw;
- }
-
- .relatedLinksTitle__text:before {
- position: absolute;
- bottom: -8px;
- /*left: 5%;*/
- width: 100%;
- height: 2px;
- background: #49A01E;
- content: '';
- }
-
- .relatedLinksContents {
- display: flex;
- flex-wrap: wrap;
- justify-content: center;
- margin: 0 20px;
- width: 88%;
- }
-
- .relatedLinksContents__left {
- margin-right: 4px;
- margin-bottom: 4px;
- width: 32%;
- }
-
- .relatedLinksContents__center {
- margin-right: 4px;
- margin-bottom: 4px;
- width: 32%;
- }
-
- .relatedLinksContents__right {
- margin-bottom: 4px;
- width: 32%;
- }
-
- .relatedLinksImg {
- min-height: 37px;
- width: 100%;
- }
-
- /* 広告スペース */
- .advertisementLink {
- margin: 0 20px 16px;
- padding-top: 1px;
- min-height: 462px;
- width: 90%;
- border-radius: 8px;
- background-color: #ffffff;
- }
-
- .advertisementLinkTitle {
- display: flex;
- flex-direction: column;
- align-items: center;
- margin: 16px 0 24px;
- }
-
- .advertisementLinkTitle__text {
- position: relative;
- font-size: 5.4vw;
- }
-
- .advertisementLinkTitle__text:before {
- position: absolute;
- bottom: -8px;
- /*left: 12%;*/
- width: 100%;
- height: 2px;
- background: #49A01E;
- content: '';
- }
-
- .advertisementLinkContents {
- display: flex;
- flex-wrap: wrap;
- justify-content: center;
- margin: 0 20px;
- width: 88%;
- }
-
- .advertisementLinkContents__left {
- margin-right: 4px;
- margin-bottom: 4px;
- width: 32%;
- }
-
- .advertisementLinkContents__center {
- margin-right: 4px;
- margin-bottom: 4px;
- width: 32%;
- }
-
- .advertisementLinkContents__right {
- margin-bottom: 4px;
- width: 32%;
- }
-
- .advertisementLinkImg {
- width: 100%;
- }
-
- /* 町の人口 */
- .people {
- margin: 0 20px 16px;
- padding-top: 1px;
- min-height: 281px;
- width: 90%;
- border-radius: 8px;
- background-color: #ffffff;
- }
-
- .peopleTitle {
- display: flex;
- flex-direction: column;
- align-items: center;
- margin: 18px 0 24px;
- }
-
- .peopleTitle__text {
- position: relative;
- font-size: 5.4vw;
- }
-
- .peopleTitle__text:before {
- position: absolute;
- bottom: -8px;
- /*left: -3%;*/
- width: 100%;
- height: 2px;
- background: #49A01E;
- content: '';
- }
-
- .peopleContent {
- display: flex;
- align-items: center;
- margin: 0 62px 12px;
- width: 62%;
- }
-
- .peopleLastContent {
- display: flex;
- align-items: center;
- margin: 0 62px 16px;
- width: 62%;
- }
-
- .peopleImg {
- width: 12%;
- }
-
- .people__img {
- width: 100%;
- }
-
- .icon {
- color: #565656;
- font-size: 1.5em;
- }
-
- .people__unit {
- margin-left: 8px;
- width: 30%;
- font-size: 3.2vw;
- }
-
- .people__population {
- margin-bottom: 1px;
- font-size: 4.8vw;
- font-weight: bold;
- }
-
- .lastUpdate {
- display: flex;
- justify-content: flex-end;
- margin-bottom: 16px;
- }
-
- .lastUpdate__text {
- margin-right: 52px;
- font-size: 3.2vw;
- }
-
- .peopleLink {
- display: flex;
- justify-content: space-evenly;
- margin: 0 auto 16px;
- width: 68%;
- }
-
- .peopleLinkText {
- font-size: 3.8vw;
- color: #707070;
- }
-
- /* フッター */
- .footerTitle {
- margin-bottom: 16px;
- }
-
- .footerTitleLogo {
- display: flex;
- justify-content: center;
- }
-
- .footerTitleLogo__img {
- margin: 10px 6px;
- width: 37px;
- height: 32px;
- object-fit: cover;
- }
-
- .footerTitleTownName {
- display: flex;
- justify-content: center;
- }
-
- .footerTitleLogo__text {
- font-size: 5.4vw;
- color: #109033;
- }
-
- .footerContent {
- margin-bottom: 16px;
- }
-
- .footerTextWrap {
- display: flex;
- justify-content: center;
- margin-bottom: 4px;
- }
-
- .footerLink {
- margin-bottom: 16px;
- }
-
- .footerTextWrap__text {
- font-size: 4vw;
- }
-
- .footerLinkWrap {
- display: flex;
- justify-content: center;
- margin-bottom: 4px;
- }
-
- .footerLinkWrap__text {
- display: block;
- font-size: 10px;
- transform: scale(0.8);
- transform-origin: 0 0;
- }
-
- #backToButton {
- position: fixed;
- right: 30px;
- bottom: 30px;
- padding: 10px;
- font-size: 86%;
- text-decoration: none;
- border-radius: 5px;
- opacity: 0.0;
- transition: ease .3s;
- }
-
- #backToButton.view {
- opacity: 1.0;
- }
-
- .linkNone {
- color: black;
- text-decoration: none;
- }
- }
|