#key {
  background: url("../img/recruit/key.jpg") no-repeat center/cover;
}

#sec1 {
  position: relative;
}

#sec1 h2 {
  color: #541316;
}

@media only screen and (max-width: 767px) {
  #sec1 {
    padding: 20vw 0;
  }

  #sec1 h2 {
    border-bottom: 1px solid;
    position: relative;
  }

  #sec1 h2 .en {
    display: block;
    font-weight: 400;
    font-size: 20vw;
    letter-spacing: 0;
    line-height: 1;
  }

  #sec1 h2 .ja {
    display: inline-block;
    font-size: 6.6vw;
    border-bottom: 3px solid;
    padding-bottom: 2vw;
  }

  #sec1 .box {
    padding: 12vw 0;
    position: relative;
  }

  #sec1 .box:before {
    content: "";
    width: 100vw;
    height: 70%;
    background-color: #f1f1f1;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: -1;
  }

  #sec1 .box .sub-en {
    padding-bottom: 4vw;
  }

  #sec1 .box figure {
    height: 80vw;
    position: relative;
  }

  #sec1 .box figure figcaption {
    color: #fff;
    position: absolute;
    top: 12vw;
    right: 21vw;
    bottom: 0;
  }

  #sec1 .box .txt {
    padding-top: 6vw;
  }

  #sec1 .box .name {
    font-size: 5.3vw;
    line-height: 1.5;
    text-align: right;
    padding-top: 6vw;
  }
}

@media only screen and (min-width: 768px) {
  #sec1 {
    padding: 130px 0 184px;
  }

  #sec1 h2 {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    border-bottom: 1px solid;
    margin: 0 -30px 0 -40px;
    padding-bottom: 30px;
  }

  #sec1 h2 .en {
    font-weight: 400;
    font-size: 190px;
    letter-spacing: 0;
    line-height: 150px;
  }

  #sec1 h2 .ja {
    display: inline-block;
    border-bottom: 3px solid;
    position: relative;
    top: 32px;
    padding-bottom: 32px;
  }

  #sec1 .box {
    padding: 117px 0 174px;
    position: relative;
  }

  #sec1 .box:before {
    content: "";
    width: 1260px;
    height: 788px;
    background-color: #f1f1f1;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: -1;
  }

  #sec1 .box .sub-en {
    padding-bottom: 12px;
  }

  #sec1 .box figure {
    position: relative;
  }

  #sec1 .box figcaption {
    position: absolute;
    bottom: 84px;
    right: 100px;
    color: #fff;
  }

  #sec1 .box .txt {
    max-width: 790px;
    line-height: 50px;
    margin: 0 auto;
    padding-top: 78px;
  }

  #sec1 .box .name {
    font-size: 20px;
    text-align: right;
  }
}

#sec2 {
  position: relative;
}

@media only screen and (max-width: 767px) {
  #sec2 {
    padding-bottom: 20vw;
  }

  #sec2 h2 {
    height: 70vw;
    margin: 0 auto;
  }

  #sec2 .row-1 {
    color: #fff;
  }

  #sec2 .row-1 figure {
    position: relative;
  }

  #sec2 .row-1 figcaption {
    text-align: center;
    border-top: 1px solid #fff;
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    z-index: 1;
    margin-top: 6vw;
  }

  #sec2 .row-1 figcaption span {
    display: inline-block;
    border-top: 2px solid #fff;
    padding-top: 2vw;
  }

  #sec2 .row-1 .wrap {
    background: linear-gradient(to left, #3d070a 35vw, #541316 35vw);
    padding-top: 20vw;
    padding-bottom: 12vw;
  }

  #sec2 .row-1 .txt {
    padding-top: 6vw;
  }

  #sec2 .row-2 {
    color: #fff;
    padding-top: 12vw;
  }

  #sec2 .row-2 figure {
    position: relative;
  }

  #sec2 .row-2 figcaption {
    text-align: center;
    border-top: 1px solid #fff;
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    z-index: 1;
    margin-top: 6vw;
  }

  #sec2 .row-2 figcaption span {
    display: inline-block;
    border-top: 2px solid #fff;
    padding-top: 2vw;
  }

  #sec2 .row-2 .col {
    background: linear-gradient(to right, #3d070a 35vw, #541316 35vw);
    padding: 20vw 4vw 12vw;
  }

  #sec2 .row-2 .txt {
    padding-top: 6vw;
  }
}

@media only screen and (min-width: 768px) {
  #sec2 h2 {
    width: calc(50% + 500px);
    height: 560px;
    position: absolute;
    top: 0;
    left: 0;
    box-sizing: border-box;
    padding-top: 88px;
    line-height: 80px;
  }

  #sec2 .row-1 {
    color: #fff;
    position: relative;
    margin-bottom: 92px;
  }

  #sec2 .row-1:before {
    content: "";
    width: calc(50% + 600px);
    background: linear-gradient(to right, #3d070a 350px, #541316 350px);
    position: absolute;
    top: 560px;
    bottom: 0;
    right: 0;
  }

  #sec2 .row-1 figure {
    display: flex;
    align-items: flex-end;
  }

  #sec2 .row-1 figure > span {
    display: block;
    width: calc(50% + 140px);
    height: 688px;
  }

  #sec2 .row-1 figure figcaption {
    width: calc(50% - 140px);
    border-top: 1px solid #fff;
    text-align: right;
    padding: 0 26px 76px 0;
    position: relative;
    z-index: 1;
    box-sizing: border-box;
  }

  #sec2 .row-1 figure figcaption span {
    display: inline-block;
    border-top: 3px solid #fff;
    padding-top: 8px;
  }

  #sec2 .row-1 .col {
    width: 868px;
    margin-left: auto;
    padding: 60px 0 132px;
  }

  #sec2 .row-1 .txt {
    padding-top: 27px;
  }

  #sec2 .row-2 {
    color: #fff;
    position: relative;
  }

  #sec2 .row-2:before {
    content: "";
    background: linear-gradient(to right, #3d070a 350px, #541316 350px);
    position: absolute;
    top: 80px;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: -1;
  }

  #sec2 .row-2 figure {
    display: flex;
    flex-direction: row-reverse;
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
  }

  #sec2 .row-2 figure > span {
    display: block;
    width: calc(100% - 556px);
  }

  #sec2 .row-2 figure figcaption {
    width: 556px;
    border-top: 1px solid #fff;
    margin-top: 100px;
    padding: 0 0 76px 58px;
    position: relative;
    z-index: 1;
    box-sizing: border-box;
  }

  #sec2 .row-2 figure figcaption span {
    display: inline-block;
    border-top: 3px solid #fff;
    padding-top: 8px;
  }

  #sec2 .row-2 .col {
    width: 556px;
    padding: 255px 0 160px;
  }

  #sec2 .row-2 .col .inner {
    max-width: 506px;
    margin: 0 auto;
  }

  #sec2 .row-2 .txt {
    padding-top: 27px;
  }
}

@media only screen and (min-width: 1399px) {
  #sec2 .row-2 figure > span {
    width: calc(50% + 120px);
  }

  #sec2 .row-2 figure figcaption {
    width: calc(50% - 120px);
  }

  #sec2 .row-2 .col {
    width: calc(50% - 120px);
  }
}

@media only screen and (min-width: 1400px) {
  #sec2 h2 {
    width: calc(50% + 604px);
  }
}

#sec3 {
  position: relative;
}

@media only screen and (max-width: 767px) {
  #sec3 {
    padding-bottom: 20vw;
  }

  #sec3 .wrap {
    padding: 0;
  }

  #sec3 h2 {
    padding-bottom: 8vw;
  }

  #sec3 h2 span {
    display: block;
  }

  #sec3 h2 .ja {
    padding-bottom: 2vw;
  }

  #sec3 .block {
    background: linear-gradient(8deg, #541316 48%, #f1f1f1 48%);
    padding: 12vw 4vw;
    position: relative;
  }

  #sec3 .block:before {
    content: "";
    width: 100%;
    height: 100%;
    background: url("../img/recruit/sec3-deco.png") no-repeat bottom right / 50%
      auto;
    position: absolute;
    top: 0;
    left: 0;
  }

  #sec3 .block .col {
    padding-top: 12vw;
  }

  #sec3 .block .txt {
    padding-top: 6vw;
  }

  #sec3 .block .row-1 {
    padding-bottom: 12vw;
  }

  #sec3 .block .row-2 {
    color: #fff;
    position: relative;
    padding-top: 12vw;
  }

  #sec3 .block .row-2 .photo-1 {
    width: 70vw;
  }

  #sec3 .block .row-2 .photo-2 {
    width: 50vw;
    position: absolute;
    top: 80vw;
    right: 0;
  }
}

@media only screen and (min-width: 768px) {
  #sec3 {
    padding: 157px 0 156px;
  }

  #sec3 h2 {
    padding-bottom: 73px;
  }

  #sec3 h2 span {
    display: block;
  }

  #sec3 h2 .ja {
    padding-bottom: 10px;
  }

  #sec3 .block {
    position: relative;
    padding: 160px 0 0;
  }

  #sec3 .block:before {
    content: "";
    width: 1340px;
    height: 100%;
    background: linear-gradient(8deg, #541316 55%, #f1f1f1 55%);
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: -1;
  }

  #sec3 .block:after {
    content: "";
    width: 566px;
    height: 638px;
    background: url("../img/recruit/sec3-deco.png") no-repeat center top/cover;
    position: absolute;
    bottom: 0;
    right: -170px;
    z-index: -1;
  }

  #sec3 .row-1 {
    position: relative;
  }

  #sec3 .row-1 figure {
    width: 500px;
    position: absolute;
    top: 0;
    right: -60px;
  }

  #sec3 .row-1 .col {
    width: 480px;
    padding: 20px 0 312px;
  }

  #sec3 .row-1 .txt {
    padding-top: 35px;
  }

  #sec3 .row-2 {
    color: #fff;
    position: relative;
  }

  #sec3 .row-2 .photo-1 {
    width: 560px;
    position: absolute;
    top: 0;
    left: -100px;
  }

  #sec3 .row-2 .photo-2 {
    width: 441px;
    position: absolute;
    top: 590px;
    left: 390px;
  }

  #sec3 .row-2 .col {
    width: 480px;
    margin-left: auto;
    position: relative;
    left: 20px;
    padding: 48px 0 440px;
  }

  #sec3 .row-2 .txt {
    padding-top: 35px;
  }
}

#sec4 {
  position: relative;
}

@media only screen and (max-width: 767px) {
  #sec4 {
    padding-bottom: 20vw;
  }

  #sec4 .list .col + .col {
    padding-top: 20px;
  }

  #sec4 .list dl {
    display: grid;
    grid-template-columns: 30vw 1fr;
    border-bottom: 1px solid rgba(0, 0, 0, 0.5);
    padding-bottom: 20px;
  }

  #sec4 .list dl + dl {
    padding-top: 20px;
  }

  #sec4 .row-1 {
    padding-top: 8vw;
  }

  #sec4 .row-1 h3 {
    padding-bottom: 6vw;
  }

  #sec4 .row-1 .tabs-switch {
    border: 1px solid #000;
  }

  #sec4 .row-1 .tab-link {
    display: flex;
    text-align: center;
  }

  #sec4 .row-1 .tab-link li {
    width: 50%;
    background-color: #e3e3e3;
    color: #000000;
    padding: 4vw 0;
  }

  #sec4 .row-1 .tab-link li + li {
    border-left: 1px solid #232121;
  }

  #sec4 .row-1 .tab-link li.active {
    background-color: #000000;
    color: #ffffff;
  }

  #sec4 .row-1 .tab-content {
    padding: 8vw 4vw;
  }

  #sec4 .row-2 {
    padding-top: 12vw;
  }

  #sec4 .row-2 h3 {
    padding-bottom: 4vw;
  }

  #sec4 .row-2 h3 small {
    font-size: 4vw;
  }

  #sec4 .row-2 .list {
    border: 1px solid #000;
    padding: 8vw 4vw;
  }
}

@media only screen and (min-width: 768px) {
  #sec4 {
    padding-bottom: 133px;
  }

  #sec4 .row-1 {
    padding-top: 42px;
  }

  #sec4 .row-1 h3 {
    padding-bottom: 25px;
  }

  #sec4 .row-1 .tabs-switch {
    border: 1px solid #000;
  }

  #sec4 .row-1 .tab-link {
    display: flex;
    text-align: center;
  }

  #sec4 .row-1 .tab-link li {
    width: 50%;
    background-color: #dbdbdb;
    color: #656565;
    padding: 25px 0;
    transition: all 0a3s;
  }

  #sec4 .row-1 .tab-link li + li {
    border-left: 1px solid #fff;
  }

  #sec4 .row-1 .tab-link li.active,
  #sec4 .row-1 .tab-link li:hover {
    background-color: #000000;
    color: #ffffff;
    transition: all 0.3s;
  }

  #sec4 .row-1 .tab-content {
    padding: 50px 0 94px;
  }

  #sec4 .row-1 .list {
    display: grid;
    grid-template-columns: repeat(2, 480px);
    justify-content: center;
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
    line-height: 40px;
  }

  #sec4 .row-1 .list dl {
    display: grid;
    grid-template-columns: 160px 1fr;
    border-bottom: 1px solid rgba(0, 0, 0, 0.5);
    padding-bottom: 20px;
  }

  #sec4 .row-1 .list dl + dl {
    padding-top: 20px;
  }

  #sec4 .row-2 {
    padding-top: 90px;
  }

  #sec4 .row-2 h3 {
    padding-bottom: 20px;
  }

  #sec4 .row-2 h3 small {
    font-size: 25px;
  }

  #sec4 .row-2 .list {
    display: grid;
    grid-template-columns: repeat(2, 470px);
    justify-content: center;
    gap: 30px;
    margin: 0 auto;
    padding: 100px 0 84px;
    line-height: 40px;
    border: 1px solid #000;
  }

  #sec4 .row-2 .list dl {
    display: grid;
    grid-template-columns: 160px 1fr;
    border-bottom: 1px solid rgba(0, 0, 0, 0.5);
    padding-bottom: 20px;
  }

  #sec4 .row-2 .list dl + dl {
    padding-top: 20px;
  }
}

@media only screen and (min-width: 1241px) {
  #sec4 .row-1 .list,
  #sec4 .row-2 .list {
    gap: 60px;
  }
}

#sec5 {
  position: relative;
}

@media only screen and (max-width: 767px) {
  #sec5 {
    padding-bottom: 20vw;
  }

  #sec5 .box {
    padding-top: 8vw;
  }

  #sec5 .box .item {
    background-color: #541316;
    color: #fff;
    position: relative;
  }

  #sec5 .box .item + .item {
    margin-top: 40px;
  }

  #sec5 .box .item + .item:before {
    content: "";
    width: 16px;
    height: 21px;
    background: url("../img/shared/btn-arrow-red.png") no-repeat center
      top/cover;
    position: absolute;
    top: -32px;
    left: 50%;
    transform: translateX(-50%) rotate(90deg);
  }

  #sec5 .box h3 {
    background-color: #3d070a;
    padding: 4vw;
  }

  #sec5 .box .txt {
    padding: 4vw;
  }
}

@media only screen and (min-width: 768px) {
  #sec5 {
    padding-bottom: 158px;
  }

  #sec5 .wrap {
    width: 880px;
  }

  #sec5 .box {
    padding-top: 34px;
  }

  #sec5 .box .item {
    display: grid;
    grid-template-columns: 350px 1fr;
    align-items: center;
    background: linear-gradient(to right, #3d070a 350px, #541316 350px);
    color: #fff;
    position: relative;
    min-height: 170px;
  }

  #sec5 .box .item + .item {
    margin-top: 40px;
  }

  #sec5 .box .item + .item:before {
    content: "";
    width: 16px;
    height: 21px;
    background: url("../img/shared/btn-arrow-red.png") no-repeat center
      top/cover;
    position: absolute;
    top: -32px;
    left: 50%;
    transform: translateX(-50%) rotate(90deg);
  }

  #sec5 .box h3 {
    padding-left: 54px;
  }

  #sec5 .box .txt {
    padding-left: 44px;
  }
}

#sec6 {
  position: relative;
}

#sec6 h2 {
  color: #541316;
}

@media only screen and (max-width: 767px) {
  #sec6 {
    padding-bottom: 20vw;
  }

  #sec6:before {
    content: "";
    width: 100%;
    background: #f1f1f1;
    position: absolute;
    top: 10vw;
    bottom: 0;
    left: 0;
  }

  #sec6 h2 {
    text-align: right;
    border-bottom: 1px solid;
    position: relative;
  }

  #sec6 h2 .en {
    display: block;
    font-weight: 400;
    font-size: 19vw;
    letter-spacing: 0;
    line-height: 1;
    text-align: center;
  }

  #sec6 h2 .ja {
    display: inline-block;
    font-size: 6.6vw;
    border-bottom: 3px solid;
    padding-bottom: 2vw;
  }

  #sec6 .mailform {
    padding-top: 12vw;
  }

  #sec6 .mailform .form-row {
    display: flex;
    flex-direction: column;
    gap: 3vw;
    padding-bottom: 10vw;
  }

  #sec6 .mailform .caption-inline {
    display: flex;
    align-items: center;
    gap: 2vw;
  }

  #sec6 .mailform .caption--askerisk {
    display: block;
    width: 40px;
    border-radius: 4px;
    background-color: #a30000;
    color: #fff;
    font-size: 12px;
    line-height: 20px;
    text-align: center;
  }

  #sec6 .mailform .form-value input:not([type="checkbox"], [type="radio"]),
  #sec6 .mailform .form-value textarea {
    display: block;
    width: 100%;
    max-width: 530px;
    background-color: #fff;
    border: 0;
    font-weight: 400;
    line-height: 35px;
    border-radius: 0px !important;
    outline: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    box-sizing: border-box;
    padding: 5px 15px;
  }

  #sec6 .mailform .i-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4vw 0;
  }

  #sec6 .mailform .i-custom {
    line-height: 18px;
    position: relative;
    cursor: pointer;
  }

  #sec6 .mailform .i-custom span {
    display: block;
    padding-left: 25px;
    position: relative;
  }

  #sec6 .mailform .i-custom span:before {
    content: "";
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background-color: #fff;
    position: absolute;
    top: 0;
    left: 0;
  }

  #sec6 .mailform .i-custom span:after {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #c8c8c8;
    position: absolute;
    top: 6px;
    left: 6px;
  }

  #sec6 .mailform .i-custom input {
    display: none;
  }

  #sec6 .mailform .i-custom input:checked + span:after {
    background-color: #541316;
  }

  #sec6 .mailform .form-attachment {
    display: block;
  }

  #sec6 .mailform .form-attachment .attachment-preview {
    display: none;
  }

  #sec6 .mailform .form-attachment .attachment-main {
    display: inline-grid;
    grid-template-columns: repeat(2, 1fr);
    padding-left: 0;
  }

  #sec6 .mailform .form-attachment .attachment-button {
    margin: 0;
  }

  #sec6 .mailform .form-attachment .attachment-browse {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    height: 45px;
    background-color: #fff;
    position: relative;
    z-index: 1;
    padding: 0;
  }

  #sec6 .mailform .form-attachment .attachment-browse:before {
    content: "";
    width: 20px;
    height: 19px;
    background: url("../img/recruit/icon-attached.png") no-repeat center
      top/cover;
  }

  #sec6 .mailform .form-attachment .attachment-caption {
    margin: 0;
  }

  #sec6 .mailform .form-attachment .attachment-caption input {
    background-color: transparent;
  }

  #sec6 .mailform .form-button {
    padding-top: 5vw;
  }

  #sec6 .mailform .form-button > div {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8vw;
  }

  #sec6 .mailform .form-button button {
    display: block;
    width: 86.6vw;
    height: 18vw;
    background: #541316;
    color: #fff;
    font-family: "Shippori Mincho", serif;
    font-weight: 400;
    font-size: 4vw;
    border: 0;
    position: relative;
    padding: 0 8vw;
    text-align: left;
    cursor: pointer;
  }

  #sec6 .mailform .form-button button:after {
    content: "";
    width: 11px;
    height: 15px;
    background: url("../img/shared/btn-arrow-white.png") no-repeat center
      top/cover;
    position: absolute;
    top: 50%;
    right: 8vw;
    transform: translate(0, -50%);
    transition: transform 0.3s;
  }

  #sec6 .mailform [class^="error"] {
    font-size: 14px;
    line-height: 1;
    top: 120%;
    bottom: auto;
  }
}

@media only screen and (min-width: 768px) {
  #sec6 {
    padding-bottom: 130px;
  }

  #sec6:before {
    content: "";
    width: 100%;
    background: #f1f1f1;
    position: absolute;
    top: 100px;
    bottom: 0;
    left: 0;
  }

  #sec6 h2 {
    text-align: right;
    border-bottom: 1px solid;
    margin: 0 44px;
    padding-bottom: 4px;
  }

  #sec6 h2 .en {
    display: block;
    text-align: center;
    font-weight: 400;
    font-size: 190px;
    letter-spacing: 0;
    line-height: 150px;
  }

  #sec6 h2 .ja {
    display: inline-block;
    font-size: 34px;
    border-bottom: 3px solid;
    position: relative;
    top: 6px;
    padding-bottom: 20px;
  }

  .mailform {
    max-width: 850px;
    margin: 0 auto;
    padding-top: 103px;
  }

  .mailform .form-row {
    display: grid;
    grid-template-columns: 188px 1fr;
    align-items: center;
    gap: 37px;
    padding-bottom: 30px;
  }

  .mailform .caption-inline {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .mailform .caption--askerisk {
    display: block;
    width: 51px;
    border-radius: 4px;
    background-color: #a30000;
    color: #fff;
    font-size: 14px;
    line-height: 27px;
    text-align: center;
  }

  .mailform .form-value input:not([type="checkbox"], [type="radio"]),
  .mailform .form-value textarea {
    display: block;
    width: 100%;
    max-width: 530px;
    background-color: #fff;
    border: 0;
    font-weight: 400;
    line-height: 35px;
    border-radius: 0px !important;
    outline: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    box-sizing: border-box;
    padding: 5px 15px;
  }

  .mailform .i-list {
    display: flex;
    flex-wrap: wrap;
    gap: 23px 17px;
  }

  .mailform .i-custom {
    line-height: 18px;
    position: relative;
    cursor: pointer;
  }

  .mailform .i-custom span {
    display: block;
    padding-left: 25px;
    position: relative;
  }

  .mailform .i-custom span:before {
    content: "";
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background-color: #fff;
    position: absolute;
    top: 0;
    left: 0;
  }

  .mailform .i-custom span:after {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #c8c8c8;
    position: absolute;
    top: 6px;
    left: 6px;
  }

  .mailform .i-custom input {
    display: none;
  }

  .mailform .i-custom input:checked + span:after {
    background-color: #541316;
  }

  .mailform .form-attachment {
    display: block;
  }

  .mailform .form-attachment .attachment-preview {
    display: none;
  }

  .mailform .form-attachment .attachment-main {
    display: inline-grid;
    grid-template-columns: repeat(2, 1fr);
    padding-left: 0;
  }

  .mailform .form-attachment .attachment-button {
    margin: 0;
  }

  .mailform .form-attachment .attachment-browse {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    width: 230px;
    height: 45px;
    background-color: #fff;
    position: relative;
    z-index: 1;
    padding: 0;
    transition: all 0.3s;
  }

  .mailform .form-attachment .attachment-browse:before {
    content: "";
    width: 20px;
    height: 19px;
    background: url("../img/recruit/icon-attached.png") no-repeat center
      top/cover;
  }

  .mailform .form-attachment .attachment-browse:hover {
    opacity: 0.7;
  }

  .mailform .form-attachment .attachment-caption {
    margin: 0;
  }

  .mailform .form-attachment .attachment-caption input {
    background-color: transparent;
  }

  .mailform .form-button {
    padding-top: 50px;
  }

  .mailform .form-button > div {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
  }

  .mailform .form-button button {
    display: block;
    width: 280px;
    height: 65px;
    background: #541316;
    color: #fff;
    font-family: "Shippori Mincho", serif;
    font-weight: 400;
    border: 0;
    position: relative;
    padding: 0 32px;
    text-align: left;
    cursor: pointer;
  }

  .mailform .form-button button:after {
    content: "";
    width: 11px;
    height: 15px;
    background: url("../img/shared/btn-arrow-white.png") no-repeat center
      top/cover;
    position: absolute;
    top: 50%;
    right: 30px;
    transform: translate(0, -50%);
    transition: transform 0.3s;
  }

  .mailform .form-button button:hover:after {
    transform: translate(5px, -50%);
  }

  .mailform [class^="error"] {
    font-size: 14px;
    line-height: 1;
    top: 120%;
    bottom: auto;
  }
}

@media only screen and (max-width: 767px) {
  .txt-thanks {
    padding: 20vw 0;
  }
}

@media only screen and (min-width: 768px) {
  .txt-thanks {
    padding: 120px 0;
  }
}
