#container {
  width: 100%;
  background-color: #f7f7f7;
}

.page-title {
  width: 100%;
  text-align: center;
  background: #FEF5E3;
}

.page-title h1 {
  display: inline-block;
  font-size: 1.2em;
  font-weight: 700;
  padding: 2em 0;
}

.page-title .icon {
  vertical-align: middle;
  margin-right: 1em;
}

#wrapper {
  padding: 1em;
  max-width: 1200px !important;
  width: 100%;
  margin: 0 auto;
}

/*

header

*/

#header {
  background-color: #fff;
  display: flex;
}

/*

content

*/
#content {
  padding: 0;
}

.pager {

}

.pager table {
  width: 100%;
}

/* magazine box */


.magazine-box {
    border: .5em solid #f7f7f7;
    padding: 0;
}

.magazine-list-box {
  border-radius: 5px;
  border: 0.5px solid #e0e0e0;
  position: relative;
  padding: 1em;
  background: #fff;
  height: 100%;
  box-shadow: 2px 2px 5px -2px rgba(0, 0, 0, 0.1);
  word-break: break-all;
}


.magazine-list-box .title-box .magazine-link::after {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  pointer-events: auto;
  content: '';
  background-color: transparent;

}

/* .magazine-list-box :hover {
  cursor: pointer;
  box-shadow: 2px 2px 6px 2px #e0e0e0;
  transition: all 0.5s;
} */


.magazine-intro {
  height: 100%;
}

/* intro */


.title-box {
  display: flex;
  align-items: center;
  position: relative;
}

.title-box img {
  vertical-align: top;
  padding: 0 0.5em 0 0;
  float: left;
  margin: 0 0.5em 0 0;
  width: 70px;
  height: auto;
}
/* .magazine-img {
  vertical-align: top;
  padding: 0 0.5em 0 0;
  max-width: 85px;
  float: left;
  margin: 0 0.5em 0 0;
} */

.magazine-title {
  font-size: 1.3em;
  font-weight: 700;
}

.magazine-intro {
  font-size: 1em;
  line-height: 1.6em;
  margin-top: 0.5em;
  margin-bottom: 0.5em;
  white-space: pre-wrap;
}

/* info */

.magazine-info-row {
  color: #777;
  font-size: 12px;
  margin-bottom: 5px;
}

.magazine-info-row__info-item {
  display: inline-flex;
    margin-right: 10px;
    align-items: center;
}

.magazine-info-row .icon {
  vertical-align: middle;
  margin-right: 3px;
  height: 15px;
  width: 15px;
}


.free-subscribe-block {
  justify-content: flex-end;
  z-index: 10;
}

.free-subscribe-block ul {
  list-style-type: none;
  padding:0 ;
  color: #777;
  display: flex;
}
.free-subscribe-block li:first-child {
  font-size: 12px;
}

.free-subscribe-block input {
  z-index: 10;
  color: #fff;
  background: #ff8c1a;
  box-shadow: none;
  border-radius: 0.5em;
  text-align: center;
  font-weight: 700;
  max-width: 600px;
  -webkit-appearance: none;
  float: right;
  font-size: 1em;
  padding: 5px 15px;
  margin-left: 5px;
}

.free-subscribe-block li:last-child input {
  background: #777;
  font-weight: 500;
}

/* orange button */

.button-orange {
  z-index: 10 !important;
  font-size: 1.2em !important;
  color: #fff !important;
  background: #ff8c1a !important;
  box-shadow: none !important;
  border-radius: 0.5em !important;
  text-align: center !important;
  font-weight: 700 !important;
  max-width: 600px !important;
  -webkit-appearance: none !important;
}
.button-orange:hover {
  /* background: #ffa64d; */
  opacity: 0.9;
  transition: all 0.5s;
}
.button-orange a {
  display: block;
  color: #fff;
  text-decoration: none;
  padding: 0.7em;
}
.button-orange a:visited {
  color: #fff;
  text-decoration: none;
}

.button-grey {
  background: #777 !important;
  font-weight: 500 !important;
}

.button-small {
  font-size: 1em !important;
  padding: 5px 15px !important;
  margin: 2.5px;
}

.button-large {
  width: 100%;
  padding: 1em;
}


/*

sidebar

 */

#sidebar-sp-only, #sidebar {
  /* margin-left: 1em; */
  padding: 1em;
  max-width: 370px;
}

/* search form */
#search {
  background: #FEF5E3;
  text-align: center;
  padding: 20px;
  border-radius: 10px;
  position: sticky;
    top: 50px;
    z-index: 10;
    box-shadow: 3px 3px 5px 0px rgba(0, 0, 0, 0.1);
}

.textfield {
  padding: 5px !important;
  border-radius: 5px !important;
  border: #e0e0e0 1px solid !important;
  outline: none !important;
  width: 100% !important;
  z-index: 10 !important;
  margin-right: 1px !important;
  background-color: #fff !important;
  color: #222 !important;
  font-weight: 500;
  margin: 2.5px;
}

.textfield::placeholder {
  color: #999 !important;
}

.search-more {
  margin: 10px 0;
  display: flex;
  justify-content: center;
}

.search-button {
  width: 100%;
  text-align: center;
}

.form-check span {
  display: inline-block;
  margin-right: 10px;
}

.form-check-input {
  display: inline-block !important;
  margin-right: 5px !important;
}

.blue_btn {
  word-break: keep-all;
  padding: 10px;
  color: #fff;
  border-radius: 5px;
  background-color: #3f77f9;
}
.blue_btn:hover {
  opacity: 0.9;
}


#result {
  color: #777;
  position: relative;
  padding: 20px;
  background: #f7f7f7;
  border: #e0e0e0 1px solid;
  border-radius: 10px;
  margin: 10px auto;
}

#result .result__icon {
  color: rgb(182, 182, 182);
  margin-right: 5px;
  font-size: 24px;
}

#sidebar-sp-only {
  display: none;
}

/* osusume */

#charge-ossm {
  border: 1px solid #e0e0e0;
  background-color: #fff;
  border-radius: 10px;
  padding: 20px 15px;
  margin: 20px 0;
}

#charge-ossm li {
  list-style-type: none;
  margin: 10px 0;
  padding: 10px 0;
  border-bottom: 1px solid #e0e0e0;
}

#charge-ossm li:last-child {
  border-bottom: none;
  margin-bottom: 0px;
  padding-bottom: 0px;
}

#charge-ossm a {
  display: block;
}

#charge-ossm ul {
  padding: 0;
}

#charge-ossm dt {
  text-align: center;
}

#charge-ossm dt:after {
  display: block;
  height: 0.3em;
  background-color: #FEF5E3;
  content: ' ';
  width: 3em;
  margin: 0 auto;
  margin-top: 1em;
}

.charge-ossm__magazine-title {
  display: flex;
  align-items: center;
  margin-bottom: 5px;
}

.charge-ossm__magazine-title img {
  margin-right: 10px;
  min-width: 70px;
}

.charge-ossm__magazine-title a {
  font-weight: 700;
  color: #222;
}

.charge-ossm__price {
  color: #777;
  display: flex;
  margin-right: 10px;
  align-items: center;
}

.charge-ossm__price svg {
  margin-right: 5px;
  height: 15px;
  width: 15px;
  vertical-align: middle;
}

@media screen and (max-width: 770px) {
  #wrapper #sidebar {
    max-width: 550px;
    width: 100%;
  }

  #wrapper #sidebar #search {
    display: none;
  }

  #sidebar-sp-only {
    /* float: right; */
    display: block;
    max-width: 550px;
    width: 100%;
  }
}

/*

others

*/

.mr-1 {
  margin-right: 10px;
}

.d-flex {
  display: flex;
}

.flex-column {
  flex-direction: column;
}

.flex-row {
  flex-direction: row;
}

.flex-grow-2 {
  flex-grow: 2;
}

.align-items-flex-end {
  align-items: flex-end;
}

.col-sm-6 {
  padding: 0px !important;
}

.row {
  flex-wrap: wrap;
  display: flex;
  margin-left: -7px !important;
  margin-right: -7px !important;
}

.grecaptcha-badge {
  z-index: 99999;
}

.magazine-list-box .mag-reg.subscribe-form-for-not-logged-in {
}

.magazine-list-box .mag-reg.subscribe-form-for-not-logged-in.hidden {
    display: none;
}

.magazine-list-box .mag-reg.subscribe-form-for-logged-in {
    display: none;
}

.magazine-list-box .mag-reg.subscribe-form-for-logged-in.visible {
    display: flex;
}
