html {
    scroll-behavior: smooth;
}

.sp-only {
    display: none;
}

@media screen and (max-width: 768px) {
    .sp-only {
        display: block;
    }

    .pc-only {
        display: none;
    }
}

body {
    font-family: "ヒラギノ明朝 ProN", "Hiragino Mincho ProN", "游明朝", "Yu Mincho", "ＭＳ 明朝", "MS Mincho", serif;
    color: #1f1f1f;
    background-color: #fbf7f1;
    min-height: 100vh;
}

img {
    display: block;
    max-width: 100%;
}

button, input, textarea {
    font: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    background: rgba(255, 255, 255, 0.90);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.header-inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 18px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.site-logo img {
    height: 88px;
    width: auto;
}

.site-nav {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
}

.site-nav a {
    color: #333;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.site-nav a:hover {
    color: #7f56a8;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: #333;
    font-size: 28px;
    align-items: center;
    justify-content: center;
}

.menu-toggle:hover {
    opacity: 0.7;
}

.hero {
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    align-items: center;
    gap: 2rem;
    padding: 120px 48px 80px;
}

.hero-copy {
    max-width: 560px;
}

.eyebrow {
    display: inline-block;
    margin-bottom: 1rem;
    color: #7f56a8;
    letter-spacing: 0.2em;
    font-size: 0.85rem;
    text-transform: uppercase;
}

.hero h1 {
    font-size: clamp(2rem, 3.6vw, 3.2rem);
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #3a3a3a;
    margin-bottom: 2rem;
}

.button {
    display: inline-block;
    background: #7f56a8;
    color: #fff;
    padding: 0.95rem 1.8rem;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    transition: transform 0.24s ease, opacity 0.24s ease;
}

.button:hover,
.button:focus-visible {
    opacity: 0.88;
    transform: translateY(3px);
}

.hero-visual img {
    width: 100%;
    height: auto;
    border-radius: 24px;
    object-fit: cover;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.12);
}

.section {
    padding: 80px 24px;
}

.section-inner {
    max-width: 920px;
    margin: 0 auto;
}

.section h2:not(.section-label) {
    font-size: 1.8rem;
    margin-bottom: 3rem;
    font-weight: 700;
}

.section h3 {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    font-weight: 700;
}

.section-about {
    background-color: rgba(255, 255, 255, 0.72);
}

.section-service-inner {
    max-width: 1180px;
}

.section-recruit {
    background-color: rgba(255, 255, 255, 0.72);
}

.section-recruit-inner {
    max-width: 800px;
}

.section-company-inner {
    max-width: 800px;
}

.section-contact {
    background-color: rgba(255, 255, 255, 0.72);
}

.section-contact-inner {
    max-width: 800px;
}

.contact-card {
    border: 1.5px solid #333;
    border-radius: 8px;
    padding: 48px 40px;
    text-align: center;
}

.contact-card h2 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1.6rem;
    letter-spacing: 0.08em;
}

.contact-intro {
    font-size: 1rem;
    color: #3a3a3a;
    margin-bottom: 1rem;
    line-height: 1.8;
}

.contact-hours {
    font-size: 1rem;
    color: #3a3a3a;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.contact-content {
    display: grid;
    gap: 1.8rem;
}

.contact-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.contact-item .material-icons {
    font-size: 28px;
    color: #333;
}

.contact-item a {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1f1f1f;
    text-decoration: none;
    letter-spacing: 0.05em;
    transition: opacity 0.24s ease;
}

.contact-item a:hover {
    opacity: 0.78;
}

/* Page Top Button */
.page-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #7f56a8;
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.2s ease;
    z-index: 100;
}

.page-top.is-visible {
    opacity: 1;
    visibility: visible;
}

.page-top:hover {
    transform: translateY(-3px);
    opacity: 0.88;
}

/* Footer Styles */
.site-footer {
    background-color: #f5f5f5;
    padding: 64px 24px;
    text-align: center;
    color: #777;
    font-size: 0.95rem;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.footer-inner {
    max-width: 800px;
    margin: 0 auto;
}

.footer-eyebrow {
    font-size: 0.9rem;
    letter-spacing: 0.12em;
    color: #666;
    margin-bottom: 1.2rem;
}

.footer-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    letter-spacing: 0.06em;
    color: #1f1f1f;
}

.footer-info {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-address,
.footer-phone,
.footer-hours {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #333;
    letter-spacing: 0.04em;
}

.footer-copyright {
    font-size: 0.85rem;
    color: #777;
    margin-top: 1.6rem;
}

.company-card {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 24px;
    padding: 48px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
}

.company-card h2 {
    font-size: 2.2rem;
    margin-bottom: 2rem;
    margin-top: 1rem;
    text-align: center;
}

.company-image {
    display: block;
    margin: 0 auto 3rem;
    width: 40%;
    border-radius: 16px;
}

.company-table {
    display: grid;
    gap: 1.2rem;
}

.company-row {
    display: grid;
    grid-template-columns: 160px auto;
    gap: 2rem;
    align-items: start;
    border-bottom: 0.5px dashed rgba(0, 0, 0, 0.14);
    padding-bottom: 1rem;
}

.company-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.company-row-full {
    grid-column: 1 / -1;
}

.company-table dt,
.company-table dd {
    margin: 0;
}

.company-table dt {
    font-weight: 700;
    color: #222;
    line-height: 1.8;
}

.company-table dd {
    color: #3a3a3a;
    line-height: 1.8;
}

.recruit-card {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 24px;
    padding: 48px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
    text-align: left;
}

.recruit-card .section-label,
.recruit-card h3,.about-inner .section-label {
    text-align: center;
}

.recruit-card h3 {
    font-size: 1.6rem;
    margin: 0 0 2rem;
    font-weight: 700;
}

.recruit-table {
    display: grid;
    gap: 1.2rem;
    margin-bottom: 2rem;
    border-top: 0.5px solid rgba(0, 0, 0, 0.18);
    border-bottom: 0.5px solid rgba(0, 0, 0, 0.18);
    padding: 3rem 0;
}

.recruit-row {
    display: grid;
    grid-template-columns: 140px auto;
    gap: 1rem;
    align-items: start;
}

.recruit-row-full {
    grid-column: 1 / -1;
}

.recruit-table dt,
.recruit-table dd {
    margin: 0;
}

.recruit-table dt {
    font-weight: 700;
    color: #222;
}

.recruit-table dd {
    color: #3a3a3a;
    line-height: 1.8;
}

.recruit-copy p {
    margin: 0 0 1.4rem;
    color: #3a3a3a;
    font-size: 1rem;
    line-height: 1.8;
}

.recruit-card .button {
    display: block;
    width: max-content;
    padding: 1rem 2rem;
    margin: 0 auto;
}

.service-grid {
    display: grid;
    grid-template-columns: minmax(320px, 1.05fr) 0.95fr;
    gap: 5rem;
    align-items: start;
}

.service-image-main img,
.service-image-item img {
    width: 100%;
    height: auto;
    border-radius: 24px;
    object-fit: cover;
    display: block;
}

.service-image-main {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.service-image-main img {
    flex: 1;
    min-width: 0;
}

.service-image-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.service-image-item {
    overflow: hidden;
}

.service-copy {
    display: grid;
    gap: 2rem;
}

.service-block-label {
    margin-bottom: 1rem;
    display: inline-block;
    font-weight: 900;
    color: #000;
    font-size: 1.1rem;
    letter-spacing: 0.08em;
}

.service-block p {
    margin: 0 0 1rem;
    color: #3a3a3a;
    font-size: 1rem;
    line-height: 1.9;
}

.about-inner {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}

.section-label {
    margin-bottom: 2rem;
    color: #000;
    letter-spacing: 0.2em;
    font-size:2.2rem;
}

.about-copy p {
    margin: 0 auto 1.4rem;
    max-width: 720px;
    color: #333;
    font-size: 1rem;
    line-height: 1.9;
}

.about-copy p:last-child {
    margin-bottom: 0;
}

.about-signature {
    margin-top: 1.6rem;
    font-weight: 600;
    text-align: right;
}

.section p,
.section ul {
    color: #4a4a4a;
    font-size: 1rem;
    line-height: 1.8;
}

.section-about .about-message {
    margin-top: 3rem;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.03em;
}

.section ul {
    margin-top: 1rem;
    list-style: disc inside;
}

@media screen and (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .site-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(12px);
        flex-direction: column;
        gap: 0;
        padding: 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.08);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .site-nav.active {
        max-height: 300px;
        padding: 16px 0;
    }

    .site-nav a {
        display: block;
        padding: 12px 24px;
        border-bottom: 1px solid rgba(0, 0, 0, 0.04);
    }
}

@media screen and (max-width: 920px) {
    .hero {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 100px 32px 70px;
    }

    .hero-visual {
        order: -1;
    }

    .hero h1 {
        font-size: clamp(1.8rem, 4.5vw, 2.8rem);
    }

    .service-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media screen and (max-width: 720px) {
    .header-inner {
        padding: 12px 16px;
    }

    .site-logo {
        flex: 1;
    }

    .site-logo img {
        height: 64px;
    }

    .hero {
        padding: 50px 16px 40px;
        gap: 1.5rem;
    }

    .hero-copy {
        max-width: 100%;
        text-align: center;
    }

    .hero h1 {
        font-size: clamp(2.4rem, 5.5vw, 3.2rem);
    }

    .hero p {
        font-size: 0.95rem;
        margin-bottom: 1rem;
    }

    .section {
        padding: 40px 30px;
    }

    .section h2:not(.section-label) {
        margin-bottom: 2rem;
    }

    .section-label {
        font-size: 0.9rem;
        text-align: center;
    }

    h2.section-label {
        font-size: 1.4rem;
        margin-bottom: 0.8rem;
    }

    .section-service-inner h2.section-label {
        margin-bottom: 2rem;
    }

    .service-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .service-block-label {
        font-size: 1rem;
    }

    .service-block p {
        font-size: 0.95rem;
    }

    .recruit-row,
    .company-row {
        grid-template-columns: 100px auto;
        gap: 1rem;
    }

    .recruit-table dt,
    .company-table dt {
        font-size: 0.9rem;
    }

    .recruit-table dd,
    .company-table dd {
        font-size: 0.9rem;
    }

    .recruit-card,
    .company-card,
    .contact-card {
        padding: 32px 24px;
        border-radius: 16px;
    }

    .recruit-card h3,
    .contact-card h2 {
        font-size: 1.4rem;
        margin-bottom: 1.2rem;
    }

    .company-image {
        width: 80%;
    }

    .company-card h2 {
        font-size: 1.4rem;
        margin-bottom: 2rem;
        margin-top: 1.5rem;
    }

    .contact-item {
        flex-direction: column;
        gap: 0.5rem;
    }

    .contact-item .material-icons {
        font-size: 24px;
    }

    .contact-item a {
        font-size: 1rem;
    }

    .contact-intro,
    .contact-hours {
        font-size: 0.9rem;
    }

    .about-copy p {
        font-size: 0.95rem;
        margin-bottom: 1rem;
        text-align: left;
    }

    .about-signature {
        text-align: center;
        font-size: 0.9rem;
    }

    .footer-title {
        font-size: 1.6rem;
    }

    .footer-address,
    .footer-phone,
    .footer-hours {
        font-size: 0.9rem;
    }

    .site-footer {
        padding: 60px 16px;
    }

    .eyebrow {
        font-size: 0.8rem;
    }
}
