/*
 Theme Name:   Bootscore Child
 Description:  Bootscore Child Theme
 Author:       Bootscore
 Author URI:   https://bootscore.me
 Template:     bootscore
 Version:      6.0.0
 Requires at least: 5.0
 Tested up to: 6.6
 Requires PHP: 7.4
 License: MIT License
 License URI: https://github.com/bootscore/bootscore-child/blob/main/LICENSE
 Text Domain:  bootscore
*/

/* 
All style editing is done via /assets/scss/_bootscore_custom.scss
*/

@import url(https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&family=Noto+Serif+JP:wght@200..900&display=swap" rel="stylesheet");
@import url(https://cdn.jsdelivr.net/npm/yakuhanjp@4.1.1/dist/css/yakuhanjp.css" rel="stylesheet");

.logged-in.admin-bar .fixed-top, .logged-in.admin-bar .sticky-top, .logged-in.admin-bar .offcanvas:not(.offcanvas-bottom), .logged-in.admin-bar .offcanvas-md, .logged-in.admin-bar .offcanvas-lg, .logged-in.admin-bar .offcanvas-xl, .logged-in.admin-bar .offcanvas-xxl, .logged-in.admin-bar .modal-dialog {
    top: 0;
}

html {scroll-padding-top: 110px;overflow-x: hidden!important;font-size: 15px; /* デフォルトを16pxに設定 */}

body{font-family: YakuHanJP, 'Noto Sans JP', sans-serif;letter-spacing:0.05em;}

.container{max-width: 1056px;}


h1{margin-bottom:0;display: inline;font-size: auto}
.bg-body-tertiary{background-color: #fff!important}

.min{font-family:YakuHanMP, "Noto Serif JP", serif;}

.bl{color:#004898}

h3{ letter-spacing: 0.13em;font-size:2.5rem;}
h3.fi{}
h3.fi::first-letter{color:#004898}

a{text-decoration: none;color:#333;}
a:hover{opacity: 0.7;cursor: pointer!important}

.lh-lgh{line-height: 2.5!important}

.border-light {border-color: #E6E6E6!important;}
.border-primary{border-color:#004898!important;}

.bg-bl{background-color: #004898}
.bg-bj{background-color: #EEEADE}

.cbl{
  position: relative;
  display: inline-block;
  margin: 1em auto ;
  text-align: center;
}
.cbl:before {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -15px;/*線の上下位置*/
  display: inline-block;
  width: 40px;/*線の長さ*/
  height: 1px;/*線の太さ*/
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);/*位置調整*/
  background-color: #004898;

}

.f34{font-size: 34px}

.line_y{background: linear-gradient(transparent 70%, #EFE3B3 70%);padding: .5%}

.mb-12{margin-bottom: 12rem!important}/*余白2*/
.mt-12{margin-top: 12rem!important}
.py-10{padding-top:10rem;padding-bottom: 10rem}
.mb-10{margin-bottom: 6rem}
@media (max-width: 768px) {
.mb-12{margin-bottom: 6rem!important}
.mt-12{margin-top: 6rem!important}
.py-10{padding-bottom: 6rem}
.mb-10{margin-bottom:0}
}





nav h1 img{min-width: 160px}

@media (max-width: 768px) {
h3,h3.f34{ font-size:2rem!important;}
.container,
.container-fluid{width: 92%}
/*nav .container-fluid{width:auto}*/
nav h1 img.w-50{min-width:inherit;width: 45%!important;margin-top: .5rem}
.lh-lgh{line-height: 2!important}
}

@media (max-width: 768px) {
.sp_bbno{border:none!important}
}

a.navbar-brand{padding: 1.5rem;letter-spacing: .15em;color: #313030;}

.navbar-expand-lg .navbar-nav li:last-child .nav-link,
.navbar-expand-lg .navbar-nav li:nth-last-child(2) .nav-link {padding: .5rem 1rem;margin: .2em 0;}

@media (min-width: 992px) {  
.navbar-expand-lg .navbar-nav li .nav-link {padding: 2.4rem 2rem 2.4rem 0;white-space: nowrap}
.navbar-expand-lg .navbar-nav li:last-child .nav-link,
.navbar-expand-lg .navbar-nav li:nth-last-child(2) .nav-link {padding: 2.4rem 0;margin:  0;width: 140px;text-align: center}
}

.navbar-nav li:last-child .nav-link.active,
.navbar-nav li:nth-last-child(2) .nav-link.active {color: #fff;}

.navbar-nav li:last-child a{background-color: #004898;color:#fff;}
.navbar-nav li:last-child a:hover{background-color: #fff;color:#004898!important;opacity: 1;}
.navbar-nav li:nth-last-child(2) a{background-color: #0F60BB;color:#fff;}
.navbar-nav li:nth-last-child(2) a:hover{background-color: #fff;color:#0F60BB!important;opacity: 1;}

@media (max-width: 768px) {  
nav button{position: absolute;right:5%;top:1em;padding: 0}
a.navbar-brand{padding:0}
}



.breadcrumbs{background-color: #EAEAEA;}
.breadcrumbs a{color: #313030}



a.ar_bl{position: relative;}
a.ar_bl::after{
    content: '';
    border: 0;
    border-top: solid 1px #004898;
    border-right: solid 1px #004898;
    display: inline-block;
    width: 8px;
    height: 8px;
    position: absolute;
    top: 50%;
    right: .5rem;
    transform: translateY(-50%) rotate(45deg);
    transition: all .5s
}
a.ar_bl:hover::after{transform: translate(4px, -50%) rotate(45deg);}

.wp-pagenavi{text-align:right;margin-top: 5em; }
.wp-pagenavi a.page{margin: 0 1em}
.wp-pagenavi [rel="prev"]:before { content: "";}
.wp-pagenavi [rel="next"]:after {content: "";}
.wp-pagenavi .current{font-weight: bold}




.btn-outline-secondary.arr {
    --bs-btn-color: #002757;
    --bs-btn-border-color: #002757;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #002757;
    --bs-btn-hover-border-color: #002757;
    --bs-btn-focus-shadow-rgb: 108, 117, 125;
    --bs-btn-active-color: #002757;
    --bs-btn-active-bg: #fff;
    --bs-btn-active-border-color: #002757;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #002757;
    --bs-btn-disabled-bg: transparent;
    --bs-btn-disabled-border-color: #002757;
    --bs-gradient: none;    
    text-align: left;
    font-weight: bold;   
}
.btn-outline-secondary.arr{position: relative}
.btn-outline-secondary.arr::after{
    content: '';
    border: 0;
    border-top: solid 1px #002757;
    border-right: solid 1px #002757;
    display: inline-block;
    width: 8px;
    height: 8px;
    position: absolute;
    top: 50%;
    right: 1rem;
    transform: translateY(-50%) rotate(45deg);
    transition: all .5s
}
.btn-outline-secondary.arr:hover{opacity: 1;}
.btn-outline-secondary.arr:hover::after{
border-top: solid 1px #fff;
border-right: solid 1px #fff;
transform: translate(4px, -50%) rotate(45deg);
transition: all .5s
opacity: 1;
}
.btn-outline-secondary.arr:hover::after{transform: translate(4px, -50%) rotate(45deg);}

/*index*/

.line{position: relative;
  padding: 0 0;
  text-align: left;}
.line:before {
  position: absolute;
  top: calc(60% - 1px);
  left: 0;
  width: 100%;
  height: 1px;
  content: '';
  /*background-color: #E6E6E6;*/
  background: linear-gradient(
    to right, 
    #E6E6E6 0%, #E6E6E6 95%, 
    #004898 95%, #004898 100% );
}
.line span{position: relative;
  padding:0 2em 0 0;
  background: #fff;font-family:YakuHanMP,"Noto Serif JP", serif;font-size: 1rem;vertical-align: middle;}

#MV{height: calc(100vh - 80px);width: 100vw; }
#MV .read{position: absolute;bottom: 10%;/*left:5%;*/left:10%;z-index: 1;padding: 0;/*background: none;border: 0;*/}
#MV h2{/*font-size: 60px;*/font-size: 48px;font-weight: bold;line-height: 1.382;}
#MV p{/*font-size: 17px;*/font-size: 14px;font-weight: bold;line-height: 2.412;}
#intro p{line-height: 2.813;}
#intro .toha{max-width: 528px}
#intro .toha > div{width: 75%;}


.carousel, .carousel-inner, .carousel-item {
            width: 100vw;
            height: 100vh;
}
.carousel-item img {
            width: 100%;
            height: 100%;
            object-fit: cover;
 }


@media (max-width: 768px) {
.carousel,.carousel-inner {height: 100vh; }
.carousel-item {height: 100%;}
.carousel-item img {
  object-fit: cover; /* 画像のアスペクト比を保持して埋める */
  width: 100%; /* 幅いっぱいに広げる */
  height: 100%; /* 高さいっぱいに広げる */}
/*#MV .read{bottom: 30%;}*/
#MV h2{font-size: 35px;}
#MV p{font-size: 16px;line-height: 1.7}
#intro .position-relative,
#intro .position-absolute{position: static!important}
.top-50{}
.translate-middle-y {transform: translateY(0) !important;}
#intro .toha{max-width:auto}
#intro .toha > div{width: 100%;}
#service .h3{ font-size: 20px!important}
}




#ri_menu{top:100px;z-index: 1;right: calc(0px + var(--scrollbar-width, 15px));}
#ri_menu a{display: block}
#ri_menu p{writing-mode: vertical-rl; margin: 0 auto;letter-spacing: 1px;}
#ri_menu span{writing-mode: vertical-rl; margin: 1em auto;font-family:YakuHanMP, "Noto Serif JP", serif;font-size: .8rem}
.ri_recruit{/*border: solid #DADADA 2px;width: 70px;height: 265px;*/width: 56px;height: 210px;border-bottom-left-radius: 0 !important;}
.ri_partners{background-color: #004898;width: 56px;height: 210px;border-top-left-radius:0 !important;}
.ri_recruit span{color:#373737;}
@media (max-width: 768px) {
#ri_menu{right: 0;}
}

@media (max-width: 992px) {
.single-staff .translate-middle {
    transform: translate(-50%, -50%) !important;
}}


.s_ar{position: relative}
.s_ar::after{
    content: '';
    border: 0;
    border-top: solid 1px #fff;
    border-right: solid 1px #fff;
    display: inline-block;
    width: 8px;
    height: 8px;
    position: absolute;
    top: 30%;
    right: 0;
    transform: translateY(-50%) rotate(45deg);
    transition: all .5s
}
.s_ar:hover::after{transform: translate(4px, -50%) rotate(45deg);}

#news{background: linear-gradient(90deg, transparent 0%, transparent 50%, #004898 50%, #004898 100%);}
#news .container{background:#004898}
#news hr{margin: 0}
a .ar::after{
    content: '';
    border: 0;
    border-top: solid 1px #fff;
    border-right: solid 1px #fff;
    display: inline-block;
    width: 8px;
    height: 8px;
    position: absolute;
    top: 50%;
    right: calc(var(--bs-gutter-x) * .5);
    transform: translateY(-50%) rotate(45deg);
    transition: all .5s
}
a .ar:hover::after{transform: translate(4px, -50%) rotate(45deg);right: calc(var(--bs-gutter-x) * .5);}

a.allmore{background: #4F80B8;display: block;width: 100%;position: absolute;bottom:0;}
@media (max-width: 768px) {
a.allmore{bottom:2em;right:12.5%!important;left:12.5%}
}


/*sub*/
.submv{background: url('img/mv_sub_n.png')no-repeat center top / cover}
.submv h2{letter-spacing:.14em}
.submv p{letter-spacing:.14em}
.submv span{display: block; width: 41px;border-bottom: 1px solid #fff}

.mvh{padding: 15em 0!important;text-align: center}

@media (max-width: 768px) {
.submv{background: url('img/mv_sub_n.png')no-repeat left 20% top / cover}
}


.table_about tr td{ padding: 2em 1em}
.table_about tr td:first-of-type{width: 20%; color: #004898;border-bottom: 2px solid #5B8CC2; font-weight: bold;white-space: nowrap}
.table_about tr td:last-child{border-bottom: 2px solid #E6E6E6;width: 80%}

@media (max-width: 768px) {
.single-recruitment .table_about tr td{display: block;width: 100%!important;padding: 1em}
.single-recruitment .table_about tr td:first-of-type{border-bottom: 1px solid #5B8CC2;}
}



.submv.pa{background: url('img/mv_sub01.png')no-repeat top center / cover}
.page-partners .submv{background: url('img/partners/mv_pa.png')no-repeat top center / cover}
.page-recruit .submv{background: url('img/recruit/mv_re.png')no-repeat top center / cover}

.news h3{letter-spacing: 0;font-size: 2rem;}

.bu_line{
position: relative;
border-bottom: 1px solid #E6E6E6;
}
.bu_line::before{
  content: '';
  position: absolute;
  right:0;
  bottom: -1px;
  width: 2em;
  height: 1px;
  background: #004898;
}

.hd{background-color: #455363;}

.bg-light{background-color: #EBEFF4!important}
.voice.partner{background: url('img/partners/bg2.png')no-repeat top center / cover}
.voice{background: url('img/recruit/bg2.png')no-repeat top center / cover}
.page-recruit .voice .ar::after{right:1.5rem}

.modal{overflow-y: hidden;--bs-modal-width: 550px;z-index:1!important}
.modal-backdrop{z-index: 0;!important}
.btn-close.whi {filter: invert(1); width: .4em;height: .4em;}
.btn-close.whi:hover {filter: invert(1);}
.carea .container a{font-size: .8vw;}
.container a.haken{top:14%;left:50.5%}
.container a.kanri{top:27%;left:72%}
.container a.sagyou{top:32%;left:72%}
.container a.yousetu{top:41.5%;left:72%}
.container a.hojo{top:46.3%;left:72%}
.container a.ippanjimu{top:66.5%;left:71%}
.container a.eigyoujimu{top:81%;left:71%}

@media (max-width: 768px) {
.carea .container a{font-size: 4vw;text-align: left}
.container a.haken{top:29.5%;left:25%}
.container a.kanri{top:46.5%;left:37%}
.container a.sagyou{top:49.4%;left:37%}
.container a.yousetu{top:64%;left:37%}
.container a.hojo{top:66.9%;left:37%}
.container a.ippanjimu{top:83.5%;left:25%}
.container a.eigyoujimu{top:92%;left:25%     }
}

modal button{top:5%;right:2%!important}


.p_naiyo{width: 8em}


.single-staff .submv,
.single-partners .submv{background: url('img/staff/mv_st.png')no-repeat top center / cover}
.staffqa a{background-color: #004898;color:#fff;height: 4em;padding:0;font-size: .8vw;}
.staffqa a.active{background-color: #E9EEF4!important;color: #004898}
.staffqa .nav-item{width: 18%;margin-right: 2%;margin-bottom: -.15em;}
@media (max-width: 768px) {
 ul.staffqa.nav{border:none!important}
.staffqa .nav-item{width:49%;flex-wrap: wrap;margin-right:0;margin:.3em .5%}
.staffqa a{font-size: .9rem;border-bottom: solid 3px #004898!important }
h4.bosyu_tt{font-size: 1rem!important;line-height:1.5}
}
.staff_aimg{background: #000;aspect-ratio: 3 / 4.25 ;width: 100%; }
.staff_aimg a img{opacity: 0.6}
.staff_aimg a:hover{opacity:1!important}
.staff_aimg a:hover img{opacity:0.8}

/*footer*/

#ulink .le{background: url('img/ulink_1.png')no-repeat top center / cover}
#ulink .ri{background: url('img/ulink_2.png')no-repeat top center / cover}
#ulink .lbox{padding-top:20em }
#ulink .lbox .in{background: #004898;padding:2.5em 4em  }
#ulink .lbox.ri .in{background: #fff;padding:2.5em 4em  }
#ulink h5 {
  position: relative;
  padding: 0 65px;
  text-align: center;
  font-size:.8rem;
}
#ulink h5:before {
  position: absolute;
  top: calc(50% - 1px);
  left: 0;
  width: 100%;
  height: 1px;
  content: '';
  background: #e6e6e6;
}
#ulink h5 span {
  position: relative;
  padding: 0 1em;
  background: #004898;
}
#ulink a.ar::after{position: static;margin-left: 1em}
#ulink .ri h5 span {
  background: #fff;
}
#ulink .ri a.ar::after{border-top: solid 1px #004898;border-right: solid 1px #004898;}
@media (max-width: 768px) {
#ulink .lbox{padding-top: 5em; padding-bottom: 5em}
#ulink .lbox .in,
#ulink .lbox.ri 
.in{padding:2em }
#ulink .ri{background: url('img/ulink_2.png')no-repeat center / cover}
}






footer{background: #0d2239}
footer p{font-size:14px;}
/*footer p a{color: #fff;margin-left: 1em}*/
footer h4{letter-spacing:.15em}
footer .fline{border-bottom:solid 1px rgba(230, 230, 230, 0.051); }
footer a {color:#fff}
@media (max-width: 768px) {footer a.telno {color:#004898!important}}



/*2026追記*/
.bg-body-tertiary .navbar h1 {
  padding-bottom: 1.5rem !important;
}
nav h1 img.w-50 {
  width: 45% !important;
}
#MV {
  overflow: hidden;
}
#MV .read {
  left: 7.5%;
}
#MV h2 {
  font-size: 50px;
}
#MV p {
  font-size: 16px;
}
#ri_menu {
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}
.ri_partners {
  height: 230px;
}
.container {
  max-width: 1200px;
}
#news .text-nowrap.ps-md-5 {
  padding-left: 6rem !important;
}  
#news .container .col-md-8.offset-md-1 {
  margin-left: 12.33333333%;
  width: 70.66666667%;
}
footer .pt-md-5 {
  padding-top: 0 !important;
}

@media (max-width: 1200px) {
  #news .text-nowrap.ps-md-5 {
    padding-left: 3rem !important;
  }
  #news .container.rounded-start {
    border-radius: 0 !important;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 12px;
    font-size: 16px;
  }
  nav button {
    top: 1.1em;
  }
  nav h1 img.w-50 {
    width: 35% !important;
    min-width: 125px !important;
  }
  nav .btn {
    margin-right: 0;
  }
  .bg-body-tertiary .navbar h1 {
    padding-bottom: 1.2rem !important;
    padding-left: 0 !important;
  }
  #MV h2 {
    font-size: 8vw;
  }
  /*#MV p {
    font-size: 15px;
  }*/
  #MV p {
    line-height: 2;
    font-size: 14px;
  }
  #news .container {
    width: 100%;
    padding-left: 6% !important;
    padding-right: 6% !important;
    box-sizing: border-box;
  }
  a.allmore {
    right: 1rem;
  }
  .container, .container-fluid {
    width: 90%;
  }
  #news .container a .row.my-5 {
    margin-top: 1.5rem !important;
    margin-bottom: 1.5rem !important;
  }
  #news .text-nowrap.ps-md-5 {
    padding-left: 0.6rem !important;
  }
  #ulink .rounded-top {
    border-radius: 4.5px;
  }
  #news .container .col-md-8.offset-md-1 {
    margin-left: 0;
    width: 100%;
  }
  footer {
    padding-top: 5rem !important;
  }
  footer .container {
    margin-top: 20px !important;
  }
  footer p {
    font-size: 12px;
  }
}



/*問い合わせ*/
.conditional-field {
    display: none;
    //align-items: center; /* フォームの高さを揃える */
    flex-wrap: wrap;
}
#houhou_mail, #houhou_tel {
    width: 100%; /* 横幅を調整 */
}
.form-control {
    border: none;
    background: #eeeeee;
    border-radius: 0;
    padding: 1rem;
    width: 100%; /* 親要素に合わせる */
}
.form-control:focus {
    color: #333;
    background-color: #eeeeee;
    border:none;
    outline: 0;
    box-shadow: none;
}




.page-template-page-toi input.toi{border:none;background: none;color:#002757;font-weight: bold;height: 100%;width: 100%;text-align: left;position: relative;padding: 1em }
.page-template-page-toi input.toi:hover{color:#fff}
.page-template-page-toi .wpcf7-spinner{position: absolute;right:1em;top:1.5em} 
@media (max-width: 768px) {
.page-template-page-toi .border-primary.col-form-label{border:none!important;border-bottom: 0;border-top:0}
.page-template-page-toi .border-top{border-top:0!important}
}


.ani {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.ani.now {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 768px) {
    #ulink .lbox {
        padding-top: 10em;
        padding-bottom: 1em;
    }
    #ulink .lbox .in, #ulink .lbox.ri .in {
        padding: 1em 2em;
        opacity: 0.9;
    }
    
}
