/* Setting
=============================================== */
:root{
  --gray: #eeeeee;

  --hdg-border-color: var(--main-color);
  --hdg-font-color: var(--main-color);
  --hdg-bg-color: #e3ecff;

  --button-color: var(--main-color);
  --table-color: #f5f5f5;
  --link-arrow: url(/img/fm/nl01/style/link-arrow.png);

  --list-checkA: var(--main-color);
  --list-numA: var(--main-color);
  --list-numB: var(--sub-color);

  --font-colorA: var(--main-color);
  --font-colorB: var(--sub-color);
  --font-colorC: var(--accent-color);
  --font-colorD: crimson;
  --font-colorE: #fff;

  --bg-colorA: var(--gray);
  --bg-colorB: #e1f2fc;
  --bg-colorC: var(--main-color);
  --bg-colorD: var(--sub-color);
  --bg-colorE: #fff;

  --bdr-colorA: #ccc;
  --bdr-colorB: var(--main-color);
  --bdr-colorC: var(--sub-color);
}

/* //////////////////////////////////////////// */
/* ///// BOX STYLE //////////////////////////// */
/* //////////////////////////////////////////// */

/* HEADING BOX
=============================================== */
@media (min-width: 768px) {
  .HeadingBox_ h1 { font-size: 30px; font-weight: bold; }
  .HeadingBox_ h2 { font-size: 25px; font-weight: bold; }
  .HeadingBox_ h3 { font-size: 20px; font-weight: bold; }
  .HeadingBox_ h4,.HeadingBox_ h5,.HeadingBox_ h6 { font-size: 18px; font-weight: bold; }
}
@media (max-width: 767px) {
  .HeadingBox_ h1 { font-size: 20px; font-weight: bold; }
  .HeadingBox_ h2,.HeadingBox_ h3,.HeadingBox_ h4,
  .HeadingBox_ h5,.HeadingBox_ h6 { font-size: 18px; font-weight: bold; }
}

/* --- Preset Style --- */
.HdgStyleA_ {
  border-bottom: 3px var(--hdg-border-color) solid;
  padding: 5px 5px;
  letter-spacing: 2px;
}

.HdgStyleB_ {
  padding: 7px 15px;
  background-color:  var(--hdg-bg-color);
}

.HdgStyleC_ {
  border-bottom: 1px var(--hdg-border-color) solid;
  padding: 3px;
}

.HdgStyleD_ { padding: 3px 5px; }
.HdgStyleD_ > * {
  border-left: 6px var(--hdg-border-color) solid;
  padding-left: 10px !important;
}
.HdgStyleD_ h1 {
  letter-spacing: 3px;
}

.HdgStyleE_ {
  margin-bottom: 50px;
  text-align: center;
  letter-spacing: 0.10em;
  @media (max-width: 767px) {
    margin-bottom: 30px;
  }
}
.HdgStyleE_ h1,
.HdgStyleE_ h2 {
  display: inline-block;
  line-height: 1.4;
  font-size: 58px;
  color: var(--sub-color);
  @media (max-width: 767px) {
    font-size: 26px;
  }
}
.HdgStyleE_ span{
  display: block;
  letter-spacing: 0.15em;
  font-size: 18px;
  font-weight: bold;
  color: var(--hdg-font-color);
  @media (max-width: 767px) {
    font-size: 16px;
  }
}

.HdgStyleF_ {
  margin-bottom: 50px;
  text-align: left;
  @media (max-width: 767px) {
    margin-bottom: 30px;
  }
}
.HdgStyleF_ h1,
.HdgStyleF_ h2 {
  display: block;
  font-size: 38px;
  letter-spacing: 2px;
  color: var(--sub-color);
  @media (max-width: 767px) {
    font-size: 26px;
  }
}
.HdgStyleF_ span{
  display: block;
  margin-bottom: 10px;
  font-size: 22px;
  font-weight: normal;
  font-weight: bold;
  color: #009850;
  color: var(--main-color);
  letter-spacing: initial;
  @media (max-width: 767px) {
    font-size: 16px;
  }
}

/* IMAGE BOX
=============================================== */
img.ImgBorderA_ { margin: 3px; border: 1px #ccc solid; padding: 1px; }
img.ImgBorderB_ { margin: 3px; border: 5px #fff solid; box-shadow: 0 0 2em rgba(0,0,0,.75); }

a:hover img.ImgHover_ { opacity: 0.7; }

/* BUTTON BOX
=============================================== */
/* --- Preset Style --- */
/* ボタン本体（初期：白） */
.BtnStyleA_{
  --bd:1.5px;

  position:relative;
  display:inline-flex;
  align-items:center;
  justify-content:center;        /* テキストは中央 */

  padding:20px 12px 20px 12px !important;   /* 右側に矢印ぶんの余白を確保 */
  border:var(--bd) solid var(--main-color);
  border-radius:9999px;
  background:#fff;

  letter-spacing:.12em;
  line-height:1;
  font-size:15px;
  color:var(--main-color);
  white-space:nowrap;

  transition:background .25s ease, color .25s ease, border-color .25s ease, transform .06s ease;
}
/* 右向き三角を“右端に絶対配置” */
.BtnStyleA_::after{
  content:"";
  position:absolute;
  right:18px;                    /* 右端の位置 */
  top:50%;
  transform:translateY(-50%);    /* 垂直中央 */
  width:0;
  height:0;
  border-top:5px solid transparent;
  border-bottom:5px solid transparent;
  border-left:8px solid currentColor;
  transition:transform .25s ease;
}
/* aリンク色の既定を上書き */
.BtnStyleA_:link,
.BtnStyleA_:visited{
  color: var(--main-color);
  text-decoration:none;
}

.BtnStyleA_:hover{
  background:var(--main-color);
  color:#fff;
}
/* クリックの小押し */
.BtnStyleA_:active{ transform:translateY(1px); }


/* TABLE BOX
=============================================== */
.TableBox_ table caption { font-weight: bold; }

table.ThW40P th { width: 40% !important; }
table.ThW50P th { width: 50% !important; }

/* --- Preset Style --- */
table.TblStyleA_ th {
  border: 1px #ccc solid;
  width: 35%;
  background-color: #f5f5f5;
  text-align: left;
}
table.TblStyleA_ td { border: 1px #ccc solid; }

table.TblStyleB_ tr { border-bottom: 1px gray dotted; }
table.TblStyleB_ th { width: 30%;}

table.TblStyleC_ tr { border-bottom: 1px gray dotted; }
table.TblStyleC_ th { width: 30%; background-color: var(--table-color); }

table.TblStyleD_ tr:nth-child(even) { background-color: var(--table-color); }
table.TblStyleD_ tr:nth-child(odd) { background-color: #fff; }
table.TblStyleD_ th { width: 25%; text-align: center; }
table.TblStyleD_ td { text-align: left; }

table.TblStyleE_ { border: 1px #ccc solid; }
table.TblStyleE_ th { border: 1px #ccc solid; background-color: var(--table-color); white-space: nowrap;  text-align: left; }
table.TblStyleE_ td { border: 1px #ccc solid; }

table.TblStyleF_ { border: 1px #ccc solid; }
table.TblStyleF_ th { width: 25%;  border: 1px #ccc solid; background-color: var(--table-color); white-space: nowrap;  text-align: left; }
table.TblStyleF_ td { border: 1px #ccc solid; }

/* TEXT BOX
=============================================== */
/* 矢印リンク
--------------------------- */
.ArrowLinkR_ { margin: 0; padding: 0; overflow: hidden; }
.ArrowLinkR_ a {
  float: right;
  display: inline-block;
  margin: 0 10px 0 0;
  padding: 0 0 0 20px;
  background: var(--link-arrow) 0px center/14px no-repeat;
}

.ArrowLinkL_ { margin: 0; padding: 0; overflow: hidden; }
.ArrowLinkL_ a {
  float: left;
  display: inline-block;
  margin: 0 0 0 10px;
  padding: 0 0 0 20px;
  background: var(--link-arrow) 0px center/14px no-repeat;
}

/* LIST STYLE
--------------------------- */
/* 丸チェック */
ul.ListCheckA_{ margin: 0 0 20px 10px; padding: 0; list-style: none; }
ul.ListCheckA_ li { position: relative; margin-bottom: 10px; padding: 5px 0 5px 30px; }
ul.ListCheckA_ li:before {
  position: absolute;
  top: 50%; left: 0;
  margin-top: -12px;
  border-radius: 50%;
  width: 24px; height: 24px;
  background: var(--list-checkA) url(/img/com/ps01/check-mark-circle.png) left center no-repeat;
  background-size: 24px;
  content: "";
}

/* 四角チェック */
ul.ListCheckB_ { margin: 0 0 20px 10px; padding: 0; list-style: none; }
ul.ListCheckB_ li {
  margin-bottom: 10px;
  padding: 5px 0 5px 30px;
  background: url(/img/com/ps01/check-mark-square.png) left center no-repeat    ;
  background-size: 24px;
}

/* 丸ナンバー */
ol.ListNumA_ { margin: 0 0 20px 10px; padding: 0; counter-reset:number; list-style:none; }
ol.ListNumA_ li { position: relative; margin: 0; padding: 10px 0 10px 50px; font-size: 20px; }
ol.ListNumA_ li:before {
  position: absolute;
  top: 50%; left: 0;
  margin-top: -20px;
  border-radius: 50%;
  width: 40px; height: 40px;
  background-color: var(--list-numA);
  text-align: center;
  line-height: 40px;
  font-weight: bold;
  color: #fff;
  counter-increment: number;
  content: counter(number);
}

/* 四角ナンバー */
ol.ListNumB_ { margin: 0 0 20px 10px; padding: 0; counter-reset:number; list-style:none; }
ol.ListNumB_ li { position: relative; margin: 0; padding: 10px 0 10px 50px; font-size: 20px; }
ol.ListNumB_ li:before {
  position: absolute;
  top: 50%; left: 0;
  margin-top: -20px;
  border-radius: 5px;
  width: 40px; height: 40px;
  background-color: var(--list-numB);
  text-align: center;
  line-height: 40px;
  font-weight: bold;
  color: #fff;
  counter-increment: number;
  content: counter(number);
}

/* リスト背景色 */
ul.ListBgColor_,ol.ListBgColor_ {
  border-radius:10px;
  padding: 20px;
  background-color: var(--gray);
}
.ListBgColor_ li { margin: 0 0 10px 30px; }
.ListBgColor_ > :last-child { margin-bottom: 0; }

/* 行間多め */
.ListMgnB15_ li,.ListMgnB15 li { margin-bottom: 15px; }
.ListMgnB15_ li ul,.ListMgnB15 li ul{ margin-top: 6px; }
.ListMgnB15_ li li,.ListMgnB15 li li{ margin-bottom: 4px; }

/* リストマークなし */
.ListStyleNone_,.ListStyleNone { margin: 0; padding: 0; list-style: none; }

/* BLOCKQUOTE
--------------------------- */
.TextBox_ blockquote {
  display: block;
  margin: 0px auto;
  border: 1px dotted #ccc;
  border-radius:10px;
  padding: 10px;
  font-size:12px;
}

/* //////////////////////////////////////////// */
/* ///// PROPERTY ///////////////////////////// */
/* //////////////////////////////////////////// */

/* フォントカラー */
.FntColorA_ { color: var(--font-colorA) !important; }
.FntColorB_ { color: var(--font-colorB) !important; }
.FntColorC_ { color: var(--font-colorC) !important; }
.FntColorD_ { color: var(--font-colorD) !important; }
.FntColorE_ { color: var(--font-colorE) !important; }

/* 背景色 */
.BgColorA_ { background-color: var(--bg-colorA) !important; }
.BgColorB_ { background-color: var(--bg-colorB) !important; }
.BgColorC_ { background-color: var(--bg-colorC) !important; }
.BgColorD_ { background-color: var(--bg-colorD) !important; }
.BgColorE_ { background-color: var(--bg-colorE) !important; }

/* BOXの影 */
.ShadowA_ { box-shadow: 1px 1px 5px 1px rgba(0,0,0,0.1); }

/* 線の色 */
.Bdr_,.BdrT_,.BdrB_,.BdrTB_,.BdrL_,.BdrR_,.BdrLR_ { border-color: #ccc; }
.Dotted_ { border-color: gray; }
.Dashed_ { border-color: #ccc; }

.BdrColorA_ { border-color: var(--bdr-colorA) !important; }
.BdrColorB_ { border-color: var(--bdr-colorB) !important; }
.BdrColorC_ { border-color: var(--bdr-colorC) !important; }

/* //////////////////////////////////////////// */
/* ///// SET BOX STYLE //////////////////////// */
/* //////////////////////////////////////////// */

/* SET BOX HEADING
--------------------------- */
.SetBox_ .HeadingBox_ > * { font-weight: bold; }

/* SET STYLE
--------------------------- */
/* 一覧スタイルA */
.SetListStyleA {
  clear: both;
  margin-bottom: 15px;
  padding: 0 0 15px;
}
.SetListStyleA .ImageBox_ img { max-width: 400px; }
.SetListStyleA .HeadingBox_ a { color: #444; }

@media (min-width: 768px) {
  /* 一覧スタイルA */
  .SetListStyleA { overflow: hidden; }
  .SetListStyleA .ImageBox_ {
    float: left;
    margin: 0;
    width: 300px;
  }
  .SetListStyleA .TextArea_ {
    float: left;
    width: calc(100% - 300px);
  }

  /* 高さ揃え */
  .HeightL .CB_ { min-height: 600px; }
  .HeightM .CB_ { min-height: 400px; }
  .HeightS .CB_ { min-height: 300px; }

  /* 高さ揃え時ボタンを下部中央に配置 */
  .HeightL .SetBox_ .ButtonBox_,
  .HeightM .SetBox_ .ButtonBox_,
  .HeightS .SetBox_ .ButtonBox_ {
    position: absolute;
    bottom: 10px; left: 0; right: 0;
    margin: 0 auto;
    padding: 0 10px;
  }

  /* フロート画像を縮小しボタンを下部に配置 */
  .SetFImageStyleA .SetBox_ { height: 300px; overflow:hidden; }
  .SetFImageStyleA .SetBox_ .TextBox_ img { max-width: 40%; max-height: 150px; }
  .SetFImageStyleA .SetBox_ .ButtonBox_ {
    position: absolute;
    bottom: 10px; left: 0; right: 0;
    margin: 0 auto;
    padding: 0 10px;
  }

  /* ImageBoxとTableBoxの表示幅比率 */
  .Image25Table70 .ImageBox_ { width: 25%; }
  .Image25Table70 .TableBox_ { width: 70%; }


  /* ImageBoxとTextBoxの表示幅比率 */
  .SetImageText .ImageBox_ { width: 40%; }
  .SetImageText .TextBox_  { width: 55%; }
}
@media (max-width: 767px) {
  /* 一覧スタイルA */
  .SetListStyleA .ImageBox_ img { max-width: 400px; width: 100%; }
  .SetListStyleA .HeadingBox_ { text-align: center; }
  .SetListStyleA .HeadingBox_ a { text-decoration: underline; }
}

/* //////////////////////////////////////////// */
/* ///// STYLE INPUT  ///////////////////////// */
/* //////////////////////////////////////////// */
.Mgn0 { margin: 0 !important; }

/* -- SP -- */
@media (max-width: 767px) {
  .TableBoxScroll {
    max-width: 100%;
    overflow: auto;
  }
  .spLeft {
    text-align: left;
  }
}

/* liststyle */
/* -------------------------------------------- */
.u-list-reset {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Lists (definition) */
/* -------------------------------------------- */
.u-dl-reset,
.u-dl-reset dt,
.u-dl-reset dd {
  margin: 0;
  padding: 0;
}

.pc_inline_box {
  @media (min-width: 768px) {
    display: inline-block;
  }
}
