
body {
    color: #000;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    line-height: 1.5;
    font-size: 15px;
}

img {
    width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: #000;
}

a:hover {
    opacity: 0.7;
}

/* クッキーに同意する・同意しない */
#memberPopup {
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    display: none;
    width: 100%;
    overflow: auto;
    position: fixed;
    z-index: 999;
    left: 0;
    bottom: 0;
    right: 0;
}

#memberPopup .member-popup-content {
    background-color: #333333;
    opacity: 0.9;
    width: 100%;
    position: relative;
}

#memberPopup .member-popup-content 
.member-popup-header {
    text-align: center;
    padding-top: 20px;
    padding-bottom: 20px;
}

#memberPopup .member-popup-content 
.member-popup-header h2 {
    padding: 0;
    border-left: none;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    color: #ffffff;
    font-size: 20px;
}

@media screen and (max-width: 767px) {
    #memberPopup .member-popup-content 
    .member-popup-header h2 {
      font-size: 20px;
    }
}

#memberPopup .member-popup-body {
    padding: 0px 30px 20px 30px;
    color: #ffffff;
    margin-top: -10px;
    z-index: 998;
}

@media screen and (max-width: 767px) {
    #memberPopup .member-popup-body {
      padding: 0px 15px 20px 15px;
    }
}

#memberPopup .member-popup-body 
.cookie-consent {
    text-align: center;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.8;
}

#memberPopup .member-popup-body 
.cookie-consent .cookie-text {
    text-align: justify;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.8;
}

@media screen and (max-width: 767px) {
    #memberPopup .member-popup-body 
    .cookie-consent .cookie-text {
      font-size: 14px;
      line-height: 1.6;
    }
}

#memberPopup .member-popup-body 
.cookie-consent .cookie-text a {
    color: #ffffff;
}

#memberPopup .member-popup-body 
.cookie-agree, #memberPopup .member-popup-body 
.cookie-reject {
    display: inline-block;
    border: none;
    width: 110px;
    padding: 3px;
    background-color: #ffffff;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: #333333;
    border-radius: 999px;
    line-height: 1.8;
    margin-top: 10px;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
}
@media screen and (max-width: 767px) {
    #memberPopup .member-popup-body .cookie-agree, 
    #memberPopup .member-popup-body .cookie-reject {
      padding: 0px;
      font-size: 14px;
    }
}

#memberPopup .member-popup-body .cookie-agree:hover, 
#memberPopup .member-popup-body .cookie-reject:hover {
    background-color: #006934;
    color: #ffffff;
    cursor: default;
}

#memberPopup .member-popup-body .cookie-agree {
    margin-right: 10px;
}


/* navbar */
header {
    position: fixed;
    width: 100%;
    height: auto;
    top: 0;
    z-index: 10000;
  }
  
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #fff;
    height: 110px;
  }
  
.navbar-icon {
    margin: 0;
    width: 110px;
    height: 110px;
}
  
.navbar-items {
    display: flex;
    list-style: none;
    margin-top: 5px;
    margin-right: 10px;
    padding: 0;
    height: auto;
}
  
.navbar-items li {
    display: flex;
    align-items: center;
    margin-right: 25px;
}

.navbar-items li:nth-child(6) {
    margin-right: 10px;
}

.navbar-button {
    background-color: #006934; /* ボタンの背景色 */
    border: none; /* ボタンの枠線を削除 */
    padding: 10px 40px; /* ボタンの内側の余白 */
    text-align: center; /* ボタンの中央寄せ */
    text-decoration: none; /* テキストの下線を削除 */
    font-size: 15px; /* フォントサイズ */
    border-radius: 999px;
}

.navbar-button a {
    color: #fff;
}

/* 求人情報アイコン：常に表示 */
.recruit_link {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 150px;
    height: auto;
    z-index: 997;
}
  
.recruit_link img {
    width: 100%;
    height: 100%;
}

/* top */
.top {
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    align-items: center;
    height: 460px;
    margin-top: 110px;
    background-color: #fff;
}

.top-img {
    display: flex;
    width: 70%;
    height: 100%;
    position: relative;
    overflow: hidden;
}
  
.top-img img {
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    display: none;
}

.top-img img:first-child {
    display: block;
}

.top-img img:nth-child(1) {
    animation: zoomin 8s ease-out forwards;
}

.top-img img:nth-child(2) {
    animation: zoomout 8s ease-out forwards;
}

.top-img img:nth-child(3) {
    animation: zoomin 8s ease-out forwards;
}

.top-img img:nth-child(4) {
    animation: zoomout 8s ease-out forwards;
}

@keyframes zoomin {
    from {
        transform: scale(1);
    }
    to {
        transform: scale(1.08);
    }
}

@keyframes zoomout {
    from {
        transform: scale(1.08);
    }
    to {
        transform: scale(1);
    }
}
 
.top-text {
    width: 40%;
    height: auto;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    position: absolute;
    left: 0;
    z-index: 1;
}
  
.top-text img {
    width: 130%;
    height: auto;
    margin-left: 40px;
}

.top-text-sp {
    display: none;
}

/* top 横文字ロゴタイプ部分 */
.top-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fff;
}

.top-logotype img {
    max-width: 100%;
    height: auto;
    width: 450px;
    height: auto;
    margin-top: 37px;
    margin-bottom: 35px;
}

.top-logotype h1 {
    margin: 0;
    padding: 0;
    text-align: center;
}

/* top-privacy */
.top-logo-privacy {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fff;
    margin-top: 100px;
}

.top-logo-privacy img {
    max-width: 100%;
    height: auto;
    width: 450px;
    height: auto;
    margin-top: 37px;
    margin-bottom: 35px;
}

/* topふわっと表示させるアニメーション */
.top-text {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 2s ease-out, transform 1s ease-out;
}
.top-text.animate {
    opacity: 1;
    transform: translateY(0);
}

/* contents */
.contents {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 100px;
}
  
.contents-img {
    display: flex;
    align-items: center;
    width: 50%;
    height: 400px;
    overflow: hidden;
}
  
.contents-img img {
    height: 100%;
    object-fit: cover;
    object-position: center;
}
  
.contents-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 50%;
    height: 400px;
    text-align: center;
    background-color: #E6E6E6;
}
  
.contents-text h2 {
    font-size: 26px;
    margin-bottom: 20px;
    padding-bottom: 5px;
    border-bottom: 2px solid #006934; /* 罫線 */
    width: 280px; /* 罫線の長さ */
}
  
.contents-button {
    display: inline-block;
    padding: 12px;
    width:  280px;
    margin-top: 5px;
    background-color: #fff;
    border: none;
    font-size: 19px;
}

.contents-button span {
    color: #006934;
    font-weight: bold;
}

.contents-inner {
    display: flex;
    flex-direction: row;
    width: 100%;
}
  
.contents-inner:nth-child(even) .contents-img {
    order: 2;
}
  
.contents-inner:nth-child(even) .contents-text {
    order: 1;
}

/* 社名と住所 */
.company {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.company-logo {
    display: flex;
    flex-direction: column;
    align-items: center; /* 横軸方向の中央揃え */
    justify-content: center; /* 縦軸方向の中央揃え */
}

.company img {
    margin: 5px;
}

.company img:first-of-type {
    width: 80px;
    padding-top: 5px;
}

.company img:last-of-type {
    width: 240px;
}

.company-text {
    padding: 20px;
}

.company-text1 {
    padding-top: 10px;
}

.company-text2 {
    font-size: 14px;
    padding-top: 10px;
}

/* footer */
.footer-style {
    background-color: #006934;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
    font-size: 12px;
  }


/* スマホ用 */
/* 767px以下の表示 */
@media screen and (max-width: 767px) {

    body {
        font-size: 14px;
    }

/*スマホ用navbar*/ 
.navbar-hamburger {
    display: block;
    position: relative;
    margin-right: 20px;
    width: 30px;
    height: 20px;
    cursor: pointer;
    color: #000;
}

.navbar-hamburger span {
    display: block;
    position: absolute;
    height: 2px;
    width: 100%;
    background-color: #000;
    transition: all .3s ease-out;
}

.navbar-hamburger span:nth-child(1) {
    top: 0;
}
.navbar-hamburger span:nth-child(2) {
    top: 9px;
}
.navbar-hamburger span:nth-child(3) {
    bottom: 0;
}

.navbar-hamburger.active span:nth-child(1) {
    top: 9px;
    transform: rotate(45deg);
}
.navbar-hamburger.active span:nth-child(2) {
    opacity: 0;
}
.navbar-hamburger.active span:nth-child(3) {
    bottom: 9px;
    transform: rotate(-45deg);
}

.navbar-items {
    display: none;
    position: absolute;
    top: 110px;
    list-style: none;
    margin: 0;
    padding-top: 20px;
    padding-left: 0;
    width: 100%;
    height: 2000px;
    background-color: #fff;
    z-index: 998;
    text-align: center;
}

.navbar-items li {
    display: block;
    margin-top: 20px;
}

.navbar-items li a {
    padding: 5px;
}

.navbar-items li {
    margin-right: 0;
}

.navbar-items li:nth-child(6) {
    margin-right: 0;
}

.navbar-button {
    margin-top: 10px;
    font-size: 14px;
}

/* スマホ用求人情報アイコン：常に表示 */
.recruit_link {
    bottom: 12px;
    right: 12px;
    width: 120px;
}

/* スマホ用top */
.top-text-sp {
    width: 50%;
    height: auto;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    position: absolute;
    left: 0;
    z-index: 1;
}
  
.top-text-sp img {
    width: 180%;
    height: auto;
    margin-left: 15px;
}

.top-text {
    display: none;
}

/* スマホ用topふわっと表示させるアニメーション */
.top-text-sp {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 2s ease-out, transform 1s ease-out;
}
.top-text-sp.animate {
    opacity: 1;
    transform: translateY(0);
}

/* スマホ用top-logo */
.top-logotype img {
    max-width: 75%;
    width: 340px;
    height: auto;
    margin-top: 32px;
    margin-bottom: 29px;
}

/* スマホ用top-logo */
.top-logotype-privacy{
    text-align: center;
}

.top-logotype-privacy img {
    max-width: 75%;
    width: 340px;
    height: auto;
    margin-top: 32px;
    margin-bottom: 29px;
}

/* スマホ用contents */
.contents {
    margin-bottom: 60px;
}
.contents-inner {
    display: block;
    width: 100%;
}

.contents-text h2 {
    font-size: 20px;
    margin-bottom: 10px;
}

.contents-text a {
    font-size: 17px;
}

.contents-text {
    width: 100%;
    height: 300px;
}

.contents-button {
    padding: 10px;
}
  
.contents-img {
    width: 100%;
    height: 300px;
}
  
.contents-inner:nth-child(even) .contents-img,
.contents-inner:nth-child(odd) .contents-text {
    order: 2;
}

.contents-inner:nth-child(even) .contents-text,
.contents-inner:nth-child(odd) .contents-img {
    order: 1;
}
  

/* スマホ用社名と住所 */
.company-logo p {
    font-size: 13px;
}

.company img:first-of-type {
    width: 70px;
    padding-top: 5px;
}

.company img:last-of-type {
    width: 220px;
}

.company-text {
    padding: 20px;
}

.company-text1 {
    padding-top: 0;
    font-size: 14px;
}

.pb-15 {
    padding-bottom: 15px;
}

.company-text2 {
    font-size: 10px;
    padding-top: 10px;
}
    

/* スマホ用footer */
.footer-style {
    font-size: 12px;
  }

}
