/* 相談の詳細を表示するページ */
.ConsultationPageContainer {
    width: 100%;
    display: grid;
    gap: 20px;
}

.PatentConsultation_Container {
    max-width: 700px;
    margin: auto;
}

.ConsultationContent_Container {
    display: grid;
    gap: 20px;
}

.ConsultationContent_Container .CloseNotice {
    color: #777;
    text-align: center;
    border: 1px solid;
    border-radius: 5px;
    padding: 20px 10px;
}

.ConsultationContent_Container .EmptyMessage {
    width: 100%;
    font-size: 15px;
    color: #777;
    text-align: center;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
}

.ConsultationContent_Container .More {
    text-align: center;
    font-size: 15px;
    color: var(--PrimaryButtonColor);
    background-color: #f5f5f5;
    padding: 15px 0px;
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    text-decoration: none;
}

/* 相談者による相談投稿内容を表示 */
.ConsultationContent_Box {
    max-width: 700px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #fff;
}

.ConsultationContent_Box.EmptyMessage {
    text-align: center;
    color: #777;
}

.ConsultationContent_Box .Title {
    font-size: 18px;
    font-weight: bold;
    color: #333;
}
.ConsultationContent_Box .FullBody {
    font-size: 15px;
    color: #555;
    width: 100%;
    text-align: justify;
    white-space: pre-wrap;
    word-break: break-all;
}

.ConsultationContent_Box .InnerBox {
    width: 100%;
    display: flex;
    gap: 10px;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
}
.ConsultationContent_Box .DateTime {
    font-size: 12px;
    color: #999;
}

/* AIの回答 */
.AIAnswer_Box {
    max-width: 500px;
    margin-left: 25px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: var(--Blue2);
}
.AIAnswer_Box .Title {
    font-size: 16px;
    font-weight: bold;
    color: #333;
}
.AIAnswer_Box .Content {
    font-size: 15px;
    color: #555;
}
.AIAnswer_Box .Notice {
    font-size: 13px;
    font-weight: 300;
    color: #777;
}

/* 相談のタイムライン */
.Timeline_Container {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row-reverse;
    justify-content: flex-end;
    align-items: flex-start;
    column-gap: 70px;
    row-gap: 30px;
}

.Timeline_SideSection {
    display: flex;
    flex-direction: column;
    gap: 15px;
    /* max-width: 300px; */
    /* width: 100%; */
    flex-basis: 300px;
    flex-grow: 1;
}

.Timeline_ContentSection {
    /* max-width: 700px; */
    /* width: 100%; */
    flex-basis: 700px;
    flex-grow: 1;
}

.Timeline_ContentBox {
    display: grid;
    gap: 20px;
}

.Timeline_ContentBox.Hide {
    display: none;
}

.Timeline_ThreadButton {
    width: 100%;
}

/* 相談のコメントを表示 */
.ConsultationContent_Comment {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 20px;
    border-radius: 10px;
    /* border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc; */
}
.ConsultationContent_Comment.Client {
    margin-left: 8%;
    background-color: var(--Blue3);
}
.ConsultationContent_Comment.Patent {
    margin-right: 8%;
    background-color: var(--Blue2);
}
.ConsultationContent_Comment .BestAnswerBadge {
    background-color: var(--Blue13);
    color: #fff;
    border-radius: 3px;
    padding: 2px 7px;
    font-size: 13px;
    font-weight: bold;
    width: fit-content;
}

/* 相談回答本文領域 */
.ConsultationContent_Comment .BodyContainer {
    position: relative;
    width: 100%;
}
.ConsultationContent_Comment .BodyContainer .Body {
    font-size: 15px;
    color: #555;
    width: 100%;
    text-align: justify;
    white-space: pre-wrap;
    word-break: break-all;
}
.ConsultationContent_Comment .BodyContainer .Body.BlurMask {
    filter: blur(3px);
}

/* .ConsultationContent_Comment .BodyContainer .Mask {
    position: absolute;
    inset: -5px;
    backdrop-filter: blur(3px);
} */
.ConsultationContent_Comment .BodyContainer .CTAButtonContainer {
    position: absolute;
    inset: 0px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.ConsultationContent_Comment .DateTime {
    font-size: 12px;
    color: #999;
}
.ConsultationContent_Comment.Client .DateTime {
    text-align: right;
}

/* 相談のコメント入力フォーム */
.ConsultationTimelineFormContainer {
    display: grid;
    gap: 10px;
}

/* 相談表示 */

.PreWrap {
    white-space: pre-wrap;
}