@charset "UTF-8";

/* Common */
body {
    /* font-family: "Helvetica Neue", "Helvetica", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Arial", "Yu Gothic", "Meiryo", sans-serif; */
    font-family: 'Montserrat', 'Noto Sans JP', sans-serif;
    color: #4B5563;
    background-color: #fff;
}

h1, h2, h3, h4, h5, h6, p, ol, ul {
    margin-top: 0;
}
* {
    box-sizing: content-box !important;
}

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

.section {
    padding: 100px 0;
}

.section-title {
    font-size: 40px;
    font-weight: 900;
    text-align: center;
    color: #003366;
    margin: auto;
}

/* Header */
.header {
    height: 100px;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.header-logo a {
    font-size: 24px;
    font-weight: bold;
    color: #003366;
    text-decoration: none;
}

.header-nav-wrapper {
    display: flex;
    align-items: center;
    gap: 30px;
}

.header-nav ul {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 30px;
}

.header-nav a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
    font-size: 15px;
    transition: color 0.3s;
}

.header-nav a:hover {
    color: #007bff;
}

.header-nav a.current {
    color: #007bff;
}

.btn-header-contact {
    background-color: #2662A3;
    color: #fff;
    width: 125px!important;
    padding: 8px!important;
}

/* Hero */
.hero {
    padding: 80px 0;
    color: #003366;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hero-text {
    flex: 1;
    padding-right: 40px;
}

.hero-title{
    font-size: 56px;
    font-weight: bold;
    line-height: 1.4;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    height: 100px;
}

.hero-title .bold{
    color: #2661A3;
    font-size:145px ;
    position: relative;
    top: -18%;
}

.hero-subtitle {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 50px;
    font-weight: 500;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.hero-image {
    position: absolute;
    top: 68px;
    right: 0px;
    z-index: -999;
    width: 850px;

}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

/* Problems */
.problems {
    background-color:#F7F9FB ;
    color: #003366;
}

.problems .section-title {
    line-height: 1.6;
}

.problems-container {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    margin-top: 60px;
}

.problem-item {
    flex: 1;
    text-align: center;
}

.speech-bubble {
    position: relative;
    background-color: #2662A3;
    padding: 20px;
    border-radius: 10px;
    margin: 30px auto;
    font-size: 16px;
    line-height: 1.7;
    color: #FFFFFF;
    font-weight: bold;
    width: 280px;
}

.speech-bubble::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 15px 15px 0;
    border-style: solid;
    border-color: #2662A3 transparent transparent transparent;
}

.problem-item-img {
    border-radius: 50%; /* 円形にする */
    margin: 0 auto 20px;
}

.problem-item-title {
    font-size: 22px;
    font-weight: bold;
    color: #003366;
    line-height: 1.5;
    margin-bottom: 15px;
}

.problem-item-text {
    font-size: 15px;
    line-height: 1.8;
    text-align: left;
}

/* Solution */

.section-pre-title {
    text-align: center;
    color: #58BFE4; /* Blue color */
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 35px;
}

.solution .section-title {
    color: #003366; /* Dark navy */
}

.solution-container {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    margin-top: 60px;
}

.solution-card {
    flex: 1;
    background-color: #fff;
    border-radius: 8px;
    padding: 24px;
    text-align: center;
    box-shadow: 0px 0px 7px 0px rgba(229, 231, 235, 0.5);
    transition: transform 0.3s, box-shadow 0.3s;
}

.card-icon {
    display: flex;
    justify-content: center;
    margin-bottom: 15px;
}

.card-number {
    font-size: 36px;
    font-weight: bold;
    color: #2661A3;
    margin: auto;
}
.card-number small {
    font-size: 20px;
}

.card-status {
    display: inline-block;
    color: #58BFE4;
    font-size: 12px;
    font-weight: bold;
    padding: 4px 10px;
    border-radius: 15px;
    letter-spacing: 0.5px;
}

.card-title {
    font-size: 20px;
    font-weight: bold;
    color: #003366;
    margin: 15px 0;
    line-height: 1.5;
}

.card-description {
    font-size: 14px;
    line-height: 1.7;
    text-align: left;
    border-top: 1px solid #F3F4F6;
    padding: 20px 0px 0;
    margin: auto;
}

/* Improvement */
.improvement {
    background-color: #F7F9FB;
}

.section-pre-title-alt {
    text-align: center;
    color: #87cefa; /* Light blue */
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 35px;
}

.improvement-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    margin-top: 80px;
}

.improvement-row.reverse {
    flex-direction: row-reverse;
}

.improvement-text,
.improvement-card {
    flex: 1;
    width: auto; 
}

.improvement-card {
    /* gap: 20px; */
    background-color: #fff;
    border-radius: 12px;
    padding: 35px;
}
.improvement-object{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    background-color: #fff;
    border-radius: 12px;
    margin-bottom: 30px;
}

.improvement-title {
    font-size: 28px;
    font-weight: bold;
    color: #2661A3;
    line-height: 1.5;
    margin: 20px 0;
}

.improvement-description {
    font-size: 16px;
    color: #4B5563;
    line-height: 1.8;
    font-weight: 500;
}

.tag {
    display: inline-block;
    background-color: #58BFE4;
    color: #fff;
    font-size: 14px;
    font-weight: bold;
    padding: 6px 12px;
    border-radius: 5px;
}

.before-box, .after-box {
    flex: 1;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    white-space: nowrap;
}

.before-box {
    border: 2px dashed #E5E7EB;
}

.after-box {
    background-color: #2661A3;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}
.after-box p {
    color: #fff;
}
.after-box p, .before-box p{
    line-height: 1.2;
}

.box-label {
    background-color: #fff;
    padding: 0 10px;
    font-weight: bold;
    font-size: 14px;
    color: #888;
}

.after-box .box-label {
    background-color: #2661A3;
    color: #FFFFFF;
}


.box-content {
    font-size: 16px;
    font-weight: bold;
    color: #2661A3;
    line-height: 1.5;
}

.box-icon {
    font-size: 28px;
    display: block;
    margin-bottom: 10px;
}

.icon-before { color: #dc3545; } /* Red */
.icon-after { color: #007bff; } /* Blue */

.arrow {
    font-size: 24px;
    color: #2661A3;
    font-weight: bold;
}

.improvement-result {
    font-size: 18px;
    font-weight: bold;
    font-size: 24px;
    text-align: center;
    color: #2661A3;
}
.improvement-result b{
    font-size: 48px;
    color: #58BFE4;
}

.cta-area {
    text-align: center;
    margin-top: 100px;
}

.btn-cta {
    background-color: #2661A3;
    color: #fff;
    font-size: 20px;
    font-weight: bold;
    padding: 20px 60px;
    border-radius: 8px;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.3s, transform 0.3s;
}

/* Case Studies */
.casestudies-container {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    margin-top: 60px;
}

.casestudy-card {
    flex: 1;
    background-color: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
}

.card-image-placeholder {
    /* background-color: #e9ecef; */
    height: 260px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 16px;
}

.card-text-content {
    padding: 25px;
    flex-grow: 1;
}

.client-name {
    font-size: 14px;
    color: #58BFE4;
    font-weight: bold;
    margin-bottom: 10px;
}

.case-title {
    font-size: 20px;
    font-weight: bold;
    color: #003366;
    line-height: 1.5;
}

.case-description {
    font-size: 14px;
    color: #4B5563;
    line-height: 1.7;
}

.card-metrics {
    display: flex;
    justify-content: space-around;
    padding: 20px 0px;
    border-top: 1px solid #F3F4F6;
    margin: 0 25px 10px;
}

.metric-item {
    text-align: center;
    flex: 1;
}
.metric-item:first-child {
    border-right: 1px solid #F3F4F6; 
}
.metrics-text{
    margin: 10px 0 0;
    color: #6B7280;
    font-weight: 500;
}
.metric-icon {
    font-size: 24px;
}

.metric-value {
    font-size: 28px;
    font-weight: bold;
    color: #87cefa; /* Light blue */
    line-height: 1;
    margin: 5px 0;
}

.metric-unit {
    font-size: 14px;
    font-weight: bold;
    margin-left: 2px;
}

/* Service Details */
.servicedetails{
    background-color:#F7F9FB ;
}

.servicedetail-row {
    display: flex;
    align-items: center;
    gap: 60px;
}

.servicedetail-row:not(:first-child) {
    margin-top: 60px;
}

.servicedetail-row.reverse {
    flex-direction: row-reverse;
}

.servicedetail-text {
    flex: 1;
}

.servicedetail-image {
    flex: 1;
}

.service-number {
    display: inline-block;
    font-size: 12px;
    font-weight: bold;
    color: #fff;
    padding: 5px 10px;
    border-radius: 5px;
    background-color: #2661A3;
}

.service-painpoint {
    color: #58BFE4;
    font-size: 24px;
    font-weight: bold;
    margin:15px 0;
}

.service-name {
    font-size: 32px;
    font-weight: bold;
    color: #2661A3;
}

.service-checklist {
    list-style: none;
    padding: 0;
    margin: 25px 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.service-checklist li {
    font-size: 16px;
    display: flex;
    align-items: center;
    font-weight: bold;
    color: #2661A3;
    position: relative;
    min-height: 24px;
}
.service-text{
    margin: 0 0 0 36px;
    line-height: 1.5;
    white-space: nowrap;
}

.service-checklist li::before {
    content: "";
    position: absolute;
    width: 24px;  /* アイコンのサイズ */
    height: 24px;
    background-color: #2661A3; /* 指定の色 */
    border-radius: 50%; /* 正円にする */
    flex-shrink: 0; /* 文字が長くなっても円が潰れないように */
}
.service-checklist li::after {
    content: "";
    position: absolute;
    left: 9px; 
    top: 5px;
    transform: rotate(45deg);
    width: 5px;
    height: 10px;
    border-right: 2.5px solid #fff;
    border-bottom: 2.5px solid #fff;
}

.service-description {
    font-size: 16px;
    line-height: 1.8;
}
/* Steps */
.steps-container {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-top: 80px;
}

.steps-container::before {
    content: '';
    position: absolute;
    top: 30px;
    left: 10%;
    right: 10%;
    height: 2px;
    background-image: linear-gradient(to right, #2661A3 50%, transparent 50%);
    background-size: 15px 2px;
    background-repeat: repeat-x;
    z-index: 0;
}

.step-item {
    flex: 1;
    text-align: center;
    position: relative;
    padding: 0 20px;
}
.step-item a{
    color: #0056b3;
}

.step-bg-number {
    position: absolute;
    top: 35%;
    left: 50%;
    transform: translate(-50%, -80%);
    font-size: 120px;
    font-weight: bold;
    color: #F3F4F6;
    z-index: 1;
    user-select: none;
    background-color: #fff;
    width: 180px;
}

.step-icon {
    position: relative;
    z-index: 2;
    font-size: 48px;
    line-height: 1;
    margin-bottom: 20px;
    display: inline-block;
    padding: 10px;
    border-radius: 50%;
    color: #007bff;
}

.step-title {
    position: relative;
    z-index: 2;
    font-size: 20px;
    font-weight: bold;
    color: #2661A3;
    margin-bottom: 15px;
}

.step-description {
    position: relative;
    z-index: 2;
    font-size: 14px;
    line-height: 1.7;
    text-align: left;
}


.btn {
    display: inline-block;
    font-size: 16px; /* Adjust font size */
    font-weight: bold;
    padding: 28px;
    text-decoration: none;
    border-radius: 45px;
    transition: background-color 0.3s, color 0.3s, border-color 0.3s;
    text-align: center;
    width: 256px;
}

.btn:hover {
    background-color: #0056b3;
}

.btn-primary {
    background-color: #fff;
    color: #2661A3;
    border: 2px solid #2661A3;
}

.btn-primary:hover {
    color: #fff;
}

.btn-secondary {
    background-color: #2661A3;
    color: #ffffff;
    border: 2px solid #2661A3;
}

.btn-secondary:hover {
    color: #ffffff;
}



/* Contact Detailed */
.contact-detailed {
    background-color: #2661A3;
    color: #fff;
}

.contact-container {
    display: flex;
    align-items: center;
    gap: 60px;
}

.contact-message {
    flex: 1;
}

.contact-form-wrapper {
    flex: 1;
    background-color: #fff;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.contact-title {
    font-size: 32px;
    font-weight: bold;
    line-height: 1.5;
    margin-bottom: 20px;
}

.contact-subtitle {
    font-size: 16px;
    line-height: 1.8;
    opacity: 0.9;
    margin-bottom: 30px;
}

.contact-merits {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-merits li {
    display: flex;
    align-items: center;
    font-size: 18px;
    font-weight: bold;
}

.contact-merits li:not(:last-child) {
    margin-bottom: 15px;
}

.merit-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: #58BFE4;
    margin-right: 15px;
    font-size: 16px;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    margin-right: 40px;
}
.form-group .mwform-tel-field {
    display: flex;
}
.form-group label {
    font-size: 14px;
    font-weight: bold;
    color: #2661A3;
    margin-bottom: 8px;
}

.required {
    color: #dc3545;
    font-size: 12px;
    margin-left: 4px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #F3F4F6;
    border-radius: 8px;
    font-size: 16px;
    box-sizing: border-box;
    background-color: #F9FAFB;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 5px rgba(0,123,255,0.25);
}

.privacy-policy {
    display: flex;
    justify-content: center;
    margin: 20px 0;
    font-size: 14px;
    color: #666;
    display: flex;
}

.privacy-policy input {
    margin-right: 8px;
}

.privacy-policy a {
    color: #007bff;
    text-decoration: underline;
}

.btn-submit {
    background-color: #2661A3;
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    padding: 15px 60px;
    border: none;
    border-radius: 100px;
    cursor: pointer;
    transition: background-color 0.3s;
    width: 100%;
}

.btn-submit:hover {
    background-color: #002244;
}

/* Footer */
.footer {
    background-color: #2661A3;
    color: #fff;
    padding: 60px 0;
    text-align: center;
}

.footer-logo {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 30px;
    color: #fff;
}

.footer-nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin-bottom: 40px;
    gap: 30px;
}

.footer-nav a {
    text-decoration: none;
    color: #fff;
    font-size: 15px;
    font-weight: normal;
    transition: opacity 0.3s;
}

.footer-nav a:hover {
    opacity: 0.7;
}

.copyright {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
}
/* 送信完了時のメッセージ（緑の枠線の中の文字） */
.wpcf7-response-output {
    border: none !important; /* 枠線が不要な場合は追加 */
    font-weight: bold;
}

/* 正常に送信された時（Success）の色 */
.wpcf7-mail-sent-ok {
    color: #004494 !important; /* 「デジナビ」のブランドカラーに近い濃い青 */
    background-color: #f0f7ff; /* 薄い背景色をつけると読みやすくなります */
    padding: 15px;
    border-radius: 5px;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .container {
        padding: 0 20px;
        max-width: 992px;
    }

    .section {
        padding: 80px 0;
    }

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

    /* Header */
    .header-nav-wrapper {
        gap: 20px;
    }
    .header-nav ul {
        gap: 20px;
    }
    .header-nav a {
        font-size: 14px;
    }

    /* Hero */
    .hero-container {
        flex-direction: column;
        text-align: center;
    }

    .hero-text {
        padding-right: 0;
        margin-bottom: 40px;
    }

    .hero-title {
        font-size: 48px;
        display: block;
        height: auto;
    }

    .hero-title .bold {
        font-size: 120px;
    }

    .hero-image {
        position: relative;
        width: 100%;
        top: 0;
        text-align: center;
    }
    .hero-image img {
        max-width: 80%;
    }
    .hero-buttons{
        display: block;
    }
    /* Problems */
    .problems-container {
        flex-direction: column;
        gap: 50px;
    }
    .problem-item{
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .card-description{
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    /* Solution */
    .solution-container {
        flex-direction: column;
        gap: 30px;
    }

    /* Improvement */
    .improvement-row,
    .improvement-row.reverse {
        flex-direction: column;
        gap: 40px;
    }
    .improvement-card {
        width: 100%;
        box-sizing: border-box;
    }


    /* Case Studies */
    .casestudies-container {
        flex-direction: column;
        gap: 30px;
    }

    /* Service Details */
    .servicedetail-row,
    .servicedetail-row.reverse {
        flex-direction: column;
        gap: 40px;
    }
    .servicedetail-image img{
        width: 100%;
    }

    .service-checklist {
        display: block;
    }
    .service-checklist li{
        display: block;
    }

    /* Steps */
    .steps-container {
        flex-direction: column;
        gap: 50px;
    }
    .steps-container::before {
        display: none;
    }
    .step-item {
        padding: 0;
    }

    /* Contact */
    .contact-container {
        flex-direction: column;
        gap: 40px;
    }
    .contact-form-wrapper {
        width: 100%;
        box-sizing: border-box;
    }
    .before-box, .after-box {
        white-space: normal;
    }
}
@media (max-width: 768px) {
    .container {
        padding: 0 20px;
        max-width: 768px;
    }
    .hero-subtitle{
        text-align: left;
    }
    .hero-buttons{
        display: block;
    }
    .after-box .box-content{
        color: #fff;
    }
    .problem-item{
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .problem-item-img {
        margin: 20px auto 20px;
    }
    .solution-container{
        margin-top: 30px;
    }
    .section-pre-title{
        margin-bottom: 5px;
    }
    .speech-bubble,
    .speech-bubble::after{
        margin: 0 auto;
    }
    .card-description{
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .service-painpoint{
        margin: 15px 0;
    }
    .service-checklist {
        display: block;
    }
    .service-checklist li{
        display: block;
        margin: 5px 0;
    }
}


@media (max-width: 440px) {
    .container{
        max-width: 440px; 
        margin-left: auto;
        margin-right: auto;
    }
    body {
        font-size: 14px;
    }
    .section {
        padding: 60px 0;
    }
    .section-title {
        margin-bottom: 20px;
        line-height: 1.5;
    }
    /* Header */
    .header {
        height: auto;
        padding: 15px 0;
    }
    .header-inner {
        height: auto;
    }
    .header-nav-wrapper {
        flex-direction: column;
        gap: 15px;
    }
    .header-nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px 15px;
    }
    .btn-header-contact {
        width: 100%!important;
    }
    /* Hero */
    .hero {
        padding: 40px 0;
    }
    .hero-title {
        font-size: 36px;
        display: block;
        height: auto;
    }

    .hero-title .bold {
        font-size: 90px;
    }

    .hero-subtitle {
        font-size: 16px;
    }
    /* .hero-buttons {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    } */
    .hero-buttons{
        display: block;
    }
    .btn {
        width: 275px;
        padding: 20px;
        margin: 10px;
        font-size: 18px;
    }
    .hero-image img {
        max-width: 100%;
    }

    /* Problems */
    .problem-item-title {
        font-size: 20px;
    }
    .problem-item{
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .card-description{
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .improvement-object{
        gap:0px;
    }
    .arrow{
        font-size: 20px;
        padding: 10px;
    }

    /* Solution */
    .card-title {
        font-size: 18px;
    }

    /* Improvement */
    .improvement-title {
        font-size: 24px;
    }
    .improvement-result {
        font-size: 20px;
    }
    .cta-area {
        margin-top: 60px;
    }

    .service-checklist {
        display: block;
    }
    .service-checklist li{
        display: block;
    }


    /* Case Studies */
    .case-title {
        font-size: 18px;
    }
    .card-metrics {
        gap: 20px;
    }
    .metric-value {
        font-size: 24px;
    }

    /* Service Details */
    .service-name {
        font-size: 26px;
    }
    .service-checklist {
        display: block;
    }
    .service-checklist li{
        display: block;
    }

    /* Steps */
    .step-icon {
        margin-bottom: 0;
    }
    .step-content {
        flex: 1;
    }
    .step-description {
        text-align: left;
    }


    /* Contact */
    .contact-title {
        font-size: 26px;
    }
    .contact-subtitle {
        font-size: 15px;
    }
    .contact-form-wrapper {
        padding: 20px;
    }
    .form-row {
        flex-direction: column;
        gap: 0;
        margin-bottom: 0;
    }
    .form-group {
        margin-bottom: 20px;
    }
}

