@charset "utf-8";

/*
Theme Name: mh-tec SmartPack_type02
Theme URI: https://mh-tec.co.jp/
Author: Mental Health Technologies Co.Ltd.
Author URI: https://mh-tec.co.jp/
Version: 2.0
*/

:root {
  --main-color: #f19900;
  --sub-color: #f19900;
  --sub-color2: #f19900;
  --sub-color3: #eea0c2;
  --sub-color4: #7ebf66;
  --sub-color5: #ffed00;
}


/* ------------------------------------------------------------------------------------
html
------------------------------------------------------------------------------------ */

  html {
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
    background-image: url(./img/html-bg.jpg);
    background-size: cover;
    background-position: center bottom;
    background-repeat: no-repeat;
    position: relative;
  }


/* ------------------------------------------------------------------------------------
body
------------------------------------------------------------------------------------ */

  body {
    position: relative;
    font-family: "Zen Maru Gothic", "Yu Mincho", YuMincho, "ヒラギノ明朝 ProN W6", "HiraMinProN-W6", "HG明朝E", "MS P明朝", "MS PMincho", "MS 明朝", serif;
    font-size: 15px;
    line-height: 165%;
    color: #333;
    margin: 0;
    letter-spacing: 0.5px;
    font-weight: 400;
  }

    /*body responsive*/
        @media (max-width: 543px) { /* xs */

        }
        @media screen and (min-width:544px) and (max-width:767px) { /* sm */

        }
        @media screen and (min-width:768px) and (max-width:991px) { /* md */

        }
        @media screen and (min-width:992px) and (max-width:1199px) { /* lg */  
        }
        @media screen and (min-width:1200px) { /* xl */
        }

/* ------------------------------------------------------------------------------------
common
------------------------------------------------------------------------------------ */

  * {
    box-sizing:border-box;
    outline: none;
  }
  article,aside,footer,header,nav,section {
    display: block;
  }
  figcaption,figure,main,section {
    display: block;
  }
  hr {
    -webkit-box-sizing: content-box;
    -moz-box-sizing: content-box;
    box-sizing: content-box;
    height: 0;
    overflow: visible;
  }
  a {
    background-color: transparent;
    -webkit-text-decoration-skip: objects;
    color: #333;
    font-weight: 400;
    -webkit-transition: 0.5s;
    -moz-transition: 0.5s;
    -o-transition: 0.5s;
    -ms-transition: 0.5s;
    word-break: break-all;
  }
  a:active,a:hover {
    outline-width: 0;
    color: var(--main-color);
  }
  b,strong {
    font-weight: inherit;
    font-weight: 600;
  }
  small {
    font-size: 80%;
  }
  audio,video {
    display: inline-block;
  }
  img {
    border-style: none;
    max-width: 100%;
    height: auto;
  }
  button,input,optgroup,select,textarea {
    font-family: sans-serif;
    font-size: 100%;
    line-height: 1.15;
    margin: 0;
  }
  button,input {
    overflow: visible;
  }
  button,select {
    text-transform: none;
  }
  textarea {
    overflow: auto;
  }
  .main-color {
    color: var(--main-color);
  }
  .sub-color {
    color: var(--sub-color);
  }

/* ------------------------------------------------------------------------------------
.container
------------------------------------------------------------------------------------ */

    /*wrapper responsive*/
        @media (max-width: 543px) { /* xs */
        }
        @media screen and (min-width:544px) and (max-width:767px) { /* sm */
        }
        @media screen and (min-width:768px) and (max-width:991px) { /* md */
        }
        @media screen and (min-width:992px) and (max-width:1199px) { /* lg */
          .container {
            max-width: 980px;
          }
        }
        @media screen and (min-width:1200px) { /* xl */
          .container {
            max-width: 980px;
          }
        }

/* ------------------------------------------------------------------------------------
#front-page
------------------------------------------------------------------------------------ */

  #front-page .row > div {
    padding-left: 0;
    padding-right: 0;
  }

/* ------------------------------------------------------------------------------------
column
------------------------------------------------------------------------------------ */

  .row {
    display:-webkit-box;
    display:-moz-box;
    display:-ms-box;
    display:-webkit-flexbox;
    display:-moz-flexbox;
    display:-ms-flexbox;
    display:-webkit-flex;
    display:-moz-flex;
    display:-ms-flex;
    display:flex;
    -webkit-box-lines:multiple;
    -moz-box-lines:multiple;
    -webkit-flex-wrap:wrap;
    -moz-flex-wrap:wrap;
    -ms-flex-wrap:wrap;
    flex-wrap:wrap;
    justify-content: center;
  }

/* ------------------------------------------------------------------------------------
header
------------------------------------------------------------------------------------ */

  header {
    position: relative;
    padding: 0px;
    margin: 0 auto;
    z-index: 2;
    text-align: center;
    background: url(./img/header-bg.png);
    background-position: center bottom;
    background-size: cover;
    background-repeat: no-repeat;
    padding-bottom: 5.5vw;
  }
@media screen and (max-width: 767px){
  header {
    padding-bottom: 7vw;
  }
}
  header .container {
    padding: 0px 0px;
    text-align: center;
    position: relative;
  }

  header .container .header-logo-pc {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    line-height: 100%;
    padding: 3vh 1vh;
    z-index: 3;
    position: relative;
  }

  header .container .header-logo-pc a {
    display: block;
    max-width: 980px;
    margin: 0 auto;
  }

  header .container .header-logo-pc a img {
    max-width: 880px;
  }

  header hr.gradation {
    position: relative;
    border: none;
    height: 4px;
    margin: 0 auto;
    padding: 0;
    background: repeating-linear-gradient(-25deg, #e59f38, #e59f38 1px, #e8ab46 0, #e8ab46 4px);;
    background-repeat: no-repeat;
    background-size: 100%;
    background-position: center;
    width: 100%;
  }

  header ul.language {
    z-index: 99;
    position: absolute;
    right: 5px;
    top: 5px;
  }

  header ul.language li {
    display: inline-block;
  }

  header ul.language li a {
    color: #fff;
    display: block;
    background-color: var(--sub-color);
    padding: 4px;
    font-size: 11px;
    text-align: center;
    min-width: 47px;
    line-height: 100%;
    border-radius: 2px;
  }
  header ul.language li a i {
    display: block;
    font-size: 25px;
    margin-bottom: 2px;
  }
  header ul.language li a:hover {
    opacity: 0.6;
    text-decoration: none!important;
  }

    /*wrapper responsive*/
        @media (max-width: 543px) { /* xs */
          header .container .header-logo-pc {
            padding: 2.5vh 0 2vh;
            text-align: left;
          }
          header .container .header-logo-pc a img {
            max-width: 80%;
          }
          header ul.language {
            right: 65px;
            top: 19px;
          }
          header hr.gradation::after {
            font-size: 11px;
          }
        }
        @media screen and (min-width:544px) and (max-width:767px) { /* sm */
          header .container .header-logo-pc {
            padding: 2.5vh 0 2vh;
            text-align: left;
          }
          header .container .header-logo-pc a img {
            max-width: 80%;
          }
          header ul.language {
            right: 65px;
            top: 19px;
          }
        }
        @media screen and (min-width:768px) and (max-width:991px) { /* md */
          header .container .header-logo-pc {
            padding: 2.5vh 0 2vh;
            text-align: left;
          }
          header .container .header-logo-pc a img {
            max-width: 80%;
          }
          header ul.language {
            right: 65px;
            top: 25px;
          }
        }
        @media screen and (min-width:992px) and (max-width:1199px) { /* lg */
          header .container .header-logo-pc {
            padding: 3vh 0 2vh;
          }
        }
        @media screen and (min-width:1200px) { /* xl */
          header ul.language {
            right: 15px;
            top: 15px;
          }
        }


/* ------------------------------------------------------------------------------------
PC sidebar
------------------------------------------------------------------------------------ */

  ul#sidebar {
    z-index: 999;
    position: relative;
    text-align: center;
    list-style: none;
    padding-left: 0;
    padding-right: 0;
  }

  ul#sidebar ul#menu-gnav-1 {
    text-align: left;
    list-style: none;
  }

  ul#sidebar ul#menu-gnav-1 li {
    position: relative;
    margin-bottom: 9px;
  }
  ul#sidebar ul#menu-gnav-1 li:before {
    content: "";
    width: 5px;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    background-color: var(--main-color);
    border-radius: 3px 0 0 3px;
  }
  ul#sidebar ul#menu-gnav-1 li a {
    display: block;
    padding: 6px 15px 6px 13px;
    font-weight: 600;
    line-height: 115%;
    font-size: 15px;
    letter-spacing: 0;
    color: #333;
    cursor: pointer;
    background-color: #fff;
    max-width: 220px;
    border-radius: 3px;
  }
  ul#sidebar ul#menu-gnav-1 li a:hover {
    background-image: url(./img/icon-PaperAirplane.png);
    background-size: 32px auto;
    background-position: right 8px center;
    background-repeat: no-repeat;
  }

  ul#sidebar ul#menu-gnav-1 li.current-menu-item:not(li:first-child) a,
  ul#sidebar ul#menu-gnav-1 li a:hover {
    color: #fff;
    text-decoration: none;
    text-shadow: none;
  }

  ul#sidebar ul#menu-gnav-1 li.current-menu-item:not(li:first-child) a::before,
  ul#sidebar ul#menu-gnav-1 li a:hover::before {
    color: #333;
  }

  ul#sidebar ul#menu-gnav-1 li.current-menu-item:not(li:first-child):first-child a,
  ul#sidebar ul#menu-gnav-1 li:first-child a:hover {
    box-sizing: border-box;
  }

  ul#sidebar ul#menu-gnav-1 li.update a {
    position: relative;
  }
  ul#sidebar ul#menu-gnav-1 li.update a:before {
    content: "NEW";
    background-color: #eb3b3b;
    color: #fff!important;
    font-size: 8px;
    font-weight: normal;
    text-align: center;
    float: right;
    line-height: 100%;
    padding: 2px 5px;
    position: absolute;
    top: 2px;
    right: 2px;
    border: 1px solid #fff;
    z-index: 2;
  }
  ul#sidebar ul#menu-gnav-1 li.gray-out a {
    opacity: 0.6;
    pointer-events: none;
  }

  /*child*/

  ul#sidebar ul#menu-gnav-1 ul {
    padding-left: 20px;
    box-sizing: border-box;
    border-bottom: 1px solid #fff;
    padding-bottom: 8px;
  }

  ul#sidebar ul#menu-gnav-1 ul {
    display: none;
  }

  ul#sidebar ul#menu-gnav-1 li.menu-item-has-children:hover {
    border-bottom: none;
  }

  ul#sidebar ul#menu-gnav-1 li.menu-item-has-children:hover ul {
    display: block;
  }

  ul#sidebar ul#menu-gnav-1 > li:hover > a {
    border-bottom: none;
  }

  ul#sidebar ul#menu-gnav-1 ul li a {
    border-bottom: none;
  }

  ul#sidebar ul#menu-gnav-1 ul li a::before {
      font-weight: 600;
      content: " - ";
  }

/* ------------------------------------------------------------------------------------
SP sidebar
------------------------------------------------------------------------------------ */
  
  .pure-drawer ul#menu-gnav li a {
    font-size: 14px;
    display: block;
    padding: 12px 10px 12px 15px;
    color: #333;
    cursor: pointer;
    border-bottom: 1px solid #ddd;
    font-weight: 600;
    letter-spacing: 0;
    text-align: left;
  }

  .pure-drawer ul#menu-gnav li {
    position: relative;
  }

  .pure-drawer ul#menu-gnav li.current-menu-item:not(li:first-child) a,
  .pure-drawer ul#menu-gnav li a:hover {
    color: #fff;
    background: linear-gradient(to right, var(--main-color), var(--sub-color)) !important;
    text-decoration: none;
    text-shadow: none;
  }

  .pure-drawer ul#menu-gnav li.update a {
    position: relative;
  }
  .pure-drawer ul#menu-gnav li.update a:before {
    content: "NEW";
    background-color: #eb3b3b;
    color: #fff!important;
    font-size: 9px;
    text-align: center;
    float: right;
    line-height: 100%;
    padding: 3px 5px;
    border: 1px solid #fff;
  }
  
  .pure-drawer ul#menu-gnav li.gray-out > a {
    opacity: 0.6;
    pointer-events: none;
  }

  /*child*/

  .pure-drawer ul#menu-gnav li.menu-item-has-children a {
    border-bottom: none;
  }

  .pure-drawer ul#menu-gnav ul {
    padding-left: 20px;
    box-sizing: border-box;
    padding-bottom: 8px;
  }

  .pure-drawer ul#menu-gnav ul li a {
    border-bottom: none;
    padding-bottom: 0px;
    padding-top: 2px;
  }

  .pure-drawer ul#menu-gnav ul li a::before {
      font-weight: 600;
      content: " - ";
  }

  .pure-drawer {
    position: relative;
    background: #fff!important;
  }
 
  .pure-drawer .header-logo-sp {
    color: #fff!important;
    font-family: "Noto Sans JP","Hiragino Kaku Gothic ProN", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, "ＭＳ ゴシック", sans-serif;
    font-size: 30px;
    background: var(--main-color);
    background: linear-gradient(to right, var(--main-color), var(--sub-color));
    text-align: left;
    font-weight: 800;
    padding: 30px 10px;
  }

  .pure-drawer .header-logo-sp img {
    max-width: 80%;
    margin-bottom: 0!important;
    padding: 35px 15px 20px;
  }

  /*pure-toggle-label*/

  .pure-toggle-label {
    border-color: var(--main-color)!important;
  }

  .pure-toggle-label .pure-toggle-icon,
  .pure-toggle-label .pure-toggle-icon::before,
  .pure-toggle-label .pure-toggle-icon::after {
    border-radius: 0px!important;
    background: var(--main-color)!important;
  }
  .pure-toggle[data-toggle="left"]:checked ~ .pure-toggle-label[data-toggle-label="left"] .pure-toggle-icon,
  .pure-toggle[data-toggle="right"]:checked ~ .pure-toggle-label[data-toggle-label="right"] .pure-toggle-icon,
  .pure-toggle[data-toggle="top"]:checked ~ .pure-toggle-label[data-toggle-label="top"] .pure-toggle-icon {
    background: transparent!important;
  }

    /*responsive*/
        @media (max-width: 767px) { /* xs */
          .pure-toggle-label {
            top: 20px!important;
            right: 2%!important;
          }
        }
        @media screen and (min-width:767px) and (max-width:1199px) { /* lg */
          .pure-toggle-label {
            top: 25px!important;
            right: 1%!important;
          }
        }
        @media screen and (min-width:1200px) { /* xl */
          .pure-toggle-label {
            top: 25px!important;
            right: 1%!important;
          }
        }

/* ------------------------------------------------------------------------------------
#kv-area
------------------------------------------------------------------------------------ */

  #kv-area {
    position: relative;
    margin-bottom: 20px;
    text-align: center;
  }

  #kv-area img.poster {
    width: 100%;
    max-width: 100%;
    vertical-align: top;
    margin: 0 auto;
  }

  /*wrapper responsive*/
        @media (max-width: 543px) { /* xs */
          #kv-area img.poster {
            max-width: 90%;
          }
        }
        @media screen and (min-width:544px) and (max-width:767px) { /* sm */
          #kv-area img.poster {
            max-width: 85%;
          }
        }
        @media screen and (min-width:768px) and (max-width:991px) { /* md */
          #kv-area img.poster {
            max-width: 80%;
          }
        }
        @media screen and (min-width:992px) and (max-width:1199px) { /* lg */
        }
        @media screen and (min-width:1200px) { /* xl */
        }


/* ------------------------------------------------------------------------------------
kv_btn
------------------------------------------------------------------------------------ */

  a.kv_btn {
    display: inline-block;
    margin: 0 auto 10px;
    padding: 10px 15px;
    border: 2px solid #7B603A;
    border-radius: 10px;
    color: #333;
    text-align: center;
    min-width: 200px;
    max-width: 100%;
    font-weight: 500;
    text-decoration: none!important;
    letter-spacing: 0.5px;
    font-size: 15px;
    background-color: #fff;
    overflow: hidden;
  }

  a.kv_btn em {
    display: block;
    background: linear-gradient(to right, #7B603A, #DED7B9);
    margin: -10px -15px 10px;
    text-align: center;
    color: #fff;
    line-height: 100%;
    padding: 10px;
    font-weight: 600;
    font-size: 15.5px;
  }

  a.kv_btn em::after {
      font-family: "Font Awesome 5 Free";
      font-weight: 600;
      content: "\f054";
      color: #fff;
      float: right;
      margin-left: 5px;
  }

  a.kv_btn:hover {
    opacity: 0.5;
    text-decoration: none!important;
  }

  /*カラバリ*/

  a.kv_red {
    border: 2px solid #da0439;
  }
  a.kv_red em {
    background-color: #da0439;
    background: linear-gradient(to left, #ee7e77, #da0439);
  }

  a.kv_green {
    border: 2px solid #00997f;
  }
  a.kv_green em {
    background-color: #00997f;
    background: linear-gradient(to left, #94d0c4, #00997f);
  }

  a.kv_blue {
    border: 2px solid #00767f;
  }
  a.kv_blue em {
    background-color: #00767f;
    background: linear-gradient(to left, #3eafcd, #00767f);
  }

  a.kv_purple {
    border: 2px solid #731485;
  }
  a.kv_purple em {
    background-color: #731485;
    background: linear-gradient(to left, #b87fb5, #731485);
  }

  a.kv_pink {
    border: 2px solid #ed4a89;
  }
  a.kv_pink em {
    background-color: #ed4a89;
    background: linear-gradient(to left, #f789b3, #ed4a89);
  }

  a.kv_orange {
    border: 2px solid #d56014;
  }
  a.kv_orange em {
    background-color: #d56014;
    background: linear-gradient(to left, #f29847, #d56014);
  }


    /*responsive*/
        @media (max-width: 767px) { /* xs */
          .kv_btn_area {
            padding: 15px;
            border-bottom: 1px solid #ddd;
          }
          a.kv_btn {
            min-width: 80%;
            max-width: 100%;
          }
        }
        @media screen and (min-width:767px) and (max-width:1199px) { /* lg */
          a.kv_btn01 {
            position: absolute;
            right: 5%;
            top: 5%;
          }
        }
        @media screen and (min-width:1200px) { /* xl */
          a.kv_btn01 {
            position: absolute;
            right: 3%;
            top: 3%;
          }
        }

/* ------------------------------------------------------------------------------------
btn_type
------------------------------------------------------------------------------------ */

  a.btn_type01 {
    display: inline-block;
    margin: 0 auto 10px;
    padding: 10px 15px;
    background: linear-gradient(to right, var(--main-color), var(--sub-color));
    border: 2px solid #fff;
    border-radius: 5px;
    color: #fff!important;
    text-align: center;
    min-width: 200px;
    max-width: 100%;
    font-weight: 600;
    text-decoration: none!important;
  }
  a.btn_type01::after {
      font-family: "Font Awesome 5 Free";
      font-weight: 600;
      content: "\f054";
      color: #fff;
      float: right;
      margin-left: 5px;
  }

  a.btn_type01:hover {
    opacity: 0.5;
    text-decoration: none!important;
  }

  a.btn_red {
    background-color: #da0439;
    background: linear-gradient(to left, #ee7e77, #da0439);
  }

  a.btn_green {
    background-color: #00997f;
    background: linear-gradient(to left, #94d0c4, #00997f);
  }

  a.btn_blue {
    background-color: #00767f;
    background: linear-gradient(to left, #3eafcd, #00767f);
  }

  a.btn_purple {
    background-color: #731485;
    background: linear-gradient(to left, #b87fb5, #731485);
  }

  a.btn_pink {
    background-color: #ed4a89;
    background: linear-gradient(to left, #f789b3, #ed4a89);
  }
  
  a.btn_orange {
    background-color: #d56014;
    background: linear-gradient(to left, #f29847, #d56014);
  }

    /*btn_type responsive*/
        @media (max-width: 543px) { /* xs */
        }
        @media screen and (min-width:544px) and (max-width:767px) { /* sm */
        }
        @media screen and (min-width:768px) and (max-width:991px) { /* md */
        }
        @media screen and (min-width:992px) and (max-width:1199px) { /* lg */
        }
        @media screen and (min-width:1200px) { /* xl */
        }

/* ------------------------------------------------------------------------------------
new line
------------------------------------------------------------------------------------ */

  /*new line responsive*/
      @media (max-width: 543px) { /* xs */
        .br_xs-b:before {content: "\A" ;white-space: pre ;}
        .br_xs-a:after {content: "\A" ;white-space: pre ;}
      }
      @media screen and (min-width:544px) and (max-width:767px) { /* sm */
        .br_sm-b:before {content: "\A" ;white-space: pre ;}
        .br_sm-a:after {content: "\A" ;white-space: pre ;}
      }
      @media screen and (min-width:768px) and (max-width:991px) { /* md */
        .br_md-b:before {content: "\A" ;white-space: pre ;}
        .br_md-a:after {content: "\A" ;white-space: pre ;}
      }
      @media screen and (min-width:992px) and (max-width:1199px) { /* lg */
        .br_lg-b:before {content: "\A" ;white-space: pre ;}
        .br_lg-a:after {content: "\A" ;white-space: pre ;}     
      }
      @media screen and (min-width:1200px) { /* xl */
        .br_xl-b:before {content: "\A" ;white-space: pre ;}
        .br_xl-a:after {content: "\A" ;white-space: pre ;}
      }

/* ------------------------------------------------------------------------------------
#top-info-area
------------------------------------------------------------------------------------ */

  #top-info-area {
    position: relative;
    padding: 20px ;
    background-color: #fff;
    margin: 0 auto;
    border-radius: 8px;
    overflow: hidden;
  }
  #top-info-area h2 {
    font-weight: 600;
    font-size: 17px;
    margin: -20px -20px 15px;
    padding: 15px 20px;
    line-height: 100%;
    background: repeating-linear-gradient(-25deg, #e59f38, #e59f38 1px, #e8ab46 0, #e8ab46 4px);;
    color: #fff;
  }
  #top-info-area h2::before {
    font-family: "Font Awesome 5 Free";
    font-weight: 600;
    content: "\f05a";
    margin-right: 10px;
    color: var(--sub-color5);
  }
  #top-info-area h2 a {
      display: inline-block;
      font-size: 13px;
      float: right;
      text-align: center;
      background-color: #fff;
      color: #333;
      padding: 3px 15px;
      line-height: 100%;
      cursor: pointer;
      font-weight: 400;
      border-radius: 10px;
    }
  #top-info-area h2 a:hover {
      opacity: 0.7;
      text-decoration: none;
  }
  #top-info-area ul li {
      padding: 5px 0px;
      font-size: 14px;
      font-weight: 400;
  }
  #top-info-area ul li a {
    text-decoration: underline;
    font-size: 15px;
    color: var(--main-color);
  }


  /*wrapper responsive*/
        @media (max-width: 543px) { /* xs */
          #top-info-area {
            max-width: 90%;
          }
        }
        @media screen and (min-width:544px) and (max-width:767px) { /* sm */
          #top-info-area {
            max-width: 85%;
          }
        }
        @media screen and (min-width:768px) and (max-width:991px) { /* md */
          #top-info-area {
            max-width: 80%;
          }
        }
        @media screen and (min-width:992px) and (max-width:1199px) { /* lg */
        }
        @media screen and (min-width:1200px) { /* xl */
        }

/* ------------------------------------------------------------------------------------
#information archive
------------------------------------------------------------------------------------ */

  .archive #under-content .content-box ul {
    padding: 0;
    margin: 0;
    list-style: none;
  }
  .archive #under-content .content-box ul li {
    text-indent: 0;
    padding: 0 0 10px 0;
    margin-bottom: 10px;
    border-bottom: 1px solid #ddd;
  }
  .archive #under-content .content-box ul li:before {
    display: none;
  }


/* ------------------------------------------------------------------------------------
footer
------------------------------------------------------------------------------------ */

  footer {
    z-index: 1;
    position: relative;
    margin-top: 20px;
    background: repeating-linear-gradient(-25deg, #e59f38, #e59f38 1px, #e8ab46 0, #e8ab46 4px);;
    color: #fff;
  }
  footer a {
    color: var(--main-color);
  }
  footer .container {
    position: relative;
    padding: 0;
    font-weight: normal;
  }
  footer .container .row {
    display: flex;
    flex-wrap: wrap;
    margin-left: 0;
    margin-right: 0;
    padding: 30px 0;
  }
  footer .container .row h3 {
    color: #fff;
    font-size: 16px; 
    padding-bottom: 3px;
    border-bottom: 1.5px solid #fff;
    margin-bottom: 10px;
    font-weight: 700;
    text-align: left;
  }
  footer .container .row h4 {
    font-size: 14px; 
    font-weight: 600;
    margin-bottom: 5px;
    text-align: left;
  }
  footer .container .row p {
    font-size: 13.5px;
    margin-bottom: 15px;
    text-align: left;
    line-height: 155%;
  }

  footer aside#footer-right-area aside,
  footer aside#footer-left-area aside {
    padding: 10px 15px;
    border: 1px solid red;
    border-radius: 2px;
    background-color: #fff;
    font-size: 12px;
    letter-spacing: 0;
  }
  footer aside#footer-right-area aside p,
  footer aside#footer-left-area aside p {
    font-size: 12px;
    line-height: 155%;
  }
  footer aside#footer-right-area aside p:last-child,
  footer aside#footer-left-area aside p:last-child {
    margin-bottom: 0;
  }

  /*footer-copyright-area*/
  footer aside#footer-copyright-area {
    padding: 7px 10px;
  }
  footer aside#footer-copyright-area p {
    margin-bottom: 0;
    font-size: 11px;
    color: #fff;
    text-align: center;
  }

    /*footer responsive*/
        @media (max-width: 543px) { /* xs */
          footer .container .row {
            padding: 30px 20px;
          }
        }
        @media screen and (min-width:544px) and (max-width:767px) { /* sm */
        }
        @media screen and (min-width:768px) and (max-width:991px) { /* md */
        }
        @media screen and (min-width:992px) and (max-width:1199px) { /* lg */
        }
        @media screen and (min-width:1200px) { /* xl */
        }

/* ------------------------------------------------------------------------------------
#page-top
------------------------------------------------------------------------------------ */

  #page-top {
    position: fixed;
    bottom: 0px;
    right: 0px;
    margin-bottom: 0; 
  }
  #page-top a {
    background: var(--sub-color);
    text-decoration: none;
    width: 38px;
    height: 38px;
    font-size: 80%;
    text-align: center;
    display: block;
    padding: 10px;
    position: relative;
  }
  #page-top a i {
    position: absolute;
    left: 0;
    right: 0;
    /*top: 0;*/
    top: 50%; /* ADD */
    /*bottom: 0;*/
    margin: auto;
    transform: translateY(-50%); /* ADD */
    color: #fff;
    font-size: 15px;
    line-height: 100%;
  }
  #page-top a:hover {
    opacity: 0.6;
  }

/* ------------------------------------------------------------------------------------
#under-content
------------------------------------------------------------------------------------ */

  #under-content {
    position: relative;
    background-color: transparent;
    height: auto;
    margin: 0 auto;
  }
  #under-content .container {
    height: 100%;
    position: relative;
  }
  #under-content .container .row > div {
    background-color: #fff;
    padding-left: 0;
    padding-right: 0;
    border-radius: 8px;
    overflow: hidden;
  }
  #under-content .container .content-box {
    padding: 30px;
  }

/*wrapper responsive*/
        @media (max-width: 543px) { /* xs */
          #under-content {
            max-width: 90%;
          }
        }
        @media screen and (min-width:544px) and (max-width:767px) { /* sm */
          #under-content {
            max-width: 90%;
          }
        }
        @media screen and (min-width:768px) and (max-width:991px) { /* md */
          #under-content {
            max-width: 85%;
          }
        }
        @media screen and (min-width:992px) and (max-width:1199px) { /* lg */
        }
        @media screen and (min-width:1200px) { /* xl */
        }

/* ------------------------------------------------------------------------------------
#under-content ttl
------------------------------------------------------------------------------------ */

  /*h1*/
  #under-content h1 {
    position: relative;
    color: #fff;
    font-size: 30px;
    margin: -30px -30px 30px;
    padding: 30px 30px;
    letter-spacing: 2px;
    line-height: 135%;
    font-weight: 500;
    background: linear-gradient(to right, var(--main-color), var(--sub-color));
    z-index: 1;
    text-align: center;
  }

  #under-content h1 span.day {
    display: block;
    font-size: 14px;
    margin-bottom: 10px;
    letter-spacing: 1px;
    font-weight: 400;
    line-height: 100%;
  }

  /*h2*/
  #under-content h2 {
    color: #fff;
    position: relative;
    font-size: 18px;
    font-weight: 500;

    padding: 10px 0 10px  20px;
    margin-bottom: 15px;

    position: relative;
    letter-spacing: 1px;
    background: var(--main-color);
    background: linear-gradient(to right, var(--main-color), var(--sub-color));
  }
  #under-content h2:after {
    content: "";
    width: 3px;
    height: 85%;
    background-color: #fff;
    position: absolute;
    left: 6px;
    top: 0;
  }


  /*h3*/
  #under-content h3 {
    position: relative;
    font-size: 18px;
    font-weight: 500;

    padding: 10px 0 10px  20px;
    margin-bottom: 15px;

    position: relative;
    background: #f7f7f7;
  }

  #under-content h3:before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background: var(--main-color);
    background: linear-gradient(to bottom, var(--main-color), var(--sub-color));
  }

  /*h4*/
  #under-content h4 {
    font-size: 17px;
    font-weight: 600;

    margin-left: 0;
    padding-left: 1.5em;
    text-indent: -1.5em;
    margin-bottom: 15px;

    position: relative;
  }

  #under-content h4:after {
    content: "";

    height: 1px;
    width: 100%;

    background-color: #ddd;

    position: absolute;
    left: -6px;
    right: 0;
    bottom: -5px;
  }

  #under-content h4::before {
      font-family: "Font Awesome 5 Free";
      font-weight: 600;
      content: "\f152";
      color: var(--main-color);

      margin-right: 0.5em;
  }

  /*h5*/
  #under-content h5 {
    font-size: 17px;
    font-weight: 500;

    margin-left: -0.5em;
    padding-left: 1.5em;
    text-indent: -1.5em;
    margin-bottom: 15px;
  }

  #under-content h5:before {content: "【";margin-right: 0.5em;}
  #under-content h5:after {content: "】";margin-left: 0.5em;}
  #under-content h5:before,#under-content h5:after {color: var(--main-color);}

  /*h6*/
  #under-content h6 {
    font-size: 16px;
    font-weight: 500;
    padding-left: 1.3em;
    margin-bottom: 15px;

    position: relative;
    
  }
  #under-content h6:before {
    position: absolute;
    left: 0px;
    top: 0px;
    content: "●";
    color: var(--main-color);
    font-size: 80%;
  }

    /*responsive*/
        @media (max-width: 767px) { /* xs */
          #under-content h1 {
            font-size: 23px;
          }
        }
        @media screen and (min-width:767px) and (max-width:1199px) { /* lg */
          #under-content h1 {
            font-size: 25px;
          }
        }
        @media screen and (min-width:1200px) { /* xl */
        }

/* ------------------------------------------------------------------------------------
#under-content list
------------------------------------------------------------------------------------ */

  /*ul normal*/
  #under-content .content-box ul {
    padding:0 0 0 0em;
    margin:0 0 15px;
    list-style: none;
  }
  #under-content .content-box ul > li {
    padding-left: 1.5em;
    position: relative;
  } 
  #under-content .content-box ul > li:before { 
    content: "●";
    color: var(--main-color);
    font-weight: bold;
    font-size: 7px;
    position: absolute;
    top: 0px;
    left: 4px;
  }
  #under-content .content-box ul > li a {
    text-decoration: underline;
    color: var(--main-color);
  }

  /*ul asterisk*/
  #under-content .content-box ul.asterisk_list > li:before { 
    content: "※";
    font-size: 15px;
    color: #333;
    left: 0;
  }

  /*ol normal*/
  #under-content .content-box ol {
    list-style: decimal;
    padding: 0 0 0 25px;
    margin:0 0 15px;
    list-style-position:outside;
  }
  #under-content .content-box ol > li a {
    text-decoration: underline;
    color: var(--main-color);
  }


  /*ol brackets*/
  #under-content .content-box ol.brackets > li {
    list-style-type:none;
    counter-increment: cnt1;
    text-indent: -1.8em;
  }
  #under-content .content-box ol.brackets > li:before{
    display: marker;
    content: "(" counter(cnt1) ")";
    margin-right: 0.5em;
  }

  /*dl*/

  #under-content .content-box dl {
    padding: 0;
    margin:0 0 15px;
  }
   
  #under-content .content-box dl > dt {
    font-weight: 600;
    padding-left: 1.3em;
    margin-bottom: 10px;
    position: relative;
    line-height: 135%;
    margin-top: 25px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 7px;
  }

  #under-content .content-box dl > dt:first-child {
    margin-top: 0;
  }

  #under-content .content-box dl > dt:before {
    position: absolute;
    left: 0px;
    top: 0px;
    content: "●";
    color: var(--main-color);
    font-size: 80%;
  }

  #under-content .content-box dl > dd {
    margin-left: 1.5em;
    margin-bottom: 5px;
    font-size: 14px;
    line-height: 145%;
  }

  #under-content .content-box dl > dd a {
    text-decoration: underline;
    color: var(--main-color);
  }

/* ------------------------------------------------------------------------------------
#under-content .so-panel
------------------------------------------------------------------------------------ */

  #under-content .so-panel .textwidget > *:last-child {
    margin-bottom: 0;
  }

/* ------------------------------------------------------------------------------------
#under-content table
------------------------------------------------------------------------------------ */

  #under-content .su-table {
    display: table;
    width: 100%;
  }
  
  #under-content .so-panel .su-table table {
    margin-bottom: 15px;
    width: 100%;
  }

  #under-content .su-table {
    background: linear-gradient(to right, var(--main-color), var(--sub-color));
    margin-bottom: 15px!important;
  }
  #under-content .su-table table {
    margin-bottom: 0px!important;
    letter-spacing: 0;
  }
  #under-content .su-table table th,
  #under-content .su-table table td {
    padding: 1em!important;
    font-size: 14px!important;
    vertical-align: middle!important;
    line-height: 145%;
  }
  #under-content .su-table table td p {
    font-size: 14px;
    line-height: 145%;
  }
  #under-content .su-table table th > *:last-child,
  #under-content .su-table table td > *:last-child {
    margin-bottom: 0!important;
  }
  #under-content .su-table table thead th {
    background: transparent!important;
    color: #fff!important;
  }
  #under-content .su-table table tbody th {
    background: var(--sub-color)!important;
    color: #fff!important;
    border-bottom-color: #fff!important;
    border-right: none!important;
  }
  #under-content .su-table table tbody th + td {
    border-left: none!important;
  }
  #under-content .su-table table tbody tr:first-child th:first-child {
    border-top: 1px solid var(--sub-color)!important;
  }
  #under-content .su-table table tbody tr:last-child th:first-child {
    border-bottom: 1px solid var(--sub-color)!important;
  }
  #under-content .su-table table thead + tbody th {
    background: #eee!important;
    color: #333!important;
    border-bottom-color: #b4b4b4!important;
  }
  #under-content .su-table table thead + tbody tr:last-child th:first-child {
    border-bottom-color: #b4b4b4!important;
  }
  #under-content .su-table table tfoot td {
    padding-left: 0!important;
    padding-right: 0!important;
    border: none!important;
  }
  #under-content .su-table table.tbody-th-center tbody th,
  #under-content .su-table table.tbody-td-center tbody td {
    text-align: center;
  }
  #under-content .su-table table.tbody-th-left tbody th,
  #under-content .su-table table.tbody-td-left tbody td {
    text-align: left!important;
  }
  #under-content .su-table table.tbody-th-right tbody th,
  #under-content .su-table table.tbody-td-right tbody td {
    text-align: right;
  }
  #under-content .su-table table tbody th.center,
  #under-content .su-table table tbody td.center {
    text-align: center!important;
  }
  #under-content .su-table table tbody th.vertical-top,
  #under-content .su-table table tbody td.vertical-top {
    vertical-align: top!important;
  }
  #under-content .su-table table tbody td a,
  #under-content .su-table table tfoot td a {
    text-decoration: underline;
    color: var(--main-color);
  }


/* ------------------------------------------------------------------------------------
#under-content .so-panel section
------------------------------------------------------------------------------------ */

  #under-content .so-panel section {
    margin-bottom: 45px;
  }
  #under-content .so-panel > div > *:last-child {
    margin-bottom: 0;
  }
  #under-content .so-panel article {
    margin-bottom: 30px;
  }
  #under-content .so-panel section > *:last-child,
  #under-content .so-panel article > *:last-child {
    margin-bottom: 0;
  }

/* ------------------------------------------------------------------------------------
#under-content paragraph
------------------------------------------------------------------------------------ */

  #under-content .so-panel p {
    margin-bottom: 15px;
  }
  #under-content .so-panel p:empty {
    display: none;
  }
  #under-content .so-panel p a {
    text-decoration: underline;
    color: var(--main-color);
  }


/* ------------------------------------------------------------------------------------
#under-content other
------------------------------------------------------------------------------------ */

  #under-content .so-panel .text-left {
    text-align: left!important;
  }
  #under-content .so-panel .text-right {
    text-align: right!important;
  }
  #under-content .so-panel .text-center {
    text-align: center!important;
  }
  #under-content .so-panel .text-justify {
    text-align: left;
    text-align: justify!important;
    text-justify: 
    inter-ideograph;/*ジャスティファイ*/
  }
  #under-content .so-panel .asterisk { 
    padding-left: 1.5em;
    position: relative;
  }
  #under-content .so-panel .asterisk:before { 
    content: "※"; 
    position: absolute;
    left: 0;
    top: 0;
  }
  #under-content .so-panel .btn_none {
    pointer-events: none;
  }
  #under-content .so-panel .nowrap {
    white-space: nowrap;
  }
  #under-content .so-panel .blank::after {
    font-family: "Font Awesome 5 Free";
    font-weight: 500;
    content: "\f24d";
    margin-left: 5px;
  }
  #under-content .so-panel .red {
    color: red;
  }
  #under-content .so-panel del {
    background-image: linear-gradient(#fe3464, #fe3464);
    background-position: 0 50%;
    background-size: 100% 1px;
    background-repeat: repeat-x;
    text-decoration: none;
  }
  #under-content .so-panel aside {
    border: 1px solid red;
    padding: 15px 20px;
    border-radius: 5px;
    margin-bottom: 15px;
  }
  #under-content .so-panel aside p:last-child {
    margin-bottom: 0;
  }

/* ------------------------------------------------------------------------------------
#under-content page link
------------------------------------------------------------------------------------ */

  #under-content .content-box ul.page_link {
    width: 100%;
    margin: 0 auto 0px;
    padding: 0;
    list-style: none;
    padding: 10px;
    box-sizing: border-box;
    border-top: 2px solid var(--sub-color);
    border-bottom: 2px solid var(--sub-color);
  }
  #under-content .content-box ul.page_link > li {
    display: inline-block;
    width: auto;
    text-align: left;
    padding: 5px 15px 5px 7px;
    border-right: 1px dotted;
    line-height: 125%;
    font-size: 13.5px;
    vertical-align: middle;
    margin-bottom: 10px;
    min-height: 41px;
    text-indent: 0;
    position: relative;
    letter-spacing: 0;

  }
  #under-content .content-box ul.page_link > li a {
    text-decoration: none;
    color: #333;
  }
  #under-content .content-box ul.page_link > li::before {
    display: none;
  }
  #under-content .content-box ul.page_link > li::after {
    font-family: "Font Awesome 5 Free";
    font-weight: 600;
    content: "\f0d7";
    color: var(--main-color);
    position: absolute;
    right: 8px;
    top: 45%;
    margin: auto;
    transform: translateY(-45%);
  }


    /*page_link responsive*/
        @media (max-width: 543px) { /* xs */
            #under-content .content-box ul.page_link > li {
                width: 49%;
            }          
            #under-content .content-box ul.page_link > li:nth-child(2n) {
                border-right: none;
            }
        }
        @media screen and (min-width:544px) and (max-width:767px) { /* sm */
            #under-content .content-box ul.page_link > li {
                width: 49%;
            }
            #under-content .content-box ul.page_link > li:nth-child(2n) {
                border-right: none;
            }
        }
        @media screen and (min-width:768px) and (max-width:991px) { /* md */
            #under-content .content-box ul.page_link > li {
                width: 32%;
            }
            #under-content .content-box ul.page_link > li:nth-child(3n) {
                border-right: none;
            }
        }
        @media screen and (min-width:992px) and (max-width:1199px) { /* lg */
            #under-content .content-box ul.page_link > li {
                width: 32%;
                min-height: 35px;
            }
            #under-content .content-box ul.page_link > li:nth-child(3n) {
                border-right: none;
            }
        }
        @media screen and (min-width:1200px) { /* xl */
            #under-content .content-box ul.page_link > li {
                width: 32%;
            }
            #under-content .content-box ul.page_link > li:nth-child(3n) {
                border-right: none;
            }
        }

/* ------------------------------------------------------------------------------------
追加用
------------------------------------------------------------------------------------ */

/* ------------------------------------------------------------------------------------
追加用
------------------------------------------------------------------------------------ */

/* ------------------------------------------------------------------------------------
追加用
------------------------------------------------------------------------------------ */

/* ------------------------------------------------------------------------------------
追加用
------------------------------------------------------------------------------------ */

/* ------------------------------------------------------------------------------------
追加用
------------------------------------------------------------------------------------ */

ul#sidebar ul#menu-gnav-1 li:nth-child(3n):before,
ul#sidebar ul#menu-gnav-1 li.current-menu-item:nth-child(3n):not(li:first-child) a,
ul#sidebar ul#menu-gnav-1 li:nth-child(3n) a:hover {
  background-color: var(--sub-color2)!important;
  text-shadow: 0 0 5px var(--sub-color2);
}
ul#sidebar ul#menu-gnav-1 li:nth-child(3n+1):before,
ul#sidebar ul#menu-gnav-1 li.current-menu-item:nth-child(3n+1):not(li:first-child) a,
ul#sidebar ul#menu-gnav-1 li:nth-child(3n+1) a:hover {
  background-color: var(--sub-color3);
  text-shadow: 0 0 5px var(--sub-color3);
}
ul#sidebar ul#menu-gnav-1 li:nth-child(3n+2):before,
ul#sidebar ul#menu-gnav-1 li.current-menu-item:nth-child(3n+2):not(li:first-child) a,
ul#sidebar ul#menu-gnav-1 li:nth-child(3n+2) a:hover {
  background-color: var(--sub-color4);
  text-shadow: 0 0 5px var(--sub-color4);
}