/* ====== Noto Sans JP（自前サブセット） ====== */
@font-face{
  font-family:"Noto Sans JP";
  font-style:normal;
  font-weight:400;
  src:url("../fonts/NotoSansJP-Regular-subset.woff2") format("woff2");
  font-display:optional;
}
@font-face{
  font-family:"Noto Sans JP";
  font-style:normal;
  font-weight:500;
  src:url("../fonts/NotoSansJP-Medium-subset.woff2") format("woff2");
  font-display:optional;
}

@font-face{
  font-family:"Noto Sans JP";
  font-style:normal;
  font-weight:700;
  src:url("../fonts/NotoSansJP-Bold-subset.woff2") format("woff2");
  font-display:optional;
}

body {
  margin: 0;
  color: var(--black);
  line-height: 1.5;
  scroll-behavior: smooth;
  font-size: 14px;
  font-weight: 500;
}
header, footer {
  width: 100%!important;
}

.header-contents {
  padding: 1rem 3rem;
  max-width: unset;
  width: unset;
}

.header-contents .header-btn-area {
  width: unset;
  gap: 1rem;
}

.header-btn-area a {
  padding: 0.8rem 1rem;
}

.header-btn-area a:last-child {
  width: unset;
}

.header-btn-area a:first-child {
  width: unset;
}

.case_box {
  padding: 9rem 3rem 7.5rem;
  text-align: unset;
  max-width: 1440px;
  margin: auto;
}

.case_box h1 {
  font-size: 32px;
  margin-bottom: 2.5rem;
}

@media screen and (max-width: 768px) {
  .case_box {
    padding: 7rem 1.5rem;
  }

  .case_box h1 {
    font-size: 28px;
  }
}


.case_box p.intro {
  width: 49rem;
  font-weight: 500;
  margin-top: 1.5rem;
}

@media screen and (max-width: 768px) {
  .case_box p.intro {
    width: 100%;
  }
}

.article-items {
  display: grid;
  gap: 3rem 1.5rem;
  margin-top: 3rem;
  grid-template-columns: 1fr 1fr 1fr;
}

@media screen and (max-width: 768px) {
  .article-items {
    flex-direction: column;
    gap: 2.5rem;
    grid-template-columns: 1fr 1fr;
  }
}
@media screen and (max-width: 480px) {
  .article-items {
    grid-template-columns: 1fr;
  }
}

.article-item {
  width: 100%;
}

.article-item p {
  margin-top: 0.5rem;
}

/* article */
.case_box article {
  margin-bottom: 0;
  width: 900px;
  padding: 20px 20px 0;
}
article {
  padding: 120px 20px;
  margin: 0 auto 120px;
  background-color: #ffffff;
}

article .article-thum {
  margin-bottom: 30px;
}

article h2 {
  margin-bottom: 20px;
  font-size: 24px;
  color: var(--green);
  text-align: left;
}

article .case-info {
  padding: 10px;
  background-color: #ecf6fc;
  margin: 20px 0 50px;
}

article .case-info .case-info-label,
article .profile .case-info-label {
  font-family: var(----font-family-pr);
}
article .profile {
  border: double #ecf6fc 4px;
  padding: 10px;
  margin: 20px 0 50px;
}

article .profile .case-info-label {
  margin-top: 10px;
  display: block;
}
article .profile p:not(:last-child) {
  margin-bottom: 10px;
}
article .summary {
  margin-top: 30px;
}

article .summary-box {
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin-bottom: 30px;
}

.summary h4 {
  border-bottom: 2px solid #ecf6fc;
  border-left: 5px solid #ecf6fc;
  padding: 5px;
}

article .summary-img {
  width: 70px;
  text-align: center;
}

article .summary-img p {
  font-size: 12px;
  font-family: var(----font-family-pr);
  margin-top: 5px;
}

article .summary-box ul {
  width: 80%;
}

article .summary-box ul li {
  font-size: 14px;
  position: relative;
  padding-left: 15px;
  margin-bottom: 5px;
}
article .summary-box ul li::before {
  position: absolute;
  top: 8px;
  left: 4px;
  content: "";
  display: block;
  width: 6px;
  height: 6px;
  background: #000;
  margin: auto;
}

article .case-info a {
  text-decoration: underline;
}

article h3 {
  margin-bottom: 20px;
}
article h4 {
  margin-bottom: 10px;
}

article .case-wrapper {
  margin-bottom: 40px;
}
article .case-comment {
  display: flex;
  justify-content: left;
  align-items: flex-start;
  margin-bottom: 20px;
  position: relative;
}

article .case-comment label {
  position: absolute;
  z-index: 1;
  bottom: 0;
  width: 100%;
  height: 140px; /* グラデーションの高さ */
  cursor: pointer;
  text-align: center;
  /* 以下グラデーションは背景を自身のサイトに合わせて設定してください */
  background: linear-gradient(
    to bottom,
    rgba(250, 252, 252, 0) 0%,
    rgb(255 255 255 / 95%) 90%
  );
}

article .case-comment span {
  font-family: var(----font-family-pr);
  color: var(--green);
  font-size: 15px;
  min-width: 60px;
  font-weight: bold;
}

article .case-comment p span {
  color: #333333;
  font-family: var(----font-family-pr);
}

article .button-contact {
  margin: 0 auto 50px;
  border-radius: 0;
}

article .back-link {
  margin-top: 10px;
  text-align: center;
  text-decoration: underline;
  display: block;
}

article .article-image {
  margin: 0 auto 40px;
}

article .article-image .caption {
  margin-top: 10px;
  text-align: center;
}

article .case-close {
  margin-bottom: 30px;
}

article .case-close p {
  font-size: 18px;
  font-family: var(----font-family-pr);
  color: #120e6a;
  text-align: center;
}

article .writer {
  text-align: right;
  margin: 20px 0;
}

.case-wrapper h3 {
  font-size: 16px;
}

.case-comment p {
  margin-bottom: 15px;
}

.btn.back {
  display: block;
  width: 180px !important;
  padding: 1rem !important;
  margin: 0 auto;
  text-align: center;
  color: var(--white);
  font-size: 17px;
  font-weight: 700;
  border-radius: 50px;
  background-color: var(--green);
  transition: 0.3s;
}
.btn.back:hover {
  opacity: 0.8;
}
.stack_s *:not(:last-child){
  margin-bottom: 15px;
}

.mgt50px {
  margin-top: 50px;
}

footer {
  background: var(--gray);
}
footer .inner_box {
  /* max-width: 1050px; */
  margin: 0 auto;
}
footer .footer-area {
  gap: 14rem;
}
@media screen and (max-width: 1050px) {
  .case_box article {
    margin: 0 !important;
    width: 100%;
    padding: 0;
  }
  article h2 {
    font-size: var(--h3);
  }
  footer .footer-area {
    gap: 5rem;
  }
}

@media screen and (max-width: 750px) {
  article h2 {
    font-size: var(--h3);
  }
}
@media screen and (max-width: 420px) {
  article {
    width: 90%;
    margin: 0 auto 80px;
    padding: 60px 10px 60px;
  }
  article .summary-img {
    width: 50px;
  }
}
