/**
 * お知らせ・導入事例ページ用スタイル
 * single.php / category-works.php で使用
 */

 .single-news{
	padding-top: 8rem;
}

@media screen and (max-width: 768px) {
  .single-news {
	padding-top: 5rem;
  }
}

.case-archive{
	padding-top: 8rem;
}

@media screen and (max-width: 768px) {
  .case-archive {
	padding-top: 5rem;
  }
}



/* ========================================
   single-news お知らせ・導入事例個別ページ
   ======================================== */
.single-news__block {
  padding-block: 5rem 7.5rem;
  background-color: #F6F7FA;
  overflow-x: hidden;
}
@media screen and (max-width: 768px) {
  .single-news__block {
    padding-block: 3rem 4rem;
  }
}

.single-news__inner {
  width: 100%;
  max-width: 62.5rem;
  margin-inline: auto;
  padding-inline: 2.5rem;
  overflow-x: hidden;
}
@media screen and (max-width: 768px) {
  .single-news__inner {
    max-width: 100%;
    padding-inline: 1rem;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
  }
}

.single-news__header {
  margin-bottom: 2.5rem;
}
.single-news__title {
  font-size: 2rem;
  font-weight: 900;
  line-height: 1.5;
  letter-spacing: 0.03em;
  color: #333333;
  margin-top: 0;
  margin-bottom: 0.5rem;
}
@media screen and (max-width: 768px) {
  .single-news__title {
    font-size: 1.5rem;
  }
}
.single-news__date {
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.03em;
  color: #666666;
}

.single-news__content {
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 1.8;
  letter-spacing: 0.03em;
  color: #333333;
  max-width: 100%;
  overflow-x: hidden;
  overflow-wrap: break-word;
  word-wrap: break-word;
}
.single-news__content > * {
  max-width: 100%;
}
.single-news__content p {
  margin-top: 0;
  margin-bottom: 1.5rem;
}
.single-news__content p:last-child {
  margin-bottom: 0;
}

/* 見出し（本文1.4remに対する比率） */
.single-news__content h2 {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.03em;
  color: #333333;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  padding: 1rem 1.25rem;
  background-color: rgba(33, 58, 201, 0.08);
  border-left: 4px solid #213AC9;
}
.single-news__content h2:first-child {
  margin-top: 0;
}
@media screen and (max-width: 768px) {
  .single-news__content h2 {
    font-size: 2rem;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    padding: 0.75rem 1rem;
    padding-left: 1rem;
    border-left-width: 3px;
  }
}

.single-news__content h3 {
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.03em;
  color: #333333;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  padding-left: 0.75rem;
  border-left: 3px solid #213AC9;
}
.single-news__content h3:first-child {
  margin-top: 0;
}
@media screen and (max-width: 768px) {
  .single-news__content h3 {
    font-size: 1.5rem;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    padding-left: 0.5rem;
    border-left-width: 2px;
  }
}

.single-news__content h4 {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.03em;
  color: #333333;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  padding-bottom: 0.25rem;
  border-bottom: 1px solid rgba(33, 58, 201, 0.3);
}
@media screen and (max-width: 768px) {
  .single-news__content h4 {
    font-size: 1.3rem;
    margin-top: 1.25rem;
  }
}

/* 画像・メディア・ブロック */
.single-news__content img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
  margin-top: 1rem;
  margin-bottom: 1.5rem;
}
.single-news__content iframe,
.single-news__content embed,
.single-news__content object,
.single-news__content video {
  max-width: 100%;
  width: 100%;
}
.single-news__content .wp-block-embed,
.single-news__content .wp-block-video,
.single-news__content .wp-block-embed__wrapper,
.single-news__content [class*="video"],
.single-news__content [class*="embed"],
.single-news__content [class*="maxvid"] {
  max-width: 100%;
  width: 100%;
}
.single-news__content .wp-block-cover,
.single-news__content .wp-block-group,
.single-news__content .wp-block-columns,
.single-news__content .alignwide,
.single-news__content .alignfull {
  max-width: 100%;
}
@media screen and (max-width: 768px) {
  .single-news__content .wp-block-columns {
    -webkit-flex-direction: column;
        -ms-flex-direction: column;
            flex-direction: column;
  }
  .single-news__content .wp-block-column {
    flex-basis: 100%;
  }
}
.single-news__content figure {
  margin-top: 1rem;
  margin-bottom: 1.5rem;
}
.single-news__content figure img {
  margin-top: 0;
  margin-bottom: 0;
}
.single-news__content figcaption {
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.03em;
  color: #666666;
  margin-top: 0.5rem;
}

/* リスト */
.single-news__content ul,
.single-news__content ol {
  margin-top: 1rem;
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}
.single-news__content ul {
  list-style: disc;
}
.single-news__content ol {
  list-style: decimal;
}
.single-news__content li {
  margin-bottom: 0.5rem;
}

/* リンク */
.single-news__content a {
  color: #213AC9;
  text-decoration: underline;
}
.single-news__content a:hover {
  opacity: 0.8;
}

/* 引用 */
.single-news__content blockquote {
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
  padding: 1rem 1.5rem;
  border-left: 4px solid #213AC9;
  background-color: rgba(33, 58, 201, 0.05);
  font-style: italic;
}

/* ========================================
   category-works 導入事例一覧ページ
   ======================================== */
.case__block--archive.case {
  width: 100%;
  max-width: none;
  text-align: center;
  padding-block: 120px;
  background-color: #F6F7FA;
}
@media screen and (max-width: 768px) {
  .case__block--archive.case {
    padding-block: 56px;
  }
}

.case__block--archive .case-title::after {
  content: "CASE";
  left: 30%;
  top: -100%;
}
@media screen and (max-width: 768px) {
  .case__block--archive .case-title::after {
    left: -8%;
    top: 40%;
    -webkit-transform: translateY(-50%) translateX(50%);
            transform: translateY(-50%) translateX(50%);
  }
}

.case__block--archive .case-inner {
  width: 100%;
  max-width: 1280px;
  padding-inline: 20px;
  margin-inline: auto;
}
@media screen and (max-width: 768px) {
  .case__block--archive .case-inner {
    max-width: 375px;
    padding-inline: 16px;
  }
}

.case__block--archive .case-wrapper {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  -webkit-column-gap: 40px;
     -moz-column-gap: 40px;
          column-gap: 40px;
  max-width: 1080px;
  margin-inline: auto;
  margin-top: 56px;
}
.case__block--archive .case-wrapper .case-box:nth-child(n+3) {
  margin-top: 40px;
}
@media screen and (max-width: 768px) {
  .case__block--archive .case-wrapper {
    margin-top: 24px;
    grid-template-columns: repeat(1, 1fr);
  }
  .case__block--archive .case-wrapper .case-box:nth-child(n+2) {
    margin-top: 16px;
  }
}

.case__block--archive .case-box {
  background-color: #fff;
  width: 100%;
  max-width: 520px;
  padding: 24px;
  display: grid;
  grid-template-rows: subgrid;
  grid-row: span 4;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  position: relative;
}
@media screen and (max-width: 768px) {
  .case__block--archive .case-box {
    max-width: 375px;
    padding: 16px;
  }
}
.case__block--archive .case-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0.0625rem;
  height: 100%;
  background: -webkit-gradient(linear, left top, left bottom, from(#00daf3), color-stop(51%, #1a2aa2), to(#09167f));
  background: linear-gradient(180deg, #00daf3 0%, #1a2aa2 51%, #09167f 100%);
}

.case__block--archive .case-blue {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: start;
      -ms-flex-pack: start;
          justify-content: flex-start;
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.5;
  text-align: left;
  color: #213AC9;
  gap: 0.75rem;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
@media screen and (max-width: 768px) {
  .case__block--archive .case-blue {
    font-size: 0.8125rem;
  }
}

.case__block--archive .case-plan {
  border-radius: 151px;
  width: 4.3125rem;
  height: 1.625rem;
  border: 1px solid #213ac9;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.5;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
@media screen and (max-width: 768px) {
  .case__block--archive .case-plan {
    font-size: 0.6875rem;
    height: 1.3125rem;
    width: 3.5625rem;
  }
}

.case__block--archive .case-item {
  font-size: 1.75rem;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 900;
  line-height: 1.5;
  letter-spacing: 0.03em;
  text-align: left;
  color: #333333;
  margin-top: 0.5rem;
}
@media screen and (max-width: 768px) {
  .case__block--archive .case-item {
    font-size: 1.125rem;
    line-height: 1.6;
    margin-top: 0.25rem;
  }
}

.case__block--archive .case-note {
  margin-top: 1.5rem;
  font-weight: 500;
  line-height: 1.8;
  letter-spacing: 0.03em;
  text-align: left;
}
@media screen and (max-width: 768px) {
  .case__block--archive .case-note {
    margin-top: 0.75rem;
  }
}

.case__block--archive .case-link a {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  margin-top: 2rem;
  font-size: 0.9375rem;
  font-weight: 700;
  color: #213AC9;
  letter-spacing: 0.03em;
  line-height: 1.5;
  -webkit-transition: background-color 0.3s ease;
  transition: background-color 0.3s ease;
}
@media screen and (max-width: 768px) {
  .case__block--archive .case-link a {
    font-size: 0.875rem;
    margin-top: 2rem;
  }
}

.case__block--archive .case-link .arrow {
  width: 1.25rem;
  margin-left: 0.75rem;
  aspect-ratio: 1/1;
  background: #213AC9;
  border: 1px solid #213AC9;
  border-radius: 3px;
  display: inline-block;
  position: relative;
  overflow: hidden;
  -webkit-transition: background-color 0.25s ease;
  transition: background-color 0.25s ease;
}

.case__block--archive .case-link .arrow::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-200%, -50%);
          transform: translate(-200%, -50%);
  width: 0.625rem;
  aspect-ratio: 10/8;
  -webkit-mask-image: url(../images/new/arrow-right.svg);
          mask-image: url(../images/new/arrow-right.svg);
  -webkit-mask-position: center center;
          mask-position: center center;
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
  -webkit-mask-size: contain;
          mask-size: contain;
  background-color: #213AC9;
  -webkit-transition: none;
  transition: none;
}

.case__block--archive .case-link .arrow::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  width: 0.625rem;
  aspect-ratio: 10/8;
  -webkit-mask-image: url(../images/new/arrow-right.svg);
          mask-image: url(../images/new/arrow-right.svg);
  -webkit-mask-position: center center;
          mask-position: center center;
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
  -webkit-mask-size: contain;
          mask-size: contain;
  background-color: #fff;
  -webkit-transition: none;
  transition: none;
}

.case__block--archive .case-btn a {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  padding: 16px;
  background: linear-gradient(180deg, #283ff1 0%, #0d21b9 100%);
  border-radius: 4px;
  width: 100%;
  max-width: 300px;
  height: auto;
  margin-inline: auto;
  margin-top: 56px;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.03em;
  color: #fff;
  text-align: center;
  -webkit-transition: opacity 0.3s ease;
  transition: opacity 0.3s ease;
  position: relative;
  text-decoration: none;
}
@media screen and (max-width: 768px) {
  .case__block--archive .case-btn a {
    max-width: 343px;
    margin-top: 8px;
    font-size: 18px;
  }
}

.case__block--archive .case-btn .arrow {
  width: 32px;
  aspect-ratio: 1/1;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
  position: absolute;
  top: 50%;
  right: 16px;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
  overflow: hidden;
  -webkit-transition: background-color 0.25s ease;
  transition: background-color 0.25s ease;
}

.case__block--archive .case-btn .arrow::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-200%, -50%);
          transform: translate(-200%, -50%);
  width: 16px;
  aspect-ratio: 16/13;
  -webkit-mask-image: url(../images/new/arrow-right.svg);
          mask-image: url(../images/new/arrow-right.svg);
  -webkit-mask-position: center center;
          mask-position: center center;
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
  -webkit-mask-size: contain;
          mask-size: contain;
  background-color: #213AC9;
  -webkit-transition: none;
  transition: none;
}

.case__block--archive .case-btn .arrow::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  width: 16px;
  aspect-ratio: 16/13;
  -webkit-mask-image: url(../images/new/arrow-right.svg);
          mask-image: url(../images/new/arrow-right.svg);
  -webkit-mask-position: center center;
          mask-position: center center;
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
  -webkit-mask-size: contain;
          mask-size: contain;
  background-color: #fff;
  -webkit-transition: none;
  transition: none;
}

@media (any-hover: hover) {
  .case__block--archive .case-btn a:hover .arrow::before {
    -webkit-transform: translate(-50%, -50%);
            transform: translate(-50%, -50%);
    -webkit-transition: -webkit-transform 0.3s ease;
    transition: transform 0.3s ease;
  }
  .case__block--archive .case-btn a:hover .arrow::after {
    -webkit-transform: translate(100%, -50%);
            transform: translate(100%, -50%);
    -webkit-transition: -webkit-transform 0.3s ease;
    transition: transform 0.3s ease;
  }
  .case__block--archive .case-btn a:hover .arrow {
    background: #fff;
  }
  .case__block--archive .case-btn a:hover .arrow::after {
    background-color: #213AC9;
  }
}

.case__empty {
  grid-column: 1 / -1;
  text-align: center;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.03em;
  color: #666666;
  padding: 32px;
}
