/* ========================================
リセット & 基本設定
======================================== */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}

body {
font-family: 'Noto Sans JP', sans-serif;
line-height: 1.8;
color: #333;
background-color: #ffffff;
overflow-x: hidden;
}

a {
text-decoration: none;
color: inherit;
transition: all 0.3s ease;
}

img {
max-width: 100%;
height: auto;
display: block;
}

ul {
list-style: none;
}

.container {
max-width: 1200px;
margin: 0 auto;
padding: 0 20px;
}

/* ========================================
ヘッダー（業務概要基準に統一）
======================================== */
.header {
background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 50%, #ffffff 100%);
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
position: sticky;
top: 0;
z-index: 1000;
padding: 15px 0;
border-bottom: 1px solid rgba(169, 210, 219, 0.2);
}

.header::before {
content: '';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: radial-gradient(circle at 20% 50%, rgba(169, 210, 219, 0.1) 0%, transparent 50%),
           radial-gradient(circle at 80% 50%, rgba(209, 99, 65, 0.05) 0%, transparent 50%);
pointer-events: none;
}

.header-inner {
display: flex;
justify-content: space-between;
align-items: center;
position: relative;
z-index: 1;
gap: 12px;
}

.header-left {
display: flex;
align-items: center;
gap: 15px;
min-width: 0;
flex: 1;
}

.company-logo {
width: 80px;
height: 80px;
object-fit: contain;
flex-shrink: 0;
transition: transform 0.3s ease;
}

.company-logo:hover { transform: scale(1.05); }

.logo {
font-size: clamp(0.8rem, 1.4vw, 1.2rem);
font-weight: 700;
position: relative;
word-break: keep-all;
overflow-wrap: break-word;
min-width: 0;
}

.logo a { color: #333; }

.logo-underline {
display: block;
width: 0;
height: 2px;
background-color: #A9D2DB;
transition: width 0.3s ease;
}

.logo:hover .logo-underline { width: 100%; }

.header-right {
display: flex;
align-items: center;
gap: 20px;
flex-shrink: 0;
}

.nav ul {
display: flex;
gap: clamp(12px, 2vw, 30px);
align-items: center;
}

.nav a {
font-weight: 600;
font-size: clamp(0.8rem, 1.1vw, 0.95rem);
color: #333;
position: relative;
padding: 5px 0;
white-space: nowrap;
}

.nav a::after {
content: '';
position: absolute;
bottom: 0;
left: 0;
width: 0;
height: 2px;
background-color: #D16341;
transition: width 0.3s ease;
}

.nav a:hover::after { width: 100%; }
.nav a.active::after { width: 100%; }

.group-logo-link { flex-shrink: 0; }

.group-logo {
width: 80px;
height: 80px;
object-fit: contain;
transition: opacity 0.3s ease, transform 0.3s ease;
}

.group-logo:hover { opacity: 0.7; transform: scale(1.05); }

/* ── ハンバーガーボタン ── */
.menu-toggle { display: none; }

.hamburger {
display: none;
flex-direction: column;
gap: 5px;
cursor: pointer;
padding: 5px;
flex-shrink: 0;
position: relative;
z-index: 1002;
}

.hamburger span {
width: 25px;
height: 2px;
background-color: #333;
display: block;
transition: transform 0.3s ease, opacity 0.3s ease;
}

.menu-toggle:checked ~ .hamburger span:nth-child(1) {
transform: translateY(7px) rotate(45deg);
}
.menu-toggle:checked ~ .hamburger span:nth-child(2) {
opacity: 0;
transform: scaleX(0);
}
.menu-toggle:checked ~ .hamburger span:nth-child(3) {
transform: translateY(-7px) rotate(-45deg);
}

.nav-overlay {
display: none;
position: fixed;
inset: 0;
background: rgba(0, 0, 0, 0.45);
z-index: 999;
cursor: pointer;
}

/* ========================================
レスポンシブ：ヘッダー
======================================== */
@media (max-width: 968px) {
.header-inner { gap: 10px; }
.nav ul { gap: 20px; }
.company-logo, .group-logo { width: 70px; height: 70px; }
}

@media (max-width: 768px) {
.header-left { gap: 10px; max-width: calc(100% - 140px); }
.header-right { gap: 10px; }

.nav {
 position: fixed;
 top: 0;
 right: -100%;
 width: 280px;
 height: 100vh;
 background-color: #fff;
 box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
 transition: right 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
 padding: 0;
 overflow-y: auto;
 z-index: 1001;
}

.nav::before {
 content: 'MENU';
 display: block;
 padding: 24px 24px 16px;
 font-size: 0.65rem;
 font-weight: 700;
 letter-spacing: 0.22em;
 color: #A9D2DB;
 border-bottom: 1px solid rgba(169, 210, 219, 0.25);
}

.nav ul {
 flex-direction: column;
 gap: 0;
 align-items: stretch;
 padding: 12px 0;
}

.nav ul li {
 border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.nav ul li a {
 display: block;
 padding: 16px 24px;
 font-size: 0.95rem;
 color: #2b2b2b;
 font-weight: 600;
 transition: background 0.2s ease, color 0.2s ease, padding-left 0.2s ease;
 position: relative;
 white-space: normal;
}

.nav ul li a::before {
 content: '';
 position: absolute;
 left: 0;
 top: 50%;
 transform: translateY(-50%);
 width: 3px;
 height: 0;
 background: #A9D2DB;
 transition: height 0.2s ease;
 border-radius: 0 2px 2px 0;
}

.nav ul li a::after { display: none; }

.nav ul li a:hover {
 background: rgba(169, 210, 219, 0.08);
 color: #2e4a52;
 padding-left: 30px;
}
.nav ul li a:hover::before { height: 60%; }

.nav ul li a.active {
 color: #D16341;
 font-weight: 700;
 background: rgba(209, 99, 65, 0.04);
 padding-left: 30px;
}
.nav ul li a.active::before {
 height: 60%;
 background: #D16341;
}

.menu-toggle:checked ~ .nav { right: 0; }
.menu-toggle:checked ~ .nav-overlay { display: block; }
.hamburger { display: flex; }
.company-logo, .group-logo { width: 65px; height: 65px; }
}

@media (max-width: 480px) {
.header-left { gap: 8px; max-width: calc(100% - 130px); }
.header-right { gap: 8px; }
.company-logo, .group-logo { width: 55px; height: 55px; }
}

/* ========================================
ページヒーロー
======================================== */
.page-hero {
position: relative;
min-height: 240px;
display: flex;
align-items: center;
justify-content: center;
background: linear-gradient(135deg, #4a90a4 0%, #A9D2DB 50%, #7fb8c9 100%);
overflow: hidden;
padding: clamp(50px, 8vw, 80px) 20px;
}

.page-hero .hero-decorations {
position: absolute;
width: 100%;
height: 100%;
top: 0;
left: 0;
pointer-events: none;
overflow: hidden;
}

.page-hero .hero-line { position: absolute; height: 3px; }

.page-hero .hero-line-1 {
width: 60%;
top: 20%;
left: -10%;
background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3) 20%, rgba(255,255,255,0.3) 80%, transparent);
transform: rotate(-15deg);
}

.page-hero .hero-line-2 {
width: 50%;
bottom: 25%;
right: -10%;
background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2) 20%, rgba(255,255,255,0.2) 80%, transparent);
transform: rotate(15deg);
}

.page-hero .hero-circle {
position: absolute;
border: 2px solid;
border-radius: 50%;
opacity: 0.4;
}

.page-hero .hero-circle-1 {
width: 200px;
height: 200px;
top: -80px;
right: 10%;
border-color: rgba(255,255,255,0.3);
}

.page-hero .hero-circle-2 {
width: 150px;
height: 150px;
bottom: -50px;
left: 5%;
border-color: rgba(255,255,255,0.25);
}

.page-title {
font-size: clamp(1.6rem, 5vw, 3rem);
font-weight: 700;
color: #fff;
text-align: center;
position: relative;
z-index: 2;
margin-bottom: 8px;
text-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.page-subtitle {
font-family: 'Poppins', sans-serif;
font-size: clamp(0.85rem, 2vw, 1.2rem);
font-weight: 600;
color: rgba(255,255,255,0.9);
text-align: center;
position: relative;
z-index: 2;
letter-spacing: 0.1em;
}

/* ========================================
セクション共通
======================================== */
.section-header {
display: flex;
align-items: center;
justify-content: center;
gap: 16px;
margin-bottom: 40px;
flex-wrap: nowrap;
}

.section-line {
width: clamp(40px, 8vw, 100px);
height: 3px;
background: linear-gradient(90deg, transparent, #A9D2DB, transparent);
flex-shrink: 0;
}

.section-title {
font-size: clamp(1.2rem, 3.5vw, 2rem);
font-weight: 700;
color: #333;
text-align: center;
white-space: nowrap;
}

/* ========================================
募集職種
======================================== */
.job-positions {
padding: clamp(50px, 8vw, 80px) 20px;
background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
}

.position-cards {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 24px;
max-width: 1100px;
margin: 0 auto;
}

.position-card {
background: #fff;
border-radius: 10px;
overflow: hidden;
box-shadow: 0 5px 20px rgba(0,0,0,0.08);
transition: all 0.3s ease;
display: flex;
flex-direction: column;
}

.position-card:hover {
box-shadow: 0 12px 35px rgba(0,0,0,0.13);
transform: translateY(-5px);
}

.position-header {
background: linear-gradient(135deg, #A9D2DB 0%, #7fb8c9 100%);
padding: 22px 20px;
display: flex;
flex-direction: column;
align-items: flex-start;
gap: 10px;
}

.position-header--orange {
background: linear-gradient(135deg, #A9D2DB 0%, #7fb8c9 100%);
}

.position-header--teal {
background: linear-gradient(135deg, #A9D2DB 0%, #7fb8c9 100%);
}

.position-header h3 {
font-size: clamp(1rem, 1.5vw, 1.3rem);
color: #fff;
font-weight: 700;
line-height: 1.4;
}

.position-badges {
display: flex;
flex-direction: row;
flex-wrap: wrap;
gap: 8px;
align-items: center;
}

.position-badge {
background: rgba(255,255,255,0.95);
color: #7fb8c9;
padding: 3px 12px;
border-radius: 20px;
font-size: clamp(0.7rem, 1vw, 0.8rem);
font-weight: 700;
letter-spacing: 0.05em;
}

.position-badge--orange { color: #7fb8c9; }
.position-badge--teal   { color: #7fb8c9; }

.position-content {
padding: 22px 20px;
flex: 1;
display: flex;
flex-direction: column;
gap: 16px;
}

.position-section h4 {
font-size: clamp(0.82rem, 1.1vw, 0.95rem);
color: #333;
margin-bottom: 6px;
padding-bottom: 5px;
border-bottom: 2px solid #f0f0f0;
font-weight: 700;
}

.position-section p {
font-size: clamp(0.78rem, 1vw, 0.9rem);
color: #555;
line-height: 1.8;
margin: 0;
}

.position-section ul {
padding-left: 0;
margin: 0;
color: #555;
font-size: clamp(0.78rem, 1vw, 0.9rem);
line-height: 1.8;
list-style: none;
}

.position-section li {
padding-left: 1em;
position: relative;
margin-bottom: 2px;
}

.position-section li::before {
content: '・';
position: absolute;
left: 0;
color: #A9D2DB;
font-weight: 700;
}

@media (max-width: 1024px) {
.position-cards { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
.position-cards { grid-template-columns: 1fr; gap: 20px; }
.position-header { padding: 18px 16px; }
.position-content { padding: 18px 16px; }
.position-section h4 { font-size: 0.88rem; }
.position-section p,
.position-section ul { font-size: 0.85rem; }
}

/* ========================================
待遇・福利厚生
======================================== */
.benefits {
padding: clamp(50px, 8vw, 80px) 20px;
}

.benefits-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
gap: 20px;
margin-top: 40px;
}

.benefit-item {
background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
padding: 22px 18px;
border-radius: 8px;
border-left: 4px solid #A9D2DB;
box-shadow: 0 3px 15px rgba(0,0,0,0.05);
transition: all 0.3s ease;
}

.benefit-item:hover {
transform: translateX(5px);
box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.benefit-item h4 {
font-size: clamp(0.9rem, 1.2vw, 1.1rem);
color: #333;
margin-bottom: 8px;
}

.benefit-item p {
font-size: clamp(0.78rem, 1vw, 0.9rem);
color: #666;
line-height: 1.7;
}

@media (max-width: 768px) { .benefits-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .benefits-grid { grid-template-columns: 1fr; } }

/* ========================================
チェキ風写真（福利厚生内）
======================================== */
.benefits-polaroid-row {
display: flex;
justify-content: center;
align-items: flex-end;
gap: clamp(12px, 3vw, 30px);
margin-top: 50px;
padding: 20px 10px 10px;
flex-wrap: wrap;
}

.polaroid {
background: #fff;
padding: 10px 10px 32px;
box-shadow:
 0 4px 6px rgba(0,0,0,0.08),
 0 10px 30px rgba(0,0,0,0.10);
transform: rotate(var(--r, 0deg));
transition: transform 0.3s ease, box-shadow 0.3s ease;
width: clamp(120px, 18vw, 190px);
flex-shrink: 0;
position: relative;
}

.polaroid:hover {
transform: rotate(0deg) scale(1.06) translateY(-6px);
box-shadow:
 0 8px 16px rgba(0,0,0,0.12),
 0 20px 50px rgba(74,144,164,0.18);
z-index: 10;
}

.polaroid img {
width: 100%;
aspect-ratio: 1 / 1;
object-fit: cover;
display: block;
filter: sepia(15%) contrast(1.05) brightness(1.02);
}

.polaroid p {
text-align: center;
font-size: clamp(0.65rem, 1.2vw, 0.78rem);
color: #666;
margin-top: 8px;
font-family: 'Noto Sans JP', sans-serif;
letter-spacing: 0.04em;
line-height: 1.4;
}

.polaroid::before {
content: '';
position: absolute;
top: -10px;
left: 50%;
transform: translateX(-50%);
width: 50px;
height: 18px;
background: rgba(169, 210, 219, 0.45);
border-radius: 2px;
}

/* ========================================
選考フロー
======================================== */
.recruit-flow {
padding: clamp(50px, 8vw, 80px) 20px;
background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
}

.flow-steps {
display: flex;
flex-direction: column;
align-items: center;
gap: 16px;
margin-top: 40px;
max-width: 600px;
margin-left: auto;
margin-right: auto;
}

.flow-step {
width: 100%;
background: #fff;
padding: 24px 28px;
border-radius: 8px;
box-shadow: 0 5px 15px rgba(0,0,0,0.08);
display: flex;
align-items: center;
gap: 20px;
transition: all 0.3s ease;
}

.flow-step:hover {
transform: translateY(-3px);
box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.flow-number {
width: 54px;
height: 54px;
min-width: 54px;
background: linear-gradient(135deg, #A9D2DB 0%, #7fb8c9 100%);
color: #fff;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
font-size: clamp(1.1rem, 2vw, 1.5rem);
font-weight: 700;
flex-shrink: 0;
}

.flow-text { flex: 1; }

.flow-step h3 {
font-size: clamp(1rem, 1.8vw, 1.3rem);
color: #333;
margin-bottom: 6px;
}

.flow-step p {
font-size: clamp(0.78rem, 1.1vw, 0.9rem);
color: #666;
line-height: 1.6;
}

.flow-arrow {
font-size: 1.8rem;
color: #A9D2DB;
font-weight: 700;
}

.flow-note {
margin-top: 36px;
text-align: center;
padding: 22px;
background: rgba(169,210,219,0.1);
border-radius: 8px;
}

.flow-note p {
font-size: clamp(0.78rem, 1.1vw, 0.9rem);
color: #666;
line-height: 1.8;
}

@media (max-width: 480px) {
.flow-step {
 flex-direction: column;
 text-align: center;
 padding: 20px 16px;
}
}

/* ========================================
エントリーセクション
======================================== */
.entry-section {
padding: clamp(50px, 8vw, 80px) 20px;
}

.entry-box {
max-width: 800px;
margin: 0 auto;
background: linear-gradient(135deg, #A9D2DB 0%, #7fb8c9 100%);
padding: clamp(30px, 5vw, 50px) clamp(24px, 5vw, 40px);
border-radius: 12px;
text-align: center;
color: #fff;
box-shadow: 0 10px 40px rgba(0,0,0,0.15);
}

.entry-box h2 {
font-size: clamp(1.2rem, 3vw, 2.2rem);
margin-bottom: 16px;
font-weight: 700;
}

.entry-box > p {
font-size: clamp(0.85rem, 1.3vw, 1rem);
margin-bottom: 24px;
line-height: 1.8;
}

.entry-contact {
background: rgba(255,255,255,0.2);
padding: 22px;
border-radius: 8px;
margin: 24px 0;
backdrop-filter: blur(10px);
}

.entry-contact p {
font-size: clamp(0.9rem, 1.5vw, 1.1rem);
margin: 10px 0;
}

.entry-contact strong {
font-weight: 700;
margin-right: 8px;
}

.entry-contact a {
color: #fff;
text-decoration: underline;
font-weight: 700;
transition: opacity 0.3s ease;
}

.entry-contact a:hover { opacity: 0.8; }

.entry-note {
font-size: clamp(0.78rem, 1.1vw, 0.9rem);
margin-top: 20px;
opacity: 0.95;
line-height: 1.8;
}

/* ========================================
電話番号：PC／スマホ切替
======================================== */
.tel-pc {
font-weight: 700;
color: #fff;
text-decoration: none;
}

.tel-mobile {
display: none;
color: #fff;
text-decoration: underline;
font-weight: 700;
}

@media (max-width: 768px) {
.tel-pc     { display: none; }
.tel-mobile { display: inline; }
}

/* ========================================
フッター
======================================== */
.footer {
background-color: #2c3e50;
color: #fff;
padding: 28px 20px;
text-align: center;
margin-top: 40px;
}

.footer p {
font-size: clamp(0.78rem, 1.1vw, 0.9rem);
margin-bottom: 12px;
line-height: 1.8;
}

.footer-privacy {
margin-top: 16px;
padding-top: 16px;
border-top: 1px solid rgba(255,255,255,0.2);
}

.footer-privacy a {
color: #fff;
font-size: clamp(0.7rem, 1vw, 0.75rem);
transition: color 0.3s ease;
}

.footer-privacy a:hover { color: #A9D2DB; }

/* ========================================
アニメーション
======================================== */
.fade-slide-up {
opacity: 0;
transform: translateY(30px);
transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-slide-up.visible {
opacity: 1;
transform: translateY(0);
}
