@charset "UTF-8";
/*基本CSS*/
html {
font-size: 10px;
overflow-x: hidden;
}
body {
font-family: "Hiragino Sans W3", "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", "メイリオ", Meiryo, "MS Pゴシック", "MS PGothic", sans-serif;
font-feature-settings: "palt" 1;
width: 100%;
margin: 60px 0 0 0;
padding: 0;
font-size: 10px;
overflow-x: hidden;
color: #222;
letter-spacing: .05rem;
line-height: 1.8;
}
/*ここからヘッダー*/
header {
position: fixed;
background: #fff;
top: 0;
left: 0;
z-index: 100;
box-sizing: border-box;
width: 100%;
height: 60px;
box-shadow: 2px 2px 2px 0 rgba(0,0,0,.5);
}
.header-wrapper {
position: absolute;
width: 80%;
height: auto;
top: 5px;
left: 10%;
}
.header-logo-wrapper {
position: relative;
float: left;
width: 176px;
height: 36px;
top: 7px;
}
.header-logo-wrapper img {
width: 100%;
height: 100%;
}
.header-nav-wrapper ul {
display: flex;
justify-content: space-around;
padding: 0;
}
.header-nav-wrapper ul li {
list-style: none;
}
.header-nav-wrapper ul li a {
font-size: 1.6rem;
font-weight: bold;
text-decoration: none;
color: #222;
transition: .3s ease;
}
.header-nav-wrapper ul li a:hover {
color: #66f;
}
/*ここからフッター*/
.footer-container {
background: #66f;
width: 100%;
height: auto;
}
.footer-container ul {
display: flex;
justify-content: space-around;
width: 70%;
padding: 40px 15%;
margin: 0;
}
.footer-container ul li {
list-style: none;
}
.footer-container ul li a {
font-size: 1.6rem;
text-decoration: none;
color: #fff;
transition: .3s ease;
}
.footer-container ul li a:hover {
color: #29cc29;
}
.copyright {
font-size: 1.2rem;
color: #222;
background: #29cc29;
line-height: 2;
margin: 0;
text-align: center;
}
/*ここからSP用*/
@media screen and (max-width:800px) {
/*ここからSP用ヘッダー*/
.header-wrapper {
width: 100%;
top: 0;
left: 0;
}
.header-logo-wrapper {
float: none;
margin: 5px 0 0 20px;
}
.header-nav-wrapper ul {
display: block;
margin: 80px 0;
}
.header-nav-wrapper ul li {
margin: 15px 0;
text-align: center;
}
.header-nav-wrapper ul li a {
color: #fff;
}
/*ここからハンバーガーメニュー*/
/*メニュー*/
#sp_nav {
position: absolute;
overflow-y: scroll;
width: 70%;
height: 100vh;
top: 0;
right: -70%;
background: rgba(0,0,0,.8);
transition: .3s ease;
}
.in {
transform: translateX(-100%);
}
/*ボタン*/
.hamburger-container {
position: absolute;
top: 5px;
right: 20px;
background: #66f;
width: 51px;
height: 51px;
border-radius: 50%;
}
#hamburger {
display: block;
position: absolute;
top: 16px;
right: 12px;
width: 26px;
height: 19px;
}
.inner_line {
display: block;
position: absolute;
left: 0;
width: 26px;
height: 3px;
background-color: #fff;
transition: .3s ease-in;
border-radius: 3px;
}
#line1 {
top: 0;
}
#line2 {
top: 8px;
}
#line3 {
bottom: 0px;
}
.line_1,.line_2,.line_3 {
background: #fff;
}
.line_1 {
transform: translateY(8px) rotate(-225deg);
top: 0;
}
.line_2 {
opacity: 0;
}
.line_3 {
transform: translateY(-8px) rotate(225deg);
bottom: 0;
}
/*ここからSP用フッター*/
.footer-container ul {
flex-wrap: wrap;
width: 80%;
padding: 10px 10%;
}
.footer-container ul li {
width: 50%;
margin: 5px 0;
text-align: center;
}
.footer-container ul li a {
font-size: 1.4rem;
}
}