/* 株式会社Mtone - Sophisticated Design with Premium Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Noto+Sans+JP:wght@300;400;500;600;700;900&display=swap');

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

:root {
    --primary: #1a1a1a;
    --secondary: #2d2d2d;
    --accent: #c9a55a;
    --text-primary: #1a1a1a;
    --text-secondary: #666666;
    --text-light: #999999;
    --bg-white: #ffffff;
    --bg-light: #f8f8f8;
    --border: #e0e0e0;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
    --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', 'Noto Sans JP', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text-primary);
    background: var(--bg-white);
    line-height: 1.8;
    font-size: 16px;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 40px;
}

/* ヘッダー */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}

.header-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 90px;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 16px;
    text-decoration: none;
}

.logo-img {
    height: 50px;
    width: auto;
}

.logo-sub {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 500;
    color: var(--text-secondary);
    padding-left: 16px;
    border-left: 1px solid var(--border);
    letter-spacing: 0.5px;
}

.nav-desktop {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-link {
    font-family: 'Inter', sans-serif;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    position: relative;
    transition: var(--transition);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent);
    transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
    color: var(--accent);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.nav-link-cta {
    font-family: 'Inter', sans-serif;
    padding: 12px 28px;
    background: var(--primary);
    color: white;
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: var(--transition);
}

.nav-link-cta:hover {
    background: var(--accent);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-toggle span {
    width: 24px;
    height: 2px;
    background: var(--primary);
}

.mobile-menu {
    position: fixed;
    top: 90px;
    left: 0;
    right: 0;
    background: white;
    padding: 40px;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.mobile-menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mobile-link {
    font-family: 'Inter', sans-serif;
    padding: 16px 20px;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 0.5px;
    border-left: 3px solid transparent;
}

.mobile-link:hover {
    background: var(--bg-light);
    border-left-color: var(--accent);
}

.mobile-link-cta {
    font-family: 'Inter', sans-serif;
    padding: 16px 20px;
    background: var(--primary);
    color: white;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    margin-top: 16px;
    letter-spacing: 1px;
}

/* ヒーロー */
.hero {
    position: relative;
    min-height: 70vh;
    background: #f8f8f8;
    padding: 140px 0 80px;
}

.hero-image {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    overflow: hidden;
}

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

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-label {
    font-family: 'Inter', sans-serif;
    display: inline-block;
    padding: 8px 24px;
    border: 1px solid var(--accent);
    color: var(--accent);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    margin-bottom: 32px;
}

.hero-title {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 56px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 32px;
    letter-spacing: -1px;
}

.hero-title-accent {
    color: var(--accent);
    font-weight: 400;
}

.hero-description {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 2;
    margin-bottom: 48px;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 80px;
}

.btn-primary {
    font-family: 'Inter', sans-serif;
    padding: 16px 40px;
    background: var(--primary);
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: var(--transition);
}

.btn-primary:hover {
    background: var(--accent);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    font-family: 'Inter', sans-serif;
    padding: 16px 40px;
    background: transparent;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border: 2px solid var(--primary);
    transition: var(--transition);
}

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

.hero-stats {
    display: flex;
    gap: 80px;
    padding-top: 40px;
    border-top: 1px solid var(--border);
}

.stat-number {
    font-family: 'Inter', sans-serif;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: -1px;
}

.stat-label {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    color: var(--text-light);
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

/* セクション共通 */
section {
    padding: 120px 0;
}

.section-label {
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    color: var(--accent);
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 16px;
    display: block;
}

.section-title {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 24px;
    letter-spacing: -0.5px;
}

.section-description {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 2;
    max-width: 700px;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-header .section-description {
    margin: 0 auto;
}

/* サービスカード */
.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.service-card {
    border: 1px solid var(--border);
    overflow: hidden;
    transition: var(--transition);
}

.service-card:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

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

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.service-card:hover .service-image img {
    transform: scale(1.05);
}

.service-content {
    padding: 32px 24px;
}

.service-number {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    color: var(--accent);
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: 2px;
}

.service-title {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 16px;
}

.service-text {
    color: var(--text-secondary);
    line-height: 1.9;
    margin-bottom: 24px;
}

.service-link {
    font-family: 'Inter', sans-serif;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.service-link:hover {
    color: var(--accent);
}

/* 特徴 */
.features {
    background: var(--bg-light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px;
    max-width: 800px;
    margin: 0 auto;
}

.feature-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 24px;
    color: var(--accent);
}

.feature-icon svg {
    width: 100%;
    height: 100%;
}

.feature-title {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 16px;
}

.feature-text {
    color: var(--text-secondary);
    line-height: 1.9;
}

/* 採用セクション */
.recruitment {
    background: var(--primary);
    color: white;
}

.recruitment .section-label {
    color: var(--accent);
}

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

.recruitment .section-description {
    color: rgba(255, 255, 255, 0.7);
    margin: 0 auto;
}

.recruitment-content {
    text-align: center;
}

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

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

/* お知らせ */
.news-list {
    max-width: 900px;
    margin: 0 auto;
}

.news-item {
    display: flex;
    gap: 40px;
    padding: 32px 0;
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}

.news-item:hover {
    padding-left: 20px;
}

.news-date {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    color: var(--text-light);
    white-space: nowrap;
    font-weight: 600;
    letter-spacing: 1px;
}

.news-title {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 8px;
}

.news-link {
    font-family: 'Inter', sans-serif;
    color: var(--accent);
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* フッター */
.footer {
    background: var(--primary);
    color: rgba(255, 255, 255, 0.7);
    padding: 80px 0 40px;
}

.footer-main {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 80px;
    margin-bottom: 60px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    font-family: 'Inter', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: white;
    margin-bottom: 16px;
    letter-spacing: 2px;
}

.footer-tagline {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 20px;
    margin-bottom: 24px;
    letter-spacing: 1px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
}

.footer-column h4 {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 700;
    color: white;
    margin-bottom: 20px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.footer-column a {
    display: block;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    margin-bottom: 12px;
    font-size: 14px;
    transition: var(--transition);
}

.footer-column a:hover {
    color: var(--accent);
    padding-left: 8px;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 40px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 14px;
}

.footer-bottom {
    font-family: 'Inter', sans-serif;
    text-align: center;
    padding-top: 40px;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 0.5px;
}

/* ページヘッダー */
.page-header {
    padding: 180px 0 100px;
    background: var(--bg-light);
    text-align: center;
}

.page-header h1 {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

/* コンテンツエリア */
.page-content {
    padding: 100px 0;
}

.content-wrapper {
    max-width: 1000px;
    margin: 0 auto;
}

.content-card {
    background: white;
    border: 1px solid var(--border);
    padding: 60px;
}

/* テーブル */
.info-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

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

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

.info-table th {
    font-family: 'Noto Sans JP', sans-serif;
    padding: 24px;
    text-align: left;
    font-weight: 700;
    width: 200px;
    vertical-align: top;
}

.info-table td {
    padding: 24px;
    line-height: 1.9;
    color: var(--text-secondary);
}

.business-list {
    list-style: none;
    padding: 0;
}

.business-list li {
    padding: 8px 0;
    padding-left: 20px;
    position: relative;
}

.business-list li::before {
    content: '—';
    position: absolute;
    left: 0;
    color: var(--accent);
}

/* テキストコンテンツ */
.text-content h2 {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 32px;
    font-weight: 700;
    margin: 60px 0 32px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--accent);
}

.text-content h3 {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 22px;
    font-weight: 700;
    margin: 40px 0 20px;
}

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

.text-content ul,
.text-content ol {
    margin: 24px 0;
    padding-left: 2em;
}

.text-content ol {
    list-style-position: outside;
}

.text-content li {
    margin-bottom: 12px;
    line-height: 1.9;
    color: var(--text-secondary);
    padding-left: 0.3em;
}

/* ===================== RESPONSIVE ===================== */

/* タブレット */
@media (max-width: 1024px) {
    .nav-desktop { gap: 22px; }
    .nav-link { font-size: 12px; letter-spacing: 0.5px; }
    .nav-link-cta { padding: 10px 18px; font-size: 11px; }

    .hero-title { font-size: 44px; }
    .hero-description { font-size: 16px; }

    .service-grid,
    .features-grid { grid-template-columns: 1fr; }

    .footer-main { grid-template-columns: 1fr; gap: 48px; }

    .page-header { padding: 150px 0 80px; }
    .page-header h1 { font-size: 40px; }
}

/* スマートフォン */
@media (max-width: 768px) {
    .container { padding: 0 20px; }

    /* ヘッダー */
    .header-wrapper { height: 64px; }
    .mobile-menu { top: 64px; padding: 20px; }
    .mobile-nav { gap: 4px; }
    .mobile-link { padding: 13px 16px; font-size: 13px; }
    .mobile-link-cta { padding: 13px 16px; }
    .logo-img { height: 36px; }
    .logo-sub { display: none; }
    .nav-desktop { display: none; }
    .mobile-toggle { display: flex; }

    /* ヒーロー：画像を上、テキストを下に積み上げ */
    .hero {
        padding: 0;
        padding-top: 64px;
        min-height: auto;
        background: #f8f8f8;
    }
    .hero-image {
        position: relative;
        top: auto;
        right: auto;
        width: 100%;
        height: 210px;
    }
    .hero-image img { opacity: 0.55; }
    .hero .container { padding-top: 36px; padding-bottom: 52px; }
    .hero-label { font-size: 9px; letter-spacing: 2px; margin-bottom: 20px; }
    .hero-title { font-size: 28px; letter-spacing: 0; margin-bottom: 20px; }
    .hero-description { font-size: 14px; line-height: 1.9; margin-bottom: 28px; }
    .hero-buttons { flex-direction: column; gap: 12px; margin-bottom: 0; }
    .btn-primary,
    .btn-secondary { text-align: center; padding: 14px 24px; font-size: 12px; }

    /* ページヘッダー */
    .page-header { padding: 96px 0 44px; }
    .page-header h1 { font-size: 28px; }

    /* セクション共通 */
    section { padding: 60px 0; }
    .section-title { font-size: 26px; }
    .section-header { margin-bottom: 44px; }
    .section-description { font-size: 14px; }

    /* 特徴 */
    .features-grid { grid-template-columns: 1fr; gap: 36px; }

    /* コンテンツ */
    .content-wrapper { max-width: 100%; }
    .content-card { padding: 24px 20px; }

    /* テーブル */
    .info-table th,
    .info-table td { display: block; width: 100%; }
    .info-table th {
        padding: 16px 0 4px;
        font-size: 12px;
        color: var(--accent);
        border-bottom: none;
    }
    .info-table td { padding: 0 0 16px; font-size: 14px; line-height: 1.8; }

    /* テキストコンテンツ */
    .text-content h2 { font-size: 22px; margin: 40px 0 20px; }
    .text-content h3 { font-size: 17px; }
    .text-content p { font-size: 14px; }

    /* フッター */
    .footer { padding: 52px 0 28px; }
    .footer-main { grid-template-columns: 1fr; gap: 36px; margin-bottom: 36px; padding-bottom: 36px; }
    .footer-links { grid-template-columns: repeat(2, 1fr); gap: 28px; }
    .footer-tagline { font-size: 16px; }
    .footer-description { font-size: 13px; }
    .footer-contact { gap: 10px; font-size: 13px; }
    .footer-bottom { font-size: 10px; padding-top: 28px; }

    /* クッキーバナー */
    .cookie-banner { padding: 16px 20px; font-size: 12px; }
}

/* 小型スマートフォン (〜480px) */
@media (max-width: 480px) {
    .container { padding: 0 16px; }

    .hero-image { height: 170px; }
    .hero-title { font-size: 24px; }
    .hero-description { font-size: 13px; }

    .page-header h1 { font-size: 24px; }
    .section-title { font-size: 22px; }

    .content-card { padding: 20px 14px; }

    .footer-links { grid-template-columns: 1fr; gap: 20px; }

    .mobile-menu { padding: 16px; }
    .mobile-link { padding: 12px 14px; }
}

/* クッキーバナー */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: rgba(26, 26, 26, 0.97);
    color: rgba(255,255,255,0.85);
    padding: 24px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    font-size: 13px;
    line-height: 1.7;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
    transform: translateY(100%);
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.cookie-banner.visible {
    transform: translateY(0);
}

.cookie-banner p {
    margin: 0;
    flex: 1;
}

.cookie-banner a {
    color: var(--accent);
    text-decoration: underline;
}

.cookie-banner-buttons {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.cookie-btn-accept {
    padding: 10px 28px;
    background: var(--accent);
    color: #fff;
    border: none;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    transition: var(--transition);
}

.cookie-btn-accept:hover {
    background: #b8944a;
}

.cookie-btn-decline {
    padding: 10px 20px;
    background: transparent;
    color: rgba(255,255,255,0.6);
    border: 1px solid rgba(255,255,255,0.3);
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    transition: var(--transition);
}

.cookie-btn-decline:hover {
    border-color: rgba(255,255,255,0.6);
    color: rgba(255,255,255,0.9);
}

@media (max-width: 768px) {
    .cookie-banner {
        flex-direction: column;
        align-items: flex-start;
        padding: 20px 24px;
    }
    .cookie-banner-buttons {
        width: 100%;
    }
    .cookie-btn-accept, .cookie-btn-decline {
        flex: 1;
        text-align: center;
    }
}
