@media (max-width:768px) {
  .sp-nav,
  .hamburger {
    display: block !important; 
  }
}

@media (min-width: 769px) {
  .sp-only,
  .mobile-header {
    display: none !important;
  }
}

.site-header.under-header {
  display: block;
}


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

@media (max-width:768px) {
  .site-header {
    border: none;
    box-shadow: none;
    background: transparent;
  }

  .mobile-header {
    border-bottom: 1px solid #ddd;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    background: #fff;
  }
}
@media (max-width: 1024px) and (min-width: 769px) {
  .swiper-slide {
    font-size: 0.95rem;
    min-height: 200px;
  }
}


@media (max-width: 768px) {
  .swiper-slide {
    font-size: 0.85rem;
    min-height: 180px;
    padding: 12px;
  }
}


@media (max-width: 425px) {
  .swiper-slide {
    font-size: 0.8rem;
    min-height: 160px;
    padding: 10px;
  }
}

@media (max-width: 768px) {
  .mobile-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #fff;
    z-index: 1000; 
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  }

  .mobile-header-top {
    display: flex;
    justify-content: space-between; 
    align-items: center;
    padding: 0.5rem 1rem;
  }

  .mobile-logo img {
    height: 40px;
    width: auto;
  }

  /* ハンバーガー */
.hamburger {
  position: fixed;
  top: 15px;
  right: 15px;
  display: flex;
  flex-direction: column;
  align-items: center;   
  justify-content: center;
  cursor: pointer;
  z-index: 4000;
}

.hamburger-lines {
  display: flex;
  flex-direction: column;
  justify-content: center; 
  align-items: center;
  height: auto; 
  gap: 4px;     
}

.hamburger-lines span {
  width: 22px;
  height: 2px;
  background: #000;
  transition: 0.3s;
}

.hamburger-text {
  font-size: 12px;
  margin-top: 6px; 
  color: #000;
}


  .hamburger.active .hamburger-lines span:nth-child(1) {
    transform: rotate(45deg) translate(4px, 4px);
  }
  .hamburger.active .hamburger-lines span:nth-child(2) {
    opacity: 0;
  }
  .hamburger.active .hamburger-lines span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  /* 検索バー */
  .mobile-search {
    display: flex;
    padding: 0.5rem 1rem;
    align-items: center;
  }
  .mobile-search .search-field {
    flex: 1;
    padding: 0.6rem;
    border: none;           
    border-right: none;
    font-size: 14px;
    border-radius: 4px 0 0 4px;
    background: #f9f9f9;    
  }
  .mobile-search .search-submit {
    background: #f8c400;
    color: #fff;
    border: none;
    padding: 0.6rem 1rem;
    font-size: 14px;
    cursor: pointer;
    border-radius: 0 4px 4px 0;
    margin-top: 0px;
  }
	

  /* 固定ヘッダー */
  body {
    padding-top: 60px;
  }

 
  .hero-sp .search-box {
    display: none;
  }

  /* sp-nav */
.sp-nav {
  z-index: 3000;              
  position: fixed;
  top: 0;
  right: 0;
  width: 80%;                 
  max-width: 300px;           
  height: 100vh;
  background: #fff;           
  transform: translateX(100%);
  transition: transform 0.5s ease;
  overflow-y: auto;           
  padding: 5rem 1.5rem 1rem;    
  box-shadow: -2px 0 8px rgba(0,0,0,0.2); 
}


  .sp-nav.active {
    transform: translateX(0);
  }

  .sp-nav a {
    padding: 1rem 0;
    display: block;
    color: #333;
  }

  /* sp-navlogo */
  .sp-nav-header {
    text-align: left;
    padding: 1.5rem 1rem 1rem;
    border-bottom: 1px solid #eee;
  }
  .sp-logo img {
    width: 200px;
    height: auto;
    display: block;
  }
}

@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%;
    margin-top: 3rem;
  }
  .top-sidebar-banners {
    max-width: 400px;
    width: 100%;
    margin: 0 auto;
  }
  .top-mapsearch {
    display: none;
  }
  .top-detailedsearch {
    padding: 0;
  }
  

  /*under*/
  .u-sidebar {
    width: 100%;
    margin-top: 3rem;
    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) {
  .fv {
    display: none;   
}
}	
@media (max-width: 768px) {

  .hero-container {
    flex-direction: column;
    margin-left: 0; 
    min-height: auto; 
  }
  .side-nav {
    display: none;
  }
 .main-nav {
    display: none;
  }
	
	
  .hero-main {
    display: none;
  }
.hero-sp img {
  width: 100vw;
  height: auto;
  display: block;
}	
	
.hero-sp h1 {
  position: absolute;
  top: 70%;
  left: 50%;
  transform: translate(-70%, -30%);
  color: #fff;
  font-size: 23px;
  text-align: center;
  line-height: 1.6;
  text-shadow: 0 2px 6px rgba(0,0,0,0.9);
  padding: 0 10px;
  z-index: 2;
  white-space: nowrap;
}

.hero-sp {
  position: relative;
  display: block;
  text-align: center;
  padding: 0;
}


  .sp-only {
    display: inline;
  }	
	
  .logo img {
    width: 300px; 
  }
	
  .search-box {
    flex-direction: column;
    align-items: stretch;
    max-width: 100%;
    width: 100%;
    margin-left: 0;
    gap: 10px;
  }
  .search-field {
    width: 100%;
    padding: 12px;
    font-size: 18px;
  }
 
	
	
	
  .news-strip {
    width: 100vw;       
    margin-left: 0;     
    padding: 20px 15px; 
    box-shadow: none;   
    overflow-x: auto;   
  }

  .news-container {
    padding: 0 10px;    
    gap: 15px;          
  }

  .news-label {
    font-size: 1rem;
    padding: 4px 8px;
  }

  .news-item {
    min-width: 220px;   
    white-space: normal;
  }

  .news-item .label {
    font-size: 12px;
    padding: 3px 6px;
    margin-bottom: 8px;
  }

  .news-item p {
    font-size: 11px;
  }	
	
	
  .area-search {
    padding-top: 3rem;  
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .area-container {
    flex-direction: column;
    align-items: stretch;
    gap: 1.5rem;
  }

  .search-title {
    flex: none;
    max-width: 100%;
    text-align: center;
  }

  .right-content {
    flex: none;
    max-width: 100%;
  }

  .area-grid {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 0.8rem;
  }

  .popular-grid {
    grid-template-columns: repeat(2, 1fr); 
    margin-top: 0.8rem;
    gap: 0.8rem;
  }

  .area-card img {
    height: 110px;
  }

  .area-card.small img {
    height: 80px;
  }

  .area-card span {
    font-size: 12px;
    padding: 4px 0;
  }
	
  .area-name small {
    font-size: 12px;
  }

	.popular-grid .area-card span {
    font-size: 11px;
    padding: 2px 0;
}
  .feature-section {
    padding: 40px 10px;
  }

  .section-title {
    font-size: 22px;
    margin-bottom: 30px;
  }

  .select-label {
    font-size: 14px;
  }

  .feature-grid {
    grid-template-columns: repeat(1, 1fr); 
    gap: 1rem;
    padding: 0 10px;
  }

  .feature-item {
    max-width: 100%;
  }

  .feature-item img {
    width: 100%;
    height: 160px; 
  }

  .overlay-text {
    font-size: 1rem;
  }

  .button-container {
    margin-top: 15px;
  }	
	
	
  .faq-section {
    padding: 0 15px;
    margin: 30px auto;
  }

  .faq-title {
    font-size: 22px;
    margin-bottom: 20px;
  }

  .faq-subtitle {
    font-size: 13px;
  }

  .faq-text p {
    font-size: 0.95rem;
  }

  .accordion {
    padding: 0 10px;
  }

  .accordion-header {
    font-size: 1rem;
    padding: 10px 12px;
  }

  .accordion-content {
    padding: 0 12px;
  }

  .accordion-checkbox:checked ~ .accordion-content {
    padding: 12px;
  }	

  .flow {
    padding: 20px 10px;
    max-width: 100%;
    margin-top: 20px;
  }
  
  .flow .step {
    display: flex;
    flex-wrap: wrap; 
    align-items: center;
  }
  
  .flow .step .num {
    margin-right: 10px;
    font-size: 1.2rem; 
    flex: 0 0 30px; 
  }
  
  .flow .step h3 {
    margin-right: 0;
    font-size: 1rem;
    flex: 1 1 auto; 
  }	
	
	
	
  .footer-inner {
    flex-direction: column;  
    align-items: flex-start;
  }

  .footer-left,
  .footer-right {
    width: 100%; 
    margin-bottom: 20px; 
  }

  .footer-right {
    justify-content: flex-start; 
  }

.footer-bottom a {
  white-space: nowrap;
}	
	
  /*under*/	
  .u-job-archive {
    padding-left: 15px;
    padding-right: 15px;
  }	
	
  .job-item-info,
  .u-job-item-info {
    flex-direction: column;
  }

.u-job-info-img {
  background-color: transparent !important; 
  padding: 0 !important;                    
}

.img-status {
  width: 100%;       
  max-width: 100%;   
  height: auto;
  border-radius: 8px;
  display: block;
  margin: 0 auto;
  object-fit: cover;
}

 
  .job-info-table,
  .u-job-info-table {
    width: 100%;
    margin-top: 1rem;
  }

  
  .u-job-info-table th,
  .u-job-info-table td {
    padding: 0.75rem 0.5rem;
  }

 
  .u-job-info-table th {
    width: 120px;
  }
	
	
	
.icon.icon-3 {
  display: none;
}
	
  .company-contact {
    padding: 15px;
    font-size: 14px;
  }
  .company-contact p {
    font-size: 14px;
  }
  .company-contact form input,
  .company-contact form textarea,
  .company-contact form select,
  .company-contact form button {
    font-size: 14px;
    padding: 8px;
  }
	
	
	
	

  .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ページ*/

  .footer-logo img {
    width: 150px;
  }

}
@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 screen and (max-width: 767px) {
  .job-card {
    max-width: 100%;          
    min-height: auto;       
  }

  .job-image {
    width: 100%;
    height: auto;
    max-height: 200px;       
  }
}


@media screen and (min-width: 768px) and (max-width: 1023px) {
  .job-card {
    max-width: 90%;          
  }
}

@media screen and (min-width: 1024px) {
  .job-card {
    max-width: 800px;         
  }
}



@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) {
}
