html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
    margin: 0;
    padding: 0;
    border: 0;
    font-style: normal;
    font-weight: normal;
    font-size: 100%;
    vertical-align: baseline;
    font-family: Lato, "Noto Sans JP", "Yu Gothic Medium", YuGothic, "Hiragino Kaku Gothic ProN", Meiryo, "MS PGothic", sans-serif;
    word-wrap: break-word;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
    display: block;
}

html {
    overflow-y: scroll;
}

blockquote,
q {
    quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
    content: '';
    content: none;
}
input,
textarea {
    margin: 0;
    padding: 0;
    width: 100%;
    box-sizing: border-box;
    padding: 8px;
    font-size: 16px;
    border: #ccc 1px solid;
    border-radius: 3px;
    background: #fafafa;
    box-sizing: border-box;
}

ol,
ul {
    list-style: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

caption,
th {
    text-align: left;
}

a:focus {
    outline: none;
}

.clear:after {
    content: ".";
    display: block;
    clear: both;
    height: 0;
    visibility: hidden;
}

* html .clear {
    height: 1px;
}

.both {
    clear: both;
}

h1 {
    text-align: center;
    font-size: 25px;
    margin: 0px 0 20px;
    color: #D7BAA8;
    padding-top: 30px;
}
button {
    background: linear-gradient(90deg, #8a2b2b, #5e2121);
    background: #394340;
    color: #ebff26;
    padding: 15px 15px;
    border: 1px solid #ebff26;
    cursor: pointer;
    transition: all 0.3s ease;
    background: transparent;
    cursor: pointer;
    background-image:
      linear-gradient(to right, #ebff26, #ebff26),   /* 上辺 */
      linear-gradient(to bottom, #ebff26, #ebff26),    /* 左辺 */
      linear-gradient(to right, #ebff26, #ebff26),       /* 下辺 */
      linear-gradient(to bottom, #ebff26, #ebff26);      /* 右辺 */
    background-repeat: no-repeat;
    background-size:
      0% 1px,    /* 上辺：横幅0%、高さ2px */
      1px 0%,    /* 左辺：横幅2px、高さ0% */
      0% 1px,    /* 下辺：横幅0%、高さ2px */
      1px 0%;    /* 右辺：横幅2px、高さ0% */
    /* それぞれの線の開始位置。上辺と左辺は左上から、下辺と右辺は右下から */
    background-position:
      top left,
      top left,
      bottom right,
      bottom right;
    transition: background-size 0.4s ease;
    min-width: 130px;
}

button:hover {
    background-size:
    100% 1px,   /* 上辺：横幅100%、高さ2px */
    1px 100%,   /* 左辺：横幅2px、高さ100% */
    100% 1px,   /* 下辺：横幅100%、高さ2px */
    1px 100%;   /* 右辺：横幅2px、高さ100% */
    color: #ba0000;
}
.login-form, .register-form, .refresh-pass-form,.forget-pwd-form{
    margin: 20px auto;
    padding: 20px;
    max-width: 800px;
    background-color: #394340;
    border: 1px solid #ccc;
    border-radius: 3px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    font-family: Arial, sans-serif;
    width: 80%;
}
.popup-overlay {
    position: fixed;
    top: 0px;
    left: 50%;
    /* 水平方向中央揃え */
    transform: translateX(-50%);
    /* 自身の幅の半分だけ左に移動して中央揃え */
    width: 100vw;
    /* 横幅を画面幅の50%に設定 */
    height: 100%;
    /* 高さは画面全体 */
    background: rgba(255, 255, 255, 0.5);
    /* 背景の暗いオーバーレイ */
    display: flex;
    justify-content: center;
    /* 水平方向に中央揃え */
    align-items: center;
    /* 垂直方向に中央揃え */
    display: flex;
    padding: auto;
}


/* ポップアップの内容 */
.popup-content {
    background: #394340;
    color: #333;
    padding: 20px 30px;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    width: 400px;
    text-align: center;
    box-sizing: border-box;
    position: relative;
    border: 1px solid #D0B9A8;
    max-height: 95%;
    /* 高さの上限を設定しておく */
    overflow-y: auto;
    /* 垂直方向のスクロールを有効にする */
}

.popup-content p {
    color: #D0B9A8;
}

/* ポップアップの見出し */
.popup-content h2 {
    margin-bottom: 20px;
    font-size: 24px;
    color: #D0B9A8;
}

/* テキストエリア */
.popup-content textarea {
    font-size: 16px;
    width: 100%;
    height: 80px;
    margin-bottom: 20px;
    padding: 13px;
    font-size: 16px;
    border: 1px solid #D0B9A8;
    /* 落ち着いたグレー */
    border-radius: 6px;
    background: #4F5653;
    /* ダークな背景 */
    color: #ffffff;
    resize: none;
    /* サイズ変更を無効化 */
}

/* ポップアップのボタン */
.popup-buttons {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    width: 80%;
    margin: 20px auto 0;
}

.popup-buttons button {
    flex: 1;
    padding: 7px;
    font-size: 16px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 0;
}
.message-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.message-item {
    margin-bottom: 10px;
}

.message-content {
    background: #ffffff;
    border: 1px solid #ccc;
    padding: 0px 15px 20px;
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.message-content:hover {
    background: #eaeaea;
}
.message-image{
    max-width: 100%;
    border: 1px solid #aaaaaa42;
    box-sizing: border-box;
    border-radius: 6px;
    margin: 20px 0 0;
}
.infinite-scroll-box {
    overflow-y: auto;
}

.infinite-scroll-wrapper {
    /* height: calc(100vh - 240px); */
    /* overflow: hidden; */
}


.raindrop-loader {
    position: relative;
    width: 100%;
    height: 80px;
    overflow: hidden;
}

.drop {
    position: absolute;
    top: -20px;
    width: 10px;
    height: 20px;
    background-color: #D0B9A8;
    transform: translateY(0) skewX(15deg);
    animation: fall 1.2s linear infinite;
    animation-delay: calc(var(--i) * 0.1s);
    left: calc(var(--i) * 9%);
    /*border-radius: 50%/60%;*/
    /* ← 紡錘形感を出す */
    opacity: 0.7;
}

@keyframes fall {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(100px);
    }
}
.requests_body{
    text-align: center;
    border: 1px solid #000000;
    padding: 8px;
    display: inline-flex;
    border-radius: 4px;
    margin: 5px;
    font-size: 15px;
    color: #000000;
    background: #fff;
}
p.reply-name {
    font-size: 120%;
    border-bottom: 1px dotted;
    padding-bottom: 10px;
    margin-bottom: 24px;
    text-align: left;
    padding-top: 10px;
    width: 100%;
}

.accordion-content p.reply-content {
    font-size: 16px;
    line-height: 1.7;
    color: #333;
    text-align: left;
    margin: 0;
}
div#app {
    max-width: 600px;
    width: 92%;
    margin: 0 auto;
}

div#app nav {
    display: flex;
    justify-content: space-around;
}

.accordion-content p {
    margin-bottom: 12px;
}
.message-content a {
    color: #3c6bff;
    text-decoration: none;
    border-bottom: 1px solid;
    padding-bottom: 1px;
    display: inline-block;
    margin-bottom: 20px;
}
.accordion-content p strong {
    margin-right: 15px;
}