/* ===========================================
   KsForce - 営業代行・営業コンサルティング
   スタイルシート
=========================================== */

/* カラー変数 */
:root {
    --primary-color: #2D8B5E;
    --primary-dark: #1F6B47;
    --primary-light: #4CAF7A;
    --primary-lighter: #E8F5EE;
    --text-color: #333333;
    --text-light: #666666;
    --text-white: #FFFFFF;
    --bg-white: #FFFFFF;
    --bg-gray: #F8F9FA;
    --border-color: #E0E0E0;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 4px 20px rgba(0, 0, 0, 0.12);
}

/* リセットと基本設定 */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-color);
    background-color: var(--bg-white);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-dark);
}

ul {
    list-style: none;
}

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

/* コンテナ */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ボタン */
.btn {
    display: inline-block;
    padding: 14px 40px;
    font-size: 16px;
    font-weight: 500;
    border-radius: 4px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

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

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

/* セクションタイトル */
.section-title {
    font-size: 14px;
    font-weight: 500;
    color: var(--primary-color);
    letter-spacing: 2px;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 8px;
}

.section-subtitle {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-color);
    text-align: center;
    margin-bottom: 50px;
}

/* ===========================================
   ヘッダー
=========================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
}

.header.scrolled {
    box-shadow: var(--shadow);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-color);
}

.logo:hover {
    color: var(--text-color);
}

.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: var(--text-white);
    font-size: 24px;
    font-weight: 700;
    border-radius: 4px;
}

.logo-text {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary-color);
}

.nav-list {
    display: flex;
    gap: 40px;
}

.nav-list a {
    color: var(--text-color);
    font-size: 15px;
    font-weight: 500;
    position: relative;
}

.nav-list a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-list a:hover::after {
    width: 100%;
}

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

/* モバイルメニューボタン */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 30px;
    height: 30px;
    background: none;
    border: none;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--text-color);
    transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* ===========================================
   ヒーローセクション
=========================================== */
.hero {
    background: linear-gradient(135deg, var(--primary-lighter) 0%, var(--bg-white) 100%);
    padding: 180px 0 120px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 200%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    opacity: 0.05;
    transform: rotate(-15deg);
    border-radius: 50%;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
}

.hero-title {
    font-size: 52px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-color);
    margin-bottom: 20px;
}

.hero-subtitle {
    display: inline-block;
    padding: 8px 20px;
    background-color: var(--primary-color);
    color: var(--text-white);
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.hero-description {
    font-size: 20px;
    color: var(--text-light);
    margin-bottom: 40px;
}

/* ===========================================
   サービスセクション
=========================================== */
.service {
    padding: 100px 0;
    background-color: var(--bg-white);
}

.service-intro {
    text-align: center;
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 60px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.service-card {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 40px;
    transition: all 0.3s ease;
}

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

.service-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-lighter);
    border-radius: 12px;
    margin-bottom: 20px;
}

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

.service-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 12px;
}

.service-card p {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.8;
}

/* ===========================================
   特徴セクション
=========================================== */
.features {
    padding: 100px 0;
    background-color: var(--bg-gray);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

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

.feature-number {
    font-size: 48px;
    font-weight: 700;
    color: var(--primary-color);
    opacity: 0.3;
    margin-bottom: 16px;
}

.feature-item h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 16px;
}

.feature-item p {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.8;
}

/* ===========================================
   代表紹介セクション
=========================================== */
.about {
    padding: 100px 0;
    background-color: var(--bg-white);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-text {
    background-color: var(--bg-gray);
    border-radius: 8px;
    padding: 50px;
}

.about-name {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 8px;
    display: flex;
    align-items: baseline;
    gap: 16px;
    flex-wrap: wrap;
}

.about-name span {
    font-size: 16px;
    font-weight: 400;
    color: var(--text-light);
}

.about-position {
    font-size: 14px;
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
}

.about-career {
    margin-bottom: 30px;
}

.about-career h4,
.about-qualifications h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 16px;
}

.about-career p {
    font-size: 15px;
    color: var(--text-light);
    margin-bottom: 12px;
}

.about-qualifications ul {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.about-qualifications li {
    background-color: var(--bg-white);
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 14px;
    color: var(--text-color);
    border: 1px solid var(--border-color);
}

/* ===========================================
   会社概要セクション
=========================================== */
.company {
    padding: 100px 0;
    background-color: var(--bg-gray);
}

.company-table-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--bg-white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

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

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

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

.company-table th,
.company-table td {
    padding: 24px 30px;
    text-align: left;
    vertical-align: top;
}

.company-table th {
    width: 30%;
    background-color: var(--primary-lighter);
    font-weight: 500;
    color: var(--text-color);
    font-size: 15px;
}

.company-table td {
    font-size: 15px;
    color: var(--text-light);
}

.company-table td ul {
    padding-left: 0;
}

.company-table td li {
    position: relative;
    padding-left: 16px;
    margin-bottom: 4px;
}

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

.company-table td li:last-child {
    margin-bottom: 0;
}

/* ===========================================
   お問い合わせセクション
=========================================== */
.contact {
    padding: 100px 0;
    background-color: var(--bg-white);
}

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

.contact-description {
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 40px;
}

.contact-form-btn {
    margin-bottom: 40px;
}

.btn-large {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 18px 50px;
    font-size: 18px;
}

.btn-large svg {
    flex-shrink: 0;
}

.contact-divider {
    display: flex;
    align-items: center;
    margin-bottom: 40px;
}

.contact-divider::before,
.contact-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background-color: var(--border-color);
}

.contact-divider span {
    padding: 0 20px;
    font-size: 14px;
    color: var(--text-light);
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.contact-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-color);
    border-radius: 50%;
}

.contact-icon svg {
    width: 24px;
    height: 24px;
    color: var(--text-white);
}

.contact-text {
    text-align: left;
}

.contact-label {
    display: block;
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 4px;
}

.contact-value {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-color);
}

.contact-value:hover {
    color: var(--primary-color);
}

/* ===========================================
   フッター
=========================================== */
.footer {
    background-color: var(--text-color);
    padding: 40px 0;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-logo .logo-icon {
    width: 32px;
    height: 32px;
    font-size: 18px;
}

.footer-logo .logo-text {
    color: var(--text-white);
    font-size: 18px;
}

.footer-copy {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
}

/* ===========================================
   レスポンシブデザイン
=========================================== */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 42px;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .feature-item {
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    /* ヘッダー */
    .menu-toggle {
        display: flex;
    }

    .nav {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: var(--bg-white);
        padding: 20px;
        box-shadow: var(--shadow);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

    .nav.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-list {
        flex-direction: column;
        gap: 0;
    }

    .nav-list li {
        border-bottom: 1px solid var(--border-color);
    }

    .nav-list li:last-child {
        border-bottom: none;
    }

    .nav-list a {
        display: block;
        padding: 16px 0;
    }

    .nav-list a::after {
        display: none;
    }

    /* ヒーロー */
    .hero {
        padding: 140px 0 80px;
    }

    .hero-title {
        font-size: 32px;
    }

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

    /* セクション */
    .section-subtitle {
        font-size: 26px;
        margin-bottom: 40px;
    }

    .service,
    .features,
    .about,
    .company,
    .contact {
        padding: 80px 0;
    }

    /* サービスグリッド */
    .service-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        padding: 30px;
    }

    /* 代表紹介 */
    .about-text {
        padding: 30px;
    }

    .about-name {
        font-size: 24px;
        flex-direction: column;
        gap: 8px;
    }

    /* 会社概要 */
    .company-table th,
    .company-table td {
        padding: 16px 20px;
        display: block;
        width: 100%;
    }

    .company-table th {
        border-bottom: none;
        padding-bottom: 8px;
    }

    .company-table td {
        padding-top: 0;
    }

    /* お問い合わせ */
    .contact-info {
        flex-direction: column;
        gap: 30px;
        align-items: center;
    }

    /* フッター */
    .footer-inner {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 28px;
    }

    .hero-subtitle {
        font-size: 14px;
        padding: 6px 16px;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .btn-large {
        padding: 16px 30px;
        font-size: 16px;
    }

    .about-qualifications ul {
        flex-direction: column;
    }

    .about-qualifications li {
        text-align: center;
    }
}
