@charset "UTF-8";

/*****************************
タイトル
*****************************/
.topttl{
  margin-bottom: 40px;
}
.topttl p{
  font-size: 20px;
  line-height: 1.4;
  letter-spacing: 3px;
  font-weight: bold;
  color: #181818;
}
.topttl h2{
  font-size: 65px;
  font-weight: bold;
  line-height: 1.4;
  color: #160377;
}
@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
*****************************/
.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: #160377;
}

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

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

/*****************************
タイトル03
*****************************/
.pagettl02{
  margin-top: 40px;
  margin-bottom: 40px;
}
.pagettl02 h2{
position: relative;
text-align: center;
padding-bottom: 20px;
margin-bottom: 40px;
}
.pagettl02 h2 .jp{
font-size: 45px;
color: #160377;
font-weight: bold;
line-height: 1.4;
letter-spacing: 5px;
position: relative;
z-index: 1;
}

.pagettl02 h2 .en{
position: absolute;
color: rgba(200,200,200,0.3);
font-size: 80px;
text-align: center;
line-height: 1.4;
letter-spacing: 5px;
 position: absolute;
display: flex;
justify-content: center;
width: 100%;
top: 0px;
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: #fff;
}



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


.page-link .pagettl02 h2 .jp{
    color: #e6519a;
}

.page-link .pagettl02 h2 .en{
color: rgba(253,145,226,0.1);
}



/*****************************
タイトル04
*****************************/
.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: #160377;
}

.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 #160377;
}


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

.title-type02 .ttl-main {
position: relative;
font-size: 25px;
letter-spacing: 1px;
padding-bottom: 5px;
font-weight: bold;
color: #015990;
}

@media only screen and (max-width: 820px) {
.title-type02 .ttl-main {
  font-size: 18px;
  text-align: left;
  padding: 10px;
}
}
/******************************
  パンくず
******************************/
.cmn-breadcrumb{
  background: #fff;
  padding: 10px;
  font-size: 14px;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
}
.cmn-breadcrumb a{
  color: #181818;
}
@media only screen and (max-width: 767px) {
  .cmn-breadcrumb{
    background: #fff;
    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: #2110a2;
  color: #fff;
  padding: 6px 60px 6px;
}
.pager .prev a:hover{
  background: #fff;
  border: 1px solid #2110a2;
  color: #2110a2;
  opacity: 1;
}
.pager .all a{
  background: #160377;
  border: 1px solid #160377;
  color: #fff;
  padding: 6px 60px 6px;
  transition: .5s;
}
.pager .all a:hover{
  background: #fff;
  color: #160377;
  opacity: 1;
}
.pager .next a{
  background: #160377;
  color: #fff;
  padding: 6px 60px 6px;
}
.pager .next a:hover{
  background: #F0F5F5;
  border: 1px solid #160377;
  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: 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: #999;
}
.singlehead h2{
  border-bottom: 3px solid #c8c8c8;
  position: relative;
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 30px;
}
@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);
}

/* logo */
.cmnhead .logo{
  max-width: 250px;
  margin-left: 30px;
  transition: 0.5s;
}
.cmnhead .logo a {
  display: flex;
  align-items: center;
}
.cmnhead.on .logo{
  max-width: 220px;
  transition: 0.5s;
}
.cmnhead .logo:hover{
  transform: scale(0.95);
  transition: 0.5s;
}
/* footer_logo */
.footer_logo{
  max-width: 280px;
  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);
}
.navlist a:hover,
.navlist .nowpage a{
  border-bottom: 2px solid #160377;
  opacity: 1;
}
/* li:last-child contact_style*/
.navlist li.contact_style{
  background: #160377;
  color: #fff;
  transition: 0.5s;
  margin-left: 10px;
}
.navlist li.contact_style:hover{
  background: #2110a2;
  color: #fff;
  transition: 0.5s;
}

.navlist li.contact_style a{
  color: #fff;
  border-bottom: 2px solid #160377;
  padding: 0rem 2rem;
  transition: 0.5s;
  height: 75px;
  display: flex;
  align-items: center;
  flex-direction: row;
  justify-content: center;
  flex-wrap: wrap;
  align-content: center;
}
.cmnhead.on .navlist li.contact_style a{
  padding: 0rem 2rem;
  /* transition: 0.5s; */
  /* height: 60px; */
}



.navlist li.contact_style:hover a{
  border-bottom: 2px solid #2110a2;
  transition: 0.5s;
}
.navlist li.contact_style a .mail_style{
  width: 100%;
  text-align: center;
  line-height: 1;
  font-size: 22px;
  margin-bottom: 5px;
}
.cmnhead.on .navlist li.contact_style a .mail_style{
  font-size: 20px;
}


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


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


/* li.contact_style 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: #003C89;
  /* 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: 1180px) {
  /* .cmnhead {
    padding: 3rem 0 1rem;
  } */
  /* .cmnnav {
    margin-right: 0;
  } */
  /* .headtel {
    top: 0.5rem;
  } */
}
@media only screen and (max-width: 1024px) {
  /* .headtel {
    display: none;
  } */
  /* .cmnhead {
    padding: 1.5rem 0;
  } */
  .cmnhead .logo {
    max-width: 220px;
    margin: 10px 0 10px 30px;
  }
  .spbtn{
    display: block;
  }
  .cmnnav {
    padding: 0 2rem;
    position: fixed;
    top: 0;
    left: 0;
    height: 0;
    width: 100%;
  }
  .cmnnav.active{
background: rgb(30 30 30 / 90%);
  height: 100vh;
  background-image: url(../images/top/pattern001.png);
  background-repeat: repeat;
  z-index: 1;
  }
  .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: 10rem 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: 1.5rem 0;
    padding: 2rem 1rem;
    color: #fff;
  }
  .cmnnav.active .navlist li a:hover,
  .cmnnav.active .navlist li.nowpage a{
    background: #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;
}
.ffbox1{
  width: 47%;
  margin-right: 3%;
}
.ffbox2{
  width: 25%;
}
.ffbox3{
  width: 25%;
}
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{
background: #003C89;
color: #fff;
text-align: center;
padding: 10px;
}
.copyright_area .fotcopy{
  font-size: 13px;
}

@media only screen and (max-width: 820px) {
  .ffbox1 {
    width: 100%;
    margin-right: 0;
    margin-bottom: 20px;
  }
}
@media only screen and (max-width: 767px) {
  .ffbox2,
  .ffbox3{
    width: 50%;
  }
  .logolist li {
    margin: 10px 10px;
    width: calc(100% / 3);
  }
}
.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;
}

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



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

.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: 0 auto;
padding: 20px;
}
.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;
}
.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: 50%;
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#table_company {
    border-collapse: collapse;
    border-spacing: 0;
    width: min(800px, 100%);
    margin: 30px auto 100px;
    font-size: 16px;
}

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

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

#table_company th {
    text-align: center;
    width: 150px;
    padding: 20px 10px;
    vertical-align: middle;
    background: #fff;
}
#table_company td {
    text-align: left;
    width: calc(100% - 150px);
    padding: 20px 30px;
    vertical-align: middle;
    background: #fff;
}
@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: #F2F6FB;
  margin: 0 !important;
  padding: 90px 0 60px !important;
}

.recruittxt{
  text-align: left;
  width: 800px;
  max-width: 100%;
  margin: 0 auto;
}
.recruittxt p{
  margin-bottom: 20px;
}

.recruitsec table {
  border-top: none;
  border-left: none;
  border-collapse: collapse;
  width: min(800px, 100%);
  max-width: 100%;
  margin: 10px auto;
}
@media screen and (max-width: 767px) {
  .recruitsec table {
    border-top:  1px solid #e9e9e9;
  }
}

.recruitsec table th {
  border-bottom: 1px solid #e9e9e9;
  border-right: none;
  padding: 20px;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  background-color: #fff;
  text-align: left;
  vertical-align: middle;
  width: 25%;
}
@media screen and (max-width: 767px) {
  .recruitsec table th {
    width: 100%;
    display: block;
    padding: 5px 10px;
    background-color: #f7f7f7;
  }
}

.recruitsec table td {
  border-bottom: 1px solid #e9e9e9;
  border-right: none;
  padding: 20px;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  text-align: left;
}
@media screen and (max-width: 767px) {
  .recruitsec table td {
    padding: 20px 10px;
    display:block;
  }
}


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


/******************************
  navlist_forlp
******************************/

/* 共通：ナビリンクのベース */
.navlist_forlp a {
  display: block;
  padding: 0 1rem;
  border-bottom: 2px solid transparent;
  transition: border-color .3s, opacity .3s, background-color .3s, color .3s;
}

/* PC時：ホバー & カレントで下線 */
.navlist_forlp a:hover,
.navlist_forlp li.nowpage > a {
  border-bottom: 2px solid #E6519A;
  opacity: 1;
}

/* PC時：カレントテキスト強調 */
.navlist_forlp li.nowpage > a span {
  color: #000;
}

/* SP時：カレントは白文字（背景が濃い色になるため） */
@media screen and (max-width: 1024px) {
  .navlist_forlp li.nowpage > a span {
    color: #fff;
  }
}

/* ───────── contact ボタン（PC） ───────── */

.navlist_forlp li.contact_style {
  background: #FD91E2;
  color: #fff;
  transition: 0.5s;
  margin-left: 10px;
}

.navlist_forlp li.contact_style:hover {
  background: #E6519A;
  color: #fff;
  transition: 0.5s;
}

.navlist_forlp li.contact_style > a {
  color: #fff;
  border-bottom: 2px solid #FD91E2;
  padding: 0rem 2rem;
  transition: 0.5s;
  height: 75px;
  display: flex;
  align-items: center;
  flex-direction: row;
  justify-content: center;
  flex-wrap: wrap;
  align-content: center;
}

/* ヘッダー縮小時の調整（PC） */
.cmnhead.on .navlist_forlp li.contact_style > a {
  padding: 0rem 2rem;
}
@media screen and (max-width: 1024px) {
.cmnhead.on .navlist_forlp li.contact_style > a {
  padding: 10px 10px;
}
}

.navlist_forlp li.contact_style:hover > a {
  border-bottom: 2px solid #E6519A;
  transition: 0.5s;
}

.navlist_forlp li.contact_style a .mail_style {
  width: 100%;
  text-align: center;
  line-height: 1;
  font-size: 22px;
  margin-bottom: 5px;
}

.cmnhead.on .navlist_forlp li.contact_style a .mail_style {
  font-size: 20px;
}

.navlist_forlp li.contact_style a span {
  width: 100%;
  text-align: center;
  line-height: 1.4;
  font-size: 14px;
}

/* ───────── SP レイアウト / contact ボタン ───────── */

@media screen and (max-width: 1024px) {
  .navlist_forlp li.contact_style {
    background: none;
    color: #111111;
    transition: 0s;
    margin-left: 0;
  }

  .navlist_forlp li.contact_style:hover {
    background: none;
    color: #111111;
    transition: 0s;
  }

  .navlist_forlp li.contact_style span {
    font-size: 16px;
  }

  .navlist_forlp li.contact_style > a {
    background: #fff;
    border: 1px solid #06517A;
    color: #101010;
    margin: 1rem 0;
    padding: 1rem;
    transition: 0s;
    height: auto;
  }

  .navlist_forlp li.contact_style:hover > a {
    background: #06517A;
    color: #fff;
    transition: 0s;
  }
}

/* ───────── SPメニュー表示 ───────── */

@media only screen and (max-width: 1024px) {
  .navlist_forlp {
    visibility: hidden;
    transform-origin: top center;
    transform: scale(.5);
  }

  .cmnnav.active .navlist_forlp {
    display: block;
    margin: 10rem auto;
    max-width: 330px;
    text-align: center;
    transition: .3s;
    transform: scale(1);
    visibility: visible;
  }

  .cmnnav.active .navlist_forlp li a {
    background: #FD91E2;
    border: 1px solid #E6519A;
    margin: 1.5rem 0;
   padding: 10px 10px;
    color: #fff;
    border-bottom: none; /* SP時はボトム線消してカード優先 */
  }

  .cmnnav.active .navlist_forlp li a:hover,
  .cmnnav.active .navlist_forlp li.nowpage > a {
    background: #E6519A;
  }

  /* SPでもカレント文字は太字に */
  .cmnnav.active .navlist_forlp li.nowpage > a span {
    font-weight: bold;
  }
}

