@charset "UTF-8";
/*
    Template: swell
    Theme Name: SWELL CHILD
    Theme URI: https://swell-theme.com/
    Description: SWELLの子テーマ
    Version: 1.0.0
    Author: LOOS WEB STUDIO
    Author URI: https://loos-web-studio.com/

    License: GNU General Public License
    License URI: http://www.gnu.org/licenses/gpl.html
*/

.japan_map {
position: relative;
box-sizing: border-box;
margin: 0 auto;
display: table;
background-color: transparent;
}

.japan_map img {
max-width: 100%;
height: auto;
border: 0;
-webkit-backface-visibility: hidden;
}

.japan_map .area_btn {
position: absolute;
z-index: 1;
box-sizing: border-box;
cursor: pointer;
border: 3px solid #333333;
border-radius: 5px;
background-color: #FFF;
padding: 0.2em auto;
font-weight: bold;
text-align: center;
white-space: nowrap;
}

.japan_map .area_btn.area1 {
top: 30%;
right: 0;
width: 30%;
}

.japan_map .area_btn.area2 {
top: 58%;
right: 11%;
width: 13%;
}

.japan_map .area_btn.area3 {
top: 56%;
right: 27.5%;
width: 13%;
}

.japan_map .area_btn.area4 {
top: 65%;
right: 44%;
width: 13%;
}

.japan_map .area_btn.area5 {
top: 52%;
left: 20%;
width: 25%;
}

.japan_map .area_btn.area6 {
top: 70%;
left: 0;
width: 25%;
}

.japan_map .area_overlay {
display: none;
position: absolute;
z-index: 2;
top: 0;
left: 0;
min-width: 100%;
min-height: 100%;
width: auto;
height: auto;
background-color: #111;
opacity: 0.5;
cursor: pointer;
}

.japan_map .pref_area {
display: none;
}

.japan_map .pref_list {
position: absolute;
top: 50%;
left: 50%;
transform: translateY(-50%) translateX(-50%);
-webkit-transform: translateY(-50%) translateX(-50%);
z-index: 3;
box-sizing: border-box;
display: -webkit-flex;
display: flex;
-webkit-flex-wrap: wrap;
flex-wrap: wrap;
width: 90%;
background-color: #FFF;
}

.japan_map .pref_list>div {
box-sizing: border-box;
width: 50%;
border: 1px solid #CCC;
font-weight: bold;
text-align: center;
padding: 0.5em;
cursor: pointer;
}

/* 市区町村関連スタイル - 3段階インタラクション用 */
.japan_map .city_overlay {
display: none;
position: absolute;
z-index: 1000;
top: 0;
left: 0;
min-width: 100%;
min-height: 100%;
width: auto;
height: auto;
background-color: #111;
opacity: 0.5;
cursor: pointer;
}

.japan_map .city_area {
display: none;
}

.japan_map .city_list {
position: absolute;
top: 50%;
left: 50%;
transform: translateY(-50%) translateX(-50%);
-webkit-transform: translateY(-50%) translateX(-50%);
z-index: 1001;
box-sizing: border-box;
display: -webkit-flex;
display: flex;
-webkit-flex-wrap: wrap;
flex-wrap: wrap;
width: 90%;
background-color: #FFF;
border-radius: 8px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.japan_map .city_btn {
box-sizing: border-box;
width: 50%;
border: 1px solid #CCC;
font-weight: bold;
text-align: center;
padding: 0.8em;
cursor: pointer;
background-color: #FFF;
transition: background-color 0.2s ease;
}

.japan_map .city_btn:hover {
background-color: #F0F8FF;
border-color: #4A90E2;
}

.japan_map .city_btn:first-child {
border-top-left-radius: 8px;
}

.japan_map .city_btn:nth-child(2) {
border-top-right-radius: 8px;
}

.japan_map .city_btn:last-child {
border-bottom-right-radius: 8px;
}

.japan_map .city_btn:nth-last-child(2) {
border-bottom-left-radius: 8px;
}

@media screen and (max-width: 480px) {

/* スマホユーザー向けにボタン文字サイズを調整 */
.japan_map .area_btn {
font-size: 4vw;
}

/* 市区町村ボタンのスマホ対応 */
.japan_map .city_btn {
width: 100%;
padding: 1em;
font-size: 4vw;
}

.japan_map .city_list {
width: 95%;
}
}

.migration-fv-container {
position: relative;
width: 100%;
height: 82vh;
min-height: 400px;
overflow: hidden;
display: flex;
align-items: center;
justify-content: center;
}

.migration-bg-video {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
object-fit: cover;
z-index: 1;
}

.migration-bg-overlay {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: linear-gradient(135deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.2) 50%, rgba(0, 0, 0, 0.4) 100%);
z-index: 2;
}

.migration-content-wrapper {
position: relative;
z-index: 3;
text-align: center;
color: white;
max-width: 910px;
padding: 0 20px;
animation: migration-fadeInUp 1.2s ease-out;
}

.migration-main-title {
font-size: 4rem;
font-weight: 700;
margin-bottom: 1rem;
text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
letter-spacing: 0.1em;
}

.migration-sub-title {
font-size: 1.5rem;
font-weight: 300;
margin-bottom: 2rem;
text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
opacity: 0.95;
}

.migration-description {
font-size: 1.1rem;
margin-bottom: 3rem;
text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
opacity: 0.9;
line-height: 1.8;
}

.migration-search-section {
background: rgba(255, 255, 255, 0.15);
backdrop-filter: blur(10px);
border-radius: 20px;
padding: 2.5rem;
margin-bottom: 2rem;
border: 1px solid rgba(255, 255, 255, 0.2);
}

.migration-search-title {
font-size: 1.3rem;
margin-bottom: 1.5rem;
font-weight: 500;
}

.migration-search-form {
display: flex;
flex-wrap: wrap;
gap: 1rem;
justify-content: center;
align-items: center;
}

.migration-search-input {
padding: 12px 20px;
border: none;
border-radius: 25px;
font-size: 1rem;
width: 250px;
background: rgba(255, 255, 255, 0.9);
color: #333;
outline: none;
transition: all 0.3s ease;
}

.migration-search-input::placeholder {
color: #666;
}

.migration-search-input:focus {
background: rgba(255, 255, 255, 1);
transform: translateY(-2px);
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.migration-search-button {
padding: 12px 30px;
background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
color: white;
border: none;
border-radius: 25px;
font-size: 1rem;
font-weight: 600;
cursor: pointer;
transition: all 0.3s ease;
box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

.migration-search-button:hover {
background: linear-gradient(135deg, #ee5a24 0%, #ff6b6b 100%);
transform: translateY(-2px);
box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
}

.migration-categories {
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 1rem;
margin-top: 2rem;
}

.migration-category-tag {
background: rgba(255, 255, 255, 0.2);
color: white;
padding: 8px 16px;
border-radius: 20px;
font-size: 0.9rem;
border: 1px solid rgba(255, 255, 255, 0.3);
cursor: pointer;
transition: all 0.3s ease;
}

.migration-category-tag:hover {
background: rgba(255, 255, 255, 0.3);
transform: translateY(-1px);
}

.migration-scroll-indicator {
position: absolute;
bottom: 30px;
left: 50%;
transform: translateX(-50%);
color: white;
text-align: center;
z-index: 3;
animation: migration-bounce 2s infinite;
}

.migration-scroll-text {
font-size: 0.9rem;
margin-bottom: 10px;
opacity: 0.8;
}

.migration-scroll-arrow {
width: 30px;
height: 30px;
border: 2px solid white;
border-radius: 50%;
position: relative;
margin: 0 auto;
}

.migration-scroll-arrow::after {
content: '';
position: absolute;
top: 8px;
left: 8px;
width: 10px;
height: 10px;
border-bottom: 2px solid white;
border-right: 2px solid white;
transform: rotate(45deg);
}

@keyframes migration-fadeInUp {
from {
opacity: 0;
transform: translateY(50px);
}

to {
opacity: 1;
transform: translateY(0);
}
}

@keyframes migration-bounce {

0%,
20%,
50%,
80%,
100% {
transform: translateX(-50%) translateY(0);
}

40% {
transform: translateX(-50%) translateY(-10px);
}

60% {
transform: translateX(-50%) translateY(-5px);
}
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
.migration-main-title {
font-size: 2.5rem;
}

.migration-sub-title {
font-size: 1.2rem;
}

.migration-description {
font-size: 1rem;
}

.migration-search-section {
padding: 2rem 1.5rem;
}

.migration-search-form {
flex-direction: column;
gap: 1.5rem;
}

.migration-search-input {
width: 100%;
max-width: 300px;
}

.migration-categories {
gap: 0.5rem;
}

.migration-category-tag {
font-size: 0.8rem;
padding: 6px 12px;
}
}

@media (max-width: 480px) {
.migration-fv-container {
min-height: 500px;
height: 111vh;
}

.migration-main-title {
font-size: 2rem;
}

.migration-sub-title {
font-size: 1rem;
}

.migration-content-wrapper {
padding: 0 15px;
}

.migration-search-section {
padding: 1.5rem 1rem;
}
}

.article-keypoints-wrapper {
margin: 0 auto;
background: white;
padding: 20px 0;
border-radius: 8px;
}

.article-keypoints-box {
background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
border: 1px solid #f1c40f;
border-radius: 12px;
padding: 20px 24px;
margin: 20px 0;
position: relative;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.article-keypoints-header {
display: flex;
align-items: center;
margin-bottom: 16px;
font-weight: 600;
font-size: 16px;
color: #2c3e50;
}

.article-keypoints-icon {
width: 24px;
height: 24px;
background: #f39c12;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
margin-right: 12px;
flex-shrink: 0;
color: white;
font-size: 12px;
}

.article-keypoints-list {
list-style: none;
margin: 0;
padding: 10px 0 !important;
}

.article-keypoints-list li {
margin-bottom: 12px;
padding-left: 20px;
position: relative;
color: #2c3e50;
font-size: 18px;
line-height: 1.8;
}

.article-keypoints-list li::before {
font-family: "Font Awesome 5 Free";
content: "\f0eb";
color: #f39c12;
font-size: 19px;
font-weight: 900;
position: absolute;
left: -5px;
top: 0;
}

.article-keypoints-list li:last-child {
margin-bottom: 0;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
.article-keypoints-wrapper {
padding: 0px;
}

.article-keypoints-box {
padding: 16px 20px;
}

.article-keypoints-header {
font-size: 15px;
}

.article-keypoints-list li {
font-size: 15px;
}
}
.ntb-container {
display: flex;
justify-content: center;
align-items: center;
}

.ntb-news-topics-btn {
    background-color: #1e5799;
    background: linear-gradient(135deg, #2989d8 0%, #1e5799 50%, #207cca 100%);
    color: #ffffff;
    padding: 12px 24px;
    border: none;
    border-radius: 25px;
    font-size: 17px;
    font-weight: bold;
    min-width: 720px;
    text-align: center;
    margin-bottom: 30px;
    letter-spacing: 0.5px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(30, 87, 153, 0.3);
    position: relative;
    overflow: hidden;
	width:100%;
}

.ntb-news-topics-btn:hover {
background: linear-gradient(135deg, #3498db 0%, #2980b9 50%, #3498db 100%);
transform: translateY(-2px);
box-shadow: 0 4px 12px rgba(30, 87, 153, 0.4);
}

.ntb-news-topics-btn:active {
transform: translateY(0);
box-shadow: 0 2px 6px rgba(30, 87, 153, 0.3);
}

.ntb-news-topics-btn::before {
content: '';
position: absolute;
top: 0;
left: -100%;
width: 100%;
height: 100%;
background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
transition: left 0.5s;
}

.ntb-news-topics-btn:hover::before {
left: 100%;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
.ntb-news-topics-btn {
font-size: 13px;
padding: 10px 20px;
}
}
.kpa-about-section {
max-width: 1200px;
margin: 40px auto;
padding: 0 20px;
}

.kpa-section-header {
text-align: center;
margin-bottom: 50px;
}

.kpa-section-title {
font-size: 28px;
font-weight: 700;
color: #2c3e50;
margin: 0 0 15px 0;
position: relative;
display: inline-block;
}

.kpa-section-title::after {
content: '';
position: absolute;
bottom: -8px;
left: 50%;
transform: translateX(-50%);
width: 60px;
height: 3px;
background: linear-gradient(90deg, #3498db, #2980b9);
border-radius: 2px;
}

.kpa-lead-text {
font-size: 16px;
color: #7f8c8d;
font-weight: 500;
margin: 0;
}

.kpa-content-wrapper {
display: flex;
align-items: center;
gap: 50px;
background: #ffffff;
padding: 50px;
border-radius: 16px;
box-shadow: 0 8px 32px rgba(0,0,0,0.08);
border: 1px solid rgba(52, 152, 219, 0.1);
}

.kpa-image-container {
flex: 0 0 200px;
}

.kpa-organization-icon {
width: 200px;
height: 200px;
border-radius: 20px;
display: flex;
align-items: center;
justify-content: center;
box-shadow: 0 10px 30px rgba(52, 152, 219, 0.3);
position: relative;
overflow: hidden;
}
.kpa-text-content {
flex: 1;
}

.kpa-description {
font-size: 16px;
color: #2c3e50;
margin: 0 0 25px 0;
}

.kpa-feature-list {
list-style: none;
padding: 0;
margin: 25px 0;
}

.kpa-feature-item {
padding: 12px 0;
border-bottom: 1px solid #ecf0f1;
position: relative;
padding-left: 25px;
}

.kpa-feature-item:last-child {
border-bottom: none;
}

.kpa-feature-item::before {
content: '✓';
position: absolute;
left: 0;
top: 12px;
color: #27ae60;
font-weight: bold;
font-size: 16px;
}

.kpa-mission-text {
background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
padding: 25px;
border-radius: 12px;
border-left: 4px solid #3498db;
margin-top: 25px;
font-style: italic;
color: #2c3e50;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
.kpa-about-section {
margin: 20px auto;
padding: 0 15px;
}

.kpa-section-title {
font-size: 24px;
}

.kpa-content-wrapper {
flex-direction: column;
padding: 30px 20px;
gap: 30px;
}

.kpa-image-container {
flex: none;
}

.kpa-organization-icon {
width: 150px;
height: 150px;
}

.kpa-organization-icon::before {
font-size: 28px;
}

.kpa-description, .kpa-feature-item {
font-size: 15px;
}
}