/* ---------------------------------
Common
---------------------------------- */
#index #wrapper {
  background: url(../img/background.png) no-repeat;
  background-size: 100%;
}

.tooltip + span {
  background: black;
  color: white;
  position: absolute;
  top: 15px;
  left: 0;
  text-align: center;
  padding: 5px 10px;
  z-index: 2;
  display: none;
  border-radius: 5px;
}

p.pagetop {
  display: none;
  position: fixed;
  bottom: 50px;
  right: 60px;
  cursor: pointer;
  z-index: 1000;
}

.w100 {
  width: 100%;
}

.pc_none {
  display: none;
}

.only_fri,
.not_fri {
  display: none;
}

.box {
  cursor: pointer;
}

/*SP*/
@media (max-width: 640px) {
  .pc_none {
    display: block;
  }

  .sp_none {
    display: none;
  }

  .spw100 {
    width: 100%;
  }

  p.pagetop {
    width: 30px;
    bottom: 10px;
    right: 10px;
  }
  p.pagetop img {
    width: 100%;
  }
}
/* ---------------------------------
Header
---------------------------------- */
p#to_site {
  position: absolute;
  top: 0px;
  right: 0px;
}

/*SP*/
@media (max-width: 640px) {
  p#to_site {
    display: none;
  }
}
/* ---------------------------------
Google search
---------------------------------- */
.gsc-control-cse {
  width: 100% !important;
  background: none !important;
  border: none !important;
}

.gsc-input-box {
  height: 32px !important;
  margin-top: -3px !important;
}

.cse .gsc-search-button input.gsc-search-button-v2,
input.gsc-search-button-v2 {
  width: 32px !important;
  height: inherit !important;
  padding: 5px !important;
  margin: 0 !important;
  margin-top: 2px !important;
}

/* ---------------------------------
Gnav
---------------------------------- */
nav#gnav {
  background: #002c60 url(../img/bg_wave.png) no-repeat 50% 50%;
  background-size: 100%;
  padding: 15px 0;
  zoom: 1;
}
nav#gnav:after {
  display: table;
  clear: both;
  content: "";
}
nav#gnav:before {
  display: table;
  content: "";
}
nav#gnav ul {
  width: 1000px;
  margin: 0 auto;
}
nav#gnav ul li {
  width: 178px;
  padding: 7px;
  border-radius: 5px;
  float: left;
  margin-right: 26px;
  background-color: #fffdf5;
  box-shadow: 0px 0px 3px #333;
}
nav#gnav ul li dl dt {
  margin-bottom: 5px;
}
nav#gnav ul li dl dd {
  text-align: center;
}
nav#gnav ul li dl dd span {
  vertical-align: baseline;
  font-size: 14px;
  padding: 3px;
}
nav#gnav ul li:last-child {
  margin-right: 0;
}

body.cat_cr nav#gnav ul li:nth-child(1),
body.cat_jp nav#gnav ul li:nth-child(2),
body.cat_ws nav#gnav ul li:nth-child(3),
body.cat_ch nav#gnav ul li:nth-child(4),
body.cat_sw nav#gnav ul li:nth-child(5) {
  background: #fff5a2;
}

/*SP*/
@media (max-width: 640px) {
  nav#gnav {
    padding: 0px;
    zoom: 1;
  }
  nav#gnav:after {
    display: table;
    clear: both;
    content: "";
  }
  nav#gnav:before {
    display: table;
    content: "";
  }
  nav#gnav ul {
    width: 100%;
    text-align: center;
    margin-top: 15px;
  }
  nav#gnav ul li {
    width: 28%;
    padding: 7px;
    border-radius: 5px;
    float: none;
    display: inline-block;
    margin-right: 2%;
    background-color: #fffdf5;
    box-shadow: 0px 0px 3px #333;
    margin-bottom: 15px;
  }
  nav#gnav ul li dl dt {
    margin-bottom: 5px;
  }
  nav#gnav ul li dl dt img {
    width: 100%;
  }
  nav#gnav ul li dl dd {
    text-align: center;
  }
  nav#gnav ul li dl dd span {
    vertical-align: baseline;
    font-size: 12px;
    padding: 0px;
    display: none;
  }
  nav#gnav ul li:nth-child(3n) {
    margin-right: 0;
  }

  nav#subnav {
    background: #f0f0f0;
    padding: 15px;
  }
  nav#subnav ul {
    zoom: 1;
  }
  nav#subnav ul:after {
    display: table;
    clear: both;
    content: "";
  }
  nav#subnav ul:before {
    display: table;
    content: "";
  }
  nav#subnav ul li {
    float: none;
    font-size: 15px;
    margin-left: 0px;
    margin-bottom: 5px;
  }
  nav#subnav ul li a {
    display: block;
    padding: 5px 12px;
    background: #002C60;
    color: white;
    border-radius: 5px;
    font-weight: bold;
  }
  nav#subnav ul li a:hover {
    text-decoration: none;
    background: #666;
  }
}
/*SP*/
@media (max-width: 388px) {
  nav#gnav {
    padding: 0px;
    zoom: 1;
  }
  nav#gnav:after {
    display: table;
    clear: both;
    content: "";
  }
  nav#gnav:before {
    display: table;
    content: "";
  }
  nav#gnav ul li:nth-child(4) dl dd img {
    width: 100%;
  }
}
/* ---------------------------------
Title
---------------------------------- */
.index01 {
  font-size: 36px;
  margin-bottom: 15px;
  color: #002c60;
}

.index02 {
  background: url(../img/icon_food.png) no-repeat 0 50%;
  padding-left: 45px;
  line-height: normal;
  vertical-align: top;
  color: #e96b41;
  font-size: 30px;
}
.index02 span {
  font-size: 13px;
  font-weight: bold;
  display: inline-block;
  margin-left: 15px;
}

h3.index03 {
  font-size: 20px;
  margin-bottom: 30px;
  color: #002c60;
  padding-bottom: 7px;
  text-align: left;
  background: #f0f0f0;
  color: #333;
  padding: 7px;
  border-left: solid 6px #e96b41;
  padding-left: 15px;
}

/*SP*/
@media (max-width: 640px) {
  .index02 {
    width: 90%;
    margin: 0 auto;
    margin-bottom: 10px;
    background: url(../img/icon_food.png) no-repeat 0 0px;
    background-size: 24px;
    padding-left: 35px;
    color: #e96b41;
    font-size: 30px;
  }
  .index02 span {
    font-size: 13px;
    font-weight: bold;
    display: block;
    margin-left: -35px;
    margin-top: 10px;
  }
}
/* ---------------------------------
Table
---------------------------------- */
/*SP*/
/* ---------------------------------
Cont
---------------------------------- */
.colorful {
  padding-bottom: 50px;
}

#container {
  width: 1000px;
  margin: 0 auto;
  min-height: 1000px;
  padding: 40px 0;
}

/*SP*/
@media (max-width: 640px) {
  #container {
    width: 100%;
    min-height: 0px;
    padding: 20px 0;
    padding-bottom: 0;
  }
  #container .cont01 {
    width: 90%;
    margin: 0 auto;
  }
}
/* ---------------------------------
Footer
---------------------------------- */
.oldbtn {
  text-align: right;
  padding-bottom: 15px;
}

footer {
  width: 100%;
  background: #002c60;
}
footer #footer {
  width: 1000px;
  margin: 0 auto;
  line-height: 80px;
  color: white;
  text-align: center;
  position: relative;
}
footer #footer p#izumo {
  position: absolute;
  top: -75px;
  left: 0;
}
footer #footer .oldbtn {
  position: absolute;
  top: 20px;
  font-weight: bold;
  right: 0px;
  width: 250px;
  text-align: center;
}
footer #footer .oldbtn a {
  border-radius: 5px;
  border: solid 1px white;
  padding: 5px 10px;
  background: white;
  display: block;
}
footer #footer .oldbtn a:hover {
  text-decoration: none;
  background: #f0f0f0;
}

/*SP*/
@media (max-width: 640px) {
  .oldbtn {
    width: 80%;
    margin: 0 auto;
    text-align: right;
    padding-bottom: 15px;
  }

  footer {
    width: 100%;
    background: #002c60;
  }
  footer #footer {
    width: 100%;
    line-height: 80px;
    color: white;
    text-align: center;
    position: relative;
  }
  footer #footer p#izumo {
    display: none;
    position: absolute;
    top: -69px;
    left: 0;
  }
  footer #footer p#izumo img {
    width: 100%;
  }
  footer #footer .oldbtn {
    position: static;
  }
}
/* ---------------------------------
SP_menu
---------------------------------- */
/*SP*/
@media (max-width: 640px) {
  .overlay {
    display: block;
    position: absolute;
    height: 1000%;
    width: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 111;
    top: 0;
    bottom: 0;
    overflow: hidden;
  }

  .modal {
    display: none;
    background: white;
    color: black;
    position: fixed;
    border-radius: 10px;
    width: 90%;
    height: 90%;
    overflow-y: scroll;
    padding: 10px;
    margin: auto;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 111;
    box-shadow: 0px 0px 5px #999;
    border: solid 4px #083971;
  }
  .modal section {
    position: relative;
  }

  .closebtn {
    cursor: pointer;
    text-indent: center;
    width: 25px;
    height: 25px;
    position: absolute;
    top: 0px;
    right: 0px;
    text-indent: -9999px;
    background: #083971 url(../img/work/index/close.png) no-repeat 50% 50%;
    background-size: 15px;
  }

  #menuButton {
    display: block;
    width: 42px;
    height: 42px;
    position: fixed;
    top: 2px;
    right: 10px;
    z-index: 300;
  }

  #menuButton span {
    display: block;
    background: #666;
    width: 24px;
    height: 2px;
    position: absolute;
    left: 9px;
    transition: all 0.4s;
    -webkit-transition: all 0.4s;
    -moz-transition: all 0.4s;
  }

  #menuButton span:first-child {
    top: 12px;
  }

  #menuButton span:nth-child(2) {
    margin-top: -1px;
    top: 50%;
  }

  #menuButton span:last-child {
    bottom: 12px;
  }

  #menuButton.active span {
    color: white;
    background: white;
  }

  #menuButton.active span:first-child {
    -webkit-transform: translateY(8px) rotate(45deg);
    -moz-transform: translateY(8px) rotate(45deg);
    -ms-transform: translateY(8px) rotate(45deg);
    transform: translateY(8px) rotate(45deg);
  }

  #menuButton.active span:nth-child(2) {
    opacity: 0;
  }

  #menuButton.active span:last-child {
    -webkit-transform: translateY(-8px) rotate(-45deg);
    -moz-transform: translateY(-8px) rotate(-45deg);
    -ms-transform: translateY(-8px) rotate(-45deg);
    transform: translateY(-8px) rotate(-45deg);
  }

  aside {
    border-radius: 5px 0 0 5px;
    box-shadow: 2px 2px 5px #333;
    box-sizing: border-box;
    width: 90%;
    display: none;
    position: absolute;
    top: 50px;
    left: 100%;
    z-index: 200;
  }
  aside #headnav {
    border: solid 5px #0d4c93;
    display: block !important;
    box-shadow: 2px 2px 10px #666;
  }
  aside #headnav > li {
    font-size: 16px;
    border-bottom: solid 3px #0d4c93;
  }
  aside #headnav > li a {
    width: 100%;
    display: block;
    padding: 15px;
    background: #0d5bb3;
    color: white;
    padding-left: 50px;
    position: relative;
  }
  aside #headnav > li a span {
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto;
    right: 10px;
    display: inline-block;
    width: 10px;
    height: 20px;
    background: url(../img/sp/common/arrow.png) no-repeat 95% 50%;
    background-size: 100%;
  }
}
