@charset "UTF-8";

/*************************************************
	全体
**************************************************/
body {
  color: #2f2f2f;
  background-color: #fff;
  font-family: "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, Helvetica, Arial,  sans-serif;
}
::selection {
  color: #fff;
  background-color: #bbb1a3;
}
.mobile {
  display: none;
}

@media screen and (max-width: 767px) {
  .pc {
    display: none;
  }
  .mobile {
    display: block;
  }
  main {
    padding: 0 3%;
  }
}

* {
  line-break: strict;
}

.txFix {
    display: inline-block;
}

/*************************************************
	Header
**************************************************/
.header {
  color: #fff;
  height: 315px;
  position: relative;
  background: linear-gradient(
  to bottom,
  #f0efe6 0%,
  #f4f3ec 50%,
  #f0efe6 100%
  );
  border-bottom: 1px solid #bbb89d;
}
.hd-frame {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(640px, 82vw);
  margin: 0;
}
.hd-frame-svg {
  display: block;
  width: 100%;
  height: auto;
}
.base-white {fill: #fff;}
.line-red,
.line-black {
  fill: none;
  stroke-linejoin: miter;
  stroke-linecap: square;
}
.line-red {
  stroke: #e60012;
  stroke-width: 18;
}
.line-black {
  stroke: #1a1a1a;
  stroke-width: 1;
}
.hd-ttl {
  position: absolute;
  top:50%;
  left:50%;
  transform:translate(-50%,-50%);
  width:80%;
  margin:0;
  padding:5px 0 0;
  text-align:center;
  box-sizing: border-box;
  font-weight: bold;
  text-align: center;
  color: #1a1a1a;
  font-size: 3.2rem;
  line-height: 1.45;
  letter-spacing: .05em;
}
.headerLogo{
  position:absolute;
  top:0;
  left:3%;
  width:80px;
  height:80px;
  padding:10px;
  border-radius:0 0 8px 8px;
  background:#fff
}
.headerLogo-img{width:100%}

@media screen and (max-width:767px){
  .header{height:240px;}
  .hd-ttl{
    font-size:2.8rem;
    padding-top:4px;
  }
  .headerLogo{
    left:0;
    width:48px;
    height:48px;
    padding:8px
  }
}

@media screen and (max-width:620px){
  .hd-ttl{
    /* 620pxで2.2rem、431pxで1.9remに可変（430px以下の1.8remへ綺麗に繋がります） */
    font-size: clamp(1.9rem, 1.216rem + 1.587vw, 2.2rem);
  }
}

@media screen and (max-width:430px){
  .header{height:180px;}
  .hd-ttl{
    font-size:1.8rem;
    padding-top:0;
    max-width:350px;
  }
}

@media screen and (max-width:390px){
  .hd-ttl{
    font-size:1.6rem;
    max-width:330px;
  }
}

/*************************************************
	Back to Top
**************************************************/
#page_top{
  width: 60px;
  height: 60px;
  position: fixed;
  right: 10px;
  bottom: 10px;
  opacity: 1.0;
  z-index:1;
}
#page_top a{
  width: 60px;
  height: 60px;
  text-decoration: none;
}
#page_top a:hover {opacity: 0.7;}
#page_top a img{width:100%;}

/*************************************************
	Footer
**************************************************/
.footer-wrap {
    font-size: 1rem;
    text-align: center;
    padding: 3.0rem 0;
    max-width:736px;
    margin:0 auto;
    border-top: 2px solid #cccccc;
}
.page-footer-nav{margin-bottom:20px;}
.page-footer-cnt{
    display:flex;
    justify-content: center;
}
.page-footer-cnt li a{
    display:block;
    color:#888888;
    font-size:1.4rem;
}
.page-footer-cnt li:last-child a{
  border-right:none;
}
.page-footer-cnt li a:hover {
  opacity: 0.7;
  text-decoration-color:#888888;
}
.page-footer-cnt li:last-child a{border-right:none;}

/* 2要素用 */
.cnt-2col li{width:150px;}
.cnt-2col li:first-child a{
  padding-right:10px;
  text-align:right;
  border-right:1px solid #888888;
}
.cnt-2col li:last-child a{
  padding-left:10px;
  text-align:left;
}

/* 3要素用 */
.cnt-3col{
  display:flex;
  justify-content:center;
}
.cnt-3col li{
  display:flex;
  align-items:center;
}
.cnt-3col li:nth-child(1){padding-right:10px;}
.cnt-3col li:nth-child(2){
  padding:0 10px;
  border-left:1px solid #888;
  border-right:1px solid #888;
}
.cnt-3col li:nth-child(3){padding-left:10px;}

.copyright {color: #888888;}

@media screen and (max-width: 767px) {
  .page-footer-nav li a{font-size:1.2rem;}
}

/*************************************************
	汎用パーツ
**************************************************/
/* キャプション */
.page-caption {
    font-size: 1.6rem;
    line-height: 1.8;
    margin: 0 auto;
}

/* 書籍に記載された利用コードを入力し・・・ */
.page-caption.thanks {
  margin: 50px auto 50px;
  text-align: left;
}

/* セクション */
.section {
  margin-top: 50px;
  margin-bottom: 50px;
}
.sec-ttl {
  position: relative;
  margin-bottom: 1em;
  font-size: 2.4rem;
  text-align: left;
  line-height: 1.6;
  padding-top: .2em;
  padding-left: .7em;
  background: #fbfbfb;
  border: solid 1px #bbb89d;
}
/* 左の太め(7px)のライン */
.sec-ttl::before {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  width: 7px;
  height: calc(100% + 2px);
  background-color: #e60012;
}

/* 但し書き */
.page-provided {
  max-width: 650px;
  margin: 50px auto;
  font-size: 1.2rem;
  line-height: 1.8;
  text-align: center;
  color: #888888;
}

@media screen and (max-width:767px){
  .page-provided {
    width: 100%;
    text-align: left;
  }
}

/*************************************************
	トップページ　かつ、ログインページ　（index.html）
**************************************************/
.login-box {
  width: 340px;
  margin: 0 auto 2em;
  padding: .5em 2em 2em;
  border-radius: 8px;
  border: 1px solid #bbb89d;
  background: #e6e5d7;
  position:relative;
}
.login-pass {
  position: relative;
  margin: 0;
}
.login-input {
  width: 100%;
  padding: .65em 1em .65em 1em;
  border: 1px solid #ccc;
  border-radius: 8px 8px 8px 8px;
  background: #ffffff;
  font-size: 1.5rem;
}
.login-input::placeholder{
  color:#888888;
  text-align: left;
}
.login-input:hover,
.login-input:focus {
  border-color: #aaa;
}

.login-btn {
  width: 100%;
  margin: 2rem 0 0 0;
  padding: .5em 0;
  border-radius: 8px 8px 8px 8px;
  border: 2px solid #e60012;
  background: #e60012;
  color: #fff;
  font-size: 1.5rem;
  font-weight: bold;
  transition: all .2s ease;
  cursor: pointer;
}

.login-btn:hover {
  background: #fff;
  color: #e60012;
}

.img-box {
  margin: 100px auto;
  max-width: 736px;
  display: flex;
  justify-content: center;
}
.img-box-left img {
  width: 186px;
  height: auto;
  margin-right: 50px;
  border: 1px solid #d8d8d8;
  filter: drop-shadow(2px 2px 2px #909090);
}
.img-box-right {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.img-box .page-caption {
  max-width: 500px;
  margin: 0 0 20px 0;
}
.img-box .login-box {
  max-width: 500px;
  width: auto;
  padding: 3.7em 6.3em;
  margin: 0;
}
.img-box .login-btn {padding: .6em 0;}

/* 「英語の友」のバナー */
.link-bar {
  max-width: 736px;
  margin: 0 auto 50px;
  padding:0;
  height:100%;
}
.link-bar a img{max-width:100%;}
.link-bar-txt{
  margin-bottom: 5px;
  line-height: 1.6;
}

@media screen and (max-width: 767px) {
  .login-box {width: 100%;}
  .img-box {
    flex-flow: column;
    margin: 50px 0 50px;
  }
  .img-box-left img {margin-right: 0;}
  .img-box-left, .img-box-right {
    margin-left: auto;
    margin-right: auto;
  }
  .img-box-right {margin-top: 20px;}
  .img-box .page-caption {margin: 20px 0 30px 0;}
  .img-box .login-box {padding: 3.7em 10px 3.7em 10px;}
}

/*************************************************
	特典ダウンロード（download.html）
**************************************************/

.section.attention {
  margin-top: 50px;
  margin-bottom: 50px;
}

/* 注意書き */
.page-attention-ttl {
    position: relative;
    max-width: 600px;
    margin: 0 auto 1.8rem;
    font-size: 1.8rem;
    line-height: 1.8;
    text-align: center;
}
.page-attention-ttl::before {
  position: absolute;
  right: 0;
  bottom: -5px;
  left: 0;
  width: 55px;
  height: 7px;
  margin: auto;
  border-radius: 2px;
  background: #e60012;
  content: "";
}

/* 注意書き */
.page-attention {
    max-width: 600px;
    margin: 0 auto 50px;
    font-size: 1.4rem;
    line-height: 1.8;
    text-align: left;
}
.page-attention li a{
    color: #e60012;
    text-decoration: underline;
}
.page-attention li a:hover{opacity: 0.7;}

.special-list {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  max-width: 740px;
  margin: 0 auto;
}
.special-list.doble {max-width: 650px;}

.special-item {
  position: relative;
  padding: 4em 2em 2em;
  border-radius: 0px 1px 8px 8px;
  border: 1px solid #e1e0d2;
}

/* 2カラム複数ボタン */
.special-item.multicolumn {
  width: 100%;
  padding: 6.0rem 1.5rem 2.0rem;
}

.special-ttl {
  top: 0;
  left: 0;
  width: 100%;
  line-height: 1.8;
  padding-top: .2em;
  padding-left: 10px;
  font-size: 2.0rem;
  text-align: center;
  border-bottom: solid 1px #e1e0d2;
  background: #f1f1ed;
  position: absolute;
}

/* 左の太め(10px)のライン */
.special-ttl::before {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  width: 10px;
  height: calc(100% + 2px);
  background-color: #e60012;
}

.special-txt {
  margin: 1.0rem 0;
  padding-left: 17px;
  font-size: 1.6rem;
  line-height: 1.5;
  font-weight: bold;
  max-width: 320px;
  border-bottom: solid 1px #e1e0d2;
  position: relative;
}

/* 左の太め(7px)のライン */
.special-txt::before {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  width: 7px;
  height: calc(100% + 2px);
  background-color: #e60012;
}

.special-link {
  display: block;
  position: absolute;
  right: 0;
  bottom: 1em;
  left: 0;
  width: 95%;
  margin: auto;
  padding: .75em 1em;
  border-radius: 8px;
  color: #fff;
  background-color: #e60012;
  font-size: 1.5rem;
  font-weight: bold;
  text-align: center;
}
.special-link::before {
  display: inline-block;
  position: relative;
  top: -2px;
  margin-right: .75em;
  background-size: cover;
  vertical-align: middle;
  content: "";
}
.special-link.download::before {
  width: 30px;
  height: 20px;
  background-image: url(../img/ico_download.png);
}
.special-link:hover {opacity: 0.7;}
/* 複数ボタン */
.special-item.multi .special-link {
  position: static;
  width: 100%;
}
.special-item.multi .special-link + .special-link {
  margin-top: .5em;
}

/* 複数カラムボタン */
.btn-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.btn-title {
  font-size: 1.6rem;
  font-weight: bold;
  display: block;
  width: 50%;
  text-align: left;
  margin: 0 auto;
  padding: .75em 1em;
}
.btn-item {
  width: 49%;
  margin-bottom: 1.0rem;
}
.btn-item .special-link {
  position: static;
  width: 100%;
}

@media screen and (max-width: 767px) {
  .tw2q.special-txt, 
  .twp2q.special-txt{
    border-bottom: 0;
  }
}

/***************************************************************************
	terms.html（利用規約）/ howto.html（ダウンロード方法）
****************************************************************************/
.section.agree {
  max-width: 740px;
  margin:50px auto;
}
.agree-caption {
  max-width: 740px;
  margin: 1.5rem auto 2.5rem;
  padding: 0 1em 0 1em;
  font-size: 1.6rem;
  line-height: 1.8;
}
/* 次にリストが来る場合のキャプション */
.agree-caption.captionnextislist {
  margin-bottom:0;
}
/* 「禁止事項」 */
.agree-caption.ordered-list{
  list-style-type: decimal;
  margin-left:1em;
}
/* 「ご利用推奨環境」 */
.agree-caption.unordered-list{
  list-style-type: none;
}

/* howto.html 「howtoダウンロードイメージ」 */
.dl {
  max-width: 900px;
  margin: auto;
}
.dlimg {
  text-align: center;
  margin-bottom: 3.0rem;
}
.dlimg > img {
    max-width: 100%;
}

.sub-ttl{
  font-size: 1.8rem;
  line-height: 1.6;
}

@media screen and (max-width: 767px) {
  .btn-title {width: 100%;}
  .sec-ttl {
    font-size: 2.4rem;
    text-align: left;
  }
  .special-item {
    width: 100%;
    margin: 1em 0;
  }
  /* 複数カラム */
  .btn-item {
    width: 100%;
  }
  /* 規約 */
  .section.agree {
    margin-top: 0;
    padding-top: 30px;
    border: 0;
  }
}

@media screen and (max-width: 430px) {
  .sec-ttl {
    font-size: 2.0rem;
    line-height: 1.6;
  }
}