@charset "utf-8";

/* =====================================
   LINE公式アカウント利用方法ページ
   main_style.cssなし前提
===================================== */

.page-title {
    margin: 0;
    padding: 0;
    background-image: url("../images/titleimg.jpg");
    background-size: cover;
    background-position: center;
}

.page-title h2 {
    margin: 0;
    padding: 10px 12px;
    text-align: center;
    color: #fff;
    font-size: 1.35rem;
    font-weight: 600;
    text-shadow: 0 0 6px #224466;
    backdrop-filter: blur(18px);
}

.page-content {
    max-width: 960px;
    margin: 24px auto 56px;
    padding: 0 8px;
    box-sizing: border-box;
}

.linehelp-page {
    width: 100%;
    box-sizing: border-box;
    font-family: 'Noto Serif JP', serif;
    color: #334;
}

.linehelp-page a {
    color: #224466;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.linehelp-page p {
    margin: 0 0 12px;
    padding: 0;
    font-size: 1rem;
    line-height: 1.9;
}

/* カード共通 */

.linehelp-hero,
.linehelp-section {
    width: 100%;
    box-sizing: border-box;
    margin: 0 0 22px;
    padding: 22px 24px;
    background: #fff;
    border: 1px solid #e2edf1;
    border-radius: 18px;
    box-shadow: 0 6px 18px rgba(40, 80, 100, 0.06);
}

.linehelp-hero {
    background: #f7fbfc;
    text-align: center;
}

.linehelp-section h3 {
    margin: 0 0 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid #d8e6ec;
    color: #224466;
    font-size: 1.28rem;
    font-weight: 600;
    line-height: 1.5;
}

.linehelp-section h4 {
    margin: 0 0 10px;
    padding-left: 12px;
    border-left: 4px solid #8db7c6;
    color: #224466;
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.5;
}

.line-add-button {
    margin: 16px 0 8px;
}

.linehelp-small {
    font-size: 0.92rem;
    color: #667;
}

/* 入力内容カード */

.linehelp-card,
.linehelp-template {
    margin: 0 0 14px;
    padding: 16px;
    background: #f7fbfc;
    border: 1px solid #dcebf0;
    border-radius: 14px;
    box-sizing: border-box;
}

.linehelp-list,
.linehelp-caution {
    margin: 0;
    padding: 0;
    list-style: none;
}

.linehelp-list li,
.linehelp-caution li {
    position: relative;
    margin: 0 0 8px;
    padding-left: 1.4em;
    line-height: 1.8;
}

.linehelp-list li::before,
.linehelp-caution li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #6f9fb3;
    font-weight: bold;
}

.linehelp-template p {
    margin: 0;
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1.9;
}

/* ご予約の流れ */

.linehelp-flow {
    margin: 0;
    padding: 0;
    list-style: none;
}

.linehelp-flow li {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 14px;
    position: relative;
    padding-bottom: 20px;
}

.linehelp-flow li:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 20px;
    top: 44px;
    bottom: 4px;
    width: 1px;
    background: #d8e6ec;
}

.linehelp-num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #8db7c6;
    color: #fff;
    font-family: 'M PLUS Rounded 1c', sans-serif;
    font-weight: 700;
    z-index: 0;
}

.linehelp-flow h4 {
    margin: 2px 0 4px;
    padding: 0;
    border-left: none;
}

.linehelp-flow p {
    margin: 0;
}

/* 操作方法 */

.linehelp-detail {
    border: 1px solid #dcebf0;
    border-radius: 14px;
    background: #f7fbfc;
    overflow: hidden;
}

.linehelp-detail summary {
    cursor: pointer;
    padding: 14px 16px;
    color: #224466;
    font-weight: 600;
    list-style: none;
}

.linehelp-detail summary::-webkit-details-marker {
    display: none;
}

.linehelp-detail summary::before {
    content: "▼";
    margin-right: 8px;
    font-size: 0.85rem;
}

.linehelp-detail[open] summary::before {
    content: "▲";
}

.linehelp-detail-content {
    padding: 0 16px 16px;
}

.linehelp-step {
    margin: 14px 0;
    padding: 14px;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e2edf1;
}

.linehelp-step img {
    vertical-align: middle;
}

/* ロゴ */
.linehelp-step img[src*="logo_circle"] {
    width: 65px;
    height: auto;
}

/* LINEメニュー画像 */
.linehelp-step img[src*="LINE_menu"] {
    height: 45px;
    width: auto;
}

/* 送信ボタン */
.linehelp-step img[src*="LINE_talka"] {
    height: 20px;
    width: auto;
}

/* LINE下部メニュー */
.linehelp-step img[src*="LINE_a"],
.linehelp-step img[src*="LINE_c"] {
    height: 45px;
    width: auto;
}

/* スマホ */

@media screen and (max-width: 800px) {
    .page-title h2 {
        font-size: 1.18rem;
        line-height: 1.45;
        padding: 9px 8px;
    }

    .page-content {
        margin-top: 18px;
        padding: 0 6px;
    }
    .linehelp-hero p{
        text-align: left;
    }
    .linehelp-hero,
    .linehelp-section {
        padding: 16px 14px;
        margin-bottom: 18px;
        border-radius: 14px;
    }

    .linehelp-section h3 {
        font-size: 1.12rem;
    }

    .linehelp-section h4 {
        font-size: 1rem;
    }

    .linehelp-page p,
    .linehelp-list li,
    .linehelp-caution li {
        font-size: 0.95rem;
        line-height: 1.8;
    }

    .linehelp-card,
    .linehelp-template {
        padding: 14px;
        border-radius: 12px;
    }

    .linehelp-flow li {
        grid-template-columns: 36px 1fr;
        gap: 12px;
    }

    .linehelp-num {
        width: 36px;
        height: 36px;
    }

    .linehelp-flow li:not(:last-child)::after {
        left: 17px;
        top: 38px;
    }

    .linehelp-detail-content {
        padding: 0 12px 12px;
    }

    .linehelp-step {
        padding: 12px;
    }
}