選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。
 
 
 
 

267 行
4.4 KiB

  1. @charset "UTF-8";
  2. @include font-definition('Icons', 'icons/icons');
  3. @include font-definition('IHK24FontAwesome', 'ihk24-fontawesome/ihk24-fontawesome');
  4. @include font-definition('Korb', 'korb_regular_macroman/korb-webfont');
  5. @include font-definition('Korb', 'korb_bold_macroman/korb_bold-webfont', 700);
  6. @include font-definition('Source Sans Pro', 'sourcesanspro_regular_macroman/SourceSansPro-Regular-webfont');
  7. @include font-definition('Source Sans Pro', 'sourcesanspro_light_macroman/SourceSansPro-Light-webfont', 300);
  8. @include font-definition('Source Sans Pro', 'sourcesanspro_italic_macroman/SourceSansPro-It-webfont', 400, italic);
  9. @include font-definition('Source Sans Pro', 'sourcesanspro_semibold_macroman/SourceSansPro-Semibold-webfont', 600);
  10. @include font-definition('Source Sans Pro', 'sourcesanspro_bold_macroman/SourceSansPro-Bold-webfont', 700);
  11. @mixin h1 {
  12. font-family: "Korb", sans-serif;
  13. font-size: 64px;
  14. line-height: 1.1;
  15. font-weight: 400;
  16. margin: 0.6em -0.02em 0.5em;
  17. @media(max-width: 1339px) {
  18. font-size: 54px;
  19. }
  20. @media(max-width: 999px) {
  21. font-size: 46px;
  22. }
  23. @media(max-width: 767px) {
  24. font-size: 36px;
  25. }
  26. }
  27. @mixin h2 {
  28. font-family: "Korb", sans-serif;
  29. font-size: 42px;
  30. line-height: 1.2;
  31. font-weight: 400;
  32. margin: 1.6em -0.02em 0.6em;
  33. @media(max-width: 1339px) {
  34. font-size: 36px;
  35. }
  36. @media(max-width: 999px) {
  37. font-size: 32px;
  38. }
  39. @media(max-width: 767px) {
  40. font-size: 28px;
  41. }
  42. }
  43. @mixin h3 {
  44. font-family: "Korb", sans-serif;
  45. font-size: 36px;
  46. line-height: 1.2;
  47. font-weight: 400;
  48. margin: 0.8em -0.02em 0.6em;
  49. @media(max-width: 1339px) {
  50. font-size: 32px;
  51. }
  52. @media(max-width: 999px) {
  53. font-size: 28px;
  54. }
  55. @media(max-width: 767px) {
  56. font-size: 24px;
  57. }
  58. }
  59. @mixin h4 {
  60. font-family: "Korb", sans-serif;
  61. font-style: normal;
  62. font-weight: normal;
  63. font-size: 28px;
  64. line-height: 1.2;
  65. margin: 1.5em 0 0.8em;
  66. @media(max-width: 1339px) {
  67. font-size: 24px;
  68. }
  69. @media(max-width: 767px) {
  70. font-size: 20px;
  71. }
  72. }
  73. @mixin h5 {
  74. font-family: "Korb", sans-serif;
  75. font-size: 22px;
  76. line-height: 1.2;
  77. font-weight: 400;
  78. margin: 1em 0 0.6em;
  79. @media(max-width: 1339px) {
  80. font-size: 20px;
  81. }
  82. @media(max-width: 767px) {
  83. font-size: 18px;
  84. }
  85. }
  86. @mixin h6 {
  87. font-size: 22px;
  88. font-weight: 600;
  89. margin: 1.2em 0 0.5em;
  90. @media(max-width: 767px) {
  91. font-size: 18px;
  92. }
  93. }
  94. html, body, button {
  95. font-family: 'Source Sans Pro', sans-serif;
  96. font-size: 22px;
  97. line-height: 1.5;
  98. color: $color-text;
  99. color: var(--theme-color-text, $color-text);
  100. -webkit-font-smoothing: antialiased;
  101. -moz-osx-font-smoothing: grayscale;
  102. @media(max-width: 1339px) {
  103. font-size: 20px;
  104. }
  105. @media(max-width: 999px) {
  106. font-size: 18px;
  107. }
  108. @media(max-width: 767px) {
  109. //font-size: 16px;
  110. }
  111. }
  112. h1, .like-h1 {
  113. @include h1;
  114. }
  115. h2, .like-h2 {
  116. @include h2;
  117. }
  118. h3, .like-h3 {
  119. @include h3;
  120. }
  121. h4, .like-h4 {
  122. @include h4;
  123. }
  124. h5, .like-h5 {
  125. @include h5;
  126. }
  127. h6 {
  128. @include h6;
  129. }
  130. .title {
  131. font-family: "Korb", sans-serif;
  132. font-weight: 400;
  133. }
  134. h1, .like-h1,
  135. h2, .like-h2,
  136. h3, .like-h3,
  137. h5,
  138. h6 {
  139. &:first-child {
  140. margin-top: 0;
  141. }
  142. }
  143. p, .text, ul.nobreaks {
  144. margin: 0 0 0.5em;
  145. }
  146. ul.nobreaks {
  147. padding: 0;
  148. list-style: none;
  149. li {
  150. margin: 0;
  151. padding: 0;
  152. &:after {
  153. display: none;
  154. }
  155. }
  156. }
  157. p a, .text a {
  158. color: $color-link;
  159. transition: 0.2s ease;
  160. &:hover {
  161. color: $color-link-hover;
  162. }
  163. }
  164. .clearfix {
  165. &:after {
  166. content: "";
  167. position: relative;
  168. display: block;
  169. clear: both;
  170. }
  171. }
  172. .kicker {
  173. display: block;
  174. font-size: 16px;
  175. text-transform: uppercase;
  176. margin-bottom: 2px;
  177. letter-spacing: 0.3px;
  178. @media(max-width: 767px) {
  179. font-size: 14px;
  180. }
  181. + h1, + h2, + h3, + h4 {
  182. margin-top: 0;
  183. }
  184. }
  185. .initial {
  186. font-weight: 600;
  187. margin: 12px 0 1em;
  188. min-height: 3.4em;
  189. &::first-letter {
  190. float: left;
  191. font-size: 3.4em;
  192. line-height: 1;
  193. margin: -0.04em 0.08em -0.2em -0.02em;
  194. font-weight: 400;
  195. }
  196. @media(max-width: 767px) {
  197. margin: 24px 0;
  198. &::first-letter {
  199. margin-top: -0.05em;
  200. }
  201. }
  202. &.text:after {
  203. content: "";
  204. display: table;
  205. clear: both;
  206. }
  207. }
  208. [data-browser="firefox"] {
  209. .initial::first-letter {
  210. margin-top: 0.113em;
  211. }
  212. .initial.text:after {
  213. content: "";
  214. display: table;
  215. clear: both;
  216. }
  217. }
  218. .icon-box {
  219. font-family: "Icons";
  220. font-weight: 400;
  221. text-transform: none;
  222. text-decoration: none !important;
  223. }