/* Site settings */ // フォントファミリー $font: 'Open Sans', "游ゴシック体", "Yu Gothic", YuGothic, sans-serif; $font-ms: 'Open Sans', "メイリオ", Meiryo, "游ゴシック体", "Yu Gothic", YuGothic, sans-serif; $enfont:"Orelega One", serif; //400 $enfont2:"Oswald", sans-serif; //200-700 $jpfont:"Noto Sans JP", sans-serif; //100-900 // フォントカラー $base-color: #393939; $second-color: #0062b1; // ブレイクポイント $newbreak-pc: 999px; $newbreak-tb: 768px; $newbreak-sp: 540px; //フォントスタイル @mixin font-style($f-size, $f-weight:400, $f-letter:0, $f-height:1) { font-size: $f-size; font-weight: $f-weight; letter-spacing: $f-letter; line-height: $f-height; } //ラッパー @mixin wrap($wrap-width) { padding: 0 20px; max-width: calc(#{$wrap-width} + 40px); margin: 0 auto; @media screen and (max-width:540px) { padding: 0 10px; } } @mixin centerall { display:flex; justify-content:center; align-items:center; } /*----------------------------- ヘッダー ----------------------------*/ .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: 204px; position: static; @media screen and (max-width:$newbreak-pc) { width: 190px; } strong { font-family:$jpfont; padding-left: 0; margin: 0 0 7px; @include font-style(10px,700,0,1); font-feature-settings: "palt"; text-align: center; color:$second-color; @media screen and (max-width:$newbreak-pc) { margin: 0 0 4px; } } .logo-blueship { width:100%; } a { display:block; } } .main-navi { @include font-style(15px,700,0,1); font-family:$jpfont; color: $base-color; display: flex; align-items: center; padding: 0; @media screen and (max-width:1080px) { font-size:14px; } @media screen and (max-width:$newbreak-pc) { display: none; } .nav-search { display: flex; margin-right: 40px; @media screen and (max-width:1140px) { margin-right: 25px; } @media screen and (max-width:1080px) { margin-right: 20px; } li { &:not(:last-child) { margin-right: 35px; @media screen and (max-width:1080px) { margin-right: 15px; } } a { color: $base-color; padding:25px 0; &:hover { color: $second-color; } } } } .nav-about { position: relative; padding:10px 0; ul { width: 174px; position: absolute; left: -20px; top: 30px; padding: 15px 15px 5px; background-color:white; box-shadow:0 2px 3px 0 rgba(0,0,0,0.1); visibility:hidden; opacity: 0; transform:translateZ(0); transform:translateY(10%); transition:all 0.5s ease 0s, visibility 0s linear 0.5s; @include font-style(14px,400,0,1); li { border-bottom:1px dotted #ccc; &:last-child { border-bottom:none; } a { text-decoration:none; font-size: 14px; color: $base-color; padding:14px 5px; display:block; &:hover { color: $second-color; } } } } &.newactive { ul { visibility: visible; opacity:1; transform:translateX(0%); transition-delay:0s; } } } .nav-registration { p { a { color: $base-color; &:hover { color: $second-color; } } } } } .login_signup_holder { display:flex; align-items: center; font-family:$jpfont; @include font-style(15px,700,0,1); .login-box { display: flex; align-items: center; a { height: 30px; width: 118px; color: $second-color; @include centerall; border-radius:15px; border:1px solid $second-color; &.case-logout, &.case-login { span { display: flex; } @media screen and (max-width:$newbreak-pc) { display: none; } } &.case-login { background:#fff; } &.img_profile { background: transparent; flex-direction: column; height: auto; width: 33px; margin-right: 20px; border:none; @media screen and (max-width:1050px) { margin-right: 12px; } @media screen and (max-width:$newbreak-pc) { margin-right: 5px; } div { width: 33px; height: 33px; border-radius: 50%; overflow: hidden; img { display: block; width: 100%; height: 100%; } } span { color: $base-color; font-size: 8px; font-weight: 400; line-height: 1; margin-top: 2px; } } } } .signup-box { margin-left:25px; @media screen and (max-width:$newbreak-pc) { display: none; } a { height: 30px; width: 118px; color: #fff; @include centerall; border-radius:15px; border:1px solid $second-color; background:$second-color; } } } } } } /*----------------------------- スマホナビ ----------------------------*/ #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:#005194; position:fixed; padding:40px 20px 20px; img { width:100%; height:auto; } .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: $second-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: $second-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:#005194; 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; box-sizing:border-box; width:100%; @media screen and (min-width:540px) { padding:0 20px; } @media screen and (min-width:768px) { padding:0 20px; } @media screen and (min-width:1000px) { width:1000px; 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:540px) { padding: 3px 0; } @media screen and (min-width:768px) { 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 { background:#f5f5f5; padding:30px 10px; @media screen and (max-width:$newbreak-sp) { margin: 10px 0 0; padding:20px 10px; } ul { display: flex; justify-content: center; align-items: center; li { margin: 0 24px; @media screen and (max-width:$newbreak-sp) { margin: 0 20px; } &:nth-of-type(1) {width:40px;} &:nth-of-type(2) {width:32px;} &:nth-of-type(3) {width:40px;} &:nth-of-type(4) {width:46px;} a { display: block; img { width:100%; height:auto; display: block; } } } } } } footer::before { display: none; } .primary-footer { background:$second-color; font-family:$jpfont; @include font-style(14px,700,0,1.8); padding:45px 0 50px; @media screen and (max-width:$newbreak-sp) { padding:30px 0; } .sitelogo_footer { width:262px; margin:0 auto 40px; @media screen and (max-width:$newbreak-sp) { width:222px; margin:0 auto 20px; } img { width:100%; height:auto; display:block; } } .container { display: flex; padding:0 10px; @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; } ul { li { &.block { margin-bottom:20px; @media screen and (max-width:$newbreak-pc) { margin-bottom:5px; } } .first-layer { &:before { content:"・"; } } ul { li { font-weight:400; &:before { content:"- "; } } } } } } .footer-navi { float: none; width: 54%; @media screen and (max-width:$newbreak-pc) { width: 100%; } ul.fn-links { display: flex; flex-wrap: wrap; justify-content: space-between; margin: 0; &:after { display: none; } li { width: 48.5%; height: 32px; border-radius:16px; border: 1px solid #fff; margin: 0 !important; float: none !important; background: transparent; @include font-style(16px,700,0,1); &:nth-of-type(1), &:nth-of-type(2) { margin-bottom: 13px !important; } &:nth-of-type(4) { background: #fff; a { color:$second-color; } } @media screen and (max-width:$newbreak-sp) { height: 32px; @include font-style(14px,700,0,1); font-feature-settings: "palt"; } a { width: 100%; height: 100%; color: #fff; @include centerall; @media screen and (max-width:$newbreak-sp) { box-sizing: border-box; padding: 0 5px; } } } } //メルマガフォーム .news-letter { margin-top:23px; p { margin-bottom:5px; } form { input[type=submit] { width:18.4%; height:32px; border-radius:0; @media screen and (max-width:$newbreak-sp) { width:23%; font-size:14px; padding:0; } } input[type=text] { width:80%; height:32px; border-radius:0; border:none; font-weight:400; @media screen and (max-width:$newbreak-sp) { width:75% } } input::placeholder { font-weight:400; color:#b3b3b3; } } } } } .sub-footer { margin:0 auto; ul { padding:30px 0 20px; display: flex; justify-content: center; align-items: center; text-align: center; @media screen and (max-width:$newbreak-sp) { padding:20px 0; } li { padding: 0; display: block; margin: 0 20px; &:nth-of-type(1) {width: 99px;} &:nth-of-type(2) {width: 69px;} &:nth-of-type(3) {width: 178px;} &:nth-of-type(4) {width: 218px;} @media screen and (max-width:$newbreak-sp) { margin: 0 12px; &:nth-of-type(1) {width: 59px;} &:nth-of-type(2) {width: 35px;} &:nth-of-type(3) {width: 75px;} &:nth-of-type(4) {width: 85px;} } a { display: block; img { display: block; width:100%; height:auto; } } } } .copyright { margin:0 auto; text-align: center; padding-bottom:20px; @media screen and (max-width:$newbreak-sp) { padding-bottom: 10px; } small { color:#999; @include font-style(10px !important,500,0,1); } } }