@charset "utf-8";
/* CSS Document */

@media print{
    .sp{
        display: none;
    }
    #common-header-menu {
        display: none;
    }
    #top-button {
        display: none;
    }
}


body {
	font-size:10pt;
/* 	background-image:url(/index_hp/img/common/background.jpg); */
	font-family:sans-serif;
	margin-top:0px;
	padding-top:0px;
	font-family:"ＭＳ Ｐゴシック", Osaka, "ヒラギノ角ゴ Pro W3";
	color:#151515;
	padding:0px;
	margin:0px;

	}

img {border: none; }
a {text-decoration: none;}


/* ページトップ */
.p-top-visual {
    width: 100%;
    position: relative;
    margin-bottom: 80px;
}

.p-top-visual_inner {
    width: 100%;
    max-width: 960px;
    padding-top: 100px;
    margin-right: auto;
    margin-left: auto;
}


.p-top-visual_main {
    text-align: center;
}

.p-top-visual_eng {
    display: block;
    color: #2e75b6;
    margin-top: -2.6px;
    font-weight: 700;
    font-size: 5.2rem;
    line-height: 1.1;
    font-family: 'Public Sans',sans-serif;
    letter-spacing: 2.6px;
}

.p-top-visual_naka{
	background: linear-gradient(transparent 50%, #a9eaf8 50%);
}

.p-top-visual_jp {
    display: block;
    font-weight: 700;
    font-size: 1.3rem;
    margin-top: 5.9px;
    margin-bottom: -6.5px;
    letter-spacing: .65px;
}

.yohaku{
	height: 50px;
}


        /* --- Base & Variables --- */
        :root {
            --primary-color: #004098;
            --primary-hover: #002d6b;
            --accent-color: #f97316;
            --bg-light: #f8f9fa;
            --text-main: #333;
            --text-muted: #666;
            --border-color: #e2e8f0;
            --white: #ffffff;
            --container-width: 1200px;
        }

        /* 【修正】box-sizingの影響をコンテンツエリア(#content-area)内だけに限定
           これにより、共通ヘッダー等の既存パーツへの干渉を防ぎます。
        */
        #content-area,
        #content-area *,
        #content-area *::before,
        #content-area *::after {
            box-sizing: border-box;
        }

        body {
        /*    font-family: 'Noto Sans JP', sans-serif;*/
            color: var(--text-main);
        /*    background-color: var(--bg-light);*/
            margin: 0;
            line-height: 1.6;
        }

        .container {
            max-width: var(--container-width);
            margin: 0 auto;
            padding: 0 20px;
            width: 100%;
            /* 外部CSSによるFlexboxの干渉を確実に防ぐ */
            display: block !important;
        }

        .hidden {
            display: none !important;
        }

        /* --- ユーティリティクラス（JSで使用しているもの） --- */
        .flex-grow { flex-grow: 1; }
        .opacity-40 { opacity: 0.4; }
        .grayscale { filter: grayscale(100%); }
        .italic { font-style: italic; }

        /* --- Header --- */
        /*.site-header {
            background-color: var(--white);
            box-shadow: 0 1px 3px rgba(0,0,0,0.1);
            position: sticky;
            top: 0;
            z-index: 50;
            border-bottom: 1px solid var(--border-color);
        }

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

        .logo {
            display: flex;
            align-items: center;
            gap: 10px;
            cursor: pointer;
            text-decoration: none;
        }

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

        .logo-text {
            font-weight: bold;
            font-size: 20px;
            color: var(--primary-color);
            letter-spacing: -0.02em;
        }

        .logo-sub {
            font-size: 12px;
            font-weight: normal;
            color: var(--text-muted);
        }

        .nav-menu {
            display: none;
            gap: 25px;
            align-items: center;
        }

        @media (min-width: 768px) {
            .nav-menu { display: flex; }
        }

        .nav-link {
            text-decoration: none;
            color: var(--text-main);
            font-size: 14px;
            font-weight: 500;
        }

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

        .btn-contact {
            background-color: var(--accent-color);
            color: var(--white);
            padding: 10px 24px;
            border-radius: 9999px;
            text-decoration: none;
            transition: background 0.3s;
            font-size: 14px;
            font-weight: bold;
        }

        /* --- Hero Section --- */
        .hero {
            background-color: var(--primary-color);
            color: var(--white);
            padding: 60px 0;
            text-align: center;
        }

        .hero h1 {
            font-size: 32px;
            margin: 0 0 15px 0;
        }

        .hero p {
            color: #d1d5db;
            max-width: 700px;
            margin: 0 auto;
            font-size: 16px;
        }

        /* --- Testimonials Grid --- */
        .breadcrumb {
            padding: 20px 0;
            font-size: 14px;
            color: var(--text-muted);
            display: flex;
            gap: 8px;
        }

        .breadcrumb a { color: var(--text-muted); text-decoration: none; }

        .grid {
            display: grid;
            grid-template-columns: 1fr;
            gap: 30px;
            margin-bottom: 60px;
            width: 100%;
        }

        @media (min-width: 768px) {
            .grid { grid-template-columns: repeat(2, 1fr); }
        }

        @media (min-width: 1024px) {
            .grid { grid-template-columns: repeat(3, 1fr); }
        }

        /* --- Card Styles (レイアウトの要) --- */
        .card {
            background-color: var(--white);
            border: 1px solid var(--border-color);
            border-radius: 12px;
            padding: 30px;
            display: flex;
            flex-direction: column; /* 縦並びを明示的に指定 */
            width: 100%; /* 横幅いっぱいを使用 */
            min-width: 0; /* flexアイテムの縮小を許容しつつ崩れを防止 */
            transition: transform 0.3s, box-shadow 0.3s;
            cursor: pointer;
            text-align: left;
        }

        .card:not(.pending):hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        }

        .card.pending {
            border-style: dashed;
            border-width: 2px;
            background-color: #fafafa;
            cursor: default;
            opacity: 0.8;
        }

        .logo-box {
            height: 110px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 24px;
            width: 100%;
        }

        .logo-img {
            max-height: 100%;
            max-width: 220px;
            object-fit: contain;
            display: block;
        }

        .tag-group {
            display: flex;
            flex-direction: column;
            gap: 16px;
            margin-bottom: 20px;
            width: 100%;
        }

        /* タグをラップさせるためのコンテナ */
        .tag-list {
            display: flex;
            flex-wrap: wrap;
            gap: 6px;
            width: 100%;
        }

        .tag-title {
            font-size: 11px;
            font-weight: bold;
            color: #94a3b8;
            margin: 0 0 6px 0;
            text-transform: uppercase;
        }

        .badge {
            display: inline-block;
            font-size: 11px;
            font-weight: bold;
            padding: 4px 10px;
            border-radius: 4px;
            white-space: normal;
            word-break: break-all;
            overflow-wrap: anywhere;
            max-width: 100%;
        }

        .badge-industry { background-color: #e6f0ff; color: var(--primary-color); }
        .badge-system { background-color: #f1f5f9; color: #64748b; }
        .badge-pending { background-color: #f1f5f9; color: #94a3b8; }

        .card h3 {
            font-size: 21px;
            margin: 0 0 12px 0;
            color: #1a202c;
            width: 100%;
            line-height: 1.4;
        }

        .card-summary {
            font-size: 14px;
            color: var(--text-muted);
            margin-bottom: 20px;
            flex-grow: 1;
            width: 100%;
            white-space: pre-wrap; /* 改行を有効にする設定 */
        }

        .card-footer {
            border-top: 1px solid var(--border-color);
            padding-top: 20px;
            font-size: 14px;
            font-weight: bold;
            color: var(--primary-color);
            display: flex;
            align-items: center;
            justify-content: space-between;
            width: 100%;
        }

        /* --- Detail Page --- */
        .detail-header {
            background-color: #f1f5f9;
            padding: 40px 0;
            border-bottom: 1px solid var(--border-color);
        }

        .back-link {
            display: inline-flex;
            align-items: center;
            color: var(--primary-color);
            font-weight: bold;
            text-decoration: none;
            margin-bottom: 30px;
        }

        /* 詳細ロゴラップ */
        .detail-logo-wrap {
            background-color: var(--white);
            border: 1px solid var(--border-color);
            border-radius: 8px;
            padding: 20px;
            width: 310px;
            height: 180px;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
        }

        /* 詳細ヘッダー内のURL表示 */
        .detail-company-url {
            margin-top: 12px;
            font-size: 14px;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .detail-company-url a {
            color: var(--primary-color);
            text-decoration: none;
        }

        .detail-company-url a:hover {
            text-decoration: underline;
        }

        .survey-container {
            background-color: var(--white);
            border: 1px solid var(--border-color);
            border-radius: 16px;
            padding: 40px;
            margin-top: 40px;
        }

        .survey-section {
            margin-bottom: 40px;
        }

        .q-label {
            background-color: #e6f0ff;
            color: var(--primary-color);
            padding: 4px 12px;
            border-radius: 4px;
            font-weight: bold;
            font-size: 14px;
            display: inline-block;
            margin-bottom: 16px;
        }

        .a-content {
            font-size: 17px;
            padding-left: 5px;
            white-space: pre-wrap;
        }

        /* 強調用クラス（必要に応じて自由に追加可能） */
        .text-bold { font-weight: bold; }
        .text-accent { color: var(--accent-color); font-weight: bold; }
        .text-primary { color: var(--primary-color); font-weight: bold; }

        /* --- Company Info Section --- */
        .company-info-box {
            background-color: #fcfdfe;
            border: 1px solid #e2e8f0;
            border-radius: 8px;
            padding: 24px;
            margin-top: 20px;
        }

        .info-title {
            font-size: 16px;
            font-weight: bold;
            color: var(--primary-color);
            margin-bottom: 16px;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .info-row {
            display: flex;
            border-bottom: 1px solid #edf2f7;
            padding: 12px 0;
        }

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

        .info-label {
            width: 120px;
            font-size: 14px;
            font-weight: bold;
            color: var(--text-muted);
            flex-shrink: 0;
        }

        .info-value {
            font-size: 14px;
            color: var(--text-main);
            word-break: break-all;
        }

        .info-value a {
            color: var(--primary-color);
            text-decoration: none;
        }

        .info-value a:hover {
            text-decoration: underline;
        }

        /* --- Animations --- */
        .fade-in {
            animation: fadeIn 0.4s ease-out forwards;
        }
        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(10px); }
            to { opacity: 1; transform: translateY(0); }
        }


/* ここからモバイル版 */

@media screen and (min-width:641px) {
	.sp {
		display: none !important;
	}
	#sp_nav_trigger {
		display: none;
	}
}

@media screen and (max-width:640px) {
	.pc {
		display: none !important;
	}

	html, body {
		min-width: 0;
		font-size: 4.375vw;
	}

	img {
		max-width: 100%;
	}

	div.contents {
		width: auto;
		margin: 0 3.125vw;
	}

	/* TOPへ戻るボタン */
	#top-button {
		right: 2.34375vw;
	}
	#top-button a {
		width: 17.03125vw;
	}

/* ページトップ */
.p-top-visual {
    width: 100%;
    position: relative;
    margin-bottom: 30px;
}

.p-top-visual_inner {
    width: 100%;
    max-width: 960px;
    padding-top: 30px;
    margin-right: auto;
    margin-left: auto;
}


.p-top-visual_main {
    text-align: center;
}

.p-top-visual_eng {
    display: block;
    color: #2e75b6;
    margin-top: -2.6px;
    font-weight: 700;
    font-size: 7vw;
    line-height: 1.1;
    font-family: 'Public Sans',sans-serif;
    letter-spacing: 2.6px;
}

.p-top-visual_naka{
	background: linear-gradient(transparent 50%, #a9eaf8 50%);
}

.p-top-visual_jp {
    display: block;
    font-weight: 700;
    font-size: 1.3rem;
    margin-top: 5.9px;
    margin-bottom: -6.5px;
    letter-spacing: .65px;
}

.yohaku{
	height: 50px;
}

}