@font-face{ font-family: YuGothicM; src: local('Yu Gothic Medium'); } .mv div.default{ position: relative; background: url(../img/top/mv.jpg) 0 0 no-repeat; background-size: contain; } .mv div.default:before{ display: block; padding-top: 40.2%; content: ''; } .mv div.default > h1{ font-size: 2.11111em; font-weight: bold; position: absolute; top: 50%; right: 6.2%; margin: auto; transform: translateY(-50%); color: #fff; } .mv div.default > h1 > span{ display: block; width: 13.5em; transform: skewX(-25deg); transform-origin: 0 100%; background: #43bcff; background: -webkit-linear-gradient(left, #43bcff 0%, #0065c2 100%); background: linear-gradient(to right, #43bcff 0%, #0065c2 100%); } .mv div.default > h1 > span + span{ margin-top: 0.5em; margin-left: 1.6em; } .mv div.default > h1 > span > span{ display: block; transform: skewX(25deg); text-align: center; } .mv div.default > h1 > img{ width: 50%; margin: 0.7em auto 0; } .mv a{ display: block; } .mv a:hover{ opacity: 0.8; } .mv > p{ padding-top: 3.4em; padding-bottom: 3.7em; } /*====================================== common ======================================*/ section h2{ font-family: 'Oswald', sans-serif; font-size: 1.88889em; padding: 2em 0 1.6em; text-align: center; } section h2 span{ position: relative; display: inline-block; } section h2 span:before, section h2 span:after{ position: absolute; right: 0; left: 0; width: 1.25em; height: 3px; margin: auto; content: ''; transform: rotate(-45deg); background-color: #e7351d; } section h2 span:before{ top: 123%; left: -2.2em; } section h2 span:after{ right: -2.1em; bottom: 114%; } .seminar, .service, .information, .recruit, .contact{ padding-bottom: 3.8em; } /*====================================== seminar ======================================*/ .seminar { /* background-image: -webkit-gradient( linear, left top, left bottom, from(#DFDFDF), color-stop(0.49, #ffffff), color-stop(0.50, #ffffff), to(#DFDFDF)); background-image: -moz-linear-gradient( top, #DFDFDF 0%, #ffffff 49%, #ffffff 50%, #DFDFDF);*/ background-color: #f7f7f7; padding :30px 100px } .imgseminar { margin-top: 5px; /*画像の上の余白*/ display: inline-block; box-shadow: 10px 10px 20px 0px rgba(0, 0, 0, 0.4); /*横方向 下方向 ぼかし 広がり 色 */ } /*====================================== service ======================================*/ .service{ background-color: #f7f7f7; } .service h2 + p{ line-height: 2; } .service ul{ letter-spacing: -0.4em; } .service ul li{ position: relative; display: inline-block; margin-top: 2em; vertical-align: top; letter-spacing: normal; } .service ul li + li{ border-left: 1px solid #d8d8d8; } .service ul li:nth-child(1){ width: 50%; padding-right: 3.8em; } .service ul li:nth-child(2){ width: 50%; padding-left: 3.8em; } .service ul li:nth-child(3){ width: 33.333%; margin-top: 2.3em; padding-right: 1em; border-left: none; } .service ul li:nth-child(4){ width: 33.333%; margin-top: 2.3em; padding: 0 1em; } .service ul li:nth-child(5){ width: 33.333%; margin-top: 2.3em; padding-left: 1em; } .service ul li > div{ position: relative; width: 100%; padding-bottom: 3.5em; } .service ul li > div > h3{ font-size: 1.22222em; font-weight: bold; text-align: center; } .service ul li > div > h3 > span{ line-height: 1.1; position: relative; display: inline-block; background: -webkit-linear-gradient(top, rgba(249, 208, 75, 0) 0%, rgba(249, 208, 75, 0) 50%, #f9d04b 51%, #f9d04b 100%); background: linear-gradient(to bottom, rgba(249, 208, 75, 0) 0%, rgba(249, 208, 75, 0) 50%, #f9d04b 51%, #f9d04b 100%); } .service ul li > div > figure{ margin-top: 0.2em; text-align: center; } .service ul li > div > p{ font-size: 0.88889em; margin-top: 0.6em; } .service ul li > div > a{ position: absolute; right: 0; bottom: 0; left: 0; } /*====================================== information ======================================*/ .information article{ overflow: hidden; padding: 1em 0; border-bottom: 1px solid #e0e0e0; } .information article > time{ font-size: 0.77778em; font-weight: bold; float: left; width: 13%; } .information article > i{ font-size: 0.77778em; font-weight: bold; display: block; float: left; width: 15%; padding: 0.1em 0; text-align: center; color: #fff; background-color: #383838; } .information article > h3{ float: left; width: 68%; margin-left: 4%; } .information article > h3 > a{ font-size: 0.88889em; font-weight: bold; display: block; text-decoration: underline; } .information article > h3 > a:hover{ text-decoration: none; } /*====================================== recruit ======================================*/ .recruit{ background: url(../img/top/bgRecruit.jpg) 0 0 no-repeat; background-size: cover; } .recruit h2{ color: #fff; } .recruit h3{ font-size: 1.33333em; margin-top: 1em; color: #fff; } .recruit p{ line-height: 2; margin-top: 0.7em; color: #fff; } .recruit a{ color: #3389d1; background-color: #fff; } @media screen and (max-width: 767px){ .mv div.default > h1 > span{ font-size: 4vw; width: 55vw; } .mv div.default > h1 > img{ width: 36vw; margin-top: 0.5em; } .mv > p{ padding-top: 2em; padding-bottom: 2em; } .information article > time{ width: 15%; } .information article > i{ width: 25%; } .information article > h3{ width: 50%; } .service ul li:nth-child(1){ padding-right: 10px; } .service ul li:nth-child(2){ padding-left: 10px; } .service ul li:nth-child(3){ width: 50%; padding-right: 10px; } .service ul li:nth-child(4){ width: 50%; padding: 0 0 0 10px; } .service ul li:nth-child(5){ width: 50%; padding: 0 10px 0 0; border: none; border-right: 1px solid #d8d8d8; } } @media screen and (max-width: 680px){ .information article > time{ width: 20%; } } @media screen and (max-width: 480px){ .service ul li:nth-child(1), .service ul li:nth-child(2), .service ul li:nth-child(3), .service ul li:nth-child(4), .service ul li:nth-child(5){ width: 100%; margin-top: 1em; padding: 1em 0 0.5em 0; border: none; border-top: 1px solid #d8d8d8; } .service ul li:nth-child(1){ border: none; } .service ul li > div > figure > img{ width: 70%; } .service ul li > div > a.btn{ width: 80%; } .information article > time{ width: 50%; text-align: center; border: 1px solid #f7f7f7; background-color: #f7f7f7; } .information article > i{ width: 50%; } .information article > h3{ width: 65%; width: 100%; margin: 0.5em 0 0 0; } } /*# sourceMappingURL=top.css.map */