/*
 * ヘルプ (ご利用ガイド)
 */
.help-page {
    /* .site-main の上パディングを打ち消し、パンくず帯をヘッダ直下へ (他ページと同じ) */
    margin-top: calc(-1 * var(--shop-main-pad-block));
    padding-block: 0 32px;
}

/* ===== パンくず ===== */
.help-breadcrumb {
    margin-bottom: 24px;
    padding-block: 10px;
    background: var(--shop-head-bg);
    font-size: 0.8rem;
    color: var(--shop-muted);
}

.help-breadcrumb-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 8px;
}

.help-breadcrumb-item {
    color: var(--shop-muted);
    text-decoration: none;
}

a.help-breadcrumb-item:hover {
    color: var(--genre-color);
    text-decoration: underline;
}

.help-breadcrumb-item[aria-current="page"] {
    color: var(--shop-text);
}

/* ===== ページ見出し ===== */
.help-title {
    padding-block: 20px;
    text-align: center;
    border-bottom: 4px double #9e9e9e;
}

.help-title h2 {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.5rem;
    color: #434343;
}

.help-title-en {
    font-size: 0.8rem;
    line-height: 1.5rem;
    color: #9e9e9e;
}

.help-title-note {
    color: #434343;
}

/* ===== 本文共通 ===== */

.help {
    line-height: 1rem;
}

.help h3 {
    padding: 20px 15px;
    margin-bottom: 1rem;
    background-color: #f5f5f5;
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.2rem;
    color: #000;
}

.help p {
    padding-left: 1em;
}

.help img {
    width: 100%;
}

.help table {
    line-height: normal;
}

.help table th,
.help table td {
    border: 1px solid #696969;
}

.help .notice {
    color: #f00;
}

.help .help-contents {
    margin-bottom: 2rem;
    color: #666;
}

.help a {
    color: #000;
    text-decoration: underline;
}

.help span.link a {
    color: #1e6f95;
    text-decoration: underline;
}

.help span.alert {
    color: #f00;
}

.help span.addition {
    font-size: 0.8rem;
}

.help ul li.title {
    margin-block: 1rem;
    font-weight: bold;
}

.help span.privacy-title-icon {
    color: #f60;
}

.help div.image-area {
    width: 60%;
    text-align: center;
}

.help div.image-area img {
    width: 160%;
}

.help ol {
    counter-reset: item 0;
    list-style-type: none;
    padding-left: 1em;
}

.help ol > li {
    text-indent: -1rem;
    padding-left: 1rem;
    padding-bottom: 1rem;
}

.help ol > li::before {
    counter-increment: item;
    content: counter(item) ".";
}

.help ol p {
    padding-top: 0.5rem;
}

.help li.pre-paragraph {
    padding-left: 1rem;
    padding-bottom: 1rem;
}

.help li.right-aligned {
    margin-top: 1rem;
    text-align: right;
    font-weight: bold;
}

.image-shadow {
    box-shadow: 5px 5px 10px #707070;
}

/* ===== ヘルプメニュー (各見出しへのアンカー) ===== */
.help .help-menu {
    width: 95%;
    margin: 1rem 0 2rem;
}

.help .help-menu ul li {
    display: inline-block;
    padding: 0.8rem 0.4rem;
}

/* ===== よくある質問 ===== */
.help .help-note {
    padding-left: 1rem;
    padding-bottom: 1rem;
}

.help .question {
    display: block;
    padding: 10px 0;
    line-height: 1.3rem;
    border-top: 1px solid #dedede;
}

.help .question::before {
    display: inline-block;
    content: "Q";
    width: 1.2rem;
    font-weight: bold;
    font-size: 1.2rem;
    color: #2c8a0e;
}

.help .answer {
    padding: 5px 0 10px 1rem;
    line-height: 1.5rem;
    background-color: #eee;
}

.help .answer::before {
    display: inline-block;
    content: "A";
    width: 1.2rem;
    font-weight: bold;
    font-size: 1.2rem;
    color: #e40000;
}

.help .faq-list li:last-child {
    border-bottom: 1px solid #dedede;
}

.help .faq-list li:nth-child(-n + 10) .question {
    font-weight: 700;
}

/* ===== 配送・送料 ===== */
.help table.delivery-cost-list th:empty,
.help table.delivery-cost-list td:empty,
.help table.delivery-cost-list thead th {
    border: 0;
}

.help table.delivery-cost-list th,
.help table.delivery-cost-list td,
.help table.delivery-date th,
.help table.delivery-date td {
    font-size: 1rem;
    padding: 0.3rem 0.5rem;
    vertical-align: middle;
}

.help table.delivery-cost-list td,
.help table.delivery-date td {
    text-align: center;
}

.help table.delivery-cost-list .small {
    font-size: 0.8rem;
}

.help table.delivery-cost-list .orange {
    color: #e6b422;
    font-weight: bold;
}

.help table.delivery-date .left {
    text-align: left;
}

.help .blank-row {
    height: 15px;
    background-color: #fff;
}

.help table.delivery-cost-list,
.help table.delivery-date {
    margin: 0 0.2rem;
}

.help table.delivery-date th,
.help table.delivery-date td {
    display: block;
    width: calc(100% - 2px);
    padding: 0;
}

.help table.specific-time {
    margin-top: 1rem;
    border-color: #696969;
}

.help table.specific-time th,
.help table.specific-time td {
    padding: 0;
    font-size: 1rem;
}

/* ===== クロネコ掛け払い ===== */
.help .kuroneko-payment {
    margin-block: 1rem;
}

.help .kuroneko-payment th {
    padding: 0;
    background-color: #1e8d7c;
    color: white;
}

.help .kuroneko-payment td {
    padding: 0;
    text-align: center;
    vertical-align: middle;
}

.help .kuroneko-payment td.title {
    background-color: #e5e5e5;
}

.help .kuroneko-points,
.help .kuroneko-flow-scroll,
.help .kuroneko-bank,
.help .kuroneko-schedule,
.help .kuroneko-entry,
.help .kuroneko-steps {
    max-width: 600px;
    margin-block: 8px;
    line-height: 1.5;
}

/* --- 特長 (ポイント 1〜3) --- */
.help .kuroneko-points {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.help .kuroneko-point {
    display: flex;
    align-items: center;
    min-height: 69px;
    padding: 12px 28px;
    border-radius: 10px;
    background: linear-gradient(#a5eb36, #71be16);
}

.help .kuroneko-point-label {
    flex: 0 0 114px;
    font-weight: 700;
    color: #fff;
}

.help .kuroneko-point-body {
    flex: 1 1 auto;
    font-weight: 700;
    color: #231815;
}

.help .kuroneko-point-note {
    display: block;
    margin-top: 4px;
    font-size: 0.7rem;
    font-weight: 400;
}

/* --- 商品と決済サービスの流れ --- */
.help .kuroneko-flow-scroll {
    overflow-x: auto;
}

.help .kuroneko-flow {
    position: relative;
    width: 600px;
    height: 213px;
    color: #1e8d7c;
    font-size: 0.65rem;
    line-height: 1.35;
}

.help .kuroneko-flow-box {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid #1e8d7c;
    border-radius: 10px;
    background: #fff100;
    color: #231815;
    font-weight: 700;
    text-align: center;
}

.help .kuroneko-flow-shop {
    top: 1px;
    left: 64px;
    width: 117px;
    height: 96px;
    font-size: 1rem;
}

.help .kuroneko-flow-customer {
    top: 1px;
    left: 376px;
    width: 120px;
    height: 96px;
    font-size: 1rem;
}

.help .kuroneko-flow-yamato {
    top: 113px;
    left: 184px;
    width: 177px;
    height: 92px;
    font-size: 0.7rem;
}

.help .kuroneko-flow-line {
    position: absolute;
}

.help .kuroneko-flow-line::after {
    content: "";
    position: absolute;
    border: 8px solid transparent;
}

/* (1) お客様 → タスカル (左向き) */
.help .kuroneko-flow-line1 {
    top: 35px;
    left: 196px;
    width: 160px;
    border-top: 3px solid #1e8d7c;
}

.help .kuroneko-flow-line1::after {
    top: -9.5px;
    left: 0;
    border-width: 8px 14px 8px 0;
    border-right-color: #1e8d7c;
}

/* (3) タスカル → お客様 (右向き) */
.help .kuroneko-flow-line3 {
    top: 60px;
    left: 190px;
    width: 166px;
    border-top: 3px solid #1e8d7c;
}

.help .kuroneko-flow-line3::after {
    top: -9.5px;
    right: 0;
    border-width: 8px 0 8px 14px;
    border-left-color: #1e8d7c;
}

/* (2) タスカル → 下 → ヤマト (右向き) */
.help .kuroneko-flow-line2 {
    top: 99px;
    left: 106px;
    width: 78px;
    height: 64px;
    border-bottom: 3px solid #1e8d7c;
    border-left: 3px solid #1e8d7c;
}

.help .kuroneko-flow-line2::after {
    right: 0;
    bottom: -9.5px;
    border-width: 8px 0 8px 14px;
    border-left-color: #1e8d7c;
}

/* (6) ヤマト → 左 → タスカル (上向き) */
.help .kuroneko-flow-line6 {
    top: 104px;
    left: 81px;
    width: 103px;
    height: 80px;
    border-bottom: 3px solid #1e8d7c;
    border-left: 3px solid #1e8d7c;
}

.help .kuroneko-flow-line6::after {
    top: 0;
    left: -9.5px;
    border-width: 0 8px 14px;
    border-bottom-color: #1e8d7c;
}

/* (4) ヤマト → 右 → お客様 (上向き) */
.help .kuroneko-flow-line4 {
    top: 104px;
    left: 361px;
    width: 82px;
    height: 57px;
    border-right: 3px solid #1e8d7c;
    border-bottom: 3px solid #1e8d7c;
}

.help .kuroneko-flow-line4::after {
    top: 0;
    right: -9.5px;
    border-width: 0 8px 14px;
    border-bottom-color: #1e8d7c;
}

/* (5) お客様 → 下 → ヤマト (左向き) */
.help .kuroneko-flow-line5 {
    top: 99px;
    left: 361px;
    width: 107px;
    height: 86px;
    border-right: 3px solid #1e8d7c;
    border-bottom: 3px solid #1e8d7c;
}

.help .kuroneko-flow-line5::after {
    bottom: -9.5px;
    left: 0;
    border-width: 8px 14px 8px 0;
    border-right-color: #1e8d7c;
}

.help .kuroneko-flow-label {
    position: absolute;
}

.help .kuroneko-flow-label1 {
    top: 12px;
    left: 196px;
    width: 160px;
    text-align: center;
}

.help .kuroneko-flow-label3 {
    top: 38px;
    left: 190px;
    width: 166px;
    text-align: center;
}

.help .kuroneko-flow-label2 {
    top: 110px;
    left: 116px;
    width: 68px;
}

.help .kuroneko-flow-label6 {
    top: 190px;
    left: 62px;
    width: 140px;
}

.help .kuroneko-flow-label4 {
    top: 108px;
    left: 371px;
    width: 72px;
}

.help .kuroneko-flow-label5 {
    top: 190px;
    left: 368px;
    width: 130px;
}

.help .kuroneko-flow-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    margin-right: 4px;
    border-radius: 50%;
    background: #1e8d7c;
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
}

/* 決済方法の吹き出し。左向きの尻尾で (5) の配線を指す */
.help .kuroneko-flow-methods {
    position: absolute;
    top: 133px;
    left: 490px;
    width: 96px;
    padding: 5px 6px;
    border-radius: 8px;
    background: #1e8d7c;
    color: #fff;
}

.help .kuroneko-flow-methods::before {
    content: "";
    position: absolute;
    top: 14px;
    left: -8px;
    border: 6px solid transparent;
    border-right-color: #1e8d7c;
}

/*
 * --- お振込先 ---
 * 折り返さない代わりに、狭い画面ではこの枠の中だけ横スクロールする。
 */
.help .kuroneko-bank {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    border: 1px solid #8ec6bd;
    color: #3e3a39;
    font-size: 0.6rem;
}

.help .kuroneko-bank-label,
.help .kuroneko-bank-key,
.help .kuroneko-bank-value,
.help .kuroneko-bank-note {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    padding: 6px 8px;
    white-space: nowrap;
}

.help .kuroneko-bank-label {
    background: #1e8d7c;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
}

.help .kuroneko-bank-value {
    font-size: 0.65rem;
}

.help .kuroneko-bank-key + .kuroneko-bank-value {
    border-left: 1px dashed #8ec6bd;
}

.help .kuroneko-bank-value + .kuroneko-bank-key {
    border-left: 1px solid #8ec6bd;
}

.help .kuroneko-bank-note {
    border-left: 1px solid #8ec6bd;
    color: #1e8d7c;
    font-size: 0.55rem;
}

/* --- 決済スケジュールの例 --- */
.help .kuroneko-schedule {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

/* 狭い画面ではカレンダーだけ横スクロールさせる (潰すと日付が読めなくなるため) */
.help .kuroneko-schedule-scroll {
    flex: 1 1 380px;
    overflow-x: auto;
}

.help .kuroneko-calendar {
    display: grid;
    grid-template-columns: repeat(15, minmax(28px, 1fr));
    min-width: 420px;
    border: 1px solid #c8c5c4;
    color: #231815;
    font-size: 0.7rem;
    text-align: center;
}

.help .kuroneko-calendar-month {
    grid-column: span 5;
    padding: 4px 0;
    border-bottom: 1px solid #c8c5c4;
    font-size: 0.9rem;
}

.help .kuroneko-calendar-day {
    padding: 4px 0;
    border-bottom: 1px solid #c8c5c4;
    border-left: 1px dashed #c8c5c4;
}

.help .kuroneko-calendar-month:not(:first-child),
.help .kuroneko-calendar-day:nth-child(5n + 4) {
    border-left: 1px solid #c8c5c4;
}

.help .kuroneko-calendar-delivery {
    grid-column: 1 / 5;
    align-self: center;
    margin: 8px 4px;
    padding: 8px 4px;
    border: 2px solid #1e8d7c;
    border-radius: 999px;
}

.help .kuroneko-calendar-mark {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px 0;
    background: #fff100;
    color: #1e8d7c;
    font-weight: 700;
    writing-mode: vertical-rl;
}

.help .kuroneko-calendar-mark-close {
    grid-column: 5 / 6;
}

.help .kuroneko-calendar-mark-pay {
    grid-column: 12 / 13;
}

/* 締日から支払日へ向かう矢印。線は上端、A〜C の文言はその下に置く */
.help .kuroneko-calendar-transit {
    position: relative;
    grid-column: 6 / 12;
    padding: 22px 8px 8px;
    color: #1e8d7c;
}

.help .kuroneko-calendar-transit::before {
    content: "";
    position: absolute;
    top: 14px;
    right: 6px;
    left: 4px;
    border-top: 2px solid #1e8d7c;
}

.help .kuroneko-calendar-transit::after {
    content: "";
    position: absolute;
    top: 10px;
    right: 0;
    border: 5px solid transparent;
    border-left-color: #1e8d7c;
}

.help .kuroneko-calendar-method {
    display: block;
    text-align: left;
}

.help .kuroneko-limit {
    flex: 0 1 150px;
    padding: 12px;
    background: #1e8d7c;
    color: #fff;
    text-align: center;
}

.help .kuroneko-limit-title {
    display: block;
    font-size: 1.1rem;
    line-height: 1.4;
}

.help .kuroneko-limit-note {
    display: block;
    margin-top: 8px;
    font-size: 0.7rem;
    text-align: left;
}

/*
 * --- WEB 申し込みの流れ ---
 */
.help .kuroneko-entry-panels,
.help .kuroneko-entry-links,
.help .kuroneko-entry-arrows {
    display: flex;
    gap: 12px;
}

.help .kuroneko-entry-panels {
    flex-wrap: wrap;
}

.help .kuroneko-entry-panel {
    flex: 1 1 260px;
    border: 2px solid #1e8d7c;
}

.help .kuroneko-entry-head {
    display: block;
    padding: 5px;
    background: #1e8d7c;
    color: #fff;
    font-weight: 700;
    text-align: center;
}

.help .kuroneko-entry-body {
    display: block;
    padding: 10px;
    color: #1e8d7c;
    font-size: 0.8rem;
    text-align: center;
}

.help .kuroneko-entry-body strong {
    font-size: 0.9rem;
    font-weight: 700;
}

/* パネル下端から質問の帯へ下りる縦線 */
.help .kuroneko-entry-link {
    flex: 1 1 0;
    height: 10px;
    background: linear-gradient(#1e8d7c, #1e8d7c) center / 6px 100% no-repeat;
}

/* 質問の帯。旧は緑の帯と注記の枠が隙間なく並んで 1 本の帯に見える */
.help .kuroneko-entry-question {
    display: flex;
    flex-wrap: wrap;
}

/* base(SP) は帯を全幅に。PC でだけ旧と同じ「緑の帯 + 注記」の横並びにする */
.help .kuroneko-entry-q {
    display: flex;
    flex: 1 1 100%;
    align-items: center;
    padding: 6px 10px;
    background: #1e8d7c;
    color: #fff;
    font-weight: 700;
    font-size: 0.6rem;
}

.help .kuroneko-entry-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    margin-right: 6px;
    background: #fff;
    color: #1e8d7c;
}

/* 旧と同じ 2 行に収まる字送り (1 行目 33 字が枠内に入る大きさ) */
.help .kuroneko-entry-note {
    display: block;
    flex: 1 1 100%;
    padding: 6px 10px;
    border: 2px solid #1e8d7c;
    color: #3e3a39;
    font-size: 0.6rem;
}

/*
 * base(SP) はパネルが縦積みになるため、連結線と矢印は中央に 1 本だけ出す
 * (2 本並べると、縦に積まれたパネルとの対応が取れなくなる)。PC で 2 本に戻す。
 */
.help .kuroneko-entry-link:first-child,
.help .kuroneko-entry-arrow:first-child {
    display: none;
}

/* 次の手順へ向かう下向き矢印 (軸 + 頭)。PC ではパネルごとに 1 本ずつ */
.help .kuroneko-entry-arrows {
    margin-top: 4px;
}

.help .kuroneko-entry-arrow {
    position: relative;
    flex: 1 1 0;
    height: 26px;
    background: linear-gradient(#1e8d7c, #1e8d7c) top center / 8px 16px no-repeat;
}

.help .kuroneko-entry-arrow::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    margin-left: -11px;
    border: 11px solid transparent;
    border-top: 12px solid #1e8d7c;
    border-bottom: 0;
}

/* --- WEB 申し込みの手順 (ステップ 1〜3) --- */
.help .kuroneko-step {
    display: flex;
    padding: 12px 16px;
    border-radius: 6px;
    background: #fff100;
    color: #231815;
}

.help .kuroneko-step-label {
    flex: 0 0 84px;
    color: #1e8d7c;
    font-weight: 700;
    white-space: nowrap;
}

.help .kuroneko-step-body {
    flex: 1 1 auto;
}

.help .kuroneko-step-note {
    display: block;
    margin-top: 4px;
    font-size: 0.7rem;
}

.help .kuroneko-step-arrow {
    display: block;
    width: 0;
    height: 0;
    margin: 6px auto;
    border: 11px solid transparent;
    border-top-color: #1e8d7c;
}

/* ===== ポイントシステム ===== */
.help .about-point {
    margin: 1rem;
}

.help .about-point th {
    background-color: #c8f5c8;
}

.help .about-point th,
.help .about-point td {
    font-size: 1rem;
    padding: 1rem;
    text-align: center;
}

/* ===== 会員ランク制度 ===== */
.rank-system-invert table {
    margin: 1em 2em;
    background: #fff;
    overflow: hidden;
}

.rank-system-invert th,
.rank-system-invert td {
    border: 1px solid;
    padding: 0.9em 1em;
    text-align: left;
}

.rank-system-invert th {
    background: #f5f7fa;
}

.rank-system-invert tr:nth-child(even) {
    background: #fafbfc;
}

.rank-system-invert ul {
    margin-left: 1.5em;
}

/* ===== 特定商取引に基づく表記 ===== */
.help table.res-col-table th {
    font-size: 1.2rem;
    font-weight: bold;
    color: black;
    background-color: #f6f4ee;
}

.help table.res-col-table td {
    color: #696969;
}

.help table.res-col-table th,
.help table.res-col-table td {
    display: block;
    width: calc(100% - 2px);
    padding: 0.5rem;
    font-size: 1rem;
}

/* ===== お問い合わせ ===== */
.help .help-contact .help-contents {
    margin-bottom: 4rem;
}

.help .faq-link {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.3rem;
}

/* ===== PC (本番の既定値) ===== */
@media (width >= 1000px) {
    .help img,
    .help div.image-area img {
        width: auto;
        max-width: 100%;
    }

    .help .help-contents {
        padding-left: 1rem;
    }

    .help .help-menu {
        margin-left: 2rem;
    }

    .help table.delivery-cost-list,
    .help table.delivery-date {
        margin: 0;
    }

    .help table.delivery-date th,
    .help table.delivery-date td {
        display: table-cell;
        width: auto;
    }

    .help table.delivery-date th {
        padding: 1rem 1.5rem;
    }

    .help table.delivery-date td {
        padding: 0.3rem 0.5rem;
    }

    .help table.specific-time th,
    .help table.specific-time td {
        padding: 0.5rem 2rem;
        font-size: 1.25rem;
    }

    .help .kuroneko-payment th,
    .help .kuroneko-payment td {
        padding: 0.5rem 2rem;
    }

    .help table.res-col-table th,
    .help table.res-col-table td {
        display: table-cell;
        width: auto;
    }

    .help table.res-col-table th {
        width: 16%;
        font-size: 1.2rem;
    }

    .help table.res-col-table td {
        padding: 0.5rem 2rem;
        font-size: 1.25rem;
    }

    .help .kuroneko-entry-q {
        flex: 0 1 auto;
    }

    .help .kuroneko-entry-note {
        flex: 1 1 240px;
    }

    .help .kuroneko-entry-link:first-child,
    .help .kuroneko-entry-arrow:first-child {
        display: block;
    }
}
