
:root {
    --primary-blue: #0063B2;
    --dark-blue: #192C4B;
    --white: #ffffff;
    --gray: #EBEBEB;
    
    --c-green-bg: #dcfce7; --c-green-text: #166534;
    --c-blue-bg: #dbeafe; --c-blue-text: #1e40af;
    --c-red-bg: #fee2e2; --c-red-text: #991b1b;
    --c-yellow-bg: #fef9c3; --c-yellow-text: #854d0e;
    --c-purple-bg: #f3e8ff; --c-purple-text: #6b21a8;
    --c-orange-bg: #ffedd5; --c-orange-text: #9a3412;
}

/* CSS Reset */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    line-height: 1.15;
    -webkit-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Zen Kaku Gothic New', 'Hiragino Kaku Gothic ProN', 'Meiryo', sans-serif;
    color: var(--dark-blue);
    background-image: url(../images/common/bg_pc.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment:fixed;
    background-color: var(--white);
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
}

/* Remove default margin and padding */
h1, h2, h3, h4, h5, h6, p, ul, ol, li, dl, dt, dd, blockquote, figure, figcaption, pre, code, hr {
    margin: 0;
    padding: 0;
}

/* Remove list styles */
ul, ol {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Remove default button styles */
button, input, optgroup, select, textarea {
    font-family: inherit;
    font-size: 100%;
    line-height: 1.15;
    margin: 0;
}

button, input {
    overflow: visible;
}

button, select {
    text-transform: none;
}

button, [type="button"], [type="reset"], [type="submit"] {
    -webkit-appearance: button;
}

/* Remove default fieldset styles */
fieldset {
    padding: 0;
    margin: 0;
    border: 0;
}

/* Remove default table styles */
table {
    border-collapse: collapse;
    border-spacing: 0;
}

/* Remove default anchor styles */
a {
    background-color: transparent;
    text-decoration: none;
    color: inherit;
}

/* Remove default image styles */
img, svg, video, canvas, audio, iframe, embed, object {
    display: block;
    max-width: 100%;
    height: auto;
}

/* Remove default form styles */
input, textarea, select, button {
    border: none;
    outline: none;
    background: transparent;
}

/* Remove default focus styles (customize as needed) */
:focus {
    outline: none;
}

/* Remove default selection styles */
::selection {
    background: transparent;
}

/* Ensure proper display for hidden elements */
[hidden] {
    display: none !important;
}

.c-hidden {
    font-size: 0;
    height: 0;
    overflow: hidden;
}

.c-text-center {
    width: fit-content;
    max-width: 100%;
    margin: 0 auto;
}

.c-paragraph {
    display: inline-block;
}

/* Layout */
.l-section {
    padding: 0 320px;

}
.l-container {
    max-width: 1280px;
    margin: 0 auto;
}

/* Hero Layout */
.l-hero {
    height: 100dvh;
    min-height: 600px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    overflow: hidden;
}

.l-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.1), transparent);
}

/* Hero Component */
.c-hero__title {
    font-size: 0;
}

.c-hero__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

/* Cloud Animation */
@keyframes cloudFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-40px);
    }
}

.c-hero__cloud__01 {
    width: 160px;
    position: absolute;
    top: 18%;
    left: 320px;
    z-index: 2;
    animation: cloudFloat 4s ease-in-out infinite;
}

.c-hero__cloud__02 {
    width: 160px;
    position: absolute;
    top: 8%;
    right: 174px;
    z-index: 2;
    animation: cloudFloat 4s ease-in-out infinite;
}

.c-hero__cityscape {
    position: absolute;
    bottom: 0;
    left: 0;
    text-align: center;
    width: 100%;
    z-index: 2;
}

/* Main Navigation Component */
.c-sp-nav {
    display: none;
    width: calc(100% - 32px);
    padding: 4px 16px;
    justify-content: space-between;
    align-items: center;
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(13, 74, 141, 0.5);
    position: absolute;
    top: 8px;
    left: 16px;
    z-index: 100;
}
.l-header {
    position: fixed;
    top: 50vh;
    left: 40px;
    transform: translateY(-50%);
    z-index: 100;
}

/* Hamburger Menu */
.c-hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}

.c-hamburger__line {
    width: 100%;
    height: 3px;
    background-color: var(--dark-blue);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.c-hamburger[aria-expanded="true"] .c-hamburger__line:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.c-hamburger[aria-expanded="true"] .c-hamburger__line:nth-child(2) {
    opacity: 0;
}

.c-hamburger[aria-expanded="true"] .c-hamburger__line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.c-main-nav {
    width: 258px;
    background-color: var(--white);
    padding: 24px;
    border-radius: 24px;
    box-shadow: 0 0 10px rgba(13, 74, 141, 0.5);
    transition: transform 0.3s ease;
}

.c-main-nav__list {
    margin-top: 24px;
    list-style: none;
    position: relative;
    z-index: 100;
}

.c-main-nav__list::before {
    content: '';
    display: block;
    width: 1px;
    height: calc(100% - 40px);
    background-color: var(--dark-blue);
    position: absolute;
    top: 18px;
    left: 31.5px;
    z-index: -1;
}

.c-main-nav__item {
    width: fit-content;
    padding: 4px 24px;
    margin-bottom: 15px;
}

.c-main-nav__item:last-of-type {
    margin-bottom: 0;
}

.c-main-nav__item a {
    padding-left: 22px;
    color: var(--dark-blue);
    font-size: 20px;
    font-weight: 700;
    transition: color 0.3s;
    position: relative;
}

.c-main-nav__item a::before {
    content: '';
    display: block;
    width: 8px;
    height: 8px;
    background-color: var(--dark-blue);
    border-radius: 50%;
    position: absolute;
    left: 4px;
    top: 50%;
    transform: translateY(-50%);
}

/* Logo Component */
.c-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    color: var(--dark-blue);
}

.c-logo__icon {
}

.c-logo__text {
    font-size: 0;
}

/* Page Header Layout */
.p-page-header {
    margin-top: 16px;
    padding: 0 240px;
}

.p-page-header__container {
    max-width: 1440px;
    margin: 0 auto;
    padding:80px 40px;
    border-radius: 40px;
    background-image: url(../images/top/recruit.png);
    background-size: cover;
    background-position: center;
    color: var(--white);
    text-align: center;
    position: relative;
}

.p-page-header__container__recruit {

}

.p-page-header__container .c-page-header__title, .p-page-header__container .c-page-header__description {
    color: var(--white);
    margin-right: auto;
}

/* Content Section Layout */
.l-section {
    margin-top: 120px;
}

.l-content-section__grid {
    display: grid;
    gap: 40px;
    align-items: center;
    grid-template-columns: repeat(2, 1fr);
}

.l-content-section__grid--reverse .l-content-section__text {
    order: 2;
}

.l-content-section__text {
    /* Text content styles */
}

.l-content-section__image {
    /* Image content styles */
}

/* Section Title Component */
.c-section-title {
    font-size: 2.5rem;
    color: var(--dark-blue);
    margin-top: 0;
    margin-bottom: 20px;
    line-height: 1.4;
}

.c-section-text {
    font-size: 1rem;
    font-style: normal;
    color: var(--dark-blue);
    line-height: 1.75;
}

/* CTA Link Component */
.c-cta-link {
    display: block;
    margin-top: 64px;
    margin-left: auto;
    margin-right: 0;
    padding-bottom: 8px;
    padding-right: 62px;
    width: fit-content;
    text-decoration: none;
    color: var(--dark-blue);
    font-weight: 700;
    transition: color 0.3s;
    position: relative;
}
.c-cta-link::before {
    content: '';
    display: block;
    width: calc(100% - 74px);
    height: 1px;
    background-color: currentColor;
    position: absolute;
    bottom: 0;
    left: 24px;
}
.c-cta-link::after {
    content: '';
    display: block;
    width: 40px;
    height: 1px;
    background-color: currentColor;
    transform: rotate(-30deg);
    position: absolute;
    bottom: 10px;
    right: 13px;
}
.c-cta-link .c-icon {
    display: block;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid currentColor;
    background-color: transparent;
    position: absolute;
    bottom: 7px;
    right: 0;
    transition: background-color 0.3s;
}

/* Image Collage Component */
.c-image-collage {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.c-image-collage__img {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.c-image-collage__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.c-image-collage__img:nth-child(1) { 
    grid-column: 1 / 3; 
}

.c-image-collage__accent {
    position: absolute;
    background-color: var(--primary-blue);
    border-radius: 16px;
    width: 80px;
    height: 80px;
}

.c-image-collage__accent--1 { top: -20px; right: 20%;}
.c-image-collage__accent--2 { bottom: 40%; left: -20px;}
.c-image-collage__accent--3 { bottom: -20px; right: 10%;}

/* Blue Banner Layout */
.l-section__blue-banner {
    padding: 0 240px;
}

.l-container__blue-banner {
    max-width: 1440px;
    padding: 120px 80px;
    border-radius: 40px;
    background-image: url(../images/top/recruit.png);
    background-size: cover;
    background-position: center;
    color: var(--white);
    text-align: center;
    position: relative;
}

.l-content-section__blue-banner .c-section-title,.l-content-section__blue-banner .c-section-text, .l-content-section__blue-banner .c-cta-link {
    color: var(--white);
    margin-right: auto;
}


/* Site Footer Layout */
.l-footer {
    margin-top: 120px;
    padding: 64px 320px;
    background-color: var(--dark-blue);
    color: var(--white);
    border-radius: 40px 40px 0 0;
}

.l-footer__top {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px;
    flex-wrap: wrap;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.5);
}

.l-footer__logo .c-logo__icon { 
    display: flex;
}

.l-footer__top-menu {
    display: flex;
    flex-direction: column;
}

.l-footer__nav {
    margin-top: 40px;
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.l-footer__sns {
    margin-top: 40px;
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.l-footer__sns .c-hidden {
    position: absolute;
}

.c-sns {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2px;
}

.c-sns__text {
    font-size: .75rem;
    font-weight: 500;
}

.c-sns__note {
    margin-right: 40px;
    position: relative;
}

.c-sns__note::after {
    content: "";
    display: block;
    width: 1px;
    height: 40px;
    background-color: var(--white);
    position: absolute;
    top: 50%;
    right: -40px;
    transform: translateY(-50%);
}

.c-sns img {
    height: 24px;
    width: auto;
}

.c-sns__note img {
    height: 16px;
    width: auto;
}

.l-footer__nav a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s;
}

.l-footer__nav a:hover { 
    opacity: 0.8; 
}

.l-footer__top-banner {
    max-width: 382px;
}

.l-footer__middle {
    padding: 16px 0;
    display: flex;
    justify-content: space-between;
    gap: 24px;
}

.l-footer__middle-nav {
    display: flex;
    gap: 40px;
}

.l-footer__middle-nav a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.75rem;
    transition: opacity 0.3s;
}

.l-footer__middle-nav a:hover { 
    opacity: 0.8; 
}

.l-footer__bottom {
    margin-top: 16px;
}

.c-footer__copyright {
    font-size: 1rem;
}

.l-footer__authentication {
    display: flex;
    justify-content: right;
    gap: 24px;
    align-items: center;
}

.l-footer__authentication img {
    width: 56px;
}

.p-section__top-service {
    padding-right: 0;
}

.p-container__top-service {
    max-width: 100%;
}

.p-content-section__grid--top-service {
    grid-template-columns: minmax(240px,445px) minmax(500px,1fr);
}

.p-content-section__grid--top-service .l-content-section__text {
    max-width: 445px;
    position: relative;
    z-index: 2;
}

.p-content-section__grid--top-service .l-content-section__text::after {
    content: '';
    display: block;
    width: 562px;
    height: 499px;
    background-image: url(../images/top/service_bg.svg);
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    top: -38px;
    left: 108px;
    z-index: -1;
}

.p-top-service__title {
    margin-bottom: 24px;
    max-width: 730px;
    width: calc(100dvw - 32px);
}

.p-top-service__title img {
    width: 100%;
}

.p-top-recruit__title {
    font-size: 3rem;
    position: relative;
    z-index: 2;
}

.p-top-recruit__title::before {
    content: '';
    display: block;
    width: 100%;
    max-width: 738px;
    aspect-ratio: 14/3;
    background-image: url(../images/top/recruit_bg.svg);
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    z-index: -1;
}

.p-section__top-about {
    padding-left: 0;
}

.p-container__top-about {
    max-width: 100%;
}

.p-content-section__grid--top-about {
    grid-template-columns: minmax(500px,1fr) minmax(240px,445px);
}

.p-content-section__grid--top-about .l-content-section__text {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    position: relative;
    z-index: 2;
}

.p-content-section__grid--top-about .l-content-section__text::after {
    content: '';
    display: block;
    width: 615px;
    height: 180px;
    background-image: url(../images/top/about_bg.svg);
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    top: 80px;
    right: 0;
    z-index: -1;
}

.p-content-section__grid--top-about .c-section-text {
    max-width: 445px;
}

.p-top-about__title {
    margin-bottom: -8px;
    width: calc(100dvw - 352px);
    max-width: 584px;
}

.p-top-about__title img {
    width: 100%;
}

.p-top-about__image {
    border-radius: 0 16px 16px 0;
    overflow: hidden;
}

@media screen and (max-aspect-ratio: 1/1) {
    body {
        background-image: url(../images/common/bg_sp.png);
    }
}

/* Responsive Design */
@media (max-width: 1800px) {
    .l-section,.l-footer {
        padding-right: 16px;
    }

    .l-container {
        margin-left: 0;
    }

    .p-page-header {
        padding-right: 16px;
    }
    
    .p-section__top-service {
        padding-right: 0;
    }
    
    .p-section__top-about {
        padding-left: 0;
    }
}

@media (max-width: 1280px) {
    .c-section-title {
        font-size: 2rem;
    }
    
    .c-section-text {
        font-size: .875rem;
    }

    .l-content-section__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .p-content-section__grid--top-service {
        grid-template-columns: minmax(240px,445px) minmax(500px,1fr);
    }

    .p-top-recruit__title {
        font-size: 3rem;
    }

    .p-top-about__title {
        width: calc(100dvw - 32px);
    }

    .p-content-section__grid--top-about {
        grid-template-columns: minmax(500px,1fr) minmax(240px,445px);
    }
}

@media (max-width: 1080px) {
    .l-section {
        margin-top: 80px;
        padding: 0 32px;
    }

    .l-footer {
        margin-top: 80px;
    }

    .p-page-header {
        margin-top: 80px;
        padding: 0 16px;
    }

    .p-page-header__container {
        padding: 80px 32px;
        border-radius: 24px;
    }

    .l-footer {
        padding: 64px 32px;
    }

    .c-hamburger {
        display: flex;
    }
    
    .l-header {
        width: 100%;
        top: 0;
        left: 0;
        transform: translateY(0);
    }

    .l-header:has(.is-open)::after {
        content: '';
        display: block;
        width: 100%;
        height: 100%;
        background-color: rgba(13, 74, 141, 0.5);
    }

    .c-sp-nav {
        display: flex;
        justify-content: space-between;
        align-items: center;
        position: absolute;
        
        z-index: 100;
    }
    
    .c-main-nav {
        position: fixed;
        top: 50%;
        left: 16px;
        transform: translateY(-50%);
        width: calc(100% - 32px);
        height: fit-content;
        border-radius: 8px;
        padding: 80px 40px 40px;
        box-sizing: border-box;
        overflow-y: auto;
        opacity: 0;
        transition: opacity 2s;
    }
    
    .c-main-nav.is-open {
        opacity: 1;
    }
    
    .c-main-nav__list {
        margin-top: 40px;
    }

    .c-hero__cityscape .c-image {
        min-height: 15.625dvh;
        object-fit: cover;
    }

    .c-hero__cloud__01 {
        width: 120px;
        left: 32px;
        top: 25%;  
    }

    .c-hero__cloud__02 {
        width: 120px;
        right: 32px;
        top: 15.625%;      
    }

    .l-section__blue-banner {
        padding: 16px;
    }

    .l-container__blue-banner {
        padding: 80px 32px;
        border-radius: 24px;
    }

    .l-footer__top {
        width: 100%;
        justify-content: center;
    }

    .l-footer__top-menu {
        width: 100%;
    }

    .l-footer__sns {
        justify-content: center;
    }

    .l-footer__nav {
        width: 100%;
        justify-content: center;
    }

    .l-footer__logo {
        width: 100%;
    }

    .p-section__top-service {
        padding-right: 0;
    }
    
    .p-top-service__title {
        max-width: 552px;
    }

    .p-top-service__image {
        margin-top: -80px;
    }
    
    .p-section__top-about {
        padding-left: 0;
    }

    .p-top-about__image {
        margin-bottom: -80px;
    }

    .p-content-section__grid--top-service ,
    .p-content-section__grid--top-about {
        grid-template-columns: 1fr;
        align-items: end;
        gap: 0;
    }

    .p-section__top-service .c-cta-link,
    .p-section__top-recruit .c-cta-link,
    .p-section__top-about .c-cta-link {
        margin-top: 40px;
    }

    .p-content-section__grid--top-about .l-content-section__text::after {
        top: 80px;
    }
}

@media screen and (min-width: 1081px) {
    .c-cta-link:hover .c-icon {
        background-color: currentColor;
    }
    .c-main-nav__item a:hover::before {
        width: 16px;
        height: 16px;
        left: 0;
    }
    .c-main-nav__item--active  {
        border-radius: 50vh;
        box-shadow: inset 0 0 10px 0 var(--primary-blue);
        background-color: var(--white);
    }

    .c-main-nav__item--active a {
        pointer-events: none;
        cursor: default;
    }
    
    .c-main-nav__item--active a::before {
        width: 16px;
        height: 16px;
        left: 0;
    }
}

/* @media (max-width: 991px) {
    .l-blue-banner__content { 
        border-radius: 30px; 
    }
    .l-footer__top, .l-footer__bottom {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 30px;
    }
    .l-footer__nav {
        justify-content: center;
    }
    .l-footer__middle { 
        justify-content: center; 
    }
} */
@media screen and (max-width: 768px) {
    .c-pc-only {
        display: none;
    }

    .l-section {
        padding: 0 16px;
    }

    .l-section__blue-banner {
        padding: 0 8px;
    }

    .p-page-header__container {
        padding: 80px 16px;
        border-radius: 24px;
    }

    .l-footer {
        padding: 64px 16px;
    }

    .l-footer__top {
        gap: 40px;
    }

    .l-footer__logo .c-logo {
        justify-content: center;
    }

    .l-footer__sns {
        gap: 24px;
    }

    .c-sns__note {
        margin-right: 24px;
    }

    .c-sns__note:after {
        right: -24px;
    }

    .l-footer__nav {
        flex-direction: column;
        gap: 24px;
        align-items: center;
    }

    .l-footer__middle {
        flex-direction: column;
        align-items: center;
    }

    .l-footer__authentication {
        justify-content: center;
    }

    .l-content-section__grid {
        grid-template-columns: 1fr;
    }

    .l-container__blue-banner {
        padding: 80px 16px;
        border-radius: 24px;
    }

    .c-hero__cloud__01 {
        width: 80px;
        left: 16px;
    }
    
    .c-hero__cloud__02 {
        width: 80px;
        right: 16px;
    }
    
    .p-section__top-service {
        padding-left: 0;
    }
    
    .p-section__top-about {
        padding-left: 0;
    }

    .p-content-section__grid--top-service,
    .p-content-section__grid--top-about {
        gap: 0;
    }

    .p-section__top-service .l-content-section__text {
        padding-left: 16px;
    }

    .p-content-section__grid--top-service .l-content-section__text::after {
        width: calc(93dvw - 32px);
        top: -37px;
        left: 30px;
    }

    .p-section__top-about .l-content-section__text {
        padding-left: 16px;
    }

    .p-content-section__grid--top-about .l-content-section__text::after {
        width: 90dvw;
        top: 12dvw;
        left: 50%;
        transform: translateX(-50%);
    }

    .p-top-service__title {
        width: 86dvw;
        margin-bottom: 16px;
    }
    
    .p-top-service__image {
        margin-top: -16px;
    }

    .p-top-recruit__title {
        font-size: 2rem;
    }
    
    .p-top-about__title {
        width: 90%;
        margin-bottom: 16px;
        margin-right: auto;
    }

    .p-section__top-service .c-cta-link
    .p-section__top-recruit .c-cta-link
    .p-section__top-about .c-cta-link {
        margin-top: 40px;
    }

    .p-content-section__grid--top-about .c-section-text {
        width: 100;
    }
}