@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Noto+Sans+JP:wght@100..900&display=swap');

body {
    background: #fefefe;
    font-family: "YakuHanJP_Narrow", "Zen Kaku Gothic New", sans-serif;
    font-optical-sizing: auto;
    box-sizing: border-box;
    overflow-x: hidden;
}

header {
    position: relative;
    z-index: 200;
    display: grid;
    grid-template-columns: repeat(2, 1fr) 40px;
    align-items: center;
    padding: 28px;
    transform: translateY(-100px);
    animation: slideInFromTop 1s ease-out 1s forwards;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.topPageLogo {
    color: #212121;
}

@keyframes slideInFromTop {
    0% {
        transform: translateY(-100px);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

.line {
    cursor: pointer;
}

.line div {
    margin-top: 6px;
    width: 22px;
    height: 2px;
    background: #333;
    margin-left: auto;
}

.line div:nth-of-type(1) {
    margin-top: 0;
}

.logo {
    font-size: 30px;
    letter-spacing: 1.6px;
    font-weight: 500;
    color: #333;
}

.logo span {
    font-size: 20px;
    padding-left: 4px;
    font-weight: 500;
}

.menu.open {
    top: 10px;
}

.menu {
    position: fixed;
    top: -110vh;
    left: -10px;
    width: 106%;
    height: 100vh;
    background: #fefefe;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: top 0.5s ease;
}

.close-btn {
    position: absolute;
    top: 34px;
    right: 100px;
    font-size: 2rem;
    cursor: pointer;
    display: none;
}

.menu.open .close-btn {
    display: block;
}

.line.open .line1:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.line.open .line1:nth-child(2) {
    opacity: 0;
}

.line.open .line1:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.menu-content h1 {
    padding-left: 40px;
    letter-spacing: 2px;
    font-size: 32px;
    color: #6B8FA8;
}

.menu-content {
    width: 100%;
}

.navigation_menu {
    display: flex;
    gap: 100px;
}

.navigation_menu a {
    font-family: "YakuHanJP_Narrow", "Zen Kaku Gothic New", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-size: 18px;
    color: #212121;
    letter-spacing: 1.6px;
    line-height: 1.8;
}

.navigation_menu li,
a {
    list-style: none;
    text-decoration: none;
    margin-left: auto;
    padding-top: 6px;
    font-size: 18px;
    letter-spacing: 1.6px;
}

.entry {
    width: 140px;
    height: 50px;
    border-radius: 4px;
    font-size: 16px;
    color: #fff;
    letter-spacing: 1.5px;
    background: #6B8FA8;
    background-size: 200% 100%;
    border: none;
    font-family: "YakuHanJP_Narrow", "Zen Kaku Gothic New", sans-serif;
    font-optical-sizing: auto;
    font-weight: 600;
}

#jobDes {
    margin: 40px auto 42px auto;
    width: 80%;
}

.job h2 {
    font-weight: normal;
    letter-spacing: 2.2px;
    line-height: 1.2;
    font-size: 2rem;
    font-weight: 500;
    text-align: left;
    margin: 0;
    padding: 0;
}

.job h3,
p {
    font-weight: normal;
    margin: 0;
    padding: 0;
}

.job-01 {
    margin-top: 60px;
    padding: 20px 0;
    display: flex;
    align-items: center;
    border-top: 1px solid rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
    width: 100%;
}

.job h3 {
    width: 180px;
    letter-spacing: 2.2px;
    line-height: 1.6;
    font-size: 1rem;
}

.job p {
    line-height: 1.8;
    letter-spacing: 1.2px;
    font-size: 1rem;
}

.job-02 {
    padding: 20px 0;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
    width: 100%;
}

.jobTime {
    padding: 20px 0;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
    width: 100%;
}

.jobMon {
    padding: 20px 0;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
    width: 100%;
}

@media screen and (max-width:768px) {
    #jobDes {
        width: 90%;
    }

    .job-01 {
        margin-top: 40px;
    }

    .job-01,
    .job-02,
    .jobTime,
    .jobMon {
        display: block;
    }

    .job-01 h3,
    .job-02 h3,
    .jobTime h3,
    .jobMon h3 {
        font-weight: bold;
    }
}

.detailText .title {
    margin: 0 0 20px 0;
    text-align: left;
    font-size: 1.8rem;
    font-weight: 500;
    letter-spacing: 1px;
    padding-top: 100px;
}

.detailText {
    margin: 0 auto;
    margin-bottom: 40px;
}

.directEntry h3,
.directEntry h4,
.agentEntry h3,
.agentEntry h4 {
    font-weight: normal;
}

.directEntry,
.agentEntry {
    letter-spacing: 1px;
}

.pattern01,
.pattern02 {
    margin-top: 18px;
}

.pattern01P,
.pattern02P {
    margin-top: 4px;
    line-height: 1.6;
}

.agentEntry {
    margin-top: 40px;
}

.directEntry {
    padding: 10px 0 40px 0;
    border-bottom: 1px solid #212121;
}

h3 {
    font-size: 1.4rem;
    letter-spacing: 1.8px;
}

@media screen and (max-width:768px) {
    header {
        padding: 18px;
    }

    .title {
        font-size: 1.2rem;
    }

    .detailText {
        width: 100%;
    }

    h3 {
        font-size: 1.2rem;
    }

    h4,
    p {
        font-size: 1rem;
    }
}

@media screen and (max-width:500px) {
    header {
        grid-template-columns: repeat(2, 1fr) 40px;
    }

    .line div {
        width: 24px;
    }

    .entry {
        width: 100px;
        height: 38px;
        font-size: 1em;
        letter-spacing: 1.8px;
    }
}

@media screen and (max-width:550px) {
    .menu-content h1 {
        letter-spacing: 2px;
        font-size: 26px;
    }

    .navigation_menu {
        gap: 50px;
    }

    .navigation_menu a {
        font-size: 14px;
        letter-spacing: 1.8px;
        line-height: 1.6;
    }
    .navigation_menu li,
    a {
        font-size: 14px;
    }
    .job p {
        padding-top: 10px;
        font-size: 14px;
    }
}

@media screen and (max-width:414px) {
    header {
        grid-template-columns: repeat(2, 1fr) 30px;
    }

    .line div {
        width: 18px;
        margin-top: 4px;
    }

    .entry {
        width: 86px;
        height: 36px;
        font-size: .88em;
        letter-spacing: 1px;
    }

    .close-btn {
        top: 20px;
        right: 25px;
        font-size: 1.6rem;
    }

    .menu-content h1 {
        padding-left: 20px;
    }

    .navigation_menu {
        padding-left: 20px;
    }

    .job h2 {
        font-size: 1.8rem;
    }

    .job-01 {
        margin-top: 28px;
    }

    .job p {
        padding-top: 10px;
        font-size: 14px;
    }
}

footer {
    background-color: #6B8FA8;
    color: #fff;
    margin-top: 40px;
    padding: 20px 0;
    text-align: left;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin: 0 auto;
}

.footer-section h4 {
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 1.2px;
    margin-bottom: 15px;
    color: #fff;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: #333;
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-links li a {
    font-size: 16px;
    color: #ccc;
    border: 1px solid #ccc;
    border-radius: 50%;
    padding: 10px;
    transition: background-color 0.3s, color 0.3s;
}

.social-links li a:hover {
    background-color: #fff;
    color: #333;
}

.company-info {
    padding-left: 20px;
}

/* copyright */
.footer-bottom {
    text-align: right;
    margin-top: 40px;
    padding-top: 20px;
    padding-right: 20px;
    border-top: 1px solid #fff;
}

.footer-bottom p {
    font-size: 12px;
    color: #fff;
    margin: 0;
}

@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        padding: 0 20px;
    }
}

@media (max-width: 520px) {
    .company-info {
        padding-left: 20px;
    }

    .footer-section h4 {
        font-size: 16px;
        margin-bottom: 10px;
    }

    .footer-section ul li a {
        font-size: 12px;
    }
}

@media (max-width: 430px) {
    .footer-container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: repeat(3, 1fr);
        margin: 0 auto;
        height: 400px;
    }

    .company-info {
        padding-left: 0;
    }

    .footer-bottom p {
        font-size: 8px;
    }
}