@charset "UTF-8"; //マップ型変数breakpointsを定義 $breakpoints: ( //キー  値 'sm': 'screen and (max-width: 767px)', //スマホ 'md': 'screen and (min-width: 768px)', //pc ) !default; //メディアクエリ用のmixinを定義。デフォ値はmd @mixin mq($breakpoint: md) { //map-get(マップ型変数, キー)で値を取得 @media #{map-get($breakpoints, $breakpoint)} { //この中をカスタムできる @content; } } // colors $primary-color: #3EA1D1; $font-color: #fff; // comon @include mq(sm) { .is-pc { display: none; } } @include mq(md) { .is-sp { display: none; } } /* 共通 -------------------------------------------------- */ body { font-family: 'Nunito', sans-serif; overflow-x: hidden; } h1, h2, h3, h4, h5, h6 { font-family: YuGothic,'Yu Gothic', sans-serif; } a { &:hover, &:focus, button, button:focus { text-decoration: none; outline: none; box-shadow: none; } } ::selection { background: rgba(166, 175, 189, 0.3); } ::-moz-selection { background: rgba(166, 175, 189, 0.3); } #preloader { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background-color: $font-color; z-index: 9999999; } #status { width: 40px; height: 40px; position: absolute; left: 50%; top: 50%; margin: -20px 0 0 -20px; } .spinner { margin: 0 auto; font-size: 10px; position: relative; text-indent: -9999em; border-top: 5px solid rgba(0, 0, 0, 0.2); border-right: 5px solid rgba(0, 0, 0, 0.2); border-bottom: 5px solid rgba(0, 0, 0, 0.2); border-left: 5px solid #000; -webkit-transform: translateZ(0); -ms-transform: translateZ(0); transform: translateZ(0); -webkit-animation: load8 1.1s infinite linear; animation: load8 1.1s infinite linear; } .spinner, .spinner:after { border-radius: 50%; width: 40px; height: 40px; } @-webkit-keyframes load8 { 0% { -webkit-transform: rotate(0deg); transform: rotate(0deg); } 100% { -webkit-transform: rotate(360deg); transform: rotate(360deg); } } @keyframes load8 { 0% { -webkit-transform: rotate(0deg); transform: rotate(0deg); } 100% { -webkit-transform: rotate(360deg); transform: rotate(360deg); } } .back_top { text-align: center; position: fixed; bottom: 15px; height: 35px; width: 35px; display: none; z-index: 10000; border-radius: 3px; right: 20px; transition: all 0.5s; & i { color: $font-color; line-height: 35px; font-size: 32px; display: block; } } .section { padding-top: 100px; padding-bottom: 100px; position: relative; background-color: $font-color; } .h-100vh { height: 100vh; } .z-index { z-index: 2; } .clippath_none { clip-path: none; } .section-subtitle { max-width: 500px; } .btn { padding: 15px 32px; font-size: 14px; font-weight: 700; transition: all 0.5s; letter-spacing: 0.6px; color: $font-color; box-shadow: none; text-transform: uppercase; outline: none; } .btn-round { border-radius: 30px; } .btn-custom{ border:1px solid; &:hover, &:focus, &:active, &.active, &.focus, &:active, &:focus, &:hover, .open > .dropdown-toggle.btn-custom { color: #f3f3f3; } } .btn-outline-custom { border: 2px solid #f5f5f5; &:hover, &:focus, &:active, &.active, &.focus, &:active, &:focus, &:hover, .open > .dropdown-toggle.btn-outline-custom { color: #000; background-color: #fff; border-color: #fff; } } .bg-overlay { background-color: rgba(0, 0, 0, 0.69); position: absolute; top: 0; right: 0; width: 100%; height: 100%; } .section-ttl { color: $primary-color; } /* nav -------------------------------------------------- */ .custom-nav { background-color: transparent; padding: 20px 0px; width: 100%; border-radius: 0px; z-index: 999; margin-bottom: 0px; transition: all 0.5s ease-in-out; @include mq(sm) { background-color: #fff ; padding: 10px 0px; } li a { color: $font-color; font-size: 15px; background-color: transparent; margin: 0 7px; letter-spacing: 0.05em; line-height: 24px; transition: all 0.5s; font-weight: 500; @include mq(sm) { margin: 0 0px; line-height: 15px; } } .navbar-brand .logo-light, .navbar-brand .logo-dark { height: 27px; } .container { width: 85%; } .navbar-brand { color: $font-color; text-transform: uppercase; } @include mq(sm) { .navbar-nav li a { color: rgba(0, 0, 0, 0.6) !important; } } } .logo .logo-light { display: inline-block; @include mq(sm) { display: none; } } .stickyadd .logo .logo-dark { display: inline-block; } .stickyadd .logo .logo-light { display: none; } .logo .logo-dark { display: none; @include mq(sm) { display: inline-block; } } .custom-nav .navbar-toggler { color: $font-color; font-size: 35px; padding: 0px; @include mq(sm) { color: #000; font-size: 32px; border: none; } } .custom-nav.stickyadd { background-color: #fff; box-shadow: 0 1px 8px 3px rgba(0, 0, 0, 0.050980392156862744); padding: 15px 0px; } .custom-nav.stickyadd .navbar-nav li a { color: #000; } .h-100vh { @include mq(sm) { height: auto; padding: 120px 0 140px; } } .header-bg-img { @include mq(sm) { clip-path: none; padding: 120px 0 140px; } } .wave-home.h-100vh{ @include mq(sm) { height: auto; padding: 120px 0 190px; } } .header-name { font-size: 38px; } .clip-home{ clip-path: none; } /* header -------------------------------------------------- */ .header-bg-img { background-image: url(../images/header-bg.jpg); position: relative; background-size: cover; background-position: center center; } .header-content { max-width: 800px; } .header-table-center { display: table-cell; vertical-align: middle; } .header-table { display: table; width: 100%; height: 100%; } .header-name { font-size: 45px; font-weight: bold; @include mq(sm) { font-size: 25px; font-weight: bold; } } .header-desc { font-size: 30px; max-width: 500px; line-height: 1.8; color: rgba(255, 255, 255, 0.75) !important; @include mq(sm) { font-size: 20px; max-width: 500px; line-height: 1.8; color: rgba(255, 255, 255, 0.75); } } .scroll_down { position: absolute; bottom: 5vh; width: 100%; text-align: center; color: $font-color; font-size: 13px; z-index: 8; i { position: relative; -webkit-animation: bounce 2s infinite; animation: bounce 2s infinite; height: 44px; width: 28px; line-height: 54px; border-radius: 30px; border: 2px solid #ffffff; display: inline-block; color: $font-color; font-size: 10px; } } .scroll_down i:after { content: ""; position: absolute; top: 22px; left: 11px; border-radius: 2px; z-index: -1; bottom: 0px; transition: all .2s; height: 10px; width: 3px; background: #fff; } .curv-img { position: absolute; width: 100%; bottom: 0px; z-index: 1; svg { display: block; } } .clip-home { clip-path: polygon(0 0, 100% 0, 100% 83%, 50% 100%, 0 83%); position: relative; } .wave_sec { position: absolute; bottom: 0; width: 100%; svg { height: 180px; } } /* home -------------------------------------------------- */ .element { @include mq(sm) { font-size: 1rem; } } /* about -------------------------------------------------- */ .about-social li a { color: #000; display: inline-block; height: 42px; width: 42px; font-size: 20px; border-radius: 50%; border: 2px solid #d4d4d4; line-height: 38px; transition: all 0.5s; text-align: center; } .about-ttl { color: #5fb0e6; } /* service -------------------------------------------------- */ .services-boxes { border: 1px solid #e8e8e8; max-height: auto; .services-boxes-icon i { font-size: 44px; } .services-title-border { height: 2px; width: 40px; margin: 15px auto; transition: all 0.5s; } &:hover .services-title-border { width: 60px; } h5 { font-weight: 600; } } .service-box { border: 1px solid #eaeaea; border-radius: 8px; .service-content h5 { font-size: 20px; font-weight: 700; } .service-content p { font-size: 15px; } } /* work -------------------------------------------------- */ .work_menu li a { cursor: pointer; display: block; border-radius: 30px; letter-spacing: 0.03em; margin-bottom: 5px; font-weight: 600; font-size: 14px; padding: 6px 16px; transition: all 0.5s; margin-top: 5px; &.active, &:hover { color: $font-color; } } .work_item { position: relative; padding: 15px; } .work_box { overflow: hidden; position: relative; .work_img { position: relative; overflow: hidden; &:after { content: " "; display: block; width: 100%; height: 100%; position: absolute; top: 0; left: 0; border-radius: 5px; transition: all 0.27s cubic-bezier(0.3, 0.1, 0.58, 1); } &>img { transition: all 0.3s cubic-bezier(0.3, 0.1, 0.58, 1); border-radius: 0; } } .work_detail { opacity: 0; color: $font-color; width: 100%; padding: 20px; box-sizing: border-box; position: absolute; left: 0; overflow: hidden; transition: all 0.27s cubic-bezier(0.3, 0.1, 0.58, 1); h4 { font-size: 18px; } p { color: rgba(255, 255, 255, 0.6); font-size: 14px; } } &:hover .work_detail { top: 50%; transform: translate(0, -50%); opacity: 1; } &:hover .work_img:after { background: rgba(0, 0, 0, 0.8); } &:hover .work_img>img { transform: scale(1.05); } } .ec-pas { font-weight: bold; text-decoration: underline; } /* contact -------------------------------------------------- */ .form-inner { .form-control { box-shadow: none; height: 50px; border: 2px solid #e0e0e0; } textarea.form-control { height: auto; } } .contact_detail-title { font-size: 18px; } .error { margin: 8px 0px; display: none; color: #ec5f79; } .error_msg { margin-bottom: 20px; text-align: center; font-size: 18px; color: #ec5f79; font-weight: 700; } .gig_loader { display: none; } #success_msg { text-align: center; margin-bottom: 20px; } #success_msg h3 { color: #64d674; font-size: 22px; } .img-fluid { height: 200px; } /* footer -------------------------------------------------- */ .footer { padding: 50px 0px; background-color: #242424 !important; height: 100%; .footer-alt p { font-size: 16px; } } .footer .footer-alt ul li a { border-radius: 50%; transition: all 0.5s; background-color: rgba(241, 241, 241, 0.08); width: 42px; height: 42px; display: block; font-size: 18px; line-height: 42px; text-align: center; }