@charset "utf-8";


body {
    font-family: "Noto Serif JP", serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-variation-settings:
        "slnt" 0;
    top: 0;
    left: 0;
    margin: 0;
    background: linear-gradient(45deg, #dce9ad,#eff9fe,#a2daf7,#7fc8b8);
    background-size: 200% 200%;
    animation: GradientBackground 15s ease infinite;
    margin: 0 auto;
}

@keyframes GradientBackground {
    0% {
        background-position: 0% 100%;
    }

    50% {
        background-position: 100% 0%;
    }

    100% {
        background-position: 0% 100%;
    }
}



/* ==================================
   Header
================================== */
header {
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.9);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 30px;
    height: 80px;
}

.head-img img {
    max-width: 250px;
    min-width: 150px;
    height: auto;
}

/* --- Navigation Styles --- */
.head-nav ul {
    position: relative;
    /* Base for the sliding element */
    display: flex;
    align-items: center;
    /* Vertically align items */
    margin: 0;
    padding: 0;
    list-style: none;
}

/* Sliding ellipse background */
.head-nav ul::before {
    content: '';
    position: absolute;
    top: 50%;
    /* Position and size are set by JavaScript via CSS variables */
    left: var(--slider-left, 0);
    width: var(--slider-width, 0);
    height: var(--slider-height, 0);
    background-color: rgba(135, 167, 204, 0.4);
    border-radius: 9999px;
    /* To make it an ellipse */
    transform: translateY(-50%);
    transition: left 0.3s ease-out, width 0.3s ease-out;
    z-index: 0;
}

.head-nav li {
    position: relative;
    /* To ensure text is above the background */
    z-index: 1;
}

.head-nav a {
    display: block;
    padding: 10px 20px;
    /* Adjust padding for ellipse size */
    color: #154360;
    font-size: 16px;
    text-decoration: none;
    transition: color 0.3s;
    white-space: nowrap;
    /* Prevent text wrapping */
}

/* Text color for current and hovered items (excluding contact link) */
.head-nav li.current a,
.head-nav ul:hover li:not(.contact-link):hover a {
    color: rgb(50, 50, 63);
    ;
}

/* --- Contact Link Styles --- */
.head-nav li.contact-link a {
    background-color: #ff8c00;
    /* Teal color for emphasis */
    color: #fff;
    border: 2px;
    border-radius: 5px;
    margin-left: 15px;
    /* Add some space */
    transition: background-color 0.3s, transform 0.2s;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.head-nav li.contact-link a:hover {
    background-color: rgb(223, 130, 23);
    /* Darker teal on hover */
    transform: translateY(-2px);
    /* Slight lift effect */
    color: #fff;
    /* Ensure color stays white on hover */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* --- ハンバーガーメニュー --- */
.nav-button {
    display: none;
    /* PCでは非表示 */
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 101;
}

.nav-button-bar {
    display: block;
    width: 100%;
    height: 3px;
    background-color: #333;
    margin: 8px 0;
    transition: transform 0.3s, opacity 0.3s;
}

.nav-wrapper {
    display: block;
}
/* ▲▲▲ ホバー時と現在のページで下線を表示するよう変更 ▲▲▲ */


/* ヒーローセクション */
.hero {
    text-align: center;
    background: url('img/dep_img_03.jpg') no-repeat center/cover;
    color: white;
    padding: 120px 20px;
    mask-image: linear-gradient(to bottom, black 70%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 70%, transparent 100%);
    /* Safari用 */
}

.hero h1 {
    font-size: 38px;
    text-shadow: 5px 4px 4px rgba(44, 44, 59, 0.8);
    /* background-color: rgba(135, 167, 204, 0.4);
    backdrop-filter: blur(3px); */
    border-radius: 10px;
    padding: 20px 30px;
    width: fit-content;
    margin: 0 auto;
}

h2.company-description {
    width: 80%;
    margin: 80px auto;
    font-size: 18px;
    line-height: 1.6;
    /* color: #333; */
    text-align: center;
}

h2 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 26px;
}

/* 採用情報セクション */
.job-section {
    max-width: 800px;
    margin: 40px auto;
    background-color: #fff;
    /* 白色を80%の透明度に */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 255, 255, 0.5);
    /* 枠線も少し透明に */
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
    ;
}

table {
    width: 100%;
    border-collapse: collapse;
    /* セルの線を重ねて一本化 */
    border-spacing: 0;
    /* セル間の余白を消す */
    margin-top: 10px;
}

table th,
table td {
    border: 1px solid #0073e6;
    padding: 10px;
    vertical-align: top;
    /* テキストを上揃えに */
}

table th {
    text-align: left;
    width: 120px;
    /* 全てのthの幅を統一 */
    font-weight: bold;
    vertical-align: top;
    padding: 8px;
}



/* 応募方法の欄CSS */
.application-process {
    max-width: 800px;
    margin: 40px auto;
    padding: 20px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.application-process h2 {
    margin-bottom: 30px;
    font-size: 26px;
    border-bottom: 2px solid #0073e6;
    padding-bottom: 8px;
}

.application-process ul {
    list-style: none;
    margin: 0;
    padding: 0;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    /* 均等配置 */
    height: 500px;
    /* 全体の高さを固定して間隔を均等化 */
}

.application-process ul::before {
    content: "";
    position: absolute;
    top: 0;
    left: 25px;
    width: 2px;
    height: 100%;
    background: #ccc;
}

.application-process li {
    content: "";
    position: relative;
    padding-left: 60px;
}

.application-process .step-number {
    position: absolute;
    left: 0;
    top: 0;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid #0073e6;
    color: #0073e6;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2em;
}

.application-process .step-content h3 {
    margin: 0 0 5px 0;
    font-size: 1.2em;
}

.application-process .step-content p {
    margin: 0;
    color: #555;
    line-height: 1.5;
}

.application-process {
    max-width: 800px;
    margin: 40px auto;
    padding: 20px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.application-process h2 {
    margin-bottom: 30px;
    font-size: 26px;
    border-bottom: 2px solid #0073e6;
    padding-bottom: 8px;
}

.application-process ul {
    list-style: none;
    margin: 0;
    padding: 0;
    position: relative;
}

.application-process li {
    position: relative;
    padding-left: 60px;
    margin-bottom: 40px;
    /* ステップ間のスペース */
}

/* 縦線は各liの左側に作る */
.application-process li::before {
    content: "";
    position: absolute;
    top: 0;
    left: 25px;
    width: 2px;
    height: 100%;
    background: #ccc;
}

/* 最後のステップは線を半分にする */
.application-process li:last-child::before {
    height: 50%;
}

.application-process .step-number {
    position: absolute;
    left: 0;
    top: 0;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid #0073e6;
    color: #0073e6;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2em;
}

.application-process .step-content h3 {
    margin: 0 0 5px 0;
    font-size: 1.2em;
}

.application-process .step-content p {
    margin: 0;
    color: #555;
    line-height: 1.5;
}

.application-process ul::before {
    content: "";
    position: absolute;
    top: 0;
    left: 25px;
    width: 2px;
    height: calc(100% - 50px);
    /* 最後のステップの高さ分だけ減らす */
    background: #ccc;
}


/* リクルート入力欄 */
/* セクション幅をjob-sectionと統一 */
.recruit-form {
    max-width: 800px;
    /* タブと同じ幅 */
    margin: 0 auto 60px;
    /* 中央揃え＋下余白 */
    padding: 20px;
    background: #fff;
    /* 背景色を統一 */
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.recruit-form h2 {
    font-size: 26px;
}

.accordion-toggle {
    width: 100%;
    padding: 12px;
    font-weight: 600;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #ff8c00;
    cursor: pointer;
    text-align: center;
    margin-top: 20px;
    /* 下に20px余白 */
    color:#fff;
}

.accordion-toggle:hover {
    background-color: rgb(223, 130, 23);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    margin-top: 10px;
}

.application-form label {

    font-weight: bold;
    display: block;
    margin-bottom: 15px;
}

.application-form input {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.application-form textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 5px;
    min-height: 100px;
    /* 好きな高さに調整 */
    resize: vertical;
    /* ユーザーが高さ変更可能 */
}

.application-form button[type="submit"] {
    padding: 10px 15px;
    background: #0073e6;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.application-form button[type="submit"]:hover {
    background: #005bb5;
}

/* 送信結果ポップアップ */
.popup {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    padding: 15px 25px;
    border-radius: 8px;
    color: white;
    font-weight: bold;
    font-size: 16px;
    z-index: 2000;
    opacity: 0;
    transition: opacity 0.3s ease, top 0.3s ease;
}

.popup.success {
    background-color: #28a745;
}

.popup.error {
    background-color: #dc3545;
}

.popup.show {
    opacity: 1;
    top: 50px;
}

.hidden {
    display: none;
}


/* ===== タブUI ===== */
.tabs {
    max-width: 800px;
    margin: 0 auto 10px;
    display: flex;
    gap: 6px;
}

.tab {
    user-select: none;
    cursor: pointer;
    padding: 10px 14px;
    width: 100%;
    border: 1px solid #ddd;
    /* border-bottom: none; */
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.3);
    /* ← 未選択はグレーっぽく */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    font-weight: 600;
    position: relative;
    top: 1px;
    /* 枠線がズレないように調整 */
    z-index: 0;
    text-align: center;
}

.tab.active {
    position: relative;
    z-index: 1;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.5);
    /* 選択中は白で前面 */
    z-index: 2;
    border-bottom: 1px solid #fff;
    /* 下線を白にしてjob-sectionと繋がる */
    color: #fff;

}

/* タブ切替の表示/非表示 */
.job-section {
    display: none;
}

.job-section.active {
    display: block;
}

/* タブの余白調整 */
.tabs {
    border-radius: 5px;
    /* 角を丸くする */
}

/* タブとセクションを繋げる */
.tab.active {
    border: 1px solid #0073e6;
    border-radius: 5px;
    /* 角を丸くする */
    background-color: #154360;
    /* 紺色 */
}

/* セクション上部の余白をタブに合わせて微調整 */
.job-section {
    margin-top: 0;
    /* 上の隙間を減らす */
    padding-top: 10px;
    /* 必要に応じて調整 */
}



/* ==================================
   フッター (Footer)
================================== */
footer {
    color: #666666;
    background: #fff;
    padding: 40px 0;
}

footer .container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 30px;
}

.footA {
    margin-bottom: 30px;
}

.foot-img img {
    width: 250px;
    min-width: 150px;
    height: auto;
}

.footB p {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
}

.footC h3 {
    margin: 0 0 10px;
    border-bottom: solid 1px currentColor;
    font-size: 14px;
}

.footC ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.footC a {
    display: block;
    padding: 5px;
    color: inherit;
    font-size: 12px;
    text-decoration: none;
    transition: background-color 0.3s;
}

.footC a:hover {
    background-color: rgba(0, 0, 0, 0.3);
}

.copyright {
    font-size: 12px;
    text-align: center;
}


/* ==================================
   レスポンシブ設定 (Media Queries)
================================== */

/* PC・タブレット向け (768px以上) */
@media (min-width: 768px) {

    /* ▼▼▼ フッターのレイアウトを修正 ▼▼▼ */
    .footer-main {
        display: flex;
        align-items: stretch;
        /* 住所とナビゲーションの高さを揃える */
    }

    .footB {
        flex: 1;
        display: flex;
        align-items: center;
        /* 住所テキストを垂直方向に中央揃え */
    }

    .footC {
        flex: 2;
        /* ナビゲーションが住所より広い幅を持つように */
        display: flex;
    }

    .footC>div {
        flex: 1;
    }

    .footC>div:not(:first-child) {
        margin-left: 40px;
    }

    .copyright {
        margin-top: 30px;
    }

    /* ▲▲▲ フッターのレイアウトを修正 ▲▲▲ */
}

/* タブレット向け中間サイズ (768px - 1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
    .head-img img {
        width: 250px;
        min-width: 150px;
        height: auto;
    }

    .foot-img img {
        width: 250px;
        min-width: 150px;
        height: auto;
    }

    .head-nav a {
        padding: 15px 10px;
        font-size: 15px;
    }
}

/* スマホ・タブレット向け (767px以下) */
@media (max-width: 767px) {

    /* --- ヘッダー --- */
    header .container {
        height: 70px;
        padding: 0 15px;
    }

    .nav-button {
        display: block;
        width: 40px;
        height: 40px;
        background: none;
        border: none;
        cursor: pointer;
        z-index: 101;
    }

    .nav-button-bar {
        display: block;
        width: 100%;
        height: 3px;
        background-color: #333;
        margin: 8px 0;
        transition: transform 0.3s, opacity 0.3s;
    }

    .nav-open .nav-button-bar:nth-child(1) {
        transform: translateY(11px) rotate(45deg);
    }

    .nav-open .nav-button-bar:nth-child(2) {
        opacity: 0;
    }

    .nav-open .nav-button-bar:nth-child(3) {
        transform: translateY(-11px) rotate(-45deg);
    }

    .nav-wrapper {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: rgba(255, 255, 255, 0.98);
        z-index: 100;
        padding-top: 80px;
    }

    .nav-open .nav-wrapper {
        display: block;
    }

    .head-nav {
        width: 100%;
        text-align: center;
    }

    .head-nav ul {
        flex-direction: column;
    }

    .head-nav a {
        padding: 20px;
        font-size: 18px;
    }

    .head-nav a::before {
        display: none;
    }

        /* nav-openクラスがbodyに付与された時のスタイル */
    .nav-open .nav-wrapper {
        display: block;
    }

    /* ハンバーガーアイコンのアニメーション */
    .nav-open .nav-button-bar:nth-child(1) {
        transform: translateY(11px) rotate(45deg);
    }

    .nav-open .nav-button-bar:nth-child(2) {
        opacity: 0;
    }

    .nav-open .nav-open .nav-button-bar:nth-child(3) {
        transform: translateY(-11px) rotate(-45deg);
    }
    
    /* --- ファーストビュー --- */
    .hero h1 {
        font-size: 24px;
        margin: 0 auto;
        text-align: center;
    }

    /* --- フッター --- */
    footer .container,
    .footC {
        flex-direction: column;
        text-align: center;
    }

    .footB {
        margin-bottom: 30px;
    }

    .footC>div {
        margin-bottom: 20px;
    }

    .footC>div:not(:first-child) {
        margin-left: 0;
    }
}

/* 特に幅の狭いスマホ向け (375px以下) */
@media (max-width: 375px) {
    .head-nav a {
        padding: 15px;
        font-size: 16px;
    }

    .head-img img {
        width: 150px;
        min-width: 150px;
        height: auto;
    }

    .foot-img img {
        width: 150px;
        min-width: 100px;
        height: auto;
    }
}

/* スマホ表示用（768px以下） 横並び変更*/
@media (max-width: 768px) {

    .job-section {
        width: 90%;
        max-width: 600px;
        margin: 20px auto;
        padding: 15px;
    }

    .application-process {
        width: 90%;
        max-width: 600px;
        margin: 20px auto;
        padding: 15px;
    }

    .recruit-form {
        width: 90%;
        max-width: 600px;
        margin: 20px auto;
        padding: 15px;
    }

    .job-section table,
    .job-section tbody,
    .job-section tr,
    .job-section th,
    .job-section td {
        display: block;
        width: 100%;
    }

    .job-section th {
        /* background-color: #f5f5f5; */
        padding: 10px;
        font-weight: bold;
        width: auto;
    }

    .job-section td {
        padding: 10px;
    }

    .job-section tr {
        margin-bottom: 15px;
    }

    table {
        border-collapse: collapse;
        /* 線の重なり防止 */
        width: 100%;
    }
}