/* ========================================
   GRACETORY - Sub Pages Styles
   ======================================== */

/* ========== Page Header ========== */
.page-header {
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.95) 0%, rgba(26, 26, 46, 0.7) 50%, rgba(26, 26, 46, 0.5) 100%);
    padding: 160px 24px 80px;
    position: relative;
    overflow: hidden;
    min-height: 490px;
}
.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.95) 0%, rgba(26, 26, 46, 0.7) 50%, rgba(26, 26, 46, 0.5) 100%);
    z-index: 1;
}

.page-header-pattern {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: radial-gradient(circle at 2px 2px, rgba(0, 169, 95, 0.15) 1px, transparent 0);
    background-size: 40px 40px;
}
.page-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('/img/hero.png') center center / cover no-repeat;
    z-index: 0;
}
.page-header-inner {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: var(--primary-light);
}

.breadcrumb span {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.9rem;
}

.page-title {
    font-size: 3rem;
    font-weight: 700;
    color: white;
    margin-bottom: 16px;
}

.page-title-en {
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    color: var(--primary-light);
    letter-spacing: 0.1em;
    margin-bottom: 8px;
}

.page-desc {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 800px;
}

/* ==========
Section Common
 ========== */
.section { padding: 100px 24px; }
.section-inner { max-width: 1000px; margin: 0 auto; }
.section-tag { display: inline-block; font-family: 'Outfit', sans-serif; font-size: 0.85rem; font-weight: 600; color: var(--primary); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 16px; }
.section-title { font-size: clamp(1.8rem, 3vw, 2.2rem); font-weight: 700; color: var(--dark); margin-bottom: 24px; }
.section-lead { font-size: 1.05rem; color: var(--text-light); margin-bottom: 48px; }


/* ========== Service Detail (services.html) ========== */
.service-detail {
    padding: 100px 24px;
}

.service-detail:nth-child(even) {
    background: var(--bg-gray);
}

.service-detail-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.service-detail:nth-child(even) .service-detail-inner {
    direction: rtl;
}

.service-detail:nth-child(even) .service-detail-inner > * {
    direction: ltr;
}

.service-number {
    font-family: 'Outfit', sans-serif;
    font-size: 5rem;
    font-weight: 700;
    color: var(--primary);
    opacity: 0.15;
    line-height: 1;
    margin-bottom: -30px;
}

.service-label {
    display: inline-block;
    font-family: 'Outfit', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 12px;
}

.service-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 24px;
}

.service-description {
    color: var(--text);
    margin-bottom: 32px;
    line-height: 2;
}

.service-features {
    display: grid;
    gap: 16px;
}

.service-feature {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.service-feature-icon {
    width: 24px;
    height: 24px;
    background: rgba(0, 169, 95, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.service-feature-icon svg {
    width: 14px;
    height: 14px;
    fill: none;
    stroke: var(--primary);
    stroke-width: 3;
}

.service-feature span {
    color: var(--text);
    font-size: 0.95rem;
}

.service-visual {
    border-radius: 20px;
    min-height: 400px;
    position: relative;
    overflow: hidden;
}

.service-visual .placeholder-img {
    border-radius: 20px;
    width: 100%;
    height: 100%;
    min-height: 400px;
}

/* ========== Tech Stack (services.html) ========== */
.tech-stack {
    padding: 100px 24px;
    background: var(--dark);
    color: white;
}

.tech-stack-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.tech-stack .section-header {
    text-align: center;
    margin-bottom: 60px;
}

.tech-stack .section-tag {
    color: var(--primary-light);
}

.tech-stack .section-title {
    color: white;
}

.tech-stack .section-desc {
    color: rgba(255, 255, 255, 0.6);
}

.tech-categories {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.tech-category {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 32px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.tech-category h3 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--primary-light);
    display: flex;
    align-items: center;
    gap: 10px;
}

.tech-category h3 svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: var(--primary-light);
    stroke-width: 2;
}

.tech-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tech-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
}

.tech-item:hover {
    background: var(--primary);
    color: white;
}

/* Process */
.process-section {
    padding: 100px 24px;
    background: var(--bg-gray);
}

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

.process-steps {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
    margin-top: 60px;
}

.process-step {
    position: relative;
    text-align: center;
}

.process-step::after {
    content: '';
    position: absolute;
    top: 40px;
    right: -12px;
    width: 24px;
    height: 2px;
    background: var(--border);
}

.process-step:last-child::after {
    display: none;
}

.step-number {
    width: 80px;
    height: 80px;
    background: white;
    border: 3px solid var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.process-step h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
}

.process-step p {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* ========== Works Page ========== */
.works-filter {
    padding: 60px 24px;
    background: var(--bg-gray);
}

.filter-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.filter-btn {
    background: white;
    border: 2px solid var(--border);
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text);
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

.works-section {
    padding: 80px 24px;
    background: var(--bg);
}

.works-inner {
    max-width: 1264px;
    margin: 0 auto;
}

.works-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.work-item {
  opacity: 0;                /* 初期状態：透明 */
  transform: translateY(30px); /* 初期状態：少し下に配置 */
  transition: all 0.8s;      /* 0.8秒かけて変化 */
}
.work-item.is-show {
  opacity: 1;                /* 表示 */
  transform: translateY(0);  /* 元の位置に */
}

.work-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px var(--shadow-dark);
}

.work-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px var(--shadow-dark);
}

.work-image {
    height: 220px;
    position: relative;
    overflow: hidden;
}

.work-image .placeholder-img {
    height: 100%;
    border-radius: 0;
}

.work-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(26, 26, 46, 0.8) 100%);
    display: flex;
    align-items: flex-end;
    padding: 24px;
    opacity: 100;
    transition: opacity 0.3s ease;
}

.work-card:hover .work-overlay {
    opacity: 1;
}

.work-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.work-tags span {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    backdrop-filter: blur(10px);
}

.work-content {
    padding: 28px;
}

.work-category {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 8px;
}

.work-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
}

.work-desc {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Stats Section */
.stats-section {
    padding: 80px 24px;
    background: var(--primary);
}

.stats-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.stat-card {
    text-align: center;
    padding: 32px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
}

.stat-card .number {
    font-family: 'Outfit', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    color: white;
    line-height: 1;
    margin-bottom: 8px;
}

.stat-card .label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

/* ========== Company Page ========== */
.company-nav { padding: 20px 24px; background: white; border-bottom: 1px solid var(--border); position: sticky; top: 80px; z-index: 100; }
.company-nav-inner { max-width: 1200px; margin: 0 auto; display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; }
.company-nav a { padding: 10px 20px; color: var(--text); text-decoration: none; font-size: 0.9rem; font-weight: 500; border-radius: 25px; transition: all 0.3s ease; }
.company-nav a:hover { background: var(--bg-gray); color: var(--primary); }
@media (max-width: 768px) {
    .company-header { padding: 120px 24px 60px; }
    .company-nav { top: 70px; }
    .company-nav a { padding: 8px 14px; font-size: 0.85rem; }
}

.philosophy {
    padding: 100px 24px;
    background: var(--dark);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.philosophy::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: radial-gradient(circle at 2px 2px, rgba(0, 169, 95, 0.15) 1px, transparent 0);
    background-size: 40px 40px;
}

.philosophy-inner {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.philosophy .section-tag {
    color: var(--primary-light);
}

.philosophy .section-title {
    color: white;
}

.mission-statement {
    font-size: clamp(1.5rem, 3vw, 2.5rem); font-weight: 700; color: white; margin-bottom: 24px; line-height: 1.6;
}
.mission-statement span {
    color: var(--primary-light);
}
.mission-desc {
    font-size: 1.1rem; color: rgba(255,255,255,0.7); max-width: 700px; margin: 0 auto 60px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 60px;
}

.value-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 32px 24px;
    transition: all 0.3s ease;
}

.value-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-4px);
}

.value-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.value-icon svg {
    width: 28px;
    height: 28px;
    stroke: white;
    stroke-width: 2;
    fill: none;
}

.value-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: white;
    margin-bottom: 8px;
}

.value-desc {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Message Section */
.message {
    background: white;
}

.message-content {
    display: grid;
    gap: 60px;
    align-items: start;
}

.message-photo-frame {
    width: 200px;
    height: 260px;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 16px;
}

.message-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 4px;
}

.message-position {
    font-size: 0.85rem;
    color: var(--text-light);
}

.message-text p {
    margin-bottom: 24px;
    color: var(--text);
    line-height: 2;
}

.message-signature {
    margin-top: 40px;
    text-align: right;
}

.message-signature .name {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dark);
}

/* Info Section */
.info-section {
    background: var(--bg-gray);
}

.info-table {
    width: 100%;
    border-collapse: collapse;
}

.info-table tr {
    border-bottom: 1px solid var(--border);
}

.info-table th,
.info-table td {
    padding: 20px;
    text-align: left;
}

.info-table th {
    width: 180px;
    font-weight: 600;
    color: var(--dark);
    background: rgba(0, 169, 95, 0.05);
}

.info-table td {
    color: var(--text);
}

/* Access Section */
.access-section {
    background: white;
}

.access-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.map-container {
    border-radius: 16px;
    overflow: hidden;
    height: 400px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.access-info h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 24px;
}

.access-detail {
    margin-bottom: 24px;
}

.access-detail dt {
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 4px;
}

.access-detail dd {
    color: var(--text-light);
    margin-bottom: 16px;
}

/* History Section */
.history {
    background: var(--bg-gray);
}

.timeline {
    position: relative;
    padding-left: 40px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary), var(--primary-light));
}

.timeline-item {
    position: relative;
    padding-bottom: 40px;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-dot {
    position: absolute;
    left: -40px;
    top: 4px;
    width: 18px;
    height: 18px;
    background: var(--primary);
    border-radius: 50%;
    border: 4px solid var(--bg-gray);
}

.timeline-year {
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
}

.timeline-content h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 4px;
}

.timeline-content p {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* ========== Recruit Page ========== */
.recruit-message {
    background: white;
}

.recruit-message-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.recruit-message-content p {
    font-size: 1.1rem;
    color: var(--text);
    line-height: 2;
    margin-bottom: 24px;
}

/* Benefits Section */
.benefits-section {
    background: var(--bg-gray);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.benefit-card {
    background: white;
    border-radius: 16px;
    padding: 32px;
    text-align: center;
    transition: all 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 40px var(--shadow-dark);
}

.benefit-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, rgba(0, 169, 95, 0.1) 0%, rgba(0, 214, 125, 0.1) 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.benefit-icon svg {
    width: 28px;
    height: 28px;
    stroke: var(--primary);
    stroke-width: 2;
    fill: none;
}

.benefit-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
}

.benefit-card p {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Positions Section */
.positions-section {
    background: white;
}

.position-card {
    background: var(--bg-gray);
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 24px;
}

.position-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 24px;
}

.position-tags {
    display: flex; gap: 8px; flex-wrap: wrap;
}

.position-tag {
    background: var(--primary); color: white; padding: 6px 14px; border-radius: 20px; font-size: 0.75rem; font-weight: 600;
}

.position-tag.secondary {
    background: var(--dark);
}

.position-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
}

.position-summary {
    color: var(--text-light);
}

.position-desc {
    color: var(--text-light); margin-bottom: 24px;
}

.position-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 32px;
}

.position-detail-icon {
    width: 20px; height: 20px; stroke: var(--primary); stroke-width: 2; fill: none; flex-shrink: 0; margin-top: 2px;
}

.position-details {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-bottom: 24px;
}

.position-detail {
    display: flex; align-items: flex-start; gap: 12px;
}

.position-detail-icon {
    width: 20px; height: 20px; stroke: var(--primary); stroke-width: 2; fill: none; flex-shrink: 0; margin-top: 2px;
}

.position-detail-label {
    font-size: 0.85rem; color: var(--text-light);
}

.position-detail-value {
    font-size: 0.95rem; color: var(--text); font-weight: 500;
}

.position-btn {
    display: inline-flex; align-items: center; gap: 8px; padding: 14px 28px; background: var(--primary); color: white; text-decoration: none; border-radius: 8px; font-weight: 600; transition: all 0.3s ease;
}

.position-btn:hover {
    background: var(--primary-dark); transform: translateY(-2px);
}

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

.process-steps {
    display: flex; justify-content: space-between; position: relative;
}

.process-steps::before {
    content: ''; position: absolute; top: 40px; left: 80px; right: 80px; height: 2px; background: var(--border);
}

.process-step {
    text-align: center; position: relative; flex: 1;
}

.process-number {
    width: 80px; height: 80px; background: white; border: 3px solid var(--primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; font-family: 'Outfit', sans-serif; font-size: 1.5rem; font-weight: 700; color: var(--primary); position: relative; z-index: 1;
}

.process-step h4 {
    font-size: 1rem; color: var(--dark); margin-bottom: 8px;
}

.process-step p {
    font-size: 0.85rem; color: var(--text-light);
}






/* ========== Contact Page ========== */
.contact-section {
    padding: 80px 24px;
    background: var(--bg-gray);
}

.contact-inner {
    max-width: 1200px;
    margin: 0 auto;
    gap: 60px;
}

.contact-form-container {
    background: white;
    border-radius: 20px;
    padding: 48px;
    box-shadow: 0 4px 20px var(--shadow-dark);
}

.form-intro {
    margin-bottom: 32px;
}

.form-intro h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
}

.form-intro p {
    color: var(--text-light);
}

.form-group {
    margin-bottom: 24px;
}

.form-label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 8px;
}

.required {
    background: var(--primary);
    color: white;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    margin-left: 8px;
}

.optional {
    background: var(--bg-gray);
    color: var(--text-light);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    margin-left: 8px;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--border);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--shadow);
}

.form-textarea {
    min-height: 160px;
    resize: vertical;
}

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.form-checkbox input {
    width: 20px;
    height: 20px;
    accent-color: var(--primary);
}

.form-checkbox label {
    font-size: 0.9rem;
    color: var(--text);
}

.form-checkbox a {
    color: var(--primary);
}

.submit-btn {
    width: 100%;
    padding: 16px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background: var(--primary-dark);
}

/* Contact Sidebar */
.contact-sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-info-card {
    background: white;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 4px 20px var(--shadow-dark);
}

.contact-info-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 20px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 20px;
}

.info-item:last-child {
    margin-bottom: 0;
}

.info-item svg {
    width: 24px;
    height: 24px;
    stroke: var(--primary);
    stroke-width: 2;
    fill: none;
    flex-shrink: 0;
}

.info-item .label {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-bottom: 4px;
}

.info-item .value {
    font-weight: 500;
    color: var(--dark);
}

/* FAQ Mini */
.faq-section {
    background: white;
}

.faq-item {
    border-bottom: 1px solid var(--border);
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    padding: 24px 0; cursor: pointer; display: flex; justify-content: space-between; align-items: center;
}

.faq-question h3 {
    font-size: 1rem; font-weight: 600; color: var(--dark);
}

.faq-toggle {
    width: 32px; height: 32px; background: var(--bg-gray); border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: all 0.3s ease;
}

.faq-toggle svg {
    width: 16px; height: 16px; stroke: var(--text-light); stroke-width: 2; fill: none; transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
    background: var(--primary);
}

.faq-item.active .faq-toggle svg {
    stroke: white; transform: rotate(180deg);
}

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

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

.faq-answer p {
    padding-bottom: 24px; color: var(--text-light);
}

/* ========== Privacy Page ========== */
.privacy-section {
    padding: 80px 24px;
    background: white;
}

.privacy-inner {
    max-width: 900px;
    margin: 0 auto;
}

.privacy-content h2 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--dark);
    margin: 48px 0 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--primary);
}

.privacy-content h2:first-child {
    margin-top: 0;
}

.privacy-content p {
    color: var(--text);
    margin-bottom: 16px;
    line-height: 1.9;
}

.privacy-content ul,
.privacy-content ol {
    padding-left: 24px;
    margin-bottom: 24px;
}

.privacy-content li {
    color: var(--text);
    margin-bottom: 8px;
    line-height: 1.8;
}

/* ========== Reason Page ========== */
.reason-section {
    padding: 100px 24px;
    background: var(--bg);
}

.reason-section:nth-child(even) {
    background: var(--bg-gray);
}

.reason-inner {
    max-width: 1000px;
    margin: 0 auto;
}

.reason-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.reason-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 4px 20px var(--shadow-dark);
    transition: all 0.3s ease;
}

.reason-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px var(--shadow-dark);
}

.reason-number {
    font-family: 'Outfit', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary);
    opacity: 0.2;
    line-height: 1;
    margin-bottom: -10px;
}

.reason-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 16px;
}

.reason-desc {
    color: var(--text-light);
    line-height: 1.8;
}

/* ========== Responsive ========== */
@media (max-width: 1024px) {
    .service-detail-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .service-detail:nth-child(even) .service-detail-inner {
        direction: ltr;
    }

    .tech-categories {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-steps {
        grid-template-columns: repeat(3, 1fr);
    }

    .process-step::after {
        display: none;
    }

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

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

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

    .message-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .message-photo {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

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

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

    .contact-inner {
        grid-template-columns: 1fr;
    }

    .reason-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .page-title {
        font-size: 2rem;
    }

    .service-detail {
        padding: 60px 24px;
    }

    .service-visual .placeholder-img {
        min-height: 300px;
    }

    .tech-categories {
        grid-template-columns: 1fr;
    }

    .process-steps {
        grid-template-columns: 1fr;
    }

    .works-grid {
        grid-template-columns: 1fr;
    }

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

    .stat-card {
        padding: 24px 16px;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }

    .timeline::before {
        left: 20px;
    }

    .timeline-item {
        padding-left: 50px;
    }

    .timeline-dot {
        left: 12px;
    }

    .info-table th {
        width: 120px;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .position-details {
        grid-template-columns: 1fr;
    }

    .contact-form-container {
        padding: 32px 24px;
    }

    .cta-title {
        font-size: 1.8rem;
    }
}
