.entry-header {
    display: none;
}

/*---- background-----*/
#nav {
    background: #247BC7;
}

#case,
#strength {
    background: #EDF7FF;
}

#service {
    background: #EDF7FF;
}

#kts {
    background: #E0F1FF;
}



#service h2,
#service h3,
#service hr,
#service p {
    color: #101010;
}

#service h3 {
    border-left: solid 6px #101010;
}

#service .service_inner {
    background: #fff;
    box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.25);
    border-radius: 20px;
    padding: 20px;
    text-align: center;
    height: 360px;
}

#service .service_inner img {
    padding: 20px 70px;
}

#service .service_ti {
    color: #135FA2;
    font-weight: 700;
}

#service .service_text {
    text-align: left;
    display: inline-block;
    font-size: 0.8em;
    letter-spacing: 0.05em;
    line-height: 1.6em;
    color: #135FA2;
}

#service a {
    text-decoration-line: underline;
    font-size: 0.8em;
    letter-spacing: 0.05em;
    color: #616161;
}

@media screen and (min-width: 1600px) {
    #service .service_inner {
        height: 400px;
    }
}

@media screen and (min-width: 736px) and (max-width: 1069px) {
    #service .service_inner {
        height: 400px;
    }

    #service .service_inner img {
        padding: 20px 40px;
    }
}

@media screen and (max-width: 736px) {
    #service .service_inner {
        padding: 30px;
        height: 340px;
    }
}

#kts .kts_content {
    width: 80%;
    display: flex;
    align-items: center;
    margin: 0 auto;
    flex-direction: row;
}

#kts .kts_content img {
    margin: 20px;
    width: 40%;
}

#kts .kts_content p {
    font-size: 0.9em;
    letter-spacing: 0.05em;
    line-height: 1.6em;
    margin: 20px;
}

#kts .kts_content a {
    text-decoration-line: underline;
    font-size: 0.8em;
    letter-spacing: 0.05em;
    display: block;
}

.link_btn {
    text-align: center;
    color: #fff;
    font-weight: 700;
    background: #3980C2;
    padding: 16px;
    border-radius: 20px;
    margin: 0 auto;
    display: block;
    width: 320px;
}

@media screen and (max-width: 736px) {
    #kts .kts_content img {
        margin: 0px;
        width: 90%;
    }

    #kts .kts_content p {
        margin: 5px 20px;
    }

    #kts .kts_content {
        width: 90%;
        display: flex;
        align-items: center;
        margin: 0 auto;
        flex-direction: column;
    }
}


/* ==========================================================================
   Base Settings
   ========================================================================== */

*,
*::before,
*::after {
    box-sizing: border-box;
}

.lp-link {
    text-decoration: none;
    color: inherit;
}

.lp-img {
    max-width: 100%;
    height: auto;
    vertical-align: bottom;
}


/* ==========================================================================
   Hero Section Layout
   ========================================================================== */
.hero {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 60px 20px 100px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-image: url(https://teamorder.jp/wp-content/themes/wp-dcafe/page/lps/img/hero_bg_pc.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.hero-container {
    max-width: 1000px;
    width: 100%;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    /* 左寄せ */
    text-align: left;
    /* 左寄せ */
}

/* ==========================================================================
   Hero Content Elements
   ========================================================================== */

/* 白いタグ */
.hero-tag {
    background-color: #ffffff;
    color: #0068b7;
    font-size: 16px;
    font-weight: 700;
    padding: 6px 20px;
    border-radius: 4px;
    margin-bottom: 24px;
    display: inline-block;
    letter-spacing: 0.05em;
}

/* メインタイトル */
.hero-title {
    font-size: 64px;
    font-weight: 900;
    margin: 0 0 15px;
    line-height: 1.2;
    letter-spacing: 0.02em;
    color: #ffffff;
}

/* サブコピー */
.hero-sub {
    color: #E2E066;
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 10px;
    letter-spacing: 0.05em;
}

/* 特徴リスト */
.hero-features {
    list-style: none;
    margin: 0 0 50px;
    padding: 0;
    display: flex;
    justify-content: flex-start;
    gap: 8px;
    flex-wrap: wrap;
}

.hero-features li {
    background-color: #E2E066;
    color: #135FA2;
    font-size: 14px;
    font-weight: 700;
    padding: 10px 24px;
    border-radius: 50px;
    white-space: nowrap;
}

/* ==========================================================================
   CTA Button
   ========================================================================== */
.hero-cta-wrapper {
    width: 100%;
    display: flex;
    justify-content: flex-start;
}

.cta-button {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    background: linear-gradient(132deg, #FF8356 24.44%, #E77044 76.51%);
    color: #ffffff;
    width: 100%;
    max-width: 390px;
    height: 100px;
    border-radius: 40px;
    position: relative;
    transition: transform 0.2s, box-shadow 0.2s;
    padding: 0 30px;
    margin-bottom: 20px;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.cta-icon {
    width: 20%;
    margin: 10px 30px 0px 20px;
    display: flex;
    align-items: flex-end;
    flex-shrink: 0;
}

.cta-icon .lp-img {
    width: 100%;
    transform: scale(1.3) translateY(-8px);
}

.cta-text {
    text-align: left;
    flex-grow: 1;
}

.cta-small {
    display: block;
    font-size: 13px;
    font-weight: 700;
}

.cta-large {
    display: block;
    font-size: 24px;
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: 0.05em;
}

.cta-arrow::after {
    content: "";
    display: block;
    width: 10px;
    height: 10px;
    border-top: 3px solid #ffffff;
    border-right: 3px solid #ffffff;
    transform: rotate(45deg);
    margin-left: 10px;
}

/* ==========================================================================
   Bottom Navigation
   ========================================================================== */
.hero-nav {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #135FA2;
    padding: 20px 0;
    z-index: 2;
}

.nav-container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    justify-content: space-around;
    padding: 0 20px;
}

.nav-item {
    font-size: 14px;
    font-weight: 700;
    color: #ffffff;
    padding-bottom: 5px;
    border-bottom: 2px solid #ffffff;
    width: 30%;
    text-align: center;
    transition: opacity 0.2s;
}

.nav-item:hover {
    opacity: 0.8;
}

/* ==========================================================================
   Responsive (Smartphone)
   ========================================================================== */
@media screen and (max-width: 768px) {

    .hero {
        min-height: auto;
        padding: 50px 20px 80px;
    }

    .hero-tag {
        font-size: 11px;
        padding: 5px 10px;
        margin-bottom: 10px;
    }

    .hero-title {
        font-size: 32px;
        margin-bottom: 15px;
        text-align: center;
    }

    .hero-title-big {
        font-size: 63px;
    }

    .hero-container {
        align-items: center;
    }

    .hero-sub {
        font-size: 13px;
        margin-bottom: 5px;
        margin-left: 12px;
    }

    .hero-features {
        flex-direction: row;
    }

    .hero-features li {
        max-width: 180px;
        text-align: center;
        font-size: 10px;
        line-height: 1.5em;
        border-radius: 10px;
        width: 110px;
        padding: 10px 0px !important;
    }

    .hero-features {
        flex-wrap: nowrap;
        justify-content: center;
    }

    .hero-cta-wrapper {
        /* ボタン全体は中央配置 */
        justify-content: center;
    }

    .cta-button {
        padding: 10px 20px;
        border-radius: 60px;
        max-width: 95%;
        height: 90px;
    }

    .cta-icon {
        width: 27%;
        margin-right: 13px;
        margin-bottom: 20px;
    }

    .cta-icon .lp-img {
        transform: none;
        /* スマホでははみ出しをリセット */
    }

    .cta-text {
        text-align: left;
        /* ボタン内の文字は左寄せのまま */
    }

    .cta-large {
        font-size: 18px;
    }

    .cta-small {
        font-size: 11px;
    }

    .cta-arrow::after {
        margin-right: 7px;
    }

    .sp-br-in-btn {
        display: inline;
        /* スマホのみボタン内テキスト改行 */
    }

    /* ナビゲーション */
    .hero-nav {
        padding: 15px 0;
    }

    .nav-item {
        font-size: 12px;
        width: auto;
        flex: 1;
        margin: 0 5px;
    }
}


.pc-br {
    display: block;
}

.sp-br {
    display: none;
}

/* ==========================================================================
   Solution Section Layout
   ========================================================================== */
.sol-section {
    width: 100%;
    padding: 80px 20px;
    background-color: #ffffff;
}

.sol-container {
    max-width: 1100px;
    margin: 0 auto;
}

/* --- Header --- */
.sol-header {
    text-align: center;
    margin-bottom: 60px;
}

.sol-title {
    font-size: 36px;
    font-weight: 900;
    margin: 0 0 20px;
    letter-spacing: 0.05em;
    color: #333333;
}

.highlight-text {
    color: #eb6100;
    /* 強調オレンジ */
    display: inline-block;
}

.sol-desc {
    font-size: 15px;
    color: #333333;
    line-height: 1.8;
    margin: 0;
}

/* --- Swiper / Grid Layout Switching --- */
/* PC時（Swiper無効化時）のレイアウト調整 */
@media screen and (min-width: 769px) {
    .sol-swiper {
        width: 100%;
        overflow: visible;
        /* スライドが見切れないように */
    }

    .sol-swiper .swiper-wrapper {
        /* PCではFlexboxで3列配置 */
        display: flex;
        justify-content: space-between;
        align-items: stretch;
        /* 高さを揃える */
        gap: 20px;
        transform: none !important;
        /* Swiperのスタイルを打ち消し */
        width: 100% !important;
    }

    .sol-swiper .swiper-slide {
        width: calc(33.333% - 14px) !important;
        /* 3等分（gap考慮） */
        height: auto !important;
        margin: 0 !important;
    }

    .swiper-pagination {
        display: none;
        /* PCでは非表示 */
    }
}

/* --- Slide Item (Problem + Solution) --- */
.sol-item {
    display: flex;
    flex-direction: column;
    /* ボックスの高さを揃えるためにFlexを活用 */
    height: auto;
}

/* --- Problem Box (White) --- */
.prob-box {
    background-color: #ffffff;
    padding: 40px 15px 0px;
    text-align: center;
    position: relative;
    border: 4px solid #dff0f9;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 30px;
    flex-grow: 0;
    height: 140px;
}

/* Badge */
.prob-badge {
    position: absolute;
    top: -35px;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 70px;
    background-color: #dff0f9;
    /* 薄い青 */
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #0068b7;
    /* KAMO Blue */
}

.prob-label {
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 2px;
}

.prob-num {
    font-size: 22px;
    font-weight: 900;
    line-height: 1;
}

.prob-title {
    font-size: 20px;
    font-weight: 700;
    color: #0068b7;
    margin: 0 0 5px;
}

.prob-text {
    font-size: 14px;
    margin: 0;
    line-height: 1.6;
    color: #333333;
}

/* Arrow (Triangle) */
.prob-arrow {
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 15px 12px 0 12px;
    border-color: #dff0f9 transparent transparent transparent;
    margin-top: 20px;
    margin-bottom: -15px;
    position: relative;
    z-index: 2;
    bottom: 8px;
}

.prob-arrow::after {
    content: "";
    position: absolute;
    top: -20px;
    left: -12px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 15px 12px 0 12px;
    border-color: #ffffff transparent transparent transparent;
}


.sol-box {
    background-color: #0068b7;
    color: #ffffff;
    padding: 40px 20px 30px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-grow: 1;
    position: relative;
    z-index: 1;
}

.sol-icon-area {
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sol-icon {
    max-height: 100%;
}

.sol-sub-cap {
    font-size: 12px;
    font-weight: 700;
    margin: 0 0 5px;
    color: #ffffff;
}

.sol-main-cap {
    font-size: 22px;
    font-weight: 900;
    color: #5A5A5A;
    background-color: #EEE53A;
    display: inline-block;
    padding: 5px 20px;
    margin: 0 0 20px;
    letter-spacing: 0.05em;
    box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.1);
}

.sol-text {
    font-size: 14px;
    text-align: left;
    line-height: 1.7;
    margin: 0 0 10px;
    width: 100%;
    color: #ffffff;
}

.sol-note {
    font-size: 11px;
    display: block;
    margin-top: 5px;
    opacity: 0.8;
    color: #ffffff;
}

.sol-link {
    color: #ffffff;
    font-size: 13px;
    text-decoration: underline;
    margin-top: auto;
    align-self: flex-start;
}

.sol-link:hover {
    text-decoration: none;
    opacity: 0.8;
}

.sol-footer {
    text-align: center;
    margin-top: 60px;
}

.sol-footer-sub {
    font-size: 15px;
    color: #333333;
    line-height: 1.8;
    margin: 0;
}

.sol-footer-main-wrap {
    display: inline-block;
    position: relative;
    z-index: 1;
}

/* 黄色の下線マーカー */
.sol-footer-main-wrap::after {
    content: "";
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 15px;
    background-color: #EEE53A;
    z-index: -1;
}

.sol-footer-main {
    font-size: 45px;
    font-weight: 900;
    margin: 0;
    line-height: 1.4;
    letter-spacing: 0.05em;
    color: #135FA2;
    margin-top: 20px;
}

@media screen and (max-width: 768px) {

    .pc-br {
        display: none;
    }

    .sp-br {
        display: inline;
    }

    .sol-section {
        padding: 60px 0;
    }

    .sol-header,
    .sol-footer {
        padding: 0 20px;
    }

    .sol-title {
        font-size: 24px;
        margin-bottom: 15px;
    }

    .sol-desc {
        font-size: 10px;
        text-align: left;
    }

    .swiper-slide {
        height: auto;
    }

    .prob-arrow {
        margin-bottom: -18px;
    }

    .sol-main-cap {
        font-size: 20px;
        padding: 5px 15px;
    }

    .sol-footer-main {
        font-size: 27px;
        display: inline;
        padding: 0 4px 2px 4px;
        background: linear-gradient(transparent 50%, #EEE53A 50%);
    }

    .sol-footer {
        margin-top: 20px;
    }

    .sol-footer-sub {
        font-size: 10px;
        margin-bottom: 10px;
    }

    .prob-arrow {
        margin-top: 21px;
    }
}

/* ==========================================================================
   Solution Box Customization
   ========================================================================== */

.lp-icon-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.lp-sol-sub {
    font-size: 12px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 8px;
}

.lp-sol-main-wrap {
    margin-bottom: 20px;
}

.lp-sol-box {
    background-color: transparent;
    padding: 0;
    text-align: center;
    position: relative;
    z-index: 1;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 360px;
}

.lp-sol-top {
    background-color: #095496;
    padding: 40px 20px 25px;
    width: 100%;
}

.lp-sol-bottom {
    background-color: #0068b7;
    padding: 25px 30px 40px;
    width: 100%;
    flex-grow: 1;
}

.lp-icon-wrap {
    width: 80px;
    height: 60px;
    margin: 0 auto 15px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.lp-sol-sub {
    font-size: 13px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 15px;
}

.lp-sol-main-wrap {
    margin-bottom: 20px;
    margin-top: -50px;
}

.lp-sol-main {
    display: inline-block;
    background-color: #EEE53A;
    color: #0068b7;
    font-size: 22px;
    font-weight: 900;
    padding: 8px 20px;
    width: 290px;
    max-width: 100%;
}

.lp-sol-text {
    font-size: 13px;
    color: #ffffff;
    line-height: 1.8;
    text-align: left;
    width: 100%;
}

/* ==========================================================================
   CTA Button
   ========================================================================== */
.cta-zone {
    background-color: #1970BC;
    padding: 40px 20px 20px 20px;
    box-shadow: 0 8px 5px 0 rgba(0, 0, 0, 0.15);
    z-index: 1;
    position: relative;
}

.hero-cta-wrapper-zone {
    width: 100%;
    display: flex;
    justify-content: center;
}

.cta-text-wht {
    text-align: center;
    margin-bottom: 10px;
    color: #fff;
}

/* ==========================================================================
   Responsive (Smartphone)
   ========================================================================== */
@media screen and (max-width: 768px) {
    .cta-text-wht {
        font-size: 12px;
    }
}


/* ==========================================================================
   Case Study Section
   ========================================================================== */
.case-wrapper {
    padding: 40px 40px;
    width: 100%;
    background-color: #fff;
    border-radius: 9px;
}

.case-name {
    font-size: 28px;
    font-weight: 700;
    color: #1970BC;
    margin: 0 0 10px;
    border-left: none;
    padding: 0;
    font-family: futura;
}

.case-link-area {
    font-size: 14px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.case-link {
    color: #333333;
    text-decoration: underline;
    margin-left: 5px;
    margin-right: 15px;
}

.case-link-note {
    font-size: 12px;
    color: #888888;
}

.case-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 30px;
}

.tag-item {
    background-color: #4D92EB;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    padding: 6px 15px;
    border-radius: 0;
    display: inline-block;
}

.case-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.case-box {
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 20px;
    display: flex;
}

.case-logo-wrap {
    flex: 0 0 80px;
    margin-right: 30px;
    display: flex;
    justify-content: center;
}

.case-logo-img {
    width: 80%;
}

.case-text-wrap {
    flex: 1;
}

.case-desc {
    font-size: 13px;
    line-height: 1.8;
    margin: 0;
}

.case-bottom-note {
    font-size: 14px;
}

/* ==========================================================================
   Responsive (Smartphone)
   ========================================================================== */
@media screen and (max-width: 768px) {
    .case-wrapper {
        padding: 30px 15px;
    }

    .case-name {
        font-size: 24px;
    }

    .case-box {
        flex-direction: column;
        align-items: center;
        padding: 10px 14px;
    }

    .case-logo-wrap {
        margin-right: -20px;
        justify-content: flex-start;
    }

    .case-tags {
        gap: 8px;
    }

    .tag-item {
        font-size: 8px;
        padding: 5px 12px;
    }

    .case-desc,
    .case-bottom-note {
        font-size: 12px;
        text-align: left;
    }

    .case-link-area {
        font-size: 12px;
    }

    .case-link-note {
        font-size: 8px;
    }

    .case-container {
        align-items: flex-start;
    }

    .case-logo-img {
        width: 60%;
    }

    .card-content {
        padding: 70px 30px 40px 30px;
        flex-grow: 1;
        height: 240px;
    }

    .swiper-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet,
    .swiper-pagination-horizontal.swiper-pagination-bullets .swiper-pagination-bullet {
        margin: 0 8px 0px;
    }

}

.point-card {
    background: #FFFFFB;
    border-radius: 15px 15px 15px 0px;
    padding: 0;
    overflow: hidden;
    height: auto;
    display: flex;
    flex-direction: column;
    position: relative;
    height: 100%;
}

.point-badge {
    background-color: #135FA2;
    color: #fff;
    font-weight: 700;
    font-size: 10px;
    padding: 4px 10px;
    display: inline-block;
    position: absolute;
    top: 30px;
    left: 30px;
    border-radius: 2px;
}

.card-content {
    padding: 70px 30px 40px 30px;
    flex-grow: 1;
}

.sub-title {
    color: #135FA2;
    font-size: 10px;
    font-weight: 700;
}

.main-title {
    color: #135FA2;
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 10px 0;
    line-height: 1.4;
    display: inline-block;
    position: relative;
    z-index: 1;
    border-left: none;
    padding: 0;
}

.main-title.highlight {
    background: linear-gradient(transparent 65%, #EEE53A 65%);
}

.description {
    font-size: 12px;
    line-height: 1.8;
    margin: 0;
    text-align: justify;
}

/* =========================================
   Swiper Mobile Settings (〜767px)
   ========================================= */
.swiper {
    width: 100%;
    padding-bottom: 20px;
}

.swiper-slide {
    height: auto;
}

.swiper-pagination-bullet-active {
    background-color: #135FA2;
}

/* =========================================
   Desktop Grid Settings (768px〜)
   ========================================= */
@media screen and (min-width: 768px) {

    /* SwiperのラッパーをGridレイアウトで上書き */
    .points-grid {
        display: grid !important;
        /* Swiperのflexを強制上書き */
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
        transform: none !important;
        /* スライド移動を無効化 */
        width: 100% !important;
    }

    .swiper-slide {
        width: auto !important;
        /* Swiperのwidth計算を無効化 */
        margin-right: 0 !important;
    }

    .point-card {
        height: 100%;
        /* グリッド内で高さを揃える */
    }

    /* デスクトップではページネーションを隠す */
    .swiper-pagination {
        display: none;
    }


}

/* タブレット微調整 (768px〜1024px) */
@media screen and (min-width: 768px) and (max-width: 1024px) {
    .points-grid {
        grid-template-columns: repeat(2, 1fr);
        /* タブレットは2列 */
    }

    .prob-title {
        font-size: 17px;
    }

    .prob-text {
        font-size: 10px;
    }

    .prob-arrow {
        margin-top: 37px;
    }

    .lp-sol-main {
        font-size: 16px;
    }

    .lp-sol-box {
        height: 390px;
    }

    .sol-footer-main {
        font-size: 32px;
    }

    .sol-title {
        font-size: 30px;
    }
}