.sec {
  font-size: 1px;
  font-size: 0.0694444444vw;
}

@media screen and (min-width: 1441px) {
  .sec {
    font-size: 1px;
  }
}

main {
  display: block;
  background: #fff !important;
}

.tab-2 {
  display: flex;
  flex-wrap: wrap;
  gap: 0 10px;
  max-width: 500px;
}

.tab-2>label {
  flex: 1 1;
  order: -1;
  opacity: .5;
  min-width: 70px;
  padding: .6em 1em;
  border-radius: 5px 5px 0 0;
  background-color: #ff7d52;
  color: #fff;
  font-size: .9em;
  text-align: center;
  cursor: pointer;
}

.tab-2>label:hover {
  opacity: .8;
}

.tab-2 input {
  display: none;
}

.tab-2>div {
  display: none;
  width: 100%;
  padding: 1.5em 1em;
  background-color: #fff;
}

.tab-2 label:has(:checked) {
  opacity: 1;
}

.tab-2 label:has(:checked)+div {
  display: block;
}

.case_contents {
  width: 100%;
  max-width: 1200em;
  margin: 0 auto;
  padding-top: 30em;
  padding-bottom: 200em;
}

.case_inner {
  max-width: 1000em;
  margin: 0 auto;
}

.case_ttl {
  border-bottom: solid 1px #eb5c2b;
}

.case_wrap {
  max-width: 1000em;
  margin: 0 auto;
}

.case_category {
  display: flex;
}

.case_category ul {
  list-style: none;
  margin: 0;
  padding-left: 0;
  width: calc(100% - 121em);
}

.case_category li {
  display: inline-block;
  line-height: 1;
  margin: 8em 8em 0 0;
}

.case_category a {
  font-size: 16em;
  font-weight: bold;
  list-style: none;
  color: #eb5c2b !important;
  background: #fff;
  border: 1px solid #eb5c2b;
  display: inline-block;
  line-height: 1;
  padding: 0.3125em 0.5em;
  border-radius: 5px;
}

.case_wrap h1 {
  color: #000;
  font-size: 36em;
  font-weight: bold;
  letter-spacing: 0.02em;
  line-height: 1.3928571429;
  margin-block: 0.4166666666666667em;
}

.case_img {
  max-width: 798em;
  margin: 0 auto;
  margin-block: 50em;
}

.company_status {
  margin-top: 40em;
}

.company_status ul {
  background: #efefef;
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 4em 0 17em 20em;
  flex-direction: column;
}

.company_status li {
  color: #000;
  font-size: 16em;
  font-weight: 500;
  line-height: 1.5;
  margin-right: 2.8125em;
  margin-top: 0.75em;
}

.company_status li strong {
  color: #000;
  display: inline-block;
  font-weight: 700;
  margin-right: 1em;
}

.company_status p {
  font-size: 14em;
  margin-top: 1em;
}

.project_info {
  margin-top: 40em;
  border-top: 1px solid #eb5c2b;
  padding: 43em 16em;
  border-bottom: 1px solid #eb5c2b;
}

.project_ttl h2 {
  color: #000;
  font-size: 20em;
  font-weight: 700;
  line-height: 1.5;
}

.project_info ul {
  list-style: none;
  padding-left: 0;
  padding-top: 4em;
}

.project_info li {
  color: #000;
  font-size: 16em;
  font-weight: 500;
  line-height: 1.5;
  margin-top: 1em;
  padding-left: 1em;
  position: relative;
}

.project_info li strong {
  font-weight: 700;
}

.project_info li:before {
  background: #000;
  border-radius: 50%;
  content: "";
  display: block;
  height: 0.4375em;
  left: 0;
  pointer-events: none;
  position: absolute;
  top: 0.625em;
  width: 0.4375em;
}

.reesume {
  background: #e4f0f3;
  margin-top: 40em;
  padding: 46em 55em 37em;
}

.reesume_ttl h2 {
  color: #1c316a;
  font-size: 22em;
  font-weight: 700;
  line-height: 1.4545454545;
}

.reesume_ttl ul {
  list-style: none;
  padding-left: 0;
  padding-top: 13em;
}

.reesume_ttl li a,
.reesume_ttl li span {
  font-size: 18em;
  line-height: 1.5;
  padding: 1em 0;
}

.reesume_ttl li span {
  color: #1c316a;
  font-weight: 700;
  width: 1.5em;
}

.reesume_ttl li {
  border-bottom: 3px dotted #a3a3a3;
  display: flex;
}

.case_txt {
  margin-top: 40em;
}

.case_txt h2 {
  scroll-margin-top: 3em;
  font-size: 30em;
  color: #05135a;
  border-left: 7px solid #05135a;
  padding-left: 0.5em;
  line-height: 1.5 !important;
  margin-top: 2em;
  margin-bottom: 0.8333333333333333em;
}

.case_txt h3 {
  font-size: 24em;
  border-bottom: 2px solid #000;
  margin-block: 1em;
}

.case_txt p {
  font-size: 16em;
  line-height: 1.8;
  margin-top: 1em;
  margin-bottom: 1.5625em;
}

.case_txt li {
  font-size: 16em;
  line-height: 1.6;
  margin-top: 1em;
}

.case_txt ul {
  list-style: none;
}

.case_txt ol {
  list-style: none;
}

.wp-block-image {
  max-width: 670em !important;
  margin: 15em auto;
}

/* .wp-block-image img {
  max-width: 670em !important;
  margin: 15em auto;
} */

.wp-block-image .alignleft {
  float: none !important;
  margin: .5em 1em .5em 0;
}

@media (max-width: 768px) {
  .sec {
    font-size: 1px;
    font-size: 0.2666666667vw;
  }

  .case_contents {
    width: 100%;
    max-width: 500em;
    margin: 0 auto;
    padding-top: 30em;
    padding-bottom: 100em;
    padding-inline: 15em;
  }

  .case_inner {
    max-width: 450em;
    padding-inline: 20em;
    margin: 0 auto;
  }

  .case_ttl {
    border-bottom: solid 1px #eb5c2b;
  }

  .case_wrap {
    max-width: 1000em;
    margin: 0 auto;
  }

  .case_category {
    display: flex;
  }

  .case_category ul {
    list-style: none;
    margin: 0;
    padding-left: 0;
    width: calc(100% - 121em);
  }

  .case_category li {
    display: inline-block;
    line-height: 1;
    margin: 8em 8em 0 0;
  }

  .case_category a {
    background: #fff;
    border: 1px solid #000;
    color: #000;
    display: inline-block;
    font-size: 12em;
    font-weight: 500;
    line-height: 1;
    padding: 0.3125em 0.5em
  }

  .case_wrap h1 {
    color: #000;
    font-size: 27em;
    font-weight: bold;
    letter-spacing: 0.02em;
    line-height: 1.3928571429;
    margin-top: 0.5555555555555556em;
  }

  .case_img {
    max-width: 798em;
    margin: 0 auto;
    margin-block: 20em;
  }

  .company_status {
    margin-top: 25em;
  }

  .company_status ul {
    background: #efefef;
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding: 4em 0 17em 10em;
    flex-direction: column;
  }

  .company_status li {
    color: #000;
    font-size: 14em;
    font-weight: 500;
    line-height: 1.5;
    margin-right: 2.8125em;
    margin-top: 0.75em;
    display: flex;
    flex-direction: column;
  }

  .company_status li strong {
    color: #000;
    display: inline-block;
    font-weight: 700;
    margin-right: 1em;
  }

  .company_status p {
    font-size: 14em;
    margin-top: 0.5em;
  }

  .project_info {
    margin-top: 25em;
    border-top: 1px solid #eb5c2b;
    padding: 20em 0em;
    border-bottom: 1px solid #eb5c2b;
  }

  .project_ttl h2 {
    color: #000;
    font-size: 18em;
    font-weight: 700;
    line-height: 1.5;
  }

  .project_info ul {
    list-style: none;
    padding-left: 0;
    padding-top: 4em;
  }

  .project_info li {
    color: #000;
    font-size: 14em;
    font-weight: 500;
    line-height: 1.5;
    margin-top: 1em;
    padding-left: 1em;
    position: relative;
    display: flex;
    flex-direction: column;
  }

  .project_info li strong {
    font-weight: 700;
  }

  .project_info li:before {
    background: #000;
    border-radius: 50%;
    content: "";
    display: block;
    height: 0.4375em;
    left: 0;
    pointer-events: none;
    position: absolute;
    top: 0.625em;
    width: 0.4375em;
  }

  .reesume {
    background: #e4f0f3;
    margin-top: 25em;
    padding: 25em 15em;
  }

  .reesume_ttl h2 {
    color: #1c316a;
    font-size: 22em;
    font-weight: 700;
    line-height: 1.4545454545;
  }

  .reesume_ttl ul {
    list-style: none;
    padding-left: 0;
    padding-top: 13em;
  }

  .reesume_ttl li a,
  .reesume_ttl li span {
    font-size: 16em;
    line-height: 1.5;
    padding: 1em 0;
  }

  .reesume_ttl li span {
    color: #1c316a;
    font-weight: 700;
    width: 2em;
  }

  .reesume_ttl li {
    border-bottom: 3px dotted #a3a3a3;
    display: flex;
    align-items: center;
  }

  .case_txt {
    margin-top: 40em;
  }

  .case_txt h2 {
    scroll-margin-top: 3em;
    font-size: 24em;
    color: #05135a;
    border-left: 7px solid #05135a;
    padding-left: 0.5em;
    line-height: 1.5 !important;
    margin-top: 2em;
    margin-bottom: 0.8333333333333333em;
  }

  .case_txt h3 {
    line-height: 1.6;
    font-size: 18em;
    border-bottom: 2px solid #000;
    margin-block: 1em;
  }

  .case_txt p {
    font-size: 15em;
    line-height: 1.8;
    margin-top: 1em;
    margin-bottom: 1.5625em;
  }

  .wp-block-image {
    max-width: 670em !important;
    margin: 15em auto;
  }

  .wp-block-image .alignleft {
    float: none !important;
    margin: .5em 1em .5em 0;
  }
}