/* ========================================
   代表挨拶セクション
======================================== */
.message-section {
    background: #fff;
    padding: 60px 0 80px;
}

.message-container {
    max-width: 768px;
    margin: 0 auto;
    padding: 0 20px;
}

.message-content {
    background: #f8f9fa;
    padding: 40px 30px;
    border-radius: 12px;
    margin-top: 40px;
}

.message-text {
    font-size: 15px;
    line-height: 2;
    color: #555;
    margin-bottom: 40px;
}

.message-text p {
    margin-bottom: 25px;
}

.message-text p:last-child {
    margin-bottom: 0;
}

.message-signature {
    text-align: right;
    padding-top: 30px;
    border-top: 1px solid #e0e0e0;
}

.message-position {
    font-size: 14px;
    color: #999;
    margin-bottom: 8px;
}

.message-name {
    font-size: 18px;
    font-weight: 700;
    color: #333;
}

/* ========================================
   私たちの理念セクション
======================================== */
.philosophy-section {
    background: 
        repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0, 102, 204, 0.015) 2px, rgba(0, 102, 204, 0.015) 4px),
        repeating-linear-gradient(90deg, transparent, transparent 2px, rgba(0, 102, 204, 0.015) 2px, rgba(0, 102, 204, 0.015) 4px),
        #f8f9fa;
    padding: 60px 0 80px;
}

.philosophy-container {
    max-width: 768px;
    margin: 0 auto;
    padding: 0 20px;
}

.philosophy-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 40px;
}

.philosophy-item {
    background: #fff;
    padding: 35px 30px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.philosophy-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #0066cc 0%, #0052a3 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.philosophy-icon svg {
    stroke: #fff;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.philosophy-title {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
    line-height: 1.6;
}

.philosophy-text {
    font-size: 14px;
    line-height: 2;
    color: #555;
}

/* ========================================
   会社情報セクション
======================================== */
.company-section {
    background: #fff;
    padding: 60px 0 80px;
}

.company-container {
    max-width: 768px;
    margin: 0 auto;
    padding: 0 20px;
}

.company-info {
    margin-top: 40px;
    background: #f8f9fa;
    padding: 0;
    border-radius: 12px;
    overflow: hidden;
}

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

.company-table tbody tr {
    border-bottom: 1px solid #e0e0e0;
}

.company-table tbody tr:last-child {
    border-bottom: none;
}

.company-table th {
    background: #fff;
    padding: 20px;
    text-align: left;
    font-size: 14px;
    font-weight: 700;
    color: #333;
    width: 35%;
    vertical-align: top;
}

.company-table td {
    padding: 20px;
    font-size: 14px;
    line-height: 1.8;
    color: #555;
    background: #f8f9fa;
}

.company-table td a {
    color: #0066cc;
    text-decoration: none;
    font-weight: 600;
}

.company-table td a:hover {
    text-decoration: underline;
}

.company-note {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
}

.company-note p {
    font-size: 13px;
    line-height: 2;
    color: #666;
    margin: 0;
}

/* ========================================
   アクセスセクション
======================================== */
.access-section {
    background: 
        repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0, 102, 204, 0.015) 2px, rgba(0, 102, 204, 0.015) 4px),
        repeating-linear-gradient(90deg, transparent, transparent 2px, rgba(0, 102, 204, 0.015) 2px, rgba(0, 102, 204, 0.015) 4px),
        #f8f9fa;
    padding: 60px 0 80px;
}

.access-container {
    max-width: 768px;
    margin: 0 auto;
    padding: 0 20px;
}

.access-content {
    margin-top: 40px;
}

.access-info {
    background: #fff;
    padding: 35px 30px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
}

.access-title {
    font-size: 16px;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #0066cc;
}

.access-title:not(:first-child) {
    margin-top: 30px;
}

.access-address {
    font-size: 15px;
    line-height: 1.9;
    color: #555;
}

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

.access-stations li {
    padding: 8px 0 8px 20px;
    font-size: 14px;
    color: #555;
    position: relative;
    line-height: 1.8;
}

.access-stations li::before {
    content: "・";
    position: absolute;
    left: 4px;
    color: #0066cc;
    font-weight: 700;
}

.access-note {
    margin-top: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
}

.access-note p {
    font-size: 13px;
    line-height: 1.9;
    color: #666;
    margin: 0;
}

.access-map {
    background: #fff;
    padding: 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.map-placeholder {
    width: 100%;
    height: 300px;
    background: #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-placeholder p {
    font-size: 14px;
    color: #999;
}

/* モバイルビューポート内でのスタイル調整 */
.mobile-viewport .message-section,
.mobile-viewport .philosophy-section,
.mobile-viewport .company-section,
.mobile-viewport .access-section {
    padding: 60px 0 80px !important;
}

.mobile-viewport .message-content {
    padding: 30px 20px !important;
}

.mobile-viewport .philosophy-list {
    gap: 20px !important;
}

.mobile-viewport .philosophy-item {
    padding: 30px 20px !important;
}

.mobile-viewport .company-table th,
.mobile-viewport .company-table td {
    padding: 15px !important;
    font-size: 13px !important;
}

.mobile-viewport .access-info {
    padding: 30px 20px !important;
}

/* タブレット以上のレスポンシブ対応 */
@media (min-width: 769px) {
    .message-content {
        padding: 50px 40px;
    }

    .message-text {
        font-size: 16px;
    }

    /* 私たちの理念は全デバイスで1カラムレイアウト */
    .philosophy-list {
        gap: 30px;
    }

    .philosophy-item {
        padding: 40px 30px;
    }

    .company-table th {
        width: 30%;
        padding: 25px 30px;
    }

    .company-table td {
        padding: 25px 30px;
    }

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

    .access-map {
        grid-column: 1 / -1;
    }

    .map-placeholder {
        height: 400px;
    }
}