/*--------------------
  common
--------------------*/
* {
  box-sizing: border-box;
}

body {
  background-image: url(../img/top/bg_top.png);
  font-family: sans-serif;
  font-size: 14px;
  line-height: 1.8;
  -webkit-text-size-adjust: 100%;
}

body.is_open {
  position: relative;
}

@media screen and (max-width:768px) {
  html {
    height: 100%;
    overflow: auto;
  }

  body.is_open {
    height: 100%;
    overflow: hidden;
  }
}

.bg_menu_open {
  background-color: rgba(0, 0, 0, .4);
  content: '';
  display: block;
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 4;
}

img {
  height: auto;
  max-width: 100%;
  vertical-align: bottom;
}

a {
  color: inherit;
  text-decoration: none;
}

.op:hover {
  opacity: .7;
  transition: .5s;
}

.clearfix::after {
  clear: both;
  content: '';
  display: block;
}

@media screen and (max-width:768px) {
  .sp_clearfix::after {
    clear: both;
    content: '';
    display: block;
  }
}

.container {
  margin: 0 auto;
  width: 1000px;
}

@media screen and (max-width:768px) {
  .container {
    margin: 0 10px;
    width: auto;
  }
}

.btn {
  background-color: #d1021c;
  background-image: url(../img/top/bg_btn.png);
  border-radius: 10px;
  display: inline-block;
  height: 40px;
  line-height: 40px;
}

.btn a {
  display: block;
  height: 100%;
  padding: 0 20px;
}

.btn span {
  background-image: url(../img/common/icon_arrow01.png);
  background-position: right center;
  background-repeat: no-repeat;
  display: block;
}

.btn_return span {
  background-image: url(../img/common/icon_arrow02.png);
  background-position: left center;
}

.btn img {
  vertical-align: middle;
}

@media screen and (max-width:768px) {
  .btn span {
    background-image: url(../img/common/sp/icon_arrow01_sp.png);
    background-size: 11px auto;
  }

  .btn_return span {
    background-image: url(../img/common/sp/icon_arrow02_sp.png);
  }

  .btn span::before {
    background-repeat: no-repeat;
    background-size: contain;
    content: '';
    display: inline-block;
    vertical-align: middle;
  }

  .btn_return span::before {
    background-image: url(../img/detail/sp/txt_btn_return_sp.png);
    height: 24px;
    width: 138px;
  }

  .btn img {
    display: none;
  }
}

.sec_tit {
  margin-bottom: 10px;
}

@media screen and (max-width:768px) {
  .sec_tit img {
    display: none;
  }

  .sec_tit {
    background-position: center top;
    background-repeat: no-repeat;
    background-size: contain;
  }
}

.txt_box {
  overflow: hidden;
  width: 500px;
}

.txt_box.right {
  margin-left: 500px;
}

.txt_box .btn {
  display: block;
  float: right;
  margin-top: 25px;
  width: 290px;
}

@media screen and (max-width:768px) {
  .txt_box {
    width: 100%;
  }

  .txt_box.right {
    margin: 0;
  }

  .txt_box .btn {
    display: block;
    float: none;
    margin: 15px auto 0;
    width: 260px;
  }

  .txt_box .btn span::before {
    background-image: url(../img/top/sp/txt_btn_readmore_sp.png);
    height: 15px;
    width: 68px;
  }
}

/*--------------------
  header
--------------------*/
.header {
  background-image: url(../img/top/h_bg.png);
  background-position: center top;
  background-repeat: no-repeat;
}

.header.page {
  height: 430px;
}

.header.list {
  height: 590px;
}

.header.list, .header.detail {
  background-image: url(../img/list/h_bg.png);
  background-position: left top;
}

.header.shop {
  background-image: url(../img/shop/h_bg.png);
  background-position: center top;
}

.header.howto {
  background-image: url(../img/howto/h_bg.png);
  background-position: left top;
}

.header.about {
  background-image: url(../img/about/h_bg.png);
  background-position: center top;
}

.header.tanbou {
  background-image: url(../img/list/h_bg.png);
  background-position: left top;
}

.header .logo_jr {
  left: 20px;
  position: absolute;
  top: 20px;
  z-index: 11;
}

.header .inner {
  padding: 224px 0 105px;
  text-align: center;
}

.header.page .inner {
  padding: 25px 0 0;
}

.header .inner h1 {
  margin-bottom: 10px;
}

.header .inner p.date {
  margin-bottom: 15px;
}

.header .inner p.copy {
  margin-bottom: 20px;
}

@media screen and (max-width:768px) {
  .header {
    background-image: url(../img/top/sp/h_bg_sp.png);
    background-size: cover;
  }

  .header.page {
    background-position: center center;
    background-size: cover;
    height: auto;
    position: relative;
  }

  .header.page::before {
    background-repeat: no-repeat;
    background-size: 300px auto;
    content: '';
    display: block;
    left: 50%;
    margin-left: -150px;
    position: absolute;
    top: 70px;
    width: 300px;
  }

  .header.list {
    background-image: url(../img/list/sp/h_bg_sp.png);
  }

  .header.list::before {
    background-image: url(../img/list/sp/h_page_title_sp.png);
    background-size: 300px auto;
    content: '';
    display: block;
    height: 177px;
    left: 50%;
    margin-left: -150px;
    position: absolute;
    top: 70px;
    width: 300px;
  }

  .header.detail {
    background-image: url(../img/detail/sp/h_bg_sp.png);
  }

  .header.detail::before {
    background-image: url(../img/list/sp/h_page_title_sp.png);
    height: 177px;
  }

  .header.shop {
    background-image: url(../img/shop/sp/h_bg_sp.png);
  }

  .header.shop::before {
    background-image: url(../img/shop/sp/h_page_title_sp.png);
    height: 174px;
  }

  .header.howto {
    background-image: url(../img/howto/sp/h_bg_sp.png);
  }

  .header.howto::before {
    background-image: url(../img/howto/sp/h_page_title_sp.png);
    height: 174px;
  }

  .header.about {
    background-image: url(../img/about/sp/h_bg_sp.png);
  }

  .header.about::before {
    background-image: url(../img/about/sp/h_page_title_sp.png);
    height: 176px;
  }

  .header.tanbou {
    background-image: url(../img/detail/sp/h_bg_sp.png);
  }

  .header.tanbou::before {
    background-image: url(../img/tanbou/sp/h_page_title_sp.png);
    height: 176px;
  }

  .header .logo_jr {
    background-image: url(../img/common/sp/logo_jr_sp.png);
    background-repeat: no-repeat;
    background-size: contain;
    height: 37px;
    left: 10px;
    position: fixed;
    top: 10px;
    width: 50px;
  }

  .header .logo_jr img {
    display: none;
  }

  .header .inner {
    padding: 125% 0 0;
  }

  .header.page .inner {
    height: 270px;
    padding: 0;
  }

  .header.list .inner {
    height: 425px;
    padding: 0;
  }

  .header .inner h1, .header .inner p {
    display: none;
  }
}

/*--------------------
  globalnavi
--------------------*/
.drawer {
  display: table;
  height: 100%;
  position: fixed;
  right: 0;
  top: 0;
  width: 400px;
  z-index: 10;
}

@media screen and (max-width:768px) {
  .drawer {
    display: block;
    height: auto;
    width: 100%;
  }

  .drawer.is_open {
    height: 100%;
  }
}

.globalnavi {
  background-color: rgba(255, 255, 255, .9);
  display: table-cell;
  vertical-align: top;
  width: 340px;
}

.globalnavi .main ul li {
  border-top: #b89540 1px solid;
  line-height: 40px;
  text-align: center;
}

.globalnavi .main ul li:last-child {
  border-bottom: #b89540 1px solid;
}

.globalnavi .main ul li a {
  display: block;
}

.globalnavi .main ul li.logo {
  border: none;
  line-height: 1;
  padding: 18px 0;
}

.globalnavi .main ul li.logo a {
  display: inline-block;
}

.globalnavi .sub {
  margin-top: 9px;
}

.globalnavi .sub ul {
  font-size: 0;
  text-align: center;
}

.globalnavi .sub ul li {
  display: inline-block;
  margin: 0 9px;
}

@media screen and (max-width:768px) {
  .globalnavi {
    clear: both;
    display: block;
    height: 100%;
    width: 100%;
  }

  .globalnavi nav {
    height: 100%;
    overflow-y: scroll;
    padding-bottom: 67px;
  }

  .globalnavi .main ul li.logo a {
    background-image: url(../img/common/sp/img_menu_logo_sp.png);
    background-repeat: no-repeat;
    background-size: contain;
    height: 42px;
    width: 150px;
  }

  .globalnavi .main ul li.logo img {
    display: none;
  }

  .globalnavi .sub ul li {
    margin: 0 7px;
  }

  .globalnavi .sub ul li img {
    display: none;
  }

  .globalnavi .sub ul li.tw a {
    background-image: url(../img/common/sp/icon_twitter_sp.png);
    background-repeat: no-repeat;
    background-size: contain;
    display: inline-block;
    height: 21px;
    width: 21px;
  }

  .globalnavi .sub ul li.fb a {
    background-image: url(../img/common/sp/icon_facebook_sp.png);
    background-repeat: no-repeat;
    background-size: contain;
    display: inline-block;
    height: 21px;
    width: 21px;
  }
}

.btn_menu {
  background-color: rgba(255, 255, 255, .8);
  display: table-cell;
  position: relative;
  text-align: center;
  vertical-align: top;
  width: 60px;
}

.btn_menu .icon {
  background-color: rgba(48, 48, 48, .8);
  cursor: pointer;
  height: 60px;
  position: relative;
  width: 60px;
}

.btn_menu .icon .inner {
  bottom: 0;
  height: 18px;
  left: 0;
  margin: auto;
  position: absolute;
  right: 0;
  top: 0;
  width: 36px;
}

.btn_menu .icon span {
  background: #fff;
  display: block;
  height: 2px;
  left: 0;
  position: absolute;
  transition: all .3s;
  width: 100%;
}

.btn_menu span:nth-of-type(1) {
  top: 0;
}

.btn_menu span:nth-of-type(2) {
  top: 8px;
}

.btn_menu span:nth-of-type(3) {
  bottom: 0;
}

.btn_menu .icon.is_open span:nth-of-type(1) {
  transform: translateY(7px) rotate(-45deg);
}

.btn_menu .icon.is_open span:nth-of-type(2) {
  opacity: 0;
}

.btn_menu .icon.is_open span:nth-of-type(3) {
  transform: translateY(-9px) rotate(45deg);
}

.btn_menu .menu_title {
  margin-top: 20px;
}

.btn_menu .pagetotop {
  bottom: 20px;
  left: 0;
  position: absolute;
  text-align: center;
  width: 60px;
}

@media screen and (max-width:768px) {
  .btn_menu {
    display: block;
    height: 57px;
    position: static;
    width: 100%;
  }

  .btn_menu .icon {
    background-image: url(../img/common/sp/txt_btn_menu_sp.png);
    background-position: 30px center;
    background-repeat: no-repeat;
    background-size: 49px auto;
    height: 35px;
    position: absolute;
    right: 10px;
    top: 10px;
    width: 85px;
  }

  .btn_menu .icon .inner {
    height: 15px;
    margin: auto 5px;
    width: 20px;
  }

  .btn_menu span:nth-of-type(2) {
    top: 6px;
  }

  .btn_menu .icon.is_open span:nth-of-type(1) {
    transform: translateY(6px) rotate(-45deg);
  }

  .btn_menu .icon.is_open span:nth-of-type(3) {
    transform: translateY(-7px) rotate(45deg);
  }

  .btn_menu .menu_title {
    display: none;
  }

  .btn_menu .pagetotop {
    bottom: 10px;
    left: auto;
    position: fixed;
    right: 10px;
    width: 30px;
  }
}

/*--------------------
  footer
--------------------*/
.footer {
  background-color: #303030;
  color: #fff;
  font-size: 12px;
  padding: 15px 0;
}

.footer p.copyright {
  border-top: #fff 1px solid;
  margin-top: 15px;
  padding-top: 15px;
  text-align: center;
}
