Commit 853c248e by o.kimura

メニュー表示色調整・スクロール阻止

parent 8d9c5b0e
@charset "UTF-8"; @charset "UTF-8";
.clear{
clear:both; .clear {
clear: both;
} }
body { body {
margin: 0; margin: 0;
padding: 0; padding: 0;
...@@ -11,19 +13,24 @@ body { ...@@ -11,19 +13,24 @@ body {
line-height: 1.8; line-height: 1.8;
color: #333; color: #333;
} }
a { a {
text-decoration: none; text-decoration: none;
} }
strong { strong {
font-weight: bold; font-weight: bold;
} }
header { header {
background-color: #e9573e; background-color: #e9573e;
position: relative; position: relative;
} }
header a { header a {
color: #fff; color: #fff;
} }
#head_area { #head_area {
max-width: 980px; max-width: 980px;
width: 100%; width: 100%;
...@@ -31,39 +38,53 @@ header a { ...@@ -31,39 +38,53 @@ header a {
padding: 20px 0; padding: 20px 0;
position: relative; position: relative;
} }
header h1, header #title {
header h1,
header #title {
width: 30%; width: 30%;
float: left; float: left;
} }
header h1 a, header #title a {
header h1 a,
header #title a {
display: block; display: block;
} }
header h1 img, header #title img {
header h1 img,
header #title img {
width: 100%; width: 100%;
max-width: 256px; max-width: 256px;
/*max-width: 344px;20190319updata*/ /*max-width: 344px;20190319updata*/
/*min-width: 312px;*/ /*min-width: 312px;*/
} }
#head_menu { #head_menu {
width: 70%; width: 70%;
float: right; float: right;
} }
#menu01,#menu02, #head_area .search {
#menu01,
#menu02,
#head_area .search {
/*width: 40%;*/ /*width: 40%;*/
float: right; float: right;
} }
#head_area .search { #head_area .search {
position: absolute; position: absolute;
right: 0; right: 0;
bottom: 20px; bottom: 20px;
width: 21%; width: 21%;
} }
#head_area table { #head_area table {
width: 100%; width: 100%;
} }
#head_area td { #head_area td {
line-height: 0; line-height: 0;
} }
#head_area .search input[type="text"] { #head_area .search input[type="text"] {
border: none !important; border: none !important;
background-color: #ec6b55 !important; background-color: #ec6b55 !important;
...@@ -75,58 +96,77 @@ header h1 img, header #title img { ...@@ -75,58 +96,77 @@ header h1 img, header #title img {
-moz-border-radius: 0 !important; -moz-border-radius: 0 !important;
-webkit-border-radius: 0 !important; -webkit-border-radius: 0 !important;
} }
#head_area .gsc-input-box { #head_area .gsc-input-box {
background-color: inherit; background-color: inherit;
} }
#head_area .gsc-search-box-tools .gsc-search-box .gsc-input { #head_area .gsc-search-box-tools .gsc-search-box .gsc-input {
padding-right: 0; padding-right: 0;
} }
#head_area .gsib_a { #head_area .gsib_a {
padding-right: 0; padding-right: 0;
padding-left: 0; padding-left: 0;
padding-top: 0; padding-top: 0;
} }
#head_area .gsst_b { #head_area .gsst_b {
padding: 0; padding: 0;
} }
#head_area input.gsc-search-button, #head_area input.gsc-search-button:hover, #head_area input.gsc-search-button:focus {
#head_area input.gsc-search-button,
#head_area input.gsc-search-button:hover,
#head_area input.gsc-search-button:focus {
background-color: #e9573e; background-color: #e9573e;
} }
#head_area .cse input.gsc-search-button, #head_area input.gsc-search-button {
#head_area .cse input.gsc-search-button,
#head_area input.gsc-search-button {
border-radius: 0; border-radius: 0;
-moz-border-radius: 0; -moz-border-radius: 0;
-webkit-border-radius: 0; -webkit-border-radius: 0;
} }
#head_area .gsc-input-box { #head_area .gsc-input-box {
border: none; border: none;
} }
#head_area .gsc-search-box .gsc-input>input:hover,
#head_area .gsc-search-box .gsc-input > input:hover,
#head_area .gsc-input-box-hover { #head_area .gsc-input-box-hover {
border: none; border: none;
} }
#head_area input.gsc-search-button-v2 { #head_area input.gsc-search-button-v2 {
margin-top: 3px; margin-top: 3px;
} }
#head_area .search input[type="image"] { #head_area .search input[type="image"] {
width: 14px; width: 14px;
padding: 8px; padding: 8px;
border: solid 1px #fff; border: solid 1px #fff;
} }
#menu01 { #menu01 {
display: block; display: block;
margin-right: 2em;/*20190319updata*/ margin-right: 2em;
/*20190319updata*/
} }
#menu01 li { #menu01 li {
display: inline-block; display: inline-block;
text-align: center; text-align: center;
font-size: 12px; font-size: 12px;
/*width: 124px;20190319updata*/ /*width: 124px;20190319updata*/
width: 10em;/*20190319updata*/ width: 10em;
/*20190319updata*/
} }
#lang { #lang {
float: right; float: right;
width: 124px; width: 124px;
} }
#lang select { #lang select {
border: solid 2px #fff; border: solid 2px #fff;
background-color: #e9573e; background-color: #e9573e;
...@@ -143,9 +183,33 @@ header h1 img, header #title img { ...@@ -143,9 +183,33 @@ header h1 img, header #title img {
-moz-border-radius: 0; -moz-border-radius: 0;
-webkit-border-radius: 0; -webkit-border-radius: 0;
} }
body.active #lang select {
border: solid 2px #e9573e;
background-color: #fff;
color: #e9573e;
width: 100%;
padding: 5px 10px;
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
background: url(../images/pt_language.png) no-repeat 98% center;
background-size: 18px auto;
background-color: #fff;
border-radius: 0;
-moz-border-radius: 0;
-webkit-border-radius: 0;
}
#lang select option { #lang select option {
background-color: #e9573e; background-color: #e9573e;
} }
body.active #lang select option {
background-color: #fff;
color: #e9573e;
}
#lang select::-ms-expand { #lang select::-ms-expand {
display: none; display: none;
} }
...@@ -153,42 +217,54 @@ header h1 img, header #title img { ...@@ -153,42 +217,54 @@ header h1 img, header #title img {
#moble_menu { #moble_menu {
display: none; display: none;
} }
header nav { header nav {
background-color: #ec6b55; background-color: #ec6b55;
} }
#navi { #navi {
clear: both; clear: both;
width: 980px; width: 980px;
margin: 0 auto; margin: 0 auto;
font-size: 90%;/*20190319updata*/ font-size: 90%;
font-weight: bold;/*20190319updata*/ /*20190319updata*/
font-weight: bold;
/*20190319updata*/
} }
#navi li { #navi li {
display: inline-block; display: inline-block;
float: left; float: left;
/*width: 20%;20190319updata*/ /*width: 20%;20190319updata*/
width: 16.6%;/*20190319updata*/ width: 16.6%;
/*20190319updata*/
background-color: #ec6b55; background-color: #ec6b55;
text-align: center; text-align: center;
} }
#navi li a { #navi li a {
display: block; display: block;
border-right: solid 1px #e64c32; border-right: solid 1px #e64c32;
padding: 8px 0; padding: 8px 0;
} }
#navi li a:hover { #navi li a:hover {
background-color: #fc826d; background-color: #fc826d;
} }
#navi li:first-child a { #navi li:first-child a {
border-left: solid 1px #e64c32; border-left: solid 1px #e64c32;
} }
section { section {
clear: both; clear: both;
} }
.pagetop { .pagetop {
background: url(../images/pt_pagetop.gif) no-repeat center top; background: url(../images/pt_pagetop.gif) no-repeat center top;
padding-top: 20px; padding-top: 20px;
} }
.pagetop a { .pagetop a {
display: block; display: block;
color: #fff; color: #fff;
...@@ -197,117 +273,150 @@ section { ...@@ -197,117 +273,150 @@ section {
text-align: center; text-align: center;
padding: 16px; padding: 16px;
} }
footer li { footer li {
font-size: 14px; font-size: 14px;
} }
footer a { footer a {
color: #333; color: #333;
} }
footer strong { footer strong {
display: block; display: block;
margin-bottom: 10px; margin-bottom: 10px;
} }
#footer_menu1, #footer_menu2 {
#footer_menu1,
#footer_menu2 {
width: 20%; width: 20%;
float: left; float: left;
} }
#footer_menu1 li, #footer_menu2 li, #footer_download li {
#footer_menu1 li,
#footer_menu2 li,
#footer_download li {
line-height: 2.0; line-height: 2.0;
} }
#footer_menu1 li:before, #footer_menu2 li:before {
#footer_menu1 li:before,
#footer_menu2 li:before {
content: "-"; content: "-";
color: #e70012; color: #e70012;
margin-right: 5px; margin-right: 5px;
} }
#footer_banner, #footer_link {
#footer_banner,
#footer_link {
width: 40%; width: 40%;
float: right; float: right;
} }
#footer_banner li { #footer_banner li {
display: block; display: block;
margin-left: 14px; margin-left: 14px;
margin-bottom: 14px; margin-bottom: 14px;
float: left; float: left;
} }
#footer_banner li.line { #footer_banner li.line {
border: solid 1px #dcdcdc; border: solid 1px #dcdcdc;
max-width: 178px; max-width: 178px;
height: 58px; height: 58px;
} }
#footer_banner li.noline { #footer_banner li.noline {
border: solid 1px #fff; border: solid 1px #fff;
max-width: 180px; max-width: 180px;
} }
#footer_banner .empty { #footer_banner .empty {
width: 180px; width: 180px;
height: 58px; height: 58px;
} }
#footer_banner li img { #footer_banner li img {
width: 100%; width: 100%;
} }
#footer_div1 { #footer_div1 {
border-bottom: solid 1px #dcdcdc; border-bottom: solid 1px #dcdcdc;
} }
#footer_div1, #footer_div2 {
#footer_div1,
#footer_div2 {
clear: both; clear: both;
max-width: 980px; max-width: 980px;
width: 100%; width: 100%;
margin: 0 auto 0 auto; margin: 0 auto 0 auto;
} }
#footer_div1 { #footer_div1 {
margin-top: 30px; margin-top: 30px;
padding-bottom: 20px; padding-bottom: 20px;
} }
#footer_div2 { #footer_div2 {
margin-top: 20px; margin-top: 20px;
margin-bottom: 20px; margin-bottom: 20px;
} }
#footer_download { #footer_download {
width: 57%; width: 57%;
float: left; float: left;
padding: 10px 0; padding: 10px 0;
} }
#footer_download li { #footer_download li {
display: table-cell; display: table-cell;
vertical-align: middle; vertical-align: middle;
} }
#footer_download li:first-child { #footer_download li:first-child {
width: 50%; width: 50%;
padding-right: 10px; padding-right: 10px;
font-size: 11px; font-size: 11px;
line-height: 1.6; line-height: 1.6;
} }
#footer_download strong { #footer_download strong {
/*width: 46%; /*width: 46%;
float: left;*/ float: left;*/
margin-bottom: 0; margin-bottom: 0;
} }
#footer_download ul { #footer_download ul {
width: 100%; width: 100%;
display: table; display: table;
} }
#footer_link { #footer_link {
border-left: solid 1px #dcdcdc; border-left: solid 1px #dcdcdc;
padding: 10px 0; padding: 10px 0;
} }
#footer_link strong { #footer_link strong {
margin-bottom: 0; margin-bottom: 0;
padding-left: 20px; padding-left: 20px;
} }
#footer_link ul { #footer_link ul {
padding-left: 20px; padding-left: 20px;
display: table; display: table;
width: 95%; width: 95%;
} }
#footer_link li { #footer_link li {
display: table-cell; display: table-cell;
vertical-align: middle; vertical-align: middle;
} }
#footer_link li:first-child { #footer_link li:first-child {
width: 51%; width: 51%;
font-size: 12px; font-size: 12px;
line-height: 1.5; line-height: 1.5;
} }
#copyright { #copyright {
clear: both; clear: both;
text-align: center; text-align: center;
...@@ -321,12 +430,14 @@ footer strong { ...@@ -321,12 +430,14 @@ footer strong {
background: url(../images/main_visual.jpg) no-repeat top center; background: url(../images/main_visual.jpg) no-repeat top center;
padding-top: 300px; padding-top: 300px;
} }
.second .block { .second .block {
max-width: 980px; max-width: 980px;
width: 100%; width: 100%;
margin: 0 auto; margin: 0 auto;
text-align: center; text-align: center;
} }
.second h1 { .second h1 {
font-size: 30px; font-size: 30px;
font-weight: bold; font-weight: bold;
...@@ -334,16 +445,18 @@ footer strong { ...@@ -334,16 +445,18 @@ footer strong {
border-bottom: solid 1px #e8392d; border-bottom: solid 1px #e8392d;
margin-bottom: 20px; margin-bottom: 20px;
} }
.second h1 span { .second h1 span {
display: block; display: block;
font-size: 20px; font-size: 20px;
} }
/* 20170303 update */ /* 20170303 update */
.second .point { .second .point {
/*background-color: #ec6b55; /*background-color: #ec6b55;
color: #fff;*/ color: #fff;*/
} }
.second .point > div { .second .point > div {
width: 880px; width: 880px;
margin: 30px auto 0 auto; margin: 30px auto 0 auto;
...@@ -351,34 +464,42 @@ footer strong { ...@@ -351,34 +464,42 @@ footer strong {
border: 3px #ec6b55 double; border: 3px #ec6b55 double;
position: relative; position: relative;
} }
.second .point h2 { .second .point h2 {
width: 100%; width: 100%;
text-align: center; text-align: center;
position: relative; position: relative;
top: -60px;margin-bottom: -30px; top: -60px;
margin-bottom: -30px;
} }
.second .point h2 img { .second .point h2 img {
max-width: 134px; max-width: 134px;
width: 100%; width: 100%;
} }
/* //20170303 update */
.second .point p { /* //20170303 update */
} .second .point p {}
.second .point p img { .second .point p img {
float: right; float: right;
} }
.second .point p span { .second .point p span {
width: 70%; width: 70%;
display: block; display: block;
float: left; float: left;
} }
.second .point p span.point_txt01{
.second .point p span.point_txt01 {
text-indent: -1em; text-indent: -1em;
padding-left: 1em; padding-left: 1em;
} }
.second .point em { .second .point em {
text-decoration: underline; text-decoration: underline;
} }
.second h2.line { .second h2.line {
border-top: solid 1px #ccc; border-top: solid 1px #ccc;
border-bottom: solid 1px #ccc; border-bottom: solid 1px #ccc;
...@@ -390,6 +511,7 @@ footer strong { ...@@ -390,6 +511,7 @@ footer strong {
line-height: 1.4; line-height: 1.4;
clear: both; clear: both;
} }
.second h2.line span { .second h2.line span {
color: #e9573e; color: #e9573e;
font-weight: normal; font-weight: normal;
...@@ -404,35 +526,44 @@ footer strong { ...@@ -404,35 +526,44 @@ footer strong {
/* 0-640px ----*/ /* 0-640px ----*/
@media screen and (max-width:640px){ @media screen and (max-width:640px) {
body { body {
color: #000; color: #000;
} }
#head_area { #head_area {
padding: 0; padding: 0;
} }
header h1, header #title {
header h1,
header #title {
width: 60%; width: 60%;
} }
header h1 a, header #title a {
header h1 a,
header #title a {
padding: 16px; padding: 16px;
} }
#head_menu { #head_menu {
width: 35%; width: 35%;
} }
#moble_menu { #moble_menu {
display: block; display: block;
width: 100%; width: 100%;
float: right; float: right;
background-color: #ec6b55; background-color: #ec6b55;
} }
#moble_menu a { #moble_menu a {
display: block; display: block;
padding: 9% 6px 9% 14px; padding: 9% 6px 9% 14px;
font-size: 13px; font-size: 13px;
line-height: 2.0; line-height: 2.0;
} }
#moble_menu a:after { #moble_menu a:after {
content: ""; content: "";
display: block; display: block;
...@@ -443,9 +574,11 @@ footer strong { ...@@ -443,9 +574,11 @@ footer strong {
width: 40px; width: 40px;
margin-top: -7px; margin-top: -7px;
} }
#head_menu.open { #head_menu.open {
width: 100%; width: 100%;
} }
#menu01.open { #menu01.open {
width: 100%; width: 100%;
display: block; display: block;
...@@ -455,6 +588,7 @@ footer strong { ...@@ -455,6 +588,7 @@ footer strong {
background-color: #e9573e; background-color: #e9573e;
padding-bottom: 30px; padding-bottom: 30px;
} }
#menu01.open li { #menu01.open li {
display: block; display: block;
width: 94%; width: 94%;
...@@ -462,11 +596,13 @@ footer strong { ...@@ -462,11 +596,13 @@ footer strong {
text-align: left; text-align: left;
font-size: inherit; font-size: inherit;
} }
#menu01.open li:before { #menu01.open li:before {
content: "-"; content: "-";
padding-right: 5px; padding-right: 5px;
color: #fff; color: #fff;
} }
#head_area .search.open { #head_area .search.open {
display: block; display: block;
width: 96.8%; width: 96.8%;
...@@ -474,9 +610,11 @@ footer strong { ...@@ -474,9 +610,11 @@ footer strong {
top: 70px; top: 70px;
z-index: 3; z-index: 3;
} }
#head_area form.gsc-search-box { #head_area form.gsc-search-box {
width: 96.6%; width: 96.6%;
} }
#moble_menu a.open { #moble_menu a.open {
background: url(../images/bt_menu_close.gif) no-repeat 96% 14px #e9573e; background: url(../images/bt_menu_close.gif) no-repeat 96% 14px #e9573e;
background-size: 36px auto; background-size: 36px auto;
...@@ -488,10 +626,12 @@ footer strong { ...@@ -488,10 +626,12 @@ footer strong {
font-size: 30px; font-size: 30px;
text-indent: 20px; text-indent: 20px;
} }
#moble_menu a.open:after { #moble_menu a.open:after {
content: ""; content: "";
display: none; display: none;
} }
ul#navi.open { ul#navi.open {
display: block; display: block;
position: absolute; position: absolute;
...@@ -501,26 +641,34 @@ footer strong { ...@@ -501,26 +641,34 @@ footer strong {
background-color: #e9573e; background-color: #e9573e;
padding-bottom: 50px; padding-bottom: 50px;
} }
#navi.open li { #navi.open li {
display: block; display: block;
float: none; float: none;
width: 94%; width: 94%;
margin: 1px auto; margin: 1px auto;
} }
header h1.non, header #title.non {
header h1.non,
header #title.non {
visibility: hidden; visibility: hidden;
} }
#lang.non { #lang.non {
display: none; display: none;
} }
#menu01, .search, #navi { #menu01,
.search,
#navi {
display: none; display: none;
} }
#lang { #lang {
width: 100%; width: 100%;
margin-bottom: 4%; margin-bottom: 4%;
} }
#lang select { #lang select {
border: none; border: none;
background-color: #ec6b55; background-color: #ec6b55;
...@@ -528,6 +676,7 @@ footer strong { ...@@ -528,6 +676,7 @@ footer strong {
background-size: 20px, auto; background-size: 20px, auto;
font-size: 13px; font-size: 13px;
} }
#lang select option { #lang select option {
background-color: #ec6b55; background-color: #ec6b55;
} }
...@@ -535,10 +684,14 @@ footer strong { ...@@ -535,10 +684,14 @@ footer strong {
#footer_div2 { #footer_div2 {
display: none; display: none;
} }
#footer_menu1, #footer_menu2, #footer_banner {
#footer_menu1,
#footer_menu2,
#footer_banner {
float: none; float: none;
width: 100%; width: 100%;
} }
footer strong { footer strong {
clear: both; clear: both;
text-align: center; text-align: center;
...@@ -546,33 +699,45 @@ footer strong { ...@@ -546,33 +699,45 @@ footer strong {
margin-bottom: 0; margin-bottom: 0;
padding: 10px 0; padding: 10px 0;
} }
#footer_menu1 li, #footer_menu2 li {
#footer_menu1 li,
#footer_menu2 li {
width: 50%; width: 50%;
float: left; float: left;
display: block; display: block;
line-height: 1; line-height: 1;
} }
#footer_menu1 li a, #footer_menu2 li a {
#footer_menu1 li a,
#footer_menu2 li a {
display: block; display: block;
border-bottom: solid 1px #dcdcdc; border-bottom: solid 1px #dcdcdc;
padding: 20px 0; padding: 20px 0;
text-align: center; text-align: center;
} }
#footer_menu1 li:nth-child(2n+1) a, #footer_menu2 li:nth-child(2n+1) a {
#footer_menu1 li:nth-child(2n+1) a,
#footer_menu2 li:nth-child(2n+1) a {
border-right: solid 1px #dcdcdc; border-right: solid 1px #dcdcdc;
} }
#footer_menu1 li:before, #footer_menu2 li:before {
#footer_menu1 li:before,
#footer_menu2 li:before {
content: ""; content: "";
display: none; display: none;
} }
#footer_menu1:after, #footer_menu2:after {
#footer_menu1:after,
#footer_menu2:after {
content: ""; content: "";
display: block; display: block;
clear: both; clear: both;
} }
#footer_banner ul { #footer_banner ul {
margin: 10px 1%; margin: 10px 1%;
} }
#footer_banner li { #footer_banner li {
max-width: 271px; max-width: 271px;
display: inline-block; display: inline-block;
...@@ -580,22 +745,25 @@ footer strong { ...@@ -580,22 +745,25 @@ footer strong {
margin: 2%; margin: 2%;
width: 44%; width: 44%;
} }
#footer_banner .empty { #footer_banner .empty {
width: 100%; width: 100%;
display: none; display: none;
} }
/* second page 共通 */ /* second page 共通 */
.second .first { .second .first {
background: none; background: none;
padding-top: 40px; padding-top: 40px;
} }
/* 20170303 update */ /* 20170303 update */
.second .block > p { .second .block > p {
text-align: left; text-align: left;
margin: 0 4%; margin: 0 4%;
} }
.second .point > div { .second .point > div {
width: 90%; width: 90%;
margin: 0 auto; margin: 0 auto;
...@@ -603,16 +771,19 @@ footer strong { ...@@ -603,16 +771,19 @@ footer strong {
border: 3px #ec6b55 double; border: 3px #ec6b55 double;
position: relative; position: relative;
} }
.second .point h2 { .second .point h2 {
margin: 30px auto -40px auto; margin: 30px auto -40px auto;
float: none; float: none;
} }
/* //20170303 update */ /* //20170303 update */
.second .point p { .second .point p {
margin: 0 4%; margin: 0 4%;
float: none; float: none;
width: initial; width: initial;
} }
.second h2.line { .second h2.line {
margin-left: 4%; margin-left: 4%;
margin-right: 4%; margin-right: 4%;
...@@ -621,24 +792,26 @@ footer strong { ...@@ -621,24 +792,26 @@ footer strong {
} }
.nodl_txt{ .nodl_txt {
text-align: center; text-align: center;
color: #dd0000; color: #dd0000;
font-size: 70%; font-size: 70%;
} }
.nodl_txt img{
.nodl_txt img {
opacity: 0.4; opacity: 0.4;
background-color:black; background-color: black;
} }
/* 20190319updata ----*/ /* 20190319updata ----*/
.manager{ .manager {
background-color: #ec6b55; background-color: #ec6b55;
width: 100%; width: 100%;
padding: 2px 6px; padding: 2px 6px;
border: solid 1px #fff; border: solid 1px #fff;
} }
.manager a{
.manager a {
color: #fff; color: #fff;
} }
...@@ -647,7 +820,7 @@ footer strong { ...@@ -647,7 +820,7 @@ footer strong {
} }
/* 0-640px ----*/ /* 0-640px ----*/
@media screen and (max-width:640px){ @media screen and (max-width:640px) {
#top ul#navi.open { #top ul#navi.open {
display: block; display: block;
position: absolute; position: absolute;
...@@ -657,6 +830,7 @@ footer strong { ...@@ -657,6 +830,7 @@ footer strong {
background-color: #e9573e; background-color: #e9573e;
padding-bottom: 50px; padding-bottom: 50px;
} }
#top #navi.open li { #top #navi.open li {
display: block; display: block;
float: none; float: none;
...@@ -664,63 +838,76 @@ footer strong { ...@@ -664,63 +838,76 @@ footer strong {
margin: 1px auto; margin: 1px auto;
} }
} }
#navi_top { #navi_top {
position: absolute; position: absolute;
top:540px; top: 540px;
left:0; left: 0;
right:0; right: 0;
bottom: 0; bottom: 0;
clear: both; clear: both;
width: 980px; width: 980px;
margin: 0 auto; margin: 0 auto;
font-size: 90%;/*20190319updata*/ font-size: 90%;
font-weight: bold;/*20190319updata*/ /*20190319updata*/
font-weight: bold;
/*20190319updata*/
} }
#navi_top li { #navi_top li {
display: inline-block; display: inline-block;
float: left; float: left;
/*width: 20%;20190319updata*/ /*width: 20%;20190319updata*/
width: 16.6%;/*20190319updata*/ width: 16.6%;
/*20190319updata*/
background-color: #ec6b55; background-color: #ec6b55;
text-align: center; text-align: center;
} }
#navi_top li a { #navi_top li a {
display: block; display: block;
border-right: solid 1px #e05538; border-right: solid 1px #e05538;
padding: 8px 0; padding: 8px 0;
color: #fff; color: #fff;
} }
#navi_top li a:hover { #navi_top li a:hover {
background-color: #fc826d; background-color: #fc826d;
} }
#navi_top li:last-child a { #navi_top li:last-child a {
border-right: none; border-right: none;
} }
@media screen and (max-width:640px){
#navi_top{ @media screen and (max-width:640px) {
#navi_top {
display: none; display: none;
} }
} }
body#situation h1{ body#situation h1 {
padding-top: 110px; padding-top: 110px;
background: url(../images/icon01.png) no-repeat 50% top; background: url(../images/icon01.png) no-repeat 50% top;
} }
body#sign h1{
body#sign h1 {
padding-top: 110px; padding-top: 110px;
background: url(../images/icon02.png) no-repeat 50% top; background: url(../images/icon02.png) no-repeat 50% top;
} }
body#type h1{
body#type h1 {
padding-top: 110px; padding-top: 110px;
background: url(../images/icon03.png) no-repeat 50% top; background: url(../images/icon03.png) no-repeat 50% top;
} }
body#howtouse h1{
body#howtouse h1 {
padding-top: 110px; padding-top: 110px;
background: url(../images/icon04.png) no-repeat 50% top; background: url(../images/icon04.png) no-repeat 50% top;
} }
body#latest h1{
body#latest h1 {
padding-top: 110px; padding-top: 110px;
background: url(../images/icon05.png) no-repeat 50% top; background: url(../images/icon05.png) no-repeat 50% top;
} }
...@@ -740,18 +927,22 @@ header.pht { ...@@ -740,18 +927,22 @@ header.pht {
background: url(../images/showcase.jpg) no-repeat top center; background: url(../images/showcase.jpg) no-repeat top center;
background-size: cover; background-size: cover;
} }
[class|=inner] { [class|=inner] {
max-width: 980px; max-width: 980px;
width: 100%; width: 100%;
margin: 0 auto; margin: 0 auto;
} }
.title_area { .title_area {
float: none; float: none;
} }
.title_area a { .title_area a {
display: block; display: block;
width: 248px; width: 248px;
} }
.title_area a .logo_line { .title_area a .logo_line {
display: block; display: block;
margin-top: .5em; margin-top: .5em;
...@@ -759,9 +950,11 @@ header.pht { ...@@ -759,9 +950,11 @@ header.pht {
background-color: #fff; background-color: #fff;
line-height: 0; line-height: 0;
} }
.title_area a .logo_line img { .title_area a .logo_line img {
max-width: 100%; max-width: 100%;
} }
#head_area.head_area { #head_area.head_area {
position: absolute; position: absolute;
top: 0; top: 0;
...@@ -776,9 +969,11 @@ header.pht { ...@@ -776,9 +969,11 @@ header.pht {
justify-content: space-between; justify-content: space-between;
z-index: 110; z-index: 110;
} }
.lang_menu { .lang_menu {
margin-right: 6em; margin-right: 6em;
} }
.inner-toggle { .inner-toggle {
position: relative; position: relative;
} }
...@@ -794,6 +989,7 @@ header.pht { ...@@ -794,6 +989,7 @@ header.pht {
z-index: 100; z-index: 100;
/*background-color: #e9573e;*/ /*background-color: #e9573e;*/
} }
.toggle_btn { .toggle_btn {
position: absolute; position: absolute;
top: 2em; top: 2em;
...@@ -808,6 +1004,7 @@ header.pht { ...@@ -808,6 +1004,7 @@ header.pht {
border-radius: 50%; border-radius: 50%;
z-index: 111; z-index: 111;
} }
.toggle { .toggle {
position: absolute; position: absolute;
display: block; display: block;
...@@ -816,12 +1013,14 @@ header.pht { ...@@ -816,12 +1013,14 @@ header.pht {
z-index: 10; z-index: 10;
padding: 0; padding: 0;
} }
.toggle span { .toggle span {
position: relative; position: relative;
display: block; display: block;
width: 100%; width: 100%;
transition: transform .3s ease; transition: transform .3s ease;
} }
.toggle span, .toggle span,
.toggle span:before, .toggle span:before,
.toggle span:after { .toggle span:after {
...@@ -829,43 +1028,53 @@ header.pht { ...@@ -829,43 +1028,53 @@ header.pht {
height: 3px; height: 3px;
margin: auto; margin: auto;
} }
.toggle span:before, .toggle span:before,
.toggle span:after { .toggle span:after {
position: absolute; position: absolute;
content: ""; content: "";
right: 0; right: 0;
} }
.toggle span:before { .toggle span:before {
width: 100%; width: 100%;
margin-top: 10px; margin-top: 10px;
transition: opacity .6s ease; transition: opacity .6s ease;
} }
.toggle span:after { .toggle span:after {
width: 100%; width: 100%;
margin-top: 20px; margin-top: 20px;
transition: transform .3s ease; transition: transform .3s ease;
} }
.toggle:hover, .toggle:hover,
.active .toggle:hover { .active .toggle:hover {
text-decoration: none; text-decoration: none;
} }
.toggle_btn.active { .toggle_btn.active {
background-color: #e9573e;
} }
.toggle_btn.active .toggle span { .toggle_btn.active .toggle span {
transform: rotate(-45deg); transform: rotate(-45deg);
transform-origin: 1.5em .4em; transform-origin: 1.5em .4em;
transition: all .3s ease; transition: all .3s ease;
} }
.toggle_btn.active .toggle span:before { .toggle_btn.active .toggle span:before {
opacity: 0; opacity: 0;
transition: opacity 0s ease; transition: opacity 0s ease;
} }
.toggle_btn.active .toggle span:after { .toggle_btn.active .toggle span:after {
width: 100%; width: 100%;
transform: rotate(90deg); transform: rotate(90deg);
transition: all .3s ease; transition: all .3s ease;
margin-top: 0; margin-top: 0;
} }
/* overlay /* overlay
****************************************************** */ ****************************************************** */
.overlay { .overlay {
...@@ -876,7 +1085,7 @@ header.pht { ...@@ -876,7 +1085,7 @@ header.pht {
position: fixed; position: fixed;
top: 0; top: 0;
z-index: 99; z-index: 99;
background-color: #e9573e; background-color: #e4e5ea;
opacity: 1; opacity: 1;
} }
...@@ -885,6 +1094,7 @@ header.pht { ...@@ -885,6 +1094,7 @@ header.pht {
align-items: flex-end; align-items: flex-end;
justify-content: space-between; justify-content: space-between;
} }
.header_nav { .header_nav {
display: flex; display: flex;
flex-wrap: wrap; flex-wrap: wrap;
...@@ -892,11 +1102,13 @@ header.pht { ...@@ -892,11 +1102,13 @@ header.pht {
justify-content: flex-start; justify-content: flex-start;
width: 73%; width: 73%;
} }
.header_nav li { .header_nav li {
width: 50%; width: 50%;
box-sizing: border-box; box-sizing: border-box;
border-right: solid 1px #e9573e; border-right: solid 1px #e9573e;
} }
.header_nav li:first-child { .header_nav li:first-child {
width: 100%; width: 100%;
border-top: solid 2px #fff; border-top: solid 2px #fff;
...@@ -907,14 +1119,29 @@ header.pht { ...@@ -907,14 +1119,29 @@ header.pht {
font-weight: bold; font-weight: bold;
color: #fff; color: #fff;
} }
body.active .header_nav li:first-child {
width: 100%;
border-top: solid 2px #fff;
border-right: solid 2px #fff;
border-left: solid 2px #fff;
text-align: center;
font-size: 14px;
font-weight: bold;
color: #fff;
background-color: #e9573e;
}
.header_nav .situation, .header_nav .situation,
.header_nav .sign { .header_nav .sign {
border-bottom: solid 1px #e9573e; border-bottom: solid 1px #e9573e;
} }
.header_nav .sign, .header_nav .sign,
.header_nav .howtouse { .header_nav .howtouse {
border-right-color: #fff; border-right-color: #fff;
} }
.header_nav li a { .header_nav li a {
position: relative; position: relative;
display: block; display: block;
...@@ -923,6 +1150,7 @@ header.pht { ...@@ -923,6 +1150,7 @@ header.pht {
font-weight: bold; font-weight: bold;
color: #e9573e; color: #e9573e;
} }
.header_nav a::before { .header_nav a::before {
content: ""; content: "";
position: absolute; position: absolute;
...@@ -937,17 +1165,21 @@ header.pht { ...@@ -937,17 +1165,21 @@ header.pht {
background-position: center; background-position: center;
background-size: contain; background-size: contain;
} }
.header_nav .situation a::before { .header_nav .situation a::before {
width: 2.4em; width: 2.4em;
height: 2.4em; height: 2.4em;
background-image: url(../images/icon01.svg); background-image: url(../images/icon01.svg);
} }
.header_nav .sign a::before { .header_nav .sign a::before {
background-image: url(../images/icon02.svg); background-image: url(../images/icon02.svg);
} }
.header_nav .type a::before { .header_nav .type a::before {
background-image: url(../images/icon03.svg); background-image: url(../images/icon03.svg);
} }
.header_nav .howtouse a::before { .header_nav .howtouse a::before {
background-image: url(../images/icon04.svg); background-image: url(../images/icon04.svg);
} }
...@@ -966,6 +1198,7 @@ header.pht { ...@@ -966,6 +1198,7 @@ header.pht {
background: url('data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%205%2010%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20fill%3D%22%23e9573e%22%20d%3D%22M5.000%2C5.000%20L-0.000%2C-0.000%20L-0.000%2C10.000%20L5.000%2C5.000%20Z%22%2F%3E%3C%2Fsvg%3E') no-repeat center; background: url('data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%205%2010%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20fill%3D%22%23e9573e%22%20d%3D%22M5.000%2C5.000%20L-0.000%2C-0.000%20L-0.000%2C10.000%20L5.000%2C5.000%20Z%22%2F%3E%3C%2Fsvg%3E') no-repeat center;
background-size: contain; background-size: contain;
} }
.header_flxpc .latest a { .header_flxpc .latest a {
position: relative; position: relative;
display: block; display: block;
...@@ -975,6 +1208,7 @@ header.pht { ...@@ -975,6 +1208,7 @@ header.pht {
font-weight: bold; font-weight: bold;
color: #e9573e; color: #e9573e;
} }
.header_flxpc .latest a::before { .header_flxpc .latest a::before {
content: ""; content: "";
position: absolute; position: absolute;
...@@ -988,15 +1222,18 @@ header.pht { ...@@ -988,15 +1222,18 @@ header.pht {
background: url(../images/icon05.svg) no-repeat center; background: url(../images/icon05.svg) no-repeat center;
background-size: contain; background-size: contain;
} }
.menu_box .manage { .menu_box .manage {
margin-top: .5em; margin-top: .5em;
text-align: right; text-align: right;
} }
.menu_box .manage a { .menu_box .manage a {
display: inline-block; display: inline-block;
vertical-align: middle; vertical-align: middle;
font-weight: bold; font-weight: bold;
} }
.menu_box .manage a::before { .menu_box .manage a::before {
content: ""; content: "";
display: inline-block; display: inline-block;
...@@ -1007,30 +1244,42 @@ header.pht { ...@@ -1007,30 +1244,42 @@ header.pht {
background-size: contain; background-size: contain;
vertical-align: middle; vertical-align: middle;
} }
.header_nav2 { .header_nav2 {
margin: 2em 0; margin: 2em 0;
padding-top: 2em; padding-top: 2em;
border-top: solid 1px rgba(255,255,255,.3); border-top: solid 1px rgba(255, 255, 255, .3);
} }
.header_nav2 li { .header_nav2 li {
display: inline-block; display: inline-block;
} }
.header_nav2 li:first-child { .header_nav2 li:first-child {
margin-right: 3em; margin-right: 3em;
} }
.header_nav2 a { .header_nav2 a {
font-size: 112.5%; font-size: 112.5%;
font-weight: bold; font-weight: bold;
} }
body.active .header_nav2 a {
color: #e9573e;
}
.toggle_menu .search { .toggle_menu .search {
max-width: 580px; max-width: 580px;
} }
.toggle_menu .search .gsc-search-box-tools .gsc-search-box .gsc-input { .toggle_menu .search .gsc-search-box-tools .gsc-search-box .gsc-input {
padding-right: 0; padding-right: 0;
} }
.toggle_menu .search .gsc-search-box-tools .gsc-search-box .gsc-input input[type=text] { .toggle_menu .search .gsc-search-box-tools .gsc-search-box .gsc-input input[type=text] {
background-color: rgba(255,255,255,.3) !important; background-color: rgba(255, 255, 255, .3) !important;
} }
.toggle_menu .search .gsc-search-button .gsc-search-button-v2 { .toggle_menu .search .gsc-search-button .gsc-search-button-v2 {
padding: 11px 20px 10px; padding: 11px 20px 10px;
margin-left: 0; margin-left: 0;
...@@ -1038,55 +1287,70 @@ header.pht { ...@@ -1038,55 +1287,70 @@ header.pht {
border-radius: 0; border-radius: 0;
border: none; border: none;
} }
#lang { #lang {
width: 180px; width: 180px;
} }
#lang select { #lang select {
background: none; background: none;
/*-webkit-appearance: menulist;*/ /*-webkit-appearance: menulist;*/
} }
#lang select option { #lang select option {
padding: .5em; padding: .5em;
} }
.second .first { .second .first {
padding-top: 196px; padding-top: 196px;
background: none; background: none;
} }
@media screen and (max-width:640px){
@media screen and (max-width:640px) {
br.pc { br.pc {
display: none; display: none;
} }
header.pht { header.pht {
height: 19.76563vw; height: 19.76563vw;
} }
[class|=inner] { [class|=inner] {
width: 92%; width: 92%;
} }
.title_area { .title_area {
width: 45%; width: 45%;
} }
.title_area a { .title_area a {
width: 38.75vw; width: 38.75vw;
padding: 2.5vw; padding: 2.5vw;
} }
.title_area a .logo_line { .title_area a .logo_line {
margin-top: 1.5vw; margin-top: 1.5vw;
padding: .2em 7vw; padding: .2em 7vw;
} }
#head_area.head_area { #head_area.head_area {
max-width: 100%; max-width: 100%;
padding: 0; padding: 0;
} }
.lang_menu { .lang_menu {
margin-right: 18vw; margin-right: 18vw;
} }
.menu_box { .menu_box {
font-size: 2.5vw; font-size: 2.5vw;
} }
/* toggle ********************* */ /* toggle ********************* */
.toggle_menu { .toggle_menu {
top: 19.6875vw; top: 19.6875vw;
} }
.toggle_btn { .toggle_btn {
top: 4.8vw; top: 4.8vw;
right: 0; right: 0;
...@@ -1094,32 +1358,44 @@ header.pht { ...@@ -1094,32 +1358,44 @@ header.pht {
height: 10.9375vw; height: 10.9375vw;
padding: 3.4375vw; padding: 3.4375vw;
} }
.toggle { .toggle {
width: 3.90625vw; width: 3.90625vw;
} }
.toggle span:before { .toggle span:before {
margin-top: 1.5625vw; margin-top: 1.5625vw;
} }
.toggle span:after { .toggle span:after {
margin-top: 3.125vw; margin-top: 3.125vw;
} }
.toggle_btn.active .toggle span { .toggle_btn.active .toggle span {
transform-origin: 3.8vw 1.1vw; transform-origin: 3.8vw 1.1vw;
} }
.header_nav .type, .header_nav .type,
.header_nav .howtouse { .header_nav .howtouse {
border-bottom: solid 1px #e9573e; border-bottom: solid 1px #e9573e;
} }
.header_flxpc .latest a::before { .header_flxpc .latest a::before {
left: 1em; left: 1em;
} }
.header_flxpc/*,
.header_nav*/ { .header_flxpc
/*,
.header_nav*/
{
display: block; display: block;
} }
.header_nav { .header_nav {
width: 100%; width: 100%;
} }
/* /*
.header_nav li { .header_nav li {
width: 100%; width: 100%;
...@@ -1128,54 +1404,66 @@ header.pht { ...@@ -1128,54 +1404,66 @@ header.pht {
.header_flxpc .latest a::before { .header_flxpc .latest a::before {
left: .6em; left: .6em;
} }
.header_nav li:first-child { .header_nav li:first-child {
font-size: 2.5vw; font-size: 2.5vw;
} }
.header_nav li a, .header_nav li a,
.header_flxpc .latest a { .header_flxpc .latest a {
padding: 1em 0 1em 3.5em; padding: 1em 0 1em 3.5em;
line-height: 1.5; line-height: 1.5;
} }
.header_nav li a { .header_nav li a {
padding-right: 1.8em; padding-right: 1.8em;
padding-left: 3.2em; padding-left: 3.2em;
} }
.header_flxpc .latest a {
} .header_flxpc .latest a {}
.header_nav a::after { .header_nav a::after {
right: 1em; right: 1em;
} }
#lang { #lang {
width: 28vw; width: 28vw;
margin-bottom: 0; margin-bottom: 0;
line-height: 1; line-height: 1;
} }
#lang select { #lang select {
padding: 1vw 2vw; padding: 1vw 2vw;
border: solid 2px #fff; border: solid 2px #fff;
font-size: 2.5vw; font-size: 2.5vw;
} }
.header_nav2 { .header_nav2 {
margin: 1em 0; margin: 1em 0;
padding-top: 1em; padding-top: 1em;
} }
.header_nav2 li { .header_nav2 li {
display: block; display: block;
margin-bottom: .5em; margin-bottom: .5em;
} }
.header_nav2 li:first-child { .header_nav2 li:first-child {
margin-right: 0; margin-right: 0;
} }
.header_nav2 a { .header_nav2 a {
font-size: 2.5vw; font-size: 2.5vw;
} }
.search { .search {
display: block; display: block;
} }
.toggle_menu .search .gsc-search-button .gsc-search-button-v2 { .toggle_menu .search .gsc-search-button .gsc-search-button-v2 {
padding: 15px 20px; padding: 15px 20px;
} }
.second .first { .second .first {
padding-top: 27vw; padding-top: 27vw;
} }
...@@ -1184,10 +1472,12 @@ header.pht { ...@@ -1184,10 +1472,12 @@ header.pht {
#moble_menu + .search { #moble_menu + .search {
display: none; display: none;
} }
header:not([class]) #lang { header:not([class]) #lang {
width: 100%; width: 100%;
margin-bottom: 4%; margin-bottom: 4%;
} }
header:not([class]) #lang select { header:not([class]) #lang select {
border: none; border: none;
background-color: #ec6b55; background-color: #ec6b55;
...@@ -1211,15 +1501,36 @@ header.pht { ...@@ -1211,15 +1501,36 @@ header.pht {
text-align: center; text-align: center;
font-size: 14px; font-size: 14px;
color: #fff; color: #fff;
background-color: #ec6b55;
}
body.active .header_flxpc .latest b {
display: block;
border-top: solid 2px #fff;
border-right: solid 2px #fff;
border-left: solid 2px #fff;
text-align: center;
font-size: 14px;
color: #fff;
} }
.menu_box .manage a { .menu_box .manage a {
padding: 0 0 0 .71em; padding: 0 0 0 .71em;
background-color: #fff; background-color: #fff;
color: #e9573e; color: #e9573e;
} }
body.active .menu_box .manage a {
padding: 0 0 0 .71em;
background-color: #e9573e;
color: #fff;
}
.menu_box .manage a::before { .menu_box .manage a::before {
content: none; content: none;
} }
.menu_box .manage a::after { .menu_box .manage a::after {
content: ""; content: "";
display: inline-block; display: inline-block;
...@@ -1227,45 +1538,48 @@ header.pht { ...@@ -1227,45 +1538,48 @@ header.pht {
height: .6em; height: .6em;
margin-left: .2em; margin-left: .2em;
margin-right: .5em; margin-right: .5em;
background: url('data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%205%2010%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20fill%3D%22%23e9573e%22%20d%3D%22M5.000%2C5.000%20L-0.000%2C-0.000%20L-0.000%2C10.000%20L5.000%2C5.000%20Z%22%2F%3E%3C%2Fsvg%3E') no-repeat center; background: url('data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%205%2010%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20fill%3D%22%23fff%22%20d%3D%22M5.000%2C5.000%20L-0.000%2C-0.000%20L-0.000%2C10.000%20L5.000%2C5.000%20Z%22%2F%3E%3C%2Fsvg%3E') no-repeat center;
background-size: contain; background-size: contain;
} }
@media screen and (max-width:640px){ @media screen and (max-width:640px) {
.header_flxpc .latest b { .header_flxpc .latest b {
font-size: 2.5vw; font-size: 2.5vw;
} }
} }
#breadcrumbs_area{ #breadcrumbs_area {
margin: -55px auto 30px auto; margin: -55px auto 30px auto;
font-size: 75%; font-size: 75%;
text-align: left; text-align: left;
} }
#breadcrumbs_area a{
#breadcrumbs_area a {
text-decoration: underline; text-decoration: underline;
color: #e05538; color: #e05538;
} }
@media screen and (max-width:640px){ @media screen and (max-width:640px) {
#breadcrumbs_area { #breadcrumbs_area {
margin-top: -25px; margin-top: -25px;
} }
} }
#footer_menu2 strong{ #footer_menu2 strong {
line-height: 1.5; line-height: 1.5;
} }
#footer_menu2 small { #footer_menu2 small {
line-height: 1.5; line-height: 1.5;
font-size: 72%; font-size: 72%;
display: block; display: block;
margin-top: -5px; margin-top: -5px;
margin-bottom: 10px; margin-bottom: 10px;
} }
@media screen and (max-width:640px){
#footer_menu2 small { @media screen and (max-width:640px) {
#footer_menu2 small {
display: none; display: none;
} }
} }
$(document).ready( function() { $(document).ready(function () {
mobileNav(); mobileNav();
smoothScroll(); smoothScroll();
gSearch(); gSearch();
}); });
$( function () { $(function () {
/* 言語切り替え */ /* 言語切り替え */
$('#lang select').change( function() { $('#lang select').change(function () {
if ($(this).val() != '') { if ($(this).val() != '') {
window.location.href = $(this).val(); window.location.href = $(this).val();
} }
...@@ -17,19 +17,25 @@ $( function () { ...@@ -17,19 +17,25 @@ $( function () {
var toggle = $('#toggle_btn'); var toggle = $('#toggle_btn');
var toggle_menu = $('#toggle_menu'); var toggle_menu = $('#toggle_menu');
var overlay = $('.overlay'); var overlay = $('.overlay');
toggle.on( 'click', function() { toggle.on('click', function () {
if ( $(this).hasClass('active') ) { if ($(this).hasClass('active')) {
$(this).removeClass('active'); $(this).removeClass('active');
toggle_menu.slideUp('fast'); toggle_menu.slideUp('fast');
overlay.slideUp('fast'); overlay.slideUp('fast');
$("html").css("overflow-y", "auto");
$("body").removeClass('active');
} else { } else {
$(this).addClass('active'); $(this).addClass('active');
toggle_menu.slideDown('fast'); toggle_menu.slideDown('fast');
overlay.slideDown('fast'); overlay.slideDown('fast');
$("html").css("overflow-y", "hidden");
setTimeout(function () {
$("body").addClass('active');
}, 100);
} }
return false; return false;
}); });
overlay.on( 'click', function(){ overlay.on('click', function () {
toggle.removeClass('active'); toggle.removeClass('active');
toggle_menu.slideUp('fast'); toggle_menu.slideUp('fast');
overlay.slideUp('fast'); overlay.slideUp('fast');
...@@ -39,11 +45,11 @@ $( function () { ...@@ -39,11 +45,11 @@ $( function () {
}); });
/* モバイル用ナビゲーション */ /* モバイル用ナビゲーション */
var mobileNav = ( function() { var mobileNav = (function () {
var openFlg = 0; var openFlg = 0;
var ua = navigator.userAgent; var ua = navigator.userAgent;
$('#toggle').click(function(){ $('#toggle').click(function () {
if(openFlg == 0){ if (openFlg == 0) {
$('#navi').addClass("open"); $('#navi').addClass("open");
$('#toggle').addClass("open"); $('#toggle').addClass("open");
$('#head_menu').addClass("open"); $('#head_menu').addClass("open");
...@@ -68,7 +74,7 @@ var mobileNav = ( function() { ...@@ -68,7 +74,7 @@ var mobileNav = ( function() {
}); });
var gSearch = ( function() { var gSearch = (function () {
var cx = '002492979778199743801:oaprkry4gm4'; var cx = '002492979778199743801:oaprkry4gm4';
var gcse = document.createElement('script'); var gcse = document.createElement('script');
gcse.type = 'text/javascript'; gcse.type = 'text/javascript';
...@@ -80,16 +86,15 @@ var gSearch = ( function() { ...@@ -80,16 +86,15 @@ var gSearch = ( function() {
}); });
/* smooth scroll */ /* smooth scroll */
var smoothScroll = ( function() { var smoothScroll = (function () {
$('.pagetop a').click(function() { $('.pagetop a').click(function () {
var speed = 400; var speed = 400;
var href= $(this).attr("href"); var href = $(this).attr("href");
var target = $(href == "#" || href == "" ? 'html' : href); var target = $(href == "#" || href == "" ? 'html' : href);
var position = target.offset().top; var position = target.offset().top;
$('body,html').animate({scrollTop:position}, speed, 'swing'); $('body,html').animate({
scrollTop: position
}, speed, 'swing');
return false; return false;
}); });
}); });
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment