/* ---------------------------------- */
/* Basic Setup              */
/* ---------------------------------- */
body {
    font-family: 'Noto Sans JP', sans-serif;
    background-color: #fff;
    color: #000;
    /* 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: #000 !important;
    color: #FFFFFF !important;
    padding: 0.85rem 2.2rem;
    border-radius: 9999px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 1.1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3), 0 2px 4px rgba(0, 0, 0, 0.2);
}

.header-contact-btn:hover {
    background-color: #000 !important;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4), 0 3px 6px rgba(0, 0, 0, 0.3);
    transform: translateY(-2px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.header-contact-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3), 0 1px 2px rgba(0, 0, 0, 0.2);
    transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

.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;
    color: #FFFFFF !important;
}

/* ---------------------------------- */
/* 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: auto !important;
    position: relative;
    overflow: visible;
    z-index: 1;
    background-color: transparent !important;
    margin-bottom: 50px;
}

/* Hero Slider Styles */
.hero-slider {
    width: 100%;
    height: auto;
    margin-bottom: 0;
}

/* スマホ版のオーバーフロー制御 */
.hero-slider .slick-list {
    overflow: visible;
}

.hero-slider .slick-track {
    display: flex;
}

.hero-slide {
    width: 100%;
    height: auto;
    position: relative;
    overflow: visible;
}

.hero-slide img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    object-position: center;
}

/* Slick Slider Customization for Hero */
/* モバイル版：全てのスライドを表示（opacity 1） */
.hero-slider .slick-slide {
    transition: all 0.3s ease;
    opacity: 1;
    overflow: visible !important;
}

.hero-slider .slick-slide.slick-center {
    opacity: 1;
    transform: scale(1);
}

/* PC版：サイドのスライドを半透明に */
@media (min-width: 769px) {
    .hero-slider .slick-slide {
        opacity: 0.5;
    }

    .hero-slider .slick-slide.slick-center {
        opacity: 1;
    }
}

.hero-slider .slick-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex !important;
    justify-content: center;
    align-items: center;
    gap: 0;
    z-index: 1000;
}

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

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

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

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

/* Hide arrows */
.hero-slider .slick-prev,
.hero-slider .slick-next {
    display: none !important;
}

/* About Section */
#about {
    position: relative;
    z-index: 20;
    background-color: #ffffff;
    margin-top: 0;
}

.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 Carousel Styles */
.product-carousel {
    position: relative;
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 2rem;
}

/* スマホ版ではカルーセル表示 */
@media (max-width: 768px) {
    .product-carousel {
        display: block !important;
    }

    .product-carousel .slick-slide {
        padding: 0 1rem;
    }

    /* スマホ版でも矢印を表示 */
    .product-carousel .slick-prev,
    .product-carousel .slick-next {
        display: flex !important;
        width: 40px;
        height: 40px;
        z-index: 40 !important;
        position: absolute !important;
        background-color: rgba(255, 255, 255, 0.95) !important;
        border: 2px solid #1f2937 !important;
        border-radius: 50%;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2) !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
    }

    .product-carousel .slick-prev {
        left: 15px !important;
    }

    .product-carousel .slick-next {
        right: 15px !important;
    }

    /* 商品を画面中央に表示 */
    .product-carousel .slick-slide {
        padding: 0 2rem;
        text-align: center;
    }

    .product-carousel .slick-slide .product-card {
        max-width: 300px;
        margin: 0 auto;
    }
}

.product-carousel .slick-slide {
    padding: 0 1rem;
}

.product-carousel .slick-prev,
.product-carousel .slick-next {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    z-index: 40 !important;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.95) !important;
    border: 2px solid #1f2937 !important;
    cursor: pointer;
    display: flex !important;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2) !important;
}

.product-carousel .slick-prev:hover,
.product-carousel .slick-next:hover {
    background-color: #1f2937;
    color: white;
}

.product-carousel .slick-prev {
    left: -20px;
}

.product-carousel .slick-next {
    right: -20px;
}

.product-carousel .slick-prev:before,
.product-carousel .slick-next:before {
    font-family: 'slick';
    font-size: 16px;
    line-height: 1;
    opacity: 0.75;
    color: #374151;
}

.product-carousel .slick-prev:hover:before,
.product-carousel .slick-next:hover:before {
    color: white;
}

.product-carousel .slick-prev:before {
    content: '←';
}

.product-carousel .slick-next:before {
    content: '→';
}

.product-carousel .slick-dots {
    text-align: center;
    margin-top: 2rem;
}

.product-carousel .slick-dots li {
    display: inline-block;
    margin: 0 5px;
}

.product-carousel .slick-dots li button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #d1d5db;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.product-carousel .slick-dots li.slick-active button {
    background-color: #1f2937;
}

/* Fallback grid for when carousel is not initialized */
.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;
    display: block;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.product-card-img {
    background-color: #FFFFFF;
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 0;
    margin-bottom: 1rem;
    position: relative;
    overflow: hidden;
}

.product-card-img img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.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%;
    background-color: #e5e7eb;
    border-radius: 0.5rem;
    position: relative;
    overflow: hidden;
    padding-bottom: 0 !important;
}

.message-img-placeholder img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.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: #000000 !important;
    color: #FFFFFF !important;
    width: 346px;
    height: 80px;
    border-radius: 40px;
    font-family: Inter, sans-serif;
    font-size: 1.3rem;
    font-weight: 400;
    text-align: center;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-top: 4rem;
    transition: background 0.2s;
    border: none;
    cursor: pointer;
    text-decoration: none;
    line-height: 1 !important;
}

.news-more-btn:hover {
    background: #333333 !important;
}

.news-more-wrapper {
    text-align: center !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
}

/* 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: #000;
    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: #000;
    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;
}

/* ---------------------------------- */
/* SMF Button Control    */
/* ---------------------------------- */
.smf-button-control__control {
    background: #000000 !important;
    color: #FFFFFF !important;
    border: none !important;
}



.smf-button-control__control:hover {
    background: #333333 !important;
    color: #FFFFFF !important;
}

.smf-button-control__control:focus {
    outline: 2px solid #666666 !important;
    outline-offset: 2px !important;
}

/* ---------------------------------- */
/* 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-contact-wrapper {
    text-align: center;
    padding-top: 30px;
    padding-bottom: 30px;
}

.recruit-contact-wrapper .header-contact-btn {
    display: inline-block;
}

.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: 0 !important;
    /* aspect-video  padding-bottom: 56.25%;*/
}

.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: #000 !important;
    color: #fff !important;
    border-color: #000 !important;
}

.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: #000 !important;
    color: #fff !important;
    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;
    color: #000 !important;
}

.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;
}

/* Mobile-specific slider optimizations */
@media (max-width: 768px) {
    .main-visual {
        height: auto;
        margin-bottom: 50px;
        overflow: visible;
    }

    .hero-slide {
        height: auto;
    }

    .hero-slide img {
        width: 100%;
        height: auto;
        display: block;
    }

    .hero-slider {
        margin-bottom: 0;
        overflow: visible;
    }

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

    .hero-slider .slick-track {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .hero-slider .slick-slide {
        opacity: 1 !important;
    }

    .hero-slider .slick-dots {
        display: flex !important;
        position: absolute;
        bottom: 10px;
        left: 50%;
        transform: translateX(-50%);
        z-index: 1000;
    }

    /* ABOUTセクションの上部パディングをなしに */
    #about {
        padding-top: 0 !important;
    }
}

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

    /* PC版ではグリッド表示 */
    .product-carousel {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr);
    }

    /* Hide carousel arrows on mobile */
    .product-carousel .slick-prev,
    .product-carousel .slick-next {
        display: none !important;
    }

    .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: auto;
        margin-bottom: 60px;
    }

    .hero-slide {
        height: auto;
    }

    .hero-slide img {
        width: 100%;
        height: auto;
        display: block;
    }

    .hero-slider {
        margin-bottom: 0;
    }

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

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

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

    /* PC版では3列グリッド表示 */
    .product-carousel {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr);
    }

    /* Hide carousel arrows on desktop */
    .product-carousel .slick-prev,
    .product-carousel .slick-next {
        display: none !important;
    }

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

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

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

    .message-img-placeholder {
        max-width: 300px;
        margin: 0 auto;
    }

    .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-contact-wrapper {
        padding-top: 60px;
        padding-bottom: 60px;
    }

    .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;
    }
}

/* 商品カードのタイトル下余白を調整 */
.product-card p {
    margin-bottom: 20px;
}

/* スマートフォン表示での代表挨拶レイアウト調整 */
@media (max-width: 768px) {
    .message-content {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }

    .message-img-wrapper {
        width: 100%;
        max-width: 250px;
    }

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

    .message-text {
        text-align: center;
    }

    .message-signature {
        text-align: center;
    }
}