/* 女性のための動物占い専用コメント欄 */
.aza-comment-board {
    --aza-comment-text: #503f48;
    --aza-comment-soft: #786c72;
    --aza-comment-rose: #8f536d;
    --aza-comment-rose-deep: #60384f;
    --aza-comment-line: #e3d2d9;
    box-sizing: border-box;
    width: 100%;
    max-width: 1100px;
    margin: 58px auto 0;
    padding: 0;
    color: var(--aza-comment-text);
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.aza-comment-board *,
.aza-comment-board *::before,
.aza-comment-board *::after {
    box-sizing: border-box;
}

.aza-comment-intro {
    margin: 0 0 30px;
    text-align: left;
}

.aza-comment-eyebrow {
    display: none;
}

.aza-comment-board .aza-comment-title {
    margin: 0 !important;
    padding: 7px 0 7px 20px !important;
    color: #453d41 !important;
    border: 0 !important;
    border-left: 4px solid #bd8b37 !important;
    border-radius: 0 !important;
    background: none !important;
    box-shadow: none !important;
    font-family: inherit;
    font-size: clamp(23px, 3.2vw, 32px);
    font-weight: 700;
    letter-spacing: 0.02em;
    line-height: 1.55;
}

.aza-comment-board .aza-comment-title::before,
.aza-comment-board .aza-comment-title::after {
    display: none !important;
    content: none !important;
}

.aza-comment-lead {
    margin: 22px 0 0;
    color: var(--aza-comment-soft);
    font-size: 15px;
    line-height: 2;
}

.aza-comment-formBox {
    margin: 0 0 32px;
}

.aza-comment-board .comment-respond {
    position: relative;
    margin: 0;
    padding: clamp(22px, 3.5vw, 32px);
    overflow: hidden;
    border: 1px solid var(--aza-comment-line);
    border-radius: 20px;
    background: linear-gradient(145deg, #fffefa, #fbf6f3);
    box-shadow:
        0 10px 24px rgba(158, 72, 107, 0.07),
        inset 0 0 0 1px rgba(255, 255, 255, 0.68);
}

.aza-comment-board .comment-respond::after {
    display: none;
    content: none;
}

.aza-comment-board .aza-comment-form__title {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 10px;
    margin: 0 0 20px !important;
    padding: 0 !important;
    color: var(--aza-comment-rose) !important;
    border: 0 !important;
    background: none !important;
    box-shadow: none !important;
    font-size: clamp(18px, 2.4vw, 22px);
    font-weight: 700;
    line-height: 1.45;
}

.aza-comment-board .aza-comment-form__title::before {
    display: grid !important;
    width: 31px;
    height: 31px;
    flex: 0 0 31px;
    color: #bd8b37;
    border: 1px solid #e5d3c4;
    border-radius: 50%;
    background: #fffbf4;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 19px;
    font-weight: 400;
    line-height: 1;
    content: "✦" !important;
    place-items: center;
}

.aza-comment-board .aza-comment-form__title::after {
    display: none !important;
    content: none !important;
}

.aza-comment-board #cancel-comment-reply-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    margin-left: auto;
    padding: 6px 14px;
    color: #a65b78;
    border: 1px solid #efd0da;
    border-radius: 999px;
    background: #fff;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
}

.aza-comment-form,
.aza-comment-form__row {
    position: relative;
    z-index: 1;
}

.aza-comment-form {
    margin: 0;
}

.aza-comment-form__row {
    display: block;
    margin: 0 0 16px;
}

.aza-comment-form__row label {
    display: block;
    margin: 0 0 8px;
    color: #47363f;
    font-size: 14px;
    font-weight: 700;
}

.aza-comment-form__row label span:not(.required) {
    color: #9d8993;
    font-size: 12px;
    font-weight: 400;
}

.aza-comment-board .required {
    color: var(--aza-comment-rose);
}

.aza-comment-board .logged-in-as {
    position: relative;
    z-index: 1;
    margin: 0 0 18px;
    color: var(--aza-comment-soft);
    font-size: 13px;
    line-height: 1.9;
}

.aza-comment-board textarea,
.aza-comment-board input[type="text"] {
    display: block;
    width: 100%;
    margin: 0;
    color: #4c3f45;
    border: 1px solid #eebdcd;
    border-radius: 11px;
    outline: 0;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: inset 0 1px 3px rgba(126, 71, 91, 0.05);
    font: inherit;
    font-size: 14px;
    line-height: 1.75;
    transition:
        border-color 180ms ease,
        box-shadow 180ms ease;
}

.aza-comment-board textarea {
    min-height: 170px;
    padding: 14px 16px;
    resize: vertical;
}

.aza-comment-board input[type="text"] {
    min-height: 46px;
    padding: 10px 14px;
}

.aza-comment-board textarea::placeholder,
.aza-comment-board input[type="text"]::placeholder {
    color: #baa7af;
}

.aza-comment-board textarea:focus,
.aza-comment-board input[type="text"]:focus {
    border-color: #dc6c93;
    box-shadow:
        0 0 0 4px rgba(220, 108, 147, 0.13),
        inset 0 1px 3px rgba(126, 71, 91, 0.04);
}

.aza-comment-board .form-submit {
    position: relative;
    z-index: 1;
    margin: 22px 0 0;
    text-align: center;
}

.aza-comment-board .aza-comment-submit {
    min-width: 280px;
    min-height: 50px;
    margin: 0 auto;
    padding: 12px 30px;
    color: #fff;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, #80556b, var(--aza-comment-rose-deep));
    box-shadow: 0 11px 23px rgba(201, 61, 112, 0.22);
    font: inherit;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.035em;
    cursor: pointer;
    transition:
        transform 180ms ease,
        box-shadow 180ms ease;
}

.aza-comment-board .aza-comment-submit:hover {
    box-shadow: 0 14px 27px rgba(201, 61, 112, 0.29);
    transform: translateY(-1px);
}

.aza-comment-board .aza-comment-submit:focus-visible,
.aza-comment-board textarea:focus-visible,
.aza-comment-board input[type="text"]:focus-visible,
.aza-comment-reaction:focus-visible,
.aza-comment-actions .comment-reply-link:focus-visible {
    outline: 3px solid rgba(220, 108, 147, 0.27);
    outline-offset: 3px;
}

.aza-comment-note {
    margin: 14px 0 0;
    color: #927d86;
    font-size: 12px;
    line-height: 1.75;
    text-align: center;
}

.aza-comment-empty,
.aza-comment-closed {
    margin: 18px 0 0;
    padding: 16px;
    color: #806d76;
    border: 1px dashed #eeb8ca;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.72);
    font-size: 13px;
    line-height: 1.75;
    text-align: center;
}

.aza-comment-listHeader {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 34px 0 14px;
}

.aza-comment-board .aza-comment-listTitle {
    display: flex;
    align-items: center;
    gap: 7px;
    margin: 0 !important;
    padding: 0 !important;
    color: #533d49 !important;
    border: 0 !important;
    background: none !important;
    box-shadow: none !important;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.5;
}

.aza-comment-board .aza-comment-listTitle::before {
    display: inline !important;
    color: var(--aza-comment-rose);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 19px;
    content: "♡" !important;
}

.aza-comment-board .aza-comment-listTitle::after {
    display: none !important;
    content: none !important;
}

.aza-comment-listTitle span {
    display: inline-flex;
    align-items: center;
    min-height: 25px;
    margin-left: 3px;
    padding: 3px 10px;
    color: #a65c78;
    border-radius: 999px;
    background: #f7e4eb;
    font-size: 11px;
}

.aza-comment-list,
.aza-comment-list .children {
    margin: 0;
    padding: 0;
    list-style: none;
}

.aza-comment-list .children {
    margin: 14px 0 0 54px;
    padding-left: 16px;
    border-left: 1px dashed #efaec4;
}

.aza-comment-item {
    margin: 0 0 14px;
}

.aza-comment-card {
    display: grid;
    grid-template-columns: 50px minmax(0, 1fr);
    gap: 15px;
    padding: 18px;
    border: 1px solid #efdbe3;
    border-radius: 17px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 7px 18px rgba(126, 71, 91, 0.06);
}

.aza-comment-avatar {
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.aza-comment-avatarMark,
.aza-comment-adminAvatar {
    display: grid;
    width: 48px !important;
    height: 48px !important;
    border-radius: 50% !important;
    place-items: center;
}

.aza-comment-avatarMark {
    color: #d95886;
    border: 1px solid #e3d2d9;
    background:
        radial-gradient(circle at 35% 28%, #fff, #ffeef4);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 24px;
    box-shadow: 0 4px 12px rgba(158, 72, 107, 0.09);
}

.aza-comment-adminAvatar {
    border: 2px solid #fff;
    box-shadow: 0 3px 8px rgba(126, 71, 91, 0.14);
    object-fit: cover;
}

.aza-comment-content {
    min-width: 0;
}

.aza-comment-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px 12px;
    margin: 0 0 8px;
}

.aza-comment-author {
    color: #4c3b43;
    font-size: 14px;
    font-weight: 700;
}

.aza-comment-date {
    color: #a39099;
    font-size: 12px;
    text-decoration: none;
}

.aza-comment-awaiting {
    margin: 7px 0;
    padding: 8px 10px;
    color: #9b7634;
    border-radius: 8px;
    background: #fff7df;
    font-size: 12px;
}

.aza-comment-body {
    color: #55484e;
    font-size: 14px;
    line-height: 1.9;
}

.aza-comment-body p {
    margin: 0 0 0.75em;
}

.aza-comment-body p:last-child {
    margin-bottom: 0;
}

.aza-comment-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 12px;
}

.aza-comment-reaction,
.aza-comment-actions .comment-reply-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-height: 34px;
    padding: 6px 12px;
    color: #a65d78;
    border: 1px solid #efd0da;
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 2px 7px rgba(126, 71, 91, 0.05);
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    transition:
        transform 180ms ease,
        background-color 180ms ease,
        border-color 180ms ease;
}

.aza-comment-reaction {
    cursor: pointer;
}

.aza-comment-reactionIcon,
.aza-comment-reactionCount {
    color: #d85e88;
}

.aza-comment-reaction:hover,
.aza-comment-actions .comment-reply-link:hover,
.aza-comment-reaction.is-reacted {
    border-color: #e7afc2;
    background: #fff7fa;
    transform: translateY(-1px);
}

.aza-comment-reaction.is-loading,
.aza-comment-reaction:disabled {
    cursor: wait;
    opacity: 0.72;
    transform: none;
}

.aza-comment-actions .comment-reply-link::before {
    content: "↩";
}

.aza-comment-nav {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-top: 20px;
}

.aza-comment-nav a {
    color: #ad5a78;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.aza-comment-item .comment-respond {
    margin-top: 14px;
}

@media (max-width: 720px) {
    .aza-comment-board {
        margin-top: 42px;
        padding: 0;
        border-radius: 0;
    }

    .aza-comment-intro {
        margin-bottom: 22px;
    }

    .aza-comment-board .aza-comment-title {
        padding-left: 14px !important;
        border-left-width: 3px !important;
        font-size: 20px;
    }

    .aza-comment-lead {
        font-size: 13px;
    }

    .aza-comment-board .comment-respond {
        padding: 20px 15px 22px;
        border-radius: 17px;
    }

    .aza-comment-board .aza-comment-form__title {
        font-size: 17px;
    }

    .aza-comment-board textarea {
        min-height: 145px;
    }

    .aza-comment-board .aza-comment-submit {
        width: 100%;
        min-width: 0;
    }

    .aza-comment-list .children {
        margin-left: 18px;
        padding-left: 10px;
    }

    .aza-comment-card {
        grid-template-columns: 42px minmax(0, 1fr);
        gap: 11px;
        padding: 14px;
    }

    .aza-comment-avatarMark,
    .aza-comment-adminAvatar {
        width: 42px !important;
        height: 42px !important;
    }

    .aza-comment-meta {
        display: block;
    }

    .aza-comment-date {
        display: block;
        margin-top: 3px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .aza-comment-board *,
    .aza-comment-board *::before,
    .aza-comment-board *::after {
        transition-duration: 1ms !important;
    }
}
