Commit 853c248e by o.kimura

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

parent 8d9c5b0e
@charset "UTF-8";
.clear{
clear:both;
.clear {
clear: both;
}
body {
margin: 0;
padding: 0;
font-size: 16px;
/*font-family: 'ヒラギノ角ゴ Pro W3', 'Hiragino Kaku Gothic Pro', 'メイリオ', Meiryo, 'MS Pゴシック', sans-serif;*/
font-family: Verdana, Roboto, "Droid Sans", "游ゴシック", YuGothic, "メイリオ", Meiryo, "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "MS Pゴシック", sans-serif;
line-height: 1.8;
color: #333;
margin: 0;
padding: 0;
font-size: 16px;
/*font-family: 'ヒラギノ角ゴ Pro W3', 'Hiragino Kaku Gothic Pro', 'メイリオ', Meiryo, 'MS Pゴシック', sans-serif;*/
font-family: Verdana, Roboto, "Droid Sans", "游ゴシック", YuGothic, "メイリオ", Meiryo, "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "MS Pゴシック", sans-serif;
line-height: 1.8;
color: #333;
}
a {
text-decoration: none;
text-decoration: none;
}
strong {
font-weight: bold;
font-weight: bold;
}
header {
background-color: #e9573e;
position: relative;
background-color: #e9573e;
position: relative;
}
header a {
color: #fff;
color: #fff;
}
#head_area {
max-width: 980px;
width: 100%;
margin: 0 auto;
padding: 20px 0;
position: relative;
max-width: 980px;
width: 100%;
margin: 0 auto;
padding: 20px 0;
position: relative;
}
header h1, header #title {
width: 30%;
float: left;
header h1,
header #title {
width: 30%;
float: left;
}
header h1 a, header #title a {
display: block;
header h1 a,
header #title a {
display: block;
}
header h1 img, header #title img {
width: 100%;
max-width: 256px;
/*max-width: 344px;20190319updata*/
/*min-width: 312px;*/
header h1 img,
header #title img {
width: 100%;
max-width: 256px;
/*max-width: 344px;20190319updata*/
/*min-width: 312px;*/
}
#head_menu {
width: 70%;
float: right;
width: 70%;
float: right;
}
#menu01,#menu02, #head_area .search {
/*width: 40%;*/
float: right;
#menu01,
#menu02,
#head_area .search {
/*width: 40%;*/
float: right;
}
#head_area .search {
position: absolute;
right: 0;
bottom: 20px;
width: 21%;
position: absolute;
right: 0;
bottom: 20px;
width: 21%;
}
#head_area table {
width: 100%;
width: 100%;
}
#head_area td {
line-height: 0;
line-height: 0;
}
#head_area .search input[type="text"] {
border: none !important;
background-color: #ec6b55 !important;
height: 30px !important;
width: 100% !important;
background-image: none !important;
color: #fff;
border-radius: 0 !important;
-moz-border-radius: 0 !important;
-webkit-border-radius: 0 !important;
border: none !important;
background-color: #ec6b55 !important;
height: 30px !important;
width: 100% !important;
background-image: none !important;
color: #fff;
border-radius: 0 !important;
-moz-border-radius: 0 !important;
-webkit-border-radius: 0 !important;
}
#head_area .gsc-input-box {
background-color: inherit;
background-color: inherit;
}
#head_area .gsc-search-box-tools .gsc-search-box .gsc-input {
padding-right: 0;
padding-right: 0;
}
#head_area .gsib_a {
padding-right: 0;
padding-left: 0;
padding-top: 0;
padding-right: 0;
padding-left: 0;
padding-top: 0;
}
#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 {
background-color: #e9573e;
#head_area input.gsc-search-button,
#head_area input.gsc-search-button:hover,
#head_area input.gsc-search-button:focus {
background-color: #e9573e;
}
#head_area .cse input.gsc-search-button, #head_area input.gsc-search-button {
border-radius: 0;
-moz-border-radius: 0;
-webkit-border-radius: 0;
#head_area .cse input.gsc-search-button,
#head_area input.gsc-search-button {
border-radius: 0;
-moz-border-radius: 0;
-webkit-border-radius: 0;
}
#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 {
border: none;
border: none;
}
#head_area input.gsc-search-button-v2 {
margin-top: 3px;
margin-top: 3px;
}
#head_area .search input[type="image"] {
width: 14px;
padding: 8px;
border: solid 1px #fff;
width: 14px;
padding: 8px;
border: solid 1px #fff;
}
#menu01 {
display: block;
margin-right: 2em;/*20190319updata*/
display: block;
margin-right: 2em;
/*20190319updata*/
}
#menu01 li {
display: inline-block;
text-align: center;
font-size: 12px;
/*width: 124px;20190319updata*/
width: 10em;/*20190319updata*/
display: inline-block;
text-align: center;
font-size: 12px;
/*width: 124px;20190319updata*/
width: 10em;
/*20190319updata*/
}
#lang {
float: right;
width: 124px;
float: right;
width: 124px;
}
#lang select {
border: solid 2px #fff;
background-color: #e9573e;
color: #fff;
width: 100%;
padding: 5px 10px;
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
background: url(../images/pt_language.gif) no-repeat 90% center;
background-size: 10px, auto;
background-color: #e9573e;
border-radius: 0;
-moz-border-radius: 0;
-webkit-border-radius: 0;
border: solid 2px #fff;
background-color: #e9573e;
color: #fff;
width: 100%;
padding: 5px 10px;
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
background: url(../images/pt_language.gif) no-repeat 90% center;
background-size: 10px, auto;
background-color: #e9573e;
border-radius: 0;
-moz-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 {
background-color: #e9573e;
background-color: #e9573e;
}
body.active #lang select option {
background-color: #fff;
color: #e9573e;
}
#lang select::-ms-expand {
display: none;
display: none;
}
#moble_menu {
display: none;
display: none;
}
header nav {
background-color: #ec6b55;
background-color: #ec6b55;
}
#navi {
clear: both;
width: 980px;
margin: 0 auto;
font-size: 90%;/*20190319updata*/
font-weight: bold;/*20190319updata*/
clear: both;
width: 980px;
margin: 0 auto;
font-size: 90%;
/*20190319updata*/
font-weight: bold;
/*20190319updata*/
}
#navi li {
display: inline-block;
float: left;
/*width: 20%;20190319updata*/
width: 16.6%;/*20190319updata*/
background-color: #ec6b55;
text-align: center;
display: inline-block;
float: left;
/*width: 20%;20190319updata*/
width: 16.6%;
/*20190319updata*/
background-color: #ec6b55;
text-align: center;
}
#navi li a {
display: block;
border-right: solid 1px #e64c32;
padding: 8px 0;
display: block;
border-right: solid 1px #e64c32;
padding: 8px 0;
}
#navi li a:hover {
background-color: #fc826d;
background-color: #fc826d;
}
#navi li:first-child a {
border-left: solid 1px #e64c32;
border-left: solid 1px #e64c32;
}
section {
clear: both;
clear: both;
}
.pagetop {
background: url(../images/pt_pagetop.gif) no-repeat center top;
padding-top: 20px;
background: url(../images/pt_pagetop.gif) no-repeat center top;
padding-top: 20px;
}
.pagetop a {
display: block;
color: #fff;
background-color: #dcdcdc;
border-bottom: solid 1px #ccc;
text-align: center;
padding: 16px;
display: block;
color: #fff;
background-color: #dcdcdc;
border-bottom: solid 1px #ccc;
text-align: center;
padding: 16px;
}
footer li {
font-size: 14px;
font-size: 14px;
}
footer a {
color: #333;
color: #333;
}
footer strong {
display: block;
margin-bottom: 10px;
display: block;
margin-bottom: 10px;
}
#footer_menu1, #footer_menu2 {
width: 20%;
float: left;
#footer_menu1,
#footer_menu2 {
width: 20%;
float: left;
}
#footer_menu1 li, #footer_menu2 li, #footer_download li {
line-height: 2.0;
#footer_menu1 li,
#footer_menu2 li,
#footer_download li {
line-height: 2.0;
}
#footer_menu1 li:before, #footer_menu2 li:before {
content: "-";
color: #e70012;
margin-right: 5px;
#footer_menu1 li:before,
#footer_menu2 li:before {
content: "-";
color: #e70012;
margin-right: 5px;
}
#footer_banner, #footer_link {
width: 40%;
float: right;
#footer_banner,
#footer_link {
width: 40%;
float: right;
}
#footer_banner li {
display: block;
margin-left: 14px;
margin-bottom: 14px;
float: left;
display: block;
margin-left: 14px;
margin-bottom: 14px;
float: left;
}
#footer_banner li.line {
border: solid 1px #dcdcdc;
max-width: 178px;
height: 58px;
border: solid 1px #dcdcdc;
max-width: 178px;
height: 58px;
}
#footer_banner li.noline {
border: solid 1px #fff;
max-width: 180px;
border: solid 1px #fff;
max-width: 180px;
}
#footer_banner .empty {
width: 180px;
height: 58px;
width: 180px;
height: 58px;
}
#footer_banner li img {
width: 100%;
width: 100%;
}
#footer_div1 {
border-bottom: solid 1px #dcdcdc;
border-bottom: solid 1px #dcdcdc;
}
#footer_div1, #footer_div2 {
clear: both;
max-width: 980px;
width: 100%;
margin: 0 auto 0 auto;
#footer_div1,
#footer_div2 {
clear: both;
max-width: 980px;
width: 100%;
margin: 0 auto 0 auto;
}
#footer_div1 {
margin-top: 30px;
padding-bottom: 20px;
margin-top: 30px;
padding-bottom: 20px;
}
#footer_div2 {
margin-top: 20px;
margin-bottom: 20px;
margin-top: 20px;
margin-bottom: 20px;
}
#footer_download {
width: 57%;
float: left;
padding: 10px 0;
width: 57%;
float: left;
padding: 10px 0;
}
#footer_download li {
display: table-cell;
vertical-align: middle;
display: table-cell;
vertical-align: middle;
}
#footer_download li:first-child {
width: 50%;
padding-right: 10px;
font-size: 11px;
line-height: 1.6;
width: 50%;
padding-right: 10px;
font-size: 11px;
line-height: 1.6;
}
#footer_download strong {
/*width: 46%;
/*width: 46%;
float: left;*/
margin-bottom: 0;
margin-bottom: 0;
}
#footer_download ul {
width: 100%;
display: table;
width: 100%;
display: table;
}
#footer_link {
border-left: solid 1px #dcdcdc;
padding: 10px 0;
border-left: solid 1px #dcdcdc;
padding: 10px 0;
}
#footer_link strong {
margin-bottom: 0;
padding-left: 20px;
margin-bottom: 0;
padding-left: 20px;
}
#footer_link ul {
padding-left: 20px;
display: table;
width: 95%;
padding-left: 20px;
display: table;
width: 95%;
}
#footer_link li {
display: table-cell;
vertical-align: middle;
display: table-cell;
vertical-align: middle;
}
#footer_link li:first-child {
width: 51%;
font-size: 12px;
line-height: 1.5;
width: 51%;
font-size: 12px;
line-height: 1.5;
}
#copyright {
clear: both;
text-align: center;
border-top: solid 1px #dcdcdc;
font-size: 11px;
padding: 20px;
clear: both;
text-align: center;
border-top: solid 1px #dcdcdc;
font-size: 11px;
padding: 20px;
}
/* second page 共通 */
.second .first {
background: url(../images/main_visual.jpg) no-repeat top center;
padding-top: 300px;
background: url(../images/main_visual.jpg) no-repeat top center;
padding-top: 300px;
}
.second .block {
max-width: 980px;
width: 100%;
margin: 0 auto;
text-align: center;
max-width: 980px;
width: 100%;
margin: 0 auto;
text-align: center;
}
.second h1 {
font-size: 30px;
font-weight: bold;
display: inline-block;
border-bottom: solid 1px #e8392d;
margin-bottom: 20px;
font-size: 30px;
font-weight: bold;
display: inline-block;
border-bottom: solid 1px #e8392d;
margin-bottom: 20px;
}
.second h1 span {
display: block;
font-size: 20px;
display: block;
font-size: 20px;
}
/* 20170303 update */
/* 20170303 update */
.second .point {
/*background-color: #ec6b55;
/*background-color: #ec6b55;
color: #fff;*/
}
.second .point > div {
width: 880px;
margin: 30px auto 0 auto;
padding: 30px 50px;
border: 3px #ec6b55 double;
position: relative;
width: 880px;
margin: 30px auto 0 auto;
padding: 30px 50px;
border: 3px #ec6b55 double;
position: relative;
}
.second .point h2 {
width: 100%;
text-align: center;
position: relative;
top: -60px;margin-bottom: -30px;
width: 100%;
text-align: center;
position: relative;
top: -60px;
margin-bottom: -30px;
}
.second .point h2 img {
max-width: 134px;
width: 100%;
}
/* //20170303 update */
.second .point p {
max-width: 134px;
width: 100%;
}
/* //20170303 update */
.second .point p {}
.second .point p img {
float: right;
float: right;
}
.second .point p span {
width: 70%;
display: block;
float: left;
width: 70%;
display: block;
float: left;
}
.second .point p span.point_txt01{
text-indent: -1em;
padding-left: 1em;
.second .point p span.point_txt01 {
text-indent: -1em;
padding-left: 1em;
}
.second .point em {
text-decoration: underline;
text-decoration: underline;
}
.second h2.line {
border-top: solid 1px #ccc;
border-bottom: solid 1px #ccc;
font-size: 24px;
font-weight: bold;
padding: 36px 0;
position: relative;
margin-top: 60px;
line-height: 1.4;
clear: both;
border-top: solid 1px #ccc;
border-bottom: solid 1px #ccc;
font-size: 24px;
font-weight: bold;
padding: 36px 0;
position: relative;
margin-top: 60px;
line-height: 1.4;
clear: both;
}
.second h2.line span {
color: #e9573e;
font-weight: normal;
font-size: 40px;
position: absolute;
left: 0;
right: 0;
top: -36px;
font-family: Arial, Helvetica Verdana;
font-stretch: condensed;
color: #e9573e;
font-weight: normal;
font-size: 40px;
position: absolute;
left: 0;
right: 0;
top: -36px;
font-family: Arial, Helvetica Verdana;
font-stretch: condensed;
}
/* 0-640px ----*/
@media screen and (max-width:640px){
body {
color: #000;
}
#head_area {
padding: 0;
}
header h1, header #title {
width: 60%;
}
header h1 a, header #title a {
padding: 16px;
}
#head_menu {
width: 35%;
}
#moble_menu {
display: block;
width: 100%;
float: right;
background-color: #ec6b55;
}
#moble_menu a {
display: block;
padding: 9% 6px 9% 14px;
font-size: 13px;
line-height: 2.0;
}
#moble_menu a:after {
content: "";
display: block;
background: url(../images/bt_menu_open.gif) no-repeat center center;
background-size: 36px auto;
min-height: 40px;
float: right;
width: 40px;
margin-top: -7px;
}
#head_menu.open {
width: 100%;
}
#menu01.open {
width: 100%;
display: block;
position: absolute;
z-index: 3;
top: 380px;
background-color: #e9573e;
padding-bottom: 30px;
}
#menu01.open li {
display: block;
width: 94%;
margin: 1px auto;
text-align: left;
font-size: inherit;
}
#menu01.open li:before {
content: "-";
padding-right: 5px;
color: #fff;
}
#head_area .search.open {
display: block;
width: 96.8%;
margin: 0 auto;
top: 70px;
z-index: 3;
}
#head_area form.gsc-search-box {
width: 96.6%;
}
#moble_menu a.open {
background: url(../images/bt_menu_close.gif) no-repeat 96% 14px #e9573e;
background-size: 36px auto;
z-index: 2;
position: absolute;
top: 0;
width: 100%;
padding: 10px 0 100px 0;
font-size: 30px;
text-indent: 20px;
}
#moble_menu a.open:after {
content: "";
display: none;
}
ul#navi.open {
display: block;
position: absolute;
top: 120px;
width: 100%;
z-index: 2;
background-color: #e9573e;
padding-bottom: 50px;
}
#navi.open li {
display: block;
float: none;
width: 94%;
margin: 1px auto;
}
header h1.non, header #title.non {
visibility: hidden;
}
#lang.non {
display: none;
}
#menu01, .search, #navi {
display: none;
}
#lang {
width: 100%;
margin-bottom: 4%;
}
#lang select {
border: none;
background-color: #ec6b55;
padding: 13% 0 13% 10px;
background-size: 20px, auto;
font-size: 13px;
}
#lang select option {
background-color: #ec6b55;
}
#footer_div2 {
display: none;
}
#footer_menu1, #footer_menu2, #footer_banner {
float: none;
width: 100%;
}
footer strong {
clear: both;
text-align: center;
border-bottom: solid 1px #dcdcdc;
margin-bottom: 0;
padding: 10px 0;
}
#footer_menu1 li, #footer_menu2 li {
width: 50%;
float: left;
display: block;
line-height: 1;
}
#footer_menu1 li a, #footer_menu2 li a {
display: block;
border-bottom: solid 1px #dcdcdc;
padding: 20px 0;
text-align: center;
}
#footer_menu1 li:nth-child(2n+1) a, #footer_menu2 li:nth-child(2n+1) a {
border-right: solid 1px #dcdcdc;
}
#footer_menu1 li:before, #footer_menu2 li:before {
content: "";
display: none;
}
#footer_menu1:after, #footer_menu2:after {
content: "";
display: block;
clear: both;
}
#footer_banner ul {
margin: 10px 1%;
}
#footer_banner li {
max-width: 271px;
display: inline-block;
float: none;
margin: 2%;
width: 44%;
}
#footer_banner .empty {
width: 100%;
display: none;
}
@media screen and (max-width:640px) {
/* second page 共通 */
.second .first {
background: none;
padding-top: 40px;
}
/* 20170303 update */
.second .block > p {
text-align: left;
margin: 0 4%;
}
.second .point > div {
width: 90%;
margin: 0 auto;
padding: 10px 10px 30px 10px;
border: 3px #ec6b55 double;
position: relative;
}
.second .point h2 {
margin: 30px auto -40px auto;
float: none;
}
/* //20170303 update */
.second .point p {
margin: 0 4%;
float: none;
width: initial;
}
.second h2.line {
margin-left: 4%;
margin-right: 4%;
}
}
.nodl_txt{
text-align: center;
color: #dd0000;
font-size: 70%;
}
.nodl_txt img{
opacity: 0.4;
background-color:black;
body {
color: #000;
}
#head_area {
padding: 0;
}
header h1,
header #title {
width: 60%;
}
header h1 a,
header #title a {
padding: 16px;
}
#head_menu {
width: 35%;
}
#moble_menu {
display: block;
width: 100%;
float: right;
background-color: #ec6b55;
}
#moble_menu a {
display: block;
padding: 9% 6px 9% 14px;
font-size: 13px;
line-height: 2.0;
}
#moble_menu a:after {
content: "";
display: block;
background: url(../images/bt_menu_open.gif) no-repeat center center;
background-size: 36px auto;
min-height: 40px;
float: right;
width: 40px;
margin-top: -7px;
}
#head_menu.open {
width: 100%;
}
#menu01.open {
width: 100%;
display: block;
position: absolute;
z-index: 3;
top: 380px;
background-color: #e9573e;
padding-bottom: 30px;
}
#menu01.open li {
display: block;
width: 94%;
margin: 1px auto;
text-align: left;
font-size: inherit;
}
#menu01.open li:before {
content: "-";
padding-right: 5px;
color: #fff;
}
#head_area .search.open {
display: block;
width: 96.8%;
margin: 0 auto;
top: 70px;
z-index: 3;
}
#head_area form.gsc-search-box {
width: 96.6%;
}
#moble_menu a.open {
background: url(../images/bt_menu_close.gif) no-repeat 96% 14px #e9573e;
background-size: 36px auto;
z-index: 2;
position: absolute;
top: 0;
width: 100%;
padding: 10px 0 100px 0;
font-size: 30px;
text-indent: 20px;
}
#moble_menu a.open:after {
content: "";
display: none;
}
ul#navi.open {
display: block;
position: absolute;
top: 120px;
width: 100%;
z-index: 2;
background-color: #e9573e;
padding-bottom: 50px;
}
#navi.open li {
display: block;
float: none;
width: 94%;
margin: 1px auto;
}
header h1.non,
header #title.non {
visibility: hidden;
}
#lang.non {
display: none;
}
#menu01,
.search,
#navi {
display: none;
}
#lang {
width: 100%;
margin-bottom: 4%;
}
#lang select {
border: none;
background-color: #ec6b55;
padding: 13% 0 13% 10px;
background-size: 20px, auto;
font-size: 13px;
}
#lang select option {
background-color: #ec6b55;
}
#footer_div2 {
display: none;
}
#footer_menu1,
#footer_menu2,
#footer_banner {
float: none;
width: 100%;
}
footer strong {
clear: both;
text-align: center;
border-bottom: solid 1px #dcdcdc;
margin-bottom: 0;
padding: 10px 0;
}
#footer_menu1 li,
#footer_menu2 li {
width: 50%;
float: left;
display: block;
line-height: 1;
}
#footer_menu1 li a,
#footer_menu2 li a {
display: block;
border-bottom: solid 1px #dcdcdc;
padding: 20px 0;
text-align: center;
}
#footer_menu1 li:nth-child(2n+1) a,
#footer_menu2 li:nth-child(2n+1) a {
border-right: solid 1px #dcdcdc;
}
#footer_menu1 li:before,
#footer_menu2 li:before {
content: "";
display: none;
}
#footer_menu1:after,
#footer_menu2:after {
content: "";
display: block;
clear: both;
}
#footer_banner ul {
margin: 10px 1%;
}
#footer_banner li {
max-width: 271px;
display: inline-block;
float: none;
margin: 2%;
width: 44%;
}
#footer_banner .empty {
width: 100%;
display: none;
}
/* second page 共通 */
.second .first {
background: none;
padding-top: 40px;
}
/* 20170303 update */
.second .block > p {
text-align: left;
margin: 0 4%;
}
.second .point > div {
width: 90%;
margin: 0 auto;
padding: 10px 10px 30px 10px;
border: 3px #ec6b55 double;
position: relative;
}
.second .point h2 {
margin: 30px auto -40px auto;
float: none;
}
/* //20170303 update */
.second .point p {
margin: 0 4%;
float: none;
width: initial;
}
.second h2.line {
margin-left: 4%;
margin-right: 4%;
}
}
.nodl_txt {
text-align: center;
color: #dd0000;
font-size: 70%;
}
.nodl_txt img {
opacity: 0.4;
background-color: black;
}
/* 20190319updata ----*/
.manager{
background-color: #ec6b55;
width: 100%;
padding: 2px 6px;
border: solid 1px #fff;
.manager {
background-color: #ec6b55;
width: 100%;
padding: 2px 6px;
border: solid 1px #fff;
}
.manager a{
color: #fff;
.manager a {
color: #fff;
}
#top #navi {
/*display: none;*/
/*display: none;*/
}
/* 0-640px ----*/
@media screen and (max-width:640px){
#top ul#navi.open {
display: block;
position: absolute;
top: 120px;
width: 100%;
z-index: 2;
background-color: #e9573e;
padding-bottom: 50px;
}
#top #navi.open li {
display: block;
float: none;
width: 94%;
margin: 1px auto;
}
@media screen and (max-width:640px) {
#top ul#navi.open {
display: block;
position: absolute;
top: 120px;
width: 100%;
z-index: 2;
background-color: #e9573e;
padding-bottom: 50px;
}
#top #navi.open li {
display: block;
float: none;
width: 94%;
margin: 1px auto;
}
}
#navi_top {
position: absolute;
top:540px;
left:0;
right:0;
bottom: 0;
clear: both;
width: 980px;
margin: 0 auto;
font-size: 90%;/*20190319updata*/
font-weight: bold;/*20190319updata*/
position: absolute;
top: 540px;
left: 0;
right: 0;
bottom: 0;
clear: both;
width: 980px;
margin: 0 auto;
font-size: 90%;
/*20190319updata*/
font-weight: bold;
/*20190319updata*/
}
#navi_top li {
display: inline-block;
float: left;
/*width: 20%;20190319updata*/
width: 16.6%;/*20190319updata*/
background-color: #ec6b55;
text-align: center;
display: inline-block;
float: left;
/*width: 20%;20190319updata*/
width: 16.6%;
/*20190319updata*/
background-color: #ec6b55;
text-align: center;
}
#navi_top li a {
display: block;
border-right: solid 1px #e05538;
padding: 8px 0;
color: #fff;
display: block;
border-right: solid 1px #e05538;
padding: 8px 0;
color: #fff;
}
#navi_top li a:hover {
background-color: #fc826d;
background-color: #fc826d;
}
#navi_top li:last-child a {
border-right: none;
border-right: none;
}
@media screen and (max-width:640px){
#navi_top{
display: none;
}
@media screen and (max-width:640px) {
#navi_top {
display: none;
}
}
body#situation h1{
padding-top: 110px;
background: url(../images/icon01.png) no-repeat 50% top;
body#situation h1 {
padding-top: 110px;
background: url(../images/icon01.png) no-repeat 50% top;
}
body#sign h1{
padding-top: 110px;
background: url(../images/icon02.png) no-repeat 50% top;
body#sign h1 {
padding-top: 110px;
background: url(../images/icon02.png) no-repeat 50% top;
}
body#type h1{
padding-top: 110px;
background: url(../images/icon03.png) no-repeat 50% top;
body#type h1 {
padding-top: 110px;
background: url(../images/icon03.png) no-repeat 50% top;
}
body#howtouse h1{
padding-top: 110px;
background: url(../images/icon04.png) no-repeat 50% top;
body#howtouse h1 {
padding-top: 110px;
background: url(../images/icon04.png) no-repeat 50% top;
}
body#latest h1{
padding-top: 110px;
background: url(../images/icon05.png) no-repeat 50% top;
body#latest h1 {
padding-top: 110px;
background: url(../images/icon05.png) no-repeat 50% top;
}
/* 2019.10.23 update */
header.pht {
position: absolute;
top: 0;
left: 0;
right: 0;
display: block;
width: 100%;
height: 134.5px;
margin: auto;
background: url(../images/showcase.jpg) no-repeat top center;
background-size: cover;
position: absolute;
top: 0;
left: 0;
right: 0;
display: block;
width: 100%;
height: 134.5px;
margin: auto;
background: url(../images/showcase.jpg) no-repeat top center;
background-size: cover;
}
[class|=inner] {
max-width: 980px;
width: 100%;
margin: 0 auto;
max-width: 980px;
width: 100%;
margin: 0 auto;
}
.title_area {
float: none;
float: none;
}
.title_area a {
display: block;
width: 248px;
display: block;
width: 248px;
}
.title_area a .logo_line {
display: block;
margin-top: .5em;
padding: .2em 3em;
background-color: #fff;
line-height: 0;
display: block;
margin-top: .5em;
padding: .2em 3em;
background-color: #fff;
line-height: 0;
}
.title_area a .logo_line img {
max-width: 100%;
max-width: 100%;
}
#head_area.head_area {
position: absolute;
top: 0;
left: 0;
right: 0;
max-width: 980px;
width: 100%;
margin: 0 auto;
padding: 20px 0;
display: flex;
align-items: center;
justify-content: space-between;
z-index: 110;
position: absolute;
top: 0;
left: 0;
right: 0;
max-width: 980px;
width: 100%;
margin: 0 auto;
padding: 20px 0;
display: flex;
align-items: center;
justify-content: space-between;
z-index: 110;
}
.lang_menu {
margin-right: 6em;
margin-right: 6em;
}
.inner-toggle {
position: relative;
position: relative;
}
/* toggle ********************* */
.toggle_menu {
display: none;
position: absolute;
left: 0;
right: 0;
top: 8em;
padding: 2em 0;
z-index: 100;
/*background-color: #e9573e;*/
display: none;
position: absolute;
left: 0;
right: 0;
top: 8em;
padding: 2em 0;
z-index: 100;
/*background-color: #e9573e;*/
}
.toggle_btn {
position: absolute;
top: 2em;
right: 0;
display: block;
width: 70px;
height: 70px;
padding: 22px;
margin: auto;
box-sizing: border-box;
border: solid 1px #fff;
border-radius: 50%;
z-index: 111;
position: absolute;
top: 2em;
right: 0;
display: block;
width: 70px;
height: 70px;
padding: 22px;
margin: auto;
box-sizing: border-box;
border: solid 1px #fff;
border-radius: 50%;
z-index: 111;
}
.toggle {
position: absolute;
display: block;
width: 25px;
height: auto;
z-index: 10;
padding: 0;
position: absolute;
display: block;
width: 25px;
height: auto;
z-index: 10;
padding: 0;
}
.toggle span {
position: relative;
display: block;
width: 100%;
transition: transform .3s ease;
position: relative;
display: block;
width: 100%;
transition: transform .3s ease;
}
.toggle span,
.toggle span:before,
.toggle span:after {
background-color: #fff;
height: 3px;
margin: auto;
background-color: #fff;
height: 3px;
margin: auto;
}
.toggle span:before,
.toggle span:after {
position: absolute;
content: "";
right: 0;
position: absolute;
content: "";
right: 0;
}
.toggle span:before {
width: 100%;
margin-top: 10px;
transition: opacity .6s ease;
width: 100%;
margin-top: 10px;
transition: opacity .6s ease;
}
.toggle span:after {
width: 100%;
margin-top: 20px;
transition: transform .3s ease;
width: 100%;
margin-top: 20px;
transition: transform .3s ease;
}
.toggle:hover,
.active .toggle:hover {
text-decoration: none;
text-decoration: none;
}
.toggle_btn.active {
background-color: #e9573e;
}
.toggle_btn.active .toggle span {
transform: rotate(-45deg);
transform-origin: 1.5em .4em;
transition: all .3s ease;
transform: rotate(-45deg);
transform-origin: 1.5em .4em;
transition: all .3s ease;
}
.toggle_btn.active .toggle span:before {
opacity: 0;
transition: opacity 0s ease;
opacity: 0;
transition: opacity 0s ease;
}
.toggle_btn.active .toggle span:after {
width: 100%;
transform: rotate(90deg);
transition: all .3s ease;
margin-top: 0;
width: 100%;
transform: rotate(90deg);
transition: all .3s ease;
margin-top: 0;
}
/* overlay
****************************************************** */
.overlay {
display: none;
width: 100%;
height: 100%;
text-align: center;
position: fixed;
top: 0;
z-index: 99;
background-color: #e9573e;
opacity: 1;
display: none;
width: 100%;
height: 100%;
text-align: center;
position: fixed;
top: 0;
z-index: 99;
background-color: #e4e5ea;
opacity: 1;
}
.header_flxpc {
display: flex;
align-items: flex-end;
justify-content: space-between;
display: flex;
align-items: flex-end;
justify-content: space-between;
}
.header_nav {
display: flex;
flex-wrap: wrap;
align-items: stretch;
justify-content: flex-start;
width: 73%;
display: flex;
flex-wrap: wrap;
align-items: stretch;
justify-content: flex-start;
width: 73%;
}
.header_nav li {
width: 50%;
box-sizing: border-box;
border-right: solid 1px #e9573e;
width: 50%;
box-sizing: border-box;
border-right: solid 1px #e9573e;
}
.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;
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;
}
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 .sign {
border-bottom: solid 1px #e9573e;
border-bottom: solid 1px #e9573e;
}
.header_nav .sign,
.header_nav .howtouse {
border-right-color: #fff;
border-right-color: #fff;
}
.header_nav li a {
position: relative;
display: block;
padding: 1em 0 1em 5em;
background-color: #fff;
font-weight: bold;
color: #e9573e;
position: relative;
display: block;
padding: 1em 0 1em 5em;
background-color: #fff;
font-weight: bold;
color: #e9573e;
}
.header_nav a::before {
content: "";
position: absolute;
left: 1em;
top: 0;
bottom: 0;
display: block;
margin: auto;
width: 2em;
height: 2em;
background-repeat: no-repeat;
background-position: center;
background-size: contain;
content: "";
position: absolute;
left: 1em;
top: 0;
bottom: 0;
display: block;
margin: auto;
width: 2em;
height: 2em;
background-repeat: no-repeat;
background-position: center;
background-size: contain;
}
.header_nav .situation a::before {
width: 2.4em;
height: 2.4em;
background-image: url(../images/icon01.svg);
width: 2.4em;
height: 2.4em;
background-image: url(../images/icon01.svg);
}
.header_nav .sign a::before {
background-image: url(../images/icon02.svg);
background-image: url(../images/icon02.svg);
}
.header_nav .type a::before {
background-image: url(../images/icon03.svg);
background-image: url(../images/icon03.svg);
}
.header_nav .howtouse a::before {
background-image: url(../images/icon04.svg);
background-image: url(../images/icon04.svg);
}
.header_nav a::after,
.header_flxpc .latest a::after {
content: "";
position: absolute;
top: 0;
bottom: 0;
right: 1.8em;
display: block;
margin: auto;
width: .6em;
height: .6em;
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;
content: "";
position: absolute;
top: 0;
bottom: 0;
right: 1.8em;
display: block;
margin: auto;
width: .6em;
height: .6em;
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;
}
.header_flxpc .latest a {
position: relative;
display: block;
padding: 2.5em 4em 2.5em 6em;
background-color: #fff;
line-height: 1.3;
font-weight: bold;
color: #e9573e;
position: relative;
display: block;
padding: 2.5em 4em 2.5em 6em;
background-color: #fff;
line-height: 1.3;
font-weight: bold;
color: #e9573e;
}
.header_flxpc .latest a::before {
content: "";
position: absolute;
left: 2.5em;
top: 0;
bottom: 0;
display: block;
margin: auto;
width: 2.4em;
height: 2.4em;
background: url(../images/icon05.svg) no-repeat center;
background-size: contain;
content: "";
position: absolute;
left: 2.5em;
top: 0;
bottom: 0;
display: block;
margin: auto;
width: 2.4em;
height: 2.4em;
background: url(../images/icon05.svg) no-repeat center;
background-size: contain;
}
.menu_box .manage {
margin-top: .5em;
text-align: right;
margin-top: .5em;
text-align: right;
}
.menu_box .manage a {
display: inline-block;
vertical-align: middle;
font-weight: bold;
display: inline-block;
vertical-align: middle;
font-weight: bold;
}
.menu_box .manage a::before {
content: "";
display: inline-block;
width: .6em;
height: .6em;
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%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;
vertical-align: middle;
content: "";
display: inline-block;
width: .6em;
height: .6em;
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%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;
vertical-align: middle;
}
.header_nav2 {
margin: 2em 0;
padding-top: 2em;
border-top: solid 1px rgba(255,255,255,.3);
margin: 2em 0;
padding-top: 2em;
border-top: solid 1px rgba(255, 255, 255, .3);
}
.header_nav2 li {
display: inline-block;
display: inline-block;
}
.header_nav2 li:first-child {
margin-right: 3em;
margin-right: 3em;
}
.header_nav2 a {
font-size: 112.5%;
font-weight: bold;
font-size: 112.5%;
font-weight: bold;
}
body.active .header_nav2 a {
color: #e9573e;
}
.toggle_menu .search {
max-width: 580px;
max-width: 580px;
}
.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] {
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 {
padding: 11px 20px 10px;
margin-left: 0;
width: 100%;
border-radius: 0;
border: none;
padding: 11px 20px 10px;
margin-left: 0;
width: 100%;
border-radius: 0;
border: none;
}
#lang {
width: 180px;
width: 180px;
}
#lang select {
background: none;
/*-webkit-appearance: menulist;*/
background: none;
/*-webkit-appearance: menulist;*/
}
#lang select option {
padding: .5em;
padding: .5em;
}
.second .first {
padding-top: 196px;
background: none;
padding-top: 196px;
background: none;
}
@media screen and (max-width:640px){
br.pc {
display: none;
}
header.pht {
height: 19.76563vw;
}
[class|=inner] {
width: 92%;
}
.title_area {
width: 45%;
}
.title_area a {
width: 38.75vw;
padding: 2.5vw;
}
.title_area a .logo_line {
margin-top: 1.5vw;
padding: .2em 7vw;
}
#head_area.head_area {
max-width: 100%;
padding: 0;
}
.lang_menu {
margin-right: 18vw;
}
.menu_box {
font-size: 2.5vw;
}
/* toggle ********************* */
.toggle_menu {
top: 19.6875vw;
}
.toggle_btn {
top: 4.8vw;
right: 0;
width: 10.9375vw;
height: 10.9375vw;
padding: 3.4375vw;
}
.toggle {
width: 3.90625vw;
}
.toggle span:before {
margin-top: 1.5625vw;
}
.toggle span:after {
margin-top: 3.125vw;
}
.toggle_btn.active .toggle span {
transform-origin: 3.8vw 1.1vw;
}
.header_nav .type,
.header_nav .howtouse {
border-bottom: solid 1px #e9573e;
}
.header_flxpc .latest a::before {
left: 1em;
}
.header_flxpc/*,
.header_nav*/ {
display: block;
}
.header_nav {
width: 100%;
}
/*
@media screen and (max-width:640px) {
br.pc {
display: none;
}
header.pht {
height: 19.76563vw;
}
[class|=inner] {
width: 92%;
}
.title_area {
width: 45%;
}
.title_area a {
width: 38.75vw;
padding: 2.5vw;
}
.title_area a .logo_line {
margin-top: 1.5vw;
padding: .2em 7vw;
}
#head_area.head_area {
max-width: 100%;
padding: 0;
}
.lang_menu {
margin-right: 18vw;
}
.menu_box {
font-size: 2.5vw;
}
/* toggle ********************* */
.toggle_menu {
top: 19.6875vw;
}
.toggle_btn {
top: 4.8vw;
right: 0;
width: 10.9375vw;
height: 10.9375vw;
padding: 3.4375vw;
}
.toggle {
width: 3.90625vw;
}
.toggle span:before {
margin-top: 1.5625vw;
}
.toggle span:after {
margin-top: 3.125vw;
}
.toggle_btn.active .toggle span {
transform-origin: 3.8vw 1.1vw;
}
.header_nav .type,
.header_nav .howtouse {
border-bottom: solid 1px #e9573e;
}
.header_flxpc .latest a::before {
left: 1em;
}
.header_flxpc
/*,
.header_nav*/
{
display: block;
}
.header_nav {
width: 100%;
}
/*
.header_nav li {
width: 100%;
}*/
.header_nav a::before,
.header_flxpc .latest a::before {
left: .6em;
}
.header_nav li:first-child {
font-size: 2.5vw;
}
.header_nav li a,
.header_flxpc .latest a {
padding: 1em 0 1em 3.5em;
line-height: 1.5;
}
.header_nav li a {
padding-right: 1.8em;
padding-left: 3.2em;
}
.header_flxpc .latest a {
}
.header_nav a::after {
right: 1em;
}
#lang {
width: 28vw;
margin-bottom: 0;
line-height: 1;
}
#lang select {
padding: 1vw 2vw;
border: solid 2px #fff;
font-size: 2.5vw;
}
.header_nav2 {
margin: 1em 0;
padding-top: 1em;
}
.header_nav2 li {
display: block;
margin-bottom: .5em;
}
.header_nav2 li:first-child {
margin-right: 0;
}
.header_nav2 a {
font-size: 2.5vw;
}
.search {
display: block;
}
.toggle_menu .search .gsc-search-button .gsc-search-button-v2 {
padding: 15px 20px;
}
.second .first {
padding-top: 27vw;
}
/* 多言語ページ */
#moble_menu + .search {
display: none;
}
header:not([class]) #lang {
width: 100%;
margin-bottom: 4%;
}
header:not([class]) #lang select {
border: none;
background-color: #ec6b55;
padding: 13% 0 13% 10px;
background-image: url(../images/pt_language.gif);
background-repeat: no-repeat;
background-position: 90% center;
background-size: 20px, auto;
font-size: 13px;
}
.header_nav a::before,
.header_flxpc .latest a::before {
left: .6em;
}
.header_nav li:first-child {
font-size: 2.5vw;
}
.header_nav li a,
.header_flxpc .latest a {
padding: 1em 0 1em 3.5em;
line-height: 1.5;
}
.header_nav li a {
padding-right: 1.8em;
padding-left: 3.2em;
}
.header_flxpc .latest a {}
.header_nav a::after {
right: 1em;
}
#lang {
width: 28vw;
margin-bottom: 0;
line-height: 1;
}
#lang select {
padding: 1vw 2vw;
border: solid 2px #fff;
font-size: 2.5vw;
}
.header_nav2 {
margin: 1em 0;
padding-top: 1em;
}
.header_nav2 li {
display: block;
margin-bottom: .5em;
}
.header_nav2 li:first-child {
margin-right: 0;
}
.header_nav2 a {
font-size: 2.5vw;
}
.search {
display: block;
}
.toggle_menu .search .gsc-search-button .gsc-search-button-v2 {
padding: 15px 20px;
}
.second .first {
padding-top: 27vw;
}
/* 多言語ページ */
#moble_menu + .search {
display: none;
}
header:not([class]) #lang {
width: 100%;
margin-bottom: 4%;
}
header:not([class]) #lang select {
border: none;
background-color: #ec6b55;
padding: 13% 0 13% 10px;
background-image: url(../images/pt_language.gif);
background-repeat: no-repeat;
background-position: 90% center;
background-size: 20px, auto;
font-size: 13px;
}
}
/* 2020.1.9 */
.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;
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;
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 {
padding: 0 0 0 .71em;
background-color: #fff;
color: #e9573e;
padding: 0 0 0 .71em;
background-color: #fff;
color: #e9573e;
}
body.active .menu_box .manage a {
padding: 0 0 0 .71em;
background-color: #e9573e;
color: #fff;
}
.menu_box .manage a::before {
content: none;
content: none;
}
.menu_box .manage a::after {
content: "";
display: inline-block;
width: .6em;
height: .6em;
margin-left: .2em;
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-size: contain;
content: "";
display: inline-block;
width: .6em;
height: .6em;
margin-left: .2em;
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%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;
}
@media screen and (max-width:640px){
.header_flxpc .latest b {
font-size: 2.5vw;
}
@media screen and (max-width:640px) {
.header_flxpc .latest b {
font-size: 2.5vw;
}
}
#breadcrumbs_area{
margin: -55px auto 30px auto;
font-size: 75%;
text-align: left;
#breadcrumbs_area {
margin: -55px auto 30px auto;
font-size: 75%;
text-align: left;
}
#breadcrumbs_area a{
text-decoration: underline;
color: #e05538;
#breadcrumbs_area a {
text-decoration: underline;
color: #e05538;
}
@media screen and (max-width:640px){
#breadcrumbs_area {
margin-top: -25px;
}
@media screen and (max-width:640px) {
#breadcrumbs_area {
margin-top: -25px;
}
}
#footer_menu2 strong{
line-height: 1.5;
#footer_menu2 strong {
line-height: 1.5;
}
#footer_menu2 small {
line-height: 1.5;
font-size: 72%;
display: block;
margin-top: -5px;
margin-bottom: 10px;
}
@media screen and (max-width:640px){
#footer_menu2 small {
display: none;
}
}
\ No newline at end of file
line-height: 1.5;
font-size: 72%;
display: block;
margin-top: -5px;
margin-bottom: 10px;
}
@media screen and (max-width:640px) {
#footer_menu2 small {
display: none;
}
}
$(document).ready( function() {
mobileNav();
smoothScroll();
gSearch();
$(document).ready(function () {
mobileNav();
smoothScroll();
gSearch();
});
$( function () {
/* 言語切り替え */
$('#lang select').change( function() {
if ($(this).val() != '') {
window.location.href = $(this).val();
}
});
$(function () {
/* 言語切り替え */
$('#lang select').change(function () {
if ($(this).val() != '') {
window.location.href = $(this).val();
}
});
// toggle menu
var toggle = $('#toggle_btn');
var toggle_menu = $('#toggle_menu');
var overlay = $('.overlay');
toggle.on( 'click', function() {
if ( $(this).hasClass('active') ) {
$(this).removeClass('active');
toggle_menu.slideUp('fast');
overlay.slideUp('fast');
} else {
$(this).addClass('active');
toggle_menu.slideDown('fast');
overlay.slideDown('fast');
}
return false;
});
overlay.on( 'click', function(){
toggle.removeClass('active');
toggle_menu.slideUp('fast');
overlay.slideUp('fast');
});
// toggle menu
var toggle = $('#toggle_btn');
var toggle_menu = $('#toggle_menu');
var overlay = $('.overlay');
toggle.on('click', function () {
if ($(this).hasClass('active')) {
$(this).removeClass('active');
toggle_menu.slideUp('fast');
overlay.slideUp('fast');
$("html").css("overflow-y", "auto");
$("body").removeClass('active');
} else {
$(this).addClass('active');
toggle_menu.slideDown('fast');
overlay.slideDown('fast');
$("html").css("overflow-y", "hidden");
setTimeout(function () {
$("body").addClass('active');
}, 100);
}
return false;
});
overlay.on('click', function () {
toggle.removeClass('active');
toggle_menu.slideUp('fast');
overlay.slideUp('fast');
});
});
/* モバイル用ナビゲーション */
var mobileNav = ( function() {
var openFlg = 0;
var ua = navigator.userAgent;
$('#toggle').click(function(){
if(openFlg == 0){
$('#navi').addClass("open");
$('#toggle').addClass("open");
$('#head_menu').addClass("open");
$('#menu01').addClass("open");
$('#head_area .search').addClass("open");
$('header h1').addClass("non");
$('header #title').addClass("non");
$('#lang').addClass("non");
openFlg = 1;
} else {
$('#navi').removeClass("open");
$('#toggle').removeClass("open");
$('#head_menu').removeClass("open");
$('#menu01').removeClass("open");
$('#head_area .search').removeClass("open");
$('header h1').removeClass("non");
$('header #title').removeClass("non");
$('#lang').removeClass("non");
openFlg = 0;
}
});
var mobileNav = (function () {
var openFlg = 0;
var ua = navigator.userAgent;
$('#toggle').click(function () {
if (openFlg == 0) {
$('#navi').addClass("open");
$('#toggle').addClass("open");
$('#head_menu').addClass("open");
$('#menu01').addClass("open");
$('#head_area .search').addClass("open");
$('header h1').addClass("non");
$('header #title').addClass("non");
$('#lang').addClass("non");
openFlg = 1;
} else {
$('#navi').removeClass("open");
$('#toggle').removeClass("open");
$('#head_menu').removeClass("open");
$('#menu01').removeClass("open");
$('#head_area .search').removeClass("open");
$('header h1').removeClass("non");
$('header #title').removeClass("non");
$('#lang').removeClass("non");
openFlg = 0;
}
});
});
var gSearch = ( function() {
var cx = '002492979778199743801:oaprkry4gm4';
var gcse = document.createElement('script');
gcse.type = 'text/javascript';
gcse.async = true;
gcse.src = (document.location.protocol == 'https:' ? 'https:' : 'http:') +
'//cse.google.com/cse.js?cx=' + cx;
var s = document.getElementsByTagName('script')[0];
s.parentNode.insertBefore(gcse, s);
var gSearch = (function () {
var cx = '002492979778199743801:oaprkry4gm4';
var gcse = document.createElement('script');
gcse.type = 'text/javascript';
gcse.async = true;
gcse.src = (document.location.protocol == 'https:' ? 'https:' : 'http:') +
'//cse.google.com/cse.js?cx=' + cx;
var s = document.getElementsByTagName('script')[0];
s.parentNode.insertBefore(gcse, s);
});
/* smooth scroll */
var smoothScroll = ( function() {
$('.pagetop a').click(function() {
var speed = 400;
var href= $(this).attr("href");
var target = $(href == "#" || href == "" ? 'html' : href);
var position = target.offset().top;
$('body,html').animate({scrollTop:position}, speed, 'swing');
return false;
});
var smoothScroll = (function () {
$('.pagetop a').click(function () {
var speed = 400;
var href = $(this).attr("href");
var target = $(href == "#" || href == "" ? 'html' : href);
var position = target.offset().top;
$('body,html').animate({
scrollTop: position
}, speed, 'swing');
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