﻿main.detail article{
  overflow: visible;
}

/* tool */
.tllist{
  flex-wrap: wrap;
}
@media screen and (min-width: 1000px){
  .tllist a.block{
     width: calc(33% - 20px);
  }
}

.detail .h1ttl{
  margin: 10px 0;
}
.detail .date{
  text-align: right;
  font-weight: 700;
  opacity: .7;
}
.detail .bl-cat{
  color: #fff;
  background: rgb(3 155 229 / 85%);
  display: inline-block;
  font-size: 1.4rem;
  line-height: 2rem;
  font-weight: 500;
  border-radius: 15px;
  padding: 2px 10px;
  margin: 0 .5rem;
}
.detail .eyecatch{
  display: inline-block;
  vertical-align: middle;
  margin: -4rem 2rem 0 0;
  width: 10rem;
  height: 10rem;
  float: left;
  border-radius: 10px;
  border: 3px solid #ebeff3;
  background-position: center center;
  background-size: cover;
}
@media screen and (min-width: 1000px){
  .detail .eyecatch{
    float: none;
  }
}
.maintxt{
  text-align: left;
  padding: 0 1rem 1rem;
  overflow: visible;
  line-height:1.6em;
}
.maintxt div{
  overflow: visible;
}  
@media screen and (min-width: 1000px){
  .maintxt{
    padding: 0 30px 30px;
    max-width: 850px;
    margin: 2rem auto 0;
  }
}
.maintxt h2 {
  background-color: #004986;
  padding: 1em;
  font-weight: bold;
  color: #fff;
  font-size: 24px;
  margin: 3rem -1rem;
  text-align:center;
  border-radius: 10px;
}
.maintxt p{
  margin-top:1em;
}
.maintxt h3{
    background: #039BE5;
    color: #ffffff;
    position: relative;
    font-size: 2rem;
    font-weight: 700;
    line-height: 3rem;
    text-align: left;
    border-radius: 10px;
    margin: 3rem -1rem 2rem;
    padding: 10px;
}
@media screen and (min-width: 1000px){
  .maintxt h3{
    text-align: center;
  }
}
.maintxt h3::after{
  content: '';
  border-top: 10px solid #039BE5;
  position: absolute;
  border-right: 10px solid transparent;
  border-left: 10px solid transparent;
  bottom: -10px;
  left: calc(50% - 10px);
}
.maintxt h4{
  color: #039BE5;
  background: rgb(5 155 229 / 5%);
  font-size: 2rem;
  font-weight: bold;
  border-top: 2px solid #039BE5;
  border-bottom: 2px solid #039BE5;
  padding: 10px;
  margin: 30px 0 10px;
}

.maintxt p{
  margin-bottom: 12px;
}
.maintxt a{
  text-decoration: underline;
}
.maintxt a.btn_blue{
  text-decoration: none;
}
.maintxt .fc{
  font-size: 1.4rem;
  margin: 1rem auto 1rem;
  width: 100%;
  text-align: center;
}
.maintxt .fc *{
  margin: 0 auto 1rem;
}
.maintxt .fr{font-size: 1.4rem;float: right;margin: 4rem 0 4rem 4rem;}
.maintxt .fl{font-size: 1.4rem;float: left;margin: 0 2rem 3rem 0;}
.maintxt .prevnext{
  display: flex;
  justify-content: space-between;
  margin: 3rem 0;
}
.maintxt .prevnext a{
  padding: 1rem 2rem;
  color: #fff;
  font-weight: 700;
  background: #004986;
  border-radius: 25px;
}
.maintxt .prevnext p.prev,
.maintxt .prevnext p.next{
  color: #888;
  background: #eeeeee;
  padding: 1rem 2rem;
  font-weight: 700;
  border-radius: 25px;
}

.maintxt .prevnext a.prev::before{
  content: "";
  border: 5px solid transparent;
  border-right-color: #fff;
  display: inline-block;
  margin-right: 1rem;
}
.maintxt .prevnext a.next::after{
  content: "";
  border: 5px solid transparent;
  border-left-color: #fff;
  display: inline-block;
  margin-left: 1rem;
}
.maintxt blockquote{
  background: #ebeff3;
  position: relative;
  border-radius: 10px;
  margin: 10px 0 10px;
  padding: 10px 10px 2px;
}
.maintxt table{
  border-collapse: collapse;
}
.maintxt th,
.maintxt td{
  padding: 10px;
  border: 1px solid #ccc;
  word-break: break-all;
}
.maintxt th{
  background: #ebeff3;
}
.maintxt ul{
  padding: 0 0 15px 5px;
  list-style: inside;
}
.maintxt ul#mokuji{
  padding: 0 0 15px 5px;
  list-style: none;
}
.maintxt ul#mokuji li{
  padding: .5rem;
}
.maintxt ul#mokuji li::before{
  content:"▼";
  color: #004986;
  font-size: 1rem;
  display: inline-block;
  vertical-align: middle;
}
.maintxt ul#mokuji li a{
  color: #004986;
}

.s_impression ul{
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  grid-gap: 1.5rem;
}
.s_impression li{
  padding: 1rem;
  font-size: 1.4rem;
  text-align: left;
  background: #eff3eb;
  width: 100%;
  border-radius: 10px;
  box-sizing: border-box;
  list-style: none;
}
.s_impression li:nth-child(n + 10){
  display: none;
}
.s_impression ul.show li:nth-child(n + 10){
  display: block;
}
#impopen{
  cursor: pointer;
}
@media screen and (min-width: 1000px){
  .s_impression ul{
    flex-direction: row;
  }
  .s_impression li{
    width: calc(50% - 1.5rem);
  }
}
@media screen and (min-width: 1200px){
  .s_impression li{
    width: calc(33% - 1.5rem);
  }
}
@media screen and (min-width: 1500px){
  .s_impression li{
    width: calc(25% - 1.5rem);
  }
}
@media screen and (max-width: 1000px){
  .x-scroll {
    overflow:auto !important;
    white-space: nowrap;
  }
  .x-scroll table{
    width:100%;
  }
  .x-scroll::-webkit-scrollbar{
    height: 5px; /* スクロールバーの高さ */
  }
  .x-scroll::-webkit-scrollbar-track{
    background: #F1F1F1; /* スクロールバーの背景色 */
  }
  .x-scroll::-webkit-scrollbar-thumb {
    background: #d6d6d6; /* スクロールバーの色 */
  }
  .x-scroll td, .x-scroll th{
    white-space: nowrap;
  }
}

.bl-ttlmn{
  max-width: 870px;
  margin: 0 auto;
  padding: 1.5rem 0;
  text-align: center;
}
.bl-ttlmn img{
  width: 6.5rem;
  height: 6.5rem;
  border: .4rem solid;
  border-radius: 100%;
  vertical-align: middle;
  display: none;
  margin: -2rem 0rem;
}
@media screen and (min-width: 1000px){
  .bl-ttlmn img{
  display: inline-block;
    margin: -2rem 0rem;
  }
}
.bl-ttlmn .h1ttl{
  line-height: 2.7rem;
  text-align: center;
}
.detail div.h1ttl{
  display: block;
  margin-bottom: 4rem;
}

.center{
  text-align: center;
  margin: 20px auto;
}
.center img{
  margin: 20px auto 0;
  display: block;
}


#sidebar li{
  min-height: auto;
}

.maintxt .kllist a.block {
  width: calc(50% - 20px);
}
.box-button2{
  display:flex;
  flex-direction: column;
  padding:1em;
}
.box-button2 a{
  display:block;
  width:auto;
  box-sizing:border-box;
  border: solid 2px #004986;
  margin: 1em;
  padding: 1.6em;
  background: #f1f6ff;
  color: #004986;
  font-weight: bold;
  text-align: center;
  border-radius: 3em;
}
@media screen and (min-width: 1000px){
  .box-button2{
    flex-direction: row;
  }
  .box-button2 a{
    width: 50%;
  }
}

h2 {
    background-color: #004986;
    padding: 1em;
    font-weight: bold;
    color: #fff;
    font-size: 24px;
    margin: 3rem -1rem;
text-align:center;
}
.maintxt{
line-height:1.6em;
}
.catlist{
  display: flex;
  grid-gap: 20px;
  flex-direction: column;
  justify-content: center;
}
@media screen and (min-width: 1000px){
  .catlist{
    flex-direction: row;
  }
}
.catlist a.block{
  color: #004986;
  background: #ebeff3;
  padding: 13px;
  border: 2px solid #ebeff3;
  border-radius: 10px;
  box-sizing: border-box;
  text-align: center;
}
@media screen and (min-width: 1000px){
  .catlist a.block:hover{
    background: #fff;
    border-color: #004986;
  }
}
.catlist a.block h3{
  font-size: 1.9rem;
  font-weight: 500;
  height: 6rem;
  text-align: center;
}
.catlist a.block h3 small{
  display: block;
  font-size: 1.2rem;
}
.catlist a.block img{
  border-radius: 10px;
  margin-bottom: 10px;
}
.catlist a.block p{
  color: #333;
  text-align: left;
}
.box_company_department a.block h3{background: none;color: #004986;line-height: 1em;margin: 0;padding: 0 0 .6em 0;height: fit-content;}
.box_company_department h3::after{border-top: 0 !important;content:none;}
.box_company_department a.block{text-decoration: none;}
.box_company_department a.block img{margin-bottom: .6em;}

@media screen and (max-width: 1000px){
article.catlist.kllist.box_company_department a.block {width: 100%;}
}

/* ユーザー情報*/
.swpm-fieldset #item-swpm-12{display: none;}

@media screen and (max-width: 1000px){
.imgbox{max-width: 100% !important;margin: 0 auto !important;float: none !important;text-align: center;}
}
