@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: #f5f5f5;
    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) 60px;
    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: #333;
    letter-spacing: 1.8px;
    line-height: 1.8;
}

.navigation_menu li,
a {
    list-style: none;
    padding-top: 6px;
    font-size: 18px;
    letter-spacing: 1.6px;
    text-decoration: none;
    margin-left: auto;
}

header .form {
    margin-left: auto;
}

.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;
}

main {
    color: #333;
}

.big_heading {
    font-weight: 800;
    font-size: 4rem;
    letter-spacing: 2.8px;
    margin: 0;
    color: #6b8fa8;
    padding: 0 20px;
}

.small_heading {
    letter-spacing: 1.2px;
    font-weight: 800;
    padding: 0 20px;
}

.blogAll {
    padding: 40px 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
}
.visual {
    width: 100%;
    height: 260px;
    border-radius: 10px;
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.12);
}

.visual:hover {
    transform: scale(0.96);
    transition: transform 0.3s;
    opacity: .8;
}

.text {
    font-size: 16px;
}
.text span {
    font-size: 14px;
    line-height: 1.8;
}

.blog01 {
    background-image: url(../image/recruitblog01.JPG);
    background-size: cover;
    background-position: center;
}
.blog02 {
    background-image: url(../image/recruitblog02.jpg);
    background-size: cover;
    background-position: center;
}

@media screen and (max-width:768px) {
    header {
        padding: 18px;
    }
    .big_heading {
        font-size: 3.8rem;
        padding: 0 10px;
    }

    .small_heading {
        font-size: 16px;
        padding: 0 10px;
    }
    .content_recruit {
        padding-top: 40px;
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: repeat(2, 200px);
        gap: 20px;
    }

    .box_rec:first-child {
        height: 200px;
        border-radius: 10px;
    }

    .box_rec:last-child {
        height: 200px;
        border-radius: 10px;

    }

    .box_rec p {
        padding: 20px 0 0 40px;
        font-size: 1.4em;
        line-height: 2;
    }

    .box_rec>svg {
        position: relative;
        top: -10%;
        left: 88%;
    }
    .blogAll {
        padding: 20px 10px;
        display: grid;
        grid-template-columns: 1fr;
        gap: 28px;
    }
}

@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;
    }
    .big_heading {
        font-size: 2.8rem;
    }

    .small_heading {
        margin: 5px 0;
        font-size: 12px;
    }
    .box_rec p {
        padding: 18px 0 0 28px;
        font-size: 1.2em;
        font-weight: 500;
    }

    .box_rec>svg {
        position: relative;
        left: 84%;
    }

    .big_btn {
        margin-top: 40px;
        width: 100%;
        height: 68px;
        font-size: 2em;
        border-radius: 100px;
    }
}

@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;
    }

    .big_heading {
        font-size: 2.2rem;
    }

    .content_recruit {
        padding-top: 28px;
        gap: 0;
    }

    .box_rec:first-child {
        height: 180px;
    }

    .box_rec:last-child {
        height: 180px;
    }

    .box_rec p {
        padding: 10px 0 0 28px;
        font-size: 1em;
        font-weight: 500;
    }

    .box_rec>svg {
        position: relative;
        left: 80%;
    }

    .big_btn {
        margin-top: 20px;
        width: 100%;
        height: 60px;
        letter-spacing: 2.8px;
        border: 1.2px solid #333;
        font-weight: 500;
        font-size: 1.6em;
        border-radius: 100px;
    }
}

@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;
    }
}

@media screen and (max-width:414px) {
.close-btn {
    top: 20px;
    right: 25px;
    font-size: 1.6rem;
}

.menu-content h1 {
    padding-left: 20px;
}

.navigation_menu {
    padding-left: 20px;
}
}

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;
    }
}