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

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