@charset "utf-8";
/* ページ全体の枠（このファイル1本で完結します） */
html { -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    background: #fff;
    font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans",
                 "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", Meiryo, sans-serif;
    color: #1a1612;
}
a { text-decoration: none; }
.site-head {
    border-bottom: 1px solid #e8e2d8;
    padding: 14px 20px;
}
.site-head a {
    font-size: 14px; font-weight: 700; color: #3d2814;
}
.site-head a:hover { opacity: .7; }
.page { max-width: 820px; margin: 0 auto; }
.site-foot {
    border-top: 1px solid #e8e2d8;
    padding: 22px 20px 30px;
    text-align: center;
    font-size: 13px;
    color: #6b6259;
}
.site-foot a { color: #b87716; font-weight: 700; }

/* ============================================================
   業務アプリ アラモ 紹介ページ（モダン版）
   すべての指定を .ax で囲っているので、サイトの他ページには影響しません。
   色を変えるときは下の :root ブロックの値だけを変えてください。
   ============================================================ */

.ax {
    --brand:      #3d2814;  /* ロゴの茶 */
    --brand-800:  #5c3a0d;
    --accent:     #ecb036;  /* アクセントの黄 */
    --accent-600: #b87716;
    --ink:        #1a1612;
    --ink-600:    #574e46;
    --muted:      #6b6259;
    --line:       #e8e2d8;
    --paper:      #fffdf9;
    --tint:       #faf6ee;

    font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN",
                 "Noto Sans JP", "Yu Gothic", Meiryo, sans-serif;
    color: var(--ink);
    line-height: 1.9;
    font-size: 17px;
    letter-spacing: 0.01em;
    -webkit-font-smoothing: antialiased;
}

.ax *,
.ax *::before,
.ax *::after { box-sizing: border-box; }

.ax img { max-width: 100%; height: auto; display: block; border: 0; }
.ax p { margin: 0 0 1em; text-align: left; }
.ax a { transition: all .25s ease; }

/* 見出し ------------------------------------------------ */
.ax h2, .ax h3, .ax h4 {
    border: none; background: none; padding: 0; color: var(--ink);
}
.ax .ax-label {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .14em;
    color: #fff;
    background: var(--brand);
    border-radius: 999px;
    padding: 5px 14px 4px;
    margin: 0 0 16px;
    text-transform: uppercase;
    line-height: 1.5;
}
.ax-dark .ax-label { background: var(--accent); color: var(--brand); }
.ax h3 {
    font-size: 31px;
    line-height: 1.45;
    font-weight: 700;
    margin: 0 0 8px;
    letter-spacing: -0.01em;
}
.ax h4 {
    font-size: 19px;
    font-weight: 700;
    margin: 0 0 6px;
    line-height: 1.55;
}
.ax .ax-sec {
    margin: 74px 0;
    padding: 44px 26px 0;
    border-top: 1px solid var(--line);
}
.ax .ax-sec:has(> .ax-dark) { border-top: none; padding-top: 0; }
/* ヒーローの直後だけは罫線を引かない（画像そのものが区切りになっている） */
.ax-hero + .ax-sec { border-top: none; padding-top: 0; }
/* 最後の節（導入の流れ）と末尾CTAのあいだの白を詰める */
.ax .ax-sec:has(> .ax-steps) { margin-bottom: 0; }

/* 図版 -------------------------------------------------- */
.ax-issues { display: flex; align-items: center; gap: 24px; }
.ax-issues-fig { flex: 0 0 27%; }
.ax-issues-fig img { border-radius: 12px; }
.ax-issues ul { flex: 1 1 auto; }

.ax-fig { margin: 24px 0 8px; }
.ax-fig img {
    border: 1px solid var(--line);
    border-radius: 14px;
}
.ax-fig figcaption {
    font-size: 12.5px; color: var(--muted); text-align: center; margin-top: 8px;
}

/* 全幅の図版の帯 */
.ax-band {
    margin: 26px -26px 34px;
    background: var(--brand);
}
.ax-band img { width: 100%; }

/* 濃い面・淡い面の「帯」だけは、左右の余白を打ち消して端まで届かせる */
.ax-pains,
.ax-dark,
.ax-pricehero,
.ax-steps { margin-left: -26px; margin-right: -26px; }

/* .ax の直下に置くもの（ヒーロー・末尾CTA）は全幅、注記だけ内側に寄せる */
.ax > .ax-note { padding: 0 26px; }
.ax .ax-sec > p { color: var(--ink-600); }

/* ヒーロー ---------------------------------------------- */
.ax-hero {
    position: relative;
    border-radius: 0;
    overflow: hidden;
    padding: 60px 36px 54px;
    color: #fff;
    background: #2a1b0f;
    isolation: isolate;
}
.ax-hero::before {
    content: "";
    position: absolute; inset: 0; z-index: -2;
    background: url("img/m_hero.jpg") center 38% / cover no-repeat;
}
.ax-hero::after {
    content: "";
    position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(105deg, rgba(30,19,10,.94) 0%, rgba(30,19,10,.86) 42%, rgba(30,19,10,.42) 100%);
}
.ax-lock {
    display: flex; align-items: center; gap: 10px; margin-bottom: 22px;
}
.ax-lock img { width: 48px; height: 48px; border-radius: 12px; }
.ax-lock b {
    font-size: 17px; font-weight: 700; letter-spacing: .02em; color: #fff;
}
.ax-lock span {
    display: block; font-size: 12.5px; font-weight: 400; color: rgba(255,255,255,.62); letter-spacing: .06em;
}
.ax-hero .ax-hero-lead {
    font-size: 14px;
    font-weight: 700;
    color: var(--accent);
    margin: 0 0 10px;
    line-height: 1.6;
}
.ax-hero .ax-hero-lead sup { font-size: 9px; }

.ax-hero h2 {
    font-size: 35px;
    line-height: 1.5;
    font-weight: 700;
    color: #fff;
    margin: 0;
    letter-spacing: -0.015em;
}
.ax-hero h2 em {
    font-style: normal;
    white-space: nowrap;
    background: var(--accent);
    color: var(--brand);
    padding: 2px 10px;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
}
.ax-hero p {
    color: rgba(255,255,255,.88);
    font-size: 16.5px;
    margin: 0 0 24px;
    max-width: 30em;
}
.ax-cta {
    display: inline-block;
    background: var(--accent);
    color: #2a1b0f !important;
    font-weight: 700;
    font-size: 18px;
    text-decoration: none;
    padding: 16px 38px;
    border-radius: 999px;
    box-shadow: 0 6px 18px rgba(236,176,54,.32);
}
.ax-cta:hover { background: #f5c052; transform: translateY(-2px); }
.ax-hero .ax-cta { margin-top: 28px; }
.ax-hero .ax-meta {
    font-size: 14px; color: rgba(255,255,255,.72); margin: 16px 0 0;
}

/* 課題（あるある） -------------------------------------- */
.ax-pains {
    background: var(--tint);
    border: none;
    border-radius: 0;
    padding: 24px 26px 10px;
    margin-top: 18px;
}
.ax-pains ul { list-style: none; margin: 0; padding: 0; }
.ax-pains li {
    position: relative;
    padding: 0 0 16px 30px;
    font-size: 16.5px;
    color: var(--ink-600);
    line-height: 1.75;
}
.ax-pains li::before {
    content: "";
    position: absolute; left: 4px; top: 12px;
    width: 7px; height: 7px; border-radius: 50%;
    background: var(--brand-800);
}
.ax-pains li b { color: var(--ink); }

/* 棲み分け ---------------------------------------------- */
.ax-oneline {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.7;
    color: var(--ink);
    border-left: 5px solid var(--accent);
    padding: 4px 0 4px 16px;
    margin: 22px 0 20px;
}
.ax-cmp {
    border: none;
    border-top: 2px solid var(--brand);
    overflow: hidden;
}
.ax-cmp table { width: 100%; border-collapse: collapse; }
.ax-cmp th, .ax-cmp td {
    font-size: 14.5px; padding: 10px 14px;
    border-bottom: 1px solid var(--line); text-align: left;
}
.ax-cmp th { background: transparent; font-size: 13px; font-weight: 700; color: var(--muted); }
.ax-cmp td:first-child { color: var(--muted); font-size: 13px; width: 27%; }
.ax-cmp .is-us { background: #fdf6e9; font-weight: 700; }
.ax-cmp th.is-us { background: var(--brand); color: #fff; }
.ax-cmp tr:last-child td { border-bottom: none; }

/* 特長（画像＋テキスト） -------------------------------- */
.ax-feat {
    display: flex;
    align-items: center;
    gap: 22px;
    margin: 0 0 46px;
}
.ax-feat.is-rev { flex-direction: row-reverse; }
.ax-feat .ax-shot { flex: 0 0 44%; }
.ax-feat .ax-shot img,
.ax-dark img { filter: drop-shadow(0 10px 20px rgba(61,40,20,.22)); }
.ax-feat .ax-txt { flex: 1 1 auto; }
.ax-feat .ax-num {
    display: block;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: .1em;
    color: var(--brand);
    margin-bottom: 2px;
    line-height: 1.2;
}
.ax-feat p { font-size: 16px; color: var(--ink-600); margin: 0; }

/* 管理画面（濃い帯） ------------------------------------ */
.ax-dark {
    background: var(--brand);
    border-radius: 0;
    padding: 36px 30px 4px;
    color: #fff;
    text-align: center;
}
.ax-dark h3 { color: #fff; }
.ax-dark p { color: rgba(255,255,255,.86); font-size: 16.5px; text-align: center; }
.ax-dark img { margin: 6px auto 0; }

/* 機能一覧 ---------------------------------------------- */
.ax-funcs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.ax-func {
    background: #fff;
    border: 1px solid #f0ece4;
    border-radius: 14px;
    padding: 18px 16px;
}
.ax-func:hover { border-color: var(--accent); box-shadow: 0 6px 20px rgba(61,40,20,.07); }
.ax-func.is-key { background: var(--tint); border-color: var(--accent); }
.ax-func.is-key .ax-ico { background: #fff; }
.ax-func .ax-ico {
    width: 40px; height: 40px; border-radius: 11px;
    background: var(--tint);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 10px;
    color: var(--accent-600);
}
.ax-func .ax-ico svg { width: 21px; height: 21px; display: block; }
.ax-func h4 { font-size: 17px; margin: 0 0 4px; }
.ax-func p { font-size: 14px; color: var(--muted); margin: 0; line-height: 1.75; }

/* 料金（公式サイトの構成に合わせる） -------------------- */
.ax .ax-sub {
    font-size: 18px;
    font-weight: 700;
    margin: 30px 0 12px;
}
/* 契約条件の4項目 */
.ax-facts {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin: 20px 0 0;
    padding: 0;
}
.ax-facts li {
    background: var(--tint);
    border-radius: 10px;
    padding: 14px 6px 12px;
    text-align: center;
    line-height: 1.5;
}
.ax-facts svg {
    width: 18px; height: 18px;
    color: var(--accent-600);
    display: block;
    margin: 0 auto 6px;
}
.ax-facts b {
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: var(--muted);
    letter-spacing: .04em;
}
.ax-facts span {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: var(--ink);
}
.ax-plan-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px 10px;
    padding-top: 8px;
}
.ax-plan {
    position: relative;
    background: #fff;
    border: 2px solid #f0ece4;
    border-radius: 12px;
    padding: 12px 11px 11px;
}
.ax-plan.is-popular { border-color: var(--accent); }
.ax-plan-badge {
    position: absolute; top: -10px; left: 50%; transform: translateX(-50%);
    background: var(--brand); color: #fff;
    font-size: 11px; font-weight: 700; white-space: nowrap;
    padding: 2px 10px; border-radius: 999px;
}
.ax-plan h4 { font-size: 14px; margin: 0 0 6px; }
.ax-plan-row {
    display: flex; justify-content: space-between; align-items: baseline;
    font-size: 11.5px; color: var(--ink-600); padding: 1px 0;
}
.ax-plan-row b { font-weight: 700; color: var(--ink); }
.ax-plan-foot { border-top: 1px solid var(--line); margin-top: 9px; padding-top: 9px; }
.ax-plan-amt {
    font-size: 22px; font-weight: 700; color: var(--brand);
    letter-spacing: -0.02em; margin: 0; line-height: 1.2; text-align: left;
}
.ax-plan-amt small { font-size: 12px; font-weight: 400; color: var(--muted); margin-left: 2px; }
.ax-plan-per { font-size: 11px; color: var(--muted); margin: 3px 0 0; text-align: left; }
.ax-plan.is-ask {
    background: var(--tint);
    border-color: var(--line);
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    text-align: center;
}
.ax-plan.is-ask h4 { margin: 0 0 6px; }
.ax-plan-ask { font-size: 18px; font-weight: 700; color: var(--brand); margin: 0; }

.ax-optgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.ax-optcard {
    background: #fff;
    border: 1px solid #f0ece4;
    border-radius: 12px;
    padding: 16px 14px 14px;
}
.ax-opt-ico {
    width: 34px; height: 34px; border-radius: 10px;
    background: var(--tint);
    display: flex; align-items: center; justify-content: center;
    color: var(--accent-600);
    margin-bottom: 10px;
}
.ax-opt-ico svg { width: 19px; height: 19px; display: block; }
.ax-optcard h5 { font-size: 15px; font-weight: 700; margin: 0 0 8px; }
.ax-optcard dl { margin: 0; }
.ax-optcard dl > div {
    display: flex; justify-content: space-between; align-items: baseline;
    gap: 8px;
    padding: 5px 0;
    border-top: 1px solid var(--line);
}
.ax-optcard dt { font-size: 12px; color: var(--muted); margin: 0; }
.ax-optcard dd {
    font-size: 15px; font-weight: 700; color: var(--ink);
    margin: 0; white-space: nowrap;
}
.ax-optcard dd::after { content: "/月"; font-size: 10.5px; font-weight: 400; color: var(--muted); margin-left: 1px; }
.ax-opt-note { font-size: 11px; color: var(--muted); margin: 8px 0 0; line-height: 1.6; }

/* 導入の流れ -------------------------------------------- */
.ax-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    position: relative;
    margin-top: 22px;
    background: var(--tint);
    border-radius: 0;
    padding: 30px 20px 26px;
}
/* 番号の中心を貫く線（これが「流れ」の背骨） */
.ax-steps::before {
    content: "";
    position: absolute;
    top: 51px; left: 15%; right: 15%;
    height: 2px;
    background: repeating-linear-gradient(to right,
        var(--line) 0 8px, transparent 8px 14px);
    z-index: 0;
}
.ax-step { text-align: center; position: relative; z-index: 1; }
.ax-step span {
    display: flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; margin: 0 auto 10px;
    border-radius: 50%;
    background: var(--brand); color: var(--accent);
    font-size: 16px; font-weight: 700;
    box-shadow: 0 0 0 7px var(--tint);   /* 線を番号の手前で切る */
}
.ax-step:last-child span { background: var(--accent); color: var(--brand); }
.ax-step b { display: block; font-size: 15px; line-height: 1.6; }
.ax-step p { font-size: 13px; color: var(--muted); margin: 4px 0 0; text-align: center; }
/* 番号と番号のあいだの矢印 */
.ax-step::after {
    content: "";
    position: absolute;
    top: 46px; right: -6px;
    width: 9px; height: 9px;
    border-top: 2px solid var(--accent-600);
    border-right: 2px solid var(--accent-600);
    transform: rotate(45deg);
}
.ax-step:last-child::after { content: none; }

/* 末尾CTA ----------------------------------------------- */
.ax-end {
    background: var(--brand);
    border-radius: 0;
    padding: 38px 28px;
    text-align: center;
    color: #fff;
}
.ax-end h3 { color: #fff; font-size: 24px; margin-bottom: 6px; }
.ax-end p { color: rgba(255,255,255,.82); font-size: 15.5px; text-align: center; margin-bottom: 22px; }

.ax-note { font-size: 13px; color: var(--muted); line-height: 1.85; margin-top: 20px; }

/* スマートフォン ---------------------------------------- */
@media screen and (max-width: 700px) {
    .ax .ax-sec { padding: 36px 18px 0; }
    .ax-pains, .ax-dark, .ax-pricehero, .ax-steps { margin-left: -18px; margin-right: -18px; }
    .ax-band { margin-left: -18px; margin-right: -18px; }
    .ax-issues { flex-direction: column; gap: 16px; }
    .ax-issues-fig { flex: none; width: 70%; }
    .ax > .ax-note { padding: 0 18px; }
    .ax-hero { padding: 40px 22px 36px; }
    .ax-hero .ax-hero-lead {
    font-size: 14px;
    font-weight: 700;
    color: var(--accent);
    margin: 0 0 10px;
    line-height: 1.6;
}
.ax-hero .ax-hero-lead sup { font-size: 9px; }

.ax-hero h2 { font-size: 25px; }
    .ax h3 { font-size: 24px; }
    .ax-feat, .ax-feat.is-rev { flex-direction: column; gap: 16px; }
    .ax-feat .ax-shot { flex: none; width: 62%; margin: 0 auto; }
    .ax-funcs { grid-template-columns: 1fr; }
    .ax-plan-grid { grid-template-columns: 1fr 1fr; }
    .ax-facts { grid-template-columns: 1fr 1fr; }
    .ax-optgrid { grid-template-columns: 1fr; }
    .ax-chips { grid-template-columns: repeat(2, 1fr); }
    .ax-steps { grid-template-columns: 1fr 1fr; gap: 20px 10px; }
    .ax-steps::before { content: none; }
    .ax-step:nth-child(2)::after { content: none; }
    .ax-cta { display: block; text-align: center; }
}

@media screen and (max-width: 430px) {
    .ax { font-size: 16px; }
    .ax-hero .ax-hero-lead {
    font-size: 14px;
    font-weight: 700;
    color: var(--accent);
    margin: 0 0 10px;
    line-height: 1.6;
}
.ax-hero .ax-hero-lead sup { font-size: 9px; }

.ax-hero h2 { font-size: 22px; }
    .ax h3 { font-size: 21px; }
    .ax-pains h3 { font-size: 19px; }
    .ax-ph-amt { font-size: 50px; }
    .ax-chip span { font-size: 16px; }
}

@media screen and (max-width: 430px) {
    .ax-oneline { font-size: 17px; }
    .ax-cmp th, .ax-cmp td { font-size: 13px; padding: 8px 9px; }
    .ax-cmp td:first-child { font-size: 12px; width: 24%; }
}

/* ============================================================
   このページだけ、テーマの記事タイトルを隠す
   （ヒーローの見出しと同じ文言が2回出てしまうため）
   :has() に対応したブラウザで効きます。効かない環境やテーマ構造が
   違う場合は、固定ページのタイトル表示をテーマ側で切ってください。
   ============================================================ */
#content article.content:has(.ax) > header { display: none; }
#content article.content:has(.ax) { padding-top: 0; padding-bottom: 0; }
#content:has(.ax) { padding-bottom: 0; }

/* LINE WORKS との違い（Functions 内） -------------------- */
.ax-cmp.ax-cmp--lw {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-top: 4px;
}
.ax-cmp--lw table { min-width: 0; }
.ax-cmp--lw th, .ax-cmp--lw td { vertical-align: top; line-height: 1.7; }
.ax-cmp--lw td:first-child,
.ax-cmp--lw th:first-child { width: 20%; }
.ax-scroll-hint { display: none; font-size: 12px; color: var(--muted); margin: 18px 0 0; }

.ax-fit {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    align-items: start;
    margin-top: 20px;
}
.ax-fit-card {
    background: #fff;
    border: 1px solid #f0ece4;
    border-radius: 14px;
    padding: 18px 18px 16px;
}
.ax-fit-card.is-us { background: var(--tint); border-color: var(--accent); }
.ax .ax-fit-card h4 { font-size: 16px; margin: 0 0 2px; }
.ax-fit-lead { font-size: 12.5px; color: var(--muted); margin: 0 0 10px; }
.ax-fit-card ul { list-style: none; margin: 0; padding: 0; }
.ax-fit-card li {
    position: relative;
    padding-left: 20px;
    font-size: 14.5px;
    line-height: 1.8;
    color: var(--ink-600);
    margin-bottom: 7px;
}
.ax-fit-card li:last-child { margin-bottom: 0; }
.ax-fit-card li::before {
    content: "○";
    position: absolute; left: 0; top: 0;
    font-size: 12px; font-weight: 700;
    color: var(--muted);
}
.ax-fit-card.is-us li::before { content: "✓"; font-size: 13px; color: var(--accent-600); }
.ax .ax-note--in { margin-top: 18px; }
.ax .ax-note--in a { color: var(--accent-600); text-decoration: underline; }

@media screen and (max-width: 700px) {
    .ax-fit { grid-template-columns: 1fr; }
    .ax-scroll-hint { display: block; }
    .ax-cmp--lw table { min-width: 480px; }
    .ax-cmp--lw th, .ax-cmp--lw td { padding: 8px 9px; }
}
