@charset "UTF-8";

/******************************
  パンくず
******************************/
.cmn-breadcrumb{
  background: #0099FF;
  color: #fff;
  padding: 10px;
  font-size: 14px;
  position: relative;
  bottom: 0;
  left: 0;
  width: 100%;
}
.cmn-breadcrumb a{
  color: #fff;
}
@media only screen and (max-width: 767px) {
  .cmn-breadcrumb{
    padding: 10px;
    font-size: 14px;
    position: relative;
    width: 100%;
  }
}

/*****************************
    ページのコンテンツ少ないとき
*****************************/
.cmn-main{
  min-height: calc(100vh - 600px);
}

/*****************************
    アンカー
*****************************/
a.anchor {
  display: block;
  padding-top: 80px;
  margin-top: -80px;
  position: relative;
  z-index: -1;
}

/*****************************
    ページャー
*****************************/
.pager{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  margin-top: 60px;
  text-align: center;
}
.pager li{
  width: calc(100%/3);
}
.pager .prev a{
  background: #0099ff;
  color: #fff;
  padding: 6px 60px 6px;
}
.pager .prev a:hover{
  background: #fff;
  border: 1px solid #0099ff;
  color: #0099ff;
  opacity: 1;
}
.pager .all a{
background: #0099ff;
    border: 1px solid #0099ff;
  color: #fff;
  padding: 6px 60px 6px;
  transition: .5s;
}
.pager .all a:hover{
  background: #fff;
  color: #0099ff;
  opacity: 1;
}
.pager .next a{
  background: #0099ff;
  color: #fff;
  padding: 6px 60px 6px;
}
.pager .next a:hover{
  background: #fff;
  border: 1px solid #0099ff;
  color: #0099ff;
  opacity: 1;
}
@media screen and (max-width: 1024px) {
}

@media screen and (max-width: 820px) {
}

@media screen and (max-width: 767px) {
  .pager .prev a{
      padding: 6px 30px 6px;
  }
  .pager .all a{
      padding: 6px 30px 6px;
  }
  .pager .next a{
      padding: 6px 30px 6px;
  }
}
/*****************************
    ページネーション
*****************************/
.pagination{
  margin-top: 30px;
  margin-bottom: 60px;
  text-align: center;
}
.pagination .current{
  background: #297E39;
  color: #fff;
  padding: 3px 10px 3px;
}
.page-numbers{
  background: #F0F5F5;
  border: 1px solid #333;
  padding: 3px 10px 3px;
}
@media screen and (max-width: 1024px) {
}

@media screen and (max-width: 820px) {
}

@media screen and (max-width: 767px) {
  .pagination{
      margin-top: 60px;
  }
}

/*****************************
    single
*****************************/
.singlehead{
  margin-top: 30px;
}
.singlehead .date{
color: #0099ff;
}
.singlehead h2{
    border-bottom: 2px solid #e7e7e7;
    position: relative;
    font-size: 24px;
    margin-bottom: 30px;
}
@media only screen and (max-width: 767px) {
  .singlehead h2{
    font-size: 20px;
  }
}

/*****************************
    404
*****************************/
.page-404 .morebtn{
  text-align: center;
  margin-top: 30px;
}
.page-404 .morebtn a{
  background: #297E39;
  border: 1px solid #297E39;
  color: #fff;
  padding: 10px 40px 10px;
  transition: .5s;
}
.page-404 .morebtn a:hover{
  background: #fff;
  color: #297E39;
  opacity: 1;
}

/******************************
  common
******************************/
.imgbox{
  text-align: center;
}
.link-txtunder,
.singlecontent a{
  color: #004B9E;
  text-decoration: underline;
}
.link-txtunder:hover,
.singlecontent a:hover{
  text-decoration: none;
}
.singlecontent p,
.txtbox p:not(:last-of-type){
  margin-bottom: 1rem;
}

/******************************
  inner
******************************/
.inner1,
.inner2,
.inner3{
  margin: 0 auto;
  max-width: 1120px;
  padding: 0 2rem;
}
.inner2{
  max-width: 1400px;
}
.inner3{
  max-width: 1280px;
}
.innernp{
  margin: 0 auto;
  max-width: 1920px;
}
.inner2 .inner1,
.inner2 .inner3,
.inner3 .inner1{
  padding: 0 !important;
}

.inner4{
  margin: 0 auto;
  width: min(800px, 100%);
  padding: 0 2rem;
}
.inner5{
  margin: 0 auto;
  width: min(1000px, 100%);
  padding: 0 2rem;
}

/******************************
  flex
******************************/
.flexbox1{
  display: flex;
  flex-wrap: wrap;
}
.flexbox2{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.flexbox3{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.flex{
  display: flex;
}
.frr{
  flex-direction: row-reverse;
}
.fac{
  align-items: center;
}
.fast{
  align-items: stretch;
}
.fafe{
  align-items: flex-end;
}
.fafs{
  align-items: flex-start;
}
.fabl{
  align-items: baseline;
}

.fbox,
.ftxtbox,
.fimgbox{
  width: 48%;
}
.fimgbox{
  text-align: center;
}

/******************************
  ttl
******************************/

/******************************
  btn
******************************/

/******************************
  tbl
******************************/

/******************************
  header
******************************/
.cmnhead{
 background: #fff;
 padding: 1.5rem 0 1.5rem;
 position: relative;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 99;
  transition: 0.5s;
  border-bottom: 1px solid #e7e7e7;
  border-top: 1px solid #e7e7e7;
}

/* 追尾中に付けるクラス */
.cmnhead.is-sticky{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
}
.cmnhead.is-sticky{
  background: rgba(255,255,255,0.98);
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

/* logo */
.cmnhead .logo{
  max-width: 290px;
  transition: 0.5s;
}
.cmnhead .logo a {
  display: flex;
  align-items: center;
}

.cmnhead .logo:hover{
  transform: scale(0.95);
  transition: 0.5s;
}
/* footer_logo */
.footer_logo{
    width: min(500px, 100%);
    transition: 0.5s;
    padding-top: 200px;
}
@media screen and (max-width: 1180px) {
.footer_logo{
    padding-top: 250px;
}
}
@media screen and (max-width: 820px) {
.footer_logo{
    padding-top: 50px;
}
}

.footer_logo img{
  width: 100%;
    /* filter: drop-shadow(1px 1px 2px #444); */
}


.footer_logo:hover{
  transform: scale(0.95);
  transition: 0.5s;
}


.cmnnav{
  margin-right: 50px;
}
.navlist a{
  display: block;
  padding: 0 1rem;
  border-bottom: 2px solid #ffffff;
}
.navlist a:hover,
.navlist .nowpage a{
  border-bottom: 2px solid #FF8000;
  opacity: 1;
}

.spbtn{
  background: #FF8000;
  border-radius: 5px;
	cursor: pointer;
  display: none;
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 40px;
  height:40px;
  z-index: 9999;
}
.spbtn span{
  background: #fff;
  border-radius: 2px;
  display: inline-block;
  position: absolute;
  left: 50%;
  height: 2px;
  transition: all .4s;
  transform: translateX(-50%);
  width: 20px;
}
.spbtn span:nth-of-type(1) {
	top:10px;
}
.spbtn span:nth-of-type(2) {
	top:18px;
}
.spbtn span:nth-of-type(3) {
	top:26px;
}
.spbtn.active span:nth-of-type(1) {
  top: 14px;
  left: 14px;
  transform: translateY(6px) rotate(-135deg);
  width: 30%;
}
.spbtn.active span:nth-of-type(2) {
	opacity: 0;
}
.spbtn.active span:nth-of-type(3){
  top: 26px;
  left: 14px;
  transform: translateY(-6px) rotate(135deg);
  width: 30%;
}
.splogo{
  display: none;
}

@media only screen and (max-width: 1180px) {
  .cmnhead {
    padding: 1rem 0;
  }
  .cmnnav {
    margin-right: 0;
  }
  .headtel {
    top: 0.5rem;
  }
}
@media only screen and (max-width: 1024px) {
  .headtel {
    display: none;
  }
  .cmnhead {
    padding: 1rem 0;
  }
  .spbtn{
    display: block;
  }
  .cmnnav {
    padding: 0 2rem;
    position: fixed;
    top: 0;
    left: 0;
    height: 0;
    width: 100%;
  }
  .cmnnav.active{
    background: #FFFFF2;
    height: 100vh;
  }
  .cmnnav.active .splogo{
    display: block;
    margin: 4rem auto;
    max-width: 300px;
    text-align: center;
  }
  .navlist{
    visibility: hidden;
    transform-origin: top center;
    transform: scale(.5);
  }
  .cmnnav.active .navlist{
    display: block;
    margin: 2rem auto;
    max-width: 300px;
    text-align: center;
    transition: .3s;
    transform: scale(1);
    visibility: visible;
  }
  .cmnnav.active .navlist li a{
    background: #fff;
    border: 1px solid #8B968D;
    margin: 1rem 0;
    padding: 1rem;
  }
  .cmnnav.active .navlist li a:hover,
  .cmnnav.active .navlist li.nowpage a{
    background: #0099FF;
    border: 1px solid #0099FF;
    color: #fff;
  }

}
@media only screen and (max-width: 820px) {
    
}
@media only screen and (max-width: 768px) {
    
}
@media only screen and (max-width: 767px) {

}

/******************************
  footer
******************************/
/* メインカラー設定 */
.cmnfot{
  background: #fff;
  color: #fff;
}


.cmnfot a{
  color: #fff;
}
/* メインカラー設定 */

.fotlogo{
  text-align: center;
  border-bottom: 2px dotted #fff;
  padding-bottom: 30px;
  margin-bottom: 20px;
}
.fotlogo img{
  filter: brightness(0) invert(1);
  transition: .5s;
}
.fotlogo img:hover{
  transform: scale(0.95);
  transition: 0.5s;
}
.fotflex{
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: flex-start;
 padding: 20px 40px 20px;
 /* text-shadow: 1px 1px 5px #474747; */
}

@media only screen and (max-width: 820px) {
.fotflex{
 padding: 20px 20px 20px;;
}

}


.ffbox1{
width: 370px;
margin-right: 30px;
}
.ffbox1_2{
 width: calc(100% - 400px);
display: flex;
justify-content: flex-start;
flex-direction: row;
flex-wrap: wrap;
}

.ffbox2{
  width: 50%;
}
.ffbox3{
  width: 50%;
}
@media screen and (max-width: 1180px) {
.ffbox2{
  width: 100%;
}
.ffbox3{
  width: 100%;
}
}
@media only screen and (max-width: 820px) {
  .ffbox1 {
    width: 100%;
    margin-right: 0;
    margin-bottom: 20px;
  }
  .ffbox1_2{
   width: 100%;
}
}




address{
  font-style: normal;
}
.ffbox2 li,
.ffbox3 li{
  margin-bottom: 10px;
}

.logolist{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 20px;
}
.logolist li{
  border: 1px solid #fff;
  padding: 10px;
  margin: 0 10px;
  list-style: none;
}
.logolist img{
  width: 150px;
  height: auto;
  filter: brightness(0) invert(1);
}

.copyright_area{
  text-align: center;
  padding: 10px;
}
.copyright_area .fotcopy{
  font-size: 12px;
}


.address_area{
  position: relative;
  padding: 20px 0px;
}

/*****************************
投稿ページはみだし制御
*****************************/
.page-single img{
  max-width: 100%; 
  height: auto;
}

/* 投稿本文内の画像をスマホでもはみ出さないように */
.entry-content img,
.wp-block-image img,
.alignnone img,
.aligncenter img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* キャプション（[caption]）のはみ出し防止 */
.wp-caption {
  max-width: 100%;
  height: auto;
}

.wp-caption img {
  width: 100%;
  height: auto;
}

/* インライン指定されたwidthを上書き */
.entry-content [style*="width:"] {
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
}

/* テキストがはみ出す場合に折り返し */
.entry-content {
  word-wrap: break-word;
  overflow-wrap: break-word;
}

/*****************************
投稿ページはみだし制御
*****************************/



/* table004 */
.class-table004{
  margin-top: 0px;
  margin-bottom: 20px;
}
.class-table004 table {
  border-collapse: collapse;
  width: 100%;
}
.class-table004 th,.class-table004 td {
  display: table-cell;
  width: auto;
  text-align: left;
  border: 1px solid #CCC;
  padding: 0.7em .5em;
  font-size: 14px;
  text-align: center;
}
.class-table004 th {
  background: #fafafa;
  color: #181818;
}
.class-table004 td:nth-child(1) {
  background: #fafafa;
  color: #181818;
}

/* ScrollHint 用：横スクロール領域にする */
.js-scrollable{
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  position: relative; /* ScrollHintのアイコン位置用 */
}

/* テーブルが「横に溢れる」ように最小幅を持たせる（重要） */
.js-scrollable table{
  min-width: 980px;   /* 列が多いので適当に大きめ */
  width: max-content; /* 対応ブラウザなら中身幅に合わせて伸びる */
}
/* table004 end*/


.footer_menu li{
  position: relative;
}
.footer_menu li::before{
  content: "";
display: block;
position: absolute;
top: 8px;
left: -20px;
width: 10px;
height: 10px;
background: #fff;
}

.footer_menu li.sub::before {
    content: '';
    display: inline-block;
    position: absolute;
    top: 9px;
    left: -16px;
    width: 1px;
    height: 10px;
    transform: translateY(-50%);
    background: #fff;
}
.footer_menu li.sub::after {
    content: '';
    display: inline-block;
    position: absolute;
    top: 14px;
    left: -16px;
    width: 9px;
    height: 1px;
    transform: translateY(-50%);
    background: #fff;
}

.ffbox2 li.main, .ffbox3 li.main {
    margin-bottom: 5px;
}
.ffbox2 li.sub, .ffbox3 li.sub {
    margin-bottom: 5px;
}
.ffbox2 li.sub.last, .ffbox3 li.sub.last {
    margin-bottom: 10px;
}

.structure_area h3{
  color: #517BC5;
  font-size: 26px;
  margin-bottom: 20px;
}
.structure_area h4{
  font-size: 18px;
  margin-bottom: 20px;
}
.structure_area h4 span{
  font-weight: bold;
  margin-right: 5px;
}
.structure_area img{
display: block;
margin: 40px auto 60px;
width: min(700px, 100%);
background: #fff;
padding: 20px;
border-radius: 20px;
}

.structure_area p .bold_text{
    font-weight: bold;
}
.structure_area p .yellow_line{
   background: linear-gradient(transparent 30%, #FFFA8F 30%);
}