@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;
    padding-top: 6px;
    font-size: 18px;
    letter-spacing: 1.6px;
    margin-left: auto;
}

.navigation_menu a:hover {
    opacity: .8;
    transition: .3s;
}

.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: 2.8rem;
    letter-spacing: 2.8px;
    margin: 0;
    color: #6b8fa8;
    padding: 0 20px;
}

.small_heading {
    letter-spacing: 1.2px;
    font-weight: 800;
    padding: 0 20px;
}

.about_ray {
    padding: 20px;
    width: 96%;
}

.about_ray h2 {
    font-weight: normal;
    font-size: 18px;
    line-height: 2;
    letter-spacing: 1.2px;
}

.message {
    padding: 60px 0;
}

.message h2 {
    font-weight: 800;
    font-size: 2.8rem;
    letter-spacing: 1.2px;
    color: #6b8fa8;
    padding: 0 20px;
}

.member_01 {
    padding-top: 40px;
    display: flex;
    gap: 10px;
}

.staff_img {
    /* background-image: url(../image/staff01.jpg); */
    /* width: 20%; */
    background-size: contain;
    background-repeat: no-repeat;
}

.staff_img02 {
    /* background-image: url(../image/staff02.jpg); */
    /* width: 20%; */
    background-size: contain;
    background-repeat: no-repeat;
}

.name_text,
.owner_message {
    width: 90%;
    letter-spacing: 1.2px;
}

.name_text h4 {
    font-size: 24px;
    margin: 0;
}

.name_text p {
    font-size: 16px;
    letter-spacing: 1.2px;
    line-height: 1.8;
}

.name_text h4 span,
.owner_message h4 span {
    padding-left: 10px;
    font-size: 16px;
}

.member {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    padding: 0 20px;
}

.mission {
    padding: 40px 0;
}

.mission h2 {
    padding-top: 40px;
    font-weight: 800;
    font-size: 2.8rem;
    letter-spacing: 1.2px;
    color: #6b8fa8;
    margin: 0;
    padding: 0 20px;
}

.mission p {
    font-weight: normal;
    font-size: 18px;
    letter-spacing: 1.2px;
    color: #333;
    line-height: 1.8;
    padding: 0 20px;
}

.owner_message h4 {
    font-size: 24px;
    padding: 0 20px;
    margin-top: 0;
}

.owner_message p {
    padding: 0 20px;
    font-size: 16px;
    letter-spacing: 1.2px;
    line-height: 1.8;
}

.grid {
    display: grid;
    grid-template-columns: 1fr 400px;
    align-items: center;
}

.owner_image img {
    width: 100%;
    border-radius: 40px 0 0 40px;
    object-fit: cover;
}

@media screen and (max-width:1230px) {
    .grid {
        grid-template-columns: 1fr 380px;
    }

    .owner_message h4 {
        margin-bottom: 0;
    }

    .owner_message p {
        font-size: 18px;
    }
}

@media screen and (max-width:1050px) {
    .grid {
        padding-top: 40px;
        grid-template-columns: 1fr 340px;
    }
}

@media screen and (max-width:900px) {
    .owner_message h4 {
        margin-top: 20px;
    }

    .owner_message p {
        font-size: 18px;
        padding-top: 10px;
    }
}

@media screen and (max-width:768px) {
    .grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .owner_image img {
        width: 100%;
        height: auto;
        border-radius: 0px;
        object-fit: cover;
        object-position: top;
    }
}

@media screen and (max-width:768px) {
    header {
        padding: 18px;
    }

    .big_heading {
        font-size: 3.8rem;
    }

    .small_heading {
        font-size: 16px;
    }

    .about_ray {
        padding: 20px 0;
        width: 100%;
    }

    .about_ray h2 {
        font-size: 1rem;
        padding: 0 20px;
    }

    .message {
        padding: 60px 0;
    }

    .message h2 {
        font-size: 3rem;
        margin: 0;
    }

    .member {
        display: grid;
        grid-template-columns: 1fr;
    }

    .member_01 {
        gap: 0;
    }

    .name_text {
        width: 100%;
    }

    .name_text h4 {
        font-size: 1.4rem;
    }

    .name_text h4 span {
        font-size: 14px;
    }

    .mission h2 {
        font-size: 3rem;
    }

    .mission h4 {
        margin-top: 0;
    }

    .mission p {
        font-size: 1.4rem;
    }

    .entry {
        width: 120px;
        height: 44px;
        font-size: 1em;
    }

    .owner_message p {
        font-size: 1rem;
        width: 100%;
    }
}

@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;
    }

    .about_ray h2 {
        font-size: 14px;
    }

    .message {
        padding: 40px 0;
    }

    .message h2 {
        font-size: 2.4rem;
    }

    .name_text h4 {
        font-size: 1.2rem;
    }

    .name_text h4 span {
        font-size: 12px;
    }

    .name_text p {
        font-size: 14px;
    }

    .mission h2 {
        font-size: 2.4rem;
    }

    .mission p {
        font-size: 1.12rem;
    }
}

@media screen and (max-width:430px) {
    main {
        padding: 20px 10px;
    }

    header {
        grid-template-columns: repeat(2, 1fr) 30px;
    }

    .line div {
        width: 18px;
        margin-top: 4px;
    }

    .entry {
        width: 82px;
        height: 32px;
        font-size: 12px;
        letter-spacing: 1px;
    }

    .big_heading {
        font-size: 25px;
    }

    .about_ray h2 {
        font-size: 12px;
    }

    .message {
        padding: 28px 0;
    }

    .member_01 {
        padding-top: 32px;
    }

    .message h2 {
        font-size: 25px;
    }

    .name_text h4 {
        font-size: 1rem;
    }

    .name_text p {
        font-size: 12px;
    }

    .mission h2 {
        font-size: 25px;
    }

    .mission p {
        font-size: 16px;
    }

    .mission h2 {
        padding-top: 32px;
    }

    .big_heading,
    .small_heading,
    .about_ray h2,
    .mission h2,
    .mission p,
    .owner_message h4,
    .message h2,
    .member {
        padding: 0;
    }

    .grid {
        padding-top: 20px;
    }

    .owner_message h4 {
        font-size: 18px;
    }

    .owner_message p {
        font-size: 12px;
        padding-top: 14px;
        line-height: 1.6;
    }
}

@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;
    }

}

@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;
    }
}

.videosection {
    padding: 0 6px;
    display: grid;
    grid-template-columns: 350px 1fr;
    align-items: center;
    gap: 50px;
}
.video-text h3 {
    font-size: 20px;
    font-weight: 500;
}
.video-text p {
    line-height: 2;
    letter-spacing: 1.6px;
    font-size: 18px;
}
video {
    width: 100%;
    height: auto;
    max-width: 800px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    margin: 20px 0 0 0;
}

@media screen and (max-width:768px) {
    .videosection {
        grid-template-columns: 300px 1fr;
    } 
    .video-text p {
        line-height: 1.8;
        font-size: 16px;
    }
}
@media screen and (max-width:600px) {
    .videosection {
        grid-template-columns: 1fr;
        padding: 0 20px;
        gap: 20px;
    } 
    .video-text p {
        line-height: 1.8;
        font-size: 16px;
    }
}
@media screen and (max-width:500px) {
    video {
        width: 100%;
    }
}
@media screen and (max-width:430px) {
    .videosection {
        padding: 0 6px;
    }
    .video-text h3 {
        font-size: 16px;
    }
    .video-text p {
        font-size: 12px;
    }
}