@charset "UTF-8";

::selection {
  background: #73624A; 
  color: #fff; 
}
/*****************************
トップタイトル01
*****************************/
.topttl{
  margin-bottom: 40px;
}

.topttl h2{
  font-size: 50px;
  font-weight: bold;
  line-height: 1;
  color: #292b2c;
  letter-spacing: 3px;
  font-family: "Times New Roman", "游明朝", "Yu Mincho", "游明朝体", "YuMincho", "ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", "HiraMinProN-W3", "HGS明朝E", "ＭＳ Ｐ明朝", "MS PMincho", serif;
}

.topttl p{
  position: relative;
  font-size: 20px;
  line-height: 1.4;
  letter-spacing: 3px;
  font-weight: bold;
  color: #111721;
  border-left: 6px solid #292b2c;
  padding: 7px 10px;
}


.bg_content .topttl h2{
  color: #fff;
}
.bg_content .topttl p{
 color: #fff;
border-left: 6px solid #ffffff;
padding: 7px 10px;
}


@media only screen and (max-width: 820px) {
  .topttl p{
    font-size: 16px;
  }
  .topttl h2{
    font-size: 55px;
  }
}
@media only screen and (max-width: 767px) {
  .topttl h2{
    font-size: 40px;
  }
}
/*****************************
トップタイトル02
*****************************/
.topttl02{
  margin-bottom: 5px;
}
.topttl02 h2{
font-size: 26px;
font-weight: bold;
line-height: 1.4;
color: #2b396a;
margin-right: 5px;
display: inline-block;
letter-spacing: 2px;
}

.topttl02 p{
position: relative;
font-size: 16px;
line-height: 1.4;
font-weight: bold;
color: #2b396a;
display: inline-block;
vertical-align: text-top;
padding: 0px 25px;
letter-spacing: 1px;
}
.topttl02 p::before {
content: "";
display: block;
line-height: 0;
overflow: hidden;
width: 20px;
height: 2px;
background: #2b396a;
position: absolute;
top: 12px;
right: 0px;
}
.topttl02 p::after {
content: "";
display: block;
line-height: 0;
overflow: hidden;
width: 20px;
height: 2px;
background: #2b396a;
position: absolute;
top: 12px;
left: 0px;
}


/*****************************
ページタイトル
*****************************/
.pagettl{
  margin-bottom: 40px;
}
.pagettl h2{
position: relative;
font-size: 35px;
text-align: center;
font-weight: bold;
line-height: 1.4;
letter-spacing: 5px;
padding-bottom: 20px;
margin-bottom: 50px;
}
.pagettl h2::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background-color: #292b2c;
}

@media only screen and (max-width: 820px) {
.pagettl h2{
font-size: 30px;
padding-bottom: 15px;
margin-bottom: 50px;
}

.pagettl h2::before {
  width: 40px;
}
}

/*****************************
ページタイトル02
*****************************/
.pagettl02{
  margin-top: 40px;
  margin-bottom: 40px;
}
@media screen and (max-width: 767px) {
.pagettl02{
  margin-top: 30px;
  margin-bottom: 10px;
}
}

.f_contact_area .pagettl02{
margin-top: 30px;
margin-bottom: 30px;
}

.pagettl02 h2{
position: relative;
text-align: center;
padding-bottom: 20px;
margin-bottom: 40px;
}
.pagettl02 h2 .jp{
font-size: 22px;
color: #111721;
line-height: 1.4;
letter-spacing: 3px;
position: relative;
z-index: 1;
}
.f_contact_area .pagettl02 h2 .jp{
color: #fff;
}

.about_bg_img .pagettl02 h2 .jp{
color: #fff;
text-shadow: 0px 0px 5px #818181;
}

.pagettl02 h2 .en{
position: absolute;
color: rgba(200,200,200,0.3);
font-size: 80px;
text-align: center;
line-height: 1.4;
letter-spacing: 3px;
 position: absolute;
display: flex;
justify-content: center;
width: 100%;
top: 15px;
left: 50%;
transform: translateY(-50%) translateX(-50%);
z-index: 0;
font-family: "Times New Roman", "游明朝", "Yu Mincho", "游明朝体", "YuMincho", "ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", "HiraMinProN-W3", "HGS明朝E", "ＭＳ Ｐ明朝", "MS PMincho", serif;
}

.bg_lightblue .pagettl02 h2 .en{
position: absolute;
color: #ecf5ff;
text-shadow: 0px 0px 5px #c2c2c2;
}
.about_bg_img .pagettl02 h2 .en{
position: absolute;
color: #c2c2c2;
}


@media only screen and (max-width: 767px) {
.pagettl02 h2{
  padding-bottom: 0px;
  margin-bottom: 20px;
}
.pagettl02 h2 .jp{
  letter-spacing: 3px;
  font-size: 20px;
}
.pagettl02 h2 .en,.bg_lightblue .pagettl02 h2 .en{
  font-size: 35px;
  top: -10px;
  color: rgba(200, 200, 200, 0.5);
}
}
/*****************************
ページタイトル03
*****************************/
.title-type01 {
  margin-bottom: 30px;
}

.title-type01 .ttl-main {
border-bottom: 2px solid #c8c8c8;
position: relative;
font-size: 28px;
letter-spacing: 1px;
padding-bottom: 5px;
font-weight: bold;
color: #292b2c;
}

.title-type01 .ttl-main::after {
content: "";
display: block;
line-height: 0;
overflow: hidden;
position: absolute;
left: 0;
bottom: -2px;
width: 15%;
border-bottom: 2px solid #292b2c;
}


@media only screen and (max-width: 820px) {
.title-type01 .ttl-main {
font-size: 20px;
}
}
/*****************************
ページタイトル04
*****************************/
.title-type02 {
  margin-bottom: 30px;
}

.title-type02 .ttl-main {
position: relative;
font-size: 20px;
letter-spacing: 3px;
background: #015990;
color: #ffffff;
padding: 10px;
}

@media only screen and (max-width: 820px) {
.title-type02 .ttl-main {
  font-size: 16px;
  text-align: left;
  padding: 10px;
}
}

/*****************************
ページタイトル05
*****************************/
.title-type03 {
  margin-bottom: 30px;
}

.title-type03 .ttl-main {
    position: relative;
    font-size: 30px;
    letter-spacing: 3px;
    color: #292b2c;
    padding: 10px;
    border-top: 3px solid #015990;
    border-bottom: 1px solid #cccccc;
}

@media only screen and (max-width: 820px) {
.title-type03 .ttl-main {
  font-size: 22px;
  text-align: left;
  padding: 10px;
}
}
@media only screen and (max-width: 767px) {
.title-type03 .ttl-main {
  font-size: 20px;
  line-height: 1.4;
}
}

/*****************************
ページタイトル06
*****************************/
.pagettl03{
margin-top: 0px;
margin-bottom: 0px;
width: 100%;
}

.pagettl03 h2{
position: relative;
text-align: center;
}
.pagettl03 h2 .jp{
font-size: 24px;
color: #292b2c;
line-height: 1.4;
letter-spacing: 3px;
position: relative;
z-index: 1;
font-family: "Times New Roman", "游明朝", "Yu Mincho", "游明朝体", "YuMincho", "ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", "HiraMinProN-W3", "HGS明朝E", "ＭＳ Ｐ明朝", "MS PMincho", serif;
}

.pagettl03 h2 .en{
position: absolute;
color: #f2f2f2;
font-size: 70px;
text-align: center;
line-height: 1.4;
letter-spacing: 3px;
 position: absolute;
display: flex;
justify-content: center;
width: 100%;
top: 15px;
left: 50%;
transform: translateY(-50%) translateX(-50%);
z-index: 0;
font-family: "Times New Roman", "游明朝", "Yu Mincho", "游明朝体", "YuMincho", "ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", "HiraMinProN-W3", "HGS明朝E", "ＭＳ Ｐ明朝", "MS PMincho", serif;
}




@media only screen and (max-width: 767px) {
.pagettl03 h2{
  padding-bottom: 0px;
  margin-bottom: 20px;
}
.pagettl03 h2 .jp{
  letter-spacing: 3px;
  font-size: 20px;
}
.pagettl03 h2 .en{
  font-size: 30px;
  top: -5px;
}
}

/*****************************
ページタイトル07
*****************************/
.title-type04 {
  position: relative;
  color: #292b2c;
  font-size: 22px;
  line-height: 1;
  margin-bottom: 40px;
  font-weight: 500;
  letter-spacing: 2px;
}
.title-type04::before {
    position: absolute;
    content: "";
    background: #202a68;
    height: 2px;
    width: 50px;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
}


/******************************
  パンくず
******************************/
.cmn-breadcrumb{
  padding: 30px 10px;
  color: #fff;
  font-size: 14px;
  position: absolute;
  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;
    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: #2b396a;
  color: #fff;
  padding: 6px 60px 6px;
}
.pager .prev a:hover{
  background: #fff;
  border: 1px solid #2b396a;
  color: #2b396a;
  opacity: 1;
}
.pager .all a{
  background: #292b2c;
  border: 1px solid #292b2c;
  color: #fff;
  padding: 6px 60px 6px;
  transition: .5s;
}
.pager .all a:hover{
  background: #fff;
  color: #292b2c;
  opacity: 1;
}
.pager .next a{
  background: #292b2c;
  color: #fff;
  padding: 6px 60px 6px;
}
.pager .next a:hover{
  background: #F0F5F5;
  border: 1px solid #292b2c;
  color: #181818;
  opacity: 1;
}
@media screen and (max-width: 1024px) {
}

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

@media screen and (max-width: 767px) {
  .pager .prev a{
      padding: 4px 20px 4px;
  }
  .pager .all a{
      padding: 4px 20px 4px;
  }
  .pager .next a{
      padding: 4px 20px 4px;
  }
}
/*****************************
    ページネーション
*****************************/
.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: #999;
}
.singlehead h2{
border-bottom: 2px solid #999;
  position: relative;
  font-size: 20px;
  margin-bottom: 30px;
  padding-top: 5px;
  padding-bottom: 5px;
}
@media only screen and (max-width: 767px) {
  .singlehead h2{
    font-size: 18px;
  }
}

/*****************************
    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: 1920px;
}
.inner3{
  max-width: 1280px;
}
.innernp{
  margin: 0 auto;
  max-width: 1920px;
}
.inner2 .inner1,
.inner2 .inner3,
.inner3 .inner1{
  padding: 0 !important;
}

.header-inner{
  margin: 0 auto;
  max-width: 1920px;
  padding: 0 0rem;
}


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

/******************************
  flex
******************************/
.flexbox1{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}
.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: rgb(255, 255, 255, 0.8); */
 /* padding: 1.5rem 0 1.5rem; */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  transition: 0.5s;
}
.cmnhead.on{
  background: #fff;
  /* padding: 0.5rem 0 1rem; */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  transition: 0.5s;
  box-shadow: 0px 0px 2px 0px rgba(0, 0, 0, .2);
}

/* @media screen and (max-width: 1180px) {
.cmnhead{
  transition: unset;
}
.cmnhead.on{
  transition: unset;
}
} */


/* logo */
.cmnhead .logo{
  max-width: 200px;
  margin-left: 30px;
  transition: 0.5s;
  padding: 0px;
  filter: brightness(0) invert(1);
}
.cmnhead .logo a {
  display: flex;
  align-items: center;
}
.cmnhead.on .logo{
  max-width: 140px;
  transition: 0.5s;
  padding: 0px;
  filter: unset;
}
.cmnhead .logo:hover{
  transform: scale(0.95);
  transition: 0.5s;
}
/* footer_logo */
.footer_logo{
  max-width: 200px;
  transition: 0.5s;
}
.footer_logo:hover{
  transform: scale(0.95);
  transition: 0.5s;
}


/* .cmnnav{
  margin-right: 180px;
} */
.navlist a{
  display: block;
  padding: 0 1rem;
  border-bottom: 2px solid rgba(255, 255, 255, 0);
  color: #fff;
  transition: 0.5s;
  padding-bottom: 10px;
}

.cmnhead.on .navlist a{
  color: #111721;
  transition: 0.5s;
  padding-bottom: 10px;
}


@media screen and (max-width: 1180px) {
.navlist a{
  transition: unset;
}
.cmnhead.on .navlist a{
  transition: unset;
}
}


.navlist a:hover,
.navlist .nowpage a{
  border-bottom: 2px solid #ffffff;
  opacity: 1;
  color: #fff;
  transition: 0.5s;
}

.cmnhead.on .navlist a:hover,
.cmnhead.on .navlist .nowpage a{
  border-bottom: 2px solid #111721;
  opacity: 1;
  color: #111721;
  transition: 0.5s;
}

@media screen and (max-width: 1180px) {
.navlist a:hover,
.navlist .nowpage a{
  transition: unset;
}
.cmnhead.on .navlist a:hover,
.cmnhead.on .navlist .nowpage a{
  transition: unset;
}
}


/* li:last-child */
.navlist li:last-child{
  background: #292b2c;
  color: #fff;
  transition: 0.5s;
  margin-left: 10px;
}
.navlist li:last-child:hover{
  background: #000;
  color: #fff;
  transition: 0.5s;
}

.navlist li:last-child a{
  color: #fff;
  border-bottom: 2px solid #292b2c;
  padding: 0rem 3rem;
  transition: 0.5s;
  height: 90px;
  display: flex;
  align-items: center;
  flex-direction: row;
  justify-content: center;
  flex-wrap: wrap;
  align-content: center;
}
.cmnhead.on .navlist li:last-child a{
  color: #fff;
  transition: 0.5s;
  height: 65px;
}
@media screen and (max-width: 1024px) {
.navlist li:last-child a{
  transition: unset;
  height: 65px;
}
.cmnhead.on .navlist li:last-child a,.cmnhead .navlist li:last-child a{
  transition: unset;
}
}


.navlist li:last-child:hover a{
  border-bottom: 2px solid #2b396a;
  transition: 0.5s;
}
.navlist li:last-child a .mail_style{
  width: 100%;
  text-align: center;
  line-height: 1;
  font-size: 17px;
  margin-bottom: 5px;
}


.navlist li:last-child a span{
   width: 100%;
  text-align: center;
  line-height: 1;
  font-size: 14px;
}


@media screen and (max-width: 1024px) {
  .navlist li:last-child{
    background: none;
    color: #111111;
    transition: 0s;
    margin-left: 0px;
  }
  .navlist li:last-child:hover{
    background: none;
    color: #111111;
  transition: 0s;
  }
  .navlist li:last-child span{
    font-size: 16px;
  }
  .navlist li:last-child a{
    background: #fff;
    border: 1px solid #06517A;
    color: #101010;
    margin: 1rem 0;
    padding: 1rem;
    transition: 0s;
  }
  .navlist li:last-child:hover a{
    background: #06517A;
    color: #fff;
    transition: 0s;
  }
  .mail_style{
    display: none;
  }
}


/* li:last-child  END*/


/* .cmnhead .headtel{
  position: absolute;
  top: 2rem;
  right: 2rem;
  transition: 0.5s;
}
.cmnhead.on .headtel{
  position: absolute;
  top: 1rem;
  right: 2rem;
  transition: 0.5s;
}


.headtel a{
  font-size: 2.2rem;
  line-height: 1;
}
.headtel p{
  font-size: 1.4rem;
} */
.spbtn{
background: #292b2c;
  /* border-radius: 5px; */
	cursor: pointer;
  display: none;
  position: absolute;
  top: 13px;
  right: 10px;
  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: 1024px) {
  .cmnhead .logo {
    max-width: 115px;
    margin: 10px 0 10px 30px;
    padding: 0px;
  }
  .cmnhead.on .logo{
   max-width: 115px;
  transition: 0.5s;
}
  .spbtn{
    display: block;
  }
  .cmnnav {
    padding: 0 2rem;
    position: fixed;
    top: 0;
    left: 0;
    height: 0;
    width: 100%;
  }
  .cmnnav.active{
    background: #ffffff;
    height: 100dvh;
    z-index: 1;
  }
  .cmnnav.active .splogo{
    display: block;
    margin: 4rem auto;
    max-width: 150px;
    text-align: center;
  }
  .navlist{
    visibility: hidden;
    transform-origin: top center;
    transform: scale(.5);
  }
  .cmnnav.active .navlist{
    display: block;
    margin: 0 auto;
    max-width: 330px;
    text-align: center;
    transition: .3s;
    transform: scale(1);
    visibility: visible;
  }
  .cmnnav.active .navlist li a{
    background: #003C89;
    border: 1px solid #001E45;
    margin: 1rem 0;
    padding: 1rem 1rem;
    color: #fff;
  }
    .cmnnav.active .navlist li:last-child a{
    background: #003C89;
    border: 1px solid #001E45;
    margin: 1rem 0;
    padding: 1rem 1rem;
    color: #fff;
    height: 50px;
  }
  .cmnnav.active .navlist li a:hover,
  .cmnnav.active .navlist li.nowpage a{
    background: #001E45;
    color: #fff;
    border: 1px solid #001E45;
  }

}
@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: #1f1f1f;
}
.cmnfot a{
  color: #1f1f1f;
}
/* メインカラー設定 */

.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: 40px 40px 40px 40px;
}


.ffbox1{
  width: 37%;
  margin-right: 3%;
}
.ffbox2{
  width: 30%;
}
.ffbox3{
  width: 30%;
}
address{
  font-style: normal;
}
/*****************************
  footer menu
*****************************/
.ffbox2 li,
.ffbox3 li{
  margin-bottom: 7px;
}
.ffbox2 li.sub,
.ffbox3 li.sub{
  margin-bottom: 7px;
}
.ffbox2 li.oya,
.ffbox3 li.oya{
  margin-bottom: 5px;
}

.ffbox2 li a,
.ffbox3 li a{
  position: relative;
  margin-left: 20px;
}
.ffbox2 li a::before,
.ffbox3 li a::before{
  content: "";
  display: block;
  position: absolute;
  top: 8px;
  left: -20px;
  width: 10px;
  height: 10px;
  background: #292b2c;
}
.ffbox2 li.sub a::before,.ffbox3 li.sub a::before{
content: '';
display: inline-block;
position: absolute;
top: 9px;
left: -16px;
width: 1px;
height: 10px;
transform: translateY(-50%);
background: #292b2c;
}
.ffbox2 li.sub a::after,.ffbox3 li.sub a::after{
content: '';
display: inline-block;
position: absolute;
top: 14px;
left: -16px;
width: 9px;
height: 1px;
transform: translateY(-50%);
background: #292b2c;
}

.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{
background: #292b2c;
color: #fff;
text-align: center;
padding: 10px;
}
.copyright_area .fotcopy{
  font-size: 13px;
}

@media only screen and (max-width: 820px) {
.ffbox1{
  width: 30%;
  margin-right: 4%;
}
.ffbox2{
  width: 33%;
}
.ffbox3{
  width: 33%;
}
}
@media only screen and (max-width: 767px) {
.ffbox1{
  width: 100%;
  margin-right: 0%;
}
  .ffbox2,
  .ffbox3{
    width: 50%;
  }
  .logolist li {
    margin: 10px 10px;
    width: calc(100% / 3);
  }
}
@media only screen and (max-width: 600px) {
  .ffbox1,
  .ffbox2,
  .ffbox3{
    width: 100%;
  }
}


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

.address_area h2{
  font-size: 17px;
  letter-spacing: 1px;
  margin-bottom: 10px;
  font-weight: bold;
}

/*****************************
投稿ページはみだし制御
*****************************/
.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;
}

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



/******************************
固定ページ内 基本設定
******************************/

.simple_box{
  position: relative;
  margin-bottom: 50px;
}

.simple_box p{
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 10px;
}
.simple_box img{
  margin-top: 10px;
  margin-bottom: 10px;
}
.img_area_yokonarabi{
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-content: flex-start;
  justify-content: flex-start;
  align-items: flex-start;
}
.img_area_yokonarabi img{
  padding: 10px;
  max-width: 50%;
}
@media screen and (max-width: 767px) {
.img_area_yokonarabi img{
  padding: 10px 0;
  max-width: 100%;
}
}
/* pagetxt */

.pagetxt{
width: min(800px, 100%);
margin: 0 auto;
padding: 20px;
}
.pagetxt p{
  font-size: 16px;
}


/* pagetxt02 */

.pagetxt02{
width: min(800px, 100%);
margin: 50px auto;
padding: 20px;
font-size: 18px;
line-height: 1.8;
}
.pagetxt02 p{
  font-size: 22px;
}

.pagetxt02 ul{
  font-size: 20px;
  font-family: "Times New Roman", "游明朝", "Yu Mincho", "游明朝体", "YuMincho", "ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", "HiraMinProN-W3", "HGS明朝E", "ＭＳ Ｐ明朝", "MS PMincho", serif;
}
@media screen and (max-width: 767px) {
.pagetxt02 ul{
  font-size: 16px;
}
}


.pagetxt02 li{
  padding-left: 20px;
  position: relative;
  margin-bottom: 30px;
}
.pagetxt02 li::before{
  content: "";
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #909090;
  left: 0;
  top: 8px;
}

.pagetxt02 li span{
padding-left: 2px;
color: #015990;
font-weight: bold;
}



@media only screen and (max-width: 767px) {
.pagetxt02{
padding: 0px;
font-size: 16px;
}
.pagetxt02 p{
  font-size: 18px;
}
}

.pageimg{
width: min(800px, 100%);
margin: 0 auto;
margin-top: 30px;
margin-bottom: 30px;
}
.pageimg img{
width: 100%;
aspect-ratio: 5/3;
object-fit: cover;
}


.gmap {
height: 0;
overflow: hidden;
padding-bottom: 40%;
position: relative;
}
@media screen and (max-width: 767px) {
.gmap {
padding-bottom: 100%;
  }
}
.gmap iframe {
position: absolute;
left: 0;
top: 0;
height: 100%;
width: 100%;
}

.table_inner{
  width: min(1000px, 100%);
  margin: 80px auto 50px;
  box-shadow: 4px 4px 15px rgba(0, 0, 0, 0.2);
  padding: 30px;
  background: rgba(255,255,255,0.85);
}
@media screen and (max-width: 767px) {
.table_inner {
    margin: 30px auto 50px;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
    padding: 30px 5px;
    background: rgba(255, 255, 255, 0.85);
}
}

table#table_company {
    border-collapse: collapse;
    border-spacing: 0;
    font-size: 16px;
    width: 100%;
}

@media screen and (max-width: 767px) {
table#table_company {
    font-size: 14px;
}
}

#table_company tr {
    border-bottom: 1px solid #ccc;
}

#table_company th {
    text-align: center;
    width: 150px;
    padding: 20px 10px;
    vertical-align: middle;
}
#table_company td {
    text-align: left;
    width: calc(100% - 150px);
    padding: 10px 30px;
    vertical-align: middle;
}
@media screen and (max-width: 767px) {
#table_company th {
width: 100px;
padding: 10px 5px;

}
#table_company td {
    width: calc(100% - 100px);
    padding: 10px 5px;
}
}


table#table_company a,table#table_company span{
color : #1558d6;
}
table#table_company i{
margin: 0 3px;
}


/*****************************
  RECRUIT
*****************************/
.bg_lightblue {
  background: #ECF5FF;
  margin: 0 !important;
  padding: 90px 0 60px !important;
}

.calendartxt{
  text-align: left;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
}
.calendartxt p{
  margin-bottom: 30px;
}

.calendarsec table {
  border-top: none;
  border-left: none;
  border-collapse: collapse;
  width: min(800px, 100%);
  max-width: 100%;
  margin: 10px auto;
  border-collapse: separate;
  border-spacing: 0 10px;
}

.calendarsec table tr {
  margin-bottom: 10px;
}
.calendarsec table th {
  border-right: none;
  padding: 20px;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  background-color: #fff;
  text-align: left;
  vertical-align: middle;
  width: 100px;
  text-align: center;
  letter-spacing: 3px;
  font-size: 20px;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
  border-left: 1px solid #eee;
}
@media screen and (max-width: 767px) {
  .calendarsec table th {
    padding: 5px 10px;
    width: 65px;
    font-size: 17px;;
  }
}

.calendarsec table td {
  background: #fff;
  border-right: none;
  padding: 20px;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  text-align: left;
  width: calc(100% - 100px);
  border: 1px solid #eee;
}
@media screen and (max-width: 767px) {
  .calendarsec table td {
    padding: 20px 10px;
    width: calc(100% - 65px);
  }
}


.recruit_detail_contents{
  width: min(900px, 100%);
  padding: 20px;
  margin: 0 auto;
  background: #fff;
}
@media screen and (max-width: 767px) {
.recruit_detail_contents{
  width: 100%;
}
}

.right_text {
    text-align: right;
    font-size: 18px;
    margin-top: 20px;
}


.about_bg_img {
    position: relative;
    background-image: url(../images/common/about_bg.webp);
    background-repeat: no-repeat;
    background-position: top;
    background-size: contain;
    margin: 0;
    padding: 50px 0 20px;
}

/* SPメニュー開時に背面スクロールを止める */
body.lock {
  overflow: hidden;           /* ← これだけでOK */
  /* touch-action: none;  ← これがあると子要素もスクロールしにくいので削除/上書き */
}

/* === SPメニュー全体をスクロール可能に === */
@media (max-width: 1024px) {
  .cmnnav.active{
    position: fixed;          /* 既に指定あり（再掲） */
    inset: 0;                 /* top:0;left:0;width:100%;height:100dvh; を簡潔に */
    height: 100dvh;           /* 既存維持 */
    overflow-y: auto;         /* ← メニュー側をスクロール可能にする主役 */
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain; /* バウンスで背面に伝播しない */
  }

  /* ロゴや余白がある場合、リスト側にも独立スクロールを用意（どちらでもOK） */
  .cmnnav.active .navlist{
    max-width: 330px;         /* 既存維持（再掲） */
    margin: 0 auto;
    padding-bottom: 24px;     /* 最下段を押しやすくする余白 */
  }
}