@charset "utf-8";
/* =========================================================================================
page-header
=========================================================================================*/
.page-header {
  width: 100%;
  text-align: center;
  min-height: 550px;
  background: #82e5f3 url(../images/page/page_header_bg.webp) repeat-x;
  background-position: center bottom;
  background-size: auto 100%;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: space-between;
  padding-block: 150px 0;
  margin-bottom: 100px;
}
.page-header h1,
.page-header .header-title,
.page-header .en-title {
  text-shadow:
    3px 3px 3px #ffffff,
    -3px 3px 3px #ffffff,
    3px -3px 3px #ffffff,
    -3px -3px 3px #ffffff,
    3px 0px 3px #ffffff,
    0px 3px 3px #ffffff,
    -3px 0px 3px #ffffff,
    0px -3px 3px #ffffff; /* 文字の影 */
}
.page-header h1,
.page-header .header-title {
  font-size: 2.25em;
  font-weight: var(--bold-font-weight);
  text-align: center;
  line-height: 1.4;
  letter-spacing: 0.05em;
  word-break: auto-phrase;
  margin-bottom: 0.75em;
}
.page-header .en-title {
  font-size: 1rem;
  text-align: center;
  display: block;
  text-transform: capitalize;
  letter-spacing: 0;
}
.page-header .member-illust {
  width: 100%;
  background: transparent url(../images/page/page_header_road.webp) repeat-x;
  background-position: center bottom;
  background-size: auto 70px;
  margin: 0 0 -50px;
}
.page-header .member-illust .inner {
  display: flex;
  flex-wrap: nowrap;
  align-items: end;
  justify-content: space-between;
  width: 70%;
  margin-bottom: 20px;
}
.page-header .member-illust .inner img {
  max-height: 150px;
  width: 100%;
  /*height: 150px;*/
}
@media only screen and (max-width: 820px) {
  .page-header {
    background-size: 1400px auto;
    min-height: 400px;
    padding-block: 100px 0;
    margin-bottom: 50px;
  }
  .page-header .member-illust {
    background-size: auto 40px;
    margin: 0 0 -30px;
  }
  .page-header .member-illust .inner {
    margin-bottom: 10px;
    width: 100%;
  }
  .page-header .member-illust .inner img {
    height: 70px;
  }
}
@media only screen and (max-width: 468px) {
  .page-header {
    background-size: 1000px auto;
    min-height: 300px;
    padding-block: 75px 0;
    margin-bottom: 50px;
  }
  .page-header .member-illust {
    background-size: auto 20px;
    margin: 0 0 -10px;
  }
  .page-header .member-illust .inner {
    margin-bottom: 0;
  }
}

/* =========================================================================================
midashi
=========================================================================================*/
.heading {
  display: flex;
  align-items: start;
  flex-direction: column-reverse;
  gap: 10px;
}
.heading span {
  color: #fff;
  font-size: 1rem;
  display: inline-block;
  background: var(--base-font-color);
  padding: 0.2em 0.75em 0.25em;
  border-radius: 5px;
}
.heading span.en-title {
  color: var(--base-font-color);
  font-size: 1em;
  background: transparent;
  padding: 0;
  text-transform: uppercase;
}
@media only screen and (max-width: 820px) {
}
@media only screen and (max-width: 468px) {
}

/* =========================================================================================
LAYOUT
=========================================================================================*/
#footer {
  background: linear-gradient(to bottom, transparent 0%, var(--sub-color) 20%, var(--sub-color) 100%);
}
.entry-content .column .inner {
  display: grid;
  grid-template-columns: minmax(250px, 25%) 1fr;
  align-items: start;
}
@media only screen and (max-width: 820px) {
  .entry-content .column .inner {
    grid-template-columns: auto; /* 1列に変更 */
    gap: 30px;
  }
}
@media only screen and (max-width: 468px) {
}

/* =========================================================================================
ABOUT
=========================================================================================*/
.about .entry-content .inner table th {
  width: 10em;
}
.about .entry-content .inner table dl {
  display: grid;
  grid-template-columns: 7em 1fr;
  gap: 0;
}
.about .entry-content .inner table ul {
  margin-block: 0;
}
.about .entry-content .inner table td,
.about .entry-content .inner table dd {
  display: flex;
  flex-wrap: wrap;
  align-items: start;
  justify-content: left;
  gap: 0 1em;
}
@media only screen and (max-width: 1024px) {
  .about .entry-content .inner table th {
    width: 7em;
  }
  .about .entry-content .inner table dl {
    grid-template-columns: 1fr;
  }
}
@media only screen and (max-width: 820px) {
  .about .entry-content .inner table th,
  .about .entry-content .inner table td {
    display: block;
    width: 100%;
    padding-inline: 0;
  }
  .about .entry-content .inner table th {
    padding-bottom: 0;
    border: none;
  }
  .about .entry-content .inner table td {
    padding-top: 0.5em;
  }
  .about .entry-content .inner table dl {
    display: block;
  }
}
@media only screen and (max-width: 468px) {
}

/* =========================================================================================
CONTACT
=========================================================================================*/
.contact .entry-content ul li::before {
  background: var(--main-color);
}
@media only screen and (max-width: 820px) {
}
@media only screen and (max-width: 468px) {
}

/* =========================================================================================
404
=========================================================================================*/
.error404 .entry-header {
  text-align: center;
  padding: 40px 20px;
  margin: 0;
}

.error404 .error-message {
  padding: 20px;
  margin-bottom: 30px;
  text-align: center;
}
.error404 .error-message p img {
  margin: 0 auto 80px;
  max-width: 250px;
}

@media only screen and (max-width: 820px) {
}
@media only screen and (max-width: 468px) {
}

/* =========================================================================================
  STAFF
=========================================================================================*/
body.staff .entry-content ul li::before {
  /*Reset*/
  display: none;
}
body.staff .main {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
body.staff .main.staff ul {
  width: 48%;
  background-color: #fff;
  display: flex;
  justify-content: space-between;
  margin: 0 0 30px 0;
  padding: 30px;
  border-radius: 30px;
}
body.staff .main ul li.image {
  width: 26%;
}
body.staff .main ul li.text {
  width: 68%;
}
body.staff .main ul li.text .katagaki {
  font-size: 1.25rem;
  line-height: 1;
}
body.staff .main ul li.text .name {
  padding-bottom: 5px;
  border-bottom: 1px solid #000;
}
body.staff .main ul li.text .name img {
  height: auto;
  vertical-align: bottom;
  width: auto;
  max-height: 50px;
}
body.staff .main ul li.text .question dt {
  margin: 13px 0 5px;
  padding: 0 10px 2px;
  font-size: 1.0625rem;
  color: #fff;
  background-color: var(--main-color);
  width: fit-content;
  border-radius: 5px;
  line-height: 1.5;
}
body.staff .main ul li.text .question dd {
  font-size: 1.0625rem;
  line-height: 1.3;
}
@media only screen and (max-width: 820px) {
  body.staff .main {
    display: block;
  }
  body.staff .main.staff ul {
    width: 100%;
  }
}

/*-----------　   数字・キーワードで見るケーオー商事   -----------*/
.main.keyword {
  width: 1200px !important;
  margin-inline: auto;
}
body.staff .main.keyword .header {
  margin-inline: auto;
  text-align: center;
}
body.staff .main.keyword .header p {
  font-size: 2.2rem;
  color: var(--accent-color);
}
body.staff .main.keyword .header h2 {
  margin: 0;
  line-height: 1.1;
  font-size: 4.4rem;
}
body.staff .main.keyword .header small {
  margin: 40px 0 80px;
  font-size: 1.1rem;
  display: inline-block;
}
body.staff .main.keyword .inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  width: 100%;
  gap: 60px;
  align-items: unset;
}
body.staff .main.keyword .group {
  width: 570px;
  background-color: #fff;
  border-radius: 20px;
  position: relative;
  padding: 50px 40px 30px;
  display: flex;
  align-items: flex-end;
  flex-wrap: wrap;
  justify-content: center;
}
body.staff .main.keyword .group h3 {
  position: absolute;
  top: -20px;
  left: -20px;
  background-color: var(--main-color);
  color: #fff;
  border-radius: 50px;
  padding: 5px 30px;
  width: fit-content;
  border: none;
  font-size: 1.9rem;
}

body.staff .main.keyword .group.hiritsu {
  /*男女比率*/
  text-align: center;
}
body.staff .main.keyword .group.hiritsu .image {
  width: 50%;
  margin-inline: auto;
}
body.staff .main.keyword .group.hiritsu ul {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin: 0;
}
body.staff .main.keyword .group.hiritsu ul li {
  font-size: 2.7rem;
  display: flex;
  align-items: center;
  padding: 0;
}
body.staff .main.keyword .group.hiritsu ul li div:first-child {
  color: #fff;
  border-radius: 20px;
  padding: 2px 10px;
  margin-right: 10px;
  font-size: 1.5rem;
}
body.staff .main.keyword .group.hiritsu ul li.female div:first-child {
  background-color: #f5cf4c;
}
body.staff .main.keyword .group.hiritsu ul li.male div:first-child {
  background-color: #98d619;
}
body.staff .main.keyword .group.employee_count .count {
  /*社員数*/
  position: relative;
  display: inline-block;
}
body.staff .main.keyword .group.employee_count .count::after {
  content: "";
  position: absolute;
  bottom: 18px;
  left: 0;
  width: 100%;
  height: 1.8em;
  background-color: #ffeaa2;
  z-index: 1;
}
body.staff .main.keyword .group.employee_count .number {
  font-size: 3.5rem;
  position: relative;
  z-index: 2;
}
body.staff .main.keyword .group.employee_count .number b {
  font-size: 5rem;
  font-weight: normal;
}
body.staff .main.keyword .group.leave_days .image {
  /*有給取得日数*/
  width: 80%;
  margin-inline: auto;
}
body.staff .main.keyword .group.leave_days .count {
  position: relative;
  display: inline-block;
}
body.staff .main.keyword .group.leave_days .count::after {
  content: "";
  position: absolute;
  bottom: 18px;
  left: 0;
  width: 100%;
  height: 1.8em;
  background-color: #ffeaa2;
  z-index: 1;
}
body.staff .main.keyword .group.leave_days .number {
  font-size: 3.5rem;
  position: relative;
  z-index: 2;
}
body.staff .main.keyword .group.leave_days .number b {
  font-size: 5rem;
  font-weight: normal;
}
body.staff .main.keyword .group.smoking_rate .image {
  /*喫煙比率*/
  margin-inline: auto;
  width: 33%;
}
body.staff .main.keyword .group.smoking_rate ul {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin: 0;
}
body.staff .main.keyword .group.smoking_rate ul li {
  font-size: 2.7rem;
  display: flex;
  align-items: center;
  padding: 0;
}
body.staff .main.keyword .group.smoking_rate ul li div:first-child {
  color: #fff;
  border-radius: 20px;
  padding: 2px 10px;
  margin-right: 10px;
  font-size: 1.5rem;
}
body.staff .main.keyword .group.smoking_rate ul li.smoker div:first-child {
  background-color: #f5cf4c;
}
body.staff .main.keyword .group.smoking_rate ul li.nonsmoker div:first-child {
  background-color: #98d619;
}
@media only screen and (max-width: 820px) {
  .main.keyword {
    width: 100% !important;
  }
  body.staff .main.keyword .header p {
    font-size: 1.4rem;
  }
  body.staff .main.keyword .header h2 {
    font-size: 1.9rem;
    line-height: 1.3;
  }
  body.staff .main.keyword .header small {
    margin: 10px 0 60px;
    font-size: 1rem;
  }
  body.staff .main.keyword .inner {
    display: block;
  }
  body.staff .main.keyword .group {
    width: 100%;
    margin-bottom: 60px;
  }
  body.staff .main.keyword .group b {
    line-height: 1.2;
  }
  body.staff .main.keyword .group h3 {
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 4px 30px 5px;
    font-size: 1.6rem;
  }
  body.staff .main.keyword .group.hiritsu .image {
    /*男女比率*/
    width: 70%;
    margin-inline: auto;
  }
  body.staff .main.keyword .group.hiritsu ul {
    width: 100%;
  }
  body.staff .main.keyword .group.hiritsu ul li {
    font-size: 2.2rem;
    display: block;
    text-align: center;
  }
  body.staff .main.keyword .group.hiritsu ul li div:first-child {
    border-radius: 50px;
    padding: 0 10px 2px;
    font-size: 1.5rem;
    line-height: 1.5;
  }
  body.staff .main.keyword .group.hiritsu ul {
    margin-top: 20px;
  }
  body.staff .main.keyword .group.hiritsu ul li div:first-child {
    border-radius: 50px;
  }
  body.staff .main.keyword .group.hiritsu ul li.female {
    width: 100%;
    margin-inline: auto;
  }
  body.staff .main.keyword .group.hiritsu ul li.male {
    width: 100%;
    margin-inline: auto;
  }
  body.staff .main.keyword .group.employee_count .count::after {
    /*社員数*/
    bottom: 10px;
  }
  body.staff .main.keyword .group.employee_count .number {
    font-size: 2.5rem;
  }
  body.staff .main.keyword .group.employee_count .number b {
    font-size: 4rem;
  }
  body.staff .main.keyword .group.leave_days .image {
    /*有給取得日数*/
    width: 100%;
  }
  body.staff .main.keyword .group.leave_days .count::after {
    bottom: 10px;
  }
  body.staff .main.keyword .group.leave_days .number {
    font-size: 2.5rem;
  }
  body.staff .main.keyword .group.leave_days .number b {
    font-size: 4rem;
  }
  body.staff .main.keyword .group.smoking_rate .image {
    /*喫煙比率*/
    margin-inline: auto;
    width: 40%;
  }
  body.staff .main.keyword .group.smoking_rate ul {
    /*男女比率*/
    width: 100%;
  }
  body.staff .main.keyword .group.smoking_rate ul li {
    font-size: 2.2rem;
    display: block;
    text-align: center;
  }
  body.staff .main.keyword .group.smoking_rate ul li div:first-child {
    border-radius: 50px;
    padding: 0 10px 2px;
    font-size: 1.5rem;
    line-height: 1.5;
  }
  body.staff .main.keyword .group.smoking_rate ul {
    margin-top: 20px;
  }
  body.staff .main.keyword .group.smoking_rate ul li div:first-child {
    border-radius: 50px;
  }
  body.staff .main.keyword .group.smoking_rate ul li.smoker div:first-child {
    width: 100%;
    margin-inline: auto;
  }
  body.staff .main.keyword .group.smoking_rate ul li.nonsmoker div:first-child {
    width: 100%;
    margin-inline: auto;
  }
}

/* =========================================================================================
  RECRUIT
=========================================================================================*/
/*.headline   ---------------------*/
body.recruit .headline {
  margin-bottom: 50px;
  position: relative;
  z-index: 1;
}
body.recruit .headline::after {
  content: "";
  width: 50%;
  min-width: 1000px;
  aspect-ratio: 1920 / 990;
  background: url(../images/page/page_recruit_machinami.webp) no-repeat center;
  background-size: contain;
  position: absolute;
  left: 50vw;
  bottom: 50px;
  z-index: 1;
}
body.recruit .headline .inner h2 {
  font-size: clamp(1.778rem, 1.333rem + 1.711vi, 2.778rem);
  margin-bottom: 40px;
}
body.recruit .headline .inner p {
  font-size: clamp(1.111rem, 0.864rem + 0.951vi, 1.667rem);
  width: 60%;
}
body.recruit .headline .inner {
  position: relative;
  z-index: 10;
}
@media (max-width: 820px) {
  body.recruit .headline {
    padding-bottom: 300px;
  }
  body.recruit .headline::after {
    content: "";
    width: 100%;
    min-width: 550px;
    position:;
    left: 50%;
    bottom: 0;
    translate: -50% 0;
  }
  body.recruit .headline .inner p {
    width: 100%;
  }
}
@media (max-width: 468px) {
  body.recruit .headline .inner h2 {
    font-size: 1.675rem;
    margin-bottom: 1em;
  }
  body.recruit .headline .inner p {
    font-size: 1.25rem;
  }
}

/*.joinus   ---------------------*/
body.recruit .joinus .inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
}
body.recruit .joinus h2 {
  font-size: clamp(1.778rem, 0.839rem + 3.612vi, 3.889rem);
}
body.recruit .joinus h2 br {
  display: none;
}
body.recruit .joinus img {
  width: 90%;
  max-width: 860px;
  margin: 1em auto;
}
body.recruit .joinus p {
  font-size: clamp(1.111rem, 0.469rem + 2.471vi, 2.556rem);
}
body..recruit .entry-content .inner table th {
  min-width: 175px;
}
body.recruit .entry-content .inner table tr:last-child th,
body.recruit .entry-content .inner table tr:last-child td {
  border: none;
}
@media only screen and (max-width: 820px) {
  body.recruit .joinus {
    margin-top: 0;
  }
  body.recruit .joinus h2 br {
    display: block;
  }
  body.recruit .entry-content .inner table th,
  body.recruit .entry-content .inner table td {
    display: block;
    width: 100%;
    min-width: auto;
    padding-inline: 0;
  }
  body.recruit .entry-content .inner table th {
    padding-bottom: 0;
    border: none;
  }
  body.recruit .entry-content .inner table td {
    padding-top: 0.5em;
  }
}
@media (max-width: 468px) {
}
/* =========================================================================================
  KOS
=========================================================================================*/
body.kos .page-header {
  background: #ffeaa2 url(../images/product_img_support.png) no-repeat;
  background-position: center;
  background-size: auto 100%;
}
@media (max-width: 820px) {
}
@media (max-width: 468px) {
  body.kos .page-header {
    background-size: auto 80%;
  }
}

/* =========================================================================================
  Password Form
=========================================================================================*/
body.kos .entry-content .inner form {
  display: flex;
  flex-direction: column;
  gap: 2em;
}
body.kos .entry-content .inner form p:nth-of-type(1) {
  text-align: center;
}
body.kos .entry-content .inner form p:nth-last-of-type(1) {
  width: 100%;
  max-width: 500px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 1em;
  margin: auto;
}
body.kos .entry-content form input[type="submit"],
body.kos .entry-content form input[type="button"] {
  min-width: 150px;
  margin-inline: auto;
}
@media (max-width: 820px) {
}
@media (max-width: 468px) {
  body.kos .entry-content .inner form p:nth-last-of-type(1) {
    max-width: 300px;
    grid-template-columns: 1fr; /* 1列に変更 */
  }
}

.post-password-form {
  display: flex;
  flex-direction: column;
  gap: 2em;
}
.post-password-form p:nth-of-type(1) {
  text-align: center;
}
.post-password-form p:nth-last-of-type(1) {
  width: 100%;
  max-width: 500px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 1em;
  margin: auto;
}
.post-password-form input[type="submit"],
.post-password-form input[type="button"] {
  min-width: 150px !important;
  margin-inline: auto !important;
}
@media (max-width: 820px) {
}
@media (max-width: 468px) {
  .post-password-form p:nth-last-of-type(1) {
    max-width: 300px;
    grid-template-columns: 1fr; /* 1列に変更 */
  }
}

/* =========================================================================================
  SITEMAP
=========================================================================================*/
body.sitemap .wsp-container h2 {
  display: none;
}
body.sitemap article ul {
  margin-left: 0;
}
body.sitemap article li {
  border-bottom: 1px dashed var(--gray-color);
}
body.sitemap article li a {
  color: var(--accent-color);
  display: block;
  text-decoration: none;
  padding: 10px;
}
body.sitemap article li::before {
  display: none;
}
@media (max-width: 820px) {
}
@media (max-width: 468px) {
}

/* =========================================================================================
  ACHIEVEMENTS
=========================================================================================*/
body.achievements .entry-content .inner {
  max-width: 1000px;
}
/*年表形式*/
body.achievements .entry-content dl.history-block {
  display: grid;
  grid-template-columns: 200px 1fr;
  align-items: start;
  gap: 1em 0;
  margin-bottom: 100px;
  position: relative;
  z-index: 1;
}
body.achievements .entry-content dl.history-block::after {
  content: "";
  width: 3px;
  height: 100%;
  background: var(--accent-color);
  position: absolute;
  left: 9px;
  top: 15px;
  z-index: -1;
}
body.achievements .entry-content dl.history-block dt {
  color: var(--accent-color);
  font-size: clamp(1.125rem, calc(0.809rem + 1.348vw), 1.5rem); /* min: 18px, max: 24px */
  font-weight: var(--bold-font-weight);
  line-height: 1.4;
}
body.achievements .entry-content dl.history-block dt span {
  display: flex;
  align-items: center;
  justify-content: left;
  gap: 0.5em;
}
body.achievements .entry-content dl.history-block dt span::before {
  content: "";
  display: inline-block;
  line-height: 1;
  width: 20px;
  aspect-ratio: 1 / 1;
  background: var(--accent-color);
  border-radius: 100px;
}
body.achievements .entry-content dl.history-block dd:has(.image) {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 120px;
  align-items: start;
  gap: 1.5em;
}
body.achievements .entry-content dl.history-block dd .text img {
  margin-block: 0.5em;
}
body.achievements .entry-content dl.history-block dt.space,
body.achievements .entry-content dl.history-block dd.space {
  padding-top: 75px;
}
body.achievements .entry-content dl.history-block dt.space:nth-of-type(1),
body.achievements .entry-content dl.history-block dd.space:nth-of-type(1) {
  padding-top: 0 !important;
}
@media (max-width: 820px) {
  body.achievements .entry-content dl.history-block {
    display: flex;
    flex-direction: column;
  }
  body.achievements .entry-content dl.history-block dd {
    padding-left: 50px;
  }
  body.achievements .entry-content dl.history-block dt.space {
    padding-top: 50px;
  }
  body.achievements .entry-content dl.history-block dd.space {
    padding-top: 0;
  }
  body.achievements .entry-content dl.history-block dd:has(.image) {
    grid-template-columns: 1fr 100px;
  }
}
@media (max-width: 468px) {
  body.achievements .entry-content dl.history-block dd {
    padding-left: 40px;
  }
  body.achievements .entry-content dl.history-block dd:has(.image) {
    display: block;
  }
  body.achievements .entry-content dl.history-block dd .image {
    display: none;
  }
}

/*固定*/
body.achievements .entry-content .footer-block {
  display: flex;
  flex-direction: column;
  gap: 50px;
  padding: 40px 5%;
  background: #fff;
  border: 5px solid var(--accent-color);
  border-radius: 20px;
}
body.achievements .entry-content .footer-block .box {
  position: relative;
  z-index: 1;
}
body.achievements .entry-content .footer-block .box::before {
  content: "";
  width: 100%;
  height: 4px;
  background-image: radial-gradient(circle, #000000 2px, transparent 2px);
  background-position: left top;
  background-repeat: repeat-x;
  background-size: 14px 4px;
  position: absolute;
  top: calc((-50px + 4px) / 2);
  left: 50%;
  translate: -50% 0;
  z-index: 2;
}
body.achievements .entry-content .footer-block .box:nth-of-type(1):before {
  display: none;
}
body.achievements .entry-content .footer-block .box:has(.image) {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 120px;
  align-items: start;
  gap: 1.5em;
}
@media (max-width: 820px) {
  body.achievements .entry-content .footer-block .box:has(.image) {
    grid-template-columns: 1fr 100px;
  }
}
@media (max-width: 468px) {
  body.achievements .entry-content .footer-block {
    gap: 40px;
    padding: 30px 20px;
  }
  body.achievements .entry-content .footer-block .box:has(.image) {
    display: block;
  }
  body.achievements .entry-content .footer-block .box .image {
    display: none;
  }
}
