@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-b: #5e3819; $color-y: #daa020; $color-bg: #f4eee8; #ul-header { background-image: url("../img/restaurant-header.jpg"); } section { margin-bottom: 8rem; @include md { margin-bottom: 6rem; } @include xs { margin-bottom: 4rem; } .swiper-container { position: relative; h3 { position: absolute; bottom: 0; background-color: #fff; z-index: 1; margin: 0 0 2rem 2rem; padding: 0.5rem 1em; color: $color-b; font-size: 32px; font-size: 3.2rem; @include md { font-size: 28px; font-size: 2.8rem; } @include sm { font-size: 24px; font-size: 2.4rem; margin: 0 0 1rem 1rem; padding: 0.5rem 0.5em; } @include xs { font-size: 16px; font-size: 1.6rem; } } } .swiper-slide { max-width: 100%; height: 460px; background-position: center; @include lg { height: 400px; } @include md { height: 300px; } @include sm { height: 250px; } @include xs { height: 200px; } } .swiper-pagination-bullet { width: 5.5rem; height: 3px; @include sm { width: 4rem; } @include xs { width: 3rem; bottom: 5px; } } .swiper-pagination-bullets { bottom: 10px; width: 100%; right: 1.5rem; @include xs { bottom: 5px; right: 1rem; } } .info { width: 83%; margin: 4rem auto 0; @include lg { width: 85%; } @include md { width: 90%; } @include sm { width: 85%; } @include xs { width: 90%; } .row { margin-bottom: 4rem; } h4 { font-family: 'Oleo Script', cursive; font-size: 32px; font-size: 3.2rem; color: $color-b; letter-spacing: 0.08em; margin-bottom: 1rem; @include sm { font-size: 30px; font-size: 3rem; } @include xs { font-size: 28px; font-size: 2.8rem; } } table { width: 100%; tr { border-top: solid 1px #bababa; &:last-child { border-bottom: solid 1px #bababa; } th { width: 25%; font-size: 18px; font-size: 1.8rem; font-weight: 500; vertical-align: top; padding: 1em 0; @include lg { padding: 1.5rem 0; } @include md { padding: 1rem 0; font-size: 16px; font-size: 1.6rem; } } td { width: 75%; padding: 1em 0; @include lg { padding: 1.5rem 0; } @include md { padding: 1rem 0; font-size: 14px; font-size: 1.4rem; } } } } img { width: 100%; @include sm { margin-bottom: 2rem; } } iframe { height: 245px; @include xs { height: 200px; } } } } //preface #preface { .container { div { width: 55%; margin: 0 auto; @include lg { width: 66%; } @include md { width: 78%; } @include xs { width: 90%; } h2 { font-size: 25px; font-size: 2.5rem; font-weight: bold; text-align: center; color: $color-b; margin-bottom: 1.5rem; } p { text-align: justify; } } .link-box { margin-top: 2rem; } } } //soja #soja { .swiper-img1 { background-image: url("../img/restaurant-slide-soja1.jpg"); background-size: cover; } .swiper-img2 { background-image: url("../img/restaurant-slide-soja2.jpg"); background-size: cover; } .swiper-img3 { background-image: url("../img/restaurant-slide-soja3.jpg"); background-size: cover; } } //tsuyama #tsuyama { .swiper-img1 { background-image: url("../img/restaurant-slide-tsuyama1.jpg"); background-size: cover; } .swiper-img2 { background-image: url("../img/restaurant-slide-tsuyama2.jpg"); background-size: cover; } .swiper-img3 { background-image: url("../img/restaurant-slide-tsuyama3.jpg"); background-size: cover; } }