/* デフォルトでは非表示（PC表示） */
.sp-nav,
.hamburger {
  display: none;
}

@media (max-width: 1200px) {
  .header-contact-btnwrap {
    display: none;
  }
  .openbtn {
    display: block;
    position: fixed;
    top: 0.6rem;
    right: 1.5rem;
  }
  .header-inner {
    height: 70px;
  }
  .sp-header-logo {
    display: block;
  }
  /*sp用ナビゲーション*/
  .sp-nav {
    z-index: 90;
    position: fixed;
    right: 0;
    top: 0;
    width: 300px;
    height: 100vh;
    background-color: #fff;
    transition: transform 0.5s ease;
    transform: translateX(100%);
  }
  .sp-nav.active {
    transform: translateX(0);
  }
  .sp-nav ul {
    height: 100%;
    padding: 6rem 1.5rem 1rem 1.5rem;
  }
  .sp-nav a {
    padding: 1rem 0;
    display: block;
  }
  .footer-nav {
    margin-left: 10%;
  }
	
.menu {
  list-style: none;
  padding: 0;
  margin: 0;
}
.menu li {
  margin: 10px 0;
}
	
.hamburger {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 100;
  font-size: 2rem;
  background: none;
  border: none;
  cursor: pointer;
}	
}	


@media (max-width: 768px) {
  .header-nav {
    display: none;
  }

  .sp-nav,
  .hamburger {
    display: block;
  }
	
}
	
@media (max-width: 1024px) {
  /*topページ*/
  main {
    flex-direction: column-reverse;
  }
  .top-main {
    flex-direction: column;
  }
  .main-content {
    width: 100%;
    padding: 0;
  }
  .top-sidebar {
    width: 100%;
  }
  .top-sidebar-banners {
    max-width: 400px;
    width: 100%;
    margin: 0 auto;
  }
  .top-mapsearch {
    display: none;
  }
  .top-detailedsearch {
    padding: 0;
  }
  

  /*under*/
  .u-sidebar {
    width: 100%;
    padding: 0;
  }
  .form-label p {
    width: 220px;
  }
  .form-row {
    padding: 1rem 0.5rem;
  }
  .sp-top-banner {
    display: block;
  }
}
@media (max-width: 992px) {
}
@media (max-width: 800px) {
  /*topページ*/
  .logo {
    width: 120px;
  }
  .logo-phrase {
    font-size: 0.8rem;
  }
}

@media (max-width: 768px) {
  main {
    flex-direction: column; /* 縦並びに切り替え */
  }
  
  main > .sidebar-under {
    order: 0;      /* サイドバーを先頭に */
    width: 100%;   /* 幅を100%に */
  }
  
  main > .main-content {
    order: 1;      /* メインは後 */
    width: 100% !important;
    max-width: 100%;
    flex: none;
  }


	
	
	
    .important-notice {
        padding: 15px 10px;
    }

    .important-notice p {
        font-size: 14px; /* 少し小さめで収まりやすく */
    }


/*top-detailedsearch*/
  .naviledge-container {
    flex-direction: column;
    align-items: center; /* 必要に応じて中央寄せ */
  }

.top-detailedsearch-contents {
  max-width: 1000px; /* 例：適度に狭める */
  margin: 0 auto; /* 中央寄せ */
  padding: 0 1rem; /* スマホなど狭い画面への余白 */
}	
	
  .text-section h2 {
    font-size: 24px;
  }

  .text-section p {
    font-size: 14px;
  }

  .buttons {
    flex-direction: column;
    align-items: center;
  }

  .button {
    width: 100%;
    max-width: 300px;
  }

  .image-section2 {
    display: none;
    height: 0;
    margin: 0;
    padding: 0;
  }

  .top-mapsearch-img {
    display: none;
    height: 0;
    margin: 0;
    padding: 0;
  }
	
/*features-content*/	
    .features-content {
        display: flex;
        flex-direction: column;
        align-items: center; /* 中央寄せ */
    }

    .card {
        flex-direction: column;
        text-align: center;
    }

    .card img {
        width: 100%;
        height: auto;
    }

    .card-content {
        padding: 15px;
    }

    .card-content .icon {
        text-align: center;
        margin-left: 0;
        margin-top: 10px;
    }	
	
    .card-content p {
    display: none; /* スマホでは画像を非表示にする */
}	
	
/*column*/		
  .swiper-slide {
    width: 100% !important;
    padding: 0 10px;  /* スライド間の余白 */
    box-sizing: border-box;
  }

  .swiper-slide img {
    width: 100%;
    max-width: 100%;
    border-radius: 10px;
  }

  .u-useful-item {
    flex-direction: column !important; /* ←強制的に縦並び */
    align-items: center;
  }

  .u-useful-img img {
    width: 100% !important;
    height: auto;
  }

  .u-useful-textwrap {
    width: 100%;
    padding: 0 0.5rem;
  }

  .u-useful-item-title {
    font-size: 1.1rem;
    margin-top: 0.5rem;
    text-align: center;
  }

  .u-useful-item-text {
    font-size: 0.9rem;
    text-align: center;
    color: #555;
  }	
	
	
	
/*news-section*/	
  .news-section {
    display: block !important;
    max-width: 100% !important;
    overflow: visible !important;
  }

  .news-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
  }

  .news-item {
    padding: 15px; /* 内側余白を少し小さく */
  }

  .news-header h2 {
    font-size: 20px; /* 少し小さめに */
  }

  .news-item h3 {
    font-size: 16px;
  }

  .news-item p {
    font-size: 13px;
  }

  .news-item .date {
    font-size: 11px;
    margin-bottom: 8px;
  }
	

/*footer-wrapper*/	
  .footer-wrapper {
    flex-direction: column; /* 縦並びに変更 */
    align-items: stretch;   /* 幅を揃える */
    gap: 30px;              /* 縦方向の余白調整 */
  }

  .footer-top,
  .footer-container {
    max-width: 100%;  /* 横幅を100%に */
    flex: none;       /* flex指定を解除 */
  }

  .photo-section {
    height: 150px;    /* 高さ調整（必要に応じて） */
  }

  .photo-overlay h2 {
    font-size: 14px;
  }

  .photo-overlay .button {
    font-size: 13px;
    padding: 8px 16px;
  }

  .footer-links {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px 20px;
  width: 300px;        /* お好みの幅に調整 */
  margin: 0 auto;      /* 左右中央寄せ */
  text-align: center;  /* テキストも中央寄せ */
  }

  /* li要素のマージン調整 */
  .footer-links li {
    margin-bottom: 10px;
    font-size: 14px;
  }	
	
  .footer-bottom ul {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2列 */
    gap: 10px 15px;
    justify-items: center; /* 中央寄せ */
  }
  .footer-bottom li {
    display: block; /* 横並び解除して縦方向に */
    margin: 0;
  }	

}



@media (max-width: 768px) {
  /*topページ*/
  header h1 p {
    display: none;
  }
  .useful-item-lists {
    flex-direction: column;
  }
  .useful-item {
    width: 100%;
  }
  .more-btn {
    margin-top: 3rem;
  }


	
	/*under*/
  .u-job-item {
    flex-direction: column;
    margin: 20px 0;
  }

.job-info-img {
  width: 100%;
  max-height: 200px; /* 高さの上限 */
  overflow: hidden;
  position: relative; /* object-fitの動作安定化 */
}

.job-info-img img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* 親要素に画像を全面フィット（切れる場合あり） */
  display: block;
}


  .job-item-info {
    padding: 12px;
  }

  .job-item-title {
    font-size: 16px;
    padding: 6px 12px;
  }

  .job-info-table th,
  .job-info-table td {
    font-size: 14px;
    padding: 6px 12px;
  }

  .job-item-phrase {
    font-size: 13px;
  }

  .joblisting-morewrap a {
    font-size: 14px;
    padding: 10px 20px;
  }

  /* ページネーションの余白も調整 */
  .page-navi {
    margin-top: 20px;
    gap: 12px;
  }

  .page-navi a {
    font-size: 14px;
    padding: 4px 8px;
  }
	
  /* タイトルバーは縦並びにして隙間を調整 */
  .title-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 12px;
  }

  /* 求人情報全体を縦並びに */	
	.u-job-info {
    flex-direction: column;
  }

.u-job-info-des {
    max-width: 100%;         /* 親に合わせる */
    padding: 12px 16px;      /* パディングは適度に残す */
}	
	
  .u-job-info-des table.job-info-des-table th {
    width: 35%;      /* 少し幅を広げる */
    min-width: auto; /* 最低幅解除 */
    white-space: normal; /* 見出しも折返しOK */
    font-size: 14px;
  }
  .u-job-info-des table.job-info-des-table td {
    width: 65%;
    font-size: 14px;
  }
		
  .u-job-info-img {
    max-width: 100% !important;
    height: auto !important;
  }
  .u-job-info-img img {
    width: 100% !important;
    height: auto !important;
    object-fit: contain;
  }

.job-info-img {
    max-width: 100% !important;
    height: auto !important;
}

.job-info-img img {
    width: 100% !important;
    height: auto !important;
    object-fit: contain;
}
	
  /* 応募ボタンのパディングとフォントサイズを調整 */
  .entry-btn {
    padding: 14px;
    font-size: 12px;
    width: 100%;
    text-align: center;
  }	
	

	
  .u-news-img {
    height: 170px;
  }
  .u-news-item-title,
  .u-useful-title {
    font-size: 1.1rem;
  }
  .u-news-textwrap {
    padding: 0.5rem;
  }
  .form-row {
    flex-direction: column;
    align-items: flex-start;
  }
  .form-label {
    margin-bottom: 1rem;
  }
  .form-row p {
    width: 100%;
  }
  .form-row.btn-submit p {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  .wp-block-contact-form-7-contact-form-selector form {
    padding: 0;
  }
  .u-job-info {
    flex-direction: column;
  } /*topページ*/

}
	
	
	
@media (max-width: 576px) {
  /*under*/
  .u-news-contents {
    flex-direction: column;
  }
  .u-news-item {
    width: 100%;
    margin: 1rem auto;
    max-width: 400px;
  }
  .news-single-title,
  .useful-single-title {
    font-size: 1.1rem;
  }
  .news-single-img,
  .useful-single-img {
    height: 250px;
  }
  .news-single-textwrap,
  .useful-single-textwrap {
    padding: 0 0.5rem;
  }
  .job-info-des-table th {
    width: 140px;
    padding: 0.3rem 0.75rem;
  }
  .u-job-title {
    font-size: 1.5rem;
  }
}
@media (max-width: 480px) {
  /*topページ*/
  .top-area-several {
    flex-direction: column;
  }
  .top-area-several + .top-area-several {
    margin-top: 0.5rem;
  }
  .several-items {
    width: 100%;
    margin-top: 0.5rem;
    margin-left: 0;
  }
  .more-btn {
    margin: 3rem auto 0;
  }
  .top-area-several a {
    padding: 0.4rem;
  }
  .title-bar h2 {
    font-size: 1.1rem;
    padding-left: 0.5rem;
  }
  .title-bar h2 img {
    width: 30px;
  }

  .sp-mapsearch-lists a {
    padding: 0.5rem;
    font-size: 0.95rem;
  }
  .sp-mapsearch-lists a img {
    width: 15px;
  }
  .footer-nav ul {
    flex-direction: column;
  }

  /*under*/
  .job-item-title {
    font-size: 1.2rem;
  }
  .job-item-top {
    padding: 0.5rem 0.75rem;
  }
  .job-item-phrase p {
    font-size: 1rem;
  }
  .job-info-img {
    height: 200px;
  }
  .job-info-table {
    font-size: 0.9rem;
  }
  .job-info-table th,
  .job-info-table td {
    padding: 0.65rem 0.5rem;
  }
  .job-info-table th {
    width: 100px;
  }
  .job-subtag-lists a {
    font-size: 0.9rem;
  }
  .job-subtag-lists {
    margin: 1rem;
  }
  .joblisting-morewrap {
    margin: 0;
  }
  .joblisting-morewrap a {
    font-size: 1rem;
    margin: 1rem auto 0;
  }
  .u-useful-item {
    flex-direction: column;
  }
  .u-useful-img {
    padding: 0;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
  }
  .u-useful-textwrap {
    width: 100%;
    padding: 0 0.5rem;
    margin-top: 1rem;
  }
  .u-useful-item-title {
    font-size: 1rem;
  }
  .u-useful-item-text {
    font-size: 0.9rem;
  }
  .top-features-contents {
    width: 90%;
  }
  .job-info-des-table th {
    font-size: 0.85rem;
    width: 115px;
    padding: 0.4rem 0.5rem;
  }
  .job-info-des-table td {
    font-size: 0.85rem;
  }
  .com-table th {
    width: 90px;
  }
  .u-job-info-table th,
  .u-job-info-table td,
  .job-info-des-table th,
  .job-info-des-table td {
    padding: 0.5rem;
  }
  .u-job-info-table th {
    width: 80px;
  }
  .top-detailedsearch-contents,
  .top-features-contents.slider,
  .useful-contents,
  .top-area-contents,
  .mapsearch-wrap {
    padding: 1rem;
  }
  h3.sidebar-search-title {
    font-size: 1rem;
  }
  .u-page-title {
    font-size: 1.3rem;
  }
  .u-cancellation-title {
    font-size: 1.075rem;
  }
  .u-cancellation-list-title {
    font-size: 1rem;
  }
  .u-cancellation-list-box {
    padding: 1.5rem 0.5rem 1rem 0.5rem;
  }
  .w3eden .card-body {
    padding: 1rem !important;
  }
  .u-cancellation-item {
    margin-top: 2rem;
  }
  .u-cancellation-title::before {
    margin-right: 0.5rem;
  }
  .u-cancellation {
    padding: 1rem;
  }
  .wpdm-download-link.btn.btn-primary {
    padding: 1rem 1.5rem;
  }
  .w3eden .card-body {
    padding: 0 !important;
  }
  .w3eden:nth-of-type(1) {
    margin-top: 2rem;
  }
  .qa-title {
    font-size: 1.15rem;
    margin-bottom: 1rem;
  }
  .qa-title::before {
    margin-right: 0.5rem;
    height: 30px;
  }
  /*contact-thanks*/
  .contact-thanks-box {
    padding: 1.5rem 0.75rem;
  }
  .contact-thanks-box h2 {
    font-size: 1.2rem;
  }
  .contact-thanks-box p {
    font-size: 1rem;
    margin-top: 1rem;
  }

  .privacy-item h2 {
    font-size: 1.15rem;
  }
  .privacy-item {
    font-size: 0.95rem;
  }

  .useful-single-textwrap h2,
  .news-single-textwrap h2 {
    font-size: 1.1rem;
  }
  .useful-single-textwrap h3,
  .news-single-textwrap h3 {
    font-size: 1.05rem;
  }
  .useful-single,
  .news-single {
    padding: 2rem 0.75rem;
  }
  .useful-single-textwrap p,
  .news-single-textwrap p {
    font-size: 0.95rem;
  }
  .u-job-title {
    font-size: 1.2rem;
  }
  .features-lists-contents a {
    width: 100%;
    margin: 10px;
  }
  .header-inner {
    justify-content: flex-start;
  }
  .rec-text {
    font-size: 0.9rem;
  }
  .u-job-info-table {
    font-size: 0.9rem;
  }
  .u-job-info-table th {
    padding: 0.5rem 0.2rem;
  }
  .u-job-info-table td {
    padding: 0.3rem 0.2rem;
  }
  .u-job-info-tagwrap {
    margin-top: 1.5rem;
  }
  .job-info-tags a {
    font-size: 0.85rem;
    margin: 0.25rem 0.15rem;
  }
  .entry-btn {
    font-size: 1.1rem;
  }
  .top-features-wrap {
    padding: 1rem 0;
  }
  .useful-item {
    margin: 0.5rem 0;
  }
  .job-item-phrase {
    font-size: 0.95rem;
  }
}

@media (max-width: 400px) {
  .useful-item-img {
    width: 130px;
    height: 130px;
  }
  .useful-item-title {
    font-size: 1rem;
  }
  .useful-item-textwrap {
    padding-right: 0;
  }

  .copyright {
    font-size: 0.9rem;
  }
}
@media (max-width: 350px) {
}
