@charset "UTF-8";
.site-main * {
  scroll-margin-top: 72px;
}
@media screen and (min-width: 768px) {
  .site-main * {
    scroll-margin-top: 96px;
  }
}

.note {
  font-size: 0.875rem;
}

.tt-header {
  background: none;
}
.tt-header.scrolled {
  background-color: rgba(0, 104, 182, 0.2);
  backdrop-filter: blur(12px);
}
@media screen and (min-width: 768px) {
  .tt-header .g-menu ul li a {
    color: #fff;
  }
  .tt-header .g-menu ul li a:hover {
    color: #fff;
  }
}

.site-main {
  padding-top: 0;
}
.site-main section {
  padding: 0 !important;
}
.site-main section h2 {
  font-size: 1.875rem;
  width: fit-content;
  margin: 0 auto 40px auto;
  text-align: center;
  position: relative;
}
.site-main section h2::before {
  position: absolute;
  content: "";
  left: -70px;
  top: 8px;
  display: block;
  width: 70px;
  height: 50px;
  background: url(../img/career/h2-slant.png) no-repeat left top/100%;
}
@media screen and (min-width: 768px) {
  .site-main section h2 {
    font-size: 2.5rem;
    margin-bottom: 48px;
  }
}

.tt-career-wrapper {
  padding: 96px 24px 80px 24px;
}
@media screen and (min-width: 768px) {
  .tt-career-wrapper {
    max-width: 1240px;
    margin: 0 auto;
    padding: 180px 40px;
    background-size: 80%;
  }
}

.to-pagetop {
  bottom: 68px;
}

.tt-career-btn {
  display: inline-block;
  padding: 15px 60px;
  background-color: #007FDE;
  font-size: 1rem;
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  border: 1px solid #007FDE;
  /* 1. 全体を横方向にマイナス20度傾ける */
  transform: skewX(-45deg);
  /* アニメーション用 */
  transition: all 0.3s ease;
}
.tt-career-btn:hover {
  background-color: #0492ff;
  transform: skewX(-45deg) scale(1.05); /* 傾きを保ったまま少し大きく */
}
.tt-career-btn span {
  color: #fff;
  display: inline-block; /* transformを効かせるために必要 */
  transform: skewX(45deg);
}

.tt-career-btn-wh {
  display: inline-block;
  padding: 15px 60px;
  background-color: #fff;
  font-size: 1rem;
  color: #007FDE;
  text-decoration: none;
  font-weight: bold;
  border: 1px solid #007FDE;
  /* 1. 全体を横方向にマイナス20度傾ける */
  transform: skewX(-45deg);
  /* アニメーション用 */
  transition: all 0.3s ease;
}
.tt-career-btn-wh:hover {
  background-color: #84caff;
  transform: skewX(-45deg) scale(1.05); /* 傾きを保ったまま少し大きく */
}
.tt-career-btn-wh:hover span {
  color: #fff;
}
.tt-career-btn-wh span {
  color: #007FDE;
  display: inline-block; /* transformを効かせるために必要 */
  transform: skewX(45deg);
}

.tt-career-kv {
  width: 100%;
  height: 100vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: background-image 0.8s ease-in-out;
}
.tt-career-kv-wrapper {
  padding: 0 24px;
}
.tt-career-kv-copy {
  position: absolute;
  top: calc(50vh - 90px);
}
.tt-career-kv-copy h1 {
  color: #fff;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 2;
}
.tt-career-kv-copy h1 .lead {
  display: block;
  background: black;
  font-size: 2.5rem;
  line-height: 1.3;
  padding: 8px 16px;
}
.tt-career-kv-link {
  position: fixed;
  bottom: 0;
  z-index: 10;
}
.tt-career-kv-link ul {
  list-style: none;
  margin: 0 0 0 -5vw;
  padding: 0;
  width: 100vw;
  display: flex;
  justify-content: center;
}
.tt-career-kv-link ul li a {
  padding: 15px 25vw;
  width: 50vw;
}
.tt-career-kv-link ul li a span {
  white-space: nowrap;
}
.tt-career-kv-link ul li .requirement span {
  margin-left: -2rem;
}
.tt-career-kv-link ul li .entry span {
  margin-left: -2.5rem;
}
@media screen and (min-width: 768px) {
  .tt-career-kv {
    overflow: hidden;
  }
  .tt-career-kv-wrapper {
    margin: 0 40px;
  }
  .tt-career-kv-copy {
    position: static;
    top: unset;
    max-width: 1160px;
    margin: calc(50vh - 96px) auto 0 auto;
  }
  .tt-career-kv-copy h1 {
    width: fit-content;
    font-size: 1.5rem;
  }
  .tt-career-kv-copy h1 .lead {
    font-size: 3rem;
  }
  .tt-career-kv-link {
    position: static;
    bottom: unset;
    z-index: 1;
    max-width: 1160px;
    margin: 0 auto 0 auto;
  }
  .tt-career-kv-link ul {
    width: auto;
    margin: calc(50vh - 55px - 126px) 0 0 0;
    padding-left: 30px;
    justify-content: unset;
  }
  .tt-career-kv-link ul li a {
    width: unset;
    padding: 15px 60px;
  }
  .tt-career-kv-link ul .requirement span {
    margin-left: 0 !important;
  }
  .tt-career-kv-link ul .entry span {
    margin-left: 0 !important;
  }
}

.kv-bg-1 {
  background-image: url("../img/career/career-kv1-sp.jpg");
}
@media screen and (min-width: 768px) {
  .kv-bg-1 {
    background-image: url("../img/career/career-kv1.jpg");
  }
}

.kv-bg-2 {
  background-image: url("../img/career/career-kv2-sp.jpg");
}
@media screen and (min-width: 768px) {
  .kv-bg-2 {
    background-image: url("../img/career/career-kv2.jpg");
  }
}

.tt-career-message {
  background-color: #0068B6;
  color: #fff;
}
.tt-career-message .tt-career-wrapper {
  background: url(../img/career/message-text.svg) no-repeat top center/85%, url(../img/career/message-slant.webp) no-repeat center center/175%;
}
.tt-career-message-body {
  font-size: 1.125rem;
  text-align: center;
}
@media screen and (min-width: 768px) {
  .tt-career-message .tt-career-wrapper {
    background-size: 80%, 60% !important;
  }
  .tt-career-message .tt-career-wrapper p {
    font-size: 1.5rem;
    line-height: 2;
  }
}

.tt-career-value {
  background: #07BEEA;
}
.tt-career-value .tt-career-wrapper {
  background: url(../img/career/value-text.svg) no-repeat top center/65%;
}
.tt-career-value h2 {
  color: #fff;
}
.tt-career-value-ability {
  padding-bottom: 64px;
}
.tt-career-value-ability-item {
  text-align: center;
  margin-bottom: 40px;
}
.tt-career-value-ability-item img {
  width: 240px;
}
.tt-career-value-ability-item h3 {
  color: #fff;
  margin: 16px 0;
}
.tt-career-value-ability-item p {
  text-align: left;
}
.tt-career-value-number-item {
  border-radius: 16px;
  padding: 40px 20px 16px 20px;
  margin-bottom: 32px;
  background-image: linear-gradient(0deg, #50d1f0 60%, #05a5db);
  text-align: center;
}
.tt-career-value-number-item p {
  text-align: center;
  margin: 0 0 24px 0;
}
.tt-career-value-number-item p img {
  width: auto;
  height: 120px;
}
.tt-career-value-number-item h3 {
  color: #0068B6;
}
.tt-career-value-number-item h3 span {
  display: block;
}
.tt-career-value-number-item h3 img {
  margin-top: 16px;
  height: 100px;
  width: auto;
  max-width: 100%;
}
.tt-career-value-number-item .txt {
  text-align: left;
}
@media screen and (min-width: 768px) {
  .tt-career-value .tt-career-wrapper {
    background-size: 55% !important;
    padding-top: 200px;
  }
  .tt-career-value-ability {
    display: flex;
    gap: 6.8%;
  }
  .tt-career-value-ability-item {
    width: 28.8%;
  }
  .tt-career-value-ability-item img {
    width: 80%;
  }
  .tt-career-value-number {
    display: flex;
    gap: 3.4%;
  }
  .tt-career-value-number-item {
    width: 31%;
  }
}

.tt-career-support {
  background: url(../img/career/support-bg-sp.webp);
}
.tt-career-support .tt-career-wrapper {
  background: url(../img/career/support-text.svg) no-repeat top center/90%, url(../img/career/support-slant.webp) no-repeat top center/200%, url(../img/career/support-slant.webp) no-repeat bottom center/200%;
}
.tt-career-support-item {
  border-top: 1px solid #07BEEA;
  padding: 32px 0;
}
.tt-career-support-item img {
  border-radius: 16px;
}
.tt-career-support-item p.tt-career-support-item-subscript {
  color: #07BEEA;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 1px;
  margin: 24px 0 4px 0;
}
.tt-career-support-item h3 {
  color: #0068B6;
  margin-bottom: 16px;
}
.tt-career-support-item p {
  margin-bottom: 16px;
}
.tt-career-support .item3 {
  border-bottom: 1px solid #07BEEA;
}
@media screen and (min-width: 768px) {
  .tt-career-support {
    background: url(../img/career/support-bg-pc.png);
  }
  .tt-career-support .tt-career-wrapper {
    background-size: 70%, 60%, 60%;
    background-position: top center, top right, bottom left;
  }
  .tt-career-support-item {
    max-width: 960px;
    margin: 0 auto;
    display: flex;
    gap: 4%;
  }
  .tt-career-support-item img {
    width: 48%;
    object-fit: cover;
  }
  .tt-career-support-item-text {
    width: 48%;
  }
  .tt-career-support-item p.tt-career-support-item-subscript {
    margin: 0 0 12px 0;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    font-size: 1.25rem;
    font-weight: normal;
  }
}

.tt-career-interview {
  background: #0068B6;
  color: #fff;
}
.tt-career-interview .tt-career-wrapper {
  background: url(../img/career/interview-text.svg) no-repeat top center/90%;
}
.tt-career-interview-item {
  background: url(../img/career/interview-slant.png) no-repeat center bottom/110%, #1A77BE;
  border-radius: 16px;
  padding: 24px 20px 40px 20px;
  margin-bottom: 40px;
  position: relative;
}
.tt-career-interview-item-num {
  position: absolute;
  text-align: left;
  z-index: 3;
  margin-bottom: -30px;
}
.tt-career-interview-item-num img {
  height: 60px;
}
.tt-career-interview-item-photo {
  margin: 24px 0 16px 0;
}
.tt-career-interview-item-photo img {
  border-radius: 16px;
}
.tt-career-interview-item-text h3 {
  margin-bottom: 16px;
}
.tt-career-interview-item-text p {
  margin-bottom: 24px;
}
.tt-career-interview-item-text .tt-career-btn-wh {
  display: block;
  width: fit-content;
  margin: 0 auto;
}
.tt-career-interview-figure {
  margin-top: 64px;
}
.tt-career-interview-figure h3 {
  text-align: center;
}
.tt-career-interview-figure-block {
  background: #eee;
  border-radius: 16px;
  padding: 24px 20px;
}
.tt-career-interview-figure-block img {
  display: block;
  width: 100%;
}
@media screen and (min-width: 768px) {
  .tt-career-interview .tt-career-wrapper {
    background-size: 80%;
  }
  .tt-career-interview-lead {
    text-align: center;
  }
  .tt-career-interview-item {
    display: flex;
    padding: 40px;
    background-size: contain;
    background-position: center center;
  }
  .tt-career-interview-item-num {
    position: static;
    margin-top: -10px;
    margin-right: 30px;
    width: 5%;
  }
  .tt-career-interview-item-num img {
    width: 80%;
  }
  .tt-career-interview-item-photo {
    margin: 0;
    width: 35%;
  }
  .tt-career-interview-item-text {
    width: 60%;
    margin-left: 7%;
  }
  .tt-career-interview-item-text h3 {
    font-size: 1.5rem;
  }
  .tt-career-interview-item-text-name {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
  }
  .tt-career-interview-item-text-name .name {
    margin: 0;
  }
  .tt-career-interview-item-text-name .tt-career-btn-wh {
    margin: 0 30px 0 0;
    cursor: pointer;
  }
}

body.no-scroll {
  overflow: hidden;
  /* スクロールバーの幅分、右側に余白を空けてガタつきを防ぐ（モダンブラウザ対応） */
  scrollbar-gutter: stable;
}

/* 1. モーダル全体のオーバーレイ（暗い背景） */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6); /* 半透明の黒 */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  /* 初期状態は非表示＆クリック不可 */
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease; /* フワッと表示させる */
}

.btn-close {
  position: sticky;
  top: 0;
  display: block;
  width: fit-content;
  margin-left: auto;
  line-height: 1;
  z-index: 20;
}
.btn-close img {
  width: 34px;
  margin: 0;
}

/* 2. モーダルのコンテンツ（白い箱） */
.modal-content {
  color: #000;
  background-color: white;
  padding: 24px;
  border-radius: 24px;
  width: 90%;
  max-width: 640px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  max-height: 85vh;
  overflow: scroll;
  position: relative;
  transition: transform 0.3s ease;
}
.modal-content-header {
  margin-top: -18px;
}
.modal-content-header-img {
  margin-bottom: 20px;
}
.modal-content-header-img img {
  border-radius: 16px;
}
.modal-content-title {
  padding-bottom: 16px;
}
.modal-content-title .category {
  color: #0068B6;
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.modal-content-title h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
}
.modal-content-title .division {
  font-size: 1rem;
  font-weight: 700;
  text-align: right;
}
.modal-content-body p {
  margin: 0 0 24px 0;
  line-height: 1.5;
}
@media screen and (min-width: 768px) {
  .modal-content {
    overflow: hidden;
    max-width: 780px;
    padding: 32px;
  }
  .modal-content-header {
    display: flex;
    gap: 40px;
    margin-bottom: 24px;
    margin-top: -35px;
  }
  .modal-content-img {
    width: 35%;
  }
  .modal-content-img img {
    border-radius: 16px;
  }
  .modal-content-title {
    width: 75%;
    padding-bottom: 0;
  }
  .modal-content-title .category {
    margin-bottom: 24px;
  }
  .modal-content-title h3 {
    font-size: 1.75rem;
    line-height: 1.4;
    margin-bottom: 16px;
  }
  .modal-content-title .division {
    font-weight: 400;
    text-align: left;
  }
  .modal-content-body p {
    line-height: 1.75;
    margin-bottom: 0;
  }
}

/* ----------------------------------
   3. アクティブ状態（JSでこのクラスを付与する）
---------------------------------- */
.modal-overlay.is-active {
  opacity: 1;
  pointer-events: auto; /* クリックできるようにする */
}

.tt-career-space {
  height: 75vh;
}
.tt-career-space::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: url(../img/career/space-bg-sp.jpg) no-repeat bottom center/cover;
  z-index: -1;
}
@media screen and (min-width: 768px) {
  .tt-career-space {
    height: 75vh;
    background: url(../img/career/space-bg.jpg) no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
  }
  .tt-career-space::before {
    background: unset;
  }
}

.tt-career-recruit {
  background: #E4EDEF;
  padding-bottom: 48px;
}
.tt-career-recruit .tt-career-wrapper {
  background: url(../img/career/recruit-text.svg) no-repeat top center/90%;
}
.tt-career-recruit .tt-content-inner {
  margin-bottom: 0;
}
@media screen and (min-width: 768px) {
  .tt-career-recruit .tt-career-wrapper {
    padding-top: 230px;
  }
}

.tt-recruit-table {
  line-height: 1.75;
  margin-bottom: 32px;
}
.tt-recruit-table dt {
  border-top: 1px solid #999;
  font-weight: 700;
  padding: 16px 0 8px 0;
}
.tt-recruit-table dd {
  margin: 0;
  padding-left: 1rem;
  padding-bottom: 20px;
}
.tt-recruit-table dd p {
  margin-bottom: 16px;
  line-height: 1.75;
}
.tt-recruit-table dd .tt-papa-pj {
  border: none;
}
.tt-recruit-table dd .tt-papa-pj .link {
  margin-bottom: 0;
}
.tt-recruit-table dd .tt-papa-pj .link a {
  display: block;
  border: 1px solid #ccc;
}
.tt-recruit-table dd .tt-papa-pj .link a img {
  display: block;
}
.tt-recruit-table > :last-child {
  border-bottom: 1px solid #999;
}
.tt-recruit-table > :last-child a, .tt-recruit-table > :last-child p, .tt-recruit-table > :last-child img, .tt-recruit-table > :last-child label, .tt-recruit-table > :last-child div {
  border: none;
}
@media screen and (min-width: 768px) {
  .tt-recruit-table {
    font-size: 1.125rem;
    border-top: 1px solid #999;
    display: flex;
    flex-wrap: wrap;
  }
  .tt-recruit-table dt {
    border-top: none;
    border-bottom: 1px solid #999;
    padding: 16px;
    width: 20%;
  }
  .tt-recruit-table dd {
    border-bottom: 1px solid #999;
    line-height: 1.75;
    padding: 16px;
    width: 80%;
  }
  .tt-recruit-table dd .tt-papa-pj {
    display: flex;
    justify-content: space-between;
  }
  .tt-recruit-table dd .tt-papa-pj .body {
    width: 60%;
  }
  .tt-recruit-table dd .tt-papa-pj .link {
    width: 35%;
  }
  .tt-recruit-table dd .tt-papa-pj .link img:hover {
    opacity: 0.8;
  }
}

.tt-career-entry {
  background: white;
}
.tt-career-entry .tt-career-wrapper {
  background: url(../img/career/entry-text.svg) no-repeat top center/70%;
}
.tt-career-entry h3 {
  text-align: center;
}
.tt-career-entry p {
  text-align: center;
}
.tt-career-entry-btn {
  text-align: center;
}
@media screen and (min-width: 768px) {
  .tt-career-entry .tt-career-wrapper {
    padding-top: 250px;
  }
  .tt-career-entry p {
    width: 70%;
    margin: 0 auto 80px auto;
  }
}

/*# sourceMappingURL=midcareer.css.map */
