@charset "UTF-8";
.case {
  padding: 100px 0;
}

@media screen and (max-width: 768px) {
  .case {
    padding: 80px 0;
  }
}

.case-inner {
  width: 900px;
}

.case-contact .footer-contact {
  background: #fff;
}

.case-title {
  font-size: 40px;
  text-align: center;
}

@media screen and (max-width: 768px) {
  .case-title {
    font-size: 32px;
  }
}

.case-archive-list {
  font-weight: 500;
  color: #222;
  width: 1000px;
  max-width: 100%;
  margin: 40px auto 0;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.case-archive-list::after {
  content: "";
  display: block;
  width: calc(100% / 3 - 15px);
}

.case-archive-item {
  position: relative;
  width: calc(100% / 3 - 15px);
  background-color: #fff;
  border-radius: 30px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.12);
  overflow: hidden;
}

.case-archive-item:nth-child(n + 4) {
  margin-top: 20px;
}

.case-archive-item.hidden {
  display: none;
}

.case-archive-item a {
  color: #333;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0%;
}

.case-archive-card-img {
  min-height: 187px;
  object-fit: cover;
}

.case-archive-card-text-area {
  padding: 25px 20px;
  display: flex;
  flex-grow: 1;
  flex-direction: column;
}

.case-archive-card-title {
  color: #242424;
  font-size: 18px;
  font-weight: bold;
  padding-bottom: 0;
  line-height: 1.5;
}

.case-archive-card-tag {
  display: flex;
  gap: 5px;
  margin-top: 13px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.case-archive-card-tag-button {
  color: #fff;
  font-size: 12px;
  padding: 5px;
  background-color: #F58F00;
  border-radius: 3px;
  line-height: 1;
}

.case-archive-card-date {
  margin-top: auto;
  text-align: right;
  color: #333;
  font-size: 14px;
}

.case-more-button {
  background-color: transparent;
  border: none;
  cursor: pointer;
  outline: none;
  padding: 0;
  appearance: none;
  position: relative;
  display: block;
  width: 350px;
  height: 58px;
  padding: 0;
  margin: 30px auto 0;
  background: #000;
  color: #fff;
  font-size: 18px;
  font-family: YakuHanJP, 'Zen Maru Gothic', sans-serif;
  border-radius: 30px;
  text-align: center;
  line-height: 58px;
}

@media screen and (max-width: 768px) {
  .case-archive {
    padding: 30px 0;
  }
  .case-archive-title {
    font-size: 18px;
  }
  .case-archive-list {
    margin-top: 20px;
  }
  .case-archive-item {
    width: 100%;
  }
  .case-archive-item:not(:first-child) {
    margin-top: 20px;
  }
  .case-archive-item-thumb {
    position: relative;
  }
  .case-archive-item-thumb img {
    height: 50vw;
    object-fit: cover;
    min-height: 200px;
  }
  .case-archive-item-category {
    margin-top: 10px;
    font-size: 14px;
  }
  .case-archive-item-time {
    font-size: 12px;
  }
  .case-archive-item-title {
    font-size: 16px;
  }
  .case-archive-item-text {
    font-size: 14px;
  }
}

/*通信トップ
******************************/
.case {
  padding: 100px 0;
}

@media screen and (max-width: 768px) {
  .case {
    padding: 80px 0;
  }
}

.case-content {
  background: #fff;
  padding: 100px 0;
  border-radius: 20px;
}

@media screen and (max-width: 768px) {
  .case-content {
    padding: 60px 0;
  }
}

.case-inner {
  width: 740px;
  margin: auto;
  max-width: 100%;
  padding: 0 20px;
}

/*お知らせ下層
******************************/
.case-single-thumb {
  margin-bottom: 20px;
}

.case-single-title {
  font-size: 28px;
}

.case-single-category {
  display: flex;
  gap: 5px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.case-single-category-item {
  color: #fff;
  font-size: 12px;
  padding: 5px;
  background-color: #F58F00;
  border-radius: 3px;
  line-height: 1;
}

.case-single-date {
  display: block;
  margin-top: 10px;
  font-size: 16px;
  text-align: right;
}

.case-single-content {
  margin-top: 50px;
}

.case-single-content h1 {
  font-size: 36px;
}

.case-single-content h2 {
  margin: 40px 0 20px;
  color: #fff;
  background: #F58F00;
  font-size: 24px;
  padding: 20px;
  line-height: 1.5;
}

.case-single-content h3 {
  border-left: 4px solid #F58F00;
  border-bottom: 2px dashed #F58F00;
  font-size: 24px;
  padding: 10px 12px;
  margin-bottom: 20px;
  line-height: 1.5;
}

.case-single-content h4 {
  font-size: 20px;
}

.case-single-content h5 {
  font-size: 18px;
}

.case-single-content p {
  font-size: 16px;
  margin-bottom: 1.8em;
  letter-spacing: 0;
}

.case-single-content ul {
  padding-left: 17px;
}

.case-single-content li {
  font-size: 14px;
  list-style: disc;
}

.case-single-content figcaption {
  margin: 0;
  font-size: 0.7em;
  opacity: 0.8;
  padding: 0 6px;
  caption-side: bottom;
  display: table-caption;
  text-align: center;
}

.case-nav {
  margin-top: 60px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.case-nav-old,
.case-nav-new {
  width: 300px;
}

.case-nav-old a,
.case-nav-new a {
  background: #fff;
  border: solid 1px #cccccc;
  border-radius: 10px;
  position: relative;
  padding: 10px;
  line-height: 1;
  display: block;
  color: #666666;
  font-size: 12px;
  text-decoration: none;
}

.case-nav-old a {
  padding-left: 20px;
}

.case-nav-old a::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 13px;
  border-left: 1px solid #666666;
  border-bottom: 1px solid #666666;
  width: 6px;
  height: 6px;
  transform: rotate(45deg);
}

.case-nav-new a {
  padding-right: 20px;
}

.case-nav-new a::before {
  content: "";
  position: absolute;
  right: 6px;
  top: 13px;
  border-top: 1px solid #666666;
  border-right: 1px solid #666666;
  width: 6px;
  height: 6px;
  transform: rotate(45deg);
}

.case-notes {
  padding: 60px 0 0;
}

.case-notes-inner {
  background: #fff;
  border: 1px solid #cbcbcb;
  border-radius: 10px;
  padding: 20px 40px;
}

@media screen and (max-width: 768px) {
  .case-notes-inner {
    padding: 20px;
  }
}

.case-notes-title {
  font-size: 16px;
  text-align: center;
}

.case-notes-text {
  margin-top: 20px;
  font-size: 14px;
}

.case-notes-text a {
  color: #1558D6;
}

.case-notes-link {
  display: block;
  margin-top: 20px;
  color: #1558D6;
  font-size: 16px;
}
