@media screen and (min-width: 768px) {
  .container {
    width: var(--w-pc);
  }
}

.g-header__navbar ul,
.g-header__navbar ul li {
  border: 0;
}

/* トップ書籍情報 > 著者 */
.txt-box ul.c-thumbnail__authors {
  display: block;
}
.txt-box ul.c-thumbnail__authors li {
  width: 100%;
}

/* トップバナー */
@media (min-width: 640px) {
  .top-page .bnr-container ul li:first-child {
    margin: 0;
  }
}
.top-page .bnr-container ul li {
  width: 560px;
}

/* おしらせ */
.infotwitter-container .info-container .list-box ul li .datacategory-box .icon-category {
  padding: 0px 4px !important;
  width: auto !important;
  border-radius: 4px;
}

.infodetail-page .infodetail-container > h2 {
  font-size: 19px;
  line-height: 1.8;
  font-weight: bold;
  margin: 0 0 30px;
}

.c-search__btn {
  padding: 4px 10px;
  color: var(--white);
  line-height: 1.6;
  white-space: nowrap;
  text-align: center;
  background: var(--gold);
  border: 1px solid transparent;
  border-left: 1px solid var(--gold);
  border-radius: 0 7px 7px 0;
  transition: background-color 0.3s;
  font-size: 16px;
}

/* ダウンロード */
.bnr_contents_note {
  margin-top: 2px;
}
.bnr_contents_note span {
  font-weight: bold;
}

/* ボタン */
.btn-box,
.a-btn-box {
  margin: 10px 0;
  text-align: center;
}
.btn-box a,
.a-btn-box {
  width: 100%;
  height: 40px;
  background: linear-gradient(0deg, rgba(207, 187, 92, 1) 0%, rgba(176, 159, 78, 1) 100%);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  color: var(--black);
  -webkit-transition: 0.2s;
  -moz-transition: 0.2s;
  -o-transition: 0.2s;
  transition: 0.2s;
  border-radius: 40px;
  position: relative;
  box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
  transition: all 0.2s ease;
  text-decoration: none;
  opacity: 1;
}
.a-btn-box {
  width: 80%;
  margin: 15px auto;
}
.btn-box a::after,
.a-btn-box::after {
  content: "\f0a9";
  font-family: var(--fa);
  font-weight: 900;
  display: block;
  width: 40px;
  height: 40px;
  position: absolute;
  right: -0;
  font-size: 20px;
  text-align: center;
  line-height: 40px;
  opacity: 1;
}
.btn-box a::before,
.a-btn-box::before {
  content: "";
  width: 100%;
  height: 100%;
  background: linear-gradient(0deg, rgba(176, 159, 78, 1) 0%, rgba(207, 187, 92, 1) 100%);
  position: absolute;
  border-radius: 40px;
  top: 0;
  left: 0;
  transition: all 0.2s ease;
  opacity: 1;
}
.btn-box a:hover::before,
.a-btn-box:hover::before {
  opacity: 0;
}
.btn-box a span,
.a-btn-box span {
  display: flex;
  width: 100%;
  justify-content: center;
  z-index: 1;
  opacity: 1;
  position: relative;
}
.btn-box a span small,
.a-btn-box span small {
  display: contents;
}
.btn-box a span.books::before,
.a-btn-box span.books::before,
.btn-box a span.booth::before,
.a-btn-box span.booth::before,
.btn-box a span.talto::before,
.a-btn-box span.talto::before {
  content: "";
  width: 1.5em;
  margin: 0 0.2em 0 0;
  top: 0;
  left: 0;
  background-image: url(/themes/cthulhu/src/html/img/common/booth_icon.png);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  text-align: center;
  line-height: 1;
}
.btn-box a span.books::before,
.a-btn-box span.books::before {
  background-image: url(/themes/cthulhu/src/html/img/common/book_icon.png);
}
.btn-box a span.talto::before,
.a-btn-box span.talto::before {
  background-image: url(/themes/cthulhu/src/html/img/common/talto_icon.jpg);
  border-radius: 5px;
  overflow: hidden;
}
.scenario_top_image_square .btn-box a,
.scenario_top_image_rectangle .btn-box a {
  width: 60%;
  margin-left: auto;
  margin-right: auto;
  display: flex;
}
.scenario_top_image_square .btn-box a {
  width: 100%;
}

.scenario_top_image_square .btn-box a span,
.scenario_top_image_rectangle .btn-box a span {
  text-align: center;
  line-height: 1;
}
article.p-entry .btn-box a {
  width: 70%;
  margin-right: auto;
  margin-left: auto;
}

@media (max-width: 768px) {
  .btn-box a {
    height: 40px;
  }
  .scenario_top_image_square .btn-box a,
  .scenario_top_image_rectangle .btn-box a {
    width: 100%;
  }
  article.p-entry .btn-box a {
    width: 90%;
  }
}

/* アプリダウンロード */
.app-wrap {
  display: block;
  overflow: hidden;
  padding: 40px;
  border: solid 2px #2c5857;
  font-size: 21px;
}

.app-wrap .app-icon {
  width: 22%;
  float: left;
}

.app-wrap .app-icon img {
  width: 100%;
  margin: 0 auto 1rem auto;
  display: block;
}

.app-wrap .app-text {
  width: 78%;
  float: right;
  padding-left: 7%;
  box-sizing: border-box;
}

.app-wrap .app-text h3 {
  font-weight: bold;
  margin-bottom: 1rem;
}

.app-wrap .app-text .app_detail {
  color: var(--white);
  background-color: #959595;
  font-weight: bold;
  padding: 22px 30px;
  margin-bottom: 20px;
  line-height: 1.3;
}

.app-wrap .app-text .btn-box a {
  font-size: 20px;
}

.app-wrap .app-dl {
  width: 22%;
  float: left;
}

.app-wrap .app-dl img {
  width: 100%;
}
hr.entry_hr {
  max-width: var(--w-pc);
  margin: 2em auto;
  border: none;
  border-top: 1px solid var(--black);
}
@media only screen and (max-width: 768px) {
  .app-wrap .app-icon {
    width: 100%;
    float: none;
  }

  .app-wrap .app-icon img {
    width: 60%;
    margin: 0 auto 3vh auto;
    display: block;
  }

  .app-wrap .app-text {
    width: 100%;
    float: none;
    padding-left: 0;
    font-size: 0.9rem;
  }

  .app-wrap .app-text h3 {
    font-size: 1.6rem;
  }

  .app-wrap .app-text .app_detail {
    line-height: 1.3;
    font-size: 0.9rem;
  }

  .app-wrap .app-text .btn-box a {
    font-size: 0.9rem;
  }

  .app-wrap .app-dl {
    width: 100%;
    float: none;
  }

  .app-wrap .app-dl img {
    width: 80%;
    margin: 3vh auto 0 auto;
    display: block;
  }

  .app-wrap .app-dl .appstore_img + .googleplay_img img {
    margin-top: 0.2rem;
  }
  header br {
    display: none;
  }
  hr.entry_hr {
    max-width: 100%;
    margin-left: 10px;
    margin-right: 10px;
  }
}
