* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

a{
    text-decoration: none;
}

:root {
    --color-primary: #7ec5c1;
    --color-accent: #f5a623;
    --color-text: #292524;
    --color-text-light: #57534e;
    --color-text-lighter: #78716c;
    --color-bg-white: #ffffff;
    --color-bg-gray: #f8f8f8;
    --color-border: #e7e5e4;
    --font-sans: 'Noto Sans JP', sans-serif;
    --font-serif: 'Cormorant Garamond', serif;
}

body {
    font-family: var(--font-sans);
    color: var(--color-text);
    line-height: 1.6;
    background-color: var(--color-bg-gray);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
}

/* Side Text */
.side-text {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    z-index: 50;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    color: var(--color-text);
    font-size: 0.875rem;
    letter-spacing: 0.3em;
    font-weight: 300;
}

.side-text-left {
    left: 1rem;
}

.side-text-right {
    right: 1rem;
}

@media (max-width: 1024px) {
    .side-text {
        display: none;
    }
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image-placeholder {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #d6d3d1 0%, #e7e5e4 50%, #f5f5f4 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 0.5rem;
}

.placeholder-icon {
    width: 5rem;
    height: 5rem;
    color: #a8a29e;
    opacity: 0.3;
}

.placeholder-text {
    color: #78716c;
    font-size: 0.875rem;
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 64rem;
    margin: 0 auto;
    text-align: center;
    padding: 0 1.5rem;
}

.hero-subtitle {
    color: white;
    font-size: 1.125rem;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: 3rem;
    color: white;
    line-height: 1.2;
    text-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 4.5rem;
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: 50vh;
    }
}

/* Section Styles */
.section {
    padding: 5rem 1.5rem;
}

.section-white {
    background-color: var(--color-bg-white);
}

.section-gray {
    background-color: var(--color-bg-gray);
}

.section-pickup {
    background-color: var(--color-primary);
}

.container {
    max-width: 72rem;
    margin: 0 auto;
}

.container-narrow {
    max-width: 56rem;
    margin: 0 auto;
}

.section-header {
    margin-bottom: 3rem;
}

.section-title-white {
    color: white;
    font-size: 1.875rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .section-title-white {
        font-size: 2.25rem;
    }
}

.section-title-badge {
    display: inline-block;
    background-color: var(--color-primary);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    font-size: 1.25rem;
    font-weight: bold;
}

/* Card Grid */
.card-grid {
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .card-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.card {
    background-color: white;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
}

.card:hover {
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.15);
}

.card-image-placeholder {
    aspect-ratio: 4 / 3;
    background: linear-gradient(135deg, #e7e5e4 0%, #d6d3d1 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-image-placeholder .placeholder-icon {
    width: 3rem;
    height: 3rem;
    color: #a8a29e;
}

.card-content {
    padding: 1.5rem;
}

.card-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.card-category {
    font-size: 0.75rem;
    color: var(--color-primary);
    font-weight: 500;
    border: 1px solid var(--color-primary);
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
}

.card-date {
    font-size: 0.75rem;
    color: var(--color-text-lighter);
}

.card-title {
    color: var(--color-text);
    font-weight: 500;
    line-height: 1.6;
    font-size: 1rem;
}

.card-description {
    color: var(--color-text-light);
    font-size: 0.875rem;
    line-height: 1.6;
    margin-top: 0.5rem;
}

/* FAQ Section */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background-color: white;
    border: 1px solid var(--color-border);
    border-radius: 0.5rem;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    text-align: left;
    background: none;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.faq-question:hover {
    background-color: #fafaf9;
}

.faq-icon {
    flex-shrink: 0;
    width: 2rem;
    height: 2rem;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.875rem;
    color: white;
}

.faq-icon-q {
    background-color: var(--color-primary);
}

.faq-icon-a {
    background-color: var(--color-accent);
}

.faq-text {
    flex: 1;
    color: var(--color-text);
    font-weight: 500;
    line-height: 1.6;
}

.faq-arrow {
    flex-shrink: 0;
    width: 1.5rem;
    height: 1.5rem;
    color: #a8a29e;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-arrow {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer-content {
    padding: 1rem 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.faq-answer-text {
    flex: 1;
    color: var(--color-text-light);
    line-height: 1.6;
}

/* Benefits Grid */
.benefits-grid {
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .benefits-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.benefit-card {
    background-color: white;
    border-radius: 0.5rem;
    padding: 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
}

.benefit-card:hover {
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.15);
}

.benefit-title {
    color: var(--color-text);
    font-weight: bold;
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.benefit-description {
    color: var(--color-text-light);
    font-size: 0.875rem;
    line-height: 1.6;
}

/* Job Details */
.job-details {
    background-color: white;
    border: 1px solid var(--color-border);
    border-radius: 0.5rem;
    padding: 2rem;
}

.job-detail-row {
    display: grid;
    gap: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--color-border);
    margin-bottom: 1.5rem;
}

.job-detail-row:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

@media (min-width: 768px) {
    .job-detail-row {
        grid-template-columns: 1fr 2fr;
    }
}

.job-detail-label {
    font-weight: bold;
    color: var(--color-text);
}

.job-detail-value {
    color: var(--color-text-light);
}

/* Application Form */
.application-form {
    background-color: white;
    border-radius: 0.5rem;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

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

.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: bold;
    color: var(--color-text);
    margin-bottom: 0.5rem;
}

.required {
    color: #ef4444;
}

.form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #d6d3d1;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-family: var(--font-sans);
    transition: all 0.2s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(126, 197, 193, 0.1);
}

textarea.form-input {
    resize: none;
}

/* Buttons */
.btn-primary {
    display: inline-block;
    background-color: var(--color-accent);
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 9999px;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.btn-primary:hover {
    background-color: #e09612;
}

.btn-submit {
    width: 100%;
    padding: 1rem;
    background-color: var(--color-accent);
    color: white;
    border-radius: 9999px;
    font-weight: bold;
    font-size: 1.125rem;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

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

/* Footer */
.footer {
    padding: 3rem 1.5rem;
    background-color: #292524;
    color: white;
}

.footer-content {
    display: grid;
    gap: 2rem;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

.footer-section {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-title {
    font-size: 1.25rem;
    font-weight: bold;
}

.footer-subtitle {
    font-weight: bold;
}

.footer-description {
    color: #a8a29e;
    font-size: 0.875rem;
    line-height: 1.6;
}

.footer-contact {
    color: #a8a29e;
    font-size: 0.875rem;
}

.footer-contact p {
    margin-bottom: 0.25rem;
}

.footer-bottom {
    padding-top: 1.5rem;
    border-top: 1px solid #44403c;
    text-align: center;
    color: #78716c;
    font-size: 0.875rem;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.form-errors {
    background-color: #ffe6e6;
    border: 1px solid #ff4d4d;
    color: #b30000;
    padding: 1em 1.2em;
    border-radius: 6px;
    margin-bottom: 1.5em;
    font-size: 0.95rem;
    line-height: 1.6;
}

.form-errors ul {
    margin: 0;
    padding-left: 1.2em;
}

.form-errors li {
    list-style-type: none;
}


/* 固定応募ボタン */
.fixed-button {
  position: fixed;
  bottom: 20px; /* 下からの距離 */
  right: 20px;  /* 右からの距離 */
  background-color: #7ec5c1; /* ボタンの色 */
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  border-radius: 50px;
  padding: 15px 25px;
  font-size: 16px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
  z-index: 9999;
}

.fixed-button:hover {
  background-color: #6ab3af;
  transform: scale(1.05);
}