@charset "UTF-8";

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  color: #1a1a1a;
}

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

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

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

ul {
  list-style: none;
}

ol.roman-list {
  list-style-type: upper-roman;
}

ol {
  padding-left: 20px;
}

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 */
}

.ss-size {
  font-size: 0.7rem; 
}

.normal-size {
font-size: 1rem;
font-weight: 300;
}


section {
  margin: 80px auto;
}

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

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

h2.no-underline::after {
  display: none;
}

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

.page-logo {
width: 33%;
}

.navi {
  /* width: 80%;*/ /*フルバージョン */
  width: 38%;
  display: flex;
  justify-content: space-around;
  background-color: #FFF;
  border-radius: 50px;
  padding: 15px;
  text-align: center;
  font-size: 0.9rem;

}

.navi li, .navi-contact li {
  line-height: 1.3rem;
  letter-spacing: -0.05em;
  margin-right: 5px;
}

.navi span {
  display: block;
  font-size: 0.75rem;
  color: #2A461C;
  line-height: 1em;
  padding-bottom: 5px;
  box-sizing: border-box;
}

.navi a:hover {
  color: #2a461c
}

.navi-contact a {
  color: #fff;
}

.navi-btn {
    transition: background-color 0.3s ease;
}

a.navi-btn {
   width: 13%;
  height: 100%;
  display: block;
  background-color:#2A461C;
  color: #fff;
  border-radius: 999px;
  padding: 15px;
  text-align: center;
  line-height: 1rem;
  font-size: 0.8rem;
}

a.navi-btn span {
  display: block;
  font-size: 0.75rem;
  color: #fff;
  padding-bottom: 5px;
  box-sizing: border-box;
}

a.navi-btn:hover {
  background-color: #dbdbdb;
  color: #2A461C;
}

a.navi-btn:hover > span {
  color: #2A461C;
}

.english {
  text-align: right;
  color: #fff;
  position: relative;
  z-index: 999;
 width: 100%;
 max-width: 1100px;
 margin: 0 auto;
}

.english i {
  color: #fff;
  padding-right: 5px;
}




/* スライダー */
.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: 55%;
  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: 60%;
  max-width: 600px;
  font-size: 1.4rem;
/*    background-color: rgba(256, 256, 256, 0.1);*/
    backdrop-filter: blur(2px);
    width: 90%;
    margin: 0 auto;
}

.top-copy h1 {
font-size: 3rem;
margin-bottom: 20px;
}

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

.top-copy img {
  display: block;
  max-width: 320px;
  width: 90%;
  margin: 30px auto;
  height: auto;
}

.top-copy p.black {
  color: #000;
  font-weight: 500;
  text-shadow: 0 0 10px rgba(256,256,256,0.9);
}

.fontwhite {
  color: #fff;
}

.top-copy h1.fontwhite {
  color: #fff;
}

.top-wrapper {
  height: 100vh; 
}

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

.inview-trigger {
  height: 300px;
  margin-bottom: -300px;
  opacity: 0;
}

.main-content {
  opacity: 0;
  transform: translate(0, 50%);
  transition:  2s;
}
.main-content.is-show {
  opacity: 1;
  transform: translate(0, 0);
}

.margintop50 {
  margin-top: 50px;
}




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

/* ボタン */
.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 #2A461C;
  line-height: 1;
  transition: background-color 0.3s ease;
  margin: 30px auto;
  letter-spacing: 0.7em;
}

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

.btn.big {
   width: 100%
}

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


a.wp-element-button:hover {
 background-color: #dbdbdb;
  color: #2a461c;
  border: 1px solid #fff; 
}

/* トップ サービス */
.top-service {
padding: 50px;
box-sizing: border-box;
text-align: center;
}

.top-service h3 {
  display: inline-block;
  border-bottom: 1px solid #2A461C;
  padding-bottom: 10px;
}


.business {
background-color: #FFF;
padding: 30px;
box-sizing: border-box;
border-radius: 30px;
/*margin-bottom: 50px;*/
}


.top-service ol {
  text-align: left;
  margin: 30px auto;
}

.top-service li {
  margin: 10px auto;
  font-size: 1.3rem;
  font-weight: 500;
}

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

.normal-size > li {
font-size: 1rem;
font-weight: 300;
}

/* パートナー */
.partner-list {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  width: 95%;
  margin: 0 auto;
}

.partner-list div {
width: 33%;
margin-bottom: 20px;
}

/* トップインフォ */

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

.big-title {
  font-weight: 700;
  color: #fff;
  font-size: 5rem;
  margin-bottom:0;
}

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

/* パートナー */
.partner {
  text-align: center;
  background-color: #fff;
  padding: 50px;
  box-sizing: border-box;
}

/* 会社情報 */

.access {
padding: 50px;
box-sizing: border-box;
}

.access-come {
  width: 100%;
  margin-bottom: 30px;
  text-align: center;
}

.company-info {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: space-around;
}

.company-info dl {
  display: flex;
  flex-wrap: wrap;
  border-top: 1px solid #ccc;
  max-width: 600px;
  flex:1;
  font-family: sans-serif;
    background-color: #fff;
}

.company-info dt,
.company-info dd {
  padding: 12px 10px;
  border-bottom: 1px solid #ccc;
}

.company-info dt {
  width: 30%;
  max-width: 180px;
  font-weight: bold;
}

.company-info dd {
  width: 70%;
  max-width: 420px;
}

.company-info a {
  color: #005bac;
  text-decoration: none;
}

.company-info a:hover {
  text-decoration: underline;
}

.map {
  flex:1;
  max-width: 600px;
}

.map iframe {
  width: 100%;
  height: 100%;
  display: block;
}

/* 下層ページ */
section.content {
  width: 90%;
  max-width: 950px;
  margin: 0px auto 80px;
  text-align: center;
}

section.content h3 {
  text-align: left;
}

section.content p {
  text-align: left;
}

section.content li {
  text-align: left;
}


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

.main-page {
  height: 100%;
  position: relative;
  display: block;
}

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

.main-page-header {
  position: absolute;
  top: 60%;
  left: 6%;
  transform: translateY(-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;
}

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

.governance h2 {
margin-top: 50px;
}

.governance h3 {
margin-bottom: 20px;
padding-left: 1em;
}

h3.government-subtitle {
padding-left: 0;
color: #2A461C;
margin-top: 3rem;
}

h3.government-subtitle strong {
color: #2A461C
}

.governance p {
  margin-bottom: 20px;
  padding-left: 1em;
}

.governance ul {
  margin-bottom: 30px;
  list-style:disc;
  padding-left: 30px;
}

.governance strong {
  font-weight: 500;
}

.quality-title {
  text-align: left;
}

/* youtube */

.wp-block-embed__wrapper {
  width: 90%;
  max-width: 700px;
margin: 0 auto;
}

/* お問い合わせフォーム */
.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: #2A461C;
  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: #fff;
  border: 1px solid #2A461C;
  color: #2A461C;
}

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

input.wpcf7-submit {
  background-color: #2A461C;
  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: #2A461C;
    color: #fff;
    font-size: 1rem;
    text-align: center;
    text-decoration: none;
    border-radius: 999px;
    border: 1px solid #2A461C;
    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: #2A461C;
  border: 1px solid #2A461C;
}


 .blue .wp-block-button__link {
   background-color: #1c2a46;
   border: 1px solid #1c2a46;
}

.blue .wp-block-button__link:hover {
  background-color: #fff;
  color: #1c2a46;
  border: 1px solid #1c2a46;
}

.hover-disable  {
  pointer-events: none;
}

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

@media (max-width: 768px) {
.company-info dl {
  width: 100%;
   flex: initial;
}
  .company-info dt,
.company-info dd {
  width: 100%;
  max-width: 100%;
}
  .company-info dt {
    border-bottom: none;
    padding-bottom: 0;
  }

  .map {
    width: 100%;
    height: 500px;
    margin-top: 30px;
     flex: initial;
  }

}



/* リクルートバナー */
/* リクルートバナー本体 */
.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;
  color: #fff;
}

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

.top-contact {
  background-color: #2A461C;
  padding: 30px 50px;
  box-sizing: border-box;
  margin-top:0;
  margin-bottom:0;
}


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

.tell-wrapper {
margin: 0 auto;
}

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

.tell-time {
  color: #fff;
  line-height: 3rem;
  font-size: 1.3rem
}

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

.white {
  background-color: #fff;
  font-weight: 500;
  color: #2A461C;
}


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

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

  .footer-address {
 flex: 1;
  }

  .footer-navi {
flex:1;
text-align: end;
  }

.footer-links {
  display: flex;
  justify-content: end;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.footer-links li {
  margin: 0 8px;
  position: relative;
}

.footer-links li:not(:last-child)::after {
  content: "|";
  position: absolute;
  right: -8px;
  color: #999;
}

  .copy {
    text-align: right;
  }


.btn-qualitycontrol {
  letter-spacing: 0;
}

.btn-qualitycontrol a {
  letter-spacing: 0;
}

.qualitycontrol-p {
  margin-top: 50px;
}

section.qualitycontrol {
  text-align: center;
  margin-top: 50px;
}

section.qualitycontrol p {
  text-align: left;
}

.mg50 {
  margin-top: 50px;
}

.icon-pdf {
  width: 20px;
}

.icon-white {
  color: #fff;
}

.wp-element-button:hover .icon-white {
  color: #2a461c
}

h2.governance-code {
  color: #1c2a46;
}

section h2.governance-code::after {
  background-color: #1c2a46;
}

.underline {
  text-decoration: underline;
}

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


.sp-logo img {
	height: 50px;
  object-fit: contain;
  margin-right: 10px;
  display: inline-block;
}

body.page-id-19 .sp-logo img {
  /*content: url('/wp-content/themes/kansa/images/logo_white.png');*/  /* 黒ロゴに差し替え */

    filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.7))
          drop-shadow(0 0 8px rgba(255, 255, 255, 0.6))
          drop-shadow(0 0 12px rgba(255, 255, 255, 0.4));

}

body.page-id-19 .page-logo {
/*background: rgba(255, 255, 255, 0.1);*/  /* 半透明の黒背景 */
border-radius: 4px;
}

.governance p.hotline-text {
  padding-left: 2em;
}

body.page-id-19 .quality-title {
  filter: drop-shadow(0 0 4px rgba(0, 0, 0, 0.7))
          drop-shadow(0 0 8px rgba(0, 0, 0, 0.6))
          drop-shadow(0 0 12px rgba(0, 0, 0, 0.4));
}

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

html, body {
font-size: 14px;
}

.page-logo {
    width: 70%;
}

.sp-logo img {
height: auto;
width: 100%;
}

.footer {
display: block;
width: 100%;
margin: 0 auto;
}

.footer-address {
  width: 100%;
}

.footer-navi {
  width: 100%;
}
}





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

.spheader {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
}

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

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

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: #2A461C;
    position: absolute;
}
.menu-btn span:before {
    bottom: 8px;
}
.menu-btn span:after {
    top: 8px;
}

.works div {
  width: 100%;
}


section.content {
  margin-top: 80px;
}

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

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

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

}


@media (max-width: 768px) {

.top-message p {
  width: 95%;
  margin: 0 auto;
  font-size: 1.1rem;
}

.main-page img {
  height: 50vh;
  object-fit: cover;
}

.main-title {
line-height: 0.5em;
width: 100%;
text-align: center;
}

.quality-title {
 line-height: 1.2em;
}


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

  .bnr-tell {
font-size: 1.5rem;  
  }

    .tell-no {
  font-size: 3rem;
  }
  .btn {
    letter-spacing: 0.2em;
  }
.bnr-tell{
  margin-top:0;
}
.bnr_recruit  {
  position: relative;
}

.bnr_recruit .recruit-text {
        top: 50%;
        left: 50%;
        transform: translate(-27%, -50%);
        width: 100%;
}

.partner-list div {
width: 100%;
}

.top-service {
    padding: 20px;
}

footer {
  padding: 25px;
}
section.content {
  margin-top: 100px;
}
}
