/* ◆◆◆ 表示切替ユーティリティ ◆◆◆ */
.visible-mobile {
    display: block;
}

.hidden-mobile {
    display: none;
}

.visible-pc {
    display: none;
}

.hidden-pc {
    display: block;
}

/* ◆◆◆ ベーススタイル・リセット ◆◆◆ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ◆◆◆ タイポグラフィ ◆◆◆ */
body {
    font-family: "Hiragino Sans GB", "Hiragino Sans", "Yu Gothic", "Meiryo", "MS PGothic", sans-serif;
    font-size: var(--font-size-base);
    line-height: var(--line-height-normal);
    color: #000;
}

main {
    /*     margin-bottom: 100px; */
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: var(--line-height-tight);
    margin-bottom: var(--spacing-md);
}

h1 {
    font-size: var(--font-size-4xl);
}

h2 {
    font-size: var(--font-size-3xl);
}

h3 {
    font-size: var(--font-size-2xl);
}

h4 {
    font-size: var(--font-size-xl);
}

h5 {
    font-size: var(--font-size-lg);
}

h6 {
    font-size: var(--font-size-base);
}

p {
    margin-bottom: 0;
    line-height: var(--line-height-normal);
}

a {
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    opacity: 0.7;
}

/* ◆◆◆ リスト・画像・フォーム ◆◆◆ */
ul,
ol {
    margin-bottom: 0;
    padding-left: var(--spacing-lg);
}

li {
    margin-bottom: 0;
}

/* 画像 */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* 遅延読み込み中の画像スタイル */
img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.3s ease;
}

img[loading="lazy"].loaded {
    opacity: 1;
}

/* プレースホルダー画像 */
img[data-src] {
    background-color: #f0f0f0;
    background-image: linear-gradient(45deg, #f0f0f0 25%, transparent 25%),
        linear-gradient(-45deg, #f0f0f0 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, #f0f0f0 75%),
        linear-gradient(-45deg, transparent 75%, #f0f0f0 75%);
    background-size: 20px 20px;
    background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
}

/* フォーム要素 */
input,
textarea,
select,
button {
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    padding: 0;
}

/* ◆◆◆ アクセシビリティ ◆◆◆ */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ◆◆◆ レイアウト・コンテナ ◆◆◆ */
.container,
.container-medium,
.container-small {
    width: min(90%, 600px);
    margin: 0 auto;
    overflow: visible;
}

main section:last-child {
    padding-bottom: 100px;
}

/* ◆◆◆ グリッドシステム ◆◆◆ */
.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 calc(-1 * var(--spacing-sm));
}

.col {
    flex: 1;
    padding: 0 var(--spacing-sm);
}

.col-1 {
    flex: 0 0 8.333333%;
}

.col-2 {
    flex: 0 0 16.666667%;
}

.col-3 {
    flex: 0 0 25%;
}

.col-4 {
    flex: 0 0 33.333333%;
}

.col-5 {
    flex: 0 0 41.666667%;
}

.col-6 {
    flex: 0 0 50%;
}

.col-7 {
    flex: 0 0 58.333333%;
}

.col-8 {
    flex: 0 0 66.666667%;
}

.col-9 {
    flex: 0 0 75%;
}

.col-10 {
    flex: 0 0 83.333333%;
}

.col-11 {
    flex: 0 0 91.666667%;
}

.col-12 {
    flex: 0 0 100%;
}

/* ◆◆◆ ヘッダー ◆◆◆ */
.site-header {
    background: white;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: var(--z-index-fixed);
}

.top-bar {
    display: none;
    /* デフォルトでは非表示（モバイルファースト） */
    background: linear-gradient(135deg,
            var(--gradient-start) 0%,
            var(--gradient-mid1) 25%,
            var(--gradient-mid2) 50%,
            var(--gradient-end) 100%);
    color: white;
    padding: 9.5px 0;
    font-size: var(--font-size-sm);
}

.top-bar .container {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 30px;
}

.top-bar .nav-links {
    display: flex;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.top-bar .nav-links li {
    position: relative;
    margin: 0;
}

.top-bar .nav-links a {
    color: white;
    text-decoration: none;
    font-size: var(--font-size-sm);
    transition: opacity var(--transition-fast);
}

.main-header {
    padding: 0;
    background: white;
    width: 100%;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    margin: 0 5%;
    width: 100%;
}

/* ◆◆◆ ブランディング ◆◆◆ */
.branding {
    display: flex;
    flex-direction: column;
    gap: 5px;
    justify-content: flex-start;
}

.branding-top {
    display: flex;
    align-items: center;
    gap: 5px;
}

.logo {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.logo svg {
    width: 100%;
    height: 100%;
}

.company-name {
    font-size: 14px;
    font-weight: bold;
    color: var(--primary-color);
    margin: 0;
    line-height: 1.2;
}

.tagline {
    font-size: 10px;
    line-height: 1.4;
    margin: 0;
    color: var(--primary-blue);
}

/* ◆◆◆ ビジネス分野メニュー ◆◆◆ */
.business-fields {
    flex: 1;
    display: none;
    /* モバイルでは非表示 */
}

/* ◆◆◆ メインナビゲーション ◆◆◆ */
.main-navigation {
    background: var(--accent-color);
    padding: 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.main-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
}

.main-menu li {
    position: relative;
}

.main-menu a {
    display: block;
    padding: 15px 20px;
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: background-color var(--transition-fast);
}

/* ◆◆◆ モバイルメニュー ◆◆◆ */
.mobile-menu-toggle {
    display: block;
    /* デフォルトでは表示（モバイルファースト） */
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    position: absolute;
    right: 0px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
}

/* ◆◆◆ ハンバーガーメニュー ◆◆◆ */
.hamburger {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    padding: 0;
}

.hamburger span {
    width: 20px;
    height: 1px;
    background: #000 !important;
    margin: 2px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-content {
    position: fixed;
    top: 0;
    right: 0;
    width: min(100%, 500px);
    height: 100vh;
    background: var(--primary-green);
    padding: 0;
    overflow-y: auto;
    z-index: 10000;
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.mobile-menu-content.active {
    transform: translateX(0);
}

.mobile-menu-header {
    display: flex;
    justify-content: flex-end !important;
    align-items: center;
}

.mobile-menu-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: white;
    padding: 5px;
    transition: background-color var(--transition-fast);
}

.mobile-menu-section {
    margin-bottom: 0;
    border-bottom: 1px solid white;
}

.mobile-menu-list .mobile-menu-section:first-child {
    border-top: 1px solid white;
}

.mobile-menu-section-header,
.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: var(--primary-green);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.mobile-menu-section-header h3 {
    font-size: 16px;
    margin: 0;
    color: white;
    font-weight: 500;
}

.mobile-menu-arrow {
    position: relative;
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.mobile-menu-arrow::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 7px;
    height: 7px;
    border-right: 1px solid #fff;
    border-bottom: 1px solid #fff;
    transform: translate(-50%, -75%) rotate(45deg);
    transition: transform 0.3s ease;
}

.mobile-menu-section.active .mobile-menu-arrow::before {
    transform: translate(-50%, -25%) rotate(-135deg);
}

.mobile-menu-section-content {
    background: var(--primary-green);
    /* 明るい緑のコンテンツエリア */
    padding: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    max-height: 0;
}

.mobile-menu-section.active .mobile-menu-section-content {
    max-height: 300px;
}

.mobile-menu-list,
.mobile-top-nav-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-menu-list a {
    display: block;
    padding: 12px 20px;
    color: var(--background-color);
    text-decoration: none;
    transition: background-color 0.3s ease;
    font-size: 14px;
}

.mobile-menu-items {
    list-style: none;
    padding: 0;
}

.mobile-menu-items li {
    margin-bottom: 0;
    background-color: var(--secondary-green);
}

.mobile-menu-items a {
    display: block;
    text-decoration: none;
    transition: color var(--transition-fast);
    color: white;
}

/* ◆◆◆ お問い合わせボタン非表示 ◆◆◆ */
/* トップナビゲーションメニューのお問い合わせボタンを非表示 */
.mobile-menu-items a[href*="お問い合わせ"],
.mobile-menu-items a[href*="contact"],
.mobile-menu-items a[title*="お問い合わせ"],
.mobile-menu-items a[title*="contact"],
.mobile-menu-items li:has(a[href*="お問い合わせ"]),
.mobile-menu-items li:has(a[href*="contact"]),
.mobile-menu-items li:has(a[title*="お問い合わせ"]),
.mobile-menu-items li:has(a[title*="contact"]),
.mobile-top-nav-menu a[href*="お問い合わせ"],
.mobile-top-nav-menu a[href*="contact"],
.mobile-top-nav-menu a[title*="お問い合わせ"],
.mobile-top-nav-menu a[title*="contact"],
.mobile-top-nav-menu li:has(a[href*="お問い合わせ"]),
.mobile-top-nav-menu li:has(a[href*="contact"]),
.mobile-top-nav-menu li:has(a[title*="お問い合わせ"]),
.mobile-top-nav-menu li:has(a[title*="contact"]) {
    display: none !important;
}

/* お問い合わせに関連する可能性のある他のキーワードでの非表示 */
.mobile-menu-items a[href*="問い合わせ"],
.mobile-menu-items a[href*="問合せ"],
.mobile-menu-items a[href*="inquiry"],
.mobile-menu-items a[title*="問い合わせ"],
.mobile-menu-items a[title*="問合せ"],
.mobile-menu-items a[title*="inquiry"],
.mobile-menu-items li:has(a[href*="問い合わせ"]),
.mobile-menu-items li:has(a[href*="問合せ"]),
.mobile-menu-items li:has(a[href*="inquiry"]),
.mobile-menu-items li:has(a[title*="問い合わせ"]),
.mobile-menu-items li:has(a[title*="問合せ"]),
.mobile-menu-items li:has(a[title*="inquiry"]),
.mobile-top-nav-menu a[href*="問い合わせ"],
.mobile-top-nav-menu a[href*="問合せ"],
.mobile-top-nav-menu a[href*="inquiry"],
.mobile-top-nav-menu a[title*="問い合わせ"],
.mobile-top-nav-menu a[title*="問合せ"],
.mobile-top-nav-menu a[title*="inquiry"],
.mobile-top-nav-menu li:has(a[href*="問い合わせ"]),
.mobile-top-nav-menu li:has(a[href*="問合せ"]),
.mobile-top-nav-menu li:has(a[href*="inquiry"]),
.mobile-top-nav-menu li:has(a[title*="問い合わせ"]),
.mobile-top-nav-menu li:has(a[title*="問合せ"]),
.mobile-top-nav-menu li:has(a[title*="inquiry"]) {
    display: none !important;
}

.mobile-menu-cta {
    margin-top: 30px;
    padding-top: 20px;
    display: flex;
    justify-content: center;
}

.mobile-menu-cta-button {
    display: block;
    width: min(100%, 220px);
    padding: 12px 20px;
    background: white;
    color: var(--primary-green);
    text-decoration: none;
    text-align: center;
    border-radius: 999px;
    transition: background-color var(--transition-fast);
}

/* ◆◆◆ フッター ◆◆◆ */
.site-footer {

    padding: 20px 0 0 0;
    font-family: var(--font-family-primary);
}

.footer-top {
    margin-bottom: 40px;
}

.footer-branding {
    display: flex;
    align-items: center;
    gap: 20px;
}

.footer-logo .logo {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    font-weight: bold;
    position: relative;
}

.footer-logo .logo::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    top: 10px;
    left: 10px;
}

.footer-logo .logo::after {
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    background: white;
    border-radius: 50%;
    bottom: 8px;
    right: 8px;
}

.footer-company-info h3 {
    font-size: var(--font-size-lg);
    font-weight: bold;

    margin-bottom: 5px;
}

.footer-company-info p {
    font-size: var(--font-size-sm);

    line-height: 1.4;
}

/* ◆◆◆ フッターナビゲーション ◆◆◆ */
.footer-navigation {}

.footer-nav-columns {
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
    list-style: none;
    background: white;
    width: 100%;
}

.footer-nav-columns:last-child {
    border-top: 1px solid #ddd;
}

.footer-nav-column {
    text-align: left;
    margin-bottom: 0;
    background: white;
}

.footer-nav-column.has-submenu {
    border-top: 1px solid #ddd;

}

.footer-nav-column:last-child {
    border-bottom: none;
}

/* ◆◆◆ フッターナビゲーション詳細 ◆◆◆ */
.footer-nav-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    padding: 20px 0;
    margin: 0;
    font-size: 12px !important;
    font-weight: bold;
    color: var(--primary-blue);
    line-height: 1.4;
    transition: color 0.3s ease;
    background: white;
}

.footer-nav-columns:last-child .footer-nav-title {
    padding: 15px 0;
}

.footer-nav-columns:last-child .footer-nav-column:first-child .footer-nav-title {
    padding-top: 30px;
}

.footer-nav-columns:last-child .footer-nav-column:last-child .footer-nav-title {
    padding-bottom: 30px;
}

.footer-nav-arrow {
    width: 12px;
    height: 12px;
    position: relative;
    transition: transform 0.3s ease;
    display: inline-block;
    margin-left: 8px;
}

.footer-nav-arrow::before,
.footer-nav-arrow::after {
    content: '';
    position: absolute;
    background: #000;
    width: 1px;
    height: 6px;
    top: 2px;
    left: 5px;
}

.footer-nav-arrow::before {
    transform: rotate(-45deg);
    transform-origin: bottom center;
}

.footer-nav-arrow::after {
    transform: rotate(45deg);
    transform-origin: bottom center;
}

.footer-nav-column.active .footer-nav-arrow,
.has-submenu.active .footer-nav-arrow {
    transform: rotate(180deg);
}


.footer-nav-submenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    margin: 0;
    padding: 0;
    list-style: none;
    background: white;
}

.footer-nav-column.active .footer-nav-submenu,
.has-submenu.active .footer-nav-submenu {
    max-height: 500px;
    padding: 0;
}

.footer-nav-submenu li {
    margin-bottom: 20px;
    padding: 0;
    position: relative;
}

.footer-nav-submenu a {
    font-size: 12px;
    color: #000;
    text-decoration: none;
    line-height: 1.4;
    transition: color 0.3s ease;
    display: block;
    padding: 0;
    text-align: left;
}

/* ◆◆◆ 通常リンク用スタイル ◆◆◆ */
.footer-nav-link {
    display: block;
    padding: 15px 20px;
    margin: 0;
    font-size: 14px;
    font-weight: bold;
    color: var(--primary-color);
    text-decoration: none;
    line-height: 1.4;
    transition: color 0.3s ease;
    background: white;
}

/* ◆◆◆ フロントページ ◆◆◆ */
.hero-section {
    color: white;
    padding: 20px 0;
    text-align: center;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.hero-content {
    text-align: center;
    width: min(90%, 1000px);
    margin: 0 auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
}

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

.hero-subtitle {
    font-size: var(--font-size-lg);
    margin-bottom: 40px;
    line-height: 1.6;
    opacity: 0.9;
}

.hero-cta {
    margin-top: var(--spacing-xl);
}

.hero-button {
    display: inline-block;
    padding: 15px 40px;
    background: var(--secondary-color);
    color: white;
    text-decoration: none;
    border-radius: var(--border-radius-lg);
    font-weight: 600;
    transition: all var(--transition-fast);
    box-shadow: var(--shadow-md);
}

/* ◆◆◆ フィーチャーセクション ◆◆◆ */
.features-section {
    padding: 80px 0;

}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.feature-card {
    background: white;
    padding: 30px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: transform var(--transition-fast);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 32px;
}

.feature-title {
    font-size: var(--font-size-xl);
    margin-bottom: 15px;

}

.feature-description {

    line-height: 1.6;
}

/* ◆◆◆ 会社概要ページ ◆◆◆ */
.company-hero {

    padding: 60px 0;
    text-align: center;
}

.company-hero h1 {
    font-size: var(--font-size-4xl);
    margin-bottom: var(--spacing-lg);
    color: var(--primary-color);
}

.company-hero p {
    font-size: var(--font-size-lg);

    max-width: 800px;
    margin: 0 auto;
}

/* ◆◆◆ 会社概要コンテンツ ◆◆◆ */
.company-content {
    /*     padding: 80px 0; */
}

.company-section {
    /*     margin-bottom: 60px; */
}

.company-section p {
    font-size: 16px;
    line-height: calc(37/16);
    letter-spacing: 0.6px;
}

/* ◆◆◆ 企業価値 ◆◆◆ */
.company-values {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.value-card {
    background: white;
    padding: 30px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    text-align: center;
    border-top: 4px solid var(--primary-color);
}

.value-title {
    font-size: var(--font-size-xl);
    margin-bottom: 15px;
    color: var(--primary-color);
}

.value-description {

    line-height: 1.6;
}

/* ◆◆◆ 採用ページ ◆◆◆ */
.recruitment-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.recruitment-hero h1 {
    font-size: var(--font-size-4xl);
    margin-bottom: var(--spacing-lg);
}

.recruitment-hero p {
    font-size: var(--font-size-lg);
    margin-bottom: var(--spacing-xl);
    opacity: 0.9;
}

/* ◆◆◆ 求人一覧 ◆◆◆ */
.job-listings {
    padding: 80px 0;

}

.job-card {
    background: white;
    padding: 30px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    margin-bottom: 30px;
    transition: transform var(--transition-fast);
}

.job-title {
    font-size: var(--font-size-xl);
    margin-bottom: 15px;
    color: var(--primary-color);
}

.job-description {

    margin-bottom: 20px;
    line-height: 1.6;
}

.job-requirements {

    padding: 20px;
    border-radius: var(--border-radius-md);
    margin-bottom: 20px;
}

.job-requirements h4 {
    font-size: var(--font-size-base);
    margin-bottom: 10px;

}

.job-requirements ul {
    list-style: none;
    padding: 0;
}

.job-requirements li {
    padding: 5px 0;

}

.job-requirements li::before {
    content: '✓';
    color: var(--secondary-color);
    font-weight: bold;
    margin-right: 10px;
}

/* ◆◆◆ お問い合わせページ ◆◆◆ */
.contact-hero {
    padding: 60px 0;
    text-align: center;
}

.contact-hero h1 {
    font-size: var(--font-size-4xl);
    margin-bottom: var(--spacing-lg);
    color: var(--primary-color);
}

.contact-hero p {
    font-size: var(--font-size-lg);
    max-width: 600px;
    margin: 0 auto;
}

/* ◆◆◆ お問い合わせフォーム ◆◆◆ */
.contact-form {
    padding: 80px 0;
}

.form-container {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius-md);
    font-size: var(--font-size-base);
    transition: border-color var(--transition-fast);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* ◆◆◆ フォームボタン統合スタイル ◆◆◆ */
.submit-button,
.form-button {
    color: white;
    padding: 15px 40px;
    border: none;
    border-radius: var(--border-radius-md);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color var(--transition-fast);
    height: 70px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 280px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    text-align: center;
}

/* ◆◆◆ 連絡先情報 ◆◆◆ */
.contact-info {
    padding: 80px 0;

}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.contact-card {
    background: white;
    padding: 30px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    text-align: center;
}

.contact-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
}

.contact-title {
    font-size: var(--font-size-lg);
    margin-bottom: 15px;

}

.contact-details {

    line-height: 1.6;
}

/* ◆◆◆ 事例紹介ページ ◆◆◆ */
.examples-page {}

/* ◆◆◆ パンくずリスト ◆◆◆ */
.breadcrumb-section {
    background-color: var(--primary-color);
    padding: 15px 0;
    border-bottom: 1px solid #ddd;
}

.breadcrumb-nav {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 10px;
    color: #000;
}

.breadcrumb-nav a {
    color: #000;
    text-decoration: none;
    transition: opacity var(--transition-fast);
}

.breadcrumb-separator {
    color: #000;
}

.breadcrumb-separator img {
    width: 10px;
    height: 10px;
}

.current-page {
    font-weight: 600;
    color: #000;
}



.hero-section .container {
    position: relative;
}

.hero-background {
    border-radius: 10px;
    border-radius: 10px;
    overflow: hidden;
}

.hero-background img {
    width: 100%;
    height: calc(100svh - 80px - 40px);
    object-fit: cover;
    object-position: 80% 100%;
}

/* ◆◆◆ ヒーロー画像・コンテンツ ◆◆◆ */

.hero-image {
    margin: 40px 0;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.hero-image img {
    width: 100%;
    height: auto;
    display: block;
}

.hero-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background-color: var(--background-light);
    border-radius: var(--border-radius-md);
    border-left: 4px solid var(--primary-color);
}

.benefit-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.benefit-item p {
    margin: 0;
    font-size: var(--font-size-base);

    line-height: 1.5;
}

.hero-highlight {
    background-color: var(--background-dark);
    border: 2px solid var(--primary-color);
    border-radius: var(--border-radius-md);
    padding: 25px;
    margin: 40px 0;
    position: relative;
}

.highlight-bar {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background-color: var(--primary-color);
}

.highlight-content {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-left: 15px;
}

.highlight-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.highlight-content p {
    margin: 0;
    font-size: var(--font-size-lg);

    line-height: 1.5;
}

.hero-cta {
    margin-top: 40px;
}

.cta-button {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 15px 40px;
    border-radius: var(--border-radius-full);
    text-decoration: none;
    font-size: var(--font-size-lg);
    font-weight: 600;
    transition: all var(--transition-fast);
    box-shadow: var(--shadow-md);
}

/* ◆◆◆ 比較セクション ◆◆◆ */
.comparison-section {
    padding: 80px 0;
    background-color: var(--background-light);
}


.section-description {
    text-align: center;
    font-size: var(--font-size-lg);

    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.comparison-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.comparison-item {
    background-color: white;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: transform var(--transition-fast);
}

.comparison-item h3 {
    font-size: var(--font-size-lg);
    font-weight: 600;

    margin: 0;
    padding: 25px 25px 15px;
}

.comparison-image {
    position: relative;
}

.comparison-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}

.comparison-content {
    padding: 25px;
}

.comparison-label {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 8px 20px;
    border-radius: var(--border-radius-full);
    font-size: var(--font-size-sm);
    font-weight: 600;
    margin-bottom: 15px;
}

.comparison-content p {
    margin: 0;
    font-size: var(--font-size-base);

    line-height: 1.6;
}

/* ◆◆◆ 雑草セクション ◆◆◆ */
.weeds-section {
    padding: 80px 0;

}

.weeds-main-image {
    margin: 50px 0;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.weeds-main-image img {
    width: 100%;
    height: auto;
    display: block;
}

.weeds-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.weed-item {
    background-color: white;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-fast);
}

.weed-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.weed-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-fast);
}

.weed-item h3 {
    font-size: var(--font-size-lg);
    font-weight: 600;

    margin: 0;
    padding: 20px 20px 10px;
}

.weed-item p {
    margin: 0;
    padding: 0 20px 20px;
    font-size: var(--font-size-sm);

    line-height: 1.5;
}

/* ◆◆◆ 施工方法セクション ◆◆◆ */
.methods-section {
    padding: 80px 0;
    background-color: var(--background-light);
}

.methods-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.method-item {
    background-color: white;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-fast);
}


.method-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.method-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-fast);
}

.method-item h3 {
    font-size: var(--font-size-lg);
    font-weight: 600;

    margin: 0;
    padding: 20px 20px 10px;
}

.method-item p {
    margin: 0;
    padding: 0 20px 10px;
    font-size: var(--font-size-sm);
    color: var(--primary-color);
    font-weight: 600;
}

.method-description {
    padding: 0 20px 20px !important;
    color: var(--text-light) !important;
    font-weight: normal !important;
    line-height: 1.5;
}

/* ◆◆◆ コンタクトセクション ◆◆◆ */
.contact-section {
    position: relative;
    padding: 80px 0;
    color: white;
}

.contact-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.contact-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.contact-overlay {
    position: relative;
    z-index: 2;
    background-color: var(--overlay-color);
    padding: 60px 0;
}

.contact-title {
    font-size: var(--font-size-4xl);
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
    color: white;
}

.contact-description {
    text-align: center;
    font-size: var(--font-size-lg);
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.contact-cta {
    text-align: center;
}

.contact-button {
    display: inline-block;
    background-color: var(--secondary-color);
    color: white;
    padding: 18px 50px;
    border-radius: var(--border-radius-full);
    text-decoration: none;
    font-size: var(--font-size-lg);
    font-weight: 600;
    transition: all var(--transition-fast);
    box-shadow: var(--shadow-md);
}

/* ◆◆◆ レスポンシブデザイン（モバイルファースト） ◆◆◆ */
.header-content {
    flex-direction: row;
    justify-content: space-between;
    gap: 15px;
}

.top-bar .container {
    flex-direction: column;
    gap: 10px;
    text-align: center;
    justify-content: center;
}

.top-bar .nav-links {
    flex-direction: column;
    gap: 10px;
}

.container,
.main-content-container {
    max-width: 95%;
}

.footer-contact {
    grid-template-columns: 1fr;
    gap: 15px;
}

.hero-title {
    font-size: var(--font-size-2xl);
}

.hero-subtitle {
    font-size: var(--font-size-base);
}

.section-description {
    font-size: var(--font-size-base);
}

.comparison-grid {
    grid-template-columns: 1fr;
    gap: 30px;
}

.weeds-gallery {
    grid-template-columns: 1fr;
    gap: 20px;
}

.methods-gallery {
    grid-template-columns: 1fr;
    gap: 20px;
}

.hero-benefits {
    grid-template-columns: 1fr;
    gap: 20px;
}

.benefit-item {
    padding: 15px;
}

.hero-highlight {
    padding: 20px;
}

.contact-title {
    font-size: var(--font-size-3xl);
}

.contact-description {
    font-size: var(--font-size-base);
}

.main-menu {
    display: none;
}

/* ◆◆◆ モバイルメニュー設定 ◆◆◆ */

.branding {
    flex-direction: column;
    align-items: flex-start;
    text-align: center;
}

.footer-branding {
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.contact-office {
    text-align: center;
}

.office-icon {
    margin: 0 auto 10px;
}

.col-1,
.col-2,
.col-3,
.col-4,
.col-5,
.col-6,
.col-7,
.col-8,
.col-9,
.col-10,
.col-11,
.col-12 {
    flex: 0 0 100%;
}

.comparison-item h3 {
    padding: 20px 20px 10px;
}

.comparison-content {
    padding: 20px;
}

.weed-item h3 {
    padding: 15px 15px 10px;
}

.weed-item p {
    padding: 0 15px 15px;
}

.method-item h3 {
    padding: 15px 15px 10px;
}

.method-item p {
    padding: 0 15px 10px;
}

/* ◆◆◆ メソッドディスクリプション調整 ◆◆◆ */

.site-logo {
    width: 120px;
}

/* ◆◆◆ アニメーション効果 ◆◆◆ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-section {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-section.visible {
    opacity: 1;
    transform: translateY(0);
}

.comparison-item,
.weed-item,
.method-item {
    animation: fadeInUp 0.6s ease-out;
}

/* ◆◆◆ フロントページ専用スタイル ◆◆◆ */
.front-page {
    overflow: hidden;
}

/* ◆◆◆ ヒーローセクション ◆◆◆ */

.hero-text {
    text-align: right;
}

.horizontal-text {
    font-family: "Times New Roman", "Hiragino Mincho ProN", "Hiragino Mincho Pro", "HiraMinProN-W3", "Yu Mincho", "YuMincho", "Meiryo", serif;
    font-size: 20px;
    font-weight: bold;
    color: var(--primary-white);
    line-height: 1.6;
    text-align: left;
    font-display: swap;
}

/* ◆◆◆ ビジネスセクション ◆◆◆ */
.business-section {
    margin-top: 30px;
    padding: 80px 0;
    background: var(--medium-gray);
}

.tab-navigation {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    background: transparent;
    border-radius: 0;
    padding: 0;
    gap: 0;
    position: relative;
    overflow-x: auto;
    overflow-y: visible;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    width: 100%;
    box-sizing: border-box;
    margin: 0 auto 32px auto;
}

.tab-button .tab-title {
    color: var(--primary-blue);
}

.tab-button .tab-icon {
    display: none;
}

/* ◆◆◆ タブボタンアイコン・ラベル ◆◆◆ */

.tab-button .tab-subtext {
    font-size: 12px;
    color: var(--primary-color);
    opacity: 0.8;
}

/* ◆◆◆ タブボタンホバー・アクティブ ◆◆◆ */

.tab-button:not(:last-child)::after {
    display: none;
}

.tab-button.active {
    background: transparent;
    color: var(--primary-color);
    border-radius: 0;
    box-shadow: none;
}

.tab-button.active:before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary-blue);
    z-index: 2;
}

.tab-button.active .tab-label,
.tab-button.active .tab-subtitle {
    color: var(--primary-color);
}

/* ◆◆◆ プロダクトグリッド ◆◆◆ */

.product-grid {
    display: grid;
    margin: 0 auto;
    position: relative;
    align-items: start;
    min-height: auto;
}

.product-grid-decoration {
    display: none;
}

.product-grid-decoration .decoration-image {
    width: 440px;
    height: 440px;
    object-fit: cover;
    z-index: -1;
}

.no-products-message {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px 20px;
    color: var(--primary-color);
    font-size: 16px;
    background: var(--primary-white);
    border: 1px solid var(--primary-color);
    border-radius: 10px;
    margin: 20px 0;
}

.product-card {
    background: var(--primary-white);
    border: 1px solid var(--primary-color);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    padding: 30px;
    display: none;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    background-color: white;
    height: 100%;
    flex-direction: column;
}

.product-card.active {
    display: flex;
    opacity: 1;
    transform: translateY(0);
}



.card-image {
    position: relative;
    width: 100%;
    overflow: visible;
}

.card-image img {
    width: 100%;
    height: auto;
    aspect-ratio: 26/17;
    object-fit: cover;
    transition: transform 0.3s ease;
    border-radius: 10px;
}



.card-title-overlay {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    min-width: 200px;
    width: max-content;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    border-radius: 99px;
}

.card-title {
    font-family: var(--font-family-primary);
    font-size: 16px;
    font-weight: 600;
    color: white !important;
    margin: 0;
    padding: 0 15px;
    line-height: 1.3;
    text-align: center;
}

.card-content {
    padding-top: 40px;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.card-description {
    font-family: var(--font-family-primary);
    font-size: 14px;
    letter-spacing: 0.7px;
    line-height: 1.6;
    margin-bottom: 16px;
    flex-grow: 1;
}

.card-button {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    text-decoration: none;
    font-family: var(--font-family-primary);
    font-size: 14px;
    font-weight: 700;
    justify-content: flex-end;
}

.card-button i {
    font-size: 12px;
    font-weight: 700;
}



/* ◆◆◆ 会社セクション ◆◆◆ */
.company-section {
    padding: 80px 0;

}

.company-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: var(--container-max-width);
    margin: 0 auto;
    position: relative;
}

.company-content-decoration {
    display: none;
}

.company-content-decoration .decoration-image {
    width: 440px;
    height: 440px;
    object-fit: cover;
    z-index: -1;
}

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

.company-description {
    font-family: var(--font-family-primary);
    font-size: 16px;
    line-height: 1.8;

    margin-bottom: 30px;
}

.company-image {
    width: 100%;
    height: 300px;
    overflow: hidden;
    border-radius: var(--border-radius);
}

.company-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ◆◆◆ 会社ボタンコンテナ ◆◆◆ */
.company-button-container {
    text-align: center;
    margin-top: 40px;
}

/* ◆◆◆ グラデーションボタン ◆◆◆ */
.gradient-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(104deg, var(--gradient-start) 0%, var(--gradient-mid1) 55%, var(--gradient-end) 100%);
    color: white;
    text-decoration: none;
    border-radius: var(--border-radius-md);
    font-family: var(--font-family-primary);
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    width: 250px;
    height: 50px;
    border-radius: 999px;
    justify-content: center;
    outline: none;
    border: none;
}

.gradient-button.large {
    padding: 20px 40px;
    font-size: 18px;
}

.gradient-button i {
    font-size: 14px;
    transition: transform 0.3s ease;
}

/* ◆◆◆ 採用セクション ◆◆◆ */
.recruitment-section {
    padding: 80px 0;
    background-color: var(--medium-gray);
}

.recruitment-description {
    font-size: 16px;
    line-height: calc(37/16);
    letter-spacing: 0.6px;
    text-align: center;
    margin-bottom: 40px;
    font-family: var(--font-family-primary)
}

.recruitment-images {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin: 0 auto 40px;
    position: relative;
}

.recruitment-images-decoration {
    display: none;
}

.recruitment-images-decoration .decoration-image {
    width: 440px;
    height: 440px;
    object-fit: cover;
    z-index: -1;
}

.image-item {
    width: 100%;
    height: 250px;
    overflow: hidden;
    border-radius: var(--border-radius);
}

.image-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

/* ◆◆◆ 採用ボタンコンテナ ◆◆◆ */
.recruitment-button-container {
    text-align: center;
    margin-top: 40px;
}

/* ◆◆◆ コンタクトセクション（フロントページ版） ◆◆◆ */
.contact-section {
    position: relative;
    padding: 80px 0;
    color: var(--primary-white);
}

.contact-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("https://seiwashoji.net/wp-content/uploads/2025/08/コンクリートタイル-1.png") no-repeat center center;
    background-size: cover;
    z-index: 1;
}

.contact-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    z-index: 2;
}

.contact-content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.section-subtitle {
    font-family: var(--font-family-primary);
    font-size: 18px;
    font-weight: 400;
    color: white;
    margin-bottom: 20px;
    opacity: 0.9;
}

/* ◆◆◆ レスポンシブデザイン（フロントページ） ◆◆◆ */


/* ◆◆◆ 共通セクションタイトル ◆◆◆ */
.section-title {
    font-family: "Times New Roman", serif;
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

/* ◆◆◆ モバイル版コンタクトセクション ◆◆◆ */
.contact-section .section-title {
    font-size: 22px;
    color: white;
    margin-bottom: 0;
}

.contact-section .section-subtitle {
    font-size: 12px;
}

.contact-section .contact-description {
    font-size: 12px;
    line-height: calc(34/12);
    letter-spacing: 0.6px;
    color: white;
}



.tab-navigation::-webkit-scrollbar {
    display: none;
}

.tab-navigation::-webkit-scrollbar {
    height: 2px;
}

.tab-navigation::-webkit-scrollbar-track {
    background: var(--light-blue-gray);
    border-radius: 1px;
}

.tab-navigation::-webkit-scrollbar-thumb {
    background: var(--primary-blue);
    border-radius: 1px;
}

.tab-navigation::-webkit-scrollbar-thumb:hover {
    background: var(--primary-blue);
}

.tab-button {
    flex: 0 0 50%;
    min-width: 50%;
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0 0 20px 0;
    margin: 0;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: left;
    box-shadow: none;
    transition: all 0.3s ease;
    scroll-snap-align: center;
    cursor: pointer;
    user-select: none;
    text-align: center;
    border-bottom: 2px solid var(--light-blue-gray);
}

.tab-button:first-child {
    margin-left: 25%;
    box-sizing: border-box;
}

.tab-button:last-child {
    margin-right: 25%;
    box-sizing: border-box;
}

.tab-button:hover {
    background: transparent;
    color: var(--primary-color);
    border-radius: 0;
}

.tab-button:active {
    transform: none;
    border-radius: 0;
}

.tab-button:not(:last-child)::after {
    display: none;
}

.tab-button.active {
    background: transparent;
    color: var(--primary-color);
    border-radius: 0;
    box-shadow: none;
}

.tab-button .tab-icon {
    display: none;
}

.tab-button .tab-icon img {
    display: none;
}

.tab-button .tab-label {
    font-size: 14px;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 4px;
}

.tab-button .tab-subtitle {
    font-size: 12px;
    color: var(--primary-color);
}

.tab-button.active .tab-label,
.tab-button.active .tab-subtitle {
    color: var(--primary-color);
}

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

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

.recruitment-images {
    grid-template-columns: 1fr;
}

.icon-arrow-right::before {
    content: "→";
    font-style: normal;
}



/* ◆◆◆ コンポーネントスタイル ◆◆◆ */
.form-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* ◆◆◆ ボタンコンポーネント ◆◆◆ */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
}

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

.btn-secondary {
    background: var(--secondary-blue);
    color: white;
}

/* ◆◆◆ カードコンポーネント ◆◆◆ */
.card {
    background: white;
    border: 1px solid #E5E5E5;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.card-header {
    margin-bottom: 15px;
}



.card-subtitle {
    font-size: 14px;
    ;
}

/* ◆◆◆ ビジネス分野カード・サブメニュー ◆◆◆ */
.business-field-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0px 10px;
    border: none;
    border-left: 1px solid #E5E5E5;
    border-radius: 0;
    background: white;
    cursor: pointer;
    width: min(100%, 180px);
}


.business-field-icon {
    width: 35px;
    height: 35px;
    margin: 0 auto 10px;
    background: transparent;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-blue);
    font-size: 16px;
    overflow: hidden;
}

.business-field-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.business-field-title {
    position: relative;
    font-size: 14px;
    font-weight: bold;
    color: var(--primary-blue);
    margin-bottom: 22px;
    line-height: 1.3;
}

.business-field-title::before {
    content: "";
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 2px;
    background: var(--primary-blue);
}

.business-field-subtitle {
    font-size: 14px;
    ;
    line-height: 1.3;
    margin-bottom: 0;
}

.business-fields-grid {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    gap: 0;
    margin: 0;
    padding-left: 0;
    width: 100%;
}

/* ◆◆◆ ビジネス分野サブメニュー ◆◆◆ */
.business-field-submenu {
    position: fixed;
    top: 190px;
    left: 0;
    width: 100vw;
    height: auto;
    background: white;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    align-items: flex-start;
}

.business-field-card:hover .business-field-submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.business-field-submenu::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    border: 10px solid transparent;
    border-bottom-color: white;
}

.business-field-submenu ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 20px 0;
}

.business-field-submenu li {
    display: flex;
    align-items: center;
    border-bottom: 1px solid #E5E5E5;
}

.business-field-submenu a {
    display: flex;
    align-items: center;
    padding: 20px;
    padding-right: 40px;
    width: 100%;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 14px;
    position: relative;
}

.business-field-submenu a::after {
    content: '→';
    position: absolute;
    right: 20px;
    color: white;
    background: var(--primary-blue);
    width: 15px;
    height: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 12px;
}

.business-field-card.hovered {
    background: var(--bg-secondary);
}

.business-field-card.hovered .business-field-icon {
    color: var(--primary-blue);
}

.business-field-card.hovered .business-field-icon img {
    opacity: 1;
}



/* ◆◆◆ ビジネス分野カードアクティブ状態 ◆◆◆ */
.business-field-card.active {
    background: var(--primary-blue);
    color: white;
}

.business-field-card.active .business-field-icon {
    color: white;
}

.business-field-card.active .business-field-title {
    color: white;
}

.main-header {
    background: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* ◆◆◆ フォームコンポーネント ◆◆◆ */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: var(--text-primary);
}

.form-input {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 14px;
}

.form-textarea {
    min-height: 100px;
    resize: vertical;
}

.mw_wp_form .error {
    flex: 15%;
    font-size: 12px;
    display: flex;
    align-items: center;
}

.form-error {
    color: #dc3545;
    font-size: 12px;
    margin-top: 5px;
}

.error-message {
    background: #f8d7da;
    color: #721c24;
    padding: 10px;
    border-radius: 4px;
    margin-bottom: 20px;
}

/* ◆◆◆ 検索コンポーネント ◆◆◆ */
.search-form {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.search-field {
    flex: 1;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 14px;
}

.search-submit {
    padding: 12px 24px;
    background: var(--primary-blue);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}

/* ◆◆◆ ナビゲーションコンポーネント ◆◆◆ */
.nav-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu a {
    display: block;
    padding: 10px 15px;
    color: var(--text-primary);
    text-decoration: none;
}

.nav-menu .current-menu-item a {
    color: var(--primary-blue);
    font-weight: bold;
}

/* ◆◆◆ トップに戻るボタン ◆◆◆ */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-blue);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--secondary-blue);
    transform: translateY(-2px);
}

/* ◆◆◆ Cookieお知らせ・アクセシビリティ ◆◆◆ */
.cookie-notice {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--text-color);
    color: white;
    padding: 15px;
    text-align: center;
    z-index: 1000;
    display: none;
}

.cookie-notice button {
    background: var(--primary-blue);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    margin-left: 10px;
}

/* ◆◆◆ アクセシビリティスタイル ◆◆◆ */
.keyboard-focus {
    outline: 2px solid var(--primary-blue);
    outline-offset: 2px;
}

body.menu-open {
    overflow: hidden;
}

/* ◆◆◆ ユーティリティクラス ◆◆◆ */
.text-center {
    text-align: center;
}

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

.text-right {
    text-align: right;
}

.mb-20 {
    margin-bottom: 20px;
}

.mt-20 {
    margin-top: 20px;
}

.p-20 {
    padding: 20px;
}

/* ◆◆◆ フッターボトム ◆◆◆ */

.business-field-icon {
    width: 35px;
    height: 35px;
    margin: 0 auto 8px;
}

/* ◆◆◆ サブメニューモバイル調整 ◆◆◆ */
.business-field-submenu ul {
    grid-template-columns: 1fr;
    gap: 15px;
}

.business-field-submenu {
    padding: 20px;
}

.business-field-submenu a {
    height: auto;
    min-height: 60px;
}

/* ◆◆◆ 共通コンテンツセクション ◆◆◆ */
.content-section {
    display: flex;
    align-items: center;
    gap: 60px;
    padding: 80px 0;
    max-width: 1200px;
    margin: 0 auto;
}

/* ◆◆◆ 左画像・右テキスト ◆◆◆ */
.content-section-left-image {
    flex-direction: row;
}

/* ◆◆◆ 右画像・左テキスト ◆◆◆ */
.content-section-right-image {
    flex-direction: row-reverse;
}

/* ◆◆◆ 画像・テキストエリア ◆◆◆ */
.content-section-image {
    flex: 0 0 400px;
    height: 300px;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    position: relative;
}

.content-section-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

/* ◆◆◆ テキストエリア詳細 ◆◆◆ */
.content-section-text {
    flex: 1;
    max-width: 400px;
    padding: 0 20px;
}

.content-section-title {
    font-size: 28px;
    font-weight: bold;
    color: var(--text-primary);
    margin-bottom: 20px;
    line-height: 1.3;
}

.content-section-description {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 30px;
}

.content-section-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--primary-blue);
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.content-section-button i {
    font-size: 14px;
    transition: transform 0.3s ease;
}

/* ◆◆◆ モバイル版コンテンツセクション ◆◆◆ */
.content-section {
    flex-direction: column !important;
    gap: 30px;
    padding: 40px 20px;
    text-align: center;
}

.content-section-image {
    flex: 0 0 auto;
    width: 100%;
    max-width: 400px;
    height: 250px;
}

.content-section-text {
    max-width: 100%;
    padding: 0;
}

.content-section-title {
    font-size: 22px;
    margin-bottom: 15px;
}

.content-section-description {
    font-size: 15px;
    margin-bottom: 25px;
}

.content-section-button {
    padding: 10px 20px;
    font-size: 14px;
}

/* ◆◆◆ フッター詳細スタイル ◆◆◆ */
.site-footer {
    background: white;
    padding: 20px 0 0 0;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* ◆◆◆ フッターブランディング ◆◆◆ */
.footer-branding {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
}

.footer-logo {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
}

.footer-logo h3 {
    font-size: 14px;
    font-weight: bold;
    color: var(--primary-blue);
    margin: 0;
    line-height: 1.2;
    flex-shrink: 0;
}

.footer-company-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.footer-logo img {
    width: 30px;
    height: 30px;
    object-fit: contain;
    flex-shrink: 0;
}



.footer-company-info p {
    font-size: 10px;
    color: var(--primary-blue);
    margin: 0;
    line-height: 1.4;
    text-align: center;
    max-width: 100%;
}



/* ◆◆◆ フッター営業所情報 ◆◆◆ */
.footer-contact {
    border-top: 1px solid #ddd;
    width: 100%;
    overflow-x: hidden;
}

.footer-office {
    text-align: left;
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-word;
    max-width: 100%;
}

.footer-office .office-address-line,
.footer-office .office-tel,
.footer-office .office-fax {
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-word;
    display: inline-block;
    max-width: 100%;
}

/* ◆◆◆ フッター営業所詳細（3エリア構成） ◆◆◆ */
.site-footer .footer-contact>.footer-office {
    padding: 30px 0;
    border-top: 1px solid #ddd;
}

.site-footer .footer-contact>.footer-office:first-child {
    border-top: none;
}

.site-footer .footer-contact .office-name {
    display: flex;
    align-items: center;
    gap: 5px;
}

.site-footer .footer-contact .office-name::before {
    content: "";
    width: 15px;
    height: 15px;
    background: transparent linear-gradient(134deg, var(--gradient-start) 0%, var(--gradient-mid1) 55%, var(--gradient-end) 100%) 0% 0% no-repeat padding-box;
    ;
    border-radius: 50%;
}

.site-footer .footer-contact .office-address-block {
    margin-bottom: 20px;
}

.site-footer .footer-contact .office-address-row .office-address-line {
    font-size: 12px;
}

.site-footer .footer-contact .office-contact-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0 10px;
    font-size: 12px;
}

.site-footer .footer-contact .office-contact-row .office-tel,
.site-footer .footer-contact .office-contact-row .office-fax {
    white-space: nowrap;
}

/* ◆◆◆ フッターオフィス情報の電話番号・FAX番号自動リンク無効化 ◆◆◆ */
/* スマートフォンでの電話番号・FAX番号の自動リンク化を防止 */
.footer-office .office-tel,
.footer-office .office-fax {
    pointer-events: none;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    color: inherit !important;
    text-decoration: none !important;
}

.footer-office .office-tel a,
.footer-office .office-fax a {
    pointer-events: none !important;
    color: inherit !important;
    text-decoration: none !important;
}

/* iOS Safariの電話番号自動検出を無効化 */
.footer-contact {
    -webkit-text-size-adjust: none;
}

.footer-offices .office-contact-row {
    -webkit-text-size-adjust: none;
}

.site-footer .footer-contact .office-map {
    margin-top: 12px;
}

.site-footer .footer-contact .office-map .map-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-green);
    text-decoration: underline;
    font-weight: 400;
}

.office-name {
    font-size: 14px;
    font-weight: 400;
    color: #000;
    margin: 0 0 20px 0;
}

.office-address {
    font-size: 12px;
    color: #000;
    margin: 0 0 8px 0;
}

.office-contact {
    font-size: 14px;
    color: #333;
    margin: 0 0 15px 0;
    line-height: 1.4;
}

.map-link {
    display: inline-flex;
    align-items: center;
    color: var(--primary-color);
    text-decoration: underline;
    font-size: 14px;
    transition: color 0.3s ease;
}

.map-icon {
    display: inline-block;
    width: 20px;
    height: 20px;
}

/* ◆◆◆ フッターボトム（コピーライト） ◆◆◆ */
.footer-bottom {
    margin-top: 30px;
    background: linear-gradient(90deg, var(--primary-color) 0%, #1CA26C 50%, var(--secondary-blue) 100%);
    padding: 8px 0;
    text-align: center;
    border: 1px solid #90EE90;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-bottom .container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.copyright {
    color: white;
    font-size: 10px;
    margin: 0;
    line-height: 1.4;
    text-align: center;
    font-weight: normal;
}

/* ◆◆◆ フッターレスポンシブ（モバイルファースト） ◆◆◆ */
.footer-nav-columns {
    grid-template-columns: 1fr;
}

/* ◆◆◆ フッター営業所レスポンシブ ◆◆◆ */

.footer-branding {
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.office-name {
    font-size: 14px;
}

.office-address,
.office-contact {
    font-size: 12px;
}

.map-link {
    font-size: 12px;
}

.footer-nav-column h4 {
    font-size: 14px;
}

.footer-nav-column a {
    font-size: 12px;
}

/* ◆◆◆ アクセシビリティ・プリント ◆◆◆ */

/* ◆◆◆ アニメーション軽減 ◆◆◆ */

/* ◆◆◆ プリントスタイル ◆◆◆ */

/* ◆◆◆ ケーススタディページ ◆◆◆ */
.case-study-hero-section {
    padding: 40px 0;
}

.case-study-hero-content {
    text-align: center;
    margin: 0 auto;
}

/* ◆◆◆ ケーススタディヒーロー要素 ◆◆◆ */
.case-study-hero-title {
    font-size: 18px;
    position: relative;
    margin-bottom: 50px;
    font-weight: 700;
    line-height: calc(30/18);
    letter-spacing: 0.9px;
    font-family: var(--font-family-times);
}

/* ◆◆◆ タイトル装飾横線 ◆◆◆ */
.case-study-hero-title::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 2px;
    background-color: var(--secondary-blue);
}

/* ◆◆◆ ヒーローサブタイトル・画像 ◆◆◆ */
.case-study-hero-subtitle {
    font-size: 12px;
    margin-bottom: 30px;
    line-height: calc(20 / 12);
    letter-spacing: 0.6px;
}

/* ◆◆◆ ヒーロー画像 ◆◆◆ */
.case-study-hero-image {
    margin-bottom: 20px;
    text-align: center;
}

.case-study-hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* ◆◆◆ ヒーローアイキャッチ画像 ◆◆◆ */
.case-study-hero-featured-image {
    margin-bottom: 30px;
    text-align: center;
}

.case-study-hero-featured-image img {
    max-width: none;
    width: 100%;
    height: auto;
    max-height: 410px;
    border-radius: 10px;
    object-fit: cover;
}

/* ◆◆◆ ヒーローベネフィット ◆◆◆ */
.case-study-benefits-section {
    padding-bottom: 40px;
}

.case-study-hero-benefits {
    display: flex;
    flex-direction: column;
    margin: 0 auto 20px;
    max-width: 650px;
}

/* ◆◆◆ メリットタイトル ◆◆◆ */
.case-study-benefits-title {
    font-size: 14px;
    color: var(--secondary-blue);
    margin: 0 auto 15px;
    min-width: 250px;
    font-weight: 700;
    text-align: center;
    font-family: var(--font-family-times);
    border: 1px solid var(--secondary-blue);
    padding: 10px;
    border-radius: 99px;
    letter-spacing: 0.9px;
    line-height: 1.4;
}

/* ◆◆◆ メリット下向き三角形 ◆◆◆ */
.case-study-benefits-arrow {
    display: flex;
    justify-content: center;
}

.arrow-triangle {
    width: 80px;
    height: 20px;
    background-color: var(--secondary-blue);
    clip-path: polygon(0% 0%, 50% 100%, 100% 0%);
}

/* ◆◆◆ メリットまとめ ◆◆◆ */
.case-study-benefits-summary {
    display: flex;
    align-items: center;
    gap: 20px;
    background-color: #2778961A;
    padding: 20px;
    border-radius: 999px;
}

.case-study-summary-icon {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.case-study-summary-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.solution-text {
    font-size: 14px;
    font-weight: 700;
    color: var(--secondary-blue);
    line-height: calc(24 / 14);
    letter-spacing: -0.14px;
    text-align: left;
    margin-left: 12px;
}

.case-study-summary-content {
    flex: 1;
    margin: 0;
    font-size: 14px;
    font-weight: 700;
    color: var(--secondary-blue);
    line-height: calc(24 / 14);
    letter-spacing: -0.14px;
    text-align: left;
}

/* ◆◆◆ セクションタイトル ◆◆◆ */
.case-study-section-title {
    font-size: 16px;
    line-height: calc(28/16);
    padding: 12px 0 12px 12px;
    border-top: 1px dashed var(--secondary-blue);
    border-bottom: 1px dashed var(--secondary-blue);
    position: relative;
    margin-bottom: 20px;
    font-weight: 700;
    font-family: var(--font-family-times);
}

.case-study-examples-section-2 .case-study-section-title {
    border: none !important;
}

/* ケーススタディセクションタイトルの縦線 */
.case-study-section-title::after {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: calc(100% - 24px);
    background-color: var(--secondary-blue);
}

/* メニュータイトル縦線 */
.case-study-examples-menu-title::after {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: calc(100% - 24px);
    background-color: var(--secondary-blue);
}

/* ◆◆◆ セクションディスクリプション ◆◆◆ */
.case-study-section-description {
    font-size: 14px;
    margin-bottom: 20px;
    letter-spacing: 1.4px;
    line-height: calc(24 / 14);
}

/* ◆◆◆ 事例ページ内メニュー ◆◆◆ */
.case-study-examples-menu {
    margin-bottom: 30px;
}

.case-study-examples-menu-title {
    font-size: 16px;
    color: var(--secondary-blue);
    padding: 12px 0 12px 12px;
    margin-bottom: 20px;
    font-weight: 700;
    font-family: var(--font-family-times);
    position: relative;
    letter-spacing: 1.6px;
    line-height: calc(28 / 16);
}

.case-study-examples-menu-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* ◆◆◆ PC用事例メニュー ◆◆◆ */


.case-study-examples-menu-item {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
    padding: 0 0 20px;
    border-bottom: 1px solid var(--secondary-blue);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.case-study-examples-menu-item:hover {
    background-color: #f8f9fa;
}

.case-study-examples-menu-image {
    flex-shrink: 0;
    width: 100%;
    height: auto;
    aspect-ratio: 3/2;
    border-radius: 8px;
    overflow: hidden;
}

.case-study-examples-menu-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 280/184;
}

.case-study-examples-menu-content {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: center;
}

.case-study-examples-menu-number {
    flex-shrink: 0;
    width: 25px;
    height: 25px;
    background-color: var(--secondary-blue);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
}

.case-study-examples-menu-item-title {
    flex: 1;
    font-size: 16px;
    color: #000;
    font-weight: 500;
}

/* ◆◆◆ 事例アイテム ◆◆◆ */
.case-study-example-item {
    border: 1px solid var(--secondary-blue);
    border-radius: 10px;
    background-color: #f9f9f9;
    padding: 20px;
    margin-bottom: 50px;
}

.case-study-example-outer-cards {
    margin-bottom: 50px;
}

/* ◆◆◆ 事例コンテンツ ◆◆◆ */
.case-study-example-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--secondary-blue);
}

/* ◆◆◆ 画像なしレイアウト ◆◆◆ */
.case-study-example-item[data-image-count="0"] .case-study-example-content {
    flex-direction: column;
    gap: 30px;
}

/* ◆◆◆ 空コンテンツ表示 ◆◆◆ */
.case-study-empty-content {
    padding: 20px;
    text-align: center;
    color: #666;
    font-style: italic;
    background-color: #f0f0f0;
    border-radius: 8px;
}

/* ◆◆◆ コモンカード（事例横並びの別ブロック） ◆◆◆ */
.case-study-common-cards {
    margin-top: 16px;
}

.case-study-common-cards-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--secondary-blue);
    text-align: center;
}

.case-study-common-cards-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.case-study-common-card-item {
    background: #fff;
    border: 1px solid var(--secondary-blue);
    border-radius: 8px;
    padding: 20px;
}

.case-study-common-card-image {
    margin-bottom: 20px;
    aspect-ratio: 375/258;
    object-fit: contain;
    width: 100%;
}

.case-study-common-card-image img {
    border-radius: 10px;
    height: 100%;
    object-fit: cover;
    margin: 0 auto;
}

.case-study-common-card-title {
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--secondary-blue);
}

.case-study-common-card-text {
    font-size: 14px;
    line-height: calc(26/14);
    letter-spacing: 0.7px;
}



/* ◆◆◆ 1枚画像レイアウト ◆◆◆ */
.case-study-example-item[data-image-count="1"] .case-study-example-content {
    flex-direction: column;
    align-items: flex-start;
}

.case-study-example-item[data-image-count="1"] .case-study-example-images {
    flex: 1;
    width: 100%;
    max-width: 100%;
}

.case-study-example-item[data-image-count="1"] .case-study-problem-solution-group {
    flex: 1;
    max-width: 100%;
}

/* PC用横並びレイアウト */


/* ◆◆◆ 次例画像 ◆◆◆ */
.case-study-example-next-images {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
}

.case-study-example-next-image {
    flex: 1;
    min-width: 200px;
    position: relative;
}

.case-study-example-next-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    display: block;
}

/* ◆◆◆ 事例画像 ◆◆◆ */
.case-study-example-images {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.case-study-example-image {
    flex: 1;
    min-width: 150px;
}

.case-study-example-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    display: block;
    aspect-ratio: 425/279;
    object-fit: cover;
}

.case-study-example-image-with-caption {
    position: relative;
}

.case-study-image-caption {
    position: absolute;
    bottom: 0px;
    right: 0px;
    background-color: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 8px 12px;
    border-radius: 10px 0 10px 0;
    font-size: 16px;
    line-height: 1.4;
    min-width: 150px;
    text-align: center;
}

/* ◆◆◆ プロブレム・ソリューション ◆◆◆ */
.case-study-problem-solution-group {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.case-study-problem-section,
.case-study-solution-section {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    text-align: center;
}

.case-study-problem-icon,
.case-study-solution-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.case-study-problem-icon img,
.case-study-solution-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.case-study-problem-content,
.case-study-solution-content {
    max-width: 600px;
    font-size: 12px;
    letter-spacing: 0.6px;
    line-height: calc(20/12);
    margin: 0;
    text-align: left;
}



/* ◆◆◆ 施工方法 ◆◆◆ */
.case-study-methods-section {
    margin-top: 30px;
}

.case-study-methods-gallery {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

/* ◆◆◆ PC用施工方法 ◆◆◆ */


.case-study-method-item {
    display: flex;
    flex-direction: column;
    gap: 20px;
    border-radius: 10px;
    background-color: #fff;
}

.case-study-method-image {
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
}

.case-study-method-image img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 280/184;
    object-fit: cover;
}

.case-study-method-title {
    font-size: 15px;
    font-weight: 700;
    padding-bottom: 20px;
    margin-bottom: 0px;
    ;
    border-bottom: 1px solid var(--secondary-blue);
}

.case-study-method-description {
    font-size: 15px;
    ;
    letter-spacing: 0.6px;
    line-height: calc(20/15);
    margin: 0;
    text-align: left;
}

.case-study-example-next-image::before {
    content: attr(data-number);
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: rgba(39, 120, 150, 0.8);
    color: white;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 700;
    z-index: 1;
}

/* ◆◆◆ 事例タイトル ◆◆◆ */
.case-study-example-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.case-study-example-title {
    position: relative;
    background-color: var(--secondary-blue);
    border-radius: 999px;
    padding: 5px 45px;
    margin-bottom: 0;
    min-width: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    width: fit-content;
    font-size: 14px;
    letter-spacing: 1.4px;
    line-height: calc(26/14);
    color: white;
    font-weight: 700;
    border-bottom: 1px solid var(--secondary-blue);
}

.case-study-example-title::before {
    position: absolute;
    top: 50%;
    left: 5px;
    transform: translateY(-50%);
    content: attr(data-number);
    background-color: #FFF;
    color: var(--secondary-blue);
    border-radius: 50%;
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    flex-shrink: 0;
}

.case-study-example-subtitle {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1.4px;
    color: var(--secondary-blue);
}

.case-study-benefit-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 10px;
    margin-bottom: 20px;
    border-bottom: 1px dashed var(--secondary-blue);
    text-align: left;
}

.case-study-benefit-icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.case-study-benefit-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.case-study-benefit-item p {
    margin: 0;
    font-size: 14px;
    flex: 1;
}

/* ◆◆◆ ヒーローハイライト ◆◆◆ */
.case-study-hero-highlight {
    background-color: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-top: 30px;
}

.case-study-highlight-bar {
    width: 4px;
    height: 40px;
    background-color: var(--secondary-blue);
    margin-bottom: 15px;
}

.case-study-highlight-content {
    display: flex;
    align-items: center;
    gap: 10px;
}

.case-study-highlight-icon {
    flex-shrink: 0;
    font-size: 20px;
}

.case-study-highlight-content p {
    margin: 0;
    font-size: 14px;
    font-weight: 500;
}

.case-study-last-text {
    margin-top: 50px;
    font-size: 16px;
    line-height: calc(32/16);
    letter-spacing: 1.6px;
}

/* ◆◆◆ ケーススタディパンくずリスト ◆◆◆ */
.case-study-breadcrumb-section {
    background-color: #fff;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.case-study-breadcrumb-nav {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

.case-study-breadcrumb-nav a {
    color: var(--secondary-blue);
    text-decoration: none;
}

.case-study-breadcrumb-nav a:hover {
    text-decoration: underline;
}

.breadcrumb-separator {
    color: #999;
}

.current-page {
    font-weight: 500;
}

/* ◆◆◆ パンくずリストのホーム画像サイズ ◆◆◆ */
.breadcrumb-nav a img,
.case-study-breadcrumb-nav a img {
    width: 10px;
    height: 10px;
}

/* ◆◆◆ パンくずリストのフォントサイズ ◆◆◆ */
.breadcrumb-nav,
.case-study-breadcrumb-nav {
    font-size: 10px;
}

/* ◆◆◆ ページタイトルセクション ◆◆◆ */
.page-title-section {
    background: var(--primary-color);
    margin-bottom: 0;
    height: 80px;
    display: flex;
    align-items: center;
}

.page-title-content {
    text-align: center;
    color: white;
}

.page-title {
    font-size: 20px;
    font-weight: 400;
    font-family: var(--font-family-times);
    margin: 0;
    color: white;
    line-height: 1.3;
    letter-spacing: 1px;
}

.page-subtitle {
    font-size: 10px;
    margin: 0;
    color: white;
    opacity: 0.9;
    line-height: 1.4;
    letter-spacing: 1px;
}

/* PC用スタイル */


/* ◆◆◆ 会社情報ページスタイル ◆◆◆ */
.company-page {
    background-color: #fff;
}

/* ヒーローセクション */
.page-hero-section {
    position: relative;
    height: 50vh;
    min-height: 300px;
    overflow: hidden;
}

.page-hero-image {
    position: relative;
    width: 100%;
    height: 100%;
}

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

.page-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #00000080;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-hero-content {
    text-align: center;
    color: #fff;
    max-width: 800px;
    padding: 0 20px;
}

.page-hero-description {
    font-size: 18px;
    line-height: calc(30/16);
    color: #fff;
    letter-spacing: 0.8px;
}

/* 内部ナビゲーション */
.internal-nav-section {
    padding: 50px 0 70px;
    border-bottom: none;
}

.internal-nav {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px 25px;
    align-items: center;
    justify-items: center;
}

.internal-nav .nav-link:nth-child(n+9),
.internal-nav .nav-separator:nth-child(n+9) {
    display: none;
}

.nav-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    padding-bottom: 10px;
    border-bottom: 1px solid #ddd;
}

.nav-link:hover {}

.nav-separator {
    display: flex;
    align-items: center;
}

.nav-text {
    font-size: 14px;
    color: #000;
}

.nav-arrow {
    font-size: 0.8rem;
    color: #FFF;
    transition: transform 0.3s;
    background: linear-gradient(134deg, var(--gradient-start) 0%, var(--gradient-mid1) 55%, var(--gradient-mid2) 100%);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}



/* セクション共通 */
.message-section,
.history-section,
.profile-section,
.access-section {
    padding: 30px 0;
}

.section-button {
    text-align: center;
    margin-bottom: 25px;
}


/* メッセージセクション */
.message-content {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.message-image {
    width: 100%;
    height: 350px;
}

.message-image img {
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.message-text {
    text-align: center;
    margin-top: 10px;
}

.message-intro {
    font-family: var(--font-family-times);
    font-size: 20px;
    font-weight: 400;
    color: var(--primary-blue);
    text-align: center;
    letter-spacing: 1px;
    margin-bottom: 0;
}

.message-detail p {
    font-size: 12px;
    line-height: calc(30/12);
    margin-bottom: 12px;
    text-align: left;
    letter-spacing: 0.6px;
    /*     word-break: keep-all;
    overflow-wrap: anywhere;
    white-space: normal; */
}

/* タイムラインセクション */
.history-section {}

/* 統合: .section-title は上位の共通定義へ集約（フォント・色・余白・整列） */

.section-title h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
}

.page-section-title {
    text-align: center;
    margin-bottom: 50px;
}

.page-section-title h2 {
    font-size: 14px;
    font-weight: 400;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    border-radius: 999px;
    width: 200px;
    height: 40px;
    background: linear-gradient(101deg, #269636 0%, #1ca26c 55%, #277896 100%);
    box-shadow: none;
}

.history-intro {
    text-align: center;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.history-intro p {
    font-size: 12px;
    line-height: calc(30/12);
    margin: 0;
    text-align: center;
    letter-spacing: 0.6px;
    word-break: keep-all;
    overflow-wrap: anywhere;
    white-space: normal;
}

.timeline {
    position: relative;
    padding: 50px 0 30px 30px;
}

.timeline::before {
    content: "";
    position: absolute;
    top: 0;
    left: 10px;
    width: 1px;
    height: 100%;
    background: #ddd;
    border-radius: 2px;
}

.timeline-item {
    display: flex;
    align-items: flex-start;
    position: relative;
    margin-bottom: 40px;
    min-height: 40px;
}

.timeline-bullet {
    width: 20px;
    height: 20px;
    background: linear-gradient(180deg,
            var(--gradient-start) 0%,
            var(--gradient-mid1) 55%,
            var(--gradient-mid2) 100%);
    border-radius: 50%;
    position: absolute;
    left: -30px;
    top: 0;
    z-index: 1;
    box-sizing: border-box;
}

.timeline-year {
    font-weight: bold;
    font-size: 18px;
    margin-bottom: 10px;
    line-height: 1;
}

.timeline-info-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.timeline-description,
.timeline-detail {
    font-size: 12px;
}

/* 会社概要セクション */
.profile-row {
    display: flex;
    flex-direction: column;
    gap: 8px;
    border-bottom: 1px solid #ddd;
    padding: 20px;
}

.profile-row:first-child {
    border-top: 1px solid #ddd;
}

.profile-label {
    font-weight: 600;
    font-size: 12px;
}

.profile-value {
    font-size: 12px;
    line-height: calc(30/12);
    letter-spacing: 0.6px;
}

.profile-value p {
    font-size: 12px;
    line-height: calc(30/12);
    letter-spacing: 0.6px;
    margin-bottom: 0;
}

.business-categories {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.business-category strong {
    font-size: 0.8rem;
    display: block;
    margin-bottom: 4px;
}

.business-category p {
    font-size: 0.7rem;
    margin: 0;
}

/* アクセスセクション */
.access-section {}

.access-grid {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.access-card {
    background-color: var(--medium-gray);
    border: var(--border-width-thin) solid var(--primary-green);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    padding: 30px;
    position: relative;
    z-index: 1;
}

.access-bullet {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 15px;
    height: 15px;
    background: linear-gradient(134deg, var(--gradient-start) 0%, var(--gradient-mid1) 55%, var(--gradient-mid2) 100%);
    border-radius: 50%;
}

.access-header {
    display: flex;
    align-items: center;
    padding: 18px;
    background-color: var(--primary-green);
    color: #fff;
}

.access-title {
    font-size: 14px;
    font-weight: 400;
    margin: 0 0 20px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.access-info {
    margin-bottom: 20px;
}

.access-info p {
    font-size: 12px;
    line-height: calc(20/12);
    margin-bottom: 0;
}

.access-map {
    width: 100%;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    position: relative;
    z-index: 1;
}

.access-map iframe {
    width: 100%;
    height: 100%;
    border: none;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    pointer-events: auto;
}

/* ◆◆◆ 採用情報ページ・配布ページ専用オレンジ背景スタイル ◆◆◆ */
.recruitment-page .nav-arrow {
    background: var(--orange);
}

.recruitment-page .page-section-title h2 {
    background: var(--orange);
}

/* ◆◆◆ 採用ページメッセージセクション ◆◆◆ */
.message-section {
    padding: 80px 0;
}

.recruitment-message-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
    position: relative;
}

.recruitment-message-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.recruitment-message-image {
    width: 100%;
    order: 1;
}

.recruitment-message-image img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius-md);
}

.recruitment-message-text {
    order: 2;
}

.recruitment-message-title {
    font-size: 18px;
    line-height: calc(37/18);
    letter-spacing: 0.05em;
    margin: 0;
    font-weight: bold;
}

.recruitment-message-detail {
    font-size: 16px;
    line-height: calc(37/16);
    letter-spacing: 0.05em;
    margin: 0;
}

#attraction.message-section {
    background: var(--medium-gray);
}

/* ◆◆◆ 福利厚生セクション ◆◆◆ */
.recruitment-benefits-section {
    padding: 80px 0;
}

.recruitment-benefits-section .page-section-title h2 {
    background: var(--orange);
}

.recruitment-benefits-intro {
    text-align: center;
    margin: 30px 0 50px 0;
}

.recruitment-benefits-intro p {
    font-size: 16px;
    line-height: calc(37/16);
    letter-spacing: 0.05em;
    margin: 0;
}

.recruitment-benefits-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.recruitment-benefit-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 15px;
    padding: 50px 20px;
    background: #fff;
    border-radius: 10px;
    border: 1px solid var(--orange);
}

.recruitment-benefit-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 2px solid var(--orange);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    /* アイコン画像用のスペース - 後で画像を設定 */
}

.recruitment-benefit-icon img {
    width: 40px;
    height: auto;
    aspect-ratio: 1 /1;
}

.recruitment-benefit-text {
    width: 100%;
}

.recruitment-benefit-title {
    font-size: 14px;
    line-height: calc(24/14);
    letter-spacing: 0.05em;
    color: var(--orange);
    font-weight: 700;
    margin: 0 0 10px 0;
}

.recruitment-benefit-description {
    font-size: 14px;
    line-height: calc(25/14);
    margin: 0;
}


/* ◆◆◆ 募集要項セクション ◆◆◆ */
.recruitment-requirements-section {
    padding: 80px 0;
    background: var(--medium-gray);
}

.recruitment-requirements-section .page-section-title h2 {
    background: var(--orange);
}

.recruitment-requirements-intro {
    text-align: center;
}

.recruitment-requirements-intro p {
    font-size: 18px;
    line-height: calc(30/18);
    letter-spacing: 0.9px;
    color: var(--orange);
    font-weight: 700;
    margin: 0;
}

.recruitment-requirements-content {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.recruitment-requirements-group {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.recruitment-requirements-table {
    width: 100%;
}

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

.requirements-row {
    display: block;
    padding: 6px 20px;
    border-bottom: 1px solid #ddd;
}

.requirements-row:first-child {
    border-top: 1px solid #ddd;
}

.requirements-title,
.requirements-content {
    display: block;
    width: 100%;
    text-align: left;
    vertical-align: top;
    font-size: 12px;
    line-height: calc(30/12);
    letter-spacing: 0.6px;
}

.requirements-title {
    font-weight: bold;
    border-bottom: none;
}

.requirements-content p {
    margin: 0 0 10px 0;
}

.requirements-content p:last-child {
    margin-bottom: 0;
}

.recruitment-requirements-button {
    text-align: center;
    margin-top: 50px;
}

.recruitment-requirements-button .gradient-button {
    background: var(--orange) !important;
}



/* ◆◆◆ お問い合わせフォーム ◆◆◆ */

.contact-main-content {
    padding: 60px 0;
}

.contact-intro {
    text-align: center;
    margin-bottom: 40px;
}

.contact-intro p {
    /*     font-size: 14px;
    line-height: calc(25/14);
    letter-spacing: 0.7px; */
    font-size: 16px;
    line-height: calc(37 / 16);
    letter-spacing: 0.6px;
    margin: 0;
}

.contact-intro p:last-child {
    margin-bottom: 0;
}

.entry-sheet-section {
    text-align: center;
    margin: 40px 0;
}

.entry-sheet-button {
    display: inline-flex;
    align-items: center;
    gap: 20px;
    background: transparent;
    color: var(--primary-green);
    text-decoration: none;
    padding: 12px 24px;
    border: 2px solid var(--primary-green);
    border-radius: 10px;
    font-size: 14px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}


.download-icon {
    width: 20px;
    height: 20px;
}

.phone-contact-section {
    text-align: center;
    margin: 40px 0;
}

.phone-contact-box {
    display: inline-block;
    padding: 20px;
    width: 100%;
    border-radius: 10px;
    border: 2px solid #ddd;
    text-align: center;
}

.phone-top-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 10px;
}

.phone-icon {
    width: 30px;
    height: 30px;
    color: #28a745;
    flex-shrink: 0;
}

.phone-number {
    font-size: 20px;
    font-weight: bold;
    letter-spacing: 1px;
    margin: 0;
    color: var(--primary-green);
}

.phone-bottom-row {
    text-align: center;
}

.reception-hours {
    font-size: 14px;
    letter-spacing: 0.7px;
    margin: 0;
}

.contact-form-section {
    margin: 0 auto;
    background: white;
    border-radius: 10px;
}

.form-field {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 20px;
    border-bottom: 1px solid #ddd;
}

.form-field:first-of-type {
    border-top: 1px solid #ddd;
}

.form-field br,
.form-field p {
    display: none;
}

.field-label {
    display: block;
    font-size: 12px;
    line-height: calc(30/12);
    letter-spacing: 0.6px;
    font-weight: bold;
    margin-bottom: 0;
}

.required-mark,
.optional-mark {
    color: white;
    font-size: 10px;
    padding: 5px 10px;
    border-radius: 99px;
    margin-left: 8px;
    font-weight: normal;
}

.required-mark {
    background: var(--primary-green);
}

.optional-mark {
    background: #ddd;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 2.5px 12px;
    border: none;
    border-radius: 5px;
    font-size: 12px;
    line-height: calc(30/12);
    letter-spacing: 0.6px;
    background: white;
    box-sizing: border-box;
    background-color: var(--medium-gray);
}

.form-select {
    padding-right: 40px;
    padding-left: 15px;
    background: var(--medium-gray) url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 18 18'%3e%3cpath stroke='%23000000' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m6 8 4 4 4-4'/%3e%3c/svg%3e") no-repeat;
    background-position: calc(100% - 12px) center;
    background-size: 16px 16px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: #28a745;
}

.form-submit input[type="submit"] {
    cursor: pointer;
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.radio-group {
    display: flex;
    flex-direction: column;
}

.radio-group label {
    display: flex;
    align-items: center;
    font-weight: normal;
    cursor: pointer;
    font-size: 12px;
    line-height: calc(30/12);
    letter-spacing: 0.6px;
}

.mwform-radio-field input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border: 1px solid #ddd;
    border-radius: 50%;
    outline: none;
    cursor: pointer;
    position: relative;
}

.mwform-radio-field input[type="radio"]:checked::before {
    content: "";
    display: block;
    width: 10px;
    height: 10px;
    background-color: var(--primary-green);
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.file-upload-section {
    display: flex;
    align-items: center;
    margin-top: 8px;
}

.file-upload-section input {
    padding: 0;
}

/* ファイルアップロードボタンのスタイル */
.file-upload-section input[type="file"] {
    background: transparent;
    display: flex;
    align-items: center;
    gap: 15px;
}

/* ファイル選択ボタンのテキスト部分 */
.file-upload-section input[type="file"]::-webkit-file-upload-button,
.file-upload-section input[type="file"]::-moz-file-upload-button {
    background: white !important;
    border: 2px solid #4CAF50 !important;
    color: #4CAF50 !important;
    border-radius: 5px !important;
    font-size: 12px !important;
    cursor: pointer !important;
    padding: 8px 12px !important;
    width: min(50%, 200px) !important;
    margin-right: 15px !important;
}


input[name="attachment"]::-webkit-file-upload-button,
.mw_wp_form input[type="file"]::-webkit-file-upload-button {
    background: white !important;
    border: 2px solid #4CAF50 !important;
    color: #4CAF50 !important;
    border-radius: 5px !important;
    font-size: 12px !important;
    cursor: pointer !important;
    padding: 8px 12px !important;
    width: min(50%, 200px) !important;
    margin-right: 15px !important;
}

.form-submit {
    text-align: center;
    margin-top: 30px;
}

.mw_wp_form .horizontal-item+.horizontal-item {
    margin-left: 0;
}

.contact-complete-section {
    text-align: center;
}

.complete-title {
    font-size: 18px;
    line-height: calc(30/18);
    letter-spacing: 0.9px;
    color: var(--primary-green);
    font-weight: 700;
    margin-bottom: 50px;
}

.complete-message {
    margin-bottom: 50px;
}

.complete-message p {
    margin-bottom: 0;
    font-size: 14px;
    line-height: calc(25/14);
    letter-spacing: 0.7px;
}

/* ==============================================
   仕様書セクション - Specifications Section
   ============================================== */

/* 仕様書セクション */
.case-study-specifications-section {
    margin: 30px 0 50px;
}

.case-study-specifications-buttons {
    display: flex;
    justify-content: center;
}

.case-study-specifications-button {
    background: var(--secondary-blue);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
}

.specifications-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    display: none;
}

.specifications-modal.active {
    display: flex !important;
    align-items: center;
    justify-content: center;
}

.specifications-modal-content {
    position: relative;
    background: white;
    border-radius: 8px;
    margin: auto;
    overflow: hidden;
    width: 80%;
    height: 80%;
}

.specifications-modal-close {
    position: absolute;
    top: 10px;
    right: 15px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
}

.specifications-gallery-item {
    display: none;
    text-align: center;
}

.specifications-gallery-item.active {
    display: flex !important;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}



.specifications-gallery-item img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.specifications-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 13px;
}

.specifications-prev {
    left: 5px;
}

.specifications-next {
    right: 5px;
}

.specifications-gallery-counter {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: bold;
    z-index: 15;
}

/* ========================================
   採用ページ
   ======================================== */


.recruitment-message-intro p {
    /*     font-size: 12px;
    line-height: calc(30/12);
    letter-spacing: 0.05em; */
    font-size: 16px;
    line-height: calc(37 / 16);
    letter-spacing: 0.6px;
    text-align: center;
}

/* 会社統計セクション - モバイル */
.company-stats-section {
    background: var(--medium-gray);
    padding: var(--spacing-3xl) 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
    margin: var(--spacing-xl) 0;
    max-width: var(--container-max-width);
    margin-left: auto;
    margin-right: auto;
}


.stat-item {
    background: var(--background-color);
    padding: 50px 30px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
}

/* 1. 最上部: スタッツタイトル */
.stat-title {
    font-size: 18px;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: bold;
    letter-spacing: 0.05em;
    color: var(--orange);
    margin-bottom: 30px;
    text-align: center;
}

/* 2. 中央: 画像とスタッツナンバー・ラベル（横並び） */
.stat-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
    flex: 1;
}

.stat-image {
    width: 100px;
    height: 100px;
    overflow: hidden;
}

.stat-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.stat-text {
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

/* 1行目と4行目: 横並び (Mobile & PC) */
.stats-grid .stat-item:nth-child(1) .stat-text,
.stats-grid .stat-item:nth-child(2) .stat-text,
.stats-grid .stat-item:nth-child(7) .stat-text,
.stats-grid .stat-item:nth-child(8) .stat-text,
.stats-grid .stat-item:nth-child(9) .stat-text {
    display: flex;
    flex-direction: row;
    align-items: baseline;
}

/* 2行目: 縦並び (Mobile & PC) */
.stats-grid .stat-item:nth-child(3) .stat-text,
.stats-grid .stat-item:nth-child(4) .stat-text,
.stats-grid .stat-item:nth-child(5) .stat-text {
    display: flex;
    flex-direction: column;
    align-items: center;
}


.stat-number {
    font-size: 50px;
    font-weight: bold;
    color: var(--orange);
    line-height: calc(50/47);
}

.stats-grid .stat-item:nth-child(1) .stat-number,
.stats-grid .stat-item:nth-child(2) .stat-number {
    font-size: 80px;
}

.stat-unit {
    font-size: 20px;
    color: #000000;
    font-weight: 600;
}

/* 3. 最下部: ディスクリプション */
.stat-description {
    font-size: 16px;
    line-height: calc(30/16);
    letter-spacing: .05em;
    color: #000000;
    text-align: center;
    margin-top: auto;
}

/* 人員構成のワイドカード */
.stat-item-wide {
    padding: var(--spacing-xl) var(--spacing-lg);
}

.age-charts {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 50px 0;
    margin-bottom: 30px;
}

.age-chart-item {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.age-chart-label {
    font-size: 14px;
    color: var(--orange);
    font-weight: 500;
    order: 1;
}

.age-chart-image {
    width: 100px;
    height: 100px;
    overflow: hidden;
    order: 2;
}

.age-chart-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.age-chart-percentage {
    display: flex;
    align-items: baseline;
    gap: 2px;
    order: 3;
}

.age-chart-number {
    font-size: 30px;
    font-weight: bold;
    color: var(--orange);
}

.age-chart-symbol {
    font-size: 14px;
    font-weight: normal;
    color: #000;
}

/* ◆◆◆ 作業動画 ◆◆◆ */
.case-study-video-container {
    padding:0 20px;
}
.case-study-video-container video {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 280/184;
    object-fit: cover;
    border-radius: 10px;
    background-color: #000;
}
