@charset "UTF-8";

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  background-color: #FFFCF1;
  font-family: sans-serif;
  font-size: 16px;
  line-height: 1.7;
  font-family: 'Zen Maru Gothic', 'Roboto', sans-serif;
overflow-x: hidden; 
color: #1a1a1a;
}

img, video {
  max-width: 100%;
  height: auto;
  display: block;
  width: 100%;
}

.en {
  letter-spacing: 0.05em;
  font-family: 'Roboto', sans-serif;
}

ul, ol {
  list-style: none;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  cursor: pointer;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

h1 {
  font-size: 2rem; /* = 32px */
  font-weight: 500;
}

h2 {
  font-size: 1.5rem; /* = 24px */
  font-weight: 500;
}

h3 {
  font-size: 1.25rem; /* = 20px */
  font-weight: 500;
}

.small {
  font-size: 0.875rem; /* = 14px */
}

section {
  margin: 80px auto;
}

strong {
  font-weight: 500;
}

/* グローバルナビゲーション */
#global-navi {
  position: relative;
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  z-index: 10;
}

.page-logo {
width: 37%;
}

.navi {
  width: 50%;
  display: flex;
  justify-content: space-around;
  background-color: #FFFCF1;
  border-radius: 50px;
  padding: 15px;
  text-align: center;
}

.navi span {
  display: block;
  font-size: 0.75rem;
  color: #57B38A;
}


.navi-contact {
  width: 13%;
  display: flex;
  justify-content: space-around;
  background-color:#57B38A;
  color: #fff;
  border-radius: 999px;
  padding: 15px;
  text-align: center;
 transition: background-color 0.3s;
}


.navi-contact span {
  display: block;
  font-size: 0.75rem;
}


.navi-contact:hover {
  width: 13%;
  display: flex;
  justify-content: space-around;
  background-color:#fff;
  color: #57b38a !important;
  border-radius: 999px;
  padding: 15px;
  text-align: center;
}


.navi-contact a:hover {
color: #57b38a
}

.navi-contact a span:hover {
  color: #57b38a
}



/* スライダー */
.top-main {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 1;
  overflow: hidden;
}

.swiper-slide img {
  width: 100%;
  height: 100vh;
  object-fit: cover;
}

.top-copy {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  color: #fff;
  text-align: center;
  text-shadow: 0 0 10px rgba(0,0,0,0.5);
  display: block;
  width: 50%;
  max-width: 600px;
  font-size: 1.3rem;
}

.top-copy p {
  color: #fff;
}

.top-copy img {
  display: block;
  width: 400px;
  margin: 30px auto;
  max-width: 100%;
}

.top-wrapper {
  height: 100vh; 
}

/* フワッと表示 */
.fadeIn_up {
  opacity: 0;
  transform: translate(0, 50%);
  transition: 2s;
}
.fadeIn_up.is-show {
  transform: translate(0, 0);
  opacity: 1;
}


/* トップメッセージ */
.top-message {
  text-align: center;
  font-size: 1.3rem;
  font-weight: 500;
}

/* ボタン */
.btn {
display: inline-block;
  padding: 15px 30px;
  background-color: #57B38A; /* ボタンの背景色 */
  color: #fff;               /* テキスト色 */
  font-size: 1rem;
  text-align: center;
  text-decoration: none;
  border-radius: 999px;       /* 両端が完全に丸くなる */
  border: 1px solid #57b38a;
  line-height: 1;
  transition: background-color 0.3s ease;
  margin: 30px auto;
  letter-spacing: 0.7em;
}

.btn.big {
   width: 100%
}

.btn:hover {
  background-color: #fff;
  color: #57B38A;
  border: 1px solid #57b38a;
}


/* トップ サービス */
.top-service {
background-color:#CFEBD3 ;
padding: 50px;
box-sizing: border-box;
}

.service-item {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  width: 100%;
  margin: 0 auto 50px;
  box-sizing: border-box;
  max-width: 1000px;
}

.reverce {
  flex-direction: row-reverse;
}

.service-item > div {
  width: 45%;
}

.service-item h2 {
  margin-bottom: 15px;
}

/* トップインフォ */

.info {
  width: 95%;
  margin: 0 auto;
}

.big-title {
  font-weight: 700;
  color: #CFEBD3;
  font-size: 5rem
}

.info-list {
  background-color: #fff;
  padding: 50px;
  box-sizing: border-box;
  border-radius: 20px;
}

.info-list span {
  display: inline-block;
  margin-right: 20px;
}

.info-list li {
  padding: 10px 0;
  border-bottom: 1px solid #D9D9D9;
}

/* リクルートバナー本体 */
.bnr_recruit {
  background-image: url('https://audit.cpakyowa.or.jp/wp-content/themes/kansa/images/top_img03.png');
  background-size: cover;
  background-position: center;
  width: 100%;
  height: 300px;
  position: relative;
  margin-bottom: 0;
}

.bnr-recruit-link {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
}

.bnr-recruit-link .recruit-text {
  position: absolute;
  right: 15%;
  top: 25px;
  color: #fff;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.recruit-text h2 {
  font-size: 5rem;
  font-weight: 500;
  margin-bottom: 20px;
}

.recruit-text div {
  font-weight: 500;
}

.top-contact {
  background-color: #57B38A;
  padding: 20px 50px;
  box-sizing: border-box;
  margin-top:0;
  margin-bottom:0;
}

.bnr-tell {
  color: #fff;
  text-align: center;
  font-size: 2rem;
  margin-top: 30px;
}

.tell-no {
  font-size: 5rem;
  color: #fff;
  font-weight: 500;
  line-height: 6rem;
}

.tell-time {
  color: #fff;
  text-align: center;
  font-size: 1.3rem;
}

.lightgreen {
  background-color: #C3D974;
  font-weight: 500
}

.btn-contact {
  max-width: 600px;
  margin: 0 auto;
}
  
  /* フッター */
footer {
background-color: #CFEBD3;
padding: 50px;
box-sizing: border-box;
  }

  .footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: end;
  }

  .footer-address {
    width: 60%
  }

  .footer-navi {
    width: 40%;
    text-align: right;
  }

  .copy {
    text-align: right;
  }

  .main-page-wrap {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 60vh;
    z-index: 1;
    overflow: hidden;
  }

  .main-page-wrap.video {
    height: 80vh;
    object-fit: cover;
    width: auto;
  }

   .main-page-wrap.video video {
    max-width: fit-content;
    width: auto;


   }


  .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.3); /* 黒20%透過 */
  z-index: 1;
}

.main-page img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.main-page {
    height: 100%;
}

.main-page-header {
    position: absolute;
    top: 60%;
    left: 100px;
    transform: translate(-50%, -50%);
    z-index: 2;
    color: #fff;
    text-align: center;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    display: block;
    font-size: 1.3rem;
}

.main-page-header .main-title {
  text-align: left;
}

.message-title {
  left: 230px
}

.page-wrapper {
    display: block;
    height: 60vh;
}

.page-wrapper.video {
    display: block;
    height: 78vh;
}

section.content {
    width: 90%;
    max-width: 950px;
    margin: 0px auto 80px;
    text-align: center;
}

h2.recruit-h2 {
    color: #2A461C;
    margin-bottom: 30px;
    padding-bottom: 10px;
    display: inline-block;
    position: relative;
    text-align: center;
}


h2.recruit-h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background-color: #2a461c;
}


section.content h2 {
text-align: center;
margin:30px;
}

.catch-copy {
  position: absolute;
  bottom: 30px;
  left: 30px;
  z-index: 2;
  color: white;
  font-size: 1.8rem;
  font-weight: bold;
  line-height: 1.5;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.6); 
}

.interview-h1 {
  padding-left: 130px;
}

.interview-h1 {
  padding-left:  230px;
}

.centered-figure {
  text-align: center;
  margin: 0 auto;
}

.centered-figure img {
  display: inline-block;
  max-width: 100%;
  height: auto;
}


/* 代表挨拶 */
.rinen-table tr:nth-child(even) {
  background-color: #e8f6ea; /* 偶数行をグリーンに */
}
.rinen-table tr:nth-child(odd) {
  background-color: #ffffff; /* 奇数行を白に */
}
.rinen-table td {
  padding: 10px;
  vertical-align: top;
  border: none;
}
.rinen-table td:first-child {
  width: 120px;
  text-align: center;
  font-weight: bold;
}

.wp-block-table td, .wp-block-table th {
  border:none !important;
}

.message-profile {
  width: 47%;
  margin: 0 0 50px auto;
}

.message-1 {
  background-color: #EAF0EB;
  padding: 80px 50px 50px;

}

.error-404 {
  margin: 100px auto 200px;
  width: 90%;
  max-width: 900px;
}


@media (max-width: 600px) {
    .wp-block-media-text.is-stacked-on-mobile>.wp-block-media-text__content {
        grid-column: 1;
        grid-row: 1 !important;
        padding-bottom: 90px;

    }
wp-block-media-text.is-stacked-on-mobile>.wp-block-media-text__media {
        grid-column: 1;
        grid-row: 2 !important;
    }
}


/* コンテンツページ */

.content h3 {
margin: 50px auto;
text-align: center;
font-size: 1.5rem;
}

/* alliance */
.alliance-2 {
  width: 90%;
  margin: 50px auto;
  background-color: #fff;
  padding: 30px;
  box-sizing: border-box;
}


/* スマホヘッダー */
.sp-logo {
	display: flex;
	padding-left: 10px;
}

.sp-logo img {
	/* height: 60px */
}


/* お問い合わせフォーム */
.wpcf7-form  {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px 20px;
  border-radius: 6px;
  font-family: sans-serif;
}

label {
  display: block;
  margin-bottom: 15px;
}

.wpcf7-form select,
.wpcf7-form input,
.wpcf7-form textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 14px;
  box-sizing: border-box;
  background: #fff;
  color: #333;
}

.wpcf7-form  textarea {
  resize: vertical;
}

.wpcf7-form .confirm_button {
  background-color: #c8da79;
  color: #fff;
  font-size: 16px;
  padding: 10px 0;
  width: 100%;
  display: block;
  max-width: 400px;
  margin: 30px auto;
  border: none;
  border-radius: 24px;
  cursor: pointer;
  transition: background-color 0.3s;
  letter-spacing: 0.2em;
}

.wpcf7-form .confirm_button:hover {
  background-color: #b5cb5d;
}

.contact-h3 {
  margin-bottom: 10px !important;
}

input.wpcf7-submit {
  background-color: #c8da79;
  color: #fff;
  font-size: 16px;
  padding: 10px 0;
  width: 100%;
  display: block;
  max-width: 400px;
  margin: 30px auto;
  border: none;
  border-radius: 24px;
  cursor: pointer;
  transition: background-color 0.3s;
  letter-spacing: 0.2em;
  margin-top: 30px;
}

input.back_button {
  background-color: #bdbdbd;
  color: #fff;
  font-size: 16px;
  padding: 10px 0;
  width: 90%;
  display: block;
  max-width: 300px;
  margin: 30px auto;
  border: none;
  border-radius: 24px;
  cursor: pointer;
  transition: background-color 0.3s;
  letter-spacing: 0.2em;
  margin-top: 30px;
}

.bg-white {
  padding: 30px;
  box-sizing: border-box;
  background-color: #fff;
  margin: 50px auto;
  border-radius: 30px;
}

.wp-block-button__link {
      display: inline-block;
    padding: 15px 30px;
    background-color: #57B38A;
    color: #fff;
    font-size: 1rem;
    text-align: center;
    text-decoration: none;
    border-radius: 999px;
    border: 1px solid #57b38a;
    line-height: 1;
    transition: background-color 0.3s ease;
    margin: 30px auto;
    letter-spacing: 0.7em;
}

.wp-block-button__link:hover {
  background-color: #fff;
  color: #57B38A;
  border: 1px solid #57b38a;
}

.recruit-content2 {
  width: 90%;
  max-width: 950px;
  margin: 50px auto;
}

.recruit-textarea {
  line-height: 2em;
  margin-top: 30px;
}

.recruit-content2 strong {
  font-weight: 500;
  color: #57b38a;
  font-size: 1.2rem;
}

.recruit-btn .arrow-line {
  position: relative;
  top: -4px;
  display: inline-block;
  width: 35px;
  height: 2px;
  background-color: #fff;
}

.recruit-btn .arrow-line::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  width: 10px;
  height: 2px;
  background-color: #fff;
  transform: rotate(45deg);
  transform-origin: right center;
}

.recruit-btn:hover .arrow-line,
.recruit-btn:hover .arrow-line::after {
  background-color: #57B38A; /* ホバー時の文字色と同じ */
}

.entry-table {
  margin-top: 50px;
}

.entry-table tr:nth-child(even) {
  background-color: #fff; /* 偶数行 */
}
.entry-table tr:nth-child(odd) {
  background-color: #f8f8f8; /* 奇数行を白に */
}
.entry-table td {
  padding: 10px;
  vertical-align: top;
  border: none;
  text-align: left;
}
.entry-table td:first-child {
  width: 200px;
  text-align: center;
  font-weight: bold;
}

.wp-block-table td, .wp-block-table th {
  border:none !important;
}


/* SPハンバーガーメニュー */
#spnavi {
  display: none;
}
@media (max-width: 1000px) {
#spnavi {
  display: block;
}

.spheader {
  display: flex;
  flex-wrap: nowrap;
}

.splogo {
  position: relative;
  left: 3%;
  top: 20px;
  width: 210px;
  z-index: 5;
}

.page-logo {
  font-size: 25px;
  position: absolute;
  z-index: 10;
}

header.pc{
  display: none
}


.menu-btn {
    position: fixed;
    top: 10px;
    right: 10px;
    display: flex;
    height: 60px;
    width: 60px;
    justify-content: center;
    align-items: center;
    z-index: 90;
    background-color: #fff;
}
.menu-btn span,
.menu-btn span:before,
.menu-btn span:after {
    content: '';
    display: block;
    height: 3px;
    width: 25px;
    border-radius: 3px;
    background-color: #57B38A;
    position: absolute;
}
.menu-btn span:before {
    bottom: 8px;
}
.menu-btn span:after {
    top: 8px;
}

.works div {
  width: 100%;
}



#menu-btn-check:checked ~ .menu-btn span {
    background-color: rgba(255, 255, 255, 0);/*メニューオープン時は真ん中の線を透明にする*/
}
#menu-btn-check:checked ~ .menu-btn span::before {
    bottom: 0;
    transform: rotate(45deg);
}
#menu-btn-check:checked ~ .menu-btn span::after {
    top: 0;
    transform: rotate(-45deg);
}
#menu-btn-check {
    display: none;
}
.menu-content {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 100%;/*leftの値を変更してメニューを画面外へ*/
    z-index: 80;
    background-color: #666;
    transition: all 0.5s;/*アニメーション設定*/
}
.menu-content ul {
    padding: 70px 10px 0;
}
.menu-content ul li {
    border-bottom: solid 1px #ffffff;
    list-style: none;
}
.menu-content ul li a {
    display: block;
    width: 100%;
    font-size: 13px;
    box-sizing: border-box;
    color:#ffffff;
    text-decoration: none;
    padding: 9px 15px 10px 0;
    position: relative;
}
.menu-content ul li a::before {
    content: "";
    width: 7px;
    height: 7px;
    border-top: solid 2px #ffffff;
    border-right: solid 2px #ffffff;
    transform: rotate(45deg);
    position: absolute;
    right: 11px;
    top: 16px;
}


#menu-btn-check:checked ~ .menu-content {
    left: 0;/*メニューを画面内へ*/
}

.article {
  flex-wrap: wrap;
}
.page-item {
  width: 100%
}

.item-image {
  width: 100%;
}

.item-col2 {
  flex-wrap: wrap;
  width: 100%;
}

.item-content {
  width: 100%;
}

.content-takesumi {
  width: 100%;
}

.nagare-item {
  width: 100%;
}

.nagare-arrow {
  transform: rotateZ(90deg);
  position: relative;
right: -50%;
top: 50%;
width: 13%;
padding-top:0;
}

.left-navi {
  display: none
}

.left-navi-sp {
  padding-top: 0!important;
  color: #fff
}

.left-navi-sp a, .left-navi-sp a:hover {
  color:#fff;
}

.main-page-header {
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    width: 100%;
  }

.table-wrap {
overflow-x: scroll;
}
.table {
  width: 100%;
  white-space: nowrap;
}

.main-page img {
  height: 100%;
  object-fit: cover;
          object-position: left;

}
.main-title span {
  font-size:21px;
}
.main-title {
line-height: 1em;
width: 100%;
text-align: center;
padding-left: 20px;
}

.consul-col2 {
  flex-wrap: wrap;
}
.consul-text, .consul-img {
  width: 100%;
  margin: 5px auto;
}

}

@media (max-width:1000px) {
  .page-wrapper.video {
    height: 90vh;
  }
}

/* スマホ */
@media (max-width:768px) {

  h1 {
    font-size: 1.7rem;
  }

.page-logo {
  width: 65%;
  padding-top: 20px;
}
.tell-no {
  font-size: 3rem;
}
.footer-address {
  width: 100%;
}
.footer-navi {
  width: 100%;
}

.message-profile {
  width: 100%;
}

.top-copy {
  width: 80%;
}

.top-copy p {
  font-size: 1rem;
}

.service-item > div {
  width: 100%;
}

section.content h2 {
  margin-top: 65px;
}

.bnr-tell {
  font-size: 1rem;
  line-height: 0.2em;
}
.main-page img {
  object-position: 82% bottom;
}
.btn {
 letter-spacing: 0.2em
}

.bnr-recruit-link {
  position: relative;
}
 .bnr-recruit-link .recruit-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 90%; /* スマホで横幅確保 */
  }

  .page-wrapper.video {
    height: 90vh;
  }

    .top-message {
        width: 85%;
        margin: 65px auto 0;
        font-size: 1rem;
        text-align: left;
    }
.pc {
  display: none;
}

section.top-service {
  margin-top: 60px;
}

.tell-time {
  font-size: 1rem;
}
footer {
  padding: 20px;
}
}

@media (max-width: 570px) {
    .main-page-header {
        BOTTOM: 10%;
        left: 50%;
        transform: translate(-50%, 70%);
        width: 100%;
    }
.main-page-header.normal {
  BOTTOM: 48%;
}

}