/* -------------------- 上書き用 -------------------- */

.tab2018::after,
.anchorLinks::after,
.stepAnchorLinks > ul::after,
.dottedListLarge > dl::after,
.dottedListMini > dl::after,
.floatBox::after {
  display: block;
  clear: both;
  content: "";
}
div#layout {
  width: 926px;
}
div#header {
  width: 880px;
  margin: auto;
}
div#header #logo {
  padding-top: 15px;
}
div#pageBody {
  width: 880px;
  margin: 0 auto;
  padding: 0;
}
div#content {
  margin: 0;
  padding: 0;
}
div#content h1.help2018title {
  display: block;
  padding-top: 5px;
  margin: 0 auto 15px;
  font-size: 26px;
  font-weight: bold;
  color: #454545;
}
div#content h1.help2018title img {
  margin-right: 5px;
  padding-bottom: 5px;
}
div#content .help2018 h3 {
  height: auto;
  padding: 8px 18px 6px;
  margin-bottom: 15px;
  font-size: 16px;
  line-height: 1;
  background: linear-gradient(to right, #e95f06 6px, transparent 6px) no-repeat
      left 6px center / 6px 18px,
    transparent linear-gradient(to right, #fff 0, #ccc 100%);
  border: 1px solid #ccc;
}
div#footer {
  background: none;
  border-top: 1px solid #b2b2b2;
  margin: 30px auto 15px auto;
  padding: 0;
  text-align: center;
  width: 880px;
}
#popup2018 {
  font-size: 14px;
  letter-spacing: normal;
}
/* -------------------- 隣接するテキストと画像の上下揃え -------------------- */
.textAndImgTop > span,
.textAndImgTop > img {
  vertical-align: top;
}
.textAndImgCenter > span,
.textAndImgCenter > img {
  vertical-align: middle;
}
/* -------------------- タブcss化 -------------------- */
.tab2018 {
  width: 100%;
  margin: 0 auto 20px;
  background: transparent linear-gradient(to top, #666 3px, transparent 3px);
}
.tab2018 li {
  width: calc(20% - 20px);
  float: left;
  padding: 8px 9px 4px;
  margin-bottom: 3px;
  font-size: 16px;
  font-weight: bold;
  line-height: 1;
  text-align: left;
  background: transparent linear-gradient(to top, #aaa, #ccc);
  -webkit-border-radius: 10px 10px 0 0;
  -moz-border-radius: 10px 10px 0 0;
  border-radius: 10px 10px 0 0;
  white-space: nowrap;
}
.tab2018 li.active {
  background: #666;
}
.tab2018 li:not(:last-child) {
  margin-right: 2px;
}
.tab2018 li a {
  color: #fff;
}

/* -------------------- ページ内リンク -------------------- */
.anchorLinks {
  margin: 0 0 25px;
  font-size: 14px;
}
.anchorLinks > ul {
  float: left;
  width: calc(25% - 50px);
  padding: 0 25px;
}
.frame > ul {
  float: left;
  width: calc(20% - 50px);
  padding: 0 25px;
}
.anchorLinks a {
  position: relative;
  font-weight: bold;
  color: #454545;
}
.anchorLinks a::before {
  position: absolute;
  top: 0;
  left: -15px;
  display: block;
  width: 0;
  height: 0;
  margin: auto;
  content: "";
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 6px solid #e95f06;
}

.anchorLinks > ul > li > ul > li {
  position: relative;
  padding-left: 10px;
  background: none;
}
.anchorLinks > ul > li > ul > li::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  content: "\30fb";
}

/* -------------------- ステップ型ページ内リンク -------------------- */
.stepAnchorLinks {
  display: block;
}
.stepAnchorLinks > ul {
  width: 700px;
  margin: 0 auto 40px;
}
.stepAnchorLinks > ul > li {
  float: left;
  width: 135px;

}
.stepAnchorLinks > ul > li:not(:last-of-type) {

  background: transparent url(/images/common/parts/com_framestamp_stepLink_arrow.png) no-repeat right center;
  padding-right: 6px;
}

/* -------------------- ドットつなぎ特殊リスト -------------------- */
.dottedListLarge,
.dottedListMini {
  margin-bottom: 20px;
}

.dottedListLarge > dl > dt,
.dottedListMini > dl > dt {
  float: left;
}
.dottedListLarge > dl > dt > span,
.dottedListMini > dl > dt > span {
  background: #fff;
  padding-right: 0.5em;
}
.dottedListLarge > dl > dd,
.dottedListMini > dl > dd {
  float: right;
}

.dottedListLarge > dl > dt {
  width: calc(50% - 5px);
  background: transparent radial-gradient(circle, #333 0, #333 1.5px, transparent 1.5px) repeat-x center right / 12px 5px;
}
.dottedListMini > dl > dt {
  width: calc(20% - 5px);
  background: transparent radial-gradient(circle, #333 0, #333 1.5px, transparent 1.5px) repeat-x center right / 8px 5px;
}
.dottedListLarge > dl > dd {
  width: calc(50% - 5px);
}
.dottedListMini > dl > dd {
  width: calc(80% - 5px);
}
/* -------------------- ヘッダ用特殊画像 -------------------- */
.framestampDesc {
  margin: 0 auto 20px;
}

/* -------------------- コンテンツ -------------------- */
.help2018 {
  width: auto;
  margin: 0 0 40px;
}
/* トップに戻る */
.backToTop {
  margin: 0 auto 40px;
  text-align: right;
  background: transparent linear-gradient(to top, #e95f06 5px, transparent 5px)
    no-repeat center;
}
.backToTop a {
  display: inline-block;
  width: 184px;
  height: 20px;
  padding-top: 2px;
  font-weight: bold;
  color: #fff;
  text-align: center;
  vertical-align: middle;
  background: #e95f06;
  border-radius: 3px 3px 0 0;
}
.backToTop a::before {
  display: inline-block;
  width: 0;
  height: 0;
  margin-right: 5px;
  content: "";
  border-right: transparent solid 6px;
  border-bottom: #fff solid 9px;
  border-left: transparent solid 6px;
}
/* 本文 */
/*
.***Boxの中に.***Boxを入れていってレイアウト
.halfBox > 親の幅の半分の要素。※他Boxと違い特定のBoxにしか内包できない
.descBox > 親の幅いっぱいだが左右に少し余白のある要素。.halfBox以外のBoxを内包できる
.wrapBox > .halfBoxも内包できる。
.replectionBox > 親の幅いっぱいでボーダー付き。.halfBoxも内包できる。
.imgBox > グレーの枠付き画像の親用の要素

.bg-grayを付与すると背景色が付き余白が調整される（.half-boxのみ余白調整）
*/
.help2018step {
  width: calc(100% - 80px);
  margin: 0 40px;
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
}
/* flex下ではwidth指定しないと内容量に合わせた横幅になるため指定 */
.help2018step div,
.help2018step p {
  width: 100%;
}
.help2018step img {
  max-width: 100%;
  display: block;
  margin: 0 auto;
}
.help2018step div:not(:last-child),
.help2018step p:not(:last-child) {
  margin-bottom: 15px;
}
.help2018step div.mb30,
.help2018step p.mb30 {
  margin-bottom: 30px;
}
.help2018step div.mb40,
.help2018step p.mb40 {
  margin-bottom: 40px;
}
.help2018step .stepTitle {
  font-size: 16px;
  font-weight: bold;
}

.help2018step .imgBox {
  display: block;
  width: calc(100% - 2px);
  text-align: center;
  background: #eee;
  border: 1px solid #888;
}
.help2018step > .imgBox:not(:last-child) {
  margin-bottom: 20px;
}
.help2018step .halfBox {
  width: calc(50% - 20px);
}
.help2018step .bg-gray {
  background: #eee;
  width: calc(100%  - 40px);
  padding: 20px;
}
.help2018step .halfBox.bg-gray {
  width: calc(50% - 60px);
  padding: 20px;
}
.help2018step .descBox {
  width: calc(100% - 40px);
  padding-left: 20px;
  padding-right: 20px;
}
.wrapBox {
  display: -webkit-flex;
  display: -ms-flex;
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
}
.help2018step .repletionBox {
  padding: 19px;
  border: 1px solid #888;
  display: -webkit-flex;
  display: -ms-flex;
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
  margin-bottom: 20px;
}
.help2018step .floatBox > span,
.help2018step .floatBox > img {
  vertical-align: top;
}
.help2018step .floatBox > .floatLeft {
  float: left;
  margin: 0 20px 0 0;
}
.help2018step .floatBox > .floatRight {
  float: right;
  margin: 0 0 0 20px;
}
.help2018step .justifyBox {
  display: -webkit-flex;
  display: -ms-flex;
  display: flex;
  justify-content: space-between;
}
.help2018step .justifyBox > * {
  flex-grow: 1;
}
/* 汎用リスト */
.help2018step ul {
}
.help2018step ul > li {
  width: calc(100% - 10px);
  position: relative;
  padding-left: 10px;
  background: none;
}
.help2018step ul > li::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  margin: auto;
  content: "\30fb";
}
/* 番号付きリスト */
/*
.helpListの子に任意の個数のリストを置くとリストをまとめて番号を付与
.helpListそのものは.***Boxに併記でok
*/
.help2018step .helpList {
  counter-reset: test;
  display: -webkit-flex;
  display: -ms-flex;
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
}
.help2018step .helpList ul > li {
  position: relative;
  width: auto;
  padding-left: 28px;
  margin: 0;
  list-style-type: none;
}

.help2018step .helpList ul > li:not(:last-child) {
  margin-bottom: 10px;
}

.help2018step .helpList ul > li::before {
  position: absolute;
  top: 2px;
  bottom: auto;
  left: 0;
  display: inline-block;
  width: 20px;
  height: 14px;
  padding: 3px 0;
  font-size: 14px;
  font-weight: bold;
  line-height: 1;
  color: #fff;
  text-align: center;
  content: counter(test);
  counter-increment: test;
  background: #f00;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  border-radius: 50%;
}

.help2018step .comment {
  text-indent: -1em;
  padding-left: 1em;
}

.ico-square:before {
	content:'\25A0';
  margin-right: 0.2em;
}

.ico-info:before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 24px;
  background-image: url(/images/common/parts/freeedit/ico-info.png);
  background-size: contain;
  vertical-align: -20%;
  margin-right: 0.2em;
}

.red {
  color: #ff0000;
}
