/* =========================

indextest.php以外のねこぎふNewCSS

php一覧 --------------------

announcement_detail.php
announcements.php
apple-purchase.php
apple-sell.php

bank_account_form.php
btc_application.php
btc_withdrawal_request.php

charge_history.php
charge_request_form.php
chat.php
company-profile.php
contact_guest.php
contact.php

faq.php
footer.php

header.php
header-main.php

index.php
inquiry_list.php
login_or_register.php
login.php

mailresist.php
main.php

password_reset_request.php
password_reset.php
payment.php
privacy-policy.php
profile.php
purchased.php

register_company.php

selling_now.php

terms.php
termsmodaltest.php
tokushoho.php
top_purchase.php
user-statuses.php
withdrawal_history.php

========================= */


/* =========================
共通リセット・基本設定
========================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    background: #fff;
}

a {
    color: inherit;
}

button,
input,
textarea,
select {
    font-family: inherit;
}


/* =========================
Google login button
========================= */

.gsi-material-button {
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    -webkit-appearance: none;

    background-color: #fff;
    border: 1px solid #747775;
    border-radius: 20px;
    box-sizing: border-box;

    color: #1f1f1f;
    cursor: pointer;
    font-family: 'Roboto', arial, sans-serif;
    font-size: 14px;
    letter-spacing: 0.25px;
    text-align: center;
    white-space: nowrap;

    width: 100%;
    max-width: 400px;
    height: 40px;

    padding: 0 12px;
    outline: none;
    overflow: hidden;
    position: relative;
    vertical-align: middle;

    transition:
        background-color .218s,
        border-color .218s,
        box-shadow .218s;
}

.gsi-material-button .gsi-material-button-content-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
    flex-wrap: nowrap;

    width: 100%;
    height: 100%;
    position: relative;
}

.gsi-material-button .gsi-material-button-icon {
    width: 20px;
    min-width: 20px;
    height: 20px;
    margin-right: 10px;
}

.gsi-material-button .gsi-material-button-icon svg {
    width: 20px;
    height: 20px;
    display: block;
}

.gsi-material-button .gsi-material-button-contents {
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
    vertical-align: top;
}

.gsi-material-button .gsi-material-button-state {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;

    opacity: 0;
    transition: opacity .218s;
}

.gsi-material-button:not(:disabled):hover {
    box-shadow:
        0 1px 2px rgba(60, 64, 67, 0.30),
        0 1px 3px rgba(60, 64, 67, 0.15);
}

.gsi-material-button:not(:disabled):hover .gsi-material-button-state {
    background-color: #303030;
    opacity: 0.08;
}


/* divider */

.oauth-divider {
    position: relative;
    text-align: center;
    margin: 1.5em 0;
    color: #666;
}

.oauth-divider::before,
.oauth-divider::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 40%;
    border-top: 1px solid #ddd;
}

.oauth-divider::before {
    left: 0;
}

.oauth-divider::after {
    right: 0;
}


/* -------------------------- ここからPHPごと -------------------------- */


/* =========================
announcement_detail.php
========================= */

.announcement-detail {
    background: #fff;
    border: 1px solid #e8e8e8;
    padding: 28px;
    margin-bottom: 28px;
}

.announcement-detail h2 {
    font-size: 22px;
    font-weight: 700;
    color: #111;
    margin-bottom: 18px;
    line-height: 1.6;
}

.announcement-detail p {
    font-size: 15px;
    line-height: 2;
    color: #444;
    margin-bottom: 18px;
}

.announcement-detail .date {
    font-size: 13px;
    color: #777;
}

@media (max-width: 768px) {
    .announcement-detail {
        padding: 18px;
        margin-bottom: 22px;
    }

    .announcement-detail h2 {
        font-size: 18px;
        margin-bottom: 14px;
    }

    .announcement-detail p {
        font-size: 14px;
        line-height: 1.8;
    }

    .announcement-detail .date {
        font-size: 12px;
    }
}


/* =========================
announcements.php
========================= */

.main-transaction h1 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 30px;
    color: #111;
}

.announcement {
    background: #fff;
    border: 1px solid #e8e8e8;
    padding: 20px;
    margin-bottom: 14px;
    transition: 0.25s ease;
}

.announcement:hover {
    box-shadow: 0 8px 20px rgba(0,0,0,0.05);
}

.announcement a {
    text-decoration: none;
    color: #111;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.7;
}

.announcement a:hover {
    opacity: 0.7;
}

.date {
    margin-top: 10px;
    font-size: 13px;
    color: #777;
}

/* pagination */
.pagination {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.pagination a {
    min-width: 44px;
    height: 44px;
    padding: 0 14px;

    display: flex;
    align-items: center;
    justify-content: center;

    text-decoration: none;
    background: #111;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
}

.pagination a.active {
    background: #666;
}

/* mobile */
@media (max-width: 768px) {
    .main-transaction h1 {
        font-size: 22px;
        margin-bottom: 20px;
    }

    .announcement {
        padding: 16px;
    }

    .announcement a {
        font-size: 14px;
    }

    .date {
        font-size: 12px;
    }

    .pagination a {
        min-width: 40px;
        height: 40px;
        font-size: 13px;
    }
}


/* =========================
apple-purchase.php
========================= */

.apple-in {
    width: 100%;
    background: #fff;
    border: 1px solid #e8e8e8;
    padding: 44px;
    margin: 0 0 32px;
    box-sizing: border-box;
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
}

.apple-in h1 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 30px;
    color: #111;
}

/* 注意文 */
.note {
    background: #f7f7f4;
    border: 1px solid #e7e7e2;
    padding: 24px;
    margin-bottom: 28px;
}

.note p {
    font-size: 14px;
    line-height: 1.9;
    color: #444;
}

/* フィルター */
.filter-box {
    background: #f7f7f4;
    border: 1px solid #e7e7e2;
    padding: 24px;
    margin-bottom: 28px;
}

.filter-box form {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 16px;
}

.filter-box label {
    display: block;
    text-align: center;
    margin-bottom: 8px;
    font-size: 13px;
    font-weight: 700;
    color: #555;
}

.filter-box select {
    width: 320px;
    height: 48px;
    padding: 0 14px;
    border: 1px solid #ddd;
    background: #fff;
    font-size: 14px;
    box-sizing: border-box;
}

/* テーブル */
.transaction-table {
    width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
}

.transaction-table th,
.transaction-table td {
    padding: 16px 18px;
    text-align: left;
    vertical-align: middle;
    word-break: break-word;
}

.transaction-table th {
    background: #f7f7f4;
    color: #555;
    font-size: 13px;
    font-weight: 700;
}

.transaction-table td {
    border-top: 1px solid #eee;
    font-size: 14px;
}

/* 購入ボタン */
.transaction-table button,
.accordion button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 18px;
    border: none;
    background: #111;
    color: #fff;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
}

.transaction-table button:hover,
.accordion button:hover {
    opacity: 0.85;
}

/* mobile */
@media (max-width: 768px) {

    .apple-in {
        padding: 24px 18px;
        margin-bottom: 24px;
    }

    .apple-in h1 {
        font-size: 22px;
        margin-bottom: 20px;
    }

    .note {
        padding: 18px;
        margin-bottom: 22px;
    }

    .note p {
        font-size: 13px;
        line-height: 1.8;
    }

    .filter-box {
        padding: 18px;
        margin-bottom: 22px;
    }

    .filter-box form {
        display: block;
    }

    .filter-box label {
        margin-bottom: 8px;
    }

    .filter-box select {
        width: 100%;
    }

    .transaction-table {
        display: none;
    }

    .accordion {
        display: block;
    }

    .accordion-item {
        background: #fff;
        border: 1px solid #eee;
        padding: 16px;
        margin-bottom: 12px;
        box-sizing: border-box;
    }

    .accordion-header {
        cursor: pointer;
    }

    .accordion-header > div {
        font-size: 14px;
        line-height: 1.7;
        margin-bottom: 4px;
    }

    .accordion-header-row {
        display: flex;
        justify-content: space-between;
        gap: 12px;
        font-size: 14px;
        line-height: 1.7;
    }

    .accordion-content {
        display: none;
        margin-top: 12px;
        padding-top: 12px;
        border-top: 1px solid #eee;
        font-size: 14px;
        line-height: 1.8;
    }

    .accordion button {
        width: 100%;
        margin-top: 8px;
    }
}


/* =========================
apple-sell.php
========================= */

.sell-in {
    width: 100%;
    background: #fff;
    border: 1px solid #e8e8e8;
    padding: 44px;
    margin: 0 0 32px;
    box-sizing: border-box;
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
}

.sell-in h1 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 30px;
    color: #111;
}

/* 注意文 */
.sell-in .note {
    background: #f7f7f4;
    border: 1px solid #e7e7e2;
    padding: 24px;
    margin-bottom: 28px;
}

.sell-in .note p {
    font-size: 14px;
    line-height: 1.9;
    color: #444;
}

/* フォームテーブル */
.sell-in table {
    width: 100%;
    border-collapse: collapse;
}

.sell-in th,
.sell-in td {
    padding: 18px;
    vertical-align: top;
    border-top: 1px solid #eee;
}

.sell-in th {
    width: 28%;
    background: #f7f7f4;
    font-size: 14px;
    font-weight: 700;
    color: #111;
    text-align: left;
}

.sell-in td {
    background: #fff;
}

/* input */
.sell-in input[type="text"],
.sell-in select,
.sell-in textarea {
    width: 100%;
    padding: 14px;
    border: 1px solid #ddd;
    background: #fff;
    font-size: 14px;
    box-sizing: border-box;
}

.sell-in textarea {
    min-height: 180px;
    resize: vertical;
}

/* validation text */
#duplicate-check-msg {
    margin-top: 10px;
    font-size: 13px;
    font-weight: 600;
}

/* submit */
.sell-in .form-submit {
    margin-top: 30px;
    text-align: center;
}

.sell-in .form-submit input {
    min-width: 220px;
    height: 52px;
    background: #111;
    color: #fff;
    border: none;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}

.sell-in .form-submit input:hover {
    opacity: 0.85;
}

/* success */
.success-banner {
    margin-top: 20px;
    color: #0a7a35;
    font-weight: 700;
}

/* error */
.error-banner,
.error {
    margin-top: 20px;
    color: #d92d20;
    font-weight: 700;
}

/* mobile */
@media (max-width: 768px) {

    .sell-in {
        padding: 24px 18px;
        margin-bottom: 24px;
    }

    .sell-in h1 {
        font-size: 22px;
        margin-bottom: 20px;
        text-align: center;
    }

    .sell-in .note {
        padding: 18px;
        margin-bottom: 22px;
    }

    .sell-in .note p {
        font-size: 13px;
        line-height: 1.8;
    }

    .sell-in table,
    .sell-in tbody,
    .sell-in tr,
    .sell-in th,
    .sell-in td {
        display: block;
        width: 100%;
    }

    .sell-in tr {
        margin-bottom: 14px;
    }

    .sell-in th {
        padding: 14px 14px 10px;
        border-top: none;
        background: #f7f7f4;
        border: 1px solid #e7e7e2;
    }

    .sell-in td {
        padding: 6px 0 18px;
        border-top: none;
        background: #fff;
    }

    .sell-in input[type="text"],
    .sell-in select,
    .sell-in textarea {
        width: 100%;
        min-height: 46px;
        border: 1px solid #ddd;
        border-radius: 0;
        background: #fff;
        color: #111;
        font-size: 14px;
        box-shadow: none;
        appearance: none;
        -webkit-appearance: none;
    }

    .sell-in select {
        background-image: linear-gradient(45deg, transparent 50%, #111 50%),
                        linear-gradient(135deg, #111 50%, transparent 50%);
        background-position: calc(100% - 18px) 50%, calc(100% - 12px) 50%;
        background-size: 6px 6px, 6px 6px;
        background-repeat: no-repeat;
        padding-right: 36px;
    }

    .sell-in textarea {
        min-height: 160px;
    }

    .sell-in .form-submit {
        margin-top: 24px;
    }

    .sell-in .form-submit input {
        width: 100%;
        min-width: auto;
    }
}


/* =========================
bank_account_form.php
========================= */

/* SMS送信ボタン */
#bank-form #send-code-button,
#bank-form #verify-code-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    height: 44px;
    padding: 0 22px;
    margin-top: 12px;

    background: #111;
    color: #fff;
    border: none;

    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

#bank-form #send-code-button:hover,
#bank-form #verify-code-button:hover {
    opacity: 0.85;
}

/* SMS notice */
#bank-form #sms-notice {
    display: block;
    width: 100%;
    text-align: center;
    margin: 10px 0 8px;
    color: #d92d20;
    font-size: 14px;
    font-weight: 600;
}

/* submit */
#bank-form .bank-submit {
    text-align: center;
    margin-top: 0;
    margin-bottom: 24px;
}

#bank-form .bank-submit input[type="submit"] {
    width: 320px;
    max-width: 100%;
    height: 56px;

    background: #111;
    color: #fff;
    border: none;

    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
}

#bank-form .bank-submit input[type="submit"]:hover {
    opacity: 0.85;
}

#bank-form .bank-submit input[type="submit"]:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

/* recaptcha */
#recaptcha-container {
    min-height: auto;
    height: auto;
    margin: 0;
    padding: 0;
    text-align: center;
}

.profile-in .note .red,
.profile-in .note .red strong {
    color: #d92d20 !important;
    font-weight: 700;
    line-height: 1.8;
    text-align: left;
}

/* mobile */
@media (max-width:768px) {
    #bank-form .bank-submit input[type="submit"] {
        width: 100%;
    }

    .profile-in .note .red,
    .profile-in .note .red strong {
        color: #d92d20 !important;
        font-weight: 700;
        line-height: 1.8;
        text-align: left;
        display: block;
    }
}


/* =========================
btc_application.php
========================= */

.btc-form-container {
    width: 100%;
}

.btc-form-container h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 24px;
    color: #111;
}

/* 注意文 */
.btc-form-container > p[style*="color:red"] {
    background: #f7f7f4;
    border: 1px solid #e7e7e2;
    padding: 20px;
    margin-bottom: 28px;

    color: #d92d20 !important;
    font-weight: 700;
    line-height: 1.8;
    font-size: 14px;
}

/* success */
.btc-form-container p[style*="color: green"] {
    color: #0a7a35 !important;
    font-weight: 700;
    text-align: center;
    margin-bottom: 24px;
}

/* error */
.btc-form-container p[style*="color: red"]:not([style*="font-weight:bold"]) {
    color: #d92d20 !important;
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
}

/* labels */
.btc-form-container label {
    display: block;
    font-size: 14px;
    font-weight: 700;
    margin-top: 20px;
    margin-bottom: 8px;
    color: #111;
}

/* input */
.btc-form-container input[type="text"],
.btc-form-container input[type="file"],
.btc-form-container textarea {
    width: 100%;
    min-height: 48px;
    padding: 12px 14px;
    border: 1px solid #ddd;
    background: #fff;
    font-size: 14px;
    box-sizing: border-box;
}

.btc-form-container textarea {
    min-height: 120px;
    resize: vertical;
}

/* feedback */
#btc_address_feedback,
#btc_address_match_feedback,
#postal_code_feedback {
    margin-top: 8px;
    font-size: 13px;
    font-weight: 600;
}

/* submit */
.btc-form-container input[type="submit"] {
    width: 100%;
    max-width: 320px;
    height: 56px;
    margin-top: 30px;

    background: #111;
    color: #fff;
    border: none;

    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
}

.btc-form-container input[type="submit"]:hover {
    opacity: 0.85;
}

/* mobile */
@media (max-width: 768px) {

    .btc-form-container h2 {
        font-size: 22px;
        margin-bottom: 20px;
        text-align: center;
    }

    .btc-form-container > p[style*="color:red"] {
        padding: 16px;
        font-size: 13px;
        line-height: 1.7;
    }

    .btc-form-container input[type="submit"] {
        max-width: 100%;
    }
}


/* =========================
btc_withdrawal_request.php
========================= */

.btc-box {
    background: #fff;
    border: 1px solid #e8e8e8;
    padding: 28px;
    margin-top: 24px;
}

.row {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 20px;
    align-items: center;
    padding: 18px 0;
    border-top: 1px solid #eee;
}

.row:first-child {
    border-top: none;
    padding-top: 0;
}

.col-label {
    font-weight: 700;
    color: #111;
    font-size: 14px;
}

.addr {
    background: #f7f7f4;
    border: 1px solid #e7e7e2;
    padding: 14px;
    font-family: monospace;
    word-break: break-all;
    font-size: 14px;
}

.note {
    margin-top: 10px;
    background: #f7f7f4;
    border: 1px solid #e7e7e2;
    padding: 14px;
    font-size: 13px;
    line-height: 1.8;
    color: #666;
}

.actions {
    margin-top: 30px;
    text-align: center;
}

.actions .btn {
    width: 100%;
    max-width: 340px;
    height: 56px;
    background: #111;
    color: #fff;
    border: none;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}

.actions .btn:hover {
    opacity: 0.85;
}

.red {
    color: #d92d20;
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
}

/* mobile */
@media (max-width: 768px) {

    .btc-box {
        padding: 20px;
    }

    .row {
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 16px 0;
    }

    .col-label {
        font-size: 13px;
    }

    .addr,
    .note {
        font-size: 13px;
    }

    .actions .btn {
        max-width: 100%;
    }
}


/* =========================
charge_history.php
========================= */

.charge-history-table {
    width: 100%;
    border-collapse: collapse;
}

.charge-history-table th,
.charge-history-table td {
    padding: 16px 18px;
    text-align: left;
    vertical-align: middle;
    word-break: break-word;
}

.charge-history-table th {
    background: #f7f7f4;
    color: #555;
    font-size: 13px;
    font-weight: 700;
}

.charge-history-table td {
    border-top: 1px solid #eee;
    font-size: 14px;
}

/* mobile */
@media (max-width: 768px) {
    .charge-history-table,
    .charge-history-table thead,
    .charge-history-table tbody,
    .charge-history-table tr,
    .charge-history-table th,
    .charge-history-table td {
        display: block;
        width: 100%;
    }

    .charge-history-table thead {
        display: none;
    }

    .charge-history-table tr {
        border: 1px solid #eee;
        margin-bottom: 12px;
        padding: 14px;
        background: #fff;
    }

    .charge-history-table td {
        border-top: none;
        padding: 8px 0;
        font-size: 14px;
    }

    .charge-history-table td::before {
        content: attr(data-label);
        font-weight: 700;
        color: #555;
    }
}


/* =========================
charge_request_form.php
========================= */

.charge-in {
    width: 100%;
    background: #fff;
    border: 1px solid #e8e8e8;
    padding: 44px;
    margin: 0 0 32px;
    box-sizing: border-box;
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
}

.charge-in .ti2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 24px;
    color: #111;
    text-align: left;
}

.charge-in > p {
    background: #f7f7f4;
    border: 1px solid #e7e7e2;
    padding: 18px 20px;
    margin-bottom: 28px;
    font-size: 16px;
    font-weight: 700;
    color: #111;
    text-align: center;
}

.charge-in h2:not(.ti2) {
    font-size: 22px;
    font-weight: 700;
    margin: 34px 0 20px;
    color: #111;
}

.charge-in table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 28px;
}

.charge-in th,
.charge-in td {
    padding: 18px;
    border-top: 1px solid #eee;
    text-align: left;
    vertical-align: middle;
    font-size: 14px;
    word-break: break-word;
}

.charge-in th {
    width: 28%;
    background: #f7f7f4;
    font-weight: 700;
    color: #111;
}

.charge-in td {
    background: #fff;
    color: #333;
}

/* mobile */
@media (max-width: 768px) {
    .charge-in {
        padding: 24px 18px;
        margin-bottom: 24px;
    }

    .charge-in .ti2 {
        font-size: 22px;
        margin-bottom: 20px;
        text-align: center;
    }

    .charge-in > p {
        padding: 16px;
        font-size: 15px;
        line-height: 1.6;
    }

    .charge-in h2:not(.ti2) {
        font-size: 18px;
        margin: 28px 0 16px;
    }

    .charge-in table,
    .charge-in tbody,
    .charge-in tr,
    .charge-in th,
    .charge-in td {
        display: block;
        width: 100%;
    }

    .charge-in tr {
        margin-bottom: 14px;
    }

    .charge-in th {
        padding: 14px 14px 8px;
        border-top: none;
        background: #f7f7f4;
    }

    .charge-in td {
        padding: 8px 14px 18px;
        border-top: none;
        background: #fff;
        line-height: 1.8;
        word-break: break-word;
    }

    .charge-in > p:last-of-type {
        text-align: left;
        line-height: 1.8;
    }
}


/* =========================
   LINE風 chat.php
========================= */

.chat-page {
    background: #f5f5f5;
    padding: 40px 0;
}

.chat-page .main-in {
    width: min(100% - 20px, 900px);
    margin: 0 auto;
}

.chat-in {
    background: #fff;
    overflow: hidden;
    border: 1px solid #e5e5e5;
}

/* チャットエリア */
.chat-box {
    height: 70vh;
    overflow-y: auto;
    padding: 24px 18px;
    background: #dfe7ef;
}

/* メッセージ全体 */
.message {
    width: 100%;
    margin-bottom: 18px;
    display: flex;
    flex-direction: column;
}

/* 左 */
.message.left {
    align-items: flex-start;
}

/* 右 */
.message.right {
    align-items: flex-end;
}

/* 吹き出し */
.message p {
    position: relative;
    max-width: 78%;
    padding: 12px 14px;
    font-size: 14px;
    line-height: 1.7;
    border-radius: 18px;
    margin: 0;
    word-break: break-word;
}

/* 左吹き出し */
.message.left p {
    background: #fff;
    color: #111;
    border-bottom-left-radius: 6px;
}

/* 右吹き出し */
.message.right p {
    background: #06c755;
    color: #fff;
    border-bottom-right-radius: 6px;
}

/* 時間 */
.timestamp {
    font-size: 11px;
    color: #666;
    margin-top: 5px;
    padding: 0 6px;
}

/* 画像 */
.message img {
    max-width: 240px;
    border-radius: 14px;
    margin-top: 8px;
    display: block;
}

/* 送信フォーム */
.send-message {
    background: #fff;
    border-top: 1px solid #ddd;
    padding: 14px;
}

/* textarea */
.send-message textarea {
    width: 100%;
    min-height: 90px;
    border: 1px solid #ddd;
    border-radius: 14px;
    resize: none;
    padding: 14px;
    font-size: 14px;
    background: #fafafa;
    outline: none;
    box-sizing: border-box;
}

.send-message textarea:focus {
    border-color: #06c755;
    background: #fff;
}

/* 下部 */
.file-submit-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-top: 12px;
}

/* ファイル */
.custom-file-input {
    display: flex;
    align-items: center;
    gap: 10px;
}

.custom-file-input input[type="file"] {
    display: none;
}

.custom-file-label {
    background: #f0f0f0;
    border-radius: 999px;
    padding: 10px 16px;
    cursor: pointer;
    font-size: 13px;
    transition: 0.2s;
}

.custom-file-label:hover {
    background: #e4e4e4;
}

/* 送信ボタン */
.custom-button {
    background: #06c755;
    color: #fff;
    border: none;
    border-radius: 999px;
    min-height: 42px;
    padding: 0 22px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.2s;
}

.custom-button:hover {
    opacity: 0.9;
}

/* ファイル名 */
#file-name {
    font-size: 12px;
    color: #666;
}

/* mobile */
@media (max-width: 768px) {

    .chat-page {
        padding: 0;
    }

    .chat-page .main-in {
        width: 100%;
    }

    .chat-in {
        border: none;
    }

    .chat-box {
        height: calc(100vh - 180px);
        padding: 14px;
    }

    .message p {
        max-width: 88%;
        font-size: 13px;
    }

    .message img {
        max-width: 180px;
    }

    .file-submit-container {
        flex-direction: column;
        align-items: stretch;
    }

    .custom-button,
    .custom-file-label {
        width: 100%;
        justify-content: center;
        display: flex;
    }

    .custom-file-input {
        flex-direction: column;
        align-items: stretch;
    }

    #file-name {
        text-align: center;
    }
}


/* =========================
company-profile.php
========================= */

main {
    background: #f1f1ed;
    flex: 1;
}

.main2-in {
    max-width: 900px;
    margin: 0 auto;
    padding: 80px 20px;
}

.main2-in h1 {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    letter-spacing: -0.02em;
}


.company-info {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border-radius: 0;
}

.company-info th {
    width: 30%;
    background: #fafafa;
    padding: 32px;
    text-align: left;
    font-size: 14px;
    font-weight: 700;
    border-bottom: 1px solid #eee;
}

.company-info td {
    padding: 32px;
    font-size: 14px;
    line-height: 1.8;
    border-bottom: 1px solid #eee;
}

.company-info tr:last-child th,
.company-info tr:last-child td {
    border-bottom: none;
}

@media (max-width: 768px) {
    .main2-in {
        padding: 50px 15px;
    }

    .main2-in h1 {
        font-size: 28px;
        margin-bottom: 28px;
    }

    .company-info,
    .company-info tbody,
    .company-info tr,
    .company-info th,
    .company-info td {
        display: block;
        width: 100%;
    }

    .company-info th {
        padding: 18px 20px 6px;
        border-bottom: none;
    }

    .company-info td {
        padding: 12px 20px 20px;
        border-bottom: 1px solid #eee;
        line-height: 1.8;
        word-break: break-word;
    }
}


/* =========================
contact_guest.php
========================= */

.main-in {
    background: #f1f1ed;
    padding: 60px 20px;
}

.profile-in {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    padding: 50px;
    box-shadow:
        0 10px 30px rgba(0,0,0,0.06),
        0 1px 3px rgba(0,0,0,0.04);
}

.ti2 {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
}

.contact-note {
    color: #d92d20;
    font-weight: 600;
    text-align: center;
    margin-bottom: 30px;
    line-height: 1.8;
    font-size: 14px;
}

.contact-feedback {
    color: #d92d20;
    text-align: center;
    margin-bottom: 25px;
    font-weight: 600;
}

.profile-in table {
    width: 100%;
    border-collapse: collapse;
}

.profile-in th {
    width: 28%;
    text-align: left;
    padding: 20px 10px;
    font-size: 14px;
    vertical-align: top;
}

.profile-in td {
    padding: 20px 10px;
}

.profile-in input,
.profile-in textarea {
    width: 100%;
    padding: 14px;
    border: 1px solid #ddd;
    background: #fafafa;
    font-size: 14px;
    resize: vertical;
}

.profile-in textarea {
    min-height: 160px;
}

.g-recaptcha {
    transform-origin: left top;
}

.form-submit {
    margin-top: 30px;
    text-align: center;
}

.form-submit input {
    width: 100%;
    max-width: 320px;
    height: 56px;
    background: #111;
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    transition: 0.25s;
}

.form-submit input:hover {
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .main-in {
        padding: 40px 15px;
    }

    .profile-in {
        padding: 28px 20px;
    }

    .ti2 {
        font-size: 24px;
    }

    .profile-in table,
    .profile-in tbody,
    .profile-in tr,
    .profile-in th,
    .profile-in td {
        display: block;
        width: 100%;
    }

    .profile-in th {
        padding: 12px 0 8px;
    }

    .profile-in td {
        padding: 0 0 18px;
    }

    .g-recaptcha {
        transform: scale(0.88);
        transform-origin: left top;
    }
}


/* =========================
contact.php
========================= */

.profile-in > p {
    color: #d92d20 !important;
    font-weight: 600;
    text-align: center;
    margin-bottom: 30px;
    line-height: 1.8;
    font-size: 14px;
}

@media (max-width: 768px) {
    .profile-in > p {
        font-size: 13px;
        line-height: 1.7;
        margin-bottom: 24px;
    }
}


/* =========================
faq.php
========================= */

.faq-page {
    background: #f1f1ed;
    min-height: 100vh;
}

.faq-page .container {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding: 60px 20px;
    box-sizing: border-box;
}

.faq-page h1 {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 50px;
    color: #111;
}

.section-title {
    font-size: 20px;
    font-weight: 700;
    margin: 45px 0 20px;
    color: #111;
}

.faq-item {
    width: 100%;
    box-sizing: border-box;
    background: #fff;
    margin-bottom: 16px;
    border: 1px solid #eee;
    box-shadow: 0 6px 20px rgba(0,0,0,0.04);
}

.faq-question,
.faq-answer {
    width: 100%;
    box-sizing: border-box;
}

.faq-question {
    cursor: pointer;
    padding: 22px 60px 22px 22px;
    font-size: 15px;
    font-weight: 600;
    position: relative;
    line-height: 1.7;
}

.faq-question::after {
    content: "+";
    position: absolute;
    right: 22px;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 300;
    line-height: 1;
}

.faq-item.active .faq-question::after {
    content: "−";
}

.faq-answer {
    display: none;
    padding: 0 22px 22px;
    line-height: 1.9;
    color: #555;
    font-size: 14px;
    word-break: break-word;
}

.faq-item.active .faq-answer {
    display: block;
}

/* mobile */
@media (max-width: 768px) {
    .faq-page .container {
        padding: 40px 15px;
    }

    .faq-page h1 {
        font-size: 24px;
        margin-bottom: 35px;
    }

    .section-title {
        font-size: 17px;
        margin: 35px 0 16px;
    }

    .faq-question {
        padding: 18px 50px 18px 18px;
        font-size: 14px;
    }

    .faq-answer {
        padding: 0 18px 18px;
        font-size: 13px;
    }
}


/* =========================
footer.php
========================= */

footer {
    width: 100%;
    background: #ffffff;
    padding: 64px 20px 52px;
    border-top: 1px solid #e6e6e2;
    margin-top: auto;
}

.footer-content {
    max-width: 1120px;
    margin: 18px auto 0;
    text-align: center;
}

.socials {
    list-style: none;
    padding: 0;
    margin: 0 0 30px;

    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px 26px;
}

.socials li {
    margin: 0;
}

.socials a {
    color: #444;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.02em;
    position: relative;
    transition: color 0.2s ease;
}

.socials a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0;
    height: 1px;
    background: #111;
    transition: width 0.25s ease;
}

.socials a:hover {
    color: #111;
}

.socials a:hover::after {
    width: 100%;
}

.footer-content p {
    margin: 0 0 12px;
    font-size: 12px;
    color: #888;
    letter-spacing: 0.02em;
}

/* mobile */
@media (max-width: 768px) {
    footer {
        padding: 30px 16px 24px;
    }

    .socials {
        display: grid;
        grid-template-columns: 1fr;
        gap: 12px;
        margin-bottom: 20px;
    }

    .socials a {
        font-size: 13px;
    }

    .socials a::after {
        display: none;
    }

    .footer-content p {
        font-size: 11px;
        line-height: 1.7;
    }
}


/* =========================
header.php
========================= */

.top-0 {
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    min-height: 72px;
    padding: 0 32px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    background: #fff;
    border-bottom: 1px solid rgba(0,0,0,0.08);
}

.logo {
    width: auto;
    height: 38px;
    object-fit: contain;
    display: block;
}

.top-0-a {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* ログイン */
.top-0-a a:last-child {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 50px;
    padding: 0 26px;

    background: #fff;
    color: #111;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;

    border: 1px solid rgba(0,0,0,0.12);
    box-shadow: 0 18px 50px rgba(0,0,0,0.08);

    transition: all 0.25s ease;
}

.top-0-a a:last-child:hover {
    transform: translateY(-3px);
    box-shadow: 0 30px 80px rgba(0,0,0,0.15);
}

/* 会員登録 */
.top-0-a a:first-child {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 50px;
    padding: 0 26px;

    background: #111;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;

    box-shadow: 0 18px 50px rgba(0,0,0,0.08);

    transition: all 0.25s ease;
}

.top-0-a a:first-child:hover {
    transform: translateY(-3px);
    box-shadow: 0 30px 80px rgba(0,0,0,0.15);
}

/* mobile */
@media (max-width: 768px) {
    .top-0 {
        min-height: 64px;
        padding: 0 16px;
    }

    .logo {
        height: 30px;
    }

    .top-0-a {
        gap: 8px;
    }

    .top-0-a a:first-child,
    .top-0-a a:last-child {
        min-height: 42px;
        padding: 0 14px;
        font-size: 12px;
    }
}


/* =========================
header-main.php
========================= */

.member-header {
    width: 100%;
    background: #fff;
    border-bottom: 1px solid #ececec;
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* header inner */

.member-header-inner {
    width: 100%;
    max-width: 1120px;
    min-height: 88px;
    margin: 0 auto;
    padding: 0 20px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

/* logo */

.member-logo {
    width: 76px;
    height: auto;
    display: block;
    flex-shrink: 0;
}

/* PC nav */

.member-nav-links {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
}

/* 柔らかいボタン */

.member-nav-links a {
    width: 125px;
    height: 50px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    background: #f3f3f3;
    color: #222;

    border: 1px solid #dcdcdc;
    border-radius: 14px;

    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.04em;

    box-shadow:
        0 4px 14px rgba(0,0,0,0.05);

    transition:
        background 0.25s ease,
        color 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

.member-nav-links a:hover {
    background: #e8e8e8;
    color: #111;
    border-color: #cfcfcf;

    box-shadow:
        0 8px 20px rgba(0,0,0,0.08);
}

/* checkbox hidden */

.openSidebarMenu {
    display: none;
}

/* hamburger */

.sidebarIconToggle {
    width: 46px;
    height: 46px;
    flex-shrink: 0;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;

    border: 1px solid #e5e5e5;
    border-radius: 12px;
    background: #fff;
    cursor: pointer;
}

.spinner {
    width: 22px;
    height: 2px;
    background: #111;
    transition: 0.25s ease;
}

/* open animation */

.openSidebarMenu:checked + .sidebarIconToggle .spinner:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.openSidebarMenu:checked + .sidebarIconToggle .spinner:nth-child(2) {
    opacity: 0;
}

.openSidebarMenu:checked + .sidebarIconToggle .spinner:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* sidebar */

#sidebarMenu {
    position: fixed;
    top: 0;
    right: 0;

    width: 360px;
    max-width: 86%;
    height: 100vh;

    background: #fff;
    z-index: 1100;

    transform: translateX(100%);
    transition: transform 0.3s ease;

    box-shadow: -20px 0 50px rgba(0,0,0,0.12);
    overflow-y: auto;
}

.openSidebarMenu:checked ~ #sidebarMenu {
    transform: translateX(0);
}

.sidebarMenuInner {
    padding: 90px 28px 40px;
}

.sidebarMenuInner .container p {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 24px;
}

/* 残高 */

.total {
    background: #f7f7f4;
    padding: 18px;
    margin-bottom: 28px;
}

.total table {
    width: 100%;
    border-collapse: collapse;
}

.total td {
    display: block;
    font-size: 14px;
    padding: 4px 0;
    color: #333;
}

/* menu list */

.sidebarMenuInner ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebarMenuInner li {
    border-bottom: 1px solid #eee;
}

.sidebarMenuInner li a,
.sidebarMenuInner li button {
    width: 100%;
    display: block;
    padding: 18px 0;

    background: none;
    border: none;
    color: #111;
    text-align: left;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
}

/* overlay */

.black-bg {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.35);
    z-index: 1050;
}

.openSidebarMenu:checked ~ .black-bg {
    display: block;
}


/* mobile */

@media (max-width: 768px) {

    .member-header-inner {
        min-height: 72px;
        padding: 0 15px;
        gap: 10px;
    }

    .member-logo {
        width: 72px;
    }

    /* 買う・売るのみ */
    .member-nav-links {
        gap: 8px;
    }

    .member-nav-links a {
        width: 78px;
        height: 44px;
        font-size: 13px;
        border-radius: 12px;
    }

    .member-nav-links a:nth-child(3),
    .member-nav-links a:nth-child(4) {
        display: none;
    }

    .sidebarIconToggle {
        width: 42px;
        height: 42px;
    }

    #sidebarMenu {
        width: 320px;
    }

    .sidebarMenuInner {
        padding: 80px 22px 35px;
    }
}


/* =========================
index.php(new.cssの中にある)
========================= */

/* =========================
inquiry_list.php (selling_now.php)と内容一緒
========================= */


/* =========================
login_or_register.php
========================= */

.password-reset-link p {
    margin-top: 10px;
    font-size: 14px;
    color: #666;
}

.password-reset-link p a {
    margin-left: 6px;
    color: #111;
    font-weight: 700;
}

@media (max-width: 768px) {
    .password-reset-link p {
        font-size: 13px;
        line-height: 1.7;
    }
}


/* =========================
login.php
========================= */

.error {
    background: #fff1f1;
    border: 1px solid #ffd6d6;
    color: #b42318;
    padding: 14px;
    border-radius: 12px;
    margin-bottom: 22px;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
}

.password-reset-link {
    text-align: center;
    margin-top: 20px;
}

.password-reset-link a {
    color: #777;
    font-size: 14px;
    text-decoration: none;
    transition: color 0.25s ease;
}

.password-reset-link a:hover {
    color: #111;
}

/* mobile */

@media (max-width: 768px) {
    .error {
        padding: 12px;
        font-size: 13px;
        margin-bottom: 18px;
    }

    .password-reset-link {
        margin-top: 18px;
    }

    .password-reset-link a {
        font-size: 13px;
    }
}


/* =========================
mailresist.php
========================= */

.all {
    flex: 1;
    min-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 20px;
    background: #f1f1ed;
}

.all-in0 {
    width: 100%;
    max-width: 1100px;
}

.all-in-log {
    max-width: 520px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 24px;
    padding: 36px 44px;
    border: 1px solid #eeeeee;
    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.06),
        0 1px 3px rgba(0, 0, 0, 0.04);
}

.ti {
    font-size: 32px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
    color: #111;
}

.ti::after {
    display: none;
}
.message1 {
    background: #f5f5f5;
    border: 1px solid #e5e5e5;
    padding: 14px;
    border-radius: 12px;
    margin-bottom: 25px;
    text-align: center;
    font-size: 14px;
    color: #333;
}

.gsi-material-button {
    width: 100%;
    height: 56px;
    border-radius: 14px;
    border: 1px solid #ddd;
    background: #fff;
    transition: all 0.25s ease;
}

.gsi-material-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.oauth-divider {
    position: relative;
    text-align: center;
    margin: 35px 0;
    font-size: 14px;
    color: #777;
}

.oauth-divider::before,
.oauth-divider::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 38%;
    height: 1px;
    background: #ddd;
}

.oauth-divider::before {
    left: 0;
}

.oauth-divider::after {
    right: 0;
}

.login-form label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #111;
}

.input-wrapper {
    margin-bottom: 20px;
}

.input-wrapper input {
    width: 100%;
    height: 56px;
    padding: 0 16px;
    border: 1px solid #ddd;
    border-radius: 14px;
    background: #fafafa;
    font-size: 15px;
    transition: all 0.2s ease;
}

.input-wrapper input:focus {
    outline: none;
    border-color: #111;
    background: #fff;
}

.login-form input[type="submit"] {
    width: 100%;
    height: 58px;
    border: none;
    border-radius: 14px;
    background: #111;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
}

.login-form input[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
}

@media (max-width: 768px) {

    .all {
        padding: 18px 15px;
    }

    .all-in-log {
        padding: 26px 20px;
        border-radius: 18px;
    }

    .ti {
        font-size: 24px;
    }

    .input-wrapper input,
    .login-form input[type="submit"],
    .gsi-material-button {
        height: 52px;
    }

    .oauth-divider::before,
    .oauth-divider::after {
        width: 30%;
    }
}


/* =========================
main.php
========================= */

.main-in {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    padding: 48px 20px 80px;
}

.top-in {
    width: 100%;
}

.announcements {
    margin-bottom: 32px;
}

.announcement {
    width: 100%;
    background: #fff;
    border: 1px solid #e8e8e8;
    padding: 18px 56px 18px 22px;
    margin-bottom: 12px;
    box-sizing: border-box;
    position: relative;
}

.titleDate {
    display: flex;
    gap: 24px;
    align-items: center;
    font-size: 14px;
}

.titleDate a {
    color: #111;
    font-weight: 700;
    text-decoration: none;
}

.close-btn {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
}

.main-transaction,
.selling-in,
.main-charge-history,
.main-withdrawal-history {
    width: 100%;
    max-width: 100%;
    background: #fff;
    border: 1px solid #e8e8e8;
    padding: 44px;
    margin: 0 0 32px;
    box-sizing: border-box;
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
}

.main-purchase-history,
.main-listing-history {
    width: 100%;
}

.main-transaction h2,
.selling-in h2,
.main-charge-history h2,
.main-withdrawal-history h2 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 28px;
    color: #111;
}

.card-table {
    width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
}

.card-table th,
.card-table td {
    padding: 16px 18px;
    text-align: left;
    vertical-align: middle;
    word-break: break-word;
}

.card-table th {
    background: #f7f7f4;
    color: #555;
    font-size: 13px;
    font-weight: 700;
}

.card-table td {
    border-top: 1px solid #eee;
    font-size: 14px;
}

.view-all-button-container {
    margin-top: 22px;
    display: flex;
    justify-content: center;
}

.view-all-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 180px;
    min-height: 48px;
    padding: 0 26px;

    background: #111;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;

    border-radius: 10px;
}

.view-all-button:hover {
    opacity: 0.85;
}

.edit-button,
.complete-button,
.inquiry-button,
.error-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 14px;
    margin: 3px;
    border: none;
    background: #111;
    color: #fff;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
}

.error-button {
    background: #d92d20;
}

.status-complete,
.status-pending,
.status-canceled {
    font-weight: 700;
}

.status-complete {
    color: #0a7a35;
}

.status-pending {
    color: #111;
}

.status-canceled {
    color: #d92d20;
}

.accordion {
    display: none;
}

/* mobile */

@media (max-width: 768px) {
    .main-in {
        padding: 28px 15px 56px;
    }

    .announcement {
        padding: 16px 44px 16px 16px;
    }

    .titleDate {
        display: block;
        font-size: 13px;
        line-height: 1.7;
    }

    .main-transaction,
    .selling-in,
    .main-charge-history,
    .main-withdrawal-history {
        width: 100%;
        max-width: 100%;
        padding: 24px 18px;
        margin: 0 0 24px;
        box-sizing: border-box;
    }

    .main-transaction h2,
    .selling-in h2,
    .main-charge-history h2,
    .main-withdrawal-history h2 {
        font-size: 18px;
        margin-bottom: 18px;
    }

    .card-table {
        display: none;
    }

    .accordion {
        display: block;
    }

    .accordion-item {
        background: #fff;
        border: 1px solid #eee;
        padding: 16px;
        margin-bottom: 12px;
        box-sizing: border-box;
    }

    .accordion-header {
        cursor: pointer;
    }

    .accordion-header-row {
        display: flex;
        justify-content: space-between;
        gap: 12px;
        font-size: 14px;
        line-height: 1.7;
    }

    .accordion-content {
        display: none;
        margin-top: 12px;
        padding-top: 12px;
        border-top: 1px solid #eee;
        font-size: 14px;
        line-height: 1.8;
    }

    .edit-button,
    .complete-button,
    .inquiry-button,
    .error-button,
    .view-all-button {
        width: 100%;
        margin: 8px 0 0;
    }
}


/* =========================
password_reset_request.php
========================= */

.all-in {
    max-width: 650px;
    margin: 0 auto;
}

.registration {
    background: #fff;
    border-radius: 24px;
    padding: 45px;
    border: 1px solid #eeeeee;
    box-shadow:
        0 10px 30px rgba(0,0,0,0.06),
        0 1px 3px rgba(0,0,0,0.04);
}

.registration > p:first-child {
    text-align: center;
    color: #666;
    font-size: 14px;
    margin-bottom: 30px;
    line-height: 1.8;
}

.form-group {
    margin-bottom: 22px;
}

.label-wrapper label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 10px;
}

.red {
    color: #d92d20;
}

.input-wrapper select {
    width: 100%;
    height: 56px;
    padding: 0 16px;
    border: 1px solid #ddd;
    border-radius: 14px;
    background: #fafafa;
    font-size: 14px;
}

.form-submit input {
    width: 100%;
    height: 58px;
    border: none;
    border-radius: 14px;
    background: #111;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
}

.form-submit input:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.12);
}

@media (max-width: 768px) {
    .registration {
        padding: 28px 20px;
        border-radius: 18px;
    }

    .registration > p:first-child {
        font-size: 13px;
        margin-bottom: 22px;
    }

    .input-wrapper select,
    .form-submit input {
        height: 52px;
    }
}


/* =========================
password_reset.php
========================= */

.registration p {
    text-align: center;
    color: #d92d20;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    line-height: 1.7;
}

@media (max-width: 768px) {
    .registration p {
        font-size: 13px;
        margin-bottom: 16px;
        line-height: 1.6;
    }
}


/* =========================
payment.php
========================= */

.payment-in {
    width: 100%;
    background: #fff;
    border: 1px solid #e8e8e8;
    padding: 44px;
    margin: 0 0 32px;
    box-sizing: border-box;
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
}

.payment-in h1 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 30px;
    color: #111;
}

.payment-in .red {
    background: #fff1f1;
    border: 1px solid #ffd6d6;
    padding: 20px;
    margin-bottom: 24px;
    color: #b42318;
    font-weight: 700;
}

.payment-in .red p,
.payment-in > div:not(.red):not(.form-container) p {
    font-size: 14px;
    line-height: 1.9;
}

.payment-in > div:not(.red):not(.form-container) {
    background: #f7f7f4;
    border: 1px solid #e7e7e2;
    padding: 20px;
    margin-bottom: 28px;
    color: #444;
}

.payment-in table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 28px;
}

.payment-in th,
.payment-in td {
    padding: 18px;
    border-top: 1px solid #eee;
    text-align: left;
    vertical-align: middle;
    font-size: 14px;
}

.payment-in th {
    width: 28%;
    background: #f7f7f4;
    font-weight: 700;
    color: #111;
}

.payment-in td {
    background: #fff;
    font-weight: 700;
}

.withdraw-actions {
    display: grid;
    gap: 12px;
    justify-items: center;
    margin-top: 16px;
}

.custom-button,
.btn-outline {
    min-width: 220px;
    height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #111;
    color: #fff;
    border: none;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}

.custom-button:hover,
.btn-outline:hover {
    opacity: 0.85;
}

/* mobile */

@media (max-width: 768px) {
    .payment-in {
        padding: 24px 18px;
        margin-bottom: 24px;
    }

    .payment-in h1 {
        font-size: 22px;
        margin-bottom: 20px;
    }

    .payment-in .red,
    .payment-in > div:not(.red):not(.form-container) {
        padding: 16px;
    }

    .payment-in table,
    .payment-in tbody,
    .payment-in tr,
    .payment-in th,
    .payment-in td {
        display: block;
        width: 100%;
    }

    .payment-in th {
        padding: 14px 14px 8px;
        border-top: none;
        background: #f7f7f4;
    }

    .payment-in td {
        padding: 8px 14px 18px;
        border-top: none;
        background: #fff;
        line-height: 1.8;
        word-break: break-word;
    }

    .custom-button,
    .btn-outline {
        width: 100%;
        min-width: auto;
    }
}


/* =========================
privacy-policy.php
========================= */

.main-in.policy-main {
    width: 100%;
    max-width: 100%;
    background: #f1f1ed;
    padding: 60px 20px;
    display: flex;
    justify-content: center;
}

.policy-container {
    width: 100%;
    max-width: 900px;
    margin: 0;
    background: #fff;
    padding: 60px;
    box-shadow:
        0 10px 30px rgba(0,0,0,0.06),
        0 1px 3px rgba(0,0,0,0.04);
}

.policy-container h1 {
    font-size: 32px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
}

.policy-container h2 {
    font-size: 22px;
    font-weight: 700;
    margin-top: 40px;
    margin-bottom: 16px;
    color: #111;
}

.policy-container p {
    font-size: 15px;
    line-height: 2;
    color: #444;
    margin-bottom: 20px;
}

.policy-container ul {
    margin: 20px 0;
    padding-left: 20px;
}

.policy-container li {
    margin-bottom: 10px;
    line-height: 1.9;
    color: #444;
}

.policy-container a {
    color: #111;
    font-weight: 600;
}

@media (max-width: 768px) {

    .main-in.policy-main {
        padding: 40px 15px;
    }

    .policy-container {
        padding: 30px 20px;
    }

    .policy-container h1 {
        font-size: 26px;
        margin-bottom: 30px;
    }

    .policy-container h2 {
        font-size: 18px;
        margin-top: 30px;
    }

    .policy-container p,
    .policy-container li {
        font-size: 14px;
        line-height: 1.8;
    }
}


/* =========================
profile.php
========================= */

.profile-in h1 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 30px;
    color: #111;
    text-align: left;
}

.profile-in table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 28px;
}

.profile-in th,
.profile-in td {
    padding: 18px;
    border-top: 1px solid #eee;
    text-align: left;
    vertical-align: middle;
    font-size: 14px;
    word-break: break-word;
}

.profile-in th {
    width: 28%;
    background: #f7f7f4;
    font-weight: 700;
    color: #111;
}

.profile-in td {
    background: #fff;
    color: #333;
}

/* 下のお問い合わせリンク */

.profile-in > a,
.profile-in a {
    color: #111;
    font-weight: 700;
    text-decoration: none;
}

.profile-in a:hover {
    opacity: 0.7;
}

/* mobile */

@media (max-width: 768px) {
    .profile-in h1 {
        font-size: 22px;
        margin-bottom: 20px;
        text-align: center;
    }

    .profile-in table,
    .profile-in tbody,
    .profile-in tr,
    .profile-in th,
    .profile-in td {
        display: block;
        width: 100%;
    }

    .profile-in th {
        padding: 14px 14px 6px;
        border-top: none;
        font-size: 13px;
    }

    .profile-in td {
        padding: 6px 14px 20px;
        border-top: none;
        color: #444;
    }

    .profile-in {
        padding: 28px 20px;
    }
}


/* =========================
purchased.php
========================= */

/* purchased専用フィルター */

.purchased-filter-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr;
    gap: 16px;
}

/* ギフトコード折り返し */

.readonly-span {
    word-break: break-all;
}

/* mobile */

@media (max-width: 768px) {

    .purchased-filter-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }
}

/* modal */

.modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 9999;
    display: none;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.modal-content {
    width: min(100%, 420px);
    background: #fff;
    padding: 28px;
    box-shadow: var(--shadow-lg);
    text-align: center;
}

.modal-content h3 {
    margin: 0 0 18px;
    font-size: 18px;
}

.modal-content select {
    width: 100%;
    min-height: 48px;
    border: 1px solid var(--line);
    padding: 0 12px;
    font-size: 15px;
}

.modal-buttons {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.modal-buttons button {
    flex: 1;
    min-height: 44px;
    border: none;
    font-weight: 700;
    cursor: pointer;
}

.modal-submit {
    background: #111;
    color: #fff;
}

.modal-cancel {
    background: #f1f1f1;
    color: #111;
}

@media (max-width: 480px) {
    .modal-content {
        padding: 24px 20px;
    }
}

/* =========================
register_companytest.php
========================= */

.register-company-page {
    width: 100%;
}

.register-company-wrap {
    width: 100%;
}

.register-company-card {
    width: 100%;
    background: #fff;
    border: 1px solid #e8e8e8;
    padding: 44px;
    box-sizing: border-box;
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
}


.register-company-wrap > .ti {
    display: none;
}

.register-company-card::before {
    content: "新規会員登録(法人)";
    display: block;
    font-size: 28px;
    font-weight: 700;
    color: #111;
    margin-bottom: 30px;
}

/* 注意文 */

.register-company-form-area .note {
    background: #f7f7f4;
    border: 1px solid #e7e7e2;
    padding: 24px;
    margin-bottom: 28px;
}

.register-company-form-area .note h3,
.register-company-form-area .note p {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    text-align: left;
}

.register-company-form-area .note h3 {
    font-size: 15px;
    font-weight: 700;
    color: #111;
    line-height: 1.8;
    margin-bottom: 10px;
}

.register-company-form-area .note p {
    font-size: 14px;
    line-height: 1.9;
    margin-bottom: 0;
}

/* 赤文字 */

.register-company-form-area .red,
.register-company-form-area .red * {
    color: #d92d20 !important;
    font-weight: 700;
}

/* フォーム */

.register-company-form-area .container {
    width: 100%;
}

.register-form-group {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 20px;
    align-items: center;
    padding: 18px 0;
    border-top: 1px solid #eee;
}

.register-label-wrapper label {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: #111;
    line-height: 1.6;
}

.register-input-wrapper {
    width: 100%;
}

.register-input-wrapper input,
.register-input-wrapper select {
    width: 100%;
    height: 48px;
    padding: 0 14px;
    border: 1px solid #ddd;
    border-radius: 0;
    background: #fff;
    color: #111;
    font-size: 14px;
    box-sizing: border-box;
    box-shadow: none;
}

.register-input-wrapper input:focus,
.register-input-wrapper select:focus {
    outline: none;
    border-color: #111;
}

/* birthdate_input.php */

.register-input-wrapper .info-text,
.register-input-wrapper .example {
    font-size: 13px;
    color: #555;
    margin-bottom: 8px;
}

.register-input-wrapper .birthday-form {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.register-input-wrapper .birthday-form input[type="text"] {
    width: 72px;
    height: 42px;
    text-align: center;
    padding: 0 8px;
}

.register-input-wrapper .birthday-form .label {
    font-size: 13px;
    color: #333;
}

.small-red {
    color: #d92d20;
    font-size: 13px;
    font-weight: 600;
}

/* 利用規約 */

.form-group1 {
    margin-top: 28px;
    padding: 24px;
    background: #f7f7f4;
    border: 1px solid #e7e7e2;
    text-align: center;
}

.form-group1-checkbox {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 16px;
}

.form-group1-checkbox input {
    width: auto;
    height: auto;
}

.form-group1-checkbox label {
    font-size: 14px;
    font-weight: 700;
    color: #111;
}

#terms-btn {
    min-width: 180px;
    height: 44px;
    padding: 0 22px;
    background: #111;
    color: #fff;
    border: none;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

#terms-btn:hover {
    opacity: 0.85;
}

/* 送信 */

.register-company-submit {
    margin-top: 34px;
    text-align: center;
}

.register-company-submit input[type="submit"] {
    width: 100%;
    max-width: 320px;
    height: 56px;
    background: #111;
    color: #fff;
    border: none;
    border-radius: 0;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
}

.register-company-submit input[type="submit"]:hover {
    opacity: 0.85;
}

.register-company-submit input[type="submit"]:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

/* modal */

.modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(0,0,0,0.45);

    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-content {
    width: 100%;
    max-width: 900px;
    max-height: 85vh;
    overflow-y: auto;
    background: #fff;
    padding: 34px;
    position: relative;
    box-sizing: border-box;
}

.close {
    position: absolute;
    top: 20px;
    right: 28px;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}

/* mobile */

@media (max-width: 768px) {

    .register-company-card {
        padding: 24px 18px;
    }

    .register-company-card::before {
        font-size: 22px;
        margin-bottom: 22px;
        text-align: center;
    }

    .register-company-form-area .note {
        padding: 18px;
        margin-bottom: 22px;
    }

    .register-company-form-area .note h3,
    .register-company-form-area .note p {
        max-width: 100%;
    }

    .register-company-form-area .note h3 {
        font-size: 14px;
    }

    .register-company-form-area .note p {
        font-size: 13px;
        line-height: 1.8;
    }

    .register-form-group {
        grid-template-columns: 1fr;
        gap: 8px;
        padding: 16px 0;
    }

    .register-input-wrapper input,
    .register-input-wrapper select {
        height: 46px;
        font-size: 14px;
    }

    .register-input-wrapper .birthday-form {
        gap: 5px;
    }

    .register-input-wrapper .birthday-form input[type="text"] {
        width: 64px;
        height: 40px;
    }

    .form-group1 {
        padding: 18px;
    }

    .form-group1-checkbox {
        align-items: flex-start;
    }

    #terms-btn,
    .register-company-submit input[type="submit"] {
        width: 100%;
        max-width: 100%;
    }

    .modal-content {
        width: calc(100% - 24px);
        max-height: 86vh;
        margin: 60px auto 20px;
        padding: 24px 18px;
    }
}


/* =========================
selling_now.php
========================= */

.selling-in {
    width: 100%;
    background: #fff;
    border: 1px solid #ececec;
    padding: 40px;
    margin-bottom: 32px;
    box-sizing: border-box;
    box-shadow: 0 8px 24px rgba(0,0,0,0.04);
}

.selling-in h1 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 30px;
    color: #111;
}

/* フィルター */

.selling-filter-form {
    margin-bottom: 28px;
    padding: 26px;
    background: #f7f7f4;
    border: 1px solid #e7e7e2;
}

.selling-filter-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr 1fr;
    gap: 16px;
}

.selling-filter-field label {
    display: block;
    margin-bottom: 8px;
    font-size: 13px;
    font-weight: 700;
    color: #555;
}

.selling-filter-field input,
.selling-filter-field select {
    width: 100%;
    height: 48px;
    padding: 0 14px;
    border: 1px solid #ddd;
    background: #fff;
    font-size: 14px;
    box-sizing: border-box;
}

/* ボタン */

.selling-filter-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 22px;
}

.selling-filter-actions button,
.selling-filter-actions a {
    min-width: 150px;
    height: 48px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    background: #333;
    color: #fff;
    border: 1px solid #333;

    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;

    transition:
        background 0.25s ease,
        color 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

.selling-filter-actions button:hover,
.selling-filter-actions a:hover {
    background: #1f1f1f;
    color: #fff;
    border-color: #1f1f1f;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

/* 売上 */

.total-summary {
    background: #f7f7f4;
    padding: 20px;
    margin-bottom: 24px;
    font-size: 18px;
    font-weight: 700;
}

/* テーブル */

.transaction-id-column {
    width: 140px;
}

.gift-info-column {
    width: 320px;
}

.readonly-span {
    display: inline-block;
    margin-top: 6px;
    word-break: break-all;
}

.copy-button {
    margin-top: 8px;
    padding: 8px 14px;
    background: #f3f3f3;
    border: 1px solid #ddd;
    cursor: pointer;
}

.copy-button:hover {
    background: #e9e9e9;
}

/* ページネーション */

.pagination {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 30px;
}

.pagination a {
    min-width: 100px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    background: #111;
    color: #fff;
}

/* モーダル */

#editModal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 2000;
}

#editModal .modal-content {
    width: 100%;
    max-width: 520px;
    background: #fff;
    margin: 80px auto;
    padding: 30px;
    position: relative;
}

#editModal h2 {
    margin-bottom: 20px;
}

#editModal label {
    display: block;
    margin-top: 16px;
    margin-bottom: 8px;
    font-weight: 600;
}

#editModal input {
    width: 100%;
    height: 44px;
    padding: 0 12px;
    border: 1px solid #ddd;
    box-sizing: border-box;
}

#editModal .close {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 26px;
    cursor: pointer;
}

/* mobile */

@media (max-width: 768px) {
    .selling-in {
        padding: 22px 16px;
    }

    .selling-in h1 {
        font-size: 22px;
        margin-bottom: 20px;
    }

    .selling-filter-form {
        padding: 18px;
    }

    .selling-filter-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .selling-filter-actions {
        flex-direction: column;
    }

    .selling-filter-actions button,
    .selling-filter-actions a {
        width: 100%;
    }

    .total-summary {
        font-size: 16px;
        padding: 16px;
    }

    .card-table {
        display: none;
    }

    .accordion {
        display: block;
    }

    #editModal .modal-content {
        width: calc(100% - 20px);
        margin: 40px auto;
        padding: 20px;
    }

    .pagination a {
        min-width: 80px;
        height: 40px;
        font-size: 13px;
    }
}


/* =========================
terms.php
========================= */

.main-in.terms-container {
    width: 100%;
    max-width: 100%;
    background: #f1f1ed;
    padding: 60px 20px;
    display: flex;
    justify-content: center;
}

.terms-scroll-box {
    width: 100%;
    max-width: 900px;
    margin: 0;
    background: #fff;
    padding: 60px;
    max-height: 75vh;
    overflow-y: auto;
    box-shadow:
        0 10px 30px rgba(0,0,0,0.06),
        0 1px 3px rgba(0,0,0,0.04);
}

.terms-scroll-box h1 {
    font-size: 32px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
}

.terms-scroll-box h2 {
    font-size: 20px;
    font-weight: 700;
    margin-top: 35px;
    margin-bottom: 14px;
    color: #111;
}

.terms-scroll-box p {
    font-size: 15px;
    line-height: 2;
    color: #444;
    margin-bottom: 16px;
}

/* スクロールバー */

.terms-scroll-box::-webkit-scrollbar {
    width: 8px;
}

.terms-scroll-box::-webkit-scrollbar-thumb {
    background: #d0d0d0;
    border-radius: 20px;
}

@media (max-width: 768px) {

    .main-in.terms-container {
        padding: 30px 12px;
    }

    .terms-scroll-box {
        padding: 24px 16px;
        width: 100%;
        max-width: 100%;
        max-height: none;
        overflow-y: visible;
        box-sizing: border-box;
    }

    .terms-scroll-box h1 {
        font-size: 22px;
        line-height: 1.4;
        margin-bottom: 24px;
    }

    .terms-scroll-box h2 {
        font-size: 16px;
        line-height: 1.5;
        margin-top: 24px;
        margin-bottom: 10px;
    }

    .terms-scroll-box p {
        font-size: 13px;
        line-height: 1.8;
        word-break: break-word;
    }
}


/* =========================
termsmodaltest.php
========================= */

.terms-modal-page {
    width: 100%;
    background: transparent;
    padding: 0;
    margin: 0;
}

.terms-modal-wrap {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
}

.terms-modal-card {
    background: transparent;
    border: none;
    padding: 0;
    margin: 0;
    box-shadow: none;
}

/* 利用規約本文 */

.policy-container {
    width: 100%;
    max-height: 500px;
    overflow-y: auto;
    background: #fff;
    padding: 30px;
    margin: 0;
}

.policy-container h1 {
    font-size: 28px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 30px;
    color: #111;
}

.policy-container h2 {
    font-size: 18px;
    font-weight: 700;
    margin: 28px 0 14px;
    color: #111;
}

.policy-container p {
    font-size: 14px;
    line-height: 1.9;
    color: #444;
    margin-bottom: 14px;
}

/* scrollbar */

.policy-container::-webkit-scrollbar {
    width: 8px;
}

.policy-container::-webkit-scrollbar-thumb {
    background: #ccc;
}

/* mobile */

@media (max-width:768px){

    .terms-modal-page,
    .terms-modal-wrap,
    .terms-modal-card {
        padding: 0;
        margin: 0;
    }

    .policy-container {
        padding: 20px;
        max-height: 70vh;
    }

    .policy-container h1 {
        font-size: 22px;
        margin-bottom: 20px;
    }

    .policy-container h2 {
        font-size: 16px;
    }

    .policy-container p {
        font-size: 13px;
        line-height: 1.8;
    }
}


/* =========================
tokushoho.php
========================= */

.tokushoho-title {
    font-size: 32px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 32px;
}

.tokushoho-page-main {
    background: #f1f1ed;
    padding: 60px 20px;
}

.tokushoho-page-main .main-transaction {
    max-width: 900px;
    margin: 0 auto;
    background: #fff;
    padding: 60px;
    box-shadow:
        0 10px 30px rgba(0,0,0,0.06),
        0 1px 3px rgba(0,0,0,0.04);
}

.main-transaction h1 {
    font-size: 32px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 45px;
}

.tokushoho-section {
    padding: 26px 0;
    border-bottom: 1px solid #eee;
}

.tokushoho-section:last-child {
    border-bottom: none;
}

.tokushoho-heading {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #111;
}

.tokushoho-text {
    font-size: 15px;
    line-height: 1.9;
    color: #444;
    margin-bottom: 8px;
}

@media (max-width: 768px) {
    .tokushoho-page-main {
        padding: 30px 12px;
    }

    .tokushoho-page-main .main-transaction {
        padding: 28px 18px;
        width: 100%;
    }

    .main-transaction h1 {
        font-size: 24px;
        margin-bottom: 24px;
        line-height: 1.4;
    }

    .tokushoho-section {
        padding: 18px 0;
    }

    .tokushoho-heading {
        font-size: 15px;
        margin-bottom: 10px;
    }

    .tokushoho-text {
        font-size: 14px;
        line-height: 1.8;
        word-break: break-word;
    }
}


/* =========================
top_purchase.php(専用CSSはなし)
========================= */


/* =========================
user-statusestest.php
========================= */

.register-user-page {
    width: 100%;
}

.register-user-wrap {
    width: 100%;
}

.register-user-card {
    width: 100%;
    background: #fff;
    border: 1px solid #e8e8e8;
    padding: 44px;
    box-sizing: border-box;
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
}

.register-user-wrap > .ti {
    display: none;
}

.register-user-card::before {
    content: "新規会員登録(個人)";
    display: block;
    font-size: 28px;
    font-weight: 700;
    color: #111;
    margin-bottom: 30px;
}

/* 注意文 */

.register-user-form-area .note {
    background: #f7f7f4;
    border: 1px solid #e7e7e2;
    padding: 24px;
    margin-bottom: 28px;
}

.register-user-form-area .note h3,
.register-user-form-area .note p {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    text-align: left;
}

.register-user-form-area .note h3 {
    font-size: 15px;
    font-weight: 700;
    color: #111;
    line-height: 1.8;
    margin-bottom: 10px;
}

.register-user-form-area .note p {
    font-size: 14px;
    line-height: 1.9;
    margin-bottom: 0;
}

.register-user-form-area .red,
.register-user-form-area .red * {
    color: #d92d20 !important;
    font-weight: 700;
}

/* 法人リンク */

.register-user-corporate-link {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid #e1e1dc;
}

.register-user-corporate-link p {
    font-size: 14px;
    color: #333;
}

.register-user-corporate-link a {
    color: #111;
    font-weight: 700;
    text-decoration: underline;
}

/* フォーム */

.register-user-form-group {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 20px;
    align-items: center;
    padding: 18px 0;
    border-top: 1px solid #eee;
}

.register-user-label-wrapper label {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: #111;
    line-height: 1.6;
}

.register-user-input-wrapper {
    width: 100%;
}

.register-user-input-wrapper input,
.register-user-input-wrapper select {
    width: 100%;
    height: 48px;
    padding: 0 14px;
    border: 1px solid #ddd;
    border-radius: 0;
    background: #fff;
    color: #111;
    font-size: 14px;
    box-sizing: border-box;
    box-shadow: none;
}

.register-user-input-wrapper input:focus,
.register-user-input-wrapper select:focus {
    outline: none;
    border-color: #111;
}

/* birthdate_input.php */
.register-user-input-wrapper .info-text,
.register-user-input-wrapper .example {
    font-size: 13px;
    color: #555;
    margin-bottom: 8px;
}

.register-user-input-wrapper .birthday-form {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.register-user-input-wrapper .birthday-form input[type="text"] {
    width: 72px;
    height: 42px;
    text-align: center;
    padding: 0 8px;
}

.register-user-input-wrapper .birthday-form .label {
    font-size: 13px;
    color: #333;
}

/* 利用規約 */

.form-group1 {
    margin-top: 28px;
    padding: 24px;
    background: #f7f7f4;
    border: 1px solid #e7e7e2;
    text-align: center;
}

.form-group1-checkbox {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 16px;
}

.form-group1-checkbox input {
    width: auto;
    height: auto;
}

.form-group1-checkbox label {
    font-size: 14px;
    font-weight: 700;
    color: #111;
}

#terms-btn {
    min-width: 180px;
    height: 44px;
    padding: 0 22px;
    background: #111;
    color: #fff;
    border: none;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

#terms-btn:hover {
    opacity: 0.85;
}

/* 送信 */

.register-user-submit {
    margin-top: 34px;
    text-align: center;
}

.register-user-submit input[type="submit"] {
    width: 100%;
    max-width: 320px;
    height: 56px;
    background: #111;
    color: #fff;
    border: none;
    border-radius: 0;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
}

.register-user-submit input[type="submit"]:hover {
    opacity: 0.85;
}

.register-user-submit input[type="submit"]:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

/* mobile */

@media (max-width: 768px) {
    .register-user-card {
        padding: 24px 18px;
    }

    .register-user-card::before {
        font-size: 22px;
        margin-bottom: 22px;
        text-align: center;
    }

    .register-user-form-area .note {
        padding: 18px;
        margin-bottom: 22px;
    }

    .register-user-form-area .note h3 {
        font-size: 14px;
    }

    .register-user-form-area .note p {
        font-size: 13px;
        line-height: 1.8;
    }

    .register-user-form-group {
        grid-template-columns: 1fr;
        gap: 8px;
        padding: 16px 0;
    }

    .register-user-input-wrapper input,
    .register-user-input-wrapper select {
        height: 46px;
        font-size: 14px;
    }

    .register-user-input-wrapper .birthday-form input[type="text"] {
        width: 64px;
        height: 40px;
    }

    .form-group1 {
        padding: 18px;
    }

    #terms-btn,
    .register-user-submit input[type="submit"] {
        width: 100%;
        max-width: 100%;
    }
}


/* =========================
withdrawal_history.php
========================= */

.charge_history-in {
    width: 100%;
}

/* チャージ履歴・出金履歴タイトルを販売履歴と統一 */

.charge_history-in .ti2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 30px;
    color: #111;
    text-align: left;
}

.total-summary {
    background: #f7f7f4;
    border: 1px solid #e7e7e2;
    padding: 20px;
    margin-bottom: 24px;
    font-size: 18px;
    font-weight: 700;
    color: #111;
    text-align: center;
}

/* mobile */

@media (max-width: 768px) {
    .charge_history-in .ti2 {
        font-size: 22px;
        margin-bottom: 20px;
    }

    .total-summary {
        padding: 16px;
        font-size: 16px;
        line-height: 1.6;
    }
}