body {
    font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", YuGothic, "ヒラギノ角ゴ ProN W3", Hiragino Kaku Gothic ProN, Arial, "メイリオ", Meiryo, sans-serif !important;
}
/*何かChromeでselectがおかしくなってしまった*/
select {
    background: #fff !important;
    font-size: 1em !important;
    padding:2px !important;
    margin-right:2px !important;
    border: 1px solid #ccc !important;
    border-radius: 3px !important;
}

#app {
    /*min-height: calc(100vh - 274px);/*footer_areaのmargin-top+height */
    min-height: 100vh;
}

#footer_area {
    padding: 1vh 3vw 1vh;
    background: #434343;
    border-top: 1px solid #d3e0e9;
    font-size: 14px;
    margin-top: 5vh;
}
#footer_logo {
    margin-top: 1vh;
    text-align: center;
}
#footer_logo img {
    width:180px;
    max-width: 40vw;
    backface-visibility: hidden;
}
#thisbook{
    color: #fff;
    margin:10px 0 30px;
    text-align:center;
}
#footer_menu {
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    max-width: 50vw;
    margin: 0 auto;
}
#footer_share {
    display:flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    margin-bottom: 20px;
}
@media screen and (max-width:480px) {
    #footer_menu {
    max-width: 90vw;
    }
}
#footer_menu p {
    text-align:center;
}
#footer_menu p a {
    line-height: 1.8em;
    color: #fff;
}
#cright {
    text-align: center;
    background: #434343;
    color: #fff;
}
.mb0 {margin-bottom:0 !important;}
.mb-1, .mb1 {margin-bottom: 1em !important;;}
.mb-2, .mb2 {margin-bottom: 2em;}
.mb-3, .mb3 {margin-bottom: 3em;}
.mb5 {margin-bottom: 5px;}
.mb-5 {margin-bottom: 5em;}
.mb10 {margin-bottom: 10px;}
.mb20 {margin-bottom: 20px;}
.mb30 {margin-bottom: 30px;}
.mb60 {margin-bottom: 60px;}
.mt-1, .mt1 {margin-top: 1em;}
.mt-15, .mt15 {margin-top: 1.5em;}
.mt10 {margin-top: 10px;}
.mt30 {margin-top: 30px;}
.mt-2, .mt2 {margin-top: 2em;}
.mt-3, .mt3 {margin-top: 3em;}
.mt5 {margin-top: 5px;}
.mg10 {margin: 10px;}
.ml5 {margin-left: 5px;}
.ml10 {margin-left: 10px;}
.ml15 {margin-left: 15px;}
.ml20 {margin-left: 20px;}
.ml30 {margin-left: 30px;}
.mg5 {margin:5px !important;}
.mr5 {margin-right:5px !important;}
.mr10 {margin-right:10px !important;}
.pt0 {padding-top:0 !important;}
.pt10 {padding-top:10px !important;}
.pad10 {padding:10px;}
.pad15 {padding:15px;}
.pad30 {padding:30px;}
.font12 {font-size: 12px !important;}
.font13 {font-size: 13px !important;}
.font14 {font-size: 14px !important;}
.font16 {font-size: 16px !important;}
.font18 {font-size: 18px !important;}
.font20 {font-size: 20px !important;}
.font22 {font-size: 22px !important;}
.font24 {font-size: 24px !important;}
.font26 {font-size: 26px !important;}
.font28 {font-size: 28px !important;}
.font30 {font-size: 30px !important;}
.flex {display: flex;}
.flex-center {align-items: center;}
.left {text-align: left;}
.right {text-align: right;}
.center {text-align: center !important;}
.vm {vertical-align: middle !important;}
.bold {font-weight: 700;}
.bordernone {border: none !important;}
.inlineb {display: inline-block;}
.w100 {width: 100%;}
.under {background: linear-gradient(transparent 50%, yellow 50%);}
.color333 {color:#333;}
.lineh-13 {line-height:1.3em;}
.lineh-15 {line-height:1.5em;}
.bg-white {background-color: #fff !important;}
table.serch_period {
    /*検索期間指定*/
    line-height: 3em;
    margin-bottom: 15px;
}
.hissu {
    background: #FF9800;
    padding: 3px;
    color: #ffffff;
    font-size: 12px;
    margin-left: 5px;
}
.nini {
    background: #979797;
    padding: 3px;
    color: #ffffff;
    font-size: 12px;
    margin-left: 5px;
}
.left {
    text-align: left;
}
.price {
    color: #e84327;
    margin: 5px 0 0;
}
.pricered {
    color: #e84327;
}
.bold {
    font-weight: 700;
}
.black {
    color: #636b6f;
}
.warning {
    color: #8a6d3b;
}
.danger {
    color: #a94442;
}
.red {color:#e80000;}
.orange {color: #fb7f00;}

/*アカウントのアイコン画像*/
.iconimg {
    width: 80px;
}

/*新しいウィンドウで開く画像*/
.newwindow {
    width: 12px;
}

p#filename {
    font-size: 20px;
    text-align: left;
    margin-bottom: 20px;
}
/*ヘッダーのロゴ*/
#header_logo {
    padding:5px 0 0;
}
#logo_exp {
    margin:0 0 0 -15px;
    font-size:12px;
    color: #333;
}
.logo {
    width: 188px;
    backface-visibility: hidden;
}
.navbar-right {
    margin-top:5px;
}

.flex_base {
    display: flex;
    align-items: baseline;
}

.flex_center {
    display: flex;
    align-items: center;
    justify-content: center;
}

a.disablestate {
    text-decoration: none;
    cursor: default;
    color: #ccc;
    cursor: not-allowed;
}

.dropdown-menu strong {
    padding-left: 8px;
    padding-top: 10px;
    display: inline-block;
}

.navli {
    /** ナビゲーションヘッダー内のli **/
    padding: 8px;
}
.nav>li>a {
    padding: 8px
}
/************************
    リモーダル共通
*************************/
.remodal h1 {
    text-align: left;
    font-size: 32px;
    margin-bottom: 20px;
    margin-top: 0;
}

div.modal-explain {
    text-align: left;
    margin-bottom: 20px;
}

div#detail_notite {
    border: 3px solid #78b05d;
    padding: 10px;
    margin-bottom: 20px;
    display: none;
    font-weight: 700;
    font-size: 20px;
}

/******************************************
       ブック詳細のリモーダル
*******************************************/

.remodal #book_image {
    border: 1px solid #ddd;
    max-width: 150px;
    max-width: 150px;
    box-shadow: 2px 2px #ddd;
    margin-bottom: 20px;
}

.book_detail {
    width: 375px;
}

#book_detail_div {
    display: flex;
    justify-content: space-around;
}

/*ビューワー全面広告*/
#ad_remodal {
    padding: 20px 0 30px!important;
}
#ad_remodal h3 {
    font-size: 1.5em;
}
@media screen and (max-width:480px) {
    .book_detail {
        width: 100%;
    }

    #book_detail_div {
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
    }
}

/******************************************
       ローディング
*******************************************/
#kurukuru {
    display: none;
    position: fixed;
    top: 40%;
    left: calc(50%-130px);
    left: -webkit-calc(50% - 130px);
    background: #ffffff;
    padding: 10px;
    border-radius: 10%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    border: 1px solid #ccc;
    text-align: center;
}

.midasi {
    background: #fffbf4;
    /*背景色*/
    color: #364e96;
    /*文字色*/
    padding: 0.5em 0;
    /*上下の余白*/
    border-top: solid 2px #fcd69e;
    /*上線*/
    border-bottom: solid 2px #fcd69e;
    /*下線*/
}

.sns_login {
    margin: 10px auto 20px;
    padding-bottom: 30px;
    border-bottom: 1px solid #d3e0e9;
}

.sns_login a,
.sns_regist a {
    max-width: 350px;
    margin: 0 auto;
}

.sns_regist {
    margin: 10px auto 20px;
    padding-bottom: 30px;
    border-bottom: 1px solid #d3e0e9;
}

#regist_note {
    text-align: center;
    padding: 10px 0 20px;
}

.btn-line,
.btn-line:visited {
    background: #00c300;
    color: #fff;
}

.btn-line:hover {
    background: #00e000;
    color: #fff;
}

.to_home {
    font-weight: 700 !important;
    padding-left: 8px !important;
}

.tokusyou-dody {
    padding: 30px 50px 10px;
}

#itakuexpl {
    margin: 50px 0;
}
#itakuexpl th,
#itakuexpl td {
    padding: 15px;
    font-size: 16px;
}
.stripe-logo {
    color: #32325d;
}
.furikomi {
    max-width: 50%;
}
@media (min-width: 1200px) {
    .navbar-right {
        position: absolute;
        top: 10px;
        right: 30px;
    }
}
@media (max-width: 1200px) {
    .navbar-right {
        margin-top: -15px !important;
    }
}
.toji_select {
    display: flex;
    align-items: flex-start;
    flex-direction: row;
    justify-content: space-evenly;
}
.toji_select img {
    width: 120px;
    margin: 10px 0;
}
.toji_option {
    display: block;
    cursor: pointer;
    font-size: 18px;
    text-align: center;
}
.toji_option p {
    font-weight: normal;
}
.switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 26px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: .3s;
  border-radius: 34px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: .3s;
  border-radius: 50%;
}

input:checked + .slider {
  background-color: #337ab7;
}

input:checked + .slider:before {
  transform: translateX(24px);
}
/**************************************
         以下スマホ向け
**************************************/
@media screen and (max-width:480px) {
    #footer_logo {
        margin-top: 3vh;
    }
    #thisbook{
        color: #fff;
        margin:3vh 0 3vh;
    }
    #logo_exp {
        margin:0 0 0 5px;
        font-size:0.8em;
        color: #333;
        max-width: 75vw;
    }
    #header_logo {
        padding:5px 0 0 5px;
    }
    .sns-share {
        margin-top: 50px;
        width: 100%;
    }
    #regist_note {
        text-align: left;
        padding: 0;
    }
    #app-navbar-collapse li.dropdown {
        display: inline-block;
        vertical-align: top;
    }
    .navbar-right {
        display: flex;
        flex-wrap: wrap;
        -webkit-box-pack: end;
        -ms-flex-pack: end;
        justify-content: flex-end;
    }
    .navli {
        display: none !important; /*ようこそ〇〇さん*/
    }
    /*スマホのメニューをプルダウンに変更*/
    .navbar-collapse.in {
        overflow-y: visible;
    }
    .navbar-nav .open .dropdown-menu {
        position: absolute;
        border: 1px solid #eee;
        background: #ffffff;
    }
    #footer_share {
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }
    .furikomi {
        max-width: 95%;
    }
    .toji_option p {
        font-size: 14px;
    }
}
.in_set {
    background: #f6f6f6;
}