body {
    font-family: Arial, sans-serif;
}

/*.card {
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 15px;
    margin: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}*/
.card {
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 15px;
    margin: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    width: calc(100% - 40px); /* 幅を親要素の100%から左右のマージンを引いた値に設定 */
    box-sizing: border-box;  /* paddingとborderを幅に含めるための設定 */
}


.card-header {
    background-color: #787878;
    padding: 10px;
    border-radius: 5px;
    margin-top: 10px;
    color: #FFF;
}

.card-title-wrapper {
    display: block;
    background-color: #d1d1d1;
    padding:  10px;
    border-radius: 5px;
    margin-top: 10px;
}

/*.card-title {
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    display: inline-block;
}*/
.card-title {
    display: block;          /* ブロックレベル要素として表示 */
    font-size: 14px;         /* フォントサイズを14pxに設定 */
    white-space: nowrap;     /* テキストを1行に収める */
    overflow: hidden;        /* 内容が要素の大きさを超えた場合には隠す */
    text-overflow: ellipsis; /* 要素の大きさを超えたテキストを省略記号(...)で表示 */
    max-width: 100%;         /* 最大幅を親要素の100%に設定 */
}


.card-url {
    display: none; /* 初期状態では非表示 */
    margin-top: 10px;
    text-align: center;
    word-wrap: break-word;
}

.toggle-url, .toggle-title {
    background-color: #d1d1d1;
    padding: 5px 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    display: inline-block;
    /*margin-left: 10px;*/
}

.toggle-title {
    display: none; /* 初期状態では非表示 */
    float: right;
    margin-top: -10px;
    background-color: #FFF;
}

.toggle-url {
    width: 100%; /* 幅いっぱいに表示 */
    text-align: center;
    margin-top: 10px;
    font-size: 14px;
}

/* 初期状態では非表示にする */
.show-more, .show-less {
    display: none;
}

.access-code {
    font-size: 24px;
    font-weight: bold;
    margin-left: 10px;
}

.copy-code {
    position: absolute;
    right: 30px;
    /*top: 10px;*/
    cursor: pointer;
    background-color: #FFF;
    padding: 5px 8px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
}

.copy-code:hover {
    background-color: #e0e0e0;
}

.title-input {
    flex-grow: 1;
    width: 100%; /* 親要素の幅に合わせる */
    box-sizing: border-box; /* paddingとborderを含む */
    border: 1px solid #ccc; /* 細かいスタイル調整 */
    padding: 5px;
    background-color: white; /* 背景色を白に設定 */
    color: black; /* 文字色を黒に設定 */
    overflow-y: hidden; /* 縦スクロールバーを非表示にする */
    resize: none; /* ユーザーによるリサイズを禁止 */
    height: auto; /* 高さを自動に設定 */
    min-height: 20px; /* 最小の高さを設定 (必要に応じて調整) */
    font-size: 14px;
}

.button-style {
    background-color: #;
    padding: 5px 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    display: inline-block;
    font-size: 14px;
}

.button-style:hover {
    background-color: #e5e5e5;
}


.edit-button, .update-button, .cancel-button {
    position: relative;
    margin-right: 5px;  /* 各ボタンの間に5pxのスペースを追加 */
    background-color: #FFF;
}

.edit-button {
    /* 編集ボタン固有のスタイル（必要に応じて） */
}

.update-button {
    /* 更新ボタン固有のスタイル（必要に応じて） */
}

.cancel-button {
    /* キャンセルボタン固有のスタイル（必要に応じて） */
}

/* モーダルウィンドウ */
#modal-background {
    display: none;
    opacity: 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.75); 
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease; 
}

#modal-content {
    padding: 20px;
    background-color: #FFF;
    border-radius: 10px;
    color: blue;  
    text-align: center;  
    font-weight: normal;
    line-height: 1.4;  
}

#modal-content strong {
    font-size: 24px;
    font-weight: bold;
    display: block;  
    margin-bottom: 0px;  /* 余白の調整 */
}

#modal-content span {
    font-size: 16px;
    font-weight: normal;
    display: block;
}



/* URL入力フォーム関連 */
/* URL入力フォーム外部コンテナ */
.url-form-wrapper {
    max-width: 600px;
    margin: 0 auto;  /* センタリング */
}

/* URL入力フォーム関連 */
.input-container {
    width: 90%;  /* 両サイドに空きを設けるために90%に設定 */
    margin: auto; /* センタリングのために追加 */
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

#url-input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
}

.button-container {
    /*width: 60%;*/  /* ボタンの幅を調整 */
    display: flex;
    justify-content: space-between;  /* ボタン間のスペースを均等にする */
}

.btn {
    background-color: #007BFF;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 16px;
    white-space: nowrap;  /* ボタンのテキストを1行で表示 */
    transition: background-color 0.3s;  /* ホバー時のアニメーションをスムーズに */
}

.btn:hover {
    background-color: #0056b3;  /* ホバー時の背景色を少し暗く */
}

.clear-btn {
    background-color: #FF5733;
}

.clear-btn:hover {
    background-color: #e43f00;  /* ホバー時の背景色を少し暗く */
}










