@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; } } //ブレイクポイントを指定------ここまで h2 { font-family: "Josefin Sans"; font-size: 52px; font-size: 5.2rem; font-weight: 600; color: #333; text-align: left; margin-bottom: 4rem; letter-spacing: 0.08em; border-left: solid 1px #333; padding-left: 3rem; @include md { font-size: 49px; font-size: 4.9rem; } @include sm { font-size: 46px; font-size: 4.6rem; } @include xs { font-size: 42px; font-size: 4.2rem; letter-spacing: 0; margin-bottom: 3rem; padding-left: 2rem; } span { font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, "sans-serif"; font-size: 16px; font-size: 1.6rem; font-weight: 500; letter-spacing: 0.1em; display: block; } } @media (min-width: 1400px) { #lower-header .container, #breadcrumb .container { max-width: 1200px; } } @media (min-width: 1200px) { #lower-header .container, #breadcrumb .container { max-width: 1140px; } } /*---------- lower-header ----------*/ #lower-header { padding-top: 5rem; margin-bottom: 2rem; overflow: hidden; @include lg { padding-top: 4rem; } .lh-inner { background-image: url("../img/works-top.jpg"); background-size: cover; background-position: center; height: 320px; margin-top: -6rem; margin-left: calc(50% - 50vw); width: 90vw; @include lg { margin-top: -5.5rem; height: 300px; } @include md { margin-top: -5.5rem; height: 280px; } @include sm { margin-top: -5rem; height: 250px; } @include xs { margin-top: -4rem; height: 220px; } } } /*---------- breadcrumb ----------*/ .breadcrumb { background:transparent; margin-bottom: 5rem; li { padding-right: 0.7rem; a { color: #808080; letter-spacing: 0.1em; &:hover { color: #1ec3ff; } } } } .breadcrumb-item { &+.breadcrumb-item { &::before { font-family: "Font Awesome 5 Free"; content: "\f105"; font-weight: 900; display: inline-block; padding-right: 0.7rem; color: #808080; } } } .breadcrumb-item.active { color: #808080; letter-spacing: 0.1em; } /*---------- anchor ----------*/ .anchor { display: block; padding-top: 100px; margin-top: -100px; @include sm { padding-top: 80px; margin-top: -80px; } } /*---------------▼header---------------*/ header { postion: -webkit-sticky; position: sticky; top: 0; z-index: 100; background: #fff; } header h1 { font-size: 35px; font-weight: bold; padding: 0.5rem; } header h1 span { font-size: 14px; font-weight: normal; } header p { text-align: right; padding: 0rem; display: grid; align-items: flex-end; font-weight: bold; } .header1 { border-bottom: 1px solid #333333; } .header2 ul { margin-bottom: 0px; } .header2 ul li { display: inline-block; font-weight: bold; } .header2 ul li a { color: #972d1c; display: inline-block; padding: 1rem 3rem; } .header2 ul li:hover { background: #972d1c; transition: 0.3s; } .header2 ul li a:hover { color: #ffffff; } /*---------------▼footer---------------*/ footer div.container { padding: 7rem; } footer div.container span { font-size: 32px; font-weight: bold; } .copyright { font-size: 14px; text-align: center; border-top: solid #000000 1px; padding: 1rem; } /* ↓ sm 幅以下の時に反映される設定 ↓ */ @media only screen and (max-width: 767px) { /*---------------▼header---------------*/ .header1 { border-bottom: none; } //-------------▼footer---------------*/ footer div.container { padding: 4rem 2rem; line-height: 2.5rem; font-size: 1.5rem; } footer div.container span { font-size: 20px; } } /* ↓ col 幅以下の時に反映される設定 ↓ */ @media only screen and (max-width: 575px) { header { position: static; } } @media only screen and (max-width: 420px) { header h1 { font-size: 32px; } }