body {
    font-family: 'Noto Sans JP', sans-serif;
    margin: 0;
    background-color: #f0f4f8; /* 明るい背景色 */
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
    background-color: #fff;
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
    border-radius: 8px;
}

header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #005bac; /* 万博公式の青系 */
}

.logo-placeholder {
    margin-bottom: 15px;
}

.expo-logo {
    max-height: 150px;
    width: auto;
}

header h1 {
    color: #005bac; /* 万博公式の青系 */
    margin-bottom: 5px;
    font-weight: 700;
}

.subtitle {
    font-size: 0.9em;
    color: #555;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
}

.form-group label .required {
    color: #d9534f; /* 赤系の必須マーク */
    font-weight: bold;
    margin-left: 4px;
}

.label-note {
    font-size: 0.85em;
    color: #777;
    font-weight: 400;
}

input[type="text"],
input[type="date"],
select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    box-sizing: border-box;
    font-size: 1em;
    transition: border-color 0.3s;
}

input[type="text"]:focus,
input[type="date"]:focus,
select:focus {
    border-color: #007bff; /* フォーカス時の青 */
    outline: none;
}

.action-button {
    background-color: #007bff; /* 万博の青を基調に */
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1.05em;
    font-weight: 500;
    transition: background-color 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.action-button:hover {
    background-color: #0056b3; /* 少し濃い青 */
}

.action-button svg {
    margin-right: 5px;
}


.output-url {
    margin-top: 30px;
}

.output-url h2 {
    color: #005bac;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
    margin-bottom: 15px;
}

.url-display-container {
    display: flex;
    gap: 10px;
    align-items: stretch; /* textareaとbuttonの高さを揃える */
}

#generated-url {
    width: calc(100% - 110px); /* ボタンの幅を考慮 */
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 0.95em;
    background-color: #f9f9f9;
    resize: none; /* ユーザーによるリサイズを無効化 */
    box-sizing: border-box;
}

.copy-button {
    width: 100px; /* 固定幅 */
    background-color: #28a745; /* 緑系のコピーボタン */
}

.copy-button:hover {
    background-color: #1e7e34;
}

.copy-status {
    margin-top: 8px;
    font-size: 0.9em;
    color: #28a745;
    height: 1em; /* メッセージ表示領域確保 */
}

footer {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    font-size: 0.85em;
    color: #777;
}

/* レスポンシブ対応 */
@media (max-width: 600px) {
    .container {
        margin: 10px;
        padding: 15px;
    }

    .url-display-container {
        flex-direction: column;
    }

    #generated-url {
        width: 100%;
        margin-bottom: 10px;
    }

    .copy-button {
        width: 100%;
    }

    header h1 {
        font-size: 1.8em;
    }
}