/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    padding-top: 80px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 1rem;
}

/* Colors */
:root {
    --primary-color: #1e3a8a;
    --primary-light: #3b82f6;
    --primary-dark: #1e40af;
    --secondary-color: #64748b;
    --accent-color: #0ea5e9;
    --text-color: #1f2937;
    --text-light: #6b7280;
    --border-color: #e5e7eb;
    --background-light: #f8fafc;
    --background-white: #ffffff;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
}

.modal-content {
    position: relative;
    margin: 5% auto;
    padding: 20px;
    width: 90%;
    max-width: 800px;
    background-color: var(--background-white);
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.modal-content img {
    width: 100%;
    height: auto;
    max-height: 70vh;
    object-fit: contain;
    border-radius: 4px;
}

.close {
    position: absolute;
    top: 10px;
    right: 20px;
    color: var(--text-color);
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    z-index: 1001;
    background-color: var(--background-white);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.close:hover,
.close:focus {
    color: var(--primary-color);
    text-decoration: none;
}

/* Award card clickable style */
#award-card {
    cursor: pointer;
    transition: background-color 0.2s ease;
}

#award-card:hover {
    background-color: var(--background-light);
}

/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Header */
.navbar {
    background-color: var(--background-white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: inherit;
}

.logo img {
    height: 40px;
    width: auto;
}

.logo span {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-color);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-color);
    background-color: var(--background-light);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    transition: all 0.3s ease;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

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

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: white;
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Hero Section */
.hero {
    position: relative;
    height: 80vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.hero-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: 1;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-content {
    text-align: center;
    color: white;
    z-index: 10;
    max-width: 800px;
    padding: 0 2rem;
}

.hero-content h1 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    color: rgba(255, 255, 255, 0.9);
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Sections */
section {
    padding: 4rem 0;
}

.section-alt {
    background-color: var(--background-light);
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: white;
    padding: 3rem 0 2rem;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    list-style: none;
    gap: 0.5rem;
    margin-top: 1rem;
}

.breadcrumb li {
    color: rgba(255, 255, 255, 0.8);
}

.breadcrumb li:not(:last-child)::after {
    content: '>';
    margin-left: 0.5rem;
    margin-right: 0.5rem;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
}

.breadcrumb a:hover {
    color: white;
    text-decoration: underline;
}

/* Grid Layouts */
.overview-grid,
.business-grid,
.strengths-grid,
.qual-grid,
.services-grid,
.license-grid {
    display: grid;
    gap: 2rem;
    margin: 2rem 0;
}

.overview-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.business-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

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

@media (max-width: 768px) {
    .strengths-grid {
        grid-template-columns: 1fr;
    }
}

.services-grid,
.license-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.qual-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

/* Cards */
.overview-item,
.business-item,
.strength-item,
.service-item,
.license-item,
.qual-category {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    position: relative;
}

.license-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 12px 12px 0 0;
}

.license-item h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
    position: relative;
    padding-left: 1.5rem;
}

.license-item h3::before {
    content: '▸';
    color: var(--primary-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.license-item p {
    color: var(--text-light);
    margin-bottom: 0;
    padding-left: 1.5rem;
    position: relative;
}

.license-item p::before {
    content: '•';
    color: var(--accent-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.qual-category::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 12px 12px 0 0;
}

.qual-category h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}


.qual-category ul {
    list-style: none;
    padding: 0;
}

.qual-category > ul > li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
    position: relative;
    padding-left: 1.5rem;
}

.qual-category > ul > li:last-child {
    border-bottom: none;
}

.qual-category > ul > li::before {
    content: '▸';
    color: var(--primary-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.qual-category ul ul {
    margin-top: 0.5rem;
    margin-left: 1rem;
    padding-left: 1rem;
    border-left: 2px solid var(--background-light);
}

.qual-category ul ul li {
    padding: 0.25rem 0;
    position: relative;
    padding-left: 1rem;
    color: var(--text-light);
}

.qual-category ul ul li::before {
    content: '•';
    color: var(--accent-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.overview-item:hover,
.business-item:hover,
.strength-item:hover,
.service-item:hover,
.license-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.business-item {
    text-align: center;
}

.business-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary-light), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.business-icon span {
    font-size: 2.5rem;
    display: block;
}

/* Detailed Business Pages */
.business-item-detail {
    margin-bottom: 4rem;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-color);
}

.business-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    padding: 2rem;
    background: linear-gradient(135deg, var(--background-light), white);
    border-bottom: 1px solid var(--border-color);
}

.business-title {
    text-align: center;
}

.business-title h2 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.business-title p {
    color: var(--text-light);
    margin-bottom: 0;
}

.business-content {
    padding: 2rem;
}

.business-description {
    margin-bottom: 2rem;
}

.business-services h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

/* Strength Items */
.strength-item {
    position: relative;
    text-align: left;
    padding-left: 1.5rem;
}

.strength-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}

.strength-item h3 {
    position: relative;
    padding-left: 1rem;
}

.strength-item h3::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.strength-number {
    position: absolute;
    top: -20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
}

.strength-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary-light), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.strength-icon span {
    font-size: 2rem;
    display: block;
}

/* Organizations */
.org-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin: 2rem 0;
    max-width: 800px;
    margin: 2rem auto;
}

.org-item {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    position: relative;
    padding-left: 1.5rem;
}

.org-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}

.org-item h3 {
    color: var(--primary-color);
    margin-bottom: 0;
    position: relative;
    padding-left: 1rem;
}

.org-item h3::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.org-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* Company Information */
.info-table {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.info-row {
    display: grid;
    grid-template-columns: 1fr 2fr;
    border-bottom: 1px solid var(--border-color);
}

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

.info-label {
    background: var(--background-light);
    padding: 1.5rem;
    font-weight: 600;
    color: var(--text-color);
}

.info-value {
    padding: 1.5rem;
    background: white;
}

/* Timeline */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--primary-color);
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    justify-content: flex-end;
    padding-right: 50%;
    position: relative;
    margin: 2rem 0;
}

.timeline-item:nth-child(even) {
    justify-content: flex-start;
    padding-right: 0;
    padding-left: 50%;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 12px;
    height: 12px;
    background: var(--primary-color);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    border: 3px solid white;
    box-shadow: 0 0 0 3px var(--primary-color);
    z-index: 1;
}

.timeline-date {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    margin-right: 2rem;
}

.timeline-item:nth-child(even) .timeline-date {
    margin-right: 0;
    margin-left: 2rem;
}

.timeline-content {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    margin-right: 2rem;
    border: 1px solid var(--border-color);
}

.timeline-item:nth-child(even) .timeline-content {
    margin-right: 0;
    margin-left: 2rem;
}

/* Results Page */
.results-filter {
    background: var(--background-light);
    padding: 2rem 0;
}

.filter-controls {
    display: flex;
    gap: 2rem;
    align-items: end;
    flex-wrap: wrap;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.filter-group label {
    font-weight: 500;
    color: var(--text-color);
}

.filter-group select {
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    background: white;
    min-width: 150px;
}

.result-item {
    background: white;
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

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

.result-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    gap: 1rem;
}

.result-category {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    color: white;
}

.category-geological {
    background: var(--primary-color);
}

.category-consultant {
    background: var(--accent-color);
}

.category-surveying {
    background: #10b981;
}

.result-year {
    color: var(--text-light);
    font-weight: 500;
}

.result-item h3 {
    color: var(--text-color);
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.result-client {
    color: var(--text-light);
    font-size: 0.95rem;
}

.no-results {
    text-align: center;
    padding: 3rem;
    color: var(--text-light);
}

.summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.summary-item {
    text-align: center;
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.summary-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.summary-label {
    color: var(--text-light);
    margin-top: 0.5rem;
}

/* Contact Page */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.contact-method {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-color);
}

.contact-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary-light), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.contact-icon span {
    font-size: 2rem;
    display: block;
}

.contact-info {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin: 1rem 0;
}

/* Forms */
.contact-form {
    background: var(--background-light);
    padding: 4rem 0;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-color);
}

.form-group label.required::after {
    content: ' *';
    color: #ef4444;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 1rem;
    background: white;
    transition: border-color 0.3s ease;
}

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

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

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.checkbox-group input[type="checkbox"] {
    margin: 0;
    width: auto;
}

/* Office and Map */
.office-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.office-item {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-color);
}

.office-item h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.map-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    margin: 2rem 0;
}

.map-placeholder {
    background: var(--background-light);
    padding: 3rem;
    border-radius: 12px;
    text-align: center;
    color: var(--text-light);
    border: 2px dashed var(--border-color);
}

.access-info {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-color);
}

.access-info ul {
    list-style: none;
    padding: 0;
}

.access-info li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
}

.access-info li:last-child {
    border-bottom: none;
}

/* President Message Section */
.president-message {
    padding: 4rem 0;
}

.president-message .message-content {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 3rem;
    align-items: flex-start;
    max-width: 1000px;
    margin: 0 auto;
}

.president-info {
    text-align: center;
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-color);
}

.president-photo {
    width: 150px;
    height: 150px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    overflow: hidden;
    background: var(--background-light);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid var(--primary-color);
}

.president-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.president-title h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.president-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-color);
    margin: 0;
}

.message-text {
    flex: 1;
}

.president-message .message-box {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-color);
    position: relative;
    line-height: 1.8;
}

.president-message .message-box::before {
    content: '"';
    position: absolute;
    top: 1rem;
    left: 1.5rem;
    font-size: 3rem;
    color: var(--primary-color);
    line-height: 1;
    opacity: 0.2;
    font-family: serif;
}

.president-message .message-box p {
    margin-bottom: 1.5rem;
    color: var(--text-color);
    text-align: left;
}

.president-message .message-box p:last-of-type {
    margin-bottom: 2rem;
}

.message-signature {
    text-align: right !important;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
    margin-top: 1rem;
}

.president-message .message-signature {
    text-align: right !important;
}

.president-message .message-signature p {
    text-align: right !important;
}

.message-signature p {
    margin: 0;
    color: var(--primary-color);
    font-size: 1.1rem;
}

/* Recruitment Page */
.recruit-message {
    background: var(--background-light);
    padding: 4rem 0;
}

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

.message-box {
    background: white;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-color);
    position: relative;
}

.message-box::before {
    content: '"';
    position: absolute;
    top: 1rem;
    left: 2rem;
    font-size: 4rem;
    color: var(--primary-color);
    line-height: 1;
    opacity: 0.3;
}

.message-signature {
    margin-top: 2rem;
    text-align: right;
}

.job-list {
    max-width: 1000px;
    margin: 0 auto;
}

.job-item {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-color);
}

.job-item h3 {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    padding: 1.5rem 2rem;
    margin: 0;
}

.job-content {
    padding: 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.job-description ul,
.job-requirements ul {
    list-style: none;
    padding: 0;
}

.job-description li,
.job-requirements li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.job-description li::before,
.job-requirements li::before {
    content: '•';
    color: var(--primary-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.conditions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.condition-category {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-color);
}

.condition-category h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-color);
}

.condition-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.condition-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
}

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

.condition-label {
    font-weight: 600;
    color: var(--text-color);
    min-width: 80px;
}

.condition-value {
    text-align: right;
    color: var(--text-light);
    flex: 1;
}

.process-steps {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 300px;
    text-align: center;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.application-contact {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-color);
    text-align: center;
    margin-top: 2rem;
}

.application-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

/* Footer */
footer {
    background: linear-gradient(135deg, var(--text-color) 0%, #374151 100%);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-info h3 {
    color: white;
    margin-bottom: 1rem;
}

.footer-info p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.5rem;
}

.footer-nav ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-nav a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-nav a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.6);
}

/* Lead text */
.lead {
    font-size: 1.25rem;
    line-height: 1.6;
    color: var(--text-light);
    text-align: left;
    max-width: 800px;
    margin: 0 auto;
}

/* Recruit intro section */
.recruit-intro h2 {
    text-align: center;
}

/* Recruit message section */
.recruit-message .message-box p {
    text-align: left;
}

.recruit-message .message-signature {
    text-align: right !important;
}

.recruit-message .message-signature p {
    text-align: right !important;
}

/* Section Headers */
.section-subtitle {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-light);
    margin-left: 1rem;
}

.section-lead {
    font-size: 1.1rem;
    color: var(--text-light);
    text-align: left;
    margin-bottom: 2rem;
}

/* Company Introduction Section */
.company-introduction {
    padding: 4rem 0;
}

.intro-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.intro-text h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.intro-lead {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.company-stats {
    display: flex;
    gap: 2rem;
    margin: 2rem 0;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.stat-item {
    text-align: center;
    flex: 1;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 0.5rem;
}

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

.intro-link {
    margin-top: 2rem;
}

.intro-image {
    text-align: center;
}

.intro-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

/* Business Overview - New Layout */
.business-item {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    position: relative;
}

.business-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.business-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.business-item:hover .business-image img {
    transform: scale(1.05);
}

.business-content {
    padding: 2rem;
    text-align: left;
}

.business-content .business-icon {
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-light), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.business-content .business-icon span {
    font-size: 1.5rem;
}

.business-content h3 {
    color: var(--primary-color);
    margin-top: 1rem;
    margin-bottom: 1rem;
}

/* CTA Section */
.cta-section {
    padding: 4rem 0;
}

.cta-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 800px;
    margin: 0 auto;
}

.cta-item {
    background: white;
    padding: 3rem 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.cta-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.cta-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary-light), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cta-icon span {
    font-size: 2.5rem;
    display: block;
}

.cta-item h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.cta-subtitle {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-light);
    margin-left: 1rem;
}

.contact-number {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 1rem 0 0.5rem;
}

.contact-hours {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

/* News Section Updates */
.news-link {
    text-align: center;
    margin-top: 2rem;
}

/* Quote CTA Section */
.quote-cta {
    padding: 4rem 0;
}

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

.quote-text h2 {
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-size: 2.2rem;
}

.quote-lead {
    font-size: 1.3rem;
    color: var(--text-color);
    margin-bottom: 2.5rem;
    line-height: 1.8;
    font-weight: 500;
}

.quote-text p {
    margin-bottom: 2.5rem;
    line-height: 1.8;
    color: var(--text-color);
}

.quote-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 3rem 0;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.1rem;
    color: var(--text-color);
}

.feature-icon {
    color: var(--accent-color);
    font-weight: bold;
}

.quote-buttons {
    margin-top: 3rem;
}

.btn-large {
    font-size: 1.2rem;
    padding: 1rem 2.5rem;
    margin-bottom: 2rem;
}

.contact-info {
    margin-top: 2rem;
}

.contact-phone {
    font-size: 1.3rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.contact-hours {
    color: var(--text-light);
    margin-bottom: 0;
}

/* Utilities */
.text-center {
    text-align: center;
}

.overview-link,
.business-link {
    text-align: center;
    margin-top: 2rem;
}

/* News Section */
.news-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 2rem auto 0;
}

.news-item {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 1.5rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    height: 100%;
}

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

.news-item time {
    color: var(--text-light);
    font-size: 0.9rem;
    font-weight: 500;
}

.news-category {
    background: var(--primary-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.8rem;
    text-align: center;
    align-self: flex-start;
    margin-bottom: 0.5rem;
}

.news-item a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
    line-height: 1.4;
}

.news-item a:hover {
    color: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        flex-direction: column;
        padding: 1rem;
        gap: 0.5rem;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-buttons .btn {
        min-width: 200px;
    }
    
    .business-header {
        flex-direction: column;
        text-align: center;
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item {
        padding-right: 0;
        padding-left: 50px;
    }
    
    .timeline-item:nth-child(even) {
        padding-right: 0;
        padding-left: 50px;
    }
    
    .timeline-item::before {
        left: 20px;
    }
    
    .timeline-date {
        margin-right: 0;
        margin-bottom: 0.5rem;
    }
    
    .timeline-item:nth-child(even) .timeline-date {
        margin-left: 0;
    }
    
    .timeline-content {
        margin-right: 0;
    }
    
    .timeline-item:nth-child(even) .timeline-content {
        margin-left: 0;
    }
    
    .result-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .filter-controls {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }
    
    .filter-group {
        align-items: flex-start;
        text-align: left;
    }
    
    .filter-group select {
        width: 100%;
        max-width: none;
    }
    
    .map-container {
        grid-template-columns: 1fr;
    }
    
    .job-content {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-nav ul {
        justify-content: center;
        flex-wrap: wrap;
        gap: 0.5rem 1rem;
    }
    
    .news-list {
        grid-template-columns: 1fr;
    }
    
    .overview-grid,
    .business-grid,
    .strengths-grid {
        grid-template-columns: 1fr;
    }
    
    .conditions-grid,
    .contact-grid,
    .office-grid {
        grid-template-columns: 1fr;
    }
    
    .process-steps {
        flex-direction: column;
        align-items: center;
    }
    
    .application-buttons {
        flex-direction: column;
    }
    
    .president-message .message-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .president-info {
        order: 1;
    }
    
    .message-text {
        order: 2;
    }
    
    .intro-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .company-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .stat-item {
        padding: 1rem;
        background: var(--background-light);
        border-radius: 8px;
        text-align: center;
    }
    
    .cta-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .business-content .business-icon {
        position: static;
        transform: none;
        margin: 0 auto 1rem;
    }
    
    /* 新しいお見積もりセクション用のスマホ対応 */
    .quote-features {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    .feature-item {
        justify-content: center;
    }
    
    .btn-large {
        width: 100%;
        max-width: 300px;
    }
    
    /* 経営理念セクション用のスマホ対応 */
    .philosophy-list {
        text-align: left;
    }
    
    .philosophy-item {
        margin-bottom: 1.5rem;
    }
    
    /* テーブル要素のスマホ対応改善 */
    .info-table {
        overflow-x: auto;
    }
    
    .info-row {
        display: block;
        border-bottom: 1px solid var(--border-color);
        padding: 1rem 0;
    }
    
    .info-label {
        font-weight: 600;
        margin-bottom: 0.5rem;
        border-right: none;
        padding-right: 0;
    }
    
    .info-value {
        padding-left: 0;
    }
    
    /* グリッド要素の改善 */
    .license-grid,
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .qual-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    /* 画像の幅制限 */
    img {
        max-width: 100%;
        height: auto;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 0.75rem;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.25rem; }
    
    .btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.95rem;
    }
    
    .info-row {
        grid-template-columns: 1fr;
    }
    
    .info-label {
        border-bottom: none;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .hamburger,
    .hero-buttons,
    .btn,
    footer {
        display: none;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
        color: black;
    }
    
    .hero-content {
        color: black;
    }
    
    .page-header {
        background: none;
        color: black;
    }
}