/* --------------------------------------------
    1.common
    2.title
    2.container
    3.img
    4.text
    5.table
    6.btn
    7.margin/padding/width
--------------------------------------------*/

/*============================================
    1.common
============================================ */
body {
    font-family: 'Avenir','Helvetica Neue','Helvetica','Arial','Hiragino Sans','ヒラギノ角ゴシック',YuGothic,'Yu Gothic','メイリオ', Meiryo,'ＭＳ Ｐゴシック','MS PGothic';
    background-color: white; 
    -webkit-text-size-adjust: 100%;
 }

.dsNone { display: none; }

.arrow {
    background-image: url(../img/ill_arrow.png);
    width: 92px;
    height: 38px;
    background-size: contain;
    margin: 10px auto;
}

.arrow-concept {
    background-image: url(../img/ill_concept.png);
    width: 92px;
    height: 38px;
    background-size: contain;
    margin: 10px auto;
}

.arrow-formula {
    background-image: url(../img/ill_formula.png);
    width: 92px;
    height: 38px;
    background-size: contain;
    margin: 10px auto;
}

p { margin-top:1em; }

ul { margin: 1% 2em; }

ul li { list-style: disc; color: #ba1532; }

.txtBg-R {
    border-radius: 12px;
    -webkit-border-radius: 12px;
    -moz-border-radius: 12px;
    padding: 8%;
    border: 4px solid #ba1532;
    background-color: #ffefef;
  }

@media screen and (min-width:768px) {
    .dspN_PC {
        display: none;
    }
    .arrow, .arrow-concept, .arrow-formula {
        width: 184px;
        height: 76px;
    }
}
@media screen and (max-width:767px) {
    .dspN_SP { display: none; }
}

/*============================================
    2.title
============================================ */
.main-inner h1 {
    position: relative;
    padding: 0.5em 0.5em 0.3em;
    font-size: 20px;
    color: white;
    font-weight: normal;
    background: #ba1532;
    margin: 10px auto 30px;
}

.main-inner h1::after {
    position: absolute;
    content: '';
    top: 100%;
    left: 30px;
    border: 9px solid transparent;
    border-top: 8px solid #ba1532;
    width: 0;
    height: 0;
}

.main-inner h1 span.chapter {
    padding: 0 5px 0 0;
    color: #9dedfb;
    font-weight: bold;
    font-size: 18px;
}

.main-container h1.chptrTtl .ttlL-container span {
    font-size: 14px;
    background-color: #9dedfb;
    padding: 2px 14px 0px;
    color: #cb233a;
}

/* .header-inner h1 { background-color: white; } */

h2 {
    position: relative;
    padding: 0.25em 0;
    font-size: 18px;
    margin: 18px auto 9px;
    color: #ba1532;
}

h2::after,h2::before {
    content: "";
    display: block;
    height: 2px;
    background-color: #ba1532;
    margin: 0.2em 0 0.4em;
}

/* .summary{ margin-bottom: 15px; color: #ba1532; }

.summary span {
    color: #ba1532;
    font-size: 18px;
    font-weight: bold;
    line-height: 1.7em;
} */

/*============================================
    2.container 
============================================ */
section {
    width: 98%;
    margin: 0 auto;
}

.header-container,.main-container {
    font-size: 16px;
    line-height: 1.5em;
    margin: 0 auto;
    background-color: white;
}

.main-inner { width: 98%; padding: 2%; margin: 0 auto; }

/* .img-container figure,  */
figure {
    text-align: center;
    margin: 20px auto;
}

.caution-container {
    width: 98%;
    font-size: 14px;
    margin: 20px auto 0;
}

.footer-container { background-color: #dedede; }

.footer-inner { text-align: center; margin: 10px auto; padding: 10px; }

.img-container {
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction:column;
    flex-direction: column;
}

.item-container li {
    position: relative;
    list-style-type: none;
    margin: 20px auto;
    border: 2px dashed #ba1532;
    padding: 20px 20px 20px 50px;
    color: black;
    line-height: 1.8;
    font-size: 18px;
}

.txtBg-R {
    border-radius: 12px;
    -webkit-border-radius: 12px;
    -moz-border-radius: 12px;
    padding: 8%;
}

/* ---　1−13　通貨紹介 ---　*/
.currency-container {
    display: flex;
    flex-direction: row;
    flex-wrap:wrap;
}

.currency-inner {
    border: 1px dotted black;
    padding: 20px;
    margin-bottom: 3%;
}

.currency-container dt img {
    display: inline-block;
}

@media screen and (min-width:768px) {
    .img-container {
        -webkit-flex-direction:row;
        flex-direction: row;
    }
    .currency-container li {
        width: 48%;
        vertical-align: top;
    }
    ul.currency-container li:nth-child(even) {
        margin-left: 3%;
    }
    .currency-inner {
        width: 48.3%;
    }
    .currency-inner:nth-child(even) {
        margin-left: 3%;
    }
    .txtBg-R {
        border-radius: 20px;
        -webkit-border-radius: 20px;
        -moz-border-radius: 20px;
        padding: 50px;
    }
}

@media screen and (min-width:1000px) {
    .header-container,.main-container {
        width:1000px;
    }
}


/* @media screen and (min-width:768px) {
    .txtBg-R {
        border-radius: 20px;
        -webkit-border-radius: 20px;
        -moz-border-radius: 20px;
        padding: 50px;
    }
} */
/*============================================
    3.img
============================================ */
@media screen and (max-width:959px) {
    figure img {
        width: 100%;
    }
}

/* @media screen and (max-width:599px) {
    figure img {

    }
} */
@media screen and (max-width:599px) {
    .imgStrch20P { width: 20%; margin: 0 auto; }
    .imgStrch30P { width: 30%; margin: 0 auto; }
    .imgStrch40P { width: 40%; margin: 0 auto; }
    .imgStrch50P { width: 50%; margin: 0 auto; }
    .imgStrch60P { width: 60%; margin: 0 auto; }
    .imgStrch70P { width: 70%; margin: 0 auto; }
    .imgStrch80P { width: 80%; margin: 0 auto; }
    .imgStrch98P { width: 98%; margin: 0 auto; }
}

 @media screen and (min-width:768px) {
    img { display: block; margin: 0 auto; }
    .img-container figure img  { width: 100%;}
    .imgStrch20P-pc { width: 20%; margin: 0 auto; }
    .imgStrch30P-pc { width: 30%; margin: 0 auto; }
    .imgStrch40P-pc { width: 40%; margin: 0 auto; }
    .imgStrch50P-pc { width: 50%; margin: 0 auto; }
    .imgStrch60P-pc { width: 60%; margin: 0 auto; }
    .imgStrch70P-pc { width: 70%; margin: 0 auto; }
    .imgStrch80P-pc { width: 80%; margin: 0 auto; }
    .imgStrch98P-pc { width: 98%; margin: 0 auto; }
}

/*============================================
    4.text
============================================ */
h1.chptrTtl { position: relative;}

.main-container h1.chptrTtl {
    font-size: 28px;
    color: white;
    font-weight: bold;
    background-color: #ba1532;
    height: 92px;
    text-align: center;
    padding: 16px 0 8px;
    line-height: 1.6;
}

@media screen and (min-width:768px) {
    /* .main-container h1.chptrTtl {
        background-position: 77% 4px;
    } */
    .main-container h1.chptrTtl {
        background-image: url(../01/img/bg-tt1-chp1.png);
        background-repeat: no-repeat;
        background-size: contain;
        background-position: 75% 4px;
    }
}

.txtPoint {
    font-size: 18px;
    color: #ba1532;
    font-weight: bold;
    margin: 15px auto;
    background-color: #ffd7d7;
    padding: 10px 24px 8px;
    display: inline-block;
    text-align: center;
}

.txtPoint span { font-weight: normal; }

p { font-size: 16px; line-height: 1.8em; color: #333844; }

p span.marker { background-color:  #ffff5c; font-weight: bold; padding: 0 8px; }

figcaption {
    font-size: 16px;
    font-weight: bold;
    color: black;
    margin-bottom: 15px;
}

ul.condition { font-size: 20px; line-height: 1.7em; }

/* ---　1−13　通貨紹介 ---　*/
.currency-container div p { margin-top: 10px; }

.currency-container div h3 {
    font-weight: bold;
    margin-top: 20px;
    color: #333844;
    text-align: center;
}

/* ---　1-14　トレードの練習　--- */
.item-num {
    position: absolute;
    top: 0;
    left: 0;
    background: #ba1532;
    padding: 0 10px;
    color: white;
    font-weight: bold;
    font-size: 20px;
}

.currency-container div:nth-child(1) { text-align: center; }

.txtBg-R.bgrightPink p { margin-top: 0; }

.bgBlue1 { background-color: #3EB1C6; }
.bgrighBlue { background-color: #cee6f5; }
.bgpaleBlue { background-color: #eef6fb; }
.bgPink { background-color: #ffe4e4; }
.bgrightPink { background-color: #ffefef; }
.bgpalePink { background-color: #fff1f6; }
.bgBlue3 { background-color: #00369c; }
.bgGreen { background-color: green; }
.bgrightGray { background-color: #dedede; }
.bgpaletGray { background-color: #f5f5f5; }

.txtC { text-align: center;}
.txtL { text-align: left;}
.txtB { font-weight: bold; }
.txtWhite { color: white; font-weight: bold;}
.txtBlack { color: black; font-weight: bold;}
.txtRed { color: #cb233a;}
.txtBlue { color: #0e75fb; font-weight:bold;}
.txtGreen { color: green; font-weight: bold;}

.txt14 { font-size: 14px;}
.txt16 { font-size: 16px;}
.txt18 { font-size: 18px;}
.txt20 { font-size: 20px;}

/*============================================
    5.table
============================================ */
table.table01,table.table02 {
	width:100%;
	border-collapse: collapse;
}

table.table01 tbody th,table.table02 tbody th {
    padding: 10px 15px;
    border-bottom: #FFF solid 1px;
    border-right: 1px solid white;
    font-weight: normal;
}

table.table01 tbody tr:last-child th {
    border-bottom:white solid 1px;
}

table.table01 tbody td,table.table02 tbody td {
	text-align: center;
	padding:10px 15px;
	border-left:white solid 1px;
	border-bottom:white solid 1px;
	vertical-align:top;
}

table.table01 tbody td:nth-child(1) {
    background-color: #f5f5f5;
}

table.table01 tbody td:nth-child(2) {
    background-color: #eef6fb;
}

table.table01 tbody td:nth-child(3) {
    background-color: #fff1f6;
}

table.table01 tbody td:last-child {
	background:#fff1f6;
}

table caption { font-weight: bold; }

table.table-gray {
    width:100%;
	border-right:#ccc solid 1px;
    border-collapse: collapse;
    margin: 1em auto;
}

table.table-gray th {
    font-weight: normal;
    /* background: #ECECEC; */
    padding: 8px;
    border-right: 1px solid #ccc;
    border-top: 1px solid #ccc;
    border-left: 1px solid #ccc;
}

table.table-gray tr td {
    border: 1px solid #ccc;
    padding: 8px;
}

/*============================================
    6.btn
============================================ */
.pagetop {
    position: fixed;
    bottom: 20px;
    right: 20px;
    }

.page-boxL, .page-boxR {
    display: inline-block;
    padding: 3px;
    color: #333;
    position: relative;
    margin-left: 10px;
}

.page-boxL a, .page-boxR a { padding: 0 15px;}

.page-boxL a::after {
    display: block;
    content: "";
    position: absolute;
    top: 50%;
    width: 8px;
    height: 8px;
    margin: -4px 0 0 0;
    border-top: solid 2px #ba1532;
    border-right: solid 2px #ba1532;
    -webkit-transform: rotate(-135deg);
    transform: rotate(-135deg);
}

.page-boxR a::after {
    display: block;
    content: "";
    position: absolute;
    top: 50%;
    right: 0;
    width: 8px;
    height: 8px;
    margin: -4px 0 0 0;
    border-top: solid 2px #ba1532;
    border-right: solid 2px #ba1532;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}

/*============================================
    7.margin/padding/width
============================================ */
.mgT10 { margin-top: 10px; }
.mgT15 { margin-top: 15px; }
.mgT20 { margin-top: 20px; }
.mgT25 { margin-top: 25px; }
.mgT30 { margin-top: 30px; }
.mgT35 { margin-top: 35px; }
.mgT40 { margin-top: 40px; }

.mgB10 { margin-bottom: 10px; }
.mgB15 { margin-bottom: 15px; }
.mgB20 { margin-bottom: 20px; }
.mgB25 { margin-bottom: 25px; }
.mgB30 { margin-bottom: 30px; }
.mgB35 { margin-bottom: 35px; }
.mgB40 { margin-bottom: 40px; }

.pdT10 { padding-top: 10px; }
.pdT15 { padding-top: 15px; }
.pdT20 { padding-top: 20px; }
.pdT25 { padding-top: 25px; }
.pdT30 { padding-top: 30px; }
.pdT35 { padding-top: 35px; }
.pdT40 { padding-top: 40px; }

.pdA20 { padding: 20px; }

.w50 { width: 50%; }
.w60 { width: 60%; }
.w70 { width: 70%; }
.w80 { width: 80%; }
.w90 { width: 90%; }
.w100 { width: 100%; }













