@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-main: #4e629e; #wrapper { padding-top: 97px; @include sm { padding-top: 65px; } } h2 { text-align: center; font-size: 30px; font-size: 3rem; font-weight: bold; margin-bottom: 5rem; color: #333; span { font-size: 18px; font-size: 1.8rem; color: $color-main; } } //header------------------------------ header { #global-nav { display: block; position: fixed; max-width: 100%; background-color: #fff; width: 100%; height: 97px; z-index: 10; top: 0; .u-shadow { box-shadow: 0px 7px 5px 0px rgba(35,24,21,0.2); } .logo { position: relative; h1 { position: absolute; top: 50%; transform: translateY(-50%); -webkit-transform: translateY(-50%); margin-bottom: 0; padding-left: 2rem; @include md { padding-left: 1rem; } @include md { width: 300px; } a { display: inline-block; img:first-child { width: 60px; @include lg { width: 55px; } @include md { width: 45px; } } img:last-child { width: 260px; @include lg { width: 250px; } @include md { width: 215px; } } } } } .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 2.5rem; font-size: 17px; font-size: 1.7rem; font-weight: bold; text-align: center; line-height: 1.2; span { font-size: 12px; font-size: 1.2rem; } @include lg { padding: 0 1.5rem; font-size: 16px; font-size: 1.6rem; } @include md { padding: 0 1.2rem; font-size: 15px; font-size: 1.5rem; } a { color: #4d4d4d; 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); } @include lg { padding: 0 0.5rem; } &:hover { color: $color-main; } } } .list-bg { height: 100%; background-color: $color-main; @include md { margin-left: 0.5rem; } a { color: #fff; &:hover { color: #fff; } } } } } } //footer------------------------------ footer { border-top: solid 1px #b8b8b8; .container { padding: 3rem 0; .row { width: 80%; margin: 0 auto; @include lg { width: 90%; } @include md { width: 100%; } @include sm { text-align: center; } } .logo1 { width: 70px; margin-right: 1rem; @include xs { width: 65px; } } .logo2 { width: 280px; @include xs { width: 265px; } } .link-box { color: $color-main; background-color: #fff; margin-bottom: 1.5rem; padding: 0.5rem 3.75em; font-size: 18px; font-size: 1.8rem; font-weight: bold; &:hover { color: #fff; background-color: $color-main; } &::before { font-family: "Font Awesome 5 Free"; content: "\f0e0"; font-weight: 400; margin-right: 1rem; } &::after { content: none; } } .tel { color: $color-main; font-size: 35px; font-size: 3.5rem; font-weight: bold; &::before { font-family: "Font Awesome 5 Free"; content: "\f098"; font-weight: 900; margin-right: 1rem; } } table { @include sm { margin: 0 auto; } th { font-weight: normal; } td { text-align: left; span { float: right; } } } } .copy { color: #fff; background-color: $color-main; font-size: 12px; font-size: 1.2rem; margin-bottom: 0; height: 70px; display: flex; justify-content: center; align-items: center; @include sm { height: 50px; } } } /* トップへ戻るボタン */ #page-top { position: fixed; bottom: 0; right: 0; margin-bottom: 0; z-index: 10; a { background: #333; text-decoration: none; color: #fff; width: 56px; height: 70px; text-align: center; display: flex; justify-content: center; align-items: center; @include sm { height: 50px; } img { width: 20px; } &:hover { background: #999; } } } /* トップへ戻るボタン */ //共通------------------------------ #ul-header { width: 310px; height: 190px; text-align: center; margin: 0 auto 8rem; display: flex; justify-content: center; align-items: center; @include md { width: 285px; height: 175px; } @include xs { width: 280px; height: 170px; } h1 { font-size: 26px; font-size: 2.6rem; font-weight: bold; line-height: 1.4; color: #fff; @include md { font-size: 25px; font-size: 2.5rem; } @include xs { font-size: 23px; font-size: 2.3rem; } span { display: block; margin-top: 1rem; font-size: 17px; font-size: 1.7rem; font-weight: 500; } } } .link-box { border: solid 1px $color-main; display: inline-block; padding: 0.5rem 4em; color: #fff; background-color: $color-main; transition: 0.3s; &:hover { color: $color-main; background-color: #fff; } &:after { content: ">"; margin-left: 1em; } }