@charset "utf-8";

/* 2025改修 */

#header .innerWide .t02 {
  text-align: center;
  font-weight: 700;
  font-size: min(calc(100vw / 1920 * 34), 34px);
  line-height: 1.5;
  left: 50%;
  transform: translateX(-50%);
}
@media screen and (max-width: 1080px) {
  #header .innerWide .t02 {
    font-size: 19px;
  }
}
@media screen and (max-width: 767px) {
  #header .innerWide .t02 {
    position: relative;
    line-height: 2.2;
    font-size: min(calc(100vw / 375 * 20), 20px);
  }
}

#header .innerWide .t03 p {
  font-weight: 700;
  font-size: min(calc(100vw / 1920 * 21), 21px);
  line-height: 1.8;
}
@media screen and (max-width: 1080px) {
  #header .innerWide .t03 p {
    font-size: 12px;
  }
}
@media screen and (max-width: 767px) {
  #header .innerWide .t03 p {
    font-size: min(calc(100vw / 375 * 16), 16px);
    line-height: 2.2;
  }
}

#header .innerWide .t03 p:not(:first-child) {
  margin-top: min(calc(100vw / 1920 * 28), 28px);
}
@media screen and (max-width: 1080px) {
  #header .innerWide .t03 p:not(:first-child) {
    margin-top: 16px;
  }
}
@media screen and (max-width: 767px) {
  #header .innerWide .t03 p:not(:first-child) {
    margin-top: min(calc(100vw / 375 * 30), 30px);
  }
}

.sec01-flex {
  display: flex;
  justify-content: center;
  column-gap: calc(100vw / 1920 * 90);
  background-color: #BE0C18;
  height: calc(100vw / 1920 * 714);
  padding-bottom: calc(100vw / 1920 * 100);
  position: relative;
}
@media screen and (max-width: 1080px) {
  .sec01-flex {
    column-gap: 52px;
    height: 402px;
    padding-bottom: 56px;
  }
}
@media screen and (max-width: 767px) {
  .sec01-flex {
    padding-top: calc(100vw / 375 * 24);
    flex-direction: column;
    height: auto;
    padding-bottom: calc(100vw / 375 * 76);
  }
}
.sec01-flex::before {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  content: "";
  width: 100%;
  height: auto;
  aspect-ratio: 1922 / 177;
  background-image: url(/wp-content/themes/workid/img/about/about_sec01_bg.png);
  background-repeat: no-repeat;
  background-size: contain;
}
@media screen and (max-width: 767px) {
  .sec01-flex::before {
    display: none;
  }
}

.sec01-title {
  position: absolute;
  top: 9%;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100vw / 1920 * 240);
  display: flex;
  flex-direction: row-reverse;
  justify-content: center;
  gap: 8%;
}
@media screen and (max-width: 1080px) {
  .sec01-title {
    width: 135px;
  }
}
@media screen and (max-width: 767px) {
  .sec01-title {
    position: relative;
    width: calc(100vw / 375 * 166);
    height: calc(100vw / 375 * 293);
  }
}

.sec01-title span {
  height: max-content;
  padding: 3% 2% 8%;
  writing-mode: vertical-rl;
  font-weight: 700;
  font-size: calc(100vw / 1920 * 35);
  color: #BE0C18;
  position: relative;
  z-index: 1;
}
.sec01-title span:nth-child(1),
.sec01-title span:nth-child(2) {
  padding-top: 0;
}
@media screen and (max-width: 1080px) {
  .sec01-title span {
    font-size: 20px;
  }
}
@media screen and (max-width: 767px) {
  .sec01-title span {
    font-size: calc(100vw / 375 * 24);
  }
}

.sec01-title span::before {
  position: absolute;
  top: 0;
  left: 0;
  content: "";
  background-color: #fff;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.sec01-title img {
  position: absolute;
  top: 2%;
  left: 57%;
  transform: translateX(-50%);
  width: 100%;
  height: auto;
}
@media screen and (max-width: 1080px) {
  .sec01-title img {
    width: 100%;
  }
}
@media screen and (max-width: 767px) {
  #sec01 .sec01-title img {
    position: absolute;
    width: 100%;
  }
}

.sec01-block {
  width: calc(100vw / 1920 * 676);
  max-width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
}
@media screen and (max-width: 1080px) {
  .sec01-block {
    width: 380px;
  }
}
@media screen and (max-width: 767px) {
  .sec01-block {
    width: 100%;
  }
}

@media screen and (max-width: 767px) {
  .sec01-block:last-child {
    margin-top: calc(100vw / 375 * 60);
  }
}

#sec01 img.sec01-block-illust01 {
  position: absolute;
  bottom: 12%;
  left: 22%;
  width: 64%;
}
@media screen and (max-width: 767px) {
  #sec01 img.sec01-block-illust01 {
    position: relative;
    bottom: auto;
    left: auto;
    width: 99%;
    margin-inline: auto;
  }
}

#sec01 img.sec01-block-illust02 {
  position: absolute;
  bottom: 13%;
  left: 12%;
  width: 98%;
}
@media screen and (max-width: 767px) {
  #sec01 img.sec01-block-illust02 {
    position: relative;
    bottom: auto;
    left: auto;
    width: 99%;
    margin-inline: auto;
  }
}

.sec01-block-text {
  font-weight: 700;
  font-size: calc(100vw / 1920 * 28);
  line-height: calc(46 / 28);
  color: #fff;
  margin-bottom: 8%;
  margin-left: 10%;
}
@media screen and (max-width: 1080px) {
  .sec01-block-text {
    font-size: 16px;
  }
}
.sec01-block-text.vertical {
  writing-mode: vertical-rl;
  width: fit-content;
  margin-left: 9%;
  margin-bottom: 10%;
  letter-spacing: 0.15em;
}

.number-box {
  border-radius: 9px;
  border: 1px solid #fff;
  background-color: #fff;
  display: flex;
  height: calc(100vw / 1920 * 78);
  overflow: hidden;
}
@media screen and (max-width: 1080px) {
  .number-box {
    height: 42px;
  }
}
@media screen and (max-width: 767px) {
  .number-box {
    height: auto;
    background-color: unset;
    border-radius: 0;
    border: none;
    width: 90%;
    margin-inline: auto;
    flex-wrap: wrap;
    align-items: center;
  }
}

.number {
  width: calc(100vw / 1920 * 78);
  background-color: #BE0C18;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: serif;
  font-style: italic;
  font-weight: 500;
  font-size: calc(100vw / 1920 * 46);
  color: #fff;
}
@media screen and (max-width: 1080px) {
  .number {
    width: 42px;
    font-size: 26px;
  }
}
@media screen and (max-width: 767px) {
  .number {
    width: calc(100vw / 375 * 50);
    height: calc(100vw / 375 * 50);
    font-size: calc(100vw / 375 * 30);
    border: 1px solid #fff;
  }
}

@media screen and (max-width: 767px) {
  .sec01-block-spText {
    width: calc(100% - calc(100vw / 375 * 50));
    text-align: left;
    padding-left: calc(100vw / 375 * 12);
    font-weight: 700;
    font-size: calc(100vw / 375 * 19);
    letter-spacing: 0.03em;
    line-height: 1.2;
    color: #fff;
  }
}

.number-box .text {
  flex: 1;
  display: flex;
  align-items: center;
  padding-inline: calc(100vw / 1920 * 16);
}
@media screen and (max-width: 1080px) {
  .number-box .text {
    padding-inline: 9px;
  }
}
@media screen and (max-width: 767px) {
  .number-box .text {
    margin-top: calc(100vw / 375 * 16);
    width: 100%;
    background-color: #fff;
    border-radius: calc(100vw / 375 * 8);
    padding: calc(100vw / 375 * 12) 0;
    justify-content: center;
  }
}

.number-box .text_tag {
  font-weight: 700;
  font-size: calc(100vw / 1920 * 14);
  letter-spacing: 0.05em;
  line-height: calc(22 / 14);
  color: #1A1A1A;
}
@media screen and (max-width: 1080px) {
  .number-box .text_tag {
    font-size: 8px;
  }
}
@media screen and (max-width: 767px) {
  .number-box .text_tag {
    text-align: left;
    font-size: calc(100vw / 375 * 16);
    line-height: 2;
  }
}

.number-box .text_tag .red {
  color: #D30C18;
}

#kaigo9jin a {
  display: block;
  position: relative;
}

.kaigo9jin_text {
  position: absolute;
  top: 21%;
  left: 34%;
  width: 66%;
  text-align: left;
  font-weight: 700;
  font-size: 23px;
  line-height: calc(40 / 24);
  letter-spacing: 0.1em;
  color: #fff;
}
@media screen and (max-width: 767px) {
  .kaigo9jin_text {
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    text-align: center;
    font-size: calc(100vw / 375 * 21);
    line-height: calc(89 / 62);
  }
}

.kaigo9jin_more {
  position: absolute;
  top: 60%;
  left: 34%;
  border-radius: 999px;
  background-color: #F5BA00;
  padding: 14px 36px 14px 32px;
  font-weight: 900;
  font-size: 17px;
  letter-spacing: 0.02em;
}
@media screen and (max-width: 767px) {
  .kaigo9jin_more {
    top: 78%;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    padding: calc(100vw / 375 * 21) calc(100vw / 375 * 36) calc(100vw / 375 * 21) calc(100vw / 375 * 32);
    font-size: calc(100vw / 375 * 18);
  }
}

.kaigo9jin_more::before {
  position: absolute;
  top: 50%;
  right: 12px;
  transform: translateY(-50%) rotate(45deg);
  content: "";
  width: 8px;
  height: 8px;
  border-top: 3px solid #000;
  border-right: 3px solid #000;
}
@media screen and (max-width: 767px) {
  .kaigo9jin_more::before {
    right: calc(100vw / 375 * 24);
    width: calc(100vw / 375 * 12);
    height: calc(100vw / 375 * 12);
    border-top: 4px solid #000;
    border-right: 4px solid #000;
  }
}

#header .innerWide .t01 {
  display: flex;
  flex-direction: column;
  align-items: center;
}
#header .innerWide .t01 span {
  font-weight: 700;
  letter-spacing: 0.18em;
  font-size: min(calc(100vw / 1920 * 21), 21px);
}
@media screen and (max-width: 1080px) {
  #header .innerWide .t01 span {
    font-size: 12px;
  }
}
@media screen and (max-width: 767px) {
  #header .innerWide .t01 span {
    padding-top: 3px;
    font-size: calc(100vw / 375 * 16);
  }
}

#message h2,
#staff h2,
#about h2 {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3';
  font-size: 20px;
  letter-spacing: 0.12em;
}