* {
	/* ここを1pxにすることではみ出しをチェックできる */
  box-sizing: border-box; 
  border: 0px solid Magenta;
}

/* ==========================================================================
   基本設定 (Variables & Base Styles)
   ========================================================================== */
:root {
    --primary-color: #0066FF;
    --primary-color-light: #534bae;
    --light-bg: #f5f5f5;
    --white: #ffffff;
    --text-color: #333;
    --border-color: #e0e0e0;
    --danger-color: #d32f2f;
}

body {
    font-family: "BIZ UDPGothic", sans-serif; /* NOTE: フォント指定をbodyに集約 */
    margin: 0;
    
    background-color: var(--white);
    
    color: var(--text-color);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}


a {
    color: var(--primary-color);
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}

hr {
    border: none;
    border-top: 0px solid var(--border-color);
    margin: 2rem 0;
}


/* ==========================================================================
   共通コンポーネント (Header, Footer, Forms, Buttons, etc.)
   ========================================================================== */

/* ヘッダー & フッター */
/*  20251008 
.site-header {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 0.5em 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
*/

.main-content {
    min-width: 0;
}

.main-content h1{
	font-family: "Zen Maru Gothic", sans-serif;
	font-weight:bold;
	position: relative;
	color: var(--primary-color);
	line-height: 1.4;
  -webkit-box-reflect: below -10px -webkit-linear-gradient(top,rgba(0,0,0,0),rgba(0,0,0,0) 10%,rgba(0, 0, 0, 0.3));

}

/* style.css のヘッダー部分をこれで置き換える */

/* ヘッダー & フッター */
.site-header {
    
    /*
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3e%3cpath fill='%231a237e' fill-opacity='1' d='M0,64L34.3,80C68.6,96,137,128,206,117.3C274.3,107,343,53,411,69.3C480,85,549,171,617,181.3C685.7,192,754,128,823,106.7C891.4,85,960,107,1029,101.3C1097.1,96,1166,64,1234,64C1302.9,64,1371,96,1406,112L1440,128L1440,0L1405.7,0C1371.4,0,1303,0,1234,0C1165.7,0,1097,0,1029,0C960,0,891,0,823,0C754.3,0,686,0,617,0C548.6,0,480,0,411,0C342.9,0,274,0,206,0C137.1,0,69,0,34,0L0,0Z'%3e%3c/path%3e%3c/svg%3e");
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3e%3cpath fill='%231a237e' fill-opacity='1' d='M0,256L34.3,266.7C68.6,277,137,299,206,261.3C274.3,224,343,128,411,106.7C480,85,549,139,617,154.7C685.7,171,754,149,823,160C891.4,171,960,213,1029,202.7C1097.1,192,1166,128,1234,122.7C1302.9,117,1371,171,1406,197.3L1440,224L1440,0L1405.7,0C1371.4,0,1303,0,1234,0C1165.7,0,1097,0,1029,0C960,0,891,0,823,0C754.3,0,686,0,617,0C548.6,0,480,0,411,0C342.9,0,274,0,206,0C137.1,0,69,0,34,0L0,0Z'%3e%3c/path%3e%3c/svg%3e");
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3e%3cpath fill='%231a237e' fill-opacity='1' d='M0,224L34.3,213.3C68.6,203,137,181,206,154.7C274.3,128,343,96,411,74.7C480,53,549,43,617,37.3C685.7,32,754,32,823,58.7C891.4,85,960,139,1029,154.7C1097.1,171,1166,149,1234,128C1302.9,107,1371,85,1406,74.7L1440,64L1440,0L1405.7,0C1371.4,0,1303,0,1234,0C1165.7,0,1097,0,1029,0C960,0,891,0,823,0C754.3,0,686,0,617,0C548.6,0,480,0,411,0C342.9,0,274,0,206,0C137.1,0,69,0,34,0L0,0Z'%3e%3c/path%3e%3c/svg%3e");
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3e%3cpath fill='%231a237e' fill-opacity='1' d='M0,160L48,160C96,160,192,160,288,170.7C384,181,480,203,576,197.3C672,192,768,160,864,165.3C960,171,1056,213,1152,213.3C1248,213,1344,171,1392,149.3L1440,128L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z'%3e%3c/path%3e%3c/svg%3e");
    */
    /*ヘッダーの波線背景　https://getwaves.io/　ここで作成する　*/
    background-image: url("/image/wave-haikei_01.svg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center top;
    color: var(--white);
    padding: 0rem 0 5rem; /* 波形が見えるように下の余白を増やします */
    box-shadow: 0 2px 4px rgba(0,0,0,0.0);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start; /* ロゴなどを上揃えにします */
}

.site-logo {
    font-family: "Fascinate Inline", system-ui;
    color: var(--white);
    text-decoration: none;
    font-size: 2em;
    font-weight: bold;
}
.main-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
}
.main-nav li a {
    color: var(--white);
    text-decoration: none;
    margin-left: 20px;
    transition: opacity 0.2s;
}
.main-nav li a:hover {
    opacity: 0.8;
    text-decoration: none;
}
.site-footer {
    background-image: url("/image/wave-haikei_footer.svg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center bottom;
    text-align: center;
    font-size: 0.8em;
    padding: 3rem 0;
}


/* フォーム & コンテンツボックス */
.content-box,
.form-container {
    background: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    margin: 2rem auto;
}
.form-container.loginarea {
    width: 70vw;
    max-width: 480px;
}
.form-group {
    margin-bottom: 1.5rem;
}
.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    font-size: 0.9rem;
}
/* NOTE: セレクタを修正 */
.form-group select,
.form-group textarea,
.form-group input {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 1rem;
    box-sizing: border-box;
}
.form-group input[type="radio"],
.form-group input[type="checkbox"] {
    width: auto;
}
.loginbox input {
    width: 100%;
}
.input-disabled {
    background-color: #f0f0f0;
}

/* ボタン */
.btn {
    display: inline-block;
    background: var(--primary-color);
    color: var(--white);
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: bold;
    text-decoration: none;
    text-align: center;
}
.btn:hover {
    background-color: var(--primary-color-light);
    text-decoration: none;
}
.btn-danger { background-color: var(--danger-color); }
.btn-danger:hover { background-color: #c62828; }
.btn-small { padding: 0.25em 0.5em; font-size: 0.9rem; }
.btn-large { padding: 1rem 2rem; }
.btn-pdf{background: none !important;color: var(--primary-color-light); font-size:1.8em; margin:0; padding:0 !important;}

/* ==========================================================================
   レイアウト & モジュール (Layout & Modules)
   ========================================================================== */

/* レイアウト */
.page-header { display: flex; justify-content: space-between; align-items: center; }
.dashboard-grid { display: grid; grid-template-columns: 220px 1fr; gap: 30px; }
.sidebar nav ul { list-style: none; padding: 0; margin: 0; }
.sidebar nav li a { display: block; padding: 10px 15px; text-decoration: none; color: #444; border-radius: 6px; margin-bottom: 5px; }
.sidebar nav li a:hover { background-color: #e8eaf6; text-decoration: none; }
.grid-2-col { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }

/* テーブル */
.table-container { height: 65vh; overflow: auto; border: 1px solid var(--border-color); font-size: 12px; max-width: 100%; }
.data-table { width: 100%; min-width: 1200px; border-collapse: collapse; }
.data-table thead { position: sticky; top: 0; background-color: #f4f6f9; z-index: 1; }
.data-table th { padding: 0.25em 0.5em; border-bottom: 2px solid #ddd; text-align: left; }
.data-table td { padding: 0.25em 0.5em; border-bottom: 1px solid #eee; white-space: nowrap; }
.data-table td.wrap{
	white-space: nowrap;
	word-break: break-all;
	line-height:1em;
	padding:0;
}
.data-table th a { text-decoration: none; color: inherit; }
.data-table .text-right { text-align: right; }


/*types.php 生き物登録一覧*/
.table-container-auto {
    height: auto;
    max-height: 65vh; /* データが多くなった場合に備え、最大値だけ設定しておく */
    width:auto;
}

/* テーブルの最小幅を解除し、コンテンツ幅に合わせるためのクラス */
.data-table-fit-content {
    min-width: 0;
    width: 100%; /* 全体の幅は親要素に合わせる */
}

/* 「操作」列など、幅を最小限にしたい列に適用するクラス */
.table-actions-column {
    width: 1%;
    white-space: nowrap;
}

/* カード */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 20px; }
.card-link { text-decoration: none; color: inherit; display: block; }
.card { border: 1px solid var(--border-color); border-radius: 8px; padding: 1rem; background: var(--white); height: 100%; box-sizing: border-box; transition: box-shadow 0.2s; }
.card:hover { box-shadow: 0 4px 10px rgba(0,0,0,0.1); }
.card-image { width: 100%; height: 150px; object-fit: cover; border-radius: 4px; }
.card-image-placeholder { width: 100%; height: 150px; background: #eee; display:flex; align-items:center; justify-content:center; border-radius: 4px; color: #999; }
.card h3 { margin: 0.5rem 0; }
.card p { margin: 0.2rem 0; font-size: 0.9rem; }

/* グラフ */
.chart-container { position: relative; height: 40vh; width: 100%; margin-bottom: 2rem; }
#chart-controls { margin-bottom: 1rem; display: flex; flex-wrap: wrap; gap: 15px; } /* NOTE: chart-controlsにもflexを追加 */
#chart-controls label { font-size: 0.9rem; }


/* ==========================================================================
   ページ・ウィジェット特化スタイル (Page-specific & Widgets)
   ========================================================================== */

/* dashboard.php */
.dashboard-widgets-grid { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 20px; }
.dashboard-widgets-grid > .content-box {
    margin: 0;
}
/* デフォルトではアイコンを非表示 */
.btn-icon {
    display: none;
}

.widget-list-item { display: flex; justify-content: space-between; align-items: center; padding: 10px; border-bottom: 1px solid var(--border-color); }
.widget-form { font-size: 0.9em; }
.widget-form-link { font-size: 0.8em; margin-left: 10px; }
.widget-list-item-sm { border-bottom: 1px solid #eee; padding-bottom: 5px; margin-bottom: 5px; }
.card-grid-small { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.widget-card { padding: 0.5rem; }
.card-image-sm, .card-image-placeholder-sm { height: 100px; }
.widget-card-title { margin: 0.5rem 0; font-size: 1rem; }

/* view_data.php */
.tank-select-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 15px; }
.tank-card { border: 2px solid var(--border-color); border-radius: 8px; padding: 10px; text-align: center; transition: all 0.2s; }
.tank-card:hover { border-color: var(--primary-color-light); }
.tank-card.active { border-color: var(--primary-color); background-color: #e8eaf6; box-shadow: 0 2px 5px rgba(0,0,0,0.1); }
.tank-card img, .tank-card .placeholder { width: 100%; height: 100px; object-fit: cover; border-radius: 4px; }
.view-data-table-container { height: 40vh; }
.view-data-table { min-width: 800px; }
.journal-entry { margin-bottom: 1.5rem; border-bottom: 1px solid #ddd; padding-bottom: 1.5rem; }
.journal-main-image { max-width: 480px; width: 100%; height: auto; border-radius: 5px; margin: 1rem 0; }
.journal-other-images { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 1rem; }
.journal-other-images img { width: 100%; height: auto; border-radius: 5px; }

/* feeds.php */
.drag-drop-area { border: 2px dashed #ccc; padding: 20px; text-align: center; cursor: pointer; }
.drag-drop-area.dragover { border-color: blue; }
.image-preview { max-width: 100%; max-height: 200px; margin-top: 10px; }
.table-image-thumb { width: 60px; height: 60px; object-fit: cover; }

/* profile.php */
.avatar-image { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; margin-bottom: 10px; }

/* tank_details.php & その他計算 */
.image-preview-small { height: auto; width: 100px; }
.image-preview-medium { max-width: 200px; height: auto; }
.calc-input-small { width: 80px; }
.history-list-item { display: flex; justify-content: space-between; align-items: center; padding: 0.5rem 0; border-bottom: 1px solid var(--border-color); }
.history-list-item-text small { display: block; color: #777; }

/* log_entry.php */
.log-entry-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 1rem 2rem; }
.log-entry-grid .form-group span { margin-left: 5px; }
.collapsible-section { background: #f9f9f9; padding: 1rem; border-radius: 5px; }
.journal-form-section { border: 1px solid #ddd; padding: 1.5rem; border-radius: 5px; }
.log-entry-tank-select .tank-card-radio { display: none; }
.log-entry-tank-select .tank-card-label { border: 2px solid var(--border-color); border-radius: 8px; padding: 10px; text-align: center; cursor: pointer; transition: all 0.2s; }
.log-entry-tank-select .tank-card-label:hover { border-color: var(--primary-color-light); }
.log-entry-tank-select .tank-card-radio:checked + .tank-card-label { border-color: var(--primary-color); background-color: #e8eaf6; box-shadow: 0 2px 5px rgba(0,0,0,0.1); }
.help-icon { display: inline-block; width: 16px; height: 16px; background-color: #777; color: white; border-radius: 50%; text-align: center; font-size: 12px; line-height: 16px; cursor: pointer; user-select: none; }
.popup { display: none; position: absolute; background-color: #333; color: white; padding: 15px; border-radius: 5px; z-index: 100; max-width: 300px; font-size: 0.9rem; }

.log-entry-tank-select .tank-card-label img {
    width: 100%;
    height: 100px;
    object-fit: contain; /* containに変更 */
    border-radius: 4px;
}


.sidebar nav li a i {
	margin-right: 8px;
	
}

.sidebar nav li i{
	color: var(--primary-color);

}


/* mailse.php */
.terms-iframe { width: 100%; height: 150px; border: 1px solid var(--border-color); border-radius: 4px; }


/* style.cssに追記 */

/* --- アクセスログ検索フォーム --- */
.search-form-container {
    background-color: #f8f9fa;
    border: 1px solid var(--border-color);
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}
.search-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr; /* 1列レイアウトに変更 */
    gap: 1rem 2rem;
}
.search-form-grid .form-group {
    margin-bottom: 0;
}
.search-form-buttons {
    grid-column: 1 / -1; /* ボタンを全幅に */
    display: flex;
    gap: 10px;
    margin-top: 1rem;
}


/* ==========================================================================
   汎用ユーティリティクラス (Helpers & Utilities)
   ========================================================================== */
.hidden { display: none; }
.list-unstyled { list-style: none; padding: 0; margin: 0; }

/* NOTE: 汎用クラスを整理・統合 */
.d-flex { display: flex; }
.form-inline { display: inline; }
.form-inline-block { display: inline-block; }
.form-full-width { margin: 0; max-width: 100%; }
.text-truncate { margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Spacing */
.m-0 { margin: 0; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-half { margin-top: 0.5rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-half { margin-bottom: 0.5rem; }
.gap-10 { gap: 10px; }

/* Font Size */
.font-sm { font-size: 0.8em; }
.font-md { font-size: 0.9em; }


/* style.css の修正箇所 */

/* 新しい水槽登録フォーム */
.tank-form-grid {
    display: grid;
    gap: 20px 40px;
    grid-template-columns: 1fr 1fr;
}
/* full-widthクラスを持つ要素とボタンを2カラム幅にする */
.tank-form-grid .form-group.full-width,
.tank-form-grid button[type="submit"] {
    grid-column: 1 / -1; /* 全てのカラムにまたがる指定 */
}
.tank-form-grid .volume-input-group {
    display: flex;
    align-items: center;
}
.tank-form-grid .volume-input-group input {
    flex-grow: 1;
}
.tank-form-grid .volume-input-group select {
    width: auto;
    margin-left: 10px;
}

/* tank_details.php: 計算フォーム */
.calc-form-group {
    display: flex;
    align-items: center;
    gap: 10px;
}
.calc-form-group span {
    flex-shrink: 0; /* テキストが縮まないようにする */
}
.calc-form-group input,
.calc-form-group select {
    flex-grow: 1; /* 入力欄を均等に広げる */
    width: 100%; /* 幅の基準 */
}

/* ==========================================================================
   ハンバーガーメニュー & モバイル用サイドバー
   ========================================================================== */

/* --- デスクトップではハンバーガーを非表示 --- */
.hamburger-menu {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001; /* サイドバーより手前に表示 */
}
.hamburger-line {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--white);
    margin: 5px 0;
    transition: all 0.3s ease-in-out;
}

/* --- メニュー展開時に背景を暗くするオーバーレイ --- */
#menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
}





/* ==========================================================================
   Modal (Popup) Styles
   ========================================================================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.modal-overlay.hidden {
    display: none;
}

.modal-content {
    background: var(--white);
    padding: 2rem;
    border-radius: 8px;
    max-width: 500px;
    width: 90%;
    position: relative;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.modal-close {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: #aaa;
}
.modal-close:hover {
    color: #333;
}

tr.clickable-row {
    cursor: pointer;
}
tr.clickable-row:hover {
    background-color: #f0f0f0;
}


/* --- 通知エリア --- */
.notification-area {
    background: #fff3cd;
    border: 1px solid #ffeeba;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 2rem;
}
.notification-area h3 {
    margin-top: 0;
    font-size: 1.2rem;
    color: #856404;
}
.notification-item {
    display: block;
    padding: 0.5rem;
    background: #fff;
    border-radius: 4px;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.2s;
}
.notification-item:hover {
    background-color: #f8f9fa;
    text-decoration: none;
}
.notification-item:last-child {
    margin-bottom: 0;
}

/* style.css に追記 */

/* --- 天気予報ウィジェット --- */
.weather-widget {
    margin-bottom: 1.5rem;
}
.weather-table {
    width: 100%;
    border-collapse: collapse;
    text-align: center;
    font-size: 0.8rem;
}
.weather-table th, .weather-table td {
    padding: 0.25rem;
    border: 1px solid var(--border-color);
}
.weather-table img {
    display: block;
    margin: 0 auto;
    width: 40px;
    height: 40px;
}
.weather-temp {
    white-space: nowrap;
}
.temp-max {
    color: var(--danger-color);
    font-weight: bold;
}
.temp-min {
    color: var(--primary-color);
    font-weight: bold;
}

/* --- リマインダーの曜日選択を横並びにする --- */
#recurrence-weekly > div {
    display: flex;
    flex-wrap: wrap;
    gap: 15px; /* 各曜日の間隔 */
}


/* tank_details.php の生き物一覧セクションのマージンを調整 */
section.content-box.creature-list-section {
    margin: 0;
}


/* --- ポップアップ内の詳細テーブル --- */
.modal-details-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}
.modal-details-table td {
    padding: 8px;
    border-bottom: 1px solid var(--border-color);
    vertical-align: top;
}
.modal-details-table td:first-child {
    font-weight: bold;
    width: 100px; /* 見出し列の幅を固定 */
    white-space: nowrap;
}


/* ==========================================================================
   レスポンシブデザイン (スマホ用)
   ========================================================================== */
@media (max-width: 768px) {
    .dashboard-grid {
        display: block; /* NOTE: Gridレイアウトを解除 */
    }

    /* --- ハンバーガーメニューを表示 --- */
    .hamburger-menu {
        display: block;
    }

    /* --- デスクトップ用のメインナビゲーションを非表示に --- */
    .main-nav {
        display: none;
    }
    
    /* --- サイドバーの初期状態（画面外に隠す） --- */
    .sidebar {
        position: fixed;
        top: 0;
        left: 0;
        height: 100%;
        width: 250px;
        background-color: var(--white);
        z-index: 1000;
        transform: translateX(-100%);
        transition: transform 0.3s ease-in-out;
        padding-top: 60px; /* ヘッダーと重ならないように調整 */
        box-shadow: 2px 0 5px rgba(0,0,0,0.2);
    }
    .sidebar nav li a {
        color: var(--text-color); /* 文字色を黒に */
    }

    /* --- メニューが開いた時のスタイル --- */
    body.sidebar-open .sidebar {
        transform: translateX(0); /* サイドバーを画面内に表示 */
    }
    body.sidebar-open #menu-overlay {
        display: block; /* オーバーレイを表示 */
    }
    
    /* --- ハンバーガーアイコンを「×」印に変化させる --- */
    body.sidebar-open .hamburger-line:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    body.sidebar-open .hamburger-line:nth-child(2) {
        opacity: 0;
    }
    body.sidebar-open .hamburger-line:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    /* ヘッダー & フッター */
    .dashboard-grid,
    .grid-2-col,
    .tank-form-grid {
        grid-template-columns: 1fr;
    }
    
    .site-header {
    background-image: url("/image/wave-haikei_mb.svg");
    padding: 0rem 0 0rem; /* 波形が見えるように下の余白を増やします */
    background-position: center bottom;
    color: var(--primary-color);
    
    }
    
    .site-footer {
    /*
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center bottom;
    text-align: center;
    font-size: 0.8em;
    */
    background-image: url("/image/wave-haikei_footer_2_mb.svg");
    padding: 0rem 0;
    color:white;
    }
    
    .main-content h1{
	text-align:center;
	color: var(--primary-color);
	border: solid 3px var(--primary-color);
  	padding: 0.3em 0.2em;
  	margin:0;
  	border-radius: 0.5em;
  -webkit-box-reflect: below -10px -webkit-linear-gradient(top,rgba(0,0,0,0),rgba(0,0,0,0) 10%,rgba(0, 0, 0, 0.0));
  	}
    

    /*
    .header-container {
        flex-direction: column;
        gap: 10px;
    }
    */
    .tank-form-grid .form-group:nth-of-type(n),
    .tank-form-grid button[type="submit"] {
        grid-area: auto;
        grid-column: auto;
    }
    
    /* 編集ボタンのテキストを非表示にする */
    .btn-edit-icon .btn-text {
        display: none;
        padding:0;
    }

    /* 編集ボタンのアイコンを表示する */
    .btn-edit-icon .btn-icon {
        display: inline-block; /* アイコンを表示 */
        font-size: 1.5rem;   /* アイコンの大きさを少し調整 */
        padding:0;
    }
    
    /* --- テーブルの最小幅を解除 --- */
    .data-table {
        min-width: 0;
    }

    /* --- 天気予報ウィジェットを横スクロール --- */
    .weather-widget {
        overflow-x: scroll;
        width:70vw;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
    }
    
    
}


