/* ベーススタイル */
:root {
  --main-bg: #fff;
  --accent-bg: #FFF7EA;
  --footer-bg: #ffffe0;
  --text-color: #333;
  --border-color: #ddd;
}

body {
  margin: 0;
  padding: 0;
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  color: var(--text-color);
  line-height: 1.6;
  text-align: center;
}

/* ...（中略：先ほどのCSSをすべてここに貼り付けます）... */
#navArea nav {
      position: fixed;
      top: 0;
      left: -280px;
      width: 280px;
      height: 100%;
      background: #fff;
      overflow-y: auto;
      transition: transform .4s ease;
      z-index: 1000;
      text-align: left;
      box-shadow: 2px 0 5px rgba(0,0,0,0.1);
    }
    .open nav { transform: translateX(280px); }

    nav ul { list-style: none; padding: 0; margin: 0; }
    nav li { border-bottom: 1px solid #eee; }
    nav a { display: block; padding: 1.2em; text-decoration: none; color: var(--text-color); font-weight: bold; }
    nav a:hover { background: #f9f9f9; }

    /* ハンバーガーボタン */
/* ボタン全体を画面右上に固定 */
.toggle_btn {
  position: fixed;    /* 画面に対して固定 */
  top: 15px;          /* 上からの距離（お好みで調整） */
  right: 15px;        /* 右からの距離（お好みで調整） */
  z-index: 9999;      /* 他の要素（画像や地図）より必ず上に表示 */
  
  /* ボタンの見た目 */
  width: 60px;
  height: 60px;
  background-color: rgba(255, 255, 255, 0.9); /* 背景を白くして見やすく */
  border: 1px solid #ccc;
  border-radius: 5px;
  cursor: pointer;

  /* 中身（三本線と文字）を縦に並べる */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* 三本線の設定（現状のスタイルを維持しつつ調整） */
.toggle_btn span {
  display: block;
  width: 30px;
  height: 2px;
  background-color: #333;
  margin-bottom: 5px; /* 線同士の間隔 */
  transition: all 0.3s;
}

/* 最後の線のマージンを消す */
.toggle_btn span:nth-child(3) {
  margin-bottom: 2px;
}

/* 下に入れる文字の設定 */
.toggle_btn::after {
  content: "MENU"; /* 表示する文字 */
  display: block;
  font-size: 10px;
  font-weight: bold;
  color: #333;
  margin-top: 2px;
}

/* --- メニューが開いている時（#navAreaにopenクラスがある時） --- */
#navArea.open .toggle_btn::after {
  content: "CLOSE"; /* 文字を切り替え */
  color: #d93025;   /* 閉じることが直感的に伝わるよう赤系にするのがおすすめ */
}

    .open .toggle_btn span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .open .toggle_btn span:nth-child(2) { opacity: 0; }
    .open .toggle_btn span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

    /* マスク背景 */
    #mask {
      display: none;
      position: fixed;
      inset: 0;
      background: rgba(0,0,0,.6);
      z-index: 900;
    }
    .open #mask { display: block; }

    /* コンテンツエリア */
    .image-box { margin-bottom: 40px; }
    .image-box img { max-width: 100%; height: auto; }
    .image-box p { margin-top: 10px; font-weight: bold; }

    .news { background: var(--accent-bg); padding: 60px 20px; }
    .inner { max-width: 800px; margin: auto; background: #fff; padding: 30px; border-radius: 8px; box-shadow: 0 2px 10px rgba(0,0,0,0.05); }
    h2 { border-bottom: 2px solid #666; display: inline-block; padding-bottom: 5px; margin-bottom: 30px; }

    .news_list { list-style: none; padding: 0; text-align: left; }
    .news_list_item { border-bottom: 1px solid var(--border-color); }
    .news_list_item a {
      text-decoration: none;
      color: var(--text-color);
      padding: 15px 5px;
      display: flex;
      flex-wrap: wrap;
      justify-content: space-between;
    }
    .news_list_item a:hover { background: #fafafa; }
    .date { color: #888; margin-right: 15px; font-size: 0.9em; }

   /* コンテナ全体の整列 */
.Contents {
    padding: 40px 20px;
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    color: #333;
}

/* タイトルの装飾（任意） */
.Contents h2 {
    margin-bottom: 10px;
    font-weight: bold;
    letter-spacing: 0.05em;
}

/* 説明文のスタイル */
.Contents p {
    color: #666;
    margin-bottom: 30px;
}

/* コンテンツ内のテーブルを中央に寄せる */
.Contents table {
    margin-left: auto;
    margin-right: auto;
    border-collapse: collapse;
    border: none;
    box-shadow: none; /* もし共通のtableスタイルで影がついているなら消す */
}

.Contents td {
    border: none;    /* 枠線を消してスッキリさせる */
    padding: 20px;
}

/* --- サムネイルのスタイル（修正版） --- */
.thumbnail {
    display: block;
    width: 200px;       /* ★ここをお好みの横幅（200px〜300px程度）に変更してください */
    max-width: 100%;    /* スマホで画面からはみ出さないための保険 */
    height: auto;       /* 比率を維持 */
    margin: 0 auto;     /* 中央寄せ */
    
    /* 既存の装飾スタイル */
    border: 1px solid #eee;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* リンクの青枠消去 */
.Contents a {
    text-decoration: none;
    outline: none;
} 
    /* エリアマップ */
    .responsive-img {
      max-width: 100%; /* 親要素の幅を超えないようにする */
      height: auto;    /* アスペクト比を維持 */
      display: block;  /* 下部の余計な隙間を排除 */
      margin: 0 auto;  /* 中央寄せ（必要に応じて） */
    }
/* 全体の調整 */
main {
  max-width: 600px; /* 表が広がりすぎないよう制限 */
  margin: 40px auto;
  padding: 0 20px;
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  color: #333;
}

h2 {
  text-align: center;
  font-size: 1.6rem;
  margin-bottom: 40px;
  color: #2c3e50;
  border-bottom: 2px solid #eee;
  padding-bottom: 15px;
}

/* テーブル全体のスタイル */
table {
  width: 100% !important; /* HTMLの300px指定を上書きしてレスポンシブ化 */
  border-collapse: collapse;
  margin-bottom: 40px;
  background-color: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  border-radius: 8px;
  overflow: hidden; /* 角丸を反映させる */
}

caption {
  font-size: 1.1rem;
  font-weight: bold;
  margin-bottom: 12px;
  text-align: left;
  color: #2c3e50;
  padding-left: 5px;
  border-left: 4px solid #007bff; /* 青いアクセント線 */
}

/* ヘッダー(TH)の装飾 */
th {
  background-color: #f8f9fa;
  color: #555;
  font-weight: 600;
  padding: 12px;
  border-bottom: 2px solid #dee2e6;
  text-align: center;
  font-size: 0.95rem;
}

/* セル(TD)の装飾 */
td {
  padding: 12px 15px;
  border-bottom: 1px solid #eee;
  text-align: center;
  font-size: 1rem;
  line-height: 1.5;
}

/* 1行おきに背景色をつけて読みやすくする */
tbody tr:nth-child(even) {
  background-color: #fafafa;
}

/* ホバー時に行をハイライト */
tbody tr:hover {
  background-color: #f1f7ff;
}

/* 役職名の列だけ少し幅を狭く、文字を太くする等の調整 */
td:first-child {
  width: 40%;
  color: #666;
  font-weight: 500;
}

/* スマホ対応：横幅が狭い時に文字サイズを微調整 */
@media (max-width: 480px) {
  h2 { font-size: 1.3rem; }
  td, th { padding: 10px 8px; font-size: 0.9rem; }
}

/* ダウンロードボタン内のアイコン設定 */
.download-btn img {
  width: 18px;   /* アイコンを小さく設定 */
  height: auto;
  margin-right: 4px; /* テキストとの間隔 */
  vertical-align: middle; /* テキストの高さに合わせる */
}

/* ボタン自体のサイズ調整（少しコンパクトに） */
.download-btn {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  padding: 6px 14px; /* 上下を少し詰めました */
  border-radius: 4px;
  font-size: 0.85rem; /* 文字も少し小さくしてバランスを調整 */
  font-weight: bold;
  transition: all 0.2s;
}

/* Wordボタン（青系） */
.download-btn.word {
  background-color: #f0f4fa;
  color: #2b579a;
  border: 1px solid #2b579a;
}

/* PDFボタン（赤系） */
.download-btn.pdf {
  background-color: #fff5f5;
  color: #c0392b;
  border: 1px solid #c0392b;
}

/* リスト全体のレイアウト維持用 */
.form-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #eee;
  padding: 12px 0;
}

.form-title {
  font-size: 1rem;
  color: #333;
  align-items: left;
}
    /* マップ */
    #access { padding: 60px 20px; }
    .map { max-width: 800px; margin: 20px auto; }
    .map iframe { width: 100%; height: 400px; border: 0; border-radius: 8px; }
footer address { font-style: normal; line-height: 2; }

/* --- 入札参加申請ページ専用スタイル --- */

.download-list {
  background: #fff;
  border-top: 2px solid var(--text-color);
  text-align: left;
}

/* 1行ごとのレイアウト */
.form-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 1rem;
  border-bottom: 1px solid var(--border-color);
  transition: background 0.2s;
}

.form-item:hover {
  background-color: #fefcf9; /* 既存のaccent-bgに近い色 */
}

.form-title {
  font-weight: bold;
  flex: 1;
  padding-right: 15px;
}

/* ボタンの共通設定 */
.download-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 130px;
  padding: 10px 15px;
  border-radius: 4px;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: bold;
  transition: all 0.3s;
  border: 1px solid transparent;
}

/* Wordボタン（青系） */
.download-btn.word {
  background-color: #eaf1fa;
  color: #2b579a;
  border-color: #2b579a;
}
.download-btn.word:hover {
  background-color: #2b579a;
  color: #fff;
}

/* Excelボタン（緑系） */
.download-btn.excel {
  background-color: #eafaf1;
  color: #217346;
  border-color: #217346;
}
.download-btn.excel:hover {
  background-color: #217346;
  color: #fff;
}

/* PDFボタン（既存の赤系を活用） */
.download-btn.pdf {
  background-color: #fff5f5;
  color: #c0392b;
  border-color: #c0392b;
}
.download-btn.pdf:hover {
  background-color: #c0392b;
  color: #fff;
}

/* アイコン画像サイズ固定 */
.download-btn img {
  width: 20px;
  height: auto;
  margin-right: 8px;
}

/* スマホ対応：横並びを縦並びに切り替え */
@media (max-width: 600px) {
  .form-item {
    flex-direction: column;
    align-items: flex-start;
  }
  .form-title {
    margin-bottom: 12px;
    padding-right: 0;
  }
  .download-btn {
    width: 100%;
    box-sizing: border-box;
  }
}

/* --- リンクページ専用スタイル --- */

.link-grid {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); /* スマホでは1列、PCでは2列に自動調整 */
  gap: 15px;
  text-align: left;
}

.link-grid li a {
  display: flex;
  flex-direction: column;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  text-decoration: none;
  color: var(--text-color);
  transition: all 0.3s ease;
  height: 100%;
  box-sizing: border-box;
}

.link-grid li a:hover {
  background-color: #fefcf9; /* 入札ページと統一 */
  border-color: #f39800; /* 土地改良区らしい暖色系のアクセント（任意） */
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.link-name {
  font-weight: bold;
  font-size: 1.1rem;
  margin-bottom: 5px;
  color: #004098; /* 信頼感のある青 */
  display: block;
}

.link-name::after {
  content: " ↗"; /* 外部リンクであることを示すアイコン */
  font-size: 0.8rem;
  opacity: 0.6;
}

.link-url {
  font-size: 0.8rem;
  color: #888;
  word-break: break-all; /* 長いURLの改行対策 */
}

/* スマホ表示の微調整 */
@media (max-width: 480px) {
  .link-grid {
    grid-template-columns: 1fr;
  }
}

/* --- 機構ページ専用スタイル --- */

/* カードの入れ物 */
.org-card {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  margin-bottom: 30px;
  overflow: hidden; /* 角丸を反映 */
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

/* キャプション（見出し）をモダンに */
.org-caption {
  background: #f8f9fa;
  margin: 0;
  padding: 12px 20px;
  font-size: 1.1rem;
  font-weight: bold;
  color: #2c3e50;
  border-bottom: 2px solid #007bff;
  text-align: left;
}

/* テーブルのリセットと調整 */
.org-table {
  width: 100% !important;
  border-collapse: collapse;
  text-align: left;
}

.org-table th, .org-table td {
  padding: 12px 20px;
  border: 1px solid #eee;
  font-size: 0.95rem;
}

.org-table thead th {
  background: #fafafa;
  color: #666;
  font-size: 0.85rem;
  text-align: center;
}

/* 総代と監事を横に並べる（PC時） */
.organization-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

/* 職員テーブルの区切りを強調 */
.border-top-thick {
  border-top: 2px solid #eee !important;
}

.fw-bold { font-weight: bold; }
.bg-light { background-color: #fcfcfc; text-align: center; }

/* スマホ対応 */
@media (max-width: 650px) {
  .organization-grid {
    grid-template-columns: 1fr;
  }
  
  .org-table {
    display: block;
    overflow-x: auto; /* 横に長い表はスクロール可能に */
    white-space: nowrap;
  }
}

/* --- 改良区広報セクションのモダン化（修正版） --- */

.pr-section {
  padding: 60px 20px;
  background-color: #fff;
}

/* グリッドレイアウト：1列の最小幅を小さく設定 */
.pr-grid {
  display: grid;
  /* 最小幅を180pxに下げて、画像が巨大化するのを防ぐ */
  grid-template-columns: repeat(auto-fit, minmax(180px, 240px)); 
  gap: 30px;
  max-width: 800px;
  margin: 0 auto;
  justify-content: center; /* カードを中央に寄せる */
}

.pr-card {
  background: #fff;
  transition: transform 0.3s ease;
  max-width: 240px; /* カード自体の最大幅を制限 */
  margin: 0 auto;   /* 中央配置 */
}

/* 画像コンテナ */
.thumb-wrapper {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  background: #f9f9f9;
  line-height: 0;
  /* アスペクト比を維持したい場合はここに追加 */
}

.thumbnail {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease, filter 0.3s ease;
}

/* ラベル（第〇号）のサイズ調整 */
.pr-label {
  margin-top: 12px;
  font-size: 1rem; /* 少し小さく */
  font-weight: bold;
  color: #333;
  text-align: center;
}

/* スマホ用の微調整（上書き） */
@media (max-width: 600px) {
  .pr-grid {
    /* スマホで1列になっても、画像が横幅いっぱいに広がらないようにする */
    grid-template-columns: repeat(auto-fit, minmax(160px, 200px));
    gap: 25px;
  }
  .section-title {
    font-size: 1.4rem;
  }
}

/* --- 気象状況ページ専用スタイル --- */

.weather-page {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 20px;
}

.page-title {
  font-size: 1.8rem;
  margin-bottom: 40px;
  color: #2c3e50;
}

/* ガイドライン（注意書き）の装飾 */
.info-section {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 30px;
  text-align: left;
  margin-bottom: 50px;
  border: 1px solid #eee;
}

.info-header {
  margin-bottom: 25px;
  border-bottom: 1px solid #dee2e6;
  padding-bottom: 15px;
  font-weight: bold;
  color: #444;
}

.guidelines {
  display: grid;
  gap: 20px;
}

.guide-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.guide-item .number {
  background: #004098; /* 改良区らしい信頼感のある青 */
  color: #fff;
  font-size: 0.8rem;
  font-weight: bold;
  padding: 2px 8px;
  border-radius: 4px;
  flex-shrink: 0;
  margin-top: 3px;
}

.guide-item p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.7;
  color: #555;
}

.guide-item strong {
  color: #d93025; /* 重要な語句を強調 */
}

/* アクセスボタン（カード型） */
.action-section {
  text-align: center;
}

.action-section h3 {
  margin-bottom: 5px;
  font-size: 1.4rem;
}

.sub-text {
  font-size: 0.9rem;
  color: #888;
  margin-bottom: 30px;
}

.button-container {
  display: flex;
  justify-content: center;
}

.access-card {
  display: flex;
  align-items: center;
  background: #fff;
  border: 2px solid #004098;
  border-radius: 50px; /* 丸みのあるモダンなボタン */
  padding: 15px 40px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 64, 152, 0.1);
}

.access-card:hover {
  transform: translateY(-3px);
  background: #004098;
  box-shadow: 0 8px 25px rgba(0, 64, 152, 0.2);
}

.card-icon img {
  width: 40px;
  height: auto;
  margin-right: 20px;
}

.card-body {
  text-align: left;
  display: flex;
  flex-direction: column;
}

.btn-label {
  font-size: 1.25rem;
  font-weight: bold;
  color: #004098;
}

.btn-subtext {
  font-size: 0.75rem;
  color: #666;
}

/* ホバー時のテキスト色反転 */
.access-card:hover .btn-label,
.access-card:hover .btn-subtext {
  color: #fff;
}

/* レスポンシブ対応 */
@media (max-width: 600px) {
  .pc-only { display: none; }
  .access-card {
    padding: 12px 25px;
    width: 100%;
  }
  .btn-label { font-size: 1.1rem; }
}

/* --- 閲覧方法ページ専用スタイル --- */

.manual-page {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px;
}

.step-container {
  text-align: left;
}

/* 各ステップのカード */
.step-card {
  position: relative;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  padding: 30px 25px 25px;
  margin-bottom: 40px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.02);
}

/* ステップの数字バッジ */
.step-badge {
  position: absolute;
  top: -15px;
  left: 20px;
  background: #f39800; /* 注意を引くオレンジアクセント */
  color: #fff;
  padding: 4px 15px;
  border-radius: 20px;
  font-weight: bold;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
}

.step-content h3 {
  margin-top: 0;
  margin-bottom: 15px;
  color: #004098;
  font-size: 1.3rem;
  border-bottom: 1px solid #eee;
  padding-bottom: 10px;
}

.step-content p {
  font-size: 1rem;
  line-height: 1.7;
  color: #444;
  margin-bottom: 20px;
}

/* リンクボックス */
.link-box {
  background: #f0f4fa;
  padding: 15px;
  border-radius: 6px;
  text-align: center;
}

.link-box a {
  font-weight: bold;
  font-size: 1.1rem;
  color: #007bff;
  word-break: break-all;
}

/* 画像のレスポンシブ対応 */
.responsive-thumb {
  width: 100%;
  max-width: 500px; /* PCでも大きくなりすぎないように */
  height: auto;
  display: block;
  margin: 0 auto;
  border: 1px solid #ddd;
  border-radius: 4px;
}

/* STEP3の画像並び */
.preview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.preview-grid figure {
  margin: 0;
  text-align: center;
}

.preview-grid figcaption {
  font-size: 0.85rem;
  color: #888;
  margin-top: 8px;
}

/* スマホ表示 */
@media (max-width: 600px) {
  .preview-grid {
    grid-template-columns: 1fr;
  }
  .step-content h3 {
    font-size: 1.15rem;
  }
}

/* メインコンテンツの外枠 */
main {
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
}

h2 {
  border-left: 5px solid #005aad; /* アクセントカラー */
  padding-left: 15px;
  margin-bottom: 30px;
  color: #333;
}

/* フォームリストのコンテナ */
.form-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

/* 各アイテムの行 */
.form-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  background: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 8px;
  transition: transform 0.2s;
}

.form-item:hover {
  background: #fff;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

/* タイトルエリア */
.form-info {
  flex: 1; /* 左側のスペースを埋める */
  margin-right: 20px;
}

.form-title {
  font-weight: bold;
  font-size: 1.1rem;
  color: #222;
}

.form-note {
  font-size: 0.85rem;
  color: #d9534f; /* 注意喚起の赤系 */
  margin-top: 5px;
}

/* ボタンのグループ */
.button-group {
  display: flex;
  gap: 10px;
  flex-wrap: wrap; /* スマホ等で入りきらない場合に折り返す */
}

/* ダウンロードボタン共通 */
.download-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 120px;
  padding: 10px 15px;
  border-radius: 4px;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: bold;
  color: #fff;
  transition:all 0.3s ease;
}

.download-btn:hover {
  opacity: 0.8;
}

.download-btn img {
  width: 18px;
  height: auto;
  margin-right: 8px;
}

/* --- ファイル形式別の基本色 --- */
.excel { background-color: #217346; border: 1px solid #217346; } /* Excel グリーン */
.pdf   { background-color: #e0443e; border: 1px solid #e0443e; } /* PDF レッド */
.word  { background-color: #2b579a; border: 1px solid #2b579a; } /* Word ブルー */

/* レスポンス対応：スマホ表示 */
@media (max-width: 768px) {
  .form-item {
    flex-direction: column;
    align-items: flex-start;
  }
  .form-info {
    margin-bottom: 15px;
  }
  .button-group {
    width: 100%;
    justify-content: space-between;
  }
  .download-btn {
    flex: 1; /* ボタンを横いっぱいに広げる */
    min-width: 100px;
  }
}
/* --- ホバー時の色反転設定 --- */

/* Wordの反転 */
.word:hover {
  background-color: #ffffff;
  color: #2b579a; /* テキストをWord色に */
}

/* Excelの反転 */
.excel:hover {
  background-color: #ffffff;
  color: #217346; /* テキストをExcel色に */
}

/* PDFの反転 */
.pdf:hover {
  background-color: #ffffff;
  color: #e0443e; /* テキストをPDF色に */
}

/* ホバー時にアイコンも少し透過させて馴染ませる（任意） */
.download-btn:hover img {
  opacity: 0.8;
}

/* --- プロフィールページ（main）のモダン化 --- */

.profile-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 60px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section-title {
  font-size: 1.75rem;
  color: #333;
  margin-bottom: 40px;
  letter-spacing: 0.1em;
  position: relative;
  padding-bottom: 15px;
  border-bottom: none; /* 既存スタイルをリセット */
}

.profile-menu {
  width: 100%;
  max-width: 500px;
  display: flex;
  flex-direction: column;
  gap: 20px; /* カード間の隙間 */
}

.profile-card {
  display: flex;
  align-items: center;
  background: #fff;
  border: 1px solid #eee;
  padding: 25px 30px;
  text-decoration: none;
  color: #333;
  border-radius: 12px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.profile-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  border-color: #004098;
  background-color: #f0f4fa;
}

.card-icon {
  color: #004098;
  margin-right: 20px;
  font-size: 0.8rem;
  transition: transform 0.3s ease;
}

.profile-card:hover .card-icon {
  transform: scale(1.5);
}

.card-text {
  font-size: 1.25rem;
  font-weight: 700;
  flex: 1; /* 中央のスペースを埋める */
  letter-spacing: 0.1em;
}

.card-arrow {
  font-size: 1.2rem;
  color: #ccc;
  transition: transform 0.3s ease, color 0.3s ease;
}

.profile-card:hover .card-arrow {
  transform: translateX(5px);
  color: #004098;
}

/* スマホ表示の調整 */
@media (max-width: 480px) {
  .section-title {
    font-size: 1.4rem;
  }
  .profile-card {
    padding: 20px;
  }
  .card-text {
    font-size: 1.1rem;
  }
}