@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/service-header.jpg"); margin-bottom: 0.5rem; @include md { margin-bottom: 2rem; } @include sm { margin-bottom: 4rem; } } //exterior------------------------------ #exterior { margin-bottom: 6rem; .bg-blue { position: relative; background: linear-gradient(90deg, #fff 0%, #fff 75%, $color-main 75%, $color-main 100%); padding: 6rem 0; @include md { padding: 5rem 0; } @include sm { padding: 4rem 0; } @include xs { padding: 2.5rem 0; } .exterior-img { img { &:first-child { display: inline-block; width: 85%; margin-right: 0.5rem; height: 575px; object-fit: cover; @include lg { height: 490px; } @include md { height: 400px; } } &:nth-child(2) { display: inline-block; width: 85%; } &:last-child { display: inline-block; width: 40px; vertical-align: bottom; @include lg { width: 37px; } @include md { width: 33px; } @include xs { width: 23px; } } } } .outer-space { background-color: #fff; position: absolute; display: flex; align-items: center; right: 0; top: 16%; font-size: 46px; font-size: 4.6rem; font-weight: bold; padding: 1.75rem 2em 1.75rem 3rem; letter-spacing: 0.2em; @include lg { font-size: 42px; font-size: 4.2rem; padding: 1.5rem 2em 1.5rem 2rem; letter-spacing: 0.15em; } @include md { font-size: 40px; font-size: 4rem; } @include sm { font-size: 36px; font-size: 3.6rem; padding: 1rem 1em 1rem 1rem; letter-spacing: 0.1em; } @include xs { font-size: 28px; font-size: 2.8rem; padding: 1rem; top: 14%; } span { color: $color-main; } } } } //worry------------------------------ #worry { position: relative; p { font-size: 29px; font-size: 2.9rem; font-weight: bold; letter-spacing: 0.1em; text-align: center; color: $color-main; margin-bottom: 4rem; @include md { font-size: 26px; font-size: 2.6rem; } @include xs { font-size: 24px; font-size: 2.4rem; letter-spacing: 0.05em; } } .row { &> div { @include md { padding: 0 0.75rem; } @include sm { padding: 0 1.5rem; width: 85%; margin: 0 auto; } @include xs { padding: 0 1rem; width: 95%; } } } .box { font-size: 18px; font-size: 1.8rem; letter-spacing: 0.1em; border: solid 1px $color-main; border-radius: 15px; text-align: center; font-weight: bold; padding: 2rem; margin-bottom: 4rem; min-height: 130px; display: flex; justify-content: center; align-items: center; @include lg { letter-spacing: normal; padding: 1rem; } @include md { font-size: 16px; font-size: 1.6rem; min-height: 100px; } @include sm { font-size: 20px; font-size: 2rem; letter-spacing: 0.1em; line-height: 1.7; padding: 2rem; margin-bottom: 3rem; } @include xs { font-size: 18px; font-size: 1.8rem; letter-spacing: 0.05em; line-height: 1.7; padding: 1rem; margin-bottom: 3rem; } } h3 { font-size: 26px; font-size: 2.6rem; font-weight: bold; letter-spacing: 0.3rem; border-bottom: solid 5px $color-main; padding-bottom: 8px; display: inline-block; margin-bottom: 6rem; @include sm { letter-spacing:normal; font-size: 24px; font-size: 2.4rem; } @include xs { line-height: 1.4; font-size: 22px; font-size: 2.2rem; } span { font-size: 32px; font-size: 3.2rem; @include sm { font-size: 30px; font-size: 3rem; } @include xs { font-size: 27px; font-size: 2.7rem; } } } &::after { position: absolute; border-top: 40px solid #fff; border-right: 90px solid transparent; border-left: 90px solid transparent; content: ''; left: 50%; margin-left: -90px; } } //solution------------------------------ #solution { background-color: #dfe9f6; margin-bottom: 6rem; padding: 9rem 0 3rem; .row { justify-content: center; width: 95%; margin: 0 auto 4rem; @include lg { width: 100%; } @include sm { width: 90%; } @include xs { width: 100%; } img { @include sm { margin-bottom: 2rem; } } } .pattern { font-weight: bold; color: #FFFFFF; background-color: #1b1464; display: inline-block; padding: 0.1rem 3rem; border-radius: 50px; margin-bottom: 0; @include md { font-size: 15px; font-size: 1.5rem; } @include xs { font-size: 14px; font-size: 1.4rem; } } dt { font-size: 30px; font-size: 3rem; letter-spacing: 0.025em; margin-bottom: 2rem; line-height: 1.4; @include lg { font-size: 28px; font-size: 2.8rem; margin-bottom: 1rem; } @include md { font-size: 26px; font-size: 2.6rem; } @include xs { font-size: 24px; font-size: 2.4rem; } span { display: block; margin-top: 1rem; font-size: 18px; font-size: 1.8rem; color: $color-main; letter-spacing: normal; @include md { font-size: 18px; font-size: 1.8rem; } @include xs { font-size: 16px; font-size: 1.6rem; } } } dd { text-align: justify; @include lg { line-height: 1.7; } @include md { line-height: 1.6; } span { font-size: 14px; font-size: 1.4rem; } } } //example------------------------------ #example { margin-bottom: 9rem; @include sm { margin-bottom: 0; } .bg-example { padding-top: 3rem; @include sm { padding-top: 0; } .row { width: 90%; margin: 0 auto; @include md { width: 100%; } } img { margin-bottom: -3rem; object-fit: cover; @include sm { margin-bottom: 0; } } dl { margin-bottom: 0; } &:nth-of-type(1) { background: linear-gradient(90deg, #dfe9f6 0%, #dfe9f6 30%, #fff 30%, #fff 100%); @include sm { background: #dfe9f6; padding: 4rem 0 3rem; } } &:nth-of-type(2) { background: linear-gradient(90deg, #f4f4f4 0%, #f4f4f4 30%, #fff 30%, #fff 100%); @include sm { background: #f4f4f4; padding: 4rem 0 3rem; } } &:nth-of-type(3) { background: linear-gradient(90deg, #dfe9f6 0%, #dfe9f6 30%, #fff 30%, #fff 100%); @include sm { background: #dfe9f6; padding: 4rem 0 3rem; } } } dt { font-size: 28px; font-size: 2.8rem; letter-spacing: 0.2rem; margin-bottom: 2rem; top: -2rem; @include md { font-size: 26px; font-size: 2.6rem; margin-bottom: 1rem; } @include xs { font-size: 24px; font-size: 2.4rem; margin-bottom: 0.5rem; } span { display: block; font-size: 18px; font-size: 1.8rem; color: $color-main; letter-spacing: normal; margin: 1rem 0 0.5rem; @include md { font-size: 17px; font-size: 1.7rem; } @include xs { font-size: 16px; font-size: 1.6rem; } } } dd { text-align: justify; line-height: 1.7; margin-bottom: 0; @include md { line-height: 1.6; } } }