@charset "UTF-8";

/* ==========================================================================
   はみ出し防止
   ========================================================================== */
html {
    overflow-x: hidden;
}

body {
    overflow-x: hidden;
}

/* ==========================================================================
   ユーティリティ（改行出し分け用）
   ========================================================================== */
.pc-only {
    display: none;
}

.sp-only {
    display: block;
}

@media (min-width: 769px) {
    .pc-only {
        display: inline;
    }
    .sp-only {
        display: none;
    }
}

/* ==========================================================================
   トップセクション
   ========================================================================== */
.top-section {
    position: relative;
    width: 100%;
    margin-top: 10px;
}

.top-background {
    display: block;
    width: 100%;
}

.top-background img {
    width: 100%;
    height: auto;
    display: block;
}

.top-content {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    padding: 8vw 5vw;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4vw;
    width: 100%;
    box-sizing: border-box;
}

.top-subtitle {
    font-size: 3vw;
    color: #333;
    margin-top: 4vw;
    margin-left: 0.5vw;
}

.top-title {
    font-size: 6.5vw;
    font-weight: 700;
    color: #333;
    line-height: 1.5;
    margin-bottom: -3vw;
    text-align: left;
}

.top-logo {
    width: 70%;
    max-width: 300px;
    margin: 3vw 0;
}

.top-logo img {
    width: 100%;
    height: auto;
}

.top-button-wrapper {
    width: 70%;
    max-width: 350px;
    margin-top: 89vw;
    margin-bottom: 4vw;
}

.top-button-link {
    display: block;
    width: 100%;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.top-button-link:hover {
    opacity: 0.8;
}

.top-button-link:active {
    opacity: 0.8;
    transform: scale(0.98);
}

.top-button-link img {
    width: 100%;
    height: auto;
    display: block;
}

.top-notice {
    font-size: 2.5vw;
    color: #666;
    margin-top: -4vw;
    line-height: 1.6;
    text-align: left;
}

/* PC版トップセクション */
@media (min-width: 769px) {
    .top-section {
        margin-top: -5vw;
    }

    .top-content {
        top: 8vw;
        left: 8vw;
        padding: 0;
        width: 50%;
        gap: 0;
    }

    .top-subtitle {
        font-size: 1.2vw;
        margin-bottom: 1vw;
        margin-top: 0;
        margin-left: 0.5vw;
    }

    .top-title {
        font-size: 2.5vw;
        margin-bottom: 2vw;
    }

    .top-logo {
        width: 60%;
        max-width: none;
        margin: 2vw 0;
    }

    .top-button-wrapper {
        width: 20vw;
        max-width: none;
        margin-top: 3vw;
        margin-bottom: 0;
    }

    .top-notice {
        font-size: 1vw;
        margin-top: 2vw;
    }
}

/* ==========================================================================
   Aboutセクション
   ========================================================================== */
.about-section {
    background-color: #F0F8FB;
    padding: 8vw 5vw;
    width: 100%;
    box-sizing: border-box;
}

.about-inner {
    display: flex;
    flex-direction: column;
    gap: 5vw;
}

.about-header {
    text-align: left;
    margin-bottom: 6vw;
}

.about-main-title {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin: 5vw 0 3vw 0;
    line-height: 1.5;
}

.about-logo {
    width: 50%;
    max-width: 250px;
    margin: 3vw 0;
}

.about-logo img {
    width: 100%;
    height: auto;
}

.about-description {
    padding: 5vw 0;
    margin-bottom: 5vw;
}

.about-heading {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    line-height: 1.7;
    margin: 0 0 4vw 0;
    text-align: left;
}

.about-text {
    font-size: 16px;
    color: #555;
    line-height: 1.8;
    margin: 0 0 4vw 0;
    text-align: left;
}

.about-text:last-child {
    margin-bottom: 0;
}

.about-graph-area {
    margin-bottom: 5vw;
}

.about-graph1 {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 1vw;
}

.about-graph2-wrapper {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    margin-bottom: 5vw;
    -webkit-overflow-scrolling: touch;
}

.about-graph2 {
    width: 150%;
    max-width: none;
    height: auto;
    display: block;
}

/* PC版Aboutセクション */
@media (min-width: 769px) {
    .about-section {
        padding: 4vw 0;
    }

    .about-inner {
        flex-direction: row;
        align-items: flex-start;
        gap: 3vw;
    }

    .about-text-area {
        width: 100%;
        max-width: 1200px;
        margin-left: 2vw;
    }

    .about-header {
        margin-bottom: 0;
    }

    .about-main-title {
        display: none;
    }

    .about-logo {
        width: 40%;
        margin-left: 8vw;
        margin-top: 2vw;
    }

    .about-heading {
        position: relative;
        font-size: 1.5vw;
        padding-left: 8vw;
        margin-top: 2vw;
    }

    .about-text {
        font-size: 1.3vw;
        font-weight: 500;
        padding-left: 8vw;
        margin-top: 2vw;
    }

    .about-description {
        padding: 0;
        margin-bottom: 0;
    }

    .about-graph-area {
        width: 100%;
        display: flex;
        justify-content: center;
        padding: 0 5vw;
        margin-bottom: 0;
    }

    .about-graph1 {
        width: 100%;
        margin-left: 15vw;
        margin-top: 8vw;
    }

    .about-graph2-wrapper {
        overflow-x: hidden !important;
        margin-top: 8vw;
        margin-bottom: 0;
    }

    .about-graph2 {
        width: 80%;
        max-width: 80%;
        margin-left: 9vw;
    }
}

/* パンくずリスト親要素のはみ出し対策 */
header .relative {
    max-width: 100%;
}

/* ==========================================================================
   ソリューションセクション
   ========================================================================== */
.solution-section {
    padding: 10vw 0 0;
}

.solution-header {
    text-align: center;
    margin-bottom: 8vw;
}

.solution-header img {
    width: 60%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.solution-container {
    max-width: 90vw;
    margin: 0 auto;
    padding: 0 5vw;
}

/* SP版：グリッドで問題→矢印→ソリューションのペア表示 */
.problem-row,
.arrows-row,
.solution-row {
    display: contents;
}

.solution-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
}

/* SP版：カードの順序を指定 */
.problem-row .problem-card:nth-child(1) { order: 1; }
.arrows-row .arrow-wrapper:nth-child(1) { order: 2; }
.solution-row .solution-card:nth-child(1) { order: 3; }

.problem-row .problem-card:nth-child(2) { order: 4; }
.arrows-row .arrow-wrapper:nth-child(2) { order: 5; }
.solution-row .solution-card:nth-child(2) { order: 6; }

.problem-row .problem-card:nth-child(3) { order: 7; }
.arrows-row .arrow-wrapper:nth-child(3) { order: 8; }
.solution-row .solution-card:nth-child(3) { order: 9; }

.problem-card {
    background: #f5f7fa;
    padding: 6vw 5vw;
    border-radius: 30px;
    margin-bottom: 0;
}

.problem-title {
    font-size: 18px;
    font-weight: 700;
    color: #4562AE;
    margin-bottom: 4vw;
    line-height: 1.6;
    text-align: center;
}

.problem-description {
    font-size: 16px;
    color: #333;
    line-height: 1.8;
    text-align: left;
}

.arrow-wrapper {
    display: flex;
    justify-content: center;
    padding: 5vw 0;
}

.arrow {
    width: 0;
    height: 0;
    border-left: 6vw solid transparent;
    border-right: 6vw solid transparent;
    border-top: 7vw solid #4562AE;
}

.solution-card {
    background: #f5f7fa;
    padding: 6vw 5vw;
    border-radius: 30px;
    text-align: center;
    margin-bottom: 10vw;
}

.icon-circle {
    width: 16vw;
    height: 16vw;
    margin: 0 auto 5vw;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-circle img {
    width: 100%;
    height: 100%;
}

.solution-title {
    font-size: 18px;
    font-weight: 700;
    color: #4562AE;
    margin-bottom: 4vw;
    line-height: 1.6;
}

.solution-description {
    font-size: 16px;
    color: #333;
    line-height: 1.8;
    text-align: left;
}

/* PC版ソリューションセクション */
@media (min-width: 769px) {
    .solution-section {
        padding: 4vw 0 0;
    }

    .solution-header {
        margin-bottom: 3vw;
    }

    .solution-header img {
        width: 20%;
    }

    .solution-container {
        max-width: 80vw;
        padding: 0;
        display: block;
    }

    /* PC版：横並び（orderをリセット） */
    .problem-row,
    .arrows-row,
    .solution-row {
        display: flex;
        flex-direction: row;
        gap: 2vw;
    }

    .problem-row .problem-card,
    .arrows-row .arrow-wrapper,
    .solution-row .solution-card {
        order: unset;
    }

    .arrows-row {
        margin: 2vw 0;
    }

    .arrow-wrapper {
        flex: 1;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 0;
    }

    .problem-card,
    .solution-card {
        flex: 1;
        background: #F8F8F8;
        padding: 2vw 1.5vw;
        border-radius: 0.5vw;
        box-shadow: 0 0.1vw 0.6vw rgba(0,0,0,0.08);
        display: flex;
        flex-direction: column;
        margin-bottom: 0;
    }

    .problem-title,
    .solution-title {
        font-size: 1.2vw;
        margin-bottom: 1vw;
    }

    .problem-description,
    .solution-description {
        font-size: 1vw;
        color: #666;
        line-height: 1.9;
        flex: 1;
    }

    .arrow {
        border-left: 1.2vw solid transparent;
        border-right: 1.2vw solid transparent;
        border-top: 1.6vw solid #4562AE;
    }

    .icon-circle {
        width: 5vw;
        height: 5vw;
        margin-bottom: 1.2vw;
    }

    .icon-circle img {
        width: 5.5vw;
        height: 5vw;
    }
}

/* ==========================================================================
   パンくずリスト（SP版センタリング）
   ========================================================================== */
@media (max-width: 768px) {
    header .relative {
        display: flex;
        justify-content: center;
    }
    
    header .breadcrumbs {
        justify-content: center;
    }
}

/* ==========================================================================
   特徴セクション
   ========================================================================== */
.features-section {
    padding: 8vw 5vw;
}

.features-container {
    width: 100%;
}

.features-title {
    font-size: 5vw;
    font-weight: 700;
    color: #333;
    margin-bottom: 6vw;
    text-align: left;
}

.features-grid {
    display: flex;
    flex-direction: column;
    gap: 6vw;
}

.feature-card {
    background: white;
    border-radius: 10vw;
    padding: 5vw;
    box-shadow: 0 0.5vw 2vw rgba(0,0,0,0.1);
    position: relative;
}

.feature-image-wrapper {
    position: relative;
    width: 100%;
    border-radius: 2vw;
    overflow: hidden;
    margin-bottom: 4vw;
}

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

.feature-number {
    width: 10vw;
    height: 10vw;
    background: #0D8BF0;
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5vw;
    font-weight: 700;
    position: absolute;
    top: 3vw;
    left: 3vw;
    z-index: 10;
}

.feature-content {
    display: flex;
    flex-direction: column;
    gap: 3vw;
    text-align: left;
}

.feature-title-text {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    line-height: 1.5;
}

.feature-description {
    font-size: 16px;
    color: #666;

    line-height: 1.8;
}

/* PC版特徴セクション */
@media (min-width: 769px) {
    .features-section {
        padding: 4vw 0 0 0;
    }

    .features-container {
        max-width: 80vw;
        margin: 0 auto;
    }

    .features-title {
        font-size: 1.8vw;
        font-weight: 500;
        margin-bottom: 2.5vw;
    }

    .features-grid {
        flex-direction: row;
        gap: 2vw;
        margin-bottom: 2vw;
    }

    .feature-card {
        flex: 1;
        border-radius: 0.8vw;
        padding: 0;
        overflow: hidden;
    }

    .feature-image-wrapper {
        height: 18vw;
        margin-bottom: 0;
        border-radius: 0;
    }

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

    .feature-number {
        width: 2.5vw;
        height: 2.5vw;
        font-size: 1.2vw;
        top: 1.5vw;
        left: 1.5vw;
    }

    .feature-content {
        padding: 1.8vw 1.5vw;
        gap: 1.2vw;
    }

    .feature-title-text {
        font-size: 1.1vw;
    }

    .feature-description {
        font-size: 1vw;
    }
}

/* ==========================================================================
   主な機能セクション
   ========================================================================== */
.functions-section {
    background-color: #F0F8FB;
    padding: 8vw 5vw;
    margin-top: 8vw;
}

.functions-container {
    width: 100%;
}

.functions-title {
    font-size: 5vw;
    font-weight: 700;
    color: #333;
    margin-bottom: 6vw;
    text-align: left;
}

.functions-wrapper {
    display: flex;
    flex-direction: column;
    gap: 4vw;
    position: relative;
}

.functions-image-area {
    position: relative;
    width: 100%;
    background: white;
    border-radius: 2vw;
    overflow: hidden;
    box-shadow: 0 0.5vw 2vw rgba(0,0,0,0.1);
}

.functions-image {
    width: 100%;
    height: auto;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.functions-image.active {
    opacity: 1;
    position: relative;
}

/* SP版：矢印ボタン */
.slider-arrow {
    width: 12vw;
    height: 12vw;
    background: white;
    border: none;
    border-radius: 50%;
    box-shadow: 0 0.5vw 1.5vw rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #666;
    transition: all 0.3s ease;
    position: absolute;
    top: 85%;
    transform: translateY(-50%);
    z-index: 10;
}

.slider-arrow-left {
    left: 2vw;
}

.slider-arrow-right {
    right: 2vw;
}

.slider-arrow:active {
    transform: translateY(-50%) scale(0.95);
    box-shadow: 0 0.3vw 1vw rgba(0,0,0,0.2);
}

.slider-arrow svg {
    width: 5vw;
    height: 5vw;
    stroke: #666;
    stroke-width: 2;
    fill: none;
}

/* SP版：機能リスト（1つずつ表示） */
.functions-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.function-item {
    display: none;
    background: #E3F2FD;
    padding: 4vw;
    border-radius: 2vw;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.function-item.active {
    display: block;
}

.function-item-title {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin-bottom: 2vw;
}

.function-item-description {
    font-size: 16px;
    color: #666;
    line-height: 1.8;
}

.slider-indicators {
    display: flex;
    justify-content: center;
    gap: 2vw;
    margin-top: 4vw;
}

.indicator {
    width: 2vw;
    height: 2vw;
    background: #ddd;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: #1E88E5;
    width: 5vw;
    border-radius: 1vw;
}

/* PC版主な機能セクション */
@media (min-width: 769px) {
    .functions-section {
        padding: 4vw 0;
        margin-top: 4vw;
    }

    .functions-container {
        max-width: 80vw;
        margin: 0 auto;
    }

    .functions-title {
        font-size: 1.8vw;
        font-weight: 500;
        margin-bottom: 2.5vw;
    }

    .functions-wrapper {
        flex-direction: row;
        gap: 3vw;
        align-items: flex-start;
    }

    .functions-image-area {
        flex: 1;
        border-radius: 0.8vw;
        margin-top: 2vw;
    }

    /* PC版：矢印ボタン非表示 */
    .slider-arrow {
        display: none;
    }

    .functions-list {
        flex: 1;
    }

    /* PC版：全項目表示 */
    .function-item {
        display: flex;
        padding: 1.2vw 1.5vw;
        border-radius: 0.5vw;
        background: transparent;
        margin-bottom: 0;
    }

    .function-item:hover {
        background-color: #E3F2FD;
    }

    .function-item-title {
        font-size: 1.1vw;
        font-weight: 500;
        min-width: 10vw;
        margin-right: 1.5vw;
        margin-bottom: 0;
        flex-shrink: 0;
    }

    .function-item-description {
        font-size: 0.9vw;
        line-height: 1.8;
        flex: 1;
    }

    .slider-indicators {
        display: none;
    }
}

/* ==========================================================================
   導入実績セクション
   ========================================================================== */
.achievements-section {
    max-width: 85vw;
    margin: 0 auto;
    padding-top: 8vw;
    padding-bottom: 4vw;
}

.achievements-title {
    font-size: 5vw;
    font-weight: 700;
    color: #333;
    margin-bottom: 2vw;
    text-align: left;
}

.achievements-sub {
    font-size: 3.4vw;
    font-weight: 300;
    color: #333;
    margin-bottom: 4vw;
    text-align: left;
}

.achievements-img {
    width: 100%;
    height: auto;
    display: block;
    padding-bottom: 8vw;
}

/* PC版導入実績セクション */
@media (min-width: 769px) {
    .achievements-section {
        padding-top: 4vw;
        padding-bottom: 0;
    }

    .achievements-title {
        font-size: 1.8vw;
        font-weight: 500;
        margin-top: 4vw;
    }

    .achievements-sub {
        font-size: 1.1vw;
        margin-top: -0.1vw;
        margin-bottom: 4vw;
    }

    .achievements-img {
        padding-bottom: 0;
    }
}

/* ==========================================================================
   導入事例セクション
   ========================================================================== */
.case-section {
    background-color: #F0F8FB;
    padding-top: 8vw;
    padding-bottom: 8vw;
    margin-top: 8vw;
}

.case-container {
    max-width: 85vw;
    margin: 0 auto;
}

.case-title {
    font-family: 'Chillax', sans-serif;
    font-size: 6vw;
    font-weight: 500;
    color: #333;
    margin-bottom: 6vw;
    text-align: left;
}

.case-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4vw;
    margin-bottom: 8vw;
}

.case-item-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.case-item {
    display: flex;
    align-items: center;
    gap: 4vw;
    padding: 4vw;
    background: white;
    border-radius: 2vw;
    box-shadow: 0 0.1vw 0.5vw rgba(0,0,0,0.05);
    transition: box-shadow 0.3s ease;
    cursor: pointer;
}

.case-item:hover {
    box-shadow: 0 0.3vw 1vw rgba(0,0,0,0.1);
}

.case-logo {
    width: 20vw;
    height: 10vw;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.case-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.case-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1vw;
}

.case-number {
    font-size: 14px;
    font-weight: 500;
    color: #999;
    letter-spacing: 0.05em;
}

.case-description {
    font-size: 16px;
    font-weight: 500;
    color: #333;
    line-height: 1.5;
}

.case-dot {
    width: 2.5vw;
    height: 2.5vw;
    background: linear-gradient(45deg, #0084FF 0%, #94CBFF 100%);
    border-radius: 50%;
    flex-shrink: 0;
}

/* PC版導入事例セクション */

@media (min-width: 769px) {
    .case-section {
        padding-top: 4vw;
        padding-bottom: 4vw;
        margin-top: 4vw;
    }

    .case-container {
        max-width: 80vw;
    }

    .case-title {
        font-size: 3vw;
        margin-bottom: 3vw;
    }

    .case-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 3vw 4vw;
        margin-bottom: 4vw;
    }

    .case-item {
        gap: 1.5vw;
        padding: 1.5vw;
        border-radius: 0.8vw;
    }

    .case-logo {
        width: 8vw;
        height: 4vw;
    }

    .case-content {
        gap: 0.3vw;
    }

    .case-number {
        font-size: 0.6vw;
    }

    .case-description {
        font-size: 0.85vw;
    }

    .case-dot {
        width: 0.8vw;
        height: 0.8vw;
    }
}