Spaces:
Sleeping
Sleeping
File size: 4,868 Bytes
1155486 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 |
/* Google FontsからNoto Sans JPをインポート */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;700&display=swap');
* {
box-sizing: border-box;
}
body {
background-color: #f0f2f5;
font-family: 'Noto Sans JP', sans-serif;
color: #333;
margin: 0;
padding: 0;
}
.header {
background: linear-gradient(135deg, #A70028, #8b0020);
color: white;
padding: 15px 0; /* ★ 上下のpaddingを20pxから15pxに縮小 */
text-align: center;
box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}
.header h1 {
margin: 0;
font-size: 1.8em; /* ★ 少しだけフォントサイズを縮小 */
}
.container {
width: 90%;
max-width: 800px;
margin: 20px auto; /* ★ 上下のmarginを30pxから20pxに縮小 */
padding: 0 20px;
}
.logo {
max-height: 50px; /* ★ ロゴの高さを60pxから50pxに縮小 */
margin-bottom: 5px; /* ★ ロゴ下のmarginを10pxから5pxに縮小 */
}
.card {
background-color: white;
border-radius: 12px;
box-shadow: 0 4px 8px rgba(0,0,0,0.1);
padding: 20px; /* ★ 内側のpaddingを25pxから20pxに縮小 */
margin-bottom: 15px; /* ★ カード下のmarginを20pxから15pxに縮小 */
}
.card h2 {
color: #1A2753;
border-bottom: 2px solid #A70028;
padding-bottom: 8px; /* ★ paddingを10pxから8pxに縮小 */
margin-top: 0;
margin-bottom: 15px; /* ★ 見出し下のmarginを追加調整 */
}
.btn {
display: block;
background-color: #1A2753;
color: white;
padding: 12px 20px;
border-radius: 8px;
text-decoration: none;
font-weight: bold;
text-align: center;
transition: background-color 0.3s, transform 0.2s;
margin-bottom: 15px; /* ★ ボタンごとの下の余白を15pxに設定 */
}
/* 最後のボタンだけ下の余白をなくす */
.btn:last-child {
margin-bottom: 0;
}
.btn:hover {
background-color: #2c3e8a;
transform: translateY(-2px);
text-decoration: none;
color: white;
}
.logout-link {
display: block;
text-align: center;
margin-top: 15px; /* ★ marginを20pxから15pxに縮小 */
color: #666;
font-weight: normal;
}
.fade-in-element {
opacity: 0;
transform: translateY(20px);
transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.fade-in-element.is-visible {
opacity: 1;
transform: translateY(0);
}
/* ★★★ Q&Aセクション用のスタイルを追加 ★★★ */
.qa-section {
margin-top: 25px;
}
.qa-item {
margin-bottom: 10px;
border: 1px solid #ddd;
border-radius: 8px;
overflow: hidden; /* 角丸をキレイに見せるため */
}
.qa-question {
background-color: #f7f7f7;
padding: 12px 15px;
cursor: pointer;
font-weight: bold;
display: flex;
justify-content: space-between;
align-items: center;
}
/* 矢印のスタイル */
.qa-question::after {
content: '▼';
font-size: 0.8em;
transition: transform 0.3s;
}
/* 開いているときの矢印 */
.qa-question.active::after {
transform: rotate(180deg);
}
.qa-answer {
padding: 15px;
background-color: #fff;
display: none; /* 初期状態では答えを隠す */
border-top: 1px solid #ddd;
}
/*ログインフォーム用のスタイルを追加*/
.login-form {
display: flex;
flex-direction: column; /* 要素を縦に並べる */
align-items: center; /* 中央揃え */
}
.login-form label {
font-weight: bold;
margin-bottom: 15px;
}
.login-form input[type="password"] {
width: 100%;
max-width: 300px;
padding: 10px;
border: 1px solid #ccc;
border-radius: 8px;
margin-bottom: 20px;
text-align: center;
}
.login-form .btn {
width: 100%;
max-width: 300px;
}
/* エラーメッセージ用のスタイルを追加*/
.error-message {
color: #A70028; /* チームカラーの赤 */
font-weight: bold;
margin-bottom: 15px;
}
p {
word-wrap: break-word;
}
hr {
border: none; /* 元の線をリセット */
border-top: 2px solid #333; /* 2pxの太さの黒い線 */
margin: 25px 0; /* 上下の余白を調整 */
}
/* ★★★ AI質問フォームのtextareaスタイルを追加 ★★★ */
.login-form textarea {
width: 100%;
max-width: 600px; /* 横幅を広くする */
min-height: 80px; /* 縦幅を広げる */
padding: 12px;
border: 1px solid #ccc;
border-radius: 8px;
margin-bottom: 20px;
font-size: 1em; /* フォントサイズを調整 */
resize: vertical; /* 縦方向のリサイズのみ許可 */
font-family: 'Noto Sans JP', sans-serif; /* フォントを統一 */
} |