/*
Theme Name: K2LC Theme
Theme URI: https://k2lc.com/
Author: 株式会社K2LC
Description: 株式会社K2LCのオリジナル1カラムコーポレートサイトテーマ。ミニマルで洗練された「Noto Sans JP」によるモダンなデザイン。
Version: 1.1.0
*/

/* 配色の定義 */
:root {
    --primary-color: #0f172a;   /* 極めて深いネイビーグレー */
    --accent-color: #bfa07a;    /* 差し色：上質でマットなゴールドブロンズ */
    --text-color: #27272a;      /* やわらかい黒 (Zinc 800) */
    --text-muted: #71717a;      /* 控えめなグレー (Zinc 500) */
    --bg-light: #fcfbfa;        /* ニュアンスのあるトープホワイト */
    --border-light: #e4e4e7;    /* 極細線用ライトグレー */
    --white: #ffffff;
}

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

body {
    /* 全体に Noto Sans JP を適用 */
    font-family: 'Noto Sans JP', "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
    font-weight: 400; 
    color: var(--text-color);
    line-height: 1.9;
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

.container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 40px;
}

/* 英語の飾り文字用フォントクラス */
.serif-text {
    font-family: "Georgia", "Times New Roman", "YuMincho", "Yu Mincho", serif;
    font-style: italic;
}

/* ヘッダー */
header {
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(228, 228, 231, 0.4);
}

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

.logo {
    font-size: 21px;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 3px;
}

.logo a {
    transition: color 0.3s ease;
}

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

/* WordPressのwp_nav_menuが出力するメニュー構造に合わせたCSS */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-menu li a {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 1.5px;
    color: var(--text-muted);
    position: relative;
    padding: 6px 0;
    transition: color 0.3s ease;
}

.nav-menu li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 1px;
    background-color: var(--accent-color);
    transition: width 0.3s ease, left 0.3s ease;
}

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

.nav-menu li a:hover::after {
    width: 100%;
    left: 0;
}

/* ヒーローセクション */
.hero {
    position: relative;
    color: var(--white);
    padding: 160px 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 680px;
    display: flex;
    align-items: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(15, 23, 42, 0.15) 0%, rgba(15, 23, 42, 0.6) 100%);
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
    width: 100%;
    display: flex;
    justify-content: flex-end;
}

.hero-content {
    max-width: 560px;
    text-align: left;
}

/* Noto Sans JP のボールド（700）を力強く適用 */
.hero h1 {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    font-size: 36px;
    line-height: 1.6;
    margin-bottom: 24px;
    letter-spacing: 0.08em;
    text-shadow: 0 2px 14px rgba(15, 23, 42, 0.35);
}

.hero p {
    font-size: 15px;
    opacity: 0.95;
    letter-spacing: 1px;
    line-height: 1.9;
    text-shadow: 0 2px 8px rgba(15, 23, 42, 0.25);
}

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

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

.section-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 4px;
    text-transform: uppercase;
}

.section-subtitle {
    font-size: 11px;
    color: var(--accent-color);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-top: 8px;
    display: block;
}

/* コンセプト */
.concept {
    background-color: var(--bg-light);
}

.concept-grid {
    display: grid;
    grid-template-columns: 1fr 2.2fr;
    gap: 60px;
    align-items: flex-start;
}

.concept-visual-text {
    font-size: 44px;
    line-height: 1.1;
    color: var(--accent-color);
    opacity: 0.45;
    border-left: 2px solid var(--accent-color);
    padding-left: 20px;
    user-select: none;
}

.concept-content {
    text-align: justify;
}

.concept-lead {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.8;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.concept-body {
    font-size: 14px;
    color: var(--text-color);
    line-height: 2;
}

/* サービス */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 40px;
}

.service-card {
    background-color: var(--white);
    border-top: 2px solid var(--accent-color);
    box-shadow: 0 4px 15px rgba(0,0,0,0.01);
    padding: 40px 30px;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.04);
}

.service-number {
    font-size: 26px;
    font-weight: 400;
    color: var(--accent-color);
    line-height: 1;
    margin-bottom: 25px;
    display: block;
    opacity: 0.8;
}

.service-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 16px;
    letter-spacing: 0.5px;
}

.service-card p {
    font-size: 13.5px;
    color: var(--text-muted);
    text-align: justify;
    line-height: 1.85;
}

/* 会社概要 */
.company {
    background-color: var(--bg-light);
}

.company-layout {
    display: grid;
    grid-template-columns: 1fr 2.5fr;
    gap: 50px;
}

.company-meta {
    text-align: left;
    border-right: 1px solid var(--border-light);
    padding-right: 30px;
}

.company-meta h3 {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--primary-color);
    line-height: 1.3;
}

.company-meta p {
    font-size: 10px;
    color: var(--accent-color);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-top: 8px;
}

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

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

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

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

.company-table th {
    width: 28%;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 13.5px;
    letter-spacing: 1px;
}

.company-table td {
    color: var(--text-color);
    font-size: 13.5px;
    line-height: 1.9;
}

/* お問い合わせ（Contact Form 7対応版） */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

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

/* Contact Form 7が自動出力する各入力欄のラッパー */
.wpcf7-form-control-wrap {
    display: block;
    width: 100%;
}

/* 入力欄ラベル */
.wpcf7-form label,
.form-group label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 1.5px;
    margin-bottom: 8px;
    text-transform: uppercase;
}

/* 入力テキストエリア、テキストフィールド、メールアドレスフィールド */
.form-control,
.wpcf7-text,
.wpcf7-textarea {
    width: 100%;
    padding: 14px 0;
    border: none;
    border-bottom: 1px solid var(--border-light);
    border-radius: 0;
    font-size: 14px;
    font-family: inherit;
    outline: none;
    transition: border-color 0.4s ease;
    background-color: transparent;
    color: var(--text-color);
}

/* 入力時にゴールドに輝くエフェクト */
.form-control:focus,
.wpcf7-text:focus,
.wpcf7-textarea:focus {
    border-bottom-color: var(--accent-color);
}

.wpcf7-textarea {
    min-height: 130px;
    resize: vertical;
}

/* 送信ボタン：ソリッドな黒からホバーで反転する洗練されたボタン */
.submit-btn,
.wpcf7-submit {
    display: block;
    width: 100%;
    padding: 18px;
    background-color: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    border-radius: 0;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 3px;
    cursor: pointer;
    transition: all 0.4s ease;
    margin-top: 50px;
    -webkit-appearance: none; /* iOS等のデフォルトデザインを無効化 */
}

.submit-btn:hover,
.wpcf7-submit:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

/* 送信メッセージ（完了・エラー等の枠デザイン）の調整 */
.wpcf7-response-output {
    margin: 20px 0 0 0 !important;
    padding: 15px !important;
    font-size: 13px;
    border-radius: 0 !important;
    text-align: center;
}

/* フッター */
footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 70px 0;
    text-align: center;
    font-size: 11px;
    letter-spacing: 2px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

footer p {
    opacity: 0.55;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .header-inner {
        flex-direction: column;
        height: auto;
        padding: 20px 0;
        gap: 15px;
    }

    section {
        padding: 100px 0;
    }

    .hero {
        padding: 100px 0;
        min-height: 500px;
    }

    .hero::before {
        background: rgba(15, 23, 42, 0.7);
    }

    .hero .container {
        justify-content: center;
    }

    .hero-content {
        text-align: center;
        max-width: 100%;
    }

    .hero h1 {
        font-size: 24px;
        line-height: 1.5;
    }

    .concept-grid, .company-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .concept-visual-text {
        font-size: 32px;
        padding-left: 15px;
    }

    .company-meta {
        border-right: none;
        border-bottom: 1px solid var(--border-light);
        padding-right: 0;
        padding-bottom: 20px;
    }

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

    .company-table th {
        padding-bottom: 4px;
    }

    .company-table tr {
        padding: 15px 0;
        display: block;
    }
}