/* reset css */
body#recruit-idx {
  color: #3b3b3b;
  font-family: "Noto Sans", -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji",
    "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}

#content p {
  margin-bottom: 0;
}
#content ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}
#content ul li{
  padding: 0;
}
#content h2::before,
#content ul li::before{
  display: none;
}
#content h2{
  font-size: 3.0rem;
}
#content .centered {
  display: flex;
  justify-content: center;
}
#content .heading-center {
  text-align: center;
}
#content h2.heading-center {
  font-weight: bold;
  letter-spacing: 3.2px;
}
#content span.emphasis {
  font-weight: bold;
}
@media (max-width: 820px) {
  #content h2.heading-center {
    font-size: 30px;
    line-height: 46px;
    letter-spacing: 3px;
  }
}
#content a {
  color: initial;
  text-decoration: none;
}
#content img {
  vertical-align: initial;
  margin: 0;
}
#content button:focus {
  outline: none;
}

/* ここから個別スタイル */
body#recruit-idx #content{
  position: relative;
  margin-top: 115px;
}
.header-lp {
  display: flex;
}
.logos {
  display: flex;
  height: auto;
  margin-left: 24px;
  gap: 24px;
  align-items: center;
}
.header_recruit-sight {
  margin-bottom: 0 !important;
  width: 180px;
  height: 60px;
  font: normal normal bold 18px/60px Noto Sans Myanmar;
  background-color: #df0560;
  text-align: center;
  color: #fff;
  line-height: 60px !important;
}
#content .logos img{
  margin-bottom: 0;
}
@media (max-width: 820px) {
  .logos {
    margin-left: 12px;
    gap: 12px;
  }
  .logos a {
    height: 50px;
    line-height: 50px;
  }
  .logos a:first-child img {
    width: 99.83px;
  }
  .logos a:nth-child(2) img {
    width: 70.64px;
    padding-bottom: 3px;
  }
  .header_recruit-sight {
    width: 126px;
    height: 50px;
    font-size: 14px;
    line-height: 50px;
  }
}
@media (max-width: 420px) {
  .logos {
    margin-left: 11px;
    gap: 12px;
  }
  .logos a {
    height: 45px;
    line-height: 45px;
  }
  .logos a:first-child img {
    /* 比率　70% */
    width: 69.881px;
  }
  .logos a:nth-child(2) img {
    /* 比率　70% */
    width: 49.448px;
  }
  .header_recruit-sight {
    width: 108px;
    height: 45px;
    font-size: 12px;
    line-height: 45px;
  }
}

.fixed-header {
  position: absolute;
  width: 130px;
  height: 130px;
  right: 0;
  top: 0;
  z-index: 1333;
  background: transparent linear-gradient(0deg, #bd0560 0%, #df0560 100%);
}
.fixed-header.fixed{
  position: fixed;
  top: 56px;
}
.fixed-header:hover {
  background: #fff;
  border: 1px solid #df0560;
}
.mail-link {
  display: flex;
  justify-content: center;
  width: 100%;
  height: 100%;
  align-items: center;
  color: #fff !important;
  text-decoration: none !important;
}
.mail-link > div {
  margin-top: 5px;
}
.mail-link:hover {
  color: #df0560 !important;
  text-decoration: none;
}
.mail-link path {
  fill: #fff;
}
.mail-link:hover path {
  fill: #df0560;
}
.mail-icon {
  width: 47.05px;
  text-align: center;
  margin: 0 auto;
}
.mail-link-text {
  margin-bottom: 0 !important;
  padding-top: 14px;
  font-size: 17px;
  text-align: center;
}
@media (max-width: 820px) {
  .fixed-header {
    width: 90px;
    height: 90px;
  }

  .mail-icon {
    width: 38.59px;
  }
  .mail-link-text {
    padding-top: 8px;
    font-size: 13px;
  }
}
@media (max-width: 420px) {
  .fixed-header {
    width: 85px;
    height: 85px;
  }

  .mail-icon {
    /* 比率 90% */
    width: 34.731px;
  }
  .mail-link-text {
    padding-top: 8px;
    font-size: 12px;
  }
}

#content .header-img {
  height: 600px;
  background-position: top;
  background-attachment: fixed; /* スクロール時にも位置を維持 */
  position: relative;
  overflow: hidden; /* 疑似要素がはみ出た部分を隠す */
}
#content .sp-top {
  display: none;
}
#content .header-img::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url(./images/head_image.jpg);
  background-size: auto 659px;
  background-position: center 56px;
  background-repeat: no-repeat;
  z-index: -1; /* 要素の背面に配置 */
  background-attachment: fixed;

}
#content .sp-back {
  display: none;
}
#content .header-img img {
  position: absolute; /* 親要素（.background-container）に対する位置を指定 */
  top: 50%; /* 上から50%の位置 */
  left: 50%; /* 左から50%の位置 */
  transform: translate(-50%, -50%); /* 画像自体の中心を基準にする */
  height: auto; /* アスペクト比を維持 */
}
@media (max-width: 820px) {
  #content .header-img {
    height: 681px;
  }
  #content .header-img .sp-back {
    display: block;
    position: absolute;
    top: initial;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    min-width: 100vw;
    height: auto;
    max-width: none;
  }
  #content .pc-top {
    display: none;
  }
  #content .sp-top {
    display: block;
  }
}
@media (max-width: 520px) {
  #content .header-img {
    height: calc(100vw * (649 / 430));
  }
  #content .header-img::before {
    content: "";
    display: block;
    position: relative;
    height: calc(100vw * (649 / 430));
    width: 100vw;
    background-image: none;
  }
  #content .header-img .sp-back,
  #content .header-img .sp-top {
    width: 100%;
    min-width: initial;
  }
}

/* introduction */
#content .introduction {
  margin-bottom: 58px;
}
#content .introduction-container {
  display: flex;
  margin: 0 32px 0 48px;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
}
#content h3 {
  padding: 65px 0 16px;
  margin-bottom: 0;
  line-height: 46px;
  text-align: center;
  font-weight: bold;
  font-size: 2.6rem;
}
#content .text-box {
  padding-top: 18px;
  flex: 1;
  width: calc(50% - 15px);
  max-width: 490px;
  font-size: 12px;
  line-height: 21px;
  white-space: pre-line;
}
#content .text-box br {
  content: "";
  display: block;
  margin-bottom: -18px;
}
#content .text-box p {
  margin-top: -16px;
  color: #3b3b3b;
}
#content .introduction .introduction-container .emphasis {
  color: #df0560;
  text-decoration: underline;
  font-weight: bold;
}
#content .introduction-container .annotation {
  font-size: 9px;
  color: #3b3b3b;
}
#content .image-box {
  flex: 1;
  max-width: 469px;
}
#content .image-box img {
  display: block;
  max-width: 100%;
  height: auto;
}
@media (max-width: 820px) {
  #content .introduction h3 {
    padding: 30px 0 22px;
    font-size: 17px;
    line-height: 36px;
  }
  #content .introduction {
    margin-bottom: 19px;
  }
  #content .introduction-container {
    margin: 0 38px;
    gap: 0;
  }
  #content .text-box,
  #content .image-box {
    padding-top: 0;
    min-width: min(100%, 469px);
    margin: 0 auto;
  }
  #content .image-box img {
    margin: 0 auto;
  }
}
@media (max-width: 500px) {
  .text-box {
    white-space: initial;
  }
  .text-box br {
    margin-bottom: 0;
  }
  .text-box p {
    margin-top: 18px;
  }
  .text-box p:last-child {
    line-height: 18px;
    margin-top: 18px;
  }
  #content .introduction h3 {
    font-size: 1.6rem;
  }
  #content h2.heading-center{
    font-size: 2.4rem !important;
  }
}
/* introduction おわり */

/* index */
#content .index-container {
  display: flex;
  padding: 3rem;
  justify-content: center;
  background-color: #f1efeb;
}
#content .index {
  font-size: 24px;
  color: #333;
  letter-spacing: 0.3em;
}
#content .vertical-text {
  display: inline-flex;
  font-size: 36px;
  font-weight: bold;
  padding-right: 42px;
  writing-mode: vertical-rl;
}
#content .internal-links {
  max-width: 600px;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}
#content .internal-link_unordered-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 24px;
  width: 1048px; /* 2つの500pxの最大幅と1つの24pxのギャップを考慮 */
  min-width: 380px;
  list-style: none;
  padding: 0;
}
#content .internal-link {
  line-height: 3;
  position: relative;
  color: #333;
}
#content .internal-link-text {
  display: flex;
  position: relative;
  height: 65px;
  padding: 0 86px 0 27px;
  word-break: break-all;
  align-items: center;
  line-height: normal;
  font-size: 19px;
  font-weight: bold;
  background-color: #fff;
}
@media (min-width: 820px) and (max-width: 1047px) {
  #content .vertical-text {
    padding-right: 12px;
  }
}
@media (max-width: 820px) {
  #content .index-container {
    display: block;
    padding: 17px 25px 28px;
  }
  #content .vertical-text {
    display: block;
    padding-right: 0;
    margin-bottom: 10px;
    text-align: center;
    writing-mode: initial;
  }
  #content .internal-link-text {
    font-size: 18px;
    padding: 0 81px 0 27px;
  }
  #content .internal-link_unordered-list {
    width: 100%;
    gap: 7px;
    grid-template-columns: 1fr; /* 縦一列に配置 */
    min-width: 100%;
  }
}
#content .internal-link-text:before {
  content: "";
  position: absolute;
  margin: auto;
  top: 0;
  right: 0;
  width: 65px;
  height: 65px;
  background-color: #e10060;
}
#content .internal-link-text:after {
  content: "";
  position: absolute;
  margin: auto;
  top: 21px;
  right: 25px;
  width: 16px;
  height: 16px;
  border-top: 1px solid #fff;
  border-right: 1px solid #fff;
  transform: rotate(135deg);
}
@media (max-width: 445px) {
  #content .internal-link-text {
    font-size: 14px;
    padding: 0 76px 0 26px;
    height: 55px;
  }
  #content .internal-link-text:before {
    width: 55px;
    height: 55px;
  }
  #content .internal-link-text::after {
    top: 17px;
    right: 19px;
    width: 14px;
    height: 14px;
  }
}
@media (hover: hover) {
  #content .internal-link:hover {
    color: #df0560;
    text-decoration: none;
  }
  #content .internal-link:hover .internal-link-text:before {
    background-color: #fff;
    border: 1px solid #df0560;
  }
  #content .internal-link:hover .internal-link-text:after {
    border-top: 1px solid #df0560;
    border-right: 1px solid #df0560;
  }
}
@media (hover: none) {
  #content .internal-link:hover {
    color: #df0560;
    text-decoration: none;
  }
  #content .internal-link:hover .internal-link-text:before {
    background-color: #fff;
    border: 1px solid #df0560;
  }
  #content .internal-link:hover .internal-link-text:after {
    border-top: 1px solid #df0560;
    border-right: 1px solid #df0560;
  }
}

/* about-mitaina */
#content .about-mitaina {
  margin: 100px 0;
  display: flex;
  justify-content: center;
  flex-direction: column;
}
#content .about-mitaina .heading-center {
  margin: 32px 0;
}
#content .about-mitaina h4 {
  font-size: 18px;
  padding-bottom: 10px;
  width: fit-content;
  margin: auto;
  line-height: 32px;
  border-bottom: 1px solid #707070;
  font-weight: bold;
  letter-spacing: 1.8px;
}
#content .about-mitaina h2 {
  font-weight: bold;
}
#content .about-mitaina .mini {
  display: inline;
  font-size: 20px;
  letter-spacing: 2px;
  color: #3b3b3b;
}
#content .about-mitaina > p {
  font-size: 14px;
  line-height: 26px;
  text-align: center;
  letter-spacing: 0.7px;
  margin: 0 38px;
  min-width: min(100%, 469px);
}
#content .about-mitaina > p:first-of-type {
  margin-bottom: 26px;
}
#content .mini-header {
  width: 289px;
  padding: 11px 20px;
  margin: 91px auto 22px;
  font-weight: bold;
  background-color: #df0560;
  color: #fff;
  text-align: center;
  letter-spacing: 1.6px;
}
#content .header-with-gray {
  font-size: 28px;
  width: 455px;
  margin: 0 auto 54px;
  font-weight: bold;
  line-height: 46px;
  letter-spacing: 2.8px;
  background: linear-gradient(to bottom, transparent 50%, #f1efeb 50%);
  text-align: center;
}
#content .about-mitaina .introduction-container {
  gap: 27px;
}
#content .about-mitaina .text-box {
  width: calc(40% - 13.5px);
  max-width: 380px;
  padding-top: 0;
  line-height: 24px;
  letter-spacing: 0.6px;
  white-space: initial;
}
#content .about-mitaina .text-box p {
  /* 打ち消しのスタイル */
  margin-top: 0;
  margin-bottom: 24px;
}
#content .about-mitaina .text-box p:last-child {
  line-height: 24px;
  margin-top: 0;
}
#content .about-mitaina .image-box img {
  max-width: initial;
}
#content .official-link {
  position: relative;
  margin: 40px 38px 0;
}
#content #overlay-image {
  position: absolute;
  top: 0;
  transition: left 0.5s ease-in-out; /* アニメーション設定 */
  top: 21px;
  right: calc(50% - 205px);
  z-index: 1;
  transition: all 0.3s ease-out;
}
@media (max-width: 980px) {
  #content .about-mitaina h4 {
    font-size: 15px;
    line-height: 27px;
  }
  #content .about-mitaina .heading-center {
    font-size: 27px;
    margin-top: 27px;
  }
  #content .about-mitaina .mini {
    font-size: 17px;
  }
  #content .about-mitaina .image-box img {
    max-width: 100%;
  }
}
@media (max-width: 820px) {
  #content .about-mitaina {
    margin: 52px 0 47px;
  }
  #content .about-mitaina br {
    display: none;
  }
  #content .about-mitaina > p {
    margin: 0 auto;
    text-align: initial;
    max-width: 566px;
    width: 100%;
    padding: 0 38px;
  }
  #content .about-mitaina .text-box {
    max-width: 490px;
  }
  #content .mini-header {
    font-size: 13px;
    padding: 8.5px;
    margin: 39px auto 18px;
    width: 243px;
    line-height: 21px;
  }
  #content .header-with-gray {
    width: min(381px, calc(100vw - 76px));
    margin-bottom: 31px;
    font-size: 23px;
    font-weight: bold;
    line-height: 36px;
    background: none;
    letter-spacing: 2.2px;
  }

  #content .header-with-gray span {
    background: linear-gradient(to bottom, transparent 50%, #f1efeb 50%);
  }
  #content .official-link #mitaina-btn {
    width: 100%;
  }
}
@media (max-width: 450px) {
  #content .official-link #overlay-image {
    right: -2%;
    top: 23%;
    width: 34%;
  }
}

/* four-point */
#content .four-point {
  padding-top: 56px;
  background-image: url(./images/back_01.png);
  background-size: auto 100%; /* 縦方向にだけフィットさせる */
  background-position: center center;
  background-repeat: no-repeat;
  z-index: -1; /* 要素の背面に配置 */
}
#content .four-point .heading-center {
  margin: 0;
  line-height: 46px;
}
#content .four-point .index-container {
  padding: 81px 48px 86px;
  background: none;
}
#content .key-eatures-list {
  display: grid;
  max-width: 950px;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  list-style: none;
}
#content .card-content {
  position: relative;
  width: min(340px, calc(100vw - 90px));
  padding: 47px 36px 45px;
  font-size: 12px;
  line-height: 24px;
  letter-spacing: 0.6px;
  background-color: #fff;
}
#content .under-list {
  margin-top: 15px;
}
#content .card-number {
  position: absolute;
  height: 59px;
  top: -30px;
  right: calc(50% - 8px);
}
#content .card-number.two {
  right: calc(50% - 19px);
}
#content .card-number.three {
  right: calc(50% - 19px);
}
#content .card-number.four {
  right: calc(50% - 17px);
}
#content .card-title {
  margin-bottom: 18px;
  font-size: 22px;
  font-weight: bold;
  text-align: center;
  letter-spacing: 2px;
}
#content .separate-line {
  border-top: solid 1px #707070;
  width: 30px;
  margin: 0 auto 16px;
}
#content .card-internal-link:hover {
  color: #bd0560;
}
@media (max-width: 820px) {
  #content .four-point {
    padding-top: 40px;
  }
  #content .key-eatures-list {
    grid-template-columns: 1fr;
    gap: 47px;
  }
  #content .card-title {
    font-size: 20px;
    line-height: 32px;
  }
  #content .card-content {
    margin: auto;
  }
  #content .four-point .index-container {
    padding: 66px 25px 62px;
  }
}

/* mitaina営業社員の声 */
#content .voices-from-employees {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
#content .voices-from-employees .heading-center {
  margin: 91px 0 94px;
}
#content .voices-from-employees-card {
  display: flex;
  position: relative;
  width: 724px;
  padding: 31px 49px 19px;
  margin: 0 auto 150px;
  font-size: 12px;
  line-height: 24px;
  letter-spacing: 0.6px;
  background-color: #fff;
  box-shadow: 0px 0px 30px #a3a3a329;
}
#content .voices-from-employees-card .number {
  position: absolute;
  top: -44px;
}
#content .voices-from-employees-card .number.one {
  height: 81px;
  left: -38px;
}
#content .voices-from-employees-card .comment-title {
  font-size: 22px;
  margin-bottom: 17px;
  line-height: 24px;
  font-weight: bold;
  letter-spacing: 1.1px;
  color: #df0560;
}
#content .voices-from-employees-card .comment {
  font-size: 12px;
  margin-bottom: 37px;
  line-height: 24px;
  letter-spacing: 0.6px;
  color: #3b3b3b;
}
#content .voices-from-employees-card .text-area {
  width: 551px;
  padding-top: 32px;
}
#content .voices-from-employees-card .employee {
  font-size: 14px;
  line-height: 26px;
  letter-spacing: 0.7px;
}
#content .voices-from-employees-card .separate-line {
  margin: 16px 0 32px;
}
#content .voices-from-employees-card .employee-img {
  position: absolute;
}
#content .voices-from-employees-card .sp-employee-img {
  display: none;
}
#content .voices-from-employees-card .employee-img.one {
  top: -51px;
  right: -102px;
}
#content .voices-from-employees-card.two .text-area {
  margin-left: auto;
}
#content .voices-from-employees-card .employee-img.two {
  top: -41px;
  left: -110px;
}
#content .voices-from-employees-card .number.two {
  height: 83px;
  right: -24px;
}
#content .button-content {
  display: flex;
  margin: 0 30px 112px;
  justify-content: center;
  gap: 20px;
}
#content .recruit-button {
  width: 230px;
  height: 60px;
  font-size: 19px;
  font-weight: bold;
  letter-spacing: 1.9px;
  background: transparent linear-gradient(270deg, #bd0560 0%, #e10060 100%);
  color: #fff;
  border-radius: 30px;
  opacity: 1;
  border: none;
  cursor: pointer;
}
#content .recruit-button:hover {
  background: #fff;
  color: #df0560;
  border: 1px solid #df0560;
}
@media (min-width: 820px) and (max-width: 926px) {
  #content .voices-from-employees-card {
    width: calc(100vw - 208px);
  }
  #content .voices-from-employees-card:first-of-type {
    margin-right: calc(17vw - 12px);
  }
  #content .voices-from-employees-card:nth-of-type(2) {
    margin-left: calc(17vw - 12px);
  }
  #content .voices-from-employees-card .text-area {
    width: calc(100vw - 367px);
  }
  .recruit-button {
    width: 230px;
  }
}
@media (max-width: 820px) {
  #content .voices-from-employees-card {
    width: auto;
    padding: 21px 29px 37px 30px;
    margin: 0 28px 42px 29px;
  }
  #content .voices-from-employees-card.one {
    margin-bottom: 90px;
  }
  #content .voices-from-employees .heading-center {
    margin: 67px 0 75px;
  }
  #content .voices-from-employees-card .text-area {
    width: 100%;
  }
  #content .voices-from-employees-card .sp-employee-img {
    display: block;
    position: absolute;
    top: -62px;
  }
  #content .voices-from-employees-card.one .sp-employee-img {
    right: 30px;
  }
  #content .voices-from-employees-card.two .sp-employee-img {
    right: 14px;
  }
  #content .voices-from-employees-card .comment-title {
    font-size: 20px;
    margin-bottom: 10px;
    line-height: 30px;
    letter-spacing: 1px;
  }
  #content .voices-from-employees-card .comment:last-of-type {
    margin-bottom: 0;
  }
  #content .voices-from-employees-card .number.one,
  #content .voices-from-employees-card .number.two {
    height: 68px;
    top: -35px;
    left: 29px;
  }
  #content .employee-img.one {
    display: none;
  }
  #content .employee-img.two {
    display: none;
  }
  #content .button-content {
    margin: 0 29px 52px 30px;
    flex-direction: column;
    align-items: center;
  }
  #content .button-content a {
    display: block;
    width: 230px;
  }
  #content .recruit-button {
    width: 230px;
  }
}

/* mitaina営業の業務イメージ */
#content .work-image {
  padding: 81px 0 27px;
  background-color: #f1efeb;
  background-image: url(./images/back_02.png);
  background-size: 100%; /* 縦方向にだけフィットさせる */
  background-position: top center;
  background-repeat: no-repeat;
}
#content .work-image .heading-center {
  margin-bottom: 27px;
}
#content .work-image > p {
  margin-bottom: 27px;
  font-size: 14px;
  line-height: 26px;
  text-align: center;
  letter-spacing: 0.7px;
}
#content .work-image-list {
  display: grid;
  gap: 46px;
  list-style: none;
  padding: 44px 0 70px;
  justify-content: center;
  grid-template-rows: 320px;
  grid-template-columns: repeat(4, 210px);
}
#content .work-image-list .number {
  position: absolute;
}
#content .work-image-list .number.one {
  height: 61px;
  top: -34px;
  left: 15px;
}
#content .work-image-list .number.two {
  height: 61px;
  top: -39px;
  left: 7px;
}
#content .work-image-list .number.three {
  height: 61px;
  top: -39px;
  left: 7px;
}
#content .work-image-list .number.four {
  height: 61px;
  top: -39px;
  left: 7px;
}
#content .work-image-list .number.five {
  height: 60px;
  top: -39px;
  left: 10px;
}
#content .work-image-list .number.six {
  height: 61px;
  top: -39px;
  left: 10px;
}
#content .work-image-list .number.seven {
  height: 61px;
  top: -39px;
  left: 10px;
}
#content .work-image-list .number.eight {
  height: 60px;
  top: -39px;
  left: 10px;
}
#content .work-image-list .card-content {
  height: 280px;
  width: 210px;
  position: relative;
  padding: 13px 13px 46px;
}
#content .work-image-list .card-content:nth-child(4),
#content .work-image-list .card-content:nth-child(6) {
  height: 300px;
}
#content .work-image-list p {
  padding: 0 7px;
  margin-top: 10px;
  line-height: 20px;
}
/* モバイルデフォルト：2つのliタグを横に表示 */
@media (max-width: 1040px) {
  #content .work-image-list {
    gap: 38px;
  }
}
@media (min-width: 820px) and (max-width: 980px) {
  #content .work-image-list {
    grid-template-columns: repeat(2, 210px);
  }
}
@media (max-width: 820px) {
  #content .work-image {
    padding-top: 52px;
  }
  #content .work-image .heading-center {
    width: 321px;
    margin: 0 auto 27px;
  }
  #content .work-image > p {
    width: 330px;
    margin: 0 auto 27px;
  }
  #content .work-image-list {
    padding: 35px 0 48px;
    grid-template-rows: 250px;
    grid-template-columns: repeat(2, 170px);
  }
  #content .work-image-list .card-content {
    width: 170px;
    height: 227px;
  }
  #content .work-image-list .card-content:nth-child(2n + 2) {
    margin-top: 40px;
  }
  #content .work-image-list .card-content:nth-child(3),
  #content .work-image-list .card-content:nth-child(4),
  #content .work-image-list .card-content:nth-child(5),
  #content .work-image-list .card-content:nth-child(6) {
    height: 243px;
  }
  #content .work-image-list .image {
    width: 100%;
  }
  #content .work-image-list p {
    font-size: 10px;
    margin-top: 8px;
    line-height: 16px;
    letter-spacing: 0.5px;
  }
}
/* タブレット：4つのliタグを横に表示 */
@media (min-width: 820px) {
  #content .work-image-list .card-content:nth-child(2) {
    margin-top: 40px;
  }
  #content .work-image-list .card-content:nth-child(3) {
    margin-top: 80px;
  }
  #content .work-image-list .card-content:nth-child(4) {
    margin-top: 120px;
  }
  #content .work-image-list .card-content:nth-child(6) {
    margin-top: 40px;
  }
  #content .work-image-list .card-content:nth-child(7) {
    margin-top: 80px;
  }
  #content .work-image-list .card-content:nth-child(8) {
    margin-top: 120px;
  }
}
@media (max-width: 500px) {
  #content .work-image-list {
    gap: 32px 18px;
  }
}

/* Q&A */
#content .q-and-a_wrapper {
  max-width: 1030px;
  margin: 0 auto 0;
  padding: 0 25px 79px 26px;
}
#content .q-and-a_wrapper .heading-center {
  margin: 80px 0 60px;
}
#content .accordion {
  max-width: 100%;
  margin: 26px auto 0;
}
#content .accordion-title {
  display: flex;
  font-size: 18px;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  background-color: #f1efeb;
  cursor: pointer;
}
#content .accordion-title img {
  margin: 0 22px 0 26px;
}
#content .accordion-title span {
  width: calc(100% - 210px);
}
#content .accordion-toggle-button {
  display: flex;
  padding: 0 18px;
  margin-left: auto;
  justify-content: center;
  align-items: center;
  width: 85px;
  height: 85px;
  background-color: #3b3b3b;
  cursor: pointer;
}
#content .accordion-content {
  margin: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease-out;
}
#content .accordion-content p {
  font-size: 14px;
  margin: 18px 100px 30px 21px;
  line-height: 26px;
  letter-spacing: 0.7px;
}
#content .accordion-content p.no-margin {
  margin: 18px 100px 0 21px;
}
#content .accordion-content img {
  margin: 50px auto 25px;
  display: block;
}
#content .horizontal-line {
  transform-origin: center;
  transition: transform 0.3s ease;
  transform: rotate(90deg);
}
@media (min-width: 685px) and (max-width: 820px) {
  #content .accordion-title span {
    width: calc(100% - 158px);
  }
  #content .accordion-toggle-button {
    width: 79px;
    height: 79px;
  }
}
@media (max-width: 820px) {
  #content .q-and-a_wrapper {
    min-width: 100%;
    padding: 0 25px 90px 26px;
    margin: 0 auto;
  }
  #content .q-and-a_wrapper .heading-center {
    margin: 54px 0 33px;
  }
  #content .accordion {
    margin-top: 20px;
    max-width: 100%;
  }
  #content .accordion-content p {
    margin: 22px 2px 19px 10px;
  }
  #content .accordion-content p.no-margin {
    margin: 22px 2px 0 10px;
  }
  #content .accordion-title {
    font-size: 15px;
    line-height: 23px;
    letter-spacing: 1.5px;
  }
  #content .accordion-title img {
    width: 25px;
    height: auto;
    margin: 0 12px 0 21px;
  }
  #content .accordion-content img {
    width: min(100%, 379px);
  }
}
@media (max-width: 684px) {
  #content .accordion-toggle-button {
    width: 54px;
    height: 96px;
  }
  #content .accordion:nth-of-type(2) .accordion-toggle-button,
  #content .accordion:nth-of-type(3) .accordion-toggle-button {
    height: 79px;
  }
  #content .accordion-title span {
    width: calc(100% - 126px);
  }
}
@media (max-width: 400px) {
  #content .accordion-toggle-button {
    height: 106px;
  }
  #content .accordion:nth-of-type(3) .accordion-toggle-button {
    height: 90px;
  }
  #content .accordion-title img {
    width: 24px;
    margin: 0 8px 0 12px;
  }
  #content .accordion-title span {
    width: calc(100% - 106px);
  }
}

/* ご応募をご検討されている方へ */
#content .ishiguro-message {
  padding: 77px 35px 0 40px;
  background-color: #f2f2f2;
}
#content .ishiguro-message .only-text-area {
  max-width: 912px;
  margin: 0 auto 51px;
}
#content .ishiguro-message .only-text-area p {
  font-size: 12px;
  margin-bottom: 24px;
}
#content .ishiguro-message .heading-center {
  margin-bottom: 50px;
}
#content .ishirguro-content {
  display: flex;
  justify-content: center;
  gap: 45px;
}
#content .ishirguro-content > img {
  width: 419px;
  height: auto;
}
#content .ishiguro-message .text-area {
  max-width: 446px;
  line-height: 24px;
}
#content .ishiguro-message .text-area p {
  margin-bottom: 24px;
  font-size: 12px;
  max-width: 446px;
}
#content .ishiguro-message ul {
  width: calc(100% + 40px);
  margin-bottom: 47px;
}
#content .ishiguro-message li {
  display: flex;
  font-size: 13px;
  font-weight: bold;
  color: #df0560;
  letter-spacing: 0.65px;
}
#content .ishiguro-message li img {
  padding: 7px 9px 0 0;
  height: 17px;
}
#content .ishiguro-message .boss-name {
  font-weight: bold;
}
@media (max-width: 820px) {
  #content .ishiguro-message .heading-center {
    max-width: 330px;
    margin: 0 auto 50px;
  }
  #content .ishiguro-message {
    padding-top: 58px;
  }
  #content .ishiguro-message ul {
    width: 100%;
    margin-bottom: 32px;
  }
  #content .ishiguro-message li img {
    padding-left: 0;
  }
  #content .ishiguro-message .text-area p {
    letter-spacing: 0.6px;
  }
  #content .ishiguro-message .text-area,
  #content .ishiguro-message .text-area p {
    max-width: 100%;
  }
  #content .ishiguro-message .text-area p:last-of-type {
    margin-bottom: 0;
  }
  #content .ishiguro-message .only-text-area {
    max-width: 477px;
  }
  #content .ishiguro-message .only-text-area .no--br {
    display: none;
  }
  #content .ishirguro-content {
    flex-direction: column;
    align-items: center;
    gap: 21px;
  }
  #content .ishirguro-content > img {
    width: 248px;
    height: auto;
  }
}
/* 募集要項 */
#content .application-requirements {
  margin: 78px 24px 57px 22px;
}
#content .application-requirements .heading-center {
  margin-bottom: 63px;
}
#content .application-requirements ul {
  max-width: 674px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
#content .application-requirements li {
  display: flex;
  font-size: 14px;
  height: 74px;
  flex-direction: row;
  align-items: center;
  border-bottom: 1px solid #d3d3d3;
}
#content .application-requirements li:first-child {
  border-top: 1px solid #d3d3d3;
}
#content .application-requirements li span {
  width: 141px;
  padding-left: 37px;
  font-weight: bold;
}
@media (max-width: 820px) {
  #content .application-requirements {
    margin: 78px 24px 57px 22px;
  }
  #content .application-requirements .heading-center {
    margin-bottom: 45px;
  }
  #content .application-requirements li {
    height: auto;
    padding: 27px 25px 20px;
    line-height: 20px;
    flex-direction: column;
    align-items: start;
    letter-spacing: 0.7px;
  }
  #content .application-requirements li span {
    padding-left: 0;
    margin-bottom: 8px;
    line-height: 24px;
  }
}

/* Googleフォームはこちら */
#content .recruit-button-content {
  display: flex;
  margin-bottom: 85px;
  justify-content: center;
}
#content .recruit-button-content .recruit-button {
  width: 400px;
  font-size: 21px;
  letter-spacing: 2.1px;
}
@media (max-width: 820px) {
  #content .recruit-button-content {
    margin-bottom: 69px;
  }
  #content .recruit-button-content .recruit-button {
    width: min(368px, calc(100vw - 80px));
    font-size: 19px;
  }
}
/* footer */
footer {
  background-color: #3b3b3b;
  padding: 21px 0 18px;
}
footer .heading-center {
  font-size: 14px;
  color: #ffffff;
}




@media (max-width: 860px) {


  body#recruit-idx #content{
    margin-top: 0;
  }

}