@font-face {
  font-display: swap;
  font-style: normal;
  font-family: "Noto Sans JP Bold";
  src: url("../src/fonts/NotoSansJP-Bold.woff") format("woff");
}
@font-face {
  font-display: swap;
  font-style: normal;
  font-family: "Noto Sans JP Regular";
  src: url("../src/fonts/NotoSansJP-Regular.woff") format("woff");
}
@font-face {
  font-display: swap;
  font-style: normal;
  font-family: "Roboto bold";
  src: url("../src/fonts/Roboto-Bold.woff") format("woff");
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}
/* Article */
body {
  background-color: #f5f4ff;
  width: 100%;
}

header {
  width: 100%;
}

.case_box .form-box {
  width: 320px;
  position: relative;
}
.case_box {
  display: flex;
  width: 1050px;
  margin: 0 auto;
  justify-content: space-around;
  height: auto;
}
.case_box .form {
  background: #ffffff;
  padding: 10px;
  position: fixed;
  width: 300px;
}
.case_box .form p.title {
  font-size: 20px;
  text-align: center;
  font-family: Noto Sans JP Bold;
  margin-bottom: 10px;
}
.case_box article {
  margin-bottom: 0;
  width: 680px;
  padding: 40px 20px 100px;
}
article {
  width: 710px;
  padding: 120px 20px;
  margin: 0 auto 120px;
  background-color: #ffffff;
}

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

article .title {
  display: block;
  text-align: center;
  color: #120e6a;
  font-size: 28px;
  margin-bottom: 30px;
}
article h2 {
  font-size: 24px;
  margin-bottom: 20px;
  color: #120e6a;
  background: #120e6a !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent;
}

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: Noto Sans JP Bold;
}
article .profile {
  border: double #ecf6fc 4px;
  padding: 10px;
  margin: 20px 0 50px;
}

article .profile .case-info-label {
  margin-top: 10px;
  display: block;
}

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: Noto Sans JP Bold;
  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-comment {
  display: flex;
  justify-content: left;
  align-items: flex-start;
  margin-bottom: 50px;
  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: Noto Sans JP Bold;
  color: #120e6a;
  min-width: 60px;
}

article .case-comment p span {
  color: #333333;
  font-family: Noto Sans JP Bold;
}

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 30px;
}

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: Noto Sans JP Bold;
  color: #120e6a;
  text-align: center;
}

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

.sticky-form {
  position: fixed;
  width: 300px;
  background-color: white;
  padding: 10px;
}

.hs-form-field label {
  font-size: 14px;
  width: 130px;
  color: #33475b;
  display: block;
  float: none;
  width: auto;
  font-weight: 500;
  line-height: 20px;
  padding-top: 0;
  margin-bottom: 0px;
  margin-top: 10px;
}
.hs-form-field label span {
  font-size: 12px;
  color: #111111;
  font-weight: 600;
}
.hs-form-field label span.hs-form-required {
  color: red;
}
.input input {
  box-sizing: border-box;
  padding: 0 15px;
  min-height: 27px;
  width: 100%;
  max-width: 100%;
  margin-right: 0 !important;
  width: 100% !important;
  -webkit-appearance: none;
  -moz-appearance: none;
}
.hs-input:not([type="file"]) {
  background-color: #f5f8fa;
}

.hs-input[type="file"] {
  background-color: #f5f8fa;
  border: none;
  padding: 0;
}

.hs-input {
  display: inline-block;
  width: 100%;
  height: 36px;
  padding: 9px 10px;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 14px;
  font-weight: normal;
  line-height: 22px;
  color: #33475b;
  border: 1px solid #cbd6e2;
  box-sizing: border-box;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  -ms-border-radius: 3px;
  border-radius: 3px;
}
.hs-richtext p {
  color: #111111;
  font-size: 12px;
}
.hs-richtext p a {
  color: #120e6a;
  text-decoration: underline;
}
.actions input {
  background: #c91623;
  border-color: #c91623;
  color: #ffffff;
  font-size: 14px;
  line-height: 14px;
  margin: 1.2vw auto 0.2vw;
  cursor: pointer;
  display: block;
  font-weight: bold;
  line-height: 12px;
  position: relative;
  text-align: center;
  transition: all 0.15s linear;
  color: #fff;
  border-style: solid;
  border-width: 1px;
  font-size: 14px;
  padding: 12px 24px;
}
legend.hs-field-desc {
  font-family: Noto Sans JP;
  color: #7c98b6;
  font-size: 11px;
}
.hs-input[type="file"] {
  background-color: #fff !important;
}
input.hs-input.error,
div.field.error input,
div.field.error textarea,
div.field.error .chzn-choices,
textarea.hs-input.error,
select.hs-input.error {
  border-color: #c87872;
}
.hs-error-msgs label {
  color: #f2545b;
}
.download-button {
  font-size: 13px;
  margin: 0 auto 10px;
  display: block;
  width: fit-content;
  color: #e74191;
  border-bottom: 1px solid;
}
.hs-richtext {
  font-size: 13px;
  text-align: center;
}
.hs-richtext div {
  margin-top: 5px;
}
.hs-richtext a {
  color: #0000ee;
  border-bottom: 1px solid;
}
.hs-richtext h1 {
  font-size: 20px;
  background: none;
}

@media screen and (max-width: 1050px) {
  .case_box .form-box {
    width: 100%;
  }
  .case_box {
    display: inherit;
    width: inherit;
    margin: -50px auto;
  }
  .case_box article {
    margin: 0 auto !important;
    width: 90%;
  }
  .case_box .form {
    position: inherit;
    width: 90%;
    margin: 30px auto;
    padding: 30px 10px;
    background: #ffffff;
  }
  .sticky-form.Forpc {
    display: none;
  }
  .Forsp {
    display: block;
  }
}

@media screen and (max-width: 750px) {
  .Forpc {
    display: none;
  }
  article {
    width: 90% !important;
  }
  .content-sp {
    display: block;
  }
  .fixed-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 10000;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    width: 100%;
    padding: 10px 0;
    background-color: #ffffffc9;
  }

  .fixed-footer .button-freelance {
    display: block;
    color: #120e6a;
    font-size: 12px;
    font-family: Noto Sans JP Bold;
    text-align: center;
    margin-right: 10px;
    padding: 15px;
    border: 1px solid #120e6a;
    border-radius: 4px;
    background-color: #fff;
    width: 38%;
  }

  .fixed-footer .button-contact {
    display: block;
    width: 38%;
    color: #fff;
    font-size: 12px;
    font-family: Noto Sans JP Bold;
    text-align: center;
    padding: 15px;
    border-radius: 4px;
    border: 1px solid;
    background-color: #363089;
  }

  .fixed-footer .button-contact:hover {
    color: #ffffff;
    border: none;
  }

  .header-sp .header__inner {
    justify-content: center;
  }
  .case_box {
    display: inherit;
    width: inherit;
    margin: -50px auto;
  }
  .case_box article {
    margin: 0 auto !important;
    width: 90%;
    padding: 60px 10px;
  }
  article h2 {
    font-size: 20px;
  }
  .case_box .form {
    width: 90%;
    margin: 30px auto;
    padding: 30px 10px;
  }
  .fixed-footer-download {
    bottom: 88px;
    display: block !important;
  }
  .fixed-footer-download a {
    font-size: 14px !important;
  }
}

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

.button-contact {
  border: 1px solid #363089;
  background-color: #363089;
}

.button-contact:hover {
  border: 1px solid #363089;
  color: #363089;
}

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

.header-btn-area a {
  text-decoration-line: none !important;
  width: 150px !important;
  font-size: 0.75rem;
}

.header-btn-area a:first-child {
  background: #363089 !important;
}

.header__inner {
  padding: 1rem;
  display: flex;
  justify-content: center;
}

.header-logo {
  width: 200px;
}

/* Video Case Section */
.case_box .inner_box {
  padding: 40px 5% 100px;
  background-color: #ffffff;
  margin: 0 auto;
  max-width: 900px;
  min-width: 380px;
}

.case_box .inner_box h2 {
  margin-bottom: 20px;
  color: #363089 !important;
  background: none !important;
  -webkit-background-clip: unset !important;
  -webkit-text-fill-color: unset !important;
  background-clip: unset !important;
}

.case_box .inner_box .video-container {
  max-width: 800px;
  margin: 40px auto 0;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.case_box .inner_box .video-container video {
  display: block;
  width: 100%;
  height: auto;
}
.case_box .case_text {
  margin-block: 30px;
  font-size: 16px;
}

.case_box .inner_box .case-close {
  margin: 80px 0 30px;
  text-align: center;
}

.case_box .inner_box .case-close h3 {
  font-size: 24px;
  font-family: Noto Sans JP Bold;
  color: #363089;
  margin-bottom: 30px;
  text-align: center;
}

.case_box .inner_box .case-close .case-links {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 30px;
  padding: 0 clamp(20px, 4vw, 40px);
  flex-wrap: wrap;
}

.case_box .inner_box .case-close .case-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  background-color: #ffffff;
  border: 2px solid #363089;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
  min-width: clamp(150px, 20vw, 200px);
  position: relative;
}

.case_box .inner_box .case-close .case-link:hover {
  background-color: #ffffff;
}

.case_box .inner_box .case-close .case-link .case-title {
  font-size: 16px;
  font-family: Noto Sans JP Bold;
  color: #363089;
  text-align: center;
  transition: color 0.3s ease;
}

.case_box .inner_box .case-close .case-link:hover .case-title {
  color: #363089;
}

.case_box .inner_box .button-contact {
  margin: 0 auto 30px;
  border-radius: 0;
  display: block;
  width: fit-content;
}

.case_box .inner_box .back-link {
  width: 130px;
  margin: auto;
  margin-top: 20px;
  text-align: center;
  text-decoration: underline;
  display: block;
  color: #363089;
}

/* レスポンシブ対応 */
@media screen and (max-width: 768px) {
  section.case_box .inner_box {
    width: 100% !important;
    max-width: 100% !important;
    padding: 60px 0 100px !important;
    margin: 0 !important;
  }

  .case_box {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
  }

  .case_box .inner_box .video-container {
    margin: 20px !important;
  }

  .case_box .inner_box .case-close .case-links {
    flex-direction: column;
    align-items: center;
    gap: 15px;
    padding: 0 20px;
  }

  .case_box .inner_box .case-close .case-link {
    width: 100%;
    max-width: 250px;
    min-width: auto;
    padding: 15px 30px;
  }

  .case_box .inner_box .case-close h3 {
    font-size: 20px;
  }
}
