// ブレイクポイントを指定 $tab: 960px; $sp: 767px; @mixin tab { @media screen and (max-width: ($tab)) { @content; } } @mixin sp { @media screen and (max-width: ($sp)) { @content; } } .heading_wrap { margin: 100px auto 40px; @include sp { margin-top: 70px; } .news_info { display: flex; align-items: center; gap: 16px; margin-bottom: 4px; .news_date { font-size: 16px; font-family: "Inter", sans serif; } .category { display: block; padding: 2px 7px; font-size: 14px; color: #fff; border-radius: 5px; } } .n-title { font-family: "Klee One", cursive; font-size: 40px; font-weight: 600; @include sp { font-size: 24px; } } } .news_wrap { max-width: 805px; width: 100%; padding: 0; @include sp { width: 90%; } } .link-btn { margin: 60px auto 0; }