Guest User

Untitled

a guest
Jul 22nd, 2018
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.36 KB | None | 0 0
  1. @charset "utf-8";
  2.  
  3. body {
  4. margin: 0;
  5. padding: 0;
  6. background-color: #cccccc;
  7. color: #333333;
  8. font-size: 15px;
  9. line-height: 2;
  10. }
  11.  
  12. p,h1,h2,h3,h4,h5,h6 {
  13. margin-top: 0;
  14. }
  15.  
  16. img {
  17. vertical-align:bottom;
  18. }
  19.  
  20. ul {
  21. margin: 0;
  22. padding: 0;
  23. }
  24.  
  25. a {
  26. color: #3583aa;
  27. text-decoration: none;
  28. }
  29.  
  30. a:visited {
  31. color: #788d98;
  32. }
  33.  
  34. a:hover {
  35. text-decoration: underline;
  36. }
  37.  
  38. header {
  39. width: 960px;
  40. height: 100px;
  41. margin: 0 auto;
  42. }
  43.  
  44. .logo {
  45. float: left;
  46. margin-top: 50px;
  47. }
  48.  
  49. .global-nav {
  50. float: right;
  51. margin-top: 60px;
  52. }
  53.  
  54. .global-nav li {
  55. float: left;
  56. margin: 0 20px;
  57. font-size: 20px;
  58. list-style: none;
  59. font-family: 'Bitter', serif;
  60. }
  61.  
  62. .global-nav li a {
  63. color: #ffffff;
  64. }
  65.  
  66. .global-nav li a:hover {
  67. border-bottom: 2px solid #ffffff;
  68. padding-bottom: 3px;
  69. text-decoration: none;
  70. }
  71.  
  72. #wrap {
  73. clear: both;
  74. background-color: #ffffff;
  75. margin-top: 220px;
  76. padding: 35px 0;
  77. }
  78.  
  79. .content {
  80. width: 960px;
  81. margin: 0 auto;
  82. }
  83.  
  84. footer {
  85. text-align: center;
  86. color: #FFFFFF;
  87. padding: 20px 0;
  88. background-color: #767671;
  89. }
  90.  
  91. footer small {
  92. font-size: 12px;
  93. }
  94.  
  95. #index h1 {
  96. font-size: 100px;
  97. line-height: 1;
  98. color: #ffffff;
  99. font-family: 'Bitter', serif;
  100. margin-bottom: 50px;
  101. border: none;
  102. }
  103.  
  104. #index .content {
  105. margin-top: 150px;
  106. }
  107.  
  108. #index p {
  109. font-size: 16px;
  110. color: #ffffff;
  111. }
  112.  
  113. .btn a {
  114. background-color: #009cd3;
  115. color: #ffffff;
  116. font-size: 20px;
  117. font-family: 'Bitter', serif;
  118. width: 185px;
  119. display: block;
  120. text-align: center;
  121. line-height: 50px;
  122. margin-top: 20px;
  123. border-radius: 5px;
  124. border: 3px solid #009cd3;
  125. }
  126.  
  127. .btn a:hover {
  128. text-decoration: none;
  129. background-color: #ffffff;
  130. color: #009cd3;
  131. }
  132.  
  133. #index footer {
  134. width: 960px;
  135. margin: 150px auto 0 auto;
  136. text-align: left;
  137. background-color: transparent;
  138. }
  139.  
  140. #index {
  141. background-image: url(../images/bg-index.jpg);
  142. background-repeat: no-repeat;
  143. background-position: center center;
  144. background-attachment: fixed;
  145. background-size: cover;
  146. }
  147.  
  148. #about {
  149. background-image: url(../images/bg-about.jpg);
  150. background-repeat: no-repeat;
  151. background-position: center top;
  152. background-attachment: fixed;
  153. background-size: 100% auto;
  154. }
  155.  
  156. .main-center {
  157. width: 940px;
  158. margin: 0 auto;
  159. }
  160.  
  161. h1 {
  162. font-family: 'Bitter', serif;
  163. font-size: 36px;
  164. border-bottom: 1px solid #cccccc;
  165. }
  166.  
  167. h2 {
  168. font-family: 'Bitter', serif;
  169. font-size: 24px;
  170. }
  171.  
  172. .icon:before {
  173. content: "";
  174. padding-right: 10px;
  175. border-left: 7px solid #9cb4a4;
  176. }
  177.  
  178. #about .profile-txt {
  179. width: 540px;
  180. float: left;
  181. }
  182.  
  183. #about .profile-txt span {
  184. font-weight: bold;
  185. }
  186.  
  187. #about .profile-image {
  188. float: right;
  189. }
  190.  
  191. .clearfix:after {
  192. content: "";
  193. display: block;
  194. clear: both;
  195. }
  196.  
  197. section {
  198. margin-bottom: 35px;
  199. }
  200.  
  201. #about .career th {
  202. width: 240px;
  203. background-color: #f0f0f0;
  204. padding: 12px 0;
  205. border: 1px solid #cccccc;
  206. }
  207.  
  208. #about .career td {
  209. width: 660px;
  210. padding: 12px 0 12px 40px;
  211. border: 1px solid #cccccc;
  212. }
  213.  
  214. table {
  215. border-spacing: 0;
  216. border-collapse: collapse;
  217. }
  218.  
  219. #index #wrap {
  220. background-color: transparent;
  221. margin-top: 0;
  222. padding: 0;
  223. }
  224.  
  225. #portfolio {
  226. background-image: url(../images/bg-portfolio.jpg);
  227. background-repeat: no-repeat;
  228. background-position: center top;
  229. background-attachment: fixed;
  230. background-size: 100% auto;
  231. }
  232.  
  233. .main {
  234. width: 700px;
  235. margin: 0 10px;
  236. float: left;
  237. }
  238.  
  239. .sidebar {
  240. width: 200px;
  241. margin: 0 10px 0 30px;
  242. float: right;
  243. font-family: 'Bitter', serif;
  244. }
  245.  
  246. a img:hover {
  247. opacity: 0.8;
  248. }
  249.  
  250. .sidebar h2 {
  251. margin-bottom: 10px;
  252. }
  253.  
  254. .sidebar ul {
  255. font-size: 16px;
  256. margin-left: 20px
  257. }
  258.  
  259. .sidebar ul a {
  260. color: #333333;
  261. }
  262.  
  263. #photograph {
  264. background-image: url(../images/bg-photograph.jpg);
  265. background-repeat: no-repeat;
  266. background-position: center top;
  267. background-attachment: fixed;
  268. background-size: 100% auto;
  269. }
  270.  
  271. #photograph .photograph-list li {
  272. float: left;
  273. list-style: none;
  274. margin: 0 20px 15px 0;
  275. }
  276.  
  277. #photograph .photograph-list li:nth-child(3n) {
  278. margin-right: 0;
  279. }
  280.  
  281. #video {
  282. background-image: url(../images/bg-video.jpg);
  283. background-repeat: no-repeat;
  284. background-position: center top;
  285. background-attachment: fixed;
  286. background-size: 100% auto;
  287. }
  288.  
  289. #contact {
  290. background-image: url(../images/bg-contact.jpg);
  291. background-repeat: no-repeat;
  292. background-position: center top;
  293. background-attachment: fixed;
  294. background-size: 100% auto;
  295. }
  296.  
  297. #contact .access table {
  298. float: left;
  299. }
  300.  
  301. #contact .access th,
  302. #contact .access td {
  303. text-align: left;
  304. vertical-align: top;
  305. line-height: 2.5;
  306. }
  307.  
  308. #contact .access td {
  309. padding-left: 30px;
  310. }
  311.  
  312. #contact .access iframe {
  313. width: 460px;
  314. float: right;
  315. }
  316.  
  317. #contact .form {
  318. background-color: #eaeaea;
  319. padding: 30px 50px;
  320. }
  321.  
  322. #contact .form dl dt {
  323. width: 165px;
  324. padding: 10px 0;
  325. float: left;
  326. clear: both;
  327. }
  328.  
  329. #contact .form dl dd {
  330. padding: 10px 0;
  331. }
  332.  
  333. #contact .form .name {
  334. width: 240px;
  335. height: 30px;
  336. }
  337.  
  338. #contact .form .email {
  339. width: 300px;
  340. height: 30px;
  341. }
  342.  
  343. #contact .form .tel {
  344. width: 240px;
  345. height: 30px;
  346. }
  347.  
  348. #contact .form .type {
  349. width: 180px;
  350. height: 30px;
  351. }
  352.  
  353. #contact .form .message {
  354. width: 660px;
  355. height: 150px;
  356. }
  357.  
  358. #contact .form button {
  359. background-color: #009cd3;
  360. color: #ffffff;
  361. font-size: 20px;
  362. width: 120px;
  363. display: block;
  364. text-align: center;
  365. line-height: 50px;
  366. border-radius: 5px;
  367. border: 3px solid #009cd3;
  368. margin-left: 165px;
  369. }
  370.  
  371. #contact .form button:hover {
  372. background-color: #ffffff;
  373. color: #009cd3;
  374. cursor: pointer;
  375. }
  376.  
  377. #contact .form .required:after {
  378. content: " * ";
  379. color: #ff0000;
  380. }
  381.  
  382. #contact .form .attenrion {
  383. margin: 20px 0 0 165px;
  384. }
  385.  
  386. @media screen and (max-width:660px) {
  387. /* 画面サイズが600px以下の場合に適用 */
  388.  
  389. body {
  390. font-size: 3.5vw;
  391. }
  392.  
  393. h1 {
  394. font-size: 7.2vw;
  395. }
  396.  
  397. h2 {
  398. font-size: 6vw;
  399. }
  400.  
  401. header {
  402. width: auto;
  403. margin: 0 5%;
  404. }
  405.  
  406. .logo {
  407. float: none;
  408. margin-top: 60px;
  409. text-align: center;
  410. }
  411.  
  412. .global-nav {
  413. float: none;
  414. margin-top: 40ox;
  415. text-align: center;
  416. }
  417.  
  418. .global-nav li {
  419. display: inline;
  420. float: none;
  421. margin: 0 8px;
  422. }
  423.  
  424. #wrap {
  425. margin-top: 40px;
  426. padding: 35px 0 0;
  427. }
  428.  
  429. .content {
  430. width: 100%;
  431. }
  432.  
  433. .main {
  434. float: none;
  435. width: auto;
  436. margin: 0 5%;
  437. }
  438.  
  439. h2 img {
  440. max-width: 100%;
  441. }
  442.  
  443. #portfolio {
  444. background-image: url(../images/bg-portfolio-sp.jpg)
  445. }
  446.  
  447. .sidebar {
  448. width: auto;
  449. float: none;
  450. margin: 0;
  451. padding: 30px 10% 10px;
  452. background-color: #f7f6f4;
  453. }
  454. }
Add Comment
Please, Sign In to add comment