/*
Theme Name: Lightning Child Sample
Theme URI:
Template: lightning
Description:
Author:
Tags:
Version: 0.6.1
*/


/* ------- トップページ ------------------------ */

html{
    scroll-behavior: smooth;
}
body{
    color: #333;
    letter-spacing: 0.05em;
    font-family: 'Noto Sans JP', sans-serif;
}
body p{
    line-height: 2;
}

/* ローディング */
.loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 10;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeOut 1.5s 2.5s forwards;
  }
  
  @keyframes fadeOut {
    0% {
      opacity: 1;
    }
  
    100% {
      opacity: 0;
      visibility: hidden;
    }
  }
  
  .loading__logo {
    opacity: 0;
    animation: logo_fade 2s 0.5s forwards;
    width: 120px;
  }
  
  @keyframes logo_fade {
    0% {
      opacity: 0;
      transform: translateY(20px);
    }
  
    60% {
      opacity: 1;
      transform: translateY(0);
    }
  
    100% {
      opacity: 0;
    }
  }

/* ヘッダー */
.header-top{
    display: none;
}
.site-header-logo img {
    max-height: 40px;
}
.global-nav-list>li:before{
    display: none;
}
.global-nav-list>li>a:hover{
    opacity: 0.7;
}

/* 見出し */
h2.is-style-vk-heading-plain{
    font-family: "Montserrat", serif;
    font-size: 28px;
}
h2.is-style-vk-heading-plain span{
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: normal;
    font-size: 14px!important;
}

.bg-color{
    background-color: #FFFEED;
    margin: 100px calc(50% - 50vw);
    padding: 80px calc(50vw - 50%);
}


/* お知らせ */
.wp-block-latest-posts li{
    display: flex;
    padding: 1.3em 0;
}
.wp-block-latest-posts li time{
    order: 1;
    margin-right: 2em;
}
.wp-block-latest-posts li a{
    order: 2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 0;
}




/* ---- フッター ----------- */
.site-footer-copyright p{
    margin: 0;
}
.site-footer{
    border-top: none;
}
.site-footer-copyright{
    font-size: 12px!important;
    background: #333;
    color: #fff;
    padding: 0;
    max-width: none;
}

.footer-menu{
    font-size: 14px;
    background-color: #f6f6f6;
    margin: 0 calc(50% - 50vw);
    padding: 50px calc(50vw - 50%);
}
.footer-menu .wp-block-column p:first-of-type{
    font-weight: bold;
}
.site-body-bottom .widget{
    margin-bottom: 0;
}

/* ページトップボタン */
.page_top_btn{
    background: rgba(255, 255, 255, 0.8);
    height: 44px;
    width: 44px;
    background-color: #333;
    background-repeat: no-repeat;
    box-shadow: none;
    bottom: 4%;
}
.page_top_btn::after{
    content: "\f106";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: #fff;
    font-size: 18px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
}


/* ------ 事業所 ------------------------ */
p.office-p-green{
    border-bottom: 1px solid #10521E;
    padding-bottom: 30px;
}
p.office-p-red{
    border-bottom: 1px solid #B20808;
    padding-bottom: 30px;
}
p.office-p-purple{
    border-bottom: 1px solid #461A76;
    padding-bottom: 30px;
}

.message-ttl{
    font-size: 28px;
    letter-spacing: 0.08em;
    color: #008C55;
}

.name span{
    font-family: "Mr Dafoe", cursive;
    font-size: 22px!important;
}

.fukidashi {
    position: relative;
    line-height: 1.4;
    padding:0.5em 2em;
    display: inline-block;
    font-size: 18px;
    color: #008C55;
  }
  
  .fukidashi:before, .fukidashi:after { 
    content:'';
    width: 20px;
    height: 30px;
    position: absolute;
    display: inline-block;
  }
  
  .fukidashi:before {
    border-left: solid 1.5px #008C55;
    border-top: solid 1.5px #008C55;
    top:0;
    left: 0;
  }
  
  .fukidashi:after {
    border-right: solid 1.5px #008C55;
    border-bottom: solid 1.5px #008C55;
    bottom:0;
    right: 0;
  }



/* ------ 沿革 ------------------------ */
.post-name-history table tr td{
    font-size: 16px!important;
    padding: 1em!important;
}
.post-name-history table tr td:first-of-type{
    font-weight: bold;
    border-bottom: 1px solid #008C55;
    width: 20%;
}
.post-name-history table tr:first-of-type td:first-of-type{
    border-top: 1px solid #008C55;
}


/* ------ 方針 ------------------------ */
.post-name-policy h3{
    font-size: 19px;
}
.post-name-policy{
    font-size: 14px;
}


/* ------ 投稿 ------------------------ */

body.blog .siteContent{
    padding-bottom: 15rem;
}
body.single .siteContent{
    padding-bottom: 15rem;
}
body.archive .siteContent{
    padding-bottom: 15rem;
}

.entry-meta_items_author{
    display: none;
}
.vk_post .vk_post_title{
    font-size: 14px!important;
    font-weight: normal;
    margin: 0;
}
.postNextPrev_label{
    margin-bottom: 0.5em;
}

.postNextPrev .vk_post:last-of-type .vk_post_title{
    text-align: right;
}


/* ------ 採用 ------------------------ */
.post-name-recruit{
    background-color: #E4E4E5;
}

.recruit-nav {
  position: relative;
  margin: 1em 0;
}

.hamburger {
  font-size: 18px;
  background: #333;
  color: white;
  padding: 10px 15px;
  cursor: pointer;
  display: inline-block;
  border-radius: 4px;
}

.recruit-menu {
  list-style: none;
  padding: 0;
  margin-top: 10px;
  display: none;
  background: #f9f9f9;
  border: 1px solid #ddd;
}

.recruit-menu li {
  border-top: 1px solid #ddd;
}

.recruit-menu li a {
  display: block;
  padding: 10px;
  text-decoration: none;
  color: #333;
}

.recruit-menu li a:hover {
  background: #eee;
}

.recruit-menu.active {
  display: block;
}


/* ------ 当社の役割 ------------------------ */
.bg-text{
    background-color: #FFFEED;
    padding: 20px;
    border-radius: 8px;
}

/* ------ 社員インタビュー ------------------------ */
.in-ttl{
    margin-top: 80px;
    margin-bottom: 20px;
    color: #008C55;
    font-size: 24px;
}
.schedule{
    background-color: #008C55;
    color: #fff;
    padding: 5px;
    text-align: center;
    font-weight: bold;
}

/* ------ 福利厚生 ------------------------ */
table tr td{
    padding: 1em!important;
    font-size: 16px!important;
}
table tr td:first-of-type{
    width: 20%;
    font-weight: bold;
}


/* ------ インタビュー ------------------------ */
.interview-ttl{
    color: #008C55;
    margin-top: 50px;
    font-size: 24px;
    font-weight: bold;
}

.interview-group{
    justify-content: center;
}
.interview-group .wp-block-column{
    border: 1px solid #ccc;
    border-radius: 12px;
    padding-bottom: 20px;
}
.interview-group .wp-block-column figure img{
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}
.interview-group p{
    padding-right: 20px;
    padding-left: 20px;
}
.interview-group p:first-of-type{
    margin-top: 20px;
}
.interview-group p span{
    background-color: #008C55;
    color: #fff;
    border-radius: 50vw;
    padding: 2px 10px;
}
.interview-group p code{
    border-radius: 50vw;
    padding: 2px 10px;
    border: 1px solid #999;
}

/* ------ 段ボール ------------------------ */
figure.w-100{
    width: 100%;
}
figure.w-100 img{
    width: 100%;
}
.product-ttl{
    font-size: 28px;
    font-weight: bold;
}
.ttl-up{
    font-size: 28px;
    font-weight: bold;
}

.etc{
    margin-top: 20px;
}
.etc .vk_gridColumn_item p{
    text-align: center;
    border: 1px solid #008C55;
}

.sonota{
    color: #008C55;
    font-size: 20px;
    margin-bottom: 0;
    margin-top: 40px;
}

.ttl{
    font-size: 28px;
    font-weight: bold;
}

.kikai-columns .wp-block-column{
    background-image: url(https://xs759337.xsrv.jp/check/wp-content/uploads/2025/08/image.png);
    background-repeat: no-repeat;
    background-size: contain;
    height: 350px;
    background-position: center;

    display: flex; /* ← 追加 */
    flex-direction: column; /* ← 縦並び */
    align-items: center; /* ← 横方向中央揃え */
    justify-content: center; /* ← 縦方向中央揃え */
    text-align: center; /* ← テキストも中央に */
}
.kikai-columns .wp-block-column p:first-of-type{
    text-align: center;
}
.kikai-columns .wp-block-column p:last-of-type{
    width: 200px;
    margin-right: auto;
    margin-left: auto;
}
.kikai-columns .wp-block-column.last{
    background-image: none;
}


/* ------ 募集フロー ------------------------ */
.btn-columns .vk_button .btn{
    width: 300px!important;
}

.oubo img{
    border: 1px solid #999;
    padding: 10px;
}

.flow-step-columns{
    border-bottom: 1px dotted #008C55;
    padding-bottom: 20px!important;
    margin-bottom: 20px!important;
}
.flow-step-columns .wp-block-column:nth-child(2){
    font-size: 18px;
    font-weight: bold;
}
.flow-step-columns .wp-block-column:first-of-type{
    font-size: 14px;
}
.flow-step-columns .wp-block-column:first-of-type span{
    line-height: 30px;
    color: #008C55;
}



/* ------ お問い合わせ ------------------------ */

/* ContactFrom7 */
.contact7 {
	max-width: 100%;
	box-sizing: border-box;
    background-color: #f6f6f6;
    padding: 8% 3%;
    margin-top: 50px;
}
.contact7 dd {
	margin: 0 0 30px 0;
    border-left: none;
}
.contact7 dd:last-of-type{
    margin-bottom: 0;
}
.contact7 dt {
	font-weight: normal;
    border-left: none;
}
span.wpcf7-spinner{
    display: none;
}
 
/* 必須マーク */
.contact7 .must {
	color: #d93e14;
}
.form-control{
    border-radius: 0;
}
.btn_contact7 {
	text-align: center;
}
.btn_contact7 input {
	width: 40%;
	background-color: #333;
	color: #fff;
    font-weight: bold;
	font-size: 1.1em;
	letter-spacing: 1em;
	-webkit-transition: 0.3s;
	-moz-transition: 0.3s;
	-o-transition: 0.3s;
	-ms-transition: 0.3s;
	transition: 0.3s;	
    margin-top: 50px;
    padding-left: 2em;
    height: 44px;
    border-radius: 0;
    border: none;
    margin-bottom: 100px;
}
.btn_contact7 input:hover {
    background-color: #fff;
    color: #333;
    border: 1px solid #333;
}






/* ------- SP ----------------------------- */

@media (max-width: 991.98px){
 
    .vk-mobile-nav-menu-btn{
        border: none;
    }
    .vk-mobile-nav-menu-btn.menu-open{
        border: none;
    }

    /* トップページ */
    .sp-min.wp-block-cover{
        min-height: 240px!important;
    }
    /* フッター */
    .site-body-bottom{
        display: none;
    }

    /* お問い合わせ */
    .btn_contact7 input {
        width: 80%;
    }

    /* ニュース */
    .media .media-body .media-heading{
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .media .postList_thumbnail{
        width: 150px;
    }
    .subSection{
        margin-top: 5rem;
    }
    .postNextPrev{
        gap: 10px!important;
    }




}