// @import "common.scss"; @import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700&family=Noto+Sans+JP:wght@300;400;500;700&display=swap'); @mixin sp { @media screen and (max-width: 750px) { @content; } } * { margin: 0; padding: 0; list-style-type: none; } .br-sp { display: none; @include sp { display: inline; } } .content { width: 100%; .main { width: 100%; margin-bottom: 140px; @include sp { margin-bottom: 70px; } .mainLine { width: 100%; height: 946px; display: flex; flex-wrap: nowrap; overflow: hidden; justify-content: center; @include sp { height: auto; flex-wrap: wrap; } &.first { flex-direction : row; } &.second { flex-direction : row-reverse; } &.third { flex-direction : row; } } .infoWrapper, .mainImage{ width: 50%; @include sp { width: 100%; } } .infoWrapper { display: flex; justify-content: right; @include sp { height: 670px; } } .mainLine.first .infoWrapper { &.goout { background-color: #4FADB1; } &.drive { background-color: #D4B79C; } &.room { background-color: #ADB6B9; } &.work { background-color: #D76264; } } .mainLine.second .infoWrapper { justify-content: left; padding-left: 110px; @include sp { padding: 0 10px; height: 600px; } } .mainLine.second .infoWrapper, .mainLine.third .infoWrapper { @include sp { padding: 0 10px; height: 600px; } } .info { position: relative; width: 640px; display: flex; flex-wrap: wrap; flex-direction: column; justify-content: center; align-items: center; @include sp { width: 100%; overflow: hidden; } .backgroundText { position: absolute; top: 230px; left: -520px; transform: rotateZ(90deg); opacity: 0.15; font-size: 300px; font-weight: 700; letter-spacing: -5px; @include sp { top: 180px; // left: -320px; font-size: 200px; left: -66vw; font-weight: 700; } &.light { color: #fff; opacity: 0.3; } } .titleImage { width: auto; height: 380px; margin-bottom: 20px; @include sp { width: 85px; height: 285px; } } .title { font-size: 66px; margin: 0 0 30px; @include sp { font-size: 46px; } } .text { font-size: 16px; line-height: 2.2em; @include sp { font-size: 14px; } &.centerAlign { text-align: center; } &.leftAlign { text-align: left; } .line { margin: 0; } } .selectedImage { width: 420px; height: 140px; margin-bottom: 75px; @include sp { width: 335px; height: 108px; margin-bottom: 15px; } } .imageList { display: flex; flex-wrap: wrap; margin-bottom: 90px; @include sp { margin-bottom: 10px; justify-content: center; } .smallImage { cursor: pointer; img { width: 140px; height: 45px; @include sp { width: 110px; height: 34px; } } &:hover { opacity: 0.5; transition: 0.5s opacity; } } } .name { font-size: 32px; margin-bottom: 20px; @include sp { width: 100%; font-size: 24px; text-align: left; } } .status { display: flex; margin-bottom: 30px; @include sp { width: 100%; flex-wrap: wrap; margin-bottom: 30px; } .optionList { display: flex; flex-wrap: wrap; width: 320px; margin-right: 30px; .option { width: 90px; height: 25px; margin-right: 8px; margin-bottom: 8px; border: 1px solid #222; border-radius: 20px; text-align: center; font-size: 13px; line-height: 25px; &.last-child { margin-right: 0; } } } .colorlist { display: flex; .color { width: 25px; height: 25px; border-radius: 25px; margin-right: 8px; &.red { background-color: #D76264; } &.yellow { background-color: #F0D57D; } &.gray { background-color: #F2F2F2; } } } } .price { font-size: 48px; margin-bottom: 40px; @include sp { width: 100%; margin-bottom: 10px; font-size: 36px; } .unit { font-size: 24px; @include sp { font-size: 16px; } } } .detailList { width: 445px; background-color: #F5F7F8; padding: 20px 0 20px 40px; font-size: 14px; @include sp { width: 100%; } .line { list-style-type: disc; } } .goodsImage { width: 540px; height: 330px; margin-bottom: 160px; @include sp { width: 100%; height: auto; margin-bottom: 40px; } } } .mainLine.second .info, .mainLine.third .info { align-items: baseline; } .mainLine.second .info { @include sp { align-items: center; } } .mainImage { object-fit: cover; object-position: 0px 0px; @include sp { height: 492px; } } .mainLine.second .mainImage { object-position: 50% 0px; } } .recommend { display: flex; flex-wrap: wrap; align-items: center; margin-bottom: 185px; @include sp { font-size: 20px; padding: 0 20px; margin-bottom: 60px; } .title { font-size: 24px; text-align: center; width: 100%; margin-bottom: 45px; @include sp { // 画面幅によってはみ出るので小さめ font-size: 18px; padding: 0 20px; } } .recommendGoods { display: flex; justify-content: left; align-items: center; flex-wrap: wrap; width: 1085px; margin: 0 auto 55px; @include sp { padding: 0 20px; } .goods { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; width: calc(33% - 15px); height: 345px; border: 1px solid #D8DFE3; padding: 60px 35px; color: #222; margin-right: 25px; margin-bottom: 25px; &:nth-child(3n) { margin-right: 0; } &:hover { opacity: 0.5; transition: 0.3s opacity; } @include sp { width: calc(50% - 8px); height: 0; align-items: center; margin-right: 15px; margin-bottom: 20px; padding: 10% 0 calc(40% - 8px); &:nth-child(3n) { margin-right: 15px; } &:nth-child(2n) { margin-right: 0; } } .newIcon { position: absolute; top: 25px; left: 45px; background-color: #F0D57D; font-size: 16px; width: 70px; height: 25px; border-radius: 25px; text-align: center; color: #fff; @include sp { top: 8px; left: 15px; width: 30px; height: 16px; font-size: 10px; } } .image { width: 240px; height: 78px; @include sp { width: 85%; height: auto; } } .name { width: 100%; text-align: center; text-decoration: underline; text-underline-offset: 5px; @include sp { font-size: 12px; } } .price { font-size: 24px; @include sp { font-size: 18px; } .unit { font-size: 16px; @include sp { font-size: 14px; } } } } } .recommendFunctions { width: 100%; display: flex; align-items: center; justify-content: center; @include sp { flex-wrap: wrap; } } } .categoryLink { position: relative; display: flex; justify-content: center; max-width: 1440px; margin: 0 auto 160px; @include sp { margin-bottom: 120px; } .category { width: 33.3%; position: relative; .image { width: 100%; height: auto; } .name { position: absolute; bottom: 70px; width: 100%; font-size: 60px; font-weight: bold; color: #222; text-align: center; @include sp { font-size: 16px; bottom: 20px; } } } } .newsWrapper { width: 100%; height: 600px; background-color: #FAFAFA; @include sp { padding: 0 10px; height: 480px; } } .news { position: relative; max-width: 1280px; margin: auto; padding-top: 70px; @include sp { padding-top: 90px; display: flex; flex-wrap: wrap; justify-content: center; } .title { position: absolute; top: -120px; left: 0; font-size: 104px; transform: rotateZ(90deg); transform-origin: 0 50%; margin-left: 52px; font-weight: 700; @include sp { font-size: 42px; top: -80px; } } .yellowBackground { position: absolute; background-color: #FFEFBF; width: 400px; height: 300px; top: -70px; right: 0; @include sp { width: 180px; height: 200px; } } .slider { width: 1200px; height: 400px; margin-left: 210px; @include sp { width: 100%; margin-left: 0; margin-bottom: 60px; height: 180px; } .newsslideWrapper { display: block; padding: 0 10px; color: #222; &:hover { opacity: 0.5; transition: 0.5s opacity; } } .sliderItem { width: 380px; @include sp { width: 100px; } .newsImage { width: 100%; margin-bottom: 30px; @include sp { margin-bottom: 5px; } } .date { margin-bottom: 15px; font-size: 14px; color: #C4C4C4; @include sp { font-size: 10px; margin-bottom: 8px; } } .newsTitle { font-size: 16px; @include sp { font-size: 12px; } } } } /*slick setting*/ .slick-prev:before, .slick-next:before { color: #222; } } }