/* jsp_style.css */

/* 基本設定 */
body {
    font-family: 'Inter', 'Segoe UI', 'Roboto', 'Noto Sans JP', sans-serif; /* モダンなフォント */
    line-height: 1.6;
    color: #34495e; /* 濃いネイビーのテキスト */
    margin: 0;
    padding: 20px;
    background-color: #f4f6f9; /* 落ち着いた背景色 */
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
}

/* コンテナ */
.container {
    max-width: 800px;
    width: 100%;
    margin: auto;
    background: #ffffff;
    padding: 30px;
    border-radius: 12px; /* 丸みを帯びた角 */
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1); /* より深みのある影 */
    text-align: center;
    border: 1px solid #e9ecef; /* 薄いボーダー */
}

/* 見出し */
h1 {
    color: #4b6587; /* メインカラー */
    border-bottom: 2px solid #a3b1c6; /* アクセントカラーのアンダーライン */
    padding-bottom: 12px;
    margin-bottom: 25px;
    font-size: 2.5em;
    font-weight: 700; /* 太めのフォント */
}

h2 {
    color: #4b6587; /* メインカラー */
    margin-top: 30px;
    margin-bottom: 15px;
    font-size: 1.8em;
    font-weight: 600;
}

/* 段落 */
p {
    font-size: 1.05em;
    margin-bottom: 15px;
    color: #555;
}

/* リスト */
ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

ul li {
    background: #eef2f6; /* 明るい背景 */
    margin-bottom: 8px;
    padding: 12px 20px;
    border-radius: 8px;
    border-left: 5px solid #778ca3; /* アクセントカラーの左ボーダー */
    font-size: 1.0em;
    color: #444;
}

/* リンク */
.back-link {
    display: block;
    text-align: center;
    margin-top: 30px;
}

.back-link a {
    color: #4b6587; /* メインカラー */
    text-decoration: none;
    font-weight: bold;
    padding: 10px 20px;
    border: 2px solid #4b6587;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.back-link a:hover {
    background-color: #4b6587;
    color: white;
    box-shadow: 0 4px 10px rgba(75, 101, 135, 0.3);
}

/* フォーム関連 */
.chat-form {
    background-color: #fcfcfc; /* フォーム背景 */
    padding: 30px;
    border-radius: 12px;
    border: 1px solid #e9ecef;
    margin-top: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.chat-form label {
    display: block;
    margin-bottom: 10px;
    font-size: 1.05em;
    color: #4b6587; /* メインカラー */
    text-align: left;
}

.chat-form input[type="text"] {
    width: calc(100% - 24px); /* パディング分を調整 */
    padding: 12px;
    margin-top: 5px;
    border: 1px solid #c0c0c0;
    border-radius: 8px;
    font-size: 1em;
    box-sizing: border-box;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.chat-form input[type="text"]:focus {
    border-color: #778ca3; /* アクセントカラー */
    outline: none;
    box-shadow: 0 0 0 3px rgba(119, 140, 163, 0.25);
}

.chat-form input[type="submit"] {
    background-color: #4b6587; /* ボタン背景 - メインカラー */
    color: white;
    padding: 12px 35px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.1em;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.2s ease;
    margin-top: 25px;
    box-shadow: 0 4px 10px rgba(75, 101, 135, 0.2);
}

.chat-form input[type="submit"]:hover {
    background-color: #3d5069; /* ホバー時の色 */
    transform: translateY(-2px);
}

/* メッセージ表示 */
.info-message, .error-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 8px;
    font-weight: bold;
    font-size: 0.95em;
    text-align: left;
}

.info-message {
    background-color: #e6f7ff; /* 明るい青の背景 */
    border: 1px solid #99d9ff;
    color: #0056b3;
}

.error-message {
    background-color: #ffe6e6; /* 明るい赤の背景 */
    border: 1px solid #ff9999;
    color: #cc0000;
}

/* フッター */
.footer {
    margin-top: 40px;
    font-size: 0.85em;
    color: #777;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.footer a {
    color: #4b6587;
    text-decoration: none;
    font-weight: bold;
}

.footer a:hover {
    text-decoration: underline;
}

/* 特定の要素のスタイル調整 */
.important-note {
    background-color: #fff3cd; /* 警告色 */
    border: 1px solid #ffeeba;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-weight: bold;
    color: #856404;
    text-align: left;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 20px auto;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.note {
    font-size: 0.85em;
    color: #7f8c8d;
    text-align: center;
}

.faq-item {
    margin-bottom: 20px;
    padding: 15px;
    border: 1px solid #eef2f6;
    border-radius: 8px;
    background-color: #fcfcfc;
    box-shadow: 0 0 5px rgba(0,0,0,0.05);
    text-align: left;
}

.faq-item dt {
    font-weight: bold;
    color: #4b6587; /* メインカラーの質問 */
    margin-bottom: 5px;
    font-size: 1.1em;
}

.faq-item dd {
    margin-left: 20px;
    margin-bottom: 0;
    padding-bottom: 0;
    color: #444;
}

.spot-item, .item-list {
    margin-bottom: 25px;
    padding: 15px;
    border: 1px solid #eef2f6;
    border-radius: 8px;
    background-color: #fdfdfd;
    box-shadow: 0 1px 5px rgba(0,0,0,0.05);
    text-align: left;
}
.spot-item h3, .item-list h3 {
    color: #4b6587; /* メインカラー */
    margin-top: 0;
    font-size: 1.3em;
    border-bottom: 1px dashed #cfd8dc;
    padding-bottom: 8px;
    margin-bottom: 10px;
}
.spot-item p, .item-list p {
    margin-bottom: 5px;
    font-size: 0.95em;
    color: #666;
}

/* ナビゲーションバー */
.navigation-bar {
    background-color: #4b6587; /* メインカラー */
    padding: 10px;
    margin-bottom: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.navigation-bar ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.navigation-bar li {
    margin: 0 10px;
    background: transparent; /* 背景色を透明にして、親要素の色を適用 */
}

.navigation-bar a {
    color: white; /* リンクの文字色を白に変更 */
    text-decoration: none;
    padding: 10px 15px;
    border-radius: 6px;
    transition: background-color 0.3s, transform 0.2s;
}

.navigation-bar a:hover {
    background-color: #778ca3; /* ホバー時のアクセントカラー */
    transform: translateY(-1px);
}
