@charset "utf-8";
/* =========================================================================================
page-header
=========================================================================================*/
.page-header {
  width: 100%;
  aspect-ratio: 1920 / 660;
  text-align: center;
  min-height: 450px;
  background: #82e5f3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: end;
  padding-block: 0;
  margin-bottom: 100px;
  position: relative;
  z-index: 5;
}
.page-header::before{
  content: "";
  width: 100%;
  height: 100%;
  background: url(../images/page/page_header_bg.webp) repeat-x;
  background-position: center;
  background-size: cover;
  position: absolute;
  left: 50%;
  bottom: 0;
  translate: -50% 0;
  z-index: -1;
}
.page-header .title-area{
  width: 100%;
  padding: 20px;
  position: absolute;
  top: 30%;
  left: 50%;
  translate: -50% -50%;
  z-index: 5;
}
.page-header h1,
.page-header .header-title {
  font-size: 2.25em;
  font-weight: var(--weight-medium);
  text-align: center;
  line-height: 1.4;
  letter-spacing: 0.05em;
  word-break: auto-phrase;
  filter: drop-shadow(3px 3px 1px #FFF)
        drop-shadow(-3px -3px 1px #FFF)
        drop-shadow(3px -3px 1px #FFF)
        drop-shadow(-3px 3px 1px #FFF);
}
.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 {
  width: 96%;
  display: flex;
  flex-wrap: nowrap;
  align-items: end;
  justify-content: space-between;
  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 {
    min-height: 350px;
    margin-bottom: 50px;
  }
  .page-header::before{
    content: "";
    height: 80%;
  }
  .page-header .title-area{
    top: 40%;
  }
  .page-header .member-illust {
    background-size: auto 40px;
    margin: 0 0 -30px;
  }
  .page-header .member-illust .inner {
    margin-bottom: 10px;
  }
}
@media only screen and (max-width: 468px) {
  .page-header {
    min-height: 430px;
    margin-bottom: 25px;
  }
  .page-header::before{
    content: "";
    height: 80%;
  }
  .page-header .title-area{
    top: 30%;
  }
  .page-header .member-illust {
    background-size: auto 20px;
    margin: 0 0 -10px;
  }
}

/* クラウド製品 */
body.cloud-products .page-header{
  background-color: #7FECFA;
}
body.cloud-products .page-header::before{
  background-image: url(../images/page/page_header_cloud.webp);
}
body.cloud-products .page-header .member-illust{
  display: none !important;
}
@media only screen and (max-width: 820px) {
}
@media only screen and (max-width: 468px) {
}

/* AI製品 */
body.ai-products .page-header{
  background-color: #8EE57A;
}
body.ai-products .page-header::before{
  background-image: url(../images/page/page_header_ai.webp);
}
body.ai-products .page-header .member-illust{
  display: none !important;
}
@media only screen and (max-width: 820px) {
}
@media only screen and (max-width: 468px) {
}

/* 導入事例 ICT土木・測量機 */
body.post-type-archive-ict .page-header::before,
body.single-ict .page-header::before{
  background-image: url(../images/page/page_header_ict.webp);
}
body.post-type-archive-ict .page-header .member-illust,
body.single-ict .page-header .member-illust{
  display: none !important;
}
@media only screen and (max-width: 820px) {
  body.post-type-archive-ict .page-header::before,
  body.single-ict .page-header::before{
    height: 100%;
  }
}
@media only screen and (max-width: 468px) {
  body.post-type-archive-ict .page-header::before,
  body.single-ict .page-header::before{
    background-image: url(../images/page/page_header_ict_mb.webp);
  }
}

/* 導入事例 内装・外装・家具 */
body.post-type-archive-interior .page-header::before,
body.single-interior .page-header::before{
  background-image: url(../images/page/page_header_interior.webp);
}
body.post-type-archive-interior .page-header .member-illust,
body.single-interior .page-header .member-illust{
  display: none !important;
}
@media only screen and (max-width: 820px) {
  body.post-type-archive-interior .page-header::before,
  body.single-interior .page-header::before{
    height: 100%;
  }
}
@media only screen and (max-width: 468px) {
  body.post-type-archive-interior .page-header::before,
  body.single-interior .page-header::before{
    background-image: url(../images/page/page_header_interior_mb.webp);
  }
}

/* =========================================================================================
LAYOUT
=========================================================================================*/
.entry-content section:nth-of-type(1),
.archive-content section:nth-of-type(1),
body.single main > article{
  padding-top: 25px;
}
#footer {
  background: linear-gradient(to bottom, transparent 0%, var(--color-main) 20%, var(--color-main) 100%);
}
@media only screen and (max-width: 468px) {
  .archive-content section:nth-of-type(1){
    padding-top: 0;
  }
}
/* =========================================================================================
2カラム
=========================================================================================*/
.entry-content .column .inner {
  display: grid;
  grid-template-columns: minmax(280px, 30%) 1fr;
  align-items: start;
}
/* 2カラム時のタイトル */
.heading-area {
  display: flex;
  align-items: start;
  flex-direction: column-reverse;
  gap: 0.5em;
}
.heading-area .heading {
  color: #fff;
  font-size: clamp(0.875rem, calc(0.664rem + 0.899vw), 1.125rem); /* min: 14px, max: 18px */;
  display: inline-block;
  background: var(--color-base-font);
  padding: 0.2em 0.75em 0.25em;
  border-radius: 5px;
}
.heading-area .sub-title {
  color: var(--color-base-font);
  font-size: clamp(1.75rem, calc(0.065rem + 7.191vw), 3.75rem); /* min: 28px, max: 60px */;
  font-size: clamp(2rem, calc(1.052rem + 4.045vw), 3.125rem); /* min: 32px, max: 50px */;
  font-size: clamp(2.5rem, calc(1.151rem + 2.632vw), 3.125rem); /* min: 40px, max: 50px */;
  line-height: 1.4;
  background: transparent;
  padding: 0;
  text-transform: uppercase;
}
@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: 20%;
  white-space: nowrap;
}
.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 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(--color-orange);
}
@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 .column .inner {
  grid-template-columns: minmax(200px, 25%) 1fr;
}
body.staff .entry-content ul li::before {
  /*Reset*/
  display: none;
}
body.staff .main {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 40px;
}
body.staff .main.staff ul {
  width: 100%;
  background-color: #fff;
  display: flex;
  justify-content: space-between;
  padding: 30px 7.5%;
  border-radius: 30px;
}
body.staff .main.staff ul li.image {
  width: 26%;
  padding: 0;
}
body.staff .main.staff ul li.text {
  width: 65%;
  padding: 0;
}
body.staff .main.staff ul li.text .katagaki {
  font-size: 1.25rem;
  line-height: 1.2;
}
body.staff .main.staff ul li.text .name {
  font-size: clamp(1.563rem, calc(1.036rem + 2.247vw), 2.188rem); /* min: 25px, max: 35px */
  line-height: 1.6;
  padding-bottom: 0.25em;
  border-bottom: 1px solid #000;
}
body.staff .main.staff ul li.text .question dt {
  margin: 13px 0 5px;
  padding: 0 10px 2px;
  font-size: 1.0625rem;
  color: #fff;
  background-color: var(--color-orange);
  width: fit-content;
  border-radius: 5px;
  line-height: 1.5;
}
body.staff .main.staff ul li.text .question dd {
  font-size: 1.0625rem;
  line-height: 1.3;
}
/* K-ZAEMON */
body.staff .main.staff ul:nth-last-of-type(1) li.image {
  width: 45%;
  padding: 0;
}
body.staff .main.staff ul:nth-last-of-type(1) li.image img{
  translate: -10% 0;
}
body.staff .main.staff ul:nth-last-of-type(1) li.text {
  width: 55%;
  padding: 0;
}
body.staff .main.staff ul:nth-last-of-type(1) li.text .name{
  font-size: clamp(1.563rem, calc(1.194rem + 1.573vw), 2rem); /* min: 25px, max: 32px */;
}
@media only screen and (max-width: 820px) {
  body.staff .entry-content .column .inner {
    grid-template-columns: auto;
  }
  body.staff .main.staff {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
  }
}

/*-----------　   数字・キーワードで見るケーオー商事   -----------*/
body.staff .main.keyword {
  width: 100%;
  max-width: 1200px;
  display: block;
  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(--color-brown);
}
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 .keyword-block {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 60px 5%;
}
body.staff .main.keyword .group {
  width: 100%;
  background-color: #fff;
  border-radius: 20px;
  position: relative;
  padding: 50px 7.5% 30px;
  display: flex;
  align-items: flex-end;
  flex-wrap: wrap;
  justify-content: center;
}
body.staff .main.keyword .group p {
  width: 100%;
  text-align: center;
}
body.staff .main.keyword .group h3 {
  white-space: nowrap;
  position: absolute;
  top: -20px;
  left: -20px;
  background-color: var(--color-orange);
  color: #fff;
  border-radius: 50px;
  padding: 5px 30px;
  width: fit-content;
  border: none;
  font-size: 1.9rem;
}
body.staff .main.keyword .group ul li {
  line-height: 1.2;
}
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;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 1.5em;
  margin: 0;
}
body.staff .main.keyword .group.hiritsu ul li {
  font-size: clamp(1.875rem, calc(1.348rem + 2.247vw), 2.5rem); /* min: 30px, max: 40px */
  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: clamp(1.875rem, calc(1.136rem + 3.152vw), 3.5rem); /* min: 30px, max: 56px */
  position: relative;
  z-index: 2;
}
body.staff .main.keyword .group.employee_count .number b {
  font-size: clamp(2.5rem, calc(1.364rem + 4.848vw), 5rem); /* min: 40px, max: 80px */
  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: clamp(1.875rem, calc(1.136rem + 3.152vw), 3.5rem); /* min: 30px, max: 56px */
  position: relative;
  z-index: 2;
}
body.staff .main.keyword .group.leave_days .number b {
  font-size: clamp(2.5rem, calc(1.364rem + 4.848vw), 5rem); /* min: 40px, max: 80px */
  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;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 1.5em;
  margin: 0;
}
body.staff .main.keyword .group.smoking_rate ul li {
  font-size: clamp(1.875rem, calc(1.348rem + 2.247vw), 2.5rem); /* min: 30px, max: 40px */
  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 .keyword-block {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 60px 30px;
  }
  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: fit-content;
  }
  body.staff .main.keyword .group.hiritsu ul {
    margin-top: 20px;
  }
  body.staff .main.keyword .group.hiritsu ul li div:first-child {
    font-size: 1.25rem;
    border-radius: 50px;
  }
  body.staff .main.keyword .group.employee_count .count::after {
    /*社員数*/
    bottom: 10px;
  }
  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.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 {
    margin-top: 20px;
  }
  body.staff .main.keyword .group.smoking_rate ul li div:first-child {
    font-size: 1.25rem;
    border-radius: 50px;
  }
  body.staff .main.keyword .group.employee_count .count::after,
  body.staff .main.keyword .group.leave_days .count::after {
    content: "";
    height: 35%;
  }
}

/* =========================================================================================
  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(--color-gray);
}
body.sitemap article li a {
  color: var(--color-brown);
  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(--color-brown);
  position: absolute;
  left: 9px;
  top: 15px;
  z-index: -1;
}
body.achievements .entry-content dl.history-block dt {
  color: var(--color-brown);
  font-size: clamp(1.125rem, calc(0.809rem + 1.348vw), 1.5rem); /* min: 18px, max: 24px */
  font-weight: var(--weight-medium);
  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(--color-brown);
  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(--color-brown);
  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;
  }
}

/* =========================================================================================
製品一覧　Parts (TABs)
=========================================================================================*/
body.page-template-products .parts-tabs {
  margin: auto;
}
body.page-template-products .parts-tabs .tab-list {
  display: flex;
  flex-wrap: wrap;
  align-items: start;
  justify-content: center;
  gap: 0;
  margin: 0;
}
body.page-template-products .parts-tabs .tab-list .tab-item {
  color: rgba( 0 ,0 ,0 ,0 );
  font-size: 1px;
  text-align: center;
  width: calc(100% / 5);
  aspect-ratio: 258 / 128;
  background: no-repeat center / contain;
  cursor: pointer;
  position: relative;
  transform: scale(1.1);
  transition: background-image 0.3s;
}
body.page-template-products .parts-tabs .tab-list .tab-item:nth-of-type(2n){
  translate: 0 50%;
  z-index: 2;
}
body.page-template-products .parts-tabs .tab-list .tab-item:nth-of-type(1){ background-image: url(../images/page/tab_01.webp); }
body.page-template-products .parts-tabs .tab-list .tab-item:nth-of-type(1):hover,
body.page-template-products .parts-tabs .tab-list .tab-item.active:nth-of-type(1){ background-image: url(../images/page/tab_01_on.webp); }
body.page-template-products .parts-tabs .tab-list .tab-item:nth-of-type(2){ background-image: url(../images/page/tab_02.webp); }
body.page-template-products .parts-tabs .tab-list .tab-item:nth-of-type(2):hover,
body.page-template-products .parts-tabs .tab-list .tab-item.active:nth-of-type(2){ background-image: url(../images/page/tab_02_on.webp); }
body.page-template-products .parts-tabs .tab-list .tab-item:nth-of-type(3){ background-image: url(../images/page/tab_03.webp); }
body.page-template-products .parts-tabs .tab-list .tab-item:nth-of-type(3):hover,
body.page-template-products .parts-tabs .tab-list .tab-item.active:nth-of-type(3){ background-image: url(../images/page/tab_03_on.webp); }
body.page-template-products .parts-tabs .tab-list .tab-item:nth-of-type(4){ background-image: url(../images/page/tab_04.webp); }
body.page-template-products .parts-tabs .tab-list .tab-item:nth-of-type(4):hover,
body.page-template-products .parts-tabs .tab-list .tab-item.active:nth-of-type(4){ background-image: url(../images/page/tab_04_on.webp); }
body.page-template-products .parts-tabs .tab-list .tab-item:nth-of-type(5){ background-image: url(../images/page/tab_05.webp); }
body.page-template-products .parts-tabs .tab-list .tab-item:nth-of-type(5):hover,
body.page-template-products .parts-tabs .tab-list .tab-item.active:nth-of-type(5){ background-image: url(../images/page/tab_05_on.webp); }

body.page-template-products .parts-tabs .tab-content {
  padding-top:8.5%;
}
body.page-template-products .parts-tabs .tab-content ul.box {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap:35px;
}
body.page-template-products .parts-tabs .tab-content ul.box li{
  background: url(../images/board_bg.png) no-repeat center / 100% 100%;
  padding: 15px;
}
body.page-template-products .parts-tabs .tab-content ul.box li .bg{
  line-height: 1.5;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1em;
  background: #FFF;
  border-radius: 15px;
  padding: 30px 25px;
}
body.page-template-products .parts-tabs .tab-content ul.box li .bg .logomark{
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
}
body.page-template-products .parts-tabs .tab-content ul.box li .bg .logomark img{
  max-width: 250px;
  max-height: 70px;
}
body.page-template-products .parts-tabs .tab-content ul.box li .bg p{
  flex-grow: 1;
}
body.page-template-products .parts-tabs .tab-content ul.box li .bg .btn a{
  min-width: 135px;
}
@media only screen and (max-width: 980px) {
  body.page-template-products .parts-tabs .tab-content ul.box {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px 5%;
  }
  body.page-template-products .parts-tabs .tab-content ul.box li .bg{
    padding: 30px 10%;
  }
}
@media only screen and (max-width: 768px) {
  body.page-template-products .parts-tabs .tab-list{
    gap: 0 5%;
  }
  body.page-template-products .parts-tabs .tab-list .tab-item{
    width: calc((100% - 5% - 5%) / 3);
    transform: scale(1);
  }
  body.page-template-products .parts-tabs .tab-list .tab-item:nth-of-type(2n){
    translate: 0;
    z-index: auto;
  }
  body.page-template-products .parts-tabs .tab-list .tab-item:nth-of-type(4),
  body.page-template-products .parts-tabs .tab-list .tab-item:nth-of-type(5){
    translate: 0 -25%;
    z-index: 2;
  }
  body.page-template-products .parts-tabs .tab-content ul.box li .bg .logomark{
    min-height: 50px;
  }
  body.page-template-products .parts-tabs .tab-content ul.box li .bg .logomark img{
    max-width: 100%;
  }
}
@media only screen and (max-width: 468px) {
  body.page-template-products .parts-tabs .tab-list{
    gap: 0 1.5%;
  }
  body.page-template-products .parts-tabs .tab-list .tab-item{
    width: calc((100% - 1.5% - 1.5%) / 3);
    transform: scale(1);
  }
  body.page-template-products .parts-tabs .tab-content ul.box {
    grid-template-columns: auto;
  }
  body.page-template-products .parts-tabs .tab-content ul.box li .bg{
    padding: 30px 10%;
  }
}

/* -----------
制御
------------*/
body.page-template-products .parts-tabs .tab-content .tab-panel {
    display: none;
}
body.page-template-products .parts-tabs .tab-content .tab-panel > p{
    text-align: center;
    padding-top: 2em;
}
body.page-template-products .parts-tabs .tab-content .tab-panel.active {
    display: block;
}
