/**
 * Template: snow-monkey
 * Theme Name: Snow Monkey Child
 */
/* ---------------------------------- */
/* Basic Setup              */
/* ---------------------------------- */
body {
    font-family: 'Noto Sans JP', sans-serif;
    background-color: #fff;
    color: #1f2937;
    /* text-gray-800相当 */
}

html {
    scroll-behavior: smooth;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

/* ---------------------------------- */
/* Header & Nav             */
/* ---------------------------------- */
.site-header {
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 50;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.header-logo {
    height: auto;
    width: 300px;
}

.nav-pc {
    display: none;
}

.nav-pc a:not(.header-contact-btn) {
    text-align: center;
    color: #4b5563;
    transition: color 0.2s;
}

.nav-pc a:hover:not(.header-contact-btn) {
    color: #000;
}

.nav-pc a span:first-child {
    display: block;
    font-weight: bold;
    letter-spacing: 0.05em;
}

.nav-pc a span:last-child {
    display: block;
    font-size: 0.75rem;
}

.header-contact-btn {
    background-color: #1f2937;
    color: #FFFFFF;
    padding: 0.75rem 2rem;
    border-radius: 9999px;
    transition: background-color 0.2s;
}

.header-contact-btn:hover {
    background-color: #000;
}

.hamburger-btn {
    z-index: 50;
}

.hamburger-btn svg {
    width: 1.5rem;
    height: 1.5rem;
}

.nav-mobile {
    display: none;
    /* JSで切り替え */
    background-color: #fff;
}

.nav-mobile-menu {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.nav-mobile a {
    text-align: center;
    color: #4b5563;
}

.nav-mobile a:hover {
    color: #000;
}

.nav-mobile a span:first-child {
    display: block;
    font-size: 1.125rem;
    font-weight: bold;
}

.nav-mobile a span:last-child {
    display: block;
    font-size: 0.75rem;
}

.nav-mobile .header-contact-btn {
    margin-top: 1rem;
    padding: 0.75rem 2.5rem;
}

/* ---------------------------------- */
/* Section Base             */
/* ---------------------------------- */
.section {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    font-size: 1.5rem;
    font-weight: bold;
    letter-spacing: 0.1em;
}

.section-title p {
    font-size: 0.875rem;
    color: #6b7280;
    margin-top: 0.5rem;
}

.bg-gray-50 {
    background-color: #f9fafb;
}

.bg-gray-200 {
    background-color: #e5e7eb;
}

/* ---------------------------------- */
/* Component-specific          */
/* ---------------------------------- */

/* Main Visual */
.main-visual {
    height: 60vh;
    background-color: #e5e7eb;
    display: flex;
    align-items: center;
}

.main-visual-inner {
    display: flex;
    justify-content: flex-start;
}

.main-visual h1 {
    font-size: 2.25rem;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 0.05em;
    text-align: left;
}

/* About Section */
.about-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
}

.about-text {
    line-height: 1.75;
    color: #4b5563;
}

.about-image {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 0.5rem;
}

/* Products Section */
#products {
    background-color: #D9D9D9;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 2rem;
}

#products .section-title h2 {
    color: #231815;
}

#products .section-title p {
    color: #231815;
}

.product-card {
    text-align: center;
}

.product-card-img {
    background-color: #FFFFFF;
    width: 100%;
    padding-bottom: 100%;
    /* aspect-square */
    border-radius: 0;
    margin-bottom: 1rem;
}

.product-card p {
    font-weight: 600;
}

/* Store Section */
.store-section {
    background-color: #A6A3A3;
    color: #231815;
}

.store-section .section-title h2 {
    color: #231815;
}

.store-section .section-title p {
    color: #231815;
}

.store-links {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
}

.store-links a {
    display: block;
    width: 100%;
    max-width: 28rem;
    margin-left: auto;
    margin-right: auto;
}

.store-links img {
    border-radius: 0.5rem;
    width: 100%;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.store-links img:hover {
    opacity: 0.9;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

/* Company Section */
.company-subsection {
    margin-bottom: 5rem;
}

.company-subsection:last-child {
    margin-bottom: 0;
}

.subsection-title {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 2rem;
    text-align: left;
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 0.5rem;
}

.subsection-title span {
    font-weight: normal;
    font-size: 1rem;
    color: rgba(133, 133, 133, 0.5);
}

.message-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
}

.message-img-placeholder {
    width: 100%;
    padding-bottom: 133.33%;
    /* aspect-[3/4] */
    background-color: #e5e7eb;
    border-radius: 0.5rem;
}

.message-text {
    margin-bottom: 1.5rem;
    line-height: 1.75;
    color: #000;
    text-align: right;
}

.message-signature {
    text-align: right;
    color: #000;
}

.profile-table {
    border-top: 1px solid #e5e7eb;
}

.profile-row {
    display: flex;
    flex-direction: column;
    padding-top: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e5e7eb;
}

.profile-row dt {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.profile-row dd {
    color: #000;
}

/* News Section */
#news {
    background-color: #D9D9D9;
}

#news .section-title h2 {
    color: #231815;
}

#news .section-title p {
    color: #231815;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 2rem;
}

.news-card {
    background-color: #fff;
    border-radius: 0;
    overflow: hidden;
    width: 379px;
    height: 445px;
    margin: 0 auto;
}

.news-card-img {
    background-color: #FFFFFF;
    width: 379px;
    height: 262px;
}

.news-card-content {
    padding: 0;
    height: 183px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding-left: 5px;
    padding-right: 5px;
}

.news-card-date {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #231815;
    margin-bottom: 0;
    margin-top: 23px;
    line-height: 2.5em;
}

.news-card-title {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 20px;
    font-weight: 400;
    color: #231815;
    margin-bottom: 0;
    margin-top: 0;
    line-height: 2em;
}

.news-card-link {
    display: none;
}

.news-card-link:hover {
    color: #000;
}

.news-more-btn {
    background-color: #9E9E9E;
    color: #231815;
    width: 346px;
    height: 80px;
    border-radius: 40px;
    font-family: Inter, sans-serif;
    font-size: 24px;
    font-weight: 400;
    text-align: center;
    display: inline-block;
    padding: 1rem 5rem;
    font-size: 1.3rem;
    margin-top: 4rem;
    transition: background-color 0.2s;
    border: none;
    cursor: pointer;
    line-height: 1.21;
}

.news-more-btn:hover {
    background-color: #8E8E8E;
}

.news-more-wrapper {
    text-align: center;
}

/* Contact Section */
.contact-form-container {
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
}

.progress-bar {
    display: flex;
    align-items: center;
    margin-bottom: 3rem;
}

.progress-step {
    text-align: center;
    flex-shrink: 0;
}

.progress-step-icon {
    width: 2rem;
    height: 2rem;
    margin: 0 auto 0.5rem;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
}

.progress-step-text {
    font-size: 0.75rem;
}

.progress-step.active .progress-step-icon {
    background-color: #1f2937;
    color: #fff;
}

.progress-step.active .progress-step-text {
    font-weight: 600;
}

.progress-step.inactive .progress-step-icon {
    background-color: #d1d5db;
}

.progress-step.inactive .progress-step-text {
    color: #9ca3af;
}

.progress-line {
    flex-grow: 1;
    height: 1px;
    background-color: #d1d5db;
    margin: 0 0.5rem;
}

.contact-form {
    text-align: left;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
}

.form-label .required {
    color: #ef4444;
}

.form-input,
.form-textarea {
    background-color: #fff;
    border: 1px solid #d1d5db;
    color: #111827;
    font-size: 0.875rem;
    border-radius: 0.5rem;
    display: block;
    width: 100%;
    padding: 0.75rem;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: #6b7280;
    box-shadow: 0 0 0 1px #6b7280;
}

.form-textarea {
    min-height: 120px;
}

.form-submit-btn {
    background-color: #e5e7eb;
    color: #1f2937;
    font-weight: 600;
    padding: 1rem 2.5rem;
    border-radius: 9999px;
    transition: background-color 0.2s;
    letter-spacing: 0.1em;
    border: none;
    cursor: pointer;
}

.form-submit-btn:hover {
    background-color: #d1d5db;
}

.form-submit-wrapper {
    text-align: center;
    margin-top: 3rem;
}

/* ---------------------------------- */
/* Footer                */
/* ---------------------------------- */
.site-footer {
    background-color: #e5e7eb;
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.footer-inner {
    text-align: center;
    color: #4b5563;
}

.footer-logo-link {
    display: inline-block;
    margin-bottom: 1.5rem;
}

.footer-logo {
    height: auto;
    width: 300px;
    margin-left: auto;
    margin-right: auto;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.social-links a {
    transition: opacity 0.2s;
}

.social-links a:hover {
    opacity: 0.7;
}

.social-links img {
    width: 24px;
    height: 24px;
}

.footer-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    align-items: center;
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
}

.footer-nav a {
    padding: 0.25rem 1rem;
    transition: color 0.2s;
}

.footer-nav a:hover {
    color: #000;
}

.footer-nav-divider {
    color: #9ca3af;
}

.copyright {
    font-size: 0.75rem;
}

/* ---------------------------------- */
/* Recruit Page             */
/* ---------------------------------- */
.page-main {
    padding-top: 6rem;
    padding-bottom: 5rem;
}

.recruit-intro {
    margin-bottom: 5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.recruit-intro-img-wrapper {
    width: 100%;
}

.recruit-intro-img {
    background-color: #e5e7eb;
    width: 100%;
    padding-bottom: 56.25%;
    /* aspect-video */
}

.recruit-intro-text {
    width: 100%;
    padding: 2rem 1.5rem 0 1.5rem;
}

.recruit-intro-text p {
    color: #4b5563;
    line-height: 1.75;
}

.job-section {
    max-width: 56rem;
    margin-left: auto;
    margin-right: auto;
}

.job-tabs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.job-tab-btn {
    font-weight: 600;
    padding: 0.75rem 0.5rem;
    border-radius: 0.375rem;
    transition: all 0.2s;
    border: 1px solid #d1d5db;
    cursor: pointer;
}

.job-tab-btn.active {
    background-color: #1f2937;
    color: #fff;
    border-color: #1f2937;
}

.job-tab-btn:not(.active) {
    background-color: #fff;
    color: #4b5563;
}

.job-tab-btn:not(.active):hover {
    background-color: #f9fafb;
}

.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
}

.job-details-header {
    background-color: #1f2937;
    color: #fff;
    text-align: center;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

.job-details-header h2 {
    font-weight: bold;
    letter-spacing: 0.1em;
}

.job-details-body {
    border-left: 1px solid #d1d5db;
    border-right: 1px solid #d1d5db;
    border-bottom: 1px solid #d1d5db;
}

.job-details-row {
    display: flex;
    flex-direction: column;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #d1d5db;
}

.job-details-row:last-child {
    border-bottom: none;
}

.job-details-row dt {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.job-details-row dd {
    color: #4b5563;
}

.job-details-row dd p {
    margin-bottom: 0.25rem;
}

.job-details-row dd p.font-semibold {
    font-weight: 600;
}

/* ---------------------------------- */
/* Media Queries              */
/* ---------------------------------- */
@media (min-width: 640px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-nav-divider {
        display: inline;
    }
}

@media (min-width: 768px) {
    .section {
        padding-top: 7rem;
        padding-bottom: 7rem;
    }

    .section-title h2 {
        font-size: 1.875rem;
    }

    .hamburger-btn {
        display: none;
    }

    .nav-pc {
        display: flex;
        align-items: center;
        gap: 2rem;
    }

    /* Main Visual */
    .main-visual {
        height: 80vh;
    }

    .main-visual h1 {
        font-size: 80px;
    }

    /* About */
    .about-content {
        flex-direction: row;
    }

    .about-text-wrapper,
    .about-image-wrapper {
        width: 50%;
    }

    /* Products */
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    /* Store */
    .store-links {
        flex-direction: row;
    }

    /* Company */
    .message-content {
        flex-direction: row;
    }

    .message-img-wrapper {
        width: 33.33%;
        margin-bottom: 0;
    }

    .message-text-wrapper {
        width: 66.67%;
    }

    .profile-row {
        flex-direction: row;
    }

    .profile-row dt {
        width: 25%;
        margin-bottom: 0;
    }

    .profile-row dd {
        width: 75%;
    }

    /* News */
    .news-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    /* Recruit Page */
    .page-main {
        padding-top: 8rem;
        padding-bottom: 7rem;
    }

    .recruit-intro {
        flex-direction: row;
    }

    .recruit-intro-img-wrapper {
        width: 50%;
    }

    .recruit-intro-text {
        width: 50%;
        padding: 0 0 0 3rem;
    }

    .job-details-row {
        flex-direction: row;
    }

    .job-details-row dt {
        width: 25%;
        margin-bottom: 0;
    }

    .job-details-row dd {
        width: 75%;
    }
}

@media (min-width: 1024px) {
    .recruit-intro-text {
        padding-right: 6rem;
    }
}

@media (min-width: 1280px) {
    .container {
        max-width: 1200px;
    }
}

/* ---------------------------------- */
/* Snow Monkey Parent Theme Override */
/* ---------------------------------- */

/* 親テーマのoverflow: hiddenを上書き */
.hero-slider .slick-list {
    overflow: visible !important;
}

.hero-slider .slick-slide {
    overflow: visible !important;
}

.main-visual {
    overflow: visible !important;
}

/* ドットインジケーターの表示設定 */
.hero-slider .slick-dots {
    position: absolute !important;
    bottom: -25px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 0 !important;
    z-index: 1000 !important;
}

.hero-slider .slick-dots li {
    display: block !important;
    width: 40px !important;
    height: 3px !important;
    margin: 0 5px !important;
}

.hero-slider .slick-dots li button {
    display: block !important;
    width: 40px !important;
    height: 3px !important;
    padding: 0 !important;
    border: none !important;
    border-radius: 3px !important;
    background-color: #edece9 !important;
    font-size: 0 !important;
    line-height: 0 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    opacity: 1 !important;
}

.hero-slider .slick-dots li button:before {
    display: none !important;
}

.hero-slider .slick-dots li.slick-active button {
    background-color: #beb5aa !important;
}

/* モバイル版でもドットを表示 */
@media (max-width: 768px) {
    .hero-slider .slick-dots {
        display: flex !important;
        position: absolute !important;
        bottom: -25px !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        z-index: 1000 !important;
    }

    .hero-slider .slick-list {
        overflow: visible !important;
    }
}