//@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=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'); @import url("https://cdnjs.cloudflare.com/ajax/libs/animate.css/3.5.2/animate.min.css"); @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; -webkit-appearance:none; border-radius:0; } html,body { width:100%; height:100%; color:#303030; font-family:"Noto Sans JP"; 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:#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; } } ul { list-style:none; padding:0; } // Font Awesome @mixin ICON { font-family:"Font Awesome 5 Pro","Font Awesome 5 Brands"; } // Noto Sans JP @mixin SANS { font-family:"Noto Sans JP"; font-weight:100; } // Montserrat @mixin MON { font-family:"Montserrat"; } // DM+Sans @mixin DM { font-family: "DM Sans"; font-weight:500; } // 全体のデザイン $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%;} } // 看板 .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; img{max-width:100%;} p.title{ position: relative; width:20%; margin:-25% auto 25%; @include DM; font-size:5rem; letter-spacing: 0.3rem; color:$white; span.sub-title{ @include DM; font-size:1rem; padding-top:30px; display: block; } } } .kanban-sp{display: none;} @media screen and (max-width:30rem) { .kanban-sp{ display:block; text-align: left; img{max-width:100%;} p.title{ position: relative; width:60%; margin:-65% auto 65%; @include DM; font-size:2.5rem; letter-spacing: 0.3rem; color:$white; span.sub-title{ @include DM; font-size:0.7rem; display: block; } } } .kanban-pc{display: none;} } //あたまがき .atamagaki{ max-width:760px; text-align:left; margin:0 auto 8%; p{ font-size:0.8rem; line-height: 2rem; padding:0 5%; } } @media screen and (max-width:30rem) { .atamagaki{ max-width:95%; text-align:left; margin:0 auto 12%; p{ font-size:0.7rem; line-height: 1.4rem; } } } .contant-container{ text-align:center; margin: 0 auto; padding:5% 20%; background-color: #f1f1f1; max-width:60%; } @media screen and (max-width:30rem) { .contant-container{ @include DM; max-width:100%; padding:10% 0 0 0; } } //アイテム .item_box{ overflow: hidden; clear: both; max-width: 100%; margin:0 auto; padding:80px 0 160px; display: flex; flex-wrap: wrap; } .item{ width:31.1111%; padding:3% 1.1111%; text-align: left; .text{ font-size:0.9rem; display: block; padding:5% 0; ul{li{font-size:0.6rem; @include DM; color:#585858; a{@include DM;}}} span.buy{ background-color: $dark-gray; color:$white; @include DM; padding:3px 5px;} } } .item img{ width:100%; } @media screen and (max-width:30rem) { .item_box{ margin:0 auto; padding:20px 0 80px; } .item{ width:48%; padding:5% 1%; .text{ ul{li{font-size:0.6rem; line-height: 1rem; }} } } } .item_button { width: 30%; margin: 0 auto; padding-bottom: 10%; } .item_button a { height: 60px; margin-top: 12px; font-size:0.8rem; line-height: 60px; color: $white; letter-spacing: 1px; display: block; text-align: center; border-radius: 30px; background-color: $dark-gray; border: 1px solid; width: 100%; i{padding:0 10px;}} @media screen and (max-width:30rem) { .item_button { width: 80%; } .item_button a { height: 60px; font-size:0.6rem; line-height:60px; } } div.text-box{ text-align: left; width: 96%; margin: 0 auto; } div.big_title{ @include DM; font-size:7rem; position: relative; z-index: 999; } div.sub_title{ @include DM; font-size:1rem; padding:0 0 5% 0; position: relative; z-index: 999; } .number{display: block; @include DM; font-size:3rem; text-align: right; } @media screen and (max-width:30rem) { div.big_title{ @include DM; font-weight:600 !important; font-size:3rem; padding:0 0 0 0; } div.sub_title{ @include DM; font-weight:600 !important; font-size:0.8rem; padding: 0 0 10px 0; line-height: 0.8rem; } .number{ font-size:2.5rem; } } // フッター footer { clear: both; background:$dark-gray; padding:40px; font-size:0.6rem; margin: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; } }