@charset "UTF-8";
/* CSS Document */

main {
    max-width: 480px;
    box-shadow: 0 0 40px rgba(0,0,0,0.15);
    margin: 0 auto;
    border-right: 1px solid #fff;
    border-left: 1px solid #fff;
}

section.fv {
    position: relative;
}

footer {
    max-width: 480px;
    margin: 0 auto;
    background: #000;
    box-shadow: 0 0 40px rgba(0,0,0,0.15);
    padding: 30px 0 160px;
}

small {
    color: #fff;
    font-size: 1rem;
    text-align: center;
    display: block;
}

footer img {
    width: 30%;
    margin: 0 auto 20px;
}

.fixed_btn {
    position: fixed;
    z-index: 999;
    margin: 0 auto;
    display: block;
    left: 50%;
    max-width: 480px;
    bottom: 0;
    background: rgba(0,0,0,0.6);
    margin-left: -240px;
}

.fixed_btn a {
    display: block;
    max-width: 100%;
    position: relative;
    padding: 10px 5%;
    overflow: hidden;
    margin: 0 auto;
}

section.tokuten_small {
    position: relative;
}

section.tokuten_small a {
    position: absolute;
    bottom: 5%;
    width: 90%;
    left: 5%;
}

section.fv a {
    position: absolute;
    bottom: 5%;
    width: 90%;
    left: 5%;
}

section.flow {
    position: relative;
}

section.flow a {
    position: absolute;
    width: 90%;
    left: 5%;
    bottom: 7%;
}

footer a {
    display: block;
    text-align: center;
    color: #888;
    font-size: 11px;
    margin: 20px 0;
}

.modal-wrapper {
  z-index: 999;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 60px 10px;
  text-align: center
}

.modal-wrapper:not(:target) {
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s, visibility .3s;
}

.modal-wrapper:target {
  opacity: 1;
  visibility: visible;
  transition: opacity .4s, visibility .4s;
}

.modal-wrapper::after {
  display: inline-block;
  height: 100%;
  margin-left: -.05em;
  vertical-align: middle;
  content: ""
}

.modal-wrapper .modal-window {
  box-sizing: border-box;
  display: inline-block;
  z-index: 99999;
  position: relative;
  width: 90%;
  max-width: 440px;
  padding: 30px 30px 15px;
  border-radius: 2px;
  background: #fff;
  box-shadow: 0 0 30px rgba(0, 0, 0, .6);
  vertical-align: middle
}

.modal-wrapper .modal-window .modal-content {
  max-height: 80vh;
  overflow-y: auto;
}

.modal-overlay {
  z-index: 10;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(0, 0, 0, .8)
}

.modal-wrapper .modal-close {
  z-index: 20;
  position: absolute;
  top: 0;
  right: 0;
  width: 35px;
  color: #95979c !important;
  font-size: 20px;
  font-weight: 700;
  line-height: 35px;
  text-align: center;
  text-decoration: none;
  text-indent: 0
}

.modal-wrapper .modal-close:hover {
  color: #2b2e38 !important
}

p.modal_text {
    text-align: left;
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.modal_title {
    font-weight: bold;
    margin: 0 0 20px 0;
}

/*---------------------------------------------------------------*\
	$480px
\*---------------------------------------------------------------*/
@media screen and (max-width: 480px) {
	
main {
    border-right: none;
    border-left: none;
}

header {
    border-right: none;
    border-left: none;
}

footer {
    border-right: none;
    border-left: none;
}
	
.fixed_btn {
    max-width: 100%;
    margin-left: -50%;
}
	
}