:root {
    /* Color Palette */
    --primary-gradient: linear-gradient(135deg, #f39800 0%, #e60012 100%);
    --primary-color: #f39800;
    --secondary-color: #1a1a1a;
    --text-color: #333333;
    --text-muted: #666666;
    --bg-color: #ffffff;
    --header-bg: #ffffff; /* 白に変更 */
    --header-height: 80px;
    
    /* Typography */
    --font-main: 'Inter', 'Noto Sans JP', sans-serif;
    
    /* Spacing */
    --container-width: 1200px;
    --section-padding: 80px 0;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
}

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

body {
    font-family: var(--font-main);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--bg-color);
}

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

ul {
    list-style: none;
}

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

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.container-full {
    width: 100%;
    margin: 0;
    padding: 0;
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background: var(--header-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition-normal);
}

.header .container {
    max-width: 100%;
    padding: 0;
}

.header.scrolled {
    background: #ffffff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

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

.mobile-menu-toggle {
    display: none;
}

.logo {
    margin-left: 40px;
    display: flex;
    align-items: center;
}

.logo img {
    height: 40px;
    width: auto;
}

.nav {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

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

.nav-link {
    font-size: 0.95rem;
    font-weight: 700;
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
    padding: 5px 0;
    position: relative;
}

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

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

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.header-cta {
    display: flex;
    align-items: center;
    height: 100%;
    margin-left: auto;
}

.header-phone {
    margin-right: 30px;
    text-align: right;
    color: var(--secondary-color);
}

.phone-top {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    line-height: 1;
    margin-bottom: 4px;
}

.phone-icon {
    color: var(--primary-color);
}

.phone-number {
    font-size: 1.6rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    font-family: 'Oswald', sans-serif;
}

.phone-sub {
    font-size: 0.7rem;
    font-weight: 500;
    opacity: 0.8;
}

.header-cta .btn-primary {
    border-radius: 0;
    height: 100% !important;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 40px;
    box-shadow: none;
    margin: 0;
    line-height: 1;
    gap: 8px;
}

.btn-icon {
    flex-shrink: 0;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 32px;
    border-radius: 0;
    font-weight: 700;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    gap: 10px;
    line-height: 1.2;
    text-decoration: none;
}

.btn-primary {
    background: var(--primary-gradient);
    color: #fff;
    box-shadow: 0 4px 15px rgba(230, 0, 18, 0.2);
}

.btn-outline {
    background: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
}

.btn-outline:hover {
    background: var(--secondary-color);
    color: #fff;
}

.text-gradient {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Hero Section */
.hero {
    position: relative;
    padding-top: var(--header-height);
    min-height: 90vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background-image: linear-gradient(90deg, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0) 50%), url('https://as2.ftcdn.net/v2/jpg/03/10/02/65/1000_F_310026518_nBqvNGBRtss9O6S7MKhDW5dRvLoEzzZd.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero .container {
    max-width: 100%;
    padding: 0 10%; /* 左端から10%の位置に調整 */
    position: relative;
    z-index: 2;
    margin: 0; /* 中央寄せを解除 */
}

.hero-content {
    max-width: 780px; /* 650px * 1.2 = 780px */
    padding: 40px 0;
}

.hero-tagline {
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    display: block;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-family: 'Oswald', sans-serif;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.25;
    font-weight: 800;
    color: #000;
    margin-bottom: 30px;
    animation: fadeInUp 0.8s ease 0.2s forwards;
    opacity: 0;
}

.title-bg {
    background: #fff;
    padding: 2px 15px;
    display: inline-block;
    margin-bottom: 5px;
    line-height: 1.4;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    animation: fadeInUp 0.8s ease 0.4s forwards;
    opacity: 0;
}

.hero-actions {
    display: flex;
    gap: 20px;
    animation: fadeInUp 0.8s ease 0.6s forwards;
    opacity: 0;
}

.hero-actions .btn {
    padding: 24px 42px;
}

/* .hero-visual は将来の写真配置用に非表示、または背景として維持 */
.hero-visual {
    display: none;
}

/* Logo Marquee Section */
.logo-marquee {
    background-color: #fff;
    padding: 30px 0;
    overflow: hidden;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.marquee-content {
    display: flex;
    overflow: hidden;
    width: 100%;
}

.marquee-track {
    display: flex;
    width: max-content;
    animation: marquee-scroll 13.5s linear infinite; /* 現在の2倍の速さに (27s / 2 = 13.5s) */
}

.marquee-track img {
    height: 40px;
    width: auto;
    margin: 0 13px; /* 余白を3分の1に (40px / 3 ≈ 13px) */
    opacity: 1;
}

@keyframes marquee-scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-33.33%);
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Section Common Styles */
.section {
    padding: var(--section-padding);
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
    position: relative;
    z-index: 1;
}

.section-subtitle {
    display: block;
    font-size: 1.1rem;
    font-weight: 400;
    margin-bottom: 1rem;
    font-family: 'Oswald', sans-serif;
    letter-spacing: 0.05em;
}

.section-subtitle .accent {
    color: var(--primary-color);
    margin-right: 4px;
}

.section-title {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--secondary-color);
    margin-bottom: 25px;
    letter-spacing: -0.01em;
    line-height: 1.2;
}

#case-studies {
    background-color: #fef9e7;
}



#case-studies .section-title,
#voices .section-title,
#columns .section-title,
#about .section-title {
    font-weight: 500;
    font-size: 40px;
}

.section-description {
    font-size: 1.1rem;
    color: var(--text-muted);
}

/* Services Section */
.services {
    background-color: #fef9e7;
    padding: 100px 0;
}

.services .container {
    background-color: #ffffff;
    padding: 80px 40px;
    border-radius: 20px;
    box-shadow: none; /* 枠線（シャドウ）を削除 */
    max-width: 90%; /* ブラウザ幅の90%に設定 */
    width: 90%;
}

.section-header-custom {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}

.section-bg-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: min(14rem, 12vw);
    font-weight: 900;
    color: rgba(243, 152, 0, 0.05);
    z-index: -1;
    font-family: 'Oswald', sans-serif;
    letter-spacing: -0.03em;
    pointer-events: none;
    white-space: nowrap;
    line-height: 1;
}

.section-bg-text.text-gray {
    color: rgba(0, 0, 0, 0.03); /* 薄いグレー */
}

.section-bg-text.text-white {
    color: #fff;
    font-size: min(14rem, 10vw); /* 長いテキスト用にvwで調整 */
}

.text-black {
    color: #000 !important;
}

.text-gradient {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.header-pickup {
    font-family: 'Oswald', sans-serif;
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--primary-color);
    letter-spacing: 0.15em;
    display: block;
    margin-bottom: 5px;
    text-align: center;
}

.header-sub {
    font-size: 1.25rem;
    font-weight: 700;
    color: #333;
    display: inline-block;
    position: relative;
    padding-bottom: 8px;
    margin-bottom: 15px;
}

.header-sub::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #f39800;
}

.header-main {
    font-size: calc(3.5rem - 4px);
    font-weight: 900;
    color: #f39800;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.header-main span {
    font-size: calc(4.5rem - 4px);
    margin-right: 5px;
}

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

.service-card {
    display: block;
    text-decoration: none;
    color: inherit;
    padding: 0 !important;
    background: #fff;
    border: none !important;
    border-radius: 0;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    box-shadow: none !important;
    cursor: pointer;
}

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

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary-gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-normal);
}

.service-card:hover::before {
    height: 100%;
    padding: 20px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.1) 0%, rgba(0, 0, 0, 0.4) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.service-card-image {
    position: relative;
    height: 220px;
    background-color: #f0f0f0; /* グレーの塗り */
    margin-bottom: 25px; /* 画像とタイトルの間に余白を確保 */
}

.image-placeholder {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.service-it .image-placeholder {
    background-image: url('https://as1.ftcdn.net/v2/jpg/08/78/05/60/1000_F_878056084_giLcbR34OBzhvhRBNNSLug3P8AZNx0gT.jpg');
}

.service-promo .image-placeholder {
    background-image: url('https://as1.ftcdn.net/v2/jpg/08/10/41/04/1000_F_810410402_BMiOGyn79BFnRkUajxl5a8c8dbnOcWAp.jpg');
}

.service-finance .image-placeholder {
    background-image: url('https://as1.ftcdn.net/v2/jpg/05/12/95/36/1000_F_512953616_pw2QWyOAZ3mQza5xmZSCFjmc7HAqSQQ8.jpg');
}

.service-training .image-placeholder {
    background-image: url('https://as2.ftcdn.net/v2/jpg/06/58/52/93/1000_F_658529393_SG3ci5rRikIwSWIT5JsuGk4CVRnFNh5E.jpg');
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 25px;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.3) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.overlay-tag {
    align-self: flex-start;
    color: #f39800;
    background-color: #ffffff; /* 白背景を追加 */
    padding: 4px 10px; /* 余白を調整 */
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 8px;
    display: inline-block;
}

.overlay-sub {
    font-size: 0.9rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    font-family: 'Oswald', sans-serif;
}

.overlay-title {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 900;
    line-height: 1.3;
    margin-top: auto;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.service-card-content {
    padding: 0; /* パディングをゼロに設定 */
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.service-card-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
    line-height: 1.4;
}

.service-card-desc {
    font-size: 1rem;
    color: #666;
    margin-bottom: 25px;
    line-height: 1.7;
}

.service-recommend {
    background-color: #fef9e7;
    padding: 20px 10px; /* 最小限の左右余白のみ維持、または0に */
    border-radius: 0;
    margin-top: auto;
}

.recommend-label {
    color: #f39800;
    font-weight: 700;
    text-align: center;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.recommend-list {
    list-style: none;
    padding: 0;
}

.recommend-list li {
    font-size: 0.95rem;
    font-weight: 700;
    color: #555;
    position: relative;
    padding-left: 28px;
    margin-bottom: 10px;
}

.recommend-list li:last-child {
    margin-bottom: 0;
}

.recommend-list li::before {
    content: '✔';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background-color: #f39800;
    color: #fff;
    border-radius: 50%;
    font-size: 0.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-link {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 8px;
}

.service-link::after {
    content: '→';
    transition: transform var(--transition-normal);
}

.service-link:hover::after {
    transform: translateX(5px);
}

/* Targets Section */
.targets {
    padding: 60px 0 100px;
    background-color: #ffffff; /* 白色に変更 */
}

.targets .container {
    max-width: 90%;
    width: 90%;
}

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

.target-banner {
    position: relative;
    display: block;
    height: 320px;
    border-radius: 0; /* スクエアに変更 */
    overflow: hidden;
    text-decoration: none;
    transition: transform var(--transition-normal);
}

.target-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 10px; /* 現状の倍（10px）に変更 */
    height: 100%;
    background: var(--primary-gradient); /* オレンジのグラデーション */
    z-index: 4;
}

.target-banner:hover {
    transform: translateY(-10px);
}

.target-image-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #e0e0e0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

.target-banner.business .target-image-placeholder {
    background-image: url('https://as1.ftcdn.net/v2/jpg/18/89/43/76/1000_F_1889437607_rnc6Gan06iDWjA45igOztjqyQGKQEgPV.jpg');
}

.target-banner.accountant .target-image-placeholder {
    background-image: url('https://as2.ftcdn.net/v2/jpg/07/75/85/67/1000_F_775856770_Gufa3h1o4OGyy2G2TMlShH8fa8fykVKr.jpg');
}

.target-banner::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.1) 100%); /* 現状より薄く変更 */
    z-index: 2;
    transition: opacity var(--transition-normal);
}

.target-banner:hover::after {
    opacity: 0.6; /* ホバー時も少し薄めに調整 */
}

.target-content {
    position: relative;
    z-index: 3;
    padding: 50px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: #fff;
}

.target-label {
    display: block;
    font-size: 0.9rem;
    font-weight: 400;
    margin-bottom: 10px;
    letter-spacing: 0.1em;
    font-family: 'Oswald', sans-serif;
}

.target-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.target-text {
    font-size: 1rem;
    line-height: 1.6;
    opacity: 0.9;
}

.target-btn {
    align-self: flex-start;
    padding: 12px 40px 12px 28px; /* 右側に矢印用のスペースを確保 */
    background: var(--primary-gradient);
    color: #fff;
    border-radius: 0;
    font-size: 0.95rem;
    font-weight: 700;
    position: relative;
    overflow: hidden;
    transition: all var(--transition-normal);
    box-shadow: 0 4px 15px rgba(230, 0, 18, 0.2);
}

.target-btn::after {
    content: '→';
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%) translateX(-10px);
    opacity: 0;
    transition: all var(--transition-normal);
}

.target-banner:hover .target-btn {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(230, 0, 18, 0.3);
    padding-right: 45px;
}

.target-banner:hover .target-btn::after {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
}

/* Pricing Section */
.pricing {
    background-color: #f8f9fa;
}

.pricing-table-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    background: #fff;
    padding: 40px;
    border-radius: 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.pricing-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.pricing-table th, 
.pricing-table td {
    padding: 25px;
    border: 1px solid #eee;
    height: 80px; /* 空の状態でも高さが出るように */
}

.pricing-table th {
    background-color: #fcfcfc;
    border-top: 3px solid var(--primary-color);
}

.bg-light {
    background-color: #f8f9fa;
}

.section-footer {
    text-align: center;
    margin-top: 50px;
}

.btn-text-link {
    font-weight: 700;
    color: var(--primary-color);
    display: inline-block;
    margin-top: 10px;
}

.btn-text-link:hover {
    text-decoration: underline;
}

/* Cases Section */
.cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.case-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    transition: var(--transition-normal);
}

.case-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

.case-image {
    width: 100%;
    height: 200px;
    background-color: #eee;
}

.case-image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f0f0f0 0%, #e0e0e0 100%);
    position: relative;
}

.case-image-placeholder::after {
    content: 'Case Image';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #999;
    font-size: 0.85rem;
    font-weight: 500;
}

.case-body {
    padding: 25px;
}

.case-category {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(243, 152, 0, 0.1);
    color: var(--primary-color);
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 4px;
    margin-bottom: 12px;
}

.case-client {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--secondary-color);
}

.case-title {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* News Section */
.news-inner {
    display: flex;
    gap: 80px;
}

.news-header-side {
    flex: 0 0 250px;
}

.news-list-side {
    flex: 1;
}

.news-list {
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.news-item {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.news-link {
    display: flex;
    align-items: center;
    padding: 25px 0;
    transition: var(--transition-fast);
}

.news-link:hover {
    padding-left: 10px;
    color: var(--primary-color);
}

.news-date {
    font-size: 0.9rem;
    color: var(--text-muted);
    flex: 0 0 120px;
}

.news-tag {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 10px;
    background: #f0f0f0;
    border-radius: 4px;
    margin-right: 20px;
}

.news-tag.tag-update {
    background: #1a1a1a;
    color: #fff;
}

.news-title {
    font-weight: 500;
    flex: 1;
}

.section-title.light {
    color: #fff;
}

.section-subtitle.light {
    color: rgba(255, 255, 255, 0.8);
}

.btn-block {
    display: block;
    width: 100%;
}

/* Contact Section */
.contact {
    background-color: #fff;
}

.contact-box {
    background: var(--primary-gradient);
    border-radius: 30px;
    display: flex;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(230, 0, 18, 0.15);
}

.contact-info {
    flex: 0 0 45%;
    padding: 80px 60px;
    color: #fff;
}

.contact-text {
    margin-bottom: 40px;
    opacity: 0.9;
    font-size: 1rem;
}

.contact-details {
    display: grid;
    gap: 30px;
}

.detail-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    opacity: 0.7;
    margin-bottom: 5px;
}

.detail-value {
    font-size: 1.5rem;
    font-weight: 700;
    font-family: 'Oswald', sans-serif;
}

.contact-form-container {
    flex: 1;
    background: #fff;
    padding: 80px 60px;
}

.contact-form {
    display: grid;
    gap: 20px;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--secondary-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(243, 152, 0, 0.1);
}

/* Footer Section */
.footer {
    background-color: #1a1a1a;
    color: #fff;
    padding: 80px 0 40px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    margin-bottom: 60px;
    gap: 60px;
}

.footer-brand {
    flex: 0 0 300px;
}

.footer-logo img {
    height: 35px;
    margin-bottom: 25px;
    filter: brightness(0) invert(1);
}

.footer-address {
    font-size: 0.9rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.6);
}

.footer-links {
    display: flex;
    gap: 80px;
}

.footer-link-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 25px;
    position: relative;
}

.footer-link-group ul li {
    margin-bottom: 12px;
}

.footer-link-group ul li a {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

.footer-link-group ul li a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.copyright {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
}

/* Responsive */
@media (max-width: 992px) {
    .nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
        align-self: center;
        margin: 0 20px;
    }
    
    .header-cta .btn-primary {
        display: none;
    }

    .logo {
        margin-left: 20px;
    }

    .hero {
        text-align: center;
        padding-bottom: 60px;
    }

    .hero-content {
        margin: 0 auto;
    }

    .hero-title {
        font-size: 2.8rem;
    }

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

    .hero-visual {
        position: relative;
        width: 100%;
        height: 300px;
        margin-top: 40px;
    }

    .hero-image-placeholder {
        clip-path: none;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr); /* タブレットでは2カラム */
    }

    .pricing-table-wrapper {
        padding: 20px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .pricing-table {
        min-width: 600px;
    }

    .targets-grid {
        grid-template-columns: 1fr;
    }

    .target-banner {
        height: auto;
        min-height: 280px;
    }

    .target-content {
        padding: 30px;
    }

    .target-title {
        font-size: 1.8rem;
    }

    .cases-grid {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 2rem;
    }

    .news-inner {
        flex-direction: column;
        gap: 40px;
    }

    .news-header-side {
        flex: none;
        text-align: center;
    }

    .news-link {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .news-date {
        flex: none;
    }

    .contact-box {
        flex-direction: column;
    }

    .contact-info, .contact-form-container {
        padding: 50px 30px;
    }

    .footer-top {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }

    .footer-brand {
        flex: none;
        margin: 0 auto;
    }

    .footer-links {
        justify-content: center;
        gap: 40px;
        flex-wrap: wrap;
    }
}

/* Mobile Specific Fixes */
@media (max-width: 767px) {
    :root {
        --header-height: 60px; /* ヘッダーを低く設定 */
    }

    .header-inner {
        padding: 5px 0;
        height: 60px;
        align-items: center;
    }

    .logo img {
        height: 22px; /* さらに小さく */
        width: auto !important;
        object-fit: contain !important;
    }

    .header-phone, 
    .header-cta .btn-primary,
    .header-cta {
        display: none !important;
    }

    /* ハンバーガーメニューを右端に表示（最前面に配置） */
    .mobile-menu-toggle {
        display: flex !important;
        flex-direction: column;
        justify-content: center;
        gap: 5px;
        width: 28px; /* 35pxの80%に縮小 */
        height: 35px;
        background: transparent;
        border: none;
        padding: 0;
        z-index: 3000 !important;
        margin-left: auto;
        position: relative;
    }

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

    .hero {
        background-image: linear-gradient(to top, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 50%), url('https://as2.ftcdn.net/v2/jpg/03/10/02/65/1000_F_310026518_nBqvNGBRtss9O6S7MKhDW5dRvLoEzzZd.jpg') !important;
        background-position: center;
        padding-top: 80px;
        height: 100vh; /* ブラウザの表示高さに設定 */
        padding-bottom: 0;
    }

    .hero-content {
        transform: translateY(-20px); /* 上方向に20px移動 */
    }

    .hero .container {
        padding: 0 20px !important; /* 表示エリアを拡張 */
        max-width: 100%;
    }

    .hero-tagline {
        font-size: calc(1.1rem - 3px) !important; /* 以前よりさらに1px小さく */
    }

    .hero-title {
        font-size: calc(1.6rem + 2px); /* 2px大きく */
    }

    .hero-description {
        font-size: calc(1.1rem - 1px); /* サブコピーを1px小さく */
    }

    .title-bg {
        padding: 5px 10px;
        display: inline;
        line-height: 1.8;
        box-decoration-break: clone;
        -webkit-box-decoration-break: clone;
    }

    .hero-actions {
        flex-direction: column;
        gap: 15px;
        width: 100%;
        margin-top: 30px;
    }

    .hero-actions .btn {
        width: 100%;
        padding: 20px 0;
        justify-content: center;
    }

    /* お客様の声パネルの中央寄せ（スライダー仕様に適合） */
    .voices-slider-container {
        padding: 0;
        overflow: hidden;
    }

    .voices-slider-track {
        justify-content: flex-start;
        gap: 0 !important; /* スライド間の隙間をなくして計算を合わせる */
    }

    .voice-card {
        flex: 0 0 100vw !important; /* 1スライドを画面幅いっぱいに */
        width: 100vw !important;
        padding: 0 5vw; /* 左右に5%ずつの余白＝実質90%幅で中央配置 */
        margin: 0;
        box-sizing: border-box;
    }

    .voice-content {
        width: 100%;
        margin: 0 auto;
    }

    .services-grid {
        grid-template-columns: 1fr; /* 縦にレイアウト */
        gap: 20px;
    }

    /* ロゴスライダーのモバイル調整 */
    .marquee-track img {
        height: 180px !important; /* 圧倒的なサイズに拡大 */
        width: auto !important;
        object-fit: contain !important;
        margin: 0 40px !important; /* 間隔も広げる */
    }

    .marquee-track {
        animation: marquee-scroll-mobile 8s linear infinite !important; /* 無限ループの調整 */
    }
}

@keyframes marquee-scroll-mobile {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); } /* 画像を増やしたため50%移動でシームレスにループ */
}

/* Voices Section */
.voices {
    background-color: #fcfcfc;
    overflow: hidden;
}

.voices-slider-container {
    position: relative;
    width: 100%;
    cursor: grab;
}

.voices-slider-container:active {
    cursor: grabbing;
}

.voices-slider-track {
    display: flex;
    gap: 40px;
    align-items: stretch;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

.voice-card {
    flex: 0 0 330px;
    width: 330px;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

.voice-image {
    width: 100%;
    aspect-ratio: 3 / 4; /* 画像の比率を添付に合わせる */
    overflow: hidden;
}

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

.voice-content {
    background-color: #fff;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.voice-client {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: #1a1a1a;
    display: flex;
    gap: 15px;
}

.voice-text {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #333;
    margin-bottom: 2rem;
    font-weight: 500;
}

.voice-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.voice-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #f39800;
    font-weight: 700;
    font-size: 1rem;
}

.slider-controls {
    margin-top: 40px;
    display: flex;
    justify-content: center;
}

.slider-dots {
    display: flex;
    gap: 12px;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active {
    background-color: #f39800;
    width: 30px;
    border-radius: 5px;
}

/* Columns Section */
.columns {
    background-color: #f8f8f8;
}

.column-section-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 40px;
    color: #1a1a1a;
}

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

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

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

.column-card {
    display: flex;
    flex-direction: column;
    background-color: #fff;
    border: 1px solid #eee;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.column-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.column-image {
    width: 100%;
    aspect-ratio: 6 / 4;
    overflow: hidden;
}

.column-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.column-title {
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.6;
    color: #333;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.column-meta {
    margin-top: auto;
}

.column-date {
    display: block;
    font-size: 0.9rem;
    color: #999;
    margin-bottom: 10px;
}

.column-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #f39800;
    font-weight: 700;
    font-size: 0.95rem;
}

.column-footer {
    margin-top: 50px;
    display: flex;
    justify-content: flex-end;
}

.more-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    color: #333;
    text-decoration: none;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.more-link:hover {
    color: #f39800;
}

.more-link svg {
    transition: transform 0.3s ease;
}

.more-link:hover svg {
    transform: translateX(5px);
}

/* About Section */
.about {
    background-color: #fcfcfc;
}

.profile-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

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

.profile-table th {
    width: 25%;
    font-weight: 700;
    color: #1a1a1a;
    background-color: #f9f9f9;
}

.profile-table td {
    color: #444;
    line-height: 1.8;
}

@media (max-width: 767px) {
    .profile-table th,
    .profile-table td {
        display: block;
        width: 100%;
        padding: 15px;
    }
    
    .profile-table th {
        background-color: #f3980010;
        border-bottom: none;
    }
}

/* Case Panels Stacked Design */
.cases-stack {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 50px;
}

.case-panel {
    display: flex;
    background: #fff;
    border: 1px solid #eee; /* Top, Right, Bottom border */
    border-left: none;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 80vw !important;
    height: 392px; /* 352px (visual) + 40px (padding top/bottom) */
    padding: 20px;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    margin-bottom: 0 !important;
    align-items: stretch;
}

.case-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 10px;
    background: var(--primary-gradient);
}

.case-panel:hover {
    transform: translateX(-50%) translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

.case-panel-content {
    flex: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.case-panel-badge {
    display: inline-block;
    background: var(--primary-gradient);
    color: #fff;
    padding: 10px 30px;
    border-radius: 50px;
    font-size: 1.7rem; /* 0.85remの2倍 */
    font-weight: 800;
    margin-bottom: 25px;
    width: fit-content;
}

.badge-num {
    color: #ffcc00; /* 黄色 */
    margin-right: 10px;
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
}

.case-panel-title {
    font-size: 1.6rem;
    font-weight: 800;
    color: #1a1a1a;
    line-height: 1.4;
    margin-bottom: 15px;
}

.case-panel-divider {
    border: none;
    border-top: 2px solid #ddd;
    margin: 15px 0;
    width: 100%;
}

.case-panel-desc {
    font-size: 1rem;
    line-height: 1.7;
    color: #555;
    margin-bottom: 25px;
}

.text-emphasis {
    color: #f39800;
    font-weight: 700;
}

.case-panel-more {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    color: #1a1a1a;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.case-panel-more:hover {
    color: var(--primary-color);
}

.more-circle {
    width: 40px;
    height: 40px;
    background: var(--primary-gradient);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.case-panel-more:hover .more-circle {
    transform: rotate(45deg);
    filter: brightness(1.1);
}

.case-panel-visual {
    flex: 0 0 352px; /* 320pxの1.1倍に変更 */
    background-color: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

@media (max-width: 1023px) {
    .case-panel-visual {
        background-color: transparent !important; /* 背景色を削除 */
    }
}

.grey-placeholder {
    width: 80%;
    height: 60%;
    background-color: #e0e0e0;
    border-radius: 8px;
}

@media (max-width: 1023px) {
    .case-panel {
        flex-direction: column;
        height: auto !important; /* コンテンツに合わせて高さを自動調整 */
    }
    .case-panel-content {
        padding: 30px 20px;
    }
    .case-panel-visual {
        height: 250px;
        flex: none;
    }
}

@media (max-width: 767px) {
    .case-panel {
        padding-bottom: 80px !important; /* ボタン用の余白 */
    }

    .case-panel-badge {
        font-size: 0.85rem !important; /* 半分の大きさに縮小 */
        padding: 6px 15px !important;
        margin-bottom: 15px;
    }

    .case-panel-more {
        position: absolute;
        bottom: 25px;
        right: 25px;
        margin-top: 0;
    }
}

.case-panel-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media (max-width: 1023px) {
    .case-panel-img {
        object-fit: contain; /* モバイルでは画像が切れないように設定 */
        background-color: transparent !important; /* 背景色を削除 */
    }
}

/* Specific section updates */
.case-panel {
    /* Border logic handled above */
}

.cta {
    background: #fef9e7; /* 薄い黄色 */
    padding: 100px 0;
    text-align: center;
}

.cta .section-title {
    color: var(--primary-color) !important;
}

.cta-lead {
    font-size: 1.2rem;
    font-weight: 700;
    margin-top: 20px;
    color: #333;
}

.cta-actions {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 60px;
}

.btn-cta {
    padding: 26px 40px; /* 20pxの1.3倍 */
    font-size: 1.1rem;
    font-weight: 800;
    border-radius: 0; /* スクエアデザイン */
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    cursor: pointer; /* クリッカブルな見た目を維持 */
}

.btn-web {
    background: var(--primary-gradient);
    color: #fff;
}

.btn-web:hover {
    background: var(--primary-gradient);
    filter: brightness(1.1);
    transform: translateY(-5px);
}

.btn-line {
    background: #06c755;
    color: #fff;
}

.btn-line:hover {
    background: #05b14c;
    transform: translateY(-5px);
}

.line-icons {
    display: flex;
    align-items: center;
    gap: 5px;
}

.line-svg {
    width: 24px;
    height: 24px;
}

@media (max-width: 991px) {
    .cta-actions {
        flex-direction: column;
        align-items: center;
    }
    .btn-cta {
        width: 100%;
        max-width: 400px;
        justify-content: center;
        padding-left: 20px !important; /* 半分に縮小 */
        padding-right: 20px !important; /* 半分に縮小 */
    }
}

#columns {
    background-color: #f8f8f8;
}

.column-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.footer {
    background-color: #444; /* グレー */
    color: #fff;
    padding: 80px 0 40px;
}



.footer-address {
    max-width: none !important;
    white-space: nowrap; /* 改行しない */
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    line-height: 1.8;
    margin-top: 20px;
}

.footer-phone {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.6rem;
    font-weight: 700;
    color: #fff;
    margin-top: 20px;
}

@media (max-width: 767px) {
    .footer-logo img {
        margin: 0 auto 25px !important;
        display: block;
    }

    .footer-address {
        text-align: center;
        white-space: normal !important; /* 成り行き改行 */
        max-width: 100% !important;
        margin-left: auto;
        margin-right: auto;
    }

    .footer-phone {
        justify-content: center;
    }
}

.footer-phone .phone-icon {
    width: 28px;
    height: 28px;
    fill: #fff; /* アイコンを白色に変更 */
}

.footer-link-title {
    color: #fff;
    margin-bottom: 25px;
}

.footer-link {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.footer-link:hover,
.footer-link.active {
    color: #f39800;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 60px;
    padding-top: 30px;
}

.copyright {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* Side Floating Tabs */
.side-tabs {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2000;
    display: flex;
    flex-direction: column;
    gap: 15px; /* 上下の間隔を上げる */
}

.side-tab {
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* 左端基準 */
    justify-content: flex-start;
    background: #ffffff;
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 8px 0 0 8px;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.3s ease;
    box-shadow: -5px 0 20px rgba(0,0,0,0.1);
    border: 1px solid #f0f0f0;
    border-right: none;
    position: relative;
    width: 200px; /* 非常に幅広く設定（右側の隙間を物理的に消去） */
    transform: translateX(150px); /* デフォルトで50pxだけ露出させる */
    overflow: visible;
    cursor: pointer; /* クリッカブルな見た目を維持 */
}

/* 以前の擬似要素は削除 */

.side-tab-icon-area {
    background-color: #666;
    width: 100%;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: flex-start; /* 左端から開始 */
}

/* アイコン自体の位置を50px幅の中で完全中央にする */
.side-tab-icon-area svg {
    margin: 0 0 0 15px; /* 50px幅の中で(50-20)/2 = 15pxの左マージンで中央に */
    width: 20px;
    height: 20px;
    display: block;
}

.side-tab-body {
    padding: 20px 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* 左端基準 */
    gap: 15px;
}

.side-tab-text {
    writing-mode: vertical-rl;
    font-weight: 800;
    font-size: 0.95rem;
    letter-spacing: 0.1em;
    width: 50px; /* 50px幅の中で中央寄せ */
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
}

.side-tab-arrow {
    width: 28px;
    height: 28px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: all 0.3s ease;
    margin: 0 auto 0 11px; /* 50px幅の中で(50-28)/2 = 11pxの左マージンで中央に */
}

/* 右端の隙間を埋めるための擬似要素は不要になったため削除しました */

/* 個別のタブごとにホバーアニメーションを適用 */
.side-tab:hover {
    transform: translateX(130px); /* 20px分だけ左に引き出す（計70px露出） */
    background-color: #fef9e7;
    z-index: 10;
}

.side-tab:hover .side-tab-arrow {
    transform: scale(1.1); /* 矢印を少し大きく強調 */
}

@media (max-width: 767px) {
    .side-tabs {
        position: fixed !important;
        display: flex !important;
        bottom: 0;
        right: 0;
        left: 0;
        top: auto;
        transform: none;
        flex-direction: row;
        width: 100%;
        height: calc(65px + env(safe-area-inset-bottom)); /* セーフエリアを考慮 */
        padding-bottom: env(safe-area-inset-bottom);
        background: #ffffff;
        box-shadow: 0 -5px 25px rgba(0,0,0,0.15);
        gap: 0;
        z-index: 99999 !important; /* 最前面を保証 */
    }

    .side-tab {
        flex: 1;
        height: 100%;
        width: auto !important;
        transform: none !important;
        border-radius: 0;
        border: none;
        border-right: 1px solid #f0f0f0;
        flex-direction: row !important;
        align-items: center;
        justify-content: center;
        padding: 0 10px;
        background: #fff !important; /* ホバー背景も白に固定 */
    }

    .side-tab:last-child {
        border-right: none;
    }

    .side-tab-icon-area {
        width: auto;
        height: auto;
        background-color: transparent !important;
        margin-right: 8px;
    }

    .side-tab-icon-area svg {
        margin: 0;
        width: 20px;
        height: 20px;
        stroke: var(--primary-color);
    }

    .side-tab-body {
        padding: 0;
        width: auto;
        flex-direction: row;
        align-items: center;
        gap: 5px;
    }

    .side-tab-text {
        writing-mode: horizontal-tb !important; /* 横書きに変更 */
        width: auto !important;
        font-size: 0.85rem;
        color: #333;
        white-space: nowrap;
    }

    .side-tab-arrow {
        display: none; /* モバイルのボトムバーでは矢印は不要 */
    }

    /* ホバーアニメーションをモバイルでは無効化 */
    .side-tab:hover {
        transform: none !important;
        background-color: #f9f9f9 !important;
    }
}
