@charset "UTF-8"; html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video{ margin: 0; padding: 0; border: 0; font-size: 100%; vertical-align: baseline; box-sizing: border-box; } html{ line-height: 1; } .clearfix:after{ content: ""; display: block; height: 0; clear: both; visibility: hidden; } .clearfix{ display: inline-table; } /* Hides from IE-mac \*/ * html .clearfix{ height: 1%; } .clearfix{ display: block; } /* End hide from IE-mac */ ol, ul{ list-style: none; } table{ border-collapse: collapse; border-spacing: 0; } .clear { clear: both; } caption, th, td{ text-align: left; font-weight: normal; vertical-align: middle; } q, blockquote{ quotes: none; } q:before, q:after, blockquote:before, blockquote:after{ content: ""; content: none; } a img { border: none; } article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section, summary{ display: block; } *, :after, :before { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; } body{ font-family: "Yu Gothic", "游ゴシック", YuGothic, "游ゴシック体", 'Noto Sans JP', sans-serif; font-weight: 400; -webkit-text-size-adjust: 100%; color: #91919A; font-size: 14px; line-height: 1.8; } img{ height: auto; max-width: 100%; } a{ text-decoration: none; } @media screen and (max-width: 768px) { .hidden-sp{ display: none !important; } } @media screen and (min-width: 769px) { .hidden-pc{ display: none !important; } } /*------------------------------------------ サービス別レスポンシブ ------------------------------------------*/ /*youtube*/ .youtubeWrapper{ position: relative; width: 100%; padding-top: 56.25%; } .youtubeWrapper iframe { position: absolute; top: 0; right: 0; width: 100% !important; height: 100% !important; } /*googlemap*/ .ggmapWrapper{ position: relative; /*padding-bottom: 56.25%;*/ height: 480px; overflow: hidden; } .ggmapWrapper iframe, .ggmapWrapper object, .ggmapWrapper embed{ position: absolute; top: -140px; left: 0; width: 100%; height: 600px; } .ggmapWrapper iframe{ height: 800px; } /*------------------------------------------ cmn ------------------------------------------*/ img{ vertical-align: top; } .ttl_h2{ padding: 15px 0 15px 26px; margin-bottom: 50px; position: relative; font-size: 20px; font-weight: 400; &:before{ content: ""; width: 5px; height: 100%; display: block; position: absolute; left: 0; top: 0; background: #91919a; } } .hoverBtn{ -webkit-transition: 0.3s; -moz-transition: 0.3s; -ms-transition: 0.3s; transition: 0.3s; } .hoverBtn:hover{ opacity: 0.8; } @media screen and (max-width: 768px) { .ttl_h2{ margin-bottom: 20px; font-size: 18px; &:before{ width: 3px; } } } /*------------------------------------------ body ------------------------------------------*/ body{ width: 100vw; overflow-x: hidden; } @media screen and (max-width: 768px) { body{ } } /*------------------------------------------ header nav ------------------------------------------*/ /*PC*/ header{ width: 100%; height: 100px; transition: 0.3s; position: fixed; left: 0; top: 0; z-index: 1000; background: rgba(247,245,243,1); .logo{ position: absolute; right: 50%; top: 34px; z-index: 10; transform: translate(50%, 0); } .headerTop{ position: fixed; right: 50px; top: 35px; z-index: 1000; cursor: pointer; } .slideNav{ width: 100vw; height: 100vh; position: fixed; left: 0; top: 0; background: #1C1C2E; transform: translate(100%, 0); /*transition: 0.7s;*/ .navMovie{ max-width: 370px; position: absolute; left: 10%; top: 50%; transform: translate(0, -50%); .inner{ width: 100%; height: 480px; overflow: hidden; position: relative; &:before{ content: ""; width: 100%; height: 100%; display: block; background: #1C1C2E; position: absolute; left: 0; top: 0; z-index: 2; transition: 0.3s; } video{ height: 100%; position: relative; left: -200px; opacity: 0; transition: 0.3s; } } &.slided{ .inner{ &:before{ width: 0%; } video{ opacity: 1; } } } } nav{ width: 400px; height: 100vh; background: #FFF; position: absolute; right: 0; top: 0; display: -ms-flex; display: flex; -ms-align-items: center; align-items: center; -ms-justify-content: center; justify-content: center; transition: 0.3s; transform: translate(100%, 0); ul{ li:not(:last-child){ margin-bottom: 35px; } } &.slided{ transform: translate(0%, 0); } } &.slided{ transform: translate(0%, 0); } } &.fix{ position: fixed; top: 0; left: 0; z-index: 1000; background: #FFF; box-shadow: 0 0 10px rgba(0,0,0,0.2); } } /*SP*/ @media screen and (max-width: 860px) { header{ width: 100%; height: 100px; transition: 0.3s; position: fixed; left: 0; top: 0; z-index: 1000; background: rgba(247,245,243,1); .logo{ position: absolute; right: 50%; top: 34px; z-index: 10; transform: translate(50%, 0); } .headerTop{ position: fixed; right: 50px; top: 35px; z-index: 1000; cursor: pointer; } .slideNav{ width: 100vw; height: 100vh; position: fixed; left: 0; top: 0; background: rgba(255,255,255,0); transform: translate(100%, 0); /*transition: 0.7s;*/ .navMovie{ display: none; max-width: 370px; position: absolute; left: 10%; top: 50%; transform: translate(0, -50%); .inner{ width: 100%; height: 480px; overflow: hidden; position: relative; &:before{ content: ""; width: 100%; height: 100%; display: block; background: #1C1C2E; position: absolute; left: 0; top: 0; z-index: 2; transition: 0.3s; } video{ height: 100%; position: relative; left: -200px; opacity: 0; transition: 0.3s; } } &.slided{ .inner{ &:before{ width: 0%; } video{ opacity: 1; } } } } nav{ width: 100%; height: 100vh; background: #FFF; position: absolute; right: 0; top: 0; display: -ms-flex; display: flex; -ms-align-items: center; align-items: center; -ms-justify-content: center; justify-content: center; transition: 0.7s; transform: translate(100%, 0); ul{ li:not(:last-child){ margin-bottom: 35px; } } &.slided{ transform: translate(0%, 0); } } &.slided{ transform: translate(0%, 0); } } &.fix{ position: fixed; top: 0; left: 0; z-index: 1000; background: #FFF; box-shadow: 0 0 10px rgba(0,0,0,0.2); } } } @media screen and (max-width: 768px) { header{ height: 75px; .logo{ top: 25px; } .headerTop{ right: 5%; top: 24px; } } } /*------------------------------------------ menuTrigger ------------------------------------------*/ .menu-trigger, .menu-trigger span { display: inline-block; transition: all .4s; box-sizing: border-box; } .menu-trigger { position: relative; width: 35px; height: 7px; } .menu-trigger span { position: absolute; left: 0; width: 100%; height: 1px; background-color: #92929B; } .menu-trigger span:nth-of-type(1) { top: 0; } .menu-trigger span:nth-of-type(2) { top: 7px; width: 100%; } .menu-trigger.active span:nth-of-type(1) { -webkit-transform: translateY(7px) rotate(45deg); transform: translateY(7px) rotate(45deg); } .menu-trigger.active span:nth-of-type(2) { -webkit-transform: translateY(0px) rotate(-45deg); transform: translateY(0px) rotate(-45deg); } @-webkit-keyframes active-menu-bar02 { 100% { height: 0; } } @keyframes active-menu-bar02 { 100% { height: 0; } } /*------------------------------------------ #cmn ------------------------------------------*/ #wrapper{ padding: 100px 0 0 0; } @media screen and (max-width: 860px) { #wrapper{ padding: 75px 0 0 0; } } /*------------------------------------------ #mv ------------------------------------------*/ .top{ .mv{ height: 100vh; padding: 0 0 100px 0; background: #F7F5F3; position: relative; h1{ position: absolute; left: 5%; top: 50%; z-index: 100; transform: translate(0, -60%); img{ opacity: 0; transform: translate(15%, 0); transition: 0.5s; } } .box{ height: 100%; .mvMovie{ height: 100%; padding-left: 20%; .inner{ height: 100%; overflow: hidden; position: relative; &:after{ content: ""; width: 100%; height: 100%; display: block; background: #F7F5F3; position: absolute; left: 0; top: 0; z-index: 10; transition: 1s; } video{ position: absolute; left: 0; top: 0; min-width: 100%; min-height: 100%; width: auto; height: auto; opacity: 0; } } } } .scrollDown{ padding: 40px 0 0 5%; } &.loaded{ .box{ .mvMovie{ .inner{ &:after{ width: 0%; } video{ opacity: 1; } } } } } &.loadedTxt{ h1{ img{ opacity: 1; transform: translate(0%, 0); } } } } } @media screen and (max-width: 1600px) { .top{ .mv{ .box{ .mvMovie{ .inner{ video{ position: absolute; left: -400px; top: 0; min-width: 100%; min-height: 100%; width: auto; height: auto; opacity: 0; } } } } } } } @media screen and (max-width: 768px) { .top{ .mv{ height: inherit; padding: 0 0 0 0; h1{ max-width: 90%; padding: 35px 35px 0 35px; position: relative; left: inherit; top: inherit; bottom: inherit; z-index: 100; transform: translate(0, -30%); background: #f7f5f3; img{ opacity: 0; transform: translate(15%, 0); transition: 0.5s; } } .box{ height: 100%; .mvMovie{ height: 70vh; padding-left: 0; .inner{ height: 100%; overflow: hidden; position: relative; &:after{ content: ""; width: 100%; height: 100%; display: block; background: #F7F5F3; position: absolute; left: 0; top: 0; z-index: 10; transition: 1s; } video{ position: absolute; left: 50%; top: 0; min-width: 100%; min-height: 100%; width: auto; height: 100%; opacity: 0; transform: translate(-50%, 0); } } } } .scrollDown{ padding: 0 0 40px 0; text-align: center; } &.loaded{ .box{ .mvMovie{ .inner{ &:after{ width: 0%; } video{ opacity: 1; } } } } } &.loadedTxt{ h1{ img{ opacity: 1; transform: translate(0%, 0); } } } } } } /*------------------------------------------ #cmn ------------------------------------------*/ .bgGray{ background: #f7f5f3; } .btnViewmore{ width: 100%; max-width: 130px; height: 40px; display: -ms-flex; display: flex; -ms-align-items: center; align-items: center; -ms-justify-content: center; justify-content: center; border: 1px solid #84848e; transition: 0.3s; &:hover{ border: 1px solid #c0c0cc; } } /*------------------------------------------ #トップページ ------------------------------------------*/ .topLoader{ width: 100vw; height: 100vh; position: fixed; top: 0; left: 0; z-index: 10000; background: #f7f5f3; display: -ms-flex; display: flex; -ms-justify-content: center; justify-content: center; -ms-align-items: center; align-items: center; .sk-chase { width: 60px; /* サイズ - 可変 */ height: 60px; /* サイズ - 可変 */ position: relative; animation: sk-chase 2.5s infinite linear both; } .sk-chase-dot { width: 100%; height: 100%; position: absolute; left: 0; top: 0; animation: sk-chase-dot 2.0s infinite ease-in-out both; } .sk-chase-dot:before { content: ''; display: block; width: 25%; height: 25%; background-color: #74747F; /* ベースの色 - 可変 */ border-radius: 100%; animation: sk-chase-dot-before 2.0s infinite ease-in-out both; } .sk-chase-dot:nth-child(1) { animation-delay: -1.1s; } .sk-chase-dot:nth-child(2) { animation-delay: -1.0s; } .sk-chase-dot:nth-child(3) { animation-delay: -0.9s; } .sk-chase-dot:nth-child(4) { animation-delay: -0.8s; } .sk-chase-dot:nth-child(5) { animation-delay: -0.7s; } .sk-chase-dot:nth-child(6) { animation-delay: -0.6s; } .sk-chase-dot:nth-child(1):before { animation-delay: -1.1s; } .sk-chase-dot:nth-child(2):before { animation-delay: -1.0s; } .sk-chase-dot:nth-child(3):before { animation-delay: -0.9s; } .sk-chase-dot:nth-child(4):before { animation-delay: -0.8s; } .sk-chase-dot:nth-child(5):before { animation-delay: -0.7s; } .sk-chase-dot:nth-child(6):before { animation-delay: -0.6s; } @keyframes sk-chase { 100% { transform: rotate(360deg); } } @keyframes sk-chase-dot { 80%, 100% { transform: rotate(360deg); } } @keyframes sk-chase-dot-before { 50% { transform: scale(0.4); } 100%, 0% { transform: scale(1.0); } } } /*------------------------------------------ #トップページコンテンツ ------------------------------------------*/ .top{ /*.contents_01*/ .contents_01{ max-width: 600px; padding: 100px 0; margin: 0 auto; .imgBox{ position: relative; margin-bottom: 60px; .txt{ padding: 50px 40px 10px 50px; background: #FFF; position: absolute; right: 0; bottom: -10px; } } .txtBox{ p{ line-height: 30px; } } } @media screen and (max-width: 768px) { .contents_01{ padding: 40px 5%; margin: 0 auto; .imgBox{ position: relative; margin-bottom: 30px; .txt{ max-width: 45%; padding: 25px 25px 10px 25px; background: #FFF; position: absolute; right: 0; bottom: -20px; } } .txtBox{ p{ line-height: 30px; } } } } /*.contents_02*/ .contents_02{ .contents{ max-width: 1000px; padding: 100px 0; margin: 0 auto; ul{ padding-bottom: 60px; display: -ms-flex; display: flex; -ms-justify-content: center; justify-content: center; -ms-flex-wrap: wrap; flex-wrap: wrap; li{ width: 100%; min-width: 300px; max-width: 300px; margin-right: 50px; margin-bottom: 60px; &:nth-child(3){ margin-right: 0; } >a{ display: block; } h2{ margin-bottom: 30px; text-align: center; } .imgBox{ margin-bottom: 15px; } p{ margin-bottom: 40px; } .btnBox{ a{ margin: 0 auto; } } } } @media screen and (max-width: 999px) { ul{ li{ &:nth-child(2), &:nth-child(3){ margin-right: 0; } } } } @media screen and (max-width: 670px) { ul{ display: block; padding-bottom: 0; li{ min-width: inherit; margin: 0 auto 70px auto; &:nth-child(2), &:nth-child(3){ margin: 0 auto 50px auto; } } } } .topStudy{ max-width: 500px; margin: 0 auto; h2{ margin-bottom: 30px; text-align: center; } >a{ display: block; } .imgBox{ margin-bottom: 30px; position: relative; .txt{ padding: 38px 42px 0 0; background: #f7f5f3; position: absolute; left: 0; bottom: 0; } } p{ margin-bottom: 30px; line-height: 30px; } .btnBox{ a{ margin: 0 auto; } } } } } @media screen and (max-width: 768px) { .contents_02{ .contents{ padding: 40px 0 70px 0; .topStudy{ .imgBox{ .txt{ max-width: 70%; padding: 30px 42px 0 30px; } } p{ padding: 0 5%; margin-bottom: 30px; line-height: 30px; } } } } } } /*------------------------------------------ #お問い合わせ ------------------------------------------*/ .contact{ .contents_01{ padding: 130px 0 0 0; .ttlBox{ max-width: 566px; margin: 0 auto 130px auto; .jp{ padding: 20px 0 0 0; display: block; font-weight: 400; } } .topBox{ margin: 0 0 60px 0; text-align: center; p{ strong{ text-decoration: underline; font-weight: 400; } } &.finish{ p:not(:last-child){ margin-bottom: 2em; } .btnBox{ padding: 60px 0; display: -ms-flex; display: flex; -ms-justify-content: center; justify-content: center; >*{ &:not(:last-child){ margin-right: 20px; } } .btnTop{ width: 100%; max-width: 300px; height: 50px; display: -ms-flex; display: flex; -ms-align-items: center; align-items: center; -ms-justify-content: center; justify-content: center; background: #4d596b; font-size: 18px; color: #FFF; transition: 0.3s; border-radius: 5px; box-shadow: 3px 3px 3px rgba(0,0,0,0.2); &:hover{ background: #5d6d7f; box-shadow: 0 0 0 rgba(0,0,0,0.2); } } } } } .formArea{ max-width: 1000px; margin: 0 auto; .requiredTxt{ padding: 25px 0; color: #ff5873; border-bottom: 1px solid #e2e2e4; } .box{ dl{ padding: 10px 0; display: -ms-flex; display: flex; border-bottom: 1px solid #e2e2e4; dt{ min-width: 200px; max-width: 200px; display: -ms-flex; display: flex; -ms-align-items: center; align-items: center; span{ margin-left: 5px; display: inline-block; color: #ff5873; } } dd{ -ms-flex: 1; flex: 1; input[type="text"], input[type="email"], input[type="tel"], textarea{ width: 100%; padding: 0; border: none; border-radius: 0; outline: none; font-size: 16px; } input[type="tel"]{ &:placeholder-shown{ background: #f7f5f3; } &:not(:placeholder-shown){ background: #f7f5f3; &:valid{ background: #e6ebf1; } &:invalid{ background: #ffded9; } } } input[type="text"], input[type="email"], textarea{ &:required{ &:placeholder-shown{ background: #f7f5f3; } &:not(:placeholder-shown){ background: #f7f5f3; &:valid{ background: #e6ebf1; } &:invalid{ background: #ffded9; } } } } input[type="text"], input[type="email"], input[type="tel"]{ max-width: 340px; height: 42px; padding: 0 10px; font-size: 16px; } textarea{ max-width: 780px; height: 122px; padding: 10px; } } .error{ margin-left: 10px; display: inline-block; color: #ff5873; &.long{ display: block; margin-left: 0; } } } } .btnBox{ padding: 50px 0 100px 0; display: -ms-flex; display: flex; -ms-justify-content: center; justify-content: center; >*{ &:not(:last-child){ margin-right: 20px; } } input, .btnTop{ -webkit-appearance: none; -moz-appearance: none; appearance: none; padding: 0; border: none; outline: none; background: transparent; cursor: pointer; font-size: 18px; color: #FFF; transition: 0.3s; } input, .btnTop{ width: 100%; max-width: 300px; height: 50px; background: #4d596b; border-radius: 5px; box-shadow: 3px 3px 3px rgba(0,0,0,0.2); &:hover{ background: #5d6d7f; box-shadow: 0 0 0 rgba(0,0,0,0.2); } } input.prev{ background: #999; &:hover{ background: #666; } } } } } } @media screen and (max-width: 1000px) { .contact{ .contents_01{ padding: 70px 5%; } } } @media screen and (max-width: 768px) { .contact{ .contents_01{ padding: 70px 0 0 0; .ttlBox{ padding: 0 10%; margin: 0 auto 70px auto; } .topBox{ margin: 0 0 30px 0; } .formArea{ padding: 0 5%; .box{ dl{ padding: 20px 0; display: block; dt{ min-width: 200px; max-width: inherit; margin-bottom: 5px; display: block; } dd{ input[type="text"], input[type="email"], input[type="tel"], textarea{ width: 100%; padding: 10px; border: none; border-radius: 0; outline: none; background: #f7f5f3; font-size: 16px; } input[type="text"], input[type="email"], input[type="tel"]{ max-width: inherit; } textarea{ max-width: inherit; } } .error{ margin: 5px 0 0 0; display: block; } } } } } } } /*------------------------------------------ #下層ページmv ------------------------------------------*/ .mv.under{ .box{ display: -ms-flex; display: flex; >*{ -ms-flex: 1; flex: 1; } .imgBox{ height: calc(100vh - 100px); position: relative; &:before{ content: ""; width: 100%; height: 100%; display: block; background: #FFF; position: absolute; left: 0; top: 0; z-index: 2; transition: 0.7s; } img{ display: none; } } .txtBox{ display: -ms-flex; display: flex; -ms-align-items: center; align-items: center; padding-left: 90px; h1{ transform: translate(0, 60%); opacity: 0; transition: 0.7s; span{ padding: 5px 0 0 0; font-weight: 400; display: block; } } } } &.loaded{ .box{ .imgBox{ &:before{ width: 0%; } } .txtBox{ h1{ transform: translate(0, 0); opacity: 1; } } } } } @media screen and (max-width: 768px) { .mv.under{ .box{ display: block; .imgBox{ height: auto; position: relative; &:before{ content: ""; width: 100%; height: 100%; display: block; background: #FFF; position: absolute; left: 0; top: 0; z-index: 2; transition: 0.7s; } img{ display: block; } } .txtBox{ padding: 50px 0; } } &.loaded{ .box{ .imgBox{ &:before{ width: 0%; } } .txtBox{ h1{ transform: translate(0, 0); opacity: 1; .jp{ font-size: 12px; } } } } } } } /*------------------------------------------ #レボサインとは ------------------------------------------*/ .about{ .mv{ .box{ .imgBox{ background: url("../img/about/mv.jpg") no-repeat right top / cover; } } } .contents_01{ max-width: 1000px; padding: 95px 0 0 0; margin: 0 auto; .txt_01{ margin-bottom: 95px; line-height: 30px; } .box{ dl{ padding: 20px 0; display: -ms-flex; display: flex; border-bottom: 1px solid #e2e2e4; dt{ min-width: 200px; max-width: 200px; } dd{ -ms-flex: 1; flex: 1; } } } } } @media screen and (max-width: 1000px) { .about{ .contents_01{ padding: 95px 5% 0 5%; } } } @media screen and (max-width: 768px) { .about{ .mv{ .box{ .imgBox{ background: none; } .txtBox{ max-width: 151px; margin: 0 auto; } } } .contents_01{ padding: 0 5% 0 5%; margin: 0 auto; .txt_01{ margin-bottom: 95px; line-height: 30px; } .box{ dl{ padding: 20px 0; dt{ min-width: 100px; max-width: 100px; } } } } } } /*------------------------------------------ #制作実績 ------------------------------------------*/ .portfolio{ .mv{ .box{ .imgBox{ background: url("../img/portfolio/mv.jpg") no-repeat right top / cover; } } } .contents_01{ max-width: 1000px; padding: 95px 0 0 0; margin: 0 auto; .txt_01{ margin-bottom: 95px; line-height: 30px; text-align: center; } .box{ margin-bottom: 55px; display: -ms-flex; display: flex; .imgBox{ min-width: 480px; max-width: 480px; margin-right: 45px; border: 1px solid #eaeaec; } .txtBox{ -ms-flex: 1; flex: 1; a{ color: #91919a; &:hover{ text-decoration: underline; } } } } } } @media screen and (max-width: 1000px) { .portfolio{ .contents_01{ padding: 95px 5% 0 5%; } } }@media screen and (max-width: 768px) { .portfolio{ .mv{ .box{ .imgBox{ background: none; } .txtBox{ max-width: 248px; margin: 0 auto; } } } .contents_01{ padding: 0 5%; .txt_01{ margin-bottom: 95px; line-height: 30px; text-align: center; } .box{ display: block; max-width: 480px; margin: 0 auto 50px auto; .imgBox{ min-width: inherit; max-width: 480px; margin: 0 0 20px 0; } } } } } /*------------------------------------------ #事業内容 ------------------------------------------*/ .services{ .mv{ .box{ .imgBox{ background: url("../img/services/mv.jpg") no-repeat center / cover; } } } .contents_01{ max-width: 1000px; padding: 95px 0 0 0; margin: 0 auto; .txt_01{ margin-bottom: 95px; line-height: 30px; text-align: center; } .box{ ul{ display: -ms-flex; display: flex; -ms-flex-wrap: wrap; flex-wrap: wrap; li{ max-width: 460px; min-width: 460px; padding: 50px 0; margin: 0 80px 0 0; -ms-flex: 1; flex: 1; border-top: 1px solid #e5e5e7; border-bottom: 1px solid #e5e5e7; &:nth-child(even){ margin-right: 0; } &:nth-child(3), &:nth-child(4){ border-top: none; } h2{ text-align: center; font-size: 20px; font-weight: 400; } .imgBox{ height: 120px; display: -ms-flex; display: flex; -ms-justify-content: center; justify-content: center; -ms-align-items: center; align-items: center; } p{ line-height: 30px; } } } } } } @media screen and (max-width: 1000px) { .services{ .contents_01{ max-width: 1000px; padding: 95px 5% 0 5%; margin: 0 auto; .txt_01{ margin-bottom: 95px; line-height: 30px; text-align: center; } .box{ ul{ display: block; li{ margin: 0 auto 0 auto; border-top: 1px solid #e5e5e7; border-bottom: none; &:nth-child(even){ margin-right: auto; } &:nth-child(3), &:nth-child(4){ border-top: 1px solid #e5e5e7; } &:nth-child(4){ border-bottom: 1px solid #e5e5e7; } } } } } } } @media screen and (max-width: 768px) { .services{ .mv{ .box{ .imgBox{ background: none; } .txtBox{ max-width: 207px; margin: 0 auto; } } } .contents_01{ padding: 0 5%; .txt_01{ margin-bottom: 50px; } .box{ ul{ display: block; li{ min-width: inherit; } } } } } } /*------------------------------------------ #オンライン講座 ------------------------------------------*/ .study{ .mv{ .box{ .imgBox{ background: url("../img/study/mv.jpg") no-repeat center / cover; } .txtBox h1 span{ padding: 10px 0 0 0; } } } .contents_01{ max-width: 1000px; padding: 95px 0; margin: 0 auto; .box{ margin-bottom: 50px; display: -ms-flex; display: flex; .imgBox{ min-width: 280px; max-width: 280px; } .txtBox{ -ms-flex: 1; flex: 1; line-height: 30px; } } .btnBox{ a{ margin: 0 auto; } } } } .btnWindowRed{ width: 260px; height: 56px; margin: 0 auto; display: -ms-flex; display: flex; -ms-align-items: center; align-items: center; -ms-justify-content: center; justify-content: center; background: url("../img/study/icon_window.svg") no-repeat right 60px center / 13px 13px #cc0100; border-radius: 5px; box-shadow: 3px 3px 3px rgba(0,0,0,0.2); transition: 0.3s; color: #FFF; &:hover{ background: url("../img/study/icon_window.svg") no-repeat right 60px center / 13px 13px #d82323; box-shadow: 0 0 0 rgba(0,0,0,0.2); } } @media screen and (max-width: 1000px) { .study{ .contents_01{ padding: 95px 5%; } } } @media screen and (max-width: 768px) { .study{ .mv{ .box{ .imgBox{ background: none; } .txtBox{ max-width: 146px; margin: 0 auto; .youtubeLogo{ display: none; } } } } .contents_01{ padding: 0 5%; .box{ margin-bottom: 50px; display: block; .imgBox{ margin-bottom: 30px; max-width: inherit; text-align: center; } .txtBox{ -ms-flex: 1; flex: 1; line-height: 30px; } } } } } /*------------------------------------------ #footContact ------------------------------------------*/ .footContact{ padding: 100px 0; p{ max-width: 510px; margin: 0 auto 40px auto; text-align: center; line-height: 30px; } .btnBox{ .btnContact{ width: 260px; height: 56px; margin: 0 auto; display: -ms-flex; display: flex; -ms-align-items: center; align-items: center; -ms-justify-content: center; justify-content: center; background: #4d596b; border-radius: 5px; box-shadow: 3px 3px 3px rgba(0,0,0,0.2); transition: 0.3s; &:hover{ background: #5d6d7f; box-shadow: 0 0 0 rgba(0,0,0,0.2); } } } } @media screen and (max-width: 768px) { .footContact{ padding: 70px 5%; } } /*------------------------------------------ #footer ------------------------------------------*/ footer{ .topBox{ padding: 100px 0 190px 0; background: url("../img/bg_footer.png") repeat-y center top / 3200px; .boxLR{ padding: 0 0 0 80px; display: -ms-flex; display: flex; position: relative; .boxL{ ul{ width: 100%; max-width: 320px; display: -ms-flex; display: flex; -ms-flex-wrap: wrap; flex-wrap: wrap; li{ line-height: 1.1; min-width: 50%; max-width: 50%; margin-bottom: 20px; } } } .boxR{ position: absolute; right: 50%; top: 0; transform: translate(260%, 0); } } } @media screen and (max-width: 1200px) { .topBox{ .boxLR{ padding: 0 0 0 80px; display: -ms-flex; display: flex; position: relative; .boxL{ ul{ width: 100%; max-width: 320px; display: -ms-flex; display: flex; -ms-flex-wrap: wrap; flex-wrap: wrap; li{ line-height: 1.1; min-width: 50%; max-width: 50%; margin-bottom: 20px; } } } .boxR{ width: 180px; height: 400px; position: absolute; right: 0; top: -100px; transform: translate(0, 0); background: #FFF; img{ min-width: 224px; display: block; position: absolute; right: 30px; top: 100px; } } } } } .bottomBox{ padding: 35px 80px; .boxLR{ display: -ms-flex; display: flex; -webkit-box-pack: justify; -ms-flex-pack: justify; justify-content: space-between; *{ line-height: 1.1; } } } } @media screen and (max-width: 768px) { footer{ .topBox{ padding: 30px 0 0 0; background: #d3d7db; position: relative; &:after{ content: ""; width: 10%; height: 100%; display: block; position: absolute; right: 0; top: 0; background: #FFF; } .boxLR{ padding: 0; display: block; position: relative; z-index: 2; .boxL{ ul{ width: 100%; max-width: 320px; padding: 0 5% 50px 5%; display: -ms-flex; display: flex; -ms-flex-wrap: wrap; flex-wrap: wrap; li{ line-height: 1.1; min-width: 50%; max-width: 50%; margin-bottom: 20px; } } } .boxR{ padding: 30px 5% 0 5%; position: inherit; right: inherit; top: inherit; transform: translate(0, 0); width: auto; height: auto; text-align: center; img{ position: inherit; right: inherit; top: inherit; display: inline-block; } } } } .bottomBox{ padding: 35px 80px; .boxLR{ display: block; text-align: center; *{ line-height: 1.1; } } } } } /*/////////////////////アニメーション/////////////////////*/ .ani{ transition: .8s; } /* 2つ目:opacity*/ .list-mv02{ opacity: 0; -webkit-transform: translate(0,100px); -webkit-transition: all 0.8s ease; -moz-transition: all 0.8s ease; -o-transition: all 0.8s ease; transition: all 0.8s ease; } .mv02{ opacity: 1.0; -webkit-transform: translate(0,0); } .list-mv02_01 .box{ opacity: 0; -webkit-transform: translate(0,60px); -webkit-transition: all 0.8s ease; -moz-transition: all 0.8s ease; -o-transition: all 0.8s ease; transition: all 0.8s ease; } .list-mv02_01 .box.mv02{ opacity: 1.0; -webkit-transform: translate(0,0); } @media screen and (max-width: 768px) { }