html {
  scroll-behavior: smooth;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: "Noto Sans JP", sans-serif;
	overflow-x: hidden;
  background-color: #fff; 
}

a {
  text-decoration: none;
  color: inherit;
  letter-spacing: 1.2px;
}
a.initial {
  text-decoration: underline;
  color: initial;
}

li {
  list-style: none;
}
h1,
h2,
h3,
h4,
h5,
p,
span {
  letter-spacing: 1.2px;
  line-height: 1.7;
}
button {
  background-color: transparent;
  border: none;
  cursor: pointer;
  outline: none;
  padding: 0;
  appearance: none;
}
.popup {
  position: fixed;
  right: 20px;
  background: #fff;
  padding: 12px 18px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.6);
  font-size: 14px;
  opacity: 0;
  transform: translateX(100px); 
  transition: all 0.6s ease;
  pointer-events: none;
  z-index: 9999;
}

.popup.show {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
  animation: bounce 0.8s infinite ease-in-out; 
}

.popup.hide {
  opacity: 0;
  transform: translateX(100px);
  pointer-events: none;
}

@keyframes bounce {
  0%   { transform: translateX(0) translateY(0); }
  50%  { transform: translateX(0) translateY(-15px); }
  100% { transform: translateX(0) translateY(0); }
}

#popup-offer   { bottom: 90px; }
#popup-contact { bottom: 20px; }

.popup-link {
  text-decoration: none;
  color: #333;
  font-weight: bold;
}
@media (min-width: 1400px) {
  .popup {
    padding: 20px 28px;
    border-radius: 16px;
    font-size: 18px;
  }

  .popup-link {
    font-size: 18px;
  }
 #popup-offer {
    bottom: 140px;
  }
  #popup-contact {
    bottom: 40px;
  }	
	
}

/*fv*/
.fv {
  display: flex;
}

.hero-left {
  flex: 7; 
  position: relative;
  overflow: hidden;
}

.hero-left video {
  height: 100%;       
  width: 100%;        
  object-fit: cover;  
}


.hero-right {
  flex: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px;
  max-width: 600px;
}


.hero-right h1 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.hero-sp {
  display: none;
}

.logo img {
  width: 300px;
  height: auto; 
  margin-bottom: 10px;
}

h1 {
  margin: 0 0 20px 0; 
  text-align: right;  
  color: #000;
  font-size: 25px;
}

.search-box {
  display: flex;
  width: 100%;
  max-width: 600px;
  align-items: flex-end;
  margin-left: auto; 
  gap: 10px;
}

.search-field {
  width: 100%;
  max-width: 500px;
  padding: 10px;
  font-size: 16px;
}
.hero-inner {
  max-width: 600px;
  text-align: center;
  margin: 0 auto;
}

.hero-right .search-box {
  max-width: 800px;
  width: 100%;
  margin: 20px auto 0;
  display: flex;
  align-items: center;
  gap: 10px;
}



.hero-right .search-field {
  flex: 1;
  min-width: 0;
  padding: 12px;
  font-size: 16px;
}

.hero-right .search-box {
  text-align: center;
}

.hero-right .search-submit {
  display: inline-block; 
  margin-top: 15px;
  padding: 4px 50px;
  background: linear-gradient(135deg, #ffd11a, #ff9900);
  color: #fff;
  font-size: 18px;
  font-weight: bold;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0,0,0,0.25);
  transition: all 0.3s ease;
}

.hero-right .search-submit:hover {
  background: linear-gradient(135deg, #ffcc00, #ff6600);
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.3);
}



button {
  margin-top: 10px;
  padding: 10px 20px;
  background: #ffd11a;
  color: #fff;
  border: none;
  cursor: pointer;
}

body {
  margin: 0;
  padding: 0;
}

header.under-header,
header.site-header {
  margin-top: 0;
  padding-top: 0;
}

header.under-header {
  background: #fff;
}


/*main*/

main {
  width: 100%;
  max-width: none;
  margin: 0;
  display: flex;
}
.main-content {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 10px;
}


/*top title*/
.title-bar h2 {
  color: #696969;
  font-size: 1.5rem;
  text-align: center
}

.title-header {
    text-align: left;
    margin-bottom: 30px;
}

.title-header h2 {
    font-size: 32px;
    color: #1c5e8c;
    margin: 0;
}

.title-header p {
    font-size: 16px;
    color: #666;
}

.topB {
  display: block;
  max-width: 600px;
  margin: 0 auto;
  width: 100%; 
  margin-top: 20px;
}




/* header */
.pc-only { display: block; }
.nav-sp,
.hamburger {
  display: none;
}

.site-header {
  background: rgba(255, 255, 255, 0.7); 
  border-bottom: 1px solid #eee;
  padding: 10px 40px;

  position: fixed;   
  top: 0px;           
  left: 0;           
  width: 100%;      
  z-index: 1000;    
  backdrop-filter: blur(6px); 
}


.header-container {
  max-width: 1200px;
  margin-left: auto;  
  margin-right: 0;    
  display: flex;
  justify-content: flex-end;
  align-items: center;
}


.main-nav-logo img {
  height: 100px;
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 50px;
  margin: 0;
  padding: 0;
}

.main-nav a {
  text-decoration: none;
  color: #333;
  font-weight: bold;
  font-size: 16px;
  transition: color 0.3s;
}

.main-nav a:hover {
  color: #FFD11A;
}

/* 下層ページ専用ヘッダー */
.under-header {
  top: 0;
  left: 0;
  width: 100%;
  background: #fff;
  z-index: 1000;
  border-bottom: 1px solid #eee;
}

.under-header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.under-logo img {
  height: 40px;
}

.under-search {
  display: flex;
  gap: 10px;
}

.under-search .search-field {
  padding: 6px 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.under-search .search-submit {
  padding: 6px 12px;
  background: #ffd11a;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.header-container2 {
  max-width: 1200px;
  margin-left: auto;  
  margin-right: auto;    
  align-items: center;
}


.under-header-top {
  display: flex;
  justify-content: space-between; 
  align-items: center;
  padding: 10px 40px;
}


.under-header-bottom {
  display: flex;
  justify-content: center; 
}


.under-header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 20px;   
}

.under-header-top .main-nav-logo img {
  height: 60px;        
}

.under-header-top .main-nav ul {
  display: flex;
  gap: 20px;           
  margin: 0;
  padding: 0;
}

.under-header-top .main-nav a {
  font-size: 14px;     
}


/* 検索バーの親フォーム */
.under-header .mobile-search {
  display: flex;
  justify-content: center; 
  align-items: center;
  gap: 0;                  
  max-width: 600px;        
  margin: 0 auto;          
}

/* 入力欄 */
.under-header .mobile-search .search-field {
  flex: 1;                 
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px 0 0 4px;
}

/* 検索ボタン */
.under-header .mobile-search .search-submit {
  padding: 10px 20px;
  background: #ffd11a;
  border: none;
  border-radius: 0 4px 4px 0; 
  cursor: pointer;
  margin-top:0;
}


/* TOP　左側 */
.hero-container {
  flex-direction: row; 
  min-height: 500px;
  margin-left: 100px; 
}
.side-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100px;
  height: 100vh;
  background: rgba(255, 255, 255, 0.9);
  padding: 10px;
  box-sizing: border-box;
  text-align: center;
  font-size: 10px;
  z-index: 1000;
}

.side-nav ul {
  display: flex;
  flex-direction: column;
  gap:10px; 
  align-items: center; 
  height: 100%;
  justify-content: center;
}

.side-nav li a{
  margin-bottom: 15px;
}

.side-nav li {
  writing-mode: vertical-rl;
  text-align: center;
  font-size: 12px; 
  letter-spacing: 2px; 
  margin-bottom: 4px;
}

.side-nav li span {
  display: block;
  font-size: 10px;
}

.side-nav ul li {
   display: flex;
  align-items: center;      
  justify-content: center;  
  border-bottom: 1px solid #e0a226;
  writing-mode: vertical-rl;
  text-align: center;
  font-size: 12px;
  letter-spacing: 2px;
}

.side-nav ul li a.active {
  font-weight: bold;
}

.side-nav ul li a.active span {
  color: #e0a226;
  font-weight: bold;
  border-left: none; 
  background: rgba(224, 162, 38, 0.1); 
  padding: 4px;
  border-radius: 4px;
}


.news-strip {
  position: relative;
  margin-left: auto;           
  margin-right: 0;             
  width: 85vw;                
  background: #fff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  padding: 30px 40px;
  margin-top: 40px;
  margin-bottom: 90px;
  overflow-x: auto;
  white-space: nowrap;
}

.news-container {
  display: flex;
  gap: 20px;
  padding: 0 40px;
}

.news-label {
  font-weight: bold;
  font-size: 1.2rem;
  color: #fff;
  background-color: #696969;
  padding: 5px 10px;
  white-space: nowrap;
}

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

.news-item .label {
  font-size: 13px;
  font-weight: bold;
  color: #fff;
  background: #ffd11a;
  padding: 4px 8px;
  margin-bottom: 10px;
  display: inline-block;
  width: 100%;
}

.news-item p {
  font-size: 12px;
  margin: 0;
  width: 100%;
  height: 250px;            
  line-height: 1.6;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  background: #fff;
  box-sizing: border-box;
  overflow: hidden;         
}

/* area-search */
.area-search {
  padding: 2rem;
  padding-top: 5rem;  
  max-width: 1200px;
  margin: 0 auto; 
}


.area-container {
  max-width: 1200px; 
  margin: 0 auto;
  display: flex;
  align-items: center;
}


.search-title {
  flex: 1 1 200px;
  max-width: 300px;
}


.right-content {
  flex: 1 1 700px;
  max-width: 800px;
}

/* 地域カードグリッド */
.area-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); 
  gap: 20px;
}

/* 人気エリア */
.popular-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); 
  gap: 15px;
  margin-top: 20px;
}

.popular-grid .area-card img {
  height: 140px;
}

.popular-grid .area-card span {
  font-size: 14px;
}


@media (max-width: 768px) {
  .area-grid {
    grid-template-columns: repeat(2, 1fr); 
  }
  .popular-grid {
    grid-template-columns: repeat(2, 1fr); 
  }
  .area-card img {
    height: 140px;
  }
}

/* 各カード共通 */
.area-card {
position: relative;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.area-card img {
 width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.area-card span {
position: absolute;
  bottom: 0;  
  left: 0;
  width: 100%;               
  background: rgba(0,0,0,0.5);
  color: #fff;
  text-align: center;
  font-size: 16px;
  font-weight: bold;
  padding: 6px 0;
  box-sizing: border-box;
}

.area-card:hover {
  transform: translateY(-4px);
}

.area-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255,255,255,0);
  transition: background 0.3s ease;
  pointer-events: none; 
}


.area-card:hover::after {
  background: rgba(255,255,255,0.2);
}

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

/* feature */

.feature-btn-wrap {
  text-align: center;
}
@media screen and (min-width: 768px) {
  .feature-btn-wrap {
  padding: 5px 20px 5px 120px;
  }
}

.feature-list-btn {
  display: inline-block;
  background-color: #f39c12;
  color: #fff;
  padding: 10px 30px;
  border-radius: 15px; 
  font-weight: bold;
  text-decoration: none;
  transition: 0.3s;
}

.feature-list-btn:hover {
  background-color: #d35400; 
}

.feature-section {
  position: relative;
  width: 100%;            
  margin-top: -40px;      
  padding: 5px 20px 40px 120px; 
  box-sizing: border-box; 
  z-index: 2;             
}


.feature-section .swiper {
  width: 100%;
}

.swiper-button-prev,
.swiper-button-next {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(0,0,0,0.6); 
  display: flex;
  align-items: center;
  justify-content: center;
}

.swiper-button-prev::after,
.swiper-button-next::after {
  font-size: 18px;
  font-weight: bold;
  color: #fff;   
}

.swiper-button-prev::after {
  content: "←";
}

.swiper-button-next::after {
  content: "→";
}

.myFeatureSwiper .swiper-pagination-bullet-active {
  background-color: #f39c12; 
}

@media (min-width: 768px) {
  .myFeatureSwiper .swiper-pagination {
    position: relative !important;
    bottom: auto !important;
    margin-top: 15px;
    text-align: center;
  }
}



.feature-card {
  display: flex;
  align-items: center;
  position: relative;
  text-decoration: none;
  color: inherit;
  border: 2px solid #333;
  border-radius: 3px;
  background: #fff;
  overflow: visible;
  height: 120px;
  box-shadow: 0 3px 6px rgba(0,0,0,0.5);
}
.feature-card:hover {
  transform: translateY(-5px); 
}

.card-image {
  flex: 0 0 45%;
  height: 100%;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-body {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
}

.card-title {
  font-size: 16px;
  font-weight: bold;
  text-align: center;
}

.card-ribbon {
  position: absolute;
  top: -20px;     
  right: 8px;  
  width: 30px;   
  height: auto;
  z-index: 2;
}

.overlay-text {
  padding: 12px;
  font-weight: bold;
  font-size: 14px;
}


.section-title {
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 40px;
  position: relative;
}

.select-label {
  font-size: 16px;
  font-weight: bold;
  color: #333;
  position: relative;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  justify-items: center;      
  max-width: 1000px;           
  margin: 0 auto;              
  padding: 0 10px;            
}

.feature-item {
  max-width: 300px;
  margin: 0 auto;
  text-align: center;
}

.feature-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  display: block;
}

.feature-title {
  margin-top: 10px;
  font-size: 16px;
  font-weight: bold;
  color: #333;
}


.button-container {
  margin-top: 20px;
}

.feature-link {
  text-decoration: none;
  color: inherit;
}

.overlay-container {
  position: relative;
  display: block; 
}

.overlay-container img {
  display: block;
  width: 100%;
  height: auto;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(100, 100, 100, 0.4); 
  display: flex;
  justify-content: center;
  align-items: center;
  transition: background-color 0.3s;
  border-radius: 10px;
}

.overlay-text {
  color: #fff;
  font-size: 1.2rem;
  font-weight: bold;
  text-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
}

/* features-page */
.features-page {
  padding: 40px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.page-title {
  text-align: center;
  margin-bottom: 30px;
  font-size: 28px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

/* faq-section */
.faq-section {
  width: 100%;
  max-width: 1000px;
  margin: 40px auto; 
  padding: 0 20px;
  box-sizing: border-box;
}

.faq-title {
  text-align: center;
  font-size: 26px;
  font-weight: bold;
  margin-bottom: 30px;
  position: relative;
}

.faq-subtitle {
  display: block;
  font-size: 14px;
  font-weight: bold;
  color: #000;
  margin-bottom: 5px;
}

.faq-title h2 {
  text-align: center;
}

/* アコーディオン */
.faq-text p {
  font-size: 1rem;
  color: #555;
  margin-top: 0.5rem;
}

.accordion {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

.accordion-item {
  background: #fff;
  border-radius: 8px;
  margin-bottom: 15px;
  padding: 10px;
  border-bottom: solid 6px #ccc;
  box-shadow: 0 3px 6px rgba(0,0,0,0.2);
  transition: transform 0.2s, box-shadow 0.2s;
}

.accordion-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.25);
}


.accordion-checkbox {
  display: none;
}

.accordion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.1rem;
  padding: 15px 20px;
  cursor: pointer;
  font-weight: bold;
  background: #ffffff;
  transition: background 0.3s;
  position: relative;
}

.accordion-header:hover {
  color:#FFD11A;
}

.accordion-header::after {
  content: "▶";
  font-size: 1rem;
  transition: transform 0.3s;
}

.accordion-checkbox:checked + .accordion-header::after {
  transform: rotate(90deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  background: #fff;
  transition: max-height 0.4s ease, padding 0.3s ease;
}

.accordion-content p {
  margin: 12px 0;
  color: #555;
  font-size: 0.95rem;
  line-height: 1.6;
}

.accordion-checkbox:checked ~ .accordion-content {
  max-height: 500px; 
  padding: 15px 20px;
}


@media (max-width: 768px) {
  .accordion {
    padding: 0 10px; 
  }

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

  .accordion-header::after {
    font-size: 0.9rem;
  }

  .accordion-content {
    font-size: 0.9rem;
    padding: 10px 15px;
  }
}




/* お仕事開始までの流れ */
.flow {
  padding: 40px 20px;
  max-width: 960px;
  margin: auto;
  margin-top: 30px;
}

.flow .step .num {
  margin-right: 15px; 
}

.flow .step h3 {
  margin-right: 15px; 
}


/* コラム */

.guide {
  padding: 40px 20px;
  max-width: 960px;
  margin: auto;
  margin-top: 30px;
}

h2 {
  text-align: center;
  font-size: 28px;
  margin-bottom: 30px;
  border-bottom: 2px solid #ffd11a;
  display: inline-block;
}

.flow .steps .step {
  background: #fff;
  padding: 20px;
  margin-bottom: 15px;
  border-left: 8px solid #ffd11a;
  box-shadow: 0 2px 5px rgba(0,0,0,0.6);
}

.step .num {
  font-weight: bold;
  color: #ffd11a;
  font-size: 18px;
}

.guide .cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

/* カード全体 */
.card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.6);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 15px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 6px 6px 0 0;
}


/* タイトル */
.card h3 {
  font-size: 0.8rem;
  font-weight: bold;
  line-height: 1.5;
  margin: 12px 0;
  color: #333;
}

/* 「続きを読む」リンク */
.card .read-more {
  display: block;
  width: 90%;
  margin: 1px auto;
  padding: 10px 0;
  text-align: center;
  background: #ffd11a;
  color: #000;
  font-weight: bold;
  border-radius: 6px;
  transition: background 0.3s;
  font-size: 1rem;
}

.card .read-more:hover {
  background: #ffbf00;
  color: #fff;
}







/* 検索セクション */
.search-section {
  max-width: 1000px;
  margin: 60px auto;
  padding: 20px;
  display: grid;
  gap: 30px;
}

.search-block {
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.6);
}

.search-block h3 {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 15px;
  border-left: 4px solid #ffd11a;
  padding-left: 10px;
}

.region {
  margin-bottom: 15px;
}

.region-title {
  font-weight: bold;
  margin-bottom: 8px;
}

.search-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.search-tags a {
  position: relative;
  display: inline-block;
  padding: 4px 15px;
  border: 1px solid #ddd;
  border-radius: 6px;
  background: #f9f9f9;
  font-size: 0.9rem;
  color: #333;
  text-decoration: none;
  overflow: hidden;
  transition: color 0.3s, border-color 0.3s;
  z-index: 0;
}

.search-tags a::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -100%;
  width: 100%;
  height: 100%;
  background: #ffd11a;
  transition: all 0.3s ease;
  z-index: -1;
}

.search-tags a:hover::before {
  bottom: 0; 
}

.search-tags a:hover {
  border-color: #ffd11a;
  color: #FFF;
}

.search-icon {
  text-align: center;
}

.search-icon img {
  width: 60px;
  height: 60px;
  margin-bottom: 5px;
}

.search-icon span {
  display: block;
  font-size: 14px;
}

/* footer */

.site-footer {
  background: #ffd11a;   
  color: #333;
  font-size: 14px;
  padding: 40px 20px 20px;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px;
  margin: auto;
}

.footer-left {
  flex: 1 1 250px;
  margin-bottom: 20px;
}
.footer-logo {
  max-width: 200px;
  margin-top: 10px;
}
.footer-tagline {
  margin: 5px 0;
  font-weight: bold;
}
.footer-copy {
  font-size: 12px;
  color: #555;
}


.footer-right {
  flex: 3 1 600px;
  margin-top: 40px;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-links ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-links li {
  margin-bottom: 8px;
}
.footer-links a {
  color: #333;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #FFF;
}


.footer-bottom {
  border-top: 1px solid rgba(0,0,0,0.1);
  margin-top: 20px;
  padding-top: 15px;
  text-align: center;
}
.footer-bottom a {
  color: #333;
  margin: 0 10px;
  font-size: 13px;
  text-decoration: none;
  transition: color 0.3s ease; 
}

.footer-bottom a:hover {
  color: #fff; 
  text-decoration: none; 
}


.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

@media (max-width: 768px) {
  .footer-links {
    display: block;
  }
  .footer-links ul {
    margin: 0;
    padding: 0;
  }
  .footer-links li {
    list-style: none;
    border-bottom: 1px solid #eee;
  }
  .footer-links a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 10px;
    text-decoration: none;
    color: #333;
    font-size: 15px;
    background: #fff;
  }
  .footer-links a::after {
    content: "›";  
    font-size: 16px;
    color: #999;
  }
  .footer-links a:hover {
    background: #f8f8f8;
  }
}
@media (max-width: 768px) {
  .footer-links li {
    margin: 2px 0;
  }
  .footer-links a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 10px;
    font-size: 14px;
  }
  .footer-left {
    flex: 1px;
}
	
}

h3.sidebar-search-title {
}


.back-to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  background: #ffd11a;
  color: #333;
  padding: 12px 16px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: bold;
  text-decoration: none;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  opacity: 0; 
  transform: translateY(20px); 
  transition: opacity 0.6s ease, transform 0.6s ease;
  z-index: 9999;
}

.back-to-top.show {
  opacity: 1;
  transform: translateY(0); 
}




/*検索結果*/

.search-result-item {
  margin-top: 2rem;
}
.post {
  margin-top: 1rem;
  margin-bottom: 5rem;
}

.post p {
  font-size: 20px;
}

/*sp用ナビゲーション*/
.sp-nav {
  display: none;
}

/*sp-banner*/
.sp-banner a + a {
  margin-top: 1.5rem;
  display: block;
}
/*リキャプチャ*/
.rec-text {
  text-align: center;
  display: flex;
  justify-content: center;
  margin-top: 2rem;
  flex-wrap: wrap;
  line-height: 1.9;
}
.rec-text a {
  text-decoration: underline;
}
.grecaptcha-badge {
  visibility: hidden;
}




/*　エリアpage　*/

.area-hero {
  width: 100%;
  height: 400px;
  background-size: cover;
  background-position: center;
  border-radius: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  margin-bottom: 20px;
}


.feature-hero {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  border-radius: 0;
}

.area-name {
  color: #fff;
  font-size: 42px;
  font-weight: bold;
  text-align: center;
  text-shadow: 0 0 8px rgba(0,0,0,0.7);
  line-height: 1.3;
}

.area-name small {
  font-size: 22px;
  font-weight: normal;
  display: block;
  margin-top: 8px;
}

.area-hero img {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  border-radius: 10px;
  display: block;
}

.area-hero h1 {
  margin-top: 20px;
  font-size: 28px;
  font-weight: bold;
  text-align: center;
}

/* メインコンテンツ */
.area-main {
  display: block !important;
  padding-top: 40px;
}

.page-content {
  margin: 10px auto 100px;
}

/* エリア説明 */
.area-description {
  max-width: 800px;
  margin: 20px auto;
  text-align: center;
  padding: 0 15px;
  font-size: 16px;
  line-height: 1.6;
}

/* 都道府県リスト全体 */
.prefecture-list {
  max-width: 1200px;        
  margin: 60px auto 30px !important;
  padding: 0 20px;
  text-align: center;
}

.prefecture-list h2 {
  font-size: 22px;
  margin-bottom: 20px;
  border-bottom: 2px solid #ffd11a;
  display: inline-block;
}

/* グリッド配置 */
.prefecture-grid {
  display: grid;
  grid-template-columns: repeat(3, 320px); 
  gap: 30px;
  justify-content: center; 

}

/* 各カード */
.pref-card {
  width: 100%;  
  max-width: 350px; 
  margin: 0 auto;   
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  background: #fff;
  text-align: center;
  display: flex;
  flex-direction: column;
}

.pref-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.pref-card .pref-name {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-size: 20px;
  font-weight: bold;
  text-shadow: 0 0 6px rgba(0,0,0,0.7);
  pointer-events: none;
}

/* 詳しく見るボタン */
.pref-card .pref-link {
  display: block;
  padding: 10px 0;
  font-size: 14px;
  text-decoration: none;
  color: #000;
  background: #fff;
  transition: background 0.3s;
  margin-top: auto;
}

.pref-card .pref-link:hover {
  background: #f5f5f5;
}



/* レスポンシブ対応 */
@media (max-width: 768px) {
  .area-hero {
    margin: 40px auto;
  }

  .area-hero img {
    max-height: 250px;
  }

  .area-hero h1 {
    font-size: 22px;
  }

  .area-description {
    font-size: 14px;
    line-height: 1.5;
  }

  .pref-card img {
    height: 140px;
  }

  .pref-card .pref-name {
    font-size: 16px;
  }
}


@media (min-width: 992px) {
  .prefecture-grid {
    grid-template-columns: repeat(3, 320px); 
    justify-content: center;  
    gap: 30px; 
  }
}
@media (max-width: 768px) {
  .prefecture-grid {
    grid-template-columns: repeat(2, 1fr); 
    gap: 5px; 
  }
 .pref-card {
    max-width: 160px; 
  }
	
  .pref-card img {
    height: 120px; 
  }

  .pref-card .pref-name {
    font-size: 16px;
  }
}