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 13KB

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