/*
Theme Name: 帯広扶桑物産
Theme URI: https://obihiro-fuso.co.jp
Author: 帯広扶桑物産株式会社
Description: 帯広扶桑物産株式会社 公式サイトテーマ
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: obihiro-fuso
*/

:root {
    --primary-color: #0f172a;
    /* Navy/Slate */
    --accent-color: #f97316;
    /* Orange */
    --accent-hover: #ea580c;
    --accent-green: #f97316;
    --text-color: #334155;
    --text-light: #64748b;
    --bg-light: #f8fafc;
    --white: #ffffff;
    --container-width: 1200px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', 'Noto Serif JP', 'Yu Mincho', 'YuMincho', 'Hiragino Mincho ProN', 'MS PMincho', serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.inline-block {
    display: inline-block;
}

.sp-br {
    display: none;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 8rem 0;
}

.bg-light {
    background-color: var(--bg-light);
}

.section-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(249, 115, 22, 0.1);
    color: var(--accent-color);
    font-weight: 700;
    font-size: 0.875rem;
    letter-spacing: 0.1em;
    border-radius: 4px;
    margin-bottom: 1.5rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--accent-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(249, 115, 22, 0.3);
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--white);
}

.btn-block {
    display: block;
    width: 100%;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.header.scrolled {
    padding: 1rem 0;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a,
.footer-brand a {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.footer-brand a {
    margin-bottom: 0.5rem;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: -0.02em;
    line-height: 1;
}

.footer-brand .logo-text {
    color: var(--white);
}

.logo-text span {
    font-size: 0.9rem;
    font-weight: 400;
    margin-left: 4px;
}

.logo-img {
    height: 32px;
    width: auto;
    transition: var(--transition);
}

/* Header logo (white background) */
.header .logo-img {
    filter: none;
    mix-blend-mode: multiply;
    /* Hides white background of the original image */
}

/* Footer logo (dark background) */
.footer-brand .logo-img {
    filter: invert(1);
    mix-blend-mode: screen;
    /* Hides black background of the inverted image */
}

.nav-list,
.nav > ul,
.nav > div > ul {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 2.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-list a,
.nav > ul a,
.nav > div > ul a {
    color: var(--primary-color);
    font-weight: 500;
    font-size: 0.95rem;
}

.nav-list a:hover,
.nav > ul a:hover,
.nav > div > ul a:hover {
    color: var(--accent-color);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background-color: var(--primary-color);
    color: var(--white);
    overflow: hidden;
}

.hero-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-slideshow .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    animation: slideAnimation 24s ease-in-out infinite;
}

.hero-slideshow .slide:nth-child(1) {
    animation-delay: 0s;
}

.hero-slideshow .slide:nth-child(2) {
    animation-delay: 6s;
}

.hero-slideshow .slide:nth-child(3) {
    animation-delay: 12s;
}

.hero-slideshow .slide:nth-child(4) {
    animation-delay: 18s;
}

@keyframes slideAnimation {
    0% {
        opacity: 0;
        transform: scale(1);
    }

    8% {
        opacity: 1;
        transform: scale(1.02);
    }

    25% {
        opacity: 1;
        transform: scale(1.05);
    }

    33% {
        opacity: 0;
        transform: scale(1.08);
    }

    100% {
        opacity: 0;
        transform: scale(1);
    }
}

.hero-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(15, 23, 42, 0.9) 0%, rgba(15, 23, 42, 0.4) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
}

.hero-tagline {
    font-size: 1.25rem;
    color: var(--accent-color);
    font-weight: 700;
    margin-bottom: 1.5rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s forwards;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    line-height: 1.1;
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s 0.2s forwards;
}

.creative-hero-title {
    line-height: 1.4;
    letter-spacing: 0.05em;
}

.creative-hero-title .fw-normal {
    font-weight: 500;
    font-size: 0.85em;
}

.creative-hero-title .fw-bold {
    font-weight: 700;
}

.creative-hero-title .text-accent {
    position: relative;
    display: inline-block;
    z-index: 1;
    color: var(--white);
}

.creative-hero-title .text-accent::after {
    content: '';
    position: absolute;
    bottom: 0.15em;
    left: -0.1em;
    right: -0.1em;
    height: 0.35em;
    background: var(--accent-color);
    z-index: -1;
    opacity: 0.85;
    transform: rotate(-1.5deg);
    border-radius: 2px;
}

.hero-description {
    font-size: 1.25rem;
    margin-bottom: 3rem;
    color: rgba(255, 255, 255, 0.8);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s 0.4s forwards;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s 0.6s forwards;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.2em;
}

.mouse {
    width: 25px;
    height: 40px;
    border: 2px solid var(--white);
    border-radius: 20px;
    position: relative;
}

.mouse::before {
    content: '';
    position: absolute;
    width: 4px;
    height: 8px;
    background: var(--white);
    left: 50%;
    transform: translateX(-50%);
    top: 8px;
    border-radius: 2px;
    animation: mouseScroll 2s infinite;
}

/* Concept Section */
.concept-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.concept-text h3 {
    font-size: 2rem;
    margin-bottom: 2rem;
}

.concept-text p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    color: var(--text-light);
}

.concept-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.concept-list li {
    padding-left: 1.5rem;
    position: relative;
}

.concept-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: 700;
}


.float-image {
    border-radius: 16px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
}

/* Business Section */
.business-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.business-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.business-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.card-image {
    height: 240px;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-content {
    padding: 2rem;
}

.card-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.card-content p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Company Section */
.company-tabs {
    background: var(--white);
    border-radius: 16px;
    padding: 3rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.tab-buttons {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    border-bottom: 1px solid #e2e8f0;
}

.tab-btn {
    padding: 1rem 0;
    background: none;
    border: none;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-light);
    cursor: pointer;
    position: relative;
}

.tab-btn.active {
    color: var(--primary-color);
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent-color);
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

.profile-table {
    width: 100%;
    border-collapse: collapse;
}

.profile-table th {
    text-align: left;
    width: 200px;
    padding: 1.5rem 0;
    border-bottom: 1px solid #f1f5f9;
    color: var(--text-light);
    font-weight: 500;
}

.profile-table td {
    padding: 1.5rem 0;
    border-bottom: 1px solid #f1f5f9;
    font-weight: 600;
}

.message-content p {
    margin-bottom: 1.5rem;
}

.signature {
    margin-top: 2rem;
    font-weight: 700;
    text-align: right;
    font-size: 1.25rem;
}

.history-timeline {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.history-timeline li {
    display: flex;
    gap: 3rem;
}

.history-timeline .year {
    font-weight: 700;
    color: var(--accent-color);
    font-size: 1.25rem;
    min-width: 100px;
}

/* News Section */
.news-list {
    margin-bottom: 3rem;
}

.news-item {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 1.5rem 0;
    border-bottom: 1px solid #e2e8f0;
}

.news-item time {
    font-weight: 600;
    color: var(--text-light);
    min-width: 120px;
}

.news-item .category {
    padding: 0.25rem 0.75rem;
    background: var(--primary-color);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 4px;
}

.news-item .category.cat-recruit {
    background: #0ea5e9;
}

.news-item .category.cat-update {
    background: #10b981;
}

.news-item .category.cat-info {
    background: var(--primary-color);
}

.news-link:hover {
    color: var(--accent-color);
    padding-left: 0.5rem;
}

.news-item .category.cat-recruit {
    background: #0ea5e9;
}

.news-item .category.cat-update {
    background: var(--accent-green);
}

.center-btn {
    text-align: center;
}

/* Contact Banner Section */
.contact-banner-container {
    padding: 4rem 1rem;
    background-image: url('data:image/svg+xml,%3Csvg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"%3E%3Cg fill="none" fill-rule="evenodd"%3E%3Cg fill="%23f1f5f9" fill-opacity="0.4"%3E%3Cpath d="M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z"/%3E%3C/g%3E%3C/g%3E%3C/svg%3E');
    /* Subtle pattern similar to image background */
    background-color: #fafbfc;
    margin: 3rem 0;
    position: relative;
}

.contact-banner {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.contact-banner-left {
    flex: 1;
    text-align: center;
    border-right: 1px solid #cbd5e1;
    padding-right: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-banner-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-color);
    letter-spacing: 0.1em;
    line-height: 1;
    margin-bottom: 0.25rem;
}

.contact-banner-subtitle {
    font-size: 0.875rem;
    color: var(--accent-color);
    margin-bottom: 1.25rem;
    font-weight: 500;
}

.contact-banner-desc {
    font-size: 0.95rem;
    color: #334155;
    line-height: 1.6;
    text-align: left;
}

.contact-banner-right {
    flex: 1;
    padding-left: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-banner-tel {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.contact-banner-tel svg {
    color: var(--accent-green);
}

.tel-number-text {
    font-size: 2.25rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.02em;
    color: #111827;
}

.contact-banner-address {
    font-size: 0.95rem;
    color: #334155;
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

.contact-banner-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-color);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    text-decoration: none;
    font-weight: 600;
    width: fit-content;
    position: relative;
    padding-right: 3.5rem;
    padding-left: 2rem;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 4px 6px -1px rgba(249, 115, 22, 0.2);
}

.contact-banner-btn:hover {
    background: var(--accent-hover);
    color: var(--white);
    box-shadow: 0 6px 12px -2px rgba(249, 115, 22, 0.3);
    transform: translateY(-2px);
}

.contact-banner-btn .mail-icon {
    margin-left: 0.5rem;
}

.contact-banner-btn .arrow-icon {
    position: absolute;
    right: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
}

@media (max-width: 768px) {
    .contact-banner {
        flex-direction: column;
        gap: 2.5rem;
    }

    .contact-banner-left {
        border-right: none;
        padding-right: 0;
        border-bottom: 1px solid #cbd5e1;
        padding-bottom: 2.5rem;
        width: 100%;
    }

    .contact-banner-right {
        padding-left: 0;
        width: 100%;
        align-items: center;
        text-align: center;
    }

    .contact-banner-desc {
        text-align: center;
    }

    .contact-banner-address {
        text-align: center;
    }

    .contact-banner-tel {
        justify-content: center;
    }
}

/* Footer */
.footer {
    background: var(--primary-color);
    color: var(--white);
    padding: 5rem 0 2rem;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    margin-bottom: 4rem;
}

.footer-nav {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem 4rem;
}

.footer-nav a:hover {
    color: var(--accent-color);
}

.footer-utility-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1rem;
}

.footer-utility-links a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
}

/* News Detail (single post) */
.news-detail-header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid #e2e8f0;
}

.news-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.news-date {
    color: var(--text-light);
    font-weight: 500;
}

.news-category {
    padding: 0.25rem 0.75rem;
    background: var(--primary-color);
    color: var(--white);
    font-size: 0.875rem;
    font-weight: 700;
    border-radius: 4px;
}

.news-category.cat-recruit { background: #0ea5e9; }
.news-category.cat-update  { background: #10b981; }
.news-category.cat-info    { background: var(--primary-color); }

.news-title {
    font-size: 1.875rem;
    color: var(--primary-color);
    line-height: 1.4;
}

.news-body {
    line-height: 1.8;
    color: var(--text-color);
}

.news-body h3 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e2e8f0;
    color: var(--primary-color);
    font-size: 1.25rem;
}

.news-body p {
    margin-bottom: 1.5rem;
}

.recruit-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
}

.recruit-table th,
.recruit-table td {
    padding: 1rem;
    border: 1px solid #e2e8f0;
    vertical-align: top;
}

.recruit-table th {
    background-color: var(--bg-light);
    font-weight: 700;
    text-align: left;
    width: 25%;
    color: var(--primary-color);
}

.back-to-list {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 3rem;
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    transition: var(--transition);
}

.back-to-list:hover {
    background-color: var(--bg-light);
}

@media (max-width: 768px) {
    .news-title { font-size: 1.5rem; }

    .recruit-table th,
    .recruit-table td {
        display: block;
        width: 100%;
    }

    .recruit-table th { border-bottom: none; }
    .recruit-table td { margin-bottom: 1rem; }
}

/* Subpage Styles */
.header.subpage {
    background: var(--white);
    padding: 1rem 0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.page-content {
    padding-top: 120px;
    padding-bottom: 8rem;
    min-height: 80vh;
}

.page-header {
    text-align: center;
    margin-bottom: 4rem;
}

.document-box {
    background: var(--white);
    padding: 4rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    max-width: 900px;
    margin: 0 auto;
}

.document-box h3 {
    margin-top: 3rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e2e8f0;
    color: var(--primary-color);
    font-size: 1.25rem;
}

.document-box p {
    margin-bottom: 1.5rem;
}

.document-box ul {
    list-style-type: disc;
    padding-left: 2rem;
    margin-bottom: 2rem;
}

.document-box li {
    margin-bottom: 0.5rem;
}

.contact-info-box {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 8px;
    margin-top: 2rem;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 999;
    text-decoration: none;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background-color: var(--accent-color);
    transform: translateY(-3px);
}

@media (max-width: 768px) {
    .back-to-top {
        bottom: 1.5rem;
        right: 1.5rem;
        width: 45px;
        height: 45px;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes mouseScroll {
    0% {
        transform: translate(-50%, 0);
        opacity: 1;
    }

    100% {
        transform: translate(-50%, 15px);
        opacity: 0;
    }
}

/* Mobile Responsive */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100vh;
    background: var(--white);
    z-index: 999;
    padding: 8rem 2rem;
    transition: var(--transition);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
}

.mobile-menu.active {
    right: 0;
}

.mobile-nav ul {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.mobile-nav a {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
    padding: 0;
    gap: 5px;
}

.mobile-menu-toggle span {
    display: block;
    width: 26px;
    height: 2px;
    background: var(--primary-color);
    border-radius: 2px;
    transition: var(--transition);
    transform-origin: center;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Menu Backdrop */
.mobile-menu-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-menu-backdrop.active {
    opacity: 1;
}

@media (max-width: 1024px) {
    .container {
        padding: 0 1.5rem;
    }

    .concept-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .business-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {

    /* Header */
    .nav,
    .header-cta {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .header {
        padding: 1rem 0;
    }

    .logo-text {
        font-size: 1.1rem;
    }

    .logo-img {
        height: 26px;
    }

    /* Container */
    .container {
        padding: 0 1rem;
    }

    /* Section */
    .section {
        padding: 4rem 0;
    }

    .section-title {
        font-size: 1.75rem;
        margin-bottom: 2rem;
    }

    /* Hero */
    .hero {
        height: 100svh;
        min-height: 600px;
    }

    .hero-image-overlay {
        background: linear-gradient(180deg, rgba(15, 23, 42, 0.85) 0%, rgba(15, 23, 42, 0.6) 100%);
    }

    .hero-content {
        padding: 0;
        max-width: 100%;
    }

    .hero-tagline {
        font-size: 1rem;
        margin-bottom: 1rem;
    }

    .hero-title {
        font-size: clamp(1.6rem, 7vw, 2.2rem);
        margin-bottom: 1.25rem;
        line-height: 1.5;
    }

    .sp-br {
        display: block;
    }

    .hero-description {
        font-size: 0.95rem;
        margin-bottom: 2rem;
        line-height: 1.7;
    }

    .hero-actions {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
    }

    .hero-actions .btn {
        width: 100%;
        text-align: center;
    }

    /* Concept */
    .concept-text h3 {
        font-size: 1.5rem;
        margin-bottom: 1.25rem;
    }

    .concept-text p {
        font-size: 1rem;
        margin-bottom: 1.25rem;
    }

    .float-image {
        border-radius: 10px;
    }

    /* Business */
    .business-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .card-image {
        height: 200px;
    }

    .card-content {
        padding: 1.25rem;
    }

    .card-content h3 {
        font-size: 1.2rem;
    }

    /* Company */
    .company-tabs {
        padding: 1.25rem;
        border-radius: 10px;
    }

    .tab-buttons {
        gap: 0;
        overflow-x: auto;
        white-space: nowrap;
        padding-bottom: 0;
        -webkit-overflow-scrolling: touch;
    }

    .tab-btn {
        font-size: 0.95rem;
        padding: 0.75rem 1rem;
        flex-shrink: 0;
    }

    .profile-table th {
        width: 100px;
        padding: 1rem 0.5rem 1rem 0;
        font-size: 0.875rem;
        vertical-align: top;
    }

    .profile-table td {
        padding: 1rem 0 1rem 0.5rem;
        font-size: 0.9rem;
        word-break: break-all;
    }

    .history-timeline li {
        flex-direction: column;
        gap: 0.25rem;
    }

    .history-timeline .year {
        font-size: 1rem;
    }

    .message-content p {
        font-size: 0.95rem;
    }

    .signature {
        font-size: 1rem;
    }

    /* News */
    .news-item {
        flex-wrap: wrap;
        gap: 0.5rem;
        padding: 1rem 0;
    }

    .news-item time {
        min-width: auto;
        font-size: 0.875rem;
    }

    .news-link {
        width: 100%;
        font-size: 0.95rem;
    }

    /* Contact Banner */
    .contact-banner-container {
        padding: 3rem 1rem;
        margin: 1.5rem 0;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .tel-number {
        font-size: 2rem;
    }

    .tel-number-text {
        font-size: 1.75rem;
    }

    /* Footer */
    .footer {
        padding: 3rem 0 1.5rem;
    }

    .footer-top {
        flex-direction: column;
        gap: 2rem;
        margin-bottom: 2rem;
    }

    .footer-nav {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem 2rem;
    }

    .footer-addr {
        font-size: 0.875rem;
        margin-top: 0.5rem;
    }

    .footer-bottom {
        padding-top: 1.5rem;
        font-size: 0.8rem;
    }

    .footer-utility-links {
        margin-bottom: 0.75rem;
    }
}

/* Contact Page Specific Styles */
.contact-page-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-info-panel {
    background: var(--white);
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    height: fit-content;
}

.contact-form-panel {
    background: var(--white);
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.contact-info-title {
    font-size: 1.25rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    border-bottom: 2px solid #f1f5f9;
    padding-bottom: 0.5rem;
}

.contact-tel-box {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.tel-hours {
    font-size: 0.875rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.contact-address-box,
.contact-address-box p {
    color: var(--text-color);
    line-height: 1.6;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 700;
    color: var(--primary-color);
    font-size: 0.95rem;
}

.required.badge {
    background-color: #ef4444;
    color: white;
    padding: 0.1rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    margin-left: 0.5rem;
    font-weight: normal;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s, box-shadow 0.3s;
    background-color: #f8fafc;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.1);
    background-color: var(--white);
}

.select-wrapper {
    position: relative;
}

.select-wrapper::after {
    content: '▼';
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    font-size: 0.8rem;
    color: #64748b;
}

.contact-form select {
    appearance: none;
    cursor: pointer;
}

.form-policy {
    margin: 2rem 0;
    text-align: center;
}

.checkbox-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-weight: 500;
}

.checkbox-label input[type="checkbox"] {
    width: 1.25rem;
    height: 1.25rem;
    cursor: pointer;
}

.form-submit {
    text-align: center;
}

.submit-btn {
    padding: 1rem 4rem;
    font-size: 1.1rem;
    max-width: 300px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .contact-page-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-info-panel,
    .contact-form-panel {
        padding: 2rem 1.5rem;
    }
}