//@import url("https://use.fontawesome.com/releases/v5.8.1/css/all.css"); @import url("https://fonts.googleapis.com/css?family=Noto+Sans+JP"); @import url("https://fonts.googleapis.com/css?family=Noto+Serif+JP"); @import url("https://fonts.googleapis.com/css?family=Montserrat"); @import url('https://fonts.googleapis.com/css2?family=Shippori+Mincho+B1'); @import url('https://fonts.googleapis.com/css2?family=Shippori+Mincho'); @import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@700&display=swap'); @import url("https://maxst.icons8.com/vue-static/landings/line-awesome/line-awesome/1.3.0/css/line-awesome.min.css"); * { padding:0; margin:0; outline:none; font-family: "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", sans-serif; font-weight:600; -webkit-appearance:none; border-radius:0; box-sizing: border-box; } html,body { width:100%; height:100%; color:#111111; font-family: "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", sans-serif;; font-size:16px; letter-spacing:1px; line-height:1.5em; padding:0; margin:0; background:#FFFFFF; text-align: center; } // スマホのスクロールをスムーズに html { -webkit-overflow-scrolling:touch; } a { color:#111111; text-decoration:none; transition:all 0.1s linear; &:hover { animation-name:delay; animation-duration:0.2s; transition:all 0.2s linear; } } @keyframes delay { 0% { opacity:0.5; } 100% { opacity:1; } } ul { list-style:none; padding:0; } // Font Awesome @mixin ICON { //font-family:"Font Awesome 5 Free","Font Awesome 5 Brands"; font-family:"Line Awesome Free","Line Awesome Brands"; font-weight:900; } // Noto Sans JP @mixin SANS { font-family:"Noto Sans JP"; font-weight:100; } // Noto Serif JP @mixin SERIF { font-family: 'Shippori Mincho'; font-weight:400; } // Montserrat @mixin MON { font-family:"Montserrat"; } // DM+Sans @mixin DM { font-family: "DM Sans"; font-weight:600; } // 全体のデザイン $white:#ffffff; $gray:#999999; $dark-gray:#303030; $light-gray:#cccccc; $soft-gray:#eeeeee; $orange:#ff6633; $blue:#2d98da; $green:#0fb9b1; a { color:#303030; text-decoration:none; transition:all 0.1s linear; &:hover { animation-name:delay; animation-duration:0.2s; transition:all 0.2s linear; } } @keyframes delay { 0% { opacity:0.5; } 100% { opacity:1; } } /* 全体の読み込みをふわっと */ body { -webkit-animation: fadeIn 1.5s ease 0s 1 normal; animation: fadeIn 1.5s ease 0s 1 normal; } @keyframes fadeIn { 0% { opacity: 0 } 100% { opacity: 1 } } @-webkit-keyframes fadeIn { 0% { opacity: 0 } 100% { opacity: 1 } } /* じわっと画像が表示される */ @keyframes fadeIn { /*上のbody内で呼び出しているアニメーションと名前をそろえる*/ 0% {opacity: 0} /* 始め */ 100% {opacity: 1} /* 終わり */ } @-webkit-keyframes fadeIn { 0% {opacity: 0} 100% {opacity: 1} } // マウスホバーでちょっと大きくなるやつ a.zoom{display: inline-block; &:hover {-webkit-animation: zoom .3s; animation: zoom .3s;} @-webkit-keyframes zoom {50% { -webkit-transform: scale(1.05);}} @keyframes zoom {50% {transform: scale(1.05);}} .cp_link:hover::after {width: 100%;} } h1{display: none;} // ローディング // ローディング // ローディング #splash { /*fixedで全面に固定*/ position: fixed; width: 100%; height: 100%; z-index: 999; background:$white; text-align:center; } #splash_logo { width: 60%; margin:14% auto; } .splash_container{ display: flex; flex-wrap: wrap; li{width:25%; img { width:100%; }}} @media screen and (max-width:30rem) { #splash_logo { width: 100%; margin:0 auto; } .splash_container{ display: flex; flex-wrap: wrap; li{width:50%; img { width:100%; margin-bottom:-7px; }}} } h2{ position: fixed; width: 40%; top:12%; left:8.5%; z-index: 99999; img{width:100%; }} @media screen and (max-width:30rem) { h2{ display: none;}} // 看板 .kanban-container{ max-width:100%; margin:0 auto 8%; } @media screen and (max-width:30rem) { .kanban-container{ margin:0 auto 12%;} } .kanban-pc{ max-width:1960px; margin:0 auto; display:block; text-align: left; position: relative; img{max-width:100%; width:100%;} span{ width:33.3333%; margin:0 auto; display: block; position:absolute; top:45%; left:33.3333%; } } .kanban-sp{display: none;} @media screen and (max-width:30rem) { .kanban-sp{ display:block; text-align: left; img{max-width:100%;} span{ width:70%; margin:0 auto; display: block; position:absolute; top:45%; left:15%; } } .kanban-pc{display: none;} } //CONTAINER //CONTAINER //CONTAINER .contant-container{ text-align:left; max-width:1320px; width:100%; margin: 0 auto; p.atamagaki{ span{font-size: 1.2rem; display: block; padding: 0 0 1.5rem 0; margin-left:-10px;} font-size: 1rem; line-height: 1.8rem; margin:10% 5% ;} p.discription{ span{font-size: 1.2rem; display: block; padding: 0 0 1rem 0;} line-height: 1.7rem; font-size: 0.9rem; margin: 10% 5%; font-weight: 600; img{width:98%; max-width: 500px; float:left; padding:0 2% 2% 0;}} } @media screen and (max-width:30rem) { .contant-container{ max-width:98%; p.atamagaki{font-size: 0.8rem; margin:15% 3%;} p.discription{ span{font-size: 1rem; display: block; padding: 0 0 1rem 0;} line-height: 1.6rem; font-size: 0.8rem; margin: 10% 3% 15%; font-weight: 600; img{width:100%; max-width:100%; float:none; padding:0 0 4% 0;}} } } //GRID //GRID //GRID .grid { position: relative; width:100%; max-width:100%; margin:0 auto; } .item { display: block; position: absolute; width:24%; height:auto; margin:0.5% 0.5% 0 0.5%; z-index: 1; cursor:move; img{width:100%;} p{@include DM; text-align: left; font-size:0.6rem;} } .item-content { position: relative; width: 100%; height: 100%; display:table; } .custom-content{ display:table-cell; vertical-align:middle; text-align: center; } // If use dragging .item.muuri-item-dragging { z-index: 3; } @media screen and (max-width:30rem) { .item{ width:calc(50% - 5px); } } //slider .rslides { position: relative; list-style: none; overflow: hidden; width: 100%; padding: 0; margin: 0; } .rslides li { -webkit-backface-visibility: hidden; position: absolute; display: none; width: 100%; left: 0; top: 0; } .rslides li:first-child { position: relative; display: block; float: left; } .rslides img { display: block; height: auto; float: left; width: 100%; border: 0; height: inherit; } // フッター footer { clear: both; background:$dark-gray; padding:40px; font-size:0.6rem; margin:100px 0 0 0; ul { display:flex; flex-wrap:wrap; justify-content:center; } li { margin:0 10px 0 0; &:first-child { margin:0 auto 0 0; } } @media screen and (max-width:30rem) { footer { margin:100px 0 0 0; } li { margin:5px 10px; &:first-child { margin:auto; width:100%; } } } a { @include DM; color:$soft-gray; &:hover { color:$orange; } i { margin:0 0.25rem 0 0; } } } #footer-logo { width:160px; fill:$soft-gray; } @media screen and (max-width:30rem) { #footer-logo { width:160px; fill:$soft-gray; margin:0 auto 24px auto; display:block; } }