@charset "UTF-8"; /* CSS Document */ //ブレイクポイントを指定------ここから $xl: 1399px; $lg: 1199px; $md: 991px; $sm: 767px; $xs: 575px; @mixin xl { @media screen and (max-width: ($xl)) { @content; } } @mixin lg { @media screen and (max-width: ($lg)) { @content; } } @mixin md { @media screen and (max-width: ($md)) { @content; } } @mixin sm { @media screen and (max-width: ($sm)) { @content; } } @mixin xs { @media screen and (max-width: ($xs)) { @content; } } //ブレイクポイントを指定------ここまで //メインカラー指定 $color-main: #4e629e; #ul-header { background-image: url("../img/products-header.jpg"); } //共通------------------------------ .anchor { display: block; padding-top: 64px; margin-top: -65px; margin-bottom: 10rem; @include xs { margin-bottom: 6rem; } .container { position: relative; } .item-bg { background: linear-gradient(90deg, $color-main 0%, $color-main 90%, #fff 90%, #fff 100%); margin-left: calc(50% - 50vw); height: 240px; @include md { height: 220px; } @include xs { height: 180px; } } h2 { position: absolute; display: inline-block; top: 0; width: 30%; text-align: left; font-size: 38px; font-size: 3.8rem; font-weight: bold; border-bottom: solid 2px #fff; letter-spacing: 0.1em; padding: 4rem 0 2rem; margin-left: 1rem; margin-bottom: 6rem; color: #fff; border-bottom: solid 2px #fff; @include lg { font-size: 36px; font-size: 3.6rem; letter-spacing: 0; } @include md { width: 40%; padding: 2rem 0 1rem; margin-left: 0.5rem; font-size: 34px; font-size: 3.4rem; letter-spacing: 0.1em; } @include sm { width: 50%; font-size: 32px; font-size: 3.2rem; } @include xs { width: 65%; font-size: 28px; font-size: 2.8rem; } span { font-size: 18px; font-size: 1.8rem; color: $color-main; } } .merchandise { margin-top: -14rem; @include md { margin-top: -16rem; } @include sm { margin-top: -16rem; } @include xs { margin-top: -10rem; } img { padding: 1rem; height: 100%; @include md { padding: 0.5rem; } &:first-child { padding-top: 8rem; @include lg { padding-top: 7rem; } @include md { padding-top: 5.3rem; } @include sm { padding-top: 4.2rem; } @include xs { padding-top: 0.5rem; } } &:nth-child(2) { @include xs { order: -1; } } } } .link-box { padding: 0.5rem 2em; margin-top: 1rem; margin-right: 1rem; @include md { margin-right: 0.5rem; } @include xs { padding: 0.5rem 1em; margin-top: 1.5rem; margin-right: 0; } } } //inpage------------------------------ #inpage { ul { display: flex; justify-content: center; flex-wrap: wrap; li { border-left: solid 1px #000; padding: 0 2rem; margin-bottom: 2rem; font-size: 18px; font-size: 1.8rem; font-weight: bold; @include lg { padding: 0 1.5rem; font-size: 17px; font-size: 1.7rem; } @include md { padding: 0 2rem; font-size: 18px; font-size: 1.8rem; } @include xs { font-size: 16px; font-size: 1.6rem; margin-bottom: 1.5rem; } &:first-child { border-left: none; } &:nth-child(4) { @include xs { border-left: none; } } &:nth-child(5) { @include sm { border-left: none; } @include xs { border-left: solid 1px #000; } } &:nth-child(6) { @include md { border-left: none; } @include sm { border-left: solid 1px #000; } @include xs { border-left: none; } } a { color: #000; padding-bottom: 3px; transition: 0.2s; &:hover { color: $color-main; border-bottom: solid 2px $color-main; } } } } p { text-align: center; font-size: 17px; font-size: 1.7rem; color: $color-main; font-weight: bold; margin: 3rem 0 6rem; } } //#plastering #plastering { padding-bottom: 5rem; } //easy------------------------------ #easy { background-color: #dfe9f6; padding-top: 8rem; margin-bottom: 0; padding-bottom: 8rem; @include sm { padding-top: 6rem; } h3 { position: relative; text-align: center; font-size: 40px; font-size: 4rem; color: $color-main; padding-bottom: 2rem; line-height: 1.4; letter-spacing: 0.05em; @include md { font-size: 36px; font-size: 3.6rem; padding-bottom: 1.5rem; letter-spacing: 0; } @include xs { font-size: 30px; font-size: 3rem; padding-bottom: 1rem; } span { font-size: 21px; font-size: 2.1rem; color: #1a1a1a; @include md { font-size: 18px; font-size: 1.8rem; } } &::after { content: ''; position: absolute; left: 50%; bottom: 0; display: inline-block; width: 360px; height: 2px; -webkit-transform: translateX(-50%); transform: translateX(-50%); background-color: $color-main; @include md { width: 260px; } } } h4 { text-align: center; font-size: 25px; font-size: 2.5rem; margin: 6rem auto 2rem; letter-spacing: 0.1em; @include md { font-size: 23px; font-size: 2.3rem; margin-top: 5rem; } @include xs { font-size: 20px; font-size: 2rem; margin-top: 3rem; } } .easy-box { background-color: #fff; border-radius: 1rem; text-align: center; padding: 2rem 0 4rem; @include lg { padding: 2rem 0 3rem; } @include sm { margin: 2rem auto; width: 75%; } @include xs { margin: 0 auto 2rem; padding: 1.5rem 0 2rem; } img { width: 90%; @include sm { width: 100%; } } p { color: $color-main; font-size: 21px; font-size: 2.1rem; font-weight: bold; line-height: 1.5; margin: 2rem 0 0; text-align: center; span { font-size: 18px; font-size: 1.8rem; } } } .flow { position: relative; img { &:first-child { } &:nth-child(2) { position: absolute; top: 0; left: 0; width: 64px; } } p { text-align: justify; font-size: 16px; font-size: 1.6rem; margin-top: 1rem; line-height: 1.6; font-weight: 300; } } p { text-align: center; font-size: 20px; font-size: 2rem; font-weight: bold; margin: 2rem 0; @include sm { font-size: 18px; font-size: 1.8rem; } @include xs { font-weight: 500; text-align: justify; } } table { margin: 0 auto; font-size: 22px; font-size: 2.2rem; font-weight: bold; width: 50%; @include md { width: 55%; font-size: 20px; font-size: 2rem; } @include sm { width: 75%; } @include xs { width: 90%; font-size: 18px; font-size: 1.8rem; } tr { th { background-color: $color-main; color: #fff; padding: 1.5rem 2rem; width: 35%; @include xs { padding: 1rem; } } &:first-child th { border-bottom: solid 1px #fff; } td { background-color: #fff; padding: 1.5rem 2rem; text-align: right; @include xs { padding: 1rem; } } &:first-child td { border-bottom: solid 1px $color-main; } } } ul { width: 40%; margin: 1rem auto; @include lg { width: 50%; } @include md { width: 55%; } @include sm { width: 75%; } @include xs { width: 90%; } li { font-weight: 300; &::before { content: "※"; } } } } #eoc { p { text-align: center; font-size: 17px; font-size: 1.7rem; color: $color-main; font-weight: bold; margin: 6rem 0; } .handling { background-color: rgba(230,230,230,0.5); padding-bottom: 4rem; h5 { font-size: 17px; font-size: 1.7rem; font-weight: bold; text-align: center; padding: 4rem 0 2rem; } p { font-size: 17px; font-size: 1.7rem; font-weight: 300; text-align: justify; width: 80%; color: #333; margin: 0 auto; } } }