/* Setting
=============================================== */
:root{
  --gray: #f0f0f0;

  --hdg-border-color: var(--main-color);
  --hdg-font-color: var(--main-color);
  --hdg-bg-color: #f0f7ff;

  --btn-arrow: url(/img/fm/mdf01/style/btn-arrow.png);
  --button-color: var(--main-color);

  --table-color: #f5f5f5;

  --link-arrow: url(/img/fm/mdf01/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: #f0f7ff;
  --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);
}
.HdgStyleB_  {
  display: inline-block; /* テキストの幅に合わせてボックス化 */
  padding: 7px 15px;     /* 内側の余白 */
  color: #fff;            /* 白文字 */
  background: linear-gradient(135deg, #2bb8cc, #92b72a); /* グラデーション */
  border-radius: 8px;     /* 角を丸くする */
  font-size: 1.5em;       /* 見出しサイズ（調整可） */
  font-weight: bold;
  width: 100%;
}

.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: 2px;
  @media (max-width: 767px) {
    margin-bottom: 30px;
  }
}
.HdgStyleE_ h1 {
  display: inline-block;
  line-height: 1.2em;
  font-size: 40px;
  @media (max-width: 767px) {
    font-size: 26px;
  }
}
.HdgStyleE_ span{
  display: block;
  font-size: 18px;
  font-weight: bold;
  color: var(--hdg-font-color);
  @media (max-width: 767px) {
    font-size: 16px;
  }
}

.HdgStyleF_ {
  margin-bottom: 10px;
  text-align: left;
  letter-spacing: 2px;
  @media (max-width: 767px) {
    margin-bottom: 30px;
  }
}
.HdgStyleF_ h3 {
  display: inline-block;
  padding: 5px 20px;
  background-color: red;
  font-size: 20px;
  color: #fff;
  @media (max-width: 767px) {
    font-size: 26px;
  }
}

/* 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 --- */
a.BtnStyleA_ {
  border-radius: 30px;
  background: var(--button-color) var(--btn-arrow) right 14px center no-repeat;
  font-weight: bold;
  color: #fff;
}
a.BtnStyleA_:hover {
  filter: brightness(1.07);
  text-decoration: none;
}

a.BtnStyleB_ {
  border-radius: 30px;
  margin: 0 auto 0 0;
  padding: 5px;
  width: 220px;
  background: var(--button-color) var(--btn-arrow) right 14px center no-repeat;
  font-size: 15px;
  color: #fff;
}
a.BtnStyleB_:hover {
  filter: brightness(1.07);
  text-decoration: none;
}

a.BtnStyleC_ {
  border-radius: 50px;
  margin: 0 auto 0 0;
  padding: 20px;
  max-width: 480px;
  width: 480px;
  background: var(--button-color) var(--btn-arrow) right 14px center no-repeat;
  font-size: 22px;
  font-weight: bold;
  color: #fff;
}
a.BtnStyleC_:hover {
  filter: brightness(1.07);
  text-decoration: none;
}
@media (max-width: 767px) {
  a.BtnStyleC_ {
    width: 100%;
  }
}

/* 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: 280px; }
.SetListStyleA .HeadingBox_ a { color: #444; }

@media (min-width: 768px) {
  /* 一覧スタイルA */
  .SetListStyleA { overflow: hidden; }
  .SetListStyleA .ImageBox_ {
    float: left;
    box-sizing: border-box;
    margin: 0;
    width: 300px;
  }
  .SetListStyleA .TextArea_ {
    float: left;
    box-sizing: border-box;
    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%; }
}
@media (max-width: 767px) {
  /* 一覧スタイルA */
  .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;
  }
}

/* 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;
}

/* 各サービスページのh1用見出し
/* -------------------------------------------- */
.HdgService {
  width: 100%;
}
.HdgService h1{
  display: flex;
  align-items: center;
  justify-content: space-between; /* 両端に寄せる */
  border: 5px solid red; /* 赤い枠 */
  padding: 10px;
  width: 100%;
}
.HdgService .text {
  font-size: 40px;
  font-weight: bold;
}
.left-img, .right-img {
  width: auto;
  height: 100px;
}

/* スマホ用 */
@media (max-width: 767px) {
  .HdgService h1 {
    flex-direction: column; /* 縦並びに */
    align-items: center;    /* 中央寄せ */
    text-align: center;     /* テキスト中央寄せ */
  }
   .HdgService  .text {
    margin: 10px 0; /* 画像との間に余白 */
  }
}

