/* 職種紹介ページのスタイル - 既存スタイルに合わせた実装 */

:root {
  --color-dark-blue: #1a4a7a;
  --color-light-blue: #99C1D5;
  --color-accent-yellow: #caf880;
  --color-white: #ffffff;
  --color-text-dark: #333333;
  --color-text-gray: #666666;
}

.recruit-job-section {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 60px 40px 100px;
  background-color: var(--color-white);
  overflow: visible;
}

.container {
  width: 100%;
}

.recruit-job-section .container {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 0;
  padding-right: 0;
  box-sizing: border-box;
}

/* ページタイトルセクション */
.job-page-title-section {
  margin-bottom: 80px;
}

/* 1024px以下では非表示 */
@media screen and (max-width: 1024px) {
  .job-page-title-section {
    display: none;
  }
}

.job-main-title {
  font-size: 36px;
  font-weight: bold;
  color: var(--color-dark-blue);
  margin-bottom: 40px;
  text-align: center;
}

/* anchor.phpと同じデザインのナビゲーション */
.flex-col3 > * {
  width: 30.33%;
  margin-right: 3%;
  margin-bottom: 3%;
}

@media screen and (max-width: 767px) {
  .flex-col3 > * {
    width: 100%;
    margin-bottom: 16px;
    margin-right: 0;
  }

  .anchor-btn:not(:last-child) {
    margin-bottom: 8px;
  }
}

.job-page-title-section .inner {
  width: 90%;
  max-width: 1080px;
  margin-left: auto;
  margin-right: auto;
}

@media screen and (max-width: 1080px) {
  .job-page-title-section .inner {
    width: 90%;
  }
}

@media screen and (max-width: 767px) {
  .job-page-title-section .inner {
    width: 86%;
  }
}

.anchor-btn a {
  position: relative;
  line-height: 1;
  z-index: 1;
  display: block;
  padding: 28px 88px 28px 40px;
  border-radius: 0;
  width: 100%;
  max-width: 320px;
  color: #0B2C5E;
  border: 1px solid #0B2C5E;
  text-align: center;
  text-decoration: none;
  font-size: 14px;
}

@media screen and (max-width: 767px) {
  .anchor-btn a {
    max-width: 100%;
    padding: 18px 44px 18px 16px;
    font-size: 14px;
  }
}

.anchor-btn a::before {
  content: '';
  position: absolute;
  top: calc(50% - 24px);
  right: 20px;
  display: block;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: solid #0B2C5E 1px;
  background: #fff;
  transition: all .4s ease-out;
}

@media screen and (max-width: 767px) {
  .anchor-btn a::before {
    top: calc(50% - 16px);
    width: 32px;
    height: 32px;
  }
}

.anchor-btn a:hover:before {
  background: #0B2C5E;
  transition: all .4s ease-out;
}

.btn-business a {
  border: none;
  border-bottom: 1px solid #0B2C5E;
  text-align: left;
}

.btn-business a::after {
  content: '';
  position: absolute;
  top: 42%;
  right: 37px;
  display: block;
  width: 11px;
  height: 14px;
  background-repeat: no-repeat;
  transform: rotate(-90deg);
}

.btn-business a::after {
  transform: rotate(0deg);
  right: 39.5px;
  background: url(../../../img/yoriyasu/business/down.svg) no-repeat center/contain;
}

@media screen and (max-width: 767px) {
  .btn-business a::after {
    top: 38%;
    right: 31.8px;
  }
}

.btn-business a:hover:after {
  background: url(../../../img/yoriyasu/business/down-white.svg) no-repeat center/contain;
}

/* 職種セクション共通スタイル */
.job-section {
  scroll-margin-top: 100px;
  margin-bottom: 120px;
  width: 100%;
  padding-left: 0;
  padding-right: 0;
  margin-left: 0;
  margin-right: 0;
  box-sizing: border-box;
}

.webdev-section,
.insidesales-section {
  margin-bottom: 1.5em;
  width: 100%;
  padding-left: 0;
  padding-right: 0;
  margin-left: 0;
  margin-right: 0;
  box-sizing: border-box;
}

.job-section:last-child {
  margin-bottom: 0;
}

/* 営業セクション */
.sales-layout {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 60px;
  align-items: start;
}

.sales-header-column {
  position: sticky;
  top: 100px;
}

.sales-header {
  text-align: left;
}

.sales-title {
  font-size: 32px;
  font-weight: bold;
  color: var(--color-dark-blue);
  margin-bottom: 15px;
}

.sales-underline {
  width: 60px;
  height: 3px;
  background-color: var(--color-dark-blue);
  margin-bottom: 15px;
}

.sales-subtitle {
  font-size: 16px;
  color: var(--color-text-gray);
}

.sales-content-column {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.sales-tagline {
  font-size: 28px;
  font-weight: bold;
  color: var(--color-dark-blue);
  line-height: 1.6;
}

.sales-description {
  font-size: 16px;
  color: var(--color-text-dark);
  line-height: 1.8;
}

.sales-image {
  width: 100%;
  margin: 20px 0;
}

.sales-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}

.sales-details-box {
  background-color: #f0f0f0;
  padding: 30px;
  border-radius: 8px;
  margin-top: 20px;
}

.sales-detail-title {
  font-size: 22px;
  font-weight: bold;
  color: var(--color-dark-blue);
  margin-bottom: 25px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--color-dark-blue);
}

.sales-detail-category {
  margin-bottom: 25px;
}

.sales-detail-category:last-child {
  margin-bottom: 0;
}

.sales-detail-category-title {
  font-size: 18px;
  font-weight: bold;
  color: var(--color-text-dark);
  margin-bottom: 15px;
}

.sales-detail-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sales-detail-list li {
  font-size: 16px;
  color: var(--color-text-dark);
  line-height: 1.8;
  padding-left: 20px;
  position: relative;
  margin-bottom: 10px;
}

.sales-detail-list li::before {
  content: '・';
  position: absolute;
  left: 0;
  color: var(--color-dark-blue);
  font-weight: bold;
}

.sales-detail-text {
  font-size: 16px;
  color: var(--color-text-dark);
  line-height: 1.8;
  margin-bottom: 15px;
}

.sales-detail-text:last-child {
  margin-bottom: 0;
}

/* 製造スタッフ(金属加工)セクション */
.metal-layout {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 60px;
  align-items: start;
}

.metal-header-column {
  position: sticky;
  top: 100px;
}

.metal-header {
  text-align: left;
}

.metal-title {
  font-size: 32px;
  font-weight: bold;
  color: var(--color-dark-blue);
  margin-bottom: 15px;
}

.metal-underline {
  width: 60px;
  height: 3px;
  background-color: var(--color-dark-blue);
  margin-bottom: 15px;
}

.metal-subtitle {
  font-size: 16px;
  color: var(--color-text-gray);
}

.metal-content-column {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.metal-tagline {
  font-size: 28px;
  font-weight: bold;
  color: var(--color-dark-blue);
  line-height: 1.6;
}

.metal-description {
  font-size: 16px;
  color: var(--color-text-dark);
  line-height: 1.8;
}

.metal-image {
  width: 100%;
  margin: 20px 0;
}

.metal-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}

.metal-details-box {
  background-color: #f0f0f0;
  padding: 30px;
  border-radius: 8px;
  margin-top: 20px;
}

.metal-detail-title {
  font-size: 22px;
  font-weight: bold;
  color: var(--color-dark-blue);
  margin-bottom: 25px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--color-dark-blue);
}

.metal-detail-category {
  margin-bottom: 25px;
}

.metal-detail-category:last-child {
  margin-bottom: 0;
}

.metal-detail-divider {
  height: 1px;
  background-color: #e0e0e0;
  margin: 25px 0;
}

.metal-detail-category-title {
  font-size: 18px;
  font-weight: bold;
  color: var(--color-text-dark);
  margin-bottom: 15px;
}

.metal-detail-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.metal-detail-list li {
  font-size: 16px;
  color: var(--color-text-dark);
  line-height: 1.8;
  padding-left: 20px;
  position: relative;
  margin-bottom: 10px;
}

.metal-detail-list li::before {
  content: '・';
  position: absolute;
  left: 0;
  color: var(--color-dark-blue);
  font-weight: bold;
}

.metal-detail-text {
  font-size: 16px;
  color: var(--color-text-dark);
  line-height: 1.8;
  margin-bottom: 15px;
}

.metal-detail-text:last-child {
  margin-bottom: 0;
}

/* Web・システム開発業務セクション */
.webdev-layout {
  display: grid;
  grid-template-columns: 350px 1fr;
  gap: 60px;
  align-items: start;
  position: relative;
  width: 100%;
  padding-left: 0;
  padding-right: 0;
  margin-left: 0;
  margin-right: 0;
  box-sizing: border-box;
}

.webdev-header-column {
  align-self: start;
  min-width: 0;
  width: 100%;
  padding-left: 0;
  padding-right: 0;
  margin-left: 0;
  margin-right: 0;
  box-sizing: border-box;
}

.webdev-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  align-content: flex-start;
  padding: 0;
  padding-left: 0;
  padding-right: 0;
  margin-left: 0;
  margin-right: 0;
  text-align: left;
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
}

.webdev-title {
  font-size: 32px;
  font-weight: bold;
  color: #23A0DA;
  margin: 0 0 10px 0;
  padding-left: 0;
  padding-right: 0;
  margin-left: 0;
  margin-right: 0;
  text-align: left;
  line-height: 1.2;
  box-sizing: border-box;
}

.webdev-underline {
  width: 60px;
  height: 3px;
  background-color: var(--color-dark-blue);
  margin-bottom: 20px;
  margin-left: 0;
  margin-right: 0;
}

.webdev-content-column {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.webdev-details-box {
  padding: 30px;
  border-radius: 8px;
  margin-top: 20px;
}

.webdev-detail-title {
  font-size: 22px;
  font-weight: bold;
  color: #191e2e;
  margin-bottom: 25px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--color-dark-blue);
}

.webdev-detail-category {
  margin-top: 2em;
  margin-bottom: 25px;
}

.webdev-detail-category-title {
  font-size: 18px;
  font-weight: bold;
  color: var(--color-text-dark);
  margin-bottom: 15px;
}

.webdev-detail-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.webdev-detail-list li {
  font-size: 16px;
  color: var(--color-text-dark);
  line-height: 1.8;
  padding-left: 20px;
  position: relative;
  margin-bottom: 10px;
}

.webdev-detail-list li::before {
  content: '・';
  position: absolute;
  left: 0;
  color: var(--color-dark-blue);
  font-weight: bold;
}

.webdev-detail-note {
  font-size: 14px;
  color: var(--color-text-gray);
  font-style: italic;
  margin-top: 10px;
  margin-bottom: 15px;
}

.webdev-detail-text {
  font-size: 16px;
  color: var(--color-text-dark);
  line-height: 1.8;
  margin-bottom: 15px;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.webdev-detail-text:last-child {
  margin-bottom: 0;
}

.webdev-image-placeholder {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  margin: 30px 0;
}

.webdev-image-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}

/* PC画面でのスタイル */
@media screen and (min-width: 1025px) {
  .webdev-image-placeholder {
    width: 60%;
    aspect-ratio: 16 / 9;
    border-radius: 8px;
    margin: 30px auto;
  }
}

/* インサイドセールス業務セクション */
.insidesales-layout {
  display: grid;
  grid-template-columns: 350px 1fr;
  gap: 60px;
  align-items: start;
  position: relative;
  width: 100%;
  padding-left: 0;
  padding-right: 0;
  margin-left: 0;
  margin-right: 0;
  box-sizing: border-box;
}

.insidesales-header-column {
  align-self: start;
  min-width: 0;
  width: 100%;
  padding-left: 0;
  padding-right: 0;
  margin-left: 0;
  margin-right: 0;
  box-sizing: border-box;
}

.insidesales-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  align-content: flex-start;
  padding: 0;
  padding-left: 0;
  padding-right: 0;
  margin-left: 0;
  margin-right: 0;
  text-align: left;
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
}

.insidesales-title {
  font-size: 32px;
  font-weight: bold;
  color: #23A0DA;
  margin: 0 0 10px 0;
  padding-left: 0;
  padding-right: 0;
  margin-left: 0;
  margin-right: 0;
  text-align: left;
  line-height: 1.2;
  box-sizing: border-box;
}

.insidesales-underline {
  width: 60px;
  height: 3px;
  background-color: var(--color-dark-blue);
  margin-bottom: 20px;
  margin-left: 0;
  margin-right: 0;
}

.insidesales-content-column {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.insidesales-details-box {
  padding: 30px;
  border-radius: 8px;
  margin-top: 20px;
}

.insidesales-detail-title {
  font-size: 22px;
  font-weight: bold;
  color: #191e2e;
  margin-bottom: 25px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--color-dark-blue);
}

.insidesales-detail-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.insidesales-detail-list li {
  font-size: 16px;
  color: var(--color-text-dark);
  line-height: 1.8;
  padding-left: 20px;
  position: relative;
  margin-bottom: 10px;
}

.insidesales-detail-list li::before {
  content: '・';
  position: absolute;
  left: 0;
  color: var(--color-dark-blue);
  font-weight: bold;
}

.insidesales-detail-sublist {
  list-style: none;
  padding: 0;
  margin: 10px 0 10px 20px;
}

.insidesales-detail-sublist li {
  font-size: 14px;
  color: var(--color-text-gray);
  padding-left: 15px;
}

.insidesales-detail-sublist li::before {
  content: "-";
  position: absolute;
  left: 0;
  color: var(--color-text-gray);
}

.insidesales-detail-text {
  font-size: 16px;
  color: var(--color-text-dark);
  line-height: 1.8;
  margin-bottom: 15px;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.insidesales-detail-text:last-child {
  margin-bottom: 0;
}

.insidesales-image-placeholder {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  margin: 30px 0;
}

.insidesales-image-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}

/* PC画面でのスタイル */
@media screen and (min-width: 1025px) {
  .insidesales-image-placeholder {
    width: 60%;
    aspect-ratio: 16 / 9;
    border-radius: 8px;
    margin: 30px auto;
  }
}


/* 総合職 DXセクション */
.dx-layout {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 60px;
  align-items: start;
}

.dx-header-column {
  position: sticky;
  top: 100px;
}

.dx-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  align-content: flex-start;
  padding: 0;
  text-align: left;
}

.dx-title {
  font-size: 32px;
  font-weight: bold;
  color: var(--color-dark-blue);
  margin: 0 0 10px 0;
  line-height: 1.2;
}

.dx-underline {
  width: 60px;
  height: 3px;
  background-color: var(--color-dark-blue);
  margin-bottom: 20px;
  margin-left: 0;
  margin-right: 0;
}

.dx-content-column {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.dx-details-box {
  background-color: #f0f0f0;
  padding: 30px;
  border-radius: 8px;
  margin-top: 20px;
}

.dx-detail-title {
  font-size: 22px;
  font-weight: bold;
  color: var(--color-dark-blue);
  margin-bottom: 25px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--color-dark-blue);
}

.dx-detail-category {
  margin-bottom: 25px;
}

.dx-detail-category-title {
  font-size: 18px;
  font-weight: bold;
  color: var(--color-text-dark);
  margin-bottom: 15px;
}

.dx-detail-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.dx-detail-list li {
  font-size: 16px;
  color: var(--color-text-dark);
  line-height: 1.8;
  padding-left: 20px;
  position: relative;
  margin-bottom: 10px;
}

.dx-detail-list li::before {
  content: '・';
  position: absolute;
  left: 0;
  color: var(--color-dark-blue);
  font-weight: bold;
}

.dx-detail-note {
  font-size: 14px;
  color: var(--color-text-gray);
  font-style: italic;
  margin-top: 10px;
  margin-bottom: 15px;
}

.dx-detail-text {
  font-size: 16px;
  color: var(--color-text-dark);
  line-height: 1.8;
  margin-bottom: 15px;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.dx-detail-text:last-child {
  margin-bottom: 0;
}

.dx-image-placeholder {
  width: 100%;
  aspect-ratio: 16 / 9;
  background-color: #e0e0e0;
  border-radius: 8px;
  margin: 30px 0;
}

.dx-image-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}

/* 事業開発・運営業務（総合職）セクション */
.general-layout {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 60px;
  align-items: start;
}

.general-header-column {
  position: sticky;
  top: 100px;
}

.general-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  align-content: flex-start;
  padding: 0;
  text-align: left;
}

.general-title {
  font-size: 32px;
  font-weight: bold;
  color: var(--color-dark-blue);
  margin: 0 0 10px 0;
  line-height: 1.2;
}

.general-underline {
  width: 60px;
  height: 3px;
  background-color: var(--color-dark-blue);
  margin-bottom: 20px;
  margin-left: 0;
  margin-right: 0;
}

.general-content-column {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.general-details-box {
  background-color: #f0f0f0;
  padding: 30px;
  border-radius: 8px;
  margin-top: 20px;
}

.general-detail-title {
  font-size: 22px;
  font-weight: bold;
  color: var(--color-dark-blue);
  margin-bottom: 25px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--color-dark-blue);
}

.general-detail-category {
  margin-bottom: 25px;
}

.general-detail-category-title {
  font-size: 18px;
  font-weight: bold;
  color: var(--color-text-dark);
  margin-bottom: 15px;
}

.general-detail-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.general-detail-list li {
  font-size: 16px;
  color: var(--color-text-dark);
  line-height: 1.8;
  padding-left: 20px;
  position: relative;
  margin-bottom: 10px;
}

.general-detail-list li::before {
  content: '・';
  position: absolute;
  left: 0;
  color: var(--color-dark-blue);
  font-weight: bold;
}

.general-detail-note {
  font-size: 14px;
  color: var(--color-text-gray);
  font-style: italic;
  margin-top: 10px;
  margin-bottom: 15px;
}

.general-detail-text {
  font-size: 16px;
  color: var(--color-text-dark);
  line-height: 1.8;
  margin-bottom: 15px;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.general-detail-text:last-child {
  margin-bottom: 0;
}

.general-image-placeholder {
  width: 100%;
  aspect-ratio: 16 / 9;
  background-color: #e0e0e0;
  border-radius: 8px;
  margin: 30px 0;
}

.general-image-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}

/* 1024px以上でのsticky設定 */
@media screen and (min-width: 1025px) {
  /* 親要素のoverflowを確実に解除 - stickyが動作するために必須 */
  main.recruit-job,
  main.recruit-job > *,
  .recruit-job-section,
  .recruit-job-section .container,
  .job-section,
  .webdev-layout,
  .insidesales-layout {
    overflow: visible !important;
  }
  
  .webdev-header-column,
  .insidesales-header-column {
    position: sticky;
    top: 120px;
    align-self: start;
    height: fit-content;
    z-index: 10;
    background-color: var(--color-white);
    padding-bottom: 20px;
    padding-left: 0;
    padding-right: 0;
    margin-left: 0;
    margin-right: 0;
    min-width: 0;
    box-sizing: border-box;
  }
  
  .webdev-layout,
  .insidesales-layout {
    grid-template-columns: 350px 1fr;
    align-items: start;
    width: 100%;
    padding-left: 0;
    padding-right: 0;
    margin-left: 0;
    margin-right: 0;
    box-sizing: border-box;
  }
}

/* レスポンシブデザイン */
@media screen and (max-width: 1024px) {
  .webdev-layout,
  .insidesales-layout,
  .dx-layout,
  .general-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .webdev-header-column,
  .insidesales-header-column,
  .dx-header-column,
  .general-header-column {
    position: static;
  }

  .webdev-header,
  .insidesales-header,
  .dx-header,
  .general-header {
    text-align: center;
  }
}

@media screen and (max-width: 767px) {
  .recruit-job-section {
    padding: 40px 20px 60px;
  }

  .recruit-job-section .container {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding: 0;
    padding-left: 0;
    padding-right: 0;
    box-sizing: border-box;
  }

  .job-main-title {
    font-size: 28px;
    margin-bottom: 30px;
  }


  .webdev-title,
  .insidesales-title,
  .dx-title,
  .general-title {
    font-size: 24px;
  }

  .webdev-details-box,
  .insidesales-details-box,
  .dx-details-box,
  .general-details-box {
    padding: 20px;
  }

  .webdev-detail-title,
  .insidesales-detail-title,
  .dx-detail-title,
  .general-detail-title {
    font-size: 20px;
  }

  .webdev-image-placeholder,
  .insidesales-image-placeholder,
  .dx-image-placeholder,
  .general-image-placeholder {
    margin: 20px 0;
  }
}

/* テーブルスタイル - recruit-jobページ専用 */
.recruit-job-section table {
  width: 100% !important;
}

/* トグル機能 - スマホ用 */
.job-toggle-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  cursor: pointer;
  gap: 15px;
}

.job-toggle-btn {
  display: none;
  background: none;
  border: none;
  font-size: 32px;
  color: #23A0DA;
  cursor: pointer;
  padding: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.job-toggle-btn:focus {
  outline: 2px solid var(--color-dark-blue);
  outline-offset: 2px;
}

.toggle-icon {
  display: inline-block;
  transition: transform 0.3s ease;
  font-weight: bold;
  line-height: 1;
}

.job-toggle-btn[aria-expanded="true"] .toggle-icon {
  transform: rotate(45deg);
}

.job-toggle-content {
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease, padding 0.3s ease;
  overflow: hidden;
}

/* スマホ画面幅でのトグル機能 */
@media screen and (max-width: 1024px) {
  .job-toggle-btn {
    display: flex;
  }
  
  .job-toggle-content {
    max-height: 0;
    opacity: 0;
    padding-top: 0;
    padding-bottom: 0;
  }
  
  .job-toggle-content.is-open {
    max-height: 10000px;
    opacity: 1;
    padding-top: 20px;
    padding-bottom: 0;
  }
  
  /* ヘッダーをクリック可能にする */
  .job-toggle-header {
    padding: 15px 0;
    border-bottom: 2px solid;
    border-image: linear-gradient(to right, rgba(35, 160, 218, 0.2), rgba(35, 160, 218, 0.4)) 1;
    margin-bottom: 0;
    cursor: pointer;
    user-select: none;
    flex-wrap: wrap;
    align-items: flex-start;
  }
  
  .job-toggle-header:hover {
    opacity: 0.8;
  }
  
  .webdev-header,
  .insidesales-header {
    width: 100%;
    display: flex;
    flex-direction: row !important;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 10px;
  }
  
  .webdev-title,
  .insidesales-title {
    margin: 0 !important;
    flex: 1;
    min-width: 0;
    max-width: calc(100% - 50px);
    pointer-events: none;
    text-align: left;
    line-height: 1.4;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
  
  .job-toggle-btn {
    margin-left: auto;
    flex-shrink: 0;
    align-self: flex-start;
    margin-top: 0;
  }
}

/* PC画面幅では常に表示 */
@media screen and (min-width: 1025px) {
  .job-toggle-btn {
    display: none !important;
  }
  
  .job-toggle-content {
    max-height: none !important;
    opacity: 1 !important;
  }
  
  .job-toggle-header {
    cursor: default;
  }
}

