@charset "UTF-8";

/* ==========================================================================
   1. RESET & BASE
   ========================================================================== */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  vertical-align: baseline;
}
html {
  line-height: 1;
  overflow-y: scroll;
}
ol, ul {
  list-style: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
caption, th, td {
  text-align: left;
  font-weight: normal;
  vertical-align: middle;
}
q, blockquote {
  quotes: none;
}
q:before, q:after, blockquote:before, blockquote:after {
  content: "";
  content: none;
}
a img {
  border: none;
}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section, summary {
  display: block;
}

/* ==========================================================================
   2. COMMON & LAYOUT
   ========================================================================== */
html, body {
  text-align: center;
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  font-size: 18px;
  color: #fff;
  background: #16171b;
  letter-spacing: 1px;
}
div {
  box-sizing: border-box;
}
:focus {
  outline: none;
}
p {
  margin: 0 0 2em 0;
  line-height: 1.2em;
  font-size: .9em;
  font-weight: 300;
}
img {
  max-width: 100%;
  height: auto;
}
a {
  color: #008fd5;
  text-decoration: underline;
}
a:hover {
  color: #99e6ff;
}
a:active, a:focus {
  color: #09c;
}
a img:hover {
  opacity: 0.7;
}

.inner {
  margin: 0 auto;
  width: 1080px;
}
.wrapper {
  padding: 0 15px;
}
.forpc {
  display: block;
}
.forsp {
  display: none;
}
.txtcenter {
  text-align: center;
}
.txtleft {
  text-align: left;
}

/* ==========================================================================
   3. HEADER & HEADINGS
   ========================================================================== */
header {
  width: 100%;
  margin: 0;
  padding: 0;
  position: relative;
  z-index: 9999;
}
header img {
  padding: 15px 15px 12px;
}
.pageTop {
  padding: 0px 15px 0px 0px ;
  text-align: left;
  margin: 0 !important;
}

h1 {
  padding: 30px 0;
  margin: 0;
  font-family: serif;
  font-size: 60px;
  line-height: 1.2em;
  font-weight: 400;
  background-color: #666;
}
h1 span {
  display: block;
  color: #fff;
  font-size: 24px;
  margin: -7px auto -10px;
  text-align: center;
}
h1 img {
  width: 60%;
}
h2 {
  font-size: 1.5em;
  line-height: 1.6em;
  text-align: center;
  margin: 0 auto;
  padding: 1em 0;
  color: #fff;
  font-weight: 600;
}
h3 {
  font-size: 24px;
}
h4 {
  text-align: center;
  margin: 30px auto 40px;
  font-size: 1.1em;
  line-height: 1.6em;
  font-weight: 600;
}

.mainImg{
  max-width: 480px;
}

.title {
  padding: 0;
  margin: 0 auto 40px;
  overflow: hidden;
  background-color: #000;
}
.title .inner {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  justify-content: space-around;
  align-items: center;
}
.title img {
  width: 280px;
  margin-right: 20px;
}
.title p {
  display: inline-block;
  line-height: 1.8em;
  text-align: left;
}
.title p span {
  color: #ff0000;
}
.titleTxt h2 {
  line-height: 1.6;
  font-size: 20px;
  color: #fff;
  margin: 0 auto;
}
.price {
  font-size: 1em;
  margin: .5em auto 40px;
  line-height: 1.4em;
}

.dot{
  border: solid 1px #333;
  margin: 30px auto;
}

.forpc {
  display: block;
}
.forsp {
  display: none;
}

/* ==========================================================================
   4. EBOOK / PRODUCTS LIST
   ========================================================================== */

/* ==========================================================================
   発売中タグ表示設定（1〜5番目のカードのみ適用）
   ========================================================================== */
section ul.ebook li {
  position: relative; /* バッジの位置基準とするため指定 */
}

section ul.ebook li:nth-child(n+6):nth-child(-n+9)::before {
  content: "ダウンロード開始日までお待ちください";
  position: absolute;
  top: 45%;                              /* ジャケット画像の中央付近に配置 */
  left: 0;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.65); /* 黒帯（透過なしにする場合は #000000） */
  color: #ffffff;                         /* 白文字 */
  font-size: 11px;
  font-weight: bold;
  text-align: center;
  padding: 8px 4px;
  line-height: 1.3;
  box-sizing: border-box;
  z-index: 5;
}

section .ebook {
  text-align: center;
  width: 100%;
  overflow: hidden;
}
section ul.ebook {
  width: 100%;
  overflow: hidden;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 0;
}
section ul.ebook li {
  width: 300px;
  margin: 0 14px;
  padding: 0 0 20px;
  vertical-align: top;
  text-align: center;
  line-height: 1.5em;
  overflow: hidden;
}
section ul.ebook li img.jkt {
  display: block;
  height: auto;
  margin: 0 auto;
}
section ul.ebook li p.epubTtl {
  display: block;
  text-align: center;
  width: 100%;
  margin: 5px auto 0;
}

.epubTtl span{
  font-size: 1.1em!important;
  line-height: 1.5em;
}

section ul.ebook li p.epubTtl span {
  text-align: left;
  font-size: 15px;
  display: block;
  /*padding-bottom: 45px;*/
  height: 5.5em;
  font-weight: 600;
}
section ul.ebook li p.epubTtl span.name {
  text-align: center;
  color: #3cf;
  font-size: .8em!important;
  border: solid 2px #3cf;
  padding: 10px 5px;
  height: auto;
  font-weight: 400;
  /*margin-bottom: 20px;*/
}

@media screen and (min-width: 900px) {
  section ul.ebook {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 自動で4等分 */
    gap: 15px;                             /* カード同士の間隔 */
    margin-bottom: 40px;
  }

  section ul.ebook li {
    width: 100%;                           /* グリッド枠いっぱいに広げる */
    margin: 0;
  }

  section ul.ebook li img.jkt {
    width: 100%;
    height: auto;
  }

  section ul.ebook li p.epubTtl span {
    font-size: 14px;
    height: auto;
    padding-bottom: 0px;
  }
}



/* --------------------------------------------------
   701px 〜 899px（850px付近）：センター揃えの3段組み
   -------------------------------------------------- */
@media screen and (min-width: 701px) and (max-width: 899px) {
  section ul.ebook li p.epubTtl span.name{
    font-size: 10px!important;
    padding:5px;
    margin-top: 10px;
  }
  section ul.ebook {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* 行全体・端数を中央揃え */
    gap: 20px 2.5%;           /* 上下 20px / 左右 2.5% の余白 */
    margin: 0 auto 40px;
    padding: 0;
  }

  section ul.ebook li {
    width: 30%;               /* 3段組み（30% × 3 ＋ 余白 ≒ 100%） */
    max-width: 260px;         /* カードが広がりすぎないように上限を指定 */
    margin: 0;
    box-sizing: border-box;
  }

  /* カード内要素の調整 */
  section ul.ebook li img.jkt {
    width: 100%;
    max-width: 100%;
    height: auto;
  }

  section ul.ebook li p.epubTtl {
    width: 100%;
  }
  section ul.ebook li p.epubTtl span {
    font-size: 12px!important;
    height: auto;
    padding-bottom: 0px;
  }
}

/* --------------------------------------------------
   900px以上：4段組み
   -------------------------------------------------- */
@media screen and (min-width: 900px) {
  section ul.ebook {
    display: flex;
    flex-wrap: wrap;
    /*justify-content: flex-start;*/
    gap: 2.6%;
    margin-bottom: 40px;
  }

  section ul.ebook li {
    width: 22%;
    margin: 0 0 20px 0;
    box-sizing: border-box;
  }

  section ul.ebook li img.jkt {
    width: 100%;
    max-width: 100%;
    height: auto;
  }

  section ul.ebook li p.epubTtl {
    width: 100%;
  }

  section ul.ebook li p.epubTtl span {
    font-size: 13px!important;
    height: auto;
    padding-bottom: 15px;
  }
}


/* ==========================================================================
   5. BUTTONS & LOGIN AREA
   ========================================================================== */

.loginArea {
  margin: 20px auto;
}

.buttonsArea {
  display: block;
  margin: 0 auto;
  text-align: center;
}

/* ==================================================
   ボタン共通設定
   ================================================== */
.btn_dl,
.btn_submit,
.btn_reset {
  display: inline-block;
  color: #fff;
  text-decoration: none;
  cursor: pointer;
  transition: opacity 0.3s;
}

.btn_dl:hover,
.btn_submit:hover,
.btn_reset:hover {
  opacity: 0.8;
}

/* ボタン内のリンク領域 */
.btn_dl a,
.btn_submit a,
.btn_reset a {
  display: block;
  padding: 15px 30px;
  color: #fff;
  text-decoration: none;
}


/* ダウンロードボタン */
.btn_dl {
  width: 80%;
  margin: 1em auto;
  padding: 1em 0.5em;
  background-color: #008fd5 !important;
  border: 2px solid #fff;
  border-radius: 4px;
  font-size: 1.2em;
  font-weight: 400;
}

.btn_dl span{
  width: 580px
}

/* 送信・リセットボタン 共通 */
.btn_submit,
.btn_reset {
  width: 150px;
  height: 46px;
  margin: 26px 5px 0;
  padding: 0;
  position: relative;
  border: none;
  border-radius: 5px;
  box-shadow: none;
  font-size: 14px;
}

/* 送信ボタン */
.btn_submit {
  background-color: #008fd5 !important;
}

/* リセットボタン */
.btn_reset {
  background-color: #b5b5b5 !important;
}

.btn_reset:hover {
  background-color: #747474 !important;
}


/* ==========================================================================
   6. CONTENTS & SECTIONS
   ========================================================================== */
.ebooksupport {
  margin: 40px 0 30px;
  text-align: center;
}

.flow {
  text-align: left;
  margin: 40px 0 30px;
  border: dotted 1px #666;
  padding: 20px;
  font-size: 90%;

}
.flow p {
  margin-bottom: 10px;
  line-height: 1.8;
}
.yokuaruquestion {
  margin: 25px auto 0;
}
.yokuaruquestion h3 {
  font-size: 1.5em;
  margin-bottom: 10px;
}
.yokuaruquestion p {
  font-size: 1.2em;
}

.btmtxt {
  border: solid 1px #fff;
  padding: 20px;
  margin: 30px auto 50px;
}
.btmtxt p.btmsubtxt {
  margin: 0;
  padding: 4px;
  font-size: 80%;
  text-align: left;
}

.bg-mgray {
  background: #4a4d55;
  padding: 40px 0;
}
h3.topWebStore {
  text-align: center;
  padding: 0;
  margin: 0 0 20px 0;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.6em;
  color: #fff;
}
img.topbnr {
  width: 300px;
  height: auto;
  margin: 5px;
  padding: 0;
}

/* ==========================================================================
   7. AGREEMENT PAGE SPECIFIC
   ========================================================================== */
.agreeBody {
  margin: 20px auto 60px auto;
  font-family: Verdana, Roboto, "Droid Sans", "游ゴシック", YuGothic, "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, sans-serif;
}
.agreeWrapper {
  border: 1px solid #333;
  padding: 20px;
  text-align: left;
  font-size: 0.8em;
  line-height: 1.6em;
  color: #333;
  background: #eee;
  height: 300px;
  overflow-y: scroll;
  margin: 0 7px;
}
.agreeHeading {
  font-size: 20px;
  margin: 0 0 20px 0;
  text-align: center;
  letter-spacing: 0.2em;
}
.orderPeriod {
  font-size: 16px;
  text-align: center !important;
  line-height: 1.4em;
  display: inline-block;
  padding: 14px;
  margin: 0 0 10px;
  background: rgb(88, 66, 140);
  color: #fff;
}
.downloadNote {
  padding: 0;
  margin: 0 0 15px 0;
  font-size: 12px;
  line-height: 2em;
  text-align: center;
  color: #00abd0 !important;
}

/* ==========================================================================
   8. SHARE & FOOTER & TO TOP
   ========================================================================== */
.share {
  padding: 0;
  margin-top: 20px;
  list-style: none;
}
.share li {
  display: inline-block;
  margin: 5px;
  vertical-align: middle;
}

.toTop {
  position: fixed;
  bottom: 20px;
  right: 20px;
  padding: 0;
  text-align: left;
  line-height: 1em;
  z-index: 9999;
}
.toTop a img {
  opacity: 0.7;
  cursor: pointer;
}
.toTop a img:hover {
  opacity: 1;
}

footer {
  width: 100%;
  padding: 30px 0;
  text-align: center;
  font-size: 10px;
  color: #fff;
  background: #16171b;
}
.footlink a {
  color: #008fd5;
}
.copy {
  margin: 0;
}

/* ==========================================================================
   9. MEDIA QUERIES (RESPONSIVE)
   ========================================================================== */
@media screen and (max-width: 1024px) {
  .inner {
    width: 100%;
  }
}

@media screen and (max-width: 800px) {
  .inner {
    width: 90%;
  }
  section ul.ebook li {
    margin: 0 auto;
    padding: 0 auto 20px;
  }
  h1 img {
  width: 60%;
  }
}


@media screen and (max-width: 600px) {
  body {
    font-size: 16px;
  }
  .inner {
    width: 90%;
  }
  h2 {
    display: block;
    font-size: 1.2em;
    font-weight: 600;
        padding: 0px 10px;
  }
  h3 {
    font-size: 22px;
    margin-top: 40px;
    text-align: center;
  }
   .forsp {
    display: block;
  }
  .pageTop {
    padding: 10px 0 !important;
  }
  .loginArea {
    padding: 30px 15px;
  }
  .buttonsArea{
    width:100%
  }
  .orderPeriod {
    font-size: 1.4em;
    display: block;
    width: 86%;
    margin: 10px auto;
    padding: 10px;
  }
  .flow {
    padding: 10px;
  }
  section ul.ebook li {
    margin: 0 auto;
    padding: 0 auto 20px;
  }
  section ul.ebook li p.epubTtl span {
    font-size: 16px;
    height: auto;
  }
  h1 img {
  width: 80%;
  }
  .ebooksupport {
    margin-top: 40px;
  }
  .title img {
    width: 100%;
    height: auto;
  }
  .title .inner {
    width: 100%;
    display: block;
  }
  .titleTxt h2 {
    text-align: center;
  }
  .title p {
    display: block;
  }
  .agreeWrapper {
    font-size: 10px;
  }
  .btn_submit, .btn_reset {
    font-size: 1.2em;
  }
  .btn_submit, .btn_reset {
    font-size: 14px;
    width: 149px;
  }

}

@media screen and (max-width: 400px) {
h1 img {
  width: 90%;
}
li img.jkt {
  width: 60%;
  height: auto;
  margin: 0 auto;
  }
    section {
    margin-bottom: 30px;
  }
  .btn_dl {
    margin: 0px auto;
    width: 90%;
  }

}

@media screen and (max-width: 320px) {
  .btn_submit, .btn_reset {
    width: 143px;
  }
}
