body {
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(135deg, #f4f4f4, #e0e0e0);
    display: flex;
    justify-content: center;
    align-items: flex-start;
    height: 100vh;
    margin: 0;
    padding: 0;
}

.container {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
    margin-top: 20px;
}

.hidden {
    display: none;
}

h2 {
    text-align: center;
    color: #333;
}

form {
    display: flex;
    flex-direction: column;
}

input {
    margin: 10px 0;
    padding: 15px;
    font-size: 16px;
    border-radius: 5px;
    border: 1px solid #ddd;
    transition: border-color 0.3s;
}

input:focus {
    border-color: #007BFF;
}

button {
    padding: 15px;
    background: #007BFF;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    margin-top: 10px;
    transition: background 0.3s;
}

button:hover {
    background: #0056b3;
}

p {
    text-align: center;
    color: #666;
}

a {
    color: #007BFF;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
    font-size: 14px; /* Reduce font size */
}

th, td {
    border: 1px solid #ddd;
    padding: 5px; /* Reduce padding */
    text-align: center;
    color: #333;
}

th {
    background-color: #f2f2f2;
}

tr:nth-child(even) {
    background-color: #f9f9f9;
}

ul {
    list-style: none;
    padding: 0;
}

ul li {
    margin: 10px 0;
}

ul li a {
    font-size: 18px;
}

#socialShare {
    display: flex;
    justify-content: space-around;
    margin-top: 20px;
}

#socialShare a {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    border-radius: 50%;
    color: white;
    text-decoration: none;
    margin: 0 10px;
    font-size: 20px;
    transition: opacity 0.3s;
    background-color: #007BFF; /* アイコンの背景色 */
}

#socialShare a:hover {
    opacity: 0.7;
}

#qrcode-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
}

#qrcode {
    margin-left: 10px; /* QRコードと画像の間に余白を追加 */
}

#rf-image {
    width: 150px;
    height: 150px;
}

.application-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    margin-top: 20px;
}

.application-item {
    width: 200px;
    text-align: center;
    margin-bottom: 20px;
}

.application-item img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.application-item p {
    margin-top: 10px;
    color: #333;
}

/* Styles for the history table with two-row entries */
#history-table {
    font-size: 14px; /* Smaller font size */
}

#history-table th, #history-table td {
    border: 1px solid #ddd;
    padding: 4px;
    text-align: center;
    color: #333;
}

#history-table th {
    background-color: #f2f2f2;
}

#history-table tr:nth-child(4n+1) {
    background-color: yellow;
}
#history-table tr:nth-child(4n+2) {
    background-color: yellow;
}

#history-table tr:nth-child(4n+3) {
    background-color: white;
}
#history-table tr:nth-child(4n+4) {
    background-color: white;
}


#detail-info {
    text-align: center;
    margin-bottom: 20px;
    font-size: 1.2em;
}

.detail-item {
    margin: 5px 0;
    font-weight: bold;
    color: #333;
}


#detail-info {
    text-align: left; /* 中央揃えから左揃えに変更 */
    margin-bottom: 20px;
    font-size: 1.2em;
    padding-left: 10px; /* 左側に少し余白を追加 */
}

.detail-item {
    margin: 5px 0;
    font-weight: bold;
    color: #333;
    display: flex;
    align-items: center;
}

.material-icons {
    font-size: 1.5em;
    vertical-align: middle;
    margin-right: 8px;
    color: #666;
}

ul li {
    margin: 10px 0;
    font-size: 18px;
}

ul li a {
    display: flex;
    align-items: center;
    color: #333;
    text-decoration: none;
    padding: 10px;
    border-radius: 5px;
    transition: background 0.3s, color 0.3s;
}

ul li a i {
    margin-right: 10px;
    font-size: 20px;
}

ul li a:hover {
    background: #007BFF;
    color: #fff;
}

ul li a:hover i {
    color: #fff;
}

.reviewContainer {
    margin-bottom: 10px; /* コンテナ間のスペースを狭くする */
    text-align: center;  /* コンテナ内の要素をセンタリング */
}

.reviewImage {
    width: 100%;
    max-width: 300px;
    margin: 5px 0; /* 画像の上下のスペースを狭くする */
    border: 1px solid #ccc;
    border-radius: 4px;
}

.reviewAnswer {
    font-size: 1em;
    color: #333;
    margin-bottom: 0px; /* 解答と画像の間のスペースを狭くする */
}

