.hinemos-case {
  background-color: var(--base-color);
}

/**************************************
◆Case-Firstview
**************************************/
.hinemos-case-firstview {
  background: url(../../img/webp/hinemos/bg_achieve01_pc.webp) no-repeat 0 100%/cover;
  padding: 138px 0 50px;
  margin-bottom: 30px;
}

@media screen and (max-width: 900px) {
  .hinemos-case-firstview {
    background: url(../../img/webp/hinemos/bg_achieve01_sp.webp) no-repeat 0 100%/cover;
    padding: 50px 0 20px;
    margin-bottom: 22px;
  }
}

.hinemos-case-firstview-title {
  margin-bottom: 60px;
}

@media screen and (max-width: 900px) {
  .hinemos-case-firstview-title {
    margin-bottom: 40px;
  }
}

.hinemos-case-firstview-title::before {
  left: 50.7%;
}

.hinemos-case-firstview-text {
  color: var(--accent-text-color);
  text-align: center;
  font-size: 15px;
  line-height: 2;
  letter-spacing: 0.9px;
}

@media screen and (max-width: 900px) {
  .hinemos-case-firstview-text {
    font-size: 13px;
    line-height: 1.75;
    letter-spacing: 0.7px;
  }
}

/**************************************
◆Case-Archive
**************************************/
.hinemos-case-categoryarea {
  margin-bottom: 45px;
}

.hinemos-case-categoryarea-title {
  padding: 50px 0 45px;
}

.hinemos-case-categories {
  display: flex;
  gap: 30px;
  justify-content: space-between;
}

@media screen and (max-width: 900px) {
  .hinemos-case-categories {
    flex-direction: column;
  }
}

.hinemos-case-category {
  max-width: 380px;
  width: 100%;
}

@media screen and (max-width: 900px) {
  .hinemos-case-category {
    max-width: none;
  }
}

.hinemos-category-head.is-case {
  position: relative;
  width: inherit;
  height: inherit;
  text-align: center;
  color: var(--sub-text-color);
  padding: 15px 20px;
  border: 1px solid #d4d3d3;
}

.hinemos-category-head.is-case.js-toggle-head::before,
.hinemos-category-head.is-case.js-toggle-head::after {
  right: 20px;
}

.hinemos-case-category-content {
  background-color: var(--sub-main-color);
}


.hinemos-case-archive-title {
  padding-top: 21px;
  padding-bottom: 21px;
  border-bottom: 1px solid var(--sub-main-color);
}

.hinemos-case-archivelist {
  display: grid;
  gap: 30px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 345px), 380px));
  justify-content: center;
  padding: 40px 0;
}

.hinemos-case-archivelist-item-link {
  display: flex;
  width: 100%;
  min-height: 345px;
  padding: 25px 25px 17px;
  border: 1px solid #D4D3D3;
  box-sizing: border-box;
}

@media screen and (max-width: 400px) {
  .hinemos-case-archivelist-item-link {
    padding: 20px;
  }
}

.hinemos-case-archivelist-item {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.hinemos-case-archivelist-item-eyecatch {
  width: 100%;
  height: 164px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 15px;
}

.hinemos-case-archivelist-item-eyecatch.bg-gray {
  background-color: var(--accent-color);
}

.hinemos-case-archivelist-item-eyecatch img {
  width: 100%;
  max-height: -webkit-fill-available;
}

.hinemos-case-archivelist-item-textarea {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: 0.7px;
}

.hinemos-case-archivelist-item-corpname {
  font-weight: var(--bold-font-weight);
}

.hinemos-case-archivelist-item-function {
  display: -webkit-box;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.hinemos-case-archivelist-item-function span {
  font-size: 14px;
  line-height: 1.1;
  padding: 2px;
  border-radius: 8px;
  background-color: var(--sub-main-color);
  display: inline-block;
  vertical-align: baseline;
  margin-bottom: 2px;
}

.hinemos-case-archivelist-item-title {
  font-weight: var(--bold-font-weight);
  font-size: 15px;
  margin: auto 0 0;
  height: 55px;
  display: -webkit-box;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  padding-top: 10px;
}

.hinemos-case-archive-no-post {
  font-size: 20px;
  margin: 40px 0;
}

/**************************************
◆Case-Single
**************************************/
.hinemos-case-single {
  margin: 110px 0;
}

@media screen and (max-width: 900px) {
  .hinemos-case-single {
    margin: 45px 0;
  }
}

.hinemos-case-single-termlist {
  color: #333333;
  font-size: 14px;
  line-height: 1.1;
  letter-spacing: 0.9px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

@media screen and (max-width: 900px) {
  .hinemos-case-single-termlist {
    font-size: 13px;
    letter-spacing: 0.7px;
    gap: 3px;
    margin-bottom: 8px;
  }
}

.hinemos-case-single-termlist-item {
  display: flex;
}

.hinemos-case-single-category-link {
  border: 1px solid #D4D3D3;
  padding: 5px 10px;
  transition: all 0.3s ease;
}

.is-parent {
  border: 2px solid #000000;
}

@media screen and (max-width: 900px) {
  .hinemos-case-single-category-link {
    padding: 4px 7px;
  }
}

.hinemos-case-single-category-link:hover {
  color: var(--accent-text-color);
  background-color: var(--main-color);
  border-color: var(--main-color);
}

.hinemos-case-single-title {
  font-size: 34px;
  padding-top: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #D4D3D3;
  box-sizing: border-box;
}

@media screen and (max-width: 900px) {
  .hinemos-case-single-title {
    font-size: 20px;
  }
}

.hinemos-case-single-eyecatch {
  width: 100%;
  margin: 20px 0;
  aspect-ratio: 2 / 1;
}

.hinemos-case-single-eyecatch.bg-gray {
  background-color: var(--accent-color);
}

.hinemos-case-single-eyecatch img {
  width: 100%;
  aspect-ratio: 2 / 1;
}

.hinemos-case-single-textarea {
  width: 100%;
  text-align: right;
  font-size: 20px;
  line-height: 1.5;
  letter-spacing: 0.7px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  margin-bottom: 20px;
}

@media screen and (max-width: 900px) {
  .hinemos-case-single-textarea {
    font-size: 15px;
  }
}

@media screen and (max-width: 767px) {
  .hinemos-case-single-textarea {
    text-align: left;
  }
}

.hinemos-case-single-corpname {
  font-weight: var(--bold-font-weight);
}

.hinemos-case-single-pointarea {
  font-size: 20px;
  line-height: 2;
  letter-spacing: 0.7px;
  border-top: 2px solid var(--main-color);
  border-bottom: 2px solid var(--main-color);
  padding: 15px 10px;
}

@media screen and (max-width: 900px) {
  .hinemos-case-single-pointarea {
    font-size: 15px;
    padding: 15px 5px;
  }
}

.hinemos-case-single-pointarea-title {
  text-align: center;
  max-width: 185px;
  width: 100%;
  border-radius: 8px;
  background-color: var(--sub-main-color);
  margin-bottom: 6px;
}

@media screen and (max-width: 767px) {
  .hinemos-case-single-pointarea-title {
    max-width: none;
  }
}

.hinemos-case-single-points {
  padding-left: 1em;
  text-indent: -1em;
}

.hinemos-single-content.is-case {
  font-size: 18px;
  line-height: 1.95;
  margin: 55px 0;
}

@media screen and (max-width: 900px) {
  .hinemos-single-content.is-case {
    font-size: 14px;
    margin: 40px 0;
  }
}

.hinemos-single-content.is-case h2 {
  font-weight: var(--bold-font-weight);
  font-size: 30px;
  line-height: 1.7;
  margin-bottom: 25px;
}

.hinemos-single-content.is-case h2 span {
  font-weight: var(--bold-font-weight);
}

.hinemos-single-content.is-case h3 {
  font-size: 26px;
  line-height: 1.7;
  margin-bottom: 25px;
  padding-left: 45px;
  position: relative;
}

.hinemos-single-content.is-case h3::before {
  position: absolute;
  content: '';
  width: 40px;
  height: 1px;
  top: 50%;
  left: 0;
  background-color: var(--text-color);
  box-sizing: border-box;
}

.hinemos-single-content.is-case h3.no-design {
  padding-left: 0;
}

.hinemos-single-content.is-case h3.no-design::before {
  content: none;
}

.hinemos-single-content.is-case p {
  margin-bottom: 45px;
}

@media screen and (max-width: 900px) {
  .hinemos-single-content.is-case h2 {
    font-size: 17px;
    margin-bottom: 10px;
  }

  .hinemos-single-content.is-case h3 {
    font-size: 16px;
    margin: 10px 0;
    padding-left: 35px;
  }

  .hinemos-single-content.is-case h3::before {
    width: 30px;
  }

  .hinemos-single-content.is-case p {
    margin-bottom: 35px;
  }
}