@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-pink: #ed848b; $color-blue: #007ac5; $color-yellow: #fff2cb; $color-orange: #f8ad4e; //共通見出し・枠・余白----------------------------------- .headline { &::before { content: "\f004"; } } .frame { background-color: #FFFFFF; border: solid 1px $color-pink; margin: 1.5rem 2rem 5rem 2rem; display: flex; justify-content: center; align-items: center; } //greeting----------------------------------- #greeting { P { text-align: justify; } .name { font-weight: 500; text-align: right; span { font-size: 1.2em; } } .reader { @include sm { padding-bottom: 1.5rem; width: 60%; margin: auto; } @include xs { width: 100%; } } } //chart----------------------------------- #chart { .frame { @include lg { padding: 0rem; } } } //history----------------------------------- #history { th { border-top: dotted 1px #979797; border-bottom: dotted 1px #979797; background-color: $color-yellow; padding: 1rem; text-align: center; width: 22%; font-weight: normal; @include sm { width: 25%; } @include xs { display: block; width: 100%; } } td { border-top: dotted 1px #979797; border-bottom: dotted 1px #979797; padding: 1.2rem 1.5rem; text-align: justify; line-height: 2.3rem; @include xs { display: block; width: 100%; } } }