/* 基本リセットとフォント設定 */
body {
    font-family: 'Hiragino Kaku Gothic ProN', 'Meiryo', sans-serif; /* 適切なフォントを指定 */
    background-color: #fff5ee; 
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction : column;
    min-height: 100vh;
}

.container {
    background-color: white;
    width: 90%; /* 幅を調整 */
    max-width: 800px; /* 最大幅を設定*/
    margin: 30px auto;/*中央寄せ*/
    padding: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

.lbutton{
    position: relative;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.link-btn{
    text-decoration: none;
    background-color: #286C13;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 18px;
    font-weight: bold;
    transition: background-color 0.3s;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.link-btn:hover {
    background-color: #D1AA7C;
}

/* ヘッダーセクション */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #eee;
 
}


.logo {
    margin: 0 0 0 20px;
}

.logo img {
    height: 100px; 
    width: auto; 
}

.form{
    margin:0 0 0 30px;
}

.form img{
    height:100px;
    width:auto;
}

.nav-button {
    position: relative;
    display: flex;
    align-items: center;
}

.view-screen-btn {
    text-decoration: none;
    background-color: #4CAF50;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 18px;
    font-weight: bold;
    transition: background-color 0.3s;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.view-screen-btn:hover {
    background-color: #45a049;
}

.cursor-icon {
    /* カーソルアイコンの代わりに矢印のような記号を使用 */
    font-size: 30px;
    position: absolute;
    right: -40px; /* ボタンの右側に配置 */
    color: #555;
    transform: rotate(45deg); /* 斜めにする */
}

.main{
    display:flex;
    gap:20px;
}

.main ul{
    flex:0 0 80%;
    margin: 0;
    padding: 0;
}



/* 説明セクション */
.description{
    display:flex;
    justify-content:space-between; 
    align-items:center;
    max-width: 800px;
    margin:0 auto;
    padding:10px
}
.description ul {
    flex:1;
    text-align: left;
    list-style: none; /* リストの点を非表示 */
    padding: 0;
}

.description li {
    font-size: 16px;
    margin-bottom: 10px;
    padding-left: 1.5em;
    text-indent: -1.5em; /* 1文字分のインデント */
}

.description li img{
    max-width: 20px;
    height : 20px;
    margin-right:5px;
    display: inline-block;
}


.form-container{
    display: flex;
    flex-direction: column;
    flex: 0 0 20%;
    align-items: center;
    text-align: center;
    flex-shrink: 0;
}

.form-title{
    font-size:18px;
    color:#f60a0a;
    margin-bottom: 10px;
    font-weight:bold;
}

.form-link{
    font-size:12px;
}



/* グラフ・リンクセクション */
.data-and-links {
    margin-top: 5px;
}

.charts {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
}

.chart-item {
    width: 48%; /* 2つのグラフを並べる */
    text-align: center;
}

.chart-item img {
    width: 100%;
    height: auto;
    border: 1px solid #ccc; /* グラフの枠線 */
    box-sizing: border-box;
}

.links {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.usage-link,
.login-link {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    text-decoration: none;
    padding: 5px 0;
    border-bottom: 2px solid transparent;
    transition: border-bottom 0.3s;
}

.usage-link {
    /* 「使い方」のスタイル調整 */
    color: #007bff;
}

.login-link {
    /* 「ログイン」のスタイル調整 */
    color: #ff5722; /* オレンジ色系 */
}

.usage-link:hover,
.login-link:hover {
    border-bottom-color: currentColor;
}

.site-footer {
    /* 背景と文字色の設定 */
    background-color: #f0f0f0; /* やや明るいグレー */
    color: #333; /* 濃い文字色 */
    padding: 30px 20px; /* 上下のパディング */
    margin-top: 50px; /* メインコンテンツとの間に十分なスペースを確保 */
    border-top: 1px solid #ddd; /* 上部に区切り線 */
}

.footer-content {
    max-width: 1000px; /* コンテンツの最大幅を制限 */
    margin: 0 auto; /* 中央揃え */
    text-align: center; /* コンテンツを中央に配置 */
}

/* 問い合わせセクションのスタイル */
.site-footer h3 {
    color: #0066cc; /* メインカラー（青など）で強調 */
    font-size: 1.4rem;
    margin-bottom: 10px;
    padding-bottom: 5px;
    border-bottom: 2px solid #0066cc; /* 見出しの下線 */
    display: inline-block; /* 下線の幅を見出しに合わせる */
}

/* 氏名と所属のスタイル */
.site-footer h4 {
    font-size: 1.1rem;
    font-weight: bold;
    margin-top: 15px; /* h3との間隔 */
    margin-bottom: 5px;
}

/* メールアドレスのスタイル */
.site-footer h5 {
    font-size: 1rem;
    margin-top: 0;
    margin-bottom: 20px;
}

/* --- 注意事項/データソース (pタグ) のスタイル --- */
.site-footer p {
    font-size: 0.85rem;
    line-height: 1.6;
    color: #666; /* やや薄い色で、メイン情報ではないことを示す */
    margin-top: 5px;
    margin-bottom: 5px;
}

/* レスポンシブ対応 (画面が狭い場合) */
@media (max-width: 600px) {
    .charts {
        flex-direction: column;
    }

    .chart-item {
        width: 100%;
        margin-bottom: 20px;
    }

    .links {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .usage-link,
    .login-link {
        margin-bottom: 15px;
    }
}