@import url('https://fonts.googleapis.com/css2?family=BIZ+UDPGothic:wght@400;700&display=swap');
/* 相談事例ページ CSS — Figma/Anima 由来。'.a' を '.case-page' にスコープ化。画像は ../images/case/。#2383 */
:root {
  --white: rgba(255, 255, 255, 1);
  --cloud-burst: rgba(31, 48, 71, 1);
  --BIZ-udpgothic-regular-font-family: "BIZ UDPGothic", Helvetica;
  --BIZ-udpgothic-regular-font-weight: 400;
  --BIZ-udpgothic-regular-font-size: 16.299999237060547px;
  --BIZ-udpgothic-regular-letter-spacing: 0px;
  --BIZ-udpgothic-regular-line-height: 30.190000534057617px;
  --BIZ-udpgothic-regular-font-style: normal;
  --semantic-heading-2-font-family: "BIZ UDPGothic", Helvetica;
  --semantic-heading-2-font-weight: 700;
  --semantic-heading-2-font-size: 24px;
  --semantic-heading-2-letter-spacing: 0px;
  --semantic-heading-2-line-height: 44.400001525878906px;
  --semantic-heading-2-font-style: normal;
  --BIZ-udpgothic-bold-font-family: "BIZ UDPGothic", Helvetica;
  --BIZ-udpgothic-bold-font-weight: 700;
  --BIZ-udpgothic-bold-font-size: 14.699999809265137px;
  --BIZ-udpgothic-bold-letter-spacing: 0px;
  --BIZ-udpgothic-bold-line-height: 27.229999542236328px;
  --BIZ-udpgothic-bold-font-style: normal;
  --semantic-link-underline-font-family: "BIZ UDPGothic", Helvetica;
  --semantic-link-underline-font-weight: 400;
  --semantic-link-underline-font-size: 13.800000190734863px;
  --semantic-link-underline-letter-spacing: 0px;
  --semantic-link-underline-line-height: 26.139999389648438px;
  --semantic-link-underline-font-style: normal;
  --semantic-link-font-family: "BIZ UDPGothic", Helvetica;
  --semantic-link-font-weight: 700;
  --semantic-link-font-size: 16px;
  --semantic-link-letter-spacing: 0px;
  --semantic-link-line-height: 29.600000381469727px;
  --semantic-link-font-style: normal;
  --variable-collection-green-grad: rgba(63, 175, 53, 1);
  --bg-beige: rgba(251, 247, 238, 1);
  --gray-80: rgba(128, 128, 128, 1);
  --gray-3f: rgba(63, 63, 63, 1);
  --blue: rgba(2, 99, 181, 1);
  --sub-green: rgba(22, 163, 74, 1);
  --bg-mosgreen: rgba(245, 248, 238, 1);
  --sub-yellow: rgba(255, 227, 172, 1);
  --primary-orange: rgba(240, 141, 24, 1);
  --html-to-design-item-spacing-10: 10px;
  --html-to-design-width-42: 42px;
  --html-to-design-color-orange-84: rgba(227, 220, 203, 1);
  --html-to-design-item-spacing-s: 24px;
  --html-to-design-item-spacing-22: 22px;
  --html-to-design-item-spacing-7: 7px;
  --html-to-design-width-960: 960px;
  --html-to-design-color-white-solid: rgba(255, 255, 255, 1);
  --html-to-design-color-azure-20-2: rgba(43, 51, 61, 1);
  --html-to-design-color-azure-42: rgba(23, 105, 192, 1);
  --html-to-design-item-spacing-11-46: 11.460000038146973px;
  --html-to-design-color-grey-46: rgba(107, 116, 128, 1);
  --colors-backgrounds-primary: rgba(255, 255, 255, 1);
}
.case-page, .case-page * { box-sizing: border-box; }
.case-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  background-color: var(--bg-beige);
}

.case-page .frame {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  position: relative;
  align-self: stretch;
  width: 100%;
  flex: 0 0 auto;
  background-color: var(--bg-mosgreen);
}

.case-page .nav {
  flex-direction: column;
  align-items: flex-start;
  padding: 10px 0px 10px 16px;
  display: flex;
  width: 1000px;
  position: relative;
  flex: 0 0 auto;
}

.case-page .link {
  display: flex;
  width: fit-content;
  margin-top: -1px;
  font-family: "BIZ UDPGothic", Helvetica;
  font-weight: 400;
  color: var(--gray-80);
  font-size: 12px;
  letter-spacing: 0;
  line-height: 23px;
  white-space: nowrap;
  position: relative;
  align-items: center;
}

.case-page .FV {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 32px 200px;
  position: relative;
  align-self: stretch;
  width: 100%;
  flex: 0 0 auto;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 1) 0%,
    rgba(251, 247, 238, 1) 100%
  );
}

.case-page .div {
  display: flex;
  flex-direction: column;
  width: 1000px;
  align-items: flex-start;
  gap: 20px;
  position: relative;
  flex: 0 0 auto;
}

.case-page .frame-2 {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 20px;
  position: relative;
  align-self: stretch;
  width: 100%;
  flex: 0 0 auto;
}

.case-page .div-wrapper {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  flex: 0 0 auto;
}

.case-page .text-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  align-self: stretch;
  margin-top: -1px;
  font-family: "BIZ UDPGothic", Helvetica;
  font-weight: 700;
  color: var(--gray-3f);
  font-size: 32px;
  letter-spacing: 1px;
  line-height: 32px;
}

.case-page .case-data {
  display: inline-flex;
  flex-wrap: wrap;
  height: 20px;
  align-items: flex-end;
  gap: var(--html-to-design-item-spacing-22);
  padding: 4.01px 0px 0px;
  position: relative;
}

.case-page .paragraph {
  align-items: flex-end;
  margin-top: -5.01px;
  display: inline-flex;
  position: relative;
  flex: 0 0 auto;
}

.case-page .text-wrapper-2 {
  width: 49px;
  height: 21px;
  margin-top: -1px;
  color: #f08d18;
  font-size: 24px;
  line-height: 24px;
  position: relative;
  display: flex;
  align-items: center;
  font-family: "BIZ UDPGothic", Helvetica;
  font-weight: 700;
  letter-spacing: 0;
  white-space: nowrap;
}

.case-page .text-wrapper-3 {
  position: relative;
  display: flex;
  align-items: center;
  width: 91px;
  font-family: "BIZ UDPGothic", Helvetica;
  font-weight: 400;
  color: var(--gray-80);
  font-size: 15px;
  letter-spacing: 0;
  line-height: 15px;
}

.case-page .paragraph-2 {
  align-items: flex-end;
  margin-top: -0.01px;
  display: inline-flex;
  position: relative;
  flex: 0 0 auto;
}

.case-page .text-wrapper-4 {
  font-weight: 400;
  color: var(--gray-80);
  font-size: 15px;
  line-height: 15px;
  position: relative;
  display: flex;
  align-items: center;
  width: fit-content;
  font-family: "BIZ UDPGothic", Helvetica;
  letter-spacing: 0;
  white-space: nowrap;
}

.case-page .text-wrapper-5 {
  position: relative;
  display: flex;
  align-items: center;
  width: 135px;
  height: 16px;
  margin-top: -1px;
  font-family: "BIZ UDPGothic", Helvetica;
  font-weight: 700;
  color: #f08d18;
  font-size: 18px;
  letter-spacing: 0;
  line-height: 31px;
  white-space: nowrap;
}

.case-page .text-wrapper-6 {
  align-self: stretch;
  color: var(--gray-3f);
  font-size: var(--BIZ-udpgothic-regular-font-size);
  line-height: var(--BIZ-udpgothic-regular-line-height);
  position: relative;
  font-family: var(--BIZ-udpgothic-regular-font-family);
  font-weight: var(--BIZ-udpgothic-regular-font-weight);
  letter-spacing: var(--BIZ-udpgothic-regular-letter-spacing);
  font-style: var(--BIZ-udpgothic-regular-font-style);
}

.case-page .section-AICTA {
  align-items: center;
  padding: 32px 200px;
  background: linear-gradient(
    0deg,
    rgba(255, 255, 255, 1) 0%,
    rgba(255, 255, 255, 1) 100%
  );
  display: flex;
  flex-direction: column;
  position: relative;
  align-self: stretch;
  width: 100%;
  flex: 0 0 auto;
  background-color: var(--white);
}

.case-page .kadai {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  align-self: stretch;
  width: 100%;
  flex: 0 0 auto;
  border-radius: 8px;
}

.case-page .common-ttl {
  align-items: center;
  gap: 12px;
  padding: 0px 0px 12px;
  display: flex;
  position: relative;
  align-self: stretch;
  width: 100%;
  flex: 0 0 auto;
}

.case-page .common-ttl-txt {
  padding: 0px 0px 0px 16px;
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  flex: 0 0 auto;
}

.case-page .background {
  position: absolute;
  height: calc(100% - 10px);
  top: 5px;
  left: 0;
  width: 5px;
  background-color: #f08d18;
  border-radius: 3px;
}

.case-page .text-wrapper-7 {
  display: flex;
  align-items: center;
  width: fit-content;
  margin-top: -1px;
  font-weight: var(--semantic-heading-2-font-weight);
  color: var(--gray-3f);
  font-size: var(--semantic-heading-2-font-size);
  line-height: var(--semantic-heading-2-line-height);
  white-space: nowrap;
  position: relative;
  font-family: var(--semantic-heading-2-font-family);
  letter-spacing: var(--semantic-heading-2-letter-spacing);
  font-style: var(--semantic-heading-2-font-style);
}

.case-page .kadai-list {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 0px 32px 20px 18px;
  position: relative;
  align-self: stretch;
  width: 100%;
  flex: 0 0 auto;
}

.case-page .kadai-list-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(2, fit-content(100%));
  height: fit-content;
  gap: 12px;
}

.case-page .kadai-list-item {
  grid-row: 1 / 2;
  grid-column: 1 / 2;
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 12px 16px;
  background-color: var(--white);
  border-radius: 8px;
  border: 1px solid;
  border-color: #e3dccb;
}

.case-page .icon-check {
  background-image: url(../images/case/vector-5.svg);
  position: relative;
  width: 20px;
  height: 20px;
  background-size: 100% 100%;
}

.case-page .vector {
  position: absolute;
  top: 5px;
  left: 2px;
  width: 15px;
  height: 11px;
}

.case-page .kadai-list-item-txt {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  position: relative;
  flex: 0 0 auto;
}

.case-page .text-wrapper-8 {
  display: flex;
  align-items: center;
  width: fit-content;
  margin-top: -1px;
  font-weight: 700;
  color: var(--gray-3f);
  font-size: 18px;
  line-height: 18px;
  white-space: nowrap;
  position: relative;
  font-family: "BIZ UDPGothic", Helvetica;
  letter-spacing: 0;
}

.case-page .kadai-list-item-2 {
  grid-row: 1 / 2;
  grid-column: 2 / 3;
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 12px 16px;
  background-color: var(--white);
  border-radius: 8px;
  border: 1px solid;
  border-color: #e3dccb;
}

.case-page .kadai-list-item-3 {
  grid-row: 2 / 3;
  grid-column: 1 / 2;
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 12px 16px;
  background-color: var(--white);
  border-radius: 8px;
  border: 1px solid;
  border-color: #e3dccb;
}

.case-page .kadai-list-item-4 {
  grid-row: 2 / 3;
  grid-column: 2 / 3;
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 12px 16px;
  background-color: var(--white);
  border-radius: 8px;
  border: 1px solid;
  border-color: #e3dccb;
}

.case-page .div-2 {
  display: flex;
  flex-direction: column;
  align-items: center;
  align-self: stretch;
  width: 100%;
  position: relative;
  flex: 0 0 auto;
}

.case-page .link-2 {
  display: inline-flex;
  gap: var(--html-to-design-item-spacing-10);
  padding: 20px 40px;
  flex: 0 0 auto;
  background-color: #f08d18;
  border-radius: 40px;
  box-shadow: 0px 2px 14px #1f30470f;
  position: relative;
  align-items: center;
}

.case-page .text-wrapper-9 {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  font-family: "BIZ UDPGothic", Helvetica;
  font-weight: 700;
  color: var(--white);
  font-size: 16px;
  text-align: center;
  letter-spacing: 0;
  line-height: 16px;
  white-space: nowrap;
}

.case-page .img {
  position: relative;
  width: 18px;
  height: 18px;
}

.case-page .frame-3 {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 40px 0px;
  position: relative;
  flex: 0 0 auto;
}

.case-page .common-ttl-2 {
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 12px;
  padding: 0px 0px 12px;
  display: flex;
  position: relative;
  align-self: stretch;
  width: 100%;
  flex: 0 0 auto;
}

.case-page .text-wrapper-10 {
  display: flex;
  align-items: center;
  align-self: stretch;
  font-weight: 400;
  color: var(--gray-80);
  font-size: 15px;
  line-height: 24.6px;
  position: relative;
  font-family: "BIZ UDPGothic", Helvetica;
  letter-spacing: 0;
}

.case-page .case-list {
  display: flex;
  flex-direction: column;
  width: 1000px;
  align-items: flex-start;
  gap: 37px;
  position: relative;
  flex: 0 0 auto;
}

.case-page .case-list-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  align-self: stretch;
  width: 100%;
  flex: 0 0 auto;
  background-color: var(--white);
  border-radius: 8px;
  box-shadow: 0px 4px 8px #d4bb9c8c;
}

.case-page .case-list-cont {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 28px 0px;
  position: relative;
  align-self: stretch;
  width: 100%;
  flex: 0 0 auto;
}

.case-page .category-list {
  display: inline-flex;
  flex-wrap: wrap;
  height: 30px;
  align-items: flex-start;
  justify-content: flex-end;
  gap: var(--html-to-design-item-spacing-7);
  position: relative;
}

.case-page .category {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 8px 12px;
  position: relative;
  flex: 0 0 auto;
  background-color: var(--white);
  border-radius: 6px;
  border: 1px solid;
  border-color: var(--blue);
}

.case-page .text-wrapper-11 {
  display: flex;
  align-items: center;
  width: fit-content;
  font-weight: 700;
  color: var(--blue);
  font-size: 12px;
  line-height: 12px;
  white-space: nowrap;
  position: relative;
  font-family: "BIZ UDPGothic", Helvetica;
  letter-spacing: 0;
}

.case-page .case-soudan {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 16px;
  position: relative;
  align-self: stretch;
  width: 100%;
  flex: 0 0 auto;
  background-color: #f5f5f5;
  border-radius: 8px;
}

.case-page .div-3 {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  position: relative;
  flex: 0 0 auto;
}

.case-page .element {
  position: relative;
  width: 48px;
  height: 34px;
}

.case-page .text-wrapper-12 {
  position: relative;
  display: flex;
  align-items: center;
  width: fit-content;
  margin-top: -1px;
  font-family: "BIZ UDPGothic", Helvetica;
  font-weight: 700;
  color: var(--gray-3f);
  font-size: 24px;
  letter-spacing: 0;
  line-height: 28.8px;
  white-space: nowrap;
}

.case-page .case-soudan-txt {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  align-self: stretch;
  width: 100%;
  flex: 0 0 auto;
}

.case-page .text-wrapper-13 {
  display: flex;
  align-items: center;
  align-self: stretch;
  margin-top: -1px;
  font-weight: 400;
  color: var(--gray-3f);
  font-size: 16px;
  line-height: 25.9px;
  position: relative;
  font-family: "BIZ UDPGothic", Helvetica;
  letter-spacing: 0;
}

.case-page .case-result {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  position: relative;
  align-self: stretch;
  width: 100%;
  flex: 0 0 auto;
}

.case-page .img-comment-man {
  display: flex;
  flex-direction: column;
  width: 138px;
  height: 128px;
  align-items: flex-start;
  position: relative;
}

.case-page .pixta-l {
  position: relative;
  width: 138px;
  height: 128px;
  aspect-ratio: 1.08;
}

.case-page .frame-4 {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 10px;
  padding: 0px 0px 12px;
  position: relative;
  flex: 1;
  flex-grow: 1;
}

.case-page .partner {
  display: inline-flex;
  align-items: flex-start;
  position: relative;
  flex: 0 0 auto;
}

.case-page .text-wrapper-14 {
  display: flex;
  align-items: center;
  width: fit-content;
  margin-top: -1px;
  font-weight: 700;
  color: var(--gray-3f);
  font-size: 13.1px;
  line-height: 24.3px;
  white-space: nowrap;
  position: relative;
  font-family: "BIZ UDPGothic", Helvetica;
  letter-spacing: 0;
}

.case-page .text-wrapper-15 {
  display: flex;
  align-items: center;
  align-self: stretch;
  margin-top: -1px;
  font-weight: var(--semantic-link-underline-font-weight);
  color: var(--blue);
  font-size: var(--semantic-link-underline-font-size);
  line-height: var(--semantic-link-underline-line-height);
  text-decoration: underline;
  position: relative;
  font-family: var(--semantic-link-underline-font-family);
  letter-spacing: var(--semantic-link-underline-letter-spacing);
  font-style: var(--semantic-link-underline-font-style);
}

.case-page .search-pro {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 11px 0px;
  position: relative;
  align-self: stretch;
  width: 100%;
  flex: 0 0 auto;
  background-color: var(--sub-yellow);
  border-radius: 0px 0px 8px 8px;
}

.case-page .btn-search-pro {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 16px 32px;
  position: relative;
  flex: 0 0 auto;
  background-color: var(--white);
  border-radius: 36px;
  box-shadow: 0px 2px 0px #f08d18;
}

.case-page .text-wrapper-16 {
  display: flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  margin-top: -0.14px;
  font-weight: 700;
  color: var(--gray-3f);
  font-size: 16px;
  text-align: center;
  line-height: 16px;
  white-space: nowrap;
  position: relative;
  font-family: "BIZ UDPGothic", Helvetica;
  letter-spacing: 0;
}

.case-page .vector-2 {
  position: relative;
  width: 18.18px;
  height: 17.72px;
}

.case-page .nav-2 {
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--html-to-design-item-spacing-7);
  padding: 20px 0px 0px;
  display: flex;
  width: 1000px;
  position: relative;
  flex: 0 0 auto;
}

.case-page .background-border {
  display: inline-flex;
  flex-direction: column;
  min-width: var(--html-to-design-width-42);
  height: 42px;
  align-items: center;
  justify-content: center;
  padding: 7.07px 6px 7.93px;
  position: relative;
  flex: 0 0 auto;
  background-color: var(--white);
  border-radius: 9px;
  border: 1px solid;
  border-color: #e3dccb;
  opacity: 0.4;
}

.case-page .text-wrapper-17 {
  justify-content: center;
  font-weight: 700;
  color: var(--gray-3f);
  font-size: 13.4px;
  text-align: center;
  line-height: 24.9px;
  position: relative;
  display: flex;
  align-items: center;
  width: fit-content;
  font-family: "BIZ UDPGothic", Helvetica;
  letter-spacing: 0;
  white-space: nowrap;
}

.case-page .background-border-2 {
  display: inline-flex;
  flex-direction: column;
  min-width: var(--html-to-design-width-42);
  height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0px 15.36px;
  position: relative;
  flex: 0 0 auto;
  background-color: #f08d18;
  border-radius: 9px;
  border: 1px solid;
}

.case-page .text-wrapper-18 {
  justify-content: center;
  width: fit-content;
  color: var(--white);
  font-size: var(--BIZ-udpgothic-bold-font-size);
  text-align: center;
  line-height: var(--BIZ-udpgothic-bold-line-height);
  position: relative;
  display: flex;
  align-items: center;
  font-family: var(--BIZ-udpgothic-bold-font-family);
  font-weight: var(--BIZ-udpgothic-bold-font-weight);
  letter-spacing: var(--BIZ-udpgothic-bold-letter-spacing);
  white-space: nowrap;
  font-style: var(--BIZ-udpgothic-bold-font-style);
}

.case-page .link-3 {
  display: inline-flex;
  flex-direction: column;
  min-width: var(--html-to-design-width-42);
  height: 42px;
  justify-content: center;
  padding: 0px 14.4px 0px 14.41px;
  flex: 0 0 auto;
  background-color: var(--white);
  border-radius: 9px;
  border: 1px solid;
  border-color: #e3dccb;
  position: relative;
  align-items: center;
}

.case-page .text-wrapper-19 {
  justify-content: center;
  width: fit-content;
  color: var(--gray-3f);
  font-size: var(--BIZ-udpgothic-bold-font-size);
  text-align: center;
  line-height: var(--BIZ-udpgothic-bold-line-height);
  position: relative;
  display: flex;
  align-items: center;
  font-family: var(--BIZ-udpgothic-bold-font-family);
  font-weight: var(--BIZ-udpgothic-bold-font-weight);
  letter-spacing: var(--BIZ-udpgothic-bold-letter-spacing);
  white-space: nowrap;
  font-style: var(--BIZ-udpgothic-bold-font-style);
}

.case-page .container {
  display: inline-flex;
  flex-direction: column;
  min-width: var(--html-to-design-item-spacing-s);
  height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0px 6px;
  border-radius: 9px;
  position: relative;
  flex: 0 0 auto;
}

.case-page .text-wrapper-20 {
  display: flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  font-weight: var(--BIZ-udpgothic-bold-font-weight);
  color: var(--gray-80);
  font-size: var(--BIZ-udpgothic-bold-font-size);
  text-align: center;
  line-height: var(--BIZ-udpgothic-bold-line-height);
  white-space: nowrap;
  position: relative;
  font-family: var(--BIZ-udpgothic-bold-font-family);
  letter-spacing: var(--BIZ-udpgothic-bold-letter-spacing);
  font-style: var(--BIZ-udpgothic-bold-font-style);
}

.case-page .link-4 {
  display: inline-flex;
  flex-direction: column;
  min-width: var(--html-to-design-width-42);
  height: 42px;
  justify-content: center;
  padding: 7.07px 6px 7.93px;
  flex: 0 0 auto;
  background-color: var(--white);
  border-radius: 9px;
  border: 1px solid;
  border-color: #e3dccb;
  position: relative;
  align-items: center;
}

.case-page .CTA {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 48px 0px 0px;
  position: relative;
  align-self: stretch;
  width: 100%;
  flex: 0 0 auto;
  background-color: var(--primary-orange);
}

.case-page .container-2 {
  display: flex;
  flex-direction: column;
  max-width: var(--html-to-design-width-960);
  width: 960px;
  align-items: flex-start;
  gap: 12px;
  position: relative;
  flex: 0 0 auto;
}

.case-page .heading {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  flex: 0 0 auto;
}

.case-page .text-wrapper-21 {
  display: flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  margin-top: -1px;
  font-weight: 700;
  color: var(--white);
  font-size: 30px;
  text-align: center;
  line-height: 47.4px;
  white-space: nowrap;
  position: relative;
  font-family: "BIZ UDPGothic", Helvetica;
  letter-spacing: 0;
}

.case-page .container-3 {
  display: flex;
  flex-direction: column;
  width: 486px;
  align-items: flex-start;
  position: relative;
  flex: 0 0 auto;
}

.case-page .text-wrapper-22 {
  width: fit-content;
  margin-top: -1px;
  font-weight: 700;
  color: var(--white);
  font-size: 18px;
  line-height: 28.1px;
  position: relative;
  font-family: "BIZ UDPGothic", Helvetica;
  letter-spacing: 0;
}

.case-page .link-wrapper {
  display: flex;
  flex-direction: column;
  width: 485px;
  align-items: center;
  padding: 8px 0px 40px;
  position: relative;
  flex: 0 0 auto;
}

.case-page .link-5 {
  display: flex;
  width: 481px;
  justify-content: center;
  gap: var(--html-to-design-item-spacing-10);
  padding: 20px 0px;
  flex: 0 0 auto;
  background-color: var(--white);
  border-radius: 40px;
  box-shadow: 0px 4px 0px #ba690a;
  position: relative;
  align-items: center;
}

.case-page .text-wrapper-23 {
  display: flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  margin-top: -1px;
  font-weight: 700;
  color: var(--gray-3f);
  font-size: 22px;
  text-align: center;
  line-height: 22px;
  white-space: nowrap;
  position: relative;
  font-family: "BIZ UDPGothic", Helvetica;
  letter-spacing: 0;
}

.case-page .pixta {
  position: absolute;
  top: 39px;
  left: 809px;
  width: 352px;
  height: 248px;
}

.case-page .container-4 {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 12px;
  padding: 24px 0px;
  align-self: stretch;
  width: 100%;
  background-color: var(--sub-green);
  position: relative;
  flex: 0 0 auto;
}

.case-page .frame-5 {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  position: relative;
  flex: 0 0 auto;
}

.case-page .vector-wrapper {
  background-image: url(../images/case/vector-28.svg);
  position: relative;
  width: 20px;
  height: 20px;
  background-size: 100% 100%;
}

.case-page .text-wrapper-24 {
  display: flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  margin-top: -1px;
  font-weight: 700;
  color: var(--white);
  font-size: 21px;
  text-align: center;
  line-height: 28.1px;
  white-space: nowrap;
  position: relative;
  font-family: "BIZ UDPGothic", Helvetica;
  letter-spacing: 0;
}

.case-page .basics {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 48px 200px 57px;
  position: relative;
  align-self: stretch;
  width: 100%;
  flex: 0 0 auto;
  background-color: var(--white);
}

.case-page .basics-list {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  position: relative;
  flex: 0 0 auto;
}

.case-page .basics-item {
  display: inline-flex;
  gap: 9px;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  flex: 0 0 auto;
}

.case-page .basics-h {
  display: flex;
  width: 1000px;
  align-items: center;
  gap: 8px;
  padding: 4px 0px 4px 20px;
  position: relative;
  flex: 0 0 auto;
  background-color: var(--bg-mosgreen);
  border-radius: 30px;
}

.case-page .text-wrapper-25 {
  display: flex;
  align-items: center;
  width: fit-content;
  margin-top: -1px;
  font-weight: 700;
  color: var(--sub-green);
  font-size: 20px;
  line-height: 34.9px;
  white-space: nowrap;
  position: relative;
  font-family: "BIZ UDPGothic", Helvetica;
  letter-spacing: 0;
}

.case-page .basics-txt {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0px 15px 0px 34px;
  position: relative;
  align-self: stretch;
  width: 100%;
  flex: 0 0 auto;
}

.case-page .div-4 {
  display: flex;
  align-items: center;
  flex: 1;
  margin-top: -1px;
  font-weight: 400;
  color: var(--gray-3f);
  font-size: 16px;
  line-height: 25.6px;
  position: relative;
  font-family: "BIZ UDPGothic", Helvetica;
  letter-spacing: 0;
}

.case-page .list-wrapper {
  display: flex;
  gap: 4px;
  align-self: stretch;
  width: 100%;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  flex: 0 0 auto;
}

.case-page .list {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: 0px 36px 8px;
  position: relative;
  align-self: stretch;
  width: 100%;
  flex: 0 0 auto;
}

.case-page .item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 8px 0px 7px 12px;
  position: relative;
  align-self: stretch;
  width: 100%;
  flex: 0 0 auto;
  background-color: #f5f5f5;
  border-left-width: 2px;
  border-left-style: solid;
  border-color: var(--gray-80);
}

.case-page .text-wrapper-26 {
  display: flex;
  align-items: center;
  width: fit-content;
  margin-top: -2px;
  font-weight: 400;
  color: var(--gray-3f);
  font-size: 16px;
  line-height: 16px;
  white-space: nowrap;
  position: relative;
  font-family: "BIZ UDPGothic", Helvetica;
  letter-spacing: 0;
}

.case-page .p {
  position: relative;
  flex: 1;
  margin-top: -1px;
  font-family: "BIZ UDPGothic", Helvetica;
  font-weight: 400;
  color: var(--gray-3f);
  font-size: 16px;
  letter-spacing: 0;
  line-height: 25.6px;
}

.case-page .span {
  font-family: "BIZ UDPGothic", Helvetica;
  font-weight: 400;
  color: #3f3f3f;
  font-size: 16px;
  letter-spacing: 0;
  line-height: 25.6px;
}

.case-page .text-wrapper-27 {
  font-size: 14px;
  line-height: 22.4px;
}

.case-page .text-wrapper-28 {
  font-weight: 700;
}

.case-page .section {
  align-items: center;
  justify-content: center;
  padding: 40px 0px 52px;
  background-color: var(--bg-beige);
  display: flex;
  flex-direction: column;
  position: relative;
  align-self: stretch;
  width: 100%;
  flex: 0 0 auto;
}

.case-page .frame-6 {
  display: flex;
  flex-direction: column;
  width: 1000px;
  align-items: flex-start;
  position: relative;
  flex: 0 0 auto;
}

.case-page .case-related-item {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  position: relative;
  flex: 0 0 auto;
}

.case-page .related-case-item {
  display: flex;
  width: 324px;
  align-items: center;
  gap: 8px;
  padding: 20px 0px 20px 16px;
  position: relative;
  background-color: var(--white);
  border-radius: 8px;
  border: 1px solid;
  border-color: #e3dccb;
  box-shadow: 0px 4px 0px #e3dccb;
}

.case-page .big-arrow {
  position: relative;
  width: 24px;
  height: 24px;
  background-color: #f08d18;
  border-radius: 12px;
}

.case-page .vector-3 {
  position: absolute;
  top: 6px;
  left: 9px;
  width: 8px;
  height: 12px;
}

.case-page .text-wrapper-29 {
  display: flex;
  align-items: center;
  width: fit-content;
  margin-top: -1px;
  font-weight: var(--semantic-link-font-weight);
  color: var(--gray-3f);
  font-size: var(--semantic-link-font-size);
  line-height: var(--semantic-link-line-height);
  white-space: nowrap;
  position: relative;
  font-family: var(--semantic-link-font-family);
  letter-spacing: var(--semantic-link-letter-spacing);
  font-style: var(--semantic-link-font-style);
}

.case-page .small {
  font-weight: 700;
  color: #f08d18;
  font-size: 16px;
  line-height: 22.5px;
  position: relative;
  display: flex;
  align-items: center;
  width: fit-content;
  font-family: "BIZ UDPGothic", Helvetica;
  letter-spacing: 0;
  white-space: nowrap;
}

.case-page .text-wrapper-30 {
  font-family: "BIZ UDPGothic", Helvetica;
  font-weight: 700;
  color: #f08d18;
  font-size: 16px;
  letter-spacing: 0;
  line-height: 22.5px;
}

.case-page .text-wrapper-31 {
  font-size: 12.2px;
}

.case-page .section-2 {
  align-items: flex-start;
  gap: 40px;
  padding: 48px 0px 60px;
  background-color: var(--white);
  display: flex;
  flex-direction: column;
  position: relative;
  align-self: stretch;
  width: 100%;
  flex: 0 0 auto;
}

.case-page .professional-link {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  align-self: stretch;
  width: 100%;
  flex: 0 0 auto;
}

.case-page .common-ttl-3 {
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0px 0px 12px;
  display: flex;
  position: relative;
  align-self: stretch;
  width: 100%;
  flex: 0 0 auto;
}

.case-page .image {
  position: relative;
  width: 1914px;
  height: 382px;
  margin-left: -257px;
  margin-right: -257px;
  aspect-ratio: 5.01;
  object-fit: cover;
}

.case-page .common-ttl-4 {
  align-items: center;
  justify-content: center;
  gap: 8px;
  display: flex;
  position: relative;
  align-self: stretch;
  width: 100%;
  flex: 0 0 auto;
}

.case-page .frame-7 {
  display: inline-flex;
  height: 322px;
  align-items: flex-start;
  gap: 10px;
  padding: 10px;
  position: relative;
}

.case-page .big-card {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  padding: 20px 24px;
  position: relative;
  flex: 0 0 auto;
  margin-bottom: -10px;
  background-color: var(--white);
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid;
  border-color: #cccccc;
}

.case-page .head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 10px;
  position: relative;
  align-self: stretch;
  width: 100%;
  flex: 0 0 auto;
}

.case-page .article-photo {
  display: flex;
  width: 285px;
  height: 160px;
  align-items: flex-start;
  position: relative;
  background-color: #f3f4f6;
  border-radius: 8px;
  overflow: hidden;
}

.case-page .image-2 {
  position: relative;
  width: 285px;
  height: 160px;
  background-color: #f6f6f6;
  aspect-ratio: 1.78;
}

.case-page .text-wrapper-32 {
  width: 285px;
  font-weight: 700;
  color: var(--gray-3f);
  font-size: 16px;
  line-height: 24px;
  position: relative;
  font-family: "BIZ UDPGothic", Helvetica;
  letter-spacing: 0;
}

.case-page .frame-8 {
  display: flex;
  align-items: center;
  position: relative;
  align-self: stretch;
  width: 100%;
  flex: 0 0 auto;
}

.case-page .category-2 {
  height: 30px;
  justify-content: space-around;
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 8px 12px;
  position: relative;
  flex: 0 0 auto;
  background-color: var(--white);
  border-radius: 6px;
  border: 1px solid;
  border-color: var(--blue);
}

.case-page .text-wrapper-33 {
  width: 199px;
  color: var(--gray-80);
  font-size: 14px;
  text-align: right;
  line-height: 16px;
  position: relative;
  font-family: "BIZ UDPGothic", Helvetica;
  font-weight: 400;
  letter-spacing: 0;
}

.case-page .pc-btn-wrapper {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 28px 0px 0px;
  position: relative;
  flex: 0 0 auto;
}

.case-page .pc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 14px 30px;
  position: relative;
  flex: 0 0 auto;
  background-color: var(--white);
  border-radius: 40px;
  border: 1px solid;
  border-color: #f08d18;
}

.case-page .text-wrapper-34 {
  width: fit-content;
  margin-top: -1px;
  font-weight: 700;
  color: #f08d18;
  font-size: 14px;
  line-height: normal;
  white-space: nowrap;
  position: relative;
  font-family: "BIZ UDPGothic", Helvetica;
  letter-spacing: 0;
}

.case-page .keyboard-arrow-down {
  position: relative;
  width: 14px;
  height: 14px;
  overflow: hidden;
  transform: rotate(-90deg);
  aspect-ratio: 1;
}

.case-page .vector-4 {
  position: absolute;
  width: 79.15%;
  height: 90.43%;
  top: 9.57%;
  left: 20.85%;
  transform: rotate(90deg);
}
/* original css code should be injected above */

.case-page a {
  color: inherit;
}

.case-page .link-2,
.case-page .btn-search-pro,
.case-page .link-3,
.case-page .link-4,
.case-page .link-5,
.case-page .related-case-item,
.case-page .pc-btn {
  cursor: pointer;
}

.case-page .link-2,
.case-page .btn-search-pro,
.case-page .link-3,
.case-page .link-4,
.case-page .link-5,
.case-page .related-case-item,
.case-page .pc-btn {
  text-decoration: none;
}

.case-page .link-2:focus-visible,
.case-page .btn-search-pro:focus-visible,
.case-page .link-3:focus-visible,
.case-page .link-4:focus-visible,
.case-page .link-5:focus-visible,
.case-page .related-case-item:focus-visible,
.case-page .pc-btn:focus-visible {
  outline: 2px solid #4a90e2;
  outline-offset: 2px;
}

.case-page .background-border[aria-disabled="true"] {
  pointer-events: none;
}

.case-page .background-border-2[aria-current="page"] {
  cursor: default;
}

.case-page .text-wrapper-6,
.case-page .text-wrapper-10,
.case-page .text-wrapper-13,
.case-page .div-4,
.case-page .p,
.case-page .text-wrapper-32 {
  margin: 0;
}

.case-page .case-list,
.case-page .nav,
.case-page .div,
.case-page .frame-6,
.case-page .basics-h {
  max-width: 100%;
}

.case-page .kadai-list-2,
.case-page .frame-7,
.case-page .case-related-item,
.case-page .container-4 {
  width: 100%;
}

.case-page .text-wrapper-12 {
  white-space: normal;
}

.case-page .text-wrapper-26,
.case-page .text-wrapper-23,
.case-page .text-wrapper-21,
.case-page .text-wrapper-22 {
  white-space: normal;
}

.case-page .btn-search-pro,
.case-page .link-5,
.case-page .pc-btn,
.case-page .related-case-item {
  min-height: 44px;
}

.case-page .image,
.case-page .pixta-l,
.case-page .pixta {
  max-width: 100%;
}

@media (max-width: 1200px) {
  .case-page .FV,
  .case-page .section-AICTA,
  .case-page .basics {
    padding-left: 24px;
    padding-right: 24px;
  }

  .case-page .div,
  .case-page .case-list,
  .case-page .nav-2,
  .case-page .frame-6,
  .case-page .basics-h {
    width: 100%;
  }

  .case-page .container-2 {
    width: 100%;
    padding-left: 24px;
    padding-right: 24px;
  }

  .case-page .pixta {
    position: static;
    width: 352px;
    align-self: center;
  }

  .case-page .link-wrapper,
  .case-page .container-3,
  .case-page .link-5 {
    width: 100%;
    max-width: 485px;
  }

  .case-page .image {
    width: 100%;
    height: auto;
    margin-left: 0;
    margin-right: 0;
  }
}

@media (max-width: 768px) {
  .case-page .kadai-list-2 {
    grid-template-columns: 1fr;
  }

  .case-page .kadai-list-item,
  .case-page .kadai-list-item-2,
  .case-page .kadai-list-item-3,
  .case-page .kadai-list-item-4 {
    grid-column: auto;
    grid-row: auto;
  }

  .case-page .case-result,
  .case-page .case-related-item,
  .case-page .container-4,
  .case-page .frame-7 {
    flex-direction: column;
  }

  .case-page .case-related-item,
  .case-page .frame-7 {
    display: flex;
  }

  .case-page .related-case-item,
  .case-page .big-card,
  .case-page .article-photo,
  .case-page .image-2 {
    width: 100%;
  }

  .case-page .container-3,
  .case-page .link-wrapper,
  .case-page .link-5 {
    max-width: 100%;
  }

  .case-page .text-wrapper-21,
  .case-page .text-wrapper-23 {
    text-align: center;
  }

  .case-page .nav {
    width: 100%;
    padding-right: 16px;
  }
}

/* ===== テーマ追補: 専門家カード / セクション枠 / 細部・SP調整 (#2383) ===== */

/* 関連記事セクションの枠（.case-sec は Anima に無いため補う） */
.case-page .case-sec {
  display: flex; flex-direction: column; align-items: center;
  width: 100%; padding: 40px 16px 48px; background-color: var(--white);
}
.case-page .case-sec > * { width: 100%; max-width: 1000px; }

/* 実績のある専門家カルーセル（他ページと同じ写真＋評価＋エリアのカード） */
.case-page .case-experts { gap: 20px; }
.case-page .experts-scroll {
  width: 100%; max-width: 1032px; overflow-x: auto; -webkit-overflow-scrolling: touch;
  padding: 4px 16px 10px;
}
.case-page .experts-list { display: inline-flex; gap: 16px; }
.case-page .expert-card {
  display: flex; flex-direction: column; width: 244px; flex: 0 0 244px;
  background-color: var(--white); border: 1px solid #e3dccb; border-radius: 10px;
  overflow: hidden; box-shadow: 0 2px 8px rgba(212,187,156,0.4); color: var(--gray-3f);
}
.case-page .expert-card__photo { width: 100%; height: 152px; background-color: #f3f4f6; }
.case-page .expert-card__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.case-page .expert-card__photo--placeholder { object-fit: contain; padding: 24px; opacity: .7; }
.case-page .expert-card__body { display: flex; flex-direction: column; gap: 8px; padding: 14px 16px 16px; }
.case-page .expert-card__name { font-weight: 700; font-size: 16px; line-height: 1.5; color: var(--gray-3f); }
.case-page .expert-card__review { display: flex; align-items: center; gap: 5px; flex-wrap: wrap; }
.case-page .expert-card__stars { display: inline-flex; }
.case-page .expert-card__stars .material-icons { color: #f5a623; font-size: 18px; line-height: 1; }
.case-page .expert-card__score { font-weight: 700; color: #f08d18; font-size: 15px; }
.case-page .expert-card__count { color: var(--gray-80); font-size: 12px; }
.case-page .expert-card__area { color: var(--gray-80); font-size: 13px; line-height: 1.6; }

/* basics: 本文＋リストは縦積み（横並び防止） */
.case-page .basics-txt { flex-direction: column; align-items: flex-start; gap: 8px; }
.case-page .basics-txt > * { width: 100%; max-width: 100%; }

/* 狭幅セーフティ（固定幅の取りこぼし対策） */
@media (max-width: 1200px) {
  .case-page .nav-2 { width: 100%; }
  .case-page .frame-3 { width: 100%; padding-left: 16px; padding-right: 16px; }
}

/* 見出し・長いラベルはSPで折り返す（Anima の white-space:nowrap 上書き） */
.case-page .text-wrapper-7,
.case-page .text-wrapper-9,
.case-page .text-wrapper-16,
.case-page .text-wrapper-24,
.case-page .text-wrapper-29 { white-space: normal; }

/* 見出しコンテナの幅制約（fit-content による横はみ出し防止→折り返し） */
.case-page .common-ttl,
.case-page .common-ttl-2,
.case-page .common-ttl-3,
.case-page .common-ttl-4,
.case-page .common-ttl-txt { max-width: 100%; }
.case-page .common-ttl-txt { width: 100%; }
.case-page .text-wrapper-7 { width: auto; max-width: 100%; }

/* ===== インデックスページ /case/（template-case-index.php）#2383 ===== */
.case-page .case-pankuz {
  align-self: stretch; width: 100%;
  display: flex; flex-wrap: wrap; align-items: center; gap: 4px;
  padding: 10px 16px; background-color: var(--bg-mosgreen);
  color: var(--gray-80); font-size: 12px; line-height: 1.9;
}
.case-page .case-pankuz a { color: var(--gray-80); }
.case-page .case-pankuz a:hover { text-decoration: underline; }
.case-page .case-pankuz__sep { color: var(--gray-80); }

.case-page .case-hero {
  align-self: stretch; width: 100%;
  display: flex; flex-direction: column; align-items: center; gap: 16px;
  padding: 32px 16px;
  background: linear-gradient(180deg, rgba(255,255,255,1) 0%, rgba(251,247,238,1) 100%);
}
.case-page .case-hero__title {
  width: 100%; max-width: 1000px;
  font-weight: 700; color: var(--gray-3f); font-size: 28px; line-height: 1.4; letter-spacing: 1px;
}
.case-page .case-hero__lead {
  width: 100%; max-width: 1000px;
  color: var(--gray-3f); font-size: 16px; line-height: 1.9;
}

.case-page .case-h2 {
  position: relative; width: 100%; max-width: 1000px; padding-left: 16px;
  font-weight: 700; color: var(--gray-3f); font-size: 22px; line-height: 1.5; margin: 0 0 16px;
}
.case-page .case-h2::before {
  content: ""; position: absolute; left: 0; top: 5px; bottom: 5px; width: 5px;
  background-color: #f08d18; border-radius: 3px;
}

.case-page .case-index-list {
  width: 100%; max-width: 1000px; list-style: none;
  display: grid; grid-template-columns: 1fr; gap: 10px; padding: 0; margin: 0;
}
.case-page .case-index-list a {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 16px 18px; background-color: var(--white);
  border: 1px solid #e3dccb; border-radius: 8px; box-shadow: 0 2px 0 #e3dccb;
  color: var(--gray-3f); font-weight: 700; font-size: 15px; line-height: 1.5;
  text-decoration: none;
}
.case-page .case-index-list a:hover { text-decoration: none; }
.case-page .case-index-list a:hover { background-color: #fffdf8; }
.case-page .case-index-list__arrow { flex: 0 0 auto; color: #f08d18; font-weight: 700; }
@media (min-width: 768px) {
  .case-page .case-index-list { grid-template-columns: repeat(2, 1fr); }
}

/* ===== PC: 全セクションのコンテンツ幅を統一（中央寄せ・最大幅1040px） #2383 ===== */
:root { --case-container: 1040px; }

/* 巨大な左右padding(200px)を撤廃し、最大幅＋中央寄せで制御 */
.case-page .FV,
.case-page .section-AICTA,
.case-page .basics,
.case-page .section,
.case-page .CTA { padding-left: 24px; padding-right: 24px; }

/* flex-start のセクションを中央寄せへ */
.case-page .basics { align-items: center; }

/* 各セクションの内側コンテンツを 1040px・中央寄せで統一 */
.case-page .nav,
.case-page .div,
.case-page .kadai,
.case-page .case-list,
.case-page .nav-2,
.case-page .frame-6,
.case-page .container-2,
.case-page .basics-list,
.case-page .basics-h,
.case-page .case-related-item,
.case-page .professional-link,
.case-page .div-2,
.case-page .experts-scroll,
.case-page .case-sec > * {
  align-self: center;
  width: 100%;
  max-width: var(--case-container);
  margin-left: auto;
  margin-right: auto;
}

/* 事例一覧セクション(frame-3)も中央寄せの全幅コンテナに */
.case-page .frame-3 { align-self: center; width: 100%; max-width: var(--case-container); }

/* 関連記事カルーセル：中央寄せ・はみ出し時は横スクロール */
.case-page .frame-7 {
  width: 100%; max-width: 100%;
  justify-content: center; overflow-x: auto; -webkit-overflow-scrolling: touch;
}

/* 見出し(common-ttl系)も本文と同じ1040px中央コンテナに揃える（basics等の左端ズレ防止） */
.case-page .common-ttl,
.case-page .common-ttl-2,
.case-page .common-ttl-3,
.case-page .common-ttl-4 {
  align-self: center;
  width: 100%;
  max-width: var(--case-container);
  margin-left: auto;
  margin-right: auto;
}

/* ===== 微調整: CTA / ページネーション余白 / basics行間 / 記事カルーセル #2383 ===== */

/* CTA: 上に余白・緑帯フル幅 */
.case-page .CTA {
  position: relative; overflow: hidden;
  padding-left: 0; padding-right: 0;
  margin-top: 28px;
}
.case-page .CTA .container-2 {
  align-self: center; width: 100%; max-width: var(--case-container);
  padding-left: 24px; padding-right: 24px; box-sizing: border-box;
}
.case-page .container-4 { width: 100%; max-width: none; position: relative; z-index: 2; }

/* PC: テキストは左に寄せ、イラストは右下（下端は緑帯に接地、重なりはz-indexで防止） */
@media (min-width: 1201px) {
  .case-page .CTA .heading,
  .case-page .CTA .container-3,
  .case-page .CTA .link-wrapper { width: 100%; max-width: 560px; }
  .case-page .CTA .link-5 { width: 100%; max-width: 480px; }
}
@media (min-width: 900px) {
  .case-page .pixta {
    position: absolute; top: auto; bottom: 0;
    right: 0;
    width: 320px; height: auto; z-index: 1;
  }
}

/* basics: 余白・行間を整える */
.case-page .basics-list { gap: 26px; }
.case-page .basics-item { gap: 12px; }
.case-page .basics-h { padding: 9px 20px; }
.case-page .text-wrapper-25 { font-size: 19px; line-height: 1.6; }
.case-page .basics-txt { flex-direction: column; align-items: flex-start; gap: 10px; padding: 0 10px 0 22px; }
.case-page .basics-txt > * { width: 100%; max-width: 100%; margin: 0; }
.case-page .basics-txt p { line-height: 1.95; }
.case-page .basics-txt ul,
.case-page .basics-txt ol { display: flex; flex-direction: column; gap: 7px; margin: 0; }
.case-page .basics-txt ol { list-style: decimal; padding-left: 1.5em; }
.case-page .basics-txt ul { list-style: none; padding-left: 0; }
.case-page .basics-txt li { line-height: 1.7; }

/* 関連記事カルーセル: 横スクロールのみ・カード幅統一（タグで横長になる崩れを防止） */
.case-page .frame-7 {
  height: auto;
  flex-wrap: nowrap; justify-content: center;
  gap: 16px; padding: 10px 4px;
  width: 100%; max-width: 100%;
  overflow-x: auto; overflow-y: hidden;
}
.case-page .big-card { width: 300px; flex: 0 0 300px; margin-bottom: 0; box-sizing: border-box; }
.case-page .big-card .head,
.case-page .big-card .article-photo,
.case-page .big-card .image-2,
.case-page .big-card .text-wrapper-32 { width: 100%; max-width: 100%; }
.case-page .big-card .article-photo,
.case-page .big-card .image-2 { height: auto; aspect-ratio: 16 / 9; }
.case-page .big-card img.image-2 { object-fit: cover; }
.case-page .big-card .frame-8 { justify-content: space-between; gap: 8px; width: 100%; }
.case-page .big-card .category-2 { flex: 0 1 auto; min-width: 0; }
.case-page .big-card .text-wrapper-33 { width: auto; flex: 0 0 auto; white-space: nowrap; }

/* 記事カルーセル: SPは縦積み・中央寄せに戻す（PC固定幅を解除） */
@media (max-width: 768px) {
  .case-page .frame-7 { flex-direction: column; align-items: center; overflow-x: visible; gap: 20px; }
  .case-page .big-card { width: 100%; flex: 0 0 auto; max-width: 420px; }
}

/* ===== 事例カード・SP崩れ対策 #2383 ===== */
/* カードタイトルをカード幅で折り返す（はみ出し防止・全幅で安全） */
.case-page .case-soudan .div-3 { display: flex; width: 100%; align-items: flex-start; }
.case-page .case-soudan .div-wrapper { flex: 1 1 auto; min-width: 0; }
.case-page .case-soudan .element { flex: 0 0 auto; }
.case-page .text-wrapper-12 { width: auto; max-width: 100%; white-space: normal; overflow-wrap: anywhere; }
/* カテゴリタグ: 固定高さ撤廃＋左寄せでタイトルとの重なり防止 */
.case-page .category-list { height: auto; justify-content: flex-start; width: 100%; }
/* basics 見出しの折り返し（長文ピルのはみ出し防止） */
.case-page .text-wrapper-25 { white-space: normal; overflow-wrap: anywhere; }
/* 各種本文の折り返し保険 */
.case-page .text-wrapper-13,
.case-page .div-4,
.case-page .basics-txt p,
.case-page .basics-txt li { overflow-wrap: anywhere; }

@media (max-width: 767px) {
  /* カード内余白を圧縮（左右の詰まり調整） */
  .case-page .case-list-cont { padding-left: 16px; padding-right: 16px; }
  .case-page .case-soudan { padding: 10px 12px; }
  /* basics: はみ出し防止・余白調整 */
  .case-page .basics { padding-left: 16px; padding-right: 16px; }
  .case-page .basics-h { width: 100%; padding: 8px 14px; }
  .case-page .basics-txt { padding: 0 6px 0 14px; }
  .case-page .basics-txt ul,
  .case-page .basics-txt ol { padding-left: 1.3em; max-width: 100%; }
  /* セクション左右余白の統一（詰まり/開きすぎ防止） */
  .case-page .FV,
  .case-page .section-AICTA { padding-left: 16px; padding-right: 16px; }
}

/* 関連記事見出し(text-wrapper-7)の横伸び・はみ出し防止 #2383 */
.case-page .text-wrapper-7 { white-space: normal; overflow-wrap: anywhere; }
/* FV概要(件数・主な相談先)の固定高さ/幅を撤廃しリード文との重なりを防止 #2383 */
.case-page .case-data { height: auto; flex-wrap: wrap; }
.case-page .text-wrapper-2 { height: auto; }
.case-page .text-wrapper-3 { width: auto; }
.case-page .text-wrapper-5 { width: auto; height: auto; white-space: normal; }

/* FV概要(件数・主な相談先)の縦位置をベースライン揃えに統一し、文字の上下ズレを解消 #2383 */
.case-page .case-data { align-items: baseline; }
.case-page .paragraph,
.case-page .paragraph-2 { align-items: baseline; margin-top: 0; }
.case-page .text-wrapper-2 { margin-top: 0; }
.case-page .text-wrapper-5 { margin-top: 0; }

/* 関連記事見出し(common-ttl-4内)が折り返さず中央ではみ出す問題を修正 #2383 */
.case-page .common-ttl-4 { min-width: 0; }
.case-page .common-ttl-4 .div-wrapper { width: 100%; min-width: 0; }
.case-page .common-ttl-4 .text-wrapper-7 { display: block; width: 100%; max-width: 100%; text-align: center; }

/* kadai(よくある課題): タイトルの折返し＋テキスト枠の縮小で、狭い幅でのはみ出しを防止／左右余白を是正 #2383 */
.case-page .text-wrapper-8 { display: block; width: auto; max-width: 100%; white-space: normal; overflow-wrap: anywhere; }
.case-page .kadai-list-item-txt { flex: 1 1 auto; min-width: 0; width: auto; }
.case-page .kadai-list { padding-left: 18px; padding-right: 18px; }

/* タグchipをリンク化した際の見た目維持（下線なし・色は元のまま・クリック可） #2383 */
.case-page a.category { text-decoration: none; color: inherit; cursor: pointer; }
.case-page a.category:hover { text-decoration: none; background-color: #fffdf8; }

/* 専門家一覧ボタンの帯にSP左右余白（カード端との詰まりを解消） #2383 */
@media (max-width: 768px) {
  .case-page .search-pro { padding-left: 16px; padding-right: 16px; }
}

/* ===== #2383 追加調整（件数余白/文節折返し/basics黒丸/pixta基準） ===== */
/* 件数(text-wrapper-2)の固定幅を撤廃し、右の余分な余白を除去 */
.case-page .text-wrapper-2 { width: auto; }
/* 文節での折り返し（対応ブラウザのみ有効・他は通常折返しにフォールバック） */
.case-page { word-break: auto-phrase; }
/* basics 本文の ul に黒丸 */
.case-page .basics-txt ul { list-style: disc; padding-left: 1.5em; }
/* CTAイラスト: 左位置は自動（右基準で container-2 に寄せる） */
.case-page .pixta { left: auto; }

/* offices/articles「一覧を見る」ボタン: 中央寄せ＋長文折返し（SP横溢れ防止・項目5/6） #2383 */
.case-page .pc-btn-wrapper { display: flex; justify-content: center; align-self: stretch; width: 100%; }
.case-page .pc-btn { max-width: 100%; }
.case-page .text-wrapper-34 { width: auto; max-width: 100%; white-space: normal; }
/* offices見出し(common-ttl-3)も中央で折返し */
.case-page .common-ttl-3 { min-width: 0; }
.case-page .common-ttl-3 .div-wrapper { width: 100%; min-width: 0; }
.case-page .common-ttl-3 .text-wrapper-7 { display: block; width: 100%; max-width: 100%; text-align: center; }

/* 相談事例0件時の空表示（トンマナ: 白カード・角丸・中央寄せ）#2383 */
.case-page .case-list--empty { align-self: stretch; width: 100%; padding: 8px 0 4px; }
.case-page .case-empty {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  max-width: 720px; margin: 0 auto; padding: 36px 24px;
  background-color: var(--white);
  border: 1px solid #e3dccb; border-radius: 12px;
  box-shadow: 0 2px 0 #e3dccb; text-align: center;
}
.case-page .case-empty__title { margin: 0; color: var(--gray-3f); font-weight: 700; font-size: 1.0625rem; line-height: 1.6; }
.case-page .case-empty__text { margin: 0; color: var(--gray-80); font-size: .9375rem; line-height: 1.8; }
@media (max-width: 768px) {
  .case-page .case-empty { margin: 0 16px; padding: 28px 18px; }
}

/* ===== CTA/関連事例カードの追加調整 #2383 ===== */

/* PC: CTA見出しが560px枠内で中央寄せになり、左揃えの本文より右へズレて左側に隙間ができる問題を修正（本文と左端を揃える） */
@media (min-width: 1201px) {
  .case-page .CTA .heading { align-items: flex-start; }
  .case-page .CTA .text-wrapper-21 { justify-content: flex-start; text-align: left; }
}

/* SP: CTAイラストを少し小さく＋下端を緑帯に接地（fixed heightのletterboxを解消）、緑帯リストに左右マージン */
@media (max-width: 768px) {
  .case-page .CTA .pixta {
    position: static;
    width: 240px;
    max-width: 62%;
    height: auto;
    align-self: center;
    margin: 4px auto 0;
    display: block;
  }
  .case-page .CTA .container-4 {
    padding-left: 24px;
    padding-right: 24px;
    box-sizing: border-box;
  }
}

/* 関連する相談事例カード: 長いラベルがカードから溢れる問題（div-3がflex:0 0 autoで縮まない）を修正し折り返す */
.case-page .related-case-item .big-arrow { flex: 0 0 24px; }
.case-page .related-case-item .div-3 { flex: 1 1 auto; min-width: 0; width: auto; }
.case-page .related-case-item .text-wrapper-29 {
  display: block;
  width: auto;
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
}

/* 非公開SP: 連携士業をリンクにせず通常テキスト表示（青/下線を解除）#2383 */
.case-page .text-wrapper-15--private { color: var(--gray-3f); text-decoration: none; }

/* ============================================================================
   CTA ブロック（page-lp--kaitai-hojo.php から移植）#2454

   相談事例ページは case_routing.php で matter-case-studies.css / case.css のみを
   enqueue しており、CTA の意匠を持つ css-2025/lp.css・lp/kaitai-hojo/css/style.min.css は
   読み込まれない。そのため両者の該当ルールをここに複製する。
   - 土台（.cta__bottom / .cta__btnTel / .cta__btnWeb / .--shiny）… scss-2025/module/_cta.scss 由来
   - 上書き（.cta-block 配下）… lp/kaitai-hojo/src/css/style.scss 由来
   色は LP の :root（--color-main 等）を参照できないため実値で記述。
   ========================================================================= */

@media screen and (min-width: 768px) {
  .case-page .--sp { display: none !important; }
}

@media screen and (max-width: 767px) {
  .case-page .--pc { display: none !important; }
}

/* ---- ボタン土台 ---- */
.case-page .cta__bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-flow: column;
  gap: 20px;
  position: relative;
  z-index: 2;
}

@media screen and (min-width: 768px) {
  .case-page .cta__bottom { flex-flow: row; }
}

.case-page .cta__bottom > a,
.case-page .cta__bottom > div {
  display: flex;
  width: 100%;
  height: 23.7333333333vw;
  justify-content: center;
  align-items: center;
  gap: 2.1333333333vw;
  border-radius: 5.3333333333vw;
  color: #fff;
  font-size: 5.8666666667vw;
  font-weight: 700;
  line-height: 6.4vw;
}

@media screen and (min-width: 768px) {
  .case-page .cta__bottom > a,
  .case-page .cta__bottom > div {
    width: clamp(1px, 39.0909090909vw, 430px);
    height: clamp(1px, 10.1818181818vw, 112px);
    min-width: clamp(1px, 7.6363636364vw, 84px);
    max-width: clamp(1px, 43.6363636364vw, 480px);
    gap: clamp(1px, .7272727273vw, 8px);
    border-radius: clamp(1px, 1.8181818182vw, 20px);
    font-size: clamp(1px, 2.5454545455vw, 28px);
    line-height: clamp(1px, 2.1818181818vw, 24px);
  }
}

.case-page .cta__bottom > a small,
.case-page .cta__bottom > div small {
  text-overflow: ellipsis;
  font-size: 3.7333333333vw;
  font-weight: 400;
}

@media screen and (min-width: 768px) {
  .case-page .cta__bottom > a small,
  .case-page .cta__bottom > div small {
    font-size: clamp(1px, 1.4545454545vw, 16px);
  }
}

.case-page .cta__bottom > a:hover,
.case-page .cta__bottom > div:hover {
  opacity: 1;
  color: #fff;
}

/* ---- 電話ボタン ---- */
.case-page .cta__btnTel {
  padding: 4.2666666667vw 1.6vw 3.2vw 1.6vw;
  background: #16a34a;
  box-shadow: 0 6px 0 0 rgb(16, 118, 54);
}

@media screen and (min-width: 768px) {
  .case-page .cta__btnTel {
    padding: clamp(1px, 1.4545454545vw, 16px) clamp(1px, .5454545455vw, 6px) clamp(1px, 1.0909090909vw, 12px) clamp(1px, .5454545455vw, 6px);
  }
}

.case-page .cta__btnTel::before {
  content: "";
  background-image: url(../images/animated_phone.svg);
  background-size: contain;
  background-repeat: no-repeat;
  display: block;
  width: 13.6vw;
  height: 13.6vw;
}

@media screen and (min-width: 768px) {
  .case-page .cta__btnTel::before {
    width: clamp(1px, 4.3636363636vw, 48px);
    height: clamp(1px, 4.3636363636vw, 48px);
  }
}

/* ---- Webボタン ---- */
.case-page .cta__btnWeb {
  height: 21.0666666667vw;
  padding: 5.3333333333vw 1.6vw;
  background: #f08d18;
  box-shadow: 0 6px 0 0 hsl(32.5, 87.8048780488%, 41.7647058824%);
}

@media screen and (min-width: 768px) {
  .case-page .cta__btnWeb {
    padding: clamp(1px, 1.8181818182vw, 20px) clamp(1px, .5454545455vw, 6px);
  }
}

.case-page .cta__btnWeb::before {
  content: "";
  background-image: url(../images/top/cta_ico_mail.png);
  background-size: contain;
  background-repeat: no-repeat;
  display: block;
  width: 14.4vw;
  height: 10.4vw;
}

@media screen and (min-width: 768px) {
  .case-page .cta__btnWeb::before {
    width: clamp(1px, 4.9090909091vw, 54px);
    height: clamp(1px, 3.5454545455vw, 39px);
  }
}

/* ---- 光沢アニメーション ---- */
.case-page .cta__btnTel.--shiny {
  position: relative;
  overflow: hidden;
}

.case-page .cta__btnTel.--shiny::after {
  content: "";
  position: absolute;
  top: -10%;
  left: -20%;
  width: 40px;
  height: 100%;
  transform: scale(2) rotate(20deg);
  background-image: linear-gradient(100deg, rgba(255, 255, 255, 0) 10%, rgba(255, 255, 255, 0.5) 100%, rgba(255, 255, 255, 0) 0%);
  animation-name: case-cta-shiny;
  animation-duration: 3s;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
}

@keyframes case-cta-shiny {
  0%   { left: -20%; }
  10%  { left: 120%; }
  100% { left: 120%; }
}

/* ---- CTAブロック本体 ---- */
.case-page .cta-block {
  max-width: 540px;
  margin: 0 auto 0;
  background: #fff8e8;
  border-radius: 14px;
  padding: 22px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
}

.case-page .cta-block .cta__bottom { width: 100%; }

.case-page .cta-block .cta__bottom > a,
.case-page .cta-block .cta__bottom > div {
  width: 100%;
  font-size: 5.4vw;
  line-height: 1.1;
  height: 19vw;
  text-decoration: none;
  color: #fff;
}

@media screen and (min-width: 768px) {
  .case-page .cta-block .cta__bottom > a,
  .case-page .cta-block .cta__bottom > div {
    font-size: clamp(1px, 2.5454545455vw, 22px);
    line-height: 1;
    height: clamp(1px, 8.181818vw, 80px);
  }
}

.case-page .cta-heading {
  margin: 0 0 14px;
  font-size: 21px;
  font-weight: 800;
  line-height: 1.5;
  color: #333;
  word-break: auto-phrase;
}

.case-page .cta-heading .hl { color: #e87500; }

.case-page .cta-heading::after {
  content: "";
  display: block;
  width: 100%;
  height: 2px;
  margin: 14px 0 0;
  background: #e87500;
  opacity: 0.85;
}

.case-page .cta-staff-note {
  margin: 15px 0 0;
  font-size: 13px;
  color: #555;
}

@media (min-width: 700px) {
  .case-page .cta-block {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: stretch;
    max-width: 760px;
    column-gap: 16px;
  }

  .case-page .cta-block .cta-heading {
    width: 100%;
    order: 0;
  }

  .case-page .cta-block .cta-staff-note {
    order: 3;
    width: 100%;
    margin-top: 16px;
  }
}
