
:root {
--harbor-blue: #4A90E2; 
--sunset-orange: #F5A623; 
--sand-beige: #F9F9F7;
--cta-green: #2a9d8f;
--text-dark: #333;
--white: #ffffff;
}
body { font-family: 'Noto Sans JP', sans-serif; line-height: 1.8; color: var(--text-dark); margin: 0 0 90px 0; padding: 0; background-color: var(--white); overflow-x: hidden; }

section { padding: 80px 20px 0; max-width: 1000px; margin: 0 auto; }
.center { text-align: center; }
.flex { display: flex; align-items: center; gap: 40px; flex-wrap: wrap; }
.flex > * { flex: 1; min-width: 300px; }
h1 { font-size: 2.3rem; margin-bottom: 20px; color: var(--white); line-height: 1.4; }
.h1-accent { font-size: 1.44em; color: var(--white); font-weight: bold; display: block; margin-top: 5px; } 

h2 { font-size: 1.8rem; margin-bottom: 40px; text-align: center; color: var(--sunset-orange); }
h3 { font-size: 1.4rem; margin-bottom: 15px; color: var(--harbor-blue); }

.hero-text-accent { color: var(--white); }
.hero p { color: var(--white); }

.img-container {
width: 100%;
border-radius: 12px;
overflow: hidden;
box-shadow: 0 4px 15px rgba(0,0,0,0.05);
margin-bottom: 15px;
display: flex;
}
.img-container img {
width: 100%;
height: auto;
display: block;
object-fit: cover;
}

/* =============================
ヒーロー共通
============================= */
.hero {
background: var(--sunset-orange);
text-align: center;
}
h1 { font-size: 2.3rem; margin: 0 auto; color: var(--white); line-height: 1.4; }
.h1-accent { font-size: 1.5em; color: var(--white); font-weight: bold; display: block; margin: 0 auto; }
.hero-btns { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; margin: 0 auto; }
.hero-btn-group { display: flex; flex-direction: column; align-items: center; }

/* =============================
PC用ヒーロー（重なり画像）
============================= */
.hero-pc {
padding: 30px 20px 80px;
display: block;
}
.hero-pc .h1-accent {
text-indent: .5em;
}
.hero-pc p {
margin: .75em auto;
}
@keyframes fadeUp {
from { opacity: 0; transform: translateY(24px) rotate(var(--rot)); }
to   { opacity: 1; transform: translateY(0) rotate(var(--rot)); }
}
.hero-imgs {
position: relative;
width: 100%;
max-width: 780px;
height: 260px;
margin: 0 auto 20px;
}
.hero-imgs img {
position: absolute;
width: 300px;
height: 210px;
object-fit: cover;
border-radius: 14px;
box-shadow: 0 12px 35px rgba(0,0,0,0.25);
opacity: 0;
animation: fadeUp 0.8s ease forwards;
}
.hero-imgs img:nth-child(1) { --rot: -4deg; top: 30px; left: -5%; animation-delay: 0.2s; z-index: 1; }
.hero-imgs img:nth-child(2) { --rot: 2deg; top: 10px; left: calc(50% - 140px); animation-delay: 1.2s; z-index: 2; }
.hero-imgs img:nth-child(3) { --rot: 5deg; top: 40px; right: -5%; animation-delay: 2.2s; z-index: 3; }

/* =============================
SP用ヒーロー（案A 全幅背景）
============================= */
.hero-sp {
display: none;
position: relative;
min-height: 100svh;
align-items: center;
justify-content: center;
overflow: hidden;
}
.hero-bg {
position: absolute;
inset: 0;
z-index: 0;
}
.hero-bg img {
position: absolute;
inset: 0;
width: 100%;
height: 100%;
object-fit: cover;
object-position: top;
opacity: 0;
transition: opacity 1.4s ease-in-out;
display: block;
height:600px;
}
.hero-bg img.active { opacity: 1; }
.hero-overlay {
position: absolute;
inset: 0;
z-index: 1;
background: linear-gradient(
to bottom,
rgba(245,166,35,0.00) 0%,
rgba(245,166,35,0.05) 25%,
rgba(245,166,35,0.30) 50%,
rgba(245,166,35,0.80) 68%,
rgba(245,166,35,1) 100%
);
height:600px;
}
.hero-content {
position: relative;
z-index: 2;
text-align: center;
padding: 300px 24px 50px;
max-width: 700px;
width: 100%;
}
.hero-content h1 { color: #fff; text-shadow: 0 2px 6px rgba(0,0,0,0.7), 0 4px 20px rgba(0,0,0,0.6), 0 8px 40px rgba(0,0,0,0.4); line-height: 1.25; font-size: min(5vw, 2.3rem); }
.hero-content .h1-accent { color: #fff; font-size: 2.7em; line-height: 1.2; text-shadow: 0 2px 6px rgba(0,0,0,0.7), 0 4px 20px rgba(0,0,0,0.6), 0 8px 40px rgba(0,0,0,0.4); margin-top: .2em; }
.hero-content p { color: #2b2b2b; }
.hero-sp .micro { color: rgba(40,40,40,0.85); }
.hero-sp .hero-btns { gap: 6px; margin-top: 28px; }
.hero-sp .micro { margin-top: 2px; }
.hero-dots {
position: absolute;
bottom: 24px;
left: 50%;
transform: translateX(-50%);
z-index: 3;
display: flex;
gap: 8px;
}
.hero-dots span {
width: 8px; height: 8px;
border-radius: 50%;
background: rgba(255,255,255,0.5);
transition: background 0.3s;
cursor: pointer;
}
.hero-dots span.active { background: #fff; }

.btn {
display: inline-block; padding: 18px 30px; border-radius: 50px;
text-decoration: none; font-weight: bold; font-size: 1.1rem;
transition: 0.3s; margin: 5px; border: none; cursor: pointer;
box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.btn-blue { background-color: var(--harbor-blue); color: white; }
.btn-white-outline { background-color: transparent; color: var(--white); border: 2px solid var(--white); box-shadow: none; }
.btn-orange-std { background-color: var(--sunset-orange); color: white; }
.btn-green-std { background-color: var(--cta-green); color: white; }
.micro { font-size: 0.8rem; color: #666; display: block; margin-top: 5px; }
.hero .micro { color: rgba(255,255,255,0.9); }
.check-list { list-style: none; padding: 0; margin: 20px 0; }
.check-list li { 
padding-left: 15px; margin-bottom: 15px; font-size: 1.1rem;
}
.comparison-table { width: 100%; border-collapse: collapse; background: white; margin: 30px 0; border-radius: 12px; overflow: hidden; box-shadow: 0 4px 20px rgba(0,0,0,0.05); }
.comparison-table th, .comparison-table td { border: 1px solid #eee; padding: 20px; text-align: center; }
.comparison-table th { background-color: #f2f2f2; color: #555; }
.comparison-table .highlight { background-color: #FFF8E1; font-weight: bold; color: var(--sunset-orange); width: 40%; }
.service-card { background: #fff8e1; border-radius: 15px; padding: 30px; margin-bottom: 25px; box-shadow: 0 4px 10px rgba(0,0,0,0.02); }
.service-card h3 { color: #f5a623; position:relative; padding-left:1.5em; }
.service-card h3 .number { position:absolute; left:0;}
.service-card .note { font-size: 0.78rem; color: #888; margin-top: 12px; line-height: 1.7; position:relative; padding-left:1.5em; }
.service-card .note .asterisk { position:absolute; left:0;}
.service-card .img-container { background: #fff; border: 1px solid #eee; }
.stats-box { background: #FFF8E1; color: var(--text-dark); padding: 60px 40px; border-radius: 30px; margin: 0; text-align: center; }
.stats-box h2 { color: var(--sunset-orange); margin-bottom: 10px; }
.stats-box p { margin-bottom: 40px; opacity: 0.9; color: var(--text-dark); }
.stat-grid { display: flex; justify-content: space-around; flex-wrap: wrap; gap: 40px; }
.stat-item { text-align: center; }
.stat-item .stat-text { display: flex; flex-direction: column; align-items: center; }
.stat-item .num { font-size: 3.5rem; font-weight: bold; color: var(--harbor-blue); display: block; line-height: 1; }
.stat-item .note { font-size: .7em; margin-top: 1em; color: #666; order: 3; text-align: center; line-height: 1.3;}
.stat-item .label { font-size: 1rem; margin-top: 10px; display: block; font-weight: bold; }
.stat-item .stat-icon { width: 200px; height: 200px; object-fit: cover; border-radius: 16px; margin: 20px auto 0; display: block; }

.stat-img-area { 
margin-top: 40px; 
border-radius: 15px; 
background: rgba(255,255,255,0.7); 
overflow: hidden;
}
.tabs { display: flex; justify-content: center; margin-top: 40px; }
.tab-btn { padding: 15px 30px; border: 1px solid #ddd; background: #eee; cursor: pointer; border-radius: 12px 12px 0 0; font-weight: bold; margin: 0 5px; color: #666; }
.tab-btn.active { background: white; border-bottom: none; color: var(--sunset-orange); }
.form-container { background: white; border: 1px solid #ddd; padding: 40px; border-radius: 0 0 12px 12px; max-width: 650px; margin: 0 auto; box-shadow: 0 10px 40px rgba(0,0,0,0.05); }
.form-group { margin-bottom: 20px; text-align: left; }
.form-group label { display: block; font-weight: bold; margin-bottom: 8px; }
.form-group input, .form-group select { width: 100%; padding: 12px; border: 1px solid #ccc; border-radius: 6px; box-sizing: border-box; }

/***** フローティングフッター *****/
.floating_footer {
display:block;
background:#fff;
width: 100%;
position: fixed;
bottom:-100%;
transition: all 0.4s ease;
}
.floating_footer.floating {
bottom:0;
z-index:9990;
transition: all 0.4s ease;
}

/* ページTOPへ */
.totop{
z-index:999;
width: 50px;
height: 50px;
right: 20px;
bottom: 110px;
display: flex;
justify-content: center;
align-items: center;
position: absolute;
color: #fff;
font-size: 16px;
background:var(--sunset-orange);
border-radius: 50%;
text-decoration: none;
}

.floating_footer .floating_footer_inner {
width: 1000px;
max-width: 100%;
margin: auto;
padding: 15px ;
box-sizing: border-box;
}

.floating_footer .floating_footer_inner .telno {
width: 38%;
margin-right: 2%;
text-align:center;
}
.floating_footer .floating_footer_inner .telno a {
color:var(--sunset-orange);
text-decoration:none;
font-size:36px;
line-height:1;
font-weight:bold;
}
.floating_footer .floating_footer_inner .telno div:before {
content:"お問合せ受付9:00～18:00 日曜定休";
display:block;
font-size:12px;
line-height:1;
font-weight:normal;
color:var(--text-dark);
margin: 0 auto .5em auto;
}
.floating_footer .floating_footer_inner .btns {
width:60%;
}

.floating_footer .floating_footer_inner .wrap {
display:flex;
flex-wrap:wrap;
align-items: center;
}

.floating_footer .floating_footer_inner .btns {
width: 60%;
display:flex;
align-items: center;
}
.floating_footer .floating_footer_inner .btns .btn_pamphlet {
background:var(--harbor-blue);
display: block;
box-sizing: border-box;
width: 100%;
margin: 0 5px;
padding: 15px;
border-radius: 999px;
color: #fff;
text-decoration: none;
text-align: center;
font-size: 16px;
font-weight: bold;
white-space: nowrap;
}
.floating_footer .floating_footer_inner .btns .btn_tour {
background:var(--cta-green);
display: block;
box-sizing: border-box;
width: 100%;
margin: 0 5px;
padding: 15px;
border-radius: 999px;
color: #fff;
text-decoration: none;
text-align: center;
font-size: 16px;
font-weight: bold;
white-space: nowrap;
}

/***** PCのみ/SPのみ *****/
.pc_only {
display:inline-block!important;
}
.sp_only {
display:none!important;
}



/***** 事業所タイプタブボタン *****/
ul.office_type_tab {
display: flex;
justify-content: center;
gap: 16px;
margin-bottom: 24px;
padding:0;
flex-wrap: wrap;
}
ul.office_type_tab li {
display: inline-block;
padding: 18px 30px;
border-radius: 50px;
text-decoration: none;
font-weight: bold;
font-size: 1.1rem;
line-height: 1.5;
transition: 0.3s;
margin: 10px 5px;
border: none;
cursor: pointer;
box-shadow: 0 4px 15px rgba(0,0,0,0.1);
background: #eee;
color: #555;
}
ul.office_type_tab li.active{
background-color: var(--sunset-orange);
color: white;
}

/***** 事業所タイプ *****/
.office_type {
display:none;
}
.office_type.show {
display:block;
}

/***都道府県タブボタン***/
ul.tab {
display: flex;
flex-wrap: wrap;
gap: 8px;
justify-content: center;
margin-bottom: 24px;
padding:0;
}
ul.tab li {
padding: 8px 16px;
border-radius: 20px;
border: 1px solid #ddd;
background: white;
cursor: pointer;
font-size: 0.9rem;
line-height: 1.5;
list-style: none;
}
ul.tab li.active {
border: 1px solid var(--sunset-orange);
background: var(--sunset-orange);
color: white;
}

/***事業所表示エリア***/
.area {
display:none;
width:100%;
}
.area.show {
display:inline-block;
}

/*googlemap*/
.googlemap {
width:100%;
height:0;
padding-bottom: 40%;
margin-bottom: 24px;

position: relative;
overflow: hidden;
z-index:1;
border-radius: 12px;
}
.googlemap iframe {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
border:0;
}

.area .officeaddress {
background: white;
border-radius: 12px;
padding: 24px;

display:flex;
flex-wrap:wrap;
}
.area .officeaddress dt{
font-size: 1.2rem;
color: var(--sunset-orange);
margin-bottom: 16px;
border-left: 4px solid var(--sunset-orange);
padding-left: 10px;
font-weight: 700;

width:100%;
}
.area .officeaddress dd {
width:25%;
padding:0;
margin:0;
}
@media (max-width: 917px) {.area .officeaddress dd {width:calc(100% / 3);}}
@media (max-width: 707px) {.area .officeaddress dd {width:calc(100% / 2);}}
@media (max-width: 497px) {.area .officeaddress dd {width:100%;}}
.area .officeaddress dd a {
color: var(--harbor-blue);
text-decoration: none;
font-size: 0.9rem;
}
.area .officeaddress dd a:before {
content:"● ";
}

/***** 就職者事例 *****/
/* モーダル */
.modalstage {
display: none;
position: fixed;
top: 0;
bottom: 0;
left: 0;
right: 0;
width: 100%;
height: 100%;
overflow: hidden;
margin: 0;
padding: 0;
background: #000;
box-sizing: border-box;
z-index: 9998;

background:rgba(0,0,0,.8);
display:block;

visibility: hidden;
opacity: 0;
transition: 500ms;
}
.is-fadein {
visibility: visible;
opacity: 1;
}
.modalinnr {
background:#fff;
width:calc(100% - 100px);
height: max-content;
max-width:960px;
max-height: calc(100% - 200px);
position:absolute;
top:0;
bottom:0;
left:0;
right:0;
margin:auto;
padding:60px;
overflow: auto;
box-sizing: border-box;
}
.modal_close {
text-align:center;
display:block;
line-height:50px;
width:50px;
height:50px;
padding:0;
margin:0px auto;
position:fixed;
right:20px;
top:20px;
}
.modal_close a {
color:#fff;
text-decoration:none;
font-size:24px;
line-height:50px;
width: 100%;
height: 100%;
display: block;
background: var(--sunset-orange);
border-radius: 50%;
}

.interview_cont {
text-align:left;
}
.interview_cont h4 {
clear: none;
color:var(--sunset-orange);
font-weight:bold;
font-size:16px;
line-height: 1.4;
margin: 0 0 .5em 0;
border-left: 4px solid var(--sunset-orange);
padding-left: 10px;
}

.interview_cont p {
font-size: 13px;
line-height: 1.6;
margin-top: 20px;
margin-bottom: 20px;
}

.nobr {
display:inline-block;
}


@media (max-width: 768px) {
body {margin: 0 0 60px 0;}
.hero-pc { display: none; }
.hero-sp { display: flex; }
section { padding: 50px 16px 0; }
.h1-accent { font-size: 1.2em; }
h2 { font-size: min(4.5vw, 1.35rem); margin-bottom: 24px; }
h3 { font-size: 1.15rem; }

.hero-btns { flex-direction: column; align-items: center; gap: 8px; margin-top: 28px; }
.hero-btn-group { width: 100%; max-width: 320px; }
.hero-btn-group .btn { width: 100%; box-sizing: border-box; font-size: 1rem; padding: 15px 20px; }

.flex { flex-direction: column; gap: 24px; }
.flex > * { min-width: unset; width: 100%; }
.img-container { max-width: 100% !important; }

.comparison-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.comparison-table { min-width: 480px; font-size: 0.82rem; }
.comparison-table th, .comparison-table td { padding: 12px 8px; }

.service-card { padding: 20px 16px; }
.service-card .flex { flex-direction: column; }
.service-card .img-container { order: 1; max-width: 100% !important; }
.service-card .flex > div:not(.img-container) { order: 2; }

.stats-box { padding: 40px 20px; border-radius: 20px; margin: 30px 0; }
.stat-grid { flex-direction: column; gap: 24px; align-items: flex-start; }
.stat-item { display: flex; align-items: center; gap: 16px; text-align: left; width: 100%; }
.stat-item .stat-icon { width: 100px; height: 100px; flex-shrink: 0; margin: 0; order: 1; }
.stat-item .stat-text { order: 2; display: flex; flex-direction: column; flex: 1; }
.stat-item .label { font-size: 0.82rem; order: 1; margin: 0; display: block; }
.stat-item .num { font-size: 2rem; order: 2; display: block; line-height: 1.2; white-space: nowrap; }
.stat-item .note { margin-top: .5em;}

.case-cards { flex-direction: column !important; align-items: center; }
.case-cards > div { max-width: 100% !important; width: 100%; }

.office-goal-btns { flex-direction: column !important; align-items: center; }
.office-goal-btns button { width: 100%; max-width: 320px; min-width: unset !important; }
#map-frame { height: 260px !important; }

#form > div > div { flex-direction: column !important; align-items: center; }
#form .btn { width: 100%; max-width: 320px; min-width: unset !important; box-sizing: border-box; }


/***** フローティングフッター *****/
.floating_footer {
bottom:-100%;
}

/* ページTOPへ */
.totop{
width: 40px;
height:40px;
right: 10px;
bottom: 75px;
font-size:14px;
}

.floating_footer .floating_footer_inner {
padding:10px;
}
.floating_footer .floating_footer_inner .telno {
width: 38%;
margin-right: 2%;
text-align:center;
}
.floating_footer .floating_footer_inner .telno a {
font-size: min(4.8vw, 30px);
}
.floating_footer .floating_footer_inner .telno div:before {
content:"9:00～18:00 日曜定休";
font-size: min(2.8vw, 12px);
margin: 0 auto .25em auto;
}
.floating_footer .floating_footer_inner .btns {
width:60%;
}
.floating_footer .floating_footer_inner .btns .btn_pamphlet,
.floating_footer .floating_footer_inner .btns .btn_tour {
padding:8px;
font-size: min(3.4vw, 16px);
margin: 0 2px;
}

/***** PCのみ/SPのみ *****/
.pc_only {
display:none!important;
}
.sp_only {
display:inline-block!important;
}


/***** 事業所タイプ *****/
/***事業所表示エリア***/
/*googlemap*/
.googlemap {
padding-bottom: 100%;
}

/***** 就職者事例 *****/
/* モーダル */
.modalinnr {
width:calc(100% - 40px);
max-height: calc(100% - 120px);
padding: 30px 30px;
}
.modal_close {
width:40px;
height:40px;
position: fixed;
top: 10px;
right: 10px;
}
.modal_close a {
line-height:40px;
}

}

/* スクロールアニメーション */
.fade-in {
opacity: 0;
transform: translateY(30px);
transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in.visible {
opacity: 1;
transform: translateY(0);
}