@charset "utf-8";

/*
*************************************
footer
parts/common/v1/footer.html
*************************************
*/
#footer ul{
  margin:0 auto;
  line-height:1.2em;
}
#footer ul li{
  display:inline;
  font-size:10px;
  padding:0 10px;
}
#footer ul li a{
  color:#fff;
}
#footer ul li a:hover{
  color:#ff0000;
}

#footer ul.eachlink li,
#footer ul.eachlink li a{
  color:#777;
  padding:0 1px;
}

#footer p{
  margin:0 auto;
  font-family:"arial";
  font-weight:bold;
  font-size:14px;
  padding-bottom:5px;
}

/*
*************************************
footer-attention
parts/common/v1/footer-attention.html
*************************************
*/
.footer-bottom-attention { font-size: 12px; clear: both; padding: 10px 0 15px; border-top: solid 1px #999; line-height:1.6 !important; }
.footer-bottom-fsa-comment { border-top: #999 solid 1px; margin: 10px 0 0; padding: 10px 0 0; }
.footer-bottom-fsa-logos { margin: 5px 0 0; }
.footer-bottom-fsa-logos a { padding: 0 10px 0 0; }
.footer-bottom-fsa-logos a img { border: #ccc solid 1px; }

html.skin-oldstyle #main-column-wrapper { padding-bottom: 300px; }
html.skin-oldstyle .footer-bottom-attention { position: absolute; right: 10px; bottom: 0px; width: 790px; }

@media screen and (max-width:599px) { /* SP用処理 */
  .footer-bottom-attention { margin: 25px 8px 0px; }
}

/*
**************************************************************************
広告
・スーパーバナー
・ぱんくず下テキスト広告
・レクタングル
・その他
**************************************************************************
*/

/*
*************************************
スーパーバナー
parts/common/v1/ad/superbanner.html
parts/common/v1/ad/superbanner-v2.html
*************************************
*/
#superbanner {
  padding-bottom:15px;
  text-align:center;
  clear:both;
}

/*
*************************************
レクタングルバナー
parts/common/v1/ad/y-rectangle.html
*************************************
*/
.rectangle{
  margin-bottom:15px;
}
.rectangle p{
  text-align:center;
}
.rectangle td font{
  font-size:12px;
}

/*
*************************************
ザイFX！/PRテキスト/パンくず下
parts/common/v1/ad/y-text.html
*************************************
*/
#y-text{
  text-align:center;
  padding-top:10px;
  padding-bottom:20px;
  font-size:16px;
  border-top:solid 1px #333;
}

/*
*************************
ザイFX！/右カラム/FX会社比較誘導
parts/common/v1/subcontents-fx.html
*************************
*/
.subcontents-fx-hikaku-wrapper {margin-bottom:15px;border:solid 1px #d7dcdf;padding:6px 8px 10px 10px;width:280px;}
.subcontents-fx-hikaku-wrapper a,
.subcontents-fx-hikaku-wrapper a:active,
.subcontents-fx-hikaku-wrapper a:visited,
.subcontents-fx-hikaku-wrapper a:hover { color:#0000cc; }
.subcontents-fx-hikaku-lists { padding:0; margin-bottom:10px; }
.subcontents-fx-hikaku-lists li { font-size:14px; border-bottom:solid 1px #d7dcdf; }
.subcontents-fx-hikaku-lists li:nth-child(odd) { background-color:#f0f0f0; }
.subcontents-fx-hikaku-lists li a { position: relative; display: block; padding: 5px 5px 5px 15px; color: #0000cc; }
.subcontents-fx-hikaku-lists li a:before { position: absolute; top: 12px; left: 5px; display: block; width: 0; height: 0; content: ""; border-color: transparent transparent transparent #FF7F00; border-style: solid; border-width: 4px 0 4px 6px; }


/*
*************************
ザイFX！/耳寄り情報
parts/common/v1/subcontents-fx.html
*************************
*/
.subcontents-fx-hikaku-mimiyori p{font-size:12px;line-height:18px;padding:5px 4px 5px 20px;}
.subcontents-fx-hikaku-mimiyori-pink1{background: url(/common/images/common/v1/subcontents/fx-hikaku-icon1.gif) no-repeat 5px 10px;background-color:#fac2df;}
.subcontents-fx-hikaku-mimiyori-pink2{background: url(/common/images/common/v1/subcontents/fx-hikaku-icon2.gif) no-repeat 5px 10px;background-color:#fcdfef;}



/*
**********************************
ザイFX！/期間限定キャンペーン誘導枠
parts/common/v1/subcontents-campaign.html
**********************************
*/
.fx-campaign{
  margin-bottom:15px;
}
.fx-campaign h3,
.fx-campaign h3 a{
  width:300px;
  height:74px;
  background: url(/common/images/common/v1/subcontents/fx-campaign.gif) no-repeat;
}
.fx-campaign ul{
  border-left:solid 1px #d7dcdf;
  border-right:solid 1px #d7dcdf;
  border-bottom:solid 1px #d7dcdf;
  padding:9px;
  width:280px;
}
* html .fx-campaign ul{
  width:300px;
}
.fx-campaign ul li{
  padding:5px 4px 5px 25px;
  font-size:12px;
  line-height:120%;
}
.fx-campaign ul li a{
  font-size:12px;
  color:#0000cc;
}
.fx-campaign ul li a strong{
}
.fx-campaign ul li.odd{
  background: url(/common/images/common/v1/subcontents/fx-campaign-icon1.gif) no-repeat 8px 6px;
  background-color:#ffd5ec;
}
.fx-campaign ul li.even{
  background: url(/common/images/common/v1/subcontents/fx-campaign-icon2.gif) no-repeat 8px 6px;
  background-color:#fee9f4;
}

/* 20151224追加 ザイFX！期間限定キャンペーン枠に記事リンク追加 */
.fx-campaign ul li a {
  display: block;
}
.fx-campaign ul li:after,
.fx-campaign ul li a.tieup-kiji:after {
  clear: both;
  content: " ";
  display: block;
  height: 0;
  visibility: hidden;
}
.fx-campaign ul li a.tieup-kiji{
  display: block;
  padding: 0 0 0 13px;
  text-decoration: none;
  color: #fff;
  background: url(/common/images/common/v1/subcontents/btn-tieup-kiji.gif) no-repeat 0 0;
  width: 178px;
  height: 18px;
  line-height: 18px;
  float: right;
  font-size: 12px;
  margin: 3px 0 0;
  letter-spacing: -0.03em;
}

.fx-campaign ul li a.tieup-kiji:hover {
  background-position: 0 -18px;
}

.fx-campaign ul li.more { padding: 10px 0 0; text-align: center; border-top: #ccc dotted 1px; }


/*
**********************************
前後の記事リンク
parts/fx/v1/fx-osusume/article-prevnextnav.html
**********************************
*/
.prevnextnav-wrapper { margin-top: 20px; margin-bottom:40px !important; position:relative; }
.prevnextnav-wrapper:before { position: absolute; top: 5px; left: 50%; display: block; width: 1px; height: calc(100% - 5px); content: ""; background-color: #dedede; }
.prevnextnav-article { width:45%; line-height:1.6; position:relative; }
.prevnextnav-prev-article { float:left; padding-left:15px; }
.prevnextnav-prev-article:after { content: ""; clear: both; display: block; position: absolute; top: 50%; left: 0px; width: 7px; height: 7px; margin-top: -4px; border-top: solid 3px #ccc; border-right: solid 3px #ccc; -webkit-transform: rotate(-135deg); -moz-transform: rotate(-135deg); transform: rotate(-135deg); }
.prevnextnav-next-article { text-align:right; float:right; padding-right:15px; }
.prevnextnav-next-article:after { content: ""; clear: both; display: block; position: absolute; top: 50%; right: 0px; width: 7px; height: 7px; margin-top: -4px; border-top: solid 3px #ccc; border-right: solid 3px #ccc; -webkit-transform: rotate(45deg); -moz-transform: rotate(45deg); transform: rotate(45deg); }
@media screen and (max-width:599px) { 
  .prevnextnav-wrapper { padding:0 10px; }
}

/*
**********************************
タグ一覧
parts/fx/v1/tag-alllist.html
**********************************
*/
.taglist-wrapper { margin: 40px 0px; }
.taglist-title { background: url(/common/images/fx/v1/article/blocktitle-line.gif) repeat-x bottom; padding: 0 10px 10px; margin-bottom: 10px; font-size: 16px; line-height: 1.4; }
.taglist { margin:0 0 15px; padding:0 8px; }
.taglist-tagtype { font-weight:bold; margin-bottom:10px; position: relative; display: block; padding-left: 10px; }
.taglist-tagtype:before { position: absolute; top: 7px; left: 0px; display: block; width: 0; height: 0; content: ""; border-color: transparent transparent transparent #FF7F00; border-style: solid; border-width: 4px 0 4px 6px; }
.taglist-item { list-style:none; display:inline-block; margin-bottom:10px; }
.taglist-item a { text-decoration: none; border:#ccc solid 1px; background-color: #f0f0f0; border-radius:10px; padding:3px 8px; }


/*
**********************************
記事の関連タグ
parts/fx/v1/fx-osusume/article-related-tags.html
**********************************
*/
.fx-osusume-bottom-tags { margin:0 auto !important; padding:20px; border-bottom:#ccc solid 1px; }
.fx-osusume-bottom-tags-label { display: block; margin-bottom:5px; }
.fx-osusume-bottom-tags-items{ margin: 0; padding: 0; display: flex; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 10px; }
.fx-osusume-bottom-tags-item{ flex: 0 0 auto; margin: 0; }
.fx-osusume-bottom-tags-item a{ display: inline-block; text-decoration: none; border: 1px solid #ccc; background-color: #f0f0f0; border-radius: 10px; padding: 3px 8px; line-height: 1; white-space: nowrap; }

@media screen and (max-width:599px) { 
/*  横スクロール */
.fx-osusume-bottom-tags { padding:0 10px 10px; }
.fx-osusume-bottom-tags-title { padding: 0 10px 10px; }
.fx-osusume-bottom-tags-items{ flex-wrap: nowrap; overflow-x: auto; overflow-y: hidden; -webkit-overflow-scrolling: touch; scroll-behavior: smooth; padding-bottom: 5px; scrollbar-width: none; }
.fx-osusume-bottom-tags-items::-webkit-scrollbar{ display: none; }
}


/*
**********************************
最新記事リスト自動表示タグ
記事本文中に設置
**********************************
*/
.mc-js-rss-latest-wrapper { margin-bottom:25px; }
.mc-js-rss-latest { display: block; min-height:180px; }
.mc-js-rss-latest-label { margin-bottom:0 !important; }
.mc-js-rss-latest-list { list-style: none; margin: 0; padding: 0; }
.mc-js-rss-latest-date { display:block; margin-bottom:5px; color:#222; }
.mc-js-rss-latest-title { display:block; }
.mc-js-rss-latest-item { margin-bottom: 8px; padding: 8px; border-bottom:#ccc dotted 1px; }
.mc-js-rss-latest-linkcatetop { text-align:right; }
.mc-js-rss-latest-errcomment { border: solid 2px #f21211; padding: 20px 10px; background-color: #fdeeec; text-align: center; margin: 10px 0; font-weight:bold; color:red; }
@media screen and (max-width:599px) {
  .mc-js-rss-latest {  min-height:24vh; }
}


/*
**********************************
目次リンク
・記事本文中に設置
・/parts/fx/v1/mc-fmokuji.html
**********************************
*/
/* 見出しとフローティングバナーが重ならないように余白 */
#main-contents h2, #main-contents h3 { scroll-margin-top: 120px; }

/* 本文内の目次領域処理 */
.mc-inline-mokuji { position: relative; margin: 0px 0 25px; padding: 16px; border: 1px solid lightslategray; background: #f5f5f5; }
.mc-inline-mokuji.is-hidden { display: none; }
.mc-inline-mokuji-title { font-weight: bold; margin-bottom: 8px !important; }
.mc-inline-mokuji-title-caption { font-weight:normal;  }
.mc-inline-mokuji-items { list-style: none; padding: 0; margin: 0; }
.mc-inline-mokuji-items li { margin-top: 5px; padding-top: 5px; font-size:14px; border-top:#ccc dotted 1px; }
.mc-inline-mokuji-items li:first-child { margin-top:0; padding-top:0; border-top:none; }
.mc-inline-mokuji-items li a { text-decoration: none; line-height: 1.4; display:block; }
.mc-inline-mokuji-h3 { margin-left: 16px; font-size: 13px; }
/* 折りたたみ */
.mc-inline-mokuji.is-collapsed .mc-inline-mokuji-items { max-height: 220px; overflow: hidden; position: relative; }
/* フェードアウト */
.mc-inline-mokuji.is-collapsed .mc-inline-mokuji-items::after { content: ""; position: absolute; bottom: 0; left: 0; right: 0; height: 40px; background: linear-gradient( rgba(245,245,245,0), rgba(245,245,245,1) ); }
/* もっと見る（初期は非表示） */
.mc-inline-mokuji-more { display: none; margin-top: 8px; text-align: center; }
.mc-inline-mokuji-more-btn { cursor: pointer; font-size: 14px; display: block; width: 240px; background: #ccc; color: #333 !important; text-decoration: none; margin: 0 auto; padding: 4px 0; border-radius: 20px; font-weight: bold; box-shadow: 0px 5px 3px -5px rgba(0,0,0,0.6); }
@media screen and (max-width:599px) {
  .mc-inline-mokuji {  min-height:5vw; }
}

/* 左のスクロール追従目次リンク領域 */
.mc-fmokuji { width: 200px; position: fixed; top:120px; font-size: 14px; border-left: 3px solid #a5cd38; padding-left: 12px; margin-left:-230px; }
.mc-fmokuji.is-hidden,
.mc-fmokuji-inline.is-hidden {
  display: none;
}
.mc-fmokuji-title { font-weight: bold; margin-bottom: 8px !important; }
.mc-fmokuji-title-caption { font-weight:normal;  }
.mc-fmokuji-items { list-style: none; padding: 0; margin: 0; }
.mc-fmokuji-item { margin-top: 5px; padding-top: 5px; font-size:14px; border-top:#ccc dotted 1px; }
.mc-fmokuji-item:first-child { margin-top:0; padding-top:0; border-top:none; }
.mc-fmokuji-item a { text-decoration: none; line-height: 1.4; display:block; }
.mc-fmokuji-item a.active { color: #ff0000; font-weight: bold; }

/* 追従目次のスクロール処理 */
#mc-fmokuji .mc-fmokuji-items {
  max-height: 600px;
  overflow-y: hidden; /* 初期は非表示 */
  overflow-x: hidden;
  overscroll-behavior: contain; /* スクロール伝播防止 */
  padding-right: 4px; /* スクロールバー分の余白 */
}

/* 表示領域が狭い場合は、追従目次は表示しない */
@media screen and (max-width:1479px) {
  #mc-fmokuji { display:none; }
}
@media screen and (max-height:calc(600px + 240px)) {
  #mc-fmokuji { display:none; }
}
