:root {
    --color-base-white: #FFFFFF;
    --color-base-lightgray: #F7F9FA;
    --color-primary-blue: #1A73E8;
    --color-primary-blue-hover: #1664C4;
    --color-deep-navy: #0B3C5D;
    --color-green: #4CAF50;
    --color-soft-cyan: #E6F4F1;
    --color-text-main: #333333;
    --color-text-sub: #666666;
    --color-text-muted: #999999;
}

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

body {
    font-family: "Noto Sans JP", "游明朝体", sans-serif;
    font-weight: 400;
    color: var(--color-text-main);
    line-height: 1.8;
    background-color: var(--color-base-white);
}

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

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

/* Header */
.header {
    background: var(--color-base-white);
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-deep-navy);
    text-decoration: none;
}

.logo img {
    height: 32px;
    width: auto;
    display: block;
}

.nav-desktop {
    display: flex;
    gap: 30px;
}

.nav-desktop a {
    text-decoration: none;
    color: var(--color-text-main);
    font-weight: 500;
    transition: color 0.3s;
}

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

.hamburger {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--color-text-main);
    transition: all 0.3s;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100%;
    background: var(--color-base-white);
    box-shadow: -2px 0 10px rgba(0,0,0,0.1);
    transition: right 0.3s;
    z-index: 1100;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-header {
    padding: 20px;
    border-bottom: 1px solid #E0E0E0;
    display: flex;
    justify-content: flex-end;
}

.close-menu {
    cursor: pointer;
    font-size: 24px;
}

.mobile-nav {
    padding: 20px;
}

.mobile-nav a {
    display: block;
    padding: 15px 0;
    text-decoration: none;
    color: var(--color-text-main);
    font-weight: 500;
    border-bottom: 1px solid #E0E0E0;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--color-base-white) 0%, var(--color-base-white) 100%);
    padding: 80px 0;
    width: auto;
    height: 600px;
    position: relative;
    overflow: hidden;
}

/* Index Page Hero Background */
.hero:not(.hero-service) .hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: calc(100%);
    z-index: 1;
}

.hero:not(.hero-service) .hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1;
}

/* Service Page Hero Background */
.hero-service .hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-service .hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero-content {
    text-align: left;
    margin-left: 20px;
}

.hero h1 {
    font-size: 36px;
    font-weight: 700;
    color: var(--color-deep-navy);
    margin-top: 10px;
    margin-bottom: 10px;
    line-height: 1.6;
    background: rgba(255, 255, 255, 0.9);
    padding: 5px 8px;
    border-radius: 1px;
    display: block;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    width: fit-content;
}

.hero h1 span{
    display: block;
}

.hero p {
    font-size: 18px;
    color: var(--color-text-sub);
    margin-bottom: 30px;
    line-height: 1.8;
}

.btn-primary {
    display: inline-block;
    background: var(--color-primary-blue);
    color: white;
    padding: 16px 40px;
    border-radius: 40px;
    margin-top: 20px;
    text-decoration: none;
    font-weight: 700;
    transition: background 0.3s;
}

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

/* Section */
.section {
    padding: 80px 0;
}

.section-gray {
    background: var(--color-base-lightgray);
}

.section-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--color-deep-navy);
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--color-primary-blue);
    margin: 20px auto 0;
}

.section-subtitle {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-primary-blue);
    margin-bottom: 30px;
    margin-top: 40px;
}

.flow-subtitle {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-primary-blue);
    text-align: center;
    margin-bottom: 30px;
    margin-top: 40px;
}
/* Service Cards */
.service-main-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.service-main-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-main-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.service-image-placeholder {
    width: 100%;
    height: 200px;
    background: var(--color-base-lightgray);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

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

.service-image-dummy {
    color: var(--color-text-muted);
    font-size: 16px;
}

.service-content {
    padding: 30px;
}

.service-content h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-primary-blue);
    margin-bottom: 15px;
}

.service-content p {
    color: var(--color-text-sub);
    line-height: 1.8;
}

.service-subtitle {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-deep-navy);
    margin-bottom: 30px;
    text-align: center;
}

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

.service-other-card {
    background-color: var(--color-base-white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-other-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.service-other-card h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-primary-blue);
    margin-bottom: 15px;
}

.service-other-card p {
    color: var(--color-text-sub);
    line-height: 1.8;
}

/* Service Main Cards */
.service-main {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.service-main-card {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

.service-main-card h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--color-deep-navy);
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--color-primary-blue);
}

.service-main-card ul {
    list-style: none;
}

.service-main-card li {
    padding: 15px 0;
    padding-left: 30px;
    position: relative;
    border-bottom: 1px solid #E0E0E0;
}

.service-main-card li:last-child {
    border-bottom: none;
}

.service-main-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-green);
    font-weight: 700;
}

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

.service-other-card {
    background: var(--color-base-lightgray);
    padding: 30px;
    border-radius: 12px;
}

.service-other-card h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-primary-blue);
    margin-bottom: 15px;
}

/* Reason Cards - Horizontal Layout */
.reason-horizontal-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.reason-horizontal-card {
    background: white;
    display: flex;
    align-items: center;
    gap: 40px;
    padding: 20px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.reason-horizontal-card:nth-child(2) {
    flex-direction: row-reverse;
}



.reason-image-placeholder {
    width: 500px;
    height: 200px;
    background: var(--color-base-lightgray);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

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

.reason-content {
    flex: 1;
}

.reason-content h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--color-deep-navy);
    margin-bottom: 15px;
}

.reason-content p {
    color: var(--color-text-sub);
    line-height: 1.8;
    font-size: 16px;
}

/* Message Section */
.message-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.message-content h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-deep-navy);
    margin-bottom: 20px;
}

.message-content p {
    color: var(--color-text-sub);
    line-height: 1.8;
    margin-bottom: 15px;
}

/* Results - Card Layout */
.results-card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.result-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.result-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.result-image-placeholder {
    width: 100%;
    height: 180px;
    background: var(--color-base-lightgray);
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.result-image-dummy {
    color: var(--color-text-muted);
    font-size: 16px;
}

.result-content {
    padding: 25px;
}

.result-content h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--color-primary-blue);
}

.result-content h3 a {
    color: inherit;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.result-content h3 a:hover {
    color: var(--color-deep-navy);
    margin-bottom: 10px;
    line-height: 1.4;
}

.result-content p {
    color: var(--color-text-sub);
    font-size: 14px;
    margin-bottom: 15px;
    line-height: 1.6;
}

.result-detail {
    color: var(--color-green);
    font-weight: 700;
    font-size: 14px;
    padding: 8px 12px;
    background: var(--color-soft-cyan);
    border-radius: 6px;
    text-align: center;
}

.more-link {
    text-align: center;
    margin-top: 30px;
}

.more-link a {
    display: inline-block;
    color: var(--color-primary-blue);
    background: transparent;
    border: 2px solid var(--color-primary-blue);
    padding: 12px 30px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
}

.more-link a:hover {
    background: var(--color-primary-blue);
    color: white;
    text-decoration: none;
}

/* CTA Section */
.cta-section {
    text-align: center;
}

.cta-section h2 {
    font-size: 28px;
    margin-bottom: 30px;
    color: var(--color-deep-navy);
}
.cta-section p {
    font-size: 18px;
    margin-bottom: 30px;
    color: var(--color-deep-navy);
}

/* Problem List */
.problem-list {
    max-width: 800px;
    margin: 0 auto;
}

.problem-item {
    background: var(--color-soft-cyan);
    padding: 20px 30px;
    margin-bottom: 20px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.problem-icon {
    color: var(--color-green);
    font-size: 24px;
    flex-shrink: 0;
}

/* Risk List */
.risk-list {
    max-width: 800px;
    margin: 0 auto 40px;
}

.risk-item {
    background: white;
    padding: 20px 30px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.arrow-text {
    text-align: center;
    font-size: 20px;
    font-weight: 700;
    color: var(--color-primary-blue);
    margin: 40px 0;
}

/* Process Flow Section */
.process-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 80px auto 60px;
    max-width: 1200px;
    padding: 0 20px;
}

.process-flow-item {
    flex: 1;
    text-align: center;
    background: white;
    padding: 30px 20px;
    position: relative;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border-radius: 16px;
    min-height: 250px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.process-flow-chevron {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 30px;
    height: 30px;
    flex-shrink: 0;
}

.process-flow-chevron .chevron-top,
.process-flow-chevron .chevron-bottom {
    position: absolute;
    width: 20px;
    height: 3px;
    background-color: var(--color-primary-blue);
    transform-origin: left center;
}

.process-flow-chevron .chevron-top {
    top: 50%;
    left: 100%;
    transform: translateX(-50%) translateY(-50%) rotate(-120deg);
}

.process-flow-chevron .chevron-bottom {
    top: 50%;
    left: 100%;
    transform: translateX(-50%) translateY(-50%) rotate(120deg);
}

.process-flow-icon {
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

.process-icon-image {
    width: 80%;
    height: 80%;
    object-fit: cover;
}

.process-icon-dummy {
    color: var(--color-text-muted);
    font-size: 12px;
}

.process-flow-step {
    color: var(--color-primary-blue);
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.process-flow-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-deep-navy);
    margin-bottom: 15px;
    line-height: 1.4;
    min-height: 50px;
}

.process-flow-title span{
    display: block;
}

.process-flow-item p {
    color: var(--color-text-sub);
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}


/* Case Study */
.case-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.case-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.case-card h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-deep-navy);
    margin-bottom: 15px;
}

.case-highlight {
    color: var(--color-green);
    font-weight: 700;
    font-size: 20px;
}

/* Testimonial */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.testimonial-header {
    font-weight: 700;
    color: var(--color-primary-blue);
    margin-bottom: 20px;
}

.testimonial-text {
    color: var(--color-text-sub);
    font-style: italic;
    line-height: 1.8;
}

/* Profile */
.profile-section {
    max-width: 900px;
    margin: 0 auto;
}

.profile-message {
    background: var(--color-soft-cyan);
    padding: 40px;
    width: 700px;
    border-radius: 12px;
    margin-bottom: 40px;
    margin-left: 40px;
}

.profile-message h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-deep-navy);
    margin-bottom: 20px;
}

.profile-details {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.profile-details h4 {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-deep-navy);
    margin-bottom: 20px;
}

.profile-timeline {
    list-style: none;
}

.profile-timeline li {
    padding: 15px 0;
    border-bottom: 1px solid #E0E0E0;
}

.profile-timeline li:last-child {
    border-bottom: none;
}

.profile-timeline strong {
    color: var(--color-primary-blue);
}

/* FAQ */
.faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    margin-bottom: 20px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    overflow: hidden;
}

.faq-question {
    padding: 25px 30px;
    background: var(--color-base-lightgray);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
}

.faq-question::after {
    content: '＋';
    font-size: 24px;
    color: var(--color-primary-blue);
    transition: transform 0.3s;
}

.faq-item.active .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 30px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 25px 30px;
    max-height: 500px;
}

/* Contact Form */
.main-content {
    min-height: calc(100vh - 200px);
    padding: 80px 0;
}

.section-description {
    text-align: center;
    color: var(--color-text-sub);
    margin-bottom: 50px;
}

.form-container {
    max-width: 600px;
    margin: 0 auto;
    background: var(--color-base-white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

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

.form-label {
    display: block;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--color-text-main);
}

.required {
    color: #e74c3c;
    font-size: 14px;
    margin-left: 5px;
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #E0E0E0;
    border-radius: 6px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.form-input:focus {
    outline: none;
    border-color: var(--color-primary-blue);
}

.form-textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #E0E0E0;
    border-radius: 6px;
    font-size: 16px;
    resize: vertical;
    min-height: 150px;
    font-family: inherit;
    transition: border-color 0.3s;
}

.form-textarea:focus {
    outline: none;
    border-color: var(--color-primary-blue);
}

.btn-submit {
    width: 100%;
    background: var(--color-primary-blue);
    color: white;
    padding: 16px;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.3s;
}

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

.btn-submit:disabled {
    background: #ccc;
    cursor: not-allowed;
}

/* Success Message */
.success-container {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    padding: 60px 20px;
    display: none;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: var(--color-soft-cyan);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    font-size: 40px;
    color: var(--color-green);
}

.success-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-deep-navy);
    margin-bottom: 20px;
}

.success-message {
    color: var(--color-text-sub);
    line-height: 1.8;
    margin-bottom: 30px;
}

.btn-home {
    display: inline-block;
    background: var(--color-primary-blue);
    color: white;
    padding: 12px 40px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    transition: background 0.3s;
}

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

/* Error Message */
.error-message {
    color: #e74c3c;
    font-size: 14px;
    margin-top: 5px;
    display: none;
}

/* Footer */
.footer {
    background: var(--color-deep-navy);
    color: white;
    padding: 40px 0;
}

.footer-content {
    text-align: center;
}

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

.footer-info p {
    margin-bottom: 5px;
    font-size: 14px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.2);
}

.footer-links a {
    color: white;
    text-decoration: none;
    font-size: 14px;
}

.footer-links a:hover {
    text-decoration: underline;
}

/* SP Fixed Bar */
.sp-fixed-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--color-deep-navy);
    padding: 10px;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
    z-index: 1000;
}

.sp-fixed-bar-title {
    color: white;
    font-size: 14px;
    text-align: center;
    margin-bottom: 10px;
    font-weight: 700;
}

.sp-fixed-bar-buttons {
    display: flex;
    gap: 10px;
}

.sp-fixed-bar-buttons a {
    flex: 1;
    padding: 10px;
    background: var(--color-primary-blue);
    color: white;
    text-decoration: none;
    text-align: center;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
}

.sp-fixed-bar-buttons a:hover {
    background: var(--color-primary-blue-hover);
}

/* Responsive */
@media (max-width: 768px) {
    .nav-desktop {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .mobile-menu {
        display: block;
    }

    .hero h1 {
        font-size: 28px;
    }

    .hero-content h1 span {
        display: inline;
    }

    .hero p {
        font-size: 16px;
    }

    .hero-content {
        text-align: center;
    }

    .hero-content .btn-primary {
        margin: 0 auto;
    }

    .section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 26px;
    }

    /* Service Section Mobile */
    .service-main-grid {
        grid-template-columns: 1fr;
    }

    .service-content {
        padding: 20px 10px;
    }

    .service-other-grid {
        grid-template-columns: 1fr;
    }

    /* Reason Section Mobile */
    .reason-horizontal-card {
        flex-direction: column !important;
        text-align: center;
        gap: 20px;
        padding: 30px;
    }

    .reason-image-placeholder {
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }

    /* Flow Section Mobile */

    .process-flow-title {
        font-size: 18px;
        font-weight: 700;
        color: var(--color-deep-navy);
        margin-bottom: 5px;
        line-height: 1.4;
        min-height: 20px;
    }

    .process-flow-title span{
        display: inline;
    }

    .flow-subtitle {
        font-size: 18px;
    }

    /* Results Section Mobile */
    .results-card-grid {
        grid-template-columns: 1fr;
    }

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

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

    .form-container {
        padding: 30px 20px;
    }

    .sp-fixed-bar {
        display: block;
    }

    .footer {
        padding-bottom: 100px;
    }
}

/* Service Page Hero */
.hero-service {
    height: auto;
    position: relative;
    background: linear-gradient(135deg, var(--color-deep-navy) 30%, var(--color-primary-blue) 100%);
}

.hero-service .hero-bg::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
        rgba(11, 60, 93, 0.7) 30%,
        rgba(26, 115, 232, 0.7) 100%);
    z-index: 1;
}

.hero-service .container {
    position: relative;
    z-index: 2;
}


.hero-service .hero-content {
    text-align: center;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.hero-service h1 {
    background: rgba(255, 255, 255, 0.95);
    color: var(--color-deep-navy);
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 25px;
    display: block;
    margin-bottom: 0;
}

.hero-service p {
    margin-bottom: 30px;
    font-size: 18px;
    line-height: 1.8;
}

/* Problem Section */
.problem-sp-image {
    display: none;
}

.problem-sp-image img {
    width: 100%;
    max-width: 300px;
    margin: 0 auto 30px;
    display: block;
}

.problem-container {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 0px;
    align-items: center;
    margin-top: 40px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.problem-image-placeholder {
    width: 60%;
    height: 300px;
    border-radius: 12px;
    margin-left: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

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

.problem-image-dummy {
    color: var(--color-text-muted);
    font-size: 18px;
}

.problem-bubbles {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.problem-bubble {
    position: relative;
    background: #FFF5F5;
    border: 2px solid #e74c3c;
    border-radius: 20px;
    padding: 20px 30px;
    margin-left: 30px;
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.1);
}

.problem-bubble::before {
    content: "";
    position: absolute;
    left: -20px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    border-right: 20px solid #e74c3c;
}

.problem-bubble::after {
    content: "";
    position: absolute;
    left: -17px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 13px solid transparent;
    border-bottom: 13px solid transparent;
    border-right: 18px solid #FFF5F5;
}

.problem-bubble p {
    color: var(--color-text-main);
    font-weight: 500;
    margin: 0;
    line-height: 1.6;
}

/* Risk Section */
.risk-list {
    max-width: 800px;
    margin: 0 auto 40px;
}

.risk-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
    padding: 25px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.risk-number {
    background: #e74c3c;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    flex-shrink: 0;
}

.risk-content {
    font-size: 20px;
    color: var(--color-text-main);
    font-weight: 900;
}

.arrow-down {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 30px 0 10px;
    height: 40px;
    position: relative;
}

.arrow-down .arrow-left,
.arrow-down .arrow-right {
    position: absolute;
    width: 40px;
    height: 3px;
    background-color: var(--color-primary-blue);
}

.arrow-down .arrow-left {
    transform: rotate(25deg);
    transform-origin: right center;
    right: 50%;
}

.arrow-down .arrow-right {
    transform: rotate(-25deg);
    transform-origin: left center;
    left: 50%;
}

.arrow-text {
    text-align: center;
    color: var(--color-primary-blue);
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 30px;
}

/* Solution Box */
.solution-box {
    position: relative;
    max-width: 700px;
    margin: 30px auto 40px;
    background: white;
    border-radius: 12px;
    padding: 20px 20px 20px 100px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.solution-image-placeholder {
    position: absolute;
    left: -30px;
    top: 50%;
    transform: translateY(-50%);
    width: 200px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

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

.solution-image-dummy {
    color: var(--color-text-muted);
    font-size: 14px;
}

.solution-pre-text {
    text-align: center;
    color: var(--color-text-main);
    font-weight: 700;
    font-size: 20px;
}

.solution-text {
    text-align: center;
    color: var(--color-primary-blue);
    font-weight: 700;
    font-size: 25px;
}

/* Service Main Horizontal Layout */
.service-main-horizontal {
    margin: 50px 0;
}

/* Service point styles */
.service-point-section {
    margin-bottom: 60px;
}

.service-point-title {
    font-size: 1.5rem;
    color: var(--color-deep-navy);
    font-weight: 700;
    margin-bottom: 30px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--color-primary-blue);
}

.point-number {
    display: inline-block;
    color:var(--color-primary-blue);
    padding: 6px 16px;
    font-weight: 700;
    text-align: left;
    font-size: 1.8rem;
}

.service-link-box {
    background: linear-gradient(135deg, #E6F4F1 0%, #F0F9FF 100%);
    padding: 16px 20px;
    border-radius: 8px;
    margin-top: 5px;
    text-align: center;
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    gap: 12px;
}

.service-link-box-text {
    margin-top: 20px;
    font-weight: 700;
    text-align: center;
    display: flex;
}

.service-link-arrow {
    font-size: 1.2rem;
    color: var(--color-primary-blue);
    font-weight: bold;
}

.service-link-box p {
    margin: 0;
    color:var(--color-deep-navy);
    font-size: 1.2rem;
    font-weight: 900;
}

.service-link-box a {
    color: var(--color-primary-blue);
    text-decoration: underline;
    font-weight: 600;
}

.service-link-box a:hover {
    color: var(--color-primary-blue-hover);
}

.service-main-horizontal-card {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 60px;
    padding: 20px;

}

.service-main-horizontal-card.service-main-reverse {
    flex-direction: row-reverse;
}

.service-main-image-placeholder {
    flex: 0 0 300px;
    height:  200;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.service-main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.correlation-diagram-image {
    width: 700px;
    height: 100%;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

.correlation-diagram-placeholder {
    background:var(--color-base-lightgray)
}

.service-main-image-dummy {
    color: var(--color-text-muted);
    font-size: 16px;
}

.service-main-content {
    flex: 1;
}

.service-main-content h3 {
    font-size: 22px;
    color: var(--color-deep-navy);
    margin-bottom: 20px;
}

.service-main-content ul {
    list-style: none;
    padding: 0;
}

.service-main-content li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 12px;
    color: var(--color-text-main);
}

.service-main-content li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--color-green);
    font-weight: 700;
}

/* Service Other with Images */
.service-other {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-other-card {
    background: var(--color-base-lightgray);
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s;
}

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

.service-other-image-placeholder {
    width: 100%;
    height: 150px;
    background: white;
    border-radius: 5px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.service-other-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-other-image-dummy {
    color: var(--color-text-muted);
    font-size: 14px;
}

.service-other-card h4 {
    font-size: 18px;
    color: var(--color-deep-navy);
    margin-bottom: 15px;
}

/* Case Study Horizontal Layout */
.case-horizontal-grid {
    max-width: 1000px;
    margin: 0 auto;
}

.case-horizontal-card {
    display: block;
    align-items: center;
    gap: 40px;
    margin-bottom: 50px;
    padding: 40px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.case-number {
    display: inline-block;
    background: var(--color-deep-navy);
    color: white;
    padding: 4px 12px;
    border-radius: 4px;
    margin-right: 12px;
    font-weight: 600;
    font-size: 0.9em;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #1A73E8 0%, #0B3C5D 100%);
    padding: 60px 20px;
    color:#fff;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section h2 {
    color:#fff;
    text-align: center;
}

.cta-section p {
    color:var(--color-base-lightgray);
    text-align: center;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.3; }
}

.cta-content {
    position: relative;
    z-index: 1;
}

p.cta-text {
    color: var(--color-base-lightgray);
    font-size: 1.2rem;
    margin-bottom: 25px;
    font-weight: 500;
}

.cta-button {
    display: inline-block;
    background: white;
    color: var(--color-primary-blue);
    padding: 16px 40px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
    background: #F7F9FA;
}

.case-horizontal-card.case-horizontal-reverse {
    flex-direction: row-reverse;
}

.case-image-placeholder {
    flex: 0 0 250px;
    height: auto;
    background: var(--color-base-lightgray);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 40px;
}

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

.case-image-dummy {
    color: var(--color-text-muted);
    font-size: 16px;
}

.case-content {
    flex: 1;
}

.case-content h4 {
    font-size: 20px;
    color: var(--color-deep-navy);
    margin-bottom: 15px;
}

.case-highlight {
    color: var(--color-primary-blue);
    font-weight: 700;
    background: rgba(26, 115, 232, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
}

/* Testimonial Table Layout */
.testimonial-table-container {
    max-width: 1000px;
    margin: 0 auto;
}

.testimonial-table-row {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
    padding: 30px;
    background: var(--color-base-lightgray);
    border-radius: 16px;
    align-items: flex-start;
}

.testimonial-image-placeholder {
    flex: 0 0 150px;
    height: 150px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.testimonial-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.testimonial-content-table {
    flex: 1;
}

.testimonial-content-table .testimonial-header {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-deep-navy);
    margin-bottom: 15px;
}

.testimonial-content-table .testimonial-header a {
    color: inherit;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.testimonial-content-table .testimonial-header a:hover {
    color: var(--color-primary-blue);
}

.testimonial-content-table .testimonial-text {
    line-height: 1.8;
    margin-bottom: 15px;
    color: var(--color-text-main);
}

.testimonial-result {
    color: var(--color-primary-blue);
    font-weight: 700;
    background: rgba(26, 115, 232, 0.1);
    padding: 8px 12px;
    border-radius: 6px;
    margin-bottom: 5px;
    display: inline-block;
}

/* Company Overview */
.company-overview {
    max-width: 800px;
    margin: 0 auto;
}

.company-table {
    width: 100%;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border-collapse: collapse;
}

.company-table th {
    background: var(--color-base-lightgray);
    color: var(--color-deep-navy);
    font-weight: 700;
    font-size: 16px;
    padding: 20px;
    text-align: left;
    width: 180px;
    vertical-align: top;
    border-bottom: 1px solid #E0E0E0;
}

.company-table td {
    padding: 20px;
    color: var(--color-text-main);
    font-size: 15px;
    line-height: 1.6;
    border-bottom: 1px solid #E0E0E0;
}

.company-table tbody tr:last-child th,
.company-table tbody tr:last-child td {
    border-bottom: none;
}

/* Results Table */
.results-table-section {
    margin-top: 60px;
}

.results-table-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-deep-navy);
    text-align: center;
    margin-bottom: 30px;
}

.results-table {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    border-collapse: collapse;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.results-table thead {
    background: var(--color-primary-blue);
}

.results-table th {
    padding: 20px;
    color: white;
    font-weight: 700;
    font-size: 16px;
    text-align: left;
}

.results-table th:first-child {
    width: 60%;
}

.results-table th:last-child {
    width: 40%;
}

.results-table tbody tr {
    border-bottom: 1px solid #E0E0E0;
}

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

.results-table tbody tr:nth-child(even) {
    background: var(--color-base-lightgray);
}

.results-table td {
    padding: 16px 20px;
    color: var(--color-text-main);
    font-size: 15px;
    line-height: 1.6;
}

.results-table tbody tr:hover {
    background: rgba(26, 115, 232, 0.05);
}

/* Profile Section */
.profile-section {
    max-width: 1000px;
    margin: 0 auto;
}

.profile-top-row {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 20px;
    align-items: start;
    margin-bottom: 40px;
}

.profile-image-placeholder {
    width: 300px;
    height: auto;
    background: var(--color-base-lightgray);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

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

.profile-message h3 {
    font-size: 20px;
    color: var(--color-deep-navy);
    margin-bottom: 20px;
    line-height: 1.6;
}

.profile-message p {
    margin-bottom: 20px;
    line-height: 1.8;
}

.profile-details h4 {
    font-size: 18px;
    color: var(--color-deep-navy);
    margin-bottom: 10px;
}

.profile-timeline {
    padding: 0;
}

.timeline-item {
    display: flex;
    gap: 20px;
    padding: 15px 0;
    border-bottom: 1px solid #E0E0E0;
}

.timeline-item:last-child {
    border-bottom: none;
}

.timeline-year {
    flex-shrink: 0;
    width: 100px;
    font-weight: 700;
    color: var(--color-primary-blue);
}

.timeline-label {
    flex-shrink: 0;
    width: 180px;
    font-weight: 700;
    color: var(--color-deep-navy);
}

.timeline-desc {
    flex: 1;
    line-height: 1.6;
}

/* Mobile Responsive for New Layouts */
@media (max-width: 768px) {
    .timeline-item {
        flex-direction: column;
        gap: 5px;
    }

    .timeline-year {
        width: auto;
    }

    .problem-sp-image {
        display: block;
    }

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

    .problem-image-placeholder {
        display: none;
    }

    .problem-bubbles {
        order: 1;
        gap: 20px;
    }

    .problem-bubble {
        margin-left: 0;
        padding: 15px 20px;
        border-radius: 50px;
        text-align: center;
    }

    .problem-bubble::before,
    .problem-bubble::after {
        display: none;
    }

    .solution-box {
        margin-left: 20px;
        margin-right: 20px;
        padding: 20px;
        display: flex;
        flex-direction: column;
    }

    .solution-image-placeholder {
        position: static;
        transform: none;
        width: 150px;
        height: 150px;
        margin: 20px auto 0;
        order: 3;
    }

    .solution-pre-text {
        font-size: 16px;
        order: 1;
    }

    .solution-text {
        font-size: 24px;
        order: 2;
    }

    .service-main-horizontal-card,
    .service-main-horizontal-card.service-main-reverse {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .service-main-image-placeholder {
        flex: none;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    .service-point-title {
        font-size: 1.2rem;
    }

    .point-number {
        display: block;
        font-size: 0.85rem;
        margin-bottom: 8px;
        padding: 8px 16px;
        width: fit-content;
        background-color: #E6F4F8;
        border-radius: 50px;
    }

    .case-horizontal-card,
    .case-horizontal-card.case-horizontal-reverse {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .case-image-placeholder {
        flex: none;
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }

    .testimonial-table-row {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .testimonial-image-placeholder {
        flex: none;
        width: 180px;
        height: 180px;
        margin: 0 auto;
        border-radius: 12px;
    }

    .testimonial-image {
        border-radius: 12px;
    }

    .profile-top-row {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .profile-details {
        text-align: center;
        display: block;
    }

    .profile-timeline {
        display: block;
        width: 100%;
    }

    .timeline-label {
        text-align: center;
        width: 100%;
    }

    .profile-image-placeholder {
        margin: 0 auto;
        width: 80%;
        max-width: 250px;
    }

    .profile-message {
        text-align: center;
        width: 100%;
        padding: 0 10px;
        box-sizing: border-box;
        margin-bottom: 40px;
        margin-left: 0px;
    }

    .profile-message h3 {
        text-align: center;
        padding:0px 20px;
        padding-top: 20px;
    }

    .profile-message p {
        text-align: left;
        padding:10px 20px;
    }

    /* Process Flow Mobile */
    .process-flow {
        flex-direction: column;
        gap: 30px;
        margin: 60px auto 40px;
    }

    .process-flow-item {
        min-height: auto;
        padding: 30px 20px;
        border-radius: 16px;
        gap: 15px;
    }

    .process-flow-chevron {
        display: none;
    }

    /* Results Table Mobile */
    .results-table-section {
        margin-top: 40px;
        padding: 0 10px;
    }

    .results-table-title {
        font-size: 20px;
        margin-bottom: 20px;
    }

    .results-table {
        font-size: 14px;
    }

    .results-table th,
    .results-table td {
        padding: 12px 15px;
    }

    .results-table th {
        font-size: 14px;
    }

    .results-table td {
        font-size: 13px;
    }

    /* Company Overview Mobile */
    .company-table {
        font-size: 14px;
    }

    .company-table th {
        width: 120px;
        padding: 15px;
        font-size: 14px;
    }

    .company-table td {
        padding: 15px;
        font-size: 13px;
    }

    /* Correlation Diagram Mobile */
    .correlation-diagram-placeholder {
        width: 100%;
        overflow: visible;
    }

    .correlation-diagram-placeholder .correlation-diagram-image {
        width: 150%;
        max-width: none;
        height: auto;
        object-fit: contain;
        display: block;
    }

}

/* ===========================================
   404 Error Page
   =========================================== */
.error-page {
    text-align: center;
    padding: 100px 20px;
    min-height: 50vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.error-code {
    font-size: 120px;
    font-weight: 700;
    color: var(--color-deep-navy);
    line-height: 1;
    margin-bottom: 20px;
}

.error-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-text-main);
    margin-bottom: 20px;
}

.error-description {
    font-size: 16px;
    color: var(--color-text-sub);
    margin-bottom: 40px;
    line-height: 1.8;
}

@media (max-width: 768px) {
    .error-code {
        font-size: 80px;
    }

    .error-title {
        font-size: 20px;
    }

    .error-description {
        font-size: 14px;
    }

    .error-page {
        padding: 60px 20px;
    }

    /* SP用改行 */
    .sp-br {
        display: block;
    }
}