@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: rgb(255, 136, 0);
    /* 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/LobbySpace.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;
    text-align: center;
    line-height: 1.8;
}

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;
    margin-top: 10px;
}

table th,
table td {
    padding: 10px;
    border: 1px solid #0073e6;
    /* ここだけで青い枠線 */
    line-height: 2;
    /* 行間を広げる */
    letter-spacing: 0.05em;
    /* 文字の横の間隔 */
}

table th {
    text-align: left;
    width: 25%;
}

table td {
    line-height: 1.8;
    padding: 10px;
    margin-bottom: 7px;
    /* 各段落の下に余白 */
}
.station {
  margin-bottom: 0;   /* 駅とアクセスの間隔をゼロに */
}



iframe {
    border-radius: 10px;
    margin: 10px;

}

.cert-item {
    margin-bottom: 10px;  /* 項目ごとの間隔を調整 */
}

.cert-item .station {
    margin-right: 8px;   /* 資格名と人数の間にちょっと余白 */
}

.access-item {
    margin-bottom: 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;
    }

    .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;
    }

    /* --- ファーストビュー --- */
    .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;
    }

    .job-section table,
    .job-section tbody,
    .job-section tr,
    .job-section th,
    .job-section td {
        display: block;
        width: 100%;
    }


    .job-section td {
        padding: 10px;
    }

    .job-section tr {
        margin-bottom: 15px;
        
    }

    h2.company-description br {
        display: none;
    }
}