/* =========================================================
   the-grid.jp / TOP  追加スタイル
   ベース: ../grid-web0424/css/style.css を継承
   カラー: #73716d(text) / #81724E(accent) / #b1ada8(border)
========================================================= */

/* 基本調整 */
body {
    font-family: "Yu Gothic", "游ゴシック体", YuGothic, "Hiragino Kaku Gothic Pro", sans-serif;
    color: #73716d;
    background-color: #fff;
}

main {
    padding-top: 80px;
}

a {
    color: #73716d;
}

a:hover {
    text-decoration: none;
    opacity: 0.7;
}

/* font追加 */
.f-37 { font-size: 3.7rem; }
.f-56 { font-size: 5.6rem; }

/* =========================================================
   グローバルヘッダー
========================================================= */
.global-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: #fff;
    border-bottom: 1px solid #ebe9e4;
    z-index: 100;
}

.gh-inner {
    max-width: 1400px;
    height: 100%;
    margin: 0 auto;
    padding: 0 40px;
}

.gh-logo a {
    color: #73716d;
    letter-spacing: 0.2em;
    text-decoration: none;
}

.gh-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.gh-nav ul li {
    margin-right: 2.4rem;
}

.gh-nav ul li a {
    color: #73716d;
    text-decoration: none;
    letter-spacing: 0.1em;
    transition: 0.3s;
}

.gh-nav ul li a:hover {
    color: #81724E;
}

.gh-contact {
    display: inline-block;
    color: #fff !important;
    background: #1a1a1a;
    padding: 14px 26px;
    letter-spacing: 0.1em;
    transition: 0.3s;
    -webkit-text-stroke: 0.5px;
}

.gh-contact:hover {
    background: #81724E;
    opacity: 1;
}

.gh-burger {
    display: none;
    width: 28px;
    height: 22px;
    position: relative;
    cursor: pointer;
}

.gh-burger span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 1.5px;
    background: #73716d;
    transition: 0.3s;
}

.gh-burger span:nth-child(1) { top: 0; }
.gh-burger span:nth-child(2) { top: 50%; }
.gh-burger span:nth-child(3) { bottom: 0; }

.gh-burger.open span:nth-child(1) { transform: translateY(10px) rotate(45deg); }
.gh-burger.open span:nth-child(2) { opacity: 0; }
.gh-burger.open span:nth-child(3) { transform: translateY(-10px) rotate(-45deg); }

/* =========================================================
   01 ファーストビュー
========================================================= */
.top-fv {
    padding: 80px 0 150px;
}

.fv-inner {
    gap: 60px;
}

.fv-text {
    flex: 1;
    min-width: 0;
}

.fv-text h1 {
    color: #3f3d39;
    margin-bottom: 2.4rem;
    letter-spacing: 0.3rem;
    line-height: 1.5;
}

.fv-text p {
    margin-bottom: 4rem;
}

.fv-btns {
    gap: 16px;
    flex-wrap: wrap;
}

.fv-btn {
    display: inline-block;
    padding: 18px 36px;
    letter-spacing: 0.15em;
    text-decoration: none;
    transition: 0.3s;
    min-width: 240px;
    text-align: center;
}

.fv-btn-primary {
    background: #1a1a1a;
    color: #fff !important;
}

.fv-btn-primary:hover {
    background: #81724E;
    opacity: 1;
}

.fv-btn-ghost {
    background: #fff;
    color: #73716d !important;
    border: 1px solid #73716d;
}

.fv-btn-ghost:hover {
    background: #73716d;
    color: #fff !important;
    opacity: 1;
}

.fv-img {
    flex: 1;
    min-width: 0;
}

.fv-img img {
    width: 100%;
    height: 440px;
    object-fit: cover;
}

/* =========================================================
   セクション共通タイトル
========================================================= */
.sectitle-top {
    margin-bottom: 6rem;
    letter-spacing: 0.5rem;
    color: #3f3d39;
}

.sectitle-top::after {
    content: "";
    display: block;
    width: 40px;
    height: 1px;
    background: #81724E;
    margin: 2rem auto 0;
}

/* =========================================================
   02 課題訴求
========================================================= */
.issue-list {
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 20px;
}

.issue-item {
    flex: 1;
    padding: 20px;
}

.issue-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 2rem;
}

.issue-icon svg {
    width: 100%;
    height: 100%;
}

.issue-item p {
    line-height: 2.2rem;
    margin: 0;
}

/* =========================================================
   03 サービス
========================================================= */
.service-list {
    gap: 30px;
}

.service-card {
    flex: 1;
    background: #fff;
    border: 1px solid #ebe9e4;
    transition: 0.3s;
}

.service-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transform: translateY(-4px);
}

.service-img {
    width: 100%;
    height: 220px;
    overflow: hidden;
}

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

.service-body {
    padding: 32px 28px 36px;
}

.service-body h3 {
    margin-bottom: 1.4rem;
    letter-spacing: 0.3rem;
    color: #3f3d39;
}

.service-body p {
    margin-bottom: 2rem;
    min-height: 6rem;
}

.service-more {
    display: inline-block;
    color: #81724E !important;
    text-decoration: none;
    letter-spacing: 0.1em;
    padding-bottom: 4px;
    border-bottom: 1px solid #81724E;
    transition: 0.3s;
}

.service-more:hover {
    color: #73716d !important;
    border-bottom-color: #73716d;
    opacity: 1;
}

/* =========================================================
   04 導入事例
========================================================= */
.works-wrap {
    gap: 30px;
}

.works-list {
    flex: 1;
    gap: 20px;
}

.works-item {
    flex: 1;
    min-width: 0;
}

.works-img {
    width: 100%;
    height: 160px;
    margin-bottom: 1.4rem;
    overflow: hidden;
}

.works-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.6s;
}

.works-item:hover .works-img img {
    transform: scale(1.06);
}

.works-meta {
    color: #81724E;
    margin-bottom: 0.6rem;
    letter-spacing: 0.08em;
}

.works-desc {
    margin: 0;
    line-height: 2.2rem;
}

.works-more-box {
    flex: 0 0 auto;
}

.works-more {
    display: inline-block;
    padding: 16px 28px;
    border: 1px solid #73716d;
    color: #73716d !important;
    text-decoration: none;
    letter-spacing: 0.1em;
    transition: 0.3s;
    white-space: nowrap;
}

.works-more:hover {
    background: #73716d;
    color: #fff !important;
    opacity: 1;
}

/* =========================================================
   05 選ばれる理由
========================================================= */
.strength-list {
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 20px;
}

.strength-item {
    flex: 1;
    padding: 20px;
}

.strength-icon {
    width: 88px;
    height: 88px;
    margin: 0 auto 2rem;
}

.strength-icon svg {
    width: 100%;
    height: 100%;
}

.strength-item p {
    line-height: 2.4rem;
    margin: 0;
}

/* =========================================================
   06 導入までの流れ
========================================================= */
.flow-list {
    list-style: none;
    margin: 0;
    padding: 0;
    position: relative;
    counter-reset: flow;
    gap: 10px;
}

.flow-list::before {
    content: "";
    position: absolute;
    top: 22px;
    left: 10%;
    right: 10%;
    height: 1px;
    background: #d6d3cc;
    z-index: 0;
}

.flow-item {
    flex: 1;
    position: relative;
    z-index: 1;
}

.flow-num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid #81724E;
    color: #81724E;
    background: #fff;
    margin: 0 auto 1.8rem;
    letter-spacing: 0.05em;
}

.flow-ttl {
    margin-bottom: 1rem;
    color: #3f3d39;
    letter-spacing: 0.15em;
}

.flow-item p:last-child {
    margin: 0;
    color: #8c8a85;
}

/* =========================================================
   08 フッターCTA
========================================================= */
.top-cta {
    background: #f4f2ee;
    padding: 100px 0;
    margin-bottom: 0;
}

.top-cta p {
    color: #3f3d39;
    letter-spacing: 0.3rem;
}

.top-cta-btns {
    gap: 20px;
    flex-wrap: wrap;
}

/* =========================================================
   レスポンシブ
========================================================= */
@media (max-width: 1200px) {
    .fv-text h1 { font-size: 4.2rem; }
    .fv-img img { height: 380px; }
}

@media (max-width: 960px) {
    main { padding-top: 70px; }

    .global-header { height: 70px; }
    .gh-inner { padding: 0 20px; }
    .gh-nav { display: none; }
    .gh-burger { display: block; }

    /* モバイルメニュー展開時 */
    .gh-nav.active {
        display: flex;
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        height: calc(100vh - 70px);
        background: #fff;
        flex-direction: column;
        align-items: stretch;
        padding: 30px 40px;
        overflow-y: auto;
    }
    .gh-nav.active ul {
        flex-direction: column;
        margin-bottom: 20px;
    }
    .gh-nav.active ul li {
        margin: 0 0 20px 0;
    }
    .gh-nav.active .gh-contact {
        text-align: center;
    }

    /* 01 FV */
    .top-fv { padding: 40px 0 80px; }
    .fv-inner {
        flex-direction: column-reverse;
        gap: 30px;
    }
    .fv-text h1 {
        font-size: 3.3rem;
        line-height: 1.6;
        letter-spacing: 0.2rem;
    }
    .fv-img img { height: 280px; }
    .fv-btn {
        padding: 15px 24px;
        min-width: 0;
        flex: 1;
    }

    .sectitle-top {
        font-size: 2.7rem;
        letter-spacing: 0.3rem;
        margin-bottom: 4rem;
    }

    /* 02 課題 */
    .issue-list {
        flex-wrap: wrap;
        gap: 16px;
    }
    .issue-item {
        flex: 0 0 calc(50% - 8px);
        padding: 10px;
    }
    .issue-icon { width: 60px; height: 60px; margin-bottom: 1.2rem; }

    /* 03 サービス */
    .service-list {
        flex-direction: column;
        gap: 24px;
    }
    .service-img { height: 200px; }
    .service-body p { min-height: 0; }

    /* 04 事例 */
    .works-wrap {
        flex-direction: column;
        gap: 30px;
    }
    .works-list { width: 100%; }
    .works-img { height: 120px; }
    .works-more-box { align-self: center; }

    /* 05 強み */
    .strength-list {
        flex-wrap: wrap;
        gap: 20px;
    }
    .strength-item {
        flex: 0 0 calc(50% - 10px);
    }
    .strength-icon { width: 72px; height: 72px; }

    /* 06 フロー */
    .flow-list {
        flex-wrap: wrap;
        gap: 24px;
    }
    .flow-list::before { display: none; }
    .flow-item {
        flex: 0 0 calc(50% - 12px);
    }

    /* CTA */
    .top-cta { padding: 70px 0; }
    .top-cta p.f-40 { font-size: 2.6rem; }
    .top-cta-btns { flex-direction: column; gap: 12px; }
    .top-cta-btns .fv-btn { width: 100%; }

}

@media (max-width: 560px) {
    .fv-btns { flex-direction: column; }
    .fv-btn { width: 100%; }
    .issue-item, .strength-item, .flow-item {
        flex: 0 0 100%;
    }
}
