Spaces:
Sleeping
Sleeping
File size: 21,146 Bytes
9932ed7 061f4b0 9932ed7 a72e9da 9932ed7 a72e9da 86e3416 9932ed7 061f4b0 9932ed7 a72e9da 9932ed7 061f4b0 9932ed7 a72e9da 9932ed7 a72e9da 9932ed7 061f4b0 9932ed7 a72e9da 9932ed7 a72e9da 9932ed7 061f4b0 9932ed7 a72e9da 9932ed7 a72e9da 86e3416 9932ed7 a72e9da 9932ed7 061f4b0 9932ed7 a72e9da 86e3416 9932ed7 a72e9da 9932ed7 86e3416 061f4b0 86e3416 061f4b0 a72e9da 061f4b0 a72e9da 9932ed7 a72e9da 9932ed7 a72e9da 86e3416 9932ed7 a72e9da 9932ed7 a72e9da 9932ed7 a72e9da 9932ed7 061f4b0 5f148a5 9932ed7 5f148a5 9932ed7 a72e9da 9932ed7 a72e9da 86e3416 9932ed7 a72e9da 9932ed7 061f4b0 9932ed7 5f148a5 9932ed7 5f148a5 9932ed7 5f148a5 061f4b0 5f148a5 9932ed7 5f148a5 061f4b0 9932ed7 5f148a5 9932ed7 5f148a5 9932ed7 5f148a5 9932ed7 5f148a5 9932ed7 5f148a5 061f4b0 9932ed7 a72e9da 9932ed7 a72e9da 9932ed7 061f4b0 a72e9da 061f4b0 9932ed7 a72e9da 9932ed7 a72e9da 9932ed7 5f148a5 9932ed7 5f148a5 9932ed7 061f4b0 86e3416 061f4b0 9932ed7 061f4b0 9932ed7 061f4b0 9932ed7 744b810 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 |
<!DOCTYPE html>
<html lang="ja">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>LEOC 業務ポータルサイト | 入社手続きトップ</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
<style>
/* ==========================================================================
* ベーススタイル・共通
* ========================================================================== */
:root {
/* 【改修】カラーテーマを添付画像のイメージ(青)に変更 */
--theme-color: #2fa4e7; /* メインカラー(明るい青) */
--theme-color-dark: #305590; /* 濃い青(文字や強調部) */
--theme-color-light: #eef7fc; /* 薄い青背景 */
--theme-accent: #e67e22; /* アクセント(ボタンのオレンジ) */
--bg-color: #ffffff;
--text-color: #333;
--gray-bg: #f8f9fa;
}
/* 【改修】ボックスサイズの計算を統一し、はみ出しを防止 */
*, *::before, *::after {
box-sizing: border-box;
}
body {
margin: 0; padding: 0;
background-color: var(--bg-color);
font-family: "Helvetica Neue", "Arial", sans-serif;
color: var(--text-color);
line-height: 1.6;
font-size: 16px;
}
/* ヘッダー */
header {
background: #fff;
border-bottom: 4px solid var(--theme-color);
padding: 15px 0;
box-shadow: 0 2px 10px rgba(0,0,0,0.05);
position: sticky; top: 0; z-index: 1000;
}
.header-inner {
max-width: 1000px; margin: 0 auto; padding: 0 20px;
display: flex; justify-content: space-between; align-items: center;
}
.logo-main { font-size: 24px; font-weight: 900; color: #222; }
.logo-sub { font-size: 11px; color: #777; letter-spacing: 0.1em; }
/* メインコンテンツ枠 */
.container { max-width: 900px; margin: 0 auto; padding: 40px 20px 80px; }
/* 挨拶エリア */
.welcome-box { text-align: center; margin-bottom: 40px; }
.page-title { font-size: 28px; font-weight: 800; margin-bottom: 10px; color: var(--theme-color-dark); }
.status-message {
background: var(--theme-color-light);
border-left: 5px solid var(--theme-color);
padding: 20px; border-radius: 4px; text-align: left; margin-top: 20px;
box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}
/* マイナンバー登録エリア */
.pweb-section {
background: #fff;
border: 2px solid var(--theme-color);
border-radius: 12px;
padding: 40px 30px;
margin-bottom: 60px;
box-shadow: 0 5px 15px rgba(47, 164, 231, 0.1);
position: relative;
overflow: hidden;
}
.pweb-section::before {
content: "必須対応";
position: absolute; top: 0; left: 0;
background: var(--theme-accent); color: #fff;
padding: 5px 20px; font-weight: bold; font-size: 14px;
border-bottom-right-radius: 12px;
}
.pweb-header { text-align: center; margin-bottom: 30px; }
.pweb-title { font-size: 26px; font-weight: 800; color: #333; margin-bottom: 10px; }
.pweb-desc { color: #666; font-size: 16px; }
/* ログイン情報カード */
.login-card {
background: var(--theme-color-light);
border: 2px solid #b8dcf5; /* 薄い青枠 */
border-radius: 8px;
padding: 25px;
max-width: 600px;
margin: 0 auto 40px auto;
box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}
.card-head {
font-weight: bold; font-size: 20px; margin-bottom: 20px;
padding-bottom: 10px; border-bottom: 1px dashed #aaa;
color: var(--theme-color-dark);
display: flex; align-items: center; gap: 10px;
}
.login-grid {
display: grid; grid-template-columns: 1fr; gap: 20px;
}
.login-field { margin-bottom: 0; }
.field-label { display: block; font-size: 13px; color: #555; margin-bottom: 5px; font-weight: bold; }
.field-value {
background: #fff; border: 1px solid #ccc; border-radius: 4px;
padding: 10px 15px; font-family: monospace; font-size: 18px; font-weight: bold; color: #333;
display: block; box-shadow: inset 0 1px 3px rgba(0,0,0,0.1);
}
.field-helper {
font-size: 13px; color: #666; margin-top: 5px; text-align: right;
}
.note-red {
font-size: 15px; color: #e74c3c; margin-top: 20px; font-weight: bold;
background: #fff5f5; padding: 15px; border-radius: 6px; border: 1px dashed #e74c3c;
text-align: center;
margin-bottom: 25px; /* ボタンとの間隔を確保 */
}
/* 手順フロー */
.flow-area { margin-bottom: 40px; }
.flow-title {
text-align: center; font-size: 18px; font-weight: bold; margin-bottom: 20px;
color: #444; position: relative; display: inline-block; left: 50%; transform: translateX(-50%);
background: #fff; padding: 0 15px; z-index: 2;
}
.flow-container {
display: flex; gap: 15px; justify-content: space-between;
counter-reset: step;
}
.flow-step {
flex: 1;
background: #fff; border: 1px solid #ddd; border-radius: 8px;
padding: 20px 10px; text-align: center;
position: relative;
box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}
.flow-step::before {
counter-increment: step;
content: "STEP " counter(step);
display: block;
background: var(--theme-color);
color: #fff;
font-size: 12px; font-weight: bold;
padding: 2px 10px; border-radius: 10px;
width: fit-content; margin: 0 auto 10px auto;
}
.flow-step:not(:last-child)::after {
content: "\f054"; /* chevron-right */
font-family: "Font Awesome 6 Free"; font-weight: 900;
position: absolute; top: 50%; right: -15px; transform: translateY(-50%);
color: #ccc; font-size: 18px; z-index: 1;
background: #fff; height: 20px; line-height: 20px;
}
.step-icon { font-size: 28px; color: var(--theme-color); margin-bottom: 10px; display: block; }
.step-text { font-weight: bold; font-size: 14px; line-height: 1.4; }
.step-highlight { color: var(--theme-accent); font-weight: 800; display: block; margin-top: 4px;}
/* アクションボタン */
.action-area {
text-align: center;
margin-bottom: 30px;
margin-top: 40px;
width: 100%; /* 親要素に合わせる */
}
/* 【改修】ボタンのはみ出し防止調整 */
.btn-pweb-main {
display: inline-block;
box-sizing: border-box; /* パディングを含めた幅計算にする */
background-color: var(--theme-accent); color: #fff;
font-size: 20px; /* 少しサイズ調整 */
font-weight: bold;
padding: 18px 20px; /* 左右パディングを減らしてはみ出し防止 */
border-radius: 50px;
text-decoration: none;
box-shadow: 0 4px 6px rgba(0,0,0,0.2);
transition: all 0.3s;
width: 100%;
max-width: 500px;
word-break: break-all;
line-height: 1.3;
}
.btn-pweb-main:hover {
background-color: #d35400; transform: translateY(-2px);
box-shadow: 0 8px 16px rgba(0,0,0,0.25);
}
.url-text {
font-size: 13px; color: #fff; display: block; font-weight: normal; margin-top: 5px; opacity: 0.9;
}
/* 画像マニュアル表示エリア */
.manual-vertical-area {
margin-top: 40px;
border-top: 1px dashed #ddd;
padding-top: 40px;
}
.manual-label {
text-align: center; font-size: 18px; font-weight: bold; color: #333; margin-bottom: 25px;
display: flex; align-items: center; justify-content: center; gap: 8px;
}
.manual-grid-vertical {
display: grid;
grid-template-columns: 1fr;
gap: 40px;
width: 100%;
}
.manual-item { text-align: center; }
.manual-link {
display: block; width: 100%;
border: 2px solid #eee; border-radius: 12px;
overflow: hidden; position: relative; transition: all 0.3s;
background: #fff; cursor: pointer;
}
.manual-link:hover {
border-color: var(--theme-color);
box-shadow: 0 10px 25px rgba(0,0,0,0.15);
transform: translateY(-2px);
}
.manual-img { width: 100%; height: auto; display: block; }
.zoom-hint {
position: absolute; bottom: 20px; right: 20px;
background: rgba(48, 85, 144, 0.9);
color: #fff;
padding: 10px 20px; border-radius: 30px;
font-size: 15px; font-weight: bold;
box-shadow: 0 2px 5px rgba(0,0,0,0.2);
pointer-events: none;
display: flex; align-items: center; gap: 8px;
}
.manual-caption {
margin-top: 15px; font-weight: bold; color: var(--theme-color-dark); font-size: 18px;
}
/* モーダル用スタイル */
.modal-overlay {
display: none;
position: fixed; top: 0; left: 0; width: 100%; height: 100%;
background: rgba(0, 0, 0, 0.9); z-index: 2000;
overflow-y: auto;
-webkit-overflow-scrolling: touch;
box-sizing: border-box;
padding: 20px 0;
}
.modal-overlay.active {
display: flex;
align-items: flex-start;
justify-content: center;
opacity: 1;
}
.modal-content {
position: relative;
width: 95%;
max-width: 1400px;
margin: auto;
background: transparent;
border-radius: 4px;
box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
.modal-img {
display: block;
width: 100%;
height: auto;
background: #fff;
border-radius: 4px;
}
.modal-close-btn {
position: fixed; top: 20px; right: 20px;
background: rgba(0,0,0,0.6); color: #fff;
border: 2px solid #fff; border-radius: 50%;
width: 50px; height: 50px; font-size: 24px; cursor: pointer;
display: flex; align-items: center; justify-content: center;
z-index: 2010;
transition: background 0.2s;
}
.modal-close-btn:hover { background: rgba(0,0,0,0.9); transform: scale(1.1); }
/* メニューエリア */
.menu-header { text-align: center; margin-bottom: 30px; position: relative; margin-top: 50px; }
.menu-header h2 { font-size: 22px; color: #555; background: #fff; display: inline-block; padding: 0 15px; z-index: 1; position: relative; }
.menu-header::before { content: ""; position: absolute; top: 50%; left: 0; right: 0; border-top: 1px solid #ddd; z-index: 0; }
.menu-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 15px; }
.menu-card {
display: flex; align-items: center; background: #fff; border: 1px solid #eee; border-radius: 8px;
padding: 20px; text-decoration: none; color: #333; transition: all 0.2s; box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}
.menu-card:hover {
border-color: var(--theme-color);
background-color: var(--theme-color-light);
transform: translateY(-2px); box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.menu-icon { font-size: 24px; color: var(--theme-color); width: 50px; text-align: center; margin-right: 15px; }
.menu-content { flex: 1; }
.menu-title { font-weight: bold; font-size: 18px; display: block; }
.menu-desc { font-size: 13px; color: #666; }
.menu-arrow { color: #ccc; }
/* フッター */
footer { background-color: var(--theme-color-dark); color: #fff; padding: 30px 0; font-size: 13px; text-align: center; margin-top: 50px; }
/* スマホ対応 */
@media (max-width: 768px) {
.page-title { font-size: 24px; }
.pweb-section { padding: 30px 15px; }
.flow-container { flex-direction: column; gap: 15px; }
.flow-step { text-align: left; display: flex; align-items: center; gap: 15px; padding: 15px; }
.flow-step::before { margin: 0; flex-shrink: 0; }
.flow-step:not(:last-child)::after {
content: "\f078"; /* chevron-down */
top: auto; bottom: -22px; right: 50%; transform: translateX(50%);
width: 20px; height: 20px; line-height: 20px;
background: transparent; color: #ccc; font-size: 14px;
display: block;
}
.step-icon { font-size: 24px; margin-bottom: 0; width: 30px; text-align: center; }
.btn-pweb-main { font-size: 18px; padding: 15px 10px; /* スマホでより狭く */ }
.url-text { font-size: 11px; }
.manual-label { font-size: 16px; }
.manual-caption { font-size: 16px; }
}
</style>
</head>
<body>
<header>
<div class="header-inner">
<div class="logo-area">
<div class="logo-main">オノパー</div>
<div class="logo-sub">ONODERA PARK</div>
</div>
</div>
</header>
<main class="container">
<section class="welcome-box">
<h1 class="page-title">ご入社ありがとうございます</h1>
<div class="status-message">
<p>
<strong><i class="fa-solid fa-check-circle"></i> お手続き状況について</strong><br>
お手続き完了の通知は担当者へ送られています。<br>
正式な勤務開始日時、手順などのご連絡をお待ち下さい。
</p>
</div>
</section>
<section class="pweb-section">
<div class="pweb-header">
<h2 class="pweb-title"><i class="fa-solid fa-id-card"></i> マイナンバー登録・初回設定</h2>
<p class="pweb-desc">以下の手順で初期設定を行い、マイナンバー登録へ進んでください。</p>
</div>
<div class="login-card">
<div class="card-head"><i class="fa-solid fa-key"></i> ログイン情報</div>
<div class="login-grid">
<div class="login-field">
<span class="field-label">ユーザーID</span>
<div class="field-value">社員番号 (6桁)</div>
</div>
<div class="login-field">
<span class="field-label">初期パスワード (生年月日8桁)</span>
<div class="field-value">19710401</div>
<div class="field-helper">
例:1971年4月1日生まれ → 数字8桁
</div>
</div>
</div>
<p class="note-red">
<i class="fa-solid fa-triangle-exclamation"></i> 初回ログイン時に「電子交付の承諾」と「パスワード変更」が必須となります。
</p>
<div style="text-align: center;">
<a href="https://kyuyo5.keitai-bin.jp/leoc" target="_blank" class="btn-pweb-main">
<i class="fa-solid fa-right-to-bracket"></i> マイナンバー登録 ログイン画面へ
<span class="url-text">https://kyuyo5.keitai-bin.jp/leoc</span>
</a>
</div>
<p style="font-size:12px; color:#666; margin-top:10px; text-align:center;">(外部サイトが新しいタブで開きます)</p>
</div>
<div class="flow-area">
<div class="flow-title">初回設定から登録までの流れ</div>
<div class="flow-container">
<div class="flow-step">
<i class="fa-solid fa-right-to-bracket step-icon"></i>
<div class="step-text">
下のボタンから<br>
<span class="step-highlight">ログイン</span>
</div>
</div>
<div class="flow-step">
<i class="fa-solid fa-file-contract step-icon"></i>
<div class="step-text">
電子交付の承諾<br>
<span class="step-highlight">「承諾する」</span>
</div>
</div>
<div class="flow-step">
<i class="fa-solid fa-lock step-icon"></i>
<div class="step-text">
<span class="step-highlight">パスワード変更</span><br>
(PDF用は空欄可)
</div>
</div>
<div class="flow-step">
<i class="fa-solid fa-id-card step-icon"></i>
<div class="step-text">
メニューから<br>
<span class="step-highlight">マイナンバー登録</span>
</div>
</div>
</div>
</div>
<div class="manual-vertical-area">
<div class="manual-label">
<i class="fa-solid fa-images"></i> 手順詳細・画面イメージ(クリックで拡大)
</div>
<div class="manual-grid-vertical">
<div class="manual-item">
<a href="https://lh3.googleusercontent.com/d/1HaAQibjYgB2Lwd3k1Pj74rkJn-dNVcKK" class="manual-link js-modal-trigger">
<img src="https://lh3.googleusercontent.com/d/1HaAQibjYgB2Lwd3k1Pj74rkJn-dNVcKK" alt="初回利用の手順" class="manual-img">
<div class="zoom-hint"><i class="fa-solid fa-expand"></i> 画面幅95%で表示</div>
</a>
<div class="manual-caption">▲ 初回利用の手順</div>
</div>
<div class="manual-item">
<a href="https://lh3.googleusercontent.com/d/1UVRXjNafHk8xUIzoR9x1HOtnKXZZcjWY" class="manual-link js-modal-trigger">
<img src="https://lh3.googleusercontent.com/d/1UVRXjNafHk8xUIzoR9x1HOtnKXZZcjWY" alt="操作画面イメージ" class="manual-img">
<div class="zoom-hint"><i class="fa-solid fa-expand"></i> 画面幅95%で表示</div>
</a>
<div class="manual-caption">▲ 操作画面イメージ</div>
</div>
</div>
</div>
<div class="action-area">
<a href="https://kyuyo5.keitai-bin.jp/leoc" target="_blank" class="btn-pweb-main">
<i class="fa-solid fa-right-to-bracket"></i> マイナンバー登録 ログイン画面へ
<span class="url-text">https://kyuyo5.keitai-bin.jp/leoc</span>
</a>
<p style="font-size:12px; color:#666; margin-top:10px;">(外部サイトが新しいタブで開きます)</p>
</div>
</section>
<section class="menu-header">
<h2>その他 入社時のご案内</h2>
</section>
<div class="menu-grid">
<a href="guide.html#sec-health" class="menu-card">
<div class="menu-icon"><i class="fa-solid fa-user-nurse"></i></div>
<div class="menu-content">
<span class="menu-title">体調不良・緊急連絡</span>
<span class="menu-desc">ルールと緊急時の連絡先</span>
</div>
<i class="fa-solid fa-chevron-right menu-arrow"></i>
</a>
<a href="guide.html#sec-training" class="menu-card">
<div class="menu-icon"><i class="fa-solid fa-graduation-cap"></i></div>
<div class="menu-content">
<span class="menu-title">研修・動画視聴</span>
<span class="menu-desc">入社時必須の研修動画</span>
</div>
<i class="fa-solid fa-chevron-right menu-arrow"></i>
</a>
<a href="guide.html#sec-welfare" class="menu-card">
<div class="menu-icon"><i class="fa-solid fa-gift"></i></div>
<div class="menu-content">
<span class="menu-title">福利厚生・手当</span>
<span class="menu-desc">ベネフィット・各種手当</span>
</div>
<i class="fa-solid fa-chevron-right menu-arrow"></i>
</a>
<a href="guide.html#sec-info" class="menu-card">
<div class="menu-icon"><i class="fa-solid fa-circle-info"></i></div>
<div class="menu-content">
<span class="menu-title">社内情報・メルマガ</span>
<span class="menu-desc">Web社内報「オノパー」</span>
</div>
<i class="fa-solid fa-chevron-right menu-arrow"></i>
</a>
<a href="guide.html#sec-anpi" class="menu-card">
<div class="menu-icon"><i class="fa-solid fa-mobile-screen"></i></div>
<div class="menu-content">
<span class="menu-title">安否確認サービス</span>
<span class="menu-desc">災害時の確認用アプリ</span>
</div>
<i class="fa-solid fa-chevron-right menu-arrow"></i>
</a>
<a href="guide.html#sec-compliance" class="menu-card">
<div class="menu-icon"><i class="fa-solid fa-comments"></i></div>
<div class="menu-content">
<span class="menu-title">相談窓口</span>
<span class="menu-desc">コンプライアンス相談</span>
</div>
<i class="fa-solid fa-chevron-right menu-arrow"></i>
</a>
</div>
</main>
<footer>
<div class="footer-inner">
<p>ONODERA PARK</p>
<div class="copyright">Copyright© ONODERA GROUP All Rights Reserved.</div>
</div>
</footer>
<div class="modal-overlay" id="imageModal">
<button class="modal-close-btn" id="modalClose"><i class="fa-solid fa-xmark"></i></button>
<div class="modal-content">
<img src="" alt="拡大画像" class="modal-img" id="modalImg">
</div>
</div>
<script>
document.addEventListener('DOMContentLoaded', () => {
const modal = document.getElementById('imageModal');
if (modal) {
const modalImg = document.getElementById('modalImg');
const closeBtn = document.getElementById('modalClose');
const triggers = document.querySelectorAll('.js-modal-trigger');
triggers.forEach(trigger => {
trigger.addEventListener('click', (e) => {
e.preventDefault();
const imgSrc = trigger.getAttribute('href');
modalImg.src = imgSrc;
modal.classList.add('active');
document.body.style.overflow = 'hidden';
});
});
const closeModal = () => {
modal.classList.remove('active');
document.body.style.overflow = '';
setTimeout(() => { modalImg.src = ''; }, 300);
};
if(closeBtn) closeBtn.addEventListener('click', closeModal);
modal.addEventListener('click', (e) => {
if (e.target === modal || e.target.classList.contains('modal-content')) {
closeModal();
}
});
}
});
</script>
</body>
</html> |