/* Service Page Styles - サービスページ専用のスタイル */

.main {
    padding: 0px 0px;
}

/* ページヘッダー */
.page-header {
    background-image: url('../images/header-bg/service-header-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    padding: 80px 0 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header .breadcrumb {
    position: absolute;
    top: 20px;
    left: 40px;
    color: #fff;
    font-size: 13px;
    z-index: 2;
    text-align: left;
    margin: 0;
    padding: 0;
    text-shadow: 0 1px 8px rgba(0,0,0,0.5);
}

.page-header .breadcrumb a {
    color: #fff;
    opacity: 0.85;
    text-decoration: none;
    text-shadow: 0 1px 8px rgba(0,0,0,0.5);
}

.page-header .breadcrumb a:hover {
    text-decoration: underline;
    color: #fff;
}

.breadcrumb-separator,
.breadcrumb-current {
    color: #fff;
    opacity: 0.7;
    text-shadow: 0 1px 8px rgba(0,0,0,0.5);
}

.page-header .container {
    position: relative;
    z-index: 2;
}

.page-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
}

.page-subtitle {
    font-size: 18px;
    font-weight: 400;
    opacity: 0.9;
}

/* ヒーローセクション */
.hero-section {
    background-image: url('../images/hero-background.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 80px 0;
    text-align: center;
    position: relative;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.hero-title {
    margin-bottom: 40px;
}

.title-highlight {
    color: var(--black);
    padding: 10px 10px;
    font-size: 40px;
    font-weight: 700;
    line-height: 1.4;
    display: inline-block;
    position: relative;
    background: linear-gradient(to right, #F25500 0%, #FFA600 100%);
    background-repeat: no-repeat;
    background-position: left bottom;
    background-size: 100% 40%;
}

.title-highlight-small {
    font-size: 18px;
}

.hero-subtitle {
    background-color: rgba(0, 0, 0, 1);
    color: var(--white);
    padding: 15px 30px;
    font-size: 30px;
    font-weight: 600;
    line-height: 1.6;
    margin-top: 35px;
    border: 1px solid #000;
    display: inline-block;
}


.section-title-label{
    color: var(--accent-color);
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-align: center;
    margin-bottom: 20px;
}

/* 動画セクション */
.video-section {
    padding: 80px 0;
    background-color: #f8f9fa;
    text-align: center;
}

.video-container {
    max-width: 800px;
    margin: 0 auto;
}

.video-wrapper {
    position: relative;
    background-color: var(--primary-color);
    padding: 30px;
    box-shadow: 0 8px 30px rgba(0, 59, 131, 0.2);
    border-radius: 10px;
}

.video-wrapper iframe {
    width: 100%;
    height: 450px;
    border-radius: 8px;
}

.video-caption {
    color: var(--white);
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
    text-align: center;
}

.video-description {
    font-size: 19px;
    line-height: 1.4;
    color: var(--text-color);
    margin-top: 40px;
    text-align: center;
}

/* よくあるお悩みセクション */
.problems-section {
    padding: 80px 0;
    background-color: var(--primary-color);
    position: relative;
}

.problems-section .section-title{
    color: var(--white);
}

.problems-subtitle {
    font-size: 24px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
    color: var(--white);
}

/* PC版お悩み */
.problems-content--pc {
    display: flex;
    align-items: center;
    gap: 60px;
}

.problems-content--sp {
    display: none;
}

.problems-illustration {
    flex: 0 0 150px;
}

.problems-illustration img {
    width: auto;
    height: 200px;
    position: relative;
    z-index: 2;
}

.problems-list {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.problem-item {
    position: relative;
}

.problem-badge {
    background-color: var(--white);
    color: var(--primary-color);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 15px;
    display: inline-block;
}

.problem-text {
    background-color: var(--white);
    border: 2px solid var(--white);
    border-radius: 15px;
    padding: 20px;
    font-size: 20px;
    line-height: 1.6;
    font-weight: 700;
    color: var(--primary-color);
    position: relative;
}

.problem-text::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 30px;
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid var(--white);
}

/* SP版お悩み */
.problems-cards {
    display: grid;
    gap: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.problem-card {
    background-color: var(--white);
    border: 2px solid var(--white);
    border-radius: 20px;
    padding: 5px;
    text-align: center;
}

.problem-card {
    margin-bottom: 10px;
}

.problem-card .problem-text {
    font-size: 16px;
    border: none;
    padding: 5px;
    background: none;
}

.problem-card .problem-text::before {
    display: none;
}

/* 解決ポイントセクション */
.solution-section {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.solution-subtitle {
    font-size: 24px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
    color: var(--text-color);
}

/* PC版ポイント */
.solution-points--pc {
    display: block;
    max-width: 1000px;
    margin: 0 auto;
}

.solution-points--sp {
    display: none;
}

.solution-point {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 80px;
    background-color: var(--white);
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.solution-point:last-child {
    margin-bottom: 0;
}

.solution-point--reverse {
    flex-direction: row-reverse;
}

.point-content {
    flex: 1;
}

.solution-card .point-badge {
    color: var(--primary-color);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    display: block;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.point-badge-sub {
    font-size: 30px;
}

.point-title {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 12px 20px;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    display: inline-block;
    border-radius: 5px;
}

.point-description {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-color);
}

.point-image {
    flex: 0 0 300px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.point-image img {
    height: 250px;
    width: auto;
}

/* SP版ポイント */
.solution-card {
    background-color: var(--white);
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 40px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.solution-card:last-child {
    margin-bottom: 0;
}

.solution-card .point-title {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 10px 16px;
    font-size: 16px;
    margin-bottom: 20px;
    border-radius: 5px;
    display: block;
    width: 100%;
}

.solution-card .point-image {
    margin: 20px auto;
    max-width: 200px;
}

.solution-card .point-description {
    font-size: 14px;
    line-height: 1.6;
    text-align: left;
}

/* ご利用の流れセクション */
.flow-section {
    padding: 80px 0;
    background-color: var(--white);
    background: url(../images/background-flow.jpg) no-repeat center;
    background-size: cover;
}

.flow-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.flow-step {
    text-align: center;
    position: relative;
}

.flow-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 50px;
    right: -20px;
    width: 40px;
    height: 2px;
    background-color: var(--primary-color);
    z-index: 1;
}

.step-number {
    background: linear-gradient(135deg, var(--primary-color), #0050b3);
    color: var(--white);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
    margin: 0 auto 20px;
    position: relative;
    z-index: 2;
}

.step-image {
    width: 220px;
    height: 220px;
    margin: 0 auto 20px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.step-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.step-title {
    font-size: 18px;
    font-weight: 700;;
    color: var(--white);
    margin-bottom: 10px;
    background: linear-gradient(135deg, #FF6A00 0%, #FF8A00 80%, #FFB347 100%);
    border-radius: 4px;
    padding: 5px 10px;
}

.step-description {
    font-size: 14px;
    line-height: 1.6;
    color: var(--light-text);
}

/* 導入企業セクション */
.companies-section {
    padding: 80px 0;
    background-color: var(--white);
    text-align: center;
}

.companies-subtitle {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 40px;
    color: var(--text-color);
}

.companies-logos {
    background-color: var(--white);
    padding: 40px 20px;
    border-radius: 10px;
}

/* PC版ロゴ表示 */
.companies-logos--pc {
    display: block;
}

.companies-logos--sp {
    display: none;
}

.logo-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.logo-row:last-child {
    margin-bottom: 0;
}

.company-logo {
    flex: 0 0 auto;
}

.company-logo img {
    height: 60px;
    max-width: 150px;
    object-fit: contain;
    opacity: 1;
}

.company-logo:hover img {
    opacity: 1;
}

/* SP版ロゴ表示 */
.companies-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    align-items: center;
    justify-items: center;
}

.companies-grid .company-logo img {
    height: 40px;
    max-width: 100px;
}

/* お客様の声セクション */
.testimonials-section {
    padding: 80px 0;
    background: url('../images/testimonials-bg.jpg') no-repeat center;
    background-size: cover;
    position: relative;
}

.testimonials-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(245, 248, 251, 0.9);
    z-index: 1;
}

.testimonials-section .container {
    position: relative;
    z-index: 2;
}

.testimonials-subtitle {
    font-size: 24px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
    color: var(--text-color);
}

/* PC版お客様の声 */
.testimonials-content--pc {
    display: block;
}

.testimonials-content--sp {
    display: none;
}

.testimonial-background {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    padding: 80px 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.testimonial-background:last-child {
    margin-bottom: 0;
}

.testimonial-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.testimonial-background--polus {
    background-image: url('../images/service/polus-bg.jpg');
}

.testimonial-background--shikishima {
    background-image: url('../images/service/shikishima-bg.jpg');
}

.testimonial-background--keihan {
    background-image: url('../images/service/keihan-bg.jpg');
}

/* カード配置 */
.testimonial-item {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.testimonial-item--right {
    display: flex;
    justify-content: flex-end;
}

.testimonial-item--left {
    display: flex;
    justify-content: flex-start;
}

.testimonial-text-box {
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 40px;
    max-width: 600px;
    width: 100%;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
}

.testimonial-company {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
}

.testimonial-company .company-logo {
    width: auto;
    height: 50px;
    flex-shrink: 0;
}

.testimonial-company .company-logo img {
    height: 50px;
    width: auto;
    filter: none;
    opacity: 1;
}

.company-info {
    flex: 1;
}

.company-name {
    font-size: 14px;
    color: var(--light-text);
    margin-bottom: 5px;
    line-height: 1.4;
}

.customer-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-color);
}

.testimonial-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 8px;
    line-height: 1.3;
}

.testimonial-subtitle-text {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 15px;
    line-height: 1.3;
}

.testimonial-text {
    font-size: 14px;
    line-height: 1.8;
    color: var(--text-color);
}

/* SP版お客様の声 */
.testimonial-card {
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

.testimonial-card:last-child {
    margin-bottom: 0;
}

.testimonial-card .testimonial-image {
    width: 100%;
    height: 200px;
    border-radius: 15px;
    overflow: hidden;
    margin: 0 auto 20px;
}

.testimonial-card .testimonial-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-card .testimonial-company {
    flex-direction: column;
    text-align: center;
    gap: 15px;
    margin-bottom: 20px;
}

.testimonial-card .testimonial-title {
    text-align: left;
    font-size: 18px;
    margin-bottom: 8px;
}

.testimonial-card .testimonial-subtitle-text {
    text-align: left;
    font-size: 16px;
    margin-bottom: 15px;
}

.testimonial-card .testimonial-text {
    text-align: left;
    font-size: 14px;
}

/* よくある質問セクション */
.faq-section {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.faq-subtitle {
    font-size: 24px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
    color: var(--text-color);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--white);
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.faq-item:last-child {
    margin-bottom: 0;
}

.faq-question {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.faq-answer {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-color);
    margin: 0;
}

/* レスポンシブ対応 */
@media (max-width: 1200px) {
    .flow-steps {
        gap: 30px;
    }
    
    .solution-point {
        gap: 40px;
        padding: 30px;
    }
    
    .logo-row {
        gap: 25px;
    }
}

@media (max-width: 992px) {
    .page-title {
        font-size: 36px;
    }
    
    .page-subtitle {
        font-size: 16px;
    }
    
    .hero-section {
        padding: 60px 0;
    }
    
    .title-highlight {
        font-size: 28px;
        padding: 12px 25px;
    }
    
    .hero-subtitle {
        font-size: 24px;
        padding: 18px 25px;
    }
    
    .video-section {
        padding: 60px 0;
    }

    .video-description{
        font-size:18px;
    }
    
    .video-wrapper iframe {
        height: 350px;
    }
    
    .problems-section,
    .solution-section,
    .flow-section,
    .companies-section,
    .testimonials-section,
    .faq-section {
        padding: 60px 0;
    }
    
    /* お悩みセクション - SP表示に切り替え */
    .problems-content--pc {
        display: none;
    }
    
    .problems-content--sp {
        display: block;
    }

    .problem-badge {
        margin-bottom: 0px;
    }
    
    /* ポイントセクション - SP表示に切り替え */
    .solution-points--pc {
        display: none;
    }
    
    .solution-points--sp {
        display: block;
    }
    
    .point-image {
        flex: none;
        max-width: 300px;
    }
    
    .flow-steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
    
    .flow-step:nth-child(odd)::after {
        display: none;
    }
    
    .flow-step:nth-child(2)::after {
        display: block;
        top: 100%;
        right: 50%;
        transform: translateX(50%) rotate(90deg);
        width: 40px;
    }
    
    /* ロゴセクション - SP表示に切り替え */
    .companies-logos--pc {
        display: none;
    }
    
    .companies-logos--sp {
        display: block;
    }
    
    .testimonials-section {
        padding: 60px 0;
    }
    
    .testimonials-content--pc {
        display: none;
    }
    
    .testimonials-content--sp {
        display: block;
    }
}

@media (max-width: 768px) {
    .page-header {
        padding: 60px 0 40px;
    }
    
    .page-header .breadcrumb {
        top: 15px;
        left: 20px;
        font-size: 12px;
    }
    
    .page-title {
        font-size: 28px;
    }
    
    .hero-section {
        padding: 40px 0;
    }
    
    .title-highlight {
        font-size: 24px;
        padding: 10px 10px;
    }

    .title-highlight-small {
        font-size: 14px;
    }
    
    .hero-subtitle {
        font-size: 16px;
        padding: 15px 20px;
        margin-top: 10px;
    }
    
    .video-section {
        padding: 40px 0;
    }
    
    .video-wrapper {
        padding: 20px;
    }
    
    .video-wrapper iframe {
        height: 250px;
    }
    
    .video-caption {
        font-size: 16px;
        margin-bottom: 10px;
    }
    
    .problems-section,
    .solution-section,
    .flow-section,
    .companies-section,
    .testimonials-section,
    .faq-section {
        padding: 40px 0;
    }
    
    .section-title {
        font-size: 24px;
        margin-bottom: 30px;
    }
    
    .problems-subtitle,
    .solution-subtitle,
    .companies-subtitle,
    .testimonials-subtitle,
    .faq-subtitle {
        font-size: 20px;
        margin-bottom: 40px;
    }
    
    .solution-point {
        padding: 25px;
        margin-bottom: 40px;
    }
    
    .solution-card {
        padding: 25px;
        margin-bottom: 30px;
    }
    
    .solution-card .point-title {
        font-size: 16px;
        padding: 10px 18px;
        margin-bottom: 15px;
    }
    
    .solution-card .point-description {
        font-size: 14px;
    }
    
    .point-title {
        font-size: 16px;
        padding: 10px 18px;
    }
    
    .point-description {
        font-size: 14px;
    }

    .point-image img {
        height: 150px;
        width: auto;
    }
    
    .flow-steps {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .flow-step::after {
        display: none !important;
    }
    
    .companies-logos {
        padding: 30px 15px;
    }
    
    .testimonials-section {
        padding: 40px 0;
    }
    
    .section-title {
        font-size: 24px;
        margin-bottom: 30px;
    }
    
    .testimonials-subtitle {
        font-size: 20px;
        margin-bottom: 40px;
    }
    
    .testimonial-card {
        padding: 25px;
        margin-bottom: 25px;
    }
    
    .testimonial-company {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .testimonial-title {
        font-size: 18px;
    }
    
    .testimonial-subtitle-text {
        font-size: 16px;
    }
    
    .testimonial-text {
        font-size: 13px;
    }
    
    .faq-item {
        padding: 25px;
    }
    
    .faq-question {
        font-size: 16px;
    }
    
    .faq-answer {
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding: 30px 0;
    }
    
    .title-highlight {
        font-size: 18px;
        padding: 8px 5px;
    }
    
    .hero-subtitle {
        font-size: 13px;
        padding: 10px 10px;
        margin-top: 5px;
    }
    
    .video-section {
        padding: 30px 0;
    }
    
    .video-wrapper {
        padding: 15px;
    }
    
    .video-wrapper iframe {
        height: 200px;
    }

    .video-description {
        font-size: 15px;
    }
    
    .problems-section,
    .solution-section,
    .flow-section,
    .companies-section,
    .testimonials-section,
    .faq-section {
        padding: 30px 0;
    }
    
    .section-title {
        font-size: 22px;
    }
    
    .problems-subtitle,
    .solution-subtitle,
    .companies-subtitle,
    .testimonials-subtitle,
    .faq-subtitle {
        font-size: 18px;
        margin-bottom: 30px;
    }

    
    .solution-point {
        padding: 20px;
        margin-bottom: 30px;
    }
    
    .solution-card {
        padding: 20px;
        margin-bottom: 25px;
    }
    
    .solution-card .point-badge {
        margin-bottom: 10px;
    }
    
    .solution-card .point-title {
        font-size: 14px;
        padding: 8px 15px;
        margin-bottom: 15px;
    }
    
    .solution-card .point-description {
        font-size: 13px;
    }

    .step-number {
        background: linear-gradient(135deg, var(--primary-color), #0050b3);
        color: var(--white);
        width: 150px;
        height: 30px;
        border-radius: 3px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 14px;
        font-weight: 900;
        margin: 0 auto 20px;
        position: relative;
        z-index: 2;
    }

    .step-image {
        width: 200px;
        height: 200px;
        margin: 0 auto 20px;
        border-radius: 10px;
        overflow: hidden;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    }
    
    .companies-logos {
        padding: 20px 10px;
    }
    
    .testimonials-section {
        padding: 30px 0;
    }
    
    .section-title {
        font-size: 22px;
    }
    
    .testimonials-subtitle {
        font-size: 18px;
        margin-bottom: 30px;
    }
    
    .testimonial-card {
        padding: 20px;
        margin-bottom: 20px;
    }
    
    .testimonial-card .testimonial-image {
        width: 100%;
        height: 200px;
        border-radius: 15px;
        overflow: hidden;
        margin: 0 auto 15px;
    }
    
    .faq-item {
        padding: 20px;
    }
}