No Description
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

style.css 12KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631
  1. @media (max-width: 768px) {
  2. body {
  3. font-family: 'Lucida Grande', 'Hiragino Kaku Gothic ProN', Meiryo, sans-serif;
  4. background-color: #F7F3BC;
  5. }
  6. /* ヘッダー */
  7. .header {
  8. display: flex;
  9. margin-bottom: 16px;
  10. width: 100%;
  11. background-color: #ffffff;
  12. }
  13. .headerLogo__image {
  14. margin: 10px 6px;
  15. width: 37px;
  16. height: 32px;
  17. object-fit: cover;
  18. }
  19. .headerTitle {
  20. align-self: center;
  21. color: #109033;
  22. font-size: 7.5vw;
  23. }
  24. .headerSubTitle {
  25. align-self: center;
  26. padding-top: 8px;
  27. padding-left: 8px;
  28. color: #109033;
  29. font-size: 3.8vw;
  30. }
  31. /* 新型コロナウィルス感染症について */
  32. .coronaNotice {
  33. position: relative;
  34. margin: 0 20px 16px;
  35. padding: 1px;
  36. min-height: 120px;
  37. width: 90%;
  38. border-radius: 8px;
  39. background-color: #ffffff;
  40. }
  41. .coronaNoticepadding {
  42. display: block;
  43. position: relative;
  44. margin: 6px auto;
  45. width: 94%;
  46. }
  47. .aboutCorona {
  48. display: block;
  49. position: relative;
  50. width: 100%;
  51. }
  52. .kitagataTownSituation {
  53. display: block;
  54. position: relative;
  55. top: -1%;
  56. width: 50%;
  57. }
  58. .eventCancel {
  59. display: block;
  60. position: relative;
  61. top: -1%;
  62. width: 50%;
  63. }
  64. .coronaVaccination {
  65. display: block;
  66. position: absolute;
  67. top: 24%;
  68. left: 50%;
  69. width: 50%;
  70. }
  71. .aboutCoronaImg {
  72. width: 100%;
  73. }
  74. .kitagataTownSituationImg {
  75. width: 100%;
  76. }
  77. .eventCancelImg {
  78. width: 100%;
  79. }
  80. .coronaVaccinationImg {
  81. width: 100%;
  82. }
  83. /* 災害情報 */
  84. .disasterInfo {
  85. display: flex;
  86. margin: 0 20px 16px;
  87. min-height: 32px;
  88. width: 90%;
  89. border-radius: 8px;
  90. background-color: #ffffff;
  91. }
  92. .disasterInfoTitleWrap {
  93. display: flex;
  94. justify-content: center;
  95. align-items: center;
  96. width: 30%;
  97. }
  98. .disasterInfoTitle {
  99. display: flex;
  100. justify-content: center;
  101. align-items: center;
  102. border-radius: 2px;
  103. padding: 0 4px;
  104. height: 20px;
  105. background-color: #38abd0;
  106. }
  107. .disasterInfoTitle__text {
  108. font-size: 2.8vw;
  109. color: #ffffff;
  110. }
  111. .disasterInfoDetail {
  112. display: flex;
  113. justify-content: center;
  114. align-items: center;
  115. margin-left: 8px;
  116. font-size: 3.2vw;
  117. }
  118. /* 新着情報 */
  119. .newInfo {
  120. margin: 0 20px 16px;
  121. min-height: 120px;
  122. width: 90%;
  123. border-radius: 8px;
  124. background-color: #ffffff;
  125. }
  126. .newInfoTitle {
  127. position: relative;
  128. margin-bottom: 4px;
  129. min-height: 22px;
  130. border-radius: 8px 8px 0 0;
  131. background-color: #FF6666;
  132. }
  133. .newInfoTitle__text {
  134. padding: 6px 0 0 16px;
  135. font-size: 3.2vw;
  136. }
  137. .newInfoText {
  138. color: #ffffff;
  139. }
  140. .newInfoList {
  141. margin-top: 3px;
  142. font-size: 2vw;
  143. color: #ffffff;
  144. }
  145. .newInfoTitle__list {
  146. display: flex;
  147. justify-content: center;
  148. align-items: center;
  149. position: absolute;
  150. width: 70px;
  151. top: 16%;
  152. right: 5%;
  153. background-color: #707070;
  154. }
  155. .newInfoTopic {
  156. margin: 0 auto;
  157. padding: 0 8px;
  158. height: 120px;
  159. width: 84%;
  160. overflow: scroll;
  161. }
  162. .newInfoTopicWrap {
  163. position: relative;
  164. display: inline-block;
  165. margin-bottom: 4px;
  166. }
  167. .newInfoTopicWrap__date {
  168. margin-bottom: 2px;
  169. font-size: 2.8vw;
  170. }
  171. .newInfoTopicWrap__date:before {
  172. }
  173. .newInfoTopicWrap__text {
  174. margin-bottom: 4px;
  175. font-size: 3.2vw;
  176. }
  177. /* ライフイベント */
  178. .lifeEvent {
  179. margin: 0 20px 16px;
  180. padding-top: 1px;
  181. min-height: 396px;
  182. width: 90%;
  183. border-radius: 8px;
  184. background-color: #ffffff;
  185. }
  186. .lifeEventTitle {
  187. display: flex;
  188. flex-direction: column;
  189. align-items: center;
  190. margin: 16px 0 24px;
  191. }
  192. .lifeEventTitle__text {
  193. position: relative;
  194. font-size: 5.4vw;
  195. }
  196. .lifeEventTitle__text:before {
  197. position: absolute;
  198. bottom: -8px;
  199. /*left: 20%;*/
  200. width: 100%;
  201. height: 2px;
  202. background: #49A01E;
  203. content: '';
  204. }
  205. .lifeEventContents {
  206. display: flex;
  207. flex-wrap: wrap;
  208. justify-content: space-between;
  209. margin: 0 auto;
  210. width: 88%;
  211. }
  212. .lifeEventContent {
  213. display: flex;
  214. margin-bottom: 16px;
  215. width: 50%;
  216. }
  217. .lifeEventName {
  218. align-self: center;
  219. margin-left: 4px;
  220. font-size: 3.2vw;
  221. }
  222. .lifeEventNameException {
  223. align-self: center;
  224. margin-left: 4px;
  225. font-size: 2.8vw;
  226. }
  227. /* 町長の部屋以下 */
  228. .mayorRoom {
  229. display: flex;
  230. flex-wrap: wrap;
  231. justify-content: center;
  232. margin: 0 20px 16px;
  233. padding-top: 1px;
  234. min-height: 568px;
  235. width: 90%;
  236. border-radius: 8px;
  237. background-color: #ffffff;
  238. }
  239. .mayorRoomContent {
  240. margin: 16px 12px 8px;
  241. width: 92%;
  242. }
  243. .parliamentContent {
  244. margin: 0 auto 8px;
  245. width: 92%;
  246. }
  247. .disasterPreventionContent {
  248. margin: 0 auto 8px;
  249. width: 92%;
  250. }
  251. .kouhouKitagataContent {
  252. margin: 0 auto 8px;
  253. width: 92%;
  254. }
  255. .kawasemiStoolsContent {
  256. margin: 0 auto 16px;
  257. width: 92%;
  258. }
  259. .mayorRoomImg {
  260. width: 100%;
  261. }
  262. /* きたがたまなびすと */
  263. .kitagatamanabisuto {
  264. margin: 0 20px 16px;
  265. padding-top: 1px;
  266. min-height: 597px;
  267. width: 90%;
  268. border-radius: 8px;
  269. background-color: #ffffff;
  270. }
  271. .kitagatamanabisutoContents {
  272. display: flex;
  273. flex-wrap: wrap;
  274. justify-content: space-between;
  275. margin: 16px 12px;
  276. width: 92%;
  277. }
  278. .kitagatamanabisutoContent {
  279. width: 47%;
  280. margin-bottom: 16px;
  281. }
  282. .kitagatamanabisutoImg {
  283. width: 100%;
  284. }
  285. /* 関連リンク */
  286. .relatedLinks {
  287. margin: 0 20px 16px;
  288. padding-top: 1px;
  289. min-height: 249px;
  290. width: 90%;
  291. border-radius: 8px;
  292. background-color: #ffffff;
  293. }
  294. .relatedLinksTitle {
  295. display: flex;
  296. flex-direction: column;
  297. align-items: center;
  298. margin: 16px 0 24px;
  299. }
  300. .relatedLinksTitle__text {
  301. position: relative;
  302. font-size: 5.4vw;
  303. }
  304. .relatedLinksTitle__text:before {
  305. position: absolute;
  306. bottom: -8px;
  307. /*left: 5%;*/
  308. width: 100%;
  309. height: 2px;
  310. background: #49A01E;
  311. content: '';
  312. }
  313. .relatedLinksContents {
  314. display: flex;
  315. flex-wrap: wrap;
  316. justify-content: center;
  317. margin: 0 20px;
  318. width: 88%;
  319. }
  320. .relatedLinksContents__left {
  321. margin-right: 4px;
  322. margin-bottom: 4px;
  323. width: 32%;
  324. }
  325. .relatedLinksContents__center {
  326. margin-right: 4px;
  327. margin-bottom: 4px;
  328. width: 32%;
  329. }
  330. .relatedLinksContents__right {
  331. margin-bottom: 4px;
  332. width: 32%;
  333. }
  334. .relatedLinksImg {
  335. min-height: 37px;
  336. width: 100%;
  337. }
  338. /* 広告スペース */
  339. .advertisementLink {
  340. margin: 0 20px 16px;
  341. padding-top: 1px;
  342. min-height: 462px;
  343. width: 90%;
  344. border-radius: 8px;
  345. background-color: #ffffff;
  346. }
  347. .advertisementLinkTitle {
  348. display: flex;
  349. flex-direction: column;
  350. align-items: center;
  351. margin: 16px 0 24px;
  352. }
  353. .advertisementLinkTitle__text {
  354. position: relative;
  355. font-size: 5.4vw;
  356. }
  357. .advertisementLinkTitle__text:before {
  358. position: absolute;
  359. bottom: -8px;
  360. /*left: 12%;*/
  361. width: 100%;
  362. height: 2px;
  363. background: #49A01E;
  364. content: '';
  365. }
  366. .advertisementLinkContents {
  367. display: flex;
  368. flex-wrap: wrap;
  369. justify-content: center;
  370. margin: 0 20px;
  371. width: 88%;
  372. }
  373. .advertisementLinkContents__left {
  374. margin-right: 4px;
  375. margin-bottom: 4px;
  376. width: 32%;
  377. }
  378. .advertisementLinkContents__center {
  379. margin-right: 4px;
  380. margin-bottom: 4px;
  381. width: 32%;
  382. }
  383. .advertisementLinkContents__right {
  384. margin-bottom: 4px;
  385. width: 32%;
  386. }
  387. .advertisementLinkImg {
  388. width: 100%;
  389. }
  390. /* 町の人口 */
  391. .people {
  392. margin: 0 20px 16px;
  393. padding-top: 1px;
  394. min-height: 281px;
  395. width: 90%;
  396. border-radius: 8px;
  397. background-color: #ffffff;
  398. }
  399. .peopleTitle {
  400. display: flex;
  401. flex-direction: column;
  402. align-items: center;
  403. margin: 18px 0 24px;
  404. }
  405. .peopleTitle__text {
  406. position: relative;
  407. font-size: 5.4vw;
  408. }
  409. .peopleTitle__text:before {
  410. position: absolute;
  411. bottom: -8px;
  412. /*left: -3%;*/
  413. width: 100%;
  414. height: 2px;
  415. background: #49A01E;
  416. content: '';
  417. }
  418. .peopleContent {
  419. display: flex;
  420. align-items: center;
  421. margin: 0 62px 12px;
  422. width: 62%;
  423. }
  424. .peopleLastContent {
  425. display: flex;
  426. align-items: center;
  427. margin: 0 62px 16px;
  428. width: 62%;
  429. }
  430. .peopleImg {
  431. width: 12%;
  432. }
  433. .people__img {
  434. width: 100%;
  435. }
  436. .icon {
  437. color: #565656;
  438. font-size: 1.5em;
  439. }
  440. .people__unit {
  441. margin-left: 8px;
  442. width: 30%;
  443. font-size: 3.2vw;
  444. }
  445. .people__population {
  446. margin-bottom: 1px;
  447. font-size: 4.8vw;
  448. font-weight: bold;
  449. }
  450. .lastUpdate {
  451. display: flex;
  452. justify-content: flex-end;
  453. margin-bottom: 16px;
  454. }
  455. .lastUpdate__text {
  456. margin-right: 52px;
  457. font-size: 3.2vw;
  458. }
  459. .peopleLink {
  460. display: flex;
  461. justify-content: space-evenly;
  462. margin: 0 auto 16px;
  463. width: 68%;
  464. }
  465. .peopleLinkText {
  466. font-size: 3.8vw;
  467. color: #707070;
  468. }
  469. /* フッター */
  470. .footerTitle {
  471. margin-bottom: 16px;
  472. }
  473. .footerTitleLogo {
  474. display: flex;
  475. justify-content: center;
  476. }
  477. .footerTitleLogo__img {
  478. margin: 10px 6px;
  479. width: 37px;
  480. height: 32px;
  481. object-fit: cover;
  482. }
  483. .footerTitleTownName {
  484. display: flex;
  485. justify-content: center;
  486. }
  487. .footerTitleLogo__text {
  488. font-size: 5.4vw;
  489. color: #109033;
  490. }
  491. .footerContent {
  492. margin-bottom: 16px;
  493. }
  494. .footerTextWrap {
  495. display: flex;
  496. justify-content: center;
  497. margin-bottom: 4px;
  498. }
  499. .footerLink {
  500. margin-bottom: 16px;
  501. }
  502. .footerTextWrap__text {
  503. font-size: 4vw;
  504. }
  505. .footerLinkWrap {
  506. display: flex;
  507. justify-content: center;
  508. margin-bottom: 4px;
  509. }
  510. .footerLinkWrap__text {
  511. display: block;
  512. font-size: 10px;
  513. transform: scale(0.8);
  514. transform-origin: 0 0;
  515. }
  516. #backToButton {
  517. position: fixed;
  518. right: 30px;
  519. bottom: 30px;
  520. padding: 10px;
  521. font-size: 86%;
  522. text-decoration: none;
  523. border-radius: 5px;
  524. opacity: 0.0;
  525. transition: ease .3s;
  526. }
  527. #backToButton.view {
  528. opacity: 1.0;
  529. }
  530. .linkNone {
  531. color: black;
  532. text-decoration: none;
  533. }
  534. }