@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; } } //ブレイクポイントを指定------ここまで //カラー指定 $main-color: #296ece; $skyblue: #62c9ff; $main-bg: #effaff; .anchor { padding-top: 120px; margin-top: -120px; @include sm { padding-top: 90px; margin-top: -90px; } } #first-time-patients { margin-bottom: 12rem; @include xs { margin-bottom: 8rem; } .first-time-patients-bg { background-image: url("../img/first-bg.jpg"); background-repeat: no-repeat; background-position: center; height: auto; padding: 4rem 0; display: flex; align-items: center; background-size: cover; ul { margin: 0; margin-top: 1rem; li { text-indent: -1.5em; padding-left: 1.5em; line-height: 1.5; margin-bottom: 0.8rem; @include lg { text-indent: -1.8em; padding-left: 1.8em; } &::before { font-family: "Font Awesome 5 Free"; font-weight: 500; content: '\f058'; color: $main-color; margin-right: 0.6em; } } } } } #eye-disease { h2 { margin-bottom: 10rem; @include sm { margin-bottom: 7rem; } @include xs { margin-bottom: 5rem; } } .eye-disease-list { margin-bottom: 12rem; @include md { margin-bottom: 10rem; } @include sm { margin-bottom: 8rem; } @include xs { margin-bottom: 7rem; } &:last-child { margin-bottom: 15rem; @include sm { margin-bottom: 11rem; } @include xs { margin-bottom: 5rem; } } .midashi { margin-bottom: 3rem; display: flex; align-items: center; @include sm { margin-bottom: 1.5rem; } &::after { content: ""; flex: 1; // 横いっぱいに伸びる height: 1px; background: #afafaf; margin-left: 0.8em; // テキストと線の間隔 } img { height: 40px; width: 41px; padding-bottom: 0.7rem; display: inline; margin-right: 0.8em; } h3 { font-size: 26px; font-size: 2.6rem; color: $main-color; display: inline-block; @include xs { font-size: 23px; font-size: 2.3rem; } span.sm { font-size: 20px; font-size: 2rem; @include xs { font-size: 17px; font-size: 1.7rem; } } span.en { font-size: 14px; font-size: 1.4rem; color: #afafaf; margin-left: 1em; } } h3.li-4 { @include xs { line-height: 0.9; } span.en { @include xs { margin-left: 0; } } } } p { margin-bottom: 5rem; @include md { margin-bottom: 4rem; } @include sm { margin-bottom: 3rem; } @include xs { margin-bottom: 1.5rem; } } .attention { background-color: #f7fcff; padding: 2.5rem 2rem 3.7rem 2rem; display: flex; flex-direction: column; align-items: center; @include sm { padding: 2.5rem 2rem 3rem 2rem; } @include xs { padding: 2rem 2rem 1.5rem 2rem; } p { font-size: 20px; font-size: 2rem; font-weight: 600; margin-bottom: 2rem; @include xs { font-size: 1.8rem; margin-bottom: 1.3rem; } i { color: #f5937f; font-size: 25px; font-size: 2.5rem; margin-right: 0.8rem; } } ul { display: flex; align-content: center; flex-wrap: wrap; justify-content: center; margin-bottom: 0; @include xs { margin-bottom: 0; flex-direction: column; } li { display: flex; align-items: center; margin-right: 2.5em; margin-bottom: 0.5rem; @include md { margin-bottom: 0.8rem; } @include sm { font-size: 15px; font-size: 1.5rem; } @include xs { margin-right: 0em; margin-bottom: 0.5rem; } &::before { content: ""; background-image: url("../img/check.svg"); background-repeat: no-repeat; display: inline-block; height: 18px!important; width: 19px!important; margin-right: 0.7rem; } &:last-child { margin-right: 0; &::before { display: none; } } } } } } }