/* =========================================
   Variables & Resets
========================================= */
:root {
    --color-primary: #3E6B3B; /* 深緑 */
    --color-primary-light: #528B4E;
    --color-secondary: #EAF0E9; /* 薄い緑背景 */
    --color-accent: #E86B0C; /* オレンジ */
    --color-accent-hover: #C55808;
    --color-text-main: #333333;
    --color-text-muted: #666666;
    --color-white: #FFFFFF;
    --color-border: #E0E0E0;
    
    --font-main: 'Noto Sans JP', sans-serif;
    --font-title: 'Shippori Mincho', serif;
    
    --header-height: 80px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--color-text-main);
    line-height: 1.6;
    background-color: var(--color-white);
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* =========================================
   Typography & Utilities
========================================= */
.section-title {
    font-family: var(--font-title);
    font-size: 2.2rem;
    text-align: center;
    color: var(--color-primary);
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 40px;
    height: 1px;
    background-color: var(--color-text-muted);
    margin: 15px auto 0;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(62, 107, 59, 0.3);
}

.btn-primary:hover {
    background-color: var(--color-primary-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(62, 107, 59, 0.4);
}

.btn-primary .arrow {
    margin-left: 10px;
    transition: transform 0.3s ease;
}

.btn-primary:hover .arrow {
    transform: translateX(5px);
}

/* =========================================
   Header
========================================= */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(5px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    z-index: 1000;
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    width: 40px;
    height: 40px;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.company-name {
    font-family: var(--font-title);
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--color-primary);
    line-height: 1.2;
}

.company-sub {
    font-size: 0.65rem;
    color: var(--color-text-muted);
}

.nav ul {
    display: flex;
    gap: 25px;
}

.nav a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-text-main);
    position: relative;
    padding-bottom: 5px;
    transition: color 0.3s;
}

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

.nav a.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--color-primary);
}

.btn-contact-header {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 0 20px;
    height: 44px;
    border-radius: 4px;
    font-weight: 500;
    font-size: 0.9rem;
    transition: background-color 0.3s;
}

.btn-contact-header:hover {
    background-color: var(--color-primary-light);
}

.mail-icon {
    width: 18px;
    height: 18px;
}

/* =========================================
   Hero Section
========================================= */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    padding-top: var(--header-height);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: -1;
}

.hero-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.4) 50%, rgba(255,255,255,0) 100%);
}

.hero-content {
    flex: 1;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    position: relative;
}

.hero-text {
    width: 50%;
    padding-right: 40px;
    animation: fadeInRight 1s ease forwards;
}

.hero-title {
    font-family: var(--font-title);
    font-size: 3.5rem;
    line-height: 1.3;
    color: var(--color-text-main);
    margin-bottom: 20px;
}

.hero-title .highlight {
    color: var(--color-primary);
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.5;
}

.hero-description {
    font-size: 1rem;
    color: var(--color-text-muted);
    margin-bottom: 40px;
}

.hero-images {
    width: 50%;
    position: relative;
    height: 100%;
}

.floating-drone {
    position: absolute;
    top: 10%;
    right: 5%;
    width: 300px;
    animation: float 6s ease-in-out infinite;
    filter: drop-shadow(0 10px 15px rgba(0,0,0,0.3));
}

.overlay-cards {
    position: absolute;
    bottom: 10%;
    right: 0;
    display: flex;
    gap: 15px;
}

.overlay-card {
    background: white;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    width: 220px;
    animation: fadeInUp 1s ease forwards;
    animation-delay: 0.5s;
    opacity: 0;
}

.overlay-card.card-right {
    margin-top: 40px;
    animation-delay: 0.7s;
}

.card-img {
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 10px;
    height: 120px;
}

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

.overlay-card p {
    font-size: 0.8rem;
    font-weight: 700;
    text-align: center;
}

.hero-bottom-links {
    display: flex;
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255,255,255,0.5);
}

.link-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    border-right: 1px solid rgba(0,0,0,0.05);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.link-item:last-child {
    border-right: none;
}

.link-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.4);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s;
}

.link-item:hover, .link-item.active {
    background-color: rgba(62, 107, 59, 0.8);
    color: white;
}

.link-icon {
    width: 30px;
    height: 30px;
    margin-bottom: 10px;
}

/* Animations */
@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(-30px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes float {
    0% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0); }
}

/* =========================================
   Subpages Common Styles
========================================= */
.page-header {
    height: 300px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: var(--header-height);
}

.page-header::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.page-header-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--color-white);
}

.page-title {
    font-family: var(--font-title);
    font-size: 2.5rem;
    margin-bottom: 10px;
    letter-spacing: 0.1em;
}

.page-subtitle {
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.page-content {
    padding: 80px 20px;
}

/* =========================================
   Company Page
========================================= */
.company-container {
    max-width: 800px;
}

.company-section {
    margin-bottom: 60px;
}

.company-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--color-white);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border-radius: 8px;
    overflow: hidden;
}

.company-table th, .company-table td {
    padding: 20px;
    border-bottom: 1px solid var(--color-border);
    text-align: left;
}

.company-table th {
    width: 30%;
    background-color: var(--color-secondary);
    font-weight: 700;
    color: var(--color-primary);
}

.company-table tr:last-child th,
.company-table tr:last-child td {
    border-bottom: none;
}

.map-wrapper {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

/* =========================================
   Contact Page
========================================= */
.contact-container {
    max-width: 700px;
}

.contact-lead {
    text-align: center;
    margin-bottom: 40px;
}

.contact-form {
    background: var(--color-white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
}

.form-group label.required::after {
    content: '必須';
    display: inline-block;
    margin-left: 10px;
    background-color: #e53935;
    color: white;
    font-size: 0.75rem;
    padding: 2px 6px;
    border-radius: 3px;
    vertical-align: middle;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--color-border);
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 2px rgba(62, 107, 59, 0.2);
}

.form-submit {
    text-align: center;
    margin-top: 40px;
}

.btn-large {
    font-size: 1.1rem;
    padding: 15px 50px;
    border: none;
    cursor: pointer;
}

/* =========================================
   Layout & Sections
========================================= */
.section {
    padding: 80px 20px;
}

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

.bg-light {
    background-color: var(--color-secondary);
}

/* =========================================
   Strengths Section
========================================= */
.strengths-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.strength-card {
    background: var(--color-white);
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    overflow: hidden;
    transition: transform 0.3s;
}

.strength-card:hover {
    transform: translateY(-5px);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    border-bottom: 1px solid var(--color-border);
}

.icon-circle {
    width: 40px;
    height: 40px;
    background-color: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    flex-shrink: 0;
}

.icon-circle svg {
    width: 20px;
    height: 20px;
}

.card-header h3 {
    font-size: 1.1rem;
    color: var(--color-primary);
    line-height: 1.4;
}

.strength-card .card-img {
    height: 180px;
    overflow: hidden;
}

.strength-card .card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.flow-diagram {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 20px;
    background-color: #f9f9f9;
    height: 180px;
    font-size: 0.8rem;
    font-weight: 700;
}

.flow-step {
    background: white;
    padding: 10px;
    border: 1px solid var(--color-primary);
    border-radius: 4px;
    color: var(--color-primary);
    text-align: center;
    flex: 1;
}

.flow-arrow {
    color: var(--color-primary);
}

.card-body {
    padding: 20px;
    font-size: 0.95rem;
    color: var(--color-text-muted);
}

/* =========================================
   Services Section
========================================= */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.service-card {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow 0.3s;
}

.service-card:hover {
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.service-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px;
    border-bottom: 1px solid var(--color-border);
}

.service-header svg {
    width: 24px;
    height: 24px;
    color: var(--color-primary);
}

.service-header h3 {
    font-size: 1.1rem;
}

.service-content {
    padding: 15px;
}

.service-img {
    height: 120px;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 15px;
}

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

.service-list {
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

.service-list li {
    position: relative;
    padding-left: 15px;
    margin-bottom: 5px;
}

.service-list li::before {
    content: '・';
    position: absolute;
    left: 0;
    color: var(--color-primary);
}

/* =========================================
   Achievements Section
========================================= */
.achievements-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 15px;
    margin-bottom: 30px;
}

.achievement-card {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    aspect-ratio: 4/3;
    display: flex;
    align-items: flex-end;
}

.ach-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.ach-img::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 70%;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
}

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

.ach-title {
    position: relative;
    z-index: 2;
    color: var(--color-white);
    padding: 15px 10px;
    font-size: 0.85rem;
    font-weight: 700;
    text-align: center;
    width: 100%;
}

.ach-title span {
    font-size: 0.7rem;
    font-weight: 400;
}

.ach-note {
    text-align: center;
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

/* =========================================
   Footer Area
========================================= */
.footer-top {
    display: flex;
}

.equipment-section {
    flex: 1;
    padding: 60px 40px;
    background: var(--color-white);
}

.equipment-section h3 {
    font-size: 1.2rem;
    margin-bottom: 30px;
    text-align: center;
}

.equip-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    text-align: center;
}

.equip-item img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin: 0 auto 10px;
}

.placeholder-img {
    width: 80px;
    height: 80px;
    margin: 0 auto 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    background: var(--color-secondary);
    border-radius: 8px;
}

.equip-item p {
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

.contact-banner {
    flex: 1;
    background-color: var(--color-accent);
    color: var(--color-white);
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.contact-banner h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.contact-banner p {
    font-size: 0.95rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.btn-contact-large {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: transparent;
    border: 2px solid var(--color-white);
    color: var(--color-white);
    padding: 15px 40px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s;
}

.btn-contact-large:hover {
    background-color: var(--color-white);
    color: var(--color-accent);
}

.btn-contact-large svg {
    width: 20px;
    height: 20px;
}

.btn-contact-large .arrow {
    transition: transform 0.3s;
}

.btn-contact-large:hover .arrow {
    transform: translateX(5px);
}
/* =========================================
   Responsive & Hamburger Menu
========================================= */
.hamburger {
    display: none; /* PCでは非表示 */
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    cursor: pointer;
    position: relative;
    z-index: 2000;
    margin-left: 15px;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--color-primary);
    position: absolute;
    left: 8px;
    transition: all 0.3s ease-in-out;
}

.hamburger span:nth-child(1) { top: 12px; }
.hamburger span:nth-child(2) { top: 19px; }
.hamburger span:nth-child(3) { top: 26px; }

/* ハンバーガーアイコン アニメーション */
.hamburger.is-active span:nth-child(1) {
    top: 19px;
    transform: rotate(45deg);
}
.hamburger.is-active span:nth-child(2) {
    opacity: 0;
}
.hamburger.is-active span:nth-child(3) {
    top: 19px;
    transform: rotate(-45deg);
}

/* スクロール固定 */
body.no-scroll {
    overflow: hidden;
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background-color: rgba(255, 255, 255, 0.98);
        padding-top: 100px;
        transition: right 0.3s ease-in-out;
        z-index: 1500;
        overflow-y: auto;
    }

    .nav.is-active {
        right: 0;
    }

    .nav ul {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    .nav a {
        font-size: 1.2rem;
    }

    .btn-contact-header {
        display: none; /* スマホではヘッダーのボタンを隠すか、ハンバーガー横に小さく置く */
    }

    /* 各セクションのレスポンシブ調整 */
    .hero-content {
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-bottom-links {
        flex-wrap: wrap;
        bottom: 20px;
    }

    .link-item {
        flex: 1 1 40%;
        padding: 15px 10px;
    }

    .strengths-grid,
    .services-grid,
    .achievements-grid,
    .company-table th, 
    .company-table td {
        grid-template-columns: 1fr;
    }

    .company-table th, .company-table td {
        display: block;
        width: 100%;
    }

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

/* =========================================
   Footer Info
========================================= */
.footer-info {
    padding: 60px 20px 40px;
    background-color: var(--color-primary);
    color: var(--color-white);
    text-align: center;
}

.footer-company {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    letter-spacing: 0.05em;
}

.footer-address, .footer-tel {
    font-size: 0.95rem;
    margin-bottom: 8px;
    opacity: 0.9;
}

.footer-bottom {
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 20px;
    opacity: 0.8;
}

/* =========================================
   Mobile Fixes 2026-06-26
   スマホ表示崩れ対策
========================================= */
html,
body {
    width: 100%;
    overflow-x: hidden;
}

/* iPhoneなどで100vhが大きくなり過ぎる問題を緩和 */
.hero {
    min-height: 100svh;
}

@media (max-width: 1024px) {
    .nav ul {
        gap: 16px;
    }

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

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

@media (max-width: 768px) {
    :root {
        --header-height: 64px;
    }

    .header {
        height: var(--header-height);
    }

    .header-inner {
        padding: 0 16px;
    }

    .logo-icon {
        width: 34px;
        height: 34px;
    }

    .company-name {
        font-size: 1rem;
    }

    .company-sub {
        font-size: 0.58rem;
    }

    .section {
        padding: 56px 16px;
    }

    .section-title {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }

    .page-header {
        height: 220px;
        margin-top: var(--header-height);
    }

    .page-title {
        font-size: 2rem;
    }

    .page-content {
        padding: 56px 16px;
    }

    /* ヒーロー：PC用2カラムをスマホでは1カラムに変更 */
    .hero {
        height: auto;
        min-height: auto;
        padding-top: var(--header-height);
        overflow: hidden;
    }

    .hero-bg::after {
        background: rgba(255, 255, 255, 0.78);
    }

    .hero-content {
        display: block;
        padding: 48px 16px 24px;
        text-align: left;
    }

    .hero-text {
        width: 100%;
        padding-right: 0;
        position: relative;
        z-index: 2;
    }

    .hero-title {
        font-size: clamp(2rem, 10vw, 2.8rem);
        line-height: 1.25;
        margin-bottom: 16px;
    }

    .hero-subtitle {
        font-size: 1.15rem;
        line-height: 1.6;
    }

    .hero-description {
        font-size: 0.95rem;
        margin-bottom: 28px;
    }

    .hero-images {
        width: 100%;
        height: auto;
        margin-top: 28px;
        position: relative;
        display: block;
    }

    .floating-drone {
        position: static;
        width: min(70vw, 260px);
        margin: 0 auto 20px;
        animation: none;
    }

    .overlay-cards {
        position: static;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .overlay-card,
    .overlay-card.card-right {
        width: 100%;
        margin-top: 0;
        opacity: 1;
        animation: none;
    }

    .overlay-card .card-img {
        height: 90px;
    }

    .overlay-card p {
        font-size: 0.75rem;
    }

    .hero-bottom-links {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        background-color: rgba(255, 255, 255, 0.95);
    }

    .link-item {
        flex: none;
        padding: 14px 8px;
        font-size: 0.85rem;
        border-right: 1px solid rgba(0,0,0,0.05);
        border-bottom: 1px solid rgba(0,0,0,0.05);
    }

    .link-icon {
        width: 24px;
        height: 24px;
        margin-bottom: 6px;
    }

    /* グリッド類はスマホ幅に合わせる */
    .strengths-grid,
    .services-grid,
    .achievements-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .strength-card .card-img,
    .flow-diagram {
        height: auto;
        min-height: 160px;
    }

    .flow-diagram {
        flex-direction: column;
        align-items: stretch;
    }

    .flow-arrow {
        transform: rotate(90deg);
        align-self: center;
    }

    .achievement-card {
        aspect-ratio: 16 / 10;
    }

    /* フッター上部の横並びを縦並びに変更 */
    .footer-top {
        display: block;
    }

    .equipment-section,
    .contact-banner {
        padding: 48px 16px;
    }

    .equip-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .btn-contact-large {
        width: 100%;
        max-width: 320px;
        padding: 14px 20px;
        font-size: 1rem;
    }

    /* 会社概要テーブル */
    .company-table {
        box-shadow: none;
        border-radius: 0;
        background: transparent;
    }

    .company-table tr {
        display: block;
        margin-bottom: 14px;
        background: var(--color-white);
        border: 1px solid var(--color-border);
        border-radius: 8px;
        overflow: hidden;
    }

    .company-table th,
    .company-table td {
        display: block;
        width: 100%;
        padding: 14px 16px;
        border-bottom: none;
    }

    .company-table th {
        border-bottom: 1px solid var(--color-border);
    }

    .contact-form {
        padding: 24px 16px;
    }

    .btn-large {
        width: 100%;
        padding: 14px 20px;
    }
}

@media (max-width: 420px) {
    .company-name {
        font-size: 0.9rem;
    }

    .company-sub {
        display: none;
    }

    .hero-content {
        padding-top: 36px;
    }

    .hero-bottom-links,
    .overlay-cards {
        grid-template-columns: 1fr;
    }

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