/* Vendor */ @import "compass"; /* Site settings */ @import "settings"; // ブレイクポイント /*$break-pc: 1000px; $break-tb: 768px; $break-sp: 540px;*/ $newbreak-pc: 999px; $newbreak-tb: 768px; $newbreak-sp: 540px; //ラッパー @mixin wrap($wrap-width) { padding: 0 20px; max-width: calc(#{$wrap-width} + 40px); margin: 0 auto; @media screen and (max-width:$break-sp) { padding: 0 10px; } } /*----------------------------- ヘッダー ----------------------------*/ .newhead { .head-wrap { max-width: 1366px; padding: 0 20px; margin: 0 auto; @media screen and (max-width:$newbreak-sp) { padding: 0 10px; } #masthead { height: 80px; display: flex; justify-content: space-between; align-items: center; @media screen and (max-width:$newbreak-pc) { padding-right: 55px; } .site-logo { width: 195px; position: static; strong { padding-left: 0; margin: 0 0 7px; line-height: 1; letter-spacing: 0; } } .main-navi { font-size: 16px; color: $font-color; display: flex; align-items: center; padding: 10px 0; @media screen and (max-width:$newbreak-pc) { display: none; } .nav-search { display: flex; margin-right: 35px; @media screen and (max-width:1050px) { margin-right: 20px; } li { &:not(:last-child) { margin-right: 35px; @media screen and (max-width:1050px) { margin-right: 20px; } } a { color: $font-color; &:hover { color: $base-color; } } } } .nav-about { position: relative; p { &:after { content: ""; display: inline-block; width: 13px; height: 8px; background-image: url(../img/common2021/svg/ico-arrow-down_gray.svg); background-size: contain; vertical-align: middle; margin-left: 10px; } } ul { width: 174px; position: absolute; left: -20px; top: 28px; padding: 15px 15px 5px; background-color:white; @include single-box-shadow(0, 2px, 3px, 0, rgba(0,0,0,0.1)); visibility:hidden; opacity: 0; @include translateZ(0); @include translateY(10%); @include transition(all 0.5s ease 0s, visibility 0s linear 0.5s); li { border-bottom:1px dotted #ccc; padding:5px; &:last-child { border-bottom:none; } a { text-decoration:none; font-size: 14px; color: $font-color; &:hover { color: $base-color; } } } } &.newactive { ul { visibility: visible; opacity:1; @include translateX(0%); @include transition-delay(0s); } } } .vertical-line { background: #ddd; width: 1px; height: 44px; margin: 0 20px; } .nav-registration { p { a { color: $font-color; &:hover { color: $base-color; } } } } } .login-box { display: flex; align-items: center; a { height: 44px; width: 140px; color: #fff; background: $base-color; display: flex; align-items: center; justify-content: center; &.case-logout, &.case-login { span { display: flex; &:first-child { width: 20px; height: 20px; } } &:hover { border-radius: 10px; } @media screen and (max-width:$newbreak-pc) { display: none; } } span { &:first-child { margin-right: 10px; } &:last-child { font-weight: 700; font-size: 16px; line-height: 1; } } &.case-logout { span { &:first-child { width: 22px; margin-right: 3px; } } } &.img_profile { background: transparent; flex-direction: column; height: auto; width: 48px; margin-right: 25px; @media screen and (max-width:1050px) { margin-right: 12px; } @media screen and (max-width:$newbreak-pc) { margin-right: 5px; } div { width: 40px; height: 40px; border-radius: 50%; overflow: hidden; img { display: block; width: 42px; height: 42px; } } span { color: $font-color; font-size: 9px; font-weight: 400; line-height: 1; margin-top: 2px; } } } } } } } /*----------------------------- スマホナビ ----------------------------*/ #sp-navi { transition:all 0.5s cubic-bezier(0.19, 1, 0.22, 1) .3s; overflow-y:auto; width:80vw; height:100vh; z-index:10000; top:0; right:-100vw; background-color:$second-color; position:fixed; padding:40px 20px 20px; .sp-logo { width: 181px; margin-top: -20px; margin-bottom: 35px; } .sp-holder { margin-bottom: 40px; p { font-size: 16px; font-weight: 700; letter-spacing: 1px; text-align: center; color: #fff; margin-bottom: 15px; } ul { li { a { color: #fff; font-size: 13px; font-weight: 700; display: flex; align-items: center; justify-content: center; border-radius: 6px; height: 44px; } &:not(:last-child) { margin-bottom: 10px; } } &.sp-searches { li { a { background: #00a040; } } } &.sp-collect { li { &:nth-of-type(1) { a { background: #188fde; } } &:nth-of-type(2) { a { background: #fff; color: $base-color !important; span:first-child { width: 15px; height: 15px; margin-right: 5px; img { display: block; } } span:last-child { line-height: 1; } } } } } } } .sp-abouts { border-bottom: 1px solid #fff; p { font-size: 16px; font-weight: 700; color: #fff; } ul { border-top: 1px solid #fff; padding: 20px 0; li { font-size: 14px; font-weight: 700; &:not(:last-child) { margin-bottom: 3px; } a { color:#fff; } } } } .sp-logout { margin-top:30px; a { color: $base-color !important; font-size: 13px; font-weight: 700; display: flex; align-items: center; justify-content: center; border-radius: 6px; height: 44px; background: #fff; span:first-child { width: 15px; height: 15px; margin-right: 5px; img { display: block; } } span:last-child { line-height: 1; } } } ul.sp-snss { margin: 30px 0 0; padding-bottom:80px; display: flex; justify-content: center; li { width: 38px; margin: 0 3vw; a { display: block; img { display: block; } } } } } ///////トグラー/////// #spnav-toggler { display: none; @media screen and (max-width:$newbreak-pc) { display: block; } width:44px; height:44px; top:19px; right:13px; cursor:pointer; position:fixed; transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1) .3s; z-index:10001; span { transition:all .3s; width:32px; height:3px; left:5px; background-color:$second-color; position: absolute; &:nth-of-type(1) {top:11px;} &:nth-of-type(2) {top:21px;} &:nth-of-type(3) {top:31px;} } } ///////トグラーOPEN時/////// .nav_open { #sp-navi { right: 0; } .nav_bg { opacity:.8; visibility:visible; } #spnav-toggler { right:13px; span { background-color:#fff; &:nth-of-type(1) { transform: rotate(45deg); top: 20px; } &:nth-of-type(2) { width: 0; left: 150%; } &:nth-of-type(3) { transform: rotate(-45deg); top: 20px; } } } } ///////OPEN時 背景/////// .nav_bg { opacity: 0; transition: all .6s; width: 100vw; height: 100vh; z-index: 100; top: 0; left: 0; visibility: hidden; background-color:rgba(0,0,0,.2); cursor: pointer; position: fixed; } /*----------------------------- パンくずリスト ----------------------------*/ .breadcrumb { font-size: 12px; color: #5A5A5A; position:relative; margin:0 auto; @include box-sizing(border-box); width:$container-width; @media screen and (min-width:$break-sp) { padding:$padding-tb; } @media screen and (min-width:$break-tb) { padding:$padding-tb; } @media screen and (min-width:$break-pc) { width:$container-width-pc; padding: 3px 0; } ul { display: flex; overflow-x: auto; li { margin: initial; white-space: nowrap; &:after { content: ""; display: inline-block; width: 4px; height: 8px; background-image: url(../img/common2021/svg/ico-breadcrumb-sepalater.svg); background-size: contain; background-repeat: no-repeat; margin-right: 8px; margin-left: 8px; } &:last-child { &:after { content: none; } } a { color: #5A5A5A; } } } } .container .breadcrumb { @media screen and (min-width:$break-sp) { padding: 3px 0; } @media screen and (min-width:$break-tb) { padding: 3px 0; } } #crew_images, #issues-detail { .breadcrumb { @media screen and (max-width:539px) { padding: 3px 10px; } } } #guide-editor, #main_content { .breadcrumb { @media screen and (max-width:539px) { padding: 3px 0; } } } /*----------------------------- フッター ----------------------------*/ footer { .ft-snss { margin: 30px 0 60px; ul { display: flex; justify-content: center; li { width: 50px; margin: 0 10px; a { display: block; img { display: block; } } } } } .page-top { .container { @media screen and (max-width:$newbreak-sp) { padding: 0; } } a { width: 55px; height: 55px; background: #ededed; display: flex; justify-content: center; align-items: center; margin-left: auto; transition: all 0.3s; @media screen and (max-width:$newbreak-sp) { width: 45px; height: 45px; } span { width: 8px; height: 8px; border: 2px solid; border-color: $base-color $base-color transparent transparent; transform: rotate(-45deg); display: block; margin-top: 8px; transition: all 0.3s; } &:hover { opacity: 1; background: $base-color; span { border-color: #fff #fff transparent transparent; } } } } } footer::before { display: none; } .primary-footer { .container { display: flex; @media screen and (max-width:$newbreak-pc) { flex-direction: column; } } .site-map { float: none; width: 45%; margin-right: 1%; border-bottom: none; @media screen and (max-width:$newbreak-pc) { width: 100%; margin-right: 0; } } .footer-navi { float: none; width: 54%; @media screen and (max-width:$newbreak-pc) { width: 100%; } ul { display: flex; flex-wrap: wrap; justify-content: space-between; margin: 0; &:after { display: none; } li { width: 48.5%; height: 60px; border: 1px solid #fff; margin: 0 !important; float: none !important; background: transparent; &:nth-of-type(1), &:nth-of-type(2) { margin-bottom: 10px !important; } @media screen and (max-width:$newbreak-sp) { height: 46px; } a { width: 100%; height: 60px; color: #fff; display: flex; justify-content: center; align-items: center; @media screen and (max-width:$newbreak-sp) { height: 46px; box-sizing: border-box; padding: 0 10px; } span { color: #fff; &.ico-flag_white {width: 18px;} &.ico-handle_white {width: 20px;} &.ico-tools_white {width: 20px;} &.ico-login_white {width: 20px;} &:nth-of-type(1) {margin-right: 7px;} &:nth-of-type(2) {text-align: center; line-height:16px;} img { display: block; } @media screen and (max-width:$newbreak-sp) { font-size: 12px; } } } } } } } .sub-footer { margin-top: 30px; @media screen and (max-width:$newbreak-sp) { margin-top: 20px; } ul { display: flex; justify-content: center; align-items: center; text-align: center; li { padding: 0; display: block; margin: 0 10px; &:nth-of-type(1) {width: 97px;} &:nth-of-type(2) {width: 58px; border-right: 1px solid #ddd; padding-right:30px; margin-right:20px;} &:nth-of-type(3) {width: 123px;} &:nth-of-type(4) {width: 140px;} @media screen and (max-width:$newbreak-sp) { margin: 0 6px; &:nth-of-type(1) {width: 59px;} &:nth-of-type(2) {width: 35px; padding-right:18px; margin-right:8px;} &:nth-of-type(3) {width: 75px;} &:nth-of-type(4) {width: 85px;} } a { display: block; img { display: block; width:100%; height:auto; } } } } .copyright { margin: 15px 0 0; text-align: center; @media screen and (max-width:$newbreak-sp) { padding-bottom: 10px; } small { @media screen and (max-width:$newbreak-sp) { font-size: 12px; } } } } .btn_signin { width: 160px; height: 40px; margin: 20px auto 0; display: flex; align-items: center; justify-content: center; &:hover { display: flex; } }