$breakpoints: ('sp': 'screen and (max-width: 425px)') !default;
$breakpoints: ('tab': 'screen and (max-width: 768px)') !default;
$breakpoints: ('pc': 'screen and (min-width: 769px)') !default;
$breakpoints: (
'sp': 'screen and (max-width: 425px)',
'tab': 'screen and (max-width: 768px)',
'pc': 'screen and (min-width: 769px)'
) !default;
@mixin mq($breakpoint: pc) {
@media #{map-get($breakpoints, $breakpoint)} {
@content;
}
}
.text {
font-size: 60px;
@include mq('sp') {
font-size: 30px;
}
}
.text {
font-size: 60px;
}
@media screen and (max-width: 425px) {
.text {
font-size: 30px;
}
}
$color-main: #333;
$color-sub: #808080;
.text {
color: $color-ja;
}
$font-ja: 'Noto Serif JP', serif;
$font-en: 'Playfair Display', serif;
body {
font-size: 16px;
color: $color-text;
font-family: $font-ja;
box-sizing: border-box;
background: #F7F4E9;
}
.inner {
max-width: 1000px;
margin: 0 auto;
@include mq('sp') {
width: 95%;
}
}
img {
width: 100%;
}
a {
color: $color-sub;
&:hover {
opacity: 0.8;
}
}
@charset "utf-8";
/*=================================
# mixins
================================= */
//breakpoints
$breakpoints: (
'sp': 'screen and (max-width: 425px)',
'tab': 'screen and (max-width: 768px)',
'pc': 'screen and (min-width: 769px)'
) !default;
//media queries
@mixin mq($breakpoint: pc) {
@media #{map-get($breakpoints, $breakpoint)} {
@content;
}
}
/*=================================
# colors
================================= */
$color-main: #333;
$color-sub: #808080;
/*=================================
# fonts
================================= */
$font-ja: 'Noto Serif JP', serif;
$font-en: 'Playfair Display', serif;
/*=================================
# common
================================= */
body {
font-size: 16px;
color: $color-sub;
font-family: $font-ja;
box-sizing: border-box;
background: #F7F4E9;
}
.inner {
max-width: 1100px;
margin: 0 auto;
@include mq('sp') {
width: 90%;
}
}
img {
width: 100%;
}
a {
color: $color-sub;
&:hover {
opacity: 0.8;
}
}