@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; //header------------------------------ header { #global-nav { display: block; position: absolute; top: 0; max-width: 100%; background-color: transparent; width: 100%; height: 97px; z-index: 10; top: 0; h1 { display: flex; align-items: center; height: 97px; margin-left: 10%; margin-bottom: 0; a { img { width: 200px; } } } .header-inner ul { display: flex; align-items: center; justify-content: flex-end; height: 97px; text-align: right; margin: 0 auto; li { display: flex; align-items: center; justify-content: flex-end; padding: 0 2rem; text-align: center; line-height: 1.2; font-size: 15px; font-size: 1.5rem; @include lg { padding: 0 1.5rem; } a { color: #fff; display: block; padding: 0 1rem; position: relative; &::after{ position: absolute; bottom: -10px; left: 0; content: ""; width: 100%; height: 1.5px; background: #f7cd6f; transform: scale(0, 1); transform-origin: center top; transition: transform 0.3s; } &:hover::after{ transform: scale(1, 1); } &:hover { color: $color-y; } } } .list-bg { height: 100%; background-color: $color-y; padding: 0 1rem; @include md { margin-left: 0.5rem; } a { color: #fff; &:hover { color: $color-b; &::after { background: $color-b; } } } } } } } //footer------------------------------ footer { color: #fff; background-color: $color-b; .container { padding: 3rem 1.5rem; .inner { width: 83%; margin: 0 auto; @include lg { width: 85%; } @include md { width: 90%; } @include sm { width: 85%; } @include xs { width: 100%; } .row { justify-content: space-between; margin: 0; @include sm { justify-content: center; } } } .footer-left { img { width: 200px; @include md { width: 190px; } @include sm { width: 200px; } } p { font-size: 13px; font-size: 1.3rem; } } ul { @include xs { margin: 0; } li { padding: 0.5rem 1.5em; font-size: 15px; font-size: 1.5rem; transition: 0.3s; @include md { padding: 0.5rem 1em; margin-bottom: 1rem; } &:last-child { background-color: $color-y; @include sm { padding: 0.5rem 2.5em; } &::before { font-family: "Font Awesome 5 Free"; content: "\f0e0"; font-weight: 900; padding-right: 1rem; } &:hover { background-color: #fff; color: $color-y; a { color: $color-y; } } } a { color: #fff; } &:hover { a { color: $color-y; } } } } } } /* トップへ戻るボタン */ #page-top { position: fixed; bottom: 3%; right: 3%; margin-bottom: 0; z-index: 10; a { img { width: 50px; @include xs { width: 40px; } } } } /* トップへ戻るボタン */ //共通------------------------------ #ul-header { position: relative; background-size: cover; background-position: center; height: 246px; margin-bottom: 10rem; @include md { height: 230px; margin-bottom: 8rem; } @include sm { height: 200px; } h1 { position: absolute; bottom: -4.5rem; background-color: #fff; display: inline-block; color: $color-b; margin-bottom: 0; padding: 0 2rem; font-family: 'Oleo Script', cursive; font-size: 68px; font-size: 6.8rem; @include md { font-size: 60px; font-size: 6rem; } @include xs { font-size: 48px; font-size: 4.8rem; padding: 0 1.5rem; } span { display: block; margin-top: -1rem; font-family: 'Noto Sans JP'; font-size: 15px; font-size: 1.5rem; font-weight: normal; @include sm { margin-top: -0.75rem; } } } } .link-box { position: relative; display: inline-block; color: #fff; background-color: $color-y; padding: 0.5rem 3em 0.5rem 2em; text-align: center; font-size: 18px; font-size: 1.8rem; transition: 0.3s; &::after { position: absolute; content: ""; display: inline-block; font-family: "Font Awesome 5 Free"; content: "\f054"; font-weight: 900; padding-right: 1rem; right: 0; } &:hover { color: #fff; background-color: $color-b; } @include lg { font-size: 17px; font-size: 1.7rem; } @include md { font-size: 16px; font-size: 1.6rem; } }