:root {
    /* カラーパレット：ブラウン系 */
    --primary-color: #66523f;    /* 深みのあるコーヒーブラウン */
    --secondary-color: #f5f2f0;  /* 柔らかなベージュ（背景用） */
    --accent-color: #b8860b;     /* 明るいブラウン（アクセント） 2c3497 #d5970a*/
    --gold-color: #bcaaa4;       /* ゴールドがかったブラウン */
    --text-color: #513317;       /* 濃い茶色の文字色 */
    --light-text: #694b2f;       /* 補足用ブラウン */
    --white: #ffffff;
    --bg-overlay:rgb(102 82 63 / 0.85);
    
    --slider-speed: 15s;
    --header-height: 80px;
    
        /* フォント設定 */
    --font-serif:  "YuMincho", "Yu Mincho", serif;/* 游明朝 */
    --font-sans: 'Noto Sans JP', sans-serif; /* 基本ゴシック */
}

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

body {
    font-family: var(--font-sans);
    line-height: 1.8;
    color: var(--text-color);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
    padding-top: var(--header-height);
}

/* 見出しなどの大きい文字を游明朝に設定 */
h1, h2, h3, .logo-text, .message-text, .slide-content p, .strength-item h4 {
    font-family: var(--font-serif);
    font-weight: 700;
    letter-spacing:2px;
}
a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 700;
    color: #000; /* 会社名色 黒 */
    letter-spacing: 1px;
}

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

.nav-links {
    display: flex;
    gap: 25px;
}

.nav-links a {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-color);
}

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

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
}

.hamburger span {
    width: 100%;
    height: 3px;
    background-color: #000;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Hero Slider */
.hero-slider {
    position: relative;
    overflow: hidden;
    height: 100vh;
}

/* 横並びをやめて重ねる */
.slider-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;

    /* フェード用 */
    opacity: 0;
    transition: opacity 1.2s ease;

    /* 少しズームで高級感 */
    transform: scale(1.05);
}

/* 表示中 */
.slide.active {
    opacity: 1;
    z-index: 1;
    transform: scale(1);
}

.slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    color: #fff;
    text-align: center;
    width: 80%;
    max-width: 950px;

    /* アニメーション初期状態 */
    opacity: 0;
    transform: translate(-50%, calc(-50% + 20px));
    transition: all 1s ease;
}

/* 表示時 */
.slide.active .slide-content {
    opacity: 1;
    transform: translate(-50%, -50%);
}

.slide-content h1 {
    font-size: 3rem;
    letter-spacing: 0.08em;
    line-height: 1.4;
}

.slide-content p {
    font-size: 1.2rem;
    margin-top: 15px;
    letter-spacing: 0.05em;
}

.sub-copy {
    font-size: 0.95rem;
    margin-top: 20px;
    line-height: 1.8;
}

/* 少し暗くして文字を見やすく */
.slide::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.3);
}

/* Section Commons */
section {
    padding: 140px 20px;
    max-width: 1200px;
    margin: 0 auto;
}
.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background-color: var(--accent-color);
}
/* ==========================================================================
   PHILOSOPHY (企業理念)
   ========================================================================== */
#philosophy {
    padding: 140px 20px;
    background-color: var(--white);
}

.philosophy-container {
    max-width: 950px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 80px; /* 各ブロック間の余白 */
}

/* 共通ボックススタイル */
.philosophy-box {
    position: relative;
    text-align: center;
    padding: 60px 40px;
    background: #fff;
    border: 1px solid var(--secondary-color);
}

/* ラベル (創業理念、経営理念など) */
.philosophy-label {
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: var(--white);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 4px 20px;
    letter-spacing: 0.1em;
}

/* タイトルスタイル */
.philosophy-box .serif-title {
    font-family: var(--font-serif);
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: 700;
}

.philosophy-box .subtitle {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    color: var(--accent-color); /* 金茶色 */
    margin-bottom: 30px;
    font-weight: 500;
}

/* 本文テキスト */
.philosophy-text p {
    font-size: 1.05rem;
    line-height: 2.2;
    color: var(--text-color);
    margin-bottom: 1.5rem;
}
.philosophy-text p:last-child {
    margin-bottom: 0;
}

/* 経営方針（箇条書き部分）の特別なレイアウト */
.policy-grid {
    display: flex;
    flex-direction: column;
    gap: 35px;
    text-align: left; /* 方針は左寄せで読みやすく */
    margin-top: 20px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.policy-item {
    position: relative;
    padding-left: 50px;
}

.policy-number {
    position: absolute;
    left: 0;
    top: -5px;
    font-family: var(--font-serif);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent-color);
    border-bottom: 1px solid var(--accent-color);
    width: 30px;
    text-align: center;
}

.policy-item h4 {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-weight: 700;
}

.policy-item p {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--text-color);
}

/* ==========================================================================
   MESSAGE (代表挨拶)
   ========================================================================== */
#msg {
    color: var(--white);
    background-color: var(--primary-color);
    text-align: center;
    margin-bottom: 60px;
    font-size: 1.1rem;
    line-height: 2.2;
}

#msg strong {
    font-size: 1.3rem;
    display: inline-block;
    margin: 10px 0;
}
/* values */
.values-section {
    background-color: var(--white);
    border-bottom: 1px solid var(--secondary-color);
}

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

.value-card {
    background: var(--secondary-color);
    padding: 50px 20px;
    text-align: center;
    border-radius: 4px;
    transition: transform 0.3s ease;
}

.value-card:hover {
    transform: translateY(-10px);
}

.value-num {
    display: block;
    font-size: 3rem;
    font-family: var(--font-serif);
    color: var(--accent-color);
    line-height: 1;
    margin-bottom: 15px;
    opacity: 0.5;
}

.value-card h3 {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    letter-spacing: 0.1em;
}
/* Message Section */
.message-section {
    background-color: var(--secondary-color);
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 60px;
}
/* 役員メッセージ全体のレイアウト */
.message-layout {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 80px; /* 代表と副代表の間の余白 */
}

.leader-box {
    position: relative;
    padding: 50px;
    background: var(--white);
    border: 1px solid var(--secondary-color);
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    overflow: hidden;
}

.representative{
    border-left: 5px solid var(--accent-color); /* ゴールドのラインで創業の重み */
}

/* 副代表側の枠（ベージュ背景） */
.vice-representative {
}

.role {
    display: block;
    font-size: 0.9rem;
    color: var(--accent-color);
    font-weight: 700;
    margin-bottom: 15px;
    letter-spacing: 0.1em;
}

.leader-box h3 {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: var(--primary-color);
}

/* ★ 写真と文章の回り込み設定 */
.leader-img {
    float: left; /* 写真を左に寄せる */
    width: 240px; /* 写真の横幅 */
    margin-right: 30px; /* 写真と文章の間の隙間 */
    margin-bottom: 20px;
}

.leader-img img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 2px; /* ほんの少し角を丸めて上品に */
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.message-content {
    display: block;
}
.message-content p {
    font-size: 1.05rem;
    line-height: 2.2;
    margin-bottom: 1.5rem;
}

.leader-box .name {
    display: block;
    text-align: right;
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-weight: 700;
    margin-top: 20px;
    border-bottom: 1px solid var(--primary-color);
    float: right;
    clear: both; /* 回り込みを完全に解除して右下に配置 */
}
/* ==========================================================================
   SERVICE (事業内容)
   ========================================================================== */
.service-section {
    background-image: url('img/fixed-bg.jpg');
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    max-width: 100%;
    width: 100%;
    position: relative;
    padding: 100px 0;
}

/* 背景を少し暗くして文字を読みやすくするオーバーレイ */
.service-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-overlay);
    z-index: 1;
}

/* コンテンツを前面に出す */
.service-section .section-title,
.service-section .service-content {
    position: relative;
    z-index: 2;
}

/* セクションタイトルの色調整 */
.service-section .section-title h2,
.service-section .section-title p {
    color: var(--white);
}
.service-content {
    max-width: 1200px;
    margin: 0 auto;
}
.service-item {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 60px;
    background: rgba(255, 255, 255, 0.9);
    padding: 40px;
    border-radius: 8px;
}

.service-item-reverse {
    flex-direction: row-reverse;
}

.service-item.highlight {
    border: 3px solid var(--text-color);
    background: #fffdfb; /* わずかに明るいベージュ背景 */
    position: relative;
}
.service-item.highlight::before {
    content: "ACTの核心的強み";
    position: absolute;
    top: -15px;
    left: 40px;
    background: var(--text-color);
    color: var(--white);
    padding: 4px 15px;
    font-size: 12px;
    font-weight: bold;
    border-radius: 2px;
    font-family: var(--font-serif);
}
.service-img {
    width: 400px;
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
}

.service-text {
    flex: 1;
}

.service-text h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.6rem;
}
/* ==========================================================================
   COMPANY (会社概要)
   ========================================================================== */
.profile-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.profile-table th, .profile-table td {
    padding: 20px;
    border-bottom: 1px solid #eee;
    text-align: left;
}

.profile-table th {
    width: 30%;
    background-color: var(--secondary-color);
    color: var(--primary-color);
}
.profile-list {
}
.profile-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 4px;
}
.profile-list li::before {
    content: "◆";
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-size: 0.8rem;
}
.map-container {
    height: 400px;
    width: 100%;
    margin-top: 0;
    padding: 90px 0 0;
}
/* ==========================================================================
   PROJECTS (案件実績)
   ========================================================================== */
#projects {
    padding: 140px 50px;
    background-color: var(--white);
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 50px 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.project-item {
    display: flex;
    flex-direction: column;
}


.project-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

/* No Image時のデザイン */
.no-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--secondary-color);
    color: var(--gold-color);
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
}

.project-info {
    padding: 10px 0;
}

.project-info h4 {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    color: var(--primary-color);
    margin-bottom: 12px;
    font-weight: 700;
    border-bottom: 1px solid var(--secondary-color);
    padding-bottom: 8px;
}

.project-detail p {
    font-size: 0.85rem;
    line-height: 1.8;
    color: var(--text-color);
    font-weight: 500;
}
.project-img-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 2;
    background-color: var(--secondary-color);
    overflow: hidden;
}

/* スライドショーのコンテナ */
.project-slideshow {
    position: relative;
    width: 100%;
    height: 100%;
}
.project-slideshow img {
    position: absolute; /* 追加：画像を重ねる */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 1.2s ease-in-out, transform 1.2s ease-in-out;
    transform: scale(1.05); /* 最初は少し大きくしておく */
    opacity: 0; /* 初期状態はすべて透明 */
    z-index: 0;
}
.project-slideshow img:first-child {
    opacity: 1;
    z-index: 1;
}

.project-slideshow img[style*="opacity: 1"] {
    transform: scale(1.0); /* 表示された時に元のサイズに戻る */
}
.project-comment {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px dashed var(--secondary-color); /* 区切り線 */
}

.project-comment p {
    font-size: 0.85rem;
    line-height: 1.6;
    color: var(--light-text);
}

/* 「コメント」であることを示す小さなアイコン代わりの記号 */
.project-comment p::before {
    content: "特記：";
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--accent-color);
}
/* プロジェクトの特色（強み）のスタイル */
.project-features {
    list-style: none;
    padding: 0;
    margin: 15px 0;
    background-color: rgba(184, 134, 11, 0.05); /* 薄いゴールド背景 */
    padding: 12px;
    border-radius: 2px;
}

.project-features li {
    font-size: 0.85rem;
    font-weight: 700; /* 太字で強調 */
    color: var(--primary-color);
    line-height: 1.5;
    margin-bottom: 8px;
    position: relative;
    padding-left: 14px;
    font-family: var(--font-serif); /* 信頼感のある明朝体 */
}

.project-features li:last-child {
    margin-bottom: 0;
}

/* 箇条書きのチェックマーク（デベロッパーらしい精密な印象） */
.project-features li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.4em;
    width: 8px;
    height: 8px;
    background-color: var(--accent-color);
    transform: rotate(45deg); /* 菱形のアイコン */
}
/* 矢印ボタン */
.ss-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    background-color: rgba(0,0,0,0.3);
    cursor: pointer;
    z-index: 10;
    display: none; /* JSで複数枚の時だけ表示 */
}
.ss-prev { left: 0; }
.ss-next { right: 0; }
.ss-btn::after {
    content: '';
    display: block;
    width: 8px;
    height: 8px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    margin: 10px auto;
}
.ss-prev::after { transform: rotate(-135deg); margin-left: 12px; }
.ss-next::after { transform: rotate(45deg); margin-right: 12px; }

/* ドットナビゲーション */
.ss-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}
.dot {
    width: 8px;
    height: 8px;
    background-color: rgba(255,255,255,0.5);
    border-radius: 50%;
    cursor: pointer;
}
.dot.active {
    background-color: #fff;
    box-shadow: 0 0 5px rgba(0,0,0,0.3);
}

/* カウンター表示 (1/5) */
.ss-counter {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: rgba(0,0,0,0.5);
    color: #fff;
    padding: 2px 8px;
    font-size: 0.75rem;
    border-radius: 12px;
    z-index: 10;
    display: none;
}

/* ==========================================================================
   RECRUIT (求人)
   ========================================================================== */
#recruit {
    background-color: var(--secondary-color);
}

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

.recruit-lead {
    text-align: center;
    margin-bottom: 60px;
    font-size: 1.1rem;
    line-height: 2.2;
}

.recruit-lead strong {
    color: var(--primary-color);
    font-size: 1.3rem;
    display: inline-block;
    margin: 10px 0;
}

.recruit-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

.recruit-card {
    background-color: var(--white);
    padding: 40px;
    border-radius: 4px;
    border-top: 4px solid var(--primary-color);
}

.recruit-card h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 25px;
    text-align: center;
}

.recruit-list {
    margin-top: 10px;
    margin-bottom: 20px;
}

.recruit-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 10px;
}

.recruit-list li::before {
    content: "◆";
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-size: 0.8rem;
}

.recruit-note {
    font-weight: bold;
    color: var(--primary-color);
    border-top: 1px solid var(--gold-color);
    padding-top: 15px;
    margin-top: 15px;
}

.value-item {
    margin-bottom: 20px;
}

.value-item h4 {
    color: var(--primary-color);
    margin-bottom: 5px;
}

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

.recruit-table th, .recruit-table td {
    padding: 12px 0;
    border-bottom: 1px solid var(--gold-color);
    text-align: left;
    vertical-align: top;
    font-size: 0.95rem;
}

.recruit-table th {
    width: 30%;
    color: var(--primary-color);
    font-weight: bold;
}

.recruit-message {
    margin-top: 60px;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 60px 40px;
    border-radius: 4px;
    text-align: center;
}

.recruit-message h3 {
    color: var(--gold-color);
    font-size: 2rem;
    margin-bottom: 30px;
}

.recruit-message p {
    margin-bottom: 20px;
    line-height: 2;
}

.recruit-action {
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px dashed var(--gold-color);
}

.recruit-intro {
    margin-bottom: 20px;
}
/* ==========================================================================
   CONTACT (お問い合わせ)
   ========================================================================== */
.contact-flex-container {
    display: flex;
    gap: 20px;
    margin-top: 15px;
}

.contact-box {
    flex: 1; /* 均等に分割 */
    background-color: var(--secondary-color);
    padding: 25px 20px;
    border-radius: 4px;
    text-align: center;
    border: 1px solid rgba(62, 39, 35, 0.1);
    transition: transform 0.3s ease;
}

.contact-box:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.contact-label {
    display: block;
    font-family: var(--font-serif);
    font-size: 0.85rem;
    color: var(--accent-color);
    margin-bottom: 10px;
    font-weight: 700;
}

.contact-link {
    display: block;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    margin-bottom: 8px;
}

.contact-box small {
    display: block;
    font-size: 0.75rem;
    color: var(--light-text);
    opacity: 0.8;
}

/* CONTACTセクションの背景固定設定 */
.contact-section {
    background-image: url('img/contact-bg.jpg'); /* お好みの背景画像を指定してください */
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    width: 100%;
    max-width: 100%;
    position: relative;
    padding: 100px 0;
}

/* 背景を少し暗くして文字を読みやすくするオーバーレイ */
.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-overlay);
    z-index: 1;
}

/* コンテンツを前面に出す */
.contact-section .section-title,
.contact-section .contact-action {
    position: relative;
    z-index: 2;
}

/* セクションタイトルの色調整 */
.contact-section .section-title h2,
.contact-section .section-title p {
    color: var(--white);
}


.contact-action {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    background: rgba(255, 255, 255, 0.95); /* 少し透明感のある白 */
    padding: 60px 20px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.contact-intro{
    font-size: 1.25rem;
    font-weight: 700;
}

.pain-point-box {
    max-width: 800px;
    margin: 0 auto 50px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid var(--white);
    padding: 40px;
    color: var(--white);
    position: relative;
    z-index: 2;
}

.pain-point-box h3 {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: var(--white);
}

.pain-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    max-width: 600px;
    margin: 0 auto;
}

.pain-list li {
    position: relative;
    padding-left: 25px;
    font-size: 1.1rem;
    font-weight: 700;
}

.pain-list li::before {
    content: "□";
    position: absolute;
    left: 0;
    color: var(--accent-color);
}

.pain-solution {
    margin-top: 40px;
    text-align: center;
}

.pain-solution p {
    display: inline-block;
    background: var(--accent-color);
    color: var(--white);
    padding: 10px 40px;
    font-size: 1.5rem;
    font-weight: bold;
    font-family: var(--font-serif);
    border-radius: 2px;
}

/* スマホ固定ナビ */
/* デフォルト（PC）では非表示 */
.sp-fixed-nav {
    display: none;
}


/* Footer */
footer {
    background-color: var(--primary-color);
    color: #fff;
    padding: 40px 20px;
    text-align: center;
    max-width: 100%;
    width: 100%;
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
}

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

.copyright {
    font-size: 12px;
    color: #888;
    margin-top: 10px;
}

/* ==========================================================================
   タブ時
   ========================================================================== */
@media (max-width: 1024px) {
    .project-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ==========================================================================
   スマホ時
   ========================================================================== */
@media (max-width: 768px) {
    .logo-text { font-size: 18px; }
    .hamburger { display: flex; z-index: 1001; }
    .nav-links {
        display: none;
        position: absolute;
        top: var(--header-height);
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.95);
        flex-direction: column;
        gap: 0;
        text-align: center;
    }
    .nav-links.active { display: flex; }
    .nav-links a {
        display: block;
        padding: 20px 0;
        border-bottom: 1px solid #eee;
    }
    .hero-slider { height: calc(100vh - var(--header-height)); }
    .slide-content .sub-copy {
        font-size: 0.9rem;
        margin-top: 15px;
        padding: 0 10px;
    }
    
    .values-grid { grid-template-columns: 1fr; }
    .slide-content h1 { font-size: 1.8rem; }
    .service-item, .service-item-reverse { flex-direction: column; gap: 20px; }
    .service-img { width: 100%; height: auto; }
    .profile-table th, .profile-table td { display: block; width: 100%; }
    .contact-phone a { font-size: 2rem; }
        .contact-phone a {
        font-size: 2.2rem;
    }
    .contact-section {
        background-attachment: scroll; /* スマホでは負荷軽減のため固定を解除することが一般的です */
    }
    .pc-only {
        display: none;
    }
    .recruit-grid {
        grid-template-columns: 1fr;
    }
    .apply-btn {
        font-size: 1.5rem;
        padding: 10px 30px;
    }
    .pain-list { grid-template-columns: 1fr; }
    .pain-point-box h3 { font-size: 1.4rem; }
    .pain-solution p { font-size: 1.2rem; }
    
    
    /* /////////////////////////////////////////////////////////// スマホ固定ナビ */
   .sp-fixed-nav {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 70px;
        background-color: var(--primary-color);
        box-shadow: 0 -3px 12px rgba(62, 39, 35, 0.15);
        z-index: 9999;
        border-top: 1px solid var(--gold-color);
    }

    .nav-item {
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-decoration: none;
        color: var(--white);
        border-right: 1px solid rgba(188, 170, 164, 0.3); /* ゴールド系の細い線 */
    }

    /* テキスト部分を明朝体に */
    .nav-item span {
        font-family: var(--font-serif);
        font-size: 10px;
        font-weight: 700;
        margin-top: 4px;
        letter-spacing: 0.05em;
    }

    /* アイコン画像の設定 */
    .nav-icon {
        width: 24px;  /* アイコンのサイズ（適宜調整してください） */
        height: 24px;
        object-fit: contain;
    }

    /* お問い合わせボタン（アクセント） */
    .nav-item.accent {
        background-color: var(--accent-color);
    }

    /* アクセントボタン内の画像が白く見えるように調整（元が黒い画像の場合） */
    /* 画像自体を白くしたい場合は以下の filter を有効にしてください */
    .nav-item .nav-icon { filter: brightness(0) invert(1); }

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

    .nav-item:active {
        background-color: var(--secondary-color);
    }

    .nav-item.accent:active {
        background-color: var(--accent-color);
    }
    /* /////////////////////////////////////////////////////////// 経営理念*/
    #philosophy {
        padding: 80px 15px;
    }
    .philosophy-container {
        gap: 50px;
    }
    .philosophy-box {
        padding: 45px 20px;
    }
    .philosophy-box .serif-title {
        font-size: 1.4rem;
        line-height: 1.5;
    }
    .philosophy-box .subtitle {
        font-size: 1.05rem;
    }
    .philosophy-text p {
        font-size: 0.95rem;
        line-height: 2;
    }
    .policy-item {
        padding-left: 40px;
    }
    .policy-number {
        font-size: 1.4rem;
        width: 25px;
    }
    .policy-item h4 {
        font-size: 1.1rem;
    }
    /* /////////////////////////////////////////////////////////// 代表挨拶*/
    .leader-box {
        padding: 35px 20px;
    }
    .leader-box h3 {
        font-size: 1.4rem;
        margin-bottom: 20px;
    }
    .leader-img {
        float: none; /* スマホでは回り込みを解除して中央配置に */
        width: 100%;
        max-width: 280px;
        margin: 0 auto 25px;
        text-align: center;
    }
    
    /* /////////////////////////////////////////////////////////// 実績*/
    .project-grid { grid-template-columns: 1fr; }
    /* /////////////////////////////////////////////////////////// お問い合わせ*/
    .contact-flex-container {
        flex-direction: column;
    }
    .contact-link {
        font-size: 1.1rem;
    }
    /*  /////////////////////////////////////////////////////////// フッター */
    footer {
        padding-bottom: 80px !important;
    }
}
