@charset "UTF-8";

/* ???痺Z?N?V?????S?̂̃X?^?C?? */
.wh-case-wrapper {
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Meiryo", sans-serif;
  color: #333;
  line-height: 1.7;
  max-width: 1000px;
  width: 100%;
  margin: 50px auto 40px;
  box-sizing: border-box;
}

.wh-case-wrapper * {
  box-sizing: border-box;
}

/* ?????k???痰ﾌ?Z?N?V?????^?C?g?? */
.wh-case-heading {
  text-align: center;
  margin-bottom: 36px;
}

.wh-case-heading .en {
  display: block;
  font-size: 16px;
  font-weight: bold;
  color: #e60012;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}

.wh-case-heading h3 {
  font-size: 26px;
  font-weight: bold;
  color: #3b2314;
  margin: 0;
  line-height: 1.4;
  display: inline-block;
  padding-bottom: 12px;
  position: relative;
}

.wh-case-heading h3::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background-color: #e60012;
  border-radius: 2px;
}

/* ?^?u?????̃f?U?C???i???・ﾈ???j */
.wh-case-tab {
  display: inline-block;
  background: #fff;
  border: 2px solid #3b2314;
  border-bottom: none;
  border-radius: 8px 8px 0 0;
  padding: 8px 28px;
  font-weight: bold;
  font-size: 1.5em;
  position: relative;
  z-index: 2;
}

.wh-case-tab .pattern-num {
  color: #e60012;
  margin-right: 12px;
  font-size: 0.9em;
}

/* ?J?[?h?{?̂̃f?U?C?? */
.wh-case-card {
  background: #fff;
  padding: 40px 45px;
  border-radius: 0 8px 8px 8px;
  margin-bottom: 55px;
  border: 2px solid #000;
}

/* ?w?b?_?[???i?摜?ƃ^?C?g???j */
.wh-case-header {
  display: flex;
  gap: 28px;
  margin-bottom: 28px;
  align-items: flex-start;
}

.wh-case-image-wrap {
  flex-shrink: 0;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  background-color: #f5f5f5;
}

.wh-case-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ???痺^?C?g?? */
.wh-case-title {
  font-size: 2.5em;
  font-weight: bold;
  margin: 0 0 12px 0;
  line-height: 1.25;
  color: #000;
  text-align:left;
}

.wh-case-intro {
  font-size: 14px;
  margin: 0;
  text-align:left;
}

/* ?e???ڂ̃Z?N?V???? */
.wh-case-section {
  margin-bottom: 22px;
}

.wh-case-section:last-child {
  margin-bottom: 0;
}

.wh-case-section-title {
  font-size: 20px;
  font-weight: bold;
  color: #3b2314;
  margin-bottom: 10px;
}

.wh-case-section p {
  margin: 0 0 14px 0;
  font-size: 14px;
  line-height: 1.5;
}

.wh-case-section p:last-child {
  margin-bottom: 0;
}

/* ?u?・P?ﾄ?v?????i?????O???[?̔w?i?j */
.wh-case-section.is-proposal {
  background-color: #f4f4f4;
  border-radius: 6px;
  padding: 16px 20px;
  margin-bottom: 24px;
}

/* ????2?J???????їp?̃??b?p?[?i???F?e?L?X?g?g / ?E?F?O?ώʐ^?j */
.wh-case-row {
  display: flex;
  gap: 24px;
  align-items: stretch;
}

.wh-case-left-col {
  flex: 1.25;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.wh-case-left-col .wh-case-section {
  margin-bottom: 0;
}

/* ?u?^?[?Q?b?g?̍Đݒ閧ﾆ?f?U?C?????t?H?[???v???? */
.wh-case-section.is-highlight {
  background-color: #f9fbff;
  border: 1px solid #e2e2e2;
  border-radius: 6px;
  padding: 12px 14px;
}

.wh-case-section.is-highlight .wh-case-section-title {
  color: #333;
  border-bottom: 1px dashed #999;
  padding-bottom: 4px;
}

/* ?u?・P?сv?????i?Ԍn?̔w?i?F?E?g?j */
.wh-case-section.is-result {
  background-color: #fff4f4;
  border: 1px solid #f3c6c9;
  border-radius: 6px;
  padding: 12px 14px;
  flex: 1;
}

.wh-case-section.is-result .wh-case-section-title {
  color: #e60012;
  border-bottom: 1px dashed #e60012;
  padding-bottom: 4px;
}

/* ?u?・P?сv???X?g?\???p?iShift_JIS?łն?????????Ȃ?CSS?`?F?b?N?}?[?N?j */
.wh-case-result-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.wh-case-result-list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
  font-size: 14px;
  line-height: 1.55;
}

.wh-case-result-list li:last-child {
  margin-bottom: 0;
}

.wh-case-result-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 6px;
  width: 10px;
  height: 5px;
  border-left: 2px solid #e60012;
  border-bottom: 2px solid #e60012;
  transform: rotate(-45deg);
}

.wh-case-result-list strong {
  color: #e60012;
  font-weight: bold;
}

/* ?E???̊O?ώʐ^?g */
.wh-case-right-photo {
  flex: 1;
  display: flex;
}

.wh-case-bottom-photo-frame {
  width: 100%;
  height: 100%;
  min-height: 220px;
  background-color: #f7f7f7;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wh-case-bottom-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ???X?|???V?u?Ή??i?X?}?z?E?^?u???b?g?\???j */
@media (max-width: 768px) {
  .wh-case-wrapper {
    margin-top: 38px;
  }
  .wh-case-heading {
    margin-bottom: 26px;
    padding: 0 10px;
  }
  .wh-case-heading h3 {
    font-size: 20px;
  }
  .wh-case-card {
    padding: 28px 20px;
  }
  .wh-case-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
  }
  .wh-case-section p {
    padding-left: 0;
    text-indent: 0;
  }
  .wh-case-row {
    flex-direction: column;
    gap: 20px;
  }
  .wh-case-section.is-proposal,
  .wh-case-section.is-highlight,
  .wh-case-section.is-result {
    padding: 16px;
  }
  .wh-case-bottom-photo-frame {
    aspect-ratio: 16 / 9;
    min-height: auto;
  }
}
