.mt0 {
    margin-top:0 !important;
}
.container {
    font-size: 16px;
    background: #fff;
}
.selfpub_sec1{
    text-align:center;
    font-size:2em;
    color: #333;
    font-weight: bold;
    margin-top: 30px;
    margin-bottom: 30px;
}
.selfpub_sub_explain {
    font-size: 1.5em;
    color: #444;
    text-align: center;
}
.selfpub_waku {
    width: 80%;
    margin:50px auto;
    font-size:1.4em;
}
.seflpub_title {
    font-size: 1.2em;
    font-weight: bold;
    text-align: center;
    margin: 10px 0 50px !important;
}
li {
    list-style: none;
    line-height: 2.3em;
}
#selfpub_sample_div {
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
   justify-content: center;
}
#selfpub_sample1, #selfpub_sample2 {
    width:38%;
    height:500px;
    overflow:hidden;
    display: inline-block;
    vertical-align: top;
    background: #fff;
}
#selfpub_sample1 {
    margin-right: 20px;
}
/*** 製本スライダー ***/

.swiper-container {
  margin-left: auto;
  margin-right: auto;
}
.swiper-container .swiper-slide {
  background-size: cover;
  background-position: center;
}
.swiper-slide-content {
    color: #fff;
    text-align: center;
    font-size: 22px;
    bottom: 0;
    width: 100%;
    position: absolute;
    background: #333;
    opacity: 0.6;
}
.gallery-top, .gallery-top2 {
  height: 70%;
  width: 100%;
}
.gallery3 {
  height: 70%;
  width: 80%;
  overflow: hidden;
}
.gallery-thumbs, .gallery-thumbs2 {
  height: 15%;
  box-sizing: border-box;
  padding: 10px 0;
}
.gallery-thumbs .swiper-slide, .gallery-thumbs2 .swiper-slide {
  width: 25%;
  height: 100%;
  opacity: 0.4;
}
.gallery-thumbs .swiper-slide-thumb-active, .gallery-thumbs2 .swiper-slide-thumb-active {
  opacity: 1;
}
.swiper-button-next {
    top: 0px;
    right: 10px;
    background-image: none;
    font-size: 35px;
}
.swiper-button-prev {
    top: 0px;
    left: 0;
    background-image: none;
    font-size: 35px;
}

.eachbook {
    text-align:center;
    color: #333;
    width: 80%;
    max-width:600px;
}
.eachbook img {
    width: 100%;
}
.eachbook a {
    color: #333;
}
.eachbook p {
    margin:0;
}
.eachbook p.author {
    cursor: pointer;
    color: #3097d1;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    -o-text-overflow: ellipsis;
    margin: 0 auto;
    font-size: 14px;
}
.eachbook p.author:hover {
    text-decoration: underline;
}
.eachbook .book_name {
    font-size: 18px;
    font-weight: 700;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    -o-text-overflow: ellipsis;
    color: #555;
    margin-top: 1em;
}

/** フローチャート **/
.flowchart {
    padding:30px 50px;
    background: #ffffff;
    border-radius: 5px;
    border: 1px solid #ccc;
    width: 80%;
    margin: 0 auto 30px;
    color: #333;
    text-align: center;
}
.flowchart .alert {
    width:72%;
    margin:0 auto;
    position: relative;
}
.flowchart .badge.customer {
    background: crimson;
    margin-right: 10px;
    display: inline-block;
    position: absolute;
    left: 15px;
    top: 20px;
}
.flowchart .badge.unei {
    background: #4CAF50;
    margin-right: 10px;
    display: inline-block;
    position: absolute;
    left: 15px;
    top: 20px;
}
.yasusa {
    padding: 30px;
}
/* スマホ */
@media screen and (max-device-width: 480px) {
    #selfpub_sample1, #selfpub_sample2 {
        width:100%;
    }
    .selfpub_waku {
        width: 100%;
        margin: 30px auto;
    }
    .selfpub_waku ul {
        padding-left: 0;
    }
    .selfpub_sec1{
        font-size:1.8em;
        line-height: 1.4em;
    }
    .selfpub_sub_explain {
        font-size: 1.3em;
    }
    .flowchart {
        padding: 30px 20px;
        width: 100%;
    }
    .flowchart .alert {
        width: 100%;
        text-align: left;
    }
    .flowchart .badge.customer {
        position: relative;
        left: 0px;
        top: 0px;
    }
    .flowchart .badge.unei {
        position: relative;
        left: 0px;
        top: 0px;
    }
}