.pad10 {padding: 10px !important;}
.pad20 {padding: 20px !important;}
.pad30 {padding: 30px !important;}
.pt30 {padding-top: 30px !important;}
.pl20 {padding-left: 20px !important;}
.pl30 {padding-left: 30px !important;}
.pb30 {padding-bottom: 30px !important;}
.mt20 {margin-top: 20px !important;}
.mt30 {margin-top: 30px !important;}
.ml30 {margin-left: 30px !important;}
.ml50 {margin-left: 50px !important;}
.mg30 {margin:30px !important;}
.mt1 {margin-top:1em !important;}
.mt2 {margin-top:2em !important;}
.mt3 {margin-top:3em !important;}
.mb1 {margin-bottom: 1em !important;}
.mb2 {margin-bottom: 2em !important;}
.mb3 {margin-bottom: 3em !important;}
.font20 {font-size:20px;}
.backyellow {display:inline-block;background:yellow;padding:10px !important;}
.accordion a:hover {text-decoration: none;}
.bg-gray {background-color:#fafafa;}
img {max-width:100%;}
body {
  font-size: 16px;
  color: #333;

}
.panel-body * {
  margin: 0;
}
.accordion {
  width: 97%;
  margin: 20px auto;
}
.accordion h1, h2, h3, h4 {
  cursor: pointer;
}
.accordion h2, h3, h4 {
  font-family: "News Cycle";
}
.accordion h1 {
  padding: 15px 20px;
  background-color: #35ab49;
  font-family: Lobster;
  font-size: 1.4em;
  font-weight: normal;
  color: #fff;
}
.accordion h1:hover {
  color: yellow;
}
.accordion h1:first-child {
  border-radius: 3px 3px 0 0;
}
.accordion h1:last-of-type {
  border-radius: 0 0 3px 3px;
}
.accordion h1:not(:last-of-type) {
  border-bottom: 1px dotted #999;
}
/*.accordion div, .accordion p {
  display: none;
}*/
.accordion .autohide {
  display: none;
}
.accordion h2 {
  padding: 25px 25px;
  background-color: #f0f0f0;
  font-size: 1.3em;
  color: #333;
  cursor: pointer;
}
.makebook h2 {
  padding: 15px 25px;
}
.accordion h2:hover {
  background-color: #dff0d8 !important;
}
.accordion h3 {
  padding: 25px 25px;
  background-color: #f0f0f0;
  font-size: 1.3em;
  color: #333; 
}
.accordion h3:hover {
  background-color: #fff !important;
}
.accordion h4 {
  padding: 5px 35px;
  background-color: #ffc25a;
  font-size: .9rem;
  color: #af720a; 
}
.accordion h4:hover {
  background-color: #e0b040;
}
.accordion p:not(.computation p):not(#sec2-100 p) {
  padding: 25px 0;
  background-color: #fff;
  font-size: 1em;
  color: #333;
}
.accordion .opened {
  display: block;
}
.accordion img {
    max-width: 100%;
}
.accordion .bunsyou {
  padding: 25px 35px;
  background-color: #fff;
}
#word_template {
    margin: 30px auto 30px;
    padding: 30px;
    font-size: 1em;
    line-height: 1.8em;
    border: 2px solid #ffbf4b;
}
#word_tpl_title {
    text-align: center;
    margin-bottom: 30px;
    font-weight: bold;
}
#dlling {
    margin: 1em auto 0;
    text-align: center;
    font-size: 1.2em;
}
#simresult {
    background: #fff;
    padding: 30px;
}
#simresult #sizefig{
    text-align: center;
}
.kakudai {
  margin-top: 30px;
  margin-bottom: 30px;
  text-align: center;
}
.calcresult {
    margin-top: 15px;
    margin-bottom: 30px;
    text-align: center;
    font-weight: bold;
    font-size: 24px;
}
#result_table {
    height:100%;
}
#result_table td {
    vertical-align: middle;
}
#result {
    max-width: 600px;
    margin:0 auto;    
}
#simresult #cover_size, #mihiraki_size, #back_width,
#simresult #bookcover_size, #simresult #flap_size, #simresult #book_size, 
#simresult #back_width {
    font-size: 2em;
    font-weight: 700;
    line-height: 1.2em;
}
#mihiraki_size_px {
    font-size: 1.4em;
    font-weight: 700;
    line-height: 1.2em;
    color:#cc3300;
}
#cover_size_px {
  color:#ff9a03;
  font-size:1.2em;
  margin-top: 10px;
}
#back_width_px {
  color:#0000ff;
  font-size:1.2em;
}
#bookcover_back_width_px {
  font-size:1.2em;
  color: #ff10ff;
}
#bookcover_size_px{
    font-size: 1.4em;
    font-weight: 700;
    line-height: 1.2em;
    color:#0000ff;
}
#book_size_px {
  color:rgb(0, 153, 51);
  font-size:1.2em;
  margin-top: 10px;
}

#simresult td {
    padding: 15px;
}
.nuritasi_note, #nuritasi_note {
    font-weight: normal;
    line-height: 1.3em;
    font-size: 0.9em;
    margin-top: 15px;
}
#backnote {
    font-size: 0.9em;
    font-weight: normal;
    line-height: 1.3em;
}
#profile_note {
    margin: 30px auto;
    padding: 15px;
    font-size: 1em;
    line-height: 1.8em;
    border: 2px solid #ffbf4b;
}
#profile_title {
    font-size: 1em;
    font-weight: bold;
}
#profile_cont {
    margin:30px;
    text-align:center;
    font-size: 1em;
    line-height: 2em;
    text-align: left;
    display:none;
}
#profile_fig {
    padding: 3em 0;
    background: #fff;
    display: table;
    margin: 3em auto 2em;
}
#coversizesim, #coveruploadform {
    padding: 20px;
    max-width: 800px;
    margin: 0 auto;
    border: 1px solid #ccc;
    text-align: left;
}
#coversizesim #ul, #coveruploadform #coveruploadselect {
    padding-left: 0;
}
#coversizesim li, #coveruploadform #coveruploadselect li {
    list-style: none;
    margin-bottom: 1em;
}
#coversizesim .formtitle, #coveruploadform .formtitle {
    font-weight: bold;
    margin-bottom: 0.4em;
}
.nini_input {
    background: #fff;
    padding: 10px;
    display: none;
    font-size: 14px;
}
/*ブックカバー*/
.bkspecbox {
    background: #efefef !important;
    width: 330px;
    padding: 15px 25px 25px !important;
    margin: 25px auto 0;
    text-align: left;
    color: #333;
}
.bkspecbox .title {
    font-size: 16px;
    font-weight: bold;
    display: block;
    text-align: center;
    margin-bottom: 10px;
}
.remodal {
    font-size: 14px;
}
/* ハードカバー */
#hdsim th {
  vertical-align: middle;
}
#hdsim td {
  padding: 15px 0 15px 15px;
}
.hdflow {
  background: #ebf6e9;
  border: 1px solid #ccc;
  border-radius: 5px;
  width: 800px;
  max-width: 100%;
  padding: 10px;
  font-size: 22px;
}
/* word */
.wordpanel {
  padding-left: 30px;
}
/*　初めて本を作成される方　*/
.bunsyou {
  padding: 25px 35px;
}
.pdf_spec {
  width: 75%;
  margin: 0 auto;
}
#sec2-100  {
text-align: left !important;
}
#sec2-100 ul {
  font-size:14px;
}
#sec2-100 .each_waku {
  width: 270px;
  margin: 0 auto 40px;
}
#sec2-9 .free_title {
  padding-left: 34px;
}
#sec2-7 .free_title {
  padding-left: 36px;
}
.accordion .bunsyou h4 {
  padding: 15px 15px;
  background-color: #ebf6e9;
  font-size: 1.3em;
  color: #333;
  margin-bottom: 15px;
}
#sec2-15-top .title {
  font-size: 20px;
}
.sq-num {
  display: inline-block;
  width: 1em;
  height: 1em;
  line-height: 1em;
  border: 1px solid;
  text-align: center;
  vertical-align: middle;
  font-size: 0.8em;
}
.result_title {
  font-weight:bold;
  font-size:18px;
}
.hojyosen {
  font-size: 20px;
  text-align: left;
}
.guide_note {
  margin-top: 10px;
  font-size: 0.9em;
}
.tonbo_note {
    max-width: 600px;
    margin: 30px auto;
    font-weight: bold;
    text-align: left;
}
.calc_result {
  margin-left: 30px;
}
.navbar-nav>li {
  font-size:14px;
}
.book-note {
  font-size: 0.9em;
  display: inline-block;
  margin-top:10px;
}
/* スマホ */
@media screen and (max-device-width: 480px) {
    .accordion {
      width: 100%
    }
    #simresult {
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        padding: 15px;
    }
    #result {
        margin-left: 0;
    }
    #result_table {
        height:auto;
    }
    #profile_cont {
        margin: 30px 0;
    }
    #profile_fig img {
        width: 100%;
    }
    #profile_fig {
        padding: 10px;
    }
    .computation ul {
        padding: 0;
    }
    img {
        max-width: 100%;
    }
    .wordpanel {
      padding-left: 0;
    }
    .wordpanel img {
      max-width: 90%;
    }
    .pdf_spec {
      width: 98%;
      margin: 0 auto;
    }
    .accordion .bunsyou {
      padding: 25px 15px;
      background-color: #fff;
    }
    .result_title {
      font-size:16px;
    }
    #simresult #cover_size, #mihiraki_size, #back_width,
    #simresult #bookcover_size, #simresult #flap_size, #simresult #book_size, 
    #simresult #back_width {
        font-size: 22px;
    }
    .hojyosen {
      font-size: 16px;
    }
    .guide_note {
      font-size: 0.8em;
    }
    .calc_result {
      margin-left: 0;
    }
    .kakudai {
      margin-top: 15px;
    }
}